UNPKG

openapi-ui-dist

Version:

<h1 align="center"> OpenAPI UI </h1> <p align="center"> OpenAPI/Swagger UI document, quickly generate mock params and call api, also simplified postman tool </p> <p align="center"> <a href="https://github.com/rookie-luochao/openapi-ui/blob/master/LICE

1,528 lines 1.21 MB
function DE(e, t) { for (var n = 0; n < t.length; n++) { const r = t[n]; if (typeof r != "string" && !Array.isArray(r)) { for (const i in r) if (i !== "default" && !(i in e)) { const o = Object.getOwnPropertyDescriptor(r, i); o && Object.defineProperty(e, i, o.get ? o : { enumerable: !0, get: () => r[i] }); } } } return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" })); } var tq = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Vs(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function jE(e) { if (e.__esModule) return e; var t = e.default; if (typeof t == "function") { var n = function r() { return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; n.prototype = t.prototype; } else n = {}; return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) { var i = Object.getOwnPropertyDescriptor(e, r); Object.defineProperty(n, r, i.get ? i : { enumerable: !0, get: function() { return e[r]; } }); }), n; } var BE = { exports: {} }, qe = {}; /** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var $S; function fN() { if ($S) return qe; $S = 1; var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.iterator; function m(T) { return T === null || typeof T != "object" ? null : (T = h && T[h] || T["@@iterator"], typeof T == "function" ? T : null); } var y = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, w = Object.assign, S = {}; function b(T, $, q) { this.props = T, this.context = $, this.refs = S, this.updater = q || y; } b.prototype.isReactComponent = {}, b.prototype.setState = function(T, $) { if (typeof T != "object" && typeof T != "function" && T != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); this.updater.enqueueSetState(this, T, $, "setState"); }, b.prototype.forceUpdate = function(T) { this.updater.enqueueForceUpdate(this, T, "forceUpdate"); }; function O() { } O.prototype = b.prototype; function C(T, $, q) { this.props = T, this.context = $, this.refs = S, this.updater = q || y; } var _ = C.prototype = new O(); _.constructor = C, w(_, b.prototype), _.isPureReactComponent = !0; var A = Array.isArray, P = Object.prototype.hasOwnProperty, I = { current: null }, k = { key: !0, ref: !0, __self: !0, __source: !0 }; function N(T, $, q) { var Y, ie = {}, le = null, pe = null; if ($ != null) for (Y in $.ref !== void 0 && (pe = $.ref), $.key !== void 0 && (le = "" + $.key), $) P.call($, Y) && !k.hasOwnProperty(Y) && (ie[Y] = $[Y]); var ge = arguments.length - 2; if (ge === 1) ie.children = q; else if (1 < ge) { for (var Se = Array(ge), Ve = 0; Ve < ge; Ve++) Se[Ve] = arguments[Ve + 2]; ie.children = Se; } if (T && T.defaultProps) for (Y in ge = T.defaultProps, ge) ie[Y] === void 0 && (ie[Y] = ge[Y]); return { $$typeof: e, type: T, key: le, ref: pe, props: ie, _owner: I.current }; } function F(T, $) { return { $$typeof: e, type: T.type, key: $, ref: T.ref, props: T.props, _owner: T._owner }; } function H(T) { return typeof T == "object" && T !== null && T.$$typeof === e; } function z(T) { var $ = { "=": "=0", ":": "=2" }; return "$" + T.replace(/[=:]/g, function(q) { return $[q]; }); } var ne = /\/+/g; function te(T, $) { return typeof T == "object" && T !== null && T.key != null ? z("" + T.key) : $.toString(36); } function X(T, $, q, Y, ie) { var le = typeof T; (le === "undefined" || le === "boolean") && (T = null); var pe = !1; if (T === null) pe = !0; else switch (le) { case "string": case "number": pe = !0; break; case "object": switch (T.$$typeof) { case e: case t: pe = !0; } } if (pe) return pe = T, ie = ie(pe), T = Y === "" ? "." + te(pe, 0) : Y, A(ie) ? (q = "", T != null && (q = T.replace(ne, "$&/") + "/"), X(ie, $, q, "", function(Ve) { return Ve; })) : ie != null && (H(ie) && (ie = F(ie, q + (!ie.key || pe && pe.key === ie.key ? "" : ("" + ie.key).replace(ne, "$&/") + "/") + T)), $.push(ie)), 1; if (pe = 0, Y = Y === "" ? "." : Y + ":", A(T)) for (var ge = 0; ge < T.length; ge++) { le = T[ge]; var Se = Y + te(le, ge); pe += X(le, $, q, Se, ie); } else if (Se = m(T), typeof Se == "function") for (T = Se.call(T), ge = 0; !(le = T.next()).done; ) le = le.value, Se = Y + te(le, ge++), pe += X(le, $, q, Se, ie); else if (le === "object") throw $ = String(T), Error("Objects are not valid as a React child (found: " + ($ === "[object Object]" ? "object with keys {" + Object.keys(T).join(", ") + "}" : $) + "). If you meant to render a collection of children, use an array instead."); return pe; } function fe(T, $, q) { if (T == null) return T; var Y = [], ie = 0; return X(T, Y, "", "", function(le) { return $.call(q, le, ie++); }), Y; } function G(T) { if (T._status === -1) { var $ = T._result; $ = $(), $.then(function(q) { (T._status === 0 || T._status === -1) && (T._status = 1, T._result = q); }, function(q) { (T._status === 0 || T._status === -1) && (T._status = 2, T._result = q); }), T._status === -1 && (T._status = 0, T._result = $); } if (T._status === 1) return T._result.default; throw T._result; } var U = { current: null }, D = { transition: null }, L = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: D, ReactCurrentOwner: I }; return qe.Children = { map: fe, forEach: function(T, $, q) { fe(T, function() { $.apply(this, arguments); }, q); }, count: function(T) { var $ = 0; return fe(T, function() { $++; }), $; }, toArray: function(T) { return fe(T, function($) { return $; }) || []; }, only: function(T) { if (!H(T)) throw Error("React.Children.only expected to receive a single React element child."); return T; } }, qe.Component = b, qe.Fragment = n, qe.Profiler = i, qe.PureComponent = C, qe.StrictMode = r, qe.Suspense = c, qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = L, qe.cloneElement = function(T, $, q) { if (T == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + T + "."); var Y = w({}, T.props), ie = T.key, le = T.ref, pe = T._owner; if ($ != null) { if ($.ref !== void 0 && (le = $.ref, pe = I.current), $.key !== void 0 && (ie = "" + $.key), T.type && T.type.defaultProps) var ge = T.type.defaultProps; for (Se in $) P.call($, Se) && !k.hasOwnProperty(Se) && (Y[Se] = $[Se] === void 0 && ge !== void 0 ? ge[Se] : $[Se]); } var Se = arguments.length - 2; if (Se === 1) Y.children = q; else if (1 < Se) { ge = Array(Se); for (var Ve = 0; Ve < Se; Ve++) ge[Ve] = arguments[Ve + 2]; Y.children = ge; } return { $$typeof: e, type: T.type, key: ie, ref: le, props: Y, _owner: pe }; }, qe.createContext = function(T) { return T = { $$typeof: s, _currentValue: T, _currentValue2: T, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, T.Provider = { $$typeof: o, _context: T }, T.Consumer = T; }, qe.createElement = N, qe.createFactory = function(T) { var $ = N.bind(null, T); return $.type = T, $; }, qe.createRef = function() { return { current: null }; }, qe.forwardRef = function(T) { return { $$typeof: u, render: T }; }, qe.isValidElement = H, qe.lazy = function(T) { return { $$typeof: p, _payload: { _status: -1, _result: T }, _init: G }; }, qe.memo = function(T, $) { return { $$typeof: d, type: T, compare: $ === void 0 ? null : $ }; }, qe.startTransition = function(T) { var $ = D.transition; D.transition = {}; try { T(); } finally { D.transition = $; } }, qe.unstable_act = function() { throw Error("act(...) is not supported in production builds of React."); }, qe.useCallback = function(T, $) { return U.current.useCallback(T, $); }, qe.useContext = function(T) { return U.current.useContext(T); }, qe.useDebugValue = function() { }, qe.useDeferredValue = function(T) { return U.current.useDeferredValue(T); }, qe.useEffect = function(T, $) { return U.current.useEffect(T, $); }, qe.useId = function() { return U.current.useId(); }, qe.useImperativeHandle = function(T, $, q) { return U.current.useImperativeHandle(T, $, q); }, qe.useInsertionEffect = function(T, $) { return U.current.useInsertionEffect(T, $); }, qe.useLayoutEffect = function(T, $) { return U.current.useLayoutEffect(T, $); }, qe.useMemo = function(T, $) { return U.current.useMemo(T, $); }, qe.useReducer = function(T, $, q) { return U.current.useReducer(T, $, q); }, qe.useRef = function(T) { return U.current.useRef(T); }, qe.useState = function(T) { return U.current.useState(T); }, qe.useSyncExternalStore = function(T, $, q) { return U.current.useSyncExternalStore(T, $, q); }, qe.useTransition = function() { return U.current.useTransition(); }, qe.version = "18.3.0", qe; } BE.exports = fN(); var E = BE.exports; const ue = /* @__PURE__ */ Vs(E), Ta = /* @__PURE__ */ DE({ __proto__: null, default: ue }, [E]); var dN = !1; function pN(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 hN(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 mN = /* @__PURE__ */ function() { function e(n) { var r = this; this._insertTag = function(i) { var o; r.tags.length === 0 ? r.insertionPoint ? o = r.insertionPoint.nextSibling : r.prepend ? o = r.container.firstChild : o = r.before : o = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, o), r.tags.push(i); }, this.isSpeedy = n.speedy === void 0 ? !dN : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null; } var t = e.prototype; return t.hydrate = function(r) { r.forEach(this._insertTag); }, t.insert = function(r) { this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(hN(this)); var i = this.tags[this.tags.length - 1]; if (this.isSpeedy) { var o = pN(i); try { o.insertRule(r, o.cssRules.length); } catch { } } else i.appendChild(document.createTextNode(r)); this.ctr++; }, t.flush = function() { this.tags.forEach(function(r) { var i; return (i = r.parentNode) == null ? void 0 : i.removeChild(r); }), this.tags = [], this.ctr = 0; }, e; }(), In = "-ms-", id = "-moz-", st = "-webkit-", UE = "comm", Wv = "rule", Gv = "decl", gN = "@import", HE = "@keyframes", vN = "@layer", yN = Math.abs, Md = String.fromCharCode, SN = Object.assign; function bN(e, t) { return Sn(e, 0) ^ 45 ? (((t << 2 ^ Sn(e, 0)) << 2 ^ Sn(e, 1)) << 2 ^ Sn(e, 2)) << 2 ^ Sn(e, 3) : 0; } function zE(e) { return e.trim(); } function wN(e, t) { return (e = t.exec(e)) ? e[0] : e; } function lt(e, t, n) { return e.replace(t, n); } function yg(e, t) { return e.indexOf(t); } function Sn(e, t) { return e.charCodeAt(t) | 0; } function lu(e, t, n) { return e.slice(t, n); } function mi(e) { return e.length; } function qv(e) { return e.length; } function hf(e, t) { return t.push(e), e; } function xN(e, t) { return e.map(t).join(""); } var Fd = 1, $s = 1, VE = 0, ur = 0, tn = 0, Ws = ""; function Dd(e, t, n, r, i, o, s) { return { value: e, root: t, parent: n, type: r, props: i, children: o, line: Fd, column: $s, length: s, return: "" }; } function Ml(e, t) { return SN(Dd("", null, null, "", null, null, 0), e, { length: -e.length }, t); } function EN() { return tn; } function CN() { return tn = ur > 0 ? Sn(Ws, --ur) : 0, $s--, tn === 10 && ($s = 1, Fd--), tn; } function _r() { return tn = ur < VE ? Sn(Ws, ur++) : 0, $s++, tn === 10 && ($s = 1, Fd++), tn; } function Si() { return Sn(Ws, ur); } function Lf() { return ur; } function ju(e, t) { return lu(Ws, e, t); } function uu(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 WE(e) { return Fd = $s = 1, VE = mi(Ws = e), ur = 0, []; } function GE(e) { return Ws = "", e; } function Mf(e) { return zE(ju(ur - 1, Sg(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function ON(e) { for (; (tn = Si()) && tn < 33; ) _r(); return uu(e) > 2 || uu(tn) > 3 ? "" : " "; } function _N(e, t) { for (; --t && _r() && !(tn < 48 || tn > 102 || tn > 57 && tn < 65 || tn > 70 && tn < 97); ) ; return ju(e, Lf() + (t < 6 && Si() == 32 && _r() == 32)); } function Sg(e) { for (; _r(); ) switch (tn) { case e: return ur; case 34: case 39: e !== 34 && e !== 39 && Sg(tn); break; case 40: e === 41 && Sg(e); break; case 92: _r(); break; } return ur; } function TN(e, t) { for (; _r() && e + tn !== 57; ) if (e + tn === 84 && Si() === 47) break; return "/*" + ju(t, ur - 1) + "*" + Md(e === 47 ? e : _r()); } function RN(e) { for (; !uu(Si()); ) _r(); return ju(e, ur); } function PN(e) { return GE(Ff("", null, null, null, [""], e = WE(e), 0, [0], e)); } function Ff(e, t, n, r, i, o, s, u, c) { for (var d = 0, p = 0, h = s, m = 0, y = 0, w = 0, S = 1, b = 1, O = 1, C = 0, _ = "", A = i, P = o, I = r, k = _; b; ) switch (w = C, C = _r()) { case 40: if (w != 108 && Sn(k, h - 1) == 58) { yg(k += lt(Mf(C), "&", "&\f"), "&\f") != -1 && (O = -1); break; } case 34: case 39: case 91: k += Mf(C); break; case 9: case 10: case 13: case 32: k += ON(w); break; case 92: k += _N(Lf() - 1, 7); continue; case 47: switch (Si()) { case 42: case 47: hf(NN(TN(_r(), Lf()), t, n), c); break; default: k += "/"; } break; case 123 * S: u[d++] = mi(k) * O; case 125 * S: case 59: case 0: switch (C) { case 0: case 125: b = 0; case 59 + p: O == -1 && (k = lt(k, /\f/g, "")), y > 0 && mi(k) - h && hf(y > 32 ? MS(k + ";", r, n, h - 1) : MS(lt(k, " ", "") + ";", r, n, h - 2), c); break; case 59: k += ";"; default: if (hf(I = LS(k, t, n, d, p, i, u, _, A = [], P = [], h), o), C === 123) if (p === 0) Ff(k, t, I, I, A, o, h, u, P); else switch (m === 99 && Sn(k, 3) === 110 ? 100 : m) { case 100: case 108: case 109: case 115: Ff(e, I, I, r && hf(LS(e, I, I, 0, 0, i, u, _, i, A = [], h), P), i, P, h, u, r ? A : P); break; default: Ff(k, I, I, I, [""], P, 0, u, P); } } d = p = y = 0, S = O = 1, _ = k = "", h = s; break; case 58: h = 1 + mi(k), y = w; default: if (S < 1) { if (C == 123) --S; else if (C == 125 && S++ == 0 && CN() == 125) continue; } switch (k += Md(C), C * S) { case 38: O = p > 0 ? 1 : (k += "\f", -1); break; case 44: u[d++] = (mi(k) - 1) * O, O = 1; break; case 64: Si() === 45 && (k += Mf(_r())), m = Si(), p = h = mi(_ = k += RN(Lf())), C++; break; case 45: w === 45 && mi(k) == 2 && (S = 0); } } return o; } function LS(e, t, n, r, i, o, s, u, c, d, p) { for (var h = i - 1, m = i === 0 ? o : [""], y = qv(m), w = 0, S = 0, b = 0; w < r; ++w) for (var O = 0, C = lu(e, h + 1, h = yN(S = s[w])), _ = e; O < y; ++O) (_ = zE(S > 0 ? m[O] + " " + C : lt(C, /&\f/g, m[O]))) && (c[b++] = _); return Dd(e, t, n, i === 0 ? Wv : u, c, d, p); } function NN(e, t, n) { return Dd(e, t, n, UE, Md(EN()), lu(e, 2, -2), 0); } function MS(e, t, n, r) { return Dd(e, t, n, Gv, lu(e, 0, r), lu(e, r + 1, -1), r); } function Rs(e, t) { for (var n = "", r = qv(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || ""; return n; } function AN(e, t, n, r) { switch (e.type) { case vN: if (e.children.length) break; case gN: case Gv: return e.return = e.return || e.value; case UE: return ""; case HE: return e.return = e.value + "{" + Rs(e.children, r) + "}"; case Wv: e.value = e.props.join(","); } return mi(n = Rs(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; } function IN(e) { var t = qv(e); return function(n, r, i, o) { for (var s = "", u = 0; u < t; u++) s += e[u](n, r, i, o) || ""; return s; }; } function kN(e) { return function(t) { t.root || (t = t.return) && e(t); }; } var FS = function(t) { var n = /* @__PURE__ */ new WeakMap(); return function(r) { if (n.has(r)) return n.get(r); var i = t(r); return n.set(r, i), i; }; }; function $N(e) { var t = /* @__PURE__ */ Object.create(null); return function(n) { return t[n] === void 0 && (t[n] = e(n)), t[n]; }; } var LN = function(t, n, r) { for (var i = 0, o = 0; i = o, o = Si(), i === 38 && o === 12 && (n[r] = 1), !uu(o); ) _r(); return ju(t, ur); }, MN = function(t, n) { var r = -1, i = 44; do switch (uu(i)) { case 0: i === 38 && Si() === 12 && (n[r] = 1), t[r] += LN(ur - 1, n, r); break; case 2: t[r] += Mf(i); break; case 4: if (i === 44) { t[++r] = Si() === 58 ? "&\f" : "", n[r] = t[r].length; break; } default: t[r] += Md(i); } while (i = _r()); return t; }, FN = function(t, n) { return GE(MN(WE(t), n)); }, DS = /* @__PURE__ */ new WeakMap(), DN = 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 n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; ) if (r = r.parent, !r) return; if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !DS.get(r)) && !i) { DS.set(t, !0); for (var o = [], s = FN(n, o), u = r.props, c = 0, d = 0; c < s.length; c++) for (var p = 0; p < u.length; p++, d++) t.props[d] = o[c] ? s[c].replace(/&\f/g, u[p]) : u[p] + " " + s[c]; } } }, jN = function(t) { if (t.type === "decl") { var n = t.value; // charcode for l n.charCodeAt(0) === 108 && // charcode for b n.charCodeAt(2) === 98 && (t.return = "", t.value = ""); } }; function qE(e, t) { switch (bN(e, t)) { case 5103: return st + "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 st + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: return st + e + id + e + In + e + e; case 6828: case 4268: return st + e + In + e + e; case 6165: return st + e + In + "flex-" + e + e; case 5187: return st + e + lt(e, /(\w+).+(:[^]+)/, st + "box-$1$2" + In + "flex-$1$2") + e; case 5443: return st + e + In + "flex-item-" + lt(e, /flex-|-self/, "") + e; case 4675: return st + e + In + "flex-line-pack" + lt(e, /align-content|flex-|-self/, "") + e; case 5548: return st + e + In + lt(e, "shrink", "negative") + e; case 5292: return st + e + In + lt(e, "basis", "preferred-size") + e; case 6060: return st + "box-" + lt(e, "-grow", "") + st + e + In + lt(e, "grow", "positive") + e; case 4554: return st + lt(e, /([^-])(transform)/g, "$1" + st + "$2") + e; case 6187: return lt(lt(lt(e, /(zoom-|grab)/, st + "$1"), /(image-set)/, st + "$1"), e, "") + e; case 5495: case 3959: return lt(e, /(image-set\([^]*)/, st + "$1$`$1"); case 4968: return lt(lt(e, /(.+:)(flex-)?(.*)/, st + "box-pack:$3" + In + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + st + e + e; case 4095: case 3583: case 4068: case 2532: return lt(e, /(.+)-inline(.+)/, st + "$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 (mi(e) - 1 - t > 6) switch (Sn(e, t + 1)) { case 109: if (Sn(e, t + 4) !== 45) break; case 102: return lt(e, /(.+:)(.+)-([^]+)/, "$1" + st + "$2-$3$1" + id + (Sn(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: return ~yg(e, "stretch") ? qE(lt(e, "stretch", "fill-available"), t) + e : e; } break; case 4949: if (Sn(e, t + 1) !== 115) break; case 6444: switch (Sn(e, mi(e) - 3 - (~yg(e, "!important") && 10))) { case 107: return lt(e, ":", ":" + st) + e; case 101: return lt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + st + (Sn(e, 14) === 45 ? "inline-" : "") + "box$3$1" + st + "$2$3$1" + In + "$2box$3") + e; } break; case 5936: switch (Sn(e, t + 11)) { case 114: return st + e + In + lt(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: return st + e + In + lt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: return st + e + In + lt(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } return st + e + In + e + e; } return e; } var BN = function(t, n, r, i) { if (t.length > -1 && !t.return) switch (t.type) { case Gv: t.return = qE(t.value, t.length); break; case HE: return Rs([Ml(t, { value: lt(t.value, "@", "@" + st) })], i); case Wv: if (t.length) return xN(t.props, function(o) { switch (wN(o, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": return Rs([Ml(t, { props: [lt(o, /:(read-\w+)/, ":" + id + "$1")] })], i); case "::placeholder": return Rs([Ml(t, { props: [lt(o, /:(plac\w+)/, ":" + st + "input-$1")] }), Ml(t, { props: [lt(o, /:(plac\w+)/, ":" + id + "$1")] }), Ml(t, { props: [lt(o, /:(plac\w+)/, In + "input-$1")] })], i); } return ""; }); } }, UN = [BN], HN = function(t) { var n = t.key; if (n === "css") { var r = document.querySelectorAll("style[data-emotion]:not([data-s])"); Array.prototype.forEach.call(r, function(S) { var b = S.getAttribute("data-emotion"); b.indexOf(" ") !== -1 && (document.head.appendChild(S), S.setAttribute("data-s", "")); }); } var i = t.stylisPlugins || UN, o = {}, s, u = []; s = 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^="' + n + ' "]'), function(S) { for (var b = S.getAttribute("data-emotion").split(" "), O = 1; O < b.length; O++) o[b[O]] = !0; u.push(S); } ); var c, d = [DN, jN]; { var p, h = [AN, kN(function(S) { p.insert(S); })], m = IN(d.concat(i, h)), y = function(b) { return Rs(PN(b), m); }; c = function(b, O, C, _) { p = C, y(b ? b + "{" + O.styles + "}" : O.styles), _ && (w.inserted[O.name] = !0); }; } var w = { key: n, sheet: new mN({ key: n, container: s, nonce: t.nonce, speedy: t.speedy, prepend: t.prepend, insertionPoint: t.insertionPoint }), nonce: t.nonce, inserted: o, registered: {}, insert: c }; return w.sheet.hydrate(u), w; }; function Ot() { return Ot = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, Ot.apply(null, arguments); } var KE = { exports: {} }, dt = {}; /** @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 jS; function zN() { if (jS) return dt; jS = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119; function _(P) { if (typeof P == "object" && P !== null) { var I = P.$$typeof; switch (I) { case t: switch (P = P.type, P) { case c: case d: case r: case o: case i: case h: return P; default: switch (P = P && P.$$typeof, P) { case u: case p: case w: case y: case s: return P; default: return I; } } case n: return I; } } } function A(P) { return _(P) === d; } return dt.AsyncMode = c, dt.ConcurrentMode = d, dt.ContextConsumer = u, dt.ContextProvider = s, dt.Element = t, dt.ForwardRef = p, dt.Fragment = r, dt.Lazy = w, dt.Memo = y, dt.Portal = n, dt.Profiler = o, dt.StrictMode = i, dt.Suspense = h, dt.isAsyncMode = function(P) { return A(P) || _(P) === c; }, dt.isConcurrentMode = A, dt.isContextConsumer = function(P) { return _(P) === u; }, dt.isContextProvider = function(P) { return _(P) === s; }, dt.isElement = function(P) { return typeof P == "object" && P !== null && P.$$typeof === t; }, dt.isForwardRef = function(P) { return _(P) === p; }, dt.isFragment = function(P) { return _(P) === r; }, dt.isLazy = function(P) { return _(P) === w; }, dt.isMemo = function(P) { return _(P) === y; }, dt.isPortal = function(P) { return _(P) === n; }, dt.isProfiler = function(P) { return _(P) === o; }, dt.isStrictMode = function(P) { return _(P) === i; }, dt.isSuspense = function(P) { return _(P) === h; }, dt.isValidElementType = function(P) { return typeof P == "string" || typeof P == "function" || P === r || P === d || P === o || P === i || P === h || P === m || typeof P == "object" && P !== null && (P.$$typeof === w || P.$$typeof === y || P.$$typeof === s || P.$$typeof === u || P.$$typeof === p || P.$$typeof === b || P.$$typeof === O || P.$$typeof === C || P.$$typeof === S); }, dt.typeOf = _, dt; } KE.exports = zN(); var VN = KE.exports, XE = VN, WN = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, GN = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, YE = {}; YE[XE.ForwardRef] = WN; YE[XE.Memo] = GN; var qN = !0; function KN(e, t, n) { var r = ""; return n.split(" ").forEach(function(i) { e[i] !== void 0 ? t.push(e[i] + ";") : r += i + " "; }), r; } var QE = function(t, n, r) { var i = t.key + "-" + n.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 (r === !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 qN === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles); }, JE = function(t, n, r) { QE(t, n, r); var i = t.key + "-" + n.name; if (t.inserted[n.name] === void 0) { var o = n; do t.insert(n === o ? "." + i : "", o, t.sheet, !0), o = o.next; while (o !== void 0); } }; function XN(e) { for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ n >>> 24, t = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); switch (i) { case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16; case 2: t ^= (e.charCodeAt(r + 1) & 255) << 8; case 1: t ^= e.charCodeAt(r) & 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 YN = { 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 }, QN = !1, JN = /[A-Z]|^ms/g, ZN = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ZE = function(t) { return t.charCodeAt(1) === 45; }, BS = function(t) { return t != null && typeof t != "boolean"; }, gm = /* @__PURE__ */ $N(function(e) { return ZE(e) ? e : e.replace(JN, "-$&").toLowerCase(); }), US = function(t, n) { switch (t) { case "animation": case "animationName": if (typeof n == "string") return n.replace(ZN, function(r, i, o) { return gi = { name: i, styles: o, next: gi }, i; }); } return YN[t] !== 1 && !ZE(t) && typeof n == "number" && n !== 0 ? n + "px" : n; }, eA = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform."; function cu(e, t, n) { if (n == null) return ""; var r = n; if (r.__emotion_styles !== void 0) return r; switch (typeof n) { case "boolean": return ""; case "object": { var i = n; if (i.anim === 1) return gi = { name: i.name, styles: i.styles, next: gi }, i.name; var o = n; if (o.styles !== void 0) { var s = o.next; if (s !== void 0) for (; s !== void 0; ) gi = { name: s.name, styles: s.styles, next: gi }, s = s.next; var u = o.styles + ";"; return u; } return tA(e, t, n); } case "function": { if (e !== void 0) { var c = gi, d = n(e); return gi = c, cu(e, t, d); } break; } } var p = n; return p; } function tA(e, t, n) { var r = ""; if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += cu(e, t, n[i]) + ";"; else for (var o in n) { var s = n[o]; if (typeof s != "object") { var u = s; BS(u) && (r += gm(o) + ":" + US(o, u) + ";"); } else { if (o === "NO_COMPONENT_SELECTOR" && QN) throw new Error(eA); if (Array.isArray(s) && typeof s[0] == "string" && t == null) for (var c = 0; c < s.length; c++) BS(s[c]) && (r += gm(o) + ":" + US(o, s[c]) + ";"); else { var d = cu(e, t, s); switch (o) { case "animation": case "animationName": { r += gm(o) + ":" + d + ";"; break; } default: r += o + "{" + d + "}"; } } } } return r; } var HS = /label:\s*([^\s;\n{]+)\s*(;|$)/g, gi; function Kv(e, t, n) { if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0]; var r = !0, i = ""; gi = void 0; var o = e[0]; if (o == null || o.raw === void 0) r = !1, i += cu(n, t, o); else { var s = o; i += s[0]; } for (var u = 1; u < e.length; u++) if (i += cu(n, t, e[u]), r) { var c = o; i += c[u]; } HS.lastIndex = 0; for (var d = "", p; (p = HS.exec(i)) !== null; ) d += "-" + p[1]; var h = XN(i) + d; return { name: h, styles: i, next: gi }; } var nA = function(t) { return t(); }, eC = Ta.useInsertionEffect ? Ta.useInsertionEffect : !1, rA = eC || nA, zS = eC || E.useLayoutEffect, iA = !1, tC = /* @__PURE__ */ E.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__ */ HN({ key: "css" }) : null ); tC.Provider; var nC = function(t) { return /* @__PURE__ */ E.forwardRef(function(n, r) { var i = E.useContext(tC); return t(n, i, r); }); }, fu = /* @__PURE__ */ E.createContext({}), nq = function() { return E.useContext(fu); }, oA = function(t, n) { if (typeof n == "function") { var r = n(t); return r; } return Ot({}, t, n); }, aA = /* @__PURE__ */ FS(function(e) { return FS(function(t) { return oA(e, t); }); }), sA = function(t) { var n = E.useContext(fu); return t.theme !== n && (n = aA(n)(t.theme)), /* @__PURE__ */ E.createElement(fu.Provider, { value: n }, t.children); }, Bu = {}.hasOwnProperty, bg = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Xv = function(t, n) { var r = {}; for (var i in n) Bu.call(n, i) && (r[i] = n[i]); return r[bg] = t, r; }, lA = function(t) { var n = t.cache, r = t.serialized, i = t.isStringTag; return QE(n, r, i), rA(function() { return JE(n, r, i); }), null; }, uA = /* @__PURE__ */ nC( /* <any, any> */ function(e, t, n) { var r = e.css; typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]); var i = e[bg], o = [r], s = ""; typeof e.className == "string" ? s = KN(t.registered, o, e.className) : e.className != null && (s = e.className + " "); var u = Kv(o, void 0, E.useContext(fu)); s += t.key + "-" + u.name; var c = {}; for (var d in e) Bu.call(e, d) && d !== "css" && d !== bg && !iA && (c[d] = e[d]); return c.className = s, n && (c.ref = n), /* @__PURE__ */ E.createElement(E.Fragment, null, /* @__PURE__ */ E.createElement(lA, { cache: t, serialized: u, isStringTag: typeof i == "string" }), /* @__PURE__ */ E.createElement(i, c)); } ), Yv = uA, rq = function(t, n) { var r = arguments; if (n == null || !Bu.call(n, "css")) return E.createElement.apply(void 0, r); var i = r.length, o = new Array(i); o[0] = Yv, o[1] = Xv(t, n); for (var s = 2; s < i; s++) o[s] = r[s]; return E.createElement.apply(null, o); }, cA = /* @__PURE__ */ nC(function(e, t) { var n = e.styles, r = Kv([n], void 0, E.useContext(fu)), i = E.useRef(); return zS(function() { var o = t.key + "-global", s = new t.sheet.constructor({ key: o, nonce: t.sheet.nonce, container: t.sheet.container, speedy: t.sheet.isSpeedy }), u = !1, c = document.querySelector('style[data-emotion="' + o + " " + r.name + '"]'); return t.sheet.tags.length && (s.before = t.sheet.tags[0]), c !== null && (u = !0, c.setAttribute("data-emotion", o), s.hydrate([c])), i.current = [s, u], function() { s.flush(); }; }, [t]), zS(function() { var o = i.current, s = o[0], u = o[1]; if (u) { o[1] = !1; return; } if (r.next !== void 0 && JE(t, r.next, !0), s.tags.length) { var c = s.tags[s.tags.length - 1].nextElementSibling; s.before = c, s.flush(); } t.insert("", r, s, !1); }, [t, r.name]), null; }); function iq() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; return Kv(t); } var wg = {}, rC = { exports: {} }, tr = {}, vm = { exports: {} }, ym = {}; /** * @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 VS; function fA() { return VS || (VS = 1, function(e) { function t(D, L) { var T = D.length; D.push(L); e: for (; 0 < T; ) { var $ = T - 1 >>> 1, q = D[$]; if (0 < i(q, L)) D[$] = L, D[T] = q, T = $; else break e; } } function n(D) { return D.length === 0 ? null : D[0]; } function r(D) { if (D.length === 0) return null; var L = D[0], T = D.pop(); if (T !== L) { D[0] = T; e: for (var $ = 0, q = D.length, Y = q >>> 1; $ < Y; ) { var ie = 2 * ($ + 1) - 1, le = D[ie], pe = ie + 1, ge = D[pe]; if (0 > i(le, T)) pe < q && 0 > i(ge, le) ? (D[$] = ge, D[pe] = T, $ = pe) : (D[$] = le, D[ie] = T, $ = ie); else if (pe < q && 0 > i(ge, T)) D[$] = ge, D[pe] = T, $ = pe; else break e; } } return L; } function i(D, L) { var T = D.sortIndex - L.sortIndex; return T !== 0 ? T : D.id - L.id; } if (typeof performance == "object" && typeof performance.now == "function") { var o = performance; e.unstable_now = function() { return o.now(); }; } else { var s = Date, u = s.now(); e.unstable_now = function() { return s.now() - u; }; } var c = [], d = [], p = 1, h = null, m = 3, y = !1, w = !1, S = !1, b = typeof setTimeout == "function" ? setTimeout : null, O = typeof clearTimeout == "function" ? clearTimeout : null, C = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function _(D) { for (var L = n(d); L !== null; ) { if (L.callback === null) r(d); else if (L.startTime <= D) r(d), L.sortIndex = L.expirationTime, t(c, L); else break; L = n(d); } } function A(D) { if (S = !1, _(D), !w) if (n(c) !== null) w = !0, G(P); else { var L = n(d); L !== null && U(A, L.startTime - D); } } function P(D, L) { w = !1, S && (S = !1, O(N), N = -1), y = !0; var T = m; try { for (_(L), h = n(c); h !== null && (!(h.expirationTime > L) || D && !z()); ) { var $ = h.callback; if (typeof $ == "function") { h.callback = null, m = h.priorityLevel; var q = $(h.expirationTime <= L); L = e.unstable_now(), typeof q == "function" ? h.callback = q : h === n(c) && r(c), _(L); } else r(c); h = n(c); } if (h !== null) var Y = !0; else { var ie = n(d); ie !== null && U(A, ie.startTime - L), Y = !1; } return Y; } finally { h = null, m = T, y = !1; } } var I = !1, k = null, N = -1, F = 5, H = -1; function z() { return !(e.unstable_now() - H < F); } function ne() { if (k !== null) { var D = e.unstable_now(); H = D; var L = !0; try { L = k(!0, D); } finally { L ? te() : (I = !1, k = null); } } else I = !1; } var te; if (typeof C == "function") te = function() { C(ne); }; else if (typeof MessageChannel < "u") { var X = new MessageChannel(), fe = X.port2; X.port1.onmessage = ne, te = function() { fe.postMessage(null); }; } else te = function() { b(ne, 0); }; function G(D) { k = D, I || (I = !0, te()); } function U(D, L) { N = b(function() { D(e.unstable_now()); }, L); } e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(D) { D.callback = null; }, e.unstable_continueExecution = function() { w || y || (w = !0, G(P)); }, e.unstable_forceFrameRate = function(D) { 0 > D || 125 < D || (F = 0 < D ? Math.floor(1e3 / D) : 5); }, e.unstable_getCurrentPriorityLevel = function() { return m; }, e.unstable_getFirstCallbackNode = function() { return n(c); }, e.unstable_next = function(D) { switch (m) { case 1: case 2: case 3: var L = 3; break; default: L = m; } var T = m; m = L; try { return D(); } finally { m = T; } }, e.unstable_pauseExecution = function() { }, e.unstable_requestPaint = function() { }, e.unstable_runWithPriority = function(D, L) { switch (D) { case 1: case 2: case 3: case 4: case 5: break; default: D = 3; } var T = m; m = D; try { return L(); } finally { m = T; } }, e.unstable_scheduleCallback = function(D, L, T) { var $ = e.unstable_now(); switch (typeof T == "object" && T !== null ? (T = T.delay, T = typeof T == "number" && 0 < T ? $ + T : $) : T = $, D) { case 1: var q = -1; break; case 2: q = 250; break; case 5: q = 1073741823; break; case 4: q = 1e4; break; default: q = 5e3; } return q = T + q, D = { id: p++, callback: L, priorityLevel: D, startTime: T, expirationTime: q, sortIndex: -1 }, T > $ ? (D.sortIndex = T, t(d, D), n(c) === null && D === n(d) && (S ? (O(N), N = -1) : S = !0, U(A, T - $))) : (D.sortIndex = q, t(c, D), w || y || (w = !0, G(P))), D; }, e.unstable_shouldYield = z, e.unstable_wrapCallback = function(D) { var L = m; return function() { var T = m; m = L; try { return D.apply(this, arguments); } finally { m = T; } }; }; }(ym)), ym; } var WS; function dA() { return WS || (WS = 1, vm.exports = fA()), vm.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 GS; function pA() { if (GS) return tr; GS = 1; var e = E, t = dA(); function n(a) { for (var l = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, f = 1; f < arguments.length; f++) l += "&args[]=" + encodeURIComponent(arguments[f]); return "Minified React error #" + a + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var r = /* @__PURE__ */ new Set(), i = {}; function o(a, l) { s(a, l), s(a + "Capture", l); } function s(a, l) { for (i[a] = l, a = 0; a < l.length; a++) r.add(l[a]); } var u = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), c = Object.prototype.hasOwnProperty, d = /^[: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]*$/, p = {}, h = {}; function m(a) { return c.call(h, a) ? !0 : c.call(p, a) ? !1 : d.test(a) ? h[a] = !0 : (p[a] = !0, !1); } function y(a, l, f, g) { if (f !== null && f.type === 0) return !1; switch (typeof l) { case "function": case "symbol": return !0; case "boolean": return g ? !1 : f !== null ? !f.acceptsBooleans : (a = a.toLowerCase().slice(0, 5), a !== "data-" && a !== "aria-"); default: return !1; } } function w(a, l, f, g) { if (l === null || typeof l > "u" || y(a, l, f, g)) return !0; if (g) return !1; if (f !== null) switch (f.type) { case 3: return !l; case 4: return l === !1; case 5: return isNaN(l); case 6: return isNaN(l) || 1 > l; } return !1; } function S(a, l, f, g, v, x, R) { this.acceptsBooleans = l === 2 || l === 3 || l === 4, this.attributeName = g, this.attributeNamespace = v, this.mustUseProperty = f, this.propertyName = a, this.type = l, this.sanitizeURL = x, this.removeEmptyString = R; } var b = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { b[a] = new S(a, 0, !1, a, null, !1, !1); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { var l = a[0]; b[l] = new S(l, 1, !1, a[1], null, !1, !1); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { b[a] = new S(a, 2, !1, a.toLowerCase(), null, !1, !1); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { b[a] = new S(a, 2, !1, a, 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(a) { b[a] = new S(