@ea-lab/reactive-json 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/esm/types/component/action/HashChangeListener.d.ts +9 -0
- package/{lib/component/action/Hide.jsx → dist/esm/types/component/action/Hide.d.ts} +2 -6
- package/dist/esm/types/component/action/MessageListener.d.ts +9 -0
- package/dist/esm/types/component/action/Popover.d.ts +5 -0
- package/dist/esm/types/component/action/ReactOnEvent.d.ts +26 -0
- package/dist/esm/types/component/action/Redirect.d.ts +9 -0
- package/dist/esm/types/component/action/Tooltip.d.ts +5 -0
- package/{lib/component/action/VisuallyHide.jsx → dist/esm/types/component/action/VisuallyHide.d.ts} +1 -4
- package/dist/esm/types/component/element/form/CheckBoxField.d.ts +7 -0
- package/dist/esm/types/component/element/form/DateField.d.ts +2 -0
- package/dist/esm/types/component/element/form/NumberField.d.ts +7 -0
- package/dist/esm/types/component/element/form/SelectField.d.ts +7 -0
- package/dist/esm/types/component/element/form/TextAreaField.d.ts +6 -0
- package/dist/esm/types/component/element/form/TextField.d.ts +6 -0
- package/dist/esm/types/component/element/form/formElementsCommon.d.ts +23 -0
- package/dist/esm/types/component/element/html/AccordionItem.d.ts +16 -0
- package/dist/esm/types/component/element/html/FolderSortableTree.d.ts +6 -0
- package/dist/esm/types/component/element/html/FormatNumeral.d.ts +7 -0
- package/dist/esm/types/component/element/html/Html.d.ts +8 -0
- package/dist/esm/types/component/element/html/LabelFromValue.d.ts +22 -0
- package/dist/esm/types/component/element/html/Modal.d.ts +6 -0
- package/dist/esm/types/component/element/html/ModalForm.d.ts +9 -0
- package/dist/esm/types/component/element/html/Paragraph.d.ts +5 -0
- package/dist/esm/types/component/element/html/PreformattedMarkup.d.ts +7 -0
- package/dist/esm/types/component/element/html/SortableTreeItemCollapseButton.d.ts +9 -0
- package/dist/esm/types/component/element/html/Tabs.d.ts +18 -0
- package/dist/esm/types/component/element/special/BootstrapElement.d.ts +10 -0
- package/dist/esm/types/component/element/special/Count.d.ts +13 -0
- package/dist/esm/types/component/element/special/DataFilter.d.ts +11 -0
- package/dist/esm/types/component/element/special/DelayedActions.d.ts +25 -0
- package/dist/esm/types/component/element/special/PageControls.d.ts +9 -0
- package/dist/esm/types/component/element/special/Phantom.d.ts +17 -0
- package/dist/esm/types/component/element/special/Switch.d.ts +6 -0
- package/dist/esm/types/component/hook/usePagination.d.ts +30 -0
- package/dist/esm/types/component/index.d.ts +5 -0
- package/dist/esm/types/component/reaction/addData.d.ts +6 -0
- package/dist/esm/types/component/reaction/fetchData.d.ts +8 -0
- package/dist/esm/types/component/reaction/moveData.d.ts +6 -0
- package/dist/esm/types/component/reaction/postMessage.d.ts +6 -0
- package/dist/esm/types/component/reaction/redirectNow.d.ts +6 -0
- package/dist/esm/types/component/reaction/removeData.d.ts +6 -0
- package/dist/esm/types/component/reaction/setClipboardData.d.ts +6 -0
- package/dist/esm/types/component/reaction/setData.d.ts +6 -0
- package/dist/esm/types/component/reaction/submitData.d.ts +8 -0
- package/dist/esm/types/component/reaction/triggerEvent.d.ts +6 -0
- package/dist/esm/types/component/utility/formatString.d.ts +17 -0
- package/dist/esm/types/engine/Actions.d.ts +19 -0
- package/dist/esm/types/engine/ComponentCollector.d.ts +12 -0
- package/{lib/engine/EventDispatcherContext.jsx → dist/esm/types/engine/EventDispatcherContext.d.ts} +4 -7
- package/dist/esm/types/engine/EventDispatcherProvider.d.ts +16 -0
- package/{lib/engine/GlobalDataContext.jsx → dist/esm/types/engine/GlobalDataContext.d.ts} +1 -4
- package/dist/esm/types/engine/GlobalDataContextProvider.d.ts +11 -0
- package/{lib/engine/PaginationContext.jsx → dist/esm/types/engine/PaginationContext.d.ts} +3 -4
- package/dist/esm/types/engine/PaginationProvider.d.ts +12 -0
- package/dist/esm/types/engine/ReactiveJsonRoot.d.ts +28 -0
- package/{lib/engine/TemplateContext.jsx → dist/esm/types/engine/TemplateContext.d.ts} +1 -4
- package/dist/esm/types/engine/TemplateSystem.d.ts +89 -0
- package/dist/esm/types/engine/View.d.ts +7 -0
- package/dist/esm/types/index.d.ts +6 -0
- package/dist/esm/types/main.d.ts +10 -0
- package/dist/index.cjs.js +9201 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.esm.js +9180 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +26 -15
- package/dist/reactive-json.css +0 -5
- package/dist/reactive-json.js +0 -47707
- package/dist/reactive-json.js.map +0 -1
- package/dist/reactive-json.umd.cjs +0 -366
- package/dist/reactive-json.umd.cjs.map +0 -1
- package/lib/component/action/HashChangeListener.jsx +0 -66
- package/lib/component/action/MessageListener.jsx +0 -62
- package/lib/component/action/Popover.jsx +0 -53
- package/lib/component/action/ReactOnEvent.jsx +0 -118
- package/lib/component/action/Redirect.jsx +0 -26
- package/lib/component/action/Tooltip.jsx +0 -27
- package/lib/component/element/form/CheckBoxField.jsx +0 -215
- package/lib/component/element/form/DateField.jsx +0 -42
- package/lib/component/element/form/NumberField.jsx +0 -29
- package/lib/component/element/form/SelectField.jsx +0 -130
- package/lib/component/element/form/TextAreaField.jsx +0 -48
- package/lib/component/element/form/TextField.jsx +0 -65
- package/lib/component/element/form/formElementsCommon.jsx +0 -54
- package/lib/component/element/html/AccordionItem.jsx +0 -42
- package/lib/component/element/html/FolderSortableTree.jsx +0 -307
- package/lib/component/element/html/FormatNumeral.jsx +0 -118
- package/lib/component/element/html/Html.jsx +0 -107
- package/lib/component/element/html/LabelFromValue.jsx +0 -89
- package/lib/component/element/html/Modal.jsx +0 -77
- package/lib/component/element/html/ModalForm.jsx +0 -30
- package/lib/component/element/html/Paragraph.jsx +0 -10
- package/lib/component/element/html/PreformattedMarkup.jsx +0 -54
- package/lib/component/element/html/SortableTreeItemCollapseButton.jsx +0 -20
- package/lib/component/element/html/Tabs.jsx +0 -55
- package/lib/component/element/special/BootstrapElement.jsx +0 -32
- package/lib/component/element/special/Count.jsx +0 -46
- package/lib/component/element/special/DataFilter.jsx +0 -156
- package/lib/component/element/special/DelayedActions.jsx +0 -119
- package/lib/component/element/special/PageControls.jsx +0 -19
- package/lib/component/element/special/Phantom.jsx +0 -25
- package/lib/component/element/special/Switch.jsx +0 -131
- package/lib/component/hook/usePagination.jsx +0 -184
- package/lib/component/reaction/addData.jsx +0 -23
- package/lib/component/reaction/fetchData.jsx +0 -83
- package/lib/component/reaction/moveData.jsx +0 -52
- package/lib/component/reaction/postMessage.jsx +0 -43
- package/lib/component/reaction/redirectNow.jsx +0 -17
- package/lib/component/reaction/removeData.jsx +0 -48
- package/lib/component/reaction/setClipboardData.jsx +0 -20
- package/lib/component/reaction/setData.jsx +0 -23
- package/lib/component/reaction/submitData.jsx +0 -136
- package/lib/component/reaction/triggerEvent.jsx +0 -62
- package/lib/component/utility/formatString.jsx +0 -59
- package/lib/engine/Actions.jsx +0 -392
- package/lib/engine/ComponentCollector.js +0 -28
- package/lib/engine/EventDispatcherProvider.jsx +0 -80
- package/lib/engine/GlobalDataContextProvider.jsx +0 -33
- package/lib/engine/PaginationProvider.jsx +0 -61
- package/lib/engine/ReactiveJsonRoot.jsx +0 -318
- package/lib/engine/TemplateSystem.jsx +0 -302
- package/lib/engine/View.jsx +0 -248
- package/lib/main.jsx +0 -52
|
@@ -1,366 +0,0 @@
|
|
|
1
|
-
(function(hd,q){typeof exports=="object"&&typeof module<"u"?q(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],q):(hd=typeof globalThis<"u"?globalThis:hd||self,q(hd.ReactiveJson={},hd.React,hd.React.DOM))})(this,function(hd,q,Gl){"use strict";function b_(n){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const u in n)if(u!=="default"){const f=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(l,u,f.get?f:{enumerable:!0,get:()=>n[u]})}}return l.default=n,Object.freeze(l)}const st=b_(q);var zv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function my(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var $1={exports:{}},vy={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var $A;function S_(){if($A)return vy;$A=1;var n=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function u(f,p,v){var g=null;if(v!==void 0&&(g=""+v),p.key!==void 0&&(g=""+p.key),"key"in p){v={};for(var E in p)E!=="key"&&(v[E]=p[E])}else v=p;return p=v.ref,{$$typeof:n,type:f,key:g,ref:p!==void 0?p:null,props:v}}return vy.Fragment=l,vy.jsx=u,vy.jsxs=u,vy}var gy={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var PA;function E_(){return PA||(PA=1,process.env.NODE_ENV!=="production"&&function(){function n(W){if(W==null)return null;if(typeof W=="function")return W.$$typeof===pe?null:W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case z:return"Fragment";case I:return"Profiler";case O:return"StrictMode";case D:return"Suspense";case j:return"SuspenseList";case oe:return"Activity"}if(typeof W=="object")switch(typeof W.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),W.$$typeof){case B:return"Portal";case V:return(W.displayName||"Context")+".Provider";case X:return(W._context.displayName||"Context")+".Consumer";case U:var Ee=W.render;return W=W.displayName,W||(W=Ee.displayName||Ee.name||"",W=W!==""?"ForwardRef("+W+")":"ForwardRef"),W;case Y:return Ee=W.displayName||null,Ee!==null?Ee:n(W.type)||"Memo";case ie:Ee=W._payload,W=W._init;try{return n(W(Ee))}catch{}}return null}function l(W){return""+W}function u(W){try{l(W);var Ee=!1}catch{Ee=!0}if(Ee){Ee=console;var Me=Ee.error,ne=typeof Symbol=="function"&&Symbol.toStringTag&&W[Symbol.toStringTag]||W.constructor.name||"Object";return Me.call(Ee,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ne),l(W)}}function f(W){if(W===z)return"<>";if(typeof W=="object"&&W!==null&&W.$$typeof===ie)return"<...>";try{var Ee=n(W);return Ee?"<"+Ee+">":"<...>"}catch{return"<...>"}}function p(){var W=ve.A;return W===null?null:W.getOwner()}function v(){return Error("react-stack-top-frame")}function g(W){if(_e.call(W,"key")){var Ee=Object.getOwnPropertyDescriptor(W,"key").get;if(Ee&&Ee.isReactWarning)return!1}return W.key!==void 0}function E(W,Ee){function Me(){Qe||(Qe=!0,console.error("%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://react.dev/link/special-props)",Ee))}Me.isReactWarning=!0,Object.defineProperty(W,"key",{get:Me,configurable:!0})}function S(){var W=n(this.type);return ee[W]||(ee[W]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),W=this.props.ref,W!==void 0?W:null}function A(W,Ee,Me,ne,he,De,Ye,rt){return Me=De.ref,W={$$typeof:L,type:W,key:Ee,props:De,_owner:he},(Me!==void 0?Me:null)!==null?Object.defineProperty(W,"ref",{enumerable:!1,get:S}):Object.defineProperty(W,"ref",{enumerable:!1,value:null}),W._store={},Object.defineProperty(W._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(W,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(W,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.defineProperty(W,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:rt}),Object.freeze&&(Object.freeze(W.props),Object.freeze(W)),W}function C(W,Ee,Me,ne,he,De,Ye,rt){var Ke=Ee.children;if(Ke!==void 0)if(ne)if(ze(Ke)){for(ne=0;ne<Ke.length;ne++)w(Ke[ne]);Object.freeze&&Object.freeze(Ke)}else console.error("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 w(Ke);if(_e.call(Ee,"key")){Ke=n(W);var Ne=Object.keys(Ee).filter(function(nt){return nt!=="key"});ne=0<Ne.length?"{key: someKey, "+Ne.join(": ..., ")+": ...}":"{key: someKey}",We[Ke+ne]||(Ne=0<Ne.length?"{"+Ne.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,ne,Ke,Ne,Ke),We[Ke+ne]=!0)}if(Ke=null,Me!==void 0&&(u(Me),Ke=""+Me),g(Ee)&&(u(Ee.key),Ke=""+Ee.key),"key"in Ee){Me={};for(var Ce in Ee)Ce!=="key"&&(Me[Ce]=Ee[Ce])}else Me=Ee;return Ke&&E(Me,typeof W=="function"?W.displayName||W.name||"Unknown":W),A(W,Ke,De,he,p(),Me,Ye,rt)}function w(W){typeof W=="object"&&W!==null&&W.$$typeof===L&&W._store&&(W._store.validated=1)}var M=q,L=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),V=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),pe=Symbol.for("react.client.reference"),ve=M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_e=Object.prototype.hasOwnProperty,ze=Array.isArray,Ue=console.createTask?console.createTask:function(){return null};M={"react-stack-bottom-frame":function(W){return W()}};var Qe,ee={},ce=M["react-stack-bottom-frame"].bind(M,v)(),ge=Ue(f(v)),We={};gy.Fragment=z,gy.jsx=function(W,Ee,Me,ne,he){var De=1e4>ve.recentlyCreatedOwnerStacks++;return C(W,Ee,Me,!1,ne,he,De?Error("react-stack-top-frame"):ce,De?Ue(f(W)):ge)},gy.jsxs=function(W,Ee,Me,ne,he){var De=1e4>ve.recentlyCreatedOwnerStacks++;return C(W,Ee,Me,!0,ne,he,De?Error("react-stack-top-frame"):ce,De?Ue(f(W)):ge)}}()),gy}var QA;function x_(){return QA||(QA=1,process.env.NODE_ENV==="production"?$1.exports=S_():$1.exports=E_()),$1.exports}var te=x_();const FS=q.createContext({addEventListener:null,removeEventListener:null}),Fh={},A_=n=>{if(Fh.hasOwnProperty(n.type))for(const l of Fh[n.type])l(n)},T_=(n,l)=>{Fh.hasOwnProperty(n)?Fh[n].push(l):(window.addEventListener(n,A_),Fh[n]=[l])},C_=(n,l)=>{if(!Fh.hasOwnProperty(n))return;const u=Fh[n].indexOf(l);u>-1&&Fh[n].splice(u,1)},w_=n=>te.jsx(FS.Provider,{value:{addEventListener:T_,removeEventListener:C_},children:n.children}),O_=q.memo(w_),Aa=q.createContext({}),D_=n=>{const l={...n.value};return l.getRootContext===void 0&&(l.getRootContext=()=>n.value),te.jsx(Aa.Provider,{value:l,children:n.children})},ua=q.createContext({});var YS={exports:{}};/*!
|
|
23
|
-
Copyright (c) 2018 Jed Watson.
|
|
24
|
-
Licensed under the MIT License (MIT), see
|
|
25
|
-
http://jedwatson.github.io/classnames
|
|
26
|
-
*/var ZA;function __(){return ZA||(ZA=1,function(n){(function(){var l={}.hasOwnProperty;function u(){for(var v="",g=0;g<arguments.length;g++){var E=arguments[g];E&&(v=p(v,f(E)))}return v}function f(v){if(typeof v=="string"||typeof v=="number")return v;if(typeof v!="object")return"";if(Array.isArray(v))return u.apply(null,v);if(v.toString!==Object.prototype.toString&&!v.toString.toString().includes("[native code]"))return v.toString();var g="";for(var E in v)l.call(v,E)&&v[E]&&(g=p(g,E));return g}function p(v,g){return g?v?v+" "+g:v+g:v}n.exports?(u.default=u,n.exports=u):window.classNames=u})()}(YS)),YS.exports}var R_=__();const jt=my(R_);var P1={exports:{}},Q1={exports:{}},oa={};/** @license React v16.13.1
|
|
27
|
-
* react-is.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var KA;function M_(){if(KA)return oa;KA=1;var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,u=n?Symbol.for("react.portal"):60106,f=n?Symbol.for("react.fragment"):60107,p=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,g=n?Symbol.for("react.provider"):60109,E=n?Symbol.for("react.context"):60110,S=n?Symbol.for("react.async_mode"):60111,A=n?Symbol.for("react.concurrent_mode"):60111,C=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,M=n?Symbol.for("react.suspense_list"):60120,L=n?Symbol.for("react.memo"):60115,B=n?Symbol.for("react.lazy"):60116,z=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,I=n?Symbol.for("react.responder"):60118,X=n?Symbol.for("react.scope"):60119;function V(D){if(typeof D=="object"&&D!==null){var j=D.$$typeof;switch(j){case l:switch(D=D.type,D){case S:case A:case f:case v:case p:case w:return D;default:switch(D=D&&D.$$typeof,D){case E:case C:case B:case L:case g:return D;default:return j}}case u:return j}}}function U(D){return V(D)===A}return oa.AsyncMode=S,oa.ConcurrentMode=A,oa.ContextConsumer=E,oa.ContextProvider=g,oa.Element=l,oa.ForwardRef=C,oa.Fragment=f,oa.Lazy=B,oa.Memo=L,oa.Portal=u,oa.Profiler=v,oa.StrictMode=p,oa.Suspense=w,oa.isAsyncMode=function(D){return U(D)||V(D)===S},oa.isConcurrentMode=U,oa.isContextConsumer=function(D){return V(D)===E},oa.isContextProvider=function(D){return V(D)===g},oa.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===l},oa.isForwardRef=function(D){return V(D)===C},oa.isFragment=function(D){return V(D)===f},oa.isLazy=function(D){return V(D)===B},oa.isMemo=function(D){return V(D)===L},oa.isPortal=function(D){return V(D)===u},oa.isProfiler=function(D){return V(D)===v},oa.isStrictMode=function(D){return V(D)===p},oa.isSuspense=function(D){return V(D)===w},oa.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===f||D===A||D===v||D===p||D===w||D===M||typeof D=="object"&&D!==null&&(D.$$typeof===B||D.$$typeof===L||D.$$typeof===g||D.$$typeof===E||D.$$typeof===C||D.$$typeof===O||D.$$typeof===I||D.$$typeof===X||D.$$typeof===z)},oa.typeOf=V,oa}var sa={};/** @license React v16.13.1
|
|
34
|
-
* react-is.development.js
|
|
35
|
-
*
|
|
36
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
-
*
|
|
38
|
-
* This source code is licensed under the MIT license found in the
|
|
39
|
-
* LICENSE file in the root directory of this source tree.
|
|
40
|
-
*/var JA;function N_(){return JA||(JA=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,u=n?Symbol.for("react.portal"):60106,f=n?Symbol.for("react.fragment"):60107,p=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,g=n?Symbol.for("react.provider"):60109,E=n?Symbol.for("react.context"):60110,S=n?Symbol.for("react.async_mode"):60111,A=n?Symbol.for("react.concurrent_mode"):60111,C=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,M=n?Symbol.for("react.suspense_list"):60120,L=n?Symbol.for("react.memo"):60115,B=n?Symbol.for("react.lazy"):60116,z=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,I=n?Symbol.for("react.responder"):60118,X=n?Symbol.for("react.scope"):60119;function V(ke){return typeof ke=="string"||typeof ke=="function"||ke===f||ke===A||ke===v||ke===p||ke===w||ke===M||typeof ke=="object"&&ke!==null&&(ke.$$typeof===B||ke.$$typeof===L||ke.$$typeof===g||ke.$$typeof===E||ke.$$typeof===C||ke.$$typeof===O||ke.$$typeof===I||ke.$$typeof===X||ke.$$typeof===z)}function U(ke){if(typeof ke=="object"&&ke!==null){var Tt=ke.$$typeof;switch(Tt){case l:var _t=ke.type;switch(_t){case S:case A:case f:case v:case p:case w:return _t;default:var Et=_t&&_t.$$typeof;switch(Et){case E:case C:case B:case L:case g:return Et;default:return Tt}}case u:return Tt}}}var D=S,j=A,Y=E,ie=g,oe=l,pe=C,ve=f,_e=B,ze=L,Ue=u,Qe=v,ee=p,ce=w,ge=!1;function We(ke){return ge||(ge=!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.")),W(ke)||U(ke)===S}function W(ke){return U(ke)===A}function Ee(ke){return U(ke)===E}function Me(ke){return U(ke)===g}function ne(ke){return typeof ke=="object"&&ke!==null&&ke.$$typeof===l}function he(ke){return U(ke)===C}function De(ke){return U(ke)===f}function Ye(ke){return U(ke)===B}function rt(ke){return U(ke)===L}function Ke(ke){return U(ke)===u}function Ne(ke){return U(ke)===v}function Ce(ke){return U(ke)===p}function nt(ke){return U(ke)===w}sa.AsyncMode=D,sa.ConcurrentMode=j,sa.ContextConsumer=Y,sa.ContextProvider=ie,sa.Element=oe,sa.ForwardRef=pe,sa.Fragment=ve,sa.Lazy=_e,sa.Memo=ze,sa.Portal=Ue,sa.Profiler=Qe,sa.StrictMode=ee,sa.Suspense=ce,sa.isAsyncMode=We,sa.isConcurrentMode=W,sa.isContextConsumer=Ee,sa.isContextProvider=Me,sa.isElement=ne,sa.isForwardRef=he,sa.isFragment=De,sa.isLazy=Ye,sa.isMemo=rt,sa.isPortal=Ke,sa.isProfiler=Ne,sa.isStrictMode=Ce,sa.isSuspense=nt,sa.isValidElementType=V,sa.typeOf=U}()),sa}var WA;function eT(){return WA||(WA=1,process.env.NODE_ENV==="production"?Q1.exports=M_():Q1.exports=N_()),Q1.exports}/*
|
|
41
|
-
object-assign
|
|
42
|
-
(c) Sindre Sorhus
|
|
43
|
-
@license MIT
|
|
44
|
-
*/var GS,tT;function B_(){if(tT)return GS;tT=1;var n=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;function f(v){if(v==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(v)}function p(){try{if(!Object.assign)return!1;var v=new String("abc");if(v[5]="de",Object.getOwnPropertyNames(v)[0]==="5")return!1;for(var g={},E=0;E<10;E++)g["_"+String.fromCharCode(E)]=E;var S=Object.getOwnPropertyNames(g).map(function(C){return g[C]});if(S.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(C){A[C]=C}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return GS=p()?Object.assign:function(v,g){for(var E,S=f(v),A,C=1;C<arguments.length;C++){E=Object(arguments[C]);for(var w in E)l.call(E,w)&&(S[w]=E[w]);if(n){A=n(E);for(var M=0;M<A.length;M++)u.call(E,A[M])&&(S[A[M]]=E[A[M]])}}return S},GS}var IS,nT;function VS(){if(nT)return IS;nT=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return IS=n,IS}var XS,aT;function rT(){return aT||(aT=1,XS=Function.call.bind(Object.prototype.hasOwnProperty)),XS}var $S,iT;function L_(){if(iT)return $S;iT=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var l=VS(),u={},f=rT();n=function(v){var g="Warning: "+v;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}}}function p(v,g,E,S,A){if(process.env.NODE_ENV!=="production"){for(var C in v)if(f(v,C)){var w;try{if(typeof v[C]!="function"){var M=Error((S||"React class")+": "+E+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}w=v[C](g,C,S,E,null,l)}catch(B){w=B}if(w&&!(w instanceof Error)&&n((S||"React class")+": type specification of "+E+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in u)){u[w.message]=!0;var L=A?A():"";n("Failed "+E+" type: "+w.message+(L??""))}}}}return p.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(u={})},$S=p,$S}var PS,lT;function z_(){if(lT)return PS;lT=1;var n=eT(),l=B_(),u=VS(),f=rT(),p=L_(),v=function(){};process.env.NODE_ENV!=="production"&&(v=function(E){var S="Warning: "+E;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function g(){return null}return PS=function(E,S){var A=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function w(W){var Ee=W&&(A&&W[A]||W[C]);if(typeof Ee=="function")return Ee}var M="<<anonymous>>",L={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:X(),arrayOf:V,element:U(),elementType:D(),instanceOf:j,node:pe(),objectOf:ie,oneOf:Y,oneOfType:oe,shape:_e,exact:ze};function B(W,Ee){return W===Ee?W!==0||1/W===1/Ee:W!==W&&Ee!==Ee}function z(W,Ee){this.message=W,this.data=Ee&&typeof Ee=="object"?Ee:{},this.stack=""}z.prototype=Error.prototype;function O(W){if(process.env.NODE_ENV!=="production")var Ee={},Me=0;function ne(De,Ye,rt,Ke,Ne,Ce,nt){if(Ke=Ke||M,Ce=Ce||rt,nt!==u){if(S){var ke=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 ke.name="Invariant Violation",ke}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Tt=Ke+":"+rt;!Ee[Tt]&&Me<3&&(v("You are manually calling a React.PropTypes validation function for the `"+Ce+"` prop on `"+Ke+"`. 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."),Ee[Tt]=!0,Me++)}}return Ye[rt]==null?De?Ye[rt]===null?new z("The "+Ne+" `"+Ce+"` is marked as required "+("in `"+Ke+"`, but its value is `null`.")):new z("The "+Ne+" `"+Ce+"` is marked as required in "+("`"+Ke+"`, but its value is `undefined`.")):null:W(Ye,rt,Ke,Ne,Ce)}var he=ne.bind(null,!1);return he.isRequired=ne.bind(null,!0),he}function I(W){function Ee(Me,ne,he,De,Ye,rt){var Ke=Me[ne],Ne=ee(Ke);if(Ne!==W){var Ce=ce(Ke);return new z("Invalid "+De+" `"+Ye+"` of type "+("`"+Ce+"` supplied to `"+he+"`, expected ")+("`"+W+"`."),{expectedType:W})}return null}return O(Ee)}function X(){return O(g)}function V(W){function Ee(Me,ne,he,De,Ye){if(typeof W!="function")return new z("Property `"+Ye+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var rt=Me[ne];if(!Array.isArray(rt)){var Ke=ee(rt);return new z("Invalid "+De+" `"+Ye+"` of type "+("`"+Ke+"` supplied to `"+he+"`, expected an array."))}for(var Ne=0;Ne<rt.length;Ne++){var Ce=W(rt,Ne,he,De,Ye+"["+Ne+"]",u);if(Ce instanceof Error)return Ce}return null}return O(Ee)}function U(){function W(Ee,Me,ne,he,De){var Ye=Ee[Me];if(!E(Ye)){var rt=ee(Ye);return new z("Invalid "+he+" `"+De+"` of type "+("`"+rt+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return O(W)}function D(){function W(Ee,Me,ne,he,De){var Ye=Ee[Me];if(!n.isValidElementType(Ye)){var rt=ee(Ye);return new z("Invalid "+he+" `"+De+"` of type "+("`"+rt+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return O(W)}function j(W){function Ee(Me,ne,he,De,Ye){if(!(Me[ne]instanceof W)){var rt=W.name||M,Ke=We(Me[ne]);return new z("Invalid "+De+" `"+Ye+"` of type "+("`"+Ke+"` supplied to `"+he+"`, expected ")+("instance of `"+rt+"`."))}return null}return O(Ee)}function Y(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&(arguments.length>1?v("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])."):v("Invalid argument supplied to oneOf, expected an array.")),g;function Ee(Me,ne,he,De,Ye){for(var rt=Me[ne],Ke=0;Ke<W.length;Ke++)if(B(rt,W[Ke]))return null;var Ne=JSON.stringify(W,function(nt,ke){var Tt=ce(ke);return Tt==="symbol"?String(ke):ke});return new z("Invalid "+De+" `"+Ye+"` of value `"+String(rt)+"` "+("supplied to `"+he+"`, expected one of "+Ne+"."))}return O(Ee)}function ie(W){function Ee(Me,ne,he,De,Ye){if(typeof W!="function")return new z("Property `"+Ye+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var rt=Me[ne],Ke=ee(rt);if(Ke!=="object")return new z("Invalid "+De+" `"+Ye+"` of type "+("`"+Ke+"` supplied to `"+he+"`, expected an object."));for(var Ne in rt)if(f(rt,Ne)){var Ce=W(rt,Ne,he,De,Ye+"."+Ne,u);if(Ce instanceof Error)return Ce}return null}return O(Ee)}function oe(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&v("Invalid argument supplied to oneOfType, expected an instance of array."),g;for(var Ee=0;Ee<W.length;Ee++){var Me=W[Ee];if(typeof Me!="function")return v("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ge(Me)+" at index "+Ee+"."),g}function ne(he,De,Ye,rt,Ke){for(var Ne=[],Ce=0;Ce<W.length;Ce++){var nt=W[Ce],ke=nt(he,De,Ye,rt,Ke,u);if(ke==null)return null;ke.data&&f(ke.data,"expectedType")&&Ne.push(ke.data.expectedType)}var Tt=Ne.length>0?", expected one of type ["+Ne.join(", ")+"]":"";return new z("Invalid "+rt+" `"+Ke+"` supplied to "+("`"+Ye+"`"+Tt+"."))}return O(ne)}function pe(){function W(Ee,Me,ne,he,De){return Ue(Ee[Me])?null:new z("Invalid "+he+" `"+De+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return O(W)}function ve(W,Ee,Me,ne,he){return new z((W||"React class")+": "+Ee+" type `"+Me+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function _e(W){function Ee(Me,ne,he,De,Ye){var rt=Me[ne],Ke=ee(rt);if(Ke!=="object")return new z("Invalid "+De+" `"+Ye+"` of type `"+Ke+"` "+("supplied to `"+he+"`, expected `object`."));for(var Ne in W){var Ce=W[Ne];if(typeof Ce!="function")return ve(he,De,Ye,Ne,ce(Ce));var nt=Ce(rt,Ne,he,De,Ye+"."+Ne,u);if(nt)return nt}return null}return O(Ee)}function ze(W){function Ee(Me,ne,he,De,Ye){var rt=Me[ne],Ke=ee(rt);if(Ke!=="object")return new z("Invalid "+De+" `"+Ye+"` of type `"+Ke+"` "+("supplied to `"+he+"`, expected `object`."));var Ne=l({},Me[ne],W);for(var Ce in Ne){var nt=W[Ce];if(f(W,Ce)&&typeof nt!="function")return ve(he,De,Ye,Ce,ce(nt));if(!nt)return new z("Invalid "+De+" `"+Ye+"` key `"+Ce+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(Me[ne],null," ")+`
|
|
45
|
-
Valid keys: `+JSON.stringify(Object.keys(W),null," "));var ke=nt(rt,Ce,he,De,Ye+"."+Ce,u);if(ke)return ke}return null}return O(Ee)}function Ue(W){switch(typeof W){case"number":case"string":case"undefined":return!0;case"boolean":return!W;case"object":if(Array.isArray(W))return W.every(Ue);if(W===null||E(W))return!0;var Ee=w(W);if(Ee){var Me=Ee.call(W),ne;if(Ee!==W.entries){for(;!(ne=Me.next()).done;)if(!Ue(ne.value))return!1}else for(;!(ne=Me.next()).done;){var he=ne.value;if(he&&!Ue(he[1]))return!1}}else return!1;return!0;default:return!1}}function Qe(W,Ee){return W==="symbol"?!0:Ee?Ee["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Ee instanceof Symbol:!1}function ee(W){var Ee=typeof W;return Array.isArray(W)?"array":W instanceof RegExp?"object":Qe(Ee,W)?"symbol":Ee}function ce(W){if(typeof W>"u"||W===null)return""+W;var Ee=ee(W);if(Ee==="object"){if(W instanceof Date)return"date";if(W instanceof RegExp)return"regexp"}return Ee}function ge(W){var Ee=ce(W);switch(Ee){case"array":case"object":return"an "+Ee;case"boolean":case"date":case"regexp":return"a "+Ee;default:return Ee}}function We(W){return!W.constructor||!W.constructor.name?M:W.constructor.name}return L.checkPropTypes=p,L.resetWarningCache=p.resetWarningCache,L.PropTypes=L,L},PS}var QS,uT;function U_(){if(uT)return QS;uT=1;var n=VS();function l(){}function u(){}return u.resetWarningCache=l,QS=function(){function f(g,E,S,A,C,w){if(w!==n){var M=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 M.name="Invariant Violation",M}}f.isRequired=f;function p(){return f}var v={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:p,element:f,elementType:f,instanceOf:p,node:f,objectOf:p,oneOf:p,oneOfType:p,shape:p,exact:p,checkPropTypes:u,resetWarningCache:l};return v.PropTypes=v,v},QS}var oT;function H_(){if(oT)return P1.exports;if(oT=1,process.env.NODE_ENV!=="production"){var n=eT(),l=!0;P1.exports=z_()(n.isElement,l)}else P1.exports=U_()();return P1.exports}var j_=H_();const Mt=my(j_),k_={type:Mt.string,tooltip:Mt.bool,as:Mt.elementType},Z1=st.forwardRef(({as:n="div",className:l,type:u="valid",tooltip:f=!1,...p},v)=>te.jsx(n,{...p,ref:v,className:jt(l,`${u}-${f?"tooltip":"feedback"}`)}));Z1.displayName="Feedback",Z1.propTypes=k_;const pd=st.createContext({}),q_=["xxl","xl","lg","md","sm","xs"],yy=st.createContext({prefixes:{},breakpoints:q_,minBreakpoint:"xs"}),{Consumer:R5,Provider:M5}=yy;function dn(n,l){const{prefixes:u}=q.useContext(yy);return n||u[l]||l}function F_(){const{breakpoints:n}=q.useContext(yy);return n}function Y_(){const{minBreakpoint:n}=q.useContext(yy);return n}function ZS(){const{dir:n}=q.useContext(yy);return n==="rtl"}const KS=st.forwardRef(({id:n,bsPrefix:l,className:u,type:f="checkbox",isValid:p=!1,isInvalid:v=!1,as:g="input",...E},S)=>{const{controlId:A}=q.useContext(pd);return l=dn(l,"form-check-input"),te.jsx(g,{...E,ref:S,type:f,id:n||A,className:jt(u,l,p&&"is-valid",v&&"is-invalid")})});KS.displayName="FormCheckInput";const K1=st.forwardRef(({bsPrefix:n,className:l,htmlFor:u,...f},p)=>{const{controlId:v}=q.useContext(pd);return n=dn(n,"form-check-label"),te.jsx("label",{...f,ref:p,htmlFor:u||v,className:jt(l,n)})});K1.displayName="FormCheckLabel";function sT(n,l){let u=0;return st.Children.map(n,f=>st.isValidElement(f)?l(f,u++):f)}function G_(n,l){let u=0;st.Children.forEach(n,f=>{st.isValidElement(f)&&l(f,u++)})}function I_(n,l){return st.Children.toArray(n).some(u=>st.isValidElement(u)&&u.type===l)}const cT=st.forwardRef(({id:n,bsPrefix:l,bsSwitchPrefix:u,inline:f=!1,reverse:p=!1,disabled:v=!1,isValid:g=!1,isInvalid:E=!1,feedbackTooltip:S=!1,feedback:A,feedbackType:C,className:w,style:M,title:L="",type:B="checkbox",label:z,children:O,as:I="input",...X},V)=>{l=dn(l,"form-check"),u=dn(u,"form-switch");const{controlId:U}=q.useContext(pd),D=q.useMemo(()=>({controlId:n||U}),[U,n]),j=!O&&z!=null&&z!==!1||I_(O,K1),Y=te.jsx(KS,{...X,type:B==="switch"?"checkbox":B,ref:V,isValid:g,isInvalid:E,disabled:v,as:I});return te.jsx(pd.Provider,{value:D,children:te.jsx("div",{style:M,className:jt(w,j&&l,f&&`${l}-inline`,p&&`${l}-reverse`,B==="switch"&&u),children:O||te.jsxs(te.Fragment,{children:[Y,j&&te.jsx(K1,{title:L,children:z}),A&&te.jsx(Z1,{type:C,tooltip:S,children:A})]})})})});cT.displayName="FormCheck";const J1=Object.assign(cT,{Input:KS,Label:K1});var JS,fT;function V_(){if(fT)return JS;fT=1;var n=process.env.NODE_ENV!=="production",l=function(){};if(n){var u=function(p,v){var g=arguments.length;v=new Array(g>1?g-1:0);for(var E=1;E<g;E++)v[E-1]=arguments[E];var S=0,A="Warning: "+p.replace(/%s/g,function(){return v[S++]});typeof console<"u"&&console.error(A);try{throw new Error(A)}catch{}};l=function(f,p,v){var g=arguments.length;v=new Array(g>2?g-2:0);for(var E=2;E<g;E++)v[E-2]=arguments[E];if(p===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");f||u.apply(null,[p].concat(v))}}return JS=l,JS}var X_=V_();const W1=my(X_),dT=st.forwardRef(({bsPrefix:n,type:l,size:u,htmlSize:f,id:p,className:v,isValid:g=!1,isInvalid:E=!1,plaintext:S,readOnly:A,as:C="input",...w},M)=>{const{controlId:L}=q.useContext(pd);return n=dn(n,"form-control"),process.env.NODE_ENV!=="production"&&W1(L==null||!p,"`controlId` is ignored on `<FormControl>` when `id` is specified."),te.jsx(C,{...w,type:l,size:f,ref:M,readOnly:A,id:p||L,className:jt(v,S?`${n}-plaintext`:n,u&&`${n}-${u}`,l==="color"&&`${n}-color`,g&&"is-valid",E&&"is-invalid")})});dT.displayName="FormControl";const $_=Object.assign(dT,{Feedback:Z1}),hT=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"form-floating"),te.jsx(u,{ref:p,className:jt(n,l),...f})));hT.displayName="FormFloating";const WS=st.forwardRef(({controlId:n,as:l="div",...u},f)=>{const p=q.useMemo(()=>({controlId:n}),[n]);return te.jsx(pd.Provider,{value:p,children:te.jsx(l,{...u,ref:f})})});WS.displayName="FormGroup";function P_({as:n,bsPrefix:l,className:u,...f}){l=dn(l,"col");const p=F_(),v=Y_(),g=[],E=[];return p.forEach(S=>{const A=f[S];delete f[S];let C,w,M;typeof A=="object"&&A!=null?{span:C,offset:w,order:M}=A:C=A;const L=S!==v?`-${S}`:"";C&&g.push(C===!0?`${l}${L}`:`${l}${L}-${C}`),M!=null&&E.push(`order${L}-${M}`),w!=null&&E.push(`offset${L}-${w}`)}),[{...f,className:jt(u,...g,...E)},{as:n,bsPrefix:l,spans:g}]}const pT=st.forwardRef((n,l)=>{const[{className:u,...f},{as:p="div",bsPrefix:v,spans:g}]=P_(n);return te.jsx(p,{...f,ref:l,className:jt(u,!g.length&&v)})});pT.displayName="Col";const mT=st.forwardRef(({as:n="label",bsPrefix:l,column:u=!1,visuallyHidden:f=!1,className:p,htmlFor:v,...g},E)=>{const{controlId:S}=q.useContext(pd);l=dn(l,"form-label");let A="col-form-label";typeof u=="string"&&(A=`${A} ${A}-${u}`);const C=jt(p,l,f&&"visually-hidden",u&&A);return process.env.NODE_ENV!=="production"&&W1(S==null||!v,"`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."),v=v||S,u?te.jsx(pT,{ref:E,as:"label",className:C,htmlFor:v,...g}):te.jsx(n,{ref:E,className:C,htmlFor:v,...g})});mT.displayName="FormLabel";const vT=st.forwardRef(({bsPrefix:n,className:l,id:u,...f},p)=>{const{controlId:v}=q.useContext(pd);return n=dn(n,"form-range"),te.jsx("input",{...f,type:"range",ref:p,className:jt(l,n),id:u||v})});vT.displayName="FormRange";const gT=st.forwardRef(({bsPrefix:n,size:l,htmlSize:u,className:f,isValid:p=!1,isInvalid:v=!1,id:g,...E},S)=>{const{controlId:A}=q.useContext(pd);return n=dn(n,"form-select"),te.jsx("select",{...E,size:u,ref:S,className:jt(f,n,l&&`${n}-${l}`,p&&"is-valid",v&&"is-invalid"),id:g||A})});gT.displayName="FormSelect";const yT=st.forwardRef(({bsPrefix:n,className:l,as:u="small",muted:f,...p},v)=>(n=dn(n,"form-text"),te.jsx(u,{...p,ref:v,className:jt(l,n,f&&"text-muted")})));yT.displayName="FormText";const bT=st.forwardRef((n,l)=>te.jsx(J1,{...n,ref:l,type:"switch"}));bT.displayName="Switch";const Q_=Object.assign(bT,{Input:J1.Input,Label:J1.Label}),ST=st.forwardRef(({bsPrefix:n,className:l,children:u,controlId:f,label:p,...v},g)=>(n=dn(n,"form-floating"),te.jsxs(WS,{ref:g,className:jt(l,n),controlId:f,...v,children:[u,te.jsx("label",{htmlFor:f,children:p})]})));ST.displayName="FloatingLabel";const Z_={_ref:Mt.any,validated:Mt.bool,as:Mt.elementType},eE=st.forwardRef(({className:n,validated:l,as:u="form",...f},p)=>te.jsx(u,{...f,ref:p,className:jt(n,l&&"was-validated")}));eE.displayName="Form",eE.propTypes=Z_;const Zi=Object.assign(eE,{Group:WS,Control:$_,Floating:hT,Check:J1,Switch:Q_,Label:mT,Text:yT,Range:vT,Select:gT,FloatingLabel:ST});var by={exports:{}};/**
|
|
46
|
-
* @license
|
|
47
|
-
* Lodash <https://lodash.com/>
|
|
48
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
49
|
-
* Released under MIT license <https://lodash.com/license>
|
|
50
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
51
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
52
|
-
*/var K_=by.exports,ET;function J_(){return ET||(ET=1,function(n,l){(function(){var u,f="4.17.21",p=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",E="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",A=500,C="__lodash_placeholder__",w=1,M=2,L=4,B=1,z=2,O=1,I=2,X=4,V=8,U=16,D=32,j=64,Y=128,ie=256,oe=512,pe=30,ve="...",_e=800,ze=16,Ue=1,Qe=2,ee=3,ce=1/0,ge=9007199254740991,We=17976931348623157e292,W=NaN,Ee=4294967295,Me=Ee-1,ne=Ee>>>1,he=[["ary",Y],["bind",O],["bindKey",I],["curry",V],["curryRight",U],["flip",oe],["partial",D],["partialRight",j],["rearg",ie]],De="[object Arguments]",Ye="[object Array]",rt="[object AsyncFunction]",Ke="[object Boolean]",Ne="[object Date]",Ce="[object DOMException]",nt="[object Error]",ke="[object Function]",Tt="[object GeneratorFunction]",_t="[object Map]",Et="[object Number]",on="[object Null]",Ut="[object Object]",Ja="[object Promise]",fr="[object Proxy]",Cn="[object RegExp]",Qt="[object Set]",ht="[object String]",wn="[object Symbol]",Ta="[object Undefined]",Er="[object WeakMap]",Bt="[object WeakSet]",ut="[object ArrayBuffer]",bt="[object DataView]",Nn="[object Float32Array]",yt="[object Float64Array]",On="[object Int8Array]",gt="[object Int16Array]",Qn="[object Int32Array]",ti="[object Uint8Array]",Gn="[object Uint8ClampedArray]",dr="[object Uint16Array]",Ur="[object Uint32Array]",ga=/\b__p \+= '';/g,ni=/\b(__p \+=) '' \+/g,Xl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ki=/&(?:amp|lt|gt|quot|#39);/g,Jn=/[&<>"']/g,rr=RegExp(Ki.source),La=RegExp(Jn.source),Hr=/<%-([\s\S]+?)%>/g,Wn=/<%([\s\S]+?)%>/g,za=/<%=([\s\S]+?)%>/g,jr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Eu=/^\w*$/,nn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zn=/[\\^$.*+?()[\]{}|]/g,Bn=RegExp(zn.source),Ia=/^\s+/,gl=/\s/,xu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ya=/\{\n\/\* \[wrapped with (.+)\] \*/,ea=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Au=/[()=,{}\[\]\/\s]/,fa=/\\(\\)?/g,po=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Tu=/\w*$/,$l=/^[-+]0x[0-9a-f]+$/i,Va=/^0b[01]+$/i,Zs=/^\[object .+?Constructor\]$/,ai=/^0o[0-7]+$/i,Cu=/^(?:0|[1-9]\d*)$/,wu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ks=/($^)/,Wc=/['\n\r\u2028\u2029\\]/g,ns="\\ud800-\\udfff",Kh="\\u0300-\\u036f",Pl="\\ufe20-\\ufe2f",Js="\\u20d0-\\u20ff",Ji=Kh+Pl+Js,Ws="\\u2700-\\u27bf",ef="a-z\\xdf-\\xf6\\xf8-\\xff",mo="\\xac\\xb1\\xd7\\xf7",xr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ou="\\u2000-\\u206f",vo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ri="A-Z\\xc0-\\xd6\\xd8-\\xde",Xa="\\ufe0e\\ufe0f",go=mo+xr+Ou+vo,as="['’]",Du="["+ns+"]",Oi="["+go+"]",Ql="["+Ji+"]",Jh="\\d+",ii="["+Ws+"]",ec="["+ef+"]",tc="[^"+ns+go+Jh+Ws+ef+ri+"]",_="\\ud83c[\\udffb-\\udfff]",F="(?:"+Ql+"|"+_+")",J="[^"+ns+"]",ye="(?:\\ud83c[\\udde6-\\uddff]){2}",Ie="[\\ud800-\\udbff][\\udc00-\\udfff]",at="["+ri+"]",qt="\\u200d",En="(?:"+ec+"|"+tc+")",ba="(?:"+at+"|"+tc+")",$a="(?:"+as+"(?:d|ll|m|re|s|t|ve))?",Km="(?:"+as+"(?:D|LL|M|RE|S|T|VE))?",tf=F+"?",rs="["+Xa+"]?",Wh="(?:"+qt+"(?:"+[J,ye,Ie].join("|")+")"+rs+tf+")*",nf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",af="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Jm=rs+tf+Wh,Wm="(?:"+[ii,ye,Ie].join("|")+")"+Jm,rf="(?:"+[J+Ql+"?",Ql,ye,Ie,Du].join("|")+")",nc=RegExp(as,"g"),_u=RegExp(Ql,"g"),lf=RegExp(_+"(?="+_+")|"+rf+Jm,"g"),yo=RegExp([at+"?"+ec+"+"+$a+"(?="+[Oi,at,"$"].join("|")+")",ba+"+"+Km+"(?="+[Oi,at+En,"$"].join("|")+")",at+"?"+En+"+"+$a,at+"+"+Km,af,nf,Jh,Wm].join("|"),"g"),bo=RegExp("["+qt+ns+Ji+Xa+"]"),uf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ac=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],e0=-1,Zt={};Zt[Nn]=Zt[yt]=Zt[On]=Zt[gt]=Zt[Qn]=Zt[ti]=Zt[Gn]=Zt[dr]=Zt[Ur]=!0,Zt[De]=Zt[Ye]=Zt[ut]=Zt[Ke]=Zt[bt]=Zt[Ne]=Zt[nt]=Zt[ke]=Zt[_t]=Zt[Et]=Zt[Ut]=Zt[Cn]=Zt[Qt]=Zt[ht]=Zt[Er]=!1;var Xn={};Xn[De]=Xn[Ye]=Xn[ut]=Xn[bt]=Xn[Ke]=Xn[Ne]=Xn[Nn]=Xn[yt]=Xn[On]=Xn[gt]=Xn[Qn]=Xn[_t]=Xn[Et]=Xn[Ut]=Xn[Cn]=Xn[Qt]=Xn[ht]=Xn[wn]=Xn[ti]=Xn[Gn]=Xn[dr]=Xn[Ur]=!0,Xn[nt]=Xn[ke]=Xn[Er]=!1;var ep={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},li={"&":"&","<":"<",">":">",'"':""","'":"'"},is={"&":"&","<":"<",">":">",""":'"',"'":"'"},tp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ad=parseFloat,og=parseInt,np=typeof zv=="object"&&zv&&zv.Object===Object&&zv,ap=typeof self=="object"&&self&&self.Object===Object&&self,Pa=np||ap||Function("return this")(),So=l&&!l.nodeType&&l,Eo=So&&!0&&n&&!n.nodeType&&n,t0=Eo&&Eo.exports===So,rp=t0&&np.process,yl=function(){try{var me=Eo&&Eo.require&&Eo.require("util").types;return me||rp&&rp.binding&&rp.binding("util")}catch{}}(),ip=yl&&yl.isArrayBuffer,sg=yl&&yl.isDate,cg=yl&&yl.isMap,fg=yl&&yl.isRegExp,of=yl&&yl.isSet,n0=yl&&yl.isTypedArray;function ui(me,qe,Be){switch(Be.length){case 0:return me.call(qe);case 1:return me.call(qe,Be[0]);case 2:return me.call(qe,Be[0],Be[1]);case 3:return me.call(qe,Be[0],Be[1],Be[2])}return me.apply(qe,Be)}function dg(me,qe,Be,ot){for(var Lt=-1,Gt=me==null?0:me.length;++Lt<Gt;){var $n=me[Lt];qe(ot,$n,Be($n),me)}return ot}function Wi(me,qe){for(var Be=-1,ot=me==null?0:me.length;++Be<ot&&qe(me[Be],Be,me)!==!1;);return me}function a0(me,qe){for(var Be=me==null?0:me.length;Be--&&qe(me[Be],Be,me)!==!1;);return me}function r0(me,qe){for(var Be=-1,ot=me==null?0:me.length;++Be<ot;)if(!qe(me[Be],Be,me))return!1;return!0}function kr(me,qe){for(var Be=-1,ot=me==null?0:me.length,Lt=0,Gt=[];++Be<ot;){var $n=me[Be];qe($n,Be,me)&&(Gt[Lt++]=$n)}return Gt}function Ru(me,qe){var Be=me==null?0:me.length;return!!Be&&ic(me,qe,0)>-1}function el(me,qe,Be){for(var ot=-1,Lt=me==null?0:me.length;++ot<Lt;)if(Be(qe,me[ot]))return!0;return!1}function bn(me,qe){for(var Be=-1,ot=me==null?0:me.length,Lt=Array(ot);++Be<ot;)Lt[Be]=qe(me[Be],Be,me);return Lt}function bl(me,qe){for(var Be=-1,ot=qe.length,Lt=me.length;++Be<ot;)me[Lt+Be]=qe[Be];return me}function sf(me,qe,Be,ot){var Lt=-1,Gt=me==null?0:me.length;for(ot&&Gt&&(Be=me[++Lt]);++Lt<Gt;)Be=qe(Be,me[Lt],Lt,me);return Be}function i0(me,qe,Be,ot){var Lt=me==null?0:me.length;for(ot&&Lt&&(Be=me[--Lt]);Lt--;)Be=qe(Be,me[Lt],Lt,me);return Be}function qr(me,qe){for(var Be=-1,ot=me==null?0:me.length;++Be<ot;)if(qe(me[Be],Be,me))return!0;return!1}var hg=Sl("length");function lp(me){return me.split("")}function rc(me){return me.match(ft)||[]}function up(me,qe,Be){var ot;return Be(me,function(Lt,Gt,$n){if(qe(Lt,Gt,$n))return ot=Gt,!1}),ot}function Td(me,qe,Be,ot){for(var Lt=me.length,Gt=Be+(ot?1:-1);ot?Gt--:++Gt<Lt;)if(qe(me[Gt],Gt,me))return Gt;return-1}function ic(me,qe,Be){return qe===qe?d0(me,qe,Be):Td(me,cf,Be)}function Cd(me,qe,Be,ot){for(var Lt=Be-1,Gt=me.length;++Lt<Gt;)if(ot(me[Lt],qe))return Lt;return-1}function cf(me){return me!==me}function op(me,qe){var Be=me==null?0:me.length;return Be?Mu(me,qe)/Be:W}function Sl(me){return function(qe){return qe==null?u:qe[me]}}function wd(me){return function(qe){return me==null?u:me[qe]}}function Od(me,qe,Be,ot,Lt){return Lt(me,function(Gt,$n,Sn){Be=ot?(ot=!1,Gt):qe(Be,Gt,$n,Sn)}),Be}function Dd(me,qe){var Be=me.length;for(me.sort(qe);Be--;)me[Be]=me[Be].value;return me}function Mu(me,qe){for(var Be,ot=-1,Lt=me.length;++ot<Lt;){var Gt=qe(me[ot]);Gt!==u&&(Be=Be===u?Gt:Be+Gt)}return Be}function Nu(me,qe){for(var Be=-1,ot=Array(me);++Be<me;)ot[Be]=qe(Be);return ot}function l0(me,qe){return bn(qe,function(Be){return[Be,me[Be]]})}function ls(me){return me&&me.slice(0,da(me)+1).replace(Ia,"")}function Di(me){return function(qe){return me(qe)}}function ff(me,qe){return bn(qe,function(Be){return me[Be]})}function us(me,qe){return me.has(qe)}function El(me,qe){for(var Be=-1,ot=me.length;++Be<ot&&ic(qe,me[Be],0)>-1;);return Be}function xl(me,qe){for(var Be=me.length;Be--&&ic(qe,me[Be],0)>-1;);return Be}function u0(me,qe){for(var Be=me.length,ot=0;Be--;)me[Be]===qe&&++ot;return ot}var Bu=wd(ep),o0=wd(li);function s0(me){return"\\"+tp[me]}function lc(me,qe){return me==null?u:me[qe]}function Al(me){return bo.test(me)}function c0(me){return uf.test(me)}function df(me){for(var qe,Be=[];!(qe=me.next()).done;)Be.push(qe.value);return Be}function _d(me){var qe=-1,Be=Array(me.size);return me.forEach(function(ot,Lt){Be[++qe]=[Lt,ot]}),Be}function Rd(me,qe){return function(Be){return me(qe(Be))}}function oi(me,qe){for(var Be=-1,ot=me.length,Lt=0,Gt=[];++Be<ot;){var $n=me[Be];($n===qe||$n===C)&&(me[Be]=C,Gt[Lt++]=Be)}return Gt}function Tl(me){var qe=-1,Be=Array(me.size);return me.forEach(function(ot){Be[++qe]=ot}),Be}function f0(me){var qe=-1,Be=Array(me.size);return me.forEach(function(ot){Be[++qe]=[ot,ot]}),Be}function d0(me,qe,Be){for(var ot=Be-1,Lt=me.length;++ot<Lt;)if(me[ot]===qe)return ot;return-1}function Ar(me,qe,Be){for(var ot=Be+1;ot--;)if(me[ot]===qe)return ot;return ot}function tl(me){return Al(me)?h0(me):hg(me)}function hr(me){return Al(me)?Nd(me):lp(me)}function da(me){for(var qe=me.length;qe--&&gl.test(me.charAt(qe)););return qe}var Md=wd(is);function h0(me){for(var qe=lf.lastIndex=0;lf.test(me);)++qe;return qe}function Nd(me){return me.match(lf)||[]}function uc(me){return me.match(yo)||[]}var Lu=function me(qe){qe=qe==null?Pa:Fr.defaults(Pa.Object(),qe,Fr.pick(Pa,ac));var Be=qe.Array,ot=qe.Date,Lt=qe.Error,Gt=qe.Function,$n=qe.Math,Sn=qe.Object,sp=qe.RegExp,p0=qe.String,nl=qe.TypeError,hf=Be.prototype,cp=Gt.prototype,oc=Sn.prototype,pf=qe["__core-js_shared__"],mf=cp.toString,Dn=oc.hasOwnProperty,Cl=0,fp=function(){var s=/[^.]+$/.exec(pf&&pf.keys&&pf.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Yr=oc.toString,_i=mf.call(Sn),os=Pa._,zu=sp("^"+mf.call(Dn).replace(zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ri=t0?qe.Buffer:u,si=qe.Symbol,xo=qe.Uint8Array,Zl=Ri?Ri.allocUnsafe:u,Ao=Rd(Sn.getPrototypeOf,Sn),vf=Sn.create,sc=oc.propertyIsEnumerable,Bd=hf.splice,ci=si?si.isConcatSpreadable:u,To=si?si.iterator:u,Tr=si?si.toStringTag:u,It=function(){try{var s=$u(Sn,"defineProperty");return s({},"",{}),s}catch{}}(),tt=qe.clearTimeout!==Pa.clearTimeout&&qe.clearTimeout,wl=ot&&ot.now!==Pa.Date.now&&ot.now,gf=qe.setTimeout!==Pa.setTimeout&&qe.setTimeout,ha=$n.ceil,Kl=$n.floor,Uu=Sn.getOwnPropertySymbols,Ld=Ri?Ri.isBuffer:u,cc=qe.isFinite,Ol=hf.join,Mi=Rd(Sn.keys,Sn),ta=$n.max,pa=$n.min,Ua=ot.now,xn=qe.parseInt,zd=$n.random,fc=hf.reverse,Dl=$u(qe,"DataView"),Sa=$u(qe,"Map"),_n=$u(qe,"Promise"),sn=$u(qe,"Set"),Gr=$u(qe,"WeakMap"),Ir=$u(Sn,"create"),Hu=Gr&&new Gr,Ni={},Ud=Zu(Dl),m0=Zu(Sa),yf=Zu(_n),bf=Zu(sn),v0=Zu(Gr),Co=si?si.prototype:u,wo=Co?Co.valueOf:u,ju=Co?Co.toString:u;function $(s){if(ia(s)&&!Nt(s)&&!(s instanceof cn)){if(s instanceof fi)return s;if(Dn.call(s,"__wrapped__"))return nr(s)}return new fi(s)}var Bi=function(){function s(){}return function(d){if(!Yn(d))return{};if(vf)return vf(d);s.prototype=d;var x=new s;return s.prototype=u,x}}();function al(){}function fi(s,d){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=u}$.templateSettings={escape:Hr,evaluate:Wn,interpolate:za,variable:"",imports:{_:$}},$.prototype=al.prototype,$.prototype.constructor=$,fi.prototype=Bi(al.prototype),fi.prototype.constructor=fi;function cn(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ee,this.__views__=[]}function Sf(){var s=new cn(this.__wrapped__);return s.__actions__=tr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=tr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=tr(this.__views__),s}function Hd(){if(this.__filtered__){var s=new cn(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function ss(){var s=this.__wrapped__.value(),d=this.__dir__,x=Nt(s),N=d<0,G=x?s.length:0,Z=D0(0,G,this.__views__),re=Z.start,se=Z.end,Se=se-re,Je=N?se:re-1,$e=this.__iteratees__,et=$e.length,lt=0,vt=pa(Se,this.__takeCount__);if(!x||!N&&G==Se&&vt==Se)return yg(s,this.__actions__);var Rt=[];e:for(;Se--&<<vt;){Je+=d;for(var Wt=-1,Ot=s[Je];++Wt<et;){var gn=$e[Wt],Rn=gn.iteratee,ql=gn.type,$i=Rn(Ot);if(ql==Qe)Ot=$i;else if(!$i){if(ql==Ue)continue e;break e}}Rt[lt++]=Ot}return Rt}cn.prototype=Bi(al.prototype),cn.prototype.constructor=cn;function Ca(s){var d=-1,x=s==null?0:s.length;for(this.clear();++d<x;){var N=s[d];this.set(N[0],N[1])}}function jd(){this.__data__=Ir?Ir(null):{},this.size=0}function g0(s){var d=this.has(s)&&delete this.__data__[s];return this.size-=d?1:0,d}function Ef(s){var d=this.__data__;if(Ir){var x=d[s];return x===S?u:x}return Dn.call(d,s)?d[s]:u}function dp(s){var d=this.__data__;return Ir?d[s]!==u:Dn.call(d,s)}function pg(s,d){var x=this.__data__;return this.size+=this.has(s)?0:1,x[s]=Ir&&d===u?S:d,this}Ca.prototype.clear=jd,Ca.prototype.delete=g0,Ca.prototype.get=Ef,Ca.prototype.has=dp,Ca.prototype.set=pg;function na(s){var d=-1,x=s==null?0:s.length;for(this.clear();++d<x;){var N=s[d];this.set(N[0],N[1])}}function xf(){this.__data__=[],this.size=0}function ku(s){var d=this.__data__,x=hc(d,s);if(x<0)return!1;var N=d.length-1;return x==N?d.pop():Bd.call(d,x,1),--this.size,!0}function cs(s){var d=this.__data__,x=hc(d,s);return x<0?u:d[x][1]}function kd(s){return hc(this.__data__,s)>-1}function _l(s,d){var x=this.__data__,N=hc(x,s);return N<0?(++this.size,x.push([s,d])):x[N][1]=d,this}na.prototype.clear=xf,na.prototype.delete=ku,na.prototype.get=cs,na.prototype.has=kd,na.prototype.set=_l;function aa(s){var d=-1,x=s==null?0:s.length;for(this.clear();++d<x;){var N=s[d];this.set(N[0],N[1])}}function hp(){this.size=0,this.__data__={hash:new Ca,map:new(Sa||na),string:new Ca}}function pp(s){var d=Tc(this,s).delete(s);return this.size-=d?1:0,d}function mg(s){return Tc(this,s).get(s)}function mp(s){return Tc(this,s).has(s)}function qu(s,d){var x=Tc(this,s),N=x.size;return x.set(s,d),this.size+=x.size==N?0:1,this}aa.prototype.clear=hp,aa.prototype.delete=pp,aa.prototype.get=mg,aa.prototype.has=mp,aa.prototype.set=qu;function Jl(s){var d=-1,x=s==null?0:s.length;for(this.__data__=new aa;++d<x;)this.add(s[d])}function dc(s){return this.__data__.set(s,S),this}function vp(s){return this.__data__.has(s)}Jl.prototype.add=Jl.prototype.push=dc,Jl.prototype.has=vp;function pr(s){var d=this.__data__=new na(s);this.size=d.size}function gp(){this.__data__=new na,this.size=0}function qd(s){var d=this.__data__,x=d.delete(s);return this.size=d.size,x}function yp(s){return this.__data__.get(s)}function bp(s){return this.__data__.has(s)}function Fd(s,d){var x=this.__data__;if(x instanceof na){var N=x.__data__;if(!Sa||N.length<p-1)return N.push([s,d]),this.size=++x.size,this;x=this.__data__=new aa(N)}return x.set(s,d),this.size=x.size,this}pr.prototype.clear=gp,pr.prototype.delete=qd,pr.prototype.get=yp,pr.prototype.has=bp,pr.prototype.set=Fd;function Sp(s,d){var x=Nt(s),N=!x&&gr(s),G=!x&&!N&&ro(s),Z=!x&&!N&&!G&&td(s),re=x||N||G||Z,se=re?Nu(s.length,p0):[],Se=se.length;for(var Je in s)(d||Dn.call(s,Je))&&!(re&&(Je=="length"||G&&(Je=="offset"||Je=="parent")||Z&&(Je=="buffer"||Je=="byteLength"||Je=="byteOffset")||zl(Je,Se)))&&se.push(Je);return se}function fs(s){var d=s.length;return d?s[Nl(0,d-1)]:u}function y0(s,d){return wc(tr(s),Ml(d,0,s.length))}function b0(s){return wc(tr(s))}function Rl(s,d,x){(x!==u&&!Zr(s[d],x)||x===u&&!(d in s))&&eu(s,d,x)}function ds(s,d,x){var N=s[d];(!(Dn.call(s,d)&&Zr(N,x))||x===u&&!(d in s))&&eu(s,d,x)}function hc(s,d){for(var x=s.length;x--;)if(Zr(s[x][0],d))return x;return-1}function Li(s,d,x,N){return Ea(s,function(G,Z,re){d(N,G,x(G),re)}),N}function Wl(s,d){return s&&pi(d,ar(d),s)}function pc(s,d){return s&&pi(d,sr(d),s)}function eu(s,d,x){d=="__proto__"&&It?It(s,d,{configurable:!0,enumerable:!0,value:x,writable:!0}):s[d]=x}function Yd(s,d){for(var x=-1,N=d.length,G=Be(N),Z=s==null;++x<N;)G[x]=Z?u:id(s,d[x]);return G}function Ml(s,d,x){return s===s&&(x!==u&&(s=s<=x?s:x),d!==u&&(s=s>=d?s:d)),s}function Wa(s,d,x,N,G,Z){var re,se=d&w,Se=d&M,Je=d&L;if(x&&(re=G?x(s,N,G,Z):x(s)),re!==u)return re;if(!Yn(s))return s;var $e=Nt(s);if($e){if(re=Ss(s),!se)return tr(s,re)}else{var et=mr(s),lt=et==ke||et==Tt;if(ro(s))return Lp(s,se);if(et==Ut||et==De||lt&&!G){if(re=Se||lt?{}:Hf(s),!se)return Se?Sc(s,pc(re,s)):Hp(s,Wl(re,s))}else{if(!Xn[et])return G?s:{};re=Ip(s,et,se)}}Z||(Z=new pr);var vt=Z.get(s);if(vt)return vt;Z.set(s,re),zc(s)?s.forEach(function(Ot){re.add(Wa(Ot,d,x,Ot,s,Z))}):ou(s)&&s.forEach(function(Ot,gn){re.set(gn,Wa(Ot,d,x,gn,s,Z))});var Rt=Je?Se?iu:qp:Se?sr:ar,Wt=$e?u:Rt(s);return Wi(Wt||s,function(Ot,gn){Wt&&(gn=Ot,Ot=s[gn]),ds(re,gn,Wa(Ot,d,x,gn,s,Z))}),re}function Ep(s){var d=ar(s);return function(x){return Af(x,s,d)}}function Af(s,d,x){var N=x.length;if(s==null)return!N;for(s=Sn(s);N--;){var G=x[N],Z=d[G],re=s[G];if(re===u&&!(G in s)||!Z(re))return!1}return!0}function hs(s,d,x){if(typeof s!="function")throw new nl(g);return kf(function(){s.apply(u,x)},d)}function Oo(s,d,x,N){var G=-1,Z=Ru,re=!0,se=s.length,Se=[],Je=d.length;if(!se)return Se;x&&(d=bn(d,Di(x))),N?(Z=el,re=!1):d.length>=p&&(Z=us,re=!1,d=new Jl(d));e:for(;++G<se;){var $e=s[G],et=x==null?$e:x($e);if($e=N||$e!==0?$e:0,re&&et===et){for(var lt=Je;lt--;)if(d[lt]===et)continue e;Se.push($e)}else Z(d,et,N)||Se.push($e)}return Se}var Ea=mi(Cr),mc=mi(rl,!0);function Tf(s,d){var x=!0;return Ea(s,function(N,G,Z){return x=!!d(N,G,Z),x}),x}function di(s,d,x){for(var N=-1,G=s.length;++N<G;){var Z=s[N],re=d(Z);if(re!=null&&(se===u?re===re&&!Rr(re):x(re,se)))var se=re,Se=Z}return Se}function Vt(s,d,x,N){var G=s.length;for(x=Yt(x),x<0&&(x=-x>G?0:G+x),N=N===u||N>G?G:Yt(N),N<0&&(N+=G),N=x>N?0:io(N);x<N;)s[x++]=d;return s}function Un(s,d){var x=[];return Ea(s,function(N,G,Z){d(N,G,Z)&&x.push(N)}),x}function an(s,d,x,N,G){var Z=-1,re=s.length;for(x||(x=Pu),G||(G=[]);++Z<re;){var se=s[Z];d>0&&x(se)?d>1?an(se,d-1,x,N,G):bl(G,se):N||(G[G.length]=se)}return G}var vc=ys(),zi=ys(!0);function Cr(s,d){return s&&vc(s,d,ar)}function rl(s,d){return s&&zi(s,d,ar)}function Vr(s,d){return kr(d,function(x){return sl(s[x])})}function hi(s,d){d=Gu(d,s);for(var x=0,N=d.length;s!=null&&x<N;)s=s[qn(d[x++])];return x&&x==N?s:u}function xp(s,d,x){var N=d(s);return Nt(s)?N:bl(N,x(s))}function pn(s){return s==null?s===u?Ta:on:Tr&&Tr in Sn(s)?Fp(s):Pp(s)}function Cf(s,d){return s>d}function Ap(s,d){return s!=null&&Dn.call(s,d)}function ps(s,d){return s!=null&&d in Sn(s)}function S0(s,d,x){return s>=pa(d,x)&&s<ta(d,x)}function Tp(s,d,x){for(var N=x?el:Ru,G=s[0].length,Z=s.length,re=Z,se=Be(Z),Se=1/0,Je=[];re--;){var $e=s[re];re&&d&&($e=bn($e,Di(d))),Se=pa($e.length,Se),se[re]=!x&&(d||G>=120&&$e.length>=120)?new Jl(re&&$e):u}$e=s[0];var et=-1,lt=se[0];e:for(;++et<G&&Je.length<Se;){var vt=$e[et],Rt=d?d(vt):vt;if(vt=x||vt!==0?vt:0,!(lt?us(lt,Rt):N(Je,Rt,x))){for(re=Z;--re;){var Wt=se[re];if(!(Wt?us(Wt,Rt):N(s[re],Rt,x)))continue e}lt&<.push(Rt),Je.push(vt)}}return Je}function Cp(s,d,x,N){return Cr(s,function(G,Z,re){d(N,x(G),Z,re)}),N}function Fu(s,d,x){d=Gu(d,s),s=Cc(s,d);var N=s==null?s:s[qn(vr(d))];return N==null?u:ui(N,s,x)}function Gd(s){return ia(s)&&pn(s)==De}function Xr(s){return ia(s)&&pn(s)==ut}function Ha(s){return ia(s)&&pn(s)==Ne}function Do(s,d,x,N,G){return s===d?!0:s==null||d==null||!ia(s)&&!ia(d)?s!==s&&d!==d:Id(s,d,x,N,Do,G)}function Id(s,d,x,N,G,Z){var re=Nt(s),se=Nt(d),Se=re?Ye:mr(s),Je=se?Ye:mr(d);Se=Se==De?Ut:Se,Je=Je==De?Ut:Je;var $e=Se==Ut,et=Je==Ut,lt=Se==Je;if(lt&&ro(s)){if(!ro(d))return!1;re=!0,$e=!1}if(lt&&!$e)return Z||(Z=new pr),re||td(s)?O0(s,d,x,N,G,Z):ja(s,d,Se,x,N,G,Z);if(!(x&B)){var vt=$e&&Dn.call(s,"__wrapped__"),Rt=et&&Dn.call(d,"__wrapped__");if(vt||Rt){var Wt=vt?s.value():s,Ot=Rt?d.value():d;return Z||(Z=new pr),G(Wt,Ot,x,N,Z)}}return lt?(Z||(Z=new pr),ur(s,d,x,N,G,Z)):!1}function er(s){return ia(s)&&mr(s)==_t}function wf(s,d,x,N){var G=x.length,Z=G,re=!N;if(s==null)return!Z;for(s=Sn(s);G--;){var se=x[G];if(re&&se[2]?se[1]!==s[se[0]]:!(se[0]in s))return!1}for(;++G<Z;){se=x[G];var Se=se[0],Je=s[Se],$e=se[1];if(re&&se[2]){if(Je===u&&!(Se in s))return!1}else{var et=new pr;if(N)var lt=N(Je,$e,Se,s,d,et);if(!(lt===u?Do($e,Je,B|z,N,et):lt))return!1}}return!0}function tu(s){if(!Yn(s)||lh(s))return!1;var d=sl(s)?zu:Zs;return d.test(Zu(s))}function Vd(s){return ia(s)&&pn(s)==Cn}function wp(s){return ia(s)&&mr(s)==Qt}function Op(s){return ia(s)&&yi(s.length)&&!!Zt[pn(s)]}function Of(s){return typeof s=="function"?s:s==null?Te:typeof s=="object"?Nt(s)?_f(s[0],s[1]):$d(s):An(s)}function Df(s){if(!Ct(s))return Mi(s);var d=[];for(var x in Sn(s))Dn.call(s,x)&&x!="constructor"&&d.push(x);return d}function E0(s){if(!Yn(s))return xs(s);var d=Ct(s),x=[];for(var N in s)N=="constructor"&&(d||!Dn.call(s,N))||x.push(N);return x}function Xd(s,d){return s<d}function Dp(s,d){var x=-1,N=Za(s)?Be(s.length):[];return Ea(s,function(G,Z,re){N[++x]=d(G,Z,re)}),N}function $d(s){var d=rh(s);return d.length==1&&d[0][2]?Eg(d[0][0],d[0][1]):function(x){return x===s||wf(x,s,d)}}function _f(s,d){return Xp(s)&&$p(d)?Eg(qn(s),d):function(x){var N=id(x,s);return N===u&&N===d?lo(x,s):Do(d,N,B|z)}}function gc(s,d,x,N,G){s!==d&&vc(d,function(Z,re){if(G||(G=new pr),Yn(Z))vg(s,d,re,x,gc,N,G);else{var se=N?N(As(s,re),Z,re+"",s,d,G):u;se===u&&(se=Z),Rl(s,re,se)}},sr)}function vg(s,d,x,N,G,Z,re){var se=As(s,x),Se=As(d,x),Je=re.get(Se);if(Je){Rl(s,x,Je);return}var $e=Z?Z(se,Se,x+"",s,d,re):u,et=$e===u;if(et){var lt=Nt(Se),vt=!lt&&ro(Se),Rt=!lt&&!vt&&td(Se);$e=Se,lt||vt||Rt?Nt(se)?$e=se:xa(se)?$e=tr(se):vt?(et=!1,$e=Lp(Se,!0)):Rt?(et=!1,$e=zp(Se,!0)):$e=[]:jl(Se)||gr(Se)?($e=se,gr(se)?$e=Eh(se):(!Yn(se)||sl(se))&&($e=Hf(Se))):et=!1}et&&(re.set(Se,$e),G($e,Se,N,Z,re),re.delete(Se)),Rl(s,x,$e)}function Pd(s,d){var x=s.length;if(x)return d+=d<0?x:0,zl(d,x)?s[d]:u}function Rf(s,d,x){d.length?d=bn(d,function(Z){return Nt(Z)?function(re){return hi(re,Z.length===1?Z[0]:Z)}:Z}):d=[Te];var N=-1;d=bn(d,Di(At()));var G=Dp(s,function(Z,re,se){var Se=bn(d,function(Je){return Je(Z)});return{criteria:Se,index:++N,value:Z}});return Dd(G,function(Z,re){return w0(Z,re,x)})}function _p(s,d){return Qd(s,d,function(x,N){return lo(s,N)})}function Qd(s,d,x){for(var N=-1,G=d.length,Z={};++N<G;){var re=d[N],se=hi(s,re);x(se,re)&&_o(Z,Gu(re,s),se)}return Z}function x0(s){return function(d){return hi(d,s)}}function Mf(s,d,x,N){var G=N?Cd:ic,Z=-1,re=d.length,se=s;for(s===d&&(d=tr(d)),x&&(se=bn(s,Di(x)));++Z<re;)for(var Se=0,Je=d[Z],$e=x?x(Je):Je;(Se=G(se,$e,Se,N))>-1;)se!==s&&Bd.call(se,Se,1),Bd.call(s,Se,1);return s}function Rp(s,d){for(var x=s?d.length:0,N=x-1;x--;){var G=d[x];if(x==N||G!==Z){var Z=G;zl(G)?Bd.call(s,G,1):yc(s,G)}}return s}function Nl(s,d){return s+Kl(zd()*(d-s+1))}function Mp(s,d,x,N){for(var G=-1,Z=ta(ha((d-s)/(x||1)),0),re=Be(Z);Z--;)re[N?Z:++G]=s,s+=x;return re}function A0(s,d){var x="";if(!s||d<1||d>ge)return x;do d%2&&(x+=s),d=Kl(d/2),d&&(s+=s);while(d);return x}function Xt(s,d){return Fi(Qp(s,d,Te),s+"")}function Ui(s){return fs(Hc(s))}function Zd(s,d){var x=Hc(s);return wc(x,Ml(d,0,x.length))}function _o(s,d,x,N){if(!Yn(s))return s;d=Gu(d,s);for(var G=-1,Z=d.length,re=Z-1,se=s;se!=null&&++G<Z;){var Se=qn(d[G]),Je=x;if(Se==="__proto__"||Se==="constructor"||Se==="prototype")return s;if(G!=re){var $e=se[Se];Je=N?N($e,Se,se):u,Je===u&&(Je=Yn($e)?$e:zl(d[G+1])?[]:{})}ds(se,Se,Je),se=se[Se]}return s}var Ro=Hu?function(s,d){return Hu.set(s,d),s}:Te,Zn=It?function(s,d){return It(s,"toString",{configurable:!0,enumerable:!1,value:Ae(d),writable:!0})}:Te;function gg(s){return wc(Hc(s))}function il(s,d,x){var N=-1,G=s.length;d<0&&(d=-d>G?0:G+d),x=x>G?G:x,x<0&&(x+=G),G=d>x?0:x-d>>>0,d>>>=0;for(var Z=Be(G);++N<G;)Z[N]=s[N+d];return Z}function T0(s,d){var x;return Ea(s,function(N,G,Z){return x=d(N,G,Z),!x}),!!x}function Hi(s,d,x){var N=0,G=s==null?N:s.length;if(typeof d=="number"&&d===d&&G<=ne){for(;N<G;){var Z=N+G>>>1,re=s[Z];re!==null&&!Rr(re)&&(x?re<=d:re<d)?N=Z+1:G=Z}return G}return Kd(s,d,Te,x)}function Kd(s,d,x,N){var G=0,Z=s==null?0:s.length;if(Z===0)return 0;d=x(d);for(var re=d!==d,se=d===null,Se=Rr(d),Je=d===u;G<Z;){var $e=Kl((G+Z)/2),et=x(s[$e]),lt=et!==u,vt=et===null,Rt=et===et,Wt=Rr(et);if(re)var Ot=N||Rt;else Je?Ot=Rt&&(N||lt):se?Ot=Rt&<&&(N||!vt):Se?Ot=Rt&<&&!vt&&(N||!Wt):vt||Wt?Ot=!1:Ot=N?et<=d:et<d;Ot?G=$e+1:Z=$e}return pa(Z,Me)}function Jd(s,d){for(var x=-1,N=s.length,G=0,Z=[];++x<N;){var re=s[x],se=d?d(re):re;if(!x||!Zr(se,Se)){var Se=se;Z[G++]=re===0?0:re}}return Z}function ms(s){return typeof s=="number"?s:Rr(s)?W:+s}function ir(s){if(typeof s=="string")return s;if(Nt(s))return bn(s,ir)+"";if(Rr(s))return ju?ju.call(s):"";var d=s+"";return d=="0"&&1/s==-1/0?"-0":d}function Yu(s,d,x){var N=-1,G=Ru,Z=s.length,re=!0,se=[],Se=se;if(x)re=!1,G=el;else if(Z>=p){var Je=d?null:ah(s);if(Je)return Tl(Je);re=!1,G=us,Se=new Jl}else Se=d?[]:se;e:for(;++N<Z;){var $e=s[N],et=d?d($e):$e;if($e=x||$e!==0?$e:0,re&&et===et){for(var lt=Se.length;lt--;)if(Se[lt]===et)continue e;d&&Se.push(et),se.push($e)}else G(Se,et,x)||(Se!==se&&Se.push(et),se.push($e))}return se}function yc(s,d){return d=Gu(d,s),s=Cc(s,d),s==null||delete s[qn(vr(d))]}function Np(s,d,x,N){return _o(s,d,x(hi(s,d)),N)}function Wd(s,d,x,N){for(var G=s.length,Z=N?G:-1;(N?Z--:++Z<G)&&d(s[Z],Z,s););return x?il(s,N?0:Z,N?Z+1:G):il(s,N?Z+1:0,N?G:Z)}function yg(s,d){var x=s;return x instanceof cn&&(x=x.value()),sf(d,function(N,G){return G.func.apply(G.thisArg,bl([N],G.args))},x)}function Nf(s,d,x){var N=s.length;if(N<2)return N?Yu(s[0]):[];for(var G=-1,Z=Be(N);++G<N;)for(var re=s[G],se=-1;++se<N;)se!=G&&(Z[G]=Oo(Z[G]||re,s[se],d,x));return Yu(an(Z,1),d,x)}function C0(s,d,x){for(var N=-1,G=s.length,Z=d.length,re={};++N<G;){var se=N<Z?d[N]:u;x(re,s[N],se)}return re}function vs(s){return xa(s)?s:[]}function ji(s){return typeof s=="function"?s:Te}function Gu(s,d){return Nt(s)?s:Xp(s,d)?[s]:uu(Jt(s))}var bg=Xt;function Mo(s,d,x){var N=s.length;return x=x===u?N:x,!d&&x>=N?s:il(s,d,x)}var Bp=tt||function(s){return Pa.clearTimeout(s)};function Lp(s,d){if(d)return s.slice();var x=s.length,N=Zl?Zl(x):new s.constructor(x);return s.copy(N),N}function No(s){var d=new s.constructor(s.byteLength);return new xo(d).set(new xo(s)),d}function eh(s,d){var x=d?No(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.byteLength)}function bc(s){var d=new s.constructor(s.source,Tu.exec(s));return d.lastIndex=s.lastIndex,d}function Sg(s){return wo?Sn(wo.call(s)):{}}function zp(s,d){var x=d?No(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.length)}function th(s,d){if(s!==d){var x=s!==u,N=s===null,G=s===s,Z=Rr(s),re=d!==u,se=d===null,Se=d===d,Je=Rr(d);if(!se&&!Je&&!Z&&s>d||Z&&re&&Se&&!se&&!Je||N&&re&&Se||!x&&Se||!G)return 1;if(!N&&!Z&&!Je&&s<d||Je&&x&&G&&!N&&!Z||se&&x&&G||!re&&G||!Se)return-1}return 0}function w0(s,d,x){for(var N=-1,G=s.criteria,Z=d.criteria,re=G.length,se=x.length;++N<re;){var Se=th(G[N],Z[N]);if(Se){if(N>=se)return Se;var Je=x[N];return Se*(Je=="desc"?-1:1)}}return s.index-d.index}function Up(s,d,x,N){for(var G=-1,Z=s.length,re=x.length,se=-1,Se=d.length,Je=ta(Z-re,0),$e=Be(Se+Je),et=!N;++se<Se;)$e[se]=d[se];for(;++G<re;)(et||G<Z)&&($e[x[G]]=s[G]);for(;Je--;)$e[se++]=s[G++];return $e}function Iu(s,d,x,N){for(var G=-1,Z=s.length,re=-1,se=x.length,Se=-1,Je=d.length,$e=ta(Z-se,0),et=Be($e+Je),lt=!N;++G<$e;)et[G]=s[G];for(var vt=G;++Se<Je;)et[vt+Se]=d[Se];for(;++re<se;)(lt||G<Z)&&(et[vt+x[re]]=s[G++]);return et}function tr(s,d){var x=-1,N=s.length;for(d||(d=Be(N));++x<N;)d[x]=s[x];return d}function pi(s,d,x,N){var G=!x;x||(x={});for(var Z=-1,re=d.length;++Z<re;){var se=d[Z],Se=N?N(x[se],s[se],se,x,s):u;Se===u&&(Se=s[se]),G?eu(x,se,Se):ds(x,se,Se)}return x}function Hp(s,d){return pi(s,Uf(s),d)}function Sc(s,d){return pi(s,Yp(s),d)}function lr(s,d){return function(x,N){var G=Nt(x)?dg:Li,Z=d?d():{};return G(x,s,At(N,2),Z)}}function gs(s){return Xt(function(d,x){var N=-1,G=x.length,Z=G>1?x[G-1]:u,re=G>2?x[2]:u;for(Z=s.length>3&&typeof Z=="function"?(G--,Z):u,re&&$r(x[0],x[1],re)&&(Z=G<3?u:Z,G=1),d=Sn(d);++N<G;){var se=x[N];se&&s(d,se,N,Z)}return d})}function mi(s,d){return function(x,N){if(x==null)return x;if(!Za(x))return s(x,N);for(var G=x.length,Z=d?G:-1,re=Sn(x);(d?Z--:++Z<G)&&N(re[Z],Z,re)!==!1;);return x}}function ys(s){return function(d,x,N){for(var G=-1,Z=Sn(d),re=N(d),se=re.length;se--;){var Se=re[s?se:++G];if(x(Z[Se],Se,Z)===!1)break}return d}}function Vu(s,d,x){var N=d&O,G=ll(s);function Z(){var re=this&&this!==Pa&&this instanceof Z?G:s;return re.apply(N?x:this,arguments)}return Z}function ki(s){return function(d){d=Jt(d);var x=Al(d)?hr(d):u,N=x?x[0]:d.charAt(0),G=x?Mo(x,1).join(""):d.slice(1);return N[s]()+G}}function Qa(s){return function(d){return sf(b(du(d).replace(nc,"")),s,"")}}function ll(s){return function(){var d=arguments;switch(d.length){case 0:return new s;case 1:return new s(d[0]);case 2:return new s(d[0],d[1]);case 3:return new s(d[0],d[1],d[2]);case 4:return new s(d[0],d[1],d[2],d[3]);case 5:return new s(d[0],d[1],d[2],d[3],d[4]);case 6:return new s(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new s(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var x=Bi(s.prototype),N=s.apply(x,d);return Yn(N)?N:x}}function Xu(s,d,x){var N=ll(s);function G(){for(var Z=arguments.length,re=Be(Z),se=Z,Se=Ll(G);se--;)re[se]=arguments[se];var Je=Z<3&&re[0]!==Se&&re[Z-1]!==Se?[]:oi(re,Se);if(Z-=Je.length,Z<x)return xc(s,d,kn,G.placeholder,u,re,Je,u,u,x-Z);var $e=this&&this!==Pa&&this instanceof G?N:s;return ui($e,this,re)}return G}function nu(s){return function(d,x,N){var G=Sn(d);if(!Za(d)){var Z=At(x,3);d=ar(d),x=function(se){return Z(G[se],se,G)}}var re=s(d,x,N);return re>-1?G[Z?d[re]:re]:u}}function Bl(s){return ma(function(d){var x=d.length,N=x,G=fi.prototype.thru;for(s&&d.reverse();N--;){var Z=d[N];if(typeof Z!="function")throw new nl(g);if(G&&!re&&Ac(Z)=="wrapper")var re=new fi([],!0)}for(N=re?N:x;++N<x;){Z=d[N];var se=Ac(Z),Se=se=="wrapper"?zo(Z):u;Se&&Es(Se[0])&&Se[1]==(Y|V|D|ie)&&!Se[4].length&&Se[9]==1?re=re[Ac(Se[0])].apply(re,Se[3]):re=Z.length==1&&Es(Z)?re[se]():re.thru(Z)}return function(){var Je=arguments,$e=Je[0];if(re&&Je.length==1&&Nt($e))return re.plant($e).value();for(var et=0,lt=x?d[et].apply(this,Je):$e;++et<x;)lt=d[et].call(this,lt);return lt}})}function kn(s,d,x,N,G,Z,re,se,Se,Je){var $e=d&Y,et=d&O,lt=d&I,vt=d&(V|U),Rt=d&oe,Wt=lt?u:ll(s);function Ot(){for(var gn=arguments.length,Rn=Be(gn),ql=gn;ql--;)Rn[ql]=arguments[ql];if(vt)var $i=Ll(Ot),Fl=u0(Rn,$i);if(N&&(Rn=Up(Rn,N,G,vt)),Z&&(Rn=Iu(Rn,Z,re,vt)),gn-=Fl,vt&&gn<Je){var cr=oi(Rn,$i);return xc(s,d,kn,Ot.placeholder,x,Rn,cr,se,Se,Je-gn)}var Xo=et?x:this,Yc=lt?Xo[s]:s;return gn=Rn.length,se?Rn=lu(Rn,se):Rt&&gn>1&&Rn.reverse(),$e&&Se<gn&&(Rn.length=Se),this&&this!==Pa&&this instanceof Ot&&(Yc=Wt||ll(Yc)),Yc.apply(Xo,Rn)}return Ot}function Bf(s,d){return function(x,N){return Cp(x,s,d(N),{})}}function au(s,d){return function(x,N){var G;if(x===u&&N===u)return d;if(x!==u&&(G=x),N!==u){if(G===u)return N;typeof x=="string"||typeof N=="string"?(x=ir(x),N=ir(N)):(x=ms(x),N=ms(N)),G=s(x,N)}return G}}function Lf(s){return ma(function(d){return d=bn(d,Di(At())),Xt(function(x){var N=this;return s(d,function(G){return ui(G,N,x)})})})}function Bo(s,d){d=d===u?" ":ir(d);var x=d.length;if(x<2)return x?A0(d,s):d;var N=A0(d,ha(s/tl(d)));return Al(d)?Mo(hr(N),0,s).join(""):N.slice(0,s)}function Ec(s,d,x,N){var G=d&O,Z=ll(s);function re(){for(var se=-1,Se=arguments.length,Je=-1,$e=N.length,et=Be($e+Se),lt=this&&this!==Pa&&this instanceof re?Z:s;++Je<$e;)et[Je]=N[Je];for(;Se--;)et[Je++]=arguments[++se];return ui(lt,G?x:this,et)}return re}function Lo(s){return function(d,x,N){return N&&typeof N!="number"&&$r(d,x,N)&&(x=N=u),d=Da(d),x===u?(x=d,d=0):x=Da(x),N=N===u?d<x?1:-1:Da(N),Mp(d,x,N,s)}}function bs(s){return function(d,x){return typeof d=="string"&&typeof x=="string"||(d=bi(d),x=bi(x)),s(d,x)}}function xc(s,d,x,N,G,Z,re,se,Se,Je){var $e=d&V,et=$e?re:u,lt=$e?u:re,vt=$e?Z:u,Rt=$e?u:Z;d|=$e?D:j,d&=~($e?j:D),d&X||(d&=-4);var Wt=[s,d,G,vt,et,Rt,lt,se,Se,Je],Ot=x.apply(u,Wt);return Es(s)&&Zp(Ot,Wt),Ot.placeholder=N,Ts(Ot,s,d)}function nh(s){var d=$n[s];return function(x,N){if(x=bi(x),N=N==null?0:pa(Yt(N),292),N&&cc(x)){var G=(Jt(x)+"e").split("e"),Z=d(G[0]+"e"+(+G[1]+N));return G=(Jt(Z)+"e").split("e"),+(G[0]+"e"+(+G[1]-N))}return d(x)}}var ah=sn&&1/Tl(new sn([,-0]))[1]==ce?function(s){return new sn(s)}:dt;function zf(s){return function(d){var x=mr(d);return x==_t?_d(d):x==Qt?f0(d):l0(d,s(d))}}function ru(s,d,x,N,G,Z,re,se){var Se=d&I;if(!Se&&typeof s!="function")throw new nl(g);var Je=N?N.length:0;if(Je||(d&=-97,N=G=u),re=re===u?re:ta(Yt(re),0),se=se===u?se:Yt(se),Je-=G?G.length:0,d&j){var $e=N,et=G;N=G=u}var lt=Se?u:zo(s),vt=[s,d,x,N,G,$e,et,Z,re,se];if(lt&&uh(vt,lt),s=vt[0],d=vt[1],x=vt[2],N=vt[3],G=vt[4],se=vt[9]=vt[9]===u?Se?0:s.length:ta(vt[9]-Je,0),!se&&d&(V|U)&&(d&=-25),!d||d==O)var Rt=Vu(s,d,x);else d==V||d==U?Rt=Xu(s,d,se):(d==D||d==(O|D))&&!G.length?Rt=Ec(s,d,x,N):Rt=kn.apply(u,vt);var Wt=lt?Ro:Zp;return Ts(Wt(Rt,vt),s,d)}function jp(s,d,x,N){return s===u||Zr(s,oc[x])&&!Dn.call(N,x)?d:s}function kp(s,d,x,N,G,Z){return Yn(s)&&Yn(d)&&(Z.set(d,s),gc(s,d,u,kp,Z),Z.delete(d)),s}function qi(s){return jl(s)?u:s}function O0(s,d,x,N,G,Z){var re=x&B,se=s.length,Se=d.length;if(se!=Se&&!(re&&Se>se))return!1;var Je=Z.get(s),$e=Z.get(d);if(Je&&$e)return Je==d&&$e==s;var et=-1,lt=!0,vt=x&z?new Jl:u;for(Z.set(s,d),Z.set(d,s);++et<se;){var Rt=s[et],Wt=d[et];if(N)var Ot=re?N(Wt,Rt,et,d,s,Z):N(Rt,Wt,et,s,d,Z);if(Ot!==u){if(Ot)continue;lt=!1;break}if(vt){if(!qr(d,function(gn,Rn){if(!us(vt,Rn)&&(Rt===gn||G(Rt,gn,x,N,Z)))return vt.push(Rn)})){lt=!1;break}}else if(!(Rt===Wt||G(Rt,Wt,x,N,Z))){lt=!1;break}}return Z.delete(s),Z.delete(d),lt}function ja(s,d,x,N,G,Z,re){switch(x){case bt:if(s.byteLength!=d.byteLength||s.byteOffset!=d.byteOffset)return!1;s=s.buffer,d=d.buffer;case ut:return!(s.byteLength!=d.byteLength||!Z(new xo(s),new xo(d)));case Ke:case Ne:case Et:return Zr(+s,+d);case nt:return s.name==d.name&&s.message==d.message;case Cn:case ht:return s==d+"";case _t:var se=_d;case Qt:var Se=N&B;if(se||(se=Tl),s.size!=d.size&&!Se)return!1;var Je=re.get(s);if(Je)return Je==d;N|=z,re.set(s,d);var $e=O0(se(s),se(d),N,G,Z,re);return re.delete(s),$e;case wn:if(wo)return wo.call(s)==wo.call(d)}return!1}function ur(s,d,x,N,G,Z){var re=x&B,se=qp(s),Se=se.length,Je=qp(d),$e=Je.length;if(Se!=$e&&!re)return!1;for(var et=Se;et--;){var lt=se[et];if(!(re?lt in d:Dn.call(d,lt)))return!1}var vt=Z.get(s),Rt=Z.get(d);if(vt&&Rt)return vt==d&&Rt==s;var Wt=!0;Z.set(s,d),Z.set(d,s);for(var Ot=re;++et<Se;){lt=se[et];var gn=s[lt],Rn=d[lt];if(N)var ql=re?N(Rn,gn,lt,d,s,Z):N(gn,Rn,lt,s,d,Z);if(!(ql===u?gn===Rn||G(gn,Rn,x,N,Z):ql)){Wt=!1;break}Ot||(Ot=lt=="constructor")}if(Wt&&!Ot){var $i=s.constructor,Fl=d.constructor;$i!=Fl&&"constructor"in s&&"constructor"in d&&!(typeof $i=="function"&&$i instanceof $i&&typeof Fl=="function"&&Fl instanceof Fl)&&(Wt=!1)}return Z.delete(s),Z.delete(d),Wt}function ma(s){return Fi(Qp(s,u,or),s+"")}function qp(s){return xp(s,ar,Uf)}function iu(s){return xp(s,sr,Yp)}var zo=Hu?function(s){return Hu.get(s)}:dt;function Ac(s){for(var d=s.name+"",x=Ni[d],N=Dn.call(Ni,d)?x.length:0;N--;){var G=x[N],Z=G.func;if(Z==null||Z==s)return G.name}return d}function Ll(s){var d=Dn.call($,"placeholder")?$:s;return d.placeholder}function At(){var s=$.iteratee||xt;return s=s===xt?Of:s,arguments.length?s(arguments[0],arguments[1]):s}function Tc(s,d){var x=s.__data__;return Qu(d)?x[typeof d=="string"?"string":"hash"]:x.map}function rh(s){for(var d=ar(s),x=d.length;x--;){var N=d[x],G=s[N];d[x]=[N,G,$p(G)]}return d}function $u(s,d){var x=lc(s,d);return tu(x)?x:u}function Fp(s){var d=Dn.call(s,Tr),x=s[Tr];try{s[Tr]=u;var N=!0}catch{}var G=Yr.call(s);return N&&(d?s[Tr]=x:delete s[Tr]),G}var Uf=Uu?function(s){return s==null?[]:(s=Sn(s),kr(Uu(s),function(d){return sc.call(s,d)}))}:h1,Yp=Uu?function(s){for(var d=[];s;)bl(d,Uf(s)),s=Ao(s);return d}:h1,mr=pn;(Dl&&mr(new Dl(new ArrayBuffer(1)))!=bt||Sa&&mr(new Sa)!=_t||_n&&mr(_n.resolve())!=Ja||sn&&mr(new sn)!=Qt||Gr&&mr(new Gr)!=Er)&&(mr=function(s){var d=pn(s),x=d==Ut?s.constructor:u,N=x?Zu(x):"";if(N)switch(N){case Ud:return bt;case m0:return _t;case yf:return Ja;case bf:return Qt;case v0:return Er}return d});function D0(s,d,x){for(var N=-1,G=x.length;++N<G;){var Z=x[N],re=Z.size;switch(Z.type){case"drop":s+=re;break;case"dropRight":d-=re;break;case"take":d=pa(d,s+re);break;case"takeRight":s=ta(s,d-re);break}}return{start:s,end:d}}function Gp(s){var d=s.match(ya);return d?d[1].split(ea):[]}function ih(s,d,x){d=Gu(d,s);for(var N=-1,G=d.length,Z=!1;++N<G;){var re=qn(d[N]);if(!(Z=s!=null&&x(s,re)))break;s=s[re]}return Z||++N!=G?Z:(G=s==null?0:s.length,!!G&&yi(G)&&zl(re,G)&&(Nt(s)||gr(s)))}function Ss(s){var d=s.length,x=new s.constructor(d);return d&&typeof s[0]=="string"&&Dn.call(s,"index")&&(x.index=s.index,x.input=s.input),x}function Hf(s){return typeof s.constructor=="function"&&!Ct(s)?Bi(Ao(s)):{}}function Ip(s,d,x){var N=s.constructor;switch(d){case ut:return No(s);case Ke:case Ne:return new N(+s);case bt:return eh(s,x);case Nn:case yt:case On:case gt:case Qn:case ti:case Gn:case dr:case Ur:return zp(s,x);case _t:return new N;case Et:case ht:return new N(s);case Cn:return bc(s);case Qt:return new N;case wn:return Sg(s)}}function Vp(s,d){var x=d.length;if(!x)return s;var N=x-1;return d[N]=(x>1?"& ":"")+d[N],d=d.join(x>2?", ":" "),s.replace(xu,`{
|
|
53
|
-
/* [wrapped with `+d+`] */
|
|
54
|
-
`)}function Pu(s){return Nt(s)||gr(s)||!!(ci&&s&&s[ci])}function zl(s,d){var x=typeof s;return d=d??ge,!!d&&(x=="number"||x!="symbol"&&Cu.test(s))&&s>-1&&s%1==0&&s<d}function $r(s,d,x){if(!Yn(x))return!1;var N=typeof d;return(N=="number"?Za(x)&&zl(d,x.length):N=="string"&&d in x)?Zr(x[d],s):!1}function Xp(s,d){if(Nt(s))return!1;var x=typeof s;return x=="number"||x=="symbol"||x=="boolean"||s==null||Rr(s)?!0:Eu.test(s)||!jr.test(s)||d!=null&&s in Sn(d)}function Qu(s){var d=typeof s;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?s!=="__proto__":s===null}function Es(s){var d=Ac(s),x=$[d];if(typeof x!="function"||!(d in cn.prototype))return!1;if(s===x)return!0;var N=zo(x);return!!N&&s===N[0]}function lh(s){return!!fp&&fp in s}var jf=pf?sl:p1;function Ct(s){var d=s&&s.constructor,x=typeof d=="function"&&d.prototype||oc;return s===x}function $p(s){return s===s&&!Yn(s)}function Eg(s,d){return function(x){return x==null?!1:x[s]===d&&(d!==u||s in Sn(x))}}function _0(s){var d=Ds(s,function(N){return x.size===A&&x.clear(),N}),x=d.cache;return d}function uh(s,d){var x=s[1],N=d[1],G=x|N,Z=G<(O|I|Y),re=N==Y&&x==V||N==Y&&x==ie&&s[7].length<=d[8]||N==(Y|ie)&&d[7].length<=d[8]&&x==V;if(!(Z||re))return s;N&O&&(s[2]=d[2],G|=x&O?0:X);var se=d[3];if(se){var Se=s[3];s[3]=Se?Up(Se,se,d[4]):se,s[4]=Se?oi(s[3],C):d[4]}return se=d[5],se&&(Se=s[5],s[5]=Se?Iu(Se,se,d[6]):se,s[6]=Se?oi(s[5],C):d[6]),se=d[7],se&&(s[7]=se),N&Y&&(s[8]=s[8]==null?d[8]:pa(s[8],d[8])),s[9]==null&&(s[9]=d[9]),s[0]=d[0],s[1]=G,s}function xs(s){var d=[];if(s!=null)for(var x in Sn(s))d.push(x);return d}function Pp(s){return Yr.call(s)}function Qp(s,d,x){return d=ta(d===u?s.length-1:d,0),function(){for(var N=arguments,G=-1,Z=ta(N.length-d,0),re=Be(Z);++G<Z;)re[G]=N[d+G];G=-1;for(var se=Be(d+1);++G<d;)se[G]=N[G];return se[d]=x(re),ui(s,this,se)}}function Cc(s,d){return d.length<2?s:hi(s,il(d,0,-1))}function lu(s,d){for(var x=s.length,N=pa(d.length,x),G=tr(s);N--;){var Z=d[N];s[N]=zl(Z,x)?G[Z]:u}return s}function As(s,d){if(!(d==="constructor"&&typeof s[d]=="function")&&d!="__proto__")return s[d]}var Zp=oh(Ro),kf=gf||function(s,d){return Pa.setTimeout(s,d)},Fi=oh(Zn);function Ts(s,d,x){var N=d+"";return Fi(s,Vp(N,Kp(Gp(N),x)))}function oh(s){var d=0,x=0;return function(){var N=Ua(),G=ze-(N-x);if(x=N,G>0){if(++d>=_e)return arguments[0]}else d=0;return s.apply(u,arguments)}}function wc(s,d){var x=-1,N=s.length,G=N-1;for(d=d===u?N:d;++x<d;){var Z=Nl(x,G),re=s[Z];s[Z]=s[x],s[x]=re}return s.length=d,s}var uu=_0(function(s){var d=[];return s.charCodeAt(0)===46&&d.push(""),s.replace(nn,function(x,N,G,Z){d.push(G?Z.replace(fa,"$1"):N||x)}),d});function qn(s){if(typeof s=="string"||Rr(s))return s;var d=s+"";return d=="0"&&1/s==-1/0?"-0":d}function Zu(s){if(s!=null){try{return mf.call(s)}catch{}try{return s+""}catch{}}return""}function Kp(s,d){return Wi(he,function(x){var N="_."+x[0];d&x[1]&&!Ru(s,N)&&s.push(N)}),s.sort()}function nr(s){if(s instanceof cn)return s.clone();var d=new fi(s.__wrapped__,s.__chain__);return d.__actions__=tr(s.__actions__),d.__index__=s.__index__,d.__values__=s.__values__,d}function R0(s,d,x){(x?$r(s,d,x):d===u)?d=1:d=ta(Yt(d),0);var N=s==null?0:s.length;if(!N||d<1)return[];for(var G=0,Z=0,re=Be(ha(N/d));G<N;)re[Z++]=il(s,G,G+=d);return re}function M0(s){for(var d=-1,x=s==null?0:s.length,N=0,G=[];++d<x;){var Z=s[d];Z&&(G[N++]=Z)}return G}function N0(){var s=arguments.length;if(!s)return[];for(var d=Be(s-1),x=arguments[0],N=s;N--;)d[N-1]=arguments[N];return bl(Nt(x)?tr(x):[x],an(d,1))}var wa=Xt(function(s,d){return xa(s)?Oo(s,an(d,1,xa,!0)):[]}),wr=Xt(function(s,d){var x=vr(d);return xa(x)&&(x=u),xa(s)?Oo(s,an(d,1,xa,!0),At(x,2)):[]}),Ku=Xt(function(s,d){var x=vr(d);return xa(x)&&(x=u),xa(s)?Oo(s,an(d,1,xa,!0),u,x):[]});function fn(s,d,x){var N=s==null?0:s.length;return N?(d=x||d===u?1:Yt(d),il(s,d<0?0:d,N)):[]}function Jp(s,d,x){var N=s==null?0:s.length;return N?(d=x||d===u?1:Yt(d),d=N-d,il(s,0,d<0?0:d)):[]}function B0(s,d){return s&&s.length?Wd(s,At(d,3),!0,!0):[]}function Wp(s,d){return s&&s.length?Wd(s,At(d,3),!0):[]}function vi(s,d,x,N){var G=s==null?0:s.length;return G?(x&&typeof x!="number"&&$r(s,d,x)&&(x=0,N=G),Vt(s,d,x,N)):[]}function Pr(s,d,x){var N=s==null?0:s.length;if(!N)return-1;var G=x==null?0:Yt(x);return G<0&&(G=ta(N+G,0)),Td(s,At(d,3),G)}function qf(s,d,x){var N=s==null?0:s.length;if(!N)return-1;var G=N-1;return x!==u&&(G=Yt(x),G=x<0?ta(N+G,0):pa(G,N-1)),Td(s,At(d,3),G,!0)}function or(s){var d=s==null?0:s.length;return d?an(s,1):[]}function L0(s){var d=s==null?0:s.length;return d?an(s,ce):[]}function Ju(s,d){var x=s==null?0:s.length;return x?(d=d===u?1:Yt(d),an(s,d)):[]}function Oa(s){for(var d=-1,x=s==null?0:s.length,N={};++d<x;){var G=s[d];N[G[0]]=G[1]}return N}function Uo(s){return s&&s.length?s[0]:u}function Ul(s,d,x){var N=s==null?0:s.length;if(!N)return-1;var G=x==null?0:Yt(x);return G<0&&(G=ta(N+G,0)),ic(s,d,G)}function em(s){var d=s==null?0:s.length;return d?il(s,0,-1):[]}var Or=Xt(function(s){var d=bn(s,vs);return d.length&&d[0]===s[0]?Tp(d):[]}),z0=Xt(function(s){var d=vr(s),x=bn(s,vs);return d===vr(x)?d=u:x.pop(),x.length&&x[0]===s[0]?Tp(x,At(d,2)):[]}),Ho=Xt(function(s){var d=vr(s),x=bn(s,vs);return d=typeof d=="function"?d:u,d&&x.pop(),x.length&&x[0]===s[0]?Tp(x,u,d):[]});function Hn(s,d){return s==null?"":Ol.call(s,d)}function vr(s){var d=s==null?0:s.length;return d?s[d-1]:u}function ka(s,d,x){var N=s==null?0:s.length;if(!N)return-1;var G=N;return x!==u&&(G=Yt(x),G=G<0?ta(N+G,0):pa(G,N-1)),d===d?Ar(s,d,G):Td(s,cf,G,!0)}function xg(s,d){return s&&s.length?Pd(s,Yt(d)):u}var U0=Xt(Cs);function Cs(s,d){return s&&s.length&&d&&d.length?Mf(s,d):s}function H0(s,d,x){return s&&s.length&&d&&d.length?Mf(s,d,At(x,2)):s}function gi(s,d,x){return s&&s.length&&d&&d.length?Mf(s,d,u,x):s}var j0=ma(function(s,d){var x=s==null?0:s.length,N=Yd(s,d);return Rp(s,bn(d,function(G){return zl(G,x)?+G:G}).sort(th)),N});function k0(s,d){var x=[];if(!(s&&s.length))return x;var N=-1,G=[],Z=s.length;for(d=At(d,3);++N<Z;){var re=s[N];d(re,N,s)&&(x.push(re),G.push(N))}return Rp(s,G),x}function tm(s){return s==null?s:fc.call(s)}function Fn(s,d,x){var N=s==null?0:s.length;return N?(x&&typeof x!="number"&&$r(s,d,x)?(d=0,x=N):(d=d==null?0:Yt(d),x=x===u?N:Yt(x)),il(s,d,x)):[]}function ra(s,d){return Hi(s,d)}function mn(s,d,x){return Kd(s,d,At(x,2))}function vn(s,d){var x=s==null?0:s.length;if(x){var N=Hi(s,d);if(N<x&&Zr(s[N],d))return N}return-1}function In(s,d){return Hi(s,d,!0)}function Yi(s,d,x){return Kd(s,d,At(x,2),!0)}function Wu(s,d){var x=s==null?0:s.length;if(x){var N=Hi(s,d,!0)-1;if(Zr(s[N],d))return N}return-1}function Ff(s){return s&&s.length?Jd(s):[]}function q0(s,d){return s&&s.length?Jd(s,At(d,2)):[]}function jo(s){var d=s==null?0:s.length;return d?il(s,1,d):[]}function qa(s,d,x){return s&&s.length?(d=x||d===u?1:Yt(d),il(s,0,d<0?0:d)):[]}function ko(s,d,x){var N=s==null?0:s.length;return N?(d=x||d===u?1:Yt(d),d=N-d,il(s,d<0?0:d,N)):[]}function Oc(s,d){return s&&s.length?Wd(s,At(d,3),!1,!0):[]}function eo(s,d){return s&&s.length?Wd(s,At(d,3)):[]}var Hl=Xt(function(s){return Yu(an(s,1,xa,!0))}),Yf=Xt(function(s){var d=vr(s);return xa(d)&&(d=u),Yu(an(s,1,xa,!0),At(d,2))}),Gf=Xt(function(s){var d=vr(s);return d=typeof d=="function"?d:u,Yu(an(s,1,xa,!0),u,d)});function Gi(s){return s&&s.length?Yu(s):[]}function F0(s,d){return s&&s.length?Yu(s,At(d,2)):[]}function Y0(s,d){return d=typeof d=="function"?d:u,s&&s.length?Yu(s,u,d):[]}function If(s){if(!(s&&s.length))return[];var d=0;return s=kr(s,function(x){if(xa(x))return d=ta(x.length,d),!0}),Nu(d,function(x){return bn(s,Sl(x))})}function Dc(s,d){if(!(s&&s.length))return[];var x=If(s);return d==null?x:bn(x,function(N){return ui(d,u,N)})}var ws=Xt(function(s,d){return xa(s)?Oo(s,d):[]}),Dr=Xt(function(s){return Nf(kr(s,xa))}),to=Xt(function(s){var d=vr(s);return xa(d)&&(d=u),Nf(kr(s,xa),At(d,2))}),Vf=Xt(function(s){var d=vr(s);return d=typeof d=="function"?d:u,Nf(kr(s,xa),u,d)}),_r=Xt(If);function nm(s,d){return C0(s||[],d||[],ds)}function am(s,d){return C0(s||[],d||[],_o)}var G0=Xt(function(s){var d=s.length,x=d>1?s[d-1]:u;return x=typeof x=="function"?(s.pop(),x):u,Dc(s,x)});function _c(s){var d=$(s);return d.__chain__=!0,d}function I0(s,d){return d(s),s}function Qr(s,d){return d(s)}var V0=ma(function(s){var d=s.length,x=d?s[0]:0,N=this.__wrapped__,G=function(Z){return Yd(Z,s)};return d>1||this.__actions__.length||!(N instanceof cn)||!zl(x)?this.thru(G):(N=N.slice(x,+x+(d?1:0)),N.__actions__.push({func:Qr,args:[G],thisArg:u}),new fi(N,this.__chain__).thru(function(Z){return d&&!Z.length&&Z.push(u),Z}))});function ul(){return _c(this)}function Xf(){return new fi(this.value(),this.__chain__)}function sh(){this.__values__===u&&(this.__values__=Ma(this.value()));var s=this.__index__>=this.__values__.length,d=s?u:this.__values__[this.__index__++];return{done:s,value:d}}function Ag(){return this}function qo(s){for(var d,x=this;x instanceof al;){var N=nr(x);N.__index__=0,N.__values__=u,d?G.__wrapped__=N:d=N;var G=N;x=x.__wrapped__}return G.__wrapped__=s,d}function Rc(){var s=this.__wrapped__;if(s instanceof cn){var d=s;return this.__actions__.length&&(d=new cn(this)),d=d.reverse(),d.__actions__.push({func:Qr,args:[tm],thisArg:u}),new fi(d,this.__chain__)}return this.thru(tm)}function Os(){return yg(this.__wrapped__,this.__actions__)}var no=lr(function(s,d,x){Dn.call(s,x)?++s[x]:eu(s,x,1)});function X0(s,d,x){var N=Nt(s)?r0:Tf;return x&&$r(s,d,x)&&(d=u),N(s,At(d,3))}function Tg(s,d){var x=Nt(s)?kr:Un;return x(s,At(d,3))}var Mc=nu(Pr),Nc=nu(qf);function rm(s,d){return an(fh(s,d),1)}function im(s,d){return an(fh(s,d),ce)}function $0(s,d,x){return x=x===u?1:Yt(x),an(fh(s,d),x)}function lm(s,d){var x=Nt(s)?Wi:Ea;return x(s,At(d,3))}function um(s,d){var x=Nt(s)?a0:mc;return x(s,At(d,3))}var P0=lr(function(s,d,x){Dn.call(s,x)?s[x].push(d):eu(s,x,[d])});function $f(s,d,x,N){s=Za(s)?s:Hc(s),x=x&&!N?Yt(x):0;var G=s.length;return x<0&&(x=ta(G+x,0)),gm(s)?x<=G&&s.indexOf(d,x)>-1:!!G&&ic(s,d,x)>-1}var ch=Xt(function(s,d,x){var N=-1,G=typeof d=="function",Z=Za(s)?Be(s.length):[];return Ea(s,function(re){Z[++N]=G?ui(d,re,x):Fu(re,d,x)}),Z}),Cg=lr(function(s,d,x){eu(s,x,d)});function fh(s,d){var x=Nt(s)?bn:Dp;return x(s,At(d,3))}function wg(s,d,x,N){return s==null?[]:(Nt(d)||(d=d==null?[]:[d]),x=N?u:x,Nt(x)||(x=x==null?[]:[x]),Rf(s,d,x))}var dh=lr(function(s,d,x){s[x?0:1].push(d)},function(){return[[],[]]});function om(s,d,x){var N=Nt(s)?sf:Od,G=arguments.length<3;return N(s,At(d,4),x,G,Ea)}function Og(s,d,x){var N=Nt(s)?i0:Od,G=arguments.length<3;return N(s,At(d,4),x,G,mc)}function sm(s,d){var x=Nt(s)?kr:Un;return x(s,Qf(At(d,3)))}function Q0(s){var d=Nt(s)?fs:Ui;return d(s)}function Z0(s,d,x){(x?$r(s,d,x):d===u)?d=1:d=Yt(d);var N=Nt(s)?y0:Zd;return N(s,d)}function Pn(s){var d=Nt(s)?b0:gg;return d(s)}function cm(s){if(s==null)return 0;if(Za(s))return gm(s)?tl(s):s.length;var d=mr(s);return d==_t||d==Qt?s.size:Df(s).length}function K0(s,d,x){var N=Nt(s)?qr:T0;return x&&$r(s,d,x)&&(d=u),N(s,At(d,3))}var J0=Xt(function(s,d){if(s==null)return[];var x=d.length;return x>1&&$r(s,d[0],d[1])?d=[]:x>2&&$r(d[0],d[1],d[2])&&(d=[d[0]]),Rf(s,an(d,1),[])}),fm=wl||function(){return Pa.Date.now()};function l1(s,d){if(typeof d!="function")throw new nl(g);return s=Yt(s),function(){if(--s<1)return d.apply(this,arguments)}}function Dg(s,d,x){return d=x?u:d,d=s&&d==null?s.length:d,ru(s,Y,u,u,u,u,d)}function hh(s,d){var x;if(typeof d!="function")throw new nl(g);return s=Yt(s),function(){return--s>0&&(x=d.apply(this,arguments)),s<=1&&(d=u),x}}var ao=Xt(function(s,d,x){var N=O;if(x.length){var G=oi(x,Ll(ao));N|=D}return ru(s,N,d,x,G)}),Pf=Xt(function(s,d,x){var N=O|I;if(x.length){var G=oi(x,Ll(Pf));N|=D}return ru(d,N,s,x,G)});function Bc(s,d,x){d=x?u:d;var N=ru(s,V,u,u,u,u,u,d);return N.placeholder=Bc.placeholder,N}function ph(s,d,x){d=x?u:d;var N=ru(s,U,u,u,u,u,u,d);return N.placeholder=ph.placeholder,N}function Fo(s,d,x){var N,G,Z,re,se,Se,Je=0,$e=!1,et=!1,lt=!0;if(typeof s!="function")throw new nl(g);d=bi(d)||0,Yn(x)&&($e=!!x.leading,et="maxWait"in x,Z=et?ta(bi(x.maxWait)||0,d):Z,lt="trailing"in x?!!x.trailing:lt);function vt(cr){var Xo=N,Yc=G;return N=G=u,Je=cr,re=s.apply(Yc,Xo),re}function Rt(cr){return Je=cr,se=kf(gn,d),$e?vt(cr):re}function Wt(cr){var Xo=cr-Se,Yc=cr-Je,v1=d-Xo;return et?pa(v1,Z-Yc):v1}function Ot(cr){var Xo=cr-Se,Yc=cr-Je;return Se===u||Xo>=d||Xo<0||et&&Yc>=Z}function gn(){var cr=fm();if(Ot(cr))return Rn(cr);se=kf(gn,Wt(cr))}function Rn(cr){return se=u,lt&&N?vt(cr):(N=G=u,re)}function ql(){se!==u&&Bp(se),Je=0,N=Se=G=se=u}function $i(){return se===u?re:Rn(fm())}function Fl(){var cr=fm(),Xo=Ot(cr);if(N=arguments,G=this,Se=cr,Xo){if(se===u)return Rt(Se);if(et)return Bp(se),se=kf(gn,d),vt(Se)}return se===u&&(se=kf(gn,d)),re}return Fl.cancel=ql,Fl.flush=$i,Fl}var Ii=Xt(function(s,d){return hs(s,1,d)}),mh=Xt(function(s,d,x){return hs(s,bi(d)||0,x)});function _g(s){return ru(s,oe)}function Ds(s,d){if(typeof s!="function"||d!=null&&typeof d!="function")throw new nl(g);var x=function(){var N=arguments,G=d?d.apply(this,N):N[0],Z=x.cache;if(Z.has(G))return Z.get(G);var re=s.apply(this,N);return x.cache=Z.set(G,re)||Z,re};return x.cache=new(Ds.Cache||aa),x}Ds.Cache=aa;function Qf(s){if(typeof s!="function")throw new nl(g);return function(){var d=arguments;switch(d.length){case 0:return!s.call(this);case 1:return!s.call(this,d[0]);case 2:return!s.call(this,d[0],d[1]);case 3:return!s.call(this,d[0],d[1],d[2])}return!s.apply(this,d)}}function Rg(s){return hh(2,s)}var vh=bg(function(s,d){d=d.length==1&&Nt(d[0])?bn(d[0],Di(At())):bn(an(d,1),Di(At()));var x=d.length;return Xt(function(N){for(var G=-1,Z=pa(N.length,x);++G<Z;)N[G]=d[G].call(this,N[G]);return ui(s,this,N)})}),dm=Xt(function(s,d){var x=oi(d,Ll(dm));return ru(s,D,u,d,x)}),_s=Xt(function(s,d){var x=oi(d,Ll(_s));return ru(s,j,u,d,x)}),hm=ma(function(s,d){return ru(s,ie,u,u,u,d)});function gh(s,d){if(typeof s!="function")throw new nl(g);return d=d===u?d:Yt(d),Xt(s,d)}function Mg(s,d){if(typeof s!="function")throw new nl(g);return d=d==null?0:ta(Yt(d),0),Xt(function(x){var N=x[d],G=Mo(x,0,d);return N&&bl(G,N),ui(s,this,G)})}function Fa(s,d,x){var N=!0,G=!0;if(typeof s!="function")throw new nl(g);return Yn(x)&&(N="leading"in x?!!x.leading:N,G="trailing"in x?!!x.trailing:G),Fo(s,d,{leading:N,maxWait:d,trailing:G})}function yh(s){return Dg(s,1)}function u1(s,d){return dm(ji(d),s)}function Kt(){if(!arguments.length)return[];var s=arguments[0];return Nt(s)?s:[s]}function bh(s){return Wa(s,L)}function Rs(s,d){return d=typeof d=="function"?d:u,Wa(s,L,d)}function Lc(s){return Wa(s,w|L)}function $t(s,d){return d=typeof d=="function"?d:u,Wa(s,w|L,d)}function Zf(s,d){return d==null||Af(s,d,ar(d))}function Zr(s,d){return s===d||s!==s&&d!==d}var W0=bs(Cf),pm=bs(function(s,d){return s>=d}),gr=Gd(function(){return arguments}())?Gd:function(s){return ia(s)&&Dn.call(s,"callee")&&!sc.call(s,"callee")},Nt=Be.isArray,Kf=ip?Di(ip):Xr;function Za(s){return s!=null&&yi(s.length)&&!sl(s)}function xa(s){return ia(s)&&Za(s)}function ol(s){return s===!0||s===!1||ia(s)&&pn(s)==Ke}var ro=Ld||p1,Ng=sg?Di(sg):Ha;function ev(s){return ia(s)&&s.nodeType===1&&!jl(s)}function mm(s){if(s==null)return!0;if(Za(s)&&(Nt(s)||typeof s=="string"||typeof s.splice=="function"||ro(s)||td(s)||gr(s)))return!s.length;var d=mr(s);if(d==_t||d==Qt)return!s.size;if(Ct(s))return!Df(s).length;for(var x in s)if(Dn.call(s,x))return!1;return!0}function Ft(s,d){return Do(s,d)}function Le(s,d,x){x=typeof x=="function"?x:u;var N=x?x(s,d):u;return N===u?Do(s,d,u,x):!!N}function Ht(s){if(!ia(s))return!1;var d=pn(s);return d==nt||d==Ce||typeof s.message=="string"&&typeof s.name=="string"&&!jl(s)}function o1(s){return typeof s=="number"&&cc(s)}function sl(s){if(!Yn(s))return!1;var d=pn(s);return d==ke||d==Tt||d==rt||d==fr}function Jf(s){return typeof s=="number"&&s==Yt(s)}function yi(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ge}function Yn(s){var d=typeof s;return s!=null&&(d=="object"||d=="function")}function ia(s){return s!=null&&typeof s=="object"}var ou=cg?Di(cg):er;function Wf(s,d){return s===d||wf(s,d,rh(d))}function Yo(s,d,x){return x=typeof x=="function"?x:u,wf(s,d,rh(d),x)}function vm(s){return su(s)&&s!=+s}function s1(s){if(jf(s))throw new Lt(v);return tu(s)}function Bg(s){return s===null}function c1(s){return s==null}function su(s){return typeof s=="number"||ia(s)&&pn(s)==Et}function jl(s){if(!ia(s)||pn(s)!=Ut)return!1;var d=Ao(s);if(d===null)return!0;var x=Dn.call(d,"constructor")&&d.constructor;return typeof x=="function"&&x instanceof x&&mf.call(x)==_i}var ed=fg?Di(fg):Vd;function Sh(s){return Jf(s)&&s>=-9007199254740991&&s<=ge}var zc=of?Di(of):wp;function gm(s){return typeof s=="string"||!Nt(s)&&ia(s)&&pn(s)==ht}function Rr(s){return typeof s=="symbol"||ia(s)&&pn(s)==wn}var td=n0?Di(n0):Op;function cu(s){return s===u}function Ms(s){return ia(s)&&mr(s)==Er}function Mr(s){return ia(s)&&pn(s)==Bt}var ct=bs(Xd),Vi=bs(function(s,d){return s<=d});function Ma(s){if(!s)return[];if(Za(s))return gm(s)?hr(s):tr(s);if(To&&s[To])return df(s[To]());var d=mr(s),x=d==_t?_d:d==Qt?Tl:Hc;return x(s)}function Da(s){if(!s)return s===0?s:0;if(s=bi(s),s===ce||s===-1/0){var d=s<0?-1:1;return d*We}return s===s?s:0}function Yt(s){var d=Da(s),x=d%1;return d===d?x?d-x:d:0}function io(s){return s?Ml(Yt(s),0,Ee):0}function bi(s){if(typeof s=="number")return s;if(Rr(s))return W;if(Yn(s)){var d=typeof s.valueOf=="function"?s.valueOf():s;s=Yn(d)?d+"":d}if(typeof s!="string")return s===0?s:+s;s=ls(s);var x=Va.test(s);return x||ai.test(s)?og(s.slice(2),x?2:8):$l.test(s)?W:+s}function Eh(s){return pi(s,sr(s))}function Nr(s){return s?Ml(Yt(s),-9007199254740991,ge):s===0?s:0}function Jt(s){return s==null?"":ir(s)}var Go=gs(function(s,d){if(Ct(d)||Za(d)){pi(d,ar(d),s);return}for(var x in d)Dn.call(d,x)&&ds(s,x,d[x])}),xh=gs(function(s,d){pi(d,sr(d),s)}),fu=gs(function(s,d,x,N){pi(d,sr(d),s,N)}),Kr=gs(function(s,d,x,N){pi(d,ar(d),s,N)}),Xi=ma(Yd);function Ns(s,d){var x=Bi(s);return d==null?x:Wl(x,d)}var tv=Xt(function(s,d){s=Sn(s);var x=-1,N=d.length,G=N>2?d[2]:u;for(G&&$r(d[0],d[1],G)&&(N=1);++x<N;)for(var Z=d[x],re=sr(Z),se=-1,Se=re.length;++se<Se;){var Je=re[se],$e=s[Je];($e===u||Zr($e,oc[Je])&&!Dn.call(s,Je))&&(s[Je]=Z[Je])}return s}),Lg=Xt(function(s){return s.push(u,kp),ui(ld,u,s)});function nd(s,d){return up(s,At(d,3),Cr)}function ad(s,d){return up(s,At(d,3),rl)}function rd(s,d){return s==null?s:vc(s,At(d,3),sr)}function zg(s,d){return s==null?s:zi(s,At(d,3),sr)}function kl(s,d){return s&&Cr(s,At(d,3))}function Uc(s,d){return s&&rl(s,At(d,3))}function Ug(s){return s==null?[]:Vr(s,ar(s))}function ym(s){return s==null?[]:Vr(s,sr(s))}function id(s,d,x){var N=s==null?u:hi(s,d);return N===u?x:N}function bm(s,d){return s!=null&&ih(s,d,Ap)}function lo(s,d){return s!=null&&ih(s,d,ps)}var nv=Bf(function(s,d,x){d!=null&&typeof d.toString!="function"&&(d=Yr.call(d)),s[d]=x},Ae(Te)),av=Bf(function(s,d,x){d!=null&&typeof d.toString!="function"&&(d=Yr.call(d)),Dn.call(s,d)?s[d].push(x):s[d]=[x]},At),Hg=Xt(Fu);function ar(s){return Za(s)?Sp(s):Df(s)}function sr(s){return Za(s)?Sp(s,!0):E0(s)}function jg(s,d){var x={};return d=At(d,3),Cr(s,function(N,G,Z){eu(x,d(N,G,Z),N)}),x}function kg(s,d){var x={};return d=At(d,3),Cr(s,function(N,G,Z){eu(x,G,d(N,G,Z))}),x}var rv=gs(function(s,d,x){gc(s,d,x)}),ld=gs(function(s,d,x,N){gc(s,d,x,N)}),ud=ma(function(s,d){var x={};if(s==null)return x;var N=!1;d=bn(d,function(Z){return Z=Gu(Z,s),N||(N=Z.length>1),Z}),pi(s,iu(s),x),N&&(x=Wa(x,w|M|L,qi));for(var G=d.length;G--;)yc(x,d[G]);return x});function Ah(s,d){return Si(s,Qf(At(d)))}var cl=ma(function(s,d){return s==null?{}:_p(s,d)});function Si(s,d){if(s==null)return{};var x=bn(iu(s),function(N){return[N]});return d=At(d),Qd(s,x,function(N,G){return d(N,G[0])})}function f1(s,d,x){d=Gu(d,s);var N=-1,G=d.length;for(G||(G=1,s=u);++N<G;){var Z=s==null?u:s[qn(d[N])];Z===u&&(N=G,Z=x),s=sl(Z)?Z.call(s):Z}return s}function iv(s,d,x){return s==null?s:_o(s,d,x)}function lv(s,d,x,N){return N=typeof N=="function"?N:u,s==null?s:_o(s,d,x,N)}var Sm=zf(ar),Em=zf(sr);function xm(s,d,x){var N=Nt(s),G=N||ro(s)||td(s);if(d=At(d,4),x==null){var Z=s&&s.constructor;G?x=N?new Z:[]:Yn(s)?x=sl(Z)?Bi(Ao(s)):{}:x={}}return(G?Wi:Cr)(s,function(re,se,Se){return d(x,re,se,Se)}),x}function uv(s,d){return s==null?!0:yc(s,d)}function Th(s,d,x){return s==null?s:Np(s,d,ji(x))}function qg(s,d,x,N){return N=typeof N=="function"?N:u,s==null?s:Np(s,d,ji(x),N)}function Hc(s){return s==null?[]:ff(s,ar(s))}function ov(s){return s==null?[]:ff(s,sr(s))}function Am(s,d,x){return x===u&&(x=d,d=u),x!==u&&(x=bi(x),x=x===x?x:0),d!==u&&(d=bi(d),d=d===d?d:0),Ml(bi(s),d,x)}function Tm(s,d,x){return d=Da(d),x===u?(x=d,d=0):x=Da(x),s=bi(s),S0(s,d,x)}function sv(s,d,x){if(x&&typeof x!="boolean"&&$r(s,d,x)&&(d=x=u),x===u&&(typeof d=="boolean"?(x=d,d=u):typeof s=="boolean"&&(x=s,s=u)),s===u&&d===u?(s=0,d=1):(s=Da(s),d===u?(d=s,s=0):d=Da(d)),s>d){var N=s;s=d,d=N}if(x||s%1||d%1){var G=zd();return pa(s+G*(d-s+Ad("1e-"+((G+"").length-1))),d)}return Nl(s,d)}var cv=Qa(function(s,d,x){return d=d.toLowerCase(),s+(x?jc(d):d)});function jc(s){return h(Jt(s).toLowerCase())}function du(s){return s=Jt(s),s&&s.replace(wu,Bu).replace(_u,"")}function Io(s,d,x){s=Jt(s),d=ir(d);var N=s.length;x=x===u?N:Ml(Yt(x),0,N);var G=x;return x-=d.length,x>=0&&s.slice(x,G)==d}function Vo(s){return s=Jt(s),s&&La.test(s)?s.replace(Jn,o0):s}function Ch(s){return s=Jt(s),s&&Bn.test(s)?s.replace(zn,"\\$&"):s}var wh=Qa(function(s,d,x){return s+(x?"-":"")+d.toLowerCase()}),Bs=Qa(function(s,d,x){return s+(x?" ":"")+d.toLowerCase()}),Fg=ki("toLowerCase");function kc(s,d,x){s=Jt(s),d=Yt(d);var N=d?tl(s):0;if(!d||N>=d)return s;var G=(d-N)/2;return Bo(Kl(G),x)+s+Bo(ha(G),x)}function qc(s,d,x){s=Jt(s),d=Yt(d);var N=d?tl(s):0;return d&&N<d?s+Bo(d-N,x):s}function Yg(s,d,x){s=Jt(s),d=Yt(d);var N=d?tl(s):0;return d&&N<d?Bo(d-N,x)+s:s}function fv(s,d,x){return x||d==null?d=0:d&&(d=+d),xn(Jt(s).replace(Ia,""),d||0)}function Oh(s,d,x){return(x?$r(s,d,x):d===u)?d=1:d=Yt(d),A0(Jt(s),d)}function Dh(){var s=arguments,d=Jt(s[0]);return s.length<3?d:d.replace(s[1],s[2])}var od=Qa(function(s,d,x){return s+(x?"_":"")+d.toLowerCase()});function Cm(s,d,x){return x&&typeof x!="number"&&$r(s,d,x)&&(d=x=u),x=x===u?Ee:x>>>0,x?(s=Jt(s),s&&(typeof d=="string"||d!=null&&!ed(d))&&(d=ir(d),!d&&Al(s))?Mo(hr(s),0,x):s.split(d,x)):[]}var Fc=Qa(function(s,d,x){return s+(x?" ":"")+h(d)});function dv(s,d,x){return s=Jt(s),x=x==null?0:Ml(Yt(x),0,s.length),d=ir(d),s.slice(x,x+d.length)==d}function uo(s,d,x){var N=$.templateSettings;x&&$r(s,d,x)&&(d=u),s=Jt(s),d=fu({},d,N,jp);var G=fu({},d.imports,N.imports,jp),Z=ar(G),re=ff(G,Z),se,Se,Je=0,$e=d.interpolate||Ks,et="__p += '",lt=sp((d.escape||Ks).source+"|"+$e.source+"|"+($e===za?po:Ks).source+"|"+(d.evaluate||Ks).source+"|$","g"),vt="//# sourceURL="+(Dn.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++e0+"]")+`
|
|
55
|
-
`;s.replace(lt,function(Ot,gn,Rn,ql,$i,Fl){return Rn||(Rn=ql),et+=s.slice(Je,Fl).replace(Wc,s0),gn&&(se=!0,et+=`' +
|
|
56
|
-
__e(`+gn+`) +
|
|
57
|
-
'`),$i&&(Se=!0,et+=`';
|
|
58
|
-
`+$i+`;
|
|
59
|
-
__p += '`),Rn&&(et+=`' +
|
|
60
|
-
((__t = (`+Rn+`)) == null ? '' : __t) +
|
|
61
|
-
'`),Je=Fl+Ot.length,Ot}),et+=`';
|
|
62
|
-
`;var Rt=Dn.call(d,"variable")&&d.variable;if(!Rt)et=`with (obj) {
|
|
63
|
-
`+et+`
|
|
64
|
-
}
|
|
65
|
-
`;else if(Au.test(Rt))throw new Lt(E);et=(Se?et.replace(ga,""):et).replace(ni,"$1").replace(Xl,"$1;"),et="function("+(Rt||"obj")+`) {
|
|
66
|
-
`+(Rt?"":`obj || (obj = {});
|
|
67
|
-
`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(Se?`, __j = Array.prototype.join;
|
|
68
|
-
function print() { __p += __j.call(arguments, '') }
|
|
69
|
-
`:`;
|
|
70
|
-
`)+et+`return __p
|
|
71
|
-
}`;var Wt=T(function(){return Gt(Z,vt+"return "+et).apply(u,re)});if(Wt.source=et,Ht(Wt))throw Wt;return Wt}function hv(s){return Jt(s).toLowerCase()}function wm(s){return Jt(s).toUpperCase()}function pv(s,d,x){if(s=Jt(s),s&&(x||d===u))return ls(s);if(!s||!(d=ir(d)))return s;var N=hr(s),G=hr(d),Z=El(N,G),re=xl(N,G)+1;return Mo(N,Z,re).join("")}function Ei(s,d,x){if(s=Jt(s),s&&(x||d===u))return s.slice(0,da(s)+1);if(!s||!(d=ir(d)))return s;var N=hr(s),G=xl(N,hr(d))+1;return Mo(N,0,G).join("")}function _h(s,d,x){if(s=Jt(s),s&&(x||d===u))return s.replace(Ia,"");if(!s||!(d=ir(d)))return s;var N=hr(s),G=El(N,hr(d));return Mo(N,G).join("")}function a(s,d){var x=pe,N=ve;if(Yn(d)){var G="separator"in d?d.separator:G;x="length"in d?Yt(d.length):x,N="omission"in d?ir(d.omission):N}s=Jt(s);var Z=s.length;if(Al(s)){var re=hr(s);Z=re.length}if(x>=Z)return s;var se=x-tl(N);if(se<1)return N;var Se=re?Mo(re,0,se).join(""):s.slice(0,se);if(G===u)return Se+N;if(re&&(se+=Se.length-se),ed(G)){if(s.slice(se).search(G)){var Je,$e=Se;for(G.global||(G=sp(G.source,Jt(Tu.exec(G))+"g")),G.lastIndex=0;Je=G.exec($e);)var et=Je.index;Se=Se.slice(0,et===u?se:et)}}else if(s.indexOf(ir(G),se)!=se){var lt=Se.lastIndexOf(G);lt>-1&&(Se=Se.slice(0,lt))}return Se+N}function i(s){return s=Jt(s),s&&rr.test(s)?s.replace(Ki,Md):s}var o=Qa(function(s,d,x){return s+(x?" ":"")+d.toUpperCase()}),h=ki("toUpperCase");function b(s,d,x){return s=Jt(s),d=x?u:d,d===u?c0(s)?uc(s):rc(s):s.match(d)||[]}var T=Xt(function(s,d){try{return ui(s,u,d)}catch(x){return Ht(x)?x:new Lt(x)}}),k=ma(function(s,d){return Wi(d,function(x){x=qn(x),eu(s,x,ao(s[x],s))}),s});function P(s){var d=s==null?0:s.length,x=At();return s=d?bn(s,function(N){if(typeof N[1]!="function")throw new nl(g);return[x(N[0]),N[1]]}):[],Xt(function(N){for(var G=-1;++G<d;){var Z=s[G];if(ui(Z[0],this,N))return ui(Z[1],this,N)}})}function ae(s){return Ep(Wa(s,w))}function Ae(s){return function(){return s}}function Xe(s,d){return s==null||s!==s?d:s}var Ze=Bl(),Oe=Bl(!0);function Te(s){return s}function xt(s){return Of(typeof s=="function"?s:Wa(s,w))}function wt(s){return $d(Wa(s,w))}function jn(s,d){return _f(s,Wa(d,w))}var be=Xt(function(s,d){return function(x){return Fu(x,s,d)}}),fe=Xt(function(s,d){return function(x){return Fu(s,x,d)}});function xe(s,d,x){var N=ar(d),G=Vr(d,N);x==null&&!(Yn(d)&&(G.length||!N.length))&&(x=d,d=s,s=this,G=Vr(d,ar(d)));var Z=!(Yn(x)&&"chain"in x)||!!x.chain,re=sl(s);return Wi(G,function(se){var Se=d[se];s[se]=Se,re&&(s.prototype[se]=function(){var Je=this.__chain__;if(Z||Je){var $e=s(this.__wrapped__),et=$e.__actions__=tr(this.__actions__);return et.push({func:Se,args:arguments,thisArg:s}),$e.__chain__=Je,$e}return Se.apply(s,bl([this.value()],arguments))})}),s}function Pe(){return Pa._===this&&(Pa._=os),this}function dt(){}function rn(s){return s=Yt(s),Xt(function(d){return Pd(d,s)})}var St=Lf(bn),zt=Lf(r0),yr=Lf(qr);function An(s){return Xp(s)?Sl(qn(s)):x0(s)}function Ls(s){return function(d){return s==null?u:hi(s,d)}}var d1=Lo(),Ux=Lo(!0);function h1(){return[]}function p1(){return!1}function aS(){return{}}function Hx(){return""}function jx(){return!0}function kx(s,d){if(s=Yt(s),s<1||s>ge)return[];var x=Ee,N=pa(s,Ee);d=At(d),s-=Ee;for(var G=Nu(N,d);++x<s;)d(x);return G}function qx(s){return Nt(s)?bn(s,qn):Rr(s)?[s]:tr(uu(Jt(s)))}function Fx(s){var d=++Cl;return Jt(s)+d}var Yx=au(function(s,d){return s+d},0),Gx=nh("ceil"),rS=au(function(s,d){return s/d},1),Ix=nh("floor");function Vx(s){return s&&s.length?di(s,Te,Cf):u}function Xx(s,d){return s&&s.length?di(s,At(d,2),Cf):u}function $x(s){return op(s,Te)}function Px(s,d){return op(s,At(d,2))}function Qx(s){return s&&s.length?di(s,Te,Xd):u}function Zx(s,d){return s&&s.length?di(s,At(d,2),Xd):u}var Kx=au(function(s,d){return s*d},1),Jx=nh("round"),iS=au(function(s,d){return s-d},0);function m1(s){return s&&s.length?Mu(s,Te):0}function mv(s,d){return s&&s.length?Mu(s,At(d,2)):0}return $.after=l1,$.ary=Dg,$.assign=Go,$.assignIn=xh,$.assignInWith=fu,$.assignWith=Kr,$.at=Xi,$.before=hh,$.bind=ao,$.bindAll=k,$.bindKey=Pf,$.castArray=Kt,$.chain=_c,$.chunk=R0,$.compact=M0,$.concat=N0,$.cond=P,$.conforms=ae,$.constant=Ae,$.countBy=no,$.create=Ns,$.curry=Bc,$.curryRight=ph,$.debounce=Fo,$.defaults=tv,$.defaultsDeep=Lg,$.defer=Ii,$.delay=mh,$.difference=wa,$.differenceBy=wr,$.differenceWith=Ku,$.drop=fn,$.dropRight=Jp,$.dropRightWhile=B0,$.dropWhile=Wp,$.fill=vi,$.filter=Tg,$.flatMap=rm,$.flatMapDeep=im,$.flatMapDepth=$0,$.flatten=or,$.flattenDeep=L0,$.flattenDepth=Ju,$.flip=_g,$.flow=Ze,$.flowRight=Oe,$.fromPairs=Oa,$.functions=Ug,$.functionsIn=ym,$.groupBy=P0,$.initial=em,$.intersection=Or,$.intersectionBy=z0,$.intersectionWith=Ho,$.invert=nv,$.invertBy=av,$.invokeMap=ch,$.iteratee=xt,$.keyBy=Cg,$.keys=ar,$.keysIn=sr,$.map=fh,$.mapKeys=jg,$.mapValues=kg,$.matches=wt,$.matchesProperty=jn,$.memoize=Ds,$.merge=rv,$.mergeWith=ld,$.method=be,$.methodOf=fe,$.mixin=xe,$.negate=Qf,$.nthArg=rn,$.omit=ud,$.omitBy=Ah,$.once=Rg,$.orderBy=wg,$.over=St,$.overArgs=vh,$.overEvery=zt,$.overSome=yr,$.partial=dm,$.partialRight=_s,$.partition=dh,$.pick=cl,$.pickBy=Si,$.property=An,$.propertyOf=Ls,$.pull=U0,$.pullAll=Cs,$.pullAllBy=H0,$.pullAllWith=gi,$.pullAt=j0,$.range=d1,$.rangeRight=Ux,$.rearg=hm,$.reject=sm,$.remove=k0,$.rest=gh,$.reverse=tm,$.sampleSize=Z0,$.set=iv,$.setWith=lv,$.shuffle=Pn,$.slice=Fn,$.sortBy=J0,$.sortedUniq=Ff,$.sortedUniqBy=q0,$.split=Cm,$.spread=Mg,$.tail=jo,$.take=qa,$.takeRight=ko,$.takeRightWhile=Oc,$.takeWhile=eo,$.tap=I0,$.throttle=Fa,$.thru=Qr,$.toArray=Ma,$.toPairs=Sm,$.toPairsIn=Em,$.toPath=qx,$.toPlainObject=Eh,$.transform=xm,$.unary=yh,$.union=Hl,$.unionBy=Yf,$.unionWith=Gf,$.uniq=Gi,$.uniqBy=F0,$.uniqWith=Y0,$.unset=uv,$.unzip=If,$.unzipWith=Dc,$.update=Th,$.updateWith=qg,$.values=Hc,$.valuesIn=ov,$.without=ws,$.words=b,$.wrap=u1,$.xor=Dr,$.xorBy=to,$.xorWith=Vf,$.zip=_r,$.zipObject=nm,$.zipObjectDeep=am,$.zipWith=G0,$.entries=Sm,$.entriesIn=Em,$.extend=xh,$.extendWith=fu,xe($,$),$.add=Yx,$.attempt=T,$.camelCase=cv,$.capitalize=jc,$.ceil=Gx,$.clamp=Am,$.clone=bh,$.cloneDeep=Lc,$.cloneDeepWith=$t,$.cloneWith=Rs,$.conformsTo=Zf,$.deburr=du,$.defaultTo=Xe,$.divide=rS,$.endsWith=Io,$.eq=Zr,$.escape=Vo,$.escapeRegExp=Ch,$.every=X0,$.find=Mc,$.findIndex=Pr,$.findKey=nd,$.findLast=Nc,$.findLastIndex=qf,$.findLastKey=ad,$.floor=Ix,$.forEach=lm,$.forEachRight=um,$.forIn=rd,$.forInRight=zg,$.forOwn=kl,$.forOwnRight=Uc,$.get=id,$.gt=W0,$.gte=pm,$.has=bm,$.hasIn=lo,$.head=Uo,$.identity=Te,$.includes=$f,$.indexOf=Ul,$.inRange=Tm,$.invoke=Hg,$.isArguments=gr,$.isArray=Nt,$.isArrayBuffer=Kf,$.isArrayLike=Za,$.isArrayLikeObject=xa,$.isBoolean=ol,$.isBuffer=ro,$.isDate=Ng,$.isElement=ev,$.isEmpty=mm,$.isEqual=Ft,$.isEqualWith=Le,$.isError=Ht,$.isFinite=o1,$.isFunction=sl,$.isInteger=Jf,$.isLength=yi,$.isMap=ou,$.isMatch=Wf,$.isMatchWith=Yo,$.isNaN=vm,$.isNative=s1,$.isNil=c1,$.isNull=Bg,$.isNumber=su,$.isObject=Yn,$.isObjectLike=ia,$.isPlainObject=jl,$.isRegExp=ed,$.isSafeInteger=Sh,$.isSet=zc,$.isString=gm,$.isSymbol=Rr,$.isTypedArray=td,$.isUndefined=cu,$.isWeakMap=Ms,$.isWeakSet=Mr,$.join=Hn,$.kebabCase=wh,$.last=vr,$.lastIndexOf=ka,$.lowerCase=Bs,$.lowerFirst=Fg,$.lt=ct,$.lte=Vi,$.max=Vx,$.maxBy=Xx,$.mean=$x,$.meanBy=Px,$.min=Qx,$.minBy=Zx,$.stubArray=h1,$.stubFalse=p1,$.stubObject=aS,$.stubString=Hx,$.stubTrue=jx,$.multiply=Kx,$.nth=xg,$.noConflict=Pe,$.noop=dt,$.now=fm,$.pad=kc,$.padEnd=qc,$.padStart=Yg,$.parseInt=fv,$.random=sv,$.reduce=om,$.reduceRight=Og,$.repeat=Oh,$.replace=Dh,$.result=f1,$.round=Jx,$.runInContext=me,$.sample=Q0,$.size=cm,$.snakeCase=od,$.some=K0,$.sortedIndex=ra,$.sortedIndexBy=mn,$.sortedIndexOf=vn,$.sortedLastIndex=In,$.sortedLastIndexBy=Yi,$.sortedLastIndexOf=Wu,$.startCase=Fc,$.startsWith=dv,$.subtract=iS,$.sum=m1,$.sumBy=mv,$.template=uo,$.times=kx,$.toFinite=Da,$.toInteger=Yt,$.toLength=io,$.toLower=hv,$.toNumber=bi,$.toSafeInteger=Nr,$.toString=Jt,$.toUpper=wm,$.trim=pv,$.trimEnd=Ei,$.trimStart=_h,$.truncate=a,$.unescape=i,$.uniqueId=Fx,$.upperCase=o,$.upperFirst=h,$.each=lm,$.eachRight=um,$.first=Uo,xe($,function(){var s={};return Cr($,function(d,x){Dn.call($.prototype,x)||(s[x]=d)}),s}(),{chain:!1}),$.VERSION=f,Wi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){$[s].placeholder=$}),Wi(["drop","take"],function(s,d){cn.prototype[s]=function(x){x=x===u?1:ta(Yt(x),0);var N=this.__filtered__&&!d?new cn(this):this.clone();return N.__filtered__?N.__takeCount__=pa(x,N.__takeCount__):N.__views__.push({size:pa(x,Ee),type:s+(N.__dir__<0?"Right":"")}),N},cn.prototype[s+"Right"]=function(x){return this.reverse()[s](x).reverse()}}),Wi(["filter","map","takeWhile"],function(s,d){var x=d+1,N=x==Ue||x==ee;cn.prototype[s]=function(G){var Z=this.clone();return Z.__iteratees__.push({iteratee:At(G,3),type:x}),Z.__filtered__=Z.__filtered__||N,Z}}),Wi(["head","last"],function(s,d){var x="take"+(d?"Right":"");cn.prototype[s]=function(){return this[x](1).value()[0]}}),Wi(["initial","tail"],function(s,d){var x="drop"+(d?"":"Right");cn.prototype[s]=function(){return this.__filtered__?new cn(this):this[x](1)}}),cn.prototype.compact=function(){return this.filter(Te)},cn.prototype.find=function(s){return this.filter(s).head()},cn.prototype.findLast=function(s){return this.reverse().find(s)},cn.prototype.invokeMap=Xt(function(s,d){return typeof s=="function"?new cn(this):this.map(function(x){return Fu(x,s,d)})}),cn.prototype.reject=function(s){return this.filter(Qf(At(s)))},cn.prototype.slice=function(s,d){s=Yt(s);var x=this;return x.__filtered__&&(s>0||d<0)?new cn(x):(s<0?x=x.takeRight(-s):s&&(x=x.drop(s)),d!==u&&(d=Yt(d),x=d<0?x.dropRight(-d):x.take(d-s)),x)},cn.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},cn.prototype.toArray=function(){return this.take(Ee)},Cr(cn.prototype,function(s,d){var x=/^(?:filter|find|map|reject)|While$/.test(d),N=/^(?:head|last)$/.test(d),G=$[N?"take"+(d=="last"?"Right":""):d],Z=N||/^find/.test(d);G&&($.prototype[d]=function(){var re=this.__wrapped__,se=N?[1]:arguments,Se=re instanceof cn,Je=se[0],$e=Se||Nt(re),et=function(gn){var Rn=G.apply($,bl([gn],se));return N&<?Rn[0]:Rn};$e&&x&&typeof Je=="function"&&Je.length!=1&&(Se=$e=!1);var lt=this.__chain__,vt=!!this.__actions__.length,Rt=Z&&!lt,Wt=Se&&!vt;if(!Z&&$e){re=Wt?re:new cn(this);var Ot=s.apply(re,se);return Ot.__actions__.push({func:Qr,args:[et],thisArg:u}),new fi(Ot,lt)}return Rt&&Wt?s.apply(this,se):(Ot=this.thru(et),Rt?N?Ot.value()[0]:Ot.value():Ot)})}),Wi(["pop","push","shift","sort","splice","unshift"],function(s){var d=hf[s],x=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",N=/^(?:pop|shift)$/.test(s);$.prototype[s]=function(){var G=arguments;if(N&&!this.__chain__){var Z=this.value();return d.apply(Nt(Z)?Z:[],G)}return this[x](function(re){return d.apply(Nt(re)?re:[],G)})}}),Cr(cn.prototype,function(s,d){var x=$[d];if(x){var N=x.name+"";Dn.call(Ni,N)||(Ni[N]=[]),Ni[N].push({name:d,func:x})}}),Ni[kn(u,I).name]=[{name:"wrapper",func:u}],cn.prototype.clone=Sf,cn.prototype.reverse=Hd,cn.prototype.value=ss,$.prototype.at=V0,$.prototype.chain=ul,$.prototype.commit=Xf,$.prototype.next=sh,$.prototype.plant=qo,$.prototype.reverse=Rc,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=Os,$.prototype.first=$.prototype.head,To&&($.prototype[To]=Ag),$},Fr=Lu();Eo?((Eo.exports=Fr)._=Fr,So._=Fr):Pa._=Fr}).call(K_)}(by,by.exports)),by.exports}var Yh=J_();const W_=n=>{const{globalDataContext:l,templateContext:u}=n,{path:f,value:p}=n.args;if(f===void 0)return;const v=Wo({currentPath:u.templatePath,dataLocation:f,globalDataContext:l,templateContext:u}),g=ca({valueToEvaluate:p,globalDataContext:l,templateContext:u});l==null||l.updateData(typeof g!="object"?g:Yh.cloneDeep(g),v,"add")};function xT(n,l){return function(){return n.apply(l,arguments)}}const{toString:eR}=Object.prototype,{getPrototypeOf:tE}=Object,eb=(n=>l=>{const u=eR.call(l);return n[u]||(n[u]=u.slice(8,-1).toLowerCase())})(Object.create(null)),Xs=n=>(n=n.toLowerCase(),l=>eb(l)===n),tb=n=>l=>typeof l===n,{isArray:Uv}=Array,Sy=tb("undefined");function tR(n){return n!==null&&!Sy(n)&&n.constructor!==null&&!Sy(n.constructor)&&fo(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const AT=Xs("ArrayBuffer");function nR(n){let l;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?l=ArrayBuffer.isView(n):l=n&&n.buffer&&AT(n.buffer),l}const aR=tb("string"),fo=tb("function"),TT=tb("number"),nb=n=>n!==null&&typeof n=="object",rR=n=>n===!0||n===!1,ab=n=>{if(eb(n)!=="object")return!1;const l=tE(n);return(l===null||l===Object.prototype||Object.getPrototypeOf(l)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},iR=Xs("Date"),lR=Xs("File"),uR=Xs("Blob"),oR=Xs("FileList"),sR=n=>nb(n)&&fo(n.pipe),cR=n=>{let l;return n&&(typeof FormData=="function"&&n instanceof FormData||fo(n.append)&&((l=eb(n))==="formdata"||l==="object"&&fo(n.toString)&&n.toString()==="[object FormData]"))},fR=Xs("URLSearchParams"),[dR,hR,pR,mR]=["ReadableStream","Request","Response","Headers"].map(Xs),vR=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ey(n,l,{allOwnKeys:u=!1}={}){if(n===null||typeof n>"u")return;let f,p;if(typeof n!="object"&&(n=[n]),Uv(n))for(f=0,p=n.length;f<p;f++)l.call(null,n[f],f,n);else{const v=u?Object.getOwnPropertyNames(n):Object.keys(n),g=v.length;let E;for(f=0;f<g;f++)E=v[f],l.call(null,n[E],E,n)}}function CT(n,l){l=l.toLowerCase();const u=Object.keys(n);let f=u.length,p;for(;f-- >0;)if(p=u[f],l===p.toLowerCase())return p;return null}const Fm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wT=n=>!Sy(n)&&n!==Fm;function nE(){const{caseless:n}=wT(this)&&this||{},l={},u=(f,p)=>{const v=n&&CT(l,p)||p;ab(l[v])&&ab(f)?l[v]=nE(l[v],f):ab(f)?l[v]=nE({},f):Uv(f)?l[v]=f.slice():l[v]=f};for(let f=0,p=arguments.length;f<p;f++)arguments[f]&&Ey(arguments[f],u);return l}const gR=(n,l,u,{allOwnKeys:f}={})=>(Ey(l,(p,v)=>{u&&fo(p)?n[v]=xT(p,u):n[v]=p},{allOwnKeys:f}),n),yR=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),bR=(n,l,u,f)=>{n.prototype=Object.create(l.prototype,f),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:l.prototype}),u&&Object.assign(n.prototype,u)},SR=(n,l,u,f)=>{let p,v,g;const E={};if(l=l||{},n==null)return l;do{for(p=Object.getOwnPropertyNames(n),v=p.length;v-- >0;)g=p[v],(!f||f(g,n,l))&&!E[g]&&(l[g]=n[g],E[g]=!0);n=u!==!1&&tE(n)}while(n&&(!u||u(n,l))&&n!==Object.prototype);return l},ER=(n,l,u)=>{n=String(n),(u===void 0||u>n.length)&&(u=n.length),u-=l.length;const f=n.indexOf(l,u);return f!==-1&&f===u},xR=n=>{if(!n)return null;if(Uv(n))return n;let l=n.length;if(!TT(l))return null;const u=new Array(l);for(;l-- >0;)u[l]=n[l];return u},AR=(n=>l=>n&&l instanceof n)(typeof Uint8Array<"u"&&tE(Uint8Array)),TR=(n,l)=>{const f=(n&&n[Symbol.iterator]).call(n);let p;for(;(p=f.next())&&!p.done;){const v=p.value;l.call(n,v[0],v[1])}},CR=(n,l)=>{let u;const f=[];for(;(u=n.exec(l))!==null;)f.push(u);return f},wR=Xs("HTMLFormElement"),OR=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(u,f,p){return f.toUpperCase()+p}),OT=(({hasOwnProperty:n})=>(l,u)=>n.call(l,u))(Object.prototype),DR=Xs("RegExp"),DT=(n,l)=>{const u=Object.getOwnPropertyDescriptors(n),f={};Ey(u,(p,v)=>{let g;(g=l(p,v,n))!==!1&&(f[v]=g||p)}),Object.defineProperties(n,f)},_R=n=>{DT(n,(l,u)=>{if(fo(n)&&["arguments","caller","callee"].indexOf(u)!==-1)return!1;const f=n[u];if(fo(f)){if(l.enumerable=!1,"writable"in l){l.writable=!1;return}l.set||(l.set=()=>{throw Error("Can not rewrite read-only method '"+u+"'")})}})},RR=(n,l)=>{const u={},f=p=>{p.forEach(v=>{u[v]=!0})};return Uv(n)?f(n):f(String(n).split(l)),u},MR=()=>{},NR=(n,l)=>n!=null&&Number.isFinite(n=+n)?n:l;function BR(n){return!!(n&&fo(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const LR=n=>{const l=new Array(10),u=(f,p)=>{if(nb(f)){if(l.indexOf(f)>=0)return;if(!("toJSON"in f)){l[p]=f;const v=Uv(f)?[]:{};return Ey(f,(g,E)=>{const S=u(g,p+1);!Sy(S)&&(v[E]=S)}),l[p]=void 0,v}}return f};return u(n,0)},zR=Xs("AsyncFunction"),UR=n=>n&&(nb(n)||fo(n))&&fo(n.then)&&fo(n.catch),_T=((n,l)=>n?setImmediate:l?((u,f)=>(Fm.addEventListener("message",({source:p,data:v})=>{p===Fm&&v===u&&f.length&&f.shift()()},!1),p=>{f.push(p),Fm.postMessage(u,"*")}))(`axios@${Math.random()}`,[]):u=>setTimeout(u))(typeof setImmediate=="function",fo(Fm.postMessage)),HR=typeof queueMicrotask<"u"?queueMicrotask.bind(Fm):typeof process<"u"&&process.nextTick||_T,Fe={isArray:Uv,isArrayBuffer:AT,isBuffer:tR,isFormData:cR,isArrayBufferView:nR,isString:aR,isNumber:TT,isBoolean:rR,isObject:nb,isPlainObject:ab,isReadableStream:dR,isRequest:hR,isResponse:pR,isHeaders:mR,isUndefined:Sy,isDate:iR,isFile:lR,isBlob:uR,isRegExp:DR,isFunction:fo,isStream:sR,isURLSearchParams:fR,isTypedArray:AR,isFileList:oR,forEach:Ey,merge:nE,extend:gR,trim:vR,stripBOM:yR,inherits:bR,toFlatObject:SR,kindOf:eb,kindOfTest:Xs,endsWith:ER,toArray:xR,forEachEntry:TR,matchAll:CR,isHTMLForm:wR,hasOwnProperty:OT,hasOwnProp:OT,reduceDescriptors:DT,freezeMethods:_R,toObjectSet:RR,toCamelCase:OR,noop:MR,toFiniteNumber:NR,findKey:CT,global:Fm,isContextDefined:wT,isSpecCompliantForm:BR,toJSONObject:LR,isAsyncFn:zR,isThenable:UR,setImmediate:_T,asap:HR};function un(n,l,u,f,p){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",l&&(this.code=l),u&&(this.config=u),f&&(this.request=f),p&&(this.response=p,this.status=p.status?p.status:null)}Fe.inherits(un,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Fe.toJSONObject(this.config),code:this.code,status:this.status}}});const RT=un.prototype,MT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{MT[n]={value:n}}),Object.defineProperties(un,MT),Object.defineProperty(RT,"isAxiosError",{value:!0}),un.from=(n,l,u,f,p,v)=>{const g=Object.create(RT);return Fe.toFlatObject(n,g,function(S){return S!==Error.prototype},E=>E!=="isAxiosError"),un.call(g,n.message,l,u,f,p),g.cause=n,g.name=n.name,v&&Object.assign(g,v),g};const jR=null;function aE(n){return Fe.isPlainObject(n)||Fe.isArray(n)}function NT(n){return Fe.endsWith(n,"[]")?n.slice(0,-2):n}function BT(n,l,u){return n?n.concat(l).map(function(p,v){return p=NT(p),!u&&v?"["+p+"]":p}).join(u?".":""):l}function kR(n){return Fe.isArray(n)&&!n.some(aE)}const qR=Fe.toFlatObject(Fe,{},null,function(l){return/^is[A-Z]/.test(l)});function rb(n,l,u){if(!Fe.isObject(n))throw new TypeError("target must be an object");l=l||new FormData,u=Fe.toFlatObject(u,{metaTokens:!0,dots:!1,indexes:!1},!1,function(z,O){return!Fe.isUndefined(O[z])});const f=u.metaTokens,p=u.visitor||C,v=u.dots,g=u.indexes,S=(u.Blob||typeof Blob<"u"&&Blob)&&Fe.isSpecCompliantForm(l);if(!Fe.isFunction(p))throw new TypeError("visitor must be a function");function A(B){if(B===null)return"";if(Fe.isDate(B))return B.toISOString();if(!S&&Fe.isBlob(B))throw new un("Blob is not supported. Use a Buffer instead.");return Fe.isArrayBuffer(B)||Fe.isTypedArray(B)?S&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function C(B,z,O){let I=B;if(B&&!O&&typeof B=="object"){if(Fe.endsWith(z,"{}"))z=f?z:z.slice(0,-2),B=JSON.stringify(B);else if(Fe.isArray(B)&&kR(B)||(Fe.isFileList(B)||Fe.endsWith(z,"[]"))&&(I=Fe.toArray(B)))return z=NT(z),I.forEach(function(V,U){!(Fe.isUndefined(V)||V===null)&&l.append(g===!0?BT([z],U,v):g===null?z:z+"[]",A(V))}),!1}return aE(B)?!0:(l.append(BT(O,z,v),A(B)),!1)}const w=[],M=Object.assign(qR,{defaultVisitor:C,convertValue:A,isVisitable:aE});function L(B,z){if(!Fe.isUndefined(B)){if(w.indexOf(B)!==-1)throw Error("Circular reference detected in "+z.join("."));w.push(B),Fe.forEach(B,function(I,X){(!(Fe.isUndefined(I)||I===null)&&p.call(l,I,Fe.isString(X)?X.trim():X,z,M))===!0&&L(I,z?z.concat(X):[X])}),w.pop()}}if(!Fe.isObject(n))throw new TypeError("data must be an object");return L(n),l}function LT(n){const l={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(f){return l[f]})}function rE(n,l){this._pairs=[],n&&rb(n,this,l)}const zT=rE.prototype;zT.append=function(l,u){this._pairs.push([l,u])},zT.toString=function(l){const u=l?function(f){return l.call(this,f,LT)}:LT;return this._pairs.map(function(p){return u(p[0])+"="+u(p[1])},"").join("&")};function FR(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function UT(n,l,u){if(!l)return n;const f=u&&u.encode||FR;Fe.isFunction(u)&&(u={serialize:u});const p=u&&u.serialize;let v;if(p?v=p(l,u):v=Fe.isURLSearchParams(l)?l.toString():new rE(l,u).toString(f),v){const g=n.indexOf("#");g!==-1&&(n=n.slice(0,g)),n+=(n.indexOf("?")===-1?"?":"&")+v}return n}class HT{constructor(){this.handlers=[]}use(l,u,f){return this.handlers.push({fulfilled:l,rejected:u,synchronous:f?f.synchronous:!1,runWhen:f?f.runWhen:null}),this.handlers.length-1}eject(l){this.handlers[l]&&(this.handlers[l]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(l){Fe.forEach(this.handlers,function(f){f!==null&&l(f)})}}const jT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YR={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:rE,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},iE=typeof window<"u"&&typeof document<"u",lE=typeof navigator=="object"&&navigator||void 0,GR=iE&&(!lE||["ReactNative","NativeScript","NS"].indexOf(lE.product)<0),IR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",VR=iE&&window.location.href||"http://localhost",pl={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:iE,hasStandardBrowserEnv:GR,hasStandardBrowserWebWorkerEnv:IR,navigator:lE,origin:VR},Symbol.toStringTag,{value:"Module"})),...YR};function XR(n,l){return rb(n,new pl.classes.URLSearchParams,Object.assign({visitor:function(u,f,p,v){return pl.isNode&&Fe.isBuffer(u)?(this.append(f,u.toString("base64")),!1):v.defaultVisitor.apply(this,arguments)}},l))}function $R(n){return Fe.matchAll(/\w+|\[(\w*)]/g,n).map(l=>l[0]==="[]"?"":l[1]||l[0])}function PR(n){const l={},u=Object.keys(n);let f;const p=u.length;let v;for(f=0;f<p;f++)v=u[f],l[v]=n[v];return l}function kT(n){function l(u,f,p,v){let g=u[v++];if(g==="__proto__")return!0;const E=Number.isFinite(+g),S=v>=u.length;return g=!g&&Fe.isArray(p)?p.length:g,S?(Fe.hasOwnProp(p,g)?p[g]=[p[g],f]:p[g]=f,!E):((!p[g]||!Fe.isObject(p[g]))&&(p[g]=[]),l(u,f,p[g],v)&&Fe.isArray(p[g])&&(p[g]=PR(p[g])),!E)}if(Fe.isFormData(n)&&Fe.isFunction(n.entries)){const u={};return Fe.forEachEntry(n,(f,p)=>{l($R(f),p,u,0)}),u}return null}function QR(n,l,u){if(Fe.isString(n))try{return(l||JSON.parse)(n),Fe.trim(n)}catch(f){if(f.name!=="SyntaxError")throw f}return(u||JSON.stringify)(n)}const xy={transitional:jT,adapter:["xhr","http","fetch"],transformRequest:[function(l,u){const f=u.getContentType()||"",p=f.indexOf("application/json")>-1,v=Fe.isObject(l);if(v&&Fe.isHTMLForm(l)&&(l=new FormData(l)),Fe.isFormData(l))return p?JSON.stringify(kT(l)):l;if(Fe.isArrayBuffer(l)||Fe.isBuffer(l)||Fe.isStream(l)||Fe.isFile(l)||Fe.isBlob(l)||Fe.isReadableStream(l))return l;if(Fe.isArrayBufferView(l))return l.buffer;if(Fe.isURLSearchParams(l))return u.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),l.toString();let E;if(v){if(f.indexOf("application/x-www-form-urlencoded")>-1)return XR(l,this.formSerializer).toString();if((E=Fe.isFileList(l))||f.indexOf("multipart/form-data")>-1){const S=this.env&&this.env.FormData;return rb(E?{"files[]":l}:l,S&&new S,this.formSerializer)}}return v||p?(u.setContentType("application/json",!1),QR(l)):l}],transformResponse:[function(l){const u=this.transitional||xy.transitional,f=u&&u.forcedJSONParsing,p=this.responseType==="json";if(Fe.isResponse(l)||Fe.isReadableStream(l))return l;if(l&&Fe.isString(l)&&(f&&!this.responseType||p)){const g=!(u&&u.silentJSONParsing)&&p;try{return JSON.parse(l)}catch(E){if(g)throw E.name==="SyntaxError"?un.from(E,un.ERR_BAD_RESPONSE,this,null,this.response):E}}return l}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pl.classes.FormData,Blob:pl.classes.Blob},validateStatus:function(l){return l>=200&&l<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Fe.forEach(["delete","get","head","post","put","patch"],n=>{xy.headers[n]={}});const ZR=Fe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),KR=n=>{const l={};let u,f,p;return n&&n.split(`
|
|
72
|
-
`).forEach(function(g){p=g.indexOf(":"),u=g.substring(0,p).trim().toLowerCase(),f=g.substring(p+1).trim(),!(!u||l[u]&&ZR[u])&&(u==="set-cookie"?l[u]?l[u].push(f):l[u]=[f]:l[u]=l[u]?l[u]+", "+f:f)}),l},qT=Symbol("internals");function Ay(n){return n&&String(n).trim().toLowerCase()}function ib(n){return n===!1||n==null?n:Fe.isArray(n)?n.map(ib):String(n)}function JR(n){const l=Object.create(null),u=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let f;for(;f=u.exec(n);)l[f[1]]=f[2];return l}const WR=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function uE(n,l,u,f,p){if(Fe.isFunction(f))return f.call(this,l,u);if(p&&(l=u),!!Fe.isString(l)){if(Fe.isString(f))return l.indexOf(f)!==-1;if(Fe.isRegExp(f))return f.test(l)}}function e3(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(l,u,f)=>u.toUpperCase()+f)}function t3(n,l){const u=Fe.toCamelCase(" "+l);["get","set","has"].forEach(f=>{Object.defineProperty(n,f+u,{value:function(p,v,g){return this[f].call(this,l,p,v,g)},configurable:!0})})}let gu=class{constructor(l){l&&this.set(l)}set(l,u,f){const p=this;function v(E,S,A){const C=Ay(S);if(!C)throw new Error("header name must be a non-empty string");const w=Fe.findKey(p,C);(!w||p[w]===void 0||A===!0||A===void 0&&p[w]!==!1)&&(p[w||S]=ib(E))}const g=(E,S)=>Fe.forEach(E,(A,C)=>v(A,C,S));if(Fe.isPlainObject(l)||l instanceof this.constructor)g(l,u);else if(Fe.isString(l)&&(l=l.trim())&&!WR(l))g(KR(l),u);else if(Fe.isHeaders(l))for(const[E,S]of l.entries())v(S,E,f);else l!=null&&v(u,l,f);return this}get(l,u){if(l=Ay(l),l){const f=Fe.findKey(this,l);if(f){const p=this[f];if(!u)return p;if(u===!0)return JR(p);if(Fe.isFunction(u))return u.call(this,p,f);if(Fe.isRegExp(u))return u.exec(p);throw new TypeError("parser must be boolean|regexp|function")}}}has(l,u){if(l=Ay(l),l){const f=Fe.findKey(this,l);return!!(f&&this[f]!==void 0&&(!u||uE(this,this[f],f,u)))}return!1}delete(l,u){const f=this;let p=!1;function v(g){if(g=Ay(g),g){const E=Fe.findKey(f,g);E&&(!u||uE(f,f[E],E,u))&&(delete f[E],p=!0)}}return Fe.isArray(l)?l.forEach(v):v(l),p}clear(l){const u=Object.keys(this);let f=u.length,p=!1;for(;f--;){const v=u[f];(!l||uE(this,this[v],v,l,!0))&&(delete this[v],p=!0)}return p}normalize(l){const u=this,f={};return Fe.forEach(this,(p,v)=>{const g=Fe.findKey(f,v);if(g){u[g]=ib(p),delete u[v];return}const E=l?e3(v):String(v).trim();E!==v&&delete u[v],u[E]=ib(p),f[E]=!0}),this}concat(...l){return this.constructor.concat(this,...l)}toJSON(l){const u=Object.create(null);return Fe.forEach(this,(f,p)=>{f!=null&&f!==!1&&(u[p]=l&&Fe.isArray(f)?f.join(", "):f)}),u}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([l,u])=>l+": "+u).join(`
|
|
73
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(l){return l instanceof this?l:new this(l)}static concat(l,...u){const f=new this(l);return u.forEach(p=>f.set(p)),f}static accessor(l){const f=(this[qT]=this[qT]={accessors:{}}).accessors,p=this.prototype;function v(g){const E=Ay(g);f[E]||(t3(p,g),f[E]=!0)}return Fe.isArray(l)?l.forEach(v):v(l),this}};gu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Fe.reduceDescriptors(gu.prototype,({value:n},l)=>{let u=l[0].toUpperCase()+l.slice(1);return{get:()=>n,set(f){this[u]=f}}}),Fe.freezeMethods(gu);function oE(n,l){const u=this||xy,f=l||u,p=gu.from(f.headers);let v=f.data;return Fe.forEach(n,function(E){v=E.call(u,v,p.normalize(),l?l.status:void 0)}),p.normalize(),v}function FT(n){return!!(n&&n.__CANCEL__)}function Hv(n,l,u){un.call(this,n??"canceled",un.ERR_CANCELED,l,u),this.name="CanceledError"}Fe.inherits(Hv,un,{__CANCEL__:!0});function YT(n,l,u){const f=u.config.validateStatus;!u.status||!f||f(u.status)?n(u):l(new un("Request failed with status code "+u.status,[un.ERR_BAD_REQUEST,un.ERR_BAD_RESPONSE][Math.floor(u.status/100)-4],u.config,u.request,u))}function n3(n){const l=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return l&&l[1]||""}function a3(n,l){n=n||10;const u=new Array(n),f=new Array(n);let p=0,v=0,g;return l=l!==void 0?l:1e3,function(S){const A=Date.now(),C=f[v];g||(g=A),u[p]=S,f[p]=A;let w=v,M=0;for(;w!==p;)M+=u[w++],w=w%n;if(p=(p+1)%n,p===v&&(v=(v+1)%n),A-g<l)return;const L=C&&A-C;return L?Math.round(M*1e3/L):void 0}}function r3(n,l){let u=0,f=1e3/l,p,v;const g=(A,C=Date.now())=>{u=C,p=null,v&&(clearTimeout(v),v=null),n.apply(null,A)};return[(...A)=>{const C=Date.now(),w=C-u;w>=f?g(A,C):(p=A,v||(v=setTimeout(()=>{v=null,g(p)},f-w)))},()=>p&&g(p)]}const lb=(n,l,u=3)=>{let f=0;const p=a3(50,250);return r3(v=>{const g=v.loaded,E=v.lengthComputable?v.total:void 0,S=g-f,A=p(S),C=g<=E;f=g;const w={loaded:g,total:E,progress:E?g/E:void 0,bytes:S,rate:A||void 0,estimated:A&&E&&C?(E-g)/A:void 0,event:v,lengthComputable:E!=null,[l?"download":"upload"]:!0};n(w)},u)},GT=(n,l)=>{const u=n!=null;return[f=>l[0]({lengthComputable:u,total:n,loaded:f}),l[1]]},IT=n=>(...l)=>Fe.asap(()=>n(...l)),i3=pl.hasStandardBrowserEnv?((n,l)=>u=>(u=new URL(u,pl.origin),n.protocol===u.protocol&&n.host===u.host&&(l||n.port===u.port)))(new URL(pl.origin),pl.navigator&&/(msie|trident)/i.test(pl.navigator.userAgent)):()=>!0,l3=pl.hasStandardBrowserEnv?{write(n,l,u,f,p,v){const g=[n+"="+encodeURIComponent(l)];Fe.isNumber(u)&&g.push("expires="+new Date(u).toGMTString()),Fe.isString(f)&&g.push("path="+f),Fe.isString(p)&&g.push("domain="+p),v===!0&&g.push("secure"),document.cookie=g.join("; ")},read(n){const l=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function u3(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function o3(n,l){return l?n.replace(/\/?\/$/,"")+"/"+l.replace(/^\/+/,""):n}function VT(n,l,u){let f=!u3(l);return n&&(f||u==!1)?o3(n,l):l}const XT=n=>n instanceof gu?{...n}:n;function Ym(n,l){l=l||{};const u={};function f(A,C,w,M){return Fe.isPlainObject(A)&&Fe.isPlainObject(C)?Fe.merge.call({caseless:M},A,C):Fe.isPlainObject(C)?Fe.merge({},C):Fe.isArray(C)?C.slice():C}function p(A,C,w,M){if(Fe.isUndefined(C)){if(!Fe.isUndefined(A))return f(void 0,A,w,M)}else return f(A,C,w,M)}function v(A,C){if(!Fe.isUndefined(C))return f(void 0,C)}function g(A,C){if(Fe.isUndefined(C)){if(!Fe.isUndefined(A))return f(void 0,A)}else return f(void 0,C)}function E(A,C,w){if(w in l)return f(A,C);if(w in n)return f(void 0,A)}const S={url:v,method:v,data:v,baseURL:g,transformRequest:g,transformResponse:g,paramsSerializer:g,timeout:g,timeoutMessage:g,withCredentials:g,withXSRFToken:g,adapter:g,responseType:g,xsrfCookieName:g,xsrfHeaderName:g,onUploadProgress:g,onDownloadProgress:g,decompress:g,maxContentLength:g,maxBodyLength:g,beforeRedirect:g,transport:g,httpAgent:g,httpsAgent:g,cancelToken:g,socketPath:g,responseEncoding:g,validateStatus:E,headers:(A,C,w)=>p(XT(A),XT(C),w,!0)};return Fe.forEach(Object.keys(Object.assign({},n,l)),function(C){const w=S[C]||p,M=w(n[C],l[C],C);Fe.isUndefined(M)&&w!==E||(u[C]=M)}),u}const $T=n=>{const l=Ym({},n);let{data:u,withXSRFToken:f,xsrfHeaderName:p,xsrfCookieName:v,headers:g,auth:E}=l;l.headers=g=gu.from(g),l.url=UT(VT(l.baseURL,l.url,l.allowAbsoluteUrls),n.params,n.paramsSerializer),E&&g.set("Authorization","Basic "+btoa((E.username||"")+":"+(E.password?unescape(encodeURIComponent(E.password)):"")));let S;if(Fe.isFormData(u)){if(pl.hasStandardBrowserEnv||pl.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if((S=g.getContentType())!==!1){const[A,...C]=S?S.split(";").map(w=>w.trim()).filter(Boolean):[];g.setContentType([A||"multipart/form-data",...C].join("; "))}}if(pl.hasStandardBrowserEnv&&(f&&Fe.isFunction(f)&&(f=f(l)),f||f!==!1&&i3(l.url))){const A=p&&v&&l3.read(v);A&&g.set(p,A)}return l},s3=typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(u,f){const p=$T(n);let v=p.data;const g=gu.from(p.headers).normalize();let{responseType:E,onUploadProgress:S,onDownloadProgress:A}=p,C,w,M,L,B;function z(){L&&L(),B&&B(),p.cancelToken&&p.cancelToken.unsubscribe(C),p.signal&&p.signal.removeEventListener("abort",C)}let O=new XMLHttpRequest;O.open(p.method.toUpperCase(),p.url,!0),O.timeout=p.timeout;function I(){if(!O)return;const V=gu.from("getAllResponseHeaders"in O&&O.getAllResponseHeaders()),D={data:!E||E==="text"||E==="json"?O.responseText:O.response,status:O.status,statusText:O.statusText,headers:V,config:n,request:O};YT(function(Y){u(Y),z()},function(Y){f(Y),z()},D),O=null}"onloadend"in O?O.onloadend=I:O.onreadystatechange=function(){!O||O.readyState!==4||O.status===0&&!(O.responseURL&&O.responseURL.indexOf("file:")===0)||setTimeout(I)},O.onabort=function(){O&&(f(new un("Request aborted",un.ECONNABORTED,n,O)),O=null)},O.onerror=function(){f(new un("Network Error",un.ERR_NETWORK,n,O)),O=null},O.ontimeout=function(){let U=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const D=p.transitional||jT;p.timeoutErrorMessage&&(U=p.timeoutErrorMessage),f(new un(U,D.clarifyTimeoutError?un.ETIMEDOUT:un.ECONNABORTED,n,O)),O=null},v===void 0&&g.setContentType(null),"setRequestHeader"in O&&Fe.forEach(g.toJSON(),function(U,D){O.setRequestHeader(D,U)}),Fe.isUndefined(p.withCredentials)||(O.withCredentials=!!p.withCredentials),E&&E!=="json"&&(O.responseType=p.responseType),A&&([M,B]=lb(A,!0),O.addEventListener("progress",M)),S&&O.upload&&([w,L]=lb(S),O.upload.addEventListener("progress",w),O.upload.addEventListener("loadend",L)),(p.cancelToken||p.signal)&&(C=V=>{O&&(f(!V||V.type?new Hv(null,n,O):V),O.abort(),O=null)},p.cancelToken&&p.cancelToken.subscribe(C),p.signal&&(p.signal.aborted?C():p.signal.addEventListener("abort",C)));const X=n3(p.url);if(X&&pl.protocols.indexOf(X)===-1){f(new un("Unsupported protocol "+X+":",un.ERR_BAD_REQUEST,n));return}O.send(v||null)})},c3=(n,l)=>{const{length:u}=n=n?n.filter(Boolean):[];if(l||u){let f=new AbortController,p;const v=function(A){if(!p){p=!0,E();const C=A instanceof Error?A:this.reason;f.abort(C instanceof un?C:new Hv(C instanceof Error?C.message:C))}};let g=l&&setTimeout(()=>{g=null,v(new un(`timeout ${l} of ms exceeded`,un.ETIMEDOUT))},l);const E=()=>{n&&(g&&clearTimeout(g),g=null,n.forEach(A=>{A.unsubscribe?A.unsubscribe(v):A.removeEventListener("abort",v)}),n=null)};n.forEach(A=>A.addEventListener("abort",v));const{signal:S}=f;return S.unsubscribe=()=>Fe.asap(E),S}},f3=function*(n,l){let u=n.byteLength;if(u<l){yield n;return}let f=0,p;for(;f<u;)p=f+l,yield n.slice(f,p),f=p},d3=async function*(n,l){for await(const u of h3(n))yield*f3(u,l)},h3=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const l=n.getReader();try{for(;;){const{done:u,value:f}=await l.read();if(u)break;yield f}}finally{await l.cancel()}},PT=(n,l,u,f)=>{const p=d3(n,l);let v=0,g,E=S=>{g||(g=!0,f&&f(S))};return new ReadableStream({async pull(S){try{const{done:A,value:C}=await p.next();if(A){E(),S.close();return}let w=C.byteLength;if(u){let M=v+=w;u(M)}S.enqueue(new Uint8Array(C))}catch(A){throw E(A),A}},cancel(S){return E(S),p.return()}},{highWaterMark:2})},ub=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",QT=ub&&typeof ReadableStream=="function",p3=ub&&(typeof TextEncoder=="function"?(n=>l=>n.encode(l))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),ZT=(n,...l)=>{try{return!!n(...l)}catch{return!1}},m3=QT&&ZT(()=>{let n=!1;const l=new Request(pl.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!l}),KT=64*1024,sE=QT&&ZT(()=>Fe.isReadableStream(new Response("").body)),ob={stream:sE&&(n=>n.body)};ub&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(l=>{!ob[l]&&(ob[l]=Fe.isFunction(n[l])?u=>u[l]():(u,f)=>{throw new un(`Response type '${l}' is not supported`,un.ERR_NOT_SUPPORT,f)})})})(new Response);const v3=async n=>{if(n==null)return 0;if(Fe.isBlob(n))return n.size;if(Fe.isSpecCompliantForm(n))return(await new Request(pl.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(Fe.isArrayBufferView(n)||Fe.isArrayBuffer(n))return n.byteLength;if(Fe.isURLSearchParams(n)&&(n=n+""),Fe.isString(n))return(await p3(n)).byteLength},g3=async(n,l)=>{const u=Fe.toFiniteNumber(n.getContentLength());return u??v3(l)},cE={http:jR,xhr:s3,fetch:ub&&(async n=>{let{url:l,method:u,data:f,signal:p,cancelToken:v,timeout:g,onDownloadProgress:E,onUploadProgress:S,responseType:A,headers:C,withCredentials:w="same-origin",fetchOptions:M}=$T(n);A=A?(A+"").toLowerCase():"text";let L=c3([p,v&&v.toAbortSignal()],g),B;const z=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let O;try{if(S&&m3&&u!=="get"&&u!=="head"&&(O=await g3(C,f))!==0){let D=new Request(l,{method:"POST",body:f,duplex:"half"}),j;if(Fe.isFormData(f)&&(j=D.headers.get("content-type"))&&C.setContentType(j),D.body){const[Y,ie]=GT(O,lb(IT(S)));f=PT(D.body,KT,Y,ie)}}Fe.isString(w)||(w=w?"include":"omit");const I="credentials"in Request.prototype;B=new Request(l,{...M,signal:L,method:u.toUpperCase(),headers:C.normalize().toJSON(),body:f,duplex:"half",credentials:I?w:void 0});let X=await fetch(B);const V=sE&&(A==="stream"||A==="response");if(sE&&(E||V&&z)){const D={};["status","statusText","headers"].forEach(oe=>{D[oe]=X[oe]});const j=Fe.toFiniteNumber(X.headers.get("content-length")),[Y,ie]=E&>(j,lb(IT(E),!0))||[];X=new Response(PT(X.body,KT,Y,()=>{ie&&ie(),z&&z()}),D)}A=A||"text";let U=await ob[Fe.findKey(ob,A)||"text"](X,n);return!V&&z&&z(),await new Promise((D,j)=>{YT(D,j,{data:U,headers:gu.from(X.headers),status:X.status,statusText:X.statusText,config:n,request:B})})}catch(I){throw z&&z(),I&&I.name==="TypeError"&&/fetch/i.test(I.message)?Object.assign(new un("Network Error",un.ERR_NETWORK,n,B),{cause:I.cause||I}):un.from(I,I&&I.code,n,B)}})};Fe.forEach(cE,(n,l)=>{if(n){try{Object.defineProperty(n,"name",{value:l})}catch{}Object.defineProperty(n,"adapterName",{value:l})}});const JT=n=>`- ${n}`,y3=n=>Fe.isFunction(n)||n===null||n===!1,WT={getAdapter:n=>{n=Fe.isArray(n)?n:[n];const{length:l}=n;let u,f;const p={};for(let v=0;v<l;v++){u=n[v];let g;if(f=u,!y3(u)&&(f=cE[(g=String(u)).toLowerCase()],f===void 0))throw new un(`Unknown adapter '${g}'`);if(f)break;p[g||"#"+v]=f}if(!f){const v=Object.entries(p).map(([E,S])=>`adapter ${E} `+(S===!1?"is not supported by the environment":"is not available in the build"));let g=l?v.length>1?`since :
|
|
74
|
-
`+v.map(JT).join(`
|
|
75
|
-
`):" "+JT(v[0]):"as no adapter specified";throw new un("There is no suitable adapter to dispatch the request "+g,"ERR_NOT_SUPPORT")}return f},adapters:cE};function fE(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hv(null,n)}function e2(n){return fE(n),n.headers=gu.from(n.headers),n.data=oE.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),WT.getAdapter(n.adapter||xy.adapter)(n).then(function(f){return fE(n),f.data=oE.call(n,n.transformResponse,f),f.headers=gu.from(f.headers),f},function(f){return FT(f)||(fE(n),f&&f.response&&(f.response.data=oE.call(n,n.transformResponse,f.response),f.response.headers=gu.from(f.response.headers))),Promise.reject(f)})}const t2="1.8.4",sb={};["object","boolean","number","function","string","symbol"].forEach((n,l)=>{sb[n]=function(f){return typeof f===n||"a"+(l<1?"n ":" ")+n}});const n2={};sb.transitional=function(l,u,f){function p(v,g){return"[Axios v"+t2+"] Transitional option '"+v+"'"+g+(f?". "+f:"")}return(v,g,E)=>{if(l===!1)throw new un(p(g," has been removed"+(u?" in "+u:"")),un.ERR_DEPRECATED);return u&&!n2[g]&&(n2[g]=!0,console.warn(p(g," has been deprecated since v"+u+" and will be removed in the near future"))),l?l(v,g,E):!0}},sb.spelling=function(l){return(u,f)=>(console.warn(`${f} is likely a misspelling of ${l}`),!0)};function b3(n,l,u){if(typeof n!="object")throw new un("options must be an object",un.ERR_BAD_OPTION_VALUE);const f=Object.keys(n);let p=f.length;for(;p-- >0;){const v=f[p],g=l[v];if(g){const E=n[v],S=E===void 0||g(E,v,n);if(S!==!0)throw new un("option "+v+" must be "+S,un.ERR_BAD_OPTION_VALUE);continue}if(u!==!0)throw new un("Unknown option "+v,un.ERR_BAD_OPTION)}}const cb={assertOptions:b3,validators:sb},Pc=cb.validators;let Gm=class{constructor(l){this.defaults=l,this.interceptors={request:new HT,response:new HT}}async request(l,u){try{return await this._request(l,u)}catch(f){if(f instanceof Error){let p={};Error.captureStackTrace?Error.captureStackTrace(p):p=new Error;const v=p.stack?p.stack.replace(/^.+\n/,""):"";try{f.stack?v&&!String(f.stack).endsWith(v.replace(/^.+\n.+\n/,""))&&(f.stack+=`
|
|
76
|
-
`+v):f.stack=v}catch{}}throw f}}_request(l,u){typeof l=="string"?(u=u||{},u.url=l):u=l||{},u=Ym(this.defaults,u);const{transitional:f,paramsSerializer:p,headers:v}=u;f!==void 0&&cb.assertOptions(f,{silentJSONParsing:Pc.transitional(Pc.boolean),forcedJSONParsing:Pc.transitional(Pc.boolean),clarifyTimeoutError:Pc.transitional(Pc.boolean)},!1),p!=null&&(Fe.isFunction(p)?u.paramsSerializer={serialize:p}:cb.assertOptions(p,{encode:Pc.function,serialize:Pc.function},!0)),u.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?u.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:u.allowAbsoluteUrls=!0),cb.assertOptions(u,{baseUrl:Pc.spelling("baseURL"),withXsrfToken:Pc.spelling("withXSRFToken")},!0),u.method=(u.method||this.defaults.method||"get").toLowerCase();let g=v&&Fe.merge(v.common,v[u.method]);v&&Fe.forEach(["delete","get","head","post","put","patch","common"],B=>{delete v[B]}),u.headers=gu.concat(g,v);const E=[];let S=!0;this.interceptors.request.forEach(function(z){typeof z.runWhen=="function"&&z.runWhen(u)===!1||(S=S&&z.synchronous,E.unshift(z.fulfilled,z.rejected))});const A=[];this.interceptors.response.forEach(function(z){A.push(z.fulfilled,z.rejected)});let C,w=0,M;if(!S){const B=[e2.bind(this),void 0];for(B.unshift.apply(B,E),B.push.apply(B,A),M=B.length,C=Promise.resolve(u);w<M;)C=C.then(B[w++],B[w++]);return C}M=E.length;let L=u;for(w=0;w<M;){const B=E[w++],z=E[w++];try{L=B(L)}catch(O){z.call(this,O);break}}try{C=e2.call(this,L)}catch(B){return Promise.reject(B)}for(w=0,M=A.length;w<M;)C=C.then(A[w++],A[w++]);return C}getUri(l){l=Ym(this.defaults,l);const u=VT(l.baseURL,l.url,l.allowAbsoluteUrls);return UT(u,l.params,l.paramsSerializer)}};Fe.forEach(["delete","get","head","options"],function(l){Gm.prototype[l]=function(u,f){return this.request(Ym(f||{},{method:l,url:u,data:(f||{}).data}))}}),Fe.forEach(["post","put","patch"],function(l){function u(f){return function(v,g,E){return this.request(Ym(E||{},{method:l,headers:f?{"Content-Type":"multipart/form-data"}:{},url:v,data:g}))}}Gm.prototype[l]=u(),Gm.prototype[l+"Form"]=u(!0)});let S3=class y_{constructor(l){if(typeof l!="function")throw new TypeError("executor must be a function.");let u;this.promise=new Promise(function(v){u=v});const f=this;this.promise.then(p=>{if(!f._listeners)return;let v=f._listeners.length;for(;v-- >0;)f._listeners[v](p);f._listeners=null}),this.promise.then=p=>{let v;const g=new Promise(E=>{f.subscribe(E),v=E}).then(p);return g.cancel=function(){f.unsubscribe(v)},g},l(function(v,g,E){f.reason||(f.reason=new Hv(v,g,E),u(f.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(l){if(this.reason){l(this.reason);return}this._listeners?this._listeners.push(l):this._listeners=[l]}unsubscribe(l){if(!this._listeners)return;const u=this._listeners.indexOf(l);u!==-1&&this._listeners.splice(u,1)}toAbortSignal(){const l=new AbortController,u=f=>{l.abort(f)};return this.subscribe(u),l.signal.unsubscribe=()=>this.unsubscribe(u),l.signal}static source(){let l;return{token:new y_(function(p){l=p}),cancel:l}}};function E3(n){return function(u){return n.apply(null,u)}}function x3(n){return Fe.isObject(n)&&n.isAxiosError===!0}const dE={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(dE).forEach(([n,l])=>{dE[l]=n});function a2(n){const l=new Gm(n),u=xT(Gm.prototype.request,l);return Fe.extend(u,Gm.prototype,l,{allOwnKeys:!0}),Fe.extend(u,l,null,{allOwnKeys:!0}),u.create=function(p){return a2(Ym(n,p))},u}const Ka=a2(xy);Ka.Axios=Gm,Ka.CanceledError=Hv,Ka.CancelToken=S3,Ka.isCancel=FT,Ka.VERSION=t2,Ka.toFormData=rb,Ka.AxiosError=un,Ka.Cancel=Ka.CanceledError,Ka.all=function(l){return Promise.all(l)},Ka.spread=E3,Ka.isAxiosError=x3,Ka.mergeConfig=Ym,Ka.AxiosHeaders=gu,Ka.formToJSON=n=>kT(Fe.isHTMLForm(n)?new FormData(n):n),Ka.getAdapter=WT.getAdapter,Ka.HttpStatusCode=dE,Ka.default=Ka;const{Axios:j5,AxiosError:k5,CanceledError:q5,isCancel:F5,CancelToken:Y5,VERSION:G5,all:I5,Cancel:V5,isAxiosError:X5,spread:$5,toFormData:P5,AxiosHeaders:Q5,HttpStatusCode:Z5,formToJSON:K5,getAdapter:J5,mergeConfig:W5}=Ka,jv={addData:W_,fetchData:n=>{var w,M;const l=n==null?void 0:n.event,u=document.body;if(u.dataset.htmlBuilderIsSubmitting==="true")return;u.dataset.htmlBuilderIsSubmitting="true";const f=l.currentTarget;f!=null&&f.dataset&&(f.dataset.isSubmitting="true");const{globalDataContext:p,templateContext:v}=n,g=p.getRootContext?p.getRootContext():p,E=((w=n==null?void 0:n.args)==null?void 0:w.refreshAppOnResponse)??!0,S=ca({valueToEvaluate:(M=n==null?void 0:n.args)==null?void 0:M.url,globalDataContext:g,templateContext:v});if(!S)return;const A=g.headersForData??{},{setRawAppData:C}=g;Ka.get(S,{headers:A}).then(L=>{E&&C(L.data)}).catch(L=>{console.log("reactionFunction:fetchData : Could not fetch. Reason: "+L.message)}).finally(()=>{delete u.dataset.htmlBuilderIsSubmitting,f!=null&&f.dataset&&delete f.dataset.isSubmitting})},moveData:n=>{const{globalDataContext:l,templateContext:u}=n,{path:f,target:p}=n.args;if(f===void 0&&p!=="currentTemplateData")return;let v;if(f)v=Wo({currentPath:u.templatePath,dataLocation:f,globalDataContext:l,templateContext:u});else{v=u.templatePath;let E=n.args.parentLevel??0;for(;E>0;){--E;const S=v.lastIndexOf(".");if(S<1)return;v=v.substring(0,S)}}const{increment:g}=n.args;l==null||l.updateData({increment:g},v,"move")},postMessage:n=>{var v,g,E,S,A,C,w,M,L,B,z;const u={parent:window.parent,self:window}[((v=n==null?void 0:n.args)==null?void 0:v.messageTarget)??"parent"]??window,f=((g=n==null?void 0:n.args)==null?void 0:g.targetOrigin)??window.location.origin,p=Mb({globalDataContext:n.globalDataContext,templateContext:n.templateContext,valueToEvaluate:(E=n==null?void 0:n.args)==null?void 0:E.message});if(((S=n==null?void 0:n.args)==null?void 0:S.on)==="change"&&typeof p=="object"&&((A=n==null?void 0:n.args)!=null&&A.includeChangedValue)&&((w=(C=n==null?void 0:n.event)==null?void 0:C.target)==null?void 0:w.nodeName)==="INPUT"){let O;switch((L=(M=n==null?void 0:n.event)==null?void 0:M.target)==null?void 0:L.type){case"checkbox":O=(z=(B=n==null?void 0:n.event)==null?void 0:B.target)==null?void 0:z.checked;break}p.changedValue=O}u&&f&&u.postMessage(p,f)},redirectNow:n=>{const{globalDataContext:l,templateContext:u}=n,{to:f}=n.args;!f||typeof f!="string"||(window.location.href=ca({valueToEvaluate:f,globalDataContext:l,templateContext:u}))},removeData:n=>{const{globalDataContext:l,templateContext:u}=n,{path:f,target:p}=n.args;if(f===void 0&&p!=="currentTemplateData")return;let v;if(f)v=Wo({currentPath:u.templatePath,dataLocation:f,globalDataContext:l,templateContext:u});else{v=u.templatePath;let g=n.args.parentLevel??0;for(;g>0;){--g;const E=v.lastIndexOf(".");if(E<1)return;v=v.substring(0,E)}}l==null||l.updateData(void 0,v,"remove")},setClipboardData:async n=>{var p;const{globalDataContext:l,templateContext:u}=n,f=ca({valueToEvaluate:(p=n==null?void 0:n.args)==null?void 0:p.value,globalDataContext:l,templateContext:u});if(typeof f=="string")try{await navigator.clipboard.writeText(f.toString())}catch(v){console.error("Failed to copy data to the clipboard:",v)}},setData:n=>{const{globalDataContext:l,templateContext:u}=n,{path:f,value:p}=n.args;if(f===void 0)return;const v=Wo({currentPath:u.templatePath,dataLocation:f,globalDataContext:l,templateContext:u}),g=ca({valueToEvaluate:p,globalDataContext:l,templateContext:u});l==null||l.updateData(typeof g!="object"?g:Yh.cloneDeep(g),v)},submitData:n=>{var L,B,z,O,I;const l=n==null?void 0:n.event,u=document.body;if(u.dataset.htmlBuilderIsSubmitting==="true")return;u.dataset.htmlBuilderIsSubmitting="true",(L=n==null?void 0:n.args)!=null&&L.submitSilently?u.dataset.htmlBuilderIsSubmittingSilently="true":delete u.dataset.htmlBuilderIsSubmittingSilently;const f=l==null?void 0:l.currentTarget;f!=null&&f.dataset&&(f.dataset.isSubmitting="true");const{globalDataContext:p,templateContext:v}=n,g=p.getRootContext?p.getRootContext():p,E=((B=n==null?void 0:n.args)==null?void 0:B.refreshAppOnResponse)??!0,S=ca({valueToEvaluate:(z=n==null?void 0:n.args)==null?void 0:z.url,globalDataContext:g,templateContext:v});if(!S)return;let A={};if((O=n==null?void 0:n.args)!=null&&O.hasOwnProperty("data")){let X=function(V,U){if(Array.isArray(V))return V.map(U);if(typeof V=="object"&&V!==null){const D=Object.entries(V).map(([j,Y])=>[j,U(Y)]);return Object.fromEntries(D)}else return U(V)?V:null};A=n.args.data,A=X(A,V=>ca({valueToEvaluate:V,globalDataContext:g,templateContext:v})),g.templateData.__state!==void 0&&(A.__state=g.templateData.__state)}else A.data=g.templateData,g.templateData.__state!==void 0&&(A.data.__state=g.templateData.__state);const C=g.headersForData??{},{setRawAppData:w}=g,M={method:((I=n==null?void 0:n.args)==null?void 0:I.httpMethod)??"post",url:S,data:A};C&&(M.headers=C),Ka(M).then(X=>{E&&w(X.data)}).catch(X=>{console.log("reactionFunction:submitData : Could not submit. Reason: "+X.message)}).finally(()=>{delete u.dataset.htmlBuilderIsSubmitting,delete u.dataset.htmlBuilderIsSubmittingSilently,f!=null&&f.dataset&&delete f.dataset.isSubmitting})},triggerEvent:n=>{var S,A,C,w,M,L;const l=(S=n==null?void 0:n.args)==null?void 0:S.selector;if(!l||typeof l!="string"||l.length===0)return;const u=(A=n==null?void 0:n.args)==null?void 0:A.selectorBase;let f;if(typeof u>"u"?f=document:u==="currentEventTarget"?f=(C=n==null?void 0:n.event)==null?void 0:C.target:f=(M=(w=n==null?void 0:n.event)==null?void 0:w.target)==null?void 0:M.closest(u),!f)return;const p=(L=n==null?void 0:n.args)==null?void 0:L.eventName;if(!p||typeof p!="string"||p.length===0)return;const v=f.querySelectorAll(l),g=Object.entries(v),E=()=>{var O,I;const B=((I=(O=g.splice(0,1))==null?void 0:O[0])==null?void 0:I[1])??void 0;if(!B)return;const z=new Event(p,{bubbles:!0,cancelable:!1});B.dispatchEvent(z),Promise.resolve().then(E)};E()}},A3=n=>{const l=q.useContext(Aa),u=q.useContext(ua),{actionProps:f}=n,p={};for(const[E,S]of Object.entries(f))p[E]=A=>{let C=!0;for(const w of S){if(!w)continue;const M=w.what&&(jv[w.what]??null);if(M){if(M({args:w,event:A,globalDataContext:l,templateContext:u}),w.stopPropagation===!0)break;C=w.stopPropagation??!0}}C!==!1&&A.stopPropagation()};const v=E=>{if(!E)return E;const S=q.Children.toArray(E);return q.Children.map(S,A=>{var C;return A.type===q.Fragment?v((C=A==null?void 0:A.props)==null?void 0:C.children):typeof A!="object"||!q.isValidElement(A)?A:q.cloneElement(A,p)})},g=v(n.children);return te.jsx(te.Fragment,{children:g})},T3=n=>{const l=q.useContext(FS),u=q.useContext(Aa),f=q.useContext(ua),p=(n==null?void 0:n.actionProps)??void 0;return q.useEffect(()=>{const v=p??void 0,g=(p==null?void 0:p.what)??void 0,E=(p==null?void 0:p.whenHashIs)??void 0,S=(p==null?void 0:p.whenHashWas)??void 0,A=Mb({globalDataContext:u,templateContext:f,valueToEvaluate:E}),C=Mb({globalDataContext:u,templateContext:f,valueToEvaluate:S}),w=M=>{if(typeof A=="string"&&new URL(M.newUrl).hash!==A||typeof C=="string"&&new URL(M.oldUrl).hash!==A)return;const L=g&&(jv[g]??void 0);L&&L({args:v,event:M,globalDataContext:u,templateContext:f})};return l==null||l.addEventListener("hashchange",w),()=>{l==null||l.removeEventListener("hashchange",w)}},[l,u,p,f]),te.jsx(te.Fragment,{children:n.children})},C3=()=>null,w3=n=>{const l=q.useContext(FS),u=q.useContext(Aa),f=q.useContext(ua),p=(n==null?void 0:n.actionProps)??void 0;return q.useEffect(()=>{const v=p??void 0,g=(p==null?void 0:p.what)??void 0,E=(p==null?void 0:p.whenMessageIs)??void 0,S=Mb({globalDataContext:u,templateContext:f,valueToEvaluate:E}),A=C=>{if(C.origin!==window.location.origin||!Yh.isEqual(C.data,S))return;const w=g&&(jv[g]??void 0);w&&w({args:v,event:C,globalDataContext:u,templateContext:f})};return l==null||l.addEventListener("message",A),()=>{l==null||l.removeEventListener("message",A)}},[l,u,p,f]),te.jsx(te.Fragment,{children:n.children})};function hE(){return hE=Object.assign?Object.assign.bind():function(n){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var f in u)({}).hasOwnProperty.call(u,f)&&(n[f]=u[f])}return n},hE.apply(null,arguments)}function r2(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)!==-1)continue;u[f]=n[f]}return u}function i2(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function O3(n){var l=D3(n,"string");return typeof l=="symbol"?l:String(l)}function D3(n,l){if(typeof n!="object"||n===null)return n;var u=n[Symbol.toPrimitive];if(u!==void 0){var f=u.call(n,l);if(typeof f!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function l2(n,l,u){var f=q.useRef(n!==void 0),p=q.useState(l),v=p[0],g=p[1],E=n!==void 0,S=f.current;return f.current=E,!E&&S&&v!==l&&g(l),[E?n:v,q.useCallback(function(A){for(var C=arguments.length,w=new Array(C>1?C-1:0),M=1;M<C;M++)w[M-1]=arguments[M];u&&u.apply(void 0,[A].concat(w)),g(A)},[u])]}function fb(n,l){return Object.keys(l).reduce(function(u,f){var p,v=u,g=v[i2(f)],E=v[f],S=r2(v,[i2(f),f].map(O3)),A=l[f],C=l2(E,g,n[A]),w=C[0],M=C[1];return hE({},S,(p={},p[f]=w,p[A]=M,p))},n)}function pE(n,l){return pE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,f){return u.__proto__=f,u},pE(n,l)}function _3(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,pE(n,l)}function kv(n){return n&&n.ownerDocument||document}function R3(n){var l=kv(n);return l&&l.defaultView||window}function M3(n,l){return R3(n).getComputedStyle(n,l)}var N3=/([A-Z])/g;function B3(n){return n.replace(N3,"-$1").toLowerCase()}var L3=/^ms-/;function db(n){return B3(n).replace(L3,"-ms-")}var z3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function U3(n){return!!(n&&z3.test(n))}function md(n,l){var u="",f="";if(typeof l=="string")return n.style.getPropertyValue(db(l))||M3(n).getPropertyValue(db(l));Object.keys(l).forEach(function(p){var v=l[p];!v&&v!==0?n.style.removeProperty(db(p)):U3(p)?f+=p+"("+v+") ":u+=db(p)+": "+v+";"}),f&&(u+="transform: "+f+";"),n.style.cssText+=";"+u}const u2={disabled:!1};var H3=process.env.NODE_ENV!=="production"?Mt.oneOfType([Mt.number,Mt.shape({enter:Mt.number,exit:Mt.number,appear:Mt.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&Mt.oneOfType([Mt.string,Mt.shape({enter:Mt.string,exit:Mt.string,active:Mt.string}),Mt.shape({enter:Mt.string,enterDone:Mt.string,enterActive:Mt.string,exit:Mt.string,exitDone:Mt.string,exitActive:Mt.string})]);const o2=q.createContext(null);var j3=function(l){return l.scrollTop},Ty="unmounted",Gh="exited",vd="entering",Ih="entered",hb="exiting",gd=function(n){_3(l,n);function l(f,p){var v;v=n.call(this,f,p)||this;var g=p,E=g&&!g.isMounting?f.enter:f.appear,S;return v.appearStatus=null,f.in?E?(S=Gh,v.appearStatus=vd):S=Ih:f.unmountOnExit||f.mountOnEnter?S=Ty:S=Gh,v.state={status:S},v.nextCallback=null,v}l.getDerivedStateFromProps=function(p,v){var g=p.in;return g&&v.status===Ty?{status:Gh}:null};var u=l.prototype;return u.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},u.componentDidUpdate=function(p){var v=null;if(p!==this.props){var g=this.state.status;this.props.in?g!==vd&&g!==Ih&&(v=vd):(g===vd||g===Ih)&&(v=hb)}this.updateStatus(!1,v)},u.componentWillUnmount=function(){this.cancelNextCallback()},u.getTimeouts=function(){var p=this.props.timeout,v,g,E;return v=g=E=p,p!=null&&typeof p!="number"&&(v=p.exit,g=p.enter,E=p.appear!==void 0?p.appear:g),{exit:v,enter:g,appear:E}},u.updateStatus=function(p,v){if(p===void 0&&(p=!1),v!==null)if(this.cancelNextCallback(),v===vd){if(this.props.unmountOnExit||this.props.mountOnEnter){var g=this.props.nodeRef?this.props.nodeRef.current:Gl.findDOMNode(this);g&&j3(g)}this.performEnter(p)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gh&&this.setState({status:Ty})},u.performEnter=function(p){var v=this,g=this.props.enter,E=this.context?this.context.isMounting:p,S=this.props.nodeRef?[E]:[Gl.findDOMNode(this),E],A=S[0],C=S[1],w=this.getTimeouts(),M=E?w.appear:w.enter;if(!p&&!g||u2.disabled){this.safeSetState({status:Ih},function(){v.props.onEntered(A)});return}this.props.onEnter(A,C),this.safeSetState({status:vd},function(){v.props.onEntering(A,C),v.onTransitionEnd(M,function(){v.safeSetState({status:Ih},function(){v.props.onEntered(A,C)})})})},u.performExit=function(){var p=this,v=this.props.exit,g=this.getTimeouts(),E=this.props.nodeRef?void 0:Gl.findDOMNode(this);if(!v||u2.disabled){this.safeSetState({status:Gh},function(){p.props.onExited(E)});return}this.props.onExit(E),this.safeSetState({status:hb},function(){p.props.onExiting(E),p.onTransitionEnd(g.exit,function(){p.safeSetState({status:Gh},function(){p.props.onExited(E)})})})},u.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},u.safeSetState=function(p,v){v=this.setNextCallback(v),this.setState(p,v)},u.setNextCallback=function(p){var v=this,g=!0;return this.nextCallback=function(E){g&&(g=!1,v.nextCallback=null,p(E))},this.nextCallback.cancel=function(){g=!1},this.nextCallback},u.onTransitionEnd=function(p,v){this.setNextCallback(v);var g=this.props.nodeRef?this.props.nodeRef.current:Gl.findDOMNode(this),E=p==null&&!this.props.addEndListener;if(!g||E){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var S=this.props.nodeRef?[this.nextCallback]:[g,this.nextCallback],A=S[0],C=S[1];this.props.addEndListener(A,C)}p!=null&&setTimeout(this.nextCallback,p)},u.render=function(){var p=this.state.status;if(p===Ty)return null;var v=this.props,g=v.children;v.in,v.mountOnEnter,v.unmountOnExit,v.appear,v.enter,v.exit,v.timeout,v.addEndListener,v.onEnter,v.onEntering,v.onEntered,v.onExit,v.onExiting,v.onExited,v.nodeRef;var E=r2(v,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return q.createElement(o2.Provider,{value:null},typeof g=="function"?g(p,E):q.cloneElement(q.Children.only(g),E))},l}(q.Component);gd.contextType=o2,gd.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Mt.shape({current:typeof Element>"u"?Mt.any:function(n,l,u,f,p,v){var g=n[l];return Mt.instanceOf(g&&"ownerDocument"in g?g.ownerDocument.defaultView.Element:Element)(n,l,u,f,p,v)}}),children:Mt.oneOfType([Mt.func.isRequired,Mt.element.isRequired]).isRequired,in:Mt.bool,mountOnEnter:Mt.bool,unmountOnExit:Mt.bool,appear:Mt.bool,enter:Mt.bool,exit:Mt.bool,timeout:function(l){var u=H3;l.addEndListener||(u=u.isRequired);for(var f=arguments.length,p=new Array(f>1?f-1:0),v=1;v<f;v++)p[v-1]=arguments[v];return u.apply(void 0,[l].concat(p))},addEndListener:Mt.func,onEnter:Mt.func,onEntering:Mt.func,onEntered:Mt.func,onExit:Mt.func,onExiting:Mt.func,onExited:Mt.func}:{};function qv(){}gd.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qv,onEntering:qv,onEntered:qv,onExit:qv,onExiting:qv,onExited:qv},gd.UNMOUNTED=Ty,gd.EXITED=Gh,gd.ENTERING=vd,gd.ENTERED=Ih,gd.EXITING=hb;function s2(n){return n.code==="Escape"||n.keyCode===27}function k3(){const n=st.version.split(".");return{major:+n[0],minor:+n[1],patch:+n[2]}}function Fv(n){if(!n||typeof n=="function")return null;const{major:l}=k3();return l>=19?n.props.ref:n.ref}const Yv=!!(typeof window<"u"&&window.document&&window.document.createElement);var mE=!1,vE=!1;try{var gE={get passive(){return mE=!0},get once(){return vE=mE=!0}};Yv&&(window.addEventListener("test",gE,gE),window.removeEventListener("test",gE,!0))}catch{}function c2(n,l,u,f){if(f&&typeof f!="boolean"&&!vE){var p=f.once,v=f.capture,g=u;!vE&&p&&(g=u.__once||function E(S){this.removeEventListener(l,E,v),u.call(this,S)},u.__once=g),n.addEventListener(l,g,mE?f:v)}n.addEventListener(l,u,f)}function yE(n,l,u,f){var p=f&&typeof f!="boolean"?f.capture:f;n.removeEventListener(l,u,p),u.__once&&n.removeEventListener(l,u.__once,p)}function yd(n,l,u,f){return c2(n,l,u,f),function(){yE(n,l,u,f)}}function q3(n,l,u,f){if(f===void 0&&(f=!0),n){var p=document.createEvent("HTMLEvents");p.initEvent(l,u,f),n.dispatchEvent(p)}}function F3(n){var l=md(n,"transitionDuration")||"",u=l.indexOf("ms")===-1?1e3:1;return parseFloat(l)*u}function Y3(n,l,u){u===void 0&&(u=5);var f=!1,p=setTimeout(function(){f||q3(n,"transitionend",!0)},l+u),v=yd(n,"transitionend",function(){f=!0},{once:!0});return function(){clearTimeout(p),v()}}function f2(n,l,u,f){u==null&&(u=F3(n)||0);var p=Y3(n,u,f),v=yd(n,"transitionend",l);return function(){p(),v()}}function d2(n,l){const u=md(n,l)||"",f=u.indexOf("ms")===-1?1e3:1;return parseFloat(u)*f}function h2(n,l){const u=d2(n,"transitionDuration"),f=d2(n,"transitionDelay"),p=f2(n,v=>{v.target===n&&(p(),l(v))},u+f)}function Cy(...n){return n.filter(l=>l!=null).reduce((l,u)=>{if(typeof u!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return l===null?u:function(...p){l.apply(this,p),u.apply(this,p)}},null)}function p2(n){n.offsetHeight}const m2=n=>!n||typeof n=="function"?n:l=>{n.current=l};function G3(n,l){const u=m2(n),f=m2(l);return p=>{u&&u(p),f&&f(p)}}function pb(n,l){return q.useMemo(()=>G3(n,l),[n,l])}function mb(n){return n&&"setState"in n?Gl.findDOMNode(n):n??null}const v2=q.forwardRef(({onEnter:n,onEntering:l,onEntered:u,onExit:f,onExiting:p,onExited:v,addEndListener:g,children:E,childRef:S,...A},C)=>{const w=q.useRef(null),M=pb(w,S),L=j=>{M(mb(j))},B=j=>Y=>{j&&w.current&&j(w.current,Y)},z=q.useCallback(B(n),[n]),O=q.useCallback(B(l),[l]),I=q.useCallback(B(u),[u]),X=q.useCallback(B(f),[f]),V=q.useCallback(B(p),[p]),U=q.useCallback(B(v),[v]),D=q.useCallback(B(g),[g]);return te.jsx(gd,{ref:C,...A,onEnter:z,onEntered:I,onEntering:O,onExit:X,onExited:U,onExiting:V,addEndListener:D,nodeRef:w,children:typeof E=="function"?(j,Y)=>E(j,{...Y,ref:L}):q.cloneElement(E,{ref:L})})}),I3={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function V3(n,l){const u=`offset${n[0].toUpperCase()}${n.slice(1)}`,f=l[u],p=I3[n];return f+parseInt(md(l,p[0]),10)+parseInt(md(l,p[1]),10)}const X3={[Gh]:"collapse",[hb]:"collapsing",[vd]:"collapsing",[Ih]:"collapse show"},$3=q.forwardRef(({onEnter:n,onEntering:l,onEntered:u,onExit:f,onExiting:p,className:v,children:g,dimension:E="height",in:S=!1,timeout:A=300,mountOnEnter:C=!1,unmountOnExit:w=!1,appear:M=!1,getDimensionValue:L=V3,...B},z)=>{const O=typeof E=="function"?E():E,I=q.useMemo(()=>Cy(j=>{j.style[O]="0"},n),[O,n]),X=q.useMemo(()=>Cy(j=>{const Y=`scroll${O[0].toUpperCase()}${O.slice(1)}`;j.style[O]=`${j[Y]}px`},l),[O,l]),V=q.useMemo(()=>Cy(j=>{j.style[O]=null},u),[O,u]),U=q.useMemo(()=>Cy(j=>{j.style[O]=`${L(O,j)}px`,p2(j)},f),[f,L,O]),D=q.useMemo(()=>Cy(j=>{j.style[O]=null},p),[O,p]);return te.jsx(v2,{ref:z,addEndListener:h2,...B,"aria-expanded":B.role?S:null,onEnter:I,onEntering:X,onEntered:V,onExit:U,onExiting:D,childRef:Fv(g),in:S,timeout:A,mountOnEnter:C,unmountOnExit:w,appear:M,children:(j,Y)=>q.cloneElement(g,{...Y,className:jt(v,g.props.className,X3[j],O==="width"&&"collapse-horizontal")})})});function g2(n,l){return Array.isArray(n)?n.includes(l):n===l}const wy=st.createContext({});wy.displayName="AccordionContext";const bE=st.forwardRef(({as:n="div",bsPrefix:l,className:u,children:f,eventKey:p,...v},g)=>{const{activeEventKey:E}=q.useContext(wy);return l=dn(l,"accordion-collapse"),te.jsx($3,{ref:g,in:g2(E,p),...v,className:jt(u,l),children:te.jsx(n,{children:st.Children.only(f)})})});bE.displayName="AccordionCollapse";const vb=st.createContext({eventKey:""});vb.displayName="AccordionItemContext";const y2=st.forwardRef(({as:n="div",bsPrefix:l,className:u,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:E,onExited:S,...A},C)=>{l=dn(l,"accordion-body");const{eventKey:w}=q.useContext(vb);return te.jsx(bE,{eventKey:w,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:E,onExited:S,children:te.jsx(n,{ref:C,...A,className:jt(u,l)})})});y2.displayName="AccordionBody";function P3(n,l){const{activeEventKey:u,onSelect:f,alwaysOpen:p}=q.useContext(wy);return v=>{let g=n===u?null:n;p&&(Array.isArray(u)?u.includes(n)?g=u.filter(E=>E!==n):g=[...u,n]:g=[n]),f==null||f(g,v),l==null||l(v)}}const SE=st.forwardRef(({as:n="button",bsPrefix:l,className:u,onClick:f,...p},v)=>{l=dn(l,"accordion-button");const{eventKey:g}=q.useContext(vb),E=P3(g,f),{activeEventKey:S}=q.useContext(wy);return n==="button"&&(p.type="button"),te.jsx(n,{ref:v,onClick:E,...p,"aria-expanded":Array.isArray(S)?S.includes(g):g===S,className:jt(u,l,!g2(S,g)&&"collapsed")})});SE.displayName="AccordionButton";const b2=st.forwardRef(({as:n="h2","aria-controls":l,bsPrefix:u,className:f,children:p,onClick:v,...g},E)=>(u=dn(u,"accordion-header"),te.jsx(n,{ref:E,...g,className:jt(f,u),children:te.jsx(SE,{onClick:v,"aria-controls":l,children:p})})));b2.displayName="AccordionHeader";const S2=st.forwardRef(({as:n="div",bsPrefix:l,className:u,eventKey:f,...p},v)=>{l=dn(l,"accordion-item");const g=q.useMemo(()=>({eventKey:f}),[f]);return te.jsx(vb.Provider,{value:g,children:te.jsx(n,{ref:v,...p,className:jt(u,l)})})});S2.displayName="AccordionItem";const E2=st.forwardRef((n,l)=>{const{as:u="div",activeKey:f,bsPrefix:p,className:v,onSelect:g,flush:E,alwaysOpen:S,...A}=fb(n,{activeKey:"onSelect"}),C=dn(p,"accordion"),w=q.useMemo(()=>({activeEventKey:f,onSelect:g,alwaysOpen:S}),[f,g,S]);return te.jsx(wy.Provider,{value:w,children:te.jsx(u,{ref:l,...A,className:jt(v,C,E&&`${C}-flush`)})})});E2.displayName="Accordion";const gb=Object.assign(E2,{Button:SE,Collapse:bE,Item:S2,Header:b2,Body:y2});function Q3(n){const l=q.useRef(n);return q.useEffect(()=>{l.current=n},[n]),l}function Oy(n){const l=Q3(n);return q.useCallback(function(...u){return l.current&&l.current(...u)},[l])}const x2=n=>st.forwardRef((l,u)=>te.jsx("div",{...l,ref:u,className:jt(l.className,n)})),A2=x2("h4");A2.displayName="DivStyledAsH4";const T2=st.forwardRef(({className:n,bsPrefix:l,as:u=A2,...f},p)=>(l=dn(l,"alert-heading"),te.jsx(u,{ref:p,className:jt(n,l),...f})));T2.displayName="AlertHeading";function C2(){return q.useState(null)}function Z3(n){const l=q.useRef(n);return q.useEffect(()=>{l.current=n},[n]),l}function Zo(n){const l=Z3(n);return q.useCallback(function(...u){return l.current&&l.current(...u)},[l])}function w2(){const n=q.useRef(!0),l=q.useRef(()=>n.current);return q.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),l.current}function K3(n){const l=q.useRef(null);return q.useEffect(()=>{l.current=n}),l.current}const J3=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",O2=typeof document<"u"||J3?q.useLayoutEffect:q.useEffect,W3=["as","disabled"];function eM(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}function tM(n){return!n||n.trim()==="#"}function EE({tagName:n,disabled:l,href:u,target:f,rel:p,role:v,onClick:g,tabIndex:E=0,type:S}){n||(u!=null||f!=null||p!=null?n="a":n="button");const A={tagName:n};if(n==="button")return[{type:S||"button",disabled:l},A];const C=M=>{if((l||n==="a"&&tM(u))&&M.preventDefault(),l){M.stopPropagation();return}g==null||g(M)},w=M=>{M.key===" "&&(M.preventDefault(),C(M))};return n==="a"&&(u||(u="#"),l&&(u=void 0)),[{role:v??"button",disabled:void 0,tabIndex:l?void 0:E,href:u,target:n==="a"?f:void 0,"aria-disabled":l||void 0,rel:n==="a"?p:void 0,onClick:C,onKeyDown:w},A]}const D2=st.forwardRef((n,l)=>{let{as:u,disabled:f}=n,p=eM(n,W3);const[v,{tagName:g}]=EE(Object.assign({tagName:u,disabled:f},p));return te.jsx(g,Object.assign({},p,v,{ref:l}))});D2.displayName="Button";const nM=["onKeyDown"];function aM(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}function rM(n){return!n||n.trim()==="#"}const yb=st.forwardRef((n,l)=>{let{onKeyDown:u}=n,f=aM(n,nM);const[p]=EE(Object.assign({tagName:"a"},f)),v=Zo(g=>{p.onKeyDown(g),u==null||u(g)});return rM(f.href)||f.role==="button"?te.jsx("a",Object.assign({ref:l},f,p,{onKeyDown:v})):te.jsx("a",Object.assign({ref:l},f,{onKeyDown:u}))});yb.displayName="Anchor";const _2=st.forwardRef(({className:n,bsPrefix:l,as:u=yb,...f},p)=>(l=dn(l,"alert-link"),te.jsx(u,{ref:p,className:jt(n,l),...f})));_2.displayName="AlertLink";const iM={[vd]:"show",[Ih]:"show"},bd=st.forwardRef(({className:n,children:l,transitionClasses:u={},onEnter:f,...p},v)=>{const g={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...p},E=q.useCallback((S,A)=>{p2(S),f==null||f(S,A)},[f]);return te.jsx(v2,{ref:v,addEndListener:h2,...g,onEnter:E,childRef:Fv(l),children:(S,A)=>st.cloneElement(l,{...A,className:jt("fade",n,l.props.className,iM[S],u[S])})})});bd.displayName="Fade";const lM={"aria-label":Mt.string,onClick:Mt.func,variant:Mt.oneOf(["white"])},bb=st.forwardRef(({className:n,variant:l,"aria-label":u="Close",...f},p)=>te.jsx("button",{ref:p,type:"button",className:jt("btn-close",l&&`btn-close-${l}`,n),"aria-label":u,...f}));bb.displayName="CloseButton",bb.propTypes=lM;const R2=st.forwardRef((n,l)=>{const{bsPrefix:u,show:f=!0,closeLabel:p="Close alert",closeVariant:v,className:g,children:E,variant:S="primary",onClose:A,dismissible:C,transition:w=bd,...M}=fb(n,{show:"onClose"}),L=dn(u,"alert"),B=Oy(I=>{A&&A(!1,I)}),z=w===!0?bd:w,O=te.jsxs("div",{role:"alert",...z?void 0:M,ref:l,className:jt(g,L,S&&`${L}-${S}`,C&&`${L}-dismissible`),children:[C&&te.jsx(bb,{onClick:B,"aria-label":p,variant:v}),E]});return z?te.jsx(z,{unmountOnExit:!0,...M,ref:void 0,in:f,children:O}):f?O:null});R2.displayName="Alert";const uM=Object.assign(R2,{Link:_2,Heading:T2}),M2=st.forwardRef(({bsPrefix:n,bg:l="primary",pill:u=!1,text:f,className:p,as:v="span",...g},E)=>{const S=dn(n,"badge");return te.jsx(v,{ref:E,...g,className:jt(p,S,u&&"rounded-pill",f&&`text-${f}`,l&&`bg-${l}`)})});M2.displayName="Badge";const N2=st.forwardRef(({as:n,bsPrefix:l,variant:u="primary",size:f,active:p=!1,disabled:v=!1,className:g,...E},S)=>{const A=dn(l,"btn"),[C,{tagName:w}]=EE({tagName:n,disabled:v,...E}),M=w;return te.jsx(M,{...C,...E,ref:S,disabled:v,className:jt(g,A,p&&"active",u&&`${A}-${u}`,f&&`${A}-${f}`,E.href&&v&&"disabled")})});N2.displayName="Button";const B2=st.createContext(null);B2.displayName="CardHeaderContext";function oM(){const n=q.useRef(!0),l=q.useRef(()=>n.current);return q.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),l.current}function sM(n){const l=q.useRef(n);return l.current=n,l}function L2(n){const l=sM(n);q.useEffect(()=>()=>l.current(),[])}const xE=2**31-1;function z2(n,l,u){const f=u-Date.now();n.current=f<=xE?setTimeout(l,f):setTimeout(()=>z2(n,l,u),xE)}function cM(){const n=oM(),l=q.useRef();return L2(()=>clearTimeout(l.current)),q.useMemo(()=>{const u=()=>clearTimeout(l.current);function f(p,v=0){n()&&(u(),v<=xE?l.current=setTimeout(p,v):z2(l,p,Date.now()+v))}return{set:f,clear:u,handleRef:l}},[])}var fM=Function.prototype.bind.call(Function.prototype.call,[].slice);function Im(n,l){return fM(n.querySelectorAll(l))}function dM(n,l,u){const f=q.useRef(n!==void 0),[p,v]=q.useState(l),g=n!==void 0,E=f.current;return f.current=g,!g&&E&&p!==l&&v(l),[g?n:p,q.useCallback((...S)=>{const[A,...C]=S;let w=u==null?void 0:u(A,...C);return v(A),w},[u])]}function hM(){const[,n]=q.useReducer(l=>l+1,0);return n}var U2=Object.prototype.hasOwnProperty;function H2(n,l,u){for(u of n.keys())if(Dy(u,l))return u}function Dy(n,l){var u,f,p;if(n===l)return!0;if(n&&l&&(u=n.constructor)===l.constructor){if(u===Date)return n.getTime()===l.getTime();if(u===RegExp)return n.toString()===l.toString();if(u===Array){if((f=n.length)===l.length)for(;f--&&Dy(n[f],l[f]););return f===-1}if(u===Set){if(n.size!==l.size)return!1;for(f of n)if(p=f,p&&typeof p=="object"&&(p=H2(l,p),!p)||!l.has(p))return!1;return!0}if(u===Map){if(n.size!==l.size)return!1;for(f of n)if(p=f[0],p&&typeof p=="object"&&(p=H2(l,p),!p)||!Dy(f[1],l.get(p)))return!1;return!0}if(u===ArrayBuffer)n=new Uint8Array(n),l=new Uint8Array(l);else if(u===DataView){if((f=n.byteLength)===l.byteLength)for(;f--&&n.getInt8(f)===l.getInt8(f););return f===-1}if(ArrayBuffer.isView(n)){if((f=n.byteLength)===l.byteLength)for(;f--&&n[f]===l[f];);return f===-1}if(!u||typeof n=="object"){f=0;for(u in n)if(U2.call(n,u)&&++f&&!U2.call(l,u)||!(u in l)||!Dy(n[u],l[u]))return!1;return Object.keys(l).length===f}}return n!==n&&l!==l}function pM(n){const l=w2();return[n[0],q.useCallback(u=>{if(l())return n[1](u)},[l,n[1]])]}var yu="top",Ko="bottom",Jo="right",bu="left",AE="auto",_y=[yu,Ko,Jo,bu],Gv="start",Ry="end",mM="clippingParents",j2="viewport",My="popper",vM="reference",k2=_y.reduce(function(n,l){return n.concat([l+"-"+Gv,l+"-"+Ry])},[]),q2=[].concat(_y,[AE]).reduce(function(n,l){return n.concat([l,l+"-"+Gv,l+"-"+Ry])},[]),gM="beforeRead",yM="read",bM="afterRead",SM="beforeMain",EM="main",xM="afterMain",AM="beforeWrite",TM="write",CM="afterWrite",wM=[gM,yM,bM,SM,EM,xM,AM,TM,CM];function Qc(n){return n.split("-")[0]}function ho(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var l=n.ownerDocument;return l&&l.defaultView||window}return n}function Vm(n){var l=ho(n).Element;return n instanceof l||n instanceof Element}function Zc(n){var l=ho(n).HTMLElement;return n instanceof l||n instanceof HTMLElement}function TE(n){if(typeof ShadowRoot>"u")return!1;var l=ho(n).ShadowRoot;return n instanceof l||n instanceof ShadowRoot}var Xm=Math.max,Sb=Math.min,Iv=Math.round;function CE(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(l){return l.brand+"/"+l.version}).join(" "):navigator.userAgent}function F2(){return!/^((?!chrome|android).)*safari/i.test(CE())}function Vv(n,l,u){l===void 0&&(l=!1),u===void 0&&(u=!1);var f=n.getBoundingClientRect(),p=1,v=1;l&&Zc(n)&&(p=n.offsetWidth>0&&Iv(f.width)/n.offsetWidth||1,v=n.offsetHeight>0&&Iv(f.height)/n.offsetHeight||1);var g=Vm(n)?ho(n):window,E=g.visualViewport,S=!F2()&&u,A=(f.left+(S&&E?E.offsetLeft:0))/p,C=(f.top+(S&&E?E.offsetTop:0))/v,w=f.width/p,M=f.height/v;return{width:w,height:M,top:C,right:A+w,bottom:C+M,left:A,x:A,y:C}}function wE(n){var l=Vv(n),u=n.offsetWidth,f=n.offsetHeight;return Math.abs(l.width-u)<=1&&(u=l.width),Math.abs(l.height-f)<=1&&(f=l.height),{x:n.offsetLeft,y:n.offsetTop,width:u,height:f}}function Y2(n,l){var u=l.getRootNode&&l.getRootNode();if(n.contains(l))return!0;if(u&&TE(u)){var f=l;do{if(f&&n.isSameNode(f))return!0;f=f.parentNode||f.host}while(f)}return!1}function Vh(n){return n?(n.nodeName||"").toLowerCase():null}function Sd(n){return ho(n).getComputedStyle(n)}function OM(n){return["table","td","th"].indexOf(Vh(n))>=0}function Xh(n){return((Vm(n)?n.ownerDocument:n.document)||window.document).documentElement}function Eb(n){return Vh(n)==="html"?n:n.assignedSlot||n.parentNode||(TE(n)?n.host:null)||Xh(n)}function G2(n){return!Zc(n)||Sd(n).position==="fixed"?null:n.offsetParent}function DM(n){var l=/firefox/i.test(CE()),u=/Trident/i.test(CE());if(u&&Zc(n)){var f=Sd(n);if(f.position==="fixed")return null}var p=Eb(n);for(TE(p)&&(p=p.host);Zc(p)&&["html","body"].indexOf(Vh(p))<0;){var v=Sd(p);if(v.transform!=="none"||v.perspective!=="none"||v.contain==="paint"||["transform","perspective"].indexOf(v.willChange)!==-1||l&&v.willChange==="filter"||l&&v.filter&&v.filter!=="none")return p;p=p.parentNode}return null}function Ny(n){for(var l=ho(n),u=G2(n);u&&OM(u)&&Sd(u).position==="static";)u=G2(u);return u&&(Vh(u)==="html"||Vh(u)==="body"&&Sd(u).position==="static")?l:u||DM(n)||l}function OE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function By(n,l,u){return Xm(n,Sb(l,u))}function _M(n,l,u){var f=By(n,l,u);return f>u?u:f}function I2(){return{top:0,right:0,bottom:0,left:0}}function V2(n){return Object.assign({},I2(),n)}function X2(n,l){return l.reduce(function(u,f){return u[f]=n,u},{})}var RM=function(l,u){return l=typeof l=="function"?l(Object.assign({},u.rects,{placement:u.placement})):l,V2(typeof l!="number"?l:X2(l,_y))};function MM(n){var l,u=n.state,f=n.name,p=n.options,v=u.elements.arrow,g=u.modifiersData.popperOffsets,E=Qc(u.placement),S=OE(E),A=[bu,Jo].indexOf(E)>=0,C=A?"height":"width";if(!(!v||!g)){var w=RM(p.padding,u),M=wE(v),L=S==="y"?yu:bu,B=S==="y"?Ko:Jo,z=u.rects.reference[C]+u.rects.reference[S]-g[S]-u.rects.popper[C],O=g[S]-u.rects.reference[S],I=Ny(v),X=I?S==="y"?I.clientHeight||0:I.clientWidth||0:0,V=z/2-O/2,U=w[L],D=X-M[C]-w[B],j=X/2-M[C]/2+V,Y=By(U,j,D),ie=S;u.modifiersData[f]=(l={},l[ie]=Y,l.centerOffset=Y-j,l)}}function NM(n){var l=n.state,u=n.options,f=u.element,p=f===void 0?"[data-popper-arrow]":f;p!=null&&(typeof p=="string"&&(p=l.elements.popper.querySelector(p),!p)||Y2(l.elements.popper,p)&&(l.elements.arrow=p))}const BM={name:"arrow",enabled:!0,phase:"main",fn:MM,effect:NM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xv(n){return n.split("-")[1]}var LM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zM(n,l){var u=n.x,f=n.y,p=l.devicePixelRatio||1;return{x:Iv(u*p)/p||0,y:Iv(f*p)/p||0}}function $2(n){var l,u=n.popper,f=n.popperRect,p=n.placement,v=n.variation,g=n.offsets,E=n.position,S=n.gpuAcceleration,A=n.adaptive,C=n.roundOffsets,w=n.isFixed,M=g.x,L=M===void 0?0:M,B=g.y,z=B===void 0?0:B,O=typeof C=="function"?C({x:L,y:z}):{x:L,y:z};L=O.x,z=O.y;var I=g.hasOwnProperty("x"),X=g.hasOwnProperty("y"),V=bu,U=yu,D=window;if(A){var j=Ny(u),Y="clientHeight",ie="clientWidth";if(j===ho(u)&&(j=Xh(u),Sd(j).position!=="static"&&E==="absolute"&&(Y="scrollHeight",ie="scrollWidth")),j=j,p===yu||(p===bu||p===Jo)&&v===Ry){U=Ko;var oe=w&&j===D&&D.visualViewport?D.visualViewport.height:j[Y];z-=oe-f.height,z*=S?1:-1}if(p===bu||(p===yu||p===Ko)&&v===Ry){V=Jo;var pe=w&&j===D&&D.visualViewport?D.visualViewport.width:j[ie];L-=pe-f.width,L*=S?1:-1}}var ve=Object.assign({position:E},A&&LM),_e=C===!0?zM({x:L,y:z},ho(u)):{x:L,y:z};if(L=_e.x,z=_e.y,S){var ze;return Object.assign({},ve,(ze={},ze[U]=X?"0":"",ze[V]=I?"0":"",ze.transform=(D.devicePixelRatio||1)<=1?"translate("+L+"px, "+z+"px)":"translate3d("+L+"px, "+z+"px, 0)",ze))}return Object.assign({},ve,(l={},l[U]=X?z+"px":"",l[V]=I?L+"px":"",l.transform="",l))}function UM(n){var l=n.state,u=n.options,f=u.gpuAcceleration,p=f===void 0?!0:f,v=u.adaptive,g=v===void 0?!0:v,E=u.roundOffsets,S=E===void 0?!0:E,A={placement:Qc(l.placement),variation:Xv(l.placement),popper:l.elements.popper,popperRect:l.rects.popper,gpuAcceleration:p,isFixed:l.options.strategy==="fixed"};l.modifiersData.popperOffsets!=null&&(l.styles.popper=Object.assign({},l.styles.popper,$2(Object.assign({},A,{offsets:l.modifiersData.popperOffsets,position:l.options.strategy,adaptive:g,roundOffsets:S})))),l.modifiersData.arrow!=null&&(l.styles.arrow=Object.assign({},l.styles.arrow,$2(Object.assign({},A,{offsets:l.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:S})))),l.attributes.popper=Object.assign({},l.attributes.popper,{"data-popper-placement":l.placement})}const HM={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UM,data:{}};var xb={passive:!0};function jM(n){var l=n.state,u=n.instance,f=n.options,p=f.scroll,v=p===void 0?!0:p,g=f.resize,E=g===void 0?!0:g,S=ho(l.elements.popper),A=[].concat(l.scrollParents.reference,l.scrollParents.popper);return v&&A.forEach(function(C){C.addEventListener("scroll",u.update,xb)}),E&&S.addEventListener("resize",u.update,xb),function(){v&&A.forEach(function(C){C.removeEventListener("scroll",u.update,xb)}),E&&S.removeEventListener("resize",u.update,xb)}}const kM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jM,data:{}};var qM={left:"right",right:"left",bottom:"top",top:"bottom"};function Ab(n){return n.replace(/left|right|bottom|top/g,function(l){return qM[l]})}var FM={start:"end",end:"start"};function P2(n){return n.replace(/start|end/g,function(l){return FM[l]})}function DE(n){var l=ho(n),u=l.pageXOffset,f=l.pageYOffset;return{scrollLeft:u,scrollTop:f}}function _E(n){return Vv(Xh(n)).left+DE(n).scrollLeft}function YM(n,l){var u=ho(n),f=Xh(n),p=u.visualViewport,v=f.clientWidth,g=f.clientHeight,E=0,S=0;if(p){v=p.width,g=p.height;var A=F2();(A||!A&&l==="fixed")&&(E=p.offsetLeft,S=p.offsetTop)}return{width:v,height:g,x:E+_E(n),y:S}}function GM(n){var l,u=Xh(n),f=DE(n),p=(l=n.ownerDocument)==null?void 0:l.body,v=Xm(u.scrollWidth,u.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),g=Xm(u.scrollHeight,u.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),E=-f.scrollLeft+_E(n),S=-f.scrollTop;return Sd(p||u).direction==="rtl"&&(E+=Xm(u.clientWidth,p?p.clientWidth:0)-v),{width:v,height:g,x:E,y:S}}function RE(n){var l=Sd(n),u=l.overflow,f=l.overflowX,p=l.overflowY;return/auto|scroll|overlay|hidden/.test(u+p+f)}function Q2(n){return["html","body","#document"].indexOf(Vh(n))>=0?n.ownerDocument.body:Zc(n)&&RE(n)?n:Q2(Eb(n))}function Ly(n,l){var u;l===void 0&&(l=[]);var f=Q2(n),p=f===((u=n.ownerDocument)==null?void 0:u.body),v=ho(f),g=p?[v].concat(v.visualViewport||[],RE(f)?f:[]):f,E=l.concat(g);return p?E:E.concat(Ly(Eb(g)))}function ME(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function IM(n,l){var u=Vv(n,!1,l==="fixed");return u.top=u.top+n.clientTop,u.left=u.left+n.clientLeft,u.bottom=u.top+n.clientHeight,u.right=u.left+n.clientWidth,u.width=n.clientWidth,u.height=n.clientHeight,u.x=u.left,u.y=u.top,u}function Z2(n,l,u){return l===j2?ME(YM(n,u)):Vm(l)?IM(l,u):ME(GM(Xh(n)))}function VM(n){var l=Ly(Eb(n)),u=["absolute","fixed"].indexOf(Sd(n).position)>=0,f=u&&Zc(n)?Ny(n):n;return Vm(f)?l.filter(function(p){return Vm(p)&&Y2(p,f)&&Vh(p)!=="body"}):[]}function XM(n,l,u,f){var p=l==="clippingParents"?VM(n):[].concat(l),v=[].concat(p,[u]),g=v[0],E=v.reduce(function(S,A){var C=Z2(n,A,f);return S.top=Xm(C.top,S.top),S.right=Sb(C.right,S.right),S.bottom=Sb(C.bottom,S.bottom),S.left=Xm(C.left,S.left),S},Z2(n,g,f));return E.width=E.right-E.left,E.height=E.bottom-E.top,E.x=E.left,E.y=E.top,E}function K2(n){var l=n.reference,u=n.element,f=n.placement,p=f?Qc(f):null,v=f?Xv(f):null,g=l.x+l.width/2-u.width/2,E=l.y+l.height/2-u.height/2,S;switch(p){case yu:S={x:g,y:l.y-u.height};break;case Ko:S={x:g,y:l.y+l.height};break;case Jo:S={x:l.x+l.width,y:E};break;case bu:S={x:l.x-u.width,y:E};break;default:S={x:l.x,y:l.y}}var A=p?OE(p):null;if(A!=null){var C=A==="y"?"height":"width";switch(v){case Gv:S[A]=S[A]-(l[C]/2-u[C]/2);break;case Ry:S[A]=S[A]+(l[C]/2-u[C]/2);break}}return S}function zy(n,l){l===void 0&&(l={});var u=l,f=u.placement,p=f===void 0?n.placement:f,v=u.strategy,g=v===void 0?n.strategy:v,E=u.boundary,S=E===void 0?mM:E,A=u.rootBoundary,C=A===void 0?j2:A,w=u.elementContext,M=w===void 0?My:w,L=u.altBoundary,B=L===void 0?!1:L,z=u.padding,O=z===void 0?0:z,I=V2(typeof O!="number"?O:X2(O,_y)),X=M===My?vM:My,V=n.rects.popper,U=n.elements[B?X:M],D=XM(Vm(U)?U:U.contextElement||Xh(n.elements.popper),S,C,g),j=Vv(n.elements.reference),Y=K2({reference:j,element:V,placement:p}),ie=ME(Object.assign({},V,Y)),oe=M===My?ie:j,pe={top:D.top-oe.top+I.top,bottom:oe.bottom-D.bottom+I.bottom,left:D.left-oe.left+I.left,right:oe.right-D.right+I.right},ve=n.modifiersData.offset;if(M===My&&ve){var _e=ve[p];Object.keys(pe).forEach(function(ze){var Ue=[Jo,Ko].indexOf(ze)>=0?1:-1,Qe=[yu,Ko].indexOf(ze)>=0?"y":"x";pe[ze]+=_e[Qe]*Ue})}return pe}function $M(n,l){l===void 0&&(l={});var u=l,f=u.placement,p=u.boundary,v=u.rootBoundary,g=u.padding,E=u.flipVariations,S=u.allowedAutoPlacements,A=S===void 0?q2:S,C=Xv(f),w=C?E?k2:k2.filter(function(B){return Xv(B)===C}):_y,M=w.filter(function(B){return A.indexOf(B)>=0});M.length===0&&(M=w);var L=M.reduce(function(B,z){return B[z]=zy(n,{placement:z,boundary:p,rootBoundary:v,padding:g})[Qc(z)],B},{});return Object.keys(L).sort(function(B,z){return L[B]-L[z]})}function PM(n){if(Qc(n)===AE)return[];var l=Ab(n);return[P2(n),l,P2(l)]}function QM(n){var l=n.state,u=n.options,f=n.name;if(!l.modifiersData[f]._skip){for(var p=u.mainAxis,v=p===void 0?!0:p,g=u.altAxis,E=g===void 0?!0:g,S=u.fallbackPlacements,A=u.padding,C=u.boundary,w=u.rootBoundary,M=u.altBoundary,L=u.flipVariations,B=L===void 0?!0:L,z=u.allowedAutoPlacements,O=l.options.placement,I=Qc(O),X=I===O,V=S||(X||!B?[Ab(O)]:PM(O)),U=[O].concat(V).reduce(function(he,De){return he.concat(Qc(De)===AE?$M(l,{placement:De,boundary:C,rootBoundary:w,padding:A,flipVariations:B,allowedAutoPlacements:z}):De)},[]),D=l.rects.reference,j=l.rects.popper,Y=new Map,ie=!0,oe=U[0],pe=0;pe<U.length;pe++){var ve=U[pe],_e=Qc(ve),ze=Xv(ve)===Gv,Ue=[yu,Ko].indexOf(_e)>=0,Qe=Ue?"width":"height",ee=zy(l,{placement:ve,boundary:C,rootBoundary:w,altBoundary:M,padding:A}),ce=Ue?ze?Jo:bu:ze?Ko:yu;D[Qe]>j[Qe]&&(ce=Ab(ce));var ge=Ab(ce),We=[];if(v&&We.push(ee[_e]<=0),E&&We.push(ee[ce]<=0,ee[ge]<=0),We.every(function(he){return he})){oe=ve,ie=!1;break}Y.set(ve,We)}if(ie)for(var W=B?3:1,Ee=function(De){var Ye=U.find(function(rt){var Ke=Y.get(rt);if(Ke)return Ke.slice(0,De).every(function(Ne){return Ne})});if(Ye)return oe=Ye,"break"},Me=W;Me>0;Me--){var ne=Ee(Me);if(ne==="break")break}l.placement!==oe&&(l.modifiersData[f]._skip=!0,l.placement=oe,l.reset=!0)}}const ZM={name:"flip",enabled:!0,phase:"main",fn:QM,requiresIfExists:["offset"],data:{_skip:!1}};function J2(n,l,u){return u===void 0&&(u={x:0,y:0}),{top:n.top-l.height-u.y,right:n.right-l.width+u.x,bottom:n.bottom-l.height+u.y,left:n.left-l.width-u.x}}function W2(n){return[yu,Jo,Ko,bu].some(function(l){return n[l]>=0})}function KM(n){var l=n.state,u=n.name,f=l.rects.reference,p=l.rects.popper,v=l.modifiersData.preventOverflow,g=zy(l,{elementContext:"reference"}),E=zy(l,{altBoundary:!0}),S=J2(g,f),A=J2(E,p,v),C=W2(S),w=W2(A);l.modifiersData[u]={referenceClippingOffsets:S,popperEscapeOffsets:A,isReferenceHidden:C,hasPopperEscaped:w},l.attributes.popper=Object.assign({},l.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":w})}const JM={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:KM};function WM(n,l,u){var f=Qc(n),p=[bu,yu].indexOf(f)>=0?-1:1,v=typeof u=="function"?u(Object.assign({},l,{placement:n})):u,g=v[0],E=v[1];return g=g||0,E=(E||0)*p,[bu,Jo].indexOf(f)>=0?{x:E,y:g}:{x:g,y:E}}function e4(n){var l=n.state,u=n.options,f=n.name,p=u.offset,v=p===void 0?[0,0]:p,g=q2.reduce(function(C,w){return C[w]=WM(w,l.rects,v),C},{}),E=g[l.placement],S=E.x,A=E.y;l.modifiersData.popperOffsets!=null&&(l.modifiersData.popperOffsets.x+=S,l.modifiersData.popperOffsets.y+=A),l.modifiersData[f]=g}const t4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:e4};function n4(n){var l=n.state,u=n.name;l.modifiersData[u]=K2({reference:l.rects.reference,element:l.rects.popper,placement:l.placement})}const a4={name:"popperOffsets",enabled:!0,phase:"read",fn:n4,data:{}};function r4(n){return n==="x"?"y":"x"}function i4(n){var l=n.state,u=n.options,f=n.name,p=u.mainAxis,v=p===void 0?!0:p,g=u.altAxis,E=g===void 0?!1:g,S=u.boundary,A=u.rootBoundary,C=u.altBoundary,w=u.padding,M=u.tether,L=M===void 0?!0:M,B=u.tetherOffset,z=B===void 0?0:B,O=zy(l,{boundary:S,rootBoundary:A,padding:w,altBoundary:C}),I=Qc(l.placement),X=Xv(l.placement),V=!X,U=OE(I),D=r4(U),j=l.modifiersData.popperOffsets,Y=l.rects.reference,ie=l.rects.popper,oe=typeof z=="function"?z(Object.assign({},l.rects,{placement:l.placement})):z,pe=typeof oe=="number"?{mainAxis:oe,altAxis:oe}:Object.assign({mainAxis:0,altAxis:0},oe),ve=l.modifiersData.offset?l.modifiersData.offset[l.placement]:null,_e={x:0,y:0};if(j){if(v){var ze,Ue=U==="y"?yu:bu,Qe=U==="y"?Ko:Jo,ee=U==="y"?"height":"width",ce=j[U],ge=ce+O[Ue],We=ce-O[Qe],W=L?-ie[ee]/2:0,Ee=X===Gv?Y[ee]:ie[ee],Me=X===Gv?-ie[ee]:-Y[ee],ne=l.elements.arrow,he=L&&ne?wE(ne):{width:0,height:0},De=l.modifiersData["arrow#persistent"]?l.modifiersData["arrow#persistent"].padding:I2(),Ye=De[Ue],rt=De[Qe],Ke=By(0,Y[ee],he[ee]),Ne=V?Y[ee]/2-W-Ke-Ye-pe.mainAxis:Ee-Ke-Ye-pe.mainAxis,Ce=V?-Y[ee]/2+W+Ke+rt+pe.mainAxis:Me+Ke+rt+pe.mainAxis,nt=l.elements.arrow&&Ny(l.elements.arrow),ke=nt?U==="y"?nt.clientTop||0:nt.clientLeft||0:0,Tt=(ze=ve==null?void 0:ve[U])!=null?ze:0,_t=ce+Ne-Tt-ke,Et=ce+Ce-Tt,on=By(L?Sb(ge,_t):ge,ce,L?Xm(We,Et):We);j[U]=on,_e[U]=on-ce}if(E){var Ut,Ja=U==="x"?yu:bu,fr=U==="x"?Ko:Jo,Cn=j[D],Qt=D==="y"?"height":"width",ht=Cn+O[Ja],wn=Cn-O[fr],Ta=[yu,bu].indexOf(I)!==-1,Er=(Ut=ve==null?void 0:ve[D])!=null?Ut:0,Bt=Ta?ht:Cn-Y[Qt]-ie[Qt]-Er+pe.altAxis,ut=Ta?Cn+Y[Qt]+ie[Qt]-Er-pe.altAxis:wn,bt=L&&Ta?_M(Bt,Cn,ut):By(L?Bt:ht,Cn,L?ut:wn);j[D]=bt,_e[D]=bt-Cn}l.modifiersData[f]=_e}}const l4={name:"preventOverflow",enabled:!0,phase:"main",fn:i4,requiresIfExists:["offset"]};function u4(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function o4(n){return n===ho(n)||!Zc(n)?DE(n):u4(n)}function s4(n){var l=n.getBoundingClientRect(),u=Iv(l.width)/n.offsetWidth||1,f=Iv(l.height)/n.offsetHeight||1;return u!==1||f!==1}function c4(n,l,u){u===void 0&&(u=!1);var f=Zc(l),p=Zc(l)&&s4(l),v=Xh(l),g=Vv(n,p,u),E={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(f||!f&&!u)&&((Vh(l)!=="body"||RE(v))&&(E=o4(l)),Zc(l)?(S=Vv(l,!0),S.x+=l.clientLeft,S.y+=l.clientTop):v&&(S.x=_E(v))),{x:g.left+E.scrollLeft-S.x,y:g.top+E.scrollTop-S.y,width:g.width,height:g.height}}function f4(n){var l=new Map,u=new Set,f=[];n.forEach(function(v){l.set(v.name,v)});function p(v){u.add(v.name);var g=[].concat(v.requires||[],v.requiresIfExists||[]);g.forEach(function(E){if(!u.has(E)){var S=l.get(E);S&&p(S)}}),f.push(v)}return n.forEach(function(v){u.has(v.name)||p(v)}),f}function d4(n){var l=f4(n);return wM.reduce(function(u,f){return u.concat(l.filter(function(p){return p.phase===f}))},[])}function h4(n){var l;return function(){return l||(l=new Promise(function(u){Promise.resolve().then(function(){l=void 0,u(n())})})),l}}function p4(n){var l=n.reduce(function(u,f){var p=u[f.name];return u[f.name]=p?Object.assign({},p,f,{options:Object.assign({},p.options,f.options),data:Object.assign({},p.data,f.data)}):f,u},{});return Object.keys(l).map(function(u){return l[u]})}var eC={placement:"bottom",modifiers:[],strategy:"absolute"};function tC(){for(var n=arguments.length,l=new Array(n),u=0;u<n;u++)l[u]=arguments[u];return!l.some(function(f){return!(f&&typeof f.getBoundingClientRect=="function")})}function m4(n){n===void 0&&(n={});var l=n,u=l.defaultModifiers,f=u===void 0?[]:u,p=l.defaultOptions,v=p===void 0?eC:p;return function(E,S,A){A===void 0&&(A=v);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},eC,v),modifiersData:{},elements:{reference:E,popper:S},attributes:{},styles:{}},w=[],M=!1,L={state:C,setOptions:function(I){var X=typeof I=="function"?I(C.options):I;z(),C.options=Object.assign({},v,C.options,X),C.scrollParents={reference:Vm(E)?Ly(E):E.contextElement?Ly(E.contextElement):[],popper:Ly(S)};var V=d4(p4([].concat(f,C.options.modifiers)));return C.orderedModifiers=V.filter(function(U){return U.enabled}),B(),L.update()},forceUpdate:function(){if(!M){var I=C.elements,X=I.reference,V=I.popper;if(tC(X,V)){C.rects={reference:c4(X,Ny(V),C.options.strategy==="fixed"),popper:wE(V)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(pe){return C.modifiersData[pe.name]=Object.assign({},pe.data)});for(var U=0;U<C.orderedModifiers.length;U++){if(C.reset===!0){C.reset=!1,U=-1;continue}var D=C.orderedModifiers[U],j=D.fn,Y=D.options,ie=Y===void 0?{}:Y,oe=D.name;typeof j=="function"&&(C=j({state:C,options:ie,name:oe,instance:L})||C)}}}},update:h4(function(){return new Promise(function(O){L.forceUpdate(),O(C)})}),destroy:function(){z(),M=!0}};if(!tC(E,S))return L;L.setOptions(A).then(function(O){!M&&A.onFirstUpdate&&A.onFirstUpdate(O)});function B(){C.orderedModifiers.forEach(function(O){var I=O.name,X=O.options,V=X===void 0?{}:X,U=O.effect;if(typeof U=="function"){var D=U({state:C,name:I,instance:L,options:V}),j=function(){};w.push(D||j)}})}function z(){w.forEach(function(O){return O()}),w=[]}return L}}const v4=m4({defaultModifiers:[JM,a4,HM,kM,t4,ZM,l4,BM]}),g4=["enabled","placement","strategy","modifiers"];function y4(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}const b4={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},S4={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:n})=>()=>{const{reference:l,popper:u}=n.elements;if("removeAttribute"in l){const f=(l.getAttribute("aria-describedby")||"").split(",").filter(p=>p.trim()!==u.id);f.length?l.setAttribute("aria-describedby",f.join(",")):l.removeAttribute("aria-describedby")}},fn:({state:n})=>{var l;const{popper:u,reference:f}=n.elements,p=(l=u.getAttribute("role"))==null?void 0:l.toLowerCase();if(u.id&&p==="tooltip"&&"setAttribute"in f){const v=f.getAttribute("aria-describedby");if(v&&v.split(",").indexOf(u.id)!==-1)return;f.setAttribute("aria-describedby",v?`${v},${u.id}`:u.id)}}},E4=[];function x4(n,l,u={}){let{enabled:f=!0,placement:p="bottom",strategy:v="absolute",modifiers:g=E4}=u,E=y4(u,g4);const S=q.useRef(g),A=q.useRef(),C=q.useCallback(()=>{var O;(O=A.current)==null||O.update()},[]),w=q.useCallback(()=>{var O;(O=A.current)==null||O.forceUpdate()},[]),[M,L]=pM(q.useState({placement:p,update:C,forceUpdate:w,attributes:{},styles:{popper:{},arrow:{}}})),B=q.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:O})=>{const I={},X={};Object.keys(O.elements).forEach(V=>{I[V]=O.styles[V],X[V]=O.attributes[V]}),L({state:O,styles:I,attributes:X,update:C,forceUpdate:w,placement:O.placement})}}),[C,w,L]),z=q.useMemo(()=>(Dy(S.current,g)||(S.current=g),S.current),[g]);return q.useEffect(()=>{!A.current||!f||A.current.setOptions({placement:p,strategy:v,modifiers:[...z,B,b4]})},[v,p,B,f,z]),q.useEffect(()=>{if(!(!f||n==null||l==null))return A.current=v4(n,l,Object.assign({},E,{placement:p,strategy:v,modifiers:[...z,S4,B]})),()=>{A.current!=null&&(A.current.destroy(),A.current=void 0,L(O=>Object.assign({},O,{attributes:{},styles:{popper:{}}})))}},[f,n,l]),M}function Uy(n,l){if(n.contains)return n.contains(l);if(n.compareDocumentPosition)return n===l||!!(n.compareDocumentPosition(l)&16)}const nC=()=>{};function A4(n){return n.button===0}function T4(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Tb=n=>n&&("current"in n?n.current:n),aC={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function C4(n,l=nC,{disabled:u,clickTrigger:f="click"}={}){const p=q.useRef(!1),v=q.useRef(!1),g=q.useCallback(A=>{const C=Tb(n);W1(!!C,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),p.current=!C||T4(A)||!A4(A)||!!Uy(C,A.target)||v.current,v.current=!1},[n]),E=Zo(A=>{const C=Tb(n);C&&Uy(C,A.target)?v.current=!0:v.current=!1}),S=Zo(A=>{p.current||l(A)});q.useEffect(()=>{var A,C;if(u||n==null)return;const w=kv(Tb(n)),M=w.defaultView||window;let L=(A=M.event)!=null?A:(C=M.parent)==null?void 0:C.event,B=null;aC[f]&&(B=yd(w,aC[f],E,!0));const z=yd(w,f,g,!0),O=yd(w,f,X=>{if(X===L){L=void 0;return}S(X)});let I=[];return"ontouchstart"in w.documentElement&&(I=[].slice.call(w.body.children).map(X=>yd(X,"mousemove",nC))),()=>{B==null||B(),z(),O(),I.forEach(X=>X())}},[n,u,f,g,E,S])}function w4(n){const l={};return Array.isArray(n)?(n==null||n.forEach(u=>{l[u.name]=u}),l):n||l}function O4(n={}){return Array.isArray(n)?n:Object.keys(n).map(l=>(n[l].name=l,n[l]))}function D4({enabled:n,enableEvents:l,placement:u,flip:f,offset:p,fixed:v,containerPadding:g,arrowElement:E,popperConfig:S={}}){var A,C,w,M;const L=w4(S.modifiers);return Object.assign({},S,{placement:u,enabled:n,strategy:v?"fixed":S.strategy,modifiers:O4(Object.assign({},L,{eventListeners:{enabled:l,options:(A=L.eventListeners)==null?void 0:A.options},preventOverflow:Object.assign({},L.preventOverflow,{options:Object.assign({padding:g},(C=L.preventOverflow)==null?void 0:C.options)}),offset:{options:Object.assign({offset:p},(w=L.offset)==null?void 0:w.options)},arrow:Object.assign({},L.arrow,{enabled:!!E,options:Object.assign({},(M=L.arrow)==null?void 0:M.options,{element:E})}),flip:Object.assign({enabled:!!f},L.flip)}))})}const Cb={prefix:String(Math.round(Math.random()*1e10)),current:0},rC=q.createContext(Cb),_4=q.createContext(!1);let R4=!!(typeof window<"u"&&window.document&&window.document.createElement),NE=new WeakMap;function M4(n=!1){let l=q.useContext(rC),u=q.useRef(null);if(u.current===null&&!n){var f,p;let v=(p=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||p===void 0||(f=p.ReactCurrentOwner)===null||f===void 0?void 0:f.current;if(v){let g=NE.get(v);g==null?NE.set(v,{id:l.current,state:v.memoizedState}):v.memoizedState!==g.state&&(l.current=g.id,NE.delete(v))}u.current=++l.current}return u.current}function N4(n){let l=q.useContext(rC);l===Cb&&!R4&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let u=M4(!!n),f=l===Cb&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${l.prefix}`;return n||`${f}-${u}`}function B4(n){let l=q.useId(),[u]=q.useState(j4()),f=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Cb.prefix}`;return n||`${f}-${l}`}const L4=typeof q.useId=="function"?B4:N4;function z4(){return!1}function U4(){return!0}function H4(n){return()=>{}}function j4(){return typeof q.useSyncExternalStore=="function"?q.useSyncExternalStore(H4,z4,U4):q.useContext(_4)}const $v=st.createContext(null),Hy=(n,l=null)=>n!=null?String(n):l||null,BE=st.createContext(null);BE.displayName="NavContext";const k4="data-rr-ui-",q4="rrUi";function wb(n){return`${k4}${n}`}function F4(n){return`${q4}${n}`}const iC=q.createContext(Yv?window:void 0);iC.Provider;function LE(){return q.useContext(iC)}const Y4=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",G4=typeof document<"u"||Y4?q.useLayoutEffect:q.useEffect,lC=st.createContext(null);lC.displayName="NavbarContext";const uC=n=>!n||typeof n=="function"?n:l=>{n.current=l};function I4(n,l){const u=uC(n),f=uC(l);return p=>{u&&u(p),f&&f(p)}}function jy(n,l){return q.useMemo(()=>I4(n,l),[n,l])}const Pv=st.createContext(null),V4=["as","active","eventKey"];function X4(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}function oC({key:n,onClick:l,active:u,id:f,role:p,disabled:v}){const g=q.useContext($v),E=q.useContext(BE),S=q.useContext(Pv);let A=u;const C={role:p};if(E){!p&&E.role==="tablist"&&(C.role="tab");const w=E.getControllerId(n??null),M=E.getControlledId(n??null);C[wb("event-key")]=n,C.id=w||f,A=u==null&&n!=null?E.activeKey===n:u,(A||!(S!=null&&S.unmountOnExit)&&!(S!=null&&S.mountOnEnter))&&(C["aria-controls"]=M)}return C.role==="tab"&&(C["aria-selected"]=A,A||(C.tabIndex=-1),v&&(C.tabIndex=-1,C["aria-disabled"]=!0)),C.onClick=Zo(w=>{v||(l==null||l(w),n!=null&&g&&!w.isPropagationStopped()&&g(n,w))}),[C,{isActive:A}]}const sC=st.forwardRef((n,l)=>{let{as:u=D2,active:f,eventKey:p}=n,v=X4(n,V4);const[g,E]=oC(Object.assign({key:Hy(p,v.href),active:f},v));return g[wb("active")]=E.isActive,te.jsx(u,Object.assign({},v,g,{ref:l}))});sC.displayName="NavItem";const $4=["as","onSelect","activeKey","role","onKeyDown"];function P4(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}const cC=()=>{},fC=wb("event-key"),dC=st.forwardRef((n,l)=>{let{as:u="div",onSelect:f,activeKey:p,role:v,onKeyDown:g}=n,E=P4(n,$4);const S=hM(),A=q.useRef(!1),C=q.useContext($v),w=q.useContext(Pv);let M,L;w&&(v=v||"tablist",p=w.activeKey,M=w.getControlledId,L=w.getControllerId);const B=q.useRef(null),z=V=>{const U=B.current;if(!U)return null;const D=Im(U,`[${fC}]:not([aria-disabled=true])`),j=U.querySelector("[aria-selected=true]");if(!j||j!==document.activeElement)return null;const Y=D.indexOf(j);if(Y===-1)return null;let ie=Y+V;return ie>=D.length&&(ie=0),ie<0&&(ie=D.length-1),D[ie]},O=(V,U)=>{V!=null&&(f==null||f(V,U),C==null||C(V,U))},I=V=>{if(g==null||g(V),!w)return;let U;switch(V.key){case"ArrowLeft":case"ArrowUp":U=z(-1);break;case"ArrowRight":case"ArrowDown":U=z(1);break;default:return}U&&(V.preventDefault(),O(U.dataset[F4("EventKey")]||null,V),A.current=!0,S())};q.useEffect(()=>{if(B.current&&A.current){const V=B.current.querySelector(`[${fC}][aria-selected=true]`);V==null||V.focus()}A.current=!1});const X=jy(l,B);return te.jsx($v.Provider,{value:O,children:te.jsx(BE.Provider,{value:{role:v,activeKey:Hy(p),getControlledId:M||cC,getControllerId:L||cC},children:te.jsx(u,Object.assign({},E,{onKeyDown:I,ref:X,role:v}))})})});dC.displayName="Nav";const Q4=Object.assign(dC,{Item:sC});var Ob;function hC(n){if((!Ob&&Ob!==0||n)&&Yv){var l=document.createElement("div");l.style.position="absolute",l.style.top="-9999px",l.style.width="50px",l.style.height="50px",l.style.overflow="scroll",document.body.appendChild(l),Ob=l.offsetWidth-l.clientWidth,document.body.removeChild(l)}return Ob}function Z4(){return q.useState(null)}function zE(n){n===void 0&&(n=kv());try{var l=n.activeElement;return!l||!l.nodeName?null:l}catch{return n.body}}function K4(n){const l=q.useRef(n);return l.current=n,l}function J4(n){const l=K4(n);q.useEffect(()=>()=>l.current(),[])}function W4(n=document){const l=n.defaultView;return Math.abs(l.innerWidth-n.documentElement.clientWidth)}const pC=wb("modal-open");class UE{constructor({ownerDocument:l,handleContainerOverflow:u=!0,isRTL:f=!1}={}){this.handleContainerOverflow=u,this.isRTL=f,this.modals=[],this.ownerDocument=l}getScrollbarWidth(){return W4(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(l){}removeModalAttributes(l){}setContainerStyle(l){const u={overflow:"hidden"},f=this.isRTL?"paddingLeft":"paddingRight",p=this.getElement();l.style={overflow:p.style.overflow,[f]:p.style[f]},l.scrollBarWidth&&(u[f]=`${parseInt(md(p,f)||"0",10)+l.scrollBarWidth}px`),p.setAttribute(pC,""),md(p,u)}reset(){[...this.modals].forEach(l=>this.remove(l))}removeContainerStyle(l){const u=this.getElement();u.removeAttribute(pC),Object.assign(u.style,l.style)}add(l){let u=this.modals.indexOf(l);return u!==-1||(u=this.modals.length,this.modals.push(l),this.setModalAttributes(l),u!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),u}remove(l){const u=this.modals.indexOf(l);u!==-1&&(this.modals.splice(u,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(l))}isTopModal(l){return!!this.modals.length&&this.modals[this.modals.length-1]===l}}const HE=(n,l)=>Yv?n==null?(l||kv()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function jE(n,l){const u=LE(),[f,p]=q.useState(()=>HE(n,u==null?void 0:u.document));if(!f){const v=HE(n);v&&p(v)}return q.useEffect(()=>{},[l,f]),q.useEffect(()=>{const v=HE(n);v!==f&&p(v)},[n,f]),f}function kE({children:n,in:l,onExited:u,mountOnEnter:f,unmountOnExit:p}){const v=q.useRef(null),g=q.useRef(l),E=Zo(u);q.useEffect(()=>{l?g.current=!0:E(v.current)},[l,E]);const S=jy(v,Fv(n)),A=q.cloneElement(n,{ref:S});return l?A:p||!g.current&&f?null:A}const e6=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function t6(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}function n6(n){let{onEnter:l,onEntering:u,onEntered:f,onExit:p,onExiting:v,onExited:g,addEndListener:E,children:S}=n,A=t6(n,e6);const C=q.useRef(null),w=jy(C,Fv(S)),M=U=>D=>{U&&C.current&&U(C.current,D)},L=q.useCallback(M(l),[l]),B=q.useCallback(M(u),[u]),z=q.useCallback(M(f),[f]),O=q.useCallback(M(p),[p]),I=q.useCallback(M(v),[v]),X=q.useCallback(M(g),[g]),V=q.useCallback(M(E),[E]);return Object.assign({},A,{nodeRef:C},l&&{onEnter:L},u&&{onEntering:B},f&&{onEntered:z},p&&{onExit:O},v&&{onExiting:I},g&&{onExited:X},E&&{addEndListener:V},{children:typeof S=="function"?(U,D)=>S(U,Object.assign({},D,{ref:w})):q.cloneElement(S,{ref:w})})}const a6=["component"];function r6(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}const i6=st.forwardRef((n,l)=>{let{component:u}=n,f=r6(n,a6);const p=n6(f);return te.jsx(u,Object.assign({ref:l},p))});function l6({in:n,onTransition:l}){const u=q.useRef(null),f=q.useRef(!0),p=Zo(l);return O2(()=>{if(!u.current)return;let v=!1;return p({in:n,element:u.current,initial:f.current,isStale:()=>v}),()=>{v=!0}},[n,p]),O2(()=>(f.current=!1,()=>{f.current=!0}),[]),u}function u6({children:n,in:l,onExited:u,onEntered:f,transition:p}){const[v,g]=q.useState(!l);l&&v&&g(!1);const E=l6({in:!!l,onTransition:A=>{const C=()=>{A.isStale()||(A.in?f==null||f(A.element,A.initial):(g(!0),u==null||u(A.element)))};Promise.resolve(p(A)).then(C,w=>{throw A.in||g(!0),w})}}),S=jy(E,Fv(n));return v&&!l?null:q.cloneElement(n,{ref:S})}function qE(n,l,u){return n?te.jsx(i6,Object.assign({},u,{component:n})):l?te.jsx(u6,Object.assign({},u,{transition:l})):te.jsx(kE,Object.assign({},u))}const o6=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function s6(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}let FE;function c6(n){return FE||(FE=new UE({ownerDocument:n==null?void 0:n.document})),FE}function f6(n){const l=LE(),u=n||c6(l),f=q.useRef({dialog:null,backdrop:null});return Object.assign(f.current,{add:()=>u.add(f.current),remove:()=>u.remove(f.current),isTopModal:()=>u.isTopModal(f.current),setDialogRef:q.useCallback(p=>{f.current.dialog=p},[]),setBackdropRef:q.useCallback(p=>{f.current.backdrop=p},[])})}const mC=q.forwardRef((n,l)=>{let{show:u=!1,role:f="dialog",className:p,style:v,children:g,backdrop:E=!0,keyboard:S=!0,onBackdropClick:A,onEscapeKeyDown:C,transition:w,runTransition:M,backdropTransition:L,runBackdropTransition:B,autoFocus:z=!0,enforceFocus:O=!0,restoreFocus:I=!0,restoreFocusOptions:X,renderDialog:V,renderBackdrop:U=Et=>te.jsx("div",Object.assign({},Et)),manager:D,container:j,onShow:Y,onHide:ie=()=>{},onExit:oe,onExited:pe,onExiting:ve,onEnter:_e,onEntering:ze,onEntered:Ue}=n,Qe=s6(n,o6);const ee=LE(),ce=jE(j),ge=f6(D),We=w2(),W=K3(u),[Ee,Me]=q.useState(!u),ne=q.useRef(null);q.useImperativeHandle(l,()=>ge,[ge]),Yv&&!W&&u&&(ne.current=zE(ee==null?void 0:ee.document)),u&&Ee&&Me(!1);const he=Zo(()=>{if(ge.add(),Ce.current=yd(document,"keydown",Ke),Ne.current=yd(document,"focus",()=>setTimeout(Ye),!0),Y&&Y(),z){var Et,on;const Ut=zE((Et=(on=ge.dialog)==null?void 0:on.ownerDocument)!=null?Et:ee==null?void 0:ee.document);ge.dialog&&Ut&&!Uy(ge.dialog,Ut)&&(ne.current=Ut,ge.dialog.focus())}}),De=Zo(()=>{if(ge.remove(),Ce.current==null||Ce.current(),Ne.current==null||Ne.current(),I){var Et;(Et=ne.current)==null||Et.focus==null||Et.focus(X),ne.current=null}});q.useEffect(()=>{!u||!ce||he()},[u,ce,he]),q.useEffect(()=>{Ee&&De()},[Ee,De]),J4(()=>{De()});const Ye=Zo(()=>{if(!O||!We()||!ge.isTopModal())return;const Et=zE(ee==null?void 0:ee.document);ge.dialog&&Et&&!Uy(ge.dialog,Et)&&ge.dialog.focus()}),rt=Zo(Et=>{Et.target===Et.currentTarget&&(A==null||A(Et),E===!0&&ie())}),Ke=Zo(Et=>{S&&s2(Et)&&ge.isTopModal()&&(C==null||C(Et),Et.defaultPrevented||ie())}),Ne=q.useRef(),Ce=q.useRef(),nt=(...Et)=>{Me(!0),pe==null||pe(...Et)};if(!ce)return null;const ke=Object.assign({role:f,ref:ge.setDialogRef,"aria-modal":f==="dialog"?!0:void 0},Qe,{style:v,className:p,tabIndex:-1});let Tt=V?V(ke):te.jsx("div",Object.assign({},ke,{children:st.cloneElement(g,{role:"document"})}));Tt=qE(w,M,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!u,onExit:oe,onExiting:ve,onExited:nt,onEnter:_e,onEntering:ze,onEntered:Ue,children:Tt});let _t=null;return E&&(_t=U({ref:ge.setBackdropRef,onClick:rt}),_t=qE(L,B,{in:!!u,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:_t})),te.jsx(te.Fragment,{children:Gl.createPortal(te.jsxs(te.Fragment,{children:[_t,Tt]}),ce)})});mC.displayName="Modal";const d6=Object.assign(mC,{Manager:UE});function YE(n,l){return n.classList?!!l&&n.classList.contains(l):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+l+" ")!==-1}function h6(n,l){n.classList?n.classList.add(l):YE(n,l)||(typeof n.className=="string"?n.className=n.className+" "+l:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+l))}function vC(n,l){return n.replace(new RegExp("(^|\\s)"+l+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function p6(n,l){n.classList?n.classList.remove(l):typeof n.className=="string"?n.className=vC(n.className,l):n.setAttribute("class",vC(n.className&&n.className.baseVal||"",l))}const Qv={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class m6 extends UE{adjustAndStore(l,u,f){const p=u.style[l];u.dataset[l]=p,md(u,{[l]:`${parseFloat(md(u,l))+f}px`})}restore(l,u){const f=u.dataset[l];f!==void 0&&(delete u.dataset[l],md(u,{[l]:f}))}setContainerStyle(l){super.setContainerStyle(l);const u=this.getElement();if(h6(u,"modal-open"),!l.scrollBarWidth)return;const f=this.isRTL?"paddingLeft":"paddingRight",p=this.isRTL?"marginLeft":"marginRight";Im(u,Qv.FIXED_CONTENT).forEach(v=>this.adjustAndStore(f,v,l.scrollBarWidth)),Im(u,Qv.STICKY_CONTENT).forEach(v=>this.adjustAndStore(p,v,-l.scrollBarWidth)),Im(u,Qv.NAVBAR_TOGGLER).forEach(v=>this.adjustAndStore(p,v,l.scrollBarWidth))}removeContainerStyle(l){super.removeContainerStyle(l);const u=this.getElement();p6(u,"modal-open");const f=this.isRTL?"paddingLeft":"paddingRight",p=this.isRTL?"marginLeft":"marginRight";Im(u,Qv.FIXED_CONTENT).forEach(v=>this.restore(f,v)),Im(u,Qv.STICKY_CONTENT).forEach(v=>this.restore(p,v)),Im(u,Qv.NAVBAR_TOGGLER).forEach(v=>this.restore(p,v))}}let GE;function v6(n){return GE||(GE=new m6(n)),GE}const gC=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"modal-body"),te.jsx(u,{ref:p,className:jt(n,l),...f})));gC.displayName="ModalBody";const yC=st.createContext({onHide(){}}),IE=st.forwardRef(({bsPrefix:n,className:l,contentClassName:u,centered:f,size:p,fullscreen:v,children:g,scrollable:E,...S},A)=>{n=dn(n,"modal");const C=`${n}-dialog`,w=typeof v=="string"?`${n}-fullscreen-${v}`:`${n}-fullscreen`;return te.jsx("div",{...S,ref:A,className:jt(C,l,p&&`${n}-${p}`,f&&`${C}-centered`,E&&`${C}-scrollable`,v&&w),children:te.jsx("div",{className:jt(`${n}-content`,u),children:g})})});IE.displayName="ModalDialog";const bC=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"modal-footer"),te.jsx(u,{ref:p,className:jt(n,l),...f})));bC.displayName="ModalFooter";const g6=st.forwardRef(({closeLabel:n="Close",closeVariant:l,closeButton:u=!1,onHide:f,children:p,...v},g)=>{const E=q.useContext(yC),S=Oy(()=>{E==null||E.onHide(),f==null||f()});return te.jsxs("div",{ref:g,...v,children:[p,u&&te.jsx(bb,{"aria-label":n,variant:l,onClick:S})]})}),SC=st.forwardRef(({bsPrefix:n,className:l,closeLabel:u="Close",closeButton:f=!1,...p},v)=>(n=dn(n,"modal-header"),te.jsx(g6,{ref:v,...p,className:jt(l,n),closeLabel:u,closeButton:f})));SC.displayName="ModalHeader";const y6=x2("h4"),EC=st.forwardRef(({className:n,bsPrefix:l,as:u=y6,...f},p)=>(l=dn(l,"modal-title"),te.jsx(u,{ref:p,className:jt(n,l),...f})));EC.displayName="ModalTitle";function b6(n){return te.jsx(bd,{...n,timeout:null})}function S6(n){return te.jsx(bd,{...n,timeout:null})}const xC=st.forwardRef(({bsPrefix:n,className:l,style:u,dialogClassName:f,contentClassName:p,children:v,dialogAs:g=IE,"data-bs-theme":E,"aria-labelledby":S,"aria-describedby":A,"aria-label":C,show:w=!1,animation:M=!0,backdrop:L=!0,keyboard:B=!0,onEscapeKeyDown:z,onShow:O,onHide:I,container:X,autoFocus:V=!0,enforceFocus:U=!0,restoreFocus:D=!0,restoreFocusOptions:j,onEntered:Y,onExit:ie,onExiting:oe,onEnter:pe,onEntering:ve,onExited:_e,backdropClassName:ze,manager:Ue,...Qe},ee)=>{const[ce,ge]=q.useState({}),[We,W]=q.useState(!1),Ee=q.useRef(!1),Me=q.useRef(!1),ne=q.useRef(null),[he,De]=Z4(),Ye=pb(ee,De),rt=Oy(I),Ke=ZS();n=dn(n,"modal");const Ne=q.useMemo(()=>({onHide:rt}),[rt]);function Ce(){return Ue||v6({isRTL:Ke})}function nt(Bt){if(!Yv)return;const ut=Ce().getScrollbarWidth()>0,bt=Bt.scrollHeight>kv(Bt).documentElement.clientHeight;ge({paddingRight:ut&&!bt?hC():void 0,paddingLeft:!ut&&bt?hC():void 0})}const ke=Oy(()=>{he&&nt(he.dialog)});L2(()=>{yE(window,"resize",ke),ne.current==null||ne.current()});const Tt=()=>{Ee.current=!0},_t=Bt=>{Ee.current&&he&&Bt.target===he.dialog&&(Me.current=!0),Ee.current=!1},Et=()=>{W(!0),ne.current=f2(he.dialog,()=>{W(!1)})},on=Bt=>{Bt.target===Bt.currentTarget&&Et()},Ut=Bt=>{if(L==="static"){on(Bt);return}if(Me.current||Bt.target!==Bt.currentTarget){Me.current=!1;return}I==null||I()},Ja=Bt=>{B?z==null||z(Bt):(Bt.preventDefault(),L==="static"&&Et())},fr=(Bt,ut)=>{Bt&&nt(Bt),pe==null||pe(Bt,ut)},Cn=Bt=>{ne.current==null||ne.current(),ie==null||ie(Bt)},Qt=(Bt,ut)=>{ve==null||ve(Bt,ut),c2(window,"resize",ke)},ht=Bt=>{Bt&&(Bt.style.display=""),_e==null||_e(Bt),yE(window,"resize",ke)},wn=q.useCallback(Bt=>te.jsx("div",{...Bt,className:jt(`${n}-backdrop`,ze,!M&&"show")}),[M,ze,n]),Ta={...u,...ce};Ta.display="block";const Er=Bt=>te.jsx("div",{role:"dialog",...Bt,style:Ta,className:jt(l,n,We&&`${n}-static`,!M&&"show"),onClick:L?Ut:void 0,onMouseUp:_t,"data-bs-theme":E,"aria-label":C,"aria-labelledby":S,"aria-describedby":A,children:te.jsx(g,{...Qe,onMouseDown:Tt,className:f,contentClassName:p,children:v})});return te.jsx(yC.Provider,{value:Ne,children:te.jsx(d6,{show:w,ref:Ye,backdrop:L,container:X,keyboard:!0,autoFocus:V,enforceFocus:U,restoreFocus:D,restoreFocusOptions:j,onEscapeKeyDown:Ja,onShow:O,onHide:I,onEnter:fr,onEntering:Qt,onEntered:Y,onExit:Cn,onExiting:oe,onExited:ht,manager:Ce(),transition:M?b6:void 0,backdropTransition:M?S6:void 0,renderBackdrop:wn,renderDialog:Er})})});xC.displayName="Modal";const Db=Object.assign(xC,{Body:gC,Header:SC,Title:EC,Footer:bC,Dialog:IE,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),VE=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"nav-item"),te.jsx(u,{ref:p,className:jt(n,l),...f})));VE.displayName="NavItem";const XE=st.forwardRef(({bsPrefix:n,className:l,as:u=yb,active:f,eventKey:p,disabled:v=!1,...g},E)=>{n=dn(n,"nav-link");const[S,A]=oC({key:Hy(p,g.href),active:f,disabled:v,...g});return te.jsx(u,{...g,...S,ref:E,disabled:v,className:jt(l,n,v&&"disabled",A.isActive&&"active")})});XE.displayName="NavLink";const AC=st.forwardRef((n,l)=>{const{as:u="div",bsPrefix:f,variant:p,fill:v=!1,justify:g=!1,navbar:E,navbarScroll:S,className:A,activeKey:C,...w}=fb(n,{activeKey:"onSelect"}),M=dn(f,"nav");let L,B,z=!1;const O=q.useContext(lC),I=q.useContext(B2);return O?(L=O.bsPrefix,z=E??!0):I&&({cardHeaderBsPrefix:B}=I),te.jsx(Q4,{as:u,ref:l,activeKey:C,className:jt(A,{[M]:!z,[`${L}-nav`]:z,[`${L}-nav-scroll`]:z&&S,[`${B}-${p}`]:!!B,[`${M}-${p}`]:!!p,[`${M}-fill`]:v,[`${M}-justified`]:g}),...w})});AC.displayName="Nav";const E6=Object.assign(AC,{Item:VE,Link:XE}),x6=()=>{};function A6(n,l,{disabled:u,clickTrigger:f}={}){const p=l||x6;C4(n,p,{disabled:u,clickTrigger:f});const v=Zo(g=>{s2(g)&&p(g)});q.useEffect(()=>{if(u||n==null)return;const g=kv(Tb(n));let E=(g.defaultView||window).event;const S=yd(g,"keyup",A=>{if(A===E){E=void 0;return}v(A)});return()=>{S()}},[n,u,v])}const TC=st.forwardRef((n,l)=>{const{flip:u,offset:f,placement:p,containerPadding:v,popperConfig:g={},transition:E,runTransition:S}=n,[A,C]=C2(),[w,M]=C2(),L=jy(C,l),B=jE(n.container),z=jE(n.target),[O,I]=q.useState(!n.show),X=x4(z,A,D4({placement:p,enableEvents:!!n.show,containerPadding:v||5,flip:u,offset:f,arrowElement:w,popperConfig:g}));n.show&&O&&I(!1);const V=(...ve)=>{I(!0),n.onExited&&n.onExited(...ve)},U=n.show||!O;if(A6(A,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!U)return null;const{onExit:D,onExiting:j,onEnter:Y,onEntering:ie,onEntered:oe}=n;let pe=n.children(Object.assign({},X.attributes.popper,{style:X.styles.popper,ref:L}),{popper:X,placement:p,show:!!n.show,arrowProps:Object.assign({},X.attributes.arrow,{style:X.styles.arrow,ref:M})});return pe=qE(E,S,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:pe,onExit:D,onExiting:j,onExited:V,onEnter:Y,onEntering:ie,onEntered:oe}),B?Gl.createPortal(pe,B):null});TC.displayName="Overlay";const CC=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"popover-header"),te.jsx(u,{ref:p,className:jt(n,l),...f})));CC.displayName="PopoverHeader";const $E=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"popover-body"),te.jsx(u,{ref:p,className:jt(n,l),...f})));$E.displayName="PopoverBody";function wC(n,l){let u=n;return n==="left"?u=l?"end":"start":n==="right"&&(u=l?"start":"end"),u}function OC(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const _b=Object.assign(st.forwardRef(({bsPrefix:n,placement:l="right",className:u,style:f,children:p,body:v,arrowProps:g,hasDoneInitialMeasure:E,popper:S,show:A,...C},w)=>{const M=dn(n,"popover"),L=ZS(),[B]=(l==null?void 0:l.split("-"))||[],z=wC(B,L);let O=f;return A&&!E&&(O={...f,...OC(S==null?void 0:S.strategy)}),te.jsxs("div",{ref:w,role:"tooltip",style:O,"x-placement":B,className:jt(u,M,B&&`bs-popover-${z}`),...C,children:[te.jsx("div",{className:"popover-arrow",...g}),v?te.jsx($E,{children:p}):p]})}),{Header:CC,Body:$E,POPPER_OFFSET:[0,8]}),DC=st.forwardRef(({bsPrefix:n,placement:l="right",className:u,style:f,children:p,arrowProps:v,hasDoneInitialMeasure:g,popper:E,show:S,...A},C)=>{n=dn(n,"tooltip");const w=ZS(),[M]=(l==null?void 0:l.split("-"))||[],L=wC(M,w);let B=f;return S&&!g&&(B={...f,...OC(E==null?void 0:E.strategy)}),te.jsxs("div",{ref:C,style:B,role:"tooltip","x-placement":M,className:jt(u,n,`bs-tooltip-${L}`),...A,children:[te.jsx("div",{className:"tooltip-arrow",...v}),te.jsx("div",{className:`${n}-inner`,children:p})]})});DC.displayName="Tooltip";const _C=Object.assign(DC,{TOOLTIP_OFFSET:[0,6]});function T6(n){const l=q.useRef(null),u=dn(void 0,"popover"),f=dn(void 0,"tooltip"),p=q.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(l.current){if(YE(l.current,u))return _b.POPPER_OFFSET;if(YE(l.current,f))return _C.TOOLTIP_OFFSET}return[0,0]}}}),[n,u,f]);return[l,[p]]}function C6(n,l){const{ref:u}=n,{ref:f}=l;n.ref=u.__wrapped||(u.__wrapped=p=>u(mb(p))),l.ref=f.__wrapped||(f.__wrapped=p=>f(mb(p)))}const RC=st.forwardRef(({children:n,transition:l=bd,popperConfig:u={},rootClose:f=!1,placement:p="top",show:v=!1,...g},E)=>{const S=q.useRef({}),[A,C]=q.useState(null),[w,M]=T6(g.offset),L=pb(E,w),B=l===!0?bd:l||void 0,z=Oy(O=>{C(O),u==null||u.onFirstUpdate==null||u.onFirstUpdate(O)});return G4(()=>{A&&g.target&&(S.current.scheduleUpdate==null||S.current.scheduleUpdate())},[A,g.target]),q.useEffect(()=>{v||C(null)},[v]),te.jsx(TC,{...g,ref:L,popperConfig:{...u,modifiers:M.concat(u.modifiers||[]),onFirstUpdate:z},transition:B,rootClose:f,placement:p,show:v,children:(O,{arrowProps:I,popper:X,show:V})=>{var U;C6(O,I);const D=X==null?void 0:X.placement,j=Object.assign(S.current,{state:X==null?void 0:X.state,scheduleUpdate:X==null?void 0:X.update,placement:D,outOfBoundaries:(X==null||(U=X.state)==null||(U=U.modifiersData.hide)==null?void 0:U.isReferenceHidden)||!1,strategy:u.strategy}),Y=!!A;return typeof n=="function"?n({...O,placement:D,show:V,...!l&&V&&{className:"show"},popper:j,arrowProps:I,hasDoneInitialMeasure:Y}):st.cloneElement(n,{...O,placement:D,arrowProps:I,popper:j,hasDoneInitialMeasure:Y,className:jt(n.props.className,!l&&V&&"show"),style:{...n.props.style,...O.style}})}})});RC.displayName="Overlay";function w6(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function MC(n,l,u){const[f]=l,p=f.currentTarget,v=f.relatedTarget||f.nativeEvent[u];(!v||v!==p)&&!Uy(p,v)&&n(...l)}Mt.oneOf(["click","hover","focus"]);const NC=({trigger:n=["hover","focus"],overlay:l,children:u,popperConfig:f={},show:p,defaultShow:v=!1,onToggle:g,delay:E,placement:S,flip:A=S&&S.indexOf("auto")!==-1,...C})=>{const w=q.useRef(null),M=pb(w,Fv(u)),L=cM(),B=q.useRef(""),[z,O]=l2(p,v,g),I=w6(E),{onFocus:X,onBlur:V,onClick:U}=typeof u!="function"?st.Children.only(u).props:{},D=Qe=>{M(mb(Qe))},j=q.useCallback(()=>{if(L.clear(),B.current="show",!I.show){O(!0);return}L.set(()=>{B.current==="show"&&O(!0)},I.show)},[I.show,O,L]),Y=q.useCallback(()=>{if(L.clear(),B.current="hide",!I.hide){O(!1);return}L.set(()=>{B.current==="hide"&&O(!1)},I.hide)},[I.hide,O,L]),ie=q.useCallback((...Qe)=>{j(),X==null||X(...Qe)},[j,X]),oe=q.useCallback((...Qe)=>{Y(),V==null||V(...Qe)},[Y,V]),pe=q.useCallback((...Qe)=>{O(!z),U==null||U(...Qe)},[U,O,z]),ve=q.useCallback((...Qe)=>{MC(j,Qe,"fromElement")},[j]),_e=q.useCallback((...Qe)=>{MC(Y,Qe,"toElement")},[Y]),ze=n==null?[]:[].concat(n),Ue={ref:D};return ze.indexOf("click")!==-1&&(Ue.onClick=pe),ze.indexOf("focus")!==-1&&(Ue.onFocus=ie,Ue.onBlur=oe),ze.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&W1(ze.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Ue.onMouseOver=ve,Ue.onMouseOut=_e),te.jsxs(te.Fragment,{children:[typeof u=="function"?u(Ue):q.cloneElement(u,Ue),te.jsx(RC,{...C,show:z,onHide:Y,flip:A,placement:S,popperConfig:f,target:w.current,children:l})]})},PE=st.forwardRef(({active:n=!1,disabled:l=!1,className:u,style:f,activeLabel:p="(current)",children:v,linkStyle:g,linkClassName:E,as:S=yb,...A},C)=>{const w=n||l?"span":S;return te.jsx("li",{ref:C,style:f,className:jt(u,"page-item",{active:n,disabled:l}),children:te.jsxs(w,{className:jt("page-link",E),style:g,...A,children:[v,n&&p&&te.jsx("span",{className:"visually-hidden",children:p})]})})});PE.displayName="PageItem";function ky(n,l,u=n){const f=st.forwardRef(({children:p,...v},g)=>te.jsxs(PE,{...v,ref:g,children:[te.jsx("span",{"aria-hidden":"true",children:p||l}),te.jsx("span",{className:"visually-hidden",children:u})]}));return f.displayName=n,f}const O6=ky("First","«"),D6=ky("Prev","‹","Previous"),_6=ky("Ellipsis","…","More"),R6=ky("Next","›"),M6=ky("Last","»"),BC=st.forwardRef(({bsPrefix:n,className:l,size:u,...f},p)=>{const v=dn(n,"pagination");return te.jsx("ul",{ref:p,...f,className:jt(l,v,u&&`${v}-${u}`)})});BC.displayName="Pagination";const $h=Object.assign(BC,{First:O6,Prev:D6,Ellipsis:_6,Item:PE,Next:R6,Last:M6}),N6=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],B6=["activeKey","getControlledId","getControllerId"],L6=["as"];function QE(n,l){if(n==null)return{};var u={};for(var f in n)if({}.hasOwnProperty.call(n,f)){if(l.indexOf(f)>=0)continue;u[f]=n[f]}return u}function LC(n){let{active:l,eventKey:u,mountOnEnter:f,transition:p,unmountOnExit:v,role:g="tabpanel",onEnter:E,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}=n,L=QE(n,N6);const B=q.useContext(Pv);if(!B)return[Object.assign({},L,{role:g}),{eventKey:u,isActive:l,mountOnEnter:f,transition:p,unmountOnExit:v,onEnter:E,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}];const{activeKey:z,getControlledId:O,getControllerId:I}=B,X=QE(B,B6),V=Hy(u);return[Object.assign({},L,{role:g,id:O(u),"aria-labelledby":I(u)}),{eventKey:u,isActive:l==null&&V!=null?Hy(z)===V:l,transition:p||X.transition,mountOnEnter:f??X.mountOnEnter,unmountOnExit:v??X.unmountOnExit,onEnter:E,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}]}const zC=st.forwardRef((n,l)=>{let{as:u="div"}=n,f=QE(n,L6);const[p,{isActive:v,onEnter:g,onEntering:E,onEntered:S,onExit:A,onExiting:C,onExited:w,mountOnEnter:M,unmountOnExit:L,transition:B=kE}]=LC(f);return te.jsx(Pv.Provider,{value:null,children:te.jsx($v.Provider,{value:null,children:te.jsx(B,{in:v,onEnter:g,onEntering:E,onEntered:S,onExit:A,onExiting:C,onExited:w,mountOnEnter:M,unmountOnExit:L,children:te.jsx(u,Object.assign({},p,{ref:l,hidden:!v,"aria-hidden":!v}))})})})});zC.displayName="TabPanel";const ZE=n=>{const{id:l,generateChildId:u,onSelect:f,activeKey:p,defaultActiveKey:v,transition:g,mountOnEnter:E,unmountOnExit:S,children:A}=n,[C,w]=dM(p,v,f),M=L4(l),L=q.useMemo(()=>u||((z,O)=>M?`${M}-${O}-${z}`:null),[M,u]),B=q.useMemo(()=>({onSelect:w,activeKey:C,transition:g,mountOnEnter:E||!1,unmountOnExit:S||!1,getControlledId:z=>L(z,"tabpane"),getControllerId:z=>L(z,"tab")}),[w,C,g,E,S,L]);return te.jsx(Pv.Provider,{value:B,children:te.jsx($v.Provider,{value:w||null,children:A})})};ZE.Panel=zC;function KE(n){return typeof n=="boolean"?n?bd:kE:n}const UC=({transition:n,...l})=>te.jsx(ZE,{...l,transition:KE(n)});UC.displayName="TabContainer";const JE=st.forwardRef(({className:n,bsPrefix:l,as:u="div",...f},p)=>(l=dn(l,"tab-content"),te.jsx(u,{ref:p,className:jt(n,l),...f})));JE.displayName="TabContent";const WE=st.forwardRef(({bsPrefix:n,transition:l,...u},f)=>{const[{className:p,as:v="div",...g},{isActive:E,onEnter:S,onEntering:A,onEntered:C,onExit:w,onExiting:M,onExited:L,mountOnEnter:B,unmountOnExit:z,transition:O=bd}]=LC({...u,transition:KE(l)}),I=dn(n,"tab-pane");return te.jsx(Pv.Provider,{value:null,children:te.jsx($v.Provider,{value:null,children:te.jsx(O,{in:E,onEnter:S,onEntering:A,onEntered:C,onExit:w,onExiting:M,onExited:L,mountOnEnter:B,unmountOnExit:z,children:te.jsx(v,{...g,ref:f,className:jt(p,I,E&&"active")})})})})});WE.displayName="TabPane";const z6={eventKey:Mt.oneOfType([Mt.string,Mt.number]),title:Mt.node.isRequired,disabled:Mt.bool,tabClassName:Mt.string,tabAttrs:Mt.object},HC=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};HC.propTypes=z6;const U6=Object.assign(HC,{Container:UC,Content:JE,Pane:WE});function H6(n){let l;return G_(n,u=>{l==null&&(l=u.props.eventKey)}),l}function j6(n){const{title:l,eventKey:u,disabled:f,tabClassName:p,tabAttrs:v,id:g}=n.props;return l==null?null:te.jsx(VE,{as:"li",role:"presentation",children:te.jsx(XE,{as:"button",type:"button",eventKey:u,disabled:f,id:g,className:p,...v,children:l})})}const jC=n=>{const{id:l,onSelect:u,transition:f,mountOnEnter:p=!1,unmountOnExit:v=!1,variant:g="tabs",children:E,activeKey:S=H6(E),...A}=fb(n,{activeKey:"onSelect"});return te.jsxs(ZE,{id:l,activeKey:S,onSelect:u,transition:KE(f),mountOnEnter:p,unmountOnExit:v,children:[te.jsx(E6,{id:l,...A,role:"tablist",as:"ul",variant:g,children:sT(E,j6)}),te.jsx(JE,{children:sT(E,C=>{const w={...C.props};return delete w.title,delete w.disabled,delete w.tabClassName,delete w.tabAttrs,te.jsx(WE,{...w})})})]})};jC.displayName="Tabs";const k6=n=>{var p,v,g,E,S,A,C,w;const l=$s(n.actionProps.bodyAttributes||{}),u=$s(n.actionProps.headerAttributes||{}),f=q.useRef(null);return te.jsx("div",{ref:f,children:te.jsx(NC,{container:f,placement:n.actionProps.placement??"top",trigger:n.actionProps.trigger??"click",overlay:te.jsxs(_b,{children:[n.actionProps.header&&te.jsx(_b.Header,{...u,children:te.jsx(Ra,{props:n.actionProps.header,currentData:((E=(g=(v=(p=n.componentProps)==null?void 0:p.currentData)==null?void 0:v.actions)==null?void 0:g[n.actionIndex])==null?void 0:E.header)??void 0,datafield:"header",path:n.componentProps.path+".actions."+n.actionIndex+".header"})}),te.jsx(_b.Body,{...l,children:te.jsx(Ra,{props:n.actionProps.body,currentData:((w=(C=(A=(S=n.componentProps)==null?void 0:S.currentData)==null?void 0:A.actions)==null?void 0:C[n.actionIndex])==null?void 0:w.body)??void 0,datafield:"body",path:n.componentProps.path+".actions."+n.actionIndex+".body"})})]}),children:te.jsx("popover-reference",{children:n.children})})})},q6=n=>{const l=q.useContext(Aa),u=q.useContext(ua),{to:f}=n.actionProps;!f||typeof f!="string"||(window.location.href=ca({valueToEvaluate:f,globalDataContext:l,templateContext:u}))},F6=n=>{var l,u,f;return te.jsx(NC,{placement:n.actionProps.placement??"top",overlay:te.jsx(_C,{children:te.jsx(Ra,{props:n.actionProps.content,currentData:((f=(u=(l=n.componentProps)==null?void 0:l.currentData)==null?void 0:u.actions)==null?void 0:f[n.actionIndex])??void 0,datafield:n.actionIndex,path:n.componentProps.path+".actions."+n.actionIndex})}),children:te.jsx("tooltip-reference",{children:n.children})})},Y6=n=>te.jsx("visually-hidden",{style:{display:"none"},children:n.children});function Rb(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ex={exports:{}};/*! jsonpath 1.1.1 */var kC;function G6(){return kC||(kC=1,function(n,l){(function(u){n.exports=u()})(function(){return function u(f,p,v){function g(A,C){if(!p[A]){if(!f[A]){var w=typeof Rb=="function"&&Rb;if(!C&&w)return w(A,!0);if(E)return E(A,!0);var M=new Error("Cannot find module '"+A+"'");throw M.code="MODULE_NOT_FOUND",M}var L=p[A]={exports:{}};f[A][0].call(L.exports,function(B){var z=f[A][1][B];return g(z||B)},L,L.exports,u,f,p,v)}return p[A].exports}for(var E=typeof Rb=="function"&&Rb,S=0;S<v.length;S++)g(v[S]);return g}({"./aesprim":[function(u,f,p){(function(v,g){g(typeof p<"u"?p:v.esprima={})})(this,function(v){var g,E,S,A,C,w,M,L,B,z,O,I,X,V,U,D,j,Y;g={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},E={},E[g.BooleanLiteral]="Boolean",E[g.EOF]="<end>",E[g.Identifier]="Identifier",E[g.Keyword]="Keyword",E[g.NullLiteral]="Null",E[g.NumericLiteral]="Numeric",E[g.Punctuator]="Punctuator",E[g.StringLiteral]="String",E[g.RegularExpression]="RegularExpression",S=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],A={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},C={Data:1,Get:2,Set:4},w={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},M={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function ie(_,F){if(!_)throw new Error("ASSERT: "+F)}function oe(_){return _>=48&&_<=57}function pe(_){return"0123456789abcdefABCDEF".indexOf(_)>=0}function ve(_){return"01234567".indexOf(_)>=0}function _e(_){return _===32||_===9||_===11||_===12||_===160||_>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(_)>=0}function ze(_){return _===10||_===13||_===8232||_===8233}function Ue(_){return _==64||_===36||_===95||_>=65&&_<=90||_>=97&&_<=122||_===92||_>=128&&M.NonAsciiIdentifierStart.test(String.fromCharCode(_))}function Qe(_){return _===36||_===95||_>=65&&_<=90||_>=97&&_<=122||_>=48&&_<=57||_===92||_>=128&&M.NonAsciiIdentifierPart.test(String.fromCharCode(_))}function ee(_){switch(_){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function ce(_){switch(_){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ge(_){return _==="eval"||_==="arguments"}function We(_){if(z&&ce(_))return!0;switch(_.length){case 2:return _==="if"||_==="in"||_==="do";case 3:return _==="var"||_==="for"||_==="new"||_==="try"||_==="let";case 4:return _==="this"||_==="else"||_==="case"||_==="void"||_==="with"||_==="enum";case 5:return _==="while"||_==="break"||_==="catch"||_==="throw"||_==="const"||_==="yield"||_==="class"||_==="super";case 6:return _==="return"||_==="typeof"||_==="delete"||_==="switch"||_==="export"||_==="import";case 7:return _==="default"||_==="finally"||_==="extends";case 8:return _==="function"||_==="continue"||_==="debugger";case 10:return _==="instanceof";default:return!1}}function W(_,F,J,ye,Ie){var at;ie(typeof J=="number","Comment must have valid position"),!(j.lastCommentStart>=J)&&(j.lastCommentStart=J,at={type:_,value:F},Y.range&&(at.range=[J,ye]),Y.loc&&(at.loc=Ie),Y.comments.push(at),Y.attachComment&&(Y.leadingComments.push(at),Y.trailingComments.push(at)))}function Ee(_){var F,J,ye,Ie;for(F=O-_,J={start:{line:I,column:O-X-_}};O<V;)if(ye=B.charCodeAt(O),++O,ze(ye)){Y.comments&&(Ie=B.slice(F+_,O-1),J.end={line:I,column:O-X-1},W("Line",Ie,F,O-1,J)),ye===13&&B.charCodeAt(O)===10&&++O,++I,X=O;return}Y.comments&&(Ie=B.slice(F+_,O),J.end={line:I,column:O-X},W("Line",Ie,F,O,J))}function Me(){var _,F,J,ye;for(Y.comments&&(_=O-2,F={start:{line:I,column:O-X-2}});O<V;)if(J=B.charCodeAt(O),ze(J))J===13&&B.charCodeAt(O+1)===10&&++O,++I,++O,X=O,O>=V&&ut({},w.UnexpectedToken,"ILLEGAL");else if(J===42){if(B.charCodeAt(O+1)===47){++O,++O,Y.comments&&(ye=B.slice(_+2,O-2),F.end={line:I,column:O-X},W("Block",ye,_,O,F));return}++O}else++O;ut({},w.UnexpectedToken,"ILLEGAL")}function ne(){var _,F;for(F=O===0;O<V;)if(_=B.charCodeAt(O),_e(_))++O;else if(ze(_))++O,_===13&&B.charCodeAt(O)===10&&++O,++I,X=O,F=!0;else if(_===47)if(_=B.charCodeAt(O+1),_===47)++O,++O,Ee(2),F=!0;else if(_===42)++O,++O,Me();else break;else if(F&&_===45)if(B.charCodeAt(O+1)===45&&B.charCodeAt(O+2)===62)O+=3,Ee(3);else break;else if(_===60)if(B.slice(O+1,O+4)==="!--")++O,++O,++O,++O,Ee(4);else break;else break}function he(_){var F,J,ye,Ie=0;for(J=_==="u"?4:2,F=0;F<J;++F)if(O<V&&pe(B[O]))ye=B[O++],Ie=Ie*16+"0123456789abcdef".indexOf(ye.toLowerCase());else return"";return String.fromCharCode(Ie)}function De(){var _,F;for(_=B.charCodeAt(O++),F=String.fromCharCode(_),_===92&&(B.charCodeAt(O)!==117&&ut({},w.UnexpectedToken,"ILLEGAL"),++O,_=he("u"),(!_||_==="\\"||!Ue(_.charCodeAt(0)))&&ut({},w.UnexpectedToken,"ILLEGAL"),F=_);O<V&&(_=B.charCodeAt(O),!!Qe(_));)++O,F+=String.fromCharCode(_),_===92&&(F=F.substr(0,F.length-1),B.charCodeAt(O)!==117&&ut({},w.UnexpectedToken,"ILLEGAL"),++O,_=he("u"),(!_||_==="\\"||!Qe(_.charCodeAt(0)))&&ut({},w.UnexpectedToken,"ILLEGAL"),F+=_);return F}function Ye(){var _,F;for(_=O++;O<V;){if(F=B.charCodeAt(O),F===92)return O=_,De();if(Qe(F))++O;else break}return B.slice(_,O)}function rt(){var _,F,J;return _=O,F=B.charCodeAt(O)===92?De():Ye(),F.length===1?J=g.Identifier:We(F)?J=g.Keyword:F==="null"?J=g.NullLiteral:F==="true"||F==="false"?J=g.BooleanLiteral:J=g.Identifier,{type:J,value:F,lineNumber:I,lineStart:X,start:_,end:O}}function Ke(){var _=O,F=B.charCodeAt(O),J,ye=B[O],Ie,at,qt;switch(F){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++O,Y.tokenize&&(F===40?Y.openParenToken=Y.tokens.length:F===123&&(Y.openCurlyToken=Y.tokens.length)),{type:g.Punctuator,value:String.fromCharCode(F),lineNumber:I,lineStart:X,start:_,end:O};default:if(J=B.charCodeAt(O+1),J===61)switch(F){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return O+=2,{type:g.Punctuator,value:String.fromCharCode(F)+String.fromCharCode(J),lineNumber:I,lineStart:X,start:_,end:O};case 33:case 61:return O+=2,B.charCodeAt(O)===61&&++O,{type:g.Punctuator,value:B.slice(_,O),lineNumber:I,lineStart:X,start:_,end:O}}}if(qt=B.substr(O,4),qt===">>>=")return O+=4,{type:g.Punctuator,value:qt,lineNumber:I,lineStart:X,start:_,end:O};if(at=qt.substr(0,3),at===">>>"||at==="<<="||at===">>=")return O+=3,{type:g.Punctuator,value:at,lineNumber:I,lineStart:X,start:_,end:O};if(Ie=at.substr(0,2),ye===Ie[1]&&"+-<>&|".indexOf(ye)>=0||Ie==="=>")return O+=2,{type:g.Punctuator,value:Ie,lineNumber:I,lineStart:X,start:_,end:O};if("<>=!+-*%&|^/".indexOf(ye)>=0)return++O,{type:g.Punctuator,value:ye,lineNumber:I,lineStart:X,start:_,end:O};ut({},w.UnexpectedToken,"ILLEGAL")}function Ne(_){for(var F="";O<V&&pe(B[O]);)F+=B[O++];return F.length===0&&ut({},w.UnexpectedToken,"ILLEGAL"),Ue(B.charCodeAt(O))&&ut({},w.UnexpectedToken,"ILLEGAL"),{type:g.NumericLiteral,value:parseInt("0x"+F,16),lineNumber:I,lineStart:X,start:_,end:O}}function Ce(_){for(var F="0"+B[O++];O<V&&ve(B[O]);)F+=B[O++];return(Ue(B.charCodeAt(O))||oe(B.charCodeAt(O)))&&ut({},w.UnexpectedToken,"ILLEGAL"),{type:g.NumericLiteral,value:parseInt(F,8),octal:!0,lineNumber:I,lineStart:X,start:_,end:O}}function nt(){var _,F,J;if(J=B[O],ie(oe(J.charCodeAt(0))||J===".","Numeric literal must start with a decimal digit or a decimal point"),F=O,_="",J!=="."){if(_=B[O++],J=B[O],_==="0"){if(J==="x"||J==="X")return++O,Ne(F);if(ve(J))return Ce(F);J&&oe(J.charCodeAt(0))&&ut({},w.UnexpectedToken,"ILLEGAL")}for(;oe(B.charCodeAt(O));)_+=B[O++];J=B[O]}if(J==="."){for(_+=B[O++];oe(B.charCodeAt(O));)_+=B[O++];J=B[O]}if(J==="e"||J==="E")if(_+=B[O++],J=B[O],(J==="+"||J==="-")&&(_+=B[O++]),oe(B.charCodeAt(O)))for(;oe(B.charCodeAt(O));)_+=B[O++];else ut({},w.UnexpectedToken,"ILLEGAL");return Ue(B.charCodeAt(O))&&ut({},w.UnexpectedToken,"ILLEGAL"),{type:g.NumericLiteral,value:parseFloat(_),lineNumber:I,lineStart:X,start:F,end:O}}function ke(){var _="",F,J,ye,Ie,at,qt,En=!1,ba,$a;for(ba=I,$a=X,F=B[O],ie(F==="'"||F==='"',"String literal must starts with a quote"),J=O,++O;O<V;)if(ye=B[O++],ye===F){F="";break}else if(ye==="\\")if(ye=B[O++],!ye||!ze(ye.charCodeAt(0)))switch(ye){case"u":case"x":qt=O,at=he(ye),at?_+=at:(O=qt,_+=ye);break;case"n":_+=`
|
|
77
|
-
`;break;case"r":_+="\r";break;case"t":_+=" ";break;case"b":_+="\b";break;case"f":_+="\f";break;case"v":_+="\v";break;default:ve(ye)?(Ie="01234567".indexOf(ye),Ie!==0&&(En=!0),O<V&&ve(B[O])&&(En=!0,Ie=Ie*8+"01234567".indexOf(B[O++]),"0123".indexOf(ye)>=0&&O<V&&ve(B[O])&&(Ie=Ie*8+"01234567".indexOf(B[O++]))),_+=String.fromCharCode(Ie)):_+=ye;break}else++I,ye==="\r"&&B[O]===`
|
|
78
|
-
`&&++O,X=O;else{if(ze(ye.charCodeAt(0)))break;_+=ye}return F!==""&&ut({},w.UnexpectedToken,"ILLEGAL"),{type:g.StringLiteral,value:_,octal:En,startLineNumber:ba,startLineStart:$a,lineNumber:I,lineStart:X,start:J,end:O}}function Tt(_,F){var J;try{J=new RegExp(_,F)}catch{ut({},w.InvalidRegExp)}return J}function _t(){var _,F,J,ye,Ie;for(_=B[O],ie(_==="/","Regular expression literal must start with a slash"),F=B[O++],J=!1,ye=!1;O<V;)if(_=B[O++],F+=_,_==="\\")_=B[O++],ze(_.charCodeAt(0))&&ut({},w.UnterminatedRegExp),F+=_;else if(ze(_.charCodeAt(0)))ut({},w.UnterminatedRegExp);else if(J)_==="]"&&(J=!1);else if(_==="/"){ye=!0;break}else _==="["&&(J=!0);return ye||ut({},w.UnterminatedRegExp),Ie=F.substr(1,F.length-2),{value:Ie,literal:F}}function Et(){var _,F,J,ye;for(F="",J="";O<V&&(_=B[O],!!Qe(_.charCodeAt(0)));)if(++O,_==="\\"&&O<V)if(_=B[O],_==="u"){if(++O,ye=O,_=he("u"),_)for(J+=_,F+="\\u";ye<O;++ye)F+=B[ye];else O=ye,J+="u",F+="\\u";bt({},w.UnexpectedToken,"ILLEGAL")}else F+="\\",bt({},w.UnexpectedToken,"ILLEGAL");else J+=_,F+=_;return{value:J,literal:F}}function on(){var _,F,J,ye;return D=null,ne(),_=O,F=_t(),J=Et(),ye=Tt(F.value,J.value),Y.tokenize?{type:g.RegularExpression,value:ye,lineNumber:I,lineStart:X,start:_,end:O}:{literal:F.literal+J.literal,value:ye,start:_,end:O}}function Ut(){var _,F,J,ye;return ne(),_=O,F={start:{line:I,column:O-X}},J=on(),F.end={line:I,column:O-X},Y.tokenize||(Y.tokens.length>0&&(ye=Y.tokens[Y.tokens.length-1],ye.range[0]===_&&ye.type==="Punctuator"&&(ye.value==="/"||ye.value==="/=")&&Y.tokens.pop()),Y.tokens.push({type:"RegularExpression",value:J.literal,range:[_,O],loc:F})),J}function Ja(_){return _.type===g.Identifier||_.type===g.Keyword||_.type===g.BooleanLiteral||_.type===g.NullLiteral}function fr(){var _,F;if(_=Y.tokens[Y.tokens.length-1],!_)return Ut();if(_.type==="Punctuator"){if(_.value==="]")return Ke();if(_.value===")")return F=Y.tokens[Y.openParenToken-1],F&&F.type==="Keyword"&&(F.value==="if"||F.value==="while"||F.value==="for"||F.value==="with")?Ut():Ke();if(_.value==="}"){if(Y.tokens[Y.openCurlyToken-3]&&Y.tokens[Y.openCurlyToken-3].type==="Keyword"){if(F=Y.tokens[Y.openCurlyToken-4],!F)return Ke()}else if(Y.tokens[Y.openCurlyToken-4]&&Y.tokens[Y.openCurlyToken-4].type==="Keyword"){if(F=Y.tokens[Y.openCurlyToken-5],!F)return Ut()}else return Ke();return S.indexOf(F.value)>=0?Ke():Ut()}return Ut()}return _.type==="Keyword"?Ut():Ke()}function Cn(){var _;return ne(),O>=V?{type:g.EOF,lineNumber:I,lineStart:X,start:O,end:O}:(_=B.charCodeAt(O),Ue(_)?rt():_===40||_===41||_===59?Ke():_===39||_===34?ke():_===46?oe(B.charCodeAt(O+1))?nt():Ke():oe(_)?nt():Y.tokenize&&_===47?fr():Ke())}function Qt(){var _,F,J;return ne(),_={start:{line:I,column:O-X}},F=Cn(),_.end={line:I,column:O-X},F.type!==g.EOF&&(J=B.slice(F.start,F.end),Y.tokens.push({type:E[F.type],value:J,range:[F.start,F.end],loc:_})),F}function ht(){var _;return _=D,O=_.end,I=_.lineNumber,X=_.lineStart,D=typeof Y.tokens<"u"?Qt():Cn(),O=_.end,I=_.lineNumber,X=_.lineStart,_}function wn(){var _,F,J;_=O,F=I,J=X,D=typeof Y.tokens<"u"?Qt():Cn(),O=_,I=F,X=J}function Ta(_,F){this.line=_,this.column=F}function Er(_,F,J,ye){this.start=new Ta(_,F),this.end=new Ta(J,ye)}L={name:"SyntaxTree",processComment:function(_){var F,J;if(!(_.type===A.Program&&_.body.length>0)){for(Y.trailingComments.length>0?Y.trailingComments[0].range[0]>=_.range[1]?(J=Y.trailingComments,Y.trailingComments=[]):Y.trailingComments.length=0:Y.bottomRightStack.length>0&&Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments&&Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments[0].range[0]>=_.range[1]&&(J=Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments,delete Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments);Y.bottomRightStack.length>0&&Y.bottomRightStack[Y.bottomRightStack.length-1].range[0]>=_.range[0];)F=Y.bottomRightStack.pop();F?F.leadingComments&&F.leadingComments[F.leadingComments.length-1].range[1]<=_.range[0]&&(_.leadingComments=F.leadingComments,delete F.leadingComments):Y.leadingComments.length>0&&Y.leadingComments[Y.leadingComments.length-1].range[1]<=_.range[0]&&(_.leadingComments=Y.leadingComments,Y.leadingComments=[]),J&&(_.trailingComments=J),Y.bottomRightStack.push(_)}},markEnd:function(_,F){return Y.range&&(_.range=[F.start,O]),Y.loc&&(_.loc=new Er(F.startLineNumber===void 0?F.lineNumber:F.startLineNumber,F.start-(F.startLineStart===void 0?F.lineStart:F.startLineStart),I,O-X),this.postProcess(_)),Y.attachComment&&this.processComment(_),_},postProcess:function(_){return Y.source&&(_.loc.source=Y.source),_},createArrayExpression:function(_){return{type:A.ArrayExpression,elements:_}},createAssignmentExpression:function(_,F,J){return{type:A.AssignmentExpression,operator:_,left:F,right:J}},createBinaryExpression:function(_,F,J){var ye=_==="||"||_==="&&"?A.LogicalExpression:A.BinaryExpression;return{type:ye,operator:_,left:F,right:J}},createBlockStatement:function(_){return{type:A.BlockStatement,body:_}},createBreakStatement:function(_){return{type:A.BreakStatement,label:_}},createCallExpression:function(_,F){return{type:A.CallExpression,callee:_,arguments:F}},createCatchClause:function(_,F){return{type:A.CatchClause,param:_,body:F}},createConditionalExpression:function(_,F,J){return{type:A.ConditionalExpression,test:_,consequent:F,alternate:J}},createContinueStatement:function(_){return{type:A.ContinueStatement,label:_}},createDebuggerStatement:function(){return{type:A.DebuggerStatement}},createDoWhileStatement:function(_,F){return{type:A.DoWhileStatement,body:_,test:F}},createEmptyStatement:function(){return{type:A.EmptyStatement}},createExpressionStatement:function(_){return{type:A.ExpressionStatement,expression:_}},createForStatement:function(_,F,J,ye){return{type:A.ForStatement,init:_,test:F,update:J,body:ye}},createForInStatement:function(_,F,J){return{type:A.ForInStatement,left:_,right:F,body:J,each:!1}},createFunctionDeclaration:function(_,F,J,ye){return{type:A.FunctionDeclaration,id:_,params:F,defaults:J,body:ye,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(_,F,J,ye){return{type:A.FunctionExpression,id:_,params:F,defaults:J,body:ye,rest:null,generator:!1,expression:!1}},createIdentifier:function(_){return{type:A.Identifier,name:_}},createIfStatement:function(_,F,J){return{type:A.IfStatement,test:_,consequent:F,alternate:J}},createLabeledStatement:function(_,F){return{type:A.LabeledStatement,label:_,body:F}},createLiteral:function(_){return{type:A.Literal,value:_.value,raw:B.slice(_.start,_.end)}},createMemberExpression:function(_,F,J){return{type:A.MemberExpression,computed:_==="[",object:F,property:J}},createNewExpression:function(_,F){return{type:A.NewExpression,callee:_,arguments:F}},createObjectExpression:function(_){return{type:A.ObjectExpression,properties:_}},createPostfixExpression:function(_,F){return{type:A.UpdateExpression,operator:_,argument:F,prefix:!1}},createProgram:function(_){return{type:A.Program,body:_}},createProperty:function(_,F,J){return{type:A.Property,key:F,value:J,kind:_}},createReturnStatement:function(_){return{type:A.ReturnStatement,argument:_}},createSequenceExpression:function(_){return{type:A.SequenceExpression,expressions:_}},createSwitchCase:function(_,F){return{type:A.SwitchCase,test:_,consequent:F}},createSwitchStatement:function(_,F){return{type:A.SwitchStatement,discriminant:_,cases:F}},createThisExpression:function(){return{type:A.ThisExpression}},createThrowStatement:function(_){return{type:A.ThrowStatement,argument:_}},createTryStatement:function(_,F,J,ye){return{type:A.TryStatement,block:_,guardedHandlers:F,handlers:J,finalizer:ye}},createUnaryExpression:function(_,F){return _==="++"||_==="--"?{type:A.UpdateExpression,operator:_,argument:F,prefix:!0}:{type:A.UnaryExpression,operator:_,argument:F,prefix:!0}},createVariableDeclaration:function(_,F){return{type:A.VariableDeclaration,declarations:_,kind:F}},createVariableDeclarator:function(_,F){return{type:A.VariableDeclarator,id:_,init:F}},createWhileStatement:function(_,F){return{type:A.WhileStatement,test:_,body:F}},createWithStatement:function(_,F){return{type:A.WithStatement,object:_,body:F}}};function Bt(){var _,F,J,ye;return _=O,F=I,J=X,ne(),ye=I!==F,O=_,I=F,X=J,ye}function ut(_,F){var J,ye=Array.prototype.slice.call(arguments,2),Ie=F.replace(/%(\d)/g,function(at,qt){return ie(qt<ye.length,"Message reference must be in range"),ye[qt]});throw typeof _.lineNumber=="number"?(J=new Error("Line "+_.lineNumber+": "+Ie),J.index=_.start,J.lineNumber=_.lineNumber,J.column=_.start-X+1):(J=new Error("Line "+I+": "+Ie),J.index=O,J.lineNumber=I,J.column=O-X+1),J.description=Ie,J}function bt(){try{ut.apply(null,arguments)}catch(_){if(Y.errors)Y.errors.push(_);else throw _}}function Nn(_){if(_.type===g.EOF&&ut(_,w.UnexpectedEOS),_.type===g.NumericLiteral&&ut(_,w.UnexpectedNumber),_.type===g.StringLiteral&&ut(_,w.UnexpectedString),_.type===g.Identifier&&ut(_,w.UnexpectedIdentifier),_.type===g.Keyword){if(ee(_.value))ut(_,w.UnexpectedReserved);else if(z&&ce(_.value)){bt(_,w.StrictReservedWord);return}ut(_,w.UnexpectedToken,_.value)}ut(_,w.UnexpectedToken,_.value)}function yt(_){var F=ht();(F.type!==g.Punctuator||F.value!==_)&&Nn(F)}function On(_){var F=ht();(F.type!==g.Keyword||F.value!==_)&&Nn(F)}function gt(_){return D.type===g.Punctuator&&D.value===_}function Qn(_){return D.type===g.Keyword&&D.value===_}function ti(){var _;return D.type!==g.Punctuator?!1:(_=D.value,_==="="||_==="*="||_==="/="||_==="%="||_==="+="||_==="-="||_==="<<="||_===">>="||_===">>>="||_==="&="||_==="^="||_==="|=")}function Gn(){var _;if(B.charCodeAt(O)===59||gt(";")){ht();return}_=I,ne(),I===_&&D.type!==g.EOF&&!gt("}")&&Nn(D)}function dr(_){return _.type===A.Identifier||_.type===A.MemberExpression}function Ur(){var _=[],F;for(F=D,yt("[");!gt("]");)gt(",")?(ht(),_.push(null)):(_.push(ya()),gt("]")||yt(","));return ht(),U.markEnd(U.createArrayExpression(_),F)}function ga(_,F){var J,ye,Ie;return J=z,Ie=D,ye=Xa(),F&&z&&ge(_[0].name)&&bt(F,w.StrictParamName),z=J,U.markEnd(U.createFunctionExpression(null,_,[],ye),Ie)}function ni(){var _,F;return F=D,_=ht(),_.type===g.StringLiteral||_.type===g.NumericLiteral?(z&&_.octal&&bt(_,w.StrictOctalLiteral),U.markEnd(U.createLiteral(_),F)):U.markEnd(U.createIdentifier(_.value),F)}function Xl(){var _,F,J,ye,Ie,at;if(_=D,at=D,_.type===g.Identifier)return J=ni(),_.value==="get"&&!gt(":")?(F=ni(),yt("("),yt(")"),ye=ga([]),U.markEnd(U.createProperty("get",F,ye),at)):_.value==="set"&&!gt(":")?(F=ni(),yt("("),_=D,_.type!==g.Identifier?(yt(")"),bt(_,w.UnexpectedToken,_.value),ye=ga([])):(Ie=[fa()],yt(")"),ye=ga(Ie,_)),U.markEnd(U.createProperty("set",F,ye),at)):(yt(":"),ye=ya(),U.markEnd(U.createProperty("init",J,ye),at));if(_.type===g.EOF||_.type===g.Punctuator)Nn(_);else return F=ni(),yt(":"),ye=ya(),U.markEnd(U.createProperty("init",F,ye),at)}function Ki(){var _=[],F,J,ye,Ie,at={},qt=String,En;for(En=D,yt("{");!gt("}");)F=Xl(),F.key.type===A.Identifier?J=F.key.name:J=qt(F.key.value),Ie=F.kind==="init"?C.Data:F.kind==="get"?C.Get:C.Set,ye="$"+J,Object.prototype.hasOwnProperty.call(at,ye)?(at[ye]===C.Data?z&&Ie===C.Data?bt({},w.StrictDuplicateProperty):Ie!==C.Data&&bt({},w.AccessorDataProperty):Ie===C.Data?bt({},w.AccessorDataProperty):at[ye]&Ie&&bt({},w.AccessorGetSet),at[ye]|=Ie):at[ye]=Ie,_.push(F),gt("}")||yt(",");return yt("}"),U.markEnd(U.createObjectExpression(_),En)}function Jn(){var _;return yt("("),_=ea(),yt(")"),_}function rr(){var _,F,J,ye;if(gt("("))return Jn();if(gt("["))return Ur();if(gt("{"))return Ki();if(_=D.type,ye=D,_===g.Identifier)J=U.createIdentifier(ht().value);else if(_===g.StringLiteral||_===g.NumericLiteral)z&&D.octal&&bt(D,w.StrictOctalLiteral),J=U.createLiteral(ht());else if(_===g.Keyword){if(Qn("function"))return Du();Qn("this")?(ht(),J=U.createThisExpression()):Nn(ht())}else _===g.BooleanLiteral?(F=ht(),F.value=F.value==="true",J=U.createLiteral(F)):_===g.NullLiteral?(F=ht(),F.value=null,J=U.createLiteral(F)):gt("/")||gt("/=")?(typeof Y.tokens<"u"?J=U.createLiteral(Ut()):J=U.createLiteral(on()),wn()):Nn(ht());return U.markEnd(J,ye)}function La(){var _=[];if(yt("("),!gt(")"))for(;O<V&&(_.push(ya()),!gt(")"));)yt(",");return yt(")"),_}function Hr(){var _,F;return F=D,_=ht(),Ja(_)||Nn(_),U.markEnd(U.createIdentifier(_.value),F)}function Wn(){return yt("."),Hr()}function za(){var _;return yt("["),_=ea(),yt("]"),_}function jr(){var _,F,J;return J=D,On("new"),_=nn(),F=gt("(")?La():[],U.markEnd(U.createNewExpression(_,F),J)}function Eu(){var _,F,J,ye,Ie;for(Ie=D,_=j.allowIn,j.allowIn=!0,F=Qn("new")?jr():rr(),j.allowIn=_;;){if(gt("."))ye=Wn(),F=U.createMemberExpression(".",F,ye);else if(gt("("))J=La(),F=U.createCallExpression(F,J);else if(gt("["))ye=za(),F=U.createMemberExpression("[",F,ye);else break;U.markEnd(F,Ie)}return F}function nn(){var _,F,J,ye;for(ye=D,_=j.allowIn,F=Qn("new")?jr():rr(),j.allowIn=_;gt(".")||gt("[");)gt("[")?(J=za(),F=U.createMemberExpression("[",F,J)):(J=Wn(),F=U.createMemberExpression(".",F,J)),U.markEnd(F,ye);return F}function zn(){var _,F,J=D;return _=Eu(),D.type===g.Punctuator&&(gt("++")||gt("--"))&&!Bt()&&(z&&_.type===A.Identifier&&ge(_.name)&&bt({},w.StrictLHSPostfix),dr(_)||bt({},w.InvalidLHSInAssignment),F=ht(),_=U.markEnd(U.createPostfixExpression(F.value,_),J)),_}function Bn(){var _,F,J;return D.type!==g.Punctuator&&D.type!==g.Keyword?F=zn():gt("++")||gt("--")?(J=D,_=ht(),F=Bn(),z&&F.type===A.Identifier&&ge(F.name)&&bt({},w.StrictLHSPrefix),dr(F)||bt({},w.InvalidLHSInAssignment),F=U.createUnaryExpression(_.value,F),F=U.markEnd(F,J)):gt("+")||gt("-")||gt("~")||gt("!")?(J=D,_=ht(),F=Bn(),F=U.createUnaryExpression(_.value,F),F=U.markEnd(F,J)):Qn("delete")||Qn("void")||Qn("typeof")?(J=D,_=ht(),F=Bn(),F=U.createUnaryExpression(_.value,F),F=U.markEnd(F,J),z&&F.operator==="delete"&&F.argument.type===A.Identifier&&bt({},w.StrictDelete)):F=zn(),F}function Ia(_,F){var J=0;if(_.type!==g.Punctuator&&_.type!==g.Keyword)return 0;switch(_.value){case"||":J=1;break;case"&&":J=2;break;case"|":J=3;break;case"^":J=4;break;case"&":J=5;break;case"==":case"!=":case"===":case"!==":J=6;break;case"<":case">":case"<=":case">=":case"instanceof":J=7;break;case"in":J=F?7:0;break;case"<<":case">>":case">>>":J=8;break;case"+":case"-":J=9;break;case"*":case"/":case"%":J=11;break}return J}function gl(){var _,F,J,ye,Ie,at,qt,En,ba,$a;if(_=D,ba=Bn(),ye=D,Ie=Ia(ye,j.allowIn),Ie===0)return ba;for(ye.prec=Ie,ht(),F=[_,D],qt=Bn(),at=[ba,ye,qt];(Ie=Ia(D,j.allowIn))>0;){for(;at.length>2&&Ie<=at[at.length-2].prec;)qt=at.pop(),En=at.pop().value,ba=at.pop(),J=U.createBinaryExpression(En,ba,qt),F.pop(),_=F[F.length-1],U.markEnd(J,_),at.push(J);ye=ht(),ye.prec=Ie,at.push(ye),F.push(D),J=Bn(),at.push(J)}for($a=at.length-1,J=at[$a],F.pop();$a>1;)J=U.createBinaryExpression(at[$a-1].value,at[$a-2],J),$a-=2,_=F.pop(),U.markEnd(J,_);return J}function xu(){var _,F,J,ye,Ie;return Ie=D,_=gl(),gt("?")&&(ht(),F=j.allowIn,j.allowIn=!0,J=ya(),j.allowIn=F,yt(":"),ye=ya(),_=U.createConditionalExpression(_,J,ye),U.markEnd(_,Ie)),_}function ya(){var _,F,J,ye,Ie;return _=D,Ie=D,ye=F=xu(),ti()&&(dr(F)||bt({},w.InvalidLHSInAssignment),z&&F.type===A.Identifier&&ge(F.name)&&bt(_,w.StrictLHSAssignment),_=ht(),J=ya(),ye=U.markEnd(U.createAssignmentExpression(_.value,F,J),Ie)),ye}function ea(){var _,F=D;if(_=ya(),gt(",")){for(_=U.createSequenceExpression([_]);O<V&>(",");)ht(),_.expressions.push(ya());U.markEnd(_,F)}return _}function ft(){for(var _=[],F;O<V&&!(gt("}")||(F=Oi(),typeof F>"u"));)_.push(F);return _}function Au(){var _,F;return F=D,yt("{"),_=ft(),yt("}"),U.markEnd(U.createBlockStatement(_),F)}function fa(){var _,F;return F=D,_=ht(),_.type!==g.Identifier&&Nn(_),U.markEnd(U.createIdentifier(_.value),F)}function po(_){var F=null,J,ye;return ye=D,J=fa(),z&&ge(J.name)&&bt({},w.StrictVarName),_==="const"?(yt("="),F=ya()):gt("=")&&(ht(),F=ya()),U.markEnd(U.createVariableDeclarator(J,F),ye)}function Tu(_){var F=[];do{if(F.push(po(_)),!gt(","))break;ht()}while(O<V);return F}function $l(){var _;return On("var"),_=Tu(),Gn(),U.createVariableDeclaration(_,"var")}function Va(_){var F,J;return J=D,On(_),F=Tu(_),Gn(),U.markEnd(U.createVariableDeclaration(F,_),J)}function Zs(){return yt(";"),U.createEmptyStatement()}function ai(){var _=ea();return Gn(),U.createExpressionStatement(_)}function Cu(){var _,F,J;return On("if"),yt("("),_=ea(),yt(")"),F=ri(),Qn("else")?(ht(),J=ri()):J=null,U.createIfStatement(_,F,J)}function wu(){var _,F,J;return On("do"),J=j.inIteration,j.inIteration=!0,_=ri(),j.inIteration=J,On("while"),yt("("),F=ea(),yt(")"),gt(";")&&ht(),U.createDoWhileStatement(_,F)}function Ks(){var _,F,J;return On("while"),yt("("),_=ea(),yt(")"),J=j.inIteration,j.inIteration=!0,F=ri(),j.inIteration=J,U.createWhileStatement(_,F)}function Wc(){var _,F,J;return J=D,_=ht(),F=Tu(),U.markEnd(U.createVariableDeclaration(F,_.value),J)}function ns(){var _,F,J,ye,Ie,at,qt;return _=F=J=null,On("for"),yt("("),gt(";")?ht():(Qn("var")||Qn("let")?(j.allowIn=!1,_=Wc(),j.allowIn=!0,_.declarations.length===1&&Qn("in")&&(ht(),ye=_,Ie=ea(),_=null)):(j.allowIn=!1,_=ea(),j.allowIn=!0,Qn("in")&&(dr(_)||bt({},w.InvalidLHSInForIn),ht(),ye=_,Ie=ea(),_=null)),typeof ye>"u"&&yt(";")),typeof ye>"u"&&(gt(";")||(F=ea()),yt(";"),gt(")")||(J=ea())),yt(")"),qt=j.inIteration,j.inIteration=!0,at=ri(),j.inIteration=qt,typeof ye>"u"?U.createForStatement(_,F,J,at):U.createForInStatement(ye,Ie,at)}function Kh(){var _=null,F;return On("continue"),B.charCodeAt(O)===59?(ht(),j.inIteration||ut({},w.IllegalContinue),U.createContinueStatement(null)):Bt()?(j.inIteration||ut({},w.IllegalContinue),U.createContinueStatement(null)):(D.type===g.Identifier&&(_=fa(),F="$"+_.name,Object.prototype.hasOwnProperty.call(j.labelSet,F)||ut({},w.UnknownLabel,_.name)),Gn(),_===null&&!j.inIteration&&ut({},w.IllegalContinue),U.createContinueStatement(_))}function Pl(){var _=null,F;return On("break"),B.charCodeAt(O)===59?(ht(),j.inIteration||j.inSwitch||ut({},w.IllegalBreak),U.createBreakStatement(null)):Bt()?(j.inIteration||j.inSwitch||ut({},w.IllegalBreak),U.createBreakStatement(null)):(D.type===g.Identifier&&(_=fa(),F="$"+_.name,Object.prototype.hasOwnProperty.call(j.labelSet,F)||ut({},w.UnknownLabel,_.name)),Gn(),_===null&&!(j.inIteration||j.inSwitch)&&ut({},w.IllegalBreak),U.createBreakStatement(_))}function Js(){var _=null;return On("return"),j.inFunctionBody||bt({},w.IllegalReturn),B.charCodeAt(O)===32&&Ue(B.charCodeAt(O+1))?(_=ea(),Gn(),U.createReturnStatement(_)):Bt()?U.createReturnStatement(null):(gt(";")||!gt("}")&&D.type!==g.EOF&&(_=ea()),Gn(),U.createReturnStatement(_))}function Ji(){var _,F;return z&&(ne(),bt({},w.StrictModeWith)),On("with"),yt("("),_=ea(),yt(")"),F=ri(),U.createWithStatement(_,F)}function Ws(){var _,F=[],J,ye;for(ye=D,Qn("default")?(ht(),_=null):(On("case"),_=ea()),yt(":");O<V&&!(gt("}")||Qn("default")||Qn("case"));)J=ri(),F.push(J);return U.markEnd(U.createSwitchCase(_,F),ye)}function ef(){var _,F,J,ye,Ie;if(On("switch"),yt("("),_=ea(),yt(")"),yt("{"),F=[],gt("}"))return ht(),U.createSwitchStatement(_,F);for(ye=j.inSwitch,j.inSwitch=!0,Ie=!1;O<V&&!gt("}");)J=Ws(),J.test===null&&(Ie&&ut({},w.MultipleDefaultsInSwitch),Ie=!0),F.push(J);return j.inSwitch=ye,yt("}"),U.createSwitchStatement(_,F)}function mo(){var _;return On("throw"),Bt()&&ut({},w.NewlineAfterThrow),_=ea(),Gn(),U.createThrowStatement(_)}function xr(){var _,F,J;return J=D,On("catch"),yt("("),gt(")")&&Nn(D),_=fa(),z&&ge(_.name)&&bt({},w.StrictCatchVariable),yt(")"),F=Au(),U.markEnd(U.createCatchClause(_,F),J)}function Ou(){var _,F=[],J=null;return On("try"),_=Au(),Qn("catch")&&F.push(xr()),Qn("finally")&&(ht(),J=Au()),F.length===0&&!J&&ut({},w.NoCatchOrFinally),U.createTryStatement(_,[],F,J)}function vo(){return On("debugger"),Gn(),U.createDebuggerStatement()}function ri(){var _=D.type,F,J,ye,Ie;if(_===g.EOF&&Nn(D),_===g.Punctuator&&D.value==="{")return Au();if(Ie=D,_===g.Punctuator)switch(D.value){case";":return U.markEnd(Zs(),Ie);case"(":return U.markEnd(ai(),Ie)}if(_===g.Keyword)switch(D.value){case"break":return U.markEnd(Pl(),Ie);case"continue":return U.markEnd(Kh(),Ie);case"debugger":return U.markEnd(vo(),Ie);case"do":return U.markEnd(wu(),Ie);case"for":return U.markEnd(ns(),Ie);case"function":return U.markEnd(as(),Ie);case"if":return U.markEnd(Cu(),Ie);case"return":return U.markEnd(Js(),Ie);case"switch":return U.markEnd(ef(),Ie);case"throw":return U.markEnd(mo(),Ie);case"try":return U.markEnd(Ou(),Ie);case"var":return U.markEnd($l(),Ie);case"while":return U.markEnd(Ks(),Ie);case"with":return U.markEnd(Ji(),Ie)}return F=ea(),F.type===A.Identifier&>(":")?(ht(),ye="$"+F.name,Object.prototype.hasOwnProperty.call(j.labelSet,ye)&&ut({},w.Redeclaration,"Label",F.name),j.labelSet[ye]=!0,J=ri(),delete j.labelSet[ye],U.markEnd(U.createLabeledStatement(F,J),Ie)):(Gn(),U.markEnd(U.createExpressionStatement(F),Ie))}function Xa(){var _,F=[],J,ye,Ie,at,qt,En,ba,$a;for($a=D,yt("{");O<V&&!(D.type!==g.StringLiteral||(J=D,_=Oi(),F.push(_),_.expression.type!==A.Literal));)ye=B.slice(J.start+1,J.end-1),ye==="use strict"?(z=!0,Ie&&bt(Ie,w.StrictOctalLiteral)):!Ie&&J.octal&&(Ie=J);for(at=j.labelSet,qt=j.inIteration,En=j.inSwitch,ba=j.inFunctionBody,j.labelSet={},j.inIteration=!1,j.inSwitch=!1,j.inFunctionBody=!0;O<V&&!(gt("}")||(_=Oi(),typeof _>"u"));)F.push(_);return yt("}"),j.labelSet=at,j.inIteration=qt,j.inSwitch=En,j.inFunctionBody=ba,U.markEnd(U.createBlockStatement(F),$a)}function go(_){var F,J=[],ye,Ie,at,qt,En;if(yt("("),!gt(")"))for(at={};O<V&&(ye=D,F=fa(),qt="$"+ye.value,z?(ge(ye.value)&&(Ie=ye,En=w.StrictParamName),Object.prototype.hasOwnProperty.call(at,qt)&&(Ie=ye,En=w.StrictParamDupe)):_||(ge(ye.value)?(_=ye,En=w.StrictParamName):ce(ye.value)?(_=ye,En=w.StrictReservedWord):Object.prototype.hasOwnProperty.call(at,qt)&&(_=ye,En=w.StrictParamDupe)),J.push(F),at[qt]=!0,!gt(")"));)yt(",");return yt(")"),{params:J,stricted:Ie,firstRestricted:_,message:En}}function as(){var _,F=[],J,ye,Ie,at,qt,En,ba,$a;return $a=D,On("function"),ye=D,_=fa(),z?ge(ye.value)&&bt(ye,w.StrictFunctionName):ge(ye.value)?(qt=ye,En=w.StrictFunctionName):ce(ye.value)&&(qt=ye,En=w.StrictReservedWord),at=go(qt),F=at.params,Ie=at.stricted,qt=at.firstRestricted,at.message&&(En=at.message),ba=z,J=Xa(),z&&qt&&ut(qt,En),z&&Ie&&bt(Ie,En),z=ba,U.markEnd(U.createFunctionDeclaration(_,F,[],J),$a)}function Du(){var _,F=null,J,ye,Ie,at,qt=[],En,ba,$a;return $a=D,On("function"),gt("(")||(_=D,F=fa(),z?ge(_.value)&&bt(_,w.StrictFunctionName):ge(_.value)?(ye=_,Ie=w.StrictFunctionName):ce(_.value)&&(ye=_,Ie=w.StrictReservedWord)),at=go(ye),qt=at.params,J=at.stricted,ye=at.firstRestricted,at.message&&(Ie=at.message),ba=z,En=Xa(),z&&ye&&ut(ye,Ie),z&&J&&bt(J,Ie),z=ba,U.markEnd(U.createFunctionExpression(F,qt,[],En),$a)}function Oi(){if(D.type===g.Keyword)switch(D.value){case"const":case"let":return Va(D.value);case"function":return as();default:return ri()}if(D.type!==g.EOF)return ri()}function Ql(){for(var _,F=[],J,ye,Ie;O<V&&(J=D,!(J.type!==g.StringLiteral||(_=Oi(),F.push(_),_.expression.type!==A.Literal)));)ye=B.slice(J.start+1,J.end-1),ye==="use strict"?(z=!0,Ie&&bt(Ie,w.StrictOctalLiteral)):!Ie&&J.octal&&(Ie=J);for(;O<V&&(_=Oi(),!(typeof _>"u"));)F.push(_);return F}function Jh(){var _,F;return ne(),wn(),F=D,z=!1,_=Ql(),U.markEnd(U.createProgram(_),F)}function ii(){var _,F,J,ye=[];for(_=0;_<Y.tokens.length;++_)F=Y.tokens[_],J={type:F.type,value:F.value},Y.range&&(J.range=F.range),Y.loc&&(J.loc=F.loc),ye.push(J);Y.tokens=ye}function ec(_,F){var J,ye,Ie;J=String,typeof _!="string"&&!(_ instanceof String)&&(_=J(_)),U=L,B=_,O=0,I=B.length>0?1:0,X=0,V=B.length,D=null,j={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Y={},F=F||{},F.tokens=!0,Y.tokens=[],Y.tokenize=!0,Y.openParenToken=-1,Y.openCurlyToken=-1,Y.range=typeof F.range=="boolean"&&F.range,Y.loc=typeof F.loc=="boolean"&&F.loc,typeof F.comment=="boolean"&&F.comment&&(Y.comments=[]),typeof F.tolerant=="boolean"&&F.tolerant&&(Y.errors=[]);try{if(wn(),D.type===g.EOF)return Y.tokens;for(ye=ht();D.type!==g.EOF;)try{ye=ht()}catch(at){if(ye=D,Y.errors){Y.errors.push(at);break}else throw at}ii(),Ie=Y.tokens,typeof Y.comments<"u"&&(Ie.comments=Y.comments),typeof Y.errors<"u"&&(Ie.errors=Y.errors)}catch(at){throw at}finally{Y={}}return Ie}function tc(_,F){var J,ye;ye=String,typeof _!="string"&&!(_ instanceof String)&&(_=ye(_)),U=L,B=_,O=0,I=B.length>0?1:0,X=0,V=B.length,D=null,j={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Y={},typeof F<"u"&&(Y.range=typeof F.range=="boolean"&&F.range,Y.loc=typeof F.loc=="boolean"&&F.loc,Y.attachComment=typeof F.attachComment=="boolean"&&F.attachComment,Y.loc&&F.source!==null&&F.source!==void 0&&(Y.source=ye(F.source)),typeof F.tokens=="boolean"&&F.tokens&&(Y.tokens=[]),typeof F.comment=="boolean"&&F.comment&&(Y.comments=[]),typeof F.tolerant=="boolean"&&F.tolerant&&(Y.errors=[]),Y.attachComment&&(Y.range=!0,Y.comments=[],Y.bottomRightStack=[],Y.trailingComments=[],Y.leadingComments=[]));try{J=Jh(),typeof Y.comments<"u"&&(J.comments=Y.comments),typeof Y.tokens<"u"&&(ii(),J.tokens=Y.tokens),typeof Y.errors<"u"&&(J.errors=Y.errors)}catch(Ie){throw Ie}finally{Y={}}return J}v.version="1.2.2",v.tokenize=ec,v.parse=tc,v.Syntax=function(){var _,F={};typeof Object.create=="function"&&(F=Object.create(null));for(_ in A)A.hasOwnProperty(_)&&(F[_]=A[_]);return typeof Object.freeze=="function"&&Object.freeze(F),F}()})},{}],1:[function(u,f,p){(function(v){var g=function(){var E={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(M,L,B,z,O,I,X){z.ast||(z.ast=S,S.initialize());var V=I.length-1;switch(O){case 1:return z.ast.set({expression:{type:"root",value:I[V]}}),z.ast.unshift(),z.ast.yield();case 2:return z.ast.set({expression:{type:"root",value:I[V-1]}}),z.ast.unshift(),z.ast.yield();case 3:return z.ast.unshift(),z.ast.yield();case 4:return z.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:I[V-1]}}),z.ast.unshift(),z.ast.yield();case 5:break;case 6:break;case 7:z.ast.set({operation:"member"}),z.ast.push();break;case 8:z.ast.set({operation:"subscript"}),z.ast.push();break;case 9:z.ast.set({scope:"child"});break;case 10:z.ast.set({scope:"descendant"});break;case 11:break;case 12:z.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:z.ast.set({expression:{type:"wildcard",value:I[V]}});break;case 15:z.ast.set({expression:{type:"identifier",value:I[V]}});break;case 16:z.ast.set({expression:{type:"script_expression",value:I[V]}});break;case 17:z.ast.set({expression:{type:"numeric_literal",value:parseInt(I[V])}});break;case 18:break;case 19:z.ast.set({scope:"child"});break;case 20:z.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:I[V].length>1?z.ast.set({expression:{type:"union",value:I[V]}}):this.$=I[V];break;case 25:this.$=[I[V]];break;case 26:this.$=I[V-2].concat(I[V]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(I[V])}},z.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:I[V]}},z.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:I[V]}},z.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:I[V]}},z.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:I[V]}},z.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:I[V]}},z.ast.set(this.$);break;case 33:this.$=I[V];break;case 34:this.$=I[V];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(M,L){if(L.recoverable)this.trace(M);else throw new Error(M)},parse:function(M){var L=this,B=[0],z=[null],O=[],I=this.table,X="",V=0,U=0,D=2,j=1,Y=O.slice.call(arguments,1);this.lexer.setInput(M),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var ie=this.lexer.yylloc;O.push(ie);var oe=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(){var Ee;return Ee=L.lexer.lex()||j,typeof Ee!="number"&&(Ee=L.symbols_[Ee]||Ee),Ee}for(var ve,_e,ze,Ue,Qe={},ee,ce,ge,We;;){if(_e=B[B.length-1],this.defaultActions[_e]?ze=this.defaultActions[_e]:((ve===null||typeof ve>"u")&&(ve=pe()),ze=I[_e]&&I[_e][ve]),typeof ze>"u"||!ze.length||!ze[0]){var W="";We=[];for(ee in I[_e])this.terminals_[ee]&&ee>D&&We.push("'"+this.terminals_[ee]+"'");this.lexer.showPosition?W="Parse error on line "+(V+1)+`:
|
|
79
|
-
`+this.lexer.showPosition()+`
|
|
80
|
-
Expecting `+We.join(", ")+", got '"+(this.terminals_[ve]||ve)+"'":W="Parse error on line "+(V+1)+": Unexpected "+(ve==j?"end of input":"'"+(this.terminals_[ve]||ve)+"'"),this.parseError(W,{text:this.lexer.match,token:this.terminals_[ve]||ve,line:this.lexer.yylineno,loc:ie,expected:We})}if(ze[0]instanceof Array&&ze.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_e+", token: "+ve);switch(ze[0]){case 1:B.push(ve),z.push(this.lexer.yytext),O.push(this.lexer.yylloc),B.push(ze[1]),ve=null,U=this.lexer.yyleng,X=this.lexer.yytext,V=this.lexer.yylineno,ie=this.lexer.yylloc;break;case 2:if(ce=this.productions_[ze[1]][1],Qe.$=z[z.length-ce],Qe._$={first_line:O[O.length-(ce||1)].first_line,last_line:O[O.length-1].last_line,first_column:O[O.length-(ce||1)].first_column,last_column:O[O.length-1].last_column},oe&&(Qe._$.range=[O[O.length-(ce||1)].range[0],O[O.length-1].range[1]]),Ue=this.performAction.apply(Qe,[X,U,V,this.yy,ze[1],z,O].concat(Y)),typeof Ue<"u")return Ue;ce&&(B=B.slice(0,-1*ce*2),z=z.slice(0,-1*ce),O=O.slice(0,-1*ce)),B.push(this.productions_[ze[1]][0]),z.push(Qe.$),O.push(Qe._$),ge=I[B[B.length-2]][B[B.length-1]],B.push(ge);break;case 3:return!0}}return!0}},S={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(w){for(var M in w)this._node[M]=w[M];return this._node},node:function(w){return arguments.length&&(this._node=w),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var w=this._nodes;return this.initialize(),w}},A=function(){var w={EOF:1,parseError:function(L,B){if(this.yy.parser)this.yy.parser.parseError(L,B);else throw new Error(L)},setInput:function(M){return this._input=M,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var M=this._input[0];this.yytext+=M,this.yyleng++,this.offset++,this.match+=M,this.matched+=M;var L=M.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),M},unput:function(M){var L=M.length,B=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L-1),this.offset-=L;var z=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var O=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:B?(B.length===z.length?this.yylloc.first_column:0)+z[z.length-B.length].length-B[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
81
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(M){this.unput(this.match.slice(M))},pastInput:function(){var M=this.matched.substr(0,this.matched.length-this.match.length);return(M.length>20?"...":"")+M.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var M=this.match;return M.length<20&&(M+=this._input.substr(0,20-M.length)),(M.substr(0,20)+(M.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var M=this.pastInput(),L=new Array(M.length+1).join("-");return M+this.upcomingInput()+`
|
|
82
|
-
`+L+"^"},test_match:function(M,L){var B,z,O;if(this.options.backtrack_lexer&&(O={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(O.yylloc.range=this.yylloc.range.slice(0))),z=M[0].match(/(?:\r\n?|\n).*/g),z&&(this.yylineno+=z.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:z?z[z.length-1].length-z[z.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+M[0].length},this.yytext+=M[0],this.match+=M[0],this.matches=M,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(M[0].length),this.matched+=M[0],B=this.performAction.call(this,this.yy,this,L,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var I in O)this[I]=O[I];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var M,L,B,z;this._more||(this.yytext="",this.match="");for(var O=this._currentRules(),I=0;I<O.length;I++)if(B=this._input.match(this.rules[O[I]]),B&&(!L||B[0].length>L[0].length)){if(L=B,z=I,this.options.backtrack_lexer){if(M=this.test_match(B,O[I]),M!==!1)return M;if(this._backtrack){L=!1;continue}else return!1}else if(!this.options.flex)break}return L?(M=this.test_match(L,O[z]),M!==!1?M:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
83
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var L=this.next();return L||this.lex()},begin:function(L){this.conditionStack.push(L)},popState:function(){var L=this.conditionStack.length-1;return L>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(L){return L=this.conditionStack.length-1-Math.abs(L||0),L>=0?this.conditionStack[L]:"INITIAL"},pushState:function(L){this.begin(L)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(L,B,z,O){switch(z){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return B.yytext=B.yytext.substr(1,B.yyleng-2),32;case 11:return B.yytext=B.yytext.substr(1,B.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return w}();E.lexer=A;function C(){this.yy={}}return C.prototype=E,E.Parser=C,new C}();typeof u<"u"&&typeof p<"u"&&(p.parser=g,p.Parser=g.Parser,p.parse=function(){return g.parse.apply(g,arguments)},p.main=function(S){S[1]||(console.log("Usage: "+S[0]+" FILE"),v.exit(1));var A=u("fs").readFileSync(u("path").normalize(S[1]),"utf8");return p.parser.parse(A)},typeof f<"u"&&u.main===f&&p.main(v.argv.slice(1)))}).call(this,u("_process"))},{_process:14,fs:12,path:13}],2:[function(u,f,p){f.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(u,f,p){var v=u("./dict"),g=u("fs"),E={lex:{macros:{esc:"\\\\",int:v.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[v.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[v.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[v.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};g.readFileSync&&(E.moduleInclude=g.readFileSync(u.resolve("../include/module.js")),E.actionInclude=g.readFileSync(u.resolve("../include/action.js"))),f.exports=E},{"./dict":2,fs:12}],4:[function(u,f,p){var v=u("./aesprim"),g=u("./slice"),E=u("static-eval"),S=u("underscore").uniq,A=function(){return this.initialize.apply(this,arguments)};A.prototype.initialize=function(){this.traverse=L(!0),this.descend=L()},A.prototype.keys=Object.keys,A.prototype.resolve=function(V){var U=[V.operation,V.scope,V.expression.type].join("-"),D=this._fns[U];if(!D)throw new Error("couldn't resolve key: "+U);return D.bind(this)},A.prototype.register=function(V,U){if(!U instanceof Function)throw new Error("handler must be a function");this._fns[V]=U},A.prototype._fns={"member-child-identifier":function(V,U){var D=V.expression.value,j=U.value;if(j instanceof Object&&D in j)return[{value:j[D],path:U.path.concat(D)}]},"member-descendant-identifier":z(function(V,U,D){return V==D}),"subscript-child-numeric_literal":B(function(V,U,D){return V===D}),"member-child-numeric_literal":B(function(V,U,D){return String(V)===String(D)}),"subscript-descendant-numeric_literal":z(function(V,U,D){return V===D}),"member-child-wildcard":B(function(){return!0}),"member-descendant-wildcard":z(function(){return!0}),"subscript-descendant-wildcard":z(function(){return!0}),"subscript-child-wildcard":B(function(){return!0}),"subscript-child-slice":function(V,U){if(w(U.value)){var D=V.expression.value.split(":").map(X),j=U.value.map(function(Y,ie){return{value:Y,path:U.path.concat(ie)}});return g.apply(null,[j].concat(D))}},"subscript-child-union":function(V,U){var D=[];return V.expression.value.forEach(function(j){var Y={operation:"subscript",scope:"child",expression:j.expression},ie=this.resolve(Y),oe=ie(Y,U);oe&&(D=D.concat(oe))},this),I(D)},"subscript-descendant-union":function(V,U,D){var j=u(".."),Y=this,ie=[],oe=j.nodes(U,"$..*").slice(1);return oe.forEach(function(pe){ie.length>=D||V.expression.value.forEach(function(ve){var _e={operation:"subscript",scope:"child",expression:ve.expression},ze=Y.resolve(_e),Ue=ze(_e,pe);ie=ie.concat(Ue)})}),I(ie)},"subscript-child-filter_expression":function(V,U,D){var j=V.expression.value.slice(2,-1),Y=v.parse(j).body[0].expression,ie=function(oe,pe){return O(Y,{"@":pe})};return this.descend(U,null,ie,D)},"subscript-descendant-filter_expression":function(V,U,D){var j=V.expression.value.slice(2,-1),Y=v.parse(j).body[0].expression,ie=function(oe,pe){return O(Y,{"@":pe})};return this.traverse(U,null,ie,D)},"subscript-child-script_expression":function(V,U){var D=V.expression.value.slice(1,-1);return C(U,D,"$[{{value}}]")},"member-child-script_expression":function(V,U){var D=V.expression.value.slice(1,-1);return C(U,D,"$.{{value}}")},"member-descendant-script_expression":function(V,U){var D=V.expression.value.slice(1,-1);return C(U,D,"$..value")}},A.prototype._fns["subscript-child-string_literal"]=A.prototype._fns["member-child-identifier"],A.prototype._fns["member-descendant-numeric_literal"]=A.prototype._fns["subscript-descendant-string_literal"]=A.prototype._fns["member-descendant-identifier"];function C(V,U,D){var j=u("./index"),Y=v.parse(U).body[0].expression,ie=O(Y,{"@":V.value}),oe=D.replace(/\{\{\s*value\s*\}\}/g,ie),pe=j.nodes(V.value,oe);return pe.forEach(function(ve){ve.path=V.path.concat(ve.path.slice(1))}),pe}function w(V){return Array.isArray(V)}function M(V){return V&&!(V instanceof Array)&&V instanceof Object}function L(V){return function(U,D,j,Y){var ie=U.value,oe=U.path,pe=[],ve=(function(_e,ze){w(_e)?(_e.forEach(function(Ue,Qe){pe.length>=Y||j(Qe,Ue,D)&&pe.push({path:ze.concat(Qe),value:Ue})}),_e.forEach(function(Ue,Qe){pe.length>=Y||V&&ve(Ue,ze.concat(Qe))})):M(_e)&&(this.keys(_e).forEach(function(Ue){pe.length>=Y||j(Ue,_e[Ue],D)&&pe.push({path:ze.concat(Ue),value:_e[Ue]})}),this.keys(_e).forEach(function(Ue){pe.length>=Y||V&&ve(_e[Ue],ze.concat(Ue))}))}).bind(this);return ve(ie,oe),pe}}function B(V){return function(U,D,j){return this.descend(D,U.expression.value,V,j)}}function z(V){return function(U,D,j){return this.traverse(D,U.expression.value,V,j)}}function O(){try{return E.apply(this,arguments)}catch{}}function I(V){return V=V.filter(function(U){return U}),S(V,function(U){return U.path.map(function(D){return String(D).replace("-","--")}).join("-")})}function X(V){var U=String(V);return U.match(/^-?[0-9]+$/)?parseInt(U):null}f.exports=A},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(u,f,p){var v=u("assert"),g=u("./dict"),E=u("./parser"),S=u("./handlers"),A=function(){this.initialize.apply(this,arguments)};A.prototype.initialize=function(){this.parser=new E,this.handlers=new S},A.prototype.parse=function(M){return v.ok(C(M),"we need a path"),this.parser.parse(M)},A.prototype.parent=function(M,L){v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path");var B=this.nodes(M,L)[0];return B.path.pop(),this.value(M,B.path)},A.prototype.apply=function(M,L,B){v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path"),v.equal(typeof B,"function","fn needs to be function");var z=this.nodes(M,L).sort(function(O,I){return I.path.length-O.path.length});return z.forEach(function(O){var I=O.path.pop(),X=this.value(M,this.stringify(O.path)),V=O.value=B.call(M,X[I]);X[I]=V},this),z},A.prototype.value=function(M,L,B){if(v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path"),arguments.length>=3){var z=this.nodes(M,L).shift();if(!z)return this._vivify(M,L,B);var O=z.path.slice(-1).shift(),I=this.parent(M,this.stringify(z.path));I[O]=B}return this.query(M,this.stringify(L),1).shift()},A.prototype._vivify=function(M,L,B){var z=this;v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path");var O=this.parser.parse(L).map(function(X){return X.expression.value}),I=function(X,V){var U=X.pop(),D=z.value(M,X);D||(I(X.concat(),typeof U=="string"?{}:[]),D=z.value(M,X)),D[U]=V};return I(O,B),this.query(M,L)[0]},A.prototype.query=function(M,L,B){v.ok(M instanceof Object,"obj needs to be an object"),v.ok(C(L),"we need a path");var z=this.nodes(M,L,B).map(function(O){return O.value});return z},A.prototype.paths=function(M,L,B){v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path");var z=this.nodes(M,L,B).map(function(O){return O.path});return z},A.prototype.nodes=function(M,L,B){if(v.ok(M instanceof Object,"obj needs to be an object"),v.ok(L,"we need a path"),B===0)return[];var z=this.parser.parse(L),O=this.handlers,I=[{path:["$"],value:M}],X=[];return z.length&&z[0].expression.type=="root"&&z.shift(),z.length?(z.forEach(function(V,U){if(!(X.length>=B)){var D=O.resolve(V),j=[];I.forEach(function(Y){if(!(X.length>=B)){var ie=D(V,Y,B);U==z.length-1?X=X.concat(ie||[]):j=j.concat(ie||[])}}),I=j}}),B?X.slice(0,B):X):I},A.prototype.stringify=function(M){v.ok(M,"we need a path");var L="$",B={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return M=this._normalize(M),M.forEach(function(z){if(z.expression.type!="root"){var O=[z.scope,z.operation].join("-"),I=B[O],X;if(z.expression.type=="string_literal"?X=JSON.stringify(z.expression.value):X=z.expression.value,!I)throw new Error("couldn't find template "+O);L+=I.replace(/{{value}}/,X)}}),L},A.prototype._normalize=function(M){if(v.ok(M,"we need a path"),typeof M=="string")return this.parser.parse(M);if(Array.isArray(M)&&typeof M[0]=="string"){var L=[{expression:{type:"root",value:"$"}}];return M.forEach(function(B,z){if(!(B=="$"&&z===0))if(typeof B=="string"&&B.match("^"+g.identifier+"$"))L.push({operation:"member",scope:"child",expression:{value:B,type:"identifier"}});else{var O=typeof B=="number"?"numeric_literal":"string_literal";L.push({operation:"subscript",scope:"child",expression:{value:B,type:O}})}}),L}else if(Array.isArray(M)&&typeof M[0]=="object")return M;throw new Error("couldn't understand path "+M)};function C(M){return Object.prototype.toString.call(M)=="[object String]"}A.Handlers=S,A.Parser=E;var w=new A;w.JSONPath=A,f.exports=w},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(u,f,p){var v=u("./grammar"),g=u("../generated/parser"),E=function(){var S=new g.Parser,A=S.parseError;return S.yy.parseError=function(){S.yy.ast&&S.yy.ast.initialize(),A.apply(S,arguments)},S};E.grammar=v,f.exports=E},{"../generated/parser":1,"./grammar":3}],7:[function(u,f,p){f.exports=function(g,E,S,A){if(typeof E=="string")throw new Error("start cannot be a string");if(typeof S=="string")throw new Error("end cannot be a string");if(typeof A=="string")throw new Error("step cannot be a string");var C=g.length;if(A===0)throw new Error("step cannot be zero");if(A=A?v(A):1,E=E<0?C+E:E,S=S<0?C+S:S,E=v(E===0?0:E||(A>0?0:C-1)),S=v(S===0?0:S||(A>0?C:-1)),E=A>0?Math.max(0,E):Math.min(C,E),S=A>0?Math.min(S,C):Math.max(-1,S),A>0&&S<=E)return[];if(A<0&&E<=S)return[];for(var w=[],M=E;M!=S&&!(A<0&&M<=S||A>0&&M>=S);M+=A)w.push(g[M]);return w};function v(g){return String(g).match(/^[0-9]+$/)?parseInt(g):Number.isFinite(g)?parseInt(g,10):0}},{}],8:[function(u,f,p){var v=u("util/"),g=Array.prototype.slice,E=Object.prototype.hasOwnProperty,S=f.exports=L;S.AssertionError=function(D){this.name="AssertionError",this.actual=D.actual,this.expected=D.expected,this.operator=D.operator,D.message?(this.message=D.message,this.generatedMessage=!1):(this.message=w(this),this.generatedMessage=!0);var j=D.stackStartFunction||M;if(Error.captureStackTrace)Error.captureStackTrace(this,j);else{var Y=new Error;if(Y.stack){var ie=Y.stack,oe=j.name,pe=ie.indexOf(`
|
|
84
|
-
`+oe);if(pe>=0){var ve=ie.indexOf(`
|
|
85
|
-
`,pe+1);ie=ie.substring(ve+1)}this.stack=ie}}},v.inherits(S.AssertionError,Error);function A(U,D){return v.isUndefined(D)?""+D:v.isNumber(D)&&!isFinite(D)||v.isFunction(D)||v.isRegExp(D)?D.toString():D}function C(U,D){return v.isString(U)?U.length<D?U:U.slice(0,D):U}function w(U){return C(JSON.stringify(U.actual,A),128)+" "+U.operator+" "+C(JSON.stringify(U.expected,A),128)}function M(U,D,j,Y,ie){throw new S.AssertionError({message:j,actual:U,expected:D,operator:Y,stackStartFunction:ie})}S.fail=M;function L(U,D){U||M(U,!0,D,"==",S.ok)}S.ok=L,S.equal=function(D,j,Y){D!=j&&M(D,j,Y,"==",S.equal)},S.notEqual=function(D,j,Y){D==j&&M(D,j,Y,"!=",S.notEqual)},S.deepEqual=function(D,j,Y){B(D,j)||M(D,j,Y,"deepEqual",S.deepEqual)};function B(U,D){if(U===D)return!0;if(v.isBuffer(U)&&v.isBuffer(D)){if(U.length!=D.length)return!1;for(var j=0;j<U.length;j++)if(U[j]!==D[j])return!1;return!0}else return v.isDate(U)&&v.isDate(D)?U.getTime()===D.getTime():v.isRegExp(U)&&v.isRegExp(D)?U.source===D.source&&U.global===D.global&&U.multiline===D.multiline&&U.lastIndex===D.lastIndex&&U.ignoreCase===D.ignoreCase:!v.isObject(U)&&!v.isObject(D)?U==D:O(U,D)}function z(U){return Object.prototype.toString.call(U)=="[object Arguments]"}function O(U,D){if(v.isNullOrUndefined(U)||v.isNullOrUndefined(D)||U.prototype!==D.prototype)return!1;if(v.isPrimitive(U)||v.isPrimitive(D))return U===D;var j=z(U),Y=z(D);if(j&&!Y||!j&&Y)return!1;if(j)return U=g.call(U),D=g.call(D),B(U,D);var ie=V(U),oe=V(D),pe,ve;if(ie.length!=oe.length)return!1;for(ie.sort(),oe.sort(),ve=ie.length-1;ve>=0;ve--)if(ie[ve]!=oe[ve])return!1;for(ve=ie.length-1;ve>=0;ve--)if(pe=ie[ve],!B(U[pe],D[pe]))return!1;return!0}S.notDeepEqual=function(D,j,Y){B(D,j)&&M(D,j,Y,"notDeepEqual",S.notDeepEqual)},S.strictEqual=function(D,j,Y){D!==j&&M(D,j,Y,"===",S.strictEqual)},S.notStrictEqual=function(D,j,Y){D===j&&M(D,j,Y,"!==",S.notStrictEqual)};function I(U,D){return!U||!D?!1:Object.prototype.toString.call(D)=="[object RegExp]"?D.test(U):U instanceof D?!0:D.call({},U)===!0}function X(U,D,j,Y){var ie;v.isString(j)&&(Y=j,j=null);try{D()}catch(oe){ie=oe}if(Y=(j&&j.name?" ("+j.name+").":".")+(Y?" "+Y:"."),U&&!ie&&M(ie,j,"Missing expected exception"+Y),!U&&I(ie,j)&&M(ie,j,"Got unwanted exception"+Y),U&&ie&&j&&!I(ie,j)||!U&&ie)throw ie}S.throws=function(U,D,j){X.apply(this,[!0].concat(g.call(arguments)))},S.doesNotThrow=function(U,D){X.apply(this,[!1].concat(g.call(arguments)))},S.ifError=function(U){if(U)throw U};var V=Object.keys||function(U){var D=[];for(var j in U)E.call(U,j)&&D.push(j);return D}},{"util/":11}],9:[function(u,f,p){typeof Object.create=="function"?f.exports=function(g,E){g.super_=E,g.prototype=Object.create(E.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}})}:f.exports=function(g,E){g.super_=E;var S=function(){};S.prototype=E.prototype,g.prototype=new S,g.prototype.constructor=g}},{}],10:[function(u,f,p){f.exports=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}},{}],11:[function(u,f,p){(function(v,g){var E=/%[sdj%]/g;p.format=function(ne){if(!oe(ne)){for(var he=[],De=0;De<arguments.length;De++)he.push(C(arguments[De]));return he.join(" ")}for(var De=1,Ye=arguments,rt=Ye.length,Ke=String(ne).replace(E,function(Ce){if(Ce==="%%")return"%";if(De>=rt)return Ce;switch(Ce){case"%s":return String(Ye[De++]);case"%d":return Number(Ye[De++]);case"%j":try{return JSON.stringify(Ye[De++])}catch{return"[Circular]"}default:return Ce}}),Ne=Ye[De];De<rt;Ne=Ye[++De])j(Ne)||!ze(Ne)?Ke+=" "+Ne:Ke+=" "+C(Ne);return Ke},p.deprecate=function(ne,he){if(ve(g.process))return function(){return p.deprecate(ne,he).apply(this,arguments)};if(v.noDeprecation===!0)return ne;var De=!1;function Ye(){if(!De){if(v.throwDeprecation)throw new Error(he);v.traceDeprecation?console.trace(he):console.error(he),De=!0}return ne.apply(this,arguments)}return Ye};var S={},A;p.debuglog=function(ne){if(ve(A)&&(A=v.env.NODE_DEBUG||""),ne=ne.toUpperCase(),!S[ne])if(new RegExp("\\b"+ne+"\\b","i").test(A)){var he=v.pid;S[ne]=function(){var De=p.format.apply(p,arguments);console.error("%s %d: %s",ne,he,De)}}else S[ne]=function(){};return S[ne]};function C(ne,he){var De={seen:[],stylize:M};return arguments.length>=3&&(De.depth=arguments[2]),arguments.length>=4&&(De.colors=arguments[3]),D(he)?De.showHidden=he:he&&p._extend(De,he),ve(De.showHidden)&&(De.showHidden=!1),ve(De.depth)&&(De.depth=2),ve(De.colors)&&(De.colors=!1),ve(De.customInspect)&&(De.customInspect=!0),De.colors&&(De.stylize=w),B(De,ne,De.depth)}p.inspect=C,C.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},C.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function w(ne,he){var De=C.styles[he];return De?"\x1B["+C.colors[De][0]+"m"+ne+"\x1B["+C.colors[De][1]+"m":ne}function M(ne,he){return ne}function L(ne){var he={};return ne.forEach(function(De,Ye){he[De]=!0}),he}function B(ne,he,De){if(ne.customInspect&&he&&ee(he.inspect)&&he.inspect!==p.inspect&&!(he.constructor&&he.constructor.prototype===he)){var Ye=he.inspect(De,ne);return oe(Ye)||(Ye=B(ne,Ye,De)),Ye}var rt=z(ne,he);if(rt)return rt;var Ke=Object.keys(he),Ne=L(Ke);if(ne.showHidden&&(Ke=Object.getOwnPropertyNames(he)),Qe(he)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return O(he);if(Ke.length===0){if(ee(he)){var Ce=he.name?": "+he.name:"";return ne.stylize("[Function"+Ce+"]","special")}if(_e(he))return ne.stylize(RegExp.prototype.toString.call(he),"regexp");if(Ue(he))return ne.stylize(Date.prototype.toString.call(he),"date");if(Qe(he))return O(he)}var nt="",ke=!1,Tt=["{","}"];if(U(he)&&(ke=!0,Tt=["[","]"]),ee(he)){var _t=he.name?": "+he.name:"";nt=" [Function"+_t+"]"}if(_e(he)&&(nt=" "+RegExp.prototype.toString.call(he)),Ue(he)&&(nt=" "+Date.prototype.toUTCString.call(he)),Qe(he)&&(nt=" "+O(he)),Ke.length===0&&(!ke||he.length==0))return Tt[0]+nt+Tt[1];if(De<0)return _e(he)?ne.stylize(RegExp.prototype.toString.call(he),"regexp"):ne.stylize("[Object]","special");ne.seen.push(he);var Et;return ke?Et=I(ne,he,De,Ne,Ke):Et=Ke.map(function(on){return X(ne,he,De,Ne,on,ke)}),ne.seen.pop(),V(Et,nt,Tt)}function z(ne,he){if(ve(he))return ne.stylize("undefined","undefined");if(oe(he)){var De="'"+JSON.stringify(he).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ne.stylize(De,"string")}if(ie(he))return ne.stylize(""+he,"number");if(D(he))return ne.stylize(""+he,"boolean");if(j(he))return ne.stylize("null","null")}function O(ne){return"["+Error.prototype.toString.call(ne)+"]"}function I(ne,he,De,Ye,rt){for(var Ke=[],Ne=0,Ce=he.length;Ne<Ce;++Ne)Me(he,String(Ne))?Ke.push(X(ne,he,De,Ye,String(Ne),!0)):Ke.push("");return rt.forEach(function(nt){nt.match(/^\d+$/)||Ke.push(X(ne,he,De,Ye,nt,!0))}),Ke}function X(ne,he,De,Ye,rt,Ke){var Ne,Ce,nt;if(nt=Object.getOwnPropertyDescriptor(he,rt)||{value:he[rt]},nt.get?nt.set?Ce=ne.stylize("[Getter/Setter]","special"):Ce=ne.stylize("[Getter]","special"):nt.set&&(Ce=ne.stylize("[Setter]","special")),Me(Ye,rt)||(Ne="["+rt+"]"),Ce||(ne.seen.indexOf(nt.value)<0?(j(De)?Ce=B(ne,nt.value,null):Ce=B(ne,nt.value,De-1),Ce.indexOf(`
|
|
86
|
-
`)>-1&&(Ke?Ce=Ce.split(`
|
|
87
|
-
`).map(function(ke){return" "+ke}).join(`
|
|
88
|
-
`).substr(2):Ce=`
|
|
89
|
-
`+Ce.split(`
|
|
90
|
-
`).map(function(ke){return" "+ke}).join(`
|
|
91
|
-
`))):Ce=ne.stylize("[Circular]","special")),ve(Ne)){if(Ke&&rt.match(/^\d+$/))return Ce;Ne=JSON.stringify(""+rt),Ne.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ne=Ne.substr(1,Ne.length-2),Ne=ne.stylize(Ne,"name")):(Ne=Ne.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ne=ne.stylize(Ne,"string"))}return Ne+": "+Ce}function V(ne,he,De){var Ye=ne.reduce(function(rt,Ke){return Ke.indexOf(`
|
|
92
|
-
`)>=0,rt+Ke.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?De[0]+(he===""?"":he+`
|
|
93
|
-
`)+" "+ne.join(`,
|
|
94
|
-
`)+" "+De[1]:De[0]+he+" "+ne.join(", ")+" "+De[1]}function U(ne){return Array.isArray(ne)}p.isArray=U;function D(ne){return typeof ne=="boolean"}p.isBoolean=D;function j(ne){return ne===null}p.isNull=j;function Y(ne){return ne==null}p.isNullOrUndefined=Y;function ie(ne){return typeof ne=="number"}p.isNumber=ie;function oe(ne){return typeof ne=="string"}p.isString=oe;function pe(ne){return typeof ne=="symbol"}p.isSymbol=pe;function ve(ne){return ne===void 0}p.isUndefined=ve;function _e(ne){return ze(ne)&&ge(ne)==="[object RegExp]"}p.isRegExp=_e;function ze(ne){return typeof ne=="object"&&ne!==null}p.isObject=ze;function Ue(ne){return ze(ne)&&ge(ne)==="[object Date]"}p.isDate=Ue;function Qe(ne){return ze(ne)&&(ge(ne)==="[object Error]"||ne instanceof Error)}p.isError=Qe;function ee(ne){return typeof ne=="function"}p.isFunction=ee;function ce(ne){return ne===null||typeof ne=="boolean"||typeof ne=="number"||typeof ne=="string"||typeof ne=="symbol"||typeof ne>"u"}p.isPrimitive=ce,p.isBuffer=u("./support/isBuffer");function ge(ne){return Object.prototype.toString.call(ne)}function We(ne){return ne<10?"0"+ne.toString(10):ne.toString(10)}var W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ee(){var ne=new Date,he=[We(ne.getHours()),We(ne.getMinutes()),We(ne.getSeconds())].join(":");return[ne.getDate(),W[ne.getMonth()],he].join(" ")}p.log=function(){console.log("%s - %s",Ee(),p.format.apply(p,arguments))},p.inherits=u("inherits"),p._extend=function(ne,he){if(!he||!ze(he))return ne;for(var De=Object.keys(he),Ye=De.length;Ye--;)ne[De[Ye]]=he[De[Ye]];return ne};function Me(ne,he){return Object.prototype.hasOwnProperty.call(ne,he)}}).call(this,u("_process"),typeof zv<"u"?zv:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(u,f,p){},{}],13:[function(u,f,p){(function(v){function g(C,w){for(var M=0,L=C.length-1;L>=0;L--){var B=C[L];B==="."?C.splice(L,1):B===".."?(C.splice(L,1),M++):M&&(C.splice(L,1),M--)}if(w)for(;M--;M)C.unshift("..");return C}p.resolve=function(){for(var C="",w=!1,M=arguments.length-1;M>=-1&&!w;M--){var L=M>=0?arguments[M]:v.cwd();if(typeof L!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!L)continue;C=L+"/"+C,w=L.charAt(0)==="/"}return C=g(S(C.split("/"),function(B){return!!B}),!w).join("/"),(w?"/":"")+C||"."},p.normalize=function(C){var w=p.isAbsolute(C),M=A(C,-1)==="/";return C=g(S(C.split("/"),function(L){return!!L}),!w).join("/"),!C&&!w&&(C="."),C&&M&&(C+="/"),(w?"/":"")+C},p.isAbsolute=function(C){return C.charAt(0)==="/"},p.join=function(){var C=Array.prototype.slice.call(arguments,0);return p.normalize(S(C,function(w,M){if(typeof w!="string")throw new TypeError("Arguments to path.join must be strings");return w}).join("/"))},p.relative=function(C,w){C=p.resolve(C).substr(1),w=p.resolve(w).substr(1);function M(V){for(var U=0;U<V.length&&V[U]==="";U++);for(var D=V.length-1;D>=0&&V[D]==="";D--);return U>D?[]:V.slice(U,D-U+1)}for(var L=M(C.split("/")),B=M(w.split("/")),z=Math.min(L.length,B.length),O=z,I=0;I<z;I++)if(L[I]!==B[I]){O=I;break}for(var X=[],I=O;I<L.length;I++)X.push("..");return X=X.concat(B.slice(O)),X.join("/")},p.sep="/",p.delimiter=":",p.dirname=function(C){if(typeof C!="string"&&(C=C+""),C.length===0)return".";for(var w=C.charCodeAt(0),M=w===47,L=-1,B=!0,z=C.length-1;z>=1;--z)if(w=C.charCodeAt(z),w===47){if(!B){L=z;break}}else B=!1;return L===-1?M?"/":".":M&&L===1?"/":C.slice(0,L)};function E(C){typeof C!="string"&&(C=C+"");var w=0,M=-1,L=!0,B;for(B=C.length-1;B>=0;--B)if(C.charCodeAt(B)===47){if(!L){w=B+1;break}}else M===-1&&(L=!1,M=B+1);return M===-1?"":C.slice(w,M)}p.basename=function(C,w){var M=E(C);return w&&M.substr(-1*w.length)===w&&(M=M.substr(0,M.length-w.length)),M},p.extname=function(C){typeof C!="string"&&(C=C+"");for(var w=-1,M=0,L=-1,B=!0,z=0,O=C.length-1;O>=0;--O){var I=C.charCodeAt(O);if(I===47){if(!B){M=O+1;break}continue}L===-1&&(B=!1,L=O+1),I===46?w===-1?w=O:z!==1&&(z=1):w!==-1&&(z=-1)}return w===-1||L===-1||z===0||z===1&&w===L-1&&w===M+1?"":C.slice(w,L)};function S(C,w){if(C.filter)return C.filter(w);for(var M=[],L=0;L<C.length;L++)w(C[L],L,C)&&M.push(C[L]);return M}var A="ab".substr(-1)==="b"?function(C,w,M){return C.substr(w,M)}:function(C,w,M){return w<0&&(w=C.length+w),C.substr(w,M)}}).call(this,u("_process"))},{_process:14}],14:[function(u,f,p){var v=f.exports={},g,E;function S(){throw new Error("setTimeout has not been defined")}function A(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?g=setTimeout:g=S}catch{g=S}try{typeof clearTimeout=="function"?E=clearTimeout:E=A}catch{E=A}})();function C(U){if(g===setTimeout)return setTimeout(U,0);if((g===S||!g)&&setTimeout)return g=setTimeout,setTimeout(U,0);try{return g(U,0)}catch{try{return g.call(null,U,0)}catch{return g.call(this,U,0)}}}function w(U){if(E===clearTimeout)return clearTimeout(U);if((E===A||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(U);try{return E(U)}catch{try{return E.call(null,U)}catch{return E.call(this,U)}}}var M=[],L=!1,B,z=-1;function O(){!L||!B||(L=!1,B.length?M=B.concat(M):z=-1,M.length&&I())}function I(){if(!L){var U=C(O);L=!0;for(var D=M.length;D;){for(B=M,M=[];++z<D;)B&&B[z].run();z=-1,D=M.length}B=null,L=!1,w(U)}}v.nextTick=function(U){var D=new Array(arguments.length-1);if(arguments.length>1)for(var j=1;j<arguments.length;j++)D[j-1]=arguments[j];M.push(new X(U,D)),M.length===1&&!L&&C(I)};function X(U,D){this.fun=U,this.array=D}X.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function V(){}v.on=V,v.addListener=V,v.once=V,v.off=V,v.removeListener=V,v.removeAllListeners=V,v.emit=V,v.prependListener=V,v.prependOnceListener=V,v.listeners=function(U){return[]},v.binding=function(U){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(U){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},{}],15:[function(u,f,p){var v=u("escodegen").generate;f.exports=function(g,E){E||(E={});var S={},A=function C(w,M){if(w.type==="Literal")return w.value;if(w.type==="UnaryExpression"){var L=C(w.argument);return w.operator==="+"?+L:w.operator==="-"?-L:w.operator==="~"?~L:w.operator==="!"?!L:S}else if(w.type==="ArrayExpression"){for(var B=[],z=0,O=w.elements.length;z<O;z++){var I=C(w.elements[z]);if(I===S)return S;B.push(I)}return B}else if(w.type==="ObjectExpression"){for(var X={},z=0;z<w.properties.length;z++){var V=w.properties[z],U=V.value===null?V.value:C(V.value);if(U===S)return S;X[V.key.value||V.key.name]=U}return X}else if(w.type==="BinaryExpression"||w.type==="LogicalExpression"){var O=C(w.left);if(O===S)return S;var D=C(w.right);if(D===S)return S;var j=w.operator;return j==="=="?O==D:j==="==="?O===D:j==="!="?O!=D:j==="!=="?O!==D:j==="+"?O+D:j==="-"?O-D:j==="*"?O*D:j==="/"?O/D:j==="%"?O%D:j==="<"?O<D:j==="<="?O<=D:j===">"?O>D:j===">="?O>=D:j==="|"?O|D:j==="&"?O&D:j==="^"?O^D:j==="&&"?O&&D:j==="||"?O||D:S}else{if(w.type==="Identifier")return{}.hasOwnProperty.call(E,w.name)?E[w.name]:S;if(w.type==="ThisExpression")return{}.hasOwnProperty.call(E,"this")?E.this:S;if(w.type==="CallExpression"){var Y=C(w.callee);if(Y===S||typeof Y!="function")return S;var ie=w.callee.object?C(w.callee.object):S;ie===S&&(ie=null);for(var oe=[],z=0,O=w.arguments.length;z<O;z++){var I=C(w.arguments[z]);if(I===S)return S;oe.push(I)}return Y.apply(ie,oe)}else if(w.type==="MemberExpression"){var X=C(w.object);if(X===S||typeof X=="function")return S;if(w.property.type==="Identifier")return X[w.property.name];var V=C(w.property);return V===S?S:X[V]}else if(w.type==="ConditionalExpression"){var L=C(w.test);return L===S?S:C(L?w.consequent:w.alternate)}else if(w.type==="ExpressionStatement"){var L=C(w.expression);return L===S?S:L}else{if(w.type==="ReturnStatement")return C(w.argument);if(w.type==="FunctionExpression"){var pe=w.body.body,ve={};Object.keys(E).forEach(function(W){ve[W]=E[W]});for(var z=0;z<w.params.length;z++){var _e=w.params[z];if(_e.type=="Identifier")E[_e.name]=null;else return S}for(var z in pe)if(C(pe[z])===S)return S;E=ve;var ze=Object.keys(E),Ue=ze.map(function(W){return E[W]});return Function(ze.join(", "),"return "+v(w)).apply(null,Ue)}else if(w.type==="TemplateLiteral"){for(var Qe="",z=0;z<w.expressions.length;z++)Qe+=C(w.quasis[z]),Qe+=C(w.expressions[z]);return Qe+=C(w.quasis[z]),Qe}else if(w.type==="TaggedTemplateExpression"){var ee=C(w.tag),ce=w.quasi,ge=ce.quasis.map(C),We=ce.expressions.map(C);return ee.apply(null,[ge].concat(We))}else return w.type==="TemplateElement"?w.value.cooked:S}}}(g);return A===S?void 0:A}},{escodegen:12}],jsonpath:[function(u,f,p){f.exports=u("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})}(ex)),ex.exports}var I6=G6();const qC=my(I6),V6={hide:C3,popover:k6,redirect:q6,tooltip:F6,visuallyHide:Y6},X6=n=>n&&n.charAt(0).toUpperCase()+n.slice(1),Zv=(n,l,u)=>{const{globalDataContext:f,templateContext:p}=l;if(Array.isArray(n.andConditions))return n.andConditions.reduce((S,A)=>S&&Zv(A,l,u),!0);if(Array.isArray(n.orConditions)){const S=n.orConditions;for(const A of S)if(Zv(A,l,u))return!0;return!1}if(n.when!==void 0&&!nx(n.when))return!1;const v=S=>ca({globalDataContext:f,templateContext:p,valueToEvaluate:S});let g;if(n.when===void 0&&n.hasOwnProperty("whenDataCountOf")){let S;switch(n.inContext){case"root":S=f.getRootContext().templateData;break;case"template":S=p.templateData;break;default:S=f.templateData;break}g=qC.query(S,n.whenDataCountOf).length}else g=(()=>{if(u){for(const[S,A]of u)if(n.hasOwnProperty(S))return A({condition:n,templateContexts:l,evaluateAgainstTemplates:C=>v(C)})}return v(n.when)})();if(n.hasOwnProperty("isEmpty")){const S=A=>n.isEmpty==="not"?!A:A;if(g===null)return S(!0);switch(typeof g){case"undefined":return S(!0);case"string":return S(g.length===0);case"object":return S(Object.keys(g).length===0);default:return S(!g)}}const E=n.compareAsDates;if(n.hasOwnProperty("isNot"))return ml(E,g)!==ml(E,v(n.isNot));if(n.hasOwnProperty("is"))return ml(E,g)===ml(E,v(n.is));if(n.hasOwnProperty("containsNot")||n.hasOwnProperty("contains")){const S=n.hasOwnProperty("containsNot"),A=S?n.containsNot:n.contains,C=ml(E,v(A));if(typeof g=="string"){if(typeof C!="string")return S;const w=g.toLowerCase().indexOf(C.toLowerCase())!==-1;return S?!w:w}else for(const w of Object.values(g))if(Yh.isEqual(ml(E,w),C))return!S;return S}if(n.hasOwnProperty("containedByNot")||n.hasOwnProperty("containedBy")){const S=n.hasOwnProperty("containedByNot"),A=S?n.containedByNot:n.containedBy,C=ml(E,v(A));if(typeof g=="string"){if(typeof C!="string")return S;const w=C.toLowerCase().indexOf(g.toLowerCase())!==-1;return S?!w:w}else for(const w of Object.values(C))if(Yh.isEqual(ml(E,w),g))return!S;return S}return n.hasOwnProperty(">")?ml(E,g)>ml(E,v(n[">"])):n.hasOwnProperty(">=")?ml(E,g)>=ml(E,v(n[">="])):n.hasOwnProperty("<")?ml(E,g)<ml(E,v(n["<"])):n.hasOwnProperty("<=")?ml(E,g)<=ml(E,v(n["<="])):!0},$6=(n,l)=>{const u=[];let f=!1;const p={};if(!Array.isArray(n))return u;for(const[v,g]of n.entries()){const E=(g==null?void 0:g.what)??void 0;if(!E)continue;const S=V6[E];let A;if(!S){if(A=jv[E]??void 0,!A||g.on===void 0||!Zv(g,l))continue;if(g.on==="message"){u.push({ActionComponent:w3,actionProps:g,actionIndex:v});continue}if(g.on==="hashchange"){u.push({ActionComponent:T3,actionProps:g,actionIndex:v});continue}f=!0;const C="on"+X6(g.on);Array.isArray(p[C])||(p[C]=[]),p[C].push(g);continue}Zv(g,l)&&u.push({ActionComponent:S,actionProps:g,actionIndex:v})}return f&&u.push({ActionComponent:A3,actionProps:p,actionIndex:"_reactOnEvent"}),u},ml=(n,l)=>n?new Date(l):l,Ci=n=>{const l=q.useContext(Aa),u=q.useContext(ua);return n?$6((n==null?void 0:n.actions)??[],{globalDataContext:l,templateContext:u}).reverse().reduce((p,{ActionComponent:v,actionProps:g,actionIndex:E})=>te.jsx(v,{componentProps:n,actionProps:g,actionIndex:E,children:p}),(n==null?void 0:n.children)??null):null},tx=n=>{if(typeof n!="object"||Object.keys(n).length===0)return{};const l={class:"className"},u={};for(const[f,p]of Object.entries(n)){const v=l.hasOwnProperty(f)?l[f]:f;u[v]=p}return u},qy=({props:n,currentData:l,datafield:u,path:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),g=`${n.tag}`,E=n.extra??{},S=tx(n.attributes),A=tx(l.attributes);for(const M of Object.keys(A)){if(M.charAt(0)==="+"){const L=M.substring(1);S[L]=(S[L]??"").length>0?" "+A[M]:A[M];continue}S[M]=A[M]}const C=$m({attrs:S,globalDataContext:p,templateContext:v}),w=M=>M&&["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].indexOf(M)!==-1;return te.jsx(Ci,{...n,children:w(n.tag)?te.jsxs(te.Fragment,{children:[te.jsx(g,{...C}),Object.keys(E).length?te.jsx(Ra,{props:E}):""]}):te.jsxs(te.Fragment,{children:[te.jsx(g,{...C,children:n.content&&te.jsx(Ra,{currentData:l.content??void 0,datafield:"content",path:f+".content",props:n.content})}),Object.keys(E).length?te.jsx(Ra,{props:E}):""]})})},Wo=({dataLocation:n,currentPath:l,globalDataContext:u,templateContext:f})=>{if(typeof n!="string"||!(n.startsWith("~.")||n.startsWith("~~.")||n.startsWith("~>")))return n==="~"?f.templatePath:n==="~~"?u.templatePath:n;let p;if(n.startsWith("~~."))p=u.templatePath;else if(n.startsWith("~."))p=f.templatePath;else if(n.startsWith("~>")){const g=n.substring(2,n.indexOf("."));if(!f.templatePath.includes(g))throw new Error(g+" not found in the current template path.");const E=f.templatePath.indexOf(g);p=f.templatePath.substring(0,E+g.length)}else p=l;const v=n.split(".");return v.shift(),p+"."+v.join(".")},$m=({attrs:n,globalDataContext:l,templateContext:u,options:f={}})=>{const p={};if(!n)return p;const v=f.normalizeBeforeEvaluation?tx(n):n;for(const g of Object.keys(v)){const E=ca({globalDataContext:l,templateContext:u,valueToEvaluate:v[g]});E&&(p[g]=E)}return p},ca=({valueToEvaluate:n,globalDataContext:l,templateContext:u})=>{if(!nx(n))return n;if(n==="~")return u.templateData;if(n==="~~")return l.templateData;let f;if(n.startsWith("~~.")?f=l==null?void 0:l.templateData:n.startsWith("~>")?(n=Wo({dataLocation:n,currentPath:u.templatePath,globalDataContext:l,templateContext:u}),f=l==null?void 0:l.templateData):f=u==null?void 0:u.templateData,!f)return;const p=n.split(".");for(p.shift();p.length;)if(typeof f!="object"||(f=f[p.shift()],f===void 0))return;return f},Mb=({valueToEvaluate:n,globalDataContext:l,templateContext:u})=>{let f;if(typeof n=="object"){f=Array.isArray(n)?[]:{};for(const[p,v]of Object.entries(n))f[p]=ca({globalDataContext:l,templateContext:u,valueToEvaluate:v})}else f=ca({globalDataContext:l,templateContext:u,valueToEvaluate:n});return f},nx=n=>typeof n!="string"||!(n.startsWith("~.")||n.startsWith("~~.")||n.startsWith("~>")||n==="~"||n==="~~")?!1:n,P6=({valueToEvaluate:n})=>{const l=q.useContext(Aa),u=q.useContext(ua);return ca({globalDataContext:l,templateContext:u,valueToEvaluate:n})},$s=(n,l={})=>{const u=q.useContext(Aa),f=q.useContext(ua);return $m({attrs:n,globalDataContext:u,templateContext:f,options:l.normalizeBeforeEvaluation===void 0?{...l,normalizeBeforeEvaluation:!0}:l})},Fy=({currentPath:n,datafield:l,dataLocation:u,defaultValue:f,globalDataContext:p,templateContext:v})=>{const g={formData:void 0,formDataPath:void 0};return u&&typeof u=="string"?(g.formData=ca({globalDataContext:p,templateContext:v,valueToEvaluate:u})??f,g.formDataPath=Wo({dataLocation:u,currentPath:n,globalDataContext:p,templateContext:v})):((v.templateData[l]??void 0)===void 0&&(v.templateData=typeof v.templateData=="object"?v.templateData:{},v.templateData[l]=f),g.formData=v.templateData[l],g.formDataPath=Wo({dataLocation:"~."+l,currentPath:v.templatePath,globalDataContext:p,templateContext:v})),g},Q6=({props:n,currentData:l,datafield:u,path:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),{updateData:g}=p,E=$m({attrs:n.attributes,globalDataContext:p,templateContext:v,options:{normalizeBeforeEvaluation:!0}});let S;const A=n.dynamicOptions??void 0;A?S=ca({valueToEvaluate:A,globalDataContext:p,templateContext:v})??[]:S=n.options??[];const C=n.controlType??void 0,M=(()=>{var I;return n.controlType==="radio"?!0:n.multiple!==void 0&&n.multiple!==!1?n.multiple:((I=n.options)==null?void 0:I.length)===1})(),L=n.defaultFieldValue??(M?void 0:[]),{formData:B,formDataPath:z}=Fy({currentPath:f,datafield:u,dataLocation:n.dataLocation,defaultValue:L,globalDataContext:p,templateContext:v}),O=I=>{if(C==="radio"){let V;switch(I.currentTarget.value){case"":V=void 0;break;case"true":V=!0;break;case"false":V=!1;break;case"null":V=null;break;default:V=I.currentTarget.value;break}g(V,z);return}if(M){g(I.currentTarget.checked,z);return}let X=JSON.parse(JSON.stringify(B));typeof X!="object"&&(X=[X]),I.currentTarget.checked?X=K6(X,I.currentTarget.value):X=J6(X,I.currentTarget.value),g(X,z)};return te.jsx(Ci,{...n,children:te.jsx(Zi.Group,{...E,controlId:Math.random().toString(),children:S.map((I,X)=>{var D,j;const V=typeof I.value=="string"?ca({globalDataContext:p,templateContext:v,valueToEvaluate:I.value}):I.value,U=$m({attrs:I.attributes??[],templateContext:v,globalDataContext:p,options:{normalizeBeforeEvaluation:!0}});return q.createElement(Zi.Check,{...U,checked:Z6(B,V),key:X,label:te.jsx(Ra,{currentData:((j=(D=l==null?void 0:l.options)==null?void 0:D[X])==null?void 0:j.label)??void 0,datafield:"label",path:f+".options."+X+".label",props:I.label}),id:`${Math.random()}`,name:f,onChange:O,type:C,value:V})})})})};function Z6(n,l){return Array.isArray(n)?n.includes(l):typeof n=="object"?Object.values(n).includes(l):n===l}function K6(n,l){if(Array.isArray(n))return n.includes(l)||n.push(l),n;if(typeof n=="object"){const u=Object.values(n);return u.includes(l)||u.push(l),u}throw new Error("CheckboxField: the value to set is not properly initialized as an object or array.")}function J6(n,l){function u(f,p){f.includes(p)&&f.splice(f.indexOf(p),1)}if(Array.isArray(n))return u(n,l),n;if(typeof n=="object"){const f=Object.values(n);return u(f,l),f}throw new Error("CheckboxField: the value to set is not properly initialized as an object or array.")}const W6=n=>{const l=q.useContext(Aa),u=q.useContext(ua),f=n.props,p=$s(f.attributes),{formData:v,formDataPath:g}=Fy({currentPath:n.path,datafield:n.datafield,dataLocation:f.dataLocation,defaultValue:f.defaultFieldValue,globalDataContext:l,templateContext:u}),E=S=>{l.updateData(S.target.value,g)};return te.jsx(Ci,{...f,children:te.jsxs(Zi.Group,{...p,controlId:Math.random().toString(),children:[f.label&&te.jsx(Zi.Label,{children:f.label}),te.jsx(Zi.Control,{onChange:E,type:"datetime-local",value:v??""})]})})},eN=({props:n,currentData:l,datafield:u,path:f})=>{const p=q.useContext(Aa);let[v]=q.useState(l),g=n.attributes??{};const{updateData:E}=p,S=A=>{E(A.currentTarget.value,f)};return te.jsxs(Zi.Group,{className:"mb-3",controlId:Math.random().toString(),children:[te.jsx(Zi.Label,{children:n.label}),te.jsx(Zi.Control,{onBlur:S,type:"number",...g,defaultValue:v!==""?v:n.default_value??"",placeholder:n.label})]})},tN=({props:n,data:l,path:u,datafield:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),{updateData:g}=p,E=n.dynamicOptions??void 0;let S;E?S=ca({valueToEvaluate:E,globalDataContext:p,templateContext:v})??[]:S=n.options??[];let A=$m({attrs:n.attributes??{},globalDataContext:p,templateContext:v,options:{normalizeBeforeEvaluation:!0}});const C=$m({attrs:n.inputAttributes??{},globalDataContext:p,templateContext:v,options:{normalizeBeforeEvaluation:!0}});let w,M;const L=n.defaultFieldValue??void 0,B=n.dataLocation??void 0;B?(w=ca({globalDataContext:p,templateContext:v,valueToEvaluate:B})??L,M=Wo({dataLocation:B,currentPath:u,globalDataContext:p,templateContext:v})):((v.templateData[f]??void 0)===void 0&&(v.templateData=typeof v.templateData=="object"?v.templateData:{},v.templateData[f]=L),w=v.templateData[f],M=Wo({dataLocation:"~."+f,currentPath:v.templatePath}));const z=O=>{let I;switch(O.currentTarget.value){case"":n.allowEmptyStringAsValue?I="":I=void 0;break;case"true":I=!0;break;case"false":I=!1;break;case"null":I=null;break;default:I=O.currentTarget.value;break}g(I,M)};return te.jsx(Ci,{...n,children:te.jsxs(Zi.Group,{...A,controlId:Math.random().toString(),children:[n.label&&te.jsx(Zi.Label,{children:n.label}),te.jsx(Zi.Select,{"aria-label":n.label,onChange:z,value:w,...C,children:S.map((O,I)=>te.jsx("option",{value:O.value,children:O.label},"opt"+I))})]})})},FC=({props:n,datafield:l,path:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),v=$s(n.attributes),g=$s(n.inputAttributes??[]),{formData:E,formDataPath:S}=Fy({currentPath:u,datafield:l,dataLocation:n.dataLocation,defaultValue:n.defaultFieldValue,globalDataContext:f,templateContext:p}),A=C=>{f.updateData(C.currentTarget.value,S)};return te.jsx(Ci,{...n,children:te.jsxs(Zi.Group,{...v,controlId:Math.random().toString(),children:[n.label&&te.jsx(Zi.Label,{children:n.label}),te.jsx(Zi.Control,{as:"textarea",onChange:A,placeholder:n.placeholder,rows:n.rows??3,value:E??"",...g})]})})},nN=({props:n,datafield:l,path:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),v=$s(n.attributes),g=$s(n.inputAttributes??[]),{formData:E,formDataPath:S}=Fy({currentPath:u,datafield:l,dataLocation:n.dataLocation,defaultValue:n.defaultFieldValue,globalDataContext:f,templateContext:p}),A=L=>{f.updateData(L.currentTarget.value,S)},C=ca({valueToEvaluate:n.label,globalDataContext:f,templateContext:p}),w=ca({valueToEvaluate:n.placeholder,globalDataContext:f,templateContext:p}),M=ca({valueToEvaluate:n.inputType,globalDataContext:f,templateContext:p});return te.jsx(Ci,{...n,children:te.jsxs(Zi.Group,{...v,controlId:Math.random().toString(),children:[C&&te.jsx(Zi.Label,{children:C}),te.jsx(Zi.Control,{onChange:A,placeholder:w,type:M??"text",value:E??"",...g})]})})},aN=({props:n,path:l,currentData:u,datafield:f})=>{const p=$s(n.attributes);return te.jsx(Ci,{...n,children:q.createElement(gb.Item,{...p,eventKey:f,key:f},n!=null&&n.header?te.jsx(gb.Header,{children:te.jsx(Ra,{props:n.header,path:l+".header",currentData:u==null?void 0:u.header,datafield:"header"})}):null,n!=null&&n.body?te.jsx(gb.Body,{children:te.jsx(Ra,{props:n.body,path:l+".body",currentData:u==null?void 0:u.body,datafield:"body"})}):null)})};function YC(n){var l,u,f="";if(typeof n=="string"||typeof n=="number")f+=n;else if(typeof n=="object")if(Array.isArray(n)){var p=n.length;for(l=0;l<p;l++)n[l]&&(u=YC(n[l]))&&(f&&(f+=" "),f+=u)}else for(u in n)n[u]&&(f&&(f+=" "),f+=u);return f}function rN(){for(var n,l,u=0,f="",p=arguments.length;u<p;u++)(n=arguments[u])&&(l=YC(n))&&(f&&(f+=" "),f+=l);return f}function GC(n){var l,u,f="";if(typeof n=="string"||typeof n=="number")f+=n;else if(typeof n=="object")if(Array.isArray(n))for(l=0;l<n.length;l++)n[l]&&(u=GC(n[l]))&&(f&&(f+=" "),f+=u);else for(l in n)n[l]&&(f&&(f+=" "),f+=l);return f}function ax(){for(var n,l,u=0,f="";u<arguments.length;)(n=arguments[u++])&&(l=GC(n))&&(f&&(f+=" "),f+=l);return f}function iN(){for(var n=arguments.length,l=new Array(n),u=0;u<n;u++)l[u]=arguments[u];return q.useMemo(()=>f=>{l.forEach(p=>p(f))},l)}const Nb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Kv(n){const l=Object.prototype.toString.call(n);return l==="[object Window]"||l==="[object global]"}function rx(n){return"nodeType"in n}function Il(n){var l,u;return n?Kv(n)?n:rx(n)&&(l=(u=n.ownerDocument)==null?void 0:u.defaultView)!=null?l:window:window}function ix(n){const{Document:l}=Il(n);return n instanceof l}function Yy(n){return Kv(n)?!1:n instanceof Il(n).HTMLElement}function IC(n){return n instanceof Il(n).SVGElement}function Jv(n){return n?Kv(n)?n.document:rx(n)?ix(n)?n:Yy(n)||IC(n)?n.ownerDocument:document:document:document}const Ps=Nb?q.useLayoutEffect:q.useEffect;function Bb(n){const l=q.useRef(n);return Ps(()=>{l.current=n}),q.useCallback(function(){for(var u=arguments.length,f=new Array(u),p=0;p<u;p++)f[p]=arguments[p];return l.current==null?void 0:l.current(...f)},[])}function lN(){const n=q.useRef(null),l=q.useCallback((f,p)=>{n.current=setInterval(f,p)},[]),u=q.useCallback(()=>{n.current!==null&&(clearInterval(n.current),n.current=null)},[]);return[l,u]}function Gy(n,l){l===void 0&&(l=[n]);const u=q.useRef(n);return Ps(()=>{u.current!==n&&(u.current=n)},l),u}function Iy(n,l){const u=q.useRef();return q.useMemo(()=>{const f=n(u.current);return u.current=f,f},[...l])}function Lb(n){const l=Bb(n),u=q.useRef(null),f=q.useCallback(p=>{p!==u.current&&(l==null||l(p,u.current)),u.current=p},[]);return[u,f]}function zb(n){const l=q.useRef();return q.useEffect(()=>{l.current=n},[n]),l.current}let lx={};function Vy(n,l){return q.useMemo(()=>{if(l)return l;const u=lx[n]==null?0:lx[n]+1;return lx[n]=u,n+"-"+u},[n,l])}function VC(n){return function(l){for(var u=arguments.length,f=new Array(u>1?u-1:0),p=1;p<u;p++)f[p-1]=arguments[p];return f.reduce((v,g)=>{const E=Object.entries(g);for(const[S,A]of E){const C=v[S];C!=null&&(v[S]=C+n*A)}return v},{...l})}}const Wv=VC(1),Ub=VC(-1);function uN(n){return"clientX"in n&&"clientY"in n}function Hb(n){if(!n)return!1;const{KeyboardEvent:l}=Il(n.target);return l&&n instanceof l}function oN(n){if(!n)return!1;const{TouchEvent:l}=Il(n.target);return l&&n instanceof l}function jb(n){if(oN(n)){if(n.touches&&n.touches.length){const{clientX:l,clientY:u}=n.touches[0];return{x:l,y:u}}else if(n.changedTouches&&n.changedTouches.length){const{clientX:l,clientY:u}=n.changedTouches[0];return{x:l,y:u}}}return uN(n)?{x:n.clientX,y:n.clientY}:null}const Kc=Object.freeze({Translate:{toString(n){if(!n)return;const{x:l,y:u}=n;return"translate3d("+(l?Math.round(l):0)+"px, "+(u?Math.round(u):0)+"px, 0)"}},Scale:{toString(n){if(!n)return;const{scaleX:l,scaleY:u}=n;return"scaleX("+l+") scaleY("+u+")"}},Transform:{toString(n){if(n)return[Kc.Translate.toString(n),Kc.Scale.toString(n)].join(" ")}},Transition:{toString(n){let{property:l,duration:u,easing:f}=n;return l+" "+u+"ms "+f}}}),XC="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function sN(n){return n.matches(XC)?n:n.querySelector(XC)}const cN={display:"none"};function fN(n){let{id:l,value:u}=n;return q.createElement("div",{id:l,style:cN},u)}function dN(n){let{id:l,announcement:u,ariaLiveType:f="assertive"}=n;const p={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return q.createElement("div",{id:l,style:p,role:"status","aria-live":f,"aria-atomic":!0},u)}function hN(){const[n,l]=q.useState("");return{announce:q.useCallback(f=>{f!=null&&l(f)},[]),announcement:n}}const $C=q.createContext(null);function pN(n){const l=q.useContext($C);q.useEffect(()=>{if(!l)throw new Error("useDndMonitor must be used within a children of <DndContext>");return l(n)},[n,l])}function mN(){const[n]=q.useState(()=>new Set),l=q.useCallback(f=>(n.add(f),()=>n.delete(f)),[n]);return[q.useCallback(f=>{let{type:p,event:v}=f;n.forEach(g=>{var E;return(E=g[p])==null?void 0:E.call(g,v)})},[n]),l]}const vN={draggable:`
|
|
95
|
-
To pick up a draggable item, press the space bar.
|
|
96
|
-
While dragging, use the arrow keys to move the item.
|
|
97
|
-
Press space again to drop the item in its new position, or press escape to cancel.
|
|
98
|
-
`},gN={onDragStart(n){let{active:l}=n;return"Picked up draggable item "+l.id+"."},onDragOver(n){let{active:l,over:u}=n;return u?"Draggable item "+l.id+" was moved over droppable area "+u.id+".":"Draggable item "+l.id+" is no longer over a droppable area."},onDragEnd(n){let{active:l,over:u}=n;return u?"Draggable item "+l.id+" was dropped over droppable area "+u.id:"Draggable item "+l.id+" was dropped."},onDragCancel(n){let{active:l}=n;return"Dragging was cancelled. Draggable item "+l.id+" was dropped."}};function yN(n){let{announcements:l=gN,container:u,hiddenTextDescribedById:f,screenReaderInstructions:p=vN}=n;const{announce:v,announcement:g}=hN(),E=Vy("DndLiveRegion"),[S,A]=q.useState(!1);if(q.useEffect(()=>{A(!0)},[]),pN(q.useMemo(()=>({onDragStart(w){let{active:M}=w;v(l.onDragStart({active:M}))},onDragMove(w){let{active:M,over:L}=w;l.onDragMove&&v(l.onDragMove({active:M,over:L}))},onDragOver(w){let{active:M,over:L}=w;v(l.onDragOver({active:M,over:L}))},onDragEnd(w){let{active:M,over:L}=w;v(l.onDragEnd({active:M,over:L}))},onDragCancel(w){let{active:M,over:L}=w;v(l.onDragCancel({active:M,over:L}))}}),[v,l])),!S)return null;const C=q.createElement(q.Fragment,null,q.createElement(fN,{id:f,value:p.draggable}),q.createElement(dN,{id:E,announcement:g}));return u?Gl.createPortal(C,u):C}var ei;(function(n){n.DragStart="dragStart",n.DragMove="dragMove",n.DragEnd="dragEnd",n.DragCancel="dragCancel",n.DragOver="dragOver",n.RegisterDroppable="registerDroppable",n.SetDroppableDisabled="setDroppableDisabled",n.UnregisterDroppable="unregisterDroppable"})(ei||(ei={}));function kb(){}function bN(n,l){return q.useMemo(()=>({sensor:n,options:l??{}}),[n,l])}function SN(){for(var n=arguments.length,l=new Array(n),u=0;u<n;u++)l[u]=arguments[u];return q.useMemo(()=>[...l].filter(f=>f!=null),[...l])}const Qs=Object.freeze({x:0,y:0});function EN(n,l){return Math.sqrt(Math.pow(n.x-l.x,2)+Math.pow(n.y-l.y,2))}function xN(n,l){const u=jb(n);if(!u)return"0 0";const f={x:(u.x-l.left)/l.width*100,y:(u.y-l.top)/l.height*100};return f.x+"% "+f.y+"%"}function AN(n,l){let{data:{value:u}}=n,{data:{value:f}}=l;return u-f}function TN(n,l){let{data:{value:u}}=n,{data:{value:f}}=l;return f-u}function CN(n,l){if(!n||n.length===0)return null;const[u]=n;return u[l]}function PC(n,l,u){return l===void 0&&(l=n.left),u===void 0&&(u=n.top),{x:l+n.width*.5,y:u+n.height*.5}}const wN=n=>{let{collisionRect:l,droppableRects:u,droppableContainers:f}=n;const p=PC(l,l.left,l.top),v=[];for(const g of f){const{id:E}=g,S=u.get(E);if(S){const A=EN(PC(S),p);v.push({id:E,data:{droppableContainer:g,value:A}})}}return v.sort(AN)};function ON(n,l){const u=Math.max(l.top,n.top),f=Math.max(l.left,n.left),p=Math.min(l.left+l.width,n.left+n.width),v=Math.min(l.top+l.height,n.top+n.height),g=p-f,E=v-u;if(f<p&&u<v){const S=l.width*l.height,A=n.width*n.height,C=g*E,w=C/(S+A-C);return Number(w.toFixed(4))}return 0}const DN=n=>{let{collisionRect:l,droppableRects:u,droppableContainers:f}=n;const p=[];for(const v of f){const{id:g}=v,E=u.get(g);if(E){const S=ON(E,l);S>0&&p.push({id:g,data:{droppableContainer:v,value:S}})}}return p.sort(TN)};function _N(n,l,u){return{...n,scaleX:l&&u?l.width/u.width:1,scaleY:l&&u?l.height/u.height:1}}function QC(n,l){return n&&l?{x:n.left-l.left,y:n.top-l.top}:Qs}function RN(n){return function(u){for(var f=arguments.length,p=new Array(f>1?f-1:0),v=1;v<f;v++)p[v-1]=arguments[v];return p.reduce((g,E)=>({...g,top:g.top+n*E.y,bottom:g.bottom+n*E.y,left:g.left+n*E.x,right:g.right+n*E.x}),{...u})}}const MN=RN(1);function ZC(n){if(n.startsWith("matrix3d(")){const l=n.slice(9,-1).split(/, /);return{x:+l[12],y:+l[13],scaleX:+l[0],scaleY:+l[5]}}else if(n.startsWith("matrix(")){const l=n.slice(7,-1).split(/, /);return{x:+l[4],y:+l[5],scaleX:+l[0],scaleY:+l[3]}}return null}function NN(n,l,u){const f=ZC(l);if(!f)return n;const{scaleX:p,scaleY:v,x:g,y:E}=f,S=n.left-g-(1-p)*parseFloat(u),A=n.top-E-(1-v)*parseFloat(u.slice(u.indexOf(" ")+1)),C=p?n.width/p:n.width,w=v?n.height/v:n.height;return{width:C,height:w,top:A,right:S+C,bottom:A+w,left:S}}const BN={ignoreTransform:!1};function eg(n,l){l===void 0&&(l=BN);let u=n.getBoundingClientRect();if(l.ignoreTransform){const{transform:A,transformOrigin:C}=Il(n).getComputedStyle(n);A&&(u=NN(u,A,C))}const{top:f,left:p,width:v,height:g,bottom:E,right:S}=u;return{top:f,left:p,width:v,height:g,bottom:E,right:S}}function KC(n){return eg(n,{ignoreTransform:!0})}function LN(n){const l=n.innerWidth,u=n.innerHeight;return{top:0,left:0,right:l,bottom:u,width:l,height:u}}function zN(n,l){return l===void 0&&(l=Il(n).getComputedStyle(n)),l.position==="fixed"}function UN(n,l){l===void 0&&(l=Il(n).getComputedStyle(n));const u=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(p=>{const v=l[p];return typeof v=="string"?u.test(v):!1})}function ux(n,l){const u=[];function f(p){if(l!=null&&u.length>=l||!p)return u;if(ix(p)&&p.scrollingElement!=null&&!u.includes(p.scrollingElement))return u.push(p.scrollingElement),u;if(!Yy(p)||IC(p)||u.includes(p))return u;const v=Il(n).getComputedStyle(p);return p!==n&&UN(p,v)&&u.push(p),zN(p,v)?u:f(p.parentNode)}return n?f(n):u}function JC(n){const[l]=ux(n,1);return l??null}function ox(n){return!Nb||!n?null:Kv(n)?n:rx(n)?ix(n)||n===Jv(n).scrollingElement?window:Yy(n)?n:null:null}function WC(n){return Kv(n)?n.scrollX:n.scrollLeft}function ew(n){return Kv(n)?n.scrollY:n.scrollTop}function sx(n){return{x:WC(n),y:ew(n)}}var wi;(function(n){n[n.Forward=1]="Forward",n[n.Backward=-1]="Backward"})(wi||(wi={}));function tw(n){return!Nb||!n?!1:n===document.scrollingElement}function nw(n){const l={x:0,y:0},u=tw(n)?{height:window.innerHeight,width:window.innerWidth}:{height:n.clientHeight,width:n.clientWidth},f={x:n.scrollWidth-u.width,y:n.scrollHeight-u.height},p=n.scrollTop<=l.y,v=n.scrollLeft<=l.x,g=n.scrollTop>=f.y,E=n.scrollLeft>=f.x;return{isTop:p,isLeft:v,isBottom:g,isRight:E,maxScroll:f,minScroll:l}}const HN={x:.2,y:.2};function jN(n,l,u,f,p){let{top:v,left:g,right:E,bottom:S}=u;f===void 0&&(f=10),p===void 0&&(p=HN);const{isTop:A,isBottom:C,isLeft:w,isRight:M}=nw(n),L={x:0,y:0},B={x:0,y:0},z={height:l.height*p.y,width:l.width*p.x};return!A&&v<=l.top+z.height?(L.y=wi.Backward,B.y=f*Math.abs((l.top+z.height-v)/z.height)):!C&&S>=l.bottom-z.height&&(L.y=wi.Forward,B.y=f*Math.abs((l.bottom-z.height-S)/z.height)),!M&&E>=l.right-z.width?(L.x=wi.Forward,B.x=f*Math.abs((l.right-z.width-E)/z.width)):!w&&g<=l.left+z.width&&(L.x=wi.Backward,B.x=f*Math.abs((l.left+z.width-g)/z.width)),{direction:L,speed:B}}function kN(n){if(n===document.scrollingElement){const{innerWidth:v,innerHeight:g}=window;return{top:0,left:0,right:v,bottom:g,width:v,height:g}}const{top:l,left:u,right:f,bottom:p}=n.getBoundingClientRect();return{top:l,left:u,right:f,bottom:p,width:n.clientWidth,height:n.clientHeight}}function aw(n){return n.reduce((l,u)=>Wv(l,sx(u)),Qs)}function qN(n){return n.reduce((l,u)=>l+WC(u),0)}function FN(n){return n.reduce((l,u)=>l+ew(u),0)}function rw(n,l){if(l===void 0&&(l=eg),!n)return;const{top:u,left:f,bottom:p,right:v}=l(n);JC(n)&&(p<=0||v<=0||u>=window.innerHeight||f>=window.innerWidth)&&n.scrollIntoView({block:"center",inline:"center"})}const YN=[["x",["left","right"],qN],["y",["top","bottom"],FN]];class cx{constructor(l,u){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const f=ux(u),p=aw(f);this.rect={...l},this.width=l.width,this.height=l.height;for(const[v,g,E]of YN)for(const S of g)Object.defineProperty(this,S,{get:()=>{const A=E(f),C=p[v]-A;return this.rect[S]+C},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Xy{constructor(l){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(u=>{var f;return(f=this.target)==null?void 0:f.removeEventListener(...u)})},this.target=l}add(l,u,f){var p;(p=this.target)==null||p.addEventListener(l,u,f),this.listeners.push([l,u,f])}}function GN(n){const{EventTarget:l}=Il(n);return n instanceof l?n:Jv(n)}function fx(n,l){const u=Math.abs(n.x),f=Math.abs(n.y);return typeof l=="number"?Math.sqrt(u**2+f**2)>l:"x"in l&&"y"in l?u>l.x&&f>l.y:"x"in l?u>l.x:"y"in l?f>l.y:!1}var es;(function(n){n.Click="click",n.DragStart="dragstart",n.Keydown="keydown",n.ContextMenu="contextmenu",n.Resize="resize",n.SelectionChange="selectionchange",n.VisibilityChange="visibilitychange"})(es||(es={}));function iw(n){n.preventDefault()}function IN(n){n.stopPropagation()}var Kn;(function(n){n.Space="Space",n.Down="ArrowDown",n.Right="ArrowRight",n.Left="ArrowLeft",n.Up="ArrowUp",n.Esc="Escape",n.Enter="Enter",n.Tab="Tab"})(Kn||(Kn={}));const lw={start:[Kn.Space,Kn.Enter],cancel:[Kn.Esc],end:[Kn.Space,Kn.Enter,Kn.Tab]},VN=(n,l)=>{let{currentCoordinates:u}=l;switch(n.code){case Kn.Right:return{...u,x:u.x+25};case Kn.Left:return{...u,x:u.x-25};case Kn.Down:return{...u,y:u.y+25};case Kn.Up:return{...u,y:u.y-25}}};class uw{constructor(l){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=l;const{event:{target:u}}=l;this.props=l,this.listeners=new Xy(Jv(u)),this.windowListeners=new Xy(Il(u)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(es.Resize,this.handleCancel),this.windowListeners.add(es.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(es.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:l,onStart:u}=this.props,f=l.node.current;f&&rw(f),u(Qs)}handleKeyDown(l){if(Hb(l)){const{active:u,context:f,options:p}=this.props,{keyboardCodes:v=lw,coordinateGetter:g=VN,scrollBehavior:E="smooth"}=p,{code:S}=l;if(v.end.includes(S)){this.handleEnd(l);return}if(v.cancel.includes(S)){this.handleCancel(l);return}const{collisionRect:A}=f.current,C=A?{x:A.left,y:A.top}:Qs;this.referenceCoordinates||(this.referenceCoordinates=C);const w=g(l,{active:u,context:f.current,currentCoordinates:C});if(w){const M=Ub(w,C),L={x:0,y:0},{scrollableAncestors:B}=f.current;for(const z of B){const O=l.code,{isTop:I,isRight:X,isLeft:V,isBottom:U,maxScroll:D,minScroll:j}=nw(z),Y=kN(z),ie={x:Math.min(O===Kn.Right?Y.right-Y.width/2:Y.right,Math.max(O===Kn.Right?Y.left:Y.left+Y.width/2,w.x)),y:Math.min(O===Kn.Down?Y.bottom-Y.height/2:Y.bottom,Math.max(O===Kn.Down?Y.top:Y.top+Y.height/2,w.y))},oe=O===Kn.Right&&!X||O===Kn.Left&&!V,pe=O===Kn.Down&&!U||O===Kn.Up&&!I;if(oe&&ie.x!==w.x){const ve=z.scrollLeft+M.x,_e=O===Kn.Right&&ve<=D.x||O===Kn.Left&&ve>=j.x;if(_e&&!M.y){z.scrollTo({left:ve,behavior:E});return}_e?L.x=z.scrollLeft-ve:L.x=O===Kn.Right?z.scrollLeft-D.x:z.scrollLeft-j.x,L.x&&z.scrollBy({left:-L.x,behavior:E});break}else if(pe&&ie.y!==w.y){const ve=z.scrollTop+M.y,_e=O===Kn.Down&&ve<=D.y||O===Kn.Up&&ve>=j.y;if(_e&&!M.x){z.scrollTo({top:ve,behavior:E});return}_e?L.y=z.scrollTop-ve:L.y=O===Kn.Down?z.scrollTop-D.y:z.scrollTop-j.y,L.y&&z.scrollBy({top:-L.y,behavior:E});break}}this.handleMove(l,Wv(Ub(w,this.referenceCoordinates),L))}}}handleMove(l,u){const{onMove:f}=this.props;l.preventDefault(),f(u)}handleEnd(l){const{onEnd:u}=this.props;l.preventDefault(),this.detach(),u()}handleCancel(l){const{onCancel:u}=this.props;l.preventDefault(),this.detach(),u()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}uw.activators=[{eventName:"onKeyDown",handler:(n,l,u)=>{let{keyboardCodes:f=lw,onActivation:p}=l,{active:v}=u;const{code:g}=n.nativeEvent;if(f.start.includes(g)){const E=v.activatorNode.current;return E&&n.target!==E?!1:(n.preventDefault(),p==null||p({event:n.nativeEvent}),!0)}return!1}}];function ow(n){return!!(n&&"distance"in n)}function sw(n){return!!(n&&"delay"in n)}class dx{constructor(l,u,f){var p;f===void 0&&(f=GN(l.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=l,this.events=u;const{event:v}=l,{target:g}=v;this.props=l,this.events=u,this.document=Jv(g),this.documentListeners=new Xy(this.document),this.listeners=new Xy(f),this.windowListeners=new Xy(Il(g)),this.initialCoordinates=(p=jb(v))!=null?p:Qs,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:l,props:{options:{activationConstraint:u,bypassActivationConstraint:f}}}=this;if(this.listeners.add(l.move.name,this.handleMove,{passive:!1}),this.listeners.add(l.end.name,this.handleEnd),l.cancel&&this.listeners.add(l.cancel.name,this.handleCancel),this.windowListeners.add(es.Resize,this.handleCancel),this.windowListeners.add(es.DragStart,iw),this.windowListeners.add(es.VisibilityChange,this.handleCancel),this.windowListeners.add(es.ContextMenu,iw),this.documentListeners.add(es.Keydown,this.handleKeydown),u){if(f!=null&&f({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(sw(u)){this.timeoutId=setTimeout(this.handleStart,u.delay),this.handlePending(u);return}if(ow(u)){this.handlePending(u);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(l,u){const{active:f,onPending:p}=this.props;p(f,l,this.initialCoordinates,u)}handleStart(){const{initialCoordinates:l}=this,{onStart:u}=this.props;l&&(this.activated=!0,this.documentListeners.add(es.Click,IN,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(es.SelectionChange,this.removeTextSelection),u(l))}handleMove(l){var u;const{activated:f,initialCoordinates:p,props:v}=this,{onMove:g,options:{activationConstraint:E}}=v;if(!p)return;const S=(u=jb(l))!=null?u:Qs,A=Ub(p,S);if(!f&&E){if(ow(E)){if(E.tolerance!=null&&fx(A,E.tolerance))return this.handleCancel();if(fx(A,E.distance))return this.handleStart()}if(sw(E)&&fx(A,E.tolerance))return this.handleCancel();this.handlePending(E,A);return}l.cancelable&&l.preventDefault(),g(S)}handleEnd(){const{onAbort:l,onEnd:u}=this.props;this.detach(),this.activated||l(this.props.active),u()}handleCancel(){const{onAbort:l,onCancel:u}=this.props;this.detach(),this.activated||l(this.props.active),u()}handleKeydown(l){l.code===Kn.Esc&&this.handleCancel()}removeTextSelection(){var l;(l=this.document.getSelection())==null||l.removeAllRanges()}}const XN={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class hx extends dx{constructor(l){const{event:u}=l,f=Jv(u.target);super(l,XN,f)}}hx.activators=[{eventName:"onPointerDown",handler:(n,l)=>{let{nativeEvent:u}=n,{onActivation:f}=l;return!u.isPrimary||u.button!==0?!1:(f==null||f({event:u}),!0)}}];const $N={move:{name:"mousemove"},end:{name:"mouseup"}};var px;(function(n){n[n.RightClick=2]="RightClick"})(px||(px={}));class PN extends dx{constructor(l){super(l,$N,Jv(l.event.target))}}PN.activators=[{eventName:"onMouseDown",handler:(n,l)=>{let{nativeEvent:u}=n,{onActivation:f}=l;return u.button===px.RightClick?!1:(f==null||f({event:u}),!0)}}];const mx={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class QN extends dx{constructor(l){super(l,mx)}static setup(){return window.addEventListener(mx.move.name,l,{capture:!1,passive:!1}),function(){window.removeEventListener(mx.move.name,l)};function l(){}}}QN.activators=[{eventName:"onTouchStart",handler:(n,l)=>{let{nativeEvent:u}=n,{onActivation:f}=l;const{touches:p}=u;return p.length>1?!1:(f==null||f({event:u}),!0)}}];var $y;(function(n){n[n.Pointer=0]="Pointer",n[n.DraggableRect=1]="DraggableRect"})($y||($y={}));var qb;(function(n){n[n.TreeOrder=0]="TreeOrder",n[n.ReversedTreeOrder=1]="ReversedTreeOrder"})(qb||(qb={}));function ZN(n){let{acceleration:l,activator:u=$y.Pointer,canScroll:f,draggingRect:p,enabled:v,interval:g=5,order:E=qb.TreeOrder,pointerCoordinates:S,scrollableAncestors:A,scrollableAncestorRects:C,delta:w,threshold:M}=n;const L=JN({delta:w,disabled:!v}),[B,z]=lN(),O=q.useRef({x:0,y:0}),I=q.useRef({x:0,y:0}),X=q.useMemo(()=>{switch(u){case $y.Pointer:return S?{top:S.y,bottom:S.y,left:S.x,right:S.x}:null;case $y.DraggableRect:return p}},[u,p,S]),V=q.useRef(null),U=q.useCallback(()=>{const j=V.current;if(!j)return;const Y=O.current.x*I.current.x,ie=O.current.y*I.current.y;j.scrollBy(Y,ie)},[]),D=q.useMemo(()=>E===qb.TreeOrder?[...A].reverse():A,[E,A]);q.useEffect(()=>{if(!v||!A.length||!X){z();return}for(const j of D){if((f==null?void 0:f(j))===!1)continue;const Y=A.indexOf(j),ie=C[Y];if(!ie)continue;const{direction:oe,speed:pe}=jN(j,ie,X,l,M);for(const ve of["x","y"])L[ve][oe[ve]]||(pe[ve]=0,oe[ve]=0);if(pe.x>0||pe.y>0){z(),V.current=j,B(U,g),O.current=pe,I.current=oe;return}}O.current={x:0,y:0},I.current={x:0,y:0},z()},[l,U,f,z,v,g,JSON.stringify(X),JSON.stringify(L),B,A,D,C,JSON.stringify(M)])}const KN={x:{[wi.Backward]:!1,[wi.Forward]:!1},y:{[wi.Backward]:!1,[wi.Forward]:!1}};function JN(n){let{delta:l,disabled:u}=n;const f=zb(l);return Iy(p=>{if(u||!f||!p)return KN;const v={x:Math.sign(l.x-f.x),y:Math.sign(l.y-f.y)};return{x:{[wi.Backward]:p.x[wi.Backward]||v.x===-1,[wi.Forward]:p.x[wi.Forward]||v.x===1},y:{[wi.Backward]:p.y[wi.Backward]||v.y===-1,[wi.Forward]:p.y[wi.Forward]||v.y===1}}},[u,l,f])}function WN(n,l){const u=l!=null?n.get(l):void 0,f=u?u.node.current:null;return Iy(p=>{var v;return l==null?null:(v=f??p)!=null?v:null},[f,l])}function eB(n,l){return q.useMemo(()=>n.reduce((u,f)=>{const{sensor:p}=f,v=p.activators.map(g=>({eventName:g.eventName,handler:l(g.handler,f)}));return[...u,...v]},[]),[n,l])}var Py;(function(n){n[n.Always=0]="Always",n[n.BeforeDragging=1]="BeforeDragging",n[n.WhileDragging=2]="WhileDragging"})(Py||(Py={}));var vx;(function(n){n.Optimized="optimized"})(vx||(vx={}));const cw=new Map;function tB(n,l){let{dragging:u,dependencies:f,config:p}=l;const[v,g]=q.useState(null),{frequency:E,measure:S,strategy:A}=p,C=q.useRef(n),w=O(),M=Gy(w),L=q.useCallback(function(I){I===void 0&&(I=[]),!M.current&&g(X=>X===null?I:X.concat(I.filter(V=>!X.includes(V))))},[M]),B=q.useRef(null),z=Iy(I=>{if(w&&!u)return cw;if(!I||I===cw||C.current!==n||v!=null){const X=new Map;for(let V of n){if(!V)continue;if(v&&v.length>0&&!v.includes(V.id)&&V.rect.current){X.set(V.id,V.rect.current);continue}const U=V.node.current,D=U?new cx(S(U),U):null;V.rect.current=D,D&&X.set(V.id,D)}return X}return I},[n,v,u,w,S]);return q.useEffect(()=>{C.current=n},[n]),q.useEffect(()=>{w||L()},[u,w]),q.useEffect(()=>{v&&v.length>0&&g(null)},[JSON.stringify(v)]),q.useEffect(()=>{w||typeof E!="number"||B.current!==null||(B.current=setTimeout(()=>{L(),B.current=null},E))},[E,w,L,...f]),{droppableRects:z,measureDroppableContainers:L,measuringScheduled:v!=null};function O(){switch(A){case Py.Always:return!1;case Py.BeforeDragging:return u;default:return!u}}}function gx(n,l){return Iy(u=>n?u||(typeof l=="function"?l(n):n):null,[l,n])}function nB(n,l){return gx(n,l)}function aB(n){let{callback:l,disabled:u}=n;const f=Bb(l),p=q.useMemo(()=>{if(u||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:v}=window;return new v(f)},[f,u]);return q.useEffect(()=>()=>p==null?void 0:p.disconnect(),[p]),p}function Fb(n){let{callback:l,disabled:u}=n;const f=Bb(l),p=q.useMemo(()=>{if(u||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:v}=window;return new v(f)},[u]);return q.useEffect(()=>()=>p==null?void 0:p.disconnect(),[p]),p}function rB(n){return new cx(eg(n),n)}function fw(n,l,u){l===void 0&&(l=rB);const[f,p]=q.useState(null);function v(){p(S=>{if(!n)return null;if(n.isConnected===!1){var A;return(A=S??u)!=null?A:null}const C=l(n);return JSON.stringify(S)===JSON.stringify(C)?S:C})}const g=aB({callback(S){if(n)for(const A of S){const{type:C,target:w}=A;if(C==="childList"&&w instanceof HTMLElement&&w.contains(n)){v();break}}}}),E=Fb({callback:v});return Ps(()=>{v(),n?(E==null||E.observe(n),g==null||g.observe(document.body,{childList:!0,subtree:!0})):(E==null||E.disconnect(),g==null||g.disconnect())},[n]),f}function iB(n){const l=gx(n);return QC(n,l)}const dw=[];function lB(n){const l=q.useRef(n),u=Iy(f=>n?f&&f!==dw&&n&&l.current&&n.parentNode===l.current.parentNode?f:ux(n):dw,[n]);return q.useEffect(()=>{l.current=n},[n]),u}function uB(n){const[l,u]=q.useState(null),f=q.useRef(n),p=q.useCallback(v=>{const g=ox(v.target);g&&u(E=>E?(E.set(g,sx(g)),new Map(E)):null)},[]);return q.useEffect(()=>{const v=f.current;if(n!==v){g(v);const E=n.map(S=>{const A=ox(S);return A?(A.addEventListener("scroll",p,{passive:!0}),[A,sx(A)]):null}).filter(S=>S!=null);u(E.length?new Map(E):null),f.current=n}return()=>{g(n),g(v)};function g(E){E.forEach(S=>{const A=ox(S);A==null||A.removeEventListener("scroll",p)})}},[p,n]),q.useMemo(()=>n.length?l?Array.from(l.values()).reduce((v,g)=>Wv(v,g),Qs):aw(n):Qs,[n,l])}function hw(n,l){l===void 0&&(l=[]);const u=q.useRef(null);return q.useEffect(()=>{u.current=null},l),q.useEffect(()=>{const f=n!==Qs;f&&!u.current&&(u.current=n),!f&&u.current&&(u.current=null)},[n]),u.current?Ub(n,u.current):Qs}function oB(n){q.useEffect(()=>{if(!Nb)return;const l=n.map(u=>{let{sensor:f}=u;return f.setup==null?void 0:f.setup()});return()=>{for(const u of l)u==null||u()}},n.map(l=>{let{sensor:u}=l;return u}))}function sB(n,l){return q.useMemo(()=>n.reduce((u,f)=>{let{eventName:p,handler:v}=f;return u[p]=g=>{v(g,l)},u},{}),[n,l])}function pw(n){return q.useMemo(()=>n?LN(n):null,[n])}const mw=[];function cB(n,l){l===void 0&&(l=eg);const[u]=n,f=pw(u?Il(u):null),[p,v]=q.useState(mw);function g(){v(()=>n.length?n.map(S=>tw(S)?f:new cx(l(S),S)):mw)}const E=Fb({callback:g});return Ps(()=>{E==null||E.disconnect(),g(),n.forEach(S=>E==null?void 0:E.observe(S))},[n]),p}function vw(n){if(!n)return null;if(n.children.length>1)return n;const l=n.children[0];return Yy(l)?l:n}function fB(n){let{measure:l}=n;const[u,f]=q.useState(null),p=q.useCallback(A=>{for(const{target:C}of A)if(Yy(C)){f(w=>{const M=l(C);return w?{...w,width:M.width,height:M.height}:M});break}},[l]),v=Fb({callback:p}),g=q.useCallback(A=>{const C=vw(A);v==null||v.disconnect(),C&&(v==null||v.observe(C)),f(C?l(C):null)},[l,v]),[E,S]=Lb(g);return q.useMemo(()=>({nodeRef:E,rect:u,setRef:S}),[u,E,S])}const dB=[{sensor:hx,options:{}},{sensor:uw,options:{}}],hB={current:{}},Yb={draggable:{measure:KC},droppable:{measure:KC,strategy:Py.WhileDragging,frequency:vx.Optimized},dragOverlay:{measure:eg}};class Qy extends Map{get(l){var u;return l!=null&&(u=super.get(l))!=null?u:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(l=>{let{disabled:u}=l;return!u})}getNodeFor(l){var u,f;return(u=(f=this.get(l))==null?void 0:f.node.current)!=null?u:void 0}}const pB={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Qy,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:kb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Yb,measureDroppableContainers:kb,windowRect:null,measuringScheduled:!1},gw={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:kb,draggableNodes:new Map,over:null,measureDroppableContainers:kb},Zy=q.createContext(gw),yw=q.createContext(pB);function mB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Qy}}}function vB(n,l){switch(l.type){case ei.DragStart:return{...n,draggable:{...n.draggable,initialCoordinates:l.initialCoordinates,active:l.active}};case ei.DragMove:return n.draggable.active==null?n:{...n,draggable:{...n.draggable,translate:{x:l.coordinates.x-n.draggable.initialCoordinates.x,y:l.coordinates.y-n.draggable.initialCoordinates.y}}};case ei.DragEnd:case ei.DragCancel:return{...n,draggable:{...n.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case ei.RegisterDroppable:{const{element:u}=l,{id:f}=u,p=new Qy(n.droppable.containers);return p.set(f,u),{...n,droppable:{...n.droppable,containers:p}}}case ei.SetDroppableDisabled:{const{id:u,key:f,disabled:p}=l,v=n.droppable.containers.get(u);if(!v||f!==v.key)return n;const g=new Qy(n.droppable.containers);return g.set(u,{...v,disabled:p}),{...n,droppable:{...n.droppable,containers:g}}}case ei.UnregisterDroppable:{const{id:u,key:f}=l,p=n.droppable.containers.get(u);if(!p||f!==p.key)return n;const v=new Qy(n.droppable.containers);return v.delete(u),{...n,droppable:{...n.droppable,containers:v}}}default:return n}}function gB(n){let{disabled:l}=n;const{active:u,activatorEvent:f,draggableNodes:p}=q.useContext(Zy),v=zb(f),g=zb(u==null?void 0:u.id);return q.useEffect(()=>{if(!l&&!f&&v&&g!=null){if(!Hb(v)||document.activeElement===v.target)return;const E=p.get(g);if(!E)return;const{activatorNode:S,node:A}=E;if(!S.current&&!A.current)return;requestAnimationFrame(()=>{for(const C of[S.current,A.current]){if(!C)continue;const w=sN(C);if(w){w.focus();break}}})}},[f,l,p,g,v]),null}function bw(n,l){let{transform:u,...f}=l;return n!=null&&n.length?n.reduce((p,v)=>v({transform:p,...f}),u):u}function yB(n){return q.useMemo(()=>({draggable:{...Yb.draggable,...n==null?void 0:n.draggable},droppable:{...Yb.droppable,...n==null?void 0:n.droppable},dragOverlay:{...Yb.dragOverlay,...n==null?void 0:n.dragOverlay}}),[n==null?void 0:n.draggable,n==null?void 0:n.droppable,n==null?void 0:n.dragOverlay])}function bB(n){let{activeNode:l,measure:u,initialRect:f,config:p=!0}=n;const v=q.useRef(!1),{x:g,y:E}=typeof p=="boolean"?{x:p,y:p}:p;Ps(()=>{if(!g&&!E||!l){v.current=!1;return}if(v.current||!f)return;const A=l==null?void 0:l.node.current;if(!A||A.isConnected===!1)return;const C=u(A),w=QC(C,f);if(g||(w.x=0),E||(w.y=0),v.current=!0,Math.abs(w.x)>0||Math.abs(w.y)>0){const M=JC(A);M&&M.scrollBy({top:w.y,left:w.x})}},[l,g,E,f,u])}const Gb=q.createContext({...Qs,scaleX:1,scaleY:1});var Ph;(function(n){n[n.Uninitialized=0]="Uninitialized",n[n.Initializing=1]="Initializing",n[n.Initialized=2]="Initialized"})(Ph||(Ph={}));const SB=q.memo(function(l){var u,f,p,v;let{id:g,accessibility:E,autoScroll:S=!0,children:A,sensors:C=dB,collisionDetection:w=DN,measuring:M,modifiers:L,...B}=l;const z=q.useReducer(vB,void 0,mB),[O,I]=z,[X,V]=mN(),[U,D]=q.useState(Ph.Uninitialized),j=U===Ph.Initialized,{draggable:{active:Y,nodes:ie,translate:oe},droppable:{containers:pe}}=O,ve=Y!=null?ie.get(Y):null,_e=q.useRef({initial:null,translated:null}),ze=q.useMemo(()=>{var Jn;return Y!=null?{id:Y,data:(Jn=ve==null?void 0:ve.data)!=null?Jn:hB,rect:_e}:null},[Y,ve]),Ue=q.useRef(null),[Qe,ee]=q.useState(null),[ce,ge]=q.useState(null),We=Gy(B,Object.values(B)),W=Vy("DndDescribedBy",g),Ee=q.useMemo(()=>pe.getEnabled(),[pe]),Me=yB(M),{droppableRects:ne,measureDroppableContainers:he,measuringScheduled:De}=tB(Ee,{dragging:j,dependencies:[oe.x,oe.y],config:Me.droppable}),Ye=WN(ie,Y),rt=q.useMemo(()=>ce?jb(ce):null,[ce]),Ke=Ki(),Ne=nB(Ye,Me.draggable.measure);bB({activeNode:Y!=null?ie.get(Y):null,config:Ke.layoutShiftCompensation,initialRect:Ne,measure:Me.draggable.measure});const Ce=fw(Ye,Me.draggable.measure,Ne),nt=fw(Ye?Ye.parentElement:null),ke=q.useRef({activatorEvent:null,active:null,activeNode:Ye,collisionRect:null,collisions:null,droppableRects:ne,draggableNodes:ie,draggingNode:null,draggingNodeRect:null,droppableContainers:pe,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Tt=pe.getNodeFor((u=ke.current.over)==null?void 0:u.id),_t=fB({measure:Me.dragOverlay.measure}),Et=(f=_t.nodeRef.current)!=null?f:Ye,on=j?(p=_t.rect)!=null?p:Ce:null,Ut=!!(_t.nodeRef.current&&_t.rect),Ja=iB(Ut?null:Ce),fr=pw(Et?Il(Et):null),Cn=lB(j?Tt??Ye:null),Qt=cB(Cn),ht=bw(L,{transform:{x:oe.x-Ja.x,y:oe.y-Ja.y,scaleX:1,scaleY:1},activatorEvent:ce,active:ze,activeNodeRect:Ce,containerNodeRect:nt,draggingNodeRect:on,over:ke.current.over,overlayNodeRect:_t.rect,scrollableAncestors:Cn,scrollableAncestorRects:Qt,windowRect:fr}),wn=rt?Wv(rt,oe):null,Ta=uB(Cn),Er=hw(Ta),Bt=hw(Ta,[Ce]),ut=Wv(ht,Er),bt=on?MN(on,ht):null,Nn=ze&&bt?w({active:ze,collisionRect:bt,droppableRects:ne,droppableContainers:Ee,pointerCoordinates:wn}):null,yt=CN(Nn,"id"),[On,gt]=q.useState(null),Qn=Ut?ht:Wv(ht,Bt),ti=_N(Qn,(v=On==null?void 0:On.rect)!=null?v:null,Ce),Gn=q.useRef(null),dr=q.useCallback((Jn,rr)=>{let{sensor:La,options:Hr}=rr;if(Ue.current==null)return;const Wn=ie.get(Ue.current);if(!Wn)return;const za=Jn.nativeEvent,jr=new La({active:Ue.current,activeNode:Wn,event:za,options:Hr,context:ke,onAbort(nn){if(!ie.get(nn))return;const{onDragAbort:Bn}=We.current,Ia={id:nn};Bn==null||Bn(Ia),X({type:"onDragAbort",event:Ia})},onPending(nn,zn,Bn,Ia){if(!ie.get(nn))return;const{onDragPending:xu}=We.current,ya={id:nn,constraint:zn,initialCoordinates:Bn,offset:Ia};xu==null||xu(ya),X({type:"onDragPending",event:ya})},onStart(nn){const zn=Ue.current;if(zn==null)return;const Bn=ie.get(zn);if(!Bn)return;const{onDragStart:Ia}=We.current,gl={activatorEvent:za,active:{id:zn,data:Bn.data,rect:_e}};Gl.unstable_batchedUpdates(()=>{Ia==null||Ia(gl),D(Ph.Initializing),I({type:ei.DragStart,initialCoordinates:nn,active:zn}),X({type:"onDragStart",event:gl}),ee(Gn.current),ge(za)})},onMove(nn){I({type:ei.DragMove,coordinates:nn})},onEnd:Eu(ei.DragEnd),onCancel:Eu(ei.DragCancel)});Gn.current=jr;function Eu(nn){return async function(){const{active:Bn,collisions:Ia,over:gl,scrollAdjustedTranslate:xu}=ke.current;let ya=null;if(Bn&&xu){const{cancelDrop:ea}=We.current;ya={activatorEvent:za,active:Bn,collisions:Ia,delta:xu,over:gl},nn===ei.DragEnd&&typeof ea=="function"&&await Promise.resolve(ea(ya))&&(nn=ei.DragCancel)}Ue.current=null,Gl.unstable_batchedUpdates(()=>{I({type:nn}),D(Ph.Uninitialized),gt(null),ee(null),ge(null),Gn.current=null;const ea=nn===ei.DragEnd?"onDragEnd":"onDragCancel";if(ya){const ft=We.current[ea];ft==null||ft(ya),X({type:ea,event:ya})}})}}},[ie]),Ur=q.useCallback((Jn,rr)=>(La,Hr)=>{const Wn=La.nativeEvent,za=ie.get(Hr);if(Ue.current!==null||!za||Wn.dndKit||Wn.defaultPrevented)return;const jr={active:za};Jn(La,rr.options,jr)===!0&&(Wn.dndKit={capturedBy:rr.sensor},Ue.current=Hr,dr(La,rr))},[ie,dr]),ga=eB(C,Ur);oB(C),Ps(()=>{Ce&&U===Ph.Initializing&&D(Ph.Initialized)},[Ce,U]),q.useEffect(()=>{const{onDragMove:Jn}=We.current,{active:rr,activatorEvent:La,collisions:Hr,over:Wn}=ke.current;if(!rr||!La)return;const za={active:rr,activatorEvent:La,collisions:Hr,delta:{x:ut.x,y:ut.y},over:Wn};Gl.unstable_batchedUpdates(()=>{Jn==null||Jn(za),X({type:"onDragMove",event:za})})},[ut.x,ut.y]),q.useEffect(()=>{const{active:Jn,activatorEvent:rr,collisions:La,droppableContainers:Hr,scrollAdjustedTranslate:Wn}=ke.current;if(!Jn||Ue.current==null||!rr||!Wn)return;const{onDragOver:za}=We.current,jr=Hr.get(yt),Eu=jr&&jr.rect.current?{id:jr.id,rect:jr.rect.current,data:jr.data,disabled:jr.disabled}:null,nn={active:Jn,activatorEvent:rr,collisions:La,delta:{x:Wn.x,y:Wn.y},over:Eu};Gl.unstable_batchedUpdates(()=>{gt(Eu),za==null||za(nn),X({type:"onDragOver",event:nn})})},[yt]),Ps(()=>{ke.current={activatorEvent:ce,active:ze,activeNode:Ye,collisionRect:bt,collisions:Nn,droppableRects:ne,draggableNodes:ie,draggingNode:Et,draggingNodeRect:on,droppableContainers:pe,over:On,scrollableAncestors:Cn,scrollAdjustedTranslate:ut},_e.current={initial:on,translated:bt}},[ze,Ye,Nn,bt,ie,Et,on,ne,pe,On,Cn,ut]),ZN({...Ke,delta:oe,draggingRect:bt,pointerCoordinates:wn,scrollableAncestors:Cn,scrollableAncestorRects:Qt});const ni=q.useMemo(()=>({active:ze,activeNode:Ye,activeNodeRect:Ce,activatorEvent:ce,collisions:Nn,containerNodeRect:nt,dragOverlay:_t,draggableNodes:ie,droppableContainers:pe,droppableRects:ne,over:On,measureDroppableContainers:he,scrollableAncestors:Cn,scrollableAncestorRects:Qt,measuringConfiguration:Me,measuringScheduled:De,windowRect:fr}),[ze,Ye,Ce,ce,Nn,nt,_t,ie,pe,ne,On,he,Cn,Qt,Me,De,fr]),Xl=q.useMemo(()=>({activatorEvent:ce,activators:ga,active:ze,activeNodeRect:Ce,ariaDescribedById:{draggable:W},dispatch:I,draggableNodes:ie,over:On,measureDroppableContainers:he}),[ce,ga,ze,Ce,I,W,ie,On,he]);return q.createElement($C.Provider,{value:V},q.createElement(Zy.Provider,{value:Xl},q.createElement(yw.Provider,{value:ni},q.createElement(Gb.Provider,{value:ti},A)),q.createElement(gB,{disabled:(E==null?void 0:E.restoreFocus)===!1})),q.createElement(yN,{...E,hiddenTextDescribedById:W}));function Ki(){const Jn=(Qe==null?void 0:Qe.autoScrollEnabled)===!1,rr=typeof S=="object"?S.enabled===!1:S===!1,La=j&&!Jn&&!rr;return typeof S=="object"?{...S,enabled:La}:{enabled:La}}}),EB=q.createContext(null),Sw="button",xB="Draggable";function AB(n){let{id:l,data:u,disabled:f=!1,attributes:p}=n;const v=Vy(xB),{activators:g,activatorEvent:E,active:S,activeNodeRect:A,ariaDescribedById:C,draggableNodes:w,over:M}=q.useContext(Zy),{role:L=Sw,roleDescription:B="draggable",tabIndex:z=0}=p??{},O=(S==null?void 0:S.id)===l,I=q.useContext(O?Gb:EB),[X,V]=Lb(),[U,D]=Lb(),j=sB(g,l),Y=Gy(u);Ps(()=>(w.set(l,{id:l,key:v,node:X,activatorNode:U,data:Y}),()=>{const oe=w.get(l);oe&&oe.key===v&&w.delete(l)}),[w,l]);const ie=q.useMemo(()=>({role:L,tabIndex:z,"aria-disabled":f,"aria-pressed":O&&L===Sw?!0:void 0,"aria-roledescription":B,"aria-describedby":C.draggable}),[f,L,z,O,B,C.draggable]);return{active:S,activatorEvent:E,activeNodeRect:A,attributes:ie,isDragging:O,listeners:f?void 0:j,node:X,over:M,setNodeRef:V,setActivatorNodeRef:D,transform:I}}function Ew(){return q.useContext(yw)}const TB="Droppable",CB={timeout:25};function wB(n){let{data:l,disabled:u=!1,id:f,resizeObserverConfig:p}=n;const v=Vy(TB),{active:g,dispatch:E,over:S,measureDroppableContainers:A}=q.useContext(Zy),C=q.useRef({disabled:u}),w=q.useRef(!1),M=q.useRef(null),L=q.useRef(null),{disabled:B,updateMeasurementsFor:z,timeout:O}={...CB,...p},I=Gy(z??f),X=q.useCallback(()=>{if(!w.current){w.current=!0;return}L.current!=null&&clearTimeout(L.current),L.current=setTimeout(()=>{A(Array.isArray(I.current)?I.current:[I.current]),L.current=null},O)},[O]),V=Fb({callback:X,disabled:B||!g}),U=q.useCallback((ie,oe)=>{V&&(oe&&(V.unobserve(oe),w.current=!1),ie&&V.observe(ie))},[V]),[D,j]=Lb(U),Y=Gy(l);return q.useEffect(()=>{!V||!D.current||(V.disconnect(),w.current=!1,V.observe(D.current))},[D,V]),q.useEffect(()=>(E({type:ei.RegisterDroppable,element:{id:f,key:v,disabled:u,node:D,rect:M,data:Y}}),()=>E({type:ei.UnregisterDroppable,key:v,id:f})),[f]),q.useEffect(()=>{u!==C.current.disabled&&(E({type:ei.SetDroppableDisabled,id:f,key:v,disabled:u}),C.current.disabled=u)},[f,v,u,E]),{active:g,rect:M,isOver:(S==null?void 0:S.id)===f,node:D,over:S,setNodeRef:j}}function OB(n){let{animation:l,children:u}=n;const[f,p]=q.useState(null),[v,g]=q.useState(null),E=zb(u);return!u&&!f&&E&&p(E),Ps(()=>{if(!v)return;const S=f==null?void 0:f.key,A=f==null?void 0:f.props.id;if(S==null||A==null){p(null);return}Promise.resolve(l(A,v)).then(()=>{p(null)})},[l,f,v]),q.createElement(q.Fragment,null,u,f?q.cloneElement(f,{ref:g}):null)}const DB={x:0,y:0,scaleX:1,scaleY:1};function _B(n){let{children:l}=n;return q.createElement(Zy.Provider,{value:gw},q.createElement(Gb.Provider,{value:DB},l))}const RB={position:"fixed",touchAction:"none"},MB=n=>Hb(n)?"transform 250ms ease":void 0,NB=q.forwardRef((n,l)=>{let{as:u,activatorEvent:f,adjustScale:p,children:v,className:g,rect:E,style:S,transform:A,transition:C=MB}=n;if(!E)return null;const w=p?A:{...A,scaleX:1,scaleY:1},M={...RB,width:E.width,height:E.height,top:E.top,left:E.left,transform:Kc.Transform.toString(w),transformOrigin:p&&f?xN(f,E):void 0,transition:typeof C=="function"?C(f):C,...S};return q.createElement(u,{className:g,style:M,ref:l},v)}),yx={duration:250,easing:"ease",keyframes:n=>{let{transform:{initial:l,final:u}}=n;return[{transform:Kc.Transform.toString(l)},{transform:Kc.Transform.toString(u)}]},sideEffects:(n=>l=>{let{active:u,dragOverlay:f}=l;const p={},{styles:v,className:g}=n;if(v!=null&&v.active)for(const[E,S]of Object.entries(v.active))S!==void 0&&(p[E]=u.node.style.getPropertyValue(E),u.node.style.setProperty(E,S));if(v!=null&&v.dragOverlay)for(const[E,S]of Object.entries(v.dragOverlay))S!==void 0&&f.node.style.setProperty(E,S);return g!=null&&g.active&&u.node.classList.add(g.active),g!=null&&g.dragOverlay&&f.node.classList.add(g.dragOverlay),function(){for(const[S,A]of Object.entries(p))u.node.style.setProperty(S,A);g!=null&&g.active&&u.node.classList.remove(g.active)}})({styles:{active:{opacity:"0"}}})};function BB(n){let{config:l,draggableNodes:u,droppableContainers:f,measuringConfiguration:p}=n;return Bb((v,g)=>{if(l===null)return;const E=u.get(v);if(!E)return;const S=E.node.current;if(!S)return;const A=vw(g);if(!A)return;const{transform:C}=Il(g).getComputedStyle(g),w=ZC(C);if(!w)return;const M=typeof l=="function"?l:LB(l);return rw(S,p.draggable.measure),M({active:{id:v,data:E.data,node:S,rect:p.draggable.measure(S)},draggableNodes:u,dragOverlay:{node:g,rect:p.dragOverlay.measure(A)},droppableContainers:f,measuringConfiguration:p,transform:w})})}function LB(n){const{duration:l,easing:u,sideEffects:f,keyframes:p}={...yx,...n};return v=>{let{active:g,dragOverlay:E,transform:S,...A}=v;if(!l)return;const C={x:E.rect.left-g.rect.left,y:E.rect.top-g.rect.top},w={scaleX:S.scaleX!==1?g.rect.width*S.scaleX/E.rect.width:1,scaleY:S.scaleY!==1?g.rect.height*S.scaleY/E.rect.height:1},M={x:S.x-C.x,y:S.y-C.y,...w},L=p({...A,active:g,dragOverlay:E,transform:{initial:S,final:M}}),[B]=L,z=L[L.length-1];if(JSON.stringify(B)===JSON.stringify(z))return;const O=f==null?void 0:f({active:g,dragOverlay:E,...A}),I=E.node.animate(L,{duration:l,easing:u,fill:"forwards"});return new Promise(X=>{I.onfinish=()=>{O==null||O(),X()}})}}let xw=0;function zB(n){return q.useMemo(()=>{if(n!=null)return xw++,xw},[n])}const UB=q.memo(n=>{let{adjustScale:l=!1,children:u,dropAnimation:f,style:p,transition:v,modifiers:g,wrapperElement:E="div",className:S,zIndex:A=999}=n;const{activatorEvent:C,active:w,activeNodeRect:M,containerNodeRect:L,draggableNodes:B,droppableContainers:z,dragOverlay:O,over:I,measuringConfiguration:X,scrollableAncestors:V,scrollableAncestorRects:U,windowRect:D}=Ew(),j=q.useContext(Gb),Y=zB(w==null?void 0:w.id),ie=bw(g,{activatorEvent:C,active:w,activeNodeRect:M,containerNodeRect:L,draggingNodeRect:O.rect,over:I,overlayNodeRect:O.rect,scrollableAncestors:V,scrollableAncestorRects:U,transform:j,windowRect:D}),oe=gx(M),pe=BB({config:f,draggableNodes:B,droppableContainers:z,measuringConfiguration:X}),ve=oe?O.setRef:void 0;return q.createElement(_B,null,q.createElement(OB,{animation:pe},w&&Y?q.createElement(NB,{key:Y,id:w.id,ref:ve,as:E,activatorEvent:C,adjustScale:l,className:S,transition:v,rect:oe,style:{zIndex:A,...p},transform:ie},u):null))});function Ky(n,l,u){const f=n.slice();return f.splice(u<0?f.length+u:u,0,f.splice(l,1)[0]),f}function HB(n,l){return n.reduce((u,f,p)=>{const v=l.get(f);return v&&(u[p]=v),u},Array(n.length))}function Ib(n){return n!==null&&n>=0}function jB(n,l){if(n===l)return!0;if(n.length!==l.length)return!1;for(let u=0;u<n.length;u++)if(n[u]!==l[u])return!1;return!0}function kB(n){return typeof n=="boolean"?{draggable:n,droppable:n}:n}const Aw=n=>{let{rects:l,activeIndex:u,overIndex:f,index:p}=n;const v=Ky(l,f,u),g=l[p],E=v[p];return!E||!g?null:{x:E.left-g.left,y:E.top-g.top,scaleX:E.width/g.width,scaleY:E.height/g.height}},Vb={scaleX:1,scaleY:1},qB=n=>{var l;let{activeIndex:u,activeNodeRect:f,index:p,rects:v,overIndex:g}=n;const E=(l=v[u])!=null?l:f;if(!E)return null;if(p===u){const A=v[g];return A?{x:0,y:u<g?A.top+A.height-(E.top+E.height):A.top-E.top,...Vb}:null}const S=FB(v,p,u);return p>u&&p<=g?{x:0,y:-E.height-S,...Vb}:p<u&&p>=g?{x:0,y:E.height+S,...Vb}:{x:0,y:0,...Vb}};function FB(n,l,u){const f=n[l],p=n[l-1],v=n[l+1];return f?u<l?p?f.top-(p.top+p.height):v?v.top-(f.top+f.height):0:v?v.top-(f.top+f.height):p?f.top-(p.top+p.height):0:0}const Tw="Sortable",Cw=q.createContext({activeIndex:-1,containerId:Tw,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Aw,disabled:{draggable:!1,droppable:!1}});function YB(n){let{children:l,id:u,items:f,strategy:p=Aw,disabled:v=!1}=n;const{active:g,dragOverlay:E,droppableRects:S,over:A,measureDroppableContainers:C}=Ew(),w=Vy(Tw,u),M=E.rect!==null,L=q.useMemo(()=>f.map(j=>typeof j=="object"&&"id"in j?j.id:j),[f]),B=g!=null,z=g?L.indexOf(g.id):-1,O=A?L.indexOf(A.id):-1,I=q.useRef(L),X=!jB(L,I.current),V=O!==-1&&z===-1||X,U=kB(v);Ps(()=>{X&&B&&C(L)},[X,L,B,C]),q.useEffect(()=>{I.current=L},[L]);const D=q.useMemo(()=>({activeIndex:z,containerId:w,disabled:U,disableTransforms:V,items:L,overIndex:O,useDragOverlay:M,sortedRects:HB(L,S),strategy:p}),[z,w,U.draggable,U.droppable,V,L,O,S,M,p]);return q.createElement(Cw.Provider,{value:D},l)}const GB=n=>{let{id:l,items:u,activeIndex:f,overIndex:p}=n;return Ky(u,f,p).indexOf(l)},IB=n=>{let{containerId:l,isSorting:u,wasDragging:f,index:p,items:v,newIndex:g,previousItems:E,previousContainerId:S,transition:A}=n;return!A||!f||E!==v&&p===g?!1:u?!0:g!==p&&l===S},VB={duration:200,easing:"ease"},ww="transform",XB=Kc.Transition.toString({property:ww,duration:0,easing:"linear"}),$B={roleDescription:"sortable"};function PB(n){let{disabled:l,index:u,node:f,rect:p}=n;const[v,g]=q.useState(null),E=q.useRef(u);return Ps(()=>{if(!l&&u!==E.current&&f.current){const S=p.current;if(S){const A=eg(f.current,{ignoreTransform:!0}),C={x:S.left-A.left,y:S.top-A.top,scaleX:S.width/A.width,scaleY:S.height/A.height};(C.x||C.y)&&g(C)}}u!==E.current&&(E.current=u)},[l,u,f,p]),q.useEffect(()=>{v&&g(null)},[v]),v}function QB(n){let{animateLayoutChanges:l=IB,attributes:u,disabled:f,data:p,getNewIndex:v=GB,id:g,strategy:E,resizeObserverConfig:S,transition:A=VB}=n;const{items:C,containerId:w,activeIndex:M,disabled:L,disableTransforms:B,sortedRects:z,overIndex:O,useDragOverlay:I,strategy:X}=q.useContext(Cw),V=ZB(f,L),U=C.indexOf(g),D=q.useMemo(()=>({sortable:{containerId:w,index:U,items:C},...p}),[w,p,U,C]),j=q.useMemo(()=>C.slice(C.indexOf(g)),[C,g]),{rect:Y,node:ie,isOver:oe,setNodeRef:pe}=wB({id:g,data:D,disabled:V.droppable,resizeObserverConfig:{updateMeasurementsFor:j,...S}}),{active:ve,activatorEvent:_e,activeNodeRect:ze,attributes:Ue,setNodeRef:Qe,listeners:ee,isDragging:ce,over:ge,setActivatorNodeRef:We,transform:W}=AB({id:g,data:D,attributes:{...$B,...u},disabled:V.draggable}),Ee=iN(pe,Qe),Me=!!ve,ne=Me&&!B&&Ib(M)&&Ib(O),he=!I&&ce,De=he&&ne?W:null,rt=ne?De??(E??X)({rects:z,activeNodeRect:ze,activeIndex:M,overIndex:O,index:U}):null,Ke=Ib(M)&&Ib(O)?v({id:g,items:C,activeIndex:M,overIndex:O}):U,Ne=ve==null?void 0:ve.id,Ce=q.useRef({activeId:Ne,items:C,newIndex:Ke,containerId:w}),nt=C!==Ce.current.items,ke=l({active:ve,containerId:w,isDragging:ce,isSorting:Me,id:g,index:U,items:C,newIndex:Ce.current.newIndex,previousItems:Ce.current.items,previousContainerId:Ce.current.containerId,transition:A,wasDragging:Ce.current.activeId!=null}),Tt=PB({disabled:!ke,index:U,node:ie,rect:Y});return q.useEffect(()=>{Me&&Ce.current.newIndex!==Ke&&(Ce.current.newIndex=Ke),w!==Ce.current.containerId&&(Ce.current.containerId=w),C!==Ce.current.items&&(Ce.current.items=C)},[Me,Ke,w,C]),q.useEffect(()=>{if(Ne===Ce.current.activeId)return;if(Ne!=null&&Ce.current.activeId==null){Ce.current.activeId=Ne;return}const Et=setTimeout(()=>{Ce.current.activeId=Ne},50);return()=>clearTimeout(Et)},[Ne]),{active:ve,activeIndex:M,attributes:Ue,data:D,rect:Y,index:U,newIndex:Ke,items:C,isOver:oe,isSorting:Me,isDragging:ce,listeners:ee,node:ie,overIndex:O,over:ge,setNodeRef:Ee,setActivatorNodeRef:We,setDroppableNodeRef:pe,setDraggableNodeRef:Qe,transform:Tt??rt,transition:_t()};function _t(){if(Tt||nt&&Ce.current.newIndex===U)return XB;if(!(he&&!Hb(_e)||!A)&&(Me||ke))return Kc.Transition.toString({...A,property:ww})}}function ZB(n,l){var u,f;return typeof n=="boolean"?{draggable:n,droppable:!1}:{draggable:(u=n==null?void 0:n.draggable)!=null?u:l.draggable,droppable:(f=n==null?void 0:n.droppable)!=null?f:l.droppable}}Kn.Down,Kn.Right,Kn.Up,Kn.Left;function Ed(){return Ed=Object.assign||function(n){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&(n[f]=u[f])}return n},Ed.apply(this,arguments)}function bx(n,l){if(n==null)return{};var u={},f=Object.keys(n),p,v;for(v=0;v<f.length;v++)p=f[v],!(l.indexOf(p)>=0)&&(u[p]=n[p]);return u}function KB(n,l){if(n){if(typeof n=="string")return Ow(n,l);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return Ow(n,l)}}function Ow(n,l){(l==null||l>n.length)&&(l=n.length);for(var u=0,f=new Array(l);u<l;u++)f[u]=n[u];return f}function Xb(n,l){var u=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(u)return(u=u.call(n)).next.bind(u);if(Array.isArray(n)||(u=KB(n))||l){u&&(n=u);var f=0;return function(){return f>=n.length?{done:!0}:{done:!1,value:n[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
99
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dw(n,l){l===void 0&&(l={});var u=l.insertAt;if(!(!n||typeof document>"u")){var f=document.head||document.getElementsByTagName("head")[0],p=document.createElement("style");p.type="text/css",u==="top"&&f.firstChild?f.insertBefore(p,f.firstChild):f.appendChild(p),p.styleSheet?p.styleSheet.cssText=n:p.appendChild(document.createTextNode(n))}}var JB=`.dnd-sortable-tree_simple_wrapper{box-sizing:border-box;list-style:none;margin-bottom:-1px}.dnd-sortable-tree_simple_tree-item{align-items:center;border:1px solid #dedede;box-sizing:border-box;color:#222;display:flex;padding:10px;position:relative}.dnd-sortable-tree_simple_clone{display:inline-block;padding:5px;pointer-events:none}.dnd-sortable-tree_simple_clone>.dnd-sortable-tree_simple_tree-item{border-radius:4px;box-shadow:0 15px 15px 0 rgba(34,33,81,.1);padding-bottom:5px;padding-right:24px;padding-top:5px}.dnd-sortable-tree_simple_ghost{opacity:.5}.dnd-sortable-tree_simple_disable-selection{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnd-sortable-tree_simple_disable-interaction{pointer-events:none}.dnd-sortable-tree_folder_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button-collapsed{transform:rotate(-90deg)}.dnd-sortable-tree_simple_handle{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='12'><path d='M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z'></path></svg>") no-repeat 50%;cursor:pointer;width:20px}.dnd-sortable-tree_simple_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_simple-item-collapse_button-collapsed{transform:rotate(-90deg)}`;Dw(JB);var WB=`.dnd-sortable-tree_folder_wrapper{box-sizing:border-box;display:flex;flex-direction:row;list-style:none;margin-bottom:-1px}.dnd-sortable-tree_folder_tree-item{align-items:center;box-sizing:border-box;display:flex;padding:7px 0;position:relative}.dnd-sortable-tree_folder_clone{display:inline-block;padding:5px;pointer-events:none}.dnd-sortable-tree_folder_clone>.dnd-sortable-tree_folder_tree-item{border-radius:4px;padding-bottom:5px;padding-right:24px;padding-top:5px}.dnd-sortable-tree_folder_ghost{opacity:.5}.dnd-sortable-tree_folder_disable-selection{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnd-sortable-tree_folder_disable-interaction{pointer-events:none}.dnd-sortable-tree_folder_line{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='100%'/></svg>");width:20px}.dnd-sortable-tree_folder_line-last{align-self:stretch;width:20px}.dnd-sortable-tree_folder_line-to_self{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='100%'/><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='50%' x2='100%' y2='50%'/></svg>");width:20px}.dnd-sortable-tree_folder_line-to_self-last{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='50%'/><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='50%' x2='100%' y2='50%'/></svg>");width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button-collapsed{transform:rotate(-90deg)}.dnd-sortable-tree_folder_handle{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='12'><path d='M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z'></path></svg>") no-repeat 50%;cursor:pointer;width:20px}`;Dw(WB);var e8=["clone","depth","disableSelection","disableInteraction","disableSorting","ghost","handleProps","indentationWidth","indicator","collapsed","onCollapse","onRemove","item","wrapperRef","style","isLast","parent","hideCollapseButton","childCount","manualDrag","showDragHandle","disableCollapseOnItemClick","className","contentClassName","isOver","isOverParent"];function _w(n){return n?[].concat(_w(n.parent),[n]):[]}var t8=q.forwardRef(function(n,l){var u=n.clone,f=n.disableSelection,p=n.disableInteraction,v=n.disableSorting,g=n.ghost,E=n.handleProps,S=n.collapsed,A=n.onCollapse,C=n.wrapperRef,w=n.style,M=n.isLast,L=n.parent,B=n.hideCollapseButton,z=n.childCount,O=n.manualDrag,I=n.showDragHandle,X=n.disableCollapseOnItemClick,V=n.className,U=n.contentClassName,D=bx(n,e8),j=_w(L);return q.createElement("li",Object.assign({},D,{className:ax("dnd-sortable-tree_folder_wrapper",u&&"dnd-sortable-tree_folder_clone",g&&"dnd-sortable-tree_folder_ghost",f&&"dnd-sortable-tree_folder_disable-selection",p&&"dnd-sortable-tree_folder_disable-interaction",V),ref:C,style:w}),j.map(function(Y){return q.createElement("div",{key:Y.id,className:Y.isLast?"dnd-sortable-tree_folder_line-last":"dnd-sortable-tree_folder_line"})}),q.createElement("div",{className:M?"dnd-sortable-tree_folder_line-to_self-last":"dnd-sortable-tree_folder_line-to_self"}),O&&I&&!v&&q.createElement("div",Object.assign({className:"dnd-sortable-tree_folder_handle"},E)),!O&&!B&&!!A&&!!z&&q.createElement("button",{onClick:function(ie){ie.preventDefault(),A==null||A()},className:ax("dnd-sortable-tree_folder_tree-item-collapse_button",S&&"dnd-sortable-tree_folder_tree-item-collapse_button-collapsed")}),q.createElement("div",Object.assign({className:ax("dnd-sortable-tree_folder_tree-item",U),ref:l},O?void 0:E,{onClick:X?void 0:A}),n.children))}),n8=typeof window<"u"?/iPad|iPhone|iPod/.test(navigator.platform):!1;function a8(n,l){return Math.round(n/l)}var Sx=function(){};function r8(n,l,u,f,p,v,g){var E,S,A;if(Sx(),Sx=function(){},!l||!u)return null;var C=n.findIndex(function(ce){var ge=ce.id;return ge===u}),w=n.findIndex(function(ce){var ge=ce.id;return ge===l}),M=n[w];if(v){var L,B,z,O,I,X=n[C];return X=Qe(X,M,g),X===void 0?null:{depth:(L=(B=X)==null?void 0:B.depth)!=null?L:1,parentId:(z=(O=X)==null?void 0:O.id)!=null?z:null,parent:X,isLast:!!((I=X)!=null&&I.isLast)}}var V=Ky(n,w,C),U=V[C-1],D=V[C+1],j=a8(f,p),Y=M.depth+j,ie=Y,oe=Ue(ie-1,U),pe=Qe(oe,M,g);if(pe===void 0)return null;var ve=((E=pe==null?void 0:pe.depth)!=null?E:-1)+1,_e=(S=D==null?void 0:D.depth)!=null?S:0;if(_e>ve)return null;ie>=ve?ie=ve:ie<_e&&(ie=_e);var ze=((A=D==null?void 0:D.depth)!=null?A:-1)<ie;return pe&&pe.isLast&&(Sx=function(){pe.isLast=!0},pe.isLast=!1),{depth:ie,parentId:ee(),parent:pe,isLast:ze};function Ue(ce,ge){if(!ge)return null;for(;ce<ge.depth;){if(ge.parent===null)return null;ge=ge.parent}return ge}function Qe(ce,ge,We){if(!ce){var W=typeof We=="function"?We(ge):We;return W===!1?void 0:ce}var Ee=typeof ce.canHaveChildren=="function"?ce.canHaveChildren(ge):ce.canHaveChildren;return Ee===!1?Qe(ce.parent,M,We):ce}function ee(){var ce;if(ie===0||!U)return null;if(ie===U.depth)return U.parentId;if(ie>U.depth)return U.id;var ge=(ce=V.slice(0,C).reverse().find(function(We){return We.depth===ie}))==null?void 0:ce.parentId;return ge??null}}function Rw(n,l,u,f){return l===void 0&&(l=null),u===void 0&&(u=0),f===void 0&&(f=null),n.reduce(function(p,v,g){var E,S=Ed({},v,{parentId:l,depth:u,index:g,isLast:n.length===g+1,parent:f});return[].concat(p,[S],Rw((E=v.children)!=null?E:[],v.id,u+1,S))},[])}function Ex(n){return Rw(n)}function i8(n){for(var l,u,f={id:"root",children:[]},p=(l={},l[f.id]=f,l),v=n.map(function(z){return Ed({},z,{children:[]})}),g=Xb(v),E;!(E=g()).done;){var S,A,C,w=E.value,M=w.id,L=(S=w.parentId)!=null?S:f.id,B=(A=p[L])!=null?A:l8(v,L);w.parent=null,p[M]=w,B==null||(C=B.children)==null||C.push(w)}return(u=f.children)!=null?u:[]}function l8(n,l){return n.find(function(u){var f=u.id;return f===l})}function $b(n,l){for(var u=Xb(n),f;!(f=u()).done;){var p=f.value,v=p.id,g=p.children;if(v===l)return p;if(g!=null&&g.length){var E=$b(g,l);if(E)return E}}}function Mw(n,l){for(var u=[],f=Xb(n),p;!(p=f()).done;){var v,g=p.value;g.id!==l&&((v=g.children)!=null&&v.length&&(g.children=Mw(g.children,l)),u.push(g))}return u}function Nw(n,l,u,f){for(var p=Xb(n),v;!(v=p()).done;){var g,E=v.value;if(E.id===l){E[u]=f(E[u]);continue}(g=E.children)!=null&&g.length&&(E.children=Nw(E.children,l,u,f))}return[].concat(n)}function Bw(n,l){return l===void 0&&(l=0),n.reduce(function(u,f){var p=f.children;return p!=null&&p.length?Bw(p,u+1):u+1},l)}function u8(n,l){var u;if(!l)return 0;var f=$b(n,l);return f?Bw((u=f.children)!=null?u:[]):0}function o8(n,l){var u=[].concat(l);return n.filter(function(f){if(f.parentId&&u.includes(f.parentId)){var p;return(p=f.children)!=null&&p.length&&u.push(f.id),!1}return!0})}function Lw(n,l){return!n||!l?!1:n.id===l?!0:Lw(n.parent,l)}var s8=["id","depth","isLast","TreeItemComponent","parent","disableSorting","sortableProps","keepGhostInPlace"],c8=function(l){var u=l.isSorting,f=l.isDragging;return!(u||f)},f8=function(l){var u=l.id,f=l.depth,p=l.isLast,v=l.TreeItemComponent,g=l.parent,E=l.disableSorting,S=l.sortableProps,A=l.keepGhostInPlace,C=bx(l,s8),w=QB(Ed({id:u,animateLayoutChanges:c8,disabled:E},S)),M=w.attributes,L=w.isDragging,B=w.isSorting,z=w.listeners,O=w.setDraggableNodeRef,I=w.setDroppableNodeRef,X=w.transform,V=w.transition,U=w.isOver,D=w.over,j=q.useMemo(function(){return!!(D!=null&&D.id)&&Lw(g,D.id)},[D==null?void 0:D.id]),Y={transform:Kc.Translate.toString(X),transition:V??void 0},ie=q.useMemo(function(){if(C.onCollapse)return function(){return C.onCollapse==null?void 0:C.onCollapse(C.item.id)}},[C.item.id,C.onCollapse]),oe=q.useMemo(function(){if(C.onRemove)return function(){return C.onRemove==null?void 0:C.onRemove(C.item.id)}},[C.item.id,C.onRemove]);return q.createElement(v,Object.assign({},C,{ref:O,wrapperRef:I,style:A?void 0:Y,depth:f,ghost:L,disableSelection:n8,disableInteraction:B,isLast:p,parent:g,handleProps:Ed({},M,z),onCollapse:ie,onRemove:oe,disableSorting:E,isOver:U,isOverParent:j}))},d8=q.memo(f8),h8=function(l){var u=function(p){var v=p.activeIndex,g=p.activeNodeRect,E=p.index,S=p.rects,A=p.overIndex;return l(v,A)?qB({activeIndex:v,activeNodeRect:g,index:E,rects:S,overIndex:A}):null};return u},p8=["items","indicator","indentationWidth","onItemsChanged","TreeItemComponent","pointerSensorOptions","disableSorting","dropAnimation","dndContextProps","sortableProps","keepGhostInPlace","canRootHaveChildren"],m8={activationConstraint:{distance:3}},v8={keyframes:function(l){var u=l.transform;return[{opacity:1,transform:Kc.Transform.toString(u.initial)},{opacity:0,transform:Kc.Transform.toString(Ed({},u.final,{x:u.final.x+5,y:u.final.y+5}))}]},easing:"ease-out",sideEffects:function(l){var u=l.active;u.node.animate([{opacity:0},{opacity:1}],{duration:yx.duration,easing:yx.easing})}};function g8(n){var l=n.items,u=n.indicator,f=n.indentationWidth,p=f===void 0?20:f,v=n.onItemsChanged,g=n.TreeItemComponent,E=n.pointerSensorOptions,S=n.disableSorting,A=n.dropAnimation,C=n.dndContextProps,w=n.sortableProps,M=n.keepGhostInPlace,L=n.canRootHaveChildren,B=bx(n,p8),z=q.useState(null),O=z[0],I=z[1],X=q.useState(null),V=X[0],U=X[1],D=q.useState(0),j=D[0],Y=D[1],ie=q.useState(null),oe=ie[0],pe=ie[1],ve=q.useMemo(function(){var Ne=Ex(l),Ce=Ne.reduce(function(ke,Tt){var _t=Tt.children,Et=Tt.collapsed,on=Tt.id;return Et&&_t!=null&&_t.length?[].concat(ke,[on]):ke},[]),nt=o8(Ne,O?[O].concat(Ce):Ce);return nt},[O,l]),_e=r8(ve,O,V,j,p,M??!1,L),ze=q.useRef({items:ve,offset:j}),Ue=SN(bN(hx,E??m8)),Qe=q.useMemo(function(){return ve.map(function(Ne){var Ce=Ne.id;return Ce})},[ve]),ee=O?ve.find(function(Ne){var Ce=Ne.id;return Ce===O}):null;q.useEffect(function(){ze.current={items:ve,offset:j}},[ve,j]);var ce=q.useRef(l);ce.current=l;var ge=q.useCallback(function(Ne){var Ce=$b(ce.current,Ne);v(Mw(ce.current,Ne),{type:"removed",item:Ce})},[v]),We=q.useCallback(function(Ce){var nt=$b(ce.current,Ce);v(Nw(ce.current,Ce,"collapsed",function(ke){return!ke}),{type:nt.collapsed?"collapsed":"expanded",item:nt})},[v]),W=q.useMemo(function(){return{onDragStart:function(Ce){var nt=Ce.active;return"Picked up "+nt.id+"."},onDragMove:function(Ce){var nt=Ce.active,ke=Ce.over;return Ke("onDragMove",nt.id,ke==null?void 0:ke.id)},onDragOver:function(Ce){var nt=Ce.active,ke=Ce.over;return Ke("onDragOver",nt.id,ke==null?void 0:ke.id)},onDragEnd:function(Ce){var nt=Ce.active,ke=Ce.over;return Ke("onDragEnd",nt.id,ke==null?void 0:ke.id)},onDragCancel:function(Ce){var nt=Ce.active;return"Moving was cancelled. "+nt.id+" was dropped in its original position."}}},[]),Ee=q.useCallback(function(){return!!_e},[_e]);return q.createElement(SB,Object.assign({accessibility:{announcements:W},sensors:S?void 0:Ue,modifiers:u?b8:void 0,collisionDetection:wN,onDragStart:S?void 0:Me,onDragMove:S?void 0:ne,onDragOver:S?void 0:he,onDragEnd:S?void 0:De,onDragCancel:S?void 0:Ye},C),q.createElement(YB,{items:Qe,strategy:S?void 0:h8(Ee)},ve.map(function(Ne){var Ce,nt,ke;return q.createElement(d8,Object.assign({},B,{key:Ne.id,id:Ne.id,item:Ne,childCount:(Ce=Ne.children)==null?void 0:Ce.length,depth:Ne.id===O&&_e&&!M?_e.depth:Ne.depth,indentationWidth:p,indicator:u,collapsed:!!(Ne.collapsed&&((nt=Ne.children)!=null&&nt.length)),onCollapse:(ke=Ne.children)!=null&&ke.length?We:void 0,onRemove:ge,isLast:Ne.id===O&&_e?_e.isLast:Ne.isLast,parent:Ne.id===O&&_e?_e.parent:Ne.parent,TreeItemComponent:g,disableSorting:S,sortableProps:w,keepGhostInPlace:M}))}),Gl.createPortal(q.createElement(UB,{dropAnimation:A===void 0?v8:A},O&&ee?q.createElement(g,Object.assign({},B,{item:ee,children:[],depth:ee.depth,clone:!0,childCount:u8(l,O)+1,indentationWidth:p,isLast:!1,parent:ee.parent,isOver:!1,isOverParent:!1})):null),document.body)));function Me(Ne){var Ce=Ne.active.id;I(Ce),U(Ce);var nt=ve.find(function(ke){var Tt=ke.id;return Tt===Ce});nt&&pe({parentId:nt.parentId,overId:Ce}),document.body.style.setProperty("cursor","grabbing")}function ne(Ne){var Ce=Ne.delta;Y(Ce.x)}function he(Ne){var Ce,nt=Ne.over;U((Ce=nt==null?void 0:nt.id)!=null?Ce:null)}function De(Ne){var Ce=Ne.active,nt=Ne.over;if(rt(),_e&&nt){var ke=_e.depth,Tt=_e.parentId;if(M&&nt.id===Ce.id)return;var _t=Ex(l),Et=_t.findIndex(function(wn){var Ta=wn.id;return Ta===nt.id}),on=_t.findIndex(function(wn){var Ta=wn.id;return Ta===Ce.id}),Ut=_t[on];_t[on]=Ed({},Ut,{depth:ke,parentId:Tt});var Ja=Ut.parent,fr=Ky(_t,on,Et),Cn=i8(fr),Qt=fr.find(function(wn){return wn.id===Ce.id}),ht=Qt.parentId?fr.find(function(wn){return wn.id===Qt.parentId}):null;setTimeout(function(){return v(Cn,{type:"dropped",draggedItem:Qt,draggedFromParent:Ja,droppedToParent:ht})})}}function Ye(){rt()}function rt(){U(null),I(null),Y(0),pe(null),document.body.style.setProperty("cursor","")}function Ke(Ne,Ce,nt){if(nt&&_e){if(Ne!=="onDragEnd"){if(oe&&_e.parentId===oe.parentId&&nt===oe.overId)return;pe({parentId:_e.parentId,overId:nt})}var ke=Ex(l),Tt=ke.findIndex(function(wn){var Ta=wn.id;return Ta===nt}),_t=ke.findIndex(function(wn){var Ta=wn.id;return Ta===Ce}),Et=Ky(ke,_t,Tt),on=Et[Tt-1],Ut,Ja=Ne==="onDragEnd"?"dropped":"moved",fr=Ne==="onDragEnd"?"dropped":"nested";if(on)if(_e.depth>on.depth)Ut=Ce+" was "+fr+" under "+on.id+".";else{for(var Qt=on,ht=function(){var Ta=Qt.parentId;Qt=Et.find(function(Er){var Bt=Er.id;return Bt===Ta})};Qt&&_e.depth<Qt.depth;)ht();Qt&&(Ut=Ce+" was "+Ja+" after "+Qt.id+".")}else{var Cn=Et[Tt+1];Ut=Ce+" was "+Ja+" before "+Cn.id+"."}return Ut}}}var y8=function(l){var u=l.transform;return Ed({},u,{y:u.y-25})},b8=[y8];const S8=({props:n,path:l,datafield:u})=>{var V,U;const f=q.useContext(Aa),p=q.useContext(ua);let{formData:v,formDataPath:g}=Fy({currentPath:l,datafield:u,dataLocation:n.dataLocation,defaultValue:n.defaultFieldValue,globalDataContext:f,templateContext:p});if(v===void 0)return null;const E=n.itemTemplate??null,S=ca({valueToEvaluate:n.treeRootPath??void 0,globalDataContext:f,templateContext:p}),A=n.maxDepth,C=typeof S!="string"?!0:n.maxDepthIsAbsolute??!0,w=n.keepBaseItem??!1;let M=0,L=null,B;if(typeof S=="string"&&S.length>0){const D=S.split(".");let j=L,Y=v,ie=g;for(;D.length>0;){const oe=Number.parseInt(D.shift());if(Number.isNaN(oe)||(j=(v==null?void 0:v.id)??null,Y=v,ie=g,B=oe,L=(V=v[oe])==null?void 0:V.id,v=((U=v[oe])==null?void 0:U.children)??void 0,g=g+"."+oe+".children",v===void 0))return null;++M}w&&(L=j,v=Y,g=ie,v=[v[B]])}const z=D=>{let j=D,Y=g;if(M>0){j=Yh.cloneDeep(j);const ie=(oe,pe=0)=>{var ve;pe===0&&(oe.parentId=L),oe.depth+=M,(ve=oe.children)==null||ve.forEach(_e=>{ie(_e,pe+1)})};j.forEach(oe=>{ie(oe,0)})}S!==void 0&&w&&(j=D[0],Y=g+"."+B),f.updateData(j,Y)},O=q.forwardRef((D,j)=>{const Y=D.item.value??{},ie=[];let oe=D.item;for(ie.push(oe.index);oe.parent;)ie.push("children"),oe=oe.parent,ie.push(oe.index);ie.reverse();const ve=g+"."+ie.join(".")+".value";Y._treeItemDepth=D.item.depth,Y._treeItemIndex=D.item.index,Y._treeItemIndex1=D.item.index+1;const _e={};return _e._treeAddCollapseButton=()=>!!D.onCollapse&&!!D.childCount&&te.jsx("button",{onClick:ze=>{var Ue;ze.preventDefault(),(Ue=D.onCollapse)==null||Ue.call(D)},className:rN("dnd-sortable-tree_folder_tree-item-collapse_button",D.collapsed&&"dnd-sortable-tree_folder_tree-item-collapse_button-collapsed")}),A&&(C?D.item.canHaveChildren=M+D.item.depth<A:D.item.canHaveChildren=D.item.depth<A),te.jsx(t8,{...D,"data-htmlbuilder-tree-item-children-count":D.childCount||"0","data-htmlbuilder-tree-item-collapsed":D.collapsed,"data-htmlbuilder-tree-item-depth":D.item.depth,"data-htmlbuilder-tree-item-depth-list":E8(D.item.depth),"data-htmlbuilder-tree-item-index":D.item.index,"data-htmlbuilder-tree-item-index1":D.item.index+1,"data-htmlbuilder-tree-item-is-last":D.isLast,ref:j,children:te.jsx(ua.Provider,{value:{templateData:Y,templatePath:ve,sortableTreeData:_e},children:te.jsx(Ra,{props:E,currentData:Y})})})}),I=Yh.cloneDeep(v),X=n.sortableTreeOptions??{};return te.jsx(Ci,{...n,children:te.jsx(g8,{...X,items:I,onItemsChanged:z,TreeItemComponent:O})})};function E8(n){const l=[];let u=n??0;for(;u>=0;)l.push(u),--u;return l.reverse().join(" ")}const x8=({props:n})=>{const l=q.useContext(Aa),u=q.useContext(ua);let f=!1;if(n.content!==void 0){const p=ca({valueToEvaluate:n.content,globalDataContext:l,templateContext:u});switch(n.format){case"roman-upper":f=zw(p);break;case"roman-lower":f=zw(p,!0);break;case"latin-upper":f=xx(p);break;case"latin-lower":f=xx(p,!0);break}}return te.jsx(Ci,{...n,children:te.jsx(te.Fragment,{children:f!==!1&&f})})};function xx(n,l=!1){if(n<1)return!1;let u=n%26,f=n/26|0,p=u?String.fromCharCode(64+u):(--f,"Z");const v=f?xx(f)+p:p;return l?v.toLowerCase():v}function zw(n,l=!1){if(n<1)return!1;const f=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]].reduce((p,[v,g])=>(p+=v.repeat(Math.floor(n/g)),n=n%g,p),"");return l?f.toLowerCase():f}const A8=({currentData:n,datafield:l,path:u,props:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),g=f.dynamicOptions??void 0;let E;g?E=ca({valueToEvaluate:g,globalDataContext:p,templateContext:v})??[]:E=f.options??[];let S;const A=f.defaultFieldValue??void 0,C=f.dataLocation??void 0;C?S=ca({globalDataContext:p,templateContext:v,valueToEvaluate:C})??A:((v.templateData[l]??void 0)===void 0&&(v.templateData=typeof v.templateData=="object"?v.templateData:{},v.templateData[l]=A),S=v.templateData[l]);let w=E.find(M=>M.value===S);if(!w||!w.label){if(!S)return null;w=S}return te.jsx(Ci,{...f,children:te.jsx(Ra,{currentData:n,datafield:l,path:u,props:w.label})})},T8=({currentData:n,path:l,props:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),[v,g]=q.useState(!0),E=$s(u.attributes),{showBoolPath:S}=u,A=typeof S!="string";E.show=A?v:ca({valueToEvaluate:(u==null?void 0:u.showBoolPath)??!1,globalDataContext:f,templateContext:p});const C=()=>{if(A){g(!1);return}const M=Wo({dataLocation:S,currentPath:p.templatePath,globalDataContext:f,templateContext:p});f.updateData(void 0,M)},w=E.className?E.className.split(" "):[];return w.push("reactive-json"),E.className=w.join(" "),te.jsx(Ci,{...u,children:te.jsxs(Db,{...E,onHide:C,children:[(u.headerTitle||u.closeButton)&&te.jsx(Db.Header,{closeButton:u.closeButton,children:te.jsx(Db.Title,{children:te.jsx(Ra,{currentData:(n==null?void 0:n.headerTitle)??void 0,datafield:"headerTitle",path:(l??"")+".headerTitle",props:u==null?void 0:u.headerTitle})})}),u.body&&te.jsx(Db.Body,{children:te.jsx(Ra,{currentData:(n==null?void 0:n.body)??void 0,datafield:"body",path:(l??"")+".body",props:u==null?void 0:u.body})})]})})},C8=({props:n,currentData:l})=>te.jsx(te.Fragment,{children:l});var Jy={},tg={},Pb={},Pm={},Qm={},Ax={},Uw;function Hw(){return Uw||(Uw=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0;var l;(function(f){f.Root="root",f.Text="text",f.Directive="directive",f.Comment="comment",f.Script="script",f.Style="style",f.Tag="tag",f.CDATA="cdata",f.Doctype="doctype"})(l=n.ElementType||(n.ElementType={}));function u(f){return f.type===l.Tag||f.type===l.Script||f.type===l.Style}n.isTag=u,n.Root=l.Root,n.Text=l.Text,n.Directive=l.Directive,n.Comment=l.Comment,n.Script=l.Script,n.Style=l.Style,n.Tag=l.Tag,n.CDATA=l.CDATA,n.Doctype=l.Doctype}(Ax)),Ax}var hn={},jw;function kw(){if(jw)return hn;jw=1;var n=hn&&hn.__extends||function(){var D=function(j,Y){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,oe){ie.__proto__=oe}||function(ie,oe){for(var pe in oe)Object.prototype.hasOwnProperty.call(oe,pe)&&(ie[pe]=oe[pe])},D(j,Y)};return function(j,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");D(j,Y);function ie(){this.constructor=j}j.prototype=Y===null?Object.create(Y):(ie.prototype=Y.prototype,new ie)}}(),l=hn&&hn.__assign||function(){return l=Object.assign||function(D){for(var j,Y=1,ie=arguments.length;Y<ie;Y++){j=arguments[Y];for(var oe in j)Object.prototype.hasOwnProperty.call(j,oe)&&(D[oe]=j[oe])}return D},l.apply(this,arguments)};Object.defineProperty(hn,"__esModule",{value:!0}),hn.cloneNode=hn.hasChildren=hn.isDocument=hn.isDirective=hn.isComment=hn.isText=hn.isCDATA=hn.isTag=hn.Element=hn.Document=hn.CDATA=hn.NodeWithChildren=hn.ProcessingInstruction=hn.Comment=hn.Text=hn.DataNode=hn.Node=void 0;var u=Hw(),f=function(){function D(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(D.prototype,"parentNode",{get:function(){return this.parent},set:function(j){this.parent=j},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"previousSibling",{get:function(){return this.prev},set:function(j){this.prev=j},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"nextSibling",{get:function(){return this.next},set:function(j){this.next=j},enumerable:!1,configurable:!0}),D.prototype.cloneNode=function(j){return j===void 0&&(j=!1),V(this,j)},D}();hn.Node=f;var p=function(D){n(j,D);function j(Y){var ie=D.call(this)||this;return ie.data=Y,ie}return Object.defineProperty(j.prototype,"nodeValue",{get:function(){return this.data},set:function(Y){this.data=Y},enumerable:!1,configurable:!0}),j}(f);hn.DataNode=p;var v=function(D){n(j,D);function j(){var Y=D!==null&&D.apply(this,arguments)||this;return Y.type=u.ElementType.Text,Y}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),j}(p);hn.Text=v;var g=function(D){n(j,D);function j(){var Y=D!==null&&D.apply(this,arguments)||this;return Y.type=u.ElementType.Comment,Y}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),j}(p);hn.Comment=g;var E=function(D){n(j,D);function j(Y,ie){var oe=D.call(this,ie)||this;return oe.name=Y,oe.type=u.ElementType.Directive,oe}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),j}(p);hn.ProcessingInstruction=E;var S=function(D){n(j,D);function j(Y){var ie=D.call(this)||this;return ie.children=Y,ie}return Object.defineProperty(j.prototype,"firstChild",{get:function(){var Y;return(Y=this.children[0])!==null&&Y!==void 0?Y:null},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"childNodes",{get:function(){return this.children},set:function(Y){this.children=Y},enumerable:!1,configurable:!0}),j}(f);hn.NodeWithChildren=S;var A=function(D){n(j,D);function j(){var Y=D!==null&&D.apply(this,arguments)||this;return Y.type=u.ElementType.CDATA,Y}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),j}(S);hn.CDATA=A;var C=function(D){n(j,D);function j(){var Y=D!==null&&D.apply(this,arguments)||this;return Y.type=u.ElementType.Root,Y}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),j}(S);hn.Document=C;var w=function(D){n(j,D);function j(Y,ie,oe,pe){oe===void 0&&(oe=[]),pe===void 0&&(pe=Y==="script"?u.ElementType.Script:Y==="style"?u.ElementType.Style:u.ElementType.Tag);var ve=D.call(this,oe)||this;return ve.name=Y,ve.attribs=ie,ve.type=pe,ve}return Object.defineProperty(j.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"tagName",{get:function(){return this.name},set:function(Y){this.name=Y},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"attributes",{get:function(){var Y=this;return Object.keys(this.attribs).map(function(ie){var oe,pe;return{name:ie,value:Y.attribs[ie],namespace:(oe=Y["x-attribsNamespace"])===null||oe===void 0?void 0:oe[ie],prefix:(pe=Y["x-attribsPrefix"])===null||pe===void 0?void 0:pe[ie]}})},enumerable:!1,configurable:!0}),j}(S);hn.Element=w;function M(D){return(0,u.isTag)(D)}hn.isTag=M;function L(D){return D.type===u.ElementType.CDATA}hn.isCDATA=L;function B(D){return D.type===u.ElementType.Text}hn.isText=B;function z(D){return D.type===u.ElementType.Comment}hn.isComment=z;function O(D){return D.type===u.ElementType.Directive}hn.isDirective=O;function I(D){return D.type===u.ElementType.Root}hn.isDocument=I;function X(D){return Object.prototype.hasOwnProperty.call(D,"children")}hn.hasChildren=X;function V(D,j){j===void 0&&(j=!1);var Y;if(B(D))Y=new v(D.data);else if(z(D))Y=new g(D.data);else if(M(D)){var ie=j?U(D.children):[],oe=new w(D.name,l({},D.attribs),ie);ie.forEach(function(ze){return ze.parent=oe}),D.namespace!=null&&(oe.namespace=D.namespace),D["x-attribsNamespace"]&&(oe["x-attribsNamespace"]=l({},D["x-attribsNamespace"])),D["x-attribsPrefix"]&&(oe["x-attribsPrefix"]=l({},D["x-attribsPrefix"])),Y=oe}else if(L(D)){var ie=j?U(D.children):[],pe=new A(ie);ie.forEach(function(Ue){return Ue.parent=pe}),Y=pe}else if(I(D)){var ie=j?U(D.children):[],ve=new C(ie);ie.forEach(function(Ue){return Ue.parent=ve}),D["x-mode"]&&(ve["x-mode"]=D["x-mode"]),Y=ve}else if(O(D)){var _e=new E(D.name,D.data);D["x-name"]!=null&&(_e["x-name"]=D["x-name"],_e["x-publicId"]=D["x-publicId"],_e["x-systemId"]=D["x-systemId"]),Y=_e}else throw new Error("Not implemented yet: ".concat(D.type));return Y.startIndex=D.startIndex,Y.endIndex=D.endIndex,D.sourceCodeLocation!=null&&(Y.sourceCodeLocation=D.sourceCodeLocation),Y}hn.cloneNode=V;function U(D){for(var j=D.map(function(ie){return V(ie,!0)}),Y=1;Y<j.length;Y++)j[Y].prev=j[Y-1],j[Y-1].next=j[Y];return j}return hn}var qw;function Fw(){return qw||(qw=1,function(n){var l=Qm&&Qm.__createBinding||(Object.create?function(E,S,A,C){C===void 0&&(C=A);var w=Object.getOwnPropertyDescriptor(S,A);(!w||("get"in w?!S.__esModule:w.writable||w.configurable))&&(w={enumerable:!0,get:function(){return S[A]}}),Object.defineProperty(E,C,w)}:function(E,S,A,C){C===void 0&&(C=A),E[C]=S[A]}),u=Qm&&Qm.__exportStar||function(E,S){for(var A in E)A!=="default"&&!Object.prototype.hasOwnProperty.call(S,A)&&l(S,E,A)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var f=Hw(),p=kw();u(kw(),n);var v={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},g=function(){function E(S,A,C){this.dom=[],this.root=new p.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof A=="function"&&(C=A,A=v),typeof S=="object"&&(A=S,S=void 0),this.callback=S??null,this.options=A??v,this.elementCB=C??null}return E.prototype.onparserinit=function(S){this.parser=S},E.prototype.onreset=function(){this.dom=[],this.root=new p.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},E.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},E.prototype.onerror=function(S){this.handleCallback(S)},E.prototype.onclosetag=function(){this.lastNode=null;var S=this.tagStack.pop();this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(S)},E.prototype.onopentag=function(S,A){var C=this.options.xmlMode?f.ElementType.Tag:void 0,w=new p.Element(S,A,void 0,C);this.addNode(w),this.tagStack.push(w)},E.prototype.ontext=function(S){var A=this.lastNode;if(A&&A.type===f.ElementType.Text)A.data+=S,this.options.withEndIndices&&(A.endIndex=this.parser.endIndex);else{var C=new p.Text(S);this.addNode(C),this.lastNode=C}},E.prototype.oncomment=function(S){if(this.lastNode&&this.lastNode.type===f.ElementType.Comment){this.lastNode.data+=S;return}var A=new p.Comment(S);this.addNode(A),this.lastNode=A},E.prototype.oncommentend=function(){this.lastNode=null},E.prototype.oncdatastart=function(){var S=new p.Text(""),A=new p.CDATA([S]);this.addNode(A),S.parent=A,this.lastNode=S},E.prototype.oncdataend=function(){this.lastNode=null},E.prototype.onprocessinginstruction=function(S,A){var C=new p.ProcessingInstruction(S,A);this.addNode(C)},E.prototype.handleCallback=function(S){if(typeof this.callback=="function")this.callback(S,this.dom);else if(S)throw S},E.prototype.addNode=function(S){var A=this.tagStack[this.tagStack.length-1],C=A.children[A.children.length-1];this.options.withStartIndices&&(S.startIndex=this.parser.startIndex),this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),A.children.push(S),C&&(S.prev=C,C.next=S),S.parent=A,this.lastNode=null},E}();n.DomHandler=g,n.default=g}(Qm)),Qm}var Tx={},Yw;function w8(){return Yw||(Yw=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CARRIAGE_RETURN_PLACEHOLDER_REGEX=n.CARRIAGE_RETURN_PLACEHOLDER=n.CARRIAGE_RETURN_REGEX=n.CARRIAGE_RETURN=n.CASE_SENSITIVE_TAG_NAMES_MAP=n.CASE_SENSITIVE_TAG_NAMES=void 0,n.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],n.CASE_SENSITIVE_TAG_NAMES_MAP=n.CASE_SENSITIVE_TAG_NAMES.reduce(function(l,u){return l[u.toLowerCase()]=u,l},{}),n.CARRIAGE_RETURN="\r",n.CARRIAGE_RETURN_REGEX=new RegExp(n.CARRIAGE_RETURN,"g"),n.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),n.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(n.CARRIAGE_RETURN_PLACEHOLDER,"g")}(Tx)),Tx}var Gw;function Iw(){if(Gw)return Pm;Gw=1,Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.formatAttributes=f,Pm.escapeSpecialCharacters=v,Pm.revertEscapedCharacters=g,Pm.formatDOM=E;var n=Fw(),l=w8();function u(S){return l.CASE_SENSITIVE_TAG_NAMES_MAP[S]}function f(S){for(var A={},C=0,w=S.length;C<w;C++){var M=S[C];A[M.name]=M.value}return A}function p(S){S=S.toLowerCase();var A=u(S);return A||S}function v(S){return S.replace(l.CARRIAGE_RETURN_REGEX,l.CARRIAGE_RETURN_PLACEHOLDER)}function g(S){return S.replace(l.CARRIAGE_RETURN_PLACEHOLDER_REGEX,l.CARRIAGE_RETURN)}function E(S,A,C){A===void 0&&(A=null);for(var w=[],M,L=0,B=S.length;L<B;L++){var z=S[L];switch(z.nodeType){case 1:{var O=p(z.nodeName);M=new n.Element(O,f(z.attributes)),M.children=E(O==="template"?z.content.childNodes:z.childNodes,M);break}case 3:M=new n.Text(g(z.nodeValue));break;case 8:M=new n.Comment(z.nodeValue);break;default:continue}var I=w[L-1]||null;I&&(I.next=M),M.parent=A,M.prev=I,M.next=null,w.push(M)}return C&&(M=new n.ProcessingInstruction(C.substring(0,C.indexOf(" ")).toLowerCase(),C),M.next=w[0]||null,M.parent=A,w.unshift(M),w[1]&&(w[1].prev=w[0])),w}return Pm}var Vw;function O8(){if(Vw)return Pb;Vw=1,Object.defineProperty(Pb,"__esModule",{value:!0}),Pb.default=z;var n=Iw(),l="html",u="head",f="body",p=/<([a-zA-Z]+[0-9]?)/,v=/<head[^]*>/i,g=/<body[^]*>/i,E=function(O,I){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},S=function(O,I){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},A=typeof window=="object"&&window.DOMParser;if(typeof A=="function"){var C=new A,w="text/html";S=function(O,I){return I&&(O="<".concat(I,">").concat(O,"</").concat(I,">")),C.parseFromString(O,w)},E=S}if(typeof document=="object"&&document.implementation){var M=document.implementation.createHTMLDocument();E=function(O,I){if(I){var X=M.documentElement.querySelector(I);return X&&(X.innerHTML=O),M}return M.documentElement.innerHTML=O,M}}var L=typeof document=="object"&&document.createElement("template"),B;L&&L.content&&(B=function(O){return L.innerHTML=O,L.content.childNodes});function z(O){var I,X;O=(0,n.escapeSpecialCharacters)(O);var V=O.match(p),U=V&&V[1]?V[1].toLowerCase():"";switch(U){case l:{var D=S(O);if(!v.test(O)){var j=D.querySelector(u);(I=j==null?void 0:j.parentNode)===null||I===void 0||I.removeChild(j)}if(!g.test(O)){var j=D.querySelector(f);(X=j==null?void 0:j.parentNode)===null||X===void 0||X.removeChild(j)}return D.querySelectorAll(l)}case u:case f:{var Y=E(O).querySelectorAll(U);return g.test(O)&&v.test(O)?Y[0].parentNode.childNodes:Y}default:{if(B)return B(O);var j=E(O,f).querySelector(f);return j.childNodes}}}return Pb}var Xw;function D8(){if(Xw)return tg;Xw=1;var n=tg&&tg.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(tg,"__esModule",{value:!0}),tg.default=p;var l=n(O8()),u=Iw(),f=/<(![a-zA-Z\s]+)>/;function p(v){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];var g=v.match(f),E=g?g[1]:void 0;return(0,u.formatDOM)((0,l.default)(v),null,E)}return tg}var Qb={},ts={},Wy={},$w;function _8(){if($w)return Wy;$w=1;var n=0;Wy.SAME=n;var l=1;return Wy.CAMELCASE=l,Wy.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1},Wy}var Pw;function R8(){if(Pw)return ts;Pw=1;const n=0,l=1,u=2,f=3,p=4,v=5,g=6;function E(D){return A.hasOwnProperty(D)?A[D]:null}function S(D,j,Y,ie,oe,pe,ve){this.acceptsBooleans=j===u||j===f||j===p,this.attributeName=ie,this.attributeNamespace=oe,this.mustUseProperty=Y,this.propertyName=D,this.type=j,this.sanitizeURL=pe,this.removeEmptyString=ve}const A={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(D=>{A[D]=new S(D,n,!1,D,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([D,j])=>{A[D]=new S(D,l,!1,j,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(D=>{A[D]=new S(D,u,!1,D.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(D=>{A[D]=new S(D,u,!1,D,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(D=>{A[D]=new S(D,f,!1,D.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(D=>{A[D]=new S(D,f,!0,D,null,!1,!1)}),["capture","download"].forEach(D=>{A[D]=new S(D,p,!1,D,null,!1,!1)}),["cols","rows","size","span"].forEach(D=>{A[D]=new S(D,g,!1,D,null,!1,!1)}),["rowSpan","start"].forEach(D=>{A[D]=new S(D,v,!1,D.toLowerCase(),null,!1,!1)});const w=/[\-\:]([a-z])/g,M=D=>D[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"].forEach(D=>{const j=D.replace(w,M);A[j]=new S(j,l,!1,D,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(D=>{const j=D.replace(w,M);A[j]=new S(j,l,!1,D,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(D=>{const j=D.replace(w,M);A[j]=new S(j,l,!1,D,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(D=>{A[D]=new S(D,l,!1,D.toLowerCase(),null,!1,!1)});const L="xlinkHref";A[L]=new S("xlinkHref",l,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(D=>{A[D]=new S(D,l,!1,D.toLowerCase(),null,!0,!0)});const{CAMELCASE:B,SAME:z,possibleStandardNames:O}=_8(),X=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",V=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+X+"]*$")),U=Object.keys(O).reduce((D,j)=>{const Y=O[j];return Y===z?D[j]=j:Y===B?D[j.toLowerCase()]=j:D[j]=Y,D},{});return ts.BOOLEAN=f,ts.BOOLEANISH_STRING=u,ts.NUMERIC=v,ts.OVERLOADED_BOOLEAN=p,ts.POSITIVE_NUMERIC=g,ts.RESERVED=n,ts.STRING=l,ts.getPropertyInfo=E,ts.isCustomAttribute=V,ts.possibleStandardNames=U,ts}var e1={},ng={},Cx,Qw;function M8(){if(Qw)return Cx;Qw=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,l=/\n/g,u=/^\s*/,f=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,p=/^:\s*/,v=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,g=/^[;\s]*/,E=/^\s+|\s+$/g,S=`
|
|
100
|
-
`,A="/",C="*",w="",M="comment",L="declaration";Cx=function(z,O){if(typeof z!="string")throw new TypeError("First argument must be a string");if(!z)return[];O=O||{};var I=1,X=1;function V(ze){var Ue=ze.match(l);Ue&&(I+=Ue.length);var Qe=ze.lastIndexOf(S);X=~Qe?ze.length-Qe:X+ze.length}function U(){var ze={line:I,column:X};return function(Ue){return Ue.position=new D(ze),ie(),Ue}}function D(ze){this.start=ze,this.end={line:I,column:X},this.source=O.source}D.prototype.content=z;function j(ze){var Ue=new Error(O.source+":"+I+":"+X+": "+ze);if(Ue.reason=ze,Ue.filename=O.source,Ue.line=I,Ue.column=X,Ue.source=z,!O.silent)throw Ue}function Y(ze){var Ue=ze.exec(z);if(Ue){var Qe=Ue[0];return V(Qe),z=z.slice(Qe.length),Ue}}function ie(){Y(u)}function oe(ze){var Ue;for(ze=ze||[];Ue=pe();)Ue!==!1&&ze.push(Ue);return ze}function pe(){var ze=U();if(!(A!=z.charAt(0)||C!=z.charAt(1))){for(var Ue=2;w!=z.charAt(Ue)&&(C!=z.charAt(Ue)||A!=z.charAt(Ue+1));)++Ue;if(Ue+=2,w===z.charAt(Ue-1))return j("End of comment missing");var Qe=z.slice(2,Ue-2);return X+=2,V(Qe),z=z.slice(Ue),X+=2,ze({type:M,comment:Qe})}}function ve(){var ze=U(),Ue=Y(f);if(Ue){if(pe(),!Y(p))return j("property missing ':'");var Qe=Y(v),ee=ze({type:L,property:B(Ue[0].replace(n,w)),value:Qe?B(Qe[0].replace(n,w)):w});return Y(g),ee}}function _e(){var ze=[];oe(ze);for(var Ue;Ue=ve();)Ue!==!1&&(ze.push(Ue),oe(ze));return ze}return ie(),_e()};function B(z){return z?z.replace(E,w):w}return Cx}var Zw;function N8(){if(Zw)return ng;Zw=1;var n=ng&&ng.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(ng,"__esModule",{value:!0}),ng.default=u;var l=n(M8());function u(f,p){var v=null;if(!f||typeof f!="string")return v;var g=(0,l.default)(f),E=typeof p=="function";return g.forEach(function(S){if(S.type==="declaration"){var A=S.property,C=S.value;E?p(A,C,S):C&&(v=v||{},v[A]=C)}}),v}return ng}var t1={},Kw;function B8(){if(Kw)return t1;Kw=1,Object.defineProperty(t1,"__esModule",{value:!0}),t1.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,l=/-([a-z])/g,u=/^[^-]+$/,f=/^-(webkit|moz|ms|o|khtml)-/,p=/^-(ms)-/,v=function(A){return!A||u.test(A)||n.test(A)},g=function(A,C){return C.toUpperCase()},E=function(A,C){return"".concat(C,"-")},S=function(A,C){return C===void 0&&(C={}),v(A)?A:(A=A.toLowerCase(),C.reactCompat?A=A.replace(p,E):A=A.replace(f,E),A.replace(l,g))};return t1.camelCase=S,t1}var n1,Jw;function L8(){if(Jw)return n1;Jw=1;var n=n1&&n1.__importDefault||function(p){return p&&p.__esModule?p:{default:p}},l=n(N8()),u=B8();function f(p,v){var g={};return!p||typeof p!="string"||(0,l.default)(p,function(E,S){E&&S&&(g[(0,u.camelCase)(E,v)]=S)}),g}return f.default=f,n1=f,n1}var Ww;function eO(){return Ww||(Ww=1,function(n){var l=e1&&e1.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(n,"__esModule",{value:!0}),n.returnFirstArg=n.canTextBeChildOfNode=n.ELEMENTS_WITH_NO_TEXT_CHILDREN=n.PRESERVE_CUSTOM_ATTRIBUTES=void 0,n.isCustomComponent=v,n.setStyleProp=E;var u=q,f=l(L8()),p=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function v(C,w){return C.includes("-")?!p.has(C):!!(w&&typeof w.is=="string")}var g={reactCompat:!0};function E(C,w){if(typeof C=="string"){if(!C.trim()){w.style={};return}try{w.style=(0,f.default)(C,g)}catch{w.style={}}}}n.PRESERVE_CUSTOM_ATTRIBUTES=Number(u.version.split(".")[0])>=16,n.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var S=function(C){return!n.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(C.name)};n.canTextBeChildOfNode=S;var A=function(C){return C};n.returnFirstArg=A}(e1)),e1}var tO;function nO(){if(tO)return Qb;tO=1,Object.defineProperty(Qb,"__esModule",{value:!0}),Qb.default=v;var n=R8(),l=eO(),u=["checked","value"],f=["input","select","textarea"],p={reset:!0,submit:!0};function v(E,S){E===void 0&&(E={});var A={},C=!!(E.type&&p[E.type]);for(var w in E){var M=E[w];if((0,n.isCustomAttribute)(w)){A[w]=M;continue}var L=w.toLowerCase(),B=g(L);if(B){var z=(0,n.getPropertyInfo)(B);switch(u.includes(B)&&f.includes(S)&&!C&&(B=g("default"+L)),A[B]=M,z&&z.type){case n.BOOLEAN:A[B]=!0;break;case n.OVERLOADED_BOOLEAN:M===""&&(A[B]=!0);break}continue}l.PRESERVE_CUSTOM_ATTRIBUTES&&(A[w]=M)}return(0,l.setStyleProp)(E.style,A),A}function g(E){return n.possibleStandardNames[E]}return Qb}var ag={},aO;function z8(){if(aO)return ag;aO=1;var n=ag&&ag.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(ag,"__esModule",{value:!0}),ag.default=v;var l=q,u=n(nO()),f=eO(),p={cloneElement:l.cloneElement,createElement:l.createElement,isValidElement:l.isValidElement};function v(E,S){S===void 0&&(S={});for(var A=[],C=typeof S.replace=="function",w=S.transform||f.returnFirstArg,M=S.library||p,L=M.cloneElement,B=M.createElement,z=M.isValidElement,O=E.length,I=0;I<O;I++){var X=E[I];if(C){var V=S.replace(X,I);if(z(V)){O>1&&(V=L(V,{key:V.key||I})),A.push(w(V,X,I));continue}}if(X.type==="text"){var U=!X.data.trim().length;if(U&&X.parent&&!(0,f.canTextBeChildOfNode)(X.parent)||S.trim&&U)continue;A.push(w(X.data,X,I));continue}var D=X,j={};g(D)?((0,f.setStyleProp)(D.attribs.style,D.attribs),j=D.attribs):D.attribs&&(j=(0,u.default)(D.attribs,D.name));var Y=void 0;switch(X.type){case"script":case"style":X.children[0]&&(j.dangerouslySetInnerHTML={__html:X.children[0].data});break;case"tag":X.name==="textarea"&&X.children[0]?j.defaultValue=X.children[0].data:X.children&&X.children.length&&(Y=v(X.children,S));break;default:continue}O>1&&(j.key=I),A.push(w(B(X.name,j,Y),X,I))}return A.length===1?A[0]:A}function g(E){return f.PRESERVE_CUSTOM_ATTRIBUTES&&E.type==="tag"&&(0,f.isCustomComponent)(E.name,E.attribs)}return ag}var rO;function U8(){return rO||(rO=1,function(n){var l=Jy&&Jy.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(n,"__esModule",{value:!0}),n.htmlToDOM=n.domToReact=n.attributesToProps=n.Text=n.ProcessingInstruction=n.Element=n.Comment=void 0,n.default=E;var u=l(D8());n.htmlToDOM=u.default;var f=l(nO());n.attributesToProps=f.default;var p=l(z8());n.domToReact=p.default;var v=Fw();Object.defineProperty(n,"Comment",{enumerable:!0,get:function(){return v.Comment}}),Object.defineProperty(n,"Element",{enumerable:!0,get:function(){return v.Element}}),Object.defineProperty(n,"ProcessingInstruction",{enumerable:!0,get:function(){return v.ProcessingInstruction}}),Object.defineProperty(n,"Text",{enumerable:!0,get:function(){return v.Text}});var g={lowerCaseAttributeNames:!1};function E(S,A){if(typeof S!="string")throw new TypeError("First argument must be a string");return S?(0,p.default)((0,u.default)(S,(A==null?void 0:A.htmlparser2)||g),A):[]}}(Jy)),Jy}var H8=U8();const iO=my(H8),j8=iO.default||iO,k8=["abbr","acronym","b","blockquote","br","caption","code","div","em","h1","h2","h3","h4","h5","h6","i","li","ol","p","span","sup","strong","table","tbody","td","tfoot","th","thead","tr","ul"],q8=({props:n})=>{const l=q.useContext(ua),u=q.useContext(Aa),f=ca({valueToEvaluate:n.content,templateContext:l,globalDataContext:u}),v=[...Array.isArray(n.htmlTagAllowList)?n.htmlTagAllowList:k8,...n.additionalAllowedTags??[]];return te.jsx(Ci,{...n,children:j8(f,{replace(g){if(g.type==="tag"&&v.indexOf(g.name)<0)return te.jsx(te.Fragment,{})}})})},F8=({props:n})=>{var u,f;const l=q.useContext(ua);return te.jsx(Ci,{...n,children:(f=(u=l.sortableTreeData)._treeAddCollapseButton)==null?void 0:f.call(u)})},Y8=({currentData:n,path:l,props:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),v=$s(u.attributes);return te.jsx(Ci,{...u,children:te.jsx(jC,{...v,children:Array.isArray(u.tabs)&&u.tabs.map((g,E)=>{var A;const S=$m({attrs:g.attributes,globalDataContext:f,templateContext:p,options:{normalizeBeforeEvaluation:!0}});return q.createElement(U6,{...S,key:E},te.jsx(Ra,{currentData:((A=n==null?void 0:n[E])==null?void 0:A.content)??void 0,datafield:"content",path:(l??"")+"."+E+".content",props:g==null?void 0:g.content}))})})})};function G8({props:n,currentData:l,path:u,bsComponent:f}){var g;const p=$s(n.attributes);if((g=n.attributes)!=null&&g["data-visually-hidden"])debugger;if(!f)return null;const v=f;return te.jsx(Ci,{...n,children:te.jsx(v,{...p,children:n.content&&te.jsx(Ra,{currentData:l.content??void 0,datafield:"content",path:u+".content",props:n.content})})})}const wx=(n,...l)=>l.length?wx(n=n.replace(wx.token||"$token",l.shift()),...l):n,I8=({templateContexts:n},l,...u)=>{const f=u.map(p=>ca({globalDataContext:n.globalDataContext,templateContext:n.templateContext,valueToEvaluate:p}));return wx(l,...f)},V8=(n,l)=>{if(typeof l=="string")return l;if(Array.isArray(l)){const[u,...f]=l;return I8(n,u,...f)}return""},X8=({props:n})=>{const l=q.useContext(Aa),u=q.useContext(ua),{context:f="global",jsonPathPattern:p}=n,v=f==="template"?ua:Aa,g=q.useContext(v);if(!p)return null;const E=V8({templateContexts:{globalDataContext:l,templateContext:u}},p),S=f==="root"?g.getRootContext().templateData:g.templateData;return qC.query(S,E).length},$8=n=>{var E,S;const l=q.useContext(Aa),u=q.useContext(ua),f={globalDataContext:l,templateContext:u},{contextToFilter:p="global",filters:v=[]}=n.props,g=A=>{if(!A)return!0;for(const C of v){const w=(C==null?void 0:C.subjectsWithProperty)??void 0;if(!w||!A.hasOwnProperty(w))continue;if(!Zv(C,f,new Map([["whenFilterableData",({condition:L})=>{const z=L.whenFilterableData.split(".");let O=A;for(const I of z){const X=parseInt(I);if(O=O[isNaN(X)?I:X],O===void 0)return}return O}]])))return!1}return!0};switch(p){case"template":return u.templateData=Zb(u.templateData,g),u.templatePath=n.path,te.jsx(ua.Provider,{value:u,children:te.jsx(Ra,{props:n.props.content,path:n.path+".content",datafield:"content",currentData:((E=n.currentData)==null?void 0:E.content)??void 0})});case"global":default:return l.templateData=Zb(l.templateData,g),te.jsx(Aa.Provider,{value:l,children:te.jsx(Ra,{props:n.props.content,path:n.path+".content",datafield:"content",currentData:((S=n.currentData)==null?void 0:S.content)??void 0})})}},Zb=(n,l)=>{if(Array.isArray(n)){const u={};return n.forEach((f,p)=>{l(f)&&(u[p]=Zb(f,l))}),u}else if(typeof n=="object"&&n!==null){const u={};for(const f in n)if(n.hasOwnProperty(f)){if(!l(n[f]))continue;u[f]=Zb(n[f],l)}return u}else return n},P8=({props:n,currentData:l,path:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),v=Array.isArray(n.delayedActions)?n.delayedActions:[],g={globalDataContext:f,templateContext:p};return q.useEffect(()=>{if(!n.interval)return;const E=setInterval(()=>{const S=Q8(v,g);for(let A=0;A<S.length;++A){const C=S[A];if(!C)continue;const w=C.what&&(jv[C.what]??null);w&&w({args:C,globalDataContext:f,templateContext:p})}n.once&&clearInterval(E)},n.interval);return()=>clearInterval(E)},[f,p]),te.jsx(Ci,{...n,children:n.content&&te.jsx(Ra,{props:n.content,currentData:(l==null?void 0:l.content)??void 0,datafield:"content",path:u+".content"})})},Q8=(n,l)=>{const u=[];if(!Array.isArray(n))return u;for(const[,f]of n.entries()){const p=(f==null?void 0:f.what)??void 0;!p||!(jv[p]??void 0)||Zv(f,l)&&u.push(f)}return u},lO=q.createContext({pagination:{}}),Z8=()=>{const{pagination:n}=q.useContext(lO);return n.PageControls?te.jsx(n.PageControls,{}):null},K8=({props:n,currentData:l,path:u})=>te.jsx(Ci,{...n,children:n.content&&te.jsx(Ra,{props:n.content,currentData:(l==null?void 0:l.content)??void 0,datafield:"content",path:u+".content"})}),J8=({dataToPaginate:n=[],forcePaginationDisplay:l=!1,maxPageButtonsCount:u=5,pageMaxItemCount:f=10})=>{const[p,v]=q.useState(0),g=Math.floor(u/2),E=p*f,S=E+f,A=M=>Math.ceil(M.length/f);return{firstShownItemIndex:E,getPageCountForContent:A,maxShownItemIndexExcluded:S,PageControls:()=>{const M=A(n);return!l&&M<=1?null:te.jsxs($h,{children:[te.jsx($h.First,{disabled:p<=0,onClick:()=>{v(0)}}),te.jsx($h.Prev,{disabled:p<=0,onClick:()=>{v(p-1)}}),Math.min(p-g,M-u)>0?te.jsx($h.Ellipsis,{disabled:!0}):null,(()=>{const L=[];let B=Math.min(Math.max(0,M-u),Math.max(0,p-g)),z=u;const O=(I,X)=>{L.push(te.jsx($h.Item,{active:p===I,onClick:()=>{v(I)},children:I+1},u-X))};for(;z&&(O(B,z),++B,--z,!(B>=M)););return L})(),M>Math.max(g,p)+Math.ceil(u/2)?te.jsx($h.Ellipsis,{disabled:!0}):null,te.jsx($h.Next,{disabled:p+1>=M,onClick:()=>{v(p+1)}}),te.jsx($h.Last,{disabled:p+1>=M,onClick:()=>{v(M-1)}})]})},pageMaxItemCount:f,sliceVisibleContent:M=>Array.isArray(M)?M.slice(E,S):M}},W8=({props:n,currentData:l,path:u})=>{const f=q.useContext(Aa),p=q.useContext(ua),v=(n==null?void 0:n.cardinality)??-1,g=(n==null?void 0:n.options)??[],E=(n==null?void 0:n.singleOption)??void 0,S=!!E,A=(n==null?void 0:n.content)??null,C=A&&ca({globalDataContext:f,templateContext:p,valueToEvaluate:A}),M=Object.entries(typeof C=="object"?C:l).map(([O,I])=>{const X=O;if(v>=1&&X>=v||!I||typeof I!="object")return null;let V,U,D;if(S)U=I,D=E;else{if(V=Object.keys(I)[0]??void 0,V===void 0)return null;U=Object.values(I)[0]??void 0,D=g[V]??void 0}if(D===void 0)return null;let j=(nx(A)&&Wo({dataLocation:A,currentPath:p.templatePath,globalDataContext:f,templateContext:p})||u)+"."+X;return S||(j+="."+V),te.jsx(Ra,{currentData:U,datafield:X,path:j,props:D},X)}),L=J8({dataToPaginate:M,...(n==null?void 0:n.paginationProps)??{}}),B=n!=null&&n.paginated?M.slice(L.firstShownItemIndex,L.maxShownItemIndexExcluded):M,z=te.jsxs(te.Fragment,{children:[(n==null?void 0:n.before)&&te.jsx(Ra,{currentData:(l==null?void 0:l.before)??void 0,path:u+".before",datafield:"before",props:n==null?void 0:n.before}),B,(n==null?void 0:n.after)&&te.jsx(Ra,{currentData:(l==null?void 0:l.after)??void 0,path:u+".after",datafield:"after",props:n==null?void 0:n.after})]});return te.jsx(Ci,{...n,children:n!=null&&n.paginated?te.jsx(lO.Provider,{value:{pagination:L},children:z}):z})};function Ra({props:n,currentData:l,datafield:u,path:f}){const p=q.useContext(Aa),v=q.useContext(ua),g=p.plugins??{element:{Azerty:qy}},E={element:{Qsdfgh:qy}},S={AccordionItem:aN,CheckBoxField:Q6,Count:X8,DateField:W6,DataFilter:$8,DelayedActions:P8,FolderSortableTree:S8,FormatNumeral:x8,Html:qy,LabelFromValue:A8,Modal:T8,NumberField:eN,PageControls:Z8,Paragraph:C8,Phantom:K8,PreformattedMarkup:q8,SelectField:tN,SortableTreeItemCollapseButton:F8,Switch:W8,Tabs:Y8,TextAreaField:FC,TextField:nN,...g==null?void 0:g.element,...E==null?void 0:E.element,Ijiji:FC},A={BsAccordion:gb,BsAlert:uM,BsBadge:M2,BsButton:N2},{element:C}=p;if(l===void 0&&(l=""),n!=null&&n.type){let w,M;const L=[{registryId:"module",components:S},{registryId:"bootstrap",components:A}];for(;L.length;){const{registryId:B,components:z}=L.shift();if(M=z[n.type]??void 0,M!==void 0){w=B;break}}return M===void 0&&(M=qy,w="module"),w==="bootstrap"?te.jsx(G8,{bsComponent:M,path:f,props:n,currentData:l,datafield:u}):(qy===M&&(n.tag=n.tag??n.type),te.jsx(M,{path:f,props:n,currentData:l,datafield:u}))}if(n!=null&&n.load){let w;const M=(n==null?void 0:n.customDataLocation)??void 0;if(M)debugger;const L=M?ca({globalDataContext:p,templateContext:v,valueToEvaluate:M}):l,B=M?Wo({dataLocation:M,currentPath:f,globalDataContext:p,templateContext:v}):f;typeof n.load=="function"?w=n.load(L):w=C[n.load];const{load:z,customDataLocation:O,...I}=n;return w={...w,...I},n.keepTemplateContext?te.jsx(Ra,{currentData:L,datafield:u,path:B,props:w}):te.jsx(ua.Provider,{value:{templateData:L,templatePath:B},children:te.jsx(Ra,{currentData:L,datafield:u,path:B,props:w})})}return Array.isArray(n)?n.map((w,M)=>te.jsx(Ra,{currentData:l[M]??void 0,datafield:M,path:f+"."+M,props:w??void 0},f+"."+M)):typeof n=="object"?Object.entries(n).map(([w,M])=>te.jsx(Ra,{currentData:l[w]??void 0,datafield:w??void 0,path:f+"."+w,props:M},f+"."+w)):te.jsx(P6,{valueToEvaluate:l||(n??null)})}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function uO(n){return typeof n>"u"||n===null}function e9(n){return typeof n=="object"&&n!==null}function t9(n){return Array.isArray(n)?n:uO(n)?[]:[n]}function n9(n,l){var u,f,p,v;if(l)for(v=Object.keys(l),u=0,f=v.length;u<f;u+=1)p=v[u],n[p]=l[p];return n}function a9(n,l){var u="",f;for(f=0;f<l;f+=1)u+=n;return u}function r9(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var i9=uO,l9=e9,u9=t9,o9=a9,s9=r9,c9=n9,Vl={isNothing:i9,isObject:l9,toArray:u9,repeat:o9,isNegativeZero:s9,extend:c9};function oO(n,l){var u="",f=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(u+='in "'+n.mark.name+'" '),u+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!l&&n.mark.snippet&&(u+=`
|
|
101
|
-
|
|
102
|
-
`+n.mark.snippet),f+" "+u):f}function a1(n,l){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=l,this.message=oO(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}a1.prototype=Object.create(Error.prototype),a1.prototype.constructor=a1,a1.prototype.toString=function(l){return this.name+": "+oO(this,l)};var xd=a1;function Ox(n,l,u,f,p){var v="",g="",E=Math.floor(p/2)-1;return f-l>E&&(v=" ... ",l=f-E+v.length),u-f>E&&(g=" ...",u=f+E-g.length),{str:v+n.slice(l,u).replace(/\t/g,"→")+g,pos:f-l+v.length}}function Dx(n,l){return Vl.repeat(" ",l-n.length)+n}function f9(n,l){if(l=Object.create(l||null),!n.buffer)return null;l.maxLength||(l.maxLength=79),typeof l.indent!="number"&&(l.indent=1),typeof l.linesBefore!="number"&&(l.linesBefore=3),typeof l.linesAfter!="number"&&(l.linesAfter=2);for(var u=/\r?\n|\r|\0/g,f=[0],p=[],v,g=-1;v=u.exec(n.buffer);)p.push(v.index),f.push(v.index+v[0].length),n.position<=v.index&&g<0&&(g=f.length-2);g<0&&(g=f.length-1);var E="",S,A,C=Math.min(n.line+l.linesAfter,p.length).toString().length,w=l.maxLength-(l.indent+C+3);for(S=1;S<=l.linesBefore&&!(g-S<0);S++)A=Ox(n.buffer,f[g-S],p[g-S],n.position-(f[g]-f[g-S]),w),E=Vl.repeat(" ",l.indent)+Dx((n.line-S+1).toString(),C)+" | "+A.str+`
|
|
103
|
-
`+E;for(A=Ox(n.buffer,f[g],p[g],n.position,w),E+=Vl.repeat(" ",l.indent)+Dx((n.line+1).toString(),C)+" | "+A.str+`
|
|
104
|
-
`,E+=Vl.repeat("-",l.indent+C+3+A.pos)+`^
|
|
105
|
-
`,S=1;S<=l.linesAfter&&!(g+S>=p.length);S++)A=Ox(n.buffer,f[g+S],p[g+S],n.position-(f[g]-f[g+S]),w),E+=Vl.repeat(" ",l.indent)+Dx((n.line+S+1).toString(),C)+" | "+A.str+`
|
|
106
|
-
`;return E.replace(/\n$/,"")}var d9=f9,h9=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],p9=["scalar","sequence","mapping"];function m9(n){var l={};return n!==null&&Object.keys(n).forEach(function(u){n[u].forEach(function(f){l[String(f)]=u})}),l}function v9(n,l){if(l=l||{},Object.keys(l).forEach(function(u){if(h9.indexOf(u)===-1)throw new xd('Unknown option "'+u+'" is met in definition of "'+n+'" YAML type.')}),this.options=l,this.tag=n,this.kind=l.kind||null,this.resolve=l.resolve||function(){return!0},this.construct=l.construct||function(u){return u},this.instanceOf=l.instanceOf||null,this.predicate=l.predicate||null,this.represent=l.represent||null,this.representName=l.representName||null,this.defaultStyle=l.defaultStyle||null,this.multi=l.multi||!1,this.styleAliases=m9(l.styleAliases||null),p9.indexOf(this.kind)===-1)throw new xd('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var vl=v9;function sO(n,l){var u=[];return n[l].forEach(function(f){var p=u.length;u.forEach(function(v,g){v.tag===f.tag&&v.kind===f.kind&&v.multi===f.multi&&(p=g)}),u[p]=f}),u}function g9(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},l,u;function f(p){p.multi?(n.multi[p.kind].push(p),n.multi.fallback.push(p)):n[p.kind][p.tag]=n.fallback[p.tag]=p}for(l=0,u=arguments.length;l<u;l+=1)arguments[l].forEach(f);return n}function _x(n){return this.extend(n)}_x.prototype.extend=function(l){var u=[],f=[];if(l instanceof vl)f.push(l);else if(Array.isArray(l))f=f.concat(l);else if(l&&(Array.isArray(l.implicit)||Array.isArray(l.explicit)))l.implicit&&(u=u.concat(l.implicit)),l.explicit&&(f=f.concat(l.explicit));else throw new xd("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");u.forEach(function(v){if(!(v instanceof vl))throw new xd("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(v.loadKind&&v.loadKind!=="scalar")throw new xd("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(v.multi)throw new xd("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),f.forEach(function(v){if(!(v instanceof vl))throw new xd("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var p=Object.create(_x.prototype);return p.implicit=(this.implicit||[]).concat(u),p.explicit=(this.explicit||[]).concat(f),p.compiledImplicit=sO(p,"implicit"),p.compiledExplicit=sO(p,"explicit"),p.compiledTypeMap=g9(p.compiledImplicit,p.compiledExplicit),p};var y9=_x,b9=new vl("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),S9=new vl("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),E9=new vl("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),x9=new y9({explicit:[b9,S9,E9]});function A9(n){if(n===null)return!0;var l=n.length;return l===1&&n==="~"||l===4&&(n==="null"||n==="Null"||n==="NULL")}function T9(){return null}function C9(n){return n===null}var w9=new vl("tag:yaml.org,2002:null",{kind:"scalar",resolve:A9,construct:T9,predicate:C9,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function O9(n){if(n===null)return!1;var l=n.length;return l===4&&(n==="true"||n==="True"||n==="TRUE")||l===5&&(n==="false"||n==="False"||n==="FALSE")}function D9(n){return n==="true"||n==="True"||n==="TRUE"}function _9(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var R9=new vl("tag:yaml.org,2002:bool",{kind:"scalar",resolve:O9,construct:D9,predicate:_9,represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function M9(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function N9(n){return 48<=n&&n<=55}function B9(n){return 48<=n&&n<=57}function L9(n){if(n===null)return!1;var l=n.length,u=0,f=!1,p;if(!l)return!1;if(p=n[u],(p==="-"||p==="+")&&(p=n[++u]),p==="0"){if(u+1===l)return!0;if(p=n[++u],p==="b"){for(u++;u<l;u++)if(p=n[u],p!=="_"){if(p!=="0"&&p!=="1")return!1;f=!0}return f&&p!=="_"}if(p==="x"){for(u++;u<l;u++)if(p=n[u],p!=="_"){if(!M9(n.charCodeAt(u)))return!1;f=!0}return f&&p!=="_"}if(p==="o"){for(u++;u<l;u++)if(p=n[u],p!=="_"){if(!N9(n.charCodeAt(u)))return!1;f=!0}return f&&p!=="_"}}if(p==="_")return!1;for(;u<l;u++)if(p=n[u],p!=="_"){if(!B9(n.charCodeAt(u)))return!1;f=!0}return!(!f||p==="_")}function z9(n){var l=n,u=1,f;if(l.indexOf("_")!==-1&&(l=l.replace(/_/g,"")),f=l[0],(f==="-"||f==="+")&&(f==="-"&&(u=-1),l=l.slice(1),f=l[0]),l==="0")return 0;if(f==="0"){if(l[1]==="b")return u*parseInt(l.slice(2),2);if(l[1]==="x")return u*parseInt(l.slice(2),16);if(l[1]==="o")return u*parseInt(l.slice(2),8)}return u*parseInt(l,10)}function U9(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!Vl.isNegativeZero(n)}var H9=new vl("tag:yaml.org,2002:int",{kind:"scalar",resolve:L9,construct:z9,predicate:U9,represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),j9=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function k9(n){return!(n===null||!j9.test(n)||n[n.length-1]==="_")}function q9(n){var l,u;return l=n.replace(/_/g,"").toLowerCase(),u=l[0]==="-"?-1:1,"+-".indexOf(l[0])>=0&&(l=l.slice(1)),l===".inf"?u===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:l===".nan"?NaN:u*parseFloat(l,10)}var F9=/^[-+]?[0-9]+e/;function Y9(n,l){var u;if(isNaN(n))switch(l){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(l){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(l){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Vl.isNegativeZero(n))return"-0.0";return u=n.toString(10),F9.test(u)?u.replace("e",".e"):u}function G9(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||Vl.isNegativeZero(n))}var I9=new vl("tag:yaml.org,2002:float",{kind:"scalar",resolve:k9,construct:q9,predicate:G9,represent:Y9,defaultStyle:"lowercase"}),V9=x9.extend({implicit:[w9,R9,H9,I9]}),X9=V9,cO=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),fO=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function $9(n){return n===null?!1:cO.exec(n)!==null||fO.exec(n)!==null}function P9(n){var l,u,f,p,v,g,E,S=0,A=null,C,w,M;if(l=cO.exec(n),l===null&&(l=fO.exec(n)),l===null)throw new Error("Date resolve error");if(u=+l[1],f=+l[2]-1,p=+l[3],!l[4])return new Date(Date.UTC(u,f,p));if(v=+l[4],g=+l[5],E=+l[6],l[7]){for(S=l[7].slice(0,3);S.length<3;)S+="0";S=+S}return l[9]&&(C=+l[10],w=+(l[11]||0),A=(C*60+w)*6e4,l[9]==="-"&&(A=-A)),M=new Date(Date.UTC(u,f,p,v,g,E,S)),A&&M.setTime(M.getTime()-A),M}function Q9(n){return n.toISOString()}var Z9=new vl("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:$9,construct:P9,instanceOf:Date,represent:Q9});function K9(n){return n==="<<"||n===null}var J9=new vl("tag:yaml.org,2002:merge",{kind:"scalar",resolve:K9}),Rx=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
107
|
-
\r`;function W9(n){if(n===null)return!1;var l,u,f=0,p=n.length,v=Rx;for(u=0;u<p;u++)if(l=v.indexOf(n.charAt(u)),!(l>64)){if(l<0)return!1;f+=6}return f%8===0}function e7(n){var l,u,f=n.replace(/[\r\n=]/g,""),p=f.length,v=Rx,g=0,E=[];for(l=0;l<p;l++)l%4===0&&l&&(E.push(g>>16&255),E.push(g>>8&255),E.push(g&255)),g=g<<6|v.indexOf(f.charAt(l));return u=p%4*6,u===0?(E.push(g>>16&255),E.push(g>>8&255),E.push(g&255)):u===18?(E.push(g>>10&255),E.push(g>>2&255)):u===12&&E.push(g>>4&255),new Uint8Array(E)}function t7(n){var l="",u=0,f,p,v=n.length,g=Rx;for(f=0;f<v;f++)f%3===0&&f&&(l+=g[u>>18&63],l+=g[u>>12&63],l+=g[u>>6&63],l+=g[u&63]),u=(u<<8)+n[f];return p=v%3,p===0?(l+=g[u>>18&63],l+=g[u>>12&63],l+=g[u>>6&63],l+=g[u&63]):p===2?(l+=g[u>>10&63],l+=g[u>>4&63],l+=g[u<<2&63],l+=g[64]):p===1&&(l+=g[u>>2&63],l+=g[u<<4&63],l+=g[64],l+=g[64]),l}function n7(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var a7=new vl("tag:yaml.org,2002:binary",{kind:"scalar",resolve:W9,construct:e7,predicate:n7,represent:t7}),r7=Object.prototype.hasOwnProperty,i7=Object.prototype.toString;function l7(n){if(n===null)return!0;var l=[],u,f,p,v,g,E=n;for(u=0,f=E.length;u<f;u+=1){if(p=E[u],g=!1,i7.call(p)!=="[object Object]")return!1;for(v in p)if(r7.call(p,v))if(!g)g=!0;else return!1;if(!g)return!1;if(l.indexOf(v)===-1)l.push(v);else return!1}return!0}function u7(n){return n!==null?n:[]}var o7=new vl("tag:yaml.org,2002:omap",{kind:"sequence",resolve:l7,construct:u7}),s7=Object.prototype.toString;function c7(n){if(n===null)return!0;var l,u,f,p,v,g=n;for(v=new Array(g.length),l=0,u=g.length;l<u;l+=1){if(f=g[l],s7.call(f)!=="[object Object]"||(p=Object.keys(f),p.length!==1))return!1;v[l]=[p[0],f[p[0]]]}return!0}function f7(n){if(n===null)return[];var l,u,f,p,v,g=n;for(v=new Array(g.length),l=0,u=g.length;l<u;l+=1)f=g[l],p=Object.keys(f),v[l]=[p[0],f[p[0]]];return v}var d7=new vl("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:c7,construct:f7}),h7=Object.prototype.hasOwnProperty;function p7(n){if(n===null)return!0;var l,u=n;for(l in u)if(h7.call(u,l)&&u[l]!==null)return!1;return!0}function m7(n){return n!==null?n:{}}var v7=new vl("tag:yaml.org,2002:set",{kind:"mapping",resolve:p7,construct:m7}),g7=X9.extend({implicit:[Z9,J9],explicit:[a7,o7,d7,v7]}),Qh=Object.prototype.hasOwnProperty,Kb=1,dO=2,hO=3,Jb=4,Mx=1,y7=2,pO=3,b7=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,S7=/[\x85\u2028\u2029]/,E7=/[,\[\]\{\}]/,mO=/^(?:!|!!|![a-z\-]+!)$/i,vO=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function gO(n){return Object.prototype.toString.call(n)}function Jc(n){return n===10||n===13}function Zm(n){return n===9||n===32}function Su(n){return n===9||n===32||n===10||n===13}function rg(n){return n===44||n===91||n===93||n===123||n===125}function x7(n){var l;return 48<=n&&n<=57?n-48:(l=n|32,97<=l&&l<=102?l-97+10:-1)}function A7(n){return n===120?2:n===117?4:n===85?8:0}function T7(n){return 48<=n&&n<=57?n-48:-1}function yO(n){return n===48?"\0":n===97?"\x07":n===98?"\b":n===116||n===9?" ":n===110?`
|
|
108
|
-
`:n===118?"\v":n===102?"\f":n===114?"\r":n===101?"\x1B":n===32?" ":n===34?'"':n===47?"/":n===92?"\\":n===78?"
":n===95?" ":n===76?"\u2028":n===80?"\u2029":""}function C7(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}for(var bO=new Array(256),SO=new Array(256),ig=0;ig<256;ig++)bO[ig]=yO(ig)?1:0,SO[ig]=yO(ig);function w7(n,l){this.input=n,this.filename=l.filename||null,this.schema=l.schema||g7,this.onWarning=l.onWarning||null,this.legacy=l.legacy||!1,this.json=l.json||!1,this.listener=l.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function EO(n,l){var u={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return u.snippet=d9(u),new xd(l,u)}function Dt(n,l){throw EO(n,l)}function Wb(n,l){n.onWarning&&n.onWarning.call(null,EO(n,l))}var xO={YAML:function(l,u,f){var p,v,g;l.version!==null&&Dt(l,"duplication of %YAML directive"),f.length!==1&&Dt(l,"YAML directive accepts exactly one argument"),p=/^([0-9]+)\.([0-9]+)$/.exec(f[0]),p===null&&Dt(l,"ill-formed argument of the YAML directive"),v=parseInt(p[1],10),g=parseInt(p[2],10),v!==1&&Dt(l,"unacceptable YAML version of the document"),l.version=f[0],l.checkLineBreaks=g<2,g!==1&&g!==2&&Wb(l,"unsupported YAML version of the document")},TAG:function(l,u,f){var p,v;f.length!==2&&Dt(l,"TAG directive accepts exactly two arguments"),p=f[0],v=f[1],mO.test(p)||Dt(l,"ill-formed tag handle (first argument) of the TAG directive"),Qh.call(l.tagMap,p)&&Dt(l,'there is a previously declared suffix for "'+p+'" tag handle'),vO.test(v)||Dt(l,"ill-formed tag prefix (second argument) of the TAG directive");try{v=decodeURIComponent(v)}catch{Dt(l,"tag prefix is malformed: "+v)}l.tagMap[p]=v}};function Zh(n,l,u,f){var p,v,g,E;if(l<u){if(E=n.input.slice(l,u),f)for(p=0,v=E.length;p<v;p+=1)g=E.charCodeAt(p),g===9||32<=g&&g<=1114111||Dt(n,"expected valid JSON character");else b7.test(E)&&Dt(n,"the stream contains non-printable characters");n.result+=E}}function AO(n,l,u,f){var p,v,g,E;for(Vl.isObject(u)||Dt(n,"cannot merge mappings; the provided source object is unacceptable"),p=Object.keys(u),g=0,E=p.length;g<E;g+=1)v=p[g],Qh.call(l,v)||(l[v]=u[v],f[v]=!0)}function lg(n,l,u,f,p,v,g,E,S){var A,C;if(Array.isArray(p))for(p=Array.prototype.slice.call(p),A=0,C=p.length;A<C;A+=1)Array.isArray(p[A])&&Dt(n,"nested arrays are not supported inside keys"),typeof p=="object"&&gO(p[A])==="[object Object]"&&(p[A]="[object Object]");if(typeof p=="object"&&gO(p)==="[object Object]"&&(p="[object Object]"),p=String(p),l===null&&(l={}),f==="tag:yaml.org,2002:merge")if(Array.isArray(v))for(A=0,C=v.length;A<C;A+=1)AO(n,l,v[A],u);else AO(n,l,v,u);else!n.json&&!Qh.call(u,p)&&Qh.call(l,p)&&(n.line=g||n.line,n.lineStart=E||n.lineStart,n.position=S||n.position,Dt(n,"duplicated mapping key")),p==="__proto__"?Object.defineProperty(l,p,{configurable:!0,enumerable:!0,writable:!0,value:v}):l[p]=v,delete u[p];return l}function Nx(n){var l;l=n.input.charCodeAt(n.position),l===10?n.position++:l===13?(n.position++,n.input.charCodeAt(n.position)===10&&n.position++):Dt(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function zr(n,l,u){for(var f=0,p=n.input.charCodeAt(n.position);p!==0;){for(;Zm(p);)p===9&&n.firstTabInLine===-1&&(n.firstTabInLine=n.position),p=n.input.charCodeAt(++n.position);if(l&&p===35)do p=n.input.charCodeAt(++n.position);while(p!==10&&p!==13&&p!==0);if(Jc(p))for(Nx(n),p=n.input.charCodeAt(n.position),f++,n.lineIndent=0;p===32;)n.lineIndent++,p=n.input.charCodeAt(++n.position);else break}return u!==-1&&f!==0&&n.lineIndent<u&&Wb(n,"deficient indentation"),f}function eS(n){var l=n.position,u;return u=n.input.charCodeAt(l),!!((u===45||u===46)&&u===n.input.charCodeAt(l+1)&&u===n.input.charCodeAt(l+2)&&(l+=3,u=n.input.charCodeAt(l),u===0||Su(u)))}function Bx(n,l){l===1?n.result+=" ":l>1&&(n.result+=Vl.repeat(`
|
|
109
|
-
`,l-1))}function O7(n,l,u){var f,p,v,g,E,S,A,C,w=n.kind,M=n.result,L;if(L=n.input.charCodeAt(n.position),Su(L)||rg(L)||L===35||L===38||L===42||L===33||L===124||L===62||L===39||L===34||L===37||L===64||L===96||(L===63||L===45)&&(p=n.input.charCodeAt(n.position+1),Su(p)||u&&rg(p)))return!1;for(n.kind="scalar",n.result="",v=g=n.position,E=!1;L!==0;){if(L===58){if(p=n.input.charCodeAt(n.position+1),Su(p)||u&&rg(p))break}else if(L===35){if(f=n.input.charCodeAt(n.position-1),Su(f))break}else{if(n.position===n.lineStart&&eS(n)||u&&rg(L))break;if(Jc(L))if(S=n.line,A=n.lineStart,C=n.lineIndent,zr(n,!1,-1),n.lineIndent>=l){E=!0,L=n.input.charCodeAt(n.position);continue}else{n.position=g,n.line=S,n.lineStart=A,n.lineIndent=C;break}}E&&(Zh(n,v,g,!1),Bx(n,n.line-S),v=g=n.position,E=!1),Zm(L)||(g=n.position+1),L=n.input.charCodeAt(++n.position)}return Zh(n,v,g,!1),n.result?!0:(n.kind=w,n.result=M,!1)}function D7(n,l){var u,f,p;if(u=n.input.charCodeAt(n.position),u!==39)return!1;for(n.kind="scalar",n.result="",n.position++,f=p=n.position;(u=n.input.charCodeAt(n.position))!==0;)if(u===39)if(Zh(n,f,n.position,!0),u=n.input.charCodeAt(++n.position),u===39)f=n.position,n.position++,p=n.position;else return!0;else Jc(u)?(Zh(n,f,p,!0),Bx(n,zr(n,!1,l)),f=p=n.position):n.position===n.lineStart&&eS(n)?Dt(n,"unexpected end of the document within a single quoted scalar"):(n.position++,p=n.position);Dt(n,"unexpected end of the stream within a single quoted scalar")}function _7(n,l){var u,f,p,v,g,E;if(E=n.input.charCodeAt(n.position),E!==34)return!1;for(n.kind="scalar",n.result="",n.position++,u=f=n.position;(E=n.input.charCodeAt(n.position))!==0;){if(E===34)return Zh(n,u,n.position,!0),n.position++,!0;if(E===92){if(Zh(n,u,n.position,!0),E=n.input.charCodeAt(++n.position),Jc(E))zr(n,!1,l);else if(E<256&&bO[E])n.result+=SO[E],n.position++;else if((g=A7(E))>0){for(p=g,v=0;p>0;p--)E=n.input.charCodeAt(++n.position),(g=x7(E))>=0?v=(v<<4)+g:Dt(n,"expected hexadecimal character");n.result+=C7(v),n.position++}else Dt(n,"unknown escape sequence");u=f=n.position}else Jc(E)?(Zh(n,u,f,!0),Bx(n,zr(n,!1,l)),u=f=n.position):n.position===n.lineStart&&eS(n)?Dt(n,"unexpected end of the document within a double quoted scalar"):(n.position++,f=n.position)}Dt(n,"unexpected end of the stream within a double quoted scalar")}function R7(n,l){var u=!0,f,p,v,g=n.tag,E,S=n.anchor,A,C,w,M,L,B=Object.create(null),z,O,I,X;if(X=n.input.charCodeAt(n.position),X===91)C=93,L=!1,E=[];else if(X===123)C=125,L=!0,E={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=E),X=n.input.charCodeAt(++n.position);X!==0;){if(zr(n,!0,l),X=n.input.charCodeAt(n.position),X===C)return n.position++,n.tag=g,n.anchor=S,n.kind=L?"mapping":"sequence",n.result=E,!0;u?X===44&&Dt(n,"expected the node content, but found ','"):Dt(n,"missed comma between flow collection entries"),O=z=I=null,w=M=!1,X===63&&(A=n.input.charCodeAt(n.position+1),Su(A)&&(w=M=!0,n.position++,zr(n,!0,l))),f=n.line,p=n.lineStart,v=n.position,ug(n,l,Kb,!1,!0),O=n.tag,z=n.result,zr(n,!0,l),X=n.input.charCodeAt(n.position),(M||n.line===f)&&X===58&&(w=!0,X=n.input.charCodeAt(++n.position),zr(n,!0,l),ug(n,l,Kb,!1,!0),I=n.result),L?lg(n,E,B,O,z,I,f,p,v):w?E.push(lg(n,null,B,O,z,I,f,p,v)):E.push(z),zr(n,!0,l),X=n.input.charCodeAt(n.position),X===44?(u=!0,X=n.input.charCodeAt(++n.position)):u=!1}Dt(n,"unexpected end of the stream within a flow collection")}function M7(n,l){var u,f,p=Mx,v=!1,g=!1,E=l,S=0,A=!1,C,w;if(w=n.input.charCodeAt(n.position),w===124)f=!1;else if(w===62)f=!0;else return!1;for(n.kind="scalar",n.result="";w!==0;)if(w=n.input.charCodeAt(++n.position),w===43||w===45)Mx===p?p=w===43?pO:y7:Dt(n,"repeat of a chomping mode identifier");else if((C=T7(w))>=0)C===0?Dt(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):g?Dt(n,"repeat of an indentation width identifier"):(E=l+C-1,g=!0);else break;if(Zm(w)){do w=n.input.charCodeAt(++n.position);while(Zm(w));if(w===35)do w=n.input.charCodeAt(++n.position);while(!Jc(w)&&w!==0)}for(;w!==0;){for(Nx(n),n.lineIndent=0,w=n.input.charCodeAt(n.position);(!g||n.lineIndent<E)&&w===32;)n.lineIndent++,w=n.input.charCodeAt(++n.position);if(!g&&n.lineIndent>E&&(E=n.lineIndent),Jc(w)){S++;continue}if(n.lineIndent<E){p===pO?n.result+=Vl.repeat(`
|
|
110
|
-
`,v?1+S:S):p===Mx&&v&&(n.result+=`
|
|
111
|
-
`);break}for(f?Zm(w)?(A=!0,n.result+=Vl.repeat(`
|
|
112
|
-
`,v?1+S:S)):A?(A=!1,n.result+=Vl.repeat(`
|
|
113
|
-
`,S+1)):S===0?v&&(n.result+=" "):n.result+=Vl.repeat(`
|
|
114
|
-
`,S):n.result+=Vl.repeat(`
|
|
115
|
-
`,v?1+S:S),v=!0,g=!0,S=0,u=n.position;!Jc(w)&&w!==0;)w=n.input.charCodeAt(++n.position);Zh(n,u,n.position,!1)}return!0}function TO(n,l){var u,f=n.tag,p=n.anchor,v=[],g,E=!1,S;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=v),S=n.input.charCodeAt(n.position);S!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Dt(n,"tab characters must not be used in indentation")),!(S!==45||(g=n.input.charCodeAt(n.position+1),!Su(g))));){if(E=!0,n.position++,zr(n,!0,-1)&&n.lineIndent<=l){v.push(null),S=n.input.charCodeAt(n.position);continue}if(u=n.line,ug(n,l,hO,!1,!0),v.push(n.result),zr(n,!0,-1),S=n.input.charCodeAt(n.position),(n.line===u||n.lineIndent>l)&&S!==0)Dt(n,"bad indentation of a sequence entry");else if(n.lineIndent<l)break}return E?(n.tag=f,n.anchor=p,n.kind="sequence",n.result=v,!0):!1}function N7(n,l,u){var f,p,v,g,E,S,A=n.tag,C=n.anchor,w={},M=Object.create(null),L=null,B=null,z=null,O=!1,I=!1,X;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=w),X=n.input.charCodeAt(n.position);X!==0;){if(!O&&n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Dt(n,"tab characters must not be used in indentation")),f=n.input.charCodeAt(n.position+1),v=n.line,(X===63||X===58)&&Su(f))X===63?(O&&(lg(n,w,M,L,B,null,g,E,S),L=B=z=null),I=!0,O=!0,p=!0):O?(O=!1,p=!0):Dt(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,X=f;else{if(g=n.line,E=n.lineStart,S=n.position,!ug(n,u,dO,!1,!0))break;if(n.line===v){for(X=n.input.charCodeAt(n.position);Zm(X);)X=n.input.charCodeAt(++n.position);if(X===58)X=n.input.charCodeAt(++n.position),Su(X)||Dt(n,"a whitespace character is expected after the key-value separator within a block mapping"),O&&(lg(n,w,M,L,B,null,g,E,S),L=B=z=null),I=!0,O=!1,p=!1,L=n.tag,B=n.result;else if(I)Dt(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=A,n.anchor=C,!0}else if(I)Dt(n,"can not read a block mapping entry; a multiline key may not be an implicit key");else return n.tag=A,n.anchor=C,!0}if((n.line===v||n.lineIndent>l)&&(O&&(g=n.line,E=n.lineStart,S=n.position),ug(n,l,Jb,!0,p)&&(O?B=n.result:z=n.result),O||(lg(n,w,M,L,B,z,g,E,S),L=B=z=null),zr(n,!0,-1),X=n.input.charCodeAt(n.position)),(n.line===v||n.lineIndent>l)&&X!==0)Dt(n,"bad indentation of a mapping entry");else if(n.lineIndent<l)break}return O&&lg(n,w,M,L,B,null,g,E,S),I&&(n.tag=A,n.anchor=C,n.kind="mapping",n.result=w),I}function B7(n){var l,u=!1,f=!1,p,v,g;if(g=n.input.charCodeAt(n.position),g!==33)return!1;if(n.tag!==null&&Dt(n,"duplication of a tag property"),g=n.input.charCodeAt(++n.position),g===60?(u=!0,g=n.input.charCodeAt(++n.position)):g===33?(f=!0,p="!!",g=n.input.charCodeAt(++n.position)):p="!",l=n.position,u){do g=n.input.charCodeAt(++n.position);while(g!==0&&g!==62);n.position<n.length?(v=n.input.slice(l,n.position),g=n.input.charCodeAt(++n.position)):Dt(n,"unexpected end of the stream within a verbatim tag")}else{for(;g!==0&&!Su(g);)g===33&&(f?Dt(n,"tag suffix cannot contain exclamation marks"):(p=n.input.slice(l-1,n.position+1),mO.test(p)||Dt(n,"named tag handle cannot contain such characters"),f=!0,l=n.position+1)),g=n.input.charCodeAt(++n.position);v=n.input.slice(l,n.position),E7.test(v)&&Dt(n,"tag suffix cannot contain flow indicator characters")}v&&!vO.test(v)&&Dt(n,"tag name cannot contain such characters: "+v);try{v=decodeURIComponent(v)}catch{Dt(n,"tag name is malformed: "+v)}return u?n.tag=v:Qh.call(n.tagMap,p)?n.tag=n.tagMap[p]+v:p==="!"?n.tag="!"+v:p==="!!"?n.tag="tag:yaml.org,2002:"+v:Dt(n,'undeclared tag handle "'+p+'"'),!0}function L7(n){var l,u;if(u=n.input.charCodeAt(n.position),u!==38)return!1;for(n.anchor!==null&&Dt(n,"duplication of an anchor property"),u=n.input.charCodeAt(++n.position),l=n.position;u!==0&&!Su(u)&&!rg(u);)u=n.input.charCodeAt(++n.position);return n.position===l&&Dt(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(l,n.position),!0}function z7(n){var l,u,f;if(f=n.input.charCodeAt(n.position),f!==42)return!1;for(f=n.input.charCodeAt(++n.position),l=n.position;f!==0&&!Su(f)&&!rg(f);)f=n.input.charCodeAt(++n.position);return n.position===l&&Dt(n,"name of an alias node must contain at least one character"),u=n.input.slice(l,n.position),Qh.call(n.anchorMap,u)||Dt(n,'unidentified alias "'+u+'"'),n.result=n.anchorMap[u],zr(n,!0,-1),!0}function ug(n,l,u,f,p){var v,g,E,S=1,A=!1,C=!1,w,M,L,B,z,O;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,v=g=E=Jb===u||hO===u,f&&zr(n,!0,-1)&&(A=!0,n.lineIndent>l?S=1:n.lineIndent===l?S=0:n.lineIndent<l&&(S=-1)),S===1)for(;B7(n)||L7(n);)zr(n,!0,-1)?(A=!0,E=v,n.lineIndent>l?S=1:n.lineIndent===l?S=0:n.lineIndent<l&&(S=-1)):E=!1;if(E&&(E=A||p),(S===1||Jb===u)&&(Kb===u||dO===u?z=l:z=l+1,O=n.position-n.lineStart,S===1?E&&(TO(n,O)||N7(n,O,z))||R7(n,z)?C=!0:(g&&M7(n,z)||D7(n,z)||_7(n,z)?C=!0:z7(n)?(C=!0,(n.tag!==null||n.anchor!==null)&&Dt(n,"alias node should not have any properties")):O7(n,z,Kb===u)&&(C=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):S===0&&(C=E&&TO(n,O))),n.tag===null)n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);else if(n.tag==="?"){for(n.result!==null&&n.kind!=="scalar"&&Dt(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),w=0,M=n.implicitTypes.length;w<M;w+=1)if(B=n.implicitTypes[w],B.resolve(n.result)){n.result=B.construct(n.result),n.tag=B.tag,n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);break}}else if(n.tag!=="!"){if(Qh.call(n.typeMap[n.kind||"fallback"],n.tag))B=n.typeMap[n.kind||"fallback"][n.tag];else for(B=null,L=n.typeMap.multi[n.kind||"fallback"],w=0,M=L.length;w<M;w+=1)if(n.tag.slice(0,L[w].tag.length)===L[w].tag){B=L[w];break}B||Dt(n,"unknown tag !<"+n.tag+">"),n.result!==null&&B.kind!==n.kind&&Dt(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+B.kind+'", not "'+n.kind+'"'),B.resolve(n.result,n.tag)?(n.result=B.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):Dt(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return n.listener!==null&&n.listener("close",n),n.tag!==null||n.anchor!==null||C}function U7(n){var l=n.position,u,f,p,v=!1,g;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(g=n.input.charCodeAt(n.position))!==0&&(zr(n,!0,-1),g=n.input.charCodeAt(n.position),!(n.lineIndent>0||g!==37));){for(v=!0,g=n.input.charCodeAt(++n.position),u=n.position;g!==0&&!Su(g);)g=n.input.charCodeAt(++n.position);for(f=n.input.slice(u,n.position),p=[],f.length<1&&Dt(n,"directive name must not be less than one character in length");g!==0;){for(;Zm(g);)g=n.input.charCodeAt(++n.position);if(g===35){do g=n.input.charCodeAt(++n.position);while(g!==0&&!Jc(g));break}if(Jc(g))break;for(u=n.position;g!==0&&!Su(g);)g=n.input.charCodeAt(++n.position);p.push(n.input.slice(u,n.position))}g!==0&&Nx(n),Qh.call(xO,f)?xO[f](n,f,p):Wb(n,'unknown document directive "'+f+'"')}if(zr(n,!0,-1),n.lineIndent===0&&n.input.charCodeAt(n.position)===45&&n.input.charCodeAt(n.position+1)===45&&n.input.charCodeAt(n.position+2)===45?(n.position+=3,zr(n,!0,-1)):v&&Dt(n,"directives end mark is expected"),ug(n,n.lineIndent-1,Jb,!1,!0),zr(n,!0,-1),n.checkLineBreaks&&S7.test(n.input.slice(l,n.position))&&Wb(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&eS(n)){n.input.charCodeAt(n.position)===46&&(n.position+=3,zr(n,!0,-1));return}if(n.position<n.length-1)Dt(n,"end of the stream or a document separator is expected");else return}function H7(n,l){n=String(n),l=l||{},n.length!==0&&(n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
|
|
116
|
-
`),n.charCodeAt(0)===65279&&(n=n.slice(1)));var u=new w7(n,l),f=n.indexOf("\0");for(f!==-1&&(u.position=f,Dt(u,"null byte is not allowed in input")),u.input+="\0";u.input.charCodeAt(u.position)===32;)u.lineIndent+=1,u.position+=1;for(;u.position<u.length-1;)U7(u);return u.documents}function j7(n,l){var u=H7(n,l);if(u.length!==0){if(u.length===1)return u[0];throw new xd("expected a single document in the stream, but found more")}}var k7=j7,q7={load:k7},F7=q7.load;function CO({dataFetchMethod:n,dataUrl:l,headersForData:u,plugins:f,debugMode:p,DebugModeContentWrapper:v,DebugModeDataWrapper:g,DebugModeRootWrapper:E}){const[S,A]=q.useReducer((pe,ve)=>{switch(ve.type){case"setData":return{updateId:0,realCurrentData:ve.data};case"updateData":return D(pe,ve.path,ve.value,ve.updateMode);default:return pe}},{updateId:0,realCurrentData:{}}),[C,w]=q.useState(0),[M,L]=q.useState({}),[B,z]=q.useState({}),[O,I]=q.useState([]),[X,V]=q.useState();q.useEffect(()=>{l&&(typeof n=="string"&&n.toLowerCase()==="post"?Ka.post(l,{headers:u}).then(pe=>{V(pe.data)}):Ka.get(l,{headers:u}).then(pe=>{V(pe.data)}))},[l,u]),q.useEffect(()=>{if(!X)return;let pe=X;if(typeof pe!="object")try{pe=JSON.parse(X)}catch{try{pe=F7(X)}catch{console.log("Tried to load app data but the content could not be parsed as JSON nor YAML.");return}}L(pe.templates??pe.listForms),!pe.templates&&pe.listForms&&console.log("'listForms' needs to be renamed to 'templates'. The support for 'listForms' will be removed in the next releases of reactive-json."),A({type:"setData",data:pe.data}),z(pe.renderView),I(Object.keys(pe.renderView))},[X]);const U=(pe,ve,_e=void 0)=>{let ze=ve.replace("data.","");A({type:"updateData",path:ze,value:pe,updateMode:_e})};function D(pe,ve,_e,ze=void 0){const Ue=ve.split(".");let Qe=pe.realCurrentData;for(let ee=0,ce=Ue.length;ee<ce;ee++){const ge=Ue[ee];if(ee===ce-1){if(ze==="remove"&&Array.isArray(Qe))Qe.splice(ge,1);else if(ze==="move")if(_e.increment){if(!Array.isArray(Qe))return pe;const We=Math.min(Qe.length,Math.max(0,parseInt(ge)+parseInt(_e.increment)));if(We===parseInt(ge))return pe;const W=Qe.splice(ge,1);if(W.length<1)return pe;Qe.splice(We,0,W[0])}else return pe;else if(_e===void 0)delete Qe[ge];else{if(Yh.isEqual(_e,Qe[ge]))return pe;ze==="add"?(Qe[ge]===void 0&&(Qe[ge]=[]),Qe[ge].push(_e)):Qe[ge]=_e}return{updateId:(pe.updateId??0)%(Number.MAX_SAFE_INTEGER-1)+1,realCurrentData:pe.realCurrentData}}if(Qe.hasOwnProperty(ge)){(typeof Qe[ge]!="object"||Qe[ge]===null)&&(Qe[ge]={}),Qe=Qe[ge];continue}Qe[ge]={},Qe=Qe[ge]}throw new Error("Could not update data.")}if(!X)return null;const j=O.map(pe=>te.jsx(Ra,{datafield:pe,props:B[pe],path:"data."+pe,currentData:S.realCurrentData[pe]},pe));function Y(pe){var ve;if(!pe)return!1;if(typeof pe=="boolean")return pe;if(typeof pe!="string")return!0;switch((ve=pe==null?void 0:pe.toLowerCase())==null?void 0:ve.trim()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case"null":case"undefined":return!1;default:return pe.length>0}}const ie=Y(p),oe=te.jsx(O_,{children:te.jsxs(D_,{value:{element:M,headersForData:u,plugins:f,setRawAppData:V,templateData:S.realCurrentData,templatePath:"data",updateData:U},children:[te.jsx(ua.Provider,{value:{templateData:S.realCurrentData,templatePath:"data"},children:ie&&v?te.jsx(v,{children:j}):j}),ie?g&&te.jsx(g,{children:JSON.stringify(S.realCurrentData,null," ")}):null]})});return ie&&v?te.jsx(E,{children:oe}):oe}function Y7(n){const l={action:{},element:{},hook:{},reaction:{},utility:{}};return n.forEach(u=>{for(const[f,p]of Object.entries(u)){l.hasOwnProperty(f)||(l[f]=[]);for(const[v,g]of Object.entries(p))l[f][v]=g}}),l}var tS={exports:{}},r1={},nS={exports:{}},Lx={};/**
|
|
117
|
-
* @license React
|
|
118
|
-
* scheduler.production.js
|
|
119
|
-
*
|
|
120
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
121
|
-
*
|
|
122
|
-
* This source code is licensed under the MIT license found in the
|
|
123
|
-
* LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/var wO;function G7(){return wO||(wO=1,function(n){function l(ee,ce){var ge=ee.length;ee.push(ce);e:for(;0<ge;){var We=ge-1>>>1,W=ee[We];if(0<p(W,ce))ee[We]=ce,ee[ge]=W,ge=We;else break e}}function u(ee){return ee.length===0?null:ee[0]}function f(ee){if(ee.length===0)return null;var ce=ee[0],ge=ee.pop();if(ge!==ce){ee[0]=ge;e:for(var We=0,W=ee.length,Ee=W>>>1;We<Ee;){var Me=2*(We+1)-1,ne=ee[Me],he=Me+1,De=ee[he];if(0>p(ne,ge))he<W&&0>p(De,ne)?(ee[We]=De,ee[he]=ge,We=he):(ee[We]=ne,ee[Me]=ge,We=Me);else if(he<W&&0>p(De,ge))ee[We]=De,ee[he]=ge,We=he;else break e}}return ce}function p(ee,ce){var ge=ee.sortIndex-ce.sortIndex;return ge!==0?ge:ee.id-ce.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;n.unstable_now=function(){return v.now()}}else{var g=Date,E=g.now();n.unstable_now=function(){return g.now()-E}}var S=[],A=[],C=1,w=null,M=3,L=!1,B=!1,z=!1,O=!1,I=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function U(ee){for(var ce=u(A);ce!==null;){if(ce.callback===null)f(A);else if(ce.startTime<=ee)f(A),ce.sortIndex=ce.expirationTime,l(S,ce);else break;ce=u(A)}}function D(ee){if(z=!1,U(ee),!B)if(u(S)!==null)B=!0,j||(j=!0,_e());else{var ce=u(A);ce!==null&&Qe(D,ce.startTime-ee)}}var j=!1,Y=-1,ie=5,oe=-1;function pe(){return O?!0:!(n.unstable_now()-oe<ie)}function ve(){if(O=!1,j){var ee=n.unstable_now();oe=ee;var ce=!0;try{e:{B=!1,z&&(z=!1,X(Y),Y=-1),L=!0;var ge=M;try{t:{for(U(ee),w=u(S);w!==null&&!(w.expirationTime>ee&&pe());){var We=w.callback;if(typeof We=="function"){w.callback=null,M=w.priorityLevel;var W=We(w.expirationTime<=ee);if(ee=n.unstable_now(),typeof W=="function"){w.callback=W,U(ee),ce=!0;break t}w===u(S)&&f(S),U(ee)}else f(S);w=u(S)}if(w!==null)ce=!0;else{var Ee=u(A);Ee!==null&&Qe(D,Ee.startTime-ee),ce=!1}}break e}finally{w=null,M=ge,L=!1}ce=void 0}}finally{ce?_e():j=!1}}}var _e;if(typeof V=="function")_e=function(){V(ve)};else if(typeof MessageChannel<"u"){var ze=new MessageChannel,Ue=ze.port2;ze.port1.onmessage=ve,_e=function(){Ue.postMessage(null)}}else _e=function(){I(ve,0)};function Qe(ee,ce){Y=I(function(){ee(n.unstable_now())},ce)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ee){ee.callback=null},n.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<ee?Math.floor(1e3/ee):5},n.unstable_getCurrentPriorityLevel=function(){return M},n.unstable_next=function(ee){switch(M){case 1:case 2:case 3:var ce=3;break;default:ce=M}var ge=M;M=ce;try{return ee()}finally{M=ge}},n.unstable_requestPaint=function(){O=!0},n.unstable_runWithPriority=function(ee,ce){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var ge=M;M=ee;try{return ce()}finally{M=ge}},n.unstable_scheduleCallback=function(ee,ce,ge){var We=n.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?We+ge:We):ge=We,ee){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=ge+W,ee={id:C++,callback:ce,priorityLevel:ee,startTime:ge,expirationTime:W,sortIndex:-1},ge>We?(ee.sortIndex=ge,l(A,ee),u(S)===null&&ee===u(A)&&(z?(X(Y),Y=-1):z=!0,Qe(D,ge-We))):(ee.sortIndex=W,l(S,ee),B||L||(B=!0,j||(j=!0,_e()))),ee},n.unstable_shouldYield=pe,n.unstable_wrapCallback=function(ee){var ce=M;return function(){var ge=M;M=ce;try{return ee.apply(this,arguments)}finally{M=ge}}}}(Lx)),Lx}var zx={};/**
|
|
125
|
-
* @license React
|
|
126
|
-
* scheduler.development.js
|
|
127
|
-
*
|
|
128
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the MIT license found in the
|
|
131
|
-
* LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/var OO;function I7(){return OO||(OO=1,function(n){process.env.NODE_ENV!=="production"&&function(){function l(){if(D=!1,oe){var ee=n.unstable_now();_e=ee;var ce=!0;try{e:{V=!1,U&&(U=!1,Y(pe),pe=-1),X=!0;var ge=I;try{t:{for(g(ee),O=f(L);O!==null&&!(O.expirationTime>ee&&S());){var We=O.callback;if(typeof We=="function"){O.callback=null,I=O.priorityLevel;var W=We(O.expirationTime<=ee);if(ee=n.unstable_now(),typeof W=="function"){O.callback=W,g(ee),ce=!0;break t}O===f(L)&&p(L),g(ee)}else p(L);O=f(L)}if(O!==null)ce=!0;else{var Ee=f(B);Ee!==null&&A(E,Ee.startTime-ee),ce=!1}}break e}finally{O=null,I=ge,X=!1}ce=void 0}}finally{ce?ze():oe=!1}}}function u(ee,ce){var ge=ee.length;ee.push(ce);e:for(;0<ge;){var We=ge-1>>>1,W=ee[We];if(0<v(W,ce))ee[We]=ce,ee[ge]=W,ge=We;else break e}}function f(ee){return ee.length===0?null:ee[0]}function p(ee){if(ee.length===0)return null;var ce=ee[0],ge=ee.pop();if(ge!==ce){ee[0]=ge;e:for(var We=0,W=ee.length,Ee=W>>>1;We<Ee;){var Me=2*(We+1)-1,ne=ee[Me],he=Me+1,De=ee[he];if(0>v(ne,ge))he<W&&0>v(De,ne)?(ee[We]=De,ee[he]=ge,We=he):(ee[We]=ne,ee[Me]=ge,We=Me);else if(he<W&&0>v(De,ge))ee[We]=De,ee[he]=ge,We=he;else break e}}return ce}function v(ee,ce){var ge=ee.sortIndex-ce.sortIndex;return ge!==0?ge:ee.id-ce.id}function g(ee){for(var ce=f(B);ce!==null;){if(ce.callback===null)p(B);else if(ce.startTime<=ee)p(B),ce.sortIndex=ce.expirationTime,u(L,ce);else break;ce=f(B)}}function E(ee){if(U=!1,g(ee),!V)if(f(L)!==null)V=!0,oe||(oe=!0,ze());else{var ce=f(B);ce!==null&&A(E,ce.startTime-ee)}}function S(){return D?!0:!(n.unstable_now()-_e<ve)}function A(ee,ce){pe=j(function(){ee(n.unstable_now())},ce)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;n.unstable_now=function(){return C.now()}}else{var w=Date,M=w.now();n.unstable_now=function(){return w.now()-M}}var L=[],B=[],z=1,O=null,I=3,X=!1,V=!1,U=!1,D=!1,j=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,oe=!1,pe=-1,ve=5,_e=-1;if(typeof ie=="function")var ze=function(){ie(l)};else if(typeof MessageChannel<"u"){var Ue=new MessageChannel,Qe=Ue.port2;Ue.port1.onmessage=l,ze=function(){Qe.postMessage(null)}}else ze=function(){j(l,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ee){ee.callback=null},n.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<ee?Math.floor(1e3/ee):5},n.unstable_getCurrentPriorityLevel=function(){return I},n.unstable_next=function(ee){switch(I){case 1:case 2:case 3:var ce=3;break;default:ce=I}var ge=I;I=ce;try{return ee()}finally{I=ge}},n.unstable_requestPaint=function(){D=!0},n.unstable_runWithPriority=function(ee,ce){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var ge=I;I=ee;try{return ce()}finally{I=ge}},n.unstable_scheduleCallback=function(ee,ce,ge){var We=n.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?We+ge:We):ge=We,ee){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=ge+W,ee={id:z++,callback:ce,priorityLevel:ee,startTime:ge,expirationTime:W,sortIndex:-1},ge>We?(ee.sortIndex=ge,u(B,ee),f(L)===null&&ee===f(B)&&(U?(Y(pe),pe=-1):U=!0,A(E,ge-We))):(ee.sortIndex=W,u(L,ee),V||X||(V=!0,oe||(oe=!0,ze()))),ee},n.unstable_shouldYield=S,n.unstable_wrapCallback=function(ee){var ce=I;return function(){var ge=I;I=ce;try{return ee.apply(this,arguments)}finally{I=ge}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(zx)),zx}var DO;function _O(){return DO||(DO=1,process.env.NODE_ENV==="production"?nS.exports=G7():nS.exports=I7()),nS.exports}/**
|
|
133
|
-
* @license React
|
|
134
|
-
* react-dom-client.production.js
|
|
135
|
-
*
|
|
136
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
137
|
-
*
|
|
138
|
-
* This source code is licensed under the MIT license found in the
|
|
139
|
-
* LICENSE file in the root directory of this source tree.
|
|
140
|
-
*/var RO;function V7(){if(RO)return r1;RO=1;var n=_O(),l=q,u=Gl;function f(a){var i="https://react.dev/errors/"+a;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)i+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+a+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function v(a){var i=a,o=a;if(a.alternate)for(;i.return;)i=i.return;else{a=i;do i=a,(i.flags&4098)!==0&&(o=i.return),a=i.return;while(a)}return i.tag===3?o:null}function g(a){if(a.tag===13){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function E(a){if(v(a)!==a)throw Error(f(188))}function S(a){var i=a.alternate;if(!i){if(i=v(a),i===null)throw Error(f(188));return i!==a?null:a}for(var o=a,h=i;;){var b=o.return;if(b===null)break;var T=b.alternate;if(T===null){if(h=b.return,h!==null){o=h;continue}break}if(b.child===T.child){for(T=b.child;T;){if(T===o)return E(b),a;if(T===h)return E(b),i;T=T.sibling}throw Error(f(188))}if(o.return!==h.return)o=b,h=T;else{for(var k=!1,P=b.child;P;){if(P===o){k=!0,o=b,h=T;break}if(P===h){k=!0,h=b,o=T;break}P=P.sibling}if(!k){for(P=T.child;P;){if(P===o){k=!0,o=T,h=b;break}if(P===h){k=!0,h=T,o=b;break}P=P.sibling}if(!k)throw Error(f(189))}}if(o.alternate!==h)throw Error(f(190))}if(o.tag!==3)throw Error(f(188));return o.stateNode.current===o?a:i}function A(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a;for(a=a.child;a!==null;){if(i=A(a),i!==null)return i;a=a.sibling}return null}var C=Object.assign,w=Symbol.for("react.element"),M=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),X=Symbol.for("react.consumer"),V=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),pe=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.iterator;function _e(a){return a===null||typeof a!="object"?null:(a=ve&&a[ve]||a["@@iterator"],typeof a=="function"?a:null)}var ze=Symbol.for("react.client.reference");function Ue(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===ze?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case B:return"Fragment";case O:return"Profiler";case z:return"StrictMode";case D:return"Suspense";case j:return"SuspenseList";case oe:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case L:return"Portal";case V:return(a.displayName||"Context")+".Provider";case X:return(a._context.displayName||"Context")+".Consumer";case U:var i=a.render;return a=a.displayName,a||(a=i.displayName||i.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Y:return i=a.displayName||null,i!==null?i:Ue(a.type)||"Memo";case ie:i=a._payload,a=a._init;try{return Ue(a(i))}catch{}}return null}var Qe=Array.isArray,ee=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge={pending:!1,data:null,method:null,action:null},We=[],W=-1;function Ee(a){return{current:a}}function Me(a){0>W||(a.current=We[W],We[W]=null,W--)}function ne(a,i){W++,We[W]=a.current,a.current=i}var he=Ee(null),De=Ee(null),Ye=Ee(null),rt=Ee(null);function Ke(a,i){switch(ne(Ye,i),ne(De,a),ne(he,null),i.nodeType){case 9:case 11:a=(a=i.documentElement)&&(a=a.namespaceURI)?Yn(a):0;break;default:if(a=i.tagName,i=i.namespaceURI)i=Yn(i),a=ia(i,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Me(he),ne(he,a)}function Ne(){Me(he),Me(De),Me(Ye)}function Ce(a){a.memoizedState!==null&&ne(rt,a);var i=he.current,o=ia(i,a.type);i!==o&&(ne(De,a),ne(he,o))}function nt(a){De.current===a&&(Me(he),Me(De)),rt.current===a&&(Me(rt),Si._currentValue=ge)}var ke=Object.prototype.hasOwnProperty,Tt=n.unstable_scheduleCallback,_t=n.unstable_cancelCallback,Et=n.unstable_shouldYield,on=n.unstable_requestPaint,Ut=n.unstable_now,Ja=n.unstable_getCurrentPriorityLevel,fr=n.unstable_ImmediatePriority,Cn=n.unstable_UserBlockingPriority,Qt=n.unstable_NormalPriority,ht=n.unstable_LowPriority,wn=n.unstable_IdlePriority,Ta=n.log,Er=n.unstable_setDisableYieldValue,Bt=null,ut=null;function bt(a){if(typeof Ta=="function"&&Er(a),ut&&typeof ut.setStrictMode=="function")try{ut.setStrictMode(Bt,a)}catch{}}var Nn=Math.clz32?Math.clz32:gt,yt=Math.log,On=Math.LN2;function gt(a){return a>>>=0,a===0?32:31-(yt(a)/On|0)|0}var Qn=256,ti=4194304;function Gn(a){var i=a&42;if(i!==0)return i;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function dr(a,i,o){var h=a.pendingLanes;if(h===0)return 0;var b=0,T=a.suspendedLanes,k=a.pingedLanes;a=a.warmLanes;var P=h&134217727;return P!==0?(h=P&~T,h!==0?b=Gn(h):(k&=P,k!==0?b=Gn(k):o||(o=P&~a,o!==0&&(b=Gn(o))))):(P=h&~T,P!==0?b=Gn(P):k!==0?b=Gn(k):o||(o=h&~a,o!==0&&(b=Gn(o)))),b===0?0:i!==0&&i!==b&&(i&T)===0&&(T=b&-b,o=i&-i,T>=o||T===32&&(o&4194048)!==0)?i:b}function Ur(a,i){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&i)===0}function ga(a,i){switch(a){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ni(){var a=Qn;return Qn<<=1,(Qn&4194048)===0&&(Qn=256),a}function Xl(){var a=ti;return ti<<=1,(ti&62914560)===0&&(ti=4194304),a}function Ki(a){for(var i=[],o=0;31>o;o++)i.push(a);return i}function Jn(a,i){a.pendingLanes|=i,i!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function rr(a,i,o,h,b,T){var k=a.pendingLanes;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=o,a.entangledLanes&=o,a.errorRecoveryDisabledLanes&=o,a.shellSuspendCounter=0;var P=a.entanglements,ae=a.expirationTimes,Ae=a.hiddenUpdates;for(o=k&~o;0<o;){var Xe=31-Nn(o),Ze=1<<Xe;P[Xe]=0,ae[Xe]=-1;var Oe=Ae[Xe];if(Oe!==null)for(Ae[Xe]=null,Xe=0;Xe<Oe.length;Xe++){var Te=Oe[Xe];Te!==null&&(Te.lane&=-536870913)}o&=~Ze}h!==0&&La(a,h,0),T!==0&&b===0&&a.tag!==0&&(a.suspendedLanes|=T&~(k&~i))}function La(a,i,o){a.pendingLanes|=i,a.suspendedLanes&=~i;var h=31-Nn(i);a.entangledLanes|=i,a.entanglements[h]=a.entanglements[h]|1073741824|o&4194090}function Hr(a,i){var o=a.entangledLanes|=i;for(a=a.entanglements;o;){var h=31-Nn(o),b=1<<h;b&i|a[h]&i&&(a[h]|=i),o&=~b}}function Wn(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function za(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function jr(){var a=ce.p;return a!==0?a:(a=window.event,a===void 0?32:cv(a.type))}function Eu(a,i){var o=ce.p;try{return ce.p=a,i()}finally{ce.p=o}}var nn=Math.random().toString(36).slice(2),zn="__reactFiber$"+nn,Bn="__reactProps$"+nn,Ia="__reactContainer$"+nn,gl="__reactEvents$"+nn,xu="__reactListeners$"+nn,ya="__reactHandles$"+nn,ea="__reactResources$"+nn,ft="__reactMarker$"+nn;function Au(a){delete a[zn],delete a[Bn],delete a[gl],delete a[xu],delete a[ya]}function fa(a){var i=a[zn];if(i)return i;for(var o=a.parentNode;o;){if(i=o[Ia]||o[zn]){if(o=i.alternate,i.child!==null||o!==null&&o.child!==null)for(a=Mr(a);a!==null;){if(o=a[zn])return o;a=Mr(a)}return i}a=o,o=a.parentNode}return null}function po(a){if(a=a[zn]||a[Ia]){var i=a.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return a}return null}function Tu(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a.stateNode;throw Error(f(33))}function $l(a){var i=a[ea];return i||(i=a[ea]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function Va(a){a[ft]=!0}var Zs=new Set,ai={};function Cu(a,i){wu(a,i),wu(a+"Capture",i)}function wu(a,i){for(ai[a]=i,a=0;a<i.length;a++)Zs.add(i[a])}var Ks=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Wc={},ns={};function Kh(a){return ke.call(ns,a)?!0:ke.call(Wc,a)?!1:Ks.test(a)?ns[a]=!0:(Wc[a]=!0,!1)}function Pl(a,i,o){if(Kh(i))if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":a.removeAttribute(i);return;case"boolean":var h=i.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){a.removeAttribute(i);return}}a.setAttribute(i,""+o)}}function Js(a,i,o){if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttribute(i,""+o)}}function Ji(a,i,o,h){if(h===null)a.removeAttribute(o);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(o);return}a.setAttributeNS(i,o,""+h)}}var Ws,ef;function mo(a){if(Ws===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);Ws=i&&i[1]||"",ef=-1<o.stack.indexOf(`
|
|
141
|
-
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
142
|
-
`+Ws+a+ef}var xr=!1;function Ou(a,i){if(!a||xr)return"";xr=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(i){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(Te){var Oe=Te}Reflect.construct(a,[],Ze)}else{try{Ze.call()}catch(Te){Oe=Te}a.call(Ze.prototype)}}else{try{throw Error()}catch(Te){Oe=Te}(Ze=a())&&typeof Ze.catch=="function"&&Ze.catch(function(){})}}catch(Te){if(Te&&Oe&&typeof Te.stack=="string")return[Te.stack,Oe.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var T=h.DetermineComponentFrameRoot(),k=T[0],P=T[1];if(k&&P){var ae=k.split(`
|
|
143
|
-
`),Ae=P.split(`
|
|
144
|
-
`);for(b=h=0;h<ae.length&&!ae[h].includes("DetermineComponentFrameRoot");)h++;for(;b<Ae.length&&!Ae[b].includes("DetermineComponentFrameRoot");)b++;if(h===ae.length||b===Ae.length)for(h=ae.length-1,b=Ae.length-1;1<=h&&0<=b&&ae[h]!==Ae[b];)b--;for(;1<=h&&0<=b;h--,b--)if(ae[h]!==Ae[b]){if(h!==1||b!==1)do if(h--,b--,0>b||ae[h]!==Ae[b]){var Xe=`
|
|
145
|
-
`+ae[h].replace(" at new "," at ");return a.displayName&&Xe.includes("<anonymous>")&&(Xe=Xe.replace("<anonymous>",a.displayName)),Xe}while(1<=h&&0<=b);break}}}finally{xr=!1,Error.prepareStackTrace=o}return(o=a?a.displayName||a.name:"")?mo(o):""}function vo(a){switch(a.tag){case 26:case 27:case 5:return mo(a.type);case 16:return mo("Lazy");case 13:return mo("Suspense");case 19:return mo("SuspenseList");case 0:case 15:return Ou(a.type,!1);case 11:return Ou(a.type.render,!1);case 1:return Ou(a.type,!0);case 31:return mo("Activity");default:return""}}function ri(a){try{var i="";do i+=vo(a),a=a.return;while(a);return i}catch(o){return`
|
|
146
|
-
Error generating stack: `+o.message+`
|
|
147
|
-
`+o.stack}}function Xa(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function go(a){var i=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function as(a){var i=go(a)?"checked":"value",o=Object.getOwnPropertyDescriptor(a.constructor.prototype,i),h=""+a[i];if(!a.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var b=o.get,T=o.set;return Object.defineProperty(a,i,{configurable:!0,get:function(){return b.call(this)},set:function(k){h=""+k,T.call(this,k)}}),Object.defineProperty(a,i,{enumerable:o.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){a._valueTracker=null,delete a[i]}}}}function Du(a){a._valueTracker||(a._valueTracker=as(a))}function Oi(a){if(!a)return!1;var i=a._valueTracker;if(!i)return!0;var o=i.getValue(),h="";return a&&(h=go(a)?a.checked?"true":"false":a.value),a=h,a!==o?(i.setValue(a),!0):!1}function Ql(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Jh=/[\n"\\]/g;function ii(a){return a.replace(Jh,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function ec(a,i,o,h,b,T,k,P){a.name="",k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?a.type=k:a.removeAttribute("type"),i!=null?k==="number"?(i===0&&a.value===""||a.value!=i)&&(a.value=""+Xa(i)):a.value!==""+Xa(i)&&(a.value=""+Xa(i)):k!=="submit"&&k!=="reset"||a.removeAttribute("value"),i!=null?_(a,k,Xa(i)):o!=null?_(a,k,Xa(o)):h!=null&&a.removeAttribute("value"),b==null&&T!=null&&(a.defaultChecked=!!T),b!=null&&(a.checked=b&&typeof b!="function"&&typeof b!="symbol"),P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?a.name=""+Xa(P):a.removeAttribute("name")}function tc(a,i,o,h,b,T,k,P){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(a.type=T),i!=null||o!=null){if(!(T!=="submit"&&T!=="reset"||i!=null))return;o=o!=null?""+Xa(o):"",i=i!=null?""+Xa(i):o,P||i===a.value||(a.value=i),a.defaultValue=i}h=h??b,h=typeof h!="function"&&typeof h!="symbol"&&!!h,a.checked=P?a.checked:!!h,a.defaultChecked=!!h,k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"&&(a.name=k)}function _(a,i,o){i==="number"&&Ql(a.ownerDocument)===a||a.defaultValue===""+o||(a.defaultValue=""+o)}function F(a,i,o,h){if(a=a.options,i){i={};for(var b=0;b<o.length;b++)i["$"+o[b]]=!0;for(o=0;o<a.length;o++)b=i.hasOwnProperty("$"+a[o].value),a[o].selected!==b&&(a[o].selected=b),b&&h&&(a[o].defaultSelected=!0)}else{for(o=""+Xa(o),i=null,b=0;b<a.length;b++){if(a[b].value===o){a[b].selected=!0,h&&(a[b].defaultSelected=!0);return}i!==null||a[b].disabled||(i=a[b])}i!==null&&(i.selected=!0)}}function J(a,i,o){if(i!=null&&(i=""+Xa(i),i!==a.value&&(a.value=i),o==null)){a.defaultValue!==i&&(a.defaultValue=i);return}a.defaultValue=o!=null?""+Xa(o):""}function ye(a,i,o,h){if(i==null){if(h!=null){if(o!=null)throw Error(f(92));if(Qe(h)){if(1<h.length)throw Error(f(93));h=h[0]}o=h}o==null&&(o=""),i=o}o=Xa(i),a.defaultValue=o,h=a.textContent,h===o&&h!==""&&h!==null&&(a.value=h)}function Ie(a,i){if(i){var o=a.firstChild;if(o&&o===a.lastChild&&o.nodeType===3){o.nodeValue=i;return}}a.textContent=i}var at=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qt(a,i,o){var h=i.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?h?a.setProperty(i,""):i==="float"?a.cssFloat="":a[i]="":h?a.setProperty(i,o):typeof o!="number"||o===0||at.has(i)?i==="float"?a.cssFloat=o:a[i]=(""+o).trim():a[i]=o+"px"}function En(a,i,o){if(i!=null&&typeof i!="object")throw Error(f(62));if(a=a.style,o!=null){for(var h in o)!o.hasOwnProperty(h)||i!=null&&i.hasOwnProperty(h)||(h.indexOf("--")===0?a.setProperty(h,""):h==="float"?a.cssFloat="":a[h]="");for(var b in i)h=i[b],i.hasOwnProperty(b)&&o[b]!==h&&qt(a,b,h)}else for(var T in i)i.hasOwnProperty(T)&&qt(a,T,i[T])}function ba(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $a=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Km=/^[\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;function tf(a){return Km.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}var rs=null;function Wh(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var nf=null,af=null;function Jm(a){var i=po(a);if(i&&(a=i.stateNode)){var o=a[Bn]||null;e:switch(a=i.stateNode,i.type){case"input":if(ec(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),i=o.name,o.type==="radio"&&i!=null){for(o=a;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ii(""+i)+'"][type="radio"]'),i=0;i<o.length;i++){var h=o[i];if(h!==a&&h.form===a.form){var b=h[Bn]||null;if(!b)throw Error(f(90));ec(h,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(i=0;i<o.length;i++)h=o[i],h.form===a.form&&Oi(h)}break e;case"textarea":J(a,o.value,o.defaultValue);break e;case"select":i=o.value,i!=null&&F(a,!!o.multiple,i,!1)}}}var Wm=!1;function rf(a,i,o){if(Wm)return a(i,o);Wm=!0;try{var h=a(i);return h}finally{if(Wm=!1,(nf!==null||af!==null)&&(Rc(),nf&&(i=nf,a=af,af=nf=null,Jm(i),a)))for(i=0;i<a.length;i++)Jm(a[i])}}function nc(a,i){var o=a.stateNode;if(o===null)return null;var h=o[Bn]||null;if(h===null)return null;o=h[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(o&&typeof o!="function")throw Error(f(231,i,typeof o));return o}var _u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lf=!1;if(_u)try{var yo={};Object.defineProperty(yo,"passive",{get:function(){lf=!0}}),window.addEventListener("test",yo,yo),window.removeEventListener("test",yo,yo)}catch{lf=!1}var bo=null,uf=null,ac=null;function e0(){if(ac)return ac;var a,i=uf,o=i.length,h,b="value"in bo?bo.value:bo.textContent,T=b.length;for(a=0;a<o&&i[a]===b[a];a++);var k=o-a;for(h=1;h<=k&&i[o-h]===b[T-h];h++);return ac=b.slice(a,1<h?1-h:void 0)}function Zt(a){var i=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&i===13&&(a=13)):a=i,a===10&&(a=13),32<=a||a===13?a:0}function Xn(){return!0}function ep(){return!1}function li(a){function i(o,h,b,T,k){this._reactName=o,this._targetInst=b,this.type=h,this.nativeEvent=T,this.target=k,this.currentTarget=null;for(var P in a)a.hasOwnProperty(P)&&(o=a[P],this[P]=o?o(T):T[P]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Xn:ep,this.isPropagationStopped=ep,this}return C(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Xn)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Xn)},persist:function(){},isPersistent:Xn}),i}var is={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tp=li(is),Ad=C({},is,{view:0,detail:0}),og=li(Ad),np,ap,Pa,So=C({},Ad,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kr,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Pa&&(Pa&&a.type==="mousemove"?(np=a.screenX-Pa.screenX,ap=a.screenY-Pa.screenY):ap=np=0,Pa=a),np)},movementY:function(a){return"movementY"in a?a.movementY:ap}}),Eo=li(So),t0=C({},So,{dataTransfer:0}),rp=li(t0),yl=C({},Ad,{relatedTarget:0}),ip=li(yl),sg=C({},is,{animationName:0,elapsedTime:0,pseudoElement:0}),cg=li(sg),fg=C({},is,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),of=li(fg),n0=C({},is,{data:0}),ui=li(n0),dg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},a0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function r0(a){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(a):(a=a0[a])?!!i[a]:!1}function kr(){return r0}var Ru=C({},Ad,{key:function(a){if(a.key){var i=dg[a.key]||a.key;if(i!=="Unidentified")return i}return a.type==="keypress"?(a=Zt(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Wi[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kr,charCode:function(a){return a.type==="keypress"?Zt(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?Zt(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),el=li(Ru),bn=C({},So,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bl=li(bn),sf=C({},Ad,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kr}),i0=li(sf),qr=C({},is,{propertyName:0,elapsedTime:0,pseudoElement:0}),hg=li(qr),lp=C({},So,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),rc=li(lp),up=C({},is,{newState:0,oldState:0}),Td=li(up),ic=[9,13,27,32],Cd=_u&&"CompositionEvent"in window,cf=null;_u&&"documentMode"in document&&(cf=document.documentMode);var op=_u&&"TextEvent"in window&&!cf,Sl=_u&&(!Cd||cf&&8<cf&&11>=cf),wd=" ",Od=!1;function Dd(a,i){switch(a){case"keyup":return ic.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mu(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Nu=!1;function l0(a,i){switch(a){case"compositionend":return Mu(i);case"keypress":return i.which!==32?null:(Od=!0,wd);case"textInput":return a=i.data,a===wd&&Od?null:a;default:return null}}function ls(a,i){if(Nu)return a==="compositionend"||!Cd&&Dd(a,i)?(a=e0(),ac=uf=bo=null,Nu=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Sl&&i.locale!=="ko"?null:i.data;default:return null}}var Di={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ff(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i==="input"?!!Di[a.type]:i==="textarea"}function us(a,i,o,h){nf?af?af.push(h):af=[h]:nf=h,i=Kf(i,"onChange"),0<i.length&&(o=new tp("onChange","change",null,o,h),a.push({event:o,listeners:i}))}var El=null,xl=null;function u0(a){Lc(a,0)}function Bu(a){var i=Tu(a);if(Oi(i))return a}function o0(a,i){if(a==="change")return i}var s0=!1;if(_u){var lc;if(_u){var Al="oninput"in document;if(!Al){var c0=document.createElement("div");c0.setAttribute("oninput","return;"),Al=typeof c0.oninput=="function"}lc=Al}else lc=!1;s0=lc&&(!document.documentMode||9<document.documentMode)}function df(){El&&(El.detachEvent("onpropertychange",_d),xl=El=null)}function _d(a){if(a.propertyName==="value"&&Bu(xl)){var i=[];us(i,xl,a,Wh(a)),rf(u0,i)}}function Rd(a,i,o){a==="focusin"?(df(),El=i,xl=o,El.attachEvent("onpropertychange",_d)):a==="focusout"&&df()}function oi(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Bu(xl)}function Tl(a,i){if(a==="click")return Bu(i)}function f0(a,i){if(a==="input"||a==="change")return Bu(i)}function d0(a,i){return a===i&&(a!==0||1/a===1/i)||a!==a&&i!==i}var Ar=typeof Object.is=="function"?Object.is:d0;function tl(a,i){if(Ar(a,i))return!0;if(typeof a!="object"||a===null||typeof i!="object"||i===null)return!1;var o=Object.keys(a),h=Object.keys(i);if(o.length!==h.length)return!1;for(h=0;h<o.length;h++){var b=o[h];if(!ke.call(i,b)||!Ar(a[b],i[b]))return!1}return!0}function hr(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function da(a,i){var o=hr(a);a=0;for(var h;o;){if(o.nodeType===3){if(h=a+o.textContent.length,a<=i&&h>=i)return{node:o,offset:i-a};a=h}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=hr(o)}}function Md(a,i){return a&&i?a===i?!0:a&&a.nodeType===3?!1:i&&i.nodeType===3?Md(a,i.parentNode):"contains"in a?a.contains(i):a.compareDocumentPosition?!!(a.compareDocumentPosition(i)&16):!1:!1}function h0(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var i=Ql(a.document);i instanceof a.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}if(o)a=i.contentWindow;else break;i=Ql(a.document)}return i}function Nd(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i&&(i==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||i==="textarea"||a.contentEditable==="true")}var uc=_u&&"documentMode"in document&&11>=document.documentMode,Lu=null,Fr=null,me=null,qe=!1;function Be(a,i,o){var h=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;qe||Lu==null||Lu!==Ql(h)||(h=Lu,"selectionStart"in h&&Nd(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),me&&tl(me,h)||(me=h,h=Kf(Fr,"onSelect"),0<h.length&&(i=new tp("onSelect","select",null,i,o),a.push({event:i,listeners:h}),i.target=Lu)))}function ot(a,i){var o={};return o[a.toLowerCase()]=i.toLowerCase(),o["Webkit"+a]="webkit"+i,o["Moz"+a]="moz"+i,o}var Lt={animationend:ot("Animation","AnimationEnd"),animationiteration:ot("Animation","AnimationIteration"),animationstart:ot("Animation","AnimationStart"),transitionrun:ot("Transition","TransitionRun"),transitionstart:ot("Transition","TransitionStart"),transitioncancel:ot("Transition","TransitionCancel"),transitionend:ot("Transition","TransitionEnd")},Gt={},$n={};_u&&($n=document.createElement("div").style,"AnimationEvent"in window||(delete Lt.animationend.animation,delete Lt.animationiteration.animation,delete Lt.animationstart.animation),"TransitionEvent"in window||delete Lt.transitionend.transition);function Sn(a){if(Gt[a])return Gt[a];if(!Lt[a])return a;var i=Lt[a],o;for(o in i)if(i.hasOwnProperty(o)&&o in $n)return Gt[a]=i[o];return a}var sp=Sn("animationend"),p0=Sn("animationiteration"),nl=Sn("animationstart"),hf=Sn("transitionrun"),cp=Sn("transitionstart"),oc=Sn("transitioncancel"),pf=Sn("transitionend"),mf=new Map,Dn="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Dn.push("scrollEnd");function Cl(a,i){mf.set(a,i),Cu(i,[a])}var fp=new WeakMap;function Yr(a,i){if(typeof a=="object"&&a!==null){var o=fp.get(a);return o!==void 0?o:(i={value:a,source:i,stack:ri(i)},fp.set(a,i),i)}return{value:a,source:i,stack:ri(i)}}var _i=[],os=0,zu=0;function Ri(){for(var a=os,i=zu=os=0;i<a;){var o=_i[i];_i[i++]=null;var h=_i[i];_i[i++]=null;var b=_i[i];_i[i++]=null;var T=_i[i];if(_i[i++]=null,h!==null&&b!==null){var k=h.pending;k===null?b.next=b:(b.next=k.next,k.next=b),h.pending=b}T!==0&&Ao(o,b,T)}}function si(a,i,o,h){_i[os++]=a,_i[os++]=i,_i[os++]=o,_i[os++]=h,zu|=h,a.lanes|=h,a=a.alternate,a!==null&&(a.lanes|=h)}function xo(a,i,o,h){return si(a,i,o,h),vf(a)}function Zl(a,i){return si(a,null,null,i),vf(a)}function Ao(a,i,o){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o);for(var b=!1,T=a.return;T!==null;)T.childLanes|=o,h=T.alternate,h!==null&&(h.childLanes|=o),T.tag===22&&(a=T.stateNode,a===null||a._visibility&1||(b=!0)),a=T,T=T.return;return a.tag===3?(T=a.stateNode,b&&i!==null&&(b=31-Nn(o),a=T.hiddenUpdates,h=a[b],h===null?a[b]=[i]:h.push(i),i.lane=o|536870912),T):null}function vf(a){if(50<_c)throw _c=0,I0=null,Error(f(185));for(var i=a.return;i!==null;)a=i,i=a.return;return a.tag===3?a.stateNode:null}var sc={};function Bd(a,i,o,h){this.tag=a,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ci(a,i,o,h){return new Bd(a,i,o,h)}function To(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Tr(a,i){var o=a.alternate;return o===null?(o=ci(a.tag,i,a.key,a.mode),o.elementType=a.elementType,o.type=a.type,o.stateNode=a.stateNode,o.alternate=a,a.alternate=o):(o.pendingProps=i,o.type=a.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=a.flags&65011712,o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,i=a.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=a.sibling,o.index=a.index,o.ref=a.ref,o.refCleanup=a.refCleanup,o}function It(a,i){a.flags&=65011714;var o=a.alternate;return o===null?(a.childLanes=0,a.lanes=i,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),a}function tt(a,i,o,h,b,T){var k=0;if(h=a,typeof a=="function")To(a)&&(k=1);else if(typeof a=="string")k=Hg(a,o,he.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case oe:return a=ci(31,o,i,b),a.elementType=oe,a.lanes=T,a;case B:return wl(o.children,b,T,i);case z:k=8,b|=24;break;case O:return a=ci(12,o,i,b|2),a.elementType=O,a.lanes=T,a;case D:return a=ci(13,o,i,b),a.elementType=D,a.lanes=T,a;case j:return a=ci(19,o,i,b),a.elementType=j,a.lanes=T,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case I:case V:k=10;break e;case X:k=9;break e;case U:k=11;break e;case Y:k=14;break e;case ie:k=16,h=null;break e}k=29,o=Error(f(130,a===null?"null":typeof a,"")),h=null}return i=ci(k,o,i,b),i.elementType=a,i.type=h,i.lanes=T,i}function wl(a,i,o,h){return a=ci(7,a,h,i),a.lanes=o,a}function gf(a,i,o){return a=ci(6,a,null,i),a.lanes=o,a}function ha(a,i,o){return i=ci(4,a.children!==null?a.children:[],a.key,i),i.lanes=o,i.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},i}var Kl=[],Uu=0,Ld=null,cc=0,Ol=[],Mi=0,ta=null,pa=1,Ua="";function xn(a,i){Kl[Uu++]=cc,Kl[Uu++]=Ld,Ld=a,cc=i}function zd(a,i,o){Ol[Mi++]=pa,Ol[Mi++]=Ua,Ol[Mi++]=ta,ta=a;var h=pa;a=Ua;var b=32-Nn(h)-1;h&=~(1<<b),o+=1;var T=32-Nn(i)+b;if(30<T){var k=b-b%5;T=(h&(1<<k)-1).toString(32),h>>=k,b-=k,pa=1<<32-Nn(i)+b|o<<b|h,Ua=T+a}else pa=1<<T|o<<b|h,Ua=a}function fc(a){a.return!==null&&(xn(a,1),zd(a,1,0))}function Dl(a){for(;a===Ld;)Ld=Kl[--Uu],Kl[Uu]=null,cc=Kl[--Uu],Kl[Uu]=null;for(;a===ta;)ta=Ol[--Mi],Ol[Mi]=null,Ua=Ol[--Mi],Ol[Mi]=null,pa=Ol[--Mi],Ol[Mi]=null}var Sa=null,_n=null,sn=!1,Gr=null,Ir=!1,Hu=Error(f(519));function Ni(a){var i=Error(f(418,""));throw Co(Yr(i,a)),Hu}function Ud(a){var i=a.stateNode,o=a.type,h=a.memoizedProps;switch(i[zn]=a,i[Bn]=h,o){case"dialog":$t("cancel",i),$t("close",i);break;case"iframe":case"object":case"embed":$t("load",i);break;case"video":case"audio":for(o=0;o<bh.length;o++)$t(bh[o],i);break;case"source":$t("error",i);break;case"img":case"image":case"link":$t("error",i),$t("load",i);break;case"details":$t("toggle",i);break;case"input":$t("invalid",i),tc(i,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0),Du(i);break;case"select":$t("invalid",i);break;case"textarea":$t("invalid",i),ye(i,h.value,h.defaultValue,h.children),Du(i)}o=h.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||i.textContent===""+o||h.suppressHydrationWarning===!0||ev(i.textContent,o)?(h.popover!=null&&($t("beforetoggle",i),$t("toggle",i)),h.onScroll!=null&&$t("scroll",i),h.onScrollEnd!=null&&$t("scrollend",i),h.onClick!=null&&(i.onclick=mm),i=!0):i=!1,i||Ni(a)}function m0(a){for(Sa=a.return;Sa;)switch(Sa.tag){case 5:case 13:Ir=!1;return;case 27:case 3:Ir=!0;return;default:Sa=Sa.return}}function yf(a){if(a!==Sa)return!1;if(!sn)return m0(a),sn=!0,!1;var i=a.tag,o;if((o=i!==3&&i!==27)&&((o=i===5)&&(o=a.type,o=!(o!=="form"&&o!=="button")||ou(a.type,a.memoizedProps)),o=!o),o&&_n&&Ni(a),m0(a),i===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(f(317));e:{for(a=a.nextSibling,i=0;a;){if(a.nodeType===8)if(o=a.data,o==="/$"){if(i===0){_n=cu(a.nextSibling);break e}i--}else o!=="$"&&o!=="$!"&&o!=="$?"||i++;a=a.nextSibling}_n=null}}else i===27?(i=_n,jl(a.type)?(a=Ms,Ms=null,_n=a):_n=i):_n=Sa?cu(a.stateNode.nextSibling):null;return!0}function bf(){_n=Sa=null,sn=!1}function v0(){var a=Gr;return a!==null&&(Gi===null?Gi=a:Gi.push.apply(Gi,a),Gr=null),a}function Co(a){Gr===null?Gr=[a]:Gr.push(a)}var wo=Ee(null),ju=null,$=null;function Bi(a,i,o){ne(wo,i._currentValue),i._currentValue=o}function al(a){a._currentValue=wo.current,Me(wo)}function fi(a,i,o){for(;a!==null;){var h=a.alternate;if((a.childLanes&i)!==i?(a.childLanes|=i,h!==null&&(h.childLanes|=i)):h!==null&&(h.childLanes&i)!==i&&(h.childLanes|=i),a===o)break;a=a.return}}function cn(a,i,o,h){var b=a.child;for(b!==null&&(b.return=a);b!==null;){var T=b.dependencies;if(T!==null){var k=b.child;T=T.firstContext;e:for(;T!==null;){var P=T;T=b;for(var ae=0;ae<i.length;ae++)if(P.context===i[ae]){T.lanes|=o,P=T.alternate,P!==null&&(P.lanes|=o),fi(T.return,o,a),h||(k=null);break e}T=P.next}}else if(b.tag===18){if(k=b.return,k===null)throw Error(f(341));k.lanes|=o,T=k.alternate,T!==null&&(T.lanes|=o),fi(k,o,a),k=null}else k=b.child;if(k!==null)k.return=b;else for(k=b;k!==null;){if(k===a){k=null;break}if(b=k.sibling,b!==null){b.return=k.return,k=b;break}k=k.return}b=k}}function Sf(a,i,o,h){a=null;for(var b=i,T=!1;b!==null;){if(!T){if((b.flags&524288)!==0)T=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var k=b.alternate;if(k===null)throw Error(f(387));if(k=k.memoizedProps,k!==null){var P=b.type;Ar(b.pendingProps.value,k.value)||(a!==null?a.push(P):a=[P])}}else if(b===rt.current){if(k=b.alternate,k===null)throw Error(f(387));k.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(a!==null?a.push(Si):a=[Si])}b=b.return}a!==null&&cn(i,a,o,h),i.flags|=262144}function Hd(a){for(a=a.firstContext;a!==null;){if(!Ar(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function ss(a){ju=a,$=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Ca(a){return g0(ju,a)}function jd(a,i){return ju===null&&ss(a),g0(a,i)}function g0(a,i){var o=i._currentValue;if(i={context:i,memoizedValue:o,next:null},$===null){if(a===null)throw Error(f(308));$=i,a.dependencies={lanes:0,firstContext:i},a.flags|=524288}else $=$.next=i;return o}var Ef=typeof AbortController<"u"?AbortController:function(){var a=[],i=this.signal={aborted:!1,addEventListener:function(o,h){a.push(h)}};this.abort=function(){i.aborted=!0,a.forEach(function(o){return o()})}},dp=n.unstable_scheduleCallback,pg=n.unstable_NormalPriority,na={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xf(){return{controller:new Ef,data:new Map,refCount:0}}function ku(a){a.refCount--,a.refCount===0&&dp(pg,function(){a.controller.abort()})}var cs=null,kd=0,_l=0,aa=null;function hp(a,i){if(cs===null){var o=cs=[];kd=0,_l=_s(),aa={status:"pending",value:void 0,then:function(h){o.push(h)}}}return kd++,i.then(pp,pp),i}function pp(){if(--kd===0&&cs!==null){aa!==null&&(aa.status="fulfilled");var a=cs;cs=null,_l=0,aa=null;for(var i=0;i<a.length;i++)(0,a[i])()}}function mg(a,i){var o=[],h={status:"pending",value:null,reason:null,then:function(b){o.push(b)}};return a.then(function(){h.status="fulfilled",h.value=i;for(var b=0;b<o.length;b++)(0,o[b])(i)},function(b){for(h.status="rejected",h.reason=b,b=0;b<o.length;b++)(0,o[b])(void 0)}),h}var mp=ee.S;ee.S=function(a,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&hp(a,i),mp!==null&&mp(a,i)};var qu=Ee(null);function Jl(){var a=qu.current;return a!==null?a:ra.pooledCache}function dc(a,i){i===null?ne(qu,qu.current):ne(qu,i.pool)}function vp(){var a=Jl();return a===null?null:{parent:na._currentValue,pool:a}}var pr=Error(f(460)),gp=Error(f(474)),qd=Error(f(542)),yp={then:function(){}};function bp(a){return a=a.status,a==="fulfilled"||a==="rejected"}function Fd(){}function Sp(a,i,o){switch(o=a[o],o===void 0?a.push(i):o!==i&&(i.then(Fd,Fd),i=o),i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,b0(a),a;default:if(typeof i.status=="string")i.then(Fd,Fd);else{if(a=ra,a!==null&&100<a.shellSuspendCounter)throw Error(f(482));a=i,a.status="pending",a.then(function(h){if(i.status==="pending"){var b=i;b.status="fulfilled",b.value=h}},function(h){if(i.status==="pending"){var b=i;b.status="rejected",b.reason=h}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,b0(a),a}throw fs=i,pr}}var fs=null;function y0(){if(fs===null)throw Error(f(459));var a=fs;return fs=null,a}function b0(a){if(a===pr||a===qd)throw Error(f(483))}var Rl=!1;function ds(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hc(a,i){a=a.updateQueue,i.updateQueue===a&&(i.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Li(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Wl(a,i,o){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,(Fn&2)!==0){var b=h.pending;return b===null?i.next=i:(i.next=b.next,b.next=i),h.pending=i,i=vf(a),Ao(a,null,o),i}return si(a,h,i,o),vf(a)}function pc(a,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194048)!==0)){var h=i.lanes;h&=a.pendingLanes,o|=h,i.lanes=o,Hr(a,o)}}function eu(a,i){var o=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,o===h)){var b=null,T=null;if(o=o.firstBaseUpdate,o!==null){do{var k={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};T===null?b=T=k:T=T.next=k,o=o.next}while(o!==null);T===null?b=T=i:T=T.next=i}else b=T=i;o={baseState:h.baseState,firstBaseUpdate:b,lastBaseUpdate:T,shared:h.shared,callbacks:h.callbacks},a.updateQueue=o;return}a=o.lastBaseUpdate,a===null?o.firstBaseUpdate=i:a.next=i,o.lastBaseUpdate=i}var Yd=!1;function Ml(){if(Yd){var a=aa;if(a!==null)throw a}}function Wa(a,i,o,h){Yd=!1;var b=a.updateQueue;Rl=!1;var T=b.firstBaseUpdate,k=b.lastBaseUpdate,P=b.shared.pending;if(P!==null){b.shared.pending=null;var ae=P,Ae=ae.next;ae.next=null,k===null?T=Ae:k.next=Ae,k=ae;var Xe=a.alternate;Xe!==null&&(Xe=Xe.updateQueue,P=Xe.lastBaseUpdate,P!==k&&(P===null?Xe.firstBaseUpdate=Ae:P.next=Ae,Xe.lastBaseUpdate=ae))}if(T!==null){var Ze=b.baseState;k=0,Xe=Ae=ae=null,P=T;do{var Oe=P.lane&-536870913,Te=Oe!==P.lane;if(Te?(vn&Oe)===Oe:(h&Oe)===Oe){Oe!==0&&Oe===_l&&(Yd=!0),Xe!==null&&(Xe=Xe.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var xt=a,wt=P;Oe=i;var jn=o;switch(wt.tag){case 1:if(xt=wt.payload,typeof xt=="function"){Ze=xt.call(jn,Ze,Oe);break e}Ze=xt;break e;case 3:xt.flags=xt.flags&-65537|128;case 0:if(xt=wt.payload,Oe=typeof xt=="function"?xt.call(jn,Ze,Oe):xt,Oe==null)break e;Ze=C({},Ze,Oe);break e;case 2:Rl=!0}}Oe=P.callback,Oe!==null&&(a.flags|=64,Te&&(a.flags|=8192),Te=b.callbacks,Te===null?b.callbacks=[Oe]:Te.push(Oe))}else Te={lane:Oe,tag:P.tag,payload:P.payload,callback:P.callback,next:null},Xe===null?(Ae=Xe=Te,ae=Ze):Xe=Xe.next=Te,k|=Oe;if(P=P.next,P===null){if(P=b.shared.pending,P===null)break;Te=P,P=Te.next,Te.next=null,b.lastBaseUpdate=Te,b.shared.pending=null}}while(!0);Xe===null&&(ae=Ze),b.baseState=ae,b.firstBaseUpdate=Ae,b.lastBaseUpdate=Xe,T===null&&(b.shared.lanes=0),ko|=k,a.lanes=k,a.memoizedState=Ze}}function Ep(a,i){if(typeof a!="function")throw Error(f(191,a));a.call(i)}function Af(a,i){var o=a.callbacks;if(o!==null)for(a.callbacks=null,a=0;a<o.length;a++)Ep(o[a],i)}var hs=Ee(null),Oo=Ee(0);function Ea(a,i){a=jo,ne(Oo,a),ne(hs,i),jo=a|i.baseLanes}function mc(){ne(Oo,jo),ne(hs,hs.current)}function Tf(){jo=Oo.current,Me(hs),Me(Oo)}var di=0,Vt=null,Un=null,an=null,vc=!1,zi=!1,Cr=!1,rl=0,Vr=0,hi=null,xp=0;function pn(){throw Error(f(321))}function Cf(a,i){if(i===null)return!1;for(var o=0;o<i.length&&o<a.length;o++)if(!Ar(a[o],i[o]))return!1;return!0}function Ap(a,i,o,h,b,T){return di=T,Vt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,ee.H=a===null||a.memoizedState===null?w0:Up,Cr=!1,T=o(h,b),Cr=!1,zi&&(T=S0(i,o,h,b)),ps(a),T}function ps(a){ee.H=th;var i=Un!==null&&Un.next!==null;if(di=0,an=Un=Vt=null,vc=!1,Vr=0,hi=null,i)throw Error(f(300));a===null||ur||(a=a.dependencies,a!==null&&Hd(a)&&(ur=!0))}function S0(a,i,o,h){Vt=a;var b=0;do{if(zi&&(hi=null),Vr=0,zi=!1,25<=b)throw Error(f(301));if(b+=1,an=Un=null,a.updateQueue!=null){var T=a.updateQueue;T.lastEffect=null,T.events=null,T.stores=null,T.memoCache!=null&&(T.memoCache.index=0)}ee.H=Iu,T=i(o,h)}while(zi);return T}function Tp(){var a=ee.H,i=a.useState()[0];return i=typeof i.then=="function"?Id(i):i,a=a.useState()[0],(Un!==null?Un.memoizedState:null)!==a&&(Vt.flags|=1024),i}function Cp(){var a=rl!==0;return rl=0,a}function Fu(a,i,o){i.updateQueue=a.updateQueue,i.flags&=-2053,a.lanes&=~o}function Gd(a){if(vc){for(a=a.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}vc=!1}di=0,an=Un=Vt=null,zi=!1,Vr=rl=0,hi=null}function Xr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return an===null?Vt.memoizedState=an=a:an=an.next=a,an}function Ha(){if(Un===null){var a=Vt.alternate;a=a!==null?a.memoizedState:null}else a=Un.next;var i=an===null?Vt.memoizedState:an.next;if(i!==null)an=i,Un=a;else{if(a===null)throw Vt.alternate===null?Error(f(467)):Error(f(310));Un=a,a={memoizedState:Un.memoizedState,baseState:Un.baseState,baseQueue:Un.baseQueue,queue:Un.queue,next:null},an===null?Vt.memoizedState=an=a:an=an.next=a}return an}function Do(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Id(a){var i=Vr;return Vr+=1,hi===null&&(hi=[]),a=Sp(hi,a,i),i=Vt,(an===null?i.memoizedState:an.next)===null&&(i=i.alternate,ee.H=i===null||i.memoizedState===null?w0:Up),a}function er(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Id(a);if(a.$$typeof===V)return Ca(a)}throw Error(f(438,String(a)))}function wf(a){var i=null,o=Vt.updateQueue;if(o!==null&&(i=o.memoCache),i==null){var h=Vt.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(i={data:h.data.map(function(b){return b.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),o===null&&(o=Do(),Vt.updateQueue=o),o.memoCache=i,o=i.data[i.index],o===void 0)for(o=i.data[i.index]=Array(a),h=0;h<a;h++)o[h]=pe;return i.index++,o}function tu(a,i){return typeof i=="function"?i(a):i}function Vd(a){var i=Ha();return wp(i,Un,a)}function wp(a,i,o){var h=a.queue;if(h===null)throw Error(f(311));h.lastRenderedReducer=o;var b=a.baseQueue,T=h.pending;if(T!==null){if(b!==null){var k=b.next;b.next=T.next,T.next=k}i.baseQueue=b=T,h.pending=null}if(T=a.baseState,b===null)a.memoizedState=T;else{i=b.next;var P=k=null,ae=null,Ae=i,Xe=!1;do{var Ze=Ae.lane&-536870913;if(Ze!==Ae.lane?(vn&Ze)===Ze:(di&Ze)===Ze){var Oe=Ae.revertLane;if(Oe===0)ae!==null&&(ae=ae.next={lane:0,revertLane:0,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null}),Ze===_l&&(Xe=!0);else if((di&Oe)===Oe){Ae=Ae.next,Oe===_l&&(Xe=!0);continue}else Ze={lane:0,revertLane:Ae.revertLane,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null},ae===null?(P=ae=Ze,k=T):ae=ae.next=Ze,Vt.lanes|=Oe,ko|=Oe;Ze=Ae.action,Cr&&o(T,Ze),T=Ae.hasEagerState?Ae.eagerState:o(T,Ze)}else Oe={lane:Ze,revertLane:Ae.revertLane,action:Ae.action,hasEagerState:Ae.hasEagerState,eagerState:Ae.eagerState,next:null},ae===null?(P=ae=Oe,k=T):ae=ae.next=Oe,Vt.lanes|=Ze,ko|=Ze;Ae=Ae.next}while(Ae!==null&&Ae!==i);if(ae===null?k=T:ae.next=P,!Ar(T,a.memoizedState)&&(ur=!0,Xe&&(o=aa,o!==null)))throw o;a.memoizedState=T,a.baseState=k,a.baseQueue=ae,h.lastRenderedState=T}return b===null&&(h.lanes=0),[a.memoizedState,h.dispatch]}function Op(a){var i=Ha(),o=i.queue;if(o===null)throw Error(f(311));o.lastRenderedReducer=a;var h=o.dispatch,b=o.pending,T=i.memoizedState;if(b!==null){o.pending=null;var k=b=b.next;do T=a(T,k.action),k=k.next;while(k!==b);Ar(T,i.memoizedState)||(ur=!0),i.memoizedState=T,i.baseQueue===null&&(i.baseState=T),o.lastRenderedState=T}return[T,h]}function Of(a,i,o){var h=Vt,b=Ha(),T=sn;if(T){if(o===void 0)throw Error(f(407));o=o()}else o=i();var k=!Ar((Un||b).memoizedState,o);k&&(b.memoizedState=o,ur=!0),b=b.queue;var P=Xd.bind(null,h,b,a);if(Zn(2048,8,P,[a]),b.getSnapshot!==i||k||an!==null&&an.memoizedState.tag&1){if(h.flags|=2048,Ui(9,Zd(),E0.bind(null,h,b,o,i),null),ra===null)throw Error(f(349));T||(di&124)!==0||Df(h,i,o)}return o}function Df(a,i,o){a.flags|=16384,a={getSnapshot:i,value:o},i=Vt.updateQueue,i===null?(i=Do(),Vt.updateQueue=i,i.stores=[a]):(o=i.stores,o===null?i.stores=[a]:o.push(a))}function E0(a,i,o,h){i.value=o,i.getSnapshot=h,Dp(i)&&$d(a)}function Xd(a,i,o){return o(function(){Dp(i)&&$d(a)})}function Dp(a){var i=a.getSnapshot;a=a.value;try{var o=i();return!Ar(a,o)}catch{return!0}}function $d(a){var i=Zl(a,2);i!==null&&ul(i,a,2)}function _f(a){var i=Xr();if(typeof a=="function"){var o=a;if(a=o(),Cr){bt(!0);try{o()}finally{bt(!1)}}}return i.memoizedState=i.baseState=a,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tu,lastRenderedState:a},i}function gc(a,i,o,h){return a.baseState=o,wp(a,Un,typeof h=="function"?h:tu)}function vg(a,i,o,h,b){if(bc(a))throw Error(f(485));if(a=i.action,a!==null){var T={payload:b,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){T.listeners.push(k)}};ee.T!==null?o(!0):T.isTransition=!1,h(T),o=i.pending,o===null?(T.next=i.pending=T,Pd(i,T)):(T.next=o.next,i.pending=o.next=T)}}function Pd(a,i){var o=i.action,h=i.payload,b=a.state;if(i.isTransition){var T=ee.T,k={};ee.T=k;try{var P=o(b,h),ae=ee.S;ae!==null&&ae(k,P),Rf(a,i,P)}catch(Ae){Qd(a,i,Ae)}finally{ee.T=T}}else try{T=o(b,h),Rf(a,i,T)}catch(Ae){Qd(a,i,Ae)}}function Rf(a,i,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(h){_p(a,i,h)},function(h){return Qd(a,i,h)}):_p(a,i,o)}function _p(a,i,o){i.status="fulfilled",i.value=o,x0(i),a.state=o,i=a.pending,i!==null&&(o=i.next,o===i?a.pending=null:(o=o.next,i.next=o,Pd(a,o)))}function Qd(a,i,o){var h=a.pending;if(a.pending=null,h!==null){h=h.next;do i.status="rejected",i.reason=o,x0(i),i=i.next;while(i!==h)}a.action=null}function x0(a){a=a.listeners;for(var i=0;i<a.length;i++)(0,a[i])()}function Mf(a,i){return i}function Rp(a,i){if(sn){var o=ra.formState;if(o!==null){e:{var h=Vt;if(sn){if(_n){t:{for(var b=_n,T=Ir;b.nodeType!==8;){if(!T){b=null;break t}if(b=cu(b.nextSibling),b===null){b=null;break t}}T=b.data,b=T==="F!"||T==="F"?b:null}if(b){_n=cu(b.nextSibling),h=b.data==="F!";break e}}Ni(h)}h=!1}h&&(i=o[0])}}return o=Xr(),o.memoizedState=o.baseState=i,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mf,lastRenderedState:i},o.queue=h,o=Lp.bind(null,Vt,h),h.dispatch=o,h=_f(!1),T=eh.bind(null,Vt,!1,h.queue),h=Xr(),b={state:i,dispatch:null,action:a,pending:null},h.queue=b,o=vg.bind(null,Vt,b,T,o),b.dispatch=o,h.memoizedState=a,[i,o,!1]}function Nl(a){var i=Ha();return Mp(i,Un,a)}function Mp(a,i,o){if(i=wp(a,i,Mf)[0],a=Vd(tu)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var h=Id(i)}catch(k){throw k===pr?qd:k}else h=i;i=Ha();var b=i.queue,T=b.dispatch;return o!==i.memoizedState&&(Vt.flags|=2048,Ui(9,Zd(),A0.bind(null,b,o),null)),[h,T,a]}function A0(a,i){a.action=i}function Xt(a){var i=Ha(),o=Un;if(o!==null)return Mp(i,o,a);Ha(),i=i.memoizedState,o=Ha();var h=o.queue.dispatch;return o.memoizedState=a,[i,h,!1]}function Ui(a,i,o,h){return a={tag:a,create:o,deps:h,inst:i,next:null},i=Vt.updateQueue,i===null&&(i=Do(),Vt.updateQueue=i),o=i.lastEffect,o===null?i.lastEffect=a.next=a:(h=o.next,o.next=a,a.next=h,i.lastEffect=a),a}function Zd(){return{destroy:void 0,resource:void 0}}function _o(){return Ha().memoizedState}function Ro(a,i,o,h){var b=Xr();h=h===void 0?null:h,Vt.flags|=a,b.memoizedState=Ui(1|i,Zd(),o,h)}function Zn(a,i,o,h){var b=Ha();h=h===void 0?null:h;var T=b.memoizedState.inst;Un!==null&&h!==null&&Cf(h,Un.memoizedState.deps)?b.memoizedState=Ui(i,T,o,h):(Vt.flags|=a,b.memoizedState=Ui(1|i,T,o,h))}function gg(a,i){Ro(8390656,8,a,i)}function il(a,i){Zn(2048,8,a,i)}function T0(a,i){return Zn(4,2,a,i)}function Hi(a,i){return Zn(4,4,a,i)}function Kd(a,i){if(typeof i=="function"){a=a();var o=i(a);return function(){typeof o=="function"?o():i(null)}}if(i!=null)return a=a(),i.current=a,function(){i.current=null}}function Jd(a,i,o){o=o!=null?o.concat([a]):null,Zn(4,4,Kd.bind(null,i,a),o)}function ms(){}function ir(a,i){var o=Ha();i=i===void 0?null:i;var h=o.memoizedState;return i!==null&&Cf(i,h[1])?h[0]:(o.memoizedState=[a,i],a)}function Yu(a,i){var o=Ha();i=i===void 0?null:i;var h=o.memoizedState;if(i!==null&&Cf(i,h[1]))return h[0];if(h=a(),Cr){bt(!0);try{a()}finally{bt(!1)}}return o.memoizedState=[h,i],h}function yc(a,i,o){return o===void 0||(di&1073741824)!==0?a.memoizedState=i:(a.memoizedState=o,a=V0(),Vt.lanes|=a,ko|=a,o)}function Np(a,i,o,h){return Ar(o,i)?o:hs.current!==null?(a=yc(a,o,h),Ar(a,i)||(ur=!0),a):(di&42)===0?(ur=!0,a.memoizedState=o):(a=V0(),Vt.lanes|=a,ko|=a,i)}function Wd(a,i,o,h,b){var T=ce.p;ce.p=T!==0&&8>T?T:8;var k=ee.T,P={};ee.T=P,eh(a,!1,i,o);try{var ae=b(),Ae=ee.S;if(Ae!==null&&Ae(P,ae),ae!==null&&typeof ae=="object"&&typeof ae.then=="function"){var Xe=mg(ae,h);No(a,i,Xe,Qr(a))}else No(a,i,h,Qr(a))}catch(Ze){No(a,i,{then:function(){},status:"rejected",reason:Ze},Qr())}finally{ce.p=T,ee.T=k}}function yg(){}function Nf(a,i,o,h){if(a.tag!==5)throw Error(f(476));var b=C0(a).queue;Wd(a,b,i,ge,o===null?yg:function(){return vs(a),o(h)})}function C0(a){var i=a.memoizedState;if(i!==null)return i;i={memoizedState:ge,baseState:ge,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tu,lastRenderedState:ge},next:null};var o={};return i.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tu,lastRenderedState:o},next:null},a.memoizedState=i,a=a.alternate,a!==null&&(a.memoizedState=i),i}function vs(a){var i=C0(a).next.queue;No(a,i,{},Qr())}function ji(){return Ca(Si)}function Gu(){return Ha().memoizedState}function bg(){return Ha().memoizedState}function Mo(a){for(var i=a.return;i!==null;){switch(i.tag){case 24:case 3:var o=Qr();a=Li(o);var h=Wl(i,a,o);h!==null&&(ul(h,i,o),pc(h,i,o)),i={cache:xf()},a.payload=i;return}i=i.return}}function Bp(a,i,o){var h=Qr();o={lane:h,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},bc(a)?Sg(i,o):(o=xo(a,i,o,h),o!==null&&(ul(o,a,h),zp(o,i,h)))}function Lp(a,i,o){var h=Qr();No(a,i,o,h)}function No(a,i,o,h){var b={lane:h,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(bc(a))Sg(i,b);else{var T=a.alternate;if(a.lanes===0&&(T===null||T.lanes===0)&&(T=i.lastRenderedReducer,T!==null))try{var k=i.lastRenderedState,P=T(k,o);if(b.hasEagerState=!0,b.eagerState=P,Ar(P,k))return si(a,i,b,0),ra===null&&Ri(),!1}catch{}finally{}if(o=xo(a,i,b,h),o!==null)return ul(o,a,h),zp(o,i,h),!0}return!1}function eh(a,i,o,h){if(h={lane:2,revertLane:_s(),action:h,hasEagerState:!1,eagerState:null,next:null},bc(a)){if(i)throw Error(f(479))}else i=xo(a,o,h,2),i!==null&&ul(i,a,2)}function bc(a){var i=a.alternate;return a===Vt||i!==null&&i===Vt}function Sg(a,i){zi=vc=!0;var o=a.pending;o===null?i.next=i:(i.next=o.next,o.next=i),a.pending=i}function zp(a,i,o){if((o&4194048)!==0){var h=i.lanes;h&=a.pendingLanes,o|=h,i.lanes=o,Hr(a,o)}}var th={readContext:Ca,use:er,useCallback:pn,useContext:pn,useEffect:pn,useImperativeHandle:pn,useLayoutEffect:pn,useInsertionEffect:pn,useMemo:pn,useReducer:pn,useRef:pn,useState:pn,useDebugValue:pn,useDeferredValue:pn,useTransition:pn,useSyncExternalStore:pn,useId:pn,useHostTransitionStatus:pn,useFormState:pn,useActionState:pn,useOptimistic:pn,useMemoCache:pn,useCacheRefresh:pn},w0={readContext:Ca,use:er,useCallback:function(a,i){return Xr().memoizedState=[a,i===void 0?null:i],a},useContext:Ca,useEffect:gg,useImperativeHandle:function(a,i,o){o=o!=null?o.concat([a]):null,Ro(4194308,4,Kd.bind(null,i,a),o)},useLayoutEffect:function(a,i){return Ro(4194308,4,a,i)},useInsertionEffect:function(a,i){Ro(4,2,a,i)},useMemo:function(a,i){var o=Xr();i=i===void 0?null:i;var h=a();if(Cr){bt(!0);try{a()}finally{bt(!1)}}return o.memoizedState=[h,i],h},useReducer:function(a,i,o){var h=Xr();if(o!==void 0){var b=o(i);if(Cr){bt(!0);try{o(i)}finally{bt(!1)}}}else b=i;return h.memoizedState=h.baseState=b,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b},h.queue=a,a=a.dispatch=Bp.bind(null,Vt,a),[h.memoizedState,a]},useRef:function(a){var i=Xr();return a={current:a},i.memoizedState=a},useState:function(a){a=_f(a);var i=a.queue,o=Lp.bind(null,Vt,i);return i.dispatch=o,[a.memoizedState,o]},useDebugValue:ms,useDeferredValue:function(a,i){var o=Xr();return yc(o,a,i)},useTransition:function(){var a=_f(!1);return a=Wd.bind(null,Vt,a.queue,!0,!1),Xr().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,i,o){var h=Vt,b=Xr();if(sn){if(o===void 0)throw Error(f(407));o=o()}else{if(o=i(),ra===null)throw Error(f(349));(vn&124)!==0||Df(h,i,o)}b.memoizedState=o;var T={value:o,getSnapshot:i};return b.queue=T,gg(Xd.bind(null,h,T,a),[a]),h.flags|=2048,Ui(9,Zd(),E0.bind(null,h,T,o,i),null),o},useId:function(){var a=Xr(),i=ra.identifierPrefix;if(sn){var o=Ua,h=pa;o=(h&~(1<<32-Nn(h)-1)).toString(32)+o,i="«"+i+"R"+o,o=rl++,0<o&&(i+="H"+o.toString(32)),i+="»"}else o=xp++,i="«"+i+"r"+o.toString(32)+"»";return a.memoizedState=i},useHostTransitionStatus:ji,useFormState:Rp,useActionState:Rp,useOptimistic:function(a){var i=Xr();i.memoizedState=i.baseState=a;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=o,i=eh.bind(null,Vt,!0,o),o.dispatch=i,[a,i]},useMemoCache:wf,useCacheRefresh:function(){return Xr().memoizedState=Mo.bind(null,Vt)}},Up={readContext:Ca,use:er,useCallback:ir,useContext:Ca,useEffect:il,useImperativeHandle:Jd,useInsertionEffect:T0,useLayoutEffect:Hi,useMemo:Yu,useReducer:Vd,useRef:_o,useState:function(){return Vd(tu)},useDebugValue:ms,useDeferredValue:function(a,i){var o=Ha();return Np(o,Un.memoizedState,a,i)},useTransition:function(){var a=Vd(tu)[0],i=Ha().memoizedState;return[typeof a=="boolean"?a:Id(a),i]},useSyncExternalStore:Of,useId:Gu,useHostTransitionStatus:ji,useFormState:Nl,useActionState:Nl,useOptimistic:function(a,i){var o=Ha();return gc(o,Un,a,i)},useMemoCache:wf,useCacheRefresh:bg},Iu={readContext:Ca,use:er,useCallback:ir,useContext:Ca,useEffect:il,useImperativeHandle:Jd,useInsertionEffect:T0,useLayoutEffect:Hi,useMemo:Yu,useReducer:Op,useRef:_o,useState:function(){return Op(tu)},useDebugValue:ms,useDeferredValue:function(a,i){var o=Ha();return Un===null?yc(o,a,i):Np(o,Un.memoizedState,a,i)},useTransition:function(){var a=Op(tu)[0],i=Ha().memoizedState;return[typeof a=="boolean"?a:Id(a),i]},useSyncExternalStore:Of,useId:Gu,useHostTransitionStatus:ji,useFormState:Xt,useActionState:Xt,useOptimistic:function(a,i){var o=Ha();return Un!==null?gc(o,Un,a,i):(o.baseState=a,[a,o.queue.dispatch])},useMemoCache:wf,useCacheRefresh:bg},tr=null,pi=0;function Hp(a){var i=pi;return pi+=1,tr===null&&(tr=[]),Sp(tr,a,i)}function Sc(a,i){i=i.props.ref,a.ref=i!==void 0?i:null}function lr(a,i){throw i.$$typeof===w?Error(f(525)):(a=Object.prototype.toString.call(i),Error(f(31,a==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":a)))}function gs(a){var i=a._init;return i(a._payload)}function mi(a){function i(be,fe){if(a){var xe=be.deletions;xe===null?(be.deletions=[fe],be.flags|=16):xe.push(fe)}}function o(be,fe){if(!a)return null;for(;fe!==null;)i(be,fe),fe=fe.sibling;return null}function h(be){for(var fe=new Map;be!==null;)be.key!==null?fe.set(be.key,be):fe.set(be.index,be),be=be.sibling;return fe}function b(be,fe){return be=Tr(be,fe),be.index=0,be.sibling=null,be}function T(be,fe,xe){return be.index=xe,a?(xe=be.alternate,xe!==null?(xe=xe.index,xe<fe?(be.flags|=67108866,fe):xe):(be.flags|=67108866,fe)):(be.flags|=1048576,fe)}function k(be){return a&&be.alternate===null&&(be.flags|=67108866),be}function P(be,fe,xe,Pe){return fe===null||fe.tag!==6?(fe=gf(xe,be.mode,Pe),fe.return=be,fe):(fe=b(fe,xe),fe.return=be,fe)}function ae(be,fe,xe,Pe){var dt=xe.type;return dt===B?Xe(be,fe,xe.props.children,Pe,xe.key):fe!==null&&(fe.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===ie&&gs(dt)===fe.type)?(fe=b(fe,xe.props),Sc(fe,xe),fe.return=be,fe):(fe=tt(xe.type,xe.key,xe.props,null,be.mode,Pe),Sc(fe,xe),fe.return=be,fe)}function Ae(be,fe,xe,Pe){return fe===null||fe.tag!==4||fe.stateNode.containerInfo!==xe.containerInfo||fe.stateNode.implementation!==xe.implementation?(fe=ha(xe,be.mode,Pe),fe.return=be,fe):(fe=b(fe,xe.children||[]),fe.return=be,fe)}function Xe(be,fe,xe,Pe,dt){return fe===null||fe.tag!==7?(fe=wl(xe,be.mode,Pe,dt),fe.return=be,fe):(fe=b(fe,xe),fe.return=be,fe)}function Ze(be,fe,xe){if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return fe=gf(""+fe,be.mode,xe),fe.return=be,fe;if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case M:return xe=tt(fe.type,fe.key,fe.props,null,be.mode,xe),Sc(xe,fe),xe.return=be,xe;case L:return fe=ha(fe,be.mode,xe),fe.return=be,fe;case ie:var Pe=fe._init;return fe=Pe(fe._payload),Ze(be,fe,xe)}if(Qe(fe)||_e(fe))return fe=wl(fe,be.mode,xe,null),fe.return=be,fe;if(typeof fe.then=="function")return Ze(be,Hp(fe),xe);if(fe.$$typeof===V)return Ze(be,jd(be,fe),xe);lr(be,fe)}return null}function Oe(be,fe,xe,Pe){var dt=fe!==null?fe.key:null;if(typeof xe=="string"&&xe!==""||typeof xe=="number"||typeof xe=="bigint")return dt!==null?null:P(be,fe,""+xe,Pe);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case M:return xe.key===dt?ae(be,fe,xe,Pe):null;case L:return xe.key===dt?Ae(be,fe,xe,Pe):null;case ie:return dt=xe._init,xe=dt(xe._payload),Oe(be,fe,xe,Pe)}if(Qe(xe)||_e(xe))return dt!==null?null:Xe(be,fe,xe,Pe,null);if(typeof xe.then=="function")return Oe(be,fe,Hp(xe),Pe);if(xe.$$typeof===V)return Oe(be,fe,jd(be,xe),Pe);lr(be,xe)}return null}function Te(be,fe,xe,Pe,dt){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number"||typeof Pe=="bigint")return be=be.get(xe)||null,P(fe,be,""+Pe,dt);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case M:return be=be.get(Pe.key===null?xe:Pe.key)||null,ae(fe,be,Pe,dt);case L:return be=be.get(Pe.key===null?xe:Pe.key)||null,Ae(fe,be,Pe,dt);case ie:var rn=Pe._init;return Pe=rn(Pe._payload),Te(be,fe,xe,Pe,dt)}if(Qe(Pe)||_e(Pe))return be=be.get(xe)||null,Xe(fe,be,Pe,dt,null);if(typeof Pe.then=="function")return Te(be,fe,xe,Hp(Pe),dt);if(Pe.$$typeof===V)return Te(be,fe,xe,jd(fe,Pe),dt);lr(fe,Pe)}return null}function xt(be,fe,xe,Pe){for(var dt=null,rn=null,St=fe,zt=fe=0,yr=null;St!==null&&zt<xe.length;zt++){St.index>zt?(yr=St,St=null):yr=St.sibling;var An=Oe(be,St,xe[zt],Pe);if(An===null){St===null&&(St=yr);break}a&&St&&An.alternate===null&&i(be,St),fe=T(An,fe,zt),rn===null?dt=An:rn.sibling=An,rn=An,St=yr}if(zt===xe.length)return o(be,St),sn&&xn(be,zt),dt;if(St===null){for(;zt<xe.length;zt++)St=Ze(be,xe[zt],Pe),St!==null&&(fe=T(St,fe,zt),rn===null?dt=St:rn.sibling=St,rn=St);return sn&&xn(be,zt),dt}for(St=h(St);zt<xe.length;zt++)yr=Te(St,be,zt,xe[zt],Pe),yr!==null&&(a&&yr.alternate!==null&&St.delete(yr.key===null?zt:yr.key),fe=T(yr,fe,zt),rn===null?dt=yr:rn.sibling=yr,rn=yr);return a&&St.forEach(function(Ls){return i(be,Ls)}),sn&&xn(be,zt),dt}function wt(be,fe,xe,Pe){if(xe==null)throw Error(f(151));for(var dt=null,rn=null,St=fe,zt=fe=0,yr=null,An=xe.next();St!==null&&!An.done;zt++,An=xe.next()){St.index>zt?(yr=St,St=null):yr=St.sibling;var Ls=Oe(be,St,An.value,Pe);if(Ls===null){St===null&&(St=yr);break}a&&St&&Ls.alternate===null&&i(be,St),fe=T(Ls,fe,zt),rn===null?dt=Ls:rn.sibling=Ls,rn=Ls,St=yr}if(An.done)return o(be,St),sn&&xn(be,zt),dt;if(St===null){for(;!An.done;zt++,An=xe.next())An=Ze(be,An.value,Pe),An!==null&&(fe=T(An,fe,zt),rn===null?dt=An:rn.sibling=An,rn=An);return sn&&xn(be,zt),dt}for(St=h(St);!An.done;zt++,An=xe.next())An=Te(St,be,zt,An.value,Pe),An!==null&&(a&&An.alternate!==null&&St.delete(An.key===null?zt:An.key),fe=T(An,fe,zt),rn===null?dt=An:rn.sibling=An,rn=An);return a&&St.forEach(function(d1){return i(be,d1)}),sn&&xn(be,zt),dt}function jn(be,fe,xe,Pe){if(typeof xe=="object"&&xe!==null&&xe.type===B&&xe.key===null&&(xe=xe.props.children),typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case M:e:{for(var dt=xe.key;fe!==null;){if(fe.key===dt){if(dt=xe.type,dt===B){if(fe.tag===7){o(be,fe.sibling),Pe=b(fe,xe.props.children),Pe.return=be,be=Pe;break e}}else if(fe.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===ie&&gs(dt)===fe.type){o(be,fe.sibling),Pe=b(fe,xe.props),Sc(Pe,xe),Pe.return=be,be=Pe;break e}o(be,fe);break}else i(be,fe);fe=fe.sibling}xe.type===B?(Pe=wl(xe.props.children,be.mode,Pe,xe.key),Pe.return=be,be=Pe):(Pe=tt(xe.type,xe.key,xe.props,null,be.mode,Pe),Sc(Pe,xe),Pe.return=be,be=Pe)}return k(be);case L:e:{for(dt=xe.key;fe!==null;){if(fe.key===dt)if(fe.tag===4&&fe.stateNode.containerInfo===xe.containerInfo&&fe.stateNode.implementation===xe.implementation){o(be,fe.sibling),Pe=b(fe,xe.children||[]),Pe.return=be,be=Pe;break e}else{o(be,fe);break}else i(be,fe);fe=fe.sibling}Pe=ha(xe,be.mode,Pe),Pe.return=be,be=Pe}return k(be);case ie:return dt=xe._init,xe=dt(xe._payload),jn(be,fe,xe,Pe)}if(Qe(xe))return xt(be,fe,xe,Pe);if(_e(xe)){if(dt=_e(xe),typeof dt!="function")throw Error(f(150));return xe=dt.call(xe),wt(be,fe,xe,Pe)}if(typeof xe.then=="function")return jn(be,fe,Hp(xe),Pe);if(xe.$$typeof===V)return jn(be,fe,jd(be,xe),Pe);lr(be,xe)}return typeof xe=="string"&&xe!==""||typeof xe=="number"||typeof xe=="bigint"?(xe=""+xe,fe!==null&&fe.tag===6?(o(be,fe.sibling),Pe=b(fe,xe),Pe.return=be,be=Pe):(o(be,fe),Pe=gf(xe,be.mode,Pe),Pe.return=be,be=Pe),k(be)):o(be,fe)}return function(be,fe,xe,Pe){try{pi=0;var dt=jn(be,fe,xe,Pe);return tr=null,dt}catch(St){if(St===pr||St===qd)throw St;var rn=ci(29,St,null,be.mode);return rn.lanes=Pe,rn.return=be,rn}finally{}}}var ys=mi(!0),Vu=mi(!1),ki=Ee(null),Qa=null;function ll(a){var i=a.alternate;ne(kn,kn.current&1),ne(ki,a),Qa===null&&(i===null||hs.current!==null||i.memoizedState!==null)&&(Qa=a)}function Xu(a){if(a.tag===22){if(ne(kn,kn.current),ne(ki,a),Qa===null){var i=a.alternate;i!==null&&i.memoizedState!==null&&(Qa=a)}}else nu()}function nu(){ne(kn,kn.current),ne(ki,ki.current)}function Bl(a){Me(ki),Qa===a&&(Qa=null),Me(kn)}var kn=Ee(0);function Bf(a){for(var i=a;i!==null;){if(i.tag===13){var o=i.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||Rr(o)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function au(a,i,o,h){i=a.memoizedState,o=o(h,i),o=o==null?i:C({},i,o),a.memoizedState=o,a.lanes===0&&(a.updateQueue.baseState=o)}var Lf={enqueueSetState:function(a,i,o){a=a._reactInternals;var h=Qr(),b=Li(h);b.payload=i,o!=null&&(b.callback=o),i=Wl(a,b,h),i!==null&&(ul(i,a,h),pc(i,a,h))},enqueueReplaceState:function(a,i,o){a=a._reactInternals;var h=Qr(),b=Li(h);b.tag=1,b.payload=i,o!=null&&(b.callback=o),i=Wl(a,b,h),i!==null&&(ul(i,a,h),pc(i,a,h))},enqueueForceUpdate:function(a,i){a=a._reactInternals;var o=Qr(),h=Li(o);h.tag=2,i!=null&&(h.callback=i),i=Wl(a,h,o),i!==null&&(ul(i,a,o),pc(i,a,o))}};function Bo(a,i,o,h,b,T,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,T,k):i.prototype&&i.prototype.isPureReactComponent?!tl(o,h)||!tl(b,T):!0}function Ec(a,i,o,h){a=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(o,h),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(o,h),i.state!==a&&Lf.enqueueReplaceState(i,i.state,null)}function Lo(a,i){var o=i;if("ref"in i){o={};for(var h in i)h!=="ref"&&(o[h]=i[h])}if(a=a.defaultProps){o===i&&(o=C({},o));for(var b in a)o[b]===void 0&&(o[b]=a[b])}return o}var bs=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)};function xc(a){bs(a)}function nh(a){console.error(a)}function ah(a){bs(a)}function zf(a,i){try{var o=a.onUncaughtError;o(i.value,{componentStack:i.stack})}catch(h){setTimeout(function(){throw h})}}function ru(a,i,o){try{var h=a.onCaughtError;h(o.value,{componentStack:o.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function jp(a,i,o){return o=Li(o),o.tag=3,o.payload={element:null},o.callback=function(){zf(a,i)},o}function kp(a){return a=Li(a),a.tag=3,a}function qi(a,i,o,h){var b=o.type.getDerivedStateFromError;if(typeof b=="function"){var T=h.value;a.payload=function(){return b(T)},a.callback=function(){ru(i,o,h)}}var k=o.stateNode;k!==null&&typeof k.componentDidCatch=="function"&&(a.callback=function(){ru(i,o,h),typeof b!="function"&&(ws===null?ws=new Set([this]):ws.add(this));var P=h.stack;this.componentDidCatch(h.value,{componentStack:P!==null?P:""})})}function O0(a,i,o,h,b){if(o.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(i=o.alternate,i!==null&&Sf(i,o,b,!0),o=ki.current,o!==null){switch(o.tag){case 13:return Qa===null?Nc():o.alternate===null&&qa===0&&(qa=3),o.flags&=-257,o.flags|=65536,o.lanes=b,h===yp?o.flags|=16384:(i=o.updateQueue,i===null?o.updateQueue=new Set([h]):i.add(h),cm(a,h,b)),!1;case 22:return o.flags|=65536,h===yp?o.flags|=16384:(i=o.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([h])},o.updateQueue=i):(o=i.retryQueue,o===null?i.retryQueue=new Set([h]):o.add(h)),cm(a,h,b)),!1}throw Error(f(435,o.tag))}return cm(a,h,b),Nc(),!1}if(sn)return i=ki.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=b,h!==Hu&&(a=Error(f(422),{cause:h}),Co(Yr(a,o)))):(h!==Hu&&(i=Error(f(423),{cause:h}),Co(Yr(i,o))),a=a.current.alternate,a.flags|=65536,b&=-b,a.lanes|=b,h=Yr(h,o),b=jp(a.stateNode,h,b),eu(a,b),qa!==4&&(qa=2)),!1;var T=Error(f(520),{cause:h});if(T=Yr(T,o),Gf===null?Gf=[T]:Gf.push(T),qa!==4&&(qa=2),i===null)return!0;h=Yr(h,o),o=i;do{switch(o.tag){case 3:return o.flags|=65536,a=b&-b,o.lanes|=a,a=jp(o.stateNode,h,a),eu(o,a),!1;case 1:if(i=o.type,T=o.stateNode,(o.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(ws===null||!ws.has(T))))return o.flags|=65536,b&=-b,o.lanes|=b,b=kp(b),qi(b,a,o,h),eu(o,b),!1}o=o.return}while(o!==null);return!1}var ja=Error(f(461)),ur=!1;function ma(a,i,o,h){i.child=a===null?Vu(i,null,o,h):ys(i,a.child,o,h)}function qp(a,i,o,h,b){o=o.render;var T=i.ref;if("ref"in h){var k={};for(var P in h)P!=="ref"&&(k[P]=h[P])}else k=h;return ss(i),h=Ap(a,i,o,k,T,b),P=Cp(),a!==null&&!ur?(Fu(a,i,b),Pu(a,i,b)):(sn&&P&&fc(i),i.flags|=1,ma(a,i,h,b),i.child)}function iu(a,i,o,h,b){if(a===null){var T=o.type;return typeof T=="function"&&!To(T)&&T.defaultProps===void 0&&o.compare===null?(i.tag=15,i.type=T,zo(a,i,T,h,b)):(a=tt(o.type,null,h,i,i.mode,b),a.ref=i.ref,a.return=i,i.child=a)}if(T=a.child,!zl(a,b)){var k=T.memoizedProps;if(o=o.compare,o=o!==null?o:tl,o(k,h)&&a.ref===i.ref)return Pu(a,i,b)}return i.flags|=1,a=Tr(T,h),a.ref=i.ref,a.return=i,i.child=a}function zo(a,i,o,h,b){if(a!==null){var T=a.memoizedProps;if(tl(T,h)&&a.ref===i.ref)if(ur=!1,i.pendingProps=h=T,zl(a,b))(a.flags&131072)!==0&&(ur=!0);else return i.lanes=a.lanes,Pu(a,i,b)}return Tc(a,i,o,h,b)}function Ac(a,i,o){var h=i.pendingProps,b=h.children,T=a!==null?a.memoizedState:null;if(h.mode==="hidden"){if((i.flags&128)!==0){if(h=T!==null?T.baseLanes|o:o,a!==null){for(b=i.child=a.child,T=0;b!==null;)T=T|b.lanes|b.childLanes,b=b.sibling;i.childLanes=T&~h}else i.childLanes=0,i.child=null;return Ll(a,i,h,o)}if((o&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},a!==null&&dc(i,T!==null?T.cachePool:null),T!==null?Ea(i,T):mc(),Xu(i);else return i.lanes=i.childLanes=536870912,Ll(a,i,T!==null?T.baseLanes|o:o,o)}else T!==null?(dc(i,T.cachePool),Ea(i,T),nu(),i.memoizedState=null):(a!==null&&dc(i,null),mc(),nu());return ma(a,i,b,o),i.child}function Ll(a,i,o,h){var b=Jl();return b=b===null?null:{parent:na._currentValue,pool:b},i.memoizedState={baseLanes:o,cachePool:b},a!==null&&dc(i,null),mc(),Xu(i),a!==null&&Sf(a,i,h,!0),null}function At(a,i){var o=i.ref;if(o===null)a!==null&&a.ref!==null&&(i.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(f(284));(a===null||a.ref!==o)&&(i.flags|=4194816)}}function Tc(a,i,o,h,b){return ss(i),o=Ap(a,i,o,h,void 0,b),h=Cp(),a!==null&&!ur?(Fu(a,i,b),Pu(a,i,b)):(sn&&h&&fc(i),i.flags|=1,ma(a,i,o,b),i.child)}function rh(a,i,o,h,b,T){return ss(i),i.updateQueue=null,o=S0(i,h,o,b),ps(a),h=Cp(),a!==null&&!ur?(Fu(a,i,T),Pu(a,i,T)):(sn&&h&&fc(i),i.flags|=1,ma(a,i,o,T),i.child)}function $u(a,i,o,h,b){if(ss(i),i.stateNode===null){var T=sc,k=o.contextType;typeof k=="object"&&k!==null&&(T=Ca(k)),T=new o(h,T),i.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=Lf,i.stateNode=T,T._reactInternals=i,T=i.stateNode,T.props=h,T.state=i.memoizedState,T.refs={},ds(i),k=o.contextType,T.context=typeof k=="object"&&k!==null?Ca(k):sc,T.state=i.memoizedState,k=o.getDerivedStateFromProps,typeof k=="function"&&(au(i,o,k,h),T.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof T.getSnapshotBeforeUpdate=="function"||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(k=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),k!==T.state&&Lf.enqueueReplaceState(T,T.state,null),Wa(i,h,T,b),Ml(),T.state=i.memoizedState),typeof T.componentDidMount=="function"&&(i.flags|=4194308),h=!0}else if(a===null){T=i.stateNode;var P=i.memoizedProps,ae=Lo(o,P);T.props=ae;var Ae=T.context,Xe=o.contextType;k=sc,typeof Xe=="object"&&Xe!==null&&(k=Ca(Xe));var Ze=o.getDerivedStateFromProps;Xe=typeof Ze=="function"||typeof T.getSnapshotBeforeUpdate=="function",P=i.pendingProps!==P,Xe||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(P||Ae!==k)&&Ec(i,T,h,k),Rl=!1;var Oe=i.memoizedState;T.state=Oe,Wa(i,h,T,b),Ml(),Ae=i.memoizedState,P||Oe!==Ae||Rl?(typeof Ze=="function"&&(au(i,o,Ze,h),Ae=i.memoizedState),(ae=Rl||Bo(i,o,ae,h,Oe,Ae,k))?(Xe||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(i.flags|=4194308)):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=h,i.memoizedState=Ae),T.props=h,T.state=Ae,T.context=k,h=ae):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),h=!1)}else{T=i.stateNode,hc(a,i),k=i.memoizedProps,Xe=Lo(o,k),T.props=Xe,Ze=i.pendingProps,Oe=T.context,Ae=o.contextType,ae=sc,typeof Ae=="object"&&Ae!==null&&(ae=Ca(Ae)),P=o.getDerivedStateFromProps,(Ae=typeof P=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(k!==Ze||Oe!==ae)&&Ec(i,T,h,ae),Rl=!1,Oe=i.memoizedState,T.state=Oe,Wa(i,h,T,b),Ml();var Te=i.memoizedState;k!==Ze||Oe!==Te||Rl||a!==null&&a.dependencies!==null&&Hd(a.dependencies)?(typeof P=="function"&&(au(i,o,P,h),Te=i.memoizedState),(Xe=Rl||Bo(i,o,Xe,h,Oe,Te,ae)||a!==null&&a.dependencies!==null&&Hd(a.dependencies))?(Ae||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(h,Te,ae),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(h,Te,ae)),typeof T.componentDidUpdate=="function"&&(i.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof T.componentDidUpdate!="function"||k===a.memoizedProps&&Oe===a.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||k===a.memoizedProps&&Oe===a.memoizedState||(i.flags|=1024),i.memoizedProps=h,i.memoizedState=Te),T.props=h,T.state=Te,T.context=ae,h=Xe):(typeof T.componentDidUpdate!="function"||k===a.memoizedProps&&Oe===a.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||k===a.memoizedProps&&Oe===a.memoizedState||(i.flags|=1024),h=!1)}return T=h,At(a,i),h=(i.flags&128)!==0,T||h?(T=i.stateNode,o=h&&typeof o.getDerivedStateFromError!="function"?null:T.render(),i.flags|=1,a!==null&&h?(i.child=ys(i,a.child,null,b),i.child=ys(i,null,o,b)):ma(a,i,o,b),i.memoizedState=T.state,a=i.child):a=Pu(a,i,b),a}function Fp(a,i,o,h){return bf(),i.flags|=256,ma(a,i,o,h),i.child}var Uf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yp(a){return{baseLanes:a,cachePool:vp()}}function mr(a,i,o){return a=a!==null?a.childLanes&~o:0,i&&(a|=Hl),a}function D0(a,i,o){var h=i.pendingProps,b=!1,T=(i.flags&128)!==0,k;if((k=T)||(k=a!==null&&a.memoizedState===null?!1:(kn.current&2)!==0),k&&(b=!0,i.flags&=-129),k=(i.flags&32)!==0,i.flags&=-33,a===null){if(sn){if(b?ll(i):nu(),sn){var P=_n,ae;if(ae=P){e:{for(ae=P,P=Ir;ae.nodeType!==8;){if(!P){P=null;break e}if(ae=cu(ae.nextSibling),ae===null){P=null;break e}}P=ae}P!==null?(i.memoizedState={dehydrated:P,treeContext:ta!==null?{id:pa,overflow:Ua}:null,retryLane:536870912,hydrationErrors:null},ae=ci(18,null,null,0),ae.stateNode=P,ae.return=i,i.child=ae,Sa=i,_n=null,ae=!0):ae=!1}ae||Ni(i)}if(P=i.memoizedState,P!==null&&(P=P.dehydrated,P!==null))return Rr(P)?i.lanes=32:i.lanes=536870912,null;Bl(i)}return P=h.children,h=h.fallback,b?(nu(),b=i.mode,P=ih({mode:"hidden",children:P},b),h=wl(h,b,o,null),P.return=i,h.return=i,P.sibling=h,i.child=P,b=i.child,b.memoizedState=Yp(o),b.childLanes=mr(a,k,o),i.memoizedState=Uf,h):(ll(i),Gp(i,P))}if(ae=a.memoizedState,ae!==null&&(P=ae.dehydrated,P!==null)){if(T)i.flags&256?(ll(i),i.flags&=-257,i=Ss(a,i,o)):i.memoizedState!==null?(nu(),i.child=a.child,i.flags|=128,i=null):(nu(),b=h.fallback,P=i.mode,h=ih({mode:"visible",children:h.children},P),b=wl(b,P,o,null),b.flags|=2,h.return=i,b.return=i,h.sibling=b,i.child=h,ys(i,a.child,null,o),h=i.child,h.memoizedState=Yp(o),h.childLanes=mr(a,k,o),i.memoizedState=Uf,i=b);else if(ll(i),Rr(P)){if(k=P.nextSibling&&P.nextSibling.dataset,k)var Ae=k.dgst;k=Ae,h=Error(f(419)),h.stack="",h.digest=k,Co({value:h,source:null,stack:null}),i=Ss(a,i,o)}else if(ur||Sf(a,i,o,!1),k=(o&a.childLanes)!==0,ur||k){if(k=ra,k!==null&&(h=o&-o,h=(h&42)!==0?1:Wn(h),h=(h&(k.suspendedLanes|o))!==0?0:h,h!==0&&h!==ae.retryLane))throw ae.retryLane=h,Zl(a,h),ul(k,a,h),ja;P.data==="$?"||Nc(),i=Ss(a,i,o)}else P.data==="$?"?(i.flags|=192,i.child=a.child,i=null):(a=ae.treeContext,_n=cu(P.nextSibling),Sa=i,sn=!0,Gr=null,Ir=!1,a!==null&&(Ol[Mi++]=pa,Ol[Mi++]=Ua,Ol[Mi++]=ta,pa=a.id,Ua=a.overflow,ta=i),i=Gp(i,h.children),i.flags|=4096);return i}return b?(nu(),b=h.fallback,P=i.mode,ae=a.child,Ae=ae.sibling,h=Tr(ae,{mode:"hidden",children:h.children}),h.subtreeFlags=ae.subtreeFlags&65011712,Ae!==null?b=Tr(Ae,b):(b=wl(b,P,o,null),b.flags|=2),b.return=i,h.return=i,h.sibling=b,i.child=h,h=b,b=i.child,P=a.child.memoizedState,P===null?P=Yp(o):(ae=P.cachePool,ae!==null?(Ae=na._currentValue,ae=ae.parent!==Ae?{parent:Ae,pool:Ae}:ae):ae=vp(),P={baseLanes:P.baseLanes|o,cachePool:ae}),b.memoizedState=P,b.childLanes=mr(a,k,o),i.memoizedState=Uf,h):(ll(i),o=a.child,a=o.sibling,o=Tr(o,{mode:"visible",children:h.children}),o.return=i,o.sibling=null,a!==null&&(k=i.deletions,k===null?(i.deletions=[a],i.flags|=16):k.push(a)),i.child=o,i.memoizedState=null,o)}function Gp(a,i){return i=ih({mode:"visible",children:i},a.mode),i.return=a,a.child=i}function ih(a,i){return a=ci(22,a,null,i),a.lanes=0,a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},a}function Ss(a,i,o){return ys(i,a.child,null,o),a=Gp(i,i.pendingProps.children),a.flags|=2,i.memoizedState=null,a}function Hf(a,i,o){a.lanes|=i;var h=a.alternate;h!==null&&(h.lanes|=i),fi(a.return,i,o)}function Ip(a,i,o,h,b){var T=a.memoizedState;T===null?a.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:h,tail:o,tailMode:b}:(T.isBackwards=i,T.rendering=null,T.renderingStartTime=0,T.last=h,T.tail=o,T.tailMode=b)}function Vp(a,i,o){var h=i.pendingProps,b=h.revealOrder,T=h.tail;if(ma(a,i,h.children,o),h=kn.current,(h&2)!==0)h=h&1|2,i.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=i.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Hf(a,o,i);else if(a.tag===19)Hf(a,o,i);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}h&=1}switch(ne(kn,h),b){case"forwards":for(o=i.child,b=null;o!==null;)a=o.alternate,a!==null&&Bf(a)===null&&(b=o),o=o.sibling;o=b,o===null?(b=i.child,i.child=null):(b=o.sibling,o.sibling=null),Ip(i,!1,b,o,T);break;case"backwards":for(o=null,b=i.child,i.child=null;b!==null;){if(a=b.alternate,a!==null&&Bf(a)===null){i.child=b;break}a=b.sibling,b.sibling=o,o=b,b=a}Ip(i,!0,o,null,T);break;case"together":Ip(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Pu(a,i,o){if(a!==null&&(i.dependencies=a.dependencies),ko|=i.lanes,(o&i.childLanes)===0)if(a!==null){if(Sf(a,i,o,!1),(o&i.childLanes)===0)return null}else return null;if(a!==null&&i.child!==a.child)throw Error(f(153));if(i.child!==null){for(a=i.child,o=Tr(a,a.pendingProps),i.child=o,o.return=i;a.sibling!==null;)a=a.sibling,o=o.sibling=Tr(a,a.pendingProps),o.return=i;o.sibling=null}return i.child}function zl(a,i){return(a.lanes&i)!==0?!0:(a=a.dependencies,!!(a!==null&&Hd(a)))}function $r(a,i,o){switch(i.tag){case 3:Ke(i,i.stateNode.containerInfo),Bi(i,na,a.memoizedState.cache),bf();break;case 27:case 5:Ce(i);break;case 4:Ke(i,i.stateNode.containerInfo);break;case 10:Bi(i,i.type,i.memoizedProps.value);break;case 13:var h=i.memoizedState;if(h!==null)return h.dehydrated!==null?(ll(i),i.flags|=128,null):(o&i.child.childLanes)!==0?D0(a,i,o):(ll(i),a=Pu(a,i,o),a!==null?a.sibling:null);ll(i);break;case 19:var b=(a.flags&128)!==0;if(h=(o&i.childLanes)!==0,h||(Sf(a,i,o,!1),h=(o&i.childLanes)!==0),b){if(h)return Vp(a,i,o);i.flags|=128}if(b=i.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),ne(kn,kn.current),h)break;return null;case 22:case 23:return i.lanes=0,Ac(a,i,o);case 24:Bi(i,na,a.memoizedState.cache)}return Pu(a,i,o)}function Xp(a,i,o){if(a!==null)if(a.memoizedProps!==i.pendingProps)ur=!0;else{if(!zl(a,o)&&(i.flags&128)===0)return ur=!1,$r(a,i,o);ur=(a.flags&131072)!==0}else ur=!1,sn&&(i.flags&1048576)!==0&&zd(i,cc,i.index);switch(i.lanes=0,i.tag){case 16:e:{a=i.pendingProps;var h=i.elementType,b=h._init;if(h=b(h._payload),i.type=h,typeof h=="function")To(h)?(a=Lo(h,a),i.tag=1,i=$u(null,i,h,a,o)):(i.tag=0,i=Tc(null,i,h,a,o));else{if(h!=null){if(b=h.$$typeof,b===U){i.tag=11,i=qp(null,i,h,a,o);break e}else if(b===Y){i.tag=14,i=iu(null,i,h,a,o);break e}}throw i=Ue(h)||h,Error(f(306,i,""))}}return i;case 0:return Tc(a,i,i.type,i.pendingProps,o);case 1:return h=i.type,b=Lo(h,i.pendingProps),$u(a,i,h,b,o);case 3:e:{if(Ke(i,i.stateNode.containerInfo),a===null)throw Error(f(387));h=i.pendingProps;var T=i.memoizedState;b=T.element,hc(a,i),Wa(i,h,null,o);var k=i.memoizedState;if(h=k.cache,Bi(i,na,h),h!==T.cache&&cn(i,[na],o,!0),Ml(),h=k.element,T.isDehydrated)if(T={element:h,isDehydrated:!1,cache:k.cache},i.updateQueue.baseState=T,i.memoizedState=T,i.flags&256){i=Fp(a,i,h,o);break e}else if(h!==b){b=Yr(Error(f(424)),i),Co(b),i=Fp(a,i,h,o);break e}else{switch(a=i.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(_n=cu(a.firstChild),Sa=i,sn=!0,Gr=null,Ir=!0,o=Vu(i,null,h,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(bf(),h===b){i=Pu(a,i,o);break e}ma(a,i,h,o)}i=i.child}return i;case 26:return At(a,i),a===null?(o=Lg(i.type,null,i.pendingProps,null))?i.memoizedState=o:sn||(o=i.type,a=i.pendingProps,h=yi(Ye.current).createElement(o),h[zn]=i,h[Bn]=a,Ht(h,o,a),Va(h),i.stateNode=h):i.memoizedState=Lg(i.type,a.memoizedProps,i.pendingProps,a.memoizedState),null;case 27:return Ce(i),a===null&&sn&&(h=i.stateNode=ct(i.type,i.pendingProps,Ye.current),Sa=i,Ir=!0,b=_n,jl(i.type)?(Ms=b,_n=cu(h.firstChild)):_n=b),ma(a,i,i.pendingProps.children,o),At(a,i),a===null&&(i.flags|=4194304),i.child;case 5:return a===null&&sn&&((b=h=_n)&&(h=zc(h,i.type,i.pendingProps,Ir),h!==null?(i.stateNode=h,Sa=i,_n=cu(h.firstChild),Ir=!1,b=!0):b=!1),b||Ni(i)),Ce(i),b=i.type,T=i.pendingProps,k=a!==null?a.memoizedProps:null,h=T.children,ou(b,T)?h=null:k!==null&&ou(b,k)&&(i.flags|=32),i.memoizedState!==null&&(b=Ap(a,i,Tp,null,null,o),Si._currentValue=b),At(a,i),ma(a,i,h,o),i.child;case 6:return a===null&&sn&&((a=o=_n)&&(o=gm(o,i.pendingProps,Ir),o!==null?(i.stateNode=o,Sa=i,_n=null,a=!0):a=!1),a||Ni(i)),null;case 13:return D0(a,i,o);case 4:return Ke(i,i.stateNode.containerInfo),h=i.pendingProps,a===null?i.child=ys(i,null,h,o):ma(a,i,h,o),i.child;case 11:return qp(a,i,i.type,i.pendingProps,o);case 7:return ma(a,i,i.pendingProps,o),i.child;case 8:return ma(a,i,i.pendingProps.children,o),i.child;case 12:return ma(a,i,i.pendingProps.children,o),i.child;case 10:return h=i.pendingProps,Bi(i,i.type,h.value),ma(a,i,h.children,o),i.child;case 9:return b=i.type._context,h=i.pendingProps.children,ss(i),b=Ca(b),h=h(b),i.flags|=1,ma(a,i,h,o),i.child;case 14:return iu(a,i,i.type,i.pendingProps,o);case 15:return zo(a,i,i.type,i.pendingProps,o);case 19:return Vp(a,i,o);case 31:return h=i.pendingProps,o=i.mode,h={mode:h.mode,children:h.children},a===null?(o=ih(h,o),o.ref=i.ref,i.child=o,o.return=i,i=o):(o=Tr(a.child,h),o.ref=i.ref,i.child=o,o.return=i,i=o),i;case 22:return Ac(a,i,o);case 24:return ss(i),h=Ca(na),a===null?(b=Jl(),b===null&&(b=ra,T=xf(),b.pooledCache=T,T.refCount++,T!==null&&(b.pooledCacheLanes|=o),b=T),i.memoizedState={parent:h,cache:b},ds(i),Bi(i,na,b)):((a.lanes&o)!==0&&(hc(a,i),Wa(i,null,null,o),Ml()),b=a.memoizedState,T=i.memoizedState,b.parent!==h?(b={parent:h,cache:h},i.memoizedState=b,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=b),Bi(i,na,h)):(h=T.cache,Bi(i,na,h),h!==b.cache&&cn(i,[na],o,!0))),ma(a,i,i.pendingProps.children,o),i.child;case 29:throw i.pendingProps}throw Error(f(156,i.tag))}function Qu(a){a.flags|=4}function Es(a,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!ar(i)){if(i=ki.current,i!==null&&((vn&4194048)===vn?Qa!==null:(vn&62914560)!==vn&&(vn&536870912)===0||i!==Qa))throw fs=yp,gp;a.flags|=8192}}function lh(a,i){i!==null&&(a.flags|=4),a.flags&16384&&(i=a.tag!==22?Xl():536870912,a.lanes|=i,Yf|=i)}function jf(a,i){if(!sn)switch(a.tailMode){case"hidden":i=a.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?a.tail=null:o.sibling=null;break;case"collapsed":o=a.tail;for(var h=null;o!==null;)o.alternate!==null&&(h=o),o=o.sibling;h===null?i||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function Ct(a){var i=a.alternate!==null&&a.alternate.child===a.child,o=0,h=0;if(i)for(var b=a.child;b!==null;)o|=b.lanes|b.childLanes,h|=b.subtreeFlags&65011712,h|=b.flags&65011712,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)o|=b.lanes|b.childLanes,h|=b.subtreeFlags,h|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=h,a.childLanes=o,i}function $p(a,i,o){var h=i.pendingProps;switch(Dl(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(i),null;case 1:return Ct(i),null;case 3:return o=i.stateNode,h=null,a!==null&&(h=a.memoizedState.cache),i.memoizedState.cache!==h&&(i.flags|=2048),al(na),Ne(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(a===null||a.child===null)&&(yf(i)?Qu(i):a===null||a.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,v0())),Ct(i),null;case 26:return o=i.memoizedState,a===null?(Qu(i),o!==null?(Ct(i),Es(i,o)):(Ct(i),i.flags&=-16777217)):o?o!==a.memoizedState?(Qu(i),Ct(i),Es(i,o)):(Ct(i),i.flags&=-16777217):(a.memoizedProps!==h&&Qu(i),Ct(i),i.flags&=-16777217),null;case 27:nt(i),o=Ye.current;var b=i.type;if(a!==null&&i.stateNode!=null)a.memoizedProps!==h&&Qu(i);else{if(!h){if(i.stateNode===null)throw Error(f(166));return Ct(i),null}a=he.current,yf(i)?Ud(i):(a=ct(b,h,o),i.stateNode=a,Qu(i))}return Ct(i),null;case 5:if(nt(i),o=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==h&&Qu(i);else{if(!h){if(i.stateNode===null)throw Error(f(166));return Ct(i),null}if(a=he.current,yf(i))Ud(i);else{switch(b=yi(Ye.current),a){case 1:a=b.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=b.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=b.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=b.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":a=b.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof h.is=="string"?b.createElement("select",{is:h.is}):b.createElement("select"),h.multiple?a.multiple=!0:h.size&&(a.size=h.size);break;default:a=typeof h.is=="string"?b.createElement(o,{is:h.is}):b.createElement(o)}}a[zn]=i,a[Bn]=h;e:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)a.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break e;for(;b.sibling===null;){if(b.return===null||b.return===i)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=a;e:switch(Ht(a,o,h),o){case"button":case"input":case"select":case"textarea":a=!!h.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Qu(i)}}return Ct(i),i.flags&=-16777217,null;case 6:if(a&&i.stateNode!=null)a.memoizedProps!==h&&Qu(i);else{if(typeof h!="string"&&i.stateNode===null)throw Error(f(166));if(a=Ye.current,yf(i)){if(a=i.stateNode,o=i.memoizedProps,h=null,b=Sa,b!==null)switch(b.tag){case 27:case 5:h=b.memoizedProps}a[zn]=i,a=!!(a.nodeValue===o||h!==null&&h.suppressHydrationWarning===!0||ev(a.nodeValue,o)),a||Ni(i)}else a=yi(a).createTextNode(h),a[zn]=i,i.stateNode=a}return Ct(i),null;case 13:if(h=i.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(b=yf(i),h!==null&&h.dehydrated!==null){if(a===null){if(!b)throw Error(f(318));if(b=i.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(f(317));b[zn]=i}else bf(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ct(i),b=!1}else b=v0(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=b),b=!0;if(!b)return i.flags&256?(Bl(i),i):(Bl(i),null)}if(Bl(i),(i.flags&128)!==0)return i.lanes=o,i;if(o=h!==null,a=a!==null&&a.memoizedState!==null,o){h=i.child,b=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(b=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==b&&(h.flags|=2048)}return o!==a&&o&&(i.child.flags|=8192),lh(i,i.updateQueue),Ct(i),null;case 4:return Ne(),a===null&&W0(i.stateNode.containerInfo),Ct(i),null;case 10:return al(i.type),Ct(i),null;case 19:if(Me(kn),b=i.memoizedState,b===null)return Ct(i),null;if(h=(i.flags&128)!==0,T=b.rendering,T===null)if(h)jf(b,!1);else{if(qa!==0||a!==null&&(a.flags&128)!==0)for(a=i.child;a!==null;){if(T=Bf(a),T!==null){for(i.flags|=128,jf(b,!1),a=T.updateQueue,i.updateQueue=a,lh(i,a),i.subtreeFlags=0,a=o,o=i.child;o!==null;)It(o,a),o=o.sibling;return ne(kn,kn.current&1|2),i.child}a=a.sibling}b.tail!==null&&Ut()>If&&(i.flags|=128,h=!0,jf(b,!1),i.lanes=4194304)}else{if(!h)if(a=Bf(T),a!==null){if(i.flags|=128,h=!0,a=a.updateQueue,i.updateQueue=a,lh(i,a),jf(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!sn)return Ct(i),null}else 2*Ut()-b.renderingStartTime>If&&o!==536870912&&(i.flags|=128,h=!0,jf(b,!1),i.lanes=4194304);b.isBackwards?(T.sibling=i.child,i.child=T):(a=b.last,a!==null?a.sibling=T:i.child=T,b.last=T)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=Ut(),i.sibling=null,a=kn.current,ne(kn,h?a&1|2:a&1),i):(Ct(i),null);case 22:case 23:return Bl(i),Tf(),h=i.memoizedState!==null,a!==null?a.memoizedState!==null!==h&&(i.flags|=8192):h&&(i.flags|=8192),h?(o&536870912)!==0&&(i.flags&128)===0&&(Ct(i),i.subtreeFlags&6&&(i.flags|=8192)):Ct(i),o=i.updateQueue,o!==null&&lh(i,o.retryQueue),o=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),h=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(h=i.memoizedState.cachePool.pool),h!==o&&(i.flags|=2048),a!==null&&Me(qu),null;case 24:return o=null,a!==null&&(o=a.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),al(na),Ct(i),null;case 25:return null;case 30:return null}throw Error(f(156,i.tag))}function Eg(a,i){switch(Dl(i),i.tag){case 1:return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 3:return al(na),Ne(),a=i.flags,(a&65536)!==0&&(a&128)===0?(i.flags=a&-65537|128,i):null;case 26:case 27:case 5:return nt(i),null;case 13:if(Bl(i),a=i.memoizedState,a!==null&&a.dehydrated!==null){if(i.alternate===null)throw Error(f(340));bf()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 19:return Me(kn),null;case 4:return Ne(),null;case 10:return al(i.type),null;case 22:case 23:return Bl(i),Tf(),a!==null&&Me(qu),a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 24:return al(na),null;case 25:return null;default:return null}}function _0(a,i){switch(Dl(i),i.tag){case 3:al(na),Ne();break;case 26:case 27:case 5:nt(i);break;case 4:Ne();break;case 13:Bl(i);break;case 19:Me(kn);break;case 10:al(i.type);break;case 22:case 23:Bl(i),Tf(),a!==null&&Me(qu);break;case 24:al(na)}}function uh(a,i){try{var o=i.updateQueue,h=o!==null?o.lastEffect:null;if(h!==null){var b=h.next;o=b;do{if((o.tag&a)===a){h=void 0;var T=o.create,k=o.inst;h=T(),k.destroy=h}o=o.next}while(o!==b)}}catch(P){Pn(i,i.return,P)}}function xs(a,i,o){try{var h=i.updateQueue,b=h!==null?h.lastEffect:null;if(b!==null){var T=b.next;h=T;do{if((h.tag&a)===a){var k=h.inst,P=k.destroy;if(P!==void 0){k.destroy=void 0,b=i;var ae=o,Ae=P;try{Ae()}catch(Xe){Pn(b,ae,Xe)}}}h=h.next}while(h!==T)}}catch(Xe){Pn(i,i.return,Xe)}}function Pp(a){var i=a.updateQueue;if(i!==null){var o=a.stateNode;try{Af(i,o)}catch(h){Pn(a,a.return,h)}}}function Qp(a,i,o){o.props=Lo(a.type,a.memoizedProps),o.state=a.memoizedState;try{o.componentWillUnmount()}catch(h){Pn(a,i,h)}}function Cc(a,i){try{var o=a.ref;if(o!==null){switch(a.tag){case 26:case 27:case 5:var h=a.stateNode;break;case 30:h=a.stateNode;break;default:h=a.stateNode}typeof o=="function"?a.refCleanup=o(h):o.current=h}}catch(b){Pn(a,i,b)}}function lu(a,i){var o=a.ref,h=a.refCleanup;if(o!==null)if(typeof h=="function")try{h()}catch(b){Pn(a,i,b)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(b){Pn(a,i,b)}else o.current=null}function As(a){var i=a.type,o=a.memoizedProps,h=a.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":o.autoFocus&&h.focus();break e;case"img":o.src?h.src=o.src:o.srcSet&&(h.srcset=o.srcSet)}}catch(b){Pn(a,a.return,b)}}function Zp(a,i,o){try{var h=a.stateNode;o1(h,a.type,o,i),h[Bn]=i}catch(b){Pn(a,a.return,b)}}function kf(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&jl(a.type)||a.tag===4}function Fi(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||kf(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&jl(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Ts(a,i,o){var h=a.tag;if(h===5||h===6)a=a.stateNode,i?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(a,i):(i=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,i.appendChild(a),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=mm));else if(h!==4&&(h===27&&jl(a.type)&&(o=a.stateNode,i=null),a=a.child,a!==null))for(Ts(a,i,o),a=a.sibling;a!==null;)Ts(a,i,o),a=a.sibling}function oh(a,i,o){var h=a.tag;if(h===5||h===6)a=a.stateNode,i?o.insertBefore(a,i):o.appendChild(a);else if(h!==4&&(h===27&&jl(a.type)&&(o=a.stateNode),a=a.child,a!==null))for(oh(a,i,o),a=a.sibling;a!==null;)oh(a,i,o),a=a.sibling}function wc(a){var i=a.stateNode,o=a.memoizedProps;try{for(var h=a.type,b=i.attributes;b.length;)i.removeAttributeNode(b[0]);Ht(i,h,o),i[zn]=a,i[Bn]=o}catch(T){Pn(a,a.return,T)}}var uu=!1,qn=!1,Zu=!1,Kp=typeof WeakSet=="function"?WeakSet:Set,nr=null;function R0(a,i){if(a=a.containerInfo,sl=Th,a=h0(a),Nd(a)){if("selectionStart"in a)var o={start:a.selectionStart,end:a.selectionEnd};else e:{o=(o=a.ownerDocument)&&o.defaultView||window;var h=o.getSelection&&o.getSelection();if(h&&h.rangeCount!==0){o=h.anchorNode;var b=h.anchorOffset,T=h.focusNode;h=h.focusOffset;try{o.nodeType,T.nodeType}catch{o=null;break e}var k=0,P=-1,ae=-1,Ae=0,Xe=0,Ze=a,Oe=null;t:for(;;){for(var Te;Ze!==o||b!==0&&Ze.nodeType!==3||(P=k+b),Ze!==T||h!==0&&Ze.nodeType!==3||(ae=k+h),Ze.nodeType===3&&(k+=Ze.nodeValue.length),(Te=Ze.firstChild)!==null;)Oe=Ze,Ze=Te;for(;;){if(Ze===a)break t;if(Oe===o&&++Ae===b&&(P=k),Oe===T&&++Xe===h&&(ae=k),(Te=Ze.nextSibling)!==null)break;Ze=Oe,Oe=Ze.parentNode}Ze=Te}o=P===-1||ae===-1?null:{start:P,end:ae}}else o=null}o=o||{start:0,end:0}}else o=null;for(Jf={focusedElem:a,selectionRange:o},Th=!1,nr=i;nr!==null;)if(i=nr,a=i.child,(i.subtreeFlags&1024)!==0&&a!==null)a.return=i,nr=a;else for(;nr!==null;){switch(i=nr,T=i.alternate,a=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((a&1024)!==0&&T!==null){a=void 0,o=i,b=T.memoizedProps,T=T.memoizedState,h=o.stateNode;try{var xt=Lo(o.type,b,o.elementType===o.type);a=h.getSnapshotBeforeUpdate(xt,T),h.__reactInternalSnapshotBeforeUpdate=a}catch(wt){Pn(o,o.return,wt)}}break;case 3:if((a&1024)!==0){if(a=i.stateNode.containerInfo,o=a.nodeType,o===9)Sh(a);else if(o===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Sh(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(f(163))}if(a=i.sibling,a!==null){a.return=i.return,nr=a;break}nr=i.return}}function M0(a,i,o){var h=o.flags;switch(o.tag){case 0:case 11:case 15:Ju(a,o),h&4&&uh(5,o);break;case 1:if(Ju(a,o),h&4)if(a=o.stateNode,i===null)try{a.componentDidMount()}catch(k){Pn(o,o.return,k)}else{var b=Lo(o.type,i.memoizedProps);i=i.memoizedState;try{a.componentDidUpdate(b,i,a.__reactInternalSnapshotBeforeUpdate)}catch(k){Pn(o,o.return,k)}}h&64&&Pp(o),h&512&&Cc(o,o.return);break;case 3:if(Ju(a,o),h&64&&(a=o.updateQueue,a!==null)){if(i=null,o.child!==null)switch(o.child.tag){case 27:case 5:i=o.child.stateNode;break;case 1:i=o.child.stateNode}try{Af(a,i)}catch(k){Pn(o,o.return,k)}}break;case 27:i===null&&h&4&&wc(o);case 26:case 5:Ju(a,o),i===null&&h&4&&As(o),h&512&&Cc(o,o.return);break;case 12:Ju(a,o);break;case 13:Ju(a,o),h&4&&Jp(a,o),h&64&&(a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(o=fm.bind(null,o),td(a,o))));break;case 22:if(h=o.memoizedState!==null||uu,!h){i=i!==null&&i.memoizedState!==null||qn,b=uu;var T=qn;uu=h,(qn=i)&&!T?Uo(a,o,(o.subtreeFlags&8772)!==0):Ju(a,o),uu=b,qn=T}break;case 30:break;default:Ju(a,o)}}function N0(a){var i=a.alternate;i!==null&&(a.alternate=null,N0(i)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(i=a.stateNode,i!==null&&Au(i)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var wa=null,wr=!1;function Ku(a,i,o){for(o=o.child;o!==null;)fn(a,i,o),o=o.sibling}function fn(a,i,o){if(ut&&typeof ut.onCommitFiberUnmount=="function")try{ut.onCommitFiberUnmount(Bt,o)}catch{}switch(o.tag){case 26:qn||lu(o,i),Ku(a,i,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:qn||lu(o,i);var h=wa,b=wr;jl(o.type)&&(wa=o.stateNode,wr=!1),Ku(a,i,o),Vi(o.stateNode),wa=h,wr=b;break;case 5:qn||lu(o,i);case 6:if(h=wa,b=wr,wa=null,Ku(a,i,o),wa=h,wr=b,wa!==null)if(wr)try{(wa.nodeType===9?wa.body:wa.nodeName==="HTML"?wa.ownerDocument.body:wa).removeChild(o.stateNode)}catch(T){Pn(o,i,T)}else try{wa.removeChild(o.stateNode)}catch(T){Pn(o,i,T)}break;case 18:wa!==null&&(wr?(a=wa,ed(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,o.stateNode),uo(a)):ed(wa,o.stateNode));break;case 4:h=wa,b=wr,wa=o.stateNode.containerInfo,wr=!0,Ku(a,i,o),wa=h,wr=b;break;case 0:case 11:case 14:case 15:qn||xs(2,o,i),qn||xs(4,o,i),Ku(a,i,o);break;case 1:qn||(lu(o,i),h=o.stateNode,typeof h.componentWillUnmount=="function"&&Qp(o,i,h)),Ku(a,i,o);break;case 21:Ku(a,i,o);break;case 22:qn=(h=qn)||o.memoizedState!==null,Ku(a,i,o),qn=h;break;default:Ku(a,i,o)}}function Jp(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{uo(a)}catch(o){Pn(i,i.return,o)}}function B0(a){switch(a.tag){case 13:case 19:var i=a.stateNode;return i===null&&(i=a.stateNode=new Kp),i;case 22:return a=a.stateNode,i=a._retryCache,i===null&&(i=a._retryCache=new Kp),i;default:throw Error(f(435,a.tag))}}function Wp(a,i){var o=B0(a);i.forEach(function(h){var b=l1.bind(null,a,h);o.has(h)||(o.add(h),h.then(b,b))})}function vi(a,i){var o=i.deletions;if(o!==null)for(var h=0;h<o.length;h++){var b=o[h],T=a,k=i,P=k;e:for(;P!==null;){switch(P.tag){case 27:if(jl(P.type)){wa=P.stateNode,wr=!1;break e}break;case 5:wa=P.stateNode,wr=!1;break e;case 3:case 4:wa=P.stateNode.containerInfo,wr=!0;break e}P=P.return}if(wa===null)throw Error(f(160));fn(T,k,b),wa=null,wr=!1,T=b.alternate,T!==null&&(T.return=null),b.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)qf(i,a),i=i.sibling}var Pr=null;function qf(a,i){var o=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:vi(i,a),or(a),h&4&&(xs(3,a,a.return),uh(3,a),xs(5,a,a.return));break;case 1:vi(i,a),or(a),h&512&&(qn||o===null||lu(o,o.return)),h&64&&uu&&(a=a.updateQueue,a!==null&&(h=a.callbacks,h!==null&&(o=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=o===null?h:o.concat(h))));break;case 26:var b=Pr;if(vi(i,a),or(a),h&512&&(qn||o===null||lu(o,o.return)),h&4){var T=o!==null?o.memoizedState:null;if(h=a.memoizedState,o===null)if(h===null)if(a.stateNode===null){e:{h=a.type,o=a.memoizedProps,b=b.ownerDocument||b;t:switch(h){case"title":T=b.getElementsByTagName("title")[0],(!T||T[ft]||T[zn]||T.namespaceURI==="http://www.w3.org/2000/svg"||T.hasAttribute("itemprop"))&&(T=b.createElement(h),b.head.insertBefore(T,b.querySelector("head > title"))),Ht(T,h,o),T[zn]=a,Va(T),h=T;break e;case"link":var k=nv("link","href",b).get(h+(o.href||""));if(k){for(var P=0;P<k.length;P++)if(T=k[P],T.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&T.getAttribute("rel")===(o.rel==null?null:o.rel)&&T.getAttribute("title")===(o.title==null?null:o.title)&&T.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){k.splice(P,1);break t}}T=b.createElement(h),Ht(T,h,o),b.head.appendChild(T);break;case"meta":if(k=nv("meta","content",b).get(h+(o.content||""))){for(P=0;P<k.length;P++)if(T=k[P],T.getAttribute("content")===(o.content==null?null:""+o.content)&&T.getAttribute("name")===(o.name==null?null:o.name)&&T.getAttribute("property")===(o.property==null?null:o.property)&&T.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&T.getAttribute("charset")===(o.charSet==null?null:o.charSet)){k.splice(P,1);break t}}T=b.createElement(h),Ht(T,h,o),b.head.appendChild(T);break;default:throw Error(f(468,h))}T[zn]=a,Va(T),h=T}a.stateNode=h}else av(b,a.type,a.stateNode);else a.stateNode=Ug(b,h,a.memoizedProps);else T!==h?(T===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):T.count--,h===null?av(b,a.type,a.stateNode):Ug(b,h,a.memoizedProps)):h===null&&a.stateNode!==null&&Zp(a,a.memoizedProps,o.memoizedProps)}break;case 27:vi(i,a),or(a),h&512&&(qn||o===null||lu(o,o.return)),o!==null&&h&4&&Zp(a,a.memoizedProps,o.memoizedProps);break;case 5:if(vi(i,a),or(a),h&512&&(qn||o===null||lu(o,o.return)),a.flags&32){b=a.stateNode;try{Ie(b,"")}catch(Te){Pn(a,a.return,Te)}}h&4&&a.stateNode!=null&&(b=a.memoizedProps,Zp(a,b,o!==null?o.memoizedProps:b)),h&1024&&(Zu=!0);break;case 6:if(vi(i,a),or(a),h&4){if(a.stateNode===null)throw Error(f(162));h=a.memoizedProps,o=a.stateNode;try{o.nodeValue=h}catch(Te){Pn(a,a.return,Te)}}break;case 3:if(lo=null,b=Pr,Pr=Yt(i.containerInfo),vi(i,a),Pr=b,or(a),h&4&&o!==null&&o.memoizedState.isDehydrated)try{uo(i.containerInfo)}catch(Te){Pn(a,a.return,Te)}Zu&&(Zu=!1,L0(a));break;case 4:h=Pr,Pr=Yt(a.stateNode.containerInfo),vi(i,a),or(a),Pr=h;break;case 12:vi(i,a),or(a);break;case 13:vi(i,a),or(a),a.child.flags&8192&&a.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Y0=Ut()),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Wp(a,h)));break;case 22:b=a.memoizedState!==null;var ae=o!==null&&o.memoizedState!==null,Ae=uu,Xe=qn;if(uu=Ae||b,qn=Xe||ae,vi(i,a),qn=Xe,uu=Ae,or(a),h&8192)e:for(i=a.stateNode,i._visibility=b?i._visibility&-2:i._visibility|1,b&&(o===null||ae||uu||qn||Oa(a)),o=null,i=a;;){if(i.tag===5||i.tag===26){if(o===null){ae=o=i;try{if(T=ae.stateNode,b)k=T.style,typeof k.setProperty=="function"?k.setProperty("display","none","important"):k.display="none";else{P=ae.stateNode;var Ze=ae.memoizedProps.style,Oe=Ze!=null&&Ze.hasOwnProperty("display")?Ze.display:null;P.style.display=Oe==null||typeof Oe=="boolean"?"":(""+Oe).trim()}}catch(Te){Pn(ae,ae.return,Te)}}}else if(i.tag===6){if(o===null){ae=i;try{ae.stateNode.nodeValue=b?"":ae.memoizedProps}catch(Te){Pn(ae,ae.return,Te)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===a)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;o===i&&(o=null),i=i.return}o===i&&(o=null),i.sibling.return=i.return,i=i.sibling}h&4&&(h=a.updateQueue,h!==null&&(o=h.retryQueue,o!==null&&(h.retryQueue=null,Wp(a,o))));break;case 19:vi(i,a),or(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Wp(a,h)));break;case 30:break;case 21:break;default:vi(i,a),or(a)}}function or(a){var i=a.flags;if(i&2){try{for(var o,h=a.return;h!==null;){if(kf(h)){o=h;break}h=h.return}if(o==null)throw Error(f(160));switch(o.tag){case 27:var b=o.stateNode,T=Fi(a);oh(a,T,b);break;case 5:var k=o.stateNode;o.flags&32&&(Ie(k,""),o.flags&=-33);var P=Fi(a);oh(a,P,k);break;case 3:case 4:var ae=o.stateNode.containerInfo,Ae=Fi(a);Ts(a,Ae,ae);break;default:throw Error(f(161))}}catch(Xe){Pn(a,a.return,Xe)}a.flags&=-3}i&4096&&(a.flags&=-4097)}function L0(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var i=a;L0(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),a=a.sibling}}function Ju(a,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)M0(a,i.alternate,i),i=i.sibling}function Oa(a){for(a=a.child;a!==null;){var i=a;switch(i.tag){case 0:case 11:case 14:case 15:xs(4,i,i.return),Oa(i);break;case 1:lu(i,i.return);var o=i.stateNode;typeof o.componentWillUnmount=="function"&&Qp(i,i.return,o),Oa(i);break;case 27:Vi(i.stateNode);case 26:case 5:lu(i,i.return),Oa(i);break;case 22:i.memoizedState===null&&Oa(i);break;case 30:Oa(i);break;default:Oa(i)}a=a.sibling}}function Uo(a,i,o){for(o=o&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var h=i.alternate,b=a,T=i,k=T.flags;switch(T.tag){case 0:case 11:case 15:Uo(b,T,o),uh(4,T);break;case 1:if(Uo(b,T,o),h=T,b=h.stateNode,typeof b.componentDidMount=="function")try{b.componentDidMount()}catch(Ae){Pn(h,h.return,Ae)}if(h=T,b=h.updateQueue,b!==null){var P=h.stateNode;try{var ae=b.shared.hiddenCallbacks;if(ae!==null)for(b.shared.hiddenCallbacks=null,b=0;b<ae.length;b++)Ep(ae[b],P)}catch(Ae){Pn(h,h.return,Ae)}}o&&k&64&&Pp(T),Cc(T,T.return);break;case 27:wc(T);case 26:case 5:Uo(b,T,o),o&&h===null&&k&4&&As(T),Cc(T,T.return);break;case 12:Uo(b,T,o);break;case 13:Uo(b,T,o),o&&k&4&&Jp(b,T);break;case 22:T.memoizedState===null&&Uo(b,T,o),Cc(T,T.return);break;case 30:break;default:Uo(b,T,o)}i=i.sibling}}function Ul(a,i){var o=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),a=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(a=i.memoizedState.cachePool.pool),a!==o&&(a!=null&&a.refCount++,o!=null&&ku(o))}function em(a,i){a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&ku(a))}function Or(a,i,o,h){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)z0(a,i,o,h),i=i.sibling}function z0(a,i,o,h){var b=i.flags;switch(i.tag){case 0:case 11:case 15:Or(a,i,o,h),b&2048&&uh(9,i);break;case 1:Or(a,i,o,h);break;case 3:Or(a,i,o,h),b&2048&&(a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&ku(a)));break;case 12:if(b&2048){Or(a,i,o,h),a=i.stateNode;try{var T=i.memoizedProps,k=T.id,P=T.onPostCommit;typeof P=="function"&&P(k,i.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(ae){Pn(i,i.return,ae)}}else Or(a,i,o,h);break;case 13:Or(a,i,o,h);break;case 23:break;case 22:T=i.stateNode,k=i.alternate,i.memoizedState!==null?T._visibility&2?Or(a,i,o,h):Hn(a,i):T._visibility&2?Or(a,i,o,h):(T._visibility|=2,Ho(a,i,o,h,(i.subtreeFlags&10256)!==0)),b&2048&&Ul(k,i);break;case 24:Or(a,i,o,h),b&2048&&em(i.alternate,i);break;default:Or(a,i,o,h)}}function Ho(a,i,o,h,b){for(b=b&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var T=a,k=i,P=o,ae=h,Ae=k.flags;switch(k.tag){case 0:case 11:case 15:Ho(T,k,P,ae,b),uh(8,k);break;case 23:break;case 22:var Xe=k.stateNode;k.memoizedState!==null?Xe._visibility&2?Ho(T,k,P,ae,b):Hn(T,k):(Xe._visibility|=2,Ho(T,k,P,ae,b)),b&&Ae&2048&&Ul(k.alternate,k);break;case 24:Ho(T,k,P,ae,b),b&&Ae&2048&&em(k.alternate,k);break;default:Ho(T,k,P,ae,b)}i=i.sibling}}function Hn(a,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var o=a,h=i,b=h.flags;switch(h.tag){case 22:Hn(o,h),b&2048&&Ul(h.alternate,h);break;case 24:Hn(o,h),b&2048&&em(h.alternate,h);break;default:Hn(o,h)}i=i.sibling}}var vr=8192;function ka(a){if(a.subtreeFlags&vr)for(a=a.child;a!==null;)xg(a),a=a.sibling}function xg(a){switch(a.tag){case 26:ka(a),a.flags&vr&&a.memoizedState!==null&&kg(Pr,a.memoizedState,a.memoizedProps);break;case 5:ka(a);break;case 3:case 4:var i=Pr;Pr=Yt(a.stateNode.containerInfo),ka(a),Pr=i;break;case 22:a.memoizedState===null&&(i=a.alternate,i!==null&&i.memoizedState!==null?(i=vr,vr=16777216,ka(a),vr=i):ka(a));break;default:ka(a)}}function U0(a){var i=a.alternate;if(i!==null&&(a=i.child,a!==null)){i.child=null;do i=a.sibling,a.sibling=null,a=i;while(a!==null)}}function Cs(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var h=i[o];nr=h,j0(h,a)}U0(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)H0(a),a=a.sibling}function H0(a){switch(a.tag){case 0:case 11:case 15:Cs(a),a.flags&2048&&xs(9,a,a.return);break;case 3:Cs(a);break;case 12:Cs(a);break;case 22:var i=a.stateNode;a.memoizedState!==null&&i._visibility&2&&(a.return===null||a.return.tag!==13)?(i._visibility&=-3,gi(a)):Cs(a);break;default:Cs(a)}}function gi(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var h=i[o];nr=h,j0(h,a)}U0(a)}for(a=a.child;a!==null;){switch(i=a,i.tag){case 0:case 11:case 15:xs(8,i,i.return),gi(i);break;case 22:o=i.stateNode,o._visibility&2&&(o._visibility&=-3,gi(i));break;default:gi(i)}a=a.sibling}}function j0(a,i){for(;nr!==null;){var o=nr;switch(o.tag){case 0:case 11:case 15:xs(8,o,i);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var h=o.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:ku(o.memoizedState.cache)}if(h=o.child,h!==null)h.return=o,nr=h;else e:for(o=a;nr!==null;){h=nr;var b=h.sibling,T=h.return;if(N0(h),h===o){nr=null;break e}if(b!==null){b.return=T,nr=b;break e}nr=T}}}var k0={getCacheForType:function(a){var i=Ca(na),o=i.data.get(a);return o===void 0&&(o=a(),i.data.set(a,o)),o}},tm=typeof WeakMap=="function"?WeakMap:Map,Fn=0,ra=null,mn=null,vn=0,In=0,Yi=null,Wu=!1,Ff=!1,q0=!1,jo=0,qa=0,ko=0,Oc=0,eo=0,Hl=0,Yf=0,Gf=null,Gi=null,F0=!1,Y0=0,If=1/0,Dc=null,ws=null,Dr=0,to=null,Vf=null,_r=0,nm=0,am=null,G0=null,_c=0,I0=null;function Qr(){if((Fn&2)!==0&&vn!==0)return vn&-vn;if(ee.T!==null){var a=_l;return a!==0?a:_s()}return jr()}function V0(){Hl===0&&(Hl=(vn&536870912)===0||sn?ni():536870912);var a=ki.current;return a!==null&&(a.flags|=32),Hl}function ul(a,i,o){(a===ra&&(In===2||In===9)||a.cancelPendingCommit!==null)&&(no(a,0),qo(a,vn,Hl,!1)),Jn(a,o),((Fn&2)===0||a!==ra)&&(a===ra&&((Fn&2)===0&&(Oc|=o),qa===4&&qo(a,vn,Hl,!1)),Ii(a))}function Xf(a,i,o){if((Fn&6)!==0)throw Error(f(327));var h=!o&&(i&124)===0&&(i&a.expiredLanes)===0||Ur(a,i),b=h?$0(a,i):rm(a,i,!0),T=h;do{if(b===0){Ff&&!h&&qo(a,i,0,!1);break}else{if(o=a.current.alternate,T&&!Ag(o)){b=rm(a,i,!1),T=!1;continue}if(b===2){if(T=i,a.errorRecoveryDisabledLanes&T)var k=0;else k=a.pendingLanes&-536870913,k=k!==0?k:k&536870912?536870912:0;if(k!==0){i=k;e:{var P=a;b=Gf;var ae=P.current.memoizedState.isDehydrated;if(ae&&(no(P,k).flags|=256),k=rm(P,k,!1),k!==2){if(q0&&!ae){P.errorRecoveryDisabledLanes|=T,Oc|=T,b=4;break e}T=Gi,Gi=b,T!==null&&(Gi===null?Gi=T:Gi.push.apply(Gi,T))}b=k}if(T=!1,b!==2)continue}}if(b===1){no(a,0),qo(a,i,0,!0);break}e:{switch(h=a,T=b,T){case 0:case 1:throw Error(f(345));case 4:if((i&4194048)!==i)break;case 6:qo(h,i,Hl,!Wu);break e;case 2:Gi=null;break;case 3:case 5:break;default:throw Error(f(329))}if((i&62914560)===i&&(b=Y0+300-Ut(),10<b)){if(qo(h,i,Hl,!Wu),dr(h,0,!0)!==0)break e;h.timeoutHandle=vm(sh.bind(null,h,o,Gi,Dc,F0,i,Hl,Oc,Yf,Wu,T,2,-0,0),b);break e}sh(h,o,Gi,Dc,F0,i,Hl,Oc,Yf,Wu,T,0,-0,0)}}break}while(!0);Ii(a)}function sh(a,i,o,h,b,T,k,P,ae,Ae,Xe,Ze,Oe,Te){if(a.timeoutHandle=-1,Ze=i.subtreeFlags,(Ze&8192||(Ze&16785408)===16785408)&&(sr={stylesheets:null,count:0,unsuspend:jg},xg(i),Ze=rv(),Ze!==null)){a.cancelPendingCommit=Ze(fh.bind(null,a,i,T,o,h,b,k,P,ae,Xe,1,Oe,Te)),qo(a,T,k,!Ae);return}fh(a,i,T,o,h,b,k,P,ae)}function Ag(a){for(var i=a;;){var o=i.tag;if((o===0||o===11||o===15)&&i.flags&16384&&(o=i.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var h=0;h<o.length;h++){var b=o[h],T=b.getSnapshot;b=b.value;try{if(!Ar(T(),b))return!1}catch{return!1}}if(o=i.child,i.subtreeFlags&16384&&o!==null)o.return=i,i=o;else{if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function qo(a,i,o,h){i&=~eo,i&=~Oc,a.suspendedLanes|=i,a.pingedLanes&=~i,h&&(a.warmLanes|=i),h=a.expirationTimes;for(var b=i;0<b;){var T=31-Nn(b),k=1<<T;h[T]=-1,b&=~k}o!==0&&La(a,o,i)}function Rc(){return(Fn&6)===0?(mh(0),!1):!0}function Os(){if(mn!==null){if(In===0)var a=mn.return;else a=mn,$=ju=null,Gd(a),tr=null,pi=0,a=mn;for(;a!==null;)_0(a.alternate,a),a=a.return;mn=null}}function no(a,i){var o=a.timeoutHandle;o!==-1&&(a.timeoutHandle=-1,s1(o)),o=a.cancelPendingCommit,o!==null&&(a.cancelPendingCommit=null,o()),Os(),ra=a,mn=o=Tr(a.current,null),vn=i,In=0,Yi=null,Wu=!1,Ff=Ur(a,i),q0=!1,Yf=Hl=eo=Oc=ko=qa=0,Gi=Gf=null,F0=!1,(i&8)!==0&&(i|=i&32);var h=a.entangledLanes;if(h!==0)for(a=a.entanglements,h&=i;0<h;){var b=31-Nn(h),T=1<<b;i|=a[b],h&=~T}return jo=i,Ri(),o}function X0(a,i){Vt=null,ee.H=th,i===pr||i===qd?(i=y0(),In=3):i===gp?(i=y0(),In=4):In=i===ja?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Yi=i,mn===null&&(qa=1,zf(a,Yr(i,a.current)))}function Tg(){var a=ee.H;return ee.H=th,a===null?th:a}function Mc(){var a=ee.A;return ee.A=k0,a}function Nc(){qa=4,Wu||(vn&4194048)!==vn&&ki.current!==null||(Ff=!0),(ko&134217727)===0&&(Oc&134217727)===0||ra===null||qo(ra,vn,Hl,!1)}function rm(a,i,o){var h=Fn;Fn|=2;var b=Tg(),T=Mc();(ra!==a||vn!==i)&&(Dc=null,no(a,i)),i=!1;var k=qa;e:do try{if(In!==0&&mn!==null){var P=mn,ae=Yi;switch(In){case 8:Os(),k=6;break e;case 3:case 2:case 9:case 6:ki.current===null&&(i=!0);var Ae=In;if(In=0,Yi=null,$f(a,P,ae,Ae),o&&Ff){k=0;break e}break;default:Ae=In,In=0,Yi=null,$f(a,P,ae,Ae)}}im(),k=qa;break}catch(Xe){X0(a,Xe)}while(!0);return i&&a.shellSuspendCounter++,$=ju=null,Fn=h,ee.H=b,ee.A=T,mn===null&&(ra=null,vn=0,Ri()),k}function im(){for(;mn!==null;)um(mn)}function $0(a,i){var o=Fn;Fn|=2;var h=Tg(),b=Mc();ra!==a||vn!==i?(Dc=null,If=Ut()+500,no(a,i)):Ff=Ur(a,i);e:do try{if(In!==0&&mn!==null){i=mn;var T=Yi;t:switch(In){case 1:In=0,Yi=null,$f(a,i,T,1);break;case 2:case 9:if(bp(T)){In=0,Yi=null,P0(i);break}i=function(){In!==2&&In!==9||ra!==a||(In=7),Ii(a)},T.then(i,i);break e;case 3:In=7;break e;case 4:In=5;break e;case 7:bp(T)?(In=0,Yi=null,P0(i)):(In=0,Yi=null,$f(a,i,T,7));break;case 5:var k=null;switch(mn.tag){case 26:k=mn.memoizedState;case 5:case 27:var P=mn;if(!k||ar(k)){In=0,Yi=null;var ae=P.sibling;if(ae!==null)mn=ae;else{var Ae=P.return;Ae!==null?(mn=Ae,ch(Ae)):mn=null}break t}}In=0,Yi=null,$f(a,i,T,5);break;case 6:In=0,Yi=null,$f(a,i,T,6);break;case 8:Os(),qa=6;break e;default:throw Error(f(462))}}lm();break}catch(Xe){X0(a,Xe)}while(!0);return $=ju=null,ee.H=h,ee.A=b,Fn=o,mn!==null?0:(ra=null,vn=0,Ri(),qa)}function lm(){for(;mn!==null&&!Et();)um(mn)}function um(a){var i=Xp(a.alternate,a,jo);a.memoizedProps=a.pendingProps,i===null?ch(a):mn=i}function P0(a){var i=a,o=i.alternate;switch(i.tag){case 15:case 0:i=rh(o,i,i.pendingProps,i.type,void 0,vn);break;case 11:i=rh(o,i,i.pendingProps,i.type.render,i.ref,vn);break;case 5:Gd(i);default:_0(o,i),i=mn=It(i,jo),i=Xp(o,i,jo)}a.memoizedProps=a.pendingProps,i===null?ch(a):mn=i}function $f(a,i,o,h){$=ju=null,Gd(i),tr=null,pi=0;var b=i.return;try{if(O0(a,b,i,o,vn)){qa=1,zf(a,Yr(o,a.current)),mn=null;return}}catch(T){if(b!==null)throw mn=b,T;qa=1,zf(a,Yr(o,a.current)),mn=null;return}i.flags&32768?(sn||h===1?a=!0:Ff||(vn&536870912)!==0?a=!1:(Wu=a=!0,(h===2||h===9||h===3||h===6)&&(h=ki.current,h!==null&&h.tag===13&&(h.flags|=16384))),Cg(i,a)):ch(i)}function ch(a){var i=a;do{if((i.flags&32768)!==0){Cg(i,Wu);return}a=i.return;var o=$p(i.alternate,i,jo);if(o!==null){mn=o;return}if(i=i.sibling,i!==null){mn=i;return}mn=i=a}while(i!==null);qa===0&&(qa=5)}function Cg(a,i){do{var o=Eg(a.alternate,a);if(o!==null){o.flags&=32767,mn=o;return}if(o=a.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!i&&(a=a.sibling,a!==null)){mn=a;return}mn=a=o}while(a!==null);qa=6,mn=null}function fh(a,i,o,h,b,T,k,P,ae){a.cancelPendingCommit=null;do sm();while(Dr!==0);if((Fn&6)!==0)throw Error(f(327));if(i!==null){if(i===a.current)throw Error(f(177));if(T=i.lanes|i.childLanes,T|=zu,rr(a,o,T,k,P,ae),a===ra&&(mn=ra=null,vn=0),Vf=i,to=a,_r=o,nm=T,am=b,G0=h,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,Dg(Qt,function(){return Q0(),null})):(a.callbackNode=null,a.callbackPriority=0),h=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||h){h=ee.T,ee.T=null,b=ce.p,ce.p=2,k=Fn,Fn|=4;try{R0(a,i,o)}finally{Fn=k,ce.p=b,ee.T=h}}Dr=1,wg(),dh(),om()}}function wg(){if(Dr===1){Dr=0;var a=to,i=Vf,o=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||o){o=ee.T,ee.T=null;var h=ce.p;ce.p=2;var b=Fn;Fn|=4;try{qf(i,a);var T=Jf,k=h0(a.containerInfo),P=T.focusedElem,ae=T.selectionRange;if(k!==P&&P&&P.ownerDocument&&Md(P.ownerDocument.documentElement,P)){if(ae!==null&&Nd(P)){var Ae=ae.start,Xe=ae.end;if(Xe===void 0&&(Xe=Ae),"selectionStart"in P)P.selectionStart=Ae,P.selectionEnd=Math.min(Xe,P.value.length);else{var Ze=P.ownerDocument||document,Oe=Ze&&Ze.defaultView||window;if(Oe.getSelection){var Te=Oe.getSelection(),xt=P.textContent.length,wt=Math.min(ae.start,xt),jn=ae.end===void 0?wt:Math.min(ae.end,xt);!Te.extend&&wt>jn&&(k=jn,jn=wt,wt=k);var be=da(P,wt),fe=da(P,jn);if(be&&fe&&(Te.rangeCount!==1||Te.anchorNode!==be.node||Te.anchorOffset!==be.offset||Te.focusNode!==fe.node||Te.focusOffset!==fe.offset)){var xe=Ze.createRange();xe.setStart(be.node,be.offset),Te.removeAllRanges(),wt>jn?(Te.addRange(xe),Te.extend(fe.node,fe.offset)):(xe.setEnd(fe.node,fe.offset),Te.addRange(xe))}}}}for(Ze=[],Te=P;Te=Te.parentNode;)Te.nodeType===1&&Ze.push({element:Te,left:Te.scrollLeft,top:Te.scrollTop});for(typeof P.focus=="function"&&P.focus(),P=0;P<Ze.length;P++){var Pe=Ze[P];Pe.element.scrollLeft=Pe.left,Pe.element.scrollTop=Pe.top}}Th=!!sl,Jf=sl=null}finally{Fn=b,ce.p=h,ee.T=o}}a.current=i,Dr=2}}function dh(){if(Dr===2){Dr=0;var a=to,i=Vf,o=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||o){o=ee.T,ee.T=null;var h=ce.p;ce.p=2;var b=Fn;Fn|=4;try{M0(a,i.alternate,i)}finally{Fn=b,ce.p=h,ee.T=o}}Dr=3}}function om(){if(Dr===4||Dr===3){Dr=0,on();var a=to,i=Vf,o=_r,h=G0;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Dr=5:(Dr=0,Vf=to=null,Og(a,a.pendingLanes));var b=a.pendingLanes;if(b===0&&(ws=null),za(o),i=i.stateNode,ut&&typeof ut.onCommitFiberRoot=="function")try{ut.onCommitFiberRoot(Bt,i,void 0,(i.current.flags&128)===128)}catch{}if(h!==null){i=ee.T,b=ce.p,ce.p=2,ee.T=null;try{for(var T=a.onRecoverableError,k=0;k<h.length;k++){var P=h[k];T(P.value,{componentStack:P.stack})}}finally{ee.T=i,ce.p=b}}(_r&3)!==0&&sm(),Ii(a),b=a.pendingLanes,(o&4194090)!==0&&(b&42)!==0?a===I0?_c++:(_c=0,I0=a):_c=0,mh(0)}}function Og(a,i){(a.pooledCacheLanes&=i)===0&&(i=a.pooledCache,i!=null&&(a.pooledCache=null,ku(i)))}function sm(a){return wg(),dh(),om(),Q0()}function Q0(){if(Dr!==5)return!1;var a=to,i=nm;nm=0;var o=za(_r),h=ee.T,b=ce.p;try{ce.p=32>o?32:o,ee.T=null,o=am,am=null;var T=to,k=_r;if(Dr=0,Vf=to=null,_r=0,(Fn&6)!==0)throw Error(f(331));var P=Fn;if(Fn|=4,H0(T.current),z0(T,T.current,k,o),Fn=P,mh(0,!1),ut&&typeof ut.onPostCommitFiberRoot=="function")try{ut.onPostCommitFiberRoot(Bt,T)}catch{}return!0}finally{ce.p=b,ee.T=h,Og(a,i)}}function Z0(a,i,o){i=Yr(o,i),i=jp(a.stateNode,i,2),a=Wl(a,i,2),a!==null&&(Jn(a,2),Ii(a))}function Pn(a,i,o){if(a.tag===3)Z0(a,a,o);else for(;i!==null;){if(i.tag===3){Z0(i,a,o);break}else if(i.tag===1){var h=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(ws===null||!ws.has(h))){a=Yr(o,a),o=kp(2),h=Wl(i,o,2),h!==null&&(qi(o,h,i,a),Jn(h,2),Ii(h));break}}i=i.return}}function cm(a,i,o){var h=a.pingCache;if(h===null){h=a.pingCache=new tm;var b=new Set;h.set(i,b)}else b=h.get(i),b===void 0&&(b=new Set,h.set(i,b));b.has(o)||(q0=!0,b.add(o),a=K0.bind(null,a,i,o),i.then(a,a))}function K0(a,i,o){var h=a.pingCache;h!==null&&h.delete(i),a.pingedLanes|=a.suspendedLanes&o,a.warmLanes&=~o,ra===a&&(vn&o)===o&&(qa===4||qa===3&&(vn&62914560)===vn&&300>Ut()-Y0?(Fn&2)===0&&no(a,0):eo|=o,Yf===vn&&(Yf=0)),Ii(a)}function J0(a,i){i===0&&(i=Xl()),a=Zl(a,i),a!==null&&(Jn(a,i),Ii(a))}function fm(a){var i=a.memoizedState,o=0;i!==null&&(o=i.retryLane),J0(a,o)}function l1(a,i){var o=0;switch(a.tag){case 13:var h=a.stateNode,b=a.memoizedState;b!==null&&(o=b.retryLane);break;case 19:h=a.stateNode;break;case 22:h=a.stateNode._retryCache;break;default:throw Error(f(314))}h!==null&&h.delete(i),J0(a,o)}function Dg(a,i){return Tt(a,i)}var hh=null,ao=null,Pf=!1,Bc=!1,ph=!1,Fo=0;function Ii(a){a!==ao&&a.next===null&&(ao===null?hh=ao=a:ao=ao.next=a),Bc=!0,Pf||(Pf=!0,dm())}function mh(a,i){if(!ph&&Bc){ph=!0;do for(var o=!1,h=hh;h!==null;){if(a!==0){var b=h.pendingLanes;if(b===0)var T=0;else{var k=h.suspendedLanes,P=h.pingedLanes;T=(1<<31-Nn(42|a)+1)-1,T&=b&~(k&~P),T=T&201326741?T&201326741|1:T?T|2:0}T!==0&&(o=!0,vh(h,T))}else T=vn,T=dr(h,h===ra?T:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(T&3)===0||Ur(h,T)||(o=!0,vh(h,T));h=h.next}while(o);ph=!1}}function _g(){Ds()}function Ds(){Bc=Pf=!1;var a=0;Fo!==0&&(Yo()&&(a=Fo),Fo=0);for(var i=Ut(),o=null,h=hh;h!==null;){var b=h.next,T=Qf(h,i);T===0?(h.next=null,o===null?hh=b:o.next=b,b===null&&(ao=o)):(o=h,(a!==0||(T&3)!==0)&&(Bc=!0)),h=b}mh(a)}function Qf(a,i){for(var o=a.suspendedLanes,h=a.pingedLanes,b=a.expirationTimes,T=a.pendingLanes&-62914561;0<T;){var k=31-Nn(T),P=1<<k,ae=b[k];ae===-1?((P&o)===0||(P&h)!==0)&&(b[k]=ga(P,i)):ae<=i&&(a.expiredLanes|=P),T&=~P}if(i=ra,o=vn,o=dr(a,a===i?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h=a.callbackNode,o===0||a===i&&(In===2||In===9)||a.cancelPendingCommit!==null)return h!==null&&h!==null&&_t(h),a.callbackNode=null,a.callbackPriority=0;if((o&3)===0||Ur(a,o)){if(i=o&-o,i===a.callbackPriority)return i;switch(h!==null&&_t(h),za(o)){case 2:case 8:o=Cn;break;case 32:o=Qt;break;case 268435456:o=wn;break;default:o=Qt}return h=Rg.bind(null,a),o=Tt(o,h),a.callbackPriority=i,a.callbackNode=o,i}return h!==null&&h!==null&&_t(h),a.callbackPriority=2,a.callbackNode=null,2}function Rg(a,i){if(Dr!==0&&Dr!==5)return a.callbackNode=null,a.callbackPriority=0,null;var o=a.callbackNode;if(sm()&&a.callbackNode!==o)return null;var h=vn;return h=dr(a,a===ra?h:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h===0?null:(Xf(a,h,i),Qf(a,Ut()),a.callbackNode!=null&&a.callbackNode===o?Rg.bind(null,a):null)}function vh(a,i){if(sm())return null;Xf(a,i,!0)}function dm(){c1(function(){(Fn&6)!==0?Tt(fr,_g):Ds()})}function _s(){return Fo===0&&(Fo=ni()),Fo}function hm(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:tf(""+a)}function gh(a,i){var o=i.ownerDocument.createElement("input");return o.name=i.name,o.value=i.value,a.id&&o.setAttribute("form",a.id),i.parentNode.insertBefore(o,i),a=new FormData(a),o.parentNode.removeChild(o),a}function Mg(a,i,o,h,b){if(i==="submit"&&o&&o.stateNode===b){var T=hm((b[Bn]||null).action),k=h.submitter;k&&(i=(i=k[Bn]||null)?hm(i.formAction):k.getAttribute("formAction"),i!==null&&(T=i,k=null));var P=new tp("action","action",null,h,b);a.push({event:P,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(Fo!==0){var ae=k?gh(b,k):new FormData(b);Nf(o,{pending:!0,data:ae,method:b.method,action:T},null,ae)}}else typeof T=="function"&&(P.preventDefault(),ae=k?gh(b,k):new FormData(b),Nf(o,{pending:!0,data:ae,method:b.method,action:T},T,ae))},currentTarget:b}]})}}for(var Fa=0;Fa<Dn.length;Fa++){var yh=Dn[Fa],u1=yh.toLowerCase(),Kt=yh[0].toUpperCase()+yh.slice(1);Cl(u1,"on"+Kt)}Cl(sp,"onAnimationEnd"),Cl(p0,"onAnimationIteration"),Cl(nl,"onAnimationStart"),Cl("dblclick","onDoubleClick"),Cl("focusin","onFocus"),Cl("focusout","onBlur"),Cl(hf,"onTransitionRun"),Cl(cp,"onTransitionStart"),Cl(oc,"onTransitionCancel"),Cl(pf,"onTransitionEnd"),wu("onMouseEnter",["mouseout","mouseover"]),wu("onMouseLeave",["mouseout","mouseover"]),wu("onPointerEnter",["pointerout","pointerover"]),wu("onPointerLeave",["pointerout","pointerover"]),Cu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cu("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rs=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bh));function Lc(a,i){i=(i&4)!==0;for(var o=0;o<a.length;o++){var h=a[o],b=h.event;h=h.listeners;e:{var T=void 0;if(i)for(var k=h.length-1;0<=k;k--){var P=h[k],ae=P.instance,Ae=P.currentTarget;if(P=P.listener,ae!==T&&b.isPropagationStopped())break e;T=P,b.currentTarget=Ae;try{T(b)}catch(Xe){bs(Xe)}b.currentTarget=null,T=ae}else for(k=0;k<h.length;k++){if(P=h[k],ae=P.instance,Ae=P.currentTarget,P=P.listener,ae!==T&&b.isPropagationStopped())break e;T=P,b.currentTarget=Ae;try{T(b)}catch(Xe){bs(Xe)}b.currentTarget=null,T=ae}}}}function $t(a,i){var o=i[gl];o===void 0&&(o=i[gl]=new Set);var h=a+"__bubble";o.has(h)||(pm(i,a,2,!1),o.add(h))}function Zf(a,i,o){var h=0;i&&(h|=4),pm(o,a,h,i)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function W0(a){if(!a[Zr]){a[Zr]=!0,Zs.forEach(function(o){o!=="selectionchange"&&(Rs.has(o)||Zf(o,!1,a),Zf(o,!0,a))});var i=a.nodeType===9?a:a.ownerDocument;i===null||i[Zr]||(i[Zr]=!0,Zf("selectionchange",!1,i))}}function pm(a,i,o,h){switch(cv(i)){case 2:var b=qg;break;case 8:b=Hc;break;default:b=ov}o=b.bind(null,i,o,a),b=void 0,!lf||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(b=!0),h?b!==void 0?a.addEventListener(i,o,{capture:!0,passive:b}):a.addEventListener(i,o,!0):b!==void 0?a.addEventListener(i,o,{passive:b}):a.addEventListener(i,o,!1)}function gr(a,i,o,h,b){var T=h;if((i&1)===0&&(i&2)===0&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var P=h.stateNode.containerInfo;if(P===b)break;if(k===4)for(k=h.return;k!==null;){var ae=k.tag;if((ae===3||ae===4)&&k.stateNode.containerInfo===b)return;k=k.return}for(;P!==null;){if(k=fa(P),k===null)return;if(ae=k.tag,ae===5||ae===6||ae===26||ae===27){h=T=k;continue e}P=P.parentNode}}h=h.return}rf(function(){var Ae=T,Xe=Wh(o),Ze=[];e:{var Oe=mf.get(a);if(Oe!==void 0){var Te=tp,xt=a;switch(a){case"keypress":if(Zt(o)===0)break e;case"keydown":case"keyup":Te=el;break;case"focusin":xt="focus",Te=ip;break;case"focusout":xt="blur",Te=ip;break;case"beforeblur":case"afterblur":Te=ip;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Te=Eo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Te=rp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Te=i0;break;case sp:case p0:case nl:Te=cg;break;case pf:Te=hg;break;case"scroll":case"scrollend":Te=og;break;case"wheel":Te=rc;break;case"copy":case"cut":case"paste":Te=of;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Te=bl;break;case"toggle":case"beforetoggle":Te=Td}var wt=(i&4)!==0,jn=!wt&&(a==="scroll"||a==="scrollend"),be=wt?Oe!==null?Oe+"Capture":null:Oe;wt=[];for(var fe=Ae,xe;fe!==null;){var Pe=fe;if(xe=Pe.stateNode,Pe=Pe.tag,Pe!==5&&Pe!==26&&Pe!==27||xe===null||be===null||(Pe=nc(fe,be),Pe!=null&&wt.push(Nt(fe,Pe,xe))),jn)break;fe=fe.return}0<wt.length&&(Oe=new Te(Oe,xt,null,o,Xe),Ze.push({event:Oe,listeners:wt}))}}if((i&7)===0){e:{if(Oe=a==="mouseover"||a==="pointerover",Te=a==="mouseout"||a==="pointerout",Oe&&o!==rs&&(xt=o.relatedTarget||o.fromElement)&&(fa(xt)||xt[Ia]))break e;if((Te||Oe)&&(Oe=Xe.window===Xe?Xe:(Oe=Xe.ownerDocument)?Oe.defaultView||Oe.parentWindow:window,Te?(xt=o.relatedTarget||o.toElement,Te=Ae,xt=xt?fa(xt):null,xt!==null&&(jn=v(xt),wt=xt.tag,xt!==jn||wt!==5&&wt!==27&&wt!==6)&&(xt=null)):(Te=null,xt=Ae),Te!==xt)){if(wt=Eo,Pe="onMouseLeave",be="onMouseEnter",fe="mouse",(a==="pointerout"||a==="pointerover")&&(wt=bl,Pe="onPointerLeave",be="onPointerEnter",fe="pointer"),jn=Te==null?Oe:Tu(Te),xe=xt==null?Oe:Tu(xt),Oe=new wt(Pe,fe+"leave",Te,o,Xe),Oe.target=jn,Oe.relatedTarget=xe,Pe=null,fa(Xe)===Ae&&(wt=new wt(be,fe+"enter",xt,o,Xe),wt.target=xe,wt.relatedTarget=jn,Pe=wt),jn=Pe,Te&&xt)t:{for(wt=Te,be=xt,fe=0,xe=wt;xe;xe=Za(xe))fe++;for(xe=0,Pe=be;Pe;Pe=Za(Pe))xe++;for(;0<fe-xe;)wt=Za(wt),fe--;for(;0<xe-fe;)be=Za(be),xe--;for(;fe--;){if(wt===be||be!==null&&wt===be.alternate)break t;wt=Za(wt),be=Za(be)}wt=null}else wt=null;Te!==null&&xa(Ze,Oe,Te,wt,!1),xt!==null&&jn!==null&&xa(Ze,jn,xt,wt,!0)}}e:{if(Oe=Ae?Tu(Ae):window,Te=Oe.nodeName&&Oe.nodeName.toLowerCase(),Te==="select"||Te==="input"&&Oe.type==="file")var dt=o0;else if(ff(Oe))if(s0)dt=f0;else{dt=oi;var rn=Rd}else Te=Oe.nodeName,!Te||Te.toLowerCase()!=="input"||Oe.type!=="checkbox"&&Oe.type!=="radio"?Ae&&ba(Ae.elementType)&&(dt=o0):dt=Tl;if(dt&&(dt=dt(a,Ae))){us(Ze,dt,o,Xe);break e}rn&&rn(a,Oe,Ae),a==="focusout"&&Ae&&Oe.type==="number"&&Ae.memoizedProps.value!=null&&_(Oe,"number",Oe.value)}switch(rn=Ae?Tu(Ae):window,a){case"focusin":(ff(rn)||rn.contentEditable==="true")&&(Lu=rn,Fr=Ae,me=null);break;case"focusout":me=Fr=Lu=null;break;case"mousedown":qe=!0;break;case"contextmenu":case"mouseup":case"dragend":qe=!1,Be(Ze,o,Xe);break;case"selectionchange":if(uc)break;case"keydown":case"keyup":Be(Ze,o,Xe)}var St;if(Cd)e:{switch(a){case"compositionstart":var zt="onCompositionStart";break e;case"compositionend":zt="onCompositionEnd";break e;case"compositionupdate":zt="onCompositionUpdate";break e}zt=void 0}else Nu?Dd(a,o)&&(zt="onCompositionEnd"):a==="keydown"&&o.keyCode===229&&(zt="onCompositionStart");zt&&(Sl&&o.locale!=="ko"&&(Nu||zt!=="onCompositionStart"?zt==="onCompositionEnd"&&Nu&&(St=e0()):(bo=Xe,uf="value"in bo?bo.value:bo.textContent,Nu=!0)),rn=Kf(Ae,zt),0<rn.length&&(zt=new ui(zt,a,null,o,Xe),Ze.push({event:zt,listeners:rn}),St?zt.data=St:(St=Mu(o),St!==null&&(zt.data=St)))),(St=op?l0(a,o):ls(a,o))&&(zt=Kf(Ae,"onBeforeInput"),0<zt.length&&(rn=new ui("onBeforeInput","beforeinput",null,o,Xe),Ze.push({event:rn,listeners:zt}),rn.data=St)),Mg(Ze,a,Ae,o,Xe)}Lc(Ze,i)})}function Nt(a,i,o){return{instance:a,listener:i,currentTarget:o}}function Kf(a,i){for(var o=i+"Capture",h=[];a!==null;){var b=a,T=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||T===null||(b=nc(a,o),b!=null&&h.unshift(Nt(a,b,T)),b=nc(a,i),b!=null&&h.push(Nt(a,b,T))),a.tag===3)return h;a=a.return}return[]}function Za(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function xa(a,i,o,h,b){for(var T=i._reactName,k=[];o!==null&&o!==h;){var P=o,ae=P.alternate,Ae=P.stateNode;if(P=P.tag,ae!==null&&ae===h)break;P!==5&&P!==26&&P!==27||Ae===null||(ae=Ae,b?(Ae=nc(o,T),Ae!=null&&k.unshift(Nt(o,Ae,ae))):b||(Ae=nc(o,T),Ae!=null&&k.push(Nt(o,Ae,ae)))),o=o.return}k.length!==0&&a.push({event:i,listeners:k})}var ol=/\r\n?/g,ro=/\u0000|\uFFFD/g;function Ng(a){return(typeof a=="string"?a:""+a).replace(ol,`
|
|
148
|
-
`).replace(ro,"")}function ev(a,i){return i=Ng(i),Ng(a)===i}function mm(){}function Ft(a,i,o,h,b,T){switch(o){case"children":typeof h=="string"?i==="body"||i==="textarea"&&h===""||Ie(a,h):(typeof h=="number"||typeof h=="bigint")&&i!=="body"&&Ie(a,""+h);break;case"className":Js(a,"class",h);break;case"tabIndex":Js(a,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Js(a,o,h);break;case"style":En(a,h,T);break;case"data":if(i!=="object"){Js(a,"data",h);break}case"src":case"href":if(h===""&&(i!=="a"||o!=="href")){a.removeAttribute(o);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(o);break}h=tf(""+h),a.setAttribute(o,h);break;case"action":case"formAction":if(typeof h=="function"){a.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof T=="function"&&(o==="formAction"?(i!=="input"&&Ft(a,i,"name",b.name,b,null),Ft(a,i,"formEncType",b.formEncType,b,null),Ft(a,i,"formMethod",b.formMethod,b,null),Ft(a,i,"formTarget",b.formTarget,b,null)):(Ft(a,i,"encType",b.encType,b,null),Ft(a,i,"method",b.method,b,null),Ft(a,i,"target",b.target,b,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(o);break}h=tf(""+h),a.setAttribute(o,h);break;case"onClick":h!=null&&(a.onclick=mm);break;case"onScroll":h!=null&&$t("scroll",a);break;case"onScrollEnd":h!=null&&$t("scrollend",a);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(f(61));if(o=h.__html,o!=null){if(b.children!=null)throw Error(f(60));a.innerHTML=o}}break;case"multiple":a.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":a.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){a.removeAttribute("xlink:href");break}o=tf(""+h),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(o,""+h):a.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(o,""):a.removeAttribute(o);break;case"capture":case"download":h===!0?a.setAttribute(o,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(o,h):a.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?a.setAttribute(o,h):a.removeAttribute(o);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?a.removeAttribute(o):a.setAttribute(o,h);break;case"popover":$t("beforetoggle",a),$t("toggle",a),Pl(a,"popover",h);break;case"xlinkActuate":Ji(a,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":Ji(a,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":Ji(a,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":Ji(a,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":Ji(a,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":Ji(a,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":Ji(a,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":Ji(a,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":Ji(a,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":Pl(a,"is",h);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=$a.get(o)||o,Pl(a,o,h))}}function Le(a,i,o,h,b,T){switch(o){case"style":En(a,h,T);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(f(61));if(o=h.__html,o!=null){if(b.children!=null)throw Error(f(60));a.innerHTML=o}}break;case"children":typeof h=="string"?Ie(a,h):(typeof h=="number"||typeof h=="bigint")&&Ie(a,""+h);break;case"onScroll":h!=null&&$t("scroll",a);break;case"onScrollEnd":h!=null&&$t("scrollend",a);break;case"onClick":h!=null&&(a.onclick=mm);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ai.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(b=o.endsWith("Capture"),i=o.slice(2,b?o.length-7:void 0),T=a[Bn]||null,T=T!=null?T[o]:null,typeof T=="function"&&a.removeEventListener(i,T,b),typeof h=="function")){typeof T!="function"&&T!==null&&(o in a?a[o]=null:a.hasAttribute(o)&&a.removeAttribute(o)),a.addEventListener(i,h,b);break e}o in a?a[o]=h:h===!0?a.setAttribute(o,""):Pl(a,o,h)}}}function Ht(a,i,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$t("error",a),$t("load",a);var h=!1,b=!1,T;for(T in o)if(o.hasOwnProperty(T)){var k=o[T];if(k!=null)switch(T){case"src":h=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(f(137,i));default:Ft(a,i,T,k,o,null)}}b&&Ft(a,i,"srcSet",o.srcSet,o,null),h&&Ft(a,i,"src",o.src,o,null);return;case"input":$t("invalid",a);var P=T=k=b=null,ae=null,Ae=null;for(h in o)if(o.hasOwnProperty(h)){var Xe=o[h];if(Xe!=null)switch(h){case"name":b=Xe;break;case"type":k=Xe;break;case"checked":ae=Xe;break;case"defaultChecked":Ae=Xe;break;case"value":T=Xe;break;case"defaultValue":P=Xe;break;case"children":case"dangerouslySetInnerHTML":if(Xe!=null)throw Error(f(137,i));break;default:Ft(a,i,h,Xe,o,null)}}tc(a,T,P,ae,Ae,k,b,!1),Du(a);return;case"select":$t("invalid",a),h=k=T=null;for(b in o)if(o.hasOwnProperty(b)&&(P=o[b],P!=null))switch(b){case"value":T=P;break;case"defaultValue":k=P;break;case"multiple":h=P;default:Ft(a,i,b,P,o,null)}i=T,o=k,a.multiple=!!h,i!=null?F(a,!!h,i,!1):o!=null&&F(a,!!h,o,!0);return;case"textarea":$t("invalid",a),T=b=h=null;for(k in o)if(o.hasOwnProperty(k)&&(P=o[k],P!=null))switch(k){case"value":h=P;break;case"defaultValue":b=P;break;case"children":T=P;break;case"dangerouslySetInnerHTML":if(P!=null)throw Error(f(91));break;default:Ft(a,i,k,P,o,null)}ye(a,h,b,T),Du(a);return;case"option":for(ae in o)if(o.hasOwnProperty(ae)&&(h=o[ae],h!=null))switch(ae){case"selected":a.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Ft(a,i,ae,h,o,null)}return;case"dialog":$t("beforetoggle",a),$t("toggle",a),$t("cancel",a),$t("close",a);break;case"iframe":case"object":$t("load",a);break;case"video":case"audio":for(h=0;h<bh.length;h++)$t(bh[h],a);break;case"image":$t("error",a),$t("load",a);break;case"details":$t("toggle",a);break;case"embed":case"source":case"link":$t("error",a),$t("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Ae in o)if(o.hasOwnProperty(Ae)&&(h=o[Ae],h!=null))switch(Ae){case"children":case"dangerouslySetInnerHTML":throw Error(f(137,i));default:Ft(a,i,Ae,h,o,null)}return;default:if(ba(i)){for(Xe in o)o.hasOwnProperty(Xe)&&(h=o[Xe],h!==void 0&&Le(a,i,Xe,h,o,void 0));return}}for(P in o)o.hasOwnProperty(P)&&(h=o[P],h!=null&&Ft(a,i,P,h,o,null))}function o1(a,i,o,h){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,T=null,k=null,P=null,ae=null,Ae=null,Xe=null;for(Te in o){var Ze=o[Te];if(o.hasOwnProperty(Te)&&Ze!=null)switch(Te){case"checked":break;case"value":break;case"defaultValue":ae=Ze;default:h.hasOwnProperty(Te)||Ft(a,i,Te,null,h,Ze)}}for(var Oe in h){var Te=h[Oe];if(Ze=o[Oe],h.hasOwnProperty(Oe)&&(Te!=null||Ze!=null))switch(Oe){case"type":T=Te;break;case"name":b=Te;break;case"checked":Ae=Te;break;case"defaultChecked":Xe=Te;break;case"value":k=Te;break;case"defaultValue":P=Te;break;case"children":case"dangerouslySetInnerHTML":if(Te!=null)throw Error(f(137,i));break;default:Te!==Ze&&Ft(a,i,Oe,Te,h,Ze)}}ec(a,k,P,ae,Ae,Xe,T,b);return;case"select":Te=k=P=Oe=null;for(T in o)if(ae=o[T],o.hasOwnProperty(T)&&ae!=null)switch(T){case"value":break;case"multiple":Te=ae;default:h.hasOwnProperty(T)||Ft(a,i,T,null,h,ae)}for(b in h)if(T=h[b],ae=o[b],h.hasOwnProperty(b)&&(T!=null||ae!=null))switch(b){case"value":Oe=T;break;case"defaultValue":P=T;break;case"multiple":k=T;default:T!==ae&&Ft(a,i,b,T,h,ae)}i=P,o=k,h=Te,Oe!=null?F(a,!!o,Oe,!1):!!h!=!!o&&(i!=null?F(a,!!o,i,!0):F(a,!!o,o?[]:"",!1));return;case"textarea":Te=Oe=null;for(P in o)if(b=o[P],o.hasOwnProperty(P)&&b!=null&&!h.hasOwnProperty(P))switch(P){case"value":break;case"children":break;default:Ft(a,i,P,null,h,b)}for(k in h)if(b=h[k],T=o[k],h.hasOwnProperty(k)&&(b!=null||T!=null))switch(k){case"value":Oe=b;break;case"defaultValue":Te=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(f(91));break;default:b!==T&&Ft(a,i,k,b,h,T)}J(a,Oe,Te);return;case"option":for(var xt in o)if(Oe=o[xt],o.hasOwnProperty(xt)&&Oe!=null&&!h.hasOwnProperty(xt))switch(xt){case"selected":a.selected=!1;break;default:Ft(a,i,xt,null,h,Oe)}for(ae in h)if(Oe=h[ae],Te=o[ae],h.hasOwnProperty(ae)&&Oe!==Te&&(Oe!=null||Te!=null))switch(ae){case"selected":a.selected=Oe&&typeof Oe!="function"&&typeof Oe!="symbol";break;default:Ft(a,i,ae,Oe,h,Te)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var wt in o)Oe=o[wt],o.hasOwnProperty(wt)&&Oe!=null&&!h.hasOwnProperty(wt)&&Ft(a,i,wt,null,h,Oe);for(Ae in h)if(Oe=h[Ae],Te=o[Ae],h.hasOwnProperty(Ae)&&Oe!==Te&&(Oe!=null||Te!=null))switch(Ae){case"children":case"dangerouslySetInnerHTML":if(Oe!=null)throw Error(f(137,i));break;default:Ft(a,i,Ae,Oe,h,Te)}return;default:if(ba(i)){for(var jn in o)Oe=o[jn],o.hasOwnProperty(jn)&&Oe!==void 0&&!h.hasOwnProperty(jn)&&Le(a,i,jn,void 0,h,Oe);for(Xe in h)Oe=h[Xe],Te=o[Xe],!h.hasOwnProperty(Xe)||Oe===Te||Oe===void 0&&Te===void 0||Le(a,i,Xe,Oe,h,Te);return}}for(var be in o)Oe=o[be],o.hasOwnProperty(be)&&Oe!=null&&!h.hasOwnProperty(be)&&Ft(a,i,be,null,h,Oe);for(Ze in h)Oe=h[Ze],Te=o[Ze],!h.hasOwnProperty(Ze)||Oe===Te||Oe==null&&Te==null||Ft(a,i,Ze,Oe,h,Te)}var sl=null,Jf=null;function yi(a){return a.nodeType===9?a:a.ownerDocument}function Yn(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ia(a,i){if(a===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&i==="foreignObject"?0:a}function ou(a,i){return a==="textarea"||a==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Wf=null;function Yo(){var a=window.event;return a&&a.type==="popstate"?a===Wf?!1:(Wf=a,!0):(Wf=null,!1)}var vm=typeof setTimeout=="function"?setTimeout:void 0,s1=typeof clearTimeout=="function"?clearTimeout:void 0,Bg=typeof Promise=="function"?Promise:void 0,c1=typeof queueMicrotask=="function"?queueMicrotask:typeof Bg<"u"?function(a){return Bg.resolve(null).then(a).catch(su)}:vm;function su(a){setTimeout(function(){throw a})}function jl(a){return a==="head"}function ed(a,i){var o=i,h=0,b=0;do{var T=o.nextSibling;if(a.removeChild(o),T&&T.nodeType===8)if(o=T.data,o==="/$"){if(0<h&&8>h){o=h;var k=a.ownerDocument;if(o&1&&Vi(k.documentElement),o&2&&Vi(k.body),o&4)for(o=k.head,Vi(o),k=o.firstChild;k;){var P=k.nextSibling,ae=k.nodeName;k[ft]||ae==="SCRIPT"||ae==="STYLE"||ae==="LINK"&&k.rel.toLowerCase()==="stylesheet"||o.removeChild(k),k=P}}if(b===0){a.removeChild(T),uo(i);return}b--}else o==="$"||o==="$?"||o==="$!"?b++:h=o.charCodeAt(0)-48;else h=0;o=T}while(o);uo(i)}function Sh(a){var i=a.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var o=i;switch(i=i.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Sh(o),Au(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}a.removeChild(o)}}function zc(a,i,o,h){for(;a.nodeType===1;){var b=o;if(a.nodeName.toLowerCase()!==i.toLowerCase()){if(!h&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(h){if(!a[ft])switch(i){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(T=a.getAttribute("rel"),T==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(T!==b.rel||a.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||a.getAttribute("title")!==(b.title==null?null:b.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(T=a.getAttribute("src"),(T!==(b.src==null?null:b.src)||a.getAttribute("type")!==(b.type==null?null:b.type)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&T&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(i==="input"&&a.type==="hidden"){var T=b.name==null?null:""+b.name;if(b.type==="hidden"&&a.getAttribute("name")===T)return a}else return a;if(a=cu(a.nextSibling),a===null)break}return null}function gm(a,i,o){if(i==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!o||(a=cu(a.nextSibling),a===null))return null;return a}function Rr(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState==="complete"}function td(a,i){var o=a.ownerDocument;if(a.data!=="$?"||o.readyState==="complete")i();else{var h=function(){i(),o.removeEventListener("DOMContentLoaded",h)};o.addEventListener("DOMContentLoaded",h),a._reactRetry=h}}function cu(a){for(;a!=null;a=a.nextSibling){var i=a.nodeType;if(i===1||i===3)break;if(i===8){if(i=a.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return a}var Ms=null;function Mr(a){a=a.previousSibling;for(var i=0;a;){if(a.nodeType===8){var o=a.data;if(o==="$"||o==="$!"||o==="$?"){if(i===0)return a;i--}else o==="/$"&&i++}a=a.previousSibling}return null}function ct(a,i,o){switch(i=yi(o),a){case"html":if(a=i.documentElement,!a)throw Error(f(452));return a;case"head":if(a=i.head,!a)throw Error(f(453));return a;case"body":if(a=i.body,!a)throw Error(f(454));return a;default:throw Error(f(451))}}function Vi(a){for(var i=a.attributes;i.length;)a.removeAttributeNode(i[0]);Au(a)}var Ma=new Map,Da=new Set;function Yt(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var io=ce.d;ce.d={f:bi,r:Eh,D:Go,C:xh,L:fu,m:Kr,X:Ns,S:Xi,M:tv};function bi(){var a=io.f(),i=Rc();return a||i}function Eh(a){var i=po(a);i!==null&&i.tag===5&&i.type==="form"?vs(i):io.r(a)}var Nr=typeof document>"u"?null:document;function Jt(a,i,o){var h=Nr;if(h&&typeof i=="string"&&i){var b=ii(i);b='link[rel="'+a+'"][href="'+b+'"]',typeof o=="string"&&(b+='[crossorigin="'+o+'"]'),Da.has(b)||(Da.add(b),a={rel:a,crossOrigin:o,href:i},h.querySelector(b)===null&&(i=h.createElement("link"),Ht(i,"link",a),Va(i),h.head.appendChild(i)))}}function Go(a){io.D(a),Jt("dns-prefetch",a,null)}function xh(a,i){io.C(a,i),Jt("preconnect",a,i)}function fu(a,i,o){io.L(a,i,o);var h=Nr;if(h&&a&&i){var b='link[rel="preload"][as="'+ii(i)+'"]';i==="image"&&o&&o.imageSrcSet?(b+='[imagesrcset="'+ii(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(b+='[imagesizes="'+ii(o.imageSizes)+'"]')):b+='[href="'+ii(a)+'"]';var T=b;switch(i){case"style":T=nd(a);break;case"script":T=kl(a)}Ma.has(T)||(a=C({rel:"preload",href:i==="image"&&o&&o.imageSrcSet?void 0:a,as:i},o),Ma.set(T,a),h.querySelector(b)!==null||i==="style"&&h.querySelector(ad(T))||i==="script"&&h.querySelector(Uc(T))||(i=h.createElement("link"),Ht(i,"link",a),Va(i),h.head.appendChild(i)))}}function Kr(a,i){io.m(a,i);var o=Nr;if(o&&a){var h=i&&typeof i.as=="string"?i.as:"script",b='link[rel="modulepreload"][as="'+ii(h)+'"][href="'+ii(a)+'"]',T=b;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=kl(a)}if(!Ma.has(T)&&(a=C({rel:"modulepreload",href:a},i),Ma.set(T,a),o.querySelector(b)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Uc(T)))return}h=o.createElement("link"),Ht(h,"link",a),Va(h),o.head.appendChild(h)}}}function Xi(a,i,o){io.S(a,i,o);var h=Nr;if(h&&a){var b=$l(h).hoistableStyles,T=nd(a);i=i||"default";var k=b.get(T);if(!k){var P={loading:0,preload:null};if(k=h.querySelector(ad(T)))P.loading=5;else{a=C({rel:"stylesheet",href:a,"data-precedence":i},o),(o=Ma.get(T))&&id(a,o);var ae=k=h.createElement("link");Va(ae),Ht(ae,"link",a),ae._p=new Promise(function(Ae,Xe){ae.onload=Ae,ae.onerror=Xe}),ae.addEventListener("load",function(){P.loading|=1}),ae.addEventListener("error",function(){P.loading|=2}),P.loading|=4,ym(k,i,h)}k={type:"stylesheet",instance:k,count:1,state:P},b.set(T,k)}}}function Ns(a,i){io.X(a,i);var o=Nr;if(o&&a){var h=$l(o).hoistableScripts,b=kl(a),T=h.get(b);T||(T=o.querySelector(Uc(b)),T||(a=C({src:a,async:!0},i),(i=Ma.get(b))&&bm(a,i),T=o.createElement("script"),Va(T),Ht(T,"link",a),o.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(b,T))}}function tv(a,i){io.M(a,i);var o=Nr;if(o&&a){var h=$l(o).hoistableScripts,b=kl(a),T=h.get(b);T||(T=o.querySelector(Uc(b)),T||(a=C({src:a,async:!0,type:"module"},i),(i=Ma.get(b))&&bm(a,i),T=o.createElement("script"),Va(T),Ht(T,"link",a),o.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(b,T))}}function Lg(a,i,o,h){var b=(b=Ye.current)?Yt(b):null;if(!b)throw Error(f(446));switch(a){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(i=nd(o.href),o=$l(b).hoistableStyles,h=o.get(i),h||(h={type:"style",instance:null,count:0,state:null},o.set(i,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){a=nd(o.href);var T=$l(b).hoistableStyles,k=T.get(a);if(k||(b=b.ownerDocument||b,k={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(a,k),(T=b.querySelector(ad(a)))&&!T._p&&(k.instance=T,k.state.loading=5),Ma.has(a)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Ma.set(a,o),T||zg(b,a,o,k.state))),i&&h===null)throw Error(f(528,""));return k}if(i&&h!==null)throw Error(f(529,""));return null;case"script":return i=o.async,o=o.src,typeof o=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=kl(o),o=$l(b).hoistableScripts,h=o.get(i),h||(h={type:"script",instance:null,count:0,state:null},o.set(i,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,a))}}function nd(a){return'href="'+ii(a)+'"'}function ad(a){return'link[rel="stylesheet"]['+a+"]"}function rd(a){return C({},a,{"data-precedence":a.precedence,precedence:null})}function zg(a,i,o,h){a.querySelector('link[rel="preload"][as="style"]['+i+"]")?h.loading=1:(i=a.createElement("link"),h.preload=i,i.addEventListener("load",function(){return h.loading|=1}),i.addEventListener("error",function(){return h.loading|=2}),Ht(i,"link",o),Va(i),a.head.appendChild(i))}function kl(a){return'[src="'+ii(a)+'"]'}function Uc(a){return"script[async]"+a}function Ug(a,i,o){if(i.count++,i.instance===null)switch(i.type){case"style":var h=a.querySelector('style[data-href~="'+ii(o.href)+'"]');if(h)return i.instance=h,Va(h),h;var b=C({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return h=(a.ownerDocument||a).createElement("style"),Va(h),Ht(h,"style",b),ym(h,o.precedence,a),i.instance=h;case"stylesheet":b=nd(o.href);var T=a.querySelector(ad(b));if(T)return i.state.loading|=4,i.instance=T,Va(T),T;h=rd(o),(b=Ma.get(b))&&id(h,b),T=(a.ownerDocument||a).createElement("link"),Va(T);var k=T;return k._p=new Promise(function(P,ae){k.onload=P,k.onerror=ae}),Ht(T,"link",h),i.state.loading|=4,ym(T,o.precedence,a),i.instance=T;case"script":return T=kl(o.src),(b=a.querySelector(Uc(T)))?(i.instance=b,Va(b),b):(h=o,(b=Ma.get(T))&&(h=C({},o),bm(h,b)),a=a.ownerDocument||a,b=a.createElement("script"),Va(b),Ht(b,"link",h),a.head.appendChild(b),i.instance=b);case"void":return null;default:throw Error(f(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(h=i.instance,i.state.loading|=4,ym(h,o.precedence,a));return i.instance}function ym(a,i,o){for(var h=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=h.length?h[h.length-1]:null,T=b,k=0;k<h.length;k++){var P=h[k];if(P.dataset.precedence===i)T=P;else if(T!==b)break}T?T.parentNode.insertBefore(a,T.nextSibling):(i=o.nodeType===9?o.head:o,i.insertBefore(a,i.firstChild))}function id(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.title==null&&(a.title=i.title)}function bm(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.integrity==null&&(a.integrity=i.integrity)}var lo=null;function nv(a,i,o){if(lo===null){var h=new Map,b=lo=new Map;b.set(o,h)}else b=lo,h=b.get(o),h||(h=new Map,b.set(o,h));if(h.has(a))return h;for(h.set(a,null),o=o.getElementsByTagName(a),b=0;b<o.length;b++){var T=o[b];if(!(T[ft]||T[zn]||a==="link"&&T.getAttribute("rel")==="stylesheet")&&T.namespaceURI!=="http://www.w3.org/2000/svg"){var k=T.getAttribute(i)||"";k=a+k;var P=h.get(k);P?P.push(T):h.set(k,[T])}}return h}function av(a,i,o){a=a.ownerDocument||a,a.head.insertBefore(o,i==="title"?a.querySelector("head > title"):null)}function Hg(a,i,o){if(o===1||i.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return a=i.disabled,typeof i.precedence=="string"&&a==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function ar(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var sr=null;function jg(){}function kg(a,i,o){if(sr===null)throw Error(f(475));var h=sr;if(i.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var b=nd(o.href),T=a.querySelector(ad(b));if(T){a=T._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(h.count++,h=ld.bind(h),a.then(h,h)),i.state.loading|=4,i.instance=T,Va(T);return}T=a.ownerDocument||a,o=rd(o),(b=Ma.get(b))&&id(o,b),T=T.createElement("link"),Va(T);var k=T;k._p=new Promise(function(P,ae){k.onload=P,k.onerror=ae}),Ht(T,"link",o),i.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(h.count++,i=ld.bind(h),a.addEventListener("load",i),a.addEventListener("error",i))}}function rv(){if(sr===null)throw Error(f(475));var a=sr;return a.stylesheets&&a.count===0&&Ah(a,a.stylesheets),0<a.count?function(i){var o=setTimeout(function(){if(a.stylesheets&&Ah(a,a.stylesheets),a.unsuspend){var h=a.unsuspend;a.unsuspend=null,h()}},6e4);return a.unsuspend=i,function(){a.unsuspend=null,clearTimeout(o)}}:null}function ld(){if(this.count--,this.count===0){if(this.stylesheets)Ah(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var ud=null;function Ah(a,i){a.stylesheets=null,a.unsuspend!==null&&(a.count++,ud=new Map,i.forEach(cl,a),ud=null,ld.call(a))}function cl(a,i){if(!(i.state.loading&4)){var o=ud.get(a);if(o)var h=o.get(null);else{o=new Map,ud.set(a,o);for(var b=a.querySelectorAll("link[data-precedence],style[data-precedence]"),T=0;T<b.length;T++){var k=b[T];(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")&&(o.set(k.dataset.precedence,k),h=k)}h&&o.set(null,h)}b=i.instance,k=b.getAttribute("data-precedence"),T=o.get(k)||h,T===h&&o.set(null,b),o.set(k,b),this.count++,h=ld.bind(this),b.addEventListener("load",h),b.addEventListener("error",h),T?T.parentNode.insertBefore(b,T.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(b,a.firstChild)),i.state.loading|=4}}var Si={$$typeof:V,Provider:null,Consumer:null,_currentValue:ge,_currentValue2:ge,_threadCount:0};function f1(a,i,o,h,b,T,k,P){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ki(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ki(0),this.hiddenUpdates=Ki(null),this.identifierPrefix=h,this.onUncaughtError=b,this.onCaughtError=T,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function iv(a,i,o,h,b,T,k,P,ae,Ae,Xe,Ze){return a=new f1(a,i,o,k,P,ae,Ae,Ze),i=1,T===!0&&(i|=24),T=ci(3,null,null,i),a.current=T,T.stateNode=a,i=xf(),i.refCount++,a.pooledCache=i,i.refCount++,T.memoizedState={element:h,isDehydrated:o,cache:i},ds(T),a}function lv(a){return a?(a=sc,a):sc}function Sm(a,i,o,h,b,T){b=lv(b),h.context===null?h.context=b:h.pendingContext=b,h=Li(i),h.payload={element:o},T=T===void 0?null:T,T!==null&&(h.callback=T),o=Wl(a,h,i),o!==null&&(ul(o,a,i),pc(o,a,i))}function Em(a,i){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var o=a.retryLane;a.retryLane=o!==0&&o<i?o:i}}function xm(a,i){Em(a,i),(a=a.alternate)&&Em(a,i)}function uv(a){if(a.tag===13){var i=Zl(a,67108864);i!==null&&ul(i,a,67108864),xm(a,67108864)}}var Th=!0;function qg(a,i,o,h){var b=ee.T;ee.T=null;var T=ce.p;try{ce.p=2,ov(a,i,o,h)}finally{ce.p=T,ee.T=b}}function Hc(a,i,o,h){var b=ee.T;ee.T=null;var T=ce.p;try{ce.p=8,ov(a,i,o,h)}finally{ce.p=T,ee.T=b}}function ov(a,i,o,h){if(Th){var b=Am(h);if(b===null)gr(a,i,h,Tm,o),kc(a,h);else if(Yg(b,a,i,o,h))h.stopPropagation();else if(kc(a,h),i&4&&-1<Fg.indexOf(a)){for(;b!==null;){var T=po(b);if(T!==null)switch(T.tag){case 3:if(T=T.stateNode,T.current.memoizedState.isDehydrated){var k=Gn(T.pendingLanes);if(k!==0){var P=T;for(P.pendingLanes|=2,P.entangledLanes|=2;k;){var ae=1<<31-Nn(k);P.entanglements[1]|=ae,k&=~ae}Ii(T),(Fn&6)===0&&(If=Ut()+500,mh(0))}}break;case 13:P=Zl(T,2),P!==null&&ul(P,T,2),Rc(),xm(T,2)}if(T=Am(h),T===null&&gr(a,i,h,Tm,o),T===b)break;b=T}b!==null&&h.stopPropagation()}else gr(a,i,h,null,o)}}function Am(a){return a=Wh(a),sv(a)}var Tm=null;function sv(a){if(Tm=null,a=fa(a),a!==null){var i=v(a);if(i===null)a=null;else{var o=i.tag;if(o===13){if(a=g(i),a!==null)return a;a=null}else if(o===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Tm=a,null}function cv(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ja()){case fr:return 2;case Cn:return 8;case Qt:case ht:return 32;case wn:return 268435456;default:return 32}default:return 32}}var jc=!1,du=null,Io=null,Vo=null,Ch=new Map,wh=new Map,Bs=[],Fg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function kc(a,i){switch(a){case"focusin":case"focusout":du=null;break;case"dragenter":case"dragleave":Io=null;break;case"mouseover":case"mouseout":Vo=null;break;case"pointerover":case"pointerout":Ch.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":wh.delete(i.pointerId)}}function qc(a,i,o,h,b,T){return a===null||a.nativeEvent!==T?(a={blockedOn:i,domEventName:o,eventSystemFlags:h,nativeEvent:T,targetContainers:[b]},i!==null&&(i=po(i),i!==null&&uv(i)),a):(a.eventSystemFlags|=h,i=a.targetContainers,b!==null&&i.indexOf(b)===-1&&i.push(b),a)}function Yg(a,i,o,h,b){switch(i){case"focusin":return du=qc(du,a,i,o,h,b),!0;case"dragenter":return Io=qc(Io,a,i,o,h,b),!0;case"mouseover":return Vo=qc(Vo,a,i,o,h,b),!0;case"pointerover":var T=b.pointerId;return Ch.set(T,qc(Ch.get(T)||null,a,i,o,h,b)),!0;case"gotpointercapture":return T=b.pointerId,wh.set(T,qc(wh.get(T)||null,a,i,o,h,b)),!0}return!1}function fv(a){var i=fa(a.target);if(i!==null){var o=v(i);if(o!==null){if(i=o.tag,i===13){if(i=g(o),i!==null){a.blockedOn=i,Eu(a.priority,function(){if(o.tag===13){var h=Qr();h=Wn(h);var b=Zl(o,h);b!==null&&ul(b,o,h),xm(o,h)}});return}}else if(i===3&&o.stateNode.current.memoizedState.isDehydrated){a.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Oh(a){if(a.blockedOn!==null)return!1;for(var i=a.targetContainers;0<i.length;){var o=Am(a.nativeEvent);if(o===null){o=a.nativeEvent;var h=new o.constructor(o.type,o);rs=h,o.target.dispatchEvent(h),rs=null}else return i=po(o),i!==null&&uv(i),a.blockedOn=o,!1;i.shift()}return!0}function Dh(a,i,o){Oh(a)&&o.delete(i)}function od(){jc=!1,du!==null&&Oh(du)&&(du=null),Io!==null&&Oh(Io)&&(Io=null),Vo!==null&&Oh(Vo)&&(Vo=null),Ch.forEach(Dh),wh.forEach(Dh)}function Cm(a,i){a.blockedOn===i&&(a.blockedOn=null,jc||(jc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,od)))}var Fc=null;function dv(a){Fc!==a&&(Fc=a,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Fc===a&&(Fc=null);for(var i=0;i<a.length;i+=3){var o=a[i],h=a[i+1],b=a[i+2];if(typeof h!="function"){if(sv(h||o)===null)continue;break}var T=po(o);T!==null&&(a.splice(i,3),i-=3,Nf(T,{pending:!0,data:b,method:o.method,action:h},h,b))}}))}function uo(a){function i(ae){return Cm(ae,a)}du!==null&&Cm(du,a),Io!==null&&Cm(Io,a),Vo!==null&&Cm(Vo,a),Ch.forEach(i),wh.forEach(i);for(var o=0;o<Bs.length;o++){var h=Bs[o];h.blockedOn===a&&(h.blockedOn=null)}for(;0<Bs.length&&(o=Bs[0],o.blockedOn===null);)fv(o),o.blockedOn===null&&Bs.shift();if(o=(a.ownerDocument||a).$$reactFormReplay,o!=null)for(h=0;h<o.length;h+=3){var b=o[h],T=o[h+1],k=b[Bn]||null;if(typeof T=="function")k||dv(o);else if(k){var P=null;if(T&&T.hasAttribute("formAction")){if(b=T,k=T[Bn]||null)P=k.formAction;else if(sv(b)!==null)continue}else P=k.action;typeof P=="function"?o[h+1]=P:(o.splice(h,3),h-=3),dv(o)}}}function hv(a){this._internalRoot=a}wm.prototype.render=hv.prototype.render=function(a){var i=this._internalRoot;if(i===null)throw Error(f(409));var o=i.current,h=Qr();Sm(o,h,a,i,null,null)},wm.prototype.unmount=hv.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var i=a.containerInfo;Sm(a.current,2,null,a,null,null),Rc(),i[Ia]=null}};function wm(a){this._internalRoot=a}wm.prototype.unstable_scheduleHydration=function(a){if(a){var i=jr();a={blockedOn:null,target:a,priority:i};for(var o=0;o<Bs.length&&i!==0&&i<Bs[o].priority;o++);Bs.splice(o,0,a),o===0&&fv(a)}};var pv=l.version;if(pv!=="19.1.0")throw Error(f(527,pv,"19.1.0"));ce.findDOMNode=function(a){var i=a._reactInternals;if(i===void 0)throw typeof a.render=="function"?Error(f(188)):(a=Object.keys(a).join(","),Error(f(268,a)));return a=S(i),a=a!==null?A(a):null,a=a===null?null:a.stateNode,a};var Ei={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _h=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_h.isDisabled&&_h.supportsFiber)try{Bt=_h.inject(Ei),ut=_h}catch{}}return r1.createRoot=function(a,i){if(!p(a))throw Error(f(299));var o=!1,h="",b=xc,T=nh,k=ah,P=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onUncaughtError!==void 0&&(b=i.onUncaughtError),i.onCaughtError!==void 0&&(T=i.onCaughtError),i.onRecoverableError!==void 0&&(k=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(P=i.unstable_transitionCallbacks)),i=iv(a,1,!1,null,null,o,h,b,T,k,P,null),a[Ia]=i.current,W0(a),new hv(i)},r1.hydrateRoot=function(a,i,o){if(!p(a))throw Error(f(299));var h=!1,b="",T=xc,k=nh,P=ah,ae=null,Ae=null;return o!=null&&(o.unstable_strictMode===!0&&(h=!0),o.identifierPrefix!==void 0&&(b=o.identifierPrefix),o.onUncaughtError!==void 0&&(T=o.onUncaughtError),o.onCaughtError!==void 0&&(k=o.onCaughtError),o.onRecoverableError!==void 0&&(P=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(ae=o.unstable_transitionCallbacks),o.formState!==void 0&&(Ae=o.formState)),i=iv(a,1,!0,i,o??null,h,b,T,k,P,ae,Ae),i.context=lv(null),o=i.current,h=Qr(),h=Wn(h),b=Li(h),b.callback=null,Wl(o,b,h),o=h,i.current.lanes=o,Jn(i,o),Ii(i),a[Ia]=i.current,W0(a),new wm(i)},r1.version="19.1.0",r1}var i1={};/**
|
|
149
|
-
* @license React
|
|
150
|
-
* react-dom-client.development.js
|
|
151
|
-
*
|
|
152
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
153
|
-
*
|
|
154
|
-
* This source code is licensed under the MIT license found in the
|
|
155
|
-
* LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/var MO;function X7(){return MO||(MO=1,process.env.NODE_ENV!=="production"&&function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function l(e,t,r,c){if(r>=t.length)return c;var m=t[r],y=Ft(e)?e.slice():Kt({},e);return y[m]=l(e[m],t,r+1,c),y}function u(e,t,r){if(t.length!==r.length)console.warn("copyWithRename() expects paths of the same length");else{for(var c=0;c<r.length-1;c++)if(t[c]!==r[c]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return f(e,t,r,0)}}function f(e,t,r,c){var m=t[c],y=Ft(e)?e.slice():Kt({},e);return c+1===t.length?(y[r[c]]=y[m],Ft(y)?y.splice(m,1):delete y[m]):y[m]=f(e[m],t,r,c+1),y}function p(e,t,r){var c=t[r],m=Ft(e)?e.slice():Kt({},e);return r+1===t.length?(Ft(m)?m.splice(c,1):delete m[c],m):(m[c]=p(e[c],t,r+1),m)}function v(){return!1}function g(){return null}function E(){}function S(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function A(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function C(){}function w(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")}function M(e,t,r,c){return new cf(e,t,r,c)}function L(e,t){e.context===Om&&(Pn(e.current,2,t,e,null,null),zo())}function B(e,t){if(Us!==null){var r=t.staleFamilies;t=t.updatedFamilies,Es(),Cd(e.current,t,r),zo()}}function z(e){Us=e}function O(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function I(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function X(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function V(e){if(I(e)!==e)throw Error("Unable to find node on an unmounted component.")}function U(e){var t=e.alternate;if(!t){if(t=I(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,c=t;;){var m=r.return;if(m===null)break;var y=m.alternate;if(y===null){if(c=m.return,c!==null){r=c;continue}break}if(m.child===y.child){for(y=m.child;y;){if(y===r)return V(m),e;if(y===c)return V(m),t;y=y.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==c.return)r=m,c=y;else{for(var R=!1,H=m.child;H;){if(H===r){R=!0,r=m,c=y;break}if(H===c){R=!0,c=m,r=y;break}H=H.sibling}if(!R){for(H=y.child;H;){if(H===r){R=!0,r=y,c=m;break}if(H===c){R=!0,c=y,r=m;break}H=H.sibling}if(!R)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==c)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function D(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=D(e),t!==null)return t;e=e.sibling}return null}function j(e){return e===null||typeof e!="object"?null:(e=ev&&e[ev]||e["@@iterator"],typeof e=="function"?e:null)}function Y(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===mm?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $t:return"Fragment";case Zr:return"Profiler";case Zf:return"StrictMode";case Kf:return"Suspense";case Za:return"SuspenseList";case ro:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Lc:return"Portal";case gr:return(e.displayName||"Context")+".Provider";case pm:return(e._context.displayName||"Context")+".Consumer";case Nt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xa:return t=e.displayName||null,t!==null?t:Y(e.type)||"Memo";case ol:t=e._payload,e=e._init;try{return Y(e(t))}catch{}}return null}function ie(e){return typeof e.tag=="number"?oe(e):typeof e.name=="string"?e.name:null}function oe(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(t);case 8:return t===Zf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var r=t.length-1;0<=r;r--)if(typeof t[r].name=="string")return t[r].name}if(e.return!==null)return oe(e.return)}return null}function pe(e){return{current:e}}function ve(e,t){0>yi?console.error("Unexpected pop."):(t!==Jf[yi]&&console.error("Unexpected Fiber popped."),e.current=sl[yi],sl[yi]=null,Jf[yi]=null,yi--)}function _e(e,t,r){yi++,sl[yi]=e.current,Jf[yi]=r,e.current=t}function ze(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ue(e,t){_e(ou,t,e),_e(ia,e,e),_e(Yn,null,e);var r=t.nodeType;switch(r){case 9:case 11:r=r===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?In(t):jh;break;default:if(r=t.tagName,t=t.namespaceURI)t=In(t),t=Yi(t,r);else switch(r){case"svg":t=hy;break;case"math":t=LS;break;default:t=jh}}r=r.toLowerCase(),r=J(null,r),r={context:t,ancestorInfo:r},ve(Yn,e),_e(Yn,r,e)}function Qe(e){ve(Yn,e),ve(ia,e),ve(ou,e)}function ee(){return ze(Yn.current)}function ce(e){e.memoizedState!==null&&_e(Wf,e,e);var t=ze(Yn.current),r=e.type,c=Yi(t.context,r);r=J(t.ancestorInfo,r),c={context:c,ancestorInfo:r},t!==c&&(_e(ia,e,e),_e(Yn,c,e))}function ge(e){ia.current===e&&(ve(Yn,e),ve(ia,e)),Wf.current===e&&(ve(Wf,e),I1._currentValue=Lv)}function We(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function W(e){try{return Ee(e),!1}catch{return!0}}function Ee(e){return""+e}function Me(e,t){if(W(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,We(e)),Ee(e)}function ne(e,t){if(W(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,We(e)),Ee(e)}function he(e){if(W(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",We(e)),Ee(e)}function De(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ms=t.inject(e),Mr=t}catch(r){console.error("React instrumentation encountered an error: %s.",r)}return!!t.checkDCE}function Ye(e){if(typeof td=="function"&&cu(e),Mr&&typeof Mr.setStrictMode=="function")try{Mr.setStrictMode(Ms,e)}catch(t){Vi||(Vi=!0,console.error("React instrumentation encountered an error: %s",t))}}function rt(e){ct=e}function Ke(){ct!==null&&typeof ct.markCommitStopped=="function"&&ct.markCommitStopped()}function Ne(e){ct!==null&&typeof ct.markComponentRenderStarted=="function"&&ct.markComponentRenderStarted(e)}function Ce(){ct!==null&&typeof ct.markComponentRenderStopped=="function"&&ct.markComponentRenderStopped()}function nt(e){ct!==null&&typeof ct.markRenderStarted=="function"&&ct.markRenderStarted(e)}function ke(){ct!==null&&typeof ct.markRenderStopped=="function"&&ct.markRenderStopped()}function Tt(e,t){ct!==null&&typeof ct.markStateUpdateScheduled=="function"&&ct.markStateUpdateScheduled(e,t)}function _t(e){return e>>>=0,e===0?32:31-(Yt(e)/io|0)|0}function Et(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function on(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Ut(e,t,r){var c=e.pendingLanes;if(c===0)return 0;var m=0,y=e.suspendedLanes,R=e.pingedLanes;e=e.warmLanes;var H=c&134217727;return H!==0?(c=H&~y,c!==0?m=on(c):(R&=H,R!==0?m=on(R):r||(r=H&~e,r!==0&&(m=on(r))))):(H=c&~y,H!==0?m=on(H):R!==0?m=on(R):r||(r=c&~e,r!==0&&(m=on(r)))),m===0?0:t!==0&&t!==m&&(t&y)===0&&(y=m&-m,r=t&-t,y>=r||y===32&&(r&4194048)!==0)?t:m}function Ja(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function fr(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Cn(){var e=bi;return bi<<=1,(bi&4194048)===0&&(bi=256),e}function Qt(){var e=Eh;return Eh<<=1,(Eh&62914560)===0&&(Eh=4194304),e}function ht(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function wn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ta(e,t,r,c,m,y){var R=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var H=e.entanglements,Q=e.expirationTimes,K=e.hiddenUpdates;for(r=R&~r;0<r;){var Re=31-Da(r),je=1<<Re;H[Re]=0,Q[Re]=-1;var we=K[Re];if(we!==null)for(K[Re]=null,Re=0;Re<we.length;Re++){var Ge=we[Re];Ge!==null&&(Ge.lane&=-536870913)}r&=~je}c!==0&&Er(e,c,0),y!==0&&m===0&&e.tag!==0&&(e.suspendedLanes|=y&~(R&~t))}function Er(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var c=31-Da(t);e.entangledLanes|=t,e.entanglements[c]=e.entanglements[c]|1073741824|r&4194090}function Bt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var c=31-Da(r),m=1<<c;m&t|e[c]&t&&(e[c]|=t),r&=~m}}function ut(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bt(e,t,r){if(Ma)for(e=e.pendingUpdatersLaneMap;0<r;){var c=31-Da(r),m=1<<c;e[c].add(t),r&=~m}}function Nn(e,t){if(Ma)for(var r=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;0<t;){var m=31-Da(t);e=1<<m,m=r[m],0<m.size&&(m.forEach(function(y){var R=y.alternate;R!==null&&c.has(R)||c.add(y)}),m.clear()),t&=~e}}function yt(e){return e&=-e,Nr<e?Jt<e?(e&134217727)!==0?Go:xh:Jt:Nr}function On(){var e=Ht.p;return e!==0?e:(e=window.event,e===void 0?Go:ph(e.type))}function gt(e,t){var r=Ht.p;try{return Ht.p=e,t()}finally{Ht.p=r}}function Qn(e){delete e[Kr],delete e[Xi],delete e[tv],delete e[Lg],delete e[nd]}function ti(e){var t=e[Kr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ns]||r[Kr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=_c(e);e!==null;){if(r=e[Kr])return r;e=_c(e)}return t}e=r,r=e.parentNode}return null}function Gn(e){if(e=e[Kr]||e[Ns]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function dr(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ur(e){var t=e[ad];return t||(t=e[ad]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ga(e){e[rd]=!0}function ni(e,t){Xl(e,t),Xl(e+"Capture",t)}function Xl(e,t){kl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),kl[e]=t;var r=e.toLowerCase();for(Uc[r]=e,e==="onDoubleClick"&&(Uc.ondblclick=e),e=0;e<t.length;e++)zg.add(t[e])}function Ki(e,t){Ug[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"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 `onChange`.":"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||console.error("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 Jn(e){return Yo.call(bm,e)?!0:Yo.call(id,e)?!1:ym.test(e)?bm[e]=!0:(id[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function rr(e,t,r){if(Jn(t)){if(!e.hasAttribute(t)){switch(typeof r){case"symbol":case"object":return r;case"function":return r;case"boolean":if(r===!1)return r}return r===void 0?void 0:null}return e=e.getAttribute(t),e===""&&r===!0?!0:(Me(r,t),e===""+r?r:e)}}function La(e,t,r){if(Jn(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var c=t.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){e.removeAttribute(t);return}}Me(r,t),e.setAttribute(t,""+r)}}function Hr(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Me(r,t),e.setAttribute(t,""+r)}}function Wn(e,t,r,c){if(c===null)e.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}Me(c,r),e.setAttributeNS(t,r,""+c)}}function za(){}function jr(){if(lo===0){nv=console.log,av=console.info,Hg=console.warn,ar=console.error,sr=console.group,jg=console.groupCollapsed,kg=console.groupEnd;var e={configurable:!0,enumerable:!0,value:za,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}lo++}function Eu(){if(lo--,lo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Kt({},e,{value:nv}),info:Kt({},e,{value:av}),warn:Kt({},e,{value:Hg}),error:Kt({},e,{value:ar}),group:Kt({},e,{value:sr}),groupCollapsed:Kt({},e,{value:jg}),groupEnd:Kt({},e,{value:kg})})}0>lo&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function nn(e){if(rv===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);rv=t&&t[1]||"",ld=-1<r.stack.indexOf(`
|
|
157
|
-
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
158
|
-
`+rv+e+ld}function zn(e,t){if(!e||ud)return"";var r=Ah.get(e);if(r!==void 0)return r;ud=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var c=null;c=Le.H,Le.H=null,jr();try{var m={DetermineComponentFrameRoot:function(){try{if(t){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(pt){var Ge=pt}Reflect.construct(e,[],we)}else{try{we.call()}catch(pt){Ge=pt}e.call(we.prototype)}}else{try{throw Error()}catch(pt){Ge=pt}(we=e())&&typeof we.catch=="function"&&we.catch(function(){})}}catch(pt){if(pt&&Ge&&typeof pt.stack=="string")return[pt.stack,Ge.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var R=m.DetermineComponentFrameRoot(),H=R[0],Q=R[1];if(H&&Q){var K=H.split(`
|
|
159
|
-
`),Re=Q.split(`
|
|
160
|
-
`);for(R=y=0;y<K.length&&!K[y].includes("DetermineComponentFrameRoot");)y++;for(;R<Re.length&&!Re[R].includes("DetermineComponentFrameRoot");)R++;if(y===K.length||R===Re.length)for(y=K.length-1,R=Re.length-1;1<=y&&0<=R&&K[y]!==Re[R];)R--;for(;1<=y&&0<=R;y--,R--)if(K[y]!==Re[R]){if(y!==1||R!==1)do if(y--,R--,0>R||K[y]!==Re[R]){var je=`
|
|
161
|
-
`+K[y].replace(" at new "," at ");return e.displayName&&je.includes("<anonymous>")&&(je=je.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ah.set(e,je),je}while(1<=y&&0<=R);break}}}finally{ud=!1,Le.H=c,Eu(),Error.prepareStackTrace=r}return K=(K=e?e.displayName||e.name:"")?nn(K):"",typeof e=="function"&&Ah.set(e,K),K}function Bn(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
162
|
-
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
163
|
-
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
164
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Ia(e){switch(e.tag){case 26:case 27:case 5:return nn(e.type);case 16:return nn("Lazy");case 13:return nn("Suspense");case 19:return nn("SuspenseList");case 0:case 15:return zn(e.type,!1);case 11:return zn(e.type.render,!1);case 1:return zn(e.type,!0);case 31:return nn("Activity");default:return""}}function gl(e){try{var t="";do{t+=Ia(e);var r=e._debugInfo;if(r)for(var c=r.length-1;0<=c;c--){var m=r[c];if(typeof m.name=="string"){var y=t,R=m.env,H=nn(m.name+(R?" ["+R+"]":""));t=y+H}}e=e.return}while(e);return t}catch(Q){return`
|
|
165
|
-
Error generating stack: `+Q.message+`
|
|
166
|
-
`+Q.stack}}function xu(e){return(e=e?e.displayName||e.name:"")?nn(e):""}function ya(){if(cl===null)return null;var e=cl._debugOwner;return e!=null?ie(e):null}function ea(){if(cl===null)return"";var e=cl;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=nn(e.type);break;case 13:t+=nn("Suspense");break;case 19:t+=nn("SuspenseList");break;case 31:t+=nn("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=xu(e.type));break;case 11:e._debugOwner||t!==""||(t+=xu(e.type.render))}for(;e;)if(typeof e.tag=="number"){var r=e;e=r._debugOwner;var c=r._debugStack;e&&c&&(typeof c!="string"&&(r._debugStack=c=Bn(c)),c!==""&&(t+=`
|
|
167
|
-
`+c))}else if(e.debugStack!=null){var m=e.debugStack;(e=e.owner)&&m&&(t+=`
|
|
168
|
-
`+Bn(m))}else break;var y=t}catch(R){y=`
|
|
169
|
-
Error generating stack: `+R.message+`
|
|
170
|
-
`+R.stack}return y}function ft(e,t,r,c,m,y,R){var H=cl;Au(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,r,c,m,y,R)):t(r,c,m,y,R)}finally{Au(H)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Au(e){Le.getCurrentStack=e===null?null:ea,Si=!1,cl=e}function fa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return he(e),e;default:return""}}function po(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tu(e){var t=po(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);he(e[t]);var c=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var m=r.get,y=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return m.call(this)},set:function(R){he(R),c=""+R,y.call(this,R)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return c},setValue:function(R){he(R),c=""+R},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $l(e){e._valueTracker||(e._valueTracker=Tu(e))}function Va(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),c="";return e&&(c=po(e)?e.checked?"true":"false":e.value),e=c,e!==r?(t.setValue(e),!0):!1}function Zs(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}}function ai(e){return e.replace(f1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Cu(e,t){t.checked===void 0||t.defaultChecked===void 0||lv||(console.error("%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://react.dev/link/controlled-components",ya()||"A component",t.type),lv=!0),t.value===void 0||t.defaultValue===void 0||iv||(console.error("%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://react.dev/link/controlled-components",ya()||"A component",t.type),iv=!0)}function wu(e,t,r,c,m,y,R,H){e.name="",R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?(Me(R,"type"),e.type=R):e.removeAttribute("type"),t!=null?R==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+fa(t)):e.value!==""+fa(t)&&(e.value=""+fa(t)):R!=="submit"&&R!=="reset"||e.removeAttribute("value"),t!=null?Wc(e,R,fa(t)):r!=null?Wc(e,R,fa(r)):c!=null&&e.removeAttribute("value"),m==null&&y!=null&&(e.defaultChecked=!!y),m!=null&&(e.checked=m&&typeof m!="function"&&typeof m!="symbol"),H!=null&&typeof H!="function"&&typeof H!="symbol"&&typeof H!="boolean"?(Me(H,"name"),e.name=""+fa(H)):e.removeAttribute("name")}function Ks(e,t,r,c,m,y,R,H){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(Me(y,"type"),e.type=y),t!=null||r!=null){if(!(y!=="submit"&&y!=="reset"||t!=null))return;r=r!=null?""+fa(r):"",t=t!=null?""+fa(t):r,H||t===e.value||(e.value=t),e.defaultValue=t}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,e.checked=H?e.checked:!!c,e.defaultChecked=!!c,R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"&&(Me(R,"name"),e.name=R)}function Wc(e,t,r){t==="number"&&Zs(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function ns(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?yh.Children.forEach(t.children,function(r){r==null||typeof r=="string"||typeof r=="number"||typeof r=="bigint"||Em||(Em=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||xm||(xm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Sm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Sm=!0)}function Kh(){var e=ya();return e?`
|
|
171
|
-
|
|
172
|
-
Check the render method of \``+e+"`.":""}function Pl(e,t,r,c){if(e=e.options,t){t={};for(var m=0;m<r.length;m++)t["$"+r[m]]=!0;for(r=0;r<e.length;r++)m=t.hasOwnProperty("$"+e[r].value),e[r].selected!==m&&(e[r].selected=m),m&&c&&(e[r].defaultSelected=!0)}else{for(r=""+fa(r),t=null,m=0;m<e.length;m++){if(e[m].value===r){e[m].selected=!0,c&&(e[m].defaultSelected=!0);return}t!==null||e[m].disabled||(t=e[m])}t!==null&&(t.selected=!0)}}function Js(e,t){for(e=0;e<Th.length;e++){var r=Th[e];if(t[r]!=null){var c=Ft(t[r]);t.multiple&&!c?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,Kh()):!t.multiple&&c&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,Kh())}}t.value===void 0||t.defaultValue===void 0||uv||(console.error("Select 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 select element and remove one of these props. More info: https://react.dev/link/controlled-components"),uv=!0)}function Ji(e,t){t.value===void 0||t.defaultValue===void 0||qg||(console.error("%s contains a textarea with both value and defaultValue props. Textarea 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 textarea and remove one of these props. More info: https://react.dev/link/controlled-components",ya()||"A component"),qg=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Ws(e,t,r){if(t!=null&&(t=""+fa(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+fa(r):""}function ef(e,t,r,c){if(t==null){if(c!=null){if(r!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ft(c)){if(1<c.length)throw Error("<textarea> can only have at most one child.");c=c[0]}r=c}r==null&&(r=""),t=r}r=fa(t),e.defaultValue=r,c=e.textContent,c===r&&c!==""&&c!==null&&(e.value=c)}function mo(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?mo(e.children[0],t):e}function xr(e){return" "+" ".repeat(e)}function Ou(e){return"+ "+" ".repeat(e)}function vo(e){return"- "+" ".repeat(e)}function ri(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Xa(e,t){return Hc.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function go(e,t,r){var c=120-2*r;if(t===null)return Ou(r)+Xa(e,c)+`
|
|
173
|
-
`;if(typeof t=="string"){for(var m=0;m<t.length&&m<e.length&&t.charCodeAt(m)===e.charCodeAt(m);m++);return m>c-8&&10<m&&(e="..."+e.slice(m-8),t="..."+t.slice(m-8)),Ou(r)+Xa(e,c)+`
|
|
174
|
-
`+vo(r)+Xa(t,c)+`
|
|
175
|
-
`}return xr(r)+Xa(e,c)+`
|
|
176
|
-
`}function as(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,r){return r})}function Du(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Ft(e))return"[...]";if(e.$$typeof===Rs)return(t=Y(e.type))?"<"+t+">":"<...>";var r=as(e);if(r==="Object"){r="",t-=2;for(var c in e)if(e.hasOwnProperty(c)){var m=JSON.stringify(c);if(m!=='"'+c+'"'&&(c=m),t-=c.length-2,m=Du(e[c],15>t?t:15),t-=m.length,0>t){r+=r===""?"...":", ...";break}r+=(r===""?"":",")+c+":"+m}return"{"+r+"}"}return r;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Oi(e,t){return typeof e!="string"||Hc.test(e)?"{"+Du(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Ql(e,t,r){var c=120-r.length-e.length,m=[],y;for(y in t)if(t.hasOwnProperty(y)&&y!=="children"){var R=Oi(t[y],120-r.length-y.length-1);c-=y.length+R.length+2,m.push(y+"="+R)}return m.length===0?r+"<"+e+`>
|
|
177
|
-
`:0<c?r+"<"+e+" "+m.join(" ")+`>
|
|
178
|
-
`:r+"<"+e+`
|
|
179
|
-
`+r+" "+m.join(`
|
|
180
|
-
`+r+" ")+`
|
|
181
|
-
`+r+`>
|
|
182
|
-
`}function Jh(e,t,r){var c="",m=Kt({},t),y;for(y in e)if(e.hasOwnProperty(y)){delete m[y];var R=120-2*r-y.length-2,H=Du(e[y],R);t.hasOwnProperty(y)?(R=Du(t[y],R),c+=Ou(r)+y+": "+H+`
|
|
183
|
-
`,c+=vo(r)+y+": "+R+`
|
|
184
|
-
`):c+=Ou(r)+y+": "+H+`
|
|
185
|
-
`}for(var Q in m)m.hasOwnProperty(Q)&&(e=Du(m[Q],120-2*r-Q.length-2),c+=vo(r)+Q+": "+e+`
|
|
186
|
-
`);return c}function ii(e,t,r,c){var m="",y=new Map;for(K in r)r.hasOwnProperty(K)&&y.set(K.toLowerCase(),K);if(y.size===1&&y.has("children"))m+=Ql(e,t,xr(c));else{for(var R in t)if(t.hasOwnProperty(R)&&R!=="children"){var H=120-2*(c+1)-R.length-1,Q=y.get(R.toLowerCase());if(Q!==void 0){y.delete(R.toLowerCase());var K=t[R];Q=r[Q];var Re=Oi(K,H);H=Oi(Q,H),typeof K=="object"&&K!==null&&typeof Q=="object"&&Q!==null&&as(K)==="Object"&&as(Q)==="Object"&&(2<Object.keys(K).length||2<Object.keys(Q).length||-1<Re.indexOf("...")||-1<H.indexOf("..."))?m+=xr(c+1)+R+`={{
|
|
187
|
-
`+Jh(K,Q,c+2)+xr(c+1)+`}}
|
|
188
|
-
`:(m+=Ou(c+1)+R+"="+Re+`
|
|
189
|
-
`,m+=vo(c+1)+R+"="+H+`
|
|
190
|
-
`)}else m+=xr(c+1)+R+"="+Oi(t[R],H)+`
|
|
191
|
-
`}y.forEach(function(je){if(je!=="children"){var we=120-2*(c+1)-je.length-1;m+=vo(c+1)+je+"="+Oi(r[je],we)+`
|
|
192
|
-
`}}),m=m===""?xr(c)+"<"+e+`>
|
|
193
|
-
`:xr(c)+"<"+e+`
|
|
194
|
-
`+m+xr(c)+`>
|
|
195
|
-
`}return e=r.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(y="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(y=""+t),m+=go(y,""+e,c+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(m=e==null?m+go(""+t,null,c+1):m+go(""+t,void 0,c+1)),m}function ec(e,t){var r=ri(e);if(r===null){for(r="",e=e.child;e;)r+=ec(e,t),e=e.sibling;return r}return xr(t)+"<"+r+`>
|
|
196
|
-
`}function tc(e,t){var r=mo(e,t);if(r!==e&&(e.children.length!==1||e.children[0]!==r))return xr(t)+`...
|
|
197
|
-
`+tc(r,t+1);r="";var c=e.fiber._debugInfo;if(c)for(var m=0;m<c.length;m++){var y=c[m].name;typeof y=="string"&&(r+=xr(t)+"<"+y+`>
|
|
198
|
-
`,t++)}if(c="",m=e.fiber.pendingProps,e.fiber.tag===6)c=go(m,e.serverProps,t),t++;else if(y=ri(e.fiber),y!==null)if(e.serverProps===void 0){c=t;var R=120-2*c-y.length-2,H="";for(K in m)if(m.hasOwnProperty(K)&&K!=="children"){var Q=Oi(m[K],15);if(R-=K.length+Q.length+2,0>R){H+=" ...";break}H+=" "+K+"="+Q}c=xr(c)+"<"+y+H+`>
|
|
199
|
-
`,t++}else e.serverProps===null?(c=Ql(y,m,Ou(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(c=ii(y,m,e.serverProps,t),t++);var K="";for(m=e.fiber.child,y=0;m&&y<e.children.length;)R=e.children[y],R.fiber===m?(K+=tc(R,t),y++):K+=ec(m,t),m=m.sibling;for(m&&0<e.children.length&&(K+=xr(t)+`...
|
|
200
|
-
`),m=e.serverTail,e.serverProps===null&&t--,e=0;e<m.length;e++)y=m[e],K=typeof y=="string"?K+(vo(t)+Xa(y,120-2*t)+`
|
|
201
|
-
`):K+Ql(y.type,y.props,vo(t));return r+c+K}function _(e){try{return`
|
|
202
|
-
|
|
203
|
-
`+tc(e,0)}catch{return""}}function F(e,t,r){for(var c=t,m=null,y=0;c;)c===e&&(y=0),m={fiber:c,children:m!==null?[m]:[],serverProps:c===t?r:c===e?null:void 0,serverTail:[],distanceFromLeaf:y},y++,c=c.return;return m!==null?_(m).replaceAll(/^[+-]/gm,">"):""}function J(e,t){var r=Kt({},e||cv),c={tag:t};return Am.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),Tm.indexOf(t)!==-1&&(r.pTagInButtonScope=null),ov.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=c,t==="form"&&(r.formTag=c),t==="a"&&(r.aTagInScope=c),t==="button"&&(r.buttonTagInScope=c),t==="nobr"&&(r.nobrTagInScope=c),t==="p"&&(r.pTagInButtonScope=c),t==="li"&&(r.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=c),t==="#document"||t==="html"?r.containerTagInScope=null:r.containerTagInScope||(r.containerTagInScope=c),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?r.implicitRootScope===!0&&(r.implicitRootScope=!1):r.implicitRootScope=!0,r}function ye(e,t,r){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(r)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!r)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return sv.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return r||t===null;case"html":return r&&t==="#document"||t===null;case"body":return r&&(t==="#document"||t==="html")||t===null}return!0}function Ie(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function at(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function qt(e,t){t=t||cv;var r=t.current;if(t=(r=ye(e,r&&r.tag,t.implicitRootScope)?null:r)?null:Ie(e,t),t=r||t,!t)return!0;var c=t.tag;if(t=String(!!r)+"|"+e+"|"+c,jc[t])return!1;jc[t]=!0;var m=(t=cl)?at(t.return,c):null,y=t!==null&&m!==null?F(m,t,null):"",R="<"+e+">";return r?(r="",c==="table"&&e==="tr"&&(r+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
204
|
-
This will cause a hydration error.%s`,R,c,r,y)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
205
|
-
This will cause a hydration error.%s`,R,c,y),t&&(e=t.return,m===null||e===null||m===e&&e._debugOwner===t._debugOwner||ft(m,function(){console.error(`<%s> cannot contain a nested %s.
|
|
206
|
-
See this log for the ancestor stack trace.`,c,R)})),!1}function En(e,t,r){if(r||ye("#text",t,!1))return!0;if(r="#text|"+t,jc[r])return!1;jc[r]=!0;var c=(r=cl)?at(r,t):null;return r=r!==null&&c!==null?F(c,r,r.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
207
|
-
This will cause a hydration error.%s`,t,r):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
208
|
-
This will cause a hydration error.%s`,t,r),!1}function ba(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}function $a(e){return e.replace(Bs,function(t,r){return r.toUpperCase()})}function Km(e,t,r){var c=t.indexOf("--")===0;c||(-1<t.indexOf("-")?kc.hasOwnProperty(t)&&kc[t]||(kc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,$a(t.replace(wh,"ms-")))):Ch.test(t)?kc.hasOwnProperty(t)&&kc[t]||(kc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Fg.test(r)||qc.hasOwnProperty(r)&&qc[r]||(qc[r]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(Fg,""))),typeof r=="number"&&(isNaN(r)?Yg||(Yg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(r)||fv||(fv=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),r==null||typeof r=="boolean"||r===""?c?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":c?e.setProperty(t,r):typeof r!="number"||r===0||Oh.has(t)?t==="float"?e.cssFloat=r:(ne(r,t),e[t]=(""+r).trim()):e[t]=r+"px"}function tf(e,t,r){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,r!=null){if(t){var c={};if(r){for(var m in r)if(r.hasOwnProperty(m)&&!t.hasOwnProperty(m))for(var y=du[m]||[m],R=0;R<y.length;R++)c[y[R]]=m}for(var H in t)if(t.hasOwnProperty(H)&&(!r||r[H]!==t[H]))for(m=du[H]||[H],y=0;y<m.length;y++)c[m[y]]=H;H={};for(var Q in t)for(m=du[Q]||[Q],y=0;y<m.length;y++)H[m[y]]=Q;Q={};for(var K in c)if(m=c[K],(y=H[K])&&m!==y&&(R=m+","+y,!Q[R])){Q[R]=!0,R=console;var Re=t[m];R.error.call(R,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Re==null||typeof Re=="boolean"||Re===""?"Removing":"Updating",m,y)}}for(var je in r)!r.hasOwnProperty(je)||t!=null&&t.hasOwnProperty(je)||(je.indexOf("--")===0?e.setProperty(je,""):je==="float"?e.cssFloat="":e[je]="");for(var we in t)K=t[we],t.hasOwnProperty(we)&&r[we]!==K&&Km(e,we,K)}else for(c in t)t.hasOwnProperty(c)&&Km(e,c,t[c])}function rs(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Wh(e){return Cm.get(e)||e}function nf(e,t){if(Yo.call(uo,t)&&uo[t])return!0;if(wm.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=dv.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),uo[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),uo[t]=!0}if(hv.test(t)){if(e=t.toLowerCase(),e=dv.hasOwnProperty(e)?e:null,e==null)return uo[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),uo[t]=!0)}return!0}function af(e,t){var r=[],c;for(c in t)nf(e,c)||r.push(c);t=r.map(function(m){return"`"+m+"`"}).join(", "),r.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Jm(e,t,r,c){if(Yo.call(Ei,t)&&Ei[t])return!0;var m=t.toLowerCase();if(m==="onfocusin"||m==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ei[t]=!0;if(typeof r=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(c!=null){if(e=c.possibleRegistrationNames,c.registrationNameDependencies.hasOwnProperty(t))return!0;if(c=e.hasOwnProperty(m)?e[m]:null,c!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,c),Ei[t]=!0;if(_h.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ei[t]=!0}else if(_h.test(t))return a.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ei[t]=!0;if(i.test(t)||o.test(t))return!0;if(m==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ei[t]=!0;if(m==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ei[t]=!0;if(m==="is"&&r!==null&&r!==void 0&&typeof r!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),Ei[t]=!0;if(typeof r=="number"&&isNaN(r))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ei[t]=!0;if(Fc.hasOwnProperty(m)){if(m=Fc[m],m!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,m),Ei[t]=!0}else if(t!==m)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,m),Ei[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof r){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return m=t.toLowerCase().slice(0,5),m==="data-"||m==="aria-"?!0:(r?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',r,t,t,r,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',r,t,t,r,t,t,t),Ei[t]=!0)}case"function":case"symbol":return Ei[t]=!0,!1;case"string":if(r==="false"||r==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",r,t,r==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,r),Ei[t]=!0}}return!0}function Wm(e,t,r){var c=[],m;for(m in t)Jm(e,m,t[m],r)||c.push(m);t=c.map(function(y){return"`"+y+"`"}).join(", "),c.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<c.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function rf(e){return h.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function nc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function _u(e){var t=Gn(e);if(t&&(e=t.stateNode)){var r=e[Xi]||null;e:switch(e=t.stateNode,t.type){case"input":if(wu(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(Me(t,"name"),r=r.querySelectorAll('input[name="'+ai(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var c=r[t];if(c!==e&&c.form===e.form){var m=c[Xi]||null;if(!m)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wu(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(t=0;t<r.length;t++)c=r[t],c.form===e.form&&Va(c)}break e;case"textarea":Ws(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&Pl(e,!!r.multiple,t,!1)}}}function lf(e,t,r){if(P)return e(t,r);P=!0;try{var c=e(t);return c}finally{if(P=!1,(T!==null||k!==null)&&(zo(),T&&(t=T,e=k,k=T=null,_u(t),e)))for(t=0;t<e.length;t++)_u(e[t])}}function yo(e,t){var r=e.stateNode;if(r===null)return null;var c=r[Xi]||null;if(c===null)return null;r=c[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(e=e.type,c=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!c;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function bo(){if(Te)return Te;var e,t=Oe,r=t.length,c,m="value"in Ze?Ze.value:Ze.textContent,y=m.length;for(e=0;e<r&&t[e]===m[e];e++);var R=r-e;for(c=1;c<=R&&t[r-c]===m[y-c];c++);return Te=m.slice(e,1<c?1-c:void 0)}function uf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ac(){return!0}function e0(){return!1}function Zt(e){function t(r,c,m,y,R){this._reactName=r,this._targetInst=m,this.type=c,this.nativeEvent=y,this.target=R,this.currentTarget=null;for(var H in e)e.hasOwnProperty(H)&&(r=e[H],this[H]=r?r(y):y[H]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?ac:e0,this.isPropagationStopped=e0,this}return Kt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ac)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ac)},persist:function(){},isPersistent:ac}),t}function Xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qx[e])?!!t[e]:!1}function ep(){return Xn}function li(e,t){switch(e){case"keyup":return Jx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==iS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function is(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function tp(e,t){switch(e){case"compositionend":return is(t);case"keypress":return t.which!==x?null:(G=!0,N);case"textInput":return e=t.data,e===N&&G?null:e;default:return null}}function Ad(e,t){if(Z)return e==="compositionend"||!m1&&li(e,t)?(e=bo(),Te=Oe=Ze=null,Z=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return d&&t.locale!=="ko"?null:t.data;default:return null}}function og(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!re[e.type]:t==="textarea"}function np(e){if(!ae)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function ap(e,t,r,c){T?k?k.push(c):k=[c]:T=c,t=qf(t,"onChange"),0<t.length&&(r=new wt("onChange","change",null,r,c),e.push({event:r,listeners:t}))}function Pa(e){Ku(e,0)}function So(e){var t=dr(e);if(Va(t))return e}function Eo(e,t){if(e==="change")return t}function t0(){se&&(se.detachEvent("onpropertychange",rp),Se=se=null)}function rp(e){if(e.propertyName==="value"&&So(Se)){var t=[];ap(t,Se,e,nc(e)),lf(Pa,t)}}function yl(e,t,r){e==="focusin"?(t0(),se=t,Se=r,se.attachEvent("onpropertychange",rp)):e==="focusout"&&t0()}function ip(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return So(Se)}function sg(e,t){if(e==="click")return So(t)}function cg(e,t){if(e==="input"||e==="change")return So(t)}function fg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function of(e,t){if($e(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),c=Object.keys(t);if(r.length!==c.length)return!1;for(c=0;c<r.length;c++){var m=r[c];if(!Yo.call(t,m)||!$e(e[m],t[m]))return!1}return!0}function n0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ui(e,t){var r=n0(e);e=0;for(var c;r;){if(r.nodeType===3){if(c=e+r.textContent.length,e<=t&&c>=t)return{node:r,offset:t-e};e=c}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=n0(r)}}function dg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wi(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Zs(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Zs(e.document)}return t}function a0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function r0(e,t,r){var c=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Wt||lt==null||lt!==Zs(c)||(c=lt,"selectionStart"in c&&a0(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Rt&&of(Rt,c)||(Rt=c,c=qf(vt,"onSelect"),0<c.length&&(t=new wt("onSelect","select",null,t,r),e.push({event:t,listeners:c}),t.target=lt)))}function kr(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}function Ru(e){if(gn[e])return gn[e];if(!Ot[e])return e;var t=Ot[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Rn)return gn[e]=t[r];return e}function el(e,t){BO.set(e,t),ni(t,[e])}function bn(e,t){if(typeof e=="object"&&e!==null){var r=eA.get(e);return r!==void 0?r:(t={value:e,source:t,stack:gl(t)},eA.set(e,t),t)}return{value:e,source:t,stack:gl(t)}}function bl(){for(var e=Gg,t=nA=Gg=0;t<e;){var r=zs[t];zs[t++]=null;var c=zs[t];zs[t++]=null;var m=zs[t];zs[t++]=null;var y=zs[t];if(zs[t++]=null,c!==null&&m!==null){var R=c.pending;R===null?m.next=m:(m.next=R.next,R.next=m),c.pending=m}y!==0&&hg(r,m,y)}}function sf(e,t,r,c){zs[Gg++]=e,zs[Gg++]=t,zs[Gg++]=r,zs[Gg++]=c,nA|=c,e.lanes|=c,e=e.alternate,e!==null&&(e.lanes|=c)}function i0(e,t,r,c){return sf(e,t,r,c),lp(e)}function qr(e,t){return sf(e,null,null,t),lp(e)}function hg(e,t,r){e.lanes|=r;var c=e.alternate;c!==null&&(c.lanes|=r);for(var m=!1,y=e.return;y!==null;)y.childLanes|=r,c=y.alternate,c!==null&&(c.childLanes|=r),y.tag===22&&(e=y.stateNode,e===null||e._visibility&tA||(m=!0)),e=y,y=y.return;return e.tag===3?(y=e.stateNode,m&&t!==null&&(m=31-Da(r),e=y.hiddenUpdates,c=e[m],c===null?e[m]=[t]:c.push(t),t.lane=r|536870912),y):null}function lp(e){if(j1>h5)throw _v=j1=0,k1=NA=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");_v>p5&&(_v=0,k1=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&lu(e);for(var t=e,r=t.return;r!==null;)t.alternate===null&&(t.flags&4098)!==0&&lu(e),t=r,r=t.return;return t.tag===3?t.stateNode:null}function rc(e){if(Us===null)return e;var t=Us(e);return t===void 0?e:t.current}function up(e){if(Us===null)return e;var t=Us(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=rc(e.render),e.render!==t)?(t={$$typeof:Nt,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Td(e,t){if(Us===null)return!1;var r=e.elementType;t=t.type;var c=!1,m=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(c=!0);break;case 0:(typeof t=="function"||m===ol)&&(c=!0);break;case 11:(m===Nt||m===ol)&&(c=!0);break;case 14:case 15:(m===xa||m===ol)&&(c=!0);break;default:return!1}return!!(c&&(e=Us(r),e!==void 0&&e===Us(t)))}function ic(e){Us!==null&&typeof WeakSet=="function"&&(Ig===null&&(Ig=new WeakSet),Ig.add(e))}function Cd(e,t,r){var c=e.alternate,m=e.child,y=e.sibling,R=e.tag,H=e.type,Q=null;switch(R){case 0:case 15:case 1:Q=H;break;case 11:Q=H.render}if(Us===null)throw Error("Expected resolveFamily to be set during hot reload.");var K=!1;H=!1,Q!==null&&(Q=Us(Q),Q!==void 0&&(r.has(Q)?H=!0:t.has(Q)&&(R===1?H=!0:K=!0))),Ig!==null&&(Ig.has(e)||c!==null&&Ig.has(c))&&(H=!0),H&&(e._debugNeedsRemount=!0),(H||K)&&(c=qr(e,2),c!==null&&ja(c,e,2)),m===null||H||Cd(m,t,r),y!==null&&Cd(y,t,r)}function cf(e,t,r,c){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,zO||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function op(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sl(e,t){var r=e.alternate;switch(r===null?(r=M(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugOwner=e._debugOwner,r._debugStack=e._debugStack,r._debugTask=e._debugTask,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null,r.actualDuration=-0,r.actualStartTime=-1.1),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugInfo=e._debugInfo,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case 0:case 15:r.type=rc(e.type);break;case 1:r.type=rc(e.type);break;case 11:r.type=up(e.type)}return r}function wd(e,t){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration),e}function Od(e,t,r,c,m,y){var R=0,H=e;if(typeof e=="function")op(e)&&(R=1),H=rc(H);else if(typeof e=="string")R=ee(),R=$f(e,r,R)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ro:return t=M(31,r,t,m),t.elementType=ro,t.lanes=y,t;case $t:return Mu(r.children,m,y,t);case Zf:R=8,m|=Yl,m|=Gc;break;case Zr:return e=r,c=m,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=M(12,e,t,c|fl),t.elementType=Zr,t.lanes=y,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Kf:return t=M(13,r,t,m),t.elementType=Kf,t.lanes=y,t;case Za:return t=M(19,r,t,m),t.elementType=Za,t.lanes=y,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W0:case gr:R=10;break e;case pm:R=9;break e;case Nt:R=11,H=up(H);break e;case xa:R=14;break e;case ol:R=16,H=null;break e}H="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?r="null":Ft(e)?r="array":e!==void 0&&e.$$typeof===Rs?(r="<"+(Y(e.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):r=typeof e,(R=c?ie(c):null)&&(H+=`
|
|
209
|
-
|
|
210
|
-
Check the render method of \``+R+"`."),R=29,r=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r+"."+H)),H=null}return t=M(R,r,t,m),t.elementType=e,t.type=H,t.lanes=y,t._debugOwner=c,t}function Dd(e,t,r){return t=Od(e.type,e.key,e.props,e._owner,t,r),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Mu(e,t,r,c){return e=M(7,e,c,t),e.lanes=r,e}function Nu(e,t,r){return e=M(6,e,null,t),e.lanes=r,e}function l0(e,t,r){return t=M(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ls(e,t){El(),Vg[Xg++]=uS,Vg[Xg++]=lS,lS=e,uS=t}function Di(e,t,r){El(),Hs[js++]=Rh,Hs[js++]=Mh,Hs[js++]=gv,gv=e;var c=Rh;e=Mh;var m=32-Da(c)-1;c&=~(1<<m),r+=1;var y=32-Da(t)+m;if(30<y){var R=m-m%5;y=(c&(1<<R)-1).toString(32),c>>=R,m-=R,Rh=1<<32-Da(t)+m|r<<m|c,Mh=y+e}else Rh=1<<y|r<<m|c,Mh=e}function ff(e){El(),e.return!==null&&(ls(e,1),Di(e,1,0))}function us(e){for(;e===lS;)lS=Vg[--Xg],Vg[Xg]=null,uS=Vg[--Xg],Vg[Xg]=null;for(;e===gv;)gv=Hs[--js],Hs[js]=null,Mh=Hs[--js],Hs[js]=null,Rh=Hs[--js],Hs[js]=null}function El(){Vn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function xl(e,t){if(e.return===null){if(ks===null)ks={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ks.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ks.distanceFromLeaf>t&&(ks.distanceFromLeaf=t)}return ks}var r=xl(e.return,t+1).children;return 0<r.length&&r[r.length-1].fiber===e?(r=r[r.length-1],r.distanceFromLeaf>t&&(r.distanceFromLeaf=t),r):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},r.push(t),t)}function u0(e,t){Nh||(e=xl(e,0),e.serverProps=null,t!==null&&(t=nm(t),e.serverTail.push(t)))}function Bu(e){var t="",r=ks;throw r!==null&&(ks=null,t=_(r)),df(bn(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
211
|
-
|
|
212
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
213
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
214
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
215
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
216
|
-
- Invalid HTML tag nesting.
|
|
217
|
-
|
|
218
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
219
|
-
|
|
220
|
-
https://react.dev/link/hydration-mismatch`+t),e)),aA}function o0(e){var t=e.stateNode,r=e.type,c=e.memoizedProps;switch(t[Kr]=e,t[Xi]=c,Ju(r,c),r){case"dialog":fn("cancel",t),fn("close",t);break;case"iframe":case"object":case"embed":fn("load",t);break;case"video":case"audio":for(r=0;r<q1.length;r++)fn(q1[r],t);break;case"source":fn("error",t);break;case"img":case"image":case"link":fn("error",t),fn("load",t);break;case"details":fn("toggle",t);break;case"input":Ki("input",c),fn("invalid",t),Cu(t,c),Ks(t,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),$l(t);break;case"option":ns(t,c);break;case"select":Ki("select",c),fn("invalid",t),Js(t,c);break;case"textarea":Ki("textarea",c),fn("invalid",t),Ji(t,c),ef(t,c.value,c.defaultValue,c.children),$l(t)}r=c.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||c.suppressHydrationWarning===!0||z0(t.textContent,r)?(c.popover!=null&&(fn("beforetoggle",t),fn("toggle",t)),c.onScroll!=null&&fn("scroll",t),c.onScrollEnd!=null&&fn("scrollend",t),c.onClick!=null&&(t.onclick=Ho),t=!0):t=!1,t||Bu(e)}function s0(e){for(hu=e.return;hu;)switch(hu.tag){case 5:case 13:sd=!1;return;case 27:case 3:sd=!0;return;default:hu=hu.return}}function lc(e){if(e!==hu)return!1;if(!Vn)return s0(e),Vn=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Wu(e.type,e.memoizedProps)),r=!r),r&&br){for(r=br;r;){var c=xl(e,0),m=nm(r);c.serverTail.push(m),r=m.type==="Suspense"?G0(r):_r(r.nextSibling)}Bu(e)}if(s0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");br=G0(e)}else t===27?(t=br,eo(e.type)?(e=IA,IA=null,br=e):br=t):br=hu?_r(e.stateNode.nextSibling):null;return!0}function Al(){br=hu=null,Nh=Vn=!1}function c0(){var e=yv;return e!==null&&(vu===null?vu=e:vu.push.apply(vu,e),yv=null),e}function df(e){yv===null?yv=[e]:yv.push(e)}function _d(){var e=ks;if(e!==null){ks=null;for(var t=_(e);0<e.children.length;)e=e.children[0];ft(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
221
|
-
|
|
222
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
223
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
224
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
225
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
226
|
-
- Invalid HTML tag nesting.
|
|
227
|
-
|
|
228
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
229
|
-
|
|
230
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Rd(){$g=oS=null,Pg=!1}function oi(e,t,r){_e(rA,t._currentValue,e),t._currentValue=r,_e(iA,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==kO&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=kO}function Tl(e,t){e._currentValue=rA.current;var r=iA.current;ve(iA,t),e._currentRenderer=r,ve(rA,t)}function f0(e,t,r){for(;e!==null;){var c=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,c!==null&&(c.childLanes|=t)):c!==null&&(c.childLanes&t)!==t&&(c.childLanes|=t),e===r)break;e=e.return}e!==r&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function d0(e,t,r,c){var m=e.child;for(m!==null&&(m.return=e);m!==null;){var y=m.dependencies;if(y!==null){var R=m.child;y=y.firstContext;e:for(;y!==null;){var H=y;y=m;for(var Q=0;Q<t.length;Q++)if(H.context===t[Q]){y.lanes|=r,H=y.alternate,H!==null&&(H.lanes|=r),f0(y.return,r,e),c||(R=null);break e}y=H.next}}else if(m.tag===18){if(R=m.return,R===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");R.lanes|=r,y=R.alternate,y!==null&&(y.lanes|=r),f0(R,r,e),R=null}else R=m.child;if(R!==null)R.return=m;else for(R=m;R!==null;){if(R===e){R=null;break}if(m=R.sibling,m!==null){m.return=R.return,R=m;break}R=R.return}m=R}}function Ar(e,t,r,c){e=null;for(var m=t,y=!1;m!==null;){if(!y){if((m.flags&524288)!==0)y=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var R=m.alternate;if(R===null)throw Error("Should have a current fiber. This is a bug in React.");if(R=R.memoizedProps,R!==null){var H=m.type;$e(m.pendingProps.value,R.value)||(e!==null?e.push(H):e=[H])}}else if(m===Wf.current){if(R=m.alternate,R===null)throw Error("Should have a current fiber. This is a bug in React.");R.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(e!==null?e.push(I1):e=[I1])}m=m.return}e!==null&&d0(t,e,r,c),t.flags|=262144}function tl(e){for(e=e.firstContext;e!==null;){if(!$e(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function hr(e){oS=e,$g=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function da(e){return Pg&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),h0(oS,e)}function Md(e,t){return oS===null&&hr(e),h0(e,t)}function h0(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},$g===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");$g=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else $g=$g.next=t;return r}function Nd(){return{controller:new J7,data:new Map,refCount:0}}function uc(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Lu(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&W7(e5,function(){e.controller.abort()})}function Fr(){var e=bv;return bv=0,e}function me(e){var t=bv;return bv=e,t}function qe(e){var t=bv;return bv+=e,t}function Be(e){oo=Qg(),0>e.actualStartTime&&(e.actualStartTime=oo)}function ot(e){if(0<=oo){var t=Qg()-oo;e.actualDuration+=t,e.selfBaseDuration=t,oo=-1}}function Lt(e){if(0<=oo){var t=Qg()-oo;e.actualDuration+=t,oo=-1}}function Gt(){if(0<=oo){var e=Qg()-oo;oo=-1,bv+=e}}function $n(){oo=Qg()}function Sn(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function sp(e,t){if(g1===null){var r=g1=[];lA=0,Sv=R0(),Zg={status:"pending",value:void 0,then:function(c){r.push(c)}}}return lA++,t.then(p0,p0),t}function p0(){if(--lA===0&&g1!==null){Zg!==null&&(Zg.status="fulfilled");var e=g1;g1=null,Sv=0,Zg=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function nl(e,t){var r=[],c={status:"pending",value:null,reason:null,then:function(m){r.push(m)}};return e.then(function(){c.status="fulfilled",c.value=t;for(var m=0;m<r.length;m++)(0,r[m])(t)},function(m){for(c.status="rejected",c.reason=m,m=0;m<r.length;m++)(0,r[m])(void 0)}),c}function hf(){var e=Ev.current;return e!==null?e:Na.pooledCache}function cp(e,t){t===null?_e(Ev,Ev.current,e):_e(Ev,t.pool,e)}function oc(){var e=hf();return e===null?null:{parent:xi._currentValue,pool:e}}function pf(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function mf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Dn(){}function Cl(e,t,r){Le.actQueue!==null&&(Le.didUsePromise=!0);var c=e.thenables;switch(r=c[r],r===void 0?c.push(t):r!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Dn,Dn),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Yr(e),e;default:if(typeof t.status=="string")t.then(Dn,Dn);else{if(e=Na,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var y=t;y.status="fulfilled",y.value=m}},function(m){if(t.status==="pending"){var y=t;y.status="rejected",y.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Yr(e),e}throw C1=t,pS=!0,T1}}function fp(){if(C1===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=C1;return C1=null,pS=!1,e}function Yr(e){if(e===T1||e===hS)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function _i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function os(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function zu(e){return{lane:e,tag:IO,payload:null,callback:null,next:null}}function Ri(e,t,r){var c=e.updateQueue;if(c===null)return null;if(c=c.shared,sA===c&&!$O){var m=oe(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
231
|
-
|
|
232
|
-
Please update the following component: %s`,m),$O=!0}return(la&mu)!==$o?(m=c.pending,m===null?t.next=t:(t.next=m.next,m.next=t),c.pending=t,t=lp(e),hg(e,null,r),t):(sf(e,c,t,r),lp(e))}function si(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var c=t.lanes;c&=e.pendingLanes,r|=c,t.lanes=r,Bt(e,r)}}function xo(e,t){var r=e.updateQueue,c=e.alternate;if(c!==null&&(c=c.updateQueue,r===c)){var m=null,y=null;if(r=r.firstBaseUpdate,r!==null){do{var R={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};y===null?m=y=R:y=y.next=R,r=r.next}while(r!==null);y===null?m=y=t:y=y.next=t}else m=y=t;r={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:y,shared:c.shared,callbacks:c.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Zl(){if(cA){var e=Zg;if(e!==null)throw e}}function Ao(e,t,r,c){cA=!1;var m=e.updateQueue;Dm=!1,sA=m.shared;var y=m.firstBaseUpdate,R=m.lastBaseUpdate,H=m.shared.pending;if(H!==null){m.shared.pending=null;var Q=H,K=Q.next;Q.next=null,R===null?y=K:R.next=K,R=Q;var Re=e.alternate;Re!==null&&(Re=Re.updateQueue,H=Re.lastBaseUpdate,H!==R&&(H===null?Re.firstBaseUpdate=K:H.next=K,Re.lastBaseUpdate=Q))}if(y!==null){var je=m.baseState;R=0,Re=K=Q=null,H=y;do{var we=H.lane&-536870913,Ge=we!==H.lane;if(Ge?(Mn&we)===we:(c&we)===we){we!==0&&we===Sv&&(cA=!0),Re!==null&&(Re=Re.next={lane:0,tag:H.tag,payload:H.payload,callback:null,next:null});e:{we=e;var pt=H,kt=t,Ba=r;switch(pt.tag){case VO:if(pt=pt.payload,typeof pt=="function"){Pg=!0;var Ln=pt.call(Ba,je,kt);if(we.mode&Yl){Ye(!0);try{pt.call(Ba,je,kt)}finally{Ye(!1)}}Pg=!1,je=Ln;break e}je=pt;break e;case oA:we.flags=we.flags&-65537|128;case IO:if(Ln=pt.payload,typeof Ln=="function"){if(Pg=!0,pt=Ln.call(Ba,je,kt),we.mode&Yl){Ye(!0);try{Ln.call(Ba,je,kt)}finally{Ye(!1)}}Pg=!1}else pt=Ln;if(pt==null)break e;je=Kt({},je,pt);break e;case XO:Dm=!0}}we=H.callback,we!==null&&(e.flags|=64,Ge&&(e.flags|=8192),Ge=m.callbacks,Ge===null?m.callbacks=[we]:Ge.push(we))}else Ge={lane:we,tag:H.tag,payload:H.payload,callback:H.callback,next:null},Re===null?(K=Re=Ge,Q=je):Re=Re.next=Ge,R|=we;if(H=H.next,H===null){if(H=m.shared.pending,H===null)break;Ge=H,H=Ge.next,Ge.next=null,m.lastBaseUpdate=Ge,m.shared.pending=null}}while(!0);Re===null&&(Q=je),m.baseState=Q,m.firstBaseUpdate=K,m.lastBaseUpdate=Re,y===null&&(m.shared.lanes=0),Nm|=R,e.lanes=R,e.memoizedState=je}sA=null}function vf(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function sc(e,t){var r=e.shared.hiddenCallbacks;if(r!==null)for(e.shared.hiddenCallbacks=null,e=0;e<r.length;e++)vf(r[e],t)}function Bd(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)vf(r[e],t)}function ci(e,t){var r=dd;_e(mS,r,e),_e(Kg,t,e),dd=r|t.baseLanes}function To(e){_e(mS,dd,e),_e(Kg,Kg.current,e)}function Tr(e){dd=mS.current,ve(Kg,e),ve(mS,e)}function It(){var e=He;Ys===null?Ys=[e]:Ys.push(e)}function tt(){var e=He;if(Ys!==null&&(Lh++,Ys[Lh]!==e)){var t=oe(Pt);if(!PO.has(t)&&(PO.add(t),Ys!==null)){for(var r="",c=0;c<=Lh;c++){var m=Ys[c],y=c===Lh?e:m;for(m=c+1+". "+m;30>m.length;)m+=" ";m+=y+`
|
|
233
|
-
`,r+=m}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
234
|
-
|
|
235
|
-
Previous render Next render
|
|
236
|
-
------------------------------------------------------
|
|
237
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
238
|
-
`,t,r)}}}function wl(e){e==null||Ft(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",He,typeof e)}function gf(){var e=oe(Pt);ZO.has(e)||(ZO.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function ha(){throw Error(`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:
|
|
239
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
240
|
-
2. You might be breaking the Rules of Hooks
|
|
241
|
-
3. You might have more than one copy of React in the same app
|
|
242
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Kl(e,t){if(O1)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",He),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
243
|
-
|
|
244
|
-
Previous: %s
|
|
245
|
-
Incoming: %s`,He,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!$e(e[r],t[r]))return!1;return!0}function Uu(e,t,r,c,m,y){_m=y,Pt=t,Ys=e!==null?e._debugHookTypes:null,Lh=-1,O1=e!==null&&e.type!==t.type,(Object.prototype.toString.call(r)==="[object AsyncFunction]"||Object.prototype.toString.call(r)==="[object AsyncGeneratorFunction]")&&(y=oe(Pt),fA.has(y)||(fA.add(y),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",y===null?"An unknown Component":"<"+y+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Le.H=e!==null&&e.memoizedState!==null?hA:Ys!==null?KO:dA,Av=y=(t.mode&Yl)!==Ya;var R=pA(r,c,m);if(Av=!1,Wg&&(R=cc(t,r,c,m)),y){Ye(!0);try{R=cc(t,r,c,m)}finally{Ye(!1)}}return Ld(e,t),R}function Ld(e,t){t._debugHookTypes=Ys,t.dependencies===null?Bh!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Bh}):t.dependencies._debugThenableState=Bh,Le.H=yS;var r=_a!==null&&_a.next!==null;if(_m=0,Ys=He=Jr=_a=Pt=null,Lh=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),vS=!1,w1=0,Bh=null,r)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Pi||(e=e.dependencies,e!==null&&tl(e)&&(Pi=!0)),pS?(pS=!1,e=!0):e=!1,e&&(t=oe(t)||"Unknown",QO.has(t)||fA.has(t)||(QO.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function cc(e,t,r,c){Pt=e;var m=0;do{if(Wg&&(Bh=null),w1=0,Wg=!1,m>=n5)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(m+=1,O1=!1,Jr=_a=null,e.updateQueue!=null){var y=e.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}Lh=-1,Le.H=JO,y=pA(t,r,c)}while(Wg);return y}function Ol(){var e=Le.H,t=e.useState()[0];return t=typeof t.then=="function"?fc(t):t,e=e.useState()[0],(_a!==null?_a.memoizedState:null)!==e&&(Pt.flags|=1024),t}function Mi(){var e=gS!==0;return gS=0,e}function ta(e,t,r){t.updateQueue=e.updateQueue,t.flags=(t.mode&Gc)!==Ya?t.flags&-402655237:t.flags&-2053,e.lanes&=~r}function pa(e){if(vS){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vS=!1}_m=0,Ys=Jr=_a=Pt=null,Lh=-1,He=null,Wg=!1,w1=gS=0,Bh=null}function Ua(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jr===null?Pt.memoizedState=Jr=e:Jr=Jr.next=e,Jr}function xn(){if(_a===null){var e=Pt.alternate;e=e!==null?e.memoizedState:null}else e=_a.next;var t=Jr===null?Pt.memoizedState:Jr.next;if(t!==null)Jr=t,_a=e;else{if(e===null)throw Pt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");_a=e,e={memoizedState:_a.memoizedState,baseState:_a.baseState,baseQueue:_a.baseQueue,queue:_a.queue,next:null},Jr===null?Pt.memoizedState=Jr=e:Jr=Jr.next=e}return Jr}function zd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fc(e){var t=w1;return w1+=1,Bh===null&&(Bh=pf()),e=Cl(Bh,e,t),t=Pt,(Jr===null?t.memoizedState:Jr.next)===null&&(t=t.alternate,Le.H=t!==null&&t.memoizedState!==null?hA:dA),e}function Dl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return fc(e);if(e.$$typeof===gr)return da(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Sa(e){var t=null,r=Pt.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var c=Pt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(t={data:c.data.map(function(m){return m.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=zd(),Pt.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0||O1)for(r=t.data[t.index]=Array(e),c=0;c<e;c++)r[c]=Ng;else r.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",r.length,e);return t.index++,r}function _n(e,t){return typeof t=="function"?t(e):t}function sn(e,t,r){var c=Ua();if(r!==void 0){var m=r(t);if(Av){Ye(!0);try{r(t)}finally{Ye(!1)}}}else m=t;return c.memoizedState=c.baseState=m,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:m},c.queue=e,e=e.dispatch=Yd.bind(null,Pt,e),[c.memoizedState,e]}function Gr(e){var t=xn();return Ir(t,_a,e)}function Ir(e,t,r){var c=e.queue;if(c===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");c.lastRenderedReducer=r;var m=e.baseQueue,y=c.pending;if(y!==null){if(m!==null){var R=m.next;m.next=y.next,y.next=R}t.baseQueue!==m&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=m=y,c.pending=null}if(y=e.baseState,m===null)e.memoizedState=y;else{t=m.next;var H=R=null,Q=null,K=t,Re=!1;do{var je=K.lane&-536870913;if(je!==K.lane?(Mn&je)===je:(_m&je)===je){var we=K.revertLane;if(we===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),je===Sv&&(Re=!0);else if((_m&we)===we){K=K.next,we===Sv&&(Re=!0);continue}else je={lane:0,revertLane:K.revertLane,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},Q===null?(H=Q=je,R=y):Q=Q.next=je,Pt.lanes|=we,Nm|=we;je=K.action,Av&&r(y,je),y=K.hasEagerState?K.eagerState:r(y,je)}else we={lane:je,revertLane:K.revertLane,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},Q===null?(H=Q=we,R=y):Q=Q.next=we,Pt.lanes|=je,Nm|=je;K=K.next}while(K!==null&&K!==t);if(Q===null?R=y:Q.next=H,!$e(y,e.memoizedState)&&(Pi=!0,Re&&(r=Zg,r!==null)))throw r;e.memoizedState=y,e.baseState=R,e.baseQueue=Q,c.lastRenderedState=y}return m===null&&(c.lanes=0),[e.memoizedState,c.dispatch]}function Hu(e){var t=xn(),r=t.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=e;var c=r.dispatch,m=r.pending,y=t.memoizedState;if(m!==null){r.pending=null;var R=m=m.next;do y=e(y,R.action),R=R.next;while(R!==m);$e(y,t.memoizedState)||(Pi=!0),t.memoizedState=y,t.baseQueue===null&&(t.baseState=y),r.lastRenderedState=y}return[y,c]}function Ni(e,t,r){var c=Pt,m=Ua();if(Vn){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var y=r();Jg||y===r()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jg=!0)}else{if(y=t(),Jg||(r=t(),$e(y,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jg=!0)),Na===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Mn&124)!==0||m0(c,t,y)}return m.memoizedState=y,r={value:y,getSnapshot:t},m.queue=r,hp(bf.bind(null,c,r,e),[e]),c.flags|=2048,ku(Fs|Ai,cs(),yf.bind(null,c,r,y,t),null),y}function Ud(e,t,r){var c=Pt,m=xn(),y=Vn;if(y){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=r()}else if(r=t(),!Jg){var R=t();$e(r,R)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jg=!0)}(R=!$e((_a||m).memoizedState,r))&&(m.memoizedState=r,Pi=!0),m=m.queue;var H=bf.bind(null,c,m,e);if(aa(2048,Ai,H,[e]),m.getSnapshot!==t||R||Jr!==null&&Jr.memoizedState.tag&Fs){if(c.flags|=2048,ku(Fs|Ai,cs(),yf.bind(null,c,m,r,t),null),Na===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y||(_m&124)!==0||m0(c,t,r)}return r}function m0(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Pt.updateQueue,t===null?(t=zd(),Pt.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function yf(e,t,r,c){t.value=r,t.getSnapshot=c,v0(t)&&Co(e)}function bf(e,t,r){return r(function(){v0(t)&&Co(e)})}function v0(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!$e(e,r)}catch{return!0}}function Co(e){var t=qr(e,2);t!==null&&ja(t,e,2)}function wo(e){var t=Ua();if(typeof e=="function"){var r=e;if(e=r(),Av){Ye(!0);try{r()}finally{Ye(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:e},t}function ju(e){e=wo(e);var t=e.queue,r=Ml.bind(null,Pt,t);return t.dispatch=r,[e.memoizedState,r]}function $(e){var t=Ua();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=Ep.bind(null,Pt,!0,r),r.dispatch=t,[e,t]}function Bi(e,t){var r=xn();return al(r,_a,e,t)}function al(e,t,r,c){return e.baseState=r,Ir(e,_a,typeof c=="function"?c:_n)}function fi(e,t){var r=xn();return _a!==null?al(r,_a,e,t):(r.baseState=e,[e,r.queue.dispatch])}function cn(e,t,r,c,m){if(Af(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var y={payload:m,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(R){y.listeners.push(R)}};Le.T!==null?r(!0):y.isTransition=!1,c(y),r=t.pending,r===null?(y.next=t.pending=y,Sf(t,y)):(y.next=r.next,t.pending=r.next=y)}}function Sf(e,t){var r=t.action,c=t.payload,m=e.state;if(t.isTransition){var y=Le.T,R={};Le.T=R,Le.T._updatedFibers=new Set;try{var H=r(m,c),Q=Le.S;Q!==null&&Q(R,H),Hd(e,t,H)}catch(K){Ca(e,t,K)}finally{Le.T=y,y===null&&R._updatedFibers&&(e=R._updatedFibers.size,R._updatedFibers.clear(),10<e&&console.warn("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."))}}else try{R=r(m,c),Hd(e,t,R)}catch(K){Ca(e,t,K)}}function Hd(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?(r.then(function(c){ss(e,t,c)},function(c){return Ca(e,t,c)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ss(e,t,r)}function ss(e,t,r){t.status="fulfilled",t.value=r,jd(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,Sf(e,r)))}function Ca(e,t,r){var c=e.pending;if(e.pending=null,c!==null){c=c.next;do t.status="rejected",t.reason=r,jd(t),t=t.next;while(t!==c)}e.action=null}function jd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function g0(e,t){return t}function Ef(e,t){if(Vn){var r=Na.formState;if(r!==null){e:{var c=Pt;if(Vn){if(br){t:{for(var m=br,y=sd;m.nodeType!==8;){if(!y){m=null;break t}if(m=_r(m.nextSibling),m===null){m=null;break t}}y=m.data,m=y===qA||y===ZD?m:null}if(m){br=_r(m.nextSibling),c=m.data===qA;break e}}Bu(c)}c=!1}c&&(t=r[0])}}return r=Ua(),r.memoizedState=r.baseState=t,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:g0,lastRenderedState:t},r.queue=c,r=Ml.bind(null,Pt,c),c.dispatch=r,c=wo(!1),y=Ep.bind(null,Pt,!1,c.queue),c=Ua(),m={state:t,dispatch:null,action:e,pending:null},c.queue=m,r=cn.bind(null,Pt,m,y,r),m.dispatch=r,c.memoizedState=e,[t,r,!1]}function dp(e){var t=xn();return pg(t,_a,e)}function pg(e,t,r){if(t=Ir(e,t,g0)[0],e=Gr(_n)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var c=fc(t)}catch(R){throw R===T1?hS:R}else c=t;t=xn();var m=t.queue,y=m.dispatch;return r!==t.memoizedState&&(Pt.flags|=2048,ku(Fs|Ai,cs(),na.bind(null,m,r),null)),[c,y,e]}function na(e,t){e.action=t}function xf(e){var t=xn(),r=_a;if(r!==null)return pg(t,r,e);xn(),t=t.memoizedState,r=xn();var c=r.queue.dispatch;return r.memoizedState=e,[t,c,!1]}function ku(e,t,r,c){return e={tag:e,create:r,deps:c,inst:t,next:null},t=Pt.updateQueue,t===null&&(t=zd(),Pt.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(c=r.next,r.next=e,e.next=c,t.lastEffect=e),e}function cs(){return{destroy:void 0,resource:void 0}}function kd(e){var t=Ua();return e={current:e},t.memoizedState=e}function _l(e,t,r,c){var m=Ua();c=c===void 0?null:c,Pt.flags|=e,m.memoizedState=ku(Fs|t,cs(),r,c)}function aa(e,t,r,c){var m=xn();c=c===void 0?null:c;var y=m.memoizedState.inst;_a!==null&&c!==null&&Kl(c,_a.memoizedState.deps)?m.memoizedState=ku(t,y,r,c):(Pt.flags|=e,m.memoizedState=ku(Fs|t,y,r,c))}function hp(e,t){(Pt.mode&Gc)!==Ya&&(Pt.mode&LO)===Ya?_l(276826112,Ai,e,t):_l(8390656,Ai,e,t)}function pp(e,t){var r=4194308;return(Pt.mode&Gc)!==Ya&&(r|=134217728),_l(r,dl,e,t)}function mg(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function mp(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null;var c=4194308;(Pt.mode&Gc)!==Ya&&(c|=134217728),_l(c,dl,mg.bind(null,t,e),r)}function qu(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null,aa(4,dl,mg.bind(null,t,e),r)}function Jl(e,t){return Ua().memoizedState=[e,t===void 0?null:t],e}function dc(e,t){var r=xn();t=t===void 0?null:t;var c=r.memoizedState;return t!==null&&Kl(t,c[1])?c[0]:(r.memoizedState=[e,t],e)}function vp(e,t){var r=Ua();t=t===void 0?null:t;var c=e();if(Av){Ye(!0);try{e()}finally{Ye(!1)}}return r.memoizedState=[c,t],c}function pr(e,t){var r=xn();t=t===void 0?null:t;var c=r.memoizedState;if(t!==null&&Kl(t,c[1]))return c[0];if(c=e(),Av){Ye(!0);try{e()}finally{Ye(!1)}}return r.memoizedState=[c,t],c}function gp(e,t){var r=Ua();return bp(r,e,t)}function qd(e,t){var r=xn();return Fd(r,_a.memoizedState,e,t)}function yp(e,t){var r=xn();return _a===null?bp(r,e,t):Fd(r,_a.memoizedState,e,t)}function bp(e,t,r){return r===void 0||(_m&1073741824)!==0?e.memoizedState=t:(e.memoizedState=r,e=O0(),Pt.lanes|=e,Nm|=e,r)}function Fd(e,t,r,c){return $e(r,t)?r:Kg.current!==null?(e=bp(e,r,c),$e(e,t)||(Pi=!0),e):(_m&42)===0?(Pi=!0,e.memoizedState=r):(e=O0(),Pt.lanes|=e,Nm|=e,t)}function Sp(e,t,r,c,m){var y=Ht.p;Ht.p=y!==0&&y<Jt?y:Jt;var R=Le.T,H={};Le.T=H,Ep(e,!1,t,r),H._updatedFibers=new Set;try{var Q=m(),K=Le.S;if(K!==null&&K(H,Q),Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var Re=nl(Q,c);Wa(e,t,Re,qi(e))}else Wa(e,t,c,qi(e))}catch(je){Wa(e,t,{then:function(){},status:"rejected",reason:je},qi(e))}finally{Ht.p=y,Le.T=R,R===null&&H._updatedFibers&&(e=H._updatedFibers.size,H._updatedFibers.clear(),10<e&&console.warn("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."))}}function fs(e,t,r,c){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var m=y0(e).queue;Sp(e,m,t,Lv,r===null?C:function(){return b0(e),r(c)})}function y0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Lv,baseState:Lv,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:Lv},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function b0(e){Le.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=y0(e).next.queue;Wa(e,t,{},qi(e))}function Rl(){var e=wo(!1);return e=Sp.bind(null,Pt,e.queue,!0,!1),Ua().memoizedState=e,[!1,e]}function ds(){var e=Gr(_n)[0],t=xn().memoizedState;return[typeof e=="boolean"?e:fc(e),t]}function hc(){var e=Hu(_n)[0],t=xn().memoizedState;return[typeof e=="boolean"?e:fc(e),t]}function Li(){return da(I1)}function Wl(){var e=Ua(),t=Na.identifierPrefix;if(Vn){var r=Mh,c=Rh;r=(c&~(1<<32-Da(c)-1)).toString(32)+r,t="«"+t+"R"+r,r=gS++,0<r&&(t+="H"+r.toString(32)),t+="»"}else r=t5++,t="«"+t+"r"+r.toString(32)+"»";return e.memoizedState=t}function pc(){return Ua().memoizedState=eu.bind(null,Pt)}function eu(e,t){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var c=qi(r);e=zu(c);var m=Ri(r,e,c);m!==null&&(ja(m,r,c),si(m,r,c)),r=Nd(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:r};return}r=r.return}}function Yd(e,t,r){var c=arguments;typeof c[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),c=qi(e);var m={lane:c,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};Af(e)?hs(t,m):(m=i0(e,t,m,c),m!==null&&(ja(m,e,c),Oo(m,t,c))),Tt(e,c)}function Ml(e,t,r){var c=arguments;typeof c[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),c=qi(e),Wa(e,t,r,c),Tt(e,c)}function Wa(e,t,r,c){var m={lane:c,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(Af(e))hs(t,m);else{var y=e.alternate;if(e.lanes===0&&(y===null||y.lanes===0)&&(y=t.lastRenderedReducer,y!==null)){var R=Le.H;Le.H=Vc;try{var H=t.lastRenderedState,Q=y(H,r);if(m.hasEagerState=!0,m.eagerState=Q,$e(Q,H))return sf(e,t,m,0),Na===null&&bl(),!1}catch{}finally{Le.H=R}}if(r=i0(e,t,m,c),r!==null)return ja(r,e,c),Oo(r,t,c),!0}return!1}function Ep(e,t,r,c){if(Le.T===null&&Sv===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),c={lane:2,revertLane:R0(),action:c,hasEagerState:!1,eagerState:null,next:null},Af(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=i0(e,r,c,2),t!==null&&ja(t,e,2);Tt(e,2)}function Af(e){var t=e.alternate;return e===Pt||t!==null&&t===Pt}function hs(e,t){Wg=vS=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Oo(e,t,r){if((r&4194048)!==0){var c=t.lanes;c&=e.pendingLanes,r|=c,t.lanes=r,Bt(e,r)}}function Ea(e){var t=yn;return e!=null&&(yn=t===null?e:t.concat(e)),t}function mc(e,t,r){for(var c=Object.keys(e.props),m=0;m<c.length;m++){var y=c[m];if(y!=="children"&&y!=="key"){t===null&&(t=Dd(e,r.mode,0),t._debugInfo=yn,t.return=r),ft(t,function(R){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",R)},y);break}}}function Tf(e){var t=D1;return D1+=1,ey===null&&(ey=pf()),Cl(ey,e,t)}function di(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Vt(e,t){throw t.$$typeof===bh?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
246
|
-
- Multiple copies of the "react" package is used.
|
|
247
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
248
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Un(e,t){var r=oe(e)||"Component";hD[r]||(hD[r]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
249
|
-
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
250
|
-
<%s>{%s}</%s>`,t,t,r,t,r))}function an(e,t){var r=oe(e)||"Component";pD[r]||(pD[r]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
251
|
-
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
252
|
-
<%s>%s</%s>`,r,t,r))}function vc(e){function t(le,ue){if(e){var de=le.deletions;de===null?(le.deletions=[ue],le.flags|=16):de.push(ue)}}function r(le,ue){if(!e)return null;for(;ue!==null;)t(le,ue),ue=ue.sibling;return null}function c(le){for(var ue=new Map;le!==null;)le.key!==null?ue.set(le.key,le):ue.set(le.index,le),le=le.sibling;return ue}function m(le,ue){return le=Sl(le,ue),le.index=0,le.sibling=null,le}function y(le,ue,de){return le.index=de,e?(de=le.alternate,de!==null?(de=de.index,de<ue?(le.flags|=67108866,ue):de):(le.flags|=67108866,ue)):(le.flags|=1048576,ue)}function R(le){return e&&le.alternate===null&&(le.flags|=67108866),le}function H(le,ue,de,Ve){return ue===null||ue.tag!==6?(ue=Nu(de,le.mode,Ve),ue.return=le,ue._debugOwner=le,ue._debugTask=le._debugTask,ue._debugInfo=yn,ue):(ue=m(ue,de),ue.return=le,ue._debugInfo=yn,ue)}function Q(le,ue,de,Ve){var it=de.type;return it===$t?(ue=Re(le,ue,de.props.children,Ve,de.key),mc(de,ue,le),ue):ue!==null&&(ue.elementType===it||Td(ue,de)||typeof it=="object"&&it!==null&&it.$$typeof===ol&&Rm(it)===ue.type)?(ue=m(ue,de.props),di(ue,de),ue.return=le,ue._debugOwner=de._owner,ue._debugInfo=yn,ue):(ue=Dd(de,le.mode,Ve),di(ue,de),ue.return=le,ue._debugInfo=yn,ue)}function K(le,ue,de,Ve){return ue===null||ue.tag!==4||ue.stateNode.containerInfo!==de.containerInfo||ue.stateNode.implementation!==de.implementation?(ue=l0(de,le.mode,Ve),ue.return=le,ue._debugInfo=yn,ue):(ue=m(ue,de.children||[]),ue.return=le,ue._debugInfo=yn,ue)}function Re(le,ue,de,Ve,it){return ue===null||ue.tag!==7?(ue=Mu(de,le.mode,Ve,it),ue.return=le,ue._debugOwner=le,ue._debugTask=le._debugTask,ue._debugInfo=yn,ue):(ue=m(ue,de),ue.return=le,ue._debugInfo=yn,ue)}function je(le,ue,de){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return ue=Nu(""+ue,le.mode,de),ue.return=le,ue._debugOwner=le,ue._debugTask=le._debugTask,ue._debugInfo=yn,ue;if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Rs:return de=Dd(ue,le.mode,de),di(de,ue),de.return=le,le=Ea(ue._debugInfo),de._debugInfo=yn,yn=le,de;case Lc:return ue=l0(ue,le.mode,de),ue.return=le,ue._debugInfo=yn,ue;case ol:var Ve=Ea(ue._debugInfo);return ue=Rm(ue),le=je(le,ue,de),yn=Ve,le}if(Ft(ue)||j(ue))return de=Mu(ue,le.mode,de,null),de.return=le,de._debugOwner=le,de._debugTask=le._debugTask,le=Ea(ue._debugInfo),de._debugInfo=yn,yn=le,de;if(typeof ue.then=="function")return Ve=Ea(ue._debugInfo),le=je(le,Tf(ue),de),yn=Ve,le;if(ue.$$typeof===gr)return je(le,Md(le,ue),de);Vt(le,ue)}return typeof ue=="function"&&Un(le,ue),typeof ue=="symbol"&&an(le,ue),null}function we(le,ue,de,Ve){var it=ue!==null?ue.key:null;if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return it!==null?null:H(le,ue,""+de,Ve);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case Rs:return de.key===it?(it=Ea(de._debugInfo),le=Q(le,ue,de,Ve),yn=it,le):null;case Lc:return de.key===it?K(le,ue,de,Ve):null;case ol:return it=Ea(de._debugInfo),de=Rm(de),le=we(le,ue,de,Ve),yn=it,le}if(Ft(de)||j(de))return it!==null?null:(it=Ea(de._debugInfo),le=Re(le,ue,de,Ve,null),yn=it,le);if(typeof de.then=="function")return it=Ea(de._debugInfo),le=we(le,ue,Tf(de),Ve),yn=it,le;if(de.$$typeof===gr)return we(le,ue,Md(le,de),Ve);Vt(le,de)}return typeof de=="function"&&Un(le,de),typeof de=="symbol"&&an(le,de),null}function Ge(le,ue,de,Ve,it){if(typeof Ve=="string"&&Ve!==""||typeof Ve=="number"||typeof Ve=="bigint")return le=le.get(de)||null,H(ue,le,""+Ve,it);if(typeof Ve=="object"&&Ve!==null){switch(Ve.$$typeof){case Rs:return de=le.get(Ve.key===null?de:Ve.key)||null,le=Ea(Ve._debugInfo),ue=Q(ue,de,Ve,it),yn=le,ue;case Lc:return le=le.get(Ve.key===null?de:Ve.key)||null,K(ue,le,Ve,it);case ol:var en=Ea(Ve._debugInfo);return Ve=Rm(Ve),ue=Ge(le,ue,de,Ve,it),yn=en,ue}if(Ft(Ve)||j(Ve))return de=le.get(de)||null,le=Ea(Ve._debugInfo),ue=Re(ue,de,Ve,it,null),yn=le,ue;if(typeof Ve.then=="function")return en=Ea(Ve._debugInfo),ue=Ge(le,ue,de,Tf(Ve),it),yn=en,ue;if(Ve.$$typeof===gr)return Ge(le,ue,de,Md(ue,Ve),it);Vt(ue,Ve)}return typeof Ve=="function"&&Un(ue,Ve),typeof Ve=="symbol"&&an(ue,Ve),null}function pt(le,ue,de,Ve){if(typeof de!="object"||de===null)return Ve;switch(de.$$typeof){case Rs:case Lc:E(le,ue,de);var it=de.key;if(typeof it!="string")break;if(Ve===null){Ve=new Set,Ve.add(it);break}if(!Ve.has(it)){Ve.add(it);break}ft(ue,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",it)});break;case ol:de=Rm(de),pt(le,ue,de,Ve)}return Ve}function kt(le,ue,de,Ve){for(var it=null,en=null,mt=null,tn=ue,ln=ue=0,Ga=null;tn!==null&&ln<de.length;ln++){tn.index>ln?(Ga=tn,tn=null):Ga=tn.sibling;var Lr=we(le,tn,de[ln],Ve);if(Lr===null){tn===null&&(tn=Ga);break}it=pt(le,Lr,de[ln],it),e&&tn&&Lr.alternate===null&&t(le,tn),ue=y(Lr,ue,ln),mt===null?en=Lr:mt.sibling=Lr,mt=Lr,tn=Ga}if(ln===de.length)return r(le,tn),Vn&&ls(le,ln),en;if(tn===null){for(;ln<de.length;ln++)tn=je(le,de[ln],Ve),tn!==null&&(it=pt(le,tn,de[ln],it),ue=y(tn,ue,ln),mt===null?en=tn:mt.sibling=tn,mt=tn);return Vn&&ls(le,ln),en}for(tn=c(tn);ln<de.length;ln++)Ga=Ge(tn,le,ln,de[ln],Ve),Ga!==null&&(it=pt(le,Ga,de[ln],it),e&&Ga.alternate!==null&&tn.delete(Ga.key===null?ln:Ga.key),ue=y(Ga,ue,ln),mt===null?en=Ga:mt.sibling=Ga,mt=Ga);return e&&tn.forEach(function(qh){return t(le,qh)}),Vn&&ls(le,ln),en}function Ba(le,ue,de,Ve){if(de==null)throw Error("An iterable object provided no iterator.");for(var it=null,en=null,mt=ue,tn=ue=0,ln=null,Ga=null,Lr=de.next();mt!==null&&!Lr.done;tn++,Lr=de.next()){mt.index>tn?(ln=mt,mt=null):ln=mt.sibling;var qh=we(le,mt,Lr.value,Ve);if(qh===null){mt===null&&(mt=ln);break}Ga=pt(le,qh,Lr.value,Ga),e&&mt&&qh.alternate===null&&t(le,mt),ue=y(qh,ue,tn),en===null?it=qh:en.sibling=qh,en=qh,mt=ln}if(Lr.done)return r(le,mt),Vn&&ls(le,tn),it;if(mt===null){for(;!Lr.done;tn++,Lr=de.next())mt=je(le,Lr.value,Ve),mt!==null&&(Ga=pt(le,mt,Lr.value,Ga),ue=y(mt,ue,tn),en===null?it=mt:en.sibling=mt,en=mt);return Vn&&ls(le,tn),it}for(mt=c(mt);!Lr.done;tn++,Lr=de.next())ln=Ge(mt,le,tn,Lr.value,Ve),ln!==null&&(Ga=pt(le,ln,Lr.value,Ga),e&&ln.alternate!==null&&mt.delete(ln.key===null?tn:ln.key),ue=y(ln,ue,tn),en===null?it=ln:en.sibling=ln,en=ln);return e&&mt.forEach(function(D5){return t(le,D5)}),Vn&&ls(le,tn),it}function Ln(le,ue,de,Ve){if(typeof de=="object"&&de!==null&&de.type===$t&&de.key===null&&(mc(de,null,le),de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case Rs:var it=Ea(de._debugInfo);e:{for(var en=de.key;ue!==null;){if(ue.key===en){if(en=de.type,en===$t){if(ue.tag===7){r(le,ue.sibling),Ve=m(ue,de.props.children),Ve.return=le,Ve._debugOwner=de._owner,Ve._debugInfo=yn,mc(de,Ve,le),le=Ve;break e}}else if(ue.elementType===en||Td(ue,de)||typeof en=="object"&&en!==null&&en.$$typeof===ol&&Rm(en)===ue.type){r(le,ue.sibling),Ve=m(ue,de.props),di(Ve,de),Ve.return=le,Ve._debugOwner=de._owner,Ve._debugInfo=yn,le=Ve;break e}r(le,ue);break}else t(le,ue);ue=ue.sibling}de.type===$t?(Ve=Mu(de.props.children,le.mode,Ve,de.key),Ve.return=le,Ve._debugOwner=le,Ve._debugTask=le._debugTask,Ve._debugInfo=yn,mc(de,Ve,le),le=Ve):(Ve=Dd(de,le.mode,Ve),di(Ve,de),Ve.return=le,Ve._debugInfo=yn,le=Ve)}return le=R(le),yn=it,le;case Lc:e:{for(it=de,de=it.key;ue!==null;){if(ue.key===de)if(ue.tag===4&&ue.stateNode.containerInfo===it.containerInfo&&ue.stateNode.implementation===it.implementation){r(le,ue.sibling),Ve=m(ue,it.children||[]),Ve.return=le,le=Ve;break e}else{r(le,ue);break}else t(le,ue);ue=ue.sibling}Ve=l0(it,le.mode,Ve),Ve.return=le,le=Ve}return R(le);case ol:return it=Ea(de._debugInfo),de=Rm(de),le=Ln(le,ue,de,Ve),yn=it,le}if(Ft(de))return it=Ea(de._debugInfo),le=kt(le,ue,de,Ve),yn=it,le;if(j(de)){if(it=Ea(de._debugInfo),en=j(de),typeof en!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var mt=en.call(de);return mt===de?(le.tag!==0||Object.prototype.toString.call(le.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(mt)!=="[object Generator]")&&(fD||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),fD=!0):de.entries!==en||vA||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vA=!0),le=Ba(le,ue,mt,Ve),yn=it,le}if(typeof de.then=="function")return it=Ea(de._debugInfo),le=Ln(le,ue,Tf(de),Ve),yn=it,le;if(de.$$typeof===gr)return Ln(le,ue,Md(le,de),Ve);Vt(le,de)}return typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint"?(it=""+de,ue!==null&&ue.tag===6?(r(le,ue.sibling),Ve=m(ue,it),Ve.return=le,le=Ve):(r(le,ue),Ve=Nu(it,le.mode,Ve),Ve.return=le,Ve._debugOwner=le,Ve._debugTask=le._debugTask,Ve._debugInfo=yn,le=Ve),R(le)):(typeof de=="function"&&Un(le,de),typeof de=="symbol"&&an(le,de),r(le,ue))}return function(le,ue,de,Ve){var it=yn;yn=null;try{D1=0;var en=Ln(le,ue,de,Ve);return ey=null,en}catch(Ga){if(Ga===T1||Ga===hS)throw Ga;var mt=M(29,Ga,null,le.mode);mt.lanes=Ve,mt.return=le;var tn=mt._debugInfo=yn;if(mt._debugOwner=le._debugOwner,mt._debugTask=le._debugTask,tn!=null){for(var ln=tn.length-1;0<=ln;ln--)if(typeof tn[ln].stack=="string"){mt._debugOwner=tn[ln],mt._debugTask=tn[ln].debugTask;break}}return mt}finally{yn=it}}}function zi(e){var t=e.alternate;_e(Ti,Ti.current&ny,e),_e(Gs,e,e),fd===null&&(t===null||Kg.current!==null||t.memoizedState!==null)&&(fd=e)}function Cr(e){if(e.tag===22){if(_e(Ti,Ti.current,e),_e(Gs,e,e),fd===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(fd=e)}}else rl(e)}function rl(e){_e(Ti,Ti.current,e),_e(Gs,Gs.current,e)}function Vr(e){ve(Gs,e),fd===e&&(fd=null),ve(Ti,e)}function hi(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data===Hh||to(r)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function xp(e){if(e!==null&&typeof e!="function"){var t=String(e);wD.has(t)||(wD.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function pn(e,t,r,c){var m=e.memoizedState,y=r(c,m);if(e.mode&Yl){Ye(!0);try{y=r(c,m)}finally{Ye(!1)}}y===void 0&&(t=Y(t)||"Component",xD.has(t)||(xD.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),m=y==null?m:Kt({},m,y),e.memoizedState=m,e.lanes===0&&(e.updateQueue.baseState=m)}function Cf(e,t,r,c,m,y,R){var H=e.stateNode;if(typeof H.shouldComponentUpdate=="function"){if(r=H.shouldComponentUpdate(c,y,R),e.mode&Yl){Ye(!0);try{r=H.shouldComponentUpdate(c,y,R)}finally{Ye(!1)}}return r===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Y(t)||"Component"),r}return t.prototype&&t.prototype.isPureReactComponent?!of(r,c)||!of(m,y):!0}function Ap(e,t,r,c){var m=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,c),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,c),t.state!==m&&(e=oe(e)||"Component",gD.has(e)||(gD.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),gA.enqueueReplaceState(t,t.state,null))}function ps(e,t){var r=t;if("ref"in t){r={};for(var c in t)c!=="ref"&&(r[c]=t[c])}if(e=e.defaultProps){r===t&&(r=Kt({},r));for(var m in e)r[m]===void 0&&(r[m]=e[m])}return r}function S0(e){yA(e),console.warn(`%s
|
|
253
|
-
|
|
254
|
-
%s
|
|
255
|
-
`,ay?"An error occurred in the <"+ay+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
256
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Tp(e){var t=ay?"The above error occurred in the <"+ay+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+((bA||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var c=e.environmentName;e=[`%o
|
|
257
|
-
|
|
258
|
-
%s
|
|
259
|
-
|
|
260
|
-
%s
|
|
261
|
-
`,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,r_+e[0],i_,HS+c+HS,l_):e.splice(0,0,r_,i_,HS+c+HS,l_),e.unshift(console),c=w5.apply(console.error,e),c()}else console.error(`%o
|
|
262
|
-
|
|
263
|
-
%s
|
|
264
|
-
|
|
265
|
-
%s
|
|
266
|
-
`,e,t,r)}function Cp(e){yA(e)}function Fu(e,t){try{ay=t.source?oe(t.source):null,bA=null;var r=t.value;if(Le.actQueue!==null)Le.thrownErrors.push(r);else{var c=e.onUncaughtError;c(r,{componentStack:t.stack})}}catch(m){setTimeout(function(){throw m})}}function Gd(e,t,r){try{ay=r.source?oe(r.source):null,bA=oe(t);var c=e.onCaughtError;c(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function Xr(e,t,r){return r=zu(r),r.tag=oA,r.payload={element:null},r.callback=function(){ft(t.source,Fu,e,t)},r}function Ha(e){return e=zu(e),e.tag=oA,e}function Do(e,t,r,c){var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var y=c.value;e.payload=function(){return m(y)},e.callback=function(){ic(r),ft(c.source,Gd,t,r,c)}}var R=r.stateNode;R!==null&&typeof R.componentDidCatch=="function"&&(e.callback=function(){ic(r),ft(c.source,Gd,t,r,c),typeof m!="function"&&(Lm===null?Lm=new Set([this]):Lm.add(this)),a5(this,c),typeof m=="function"||(r.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",oe(r)||"Unknown")})}function Id(e,t,r,c,m){if(r.flags|=32768,Ma&&As(e,m),c!==null&&typeof c=="object"&&typeof c.then=="function"){if(t=r.alternate,t!==null&&Ar(t,r,m,!0),Vn&&(Nh=!0),r=Gs.current,r!==null){switch(r.tag){case 13:return fd===null?$u():r.alternate===null&&Sr===Uh&&(Sr=AA),r.flags&=-257,r.flags|=65536,r.lanes=m,c===uA?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([c]):t.add(c),$p(e,c,m)),!1;case 22:return r.flags|=65536,c===uA?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([c])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([c]):r.add(c)),$p(e,c,m)),!1}throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}return $p(e,c,m),$u(),!1}if(Vn)return Nh=!0,t=Gs.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=m,c!==aA&&df(bn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:c}),r))):(c!==aA&&df(bn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:c}),r)),e=e.current.alternate,e.flags|=65536,m&=-m,e.lanes|=m,c=bn(c,r),m=Xr(e.stateNode,c,m),xo(e,m),Sr!==Tv&&(Sr=uy)),!1;var y=bn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:c}),r);if(U1===null?U1=[y]:U1.push(y),Sr!==Tv&&(Sr=uy),t===null)return!0;c=bn(c,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=m&-m,r.lanes|=e,e=Xr(r.stateNode,c,e),xo(r,e),!1;case 1:if(t=r.type,y=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Lm===null||!Lm.has(y))))return r.flags|=65536,m&=-m,r.lanes|=m,m=Ha(m),Do(m,e,r,c),xo(r,m),!1}r=r.return}while(r!==null);return!1}function er(e,t,r,c){t.child=e===null?mD(t,null,r,c):ty(t,e.child,r,c)}function wf(e,t,r,c,m){r=r.render;var y=t.ref;if("ref"in c){var R={};for(var H in c)H!=="ref"&&(R[H]=c[H])}else R=c;return hr(t),Ne(t),c=Uu(e,t,r,R,y,m),H=Mi(),Ce(),e!==null&&!Pi?(ta(e,t,m),Nl(e,t,m)):(Vn&&H&&ff(t),t.flags|=1,er(e,t,c,m),t.child)}function tu(e,t,r,c,m){if(e===null){var y=r.type;return typeof y=="function"&&!op(y)&&y.defaultProps===void 0&&r.compare===null?(r=rc(y),t.tag=15,t.type=r,$d(t,y),Vd(e,t,r,c,m)):(e=Od(r.type,null,c,t,t.mode,m),e.ref=t.ref,e.return=t,t.child=e)}if(y=e.child,!Mp(e,m)){var R=y.memoizedProps;if(r=r.compare,r=r!==null?r:of,r(R,c)&&e.ref===t.ref)return Nl(e,t,m)}return t.flags|=1,e=Sl(y,c),e.ref=t.ref,e.return=t,t.child=e}function Vd(e,t,r,c,m){if(e!==null){var y=e.memoizedProps;if(of(y,c)&&e.ref===t.ref&&t.type===e.type)if(Pi=!1,t.pendingProps=c=y,Mp(e,m))(e.flags&131072)!==0&&(Pi=!0);else return t.lanes=e.lanes,Nl(e,t,m)}return Df(e,t,r,c,m)}function wp(e,t,r){var c=t.pendingProps,m=c.children,y=e!==null?e.memoizedState:null;if(c.mode==="hidden"){if((t.flags&128)!==0){if(c=y!==null?y.baseLanes|r:r,e!==null){for(m=t.child=e.child,y=0;m!==null;)y=y|m.lanes|m.childLanes,m=m.sibling;t.childLanes=y&~c}else t.childLanes=0,t.child=null;return Op(e,t,c,r)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cp(t,y!==null?y.cachePool:null),y!==null?ci(t,y):To(t),Cr(t);else return t.lanes=t.childLanes=536870912,Op(e,t,y!==null?y.baseLanes|r:r,r)}else y!==null?(cp(t,y.cachePool),ci(t,y),rl(t),t.memoizedState=null):(e!==null&&cp(t,null),To(t),rl(t));return er(e,t,m,r),t.child}function Op(e,t,r,c){var m=hf();return m=m===null?null:{parent:xi._currentValue,pool:m},t.memoizedState={baseLanes:r,cachePool:m},e!==null&&cp(t,null),To(t),Cr(t),e!==null&&Ar(e,t,c,!0),null}function Of(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==r)&&(t.flags|=4194816)}}function Df(e,t,r,c,m){if(r.prototype&&typeof r.prototype.render=="function"){var y=Y(r)||"Unknown";DD[y]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",y,y),DD[y]=!0)}return t.mode&Yl&&Ic.recordLegacyContextWarning(t,null),e===null&&($d(t,t.type),r.contextTypes&&(y=Y(r)||"Unknown",RD[y]||(RD[y]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",y)))),hr(t),Ne(t),r=Uu(e,t,r,c,void 0,m),c=Mi(),Ce(),e!==null&&!Pi?(ta(e,t,m),Nl(e,t,m)):(Vn&&c&&ff(t),t.flags|=1,er(e,t,r,m),t.child)}function E0(e,t,r,c,m,y){return hr(t),Ne(t),Lh=-1,O1=e!==null&&e.type!==t.type,t.updateQueue=null,r=cc(t,c,r,m),Ld(e,t),c=Mi(),Ce(),e!==null&&!Pi?(ta(e,t,y),Nl(e,t,y)):(Vn&&c&&ff(t),t.flags|=1,er(e,t,r,y),t.child)}function Xd(e,t,r,c,m){switch(g(t)){case!1:var y=t.stateNode,R=new t.type(t.memoizedProps,y.context).state;y.updater.enqueueSetState(y,R,null);break;case!0:t.flags|=128,t.flags|=65536,y=Error("Simulated error coming from DevTools");var H=m&-m;if(t.lanes|=H,R=Na,R===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H=Ha(H),Do(H,R,t,bn(y,t)),xo(t,H)}if(hr(t),t.stateNode===null){if(R=Om,y=r.contextType,"contextType"in r&&y!==null&&(y===void 0||y.$$typeof!==gr)&&!CD.has(r)&&(CD.add(r),H=y===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?" However, it is set to a "+typeof y+".":y.$$typeof===pm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Y(r)||"Component",H)),typeof y=="object"&&y!==null&&(R=da(y)),y=new r(c,R),t.mode&Yl){Ye(!0);try{y=new r(c,R)}finally{Ye(!1)}}if(R=t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=gA,t.stateNode=y,y._reactInternals=t,y._reactInternalInstance=vD,typeof r.getDerivedStateFromProps=="function"&&R===null&&(R=Y(r)||"Component",yD.has(R)||(yD.add(R),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",R,y.state===null?"null":"undefined",R))),typeof r.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"){var Q=H=R=null;if(typeof y.componentWillMount=="function"&&y.componentWillMount.__suppressDeprecationWarning!==!0?R="componentWillMount":typeof y.UNSAFE_componentWillMount=="function"&&(R="UNSAFE_componentWillMount"),typeof y.componentWillReceiveProps=="function"&&y.componentWillReceiveProps.__suppressDeprecationWarning!==!0?H="componentWillReceiveProps":typeof y.UNSAFE_componentWillReceiveProps=="function"&&(H="UNSAFE_componentWillReceiveProps"),typeof y.componentWillUpdate=="function"&&y.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof y.UNSAFE_componentWillUpdate=="function"&&(Q="UNSAFE_componentWillUpdate"),R!==null||H!==null||Q!==null){y=Y(r)||"Component";var K=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";SD.has(y)||(SD.add(y),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
267
|
-
|
|
268
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
269
|
-
|
|
270
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
271
|
-
https://react.dev/link/unsafe-component-lifecycles`,y,K,R!==null?`
|
|
272
|
-
`+R:"",H!==null?`
|
|
273
|
-
`+H:"",Q!==null?`
|
|
274
|
-
`+Q:""))}}y=t.stateNode,R=Y(r)||"Component",y.render||(r.prototype&&typeof r.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",R):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",R)),!y.getInitialState||y.getInitialState.isReactClassApproved||y.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",R),y.getDefaultProps&&!y.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",R),y.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",R),r.childContextTypes&&!TD.has(r)&&(TD.add(r),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",R)),r.contextTypes&&!AD.has(r)&&(AD.add(r),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",R)),typeof y.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",R),r.prototype&&r.prototype.isPureReactComponent&&typeof y.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Y(r)||"A pure component"),typeof y.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",R),typeof y.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",R),typeof y.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",R),typeof y.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",R),H=y.props!==c,y.props!==void 0&&H&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",R),y.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",R,R),typeof y.getSnapshotBeforeUpdate!="function"||typeof y.componentDidUpdate=="function"||bD.has(r)||(bD.add(r),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Y(r))),typeof y.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof y.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof r.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",R),(H=y.state)&&(typeof H!="object"||Ft(H))&&console.error("%s.state: must be set to an object or null",R),typeof y.getChildContext=="function"&&typeof r.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",R),y=t.stateNode,y.props=c,y.state=t.memoizedState,y.refs={},_i(t),R=r.contextType,y.context=typeof R=="object"&&R!==null?da(R):Om,y.state===c&&(R=Y(r)||"Component",ED.has(R)||(ED.add(R),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",R))),t.mode&Yl&&Ic.recordLegacyContextWarning(t,y),Ic.recordUnsafeLifecycleWarnings(t,y),y.state=t.memoizedState,R=r.getDerivedStateFromProps,typeof R=="function"&&(pn(t,r,R,c),y.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(R=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),R!==y.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",oe(t)||"Component"),gA.enqueueReplaceState(y,y.state,null)),Ao(t,c,y,m),Zl(),y.state=t.memoizedState),typeof y.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Gc)!==Ya&&(t.flags|=134217728),y=!0}else if(e===null){y=t.stateNode;var Re=t.memoizedProps;H=ps(r,Re),y.props=H;var je=y.context;Q=r.contextType,R=Om,typeof Q=="object"&&Q!==null&&(R=da(Q)),K=r.getDerivedStateFromProps,Q=typeof K=="function"||typeof y.getSnapshotBeforeUpdate=="function",Re=t.pendingProps!==Re,Q||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(Re||je!==R)&&Ap(t,y,c,R),Dm=!1;var we=t.memoizedState;y.state=we,Ao(t,c,y,m),Zl(),je=t.memoizedState,Re||we!==je||Dm?(typeof K=="function"&&(pn(t,r,K,c),je=t.memoizedState),(H=Dm||Cf(t,r,H,c,we,je,R))?(Q||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Gc)!==Ya&&(t.flags|=134217728)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Gc)!==Ya&&(t.flags|=134217728),t.memoizedProps=c,t.memoizedState=je),y.props=c,y.state=je,y.context=R,y=H):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Gc)!==Ya&&(t.flags|=134217728),y=!1)}else{y=t.stateNode,os(e,t),R=t.memoizedProps,Q=ps(r,R),y.props=Q,K=t.pendingProps,we=y.context,je=r.contextType,H=Om,typeof je=="object"&&je!==null&&(H=da(je)),Re=r.getDerivedStateFromProps,(je=typeof Re=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(R!==K||we!==H)&&Ap(t,y,c,H),Dm=!1,we=t.memoizedState,y.state=we,Ao(t,c,y,m),Zl();var Ge=t.memoizedState;R!==K||we!==Ge||Dm||e!==null&&e.dependencies!==null&&tl(e.dependencies)?(typeof Re=="function"&&(pn(t,r,Re,c),Ge=t.memoizedState),(Q=Dm||Cf(t,r,Q,c,we,Ge,H)||e!==null&&e.dependencies!==null&&tl(e.dependencies))?(je||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(c,Ge,H),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(c,Ge,H)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||R===e.memoizedProps&&we===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&we===e.memoizedState||(t.flags|=1024),t.memoizedProps=c,t.memoizedState=Ge),y.props=c,y.state=Ge,y.context=H,y=Q):(typeof y.componentDidUpdate!="function"||R===e.memoizedProps&&we===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&we===e.memoizedState||(t.flags|=1024),y=!1)}if(H=y,Of(e,t),R=(t.flags&128)!==0,H||R){if(H=t.stateNode,Au(t),R&&typeof r.getDerivedStateFromError!="function")r=null,oo=-1;else{if(Ne(t),r=tD(H),t.mode&Yl){Ye(!0);try{tD(H)}finally{Ye(!1)}}Ce()}t.flags|=1,e!==null&&R?(t.child=ty(t,e.child,null,m),t.child=ty(t,null,r,m)):er(e,t,r,m),t.memoizedState=H.state,e=t.child}else e=Nl(e,t,m);return m=t.stateNode,y&&m.props!==c&&(ry||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",oe(t)||"a component"),ry=!0),e}function Dp(e,t,r,c){return Al(),t.flags|=256,er(e,t,r,c),t.child}function $d(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
275
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Y(t)||"Unknown",MD[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),MD[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Y(t)||"Unknown",_D[t]||(console.error("%s: Function components do not support contextType.",t),_D[t]=!0))}function _f(e){return{baseLanes:e,cachePool:oc()}}function gc(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Qo),e}function vg(e,t,r){var c,m=t.pendingProps;v(t)&&(t.flags|=128);var y=!1,R=(t.flags&128)!==0;if((c=R)||(c=e!==null&&e.memoizedState===null?!1:(Ti.current&_1)!==0),c&&(y=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(Vn){if(y?zi(t):rl(t),Vn){var H=br,Q;if(!(Q=!H)){e:{var K=H;for(Q=sd;K.nodeType!==8;){if(!Q){Q=null;break e}if(K=_r(K.nextSibling),K===null){Q=null;break e}}Q=K}Q!==null?(El(),t.memoizedState={dehydrated:Q,treeContext:gv!==null?{id:Rh,overflow:Mh}:null,retryLane:536870912,hydrationErrors:null},K=M(18,null,null,Ya),K.stateNode=Q,K.return=t,t.child=K,hu=t,br=null,Q=!0):Q=!1,Q=!Q}Q&&(u0(t,H),Bu(t))}if(H=t.memoizedState,H!==null&&(H=H.dehydrated,H!==null))return to(H)?t.lanes=32:t.lanes=536870912,null;Vr(t)}return H=m.children,m=m.fallback,y?(rl(t),y=t.mode,H=Rf({mode:"hidden",children:H},y),m=Mu(m,y,r,null),H.return=t,m.return=t,H.sibling=m,t.child=H,y=t.child,y.memoizedState=_f(r),y.childLanes=gc(e,c,r),t.memoizedState=EA,m):(zi(t),Pd(t,H))}var Re=e.memoizedState;if(Re!==null&&(H=Re.dehydrated,H!==null)){if(R)t.flags&256?(zi(t),t.flags&=-257,t=_p(e,t,r)):t.memoizedState!==null?(rl(t),t.child=e.child,t.flags|=128,t=null):(rl(t),y=m.fallback,H=t.mode,m=Rf({mode:"visible",children:m.children},H),y=Mu(y,H,r,null),y.flags|=2,m.return=t,y.return=t,m.sibling=y,t.child=m,ty(t,e.child,null,r),m=t.child,m.memoizedState=_f(r),m.childLanes=gc(e,c,r),t.memoizedState=EA,t=y);else if(zi(t),Vn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),to(H)){if(c=H.nextSibling&&H.nextSibling.dataset,c){Q=c.dgst;var je=c.msg;K=c.stck;var we=c.cstck}H=je,c=Q,m=K,Q=y=we,y=Error(H||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=m||"",y.digest=c,c=Q===void 0?null:Q,m={value:y,source:null,stack:c},typeof c=="string"&&eA.set(y,m),df(m),t=_p(e,t,r)}else if(Pi||Ar(e,t,r,!1),c=(r&e.childLanes)!==0,Pi||c){if(c=Na,c!==null&&(m=r&-r,m=(m&42)!==0?1:ut(m),m=(m&(c.suspendedLanes|r))!==0?0:m,m!==0&&m!==Re.retryLane))throw Re.retryLane=m,qr(e,m),ja(c,e,m),OD;H.data===Hh||$u(),t=_p(e,t,r)}else H.data===Hh?(t.flags|=192,t.child=e.child,t=null):(e=Re.treeContext,br=_r(H.nextSibling),hu=t,Vn=!0,yv=null,Nh=!1,ks=null,sd=!1,e!==null&&(El(),Hs[js++]=Rh,Hs[js++]=Mh,Hs[js++]=gv,Rh=e.id,Mh=e.overflow,gv=t),t=Pd(t,m.children),t.flags|=4096);return t}return y?(rl(t),y=m.fallback,H=t.mode,Q=e.child,K=Q.sibling,m=Sl(Q,{mode:"hidden",children:m.children}),m.subtreeFlags=Q.subtreeFlags&65011712,K!==null?y=Sl(K,y):(y=Mu(y,H,r,null),y.flags|=2),y.return=t,m.return=t,m.sibling=y,t.child=m,m=y,y=t.child,H=e.child.memoizedState,H===null?H=_f(r):(Q=H.cachePool,Q!==null?(K=xi._currentValue,Q=Q.parent!==K?{parent:K,pool:K}:Q):Q=oc(),H={baseLanes:H.baseLanes|r,cachePool:Q}),y.memoizedState=H,y.childLanes=gc(e,c,r),t.memoizedState=EA,m):(zi(t),r=e.child,e=r.sibling,r=Sl(r,{mode:"visible",children:m.children}),r.return=t,r.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=r,t.memoizedState=null,r)}function Pd(e,t){return t=Rf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Rf(e,t){return e=M(22,e,null,t),e.lanes=0,e.stateNode={_visibility:tA,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function _p(e,t,r){return ty(t,e.child,null,r),e=Pd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qd(e,t,r){e.lanes|=t;var c=e.alternate;c!==null&&(c.lanes|=t),f0(e.return,t,r)}function x0(e,t){var r=Ft(e);return e=!r&&typeof j(e)=="function",r||e?(r=r?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1):!0}function Mf(e,t,r,c,m){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:r,tailMode:m}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=c,y.tail=r,y.tailMode=m)}function Rp(e,t,r){var c=t.pendingProps,m=c.revealOrder,y=c.tail;if(c=c.children,m!==void 0&&m!=="forwards"&&m!=="backwards"&&m!=="together"&&!ND[m])if(ND[m]=!0,typeof m=="string")switch(m.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',m,m.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',m,m.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',m)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',m);y===void 0||SA[y]||(y!=="collapsed"&&y!=="hidden"?(SA[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',y)):m!=="forwards"&&m!=="backwards"&&(SA[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',y)));e:if((m==="forwards"||m==="backwards")&&c!==void 0&&c!==null&&c!==!1)if(Ft(c)){for(var R=0;R<c.length;R++)if(!x0(c[R],R))break e}else if(R=j(c),typeof R=="function"){if(R=R.call(c))for(var H=R.next(),Q=0;!H.done;H=R.next()){if(!x0(H.value,Q))break e;Q++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',m);if(er(e,t,c,r),c=Ti.current,(c&_1)!==0)c=c&ny|_1,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Qd(e,r,t);else if(e.tag===19)Qd(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}c&=ny}switch(_e(Ti,c,t),m){case"forwards":for(r=t.child,m=null;r!==null;)e=r.alternate,e!==null&&hi(e)===null&&(m=r),r=r.sibling;r=m,r===null?(m=t.child,t.child=null):(m=r.sibling,r.sibling=null),Mf(t,!1,m,r,y);break;case"backwards":for(r=null,m=t.child,t.child=null;m!==null;){if(e=m.alternate,e!==null&&hi(e)===null){t.child=m;break}e=m.sibling,m.sibling=r,r=m,m=e}Mf(t,!0,r,null,y);break;case"together":Mf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Nl(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),oo=-1,Nm|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(Ar(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,r=Sl(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Sl(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Mp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&tl(e)))}function A0(e,t,r){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),oi(t,xi,e.memoizedState.cache),Al();break;case 27:case 5:ce(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:oi(t,t.type,t.memoizedProps.value);break;case 12:(r&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var c=t.stateNode;c.effectDuration=-0,c.passiveEffectDuration=-0;break;case 13:if(c=t.memoizedState,c!==null)return c.dehydrated!==null?(zi(t),t.flags|=128,null):(r&t.child.childLanes)!==0?vg(e,t,r):(zi(t),e=Nl(e,t,r),e!==null?e.sibling:null);zi(t);break;case 19:var m=(e.flags&128)!==0;if(c=(r&t.childLanes)!==0,c||(Ar(e,t,r,!1),c=(r&t.childLanes)!==0),m){if(c)return Rp(e,t,r);t.flags|=128}if(m=t.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),_e(Ti,Ti.current,t),c)break;return null;case 22:case 23:return t.lanes=0,wp(e,t,r);case 24:oi(t,xi,e.memoizedState.cache)}return Nl(e,t,r)}function Xt(e,t,r){if(t._debugNeedsRemount&&e!==null){r=Od(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),r._debugStack=t._debugStack,r._debugTask=t._debugTask;var c=t.return;if(c===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,r._debugInfo=t._debugInfo,t===c.child)c.child=r;else{var m=c.child;if(m===null)throw Error("Expected parent to have a child.");for(;m.sibling!==t;)if(m=m.sibling,m===null)throw Error("Expected to find the previous sibling.");m.sibling=r}return t=c.deletions,t===null?(c.deletions=[e],c.flags|=16):t.push(e),r.flags|=2,r}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Pi=!0;else{if(!Mp(e,r)&&(t.flags&128)===0)return Pi=!1,A0(e,t,r);Pi=(e.flags&131072)!==0}else Pi=!1,(c=Vn)&&(El(),c=(t.flags&1048576)!==0),c&&(c=t.index,El(),Di(t,uS,c));switch(t.lanes=0,t.tag){case 16:e:if(c=t.pendingProps,e=Rm(t.elementType),t.type=e,typeof e=="function")op(e)?(c=ps(e,c),t.tag=1,t.type=e=rc(e),t=Xd(null,t,e,c,r)):(t.tag=0,$d(t,e),t.type=e=rc(e),t=Df(null,t,e,c,r));else{if(e!=null){if(m=e.$$typeof,m===Nt){t.tag=11,t.type=e=up(e),t=wf(null,t,e,c,r);break e}else if(m===xa){t.tag=14,t=tu(null,t,e,c,r);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===ol&&(t=" Did you wrap a component in React.lazy() more than once?"),e=Y(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Df(e,t,t.type,t.pendingProps,r);case 1:return c=t.type,m=ps(c,t.pendingProps),Xd(e,t,c,m,r);case 3:e:{if(Ue(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");c=t.pendingProps;var y=t.memoizedState;m=y.element,os(e,t),Ao(t,c,null,r);var R=t.memoizedState;if(c=R.cache,oi(t,xi,c),c!==y.cache&&d0(t,[xi],r,!0),Zl(),c=R.element,y.isDehydrated)if(y={element:c,isDehydrated:!1,cache:R.cache},t.updateQueue.baseState=y,t.memoizedState=y,t.flags&256){t=Dp(e,t,c,r);break e}else if(c!==m){m=bn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),df(m),t=Dp(e,t,c,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(br=_r(e.firstChild),hu=t,Vn=!0,yv=null,Nh=!1,ks=null,sd=!0,e=mD(t,null,c,r),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Al(),c===m){t=Nl(e,t,r);break e}er(e,t,c,r)}t=t.child}return t;case 26:return Of(e,t),e===null?(e=qo(t.type,null,t.pendingProps,null))?t.memoizedState=e:Vn||(e=t.type,r=t.pendingProps,c=ze(ou.current),c=vn(c).createElement(e),c[Kr]=t,c[Xi]=r,ka(c,e,r),ga(c),t.stateNode=c):t.memoizedState=qo(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ce(t),e===null&&Vn&&(c=ze(ou.current),m=ee(),c=t.stateNode=V0(t.type,t.pendingProps,c,m,!1),Nh||(m=ra(c,t.type,t.pendingProps,m),m!==null&&(xl(t,0).serverProps=m)),hu=t,sd=!0,m=br,eo(t.type)?(IA=m,br=_r(c.firstChild)):br=m),er(e,t,t.pendingProps.children,r),Of(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Vn&&(y=ee(),c=qt(t.type,y.ancestorInfo),m=br,(R=!m)||(R=ws(m,t.type,t.pendingProps,sd),R!==null?(t.stateNode=R,Nh||(y=ra(R,t.type,t.pendingProps,y),y!==null&&(xl(t,0).serverProps=y)),hu=t,br=_r(R.firstChild),sd=!1,y=!0):y=!1,R=!y),R&&(c&&u0(t,m),Bu(t))),ce(t),m=t.type,y=t.pendingProps,R=e!==null?e.memoizedProps:null,c=y.children,Wu(m,y)?c=null:R!==null&&Wu(m,R)&&(t.flags|=32),t.memoizedState!==null&&(m=Uu(e,t,Ol,null,null,r),I1._currentValue=m),Of(e,t),er(e,t,c,r),t.child;case 6:return e===null&&Vn&&(e=t.pendingProps,r=ee(),c=r.ancestorInfo.current,e=c!=null?En(e,c.tag,r.ancestorInfo.implicitRootScope):!0,r=br,(c=!r)||(c=Dr(r,t.pendingProps,sd),c!==null?(t.stateNode=c,hu=t,br=null,c=!0):c=!1,c=!c),c&&(e&&u0(t,r),Bu(t))),null;case 13:return vg(e,t,r);case 4:return Ue(t,t.stateNode.containerInfo),c=t.pendingProps,e===null?t.child=ty(t,null,c,r):er(e,t,c,r),t.child;case 11:return wf(e,t,t.type,t.pendingProps,r);case 7:return er(e,t,t.pendingProps,r),t.child;case 8:return er(e,t,t.pendingProps.children,r),t.child;case 12:return t.flags|=4,t.flags|=2048,c=t.stateNode,c.effectDuration=-0,c.passiveEffectDuration=-0,er(e,t,t.pendingProps.children,r),t.child;case 10:return c=t.type,m=t.pendingProps,y=m.value,"value"in m||BD||(BD=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),oi(t,c,y),er(e,t,m.children,r),t.child;case 9:return m=t.type._context,c=t.pendingProps.children,typeof c!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),hr(t),m=da(m),Ne(t),c=pA(c,m,void 0),Ce(),t.flags|=1,er(e,t,c,r),t.child;case 14:return tu(e,t,t.type,t.pendingProps,r);case 15:return Vd(e,t,t.type,t.pendingProps,r);case 19:return Rp(e,t,r);case 31:return c=t.pendingProps,r=t.mode,c={mode:c.mode,children:c.children},e===null?(e=Rf(c,r),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Sl(e.child,c),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return wp(e,t,r);case 24:return hr(t),c=da(xi),e===null?(m=hf(),m===null&&(m=Na,y=Nd(),m.pooledCache=y,uc(y),y!==null&&(m.pooledCacheLanes|=r),m=y),t.memoizedState={parent:c,cache:m},_i(t),oi(t,xi,m)):((e.lanes&r)!==0&&(os(e,t),Ao(t,null,null,r),Zl()),m=e.memoizedState,y=t.memoizedState,m.parent!==c?(m={parent:c,cache:c},t.memoizedState=m,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=m),oi(t,xi,c)):(c=y.cache,oi(t,xi,c),c!==m.cache&&d0(t,[xi],r,!0))),er(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ui(e){e.flags|=4}function Zd(e,t){if(t.type!=="stylesheet"||(t.state.loading&Is)!==Bv)e.flags&=-16777217;else if(e.flags|=16777216,!ch(t)){if(t=Gs.current,t!==null&&((Mn&4194048)===Mn?fd!==null:(Mn&62914560)!==Mn&&(Mn&536870912)===0||t!==fd))throw C1=uA,GO;e.flags|=8192}}function _o(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Qt():536870912,e.lanes|=t,Ov|=t)}function Ro(e,t){if(!Vn)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var c=null;r!==null;)r.alternate!==null&&(c=r),r=r.sibling;c===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:c.sibling=null}}function Zn(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,c=0;if(t)if((e.mode&fl)!==Ya){for(var m=e.selfBaseDuration,y=e.child;y!==null;)r|=y.lanes|y.childLanes,c|=y.subtreeFlags&65011712,c|=y.flags&65011712,m+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=m}else for(m=e.child;m!==null;)r|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=e,m=m.sibling;else if((e.mode&fl)!==Ya){m=e.actualDuration,y=e.selfBaseDuration;for(var R=e.child;R!==null;)r|=R.lanes|R.childLanes,c|=R.subtreeFlags,c|=R.flags,m+=R.actualDuration,y+=R.treeBaseDuration,R=R.sibling;e.actualDuration=m,e.treeBaseDuration=y}else for(m=e.child;m!==null;)r|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=e,m=m.sibling;return e.subtreeFlags|=c,e.childLanes=r,t}function gg(e,t,r){var c=t.pendingProps;switch(us(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zn(t),null;case 1:return Zn(t),null;case 3:return r=t.stateNode,c=null,e!==null&&(c=e.memoizedState.cache),t.memoizedState.cache!==c&&(t.flags|=2048),Tl(xi,t),Qe(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(lc(t)?(_d(),Ui(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,c0())),Zn(t),null;case 26:return r=t.memoizedState,e===null?(Ui(t),r!==null?(Zn(t),Zd(t,r)):(Zn(t),t.flags&=-16777217)):r?r!==e.memoizedState?(Ui(t),Zn(t),Zd(t,r)):(Zn(t),t.flags&=-16777217):(e.memoizedProps!==c&&Ui(t),Zn(t),t.flags&=-16777217),null;case 27:ge(t),r=ze(ou.current);var m=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==c&&Ui(t);else{if(!c){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zn(t),null}e=ee(),lc(t)?o0(t):(e=V0(m,c,r,e,!0),t.stateNode=e,Ui(t))}return Zn(t),null;case 5:if(ge(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==c&&Ui(t);else{if(!c){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zn(t),null}if(m=ee(),lc(t))o0(t);else{switch(e=ze(ou.current),qt(r,m.ancestorInfo),m=m.context,e=vn(e),m){case hy:e=e.createElementNS(od,r);break;case LS:e=e.createElementNS(Dh,r);break;default:switch(r){case"svg":e=e.createElementNS(od,r);break;case"math":e=e.createElementNS(Dh,r);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof c.is=="string"?e.createElement("select",{is:c.is}):e.createElement("select"),c.multiple?e.multiple=!0:c.size&&(e.size=c.size);break;default:e=typeof c.is=="string"?e.createElement(r,{is:c.is}):e.createElement(r),r.indexOf("-")===-1&&(r!==r.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Yo.call(JD,r)||(JD[r]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",r)))}}e[Kr]=t,e[Xi]=c;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)e.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=e;e:switch(ka(e,r,c),r){case"button":case"input":case"select":case"textarea":e=!!c.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ui(t)}}return Zn(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==c&&Ui(t);else{if(typeof c!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ze(ou.current),r=ee(),lc(t)){e=t.stateNode,r=t.memoizedProps,m=!Nh,c=null;var y=hu;if(y!==null)switch(y.tag){case 3:m&&(m=am(e,r,c),m!==null&&(xl(t,0).serverProps=m));break;case 27:case 5:c=y.memoizedProps,m&&(m=am(e,r,c),m!==null&&(xl(t,0).serverProps=m))}e[Kr]=t,e=!!(e.nodeValue===r||c!==null&&c.suppressHydrationWarning===!0||z0(e.nodeValue,r)),e||Bu(t)}else m=r.ancestorInfo.current,m!=null&&En(c,m.tag,r.ancestorInfo.implicitRootScope),e=vn(e).createTextNode(c),e[Kr]=t,t.stateNode=e}return Zn(t),null;case 13:if(c=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(m=lc(t),c!==null&&c.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[Kr]=t,Zn(t),(t.mode&fl)!==Ya&&c!==null&&(m=t.child,m!==null&&(t.treeBaseDuration-=m.treeBaseDuration))}else _d(),Al(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Zn(t),(t.mode&fl)!==Ya&&c!==null&&(m=t.child,m!==null&&(t.treeBaseDuration-=m.treeBaseDuration));m=!1}else m=c0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=m),m=!0;if(!m)return t.flags&256?(Vr(t),t):(Vr(t),null)}return Vr(t),(t.flags&128)!==0?(t.lanes=r,(t.mode&fl)!==Ya&&Sn(t),t):(r=c!==null,e=e!==null&&e.memoizedState!==null,r&&(c=t.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),y=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(y=c.memoizedState.cachePool.pool),y!==m&&(c.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),_o(t,t.updateQueue),Zn(t),(t.mode&fl)!==Ya&&r&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Qe(t),e===null&&B0(t.stateNode.containerInfo),Zn(t),null;case 10:return Tl(t.type,t),Zn(t),null;case 19:if(ve(Ti,t),m=t.memoizedState,m===null)return Zn(t),null;if(c=(t.flags&128)!==0,y=m.rendering,y===null)if(c)Ro(m,!1);else{if(Sr!==Uh||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=hi(e),y!==null){for(t.flags|=128,Ro(m,!1),e=y.updateQueue,t.updateQueue=e,_o(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)wd(r,e),r=r.sibling;return _e(Ti,Ti.current&ny|_1,t),t.child}e=e.sibling}m.tail!==null&&su()>xS&&(t.flags|=128,c=!0,Ro(m,!1),t.lanes=4194304)}else{if(!c)if(e=hi(y),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,_o(t,e),Ro(m,!0),m.tail===null&&m.tailMode==="hidden"&&!y.alternate&&!Vn)return Zn(t),null}else 2*su()-m.renderingStartTime>xS&&r!==536870912&&(t.flags|=128,c=!0,Ro(m,!1),t.lanes=4194304);m.isBackwards?(y.sibling=t.child,t.child=y):(e=m.last,e!==null?e.sibling=y:t.child=y,m.last=y)}return m.tail!==null?(e=m.tail,m.rendering=e,m.tail=e.sibling,m.renderingStartTime=su(),e.sibling=null,r=Ti.current,r=c?r&ny|_1:r&ny,_e(Ti,r,t),e):(Zn(t),null);case 22:case 23:return Vr(t),Tr(t),c=t.memoizedState!==null,e!==null?e.memoizedState!==null!==c&&(t.flags|=8192):c&&(t.flags|=8192),c?(r&536870912)!==0&&(t.flags&128)===0&&(Zn(t),t.subtreeFlags&6&&(t.flags|=8192)):Zn(t),r=t.updateQueue,r!==null&&_o(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),c=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(c=t.memoizedState.cachePool.pool),c!==r&&(t.flags|=2048),e!==null&&ve(Ev,t),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Tl(xi,t),Zn(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function il(e,t){switch(us(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&fl)!==Ya&&Sn(t),t):null;case 3:return Tl(xi,t),Qe(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ge(t),null;case 13:if(Vr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Al()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&fl)!==Ya&&Sn(t),t):null;case 19:return ve(Ti,t),null;case 4:return Qe(t),null;case 10:return Tl(t.type,t),null;case 22:case 23:return Vr(t),Tr(t),e!==null&&ve(Ev,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&fl)!==Ya&&Sn(t),t):null;case 24:return Tl(xi,t),null;case 25:return null;default:return null}}function T0(e,t){switch(us(t),t.tag){case 3:Tl(xi,t),Qe(t);break;case 26:case 27:case 5:ge(t);break;case 4:Qe(t);break;case 13:Vr(t);break;case 19:ve(Ti,t);break;case 10:Tl(t.type,t);break;case 22:case 23:Vr(t),Tr(t),e!==null&&ve(Ev,t);break;case 24:Tl(xi,t)}}function Hi(e){return(e.mode&fl)!==Ya}function Kd(e,t){Hi(e)?($n(),ms(t,e),Gt()):ms(t,e)}function Jd(e,t,r){Hi(e)?($n(),ir(r,e,t),Gt()):ir(r,e,t)}function ms(e,t){try{var r=t.updateQueue,c=r!==null?r.lastEffect:null;if(c!==null){var m=c.next;r=m;do{if((r.tag&e)===e&&((e&Ai)!==qs?ct!==null&&typeof ct.markComponentPassiveEffectMountStarted=="function"&&ct.markComponentPassiveEffectMountStarted(t):(e&dl)!==qs&&ct!==null&&typeof ct.markComponentLayoutEffectMountStarted=="function"&&ct.markComponentLayoutEffectMountStarted(t),c=void 0,(e&pu)!==qs&&(fy=!0),c=ft(t,r5,r),(e&pu)!==qs&&(fy=!1),(e&Ai)!==qs?ct!==null&&typeof ct.markComponentPassiveEffectMountStopped=="function"&&ct.markComponentPassiveEffectMountStopped():(e&dl)!==qs&&ct!==null&&typeof ct.markComponentLayoutEffectMountStopped=="function"&&ct.markComponentLayoutEffectMountStopped(),c!==void 0&&typeof c!="function")){var y=void 0;y=(r.tag&dl)!==0?"useLayoutEffect":(r.tag&pu)!==0?"useInsertionEffect":"useEffect";var R=void 0;R=c===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof c.then=="function"?`
|
|
276
|
-
|
|
277
|
-
It looks like you wrote `+y+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
278
|
-
|
|
279
|
-
`+y+`(() => {
|
|
280
|
-
async function fetchData() {
|
|
281
|
-
// You can await here
|
|
282
|
-
const response = await MyAPI.getData(someId);
|
|
283
|
-
// ...
|
|
284
|
-
}
|
|
285
|
-
fetchData();
|
|
286
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
287
|
-
|
|
288
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+c,ft(t,function(H,Q){console.error("%s must not return anything besides a function, which is used for clean-up.%s",H,Q)},y,R)}r=r.next}while(r!==m)}}catch(H){Ct(t,t.return,H)}}function ir(e,t,r){try{var c=t.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var y=m.next;c=y;do{if((c.tag&e)===e){var R=c.inst,H=R.destroy;H!==void 0&&(R.destroy=void 0,(e&Ai)!==qs?ct!==null&&typeof ct.markComponentPassiveEffectUnmountStarted=="function"&&ct.markComponentPassiveEffectUnmountStarted(t):(e&dl)!==qs&&ct!==null&&typeof ct.markComponentLayoutEffectUnmountStarted=="function"&&ct.markComponentLayoutEffectUnmountStarted(t),(e&pu)!==qs&&(fy=!0),m=t,ft(m,i5,m,r,H),(e&pu)!==qs&&(fy=!1),(e&Ai)!==qs?ct!==null&&typeof ct.markComponentPassiveEffectUnmountStopped=="function"&&ct.markComponentPassiveEffectUnmountStopped():(e&dl)!==qs&&ct!==null&&typeof ct.markComponentLayoutEffectUnmountStopped=="function"&&ct.markComponentLayoutEffectUnmountStopped())}c=c.next}while(c!==y)}}catch(Q){Ct(t,t.return,Q)}}function Yu(e,t){Hi(e)?($n(),ms(t,e),Gt()):ms(t,e)}function yc(e,t,r){Hi(e)?($n(),ir(r,e,t),Gt()):ir(r,e,t)}function Np(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||ry||(r.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",oe(e)||"instance"),r.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",oe(e)||"instance"));try{ft(e,Bd,t,r)}catch(c){Ct(e,e.return,c)}}}function Wd(e,t,r){return e.getSnapshotBeforeUpdate(t,r)}function yg(e,t){var r=t.memoizedProps,c=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||ry||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",oe(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",oe(e)||"instance"));try{var m=ps(e.type,r,e.elementType===e.type),y=ft(e,Wd,t,m,c);r=LD,y!==void 0||r.has(e.type)||(r.add(e.type),ft(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",oe(e))})),t.__reactInternalSnapshotBeforeUpdate=y}catch(R){Ct(e,e.return,R)}}function Nf(e,t,r){r.props=ps(e.type,e.memoizedProps),r.state=e.memoizedState,Hi(e)?($n(),ft(e,uD,e,t,r),Gt()):ft(e,uD,e,t,r)}function C0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}if(typeof t=="function")if(Hi(e))try{$n(),e.refCleanup=t(r)}finally{Gt()}else e.refCleanup=t(r);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",oe(e)),t.current=r}}function vs(e,t){try{ft(e,C0,e)}catch(r){Ct(e,t,r)}}function ji(e,t){var r=e.ref,c=e.refCleanup;if(r!==null)if(typeof c=="function")try{if(Hi(e))try{$n(),ft(e,c)}finally{Gt(e)}else ft(e,c)}catch(m){Ct(e,t,m)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{if(Hi(e))try{$n(),ft(e,r,null)}finally{Gt(e)}else ft(e,r,null)}catch(m){Ct(e,t,m)}else r.current=null}function Gu(e,t,r,c){var m=e.memoizedProps,y=m.id,R=m.onCommit;m=m.onRender,t=t===null?"mount":"update",cS&&(t="nested-update"),typeof m=="function"&&m(y,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,r),typeof R=="function"&&R(e.memoizedProps.id,t,c,r)}function bg(e,t,r,c){var m=e.memoizedProps;e=m.id,m=m.onPostCommit,t=t===null?"mount":"update",cS&&(t="nested-update"),typeof m=="function"&&m(e,t,c,r)}function Mo(e){var t=e.type,r=e.memoizedProps,c=e.stateNode;try{ft(e,jo,c,t,r,e)}catch(m){Ct(e,e.return,m)}}function Bp(e,t,r){try{ft(e,qa,e.stateNode,e.type,r,t,e)}catch(c){Ct(e,e.return,c)}}function Lp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&eo(e.type)||e.tag===4}function No(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&eo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eh(e,t,r){var c=e.tag;if(c===5||c===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Ho));else if(c!==4&&(c===27&&eo(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(eh(e,t,r),e=e.sibling;e!==null;)eh(e,t,r),e=e.sibling}function bc(e,t,r){var c=e.tag;if(c===5||c===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(c!==4&&(c===27&&eo(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(bc(e,t,r),e=e.sibling;e!==null;)bc(e,t,r),e=e.sibling}function Sg(e){for(var t,r=e.return;r!==null;){if(Lp(r)){t=r;break}r=r.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,r=No(e),bc(e,r,t);break;case 5:r=t.stateNode,t.flags&32&&(ko(r),t.flags&=-33),t=No(e),bc(e,t,r);break;case 3:case 4:t=t.stateNode.containerInfo,r=No(e),eh(e,r,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function zp(e){var t=e.stateNode,r=e.memoizedProps;try{ft(e,ul,e.type,r,t,e)}catch(c){Ct(e,e.return,c)}}function th(e,t){if(e=e.containerInfo,FA=jS,e=Wi(e),a0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var c=r.getSelection&&r.getSelection();if(c&&c.rangeCount!==0){r=c.anchorNode;var m=c.anchorOffset,y=c.focusNode;c=c.focusOffset;try{r.nodeType,y.nodeType}catch{r=null;break e}var R=0,H=-1,Q=-1,K=0,Re=0,je=e,we=null;t:for(;;){for(var Ge;je!==r||m!==0&&je.nodeType!==3||(H=R+m),je!==y||c!==0&&je.nodeType!==3||(Q=R+c),je.nodeType===3&&(R+=je.nodeValue.length),(Ge=je.firstChild)!==null;)we=je,je=Ge;for(;;){if(je===e)break t;if(we===r&&++K===m&&(H=R),we===y&&++Re===c&&(Q=R),(Ge=je.nextSibling)!==null)break;je=we,we=je.parentNode}je=Ge}r=H===-1||Q===-1?null:{start:H,end:Q}}else r=null}r=r||{start:0,end:0}}else r=null;for(YA={focusedElem:e,selectionRange:r},jS=!1,Qi=t;Qi!==null;)if(t=Qi,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Qi=e;else for(;Qi!==null;){switch(e=t=Qi,r=e.alternate,m=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(m&1024)!==0&&r!==null&&yg(e,r);break;case 3:if((m&1024)!==0){if(e=e.stateNode.containerInfo,r=e.nodeType,r===9)Dc(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Dc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((m&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Qi=e;break}Qi=t.return}}function w0(e,t,r){var c=r.flags;switch(r.tag){case 0:case 11:case 15:Vu(e,r),c&4&&Kd(r,dl|Fs);break;case 1:if(Vu(e,r),c&4)if(e=r.stateNode,t===null)r.type.defaultProps||"ref"in r.memoizedProps||ry||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",oe(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",oe(r)||"instance")),Hi(r)?($n(),ft(r,mA,r,e),Gt()):ft(r,mA,r,e);else{var m=ps(r.type,t.memoizedProps);t=t.memoizedState,r.type.defaultProps||"ref"in r.memoizedProps||ry||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",oe(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",oe(r)||"instance")),Hi(r)?($n(),ft(r,rD,r,e,m,t,e.__reactInternalSnapshotBeforeUpdate),Gt()):ft(r,rD,r,e,m,t,e.__reactInternalSnapshotBeforeUpdate)}c&64&&Np(r),c&512&&vs(r,r.return);break;case 3:if(t=Fr(),Vu(e,r),c&64&&(c=r.updateQueue,c!==null)){if(m=null,r.child!==null)switch(r.child.tag){case 27:case 5:m=r.child.stateNode;break;case 1:m=r.child.stateNode}try{ft(r,Bd,c,m)}catch(R){Ct(r,r.return,R)}}e.effectDuration+=me(t);break;case 27:t===null&&c&4&&zp(r);case 26:case 5:Vu(e,r),t===null&&c&4&&Mo(r),c&512&&vs(r,r.return);break;case 12:if(c&4){c=Fr(),Vu(e,r),e=r.stateNode,e.effectDuration+=qe(c);try{ft(r,Gu,r,t,sS,e.effectDuration)}catch(R){Ct(r,r.return,R)}}else Vu(e,r);break;case 13:Vu(e,r),c&4&&pi(e,r),c&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=uh.bind(null,r),Vf(e,r))));break;case 22:if(c=r.memoizedState!==null||zh,!c){t=t!==null&&t.memoizedState!==null||Br,m=zh;var y=Br;zh=c,(Br=t)&&!y?Xu(e,r,(r.subtreeFlags&8772)!==0):Vu(e,r),zh=m,Br=y}break;case 30:break;default:Vu(e,r)}}function Up(e){var t=e.alternate;t!==null&&(e.alternate=null,Up(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Qn(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Iu(e,t,r){for(r=r.child;r!==null;)tr(e,t,r),r=r.sibling}function tr(e,t,r){if(Mr&&typeof Mr.onCommitFiberUnmount=="function")try{Mr.onCommitFiberUnmount(Ms,r)}catch(y){Vi||(Vi=!0,console.error("React instrumentation encountered an error: %s",y))}switch(r.tag){case 26:Br||ji(r,t),Iu(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Br||ji(r,t);var c=Wr,m=so;eo(r.type)&&(Wr=r.stateNode,so=!1),Iu(e,t,r),ft(r,Xf,r.stateNode),Wr=c,so=m;break;case 5:Br||ji(r,t);case 6:if(c=Wr,m=so,Wr=null,Iu(e,t,r),Wr=c,so=m,Wr!==null)if(so)try{ft(r,Yf,Wr,r.stateNode)}catch(y){Ct(r,t,y)}else try{ft(r,Hl,Wr,r.stateNode)}catch(y){Ct(r,t,y)}break;case 18:Wr!==null&&(so?(e=Wr,Gf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),_s(e)):Gf(Wr,r.stateNode));break;case 4:c=Wr,m=so,Wr=r.stateNode.containerInfo,so=!0,Iu(e,t,r),Wr=c,so=m;break;case 0:case 11:case 14:case 15:Br||ir(pu,r,t),Br||Jd(r,t,dl),Iu(e,t,r);break;case 1:Br||(ji(r,t),c=r.stateNode,typeof c.componentWillUnmount=="function"&&Nf(r,t,c)),Iu(e,t,r);break;case 21:Iu(e,t,r);break;case 22:Br=(c=Br)||r.memoizedState!==null,Iu(e,t,r),Br=c;break;default:Iu(e,t,r)}}function pi(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ft(t,Qr,e)}catch(r){Ct(t,t.return,r)}}function Hp(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new zD),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new zD),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Sc(e,t){var r=Hp(e);t.forEach(function(c){var m=xs.bind(null,e,c);if(!r.has(c)){if(r.add(c),Ma)if(iy!==null&&ly!==null)As(ly,iy);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(m,m)}})}function lr(e,t){var r=t.deletions;if(r!==null)for(var c=0;c<r.length;c++){var m=e,y=t,R=r[c],H=y;e:for(;H!==null;){switch(H.tag){case 27:if(eo(H.type)){Wr=H.stateNode,so=!1;break e}break;case 5:Wr=H.stateNode,so=!1;break e;case 3:case 4:Wr=H.stateNode.containerInfo,so=!0;break e}H=H.return}if(Wr===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");tr(m,y,R),Wr=null,so=!1,m=R,y=m.alternate,y!==null&&(y.return=null),m.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,c=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lr(t,e),mi(e),c&4&&(ir(pu|Fs,e,e.return),ms(pu|Fs,e),Jd(e,e.return,dl|Fs));break;case 1:lr(t,e),mi(e),c&512&&(Br||r===null||ji(r,r.return)),c&64&&zh&&(e=e.updateQueue,e!==null&&(c=e.callbacks,c!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?c:r.concat(c))));break;case 26:var m=Xc;if(lr(t,e),mi(e),c&512&&(Br||r===null||ji(r,r.return)),c&4)if(t=r!==null?r.memoizedState:null,c=e.memoizedState,r===null)if(c===null)if(e.stateNode===null){e:{c=e.type,r=e.memoizedProps,t=m.ownerDocument||m;t:switch(c){case"title":m=t.getElementsByTagName("title")[0],(!m||m[rd]||m[Kr]||m.namespaceURI===od||m.hasAttribute("itemprop"))&&(m=t.createElement(c),t.head.insertBefore(m,t.querySelector("head > title"))),ka(m,c,r),m[Kr]=e,ga(m),c=m;break e;case"link":var y=um("link","href",t).get(c+(r.href||""));if(y){for(var R=0;R<y.length;R++)if(m=y[R],m.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&m.getAttribute("rel")===(r.rel==null?null:r.rel)&&m.getAttribute("title")===(r.title==null?null:r.title)&&m.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){y.splice(R,1);break t}}m=t.createElement(c),ka(m,c,r),t.head.appendChild(m);break;case"meta":if(y=um("meta","content",t).get(c+(r.content||""))){for(R=0;R<y.length;R++)if(m=y[R],Me(r.content,"content"),m.getAttribute("content")===(r.content==null?null:""+r.content)&&m.getAttribute("name")===(r.name==null?null:r.name)&&m.getAttribute("property")===(r.property==null?null:r.property)&&m.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&m.getAttribute("charset")===(r.charSet==null?null:r.charSet)){y.splice(R,1);break t}}m=t.createElement(c),ka(m,c,r),t.head.appendChild(m);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+c+'". This is a bug in React.')}m[Kr]=e,ga(m),c=m}e.stateNode=c}else P0(m,e.type,e.stateNode);else e.stateNode=rm(m,c,e.memoizedProps);else t!==c?(t===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):t.count--,c===null?P0(m,e.type,e.stateNode):rm(m,c,e.memoizedProps)):c===null&&e.stateNode!==null&&Bp(e,e.memoizedProps,r.memoizedProps);break;case 27:lr(t,e),mi(e),c&512&&(Br||r===null||ji(r,r.return)),r!==null&&c&4&&Bp(e,e.memoizedProps,r.memoizedProps);break;case 5:if(lr(t,e),mi(e),c&512&&(Br||r===null||ji(r,r.return)),e.flags&32){t=e.stateNode;try{ft(e,ko,t)}catch(Re){Ct(e,e.return,Re)}}c&4&&e.stateNode!=null&&(t=e.memoizedProps,Bp(e,t,r!==null?r.memoizedProps:t)),c&1024&&(xA=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(lr(t,e),mi(e),c&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");c=e.memoizedProps,r=r!==null?r.memoizedProps:c,t=e.stateNode;try{ft(e,Oc,t,r,c)}catch(Re){Ct(e,e.return,Re)}}break;case 3:if(m=Fr(),zS=null,y=Xc,Xc=sh(t.containerInfo),lr(t,e),Xc=y,mi(e),c&4&&r!==null&&r.memoizedState.isDehydrated)try{ft(e,I0,t.containerInfo)}catch(Re){Ct(e,e.return,Re)}xA&&(xA=!1,ys(e)),t.effectDuration+=me(m);break;case 4:c=Xc,Xc=sh(e.stateNode.containerInfo),lr(t,e),mi(e),Xc=c;break;case 12:c=Fr(),lr(t,e),mi(e),e.stateNode.effectDuration+=qe(c);break;case 13:lr(t,e),mi(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(DA=su()),c&4&&(c=e.updateQueue,c!==null&&(e.updateQueue=null,Sc(e,c)));break;case 22:m=e.memoizedState!==null;var H=r!==null&&r.memoizedState!==null,Q=zh,K=Br;if(zh=Q||m,Br=K||H,lr(t,e),Br=K,zh=Q,mi(e),c&8192)e:for(t=e.stateNode,t._visibility=m?t._visibility&-2:t._visibility|tA,m&&(r===null||H||zh||Br||Qa(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){H=r=t;try{y=H.stateNode,m?ft(H,Gi,y):ft(H,Y0,H.stateNode,H.memoizedProps)}catch(Re){Ct(H,H.return,Re)}}}else if(t.tag===6){if(r===null){H=t;try{R=H.stateNode,m?ft(H,F0,R):ft(H,If,R,H.memoizedProps)}catch(Re){Ct(H,H.return,Re)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}c&4&&(c=e.updateQueue,c!==null&&(r=c.retryQueue,r!==null&&(c.retryQueue=null,Sc(e,r))));break;case 19:lr(t,e),mi(e),c&4&&(c=e.updateQueue,c!==null&&(e.updateQueue=null,Sc(e,c)));break;case 30:break;case 21:break;default:lr(t,e),mi(e)}}function mi(e){var t=e.flags;if(t&2){try{ft(e,Sg,e)}catch(r){Ct(e,e.return,r)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ys(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ys(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Vu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)w0(e,t.alternate,t),t=t.sibling}function ki(e){switch(e.tag){case 0:case 11:case 14:case 15:Jd(e,e.return,dl),Qa(e);break;case 1:ji(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Nf(e,e.return,t),Qa(e);break;case 27:ft(e,Xf,e.stateNode);case 26:case 5:ji(e,e.return),Qa(e);break;case 22:e.memoizedState===null&&Qa(e);break;case 30:Qa(e);break;default:Qa(e)}}function Qa(e){for(e=e.child;e!==null;)ki(e),e=e.sibling}function ll(e,t,r,c){var m=r.flags;switch(r.tag){case 0:case 11:case 15:Xu(e,r,c),Kd(r,dl);break;case 1:if(Xu(e,r,c),t=r.stateNode,typeof t.componentDidMount=="function"&&ft(r,mA,r,t),t=r.updateQueue,t!==null){e=r.stateNode;try{ft(r,sc,t,e)}catch(y){Ct(r,r.return,y)}}c&&m&64&&Np(r),vs(r,r.return);break;case 27:zp(r);case 26:case 5:Xu(e,r,c),c&&t===null&&m&4&&Mo(r),vs(r,r.return);break;case 12:if(c&&m&4){m=Fr(),Xu(e,r,c),c=r.stateNode,c.effectDuration+=qe(m);try{ft(r,Gu,r,t,sS,c.effectDuration)}catch(y){Ct(r,r.return,y)}}else Xu(e,r,c);break;case 13:Xu(e,r,c),c&&m&4&&pi(e,r);break;case 22:r.memoizedState===null&&Xu(e,r,c),vs(r,r.return);break;case 30:break;default:Xu(e,r,c)}}function Xu(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)ll(e,t.alternate,t,r),t=t.sibling}function nu(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&uc(e),r!=null&&Lu(r))}function Bl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(uc(t),e!=null&&Lu(e))}function kn(e,t,r,c){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Bf(e,t,r,c),t=t.sibling}function Bf(e,t,r,c){var m=t.flags;switch(t.tag){case 0:case 11:case 15:kn(e,t,r,c),m&2048&&Yu(t,Ai|Fs);break;case 1:kn(e,t,r,c);break;case 3:var y=Fr();kn(e,t,r,c),m&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==r&&(uc(t),r!=null&&Lu(r))),e.passiveEffectDuration+=me(y);break;case 12:if(m&2048){m=Fr(),kn(e,t,r,c),e=t.stateNode,e.passiveEffectDuration+=qe(m);try{ft(t,bg,t,t.alternate,sS,e.passiveEffectDuration)}catch(H){Ct(t,t.return,H)}}else kn(e,t,r,c);break;case 13:kn(e,t,r,c);break;case 23:break;case 22:y=t.stateNode;var R=t.alternate;t.memoizedState!==null?y._visibility&vv?kn(e,t,r,c):Bo(e,t):y._visibility&vv?kn(e,t,r,c):(y._visibility|=vv,au(e,t,r,c,(t.subtreeFlags&10256)!==0)),m&2048&&nu(R,t);break;case 24:kn(e,t,r,c),m&2048&&Bl(t.alternate,t);break;default:kn(e,t,r,c)}}function au(e,t,r,c,m){for(m=m&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Lf(e,t,r,c,m),t=t.sibling}function Lf(e,t,r,c,m){var y=t.flags;switch(t.tag){case 0:case 11:case 15:au(e,t,r,c,m),Yu(t,Ai);break;case 23:break;case 22:var R=t.stateNode;t.memoizedState!==null?R._visibility&vv?au(e,t,r,c,m):Bo(e,t):(R._visibility|=vv,au(e,t,r,c,m)),m&&y&2048&&nu(t.alternate,t);break;case 24:au(e,t,r,c,m),m&&y&2048&&Bl(t.alternate,t);break;default:au(e,t,r,c,m)}}function Bo(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,c=t,m=c.flags;switch(c.tag){case 22:Bo(r,c),m&2048&&nu(c.alternate,c);break;case 24:Bo(r,c),m&2048&&Bl(c.alternate,c);break;default:Bo(r,c)}t=t.sibling}}function Ec(e){if(e.subtreeFlags&R1)for(e=e.child;e!==null;)Lo(e),e=e.sibling}function Lo(e){switch(e.tag){case 26:Ec(e),e.flags&R1&&e.memoizedState!==null&&fh(Xc,e.memoizedState,e.memoizedProps);break;case 5:Ec(e);break;case 3:case 4:var t=Xc;Xc=sh(e.stateNode.containerInfo),Ec(e),Xc=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=R1,R1=16777216,Ec(e),R1=t):Ec(e));break;default:Ec(e)}}function bs(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function xc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var c=t[r];Qi=c,ru(c,e)}bs(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nh(e),e=e.sibling}function nh(e){switch(e.tag){case 0:case 11:case 15:xc(e),e.flags&2048&&yc(e,e.return,Ai|Fs);break;case 3:var t=Fr();xc(e),e.stateNode.passiveEffectDuration+=me(t);break;case 12:t=Fr(),xc(e),e.stateNode.passiveEffectDuration+=qe(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&vv&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ah(e)):xc(e);break;default:xc(e)}}function ah(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var c=t[r];Qi=c,ru(c,e)}bs(e)}for(e=e.child;e!==null;)zf(e),e=e.sibling}function zf(e){switch(e.tag){case 0:case 11:case 15:yc(e,e.return,Ai),ah(e);break;case 22:var t=e.stateNode;t._visibility&vv&&(t._visibility&=-3,ah(e));break;default:ah(e)}}function ru(e,t){for(;Qi!==null;){var r=Qi,c=r;switch(c.tag){case 0:case 11:case 15:yc(c,t,Ai);break;case 23:case 22:c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(c=c.memoizedState.cachePool.pool,c!=null&&uc(c));break;case 24:Lu(c.memoizedState.cache)}if(c=r.child,c!==null)c.return=r,Qi=c;else e:for(r=e;Qi!==null;){c=Qi;var m=c.sibling,y=c.return;if(Up(c),c===r){Qi=null;break e}if(m!==null){m.return=y,Qi=m;break e}Qi=y}}}function jp(){u5.forEach(function(e){return e()})}function kp(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Le.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function qi(e){if((la&mu)!==$o&&Mn!==0)return Mn&-Mn;var t=Le.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Sv,e!==0?e:R0()):On()}function O0(){Qo===0&&(Qo=(Mn&536870912)===0||Vn?Cn():536870912);var e=Gs.current;return e!==null&&(e.flags|=32),Qo}function ja(e,t,r){if(fy&&console.error("useInsertionEffect must not schedule updates."),BA&&(AS=!0),(e===Na&&(va===Cv||va===wv)||e.cancelPendingCommit!==null)&&(Ll(e,0),iu(e,Mn,Qo,!1)),wn(e,r),(la&mu)!==0&&e===Na){if(Si)switch(t.tag){case 0:case 11:case 15:e=Tn&&oe(Tn)||"Unknown",VD.has(e)||(VD.add(e),t=oe(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:ID||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ID=!0)}}else Ma&&bt(e,t,r),kf(t),e===Na&&((la&mu)===$o&&(Bm|=r),Sr===Tv&&iu(e,Mn,Qo,!1)),Fi(e)}function ur(e,t,r){if((la&(mu|$c))!==$o)throw Error("Should not already be working.");var c=!r&&(t&124)===0&&(t&e.expiredLanes)===0||Ja(e,t),m=c?Yp(e,t):Fp(e,t,!0),y=c;do{if(m===Uh){sy&&!c&&iu(e,t,0,!1);break}else{if(r=e.current.alternate,y&&!qp(r)){m=Fp(e,t,!1),y=!1;continue}if(m===uy){if(y=t,e.errorRecoveryDisabledLanes&y)var R=0;else R=e.pendingLanes&-536870913,R=R!==0?R:R&536870912?536870912:0;if(R!==0){t=R;e:{m=e;var H=R;R=U1;var Q=m.current.memoizedState.isDehydrated;if(Q&&(Ll(m,H).flags|=256),H=Fp(m,H,!1),H!==uy){if(wA&&!Q){m.errorRecoveryDisabledLanes|=y,Bm|=y,m=Tv;break e}m=vu,vu=R,m!==null&&(vu===null?vu=m:vu.push.apply(vu,m))}m=H}if(y=!1,m!==uy)continue}}if(m===N1){Ll(e,0),iu(e,t,0,!0);break}e:{switch(c=e,m){case Uh:case N1:throw Error("Root did not complete. This is a bug in React.");case Tv:if((t&4194048)!==t)break;case SS:iu(c,t,Qo,!Mm);break e;case uy:vu=null;break;case AA:case UD:break;default:throw Error("Unknown root exit status.")}if(Le.actQueue!==null)Vp(c,r,t,vu,H1,ES,Qo,Bm,Ov);else{if((t&62914560)===t&&(y=DA+jD-su(),10<y)){if(iu(c,t,Qo,!Mm),Ut(c,0,!0)!==0)break e;c.timeoutHandle=WD(ma.bind(null,c,r,vu,H1,ES,t,Qo,Bm,Ov,Mm,m,f5,qO,0),y);break e}ma(c,r,vu,H1,ES,t,Qo,Bm,Ov,Mm,m,s5,qO,0)}}}break}while(!0);Fi(e)}function ma(e,t,r,c,m,y,R,H,Q,K,Re,je,we,Ge){if(e.timeoutHandle=Nv,je=t.subtreeFlags,(je&8192||(je&16785408)===16785408)&&(G1={stylesheets:null,count:0,unsuspend:Cg},Lo(t),je=wg(),je!==null)){e.cancelPendingCommit=je(Vp.bind(null,e,t,y,r,c,m,R,H,Q,Re,c5,we,Ge)),iu(e,y,R,!K);return}Vp(e,t,y,r,c,m,R,H,Q)}function qp(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var c=0;c<r.length;c++){var m=r[c],y=m.getSnapshot;m=m.value;try{if(!$e(y(),m))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function iu(e,t,r,c){t&=~OA,t&=~Bm,e.suspendedLanes|=t,e.pingedLanes&=~t,c&&(e.warmLanes|=t),c=e.expirationTimes;for(var m=t;0<m;){var y=31-Da(m),R=1<<y;c[y]=-1,m&=~R}r!==0&&Er(e,r,t)}function zo(){return(la&(mu|$c))===$o?(Ts(0),!1):!0}function Ac(){if(Tn!==null){if(va===co)var e=Tn.return;else e=Tn,Rd(),pa(e),ey=null,D1=0,e=Tn;for(;e!==null;)T0(e.alternate,e),e=e.return;Tn=null}}function Ll(e,t){var r=e.timeoutHandle;r!==Nv&&(e.timeoutHandle=Nv,T5(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Ac(),Na=e,Tn=r=Sl(e.current,null),Mn=t,va=co,Po=null,Mm=!1,sy=Ja(e,t),wA=!1,Sr=Uh,Ov=Qo=OA=Bm=Nm=0,vu=U1=null,ES=!1,(t&8)!==0&&(t|=t&32);var c=e.entangledLanes;if(c!==0)for(e=e.entanglements,c&=t;0<c;){var m=31-Da(c),y=1<<m;t|=e[m],c&=~y}return dd=t,bl(),t=jO(),1e3<t-HO&&(Le.recentlyCreatedOwnerStacks=0,HO=t),Ic.discardPendingWarnings(),r}function At(e,t){Pt=null,Le.H=yS,Le.getCurrentStack=null,Si=!1,cl=null,t===T1||t===hS?(t=fp(),va=L1):t===GO?(t=fp(),va=HD):va=t===OD?CA:t!==null&&typeof t=="object"&&typeof t.then=="function"?oy:B1,Po=t;var r=Tn;if(r===null)Sr=N1,Fu(e,bn(t,e.current));else switch(r.mode&fl&&ot(r),Ce(),va){case B1:ct!==null&&typeof ct.markComponentErrored=="function"&&ct.markComponentErrored(r,t,Mn);break;case Cv:case wv:case L1:case oy:case z1:ct!==null&&typeof ct.markComponentSuspended=="function"&&ct.markComponentSuspended(r,t,Mn)}}function Tc(){var e=Le.H;return Le.H=yS,e===null?yS:e}function rh(){var e=Le.A;return Le.A=l5,e}function $u(){Sr=Tv,Mm||(Mn&4194048)!==Mn&&Gs.current!==null||(sy=!0),(Nm&134217727)===0&&(Bm&134217727)===0||Na===null||iu(Na,Mn,Qo,!1)}function Fp(e,t,r){var c=la;la|=mu;var m=Tc(),y=rh();if(Na!==e||Mn!==t){if(Ma){var R=e.memoizedUpdaters;0<R.size&&(As(e,Mn),R.clear()),Nn(e,t)}H1=null,Ll(e,t)}nt(t),t=!1,R=Sr;e:do try{if(va!==co&&Tn!==null){var H=Tn,Q=Po;switch(va){case CA:Ac(),R=SS;break e;case L1:case Cv:case wv:case oy:Gs.current===null&&(t=!0);var K=va;if(va=co,Po=null,Ss(e,H,Q,K),r&&sy){R=Uh;break e}break;default:K=va,va=co,Po=null,Ss(e,H,Q,K)}}Uf(),R=Sr;break}catch(Re){At(e,Re)}while(!0);return t&&e.shellSuspendCounter++,Rd(),la=c,Le.H=m,Le.A=y,ke(),Tn===null&&(Na=null,Mn=0,bl()),R}function Uf(){for(;Tn!==null;)D0(Tn)}function Yp(e,t){var r=la;la|=mu;var c=Tc(),m=rh();if(Na!==e||Mn!==t){if(Ma){var y=e.memoizedUpdaters;0<y.size&&(As(e,Mn),y.clear()),Nn(e,t)}H1=null,xS=su()+kD,Ll(e,t)}else sy=Ja(e,t);nt(t);e:do try{if(va!==co&&Tn!==null)t:switch(t=Tn,y=Po,va){case B1:va=co,Po=null,Ss(e,t,y,B1);break;case Cv:case wv:if(mf(y)){va=co,Po=null,Gp(t);break}t=function(){va!==Cv&&va!==wv||Na!==e||(va=z1),Fi(e)},y.then(t,t);break e;case L1:va=z1;break e;case HD:va=TA;break e;case z1:mf(y)?(va=co,Po=null,Gp(t)):(va=co,Po=null,Ss(e,t,y,z1));break;case TA:var R=null;switch(Tn.tag){case 26:R=Tn.memoizedState;case 5:case 27:var H=Tn;if(!R||ch(R)){va=co,Po=null;var Q=H.sibling;if(Q!==null)Tn=Q;else{var K=H.return;K!==null?(Tn=K,Hf(K)):Tn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}va=co,Po=null,Ss(e,t,y,TA);break;case oy:va=co,Po=null,Ss(e,t,y,oy);break;case CA:Ac(),Sr=SS;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Le.actQueue!==null?Uf():mr();break}catch(Re){At(e,Re)}while(!0);return Rd(),Le.H=c,Le.A=m,la=r,Tn!==null?(ct!==null&&typeof ct.markRenderYielded=="function"&&ct.markRenderYielded(),Uh):(ke(),Na=null,Mn=0,bl(),Sr)}function mr(){for(;Tn!==null&&!Bg();)D0(Tn)}function D0(e){var t=e.alternate;(e.mode&fl)!==Ya?(Be(e),t=ft(e,Xt,t,e,dd),ot(e)):t=ft(e,Xt,t,e,dd),e.memoizedProps=e.pendingProps,t===null?Hf(e):Tn=t}function Gp(e){var t=ft(e,ih,e);e.memoizedProps=e.pendingProps,t===null?Hf(e):Tn=t}function ih(e){var t=e.alternate,r=(e.mode&fl)!==Ya;switch(r&&Be(e),e.tag){case 15:case 0:t=E0(t,e,e.pendingProps,e.type,void 0,Mn);break;case 11:t=E0(t,e,e.pendingProps,e.type.render,e.ref,Mn);break;case 5:pa(e);default:T0(t,e),e=Tn=wd(e,dd),t=Xt(t,e,dd)}return r&&ot(e),t}function Ss(e,t,r,c){Rd(),pa(t),ey=null,D1=0;var m=t.return;try{if(Id(e,m,t,r,Mn)){Sr=N1,Fu(e,bn(r,e.current)),Tn=null;return}}catch(y){if(m!==null)throw Tn=m,y;Sr=N1,Fu(e,bn(r,e.current)),Tn=null;return}t.flags&32768?(Vn||c===B1?e=!0:sy||(Mn&536870912)!==0?e=!1:(Mm=e=!0,(c===Cv||c===wv||c===L1||c===oy)&&(c=Gs.current,c!==null&&c.tag===13&&(c.flags|=16384))),Ip(t,e)):Hf(t)}function Hf(e){var t=e;do{if((t.flags&32768)!==0){Ip(t,Mm);return}var r=t.alternate;if(e=t.return,Be(t),r=ft(t,gg,r,t,dd),(t.mode&fl)!==Ya&&Lt(t),r!==null){Tn=r;return}if(t=t.sibling,t!==null){Tn=t;return}Tn=t=e}while(t!==null);Sr===Uh&&(Sr=UD)}function Ip(e,t){do{var r=il(e.alternate,e);if(r!==null){r.flags&=32767,Tn=r;return}if((e.mode&fl)!==Ya){Lt(e),r=e.actualDuration;for(var c=e.child;c!==null;)r+=c.actualDuration,c=c.sibling;e.actualDuration=r}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Tn=e;return}Tn=e=r}while(e!==null);Sr=SS,Tn=null}function Vp(e,t,r,c,m,y,R,H,Q){e.cancelPendingCommit=null;do Es();while(hl!==Dv);if(Ic.flushLegacyContextWarning(),Ic.flushPendingUnsafeLifecycleWarnings(),(la&(mu|$c))!==$o)throw Error("Should not already be working.");if(ct!==null&&typeof ct.markCommitStarted=="function"&&ct.markCommitStarted(r),t===null)Ke();else{if(r===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(y=t.lanes|t.childLanes,y|=nA,Ta(e,r,y,R,H,Q),e===Na&&(Tn=Na=null,Mn=0),cy=t,zm=e,Um=r,RA=y,MA=m,GD=c,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Zp(zc,function(){return lh(),null})):(e.callbackNode=null,e.callbackPriority=0),sS=Qg(),c=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||c){c=Le.T,Le.T=null,m=Ht.p,Ht.p=Nr,R=la,la|=$c;try{th(e,t,r)}finally{la=R,Ht.p=m,Le.T=c}}hl=qD,Pu(),zl(),$r()}}function Pu(){if(hl===qD){hl=Dv;var e=zm,t=cy,r=Um,c=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||c){c=Le.T,Le.T=null;var m=Ht.p;Ht.p=Nr;var y=la;la|=$c;try{iy=r,ly=e,gs(t,e),ly=iy=null,r=YA;var R=Wi(e.containerInfo),H=r.focusedElem,Q=r.selectionRange;if(R!==H&&H&&H.ownerDocument&&dg(H.ownerDocument.documentElement,H)){if(Q!==null&&a0(H)){var K=Q.start,Re=Q.end;if(Re===void 0&&(Re=K),"selectionStart"in H)H.selectionStart=K,H.selectionEnd=Math.min(Re,H.value.length);else{var je=H.ownerDocument||document,we=je&&je.defaultView||window;if(we.getSelection){var Ge=we.getSelection(),pt=H.textContent.length,kt=Math.min(Q.start,pt),Ba=Q.end===void 0?kt:Math.min(Q.end,pt);!Ge.extend&&kt>Ba&&(R=Ba,Ba=kt,kt=R);var Ln=ui(H,kt),le=ui(H,Ba);if(Ln&&le&&(Ge.rangeCount!==1||Ge.anchorNode!==Ln.node||Ge.anchorOffset!==Ln.offset||Ge.focusNode!==le.node||Ge.focusOffset!==le.offset)){var ue=je.createRange();ue.setStart(Ln.node,Ln.offset),Ge.removeAllRanges(),kt>Ba?(Ge.addRange(ue),Ge.extend(le.node,le.offset)):(ue.setEnd(le.node,le.offset),Ge.addRange(ue))}}}}for(je=[],Ge=H;Ge=Ge.parentNode;)Ge.nodeType===1&&je.push({element:Ge,left:Ge.scrollLeft,top:Ge.scrollTop});for(typeof H.focus=="function"&&H.focus(),H=0;H<je.length;H++){var de=je[H];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}jS=!!FA,YA=FA=null}finally{la=y,Ht.p=m,Le.T=c}}e.current=t,hl=FD}}function zl(){if(hl===FD){hl=Dv;var e=zm,t=cy,r=Um,c=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||c){c=Le.T,Le.T=null;var m=Ht.p;Ht.p=Nr;var y=la;la|=$c;try{ct!==null&&typeof ct.markLayoutEffectsStarted=="function"&&ct.markLayoutEffectsStarted(r),iy=r,ly=e,w0(e,t.alternate,t),ly=iy=null,ct!==null&&typeof ct.markLayoutEffectsStopped=="function"&&ct.markLayoutEffectsStopped()}finally{la=y,Ht.p=m,Le.T=c}}hl=YD}}function $r(){if(hl===d5||hl===YD){hl=Dv,c1();var e=zm,t=cy,r=Um,c=GD,m=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;m?hl=_A:(hl=Dv,cy=zm=null,Qu(e,e.pendingLanes),_v=0,k1=null);var y=e.pendingLanes;if(y===0&&(Lm=null),m||Cc(e),m=yt(r),t=t.stateNode,Mr&&typeof Mr.onCommitFiberRoot=="function")try{var R=(t.current.flags&128)===128;switch(m){case Nr:var H=ed;break;case Jt:H=Sh;break;case Go:H=zc;break;case xh:H=Rr;break;default:H=zc}Mr.onCommitFiberRoot(Ms,t,H,R)}catch(je){Vi||(Vi=!0,console.error("React instrumentation encountered an error: %s",je))}if(Ma&&e.memoizedUpdaters.clear(),jp(),c!==null){R=Le.T,H=Ht.p,Ht.p=Nr,Le.T=null;try{var Q=e.onRecoverableError;for(t=0;t<c.length;t++){var K=c[t],Re=Xp(K.stack);ft(K.source,Q,K.value,Re)}}finally{Le.T=R,Ht.p=H}}(Um&3)!==0&&Es(),Fi(e),y=e.pendingLanes,(r&4194090)!==0&&(y&42)!==0?(fS=!0,e===NA?j1++:(j1=0,NA=e)):j1=0,Ts(0),Ke()}}function Xp(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Qu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Lu(t)))}function Es(e){return Pu(),zl(),$r(),lh()}function lh(){if(hl!==_A)return!1;var e=zm,t=RA;RA=0;var r=yt(Um),c=Go>r?Go:r;r=Le.T;var m=Ht.p;try{Ht.p=c,Le.T=null,c=MA,MA=null;var y=zm,R=Um;if(hl=Dv,cy=zm=null,Um=0,(la&(mu|$c))!==$o)throw Error("Cannot flush passive effects while already rendering.");BA=!0,AS=!1,ct!==null&&typeof ct.markPassiveEffectsStarted=="function"&&ct.markPassiveEffectsStarted(R);var H=la;if(la|=$c,nh(y.current),Bf(y,y.current,R,c),ct!==null&&typeof ct.markPassiveEffectsStopped=="function"&&ct.markPassiveEffectsStopped(),Cc(y),la=H,Ts(0,!1),AS?y===k1?_v++:(_v=0,k1=y):_v=0,AS=BA=!1,Mr&&typeof Mr.onPostCommitFiberRoot=="function")try{Mr.onPostCommitFiberRoot(Ms,y)}catch(K){Vi||(Vi=!0,console.error("React instrumentation encountered an error: %s",K))}var Q=y.current.stateNode;return Q.effectDuration=0,Q.passiveEffectDuration=0,!0}finally{Ht.p=m,Le.T=r,Qu(e,t)}}function jf(e,t,r){t=bn(r,t),t=Xr(e.stateNode,t,2),e=Ri(e,t,2),e!==null&&(wn(e,2),Fi(e))}function Ct(e,t,r){if(fy=!1,e.tag===3)jf(e,e,r);else{for(;t!==null;){if(t.tag===3){jf(t,e,r);return}if(t.tag===1){var c=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Lm===null||!Lm.has(c))){e=bn(r,e),r=Ha(2),c=Ri(t,r,2),c!==null&&(Do(r,c,t,e),wn(c,2),Fi(c));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
289
|
-
|
|
290
|
-
Error message:
|
|
291
|
-
|
|
292
|
-
%s`,r)}}function $p(e,t,r){var c=e.pingCache;if(c===null){c=e.pingCache=new o5;var m=new Set;c.set(t,m)}else m=c.get(t),m===void 0&&(m=new Set,c.set(t,m));m.has(r)||(wA=!0,m.add(r),c=Eg.bind(null,e,t,r),Ma&&As(e,r),t.then(c,c))}function Eg(e,t,r){var c=e.pingCache;c!==null&&c.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,kp()&&Le.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
293
|
-
|
|
294
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
295
|
-
|
|
296
|
-
act(() => {
|
|
297
|
-
/* finish loading suspended data */
|
|
298
|
-
});
|
|
299
|
-
/* assert on the output */
|
|
300
|
-
|
|
301
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Na===e&&(Mn&r)===r&&(Sr===Tv||Sr===AA&&(Mn&62914560)===Mn&&su()-DA<jD?(la&mu)===$o&&Ll(e,0):OA|=r,Ov===Mn&&(Ov=0)),Fi(e)}function _0(e,t){t===0&&(t=Qt()),e=qr(e,t),e!==null&&(wn(e,t),Fi(e))}function uh(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),_0(e,r)}function xs(e,t){var r=0;switch(e.tag){case 13:var c=e.stateNode,m=e.memoizedState;m!==null&&(r=m.retryLane);break;case 19:c=e.stateNode;break;case 22:c=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),_0(e,r)}function Pp(e,t,r){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var c=e,m=t,y=m.type===Zf;y=r||y,m.tag!==22?m.flags&67108864?y&&ft(m,Qp,c,m,(m.mode&LO)===Ya):Pp(c,m,y):m.memoizedState===null&&(y&&m.flags&8192?ft(m,Qp,c,m):m.subtreeFlags&67108864&&ft(m,Pp,c,m,y)),t=t.sibling}}function Qp(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Ye(!0);try{ki(t),r&&zf(t),ll(e,t.alternate,t,!1),r&&Lf(e,t,0,null,!1,0)}finally{Ye(!1)}}function Cc(e){var t=!0;e.current.mode&(Yl|Gc)||(t=!1),Pp(e,e.current,t)}function lu(e){if((la&mu)===$o){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=oe(e)||"ReactComponent",TS!==null){if(TS.has(t))return;TS.add(t)}else TS=new Set([t]);ft(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function As(e,t){Ma&&e.memoizedUpdaters.forEach(function(r){bt(e,r,t)})}function Zp(e,t){var r=Le.actQueue;return r!==null?(r.push(t),m5):vm(e,t)}function kf(e){kp()&&Le.actQueue===null&&ft(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
302
|
-
|
|
303
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
304
|
-
|
|
305
|
-
act(() => {
|
|
306
|
-
/* fire events that update state */
|
|
307
|
-
});
|
|
308
|
-
/* assert on the output */
|
|
309
|
-
|
|
310
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,oe(e))})}function Fi(e){e!==dy&&e.next===null&&(dy===null?CS=dy=e:dy=dy.next=e),wS=!0,Le.actQueue!==null?zA||(zA=!0,nr()):LA||(LA=!0,nr())}function Ts(e,t){if(!UA&&wS){UA=!0;do for(var r=!1,c=CS;c!==null;){if(e!==0){var m=c.pendingLanes;if(m===0)var y=0;else{var R=c.suspendedLanes,H=c.pingedLanes;y=(1<<31-Da(42|e)+1)-1,y&=m&~(R&~H),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(r=!0,Zu(c,y))}else y=Mn,y=Ut(c,c===Na?y:0,c.cancelPendingCommit!==null||c.timeoutHandle!==Nv),(y&3)===0||Ja(c,y)||(r=!0,Zu(c,y));c=c.next}while(r);UA=!1}}function oh(){wc()}function wc(){wS=zA=LA=!1;var e=0;Rv!==0&&(Ff()&&(e=Rv),Rv=0);for(var t=su(),r=null,c=CS;c!==null;){var m=c.next,y=uu(c,t);y===0?(c.next=null,r===null?CS=m:r.next=m,m===null&&(dy=r)):(r=c,(e!==0||(y&3)!==0)&&(wS=!0)),c=m}Ts(e)}function uu(e,t){for(var r=e.suspendedLanes,c=e.pingedLanes,m=e.expirationTimes,y=e.pendingLanes&-62914561;0<y;){var R=31-Da(y),H=1<<R,Q=m[R];Q===-1?((H&r)===0||(H&c)!==0)&&(m[R]=fr(H,t)):Q<=t&&(e.expiredLanes|=H),y&=~H}if(t=Na,r=Mn,r=Ut(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Nv),c=e.callbackNode,r===0||e===t&&(va===Cv||va===wv)||e.cancelPendingCommit!==null)return c!==null&&Kp(c),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||Ja(e,r)){if(t=r&-r,t!==e.callbackPriority||Le.actQueue!==null&&c!==HA)Kp(c);else return t;switch(yt(r)){case Nr:case Jt:r=Sh;break;case Go:r=zc;break;case xh:r=Rr;break;default:r=zc}return c=qn.bind(null,e),Le.actQueue!==null?(Le.actQueue.push(c),r=HA):r=vm(r,c),e.callbackPriority=t,e.callbackNode=r,t}return c!==null&&Kp(c),e.callbackPriority=2,e.callbackNode=null,2}function qn(e,t){if(fS=cS=!1,hl!==Dv&&hl!==_A)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Es()&&e.callbackNode!==r)return null;var c=Mn;return c=Ut(e,e===Na?c:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Nv),c===0?null:(ur(e,c,t),uu(e,su()),e.callbackNode!=null&&e.callbackNode===r?qn.bind(null,e):null)}function Zu(e,t){if(Es())return null;cS=fS,fS=!1,ur(e,t,!0)}function Kp(e){e!==HA&&e!==null&&s1(e)}function nr(){Le.actQueue!==null&&Le.actQueue.push(function(){return wc(),null}),C5(function(){(la&(mu|$c))!==$o?vm(ed,oh):wc()})}function R0(){return Rv===0&&(Rv=Cn()),Rv}function M0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Me(e,"action"),rf(""+e))}function N0(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function wa(e,t,r,c,m){if(t==="submit"&&r&&r.stateNode===m){var y=M0((m[Xi]||null).action),R=c.submitter;R&&(t=(t=R[Xi]||null)?M0(t.formAction):R.getAttribute("formAction"),t!==null&&(y=t,R=null));var H=new wt("action","action",null,c,m);e.push({event:H,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Rv!==0){var Q=R?N0(m,R):new FormData(m),K={pending:!0,data:Q,method:m.method,action:y};Object.freeze(K),fs(r,K,null,Q)}}else typeof y=="function"&&(H.preventDefault(),Q=R?N0(m,R):new FormData(m),K={pending:!0,data:Q,method:m.method,action:y},Object.freeze(K),fs(r,K,y,Q))},currentTarget:m}]})}}function wr(e,t,r){e.currentTarget=r;try{t(e)}catch(c){yA(c)}e.currentTarget=null}function Ku(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var c=e[r];e:{var m=void 0,y=c.event;if(c=c.listeners,t)for(var R=c.length-1;0<=R;R--){var H=c[R],Q=H.instance,K=H.currentTarget;if(H=H.listener,Q!==m&&y.isPropagationStopped())break e;Q!==null?ft(Q,wr,y,H,K):wr(y,H,K),m=Q}else for(R=0;R<c.length;R++){if(H=c[R],Q=H.instance,K=H.currentTarget,H=H.listener,Q!==m&&y.isPropagationStopped())break e;Q!==null?ft(Q,wr,y,H,K):wr(y,H,K),m=Q}}}}function fn(e,t){jA.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=t[tv];r===void 0&&(r=t[tv]=new Set);var c=e+"__bubble";r.has(c)||(Wp(t,e,2,!1),r.add(c))}function Jp(e,t,r){jA.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=4),Wp(r,e,c,t)}function B0(e){if(!e[OS]){e[OS]=!0,zg.forEach(function(r){r!=="selectionchange"&&(jA.has(r)||Jp(r,!1,e),Jp(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[OS]||(t[OS]=!0,Jp("selectionchange",!1,t))}}function Wp(e,t,r,c){switch(ph(t)){case Nr:var m=Dg;break;case Jt:m=hh;break;default:m=ao}r=m.bind(null,t,r,e),m=void 0,!Ae||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(m=!0),c?m!==void 0?e.addEventListener(t,r,{capture:!0,passive:m}):e.addEventListener(t,r,!0):m!==void 0?e.addEventListener(t,r,{passive:m}):e.addEventListener(t,r,!1)}function vi(e,t,r,c,m){var y=c;if((t&1)===0&&(t&2)===0&&c!==null)e:for(;;){if(c===null)return;var R=c.tag;if(R===3||R===4){var H=c.stateNode.containerInfo;if(H===m)break;if(R===4)for(R=c.return;R!==null;){var Q=R.tag;if((Q===3||Q===4)&&R.stateNode.containerInfo===m)return;R=R.return}for(;H!==null;){if(R=ti(H),R===null)return;if(Q=R.tag,Q===5||Q===6||Q===26||Q===27){c=y=R;continue e}H=H.parentNode}}c=c.return}lf(function(){var K=y,Re=nc(r),je=[];e:{var we=BO.get(e);if(we!==void 0){var Ge=wt,pt=e;switch(e){case"keypress":if(uf(r)===0)break e;case"keydown":case"keyup":Ge=Yx;break;case"focusin":pt="focus",Ge=An;break;case"focusout":pt="blur",Ge=An;break;case"beforeblur":case"afterblur":Ge=An;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ge=rn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ge=zt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ge=Vx;break;case ql:case $i:case Fl:Ge=d1;break;case v1:Ge=$x;break;case"scroll":case"scrollend":Ge=be;break;case"wheel":Ge=Qx;break;case"copy":case"cut":case"paste":Ge=h1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ge=rS;break;case"toggle":case"beforetoggle":Ge=Kx}var kt=(t&4)!==0,Ba=!kt&&(e==="scroll"||e==="scrollend"),Ln=kt?we!==null?we+"Capture":null:we;kt=[];for(var le=K,ue;le!==null;){var de=le;if(ue=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||ue===null||Ln===null||(de=yo(le,Ln),de!=null&&kt.push(Pr(le,de,ue))),Ba)break;le=le.return}0<kt.length&&(we=new Ge(we,pt,null,r,Re),je.push({event:we,listeners:kt}))}}if((t&7)===0){e:{if(we=e==="mouseover"||e==="pointerover",Ge=e==="mouseout"||e==="pointerout",we&&r!==b&&(pt=r.relatedTarget||r.fromElement)&&(ti(pt)||pt[Ns]))break e;if((Ge||we)&&(we=Re.window===Re?Re:(we=Re.ownerDocument)?we.defaultView||we.parentWindow:window,Ge?(pt=r.relatedTarget||r.toElement,Ge=K,pt=pt?ti(pt):null,pt!==null&&(Ba=I(pt),kt=pt.tag,pt!==Ba||kt!==5&&kt!==27&&kt!==6)&&(pt=null)):(Ge=null,pt=K),Ge!==pt)){if(kt=rn,de="onMouseLeave",Ln="onMouseEnter",le="mouse",(e==="pointerout"||e==="pointerover")&&(kt=rS,de="onPointerLeave",Ln="onPointerEnter",le="pointer"),Ba=Ge==null?we:dr(Ge),ue=pt==null?we:dr(pt),we=new kt(de,le+"leave",Ge,r,Re),we.target=Ba,we.relatedTarget=ue,de=null,ti(Re)===K&&(kt=new kt(Ln,le+"enter",pt,r,Re),kt.target=ue,kt.relatedTarget=Ba,de=kt),Ba=de,Ge&&pt)t:{for(kt=Ge,Ln=pt,le=0,ue=kt;ue;ue=or(ue))le++;for(ue=0,de=Ln;de;de=or(de))ue++;for(;0<le-ue;)kt=or(kt),le--;for(;0<ue-le;)Ln=or(Ln),ue--;for(;le--;){if(kt===Ln||Ln!==null&&kt===Ln.alternate)break t;kt=or(kt),Ln=or(Ln)}kt=null}else kt=null;Ge!==null&&L0(je,we,Ge,kt,!1),pt!==null&&Ba!==null&&L0(je,Ba,pt,kt,!0)}}e:{if(we=K?dr(K):window,Ge=we.nodeName&&we.nodeName.toLowerCase(),Ge==="select"||Ge==="input"&&we.type==="file")var Ve=Eo;else if(og(we))if(Je)Ve=cg;else{Ve=ip;var it=yl}else Ge=we.nodeName,!Ge||Ge.toLowerCase()!=="input"||we.type!=="checkbox"&&we.type!=="radio"?K&&rs(K.elementType)&&(Ve=Eo):Ve=sg;if(Ve&&(Ve=Ve(e,K))){ap(je,Ve,r,Re);break e}it&&it(e,we,K),e==="focusout"&&K&&we.type==="number"&&K.memoizedProps.value!=null&&Wc(we,"number",we.value)}switch(it=K?dr(K):window,e){case"focusin":(og(it)||it.contentEditable==="true")&&(lt=it,vt=K,Rt=null);break;case"focusout":Rt=vt=lt=null;break;case"mousedown":Wt=!0;break;case"contextmenu":case"mouseup":case"dragend":Wt=!1,r0(je,r,Re);break;case"selectionchange":if(et)break;case"keydown":case"keyup":r0(je,r,Re)}var en;if(m1)e:{switch(e){case"compositionstart":var mt="onCompositionStart";break e;case"compositionend":mt="onCompositionEnd";break e;case"compositionupdate":mt="onCompositionUpdate";break e}mt=void 0}else Z?li(e,r)&&(mt="onCompositionEnd"):e==="keydown"&&r.keyCode===iS&&(mt="onCompositionStart");mt&&(d&&r.locale!=="ko"&&(Z||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&Z&&(en=bo()):(Ze=Re,Oe="value"in Ze?Ze.value:Ze.textContent,Z=!0)),it=qf(K,mt),0<it.length&&(mt=new aS(mt,e,null,r,Re),je.push({event:mt,listeners:it}),en?mt.data=en:(en=is(r),en!==null&&(mt.data=en)))),(en=s?tp(e,r):Ad(e,r))&&(mt=qf(K,"onBeforeInput"),0<mt.length&&(it=new Hx("onBeforeInput","beforeinput",null,r,Re),je.push({event:it,listeners:mt}),it.data=en)),wa(je,e,K,r,Re)}Ku(je,t)})}function Pr(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qf(e,t){for(var r=t+"Capture",c=[];e!==null;){var m=e,y=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||y===null||(m=yo(e,r),m!=null&&c.unshift(Pr(e,m,y)),m=yo(e,t),m!=null&&c.push(Pr(e,m,y))),e.tag===3)return c;e=e.return}return[]}function or(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function L0(e,t,r,c,m){for(var y=t._reactName,R=[];r!==null&&r!==c;){var H=r,Q=H.alternate,K=H.stateNode;if(H=H.tag,Q!==null&&Q===c)break;H!==5&&H!==26&&H!==27||K===null||(Q=K,m?(K=yo(r,y),K!=null&&R.unshift(Pr(r,K,Q))):m||(K=yo(r,y),K!=null&&R.push(Pr(r,K,Q)))),r=r.return}R.length!==0&&e.push({event:t,listeners:R})}function Ju(e,t){af(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||pv||(pv=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var r={registrationNameDependencies:kl,possibleRegistrationNames:Uc};rs(e)||typeof t.is=="string"||Wm(e,t,r),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Oa(e,t,r,c){t!==r&&(r=Or(r),Or(t)!==r&&(c[e]=t))}function Uo(e,t,r){t.forEach(function(c){r[U0(c)]=c==="style"?Cs(e):e.getAttribute(c)})}function Ul(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function em(e,t){return e=e.namespaceURI===Dh||e.namespaceURI===od?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Or(e){return W(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",We(e)),Ee(e)),(typeof e=="string"?e:""+e).replace(v5,`
|
|
311
|
-
`).replace(g5,"")}function z0(e,t){return t=Or(t),Or(e)===t}function Ho(){}function Hn(e,t,r,c,m,y){switch(r){case"children":typeof c=="string"?(En(c,t,!1),t==="body"||t==="textarea"&&c===""||ba(e,c)):(typeof c=="number"||typeof c=="bigint")&&(En(""+c,t,!1),t!=="body"&&ba(e,""+c));break;case"className":Hr(e,"class",c);break;case"tabIndex":Hr(e,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Hr(e,r,c);break;case"style":tf(e,c,y);break;case"data":if(t!=="object"){Hr(e,"data",c);break}case"src":case"href":if(c===""&&(t!=="a"||r!=="href")){console.error(r==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',r,r),e.removeAttribute(r);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){e.removeAttribute(r);break}Me(c,r),c=rf(""+c),e.setAttribute(r,c);break;case"action":case"formAction":if(c!=null&&(t==="form"?r==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof c=="function"&&(m.encType==null&&m.method==null||RS||(RS=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),m.target==null||_S||(_S=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?r==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||m.type==="submit"||m.type==="image"||DS?t!=="button"||m.type==null||m.type==="submit"||DS?typeof c=="function"&&(m.name==null||PD||(PD=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),m.formEncType==null&&m.formMethod==null||RS||(RS=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),m.formTarget==null||_S||(_S=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(DS=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(DS=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(r==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof c=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(r==="formAction"?(t!=="input"&&Hn(e,t,"name",m.name,m,null),Hn(e,t,"formEncType",m.formEncType,m,null),Hn(e,t,"formMethod",m.formMethod,m,null),Hn(e,t,"formTarget",m.formTarget,m,null)):(Hn(e,t,"encType",m.encType,m,null),Hn(e,t,"method",m.method,m,null),Hn(e,t,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){e.removeAttribute(r);break}Me(c,r),c=rf(""+c),e.setAttribute(r,c);break;case"onClick":c!=null&&(typeof c!="function"&&Ul(r,c),e.onclick=Ho);break;case"onScroll":c!=null&&(typeof c!="function"&&Ul(r,c),fn("scroll",e));break;case"onScrollEnd":c!=null&&(typeof c!="function"&&Ul(r,c),fn("scrollend",e));break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=c.__html,r!=null){if(m.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"multiple":e.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":e.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){e.removeAttribute("xlink:href");break}Me(c,r),r=rf(""+c),e.setAttributeNS(Mv,"xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?(Me(c,r),e.setAttribute(r,""+c)):e.removeAttribute(r);break;case"inert":c!==""||MS[r]||(MS[r]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",r));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":c===!0?e.setAttribute(r,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?(Me(c,r),e.setAttribute(r,c)):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?(Me(c,r),e.setAttribute(r,c)):e.removeAttribute(r);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?e.removeAttribute(r):(Me(c,r),e.setAttribute(r,c));break;case"popover":fn("beforetoggle",e),fn("toggle",e),La(e,"popover",c);break;case"xlinkActuate":Wn(e,Mv,"xlink:actuate",c);break;case"xlinkArcrole":Wn(e,Mv,"xlink:arcrole",c);break;case"xlinkRole":Wn(e,Mv,"xlink:role",c);break;case"xlinkShow":Wn(e,Mv,"xlink:show",c);break;case"xlinkTitle":Wn(e,Mv,"xlink:title",c);break;case"xlinkType":Wn(e,Mv,"xlink:type",c);break;case"xmlBase":Wn(e,kA,"xml:base",c);break;case"xmlLang":Wn(e,kA,"xml:lang",c);break;case"xmlSpace":Wn(e,kA,"xml:space",c);break;case"is":y!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),La(e,"is",c);break;case"innerText":case"textContent":break;case"popoverTarget":QD||c==null||typeof c!="object"||(QD=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",c));default:!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"?(r=Wh(r),La(e,r,c)):kl.hasOwnProperty(r)&&c!=null&&typeof c!="function"&&Ul(r,c)}}function vr(e,t,r,c,m,y){switch(r){case"style":tf(e,c,y);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=c.__html,r!=null){if(m.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"children":typeof c=="string"?ba(e,c):(typeof c=="number"||typeof c=="bigint")&&ba(e,""+c);break;case"onScroll":c!=null&&(typeof c!="function"&&Ul(r,c),fn("scroll",e));break;case"onScrollEnd":c!=null&&(typeof c!="function"&&Ul(r,c),fn("scrollend",e));break;case"onClick":c!=null&&(typeof c!="function"&&Ul(r,c),e.onclick=Ho);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(kl.hasOwnProperty(r))c!=null&&typeof c!="function"&&Ul(r,c);else e:{if(r[0]==="o"&&r[1]==="n"&&(m=r.endsWith("Capture"),t=r.slice(2,m?r.length-7:void 0),y=e[Xi]||null,y=y!=null?y[r]:null,typeof y=="function"&&e.removeEventListener(t,y,m),typeof c=="function")){typeof y!="function"&&y!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,c,m);break e}r in e?e[r]=c:c===!0?e.setAttribute(r,""):La(e,r,c)}}}function ka(e,t,r){switch(Ju(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fn("error",e),fn("load",e);var c=!1,m=!1,y;for(y in r)if(r.hasOwnProperty(y)){var R=r[y];if(R!=null)switch(y){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Hn(e,t,y,R,r,null)}}m&&Hn(e,t,"srcSet",r.srcSet,r,null),c&&Hn(e,t,"src",r.src,r,null);return;case"input":Ki("input",r),fn("invalid",e);var H=y=R=m=null,Q=null,K=null;for(c in r)if(r.hasOwnProperty(c)){var Re=r[c];if(Re!=null)switch(c){case"name":m=Re;break;case"type":R=Re;break;case"checked":Q=Re;break;case"defaultChecked":K=Re;break;case"value":y=Re;break;case"defaultValue":H=Re;break;case"children":case"dangerouslySetInnerHTML":if(Re!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Hn(e,t,c,Re,r,null)}}Cu(e,r),Ks(e,y,H,Q,K,R,m,!1),$l(e);return;case"select":Ki("select",r),fn("invalid",e),c=R=y=null;for(m in r)if(r.hasOwnProperty(m)&&(H=r[m],H!=null))switch(m){case"value":y=H;break;case"defaultValue":R=H;break;case"multiple":c=H;default:Hn(e,t,m,H,r,null)}Js(e,r),t=y,r=R,e.multiple=!!c,t!=null?Pl(e,!!c,t,!1):r!=null&&Pl(e,!!c,r,!0);return;case"textarea":Ki("textarea",r),fn("invalid",e),y=m=c=null;for(R in r)if(r.hasOwnProperty(R)&&(H=r[R],H!=null))switch(R){case"value":c=H;break;case"defaultValue":m=H;break;case"children":y=H;break;case"dangerouslySetInnerHTML":if(H!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Hn(e,t,R,H,r,null)}Ji(e,r),ef(e,c,m,y),$l(e);return;case"option":ns(e,r);for(Q in r)if(r.hasOwnProperty(Q)&&(c=r[Q],c!=null))switch(Q){case"selected":e.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Hn(e,t,Q,c,r,null)}return;case"dialog":fn("beforetoggle",e),fn("toggle",e),fn("cancel",e),fn("close",e);break;case"iframe":case"object":fn("load",e);break;case"video":case"audio":for(c=0;c<q1.length;c++)fn(q1[c],e);break;case"image":fn("error",e),fn("load",e);break;case"details":fn("toggle",e);break;case"embed":case"source":case"link":fn("error",e),fn("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(K in r)if(r.hasOwnProperty(K)&&(c=r[K],c!=null))switch(K){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Hn(e,t,K,c,r,null)}return;default:if(rs(t)){for(Re in r)r.hasOwnProperty(Re)&&(c=r[Re],c!==void 0&&vr(e,t,Re,c,r,void 0));return}}for(H in r)r.hasOwnProperty(H)&&(c=r[H],c!=null&&Hn(e,t,H,c,r,null))}function xg(e,t,r,c){switch(Ju(t,c),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,y=null,R=null,H=null,Q=null,K=null,Re=null;for(Ge in r){var je=r[Ge];if(r.hasOwnProperty(Ge)&&je!=null)switch(Ge){case"checked":break;case"value":break;case"defaultValue":Q=je;default:c.hasOwnProperty(Ge)||Hn(e,t,Ge,null,c,je)}}for(var we in c){var Ge=c[we];if(je=r[we],c.hasOwnProperty(we)&&(Ge!=null||je!=null))switch(we){case"type":y=Ge;break;case"name":m=Ge;break;case"checked":K=Ge;break;case"defaultChecked":Re=Ge;break;case"value":R=Ge;break;case"defaultValue":H=Ge;break;case"children":case"dangerouslySetInnerHTML":if(Ge!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ge!==je&&Hn(e,t,we,Ge,c,je)}}t=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,c=c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null,t||!c||$D||(console.error("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://react.dev/link/controlled-components"),$D=!0),!t||c||XD||(console.error("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://react.dev/link/controlled-components"),XD=!0),wu(e,R,H,Q,K,Re,y,m);return;case"select":Ge=R=H=we=null;for(y in r)if(Q=r[y],r.hasOwnProperty(y)&&Q!=null)switch(y){case"value":break;case"multiple":Ge=Q;default:c.hasOwnProperty(y)||Hn(e,t,y,null,c,Q)}for(m in c)if(y=c[m],Q=r[m],c.hasOwnProperty(m)&&(y!=null||Q!=null))switch(m){case"value":we=y;break;case"defaultValue":H=y;break;case"multiple":R=y;default:y!==Q&&Hn(e,t,m,y,c,Q)}c=H,t=R,r=Ge,we!=null?Pl(e,!!t,we,!1):!!r!=!!t&&(c!=null?Pl(e,!!t,c,!0):Pl(e,!!t,t?[]:"",!1));return;case"textarea":Ge=we=null;for(H in r)if(m=r[H],r.hasOwnProperty(H)&&m!=null&&!c.hasOwnProperty(H))switch(H){case"value":break;case"children":break;default:Hn(e,t,H,null,c,m)}for(R in c)if(m=c[R],y=r[R],c.hasOwnProperty(R)&&(m!=null||y!=null))switch(R){case"value":we=m;break;case"defaultValue":Ge=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:m!==y&&Hn(e,t,R,m,c,y)}Ws(e,we,Ge);return;case"option":for(var pt in r)if(we=r[pt],r.hasOwnProperty(pt)&&we!=null&&!c.hasOwnProperty(pt))switch(pt){case"selected":e.selected=!1;break;default:Hn(e,t,pt,null,c,we)}for(Q in c)if(we=c[Q],Ge=r[Q],c.hasOwnProperty(Q)&&we!==Ge&&(we!=null||Ge!=null))switch(Q){case"selected":e.selected=we&&typeof we!="function"&&typeof we!="symbol";break;default:Hn(e,t,Q,we,c,Ge)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var kt in r)we=r[kt],r.hasOwnProperty(kt)&&we!=null&&!c.hasOwnProperty(kt)&&Hn(e,t,kt,null,c,we);for(K in c)if(we=c[K],Ge=r[K],c.hasOwnProperty(K)&&we!==Ge&&(we!=null||Ge!=null))switch(K){case"children":case"dangerouslySetInnerHTML":if(we!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Hn(e,t,K,we,c,Ge)}return;default:if(rs(t)){for(var Ba in r)we=r[Ba],r.hasOwnProperty(Ba)&&we!==void 0&&!c.hasOwnProperty(Ba)&&vr(e,t,Ba,void 0,c,we);for(Re in c)we=c[Re],Ge=r[Re],!c.hasOwnProperty(Re)||we===Ge||we===void 0&&Ge===void 0||vr(e,t,Re,we,c,Ge);return}}for(var Ln in r)we=r[Ln],r.hasOwnProperty(Ln)&&we!=null&&!c.hasOwnProperty(Ln)&&Hn(e,t,Ln,null,c,we);for(je in c)we=c[je],Ge=r[je],!c.hasOwnProperty(je)||we===Ge||we==null&&Ge==null||Hn(e,t,je,we,c,Ge)}function U0(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Cs(e){var t={};e=e.style;for(var r=0;r<e.length;r++){var c=e[r];t[c]=e.getPropertyValue(c)}return t}function H0(e,t,r){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var c,m=c="",y;for(y in t)if(t.hasOwnProperty(y)){var R=t[y];R!=null&&typeof R!="boolean"&&R!==""&&(y.indexOf("--")===0?(ne(R,y),c+=m+y+":"+(""+R).trim()):typeof R!="number"||R===0||Oh.has(y)?(ne(R,y),c+=m+y.replace(Io,"-$1").toLowerCase().replace(Vo,"-ms-")+":"+(""+R).trim()):c+=m+y.replace(Io,"-$1").toLowerCase().replace(Vo,"-ms-")+":"+R+"px",m=";")}c=c||null,t=e.getAttribute("style"),t!==c&&(c=Or(c),Or(t)!==c&&(r.style=Cs(e)))}}function gi(e,t,r,c,m,y){if(m.delete(r),e=e.getAttribute(r),e===null)switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":return}else if(c!=null)switch(typeof c){case"function":case"symbol":case"boolean":break;default:if(Me(c,t),e===""+c)return}Oa(t,e,c,y)}function j0(e,t,r,c,m,y){if(m.delete(r),e=e.getAttribute(r),e===null){switch(typeof c){case"function":case"symbol":return}if(!c)return}else switch(typeof c){case"function":case"symbol":break;default:if(c)return}Oa(t,e,c,y)}function k0(e,t,r,c,m,y){if(m.delete(r),e=e.getAttribute(r),e===null)switch(typeof c){case"undefined":case"function":case"symbol":return}else if(c!=null)switch(typeof c){case"function":case"symbol":break;default:if(Me(c,r),e===""+c)return}Oa(t,e,c,y)}function tm(e,t,r,c,m,y){if(m.delete(r),e=e.getAttribute(r),e===null)switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(c))return}else if(c!=null)switch(typeof c){case"function":case"symbol":case"boolean":break;default:if(!isNaN(c)&&(Me(c,t),e===""+c))return}Oa(t,e,c,y)}function Fn(e,t,r,c,m,y){if(m.delete(r),e=e.getAttribute(r),e===null)switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":return}else if(c!=null)switch(typeof c){case"function":case"symbol":case"boolean":break;default:if(Me(c,t),r=rf(""+c),e===r)return}Oa(t,e,c,y)}function ra(e,t,r,c){for(var m={},y=new Set,R=e.attributes,H=0;H<R.length;H++)switch(R[H].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:y.add(R[H].name)}if(rs(t)){for(var Q in r)if(r.hasOwnProperty(Q)){var K=r[Q];if(K!=null){if(kl.hasOwnProperty(Q))typeof K!="function"&&Ul(Q,K);else if(r.suppressHydrationWarning!==!0)switch(Q){case"children":typeof K!="string"&&typeof K!="number"||Oa("children",e.textContent,K,m);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":R=e.innerHTML,K=K?K.__html:void 0,K!=null&&(K=em(e,K),Oa(Q,R,K,m));continue;case"style":y.delete(Q),H0(e,K,m);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":y.delete(Q.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",Q);continue;case"className":y.delete("class"),R=rr(e,"class",K),Oa("className",R,K,m);continue;default:c.context===jh&&t!=="svg"&&t!=="math"?y.delete(Q.toLowerCase()):y.delete(Q),R=rr(e,Q,K),Oa(Q,R,K,m)}}}}else for(K in r)if(r.hasOwnProperty(K)&&(Q=r[K],Q!=null)){if(kl.hasOwnProperty(K))typeof Q!="function"&&Ul(K,Q);else if(r.suppressHydrationWarning!==!0)switch(K){case"children":typeof Q!="string"&&typeof Q!="number"||Oa("children",e.textContent,Q,m);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":R=e.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=em(e,Q),R!==Q&&(m[K]={__html:R}));continue;case"className":gi(e,K,"class",Q,y,m);continue;case"tabIndex":gi(e,K,"tabindex",Q,y,m);continue;case"style":y.delete(K),H0(e,Q,m);continue;case"multiple":y.delete(K),Oa(K,e.multiple,Q,m);continue;case"muted":y.delete(K),Oa(K,e.muted,Q,m);continue;case"autoFocus":y.delete("autofocus"),Oa(K,e.autofocus,Q,m);continue;case"data":if(t!=="object"){y.delete(K),R=e.getAttribute("data"),Oa(K,R,Q,m);continue}case"src":case"href":if(!(Q!==""||t==="a"&&K==="href"||t==="object"&&K==="data")){console.error(K==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',K,K);continue}Fn(e,K,K,Q,y,m);continue;case"action":case"formAction":if(R=e.getAttribute(K),typeof Q=="function"){y.delete(K.toLowerCase()),K==="formAction"?(y.delete("name"),y.delete("formenctype"),y.delete("formmethod"),y.delete("formtarget")):(y.delete("enctype"),y.delete("method"),y.delete("target"));continue}else if(R===y5){y.delete(K.toLowerCase()),Oa(K,"function",Q,m);continue}Fn(e,K,K.toLowerCase(),Q,y,m);continue;case"xlinkHref":Fn(e,K,"xlink:href",Q,y,m);continue;case"contentEditable":k0(e,K,"contenteditable",Q,y,m);continue;case"spellCheck":k0(e,K,"spellcheck",Q,y,m);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":k0(e,K,K,Q,y,m);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":j0(e,K,K.toLowerCase(),Q,y,m);continue;case"capture":case"download":e:{H=e;var Re=R=K,je=m;if(y.delete(Re),H=H.getAttribute(Re),H===null)switch(typeof Q){case"undefined":case"function":case"symbol":break e;default:if(Q===!1)break e}else if(Q!=null)switch(typeof Q){case"function":case"symbol":break;case"boolean":if(Q===!0&&H==="")break e;break;default:if(Me(Q,R),H===""+Q)break e}Oa(R,H,Q,je)}continue;case"cols":case"rows":case"size":case"span":e:{if(H=e,Re=R=K,je=m,y.delete(Re),H=H.getAttribute(Re),H===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(Q)||1>Q)break e}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(Q)||1>Q)&&(Me(Q,R),H===""+Q))break e}Oa(R,H,Q,je)}continue;case"rowSpan":tm(e,K,"rowspan",Q,y,m);continue;case"start":tm(e,K,K,Q,y,m);continue;case"xHeight":gi(e,K,"x-height",Q,y,m);continue;case"xlinkActuate":gi(e,K,"xlink:actuate",Q,y,m);continue;case"xlinkArcrole":gi(e,K,"xlink:arcrole",Q,y,m);continue;case"xlinkRole":gi(e,K,"xlink:role",Q,y,m);continue;case"xlinkShow":gi(e,K,"xlink:show",Q,y,m);continue;case"xlinkTitle":gi(e,K,"xlink:title",Q,y,m);continue;case"xlinkType":gi(e,K,"xlink:type",Q,y,m);continue;case"xmlBase":gi(e,K,"xml:base",Q,y,m);continue;case"xmlLang":gi(e,K,"xml:lang",Q,y,m);continue;case"xmlSpace":gi(e,K,"xml:space",Q,y,m);continue;case"inert":Q!==""||MS[K]||(MS[K]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",K)),j0(e,K,K,Q,y,m);continue;default:if(!(2<K.length)||K[0]!=="o"&&K[0]!=="O"||K[1]!=="n"&&K[1]!=="N"){H=Wh(K),R=!1,c.context===jh&&t!=="svg"&&t!=="math"?y.delete(H.toLowerCase()):(Re=K.toLowerCase(),Re=Fc.hasOwnProperty(Re)&&Fc[Re]||null,Re!==null&&Re!==K&&(R=!0,y.delete(Re)),y.delete(H));e:if(Re=e,je=H,H=Q,Jn(je))if(Re.hasAttribute(je))Re=Re.getAttribute(je),Me(H,je),H=Re===""+H?H:Re;else{switch(typeof H){case"function":case"symbol":break e;case"boolean":if(Re=je.toLowerCase().slice(0,5),Re!=="data-"&&Re!=="aria-")break e}H=H===void 0?void 0:null}else H=void 0;R||Oa(K,H,Q,m)}}}return 0<y.size&&r.suppressHydrationWarning!==!0&&Uo(e,y,m),Object.keys(m).length===0?null:m}function mn(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function vn(e){return e.nodeType===9?e:e.ownerDocument}function In(e){switch(e){case od:return hy;case Dh:return LS;default:return jh}}function Yi(e,t){if(e===jh)switch(t){case"svg":return hy;case"math":return LS;default:return jh}return e===hy&&t==="foreignObject"?jh:e}function Wu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Ff(){var e=window.event;return e&&e.type==="popstate"?e===GA?!1:(GA=e,!0):(GA=null,!1)}function q0(e){setTimeout(function(){throw e})}function jo(e,t,r){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();break;case"img":r.src?e.src=r.src:r.srcSet&&(e.srcset=r.srcSet)}}function qa(e,t,r,c){xg(e,t,r,c),e[Xi]=c}function ko(e){ba(e,"")}function Oc(e,t,r){e.nodeValue=r}function eo(e){return e==="head"}function Hl(e,t){e.removeChild(t)}function Yf(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Gf(e,t){var r=t,c=0,m=0;do{var y=r.nextSibling;if(e.removeChild(r),y&&y.nodeType===8)if(r=y.data,r===BS){if(0<c&&8>c){r=c;var R=e.ownerDocument;if(r&S5&&Xf(R.documentElement),r&E5&&Xf(R.body),r&x5)for(r=R.head,Xf(r),R=r.firstChild;R;){var H=R.nextSibling,Q=R.nodeName;R[rd]||Q==="SCRIPT"||Q==="STYLE"||Q==="LINK"&&R.rel.toLowerCase()==="stylesheet"||r.removeChild(R),R=H}}if(m===0){e.removeChild(y),_s(t);return}m--}else r===NS||r===Hh||r===F1?m++:c=r.charCodeAt(0)-48;else c=0;r=y}while(r);_s(t)}function Gi(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function F0(e){e.nodeValue=""}function Y0(e,t){t=t[A5],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function If(e,t){e.nodeValue=t}function Dc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Dc(r),Qn(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function ws(e,t,r,c){for(;e.nodeType===1;){var m=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!c&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(c){if(!e[rd])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(y=e.getAttribute("rel"),y==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(y!==m.rel||e.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||e.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||e.getAttribute("title")!==(m.title==null?null:m.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(y=e.getAttribute("src"),(y!==(m.src==null?null:m.src)||e.getAttribute("type")!==(m.type==null?null:m.type)||e.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&y&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Me(m.name,"name");var y=m.name==null?null:""+m.name;if(m.type==="hidden"&&e.getAttribute("name")===y)return e}else return e;if(e=_r(e.nextSibling),e===null)break}return null}function Dr(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=_r(e.nextSibling),e===null))return null;return e}function to(e){return e.data===F1||e.data===Hh&&e.ownerDocument.readyState===KD}function Vf(e,t){var r=e.ownerDocument;if(e.data!==Hh||r.readyState===KD)t();else{var c=function(){t(),r.removeEventListener("DOMContentLoaded",c)};r.addEventListener("DOMContentLoaded",c),e._reactRetry=c}}function _r(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===NS||t===F1||t===Hh||t===qA||t===ZD)break;if(t===BS)return null}}return e}function nm(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),r={},c=e.attributes,m=0;m<c.length;m++){var y=c[m];r[U0(y.name)]=y.name.toLowerCase()==="style"?Cs(e):y.value}return{type:t,props:r}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function am(e,t,r){return r===null||r[b5]!==!0?(e.nodeValue===t?e=null:(t=Or(t),e=Or(e.nodeValue)===t?null:e.nodeValue),e):null}function G0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===BS){if(t===0)return _r(e.nextSibling);t--}else r!==NS&&r!==F1&&r!==Hh||t++}e=e.nextSibling}return null}function _c(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===NS||r===F1||r===Hh){if(t===0)return e;t--}else r===BS&&t++}e=e.previousSibling}return null}function I0(e){_s(e)}function Qr(e){_s(e)}function V0(e,t,r,c,m){switch(m&&qt(e,c.ancestorInfo),t=vn(r),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ul(e,t,r,c){if(!r[Ns]&&Gn(r)){var m=r.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",m,m,m)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(m=r.attributes;m.length;)r.removeAttributeNode(m[0]);ka(r,e,t),r[Kr]=c,r[Xi]=t}function Xf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qn(e)}function sh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ag(e,t,r){var c=py;if(c&&typeof t=="string"&&t){var m=ai(t);m='link[rel="'+e+'"][href="'+m+'"]',typeof r=="string"&&(m+='[crossorigin="'+r+'"]'),a_.has(m)||(a_.add(m),e={rel:e,crossOrigin:r,href:t},c.querySelector(m)===null&&(t=c.createElement("link"),ka(t,"link",e),ga(t),c.head.appendChild(t)))}}function qo(e,t,r,c){var m=(m=ou.current)?sh(m):null;if(!m)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(r=Os(r.href),t=Ur(m).hoistableStyles,c=t.get(r),c||(c={type:"style",instance:null,count:0,state:null},t.set(r,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Os(r.href);var y=Ur(m).hoistableStyles,R=y.get(e);if(!R&&(m=m.ownerDocument||m,R={type:"stylesheet",instance:null,count:0,state:{loading:Bv,preload:null}},y.set(e,R),(y=m.querySelector(no(e)))&&!y._p&&(R.instance=y,R.state.loading=Y1|Is),!Vs.has(e))){var H={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy};Vs.set(e,H),y||Tg(m,e,H,R.state)}if(t&&c===null)throw r=`
|
|
312
|
-
|
|
313
|
-
- `+Rc(t)+`
|
|
314
|
-
+ `+Rc(r),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+r);return R}if(t&&c!==null)throw r=`
|
|
315
|
-
|
|
316
|
-
- `+Rc(t)+`
|
|
317
|
-
+ `+Rc(r),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+r);return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(r=Mc(r),t=Ur(m).hoistableScripts,c=t.get(r),c||(c={type:"script",instance:null,count:0,state:null},t.set(r,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Rc(e){var t=0,r="<link";return typeof e.rel=="string"?(t++,r+=' rel="'+e.rel+'"'):Yo.call(e,"rel")&&(t++,r+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,r+=' href="'+e.href+'"'):Yo.call(e,"href")&&(t++,r+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,r+=' precedence="'+e.precedence+'"'):Yo.call(e,"precedence")&&(t++,r+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(r+=" ..."),r+" />"}function Os(e){return'href="'+ai(e)+'"'}function no(e){return'link[rel="stylesheet"]['+e+"]"}function X0(e){return Kt({},e,{"data-precedence":e.precedence,precedence:null})}function Tg(e,t,r,c){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?c.loading=Y1:(t=e.createElement("link"),c.preload=t,t.addEventListener("load",function(){return c.loading|=Y1}),t.addEventListener("error",function(){return c.loading|=t_}),ka(t,"link",r),ga(t),e.head.appendChild(t))}function Mc(e){return'[src="'+ai(e)+'"]'}function Nc(e){return"script[async]"+e}function rm(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var c=e.querySelector('style[data-href~="'+ai(r.href)+'"]');if(c)return t.instance=c,ga(c),c;var m=Kt({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return c=(e.ownerDocument||e).createElement("style"),ga(c),ka(c,"style",m),im(c,r.precedence,e),t.instance=c;case"stylesheet":m=Os(r.href);var y=e.querySelector(no(m));if(y)return t.state.loading|=Is,t.instance=y,ga(y),y;c=X0(r),(m=Vs.get(m))&&$0(c,m),y=(e.ownerDocument||e).createElement("link"),ga(y);var R=y;return R._p=new Promise(function(H,Q){R.onload=H,R.onerror=Q}),ka(y,"link",c),t.state.loading|=Is,im(y,r.precedence,e),t.instance=y;case"script":return y=Mc(r.src),(m=e.querySelector(Nc(y)))?(t.instance=m,ga(m),m):(c=r,(m=Vs.get(y))&&(c=Kt({},r),lm(c,m)),e=e.ownerDocument||e,m=e.createElement("script"),ga(m),ka(m,"link",c),e.head.appendChild(m),t.instance=m);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Is)===Bv&&(c=t.instance,t.state.loading|=Is,im(c,r.precedence,e));return t.instance}function im(e,t,r){for(var c=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,y=m,R=0;R<c.length;R++){var H=c[R];if(H.dataset.precedence===t)y=H;else if(y!==m)break}y?y.parentNode.insertBefore(e,y.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function $0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function lm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function um(e,t,r){if(zS===null){var c=new Map,m=zS=new Map;m.set(r,c)}else m=zS,c=m.get(r),c||(c=new Map,m.set(r,c));if(c.has(e))return c;for(c.set(e,null),r=r.getElementsByTagName(e),m=0;m<r.length;m++){var y=r[m];if(!(y[rd]||y[Kr]||e==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!==od){var R=y.getAttribute(t)||"";R=e+R;var H=c.get(R);H?H.push(y):c.set(R,[y])}}return c}function P0(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function $f(e,t,r){var c=!r.ancestorInfo.containerTagInScope;if(r.context===hy||t.itemProp!=null)return!c||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){c&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var m=t.onError,y=t.disabled;r=[],t.onLoad&&r.push("`onLoad`"),m&&r.push("`onError`"),y!=null&&r.push("`disabled`"),m=mn(r,"and"),m+=r.length===1?" prop":" props",y=r.length===1?"an "+m:"the "+m,r.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,y,m)}c&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&c&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){c&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":c&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function ch(e){return!(e.type==="stylesheet"&&(e.state.loading&n_)===Bv)}function Cg(){}function fh(e,t,r){if(G1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var c=G1;if(t.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(t.state.loading&Is)===Bv){if(t.instance===null){var m=Os(r.href),y=e.querySelector(no(m));if(y){e=y._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(c.count++,c=dh.bind(c),e.then(c,c)),t.state.loading|=Is,t.instance=y,ga(y);return}y=e.ownerDocument||e,r=X0(r),(m=Vs.get(m))&&$0(r,m),y=y.createElement("link"),ga(y);var R=y;R._p=new Promise(function(H,Q){R.onload=H,R.onerror=Q}),ka(y,"link",r),t.instance=y}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&n_)===Bv&&(c.count++,t=dh.bind(c),e.addEventListener("load",t),e.addEventListener("error",t))}}function wg(){if(G1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=G1;return e.stylesheets&&e.count===0&&om(e,e.stylesheets),0<e.count?function(t){var r=setTimeout(function(){if(e.stylesheets&&om(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(r)}}:null}function dh(){if(this.count--,this.count===0){if(this.stylesheets)om(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function om(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,US=new Map,t.forEach(Og,e),US=null,dh.call(e))}function Og(e,t){if(!(t.state.loading&Is)){var r=US.get(e);if(r)var c=r.get(VA);else{r=new Map,US.set(e,r);for(var m=e.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<m.length;y++){var R=m[y];(R.nodeName==="LINK"||R.getAttribute("media")!=="not all")&&(r.set(R.dataset.precedence,R),c=R)}c&&r.set(VA,c)}m=t.instance,R=m.getAttribute("data-precedence"),y=r.get(R)||c,y===c&&r.set(VA,m),r.set(R,m),this.count++,c=dh.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),y?y.parentNode.insertBefore(m,y.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(m,e.firstChild)),t.state.loading|=Is}}function sm(e,t,r,c,m,y,R,H){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Nv,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ht(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.hiddenUpdates=ht(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=y,this.onRecoverableError=R,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=r?"hydrateRoot()":"createRoot()"}function Q0(e,t,r,c,m,y,R,H,Q,K,Re,je){return e=new sm(e,t,r,R,H,Q,K,je),t=Q7,y===!0&&(t|=Yl|Gc),Ma&&(t|=fl),y=M(3,null,null,t),e.current=y,y.stateNode=e,t=Nd(),uc(t),e.pooledCache=t,uc(t),y.memoizedState={element:c,isDehydrated:r,cache:t},_i(y),e}function Z0(e){return e?(e=Om,e):Om}function Pn(e,t,r,c,m,y){if(Mr&&typeof Mr.onScheduleFiberRoot=="function")try{Mr.onScheduleFiberRoot(Ms,c,r)}catch(R){Vi||(Vi=!0,console.error("React instrumentation encountered an error: %s",R))}ct!==null&&typeof ct.markRenderScheduled=="function"&&ct.markRenderScheduled(t),m=Z0(m),c.context===null?c.context=m:c.pendingContext=m,Si&&cl!==null&&!u_&&(u_=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
318
|
-
|
|
319
|
-
Check the render method of %s.`,oe(cl)||"Unknown")),c=zu(t),c.payload={element:r},y=y===void 0?null:y,y!==null&&(typeof y!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",y),c.callback=y),r=Ri(e,c,t),r!==null&&(ja(r,e,t),si(r,e,t))}function cm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function K0(e,t){cm(e,t),(e=e.alternate)&&cm(e,t)}function J0(e){if(e.tag===13){var t=qr(e,67108864);t!==null&&ja(t,e,67108864),K0(e,67108864)}}function fm(){return cl}function l1(){for(var e=new Map,t=1,r=0;31>r;r++){var c=Et(t);e.set(t,c),t*=2}return e}function Dg(e,t,r,c){var m=Le.T;Le.T=null;var y=Ht.p;try{Ht.p=Nr,ao(e,t,r,c)}finally{Ht.p=y,Le.T=m}}function hh(e,t,r,c){var m=Le.T;Le.T=null;var y=Ht.p;try{Ht.p=Jt,ao(e,t,r,c)}finally{Ht.p=y,Le.T=m}}function ao(e,t,r,c){if(jS){var m=Pf(c);if(m===null)vi(e,t,c,kS,r),Fo(e,c);else if(mh(m,e,t,r,c))c.stopPropagation();else if(Fo(e,c),t&4&&-1<O5.indexOf(e)){for(;m!==null;){var y=Gn(m);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var R=on(y.pendingLanes);if(R!==0){var H=y;for(H.pendingLanes|=2,H.entangledLanes|=2;R;){var Q=1<<31-Da(R);H.entanglements[1]|=Q,R&=~Q}Fi(y),(la&(mu|$c))===$o&&(xS=su()+kD,Ts(0))}}break;case 13:H=qr(y,2),H!==null&&ja(H,y,2),zo(),K0(y,2)}if(y=Pf(c),y===null&&vi(e,t,c,kS,r),y===m)break;m=y}m!==null&&c.stopPropagation()}else vi(e,t,c,null,r)}}function Pf(e){return e=nc(e),Bc(e)}function Bc(e){if(kS=null,e=ti(e),e!==null){var t=I(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=X(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kS=e,null}function ph(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Nr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Jt;case"message":switch(jl()){case ed:return Nr;case Sh:return Jt;case zc:case gm:return Go;case Rr:return xh;default:return Go}default:return Go}}function Fo(e,t){switch(e){case"focusin":case"focusout":Hm=null;break;case"dragenter":case"dragleave":jm=null;break;case"mouseover":case"mouseout":km=null;break;case"pointerover":case"pointerout":V1.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":X1.delete(t.pointerId)}}function Ii(e,t,r,c,m,y){return e===null||e.nativeEvent!==y?(e={blockedOn:t,domEventName:r,eventSystemFlags:c,nativeEvent:y,targetContainers:[m]},t!==null&&(t=Gn(t),t!==null&&J0(t)),e):(e.eventSystemFlags|=c,t=e.targetContainers,m!==null&&t.indexOf(m)===-1&&t.push(m),e)}function mh(e,t,r,c,m){switch(t){case"focusin":return Hm=Ii(Hm,e,t,r,c,m),!0;case"dragenter":return jm=Ii(jm,e,t,r,c,m),!0;case"mouseover":return km=Ii(km,e,t,r,c,m),!0;case"pointerover":var y=m.pointerId;return V1.set(y,Ii(V1.get(y)||null,e,t,r,c,m)),!0;case"gotpointercapture":return y=m.pointerId,X1.set(y,Ii(X1.get(y)||null,e,t,r,c,m)),!0}return!1}function _g(e){var t=ti(e.target);if(t!==null){var r=I(t);if(r!==null){if(t=r.tag,t===13){if(t=X(r),t!==null){e.blockedOn=t,gt(e.priority,function(){if(r.tag===13){var c=qi(r);c=ut(c);var m=qr(r,c);m!==null&&ja(m,r,c),K0(r,c)}});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ds(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Pf(e.nativeEvent);if(r===null){r=e.nativeEvent;var c=new r.constructor(r.type,r),m=c;b!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),b=m,r.target.dispatchEvent(c),b===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),b=null}else return t=Gn(r),t!==null&&J0(t),e.blockedOn=r,!1;t.shift()}return!0}function Qf(e,t,r){Ds(e)&&r.delete(t)}function Rg(){XA=!1,Hm!==null&&Ds(Hm)&&(Hm=null),jm!==null&&Ds(jm)&&(jm=null),km!==null&&Ds(km)&&(km=null),V1.forEach(Qf),X1.forEach(Qf)}function vh(e,t){e.blockedOn===t&&(e.blockedOn=null,XA||(XA=!0,Fa.unstable_scheduleCallback(Fa.unstable_NormalPriority,Rg)))}function dm(e){qS!==e&&(qS=e,Fa.unstable_scheduleCallback(Fa.unstable_NormalPriority,function(){qS===e&&(qS=null);for(var t=0;t<e.length;t+=3){var r=e[t],c=e[t+1],m=e[t+2];if(typeof c!="function"){if(Bc(c||r)===null)continue;break}var y=Gn(r);y!==null&&(e.splice(t,3),t-=3,r={pending:!0,data:m,method:r.method,action:c},Object.freeze(r),fs(y,r,c,m))}}))}function _s(e){function t(Q){return vh(Q,e)}Hm!==null&&vh(Hm,e),jm!==null&&vh(jm,e),km!==null&&vh(km,e),V1.forEach(t),X1.forEach(t);for(var r=0;r<qm.length;r++){var c=qm[r];c.blockedOn===e&&(c.blockedOn=null)}for(;0<qm.length&&(r=qm[0],r.blockedOn===null);)_g(r),r.blockedOn===null&&qm.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(c=0;c<r.length;c+=3){var m=r[c],y=r[c+1],R=m[Xi]||null;if(typeof y=="function")R||dm(r);else if(R){var H=null;if(y&&y.hasAttribute("formAction")){if(m=y,R=y[Xi]||null)H=R.formAction;else if(Bc(m)!==null)continue}else H=R.action;typeof H=="function"?r[c+1]=H:(r.splice(c,3),c-=3),dm(r)}}}function hm(e){this._internalRoot=e}function gh(e){this._internalRoot=e}function Mg(e){e[Ns]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Fa=_O(),yh=q,u1=Gl,Kt=Object.assign,bh=Symbol.for("react.element"),Rs=Symbol.for("react.transitional.element"),Lc=Symbol.for("react.portal"),$t=Symbol.for("react.fragment"),Zf=Symbol.for("react.strict_mode"),Zr=Symbol.for("react.profiler"),W0=Symbol.for("react.provider"),pm=Symbol.for("react.consumer"),gr=Symbol.for("react.context"),Nt=Symbol.for("react.forward_ref"),Kf=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),xa=Symbol.for("react.memo"),ol=Symbol.for("react.lazy"),ro=Symbol.for("react.activity"),Ng=Symbol.for("react.memo_cache_sentinel"),ev=Symbol.iterator,mm=Symbol.for("react.client.reference"),Ft=Array.isArray,Le=yh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ht=u1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,o1=Object.freeze({pending:!1,data:null,method:null,action:null}),sl=[],Jf=[],yi=-1,Yn=pe(null),ia=pe(null),ou=pe(null),Wf=pe(null),Yo=Object.prototype.hasOwnProperty,vm=Fa.unstable_scheduleCallback,s1=Fa.unstable_cancelCallback,Bg=Fa.unstable_shouldYield,c1=Fa.unstable_requestPaint,su=Fa.unstable_now,jl=Fa.unstable_getCurrentPriorityLevel,ed=Fa.unstable_ImmediatePriority,Sh=Fa.unstable_UserBlockingPriority,zc=Fa.unstable_NormalPriority,gm=Fa.unstable_LowPriority,Rr=Fa.unstable_IdlePriority,td=Fa.log,cu=Fa.unstable_setDisableYieldValue,Ms=null,Mr=null,ct=null,Vi=!1,Ma=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Da=Math.clz32?Math.clz32:_t,Yt=Math.log,io=Math.LN2,bi=256,Eh=4194304,Nr=2,Jt=8,Go=32,xh=268435456,fu=Math.random().toString(36).slice(2),Kr="__reactFiber$"+fu,Xi="__reactProps$"+fu,Ns="__reactContainer$"+fu,tv="__reactEvents$"+fu,Lg="__reactListeners$"+fu,nd="__reactHandles$"+fu,ad="__reactResources$"+fu,rd="__reactMarker$"+fu,zg=new Set,kl={},Uc={},Ug={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ym=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),id={},bm={},lo=0,nv,av,Hg,ar,sr,jg,kg;za.__reactDisabledLog=!0;var rv,ld,ud=!1,Ah=new(typeof WeakMap=="function"?WeakMap:Map),cl=null,Si=!1,f1=/[\n"\\]/g,iv=!1,lv=!1,Sm=!1,Em=!1,xm=!1,uv=!1,Th=["value","defaultValue"],qg=!1,Hc=/["'&<>\n\t]|^\s|\s$/,ov="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Am="applet caption html table td th marquee object template foreignObject desc title".split(" "),Tm=Am.concat(["button"]),sv="dd dt li option optgroup p rp rt".split(" "),cv={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},jc={},du={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Io=/([A-Z])/g,Vo=/^ms-/,Ch=/^(?:webkit|moz|o)[A-Z]/,wh=/^-ms-/,Bs=/-(.)/g,Fg=/;\s*$/,kc={},qc={},Yg=!1,fv=!1,Oh=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Dh="http://www.w3.org/1998/Math/MathML",od="http://www.w3.org/2000/svg",Cm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},dv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},uo={},hv=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wm=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),pv=!1,Ei={},_h=/^on./,a=/^on[^A-Z]/,i=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),o=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),h=/^[\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,b=null,T=null,k=null,P=!1,ae=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ae=!1;if(ae)try{var Xe={};Object.defineProperty(Xe,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Xe,Xe),window.removeEventListener("test",Xe,Xe)}catch{Ae=!1}var Ze=null,Oe=null,Te=null,xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=Zt(xt),jn=Kt({},xt,{view:0,detail:0}),be=Zt(jn),fe,xe,Pe,dt=Kt({},jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ep,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pe&&(Pe&&e.type==="mousemove"?(fe=e.screenX-Pe.screenX,xe=e.screenY-Pe.screenY):xe=fe=0,Pe=e),fe)},movementY:function(e){return"movementY"in e?e.movementY:xe}}),rn=Zt(dt),St=Kt({},dt,{dataTransfer:0}),zt=Zt(St),yr=Kt({},jn,{relatedTarget:0}),An=Zt(yr),Ls=Kt({},xt,{animationName:0,elapsedTime:0,pseudoElement:0}),d1=Zt(Ls),Ux=Kt({},xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),h1=Zt(Ux),p1=Kt({},xt,{data:0}),aS=Zt(p1),Hx=aS,jx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Fx=Kt({},jn,{key:function(e){if(e.key){var t=jx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ep,charCode:function(e){return e.type==="keypress"?uf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yx=Zt(Fx),Gx=Kt({},dt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rS=Zt(Gx),Ix=Kt({},jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ep}),Vx=Zt(Ix),Xx=Kt({},xt,{propertyName:0,elapsedTime:0,pseudoElement:0}),$x=Zt(Xx),Px=Kt({},dt,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Qx=Zt(Px),Zx=Kt({},xt,{newState:0,oldState:0}),Kx=Zt(Zx),Jx=[9,13,27,32],iS=229,m1=ae&&"CompositionEvent"in window,mv=null;ae&&"documentMode"in document&&(mv=document.documentMode);var s=ae&&"TextEvent"in window&&!mv,d=ae&&(!m1||mv&&8<mv&&11>=mv),x=32,N=String.fromCharCode(x),G=!1,Z=!1,re={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},se=null,Se=null,Je=!1;ae&&(Je=np("input")&&(!document.documentMode||9<document.documentMode));var $e=typeof Object.is=="function"?Object.is:fg,et=ae&&"documentMode"in document&&11>=document.documentMode,lt=null,vt=null,Rt=null,Wt=!1,Ot={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionrun:kr("Transition","TransitionRun"),transitionstart:kr("Transition","TransitionStart"),transitioncancel:kr("Transition","TransitionCancel"),transitionend:kr("Transition","TransitionEnd")},gn={},Rn={};ae&&(Rn=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);var ql=Ru("animationend"),$i=Ru("animationiteration"),Fl=Ru("animationstart"),cr=Ru("transitionrun"),Xo=Ru("transitionstart"),Yc=Ru("transitioncancel"),v1=Ru("transitionend"),BO=new Map,Wx="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Wx.push("scrollEnd");var eA=new WeakMap,tA=1,vv=2,zs=[],Gg=0,nA=0,Om={};Object.freeze(Om);var Us=null,Ig=null,Ya=0,Q7=1,fl=2,Yl=8,Gc=16,LO=64,zO=!1;try{var UO=Object.preventExtensions({})}catch{zO=!0}var Vg=[],Xg=0,lS=null,uS=0,Hs=[],js=0,gv=null,Rh=1,Mh="",hu=null,br=null,Vn=!1,Nh=!1,ks=null,yv=null,sd=!1,aA=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),HO=0;if(typeof performance=="object"&&typeof performance.now=="function")var Z7=performance,jO=function(){return Z7.now()};else{var K7=Date;jO=function(){return K7.now()}}var rA=pe(null),iA=pe(null),kO={},oS=null,$g=null,Pg=!1,J7=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,c){e.push(c)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},W7=Fa.unstable_scheduleCallback,e5=Fa.unstable_NormalPriority,xi={$$typeof:gr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Qg=Fa.unstable_now,qO=-0,sS=-0,oo=-1.1,bv=-0,cS=!1,fS=!1,g1=null,lA=0,Sv=0,Zg=null,FO=Le.S;Le.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&sp(e,t),FO!==null&&FO(e,t)};var Ev=pe(null),Ic={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},y1=[],b1=[],S1=[],E1=[],x1=[],A1=[],xv=new Set;Ic.recordUnsafeLifecycleWarnings=function(e,t){xv.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&y1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillMount=="function"&&b1.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&S1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&E1.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&x1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillUpdate=="function"&&A1.push(e))},Ic.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<y1.length&&(y1.forEach(function(H){e.add(oe(H)||"Component"),xv.add(H.type)}),y1=[]);var t=new Set;0<b1.length&&(b1.forEach(function(H){t.add(oe(H)||"Component"),xv.add(H.type)}),b1=[]);var r=new Set;0<S1.length&&(S1.forEach(function(H){r.add(oe(H)||"Component"),xv.add(H.type)}),S1=[]);var c=new Set;0<E1.length&&(E1.forEach(function(H){c.add(oe(H)||"Component"),xv.add(H.type)}),E1=[]);var m=new Set;0<x1.length&&(x1.forEach(function(H){m.add(oe(H)||"Component"),xv.add(H.type)}),x1=[]);var y=new Set;if(0<A1.length&&(A1.forEach(function(H){y.add(oe(H)||"Component"),xv.add(H.type)}),A1=[]),0<t.size){var R=w(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
320
|
-
|
|
321
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
322
|
-
|
|
323
|
-
Please update the following components: %s`,R)}0<c.size&&(R=w(c),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
324
|
-
|
|
325
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
326
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
327
|
-
|
|
328
|
-
Please update the following components: %s`,R)),0<y.size&&(R=w(y),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
329
|
-
|
|
330
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
331
|
-
|
|
332
|
-
Please update the following components: %s`,R)),0<e.size&&(R=w(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
333
|
-
|
|
334
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
335
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
336
|
-
|
|
337
|
-
Please update the following components: %s`,R)),0<r.size&&(R=w(r),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
338
|
-
|
|
339
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
340
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
341
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
342
|
-
|
|
343
|
-
Please update the following components: %s`,R)),0<m.size&&(R=w(m),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
344
|
-
|
|
345
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
346
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
347
|
-
|
|
348
|
-
Please update the following components: %s`,R))};var dS=new Map,YO=new Set;Ic.recordLegacyContextWarning=function(e,t){for(var r=null,c=e;c!==null;)c.mode&Yl&&(r=c),c=c.return;r===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!YO.has(e.type)&&(c=dS.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],dS.set(r,c)),c.push(e))},Ic.flushLegacyContextWarning=function(){dS.forEach(function(e){if(e.length!==0){var t=e[0],r=new Set;e.forEach(function(m){r.add(oe(m)||"Component"),YO.add(m.type)});var c=w(r);ft(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
349
|
-
|
|
350
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
351
|
-
|
|
352
|
-
Please update the following components: %s
|
|
353
|
-
|
|
354
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,c)})}})},Ic.discardPendingWarnings=function(){y1=[],b1=[],S1=[],E1=[],x1=[],A1=[],dS=new Map};var T1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),GO=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),hS=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),uA={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},C1=null,pS=!1,qs=0,Fs=1,pu=2,dl=4,Ai=8,IO=0,VO=1,XO=2,oA=3,Dm=!1,$O=!1,sA=null,cA=!1,Kg=pe(null),mS=pe(0),Jg,PO=new Set,QO=new Set,fA=new Set,ZO=new Set,_m=0,Pt=null,_a=null,Jr=null,vS=!1,Wg=!1,Av=!1,gS=0,w1=0,Bh=null,t5=0,n5=25,He=null,Ys=null,Lh=-1,O1=!1,yS={readContext:da,use:Dl,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useLayoutEffect:ha,useInsertionEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useSyncExternalStore:ha,useId:ha,useHostTransitionStatus:ha,useFormState:ha,useActionState:ha,useOptimistic:ha,useMemoCache:ha,useCacheRefresh:ha},dA=null,KO=null,hA=null,JO=null,cd=null,Vc=null,bS=null;dA={readContext:function(e){return da(e)},use:Dl,useCallback:function(e,t){return He="useCallback",It(),wl(t),Jl(e,t)},useContext:function(e){return He="useContext",It(),da(e)},useEffect:function(e,t){return He="useEffect",It(),wl(t),hp(e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",It(),wl(r),mp(e,t,r)},useInsertionEffect:function(e,t){He="useInsertionEffect",It(),wl(t),_l(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",It(),wl(t),pp(e,t)},useMemo:function(e,t){He="useMemo",It(),wl(t);var r=Le.H;Le.H=cd;try{return vp(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",It();var c=Le.H;Le.H=cd;try{return sn(e,t,r)}finally{Le.H=c}},useRef:function(e){return He="useRef",It(),kd(e)},useState:function(e){He="useState",It();var t=Le.H;Le.H=cd;try{return ju(e)}finally{Le.H=t}},useDebugValue:function(){He="useDebugValue",It()},useDeferredValue:function(e,t){return He="useDeferredValue",It(),gp(e,t)},useTransition:function(){return He="useTransition",It(),Rl()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",It(),Ni(e,t,r)},useId:function(){return He="useId",It(),Wl()},useFormState:function(e,t){return He="useFormState",It(),gf(),Ef(e,t)},useActionState:function(e,t){return He="useActionState",It(),Ef(e,t)},useOptimistic:function(e){return He="useOptimistic",It(),$(e)},useHostTransitionStatus:Li,useMemoCache:Sa,useCacheRefresh:function(){return He="useCacheRefresh",It(),pc()}},KO={readContext:function(e){return da(e)},use:Dl,useCallback:function(e,t){return He="useCallback",tt(),Jl(e,t)},useContext:function(e){return He="useContext",tt(),da(e)},useEffect:function(e,t){return He="useEffect",tt(),hp(e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",tt(),mp(e,t,r)},useInsertionEffect:function(e,t){He="useInsertionEffect",tt(),_l(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",tt(),pp(e,t)},useMemo:function(e,t){He="useMemo",tt();var r=Le.H;Le.H=cd;try{return vp(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",tt();var c=Le.H;Le.H=cd;try{return sn(e,t,r)}finally{Le.H=c}},useRef:function(e){return He="useRef",tt(),kd(e)},useState:function(e){He="useState",tt();var t=Le.H;Le.H=cd;try{return ju(e)}finally{Le.H=t}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(e,t){return He="useDeferredValue",tt(),gp(e,t)},useTransition:function(){return He="useTransition",tt(),Rl()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",tt(),Ni(e,t,r)},useId:function(){return He="useId",tt(),Wl()},useActionState:function(e,t){return He="useActionState",tt(),Ef(e,t)},useFormState:function(e,t){return He="useFormState",tt(),gf(),Ef(e,t)},useOptimistic:function(e){return He="useOptimistic",tt(),$(e)},useHostTransitionStatus:Li,useMemoCache:Sa,useCacheRefresh:function(){return He="useCacheRefresh",tt(),pc()}},hA={readContext:function(e){return da(e)},use:Dl,useCallback:function(e,t){return He="useCallback",tt(),dc(e,t)},useContext:function(e){return He="useContext",tt(),da(e)},useEffect:function(e,t){He="useEffect",tt(),aa(2048,Ai,e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",tt(),qu(e,t,r)},useInsertionEffect:function(e,t){return He="useInsertionEffect",tt(),aa(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",tt(),aa(4,dl,e,t)},useMemo:function(e,t){He="useMemo",tt();var r=Le.H;Le.H=Vc;try{return pr(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",tt();var c=Le.H;Le.H=Vc;try{return Gr(e,t,r)}finally{Le.H=c}},useRef:function(){return He="useRef",tt(),xn().memoizedState},useState:function(){He="useState",tt();var e=Le.H;Le.H=Vc;try{return Gr(_n)}finally{Le.H=e}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(e,t){return He="useDeferredValue",tt(),qd(e,t)},useTransition:function(){return He="useTransition",tt(),ds()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",tt(),Ud(e,t,r)},useId:function(){return He="useId",tt(),xn().memoizedState},useFormState:function(e){return He="useFormState",tt(),gf(),dp(e)},useActionState:function(e){return He="useActionState",tt(),dp(e)},useOptimistic:function(e,t){return He="useOptimistic",tt(),Bi(e,t)},useHostTransitionStatus:Li,useMemoCache:Sa,useCacheRefresh:function(){return He="useCacheRefresh",tt(),xn().memoizedState}},JO={readContext:function(e){return da(e)},use:Dl,useCallback:function(e,t){return He="useCallback",tt(),dc(e,t)},useContext:function(e){return He="useContext",tt(),da(e)},useEffect:function(e,t){He="useEffect",tt(),aa(2048,Ai,e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",tt(),qu(e,t,r)},useInsertionEffect:function(e,t){return He="useInsertionEffect",tt(),aa(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",tt(),aa(4,dl,e,t)},useMemo:function(e,t){He="useMemo",tt();var r=Le.H;Le.H=bS;try{return pr(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",tt();var c=Le.H;Le.H=bS;try{return Hu(e,t,r)}finally{Le.H=c}},useRef:function(){return He="useRef",tt(),xn().memoizedState},useState:function(){He="useState",tt();var e=Le.H;Le.H=bS;try{return Hu(_n)}finally{Le.H=e}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(e,t){return He="useDeferredValue",tt(),yp(e,t)},useTransition:function(){return He="useTransition",tt(),hc()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",tt(),Ud(e,t,r)},useId:function(){return He="useId",tt(),xn().memoizedState},useFormState:function(e){return He="useFormState",tt(),gf(),xf(e)},useActionState:function(e){return He="useActionState",tt(),xf(e)},useOptimistic:function(e,t){return He="useOptimistic",tt(),fi(e,t)},useHostTransitionStatus:Li,useMemoCache:Sa,useCacheRefresh:function(){return He="useCacheRefresh",tt(),xn().memoizedState}},cd={readContext:function(e){return A(),da(e)},use:function(e){return S(),Dl(e)},useCallback:function(e,t){return He="useCallback",S(),It(),Jl(e,t)},useContext:function(e){return He="useContext",S(),It(),da(e)},useEffect:function(e,t){return He="useEffect",S(),It(),hp(e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",S(),It(),mp(e,t,r)},useInsertionEffect:function(e,t){He="useInsertionEffect",S(),It(),_l(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",S(),It(),pp(e,t)},useMemo:function(e,t){He="useMemo",S(),It();var r=Le.H;Le.H=cd;try{return vp(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",S(),It();var c=Le.H;Le.H=cd;try{return sn(e,t,r)}finally{Le.H=c}},useRef:function(e){return He="useRef",S(),It(),kd(e)},useState:function(e){He="useState",S(),It();var t=Le.H;Le.H=cd;try{return ju(e)}finally{Le.H=t}},useDebugValue:function(){He="useDebugValue",S(),It()},useDeferredValue:function(e,t){return He="useDeferredValue",S(),It(),gp(e,t)},useTransition:function(){return He="useTransition",S(),It(),Rl()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",S(),It(),Ni(e,t,r)},useId:function(){return He="useId",S(),It(),Wl()},useFormState:function(e,t){return He="useFormState",S(),It(),Ef(e,t)},useActionState:function(e,t){return He="useActionState",S(),It(),Ef(e,t)},useOptimistic:function(e){return He="useOptimistic",S(),It(),$(e)},useMemoCache:function(e){return S(),Sa(e)},useHostTransitionStatus:Li,useCacheRefresh:function(){return He="useCacheRefresh",It(),pc()}},Vc={readContext:function(e){return A(),da(e)},use:function(e){return S(),Dl(e)},useCallback:function(e,t){return He="useCallback",S(),tt(),dc(e,t)},useContext:function(e){return He="useContext",S(),tt(),da(e)},useEffect:function(e,t){He="useEffect",S(),tt(),aa(2048,Ai,e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",S(),tt(),qu(e,t,r)},useInsertionEffect:function(e,t){return He="useInsertionEffect",S(),tt(),aa(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",S(),tt(),aa(4,dl,e,t)},useMemo:function(e,t){He="useMemo",S(),tt();var r=Le.H;Le.H=Vc;try{return pr(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",S(),tt();var c=Le.H;Le.H=Vc;try{return Gr(e,t,r)}finally{Le.H=c}},useRef:function(){return He="useRef",S(),tt(),xn().memoizedState},useState:function(){He="useState",S(),tt();var e=Le.H;Le.H=Vc;try{return Gr(_n)}finally{Le.H=e}},useDebugValue:function(){He="useDebugValue",S(),tt()},useDeferredValue:function(e,t){return He="useDeferredValue",S(),tt(),qd(e,t)},useTransition:function(){return He="useTransition",S(),tt(),ds()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",S(),tt(),Ud(e,t,r)},useId:function(){return He="useId",S(),tt(),xn().memoizedState},useFormState:function(e){return He="useFormState",S(),tt(),dp(e)},useActionState:function(e){return He="useActionState",S(),tt(),dp(e)},useOptimistic:function(e,t){return He="useOptimistic",S(),tt(),Bi(e,t)},useMemoCache:function(e){return S(),Sa(e)},useHostTransitionStatus:Li,useCacheRefresh:function(){return He="useCacheRefresh",tt(),xn().memoizedState}},bS={readContext:function(e){return A(),da(e)},use:function(e){return S(),Dl(e)},useCallback:function(e,t){return He="useCallback",S(),tt(),dc(e,t)},useContext:function(e){return He="useContext",S(),tt(),da(e)},useEffect:function(e,t){He="useEffect",S(),tt(),aa(2048,Ai,e,t)},useImperativeHandle:function(e,t,r){return He="useImperativeHandle",S(),tt(),qu(e,t,r)},useInsertionEffect:function(e,t){return He="useInsertionEffect",S(),tt(),aa(4,pu,e,t)},useLayoutEffect:function(e,t){return He="useLayoutEffect",S(),tt(),aa(4,dl,e,t)},useMemo:function(e,t){He="useMemo",S(),tt();var r=Le.H;Le.H=Vc;try{return pr(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",S(),tt();var c=Le.H;Le.H=Vc;try{return Hu(e,t,r)}finally{Le.H=c}},useRef:function(){return He="useRef",S(),tt(),xn().memoizedState},useState:function(){He="useState",S(),tt();var e=Le.H;Le.H=Vc;try{return Hu(_n)}finally{Le.H=e}},useDebugValue:function(){He="useDebugValue",S(),tt()},useDeferredValue:function(e,t){return He="useDeferredValue",S(),tt(),yp(e,t)},useTransition:function(){return He="useTransition",S(),tt(),hc()},useSyncExternalStore:function(e,t,r){return He="useSyncExternalStore",S(),tt(),Ud(e,t,r)},useId:function(){return He="useId",S(),tt(),xn().memoizedState},useFormState:function(e){return He="useFormState",S(),tt(),xf(e)},useActionState:function(e){return He="useActionState",S(),tt(),xf(e)},useOptimistic:function(e,t){return He="useOptimistic",S(),tt(),fi(e,t)},useMemoCache:function(e){return S(),Sa(e)},useHostTransitionStatus:Li,useCacheRefresh:function(){return He="useCacheRefresh",tt(),xn().memoizedState}};var WO={"react-stack-bottom-frame":function(e,t,r){var c=Si;Si=!0;try{return e(t,r)}finally{Si=c}}},pA=WO["react-stack-bottom-frame"].bind(WO),eD={"react-stack-bottom-frame":function(e){var t=Si;Si=!0;try{return e.render()}finally{Si=t}}},tD=eD["react-stack-bottom-frame"].bind(eD),nD={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(r){Ct(e,e.return,r)}}},mA=nD["react-stack-bottom-frame"].bind(nD),aD={"react-stack-bottom-frame":function(e,t,r,c,m){try{t.componentDidUpdate(r,c,m)}catch(y){Ct(e,e.return,y)}}},rD=aD["react-stack-bottom-frame"].bind(aD),iD={"react-stack-bottom-frame":function(e,t){var r=t.stack;e.componentDidCatch(t.value,{componentStack:r!==null?r:""})}},a5=iD["react-stack-bottom-frame"].bind(iD),lD={"react-stack-bottom-frame":function(e,t,r){try{r.componentWillUnmount()}catch(c){Ct(e,t,c)}}},uD=lD["react-stack-bottom-frame"].bind(lD),oD={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},r5=oD["react-stack-bottom-frame"].bind(oD),sD={"react-stack-bottom-frame":function(e,t,r){try{r()}catch(c){Ct(e,t,c)}}},i5=sD["react-stack-bottom-frame"].bind(sD),cD={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Rm=cD["react-stack-bottom-frame"].bind(cD),ey=null,D1=0,yn=null,vA,fD=vA=!1,dD={},hD={},pD={};E=function(e,t,r){if(r!==null&&typeof r=="object"&&r._store&&(!r._store.validated&&r.key==null||r._store.validated===2)){if(typeof r._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");r._store.validated=1;var c=oe(e),m=c||"null";if(!dD[m]){dD[m]=!0,r=r._owner,e=e._debugOwner;var y="";e&&typeof e.tag=="number"&&(m=oe(e))&&(y=`
|
|
355
|
-
|
|
356
|
-
Check the render method of \``+m+"`."),y||c&&(y=`
|
|
357
|
-
|
|
358
|
-
Check the top-level render call using <`+c+">.");var R="";r!=null&&e!==r&&(c=null,typeof r.tag=="number"?c=oe(r):typeof r.name=="string"&&(c=r.name),c&&(R=" It was passed a child from "+c+".")),ft(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',y,R)})}}};var ty=vc(!0),mD=vc(!1),Gs=pe(null),fd=null,ny=1,_1=2,Ti=pe(0),vD={},gD=new Set,yD=new Set,bD=new Set,SD=new Set,ED=new Set,xD=new Set,AD=new Set,TD=new Set,CD=new Set,wD=new Set;Object.freeze(vD);var gA={enqueueSetState:function(e,t,r){e=e._reactInternals;var c=qi(e),m=zu(c);m.payload=t,r!=null&&(xp(r),m.callback=r),t=Ri(e,m,c),t!==null&&(ja(t,e,c),si(t,e,c)),Tt(e,c)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var c=qi(e),m=zu(c);m.tag=VO,m.payload=t,r!=null&&(xp(r),m.callback=r),t=Ri(e,m,c),t!==null&&(ja(t,e,c),si(t,e,c)),Tt(e,c)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=qi(e),c=zu(r);c.tag=XO,t!=null&&(xp(t),c.callback=t),t=Ri(e,c,r),t!==null&&(ja(t,e,r),si(t,e,r)),ct!==null&&typeof ct.markForceUpdateScheduled=="function"&&ct.markForceUpdateScheduled(e,r)}},yA=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ay=null,bA=null,OD=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Pi=!1,DD={},_D={},RD={},MD={},ry=!1,ND={},SA={},EA={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},BD=!1,LD=null;LD=new Set;var zh=!1,Br=!1,xA=!1,zD=typeof WeakSet=="function"?WeakSet:Set,Qi=null,iy=null,ly=null,Wr=null,so=!1,Xc=null,R1=8192,l5={getCacheForType:function(e){var t=da(xi),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},getOwner:function(){return cl}};if(typeof Symbol=="function"&&Symbol.for){var M1=Symbol.for;M1("selector.component"),M1("selector.has_pseudo_class"),M1("selector.role"),M1("selector.test_id"),M1("selector.text")}var u5=[],o5=typeof WeakMap=="function"?WeakMap:Map,$o=0,mu=2,$c=4,Uh=0,N1=1,uy=2,AA=3,Tv=4,SS=6,UD=5,la=$o,Na=null,Tn=null,Mn=0,co=0,B1=1,Cv=2,L1=3,HD=4,TA=5,oy=6,z1=7,CA=8,wv=9,va=co,Po=null,Mm=!1,sy=!1,wA=!1,dd=0,Sr=Uh,Nm=0,Bm=0,OA=0,Qo=0,Ov=0,U1=null,vu=null,ES=!1,DA=0,jD=300,xS=1/0,kD=500,H1=null,Lm=null,s5=0,c5=1,f5=2,Dv=0,qD=1,FD=2,YD=3,d5=4,_A=5,hl=0,zm=null,cy=null,Um=0,RA=0,MA=null,GD=null,h5=50,j1=0,NA=null,BA=!1,AS=!1,p5=50,_v=0,k1=null,fy=!1,TS=null,ID=!1,VD=new Set,m5={},CS=null,dy=null,LA=!1,zA=!1,wS=!1,UA=!1,Rv=0,HA={};(function(){for(var e=0;e<Wx.length;e++){var t=Wx[e],r=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),el(r,"on"+t)}el(ql,"onAnimationEnd"),el($i,"onAnimationIteration"),el(Fl,"onAnimationStart"),el("dblclick","onDoubleClick"),el("focusin","onFocus"),el("focusout","onBlur"),el(cr,"onTransitionRun"),el(Xo,"onTransitionStart"),el(Yc,"onTransitionCancel"),el(v1,"onTransitionEnd")})(),Xl("onMouseEnter",["mouseout","mouseover"]),Xl("onMouseLeave",["mouseout","mouseover"]),Xl("onPointerEnter",["pointerout","pointerover"]),Xl("onPointerLeave",["pointerout","pointerover"]),ni("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ni("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ni("onBeforeInput",["compositionend","keypress","textInput","paste"]),ni("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ni("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ni("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var q1="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(q1)),OS="_reactListening"+Math.random().toString(36).slice(2),XD=!1,$D=!1,DS=!1,PD=!1,_S=!1,RS=!1,QD=!1,MS={},v5=/\r\n?/g,g5=/\u0000|\uFFFD/g,Mv="http://www.w3.org/1999/xlink",kA="http://www.w3.org/XML/1998/namespace",y5="javascript:throw new Error('React form unexpectedly submitted.')",b5="suppressHydrationWarning",NS="$",BS="/$",Hh="$?",F1="$!",S5=1,E5=2,x5=4,qA="F!",ZD="F",KD="complete",A5="style",jh=0,hy=1,LS=2,FA=null,YA=null,JD={dialog:!0,webview:!0},GA=null,WD=typeof setTimeout=="function"?setTimeout:void 0,T5=typeof clearTimeout=="function"?clearTimeout:void 0,Nv=-1,e_=typeof Promise=="function"?Promise:void 0,C5=typeof queueMicrotask=="function"?queueMicrotask:typeof e_<"u"?function(e){return e_.resolve(null).then(e).catch(q0)}:WD,IA=null,Bv=0,Y1=1,t_=2,n_=3,Is=4,Vs=new Map,a_=new Set,kh=Ht.d;Ht.d={f:function(){var e=kh.f(),t=zo();return e||t},r:function(e){var t=Gn(e);t!==null&&t.tag===5&&t.type==="form"?b0(t):kh.r(e)},D:function(e){kh.D(e),Ag("dns-prefetch",e,null)},C:function(e,t){kh.C(e,t),Ag("preconnect",e,t)},L:function(e,t,r){kh.L(e,t,r);var c=py;if(c&&e&&t){var m='link[rel="preload"][as="'+ai(t)+'"]';t==="image"&&r&&r.imageSrcSet?(m+='[imagesrcset="'+ai(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(m+='[imagesizes="'+ai(r.imageSizes)+'"]')):m+='[href="'+ai(e)+'"]';var y=m;switch(t){case"style":y=Os(e);break;case"script":y=Mc(e)}Vs.has(y)||(e=Kt({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),Vs.set(y,e),c.querySelector(m)!==null||t==="style"&&c.querySelector(no(y))||t==="script"&&c.querySelector(Nc(y))||(t=c.createElement("link"),ka(t,"link",e),ga(t),c.head.appendChild(t)))}},m:function(e,t){kh.m(e,t);var r=py;if(r&&e){var c=t&&typeof t.as=="string"?t.as:"script",m='link[rel="modulepreload"][as="'+ai(c)+'"][href="'+ai(e)+'"]',y=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=Mc(e)}if(!Vs.has(y)&&(e=Kt({rel:"modulepreload",href:e},t),Vs.set(y,e),r.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Nc(y)))return}c=r.createElement("link"),ka(c,"link",e),ga(c),r.head.appendChild(c)}}},X:function(e,t){kh.X(e,t);var r=py;if(r&&e){var c=Ur(r).hoistableScripts,m=Mc(e),y=c.get(m);y||(y=r.querySelector(Nc(m)),y||(e=Kt({src:e,async:!0},t),(t=Vs.get(m))&&lm(e,t),y=r.createElement("script"),ga(y),ka(y,"link",e),r.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(m,y))}},S:function(e,t,r){kh.S(e,t,r);var c=py;if(c&&e){var m=Ur(c).hoistableStyles,y=Os(e);t=t||"default";var R=m.get(y);if(!R){var H={loading:Bv,preload:null};if(R=c.querySelector(no(y)))H.loading=Y1|Is;else{e=Kt({rel:"stylesheet",href:e,"data-precedence":t},r),(r=Vs.get(y))&&$0(e,r);var Q=R=c.createElement("link");ga(Q),ka(Q,"link",e),Q._p=new Promise(function(K,Re){Q.onload=K,Q.onerror=Re}),Q.addEventListener("load",function(){H.loading|=Y1}),Q.addEventListener("error",function(){H.loading|=t_}),H.loading|=Is,im(R,t,c)}R={type:"stylesheet",instance:R,count:1,state:H},m.set(y,R)}}},M:function(e,t){kh.M(e,t);var r=py;if(r&&e){var c=Ur(r).hoistableScripts,m=Mc(e),y=c.get(m);y||(y=r.querySelector(Nc(m)),y||(e=Kt({src:e,async:!0,type:"module"},t),(t=Vs.get(m))&&lm(e,t),y=r.createElement("script"),ga(y),ka(y,"link",e),r.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(m,y))}}};var py=typeof document>"u"?null:document,zS=null,G1=null,VA=null,US=null,Lv=o1,I1={$$typeof:gr,Provider:null,Consumer:null,_currentValue:Lv,_currentValue2:Lv,_threadCount:0},r_="%c%s%c ",i_="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",l_="",HS=" ",w5=Function.prototype.bind,u_=!1,o_=null,s_=null,c_=null,f_=null,d_=null,h_=null,p_=null,m_=null,v_=null;o_=function(e,t,r,c){t=n(e,t),t!==null&&(r=l(t.memoizedState,r,0,c),t.memoizedState=r,t.baseState=r,e.memoizedProps=Kt({},e.memoizedProps),r=qr(e,2),r!==null&&ja(r,e,2))},s_=function(e,t,r){t=n(e,t),t!==null&&(r=p(t.memoizedState,r,0),t.memoizedState=r,t.baseState=r,e.memoizedProps=Kt({},e.memoizedProps),r=qr(e,2),r!==null&&ja(r,e,2))},c_=function(e,t,r,c){t=n(e,t),t!==null&&(r=u(t.memoizedState,r,c),t.memoizedState=r,t.baseState=r,e.memoizedProps=Kt({},e.memoizedProps),r=qr(e,2),r!==null&&ja(r,e,2))},f_=function(e,t,r){e.pendingProps=l(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=qr(e,2),t!==null&&ja(t,e,2)},d_=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=qr(e,2),t!==null&&ja(t,e,2)},h_=function(e,t,r){e.pendingProps=u(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=qr(e,2),t!==null&&ja(t,e,2)},p_=function(e){var t=qr(e,2);t!==null&&ja(t,e,2)},m_=function(e){g=e},v_=function(e){v=e};var jS=!0,kS=null,XA=!1,Hm=null,jm=null,km=null,V1=new Map,X1=new Map,qm=[],O5="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),qS=null;if(gh.prototype.render=hm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var r=arguments;typeof r[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):O(r[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof r[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),r=e;var c=t.current,m=qi(c);Pn(c,m,r,t,null,null)},gh.prototype.unmount=hm.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(la&(mu|$c))!==$o&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Pn(e.current,2,null,e,null,null),zo(),t[Ns]=null}},gh.prototype.unstable_scheduleHydration=function(e){if(e){var t=On();e={blockedOn:null,target:e,priority:t};for(var r=0;r<qm.length&&t!==0&&t<qm[r].priority;r++);qm.splice(r,0,e),r===0&&_g(e)}},function(){var e=yh.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
359
|
-
- react: `+(e+`
|
|
360
|
-
- react-dom: 19.1.0
|
|
361
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ht.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=U(t),e=e!==null?D(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:Le,reconcilerVersion:"19.1.0"};return e.overrideHookState=o_,e.overrideHookStateDeletePath=s_,e.overrideHookStateRenamePath=c_,e.overrideProps=f_,e.overridePropsDeletePath=d_,e.overridePropsRenamePath=h_,e.scheduleUpdate=p_,e.setErrorHandler=m_,e.setSuspenseHandler=v_,e.scheduleRefresh=B,e.scheduleRoot=L,e.setRefreshHandler=z,e.getCurrentFiber=fm,e.getLaneLabelMap=l1,e.injectProfilingHooks=rt,De(e)}()&&ae&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var g_=window.location.protocol;/^(https?|file):$/.test(g_)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(g_==="file:"?`
|
|
362
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}i1.createRoot=function(e,t){if(!O(e))throw Error("Target container is not a DOM element.");Mg(e);var r=!1,c="",m=S0,y=Tp,R=Cp,H=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Rs&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
363
|
-
|
|
364
|
-
let root = createRoot(domContainer);
|
|
365
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onUncaughtError!==void 0&&(m=t.onUncaughtError),t.onCaughtError!==void 0&&(y=t.onCaughtError),t.onRecoverableError!==void 0&&(R=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(H=t.unstable_transitionCallbacks)),t=Q0(e,1,!1,null,null,r,c,m,y,R,H,null),e[Ns]=t.current,B0(e),new hm(t)},i1.hydrateRoot=function(e,t,r){if(!O(e))throw Error("Target container is not a DOM element.");Mg(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=!1,m="",y=S0,R=Tp,H=Cp,Q=null,K=null;return r!=null&&(r.unstable_strictMode===!0&&(c=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onUncaughtError!==void 0&&(y=r.onUncaughtError),r.onCaughtError!==void 0&&(R=r.onCaughtError),r.onRecoverableError!==void 0&&(H=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(Q=r.unstable_transitionCallbacks),r.formState!==void 0&&(K=r.formState)),t=Q0(e,1,!0,t,r??null,c,m,y,R,H,Q,K),t.context=Z0(null),r=t.current,c=qi(r),c=ut(c),m=zu(c),m.callback=null,Ri(r,m,c),r=c,t.current.lanes=r,wn(t,r),Fi(t),e[Ns]=t.current,B0(e),new gh(t)},i1.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),i1}var NO;function $7(){if(NO)return tS.exports;NO=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(n(),tS.exports=V7()):tS.exports=X7(),tS.exports}var P7=$7();document.querySelectorAll("reactive-json").forEach(n=>{var p;const l=(p=n.dataset)==null?void 0:p.method,u=n.querySelectorAll("data-source-request-header"),f=u.length?{}:void 0;u.forEach((v,g,E)=>{var C,w;const S=(C=v==null?void 0:v.dataset)==null?void 0:C.headerField,A=(w=v==null?void 0:v.dataset)==null?void 0:w.headerValue;!S||!A||(f[S]=A)}),P7.createRoot(n).render(te.jsx(q.StrictMode,{children:te.jsx(CO,{dataFetchMethod:l,dataUrl:n.dataset.url,headersForData:f})}))}),hd.ReactiveJsonRoot=CO,hd.mergeComponentCollections=Y7,Object.defineProperty(hd,Symbol.toStringTag,{value:"Module"})});
|
|
366
|
-
//# sourceMappingURL=reactive-json.umd.cjs.map
|