From 6c96b8f72c1512cd5ecd879549e110beee960b4f Mon Sep 17 00:00:00 2001 From: Wesley Bomar Date: Thu, 22 Feb 2024 16:03:46 -0600 Subject: [PATCH 01/24] test(@tacc/core-components): TUP-700 (WIP) --- libs/core-components/dist/core-components.mjs | 46037 ++++++++++++++++ .../dist/core-components.umd.js | 44058 +++++++++++++++ libs/core-components/dist/package.json | 12 + libs/core-components/dist/style.css | 1 + libs/core-components/package.json | 12 + libs/core-components/project.json | 8 + libs/core-components/vite.config.ts | 31 +- 7 files changed, 90150 insertions(+), 9 deletions(-) create mode 100644 libs/core-components/dist/core-components.mjs create mode 100644 libs/core-components/dist/core-components.umd.js create mode 100644 libs/core-components/dist/package.json create mode 100644 libs/core-components/dist/style.css create mode 100644 libs/core-components/package.json diff --git a/libs/core-components/dist/core-components.mjs b/libs/core-components/dist/core-components.mjs new file mode 100644 index 000000000..07e382558 --- /dev/null +++ b/libs/core-components/dist/core-components.mjs @@ -0,0 +1,46037 @@ +var pT = + typeof globalThis < 'u' + ? globalThis + : typeof window < 'u' + ? window + : typeof global < 'u' + ? global + : typeof self < 'u' + ? self + : {}; +function Zg(l) { + return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, 'default') + ? l.default + : l; +} +var FR = { exports: {} }, + eh = {}, + BR = { exports: {} }, + ih = { 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. + */ +ih.exports; +var gx; +function fN() { + return ( + gx || + ((gx = 1), + (function (l, v) { + 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 p = '18.2.0', + d = Symbol.for('react.element'), + b = Symbol.for('react.portal'), + x = Symbol.for('react.fragment'), + m = Symbol.for('react.strict_mode'), + $ = Symbol.for('react.profiler'), + G = Symbol.for('react.provider'), + M = Symbol.for('react.context'), + ne = Symbol.for('react.forward_ref'), + A = Symbol.for('react.suspense'), + ee = Symbol.for('react.suspense_list'), + ie = Symbol.for('react.memo'), + he = Symbol.for('react.lazy'), + Oe = Symbol.for('react.offscreen'), + ge = Symbol.iterator, + Pe = '@@iterator'; + function Re(f) { + if (f === null || typeof f != 'object') return null; + var C = (ge && f[ge]) || f[Pe]; + return typeof C == 'function' ? C : null; + } + var ye = { + /** + * @internal + * @type {ReactComponent} + */ + current: null, + }, + Ge = { + transition: null, + }, + ae = { + current: null, + // Used to reproduce behavior of `batchedUpdates` in legacy mode. + isBatchingLegacy: !1, + didScheduleLegacyUpdate: !1, + }, + Le = { + /** + * @internal + * @type {ReactComponent} + */ + current: null, + }, + lt = {}, + Ht = null; + function Fn(f) { + Ht = f; + } + (lt.setExtraStackFrame = function (f) { + Ht = f; + }), + (lt.getCurrentStack = null), + (lt.getStackAddendum = function () { + var f = ''; + Ht && (f += Ht); + var C = lt.getCurrentStack; + return C && (f += C() || ''), f; + }); + var xn = !1, + yn = !1, + Jn = !1, + At = !1, + Mt = !1, + On = { + ReactCurrentDispatcher: ye, + ReactCurrentBatchConfig: Ge, + ReactCurrentOwner: Le, + }; + (On.ReactDebugCurrentFrame = lt), (On.ReactCurrentActQueue = ae); + function rn(f) { + { + for ( + var C = arguments.length, + N = new Array(C > 1 ? C - 1 : 0), + D = 1; + D < C; + D++ + ) + N[D - 1] = arguments[D]; + He('warn', f, N); + } + } + function st(f) { + { + for ( + var C = arguments.length, + N = new Array(C > 1 ? C - 1 : 0), + D = 1; + D < C; + D++ + ) + N[D - 1] = arguments[D]; + He('error', f, N); + } + } + function He(f, C, N) { + { + var D = On.ReactDebugCurrentFrame, + F = D.getStackAddendum(); + F !== '' && ((C += '%s'), (N = N.concat([F]))); + var Z = N.map(function (Q) { + return String(Q); + }); + Z.unshift('Warning: ' + C), + Function.prototype.apply.call(console[f], console, Z); + } + } + var wt = {}; + function z(f, C) { + { + var N = f.constructor, + D = (N && (N.displayName || N.name)) || 'ReactClass', + F = D + '.' + C; + if (wt[F]) return; + st( + "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.", + C, + D + ), + (wt[F] = !0); + } + } + var te = { + /** + * 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 (f) { + 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 (f, C, N) { + z(f, '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 (f, C, N, D) { + z(f, '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 (f, C, N, D) { + z(f, 'setState'); + }, + }, + xe = Object.assign, + Xe = {}; + Object.freeze(Xe); + function We(f, C, N) { + (this.props = f), + (this.context = C), + (this.refs = Xe), + (this.updater = N || te); + } + (We.prototype.isReactComponent = {}), + (We.prototype.setState = function (f, C) { + if (typeof f != 'object' && typeof f != 'function' && f != 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, f, C, 'setState'); + }), + (We.prototype.forceUpdate = function (f) { + this.updater.enqueueForceUpdate(this, f, 'forceUpdate'); + }); + { + var ht = { + 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).', + ], + }, + Je = function (f, C) { + Object.defineProperty(We.prototype, f, { + get: function () { + rn( + '%s(...) is deprecated in plain JavaScript React classes. %s', + C[0], + C[1] + ); + }, + }); + }; + for (var ot in ht) ht.hasOwnProperty(ot) && Je(ot, ht[ot]); + } + function it() {} + it.prototype = We.prototype; + function Tt(f, C, N) { + (this.props = f), + (this.context = C), + (this.refs = Xe), + (this.updater = N || te); + } + var an = (Tt.prototype = new it()); + (an.constructor = Tt), + xe(an, We.prototype), + (an.isPureReactComponent = !0); + function In() { + var f = { + current: null, + }; + return Object.seal(f), f; + } + var Ze = Array.isArray; + function Dn(f) { + return Ze(f); + } + function lr(f) { + { + var C = typeof Symbol == 'function' && Symbol.toStringTag, + N = + (C && f[Symbol.toStringTag]) || + f.constructor.name || + 'Object'; + return N; + } + } + function Rr(f) { + try { + return jr(f), !1; + } catch { + return !0; + } + } + function jr(f) { + return '' + f; + } + function xr(f) { + if (Rr(f)) + return ( + st( + 'The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.', + lr(f) + ), + jr(f) + ); + } + function Ca(f, C, N) { + var D = f.displayName; + if (D) return D; + var F = C.displayName || C.name || ''; + return F !== '' ? N + '(' + F + ')' : N; + } + function wa(f) { + return f.displayName || 'Context'; + } + function Ur(f) { + if (f == null) return null; + if ( + (typeof f.tag == 'number' && + st( + 'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.' + ), + typeof f == 'function') + ) + return f.displayName || f.name || null; + if (typeof f == 'string') return f; + switch (f) { + case x: + return 'Fragment'; + case b: + return 'Portal'; + case $: + return 'Profiler'; + case m: + return 'StrictMode'; + case A: + return 'Suspense'; + case ee: + return 'SuspenseList'; + } + if (typeof f == 'object') + switch (f.$$typeof) { + case M: + var C = f; + return wa(C) + '.Consumer'; + case G: + var N = f; + return wa(N._context) + '.Provider'; + case ne: + return Ca(f, f.render, 'ForwardRef'); + case ie: + var D = f.displayName || null; + return D !== null ? D : Ur(f.type) || 'Memo'; + case he: { + var F = f, + Z = F._payload, + Q = F._init; + try { + return Ur(Q(Z)); + } catch { + return null; + } + } + } + return null; + } + var ta = Object.prototype.hasOwnProperty, + xa = { + key: !0, + ref: !0, + __self: !0, + __source: !0, + }, + na, + Ta, + Hr; + Hr = {}; + function ca(f) { + if (ta.call(f, 'ref')) { + var C = Object.getOwnPropertyDescriptor(f, 'ref').get; + if (C && C.isReactWarning) return !1; + } + return f.ref !== void 0; + } + function gr(f) { + if (ta.call(f, 'key')) { + var C = Object.getOwnPropertyDescriptor(f, 'key').get; + if (C && C.isReactWarning) return !1; + } + return f.key !== void 0; + } + function ra(f, C) { + var N = function () { + na || + ((na = !0), + st( + '%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)', + C + )); + }; + (N.isReactWarning = !0), + Object.defineProperty(f, 'key', { + get: N, + configurable: !0, + }); + } + function Oi(f, C) { + var N = function () { + Ta || + ((Ta = !0), + st( + '%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)', + C + )); + }; + (N.isReactWarning = !0), + Object.defineProperty(f, 'ref', { + get: N, + configurable: !0, + }); + } + function za(f) { + if ( + typeof f.ref == 'string' && + Le.current && + f.__self && + Le.current.stateNode !== f.__self + ) { + var C = Ur(Le.current.type); + Hr[C] || + (st( + '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', + C, + f.ref + ), + (Hr[C] = !0)); + } + } + var et = function (f, C, N, D, F, Z, Q) { + var re = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: d, + // Built-in properties that belong on the element + type: f, + key: C, + ref: N, + props: Q, + // Record the component responsible for creating this element. + _owner: Z, + }; + return ( + (re._store = {}), + Object.defineProperty(re._store, 'validated', { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1, + }), + Object.defineProperty(re, '_self', { + configurable: !1, + enumerable: !1, + writable: !1, + value: D, + }), + Object.defineProperty(re, '_source', { + configurable: !1, + enumerable: !1, + writable: !1, + value: F, + }), + Object.freeze && (Object.freeze(re.props), Object.freeze(re)), + re + ); + }; + function Lt(f, C, N) { + var D, + F = {}, + Z = null, + Q = null, + re = null, + Se = null; + if (C != null) { + ca(C) && ((Q = C.ref), za(C)), + gr(C) && (xr(C.key), (Z = '' + C.key)), + (re = C.__self === void 0 ? null : C.__self), + (Se = C.__source === void 0 ? null : C.__source); + for (D in C) + ta.call(C, D) && !xa.hasOwnProperty(D) && (F[D] = C[D]); + } + var be = arguments.length - 2; + if (be === 1) F.children = N; + else if (be > 1) { + for (var ke = Array(be), ve = 0; ve < be; ve++) + ke[ve] = arguments[ve + 2]; + Object.freeze && Object.freeze(ke), (F.children = ke); + } + if (f && f.defaultProps) { + var Te = f.defaultProps; + for (D in Te) F[D] === void 0 && (F[D] = Te[D]); + } + if (Z || Q) { + var Fe = + typeof f == 'function' + ? f.displayName || f.name || 'Unknown' + : f; + Z && ra(F, Fe), Q && Oi(F, Fe); + } + return et(f, Z, Q, re, Se, Le.current, F); + } + function Sn(f, C) { + var N = et( + f.type, + C, + f.ref, + f._self, + f._source, + f._owner, + f.props + ); + return N; + } + function Bn(f, C, N) { + if (f == null) + throw new Error( + 'React.cloneElement(...): The argument must be a React element, but you passed ' + + f + + '.' + ); + var D, + F = xe({}, f.props), + Z = f.key, + Q = f.ref, + re = f._self, + Se = f._source, + be = f._owner; + if (C != null) { + ca(C) && ((Q = C.ref), (be = Le.current)), + gr(C) && (xr(C.key), (Z = '' + C.key)); + var ke; + f.type && f.type.defaultProps && (ke = f.type.defaultProps); + for (D in C) + ta.call(C, D) && + !xa.hasOwnProperty(D) && + (C[D] === void 0 && ke !== void 0 + ? (F[D] = ke[D]) + : (F[D] = C[D])); + } + var ve = arguments.length - 2; + if (ve === 1) F.children = N; + else if (ve > 1) { + for (var Te = Array(ve), Fe = 0; Fe < ve; Fe++) + Te[Fe] = arguments[Fe + 2]; + F.children = Te; + } + return et(f.type, Z, Q, re, Se, be, F); + } + function $n(f) { + return typeof f == 'object' && f !== null && f.$$typeof === d; + } + var yr = '.', + sr = ':'; + function Ir(f) { + var C = /[=:]/g, + N = { + '=': '=0', + ':': '=2', + }, + D = f.replace(C, function (F) { + return N[F]; + }); + return '$' + D; + } + var Xn = !1, + Xr = /\/+/g; + function Vn(f) { + return f.replace(Xr, '$&/'); + } + function Gn(f, C) { + return typeof f == 'object' && f !== null && f.key != null + ? (xr(f.key), Ir('' + f.key)) + : C.toString(36); + } + function Ja(f, C, N, D, F) { + var Z = typeof f; + (Z === 'undefined' || Z === 'boolean') && (f = null); + var Q = !1; + if (f === null) Q = !0; + else + switch (Z) { + case 'string': + case 'number': + Q = !0; + break; + case 'object': + switch (f.$$typeof) { + case d: + case b: + Q = !0; + } + } + if (Q) { + var re = f, + Se = F(re), + be = D === '' ? yr + Gn(re, 0) : D; + if (Dn(Se)) { + var ke = ''; + be != null && (ke = Vn(be) + '/'), + Ja(Se, C, ke, '', function (bn) { + return bn; + }); + } else + Se != null && + ($n(Se) && + (Se.key && (!re || re.key !== Se.key) && xr(Se.key), + (Se = Sn( + Se, + // Keep both the (mapped) and old keys if they differ, just as + // traverseAllChildren used to do for objects as children + N + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key + (Se.key && (!re || re.key !== Se.key) + ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number + // eslint-disable-next-line react-internal/safe-string-coercion + Vn('' + Se.key) + '/' + : '') + + be + ))), + C.push(Se)); + return 1; + } + var ve, + Te, + Fe = 0, + Me = D === '' ? yr : D + sr; + if (Dn(f)) + for (var yt = 0; yt < f.length; yt++) + (ve = f[yt]), + (Te = Me + Gn(ve, yt)), + (Fe += Ja(ve, C, N, Te, F)); + else { + var Zt = Re(f); + if (typeof Zt == 'function') { + var xt = f; + Zt === xt.entries && + (Xn || + rn( + 'Using Maps as children is not supported. Use an array of keyed ReactElements instead.' + ), + (Xn = !0)); + for ( + var Qe = Zt.call(xt), Ft, vt = 0; + !(Ft = Qe.next()).done; + + ) + (ve = Ft.value), + (Te = Me + Gn(ve, vt++)), + (Fe += Ja(ve, C, N, Te, F)); + } else if (Z === 'object') { + var $t = String(f); + throw new Error( + 'Objects are not valid as a React child (found: ' + + ($t === '[object Object]' + ? 'object with keys {' + Object.keys(f).join(', ') + '}' + : $t) + + '). If you meant to render a collection of children, use an array instead.' + ); + } + } + return Fe; + } + function aa(f, C, N) { + if (f == null) return f; + var D = [], + F = 0; + return ( + Ja(f, D, '', '', function (Z) { + return C.call(N, Z, F++); + }), + D + ); + } + function Yi(f) { + var C = 0; + return ( + aa(f, function () { + C++; + }), + C + ); + } + function Io(f, C, N) { + aa( + f, + function () { + C.apply(this, arguments); + }, + N + ); + } + function $o(f) { + return ( + aa(f, function (C) { + return C; + }) || [] + ); + } + function ci(f) { + if (!$n(f)) + throw new Error( + 'React.Children.only expected to receive a single React element child.' + ); + return f; + } + function qi(f) { + var C = { + $$typeof: M, + // 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: f, + _currentValue2: f, + // 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, + }; + C.Provider = { + $$typeof: G, + _context: C, + }; + var N = !1, + D = !1, + F = !1; + { + var Z = { + $$typeof: M, + _context: C, + }; + Object.defineProperties(Z, { + Provider: { + get: function () { + return ( + D || + ((D = !0), + st( + 'Rendering is not supported and will be removed in a future major release. Did you mean to render instead?' + )), + C.Provider + ); + }, + set: function (Q) { + C.Provider = Q; + }, + }, + _currentValue: { + get: function () { + return C._currentValue; + }, + set: function (Q) { + C._currentValue = Q; + }, + }, + _currentValue2: { + get: function () { + return C._currentValue2; + }, + set: function (Q) { + C._currentValue2 = Q; + }, + }, + _threadCount: { + get: function () { + return C._threadCount; + }, + set: function (Q) { + C._threadCount = Q; + }, + }, + Consumer: { + get: function () { + return ( + N || + ((N = !0), + st( + 'Rendering is not supported and will be removed in a future major release. Did you mean to render instead?' + )), + C.Consumer + ); + }, + }, + displayName: { + get: function () { + return C.displayName; + }, + set: function (Q) { + F || + (rn( + "Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", + Q + ), + (F = !0)); + }, + }, + }), + (C.Consumer = Z); + } + return ( + (C._currentRenderer = null), (C._currentRenderer2 = null), C + ); + } + var _a = -1, + Za = 0, + fa = 1, + fi = 2; + function ia(f) { + if (f._status === _a) { + var C = f._result, + N = C(); + if ( + (N.then( + function (Z) { + if (f._status === Za || f._status === _a) { + var Q = f; + (Q._status = fa), (Q._result = Z); + } + }, + function (Z) { + if (f._status === Za || f._status === _a) { + var Q = f; + (Q._status = fi), (Q._result = Z); + } + } + ), + f._status === _a) + ) { + var D = f; + (D._status = Za), (D._result = N); + } + } + if (f._status === fa) { + var F = f._result; + return ( + F === void 0 && + st( + `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?`, + F + ), + 'default' in F || + st( + `lazy: Expected the result of a dynamic import() call. Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent'))`, + F + ), + F.default + ); + } else throw f._result; + } + function da(f) { + var C = { + // We use these fields to store the result. + _status: _a, + _result: f, + }, + N = { + $$typeof: he, + _payload: C, + _init: ia, + }; + { + var D, F; + Object.defineProperties(N, { + defaultProps: { + configurable: !0, + get: function () { + return D; + }, + set: function (Z) { + st( + '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.' + ), + (D = Z), + Object.defineProperty(N, 'defaultProps', { + enumerable: !0, + }); + }, + }, + propTypes: { + configurable: !0, + get: function () { + return F; + }, + set: function (Z) { + st( + '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.' + ), + (F = Z), + Object.defineProperty(N, 'propTypes', { + enumerable: !0, + }); + }, + }, + }); + } + return N; + } + function di(f) { + f != null && f.$$typeof === ie + ? st( + 'forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).' + ) + : typeof f != 'function' + ? st( + 'forwardRef requires a render function but was given %s.', + f === null ? 'null' : typeof f + ) + : f.length !== 0 && + f.length !== 2 && + st( + 'forwardRef render functions accept exactly two parameters: props and ref. %s', + f.length === 1 + ? 'Did you forget to use the ref parameter?' + : 'Any additional parameter will be undefined.' + ), + f != null && + (f.defaultProps != null || f.propTypes != null) && + st( + 'forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?' + ); + var C = { + $$typeof: ne, + render: f, + }; + { + var N; + Object.defineProperty(C, 'displayName', { + enumerable: !1, + configurable: !0, + get: function () { + return N; + }, + set: function (D) { + (N = D), !f.name && !f.displayName && (f.displayName = D); + }, + }); + } + return C; + } + var W; + W = Symbol.for('react.module.reference'); + function ze(f) { + return !!( + typeof f == 'string' || + typeof f == 'function' || + f === x || + f === $ || + Mt || + f === m || + f === A || + f === ee || + At || + f === Oe || + xn || + yn || + Jn || + (typeof f == 'object' && + f !== null && + (f.$$typeof === he || + f.$$typeof === ie || + f.$$typeof === G || + f.$$typeof === M || + f.$$typeof === ne || // 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. + f.$$typeof === W || + f.getModuleId !== void 0)) + ); + } + function nt(f, C) { + ze(f) || + st( + 'memo: The first argument must be a component. Instead received: %s', + f === null ? 'null' : typeof f + ); + var N = { + $$typeof: ie, + type: f, + compare: C === void 0 ? null : C, + }; + { + var D; + Object.defineProperty(N, 'displayName', { + enumerable: !1, + configurable: !0, + get: function () { + return D; + }, + set: function (F) { + (D = F), !f.name && !f.displayName && (f.displayName = F); + }, + }); + } + return N; + } + function mt() { + var f = ye.current; + return ( + f === null && + st(`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.`), + f + ); + } + function sn(f) { + var C = mt(); + if (f._context !== void 0) { + var N = f._context; + N.Consumer === f + ? st( + '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?' + ) + : N.Provider === f && + st( + 'Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?' + ); + } + return C.useContext(f); + } + function kn(f) { + var C = mt(); + return C.useState(f); + } + function pn(f, C, N) { + var D = mt(); + return D.useReducer(f, C, N); + } + function zt(f) { + var C = mt(); + return C.useRef(f); + } + function cr(f, C) { + var N = mt(); + return N.useEffect(f, C); + } + function nr(f, C) { + var N = mt(); + return N.useInsertionEffect(f, C); + } + function ar(f, C) { + var N = mt(); + return N.useLayoutEffect(f, C); + } + function $r(f, C) { + var N = mt(); + return N.useCallback(f, C); + } + function ki(f, C) { + var N = mt(); + return N.useMemo(f, C); + } + function lu(f, C, N) { + var D = mt(); + return D.useImperativeHandle(f, C, N); + } + function Mn(f, C) { + { + var N = mt(); + return N.useDebugValue(f, C); + } + } + function al() { + var f = mt(); + return f.useTransition(); + } + function Fa(f) { + var C = mt(); + return C.useDeferredValue(f); + } + function En() { + var f = mt(); + return f.useId(); + } + function Di(f, C, N) { + var D = mt(); + return D.useSyncExternalStore(f, C, N); + } + var Pi = 0, + Vo, + fo, + Oa, + Du, + pa, + Pu, + su; + function Nu() {} + Nu.__reactDisabledLog = !0; + function cu() { + { + if (Pi === 0) { + (Vo = console.log), + (fo = console.info), + (Oa = console.warn), + (Du = console.error), + (pa = console.group), + (Pu = console.groupCollapsed), + (su = console.groupEnd); + var f = { + configurable: !0, + enumerable: !0, + value: Nu, + writable: !0, + }; + Object.defineProperties(console, { + info: f, + log: f, + warn: f, + error: f, + group: f, + groupCollapsed: f, + groupEnd: f, + }); + } + Pi++; + } + } + function po() { + { + if ((Pi--, Pi === 0)) { + var f = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: xe({}, f, { + value: Vo, + }), + info: xe({}, f, { + value: fo, + }), + warn: xe({}, f, { + value: Oa, + }), + error: xe({}, f, { + value: Du, + }), + group: xe({}, f, { + value: pa, + }), + groupCollapsed: xe({}, f, { + value: Pu, + }), + groupEnd: xe({}, f, { + value: su, + }), + }); + } + Pi < 0 && + st( + 'disabledDepth fell below zero. This is a bug in React. Please file an issue.' + ); + } + } + var pi = On.ReactCurrentDispatcher, + va; + function Qi(f, C, N) { + { + if (va === void 0) + try { + throw Error(); + } catch (F) { + var D = F.stack.trim().match(/\n( *(at )?)/); + va = (D && D[1]) || ''; + } + return ( + ` +` + + va + + f + ); + } + } + var Ni = !1, + ei; + { + var Go = typeof WeakMap == 'function' ? WeakMap : Map; + ei = new Go(); + } + function fu(f, C) { + if (!f || Ni) return ''; + { + var N = ei.get(f); + if (N !== void 0) return N; + } + var D; + Ni = !0; + var F = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var Z; + (Z = pi.current), (pi.current = null), cu(); + try { + if (C) { + var Q = function () { + throw Error(); + }; + if ( + (Object.defineProperty(Q.prototype, 'props', { + set: function () { + throw Error(); + }, + }), + typeof Reflect == 'object' && Reflect.construct) + ) { + try { + Reflect.construct(Q, []); + } catch (Me) { + D = Me; + } + Reflect.construct(f, [], Q); + } else { + try { + Q.call(); + } catch (Me) { + D = Me; + } + f.call(Q.prototype); + } + } else { + try { + throw Error(); + } catch (Me) { + D = Me; + } + f(); + } + } catch (Me) { + if (Me && D && typeof Me.stack == 'string') { + for ( + var re = Me.stack.split(` +`), + Se = D.stack.split(` +`), + be = re.length - 1, + ke = Se.length - 1; + be >= 1 && ke >= 0 && re[be] !== Se[ke]; + + ) + ke--; + for (; be >= 1 && ke >= 0; be--, ke--) + if (re[be] !== Se[ke]) { + if (be !== 1 || ke !== 1) + do + if ((be--, ke--, ke < 0 || re[be] !== Se[ke])) { + var ve = + ` +` + re[be].replace(' at new ', ' at '); + return ( + f.displayName && + ve.includes('') && + (ve = ve.replace('', f.displayName)), + typeof f == 'function' && ei.set(f, ve), + ve + ); + } + while (be >= 1 && ke >= 0); + break; + } + } + } finally { + (Ni = !1), + (pi.current = Z), + po(), + (Error.prepareStackTrace = F); + } + var Te = f ? f.displayName || f.name : '', + Fe = Te ? Qi(Te) : ''; + return typeof f == 'function' && ei.set(f, Fe), Fe; + } + function Mi(f, C, N) { + return fu(f, !1); + } + function Fl(f) { + var C = f.prototype; + return !!(C && C.isReactComponent); + } + function vi(f, C, N) { + if (f == null) return ''; + if (typeof f == 'function') return fu(f, Fl(f)); + if (typeof f == 'string') return Qi(f); + switch (f) { + case A: + return Qi('Suspense'); + case ee: + return Qi('SuspenseList'); + } + if (typeof f == 'object') + switch (f.$$typeof) { + case ne: + return Mi(f.render); + case ie: + return vi(f.type, C, N); + case he: { + var D = f, + F = D._payload, + Z = D._init; + try { + return vi(Z(F), C, N); + } catch {} + } + } + return ''; + } + var jn = {}, + vo = On.ReactDebugCurrentFrame; + function Wo(f) { + if (f) { + var C = f._owner, + N = vi(f.type, f._source, C ? C.type : null); + vo.setExtraStackFrame(N); + } else vo.setExtraStackFrame(null); + } + function Yo(f, C, N, D, F) { + { + var Z = Function.call.bind(ta); + for (var Q in f) + if (Z(f, Q)) { + var re = void 0; + try { + if (typeof f[Q] != 'function') { + var Se = Error( + (D || 'React class') + + ': ' + + N + + ' type `' + + Q + + '` is invalid; it must be a function, usually from the `prop-types` package, but received `' + + typeof f[Q] + + '`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' + ); + throw ((Se.name = 'Invariant Violation'), Se); + } + re = f[Q]( + C, + Q, + D, + N, + null, + 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED' + ); + } catch (be) { + re = be; + } + re && + !(re instanceof Error) && + (Wo(F), + st( + '%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).', + D || 'React class', + N, + Q, + typeof re + ), + Wo(null)), + re instanceof Error && + !(re.message in jn) && + ((jn[re.message] = !0), + Wo(F), + st('Failed %s type: %s', N, re.message), + Wo(null)); + } + } + } + function An(f) { + if (f) { + var C = f._owner, + N = vi(f.type, f._source, C ? C.type : null); + Fn(N); + } else Fn(null); + } + var qo; + qo = !1; + function Qo() { + if (Le.current) { + var f = Ur(Le.current.type); + if (f) + return ( + ` + +Check the render method of \`` + + f + + '`.' + ); + } + return ''; + } + function on(f) { + if (f !== void 0) { + var C = f.fileName.replace(/^.*[\\\/]/, ''), + N = f.lineNumber; + return ( + ` + +Check your code at ` + + C + + ':' + + N + + '.' + ); + } + return ''; + } + function Xo(f) { + return f != null ? on(f.__source) : ''; + } + var fr = {}; + function ka(f) { + var C = Qo(); + if (!C) { + var N = typeof f == 'string' ? f : f.displayName || f.name; + N && + (C = + ` + +Check the top-level render call using <` + + N + + '>.'); + } + return C; + } + function ha(f, C) { + if (!(!f._store || f._store.validated || f.key != null)) { + f._store.validated = !0; + var N = ka(C); + if (!fr[N]) { + fr[N] = !0; + var D = ''; + f && + f._owner && + f._owner !== Le.current && + (D = + ' It was passed a child from ' + Ur(f._owner.type) + '.'), + An(f), + st( + 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', + N, + D + ), + An(null); + } + } + } + function ho(f, C) { + if (typeof f == 'object') { + if (Dn(f)) + for (var N = 0; N < f.length; N++) { + var D = f[N]; + $n(D) && ha(D, C); + } + else if ($n(f)) f._store && (f._store.validated = !0); + else if (f) { + var F = Re(f); + if (typeof F == 'function' && F !== f.entries) + for (var Z = F.call(f), Q; !(Q = Z.next()).done; ) + $n(Q.value) && ha(Q.value, C); + } + } + } + function Er(f) { + { + var C = f.type; + if (C == null || typeof C == 'string') return; + var N; + if (typeof C == 'function') N = C.propTypes; + else if ( + typeof C == 'object' && + (C.$$typeof === ne || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + C.$$typeof === ie) + ) + N = C.propTypes; + else return; + if (N) { + var D = Ur(C); + Yo(N, f.props, 'prop', D, f); + } else if (C.PropTypes !== void 0 && !qo) { + qo = !0; + var F = Ur(C); + st( + 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', + F || 'Unknown' + ); + } + typeof C.getDefaultProps == 'function' && + !C.getDefaultProps.isReactClassApproved && + st( + 'getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.' + ); + } + } + function Un(f) { + { + for (var C = Object.keys(f.props), N = 0; N < C.length; N++) { + var D = C[N]; + if (D !== 'children' && D !== 'key') { + An(f), + st( + 'Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.', + D + ), + An(null); + break; + } + } + f.ref !== null && + (An(f), + st('Invalid attribute `ref` supplied to `React.Fragment`.'), + An(null)); + } + } + function Mu(f, C, N) { + var D = ze(f); + if (!D) { + var F = ''; + (f === void 0 || + (typeof f == 'object' && + f !== null && + Object.keys(f).length === 0)) && + (F += + " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); + var Z = Xo(C); + Z ? (F += Z) : (F += Qo()); + var Q; + f === null + ? (Q = 'null') + : Dn(f) + ? (Q = 'array') + : f !== void 0 && f.$$typeof === d + ? ((Q = '<' + (Ur(f.type) || 'Unknown') + ' />'), + (F = + ' Did you accidentally export a JSX literal instead of a component?')) + : (Q = typeof f), + st( + 'React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', + Q, + F + ); + } + var re = Lt.apply(this, arguments); + if (re == null) return re; + if (D) + for (var Se = 2; Se < arguments.length; Se++) + ho(arguments[Se], f); + return f === x ? Un(re) : Er(re), re; + } + var Kr = !1; + function Nr(f) { + var C = Mu.bind(null, f); + return ( + (C.type = f), + Kr || + ((Kr = !0), + rn( + 'React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.' + )), + Object.defineProperty(C, 'type', { + enumerable: !1, + get: function () { + return ( + rn( + 'Factory.type is deprecated. Access the class directly before passing it to createFactory.' + ), + Object.defineProperty(this, 'type', { + value: f, + }), + f + ); + }, + }), + C + ); + } + function ti(f, C, N) { + for ( + var D = Bn.apply(this, arguments), F = 2; + F < arguments.length; + F++ + ) + ho(arguments[F], D.type); + return Er(D), D; + } + function Au(f, C) { + var N = Ge.transition; + Ge.transition = {}; + var D = Ge.transition; + Ge.transition._updatedFibers = /* @__PURE__ */ new Set(); + try { + f(); + } finally { + if (((Ge.transition = N), N === null && D._updatedFibers)) { + var F = D._updatedFibers.size; + F > 10 && + rn( + 'Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.' + ), + D._updatedFibers.clear(); + } + } + } + var hi = !1, + mo = null; + function du(f) { + if (mo === null) + try { + var C = ('require' + Math.random()).slice(0, 7), + N = l && l[C]; + mo = N.call(l, 'timers').setImmediate; + } catch { + mo = function (F) { + hi === !1 && + ((hi = !0), + typeof MessageChannel > 'u' && + st( + 'This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.' + )); + var Z = new MessageChannel(); + (Z.port1.onmessage = F), Z.port2.postMessage(void 0); + }; + } + return mo(f); + } + var ni = 0, + go = !1; + function yo(f) { + { + var C = ni; + ni++, ae.current === null && (ae.current = []); + var N = ae.isBatchingLegacy, + D; + try { + if ( + ((ae.isBatchingLegacy = !0), + (D = f()), + !N && ae.didScheduleLegacyUpdate) + ) { + var F = ae.current; + F !== null && ((ae.didScheduleLegacyUpdate = !1), Ki(F)); + } + } catch (Te) { + throw (Ba(C), Te); + } finally { + ae.isBatchingLegacy = N; + } + if ( + D !== null && + typeof D == 'object' && + typeof D.then == 'function' + ) { + var Z = D, + Q = !1, + re = { + then: function (Te, Fe) { + (Q = !0), + Z.then( + function (Me) { + Ba(C), ni === 0 ? Ko(Me, Te, Fe) : Te(Me); + }, + function (Me) { + Ba(C), Fe(Me); + } + ); + }, + }; + return ( + !go && + typeof Promise < 'u' && + Promise.resolve() + .then(function () {}) + .then(function () { + Q || + ((go = !0), + st( + 'You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);' + )); + }), + re + ); + } else { + var Se = D; + if ((Ba(C), ni === 0)) { + var be = ae.current; + be !== null && (Ki(be), (ae.current = null)); + var ke = { + then: function (Te, Fe) { + ae.current === null + ? ((ae.current = []), Ko(Se, Te, Fe)) + : Te(Se); + }, + }; + return ke; + } else { + var ve = { + then: function (Te, Fe) { + Te(Se); + }, + }; + return ve; + } + } + } + } + function Ba(f) { + f !== ni - 1 && + st( + 'You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ' + ), + (ni = f); + } + function Ko(f, C, N) { + { + var D = ae.current; + if (D !== null) + try { + Ki(D), + du(function () { + D.length === 0 + ? ((ae.current = null), C(f)) + : Ko(f, C, N); + }); + } catch (F) { + N(F); + } + else C(f); + } + } + var Xi = !1; + function Ki(f) { + if (!Xi) { + Xi = !0; + var C = 0; + try { + for (; C < f.length; C++) { + var N = f[C]; + do N = N(!0); + while (N !== null); + } + f.length = 0; + } catch (D) { + throw ((f = f.slice(C + 1)), D); + } finally { + Xi = !1; + } + } + } + var So = Mu, + bo = ti, + g = Nr, + O = { + map: aa, + forEach: Io, + count: Yi, + toArray: $o, + only: ci, + }; + (v.Children = O), + (v.Component = We), + (v.Fragment = x), + (v.Profiler = $), + (v.PureComponent = Tt), + (v.StrictMode = m), + (v.Suspense = A), + (v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = On), + (v.cloneElement = bo), + (v.createContext = qi), + (v.createElement = So), + (v.createFactory = g), + (v.createRef = In), + (v.forwardRef = di), + (v.isValidElement = $n), + (v.lazy = da), + (v.memo = nt), + (v.startTransition = Au), + (v.unstable_act = yo), + (v.useCallback = $r), + (v.useContext = sn), + (v.useDebugValue = Mn), + (v.useDeferredValue = Fa), + (v.useEffect = cr), + (v.useId = En), + (v.useImperativeHandle = lu), + (v.useInsertionEffect = nr), + (v.useLayoutEffect = ar), + (v.useMemo = ki), + (v.useReducer = pn), + (v.useRef = zt), + (v.useState = kn), + (v.useSyncExternalStore = Di), + (v.useTransition = al), + (v.version = p), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < 'u' && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + 'function' && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error() + ); + })(); + })(ih, ih.exports)), + ih.exports + ); +} +var Qn = {}; +/** + * @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 yx; +function dN() { + if (yx) return Qn; + yx = 1; + var l = Symbol.for('react.element'), + v = Symbol.for('react.portal'), + p = Symbol.for('react.fragment'), + d = Symbol.for('react.strict_mode'), + b = Symbol.for('react.profiler'), + x = Symbol.for('react.provider'), + m = Symbol.for('react.context'), + $ = Symbol.for('react.forward_ref'), + G = Symbol.for('react.suspense'), + M = Symbol.for('react.memo'), + ne = Symbol.for('react.lazy'), + A = Symbol.iterator; + function ee(z) { + return z === null || typeof z != 'object' + ? null + : ((z = (A && z[A]) || z['@@iterator']), + typeof z == 'function' ? z : null); + } + var ie = { + isMounted: function () { + return !1; + }, + enqueueForceUpdate: function () {}, + enqueueReplaceState: function () {}, + enqueueSetState: function () {}, + }, + he = Object.assign, + Oe = {}; + function ge(z, te, xe) { + (this.props = z), + (this.context = te), + (this.refs = Oe), + (this.updater = xe || ie); + } + (ge.prototype.isReactComponent = {}), + (ge.prototype.setState = function (z, te) { + if (typeof z != 'object' && typeof z != 'function' && z != 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, z, te, 'setState'); + }), + (ge.prototype.forceUpdate = function (z) { + this.updater.enqueueForceUpdate(this, z, 'forceUpdate'); + }); + function Pe() {} + Pe.prototype = ge.prototype; + function Re(z, te, xe) { + (this.props = z), + (this.context = te), + (this.refs = Oe), + (this.updater = xe || ie); + } + var ye = (Re.prototype = new Pe()); + (ye.constructor = Re), he(ye, ge.prototype), (ye.isPureReactComponent = !0); + var Ge = Array.isArray, + ae = Object.prototype.hasOwnProperty, + Le = { current: null }, + lt = { key: !0, ref: !0, __self: !0, __source: !0 }; + function Ht(z, te, xe) { + var Xe, + We = {}, + ht = null, + Je = null; + if (te != null) + for (Xe in (te.ref !== void 0 && (Je = te.ref), + te.key !== void 0 && (ht = '' + te.key), + te)) + ae.call(te, Xe) && !lt.hasOwnProperty(Xe) && (We[Xe] = te[Xe]); + var ot = arguments.length - 2; + if (ot === 1) We.children = xe; + else if (1 < ot) { + for (var it = Array(ot), Tt = 0; Tt < ot; Tt++) + it[Tt] = arguments[Tt + 2]; + We.children = it; + } + if (z && z.defaultProps) + for (Xe in ((ot = z.defaultProps), ot)) + We[Xe] === void 0 && (We[Xe] = ot[Xe]); + return { + $$typeof: l, + type: z, + key: ht, + ref: Je, + props: We, + _owner: Le.current, + }; + } + function Fn(z, te) { + return { + $$typeof: l, + type: z.type, + key: te, + ref: z.ref, + props: z.props, + _owner: z._owner, + }; + } + function xn(z) { + return typeof z == 'object' && z !== null && z.$$typeof === l; + } + function yn(z) { + var te = { '=': '=0', ':': '=2' }; + return ( + '$' + + z.replace(/[=:]/g, function (xe) { + return te[xe]; + }) + ); + } + var Jn = /\/+/g; + function At(z, te) { + return typeof z == 'object' && z !== null && z.key != null + ? yn('' + z.key) + : te.toString(36); + } + function Mt(z, te, xe, Xe, We) { + var ht = typeof z; + (ht === 'undefined' || ht === 'boolean') && (z = null); + var Je = !1; + if (z === null) Je = !0; + else + switch (ht) { + case 'string': + case 'number': + Je = !0; + break; + case 'object': + switch (z.$$typeof) { + case l: + case v: + Je = !0; + } + } + if (Je) + return ( + (Je = z), + (We = We(Je)), + (z = Xe === '' ? '.' + At(Je, 0) : Xe), + Ge(We) + ? ((xe = ''), + z != null && (xe = z.replace(Jn, '$&/') + '/'), + Mt(We, te, xe, '', function (Tt) { + return Tt; + })) + : We != null && + (xn(We) && + (We = Fn( + We, + xe + + (!We.key || (Je && Je.key === We.key) + ? '' + : ('' + We.key).replace(Jn, '$&/') + '/') + + z + )), + te.push(We)), + 1 + ); + if (((Je = 0), (Xe = Xe === '' ? '.' : Xe + ':'), Ge(z))) + for (var ot = 0; ot < z.length; ot++) { + ht = z[ot]; + var it = Xe + At(ht, ot); + Je += Mt(ht, te, xe, it, We); + } + else if (((it = ee(z)), typeof it == 'function')) + for (z = it.call(z), ot = 0; !(ht = z.next()).done; ) + (ht = ht.value), + (it = Xe + At(ht, ot++)), + (Je += Mt(ht, te, xe, it, We)); + else if (ht === 'object') + throw ( + ((te = String(z)), + Error( + 'Objects are not valid as a React child (found: ' + + (te === '[object Object]' + ? 'object with keys {' + Object.keys(z).join(', ') + '}' + : te) + + '). If you meant to render a collection of children, use an array instead.' + )) + ); + return Je; + } + function On(z, te, xe) { + if (z == null) return z; + var Xe = [], + We = 0; + return ( + Mt(z, Xe, '', '', function (ht) { + return te.call(xe, ht, We++); + }), + Xe + ); + } + function rn(z) { + if (z._status === -1) { + var te = z._result; + (te = te()), + te.then( + function (xe) { + (z._status === 0 || z._status === -1) && + ((z._status = 1), (z._result = xe)); + }, + function (xe) { + (z._status === 0 || z._status === -1) && + ((z._status = 2), (z._result = xe)); + } + ), + z._status === -1 && ((z._status = 0), (z._result = te)); + } + if (z._status === 1) return z._result.default; + throw z._result; + } + var st = { current: null }, + He = { transition: null }, + wt = { + ReactCurrentDispatcher: st, + ReactCurrentBatchConfig: He, + ReactCurrentOwner: Le, + }; + return ( + (Qn.Children = { + map: On, + forEach: function (z, te, xe) { + On( + z, + function () { + te.apply(this, arguments); + }, + xe + ); + }, + count: function (z) { + var te = 0; + return ( + On(z, function () { + te++; + }), + te + ); + }, + toArray: function (z) { + return ( + On(z, function (te) { + return te; + }) || [] + ); + }, + only: function (z) { + if (!xn(z)) + throw Error( + 'React.Children.only expected to receive a single React element child.' + ); + return z; + }, + }), + (Qn.Component = ge), + (Qn.Fragment = p), + (Qn.Profiler = b), + (Qn.PureComponent = Re), + (Qn.StrictMode = d), + (Qn.Suspense = G), + (Qn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = wt), + (Qn.cloneElement = function (z, te, xe) { + if (z == null) + throw Error( + 'React.cloneElement(...): The argument must be a React element, but you passed ' + + z + + '.' + ); + var Xe = he({}, z.props), + We = z.key, + ht = z.ref, + Je = z._owner; + if (te != null) { + if ( + (te.ref !== void 0 && ((ht = te.ref), (Je = Le.current)), + te.key !== void 0 && (We = '' + te.key), + z.type && z.type.defaultProps) + ) + var ot = z.type.defaultProps; + for (it in te) + ae.call(te, it) && + !lt.hasOwnProperty(it) && + (Xe[it] = te[it] === void 0 && ot !== void 0 ? ot[it] : te[it]); + } + var it = arguments.length - 2; + if (it === 1) Xe.children = xe; + else if (1 < it) { + ot = Array(it); + for (var Tt = 0; Tt < it; Tt++) ot[Tt] = arguments[Tt + 2]; + Xe.children = ot; + } + return { + $$typeof: l, + type: z.type, + key: We, + ref: ht, + props: Xe, + _owner: Je, + }; + }), + (Qn.createContext = function (z) { + return ( + (z = { + $$typeof: m, + _currentValue: z, + _currentValue2: z, + _threadCount: 0, + Provider: null, + Consumer: null, + _defaultValue: null, + _globalName: null, + }), + (z.Provider = { $$typeof: x, _context: z }), + (z.Consumer = z) + ); + }), + (Qn.createElement = Ht), + (Qn.createFactory = function (z) { + var te = Ht.bind(null, z); + return (te.type = z), te; + }), + (Qn.createRef = function () { + return { current: null }; + }), + (Qn.forwardRef = function (z) { + return { $$typeof: $, render: z }; + }), + (Qn.isValidElement = xn), + (Qn.lazy = function (z) { + return { $$typeof: ne, _payload: { _status: -1, _result: z }, _init: rn }; + }), + (Qn.memo = function (z, te) { + return { $$typeof: M, type: z, compare: te === void 0 ? null : te }; + }), + (Qn.startTransition = function (z) { + var te = He.transition; + He.transition = {}; + try { + z(); + } finally { + He.transition = te; + } + }), + (Qn.unstable_act = function () { + throw Error('act(...) is not supported in production builds of React.'); + }), + (Qn.useCallback = function (z, te) { + return st.current.useCallback(z, te); + }), + (Qn.useContext = function (z) { + return st.current.useContext(z); + }), + (Qn.useDebugValue = function () {}), + (Qn.useDeferredValue = function (z) { + return st.current.useDeferredValue(z); + }), + (Qn.useEffect = function (z, te) { + return st.current.useEffect(z, te); + }), + (Qn.useId = function () { + return st.current.useId(); + }), + (Qn.useImperativeHandle = function (z, te, xe) { + return st.current.useImperativeHandle(z, te, xe); + }), + (Qn.useInsertionEffect = function (z, te) { + return st.current.useInsertionEffect(z, te); + }), + (Qn.useLayoutEffect = function (z, te) { + return st.current.useLayoutEffect(z, te); + }), + (Qn.useMemo = function (z, te) { + return st.current.useMemo(z, te); + }), + (Qn.useReducer = function (z, te, xe) { + return st.current.useReducer(z, te, xe); + }), + (Qn.useRef = function (z) { + return st.current.useRef(z); + }), + (Qn.useState = function (z) { + return st.current.useState(z); + }), + (Qn.useSyncExternalStore = function (z, te, xe) { + return st.current.useSyncExternalStore(z, te, xe); + }), + (Qn.useTransition = function () { + return st.current.useTransition(); + }), + (Qn.version = '18.2.0'), + Qn + ); +} +process.env.NODE_ENV === 'production' + ? (BR.exports = dN()) + : (BR.exports = fN()); +var tt = BR.exports; +const _n = /* @__PURE__ */ Zg(tt); +/** + * @license React + * react-jsx-runtime.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. + */ +var Sx; +function pN() { + return ( + Sx || + ((Sx = 1), + process.env.NODE_ENV !== 'production' && + (function () { + var l = tt, + v = Symbol.for('react.element'), + p = Symbol.for('react.portal'), + d = Symbol.for('react.fragment'), + b = Symbol.for('react.strict_mode'), + x = Symbol.for('react.profiler'), + m = Symbol.for('react.provider'), + $ = Symbol.for('react.context'), + G = Symbol.for('react.forward_ref'), + M = Symbol.for('react.suspense'), + ne = Symbol.for('react.suspense_list'), + A = Symbol.for('react.memo'), + ee = Symbol.for('react.lazy'), + ie = Symbol.for('react.offscreen'), + he = Symbol.iterator, + Oe = '@@iterator'; + function ge(W) { + if (W === null || typeof W != 'object') return null; + var ze = (he && W[he]) || W[Oe]; + return typeof ze == 'function' ? ze : null; + } + var Pe = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function Re(W) { + { + for ( + var ze = arguments.length, + nt = new Array(ze > 1 ? ze - 1 : 0), + mt = 1; + mt < ze; + mt++ + ) + nt[mt - 1] = arguments[mt]; + ye('error', W, nt); + } + } + function ye(W, ze, nt) { + { + var mt = Pe.ReactDebugCurrentFrame, + sn = mt.getStackAddendum(); + sn !== '' && ((ze += '%s'), (nt = nt.concat([sn]))); + var kn = nt.map(function (pn) { + return String(pn); + }); + kn.unshift('Warning: ' + ze), + Function.prototype.apply.call(console[W], console, kn); + } + } + var Ge = !1, + ae = !1, + Le = !1, + lt = !1, + Ht = !1, + Fn; + Fn = Symbol.for('react.module.reference'); + function xn(W) { + return !!( + typeof W == 'string' || + typeof W == 'function' || + W === d || + W === x || + Ht || + W === b || + W === M || + W === ne || + lt || + W === ie || + Ge || + ae || + Le || + (typeof W == 'object' && + W !== null && + (W.$$typeof === ee || + W.$$typeof === A || + W.$$typeof === m || + W.$$typeof === $ || + W.$$typeof === G || // 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. + W.$$typeof === Fn || + W.getModuleId !== void 0)) + ); + } + function yn(W, ze, nt) { + var mt = W.displayName; + if (mt) return mt; + var sn = ze.displayName || ze.name || ''; + return sn !== '' ? nt + '(' + sn + ')' : nt; + } + function Jn(W) { + return W.displayName || 'Context'; + } + function At(W) { + if (W == null) return null; + if ( + (typeof W.tag == 'number' && + Re( + 'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.' + ), + typeof W == 'function') + ) + return W.displayName || W.name || null; + if (typeof W == 'string') return W; + switch (W) { + case d: + return 'Fragment'; + case p: + return 'Portal'; + case x: + return 'Profiler'; + case b: + return 'StrictMode'; + case M: + return 'Suspense'; + case ne: + return 'SuspenseList'; + } + if (typeof W == 'object') + switch (W.$$typeof) { + case $: + var ze = W; + return Jn(ze) + '.Consumer'; + case m: + var nt = W; + return Jn(nt._context) + '.Provider'; + case G: + return yn(W, W.render, 'ForwardRef'); + case A: + var mt = W.displayName || null; + return mt !== null ? mt : At(W.type) || 'Memo'; + case ee: { + var sn = W, + kn = sn._payload, + pn = sn._init; + try { + return At(pn(kn)); + } catch { + return null; + } + } + } + return null; + } + var Mt = Object.assign, + On = 0, + rn, + st, + He, + wt, + z, + te, + xe; + function Xe() {} + Xe.__reactDisabledLog = !0; + function We() { + { + if (On === 0) { + (rn = console.log), + (st = console.info), + (He = console.warn), + (wt = console.error), + (z = console.group), + (te = console.groupCollapsed), + (xe = console.groupEnd); + var W = { + configurable: !0, + enumerable: !0, + value: Xe, + writable: !0, + }; + Object.defineProperties(console, { + info: W, + log: W, + warn: W, + error: W, + group: W, + groupCollapsed: W, + groupEnd: W, + }); + } + On++; + } + } + function ht() { + { + if ((On--, On === 0)) { + var W = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: Mt({}, W, { + value: rn, + }), + info: Mt({}, W, { + value: st, + }), + warn: Mt({}, W, { + value: He, + }), + error: Mt({}, W, { + value: wt, + }), + group: Mt({}, W, { + value: z, + }), + groupCollapsed: Mt({}, W, { + value: te, + }), + groupEnd: Mt({}, W, { + value: xe, + }), + }); + } + On < 0 && + Re( + 'disabledDepth fell below zero. This is a bug in React. Please file an issue.' + ); + } + } + var Je = Pe.ReactCurrentDispatcher, + ot; + function it(W, ze, nt) { + { + if (ot === void 0) + try { + throw Error(); + } catch (sn) { + var mt = sn.stack.trim().match(/\n( *(at )?)/); + ot = (mt && mt[1]) || ''; + } + return ( + ` +` + + ot + + W + ); + } + } + var Tt = !1, + an; + { + var In = typeof WeakMap == 'function' ? WeakMap : Map; + an = new In(); + } + function Ze(W, ze) { + if (!W || Tt) return ''; + { + var nt = an.get(W); + if (nt !== void 0) return nt; + } + var mt; + Tt = !0; + var sn = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var kn; + (kn = Je.current), (Je.current = null), We(); + try { + if (ze) { + 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 (Mn) { + mt = Mn; + } + Reflect.construct(W, [], pn); + } else { + try { + pn.call(); + } catch (Mn) { + mt = Mn; + } + W.call(pn.prototype); + } + } else { + try { + throw Error(); + } catch (Mn) { + mt = Mn; + } + W(); + } + } catch (Mn) { + if (Mn && mt && typeof Mn.stack == 'string') { + for ( + var zt = Mn.stack.split(` +`), + cr = mt.stack.split(` +`), + nr = zt.length - 1, + ar = cr.length - 1; + nr >= 1 && ar >= 0 && zt[nr] !== cr[ar]; + + ) + ar--; + for (; nr >= 1 && ar >= 0; nr--, ar--) + if (zt[nr] !== cr[ar]) { + if (nr !== 1 || ar !== 1) + do + if ((nr--, ar--, ar < 0 || zt[nr] !== cr[ar])) { + var $r = + ` +` + zt[nr].replace(' at new ', ' at '); + return ( + W.displayName && + $r.includes('') && + ($r = $r.replace('', W.displayName)), + typeof W == 'function' && an.set(W, $r), + $r + ); + } + while (nr >= 1 && ar >= 0); + break; + } + } + } finally { + (Tt = !1), + (Je.current = kn), + ht(), + (Error.prepareStackTrace = sn); + } + var ki = W ? W.displayName || W.name : '', + lu = ki ? it(ki) : ''; + return typeof W == 'function' && an.set(W, lu), lu; + } + function Dn(W, ze, nt) { + return Ze(W, !1); + } + function lr(W) { + var ze = W.prototype; + return !!(ze && ze.isReactComponent); + } + function Rr(W, ze, nt) { + if (W == null) return ''; + if (typeof W == 'function') return Ze(W, lr(W)); + if (typeof W == 'string') return it(W); + switch (W) { + case M: + return it('Suspense'); + case ne: + return it('SuspenseList'); + } + if (typeof W == 'object') + switch (W.$$typeof) { + case G: + return Dn(W.render); + case A: + return Rr(W.type, ze, nt); + case ee: { + var mt = W, + sn = mt._payload, + kn = mt._init; + try { + return Rr(kn(sn), ze, nt); + } catch {} + } + } + return ''; + } + var jr = Object.prototype.hasOwnProperty, + xr = {}, + Ca = Pe.ReactDebugCurrentFrame; + function wa(W) { + if (W) { + var ze = W._owner, + nt = Rr(W.type, W._source, ze ? ze.type : null); + Ca.setExtraStackFrame(nt); + } else Ca.setExtraStackFrame(null); + } + function Ur(W, ze, nt, mt, sn) { + { + var kn = Function.call.bind(jr); + for (var pn in W) + if (kn(W, pn)) { + var zt = void 0; + try { + if (typeof W[pn] != 'function') { + var cr = Error( + (mt || 'React class') + + ': ' + + nt + + ' type `' + + pn + + '` is invalid; it must be a function, usually from the `prop-types` package, but received `' + + typeof W[pn] + + '`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' + ); + throw ((cr.name = 'Invariant Violation'), cr); + } + zt = W[pn]( + ze, + pn, + mt, + nt, + null, + 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED' + ); + } catch (nr) { + zt = nr; + } + zt && + !(zt instanceof Error) && + (wa(sn), + Re( + '%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).', + mt || 'React class', + nt, + pn, + typeof zt + ), + wa(null)), + zt instanceof Error && + !(zt.message in xr) && + ((xr[zt.message] = !0), + wa(sn), + Re('Failed %s type: %s', nt, zt.message), + wa(null)); + } + } + } + var ta = Array.isArray; + function xa(W) { + return ta(W); + } + function na(W) { + { + var ze = typeof Symbol == 'function' && Symbol.toStringTag, + nt = + (ze && W[Symbol.toStringTag]) || + W.constructor.name || + 'Object'; + return nt; + } + } + function Ta(W) { + try { + return Hr(W), !1; + } catch { + return !0; + } + } + function Hr(W) { + return '' + W; + } + function ca(W) { + if (Ta(W)) + return ( + Re( + 'The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.', + na(W) + ), + Hr(W) + ); + } + var gr = Pe.ReactCurrentOwner, + ra = { + key: !0, + ref: !0, + __self: !0, + __source: !0, + }, + Oi, + za, + et; + et = {}; + function Lt(W) { + if (jr.call(W, 'ref')) { + var ze = Object.getOwnPropertyDescriptor(W, 'ref').get; + if (ze && ze.isReactWarning) return !1; + } + return W.ref !== void 0; + } + function Sn(W) { + if (jr.call(W, 'key')) { + var ze = Object.getOwnPropertyDescriptor(W, 'key').get; + if (ze && ze.isReactWarning) return !1; + } + return W.key !== void 0; + } + function Bn(W, ze) { + if ( + typeof W.ref == 'string' && + gr.current && + ze && + gr.current.stateNode !== ze + ) { + var nt = At(gr.current.type); + et[nt] || + (Re( + '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', + At(gr.current.type), + W.ref + ), + (et[nt] = !0)); + } + } + function $n(W, ze) { + { + var nt = function () { + Oi || + ((Oi = !0), + Re( + '%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)', + ze + )); + }; + (nt.isReactWarning = !0), + Object.defineProperty(W, 'key', { + get: nt, + configurable: !0, + }); + } + } + function yr(W, ze) { + { + var nt = function () { + za || + ((za = !0), + Re( + '%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)', + ze + )); + }; + (nt.isReactWarning = !0), + Object.defineProperty(W, 'ref', { + get: nt, + configurable: !0, + }); + } + } + var sr = function (W, ze, nt, mt, sn, kn, pn) { + var zt = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: v, + // Built-in properties that belong on the element + type: W, + key: ze, + ref: nt, + props: pn, + // Record the component responsible for creating this element. + _owner: kn, + }; + return ( + (zt._store = {}), + Object.defineProperty(zt._store, 'validated', { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1, + }), + Object.defineProperty(zt, '_self', { + configurable: !1, + enumerable: !1, + writable: !1, + value: mt, + }), + Object.defineProperty(zt, '_source', { + configurable: !1, + enumerable: !1, + writable: !1, + value: sn, + }), + Object.freeze && (Object.freeze(zt.props), Object.freeze(zt)), + zt + ); + }; + function Ir(W, ze, nt, mt, sn) { + { + var kn, + pn = {}, + zt = null, + cr = null; + nt !== void 0 && (ca(nt), (zt = '' + nt)), + Sn(ze) && (ca(ze.key), (zt = '' + ze.key)), + Lt(ze) && ((cr = ze.ref), Bn(ze, sn)); + for (kn in ze) + jr.call(ze, kn) && !ra.hasOwnProperty(kn) && (pn[kn] = ze[kn]); + if (W && W.defaultProps) { + var nr = W.defaultProps; + for (kn in nr) pn[kn] === void 0 && (pn[kn] = nr[kn]); + } + if (zt || cr) { + var ar = + typeof W == 'function' + ? W.displayName || W.name || 'Unknown' + : W; + zt && $n(pn, ar), cr && yr(pn, ar); + } + return sr(W, zt, cr, sn, mt, gr.current, pn); + } + } + var Xn = Pe.ReactCurrentOwner, + Xr = Pe.ReactDebugCurrentFrame; + function Vn(W) { + if (W) { + var ze = W._owner, + nt = Rr(W.type, W._source, ze ? ze.type : null); + Xr.setExtraStackFrame(nt); + } else Xr.setExtraStackFrame(null); + } + var Gn; + Gn = !1; + function Ja(W) { + return typeof W == 'object' && W !== null && W.$$typeof === v; + } + function aa() { + { + if (Xn.current) { + var W = At(Xn.current.type); + if (W) + return ( + ` + +Check the render method of \`` + + W + + '`.' + ); + } + return ''; + } + } + function Yi(W) { + { + if (W !== void 0) { + var ze = W.fileName.replace(/^.*[\\\/]/, ''), + nt = W.lineNumber; + return ( + ` + +Check your code at ` + + ze + + ':' + + nt + + '.' + ); + } + return ''; + } + } + var Io = {}; + function $o(W) { + { + var ze = aa(); + if (!ze) { + var nt = typeof W == 'string' ? W : W.displayName || W.name; + nt && + (ze = + ` + +Check the top-level render call using <` + + nt + + '>.'); + } + return ze; + } + } + function ci(W, ze) { + { + if (!W._store || W._store.validated || W.key != null) return; + W._store.validated = !0; + var nt = $o(ze); + if (Io[nt]) return; + Io[nt] = !0; + var mt = ''; + W && + W._owner && + W._owner !== Xn.current && + (mt = ' It was passed a child from ' + At(W._owner.type) + '.'), + Vn(W), + Re( + 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', + nt, + mt + ), + Vn(null); + } + } + function qi(W, ze) { + { + if (typeof W != 'object') return; + if (xa(W)) + for (var nt = 0; nt < W.length; nt++) { + var mt = W[nt]; + Ja(mt) && ci(mt, ze); + } + else if (Ja(W)) W._store && (W._store.validated = !0); + else if (W) { + var sn = ge(W); + if (typeof sn == 'function' && sn !== W.entries) + for (var kn = sn.call(W), pn; !(pn = kn.next()).done; ) + Ja(pn.value) && ci(pn.value, ze); + } + } + } + function _a(W) { + { + var ze = W.type; + if (ze == null || typeof ze == 'string') return; + var nt; + if (typeof ze == 'function') nt = ze.propTypes; + else if ( + typeof ze == 'object' && + (ze.$$typeof === G || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + ze.$$typeof === A) + ) + nt = ze.propTypes; + else return; + if (nt) { + var mt = At(ze); + Ur(nt, W.props, 'prop', mt, W); + } else if (ze.PropTypes !== void 0 && !Gn) { + Gn = !0; + var sn = At(ze); + Re( + 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', + sn || 'Unknown' + ); + } + typeof ze.getDefaultProps == 'function' && + !ze.getDefaultProps.isReactClassApproved && + Re( + 'getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.' + ); + } + } + function Za(W) { + { + for ( + var ze = Object.keys(W.props), nt = 0; + nt < ze.length; + nt++ + ) { + var mt = ze[nt]; + if (mt !== 'children' && mt !== 'key') { + Vn(W), + Re( + 'Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.', + mt + ), + Vn(null); + break; + } + } + W.ref !== null && + (Vn(W), + Re('Invalid attribute `ref` supplied to `React.Fragment`.'), + Vn(null)); + } + } + function fa(W, ze, nt, mt, sn, kn) { + { + var pn = xn(W); + if (!pn) { + var zt = ''; + (W === void 0 || + (typeof W == 'object' && + W !== null && + Object.keys(W).length === 0)) && + (zt += + " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); + var cr = Yi(sn); + cr ? (zt += cr) : (zt += aa()); + var nr; + W === null + ? (nr = 'null') + : xa(W) + ? (nr = 'array') + : W !== void 0 && W.$$typeof === v + ? ((nr = '<' + (At(W.type) || 'Unknown') + ' />'), + (zt = + ' Did you accidentally export a JSX literal instead of a component?')) + : (nr = typeof W), + Re( + 'React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', + nr, + zt + ); + } + var ar = Ir(W, ze, nt, sn, kn); + if (ar == null) return ar; + if (pn) { + var $r = ze.children; + if ($r !== void 0) + if (mt) + if (xa($r)) { + for (var ki = 0; ki < $r.length; ki++) qi($r[ki], W); + Object.freeze && Object.freeze($r); + } else + Re( + 'React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.' + ); + else qi($r, W); + } + return W === d ? Za(ar) : _a(ar), ar; + } + } + function fi(W, ze, nt) { + return fa(W, ze, nt, !0); + } + function ia(W, ze, nt) { + return fa(W, ze, nt, !1); + } + var da = ia, + di = fi; + (eh.Fragment = d), (eh.jsx = da), (eh.jsxs = di); + })()), + eh + ); +} +var th = {}; +/** + * @license React + * react-jsx-runtime.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 bx; +function vN() { + if (bx) return th; + bx = 1; + var l = tt, + v = Symbol.for('react.element'), + p = Symbol.for('react.fragment'), + d = Object.prototype.hasOwnProperty, + b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, + x = { key: !0, ref: !0, __self: !0, __source: !0 }; + function m($, G, M) { + var ne, + A = {}, + ee = null, + ie = null; + M !== void 0 && (ee = '' + M), + G.key !== void 0 && (ee = '' + G.key), + G.ref !== void 0 && (ie = G.ref); + for (ne in G) d.call(G, ne) && !x.hasOwnProperty(ne) && (A[ne] = G[ne]); + if ($ && $.defaultProps) + for (ne in ((G = $.defaultProps), G)) A[ne] === void 0 && (A[ne] = G[ne]); + return { + $$typeof: v, + type: $, + key: ee, + ref: ie, + props: A, + _owner: b.current, + }; + } + return (th.Fragment = p), (th.jsx = m), (th.jsxs = m), th; +} +process.env.NODE_ENV === 'production' + ? (FR.exports = vN()) + : (FR.exports = pN()); +var Be = FR.exports; +const np = ({ className: l, dataTestid: v, label: p, name: d, size: b }) => { + const x = `icon icon-${d}` + (b ? ` icon-${b}` : ''), + m = l ? [l, x].join(' ') : x; + return /* @__PURE__ */ Be.jsx('i', { + className: m, + role: 'img', + 'aria-label': p, + 'data-testid': v, + }); +}; +var UR = { exports: {} }, + RR, + Rx; +function RE() { + if (Rx) return RR; + Rx = 1; + var l = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; + return (RR = l), RR; +} +var ER, Ex; +function hN() { + if (Ex) return ER; + Ex = 1; + var l = RE(); + function v() {} + function p() {} + return ( + (p.resetWarningCache = v), + (ER = function () { + function d(m, $, G, M, ne, A) { + if (A !== l) { + var ee = new Error( + 'Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types' + ); + throw ((ee.name = 'Invariant Violation'), ee); + } + } + d.isRequired = d; + function b() { + return d; + } + var x = { + array: d, + bigint: d, + bool: d, + func: d, + number: d, + object: d, + string: d, + symbol: d, + any: d, + arrayOf: b, + element: d, + elementType: d, + instanceOf: b, + node: d, + objectOf: b, + oneOf: b, + oneOfType: b, + shape: b, + exact: b, + checkPropTypes: p, + resetWarningCache: v, + }; + return (x.PropTypes = x), x; + }), + ER + ); +} +var kg = { exports: {} }, + hr = {}; +/** @license React v16.13.1 + * react-is.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. + */ +var Cx; +function mN() { + return ( + Cx || + ((Cx = 1), + process.env.NODE_ENV !== 'production' && + (function () { + var l = typeof Symbol == 'function' && Symbol.for, + v = l ? Symbol.for('react.element') : 60103, + p = l ? Symbol.for('react.portal') : 60106, + d = l ? Symbol.for('react.fragment') : 60107, + b = l ? Symbol.for('react.strict_mode') : 60108, + x = l ? Symbol.for('react.profiler') : 60114, + m = l ? Symbol.for('react.provider') : 60109, + $ = l ? Symbol.for('react.context') : 60110, + G = l ? Symbol.for('react.async_mode') : 60111, + M = l ? Symbol.for('react.concurrent_mode') : 60111, + ne = l ? Symbol.for('react.forward_ref') : 60112, + A = l ? Symbol.for('react.suspense') : 60113, + ee = l ? Symbol.for('react.suspense_list') : 60120, + ie = l ? Symbol.for('react.memo') : 60115, + he = l ? Symbol.for('react.lazy') : 60116, + Oe = l ? Symbol.for('react.block') : 60121, + ge = l ? Symbol.for('react.fundamental') : 60117, + Pe = l ? Symbol.for('react.responder') : 60118, + Re = l ? Symbol.for('react.scope') : 60119; + function ye(Ze) { + return ( + typeof Ze == 'string' || + typeof Ze == 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + Ze === d || + Ze === M || + Ze === x || + Ze === b || + Ze === A || + Ze === ee || + (typeof Ze == 'object' && + Ze !== null && + (Ze.$$typeof === he || + Ze.$$typeof === ie || + Ze.$$typeof === m || + Ze.$$typeof === $ || + Ze.$$typeof === ne || + Ze.$$typeof === ge || + Ze.$$typeof === Pe || + Ze.$$typeof === Re || + Ze.$$typeof === Oe)) + ); + } + function Ge(Ze) { + if (typeof Ze == 'object' && Ze !== null) { + var Dn = Ze.$$typeof; + switch (Dn) { + case v: + var lr = Ze.type; + switch (lr) { + case G: + case M: + case d: + case x: + case b: + case A: + return lr; + default: + var Rr = lr && lr.$$typeof; + switch (Rr) { + case $: + case ne: + case he: + case ie: + case m: + return Rr; + default: + return Dn; + } + } + case p: + return Dn; + } + } + } + var ae = G, + Le = M, + lt = $, + Ht = m, + Fn = v, + xn = ne, + yn = d, + Jn = he, + At = ie, + Mt = p, + On = x, + rn = b, + st = A, + He = !1; + function wt(Ze) { + return ( + He || + ((He = !0), + console.warn( + 'The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.' + )), + z(Ze) || Ge(Ze) === G + ); + } + function z(Ze) { + return Ge(Ze) === M; + } + function te(Ze) { + return Ge(Ze) === $; + } + function xe(Ze) { + return Ge(Ze) === m; + } + function Xe(Ze) { + return typeof Ze == 'object' && Ze !== null && Ze.$$typeof === v; + } + function We(Ze) { + return Ge(Ze) === ne; + } + function ht(Ze) { + return Ge(Ze) === d; + } + function Je(Ze) { + return Ge(Ze) === he; + } + function ot(Ze) { + return Ge(Ze) === ie; + } + function it(Ze) { + return Ge(Ze) === p; + } + function Tt(Ze) { + return Ge(Ze) === x; + } + function an(Ze) { + return Ge(Ze) === b; + } + function In(Ze) { + return Ge(Ze) === A; + } + (hr.AsyncMode = ae), + (hr.ConcurrentMode = Le), + (hr.ContextConsumer = lt), + (hr.ContextProvider = Ht), + (hr.Element = Fn), + (hr.ForwardRef = xn), + (hr.Fragment = yn), + (hr.Lazy = Jn), + (hr.Memo = At), + (hr.Portal = Mt), + (hr.Profiler = On), + (hr.StrictMode = rn), + (hr.Suspense = st), + (hr.isAsyncMode = wt), + (hr.isConcurrentMode = z), + (hr.isContextConsumer = te), + (hr.isContextProvider = xe), + (hr.isElement = Xe), + (hr.isForwardRef = We), + (hr.isFragment = ht), + (hr.isLazy = Je), + (hr.isMemo = ot), + (hr.isPortal = it), + (hr.isProfiler = Tt), + (hr.isStrictMode = an), + (hr.isSuspense = In), + (hr.isValidElementType = ye), + (hr.typeOf = Ge); + })()), + hr + ); +} +var mr = {}; +/** @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 wx; +function gN() { + if (wx) return mr; + wx = 1; + var l = typeof Symbol == 'function' && Symbol.for, + v = l ? Symbol.for('react.element') : 60103, + p = l ? Symbol.for('react.portal') : 60106, + d = l ? Symbol.for('react.fragment') : 60107, + b = l ? Symbol.for('react.strict_mode') : 60108, + x = l ? Symbol.for('react.profiler') : 60114, + m = l ? Symbol.for('react.provider') : 60109, + $ = l ? Symbol.for('react.context') : 60110, + G = l ? Symbol.for('react.async_mode') : 60111, + M = l ? Symbol.for('react.concurrent_mode') : 60111, + ne = l ? Symbol.for('react.forward_ref') : 60112, + A = l ? Symbol.for('react.suspense') : 60113, + ee = l ? Symbol.for('react.suspense_list') : 60120, + ie = l ? Symbol.for('react.memo') : 60115, + he = l ? Symbol.for('react.lazy') : 60116, + Oe = l ? Symbol.for('react.block') : 60121, + ge = l ? Symbol.for('react.fundamental') : 60117, + Pe = l ? Symbol.for('react.responder') : 60118, + Re = l ? Symbol.for('react.scope') : 60119; + function ye(ae) { + if (typeof ae == 'object' && ae !== null) { + var Le = ae.$$typeof; + switch (Le) { + case v: + switch (((ae = ae.type), ae)) { + case G: + case M: + case d: + case x: + case b: + case A: + return ae; + default: + switch (((ae = ae && ae.$$typeof), ae)) { + case $: + case ne: + case he: + case ie: + case m: + return ae; + default: + return Le; + } + } + case p: + return Le; + } + } + } + function Ge(ae) { + return ye(ae) === M; + } + return ( + (mr.AsyncMode = G), + (mr.ConcurrentMode = M), + (mr.ContextConsumer = $), + (mr.ContextProvider = m), + (mr.Element = v), + (mr.ForwardRef = ne), + (mr.Fragment = d), + (mr.Lazy = he), + (mr.Memo = ie), + (mr.Portal = p), + (mr.Profiler = x), + (mr.StrictMode = b), + (mr.Suspense = A), + (mr.isAsyncMode = function (ae) { + return Ge(ae) || ye(ae) === G; + }), + (mr.isConcurrentMode = Ge), + (mr.isContextConsumer = function (ae) { + return ye(ae) === $; + }), + (mr.isContextProvider = function (ae) { + return ye(ae) === m; + }), + (mr.isElement = function (ae) { + return typeof ae == 'object' && ae !== null && ae.$$typeof === v; + }), + (mr.isForwardRef = function (ae) { + return ye(ae) === ne; + }), + (mr.isFragment = function (ae) { + return ye(ae) === d; + }), + (mr.isLazy = function (ae) { + return ye(ae) === he; + }), + (mr.isMemo = function (ae) { + return ye(ae) === ie; + }), + (mr.isPortal = function (ae) { + return ye(ae) === p; + }), + (mr.isProfiler = function (ae) { + return ye(ae) === x; + }), + (mr.isStrictMode = function (ae) { + return ye(ae) === b; + }), + (mr.isSuspense = function (ae) { + return ye(ae) === A; + }), + (mr.isValidElementType = function (ae) { + return ( + typeof ae == 'string' || + typeof ae == 'function' || + ae === d || + ae === M || + ae === x || + ae === b || + ae === A || + ae === ee || + (typeof ae == 'object' && + ae !== null && + (ae.$$typeof === he || + ae.$$typeof === ie || + ae.$$typeof === m || + ae.$$typeof === $ || + ae.$$typeof === ne || + ae.$$typeof === ge || + ae.$$typeof === Pe || + ae.$$typeof === Re || + ae.$$typeof === Oe)) + ); + }), + (mr.typeOf = ye), + mr + ); +} +var xx; +function EE() { + return ( + xx || + ((xx = 1), + process.env.NODE_ENV === 'production' + ? (kg.exports = gN()) + : (kg.exports = mN())), + kg.exports + ); +} +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ +var CR, Tx; +function yN() { + if (Tx) return CR; + Tx = 1; + var l = Object.getOwnPropertySymbols, + v = Object.prototype.hasOwnProperty, + p = Object.prototype.propertyIsEnumerable; + function d(x) { + if (x == null) + throw new TypeError( + 'Object.assign cannot be called with null or undefined' + ); + return Object(x); + } + function b() { + try { + if (!Object.assign) return !1; + var x = new String('abc'); + if (((x[5] = 'de'), Object.getOwnPropertyNames(x)[0] === '5')) return !1; + for (var m = {}, $ = 0; $ < 10; $++) m['_' + String.fromCharCode($)] = $; + var G = Object.getOwnPropertyNames(m).map(function (ne) { + return m[ne]; + }); + if (G.join('') !== '0123456789') return !1; + var M = {}; + return ( + 'abcdefghijklmnopqrst'.split('').forEach(function (ne) { + M[ne] = ne; + }), + Object.keys(Object.assign({}, M)).join('') === 'abcdefghijklmnopqrst' + ); + } catch { + return !1; + } + } + return ( + (CR = b() + ? Object.assign + : function (x, m) { + for (var $, G = d(x), M, ne = 1; ne < arguments.length; ne++) { + $ = Object(arguments[ne]); + for (var A in $) v.call($, A) && (G[A] = $[A]); + if (l) { + M = l($); + for (var ee = 0; ee < M.length; ee++) + p.call($, M[ee]) && (G[M[ee]] = $[M[ee]]); + } + } + return G; + }), + CR + ); +} +var wR, _x; +function vT() { + return ( + _x || + ((_x = 1), (wR = Function.call.bind(Object.prototype.hasOwnProperty))), + wR + ); +} +var xR, Ox; +function SN() { + if (Ox) return xR; + Ox = 1; + var l = function () {}; + if (process.env.NODE_ENV !== 'production') { + var v = RE(), + p = {}, + d = vT(); + l = function (x) { + var m = 'Warning: ' + x; + typeof console < 'u' && console.error(m); + try { + throw new Error(m); + } catch {} + }; + } + function b(x, m, $, G, M) { + if (process.env.NODE_ENV !== 'production') { + for (var ne in x) + if (d(x, ne)) { + var A; + try { + if (typeof x[ne] != 'function') { + var ee = Error( + (G || 'React class') + + ': ' + + $ + + ' type `' + + ne + + '` is invalid; it must be a function, usually from the `prop-types` package, but received `' + + typeof x[ne] + + '`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' + ); + throw ((ee.name = 'Invariant Violation'), ee); + } + A = x[ne](m, ne, G, $, null, v); + } catch (he) { + A = he; + } + if ( + (A && + !(A instanceof Error) && + l( + (G || 'React class') + + ': type specification of ' + + $ + + ' `' + + ne + + '` is invalid; the type checker function must return `null` or an `Error` but returned a ' + + typeof A + + '. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).' + ), + A instanceof Error && !(A.message in p)) + ) { + p[A.message] = !0; + var ie = M ? M() : ''; + l('Failed ' + $ + ' type: ' + A.message + (ie ?? '')); + } + } + } + } + return ( + (b.resetWarningCache = function () { + process.env.NODE_ENV !== 'production' && (p = {}); + }), + (xR = b), + xR + ); +} +var TR, kx; +function bN() { + if (kx) return TR; + kx = 1; + var l = EE(), + v = yN(), + p = RE(), + d = vT(), + b = SN(), + x = function () {}; + process.env.NODE_ENV !== 'production' && + (x = function ($) { + var G = 'Warning: ' + $; + typeof console < 'u' && console.error(G); + try { + throw new Error(G); + } catch {} + }); + function m() { + return null; + } + return ( + (TR = function ($, G) { + var M = typeof Symbol == 'function' && Symbol.iterator, + ne = '@@iterator'; + function A(z) { + var te = z && ((M && z[M]) || z[ne]); + if (typeof te == 'function') return te; + } + var ee = '<>', + ie = { + array: Pe('array'), + bigint: Pe('bigint'), + bool: Pe('boolean'), + func: Pe('function'), + number: Pe('number'), + object: Pe('object'), + string: Pe('string'), + symbol: Pe('symbol'), + any: Re(), + arrayOf: ye, + element: Ge(), + elementType: ae(), + instanceOf: Le, + node: xn(), + objectOf: Ht, + oneOf: lt, + oneOfType: Fn, + shape: Jn, + exact: At, + }; + function he(z, te) { + return z === te ? z !== 0 || 1 / z === 1 / te : z !== z && te !== te; + } + function Oe(z, te) { + (this.message = z), + (this.data = te && typeof te == 'object' ? te : {}), + (this.stack = ''); + } + Oe.prototype = Error.prototype; + function ge(z) { + if (process.env.NODE_ENV !== 'production') + var te = {}, + xe = 0; + function Xe(ht, Je, ot, it, Tt, an, In) { + if (((it = it || ee), (an = an || ot), In !== p)) { + if (G) { + var Ze = new Error( + 'Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types' + ); + throw ((Ze.name = 'Invariant Violation'), Ze); + } else if ( + process.env.NODE_ENV !== 'production' && + typeof console < 'u' + ) { + var Dn = it + ':' + ot; + !te[Dn] && // Avoid spamming the console because they are often not actionable except for lib authors + xe < 3 && + (x( + 'You are manually calling a React.PropTypes validation function for the `' + + an + + '` prop on `' + + it + + '`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.' + ), + (te[Dn] = !0), + xe++); + } + } + return Je[ot] == null + ? ht + ? Je[ot] === null + ? new Oe( + 'The ' + + Tt + + ' `' + + an + + '` is marked as required ' + + ('in `' + it + '`, but its value is `null`.') + ) + : new Oe( + 'The ' + + Tt + + ' `' + + an + + '` is marked as required in ' + + ('`' + it + '`, but its value is `undefined`.') + ) + : null + : z(Je, ot, it, Tt, an); + } + var We = Xe.bind(null, !1); + return (We.isRequired = Xe.bind(null, !0)), We; + } + function Pe(z) { + function te(xe, Xe, We, ht, Je, ot) { + var it = xe[Xe], + Tt = rn(it); + if (Tt !== z) { + var an = st(it); + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type ' + + ('`' + an + '` supplied to `' + We + '`, expected ') + + ('`' + z + '`.'), + { expectedType: z } + ); + } + return null; + } + return ge(te); + } + function Re() { + return ge(m); + } + function ye(z) { + function te(xe, Xe, We, ht, Je) { + if (typeof z != 'function') + return new Oe( + 'Property `' + + Je + + '` of component `' + + We + + '` has invalid PropType notation inside arrayOf.' + ); + var ot = xe[Xe]; + if (!Array.isArray(ot)) { + var it = rn(ot); + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type ' + + ('`' + it + '` supplied to `' + We + '`, expected an array.') + ); + } + for (var Tt = 0; Tt < ot.length; Tt++) { + var an = z(ot, Tt, We, ht, Je + '[' + Tt + ']', p); + if (an instanceof Error) return an; + } + return null; + } + return ge(te); + } + function Ge() { + function z(te, xe, Xe, We, ht) { + var Je = te[xe]; + if (!$(Je)) { + var ot = rn(Je); + return new Oe( + 'Invalid ' + + We + + ' `' + + ht + + '` of type ' + + ('`' + + ot + + '` supplied to `' + + Xe + + '`, expected a single ReactElement.') + ); + } + return null; + } + return ge(z); + } + function ae() { + function z(te, xe, Xe, We, ht) { + var Je = te[xe]; + if (!l.isValidElementType(Je)) { + var ot = rn(Je); + return new Oe( + 'Invalid ' + + We + + ' `' + + ht + + '` of type ' + + ('`' + + ot + + '` supplied to `' + + Xe + + '`, expected a single ReactElement type.') + ); + } + return null; + } + return ge(z); + } + function Le(z) { + function te(xe, Xe, We, ht, Je) { + if (!(xe[Xe] instanceof z)) { + var ot = z.name || ee, + it = wt(xe[Xe]); + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type ' + + ('`' + it + '` supplied to `' + We + '`, expected ') + + ('instance of `' + ot + '`.') + ); + } + return null; + } + return ge(te); + } + function lt(z) { + if (!Array.isArray(z)) + return ( + process.env.NODE_ENV !== 'production' && + (arguments.length > 1 + ? x( + 'Invalid arguments supplied to oneOf, expected an array, got ' + + arguments.length + + ' arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' + ) + : x('Invalid argument supplied to oneOf, expected an array.')), + m + ); + function te(xe, Xe, We, ht, Je) { + for (var ot = xe[Xe], it = 0; it < z.length; it++) + if (he(ot, z[it])) return null; + var Tt = JSON.stringify(z, function (In, Ze) { + var Dn = st(Ze); + return Dn === 'symbol' ? String(Ze) : Ze; + }); + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of value `' + + String(ot) + + '` ' + + ('supplied to `' + We + '`, expected one of ' + Tt + '.') + ); + } + return ge(te); + } + function Ht(z) { + function te(xe, Xe, We, ht, Je) { + if (typeof z != 'function') + return new Oe( + 'Property `' + + Je + + '` of component `' + + We + + '` has invalid PropType notation inside objectOf.' + ); + var ot = xe[Xe], + it = rn(ot); + if (it !== 'object') + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type ' + + ('`' + it + '` supplied to `' + We + '`, expected an object.') + ); + for (var Tt in ot) + if (d(ot, Tt)) { + var an = z(ot, Tt, We, ht, Je + '.' + Tt, p); + if (an instanceof Error) return an; + } + return null; + } + return ge(te); + } + function Fn(z) { + if (!Array.isArray(z)) + return ( + process.env.NODE_ENV !== 'production' && + x( + 'Invalid argument supplied to oneOfType, expected an instance of array.' + ), + m + ); + for (var te = 0; te < z.length; te++) { + var xe = z[te]; + if (typeof xe != 'function') + return ( + x( + 'Invalid argument supplied to oneOfType. Expected an array of check functions, but received ' + + He(xe) + + ' at index ' + + te + + '.' + ), + m + ); + } + function Xe(We, ht, Je, ot, it) { + for (var Tt = [], an = 0; an < z.length; an++) { + var In = z[an], + Ze = In(We, ht, Je, ot, it, p); + if (Ze == null) return null; + Ze.data && + d(Ze.data, 'expectedType') && + Tt.push(Ze.data.expectedType); + } + var Dn = + Tt.length > 0 + ? ', expected one of type [' + Tt.join(', ') + ']' + : ''; + return new Oe( + 'Invalid ' + + ot + + ' `' + + it + + '` supplied to ' + + ('`' + Je + '`' + Dn + '.') + ); + } + return ge(Xe); + } + function xn() { + function z(te, xe, Xe, We, ht) { + return Mt(te[xe]) + ? null + : new Oe( + 'Invalid ' + + We + + ' `' + + ht + + '` supplied to ' + + ('`' + Xe + '`, expected a ReactNode.') + ); + } + return ge(z); + } + function yn(z, te, xe, Xe, We) { + return new Oe( + (z || 'React class') + + ': ' + + te + + ' type `' + + xe + + '.' + + Xe + + '` is invalid; it must be a function, usually from the `prop-types` package, but received `' + + We + + '`.' + ); + } + function Jn(z) { + function te(xe, Xe, We, ht, Je) { + var ot = xe[Xe], + it = rn(ot); + if (it !== 'object') + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type `' + + it + + '` ' + + ('supplied to `' + We + '`, expected `object`.') + ); + for (var Tt in z) { + var an = z[Tt]; + if (typeof an != 'function') return yn(We, ht, Je, Tt, st(an)); + var In = an(ot, Tt, We, ht, Je + '.' + Tt, p); + if (In) return In; + } + return null; + } + return ge(te); + } + function At(z) { + function te(xe, Xe, We, ht, Je) { + var ot = xe[Xe], + it = rn(ot); + if (it !== 'object') + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` of type `' + + it + + '` ' + + ('supplied to `' + We + '`, expected `object`.') + ); + var Tt = v({}, xe[Xe], z); + for (var an in Tt) { + var In = z[an]; + if (d(z, an) && typeof In != 'function') + return yn(We, ht, Je, an, st(In)); + if (!In) + return new Oe( + 'Invalid ' + + ht + + ' `' + + Je + + '` key `' + + an + + '` supplied to `' + + We + + '`.\nBad object: ' + + JSON.stringify(xe[Xe], null, ' ') + + ` +Valid keys: ` + + JSON.stringify(Object.keys(z), null, ' ') + ); + var Ze = In(ot, an, We, ht, Je + '.' + an, p); + if (Ze) return Ze; + } + return null; + } + return ge(te); + } + function Mt(z) { + switch (typeof z) { + case 'number': + case 'string': + case 'undefined': + return !0; + case 'boolean': + return !z; + case 'object': + if (Array.isArray(z)) return z.every(Mt); + if (z === null || $(z)) return !0; + var te = A(z); + if (te) { + var xe = te.call(z), + Xe; + if (te !== z.entries) { + for (; !(Xe = xe.next()).done; ) if (!Mt(Xe.value)) return !1; + } else + for (; !(Xe = xe.next()).done; ) { + var We = Xe.value; + if (We && !Mt(We[1])) return !1; + } + } else return !1; + return !0; + default: + return !1; + } + } + function On(z, te) { + return z === 'symbol' + ? !0 + : te + ? te['@@toStringTag'] === 'Symbol' || + (typeof Symbol == 'function' && te instanceof Symbol) + : !1; + } + function rn(z) { + var te = typeof z; + return Array.isArray(z) + ? 'array' + : z instanceof RegExp + ? 'object' + : On(te, z) + ? 'symbol' + : te; + } + function st(z) { + if (typeof z > 'u' || z === null) return '' + z; + var te = rn(z); + if (te === 'object') { + if (z instanceof Date) return 'date'; + if (z instanceof RegExp) return 'regexp'; + } + return te; + } + function He(z) { + var te = st(z); + switch (te) { + case 'array': + case 'object': + return 'an ' + te; + case 'boolean': + case 'date': + case 'regexp': + return 'a ' + te; + default: + return te; + } + } + function wt(z) { + return !z.constructor || !z.constructor.name ? ee : z.constructor.name; + } + return ( + (ie.checkPropTypes = b), + (ie.resetWarningCache = b.resetWarningCache), + (ie.PropTypes = ie), + ie + ); + }), + TR + ); +} +if (process.env.NODE_ENV !== 'production') { + var RN = EE(), + EN = !0; + UR.exports = bN()(RN.isElement, EN); +} else UR.exports = hN()(); +var hT = UR.exports; +const B = /* @__PURE__ */ Zg(hT); +var mT = { exports: {} }; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +(function (l) { + (function () { + var v = {}.hasOwnProperty; + function p() { + for (var x = '', m = 0; m < arguments.length; m++) { + var $ = arguments[m]; + $ && (x = b(x, d($))); + } + return x; + } + function d(x) { + if (typeof x == 'string' || typeof x == 'number') return x; + if (typeof x != 'object') return ''; + if (Array.isArray(x)) return p.apply(null, x); + if ( + x.toString !== Object.prototype.toString && + !x.toString.toString().includes('[native code]') + ) + return x.toString(); + var m = ''; + for (var $ in x) v.call(x, $) && x[$] && (m = b(m, $)); + return m; + } + function b(x, m) { + return m ? (x ? x + ' ' + m : x + m) : x; + } + l.exports ? ((p.default = p), (l.exports = p)) : (window.classNames = p); + })(); +})(mT); +var CN = mT.exports; +const Uo = /* @__PURE__ */ Zg(CN); +function Hg(l) { + '@babel/helpers - typeof'; + return ( + (Hg = + typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol' + ? function (v) { + return typeof v; + } + : function (v) { + return v && + typeof Symbol == 'function' && + v.constructor === Symbol && + v !== Symbol.prototype + ? 'symbol' + : typeof v; + }), + Hg(l) + ); +} +var wN; +function co() { + var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '', + v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : wN; + return v + ? l + .split(' ') + .map(function (p) { + return v[p] || p; + }) + .join(' ') + : l; +} +function CE(l, v) { + var p = {}; + return ( + Object.keys(l).forEach(function (d) { + v.indexOf(d) === -1 && (p[d] = l[d]); + }), + p + ); +} +function gT(l, v) { + for (var p = Array.isArray(v) ? v : [v], d = p.length, b, x = {}; d > 0; ) + (d -= 1), (b = p[d]), (x[b] = l[b]); + return x; +} +var Dx = {}; +function Px(l) { + Dx[l] || (typeof console < 'u' && console.error(l), (Dx[l] = !0)); +} +var xN = + ((typeof window > 'u' ? 'undefined' : Hg(window)) === 'object' && + window.Element) || + function () {}; +function TN(l, v, p) { + if (!(l[v] instanceof xN)) + return new Error( + 'Invalid prop `' + + v + + '` supplied to `' + + p + + '`. Expected prop to be an instance of Element. Validation failed.' + ); +} +B.oneOfType([ + B.string, + B.func, + TN, + B.shape({ + current: B.any, + }), +]); +var uu = B.oneOfType([ + B.func, + B.string, + B.shape({ + $$typeof: B.symbol, + render: B.func, + }), + B.arrayOf( + B.oneOfType([ + B.func, + B.string, + B.shape({ + $$typeof: B.symbol, + render: B.func, + }), + ]) + ), + ]), + yT = { + Fade: 150, + // $transition-fade + Collapse: 350, + // $transition-collapse + Modal: 300, + // $modal-transition + Carousel: 600, + // $carousel-transition + Offcanvas: 300, + // $offcanvas-transition + }, + Ig = [ + 'in', + 'mountOnEnter', + 'unmountOnExit', + 'appear', + 'enter', + 'exit', + 'timeout', + 'onEnter', + 'onEntering', + 'onEntered', + 'onExit', + 'onExiting', + 'onExited', + ], + Dg = { + ENTERING: 'entering', + ENTERED: 'entered', + EXITING: 'exiting', + EXITED: 'exited', + }, + wr = { + esc: 27, + space: 32, + enter: 13, + tab: 9, + up: 38, + down: 40, + home: 36, + end: 35, + n: 78, + p: 80, + }; +function _N(l) { + var v = Hg(l); + return l != null && (v === 'object' || v === 'function'); +} +var ON = [ + 'className', + 'cssModule', + 'tabs', + 'pills', + 'vertical', + 'horizontal', + 'justified', + 'fill', + 'navbar', + 'card', + 'tag', +]; +function HR() { + return ( + (HR = Object.assign + ? Object.assign.bind() + : function (l) { + for (var v = 1; v < arguments.length; v++) { + var p = arguments[v]; + for (var d in p) + Object.prototype.hasOwnProperty.call(p, d) && (l[d] = p[d]); + } + return l; + }), + HR.apply(this, arguments) + ); +} +function kN(l, v) { + if (l == null) return {}; + var p = DN(l, v), + d, + b; + if (Object.getOwnPropertySymbols) { + var x = Object.getOwnPropertySymbols(l); + for (b = 0; b < x.length; b++) + (d = x[b]), + !(v.indexOf(d) >= 0) && + Object.prototype.propertyIsEnumerable.call(l, d) && + (p[d] = l[d]); + } + return p; +} +function DN(l, v) { + if (l == null) return {}; + var p = {}, + d = Object.keys(l), + b, + x; + for (x = 0; x < d.length; x++) + (b = d[x]), !(v.indexOf(b) >= 0) && (p[b] = l[b]); + return p; +} +var PN = { + /** Adding card prop adds `.card-header-tabs` or `.card-header-pills` class */ + card: B.bool, + /** Add custom class */ + className: B.string, + /** Change underlying component's CSS base class name */ + cssModule: B.object, + /** fills the nav to extend to full available width */ + fill: B.bool, + /** Change the horizontal alignment of your nav */ + horizontal: B.oneOf(['center', 'end']), + /** All horizontal space will be occupied by nav links, but unlike the `fill` above, every nav item will be the same width. */ + justified: B.bool, + /** Add navbar for a full-height and lightweight navigation */ + navbar: B.bool, + /** Make NavItems look like pills */ + pills: B.bool, + /** Make NavItems look like tabs */ + tabs: B.bool, + /** Set a custom element for this component */ + tag: uu, + /** Stack your navigation by changing the flex item direction */ + vertical: B.oneOfType([B.bool, B.string]), + }, + NN = function (v) { + return v === !1 + ? !1 + : v === !0 || v === 'xs' + ? 'flex-column' + : 'flex-'.concat(v, '-column'); + }; +function ST(l) { + var v = l.className, + p = l.cssModule, + d = l.tabs, + b = l.pills, + x = l.vertical, + m = x === void 0 ? !1 : x, + $ = l.horizontal, + G = l.justified, + M = l.fill, + ne = l.navbar, + A = l.card, + ee = l.tag, + ie = ee === void 0 ? 'ul' : ee, + he = kN(l, ON), + Oe = co( + Uo( + v, + ne ? 'navbar-nav' : 'nav', + $ ? 'justify-content-'.concat($) : !1, + NN(m), + { + 'nav-tabs': d, + 'card-header-tabs': A && d, + 'nav-pills': b, + 'card-header-pills': A && b, + 'nav-justified': G, + 'nav-fill': M, + } + ), + p + ); + return /* @__PURE__ */ _n.createElement( + ie, + HR({}, he, { + className: Oe, + }) + ); +} +ST.propTypes = PN; +var MN = ['className', 'cssModule', 'active', 'tag']; +function IR() { + return ( + (IR = Object.assign + ? Object.assign.bind() + : function (l) { + for (var v = 1; v < arguments.length; v++) { + var p = arguments[v]; + for (var d in p) + Object.prototype.hasOwnProperty.call(p, d) && (l[d] = p[d]); + } + return l; + }), + IR.apply(this, arguments) + ); +} +function AN(l, v) { + if (l == null) return {}; + var p = jN(l, v), + d, + b; + if (Object.getOwnPropertySymbols) { + var x = Object.getOwnPropertySymbols(l); + for (b = 0; b < x.length; b++) + (d = x[b]), + !(v.indexOf(d) >= 0) && + Object.prototype.propertyIsEnumerable.call(l, d) && + (p[d] = l[d]); + } + return p; +} +function jN(l, v) { + if (l == null) return {}; + var p = {}, + d = Object.keys(l), + b, + x; + for (x = 0; x < d.length; x++) + (b = d[x]), !(v.indexOf(b) >= 0) && (p[b] = l[b]); + return p; +} +var LN = { + /** Add active class to element */ + active: B.bool, + /** Add custom class */ + className: B.string, + /** Change underlying component's CSS base class name */ + cssModule: B.object, + /** Set a custom element for this component */ + tag: uu, +}; +function wE(l) { + var v = l.className, + p = l.cssModule, + d = l.active, + b = l.tag, + x = b === void 0 ? 'li' : b, + m = AN(l, MN), + $ = co(Uo(v, 'nav-item', d ? 'active' : !1), p); + return /* @__PURE__ */ _n.createElement( + x, + IR({}, m, { + className: $, + }) + ); +} +wE.propTypes = LN; +function $R(l) { + '@babel/helpers - typeof'; + return ( + ($R = + typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol' + ? function (v) { + return typeof v; + } + : function (v) { + return v && + typeof Symbol == 'function' && + v.constructor === Symbol && + v !== Symbol.prototype + ? 'symbol' + : typeof v; + }), + $R(l) + ); +} +var zN = ['className', 'cssModule', 'active', 'tag', 'innerRef']; +function VR() { + return ( + (VR = Object.assign + ? Object.assign.bind() + : function (l) { + for (var v = 1; v < arguments.length; v++) { + var p = arguments[v]; + for (var d in p) + Object.prototype.hasOwnProperty.call(p, d) && (l[d] = p[d]); + } + return l; + }), + VR.apply(this, arguments) + ); +} +function FN(l, v) { + if (l == null) return {}; + var p = BN(l, v), + d, + b; + if (Object.getOwnPropertySymbols) { + var x = Object.getOwnPropertySymbols(l); + for (b = 0; b < x.length; b++) + (d = x[b]), + !(v.indexOf(d) >= 0) && + Object.prototype.propertyIsEnumerable.call(l, d) && + (p[d] = l[d]); + } + return p; +} +function BN(l, v) { + if (l == null) return {}; + var p = {}, + d = Object.keys(l), + b, + x; + for (x = 0; x < d.length; x++) + (b = d[x]), !(v.indexOf(b) >= 0) && (p[b] = l[b]); + return p; +} +function UN(l, v) { + if (!(l instanceof v)) + throw new TypeError('Cannot call a class as a function'); +} +function Nx(l, v) { + for (var p = 0; p < v.length; p++) { + var d = v[p]; + (d.enumerable = d.enumerable || !1), + (d.configurable = !0), + 'value' in d && (d.writable = !0), + Object.defineProperty(l, d.key, d); + } +} +function HN(l, v, p) { + return ( + v && Nx(l.prototype, v), + p && Nx(l, p), + Object.defineProperty(l, 'prototype', { writable: !1 }), + l + ); +} +function IN(l, v) { + if (typeof v != 'function' && v !== null) + throw new TypeError('Super expression must either be null or a function'); + (l.prototype = Object.create(v && v.prototype, { + constructor: { value: l, writable: !0, configurable: !0 }, + })), + Object.defineProperty(l, 'prototype', { writable: !1 }), + v && GR(l, v); +} +function GR(l, v) { + return ( + (GR = Object.setPrototypeOf + ? Object.setPrototypeOf.bind() + : function (d, b) { + return (d.__proto__ = b), d; + }), + GR(l, v) + ); +} +function $N(l) { + var v = GN(); + return function () { + var d = $g(l), + b; + if (v) { + var x = $g(this).constructor; + b = Reflect.construct(d, arguments, x); + } else b = d.apply(this, arguments); + return VN(this, b); + }; +} +function VN(l, v) { + if (v && ($R(v) === 'object' || typeof v == 'function')) return v; + if (v !== void 0) + throw new TypeError( + 'Derived constructors may only return object or undefined' + ); + return bT(l); +} +function bT(l) { + if (l === void 0) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ); + return l; +} +function GN() { + if (typeof Reflect > 'u' || !Reflect.construct || Reflect.construct.sham) + return !1; + if (typeof Proxy == 'function') return !0; + try { + return ( + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}) + ), + !0 + ); + } catch { + return !1; + } +} +function $g(l) { + return ( + ($g = Object.setPrototypeOf + ? Object.getPrototypeOf.bind() + : function (p) { + return p.__proto__ || Object.getPrototypeOf(p); + }), + $g(l) + ); +} +var WN = { + /** Add active class to NavLink */ + active: B.bool, + /** Add custom class */ + className: B.string, + /** Change underlying component's CSS base class name */ + cssModule: B.object, + /** Disable the link */ + disabled: B.bool, + href: B.any, + innerRef: B.oneOfType([B.object, B.func, B.string]), + /** Function to be triggered on click */ + onClick: B.func, + /** Set a custom element for this component */ + tag: uu, + }, + RT = /* @__PURE__ */ (function (l) { + IN(p, l); + var v = $N(p); + function p(d) { + var b; + return ( + UN(this, p), + (b = v.call(this, d)), + (b.onClick = b.onClick.bind(bT(b))), + b + ); + } + return ( + HN(p, [ + { + key: 'onClick', + value: function (b) { + if (this.props.disabled) { + b.preventDefault(); + return; + } + this.props.href === '#' && b.preventDefault(), + this.props.onClick && this.props.onClick(b); + }, + }, + { + key: 'render', + value: function () { + var b = this.props, + x = b.className, + m = b.cssModule, + $ = b.active, + G = b.tag, + M = G === void 0 ? 'a' : G, + ne = b.innerRef, + A = FN(b, zN), + ee = co( + Uo(x, 'nav-link', { + disabled: A.disabled, + active: $, + }), + m + ); + return /* @__PURE__ */ _n.createElement( + M, + VR({}, A, { + ref: ne, + onClick: this.onClick, + className: ee, + }) + ); + }, + }, + ]), + p + ); + })(_n.Component); +RT.propTypes = WN; +const YN = RT; +var qN = tt.createContext(), + QN = tt.createContext(); +function Mx(l) { + var v = l.children, + p = tt.useState(null), + d = p[0], + b = p[1], + x = tt.useRef(!1); + tt.useEffect(function () { + return function () { + x.current = !0; + }; + }, []); + var m = tt.useCallback(function ($) { + x.current || b($); + }, []); + return /* @__PURE__ */ tt.createElement( + qN.Provider, + { + value: d, + }, + /* @__PURE__ */ tt.createElement( + QN.Provider, + { + value: m, + }, + v + ) + ); +} +var WR = { exports: {} }, + Fo = {}, + Pg = { exports: {} }, + _R = {}; +/** + * @license React + * scheduler.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. + */ +var Ax; +function XN() { + return ( + Ax || + ((Ax = 1), + (function (l) { + 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 v = !1, + p = !1, + d = 5; + function b(et, Lt) { + var Sn = et.length; + et.push(Lt), $(et, Lt, Sn); + } + function x(et) { + return et.length === 0 ? null : et[0]; + } + function m(et) { + if (et.length === 0) return null; + var Lt = et[0], + Sn = et.pop(); + return Sn !== Lt && ((et[0] = Sn), G(et, Sn, 0)), Lt; + } + function $(et, Lt, Sn) { + for (var Bn = Sn; Bn > 0; ) { + var $n = (Bn - 1) >>> 1, + yr = et[$n]; + if (M(yr, Lt) > 0) (et[$n] = Lt), (et[Bn] = yr), (Bn = $n); + else return; + } + } + function G(et, Lt, Sn) { + for (var Bn = Sn, $n = et.length, yr = $n >>> 1; Bn < yr; ) { + var sr = (Bn + 1) * 2 - 1, + Ir = et[sr], + Xn = sr + 1, + Xr = et[Xn]; + if (M(Ir, Lt) < 0) + Xn < $n && M(Xr, Ir) < 0 + ? ((et[Bn] = Xr), (et[Xn] = Lt), (Bn = Xn)) + : ((et[Bn] = Ir), (et[sr] = Lt), (Bn = sr)); + else if (Xn < $n && M(Xr, Lt) < 0) + (et[Bn] = Xr), (et[Xn] = Lt), (Bn = Xn); + else return; + } + } + function M(et, Lt) { + var Sn = et.sortIndex - Lt.sortIndex; + return Sn !== 0 ? Sn : et.id - Lt.id; + } + var ne = 1, + A = 2, + ee = 3, + ie = 4, + he = 5; + function Oe(et, Lt) {} + var ge = + typeof performance == 'object' && + typeof performance.now == 'function'; + if (ge) { + var Pe = performance; + l.unstable_now = function () { + return Pe.now(); + }; + } else { + var Re = Date, + ye = Re.now(); + l.unstable_now = function () { + return Re.now() - ye; + }; + } + var Ge = 1073741823, + ae = -1, + Le = 250, + lt = 5e3, + Ht = 1e4, + Fn = Ge, + xn = [], + yn = [], + Jn = 1, + At = null, + Mt = ee, + On = !1, + rn = !1, + st = !1, + He = typeof setTimeout == 'function' ? setTimeout : null, + wt = typeof clearTimeout == 'function' ? clearTimeout : null, + z = typeof setImmediate < 'u' ? setImmediate : null; + typeof navigator < 'u' && + navigator.scheduling !== void 0 && + navigator.scheduling.isInputPending !== void 0 && + navigator.scheduling.isInputPending.bind(navigator.scheduling); + function te(et) { + for (var Lt = x(yn); Lt !== null; ) { + if (Lt.callback === null) m(yn); + else if (Lt.startTime <= et) + m(yn), (Lt.sortIndex = Lt.expirationTime), b(xn, Lt); + else return; + Lt = x(yn); + } + } + function xe(et) { + if (((st = !1), te(et), !rn)) + if (x(xn) !== null) (rn = !0), ca(Xe); + else { + var Lt = x(yn); + Lt !== null && gr(xe, Lt.startTime - et); + } + } + function Xe(et, Lt) { + (rn = !1), st && ((st = !1), ra()), (On = !0); + var Sn = Mt; + try { + var Bn; + if (!p) return We(et, Lt); + } finally { + (At = null), (Mt = Sn), (On = !1); + } + } + function We(et, Lt) { + var Sn = Lt; + for ( + te(Sn), At = x(xn); + At !== null && !v && !(At.expirationTime > Sn && (!et || wa())); + + ) { + var Bn = At.callback; + if (typeof Bn == 'function') { + (At.callback = null), (Mt = At.priorityLevel); + var $n = At.expirationTime <= Sn, + yr = Bn($n); + (Sn = l.unstable_now()), + typeof yr == 'function' + ? (At.callback = yr) + : At === x(xn) && m(xn), + te(Sn); + } else m(xn); + At = x(xn); + } + if (At !== null) return !0; + var sr = x(yn); + return sr !== null && gr(xe, sr.startTime - Sn), !1; + } + function ht(et, Lt) { + switch (et) { + case ne: + case A: + case ee: + case ie: + case he: + break; + default: + et = ee; + } + var Sn = Mt; + Mt = et; + try { + return Lt(); + } finally { + Mt = Sn; + } + } + function Je(et) { + var Lt; + switch (Mt) { + case ne: + case A: + case ee: + Lt = ee; + break; + default: + Lt = Mt; + break; + } + var Sn = Mt; + Mt = Lt; + try { + return et(); + } finally { + Mt = Sn; + } + } + function ot(et) { + var Lt = Mt; + return function () { + var Sn = Mt; + Mt = Lt; + try { + return et.apply(this, arguments); + } finally { + Mt = Sn; + } + }; + } + function it(et, Lt, Sn) { + var Bn = l.unstable_now(), + $n; + if (typeof Sn == 'object' && Sn !== null) { + var yr = Sn.delay; + typeof yr == 'number' && yr > 0 ? ($n = Bn + yr) : ($n = Bn); + } else $n = Bn; + var sr; + switch (et) { + case ne: + sr = ae; + break; + case A: + sr = Le; + break; + case he: + sr = Fn; + break; + case ie: + sr = Ht; + break; + case ee: + default: + sr = lt; + break; + } + var Ir = $n + sr, + Xn = { + id: Jn++, + callback: Lt, + priorityLevel: et, + startTime: $n, + expirationTime: Ir, + sortIndex: -1, + }; + return ( + $n > Bn + ? ((Xn.sortIndex = $n), + b(yn, Xn), + x(xn) === null && + Xn === x(yn) && + (st ? ra() : (st = !0), gr(xe, $n - Bn))) + : ((Xn.sortIndex = Ir), + b(xn, Xn), + !rn && !On && ((rn = !0), ca(Xe))), + Xn + ); + } + function Tt() {} + function an() { + !rn && !On && ((rn = !0), ca(Xe)); + } + function In() { + return x(xn); + } + function Ze(et) { + et.callback = null; + } + function Dn() { + return Mt; + } + var lr = !1, + Rr = null, + jr = -1, + xr = d, + Ca = -1; + function wa() { + var et = l.unstable_now() - Ca; + return !(et < xr); + } + function Ur() {} + function ta(et) { + if (et < 0 || et > 125) { + console.error( + 'forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported' + ); + return; + } + et > 0 ? (xr = Math.floor(1e3 / et)) : (xr = d); + } + var xa = function () { + if (Rr !== null) { + var et = l.unstable_now(); + Ca = et; + var Lt = !0, + Sn = !0; + try { + Sn = Rr(Lt, et); + } finally { + Sn ? na() : ((lr = !1), (Rr = null)); + } + } else lr = !1; + }, + na; + if (typeof z == 'function') + na = function () { + z(xa); + }; + else if (typeof MessageChannel < 'u') { + var Ta = new MessageChannel(), + Hr = Ta.port2; + (Ta.port1.onmessage = xa), + (na = function () { + Hr.postMessage(null); + }); + } else + na = function () { + He(xa, 0); + }; + function ca(et) { + (Rr = et), lr || ((lr = !0), na()); + } + function gr(et, Lt) { + jr = He(function () { + et(l.unstable_now()); + }, Lt); + } + function ra() { + wt(jr), (jr = -1); + } + var Oi = Ur, + za = null; + (l.unstable_IdlePriority = he), + (l.unstable_ImmediatePriority = ne), + (l.unstable_LowPriority = ie), + (l.unstable_NormalPriority = ee), + (l.unstable_Profiling = za), + (l.unstable_UserBlockingPriority = A), + (l.unstable_cancelCallback = Ze), + (l.unstable_continueExecution = an), + (l.unstable_forceFrameRate = ta), + (l.unstable_getCurrentPriorityLevel = Dn), + (l.unstable_getFirstCallbackNode = In), + (l.unstable_next = Je), + (l.unstable_pauseExecution = Tt), + (l.unstable_requestPaint = Oi), + (l.unstable_runWithPriority = ht), + (l.unstable_scheduleCallback = it), + (l.unstable_shouldYield = wa), + (l.unstable_wrapCallback = ot), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < 'u' && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + 'function' && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error() + ); + })(); + })(_R)), + _R + ); +} +var OR = {}; +/** + * @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 jx; +function KN() { + return ( + jx || + ((jx = 1), + (function (l) { + function v(He, wt) { + var z = He.length; + He.push(wt); + e: for (; 0 < z; ) { + var te = (z - 1) >>> 1, + xe = He[te]; + if (0 < b(xe, wt)) (He[te] = wt), (He[z] = xe), (z = te); + else break e; + } + } + function p(He) { + return He.length === 0 ? null : He[0]; + } + function d(He) { + if (He.length === 0) return null; + var wt = He[0], + z = He.pop(); + if (z !== wt) { + He[0] = z; + e: for (var te = 0, xe = He.length, Xe = xe >>> 1; te < Xe; ) { + var We = 2 * (te + 1) - 1, + ht = He[We], + Je = We + 1, + ot = He[Je]; + if (0 > b(ht, z)) + Je < xe && 0 > b(ot, ht) + ? ((He[te] = ot), (He[Je] = z), (te = Je)) + : ((He[te] = ht), (He[We] = z), (te = We)); + else if (Je < xe && 0 > b(ot, z)) + (He[te] = ot), (He[Je] = z), (te = Je); + else break e; + } + } + return wt; + } + function b(He, wt) { + var z = He.sortIndex - wt.sortIndex; + return z !== 0 ? z : He.id - wt.id; + } + if ( + typeof performance == 'object' && + typeof performance.now == 'function' + ) { + var x = performance; + l.unstable_now = function () { + return x.now(); + }; + } else { + var m = Date, + $ = m.now(); + l.unstable_now = function () { + return m.now() - $; + }; + } + var G = [], + M = [], + ne = 1, + A = null, + ee = 3, + ie = !1, + he = !1, + Oe = !1, + ge = typeof setTimeout == 'function' ? setTimeout : null, + Pe = typeof clearTimeout == 'function' ? clearTimeout : null, + Re = typeof setImmediate < 'u' ? setImmediate : null; + typeof navigator < 'u' && + navigator.scheduling !== void 0 && + navigator.scheduling.isInputPending !== void 0 && + navigator.scheduling.isInputPending.bind(navigator.scheduling); + function ye(He) { + for (var wt = p(M); wt !== null; ) { + if (wt.callback === null) d(M); + else if (wt.startTime <= He) + d(M), (wt.sortIndex = wt.expirationTime), v(G, wt); + else break; + wt = p(M); + } + } + function Ge(He) { + if (((Oe = !1), ye(He), !he)) + if (p(G) !== null) (he = !0), rn(ae); + else { + var wt = p(M); + wt !== null && st(Ge, wt.startTime - He); + } + } + function ae(He, wt) { + (he = !1), Oe && ((Oe = !1), Pe(Ht), (Ht = -1)), (ie = !0); + var z = ee; + try { + for ( + ye(wt), A = p(G); + A !== null && (!(A.expirationTime > wt) || (He && !yn())); + + ) { + var te = A.callback; + if (typeof te == 'function') { + (A.callback = null), (ee = A.priorityLevel); + var xe = te(A.expirationTime <= wt); + (wt = l.unstable_now()), + typeof xe == 'function' + ? (A.callback = xe) + : A === p(G) && d(G), + ye(wt); + } else d(G); + A = p(G); + } + if (A !== null) var Xe = !0; + else { + var We = p(M); + We !== null && st(Ge, We.startTime - wt), (Xe = !1); + } + return Xe; + } finally { + (A = null), (ee = z), (ie = !1); + } + } + var Le = !1, + lt = null, + Ht = -1, + Fn = 5, + xn = -1; + function yn() { + return !(l.unstable_now() - xn < Fn); + } + function Jn() { + if (lt !== null) { + var He = l.unstable_now(); + xn = He; + var wt = !0; + try { + wt = lt(!0, He); + } finally { + wt ? At() : ((Le = !1), (lt = null)); + } + } else Le = !1; + } + var At; + if (typeof Re == 'function') + At = function () { + Re(Jn); + }; + else if (typeof MessageChannel < 'u') { + var Mt = new MessageChannel(), + On = Mt.port2; + (Mt.port1.onmessage = Jn), + (At = function () { + On.postMessage(null); + }); + } else + At = function () { + ge(Jn, 0); + }; + function rn(He) { + (lt = He), Le || ((Le = !0), At()); + } + function st(He, wt) { + Ht = ge(function () { + He(l.unstable_now()); + }, wt); + } + (l.unstable_IdlePriority = 5), + (l.unstable_ImmediatePriority = 1), + (l.unstable_LowPriority = 4), + (l.unstable_NormalPriority = 3), + (l.unstable_Profiling = null), + (l.unstable_UserBlockingPriority = 2), + (l.unstable_cancelCallback = function (He) { + He.callback = null; + }), + (l.unstable_continueExecution = function () { + he || ie || ((he = !0), rn(ae)); + }), + (l.unstable_forceFrameRate = function (He) { + 0 > He || 125 < He + ? console.error( + 'forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported' + ) + : (Fn = 0 < He ? Math.floor(1e3 / He) : 5); + }), + (l.unstable_getCurrentPriorityLevel = function () { + return ee; + }), + (l.unstable_getFirstCallbackNode = function () { + return p(G); + }), + (l.unstable_next = function (He) { + switch (ee) { + case 1: + case 2: + case 3: + var wt = 3; + break; + default: + wt = ee; + } + var z = ee; + ee = wt; + try { + return He(); + } finally { + ee = z; + } + }), + (l.unstable_pauseExecution = function () {}), + (l.unstable_requestPaint = function () {}), + (l.unstable_runWithPriority = function (He, wt) { + switch (He) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + He = 3; + } + var z = ee; + ee = He; + try { + return wt(); + } finally { + ee = z; + } + }), + (l.unstable_scheduleCallback = function (He, wt, z) { + var te = l.unstable_now(); + switch ( + (typeof z == 'object' && z !== null + ? ((z = z.delay), + (z = typeof z == 'number' && 0 < z ? te + z : te)) + : (z = te), + He) + ) { + case 1: + var xe = -1; + break; + case 2: + xe = 250; + break; + case 5: + xe = 1073741823; + break; + case 4: + xe = 1e4; + break; + default: + xe = 5e3; + } + return ( + (xe = z + xe), + (He = { + id: ne++, + callback: wt, + priorityLevel: He, + startTime: z, + expirationTime: xe, + sortIndex: -1, + }), + z > te + ? ((He.sortIndex = z), + v(M, He), + p(G) === null && + He === p(M) && + (Oe ? (Pe(Ht), (Ht = -1)) : (Oe = !0), st(Ge, z - te))) + : ((He.sortIndex = xe), + v(G, He), + he || ie || ((he = !0), rn(ae))), + He + ); + }), + (l.unstable_shouldYield = yn), + (l.unstable_wrapCallback = function (He) { + var wt = ee; + return function () { + var z = ee; + ee = wt; + try { + return He.apply(this, arguments); + } finally { + ee = z; + } + }; + }); + })(OR)), + OR + ); +} +var Lx; +function ET() { + return ( + Lx || + ((Lx = 1), + process.env.NODE_ENV === 'production' + ? (Pg.exports = KN()) + : (Pg.exports = XN())), + Pg.exports + ); +} +/** + * @license React + * react-dom.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. + */ +var zx; +function JN() { + return ( + zx || + ((zx = 1), + 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 l = tt, + v = ET(), + p = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, + d = !1; + function b(e) { + d = e; + } + function x(e) { + if (!d) { + for ( + var t = arguments.length, + a = new Array(t > 1 ? t - 1 : 0), + i = 1; + i < t; + i++ + ) + a[i - 1] = arguments[i]; + $('warn', e, a); + } + } + function m(e) { + if (!d) { + for ( + var t = arguments.length, + a = new Array(t > 1 ? t - 1 : 0), + i = 1; + i < t; + i++ + ) + a[i - 1] = arguments[i]; + $('error', e, a); + } + } + function $(e, t, a) { + { + var i = p.ReactDebugCurrentFrame, + u = i.getStackAddendum(); + u !== '' && ((t += '%s'), (a = a.concat([u]))); + var c = a.map(function (S) { + return String(S); + }); + c.unshift('Warning: ' + t), + Function.prototype.apply.call(console[e], console, c); + } + } + var G = 0, + M = 1, + ne = 2, + A = 3, + ee = 4, + ie = 5, + he = 6, + Oe = 7, + ge = 8, + Pe = 9, + Re = 10, + ye = 11, + Ge = 12, + ae = 13, + Le = 14, + lt = 15, + Ht = 16, + Fn = 17, + xn = 18, + yn = 19, + Jn = 21, + At = 22, + Mt = 23, + On = 24, + rn = 25, + st = !0, + He = !1, + wt = !1, + z = !1, + te = !1, + xe = !0, + Xe = !1, + We = !1, + ht = !0, + Je = !0, + ot = !0, + it = /* @__PURE__ */ new Set(), + Tt = {}, + an = {}; + function In(e, t) { + Ze(e, t), Ze(e + 'Capture', t); + } + function Ze(e, t) { + Tt[e] && + m( + 'EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.', + e + ), + (Tt[e] = t); + { + var a = e.toLowerCase(); + (an[a] = e), e === 'onDoubleClick' && (an.ondblclick = e); + } + for (var i = 0; i < t.length; i++) it.add(t[i]); + } + var Dn = + typeof window < 'u' && + typeof window.document < 'u' && + typeof window.document.createElement < 'u', + lr = Object.prototype.hasOwnProperty; + function Rr(e) { + { + var t = typeof Symbol == 'function' && Symbol.toStringTag, + a = + (t && e[Symbol.toStringTag]) || + e.constructor.name || + 'Object'; + return a; + } + } + function jr(e) { + try { + return xr(e), !1; + } catch { + return !0; + } + } + function xr(e) { + return '' + e; + } + function Ca(e, t) { + if (jr(e)) + return ( + m( + 'The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.', + t, + Rr(e) + ), + xr(e) + ); + } + function wa(e) { + if (jr(e)) + return ( + m( + 'The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.', + Rr(e) + ), + xr(e) + ); + } + function Ur(e, t) { + if (jr(e)) + return ( + m( + 'The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.', + t, + Rr(e) + ), + xr(e) + ); + } + function ta(e, t) { + if (jr(e)) + return ( + m( + 'The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.', + t, + Rr(e) + ), + xr(e) + ); + } + function xa(e) { + if (jr(e)) + return ( + m( + 'The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.', + Rr(e) + ), + xr(e) + ); + } + function na(e) { + if (jr(e)) + return ( + m( + 'Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.', + Rr(e) + ), + xr(e) + ); + } + var Ta = 0, + Hr = 1, + ca = 2, + gr = 3, + ra = 4, + Oi = 5, + za = 6, + et = + ':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', + Lt = et + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040', + Sn = new RegExp('^[' + et + '][' + Lt + ']*$'), + Bn = {}, + $n = {}; + function yr(e) { + return lr.call($n, e) + ? !0 + : lr.call(Bn, e) + ? !1 + : Sn.test(e) + ? (($n[e] = !0), !0) + : ((Bn[e] = !0), m('Invalid attribute name: `%s`', e), !1); + } + function sr(e, t, a) { + return t !== null + ? t.type === Ta + : a + ? !1 + : e.length > 2 && + (e[0] === 'o' || e[0] === 'O') && + (e[1] === 'n' || e[1] === 'N'); + } + function Ir(e, t, a, i) { + if (a !== null && a.type === Ta) return !1; + switch (typeof t) { + case 'function': + case 'symbol': + return !0; + case 'boolean': { + if (i) return !1; + if (a !== null) return !a.acceptsBooleans; + var u = e.toLowerCase().slice(0, 5); + return u !== 'data-' && u !== 'aria-'; + } + default: + return !1; + } + } + function Xn(e, t, a, i) { + if (t === null || typeof t > 'u' || Ir(e, t, a, i)) return !0; + if (i) return !1; + if (a !== null) + switch (a.type) { + case gr: + return !t; + case ra: + return t === !1; + case Oi: + return isNaN(t); + case za: + return isNaN(t) || t < 1; + } + return !1; + } + function Xr(e) { + return Gn.hasOwnProperty(e) ? Gn[e] : null; + } + function Vn(e, t, a, i, u, c, S) { + (this.acceptsBooleans = t === ca || t === gr || t === ra), + (this.attributeName = i), + (this.attributeNamespace = u), + (this.mustUseProperty = a), + (this.propertyName = e), + (this.type = t), + (this.sanitizeURL = c), + (this.removeEmptyString = S); + } + var Gn = {}, + Ja = [ + 'children', + 'dangerouslySetInnerHTML', + // TODO: This prevents the assignment of defaultValue to regular + // elements (not just inputs). Now that ReactDOMInput assigns to the + // defaultValue property -- do we need this? + 'defaultValue', + 'defaultChecked', + 'innerHTML', + 'suppressContentEditableWarning', + 'suppressHydrationWarning', + 'style', + ]; + Ja.forEach(function (e) { + Gn[e] = new Vn( + e, + Ta, + !1, + // mustUseProperty + e, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + ['acceptCharset', 'accept-charset'], + ['className', 'class'], + ['htmlFor', 'for'], + ['httpEquiv', 'http-equiv'], + ].forEach(function (e) { + var t = e[0], + a = e[1]; + Gn[t] = new Vn( + t, + Hr, + !1, + // mustUseProperty + a, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach( + function (e) { + Gn[e] = new Vn( + e, + ca, + !1, + // mustUseProperty + e.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + } + ), + [ + 'autoReverse', + 'externalResourcesRequired', + 'focusable', + 'preserveAlpha', + ].forEach(function (e) { + Gn[e] = new Vn( + e, + ca, + !1, + // mustUseProperty + e, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + 'allowFullScreen', + 'async', + // Note: there is a special case that prevents it from being written to the DOM + // on the client side because the browsers are inconsistent. Instead we call focus(). + 'autoFocus', + 'autoPlay', + 'controls', + 'default', + 'defer', + 'disabled', + 'disablePictureInPicture', + 'disableRemotePlayback', + 'formNoValidate', + 'hidden', + 'loop', + 'noModule', + 'noValidate', + 'open', + 'playsInline', + 'readOnly', + 'required', + 'reversed', + 'scoped', + 'seamless', + // Microdata + 'itemScope', + ].forEach(function (e) { + Gn[e] = new Vn( + e, + gr, + !1, + // mustUseProperty + e.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + 'checked', + // Note: `option.selected` is not updated if `select.multiple` is + // disabled with `removeAttribute`. We have special logic for handling this. + 'multiple', + 'muted', + 'selected', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + Gn[e] = new Vn( + e, + gr, + !0, + // mustUseProperty + e, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + 'capture', + 'download', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + Gn[e] = new Vn( + e, + ra, + !1, + // mustUseProperty + e, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + 'cols', + 'rows', + 'size', + 'span', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + Gn[e] = new Vn( + e, + za, + !1, + // mustUseProperty + e, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + ['rowSpan', 'start'].forEach(function (e) { + Gn[e] = new Vn( + e, + Oi, + !1, + // mustUseProperty + e.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }); + var aa = /[\-\:]([a-z])/g, + Yi = function (e) { + return e[1].toUpperCase(); + }; + [ + 'accent-height', + 'alignment-baseline', + 'arabic-form', + 'baseline-shift', + 'cap-height', + 'clip-path', + 'clip-rule', + 'color-interpolation', + 'color-interpolation-filters', + 'color-profile', + 'color-rendering', + 'dominant-baseline', + 'enable-background', + 'fill-opacity', + 'fill-rule', + 'flood-color', + 'flood-opacity', + 'font-family', + 'font-size', + 'font-size-adjust', + 'font-stretch', + 'font-style', + 'font-variant', + 'font-weight', + 'glyph-name', + 'glyph-orientation-horizontal', + 'glyph-orientation-vertical', + 'horiz-adv-x', + 'horiz-origin-x', + 'image-rendering', + 'letter-spacing', + 'lighting-color', + 'marker-end', + 'marker-mid', + 'marker-start', + 'overline-position', + 'overline-thickness', + 'paint-order', + 'panose-1', + 'pointer-events', + 'rendering-intent', + 'shape-rendering', + 'stop-color', + 'stop-opacity', + 'strikethrough-position', + 'strikethrough-thickness', + 'stroke-dasharray', + 'stroke-dashoffset', + 'stroke-linecap', + 'stroke-linejoin', + 'stroke-miterlimit', + 'stroke-opacity', + 'stroke-width', + 'text-anchor', + 'text-decoration', + 'text-rendering', + 'underline-position', + 'underline-thickness', + 'unicode-bidi', + 'unicode-range', + 'units-per-em', + 'v-alphabetic', + 'v-hanging', + 'v-ideographic', + 'v-mathematical', + 'vector-effect', + 'vert-adv-y', + 'vert-origin-x', + 'vert-origin-y', + 'word-spacing', + 'writing-mode', + 'xmlns:xlink', + 'x-height', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + var t = e.replace(aa, Yi); + Gn[t] = new Vn( + t, + Hr, + !1, + // mustUseProperty + e, + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), + [ + 'xlink:actuate', + 'xlink:arcrole', + 'xlink:role', + 'xlink:show', + 'xlink:title', + 'xlink:type', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + var t = e.replace(aa, Yi); + Gn[t] = new Vn( + t, + Hr, + !1, + // mustUseProperty + e, + 'http://www.w3.org/1999/xlink', + !1, + // sanitizeURL + !1 + ); + }), + [ + 'xml:base', + 'xml:lang', + 'xml:space', + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function (e) { + var t = e.replace(aa, Yi); + Gn[t] = new Vn( + t, + Hr, + !1, + // mustUseProperty + e, + 'http://www.w3.org/XML/1998/namespace', + !1, + // sanitizeURL + !1 + ); + }), + ['tabIndex', 'crossOrigin'].forEach(function (e) { + Gn[e] = new Vn( + e, + Hr, + !1, + // mustUseProperty + e.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }); + var Io = 'xlinkHref'; + (Gn[Io] = new Vn( + 'xlinkHref', + Hr, + !1, + // mustUseProperty + 'xlink:href', + 'http://www.w3.org/1999/xlink', + !0, + // sanitizeURL + !1 + )), + ['src', 'href', 'action', 'formAction'].forEach(function (e) { + Gn[e] = new Vn( + e, + Hr, + !1, + // mustUseProperty + e.toLowerCase(), + // attributeName + null, + // attributeNamespace + !0, + // sanitizeURL + !0 + ); + }); + var $o = + /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, + ci = !1; + function qi(e) { + !ci && + $o.test(e) && + ((ci = !0), + m( + 'A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.', + JSON.stringify(e) + )); + } + function _a(e, t, a, i) { + if (i.mustUseProperty) { + var u = i.propertyName; + return e[u]; + } else { + Ca(a, t), i.sanitizeURL && qi('' + a); + var c = i.attributeName, + S = null; + if (i.type === ra) { + if (e.hasAttribute(c)) { + var w = e.getAttribute(c); + return w === '' + ? !0 + : Xn(t, a, i, !1) + ? w + : w === '' + a + ? a + : w; + } + } else if (e.hasAttribute(c)) { + if (Xn(t, a, i, !1)) return e.getAttribute(c); + if (i.type === gr) return a; + S = e.getAttribute(c); + } + return Xn(t, a, i, !1) + ? S === null + ? a + : S + : S === '' + a + ? a + : S; + } + } + function Za(e, t, a, i) { + { + if (!yr(t)) return; + if (!e.hasAttribute(t)) return a === void 0 ? void 0 : null; + var u = e.getAttribute(t); + return Ca(a, t), u === '' + a ? a : u; + } + } + function fa(e, t, a, i) { + var u = Xr(t); + if (!sr(t, u, i)) { + if ((Xn(t, a, u, i) && (a = null), i || u === null)) { + if (yr(t)) { + var c = t; + a === null + ? e.removeAttribute(c) + : (Ca(a, t), e.setAttribute(c, '' + a)); + } + return; + } + var S = u.mustUseProperty; + if (S) { + var w = u.propertyName; + if (a === null) { + var T = u.type; + e[w] = T === gr ? !1 : ''; + } else e[w] = a; + return; + } + var j = u.attributeName, + U = u.attributeNamespace; + if (a === null) e.removeAttribute(j); + else { + var J = u.type, + X; + J === gr || (J === ra && a === !0) + ? (X = '') + : (Ca(a, j), (X = '' + a), u.sanitizeURL && qi(X.toString())), + U ? e.setAttributeNS(U, j, X) : e.setAttribute(j, X); + } + } + } + var fi = Symbol.for('react.element'), + ia = Symbol.for('react.portal'), + da = Symbol.for('react.fragment'), + di = Symbol.for('react.strict_mode'), + W = Symbol.for('react.profiler'), + ze = Symbol.for('react.provider'), + nt = Symbol.for('react.context'), + mt = Symbol.for('react.forward_ref'), + sn = Symbol.for('react.suspense'), + kn = Symbol.for('react.suspense_list'), + pn = Symbol.for('react.memo'), + zt = Symbol.for('react.lazy'), + cr = Symbol.for('react.scope'), + nr = Symbol.for('react.debug_trace_mode'), + ar = Symbol.for('react.offscreen'), + $r = Symbol.for('react.legacy_hidden'), + ki = Symbol.for('react.cache'), + lu = Symbol.for('react.tracing_marker'), + Mn = Symbol.iterator, + al = '@@iterator'; + function Fa(e) { + if (e === null || typeof e != 'object') return null; + var t = (Mn && e[Mn]) || e[al]; + return typeof t == 'function' ? t : null; + } + var En = Object.assign, + Di = 0, + Pi, + Vo, + fo, + Oa, + Du, + pa, + Pu; + function su() {} + su.__reactDisabledLog = !0; + function Nu() { + { + if (Di === 0) { + (Pi = console.log), + (Vo = console.info), + (fo = console.warn), + (Oa = console.error), + (Du = console.group), + (pa = console.groupCollapsed), + (Pu = console.groupEnd); + var e = { + configurable: !0, + enumerable: !0, + value: su, + writable: !0, + }; + Object.defineProperties(console, { + info: e, + log: e, + warn: e, + error: e, + group: e, + groupCollapsed: e, + groupEnd: e, + }); + } + Di++; + } + } + function cu() { + { + if ((Di--, Di === 0)) { + var e = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: En({}, e, { + value: Pi, + }), + info: En({}, e, { + value: Vo, + }), + warn: En({}, e, { + value: fo, + }), + error: En({}, e, { + value: Oa, + }), + group: En({}, e, { + value: Du, + }), + groupCollapsed: En({}, e, { + value: pa, + }), + groupEnd: En({}, e, { + value: Pu, + }), + }); + } + Di < 0 && + m( + 'disabledDepth fell below zero. This is a bug in React. Please file an issue.' + ); + } + } + var po = p.ReactCurrentDispatcher, + pi; + function va(e, t, a) { + { + if (pi === void 0) + try { + throw Error(); + } catch (u) { + var i = u.stack.trim().match(/\n( *(at )?)/); + pi = (i && i[1]) || ''; + } + return ( + ` +` + + pi + + e + ); + } + } + var Qi = !1, + Ni; + { + var ei = typeof WeakMap == 'function' ? WeakMap : Map; + Ni = new ei(); + } + function Go(e, t) { + if (!e || Qi) return ''; + { + var a = Ni.get(e); + if (a !== void 0) return a; + } + var i; + Qi = !0; + var u = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var c; + (c = po.current), (po.current = null), Nu(); + try { + if (t) { + var S = function () { + throw Error(); + }; + if ( + (Object.defineProperty(S.prototype, 'props', { + set: function () { + throw Error(); + }, + }), + typeof Reflect == 'object' && Reflect.construct) + ) { + try { + Reflect.construct(S, []); + } catch (de) { + i = de; + } + Reflect.construct(e, [], S); + } else { + try { + S.call(); + } catch (de) { + i = de; + } + e.call(S.prototype); + } + } else { + try { + throw Error(); + } catch (de) { + i = de; + } + e(); + } + } catch (de) { + if (de && i && typeof de.stack == 'string') { + for ( + var w = de.stack.split(` +`), + T = i.stack.split(` +`), + j = w.length - 1, + U = T.length - 1; + j >= 1 && U >= 0 && w[j] !== T[U]; + + ) + U--; + for (; j >= 1 && U >= 0; j--, U--) + if (w[j] !== T[U]) { + if (j !== 1 || U !== 1) + do + if ((j--, U--, U < 0 || w[j] !== T[U])) { + var J = + ` +` + w[j].replace(' at new ', ' at '); + return ( + e.displayName && + J.includes('') && + (J = J.replace('', e.displayName)), + typeof e == 'function' && Ni.set(e, J), + J + ); + } + while (j >= 1 && U >= 0); + break; + } + } + } finally { + (Qi = !1), (po.current = c), cu(), (Error.prepareStackTrace = u); + } + var X = e ? e.displayName || e.name : '', + fe = X ? va(X) : ''; + return typeof e == 'function' && Ni.set(e, fe), fe; + } + function fu(e, t, a) { + return Go(e, !0); + } + function Mi(e, t, a) { + return Go(e, !1); + } + function Fl(e) { + var t = e.prototype; + return !!(t && t.isReactComponent); + } + function vi(e, t, a) { + if (e == null) return ''; + if (typeof e == 'function') return Go(e, Fl(e)); + if (typeof e == 'string') return va(e); + switch (e) { + case sn: + return va('Suspense'); + case kn: + return va('SuspenseList'); + } + if (typeof e == 'object') + switch (e.$$typeof) { + case mt: + return Mi(e.render); + case pn: + return vi(e.type, t, a); + case zt: { + var i = e, + u = i._payload, + c = i._init; + try { + return vi(c(u), t, a); + } catch {} + } + } + return ''; + } + function jn(e) { + switch ( + (e._debugOwner && e._debugOwner.type, e._debugSource, e.tag) + ) { + case ie: + return va(e.type); + case Ht: + return va('Lazy'); + case ae: + return va('Suspense'); + case yn: + return va('SuspenseList'); + case G: + case ne: + case lt: + return Mi(e.type); + case ye: + return Mi(e.type.render); + case M: + return fu(e.type); + default: + return ''; + } + } + function vo(e) { + try { + var t = '', + a = e; + do (t += jn(a)), (a = a.return); + while (a); + return t; + } catch (i) { + return ( + ` +Error generating stack: ` + + i.message + + ` +` + + i.stack + ); + } + } + function Wo(e, t, a) { + var i = e.displayName; + if (i) return i; + var u = t.displayName || t.name || ''; + return u !== '' ? a + '(' + u + ')' : a; + } + function Yo(e) { + return e.displayName || 'Context'; + } + function An(e) { + if (e == null) return null; + if ( + (typeof e.tag == 'number' && + m( + 'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.' + ), + typeof e == 'function') + ) + return e.displayName || e.name || null; + if (typeof e == 'string') return e; + switch (e) { + case da: + return 'Fragment'; + case ia: + return 'Portal'; + case W: + return 'Profiler'; + case di: + return 'StrictMode'; + case sn: + return 'Suspense'; + case kn: + return 'SuspenseList'; + } + if (typeof e == 'object') + switch (e.$$typeof) { + case nt: + var t = e; + return Yo(t) + '.Consumer'; + case ze: + var a = e; + return Yo(a._context) + '.Provider'; + case mt: + return Wo(e, e.render, 'ForwardRef'); + case pn: + var i = e.displayName || null; + return i !== null ? i : An(e.type) || 'Memo'; + case zt: { + var u = e, + c = u._payload, + S = u._init; + try { + return An(S(c)); + } catch { + return null; + } + } + } + return null; + } + function qo(e, t, a) { + var i = t.displayName || t.name || ''; + return e.displayName || (i !== '' ? a + '(' + i + ')' : a); + } + function Qo(e) { + return e.displayName || 'Context'; + } + function on(e) { + var t = e.tag, + a = e.type; + switch (t) { + case On: + return 'Cache'; + case Pe: + var i = a; + return Qo(i) + '.Consumer'; + case Re: + var u = a; + return Qo(u._context) + '.Provider'; + case xn: + return 'DehydratedFragment'; + case ye: + return qo(a, a.render, 'ForwardRef'); + case Oe: + return 'Fragment'; + case ie: + return a; + case ee: + return 'Portal'; + case A: + return 'Root'; + case he: + return 'Text'; + case Ht: + return An(a); + case ge: + return a === di ? 'StrictMode' : 'Mode'; + case At: + return 'Offscreen'; + case Ge: + return 'Profiler'; + case Jn: + return 'Scope'; + case ae: + return 'Suspense'; + case yn: + return 'SuspenseList'; + case rn: + return 'TracingMarker'; + case M: + case G: + case Fn: + case ne: + case Le: + case lt: + if (typeof a == 'function') + return a.displayName || a.name || null; + if (typeof a == 'string') return a; + break; + } + return null; + } + var Xo = p.ReactDebugCurrentFrame, + fr = null, + ka = !1; + function ha() { + { + if (fr === null) return null; + var e = fr._debugOwner; + if (e !== null && typeof e < 'u') return on(e); + } + return null; + } + function ho() { + return fr === null ? '' : vo(fr); + } + function Er() { + (Xo.getCurrentStack = null), (fr = null), (ka = !1); + } + function Un(e) { + (Xo.getCurrentStack = e === null ? null : ho), (fr = e), (ka = !1); + } + function Mu() { + return fr; + } + function Kr(e) { + ka = e; + } + function Nr(e) { + return '' + e; + } + function ti(e) { + switch (typeof e) { + case 'boolean': + case 'number': + case 'string': + case 'undefined': + return e; + case 'object': + return na(e), e; + default: + return ''; + } + } + var Au = { + button: !0, + checkbox: !0, + image: !0, + hidden: !0, + radio: !0, + reset: !0, + submit: !0, + }; + function hi(e, t) { + Au[t.type] || + t.onChange || + t.onInput || + t.readOnly || + t.disabled || + t.value == null || + m( + 'You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.' + ), + t.onChange || + t.readOnly || + t.disabled || + t.checked == null || + m( + 'You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.' + ); + } + function mo(e) { + var t = e.type, + a = e.nodeName; + return ( + a && + a.toLowerCase() === 'input' && + (t === 'checkbox' || t === 'radio') + ); + } + function du(e) { + return e._valueTracker; + } + function ni(e) { + e._valueTracker = null; + } + function go(e) { + var t = ''; + return ( + e && (mo(e) ? (t = e.checked ? 'true' : 'false') : (t = e.value)), + t + ); + } + function yo(e) { + var t = mo(e) ? 'checked' : 'value', + a = Object.getOwnPropertyDescriptor(e.constructor.prototype, t); + na(e[t]); + var i = '' + e[t]; + if ( + !( + e.hasOwnProperty(t) || + typeof a > 'u' || + typeof a.get != 'function' || + typeof a.set != 'function' + ) + ) { + var u = a.get, + c = a.set; + Object.defineProperty(e, t, { + configurable: !0, + get: function () { + return u.call(this); + }, + set: function (w) { + na(w), (i = '' + w), c.call(this, w); + }, + }), + Object.defineProperty(e, t, { + enumerable: a.enumerable, + }); + var S = { + getValue: function () { + return i; + }, + setValue: function (w) { + na(w), (i = '' + w); + }, + stopTracking: function () { + ni(e), delete e[t]; + }, + }; + return S; + } + } + function Ba(e) { + du(e) || (e._valueTracker = yo(e)); + } + function Ko(e) { + if (!e) return !1; + var t = du(e); + if (!t) return !0; + var a = t.getValue(), + i = go(e); + return i !== a ? (t.setValue(i), !0) : !1; + } + function Xi(e) { + if ( + ((e = e || (typeof document < 'u' ? document : void 0)), + typeof e > 'u') + ) + return null; + try { + return e.activeElement || e.body; + } catch { + return e.body; + } + } + var Ki = !1, + So = !1, + bo = !1, + g = !1; + function O(e) { + var t = e.type === 'checkbox' || e.type === 'radio'; + return t ? e.checked != null : e.value != null; + } + function f(e, t) { + var a = e, + i = t.checked, + u = En({}, t, { + defaultChecked: void 0, + defaultValue: void 0, + value: void 0, + checked: i ?? a._wrapperState.initialChecked, + }); + return u; + } + function C(e, t) { + hi('input', t), + t.checked !== void 0 && + t.defaultChecked !== void 0 && + !So && + (m( + '%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components', + ha() || 'A component', + t.type + ), + (So = !0)), + t.value !== void 0 && + t.defaultValue !== void 0 && + !Ki && + (m( + '%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components', + ha() || 'A component', + t.type + ), + (Ki = !0)); + var a = e, + i = t.defaultValue == null ? '' : t.defaultValue; + a._wrapperState = { + initialChecked: t.checked != null ? t.checked : t.defaultChecked, + initialValue: ti(t.value != null ? t.value : i), + controlled: O(t), + }; + } + function N(e, t) { + var a = e, + i = t.checked; + i != null && fa(a, 'checked', i, !1); + } + function D(e, t) { + var a = e; + { + var i = O(t); + !a._wrapperState.controlled && + i && + !g && + (m( + 'A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components' + ), + (g = !0)), + a._wrapperState.controlled && + !i && + !bo && + (m( + 'A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components' + ), + (bo = !0)); + } + N(e, t); + var u = ti(t.value), + c = t.type; + if (u != null) + c === 'number' + ? ((u === 0 && a.value === '') || // We explicitly want to coerce to number here if possible. + // eslint-disable-next-line + a.value != u) && + (a.value = Nr(u)) + : a.value !== Nr(u) && (a.value = Nr(u)); + else if (c === 'submit' || c === 'reset') { + a.removeAttribute('value'); + return; + } + t.hasOwnProperty('value') + ? re(a, t.type, u) + : t.hasOwnProperty('defaultValue') && + re(a, t.type, ti(t.defaultValue)), + t.checked == null && + t.defaultChecked != null && + (a.defaultChecked = !!t.defaultChecked); + } + function F(e, t, a) { + var i = e; + if (t.hasOwnProperty('value') || t.hasOwnProperty('defaultValue')) { + var u = t.type, + c = u === 'submit' || u === 'reset'; + if (c && (t.value === void 0 || t.value === null)) return; + var S = Nr(i._wrapperState.initialValue); + a || (S !== i.value && (i.value = S)), (i.defaultValue = S); + } + var w = i.name; + w !== '' && (i.name = ''), + (i.defaultChecked = !i.defaultChecked), + (i.defaultChecked = !!i._wrapperState.initialChecked), + w !== '' && (i.name = w); + } + function Z(e, t) { + var a = e; + D(a, t), Q(a, t); + } + function Q(e, t) { + var a = t.name; + if (t.type === 'radio' && a != null) { + for (var i = e; i.parentNode; ) i = i.parentNode; + Ca(a, 'name'); + for ( + var u = i.querySelectorAll( + 'input[name=' + JSON.stringify('' + a) + '][type="radio"]' + ), + c = 0; + c < u.length; + c++ + ) { + var S = u[c]; + if (!(S === e || S.form !== e.form)) { + var w = hm(S); + if (!w) + throw new Error( + 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.' + ); + Ko(S), D(S, w); + } + } + } + } + function re(e, t, a) { + // Focused number inputs synchronize on blur. See ChangeEventPlugin.js + (t !== 'number' || Xi(e.ownerDocument) !== e) && + (a == null + ? (e.defaultValue = Nr(e._wrapperState.initialValue)) + : e.defaultValue !== Nr(a) && (e.defaultValue = Nr(a))); + } + var Se = !1, + be = !1, + ke = !1; + function ve(e, t) { + t.value == null && + (typeof t.children == 'object' && t.children !== null + ? l.Children.forEach(t.children, function (a) { + a != null && + (typeof a == 'string' || + typeof a == 'number' || + be || + ((be = !0), + m( + 'Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to