UNPKG

@desivocal/agents-cdn

Version:

Free Text To speech and AI Voice generator

1,274 lines (1,268 loc) 2.61 MB
function _mergeNamespaces(n, t) { for (var a = 0; a < t.length; a++) { const s = t[a]; if (typeof s != "string" && !Array.isArray(s)) { for (const u in s) if (u !== "default" && !(u in n)) { const d = Object.getOwnPropertyDescriptor(s, u); d && Object.defineProperty(n, u, d.get ? d : { enumerable: !0, get: () => s[u] }); } } } return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); } var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function getDefaultExportFromCjs$1(n) { return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n; } var jsxRuntime = { exports: {} }, reactJsxRuntime_production_min = {}, react = { exports: {} }, react_production_min = {}; /** * @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 hasRequiredReact_production_min; function requireReact_production_min() { if (hasRequiredReact_production_min) return react_production_min; hasRequiredReact_production_min = 1; var n = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), T = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), q = Symbol.iterator; function V(Se) { return Se === null || typeof Se != "object" ? null : (Se = q && Se[q] || Se["@@iterator"], typeof Se == "function" ? Se : null); } var K = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, Z = Object.assign, X = {}; function fe(Se, Be, ft) { this.props = Se, this.context = Be, this.refs = X, this.updater = ft || K; } fe.prototype.isReactComponent = {}, fe.prototype.setState = function(Se, Be) { if (typeof Se != "object" && typeof Se != "function" && Se != 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, Se, Be, "setState"); }, fe.prototype.forceUpdate = function(Se) { this.updater.enqueueForceUpdate(this, Se, "forceUpdate"); }; function Q() { } Q.prototype = fe.prototype; function le(Se, Be, ft) { this.props = Se, this.context = Be, this.refs = X, this.updater = ft || K; } var te = le.prototype = new Q(); te.constructor = le, Z(te, fe.prototype), te.isPureReactComponent = !0; var ie = Array.isArray, se = Object.prototype.hasOwnProperty, Te = { current: null }, Pe = { key: !0, ref: !0, __self: !0, __source: !0 }; function De(Se, Be, ft) { var xt, Rt = {}, Bt = null, It = null; if (Be != null) for (xt in Be.ref !== void 0 && (It = Be.ref), Be.key !== void 0 && (Bt = "" + Be.key), Be) se.call(Be, xt) && !Pe.hasOwnProperty(xt) && (Rt[xt] = Be[xt]); var Ut = arguments.length - 2; if (Ut === 1) Rt.children = ft; else if (1 < Ut) { for (var Gt = Array(Ut), $t = 0; $t < Ut; $t++) Gt[$t] = arguments[$t + 2]; Rt.children = Gt; } if (Se && Se.defaultProps) for (xt in Ut = Se.defaultProps, Ut) Rt[xt] === void 0 && (Rt[xt] = Ut[xt]); return { $$typeof: n, type: Se, key: Bt, ref: It, props: Rt, _owner: Te.current }; } function qe(Se, Be) { return { $$typeof: n, type: Se.type, key: Be, ref: Se.ref, props: Se.props, _owner: Se._owner }; } function rt(Se) { return typeof Se == "object" && Se !== null && Se.$$typeof === n; } function Ge(Se) { var Be = { "=": "=0", ":": "=2" }; return "$" + Se.replace(/[=:]/g, function(ft) { return Be[ft]; }); } var ze = /\/+/g; function ut(Se, Be) { return typeof Se == "object" && Se !== null && Se.key != null ? Ge("" + Se.key) : Be.toString(36); } function at(Se, Be, ft, xt, Rt) { var Bt = typeof Se; (Bt === "undefined" || Bt === "boolean") && (Se = null); var It = !1; if (Se === null) It = !0; else switch (Bt) { case "string": case "number": It = !0; break; case "object": switch (Se.$$typeof) { case n: case t: It = !0; } } if (It) return It = Se, Rt = Rt(It), Se = xt === "" ? "." + ut(It, 0) : xt, ie(Rt) ? (ft = "", Se != null && (ft = Se.replace(ze, "$&/") + "/"), at(Rt, Be, ft, "", function($t) { return $t; })) : Rt != null && (rt(Rt) && (Rt = qe(Rt, ft + (!Rt.key || It && It.key === Rt.key ? "" : ("" + Rt.key).replace(ze, "$&/") + "/") + Se)), Be.push(Rt)), 1; if (It = 0, xt = xt === "" ? "." : xt + ":", ie(Se)) for (var Ut = 0; Ut < Se.length; Ut++) { Bt = Se[Ut]; var Gt = xt + ut(Bt, Ut); It += at(Bt, Be, ft, Gt, Rt); } else if (Gt = V(Se), typeof Gt == "function") for (Se = Gt.call(Se), Ut = 0; !(Bt = Se.next()).done; ) Bt = Bt.value, Gt = xt + ut(Bt, Ut++), It += at(Bt, Be, ft, Gt, Rt); else if (Bt === "object") throw Be = String(Se), Error("Objects are not valid as a React child (found: " + (Be === "[object Object]" ? "object with keys {" + Object.keys(Se).join(", ") + "}" : Be) + "). If you meant to render a collection of children, use an array instead."); return It; } function Ke(Se, Be, ft) { if (Se == null) return Se; var xt = [], Rt = 0; return at(Se, xt, "", "", function(Bt) { return Be.call(ft, Bt, Rt++); }), xt; } function Oe(Se) { if (Se._status === -1) { var Be = Se._result; Be = Be(), Be.then(function(ft) { (Se._status === 0 || Se._status === -1) && (Se._status = 1, Se._result = ft); }, function(ft) { (Se._status === 0 || Se._status === -1) && (Se._status = 2, Se._result = ft); }), Se._status === -1 && (Se._status = 0, Se._result = Be); } if (Se._status === 1) return Se._result.default; throw Se._result; } var Le = { current: null }, he = { transition: null }, be = { ReactCurrentDispatcher: Le, ReactCurrentBatchConfig: he, ReactCurrentOwner: Te }; function Fe() { throw Error("act(...) is not supported in production builds of React."); } return react_production_min.Children = { map: Ke, forEach: function(Se, Be, ft) { Ke(Se, function() { Be.apply(this, arguments); }, ft); }, count: function(Se) { var Be = 0; return Ke(Se, function() { Be++; }), Be; }, toArray: function(Se) { return Ke(Se, function(Be) { return Be; }) || []; }, only: function(Se) { if (!rt(Se)) throw Error("React.Children.only expected to receive a single React element child."); return Se; } }, react_production_min.Component = fe, react_production_min.Fragment = a, react_production_min.Profiler = u, react_production_min.PureComponent = le, react_production_min.StrictMode = s, react_production_min.Suspense = S, react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = be, react_production_min.act = Fe, react_production_min.cloneElement = function(Se, Be, ft) { if (Se == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + Se + "."); var xt = Z({}, Se.props), Rt = Se.key, Bt = Se.ref, It = Se._owner; if (Be != null) { if (Be.ref !== void 0 && (Bt = Be.ref, It = Te.current), Be.key !== void 0 && (Rt = "" + Be.key), Se.type && Se.type.defaultProps) var Ut = Se.type.defaultProps; for (Gt in Be) se.call(Be, Gt) && !Pe.hasOwnProperty(Gt) && (xt[Gt] = Be[Gt] === void 0 && Ut !== void 0 ? Ut[Gt] : Be[Gt]); } var Gt = arguments.length - 2; if (Gt === 1) xt.children = ft; else if (1 < Gt) { Ut = Array(Gt); for (var $t = 0; $t < Gt; $t++) Ut[$t] = arguments[$t + 2]; xt.children = Ut; } return { $$typeof: n, type: Se.type, key: Rt, ref: Bt, props: xt, _owner: It }; }, react_production_min.createContext = function(Se) { return Se = { $$typeof: p, _currentValue: Se, _currentValue2: Se, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, Se.Provider = { $$typeof: d, _context: Se }, Se.Consumer = Se; }, react_production_min.createElement = De, react_production_min.createFactory = function(Se) { var Be = De.bind(null, Se); return Be.type = Se, Be; }, react_production_min.createRef = function() { return { current: null }; }, react_production_min.forwardRef = function(Se) { return { $$typeof: g, render: Se }; }, react_production_min.isValidElement = rt, react_production_min.lazy = function(Se) { return { $$typeof: O, _payload: { _status: -1, _result: Se }, _init: Oe }; }, react_production_min.memo = function(Se, Be) { return { $$typeof: T, type: Se, compare: Be === void 0 ? null : Be }; }, react_production_min.startTransition = function(Se) { var Be = he.transition; he.transition = {}; try { Se(); } finally { he.transition = Be; } }, react_production_min.unstable_act = Fe, react_production_min.useCallback = function(Se, Be) { return Le.current.useCallback(Se, Be); }, react_production_min.useContext = function(Se) { return Le.current.useContext(Se); }, react_production_min.useDebugValue = function() { }, react_production_min.useDeferredValue = function(Se) { return Le.current.useDeferredValue(Se); }, react_production_min.useEffect = function(Se, Be) { return Le.current.useEffect(Se, Be); }, react_production_min.useId = function() { return Le.current.useId(); }, react_production_min.useImperativeHandle = function(Se, Be, ft) { return Le.current.useImperativeHandle(Se, Be, ft); }, react_production_min.useInsertionEffect = function(Se, Be) { return Le.current.useInsertionEffect(Se, Be); }, react_production_min.useLayoutEffect = function(Se, Be) { return Le.current.useLayoutEffect(Se, Be); }, react_production_min.useMemo = function(Se, Be) { return Le.current.useMemo(Se, Be); }, react_production_min.useReducer = function(Se, Be, ft) { return Le.current.useReducer(Se, Be, ft); }, react_production_min.useRef = function(Se) { return Le.current.useRef(Se); }, react_production_min.useState = function(Se) { return Le.current.useState(Se); }, react_production_min.useSyncExternalStore = function(Se, Be, ft) { return Le.current.useSyncExternalStore(Se, Be, ft); }, react_production_min.useTransition = function() { return Le.current.useTransition(); }, react_production_min.version = "18.3.1", react_production_min; } var react_development = { exports: {} }; react_development.exports; var hasRequiredReact_development; function requireReact_development() { return hasRequiredReact_development || (hasRequiredReact_development = 1, function(n, t) { var a = {}; /** * @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. */ a.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 s = "18.3.1", u = Symbol.for("react.element"), d = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), O = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), V = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), Z = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), fe = Symbol.for("react.offscreen"), Q = Symbol.iterator, le = "@@iterator"; function te(we) { if (we === null || typeof we != "object") return null; var We = Q && we[Q] || we[le]; return typeof We == "function" ? We : null; } var ie = { /** * @internal * @type {ReactComponent} */ current: null }, se = { transition: null }, Te = { current: null, // Used to reproduce behavior of `batchedUpdates` in legacy mode. isBatchingLegacy: !1, didScheduleLegacyUpdate: !1 }, Pe = { /** * @internal * @type {ReactComponent} */ current: null }, De = {}, qe = null; function rt(we) { qe = we; } De.setExtraStackFrame = function(we) { qe = we; }, De.getCurrentStack = null, De.getStackAddendum = function() { var we = ""; qe && (we += qe); var We = De.getCurrentStack; return We && (we += We() || ""), we; }; var Ge = !1, ze = !1, ut = !1, at = !1, Ke = !1, Oe = { ReactCurrentDispatcher: ie, ReactCurrentBatchConfig: se, ReactCurrentOwner: Pe }; Oe.ReactDebugCurrentFrame = De, Oe.ReactCurrentActQueue = Te; function Le(we) { { for (var We = arguments.length, yt = new Array(We > 1 ? We - 1 : 0), wt = 1; wt < We; wt++) yt[wt - 1] = arguments[wt]; be("warn", we, yt); } } function he(we) { { for (var We = arguments.length, yt = new Array(We > 1 ? We - 1 : 0), wt = 1; wt < We; wt++) yt[wt - 1] = arguments[wt]; be("error", we, yt); } } function be(we, We, yt) { { var wt = Oe.ReactDebugCurrentFrame, Jt = wt.getStackAddendum(); Jt !== "" && (We += "%s", yt = yt.concat([Jt])); var In = yt.map(function(Pn) { return String(Pn); }); In.unshift("Warning: " + We), Function.prototype.apply.call(console[we], console, In); } } var Fe = {}; function Se(we, We) { { var yt = we.constructor, wt = yt && (yt.displayName || yt.name) || "ReactClass", Jt = wt + "." + We; if (Fe[Jt]) return; he("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.", We, wt), Fe[Jt] = !0; } } var Be = { /** * 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(we) { 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(we, We, yt) { Se(we, "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(we, We, yt, wt) { Se(we, "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(we, We, yt, wt) { Se(we, "setState"); } }, ft = Object.assign, xt = {}; Object.freeze(xt); function Rt(we, We, yt) { this.props = we, this.context = We, this.refs = xt, this.updater = yt || Be; } Rt.prototype.isReactComponent = {}, Rt.prototype.setState = function(we, We) { if (typeof we != "object" && typeof we != "function" && we != 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, we, We, "setState"); }, Rt.prototype.forceUpdate = function(we) { this.updater.enqueueForceUpdate(this, we, "forceUpdate"); }; { var Bt = { 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)."] }, It = function(we, We) { Object.defineProperty(Rt.prototype, we, { get: function() { Le("%s(...) is deprecated in plain JavaScript React classes. %s", We[0], We[1]); } }); }; for (var Ut in Bt) Bt.hasOwnProperty(Ut) && It(Ut, Bt[Ut]); } function Gt() { } Gt.prototype = Rt.prototype; function $t(we, We, yt) { this.props = we, this.context = We, this.refs = xt, this.updater = yt || Be; } var En = $t.prototype = new Gt(); En.constructor = $t, ft(En, Rt.prototype), En.isPureReactComponent = !0; function Kn() { var we = { current: null }; return Object.seal(we), we; } var Nt = Array.isArray; function Kt(we) { return Nt(we); } function ui(we) { { var We = typeof Symbol == "function" && Symbol.toStringTag, yt = We && we[Symbol.toStringTag] || we.constructor.name || "Object"; return yt; } } function ci(we) { try { return fi(we), !1; } catch { return !0; } } function fi(we) { return "" + we; } function Xi(we) { if (ci(we)) return he("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ui(we)), fi(we); } function Gi(we, We, yt) { var wt = we.displayName; if (wt) return wt; var Jt = We.displayName || We.name || ""; return Jt !== "" ? yt + "(" + Jt + ")" : yt; } function Zi(we) { return we.displayName || "Context"; } function li(we) { if (we == null) return null; if (typeof we.tag == "number" && he("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof we == "function") return we.displayName || we.name || null; if (typeof we == "string") return we; switch (we) { case p: return "Fragment"; case d: return "Portal"; case S: return "Profiler"; case g: return "StrictMode"; case V: return "Suspense"; case K: return "SuspenseList"; } if (typeof we == "object") switch (we.$$typeof) { case O: var We = we; return Zi(We) + ".Consumer"; case T: var yt = we; return Zi(yt._context) + ".Provider"; case q: return Gi(we, we.render, "ForwardRef"); case Z: var wt = we.displayName || null; return wt !== null ? wt : li(we.type) || "Memo"; case X: { var Jt = we, In = Jt._payload, Pn = Jt._init; try { return li(Pn(In)); } catch { return null; } } } return null; } var Fi = Object.prototype.hasOwnProperty, Ui = { key: !0, ref: !0, __self: !0, __source: !0 }, ki, ya, pi; pi = {}; function Qi(we) { if (Fi.call(we, "ref")) { var We = Object.getOwnPropertyDescriptor(we, "ref").get; if (We && We.isReactWarning) return !1; } return we.ref !== void 0; } function ka(we) { if (Fi.call(we, "key")) { var We = Object.getOwnPropertyDescriptor(we, "key").get; if (We && We.isReactWarning) return !1; } return we.key !== void 0; } function Ts(we, We) { var yt = function() { ki || (ki = !0, he("%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)", We)); }; yt.isReactWarning = !0, Object.defineProperty(we, "key", { get: yt, configurable: !0 }); } function Ia(we, We) { var yt = function() { ya || (ya = !0, he("%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)", We)); }; yt.isReactWarning = !0, Object.defineProperty(we, "ref", { get: yt, configurable: !0 }); } function en(we) { if (typeof we.ref == "string" && Pe.current && we.__self && Pe.current.stateNode !== we.__self) { var We = li(Pe.current.type); pi[We] || (he('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', We, we.ref), pi[We] = !0); } } var Gn = function(we, We, yt, wt, Jt, In, Pn) { var Qn = { // This tag allows us to uniquely identify this as a React Element $$typeof: u, // Built-in properties that belong on the element type: we, key: We, ref: yt, props: Pn, // Record the component responsible for creating this element. _owner: In }; return Qn._store = {}, Object.defineProperty(Qn._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(Qn, "_self", { configurable: !1, enumerable: !1, writable: !1, value: wt }), Object.defineProperty(Qn, "_source", { configurable: !1, enumerable: !1, writable: !1, value: Jt }), Object.freeze && (Object.freeze(Qn.props), Object.freeze(Qn)), Qn; }; function lr(we, We, yt) { var wt, Jt = {}, In = null, Pn = null, Qn = null, cr = null; if (We != null) { Qi(We) && (Pn = We.ref, en(We)), ka(We) && (Xi(We.key), In = "" + We.key), Qn = We.__self === void 0 ? null : We.__self, cr = We.__source === void 0 ? null : We.__source; for (wt in We) Fi.call(We, wt) && !Ui.hasOwnProperty(wt) && (Jt[wt] = We[wt]); } var Ei = arguments.length - 2; if (Ei === 1) Jt.children = yt; else if (Ei > 1) { for (var Di = Array(Ei), Mi = 0; Mi < Ei; Mi++) Di[Mi] = arguments[Mi + 2]; Object.freeze && Object.freeze(Di), Jt.children = Di; } if (we && we.defaultProps) { var sr = we.defaultProps; for (wt in sr) Jt[wt] === void 0 && (Jt[wt] = sr[wt]); } if (In || Pn) { var qi = typeof we == "function" ? we.displayName || we.name || "Unknown" : we; In && Ts(Jt, qi), Pn && Ia(Jt, qi); } return Gn(we, In, Pn, Qn, cr, Pe.current, Jt); } function yi(we, We) { var yt = Gn(we.type, We, we.ref, we._self, we._source, we._owner, we.props); return yt; } function Ji(we, We, yt) { if (we == null) throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + we + "."); var wt, Jt = ft({}, we.props), In = we.key, Pn = we.ref, Qn = we._self, cr = we._source, Ei = we._owner; if (We != null) { Qi(We) && (Pn = We.ref, Ei = Pe.current), ka(We) && (Xi(We.key), In = "" + We.key); var Di; we.type && we.type.defaultProps && (Di = we.type.defaultProps); for (wt in We) Fi.call(We, wt) && !Ui.hasOwnProperty(wt) && (We[wt] === void 0 && Di !== void 0 ? Jt[wt] = Di[wt] : Jt[wt] = We[wt]); } var Mi = arguments.length - 2; if (Mi === 1) Jt.children = yt; else if (Mi > 1) { for (var sr = Array(Mi), qi = 0; qi < Mi; qi++) sr[qi] = arguments[qi + 2]; Jt.children = sr; } return Gn(we.type, In, Pn, Qn, cr, Ei, Jt); } function _i(we) { return typeof we == "object" && we !== null && we.$$typeof === u; } var ea = ".", La = ":"; function Yi(we) { var We = /[=:]/g, yt = { "=": "=0", ":": "=2" }, wt = we.replace(We, function(Jt) { return yt[Jt]; }); return "$" + wt; } var Pi = !1, Si = /\/+/g; function Xs(we) { return we.replace(Si, "$&/"); } function so(we, We) { return typeof we == "object" && we !== null && we.key != null ? (Xi(we.key), Yi("" + we.key)) : We.toString(36); } function oo(we, We, yt, wt, Jt) { var In = typeof we; (In === "undefined" || In === "boolean") && (we = null); var Pn = !1; if (we === null) Pn = !0; else switch (In) { case "string": case "number": Pn = !0; break; case "object": switch (we.$$typeof) { case u: case d: Pn = !0; } } if (Pn) { var Qn = we, cr = Jt(Qn), Ei = wt === "" ? ea + so(Qn, 0) : wt; if (Kt(cr)) { var Di = ""; Ei != null && (Di = Xs(Ei) + "/"), oo(cr, We, Di, "", function(Mh) { return Mh; }); } else cr != null && (_i(cr) && (cr.key && (!Qn || Qn.key !== cr.key) && Xi(cr.key), cr = yi( cr, // Keep both the (mapped) and old keys if they differ, just as // traverseAllChildren used to do for objects as children yt + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key (cr.key && (!Qn || Qn.key !== cr.key) ? ( // $FlowFixMe Flow incorrectly thinks existing element's key can be a number // eslint-disable-next-line react-internal/safe-string-coercion Xs("" + cr.key) + "/" ) : "") + Ei )), We.push(cr)); return 1; } var Mi, sr, qi = 0, fa = wt === "" ? ea : wt + La; if (Kt(we)) for (var Mu = 0; Mu < we.length; Mu++) Mi = we[Mu], sr = fa + so(Mi, Mu), qi += oo(Mi, We, yt, sr, Jt); else { var Pd = te(we); if (typeof Pd == "function") { var Sl = we; Pd === Sl.entries && (Pi || Le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Pi = !0); for (var Iu = Pd.call(Sl), Rd, Dh = 0; !(Rd = Iu.next()).done; ) Mi = Rd.value, sr = fa + so(Mi, Dh++), qi += oo(Mi, We, yt, sr, Jt); } else if (In === "object") { var qf = String(we); throw new Error("Objects are not valid as a React child (found: " + (qf === "[object Object]" ? "object with keys {" + Object.keys(we).join(", ") + "}" : qf) + "). If you meant to render a collection of children, use an array instead."); } } return qi; } function dl(we, We, yt) { if (we == null) return we; var wt = [], Jt = 0; return oo(we, wt, "", "", function(In) { return We.call(yt, In, Jt++); }), wt; } function Tu(we) { var We = 0; return dl(we, function() { We++; }), We; } function xu(we, We, yt) { dl(we, function() { We.apply(this, arguments); }, yt); } function fl(we) { return dl(we, function(We) { return We; }) || []; } function wu(we) { if (!_i(we)) throw new Error("React.Children.only expected to receive a single React element child."); return we; } function zo(we) { var We = { $$typeof: O, // 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: we, _currentValue2: we, // 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 }; We.Provider = { $$typeof: T, _context: We }; var yt = !1, wt = !1, Jt = !1; { var In = { $$typeof: O, _context: We }; Object.defineProperties(In, { Provider: { get: function() { return wt || (wt = !0, he("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), We.Provider; }, set: function(Pn) { We.Provider = Pn; } }, _currentValue: { get: function() { return We._currentValue; }, set: function(Pn) { We._currentValue = Pn; } }, _currentValue2: { get: function() { return We._currentValue2; }, set: function(Pn) { We._currentValue2 = Pn; } }, _threadCount: { get: function() { return We._threadCount; }, set: function(Pn) { We._threadCount = Pn; } }, Consumer: { get: function() { return yt || (yt = !0, he("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), We.Consumer; } }, displayName: { get: function() { return We.displayName; }, set: function(Pn) { Jt || (Le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", Pn), Jt = !0); } } }), We.Consumer = In; } return We._currentRenderer = null, We._currentRenderer2 = null, We; } var Gs = -1, qa = 0, Ys = 1, xs = 2; function Uo(we) { if (we._status === Gs) { var We = we._result, yt = We(); if (yt.then(function(In) { if (we._status === qa || we._status === Gs) { var Pn = we; Pn._status = Ys, Pn._result = In; } }, function(In) { if (we._status === qa || we._status === Gs) { var Pn = we; Pn._status = xs, Pn._result = In; } }), we._status === Gs) { var wt = we; wt._status = qa, wt._result = yt; } } if (we._status === Ys) { var Jt = we._result; return Jt === void 0 && he(`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?`, Jt), "default" in Jt || he(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`, Jt), Jt.default; } else throw we._result; } function qo(we) { var We = { // We use these fields to store the result. _status: Gs, _result: we }, yt = { $$typeof: X, _payload: We, _init: Uo }; { var wt, Jt; Object.defineProperties(yt, { defaultProps: { configurable: !0, get: function() { return wt; }, set: function(In) { he("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."), wt = In, Object.defineProperty(yt, "defaultProps", { enumerable: !0 }); } }, propTypes: { configurable: !0, get: function() { return Jt; }, set: function(In) { he("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."), Jt = In, Object.defineProperty(yt, "propTypes", { enumerable: !0 }); } } }); } return yt; } function pl(we) { we != null && we.$$typeof === Z ? he("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof we != "function" ? he("forwardRef requires a render function but was given %s.", we === null ? "null" : typeof we) : we.length !== 0 && we.length !== 2 && he("forwardRef render functions accept exactly two parameters: props and ref. %s", we.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), we != null && (we.defaultProps != null || we.propTypes != null) && he("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"); var We = { $$typeof: q, render: we }; { var yt; Object.defineProperty(We, "displayName", { enumerable: !1, configurable: !0, get: function() { return yt; }, set: function(wt) { yt = wt, !we.name && !we.displayName && (we.displayName = wt); } }); } return We; } var He; He = Symbol.for("react.module.reference"); function qt(we) { return !!(typeof we == "string" || typeof we == "function" || we === p || we === S || Ke || we === g || we === V || we === K || at || we === fe || Ge || ze || ut || typeof we == "object" && we !== null && (we.$$typeof === X || we.$$typeof === Z || we.$$typeof === T || we.$$typeof === O || we.$$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. we.$$typeof === He || we.getModuleId !== void 0)); } function Cn(we, We) { qt(we) || he("memo: The first argument must be a component. Instead received: %s", we === null ? "null" : typeof we); var yt = { $$typeof: Z, type: we, compare: We === void 0 ? null : We }; { var wt; Object.defineProperty(yt, "displayName", { enumerable: !1, configurable: !0, get: function() { return wt; }, set: function(Jt) { wt = Jt, !we.name && !we.displayName && (we.displayName = Jt); } }); } return yt; } function xn() { var we = ie.current; return we === null && he(`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.`), we; } function dr(we) { var We = xn(); if (we._context !== void 0) { var yt = we._context; yt.Consumer === we ? he("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?") : yt.Provider === we && he("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?"); } return We.useContext(we); } function tr(we) { var We = xn(); return We.useState(we); } function mr(we, We, yt) { var wt = xn(); return wt.useReducer(we, We, yt); } function ur(we) { var We = xn(); return We.useRef(we); } function da(we, We) { var yt = xn(); return yt.useEffect(we, We); } function Ki(we, We) { var yt = xn(); return yt.useInsertionEffect(we, We); } function ta(we, We) { var yt = xn(); return yt.useLayoutEffect(we, We); } function ns(we, We) { var yt = xn(); return yt.useCallback(we, We); } function wo(we, We) { var yt = xn(); return yt.useMemo(we, We); } function Ci(we, We, yt) { var wt = xn(); return wt.useImperativeHandle(we, We, yt); } function ia(we, We) { { var yt = xn(); return yt.useDebugValue(we, We); } } function ir() { var we = xn(); return we.useTransition(); } function Wo(we) { var We = xn(); return We.useDeferredValue(we); } function hl() { var we = xn(); return we.useId(); } function Bf(we, We, yt) { var wt = xn(); return wt.useSyncExternalStore(we, We, yt); } var ml = 0, Ul, ws, Ed, ls, Ad, jf, zf; function vl() { } vl.__reactDisabledLog = !0; function ql() { { if (ml === 0) { Ul = console.log, ws = console.info, Ed = console.warn, ls = console.error, Ad = console.group, jf = console.groupCollapsed, zf = console.groupEnd; var we = { configurable: !0, enumerable: !0, value: vl, writable: !0 }; Object.defineProperties(console, { info: we, log: we, warn: we, error: we, group: we, groupCollapsed: we, groupEnd: we }); } ml++; } } function ks() { { if (ml--, ml === 0) { var we = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: ft({}, we, { value: Ul }), info: ft({}, we, { value: ws }), warn: ft({}, we, { value: Ed }), error: ft({}, we, { value: ls }), group: ft({}, we, { value: Ad }), groupCollapsed: ft({}, we, { value: jf }), groupEnd: ft({}, we, { value: zf }) }); } ml < 0 && he("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var Ho = Oe.ReactCurrentDispatcher, Wl; function gc(we, We, yt) { { if (Wl === void 0) try { throw Error(); } catch (Jt) { var wt = Jt.stack.trim().match(/\n( *(at )?)/); Wl = wt && wt[1] || ""; } return ` ` + Wl + we; } } var gl = !1, ku; { var Pu = typeof WeakMap == "function" ? WeakMap : Map; ku = new Pu(); } function Hl(we, We) { if (!we || gl) return ""; { var yt = ku.get(we); if (yt !== void 0) return yt; } var wt; gl = !0; var Jt = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var In; In = Ho.current, Ho.current = null, ql(); try { if (We) { var Pn = function() { throw Error(); }; if (Object.defineProperty(Pn.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(Pn, []); } catch (fa) { wt = fa; } Reflect.construct(we, [], Pn); } else { try { Pn.call(); } catch (fa) { wt = fa; } we.call(Pn.prototype); } } else { try { throw Error(); } catch (fa) { wt = fa; } we(); } } catch (fa) { if (fa && wt && typeof fa.stack == "string") { for (var Qn = fa.stack.split(` `), cr = wt.stack.split(` `), Ei = Qn.length - 1, Di = cr.length - 1; Ei >= 1 && Di >= 0 && Qn[Ei] !== cr[Di]; ) Di--; for (; Ei >= 1 && Di >= 0; Ei--, Di--) if (Qn[Ei] !== cr[Di]) { if (Ei !== 1 || Di !== 1) do if (Ei--, Di--, Di < 0 || Qn[Ei] !== cr[Di]) { var Mi = ` ` + Qn[Ei].replace(" at new ", " at "); return we.displayName && Mi.includes("<anonymous>") && (Mi = Mi.replace("<anonymous>", we.displayName)), typeof we == "function" && ku.set(we, Mi), Mi; } while (Ei >= 1 && Di >= 0); break; } } } finally { gl = !1, Ho.current = In, ks(), Error.prepareStackTrace = Jt; } var sr = we ? we.displayName || we.name : "", qi = sr ? gc(sr) : ""; return typeof we == "function" && ku.set(we, qi), qi; } function Td(we, We, yt) { return Hl(we, !1); } function xd(we) { var We = we.prototype; return !!(We && We.isReactComponent); } function Sr(we, We, yt) { if (we == null) return ""; if (typeof we == "function") return Hl(we, xd(we)); if (typeof we == "string") return gc(we); switch (we) { case V: return gc("Suspense"); case K: return gc("SuspenseList"); } if (typeof we == "object") switch (we.$$typeof) { case q: return Td(we.render); case Z: return Sr(we.type, We, yt); case X: { var wt = we, Jt = wt._payload, In = wt._init; try { return Sr(In(Jt), We, yt); } catch { } } } return ""; } var wd = {}, yc = Oe.ReactDebugCurrentFrame; function xr(we) { if (we) { var We = we._owner, yt = Sr(we.type, we._source, We ? We.type : null); yc.setExtraStackFrame(yt); } else yc.setExtraStackFrame(null); } function Uf(we, We, yt, wt, Jt) { { var In = Function.call.bind(Fi); for (var Pn in we) if (In(we, Pn)) { var Qn = void 0; try { if (typeof we[Pn] != "function") { var cr = Error((wt || "React class") + ": " + yt + " type `" + Pn + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof we[Pn] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw cr.name = "Invariant Violation", cr; } Qn = we[Pn](We, Pn, wt, yt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (Ei) { Qn = Ei; } Qn && !(Qn instanceof Error) && (xr(Jt), he("%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).", wt || "React class", yt, Pn, typeof Qn), xr(null)), Qn instanceof Error && !(Qn.message in wd) && (wd[Qn.message] = !0, xr(Jt), he("Failed %s type: %s", yt, Qn.message), xr(null)); } } } function Xo(we) { if (we) { var We = we._owner, yt = Sr(we.type, we._source, We ? We.type : null); rt(yt); } else rt(null); } var er; er = !1; function Ru() { if (Pe.current) { var we = li(Pe.current.type); if (we) return ` Check the render method of \`` + we + "`."; } return ""; } function Na(we) { if (we !== void 0) { var We = we.fileName.replace(/^.*[\\\/]/, ""), yt = we.lineNumber; return ` Check your code at ` + We + ":" + yt + "."; } return ""; } function Ps(we) { return we != null ? Na(we.__source) : ""; } var us = {}; function Go(we) { var We = Ru(); if (!We) { var yt = typeof we == "string" ? we : we.displayName || we.name; yt && (We = ` Check the top-level render call using <` + yt + ">."); } return We; } function la(we, We) { if (!(!we._store || we._store.validated || we.key != null)) { we._store.validated = !0; var yt = Go(We); if (!us[yt]) { us[yt] = !0; var wt = ""; we && we._owner && we._owner !== Pe.current && (wt = " It was passed a child from " + li(we._owner.type) + "."), Xo(we), he('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.o