storybook
Version:
Storybook: Develop, document, and test UI components in isolation
1,518 lines (1,492 loc) • 101 kB
JavaScript
var wn = Object.create;
var or = Object.defineProperty;
var En = Object.getOwnPropertyDescriptor;
var Sn = Object.getOwnPropertyNames;
var Tn = Object.getPrototypeOf, Cn = Object.prototype.hasOwnProperty;
var o = (e, r) => or(e, "name", { value: r, configurable: !0 }), Oe = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy <
"u" ? new Proxy(e, {
get: (r, t) => (typeof require < "u" ? require : r)[t]
}) : e)(function(e) {
if (typeof require < "u") return require.apply(this, arguments);
throw Error('Dynamic require of "' + e + '" is not supported');
});
var De = (e, r) => () => (r || e((r = { exports: {} }).exports, r), r.exports);
var On = (e, r, t, n) => {
if (r && typeof r == "object" || typeof r == "function")
for (let a of Sn(r))
!Cn.call(e, a) && a !== t && or(e, a, { get: () => r[a], enumerable: !(n = En(r, a)) || n.enumerable });
return e;
};
var ir = (e, r, t) => (t = e != null ? wn(Tn(e)) : {}, On(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
r || !e || !e.__esModule ? or(t, "default", { value: e, enumerable: !0 }) : t,
e
));
// ../node_modules/react-is/cjs/react-is.development.js
var nt = De((O) => {
"use strict";
(function() {
"use strict";
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, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114,
s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111,
p = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") :
60113, m = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116,
d = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118,
w = e ? Symbol.for("react.scope") : 60119;
function A(g) {
return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
g === n || g === p || g === i || g === a || g === l || g === m || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof ===
x || g.$$typeof === s || g.$$typeof === u || g.$$typeof === c || g.$$typeof === v || g.$$typeof === y || g.$$typeof === w || g.$$typeof ===
d);
}
o(A, "isValidElementType");
function S(g) {
if (typeof g == "object" && g !== null) {
var ar = g.$$typeof;
switch (ar) {
case r:
var Be = g.type;
switch (Be) {
case f:
case p:
case n:
case i:
case a:
case l:
return Be;
default:
var Mr = Be && Be.$$typeof;
switch (Mr) {
case u:
case c:
case b:
case x:
case s:
return Mr;
default:
return ar;
}
}
case t:
return ar;
}
}
}
o(S, "typeOf");
var R = f, F = p, T = u, ue = s, fe = r, G = c, Y = n, rr = b, tr = x, nr = t, on = i, sn = a, un = l, Lr = !1;
function fn(g) {
return Lr || (Lr = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update you\
r code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), zr(g) || S(g) === f;
}
o(fn, "isAsyncMode");
function zr(g) {
return S(g) === p;
}
o(zr, "isConcurrentMode");
function cn(g) {
return S(g) === u;
}
o(cn, "isContextConsumer");
function ln(g) {
return S(g) === s;
}
o(ln, "isContextProvider");
function pn(g) {
return typeof g == "object" && g !== null && g.$$typeof === r;
}
o(pn, "isElement");
function dn(g) {
return S(g) === c;
}
o(dn, "isForwardRef");
function mn(g) {
return S(g) === n;
}
o(mn, "isFragment");
function hn(g) {
return S(g) === b;
}
o(hn, "isLazy");
function gn(g) {
return S(g) === x;
}
o(gn, "isMemo");
function bn(g) {
return S(g) === t;
}
o(bn, "isPortal");
function vn(g) {
return S(g) === i;
}
o(vn, "isProfiler");
function yn(g) {
return S(g) === a;
}
o(yn, "isStrictMode");
function xn(g) {
return S(g) === l;
}
o(xn, "isSuspense"), O.AsyncMode = R, O.ConcurrentMode = F, O.ContextConsumer = T, O.ContextProvider = ue, O.Element = fe, O.ForwardRef =
G, O.Fragment = Y, O.Lazy = rr, O.Memo = tr, O.Portal = nr, O.Profiler = on, O.StrictMode = sn, O.Suspense = un, O.isAsyncMode = fn, O.isConcurrentMode =
zr, O.isContextConsumer = cn, O.isContextProvider = ln, O.isElement = pn, O.isForwardRef = dn, O.isFragment = mn, O.isLazy = hn, O.isMemo =
gn, O.isPortal = bn, O.isProfiler = vn, O.isStrictMode = yn, O.isSuspense = xn, O.isValidElementType = A, O.typeOf = S;
})();
});
// ../node_modules/react-is/index.js
var ot = De((si, at) => {
"use strict";
at.exports = nt();
});
// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
var mr = De((ui, lt) => {
"use strict";
var pr = ot(), Bn = {
childContextTypes: !0,
contextType: !0,
contextTypes: !0,
defaultProps: !0,
displayName: !0,
getDefaultProps: !0,
getDerivedStateFromError: !0,
getDerivedStateFromProps: !0,
mixins: !0,
propTypes: !0,
type: !0
}, Dn = {
name: !0,
length: !0,
prototype: !0,
caller: !0,
callee: !0,
arguments: !0,
arity: !0
}, $n = {
$$typeof: !0,
render: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0
}, ft = {
$$typeof: !0,
compare: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0,
type: !0
}, dr = {};
dr[pr.ForwardRef] = $n;
dr[pr.Memo] = ft;
function it(e) {
return pr.isMemo(e) ? ft : dr[e.$$typeof] || Bn;
}
o(it, "getStatics");
var jn = Object.defineProperty, Hn = Object.getOwnPropertyNames, st = Object.getOwnPropertySymbols, Wn = Object.getOwnPropertyDescriptor, Un = Object.
getPrototypeOf, ut = Object.prototype;
function ct(e, r, t) {
if (typeof r != "string") {
if (ut) {
var n = Un(r);
n && n !== ut && ct(e, n, t);
}
var a = Hn(r);
st && (a = a.concat(st(r)));
for (var i = it(e), s = it(r), u = 0; u < a.length; ++u) {
var f = a[u];
if (!Dn[f] && !(t && t[f]) && !(s && s[f]) && !(i && i[f])) {
var p = Wn(r, f);
try {
jn(e, f, p);
} catch {
}
}
}
}
return e;
}
o(ct, "hoistNonReactStatics");
lt.exports = ct;
});
// ../node_modules/memoizerific/memoizerific.js
var Gt = De((Vt, Rr) => {
(function(e) {
if (typeof Vt == "object" && typeof Rr < "u")
Rr.exports = e();
else if (typeof define == "function" && define.amd)
define([], e);
else {
var r;
typeof window < "u" ? r = window : typeof global < "u" ? r = global : typeof self < "u" ? r = self : r = this, r.memoizerific = e();
}
})(function() {
var e, r, t;
return (/* @__PURE__ */ o(function n(a, i, s) {
function u(c, l) {
if (!i[c]) {
if (!a[c]) {
var m = typeof Oe == "function" && Oe;
if (!l && m) return m(c, !0);
if (f) return f(c, !0);
var x = new Error("Cannot find module '" + c + "'");
throw x.code = "MODULE_NOT_FOUND", x;
}
var b = i[c] = { exports: {} };
a[c][0].call(b.exports, function(d) {
var v = a[c][1][d];
return u(v || d);
}, b, b.exports, n, a, i, s);
}
return i[c].exports;
}
o(u, "s");
for (var f = typeof Oe == "function" && Oe, p = 0; p < s.length; p++) u(s[p]);
return u;
}, "e"))({ 1: [function(n, a, i) {
a.exports = function(s) {
if (typeof Map != "function" || s) {
var u = n("./similar");
return new u();
} else
return /* @__PURE__ */ new Map();
};
}, { "./similar": 2 }], 2: [function(n, a, i) {
function s() {
return this.list = [], this.lastItem = void 0, this.size = 0, this;
}
o(s, "Similar"), s.prototype.get = function(u) {
var f;
if (this.lastItem && this.isEqual(this.lastItem.key, u))
return this.lastItem.val;
if (f = this.indexOf(u), f >= 0)
return this.lastItem = this.list[f], this.list[f].val;
}, s.prototype.set = function(u, f) {
var p;
return this.lastItem && this.isEqual(this.lastItem.key, u) ? (this.lastItem.val = f, this) : (p = this.indexOf(u), p >= 0 ? (this.lastItem =
this.list[p], this.list[p].val = f, this) : (this.lastItem = { key: u, val: f }, this.list.push(this.lastItem), this.size++, this));
}, s.prototype.delete = function(u) {
var f;
if (this.lastItem && this.isEqual(this.lastItem.key, u) && (this.lastItem = void 0), f = this.indexOf(u), f >= 0)
return this.size--, this.list.splice(f, 1)[0];
}, s.prototype.has = function(u) {
var f;
return this.lastItem && this.isEqual(this.lastItem.key, u) ? !0 : (f = this.indexOf(u), f >= 0 ? (this.lastItem = this.list[f], !0) :
!1);
}, s.prototype.forEach = function(u, f) {
var p;
for (p = 0; p < this.size; p++)
u.call(f || this, this.list[p].val, this.list[p].key, this);
}, s.prototype.indexOf = function(u) {
var f;
for (f = 0; f < this.size; f++)
if (this.isEqual(this.list[f].key, u))
return f;
return -1;
}, s.prototype.isEqual = function(u, f) {
return u === f || u !== u && f !== f;
}, a.exports = s;
}, {}], 3: [function(n, a, i) {
var s = n("map-or-similar");
a.exports = function(c) {
var l = new s(!1), m = [];
return function(x) {
var b = /* @__PURE__ */ o(function() {
var d = l, v, y, w = arguments.length - 1, A = Array(w + 1), S = !0, R;
if ((b.numArgs || b.numArgs === 0) && b.numArgs !== w + 1)
throw new Error("Memoizerific functions should always be called with the same number of arguments");
for (R = 0; R < w; R++) {
if (A[R] = {
cacheItem: d,
arg: arguments[R]
}, d.has(arguments[R])) {
d = d.get(arguments[R]);
continue;
}
S = !1, v = new s(!1), d.set(arguments[R], v), d = v;
}
return S && (d.has(arguments[w]) ? y = d.get(arguments[w]) : S = !1), S || (y = x.apply(null, arguments), d.set(arguments[w], y)),
c > 0 && (A[w] = {
cacheItem: d,
arg: arguments[w]
}, S ? u(m, A) : m.push(A), m.length > c && f(m.shift())), b.wasMemoized = S, b.numArgs = w + 1, y;
}, "memoizerific");
return b.limit = c, b.wasMemoized = !1, b.cache = l, b.lru = m, b;
};
};
function u(c, l) {
var m = c.length, x = l.length, b, d, v;
for (d = 0; d < m; d++) {
for (b = !0, v = 0; v < x; v++)
if (!p(c[d][v].arg, l[v].arg)) {
b = !1;
break;
}
if (b)
break;
}
c.push(c.splice(d, 1)[0]);
}
o(u, "moveToMostRecentLru");
function f(c) {
var l = c.length, m = c[l - 1], x, b;
for (m.cacheItem.delete(m.arg), b = l - 2; b >= 0 && (m = c[b], x = m.cacheItem.get(m.arg), !x || !x.size); b--)
m.cacheItem.delete(m.arg);
}
o(f, "removeCachedResult");
function p(c, l) {
return c === l || c !== c && l !== l;
}
o(p, "isEqual");
}, { "map-or-similar": 1 }] }, {}, [3])(3);
});
});
// ../node_modules/@babel/runtime/helpers/esm/extends.js
function I() {
return I = Object.assign ? Object.assign.bind() : function(e) {
for (var r = 1; r < arguments.length; r++) {
var t = arguments[r];
for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
}
return e;
}, I.apply(null, arguments);
}
o(I, "_extends");
// ../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
import * as L from "react";
import { useContext as Zn, forwardRef as Qn } from "react";
// ../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
var Rn = !1;
function An(e) {
if (e.sheet)
return e.sheet;
for (var r = 0; r < document.styleSheets.length; r++)
if (document.styleSheets[r].ownerNode === e)
return document.styleSheets[r];
}
o(An, "sheetForTag");
function Fn(e) {
var r = document.createElement("style");
return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode(
"")), r.setAttribute("data-s", ""), r;
}
o(Fn, "createStyleElement");
var kr = /* @__PURE__ */ function() {
function e(t) {
var n = this;
this._insertTag = function(a) {
var i;
n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i =
n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, i), n.tags.push(a);
}, this.isSpeedy = t.speedy === void 0 ? !Rn : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container =
t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
}
o(e, "StyleSheet");
var r = e.prototype;
return r.hydrate = /* @__PURE__ */ o(function(n) {
n.forEach(this._insertTag);
}, "hydrate"), r.insert = /* @__PURE__ */ o(function(n) {
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Fn(this));
var a = this.tags[this.tags.length - 1];
if (this.isSpeedy) {
var i = An(a);
try {
i.insertRule(n, i.cssRules.length);
} catch {
}
} else
a.appendChild(document.createTextNode(n));
this.ctr++;
}, "insert"), r.flush = /* @__PURE__ */ o(function() {
this.tags.forEach(function(n) {
var a;
return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
}), this.tags = [], this.ctr = 0;
}, "flush"), e;
}();
// ../node_modules/stylis/src/Enum.js
var z = "-ms-", Re = "-moz-", C = "-webkit-", $e = "comm", ce = "rule", le = "decl";
var Nr = "@import";
var je = "@keyframes";
var Br = "@layer";
// ../node_modules/stylis/src/Utility.js
var Dr = Math.abs, ee = String.fromCharCode, $r = Object.assign;
function jr(e, r) {
return _(e, 0) ^ 45 ? (((r << 2 ^ _(e, 0)) << 2 ^ _(e, 1)) << 2 ^ _(e, 2)) << 2 ^ _(e, 3) : 0;
}
o(jr, "hash");
function He(e) {
return e.trim();
}
o(He, "trim");
function sr(e, r) {
return (e = r.exec(e)) ? e[0] : e;
}
o(sr, "match");
function E(e, r, t) {
return e.replace(r, t);
}
o(E, "replace");
function Ae(e, r) {
return e.indexOf(r);
}
o(Ae, "indexof");
function _(e, r) {
return e.charCodeAt(r) | 0;
}
o(_, "charat");
function q(e, r, t) {
return e.slice(r, t);
}
o(q, "substr");
function M(e) {
return e.length;
}
o(M, "strlen");
function pe(e) {
return e.length;
}
o(pe, "sizeof");
function de(e, r) {
return r.push(e), e;
}
o(de, "append");
function ur(e, r) {
return e.map(r).join("");
}
o(ur, "combine");
// ../node_modules/stylis/src/Tokenizer.js
var We = 1, me = 1, Hr = 0, k = 0, P = 0, ge = "";
function Fe(e, r, t, n, a, i, s) {
return { value: e, root: r, parent: t, type: n, props: a, children: i, line: We, column: me, length: s, return: "" };
}
o(Fe, "node");
function be(e, r) {
return $r(Fe("", null, null, "", null, null, 0), e, { length: -e.length }, r);
}
o(be, "copy");
function Wr() {
return P;
}
o(Wr, "char");
function Ur() {
return P = k > 0 ? _(ge, --k) : 0, me--, P === 10 && (me = 1, We--), P;
}
o(Ur, "prev");
function N() {
return P = k < Hr ? _(ge, k++) : 0, me++, P === 10 && (me = 1, We++), P;
}
o(N, "next");
function $() {
return _(ge, k);
}
o($, "peek");
function _e() {
return k;
}
o(_e, "caret");
function ve(e, r) {
return q(ge, e, r);
}
o(ve, "slice");
function he(e) {
switch (e) {
// \0 \t \n \r \s whitespace token
case 0:
case 9:
case 10:
case 13:
case 32:
return 5;
// ! + , / > @ ~ isolate token
case 33:
case 43:
case 44:
case 47:
case 62:
case 64:
case 126:
// ; { } breakpoint token
case 59:
case 123:
case 125:
return 4;
// : accompanied token
case 58:
return 3;
// " ' ( [ opening delimit token
case 34:
case 39:
case 40:
case 91:
return 2;
// ) ] closing delimit token
case 41:
case 93:
return 1;
}
return 0;
}
o(he, "token");
function Ue(e) {
return We = me = 1, Hr = M(ge = e), k = 0, [];
}
o(Ue, "alloc");
function Ve(e) {
return ge = "", e;
}
o(Ve, "dealloc");
function ye(e) {
return He(ve(k - 1, fr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
o(ye, "delimit");
function Vr(e) {
for (; (P = $()) && P < 33; )
N();
return he(e) > 2 || he(P) > 3 ? "" : " ";
}
o(Vr, "whitespace");
function Gr(e, r) {
for (; --r && N() && !(P < 48 || P > 102 || P > 57 && P < 65 || P > 70 && P < 97); )
;
return ve(e, _e() + (r < 6 && $() == 32 && N() == 32));
}
o(Gr, "escaping");
function fr(e) {
for (; N(); )
switch (P) {
// ] ) " '
case e:
return k;
// " '
case 34:
case 39:
e !== 34 && e !== 39 && fr(P);
break;
// (
case 40:
e === 41 && fr(e);
break;
// \
case 92:
N();
break;
}
return k;
}
o(fr, "delimiter");
function Yr(e, r) {
for (; N() && e + P !== 57; )
if (e + P === 84 && $() === 47)
break;
return "/*" + ve(r, k - 1) + "*" + ee(e === 47 ? e : N());
}
o(Yr, "commenter");
function qr(e) {
for (; !he($()); )
N();
return ve(e, k);
}
o(qr, "identifier");
// ../node_modules/stylis/src/Parser.js
function Xr(e) {
return Ve(Ge("", null, null, null, [""], e = Ue(e), 0, [0], e));
}
o(Xr, "compile");
function Ge(e, r, t, n, a, i, s, u, f) {
for (var p = 0, c = 0, l = s, m = 0, x = 0, b = 0, d = 1, v = 1, y = 1, w = 0, A = "", S = a, R = i, F = n, T = A; v; )
switch (b = w, w = N()) {
// (
case 40:
if (b != 108 && _(T, l - 1) == 58) {
Ae(T += E(ye(w), "&", "&\f"), "&\f") != -1 && (y = -1);
break;
}
// " ' [
case 34:
case 39:
case 91:
T += ye(w);
break;
// \t \n \r \s
case 9:
case 10:
case 13:
case 32:
T += Vr(b);
break;
// \
case 92:
T += Gr(_e() - 1, 7);
continue;
// /
case 47:
switch ($()) {
case 42:
case 47:
de(_n(Yr(N(), _e()), r, t), f);
break;
default:
T += "/";
}
break;
// {
case 123 * d:
u[p++] = M(T) * y;
// } ; \0
case 125 * d:
case 59:
case 0:
switch (w) {
// \0 }
case 0:
case 125:
v = 0;
// ;
case 59 + c:
y == -1 && (T = E(T, /\f/g, "")), x > 0 && M(T) - l && de(x > 32 ? Kr(T + ";", n, t, l - 1) : Kr(E(T, " ", "") + ";", n, t, l - 2),
f);
break;
// @ ;
case 59:
T += ";";
// { rule/at-rule
default:
if (de(F = Jr(T, r, t, p, c, a, u, A, S = [], R = [], l), i), w === 123)
if (c === 0)
Ge(T, r, F, F, S, i, l, u, R);
else
switch (m === 99 && _(T, 3) === 110 ? 100 : m) {
// d l m s
case 100:
case 108:
case 109:
case 115:
Ge(e, F, F, n && de(Jr(e, F, F, 0, 0, a, u, A, a, S = [], l), R), a, R, l, u, n ? S : R);
break;
default:
Ge(T, F, F, F, [""], R, 0, u, R);
}
}
p = c = x = 0, d = y = 1, A = T = "", l = s;
break;
// :
case 58:
l = 1 + M(T), x = b;
default:
if (d < 1) {
if (w == 123)
--d;
else if (w == 125 && d++ == 0 && Ur() == 125)
continue;
}
switch (T += ee(w), w * d) {
// &
case 38:
y = c > 0 ? 1 : (T += "\f", -1);
break;
// ,
case 44:
u[p++] = (M(T) - 1) * y, y = 1;
break;
// @
case 64:
$() === 45 && (T += ye(N())), m = $(), c = l = M(A = T += qr(_e())), w++;
break;
// -
case 45:
b === 45 && M(T) == 2 && (d = 0);
}
}
return i;
}
o(Ge, "parse");
function Jr(e, r, t, n, a, i, s, u, f, p, c) {
for (var l = a - 1, m = a === 0 ? i : [""], x = pe(m), b = 0, d = 0, v = 0; b < n; ++b)
for (var y = 0, w = q(e, l + 1, l = Dr(d = s[b])), A = e; y < x; ++y)
(A = He(d > 0 ? m[y] + " " + w : E(w, /&\f/g, m[y]))) && (f[v++] = A);
return Fe(e, r, t, a === 0 ? ce : u, f, p, c);
}
o(Jr, "ruleset");
function _n(e, r, t) {
return Fe(e, r, t, $e, ee(Wr()), q(e, 2, -2), 0);
}
o(_n, "comment");
function Kr(e, r, t, n) {
return Fe(e, r, t, le, q(e, 0, n), q(e, n + 1, -1), n);
}
o(Kr, "declaration");
// ../node_modules/stylis/src/Serializer.js
function re(e, r) {
for (var t = "", n = pe(e), a = 0; a < n; a++)
t += r(e[a], a, e, r) || "";
return t;
}
o(re, "serialize");
function Zr(e, r, t, n) {
switch (e.type) {
case Br:
if (e.children.length) break;
case Nr:
case le:
return e.return = e.return || e.value;
case $e:
return "";
case je:
return e.return = e.value + "{" + re(e.children, n) + "}";
case ce:
e.value = e.props.join(",");
}
return M(t = re(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
}
o(Zr, "stringify");
// ../node_modules/stylis/src/Middleware.js
function Qr(e) {
var r = pe(e);
return function(t, n, a, i) {
for (var s = "", u = 0; u < r; u++)
s += e[u](t, n, a, i) || "";
return s;
};
}
o(Qr, "middleware");
function et(e) {
return function(r) {
r.root || (r = r.return) && e(r);
};
}
o(et, "rulesheet");
// ../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
var cr = /* @__PURE__ */ o(function(r) {
var t = /* @__PURE__ */ new WeakMap();
return function(n) {
if (t.has(n))
return t.get(n);
var a = r(n);
return t.set(n, a), a;
};
}, "weakMemoize");
// ../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
function Ye(e) {
var r = /* @__PURE__ */ Object.create(null);
return function(t) {
return r[t] === void 0 && (r[t] = e(t)), r[t];
};
}
o(Ye, "memoize");
// ../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
var In = /* @__PURE__ */ o(function(r, t, n) {
for (var a = 0, i = 0; a = i, i = $(), a === 38 && i === 12 && (t[n] = 1), !he(i); )
N();
return ve(r, k);
}, "identifierWithPointTracking"), Pn = /* @__PURE__ */ o(function(r, t) {
var n = -1, a = 44;
do
switch (he(a)) {
case 0:
a === 38 && $() === 12 && (t[n] = 1), r[n] += In(k - 1, t, n);
break;
case 2:
r[n] += ye(a);
break;
case 4:
if (a === 44) {
r[++n] = $() === 58 ? "&\f" : "", t[n] = r[n].length;
break;
}
// fallthrough
default:
r[n] += ee(a);
}
while (a = N());
return r;
}, "toRules"), Ln = /* @__PURE__ */ o(function(r, t) {
return Ve(Pn(Ue(r), t));
}, "getRules"), rt = /* @__PURE__ */ new WeakMap(), zn = /* @__PURE__ */ o(function(r) {
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
// negative .length indicates that this rule has been already prefixed
r.length < 1)) {
for (var t = r.value, n = r.parent, a = r.column === n.column && r.line === n.line; n.type !== "rule"; )
if (n = n.parent, !n) return;
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !rt.get(n)) && !a) {
rt.set(r, !0);
for (var i = [], s = Ln(t, i), u = n.props, f = 0, p = 0; f < s.length; f++)
for (var c = 0; c < u.length; c++, p++)
r.props[p] = i[f] ? s[f].replace(/&\f/g, u[c]) : u[c] + " " + s[f];
}
}
}, "compat"), Mn = /* @__PURE__ */ o(function(r) {
if (r.type === "decl") {
var t = r.value;
// charcode for l
t.charCodeAt(0) === 108 && // charcode for b
t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
}
}, "removeLabel");
function tt(e, r) {
switch (jr(e, r)) {
// color-adjust
case 5103:
return C + "print-" + e + e;
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
case 5737:
case 4201:
case 3177:
case 3433:
case 1641:
case 4457:
case 2921:
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
case 5572:
case 6356:
case 5844:
case 3191:
case 6645:
case 3005:
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
case 6391:
case 5879:
case 5623:
case 6135:
case 4599:
case 4855:
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829:
return C + e + e;
// appearance, user-select, transform, hyphens, text-size-adjust
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return C + e + Re + e + z + e + e;
// flex, flex-direction
case 6828:
case 4268:
return C + e + z + e + e;
// order
case 6165:
return C + e + z + "flex-" + e + e;
// align-items
case 5187:
return C + e + E(e, /(\w+).+(:[^]+)/, C + "box-$1$2" + z + "flex-$1$2") + e;
// align-self
case 5443:
return C + e + z + "flex-item-" + E(e, /flex-|-self/, "") + e;
// align-content
case 4675:
return C + e + z + "flex-line-pack" + E(e, /align-content|flex-|-self/, "") + e;
// flex-shrink
case 5548:
return C + e + z + E(e, "shrink", "negative") + e;
// flex-basis
case 5292:
return C + e + z + E(e, "basis", "preferred-size") + e;
// flex-grow
case 6060:
return C + "box-" + E(e, "-grow", "") + C + e + z + E(e, "grow", "positive") + e;
// transition
case 4554:
return C + E(e, /([^-])(transform)/g, "$1" + C + "$2") + e;
// cursor
case 6187:
return E(E(E(e, /(zoom-|grab)/, C + "$1"), /(image-set)/, C + "$1"), e, "") + e;
// background, background-image
case 5495:
case 3959:
return E(e, /(image-set\([^]*)/, C + "$1$`$1");
// justify-content
case 4968:
return E(E(e, /(.+:)(flex-)?(.*)/, C + "box-pack:$3" + z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + C + e + e;
// (margin|padding)-inline-(start|end)
case 4095:
case 3583:
case 4068:
case 2532:
return E(e, /(.+)-inline(.+)/, C + "$1$2") + e;
// (min|max)?(width|height|inline-size|block-size)
case 8116:
case 7059:
case 5753:
case 5535:
case 5445:
case 5701:
case 4933:
case 4677:
case 5533:
case 5789:
case 5021:
case 4765:
if (M(e) - 1 - r > 6) switch (_(e, r + 1)) {
// (m)ax-content, (m)in-content
case 109:
if (_(e, r + 4) !== 45) break;
// (f)ill-available, (f)it-content
case 102:
return E(e, /(.+:)(.+)-([^]+)/, "$1" + C + "$2-$3$1" + Re + (_(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
// (s)tretch
case 115:
return ~Ae(e, "stretch") ? tt(E(e, "stretch", "fill-available"), r) + e : e;
}
break;
// position: sticky
case 4949:
if (_(e, r + 1) !== 115) break;
// display: (flex|inline-flex)
case 6444:
switch (_(e, M(e) - 3 - (~Ae(e, "!important") && 10))) {
// stic(k)y
case 107:
return E(e, ":", ":" + C) + e;
// (inline-)?fl(e)x
case 101:
return E(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + C + (_(e, 14) === 45 ? "inline-" : "") + "box$3$1" + C + "$2$3$1" + z + "$2box$3") + e;
}
break;
// writing-mode
case 5936:
switch (_(e, r + 11)) {
// vertical-l(r)
case 114:
return C + e + z + E(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
// vertical-r(l)
case 108:
return C + e + z + E(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
// horizontal(-)tb
case 45:
return C + e + z + E(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
return C + e + z + e + e;
}
return e;
}
o(tt, "prefix");
var kn = /* @__PURE__ */ o(function(r, t, n, a) {
if (r.length > -1 && !r.return) switch (r.type) {
case le:
r.return = tt(r.value, r.length);
break;
case je:
return re([be(r, {
value: E(r.value, "@", "@" + C)
})], a);
case ce:
if (r.length) return ur(r.props, function(i) {
switch (sr(i, /(::plac\w+|:read-\w+)/)) {
// :read-(only|write)
case ":read-only":
case ":read-write":
return re([be(r, {
props: [E(i, /:(read-\w+)/, ":" + Re + "$1")]
})], a);
// :placeholder
case "::placeholder":
return re([be(r, {
props: [E(i, /:(plac\w+)/, ":" + C + "input-$1")]
}), be(r, {
props: [E(i, /:(plac\w+)/, ":" + Re + "$1")]
}), be(r, {
props: [E(i, /:(plac\w+)/, z + "input-$1")]
})], a);
}
return "";
});
}
}, "prefixer"), Nn = [kn], lr = /* @__PURE__ */ o(function(r) {
var t = r.key;
if (t === "css") {
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
Array.prototype.forEach.call(n, function(d) {
var v = d.getAttribute("data-emotion");
v.indexOf(" ") !== -1 && (document.head.appendChild(d), d.setAttribute("data-s", ""));
});
}
var a = r.stylisPlugins || Nn, i = {}, s, u = [];
s = r.container || document.head, Array.prototype.forEach.call(
// this means we will ignore elements which don't have a space in them which
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
function(d) {
for (var v = d.getAttribute("data-emotion").split(" "), y = 1; y < v.length; y++)
i[v[y]] = !0;
u.push(d);
}
);
var f, p = [zn, Mn];
{
var c, l = [Zr, et(function(d) {
c.insert(d);
})], m = Qr(p.concat(a, l)), x = /* @__PURE__ */ o(function(v) {
return re(Xr(v), m);
}, "stylis");
f = /* @__PURE__ */ o(function(v, y, w, A) {
c = w, x(v ? v + "{" + y.styles + "}" : y.styles), A && (b.inserted[y.name] = !0);
}, "insert");
}
var b = {
key: t,
sheet: new kr({
key: t,
container: s,
nonce: r.nonce,
speedy: r.speedy,
prepend: r.prepend,
insertionPoint: r.insertionPoint
}),
nonce: r.nonce,
inserted: i,
registered: {},
insert: f
};
return b.sheet.hydrate(u), b;
}, "createCache");
// ../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js
var pt = ir(mr());
var dt = /* @__PURE__ */ o(function(e, r) {
return (0, pt.default)(e, r);
}, "hoistNonReactStatics");
// ../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
var Vn = !0;
function xe(e, r, t) {
var n = "";
return t.split(" ").forEach(function(a) {
e[a] !== void 0 ? r.push(e[a] + ";") : a && (n += a + " ");
}), n;
}
o(xe, "getRegisteredStyles");
var te = /* @__PURE__ */ o(function(r, t, n) {
var a = r.key + "-" + t.name;
// we only need to add the styles to the registered cache if the
// class name could be used further down
// the tree but if it's a string tag, we know it won't
// so we don't have to add it to registered cache.
// this improves memory usage since we can avoid storing the whole style string
(n === !1 || // we need to always store it if we're in compat mode and
// in node since emotion-server relies on whether a style is in
// the registered cache to know whether a style is global or not
// also, note that this check will be dead code eliminated in the browser
Vn === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
}, "registerStyles"), ne = /* @__PURE__ */ o(function(r, t, n) {
te(r, t, n);
var a = r.key + "-" + t.name;
if (r.inserted[t.name] === void 0) {
var i = t;
do
r.insert(t === i ? "." + a : "", i, r.sheet, !0), i = i.next;
while (i !== void 0);
}
}, "insertStyles");
// ../node_modules/@emotion/hash/dist/emotion-hash.esm.js
function mt(e) {
for (var r = 0, t, n = 0, a = e.length; a >= 4; ++n, a -= 4)
t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
t >>> 24, r = /* Math.imul(k, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
switch (a) {
case 3:
r ^= (e.charCodeAt(n + 2) & 255) << 16;
case 2:
r ^= (e.charCodeAt(n + 1) & 255) << 8;
case 1:
r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
}
return r ^= r >>> 13, r = /* Math.imul(h, m): */
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
}
o(mt, "murmur2");
// ../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
var ht = {
animationIterationCount: 1,
aspectRatio: 1,
borderImageOutset: 1,
borderImageSlice: 1,
borderImageWidth: 1,
boxFlex: 1,
boxFlexGroup: 1,
boxOrdinalGroup: 1,
columnCount: 1,
columns: 1,
flex: 1,
flexGrow: 1,
flexPositive: 1,
flexShrink: 1,
flexNegative: 1,
flexOrder: 1,
gridRow: 1,
gridRowEnd: 1,
gridRowSpan: 1,
gridRowStart: 1,
gridColumn: 1,
gridColumnEnd: 1,
gridColumnSpan: 1,
gridColumnStart: 1,
msGridRow: 1,
msGridRowSpan: 1,
msGridColumn: 1,
msGridColumnSpan: 1,
fontWeight: 1,
lineHeight: 1,
opacity: 1,
order: 1,
orphans: 1,
scale: 1,
tabSize: 1,
widows: 1,
zIndex: 1,
zoom: 1,
WebkitLineClamp: 1,
// SVG-related properties
fillOpacity: 1,
floodOpacity: 1,
stopOpacity: 1,
strokeDasharray: 1,
strokeDashoffset: 1,
strokeMiterlimit: 1,
strokeOpacity: 1,
strokeWidth: 1
};
// ../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
var Gn = !1, Yn = /[A-Z]|^ms/g, qn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, yt = /* @__PURE__ */ o(function(r) {
return r.charCodeAt(1) === 45;
}, "isCustomProperty"), gt = /* @__PURE__ */ o(function(r) {
return r != null && typeof r != "boolean";
}, "isProcessableValue"), hr = /* @__PURE__ */ Ye(function(e) {
return yt(e) ? e : e.replace(Yn, "-$&").toLowerCase();
}), bt = /* @__PURE__ */ o(function(r, t) {
switch (r) {
case "animation":
case "animationName":
if (typeof t == "string")
return t.replace(qn, function(n, a, i) {
return U = {
name: a,
styles: i,
next: U
}, a;
});
}
return ht[r] !== 1 && !yt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
}, "processStyleValue"), Jn = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or an\
other Emotion-aware compiler transform.";
function Ie(e, r, t) {
if (t == null)
return "";
var n = t;
if (n.__emotion_styles !== void 0)
return n;
switch (typeof t) {
case "boolean":
return "";
case "object": {
var a = t;
if (a.anim === 1)
return U = {
name: a.name,
styles: a.styles,
next: U
}, a.name;
var i = t;
if (i.styles !== void 0) {
var s = i.next;
if (s !== void 0)
for (; s !== void 0; )
U = {
name: s.name,
styles: s.styles,
next: U
}, s = s.next;
var u = i.styles + ";";
return u;
}
return Kn(e, r, t);
}
case "function": {
if (e !== void 0) {
var f = U, p = t(e);
return U = f, Ie(e, r, p);
}
break;
}
}
var c = t;
if (r == null)
return c;
var l = r[c];
return l !== void 0 ? l : c;
}
o(Ie, "handleInterpolation");
function Kn(e, r, t) {
var n = "";
if (Array.isArray(t))
for (var a = 0; a < t.length; a++)
n += Ie(e, r, t[a]) + ";";
else
for (var i in t) {
var s = t[i];
if (typeof s != "object") {
var u = s;
r != null && r[u] !== void 0 ? n += i + "{" + r[u] + "}" : gt(u) && (n += hr(i) + ":" + bt(i, u) + ";");
} else {
if (i === "NO_COMPONENT_SELECTOR" && Gn)
throw new Error(Jn);
if (Array.isArray(s) && typeof s[0] == "string" && (r == null || r[s[0]] === void 0))
for (var f = 0; f < s.length; f++)
gt(s[f]) && (n += hr(i) + ":" + bt(i, s[f]) + ";");
else {
var p = Ie(e, r, s);
switch (i) {
case "animation":
case "animationName": {
n += hr(i) + ":" + p + ";";
break;
}
default:
n += i + "{" + p + "}";
}
}
}
}
return n;
}
o(Kn, "createStringFromObject");
var vt = /label:\s*([^\s;{]+)\s*(;|$)/g, U;
function J(e, r, t) {
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
return e[0];
var n = !0, a = "";
U = void 0;
var i = e[0];
if (i == null || i.raw === void 0)
n = !1, a += Ie(t, r, i);
else {
var s = i;
a += s[0];
}
for (var u = 1; u < e.length; u++)
if (a += Ie(t, r, e[u]), n) {
var f = i;
a += f[u];
}
vt.lastIndex = 0;
for (var p = "", c; (c = vt.exec(a)) !== null; )
p += "-" + c[1];
var l = mt(a) + p;
return {
name: l,
styles: a,
next: U
};
}
o(J, "serializeStyles");
// ../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
import * as Pe from "react";
var Xn = /* @__PURE__ */ o(function(r) {
return r();
}, "syncFallback"), xt = Pe.useInsertionEffect ? Pe.useInsertionEffect : !1, we = xt || Xn, gr = xt || Pe.useLayoutEffect;
// ../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
var qe = !1, wt = /* @__PURE__ */ L.createContext(
// we're doing this to avoid preconstruct's dead code elimination in this one case
// because this module is primarily intended for the browser and node
// but it's also required in react native and similar environments sometimes
// and we could have a special build just for that
// but this is much easier and the native packages
// might use a different theme context in the future anyway
typeof HTMLElement < "u" ? /* @__PURE__ */ lr({
key: "css"
}) : null
), Et = wt.Provider;
var ae = /* @__PURE__ */ o(function(r) {
return /* @__PURE__ */ Qn(function(t, n) {
var a = Zn(wt);
return r(t, a, n);
});
}, "withEmotionCache"), H = /* @__PURE__ */ L.createContext({}), St = /* @__PURE__ */ o(function() {
return L.useContext(H);
}, "useTheme"), ea = /* @__PURE__ */ o(function(r, t) {
if (typeof t == "function") {
var n = t(r);
return n;
}
return I({}, r, t);
}, "getTheme"), ra = /* @__PURE__ */ cr(function(e) {
return cr(function(r) {
return ea(e, r);
});
}), Tt = /* @__PURE__ */ o(function(r) {
var t = L.useContext(H);
return r.theme !== t && (t = ra(t)(r.theme)), /* @__PURE__ */ L.createElement(H.Provider, {
value: t
}, r.children);
}, "ThemeProvider");
function Ct(e) {
var r = e.displayName || e.name || "Component", t = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ o(function(a, i) {
var s = L.useContext(H);
return /* @__PURE__ */ L.createElement(e, I({
theme: s,
ref: i
}, a));
}, "render"));
return t.displayName = "WithTheme(" + r + ")", dt(t, e);
}
o(Ct, "withTheme");
var Je = {}.hasOwnProperty, br = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Ot = /* @__PURE__ */ o(function(r, t) {
var n = {};
for (var a in t)
Je.call(t, a) && (n[a] = t[a]);
return n[br] = r, n;
}, "createEmotionProps"), ta = /* @__PURE__ */ o(function(r) {
var t = r.cache, n = r.serialized, a = r.isStringTag;
return te(t, n, a), we(function() {
return ne(t, n, a);
}), null;
}, "Insertion"), na = /* @__PURE__ */ ae(function(e, r, t) {
var n = e.css;
typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
var a = e[br], i = [n], s = "";
typeof e.className == "string" ? s = xe(r.registered, i, e.className) : e.className != null && (s = e.className + " ");
var u = J(i, void 0, L.useContext(H));
s += r.key + "-" + u.name;
var f = {};
for (var p in e)
Je.call(e, p) && p !== "css" && p !== br && !qe && (f[p] = e[p]);
return f.className = s, t && (f.ref = t), /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement(ta, {
cache: r,
serialized: u,
isStringTag: typeof a == "string"
}), /* @__PURE__ */ L.createElement(a, f));
}), Rt = na;
// ../node_modules/@emotion/react/dist/emotion-react.browser.esm.js
import * as j from "react";
var Hi = ir(mr());
var vr = /* @__PURE__ */ o(function(r, t) {
var n = arguments;
if (t == null || !Je.call(t, "css"))
return j.createElement.apply(void 0, n);
var a = n.length, i = new Array(a);
i[0] = Rt, i[1] = Ot(r, t);
for (var s = 2; s < a; s++)
i[s] = n[s];
return j.createElement.apply(null, i);
}, "jsx");
(function(e) {
var r;
r || (r = e.JSX || (e.JSX = {}));
})(vr || (vr = {}));
var aa = /* @__PURE__ */ ae(function(e, r) {
var t = e.styles, n = J([t], void 0, j.useContext(H)), a = j.useRef();
return gr(function() {
var i = r.key + "-global", s = new r.sheet.constructor({
key: i,
nonce: r.sheet.nonce,
container: r.sheet.container,
speedy: r.sheet.isSpeedy
}), u = !1, f = document.querySelector('style[data-emotion="' + i + " " + n.name + '"]');
return r.sheet.tags.length && (s.before = r.sheet.tags[0]), f !== null && (u = !0, f.setAttribute("data-emotion", i), s.hydrate([f])), a.
current = [s, u], function() {
s.flush();
};
}, [r]), gr(function() {
var i = a.current, s = i[0], u = i[1];
if (u) {
i[1] = !1;
return;
}
if (n.next !== void 0 && ne(r, n.next, !0), s.tags.length) {
var f = s.tags[s.tags.length - 1].nextElementSibling;
s.before = f, s.flush();
}
r.insert("", n, s, !1);
}, [r, n.name]), null;
});
function Le() {
for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
r[t] = arguments[t];
return J(r);
}
o(Le, "css");
function Ee() {
var e = Le.apply(void 0, arguments), r = "animation-" + e.name;
return {
name: r,
styles: "@keyframes " + r + "{" + e.styles + "}",
anim: 1,
toString: /* @__PURE__ */ o(function() {
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
}, "toString")
};
}
o(Ee, "keyframes");
var oa = /* @__PURE__ */ o(function e(r) {
for (var t = r.length, n = 0, a = ""; n < t; n++) {
var i = r[n];
if (i != null) {
var s = void 0;
switch (typeof i) {
case "boolean":
break;
case "object": {
if (Array.isArray(i))
s = e(i);
else {
s = "";
for (var u in i)
i[u] && u && (s && (s += " "), s += u);
}
break;
}
default:
s = i;
}
s && (a && (a += " "), a += s);
}
}
return a;
}, "classnames");
function ia(e, r, t) {
var n = [], a = xe(e, n, t);
return n.length < 2 ? t : a + r(n);
}
o(ia, "merge");
var sa = /* @__PURE__ */ o(function(r) {
var t = r.cache, n = r.serializedArr;
return we(function() {
for (var a = 0; a < n.length; a++)
ne(t, n[a], !1);
}), null;
}, "Insertion"), ua = /* @__PURE__ */ ae(function(e, r) {
var t = !1, n = [], a = /* @__PURE__ */ o(function() {
if (t && qe)
throw new Error("css can only be used during render");
for (var p = arguments.length, c = new Array(p), l = 0; l < p; l++)
c[l] = arguments[l];
var m = J(c, r.registered);
return n.push(m), te(r, m, !1), r.key + "-" + m.name;
}, "css"), i = /* @__PURE__ */ o(function() {
if (t && qe)
throw new Error("cx can only be used during render");
for (var p = arguments.length, c = new Array(p), l = 0; l < p; l++)
c[l] = arguments[l];
return ia(r.registered, a, oa(c));
}, "cx"), s = {
css: a,
cx: i,
theme: j.useContext(H)
}, u = e.children(s);
return t = !0, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(sa, {
cache: r,
serializedArr: n
}), u);
});
// ../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
import * as K from "react";
// ../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
var fa = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableV