eldav1d-marvel-ui
Version:
UI library for (and from) Playing with Marvel API
1,400 lines • 818 kB
JavaScript
import { jsx as zE } from "react/jsx-runtime";
import * as lt from "react";
import Cx, { useState as ds, useCallback as Vr, useLayoutEffect as jD, useContext as YD, useRef as Bu, createContext as JD, useMemo as hf, Component as QD, Fragment as Pb, useEffect as Sx, forwardRef as $D } from "react";
import { h as KD, a as qD, c as e2, s as Jb, w as Ex, T as xx, u as HE, i as Ix, b as t2, r as n2, g as r2, E as a2 } from "../../../EmotionCacheProvider-hWJRBPep.js";
import i2 from "./hooks/useReactSelectChange.js";
import GE from "./utils/overrideClasses.js";
function ps(h) {
"@babel/helpers - typeof";
return ps = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
return typeof d;
} : function(d) {
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
}, ps(h);
}
function u2(h, d) {
if (ps(h) != "object" || !h)
return h;
var g = h[Symbol.toPrimitive];
if (g !== void 0) {
var S = g.call(h, d || "default");
if (ps(S) != "object")
return S;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (d === "string" ? String : Number)(h);
}
function Tx(h) {
var d = u2(h, "string");
return ps(d) == "symbol" ? d : d + "";
}
function Op(h, d, g) {
return d = Tx(d), d in h ? Object.defineProperty(h, d, {
value: g,
enumerable: !0,
configurable: !0,
writable: !0
}) : h[d] = g, h;
}
function _E(h, d) {
var g = Object.keys(h);
if (Object.getOwnPropertySymbols) {
var S = Object.getOwnPropertySymbols(h);
d && (S = S.filter(function(v) {
return Object.getOwnPropertyDescriptor(h, v).enumerable;
})), g.push.apply(g, S);
}
return g;
}
function He(h) {
for (var d = 1; d < arguments.length; d++) {
var g = arguments[d] != null ? arguments[d] : {};
d % 2 ? _E(Object(g), !0).forEach(function(S) {
Op(h, S, g[S]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(h, Object.getOwnPropertyDescriptors(g)) : _E(Object(g)).forEach(function(S) {
Object.defineProperty(h, S, Object.getOwnPropertyDescriptor(g, S));
});
}
return h;
}
function l2(h) {
if (Array.isArray(h))
return h;
}
function o2(h, d) {
var g = h == null ? null : typeof Symbol < "u" && h[Symbol.iterator] || h["@@iterator"];
if (g != null) {
var S, v, I, y, D = [], x = !0, A = !1;
try {
if (I = (g = g.call(h)).next, d === 0) {
if (Object(g) !== g)
return;
x = !1;
} else
for (; !(x = (S = I.call(g)).done) && (D.push(S.value), D.length !== d); x = !0)
;
} catch (k) {
A = !0, v = k;
} finally {
try {
if (!x && g.return != null && (y = g.return(), Object(y) !== y))
return;
} finally {
if (A)
throw v;
}
}
return D;
}
}
function Ub(h, d) {
(d == null || d > h.length) && (d = h.length);
for (var g = 0, S = new Array(d); g < d; g++)
S[g] = h[g];
return S;
}
function Rx(h, d) {
if (h) {
if (typeof h == "string")
return Ub(h, d);
var g = Object.prototype.toString.call(h).slice(8, -1);
if (g === "Object" && h.constructor && (g = h.constructor.name), g === "Map" || g === "Set")
return Array.from(h);
if (g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))
return Ub(h, d);
}
}
function s2() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function zu(h, d) {
return l2(h) || o2(h, d) || Rx(h, d) || s2();
}
function c2(h, d) {
if (h == null)
return {};
var g = {};
for (var S in h)
if (Object.prototype.hasOwnProperty.call(h, S)) {
if (d.indexOf(S) >= 0)
continue;
g[S] = h[S];
}
return g;
}
function Gu(h, d) {
if (h == null)
return {};
var g = c2(h, d), S, v;
if (Object.getOwnPropertySymbols) {
var I = Object.getOwnPropertySymbols(h);
for (v = 0; v < I.length; v++)
S = I[v], !(d.indexOf(S) >= 0) && Object.prototype.propertyIsEnumerable.call(h, S) && (g[S] = h[S]);
}
return g;
}
var f2 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
function d2(h) {
var d = h.defaultInputValue, g = d === void 0 ? "" : d, S = h.defaultMenuIsOpen, v = S === void 0 ? !1 : S, I = h.defaultValue, y = I === void 0 ? null : I, D = h.inputValue, x = h.menuIsOpen, A = h.onChange, k = h.onInputChange, O = h.onMenuClose, U = h.onMenuOpen, P = h.value, Y = Gu(h, f2), Q = ds(D !== void 0 ? D : g), j = zu(Q, 2), re = j[0], be = j[1], te = ds(x !== void 0 ? x : v), ue = zu(te, 2), W = ue[0], Ce = ue[1], pe = ds(P !== void 0 ? P : y), Te = zu(pe, 2), tt = Te[0], qe = Te[1], Qe = Vr(function(ae, Re) {
typeof A == "function" && A(ae, Re), qe(ae);
}, [A]), ct = Vr(function(ae, Re) {
var le;
typeof k == "function" && (le = k(ae, Re)), be(le !== void 0 ? le : ae);
}, [k]), We = Vr(function() {
typeof U == "function" && U(), Ce(!0);
}, [U]), Ke = Vr(function() {
typeof O == "function" && O(), Ce(!1);
}, [O]), ft = D !== void 0 ? D : re, je = x !== void 0 ? x : W, Nt = P !== void 0 ? P : tt;
return He(He({}, Y), {}, {
inputValue: ft,
menuIsOpen: je,
onChange: Qe,
onInputChange: ct,
onMenuClose: Ke,
onMenuOpen: We,
value: Nt
});
}
function Ue() {
return Ue = Object.assign ? Object.assign.bind() : function(h) {
for (var d = 1; d < arguments.length; d++) {
var g = arguments[d];
for (var S in g)
Object.prototype.hasOwnProperty.call(g, S) && (h[S] = g[S]);
}
return h;
}, Ue.apply(this, arguments);
}
function p2(h, d) {
if (!(h instanceof d))
throw new TypeError("Cannot call a class as a function");
}
function PE(h, d) {
for (var g = 0; g < d.length; g++) {
var S = d[g];
S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(h, Tx(S.key), S);
}
}
function v2(h, d, g) {
return d && PE(h.prototype, d), g && PE(h, g), Object.defineProperty(h, "prototype", {
writable: !1
}), h;
}
function Wb(h, d) {
return Wb = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(S, v) {
return S.__proto__ = v, S;
}, Wb(h, d);
}
function m2(h, d) {
if (typeof d != "function" && d !== null)
throw new TypeError("Super expression must either be null or a function");
h.prototype = Object.create(d && d.prototype, {
constructor: {
value: h,
writable: !0,
configurable: !0
}
}), Object.defineProperty(h, "prototype", {
writable: !1
}), d && Wb(h, d);
}
function Jh(h) {
return Jh = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(g) {
return g.__proto__ || Object.getPrototypeOf(g);
}, Jh(h);
}
function Ax() {
try {
var h = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
}));
} catch {
}
return (Ax = function() {
return !!h;
})();
}
function h2(h) {
if (h === void 0)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return h;
}
function g2(h, d) {
if (d && (ps(d) === "object" || typeof d == "function"))
return d;
if (d !== void 0)
throw new TypeError("Derived constructors may only return object or undefined");
return h2(h);
}
function y2(h) {
var d = Ax();
return function() {
var S = Jh(h), v;
if (d) {
var I = Jh(this).constructor;
v = Reflect.construct(S, arguments, I);
} else
v = S.apply(this, arguments);
return g2(this, v);
};
}
function b2(h) {
if (Array.isArray(h))
return Ub(h);
}
function C2(h) {
if (typeof Symbol < "u" && h[Symbol.iterator] != null || h["@@iterator"] != null)
return Array.from(h);
}
function S2() {
throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function Qb(h) {
return b2(h) || C2(h) || Rx(h) || S2();
}
var Xb = { exports: {} }, Tt = {};
/** @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 UE;
function E2() {
if (UE)
return Tt;
UE = 1;
var h = typeof Symbol == "function" && Symbol.for, d = h ? Symbol.for("react.element") : 60103, g = h ? Symbol.for("react.portal") : 60106, S = h ? Symbol.for("react.fragment") : 60107, v = h ? Symbol.for("react.strict_mode") : 60108, I = h ? Symbol.for("react.profiler") : 60114, y = h ? Symbol.for("react.provider") : 60109, D = h ? Symbol.for("react.context") : 60110, x = h ? Symbol.for("react.async_mode") : 60111, A = h ? Symbol.for("react.concurrent_mode") : 60111, k = h ? Symbol.for("react.forward_ref") : 60112, O = h ? Symbol.for("react.suspense") : 60113, U = h ? Symbol.for("react.suspense_list") : 60120, P = h ? Symbol.for("react.memo") : 60115, Y = h ? Symbol.for("react.lazy") : 60116, Q = h ? Symbol.for("react.block") : 60121, j = h ? Symbol.for("react.fundamental") : 60117, re = h ? Symbol.for("react.responder") : 60118, be = h ? Symbol.for("react.scope") : 60119;
function te(W) {
if (typeof W == "object" && W !== null) {
var Ce = W.$$typeof;
switch (Ce) {
case d:
switch (W = W.type, W) {
case x:
case A:
case S:
case I:
case v:
case O:
return W;
default:
switch (W = W && W.$$typeof, W) {
case D:
case k:
case Y:
case P:
case y:
return W;
default:
return Ce;
}
}
case g:
return Ce;
}
}
}
function ue(W) {
return te(W) === A;
}
return Tt.AsyncMode = x, Tt.ConcurrentMode = A, Tt.ContextConsumer = D, Tt.ContextProvider = y, Tt.Element = d, Tt.ForwardRef = k, Tt.Fragment = S, Tt.Lazy = Y, Tt.Memo = P, Tt.Portal = g, Tt.Profiler = I, Tt.StrictMode = v, Tt.Suspense = O, Tt.isAsyncMode = function(W) {
return ue(W) || te(W) === x;
}, Tt.isConcurrentMode = ue, Tt.isContextConsumer = function(W) {
return te(W) === D;
}, Tt.isContextProvider = function(W) {
return te(W) === y;
}, Tt.isElement = function(W) {
return typeof W == "object" && W !== null && W.$$typeof === d;
}, Tt.isForwardRef = function(W) {
return te(W) === k;
}, Tt.isFragment = function(W) {
return te(W) === S;
}, Tt.isLazy = function(W) {
return te(W) === Y;
}, Tt.isMemo = function(W) {
return te(W) === P;
}, Tt.isPortal = function(W) {
return te(W) === g;
}, Tt.isProfiler = function(W) {
return te(W) === I;
}, Tt.isStrictMode = function(W) {
return te(W) === v;
}, Tt.isSuspense = function(W) {
return te(W) === O;
}, Tt.isValidElementType = function(W) {
return typeof W == "string" || typeof W == "function" || W === S || W === A || W === I || W === v || W === O || W === U || typeof W == "object" && W !== null && (W.$$typeof === Y || W.$$typeof === P || W.$$typeof === y || W.$$typeof === D || W.$$typeof === k || W.$$typeof === j || W.$$typeof === re || W.$$typeof === be || W.$$typeof === Q);
}, Tt.typeOf = te, Tt;
}
var Rt = {};
/** @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 WE;
function x2() {
return WE || (WE = 1, process.env.NODE_ENV !== "production" && function() {
var h = typeof Symbol == "function" && Symbol.for, d = h ? Symbol.for("react.element") : 60103, g = h ? Symbol.for("react.portal") : 60106, S = h ? Symbol.for("react.fragment") : 60107, v = h ? Symbol.for("react.strict_mode") : 60108, I = h ? Symbol.for("react.profiler") : 60114, y = h ? Symbol.for("react.provider") : 60109, D = h ? Symbol.for("react.context") : 60110, x = h ? Symbol.for("react.async_mode") : 60111, A = h ? Symbol.for("react.concurrent_mode") : 60111, k = h ? Symbol.for("react.forward_ref") : 60112, O = h ? Symbol.for("react.suspense") : 60113, U = h ? Symbol.for("react.suspense_list") : 60120, P = h ? Symbol.for("react.memo") : 60115, Y = h ? Symbol.for("react.lazy") : 60116, Q = h ? Symbol.for("react.block") : 60121, j = h ? Symbol.for("react.fundamental") : 60117, re = h ? Symbol.for("react.responder") : 60118, be = h ? Symbol.for("react.scope") : 60119;
function te(ye) {
return typeof ye == "string" || typeof ye == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
ye === S || ye === A || ye === I || ye === v || ye === O || ye === U || typeof ye == "object" && ye !== null && (ye.$$typeof === Y || ye.$$typeof === P || ye.$$typeof === y || ye.$$typeof === D || ye.$$typeof === k || ye.$$typeof === j || ye.$$typeof === re || ye.$$typeof === be || ye.$$typeof === Q);
}
function ue(ye) {
if (typeof ye == "object" && ye !== null) {
var Ut = ye.$$typeof;
switch (Ut) {
case d:
var Wt = ye.type;
switch (Wt) {
case x:
case A:
case S:
case I:
case v:
case O:
return Wt;
default:
var Nn = Wt && Wt.$$typeof;
switch (Nn) {
case D:
case k:
case Y:
case P:
case y:
return Nn;
default:
return Ut;
}
}
case g:
return Ut;
}
}
}
var W = x, Ce = A, pe = D, Te = y, tt = d, qe = k, Qe = S, ct = Y, We = P, Ke = g, ft = I, je = v, Nt = O, ae = !1;
function Re(ye) {
return ae || (ae = !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.")), le(ye) || ue(ye) === x;
}
function le(ye) {
return ue(ye) === A;
}
function ut(ye) {
return ue(ye) === D;
}
function ze(ye) {
return ue(ye) === y;
}
function ht(ye) {
return typeof ye == "object" && ye !== null && ye.$$typeof === d;
}
function Mt(ye) {
return ue(ye) === k;
}
function fn(ye) {
return ue(ye) === S;
}
function bt(ye) {
return ue(ye) === Y;
}
function dn(ye) {
return ue(ye) === P;
}
function Ht(ye) {
return ue(ye) === g;
}
function wn(ye) {
return ue(ye) === I;
}
function Ha(ye) {
return ue(ye) === v;
}
function Dn(ye) {
return ue(ye) === O;
}
Rt.AsyncMode = W, Rt.ConcurrentMode = Ce, Rt.ContextConsumer = pe, Rt.ContextProvider = Te, Rt.Element = tt, Rt.ForwardRef = qe, Rt.Fragment = Qe, Rt.Lazy = ct, Rt.Memo = We, Rt.Portal = Ke, Rt.Profiler = ft, Rt.StrictMode = je, Rt.Suspense = Nt, Rt.isAsyncMode = Re, Rt.isConcurrentMode = le, Rt.isContextConsumer = ut, Rt.isContextProvider = ze, Rt.isElement = ht, Rt.isForwardRef = Mt, Rt.isFragment = fn, Rt.isLazy = bt, Rt.isMemo = dn, Rt.isPortal = Ht, Rt.isProfiler = wn, Rt.isStrictMode = Ha, Rt.isSuspense = Dn, Rt.isValidElementType = te, Rt.typeOf = ue;
}()), Rt;
}
process.env.NODE_ENV === "production" ? Xb.exports = E2() : Xb.exports = x2();
var I2 = Xb.exports, wx = I2, T2 = {
$$typeof: !0,
render: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0
}, R2 = {
$$typeof: !0,
compare: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0,
type: !0
}, Dx = {};
Dx[wx.ForwardRef] = T2;
Dx[wx.Memo] = R2;
var A2 = {
name: "@emotion/react",
version: "11.11.4",
main: "dist/emotion-react.cjs.js",
module: "dist/emotion-react.esm.js",
browser: {
"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
},
exports: {
".": {
module: {
worker: "./dist/emotion-react.worker.esm.js",
browser: "./dist/emotion-react.browser.esm.js",
default: "./dist/emotion-react.esm.js"
},
import: "./dist/emotion-react.cjs.mjs",
default: "./dist/emotion-react.cjs.js"
},
"./jsx-runtime": {
module: {
worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
},
import: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
},
"./_isolated-hnrs": {
module: {
worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
},
import: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
},
"./jsx-dev-runtime": {
module: {
worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
},
import: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
},
"./package.json": "./package.json",
"./types/css-prop": "./types/css-prop.d.ts",
"./macro": {
types: {
import: "./macro.d.mts",
default: "./macro.d.ts"
},
default: "./macro.js"
}
},
types: "types/index.d.ts",
files: [
"src",
"dist",
"jsx-runtime",
"jsx-dev-runtime",
"_isolated-hnrs",
"types/*.d.ts",
"macro.*"
],
sideEffects: !1,
author: "Emotion Contributors",
license: "MIT",
scripts: {
"test:typescript": "dtslint types"
},
dependencies: {
"@babel/runtime": "^7.18.3",
"@emotion/babel-plugin": "^11.11.0",
"@emotion/cache": "^11.11.0",
"@emotion/serialize": "^1.1.3",
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
"@emotion/utils": "^1.2.1",
"@emotion/weak-memoize": "^0.3.1",
"hoist-non-react-statics": "^3.3.1"
},
peerDependencies: {
react: ">=16.8.0"
},
peerDependenciesMeta: {
"@types/react": {
optional: !0
}
},
devDependencies: {
"@definitelytyped/dtslint": "0.0.112",
"@emotion/css": "11.11.2",
"@emotion/css-prettifier": "1.1.3",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.0",
"html-tag-names": "^1.1.2",
react: "16.14.0",
"svg-tag-names": "^1.1.1",
typescript: "^4.5.5"
},
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
publishConfig: {
access: "public"
},
"umd:main": "dist/emotion-react.umd.min.js",
preconstruct: {
entrypoints: [
"./index.js",
"./jsx-runtime.js",
"./jsx-dev-runtime.js",
"./_isolated-hnrs.js"
],
umdName: "emotionReact",
exports: {
envConditions: [
"browser",
"worker"
],
extra: {
"./types/css-prop": "./types/css-prop.d.ts",
"./macro": {
types: {
import: "./macro.d.mts",
default: "./macro.d.ts"
},
default: "./macro.js"
}
}
}
}
}, Be = function(d, g) {
var S = arguments;
if (g == null || !KD.call(g, "css"))
return lt.createElement.apply(void 0, S);
var v = S.length, I = new Array(v);
I[0] = qD, I[1] = e2(d, g);
for (var y = 2; y < v; y++)
I[y] = S[y];
return lt.createElement.apply(null, I);
}, XE = !1, w2 = /* @__PURE__ */ Ex(function(h, d) {
process.env.NODE_ENV !== "production" && !XE && // check for className as well since the user is
// probably using the custom createElement which
// means it will be turned into a className prop
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
(h.className || h.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), XE = !0);
var g = h.styles, S = Jb([g], void 0, lt.useContext(xx)), v = lt.useRef();
return HE(function() {
var I = d.key + "-global", y = new d.sheet.constructor({
key: I,
nonce: d.sheet.nonce,
container: d.sheet.container,
speedy: d.sheet.isSpeedy
}), D = !1, x = document.querySelector('style[data-emotion="' + I + " " + S.name + '"]');
return d.sheet.tags.length && (y.before = d.sheet.tags[0]), x !== null && (D = !0, x.setAttribute("data-emotion", I), y.hydrate([x])), v.current = [y, D], function() {
y.flush();
};
}, [d]), HE(function() {
var I = v.current, y = I[0], D = I[1];
if (D) {
I[1] = !1;
return;
}
if (S.next !== void 0 && Ix(d, S.next, !0), y.tags.length) {
var x = y.tags[y.tags.length - 1].nextElementSibling;
y.before = x, y.flush();
}
d.insert("", S, y, !1);
}, [d, S.name]), null;
});
process.env.NODE_ENV !== "production" && (w2.displayName = "EmotionGlobal");
function $b() {
for (var h = arguments.length, d = new Array(h), g = 0; g < h; g++)
d[g] = arguments[g];
return Jb(d);
}
var D2 = function() {
var d = $b.apply(void 0, arguments), g = "animation-" + d.name;
return {
name: g,
styles: "@keyframes " + g + "{" + d.styles + "}",
anim: 1,
toString: function() {
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
}
};
}, N2 = function h(d) {
for (var g = d.length, S = 0, v = ""; S < g; S++) {
var I = d[S];
if (I != null) {
var y = void 0;
switch (typeof I) {
case "boolean":
break;
case "object": {
if (Array.isArray(I))
y = h(I);
else {
process.env.NODE_ENV !== "production" && I.styles !== void 0 && I.name !== void 0 && console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."), y = "";
for (var D in I)
I[D] && D && (y && (y += " "), y += D);
}
break;
}
default:
y = I;
}
y && (v && (v += " "), v += y);
}
}
return v;
};
function M2(h, d, g) {
var S = [], v = r2(h, S, g);
return S.length < 2 ? g : v + d(S);
}
var L2 = function(d) {
var g = d.cache, S = d.serializedArr;
return t2(function() {
for (var v = 0; v < S.length; v++)
Ix(g, S[v], !1);
}), null;
}, O2 = /* @__PURE__ */ Ex(function(h, d) {
var g = !1, S = [], v = function() {
if (g && process.env.NODE_ENV !== "production")
throw new Error("css can only be used during render");
for (var A = arguments.length, k = new Array(A), O = 0; O < A; O++)
k[O] = arguments[O];
var U = Jb(k, d.registered);
return S.push(U), n2(d, U, !1), d.key + "-" + U.name;
}, I = function() {
if (g && process.env.NODE_ENV !== "production")
throw new Error("cx can only be used during render");
for (var A = arguments.length, k = new Array(A), O = 0; O < A; O++)
k[O] = arguments[O];
return M2(d.registered, v, N2(k));
}, y = {
css: v,
cx: I,
theme: lt.useContext(xx)
}, D = h.children(y);
return g = !0, /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(L2, {
cache: d,
serializedArr: S
}), D);
});
process.env.NODE_ENV !== "production" && (O2.displayName = "EmotionClassNames");
if (process.env.NODE_ENV !== "production") {
var ZE = !0, k2 = typeof jest < "u" || typeof vi < "u";
if (ZE && !k2) {
var jE = (
// $FlowIgnore
typeof globalThis < "u" ? globalThis : ZE ? window : global
), YE = "__EMOTION_REACT_" + A2.version.split(".")[0] + "__";
jE[YE] && console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."), jE[YE] = !0;
}
}
function F2(h, d) {
return d || (d = h.slice(0)), Object.freeze(Object.defineProperties(h, {
raw: {
value: Object.freeze(d)
}
}));
}
var Zb = { exports: {} }, ua = {}, Uh = { exports: {} }, kb = {};
/**
* @license React
* scheduler.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 JE;
function V2() {
return JE || (JE = 1, function(h) {
function d(ae, Re) {
var le = ae.length;
ae.push(Re);
e:
for (; 0 < le; ) {
var ut = le - 1 >>> 1, ze = ae[ut];
if (0 < v(ze, Re))
ae[ut] = Re, ae[le] = ze, le = ut;
else
break e;
}
}
function g(ae) {
return ae.length === 0 ? null : ae[0];
}
function S(ae) {
if (ae.length === 0)
return null;
var Re = ae[0], le = ae.pop();
if (le !== Re) {
ae[0] = le;
e:
for (var ut = 0, ze = ae.length, ht = ze >>> 1; ut < ht; ) {
var Mt = 2 * (ut + 1) - 1, fn = ae[Mt], bt = Mt + 1, dn = ae[bt];
if (0 > v(fn, le))
bt < ze && 0 > v(dn, fn) ? (ae[ut] = dn, ae[bt] = le, ut = bt) : (ae[ut] = fn, ae[Mt] = le, ut = Mt);
else if (bt < ze && 0 > v(dn, le))
ae[ut] = dn, ae[bt] = le, ut = bt;
else
break e;
}
}
return Re;
}
function v(ae, Re) {
var le = ae.sortIndex - Re.sortIndex;
return le !== 0 ? le : ae.id - Re.id;
}
if (typeof performance == "object" && typeof performance.now == "function") {
var I = performance;
h.unstable_now = function() {
return I.now();
};
} else {
var y = Date, D = y.now();
h.unstable_now = function() {
return y.now() - D;
};
}
var x = [], A = [], k = 1, O = null, U = 3, P = !1, Y = !1, Q = !1, j = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, be = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function te(ae) {
for (var Re = g(A); Re !== null; ) {
if (Re.callback === null)
S(A);
else if (Re.startTime <= ae)
S(A), Re.sortIndex = Re.expirationTime, d(x, Re);
else
break;
Re = g(A);
}
}
function ue(ae) {
if (Q = !1, te(ae), !Y)
if (g(x) !== null)
Y = !0, je(W);
else {
var Re = g(A);
Re !== null && Nt(ue, Re.startTime - ae);
}
}
function W(ae, Re) {
Y = !1, Q && (Q = !1, re(Te), Te = -1), P = !0;
var le = U;
try {
for (te(Re), O = g(x); O !== null && (!(O.expirationTime > Re) || ae && !Qe()); ) {
var ut = O.callback;
if (typeof ut == "function") {
O.callback = null, U = O.priorityLevel;
var ze = ut(O.expirationTime <= Re);
Re = h.unstable_now(), typeof ze == "function" ? O.callback = ze : O === g(x) && S(x), te(Re);
} else
S(x);
O = g(x);
}
if (O !== null)
var ht = !0;
else {
var Mt = g(A);
Mt !== null && Nt(ue, Mt.startTime - Re), ht = !1;
}
return ht;
} finally {
O = null, U = le, P = !1;
}
}
var Ce = !1, pe = null, Te = -1, tt = 5, qe = -1;
function Qe() {
return !(h.unstable_now() - qe < tt);
}
function ct() {
if (pe !== null) {
var ae = h.unstable_now();
qe = ae;
var Re = !0;
try {
Re = pe(!0, ae);
} finally {
Re ? We() : (Ce = !1, pe = null);
}
} else
Ce = !1;
}
var We;
if (typeof be == "function")
We = function() {
be(ct);
};
else if (typeof MessageChannel < "u") {
var Ke = new MessageChannel(), ft = Ke.port2;
Ke.port1.onmessage = ct, We = function() {
ft.postMessage(null);
};
} else
We = function() {
j(ct, 0);
};
function je(ae) {
pe = ae, Ce || (Ce = !0, We());
}
function Nt(ae, Re) {
Te = j(function() {
ae(h.unstable_now());
}, Re);
}
h.unstable_IdlePriority = 5, h.unstable_ImmediatePriority = 1, h.unstable_LowPriority = 4, h.unstable_NormalPriority = 3, h.unstable_Profiling = null, h.unstable_UserBlockingPriority = 2, h.unstable_cancelCallback = function(ae) {
ae.callback = null;
}, h.unstable_continueExecution = function() {
Y || P || (Y = !0, je(W));
}, h.unstable_forceFrameRate = function(ae) {
0 > ae || 125 < ae ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : tt = 0 < ae ? Math.floor(1e3 / ae) : 5;
}, h.unstable_getCurrentPriorityLevel = function() {
return U;
}, h.unstable_getFirstCallbackNode = function() {
return g(x);
}, h.unstable_next = function(ae) {
switch (U) {
case 1:
case 2:
case 3:
var Re = 3;
break;
default:
Re = U;
}
var le = U;
U = Re;
try {
return ae();
} finally {
U = le;
}
}, h.unstable_pauseExecution = function() {
}, h.unstable_requestPaint = function() {
}, h.unstable_runWithPriority = function(ae, Re) {
switch (ae) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
ae = 3;
}
var le = U;
U = ae;
try {
return Re();
} finally {
U = le;
}
}, h.unstable_scheduleCallback = function(ae, Re, le) {
var ut = h.unstable_now();
switch (typeof le == "object" && le !== null ? (le = le.delay, le = typeof le == "number" && 0 < le ? ut + le : ut) : le = ut, ae) {
case 1:
var ze = -1;
break;
case 2:
ze = 250;
break;
case 5:
ze = 1073741823;
break;
case 4:
ze = 1e4;
break;
default:
ze = 5e3;
}
return ze = le + ze, ae = { id: k++, callback: Re, priorityLevel: ae, startTime: le, expirationTime: ze, sortIndex: -1 }, le > ut ? (ae.sortIndex = le, d(A, ae), g(x) === null && ae === g(A) && (Q ? (re(Te), Te = -1) : Q = !0, Nt(ue, le - ut))) : (ae.sortIndex = ze, d(x, ae), Y || P || (Y = !0, je(W))), ae;
}, h.unstable_shouldYield = Qe, h.unstable_wrapCallback = function(ae) {
var Re = U;
return function() {
var le = U;
U = Re;
try {
return ae.apply(this, arguments);
} finally {
U = le;
}
};
};
}(kb)), kb;
}
var Fb = {};
/**
* @license React
* scheduler.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 QE;
function B2() {
return QE || (QE = 1, function(h) {
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 d = !1, g = !1, S = 5;
function v(fe, ke) {
var nt = fe.length;
fe.push(ke), D(fe, ke, nt);
}
function I(fe) {
return fe.length === 0 ? null : fe[0];
}
function y(fe) {
if (fe.length === 0)
return null;
var ke = fe[0], nt = fe.pop();
return nt !== ke && (fe[0] = nt, x(fe, nt, 0)), ke;
}
function D(fe, ke, nt) {
for (var At = nt; At > 0; ) {
var Kt = At - 1 >>> 1, Pn = fe[Kt];
if (A(Pn, ke) > 0)
fe[Kt] = ke, fe[At] = Pn, At = Kt;
else
return;
}
}
function x(fe, ke, nt) {
for (var At = nt, Kt = fe.length, Pn = Kt >>> 1; At < Pn; ) {
var pn = (At + 1) * 2 - 1, Br = fe[pn], Xt = pn + 1, xa = fe[Xt];
if (A(Br, ke) < 0)
Xt < Kt && A(xa, Br) < 0 ? (fe[At] = xa, fe[Xt] = ke, At = Xt) : (fe[At] = Br, fe[pn] = ke, At = pn);
else if (Xt < Kt && A(xa, ke) < 0)
fe[At] = xa, fe[Xt] = ke, At = Xt;
else
return;
}
}
function A(fe, ke) {
var nt = fe.sortIndex - ke.sortIndex;
return nt !== 0 ? nt : fe.id - ke.id;
}
var k = 1, O = 2, U = 3, P = 4, Y = 5;
function Q(fe, ke) {
}
var j = typeof performance == "object" && typeof performance.now == "function";
if (j) {
var re = performance;
h.unstable_now = function() {
return re.now();
};
} else {
var be = Date, te = be.now();
h.unstable_now = function() {
return be.now() - te;
};
}
var ue = 1073741823, W = -1, Ce = 250, pe = 5e3, Te = 1e4, tt = ue, qe = [], Qe = [], ct = 1, We = null, Ke = U, ft = !1, je = !1, Nt = !1, ae = typeof setTimeout == "function" ? setTimeout : null, Re = typeof clearTimeout == "function" ? clearTimeout : null, le = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function ut(fe) {
for (var ke = I(Qe); ke !== null; ) {
if (ke.callback === null)
y(Qe);
else if (ke.startTime <= fe)
y(Qe), ke.sortIndex = ke.expirationTime, v(qe, ke);
else
return;
ke = I(Qe);
}
}
function ze(fe) {
if (Nt = !1, ut(fe), !je)
if (I(qe) !== null)
je = !0, yi(ht);
else {
var ke = I(Qe);
ke !== null && ur(ze, ke.startTime - fe);
}
}
function ht(fe, ke) {
je = !1, Nt && (Nt = !1, ca()), ft = !0;
var nt = Ke;
try {
var At;
if (!g)
return Mt(fe, ke);
} finally {
We = null, Ke = nt, ft = !1;
}
}
function Mt(fe, ke) {
var nt = ke;
for (ut(nt), We = I(qe); We !== null && !d && !(We.expirationTime > nt && (!fe || _u())); ) {
var At = We.callback;
if (typeof At == "function") {
We.callback = null, Ke = We.priorityLevel;
var Kt = We.expirationTime <= nt, Pn = At(Kt);
nt = h.unstable_now(), typeof Pn == "function" ? We.callback = Pn : We === I(qe) && y(qe), ut(nt);
} else
y(qe);
We = I(qe);
}
if (We !== null)
return !0;
var pn = I(Qe);
return pn !== null && ur(ze, pn.startTime - nt), !1;
}
function fn(fe, ke) {
switch (fe) {
case k:
case O:
case U:
case P:
case Y:
break;
default:
fe = U;
}
var nt = Ke;
Ke = fe;
try {
return ke();
} finally {
Ke = nt;
}
}
function bt(fe) {
var ke;
switch (Ke) {
case k:
case O:
case U:
ke = U;
break;
default:
ke = Ke;
break;
}
var nt = Ke;
Ke = ke;
try {
return fe();
} finally {
Ke = nt;
}
}
function dn(fe) {
var ke = Ke;
return function() {
var nt = Ke;
Ke = ke;
try {
return fe.apply(this, arguments);
} finally {
Ke = nt;
}
};
}
function Ht(fe, ke, nt) {
var At = h.unstable_now(), Kt;
if (typeof nt == "object" && nt !== null) {
var Pn = nt.delay;
typeof Pn == "number" && Pn > 0 ? Kt = At + Pn : Kt = At;
} else
Kt = At;
var pn;
switch (fe) {
case k:
pn = W;
break;
case O:
pn = Ce;
break;
case Y:
pn = tt;
break;
case P:
pn = Te;
break;
case U:
default:
pn = pe;
break;
}
var Br = Kt + pn, Xt = {
id: ct++,
callback: ke,
priorityLevel: fe,
startTime: Kt,
expirationTime: Br,
sortIndex: -1
};
return Kt > At ? (Xt.sortIndex = Kt, v(Qe, Xt), I(qe) === null && Xt === I(Qe) && (Nt ? ca() : Nt = !0, ur(ze, Kt - At))) : (Xt.sortIndex = Br, v(qe, Xt), !je && !ft && (je = !0, yi(ht))), Xt;
}
function wn() {
}
function Ha() {
!je && !ft && (je = !0, yi(ht));
}
function Dn() {
return I(qe);
}
function ye(fe) {
fe.callback = null;
}
function Ut() {
return Ke;
}
var Wt = !1, Nn = null, oa = -1, xr = S, Ga = -1;
function _u() {
var fe = h.unstable_now() - Ga;
return !(fe < xr);
}
function Ji() {
}
function hi(fe) {
if (fe < 0 || fe > 125) {
console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
return;
}
fe > 0 ? xr = Math.floor(1e3 / fe) : xr = S;
}
var Qi = function() {
if (Nn !== null) {
var fe = h.unstable_now();
Ga = fe;
var ke = !0, nt = !0;
try {
nt = Nn(ke, fe);
} finally {
nt ? sa() : (Wt = !1, Nn = null);
}
} else
Wt = !1;
}, sa;
if (typeof le == "function")
sa = function() {
le(Qi);
};
else if (typeof MessageChannel < "u") {
var gi = new MessageChannel(), Ea = gi.port2;
gi.port1.onmessage = Qi, sa = function() {
Ea.postMessage(null);
};
} else
sa = function() {
ae(Qi, 0);
};
function yi(fe) {
Nn = fe, Wt || (Wt = !0, sa());
}
function ur(fe, ke) {
oa = ae(function() {
fe(h.unstable_now());
}, ke);
}
function ca() {
Re(oa), oa = -1;
}
var $l = Ji, bi = null;
h.unstable_IdlePriority = Y, h.unstable_ImmediatePriority = k, h.unstable_LowPriority = P, h.unstable_NormalPriority = U, h.unstable_Profiling = bi, h.unstable_UserBlockingPriority = O, h.unstable_cancelCallback = ye, h.unstable_continueExecution = Ha, h.unstable_forceFrameRate = hi, h.unstable_getCurrentPriorityLevel = Ut, h.unstable_getFirstCallbackNode = Dn, h.unstable_next = bt, h.unstable_pauseExecution = wn, h.unstable_requestPaint = $l, h.unstable_runWithPriority = fn, h.unstable_scheduleCallback = Ht, h.unstable_shouldYield = _u, h.unstable_wrapCallback = dn, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
}();
}(Fb)), Fb;
}
var $E;
function Nx() {
return $E || ($E = 1, process.env.NODE_ENV === "production" ? Uh.exports = V2() : Uh.exports = B2()), Uh.exports;
}
/**
* @license React
* react-dom.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 KE;
function z2() {
if (KE)
return ua;
KE = 1;
var h = Cx, d = Nx();
function g(n) {
for (var r = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, u = 1; u < arguments.length; u++)
r += "&args[]=" + encodeURIComponent(arguments[u]);
return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var S = /* @__PURE__ */ new Set(), v = {};
function I(n, r) {
y(n, r), y(n + "Capture", r);
}
function y(n, r) {
for (v[n] = r, n = 0; n < r.length; n++)
S.add(r[n]);
}
var D = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), x = Object.prototype.hasOwnProperty, A = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, k = {}, O = {};
function U(n) {
return x.call(O, n) ? !0 : x.call(k, n) ? !1 : A.test(n) ? O[n] = !0 : (k[n] = !0, !1);
}
function P(n, r, u, o) {
if (u !== null && u.type === 0)
return !1;
switch (typeof r) {
case "function":
case "symbol":
return !0;
case "boolean":
return o ? !1 : u !== null ? !u.acceptsBooleans : (n = n.toLowerCase().slice(0, 5), n !== "data-" && n !== "aria-");
default:
return !1;
}
}
function Y(n, r, u, o) {
if (r === null || typeof r > "u" || P(n, r, u, o))
return !0;
if (o)
return !1;
if (u !== null)
switch (u.type) {
case 3:
return !r;
case 4:
return r === !1;
case 5:
return isNaN(r);
case 6:
return isNaN(r) || 1 > r;
}
return !1;
}
function Q(n, r, u, o, c, p, C) {
this.acceptsBooleans = r === 2 || r === 3 || r === 4, this.attributeName = o, this.attributeNamespace = c, this.mustUseProperty = u, this.propertyName = n, this.type = r, this.sanitizeURL = p, this.removeEmptyString = C;
}
var j = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
j[n] = new Q(n, 0, !1, n, null, !1, !1);
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
var r = n[0];
j[r] = new Q(r, 1, !1, n[1], null, !1, !1);
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
j[n] = new Q(n, 2, !1, n.toLowerCase(), null, !1, !1);
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
j[n] = new Q(n, 2, !1, n, null, !1, !1);
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n) {
j[n] = new Q(n, 3, !1, n.toLowerCase(), null, !1, !1);
}), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
j[n] = new Q(n, 3, !0, n, null, !1, !1);
}), ["capture", "download"].forEach(function(n) {
j[n] = new Q(n, 4, !1, n, null, !1, !1);
}), ["cols", "rows", "size", "span"].forEach(function(n) {
j[n] = new Q(n, 6, !1, n, null, !1, !1);
}), ["rowSpan", "start"].forEach(function(n) {
j[n] = new Q(n, 5, !1, n.toLowerCase(), null, !1, !1);
});
var re = /[\-:]([a-z])/g;
function be(n) {
return n[1].toUpperCase();
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
var r = n.replace(
re,
be
);
j[r] = new Q(r, 1, !1, n, null, !1, !1);
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
var r = n.replace(re, be);
j[r] = new Q(r, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
var r = n.replace(re, be);
j[r] = new Q(r, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
}), ["tabIndex", "crossOrigin"].forEach(function(n) {
j[n] = new Q(n, 1, !1, n.toLowerCase(), null, !1, !1);
}), j.xlinkHref = new Q("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
j[n] = new Q(n, 1, !1, n.toLowerCase(), null, !0, !0);
});
function te(n, r, u, o) {
var c = j.hasOwnProperty(r) ? j[r] : null;
(c !== null ? c.type !== 0 : o || !(2 < r.length) || r[0] !== "o" && r[0] !== "O" || r[1] !== "n" && r[1] !== "N") && (Y(r, u, c, o) && (u = null), o || c === null ? U(r) && (u === null ? n.removeAttribute(r) : n.setAttribute(r, "" + u)) : c.mustUseProperty ? n[c.propertyName] = u === null ? c.type === 3 ? !1 : "" : u : (r = c.attributeName, o = c.attributeNamespace, u === null ? n.removeAttribute(r) : (c = c.type, u = c === 3 || c === 4 && u === !0 ? "" : "" + u, o ? n.setAttributeNS(o, r, u) : n.setAttribute(r, u))));
}
var ue = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, W = Symbol.for("react.element"), Ce = Symbol.for("react.portal"), pe = Symbol.for("react.fragment"), Te = Symbol.for("react.strict_mode"), tt = Symbol.for("react.profiler"), qe = Symbol.for("react.provider"), Qe = Symbol.for("react.context"), ct = Symbol.for("react.forward_ref"), We = Symbol.for("react.suspense"), Ke = Symbol.for("react.suspense_list"), ft = Symbol.for("react.memo"), je = Symbol.for("react.lazy"), Nt = Symbol.for("react.offscreen"), ae = Symbol.iterator;
function Re(n) {
return n === null || typeof n != "object" ? null : (n = ae && n[ae] || n["@@iterator"], typeof n == "function" ? n : null);
}
var le = Object.assign, ut;
function ze(n) {
if (ut === void 0)
try {
throw Error();
} catch (u) {
var r = u.stack.trim().match(/\n( *(at )?)/);
ut = r && r[1] || "";
}
return `
` + ut + n;
}
var ht = !1;
function Mt(n, r) {
if (!n || ht)
return "";
ht = !0;
var u = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (r)
if (r = function() {
throw Error();
}, Object.defineProperty(r.prototype, "props", { set: function() {
throw Error();
} }), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(r, []);
} catch (G) {
var o = G;
}
Reflect.construct(n, [], r);
} else {
try {
r.call();
} catch (G) {
o = G;
}
n.call(r.prototype);
}
else {
try {
throw Error();
} catch (G) {
o = G;
}
n();
}
} catch (G) {
if (G && o && typeof G.stack == "string") {
for (var c = G.stack.split(`
`), p = o.stack.split(`
`), C = c.length - 1, R = p.length - 1; 1 <= C && 0 <= R && c[C] !== p[R]; )
R--;
for (; 1 <= C && 0 <= R; C--, R--)
if (c[C] !== p[R]) {
if (C !== 1 || R !== 1)
do
if (C--, R--, 0 > R || c[C] !== p[R]) {
var w = `
` + c[C].replace(" at new ", " at ");
return n.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", n.displayName)), w;
}
while (1 <= C && 0 <= R);
break;
}
}
} finally {
ht = !1, Error.prepareStackTrace = u;
}
return (n = n ? n.displayName || n.name : "") ? ze(n) : "";
}
function fn(n) {
switch (n.ta