react-material-symbols
Version:
A minimalist package for adding Material Symbols to any React project.
1,367 lines (1,361 loc) • 77.4 kB
JavaScript
var it = {}, Wt = {
get exports() {
return it;
},
set exports(k) {
it = k;
}
}, He = {}, yr = {}, Vt = {
get exports() {
return yr;
},
set exports(k) {
yr = k;
}
}, g = {};
/**
* @license React
* react.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 st;
function Ut() {
if (st)
return g;
st = 1;
var k = Symbol.for("react.element"), y = Symbol.for("react.portal"), Ee = Symbol.for("react.fragment"), X = Symbol.for("react.strict_mode"), de = Symbol.for("react.profiler"), re = Symbol.for("react.provider"), te = Symbol.for("react.context"), Q = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), Z = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), U = Symbol.iterator;
function ee(n) {
return n === null || typeof n != "object" ? null : (n = U && n[U] || n["@@iterator"], typeof n == "function" ? n : null);
}
var G = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, se = Object.assign, Ie = {};
function ne(n, s, h) {
this.props = n, this.context = s, this.refs = Ie, this.updater = h || G;
}
ne.prototype.isReactComponent = {}, ne.prototype.setState = function(n, s) {
if (typeof n != "object" && typeof n != "function" && n != null)
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, n, s, "setState");
}, ne.prototype.forceUpdate = function(n) {
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
};
function ae() {
}
ae.prototype = ne.prototype;
function F(n, s, h) {
this.props = n, this.context = s, this.refs = Ie, this.updater = h || G;
}
var ye = F.prototype = new ae();
ye.constructor = F, se(ye, ne.prototype), ye.isPureReactComponent = !0;
var oe = Array.isArray, M = Object.prototype.hasOwnProperty, q = { current: null }, ce = { key: !0, ref: !0, __self: !0, __source: !0 };
function pe(n, s, h) {
var C, _ = {}, P = null, j = null;
if (s != null)
for (C in s.ref !== void 0 && (j = s.ref), s.key !== void 0 && (P = "" + s.key), s)
M.call(s, C) && !ce.hasOwnProperty(C) && (_[C] = s[C]);
var T = arguments.length - 2;
if (T === 1)
_.children = h;
else if (1 < T) {
for (var w = Array(T), V = 0; V < T; V++)
w[V] = arguments[V + 2];
_.children = w;
}
if (n && n.defaultProps)
for (C in T = n.defaultProps, T)
_[C] === void 0 && (_[C] = T[C]);
return { $$typeof: k, type: n, key: P, ref: j, props: _, _owner: q.current };
}
function Re(n, s) {
return { $$typeof: k, type: n.type, key: s, ref: n.ref, props: n.props, _owner: n._owner };
}
function Ce(n) {
return typeof n == "object" && n !== null && n.$$typeof === k;
}
function Ue(n) {
var s = { "=": "=0", ":": "=2" };
return "$" + n.replace(/[=:]/g, function(h) {
return s[h];
});
}
var we = /\/+/g;
function H(n, s) {
return typeof n == "object" && n !== null && n.key != null ? Ue("" + n.key) : s.toString(36);
}
function K(n, s, h, C, _) {
var P = typeof n;
(P === "undefined" || P === "boolean") && (n = null);
var j = !1;
if (n === null)
j = !0;
else
switch (P) {
case "string":
case "number":
j = !0;
break;
case "object":
switch (n.$$typeof) {
case k:
case y:
j = !0;
}
}
if (j)
return j = n, _ = _(j), n = C === "" ? "." + H(j, 0) : C, oe(_) ? (h = "", n != null && (h = n.replace(we, "$&/") + "/"), K(_, s, h, "", function(V) {
return V;
})) : _ != null && (Ce(_) && (_ = Re(_, h + (!_.key || j && j.key === _.key ? "" : ("" + _.key).replace(we, "$&/") + "/") + n)), s.push(_)), 1;
if (j = 0, C = C === "" ? "." : C + ":", oe(n))
for (var T = 0; T < n.length; T++) {
P = n[T];
var w = C + H(P, T);
j += K(P, s, h, w, _);
}
else if (w = ee(n), typeof w == "function")
for (n = w.call(n), T = 0; !(P = n.next()).done; )
P = P.value, w = C + H(P, T++), j += K(P, s, h, w, _);
else if (P === "object")
throw s = String(n), Error("Objects are not valid as a React child (found: " + (s === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : s) + "). If you meant to render a collection of children, use an array instead.");
return j;
}
function Y(n, s, h) {
if (n == null)
return n;
var C = [], _ = 0;
return K(n, C, "", "", function(P) {
return s.call(h, P, _++);
}), C;
}
function ue(n) {
if (n._status === -1) {
var s = n._result;
s = s(), s.then(function(h) {
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = h);
}, function(h) {
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = h);
}), n._status === -1 && (n._status = 0, n._result = s);
}
if (n._status === 1)
return n._result.default;
throw n._result;
}
var d = { current: null }, fe = { transition: null }, Se = { ReactCurrentDispatcher: d, ReactCurrentBatchConfig: fe, ReactCurrentOwner: q };
return g.Children = { map: Y, forEach: function(n, s, h) {
Y(n, function() {
s.apply(this, arguments);
}, h);
}, count: function(n) {
var s = 0;
return Y(n, function() {
s++;
}), s;
}, toArray: function(n) {
return Y(n, function(s) {
return s;
}) || [];
}, only: function(n) {
if (!Ce(n))
throw Error("React.Children.only expected to receive a single React element child.");
return n;
} }, g.Component = ne, g.Fragment = Ee, g.Profiler = de, g.PureComponent = F, g.StrictMode = X, g.Suspense = L, g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Se, g.cloneElement = function(n, s, h) {
if (n == null)
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
var C = se({}, n.props), _ = n.key, P = n.ref, j = n._owner;
if (s != null) {
if (s.ref !== void 0 && (P = s.ref, j = q.current), s.key !== void 0 && (_ = "" + s.key), n.type && n.type.defaultProps)
var T = n.type.defaultProps;
for (w in s)
M.call(s, w) && !ce.hasOwnProperty(w) && (C[w] = s[w] === void 0 && T !== void 0 ? T[w] : s[w]);
}
var w = arguments.length - 2;
if (w === 1)
C.children = h;
else if (1 < w) {
T = Array(w);
for (var V = 0; V < w; V++)
T[V] = arguments[V + 2];
C.children = T;
}
return { $$typeof: k, type: n.type, key: _, ref: P, props: C, _owner: j };
}, g.createContext = function(n) {
return n = { $$typeof: te, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: re, _context: n }, n.Consumer = n;
}, g.createElement = pe, g.createFactory = function(n) {
var s = pe.bind(null, n);
return s.type = n, s;
}, g.createRef = function() {
return { current: null };
}, g.forwardRef = function(n) {
return { $$typeof: Q, render: n };
}, g.isValidElement = Ce, g.lazy = function(n) {
return { $$typeof: N, _payload: { _status: -1, _result: n }, _init: ue };
}, g.memo = function(n, s) {
return { $$typeof: Z, type: n, compare: s === void 0 ? null : s };
}, g.startTransition = function(n) {
var s = fe.transition;
fe.transition = {};
try {
n();
} finally {
fe.transition = s;
}
}, g.unstable_act = function() {
throw Error("act(...) is not supported in production builds of React.");
}, g.useCallback = function(n, s) {
return d.current.useCallback(n, s);
}, g.useContext = function(n) {
return d.current.useContext(n);
}, g.useDebugValue = function() {
}, g.useDeferredValue = function(n) {
return d.current.useDeferredValue(n);
}, g.useEffect = function(n, s) {
return d.current.useEffect(n, s);
}, g.useId = function() {
return d.current.useId();
}, g.useImperativeHandle = function(n, s, h) {
return d.current.useImperativeHandle(n, s, h);
}, g.useInsertionEffect = function(n, s) {
return d.current.useInsertionEffect(n, s);
}, g.useLayoutEffect = function(n, s) {
return d.current.useLayoutEffect(n, s);
}, g.useMemo = function(n, s) {
return d.current.useMemo(n, s);
}, g.useReducer = function(n, s, h) {
return d.current.useReducer(n, s, h);
}, g.useRef = function(n) {
return d.current.useRef(n);
}, g.useState = function(n) {
return d.current.useState(n);
}, g.useSyncExternalStore = function(n, s, h) {
return d.current.useSyncExternalStore(n, s, h);
}, g.useTransition = function() {
return d.current.useTransition();
}, g.version = "18.2.0", g;
}
var Ke = {}, Yt = {
get exports() {
return Ke;
},
set exports(k) {
Ke = k;
}
};
/**
* @license React
* react.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 ct;
function Bt() {
return ct || (ct = 1, function(k, y) {
process.env.NODE_ENV !== "production" && function() {
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
var Ee = "18.2.0", X = Symbol.for("react.element"), de = Symbol.for("react.portal"), re = Symbol.for("react.fragment"), te = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), L = Symbol.for("react.provider"), Z = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), se = Symbol.for("react.lazy"), Ie = Symbol.for("react.offscreen"), ne = Symbol.iterator, ae = "@@iterator";
function F(e) {
if (e === null || typeof e != "object")
return null;
var r = ne && e[ne] || e[ae];
return typeof r == "function" ? r : null;
}
var ye = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, oe = {
transition: null
}, M = {
current: null,
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1
}, q = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, ce = {}, pe = null;
function Re(e) {
pe = e;
}
ce.setExtraStackFrame = function(e) {
pe = e;
}, ce.getCurrentStack = null, ce.getStackAddendum = function() {
var e = "";
pe && (e += pe);
var r = ce.getCurrentStack;
return r && (e += r() || ""), e;
};
var Ce = !1, Ue = !1, we = !1, H = !1, K = !1, Y = {
ReactCurrentDispatcher: ye,
ReactCurrentBatchConfig: oe,
ReactCurrentOwner: q
};
Y.ReactDebugCurrentFrame = ce, Y.ReactCurrentActQueue = M;
function ue(e) {
{
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
a[o - 1] = arguments[o];
fe("warn", e, a);
}
}
function d(e) {
{
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
a[o - 1] = arguments[o];
fe("error", e, a);
}
}
function fe(e, r, a) {
{
var o = Y.ReactDebugCurrentFrame, i = o.getStackAddendum();
i !== "" && (r += "%s", a = a.concat([i]));
var p = a.map(function(l) {
return String(l);
});
p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
}
}
var Se = {};
function n(e, r) {
{
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", i = o + "." + r;
if (Se[i])
return;
d("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, o), Se[i] = !0;
}
}
var s = {
/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/
isMounted: function(e) {
return !1;
},
/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function(e, r, a) {
n(e, "forceUpdate");
},
/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueReplaceState: function(e, r, a, o) {
n(e, "replaceState");
},
/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @internal
*/
enqueueSetState: function(e, r, a, o) {
n(e, "setState");
}
}, h = Object.assign, C = {};
Object.freeze(C);
function _(e, r, a) {
this.props = e, this.context = r, this.refs = C, this.updater = a || s;
}
_.prototype.isReactComponent = {}, _.prototype.setState = function(e, r) {
if (typeof e != "object" && typeof e != "function" && e != null)
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, e, r, "setState");
}, _.prototype.forceUpdate = function(e) {
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
};
{
var P = {
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
}, j = function(e, r) {
Object.defineProperty(_.prototype, e, {
get: function() {
ue("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
}
});
};
for (var T in P)
P.hasOwnProperty(T) && j(T, P[T]);
}
function w() {
}
w.prototype = _.prototype;
function V(e, r, a) {
this.props = e, this.context = r, this.refs = C, this.updater = a || s;
}
var he = V.prototype = new w();
he.constructor = V, h(he, _.prototype), he.isPureReactComponent = !0;
function hr() {
var e = {
current: null
};
return Object.seal(e), e;
}
var Je = Array.isArray;
function Fe(e) {
return Je(e);
}
function mr(e) {
{
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
return a;
}
}
function $e(e) {
try {
return Te(e), !1;
} catch {
return !0;
}
}
function Te(e) {
return "" + e;
}
function Oe(e) {
if ($e(e))
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mr(e)), Te(e);
}
function Xe(e, r, a) {
var o = e.displayName;
if (o)
return o;
var i = r.displayName || r.name || "";
return i !== "" ? a + "(" + i + ")" : a;
}
function Pe(e) {
return e.displayName || "Context";
}
function le(e) {
if (e == null)
return null;
if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
return e.displayName || e.name || null;
if (typeof e == "string")
return e;
switch (e) {
case re:
return "Fragment";
case de:
return "Portal";
case Q:
return "Profiler";
case te:
return "StrictMode";
case U:
return "Suspense";
case ee:
return "SuspenseList";
}
if (typeof e == "object")
switch (e.$$typeof) {
case Z:
var r = e;
return Pe(r) + ".Consumer";
case L:
var a = e;
return Pe(a._context) + ".Provider";
case N:
return Xe(e, e.render, "ForwardRef");
case G:
var o = e.displayName || null;
return o !== null ? o : le(e.type) || "Memo";
case se: {
var i = e, p = i._payload, l = i._init;
try {
return le(l(p));
} catch {
return null;
}
}
}
return null;
}
var ke = Object.prototype.hasOwnProperty, Le = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Qe, Ze, Ne;
Ne = {};
function Ye(e) {
if (ke.call(e, "ref")) {
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
if (r && r.isReactWarning)
return !1;
}
return e.ref !== void 0;
}
function me(e) {
if (ke.call(e, "key")) {
var r = Object.getOwnPropertyDescriptor(e, "key").get;
if (r && r.isReactWarning)
return !1;
}
return e.key !== void 0;
}
function gr(e, r) {
var a = function() {
Qe || (Qe = !0, d("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
};
a.isReactWarning = !0, Object.defineProperty(e, "key", {
get: a,
configurable: !0
});
}
function er(e, r) {
var a = function() {
Ze || (Ze = !0, d("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
};
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
get: a,
configurable: !0
});
}
function rr(e) {
if (typeof e.ref == "string" && q.current && e.__self && q.current.stateNode !== e.__self) {
var r = le(q.current.type);
Ne[r] || (d('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ne[r] = !0);
}
}
var je = function(e, r, a, o, i, p, l) {
var v = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: X,
// Built-in properties that belong on the element
type: e,
key: r,
ref: a,
props: l,
// Record the component responsible for creating this element.
_owner: p
};
return v._store = {}, Object.defineProperty(v._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(v, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: o
}), Object.defineProperty(v, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: i
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
};
function _r(e, r, a) {
var o, i = {}, p = null, l = null, v = null, E = null;
if (r != null) {
Ye(r) && (l = r.ref, rr(r)), me(r) && (Oe(r.key), p = "" + r.key), v = r.__self === void 0 ? null : r.__self, E = r.__source === void 0 ? null : r.__source;
for (o in r)
ke.call(r, o) && !Le.hasOwnProperty(o) && (i[o] = r[o]);
}
var O = arguments.length - 2;
if (O === 1)
i.children = a;
else if (O > 1) {
for (var A = Array(O), x = 0; x < O; x++)
A[x] = arguments[x + 2];
Object.freeze && Object.freeze(A), i.children = A;
}
if (e && e.defaultProps) {
var I = e.defaultProps;
for (o in I)
i[o] === void 0 && (i[o] = I[o]);
}
if (p || l) {
var W = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
p && gr(i, W), l && er(i, W);
}
return je(e, p, l, v, E, q.current, i);
}
function br(e, r) {
var a = je(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
return a;
}
function Er(e, r, a) {
if (e == null)
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
var o, i = h({}, e.props), p = e.key, l = e.ref, v = e._self, E = e._source, O = e._owner;
if (r != null) {
Ye(r) && (l = r.ref, O = q.current), me(r) && (Oe(r.key), p = "" + r.key);
var A;
e.type && e.type.defaultProps && (A = e.type.defaultProps);
for (o in r)
ke.call(r, o) && !Le.hasOwnProperty(o) && (r[o] === void 0 && A !== void 0 ? i[o] = A[o] : i[o] = r[o]);
}
var x = arguments.length - 2;
if (x === 1)
i.children = a;
else if (x > 1) {
for (var I = Array(x), W = 0; W < x; W++)
I[W] = arguments[W + 2];
i.children = I;
}
return je(e.type, p, l, v, E, O, i);
}
function ge(e) {
return typeof e == "object" && e !== null && e.$$typeof === X;
}
var tr = ".", Rr = ":";
function Cr(e) {
var r = /[=:]/g, a = {
"=": "=0",
":": "=2"
}, o = e.replace(r, function(i) {
return a[i];
});
return "$" + o;
}
var Me = !1, nr = /\/+/g;
function ve(e) {
return e.replace(nr, "$&/");
}
function Ae(e, r) {
return typeof e == "object" && e !== null && e.key != null ? (Oe(e.key), Cr("" + e.key)) : r.toString(36);
}
function _e(e, r, a, o, i) {
var p = typeof e;
(p === "undefined" || p === "boolean") && (e = null);
var l = !1;
if (e === null)
l = !0;
else
switch (p) {
case "string":
case "number":
l = !0;
break;
case "object":
switch (e.$$typeof) {
case X:
case de:
l = !0;
}
}
if (l) {
var v = e, E = i(v), O = o === "" ? tr + Ae(v, 0) : o;
if (Fe(E)) {
var A = "";
O != null && (A = ve(O) + "/"), _e(E, r, A, "", function(Mt) {
return Mt;
});
} else
E != null && (ge(E) && (E.key && (!v || v.key !== E.key) && Oe(E.key), E = br(
E,
// Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
(E.key && (!v || v.key !== E.key) ? (
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
// eslint-disable-next-line react-internal/safe-string-coercion
ve("" + E.key) + "/"
) : "") + O
)), r.push(E));
return 1;
}
var x, I, W = 0, z = o === "" ? tr : o + Rr;
if (Fe(e))
for (var vr = 0; vr < e.length; vr++)
x = e[vr], I = z + Ae(x, vr), W += _e(x, r, a, I, i);
else {
var Lr = F(e);
if (typeof Lr == "function") {
var at = e;
Lr === at.entries && (Me || ue("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Me = !0);
for (var Lt = Lr.call(at), ot, Nt = 0; !(ot = Lt.next()).done; )
x = ot.value, I = z + Ae(x, Nt++), W += _e(x, r, a, I, i);
} else if (p === "object") {
var ut = String(e);
throw new Error("Objects are not valid as a React child (found: " + (ut === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : ut) + "). If you meant to render a collection of children, use an array instead.");
}
}
return W;
}
function xe(e, r, a) {
if (e == null)
return e;
var o = [], i = 0;
return _e(e, o, "", "", function(p) {
return r.call(a, p, i++);
}), o;
}
function wr(e) {
var r = 0;
return xe(e, function() {
r++;
}), r;
}
function ar(e, r, a) {
xe(e, function() {
r.apply(this, arguments);
}, a);
}
function Sr(e) {
return xe(e, function(r) {
return r;
}) || [];
}
function or(e) {
if (!ge(e))
throw new Error("React.Children.only expected to receive a single React element child.");
return e;
}
function ur(e) {
var r = {
$$typeof: Z,
// As a workaround to support multiple concurrent renderers, we categorize
// some renderers as primary and others as secondary. We only expect
// there to be two concurrent renderers at most: React Native (primary) and
// Fabric (secondary); React DOM (primary) and React ART (secondary).
// Secondary renderers store their context values on separate fields.
_currentValue: e,
_currentValue2: e,
// Used to track how many concurrent renderers this context currently
// supports within in a single renderer. Such as parallel server rendering.
_threadCount: 0,
// These are circular
Provider: null,
Consumer: null,
// Add these to use same hidden class in VM as ServerContext
_defaultValue: null,
_globalName: null
};
r.Provider = {
$$typeof: L,
_context: r
};
var a = !1, o = !1, i = !1;
{
var p = {
$$typeof: Z,
_context: r
};
Object.defineProperties(p, {
Provider: {
get: function() {
return o || (o = !0, d("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
},
set: function(l) {
r.Provider = l;
}
},
_currentValue: {
get: function() {
return r._currentValue;
},
set: function(l) {
r._currentValue = l;
}
},
_currentValue2: {
get: function() {
return r._currentValue2;
},
set: function(l) {
r._currentValue2 = l;
}
},
_threadCount: {
get: function() {
return r._threadCount;
},
set: function(l) {
r._threadCount = l;
}
},
Consumer: {
get: function() {
return a || (a = !0, d("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
}
},
displayName: {
get: function() {
return r.displayName;
},
set: function(l) {
i || (ue("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", l), i = !0);
}
}
}), r.Consumer = p;
}
return r._currentRenderer = null, r._currentRenderer2 = null, r;
}
var De = -1, Be = 0, ze = 1, Tr = 2;
function Or(e) {
if (e._status === De) {
var r = e._result, a = r();
if (a.then(function(p) {
if (e._status === Be || e._status === De) {
var l = e;
l._status = ze, l._result = p;
}
}, function(p) {
if (e._status === Be || e._status === De) {
var l = e;
l._status = Tr, l._result = p;
}
}), e._status === De) {
var o = e;
o._status = Be, o._result = a;
}
}
if (e._status === ze) {
var i = e._result;
return i === void 0 && d(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`, i), "default" in i || d(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`, i), i.default;
} else
throw e._result;
}
function Pr(e) {
var r = {
// We use these fields to store the result.
_status: De,
_result: e
}, a = {
$$typeof: se,
_payload: r,
_init: Or
};
{
var o, i;
Object.defineProperties(a, {
defaultProps: {
configurable: !0,
get: function() {
return o;
},
set: function(p) {
d("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = p, Object.defineProperty(a, "defaultProps", {
enumerable: !0
});
}
},
propTypes: {
configurable: !0,
get: function() {
return i;
},
set: function(p) {
d("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), i = p, Object.defineProperty(a, "propTypes", {
enumerable: !0
});
}
}
});
}
return a;
}
function kr(e) {
e != null && e.$$typeof === G ? d("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? d("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && d("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && d("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
var r = {
$$typeof: N,
render: e
};
{
var a;
Object.defineProperty(r, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return a;
},
set: function(o) {
a = o, !e.name && !e.displayName && (e.displayName = o);
}
});
}
return r;
}
var t;
t = Symbol.for("react.module.reference");
function u(e) {
return !!(typeof e == "string" || typeof e == "function" || e === re || e === Q || K || e === te || e === U || e === ee || H || e === Ie || Ce || Ue || we || typeof e == "object" && e !== null && (e.$$typeof === se || e.$$typeof === G || e.$$typeof === L || e.$$typeof === Z || e.$$typeof === N || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
e.$$typeof === t || e.getModuleId !== void 0));
}
function c(e, r) {
u(e) || d("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
var a = {
$$typeof: G,
type: e,
compare: r === void 0 ? null : r
};
{
var o;
Object.defineProperty(a, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return o;
},
set: function(i) {
o = i, !e.name && !e.displayName && (e.displayName = i);
}
});
}
return a;
}
function f() {
var e = ye.current;
return e === null && d(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
}
function R(e) {
var r = f();
if (e._context !== void 0) {
var a = e._context;
a.Consumer === e ? d("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && d("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
}
return r.useContext(e);
}
function S(e) {
var r = f();
return r.useState(e);
}
function b(e, r, a) {
var o = f();
return o.useReducer(e, r, a);
}
function m(e) {
var r = f();
return r.useRef(e);
}
function B(e, r) {
var a = f();
return a.useEffect(e, r);
}
function D(e, r) {
var a = f();
return a.useInsertionEffect(e, r);
}
function $(e, r) {
var a = f();
return a.useLayoutEffect(e, r);
}
function J(e, r) {
var a = f();
return a.useCallback(e, r);
}
function be(e, r) {
var a = f();
return a.useMemo(e, r);
}
function ir(e, r, a) {
var o = f();
return o.useImperativeHandle(e, r, a);
}
function ie(e, r) {
{
var a = f();
return a.useDebugValue(e, r);
}
}
function vt() {
var e = f();
return e.useTransition();
}
function yt(e) {
var r = f();
return r.useDeferredValue(e);
}
function ht() {
var e = f();
return e.useId();
}
function mt(e, r, a) {
var o = f();
return o.useSyncExternalStore(e, r, a);
}
var qe = 0, Nr, Mr, Wr, Vr, Ur, Yr, Br;
function zr() {
}
zr.__reactDisabledLog = !0;
function gt() {
{
if (qe === 0) {
Nr = console.log, Mr = console.info, Wr = console.warn, Vr = console.error, Ur = console.group, Yr = console.groupCollapsed, Br = console.groupEnd;
var e = {
configurable: !0,
enumerable: !0,
value: zr,
writable: !0
};
Object.defineProperties(console, {
info: e,
log: e,
warn: e,
error: e,
group: e,
groupCollapsed: e,
groupEnd: e
});
}
qe++;
}
}
function _t() {
{
if (qe--, qe === 0) {
var e = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: h({}, e, {
value: Nr
}),
info: h({}, e, {
value: Mr
}),
warn: h({}, e, {
value: Wr
}),
error: h({}, e, {
value: Vr
}),
group: h({}, e, {
value: Ur
}),
groupCollapsed: h({}, e, {
value: Yr
}),
groupEnd: h({}, e, {
value: Br
})
});
}
qe < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var jr = Y.ReactCurrentDispatcher, Ar;
function sr(e, r, a) {
{
if (Ar === void 0)
try {
throw Error();
} catch (i) {
var o = i.stack.trim().match(/\n( *(at )?)/);
Ar = o && o[1] || "";
}
return `
` + Ar + e;
}
}
var xr = !1, cr;
{
var bt = typeof WeakMap == "function" ? WeakMap : Map;
cr = new bt();
}
function qr(e, r) {
if (!e || xr)
return "";
{
var a = cr.get(e);
if (a !== void 0)
return a;
}
var o;
xr = !0;
var i = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var p;
p = jr.current, jr.current = null, gt();
try {
if (r) {
var l = function() {
throw Error();
};
if (Object.defineProperty(l.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(l, []);
} catch (z) {
o = z;
}
Reflect.construct(e, [], l);
} else {
try {
l.call();
} catch (z) {
o = z;
}
e.call(l.prototype);
}
} else {
try {
throw Error();
} catch (z) {
o = z;
}
e();
}
} catch (z) {
if (z && o && typeof z.stack == "string") {
for (var v = z.stack.split(`
`), E = o.stack.split(`
`), O = v.length - 1, A = E.length - 1; O >= 1 && A >= 0 && v[O] !== E[A]; )
A--;
for (; O >= 1 && A >= 0; O--, A--)
if (v[O] !== E[A]) {
if (O !== 1 || A !== 1)
do
if (O--, A--, A < 0 || v[O] !== E[A]) {
var x = `
` + v[O].replace(" at new ", " at ");
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && cr.set(e, x), x;
}
while (O >= 1 && A >= 0);
break;
}
}
} finally {
xr = !1, jr.current = p, _t(), Error.prepareStackTrace = i;
}
var I = e ? e.displayName || e.name : "", W = I ? sr(I) : "";
return typeof e == "function" && cr.set(e, W), W;
}
function Et(e, r, a) {
return qr(e, !1);
}
function Rt(e) {
var r = e.prototype;
return !!(r && r.isReactComponent);
}
function fr(e, r, a) {
if (e == null)
return "";
if (typeof e == "function")
return qr(e, Rt(e));
if (typeof e == "string")
return sr(e);
switch (e) {
case U:
return sr("Suspense");
case ee:
return sr("SuspenseList");
}
if (typeof e == "object")
switch (e.$$typeof) {
case N:
return Et(e.render);
case G:
return fr(e.type, r, a);
case se: {
var o = e, i = o._payload, p = o._init;
try {
return fr(p(i), r, a);
} catch {
}
}
}
return "";
}
var Hr = {}, Gr = Y.ReactDebugCurrentFrame;
function lr(e) {
if (e) {
var r = e._owner, a = fr(e.type, e._source, r ? r.type : null);
Gr.setExtraStackFrame(a);
} else
Gr.setExtraStackFrame(null);
}
function Ct(e, r, a, o, i) {
{
var p = Function.call.bind(ke);
for (var l in e)
if (p(e, l)) {
var v = void 0;
try {
if (typeof e[l] != "function") {
var E = Error((o || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw E.name = "Invariant Violation", E;
}
v = e[l](r, l, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (O) {
v = O;
}
v && !(v instanceof Error) && (lr(i), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, l, typeof v), lr(null)), v instanceof Error && !(v.message in Hr) && (Hr[v.message] = !0, lr(i), d("Failed %s type: %s", a, v.message), lr(null));
}
}
}
function We(e) {
if (e) {
var r = e._owner, a = fr(e.type, e._source, r ? r.type : null);
Re(a);
} else
Re(null);
}
var Dr;
Dr = !1;
function Kr() {
if (q.current) {
var e = le(q.current.type);
if (e)
return `
Check the render method of \`` + e + "`.";
}
return "";
}
function wt(e) {
if (e !== void 0) {
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
return `
Check your code at ` + r + ":" + a + ".";
}
return "";
}
function St(e) {
return e != null ? wt(e.__source) : "";
}
var Jr = {};
function Tt(e) {
var r = Kr();
if (!r) {
var a = typeof e == "string" ? e : e.displayName || e.name;
a && (r = `
Check the top-level render call using <` + a + ">.");
}
return r;
}
function Xr(e, r) {
if (!(!e._store || e._store.validated || e.key != null)) {
e._store.validated = !0;
var a = Tt(r);
if (!Jr[a]) {
Jr[a] = !0;
var o = "";
e && e._owner && e._owner !== q.current && (o = " It was passed a child from " + le(e._owner.type) + "."), We(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), We(null);
}
}
}
function Qr(e, r) {
if (typeof e == "object") {
if (Fe(e))
for (var a = 0; a < e.length; a++) {
var o = e[a];
ge(o) && Xr(o, r);
}
else if (ge(e))
e._store && (e._store.validated = !0);
else if (e) {
var i = F(e);
if (typeof i == "function" && i !== e.entries)
for (var p = i.call(e), l; !(l = p.next()).done; )
ge(l.value) && Xr(l.value, r);
}
}
}
function Zr(e) {
{
var r = e.type;
if (r == null || typeof r == "string")
return;
var a;
if (typeof r == "function")
a = r.propTypes;
else if (typeof r == "object" && (r.$$typeof === N || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
r.$$typeof === G))
a = r.propTypes;
else
return;
if (a) {
var o = le(r);
Ct(a, e.props, "prop", o, e);
} else if (r.PropTypes !== void 0 && !Dr) {
Dr = !0;
var i = le(r);
d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
}
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Ot(e) {
{
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
var o = r[a];
if (o !== "children" && o !== "key") {
We(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), We(null);
break;
}
}
e.ref !== null && (We(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), We(null));
}
}
function et(e, r, a) {
var o = u(e);
if (!o) {
var i = "";
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var p = St(r);
p ? i += p : i += Kr();
var l;
e === null ? l = "null" : Fe(e) ? l = "array" : e !== void 0 && e.$$typeof === X ? (l = "<" + (le(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, d("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, i);
}
var v = _r.apply(this, arguments);
if (v == null)
return v;
if