UNPKG

@cgi-learning-hub/icons

Version:

@cgi-learning-hub/icons is an open-source React component library icons specific that implements icons for HUB's features

1,646 lines 116 kB
import * as ge from "react"; import { jsxs as Ct, jsx as nt } from "react/jsx-runtime"; import Tt from "@emotion/styled"; import "@emotion/react"; const $r = (e) => e, wt = () => { let e = $r; return { configure(r) { e = r; }, generate(r) { return e(r); }, reset() { e = $r; } }; }, xt = wt(); function he(e, ...r) { const t = new URL(`https://mui.com/production-error/?code=${e}`); return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`; } function Se(e) { if (typeof e != "string") throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : he(7)); return e.charAt(0).toUpperCase() + e.slice(1); } function $t(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var De = { exports: {} }, Be = { exports: {} }, j = {}; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Or; function Ot() { if (Or) return j; Or = 1; var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119; function x(h) { if (typeof h == "object" && h !== null) { var F = h.$$typeof; switch (F) { case r: switch (h = h.type, h) { case l: case d: case n: case i: case o: case p: return h; default: switch (h = h && h.$$typeof, h) { case u: case g: case b: case v: case c: return h; default: return F; } } case t: return F; } } } function w(h) { return x(h) === d; } return j.AsyncMode = l, j.ConcurrentMode = d, j.ContextConsumer = u, j.ContextProvider = c, j.Element = r, j.ForwardRef = g, j.Fragment = n, j.Lazy = b, j.Memo = v, j.Portal = t, j.Profiler = i, j.StrictMode = o, j.Suspense = p, j.isAsyncMode = function(h) { return w(h) || x(h) === l; }, j.isConcurrentMode = w, j.isContextConsumer = function(h) { return x(h) === u; }, j.isContextProvider = function(h) { return x(h) === c; }, j.isElement = function(h) { return typeof h == "object" && h !== null && h.$$typeof === r; }, j.isForwardRef = function(h) { return x(h) === g; }, j.isFragment = function(h) { return x(h) === n; }, j.isLazy = function(h) { return x(h) === b; }, j.isMemo = function(h) { return x(h) === v; }, j.isPortal = function(h) { return x(h) === t; }, j.isProfiler = function(h) { return x(h) === i; }, j.isStrictMode = function(h) { return x(h) === o; }, j.isSuspense = function(h) { return x(h) === p; }, j.isValidElementType = function(h) { return typeof h == "string" || typeof h == "function" || h === n || h === d || h === i || h === o || h === p || h === m || typeof h == "object" && h !== null && (h.$$typeof === b || h.$$typeof === v || h.$$typeof === c || h.$$typeof === u || h.$$typeof === g || h.$$typeof === T || h.$$typeof === $ || h.$$typeof === Q || h.$$typeof === s); }, j.typeOf = x, j; } var V = {}; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var _r; function _t() { return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, Q = e ? Symbol.for("react.scope") : 60119; function x(S) { return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. S === n || S === d || S === i || S === o || S === p || S === m || typeof S == "object" && S !== null && (S.$$typeof === b || S.$$typeof === v || S.$$typeof === c || S.$$typeof === u || S.$$typeof === g || S.$$typeof === T || S.$$typeof === $ || S.$$typeof === Q || S.$$typeof === s); } function w(S) { if (typeof S == "object" && S !== null) { var ue = S.$$typeof; switch (ue) { case r: var Me = S.type; switch (Me) { case l: case d: case n: case i: case o: case p: return Me; default: var xr = Me && Me.$$typeof; switch (xr) { case u: case g: case b: case v: case c: return xr; default: return ue; } } case t: return ue; } } } var h = l, F = d, J = u, Z = c, ee = r, a = g, C = n, O = b, B = v, q = t, te = i, re = o, ce = p, ve = !1; function nr(S) { return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(S) || w(S) === l; } function y(S) { return w(S) === d; } function E(S) { return w(S) === u; } function k(S) { return w(S) === c; } function R(S) { return typeof S == "object" && S !== null && S.$$typeof === r; } function _(S) { return w(S) === g; } function I(S) { return w(S) === n; } function A(S) { return w(S) === b; } function P(S) { return w(S) === v; } function N(S) { return w(S) === t; } function L(S) { return w(S) === i; } function M(S) { return w(S) === o; } function ne(S) { return w(S) === p; } V.AsyncMode = h, V.ConcurrentMode = F, V.ContextConsumer = J, V.ContextProvider = Z, V.Element = ee, V.ForwardRef = a, V.Fragment = C, V.Lazy = O, V.Memo = B, V.Portal = q, V.Profiler = te, V.StrictMode = re, V.Suspense = ce, V.isAsyncMode = nr, V.isConcurrentMode = y, V.isContextConsumer = E, V.isContextProvider = k, V.isElement = R, V.isForwardRef = _, V.isFragment = I, V.isLazy = A, V.isMemo = P, V.isPortal = N, V.isProfiler = L, V.isStrictMode = M, V.isSuspense = ne, V.isValidElementType = x, V.typeOf = w; }()), V; } var Ar; function ot() { return Ar || (Ar = 1, process.env.NODE_ENV === "production" ? Be.exports = Ot() : Be.exports = _t()), Be.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ var or, Rr; function At() { if (Rr) return or; Rr = 1; var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable; function n(i) { if (i == null) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(i); } function o() { try { if (!Object.assign) return !1; var i = new String("abc"); if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5") return !1; for (var c = {}, u = 0; u < 10; u++) c["_" + String.fromCharCode(u)] = u; var l = Object.getOwnPropertyNames(c).map(function(g) { return c[g]; }); if (l.join("") !== "0123456789") return !1; var d = {}; return "abcdefghijklmnopqrst".split("").forEach(function(g) { d[g] = g; }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } return or = o() ? Object.assign : function(i, c) { for (var u, l = n(i), d, g = 1; g < arguments.length; g++) { u = Object(arguments[g]); for (var p in u) r.call(u, p) && (l[p] = u[p]); if (e) { d = e(u); for (var m = 0; m < d.length; m++) t.call(u, d[m]) && (l[d[m]] = u[d[m]]); } } return l; }, or; } var ir, Pr; function yr() { if (Pr) return ir; Pr = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; return ir = e, ir; } var ar, kr; function it() { return kr || (kr = 1, ar = Function.call.bind(Object.prototype.hasOwnProperty)), ar; } var sr, Ir; function Rt() { if (Ir) return sr; Ir = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { var r = /* @__PURE__ */ yr(), t = {}, n = /* @__PURE__ */ it(); e = function(i) { var c = "Warning: " + i; typeof console < "u" && console.error(c); try { throw new Error(c); } catch { } }; } function o(i, c, u, l, d) { if (process.env.NODE_ENV !== "production") { for (var g in i) if (n(i, g)) { var p; try { if (typeof i[g] != "function") { var m = Error( (l || "React class") + ": " + u + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); throw m.name = "Invariant Violation", m; } p = i[g](c, g, l, u, null, r); } catch (b) { p = b; } if (p && !(p instanceof Error) && e( (l || "React class") + ": type specification of " + u + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." ), p instanceof Error && !(p.message in t)) { t[p.message] = !0; var v = d ? d() : ""; e( "Failed " + u + " type: " + p.message + (v ?? "") ); } } } } return o.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (t = {}); }, sr = o, sr; } var cr, Nr; function Pt() { if (Nr) return cr; Nr = 1; var e = ot(), r = At(), t = /* @__PURE__ */ yr(), n = /* @__PURE__ */ it(), o = /* @__PURE__ */ Rt(), i = function() { }; process.env.NODE_ENV !== "production" && (i = function(u) { var l = "Warning: " + u; typeof console < "u" && console.error(l); try { throw new Error(l); } catch { } }); function c() { return null; } return cr = function(u, l) { var d = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator"; function p(y) { var E = y && (d && y[d] || y[g]); if (typeof E == "function") return E; } var m = "<<anonymous>>", v = { array: $("array"), bigint: $("bigint"), bool: $("boolean"), func: $("function"), number: $("number"), object: $("object"), string: $("string"), symbol: $("symbol"), any: Q(), arrayOf: x, element: w(), elementType: h(), instanceOf: F, node: a(), objectOf: Z, oneOf: J, oneOfType: ee, shape: O, exact: B }; function b(y, E) { return y === E ? y !== 0 || 1 / y === 1 / E : y !== y && E !== E; } function s(y, E) { this.message = y, this.data = E && typeof E == "object" ? E : {}, this.stack = ""; } s.prototype = Error.prototype; function T(y) { if (process.env.NODE_ENV !== "production") var E = {}, k = 0; function R(I, A, P, N, L, M, ne) { if (N = N || m, M = M || P, ne !== t) { if (l) { var S = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" ); throw S.name = "Invariant Violation", S; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { var ue = N + ":" + P; !E[ue] && // Avoid spamming the console because they are often not actionable except for lib authors k < 3 && (i( "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." ), E[ue] = !0, k++); } } return A[P] == null ? I ? A[P] === null ? new s("The " + L + " `" + M + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new s("The " + L + " `" + M + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : y(A, P, N, L, M); } var _ = R.bind(null, !1); return _.isRequired = R.bind(null, !0), _; } function $(y) { function E(k, R, _, I, A, P) { var N = k[R], L = re(N); if (L !== y) { var M = ce(N); return new s( "Invalid " + I + " `" + A + "` of type " + ("`" + M + "` supplied to `" + _ + "`, expected ") + ("`" + y + "`."), { expectedType: y } ); } return null; } return T(E); } function Q() { return T(c); } function x(y) { function E(k, R, _, I, A) { if (typeof y != "function") return new s("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside arrayOf."); var P = k[R]; if (!Array.isArray(P)) { var N = re(P); return new s("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an array.")); } for (var L = 0; L < P.length; L++) { var M = y(P, L, _, I, A + "[" + L + "]", t); if (M instanceof Error) return M; } return null; } return T(E); } function w() { function y(E, k, R, _, I) { var A = E[k]; if (!u(A)) { var P = re(A); return new s("Invalid " + _ + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement.")); } return null; } return T(y); } function h() { function y(E, k, R, _, I) { var A = E[k]; if (!e.isValidElementType(A)) { var P = re(A); return new s("Invalid " + _ + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type.")); } return null; } return T(y); } function F(y) { function E(k, R, _, I, A) { if (!(k[R] instanceof y)) { var P = y.name || m, N = nr(k[R]); return new s("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected ") + ("instance of `" + P + "`.")); } return null; } return T(E); } function J(y) { if (!Array.isArray(y)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i( "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." ) : i("Invalid argument supplied to oneOf, expected an array.")), c; function E(k, R, _, I, A) { for (var P = k[R], N = 0; N < y.length; N++) if (b(P, y[N])) return null; var L = JSON.stringify(y, function(ne, S) { var ue = ce(S); return ue === "symbol" ? String(S) : S; }); return new s("Invalid " + I + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + _ + "`, expected one of " + L + ".")); } return T(E); } function Z(y) { function E(k, R, _, I, A) { if (typeof y != "function") return new s("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside objectOf."); var P = k[R], N = re(P); if (N !== "object") return new s("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an object.")); for (var L in P) if (n(P, L)) { var M = y(P, L, _, I, A + "." + L, t); if (M instanceof Error) return M; } return null; } return T(E); } function ee(y) { if (!Array.isArray(y)) return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c; for (var E = 0; E < y.length; E++) { var k = y[E]; if (typeof k != "function") return i( "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(k) + " at index " + E + "." ), c; } function R(_, I, A, P, N) { for (var L = [], M = 0; M < y.length; M++) { var ne = y[M], S = ne(_, I, A, P, N, t); if (S == null) return null; S.data && n(S.data, "expectedType") && L.push(S.data.expectedType); } var ue = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : ""; return new s("Invalid " + P + " `" + N + "` supplied to " + ("`" + A + "`" + ue + ".")); } return T(R); } function a() { function y(E, k, R, _, I) { return q(E[k]) ? null : new s("Invalid " + _ + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode.")); } return T(y); } function C(y, E, k, R, _) { return new s( (y || "React class") + ": " + E + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`." ); } function O(y) { function E(k, R, _, I, A) { var P = k[R], N = re(P); if (N !== "object") return new s("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`.")); for (var L in y) { var M = y[L]; if (typeof M != "function") return C(_, I, A, L, ce(M)); var ne = M(P, L, _, I, A + "." + L, t); if (ne) return ne; } return null; } return T(E); } function B(y) { function E(k, R, _, I, A) { var P = k[R], N = re(P); if (N !== "object") return new s("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`.")); var L = r({}, k[R], y); for (var M in L) { var ne = y[M]; if (n(y, M) && typeof ne != "function") return C(_, I, A, M, ce(ne)); if (!ne) return new s( "Invalid " + I + " `" + A + "` key `" + M + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + ` Valid keys: ` + JSON.stringify(Object.keys(y), null, " ") ); var S = ne(P, M, _, I, A + "." + M, t); if (S) return S; } return null; } return T(E); } function q(y) { switch (typeof y) { case "number": case "string": case "undefined": return !0; case "boolean": return !y; case "object": if (Array.isArray(y)) return y.every(q); if (y === null || u(y)) return !0; var E = p(y); if (E) { var k = E.call(y), R; if (E !== y.entries) { for (; !(R = k.next()).done; ) if (!q(R.value)) return !1; } else for (; !(R = k.next()).done; ) { var _ = R.value; if (_ && !q(_[1])) return !1; } } else return !1; return !0; default: return !1; } } function te(y, E) { return y === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1; } function re(y) { var E = typeof y; return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : te(E, y) ? "symbol" : E; } function ce(y) { if (typeof y > "u" || y === null) return "" + y; var E = re(y); if (E === "object") { if (y instanceof Date) return "date"; if (y instanceof RegExp) return "regexp"; } return E; } function ve(y) { var E = ce(y); switch (E) { case "array": case "object": return "an " + E; case "boolean": case "date": case "regexp": return "a " + E; default: return E; } } function nr(y) { return !y.constructor || !y.constructor.name ? m : y.constructor.name; } return v.checkPropTypes = o, v.resetWarningCache = o.resetWarningCache, v.PropTypes = v, v; }, cr; } var ur, Mr; function kt() { if (Mr) return ur; Mr = 1; var e = /* @__PURE__ */ yr(); function r() { } function t() { } return t.resetWarningCache = r, ur = function() { function n(c, u, l, d, g, p) { if (p !== e) { var m = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" ); throw m.name = "Invariant Violation", m; } } n.isRequired = n; function o() { return n; } var i = { array: n, bigint: n, bool: n, func: n, number: n, object: n, string: n, symbol: n, any: n, arrayOf: o, element: n, elementType: n, instanceOf: o, node: n, objectOf: o, oneOf: o, oneOfType: o, shape: o, exact: o, checkPropTypes: t, resetWarningCache: r }; return i.PropTypes = i, i; }, ur; } var Dr; function It() { if (Dr) return De.exports; if (Dr = 1, process.env.NODE_ENV !== "production") { var e = ot(), r = !0; De.exports = /* @__PURE__ */ Pt()(e.isElement, r); } else De.exports = /* @__PURE__ */ kt()(); return De.exports; } var Nt = /* @__PURE__ */ It(); const D = /* @__PURE__ */ $t(Nt); function at(e) { var r, t, n = ""; if (typeof e == "string" || typeof e == "number") n += e; else if (typeof e == "object") if (Array.isArray(e)) { var o = e.length; for (r = 0; r < o; r++) e[r] && (t = at(e[r])) && (n && (n += " "), n += t); } else for (t in e) e[t] && (n && (n += " "), n += t); return n; } function Mt() { for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = at(e)) && (n && (n += " "), n += r); return n; } function Dt(e, r, t = void 0) { const n = {}; for (const o in e) { const i = e[o]; let c = "", u = !0; for (let l = 0; l < i.length; l += 1) { const d = i[l]; d && (c += (u === !0 ? "" : " ") + r(d), u = !1, t && t[d] && (c += " " + t[d])); } n[o] = c; } return n; } var je = { exports: {} }, z = {}; /** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Br; function Bt() { if (Br) return z; Br = 1; var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference"); function b(s) { if (typeof s == "object" && s !== null) { var T = s.$$typeof; switch (T) { case e: switch (s = s.type, s) { case t: case o: case n: case l: case d: case m: return s; default: switch (s = s && s.$$typeof, s) { case c: case u: case p: case g: return s; case i: return s; default: return T; } } case r: return T; } } } return z.ContextConsumer = i, z.ContextProvider = c, z.Element = e, z.ForwardRef = u, z.Fragment = t, z.Lazy = p, z.Memo = g, z.Portal = r, z.Profiler = o, z.StrictMode = n, z.Suspense = l, z.SuspenseList = d, z.isContextConsumer = function(s) { return b(s) === i; }, z.isContextProvider = function(s) { return b(s) === c; }, z.isElement = function(s) { return typeof s == "object" && s !== null && s.$$typeof === e; }, z.isForwardRef = function(s) { return b(s) === u; }, z.isFragment = function(s) { return b(s) === t; }, z.isLazy = function(s) { return b(s) === p; }, z.isMemo = function(s) { return b(s) === g; }, z.isPortal = function(s) { return b(s) === r; }, z.isProfiler = function(s) { return b(s) === o; }, z.isStrictMode = function(s) { return b(s) === n; }, z.isSuspense = function(s) { return b(s) === l; }, z.isSuspenseList = function(s) { return b(s) === d; }, z.isValidElementType = function(s) { return typeof s == "string" || typeof s == "function" || s === t || s === o || s === n || s === l || s === d || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === c || s.$$typeof === i || s.$$typeof === u || s.$$typeof === v || s.getModuleId !== void 0); }, z.typeOf = b, z; } var W = {}; /** * @license React * react-is.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var jr; function jt() { return jr || (jr = 1, process.env.NODE_ENV !== "production" && function() { function e(s) { if (typeof s == "object" && s !== null) { var T = s.$$typeof; switch (T) { case r: switch (s = s.type, s) { case n: case i: case o: case d: case g: case v: return s; default: switch (s = s && s.$$typeof, s) { case u: case l: case m: case p: return s; case c: return s; default: return T; } } case t: return T; } } } var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference"); W.ContextConsumer = c, W.ContextProvider = u, W.Element = r, W.ForwardRef = l, W.Fragment = n, W.Lazy = m, W.Memo = p, W.Portal = t, W.Profiler = i, W.StrictMode = o, W.Suspense = d, W.SuspenseList = g, W.isContextConsumer = function(s) { return e(s) === c; }, W.isContextProvider = function(s) { return e(s) === u; }, W.isElement = function(s) { return typeof s == "object" && s !== null && s.$$typeof === r; }, W.isForwardRef = function(s) { return e(s) === l; }, W.isFragment = function(s) { return e(s) === n; }, W.isLazy = function(s) { return e(s) === m; }, W.isMemo = function(s) { return e(s) === p; }, W.isPortal = function(s) { return e(s) === t; }, W.isProfiler = function(s) { return e(s) === i; }, W.isStrictMode = function(s) { return e(s) === o; }, W.isSuspense = function(s) { return e(s) === d; }, W.isSuspenseList = function(s) { return e(s) === g; }, W.isValidElementType = function(s) { return typeof s == "string" || typeof s == "function" || s === n || s === i || s === o || s === d || s === g || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === p || s.$$typeof === u || s.$$typeof === c || s.$$typeof === l || s.$$typeof === b || s.getModuleId !== void 0); }, W.typeOf = e; }()), W; } var Vr; function Vt() { return Vr || (Vr = 1, process.env.NODE_ENV === "production" ? je.exports = /* @__PURE__ */ Bt() : je.exports = /* @__PURE__ */ jt()), je.exports; } var ze = /* @__PURE__ */ Vt(); function de(e) { if (typeof e != "object" || e === null) return !1; const r = Object.getPrototypeOf(e); return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); } function st(e) { if (/* @__PURE__ */ ge.isValidElement(e) || ze.isValidElementType(e) || !de(e)) return e; const r = {}; return Object.keys(e).forEach((t) => { r[t] = st(e[t]); }), r; } function ie(e, r, t = { clone: !0 }) { const n = t.clone ? { ...e } : e; return de(e) && de(r) && Object.keys(r).forEach((o) => { /* @__PURE__ */ ge.isValidElement(r[o]) || ze.isValidElementType(r[o]) ? n[o] = r[o] : de(r[o]) && // Avoid prototype pollution Object.prototype.hasOwnProperty.call(e, o) && de(e[o]) ? n[o] = ie(e[o], r[o], t) : t.clone ? n[o] = de(r[o]) ? st(r[o]) : r[o] : n[o] = r[o]; }), n; } function Pe(e, r) { return r ? ie(e, r, { clone: !1 // No need to clone deep, it's way faster. }) : e; } const be = process.env.NODE_ENV !== "production" ? D.oneOfType([D.number, D.string, D.object, D.array]) : {}; function Ft(e, r) { if (!e.containerQueries) return r; const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => { var c, u; const i = /min-width:\s*([0-9.]+)/; return +(((c = n.match(i)) == null ? void 0 : c[1]) || 0) - +(((u = o.match(i)) == null ? void 0 : u[1]) || 0); }); return t.length ? t.reduce((n, o) => { const i = r[o]; return delete n[o], n[o] = i, n; }, { ...r }) : r; } function Lt(e, r) { return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/)); } function zt(e, r) { const t = r.match(/^@([^/]+)?\/?(.+)?$/); if (!t) { if (process.env.NODE_ENV !== "production") throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`. For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : he(18, `(${r})`)); return null; } const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n; return e.containerQueries(o).up(i); } function Wt(e) { const r = (i, c) => i.replace("@media", c ? `@container ${c}` : "@container"); function t(i, c) { i.up = (...u) => r(e.breakpoints.up(...u), c), i.down = (...u) => r(e.breakpoints.down(...u), c), i.between = (...u) => r(e.breakpoints.between(...u), c), i.only = (...u) => r(e.breakpoints.only(...u), c), i.not = (...u) => { const l = r(e.breakpoints.not(...u), c); return l.includes("not all and") ? l.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : l; }; } const n = {}, o = (i) => (t(n, i), n); return t(o), { ...e, containerQueries: o }; } const Ge = { xs: 0, // phone sm: 600, // tablet md: 900, // small laptop lg: 1200, // desktop xl: 1536 // large screen }, Fr = { // Sorted ASC by size. That's important. // It can't be configured as it's used statically for propTypes. keys: ["xs", "sm", "md", "lg", "xl"], up: (e) => `@media (min-width:${Ge[e]}px)` }, Ut = { containerQueries: (e) => ({ up: (r) => { let t = typeof r == "number" ? r : Ge[r] || r; return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`; } }) }; function pe(e, r, t) { const n = e.theme || {}; if (Array.isArray(r)) { const i = n.breakpoints || Fr; return r.reduce((c, u, l) => (c[i.up(i.keys[l])] = t(r[l]), c), {}); } if (typeof r == "object") { const i = n.breakpoints || Fr; return Object.keys(r).reduce((c, u) => { if (Lt(i.keys, u)) { const l = zt(n.containerQueries ? n : Ut, u); l && (c[l] = t(r[u], u)); } else if (Object.keys(i.values || Ge).includes(u)) { const l = i.up(u); c[l] = t(r[u], u); } else { const l = u; c[l] = r[l]; } return c; }, {}); } return t(r); } function Yt(e = {}) { var t; return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => { const i = e.up(o); return n[i] = {}, n; }, {})) || {}; } function Gt(e, r) { return e.reduce((t, n) => { const o = t[n]; return (!o || Object.keys(o).length === 0) && delete t[n], t; }, r); } function qe(e, r, t = !0) { if (!r || typeof r != "string") return null; if (e && e.vars && t) { const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e); if (n != null) return n; } return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e); } function We(e, r, t, n = t) { let o; return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = qe(e, t) || n, r && (o = r(o, n, e)), o; } function X(e) { const { prop: r, cssProperty: t = e.prop, themeKey: n, transform: o } = e, i = (c) => { if (c[r] == null) return null; const u = c[r], l = c.theme, d = qe(l, n) || {}; return pe(c, u, (p) => { let m = We(d, o, p); return p === m && typeof p == "string" && (m = We(d, o, `${r}${p === "default" ? "" : Se(p)}`, p)), t === !1 ? m : { [t]: m }; }); }; return i.propTypes = process.env.NODE_ENV !== "production" ? { [r]: be } : {}, i.filterProps = [r], i; } function qt(e) { const r = {}; return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]); } const Kt = { m: "margin", p: "padding" }, Ht = { t: "Top", r: "Right", b: "Bottom", l: "Left", x: ["Left", "Right"], y: ["Top", "Bottom"] }, Lr = { marginX: "mx", marginY: "my", paddingX: "px", paddingY: "py" }, Qt = qt((e) => { if (e.length > 2) if (Lr[e]) e = Lr[e]; else return [e]; const [r, t] = e.split(""), n = Kt[r], o = Ht[t] || ""; return Array.isArray(o) ? o.map((i) => n + i) : [n + o]; }), Ke = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], He = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Xt = [...Ke, ...He]; function Ie(e, r, t, n) { const o = qe(e, r, !0) ?? t; return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => { if (typeof i == "string") return i; const c = Math.abs(i); process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > o.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${c} > ${o.length - 1}, you need to add the missing values.`].join(` `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(` `))); const u = o[c]; return i >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`; } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(` `)), () => { }); } function br(e) { return Ie(e, "spacing", 8, "spacing"); } function Ne(e, r) { return typeof r == "string" || r == null ? r : e(r); } function Jt(e, r) { return (t) => e.reduce((n, o) => (n[o] = Ne(r, t), n), {}); } function Zt(e, r, t, n) { if (!r.includes(t)) return null; const o = Qt(t), i = Jt(o, n), c = e[t]; return pe(e, c, i); } function ct(e, r) { const t = br(e.theme); return Object.keys(e).map((n) => Zt(e, r, n, t)).reduce(Pe, {}); } function K(e) { return ct(e, Ke); } K.propTypes = process.env.NODE_ENV !== "production" ? Ke.reduce((e, r) => (e[r] = be, e), {}) : {}; K.filterProps = Ke; function H(e) { return ct(e, He); } H.propTypes = process.env.NODE_ENV !== "production" ? He.reduce((e, r) => (e[r] = be, e), {}) : {}; H.filterProps = He; process.env.NODE_ENV !== "production" && Xt.reduce((e, r) => (e[r] = be, e), {}); function Qe(...e) { const r = e.reduce((n, o) => (o.filterProps.forEach((i) => { n[i] = o; }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? Pe(o, r[i](n)) : o, {}); return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t; } function ae(e) { return typeof e != "number" ? e : `${e}px solid`; } function se(e, r) { return X({ prop: e, themeKey: "borders", transform: r }); } const en = se("border", ae), rn = se("borderTop", ae), tn = se("borderRight", ae), nn = se("borderBottom", ae), on = se("borderLeft", ae), an = se("borderColor"), sn = se("borderTopColor"), cn = se("borderRightColor"), un = se("borderBottomColor"), ln = se("borderLeftColor"), fn = se("outline", ae), dn = se("outlineColor"), Xe = (e) => { if (e.borderRadius !== void 0 && e.borderRadius !== null) { const r = Ie(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({ borderRadius: Ne(r, n) }); return pe(e, e.borderRadius, t); } return null; }; Xe.propTypes = process.env.NODE_ENV !== "production" ? { borderRadius: be } : {}; Xe.filterProps = ["borderRadius"]; Qe(en, rn, tn, nn, on, an, sn, cn, un, ln, Xe, fn, dn); const Je = (e) => { if (e.gap !== void 0 && e.gap !== null) { const r = Ie(e.theme, "spacing", 8, "gap"), t = (n) => ({ gap: Ne(r, n) }); return pe(e, e.gap, t); } return null; }; Je.propTypes = process.env.NODE_ENV !== "production" ? { gap: be } : {}; Je.filterProps = ["gap"]; const Ze = (e) => { if (e.columnGap !== void 0 && e.columnGap !== null) { const r = Ie(e.theme, "spacing", 8, "columnGap"), t = (n) => ({ columnGap: Ne(r, n) }); return pe(e, e.columnGap, t); } return null; }; Ze.propTypes = process.env.NODE_ENV !== "production" ? { columnGap: be } : {}; Ze.filterProps = ["columnGap"]; const er = (e) => { if (e.rowGap !== void 0 && e.rowGap !== null) { const r = Ie(e.theme, "spacing", 8, "rowGap"), t = (n) => ({ rowGap: Ne(r, n) }); return pe(e, e.rowGap, t); } return null; }; er.propTypes = process.env.NODE_ENV !== "production" ? { rowGap: be } : {}; er.filterProps = ["rowGap"]; const pn = X({ prop: "gridColumn" }), mn = X({ prop: "gridRow" }), gn = X({ prop: "gridAutoFlow" }), hn = X({ prop: "gridAutoColumns" }), yn = X({ prop: "gridAutoRows" }), bn = X({ prop: "gridTemplateColumns" }), vn = X({ prop: "gridTemplateRows" }), Sn = X({ prop: "gridTemplateAreas" }), En = X({ prop: "gridArea" }); Qe(Je, Ze, er, pn, mn, gn, hn, yn, bn, vn, Sn, En); function $e(e, r) { return r === "grey" ? r : e; } const Cn = X({ prop: "color", themeKey: "palette", transform: $e }), Tn = X({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: $e }), wn = X({ prop: "backgroundColor", themeKey: "palette", transform: $e }); Qe(Cn, Tn, wn); function oe(e) { return e <= 1 && e !== 0 ? `${e * 100}%` : e; } const xn = X({ prop: "width", transform: oe }), vr = (e) => { if (e.maxWidth !== void 0 && e.maxWidth !== null) { const r = (t) => { var o, i, c, u, l; const n = ((c = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : c[t]) || Ge[t]; return n ? ((l = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : l.unit) !== "px" ? { maxWidth: `${n}${e.theme.breakpoints.unit}` } : { maxWidth: n } : { maxWidth: oe(t) }; }; return pe(e, e.maxWidth, r); } return null; }; vr.filterProps = ["maxWidth"]; const $n = X({ prop: "minWidth", transform: oe }), On = X({ prop: "height", transform: oe }), _n = X({ prop: "maxHeight", transform: oe }), An = X({ prop: "minHeight", transform: oe }); X({ prop: "size", cssProperty: "width", transform: oe }); X({ prop: "size", cssProperty: "height", transform: oe }); const Rn = X({ prop: "boxSizing" }); Qe(xn, vr, $n, On, _n, An, Rn); const rr = { // borders border: { themeKey: "borders", transform: ae }, borderTop: { themeKey: "borders", transform: ae }, borderRight: { themeKey: "borders", transform: ae }, borderBottom: { themeKey: "borders", transform: ae }, borderLeft: { themeKey: "borders", transform: ae }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: ae }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: Xe }, // palette color: { themeKey: "palette", transform: $e }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: $e }, backgroundColor: { themeKey: "palette", transform: $e }, // spacing p: { style: H }, pt: { style: H }, pr: { style: H }, pb: { style: H }, pl: { style: H }, px: { style: H }, py: { style: H }, padding: { style: H }, paddingTop: { style: H }, paddingRight: { style: H }, paddingBottom: { style: H }, paddingLeft: { style: H }, paddingX: { style: H }, paddingY: { style: H }, paddingInline: { style: H }, paddingInlineStart: { style: H }, paddingInlineEnd: { style: H }, paddingBlock: { style: H }, paddingBlockStart: { style: H }, paddingBlockEnd: { style: H }, m: { style: K }, mt: { style: K }, mr: { style: K }, mb: { style: K }, ml: { style: K }, mx: { style: K }, my: { style: K }, margin: { style: K }, marginTop: { style: K }, marginRight: { style: K }, marginBottom: { style: K }, marginLeft: { style: K }, marginX: { style: K }, marginY: { style: K }, marginInline: { style: K }, marginInlineStart: { style: K }, marginInlineEnd: { style: K }, marginBlock: { style: K }, marginBlockStart: { style: K }, marginBlockEnd: { style: K }, // display displayPrint: { cssProperty: !1, transform: (e) => ({ "@media print": { display: e } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, // flexbox flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, // grid gap: { style: Je }, rowGap: { style: er }, columnGap: { style: Ze }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, // positions position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, // shadows boxShadow: { themeKey: "shadows" }, // sizing width: { transform: oe }, maxWidth: { style: vr }, minWidth: { transform: oe }, height: { transform: oe }, maxHeight: { transform: oe }, minHeight: { transform: oe }, boxSizing: {}, // typography font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }; function Pn(...e) { const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r); return e.every((n) => t.size === Object.keys(n).length); } function kn(e, r) { return typeof e == "function" ? e(r) : e; } function In() { function e(t, n, o, i) { const c = { [t]: n, theme: o }, u = i[t]; if (!u) return { [t]: n }; const { cssProperty: l = t, themeKey: d, transform: g, style: p } = u; if (n == null) return null; if (d === "typography" && n === "inherit") return { [t]: n }; const m = qe(o, d) || {}; return p ? p(c) : pe(c, n, (b) => { let s = We(m, g, b); return b === s && typeof b == "string" && (s = We(m, g, `${t}${b === "default" ? "" : Se(b)}`, b)), l === !1 ? s : { [l]: s }; }); } function r(t) { const { sx: n, theme: o = {} } = t || {}; if (!n) return null; const i = o.unstable_sxConfig ?? rr; function c(u) { let l = u; if (typeof u == "function") l = u(o); else if (typeof u != "object") return u; if (!l) return null; const d = Yt(o.breakpoints), g = Object.keys(d); let p = d; return Object.keys(l).forEach((m) => { const v = kn(l[m], o); if (v != null) if (typeof v == "object") if (i[m]) p = Pe(p, e(m, v, o, i)); else { const b = pe({ theme: o }, v, (s) => ({ [m]: s })); Pn(b, v) ? p[m] = r({ sx: v, theme: o }) : p = Pe(p, b); } else p = Pe(p, e(m, v, o, i)); }), Ft(o, Gt(g, p)); } return Array.isArray(n) ? n.map(c) : c(n); } return r; } const Oe = In(); Oe.filterProps = ["sx"]; function Nn(e) { for (var r = 0, t, n =