@ea-lab/reactive-json 0.0.15 → 0.0.16

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.
@@ -19,11 +19,11 @@
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
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&&x(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"?X1.exports=S_():X1.exports=E_()),X1.exports}var te=x_();const qS=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(qS.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 FS={exports:{}};/*!
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&&x(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"?X1.exports=S_():X1.exports=E_()),X1.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
23
  Copyright (c) 2018 Jed Watson.
24
24
  Licensed under the MIT License (MIT), see
25
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 x=arguments[g];x&&(v=p(v,f(x)))}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 x in v)l.call(v,x)&&v[x]&&(g=p(g,x));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})()}(FS)),FS.exports}var R_=__();const jt=my(R_);var $1={exports:{}},P1={exports:{}},oa={};/** @license React v16.13.1
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 x=arguments[g];x&&(v=p(v,f(x)))}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 x in v)l.call(v,x)&&v[x]&&(g=p(g,x));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 $1={exports:{}},P1={exports:{}},oa={};/** @license React v16.13.1
27
27
  * react-is.production.min.js
28
28
  *
29
29
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -41,8 +41,8 @@ React keys must be passed directly to JSX without using spread:
41
41
  object-assign
42
42
  (c) Sindre Sorhus
43
43
  @license MIT
44
- */var YS,tT;function B_(){if(tT)return YS;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={},x=0;x<10;x++)g["_"+String.fromCharCode(x)]=x;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 YS=p()?Object.assign:function(v,g){for(var x,S=f(v),A,C=1;C<arguments.length;C++){x=Object(arguments[C]);for(var w in x)l.call(x,w)&&(S[w]=x[w]);if(n){A=n(x);for(var M=0;M<A.length;M++)u.call(x,A[M])&&(S[A[M]]=x[A[M]])}}return S},YS}var GS,nT;function IS(){if(nT)return GS;nT=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return GS=n,GS}var VS,aT;function rT(){return aT||(aT=1,VS=Function.call.bind(Object.prototype.hasOwnProperty)),VS}var XS,iT;function L_(){if(iT)return XS;iT=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var l=IS(),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,x,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")+": "+x+" 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,x,null,l)}catch(B){w=B}if(w&&!(w instanceof Error)&&n((S||"React class")+": type specification of "+x+" `"+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 "+x+" type: "+w.message+(L??""))}}}}return p.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(u={})},XS=p,XS}var $S,lT;function z_(){if(lT)return $S;lT=1;var n=eT(),l=B_(),u=IS(),f=rT(),p=L_(),v=function(){};process.env.NODE_ENV!=="production"&&(v=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function g(){return null}return $S=function(x,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(!x(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||x(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},$S}var PS,uT;function U_(){if(uT)return PS;uT=1;var n=IS();function l(){}function u(){}return u.resetWarningCache=l,PS=function(){function f(g,x,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},PS}var oT;function H_(){if(oT)return $1.exports;if(oT=1,process.env.NODE_ENV!=="production"){var n=eT(),l=!0;$1.exports=z_()(n.isElement,l)}else $1.exports=U_()();return $1.exports}var j_=H_();const Mt=my(j_),k_={type:Mt.string,tooltip:Mt.bool,as:Mt.elementType},Q1=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"}`)}));Q1.displayName="Feedback",Q1.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 QS(){const{dir:n}=q.useContext(yy);return n==="rtl"}const ZS=st.forwardRef(({id:n,bsPrefix:l,className:u,type:f="checkbox",isValid:p=!1,isInvalid:v=!1,as:g="input",...x},S)=>{const{controlId:A}=q.useContext(pd);return l=dn(l,"form-check-input"),te.jsx(g,{...x,ref:S,type:f,id:n||A,className:jt(u,l,p&&"is-valid",v&&"is-invalid")})});ZS.displayName="FormCheckInput";const Z1=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)})});Z1.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:x=!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,Z1),Y=te.jsx(ZS,{...X,type:B==="switch"?"checkbox":B,ref:V,isValid:g,isInvalid:x,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(Z1,{title:L,children:z}),A&&te.jsx(Q1,{type:C,tooltip:S,children:A})]})})})});cT.displayName="FormCheck";const K1=Object.assign(cT,{Input:ZS,Label:Z1});var KS,fT;function V_(){if(fT)return KS;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 x=1;x<g;x++)v[x-1]=arguments[x];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 x=2;x<g;x++)v[x-2]=arguments[x];if(p===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");f||u.apply(null,[p].concat(v))}}return KS=l,KS}var X_=V_();const J1=my(X_),dT=st.forwardRef(({bsPrefix:n,type:l,size:u,htmlSize:f,id:p,className:v,isValid:g=!1,isInvalid:x=!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"&&J1(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",x&&"is-invalid")})});dT.displayName="FormControl";const $_=Object.assign(dT,{Feedback:Q1}),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 JS=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})})});JS.displayName="FormGroup";function P_({as:n,bsPrefix:l,className:u,...f}){l=dn(l,"col");const p=F_(),v=Y_(),g=[],x=[];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&&x.push(`order${L}-${M}`),w!=null&&x.push(`offset${L}-${w}`)}),[{...f,className:jt(u,...g,...x)},{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},x)=>{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"&&J1(S==null||!v,"`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."),v=v||S,u?te.jsx(pT,{ref:x,as:"label",className:C,htmlFor:v,...g}):te.jsx(n,{ref:x,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,...x},S)=>{const{controlId:A}=q.useContext(pd);return n=dn(n,"form-select"),te.jsx("select",{...x,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(K1,{...n,ref:l,type:"switch"}));bT.displayName="Switch";const Q_=Object.assign(bT,{Input:K1.Input,Label:K1.Label}),ST=st.forwardRef(({bsPrefix:n,className:l,children:u,controlId:f,label:p,...v},g)=>(n=dn(n,"form-floating"),te.jsxs(JS,{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},WS=st.forwardRef(({className:n,validated:l,as:u="form",...f},p)=>te.jsx(u,{...f,ref:p,className:jt(n,l&&"was-validated")}));WS.displayName="Form",WS.propTypes=Z_;const Zi=Object.assign(WS,{Group:JS,Control:$_,Floating:hT,Check:K1,Switch:Q_,Label:mT,Text:yT,Range:vT,Select:gT,FloatingLabel:ST});var by={exports:{}};/**
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={},x=0;x<10;x++)g["_"+String.fromCharCode(x)]=x;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 x,S=f(v),A,C=1;C<arguments.length;C++){x=Object(arguments[C]);for(var w in x)l.call(x,w)&&(S[w]=x[w]);if(n){A=n(x);for(var M=0;M<A.length;M++)u.call(x,A[M])&&(S[A[M]]=x[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,x,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")+": "+x+" 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,x,null,l)}catch(B){w=B}if(w&&!(w instanceof Error)&&n((S||"React class")+": type specification of "+x+" `"+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 "+x+" 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(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function g(){return null}return PS=function(x,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(!x(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||x(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,x,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 $1.exports;if(oT=1,process.env.NODE_ENV!=="production"){var n=eT(),l=!0;$1.exports=z_()(n.isElement,l)}else $1.exports=U_()();return $1.exports}var j_=H_();const Mt=my(j_),k_={type:Mt.string,tooltip:Mt.bool,as:Mt.elementType},Q1=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"}`)}));Q1.displayName="Feedback",Q1.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",...x},S)=>{const{controlId:A}=q.useContext(pd);return l=dn(l,"form-check-input"),te.jsx(g,{...x,ref:S,type:f,id:n||A,className:jt(u,l,p&&"is-valid",v&&"is-invalid")})});KS.displayName="FormCheckInput";const Z1=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)})});Z1.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:x=!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,Z1),Y=te.jsx(KS,{...X,type:B==="switch"?"checkbox":B,ref:V,isValid:g,isInvalid:x,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(Z1,{title:L,children:z}),A&&te.jsx(Q1,{type:C,tooltip:S,children:A})]})})})});cT.displayName="FormCheck";const K1=Object.assign(cT,{Input:KS,Label:Z1});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 x=1;x<g;x++)v[x-1]=arguments[x];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 x=2;x<g;x++)v[x-2]=arguments[x];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 J1=my(X_),dT=st.forwardRef(({bsPrefix:n,type:l,size:u,htmlSize:f,id:p,className:v,isValid:g=!1,isInvalid:x=!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"&&J1(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",x&&"is-invalid")})});dT.displayName="FormControl";const $_=Object.assign(dT,{Feedback:Q1}),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=[],x=[];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&&x.push(`order${L}-${M}`),w!=null&&x.push(`offset${L}-${w}`)}),[{...f,className:jt(u,...g,...x)},{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},x)=>{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"&&J1(S==null||!v,"`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."),v=v||S,u?te.jsx(pT,{ref:x,as:"label",className:C,htmlFor:v,...g}):te.jsx(n,{ref:x,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,...x},S)=>{const{controlId:A}=q.useContext(pd);return n=dn(n,"form-select"),te.jsx("select",{...x,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(K1,{...n,ref:l,type:"switch"}));bT.displayName="Switch";const Q_=Object.assign(bT,{Input:K1.Input,Label:K1.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:K1,Switch:Q_,Label:mT,Text:yT,Range:vT,Select:gT,FloatingLabel:ST});var by={exports:{}};/**
46
46
  * @license
47
47
  * Lodash <https://lodash.com/>
48
48
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -68,12 +68,12 @@ __p += '`),Rn&&(et+=`' +
68
68
  function print() { __p += __j.call(arguments, '') }
69
69
  `:`;
70
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,E){if(s=Jt(s),s&&(E||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,E){if(s=Jt(s),s&&(E||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,E){if(s=Jt(s),s&&(E||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 E=pe,N=ve;if(Yn(d)){var G="separator"in d?d.separator:G;E="length"in d?Yt(d.length):E,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(E>=Z)return s;var se=E-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,E){return s+(E?" ":"")+d.toUpperCase()}),h=ki("toUpperCase");function b(s,d,E){return s=Jt(s),d=E?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(E){return Ht(E)?E:new Lt(E)}}),k=ma(function(s,d){return Wi(d,function(E){E=qn(E),eu(s,E,ao(s[E],s))}),s});function P(s){var d=s==null?0:s.length,E=At();return s=d?bn(s,function(N){if(typeof N[1]!="function")throw new nl(g);return[E(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(E){return Fu(E,s,d)}}),fe=Xt(function(s,d){return function(E){return Fu(s,E,d)}});function xe(s,d,E){var N=ar(d),G=Vr(d,N);E==null&&!(Yn(d)&&(G.length||!N.length))&&(E=d,d=s,s=this,G=Vr(d,ar(d)));var Z=!(Yn(E)&&"chain"in E)||!!E.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 f1=Lo(),Ux=Lo(!0);function d1(){return[]}function h1(){return!1}function nS(){return{}}function Hx(){return""}function jx(){return!0}function kx(s,d){if(s=Yt(s),s<1||s>ge)return[];var E=Ee,N=pa(s,Ee);d=At(d),s-=Ee;for(var G=Nu(N,d);++E<s;)d(E);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"),aS=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"),rS=au(function(s,d){return s-d},0);function p1(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=i1,$.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=f1,$.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=l1,$.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=aS,$.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=u1,$.isFunction=sl,$.isInteger=Jf,$.isLength=yi,$.isMap=ou,$.isMatch=Wf,$.isMatchWith=Yo,$.isNaN=vm,$.isNative=o1,$.isNil=s1,$.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=d1,$.stubFalse=h1,$.stubObject=nS,$.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=c1,$.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=rS,$.sum=p1,$.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,E){Dn.call($.prototype,E)||(s[E]=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(E){E=E===u?1:ta(Yt(E),0);var N=this.__filtered__&&!d?new cn(this):this.clone();return N.__filtered__?N.__takeCount__=pa(E,N.__takeCount__):N.__views__.push({size:pa(E,Ee),type:s+(N.__dir__<0?"Right":"")}),N},cn.prototype[s+"Right"]=function(E){return this.reverse()[s](E).reverse()}}),Wi(["filter","map","takeWhile"],function(s,d){var E=d+1,N=E==Ue||E==ee;cn.prototype[s]=function(G){var Z=this.clone();return Z.__iteratees__.push({iteratee:At(G,3),type:E}),Z.__filtered__=Z.__filtered__||N,Z}}),Wi(["head","last"],function(s,d){var E="take"+(d?"Right":"");cn.prototype[s]=function(){return this[E](1).value()[0]}}),Wi(["initial","tail"],function(s,d){var E="drop"+(d?"":"Right");cn.prototype[s]=function(){return this.__filtered__?new cn(this):this[E](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(E){return Fu(E,s,d)})}),cn.prototype.reject=function(s){return this.filter(Qf(At(s)))},cn.prototype.slice=function(s,d){s=Yt(s);var E=this;return E.__filtered__&&(s>0||d<0)?new cn(E):(s<0?E=E.takeRight(-s):s&&(E=E.drop(s)),d!==u&&(d=Yt(d),E=d<0?E.dropRight(-d):E.take(d-s)),E)},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 E=/^(?: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&&lt?Rn[0]:Rn};$e&&E&&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],E=/^(?: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[E](function(re){return d.apply(Nt(re)?re:[],G)})}}),Cr(cn.prototype,function(s,d){var E=$[d];if(E){var N=E.name+"";Dn.call(Ni,N)||(Ni[N]=[]),Ni[N].push({name:d,func:E})}}),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:eE}=Object,W1=(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=>W1(l)===n),eb=n=>l=>typeof l===n,{isArray:Uv}=Array,Sy=eb("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=eb("string"),fo=eb("function"),TT=eb("number"),tb=n=>n!==null&&typeof n=="object",rR=n=>n===!0||n===!1,nb=n=>{if(W1(n)!=="object")return!1;const l=eE(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=>tb(n)&&fo(n.pipe),cR=n=>{let l;return n&&(typeof FormData=="function"&&n instanceof FormData||fo(n.append)&&((l=W1(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 x;for(f=0;f<g;f++)x=v[f],l.call(null,n[x],x,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 tE(){const{caseless:n}=wT(this)&&this||{},l={},u=(f,p)=>{const v=n&&CT(l,p)||p;nb(l[v])&&nb(f)?l[v]=tE(l[v],f):nb(f)?l[v]=tE({},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 x={};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))&&!x[g]&&(l[g]=n[g],x[g]=!0);n=u!==!1&&eE(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"&&eE(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(tb(f)){if(l.indexOf(f)>=0)return;if(!("toJSON"in f)){l[p]=f;const v=Uv(f)?[]:{};return Ey(f,(g,x)=>{const S=u(g,p+1);!Sy(S)&&(v[x]=S)}),l[p]=void 0,v}}return f};return u(n,0)},zR=Xs("AsyncFunction"),UR=n=>n&&(tb(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:tb,isPlainObject:nb,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:tE,extend:gR,trim:vR,stripBOM:yR,inherits:bR,toFlatObject:SR,kindOf:W1,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},x=>x!=="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 nE(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(nE)}const qR=Fe.toFlatObject(Fe,{},null,function(l){return/^is[A-Z]/.test(l)});function ab(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 nE(B)?!0:(l.append(BT(O,z,v),A(B)),!1)}const w=[],M=Object.assign(qR,{defaultVisitor:C,convertValue:A,isVisitable:nE});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 aE(n,l){this._pairs=[],n&&ab(n,this,l)}const zT=aE.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 aE(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:aE,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},rE=typeof window<"u"&&typeof document<"u",iE=typeof navigator=="object"&&navigator||void 0,GR=rE&&(!iE||["ReactNative","NativeScript","NS"].indexOf(iE.product)<0),IR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",VR=rE&&window.location.href||"http://localhost",pl={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:rE,hasStandardBrowserEnv:GR,hasStandardBrowserWebWorkerEnv:IR,navigator:iE,origin:VR},Symbol.toStringTag,{value:"Module"})),...YR};function XR(n,l){return ab(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 x=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,!x):((!p[g]||!Fe.isObject(p[g]))&&(p[g]=[]),l(u,f,p[g],v)&&Fe.isArray(p[g])&&(p[g]=PR(p[g])),!x)}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 x;if(v){if(f.indexOf("application/x-www-form-urlencoded")>-1)return XR(l,this.formSerializer).toString();if((x=Fe.isFileList(l))||f.indexOf("multipart/form-data")>-1){const S=this.env&&this.env.FormData;return ab(x?{"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(x){if(g)throw x.name==="SyntaxError"?un.from(x,un.ERR_BAD_RESPONSE,this,null,this.response):x}}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 rb(n){return n===!1||n==null?n:Fe.isArray(n)?n.map(rb):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 lE(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(x,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]=rb(x))}const g=(x,S)=>Fe.forEach(x,(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[x,S]of l.entries())v(S,x,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||lE(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 x=Fe.findKey(f,g);x&&(!u||lE(f,f[x],x,u))&&(delete f[x],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||lE(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]=rb(p),delete u[v];return}const x=l?e3(v):String(v).trim();x!==v&&delete u[v],u[x]=rb(p),f[x]=!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 x=Ay(g);f[x]||(t3(p,g),f[x]=!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 uE(n,l){const u=this||xy,f=l||u,p=gu.from(f.headers);let v=f.data;return Fe.forEach(n,function(x){v=x.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 ib=(n,l,u=3)=>{let f=0;const p=a3(50,250);return r3(v=>{const g=v.loaded,x=v.lengthComputable?v.total:void 0,S=g-f,A=p(S),C=g<=x;f=g;const w={loaded:g,total:x,progress:x?g/x:void 0,bytes:S,rate:A||void 0,estimated:A&&x&&C?(x-g)/A:void 0,event:v,lengthComputable:x!=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 x(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:x,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!==x||(u[C]=M)}),u}const $T=n=>{const l=Ym({},n);let{data:u,withXSRFToken:f,xsrfHeaderName:p,xsrfCookieName:v,headers:g,auth:x}=l;l.headers=g=gu.from(g),l.url=UT(VT(l.baseURL,l.url,l.allowAbsoluteUrls),n.params,n.paramsSerializer),x&&g.set("Authorization","Basic "+btoa((x.username||"")+":"+(x.password?unescape(encodeURIComponent(x.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:x,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:!x||x==="text"||x==="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),x&&x!=="json"&&(O.responseType=p.responseType),A&&([M,B]=ib(A,!0),O.addEventListener("progress",M)),S&&O.upload&&([w,L]=ib(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,x();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 x=()=>{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(x),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,x=S=>{g||(g=!0,f&&f(S))};return new ReadableStream({async pull(S){try{const{done:A,value:C}=await p.next();if(A){x(),S.close();return}let w=C.byteLength;if(u){let M=v+=w;u(M)}S.enqueue(new Uint8Array(C))}catch(A){throw x(A),A}},cancel(S){return x(S),p.return()}},{highWaterMark:2})},lb=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",QT=lb&&typeof ReadableStream=="function",p3=lb&&(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,oE=QT&&ZT(()=>Fe.isReadableStream(new Response("").body)),ub={stream:oE&&(n=>n.body)};lb&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(l=>{!ub[l]&&(ub[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)},sE={http:jR,xhr:s3,fetch:lb&&(async n=>{let{url:l,method:u,data:f,signal:p,cancelToken:v,timeout:g,onDownloadProgress:x,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,ib(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=oE&&(A==="stream"||A==="response");if(oE&&(x||V&&z)){const D={};["status","statusText","headers"].forEach(oe=>{D[oe]=X[oe]});const j=Fe.toFiniteNumber(X.headers.get("content-length")),[Y,ie]=x&&GT(j,ib(IT(x),!0))||[];X=new Response(PT(X.body,KT,Y,()=>{ie&&ie(),z&&z()}),D)}A=A||"text";let U=await ub[Fe.findKey(ub,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(sE,(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=sE[(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(([x,S])=>`adapter ${x} `+(S===!1?"is not supported by the environment":"is not available in the build"));let g=l?v.length>1?`since :
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,E){if(s=Jt(s),s&&(E||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,E){if(s=Jt(s),s&&(E||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,E){if(s=Jt(s),s&&(E||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 E=pe,N=ve;if(Yn(d)){var G="separator"in d?d.separator:G;E="length"in d?Yt(d.length):E,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(E>=Z)return s;var se=E-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,E){return s+(E?" ":"")+d.toUpperCase()}),h=ki("toUpperCase");function b(s,d,E){return s=Jt(s),d=E?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(E){return Ht(E)?E:new Lt(E)}}),k=ma(function(s,d){return Wi(d,function(E){E=qn(E),eu(s,E,ao(s[E],s))}),s});function P(s){var d=s==null?0:s.length,E=At();return s=d?bn(s,function(N){if(typeof N[1]!="function")throw new nl(g);return[E(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(E){return Fu(E,s,d)}}),fe=Xt(function(s,d){return function(E){return Fu(s,E,d)}});function xe(s,d,E){var N=ar(d),G=Vr(d,N);E==null&&!(Yn(d)&&(G.length||!N.length))&&(E=d,d=s,s=this,G=Vr(d,ar(d)));var Z=!(Yn(E)&&"chain"in E)||!!E.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 f1=Lo(),Ux=Lo(!0);function d1(){return[]}function h1(){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 E=Ee,N=pa(s,Ee);d=At(d),s-=Ee;for(var G=Nu(N,d);++E<s;)d(E);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 p1(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=i1,$.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=f1,$.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=l1,$.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=u1,$.isFunction=sl,$.isInteger=Jf,$.isLength=yi,$.isMap=ou,$.isMatch=Wf,$.isMatchWith=Yo,$.isNaN=vm,$.isNative=o1,$.isNil=s1,$.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=d1,$.stubFalse=h1,$.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=c1,$.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=p1,$.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,E){Dn.call($.prototype,E)||(s[E]=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(E){E=E===u?1:ta(Yt(E),0);var N=this.__filtered__&&!d?new cn(this):this.clone();return N.__filtered__?N.__takeCount__=pa(E,N.__takeCount__):N.__views__.push({size:pa(E,Ee),type:s+(N.__dir__<0?"Right":"")}),N},cn.prototype[s+"Right"]=function(E){return this.reverse()[s](E).reverse()}}),Wi(["filter","map","takeWhile"],function(s,d){var E=d+1,N=E==Ue||E==ee;cn.prototype[s]=function(G){var Z=this.clone();return Z.__iteratees__.push({iteratee:At(G,3),type:E}),Z.__filtered__=Z.__filtered__||N,Z}}),Wi(["head","last"],function(s,d){var E="take"+(d?"Right":"");cn.prototype[s]=function(){return this[E](1).value()[0]}}),Wi(["initial","tail"],function(s,d){var E="drop"+(d?"":"Right");cn.prototype[s]=function(){return this.__filtered__?new cn(this):this[E](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(E){return Fu(E,s,d)})}),cn.prototype.reject=function(s){return this.filter(Qf(At(s)))},cn.prototype.slice=function(s,d){s=Yt(s);var E=this;return E.__filtered__&&(s>0||d<0)?new cn(E):(s<0?E=E.takeRight(-s):s&&(E=E.drop(s)),d!==u&&(d=Yt(d),E=d<0?E.dropRight(-d):E.take(d-s)),E)},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 E=/^(?: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&&lt?Rn[0]:Rn};$e&&E&&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],E=/^(?: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[E](function(re){return d.apply(Nt(re)?re:[],G)})}}),Cr(cn.prototype,function(s,d){var E=$[d];if(E){var N=E.name+"";Dn.call(Ni,N)||(Ni[N]=[]),Ni[N].push({name:d,func:E})}}),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,W1=(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=>W1(l)===n),eb=n=>l=>typeof l===n,{isArray:Uv}=Array,Sy=eb("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=eb("string"),fo=eb("function"),TT=eb("number"),tb=n=>n!==null&&typeof n=="object",rR=n=>n===!0||n===!1,nb=n=>{if(W1(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=>tb(n)&&fo(n.pipe),cR=n=>{let l;return n&&(typeof FormData=="function"&&n instanceof FormData||fo(n.append)&&((l=W1(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 x;for(f=0;f<g;f++)x=v[f],l.call(null,n[x],x,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;nb(l[v])&&nb(f)?l[v]=nE(l[v],f):nb(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 x={};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))&&!x[g]&&(l[g]=n[g],x[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(tb(f)){if(l.indexOf(f)>=0)return;if(!("toJSON"in f)){l[p]=f;const v=Uv(f)?[]:{};return Ey(f,(g,x)=>{const S=u(g,p+1);!Sy(S)&&(v[x]=S)}),l[p]=void 0,v}}return f};return u(n,0)},zR=Xs("AsyncFunction"),UR=n=>n&&(tb(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:tb,isPlainObject:nb,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:W1,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},x=>x!=="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 ab(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&&ab(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 ab(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 x=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,!x):((!p[g]||!Fe.isObject(p[g]))&&(p[g]=[]),l(u,f,p[g],v)&&Fe.isArray(p[g])&&(p[g]=PR(p[g])),!x)}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 x;if(v){if(f.indexOf("application/x-www-form-urlencoded")>-1)return XR(l,this.formSerializer).toString();if((x=Fe.isFileList(l))||f.indexOf("multipart/form-data")>-1){const S=this.env&&this.env.FormData;return ab(x?{"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(x){if(g)throw x.name==="SyntaxError"?un.from(x,un.ERR_BAD_RESPONSE,this,null,this.response):x}}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 rb(n){return n===!1||n==null?n:Fe.isArray(n)?n.map(rb):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(x,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]=rb(x))}const g=(x,S)=>Fe.forEach(x,(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[x,S]of l.entries())v(S,x,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 x=Fe.findKey(f,g);x&&(!u||uE(f,f[x],x,u))&&(delete f[x],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]=rb(p),delete u[v];return}const x=l?e3(v):String(v).trim();x!==v&&delete u[v],u[x]=rb(p),f[x]=!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 x=Ay(g);f[x]||(t3(p,g),f[x]=!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(x){v=x.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 ib=(n,l,u=3)=>{let f=0;const p=a3(50,250);return r3(v=>{const g=v.loaded,x=v.lengthComputable?v.total:void 0,S=g-f,A=p(S),C=g<=x;f=g;const w={loaded:g,total:x,progress:x?g/x:void 0,bytes:S,rate:A||void 0,estimated:A&&x&&C?(x-g)/A:void 0,event:v,lengthComputable:x!=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 x(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:x,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!==x||(u[C]=M)}),u}const $T=n=>{const l=Ym({},n);let{data:u,withXSRFToken:f,xsrfHeaderName:p,xsrfCookieName:v,headers:g,auth:x}=l;l.headers=g=gu.from(g),l.url=UT(VT(l.baseURL,l.url,l.allowAbsoluteUrls),n.params,n.paramsSerializer),x&&g.set("Authorization","Basic "+btoa((x.username||"")+":"+(x.password?unescape(encodeURIComponent(x.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:x,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:!x||x==="text"||x==="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),x&&x!=="json"&&(O.responseType=p.responseType),A&&([M,B]=ib(A,!0),O.addEventListener("progress",M)),S&&O.upload&&([w,L]=ib(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,x();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 x=()=>{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(x),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,x=S=>{g||(g=!0,f&&f(S))};return new ReadableStream({async pull(S){try{const{done:A,value:C}=await p.next();if(A){x(),S.close();return}let w=C.byteLength;if(u){let M=v+=w;u(M)}S.enqueue(new Uint8Array(C))}catch(A){throw x(A),A}},cancel(S){return x(S),p.return()}},{highWaterMark:2})},lb=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",QT=lb&&typeof ReadableStream=="function",p3=lb&&(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)),ub={stream:sE&&(n=>n.body)};lb&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(l=>{!ub[l]&&(ub[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:lb&&(async n=>{let{url:l,method:u,data:f,signal:p,cancelToken:v,timeout:g,onDownloadProgress:x,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,ib(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&&(x||V&&z)){const D={};["status","statusText","headers"].forEach(oe=>{D[oe]=X[oe]});const j=Fe.toFiniteNumber(X.headers.get("content-length")),[Y,ie]=x&&GT(j,ib(IT(x),!0))||[];X=new Response(PT(X.body,KT,Y,()=>{ie&&ie(),z&&z()}),D)}A=A||"text";let U=await ub[Fe.findKey(ub,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(([x,S])=>`adapter ${x} `+(S===!1?"is not supported by the environment":"is not available in the build"));let g=l?v.length>1?`since :
74
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:sE};function cE(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hv(null,n)}function e2(n){return cE(n),n.headers=gu.from(n.headers),n.data=uE.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 cE(n),f.data=uE.call(n,n.transformResponse,f),f.headers=gu.from(f.headers),f},function(f){return FT(f)||(cE(n),f&&f.response&&(f.response.data=uE.call(n,n.transformResponse,f.response),f.response.headers=gu.from(f.response.headers))),Promise.reject(f)})}const t2="1.8.4",ob={};["object","boolean","number","function","string","symbol"].forEach((n,l)=>{ob[n]=function(f){return typeof f===n||"a"+(l<1?"n ":" ")+n}});const n2={};ob.transitional=function(l,u,f){function p(v,g){return"[Axios v"+t2+"] Transitional option '"+v+"'"+g+(f?". "+f:"")}return(v,g,x)=>{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,x):!0}},ob.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 x=n[v],S=x===void 0||g(x,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 sb={assertOptions:b3,validators:ob},Pc=sb.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&&sb.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}:sb.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),sb.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 x=[];let S=!0;this.interceptors.request.forEach(function(z){typeof z.runWhen=="function"&&z.runWhen(u)===!1||(S=S&&z.synchronous,x.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,x),B.push.apply(B,A),M=B.length,C=Promise.resolve(u);w<M;)C=C.then(B[w++],B[w++]);return C}M=x.length;let L=u;for(w=0;w<M;){const B=x[w++],z=x[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,x){return this.request(Ym(x||{},{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(x=>{f.subscribe(x),v=x}).then(p);return g.cancel=function(){f.unsubscribe(v)},g},l(function(v,g,x){f.reason||(f.reason=new Hv(v,g,x),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 fE={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(fE).forEach(([n,l])=>{fE[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=ab,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=fE,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,x=((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=>{x&&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 x=n.args.parentLevel??0;for(;x>0;){--x;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,x,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=Rb({globalDataContext:n.globalDataContext,templateContext:n.templateContext,valueToEvaluate:(x=n==null?void 0:n.args)==null?void 0:x.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 x=v.lastIndexOf(".");if(x<1)return;v=v.substring(0,x)}}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,x=((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=>{x&&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),x=()=>{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(x)};x()}},A3=n=>{const l=q.useContext(Aa),u=q.useContext(ua),{actionProps:f}=n,p={};for(const[x,S]of Object.entries(f))p[x]=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=x=>{if(!x)return x;const S=q.Children.toArray(x);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(qS),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,x=(p==null?void 0:p.whenHashIs)??void 0,S=(p==null?void 0:p.whenHashWas)??void 0,A=Rb({globalDataContext:u,templateContext:f,valueToEvaluate:x}),C=Rb({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(qS),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,x=(p==null?void 0:p.whenMessageIs)??void 0,S=Rb({globalDataContext:u,templateContext:f,valueToEvaluate:x}),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 dE(){return dE=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},dE.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],x=n!==void 0,S=f.current;return f.current=x,!x&&S&&v!==l&&g(l),[x?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 cb(n,l){return Object.keys(l).reduce(function(u,f){var p,v=u,g=v[i2(f)],x=v[f],S=r2(v,[i2(f),f].map(O3)),A=l[f],C=l2(x,g,n[A]),w=C[0],M=C[1];return dE({},S,(p={},p[f]=w,p[A]=M,p))},n)}function hE(n,l){return hE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,f){return u.__proto__=f,u},hE(n,l)}function _3(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,hE(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 fb(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(fb(l))||M3(n).getPropertyValue(fb(l));Object.keys(l).forEach(function(p){var v=l[p];!v&&v!==0?n.style.removeProperty(fb(p)):U3(p)?f+=p+"("+v+") ":u+=fb(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",db="exiting",gd=function(n){_3(l,n);function l(f,p){var v;v=n.call(this,f,p)||this;var g=p,x=g&&!g.isMounting?f.enter:f.appear,S;return v.appearStatus=null,f.in?x?(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=db)}this.updateStatus(!1,v)},u.componentWillUnmount=function(){this.cancelNextCallback()},u.getTimeouts=function(){var p=this.props.timeout,v,g,x;return v=g=x=p,p!=null&&typeof p!="number"&&(v=p.exit,g=p.enter,x=p.appear!==void 0?p.appear:g),{exit:v,enter:g,appear:x}},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,x=this.context?this.context.isMounting:p,S=this.props.nodeRef?[x]:[Gl.findDOMNode(this),x],A=S[0],C=S[1],w=this.getTimeouts(),M=x?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(),x=this.props.nodeRef?void 0:Gl.findDOMNode(this);if(!v||u2.disabled){this.safeSetState({status:Gh},function(){p.props.onExited(x)});return}this.props.onExit(x),this.safeSetState({status:db},function(){p.props.onExiting(x),p.onTransitionEnd(g.exit,function(){p.safeSetState({status:Gh},function(){p.props.onExited(x)})})})},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(x){g&&(g=!1,v.nextCallback=null,p(x))},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),x=p==null&&!this.props.addEndListener;if(!g||x){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 x=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,x):q.cloneElement(q.Children.only(g),x))},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=db;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 pE=!1,mE=!1;try{var vE={get passive(){return pE=!0},get once(){return mE=pE=!0}};Yv&&(window.addEventListener("test",vE,vE),window.removeEventListener("test",vE,!0))}catch{}function c2(n,l,u,f){if(f&&typeof f!="boolean"&&!mE){var p=f.once,v=f.capture,g=u;!mE&&p&&(g=u.__once||function x(S){this.removeEventListener(l,x,v),u.call(this,S)},u.__once=g),n.addEventListener(l,g,pE?f:v)}n.addEventListener(l,u,f)}function gE(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(){gE(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 hb(n,l){return q.useMemo(()=>G3(n,l),[n,l])}function pb(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:x,childRef:S,...A},C)=>{const w=q.useRef(null),M=hb(w,S),L=j=>{M(pb(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 x=="function"?(j,Y)=>x(j,{...Y,ref:L}):q.cloneElement(x,{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",[db]:"collapsing",[vd]:"collapsing",[Ih]:"collapse show"},$3=q.forwardRef(({onEnter:n,onEntering:l,onEntered:u,onExit:f,onExiting:p,className:v,children:g,dimension:x="height",in:S=!1,timeout:A=300,mountOnEnter:C=!1,unmountOnExit:w=!1,appear:M=!1,getDimensionValue:L=V3,...B},z)=>{const O=typeof x=="function"?x():x,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 yE=st.forwardRef(({as:n="div",bsPrefix:l,className:u,children:f,eventKey:p,...v},g)=>{const{activeEventKey:x}=q.useContext(wy);return l=dn(l,"accordion-collapse"),te.jsx($3,{ref:g,in:g2(x,p),...v,className:jt(u,l),children:te.jsx(n,{children:st.Children.only(f)})})});yE.displayName="AccordionCollapse";const mb=st.createContext({eventKey:""});mb.displayName="AccordionItemContext";const y2=st.forwardRef(({as:n="div",bsPrefix:l,className:u,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:x,onExited:S,...A},C)=>{l=dn(l,"accordion-body");const{eventKey:w}=q.useContext(mb);return te.jsx(yE,{eventKey:w,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:x,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(x=>x!==n):g=[...u,n]:g=[n]),f==null||f(g,v),l==null||l(v)}}const bE=st.forwardRef(({as:n="button",bsPrefix:l,className:u,onClick:f,...p},v)=>{l=dn(l,"accordion-button");const{eventKey:g}=q.useContext(mb),x=P3(g,f),{activeEventKey:S}=q.useContext(wy);return n==="button"&&(p.type="button"),te.jsx(n,{ref:v,onClick:x,...p,"aria-expanded":Array.isArray(S)?S.includes(g):g===S,className:jt(u,l,!g2(S,g)&&"collapsed")})});bE.displayName="AccordionButton";const b2=st.forwardRef(({as:n="h2","aria-controls":l,bsPrefix:u,className:f,children:p,onClick:v,...g},x)=>(u=dn(u,"accordion-header"),te.jsx(n,{ref:x,...g,className:jt(f,u),children:te.jsx(bE,{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(mb.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:x,alwaysOpen:S,...A}=cb(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,x&&`${C}-flush`)})})});E2.displayName="Accordion";const vb=Object.assign(E2,{Button:bE,Collapse:yE,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 SE({tagName:n,disabled:l,href:u,target:f,rel:p,role:v,onClick:g,tabIndex:x=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:x,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}]=SE(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 gb=st.forwardRef((n,l)=>{let{onKeyDown:u}=n,f=aM(n,nM);const[p]=SE(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}))});gb.displayName="Anchor";const _2=st.forwardRef(({className:n,bsPrefix:l,as:u=gb,...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},x=q.useCallback((S,A)=>{p2(S),f==null||f(S,A)},[f]);return te.jsx(v2,{ref:v,addEndListener:h2,...g,onEnter:x,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"])},yb=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}));yb.displayName="CloseButton",yb.propTypes=lM;const R2=st.forwardRef((n,l)=>{const{bsPrefix:u,show:f=!0,closeLabel:p="Close alert",closeVariant:v,className:g,children:x,variant:S="primary",onClose:A,dismissible:C,transition:w=bd,...M}=cb(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(yb,{onClick:B,"aria-label":p,variant:v}),x]});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},x)=>{const S=dn(n,"badge");return te.jsx(v,{ref:x,...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,...x},S)=>{const A=dn(l,"btn"),[C,{tagName:w}]=SE({tagName:n,disabled:v,...x}),M=w;return te.jsx(M,{...C,...x,ref:S,disabled:v,className:jt(g,A,p&&"active",u&&`${A}-${u}`,f&&`${A}-${f}`,x.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 EE=2**31-1;function z2(n,l,u){const f=u-Date.now();n.current=f<=EE?setTimeout(l,f):setTimeout(()=>z2(n,l,u),EE)}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<=EE?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,x=f.current;return f.current=g,!g&&x&&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",xE="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,[xE]).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 AE(n){if(typeof ShadowRoot>"u")return!1;var l=ho(n).ShadowRoot;return n instanceof l||n instanceof ShadowRoot}var Xm=Math.max,bb=Math.min,Iv=Math.round;function TE(){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(TE())}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,x=g.visualViewport,S=!F2()&&u,A=(f.left+(S&&x?x.offsetLeft:0))/p,C=(f.top+(S&&x?x.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 CE(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&&AE(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 Sb(n){return Vh(n)==="html"?n:n.assignedSlot||n.parentNode||(AE(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(TE()),u=/Trident/i.test(TE());if(u&&Zc(n)){var f=Sd(n);if(f.position==="fixed")return null}var p=Sb(n);for(AE(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 wE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function By(n,l,u){return Xm(n,bb(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,x=Qc(u.placement),S=wE(x),A=[bu,Jo].indexOf(x)>=0,C=A?"height":"width";if(!(!v||!g)){var w=RM(p.padding,u),M=CE(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,x=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"&&x==="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:x},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,x=u.roundOffsets,S=x===void 0?!0:x,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 Eb={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,x=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,Eb)}),x&&S.addEventListener("resize",u.update,Eb),function(){v&&A.forEach(function(C){C.removeEventListener("scroll",u.update,Eb)}),x&&S.removeEventListener("resize",u.update,Eb)}}const kM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jM,data:{}};var qM={left:"right",right:"left",bottom:"top",top:"bottom"};function xb(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 OE(n){var l=ho(n),u=l.pageXOffset,f=l.pageYOffset;return{scrollLeft:u,scrollTop:f}}function DE(n){return Vv(Xh(n)).left+OE(n).scrollLeft}function YM(n,l){var u=ho(n),f=Xh(n),p=u.visualViewport,v=f.clientWidth,g=f.clientHeight,x=0,S=0;if(p){v=p.width,g=p.height;var A=F2();(A||!A&&l==="fixed")&&(x=p.offsetLeft,S=p.offsetTop)}return{width:v,height:g,x:x+DE(n),y:S}}function GM(n){var l,u=Xh(n),f=OE(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),x=-f.scrollLeft+DE(n),S=-f.scrollTop;return Sd(p||u).direction==="rtl"&&(x+=Xm(u.clientWidth,p?p.clientWidth:0)-v),{width:v,height:g,x,y:S}}function _E(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)&&_E(n)?n:Q2(Sb(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||[],_E(f)?f:[]):f,x=l.concat(g);return p?x:x.concat(Ly(Sb(g)))}function RE(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?RE(YM(n,u)):Vm(l)?IM(l,u):RE(GM(Xh(n)))}function VM(n){var l=Ly(Sb(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],x=v.reduce(function(S,A){var C=Z2(n,A,f);return S.top=Xm(C.top,S.top),S.right=bb(C.right,S.right),S.bottom=bb(C.bottom,S.bottom),S.left=Xm(C.left,S.left),S},Z2(n,g,f));return x.width=x.right-x.left,x.height=x.bottom-x.top,x.x=x.left,x.y=x.top,x}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,x=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:x};break;case bu:S={x:l.x-u.width,y:x};break;default:S={x:l.x,y:l.y}}var A=p?wE(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,x=u.boundary,S=x===void 0?mM:x,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=RE(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,x=u.flipVariations,S=u.allowedAutoPlacements,A=S===void 0?q2:S,C=Xv(f),w=C?x?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)===xE)return[];var l=xb(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,x=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?[xb(O)]:PM(O)),U=[O].concat(V).reduce(function(he,De){return he.concat(Qc(De)===xE?$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=xb(ce));var ge=xb(ce),We=[];if(v&&We.push(ee[_e]<=0),x&&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"}),x=zy(l,{altBoundary:!0}),S=J2(g,f),A=J2(x,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],x=v[1];return g=g||0,x=(x||0)*p,[bu,Jo].indexOf(f)>=0?{x,y:g}:{x:g,y:x}}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},{}),x=g[l.placement],S=x.x,A=x.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,x=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=wE(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?CE(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?bb(ge,_t):ge,ce,L?Xm(We,Et):We);j[U]=on,_e[U]=on-ce}if(x){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)?OE(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),x={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(f||!f&&!u)&&((Vh(l)!=="body"||_E(v))&&(x=o4(l)),Zc(l)?(S=Vv(l,!0),S.x+=l.clientLeft,S.y+=l.clientTop):v&&(S.x=DE(v))),{x:g.left+x.scrollLeft-S.x,y:g.top+x.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(x){if(!u.has(x)){var S=l.get(x);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(x,S,A){A===void 0&&(A=v);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},eC,v),modifiersData:{},elements:{reference:x,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(x)?Ly(x):x.contextElement?Ly(x.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:CE(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(x,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,x=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({},x,{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 Ab=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=Ab(n);J1(!!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]),x=Zo(A=>{const C=Ab(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(Ab(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],x,!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,x,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:x,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:!!x,options:Object.assign({},(M=L.arrow)==null?void 0:M.options,{element:x})}),flip:Object.assign({enabled:!!f},L.flip)}))})}const Tb={prefix:String(Math.round(Math.random()*1e10)),current:0},rC=q.createContext(Tb),_4=q.createContext(!1);let R4=!!(typeof window<"u"&&window.document&&window.document.createElement),ME=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=ME.get(v);g==null?ME.set(v,{id:l.current,state:v.memoizedState}):v.memoizedState!==g.state&&(l.current=g.id,ME.delete(v))}u.current=++l.current}return u.current}function N4(n){let l=q.useContext(rC);l===Tb&&!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===Tb&&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${Tb.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,NE=st.createContext(null);NE.displayName="NavContext";const k4="data-rr-ui-",q4="rrUi";function Cb(n){return`${k4}${n}`}function F4(n){return`${q4}${n}`}const iC=q.createContext(Yv?window:void 0);iC.Provider;function BE(){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),x=q.useContext(NE),S=q.useContext(Pv);let A=u;const C={role:p};if(x){!p&&x.role==="tablist"&&(C.role="tab");const w=x.getControllerId(n??null),M=x.getControlledId(n??null);C[Cb("event-key")]=n,C.id=w||f,A=u==null&&n!=null?x.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,x]=oC(Object.assign({key:Hy(p,v.href),active:f},v));return g[Cb("active")]=x.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=Cb("event-key"),dC=st.forwardRef((n,l)=>{let{as:u="div",onSelect:f,activeKey:p,role:v,onKeyDown:g}=n,x=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(NE.Provider,{value:{role:v,activeKey:Hy(p),getControlledId:M||cC,getControllerId:L||cC},children:te.jsx(u,Object.assign({},x,{onKeyDown:I,ref:X,role:v}))})})});dC.displayName="Nav";const Q4=Object.assign(dC,{Item:sC});var wb;function hC(n){if((!wb&&wb!==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),wb=l.offsetWidth-l.clientWidth,document.body.removeChild(l)}return wb}function Z4(){return q.useState(null)}function LE(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=Cb("modal-open");class zE{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 UE=(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 HE(n,l){const u=BE(),[f,p]=q.useState(()=>UE(n,u==null?void 0:u.document));if(!f){const v=UE(n);v&&p(v)}return q.useEffect(()=>{},[l,f]),q.useEffect(()=>{const v=UE(n);v!==f&&p(v)},[n,f]),f}function jE({children:n,in:l,onExited:u,mountOnEnter:f,unmountOnExit:p}){const v=q.useRef(null),g=q.useRef(l),x=Zo(u);q.useEffect(()=>{l?g.current=!0:x(v.current)},[l,x]);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:x,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(x),[x]);return Object.assign({},A,{nodeRef:C},l&&{onEnter:L},u&&{onEntering:B},f&&{onEntered:z},p&&{onExit:O},v&&{onExiting:I},g&&{onExited:X},x&&{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 x=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(x,Fv(n));return v&&!l?null:q.cloneElement(n,{ref:S})}function kE(n,l,u){return n?te.jsx(i6,Object.assign({},u,{component:n})):l?te.jsx(u6,Object.assign({},u,{transition:l})):te.jsx(jE,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 qE;function c6(n){return qE||(qE=new zE({ownerDocument:n==null?void 0:n.document})),qE}function f6(n){const l=BE(),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:x=!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=BE(),ce=HE(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=LE(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=LE((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=LE(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),x===!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=kE(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 x&&(_t=U({ref:ge.setBackdropRef,onClick:rt}),_t=kE(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:zE});function FE(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):FE(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 zE{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 YE;function v6(n){return YE||(YE=new m6(n)),YE}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(){}}),GE=st.forwardRef(({bsPrefix:n,className:l,contentClassName:u,centered:f,size:p,fullscreen:v,children:g,scrollable:x,...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`,x&&`${C}-scrollable`,v&&w),children:te.jsx("div",{className:jt(`${n}-content`,u),children:g})})});GE.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 x=q.useContext(yC),S=Oy(()=>{x==null||x.onHide(),f==null||f()});return te.jsxs("div",{ref:g,...v,children:[p,u&&te.jsx(yb,{"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=GE,"data-bs-theme":x,"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=hb(ee,De),rt=Oy(I),Ke=QS();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(()=>{gE(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),gE(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":x,"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 Ob=Object.assign(xC,{Body:gC,Header:SC,Title:EC,Footer:bC,Dialog:GE,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),IE=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})));IE.displayName="NavItem";const VE=st.forwardRef(({bsPrefix:n,className:l,as:u=gb,active:f,eventKey:p,disabled:v=!1,...g},x)=>{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:x,disabled:v,className:jt(l,n,v&&"disabled",A.isActive&&"active")})});VE.displayName="NavLink";const AC=st.forwardRef((n,l)=>{const{as:u="div",bsPrefix:f,variant:p,fill:v=!1,justify:g=!1,navbar:x,navbarScroll:S,className:A,activeKey:C,...w}=cb(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=x??!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:IE,Link:VE}),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(Ab(n));let x=(g.defaultView||window).event;const S=yd(g,"keyup",A=>{if(A===x){x=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:x,runTransition:S}=n,[A,C]=C2(),[w,M]=C2(),L=jy(C,l),B=HE(n.container),z=HE(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=kE(x,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 XE=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})));XE.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 Db=Object.assign(st.forwardRef(({bsPrefix:n,placement:l="right",className:u,style:f,children:p,body:v,arrowProps:g,hasDoneInitialMeasure:x,popper:S,show:A,...C},w)=>{const M=dn(n,"popover"),L=QS(),[B]=(l==null?void 0:l.split("-"))||[],z=wC(B,L);let O=f;return A&&!x&&(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(XE,{children:p}):p]})}),{Header:CC,Body:XE,POPPER_OFFSET:[0,8]}),DC=st.forwardRef(({bsPrefix:n,placement:l="right",className:u,style:f,children:p,arrowProps:v,hasDoneInitialMeasure:g,popper:x,show:S,...A},C)=>{n=dn(n,"tooltip");const w=QS(),[M]=(l==null?void 0:l.split("-"))||[],L=wC(M,w);let B=f;return S&&!g&&(B={...f,...OC(x==null?void 0:x.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(FE(l.current,u))return Db.POPPER_OFFSET;if(FE(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(pb(p))),l.ref=f.__wrapped||(f.__wrapped=p=>f(pb(p)))}const RC=st.forwardRef(({children:n,transition:l=bd,popperConfig:u={},rootClose:f=!1,placement:p="top",show:v=!1,...g},x)=>{const S=q.useRef({}),[A,C]=q.useState(null),[w,M]=T6(g.offset),L=hb(x,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:x,placement:S,flip:A=S&&S.indexOf("auto")!==-1,...C})=>{const w=q.useRef(null),M=hb(w,Fv(u)),L=cM(),B=q.useRef(""),[z,O]=l2(p,v,g),I=w6(x),{onFocus:X,onBlur:V,onClick:U}=typeof u!="function"?st.Children.only(u).props:{},D=Qe=>{M(pb(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"&&J1(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})]})},$E=st.forwardRef(({active:n=!1,disabled:l=!1,className:u,style:f,activeLabel:p="(current)",children:v,linkStyle:g,linkClassName:x,as:S=gb,...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",x),style:g,...A,children:[v,n&&p&&te.jsx("span",{className:"visually-hidden",children:p})]})})});$E.displayName="PageItem";function ky(n,l,u=n){const f=st.forwardRef(({children:p,...v},g)=>te.jsxs($E,{...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:$E,Next:R6,Last:M6}),N6=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],B6=["activeKey","getControlledId","getControllerId"],L6=["as"];function PE(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:x,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}=n,L=PE(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:x,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}];const{activeKey:z,getControlledId:O,getControllerId:I}=B,X=PE(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:x,onEntering:S,onEntered:A,onExit:C,onExiting:w,onExited:M}]}const zC=st.forwardRef((n,l)=>{let{as:u="div"}=n,f=PE(n,L6);const[p,{isActive:v,onEnter:g,onEntering:x,onEntered:S,onExit:A,onExiting:C,onExited:w,mountOnEnter:M,unmountOnExit:L,transition:B=jE}]=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:x,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 QE=n=>{const{id:l,generateChildId:u,onSelect:f,activeKey:p,defaultActiveKey:v,transition:g,mountOnEnter:x,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:x||!1,unmountOnExit:S||!1,getControlledId:z=>L(z,"tabpane"),getControllerId:z=>L(z,"tab")}),[w,C,g,x,S,L]);return te.jsx(Pv.Provider,{value:B,children:te.jsx($v.Provider,{value:w||null,children:A})})};QE.Panel=zC;function ZE(n){return typeof n=="boolean"?n?bd:jE:n}const UC=({transition:n,...l})=>te.jsx(QE,{...l,transition:ZE(n)});UC.displayName="TabContainer";const KE=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})));KE.displayName="TabContent";const JE=st.forwardRef(({bsPrefix:n,transition:l,...u},f)=>{const[{className:p,as:v="div",...g},{isActive:x,onEnter:S,onEntering:A,onEntered:C,onExit:w,onExiting:M,onExited:L,mountOnEnter:B,unmountOnExit:z,transition:O=bd}]=LC({...u,transition:ZE(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:x,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,x&&"active")})})})})});JE.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:KE,Pane:JE});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(IE,{as:"li",role:"presentation",children:te.jsx(VE,{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:x,activeKey:S=H6(x),...A}=cb(n,{activeKey:"onSelect"});return te.jsxs(QE,{id:l,activeKey:S,onSelect:u,transition:ZE(f),mountOnEnter:p,unmountOnExit:v,children:[te.jsx(E6,{id:l,...A,role:"tablist",as:"ul",variant:g,children:sT(x,j6)}),te.jsx(KE,{children:sT(x,C=>{const w={...C.props};return delete w.title,delete w.disabled,delete w.tabClassName,delete w.tabAttrs,te.jsx(JE,{...w})})})]})};jC.displayName="Tabs";const k6=n=>{var p,v,g,x,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(Db,{children:[n.actionProps.header&&te.jsx(Db.Header,{...u,children:te.jsx(Ra,{props:n.actionProps.header,currentData:((x=(g=(v=(p=n.componentProps)==null?void 0:p.currentData)==null?void 0:v.actions)==null?void 0:g[n.actionIndex])==null?void 0:x.header)??void 0,datafield:"header",path:n.componentProps.path+".actions."+n.actionIndex+".header"})}),te.jsx(Db.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 _b(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 WE={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 _b=="function"&&_b;if(!C&&w)return w(A,!0);if(x)return x(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 x=typeof _b=="function"&&_b,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,x,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},x={},x[g.BooleanLiteral]="Boolean",x[g.EOF]="<end>",x[g.Identifier]="Identifier",x[g.Keyword]="Keyword",x[g.NullLiteral]="Null",x[g.NumericLiteral]="Numeric",x[g.Punctuator]="Punctuator",x[g.StringLiteral]="String",x[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":_+=`
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",ob={};["object","boolean","number","function","string","symbol"].forEach((n,l)=>{ob[n]=function(f){return typeof f===n||"a"+(l<1?"n ":" ")+n}});const n2={};ob.transitional=function(l,u,f){function p(v,g){return"[Axios v"+t2+"] Transitional option '"+v+"'"+g+(f?". "+f:"")}return(v,g,x)=>{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,x):!0}},ob.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 x=n[v],S=x===void 0||g(x,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 sb={assertOptions:b3,validators:ob},Pc=sb.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&&sb.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}:sb.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),sb.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 x=[];let S=!0;this.interceptors.request.forEach(function(z){typeof z.runWhen=="function"&&z.runWhen(u)===!1||(S=S&&z.synchronous,x.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,x),B.push.apply(B,A),M=B.length,C=Promise.resolve(u);w<M;)C=C.then(B[w++],B[w++]);return C}M=x.length;let L=u;for(w=0;w<M;){const B=x[w++],z=x[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,x){return this.request(Ym(x||{},{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(x=>{f.subscribe(x),v=x}).then(p);return g.cancel=function(){f.unsubscribe(v)},g},l(function(v,g,x){f.reason||(f.reason=new Hv(v,g,x),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=ab,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,x=((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=>{x&&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 x=n.args.parentLevel??0;for(;x>0;){--x;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,x,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:(x=n==null?void 0:n.args)==null?void 0:x.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 x=v.lastIndexOf(".");if(x<1)return;v=v.substring(0,x)}}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,x=((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=>{x&&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),x=()=>{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(x)};x()}},A3=n=>{const l=q.useContext(Aa),u=q.useContext(ua),{actionProps:f}=n,p={};for(const[x,S]of Object.entries(f))p[x]=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=x=>{if(!x)return x;const S=q.Children.toArray(x);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,x=(p==null?void 0:p.whenHashIs)??void 0,S=(p==null?void 0:p.whenHashWas)??void 0,A=Mb({globalDataContext:u,templateContext:f,valueToEvaluate:x}),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,x=(p==null?void 0:p.whenMessageIs)??void 0,S=Mb({globalDataContext:u,templateContext:f,valueToEvaluate:x}),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],x=n!==void 0,S=f.current;return f.current=x,!x&&S&&v!==l&&g(l),[x?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 cb(n,l){return Object.keys(l).reduce(function(u,f){var p,v=u,g=v[i2(f)],x=v[f],S=r2(v,[i2(f),f].map(O3)),A=l[f],C=l2(x,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 fb(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(fb(l))||M3(n).getPropertyValue(fb(l));Object.keys(l).forEach(function(p){var v=l[p];!v&&v!==0?n.style.removeProperty(fb(p)):U3(p)?f+=p+"("+v+") ":u+=fb(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",db="exiting",gd=function(n){_3(l,n);function l(f,p){var v;v=n.call(this,f,p)||this;var g=p,x=g&&!g.isMounting?f.enter:f.appear,S;return v.appearStatus=null,f.in?x?(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=db)}this.updateStatus(!1,v)},u.componentWillUnmount=function(){this.cancelNextCallback()},u.getTimeouts=function(){var p=this.props.timeout,v,g,x;return v=g=x=p,p!=null&&typeof p!="number"&&(v=p.exit,g=p.enter,x=p.appear!==void 0?p.appear:g),{exit:v,enter:g,appear:x}},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,x=this.context?this.context.isMounting:p,S=this.props.nodeRef?[x]:[Gl.findDOMNode(this),x],A=S[0],C=S[1],w=this.getTimeouts(),M=x?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(),x=this.props.nodeRef?void 0:Gl.findDOMNode(this);if(!v||u2.disabled){this.safeSetState({status:Gh},function(){p.props.onExited(x)});return}this.props.onExit(x),this.safeSetState({status:db},function(){p.props.onExiting(x),p.onTransitionEnd(g.exit,function(){p.safeSetState({status:Gh},function(){p.props.onExited(x)})})})},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(x){g&&(g=!1,v.nextCallback=null,p(x))},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),x=p==null&&!this.props.addEndListener;if(!g||x){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 x=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,x):q.cloneElement(q.Children.only(g),x))},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=db;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 x(S){this.removeEventListener(l,x,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 hb(n,l){return q.useMemo(()=>G3(n,l),[n,l])}function pb(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:x,childRef:S,...A},C)=>{const w=q.useRef(null),M=hb(w,S),L=j=>{M(pb(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 x=="function"?(j,Y)=>x(j,{...Y,ref:L}):q.cloneElement(x,{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",[db]:"collapsing",[vd]:"collapsing",[Ih]:"collapse show"},$3=q.forwardRef(({onEnter:n,onEntering:l,onEntered:u,onExit:f,onExiting:p,className:v,children:g,dimension:x="height",in:S=!1,timeout:A=300,mountOnEnter:C=!1,unmountOnExit:w=!1,appear:M=!1,getDimensionValue:L=V3,...B},z)=>{const O=typeof x=="function"?x():x,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:x}=q.useContext(wy);return l=dn(l,"accordion-collapse"),te.jsx($3,{ref:g,in:g2(x,p),...v,className:jt(u,l),children:te.jsx(n,{children:st.Children.only(f)})})});bE.displayName="AccordionCollapse";const mb=st.createContext({eventKey:""});mb.displayName="AccordionItemContext";const y2=st.forwardRef(({as:n="div",bsPrefix:l,className:u,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:x,onExited:S,...A},C)=>{l=dn(l,"accordion-body");const{eventKey:w}=q.useContext(mb);return te.jsx(bE,{eventKey:w,onEnter:f,onEntering:p,onEntered:v,onExit:g,onExiting:x,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(x=>x!==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(mb),x=P3(g,f),{activeEventKey:S}=q.useContext(wy);return n==="button"&&(p.type="button"),te.jsx(n,{ref:v,onClick:x,...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},x)=>(u=dn(u,"accordion-header"),te.jsx(n,{ref:x,...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(mb.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:x,alwaysOpen:S,...A}=cb(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,x&&`${C}-flush`)})})});E2.displayName="Accordion";const vb=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:x=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:x,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 gb=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}))});gb.displayName="Anchor";const _2=st.forwardRef(({className:n,bsPrefix:l,as:u=gb,...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},x=q.useCallback((S,A)=>{p2(S),f==null||f(S,A)},[f]);return te.jsx(v2,{ref:v,addEndListener:h2,...g,onEnter:x,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"])},yb=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}));yb.displayName="CloseButton",yb.propTypes=lM;const R2=st.forwardRef((n,l)=>{const{bsPrefix:u,show:f=!0,closeLabel:p="Close alert",closeVariant:v,className:g,children:x,variant:S="primary",onClose:A,dismissible:C,transition:w=bd,...M}=cb(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(yb,{onClick:B,"aria-label":p,variant:v}),x]});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},x)=>{const S=dn(n,"badge");return te.jsx(v,{ref:x,...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,...x},S)=>{const A=dn(l,"btn"),[C,{tagName:w}]=EE({tagName:n,disabled:v,...x}),M=w;return te.jsx(M,{...C,...x,ref:S,disabled:v,className:jt(g,A,p&&"active",u&&`${A}-${u}`,f&&`${A}-${f}`,x.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,x=f.current;return f.current=g,!g&&x&&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,bb=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,x=g.visualViewport,S=!F2()&&u,A=(f.left+(S&&x?x.offsetLeft:0))/p,C=(f.top+(S&&x?x.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 Sb(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=Sb(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,bb(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,x=Qc(u.placement),S=OE(x),A=[bu,Jo].indexOf(x)>=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,x=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"&&x==="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:x},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,x=u.roundOffsets,S=x===void 0?!0:x,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 Eb={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,x=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,Eb)}),x&&S.addEventListener("resize",u.update,Eb),function(){v&&A.forEach(function(C){C.removeEventListener("scroll",u.update,Eb)}),x&&S.removeEventListener("resize",u.update,Eb)}}const kM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jM,data:{}};var qM={left:"right",right:"left",bottom:"top",top:"bottom"};function xb(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,x=0,S=0;if(p){v=p.width,g=p.height;var A=F2();(A||!A&&l==="fixed")&&(x=p.offsetLeft,S=p.offsetTop)}return{width:v,height:g,x:x+_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),x=-f.scrollLeft+_E(n),S=-f.scrollTop;return Sd(p||u).direction==="rtl"&&(x+=Xm(u.clientWidth,p?p.clientWidth:0)-v),{width:v,height:g,x,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(Sb(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,x=l.concat(g);return p?x:x.concat(Ly(Sb(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(Sb(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],x=v.reduce(function(S,A){var C=Z2(n,A,f);return S.top=Xm(C.top,S.top),S.right=bb(C.right,S.right),S.bottom=bb(C.bottom,S.bottom),S.left=Xm(C.left,S.left),S},Z2(n,g,f));return x.width=x.right-x.left,x.height=x.bottom-x.top,x.x=x.left,x.y=x.top,x}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,x=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:x};break;case bu:S={x:l.x-u.width,y:x};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,x=u.boundary,S=x===void 0?mM:x,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,x=u.flipVariations,S=u.allowedAutoPlacements,A=S===void 0?q2:S,C=Xv(f),w=C?x?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=xb(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,x=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?[xb(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=xb(ce));var ge=xb(ce),We=[];if(v&&We.push(ee[_e]<=0),x&&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"}),x=zy(l,{altBoundary:!0}),S=J2(g,f),A=J2(x,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],x=v[1];return g=g||0,x=(x||0)*p,[bu,Jo].indexOf(f)>=0?{x,y:g}:{x:g,y:x}}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},{}),x=g[l.placement],S=x.x,A=x.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,x=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?bb(ge,_t):ge,ce,L?Xm(We,Et):We);j[U]=on,_e[U]=on-ce}if(x){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),x={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(f||!f&&!u)&&((Vh(l)!=="body"||RE(v))&&(x=o4(l)),Zc(l)?(S=Vv(l,!0),S.x+=l.clientLeft,S.y+=l.clientTop):v&&(S.x=_E(v))),{x:g.left+x.scrollLeft-S.x,y:g.top+x.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(x){if(!u.has(x)){var S=l.get(x);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(x,S,A){A===void 0&&(A=v);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},eC,v),modifiersData:{},elements:{reference:x,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(x)?Ly(x):x.contextElement?Ly(x.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(x,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,x=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({},x,{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 Ab=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=Ab(n);J1(!!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]),x=Zo(A=>{const C=Ab(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(Ab(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],x,!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,x,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:x,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:!!x,options:Object.assign({},(M=L.arrow)==null?void 0:M.options,{element:x})}),flip:Object.assign({enabled:!!f},L.flip)}))})}const Tb={prefix:String(Math.round(Math.random()*1e10)),current:0},rC=q.createContext(Tb),_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===Tb&&!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===Tb&&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${Tb.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 Cb(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),x=q.useContext(BE),S=q.useContext(Pv);let A=u;const C={role:p};if(x){!p&&x.role==="tablist"&&(C.role="tab");const w=x.getControllerId(n??null),M=x.getControlledId(n??null);C[Cb("event-key")]=n,C.id=w||f,A=u==null&&n!=null?x.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,x]=oC(Object.assign({key:Hy(p,v.href),active:f},v));return g[Cb("active")]=x.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=Cb("event-key"),dC=st.forwardRef((n,l)=>{let{as:u="div",onSelect:f,activeKey:p,role:v,onKeyDown:g}=n,x=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({},x,{onKeyDown:I,ref:X,role:v}))})})});dC.displayName="Nav";const Q4=Object.assign(dC,{Item:sC});var wb;function hC(n){if((!wb&&wb!==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),wb=l.offsetWidth-l.clientWidth,document.body.removeChild(l)}return wb}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=Cb("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),x=Zo(u);q.useEffect(()=>{l?g.current=!0:x(v.current)},[l,x]);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:x,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(x),[x]);return Object.assign({},A,{nodeRef:C},l&&{onEnter:L},u&&{onEntering:B},f&&{onEntered:z},p&&{onExit:O},v&&{onExiting:I},g&&{onExited:X},x&&{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 x=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(x,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:x=!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),x===!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 x&&(_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:x,...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`,x&&`${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 x=q.useContext(yC),S=Oy(()=>{x==null||x.onHide(),f==null||f()});return te.jsxs("div",{ref:g,...v,children:[p,u&&te.jsx(yb,{"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":x,"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=hb(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":x,"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 Ob=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=gb,active:f,eventKey:p,disabled:v=!1,...g},x)=>{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:x,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:x,navbarScroll:S,className:A,activeKey:C,...w}=cb(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=x??!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(Ab(n));let x=(g.defaultView||window).event;const S=yd(g,"keyup",A=>{if(A===x){x=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:x,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(x,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 Db=Object.assign(st.forwardRef(({bsPrefix:n,placement:l="right",className:u,style:f,children:p,body:v,arrowProps:g,hasDoneInitialMeasure:x,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&&!x&&(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:x,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(x==null?void 0:x.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 Db.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(pb(p))),l.ref=f.__wrapped||(f.__wrapped=p=>f(pb(p)))}const RC=st.forwardRef(({children:n,transition:l=bd,popperConfig:u={},rootClose:f=!1,placement:p="top",show:v=!1,...g},x)=>{const S=q.useRef({}),[A,C]=q.useState(null),[w,M]=T6(g.offset),L=hb(x,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:x,placement:S,flip:A=S&&S.indexOf("auto")!==-1,...C})=>{const w=q.useRef(null),M=hb(w,Fv(u)),L=cM(),B=q.useRef(""),[z,O]=l2(p,v,g),I=w6(x),{onFocus:X,onBlur:V,onClick:U}=typeof u!="function"?st.Children.only(u).props:{},D=Qe=>{M(pb(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"&&J1(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:x,as:S=gb,...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",x),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:x,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:x,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:x,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:x,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:x,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:x,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:x||!1,unmountOnExit:S||!1,getControlledId:z=>L(z,"tabpane"),getControllerId:z=>L(z,"tab")}),[w,C,g,x,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:x,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:x,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,x&&"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:x,activeKey:S=H6(x),...A}=cb(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(x,j6)}),te.jsx(JE,{children:sT(x,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,x,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(Db,{children:[n.actionProps.header&&te.jsx(Db.Header,{...u,children:te.jsx(Ra,{props:n.actionProps.header,currentData:((x=(g=(v=(p=n.componentProps)==null?void 0:p.currentData)==null?void 0:v.actions)==null?void 0:g[n.actionIndex])==null?void 0:x.header)??void 0,datafield:"header",path:n.componentProps.path+".actions."+n.actionIndex+".header"})}),te.jsx(Db.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 _b(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 _b=="function"&&_b;if(!C&&w)return w(A,!0);if(x)return x(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 x=typeof _b=="function"&&_b,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,x,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},x={},x[g.BooleanLiteral]="Boolean",x[g.EOF]="<end>",x[g.Identifier]="Identifier",x[g.Keyword]="Keyword",x[g.NullLiteral]="Null",x[g.NumericLiteral]="Numeric",x[g.Punctuator]="Punctuator",x[g.StringLiteral]="String",x[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
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
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:x[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&&gt(",");)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&&gt(":")?(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 x={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
79
  `+this.lexer.showPosition()+`
@@ -91,29 +91,29 @@ Expecting `+We.join(", ")+", got '"+(this.terminals_[ve]||ve)+"'":W="Parse error
91
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
92
  `)>=0,rt+Ke.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?De[0]+(he===""?"":he+`
93
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 x(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=x(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,x;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"?x=clearTimeout:x=A}catch{x=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(x===clearTimeout)return clearTimeout(U);if((x===A||!x)&&clearTimeout)return x=clearTimeout,clearTimeout(U);try{return x(U)}catch{try{return x.call(null,U)}catch{return x.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,x){x||(x={});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(x,w.name)?x[w.name]:S;if(w.type==="ThisExpression")return{}.hasOwnProperty.call(x,"this")?x.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(x).forEach(function(W){ve[W]=x[W]});for(var z=0;z<w.params.length;z++){var _e=w.params[z];if(_e.type=="Identifier")x[_e.name]=null;else return S}for(var z in pe)if(C(pe[z])===S)return S;x=ve;var ze=Object.keys(x),Ue=ze.map(function(W){return x[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")})}(WE)),WE.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 x=n.compareAsDates;if(n.hasOwnProperty("isNot"))return ml(x,g)!==ml(x,v(n.isNot));if(n.hasOwnProperty("is"))return ml(x,g)===ml(x,v(n.is));if(n.hasOwnProperty("containsNot")||n.hasOwnProperty("contains")){const S=n.hasOwnProperty("containsNot"),A=S?n.containsNot:n.contains,C=ml(x,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(x,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(x,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(x,w),g))return!S;return S}return n.hasOwnProperty(">")?ml(x,g)>ml(x,v(n[">"])):n.hasOwnProperty(">=")?ml(x,g)>=ml(x,v(n[">="])):n.hasOwnProperty("<")?ml(x,g)<ml(x,v(n["<"])):n.hasOwnProperty("<=")?ml(x,g)<=ml(x,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 x=(g==null?void 0:g.what)??void 0;if(!x)continue;const S=V6[x];let A;if(!S){if(A=jv[x]??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:x})=>te.jsx(v,{componentProps:n,actionProps:g,actionIndex:x,children:p}),(n==null?void 0:n.children)??null):null},ex=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},tx=({props:n,currentData:l,datafield:u,path:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),g=`${n.tag}`,x=n.extra??{},S=ex(n.attributes),A=ex(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(x).length?te.jsx(Ra,{props:x}):""]}):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(x).length?te.jsx(Ra,{props:x}):""]})})},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 x=f.templatePath.indexOf(g);p=f.templatePath.substring(0,x+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?ex(n):n;for(const g of Object.keys(v)){const x=ca({globalDataContext:l,templateContext:u,valueToEvaluate:v[g]});x&&(p[g]=x)}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},Rb=({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})},qy=({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,x=$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}=qy({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,{...x,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}=qy({currentPath:n.path,datafield:n.datafield,dataLocation:f.dataLocation,defaultValue:f.defaultFieldValue,globalDataContext:l,templateContext:u}),x=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:x,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:x}=p,S=A=>{x(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,x=n.dynamicOptions??void 0;let S;x?S=ca({valueToEvaluate:x,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:x,formDataPath:S}=qy({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:x??"",...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:x,formDataPath:S}=qy({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:x??"",...g})]})})},aN=({props:n,path:l,currentData:u,datafield:f})=>{const p=$s(n.attributes);return te.jsx(Ci,{...n,children:q.createElement(vb.Item,{...p,eventKey:f,key:f},n!=null&&n.header?te.jsx(vb.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(vb.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 Mb=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 Fy(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:Fy(n)||IC(n)?n.ownerDocument:document:document:document}const Ps=Mb?q.useLayoutEffect:q.useEffect;function Nb(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 Yy(n,l){l===void 0&&(l=[n]);const u=q.useRef(n);return Ps(()=>{u.current!==n&&(u.current=n)},l),u}function Gy(n,l){const u=q.useRef();return q.useMemo(()=>{const f=n(u.current);return u.current=f,f},[...l])}function Bb(n){const l=Nb(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 Lb(n){const l=q.useRef();return q.useEffect(()=>{l.current=n},[n]),l.current}let lx={};function Iy(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 x=Object.entries(g);for(const[S,A]of x){const C=v[S];C!=null&&(v[S]=C+n*A)}return v},{...l})}}const Wv=VC(1),zb=VC(-1);function uN(n){return"clientX"in n&&"clientY"in n}function Ub(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 Hb(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 x;return(x=g[p])==null?void 0:x.call(g,v)})},[n]),l]}const vN={draggable:`
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 x(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=x(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,x;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"?x=clearTimeout:x=A}catch{x=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(x===clearTimeout)return clearTimeout(U);if((x===A||!x)&&clearTimeout)return x=clearTimeout,clearTimeout(U);try{return x(U)}catch{try{return x.call(null,U)}catch{return x.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,x){x||(x={});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(x,w.name)?x[w.name]:S;if(w.type==="ThisExpression")return{}.hasOwnProperty.call(x,"this")?x.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(x).forEach(function(W){ve[W]=x[W]});for(var z=0;z<w.params.length;z++){var _e=w.params[z];if(_e.type=="Identifier")x[_e.name]=null;else return S}for(var z in pe)if(C(pe[z])===S)return S;x=ve;var ze=Object.keys(x),Ue=ze.map(function(W){return x[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 x=n.compareAsDates;if(n.hasOwnProperty("isNot"))return ml(x,g)!==ml(x,v(n.isNot));if(n.hasOwnProperty("is"))return ml(x,g)===ml(x,v(n.is));if(n.hasOwnProperty("containsNot")||n.hasOwnProperty("contains")){const S=n.hasOwnProperty("containsNot"),A=S?n.containsNot:n.contains,C=ml(x,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(x,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(x,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(x,w),g))return!S;return S}return n.hasOwnProperty(">")?ml(x,g)>ml(x,v(n[">"])):n.hasOwnProperty(">=")?ml(x,g)>=ml(x,v(n[">="])):n.hasOwnProperty("<")?ml(x,g)<ml(x,v(n["<"])):n.hasOwnProperty("<=")?ml(x,g)<=ml(x,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 x=(g==null?void 0:g.what)??void 0;if(!x)continue;const S=V6[x];let A;if(!S){if(A=jv[x]??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:x})=>te.jsx(v,{componentProps:n,actionProps:g,actionIndex:x,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},Rb=({props:n,currentData:l,datafield:u,path:f})=>{const p=q.useContext(Aa),v=q.useContext(ua),g=`${n.tag}`,x=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(x).length?te.jsx(Ra,{props:x}):""]}):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(x).length?te.jsx(Ra,{props:x}):""]})})},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 x=f.templatePath.indexOf(g);p=f.templatePath.substring(0,x+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 x=ca({globalDataContext:l,templateContext:u,valueToEvaluate:v[g]});x&&(p[g]=x)}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})},qy=({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,x=$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}=qy({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,{...x,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}=qy({currentPath:n.path,datafield:n.datafield,dataLocation:f.dataLocation,defaultValue:f.defaultFieldValue,globalDataContext:l,templateContext:u}),x=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:x,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:x}=p,S=A=>{x(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,x=n.dynamicOptions??void 0;let S;x?S=ca({valueToEvaluate:x,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:x,formDataPath:S}=qy({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:x??"",...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:x,formDataPath:S}=qy({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:x??"",...g})]})})},aN=({props:n,path:l,currentData:u,datafield:f})=>{const p=$s(n.attributes);return te.jsx(Ci,{...n,children:q.createElement(vb.Item,{...p,eventKey:f,key:f},n!=null&&n.header?te.jsx(vb.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(vb.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 Fy(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:Fy(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 Yy(n,l){l===void 0&&(l=[n]);const u=q.useRef(n);return Ps(()=>{u.current!==n&&(u.current=n)},l),u}function Gy(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 Iy(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 x=Object.entries(g);for(const[S,A]of x){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 x;return(x=g[p])==null?void 0:x.call(g,v)})},[n]),l]}const vN={draggable:`
95
95
  To pick up a draggable item, press the space bar.
96
96
  While dragging, use the arrow keys to move the item.
97
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(),x=Iy("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:x,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 jb(){}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=Hb(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:x}=g,S=u.get(x);if(S){const A=EN(PC(S),p);v.push({id:x,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,x=v-u;if(f<p&&u<v){const S=l.width*l.height,A=n.width*n.height,C=g*x,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,x=u.get(g);if(x){const S=ON(x,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,x)=>({...g,top:g.top+n*x.y,bottom:g.bottom+n*x.y,left:g.left+n*x.x,right:g.right+n*x.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:x}=f,S=n.left-g-(1-p)*parseFloat(u),A=n.top-x-(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:x,right:S}=u;return{top:f,left:p,width:v,height:g,bottom:x,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(!Fy(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!Mb||!n?null:Kv(n)?n:rx(n)?ix(n)||n===Jv(n).scrollingElement?window:Fy(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!Mb||!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,x=n.scrollLeft>=f.x;return{isTop:p,isLeft:v,isBottom:g,isRight:x,maxScroll:f,minScroll:l}}const HN={x:.2,y:.2};function jN(n,l,u,f,p){let{top:v,left:g,right:x,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&&x>=l.right-z.width?(L.x=wi.Forward,B.x=f*Math.abs((l.right-z.width-x)/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,x]of YN)for(const S of g)Object.defineProperty(this,S,{get:()=>{const A=x(f),C=p[v]-A;return this.rect[S]+C},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Vy{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 Vy(Jv(u)),this.windowListeners=new Vy(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(Ub(l)){const{active:u,context:f,options:p}=this.props,{keyboardCodes:v=lw,coordinateGetter:g=VN,scrollBehavior:x="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=zb(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:x});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:x});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:x});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:x});break}}this.handleMove(l,Wv(zb(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 x=v.activatorNode.current;return x&&n.target!==x?!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 Vy(this.document),this.listeners=new Vy(f),this.windowListeners=new Vy(Il(g)),this.initialCoordinates=(p=Hb(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:x}}=v;if(!p)return;const S=(u=Hb(l))!=null?u:Qs,A=zb(p,S);if(!f&&x){if(ow(x)){if(x.tolerance!=null&&fx(A,x.tolerance))return this.handleCancel();if(fx(A,x.distance))return this.handleStart()}if(sw(x)&&fx(A,x.tolerance))return this.handleCancel();this.handlePending(x,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 Xy;(function(n){n[n.Pointer=0]="Pointer",n[n.DraggableRect=1]="DraggableRect"})(Xy||(Xy={}));var kb;(function(n){n[n.TreeOrder=0]="TreeOrder",n[n.ReversedTreeOrder=1]="ReversedTreeOrder"})(kb||(kb={}));function ZN(n){let{acceleration:l,activator:u=Xy.Pointer,canScroll:f,draggingRect:p,enabled:v,interval:g=5,order:x=kb.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 Xy.Pointer:return S?{top:S.y,bottom:S.y,left:S.x,right:S.x}:null;case Xy.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(()=>x===kb.TreeOrder?[...A].reverse():A,[x,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=Lb(l);return Gy(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 Gy(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 $y;(function(n){n[n.Always=0]="Always",n[n.BeforeDragging=1]="BeforeDragging",n[n.WhileDragging=2]="WhileDragging"})($y||($y={}));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:x,measure:S,strategy:A}=p,C=q.useRef(n),w=O(),M=Yy(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=Gy(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 x!="number"||B.current!==null||(B.current=setTimeout(()=>{L(),B.current=null},x))},[x,w,L,...f]),{droppableRects:z,measureDroppableContainers:L,measuringScheduled:v!=null};function O(){switch(A){case $y.Always:return!1;case $y.BeforeDragging:return u;default:return!u}}}function gx(n,l){return Gy(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=Nb(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 qb(n){let{callback:l,disabled:u}=n;const f=Nb(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}}}}),x=qb({callback:v});return Ps(()=>{v(),n?(x==null||x.observe(n),g==null||g.observe(document.body,{childList:!0,subtree:!0})):(x==null||x.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=Gy(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(x=>x?(x.set(g,sx(g)),new Map(x)):null)},[]);return q.useEffect(()=>{const v=f.current;if(n!==v){g(v);const x=n.map(S=>{const A=ox(S);return A?(A.addEventListener("scroll",p,{passive:!0}),[A,sx(A)]):null}).filter(S=>S!=null);u(x.length?new Map(x):null),f.current=n}return()=>{g(n),g(v)};function g(x){x.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?zb(n,u.current):Qs}function oB(n){q.useEffect(()=>{if(!Mb)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 x=qb({callback:g});return Ps(()=>{x==null||x.disconnect(),g(),n.forEach(S=>x==null?void 0:x.observe(S))},[n]),p}function vw(n){if(!n)return null;if(n.children.length>1)return n;const l=n.children[0];return Fy(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(Fy(C)){f(w=>{const M=l(C);return w?{...w,width:M.width,height:M.height}:M});break}},[l]),v=qb({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]),[x,S]=Bb(g);return q.useMemo(()=>({nodeRef:x,rect:u,setRef:S}),[u,x,S])}const dB=[{sensor:hx,options:{}},{sensor:uw,options:{}}],hB={current:{}},Fb={draggable:{measure:KC},droppable:{measure:KC,strategy:$y.WhileDragging,frequency:vx.Optimized},dragOverlay:{measure:eg}};class Py 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 Py,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:jb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Fb,measureDroppableContainers:jb,windowRect:null,measuringScheduled:!1},gw={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:jb,draggableNodes:new Map,over:null,measureDroppableContainers:jb},Qy=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 Py}}}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 Py(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 Py(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 Py(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(Qy),v=Lb(f),g=Lb(u==null?void 0:u.id);return q.useEffect(()=>{if(!l&&!f&&v&&g!=null){if(!Ub(v)||document.activeElement===v.target)return;const x=p.get(g);if(!x)return;const{activatorNode:S,node:A}=x;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:{...Fb.draggable,...n==null?void 0:n.draggable},droppable:{...Fb.droppable,...n==null?void 0:n.droppable},dragOverlay:{...Fb.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:x}=typeof p=="boolean"?{x:p,y:p}:p;Ps(()=>{if(!g&&!x||!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),x||(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,x,f,u])}const Yb=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:x,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=Yy(B,Object.values(B)),W=Iy("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?Hb(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(Qy.Provider,{value:Xl},q.createElement(yw.Provider,{value:ni},q.createElement(Yb.Provider,{value:ti},A)),q.createElement(gB,{disabled:(x==null?void 0:x.restoreFocus)===!1})),q.createElement(yN,{...x,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=Iy(xB),{activators:g,activatorEvent:x,active:S,activeNodeRect:A,ariaDescribedById:C,draggableNodes:w,over:M}=q.useContext(Qy),{role:L=Sw,roleDescription:B="draggable",tabIndex:z=0}=p??{},O=(S==null?void 0:S.id)===l,I=q.useContext(O?Yb:EB),[X,V]=Bb(),[U,D]=Bb(),j=sB(g,l),Y=Yy(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:x,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=Iy(TB),{active:g,dispatch:x,over:S,measureDroppableContainers:A}=q.useContext(Qy),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=Yy(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=qb({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]=Bb(U),Y=Yy(l);return q.useEffect(()=>{!V||!D.current||(V.disconnect(),w.current=!1,V.observe(D.current))},[D,V]),q.useEffect(()=>(x({type:ei.RegisterDroppable,element:{id:f,key:v,disabled:u,node:D,rect:M,data:Y}}),()=>x({type:ei.UnregisterDroppable,key:v,id:f})),[f]),q.useEffect(()=>{u!==C.current.disabled&&(x({type:ei.SetDroppableDisabled,id:f,key:v,disabled:u}),C.current.disabled=u)},[f,v,u,x]),{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),x=Lb(u);return!u&&!f&&x&&p(x),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(Qy.Provider,{value:gw},q.createElement(Yb.Provider,{value:DB},l))}const RB={position:"fixed",touchAction:"none"},MB=n=>Ub(n)?"transform 250ms ease":void 0,NB=q.forwardRef((n,l)=>{let{as:u,activatorEvent:f,adjustScale:p,children:v,className:g,rect:x,style:S,transform:A,transition:C=MB}=n;if(!x)return null;const w=p?A:{...A,scaleX:1,scaleY:1},M={...RB,width:x.width,height:x.height,top:x.top,left:x.left,transform:Kc.Transform.toString(w),transformOrigin:p&&f?xN(f,x):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[x,S]of Object.entries(v.active))S!==void 0&&(p[x]=u.node.style.getPropertyValue(x),u.node.style.setProperty(x,S));if(v!=null&&v.dragOverlay)for(const[x,S]of Object.entries(v.dragOverlay))S!==void 0&&f.node.style.setProperty(x,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 Nb((v,g)=>{if(l===null)return;const x=u.get(v);if(!x)return;const S=x.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:x.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:x,transform:S,...A}=v;if(!l)return;const C={x:x.rect.left-g.rect.left,y:x.rect.top-g.rect.top},w={scaleX:S.scaleX!==1?g.rect.width*S.scaleX/x.rect.width:1,scaleY:S.scaleY!==1?g.rect.height*S.scaleY/x.rect.height:1},M={x:S.x-C.x,y:S.y-C.y,...w},L=p({...A,active:g,dragOverlay:x,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:x,...A}),I=x.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:x="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(Yb),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:x,activatorEvent:C,adjustScale:l,className:S,transition:v,rect:oe,style:{zIndex:A,...p},transform:ie},u):null))});function Zy(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 Gb(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=Zy(l,f,u),g=l[p],x=v[p];return!x||!g?null:{x:x.left-g.left,y:x.top-g.top,scaleX:x.width/g.width,scaleY:x.height/g.height}},Ib={scaleX:1,scaleY:1},qB=n=>{var l;let{activeIndex:u,activeNodeRect:f,index:p,rects:v,overIndex:g}=n;const x=(l=v[u])!=null?l:f;if(!x)return null;if(p===u){const A=v[g];return A?{x:0,y:u<g?A.top+A.height-(x.top+x.height):A.top-x.top,...Ib}:null}const S=FB(v,p,u);return p>u&&p<=g?{x:0,y:-x.height-S,...Ib}:p<u&&p>=g?{x:0,y:x.height+S,...Ib}:{x:0,y:0,...Ib}};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:x,droppableRects:S,over:A,measureDroppableContainers:C}=Ew(),w=Iy(Tw,u),M=x.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 Zy(u,f,p).indexOf(l)},IB=n=>{let{containerId:l,isSorting:u,wasDragging:f,index:p,items:v,newIndex:g,previousItems:x,previousContainerId:S,transition:A}=n;return!A||!f||x!==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),x=q.useRef(u);return Ps(()=>{if(!l&&u!==x.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!==x.current&&(x.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:x,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&&Gb(M)&&Gb(O),he=!I&&ce,De=he&&ne?W:null,rt=ne?De??(x??X)({rects:z,activeNodeRect:ze,activeIndex:M,overIndex:O,index:U}):null,Ke=Gb(M)&&Gb(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&&!Ub(_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 Vb(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,x=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"},x)),!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:x,{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 x,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=Zy(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=((x=pe==null?void 0:pe.depth)!=null?x:-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 x,S=Ed({},v,{parentId:l,depth:u,index:g,isLast:n.length===g+1,parent:f});return[].concat(p,[S],Rw((x=v.children)!=null?x:[],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=Vb(v),x;!(x=g()).done;){var S,A,C,w=x.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 Xb(n,l){for(var u=Vb(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 x=Xb(g,l);if(x)return x}}}function Mw(n,l){for(var u=[],f=Vb(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=Vb(n),v;!(v=p()).done;){var g,x=v.value;if(x.id===l){x[u]=f(x[u]);continue}(g=x.children)!=null&&g.length&&(x.children=Nw(x.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=Xb(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,x=l.disableSorting,S=l.sortableProps,A=l.keepGhostInPlace,C=bx(l,s8),w=QB(Ed({id:u,animateLayoutChanges:c8,disabled:x},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:x,isOver:U,isOverParent:j}))},d8=q.memo(f8),h8=function(l){var u=function(p){var v=p.activeIndex,g=p.activeNodeRect,x=p.index,S=p.rects,A=p.overIndex;return l(v,A)?qB({activeIndex:v,activeNodeRect:g,index:x,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,x=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,x??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=Xb(ce.current,Ne);v(Mw(ce.current,Ne),{type:"removed",item:Ce})},[v]),We=q.useCallback(function(Ce){var nt=Xb(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=Zy(_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=Zy(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}=qy({currentPath:l,datafield:u,dataLocation:n.dataLocation,defaultValue:n.defaultFieldValue,globalDataContext:f,templateContext:p});if(v===void 0)return null;const x=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:x,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 x;g?x=ca({valueToEvaluate:g,globalDataContext:p,templateContext:v})??[]:x=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=x.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),x=$s(u.attributes),{showBoolPath:S}=u,A=typeof S!="string";x.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=x.className?x.className.split(" "):[];return w.push("reactive-json"),x.className=w.join(" "),te.jsx(Ci,{...u,children:te.jsxs(Ob,{...x,onHide:C,children:[(u.headerTitle||u.closeButton)&&te.jsx(Ob.Header,{closeButton:u.closeButton,children:te.jsx(Ob.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(Ob.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 Ky={},tg={},$b={},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 x=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=x;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 x(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(x,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(x,C,w)}:function(x,S,A,C){C===void 0&&(C=A),x[C]=S[A]}),u=Qm&&Qm.__exportStar||function(x,S){for(var A in x)A!=="default"&&!Object.prototype.hasOwnProperty.call(S,A)&&l(S,x,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 x(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 x.prototype.onparserinit=function(S){this.parser=S},x.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},x.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},x.prototype.onerror=function(S){this.handleCallback(S)},x.prototype.onclosetag=function(){this.lastNode=null;var S=this.tagStack.pop();this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(S)},x.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)},x.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}},x.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},x.prototype.oncommentend=function(){this.lastNode=null},x.prototype.oncdatastart=function(){var S=new p.Text(""),A=new p.CDATA([S]);this.addNode(A),S.parent=A,this.lastNode=S},x.prototype.oncdataend=function(){this.lastNode=null},x.prototype.onprocessinginstruction=function(S,A){var C=new p.ProcessingInstruction(S,A);this.addNode(C)},x.prototype.handleCallback=function(S){if(typeof this.callback=="function")this.callback(S,this.dom);else if(S)throw S},x.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},x}();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=x;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 x(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=x(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 $b;Vw=1,Object.defineProperty($b,"__esModule",{value:!0}),$b.default=z;var n=Iw(),l="html",u="head",f="body",p=/<([a-zA-Z]+[0-9]?)/,v=/<head[^]*>/i,g=/<body[^]*>/i,x=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)},x=S}if(typeof document=="object"&&document.implementation){var M=document.implementation.createHTMLDocument();x=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=x(O).querySelectorAll(U);return g.test(O)&&v.test(O)?Y[0].parentNode.childNodes:Y}default:{if(B)return B(O);var j=x(O,f).querySelector(f);return j.childNodes}}}return $b}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),x=g?g[1]:void 0;return(0,u.formatDOM)((0,l.default)(v),null,x)}return tg}var Pb={},ts={},Jy={},$w;function _8(){if($w)return Jy;$w=1;var n=0;Jy.SAME=n;var l=1;return Jy.CAMELCASE=l,Jy.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},Jy}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 x(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=x,ts.isCustomAttribute=V,ts.possibleStandardNames=U,ts}var Wy={},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]*/,x=/^\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(x,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),x=typeof p=="function";return g.forEach(function(S){if(S.type==="declaration"){var A=S.property,C=S.value;x?p(A,C,S):C&&(v=v||{},v[A]=C)}}),v}return ng}var e1={},Kw;function B8(){if(Kw)return e1;Kw=1,Object.defineProperty(e1,"__esModule",{value:!0}),e1.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()},x=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,x):A=A.replace(f,x),A.replace(l,g))};return e1.camelCase=S,e1}var t1,Jw;function L8(){if(Jw)return t1;Jw=1;var n=t1&&t1.__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(x,S){x&&S&&(g[(0,u.camelCase)(x,v)]=S)}),g}return f.default=f,t1=f,t1}var Ww;function eO(){return Ww||(Ww=1,function(n){var l=Wy&&Wy.__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=x;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 x(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}(Wy)),Wy}var tO;function nO(){if(tO)return Pb;tO=1,Object.defineProperty(Pb,"__esModule",{value:!0}),Pb.default=v;var n=R8(),l=eO(),u=["checked","value"],f=["input","select","textarea"],p={reset:!0,submit:!0};function v(x,S){x===void 0&&(x={});var A={},C=!!(x.type&&p[x.type]);for(var w in x){var M=x[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)(x.style,A),A}function g(x){return n.possibleStandardNames[x]}return Pb}var ag={},aO;function z8(){if(aO)return ag;aO=1;var n=ag&&ag.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};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(x,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=x.length,I=0;I<O;I++){var X=x[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(x){return f.PRESERVE_CUSTOM_ATTRIBUTES&&x.type==="tag"&&(0,f.isCustomComponent)(x.name,x.attribs)}return ag}var rO;function U8(){return rO||(rO=1,function(n){var l=Ky&&Ky.__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=x;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 x(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):[]}}(Ky)),Ky}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,x)=>{var A;const S=$m({attrs:g.attributes,globalDataContext:f,templateContext:p,options:{normalizeBeforeEvaluation:!0}});return q.createElement(U6,{...S,key:x},te.jsx(Ra,{currentData:((A=n==null?void 0:n[x])==null?void 0:A.content)??void 0,datafield:"content",path:(l??"")+"."+x+".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 x=V8({templateContexts:{globalDataContext:l,templateContext:u}},p),S=f==="root"?g.getRootContext().templateData:g.templateData;return qC.query(S,x).length},$8=n=>{var x,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=Qb(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:((x=n.currentData)==null?void 0:x.content)??void 0})});case"global":default:return l.templateData=Qb(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})})}},Qb=(n,l)=>{if(Array.isArray(n)){const u={};return n.forEach((f,p)=>{l(f)&&(u[p]=Qb(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]=Qb(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 x=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(x)},n.interval);return()=>clearInterval(x)},[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),x=p*f,S=x+f,A=M=>Math.ceil(M.length/f);return{firstShownItemIndex:x,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(x,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)??[],x=(n==null?void 0:n.singleOption)??void 0,S=!!x,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=x;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??{},x={AccordionItem:aN,CheckBoxField:Q6,Count:X8,DateField:W6,DataFilter:$8,DelayedActions:P8,FolderSortableTree:S8,FormatNumeral:x8,Html:tx,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,Ijiji:FC},S={BsAccordion:vb,BsAlert:uM,BsBadge:M2,BsButton:N2},{element:A}=p;if(l===void 0&&(l=""),n!=null&&n.type){let C,w;const M=[{registryId:"module",components:x},{registryId:"bootstrap",components:S}];for(;M.length;){const{registryId:L,components:B}=M.shift();if(w=B[n.type]??void 0,w!==void 0){C=L;break}}return w===void 0&&(w=tx,C="module"),C==="bootstrap"?te.jsx(G8,{bsComponent:w,path:f,props:n,currentData:l,datafield:u}):(tx===w&&(n.tag=n.tag??n.type),te.jsx(w,{path:f,props:n,currentData:l,datafield:u}))}if(n!=null&&n.load){let C;const w=(n==null?void 0:n.customDataLocation)??void 0;if(w)debugger;const M=w?ca({globalDataContext:p,templateContext:v,valueToEvaluate:w}):l,L=w?Wo({dataLocation:w,currentPath:f,globalDataContext:p,templateContext:v}):f;typeof n.load=="function"?C=n.load(M):C=A[n.load];const{load:B,customDataLocation:z,...O}=n;return C={...C,...O},n.keepTemplateContext?te.jsx(Ra,{currentData:M,datafield:u,path:L,props:C}):te.jsx(ua.Provider,{value:{templateData:M,templatePath:L},children:te.jsx(Ra,{currentData:M,datafield:u,path:L,props:C})})}return Array.isArray(n)?n.map((C,w)=>te.jsx(Ra,{currentData:l[w]??void 0,datafield:w,path:f+"."+w,props:C??void 0},f+"."+w)):typeof n=="object"?Object.entries(n).map(([C,w])=>te.jsx(Ra,{currentData:l[C]??void 0,datafield:C??void 0,path:f+"."+C,props:w},f+"."+C)):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+=`
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(),x=Iy("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:x,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:x}=g,S=u.get(x);if(S){const A=EN(PC(S),p);v.push({id:x,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,x=v-u;if(f<p&&u<v){const S=l.width*l.height,A=n.width*n.height,C=g*x,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,x=u.get(g);if(x){const S=ON(x,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,x)=>({...g,top:g.top+n*x.y,bottom:g.bottom+n*x.y,left:g.left+n*x.x,right:g.right+n*x.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:x}=f,S=n.left-g-(1-p)*parseFloat(u),A=n.top-x-(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:x,right:S}=u;return{top:f,left:p,width:v,height:g,bottom:x,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(!Fy(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:Fy(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,x=n.scrollLeft>=f.x;return{isTop:p,isLeft:v,isBottom:g,isRight:x,maxScroll:f,minScroll:l}}const HN={x:.2,y:.2};function jN(n,l,u,f,p){let{top:v,left:g,right:x,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&&x>=l.right-z.width?(L.x=wi.Forward,B.x=f*Math.abs((l.right-z.width-x)/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,x]of YN)for(const S of g)Object.defineProperty(this,S,{get:()=>{const A=x(f),C=p[v]-A;return this.rect[S]+C},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Vy{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 Vy(Jv(u)),this.windowListeners=new Vy(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:x="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:x});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:x});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:x});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:x});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 x=v.activatorNode.current;return x&&n.target!==x?!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 Vy(this.document),this.listeners=new Vy(f),this.windowListeners=new Vy(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:x}}=v;if(!p)return;const S=(u=jb(l))!=null?u:Qs,A=Ub(p,S);if(!f&&x){if(ow(x)){if(x.tolerance!=null&&fx(A,x.tolerance))return this.handleCancel();if(fx(A,x.distance))return this.handleStart()}if(sw(x)&&fx(A,x.tolerance))return this.handleCancel();this.handlePending(x,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 Xy;(function(n){n[n.Pointer=0]="Pointer",n[n.DraggableRect=1]="DraggableRect"})(Xy||(Xy={}));var qb;(function(n){n[n.TreeOrder=0]="TreeOrder",n[n.ReversedTreeOrder=1]="ReversedTreeOrder"})(qb||(qb={}));function ZN(n){let{acceleration:l,activator:u=Xy.Pointer,canScroll:f,draggingRect:p,enabled:v,interval:g=5,order:x=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 Xy.Pointer:return S?{top:S.y,bottom:S.y,left:S.x,right:S.x}:null;case Xy.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(()=>x===qb.TreeOrder?[...A].reverse():A,[x,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 Gy(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 Gy(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 $y;(function(n){n[n.Always=0]="Always",n[n.BeforeDragging=1]="BeforeDragging",n[n.WhileDragging=2]="WhileDragging"})($y||($y={}));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:x,measure:S,strategy:A}=p,C=q.useRef(n),w=O(),M=Yy(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=Gy(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 x!="number"||B.current!==null||(B.current=setTimeout(()=>{L(),B.current=null},x))},[x,w,L,...f]),{droppableRects:z,measureDroppableContainers:L,measuringScheduled:v!=null};function O(){switch(A){case $y.Always:return!1;case $y.BeforeDragging:return u;default:return!u}}}function gx(n,l){return Gy(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}}}}),x=Fb({callback:v});return Ps(()=>{v(),n?(x==null||x.observe(n),g==null||g.observe(document.body,{childList:!0,subtree:!0})):(x==null||x.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=Gy(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(x=>x?(x.set(g,sx(g)),new Map(x)):null)},[]);return q.useEffect(()=>{const v=f.current;if(n!==v){g(v);const x=n.map(S=>{const A=ox(S);return A?(A.addEventListener("scroll",p,{passive:!0}),[A,sx(A)]):null}).filter(S=>S!=null);u(x.length?new Map(x):null),f.current=n}return()=>{g(n),g(v)};function g(x){x.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 x=Fb({callback:g});return Ps(()=>{x==null||x.disconnect(),g(),n.forEach(S=>x==null?void 0:x.observe(S))},[n]),p}function vw(n){if(!n)return null;if(n.children.length>1)return n;const l=n.children[0];return Fy(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(Fy(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]),[x,S]=Lb(g);return q.useMemo(()=>({nodeRef:x,rect:u,setRef:S}),[u,x,S])}const dB=[{sensor:hx,options:{}},{sensor:uw,options:{}}],hB={current:{}},Yb={draggable:{measure:KC},droppable:{measure:KC,strategy:$y.WhileDragging,frequency:vx.Optimized},dragOverlay:{measure:eg}};class Py 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 Py,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},Qy=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 Py}}}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 Py(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 Py(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 Py(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(Qy),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 x=p.get(g);if(!x)return;const{activatorNode:S,node:A}=x;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:x}=typeof p=="boolean"?{x:p,y:p}:p;Ps(()=>{if(!g&&!x||!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),x||(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,x,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:x,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=Yy(B,Object.values(B)),W=Iy("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(Qy.Provider,{value:Xl},q.createElement(yw.Provider,{value:ni},q.createElement(Gb.Provider,{value:ti},A)),q.createElement(gB,{disabled:(x==null?void 0:x.restoreFocus)===!1})),q.createElement(yN,{...x,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=Iy(xB),{activators:g,activatorEvent:x,active:S,activeNodeRect:A,ariaDescribedById:C,draggableNodes:w,over:M}=q.useContext(Qy),{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=Yy(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:x,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=Iy(TB),{active:g,dispatch:x,over:S,measureDroppableContainers:A}=q.useContext(Qy),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=Yy(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=Yy(l);return q.useEffect(()=>{!V||!D.current||(V.disconnect(),w.current=!1,V.observe(D.current))},[D,V]),q.useEffect(()=>(x({type:ei.RegisterDroppable,element:{id:f,key:v,disabled:u,node:D,rect:M,data:Y}}),()=>x({type:ei.UnregisterDroppable,key:v,id:f})),[f]),q.useEffect(()=>{u!==C.current.disabled&&(x({type:ei.SetDroppableDisabled,id:f,key:v,disabled:u}),C.current.disabled=u)},[f,v,u,x]),{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),x=zb(u);return!u&&!f&&x&&p(x),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(Qy.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:x,style:S,transform:A,transition:C=MB}=n;if(!x)return null;const w=p?A:{...A,scaleX:1,scaleY:1},M={...RB,width:x.width,height:x.height,top:x.top,left:x.left,transform:Kc.Transform.toString(w),transformOrigin:p&&f?xN(f,x):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[x,S]of Object.entries(v.active))S!==void 0&&(p[x]=u.node.style.getPropertyValue(x),u.node.style.setProperty(x,S));if(v!=null&&v.dragOverlay)for(const[x,S]of Object.entries(v.dragOverlay))S!==void 0&&f.node.style.setProperty(x,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 x=u.get(v);if(!x)return;const S=x.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:x.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:x,transform:S,...A}=v;if(!l)return;const C={x:x.rect.left-g.rect.left,y:x.rect.top-g.rect.top},w={scaleX:S.scaleX!==1?g.rect.width*S.scaleX/x.rect.width:1,scaleY:S.scaleY!==1?g.rect.height*S.scaleY/x.rect.height:1},M={x:S.x-C.x,y:S.y-C.y,...w},L=p({...A,active:g,dragOverlay:x,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:x,...A}),I=x.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:x="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:x,activatorEvent:C,adjustScale:l,className:S,transition:v,rect:oe,style:{zIndex:A,...p},transform:ie},u):null))});function Zy(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=Zy(l,f,u),g=l[p],x=v[p];return!x||!g?null:{x:x.left-g.left,y:x.top-g.top,scaleX:x.width/g.width,scaleY:x.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 x=(l=v[u])!=null?l:f;if(!x)return null;if(p===u){const A=v[g];return A?{x:0,y:u<g?A.top+A.height-(x.top+x.height):A.top-x.top,...Vb}:null}const S=FB(v,p,u);return p>u&&p<=g?{x:0,y:-x.height-S,...Vb}:p<u&&p>=g?{x:0,y:x.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:x,droppableRects:S,over:A,measureDroppableContainers:C}=Ew(),w=Iy(Tw,u),M=x.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 Zy(u,f,p).indexOf(l)},IB=n=>{let{containerId:l,isSorting:u,wasDragging:f,index:p,items:v,newIndex:g,previousItems:x,previousContainerId:S,transition:A}=n;return!A||!f||x!==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),x=q.useRef(u);return Ps(()=>{if(!l&&u!==x.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!==x.current&&(x.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:x,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??(x??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,x=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"},x)),!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:x,{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 x,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=Zy(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=((x=pe==null?void 0:pe.depth)!=null?x:-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 x,S=Ed({},v,{parentId:l,depth:u,index:g,isLast:n.length===g+1,parent:f});return[].concat(p,[S],Rw((x=v.children)!=null?x:[],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),x;!(x=g()).done;){var S,A,C,w=x.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 x=$b(g,l);if(x)return x}}}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,x=v.value;if(x.id===l){x[u]=f(x[u]);continue}(g=x.children)!=null&&g.length&&(x.children=Nw(x.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,x=l.disableSorting,S=l.sortableProps,A=l.keepGhostInPlace,C=bx(l,s8),w=QB(Ed({id:u,animateLayoutChanges:c8,disabled:x},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:x,isOver:U,isOverParent:j}))},d8=q.memo(f8),h8=function(l){var u=function(p){var v=p.activeIndex,g=p.activeNodeRect,x=p.index,S=p.rects,A=p.overIndex;return l(v,A)?qB({activeIndex:v,activeNodeRect:g,index:x,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,x=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,x??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=Zy(_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=Zy(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}=qy({currentPath:l,datafield:u,dataLocation:n.dataLocation,defaultValue:n.defaultFieldValue,globalDataContext:f,templateContext:p});if(v===void 0)return null;const x=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:x,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 x;g?x=ca({valueToEvaluate:g,globalDataContext:p,templateContext:v})??[]:x=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=x.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),x=$s(u.attributes),{showBoolPath:S}=u,A=typeof S!="string";x.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=x.className?x.className.split(" "):[];return w.push("reactive-json"),x.className=w.join(" "),te.jsx(Ci,{...u,children:te.jsxs(Ob,{...x,onHide:C,children:[(u.headerTitle||u.closeButton)&&te.jsx(Ob.Header,{closeButton:u.closeButton,children:te.jsx(Ob.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(Ob.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 Ky={},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 x=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=x;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 x(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(x,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(x,C,w)}:function(x,S,A,C){C===void 0&&(C=A),x[C]=S[A]}),u=Qm&&Qm.__exportStar||function(x,S){for(var A in x)A!=="default"&&!Object.prototype.hasOwnProperty.call(S,A)&&l(S,x,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 x(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 x.prototype.onparserinit=function(S){this.parser=S},x.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},x.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},x.prototype.onerror=function(S){this.handleCallback(S)},x.prototype.onclosetag=function(){this.lastNode=null;var S=this.tagStack.pop();this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(S)},x.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)},x.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}},x.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},x.prototype.oncommentend=function(){this.lastNode=null},x.prototype.oncdatastart=function(){var S=new p.Text(""),A=new p.CDATA([S]);this.addNode(A),S.parent=A,this.lastNode=S},x.prototype.oncdataend=function(){this.lastNode=null},x.prototype.onprocessinginstruction=function(S,A){var C=new p.ProcessingInstruction(S,A);this.addNode(C)},x.prototype.handleCallback=function(S){if(typeof this.callback=="function")this.callback(S,this.dom);else if(S)throw S},x.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},x}();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=x;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 x(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=x(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,x=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)},x=S}if(typeof document=="object"&&document.implementation){var M=document.implementation.createHTMLDocument();x=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=x(O).querySelectorAll(U);return g.test(O)&&v.test(O)?Y[0].parentNode.childNodes:Y}default:{if(B)return B(O);var j=x(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),x=g?g[1]:void 0;return(0,u.formatDOM)((0,l.default)(v),null,x)}return tg}var Qb={},ts={},Jy={},$w;function _8(){if($w)return Jy;$w=1;var n=0;Jy.SAME=n;var l=1;return Jy.CAMELCASE=l,Jy.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},Jy}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 x(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=x,ts.isCustomAttribute=V,ts.possibleStandardNames=U,ts}var Wy={},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]*/,x=/^\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(x,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),x=typeof p=="function";return g.forEach(function(S){if(S.type==="declaration"){var A=S.property,C=S.value;x?p(A,C,S):C&&(v=v||{},v[A]=C)}}),v}return ng}var e1={},Kw;function B8(){if(Kw)return e1;Kw=1,Object.defineProperty(e1,"__esModule",{value:!0}),e1.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()},x=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,x):A=A.replace(f,x),A.replace(l,g))};return e1.camelCase=S,e1}var t1,Jw;function L8(){if(Jw)return t1;Jw=1;var n=t1&&t1.__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(x,S){x&&S&&(g[(0,u.camelCase)(x,v)]=S)}),g}return f.default=f,t1=f,t1}var Ww;function eO(){return Ww||(Ww=1,function(n){var l=Wy&&Wy.__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=x;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 x(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}(Wy)),Wy}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(x,S){x===void 0&&(x={});var A={},C=!!(x.type&&p[x.type]);for(var w in x){var M=x[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)(x.style,A),A}function g(x){return n.possibleStandardNames[x]}return Qb}var ag={},aO;function z8(){if(aO)return ag;aO=1;var n=ag&&ag.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};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(x,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=x.length,I=0;I<O;I++){var X=x[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(x){return f.PRESERVE_CUSTOM_ATTRIBUTES&&x.type==="tag"&&(0,f.isCustomComponent)(x.name,x.attribs)}return ag}var rO;function U8(){return rO||(rO=1,function(n){var l=Ky&&Ky.__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=x;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 x(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):[]}}(Ky)),Ky}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,x)=>{var A;const S=$m({attrs:g.attributes,globalDataContext:f,templateContext:p,options:{normalizeBeforeEvaluation:!0}});return q.createElement(U6,{...S,key:x},te.jsx(Ra,{currentData:((A=n==null?void 0:n[x])==null?void 0:A.content)??void 0,datafield:"content",path:(l??"")+"."+x+".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 x=V8({templateContexts:{globalDataContext:l,templateContext:u}},p),S=f==="root"?g.getRootContext().templateData:g.templateData;return qC.query(S,x).length},$8=n=>{var x,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:((x=n.currentData)==null?void 0:x.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 x=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(x)},n.interval);return()=>clearInterval(x)},[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),x=p*f,S=x+f,A=M=>Math.ceil(M.length/f);return{firstShownItemIndex:x,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(x,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)??[],x=(n==null?void 0:n.singleOption)??void 0,S=!!x,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=x;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:Rb}}],x={AccordionItem:aN,CheckBoxField:Q6,Count:X8,DateField:W6,DataFilter:$8,DelayedActions:P8,FolderSortableTree:S8,FormatNumeral:x8,Html:Rb,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,Ijiji:FC},S={BsAccordion:vb,BsAlert:uM,BsBadge:M2,BsButton:N2},{element:A}=p;if(l===void 0&&(l=""),n!=null&&n.type){let C,w;const M=[{registryId:"module",components:x},{registryId:"bootstrap",components:S}];for(;M.length;){const{registryId:L,components:B}=M.shift();if(w=B[n.type]??void 0,w!==void 0){C=L;break}}return w===void 0&&(w=Rb,C="module"),C==="bootstrap"?te.jsx(G8,{bsComponent:w,path:f,props:n,currentData:l,datafield:u}):(Rb===w&&(n.tag=n.tag??n.type),te.jsx(w,{path:f,props:n,currentData:l,datafield:u}))}if(n!=null&&n.load){let C;const w=(n==null?void 0:n.customDataLocation)??void 0;if(w)debugger;const M=w?ca({globalDataContext:p,templateContext:v,valueToEvaluate:w}):l,L=w?Wo({dataLocation:w,currentPath:f,globalDataContext:p,templateContext:v}):f;typeof n.load=="function"?C=n.load(M):C=A[n.load];const{load:B,customDataLocation:z,...O}=n;return C={...C,...O},n.keepTemplateContext?te.jsx(Ra,{currentData:M,datafield:u,path:L,props:C}):te.jsx(ua.Provider,{value:{templateData:M,templatePath:L},children:te.jsx(Ra,{currentData:M,datafield:u,path:L,props:C})})}return Array.isArray(n)?n.map((C,w)=>te.jsx(Ra,{currentData:l[w]??void 0,datafield:w,path:f+"."+w,props:C??void 0},f+"."+w)):typeof n=="object"?Object.entries(n).map(([C,w])=>te.jsx(Ra,{currentData:l[C]??void 0,datafield:C??void 0,path:f+"."+C,props:w},f+"."+C)):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
101
 
102
102
  `+n.mark.snippet),f+" "+u):f}function n1(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||""}n1.prototype=Object.create(Error.prototype),n1.prototype.constructor=n1,n1.prototype.toString=function(l){return this.name+": "+oO(this,l)};var xd=n1;function Ox(n,l,u,f,p){var v="",g="",x=Math.floor(p/2)-1;return f-l>x&&(v=" ... ",l=f-x+v.length),u-f>x&&(g=" ...",u=f+x-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 x="",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),x=Vl.repeat(" ",l.indent)+Dx((n.line-S+1).toString(),C)+" | "+A.str+`
103
103
  `+x;for(A=Ox(n.buffer,f[g],p[g],n.position,w),x+=Vl.repeat(" ",l.indent)+Dx((n.line+1).toString(),C)+" | "+A.str+`
104
104
  `,x+=Vl.repeat("-",l.indent+C+3+A.pos)+`^
105
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),x+=Vl.repeat(" ",l.indent)+Dx((n.line+S+1).toString(),C)+" | "+A.str+`
106
106
  `;return x.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,x,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],x=+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,x,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,x=[];for(l=0;l<p;l++)l%4===0&&l&&(x.push(g>>16&255),x.push(g>>8&255),x.push(g&255)),g=g<<6|v.indexOf(f.charAt(l));return u=p%4*6,u===0?(x.push(g>>16&255),x.push(g>>8&255),x.push(g&255)):u===18?(x.push(g>>10&255),x.push(g>>2&255)):u===12&&x.push(g>>4&255),new Uint8Array(x)}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,x=n;for(u=0,f=x.length;u<f;u+=1){if(p=x[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,Zb=1,dO=2,hO=3,Kb=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 Jb(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&&Jb(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,x;if(l<u){if(x=n.input.slice(l,u),f)for(p=0,v=x.length;p<v;p+=1)g=x.charCodeAt(p),g===9||32<=g&&g<=1114111||Dt(n,"expected valid JSON character");else b7.test(x)&&Dt(n,"the stream contains non-printable characters");n.result+=x}}function AO(n,l,u,f){var p,v,g,x;for(Vl.isObject(u)||Dt(n,"cannot merge mappings; the provided source object is unacceptable"),p=Object.keys(u),g=0,x=p.length;g<x;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,x,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=x||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&&Jb(n,"deficient indentation"),f}function Wb(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,x,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,x=!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&&Wb(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){x=!0,L=n.input.charCodeAt(n.position);continue}else{n.position=g,n.line=S,n.lineStart=A,n.lineIndent=C;break}}x&&(Zh(n,v,g,!1),Bx(n,n.line-S),v=g=n.position,x=!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&&Wb(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,x;if(x=n.input.charCodeAt(n.position),x!==34)return!1;for(n.kind="scalar",n.result="",n.position++,u=f=n.position;(x=n.input.charCodeAt(n.position))!==0;){if(x===34)return Zh(n,u,n.position,!0),n.position++,!0;if(x===92){if(Zh(n,u,n.position,!0),x=n.input.charCodeAt(++n.position),Jc(x))zr(n,!1,l);else if(x<256&&bO[x])n.result+=SO[x],n.position++;else if((g=A7(x))>0){for(p=g,v=0;p>0;p--)x=n.input.charCodeAt(++n.position),(g=x7(x))>=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(x)?(Zh(n,u,f,!0),Bx(n,zr(n,!1,l)),u=f=n.position):n.position===n.lineStart&&Wb(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,x,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,x=[];else if(X===123)C=125,L=!0,x={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=x),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=x,!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,Zb,!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,Zb,!1,!0),I=n.result),L?lg(n,x,B,O,z,I,f,p,v):w?x.push(lg(n,null,B,O,z,I,f,p,v)):x.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,x=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"):(x=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<x)&&w===32;)n.lineIndent++,w=n.input.charCodeAt(++n.position);if(!g&&n.lineIndent>x&&(x=n.lineIndent),Jc(w)){S++;continue}if(n.lineIndent<x){p===pO?n.result+=Vl.repeat(`
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,x=[];for(l=0;l<p;l++)l%4===0&&l&&(x.push(g>>16&255),x.push(g>>8&255),x.push(g&255)),g=g<<6|v.indexOf(f.charAt(l));return u=p%4*6,u===0?(x.push(g>>16&255),x.push(g>>8&255),x.push(g&255)):u===18?(x.push(g>>10&255),x.push(g>>2&255)):u===12&&x.push(g>>4&255),new Uint8Array(x)}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,x=n;for(u=0,f=x.length;u<f;u+=1){if(p=x[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,x;if(l<u){if(x=n.input.slice(l,u),f)for(p=0,v=x.length;p<v;p+=1)g=x.charCodeAt(p),g===9||32<=g&&g<=1114111||Dt(n,"expected valid JSON character");else b7.test(x)&&Dt(n,"the stream contains non-printable characters");n.result+=x}}function AO(n,l,u,f){var p,v,g,x;for(Vl.isObject(u)||Dt(n,"cannot merge mappings; the provided source object is unacceptable"),p=Object.keys(u),g=0,x=p.length;g<x;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,x,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=x||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,x,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,x=!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){x=!0,L=n.input.charCodeAt(n.position);continue}else{n.position=g,n.line=S,n.lineStart=A,n.lineIndent=C;break}}x&&(Zh(n,v,g,!1),Bx(n,n.line-S),v=g=n.position,x=!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,x;if(x=n.input.charCodeAt(n.position),x!==34)return!1;for(n.kind="scalar",n.result="",n.position++,u=f=n.position;(x=n.input.charCodeAt(n.position))!==0;){if(x===34)return Zh(n,u,n.position,!0),n.position++,!0;if(x===92){if(Zh(n,u,n.position,!0),x=n.input.charCodeAt(++n.position),Jc(x))zr(n,!1,l);else if(x<256&&bO[x])n.result+=SO[x],n.position++;else if((g=A7(x))>0){for(p=g,v=0;p>0;p--)x=n.input.charCodeAt(++n.position),(g=x7(x))>=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(x)?(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,x,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,x=[];else if(X===123)C=125,L=!0,x={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=x),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=x,!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,x,B,O,z,I,f,p,v):w?x.push(lg(n,null,B,O,z,I,f,p,v)):x.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,x=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"):(x=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<x)&&w===32;)n.lineIndent++,w=n.input.charCodeAt(++n.position);if(!g&&n.lineIndent>x&&(x=n.lineIndent),Jc(w)){S++;continue}if(n.lineIndent<x){p===pO?n.result+=Vl.repeat(`
110
110
  `,v?1+S:S):p===Mx&&v&&(n.result+=`
111
111
  `);break}for(f?Zm(w)?(A=!0,n.result+=Vl.repeat(`
112
112
  `,v?1+S:S)):A?(A=!1,n.result+=Vl.repeat(`
113
113
  `,S+1)):S===0?v&&(n.result+=" "):n.result+=Vl.repeat(`
114
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,x=!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(x=!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 x?(n.tag=f,n.anchor=p,n.kind="sequence",n.result=v,!0):!1}function N7(n,l,u){var f,p,v,g,x,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,x,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,x=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,x,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,x=n.lineStart,S=n.position),ug(n,l,Kb,!0,p)&&(O?B=n.result:z=n.result),O||(lg(n,w,M,L,B,z,g,x,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,x,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,x,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=x=Kb===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,x=v,n.lineIndent>l?S=1:n.lineIndent===l?S=0:n.lineIndent<l&&(S=-1)):x=!1;if(x&&(x=A||p),(S===1||Kb===u)&&(Zb===u||dO===u?z=l:z=l+1,O=n.position-n.lineStart,S===1?x&&(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,Zb===u)&&(C=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):S===0&&(C=x&&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):Jb(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,Kb,!1,!0),zr(n,!0,-1),n.checkLineBreaks&&S7.test(n.input.slice(l,n.position))&&Jb(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&Wb(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:x}){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(x,{children:oe}):oe}function Y7(n){const l={action:[],element:[],hook:[],reaction:[],utility:[]};return n.forEach(u=>{for(const[f,p]in Object.entries(u))l.hasOwnProperty(f)||(l[f]=[]),l[f].push(p)}),l}var eS={exports:{}},a1={},tS={exports:{}},Lx={};/**
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,x=!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(x=!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 x?(n.tag=f,n.anchor=p,n.kind="sequence",n.result=v,!0):!1}function N7(n,l,u){var f,p,v,g,x,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,x,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,x=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,x,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,x=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,x,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,x,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,x,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=x=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,x=v,n.lineIndent>l?S=1:n.lineIndent===l?S=0:n.lineIndent<l&&(S=-1)):x=!1;if(x&&(x=A||p),(S===1||Jb===u)&&(Kb===u||dO===u?z=l:z=l+1,O=n.position-n.lineStart,S===1?x&&(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=x&&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:x}){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(x,{children:oe}):oe}function Y7(n){const l={action:[],element:[],hook:[],reaction:[],utility:[]};return n.forEach(u=>{for(const[f,p]in Object.entries(u))l.hasOwnProperty(f)||(l[f]=[]),l[f].push(p)}),l}var tS={exports:{}},a1={},nS={exports:{}},Lx={};/**
117
117
  * @license React
118
118
  * scheduler.production.js
119
119
  *
@@ -129,7 +129,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
129
129
  *
130
130
  * This source code is licensed under the MIT license found in the
131
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(x,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 x(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(x,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(x,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"?tS.exports=G7():tS.exports=I7()),tS.exports}/**
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(x,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 x(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(x,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(x,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
133
  * @license React
134
134
  * react-dom-client.production.js
135
135
  *
@@ -153,7 +153,7 @@ Error generating stack: `+o.message+`
153
153
  *
154
154
  * This source code is licensed under the MIT license found in the
155
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 x(){}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=BS;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),G1._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(`
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 x(){}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),G1._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
157
  at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
158
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
159
  `),Re=Q.split(`
@@ -205,9 +205,9 @@ This will cause a hydration error.%s`,R,c,r,y)):console.error(`In HTML, %s canno
205
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
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
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!==rS;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!==E?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"||!p1&&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(H1>h5)throw _v=H1=0,j1=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,j1=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+=`
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!==E?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"||!p1&&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(H1>h5)throw _v=H1=0,j1=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,j1=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
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++]=lS,Vg[Xg++]=iS,iS=e,lS=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===iS;)iS=Vg[--Xg],Vg[Xg]=null,lS=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:
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
211
 
212
212
  - A server/client branch \`if (typeof window !== 'undefined')\`.
213
213
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -227,9 +227,9 @@ https://react.dev/link/hydration-mismatch`+t),e)),aA}function o0(e){var t=e.stat
227
227
 
228
228
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
229
229
 
230
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Rd(){$g=uS=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(G1):e=[G1])}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){uS=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(uS,e)}function Md(e,t){return uS===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(v1===null){var r=v1=[];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&&v1!==null){Zg!==null&&(Zg.status="fulfilled");var e=v1;v1=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 T1=t,hS=!0,A1}}function fp(){if(T1===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=T1;return T1=null,hS=!1,e}function Yr(e){if(e===A1||e===dS)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.
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(G1):e=[G1])}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(v1===null){var r=v1=[];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&&v1!==null){Zg!==null&&(Zg.status="fulfilled");var e=v1;v1=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 T1=t,pS=!0,A1}}function fp(){if(T1===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=T1;return T1=null,pS=!1,e}function Yr(e){if(e===A1||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
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(pS,r,e),_e(Kg,t,e),dd=r|t.baseLanes}function To(e){_e(pS,dd,e),_e(Kg,Kg.current,e)}function Tr(e){dd=pS.current,ve(Kg,e),ve(pS,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+`
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
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
234
 
235
235
  Previous render Next render
@@ -242,14 +242,14 @@ Please update the following component: %s`,m),$O=!0}return(la&mu)!==$o?(m=c.pend
242
242
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Kl(e,t){if(w1)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
243
 
244
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,w1=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=gS;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."),mS=!1,C1=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)),hS?(hS=!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),C1=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,w1=!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=vS!==0;return vS=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(mS){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mS=!1}_m=0,Ys=Jr=_a=Pt=null,Lh=-1,He=null,Wg=!1,C1=vS=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=C1;return C1+=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||w1)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===A1?dS: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(G1)}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=vS++,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=mS=!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=O1;return O1+=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:
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,w1=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,C1=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),C1=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,w1=!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,C1=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=C1;return C1+=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||w1)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===A1?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(G1)}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=O1;return O1+=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
246
  - Multiple copies of the "react" package is used.
247
247
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
248
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
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
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
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:x(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{O1=0;var en=Ln(le,ue,de,Ve);return ey=null,en}catch(Ga){if(Ga===A1||Ga===dS)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
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:x(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{O1=0;var en=Ln(le,ue,de,Ve);return ey=null,en}catch(Ga){if(Ga===A1||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
253
 
254
254
  %s
255
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.
@@ -258,7 +258,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
258
258
  %s
259
259
 
260
260
  %s
261
- `,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,r_+e[0],i_,US+c+US,l_):e.splice(0,0,r_,i_,US+c+US,l_),e.unshift(console),c=w5.apply(console.error,e),c()}else console.error(`%o
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
262
 
263
263
  %s
264
264
 
@@ -272,7 +272,7 @@ https://react.dev/link/unsafe-component-lifecycles`,y,K,R!==null?`
272
272
  `+R:"",H!==null?`
273
273
  `+H:"",Q!==null?`
274
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&D1)!==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&D1)!==0)c=c&ny|D1,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,lS,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),G1._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 T1=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 BS: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|D1,t),t.child}e=e.sibling}m.tail!==null&&su()>ES&&(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>ES&&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|D1: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"?`
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&D1)!==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&D1)!==0)c=c&ny|D1,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),G1._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 T1=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|D1,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|D1: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
276
 
277
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
278
 
@@ -285,7 +285,7 @@ It looks like you wrote `+y+`(async () => ...) or returned a Promise. Instead, w
285
285
  fetchData();
286
286
  }, [someId]); // Or [] if effect doesn't need props or state
287
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",sS&&(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",sS&&(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=HS,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},HS=!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,oS,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(),LS=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,oS,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,oS,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&_1)for(e=e.child;e!==null;)Lo(e),e=e.sibling}function Lo(e){switch(e.tag){case 26:Ec(e),e.flags&_1&&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=_1,_1=16777216,Ec(e),_1=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&&(xS=!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=z1;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===M1){Ll(e,0),iu(e,t,0,!0);break}e:{switch(c=e,m){case Uh:case M1:throw Error("Root did not complete. This is a bug in React.");case Tv:if((t&4194048)!==t)break;case bS: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,U1,SS,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,U1,SS,t,Qo,Bm,Ov,Mm,m,f5,qO,0),y);break e}ma(c,r,vu,U1,SS,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)&&(Y1={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,O1=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=z1=null,SS=!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=gS,Le.getCurrentStack=null,Si=!1,cl=null,t===A1||t===dS?(t=fp(),va=B1):t===GO?(t=fp(),va=HD):va=t===OD?CA:t!==null&&typeof t=="object"&&typeof t.then=="function"?oy:N1,Po=t;var r=Tn;if(r===null)Sr=M1,Fu(e,bn(t,e.current));else switch(r.mode&fl&&ot(r),Ce(),va){case N1:ct!==null&&typeof ct.markComponentErrored=="function"&&ct.markComponentErrored(r,t,Mn);break;case Cv:case wv:case B1:case oy:case L1:ct!==null&&typeof ct.markComponentSuspended=="function"&&ct.markComponentSuspended(r,t,Mn)}}function Tc(){var e=Le.H;return Le.H=gS,e===null?gS: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)}U1=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=bS;break e;case B1: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)}U1=null,ES=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 N1:va=co,Po=null,Ss(e,t,y,N1);break;case Cv:case wv:if(mf(y)){va=co,Po=null,Gp(t);break}t=function(){va!==Cv&&va!==wv||Na!==e||(va=L1),Fi(e)},y.then(t,t);break e;case B1:va=L1;break e;case HD:va=TA;break e;case L1:mf(y)?(va=co,Po=null,Gp(t)):(va=co,Po=null,Ss(e,t,y,L1));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=bS;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,O1=0;var m=t.return;try{if(Id(e,m,t,r,Mn)){Sr=M1,Fu(e,bn(r,e.current)),Tn=null;return}}catch(y){if(m!==null)throw Tn=m,y;Sr=M1,Fu(e,bn(r,e.current)),Tn=null;return}t.flags&32768?(Vn||c===N1?e=!0:sy||(Mn&536870912)!==0?e=!1:(Mm=e=!0,(c===Cv||c===wv||c===B1||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=bS,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),oS=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}}HS=!!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,s1();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,j1=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?(cS=!0,e===NA?H1++:(H1=0,NA=e)):H1=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,xS=!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),xS?y===j1?_v++:(_v=0,j1=y):_v=0,xS=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.
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&_1)for(e=e.child;e!==null;)Lo(e),e=e.sibling}function Lo(e){switch(e.tag){case 26:Ec(e),e.flags&_1&&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=_1,_1=16777216,Ec(e),_1=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=z1;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===M1){Ll(e,0),iu(e,t,0,!0);break}e:{switch(c=e,m){case Uh:case M1: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,U1,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,U1,ES,t,Qo,Bm,Ov,Mm,m,f5,qO,0),y);break e}ma(c,r,vu,U1,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)&&(Y1={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,O1=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=z1=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===A1||t===hS?(t=fp(),va=B1):t===GO?(t=fp(),va=HD):va=t===OD?CA:t!==null&&typeof t=="object"&&typeof t.then=="function"?oy:N1,Po=t;var r=Tn;if(r===null)Sr=M1,Fu(e,bn(t,e.current));else switch(r.mode&fl&&ot(r),Ce(),va){case N1:ct!==null&&typeof ct.markComponentErrored=="function"&&ct.markComponentErrored(r,t,Mn);break;case Cv:case wv:case B1:case oy:case L1: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)}U1=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 B1: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)}U1=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 N1:va=co,Po=null,Ss(e,t,y,N1);break;case Cv:case wv:if(mf(y)){va=co,Po=null,Gp(t);break}t=function(){va!==Cv&&va!==wv||Na!==e||(va=L1),Fi(e)},y.then(t,t);break e;case B1:va=L1;break e;case HD:va=TA;break e;case L1:mf(y)?(va=co,Po=null,Gp(t)):(va=co,Po=null,Ss(e,t,y,L1));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,O1=0;var m=t.return;try{if(Id(e,m,t,r,Mn)){Sr=M1,Fu(e,bn(r,e.current)),Tn=null;return}}catch(y){if(m!==null)throw Tn=m,y;Sr=M1,Fu(e,bn(r,e.current)),Tn=null;return}t.flags&32768?(Vn||c===N1?e=!0:sy||(Mn&536870912)!==0?e=!1:(Mm=e=!0,(c===Cv||c===wv||c===B1||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,s1();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,j1=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?H1++:(H1=0,NA=e)):H1=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===j1?_v++:(_v=0,j1=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
289
 
290
290
  Error message:
291
291
 
@@ -298,7 +298,7 @@ act(() => {
298
298
  });
299
299
  /* assert on the output */
300
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",AS!==null){if(AS.has(t))return;AS.add(t)}else AS=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(...).
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
302
 
303
303
  When testing, code that causes React state updates should be wrapped into act(...):
304
304
 
@@ -307,16 +307,16 @@ act(() => {
307
307
  });
308
308
  /* assert on the output */
309
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?TS=dy=e:dy=dy.next=e),CS=!0,Le.actQueue!==null?zA||(zA=!0,nr()):LA||(LA=!0,nr())}function Ts(e,t){if(!UA&&CS){UA=!0;do for(var r=!1,c=TS;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(){CS=zA=LA=!1;var e=0;Rv!==0&&(Ff()&&(e=Rv),Rv=0);for(var t=su(),r=null,c=TS;c!==null;){var m=c.next,y=uu(c,t);y===0?(c.next=null,r===null?TS=m:r.next=m,m===null&&(dy=r)):(r=c,(e!==0||(y&3)!==0)&&(CS=!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(cS=sS=!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;sS=cS,cS=!1,ur(e,t,!0)}function Kp(e){e!==HA&&e!==null&&o1(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[wS]){e[wS]=!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[wS]||(t[wS]=!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=f1;break;case m1:Ge=$x;break;case"scroll":case"scrollend":Ge=be;break;case"wheel":Ge=Qx;break;case"copy":case"cut":case"paste":Ge=d1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ge=aS;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=aS,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(p1)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===rS&&(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 nS(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||_S||(_S=!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||DS||(DS=!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"||OS?t!=="button"||m.type==null||m.type==="submit"||OS?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||_S||(_S=!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||DS||(DS=!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."))):(OS=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(OS=!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!==""||RS[r]||(RS[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<k1.length;c++)fn(k1[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!==""||RS[K]||(RS[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 BS;default:return jh}}function Yi(e,t){if(e===jh)switch(t){case"svg":return hy;case"math":return BS;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===NS){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===MS||r===Hh||r===q1?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===q1||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===MS||t===q1||t===Hh||t===qA||t===ZD)break;if(t===NS)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===NS){if(t===0)return _r(e.nextSibling);t--}else r!==MS&&r!==q1&&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===MS||r===q1||r===Hh){if(t===0)return e;t--}else r===NS&&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=F1|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=`
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&&o1(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=f1;break;case m1:Ge=$x;break;case"scroll":case"scrollend":Ge=be;break;case"wheel":Ge=Qx;break;case"copy":case"cut":case"paste":Ge=d1;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(p1)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<k1.length;c++)fn(k1[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===q1?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===q1||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===q1||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!==q1&&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===q1||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=F1|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
312
 
313
313
  - `+Rc(t)+`
314
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
315
 
316
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=F1:(t=e.createElement("link"),c.preload=t,t.addEventListener("load",function(){return c.loading|=F1}),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(LS===null){var c=new Map,m=LS=new Map;m.set(r,c)}else m=LS,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(Y1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var c=Y1;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(Y1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Y1;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++,zS=new Map,t.forEach(Og,e),zS=null,dh.call(e))}function Og(e,t){if(!(t.state.loading&Is)){var r=zS.get(e);if(r)var c=r.get(VA);else{r=new Map,zS.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.
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=F1:(t=e.createElement("link"),c.preload=t,t.addEventListener("load",function(){return c.loading|=F1}),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(Y1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var c=Y1;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(Y1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Y1;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
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 i1(){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(HS){var m=Pf(c);if(m===null)vi(e,t,c,jS,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&&(ES=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,jS,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(jS=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 jS=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":I1.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":V1.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 I1.set(y,Ii(I1.get(y)||null,e,t,r,c,m)),!0;case"gotpointercapture":return y=m.pointerId,V1.set(y,Ii(V1.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),I1.forEach(Qf),V1.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){kS!==e&&(kS=e,Fa.unstable_scheduleCallback(Fa.unstable_NormalPriority,function(){kS===e&&(kS=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),I1.forEach(t),V1.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,l1=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=l1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,u1=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,o1=Fa.unstable_cancelCallback,Bg=Fa.unstable_shouldYield,s1=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,c1=/[\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}),f1=Zt(Ls),Ux=Kt({},xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),d1=Zt(Ux),h1=Kt({},xt,{data:0}),nS=Zt(h1),Hx=nS,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}),aS=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],rS=229,p1=ae&&"CompositionEvent"in window,mv=null;ae&&"documentMode"in document&&(mv=document.documentMode);var s=ae&&"TextEvent"in window&&!mv,d=ae&&(!p1||mv&&8<mv&&11>=mv),E=32,N=String.fromCharCode(E),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"),m1=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,iS=null,lS=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={},uS=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,oS=-0,oo=-1.1,bv=-0,sS=!1,cS=!1,v1=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(){}},g1=[],y1=[],b1=[],S1=[],E1=[],x1=[],xv=new Set;Ic.recordUnsafeLifecycleWarnings=function(e,t){xv.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&g1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillMount=="function"&&y1.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&b1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&S1.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&E1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillUpdate=="function"&&x1.push(e))},Ic.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<g1.length&&(g1.forEach(function(H){e.add(oe(H)||"Component"),xv.add(H.type)}),g1=[]);var t=new Set;0<y1.length&&(y1.forEach(function(H){t.add(oe(H)||"Component"),xv.add(H.type)}),y1=[]);var r=new Set;0<b1.length&&(b1.forEach(function(H){r.add(oe(H)||"Component"),xv.add(H.type)}),b1=[]);var c=new Set;0<S1.length&&(S1.forEach(function(H){c.add(oe(H)||"Component"),xv.add(H.type)}),S1=[]);var m=new Set;0<E1.length&&(E1.forEach(function(H){m.add(oe(H)||"Component"),xv.add(H.type)}),E1=[]);var y=new Set;if(0<x1.length&&(x1.forEach(function(H){y.add(oe(H)||"Component"),xv.add(H.type)}),x1=[]),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.
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 i1(){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":I1.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":V1.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 I1.set(y,Ii(I1.get(y)||null,e,t,r,c,m)),!0;case"gotpointercapture":return y=m.pointerId,V1.set(y,Ii(V1.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),I1.forEach(Qf),V1.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),I1.forEach(t),V1.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,l1=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=l1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,u1=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,o1=Fa.unstable_cancelCallback,Bg=Fa.unstable_shouldYield,s1=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,c1=/[\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}),f1=Zt(Ls),Ux=Kt({},xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),d1=Zt(Ux),h1=Kt({},xt,{data:0}),aS=Zt(h1),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,p1=ae&&"CompositionEvent"in window,mv=null;ae&&"documentMode"in document&&(mv=document.documentMode);var s=ae&&"TextEvent"in window&&!mv,d=ae&&(!p1||mv&&8<mv&&11>=mv),E=32,N=String.fromCharCode(E),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"),m1=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,v1=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(){}},g1=[],y1=[],b1=[],S1=[],E1=[],x1=[],xv=new Set;Ic.recordUnsafeLifecycleWarnings=function(e,t){xv.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&g1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillMount=="function"&&y1.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&b1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&S1.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&E1.push(e),e.mode&Yl&&typeof t.UNSAFE_componentWillUpdate=="function"&&x1.push(e))},Ic.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<g1.length&&(g1.forEach(function(H){e.add(oe(H)||"Component"),xv.add(H.type)}),g1=[]);var t=new Set;0<y1.length&&(y1.forEach(function(H){t.add(oe(H)||"Component"),xv.add(H.type)}),y1=[]);var r=new Set;0<b1.length&&(b1.forEach(function(H){r.add(oe(H)||"Component"),xv.add(H.type)}),b1=[]);var c=new Set;0<S1.length&&(S1.forEach(function(H){c.add(oe(H)||"Component"),xv.add(H.type)}),S1=[]);var m=new Set;0<E1.length&&(E1.forEach(function(H){m.add(oe(H)||"Component"),xv.add(H.type)}),E1=[]);var y=new Set;if(0<x1.length&&(x1.forEach(function(H){y.add(oe(H)||"Component"),xv.add(H.type)}),x1=[]),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
320
 
321
321
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
322
322
 
@@ -345,22 +345,22 @@ Please update the following components: %s`,R)),0<m.size&&(R=w(m),console.warn(`
345
345
  * Move data fetching code or side effects to componentDidUpdate.
346
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
347
 
348
- Please update the following components: %s`,R))};var fS=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=fS.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],fS.set(r,c)),c.push(e))},Ic.flushLegacyContextWarning=function(){fS.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.
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
349
 
350
350
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
351
351
 
352
352
  Please update the following components: %s
353
353
 
354
- Learn more about this warning here: https://react.dev/link/legacy-context`,c)})}})},Ic.discardPendingWarnings=function(){g1=[],y1=[],b1=[],S1=[],E1=[],x1=[],fS=new Map};var A1=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."),dS=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.')}},T1=null,hS=!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),pS=pe(0),Jg,PO=new Set,QO=new Set,fA=new Set,ZO=new Set,_m=0,Pt=null,_a=null,Jr=null,mS=!1,Wg=!1,Av=!1,vS=0,C1=0,Bh=null,t5=0,n5=25,He=null,Ys=null,Lh=-1,w1=!1,gS={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,yS=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=yS;try{return pr(e,t)}finally{Le.H=r}},useReducer:function(e,t,r){He="useReducer",tt();var c=Le.H;Le.H=yS;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=yS;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}},yS={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,O1=0,yn=null,vA,fD=vA=!1,dD={},hD={},pD={};x=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=`
354
+ Learn more about this warning here: https://react.dev/link/legacy-context`,c)})}})},Ic.discardPendingWarnings=function(){g1=[],y1=[],b1=[],S1=[],E1=[],x1=[],dS=new Map};var A1=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.')}},T1=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,C1=0,Bh=null,t5=0,n5=25,He=null,Ys=null,Lh=-1,w1=!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,O1=0,yn=null,vA,fD=vA=!1,dD={},hD={},pD={};x=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
355
 
356
356
  Check the render method of \``+m+"`."),y||c&&(y=`
357
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,D1=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,_1=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 R1=Symbol.for;R1("selector.component"),R1("selector.has_pseudo_class"),R1("selector.role"),R1("selector.test_id"),R1("selector.text")}var u5=[],o5=typeof WeakMap=="function"?WeakMap:Map,$o=0,mu=2,$c=4,Uh=0,M1=1,uy=2,AA=3,Tv=4,bS=6,UD=5,la=$o,Na=null,Tn=null,Mn=0,co=0,N1=1,Cv=2,B1=3,HD=4,TA=5,oy=6,L1=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,z1=null,vu=null,SS=!1,DA=0,jD=300,ES=1/0,kD=500,U1=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,H1=0,NA=null,BA=!1,xS=!1,p5=50,_v=0,j1=null,fy=!1,AS=null,ID=!1,VD=new Set,m5={},TS=null,dy=null,LA=!1,zA=!1,CS=!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(m1,"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 k1="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(k1)),wS="_reactListening"+Math.random().toString(36).slice(2),XD=!1,$D=!1,OS=!1,PD=!1,DS=!1,_S=!1,QD=!1,RS={},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",MS="$",NS="/$",Hh="$?",q1="$!",S5=1,E5=2,x5=4,qA="F!",ZD="F",KD="complete",A5="style",jh=0,hy=1,BS=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,F1=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=F1|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|=F1}),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,LS=null,Y1=null,VA=null,zS=null,Lv=u1,G1={$$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_="",US=" ",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 HS=!0,jS=null,XA=!1,Hm=null,jm=null,km=null,I1=new Map,V1=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(" "),kS=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:
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,D1=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,_1=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 R1=Symbol.for;R1("selector.component"),R1("selector.has_pseudo_class"),R1("selector.role"),R1("selector.test_id"),R1("selector.text")}var u5=[],o5=typeof WeakMap=="function"?WeakMap:Map,$o=0,mu=2,$c=4,Uh=0,M1=1,uy=2,AA=3,Tv=4,SS=6,UD=5,la=$o,Na=null,Tn=null,Mn=0,co=0,N1=1,Cv=2,B1=3,HD=4,TA=5,oy=6,L1=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,z1=null,vu=null,ES=!1,DA=0,jD=300,xS=1/0,kD=500,U1=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,H1=0,NA=null,BA=!1,AS=!1,p5=50,_v=0,j1=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(m1,"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 k1="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(k1)),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="$?",q1="$!",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,F1=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=F1|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|=F1}),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,Y1=null,VA=null,US=null,Lv=u1,G1={$$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,I1=new Map,V1=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
359
  - react: `+(e+`
360
360
  - react-dom: 19.1.0
361
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=i1,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
362
  You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}r1.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
363
 
364
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)},r1.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)},r1.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),r1}var NO;function $7(){if(NO)return eS.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(),eS.exports=V7()):eS.exports=X7(),eS.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,x)=>{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"})});
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)},r1.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)},r1.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),r1}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,x)=>{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
366
  //# sourceMappingURL=reactive-json.umd.cjs.map