UNPKG

devin-test

Version:

With OmniConnect, users can connect effortlessly across all platforms—whether it's a plugin, mobile app, TGMini App, or Web/H5. No matter where users are or which blockchain they want to interact with, OmniConnect provides direct, seamless access, ensurin

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