UNPKG

@amnstak/react-image-annotate

Version:

[![npm version](https://img.shields.io/npm/v/@asi/react-image-annotate.svg)](https://www.npmjs.com/package/@amnstak/react-image-annotate)

1,504 lines 268 kB
var sa = Object.defineProperty; var ca = (e, t, r) => t in e ? sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; var kt = (e, t, r) => ca(e, typeof t != "symbol" ? t + "" : t, r); import * as T from "react"; import Ge, { forwardRef as la, useContext as Xo, isValidElement as ar, cloneElement as sr, Children as ua, useRef as fa, useLayoutEffect as da, useMemo as pa } from "react"; import { jsx as W, jsxs as Ut } from "react/jsx-runtime"; import * as ma from "react-dom"; import er from "react-dom"; function ha(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var Jo = { exports: {} }, he = Jo.exports = {}, Be, Le; function Qr() { throw new Error("setTimeout has not been defined"); } function Zr() { throw new Error("clearTimeout has not been defined"); } (function() { try { typeof setTimeout == "function" ? Be = setTimeout : Be = Qr; } catch { Be = Qr; } try { typeof clearTimeout == "function" ? Le = clearTimeout : Le = Zr; } catch { Le = Zr; } })(); function Qo(e) { if (Be === setTimeout) return setTimeout(e, 0); if ((Be === Qr || !Be) && setTimeout) return Be = setTimeout, setTimeout(e, 0); try { return Be(e, 0); } catch { try { return Be.call(null, e, 0); } catch { return Be.call(this, e, 0); } } } function ga(e) { if (Le === clearTimeout) return clearTimeout(e); if ((Le === Zr || !Le) && clearTimeout) return Le = clearTimeout, clearTimeout(e); try { return Le(e); } catch { try { return Le.call(null, e); } catch { return Le.call(this, e); } } } var He = [], Et = !1, ut, cr = -1; function ya() { !Et || !ut || (Et = !1, ut.length ? He = ut.concat(He) : cr = -1, He.length && Zo()); } function Zo() { if (!Et) { var e = Qo(ya); Et = !0; for (var t = He.length; t; ) { for (ut = He, He = []; ++cr < t; ) ut && ut[cr].run(); cr = -1, t = He.length; } ut = null, Et = !1, ga(e); } } he.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; He.push(new ei(e, t)), He.length === 1 && !Et && Qo(Zo); }; function ei(e, t) { this.fun = e, this.array = t; } ei.prototype.run = function() { this.fun.apply(null, this.array); }; he.title = "browser"; he.browser = !0; he.env = {}; he.argv = []; he.version = ""; he.versions = {}; function Je() { } he.on = Je; he.addListener = Je; he.once = Je; he.off = Je; he.removeListener = Je; he.removeAllListeners = Je; he.emit = Je; he.prependListener = Je; he.prependOnceListener = Je; he.listeners = function(e) { return []; }; he.binding = function(e) { throw new Error("process.binding is not supported"); }; he.cwd = function() { return "/"; }; he.chdir = function(e) { throw new Error("process.chdir is not supported"); }; he.umask = function() { return 0; }; var ba = Jo.exports; const R = /* @__PURE__ */ ha(ba); function ot(e, ...t) { const r = new URL(`https://mui.com/production-error/?code=${e}`); return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`; } const Ke = "$$material"; function mr() { return mr = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]); } return e; }, mr.apply(null, arguments); } function va(e) { if (e.sheet) return e.sheet; for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t]; } function Sa(e) { var t = document.createElement("style"); return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t; } var Ea = /* @__PURE__ */ function() { function e(r) { var n = this; this._insertTag = function(o) { 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(o, i), n.tags.push(o); }, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null; } var t = e.prototype; return t.hydrate = function(n) { n.forEach(this._insertTag); }, t.insert = function(n) { this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Sa(this)); var o = this.tags[this.tags.length - 1]; if (this.isSpeedy) { var i = va(o); try { i.insertRule(n, i.cssRules.length); } catch { } } else o.appendChild(document.createTextNode(n)); this.ctr++; }, t.flush = function() { this.tags.forEach(function(n) { var o; return (o = n.parentNode) == null ? void 0 : o.removeChild(n); }), this.tags = [], this.ctr = 0; }, e; }(), xe = "-ms-", hr = "-moz-", Z = "-webkit-", ti = "comm", bn = "rule", vn = "decl", Ca = "@import", ri = "@keyframes", Ta = "@layer", xa = Math.abs, wr = String.fromCharCode, wa = Object.assign; function $a(e, t) { return Ee(e, 0) ^ 45 ? (((t << 2 ^ Ee(e, 0)) << 2 ^ Ee(e, 1)) << 2 ^ Ee(e, 2)) << 2 ^ Ee(e, 3) : 0; } function ni(e) { return e.trim(); } function Oa(e, t) { return (e = t.exec(e)) ? e[0] : e; } function ee(e, t, r) { return e.replace(t, r); } function en(e, t) { return e.indexOf(t); } function Ee(e, t) { return e.charCodeAt(t) | 0; } function Lt(e, t, r) { return e.slice(t, r); } function ze(e) { return e.length; } function Sn(e) { return e.length; } function tr(e, t) { return t.push(e), e; } function Ra(e, t) { return e.map(t).join(""); } var $r = 1, xt = 1, oi = 0, $e = 0, ye = 0, Ot = ""; function Or(e, t, r, n, o, i, a) { return { value: e, root: t, parent: r, type: n, props: o, children: i, line: $r, column: xt, length: a, return: "" }; } function At(e, t) { return wa(Or("", null, null, "", null, null, 0), e, { length: -e.length }, t); } function Pa() { return ye; } function _a() { return ye = $e > 0 ? Ee(Ot, --$e) : 0, xt--, ye === 10 && (xt = 1, $r--), ye; } function _e() { return ye = $e < oi ? Ee(Ot, $e++) : 0, xt++, ye === 10 && (xt = 1, $r++), ye; } function Fe() { return Ee(Ot, $e); } function lr() { return $e; } function Wt(e, t) { return Lt(Ot, e, t); } function zt(e) { switch (e) { case 0: case 9: case 10: case 13: case 32: return 5; case 33: case 43: case 44: case 47: case 62: case 64: case 126: case 59: case 123: case 125: return 4; case 58: return 3; case 34: case 39: case 40: case 91: return 2; case 41: case 93: return 1; } return 0; } function ii(e) { return $r = xt = 1, oi = ze(Ot = e), $e = 0, []; } function ai(e) { return Ot = "", e; } function ur(e) { return ni(Wt($e - 1, tn(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function ka(e) { for (; (ye = Fe()) && ye < 33; ) _e(); return zt(e) > 2 || zt(ye) > 3 ? "" : " "; } function Aa(e, t) { for (; --t && _e() && !(ye < 48 || ye > 102 || ye > 57 && ye < 65 || ye > 70 && ye < 97); ) ; return Wt(e, lr() + (t < 6 && Fe() == 32 && _e() == 32)); } function tn(e) { for (; _e(); ) switch (ye) { case e: return $e; case 34: case 39: e !== 34 && e !== 39 && tn(ye); break; case 40: e === 41 && tn(e); break; case 92: _e(); break; } return $e; } function Na(e, t) { for (; _e() && e + ye !== 57; ) if (e + ye === 84 && Fe() === 47) break; return "/*" + Wt(t, $e - 1) + "*" + wr(e === 47 ? e : _e()); } function Ia(e) { for (; !zt(Fe()); ) _e(); return Wt(e, $e); } function Ma(e) { return ai(fr("", null, null, null, [""], e = ii(e), 0, [0], e)); } function fr(e, t, r, n, o, i, a, s, f) { for (var d = 0, m = 0, p = a, g = 0, b = 0, y = 0, u = 1, C = 1, x = 1, _ = 0, $ = "", v = o, h = i, k = n, A = $; C; ) switch (y = _, _ = _e()) { case 40: if (y != 108 && Ee(A, p - 1) == 58) { en(A += ee(ur(_), "&", "&\f"), "&\f") != -1 && (x = -1); break; } case 34: case 39: case 91: A += ur(_); break; case 9: case 10: case 13: case 32: A += ka(y); break; case 92: A += Aa(lr() - 1, 7); continue; case 47: switch (Fe()) { case 42: case 47: tr(Da(Na(_e(), lr()), t, r), f); break; default: A += "/"; } break; case 123 * u: s[d++] = ze(A) * x; case 125 * u: case 59: case 0: switch (_) { case 0: case 125: C = 0; case 59 + m: x == -1 && (A = ee(A, /\f/g, "")), b > 0 && ze(A) - p && tr(b > 32 ? Zn(A + ";", n, r, p - 1) : Zn(ee(A, " ", "") + ";", n, r, p - 2), f); break; case 59: A += ";"; default: if (tr(k = Qn(A, t, r, d, m, o, s, $, v = [], h = [], p), i), _ === 123) if (m === 0) fr(A, t, k, k, v, i, p, s, h); else switch (g === 99 && Ee(A, 3) === 110 ? 100 : g) { case 100: case 108: case 109: case 115: fr(e, k, k, n && tr(Qn(e, k, k, 0, 0, o, s, $, o, v = [], p), h), o, h, p, s, n ? v : h); break; default: fr(A, k, k, k, [""], h, 0, s, h); } } d = m = b = 0, u = x = 1, $ = A = "", p = a; break; case 58: p = 1 + ze(A), b = y; default: if (u < 1) { if (_ == 123) --u; else if (_ == 125 && u++ == 0 && _a() == 125) continue; } switch (A += wr(_), _ * u) { case 38: x = m > 0 ? 1 : (A += "\f", -1); break; case 44: s[d++] = (ze(A) - 1) * x, x = 1; break; case 64: Fe() === 45 && (A += ur(_e())), g = Fe(), m = p = ze($ = A += Ia(lr())), _++; break; case 45: y === 45 && ze(A) == 2 && (u = 0); } } return i; } function Qn(e, t, r, n, o, i, a, s, f, d, m) { for (var p = o - 1, g = o === 0 ? i : [""], b = Sn(g), y = 0, u = 0, C = 0; y < n; ++y) for (var x = 0, _ = Lt(e, p + 1, p = xa(u = a[y])), $ = e; x < b; ++x) ($ = ni(u > 0 ? g[x] + " " + _ : ee(_, /&\f/g, g[x]))) && (f[C++] = $); return Or(e, t, r, o === 0 ? bn : s, f, d, m); } function Da(e, t, r) { return Or(e, t, r, ti, wr(Pa()), Lt(e, 2, -2), 0); } function Zn(e, t, r, n) { return Or(e, t, r, vn, Lt(e, 0, n), Lt(e, n + 1, -1), n); } function Ct(e, t) { for (var r = "", n = Sn(e), o = 0; o < n; o++) r += t(e[o], o, e, t) || ""; return r; } function Ba(e, t, r, n) { switch (e.type) { case Ta: if (e.children.length) break; case Ca: case vn: return e.return = e.return || e.value; case ti: return ""; case ri: return e.return = e.value + "{" + Ct(e.children, n) + "}"; case bn: e.value = e.props.join(","); } return ze(r = Ct(e.children, n)) ? e.return = e.value + "{" + r + "}" : ""; } function La(e) { var t = Sn(e); return function(r, n, o, i) { for (var a = "", s = 0; s < t; s++) a += e[s](r, n, o, i) || ""; return a; }; } function za(e) { return function(t) { t.root || (t = t.return) && e(t); }; } function si(e) { var t = /* @__PURE__ */ Object.create(null); return function(r) { return t[r] === void 0 && (t[r] = e(r)), t[r]; }; } var Va = function(t, r, n) { for (var o = 0, i = 0; o = i, i = Fe(), o === 38 && i === 12 && (r[n] = 1), !zt(i); ) _e(); return Wt(t, $e); }, ja = function(t, r) { var n = -1, o = 44; do switch (zt(o)) { case 0: o === 38 && Fe() === 12 && (r[n] = 1), t[n] += Va($e - 1, r, n); break; case 2: t[n] += ur(o); break; case 4: if (o === 44) { t[++n] = Fe() === 58 ? "&\f" : "", r[n] = t[n].length; break; } default: t[n] += wr(o); } while (o = _e()); return t; }, Fa = function(t, r) { return ai(ja(ii(t), r)); }, eo = /* @__PURE__ */ new WeakMap(), Ua = function(t) { if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed t.length < 1)) { for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; ) if (n = n.parent, !n) return; if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !eo.get(n)) && !o) { eo.set(t, !0); for (var i = [], a = Fa(r, i), s = n.props, f = 0, d = 0; f < a.length; f++) for (var m = 0; m < s.length; m++, d++) t.props[d] = i[f] ? a[f].replace(/&\f/g, s[m]) : s[m] + " " + a[f]; } } }, Wa = function(t) { if (t.type === "decl") { var r = t.value; // charcode for l r.charCodeAt(0) === 108 && // charcode for b r.charCodeAt(2) === 98 && (t.return = "", t.value = ""); } }; function ci(e, t) { switch ($a(e, t)) { case 5103: return Z + "print-" + e + e; case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921: case 5572: case 6356: case 5844: case 3191: case 6645: case 3005: case 6391: case 5879: case 5623: case 6135: case 4599: case 4855: case 4215: case 6389: case 5109: case 5365: case 5621: case 3829: return Z + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: return Z + e + hr + e + xe + e + e; case 6828: case 4268: return Z + e + xe + e + e; case 6165: return Z + e + xe + "flex-" + e + e; case 5187: return Z + e + ee(e, /(\w+).+(:[^]+)/, Z + "box-$1$2" + xe + "flex-$1$2") + e; case 5443: return Z + e + xe + "flex-item-" + ee(e, /flex-|-self/, "") + e; case 4675: return Z + e + xe + "flex-line-pack" + ee(e, /align-content|flex-|-self/, "") + e; case 5548: return Z + e + xe + ee(e, "shrink", "negative") + e; case 5292: return Z + e + xe + ee(e, "basis", "preferred-size") + e; case 6060: return Z + "box-" + ee(e, "-grow", "") + Z + e + xe + ee(e, "grow", "positive") + e; case 4554: return Z + ee(e, /([^-])(transform)/g, "$1" + Z + "$2") + e; case 6187: return ee(ee(ee(e, /(zoom-|grab)/, Z + "$1"), /(image-set)/, Z + "$1"), e, "") + e; case 5495: case 3959: return ee(e, /(image-set\([^]*)/, Z + "$1$`$1"); case 4968: return ee(ee(e, /(.+:)(flex-)?(.*)/, Z + "box-pack:$3" + xe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Z + e + e; case 4095: case 3583: case 4068: case 2532: return ee(e, /(.+)-inline(.+)/, Z + "$1$2") + e; 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 (ze(e) - 1 - t > 6) switch (Ee(e, t + 1)) { case 109: if (Ee(e, t + 4) !== 45) break; case 102: return ee(e, /(.+:)(.+)-([^]+)/, "$1" + Z + "$2-$3$1" + hr + (Ee(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: return ~en(e, "stretch") ? ci(ee(e, "stretch", "fill-available"), t) + e : e; } break; case 4949: if (Ee(e, t + 1) !== 115) break; case 6444: switch (Ee(e, ze(e) - 3 - (~en(e, "!important") && 10))) { case 107: return ee(e, ":", ":" + Z) + e; case 101: return ee(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Z + (Ee(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Z + "$2$3$1" + xe + "$2box$3") + e; } break; case 5936: switch (Ee(e, t + 11)) { case 114: return Z + e + xe + ee(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: return Z + e + xe + ee(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: return Z + e + xe + ee(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } return Z + e + xe + e + e; } return e; } var Ya = function(t, r, n, o) { if (t.length > -1 && !t.return) switch (t.type) { case vn: t.return = ci(t.value, t.length); break; case ri: return Ct([At(t, { value: ee(t.value, "@", "@" + Z) })], o); case bn: if (t.length) return Ra(t.props, function(i) { switch (Oa(i, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": return Ct([At(t, { props: [ee(i, /:(read-\w+)/, ":" + hr + "$1")] })], o); case "::placeholder": return Ct([At(t, { props: [ee(i, /:(plac\w+)/, ":" + Z + "input-$1")] }), At(t, { props: [ee(i, /:(plac\w+)/, ":" + hr + "$1")] }), At(t, { props: [ee(i, /:(plac\w+)/, xe + "input-$1")] })], o); } return ""; }); } }, qa = [Ya], Ga = function(t) { var r = t.key; if (r === "css") { var n = document.querySelectorAll("style[data-emotion]:not([data-s])"); Array.prototype.forEach.call(n, function(u) { var C = u.getAttribute("data-emotion"); C.indexOf(" ") !== -1 && (document.head.appendChild(u), u.setAttribute("data-s", "")); }); } var o = t.stylisPlugins || qa, i = {}, a, s = []; a = t.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^="' + r + ' "]'), function(u) { for (var C = u.getAttribute("data-emotion").split(" "), x = 1; x < C.length; x++) i[C[x]] = !0; s.push(u); } ); var f, d = [Ua, Wa]; { var m, p = [Ba, za(function(u) { m.insert(u); })], g = La(d.concat(o, p)), b = function(C) { return Ct(Ma(C), g); }; f = function(C, x, _, $) { m = _, b(C ? C + "{" + x.styles + "}" : x.styles), $ && (y.inserted[x.name] = !0); }; } var y = { key: r, sheet: new Ea({ key: r, container: a, nonce: t.nonce, speedy: t.speedy, prepend: t.prepend, insertionPoint: t.insertionPoint }), nonce: t.nonce, inserted: i, registered: {}, insert: f }; return y.sheet.hydrate(s), y; }, cf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}; function li(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function lf(e) { if (e.__esModule) return e; var t = e.default; if (typeof t == "function") { var r = function n() { return this instanceof n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; r.prototype = t.prototype; } else r = {}; return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) { var o = Object.getOwnPropertyDescriptor(e, n); Object.defineProperty(r, n, o.get ? o : { enumerable: !0, get: function() { return e[n]; } }); }), r; } var rn = { exports: {} }, te = {}; /** @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 to; function Ha() { if (to) return te; to = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119; function $(h) { if (typeof h == "object" && h !== null) { var k = h.$$typeof; switch (k) { case t: switch (h = h.type, h) { case f: case d: case n: case i: case o: case p: return h; default: switch (h = h && h.$$typeof, h) { case s: case m: case y: case b: case a: return h; default: return k; } } case r: return k; } } } function v(h) { return $(h) === d; } return te.AsyncMode = f, te.ConcurrentMode = d, te.ContextConsumer = s, te.ContextProvider = a, te.Element = t, te.ForwardRef = m, te.Fragment = n, te.Lazy = y, te.Memo = b, te.Portal = r, te.Profiler = i, te.StrictMode = o, te.Suspense = p, te.isAsyncMode = function(h) { return v(h) || $(h) === f; }, te.isConcurrentMode = v, te.isContextConsumer = function(h) { return $(h) === s; }, te.isContextProvider = function(h) { return $(h) === a; }, te.isElement = function(h) { return typeof h == "object" && h !== null && h.$$typeof === t; }, te.isForwardRef = function(h) { return $(h) === m; }, te.isFragment = function(h) { return $(h) === n; }, te.isLazy = function(h) { return $(h) === y; }, te.isMemo = function(h) { return $(h) === b; }, te.isPortal = function(h) { return $(h) === r; }, te.isProfiler = function(h) { return $(h) === i; }, te.isStrictMode = function(h) { return $(h) === o; }, te.isSuspense = function(h) { return $(h) === p; }, te.isValidElementType = function(h) { return typeof h == "string" || typeof h == "function" || h === n || h === d || h === i || h === o || h === p || h === g || typeof h == "object" && h !== null && (h.$$typeof === y || h.$$typeof === b || h.$$typeof === a || h.$$typeof === s || h.$$typeof === m || h.$$typeof === C || h.$$typeof === x || h.$$typeof === _ || h.$$typeof === u); }, te.typeOf = $, te; } var re = {}, ro; function Ka() { return ro || (ro = 1, R.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119; function $(S) { return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. S === n || S === d || S === i || S === o || S === p || S === g || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === b || S.$$typeof === a || S.$$typeof === s || S.$$typeof === m || S.$$typeof === C || S.$$typeof === x || S.$$typeof === _ || S.$$typeof === u); } function v(S) { if (typeof S == "object" && S !== null) { var be = S.$$typeof; switch (be) { case t: var Te = S.type; switch (Te) { case f: case d: case n: case i: case o: case p: return Te; default: var Ue = Te && Te.$$typeof; switch (Ue) { case s: case m: case y: case b: case a: return Ue; default: return be; } } case r: return be; } } } var h = f, k = d, A = s, I = a, M = t, c = m, w = n, N = y, D = b, H = r, L = i, Y = o, X = p, ue = !1; function J(S) { return ue || (ue = !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.")), O(S) || v(S) === f; } function O(S) { return v(S) === d; } function P(S) { return v(S) === s; } function B(S) { return v(S) === a; } function j(S) { return typeof S == "object" && S !== null && S.$$typeof === t; } function z(S) { return v(S) === m; } function q(S) { return v(S) === n; } function V(S) { return v(S) === y; } function F(S) { return v(S) === b; } function G(S) { return v(S) === r; } function Q(S) { return v(S) === i; } function K(S) { return v(S) === o; } function de(S) { return v(S) === p; } re.AsyncMode = h, re.ConcurrentMode = k, re.ContextConsumer = A, re.ContextProvider = I, re.Element = M, re.ForwardRef = c, re.Fragment = w, re.Lazy = N, re.Memo = D, re.Portal = H, re.Profiler = L, re.StrictMode = Y, re.Suspense = X, re.isAsyncMode = J, re.isConcurrentMode = O, re.isContextConsumer = P, re.isContextProvider = B, re.isElement = j, re.isForwardRef = z, re.isFragment = q, re.isLazy = V, re.isMemo = F, re.isPortal = G, re.isProfiler = Q, re.isStrictMode = K, re.isSuspense = de, re.isValidElementType = $, re.typeOf = v; }()), re; } R.env.NODE_ENV === "production" ? rn.exports = Ha() : rn.exports = Ka(); var Xa = rn.exports, ui = Xa, Ja = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Qa = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, fi = {}; fi[ui.ForwardRef] = Ja; fi[ui.Memo] = Qa; var Za = !0; function di(e, t, r) { var n = ""; return r.split(" ").forEach(function(o) { e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " "); }), n; } var En = function(t, r, n) { var o = t.key + "-" + r.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 Za === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles); }, Cn = function(t, r, n) { En(t, r, n); var o = t.key + "-" + r.name; if (t.inserted[r.name] === void 0) { var i = r; do t.insert(r === i ? "." + o : "", i, t.sheet, !0), i = i.next; while (i !== void 0); } }; function es(e) { for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4) r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */ r >>> 24, t = /* Math.imul(k, m): */ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); switch (o) { case 3: t ^= (e.charCodeAt(n + 2) & 255) << 16; case 2: t ^= (e.charCodeAt(n + 1) & 255) << 8; case 1: t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); } return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } var ts = { 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 }, rs = /[A-Z]|^ms/g, ns = /_EMO_([^_]+?)_([^]*?)_EMO_/g, pi = function(t) { return t.charCodeAt(1) === 45; }, no = function(t) { return t != null && typeof t != "boolean"; }, zr = /* @__PURE__ */ si(function(e) { return pi(e) ? e : e.replace(rs, "-$&").toLowerCase(); }), oo = function(t, r) { switch (t) { case "animation": case "animationName": if (typeof r == "string") return r.replace(ns, function(n, o, i) { return Ve = { name: o, styles: i, next: Ve }, o; }); } return ts[t] !== 1 && !pi(t) && typeof r == "number" && r !== 0 ? r + "px" : r; }; function Vt(e, t, r) { if (r == null) return ""; var n = r; if (n.__emotion_styles !== void 0) return n; switch (typeof r) { case "boolean": return ""; case "object": { var o = r; if (o.anim === 1) return Ve = { name: o.name, styles: o.styles, next: Ve }, o.name; var i = r; if (i.styles !== void 0) { var a = i.next; if (a !== void 0) for (; a !== void 0; ) Ve = { name: a.name, styles: a.styles, next: Ve }, a = a.next; var s = i.styles + ";"; return s; } return os(e, t, r); } case "function": { if (e !== void 0) { var f = Ve, d = r(e); return Ve = f, Vt(e, t, d); } break; } } var m = r; if (t == null) return m; var p = t[m]; return p !== void 0 ? p : m; } function os(e, t, r) { var n = ""; if (Array.isArray(r)) for (var o = 0; o < r.length; o++) n += Vt(e, t, r[o]) + ";"; else for (var i in r) { var a = r[i]; if (typeof a != "object") { var s = a; t != null && t[s] !== void 0 ? n += i + "{" + t[s] + "}" : no(s) && (n += zr(i) + ":" + oo(i, s) + ";"); } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0)) for (var f = 0; f < a.length; f++) no(a[f]) && (n += zr(i) + ":" + oo(i, a[f]) + ";"); else { var d = Vt(e, t, a); switch (i) { case "animation": case "animationName": { n += zr(i) + ":" + d + ";"; break; } default: n += i + "{" + d + "}"; } } } return n; } var io = /label:\s*([^\s;{]+)\s*(;|$)/g, Ve; function Yt(e, t, r) { if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0]; var n = !0, o = ""; Ve = void 0; var i = e[0]; if (i == null || i.raw === void 0) n = !1, o += Vt(r, t, i); else { var a = i; o += a[0]; } for (var s = 1; s < e.length; s++) if (o += Vt(r, t, e[s]), n) { var f = i; o += f[s]; } io.lastIndex = 0; for (var d = "", m; (m = io.exec(o)) !== null; ) d += "-" + m[1]; var p = es(o) + d; return { name: p, styles: o, next: Ve }; } var is = function(t) { return t(); }, mi = T.useInsertionEffect ? T.useInsertionEffect : !1, hi = mi || is, ao = mi || T.useLayoutEffect, Tn = /* @__PURE__ */ T.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__ */ Ga({ key: "css" }) : null ); Tn.Provider; var uf = function() { return Xo(Tn); }, xn = function(t) { return /* @__PURE__ */ la(function(r, n) { var o = Xo(Tn); return t(r, o, n); }); }, qt = /* @__PURE__ */ T.createContext({}), wn = {}.hasOwnProperty, nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", as = function(t, r) { var n = {}; for (var o in r) wn.call(r, o) && (n[o] = r[o]); return n[nn] = t, n; }, ss = function(t) { var r = t.cache, n = t.serialized, o = t.isStringTag; return En(r, n, o), hi(function() { return Cn(r, n, o); }), null; }, cs = /* @__PURE__ */ xn(function(e, t, r) { var n = e.css; typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]); var o = e[nn], i = [n], a = ""; typeof e.className == "string" ? a = di(t.registered, i, e.className) : e.className != null && (a = e.className + " "); var s = Yt(i, void 0, T.useContext(qt)); a += t.key + "-" + s.name; var f = {}; for (var d in e) wn.call(e, d) && d !== "css" && d !== nn && (f[d] = e[d]); return f.className = a, r && (f.ref = r), /* @__PURE__ */ T.createElement(T.Fragment, null, /* @__PURE__ */ T.createElement(ss, { cache: t, serialized: s, isStringTag: typeof o == "string" }), /* @__PURE__ */ T.createElement(o, f)); }), ls = cs, so = function(t, r) { var n = arguments; if (r == null || !wn.call(r, "css")) return T.createElement.apply(void 0, n); var o = n.length, i = new Array(o); i[0] = ls, i[1] = as(t, r); for (var a = 2; a < o; a++) i[a] = n[a]; return T.createElement.apply(null, i); }; (function(e) { var t; t || (t = e.JSX || (e.JSX = {})); })(so || (so = {})); var us = /* @__PURE__ */ xn(function(e, t) { var r = e.styles, n = Yt([r], void 0, T.useContext(qt)), o = T.useRef(); return ao(function() { var i = t.key + "-global", a = new t.sheet.constructor({ key: i, nonce: t.sheet.nonce, container: t.sheet.container, speedy: t.sheet.isSpeedy }), s = !1, f = document.querySelector('style[data-emotion="' + i + " " + n.name + '"]'); return t.sheet.tags.length && (a.before = t.sheet.tags[0]), f !== null && (s = !0, f.setAttribute("data-emotion", i), a.hydrate([f])), o.current = [a, s], function() { a.flush(); }; }, [t]), ao(function() { var i = o.current, a = i[0], s = i[1]; if (s) { i[1] = !1; return; } if (n.next !== void 0 && Cn(t, n.next, !0), a.tags.length) { var f = a.tags[a.tags.length - 1].nextElementSibling; a.before = f, a.flush(); } t.insert("", n, a, !1); }, [t, n.name]), null; }); function $n() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return Yt(t); } function Gt() { var e = $n.apply(void 0, arguments), t = "animation-" + e.name; return { name: t, styles: "@keyframes " + t + "{" + e.styles + "}", anim: 1, toString: function() { return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; } }; } var fs = /^((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|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, ds = /* @__PURE__ */ si( function(e) { return fs.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; } /* Z+1 */ ), ps = ds, ms = function(t) { return t !== "theme"; }, co = function(t) { return typeof t == "string" && // 96 is one less than the char code // for "a" so this is checking that // it's a lowercase character t.charCodeAt(0) > 96 ? ps : ms; }, lo = function(t, r, n) { var o; if (r) { var i = r.shouldForwardProp; o = t.__emotion_forwardProp && i ? function(a) { return t.__emotion_forwardProp(a) && i(a); } : i; } return typeof o != "function" && n && (o = t.__emotion_forwardProp), o; }, hs = function(t) { var r = t.cache, n = t.serialized, o = t.isStringTag; return En(r, n, o), hi(function() { return Cn(r, n, o); }), null; }, gs = function e(t, r) { var n = t.__emotion_real === t, o = n && t.__emotion_base || t, i, a; r !== void 0 && (i = r.label, a = r.target); var s = lo(t, r, n), f = s || co(o), d = !f("as"); return function() { var m = arguments, p = n && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : []; if (i !== void 0 && p.push("label:" + i + ";"), m[0] == null || m[0].raw === void 0) p.push.apply(p, m); else { var g = m[0]; p.push(g[0]); for (var b = m.length, y = 1; y < b; y++) p.push(m[y], g[y]); } var u = xn(function(C, x, _) { var $ = d && C.as || o, v = "", h = [], k = C; if (C.theme == null) { k = {}; for (var A in C) k[A] = C[A]; k.theme = T.useContext(qt); } typeof C.className == "string" ? v = di(x.registered, h, C.className) : C.className != null && (v = C.className + " "); var I = Yt(p.concat(h), x.registered, k); v += x.key + "-" + I.name, a !== void 0 && (v += " " + a); var M = d && s === void 0 ? co($) : f, c = {}; for (var w in C) d && w === "as" || M(w) && (c[w] = C[w]); return c.className = v, _ && (c.ref = _), /* @__PURE__ */ T.createElement(T.Fragment, null, /* @__PURE__ */ T.createElement(hs, { cache: x, serialized: I, isStringTag: typeof $ == "string" }), /* @__PURE__ */ T.createElement($, c)); }); return u.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", u.defaultProps = t.defaultProps, u.__emotion_real = u, u.__emotion_base = o, u.__emotion_styles = p, u.__emotion_forwardProp = s, Object.defineProperty(u, "toString", { value: function() { return "." + a; } }), u.withComponent = function(C, x) { var _ = e(C, mr({}, r, x, { shouldForwardProp: lo(u, x, !0) })); return _.apply(void 0, p); }, u; }; }, ys = [ "a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", // SVG "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan" ], on = gs.bind(null); ys.forEach(function(e) { on[e] = on(e); }); var an = { exports: {} }, rr = { exports: {} }, ne = {}; /** @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 uo; function bs() { if (uo) return ne; uo = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119; function $(h) { if (typeof h == "object" && h !== null) { var k = h.$$typeof; switch (k) { case t: switch (h = h.type, h) { case f: case d: case n: case i: case o: case p: return h; default: switch (h = h && h.$$typeof, h) { case s: case m: case y: case b: case a: return h; default: return k; } } case r: return k; } } } function v(h) { return $(h) === d; } return ne.AsyncMode = f, ne.ConcurrentMode = d, ne.ContextConsumer = s, ne.ContextProvider = a, ne.Element = t, ne.ForwardRef = m, ne.Fragment = n, ne.Lazy = y, ne.Memo = b, ne.Portal = r, ne.Profiler = i, ne.StrictMode = o, ne.Suspense = p, ne.isAsyncMode = function(h) { return v(h) || $(h) === f; }, ne.isConcurrentMode = v, ne.isContextConsumer = function(h) { return $(h) === s; }, ne.isContextProvider = function(h) { return $(h) === a; }, ne.isElement = function(h) { return typeof h == "object" && h !== null && h.$$typeof === t; }, ne.isForwardRef = function(h) { return $(h) === m; }, ne.isFragment = function(h) { return $(h) === n; }, ne.isLazy = function(h) { return $(h) === y; }, ne.isMemo = function(h) { return $(h) === b; }, ne.isPortal = function(h) { return $(h) === r; }, ne.isProfiler = function(h) { return $(h) === i; }, ne.isStrictMode = function(h) { return $(h) === o; }, ne.isSuspense = function(h) { return $(h) === p; }, ne.isValidElementType = function(h) { return typeof h == "string" || typeof h == "function" || h === n || h === d || h === i || h === o || h === p || h === g || typeof h == "object" && h !== null && (h.$$typeof === y || h.$$typeof === b || h.$$typeof === a || h.$$typeof === s || h.$$typeof === m || h.$$typeof === C || h.$$typeof === x || h.$$typeof === _ || h.$$typeof === u); }, ne.typeOf = $, ne; } var oe = {}, fo; function vs() { return fo || (fo = 1, R.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118,