@oslokommune/punkt-react 12.41.0 → 12.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/index.d.ts +1 -0
- package/dist/punkt-react.es.js +437 -417
- package/dist/punkt-react.umd.js +43 -43
- package/package.json +3 -3
- package/src/components/combobox/Combobox.tsx +4 -1
package/dist/punkt-react.umd.js
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
|
|
58
58
|
Check the render method of \``+V+"`."}return""}}function Co(V){return""}var vl={};function yl(V){{var Ae=Ci();if(!Ae){var Je=typeof V=="string"?V:V.displayName||V.name;Je&&(Ae=`
|
|
59
59
|
|
|
60
|
-
Check the top-level render call using <`+Je+">.")}return Ae}}function Ps(V,Ae){{if(!V._store||V._store.validated||V.key!=null)return;V._store.validated=!0;var Je=yl(Ae);if(vl[Je])return;vl[Je]=!0;var ct="";V&&V._owner&&V._owner!==ga.current&&(ct=" It was passed a child from "+nt(V._owner.type)+"."),jn(V),Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Je,ct),jn(null)}}function Xi(V,Ae){{if(typeof V!="object")return;if(un(V))for(var Je=0;Je<V.length;Je++){var ct=V[Je];ya(ct)&&Ps(ct,Ae)}else if(ya(V))V._store&&(V._store.validated=!0);else if(V){var Ht=Y(V);if(typeof Ht=="function"&&Ht!==V.entries)for(var jt=Ht.call(V),Wt;!(Wt=jt.next()).done;)ya(Wt.value)&&Ps(Wt.value,Ae)}}}function _i(V){{var Ae=V.type;if(Ae==null||typeof Ae=="string")return;var Je;if(typeof Ae=="function")Je=Ae.propTypes;else if(typeof Ae=="object"&&(Ae.$$typeof===C||Ae.$$typeof===N))Je=Ae.propTypes;else return;if(Je){var ct=nt(Ae);wr(Je,V.props,"prop",ct,V)}else if(Ae.PropTypes!==void 0&&!va){va=!0;var Ht=nt(Ae);Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ht||"Unknown")}typeof Ae.getDefaultProps=="function"&&!Ae.getDefaultProps.isReactClassApproved&&Z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(V){{for(var Ae=Object.keys(V.props),Je=0;Je<Ae.length;Je++){var ct=Ae[Je];if(ct!=="children"&&ct!=="key"){jn(V),Z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ct),jn(null);break}}V.ref!==null&&(jn(V),Z("Invalid attribute `ref` supplied to `React.Fragment`."),jn(null))}}var Ta={};function
|
|
60
|
+
Check the top-level render call using <`+Je+">.")}return Ae}}function Ps(V,Ae){{if(!V._store||V._store.validated||V.key!=null)return;V._store.validated=!0;var Je=yl(Ae);if(vl[Je])return;vl[Je]=!0;var ct="";V&&V._owner&&V._owner!==ga.current&&(ct=" It was passed a child from "+nt(V._owner.type)+"."),jn(V),Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Je,ct),jn(null)}}function Xi(V,Ae){{if(typeof V!="object")return;if(un(V))for(var Je=0;Je<V.length;Je++){var ct=V[Je];ya(ct)&&Ps(ct,Ae)}else if(ya(V))V._store&&(V._store.validated=!0);else if(V){var Ht=Y(V);if(typeof Ht=="function"&&Ht!==V.entries)for(var jt=Ht.call(V),Wt;!(Wt=jt.next()).done;)ya(Wt.value)&&Ps(Wt.value,Ae)}}}function _i(V){{var Ae=V.type;if(Ae==null||typeof Ae=="string")return;var Je;if(typeof Ae=="function")Je=Ae.propTypes;else if(typeof Ae=="object"&&(Ae.$$typeof===C||Ae.$$typeof===N))Je=Ae.propTypes;else return;if(Je){var ct=nt(Ae);wr(Je,V.props,"prop",ct,V)}else if(Ae.PropTypes!==void 0&&!va){va=!0;var Ht=nt(Ae);Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ht||"Unknown")}typeof Ae.getDefaultProps=="function"&&!Ae.getDefaultProps.isReactClassApproved&&Z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(V){{for(var Ae=Object.keys(V.props),Je=0;Je<Ae.length;Je++){var ct=Ae[Je];if(ct!=="children"&&ct!=="key"){jn(V),Z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ct),jn(null);break}}V.ref!==null&&(jn(V),Z("Invalid attribute `ref` supplied to `React.Fragment`."),jn(null))}}var Ta={};function sa(V,Ae,Je,ct,Ht,jt){{var Wt=Ge(V);if(!Wt){var tn="";(V===void 0||typeof V=="object"&&V!==null&&Object.keys(V).length===0)&&(tn+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Dr=Co();Dr?tn+=Dr:tn+=Ci();var Jn;V===null?Jn="null":un(V)?Jn="array":V!==void 0&&V.$$typeof===r?(Jn="<"+(nt(V.type)||"Unknown")+" />",tn=" Did you accidentally export a JSX literal instead of a component?"):Jn=typeof V,Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Jn,tn)}var Zn=bn(V,Ae,Je,Ht,jt);if(Zn==null)return Zn;if(Wt){var Lr=Ae.children;if(Lr!==void 0)if(ct)if(un(Lr)){for(var Ji=0;Ji<Lr.length;Ji++)Xi(Lr[Ji],V);Object.freeze&&Object.freeze(Lr)}else Z("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Xi(Lr,V)}if(Nn.call(Ae,"key")){var Sr=nt(V),Et=Object.keys(Ae).filter(function(Ns){return Ns!=="key"}),Xt=Et.length>0?"{key: someKey, "+Et.join(": ..., ")+": ...}":"{key: someKey}";if(!Ta[Sr+Xt]){var Zi=Et.length>0?"{"+Et.join(": ..., ")+": ...}":"{}";Z(`A props object containing a "key" prop is being spread into JSX:
|
|
61
61
|
let props = %s;
|
|
62
62
|
<%s {...props} />
|
|
63
63
|
React keys must be passed directly to JSX without using spread:
|
|
64
64
|
let props = %s;
|
|
65
|
-
<%s key={someKey} {...props} />`,Xt,Sr,Zi,Sr),Ta[Sr+Xt]=!0}}return V===l?lr(Zn):_i(Zn),Zn}}function _o(V,Ae,Je){return
|
|
65
|
+
<%s key={someKey} {...props} />`,Xt,Sr,Zi,Sr),Ta[Sr+Xt]=!0}}return V===l?lr(Zn):_i(Zn),Zn}}function _o(V,Ae,Je){return sa(V,Ae,Je,!0)}function xi(V,Ae,Je){return sa(V,Ae,Je,!1)}var xo=xi,Eo=_o;yg.Fragment=l,yg.jsx=xo,yg.jsxs=Eo}()),yg}process.env.NODE_ENV==="production"?Yw.exports=P$():Yw.exports=N$();var R=Yw.exports;/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright 2018 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -108,7 +108,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the MIT license found in the
|
|
110
110
|
* LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/Hy.exports;var e_;function iP(){return e_||(e_=1,function(n,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i="18.3.1",l=Symbol.for("react.element"),c=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Y=Symbol.iterator,Ce="@@iterator";function Z(F){if(F===null||typeof F!="object")return null;var q=Y&&F[Y]||F[Ce];return typeof q=="function"?q:null}var W={current:null},J={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ae={current:null},pe={},Te=null;function ke(F){Te=F}pe.setExtraStackFrame=function(F){Te=F},pe.getCurrentStack=null,pe.getStackAddendum=function(){var F="";Te&&(F+=Te);var q=pe.getCurrentStack;return q&&(F+=q()||""),F};var Ge=!1,We=!1,Ke=!1,nt=!1,He=!1,dt={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:J,ReactCurrentOwner:ae};dt.ReactDebugCurrentFrame=pe,dt.ReactCurrentActQueue=K;function Me(F){{for(var q=arguments.length,fe=new Array(q>1?q-1:0),we=1;we<q;we++)fe[we-1]=arguments[we];de("warn",F,fe)}}function Le(F){{for(var q=arguments.length,fe=new Array(q>1?q-1:0),we=1;we<q;we++)fe[we-1]=arguments[we];de("error",F,fe)}}function de(F,q,fe){{var we=dt.ReactDebugCurrentFrame,ze=we.getStackAddendum();ze!==""&&(q+="%s",fe=fe.concat([ze]));var Tt=fe.map(function(Qe){return String(Qe)});Tt.unshift("Warning: "+q),Function.prototype.apply.call(console[F],console,Tt)}}var Re={};function _e(F,q){{var fe=F.constructor,we=fe&&(fe.displayName||fe.name)||"ReactClass",ze=we+"."+q;if(Re[ze])return;Le("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",q,we),Re[ze]=!0}}var Q={isMounted:function(F){return!1},enqueueForceUpdate:function(F,q,fe){_e(F,"forceUpdate")},enqueueReplaceState:function(F,q,fe,we){_e(F,"replaceState")},enqueueSetState:function(F,q,fe,we){_e(F,"setState")}},he=Object.assign,ot={};Object.freeze(ot);function rt(F,q,fe){this.props=F,this.context=q,this.refs=ot,this.updater=fe||Q}rt.prototype.isReactComponent={},rt.prototype.setState=function(F,q){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,q,"setState")},rt.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};{var Dt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ht=function(F,q){Object.defineProperty(rt.prototype,F,{get:function(){Me("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})};for(var bt in Dt)Dt.hasOwnProperty(bt)&&ht(bt,Dt[bt])}function vt(){}vt.prototype=rt.prototype;function Rt(F,q,fe){this.props=F,this.context=q,this.refs=ot,this.updater=fe||Q}var fn=Rt.prototype=new vt;fn.constructor=Rt,he(fn,rt.prototype),fn.isPureReactComponent=!0;function en(){var F={current:null};return Object.seal(F),F}var Qn=Array.isArray;function Lt(F){return Qn(F)}function at(F){{var q=typeof Symbol=="function"&&Symbol.toStringTag,fe=q&&F[Symbol.toStringTag]||F.constructor.name||"Object";return fe}}function sr(F){try{return Nn(F),!1}catch{return!0}}function Nn(F){return""+F}function kr(F){if(sr(F))return Le("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",at(F)),Nn(F)}function Qi(F,q,fe){var we=F.displayName;if(we)return we;var ze=q.displayName||q.name||"";return ze!==""?fe+"("+ze+")":fe}function Rr(F){return F.displayName||"Context"}function wr(F){if(F==null)return null;if(typeof F.tag=="number"&&Le("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case h:return"Fragment";case c:return"Portal";case D:return"Profiler";case m:return"StrictMode";case N:return"Suspense";case O:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case T:var q=F;return Rr(q)+".Consumer";case C:var fe=F;return Rr(fe._context)+".Provider";case $:return Qi(F,F.render,"ForwardRef");case B:var we=F.displayName||null;return we!==null?we:wr(F.type)||"Memo";case I:{var ze=F,Tt=ze._payload,Qe=ze._init;try{return wr(Qe(Tt))}catch{return null}}}return null}var Xn=Object.prototype.hasOwnProperty,un={key:!0,ref:!0,__self:!0,__source:!0},yn,sn,ce;ce={};function ee(F){if(Xn.call(F,"ref")){var q=Object.getOwnPropertyDescriptor(F,"ref").get;if(q&&q.isReactWarning)return!1}return F.ref!==void 0}function ye(F){if(Xn.call(F,"key")){var q=Object.getOwnPropertyDescriptor(F,"key").get;if(q&&q.isReactWarning)return!1}return F.key!==void 0}function Fe(F,q){var fe=function(){yn||(yn=!0,Le("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};fe.isReactWarning=!0,Object.defineProperty(F,"key",{get:fe,configurable:!0})}function xe(F,q){var fe=function(){sn||(sn=!0,Le("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};fe.isReactWarning=!0,Object.defineProperty(F,"ref",{get:fe,configurable:!0})}function Oe(F){if(typeof F.ref=="string"&&ae.current&&F.__self&&ae.current.stateNode!==F.__self){var q=wr(ae.current.type);ce[q]||(Le('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',q,F.ref),ce[q]=!0)}}var Ye=function(F,q,fe,we,ze,Tt,Qe){var At={$$typeof:l,type:F,key:q,ref:fe,props:Qe,_owner:Tt};return At._store={},Object.defineProperty(At._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(At,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(At,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.freeze&&(Object.freeze(At.props),Object.freeze(At)),At};function xt(F,q,fe){var we,ze={},Tt=null,Qe=null,At=null,ln=null;if(q!=null){ee(q)&&(Qe=q.ref,Oe(q)),ye(q)&&(kr(q.key),Tt=""+q.key),At=q.__self===void 0?null:q.__self,ln=q.__source===void 0?null:q.__source;for(we in q)Xn.call(q,we)&&!un.hasOwnProperty(we)&&(ze[we]=q[we])}var wn=arguments.length-2;if(wn===1)ze.children=fe;else if(wn>1){for(var zn=Array(wn),Un=0;Un<wn;Un++)zn[Un]=arguments[Un+2];Object.freeze&&Object.freeze(zn),ze.children=zn}if(F&&F.defaultProps){var Yt=F.defaultProps;for(we in Yt)ze[we]===void 0&&(ze[we]=Yt[we])}if(Tt||Qe){var Hn=typeof F=="function"?F.displayName||F.name||"Unknown":F;Tt&&Fe(ze,Hn),Qe&&xe(ze,Hn)}return Ye(F,Tt,Qe,At,ln,ae.current,ze)}function Ut(F,q){var fe=Ye(F.type,q,F.ref,F._self,F._source,F._owner,F.props);return fe}function Dn(F,q,fe){if(F==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var we,ze=he({},F.props),Tt=F.key,Qe=F.ref,At=F._self,ln=F._source,wn=F._owner;if(q!=null){ee(q)&&(Qe=q.ref,wn=ae.current),ye(q)&&(kr(q.key),Tt=""+q.key);var zn;F.type&&F.type.defaultProps&&(zn=F.type.defaultProps);for(we in q)Xn.call(q,we)&&!un.hasOwnProperty(we)&&(q[we]===void 0&&zn!==void 0?ze[we]=zn[we]:ze[we]=q[we])}var Un=arguments.length-2;if(Un===1)ze.children=fe;else if(Un>1){for(var Yt=Array(Un),Hn=0;Hn<Un;Hn++)Yt[Hn]=arguments[Hn+2];ze.children=Yt}return Ye(F.type,Tt,Qe,At,ln,wn,ze)}function _n(F){return typeof F=="object"&&F!==null&&F.$$typeof===l}var Tr=".",bn=":";function ga(F){var q=/[=:]/g,fe={"=":"=0",":":"=2"},we=F.replace(q,function(ze){return fe[ze]});return"$"+we}var mr=!1,jn=/\/+/g;function va(F){return F.replace(jn,"$&/")}function ya(F,q){return typeof F=="object"&&F!==null&&F.key!=null?(kr(F.key),ga(""+F.key)):q.toString(36)}function Ci(F,q,fe,we,ze){var Tt=typeof F;(Tt==="undefined"||Tt==="boolean")&&(F=null);var Qe=!1;if(F===null)Qe=!0;else switch(Tt){case"string":case"number":Qe=!0;break;case"object":switch(F.$$typeof){case l:case c:Qe=!0}}if(Qe){var At=F,ln=ze(At),wn=we===""?Tr+ya(At,0):we;if(Lt(ln)){var zn="";wn!=null&&(zn=va(wn)+"/"),Ci(ln,q,zn,"",function(ap){return ap})}else ln!=null&&(_n(ln)&&(ln.key&&(!At||At.key!==ln.key)&&kr(ln.key),ln=Ut(ln,fe+(ln.key&&(!At||At.key!==ln.key)?va(""+ln.key)+"/":"")+wn)),q.push(ln));return 1}var Un,Yt,Hn=0,gr=we===""?Tr:we+bn;if(Lt(F))for(var Ms=0;Ms<F.length;Ms++)Un=F[Ms],Yt=gr+ya(Un,Ms),Hn+=Ci(Un,q,fe,Yt,ze);else{var xc=Z(F);if(typeof xc=="function"){var as=F;xc===as.entries&&(mr||Me("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var Ec=xc.call(as),xl,Bd=0;!(xl=Ec.next()).done;)Un=xl.value,Yt=gr+ya(Un,Bd++),Hn+=Ci(Un,q,fe,Yt,ze)}else if(Tt==="object"){var Md=String(F);throw new Error("Objects are not valid as a React child (found: "+(Md==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Md)+"). If you meant to render a collection of children, use an array instead.")}}return Hn}function Co(F,q,fe){if(F==null)return F;var we=[],ze=0;return Ci(F,we,"","",function(Tt){return q.call(fe,Tt,ze++)}),we}function vl(F){var q=0;return Co(F,function(){q++}),q}function yl(F,q,fe){Co(F,function(){q.apply(this,arguments)},fe)}function Ps(F){return Co(F,function(q){return q})||[]}function Xi(F){if(!_n(F))throw new Error("React.Children.only expected to receive a single React element child.");return F}function _i(F){var q={$$typeof:T,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};q.Provider={$$typeof:C,_context:q};var fe=!1,we=!1,ze=!1;{var Tt={$$typeof:T,_context:q};Object.defineProperties(Tt,{Provider:{get:function(){return we||(we=!0,Le("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),q.Provider},set:function(Qe){q.Provider=Qe}},_currentValue:{get:function(){return q._currentValue},set:function(Qe){q._currentValue=Qe}},_currentValue2:{get:function(){return q._currentValue2},set:function(Qe){q._currentValue2=Qe}},_threadCount:{get:function(){return q._threadCount},set:function(Qe){q._threadCount=Qe}},Consumer:{get:function(){return fe||(fe=!0,Le("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),q.Consumer}},displayName:{get:function(){return q.displayName},set:function(Qe){ze||(Me("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Qe),ze=!0)}}}),q.Consumer=Tt}return q._currentRenderer=null,q._currentRenderer2=null,q}var lr=-1,Ta=0,oa=1,_o=2;function xi(F){if(F._status===lr){var q=F._result,fe=q();if(fe.then(function(Tt){if(F._status===Ta||F._status===lr){var Qe=F;Qe._status=oa,Qe._result=Tt}},function(Tt){if(F._status===Ta||F._status===lr){var Qe=F;Qe._status=_o,Qe._result=Tt}}),F._status===lr){var we=F;we._status=Ta,we._result=fe}}if(F._status===oa){var ze=F._result;return ze===void 0&&Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
111
|
+
*/Hy.exports;var e_;function iP(){return e_||(e_=1,function(n,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i="18.3.1",l=Symbol.for("react.element"),c=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Y=Symbol.iterator,Ce="@@iterator";function Z(F){if(F===null||typeof F!="object")return null;var q=Y&&F[Y]||F[Ce];return typeof q=="function"?q:null}var W={current:null},J={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ae={current:null},pe={},Te=null;function ke(F){Te=F}pe.setExtraStackFrame=function(F){Te=F},pe.getCurrentStack=null,pe.getStackAddendum=function(){var F="";Te&&(F+=Te);var q=pe.getCurrentStack;return q&&(F+=q()||""),F};var Ge=!1,We=!1,Ke=!1,nt=!1,He=!1,dt={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:J,ReactCurrentOwner:ae};dt.ReactDebugCurrentFrame=pe,dt.ReactCurrentActQueue=K;function Me(F){{for(var q=arguments.length,fe=new Array(q>1?q-1:0),we=1;we<q;we++)fe[we-1]=arguments[we];de("warn",F,fe)}}function Le(F){{for(var q=arguments.length,fe=new Array(q>1?q-1:0),we=1;we<q;we++)fe[we-1]=arguments[we];de("error",F,fe)}}function de(F,q,fe){{var we=dt.ReactDebugCurrentFrame,ze=we.getStackAddendum();ze!==""&&(q+="%s",fe=fe.concat([ze]));var Tt=fe.map(function(Qe){return String(Qe)});Tt.unshift("Warning: "+q),Function.prototype.apply.call(console[F],console,Tt)}}var Re={};function _e(F,q){{var fe=F.constructor,we=fe&&(fe.displayName||fe.name)||"ReactClass",ze=we+"."+q;if(Re[ze])return;Le("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",q,we),Re[ze]=!0}}var Q={isMounted:function(F){return!1},enqueueForceUpdate:function(F,q,fe){_e(F,"forceUpdate")},enqueueReplaceState:function(F,q,fe,we){_e(F,"replaceState")},enqueueSetState:function(F,q,fe,we){_e(F,"setState")}},he=Object.assign,ot={};Object.freeze(ot);function rt(F,q,fe){this.props=F,this.context=q,this.refs=ot,this.updater=fe||Q}rt.prototype.isReactComponent={},rt.prototype.setState=function(F,q){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,q,"setState")},rt.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};{var Dt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ht=function(F,q){Object.defineProperty(rt.prototype,F,{get:function(){Me("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})};for(var bt in Dt)Dt.hasOwnProperty(bt)&&ht(bt,Dt[bt])}function vt(){}vt.prototype=rt.prototype;function Rt(F,q,fe){this.props=F,this.context=q,this.refs=ot,this.updater=fe||Q}var fn=Rt.prototype=new vt;fn.constructor=Rt,he(fn,rt.prototype),fn.isPureReactComponent=!0;function en(){var F={current:null};return Object.seal(F),F}var Qn=Array.isArray;function Lt(F){return Qn(F)}function at(F){{var q=typeof Symbol=="function"&&Symbol.toStringTag,fe=q&&F[Symbol.toStringTag]||F.constructor.name||"Object";return fe}}function sr(F){try{return Nn(F),!1}catch{return!0}}function Nn(F){return""+F}function kr(F){if(sr(F))return Le("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",at(F)),Nn(F)}function Qi(F,q,fe){var we=F.displayName;if(we)return we;var ze=q.displayName||q.name||"";return ze!==""?fe+"("+ze+")":fe}function Rr(F){return F.displayName||"Context"}function wr(F){if(F==null)return null;if(typeof F.tag=="number"&&Le("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case h:return"Fragment";case c:return"Portal";case D:return"Profiler";case m:return"StrictMode";case N:return"Suspense";case O:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case T:var q=F;return Rr(q)+".Consumer";case C:var fe=F;return Rr(fe._context)+".Provider";case $:return Qi(F,F.render,"ForwardRef");case B:var we=F.displayName||null;return we!==null?we:wr(F.type)||"Memo";case I:{var ze=F,Tt=ze._payload,Qe=ze._init;try{return wr(Qe(Tt))}catch{return null}}}return null}var Xn=Object.prototype.hasOwnProperty,un={key:!0,ref:!0,__self:!0,__source:!0},yn,sn,ce;ce={};function ee(F){if(Xn.call(F,"ref")){var q=Object.getOwnPropertyDescriptor(F,"ref").get;if(q&&q.isReactWarning)return!1}return F.ref!==void 0}function ye(F){if(Xn.call(F,"key")){var q=Object.getOwnPropertyDescriptor(F,"key").get;if(q&&q.isReactWarning)return!1}return F.key!==void 0}function Fe(F,q){var fe=function(){yn||(yn=!0,Le("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};fe.isReactWarning=!0,Object.defineProperty(F,"key",{get:fe,configurable:!0})}function xe(F,q){var fe=function(){sn||(sn=!0,Le("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};fe.isReactWarning=!0,Object.defineProperty(F,"ref",{get:fe,configurable:!0})}function Oe(F){if(typeof F.ref=="string"&&ae.current&&F.__self&&ae.current.stateNode!==F.__self){var q=wr(ae.current.type);ce[q]||(Le('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',q,F.ref),ce[q]=!0)}}var Ye=function(F,q,fe,we,ze,Tt,Qe){var At={$$typeof:l,type:F,key:q,ref:fe,props:Qe,_owner:Tt};return At._store={},Object.defineProperty(At._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(At,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(At,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.freeze&&(Object.freeze(At.props),Object.freeze(At)),At};function xt(F,q,fe){var we,ze={},Tt=null,Qe=null,At=null,ln=null;if(q!=null){ee(q)&&(Qe=q.ref,Oe(q)),ye(q)&&(kr(q.key),Tt=""+q.key),At=q.__self===void 0?null:q.__self,ln=q.__source===void 0?null:q.__source;for(we in q)Xn.call(q,we)&&!un.hasOwnProperty(we)&&(ze[we]=q[we])}var wn=arguments.length-2;if(wn===1)ze.children=fe;else if(wn>1){for(var zn=Array(wn),Un=0;Un<wn;Un++)zn[Un]=arguments[Un+2];Object.freeze&&Object.freeze(zn),ze.children=zn}if(F&&F.defaultProps){var Yt=F.defaultProps;for(we in Yt)ze[we]===void 0&&(ze[we]=Yt[we])}if(Tt||Qe){var Hn=typeof F=="function"?F.displayName||F.name||"Unknown":F;Tt&&Fe(ze,Hn),Qe&&xe(ze,Hn)}return Ye(F,Tt,Qe,At,ln,ae.current,ze)}function Ut(F,q){var fe=Ye(F.type,q,F.ref,F._self,F._source,F._owner,F.props);return fe}function Dn(F,q,fe){if(F==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var we,ze=he({},F.props),Tt=F.key,Qe=F.ref,At=F._self,ln=F._source,wn=F._owner;if(q!=null){ee(q)&&(Qe=q.ref,wn=ae.current),ye(q)&&(kr(q.key),Tt=""+q.key);var zn;F.type&&F.type.defaultProps&&(zn=F.type.defaultProps);for(we in q)Xn.call(q,we)&&!un.hasOwnProperty(we)&&(q[we]===void 0&&zn!==void 0?ze[we]=zn[we]:ze[we]=q[we])}var Un=arguments.length-2;if(Un===1)ze.children=fe;else if(Un>1){for(var Yt=Array(Un),Hn=0;Hn<Un;Hn++)Yt[Hn]=arguments[Hn+2];ze.children=Yt}return Ye(F.type,Tt,Qe,At,ln,wn,ze)}function _n(F){return typeof F=="object"&&F!==null&&F.$$typeof===l}var Tr=".",bn=":";function ga(F){var q=/[=:]/g,fe={"=":"=0",":":"=2"},we=F.replace(q,function(ze){return fe[ze]});return"$"+we}var mr=!1,jn=/\/+/g;function va(F){return F.replace(jn,"$&/")}function ya(F,q){return typeof F=="object"&&F!==null&&F.key!=null?(kr(F.key),ga(""+F.key)):q.toString(36)}function Ci(F,q,fe,we,ze){var Tt=typeof F;(Tt==="undefined"||Tt==="boolean")&&(F=null);var Qe=!1;if(F===null)Qe=!0;else switch(Tt){case"string":case"number":Qe=!0;break;case"object":switch(F.$$typeof){case l:case c:Qe=!0}}if(Qe){var At=F,ln=ze(At),wn=we===""?Tr+ya(At,0):we;if(Lt(ln)){var zn="";wn!=null&&(zn=va(wn)+"/"),Ci(ln,q,zn,"",function(ap){return ap})}else ln!=null&&(_n(ln)&&(ln.key&&(!At||At.key!==ln.key)&&kr(ln.key),ln=Ut(ln,fe+(ln.key&&(!At||At.key!==ln.key)?va(""+ln.key)+"/":"")+wn)),q.push(ln));return 1}var Un,Yt,Hn=0,gr=we===""?Tr:we+bn;if(Lt(F))for(var Ms=0;Ms<F.length;Ms++)Un=F[Ms],Yt=gr+ya(Un,Ms),Hn+=Ci(Un,q,fe,Yt,ze);else{var xc=Z(F);if(typeof xc=="function"){var as=F;xc===as.entries&&(mr||Me("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var Ec=xc.call(as),xl,Bd=0;!(xl=Ec.next()).done;)Un=xl.value,Yt=gr+ya(Un,Bd++),Hn+=Ci(Un,q,fe,Yt,ze)}else if(Tt==="object"){var Md=String(F);throw new Error("Objects are not valid as a React child (found: "+(Md==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Md)+"). If you meant to render a collection of children, use an array instead.")}}return Hn}function Co(F,q,fe){if(F==null)return F;var we=[],ze=0;return Ci(F,we,"","",function(Tt){return q.call(fe,Tt,ze++)}),we}function vl(F){var q=0;return Co(F,function(){q++}),q}function yl(F,q,fe){Co(F,function(){q.apply(this,arguments)},fe)}function Ps(F){return Co(F,function(q){return q})||[]}function Xi(F){if(!_n(F))throw new Error("React.Children.only expected to receive a single React element child.");return F}function _i(F){var q={$$typeof:T,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};q.Provider={$$typeof:C,_context:q};var fe=!1,we=!1,ze=!1;{var Tt={$$typeof:T,_context:q};Object.defineProperties(Tt,{Provider:{get:function(){return we||(we=!0,Le("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),q.Provider},set:function(Qe){q.Provider=Qe}},_currentValue:{get:function(){return q._currentValue},set:function(Qe){q._currentValue=Qe}},_currentValue2:{get:function(){return q._currentValue2},set:function(Qe){q._currentValue2=Qe}},_threadCount:{get:function(){return q._threadCount},set:function(Qe){q._threadCount=Qe}},Consumer:{get:function(){return fe||(fe=!0,Le("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),q.Consumer}},displayName:{get:function(){return q.displayName},set:function(Qe){ze||(Me("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Qe),ze=!0)}}}),q.Consumer=Tt}return q._currentRenderer=null,q._currentRenderer2=null,q}var lr=-1,Ta=0,sa=1,_o=2;function xi(F){if(F._status===lr){var q=F._result,fe=q();if(fe.then(function(Tt){if(F._status===Ta||F._status===lr){var Qe=F;Qe._status=sa,Qe._result=Tt}},function(Tt){if(F._status===Ta||F._status===lr){var Qe=F;Qe._status=_o,Qe._result=Tt}}),F._status===lr){var we=F;we._status=Ta,we._result=fe}}if(F._status===sa){var ze=F._result;return ze===void 0&&Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
112
112
|
|
|
113
113
|
Your code should look like:
|
|
114
114
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -120,17 +120,17 @@ Your code should look like:
|
|
|
120
120
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
121
121
|
2. You might be breaking the Rules of Hooks
|
|
122
122
|
3. You might have more than one copy of React in the same app
|
|
123
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),F}function Ht(F){var q=ct();if(F._context!==void 0){var fe=F._context;fe.Consumer===F?Le("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):fe.Provider===F&&Le("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return q.useContext(F)}function jt(F){var q=ct();return q.useState(F)}function Wt(F,q,fe){var we=ct();return we.useReducer(F,q,fe)}function tn(F){var q=ct();return q.useRef(F)}function Dr(F,q){var fe=ct();return fe.useEffect(F,q)}function Jn(F,q){var fe=ct();return fe.useInsertionEffect(F,q)}function Zn(F,q){var fe=ct();return fe.useLayoutEffect(F,q)}function Lr(F,q){var fe=ct();return fe.useCallback(F,q)}function Ji(F,q){var fe=ct();return fe.useMemo(F,q)}function Sr(F,q,fe){var we=ct();return we.useImperativeHandle(F,q,fe)}function Et(F,q){{var fe=ct();return fe.useDebugValue(F,q)}}function Xt(){var F=ct();return F.useTransition()}function Zi(F){var q=ct();return q.useDeferredValue(F)}function Ns(){var F=ct();return F.useId()}function bl(F,q,fe){var we=ct();return we.useSyncExternalStore(F,q,fe)}var Os=0,ku,eo,Wa,wu,
|
|
123
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),F}function Ht(F){var q=ct();if(F._context!==void 0){var fe=F._context;fe.Consumer===F?Le("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):fe.Provider===F&&Le("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return q.useContext(F)}function jt(F){var q=ct();return q.useState(F)}function Wt(F,q,fe){var we=ct();return we.useReducer(F,q,fe)}function tn(F){var q=ct();return q.useRef(F)}function Dr(F,q){var fe=ct();return fe.useEffect(F,q)}function Jn(F,q){var fe=ct();return fe.useInsertionEffect(F,q)}function Zn(F,q){var fe=ct();return fe.useLayoutEffect(F,q)}function Lr(F,q){var fe=ct();return fe.useCallback(F,q)}function Ji(F,q){var fe=ct();return fe.useMemo(F,q)}function Sr(F,q,fe){var we=ct();return we.useImperativeHandle(F,q,fe)}function Et(F,q){{var fe=ct();return fe.useDebugValue(F,q)}}function Xt(){var F=ct();return F.useTransition()}function Zi(F){var q=ct();return q.useDeferredValue(F)}function Ns(){var F=ct();return F.useId()}function bl(F,q,fe){var we=ct();return we.useSyncExternalStore(F,q,fe)}var Os=0,ku,eo,Wa,wu,la,Ld,_c;function kl(){}kl.__reactDisabledLog=!0;function es(){{if(Os===0){ku=console.log,eo=console.info,Wa=console.warn,wu=console.error,la=console.group,Ld=console.groupCollapsed,_c=console.groupEnd;var F={configurable:!0,enumerable:!0,value:kl,writable:!0};Object.defineProperties(console,{info:F,log:F,warn:F,error:F,group:F,groupCollapsed:F,groupEnd:F})}Os++}}function Ya(){{if(Os--,Os===0){var F={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:he({},F,{value:ku}),info:he({},F,{value:eo}),warn:he({},F,{value:Wa}),error:he({},F,{value:wu}),group:he({},F,{value:la}),groupCollapsed:he({},F,{value:Ld}),groupEnd:he({},F,{value:_c})})}Os<0&&Le("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oi=dt.ReactCurrentDispatcher,to;function wl(F,q,fe){{if(to===void 0)try{throw Error()}catch(ze){var we=ze.stack.trim().match(/\n( *(at )?)/);to=we&&we[1]||""}return`
|
|
124
124
|
`+to+F}}var Dl=!1,Rs;{var Du=typeof WeakMap=="function"?WeakMap:Map;Rs=new Du}function Sl(F,q){if(!F||Dl)return"";{var fe=Rs.get(F);if(fe!==void 0)return fe}var we;Dl=!0;var ze=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Tt;Tt=oi.current,oi.current=null,es();try{if(q){var Qe=function(){throw Error()};if(Object.defineProperty(Qe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Qe,[])}catch(gr){we=gr}Reflect.construct(F,[],Qe)}else{try{Qe.call()}catch(gr){we=gr}F.call(Qe.prototype)}}else{try{throw Error()}catch(gr){we=gr}F()}}catch(gr){if(gr&&we&&typeof gr.stack=="string"){for(var At=gr.stack.split(`
|
|
125
125
|
`),ln=we.stack.split(`
|
|
126
126
|
`),wn=At.length-1,zn=ln.length-1;wn>=1&&zn>=0&&At[wn]!==ln[zn];)zn--;for(;wn>=1&&zn>=0;wn--,zn--)if(At[wn]!==ln[zn]){if(wn!==1||zn!==1)do if(wn--,zn--,zn<0||At[wn]!==ln[zn]){var Un=`
|
|
127
127
|
`+At[wn].replace(" at new "," at ");return F.displayName&&Un.includes("<anonymous>")&&(Un=Un.replace("<anonymous>",F.displayName)),typeof F=="function"&&Rs.set(F,Un),Un}while(wn>=1&&zn>=0);break}}}finally{Dl=!1,oi.current=Tt,Ya(),Error.prepareStackTrace=ze}var Yt=F?F.displayName||F.name:"",Hn=Yt?wl(Yt):"";return typeof F=="function"&&Rs.set(F,Hn),Hn}function si(F,q,fe){return Sl(F,!1)}function np(F){var q=F.prototype;return!!(q&&q.isReactComponent)}function ts(F,q,fe){if(F==null)return"";if(typeof F=="function")return Sl(F,np(F));if(typeof F=="string")return wl(F);switch(F){case N:return wl("Suspense");case O:return wl("SuspenseList")}if(typeof F=="object")switch(F.$$typeof){case $:return si(F.render);case B:return ts(F.type,q,fe);case I:{var we=F,ze=we._payload,Tt=we._init;try{return ts(Tt(ze),q,fe)}catch{}}}return""}var xn={},Su=dt.ReactDebugCurrentFrame;function kn(F){if(F){var q=F._owner,fe=ts(F.type,F._source,q?q.type:null);Su.setExtraStackFrame(fe)}else Su.setExtraStackFrame(null)}function To(F,q,fe,we,ze){{var Tt=Function.call.bind(Xn);for(var Qe in F)if(Tt(F,Qe)){var At=void 0;try{if(typeof F[Qe]!="function"){var ln=Error((we||"React class")+": "+fe+" type `"+Qe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof F[Qe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ln.name="Invariant Violation",ln}At=F[Qe](q,Qe,we,fe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(wn){At=wn}At&&!(At instanceof Error)&&(kn(ze),Le("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",we||"React class",fe,Qe,typeof At),kn(null)),At instanceof Error&&!(At.message in xn)&&(xn[At.message]=!0,kn(ze),Le("Failed %s type: %s",fe,At.message),kn(null))}}}function Ao(F){if(F){var q=F._owner,fe=ts(F.type,F._source,q?q.type:null);ke(fe)}else ke(null)}var Mt;Mt=!1;function Cl(){if(ae.current){var F=wr(ae.current.type);if(F)return`
|
|
128
128
|
|
|
129
|
-
Check the render method of \``+F+"`."}return""}function
|
|
129
|
+
Check the render method of \``+F+"`."}return""}function ua(F){if(F!==void 0){var q=F.fileName.replace(/^.*[\\\/]/,""),fe=F.lineNumber;return`
|
|
130
130
|
|
|
131
|
-
Check your code at `+q+":"+fe+"."}return""}function no(F){return F!=null?
|
|
131
|
+
Check your code at `+q+":"+fe+"."}return""}function no(F){return F!=null?ua(F.__source):""}var ba={};function ca(F){var q=Cl();if(!q){var fe=typeof F=="string"?F:F.displayName||F.name;fe&&(q=`
|
|
132
132
|
|
|
133
|
-
Check the top-level render call using <`+fe+">.")}return q}function ur(F,q){if(!(!F._store||F._store.validated||F.key!=null)){F._store.validated=!0;var fe=
|
|
133
|
+
Check the top-level render call using <`+fe+">.")}return q}function ur(F,q){if(!(!F._store||F._store.validated||F.key!=null)){F._store.validated=!0;var fe=ca(q);if(!ba[fe]){ba[fe]=!0;var we="";F&&F._owner&&F._owner!==ae.current&&(we=" It was passed a child from "+wr(F._owner.type)+"."),Ao(F),Le('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',fe,we),Ao(null)}}}function Fn(F,q){if(typeof F=="object"){if(Lt(F))for(var fe=0;fe<F.length;fe++){var we=F[fe];_n(we)&&ur(we,q)}else if(_n(F))F._store&&(F._store.validated=!0);else if(F){var ze=Z(F);if(typeof ze=="function"&&ze!==F.entries)for(var Tt=ze.call(F),Qe;!(Qe=Tt.next()).done;)_n(Qe.value)&&ur(Qe.value,q)}}}function li(F){{var q=F.type;if(q==null||typeof q=="string")return;var fe;if(typeof q=="function")fe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===$||q.$$typeof===B))fe=q.propTypes;else return;if(fe){var we=wr(q);To(fe,F.props,"prop",we,F)}else if(q.PropTypes!==void 0&&!Mt){Mt=!0;var ze=wr(q);Le("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ze||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&Le("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(F){{for(var q=Object.keys(F.props),fe=0;fe<q.length;fe++){var we=q[fe];if(we!=="children"&&we!=="key"){Ao(F),Le("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",we),Ao(null);break}}F.ref!==null&&(Ao(F),Le("Invalid attribute `ref` supplied to `React.Fragment`."),Ao(null))}}function Aa(F,q,fe){var we=Ae(F);if(!we){var ze="";(F===void 0||typeof F=="object"&&F!==null&&Object.keys(F).length===0)&&(ze+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Tt=no(q);Tt?ze+=Tt:ze+=Cl();var Qe;F===null?Qe="null":Lt(F)?Qe="array":F!==void 0&&F.$$typeof===l?(Qe="<"+(wr(F.type)||"Unknown")+" />",ze=" Did you accidentally export a JSX literal instead of a component?"):Qe=typeof F,Le("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Qe,ze)}var At=xt.apply(this,arguments);if(At==null)return At;if(we)for(var ln=2;ln<arguments.length;ln++)Fn(arguments[ln],F);return F===h?Ar(At):li(At),At}var Ei=!1;function Ls(F){var q=Aa.bind(null,F);return q.type=F,Ei||(Ei=!0,Me("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(q,"type",{enumerable:!1,get:function(){return Me("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:F}),F}}),q}function Cu(F,q,fe){for(var we=Dn.apply(this,arguments),ze=2;ze<arguments.length;ze++)Fn(arguments[ze],we.type);return li(we),we}function _u(F,q){var fe=J.transition;J.transition={};var we=J.transition;J.transition._updatedFibers=new Set;try{F()}finally{if(J.transition=fe,fe===null&&we._updatedFibers){var ze=we._updatedFibers.size;ze>10&&Me("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."),we._updatedFibers.clear()}}}var Bs=!1,ns=null;function rp(F){if(ns===null)try{var q=("require"+Math.random()).slice(0,7),fe=n&&n[q];ns=fe.call(n,"timers").setImmediate}catch{ns=function(we){Bs===!1&&(Bs=!0,typeof MessageChannel>"u"&&Le("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ze=new MessageChannel;ze.port1.onmessage=we,ze.port2.postMessage(void 0)}}return ns(F)}var Ti=0,ro=!1;function Fo(F){{var q=Ti;Ti++,K.current===null&&(K.current=[]);var fe=K.isBatchingLegacy,we;try{if(K.isBatchingLegacy=!0,we=F(),!fe&&K.didScheduleLegacyUpdate){var ze=K.current;ze!==null&&(K.didScheduleLegacyUpdate=!1,rs(ze))}}catch(Yt){throw Ai(q),Yt}finally{K.isBatchingLegacy=fe}if(we!==null&&typeof we=="object"&&typeof we.then=="function"){var Tt=we,Qe=!1,At={then:function(Yt,Hn){Qe=!0,Tt.then(function(gr){Ai(q),Ti===0?xu(gr,Yt,Hn):Yt(gr)},function(gr){Ai(q),Hn(gr)})}};return!ro&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Qe||(ro=!0,Le("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),At}else{var ln=we;if(Ai(q),Ti===0){var wn=K.current;wn!==null&&(rs(wn),K.current=null);var zn={then:function(Yt,Hn){K.current===null?(K.current=[],xu(ln,Yt,Hn)):Yt(ln)}};return zn}else{var Un={then:function(Yt,Hn){Yt(ln)}};return Un}}}}function Ai(F){F!==Ti-1&&Le("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ti=F}function xu(F,q,fe){{var we=K.current;if(we!==null)try{rs(we),rp(function(){we.length===0?(K.current=null,q(F)):xu(F,q,fe)})}catch(ze){fe(ze)}else q(F)}}var Eu=!1;function rs(F){if(!Eu){Eu=!0;var q=0;try{for(;q<F.length;q++){var fe=F[q];do fe=fe(!0);while(fe!==null)}F.length=0}catch(we){throw F=F.slice(q+1),we}finally{Eu=!1}}}var _l=Aa,Tu=Cu,Au=Ls,ao={map:Co,forEach:yl,count:vl,toArray:Ps,only:Xi};r.Children=ao,r.Component=rt,r.Fragment=h,r.Profiler=D,r.PureComponent=Rt,r.StrictMode=m,r.Suspense=N,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dt,r.act=Fo,r.cloneElement=Tu,r.createContext=_i,r.createElement=_l,r.createFactory=Au,r.createRef=en,r.forwardRef=Eo,r.isValidElement=_n,r.lazy=xo,r.memo=Je,r.startTransition=_u,r.unstable_act=Fo,r.useCallback=Lr,r.useContext=Ht,r.useDebugValue=Et,r.useDeferredValue=Zi,r.useEffect=Dr,r.useId=Ns,r.useImperativeHandle=Sr,r.useInsertionEffect=Jn,r.useLayoutEffect=Zn,r.useMemo=Ji,r.useReducer=Wt,r.useRef=tn,r.useState=jt,r.useSyncExternalStore=bl,r.useTransition=Xt,r.version=i,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Hy,Hy.exports)),Hy.exports}var t_;function n_(){return t_||(t_=1,process.env.NODE_ENV==="production"?Zw.exports=aP():Zw.exports=iP()),Zw.exports}var e0={exports:{}},r_={};/**
|
|
134
134
|
* @license React
|
|
135
135
|
* scheduler.production.min.js
|
|
136
136
|
*
|
|
@@ -158,10 +158,10 @@ Check the top-level render call using <`+fe+">.")}return q}function ur(F,q){if(!
|
|
|
158
158
|
`+Q+a}var ot=!1;function rt(a,o){if(!a||ot)return"";ot=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(me){var v=me}Reflect.construct(a,[],o)}else{try{o.call()}catch(me){v=me}a.call(o.prototype)}else{try{throw Error()}catch(me){v=me}a()}}catch(me){if(me&&v&&typeof me.stack=="string"){for(var b=me.stack.split(`
|
|
159
159
|
`),S=v.stack.split(`
|
|
160
160
|
`),P=b.length-1,H=S.length-1;1<=P&&0<=H&&b[P]!==S[H];)H--;for(;1<=P&&0<=H;P--,H--)if(b[P]!==S[H]){if(P!==1||H!==1)do if(P--,H--,0>H||b[P]!==S[H]){var X=`
|
|
161
|
-
`+b[P].replace(" at new "," at ");return a.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",a.displayName)),X}while(1<=P&&0<=H);break}}}finally{ot=!1,Error.prepareStackTrace=d}return(a=a?a.displayName||a.name:"")?he(a):""}function Dt(a){switch(a.tag){case 5:return he(a.type);case 16:return he("Lazy");case 13:return he("Suspense");case 19:return he("SuspenseList");case 0:case 2:case 15:return a=rt(a.type,!1),a;case 11:return a=rt(a.type.render,!1),a;case 1:return a=rt(a.type,!0),a;default:return""}}function ht(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case pe:return"Fragment";case ae:return"Portal";case ke:return"Profiler";case Te:return"StrictMode";case nt:return"Suspense";case He:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case We:return(a.displayName||"Context")+".Consumer";case Ge:return(a._context.displayName||"Context")+".Provider";case Ke:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case dt:return o=a.displayName||null,o!==null?o:ht(a.type)||"Memo";case Me:o=a._payload,a=a._init;try{return ht(a(o))}catch{}}return null}function bt(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ht(o);case 8:return o===Te?"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 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function vt(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Rt(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function fn(a){var o=Rt(a)?"checked":"value",d=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),v=""+a[o];if(!a.hasOwnProperty(o)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var b=d.get,S=d.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return b.call(this)},set:function(P){v=""+P,S.call(this,P)}}),Object.defineProperty(a,o,{enumerable:d.enumerable}),{getValue:function(){return v},setValue:function(P){v=""+P},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function en(a){a._valueTracker||(a._valueTracker=fn(a))}function Qn(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var d=o.getValue(),v="";return a&&(v=Rt(a)?a.checked?"true":"false":a.value),a=v,a!==d?(o.setValue(a),!0):!1}function Lt(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function at(a,o){var d=o.checked;return _e({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??a._wrapperState.initialChecked})}function sr(a,o){var d=o.defaultValue==null?"":o.defaultValue,v=o.checked!=null?o.checked:o.defaultChecked;d=vt(o.value!=null?o.value:d),a._wrapperState={initialChecked:v,initialValue:d,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Nn(a,o){o=o.checked,o!=null&&W(a,"checked",o,!1)}function kr(a,o){Nn(a,o);var d=vt(o.value),v=o.type;if(d!=null)v==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+d):a.value!==""+d&&(a.value=""+d);else if(v==="submit"||v==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?Rr(a,o.type,d):o.hasOwnProperty("defaultValue")&&Rr(a,o.type,vt(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Qi(a,o,d){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var v=o.type;if(!(v!=="submit"&&v!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,d||o===a.value||(a.value=o),a.defaultValue=o}d=a.name,d!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,d!==""&&(a.name=d)}function Rr(a,o,d){(o!=="number"||Lt(a.ownerDocument)!==a)&&(d==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+d&&(a.defaultValue=""+d))}var wr=Array.isArray;function Xn(a,o,d,v){if(a=a.options,o){o={};for(var b=0;b<d.length;b++)o["$"+d[b]]=!0;for(d=0;d<a.length;d++)b=o.hasOwnProperty("$"+a[d].value),a[d].selected!==b&&(a[d].selected=b),b&&v&&(a[d].defaultSelected=!0)}else{for(d=""+vt(d),o=null,b=0;b<a.length;b++){if(a[b].value===d){a[b].selected=!0,v&&(a[b].defaultSelected=!0);return}o!==null||a[b].disabled||(o=a[b])}o!==null&&(o.selected=!0)}}function un(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return _e({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function yn(a,o){var d=o.value;if(d==null){if(d=o.children,o=o.defaultValue,d!=null){if(o!=null)throw Error(i(92));if(wr(d)){if(1<d.length)throw Error(i(93));d=d[0]}o=d}o==null&&(o=""),d=o}a._wrapperState={initialValue:vt(d)}}function sn(a,o){var d=vt(o.value),v=vt(o.defaultValue);d!=null&&(d=""+d,d!==a.value&&(a.value=d),o.defaultValue==null&&a.defaultValue!==d&&(a.defaultValue=d)),v!=null&&(a.defaultValue=""+v)}function ce(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function ee(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ye(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?ee(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var Fe,xe=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,d,v,b){MSApp.execUnsafeLocalFunction(function(){return a(o,d,v,b)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(Fe=Fe||document.createElement("div"),Fe.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=Fe.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Oe(a,o){if(o){var d=a.firstChild;if(d&&d===a.lastChild&&d.nodeType===3){d.nodeValue=o;return}}a.textContent=o}var Ye={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xt=["Webkit","ms","Moz","O"];Object.keys(Ye).forEach(function(a){xt.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),Ye[o]=Ye[a]})});function Ut(a,o,d){return o==null||typeof o=="boolean"||o===""?"":d||typeof o!="number"||o===0||Ye.hasOwnProperty(a)&&Ye[a]?(""+o).trim():o+"px"}function Dn(a,o){a=a.style;for(var d in o)if(o.hasOwnProperty(d)){var v=d.indexOf("--")===0,b=Ut(d,o[d],v);d==="float"&&(d="cssFloat"),v?a.setProperty(d,b):a[d]=b}}var _n=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tr(a,o){if(o){if(_n[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function bn(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ga=null;function mr(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var jn=null,va=null,ya=null;function Ci(a){if(a=Ct(a)){if(typeof jn!="function")throw Error(i(280));var o=a.stateNode;o&&(o=Fr(o),jn(a.stateNode,a.type,o))}}function Co(a){va?ya?ya.push(a):ya=[a]:va=a}function vl(){if(va){var a=va,o=ya;if(ya=va=null,Ci(a),o)for(a=0;a<o.length;a++)Ci(o[a])}}function yl(a,o){return a(o)}function Ps(){}var Xi=!1;function _i(a,o,d){if(Xi)return a(o,d);Xi=!0;try{return yl(a,o,d)}finally{Xi=!1,(va!==null||ya!==null)&&(Ps(),vl())}}function lr(a,o){var d=a.stateNode;if(d===null)return null;var v=Fr(d);if(v===null)return null;d=v[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(a=a.type,v=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!v;break e;default:a=!1}if(a)return null;if(d&&typeof d!="function")throw Error(i(231,o,typeof d));return d}var Ta=!1;if(D)try{var oa={};Object.defineProperty(oa,"passive",{get:function(){Ta=!0}}),window.addEventListener("test",oa,oa),window.removeEventListener("test",oa,oa)}catch{Ta=!1}function _o(a,o,d,v,b,S,P,H,X){var me=Array.prototype.slice.call(arguments,3);try{o.apply(d,me)}catch(Ne){this.onError(Ne)}}var xi=!1,xo=null,Eo=!1,V=null,Ae={onError:function(a){xi=!0,xo=a}};function Je(a,o,d,v,b,S,P,H,X){xi=!1,xo=null,_o.apply(Ae,arguments)}function ct(a,o,d,v,b,S,P,H,X){if(Je.apply(this,arguments),xi){if(xi){var me=xo;xi=!1,xo=null}else throw Error(i(198));Eo||(Eo=!0,V=me)}}function Ht(a){var o=a,d=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(d=o.return),a=o.return;while(a)}return o.tag===3?d:null}function jt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function Wt(a){if(Ht(a)!==a)throw Error(i(188))}function tn(a){var o=a.alternate;if(!o){if(o=Ht(a),o===null)throw Error(i(188));return o!==a?null:a}for(var d=a,v=o;;){var b=d.return;if(b===null)break;var S=b.alternate;if(S===null){if(v=b.return,v!==null){d=v;continue}break}if(b.child===S.child){for(S=b.child;S;){if(S===d)return Wt(b),a;if(S===v)return Wt(b),o;S=S.sibling}throw Error(i(188))}if(d.return!==v.return)d=b,v=S;else{for(var P=!1,H=b.child;H;){if(H===d){P=!0,d=b,v=S;break}if(H===v){P=!0,v=b,d=S;break}H=H.sibling}if(!P){for(H=S.child;H;){if(H===d){P=!0,d=S,v=b;break}if(H===v){P=!0,v=S,d=b;break}H=H.sibling}if(!P)throw Error(i(189))}}if(d.alternate!==v)throw Error(i(190))}if(d.tag!==3)throw Error(i(188));return d.stateNode.current===d?a:o}function Dr(a){return a=tn(a),a!==null?Jn(a):null}function Jn(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=Jn(a);if(o!==null)return o;a=a.sibling}return null}var Zn=r.unstable_scheduleCallback,Lr=r.unstable_cancelCallback,Ji=r.unstable_shouldYield,Sr=r.unstable_requestPaint,Et=r.unstable_now,Xt=r.unstable_getCurrentPriorityLevel,Zi=r.unstable_ImmediatePriority,Ns=r.unstable_UserBlockingPriority,bl=r.unstable_NormalPriority,Os=r.unstable_LowPriority,ku=r.unstable_IdlePriority,eo=null,Wa=null;function wu(a){if(Wa&&typeof Wa.onCommitFiberRoot=="function")try{Wa.onCommitFiberRoot(eo,a,void 0,(a.current.flags&128)===128)}catch{}}var sa=Math.clz32?Math.clz32:kl,Ld=Math.log,_c=Math.LN2;function kl(a){return a>>>=0,a===0?32:31-(Ld(a)/_c|0)|0}var es=64,Ya=4194304;function oi(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function to(a,o){var d=a.pendingLanes;if(d===0)return 0;var v=0,b=a.suspendedLanes,S=a.pingedLanes,P=d&268435455;if(P!==0){var H=P&~b;H!==0?v=oi(H):(S&=P,S!==0&&(v=oi(S)))}else P=d&~b,P!==0?v=oi(P):S!==0&&(v=oi(S));if(v===0)return 0;if(o!==0&&o!==v&&!(o&b)&&(b=v&-v,S=o&-o,b>=S||b===16&&(S&4194240)!==0))return o;if(v&4&&(v|=d&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=v;0<o;)d=31-sa(o),b=1<<d,v|=a[d],o&=~b;return v}function wl(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64: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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dl(a,o){for(var d=a.suspendedLanes,v=a.pingedLanes,b=a.expirationTimes,S=a.pendingLanes;0<S;){var P=31-sa(S),H=1<<P,X=b[P];X===-1?(!(H&d)||H&v)&&(b[P]=wl(H,o)):X<=o&&(a.expiredLanes|=H),S&=~H}}function Rs(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function Du(){var a=es;return es<<=1,!(es&4194240)&&(es=64),a}function Sl(a){for(var o=[],d=0;31>d;d++)o.push(a);return o}function si(a,o,d){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-sa(o),a[o]=d}function np(a,o){var d=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var v=a.eventTimes;for(a=a.expirationTimes;0<d;){var b=31-sa(d),S=1<<b;o[b]=0,v[b]=-1,a[b]=-1,d&=~S}}function ts(a,o){var d=a.entangledLanes|=o;for(a=a.entanglements;d;){var v=31-sa(d),b=1<<v;b&o|a[v]&o&&(a[v]|=o),d&=~b}}var xn=0;function Su(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var kn,To,Ao,Mt,Cl,la=!1,no=[],ba=null,ua=null,ur=null,Fn=new Map,li=new Map,Ar=[],Aa="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 submit".split(" ");function Ei(a,o){switch(a){case"focusin":case"focusout":ba=null;break;case"dragenter":case"dragleave":ua=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Fn.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(o.pointerId)}}function Ls(a,o,d,v,b,S){return a===null||a.nativeEvent!==S?(a={blockedOn:o,domEventName:d,eventSystemFlags:v,nativeEvent:S,targetContainers:[b]},o!==null&&(o=Ct(o),o!==null&&To(o)),a):(a.eventSystemFlags|=v,o=a.targetContainers,b!==null&&o.indexOf(b)===-1&&o.push(b),a)}function Cu(a,o,d,v,b){switch(o){case"focusin":return ba=Ls(ba,a,o,d,v,b),!0;case"dragenter":return ua=Ls(ua,a,o,d,v,b),!0;case"mouseover":return ur=Ls(ur,a,o,d,v,b),!0;case"pointerover":var S=b.pointerId;return Fn.set(S,Ls(Fn.get(S)||null,a,o,d,v,b)),!0;case"gotpointercapture":return S=b.pointerId,li.set(S,Ls(li.get(S)||null,a,o,d,v,b)),!0}return!1}function _u(a){var o=Ll(a.target);if(o!==null){var d=Ht(o);if(d!==null){if(o=d.tag,o===13){if(o=jt(d),o!==null){a.blockedOn=o,Cl(a.priority,function(){Ao(d)});return}}else if(o===3&&d.stateNode.current.memoizedState.isDehydrated){a.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Bs(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var d=Tu(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(d===null){d=a.nativeEvent;var v=new d.constructor(d.type,d);ga=v,d.target.dispatchEvent(v),ga=null}else return o=Ct(d),o!==null&&To(o),a.blockedOn=d,!1;o.shift()}return!0}function ns(a,o,d){Bs(a)&&d.delete(o)}function rp(){la=!1,ba!==null&&Bs(ba)&&(ba=null),ua!==null&&Bs(ua)&&(ua=null),ur!==null&&Bs(ur)&&(ur=null),Fn.forEach(ns),li.forEach(ns)}function Ti(a,o){a.blockedOn===o&&(a.blockedOn=null,la||(la=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,rp)))}function ro(a){function o(b){return Ti(b,a)}if(0<no.length){Ti(no[0],a);for(var d=1;d<no.length;d++){var v=no[d];v.blockedOn===a&&(v.blockedOn=null)}}for(ba!==null&&Ti(ba,a),ua!==null&&Ti(ua,a),ur!==null&&Ti(ur,a),Fn.forEach(o),li.forEach(o),d=0;d<Ar.length;d++)v=Ar[d],v.blockedOn===a&&(v.blockedOn=null);for(;0<Ar.length&&(d=Ar[0],d.blockedOn===null);)_u(d),d.blockedOn===null&&Ar.shift()}var Fo=J.ReactCurrentBatchConfig,Ai=!0;function xu(a,o,d,v){var b=xn,S=Fo.transition;Fo.transition=null;try{xn=1,rs(a,o,d,v)}finally{xn=b,Fo.transition=S}}function Eu(a,o,d,v){var b=xn,S=Fo.transition;Fo.transition=null;try{xn=4,rs(a,o,d,v)}finally{xn=b,Fo.transition=S}}function rs(a,o,d,v){if(Ai){var b=Tu(a,o,d,v);if(b===null)Jd(a,o,v,_l,d),Ei(a,v);else if(Cu(b,a,o,d,v))v.stopPropagation();else if(Ei(a,v),o&4&&-1<Aa.indexOf(a)){for(;b!==null;){var S=Ct(b);if(S!==null&&kn(S),S=Tu(a,o,d,v),S===null&&Jd(a,o,v,_l,d),S===b)break;b=S}b!==null&&v.stopPropagation()}else Jd(a,o,v,null,d)}}var _l=null;function Tu(a,o,d,v){if(_l=null,a=mr(v),a=Ll(a),a!==null)if(o=Ht(a),o===null)a=null;else if(d=o.tag,d===13){if(a=jt(o),a!==null)return a;a=null}else if(d===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return _l=a,null}function Au(a){switch(a){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xt()){case Zi:return 1;case Ns:return 4;case bl:case Os:return 16;case ku:return 536870912;default:return 16}default:return 16}}var ao=null,F=null,q=null;function fe(){if(q)return q;var a,o=F,d=o.length,v,b="value"in ao?ao.value:ao.textContent,S=b.length;for(a=0;a<d&&o[a]===b[a];a++);var P=d-a;for(v=1;v<=P&&o[d-v]===b[S-v];v++);return q=b.slice(a,1<v?1-v:void 0)}function we(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function ze(){return!0}function Tt(){return!1}function Qe(a){function o(d,v,b,S,P){this._reactName=d,this._targetInst=b,this.type=v,this.nativeEvent=S,this.target=P,this.currentTarget=null;for(var H in a)a.hasOwnProperty(H)&&(d=a[H],this[H]=d?d(S):S[H]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?ze:Tt,this.isPropagationStopped=Tt,this}return _e(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=ze)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=ze)},persist:function(){},isPersistent:ze}),o}var At={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=Qe(At),wn=_e({},At,{view:0,detail:0}),zn=Qe(wn),Un,Yt,Hn,gr=_e({},wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:El,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Hn&&(Hn&&a.type==="mousemove"?(Un=a.screenX-Hn.screenX,Yt=a.screenY-Hn.screenY):Yt=Un=0,Hn=a),Un)},movementY:function(a){return"movementY"in a?a.movementY:Yt}}),Ms=Qe(gr),xc=_e({},gr,{dataTransfer:0}),as=Qe(xc),Ec=_e({},wn,{relatedTarget:0}),xl=Qe(Ec),Bd=_e({},At,{animationName:0,elapsedTime:0,pseudoElement:0}),Md=Qe(Bd),ap=_e({},At,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Kh=Qe(ap),ip=_e({},At,{data:0}),Id=Qe(ip),op={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qh={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"},sp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ui(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=sp[a])?!!o[a]:!1}function El(){return ui}var Tc=_e({},wn,{key:function(a){if(a.key){var o=op[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=we(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Qh[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:El,charCode:function(a){return a.type==="keypress"?we(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?we(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),lp=Qe(Tc),Tl=_e({},gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xh=Qe(Tl),$o=_e({},wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:El}),jd=Qe($o),Zr=_e({},At,{propertyName:0,elapsedTime:0,pseudoElement:0}),Po=Qe(Zr),er=_e({},gr,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),ci=Qe(er),Al=[9,13,27,32],is=D&&"CompositionEvent"in window,Ac=null;D&&"documentMode"in document&&(Ac=document.documentMode);var Is=D&&"TextEvent"in window&&!Ac,Jh=D&&(!is||Ac&&8<Ac&&11>=Ac),Zh=" ",Fu=!1;function $u(a,o){switch(a){case"keyup":return Al.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function js(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Fl=!1;function zd(a,o){switch(a){case"compositionend":return js(o);case"keypress":return o.which!==32?null:(Fu=!0,Zh);case"textInput":return a=o.data,a===Zh&&Fu?null:a;default:return null}}function up(a,o){if(Fl)return a==="compositionend"||!is&&$u(a,o)?(a=fe(),q=F=ao=null,Fl=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Jh&&o.locale!=="ko"?null:o.data;default:return null}}var ev={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cp(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!ev[a.type]:o==="textarea"}function dp(a,o,d,v){Co(v),o=Nc(o,"onChange"),0<o.length&&(d=new ln("onChange","change",null,d,v),a.push({event:d,listeners:o}))}var No=null,$l=null;function Pu(a){Ol(a,0)}function os(a){var o=Pi(a);if(Qn(o))return a}function tv(a,o){if(a==="change")return o}var em=!1;if(D){var fp;if(D){var pp="oninput"in document;if(!pp){var tm=document.createElement("div");tm.setAttribute("oninput","return;"),pp=typeof tm.oninput=="function"}fp=pp}else fp=!1;em=fp&&(!document.documentMode||9<document.documentMode)}function nm(){No&&(No.detachEvent("onpropertychange",rm),$l=No=null)}function rm(a){if(a.propertyName==="value"&&os($l)){var o=[];dp(o,$l,a,mr(a)),_i(Pu,o)}}function nv(a,o,d){a==="focusin"?(nm(),No=o,$l=d,No.attachEvent("onpropertychange",rm)):a==="focusout"&&nm()}function am(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return os($l)}function rv(a,o){if(a==="click")return os(o)}function im(a,o){if(a==="input"||a==="change")return os(o)}function om(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Fa=typeof Object.is=="function"?Object.is:om;function zs(a,o){if(Fa(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var d=Object.keys(a),v=Object.keys(o);if(d.length!==v.length)return!1;for(v=0;v<d.length;v++){var b=d[v];if(!C.call(o,b)||!Fa(a[b],o[b]))return!1}return!0}function Ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Hd(a,o){var d=Ud(a);a=0;for(var v;d;){if(d.nodeType===3){if(v=a+d.textContent.length,a<=o&&v>=o)return{node:d,offset:o-a};a=v}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Ud(d)}}function ss(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?ss(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Fc(){for(var a=window,o=Lt();o instanceof a.HTMLIFrameElement;){try{var d=typeof o.contentWindow.location.href=="string"}catch{d=!1}if(d)a=o.contentWindow;else break;o=Lt(a.document)}return o}function qd(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function Nu(a){var o=Fc(),d=a.focusedElem,v=a.selectionRange;if(o!==d&&d&&d.ownerDocument&&ss(d.ownerDocument.documentElement,d)){if(v!==null&&qd(d)){if(o=v.start,a=v.end,a===void 0&&(a=o),"selectionStart"in d)d.selectionStart=o,d.selectionEnd=Math.min(a,d.value.length);else if(a=(o=d.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var b=d.textContent.length,S=Math.min(v.start,b);v=v.end===void 0?S:Math.min(v.end,b),!a.extend&&S>v&&(b=v,v=S,S=b),b=Hd(d,S);var P=Hd(d,v);b&&P&&(a.rangeCount!==1||a.anchorNode!==b.node||a.anchorOffset!==b.offset||a.focusNode!==P.node||a.focusOffset!==P.offset)&&(o=o.createRange(),o.setStart(b.node,b.offset),a.removeAllRanges(),S>v?(a.addRange(o),a.extend(P.node,P.offset)):(o.setEnd(P.node,P.offset),a.addRange(o)))}}for(o=[],a=d;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<o.length;d++)a=o[d],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var av=D&&"documentMode"in document&&11>=document.documentMode,Ou=null,Ru=null,Pl=null,Lu=!1;function hp(a,o,d){var v=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Lu||Ou==null||Ou!==Lt(v)||(v=Ou,"selectionStart"in v&&qd(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Pl&&zs(Pl,v)||(Pl=v,v=Nc(Ru,"onSelect"),0<v.length&&(o=new ln("onSelect","select",null,o,d),a.push({event:o,listeners:v}),o.target=Ou)))}function Bu(a,o){var d={};return d[a.toLowerCase()]=o.toLowerCase(),d["Webkit"+a]="webkit"+o,d["Moz"+a]="moz"+o,d}var Us={animationend:Bu("Animation","AnimationEnd"),animationiteration:Bu("Animation","AnimationIteration"),animationstart:Bu("Animation","AnimationStart"),transitionend:Bu("Transition","TransitionEnd")},qr={},mp={};D&&(mp=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);function Vd(a){if(qr[a])return qr[a];if(!Us[a])return a;var o=Us[a],d;for(d in o)if(o.hasOwnProperty(d)&&d in mp)return qr[a]=o[d];return a}var Wd=Vd("animationend"),gp=Vd("animationiteration"),nn=Vd("animationstart"),$c=Vd("transitionend"),Yd=new Map,Gd="abort auxClick 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(" ");function Fi(a,o){Yd.set(a,o),h(o,[a])}for(var vp=0;vp<Gd.length;vp++){var Nl=Gd[vp],iv=Nl.toLowerCase(),ov=Nl[0].toUpperCase()+Nl.slice(1);Fi(iv,"on"+ov)}Fi(Wd,"onAnimationEnd"),Fi(gp,"onAnimationIteration"),Fi(nn,"onAnimationStart"),Fi("dblclick","onDoubleClick"),Fi("focusin","onFocus"),Fi("focusout","onBlur"),Fi($c,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pc="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(" "),yp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pc));function Kd(a,o,d){var v=a.type||"unknown-event";a.currentTarget=d,ct(v,o,void 0,a),a.currentTarget=null}function Ol(a,o){o=(o&4)!==0;for(var d=0;d<a.length;d++){var v=a[d],b=v.event;v=v.listeners;e:{var S=void 0;if(o)for(var P=v.length-1;0<=P;P--){var H=v[P],X=H.instance,me=H.currentTarget;if(H=H.listener,X!==S&&b.isPropagationStopped())break e;Kd(b,H,me),S=X}else for(P=0;P<v.length;P++){if(H=v[P],X=H.instance,me=H.currentTarget,H=H.listener,X!==S&&b.isPropagationStopped())break e;Kd(b,H,me),S=X}}}if(Eo)throw a=V,Eo=!1,V=null,a}function On(a,o){var d=o[Mc];d===void 0&&(d=o[Mc]=new Set);var v=a+"__bubble";d.has(v)||(sm(o,a,2,!1),d.add(v))}function Qd(a,o,d){var v=0;o&&(v|=4),sm(d,a,v,o)}var Xd="_reactListening"+Math.random().toString(36).slice(2);function Mu(a){if(!a[Xd]){a[Xd]=!0,l.forEach(function(d){d!=="selectionchange"&&(yp.has(d)||Qd(d,!1,a),Qd(d,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Xd]||(o[Xd]=!0,Qd("selectionchange",!1,o))}}function sm(a,o,d,v){switch(Au(o)){case 1:var b=xu;break;case 4:b=Eu;break;default:b=rs}d=b.bind(null,o,d,a),b=void 0,!Ta||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(b=!0),v?b!==void 0?a.addEventListener(o,d,{capture:!0,passive:b}):a.addEventListener(o,d,!0):b!==void 0?a.addEventListener(o,d,{passive:b}):a.addEventListener(o,d,!1)}function Jd(a,o,d,v,b){var S=v;if(!(o&1)&&!(o&2)&&v!==null)e:for(;;){if(v===null)return;var P=v.tag;if(P===3||P===4){var H=v.stateNode.containerInfo;if(H===b||H.nodeType===8&&H.parentNode===b)break;if(P===4)for(P=v.return;P!==null;){var X=P.tag;if((X===3||X===4)&&(X=P.stateNode.containerInfo,X===b||X.nodeType===8&&X.parentNode===b))return;P=P.return}for(;H!==null;){if(P=Ll(H),P===null)return;if(X=P.tag,X===5||X===6){v=S=P;continue e}H=H.parentNode}}v=v.return}_i(function(){var me=S,Ne=mr(d),Be=[];e:{var Pe=Yd.get(a);if(Pe!==void 0){var st=ln,mt=a;switch(a){case"keypress":if(we(d)===0)break e;case"keydown":case"keyup":st=lp;break;case"focusin":mt="focus",st=xl;break;case"focusout":mt="blur",st=xl;break;case"beforeblur":case"afterblur":st=xl;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":st=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":st=as;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":st=jd;break;case Wd:case gp:case nn:st=Md;break;case $c:st=Po;break;case"scroll":st=zn;break;case"wheel":st=ci;break;case"copy":case"cut":case"paste":st=Kh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":st=Xh}var kt=(o&4)!==0,Gr=!kt&&a==="scroll",oe=kt?Pe!==null?Pe+"Capture":null:Pe;kt=[];for(var ne=me,ie;ne!==null;){ie=ne;var Ue=ie.stateNode;if(ie.tag===5&&Ue!==null&&(ie=Ue,oe!==null&&(Ue=lr(ne,oe),Ue!=null&&kt.push(Iu(ne,Ue,ie)))),Gr)break;ne=ne.return}0<kt.length&&(Pe=new st(Pe,mt,null,d,Ne),Be.push({event:Pe,listeners:kt}))}}if(!(o&7)){e:{if(Pe=a==="mouseover"||a==="pointerover",st=a==="mouseout"||a==="pointerout",Pe&&d!==ga&&(mt=d.relatedTarget||d.fromElement)&&(Ll(mt)||mt[ds]))break e;if((st||Pe)&&(Pe=Ne.window===Ne?Ne:(Pe=Ne.ownerDocument)?Pe.defaultView||Pe.parentWindow:window,st?(mt=d.relatedTarget||d.toElement,st=me,mt=mt?Ll(mt):null,mt!==null&&(Gr=Ht(mt),mt!==Gr||mt.tag!==5&&mt.tag!==6)&&(mt=null)):(st=null,mt=me),st!==mt)){if(kt=Ms,Ue="onMouseLeave",oe="onMouseEnter",ne="mouse",(a==="pointerout"||a==="pointerover")&&(kt=Xh,Ue="onPointerLeave",oe="onPointerEnter",ne="pointer"),Gr=st==null?Pe:Pi(st),ie=mt==null?Pe:Pi(mt),Pe=new kt(Ue,ne+"leave",st,d,Ne),Pe.target=Gr,Pe.relatedTarget=ie,Ue=null,Ll(Ne)===me&&(kt=new kt(oe,ne+"enter",mt,d,Ne),kt.target=ie,kt.relatedTarget=Gr,Ue=kt),Gr=Ue,st&&mt)t:{for(kt=st,oe=mt,ne=0,ie=kt;ie;ie=ls(ie))ne++;for(ie=0,Ue=oe;Ue;Ue=ls(Ue))ie++;for(;0<ne-ie;)kt=ls(kt),ne--;for(;0<ie-ne;)oe=ls(oe),ie--;for(;ne--;){if(kt===oe||oe!==null&&kt===oe.alternate)break t;kt=ls(kt),oe=ls(oe)}kt=null}else kt=null;st!==null&&bp(Be,Pe,st,kt,!1),mt!==null&&Gr!==null&&bp(Be,Gr,mt,kt,!0)}}e:{if(Pe=me?Pi(me):window,st=Pe.nodeName&&Pe.nodeName.toLowerCase(),st==="select"||st==="input"&&Pe.type==="file")var wt=tv;else if(cp(Pe))if(em)wt=im;else{wt=am;var Nt=nv}else(st=Pe.nodeName)&&st.toLowerCase()==="input"&&(Pe.type==="checkbox"||Pe.type==="radio")&&(wt=rv);if(wt&&(wt=wt(a,me))){dp(Be,wt,d,Ne);break e}Nt&&Nt(a,Pe,me),a==="focusout"&&(Nt=Pe._wrapperState)&&Nt.controlled&&Pe.type==="number"&&Rr(Pe,"number",Pe.value)}switch(Nt=me?Pi(me):window,a){case"focusin":(cp(Nt)||Nt.contentEditable==="true")&&(Ou=Nt,Ru=me,Pl=null);break;case"focusout":Pl=Ru=Ou=null;break;case"mousedown":Lu=!0;break;case"contextmenu":case"mouseup":case"dragend":Lu=!1,hp(Be,d,Ne);break;case"selectionchange":if(av)break;case"keydown":case"keyup":hp(Be,d,Ne)}var $t;if(is)e:{switch(a){case"compositionstart":var zt="onCompositionStart";break e;case"compositionend":zt="onCompositionEnd";break e;case"compositionupdate":zt="onCompositionUpdate";break e}zt=void 0}else Fl?$u(a,d)&&(zt="onCompositionEnd"):a==="keydown"&&d.keyCode===229&&(zt="onCompositionStart");zt&&(Jh&&d.locale!=="ko"&&(Fl||zt!=="onCompositionStart"?zt==="onCompositionEnd"&&Fl&&($t=fe()):(ao=Ne,F="value"in ao?ao.value:ao.textContent,Fl=!0)),Nt=Nc(me,zt),0<Nt.length&&(zt=new Id(zt,a,null,d,Ne),Be.push({event:zt,listeners:Nt}),$t?zt.data=$t:($t=js(d),$t!==null&&(zt.data=$t)))),($t=Is?zd(a,d):up(a,d))&&(me=Nc(me,"onBeforeInput"),0<me.length&&(Ne=new Id("onBeforeInput","beforeinput",null,d,Ne),Be.push({event:Ne,listeners:me}),Ne.data=$t))}Ol(Be,o)})}function Iu(a,o,d){return{instance:a,listener:o,currentTarget:d}}function Nc(a,o){for(var d=o+"Capture",v=[];a!==null;){var b=a,S=b.stateNode;b.tag===5&&S!==null&&(b=S,S=lr(a,d),S!=null&&v.unshift(Iu(a,S,b)),S=lr(a,o),S!=null&&v.push(Iu(a,S,b))),a=a.return}return v}function ls(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function bp(a,o,d,v,b){for(var S=o._reactName,P=[];d!==null&&d!==v;){var H=d,X=H.alternate,me=H.stateNode;if(X!==null&&X===v)break;H.tag===5&&me!==null&&(H=me,b?(X=lr(d,S),X!=null&&P.unshift(Iu(d,X,H))):b||(X=lr(d,S),X!=null&&P.push(Iu(d,X,H)))),d=d.return}P.length!==0&&a.push({event:o,listeners:P})}var lm=/\r\n?/g,sv=/\u0000|\uFFFD/g;function kp(a){return(typeof a=="string"?a:""+a).replace(lm,`
|
|
162
|
-
`).replace(sv,"")}function Oc(a,o,d){if(o=kp(o),kp(a)!==o&&d)throw Error(i(425))}function us(){}var ju=null,Hs=null;function Rc(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Oo=typeof setTimeout=="function"?setTimeout:void 0,Zd=typeof clearTimeout=="function"?clearTimeout:void 0,$i=typeof Promise=="function"?Promise:void 0,cs=typeof queueMicrotask=="function"?queueMicrotask:typeof $i<"u"?function(a){return $i.resolve(null).then(a).catch(Lc)}:Oo;function Lc(a){setTimeout(function(){throw a})}function Rl(a,o){var d=o,v=0;do{var b=d.nextSibling;if(a.removeChild(d),b&&b.nodeType===8)if(d=b.data,d==="/$"){if(v===0){a.removeChild(b),ro(o);return}v--}else d!=="$"&&d!=="$?"&&d!=="$!"||v++;d=b}while(d);ro(o)}function di(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function Bc(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="$"||d==="$!"||d==="$?"){if(o===0)return a;o--}else d==="/$"&&o++}a=a.previousSibling}return null}var io=Math.random().toString(36).slice(2),oo="__reactFiber$"+io,qs="__reactProps$"+io,ds="__reactContainer$"+io,Mc="__reactEvents$"+io,zu="__reactListeners$"+io,lv="__reactHandles$"+io;function Ll(a){var o=a[oo];if(o)return o;for(var d=a.parentNode;d;){if(o=d[ds]||d[oo]){if(d=o.alternate,o.child!==null||d!==null&&d.child!==null)for(a=Bc(a);a!==null;){if(d=a[oo])return d;a=Bc(a)}return o}a=d,d=a.parentNode}return null}function Ct(a){return a=a[oo]||a[ds],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function Pi(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function Fr(a){return a[qs]||null}var mn=[],Ni=-1;function Ft(a){return{current:a}}function Wn(a){0>Ni||(a.current=mn[Ni],mn[Ni]=null,Ni--)}function yt(a,o){Ni++,mn[Ni]=a.current,a.current=o}var ka={},Yn=Ft(ka),Vr=Ft(!1),Ga=ka;function Oi(a,o){var d=a.type.contextTypes;if(!d)return ka;var v=a.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===o)return v.__reactInternalMemoizedMaskedChildContext;var b={},S;for(S in d)b[S]=o[S];return v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=b),b}function Br(a){return a=a.childContextTypes,a!=null}function Uu(){Wn(Vr),Wn(Yn)}function fs(a,o,d){if(Yn.current!==ka)throw Error(i(168));yt(Yn,o),yt(Vr,d)}function Ic(a,o,d){var v=a.stateNode;if(o=o.childContextTypes,typeof v.getChildContext!="function")return d;v=v.getChildContext();for(var b in v)if(!(b in o))throw Error(i(108,bt(a)||"Unknown",b));return _e({},d,v)}function Ka(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||ka,Ga=Yn.current,yt(Yn,a),yt(Vr,Vr.current),!0}function ps(a,o,d){var v=a.stateNode;if(!v)throw Error(i(169));d?(a=Ic(a,o,Ga),v.__reactInternalMemoizedMergedChildContext=a,Wn(Vr),Wn(Yn),yt(Yn,a)):Wn(Vr),yt(Vr,d)}var so=null,Bl=!1,Ro=!1;function ef(a){so===null?so=[a]:so.push(a)}function lo(a){Bl=!0,ef(a)}function Lo(){if(!Ro&&so!==null){Ro=!0;var a=0,o=xn;try{var d=so;for(xn=1;a<d.length;a++){var v=d[a];do v=v(!0);while(v!==null)}so=null,Bl=!1}catch(b){throw so!==null&&(so=so.slice(a+1)),Zn(Zi,Lo),b}finally{xn=o,Ro=!1}}return null}var Vs=[],Ws=0,Ys=null,Bo=0,Cr=[],Ri=0,fi=null,Mo=1,$a="";function Gs(a,o){Vs[Ws++]=Bo,Vs[Ws++]=Ys,Ys=a,Bo=o}function um(a,o,d){Cr[Ri++]=Mo,Cr[Ri++]=$a,Cr[Ri++]=fi,fi=a;var v=Mo;a=$a;var b=32-sa(v)-1;v&=~(1<<b),d+=1;var S=32-sa(o)+b;if(30<S){var P=b-b%5;S=(v&(1<<P)-1).toString(32),v>>=P,b-=P,Mo=1<<32-sa(o)+b|d<<b|v,$a=S+a}else Mo=1<<S|d<<b|v,$a=a}function Ml(a){a.return!==null&&(Gs(a,1),um(a,1,0))}function Hu(a){for(;a===Ys;)Ys=Vs[--Ws],Vs[Ws]=null,Bo=Vs[--Ws],Vs[Ws]=null;for(;a===fi;)fi=Cr[--Ri],Cr[Ri]=null,$a=Cr[--Ri],Cr[Ri]=null,Mo=Cr[--Ri],Cr[Ri]=null}var Qa=null,Sn=null,cr=!1,Li=null;function wp(a,o){var d=Ho(5,null,null,0);d.elementType="DELETED",d.stateNode=o,d.return=a,o=a.deletions,o===null?(a.deletions=[d],a.flags|=16):o.push(d)}function cm(a,o){switch(a.tag){case 5:var d=a.type;return o=o.nodeType!==1||d.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,Qa=a,Sn=di(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,Qa=a,Sn=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(d=fi!==null?{id:Mo,overflow:$a}:null,a.memoizedState={dehydrated:o,treeContext:d,retryLane:1073741824},d=Ho(18,null,null,0),d.stateNode=o,d.return=a,a.child=d,Qa=a,Sn=null,!0):!1;default:return!1}}function Dp(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Sp(a){if(cr){var o=Sn;if(o){var d=o;if(!cm(a,o)){if(Dp(a))throw Error(i(418));o=di(d.nextSibling);var v=Qa;o&&cm(a,o)?wp(v,d):(a.flags=a.flags&-4097|2,cr=!1,Qa=a)}}else{if(Dp(a))throw Error(i(418));a.flags=a.flags&-4097|2,cr=!1,Qa=a}}}function Mr(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Qa=a}function jc(a){if(a!==Qa)return!1;if(!cr)return Mr(a),cr=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!Rc(a.type,a.memoizedProps)),o&&(o=Sn)){if(Dp(a))throw qu(),Error(i(418));for(;o;)wp(a,o),o=di(o.nextSibling)}if(Mr(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="/$"){if(o===0){Sn=di(a.nextSibling);break e}o--}else d!=="$"&&d!=="$!"&&d!=="$?"||o++}a=a.nextSibling}Sn=null}}else Sn=Qa?di(a.stateNode.nextSibling):null;return!0}function qu(){for(var a=Sn;a;)a=di(a.nextSibling)}function Ks(){Sn=Qa=null,cr=!1}function Io(a){Li===null?Li=[a]:Li.push(a)}var uv=J.ReactCurrentBatchConfig;function hs(a,o,d){if(a=d.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(i(309));var v=d.stateNode}if(!v)throw Error(i(147,a));var b=v,S=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===S?o.ref:(o=function(P){var H=b.refs;P===null?delete H[S]:H[S]=P},o._stringRef=S,o)}if(typeof a!="string")throw Error(i(284));if(!d._owner)throw Error(i(290,a))}return a}function ea(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function dm(a){var o=a._init;return o(a._payload)}function Il(a){function o(oe,ne){if(a){var ie=oe.deletions;ie===null?(oe.deletions=[ne],oe.flags|=16):ie.push(ne)}}function d(oe,ne){if(!a)return null;for(;ne!==null;)o(oe,ne),ne=ne.sibling;return null}function v(oe,ne){for(oe=new Map;ne!==null;)ne.key!==null?oe.set(ne.key,ne):oe.set(ne.index,ne),ne=ne.sibling;return oe}function b(oe,ne){return oe=Xl(oe,ne),oe.index=0,oe.sibling=null,oe}function S(oe,ne,ie){return oe.index=ie,a?(ie=oe.alternate,ie!==null?(ie=ie.index,ie<ne?(oe.flags|=2,ne):ie):(oe.flags|=2,ne)):(oe.flags|=1048576,ne)}function P(oe){return a&&oe.alternate===null&&(oe.flags|=2),oe}function H(oe,ne,ie,Ue){return ne===null||ne.tag!==6?(ne=Nm(ie,oe.mode,Ue),ne.return=oe,ne):(ne=b(ne,ie),ne.return=oe,ne)}function X(oe,ne,ie,Ue){var wt=ie.type;return wt===pe?Ne(oe,ne,ie.props.children,Ue,ie.key):ne!==null&&(ne.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Me&&dm(wt)===ne.type)?(Ue=b(ne,ie.props),Ue.ref=hs(oe,ne,ie),Ue.return=oe,Ue):(Ue=uf(ie.type,ie.key,ie.props,null,oe.mode,Ue),Ue.ref=hs(oe,ne,ie),Ue.return=oe,Ue)}function me(oe,ne,ie,Ue){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==ie.containerInfo||ne.stateNode.implementation!==ie.implementation?(ne=Om(ie,oe.mode,Ue),ne.return=oe,ne):(ne=b(ne,ie.children||[]),ne.return=oe,ne)}function Ne(oe,ne,ie,Ue,wt){return ne===null||ne.tag!==7?(ne=Ds(ie,oe.mode,Ue,wt),ne.return=oe,ne):(ne=b(ne,ie),ne.return=oe,ne)}function Be(oe,ne,ie){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return ne=Nm(""+ne,oe.mode,ie),ne.return=oe,ne;if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case K:return ie=uf(ne.type,ne.key,ne.props,null,oe.mode,ie),ie.ref=hs(oe,null,ne),ie.return=oe,ie;case ae:return ne=Om(ne,oe.mode,ie),ne.return=oe,ne;case Me:var Ue=ne._init;return Be(oe,Ue(ne._payload),ie)}if(wr(ne)||Re(ne))return ne=Ds(ne,oe.mode,ie,null),ne.return=oe,ne;ea(oe,ne)}return null}function Pe(oe,ne,ie,Ue){var wt=ne!==null?ne.key:null;if(typeof ie=="string"&&ie!==""||typeof ie=="number")return wt!==null?null:H(oe,ne,""+ie,Ue);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case K:return ie.key===wt?X(oe,ne,ie,Ue):null;case ae:return ie.key===wt?me(oe,ne,ie,Ue):null;case Me:return wt=ie._init,Pe(oe,ne,wt(ie._payload),Ue)}if(wr(ie)||Re(ie))return wt!==null?null:Ne(oe,ne,ie,Ue,null);ea(oe,ie)}return null}function st(oe,ne,ie,Ue,wt){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number")return oe=oe.get(ie)||null,H(ne,oe,""+Ue,wt);if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case K:return oe=oe.get(Ue.key===null?ie:Ue.key)||null,X(ne,oe,Ue,wt);case ae:return oe=oe.get(Ue.key===null?ie:Ue.key)||null,me(ne,oe,Ue,wt);case Me:var Nt=Ue._init;return st(oe,ne,ie,Nt(Ue._payload),wt)}if(wr(Ue)||Re(Ue))return oe=oe.get(ie)||null,Ne(ne,oe,Ue,wt,null);ea(ne,Ue)}return null}function mt(oe,ne,ie,Ue){for(var wt=null,Nt=null,$t=ne,zt=ne=0,Sa=null;$t!==null&&zt<ie.length;zt++){$t.index>zt?(Sa=$t,$t=null):Sa=$t.sibling;var Rn=Pe(oe,$t,ie[zt],Ue);if(Rn===null){$t===null&&($t=Sa);break}a&&$t&&Rn.alternate===null&&o(oe,$t),ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn,$t=Sa}if(zt===ie.length)return d(oe,$t),cr&&Gs(oe,zt),wt;if($t===null){for(;zt<ie.length;zt++)$t=Be(oe,ie[zt],Ue),$t!==null&&(ne=S($t,ne,zt),Nt===null?wt=$t:Nt.sibling=$t,Nt=$t);return cr&&Gs(oe,zt),wt}for($t=v(oe,$t);zt<ie.length;zt++)Sa=st($t,oe,zt,ie[zt],Ue),Sa!==null&&(a&&Sa.alternate!==null&&$t.delete(Sa.key===null?zt:Sa.key),ne=S(Sa,ne,zt),Nt===null?wt=Sa:Nt.sibling=Sa,Nt=Sa);return a&&$t.forEach(function(Jl){return o(oe,Jl)}),cr&&Gs(oe,zt),wt}function kt(oe,ne,ie,Ue){var wt=Re(ie);if(typeof wt!="function")throw Error(i(150));if(ie=wt.call(ie),ie==null)throw Error(i(151));for(var Nt=wt=null,$t=ne,zt=ne=0,Sa=null,Rn=ie.next();$t!==null&&!Rn.done;zt++,Rn=ie.next()){$t.index>zt?(Sa=$t,$t=null):Sa=$t.sibling;var Jl=Pe(oe,$t,Rn.value,Ue);if(Jl===null){$t===null&&($t=Sa);break}a&&$t&&Jl.alternate===null&&o(oe,$t),ne=S(Jl,ne,zt),Nt===null?wt=Jl:Nt.sibling=Jl,Nt=Jl,$t=Sa}if(Rn.done)return d(oe,$t),cr&&Gs(oe,zt),wt;if($t===null){for(;!Rn.done;zt++,Rn=ie.next())Rn=Be(oe,Rn.value,Ue),Rn!==null&&(ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn);return cr&&Gs(oe,zt),wt}for($t=v(oe,$t);!Rn.done;zt++,Rn=ie.next())Rn=st($t,oe,zt,Rn.value,Ue),Rn!==null&&(a&&Rn.alternate!==null&&$t.delete(Rn.key===null?zt:Rn.key),ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn);return a&&$t.forEach(function(mk){return o(oe,mk)}),cr&&Gs(oe,zt),wt}function Gr(oe,ne,ie,Ue){if(typeof ie=="object"&&ie!==null&&ie.type===pe&&ie.key===null&&(ie=ie.props.children),typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case K:e:{for(var wt=ie.key,Nt=ne;Nt!==null;){if(Nt.key===wt){if(wt=ie.type,wt===pe){if(Nt.tag===7){d(oe,Nt.sibling),ne=b(Nt,ie.props.children),ne.return=oe,oe=ne;break e}}else if(Nt.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Me&&dm(wt)===Nt.type){d(oe,Nt.sibling),ne=b(Nt,ie.props),ne.ref=hs(oe,Nt,ie),ne.return=oe,oe=ne;break e}d(oe,Nt);break}else o(oe,Nt);Nt=Nt.sibling}ie.type===pe?(ne=Ds(ie.props.children,oe.mode,Ue,ie.key),ne.return=oe,oe=ne):(Ue=uf(ie.type,ie.key,ie.props,null,oe.mode,Ue),Ue.ref=hs(oe,ne,ie),Ue.return=oe,oe=Ue)}return P(oe);case ae:e:{for(Nt=ie.key;ne!==null;){if(ne.key===Nt)if(ne.tag===4&&ne.stateNode.containerInfo===ie.containerInfo&&ne.stateNode.implementation===ie.implementation){d(oe,ne.sibling),ne=b(ne,ie.children||[]),ne.return=oe,oe=ne;break e}else{d(oe,ne);break}else o(oe,ne);ne=ne.sibling}ne=Om(ie,oe.mode,Ue),ne.return=oe,oe=ne}return P(oe);case Me:return Nt=ie._init,Gr(oe,ne,Nt(ie._payload),Ue)}if(wr(ie))return mt(oe,ne,ie,Ue);if(Re(ie))return kt(oe,ne,ie,Ue);ea(oe,ie)}return typeof ie=="string"&&ie!==""||typeof ie=="number"?(ie=""+ie,ne!==null&&ne.tag===6?(d(oe,ne.sibling),ne=b(ne,ie),ne.return=oe,oe=ne):(d(oe,ne),ne=Nm(ie,oe.mode,Ue),ne.return=oe,oe=ne),P(oe)):d(oe,ne)}return Gr}var $r=Il(!0),Ze=Il(!1),Xa=Ft(null),Ja=null,Qs=null,Cp=null;function tf(){Cp=Qs=Ja=null}function _p(a){var o=Xa.current;Wn(Xa),a._currentValue=o}function xp(a,o,d){for(;a!==null;){var v=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,v!==null&&(v.childLanes|=o)):v!==null&&(v.childLanes&o)!==o&&(v.childLanes|=o),a===d)break;a=a.return}}function tr(a,o){Ja=a,Cp=Qs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(na=!0),a.firstContext=null)}function Bi(a){var o=a._currentValue;if(Cp!==a)if(a={context:a,memoizedValue:o,next:null},Qs===null){if(Ja===null)throw Error(i(308));Qs=a,Ja.dependencies={lanes:0,firstContext:a}}else Qs=Qs.next=a;return o}var jl=null;function Ep(a){jl===null?jl=[a]:jl.push(a)}function Vu(a,o,d,v){var b=o.interleaved;return b===null?(d.next=d,Ep(o)):(d.next=b.next,b.next=d),o.interleaved=d,Za(a,v)}function Za(a,o){a.lanes|=o;var d=a.alternate;for(d!==null&&(d.lanes|=o),d=a,a=a.return;a!==null;)a.childLanes|=o,d=a.alternate,d!==null&&(d.childLanes|=o),d=a,a=a.return;return d.tag===3?d.stateNode:null}var ta=!1;function zc(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nf(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ms(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function Xs(a,o,d){var v=a.updateQueue;if(v===null)return null;if(v=v.shared,An&2){var b=v.pending;return b===null?o.next=o:(o.next=b.next,b.next=o),v.pending=o,Za(a,d)}return b=v.interleaved,b===null?(o.next=o,Ep(v)):(o.next=b.next,b.next=o),v.interleaved=o,Za(a,d)}function rf(a,o,d){if(o=o.updateQueue,o!==null&&(o=o.shared,(d&4194240)!==0)){var v=o.lanes;v&=a.pendingLanes,d|=v,o.lanes=d,ts(a,d)}}function fm(a,o){var d=a.updateQueue,v=a.alternate;if(v!==null&&(v=v.updateQueue,d===v)){var b=null,S=null;if(d=d.firstBaseUpdate,d!==null){do{var P={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};S===null?b=S=P:S=S.next=P,d=d.next}while(d!==null);S===null?b=S=o:S=S.next=o}else b=S=o;d={baseState:v.baseState,firstBaseUpdate:b,lastBaseUpdate:S,shared:v.shared,effects:v.effects},a.updateQueue=d;return}a=d.lastBaseUpdate,a===null?d.firstBaseUpdate=o:a.next=o,d.lastBaseUpdate=o}function Uc(a,o,d,v){var b=a.updateQueue;ta=!1;var S=b.firstBaseUpdate,P=b.lastBaseUpdate,H=b.shared.pending;if(H!==null){b.shared.pending=null;var X=H,me=X.next;X.next=null,P===null?S=me:P.next=me,P=X;var Ne=a.alternate;Ne!==null&&(Ne=Ne.updateQueue,H=Ne.lastBaseUpdate,H!==P&&(H===null?Ne.firstBaseUpdate=me:H.next=me,Ne.lastBaseUpdate=X))}if(S!==null){var Be=b.baseState;P=0,Ne=me=X=null,H=S;do{var Pe=H.lane,st=H.eventTime;if((v&Pe)===Pe){Ne!==null&&(Ne=Ne.next={eventTime:st,lane:0,tag:H.tag,payload:H.payload,callback:H.callback,next:null});e:{var mt=a,kt=H;switch(Pe=o,st=d,kt.tag){case 1:if(mt=kt.payload,typeof mt=="function"){Be=mt.call(st,Be,Pe);break e}Be=mt;break e;case 3:mt.flags=mt.flags&-65537|128;case 0:if(mt=kt.payload,Pe=typeof mt=="function"?mt.call(st,Be,Pe):mt,Pe==null)break e;Be=_e({},Be,Pe);break e;case 2:ta=!0}}H.callback!==null&&H.lane!==0&&(a.flags|=64,Pe=b.effects,Pe===null?b.effects=[H]:Pe.push(H))}else st={eventTime:st,lane:Pe,tag:H.tag,payload:H.payload,callback:H.callback,next:null},Ne===null?(me=Ne=st,X=Be):Ne=Ne.next=st,P|=Pe;if(H=H.next,H===null){if(H=b.shared.pending,H===null)break;Pe=H,H=Pe.next,Pe.next=null,b.lastBaseUpdate=Pe,b.shared.pending=null}}while(!0);if(Ne===null&&(X=Be),b.baseState=X,b.firstBaseUpdate=me,b.lastBaseUpdate=Ne,o=b.shared.interleaved,o!==null){b=o;do P|=b.lane,b=b.next;while(b!==o)}else S===null&&(b.shared.lanes=0);Yl|=P,a.lanes=P,a.memoizedState=Be}}function Tp(a,o,d){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var v=a[o],b=v.callback;if(b!==null){if(v.callback=null,v=d,typeof b!="function")throw Error(i(191,b));b.call(v)}}}var Hc={},jo=Ft(Hc),zl=Ft(Hc),qc=Ft(Hc);function Ul(a){if(a===Hc)throw Error(i(174));return a}function Ap(a,o){switch(yt(qc,o),yt(zl,a),yt(jo,Hc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:ye(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=ye(o,a)}Wn(jo),yt(jo,o)}function Hl(){Wn(jo),Wn(zl),Wn(qc)}function Fp(a){Ul(qc.current);var o=Ul(jo.current),d=ye(o,a.type);o!==d&&(yt(zl,a),yt(jo,d))}function af(a){zl.current===a&&(Wn(jo),Wn(zl))}var hr=Ft(0);function Vc(a){for(var o=a;o!==null;){if(o.tag===13){var d=o.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Js=[];function _t(){for(var a=0;a<Js.length;a++)Js[a]._workInProgressVersionPrimary=null;Js.length=0}var rn=J.ReactCurrentDispatcher,En=J.ReactCurrentBatchConfig,qn=0,Tn=null,Ir=null,f=null,g=!1,k=!1,_=0,E=0;function M(){throw Error(i(321))}function U(a,o){if(o===null)return!1;for(var d=0;d<o.length&&d<a.length;d++)if(!Fa(a[d],o[d]))return!1;return!0}function ve(a,o,d,v,b,S){if(qn=S,Tn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,rn.current=a===null||a.memoizedState===null?vm:Lp,a=d(v,b),k){S=0;do{if(k=!1,_=0,25<=S)throw Error(i(301));S+=1,f=Ir=null,o.updateQueue=null,rn.current=ym,a=d(v,b)}while(k)}if(rn.current=Kc,o=Ir!==null&&Ir.next!==null,qn=0,f=Ir=Tn=null,g=!1,o)throw Error(i(300));return a}function Ie(){var a=_!==0;return _=0,a}function et(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return f===null?Tn.memoizedState=f=a:f=f.next=a,f}function qe(){if(Ir===null){var a=Tn.alternate;a=a!==null?a.memoizedState:null}else a=Ir.next;var o=f===null?Tn.memoizedState:f.next;if(o!==null)f=o,Ir=a;else{if(a===null)throw Error(i(310));Ir=a,a={memoizedState:Ir.memoizedState,baseState:Ir.baseState,baseQueue:Ir.baseQueue,queue:Ir.queue,next:null},f===null?Tn.memoizedState=f=a:f=f.next=a}return f}function Gt(a,o){return typeof o=="function"?o(a):o}function Jt(a){var o=qe(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var v=Ir,b=v.baseQueue,S=d.pending;if(S!==null){if(b!==null){var P=b.next;b.next=S.next,S.next=P}v.baseQueue=b=S,d.pending=null}if(b!==null){S=b.next,v=v.baseState;var H=P=null,X=null,me=S;do{var Ne=me.lane;if((qn&Ne)===Ne)X!==null&&(X=X.next={lane:0,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null}),v=me.hasEagerState?me.eagerState:a(v,me.action);else{var Be={lane:Ne,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};X===null?(H=X=Be,P=v):X=X.next=Be,Tn.lanes|=Ne,Yl|=Ne}me=me.next}while(me!==null&&me!==S);X===null?P=v:X.next=H,Fa(v,o.memoizedState)||(na=!0),o.memoizedState=v,o.baseState=P,o.baseQueue=X,d.lastRenderedState=v}if(a=d.interleaved,a!==null){b=a;do S=b.lane,Tn.lanes|=S,Yl|=S,b=b.next;while(b!==a)}else b===null&&(d.lanes=0);return[o.memoizedState,d.dispatch]}function Kt(a){var o=qe(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var v=d.dispatch,b=d.pending,S=o.memoizedState;if(b!==null){d.pending=null;var P=b=b.next;do S=a(S,P.action),P=P.next;while(P!==b);Fa(S,o.memoizedState)||(na=!0),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),d.lastRenderedState=S}return[S,v]}function Mn(){}function _r(a,o){var d=Tn,v=qe(),b=o(),S=!Fa(v.memoizedState,b);if(S&&(v.memoizedState=b,na=!0),v=v.queue,$p(ft.bind(null,d,v,a),[a]),v.getSnapshot!==o||S||f!==null&&f.memoizedState.tag&1){if(d.flags|=2048,Pr(9,Wr.bind(null,d,v,b,o),void 0,null),Da===null)throw Error(i(349));qn&30||jr(d,o,b)}return b}function jr(a,o,d){a.flags|=16384,a={getSnapshot:o,value:d},o=Tn.updateQueue,o===null?(o={lastEffect:null,stores:null},Tn.updateQueue=o,o.stores=[a]):(d=o.stores,d===null?o.stores=[a]:d.push(a))}function Wr(a,o,d,v){o.value=d,o.getSnapshot=v,an(o)&&xr(a)}function ft(a,o,d){return d(function(){an(o)&&xr(a)})}function an(a){var o=a.getSnapshot;a=a.value;try{var d=o();return!Fa(a,d)}catch{return!0}}function xr(a){var o=Za(a,1);o!==null&&ws(o,a,1,-1)}function vr(a){var o=et();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gt,lastRenderedState:a},o.queue=a,a=a.dispatch=Gc.bind(null,Tn,a),[o.memoizedState,a]}function Pr(a,o,d,v){return a={tag:a,create:o,destroy:d,deps:v,next:null},o=Tn.updateQueue,o===null?(o={lastEffect:null,stores:null},Tn.updateQueue=o,o.lastEffect=a.next=a):(d=o.lastEffect,d===null?o.lastEffect=a.next=a:(v=d.next,d.next=a,a.next=v,o.lastEffect=a)),a}function gs(){return qe().memoizedState}function Wu(a,o,d,v){var b=et();Tn.flags|=a,b.memoizedState=Pr(1|o,d,void 0,v===void 0?null:v)}function ql(a,o,d,v){var b=qe();v=v===void 0?null:v;var S=void 0;if(Ir!==null){var P=Ir.memoizedState;if(S=P.destroy,v!==null&&U(v,P.deps)){b.memoizedState=Pr(o,d,S,v);return}}Tn.flags|=a,b.memoizedState=Pr(1|o,d,S,v)}function Wc(a,o){return Wu(8390656,8,a,o)}function $p(a,o){return ql(2048,8,a,o)}function pm(a,o){return ql(4,2,a,o)}function Pp(a,o){return ql(4,4,a,o)}function Yc(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function hm(a,o,d){return d=d!=null?d.concat([a]):null,ql(4,4,Yc.bind(null,o,a),d)}function Np(){}function mm(a,o){var d=qe();o=o===void 0?null:o;var v=d.memoizedState;return v!==null&&o!==null&&U(o,v[1])?v[0]:(d.memoizedState=[a,o],a)}function gm(a,o){var d=qe();o=o===void 0?null:o;var v=d.memoizedState;return v!==null&&o!==null&&U(o,v[1])?v[0]:(a=a(),d.memoizedState=[a,o],a)}function cv(a,o,d){return qn&21?(Fa(d,o)||(d=Du(),Tn.lanes|=d,Yl|=d,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,na=!0),a.memoizedState=d)}function Op(a,o){var d=xn;xn=d!==0&&4>d?d:4,a(!0);var v=En.transition;En.transition={};try{a(!1),o()}finally{xn=d,En.transition=v}}function dv(){return qe().memoizedState}function Rp(a,o,d){var v=Uo(a);if(d={lane:v,action:d,hasEagerState:!1,eagerState:null,next:null},uo(a))Rb(o,d);else if(d=Vu(a,o,d,v),d!==null){var b=Ra();ws(d,a,v,b),dr(d,o,v)}}function Gc(a,o,d){var v=Uo(a),b={lane:v,action:d,hasEagerState:!1,eagerState:null,next:null};if(uo(a))Rb(o,b);else{var S=a.alternate;if(a.lanes===0&&(S===null||S.lanes===0)&&(S=o.lastRenderedReducer,S!==null))try{var P=o.lastRenderedState,H=S(P,d);if(b.hasEagerState=!0,b.eagerState=H,Fa(H,P)){var X=o.interleaved;X===null?(b.next=b,Ep(o)):(b.next=X.next,X.next=b),o.interleaved=b;return}}catch{}finally{}d=Vu(a,o,b,v),d!==null&&(b=Ra(),ws(d,a,v,b),dr(d,o,v))}}function uo(a){var o=a.alternate;return a===Tn||o!==null&&o===Tn}function Rb(a,o){k=g=!0;var d=a.pending;d===null?o.next=o:(o.next=d.next,d.next=o),a.pending=o}function dr(a,o,d){if(d&4194240){var v=o.lanes;v&=a.pendingLanes,d|=v,o.lanes=d,ts(a,d)}}var Kc={readContext:Bi,useCallback:M,useContext:M,useEffect:M,useImperativeHandle:M,useInsertionEffect:M,useLayoutEffect:M,useMemo:M,useReducer:M,useRef:M,useState:M,useDebugValue:M,useDeferredValue:M,useTransition:M,useMutableSource:M,useSyncExternalStore:M,useId:M,unstable_isNewReconciler:!1},vm={readContext:Bi,useCallback:function(a,o){return et().memoizedState=[a,o===void 0?null:o],a},useContext:Bi,useEffect:Wc,useImperativeHandle:function(a,o,d){return d=d!=null?d.concat([a]):null,Wu(4194308,4,Yc.bind(null,o,a),d)},useLayoutEffect:function(a,o){return Wu(4194308,4,a,o)},useInsertionEffect:function(a,o){return Wu(4,2,a,o)},useMemo:function(a,o){var d=et();return o=o===void 0?null:o,a=a(),d.memoizedState=[a,o],a},useReducer:function(a,o,d){var v=et();return o=d!==void 0?d(o):o,v.memoizedState=v.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},v.queue=a,a=a.dispatch=Rp.bind(null,Tn,a),[v.memoizedState,a]},useRef:function(a){var o=et();return a={current:a},o.memoizedState=a},useState:vr,useDebugValue:Np,useDeferredValue:function(a){return et().memoizedState=a},useTransition:function(){var a=vr(!1),o=a[0];return a=Op.bind(null,a[1]),et().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,d){var v=Tn,b=et();if(cr){if(d===void 0)throw Error(i(407));d=d()}else{if(d=o(),Da===null)throw Error(i(349));qn&30||jr(v,o,d)}b.memoizedState=d;var S={value:d,getSnapshot:o};return b.queue=S,Wc(ft.bind(null,v,S,a),[a]),v.flags|=2048,Pr(9,Wr.bind(null,v,S,d,o),void 0,null),d},useId:function(){var a=et(),o=Da.identifierPrefix;if(cr){var d=$a,v=Mo;d=(v&~(1<<32-sa(v)-1)).toString(32)+d,o=":"+o+"R"+d,d=_++,0<d&&(o+="H"+d.toString(32)),o+=":"}else d=E++,o=":"+o+"r"+d.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},Lp={readContext:Bi,useCallback:mm,useContext:Bi,useEffect:$p,useImperativeHandle:hm,useInsertionEffect:pm,useLayoutEffect:Pp,useMemo:gm,useReducer:Jt,useRef:gs,useState:function(){return Jt(Gt)},useDebugValue:Np,useDeferredValue:function(a){var o=qe();return cv(o,Ir.memoizedState,a)},useTransition:function(){var a=Jt(Gt)[0],o=qe().memoizedState;return[a,o]},useMutableSource:Mn,useSyncExternalStore:_r,useId:dv,unstable_isNewReconciler:!1},ym={readContext:Bi,useCallback:mm,useContext:Bi,useEffect:$p,useImperativeHandle:hm,useInsertionEffect:pm,useLayoutEffect:Pp,useMemo:gm,useReducer:Kt,useRef:gs,useState:function(){return Kt(Gt)},useDebugValue:Np,useDeferredValue:function(a){var o=qe();return Ir===null?o.memoizedState=a:cv(o,Ir.memoizedState,a)},useTransition:function(){var a=Kt(Gt)[0],o=qe().memoizedState;return[a,o]},useMutableSource:Mn,useSyncExternalStore:_r,useId:dv,unstable_isNewReconciler:!1};function vs(a,o){if(a&&a.defaultProps){o=_e({},o),a=a.defaultProps;for(var d in a)o[d]===void 0&&(o[d]=a[d]);return o}return o}function fv(a,o,d,v){o=a.memoizedState,d=d(v,o),d=d==null?o:_e({},o,d),a.memoizedState=d,a.lanes===0&&(a.updateQueue.baseState=d)}var bm={isMounted:function(a){return(a=a._reactInternals)?Ht(a)===a:!1},enqueueSetState:function(a,o,d){a=a._reactInternals;var v=Ra(),b=Uo(a),S=ms(v,b);S.payload=o,d!=null&&(S.callback=d),o=Xs(a,S,b),o!==null&&(ws(o,a,b,v),rf(o,a,b))},enqueueReplaceState:function(a,o,d){a=a._reactInternals;var v=Ra(),b=Uo(a),S=ms(v,b);S.tag=1,S.payload=o,d!=null&&(S.callback=d),o=Xs(a,S,b),o!==null&&(ws(o,a,b,v),rf(o,a,b))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var d=Ra(),v=Uo(a),b=ms(d,v);b.tag=2,o!=null&&(b.callback=o),o=Xs(a,b,v),o!==null&&(ws(o,a,v,d),rf(o,a,v))}};function Lb(a,o,d,v,b,S,P){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(v,S,P):o.prototype&&o.prototype.isPureReactComponent?!zs(d,v)||!zs(b,S):!0}function km(a,o,d){var v=!1,b=ka,S=o.contextType;return typeof S=="object"&&S!==null?S=Bi(S):(b=Br(o)?Ga:Yn.current,v=o.contextTypes,S=(v=v!=null)?Oi(a,b):ka),o=new o(d,S),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=bm,a.stateNode=o,o._reactInternals=a,v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=S),o}function Bb(a,o,d,v){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(d,v),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(d,v),o.state!==a&&bm.enqueueReplaceState(o,o.state,null)}function Bp(a,o,d,v){var b=a.stateNode;b.props=d,b.state=a.memoizedState,b.refs={},zc(a);var S=o.contextType;typeof S=="object"&&S!==null?b.context=Bi(S):(S=Br(o)?Ga:Yn.current,b.context=Oi(a,S)),b.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(fv(a,o,S,d),b.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(o=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),o!==b.state&&bm.enqueueReplaceState(b,b.state,null),Uc(a,d,b,v),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308)}function Qc(a,o){try{var d="",v=o;do d+=Dt(v),v=v.return;while(v);var b=d}catch(S){b=`
|
|
161
|
+
`+b[P].replace(" at new "," at ");return a.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",a.displayName)),X}while(1<=P&&0<=H);break}}}finally{ot=!1,Error.prepareStackTrace=d}return(a=a?a.displayName||a.name:"")?he(a):""}function Dt(a){switch(a.tag){case 5:return he(a.type);case 16:return he("Lazy");case 13:return he("Suspense");case 19:return he("SuspenseList");case 0:case 2:case 15:return a=rt(a.type,!1),a;case 11:return a=rt(a.type.render,!1),a;case 1:return a=rt(a.type,!0),a;default:return""}}function ht(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case pe:return"Fragment";case ae:return"Portal";case ke:return"Profiler";case Te:return"StrictMode";case nt:return"Suspense";case He:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case We:return(a.displayName||"Context")+".Consumer";case Ge:return(a._context.displayName||"Context")+".Provider";case Ke:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case dt:return o=a.displayName||null,o!==null?o:ht(a.type)||"Memo";case Me:o=a._payload,a=a._init;try{return ht(a(o))}catch{}}return null}function bt(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ht(o);case 8:return o===Te?"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 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function vt(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Rt(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function fn(a){var o=Rt(a)?"checked":"value",d=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),v=""+a[o];if(!a.hasOwnProperty(o)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var b=d.get,S=d.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return b.call(this)},set:function(P){v=""+P,S.call(this,P)}}),Object.defineProperty(a,o,{enumerable:d.enumerable}),{getValue:function(){return v},setValue:function(P){v=""+P},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function en(a){a._valueTracker||(a._valueTracker=fn(a))}function Qn(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var d=o.getValue(),v="";return a&&(v=Rt(a)?a.checked?"true":"false":a.value),a=v,a!==d?(o.setValue(a),!0):!1}function Lt(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function at(a,o){var d=o.checked;return _e({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??a._wrapperState.initialChecked})}function sr(a,o){var d=o.defaultValue==null?"":o.defaultValue,v=o.checked!=null?o.checked:o.defaultChecked;d=vt(o.value!=null?o.value:d),a._wrapperState={initialChecked:v,initialValue:d,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Nn(a,o){o=o.checked,o!=null&&W(a,"checked",o,!1)}function kr(a,o){Nn(a,o);var d=vt(o.value),v=o.type;if(d!=null)v==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+d):a.value!==""+d&&(a.value=""+d);else if(v==="submit"||v==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?Rr(a,o.type,d):o.hasOwnProperty("defaultValue")&&Rr(a,o.type,vt(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Qi(a,o,d){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var v=o.type;if(!(v!=="submit"&&v!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,d||o===a.value||(a.value=o),a.defaultValue=o}d=a.name,d!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,d!==""&&(a.name=d)}function Rr(a,o,d){(o!=="number"||Lt(a.ownerDocument)!==a)&&(d==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+d&&(a.defaultValue=""+d))}var wr=Array.isArray;function Xn(a,o,d,v){if(a=a.options,o){o={};for(var b=0;b<d.length;b++)o["$"+d[b]]=!0;for(d=0;d<a.length;d++)b=o.hasOwnProperty("$"+a[d].value),a[d].selected!==b&&(a[d].selected=b),b&&v&&(a[d].defaultSelected=!0)}else{for(d=""+vt(d),o=null,b=0;b<a.length;b++){if(a[b].value===d){a[b].selected=!0,v&&(a[b].defaultSelected=!0);return}o!==null||a[b].disabled||(o=a[b])}o!==null&&(o.selected=!0)}}function un(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return _e({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function yn(a,o){var d=o.value;if(d==null){if(d=o.children,o=o.defaultValue,d!=null){if(o!=null)throw Error(i(92));if(wr(d)){if(1<d.length)throw Error(i(93));d=d[0]}o=d}o==null&&(o=""),d=o}a._wrapperState={initialValue:vt(d)}}function sn(a,o){var d=vt(o.value),v=vt(o.defaultValue);d!=null&&(d=""+d,d!==a.value&&(a.value=d),o.defaultValue==null&&a.defaultValue!==d&&(a.defaultValue=d)),v!=null&&(a.defaultValue=""+v)}function ce(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function ee(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ye(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?ee(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var Fe,xe=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,d,v,b){MSApp.execUnsafeLocalFunction(function(){return a(o,d,v,b)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(Fe=Fe||document.createElement("div"),Fe.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=Fe.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Oe(a,o){if(o){var d=a.firstChild;if(d&&d===a.lastChild&&d.nodeType===3){d.nodeValue=o;return}}a.textContent=o}var Ye={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xt=["Webkit","ms","Moz","O"];Object.keys(Ye).forEach(function(a){xt.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),Ye[o]=Ye[a]})});function Ut(a,o,d){return o==null||typeof o=="boolean"||o===""?"":d||typeof o!="number"||o===0||Ye.hasOwnProperty(a)&&Ye[a]?(""+o).trim():o+"px"}function Dn(a,o){a=a.style;for(var d in o)if(o.hasOwnProperty(d)){var v=d.indexOf("--")===0,b=Ut(d,o[d],v);d==="float"&&(d="cssFloat"),v?a.setProperty(d,b):a[d]=b}}var _n=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tr(a,o){if(o){if(_n[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function bn(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ga=null;function mr(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var jn=null,va=null,ya=null;function Ci(a){if(a=Ct(a)){if(typeof jn!="function")throw Error(i(280));var o=a.stateNode;o&&(o=Fr(o),jn(a.stateNode,a.type,o))}}function Co(a){va?ya?ya.push(a):ya=[a]:va=a}function vl(){if(va){var a=va,o=ya;if(ya=va=null,Ci(a),o)for(a=0;a<o.length;a++)Ci(o[a])}}function yl(a,o){return a(o)}function Ps(){}var Xi=!1;function _i(a,o,d){if(Xi)return a(o,d);Xi=!0;try{return yl(a,o,d)}finally{Xi=!1,(va!==null||ya!==null)&&(Ps(),vl())}}function lr(a,o){var d=a.stateNode;if(d===null)return null;var v=Fr(d);if(v===null)return null;d=v[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(a=a.type,v=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!v;break e;default:a=!1}if(a)return null;if(d&&typeof d!="function")throw Error(i(231,o,typeof d));return d}var Ta=!1;if(D)try{var sa={};Object.defineProperty(sa,"passive",{get:function(){Ta=!0}}),window.addEventListener("test",sa,sa),window.removeEventListener("test",sa,sa)}catch{Ta=!1}function _o(a,o,d,v,b,S,P,H,X){var me=Array.prototype.slice.call(arguments,3);try{o.apply(d,me)}catch(Ne){this.onError(Ne)}}var xi=!1,xo=null,Eo=!1,V=null,Ae={onError:function(a){xi=!0,xo=a}};function Je(a,o,d,v,b,S,P,H,X){xi=!1,xo=null,_o.apply(Ae,arguments)}function ct(a,o,d,v,b,S,P,H,X){if(Je.apply(this,arguments),xi){if(xi){var me=xo;xi=!1,xo=null}else throw Error(i(198));Eo||(Eo=!0,V=me)}}function Ht(a){var o=a,d=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(d=o.return),a=o.return;while(a)}return o.tag===3?d:null}function jt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function Wt(a){if(Ht(a)!==a)throw Error(i(188))}function tn(a){var o=a.alternate;if(!o){if(o=Ht(a),o===null)throw Error(i(188));return o!==a?null:a}for(var d=a,v=o;;){var b=d.return;if(b===null)break;var S=b.alternate;if(S===null){if(v=b.return,v!==null){d=v;continue}break}if(b.child===S.child){for(S=b.child;S;){if(S===d)return Wt(b),a;if(S===v)return Wt(b),o;S=S.sibling}throw Error(i(188))}if(d.return!==v.return)d=b,v=S;else{for(var P=!1,H=b.child;H;){if(H===d){P=!0,d=b,v=S;break}if(H===v){P=!0,v=b,d=S;break}H=H.sibling}if(!P){for(H=S.child;H;){if(H===d){P=!0,d=S,v=b;break}if(H===v){P=!0,v=S,d=b;break}H=H.sibling}if(!P)throw Error(i(189))}}if(d.alternate!==v)throw Error(i(190))}if(d.tag!==3)throw Error(i(188));return d.stateNode.current===d?a:o}function Dr(a){return a=tn(a),a!==null?Jn(a):null}function Jn(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=Jn(a);if(o!==null)return o;a=a.sibling}return null}var Zn=r.unstable_scheduleCallback,Lr=r.unstable_cancelCallback,Ji=r.unstable_shouldYield,Sr=r.unstable_requestPaint,Et=r.unstable_now,Xt=r.unstable_getCurrentPriorityLevel,Zi=r.unstable_ImmediatePriority,Ns=r.unstable_UserBlockingPriority,bl=r.unstable_NormalPriority,Os=r.unstable_LowPriority,ku=r.unstable_IdlePriority,eo=null,Wa=null;function wu(a){if(Wa&&typeof Wa.onCommitFiberRoot=="function")try{Wa.onCommitFiberRoot(eo,a,void 0,(a.current.flags&128)===128)}catch{}}var la=Math.clz32?Math.clz32:kl,Ld=Math.log,_c=Math.LN2;function kl(a){return a>>>=0,a===0?32:31-(Ld(a)/_c|0)|0}var es=64,Ya=4194304;function oi(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function to(a,o){var d=a.pendingLanes;if(d===0)return 0;var v=0,b=a.suspendedLanes,S=a.pingedLanes,P=d&268435455;if(P!==0){var H=P&~b;H!==0?v=oi(H):(S&=P,S!==0&&(v=oi(S)))}else P=d&~b,P!==0?v=oi(P):S!==0&&(v=oi(S));if(v===0)return 0;if(o!==0&&o!==v&&!(o&b)&&(b=v&-v,S=o&-o,b>=S||b===16&&(S&4194240)!==0))return o;if(v&4&&(v|=d&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=v;0<o;)d=31-la(o),b=1<<d,v|=a[d],o&=~b;return v}function wl(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64: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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dl(a,o){for(var d=a.suspendedLanes,v=a.pingedLanes,b=a.expirationTimes,S=a.pendingLanes;0<S;){var P=31-la(S),H=1<<P,X=b[P];X===-1?(!(H&d)||H&v)&&(b[P]=wl(H,o)):X<=o&&(a.expiredLanes|=H),S&=~H}}function Rs(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function Du(){var a=es;return es<<=1,!(es&4194240)&&(es=64),a}function Sl(a){for(var o=[],d=0;31>d;d++)o.push(a);return o}function si(a,o,d){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-la(o),a[o]=d}function np(a,o){var d=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var v=a.eventTimes;for(a=a.expirationTimes;0<d;){var b=31-la(d),S=1<<b;o[b]=0,v[b]=-1,a[b]=-1,d&=~S}}function ts(a,o){var d=a.entangledLanes|=o;for(a=a.entanglements;d;){var v=31-la(d),b=1<<v;b&o|a[v]&o&&(a[v]|=o),d&=~b}}var xn=0;function Su(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var kn,To,Ao,Mt,Cl,ua=!1,no=[],ba=null,ca=null,ur=null,Fn=new Map,li=new Map,Ar=[],Aa="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 submit".split(" ");function Ei(a,o){switch(a){case"focusin":case"focusout":ba=null;break;case"dragenter":case"dragleave":ca=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Fn.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(o.pointerId)}}function Ls(a,o,d,v,b,S){return a===null||a.nativeEvent!==S?(a={blockedOn:o,domEventName:d,eventSystemFlags:v,nativeEvent:S,targetContainers:[b]},o!==null&&(o=Ct(o),o!==null&&To(o)),a):(a.eventSystemFlags|=v,o=a.targetContainers,b!==null&&o.indexOf(b)===-1&&o.push(b),a)}function Cu(a,o,d,v,b){switch(o){case"focusin":return ba=Ls(ba,a,o,d,v,b),!0;case"dragenter":return ca=Ls(ca,a,o,d,v,b),!0;case"mouseover":return ur=Ls(ur,a,o,d,v,b),!0;case"pointerover":var S=b.pointerId;return Fn.set(S,Ls(Fn.get(S)||null,a,o,d,v,b)),!0;case"gotpointercapture":return S=b.pointerId,li.set(S,Ls(li.get(S)||null,a,o,d,v,b)),!0}return!1}function _u(a){var o=Ll(a.target);if(o!==null){var d=Ht(o);if(d!==null){if(o=d.tag,o===13){if(o=jt(d),o!==null){a.blockedOn=o,Cl(a.priority,function(){Ao(d)});return}}else if(o===3&&d.stateNode.current.memoizedState.isDehydrated){a.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Bs(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var d=Tu(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(d===null){d=a.nativeEvent;var v=new d.constructor(d.type,d);ga=v,d.target.dispatchEvent(v),ga=null}else return o=Ct(d),o!==null&&To(o),a.blockedOn=d,!1;o.shift()}return!0}function ns(a,o,d){Bs(a)&&d.delete(o)}function rp(){ua=!1,ba!==null&&Bs(ba)&&(ba=null),ca!==null&&Bs(ca)&&(ca=null),ur!==null&&Bs(ur)&&(ur=null),Fn.forEach(ns),li.forEach(ns)}function Ti(a,o){a.blockedOn===o&&(a.blockedOn=null,ua||(ua=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,rp)))}function ro(a){function o(b){return Ti(b,a)}if(0<no.length){Ti(no[0],a);for(var d=1;d<no.length;d++){var v=no[d];v.blockedOn===a&&(v.blockedOn=null)}}for(ba!==null&&Ti(ba,a),ca!==null&&Ti(ca,a),ur!==null&&Ti(ur,a),Fn.forEach(o),li.forEach(o),d=0;d<Ar.length;d++)v=Ar[d],v.blockedOn===a&&(v.blockedOn=null);for(;0<Ar.length&&(d=Ar[0],d.blockedOn===null);)_u(d),d.blockedOn===null&&Ar.shift()}var Fo=J.ReactCurrentBatchConfig,Ai=!0;function xu(a,o,d,v){var b=xn,S=Fo.transition;Fo.transition=null;try{xn=1,rs(a,o,d,v)}finally{xn=b,Fo.transition=S}}function Eu(a,o,d,v){var b=xn,S=Fo.transition;Fo.transition=null;try{xn=4,rs(a,o,d,v)}finally{xn=b,Fo.transition=S}}function rs(a,o,d,v){if(Ai){var b=Tu(a,o,d,v);if(b===null)Jd(a,o,v,_l,d),Ei(a,v);else if(Cu(b,a,o,d,v))v.stopPropagation();else if(Ei(a,v),o&4&&-1<Aa.indexOf(a)){for(;b!==null;){var S=Ct(b);if(S!==null&&kn(S),S=Tu(a,o,d,v),S===null&&Jd(a,o,v,_l,d),S===b)break;b=S}b!==null&&v.stopPropagation()}else Jd(a,o,v,null,d)}}var _l=null;function Tu(a,o,d,v){if(_l=null,a=mr(v),a=Ll(a),a!==null)if(o=Ht(a),o===null)a=null;else if(d=o.tag,d===13){if(a=jt(o),a!==null)return a;a=null}else if(d===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return _l=a,null}function Au(a){switch(a){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xt()){case Zi:return 1;case Ns:return 4;case bl:case Os:return 16;case ku:return 536870912;default:return 16}default:return 16}}var ao=null,F=null,q=null;function fe(){if(q)return q;var a,o=F,d=o.length,v,b="value"in ao?ao.value:ao.textContent,S=b.length;for(a=0;a<d&&o[a]===b[a];a++);var P=d-a;for(v=1;v<=P&&o[d-v]===b[S-v];v++);return q=b.slice(a,1<v?1-v:void 0)}function we(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function ze(){return!0}function Tt(){return!1}function Qe(a){function o(d,v,b,S,P){this._reactName=d,this._targetInst=b,this.type=v,this.nativeEvent=S,this.target=P,this.currentTarget=null;for(var H in a)a.hasOwnProperty(H)&&(d=a[H],this[H]=d?d(S):S[H]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?ze:Tt,this.isPropagationStopped=Tt,this}return _e(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=ze)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=ze)},persist:function(){},isPersistent:ze}),o}var At={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=Qe(At),wn=_e({},At,{view:0,detail:0}),zn=Qe(wn),Un,Yt,Hn,gr=_e({},wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:El,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Hn&&(Hn&&a.type==="mousemove"?(Un=a.screenX-Hn.screenX,Yt=a.screenY-Hn.screenY):Yt=Un=0,Hn=a),Un)},movementY:function(a){return"movementY"in a?a.movementY:Yt}}),Ms=Qe(gr),xc=_e({},gr,{dataTransfer:0}),as=Qe(xc),Ec=_e({},wn,{relatedTarget:0}),xl=Qe(Ec),Bd=_e({},At,{animationName:0,elapsedTime:0,pseudoElement:0}),Md=Qe(Bd),ap=_e({},At,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Kh=Qe(ap),ip=_e({},At,{data:0}),Id=Qe(ip),op={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qh={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"},sp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ui(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=sp[a])?!!o[a]:!1}function El(){return ui}var Tc=_e({},wn,{key:function(a){if(a.key){var o=op[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=we(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Qh[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:El,charCode:function(a){return a.type==="keypress"?we(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?we(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),lp=Qe(Tc),Tl=_e({},gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xh=Qe(Tl),$o=_e({},wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:El}),jd=Qe($o),Zr=_e({},At,{propertyName:0,elapsedTime:0,pseudoElement:0}),Po=Qe(Zr),er=_e({},gr,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),ci=Qe(er),Al=[9,13,27,32],is=D&&"CompositionEvent"in window,Ac=null;D&&"documentMode"in document&&(Ac=document.documentMode);var Is=D&&"TextEvent"in window&&!Ac,Jh=D&&(!is||Ac&&8<Ac&&11>=Ac),Zh=" ",Fu=!1;function $u(a,o){switch(a){case"keyup":return Al.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function js(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Fl=!1;function zd(a,o){switch(a){case"compositionend":return js(o);case"keypress":return o.which!==32?null:(Fu=!0,Zh);case"textInput":return a=o.data,a===Zh&&Fu?null:a;default:return null}}function up(a,o){if(Fl)return a==="compositionend"||!is&&$u(a,o)?(a=fe(),q=F=ao=null,Fl=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Jh&&o.locale!=="ko"?null:o.data;default:return null}}var ev={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cp(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!ev[a.type]:o==="textarea"}function dp(a,o,d,v){Co(v),o=Nc(o,"onChange"),0<o.length&&(d=new ln("onChange","change",null,d,v),a.push({event:d,listeners:o}))}var No=null,$l=null;function Pu(a){Ol(a,0)}function os(a){var o=Pi(a);if(Qn(o))return a}function tv(a,o){if(a==="change")return o}var em=!1;if(D){var fp;if(D){var pp="oninput"in document;if(!pp){var tm=document.createElement("div");tm.setAttribute("oninput","return;"),pp=typeof tm.oninput=="function"}fp=pp}else fp=!1;em=fp&&(!document.documentMode||9<document.documentMode)}function nm(){No&&(No.detachEvent("onpropertychange",rm),$l=No=null)}function rm(a){if(a.propertyName==="value"&&os($l)){var o=[];dp(o,$l,a,mr(a)),_i(Pu,o)}}function nv(a,o,d){a==="focusin"?(nm(),No=o,$l=d,No.attachEvent("onpropertychange",rm)):a==="focusout"&&nm()}function am(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return os($l)}function rv(a,o){if(a==="click")return os(o)}function im(a,o){if(a==="input"||a==="change")return os(o)}function om(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Fa=typeof Object.is=="function"?Object.is:om;function zs(a,o){if(Fa(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var d=Object.keys(a),v=Object.keys(o);if(d.length!==v.length)return!1;for(v=0;v<d.length;v++){var b=d[v];if(!C.call(o,b)||!Fa(a[b],o[b]))return!1}return!0}function Ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Hd(a,o){var d=Ud(a);a=0;for(var v;d;){if(d.nodeType===3){if(v=a+d.textContent.length,a<=o&&v>=o)return{node:d,offset:o-a};a=v}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Ud(d)}}function ss(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?ss(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Fc(){for(var a=window,o=Lt();o instanceof a.HTMLIFrameElement;){try{var d=typeof o.contentWindow.location.href=="string"}catch{d=!1}if(d)a=o.contentWindow;else break;o=Lt(a.document)}return o}function qd(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function Nu(a){var o=Fc(),d=a.focusedElem,v=a.selectionRange;if(o!==d&&d&&d.ownerDocument&&ss(d.ownerDocument.documentElement,d)){if(v!==null&&qd(d)){if(o=v.start,a=v.end,a===void 0&&(a=o),"selectionStart"in d)d.selectionStart=o,d.selectionEnd=Math.min(a,d.value.length);else if(a=(o=d.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var b=d.textContent.length,S=Math.min(v.start,b);v=v.end===void 0?S:Math.min(v.end,b),!a.extend&&S>v&&(b=v,v=S,S=b),b=Hd(d,S);var P=Hd(d,v);b&&P&&(a.rangeCount!==1||a.anchorNode!==b.node||a.anchorOffset!==b.offset||a.focusNode!==P.node||a.focusOffset!==P.offset)&&(o=o.createRange(),o.setStart(b.node,b.offset),a.removeAllRanges(),S>v?(a.addRange(o),a.extend(P.node,P.offset)):(o.setEnd(P.node,P.offset),a.addRange(o)))}}for(o=[],a=d;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<o.length;d++)a=o[d],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var av=D&&"documentMode"in document&&11>=document.documentMode,Ou=null,Ru=null,Pl=null,Lu=!1;function hp(a,o,d){var v=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Lu||Ou==null||Ou!==Lt(v)||(v=Ou,"selectionStart"in v&&qd(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Pl&&zs(Pl,v)||(Pl=v,v=Nc(Ru,"onSelect"),0<v.length&&(o=new ln("onSelect","select",null,o,d),a.push({event:o,listeners:v}),o.target=Ou)))}function Bu(a,o){var d={};return d[a.toLowerCase()]=o.toLowerCase(),d["Webkit"+a]="webkit"+o,d["Moz"+a]="moz"+o,d}var Us={animationend:Bu("Animation","AnimationEnd"),animationiteration:Bu("Animation","AnimationIteration"),animationstart:Bu("Animation","AnimationStart"),transitionend:Bu("Transition","TransitionEnd")},Vr={},mp={};D&&(mp=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);function Vd(a){if(Vr[a])return Vr[a];if(!Us[a])return a;var o=Us[a],d;for(d in o)if(o.hasOwnProperty(d)&&d in mp)return Vr[a]=o[d];return a}var Wd=Vd("animationend"),gp=Vd("animationiteration"),nn=Vd("animationstart"),$c=Vd("transitionend"),Yd=new Map,Gd="abort auxClick 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(" ");function Fi(a,o){Yd.set(a,o),h(o,[a])}for(var vp=0;vp<Gd.length;vp++){var Nl=Gd[vp],iv=Nl.toLowerCase(),ov=Nl[0].toUpperCase()+Nl.slice(1);Fi(iv,"on"+ov)}Fi(Wd,"onAnimationEnd"),Fi(gp,"onAnimationIteration"),Fi(nn,"onAnimationStart"),Fi("dblclick","onDoubleClick"),Fi("focusin","onFocus"),Fi("focusout","onBlur"),Fi($c,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pc="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(" "),yp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pc));function Kd(a,o,d){var v=a.type||"unknown-event";a.currentTarget=d,ct(v,o,void 0,a),a.currentTarget=null}function Ol(a,o){o=(o&4)!==0;for(var d=0;d<a.length;d++){var v=a[d],b=v.event;v=v.listeners;e:{var S=void 0;if(o)for(var P=v.length-1;0<=P;P--){var H=v[P],X=H.instance,me=H.currentTarget;if(H=H.listener,X!==S&&b.isPropagationStopped())break e;Kd(b,H,me),S=X}else for(P=0;P<v.length;P++){if(H=v[P],X=H.instance,me=H.currentTarget,H=H.listener,X!==S&&b.isPropagationStopped())break e;Kd(b,H,me),S=X}}}if(Eo)throw a=V,Eo=!1,V=null,a}function On(a,o){var d=o[Mc];d===void 0&&(d=o[Mc]=new Set);var v=a+"__bubble";d.has(v)||(sm(o,a,2,!1),d.add(v))}function Qd(a,o,d){var v=0;o&&(v|=4),sm(d,a,v,o)}var Xd="_reactListening"+Math.random().toString(36).slice(2);function Mu(a){if(!a[Xd]){a[Xd]=!0,l.forEach(function(d){d!=="selectionchange"&&(yp.has(d)||Qd(d,!1,a),Qd(d,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Xd]||(o[Xd]=!0,Qd("selectionchange",!1,o))}}function sm(a,o,d,v){switch(Au(o)){case 1:var b=xu;break;case 4:b=Eu;break;default:b=rs}d=b.bind(null,o,d,a),b=void 0,!Ta||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(b=!0),v?b!==void 0?a.addEventListener(o,d,{capture:!0,passive:b}):a.addEventListener(o,d,!0):b!==void 0?a.addEventListener(o,d,{passive:b}):a.addEventListener(o,d,!1)}function Jd(a,o,d,v,b){var S=v;if(!(o&1)&&!(o&2)&&v!==null)e:for(;;){if(v===null)return;var P=v.tag;if(P===3||P===4){var H=v.stateNode.containerInfo;if(H===b||H.nodeType===8&&H.parentNode===b)break;if(P===4)for(P=v.return;P!==null;){var X=P.tag;if((X===3||X===4)&&(X=P.stateNode.containerInfo,X===b||X.nodeType===8&&X.parentNode===b))return;P=P.return}for(;H!==null;){if(P=Ll(H),P===null)return;if(X=P.tag,X===5||X===6){v=S=P;continue e}H=H.parentNode}}v=v.return}_i(function(){var me=S,Ne=mr(d),Be=[];e:{var Pe=Yd.get(a);if(Pe!==void 0){var st=ln,mt=a;switch(a){case"keypress":if(we(d)===0)break e;case"keydown":case"keyup":st=lp;break;case"focusin":mt="focus",st=xl;break;case"focusout":mt="blur",st=xl;break;case"beforeblur":case"afterblur":st=xl;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":st=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":st=as;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":st=jd;break;case Wd:case gp:case nn:st=Md;break;case $c:st=Po;break;case"scroll":st=zn;break;case"wheel":st=ci;break;case"copy":case"cut":case"paste":st=Kh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":st=Xh}var kt=(o&4)!==0,Kr=!kt&&a==="scroll",oe=kt?Pe!==null?Pe+"Capture":null:Pe;kt=[];for(var ne=me,ie;ne!==null;){ie=ne;var Ue=ie.stateNode;if(ie.tag===5&&Ue!==null&&(ie=Ue,oe!==null&&(Ue=lr(ne,oe),Ue!=null&&kt.push(Iu(ne,Ue,ie)))),Kr)break;ne=ne.return}0<kt.length&&(Pe=new st(Pe,mt,null,d,Ne),Be.push({event:Pe,listeners:kt}))}}if(!(o&7)){e:{if(Pe=a==="mouseover"||a==="pointerover",st=a==="mouseout"||a==="pointerout",Pe&&d!==ga&&(mt=d.relatedTarget||d.fromElement)&&(Ll(mt)||mt[ds]))break e;if((st||Pe)&&(Pe=Ne.window===Ne?Ne:(Pe=Ne.ownerDocument)?Pe.defaultView||Pe.parentWindow:window,st?(mt=d.relatedTarget||d.toElement,st=me,mt=mt?Ll(mt):null,mt!==null&&(Kr=Ht(mt),mt!==Kr||mt.tag!==5&&mt.tag!==6)&&(mt=null)):(st=null,mt=me),st!==mt)){if(kt=Ms,Ue="onMouseLeave",oe="onMouseEnter",ne="mouse",(a==="pointerout"||a==="pointerover")&&(kt=Xh,Ue="onPointerLeave",oe="onPointerEnter",ne="pointer"),Kr=st==null?Pe:Pi(st),ie=mt==null?Pe:Pi(mt),Pe=new kt(Ue,ne+"leave",st,d,Ne),Pe.target=Kr,Pe.relatedTarget=ie,Ue=null,Ll(Ne)===me&&(kt=new kt(oe,ne+"enter",mt,d,Ne),kt.target=ie,kt.relatedTarget=Kr,Ue=kt),Kr=Ue,st&&mt)t:{for(kt=st,oe=mt,ne=0,ie=kt;ie;ie=ls(ie))ne++;for(ie=0,Ue=oe;Ue;Ue=ls(Ue))ie++;for(;0<ne-ie;)kt=ls(kt),ne--;for(;0<ie-ne;)oe=ls(oe),ie--;for(;ne--;){if(kt===oe||oe!==null&&kt===oe.alternate)break t;kt=ls(kt),oe=ls(oe)}kt=null}else kt=null;st!==null&&bp(Be,Pe,st,kt,!1),mt!==null&&Kr!==null&&bp(Be,Kr,mt,kt,!0)}}e:{if(Pe=me?Pi(me):window,st=Pe.nodeName&&Pe.nodeName.toLowerCase(),st==="select"||st==="input"&&Pe.type==="file")var wt=tv;else if(cp(Pe))if(em)wt=im;else{wt=am;var Nt=nv}else(st=Pe.nodeName)&&st.toLowerCase()==="input"&&(Pe.type==="checkbox"||Pe.type==="radio")&&(wt=rv);if(wt&&(wt=wt(a,me))){dp(Be,wt,d,Ne);break e}Nt&&Nt(a,Pe,me),a==="focusout"&&(Nt=Pe._wrapperState)&&Nt.controlled&&Pe.type==="number"&&Rr(Pe,"number",Pe.value)}switch(Nt=me?Pi(me):window,a){case"focusin":(cp(Nt)||Nt.contentEditable==="true")&&(Ou=Nt,Ru=me,Pl=null);break;case"focusout":Pl=Ru=Ou=null;break;case"mousedown":Lu=!0;break;case"contextmenu":case"mouseup":case"dragend":Lu=!1,hp(Be,d,Ne);break;case"selectionchange":if(av)break;case"keydown":case"keyup":hp(Be,d,Ne)}var $t;if(is)e:{switch(a){case"compositionstart":var zt="onCompositionStart";break e;case"compositionend":zt="onCompositionEnd";break e;case"compositionupdate":zt="onCompositionUpdate";break e}zt=void 0}else Fl?$u(a,d)&&(zt="onCompositionEnd"):a==="keydown"&&d.keyCode===229&&(zt="onCompositionStart");zt&&(Jh&&d.locale!=="ko"&&(Fl||zt!=="onCompositionStart"?zt==="onCompositionEnd"&&Fl&&($t=fe()):(ao=Ne,F="value"in ao?ao.value:ao.textContent,Fl=!0)),Nt=Nc(me,zt),0<Nt.length&&(zt=new Id(zt,a,null,d,Ne),Be.push({event:zt,listeners:Nt}),$t?zt.data=$t:($t=js(d),$t!==null&&(zt.data=$t)))),($t=Is?zd(a,d):up(a,d))&&(me=Nc(me,"onBeforeInput"),0<me.length&&(Ne=new Id("onBeforeInput","beforeinput",null,d,Ne),Be.push({event:Ne,listeners:me}),Ne.data=$t))}Ol(Be,o)})}function Iu(a,o,d){return{instance:a,listener:o,currentTarget:d}}function Nc(a,o){for(var d=o+"Capture",v=[];a!==null;){var b=a,S=b.stateNode;b.tag===5&&S!==null&&(b=S,S=lr(a,d),S!=null&&v.unshift(Iu(a,S,b)),S=lr(a,o),S!=null&&v.push(Iu(a,S,b))),a=a.return}return v}function ls(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function bp(a,o,d,v,b){for(var S=o._reactName,P=[];d!==null&&d!==v;){var H=d,X=H.alternate,me=H.stateNode;if(X!==null&&X===v)break;H.tag===5&&me!==null&&(H=me,b?(X=lr(d,S),X!=null&&P.unshift(Iu(d,X,H))):b||(X=lr(d,S),X!=null&&P.push(Iu(d,X,H)))),d=d.return}P.length!==0&&a.push({event:o,listeners:P})}var lm=/\r\n?/g,sv=/\u0000|\uFFFD/g;function kp(a){return(typeof a=="string"?a:""+a).replace(lm,`
|
|
162
|
+
`).replace(sv,"")}function Oc(a,o,d){if(o=kp(o),kp(a)!==o&&d)throw Error(i(425))}function us(){}var ju=null,Hs=null;function Rc(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Oo=typeof setTimeout=="function"?setTimeout:void 0,Zd=typeof clearTimeout=="function"?clearTimeout:void 0,$i=typeof Promise=="function"?Promise:void 0,cs=typeof queueMicrotask=="function"?queueMicrotask:typeof $i<"u"?function(a){return $i.resolve(null).then(a).catch(Lc)}:Oo;function Lc(a){setTimeout(function(){throw a})}function Rl(a,o){var d=o,v=0;do{var b=d.nextSibling;if(a.removeChild(d),b&&b.nodeType===8)if(d=b.data,d==="/$"){if(v===0){a.removeChild(b),ro(o);return}v--}else d!=="$"&&d!=="$?"&&d!=="$!"||v++;d=b}while(d);ro(o)}function di(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function Bc(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="$"||d==="$!"||d==="$?"){if(o===0)return a;o--}else d==="/$"&&o++}a=a.previousSibling}return null}var io=Math.random().toString(36).slice(2),oo="__reactFiber$"+io,qs="__reactProps$"+io,ds="__reactContainer$"+io,Mc="__reactEvents$"+io,zu="__reactListeners$"+io,lv="__reactHandles$"+io;function Ll(a){var o=a[oo];if(o)return o;for(var d=a.parentNode;d;){if(o=d[ds]||d[oo]){if(d=o.alternate,o.child!==null||d!==null&&d.child!==null)for(a=Bc(a);a!==null;){if(d=a[oo])return d;a=Bc(a)}return o}a=d,d=a.parentNode}return null}function Ct(a){return a=a[oo]||a[ds],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function Pi(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function Fr(a){return a[qs]||null}var mn=[],Ni=-1;function Ft(a){return{current:a}}function Wn(a){0>Ni||(a.current=mn[Ni],mn[Ni]=null,Ni--)}function yt(a,o){Ni++,mn[Ni]=a.current,a.current=o}var ka={},Yn=Ft(ka),Wr=Ft(!1),Ga=ka;function Oi(a,o){var d=a.type.contextTypes;if(!d)return ka;var v=a.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===o)return v.__reactInternalMemoizedMaskedChildContext;var b={},S;for(S in d)b[S]=o[S];return v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=b),b}function Br(a){return a=a.childContextTypes,a!=null}function Uu(){Wn(Wr),Wn(Yn)}function fs(a,o,d){if(Yn.current!==ka)throw Error(i(168));yt(Yn,o),yt(Wr,d)}function Ic(a,o,d){var v=a.stateNode;if(o=o.childContextTypes,typeof v.getChildContext!="function")return d;v=v.getChildContext();for(var b in v)if(!(b in o))throw Error(i(108,bt(a)||"Unknown",b));return _e({},d,v)}function Ka(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||ka,Ga=Yn.current,yt(Yn,a),yt(Wr,Wr.current),!0}function ps(a,o,d){var v=a.stateNode;if(!v)throw Error(i(169));d?(a=Ic(a,o,Ga),v.__reactInternalMemoizedMergedChildContext=a,Wn(Wr),Wn(Yn),yt(Yn,a)):Wn(Wr),yt(Wr,d)}var so=null,Bl=!1,Ro=!1;function ef(a){so===null?so=[a]:so.push(a)}function lo(a){Bl=!0,ef(a)}function Lo(){if(!Ro&&so!==null){Ro=!0;var a=0,o=xn;try{var d=so;for(xn=1;a<d.length;a++){var v=d[a];do v=v(!0);while(v!==null)}so=null,Bl=!1}catch(b){throw so!==null&&(so=so.slice(a+1)),Zn(Zi,Lo),b}finally{xn=o,Ro=!1}}return null}var Vs=[],Ws=0,Ys=null,Bo=0,Cr=[],Ri=0,fi=null,Mo=1,$a="";function Gs(a,o){Vs[Ws++]=Bo,Vs[Ws++]=Ys,Ys=a,Bo=o}function um(a,o,d){Cr[Ri++]=Mo,Cr[Ri++]=$a,Cr[Ri++]=fi,fi=a;var v=Mo;a=$a;var b=32-la(v)-1;v&=~(1<<b),d+=1;var S=32-la(o)+b;if(30<S){var P=b-b%5;S=(v&(1<<P)-1).toString(32),v>>=P,b-=P,Mo=1<<32-la(o)+b|d<<b|v,$a=S+a}else Mo=1<<S|d<<b|v,$a=a}function Ml(a){a.return!==null&&(Gs(a,1),um(a,1,0))}function Hu(a){for(;a===Ys;)Ys=Vs[--Ws],Vs[Ws]=null,Bo=Vs[--Ws],Vs[Ws]=null;for(;a===fi;)fi=Cr[--Ri],Cr[Ri]=null,$a=Cr[--Ri],Cr[Ri]=null,Mo=Cr[--Ri],Cr[Ri]=null}var Qa=null,Sn=null,cr=!1,Li=null;function wp(a,o){var d=Ho(5,null,null,0);d.elementType="DELETED",d.stateNode=o,d.return=a,o=a.deletions,o===null?(a.deletions=[d],a.flags|=16):o.push(d)}function cm(a,o){switch(a.tag){case 5:var d=a.type;return o=o.nodeType!==1||d.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,Qa=a,Sn=di(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,Qa=a,Sn=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(d=fi!==null?{id:Mo,overflow:$a}:null,a.memoizedState={dehydrated:o,treeContext:d,retryLane:1073741824},d=Ho(18,null,null,0),d.stateNode=o,d.return=a,a.child=d,Qa=a,Sn=null,!0):!1;default:return!1}}function Dp(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Sp(a){if(cr){var o=Sn;if(o){var d=o;if(!cm(a,o)){if(Dp(a))throw Error(i(418));o=di(d.nextSibling);var v=Qa;o&&cm(a,o)?wp(v,d):(a.flags=a.flags&-4097|2,cr=!1,Qa=a)}}else{if(Dp(a))throw Error(i(418));a.flags=a.flags&-4097|2,cr=!1,Qa=a}}}function Mr(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Qa=a}function jc(a){if(a!==Qa)return!1;if(!cr)return Mr(a),cr=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!Rc(a.type,a.memoizedProps)),o&&(o=Sn)){if(Dp(a))throw qu(),Error(i(418));for(;o;)wp(a,o),o=di(o.nextSibling)}if(Mr(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="/$"){if(o===0){Sn=di(a.nextSibling);break e}o--}else d!=="$"&&d!=="$!"&&d!=="$?"||o++}a=a.nextSibling}Sn=null}}else Sn=Qa?di(a.stateNode.nextSibling):null;return!0}function qu(){for(var a=Sn;a;)a=di(a.nextSibling)}function Ks(){Sn=Qa=null,cr=!1}function Io(a){Li===null?Li=[a]:Li.push(a)}var uv=J.ReactCurrentBatchConfig;function hs(a,o,d){if(a=d.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(i(309));var v=d.stateNode}if(!v)throw Error(i(147,a));var b=v,S=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===S?o.ref:(o=function(P){var H=b.refs;P===null?delete H[S]:H[S]=P},o._stringRef=S,o)}if(typeof a!="string")throw Error(i(284));if(!d._owner)throw Error(i(290,a))}return a}function ea(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function dm(a){var o=a._init;return o(a._payload)}function Il(a){function o(oe,ne){if(a){var ie=oe.deletions;ie===null?(oe.deletions=[ne],oe.flags|=16):ie.push(ne)}}function d(oe,ne){if(!a)return null;for(;ne!==null;)o(oe,ne),ne=ne.sibling;return null}function v(oe,ne){for(oe=new Map;ne!==null;)ne.key!==null?oe.set(ne.key,ne):oe.set(ne.index,ne),ne=ne.sibling;return oe}function b(oe,ne){return oe=Xl(oe,ne),oe.index=0,oe.sibling=null,oe}function S(oe,ne,ie){return oe.index=ie,a?(ie=oe.alternate,ie!==null?(ie=ie.index,ie<ne?(oe.flags|=2,ne):ie):(oe.flags|=2,ne)):(oe.flags|=1048576,ne)}function P(oe){return a&&oe.alternate===null&&(oe.flags|=2),oe}function H(oe,ne,ie,Ue){return ne===null||ne.tag!==6?(ne=Nm(ie,oe.mode,Ue),ne.return=oe,ne):(ne=b(ne,ie),ne.return=oe,ne)}function X(oe,ne,ie,Ue){var wt=ie.type;return wt===pe?Ne(oe,ne,ie.props.children,Ue,ie.key):ne!==null&&(ne.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Me&&dm(wt)===ne.type)?(Ue=b(ne,ie.props),Ue.ref=hs(oe,ne,ie),Ue.return=oe,Ue):(Ue=uf(ie.type,ie.key,ie.props,null,oe.mode,Ue),Ue.ref=hs(oe,ne,ie),Ue.return=oe,Ue)}function me(oe,ne,ie,Ue){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==ie.containerInfo||ne.stateNode.implementation!==ie.implementation?(ne=Om(ie,oe.mode,Ue),ne.return=oe,ne):(ne=b(ne,ie.children||[]),ne.return=oe,ne)}function Ne(oe,ne,ie,Ue,wt){return ne===null||ne.tag!==7?(ne=Ds(ie,oe.mode,Ue,wt),ne.return=oe,ne):(ne=b(ne,ie),ne.return=oe,ne)}function Be(oe,ne,ie){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return ne=Nm(""+ne,oe.mode,ie),ne.return=oe,ne;if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case K:return ie=uf(ne.type,ne.key,ne.props,null,oe.mode,ie),ie.ref=hs(oe,null,ne),ie.return=oe,ie;case ae:return ne=Om(ne,oe.mode,ie),ne.return=oe,ne;case Me:var Ue=ne._init;return Be(oe,Ue(ne._payload),ie)}if(wr(ne)||Re(ne))return ne=Ds(ne,oe.mode,ie,null),ne.return=oe,ne;ea(oe,ne)}return null}function Pe(oe,ne,ie,Ue){var wt=ne!==null?ne.key:null;if(typeof ie=="string"&&ie!==""||typeof ie=="number")return wt!==null?null:H(oe,ne,""+ie,Ue);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case K:return ie.key===wt?X(oe,ne,ie,Ue):null;case ae:return ie.key===wt?me(oe,ne,ie,Ue):null;case Me:return wt=ie._init,Pe(oe,ne,wt(ie._payload),Ue)}if(wr(ie)||Re(ie))return wt!==null?null:Ne(oe,ne,ie,Ue,null);ea(oe,ie)}return null}function st(oe,ne,ie,Ue,wt){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number")return oe=oe.get(ie)||null,H(ne,oe,""+Ue,wt);if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case K:return oe=oe.get(Ue.key===null?ie:Ue.key)||null,X(ne,oe,Ue,wt);case ae:return oe=oe.get(Ue.key===null?ie:Ue.key)||null,me(ne,oe,Ue,wt);case Me:var Nt=Ue._init;return st(oe,ne,ie,Nt(Ue._payload),wt)}if(wr(Ue)||Re(Ue))return oe=oe.get(ie)||null,Ne(ne,oe,Ue,wt,null);ea(ne,Ue)}return null}function mt(oe,ne,ie,Ue){for(var wt=null,Nt=null,$t=ne,zt=ne=0,Sa=null;$t!==null&&zt<ie.length;zt++){$t.index>zt?(Sa=$t,$t=null):Sa=$t.sibling;var Rn=Pe(oe,$t,ie[zt],Ue);if(Rn===null){$t===null&&($t=Sa);break}a&&$t&&Rn.alternate===null&&o(oe,$t),ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn,$t=Sa}if(zt===ie.length)return d(oe,$t),cr&&Gs(oe,zt),wt;if($t===null){for(;zt<ie.length;zt++)$t=Be(oe,ie[zt],Ue),$t!==null&&(ne=S($t,ne,zt),Nt===null?wt=$t:Nt.sibling=$t,Nt=$t);return cr&&Gs(oe,zt),wt}for($t=v(oe,$t);zt<ie.length;zt++)Sa=st($t,oe,zt,ie[zt],Ue),Sa!==null&&(a&&Sa.alternate!==null&&$t.delete(Sa.key===null?zt:Sa.key),ne=S(Sa,ne,zt),Nt===null?wt=Sa:Nt.sibling=Sa,Nt=Sa);return a&&$t.forEach(function(Jl){return o(oe,Jl)}),cr&&Gs(oe,zt),wt}function kt(oe,ne,ie,Ue){var wt=Re(ie);if(typeof wt!="function")throw Error(i(150));if(ie=wt.call(ie),ie==null)throw Error(i(151));for(var Nt=wt=null,$t=ne,zt=ne=0,Sa=null,Rn=ie.next();$t!==null&&!Rn.done;zt++,Rn=ie.next()){$t.index>zt?(Sa=$t,$t=null):Sa=$t.sibling;var Jl=Pe(oe,$t,Rn.value,Ue);if(Jl===null){$t===null&&($t=Sa);break}a&&$t&&Jl.alternate===null&&o(oe,$t),ne=S(Jl,ne,zt),Nt===null?wt=Jl:Nt.sibling=Jl,Nt=Jl,$t=Sa}if(Rn.done)return d(oe,$t),cr&&Gs(oe,zt),wt;if($t===null){for(;!Rn.done;zt++,Rn=ie.next())Rn=Be(oe,Rn.value,Ue),Rn!==null&&(ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn);return cr&&Gs(oe,zt),wt}for($t=v(oe,$t);!Rn.done;zt++,Rn=ie.next())Rn=st($t,oe,zt,Rn.value,Ue),Rn!==null&&(a&&Rn.alternate!==null&&$t.delete(Rn.key===null?zt:Rn.key),ne=S(Rn,ne,zt),Nt===null?wt=Rn:Nt.sibling=Rn,Nt=Rn);return a&&$t.forEach(function(mk){return o(oe,mk)}),cr&&Gs(oe,zt),wt}function Kr(oe,ne,ie,Ue){if(typeof ie=="object"&&ie!==null&&ie.type===pe&&ie.key===null&&(ie=ie.props.children),typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case K:e:{for(var wt=ie.key,Nt=ne;Nt!==null;){if(Nt.key===wt){if(wt=ie.type,wt===pe){if(Nt.tag===7){d(oe,Nt.sibling),ne=b(Nt,ie.props.children),ne.return=oe,oe=ne;break e}}else if(Nt.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Me&&dm(wt)===Nt.type){d(oe,Nt.sibling),ne=b(Nt,ie.props),ne.ref=hs(oe,Nt,ie),ne.return=oe,oe=ne;break e}d(oe,Nt);break}else o(oe,Nt);Nt=Nt.sibling}ie.type===pe?(ne=Ds(ie.props.children,oe.mode,Ue,ie.key),ne.return=oe,oe=ne):(Ue=uf(ie.type,ie.key,ie.props,null,oe.mode,Ue),Ue.ref=hs(oe,ne,ie),Ue.return=oe,oe=Ue)}return P(oe);case ae:e:{for(Nt=ie.key;ne!==null;){if(ne.key===Nt)if(ne.tag===4&&ne.stateNode.containerInfo===ie.containerInfo&&ne.stateNode.implementation===ie.implementation){d(oe,ne.sibling),ne=b(ne,ie.children||[]),ne.return=oe,oe=ne;break e}else{d(oe,ne);break}else o(oe,ne);ne=ne.sibling}ne=Om(ie,oe.mode,Ue),ne.return=oe,oe=ne}return P(oe);case Me:return Nt=ie._init,Kr(oe,ne,Nt(ie._payload),Ue)}if(wr(ie))return mt(oe,ne,ie,Ue);if(Re(ie))return kt(oe,ne,ie,Ue);ea(oe,ie)}return typeof ie=="string"&&ie!==""||typeof ie=="number"?(ie=""+ie,ne!==null&&ne.tag===6?(d(oe,ne.sibling),ne=b(ne,ie),ne.return=oe,oe=ne):(d(oe,ne),ne=Nm(ie,oe.mode,Ue),ne.return=oe,oe=ne),P(oe)):d(oe,ne)}return Kr}var $r=Il(!0),Ze=Il(!1),Xa=Ft(null),Ja=null,Qs=null,Cp=null;function tf(){Cp=Qs=Ja=null}function _p(a){var o=Xa.current;Wn(Xa),a._currentValue=o}function xp(a,o,d){for(;a!==null;){var v=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,v!==null&&(v.childLanes|=o)):v!==null&&(v.childLanes&o)!==o&&(v.childLanes|=o),a===d)break;a=a.return}}function tr(a,o){Ja=a,Cp=Qs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(na=!0),a.firstContext=null)}function Bi(a){var o=a._currentValue;if(Cp!==a)if(a={context:a,memoizedValue:o,next:null},Qs===null){if(Ja===null)throw Error(i(308));Qs=a,Ja.dependencies={lanes:0,firstContext:a}}else Qs=Qs.next=a;return o}var jl=null;function Ep(a){jl===null?jl=[a]:jl.push(a)}function Vu(a,o,d,v){var b=o.interleaved;return b===null?(d.next=d,Ep(o)):(d.next=b.next,b.next=d),o.interleaved=d,Za(a,v)}function Za(a,o){a.lanes|=o;var d=a.alternate;for(d!==null&&(d.lanes|=o),d=a,a=a.return;a!==null;)a.childLanes|=o,d=a.alternate,d!==null&&(d.childLanes|=o),d=a,a=a.return;return d.tag===3?d.stateNode:null}var ta=!1;function zc(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nf(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ms(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function Xs(a,o,d){var v=a.updateQueue;if(v===null)return null;if(v=v.shared,An&2){var b=v.pending;return b===null?o.next=o:(o.next=b.next,b.next=o),v.pending=o,Za(a,d)}return b=v.interleaved,b===null?(o.next=o,Ep(v)):(o.next=b.next,b.next=o),v.interleaved=o,Za(a,d)}function rf(a,o,d){if(o=o.updateQueue,o!==null&&(o=o.shared,(d&4194240)!==0)){var v=o.lanes;v&=a.pendingLanes,d|=v,o.lanes=d,ts(a,d)}}function fm(a,o){var d=a.updateQueue,v=a.alternate;if(v!==null&&(v=v.updateQueue,d===v)){var b=null,S=null;if(d=d.firstBaseUpdate,d!==null){do{var P={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};S===null?b=S=P:S=S.next=P,d=d.next}while(d!==null);S===null?b=S=o:S=S.next=o}else b=S=o;d={baseState:v.baseState,firstBaseUpdate:b,lastBaseUpdate:S,shared:v.shared,effects:v.effects},a.updateQueue=d;return}a=d.lastBaseUpdate,a===null?d.firstBaseUpdate=o:a.next=o,d.lastBaseUpdate=o}function Uc(a,o,d,v){var b=a.updateQueue;ta=!1;var S=b.firstBaseUpdate,P=b.lastBaseUpdate,H=b.shared.pending;if(H!==null){b.shared.pending=null;var X=H,me=X.next;X.next=null,P===null?S=me:P.next=me,P=X;var Ne=a.alternate;Ne!==null&&(Ne=Ne.updateQueue,H=Ne.lastBaseUpdate,H!==P&&(H===null?Ne.firstBaseUpdate=me:H.next=me,Ne.lastBaseUpdate=X))}if(S!==null){var Be=b.baseState;P=0,Ne=me=X=null,H=S;do{var Pe=H.lane,st=H.eventTime;if((v&Pe)===Pe){Ne!==null&&(Ne=Ne.next={eventTime:st,lane:0,tag:H.tag,payload:H.payload,callback:H.callback,next:null});e:{var mt=a,kt=H;switch(Pe=o,st=d,kt.tag){case 1:if(mt=kt.payload,typeof mt=="function"){Be=mt.call(st,Be,Pe);break e}Be=mt;break e;case 3:mt.flags=mt.flags&-65537|128;case 0:if(mt=kt.payload,Pe=typeof mt=="function"?mt.call(st,Be,Pe):mt,Pe==null)break e;Be=_e({},Be,Pe);break e;case 2:ta=!0}}H.callback!==null&&H.lane!==0&&(a.flags|=64,Pe=b.effects,Pe===null?b.effects=[H]:Pe.push(H))}else st={eventTime:st,lane:Pe,tag:H.tag,payload:H.payload,callback:H.callback,next:null},Ne===null?(me=Ne=st,X=Be):Ne=Ne.next=st,P|=Pe;if(H=H.next,H===null){if(H=b.shared.pending,H===null)break;Pe=H,H=Pe.next,Pe.next=null,b.lastBaseUpdate=Pe,b.shared.pending=null}}while(!0);if(Ne===null&&(X=Be),b.baseState=X,b.firstBaseUpdate=me,b.lastBaseUpdate=Ne,o=b.shared.interleaved,o!==null){b=o;do P|=b.lane,b=b.next;while(b!==o)}else S===null&&(b.shared.lanes=0);Yl|=P,a.lanes=P,a.memoizedState=Be}}function Tp(a,o,d){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var v=a[o],b=v.callback;if(b!==null){if(v.callback=null,v=d,typeof b!="function")throw Error(i(191,b));b.call(v)}}}var Hc={},jo=Ft(Hc),zl=Ft(Hc),qc=Ft(Hc);function Ul(a){if(a===Hc)throw Error(i(174));return a}function Ap(a,o){switch(yt(qc,o),yt(zl,a),yt(jo,Hc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:ye(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=ye(o,a)}Wn(jo),yt(jo,o)}function Hl(){Wn(jo),Wn(zl),Wn(qc)}function Fp(a){Ul(qc.current);var o=Ul(jo.current),d=ye(o,a.type);o!==d&&(yt(zl,a),yt(jo,d))}function af(a){zl.current===a&&(Wn(jo),Wn(zl))}var hr=Ft(0);function Vc(a){for(var o=a;o!==null;){if(o.tag===13){var d=o.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Js=[];function _t(){for(var a=0;a<Js.length;a++)Js[a]._workInProgressVersionPrimary=null;Js.length=0}var rn=J.ReactCurrentDispatcher,En=J.ReactCurrentBatchConfig,qn=0,Tn=null,Ir=null,f=null,g=!1,k=!1,_=0,E=0;function M(){throw Error(i(321))}function U(a,o){if(o===null)return!1;for(var d=0;d<o.length&&d<a.length;d++)if(!Fa(a[d],o[d]))return!1;return!0}function ve(a,o,d,v,b,S){if(qn=S,Tn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,rn.current=a===null||a.memoizedState===null?vm:Lp,a=d(v,b),k){S=0;do{if(k=!1,_=0,25<=S)throw Error(i(301));S+=1,f=Ir=null,o.updateQueue=null,rn.current=ym,a=d(v,b)}while(k)}if(rn.current=Kc,o=Ir!==null&&Ir.next!==null,qn=0,f=Ir=Tn=null,g=!1,o)throw Error(i(300));return a}function Ie(){var a=_!==0;return _=0,a}function et(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return f===null?Tn.memoizedState=f=a:f=f.next=a,f}function qe(){if(Ir===null){var a=Tn.alternate;a=a!==null?a.memoizedState:null}else a=Ir.next;var o=f===null?Tn.memoizedState:f.next;if(o!==null)f=o,Ir=a;else{if(a===null)throw Error(i(310));Ir=a,a={memoizedState:Ir.memoizedState,baseState:Ir.baseState,baseQueue:Ir.baseQueue,queue:Ir.queue,next:null},f===null?Tn.memoizedState=f=a:f=f.next=a}return f}function Gt(a,o){return typeof o=="function"?o(a):o}function Jt(a){var o=qe(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var v=Ir,b=v.baseQueue,S=d.pending;if(S!==null){if(b!==null){var P=b.next;b.next=S.next,S.next=P}v.baseQueue=b=S,d.pending=null}if(b!==null){S=b.next,v=v.baseState;var H=P=null,X=null,me=S;do{var Ne=me.lane;if((qn&Ne)===Ne)X!==null&&(X=X.next={lane:0,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null}),v=me.hasEagerState?me.eagerState:a(v,me.action);else{var Be={lane:Ne,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};X===null?(H=X=Be,P=v):X=X.next=Be,Tn.lanes|=Ne,Yl|=Ne}me=me.next}while(me!==null&&me!==S);X===null?P=v:X.next=H,Fa(v,o.memoizedState)||(na=!0),o.memoizedState=v,o.baseState=P,o.baseQueue=X,d.lastRenderedState=v}if(a=d.interleaved,a!==null){b=a;do S=b.lane,Tn.lanes|=S,Yl|=S,b=b.next;while(b!==a)}else b===null&&(d.lanes=0);return[o.memoizedState,d.dispatch]}function Kt(a){var o=qe(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var v=d.dispatch,b=d.pending,S=o.memoizedState;if(b!==null){d.pending=null;var P=b=b.next;do S=a(S,P.action),P=P.next;while(P!==b);Fa(S,o.memoizedState)||(na=!0),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),d.lastRenderedState=S}return[S,v]}function Mn(){}function _r(a,o){var d=Tn,v=qe(),b=o(),S=!Fa(v.memoizedState,b);if(S&&(v.memoizedState=b,na=!0),v=v.queue,$p(ft.bind(null,d,v,a),[a]),v.getSnapshot!==o||S||f!==null&&f.memoizedState.tag&1){if(d.flags|=2048,Pr(9,Yr.bind(null,d,v,b,o),void 0,null),Da===null)throw Error(i(349));qn&30||jr(d,o,b)}return b}function jr(a,o,d){a.flags|=16384,a={getSnapshot:o,value:d},o=Tn.updateQueue,o===null?(o={lastEffect:null,stores:null},Tn.updateQueue=o,o.stores=[a]):(d=o.stores,d===null?o.stores=[a]:d.push(a))}function Yr(a,o,d,v){o.value=d,o.getSnapshot=v,an(o)&&xr(a)}function ft(a,o,d){return d(function(){an(o)&&xr(a)})}function an(a){var o=a.getSnapshot;a=a.value;try{var d=o();return!Fa(a,d)}catch{return!0}}function xr(a){var o=Za(a,1);o!==null&&ws(o,a,1,-1)}function vr(a){var o=et();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gt,lastRenderedState:a},o.queue=a,a=a.dispatch=Gc.bind(null,Tn,a),[o.memoizedState,a]}function Pr(a,o,d,v){return a={tag:a,create:o,destroy:d,deps:v,next:null},o=Tn.updateQueue,o===null?(o={lastEffect:null,stores:null},Tn.updateQueue=o,o.lastEffect=a.next=a):(d=o.lastEffect,d===null?o.lastEffect=a.next=a:(v=d.next,d.next=a,a.next=v,o.lastEffect=a)),a}function gs(){return qe().memoizedState}function Wu(a,o,d,v){var b=et();Tn.flags|=a,b.memoizedState=Pr(1|o,d,void 0,v===void 0?null:v)}function ql(a,o,d,v){var b=qe();v=v===void 0?null:v;var S=void 0;if(Ir!==null){var P=Ir.memoizedState;if(S=P.destroy,v!==null&&U(v,P.deps)){b.memoizedState=Pr(o,d,S,v);return}}Tn.flags|=a,b.memoizedState=Pr(1|o,d,S,v)}function Wc(a,o){return Wu(8390656,8,a,o)}function $p(a,o){return ql(2048,8,a,o)}function pm(a,o){return ql(4,2,a,o)}function Pp(a,o){return ql(4,4,a,o)}function Yc(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function hm(a,o,d){return d=d!=null?d.concat([a]):null,ql(4,4,Yc.bind(null,o,a),d)}function Np(){}function mm(a,o){var d=qe();o=o===void 0?null:o;var v=d.memoizedState;return v!==null&&o!==null&&U(o,v[1])?v[0]:(d.memoizedState=[a,o],a)}function gm(a,o){var d=qe();o=o===void 0?null:o;var v=d.memoizedState;return v!==null&&o!==null&&U(o,v[1])?v[0]:(a=a(),d.memoizedState=[a,o],a)}function cv(a,o,d){return qn&21?(Fa(d,o)||(d=Du(),Tn.lanes|=d,Yl|=d,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,na=!0),a.memoizedState=d)}function Op(a,o){var d=xn;xn=d!==0&&4>d?d:4,a(!0);var v=En.transition;En.transition={};try{a(!1),o()}finally{xn=d,En.transition=v}}function dv(){return qe().memoizedState}function Rp(a,o,d){var v=Uo(a);if(d={lane:v,action:d,hasEagerState:!1,eagerState:null,next:null},uo(a))Rb(o,d);else if(d=Vu(a,o,d,v),d!==null){var b=Ra();ws(d,a,v,b),dr(d,o,v)}}function Gc(a,o,d){var v=Uo(a),b={lane:v,action:d,hasEagerState:!1,eagerState:null,next:null};if(uo(a))Rb(o,b);else{var S=a.alternate;if(a.lanes===0&&(S===null||S.lanes===0)&&(S=o.lastRenderedReducer,S!==null))try{var P=o.lastRenderedState,H=S(P,d);if(b.hasEagerState=!0,b.eagerState=H,Fa(H,P)){var X=o.interleaved;X===null?(b.next=b,Ep(o)):(b.next=X.next,X.next=b),o.interleaved=b;return}}catch{}finally{}d=Vu(a,o,b,v),d!==null&&(b=Ra(),ws(d,a,v,b),dr(d,o,v))}}function uo(a){var o=a.alternate;return a===Tn||o!==null&&o===Tn}function Rb(a,o){k=g=!0;var d=a.pending;d===null?o.next=o:(o.next=d.next,d.next=o),a.pending=o}function dr(a,o,d){if(d&4194240){var v=o.lanes;v&=a.pendingLanes,d|=v,o.lanes=d,ts(a,d)}}var Kc={readContext:Bi,useCallback:M,useContext:M,useEffect:M,useImperativeHandle:M,useInsertionEffect:M,useLayoutEffect:M,useMemo:M,useReducer:M,useRef:M,useState:M,useDebugValue:M,useDeferredValue:M,useTransition:M,useMutableSource:M,useSyncExternalStore:M,useId:M,unstable_isNewReconciler:!1},vm={readContext:Bi,useCallback:function(a,o){return et().memoizedState=[a,o===void 0?null:o],a},useContext:Bi,useEffect:Wc,useImperativeHandle:function(a,o,d){return d=d!=null?d.concat([a]):null,Wu(4194308,4,Yc.bind(null,o,a),d)},useLayoutEffect:function(a,o){return Wu(4194308,4,a,o)},useInsertionEffect:function(a,o){return Wu(4,2,a,o)},useMemo:function(a,o){var d=et();return o=o===void 0?null:o,a=a(),d.memoizedState=[a,o],a},useReducer:function(a,o,d){var v=et();return o=d!==void 0?d(o):o,v.memoizedState=v.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},v.queue=a,a=a.dispatch=Rp.bind(null,Tn,a),[v.memoizedState,a]},useRef:function(a){var o=et();return a={current:a},o.memoizedState=a},useState:vr,useDebugValue:Np,useDeferredValue:function(a){return et().memoizedState=a},useTransition:function(){var a=vr(!1),o=a[0];return a=Op.bind(null,a[1]),et().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,d){var v=Tn,b=et();if(cr){if(d===void 0)throw Error(i(407));d=d()}else{if(d=o(),Da===null)throw Error(i(349));qn&30||jr(v,o,d)}b.memoizedState=d;var S={value:d,getSnapshot:o};return b.queue=S,Wc(ft.bind(null,v,S,a),[a]),v.flags|=2048,Pr(9,Yr.bind(null,v,S,d,o),void 0,null),d},useId:function(){var a=et(),o=Da.identifierPrefix;if(cr){var d=$a,v=Mo;d=(v&~(1<<32-la(v)-1)).toString(32)+d,o=":"+o+"R"+d,d=_++,0<d&&(o+="H"+d.toString(32)),o+=":"}else d=E++,o=":"+o+"r"+d.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},Lp={readContext:Bi,useCallback:mm,useContext:Bi,useEffect:$p,useImperativeHandle:hm,useInsertionEffect:pm,useLayoutEffect:Pp,useMemo:gm,useReducer:Jt,useRef:gs,useState:function(){return Jt(Gt)},useDebugValue:Np,useDeferredValue:function(a){var o=qe();return cv(o,Ir.memoizedState,a)},useTransition:function(){var a=Jt(Gt)[0],o=qe().memoizedState;return[a,o]},useMutableSource:Mn,useSyncExternalStore:_r,useId:dv,unstable_isNewReconciler:!1},ym={readContext:Bi,useCallback:mm,useContext:Bi,useEffect:$p,useImperativeHandle:hm,useInsertionEffect:pm,useLayoutEffect:Pp,useMemo:gm,useReducer:Kt,useRef:gs,useState:function(){return Kt(Gt)},useDebugValue:Np,useDeferredValue:function(a){var o=qe();return Ir===null?o.memoizedState=a:cv(o,Ir.memoizedState,a)},useTransition:function(){var a=Kt(Gt)[0],o=qe().memoizedState;return[a,o]},useMutableSource:Mn,useSyncExternalStore:_r,useId:dv,unstable_isNewReconciler:!1};function vs(a,o){if(a&&a.defaultProps){o=_e({},o),a=a.defaultProps;for(var d in a)o[d]===void 0&&(o[d]=a[d]);return o}return o}function fv(a,o,d,v){o=a.memoizedState,d=d(v,o),d=d==null?o:_e({},o,d),a.memoizedState=d,a.lanes===0&&(a.updateQueue.baseState=d)}var bm={isMounted:function(a){return(a=a._reactInternals)?Ht(a)===a:!1},enqueueSetState:function(a,o,d){a=a._reactInternals;var v=Ra(),b=Uo(a),S=ms(v,b);S.payload=o,d!=null&&(S.callback=d),o=Xs(a,S,b),o!==null&&(ws(o,a,b,v),rf(o,a,b))},enqueueReplaceState:function(a,o,d){a=a._reactInternals;var v=Ra(),b=Uo(a),S=ms(v,b);S.tag=1,S.payload=o,d!=null&&(S.callback=d),o=Xs(a,S,b),o!==null&&(ws(o,a,b,v),rf(o,a,b))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var d=Ra(),v=Uo(a),b=ms(d,v);b.tag=2,o!=null&&(b.callback=o),o=Xs(a,b,v),o!==null&&(ws(o,a,v,d),rf(o,a,v))}};function Lb(a,o,d,v,b,S,P){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(v,S,P):o.prototype&&o.prototype.isPureReactComponent?!zs(d,v)||!zs(b,S):!0}function km(a,o,d){var v=!1,b=ka,S=o.contextType;return typeof S=="object"&&S!==null?S=Bi(S):(b=Br(o)?Ga:Yn.current,v=o.contextTypes,S=(v=v!=null)?Oi(a,b):ka),o=new o(d,S),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=bm,a.stateNode=o,o._reactInternals=a,v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=S),o}function Bb(a,o,d,v){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(d,v),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(d,v),o.state!==a&&bm.enqueueReplaceState(o,o.state,null)}function Bp(a,o,d,v){var b=a.stateNode;b.props=d,b.state=a.memoizedState,b.refs={},zc(a);var S=o.contextType;typeof S=="object"&&S!==null?b.context=Bi(S):(S=Br(o)?Ga:Yn.current,b.context=Oi(a,S)),b.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(fv(a,o,S,d),b.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(o=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),o!==b.state&&bm.enqueueReplaceState(b,b.state,null),Uc(a,d,b,v),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308)}function Qc(a,o){try{var d="",v=o;do d+=Dt(v),v=v.return;while(v);var b=d}catch(S){b=`
|
|
163
163
|
Error generating stack: `+S.message+`
|
|
164
|
-
`+S.stack}return{value:a,source:o,stack:b,digest:null}}function pv(a,o,d){return{value:a,source:null,stack:d??null,digest:o??null}}function hv(a,o){try{console.error(o.value)}catch(d){setTimeout(function(){throw d})}}var wm=typeof WeakMap=="function"?WeakMap:Map;function Mb(a,o,d){d=ms(-1,d),d.tag=3,d.payload={element:null};var v=o.value;return d.callback=function(){Zu||(Zu=!0,Ev=v),hv(a,o)},d}function mv(a,o,d){d=ms(-1,d),d.tag=3;var v=a.type.getDerivedStateFromError;if(typeof v=="function"){var b=o.value;d.payload=function(){return v(b)},d.callback=function(){hv(a,o)}}var S=a.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(d.callback=function(){hv(a,o),typeof v!="function"&&(ec===null?ec=new Set([this]):ec.add(this));var P=o.stack;this.componentDidCatch(o.value,{componentStack:P!==null?P:""})}),d}function gv(a,o,d){var v=a.pingCache;if(v===null){v=a.pingCache=new wm;var b=new Set;v.set(o,b)}else b=v.get(o),b===void 0&&(b=new Set,v.set(o,b));b.has(d)||(b.add(d),a=N2.bind(null,a,o,d),o.then(a,a))}function Ib(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Yu(a,o,d,v,b){return a.mode&1?(a.flags|=65536,a.lanes=b,a):(a===o?a.flags|=65536:(a.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(o=ms(-1,1),o.tag=2,Xs(d,o,1))),d.lanes|=1),a)}var Mp=J.ReactCurrentOwner,na=!1;function Pa(a,o,d,v){o.child=a===null?Ze(o,null,d,v):$r(o,a.child,d,v)}function Mi(a,o,d,v,b){d=d.render;var S=o.ref;return tr(o,b),v=ve(a,o,d,v,S,b),d=Ie(),a!==null&&!na?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,co(a,o,b)):(cr&&d&&Ml(o),o.flags|=1,Pa(a,o,v,b),o.child)}function Xc(a,o,d,v,b){if(a===null){var S=d.type;return typeof S=="function"&&!$v(S)&&S.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(o.tag=15,o.type=S,Zt(a,o,S,v,b)):(a=uf(d.type,null,v,o,o.mode,b),a.ref=o.ref,a.return=o,o.child=a)}if(S=a.child,!(a.lanes&b)){var P=S.memoizedProps;if(d=d.compare,d=d!==null?d:zs,d(P,v)&&a.ref===o.ref)return co(a,o,b)}return o.flags|=1,a=Xl(S,v),a.ref=o.ref,a.return=o,o.child=a}function Zt(a,o,d,v,b){if(a!==null){var S=a.memoizedProps;if(zs(S,v)&&a.ref===o.ref)if(na=!1,o.pendingProps=v=S,(a.lanes&b)!==0)a.flags&131072&&(na=!0);else return o.lanes=a.lanes,co(a,o,b)}return yv(a,o,d,v,b)}function Ip(a,o,d){var v=o.pendingProps,b=v.children,S=a!==null?a.memoizedState:null;if(v.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},yt(Xu,fo),fo|=d;else{if(!(d&1073741824))return a=S!==null?S.baseLanes|d:d,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,yt(Xu,fo),fo|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},v=S!==null?S.baseLanes:d,yt(Xu,fo),fo|=v}else S!==null?(v=S.baseLanes|d,o.memoizedState=null):v=d,yt(Xu,fo),fo|=v;return Pa(a,o,b,d),o.child}function vv(a,o){var d=o.ref;(a===null&&d!==null||a!==null&&a.ref!==d)&&(o.flags|=512,o.flags|=2097152)}function yv(a,o,d,v,b){var S=Br(d)?Ga:Yn.current;return S=Oi(o,S),tr(o,b),d=ve(a,o,d,v,S,b),v=Ie(),a!==null&&!na?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,co(a,o,b)):(cr&&v&&Ml(o),o.flags|=1,Pa(a,o,d,b),o.child)}function Dm(a,o,d,v,b){if(Br(d)){var S=!0;Ka(o)}else S=!1;if(tr(o,b),o.stateNode===null)Zc(a,o),km(o,d,v),Bp(o,d,v,b),v=!0;else if(a===null){var P=o.stateNode,H=o.memoizedProps;P.props=H;var X=P.context,me=d.contextType;typeof me=="object"&&me!==null?me=Bi(me):(me=Br(d)?Ga:Yn.current,me=Oi(o,me));var Ne=d.getDerivedStateFromProps,Be=typeof Ne=="function"||typeof P.getSnapshotBeforeUpdate=="function";Be||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(H!==v||X!==me)&&Bb(o,P,v,me),ta=!1;var Pe=o.memoizedState;P.state=Pe,Uc(o,v,P,b),X=o.memoizedState,H!==v||Pe!==X||Vr.current||ta?(typeof Ne=="function"&&(fv(o,d,Ne,v),X=o.memoizedState),(H=ta||Lb(o,d,H,v,Pe,X,me))?(Be||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(o.flags|=4194308)):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=v,o.memoizedState=X),P.props=v,P.state=X,P.context=me,v=H):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),v=!1)}else{P=o.stateNode,nf(a,o),H=o.memoizedProps,me=o.type===o.elementType?H:vs(o.type,H),P.props=me,Be=o.pendingProps,Pe=P.context,X=d.contextType,typeof X=="object"&&X!==null?X=Bi(X):(X=Br(d)?Ga:Yn.current,X=Oi(o,X));var st=d.getDerivedStateFromProps;(Ne=typeof st=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(H!==Be||Pe!==X)&&Bb(o,P,v,X),ta=!1,Pe=o.memoizedState,P.state=Pe,Uc(o,v,P,b);var mt=o.memoizedState;H!==Be||Pe!==mt||Vr.current||ta?(typeof st=="function"&&(fv(o,d,st,v),mt=o.memoizedState),(me=ta||Lb(o,d,me,v,Pe,mt,X)||!1)?(Ne||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(v,mt,X),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(v,mt,X)),typeof P.componentDidUpdate=="function"&&(o.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof P.componentDidUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=1024),o.memoizedProps=v,o.memoizedState=mt),P.props=v,P.state=mt,P.context=X,v=me):(typeof P.componentDidUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=1024),v=!1)}return Jc(a,o,d,v,S,b)}function Jc(a,o,d,v,b,S){vv(a,o);var P=(o.flags&128)!==0;if(!v&&!P)return b&&ps(o,d,!1),co(a,o,S);v=o.stateNode,Mp.current=o;var H=P&&typeof d.getDerivedStateFromError!="function"?null:v.render();return o.flags|=1,a!==null&&P?(o.child=$r(o,a.child,null,S),o.child=$r(o,null,H,S)):Pa(a,o,H,S),o.memoizedState=v.state,b&&ps(o,d,!0),o.child}function jb(a){var o=a.stateNode;o.pendingContext?fs(a,o.pendingContext,o.pendingContext!==o.context):o.context&&fs(a,o.context,!1),Ap(a,o.containerInfo)}function bv(a,o,d,v,b){return Ks(),Io(b),o.flags|=256,Pa(a,o,d,v),o.child}var kv={dehydrated:null,treeContext:null,retryLane:0};function jp(a){return{baseLanes:a,cachePool:null,transitions:null}}function zb(a,o,d){var v=o.pendingProps,b=hr.current,S=!1,P=(o.flags&128)!==0,H;if((H=P)||(H=a!==null&&a.memoizedState===null?!1:(b&2)!==0),H?(S=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(b|=1),yt(hr,b&1),a===null)return Sp(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(P=v.children,a=v.fallback,S?(v=o.mode,S=o.child,P={mode:"hidden",children:P},!(v&1)&&S!==null?(S.childLanes=0,S.pendingProps=P):S=Pm(P,v,0,null),a=Ds(a,v,d,null),S.return=o,a.return=o,S.sibling=a,o.child=S,o.child.memoizedState=jp(d),o.memoizedState=kv,a):Sm(o,P));if(b=a.memoizedState,b!==null&&(H=b.dehydrated,H!==null))return Ub(a,o,P,v,H,b,d);if(S){S=v.fallback,P=o.mode,b=a.child,H=b.sibling;var X={mode:"hidden",children:v.children};return!(P&1)&&o.child!==b?(v=o.child,v.childLanes=0,v.pendingProps=X,o.deletions=null):(v=Xl(b,X),v.subtreeFlags=b.subtreeFlags&14680064),H!==null?S=Xl(H,S):(S=Ds(S,P,d,null),S.flags|=2),S.return=o,v.return=o,v.sibling=S,o.child=v,v=S,S=o.child,P=a.child.memoizedState,P=P===null?jp(d):{baseLanes:P.baseLanes|d,cachePool:null,transitions:P.transitions},S.memoizedState=P,S.childLanes=a.childLanes&~d,o.memoizedState=kv,v}return S=a.child,a=S.sibling,v=Xl(S,{mode:"visible",children:v.children}),!(o.mode&1)&&(v.lanes=d),v.return=o,v.sibling=null,a!==null&&(d=o.deletions,d===null?(o.deletions=[a],o.flags|=16):d.push(a)),o.child=v,o.memoizedState=null,v}function Sm(a,o){return o=Pm({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function zp(a,o,d,v){return v!==null&&Io(v),$r(o,a.child,null,d),a=Sm(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function Ub(a,o,d,v,b,S,P){if(d)return o.flags&256?(o.flags&=-257,v=pv(Error(i(422))),zp(a,o,P,v)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(S=v.fallback,b=o.mode,v=Pm({mode:"visible",children:v.children},b,0,null),S=Ds(S,b,P,null),S.flags|=2,v.return=o,S.return=o,v.sibling=S,o.child=v,o.mode&1&&$r(o,a.child,null,P),o.child.memoizedState=jp(P),o.memoizedState=kv,S);if(!(o.mode&1))return zp(a,o,P,null);if(b.data==="$!"){if(v=b.nextSibling&&b.nextSibling.dataset,v)var H=v.dgst;return v=H,S=Error(i(419)),v=pv(S,v,void 0),zp(a,o,P,v)}if(H=(P&a.childLanes)!==0,na||H){if(v=Da,v!==null){switch(P&-P){case 4:b=2;break;case 16:b=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:b=32;break;case 536870912:b=268435456;break;default:b=0}b=b&(v.suspendedLanes|P)?0:b,b!==0&&b!==S.retryLane&&(S.retryLane=b,Za(a,b),ws(v,a,b,-1))}return Fv(),v=pv(Error(i(421))),zp(a,o,P,v)}return b.data==="$?"?(o.flags|=128,o.child=a.child,o=ik.bind(null,a),b._reactRetry=o,null):(a=S.treeContext,Sn=di(b.nextSibling),Qa=o,cr=!0,Li=null,a!==null&&(Cr[Ri++]=Mo,Cr[Ri++]=$a,Cr[Ri++]=fi,Mo=a.id,$a=a.overflow,fi=o),o=Sm(o,v.children),o.flags|=4096,o)}function Ii(a,o,d){a.lanes|=o;var v=a.alternate;v!==null&&(v.lanes|=o),xp(a.return,o,d)}function ys(a,o,d,v,b){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:v,tail:d,tailMode:b}:(S.isBackwards=o,S.rendering=null,S.renderingStartTime=0,S.last=v,S.tail=d,S.tailMode=b)}function Zs(a,o,d){var v=o.pendingProps,b=v.revealOrder,S=v.tail;if(Pa(a,o,v.children,d),v=hr.current,v&2)v=v&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Ii(a,d,o);else if(a.tag===19)Ii(a,d,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}v&=1}if(yt(hr,v),!(o.mode&1))o.memoizedState=null;else switch(b){case"forwards":for(d=o.child,b=null;d!==null;)a=d.alternate,a!==null&&Vc(a)===null&&(b=d),d=d.sibling;d=b,d===null?(b=o.child,o.child=null):(b=d.sibling,d.sibling=null),ys(o,!1,b,d,S);break;case"backwards":for(d=null,b=o.child,o.child=null;b!==null;){if(a=b.alternate,a!==null&&Vc(a)===null){o.child=b;break}a=b.sibling,b.sibling=d,d=b,b=a}ys(o,!0,d,null,S);break;case"together":ys(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Zc(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function co(a,o,d){if(a!==null&&(o.dependencies=a.dependencies),Yl|=o.lanes,!(d&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,d=Xl(a,a.pendingProps),o.child=d,d.return=o;a.sibling!==null;)a=a.sibling,d=d.sibling=Xl(a,a.pendingProps),d.return=o;d.sibling=null}return o.child}function bs(a,o,d){switch(o.tag){case 3:jb(o),Ks();break;case 5:Fp(o);break;case 1:Br(o.type)&&Ka(o);break;case 4:Ap(o,o.stateNode.containerInfo);break;case 10:var v=o.type._context,b=o.memoizedProps.value;yt(Xa,v._currentValue),v._currentValue=b;break;case 13:if(v=o.memoizedState,v!==null)return v.dehydrated!==null?(yt(hr,hr.current&1),o.flags|=128,null):d&o.child.childLanes?zb(a,o,d):(yt(hr,hr.current&1),a=co(a,o,d),a!==null?a.sibling:null);yt(hr,hr.current&1);break;case 19:if(v=(d&o.childLanes)!==0,a.flags&128){if(v)return Zs(a,o,d);o.flags|=128}if(b=o.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),yt(hr,hr.current),v)break;return null;case 22:case 23:return o.lanes=0,Ip(a,o,d)}return co(a,o,d)}var ca,wv,Hb,qb;ca=function(a,o){for(var d=o.child;d!==null;){if(d.tag===5||d.tag===6)a.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===o)break;for(;d.sibling===null;){if(d.return===null||d.return===o)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},wv=function(){},Hb=function(a,o,d,v){var b=a.memoizedProps;if(b!==v){a=o.stateNode,Ul(jo.current);var S=null;switch(d){case"input":b=at(a,b),v=at(a,v),S=[];break;case"select":b=_e({},b,{value:void 0}),v=_e({},v,{value:void 0}),S=[];break;case"textarea":b=un(a,b),v=un(a,v),S=[];break;default:typeof b.onClick!="function"&&typeof v.onClick=="function"&&(a.onclick=us)}Tr(d,v);var P;d=null;for(me in b)if(!v.hasOwnProperty(me)&&b.hasOwnProperty(me)&&b[me]!=null)if(me==="style"){var H=b[me];for(P in H)H.hasOwnProperty(P)&&(d||(d={}),d[P]="")}else me!=="dangerouslySetInnerHTML"&&me!=="children"&&me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&me!=="autoFocus"&&(c.hasOwnProperty(me)?S||(S=[]):(S=S||[]).push(me,null));for(me in v){var X=v[me];if(H=b!=null?b[me]:void 0,v.hasOwnProperty(me)&&X!==H&&(X!=null||H!=null))if(me==="style")if(H){for(P in H)!H.hasOwnProperty(P)||X&&X.hasOwnProperty(P)||(d||(d={}),d[P]="");for(P in X)X.hasOwnProperty(P)&&H[P]!==X[P]&&(d||(d={}),d[P]=X[P])}else d||(S||(S=[]),S.push(me,d)),d=X;else me==="dangerouslySetInnerHTML"?(X=X?X.__html:void 0,H=H?H.__html:void 0,X!=null&&H!==X&&(S=S||[]).push(me,X)):me==="children"?typeof X!="string"&&typeof X!="number"||(S=S||[]).push(me,""+X):me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&(c.hasOwnProperty(me)?(X!=null&&me==="onScroll"&&On("scroll",a),S||H===X||(S=[])):(S=S||[]).push(me,X))}d&&(S=S||[]).push("style",d);var me=S;(o.updateQueue=me)&&(o.flags|=4)}},qb=function(a,o,d,v){d!==v&&(o.flags|=4)};function ed(a,o){if(!cr)switch(a.tailMode){case"hidden":o=a.tail;for(var d=null;o!==null;)o.alternate!==null&&(d=o),o=o.sibling;d===null?a.tail=null:d.sibling=null;break;case"collapsed":d=a.tail;for(var v=null;d!==null;)d.alternate!==null&&(v=d),d=d.sibling;v===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:v.sibling=null}}function Na(a){var o=a.alternate!==null&&a.alternate.child===a.child,d=0,v=0;if(o)for(var b=a.child;b!==null;)d|=b.lanes|b.childLanes,v|=b.subtreeFlags&14680064,v|=b.flags&14680064,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)d|=b.lanes|b.childLanes,v|=b.subtreeFlags,v|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=v,a.childLanes=d,o}function Cm(a,o,d){var v=o.pendingProps;switch(Hu(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Na(o),null;case 1:return Br(o.type)&&Uu(),Na(o),null;case 3:return v=o.stateNode,Hl(),Wn(Vr),Wn(Yn),_t(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(a===null||a.child===null)&&(jc(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Li!==null&&(Tv(Li),Li=null))),wv(a,o),Na(o),null;case 5:af(o);var b=Ul(qc.current);if(d=o.type,a!==null&&o.stateNode!=null)Hb(a,o,d,v,b),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!v){if(o.stateNode===null)throw Error(i(166));return Na(o),null}if(a=Ul(jo.current),jc(o)){v=o.stateNode,d=o.type;var S=o.memoizedProps;switch(v[oo]=o,v[qs]=S,a=(o.mode&1)!==0,d){case"dialog":On("cancel",v),On("close",v);break;case"iframe":case"object":case"embed":On("load",v);break;case"video":case"audio":for(b=0;b<Pc.length;b++)On(Pc[b],v);break;case"source":On("error",v);break;case"img":case"image":case"link":On("error",v),On("load",v);break;case"details":On("toggle",v);break;case"input":sr(v,S),On("invalid",v);break;case"select":v._wrapperState={wasMultiple:!!S.multiple},On("invalid",v);break;case"textarea":yn(v,S),On("invalid",v)}Tr(d,S),b=null;for(var P in S)if(S.hasOwnProperty(P)){var H=S[P];P==="children"?typeof H=="string"?v.textContent!==H&&(S.suppressHydrationWarning!==!0&&Oc(v.textContent,H,a),b=["children",H]):typeof H=="number"&&v.textContent!==""+H&&(S.suppressHydrationWarning!==!0&&Oc(v.textContent,H,a),b=["children",""+H]):c.hasOwnProperty(P)&&H!=null&&P==="onScroll"&&On("scroll",v)}switch(d){case"input":en(v),Qi(v,S,!0);break;case"textarea":en(v),ce(v);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(v.onclick=us)}v=b,o.updateQueue=v,v!==null&&(o.flags|=4)}else{P=b.nodeType===9?b:b.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=ee(d)),a==="http://www.w3.org/1999/xhtml"?d==="script"?(a=P.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof v.is=="string"?a=P.createElement(d,{is:v.is}):(a=P.createElement(d),d==="select"&&(P=a,v.multiple?P.multiple=!0:v.size&&(P.size=v.size))):a=P.createElementNS(a,d),a[oo]=o,a[qs]=v,ca(a,o,!1,!1),o.stateNode=a;e:{switch(P=bn(d,v),d){case"dialog":On("cancel",a),On("close",a),b=v;break;case"iframe":case"object":case"embed":On("load",a),b=v;break;case"video":case"audio":for(b=0;b<Pc.length;b++)On(Pc[b],a);b=v;break;case"source":On("error",a),b=v;break;case"img":case"image":case"link":On("error",a),On("load",a),b=v;break;case"details":On("toggle",a),b=v;break;case"input":sr(a,v),b=at(a,v),On("invalid",a);break;case"option":b=v;break;case"select":a._wrapperState={wasMultiple:!!v.multiple},b=_e({},v,{value:void 0}),On("invalid",a);break;case"textarea":yn(a,v),b=un(a,v),On("invalid",a);break;default:b=v}Tr(d,b),H=b;for(S in H)if(H.hasOwnProperty(S)){var X=H[S];S==="style"?Dn(a,X):S==="dangerouslySetInnerHTML"?(X=X?X.__html:void 0,X!=null&&xe(a,X)):S==="children"?typeof X=="string"?(d!=="textarea"||X!=="")&&Oe(a,X):typeof X=="number"&&Oe(a,""+X):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(c.hasOwnProperty(S)?X!=null&&S==="onScroll"&&On("scroll",a):X!=null&&W(a,S,X,P))}switch(d){case"input":en(a),Qi(a,v,!1);break;case"textarea":en(a),ce(a);break;case"option":v.value!=null&&a.setAttribute("value",""+vt(v.value));break;case"select":a.multiple=!!v.multiple,S=v.value,S!=null?Xn(a,!!v.multiple,S,!1):v.defaultValue!=null&&Xn(a,!!v.multiple,v.defaultValue,!0);break;default:typeof b.onClick=="function"&&(a.onclick=us)}switch(d){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}}v&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Na(o),null;case 6:if(a&&o.stateNode!=null)qb(a,o,a.memoizedProps,v);else{if(typeof v!="string"&&o.stateNode===null)throw Error(i(166));if(d=Ul(qc.current),Ul(jo.current),jc(o)){if(v=o.stateNode,d=o.memoizedProps,v[oo]=o,(S=v.nodeValue!==d)&&(a=Qa,a!==null))switch(a.tag){case 3:Oc(v.nodeValue,d,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&Oc(v.nodeValue,d,(a.mode&1)!==0)}S&&(o.flags|=4)}else v=(d.nodeType===9?d:d.ownerDocument).createTextNode(v),v[oo]=o,o.stateNode=v}return Na(o),null;case 13:if(Wn(hr),v=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(cr&&Sn!==null&&o.mode&1&&!(o.flags&128))qu(),Ks(),o.flags|=98560,S=!1;else if(S=jc(o),v!==null&&v.dehydrated!==null){if(a===null){if(!S)throw Error(i(318));if(S=o.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(i(317));S[oo]=o}else Ks(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;Na(o),S=!1}else Li!==null&&(Tv(Li),Li=null),S=!0;if(!S)return o.flags&65536?o:null}return o.flags&128?(o.lanes=d,o):(v=v!==null,v!==(a!==null&&a.memoizedState!==null)&&v&&(o.child.flags|=8192,o.mode&1&&(a===null||hr.current&1?da===0&&(da=3):Fv())),o.updateQueue!==null&&(o.flags|=4),Na(o),null);case 4:return Hl(),wv(a,o),a===null&&Mu(o.stateNode.containerInfo),Na(o),null;case 10:return _p(o.type._context),Na(o),null;case 17:return Br(o.type)&&Uu(),Na(o),null;case 19:if(Wn(hr),S=o.memoizedState,S===null)return Na(o),null;if(v=(o.flags&128)!==0,P=S.rendering,P===null)if(v)ed(S,!1);else{if(da!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(P=Vc(a),P!==null){for(o.flags|=128,ed(S,!1),v=P.updateQueue,v!==null&&(o.updateQueue=v,o.flags|=4),o.subtreeFlags=0,v=d,d=o.child;d!==null;)S=d,a=v,S.flags&=14680066,P=S.alternate,P===null?(S.childLanes=0,S.lanes=a,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=P.childLanes,S.lanes=P.lanes,S.child=P.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=P.memoizedProps,S.memoizedState=P.memoizedState,S.updateQueue=P.updateQueue,S.type=P.type,a=P.dependencies,S.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),d=d.sibling;return yt(hr,hr.current&1|2),o.child}a=a.sibling}S.tail!==null&&Et()>nl&&(o.flags|=128,v=!0,ed(S,!1),o.lanes=4194304)}else{if(!v)if(a=Vc(P),a!==null){if(o.flags|=128,v=!0,d=a.updateQueue,d!==null&&(o.updateQueue=d,o.flags|=4),ed(S,!0),S.tail===null&&S.tailMode==="hidden"&&!P.alternate&&!cr)return Na(o),null}else 2*Et()-S.renderingStartTime>nl&&d!==1073741824&&(o.flags|=128,v=!0,ed(S,!1),o.lanes=4194304);S.isBackwards?(P.sibling=o.child,o.child=P):(d=S.last,d!==null?d.sibling=P:o.child=P,S.last=P)}return S.tail!==null?(o=S.tail,S.rendering=o,S.tail=o.sibling,S.renderingStartTime=Et(),o.sibling=null,d=hr.current,yt(hr,v?d&1|2:d&1),o):(Na(o),null);case 22:case 23:return Kp(),v=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==v&&(o.flags|=8192),v&&o.mode&1?fo&1073741824&&(Na(o),o.subtreeFlags&6&&(o.flags|=8192)):Na(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function Vb(a,o){switch(Hu(o),o.tag){case 1:return Br(o.type)&&Uu(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return Hl(),Wn(Vr),Wn(Yn),_t(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return af(o),null;case 13:if(Wn(hr),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Ks()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Wn(hr),null;case 4:return Hl(),null;case 10:return _p(o.type._context),null;case 22:case 23:return Kp(),null;case 24:return null;default:return null}}var _m=!1,ei=!1,Dv=typeof WeakSet=="function"?WeakSet:Set,pt=null;function td(a,o){var d=a.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(v){zr(a,o,v)}else d.current=null}function Wb(a,o,d){try{d()}catch(v){zr(a,o,v)}}var Sv=!1;function F2(a,o){if(ju=Ai,a=Fc(),qd(a)){if("selectionStart"in a)var d={start:a.selectionStart,end:a.selectionEnd};else e:{d=(d=a.ownerDocument)&&d.defaultView||window;var v=d.getSelection&&d.getSelection();if(v&&v.rangeCount!==0){d=v.anchorNode;var b=v.anchorOffset,S=v.focusNode;v=v.focusOffset;try{d.nodeType,S.nodeType}catch{d=null;break e}var P=0,H=-1,X=-1,me=0,Ne=0,Be=a,Pe=null;t:for(;;){for(var st;Be!==d||b!==0&&Be.nodeType!==3||(H=P+b),Be!==S||v!==0&&Be.nodeType!==3||(X=P+v),Be.nodeType===3&&(P+=Be.nodeValue.length),(st=Be.firstChild)!==null;)Pe=Be,Be=st;for(;;){if(Be===a)break t;if(Pe===d&&++me===b&&(H=P),Pe===S&&++Ne===v&&(X=P),(st=Be.nextSibling)!==null)break;Be=Pe,Pe=Be.parentNode}Be=st}d=H===-1||X===-1?null:{start:H,end:X}}else d=null}d=d||{start:0,end:0}}else d=null;for(Hs={focusedElem:a,selectionRange:d},Ai=!1,pt=o;pt!==null;)if(o=pt,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,pt=a;else for(;pt!==null;){o=pt;try{var mt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(mt!==null){var kt=mt.memoizedProps,Gr=mt.memoizedState,oe=o.stateNode,ne=oe.getSnapshotBeforeUpdate(o.elementType===o.type?kt:vs(o.type,kt),Gr);oe.__reactInternalSnapshotBeforeUpdate=ne}break;case 3:var ie=o.stateNode.containerInfo;ie.nodeType===1?ie.textContent="":ie.nodeType===9&&ie.documentElement&&ie.removeChild(ie.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Ue){zr(o,o.return,Ue)}if(a=o.sibling,a!==null){a.return=o.return,pt=a;break}pt=o.return}return mt=Sv,Sv=!1,mt}function of(a,o,d){var v=o.updateQueue;if(v=v!==null?v.lastEffect:null,v!==null){var b=v=v.next;do{if((b.tag&a)===a){var S=b.destroy;b.destroy=void 0,S!==void 0&&Wb(o,d,S)}b=b.next}while(b!==v)}}function xm(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var d=o=o.next;do{if((d.tag&a)===a){var v=d.create;d.destroy=v()}d=d.next}while(d!==o)}}function Up(a){var o=a.ref;if(o!==null){var d=a.stateNode;switch(a.tag){case 5:a=d;break;default:a=d}typeof o=="function"?o(a):o.current=a}}function Hp(a){var o=a.alternate;o!==null&&(a.alternate=null,Hp(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[oo],delete o[qs],delete o[Mc],delete o[zu],delete o[lv])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Vl(a){return a.tag===5||a.tag===3||a.tag===4}function Wl(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Vl(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function el(a,o,d){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?d.nodeType===8?d.parentNode.insertBefore(a,o):d.insertBefore(a,o):(d.nodeType===8?(o=d.parentNode,o.insertBefore(a,d)):(o=d,o.appendChild(a)),d=d._reactRootContainer,d!=null||o.onclick!==null||(o.onclick=us));else if(v!==4&&(a=a.child,a!==null))for(el(a,o,d),a=a.sibling;a!==null;)el(a,o,d),a=a.sibling}function nd(a,o,d){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?d.insertBefore(a,o):d.appendChild(a);else if(v!==4&&(a=a.child,a!==null))for(nd(a,o,d),a=a.sibling;a!==null;)nd(a,o,d),a=a.sibling}var Yr=null,wa=!1;function Gu(a,o,d){for(d=d.child;d!==null;)Yb(a,o,d),d=d.sibling}function Yb(a,o,d){if(Wa&&typeof Wa.onCommitFiberUnmount=="function")try{Wa.onCommitFiberUnmount(eo,d)}catch{}switch(d.tag){case 5:ei||td(d,o);case 6:var v=Yr,b=wa;Yr=null,Gu(a,o,d),Yr=v,wa=b,Yr!==null&&(wa?(a=Yr,d=d.stateNode,a.nodeType===8?a.parentNode.removeChild(d):a.removeChild(d)):Yr.removeChild(d.stateNode));break;case 18:Yr!==null&&(wa?(a=Yr,d=d.stateNode,a.nodeType===8?Rl(a.parentNode,d):a.nodeType===1&&Rl(a,d),ro(a)):Rl(Yr,d.stateNode));break;case 4:v=Yr,b=wa,Yr=d.stateNode.containerInfo,wa=!0,Gu(a,o,d),Yr=v,wa=b;break;case 0:case 11:case 14:case 15:if(!ei&&(v=d.updateQueue,v!==null&&(v=v.lastEffect,v!==null))){b=v=v.next;do{var S=b,P=S.destroy;S=S.tag,P!==void 0&&(S&2||S&4)&&Wb(d,o,P),b=b.next}while(b!==v)}Gu(a,o,d);break;case 1:if(!ei&&(td(d,o),v=d.stateNode,typeof v.componentWillUnmount=="function"))try{v.props=d.memoizedProps,v.state=d.memoizedState,v.componentWillUnmount()}catch(H){zr(d,o,H)}Gu(a,o,d);break;case 21:Gu(a,o,d);break;case 22:d.mode&1?(ei=(v=ei)||d.memoizedState!==null,Gu(a,o,d),ei=v):Gu(a,o,d);break;default:Gu(a,o,d)}}function Gb(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var d=a.stateNode;d===null&&(d=a.stateNode=new Dv),o.forEach(function(v){var b=O2.bind(null,a,v);d.has(v)||(d.add(v),v.then(b,b))})}}function zo(a,o){var d=o.deletions;if(d!==null)for(var v=0;v<d.length;v++){var b=d[v];try{var S=a,P=o,H=P;e:for(;H!==null;){switch(H.tag){case 5:Yr=H.stateNode,wa=!1;break e;case 3:Yr=H.stateNode.containerInfo,wa=!0;break e;case 4:Yr=H.stateNode.containerInfo,wa=!0;break e}H=H.return}if(Yr===null)throw Error(i(160));Yb(S,P,b),Yr=null,wa=!1;var X=b.alternate;X!==null&&(X.return=null),b.return=null}catch(me){zr(b,o,me)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)sf(o,a),o=o.sibling}function sf(a,o){var d=a.alternate,v=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(zo(o,a),tl(a),v&4){try{of(3,a,a.return),xm(3,a)}catch(kt){zr(a,a.return,kt)}try{of(5,a,a.return)}catch(kt){zr(a,a.return,kt)}}break;case 1:zo(o,a),tl(a),v&512&&d!==null&&td(d,d.return);break;case 5:if(zo(o,a),tl(a),v&512&&d!==null&&td(d,d.return),a.flags&32){var b=a.stateNode;try{Oe(b,"")}catch(kt){zr(a,a.return,kt)}}if(v&4&&(b=a.stateNode,b!=null)){var S=a.memoizedProps,P=d!==null?d.memoizedProps:S,H=a.type,X=a.updateQueue;if(a.updateQueue=null,X!==null)try{H==="input"&&S.type==="radio"&&S.name!=null&&Nn(b,S),bn(H,P);var me=bn(H,S);for(P=0;P<X.length;P+=2){var Ne=X[P],Be=X[P+1];Ne==="style"?Dn(b,Be):Ne==="dangerouslySetInnerHTML"?xe(b,Be):Ne==="children"?Oe(b,Be):W(b,Ne,Be,me)}switch(H){case"input":kr(b,S);break;case"textarea":sn(b,S);break;case"select":var Pe=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!S.multiple;var st=S.value;st!=null?Xn(b,!!S.multiple,st,!1):Pe!==!!S.multiple&&(S.defaultValue!=null?Xn(b,!!S.multiple,S.defaultValue,!0):Xn(b,!!S.multiple,S.multiple?[]:"",!1))}b[qs]=S}catch(kt){zr(a,a.return,kt)}}break;case 6:if(zo(o,a),tl(a),v&4){if(a.stateNode===null)throw Error(i(162));b=a.stateNode,S=a.memoizedProps;try{b.nodeValue=S}catch(kt){zr(a,a.return,kt)}}break;case 3:if(zo(o,a),tl(a),v&4&&d!==null&&d.memoizedState.isDehydrated)try{ro(o.containerInfo)}catch(kt){zr(a,a.return,kt)}break;case 4:zo(o,a),tl(a);break;case 13:zo(o,a),tl(a),b=a.child,b.flags&8192&&(S=b.memoizedState!==null,b.stateNode.isHidden=S,!S||b.alternate!==null&&b.alternate.memoizedState!==null||(xv=Et())),v&4&&Gb(a);break;case 22:if(Ne=d!==null&&d.memoizedState!==null,a.mode&1?(ei=(me=ei)||Ne,zo(o,a),ei=me):zo(o,a),tl(a),v&8192){if(me=a.memoizedState!==null,(a.stateNode.isHidden=me)&&!Ne&&a.mode&1)for(pt=a,Ne=a.child;Ne!==null;){for(Be=pt=Ne;pt!==null;){switch(Pe=pt,st=Pe.child,Pe.tag){case 0:case 11:case 14:case 15:of(4,Pe,Pe.return);break;case 1:td(Pe,Pe.return);var mt=Pe.stateNode;if(typeof mt.componentWillUnmount=="function"){v=Pe,d=Pe.return;try{o=v,mt.props=o.memoizedProps,mt.state=o.memoizedState,mt.componentWillUnmount()}catch(kt){zr(v,d,kt)}}break;case 5:td(Pe,Pe.return);break;case 22:if(Pe.memoizedState!==null){Cv(Be);continue}}st!==null?(st.return=Pe,pt=st):Cv(Be)}Ne=Ne.sibling}e:for(Ne=null,Be=a;;){if(Be.tag===5){if(Ne===null){Ne=Be;try{b=Be.stateNode,me?(S=b.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(H=Be.stateNode,X=Be.memoizedProps.style,P=X!=null&&X.hasOwnProperty("display")?X.display:null,H.style.display=Ut("display",P))}catch(kt){zr(a,a.return,kt)}}}else if(Be.tag===6){if(Ne===null)try{Be.stateNode.nodeValue=me?"":Be.memoizedProps}catch(kt){zr(a,a.return,kt)}}else if((Be.tag!==22&&Be.tag!==23||Be.memoizedState===null||Be===a)&&Be.child!==null){Be.child.return=Be,Be=Be.child;continue}if(Be===a)break e;for(;Be.sibling===null;){if(Be.return===null||Be.return===a)break e;Ne===Be&&(Ne=null),Be=Be.return}Ne===Be&&(Ne=null),Be.sibling.return=Be.return,Be=Be.sibling}}break;case 19:zo(o,a),tl(a),v&4&&Gb(a);break;case 21:break;default:zo(o,a),tl(a)}}function tl(a){var o=a.flags;if(o&2){try{e:{for(var d=a.return;d!==null;){if(Vl(d)){var v=d;break e}d=d.return}throw Error(i(160))}switch(v.tag){case 5:var b=v.stateNode;v.flags&32&&(Oe(b,""),v.flags&=-33);var S=Wl(a);nd(a,S,b);break;case 3:case 4:var P=v.stateNode.containerInfo,H=Wl(a);el(a,H,P);break;default:throw Error(i(161))}}catch(X){zr(a,a.return,X)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Kb(a,o,d){pt=a,Qb(a)}function Qb(a,o,d){for(var v=(a.mode&1)!==0;pt!==null;){var b=pt,S=b.child;if(b.tag===22&&v){var P=b.memoizedState!==null||_m;if(!P){var H=b.alternate,X=H!==null&&H.memoizedState!==null||ei;H=_m;var me=ei;if(_m=P,(ei=X)&&!me)for(pt=b;pt!==null;)P=pt,X=P.child,P.tag===22&&P.memoizedState!==null?Xb(b):X!==null?(X.return=P,pt=X):Xb(b);for(;S!==null;)pt=S,Qb(S),S=S.sibling;pt=b,_m=H,ei=me}qp(a)}else b.subtreeFlags&8772&&S!==null?(S.return=b,pt=S):qp(a)}}function qp(a){for(;pt!==null;){var o=pt;if(o.flags&8772){var d=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:ei||xm(5,o);break;case 1:var v=o.stateNode;if(o.flags&4&&!ei)if(d===null)v.componentDidMount();else{var b=o.elementType===o.type?d.memoizedProps:vs(o.type,d.memoizedProps);v.componentDidUpdate(b,d.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var S=o.updateQueue;S!==null&&Tp(o,S,v);break;case 3:var P=o.updateQueue;if(P!==null){if(d=null,o.child!==null)switch(o.child.tag){case 5:d=o.child.stateNode;break;case 1:d=o.child.stateNode}Tp(o,P,d)}break;case 5:var H=o.stateNode;if(d===null&&o.flags&4){d=H;var X=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":X.autoFocus&&d.focus();break;case"img":X.src&&(d.src=X.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var me=o.alternate;if(me!==null){var Ne=me.memoizedState;if(Ne!==null){var Be=Ne.dehydrated;Be!==null&&ro(Be)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}ei||o.flags&512&&Up(o)}catch(Pe){zr(o,o.return,Pe)}}if(o===a){pt=null;break}if(d=o.sibling,d!==null){d.return=o.return,pt=d;break}pt=o.return}}function Cv(a){for(;pt!==null;){var o=pt;if(o===a){pt=null;break}var d=o.sibling;if(d!==null){d.return=o.return,pt=d;break}pt=o.return}}function Xb(a){for(;pt!==null;){var o=pt;try{switch(o.tag){case 0:case 11:case 15:var d=o.return;try{xm(4,o)}catch(X){zr(o,d,X)}break;case 1:var v=o.stateNode;if(typeof v.componentDidMount=="function"){var b=o.return;try{v.componentDidMount()}catch(X){zr(o,b,X)}}var S=o.return;try{Up(o)}catch(X){zr(o,S,X)}break;case 5:var P=o.return;try{Up(o)}catch(X){zr(o,P,X)}}}catch(X){zr(o,o.return,X)}if(o===a){pt=null;break}var H=o.sibling;if(H!==null){H.return=o.return,pt=H;break}pt=o.return}}var Vp=Math.ceil,Ku=J.ReactCurrentDispatcher,Qu=J.ReactCurrentOwner,ji=J.ReactCurrentBatchConfig,An=0,Da=null,ra=null,Oa=0,fo=0,Xu=Ft(0),da=0,Ju=null,Yl=0,Wp=0,_v=0,Yp=null,zi=null,xv=0,nl=1/0,ks=null,Zu=!1,Ev=null,ec=null,Gp=!1,Gl=null,rd=0,tc=0,Em=null,ti=-1,Kl=0;function Ra(){return An&6?Et():ti!==-1?ti:ti=Et()}function Uo(a){return a.mode&1?An&2&&Oa!==0?Oa&-Oa:uv.transition!==null?(Kl===0&&(Kl=Du()),Kl):(a=xn,a!==0||(a=window.event,a=a===void 0?16:Au(a.type)),a):1}function ws(a,o,d,v){if(50<tc)throw tc=0,Em=null,Error(i(185));si(a,d,v),(!(An&2)||a!==Da)&&(a===Da&&(!(An&2)&&(Wp|=d),da===4&&Ql(a,Oa)),ni(a,v),d===1&&An===0&&!(o.mode&1)&&(nl=Et()+500,Bl&&Lo()))}function ni(a,o){var d=a.callbackNode;Dl(a,o);var v=to(a,a===Da?Oa:0);if(v===0)d!==null&&Lr(d),a.callbackNode=null,a.callbackPriority=0;else if(o=v&-v,a.callbackPriority!==o){if(d!=null&&Lr(d),o===1)a.tag===0?lo(Jb.bind(null,a)):ef(Jb.bind(null,a)),cs(function(){!(An&6)&&Lo()}),d=null;else{switch(Su(v)){case 1:d=Zi;break;case 4:d=Ns;break;case 16:d=bl;break;case 536870912:d=ku;break;default:d=bl}d=sk(d,Tm.bind(null,a))}a.callbackPriority=o,a.callbackNode=d}}function Tm(a,o){if(ti=-1,Kl=0,An&6)throw Error(i(327));var d=a.callbackNode;if(lf()&&a.callbackNode!==d)return null;var v=to(a,a===Da?Oa:0);if(v===0)return null;if(v&30||v&a.expiredLanes||o)o=Fm(a,v);else{o=v;var b=An;An|=2;var S=ek();(Da!==a||Oa!==o)&&(ks=null,nl=Et()+500,od(a,o));do try{$2();break}catch(H){Zb(a,H)}while(!0);tf(),Ku.current=S,An=b,ra!==null?o=0:(Da=null,Oa=0,o=da)}if(o!==0){if(o===2&&(b=Rs(a),b!==0&&(v=b,o=ad(a,b))),o===1)throw d=Ju,od(a,0),Ql(a,v),ni(a,Et()),d;if(o===6)Ql(a,v);else{if(b=a.current.alternate,!(v&30)&&!Am(b)&&(o=Fm(a,v),o===2&&(S=Rs(a),S!==0&&(v=S,o=ad(a,S))),o===1))throw d=Ju,od(a,0),Ql(a,v),ni(a,Et()),d;switch(a.finishedWork=b,a.finishedLanes=v,o){case 0:case 1:throw Error(i(345));case 2:sd(a,zi,ks);break;case 3:if(Ql(a,v),(v&130023424)===v&&(o=xv+500-Et(),10<o)){if(to(a,0)!==0)break;if(b=a.suspendedLanes,(b&v)!==v){Ra(),a.pingedLanes|=a.suspendedLanes&b;break}a.timeoutHandle=Oo(sd.bind(null,a,zi,ks),o);break}sd(a,zi,ks);break;case 4:if(Ql(a,v),(v&4194240)===v)break;for(o=a.eventTimes,b=-1;0<v;){var P=31-sa(v);S=1<<P,P=o[P],P>b&&(b=P),v&=~S}if(v=b,v=Et()-v,v=(120>v?120:480>v?480:1080>v?1080:1920>v?1920:3e3>v?3e3:4320>v?4320:1960*Vp(v/1960))-v,10<v){a.timeoutHandle=Oo(sd.bind(null,a,zi,ks),v);break}sd(a,zi,ks);break;case 5:sd(a,zi,ks);break;default:throw Error(i(329))}}}return ni(a,Et()),a.callbackNode===d?Tm.bind(null,a):null}function ad(a,o){var d=Yp;return a.current.memoizedState.isDehydrated&&(od(a,o).flags|=256),a=Fm(a,o),a!==2&&(o=zi,zi=d,o!==null&&Tv(o)),a}function Tv(a){zi===null?zi=a:zi.push.apply(zi,a)}function Am(a){for(var o=a;;){if(o.flags&16384){var d=o.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var v=0;v<d.length;v++){var b=d[v],S=b.getSnapshot;b=b.value;try{if(!Fa(S(),b))return!1}catch{return!1}}}if(d=o.child,o.subtreeFlags&16384&&d!==null)d.return=o,o=d;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Ql(a,o){for(o&=~_v,o&=~Wp,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var d=31-sa(o),v=1<<d;a[d]=-1,o&=~v}}function Jb(a){if(An&6)throw Error(i(327));lf();var o=to(a,0);if(!(o&1))return ni(a,Et()),null;var d=Fm(a,o);if(a.tag!==0&&d===2){var v=Rs(a);v!==0&&(o=v,d=ad(a,v))}if(d===1)throw d=Ju,od(a,0),Ql(a,o),ni(a,Et()),d;if(d===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,sd(a,zi,ks),ni(a,Et()),null}function Av(a,o){var d=An;An|=1;try{return a(o)}finally{An=d,An===0&&(nl=Et()+500,Bl&&Lo())}}function id(a){Gl!==null&&Gl.tag===0&&!(An&6)&&lf();var o=An;An|=1;var d=ji.transition,v=xn;try{if(ji.transition=null,xn=1,a)return a()}finally{xn=v,ji.transition=d,An=o,!(An&6)&&Lo()}}function Kp(){fo=Xu.current,Wn(Xu)}function od(a,o){a.finishedWork=null,a.finishedLanes=0;var d=a.timeoutHandle;if(d!==-1&&(a.timeoutHandle=-1,Zd(d)),ra!==null)for(d=ra.return;d!==null;){var v=d;switch(Hu(v),v.tag){case 1:v=v.type.childContextTypes,v!=null&&Uu();break;case 3:Hl(),Wn(Vr),Wn(Yn),_t();break;case 5:af(v);break;case 4:Hl();break;case 13:Wn(hr);break;case 19:Wn(hr);break;case 10:_p(v.type._context);break;case 22:case 23:Kp()}d=d.return}if(Da=a,ra=a=Xl(a.current,null),Oa=fo=o,da=0,Ju=null,_v=Wp=Yl=0,zi=Yp=null,jl!==null){for(o=0;o<jl.length;o++)if(d=jl[o],v=d.interleaved,v!==null){d.interleaved=null;var b=v.next,S=d.pending;if(S!==null){var P=S.next;S.next=b,v.next=P}d.pending=v}jl=null}return a}function Zb(a,o){do{var d=ra;try{if(tf(),rn.current=Kc,g){for(var v=Tn.memoizedState;v!==null;){var b=v.queue;b!==null&&(b.pending=null),v=v.next}g=!1}if(qn=0,f=Ir=Tn=null,k=!1,_=0,Qu.current=null,d===null||d.return===null){da=1,Ju=o,ra=null;break}e:{var S=a,P=d.return,H=d,X=o;if(o=Oa,H.flags|=32768,X!==null&&typeof X=="object"&&typeof X.then=="function"){var me=X,Ne=H,Be=Ne.tag;if(!(Ne.mode&1)&&(Be===0||Be===11||Be===15)){var Pe=Ne.alternate;Pe?(Ne.updateQueue=Pe.updateQueue,Ne.memoizedState=Pe.memoizedState,Ne.lanes=Pe.lanes):(Ne.updateQueue=null,Ne.memoizedState=null)}var st=Ib(P);if(st!==null){st.flags&=-257,Yu(st,P,H,S,o),st.mode&1&&gv(S,me,o),o=st,X=me;var mt=o.updateQueue;if(mt===null){var kt=new Set;kt.add(X),o.updateQueue=kt}else mt.add(X);break e}else{if(!(o&1)){gv(S,me,o),Fv();break e}X=Error(i(426))}}else if(cr&&H.mode&1){var Gr=Ib(P);if(Gr!==null){!(Gr.flags&65536)&&(Gr.flags|=256),Yu(Gr,P,H,S,o),Io(Qc(X,H));break e}}S=X=Qc(X,H),da!==4&&(da=2),Yp===null?Yp=[S]:Yp.push(S),S=P;do{switch(S.tag){case 3:S.flags|=65536,o&=-o,S.lanes|=o;var oe=Mb(S,X,o);fm(S,oe);break e;case 1:H=X;var ne=S.type,ie=S.stateNode;if(!(S.flags&128)&&(typeof ne.getDerivedStateFromError=="function"||ie!==null&&typeof ie.componentDidCatch=="function"&&(ec===null||!ec.has(ie)))){S.flags|=65536,o&=-o,S.lanes|=o;var Ue=mv(S,H,o);fm(S,Ue);break e}}S=S.return}while(S!==null)}rk(d)}catch(wt){o=wt,ra===d&&d!==null&&(ra=d=d.return);continue}break}while(!0)}function ek(){var a=Ku.current;return Ku.current=Kc,a===null?Kc:a}function Fv(){(da===0||da===3||da===2)&&(da=4),Da===null||!(Yl&268435455)&&!(Wp&268435455)||Ql(Da,Oa)}function Fm(a,o){var d=An;An|=2;var v=ek();(Da!==a||Oa!==o)&&(ks=null,od(a,o));do try{tk();break}catch(b){Zb(a,b)}while(!0);if(tf(),An=d,Ku.current=v,ra!==null)throw Error(i(261));return Da=null,Oa=0,da}function tk(){for(;ra!==null;)nk(ra)}function $2(){for(;ra!==null&&!Ji();)nk(ra)}function nk(a){var o=ok(a.alternate,a,fo);a.memoizedProps=a.pendingProps,o===null?rk(a):ra=o,Qu.current=null}function rk(a){var o=a;do{var d=o.alternate;if(a=o.return,o.flags&32768){if(d=Vb(d,o),d!==null){d.flags&=32767,ra=d;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{da=6,ra=null;return}}else if(d=Cm(d,o,fo),d!==null){ra=d;return}if(o=o.sibling,o!==null){ra=o;return}ra=o=a}while(o!==null);da===0&&(da=5)}function sd(a,o,d){var v=xn,b=ji.transition;try{ji.transition=null,xn=1,P2(a,o,d,v)}finally{ji.transition=b,xn=v}return null}function P2(a,o,d,v){do lf();while(Gl!==null);if(An&6)throw Error(i(327));d=a.finishedWork;var b=a.finishedLanes;if(d===null)return null;if(a.finishedWork=null,a.finishedLanes=0,d===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var S=d.lanes|d.childLanes;if(np(a,S),a===Da&&(ra=Da=null,Oa=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Gp||(Gp=!0,sk(bl,function(){return lf(),null})),S=(d.flags&15990)!==0,d.subtreeFlags&15990||S){S=ji.transition,ji.transition=null;var P=xn;xn=1;var H=An;An|=4,Qu.current=null,F2(a,d),sf(d,a),Nu(Hs),Ai=!!ju,Hs=ju=null,a.current=d,Kb(d),Sr(),An=H,xn=P,ji.transition=S}else a.current=d;if(Gp&&(Gp=!1,Gl=a,rd=b),S=a.pendingLanes,S===0&&(ec=null),wu(d.stateNode),ni(a,Et()),o!==null)for(v=a.onRecoverableError,d=0;d<o.length;d++)b=o[d],v(b.value,{componentStack:b.stack,digest:b.digest});if(Zu)throw Zu=!1,a=Ev,Ev=null,a;return rd&1&&a.tag!==0&&lf(),S=a.pendingLanes,S&1?a===Em?tc++:(tc=0,Em=a):tc=0,Lo(),null}function lf(){if(Gl!==null){var a=Su(rd),o=ji.transition,d=xn;try{if(ji.transition=null,xn=16>a?16:a,Gl===null)var v=!1;else{if(a=Gl,Gl=null,rd=0,An&6)throw Error(i(331));var b=An;for(An|=4,pt=a.current;pt!==null;){var S=pt,P=S.child;if(pt.flags&16){var H=S.deletions;if(H!==null){for(var X=0;X<H.length;X++){var me=H[X];for(pt=me;pt!==null;){var Ne=pt;switch(Ne.tag){case 0:case 11:case 15:of(8,Ne,S)}var Be=Ne.child;if(Be!==null)Be.return=Ne,pt=Be;else for(;pt!==null;){Ne=pt;var Pe=Ne.sibling,st=Ne.return;if(Hp(Ne),Ne===me){pt=null;break}if(Pe!==null){Pe.return=st,pt=Pe;break}pt=st}}}var mt=S.alternate;if(mt!==null){var kt=mt.child;if(kt!==null){mt.child=null;do{var Gr=kt.sibling;kt.sibling=null,kt=Gr}while(kt!==null)}}pt=S}}if(S.subtreeFlags&2064&&P!==null)P.return=S,pt=P;else e:for(;pt!==null;){if(S=pt,S.flags&2048)switch(S.tag){case 0:case 11:case 15:of(9,S,S.return)}var oe=S.sibling;if(oe!==null){oe.return=S.return,pt=oe;break e}pt=S.return}}var ne=a.current;for(pt=ne;pt!==null;){P=pt;var ie=P.child;if(P.subtreeFlags&2064&&ie!==null)ie.return=P,pt=ie;else e:for(P=ne;pt!==null;){if(H=pt,H.flags&2048)try{switch(H.tag){case 0:case 11:case 15:xm(9,H)}}catch(wt){zr(H,H.return,wt)}if(H===P){pt=null;break e}var Ue=H.sibling;if(Ue!==null){Ue.return=H.return,pt=Ue;break e}pt=H.return}}if(An=b,Lo(),Wa&&typeof Wa.onPostCommitFiberRoot=="function")try{Wa.onPostCommitFiberRoot(eo,a)}catch{}v=!0}return v}finally{xn=d,ji.transition=o}}return!1}function $m(a,o,d){o=Qc(d,o),o=Mb(a,o,1),a=Xs(a,o,1),o=Ra(),a!==null&&(si(a,1,o),ni(a,o))}function zr(a,o,d){if(a.tag===3)$m(a,a,d);else for(;o!==null;){if(o.tag===3){$m(o,a,d);break}else if(o.tag===1){var v=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(ec===null||!ec.has(v))){a=Qc(d,a),a=mv(o,a,1),o=Xs(o,a,1),a=Ra(),o!==null&&(si(o,1,a),ni(o,a));break}}o=o.return}}function N2(a,o,d){var v=a.pingCache;v!==null&&v.delete(o),o=Ra(),a.pingedLanes|=a.suspendedLanes&d,Da===a&&(Oa&d)===d&&(da===4||da===3&&(Oa&130023424)===Oa&&500>Et()-xv?od(a,0):_v|=d),ni(a,o)}function ak(a,o){o===0&&(a.mode&1?(o=Ya,Ya<<=1,!(Ya&130023424)&&(Ya=4194304)):o=1);var d=Ra();a=Za(a,o),a!==null&&(si(a,o,d),ni(a,d))}function ik(a){var o=a.memoizedState,d=0;o!==null&&(d=o.retryLane),ak(a,d)}function O2(a,o){var d=0;switch(a.tag){case 13:var v=a.stateNode,b=a.memoizedState;b!==null&&(d=b.retryLane);break;case 19:v=a.stateNode;break;default:throw Error(i(314))}v!==null&&v.delete(o),ak(a,d)}var ok;ok=function(a,o,d){if(a!==null)if(a.memoizedProps!==o.pendingProps||Vr.current)na=!0;else{if(!(a.lanes&d)&&!(o.flags&128))return na=!1,bs(a,o,d);na=!!(a.flags&131072)}else na=!1,cr&&o.flags&1048576&&um(o,Bo,o.index);switch(o.lanes=0,o.tag){case 2:var v=o.type;Zc(a,o),a=o.pendingProps;var b=Oi(o,Yn.current);tr(o,d),b=ve(null,o,v,a,b,d);var S=Ie();return o.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Br(v)?(S=!0,Ka(o)):S=!1,o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,zc(o),b.updater=bm,o.stateNode=b,b._reactInternals=o,Bp(o,v,a,d),o=Jc(null,o,v,!0,S,d)):(o.tag=0,cr&&S&&Ml(o),Pa(null,o,b,d),o=o.child),o;case 16:v=o.elementType;e:{switch(Zc(a,o),a=o.pendingProps,b=v._init,v=b(v._payload),o.type=v,b=o.tag=L2(v),a=vs(v,a),b){case 0:o=yv(null,o,v,a,d);break e;case 1:o=Dm(null,o,v,a,d);break e;case 11:o=Mi(null,o,v,a,d);break e;case 14:o=Xc(null,o,v,vs(v.type,a),d);break e}throw Error(i(306,v,""))}return o;case 0:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),yv(a,o,v,b,d);case 1:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Dm(a,o,v,b,d);case 3:e:{if(jb(o),a===null)throw Error(i(387));v=o.pendingProps,S=o.memoizedState,b=S.element,nf(a,o),Uc(o,v,null,d);var P=o.memoizedState;if(v=P.element,S.isDehydrated)if(S={element:v,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},o.updateQueue.baseState=S,o.memoizedState=S,o.flags&256){b=Qc(Error(i(423)),o),o=bv(a,o,v,d,b);break e}else if(v!==b){b=Qc(Error(i(424)),o),o=bv(a,o,v,d,b);break e}else for(Sn=di(o.stateNode.containerInfo.firstChild),Qa=o,cr=!0,Li=null,d=Ze(o,null,v,d),o.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(Ks(),v===b){o=co(a,o,d);break e}Pa(a,o,v,d)}o=o.child}return o;case 5:return Fp(o),a===null&&Sp(o),v=o.type,b=o.pendingProps,S=a!==null?a.memoizedProps:null,P=b.children,Rc(v,b)?P=null:S!==null&&Rc(v,S)&&(o.flags|=32),vv(a,o),Pa(a,o,P,d),o.child;case 6:return a===null&&Sp(o),null;case 13:return zb(a,o,d);case 4:return Ap(o,o.stateNode.containerInfo),v=o.pendingProps,a===null?o.child=$r(o,null,v,d):Pa(a,o,v,d),o.child;case 11:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Mi(a,o,v,b,d);case 7:return Pa(a,o,o.pendingProps,d),o.child;case 8:return Pa(a,o,o.pendingProps.children,d),o.child;case 12:return Pa(a,o,o.pendingProps.children,d),o.child;case 10:e:{if(v=o.type._context,b=o.pendingProps,S=o.memoizedProps,P=b.value,yt(Xa,v._currentValue),v._currentValue=P,S!==null)if(Fa(S.value,P)){if(S.children===b.children&&!Vr.current){o=co(a,o,d);break e}}else for(S=o.child,S!==null&&(S.return=o);S!==null;){var H=S.dependencies;if(H!==null){P=S.child;for(var X=H.firstContext;X!==null;){if(X.context===v){if(S.tag===1){X=ms(-1,d&-d),X.tag=2;var me=S.updateQueue;if(me!==null){me=me.shared;var Ne=me.pending;Ne===null?X.next=X:(X.next=Ne.next,Ne.next=X),me.pending=X}}S.lanes|=d,X=S.alternate,X!==null&&(X.lanes|=d),xp(S.return,d,o),H.lanes|=d;break}X=X.next}}else if(S.tag===10)P=S.type===o.type?null:S.child;else if(S.tag===18){if(P=S.return,P===null)throw Error(i(341));P.lanes|=d,H=P.alternate,H!==null&&(H.lanes|=d),xp(P,d,o),P=S.sibling}else P=S.child;if(P!==null)P.return=S;else for(P=S;P!==null;){if(P===o){P=null;break}if(S=P.sibling,S!==null){S.return=P.return,P=S;break}P=P.return}S=P}Pa(a,o,b.children,d),o=o.child}return o;case 9:return b=o.type,v=o.pendingProps.children,tr(o,d),b=Bi(b),v=v(b),o.flags|=1,Pa(a,o,v,d),o.child;case 14:return v=o.type,b=vs(v,o.pendingProps),b=vs(v.type,b),Xc(a,o,v,b,d);case 15:return Zt(a,o,o.type,o.pendingProps,d);case 17:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Zc(a,o),o.tag=1,Br(v)?(a=!0,Ka(o)):a=!1,tr(o,d),km(o,v,b),Bp(o,v,b,d),Jc(null,o,v,!0,a,d);case 19:return Zs(a,o,d);case 22:return Ip(a,o,d)}throw Error(i(156,o.tag))};function sk(a,o){return Zn(a,o)}function R2(a,o,d,v){this.tag=a,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ho(a,o,d,v){return new R2(a,o,d,v)}function $v(a){return a=a.prototype,!(!a||!a.isReactComponent)}function L2(a){if(typeof a=="function")return $v(a)?1:0;if(a!=null){if(a=a.$$typeof,a===Ke)return 11;if(a===dt)return 14}return 2}function Xl(a,o){var d=a.alternate;return d===null?(d=Ho(a.tag,o,a.key,a.mode),d.elementType=a.elementType,d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.pendingProps=o,d.type=a.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=a.flags&14680064,d.childLanes=a.childLanes,d.lanes=a.lanes,d.child=a.child,d.memoizedProps=a.memoizedProps,d.memoizedState=a.memoizedState,d.updateQueue=a.updateQueue,o=a.dependencies,d.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},d.sibling=a.sibling,d.index=a.index,d.ref=a.ref,d}function uf(a,o,d,v,b,S){var P=2;if(v=a,typeof a=="function")$v(a)&&(P=1);else if(typeof a=="string")P=5;else e:switch(a){case pe:return Ds(d.children,b,S,o);case Te:P=8,b|=8;break;case ke:return a=Ho(12,d,o,b|2),a.elementType=ke,a.lanes=S,a;case nt:return a=Ho(13,d,o,b),a.elementType=nt,a.lanes=S,a;case He:return a=Ho(19,d,o,b),a.elementType=He,a.lanes=S,a;case Le:return Pm(d,b,S,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Ge:P=10;break e;case We:P=9;break e;case Ke:P=11;break e;case dt:P=14;break e;case Me:P=16,v=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=Ho(P,d,o,b),o.elementType=a,o.type=v,o.lanes=S,o}function Ds(a,o,d,v){return a=Ho(7,a,v,o),a.lanes=d,a}function Pm(a,o,d,v){return a=Ho(22,a,v,o),a.elementType=Le,a.lanes=d,a.stateNode={isHidden:!1},a}function Nm(a,o,d){return a=Ho(6,a,null,o),a.lanes=d,a}function Om(a,o,d){return o=Ho(4,a.children!==null?a.children:[],a.key,o),o.lanes=d,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function lk(a,o,d,v,b){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Sl(0),this.expirationTimes=Sl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sl(0),this.identifierPrefix=v,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function Pv(a,o,d,v,b,S,P,H,X){return a=new lk(a,o,d,H,X),o===1?(o=1,S===!0&&(o|=8)):o=0,S=Ho(3,null,null,o),a.current=S,S.stateNode=a,S.memoizedState={element:v,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},zc(S),a}function uk(a,o,d){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ae,key:v==null?null:""+v,children:a,containerInfo:o,implementation:d}}function ck(a){if(!a)return ka;a=a._reactInternals;e:{if(Ht(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Br(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var d=a.type;if(Br(d))return Ic(a,d,o)}return o}function dk(a,o,d,v,b,S,P,H,X){return a=Pv(d,v,!0,a,b,S,P,H,X),a.context=ck(null),d=a.current,v=Ra(),b=Uo(d),S=ms(v,b),S.callback=o??null,Xs(d,S,b),a.current.lanes=b,si(a,b,v),ni(a,v),a}function Rm(a,o,d,v){var b=o.current,S=Ra(),P=Uo(b);return d=ck(d),o.context===null?o.context=d:o.pendingContext=d,o=ms(S,P),o.payload={element:a},v=v===void 0?null:v,v!==null&&(o.callback=v),a=Xs(b,o,P),a!==null&&(ws(a,b,P,S),rf(a,b,P)),P}function Qp(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Nv(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var d=a.retryLane;a.retryLane=d!==0&&d<o?d:o}}function Lm(a,o){Nv(a,o),(a=a.alternate)&&Nv(a,o)}function cf(){return null}var fk=typeof reportError=="function"?reportError:function(a){console.error(a)};function Ov(a){this._internalRoot=a}Bm.prototype.render=Ov.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));Rm(a,o,null,null)},Bm.prototype.unmount=Ov.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;id(function(){Rm(null,a,null,null)}),o[ds]=null}};function Bm(a){this._internalRoot=a}Bm.prototype.unstable_scheduleHydration=function(a){if(a){var o=Mt();a={blockedOn:null,target:a,priority:o};for(var d=0;d<Ar.length&&o!==0&&o<Ar[d].priority;d++);Ar.splice(d,0,a),d===0&&_u(a)}};function Rv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function Mm(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function pk(){}function hk(a,o,d,v,b){if(b){if(typeof v=="function"){var S=v;v=function(){var me=Qp(P);S.call(me)}}var P=dk(o,v,a,0,null,!1,!1,"",pk);return a._reactRootContainer=P,a[ds]=P.current,Mu(a.nodeType===8?a.parentNode:a),id(),P}for(;b=a.lastChild;)a.removeChild(b);if(typeof v=="function"){var H=v;v=function(){var me=Qp(X);H.call(me)}}var X=Pv(a,0,!1,null,null,!1,!1,"",pk);return a._reactRootContainer=X,a[ds]=X.current,Mu(a.nodeType===8?a.parentNode:a),id(function(){Rm(o,X,d,v)}),X}function Im(a,o,d,v,b){var S=d._reactRootContainer;if(S){var P=S;if(typeof b=="function"){var H=b;b=function(){var X=Qp(P);H.call(X)}}Rm(o,P,a,b)}else P=hk(d,o,a,b,v);return Qp(P)}kn=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var d=oi(o.pendingLanes);d!==0&&(ts(o,d|1),ni(o,Et()),!(An&6)&&(nl=Et()+500,Lo()))}break;case 13:id(function(){var v=Za(a,1);if(v!==null){var b=Ra();ws(v,a,1,b)}}),Lm(a,1)}},To=function(a){if(a.tag===13){var o=Za(a,134217728);if(o!==null){var d=Ra();ws(o,a,134217728,d)}Lm(a,134217728)}},Ao=function(a){if(a.tag===13){var o=Uo(a),d=Za(a,o);if(d!==null){var v=Ra();ws(d,a,o,v)}Lm(a,o)}},Mt=function(){return xn},Cl=function(a,o){var d=xn;try{return xn=a,o()}finally{xn=d}},jn=function(a,o,d){switch(o){case"input":if(kr(a,d),o=d.name,d.type==="radio"&&o!=null){for(d=a;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<d.length;o++){var v=d[o];if(v!==a&&v.form===a.form){var b=Fr(v);if(!b)throw Error(i(90));Qn(v),kr(v,b)}}}break;case"textarea":sn(a,d);break;case"select":o=d.value,o!=null&&Xn(a,!!d.multiple,o,!1)}},yl=Av,Ps=id;var B2={usingClientEntryPoint:!1,Events:[Ct,Pi,Fr,Co,vl,Av]},df={findFiberByHostInstance:Ll,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Xp={bundleType:df.bundleType,version:df.version,rendererPackageName:df.rendererPackageName,rendererConfig:df.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=Dr(a),a===null?null:a.stateNode},findFiberByHostInstance:df.findFiberByHostInstance||cf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{eo=nc.inject(Xp),Wa=nc}catch{}}return bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B2,bo.createPortal=function(a,o){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Rv(o))throw Error(i(200));return uk(a,o,null,d)},bo.createRoot=function(a,o){if(!Rv(a))throw Error(i(299));var d=!1,v="",b=fk;return o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(v=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=Pv(a,1,!1,null,null,d,!1,v,b),a[ds]=o.current,Mu(a.nodeType===8?a.parentNode:a),new Ov(o)},bo.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=Dr(o),a=a===null?null:a.stateNode,a},bo.flushSync=function(a){return id(a)},bo.hydrate=function(a,o,d){if(!Mm(o))throw Error(i(200));return Im(null,a,o,!0,d)},bo.hydrateRoot=function(a,o,d){if(!Rv(a))throw Error(i(405));var v=d!=null&&d.hydratedSources||null,b=!1,S="",P=fk;if(d!=null&&(d.unstable_strictMode===!0&&(b=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onRecoverableError!==void 0&&(P=d.onRecoverableError)),o=dk(o,null,a,1,d??null,b,!1,S,P),a[ds]=o.current,Mu(a),v)for(a=0;a<v.length;a++)d=v[a],b=d._getVersion,b=b(d._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[d,b]:o.mutableSourceEagerHydrationData.push(d,b);return new Bm(o)},bo.render=function(a,o,d){if(!Mm(o))throw Error(i(200));return Im(null,a,o,!1,d)},bo.unmountComponentAtNode=function(a){if(!Mm(a))throw Error(i(40));return a._reactRootContainer?(id(function(){Im(null,null,a,!1,function(){a._reactRootContainer=null,a[ds]=null})}),!0):!1},bo.unstable_batchedUpdates=Av,bo.unstable_renderSubtreeIntoContainer=function(a,o,d,v){if(!Mm(d))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return Im(a,o,d,!1,v)},bo.version="18.3.1-next-f1338f8080-20240426",bo}var Ko={};/**
|
|
164
|
+
`+S.stack}return{value:a,source:o,stack:b,digest:null}}function pv(a,o,d){return{value:a,source:null,stack:d??null,digest:o??null}}function hv(a,o){try{console.error(o.value)}catch(d){setTimeout(function(){throw d})}}var wm=typeof WeakMap=="function"?WeakMap:Map;function Mb(a,o,d){d=ms(-1,d),d.tag=3,d.payload={element:null};var v=o.value;return d.callback=function(){Zu||(Zu=!0,Ev=v),hv(a,o)},d}function mv(a,o,d){d=ms(-1,d),d.tag=3;var v=a.type.getDerivedStateFromError;if(typeof v=="function"){var b=o.value;d.payload=function(){return v(b)},d.callback=function(){hv(a,o)}}var S=a.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(d.callback=function(){hv(a,o),typeof v!="function"&&(ec===null?ec=new Set([this]):ec.add(this));var P=o.stack;this.componentDidCatch(o.value,{componentStack:P!==null?P:""})}),d}function gv(a,o,d){var v=a.pingCache;if(v===null){v=a.pingCache=new wm;var b=new Set;v.set(o,b)}else b=v.get(o),b===void 0&&(b=new Set,v.set(o,b));b.has(d)||(b.add(d),a=N2.bind(null,a,o,d),o.then(a,a))}function Ib(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Yu(a,o,d,v,b){return a.mode&1?(a.flags|=65536,a.lanes=b,a):(a===o?a.flags|=65536:(a.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(o=ms(-1,1),o.tag=2,Xs(d,o,1))),d.lanes|=1),a)}var Mp=J.ReactCurrentOwner,na=!1;function Pa(a,o,d,v){o.child=a===null?Ze(o,null,d,v):$r(o,a.child,d,v)}function Mi(a,o,d,v,b){d=d.render;var S=o.ref;return tr(o,b),v=ve(a,o,d,v,S,b),d=Ie(),a!==null&&!na?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,co(a,o,b)):(cr&&d&&Ml(o),o.flags|=1,Pa(a,o,v,b),o.child)}function Xc(a,o,d,v,b){if(a===null){var S=d.type;return typeof S=="function"&&!$v(S)&&S.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(o.tag=15,o.type=S,Zt(a,o,S,v,b)):(a=uf(d.type,null,v,o,o.mode,b),a.ref=o.ref,a.return=o,o.child=a)}if(S=a.child,!(a.lanes&b)){var P=S.memoizedProps;if(d=d.compare,d=d!==null?d:zs,d(P,v)&&a.ref===o.ref)return co(a,o,b)}return o.flags|=1,a=Xl(S,v),a.ref=o.ref,a.return=o,o.child=a}function Zt(a,o,d,v,b){if(a!==null){var S=a.memoizedProps;if(zs(S,v)&&a.ref===o.ref)if(na=!1,o.pendingProps=v=S,(a.lanes&b)!==0)a.flags&131072&&(na=!0);else return o.lanes=a.lanes,co(a,o,b)}return yv(a,o,d,v,b)}function Ip(a,o,d){var v=o.pendingProps,b=v.children,S=a!==null?a.memoizedState:null;if(v.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},yt(Xu,fo),fo|=d;else{if(!(d&1073741824))return a=S!==null?S.baseLanes|d:d,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,yt(Xu,fo),fo|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},v=S!==null?S.baseLanes:d,yt(Xu,fo),fo|=v}else S!==null?(v=S.baseLanes|d,o.memoizedState=null):v=d,yt(Xu,fo),fo|=v;return Pa(a,o,b,d),o.child}function vv(a,o){var d=o.ref;(a===null&&d!==null||a!==null&&a.ref!==d)&&(o.flags|=512,o.flags|=2097152)}function yv(a,o,d,v,b){var S=Br(d)?Ga:Yn.current;return S=Oi(o,S),tr(o,b),d=ve(a,o,d,v,S,b),v=Ie(),a!==null&&!na?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,co(a,o,b)):(cr&&v&&Ml(o),o.flags|=1,Pa(a,o,d,b),o.child)}function Dm(a,o,d,v,b){if(Br(d)){var S=!0;Ka(o)}else S=!1;if(tr(o,b),o.stateNode===null)Zc(a,o),km(o,d,v),Bp(o,d,v,b),v=!0;else if(a===null){var P=o.stateNode,H=o.memoizedProps;P.props=H;var X=P.context,me=d.contextType;typeof me=="object"&&me!==null?me=Bi(me):(me=Br(d)?Ga:Yn.current,me=Oi(o,me));var Ne=d.getDerivedStateFromProps,Be=typeof Ne=="function"||typeof P.getSnapshotBeforeUpdate=="function";Be||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(H!==v||X!==me)&&Bb(o,P,v,me),ta=!1;var Pe=o.memoizedState;P.state=Pe,Uc(o,v,P,b),X=o.memoizedState,H!==v||Pe!==X||Wr.current||ta?(typeof Ne=="function"&&(fv(o,d,Ne,v),X=o.memoizedState),(H=ta||Lb(o,d,H,v,Pe,X,me))?(Be||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(o.flags|=4194308)):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=v,o.memoizedState=X),P.props=v,P.state=X,P.context=me,v=H):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),v=!1)}else{P=o.stateNode,nf(a,o),H=o.memoizedProps,me=o.type===o.elementType?H:vs(o.type,H),P.props=me,Be=o.pendingProps,Pe=P.context,X=d.contextType,typeof X=="object"&&X!==null?X=Bi(X):(X=Br(d)?Ga:Yn.current,X=Oi(o,X));var st=d.getDerivedStateFromProps;(Ne=typeof st=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(H!==Be||Pe!==X)&&Bb(o,P,v,X),ta=!1,Pe=o.memoizedState,P.state=Pe,Uc(o,v,P,b);var mt=o.memoizedState;H!==Be||Pe!==mt||Wr.current||ta?(typeof st=="function"&&(fv(o,d,st,v),mt=o.memoizedState),(me=ta||Lb(o,d,me,v,Pe,mt,X)||!1)?(Ne||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(v,mt,X),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(v,mt,X)),typeof P.componentDidUpdate=="function"&&(o.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof P.componentDidUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=1024),o.memoizedProps=v,o.memoizedState=mt),P.props=v,P.state=mt,P.context=X,v=me):(typeof P.componentDidUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||H===a.memoizedProps&&Pe===a.memoizedState||(o.flags|=1024),v=!1)}return Jc(a,o,d,v,S,b)}function Jc(a,o,d,v,b,S){vv(a,o);var P=(o.flags&128)!==0;if(!v&&!P)return b&&ps(o,d,!1),co(a,o,S);v=o.stateNode,Mp.current=o;var H=P&&typeof d.getDerivedStateFromError!="function"?null:v.render();return o.flags|=1,a!==null&&P?(o.child=$r(o,a.child,null,S),o.child=$r(o,null,H,S)):Pa(a,o,H,S),o.memoizedState=v.state,b&&ps(o,d,!0),o.child}function jb(a){var o=a.stateNode;o.pendingContext?fs(a,o.pendingContext,o.pendingContext!==o.context):o.context&&fs(a,o.context,!1),Ap(a,o.containerInfo)}function bv(a,o,d,v,b){return Ks(),Io(b),o.flags|=256,Pa(a,o,d,v),o.child}var kv={dehydrated:null,treeContext:null,retryLane:0};function jp(a){return{baseLanes:a,cachePool:null,transitions:null}}function zb(a,o,d){var v=o.pendingProps,b=hr.current,S=!1,P=(o.flags&128)!==0,H;if((H=P)||(H=a!==null&&a.memoizedState===null?!1:(b&2)!==0),H?(S=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(b|=1),yt(hr,b&1),a===null)return Sp(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(P=v.children,a=v.fallback,S?(v=o.mode,S=o.child,P={mode:"hidden",children:P},!(v&1)&&S!==null?(S.childLanes=0,S.pendingProps=P):S=Pm(P,v,0,null),a=Ds(a,v,d,null),S.return=o,a.return=o,S.sibling=a,o.child=S,o.child.memoizedState=jp(d),o.memoizedState=kv,a):Sm(o,P));if(b=a.memoizedState,b!==null&&(H=b.dehydrated,H!==null))return Ub(a,o,P,v,H,b,d);if(S){S=v.fallback,P=o.mode,b=a.child,H=b.sibling;var X={mode:"hidden",children:v.children};return!(P&1)&&o.child!==b?(v=o.child,v.childLanes=0,v.pendingProps=X,o.deletions=null):(v=Xl(b,X),v.subtreeFlags=b.subtreeFlags&14680064),H!==null?S=Xl(H,S):(S=Ds(S,P,d,null),S.flags|=2),S.return=o,v.return=o,v.sibling=S,o.child=v,v=S,S=o.child,P=a.child.memoizedState,P=P===null?jp(d):{baseLanes:P.baseLanes|d,cachePool:null,transitions:P.transitions},S.memoizedState=P,S.childLanes=a.childLanes&~d,o.memoizedState=kv,v}return S=a.child,a=S.sibling,v=Xl(S,{mode:"visible",children:v.children}),!(o.mode&1)&&(v.lanes=d),v.return=o,v.sibling=null,a!==null&&(d=o.deletions,d===null?(o.deletions=[a],o.flags|=16):d.push(a)),o.child=v,o.memoizedState=null,v}function Sm(a,o){return o=Pm({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function zp(a,o,d,v){return v!==null&&Io(v),$r(o,a.child,null,d),a=Sm(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function Ub(a,o,d,v,b,S,P){if(d)return o.flags&256?(o.flags&=-257,v=pv(Error(i(422))),zp(a,o,P,v)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(S=v.fallback,b=o.mode,v=Pm({mode:"visible",children:v.children},b,0,null),S=Ds(S,b,P,null),S.flags|=2,v.return=o,S.return=o,v.sibling=S,o.child=v,o.mode&1&&$r(o,a.child,null,P),o.child.memoizedState=jp(P),o.memoizedState=kv,S);if(!(o.mode&1))return zp(a,o,P,null);if(b.data==="$!"){if(v=b.nextSibling&&b.nextSibling.dataset,v)var H=v.dgst;return v=H,S=Error(i(419)),v=pv(S,v,void 0),zp(a,o,P,v)}if(H=(P&a.childLanes)!==0,na||H){if(v=Da,v!==null){switch(P&-P){case 4:b=2;break;case 16:b=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:b=32;break;case 536870912:b=268435456;break;default:b=0}b=b&(v.suspendedLanes|P)?0:b,b!==0&&b!==S.retryLane&&(S.retryLane=b,Za(a,b),ws(v,a,b,-1))}return Fv(),v=pv(Error(i(421))),zp(a,o,P,v)}return b.data==="$?"?(o.flags|=128,o.child=a.child,o=ik.bind(null,a),b._reactRetry=o,null):(a=S.treeContext,Sn=di(b.nextSibling),Qa=o,cr=!0,Li=null,a!==null&&(Cr[Ri++]=Mo,Cr[Ri++]=$a,Cr[Ri++]=fi,Mo=a.id,$a=a.overflow,fi=o),o=Sm(o,v.children),o.flags|=4096,o)}function Ii(a,o,d){a.lanes|=o;var v=a.alternate;v!==null&&(v.lanes|=o),xp(a.return,o,d)}function ys(a,o,d,v,b){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:v,tail:d,tailMode:b}:(S.isBackwards=o,S.rendering=null,S.renderingStartTime=0,S.last=v,S.tail=d,S.tailMode=b)}function Zs(a,o,d){var v=o.pendingProps,b=v.revealOrder,S=v.tail;if(Pa(a,o,v.children,d),v=hr.current,v&2)v=v&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Ii(a,d,o);else if(a.tag===19)Ii(a,d,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}v&=1}if(yt(hr,v),!(o.mode&1))o.memoizedState=null;else switch(b){case"forwards":for(d=o.child,b=null;d!==null;)a=d.alternate,a!==null&&Vc(a)===null&&(b=d),d=d.sibling;d=b,d===null?(b=o.child,o.child=null):(b=d.sibling,d.sibling=null),ys(o,!1,b,d,S);break;case"backwards":for(d=null,b=o.child,o.child=null;b!==null;){if(a=b.alternate,a!==null&&Vc(a)===null){o.child=b;break}a=b.sibling,b.sibling=d,d=b,b=a}ys(o,!0,d,null,S);break;case"together":ys(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Zc(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function co(a,o,d){if(a!==null&&(o.dependencies=a.dependencies),Yl|=o.lanes,!(d&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,d=Xl(a,a.pendingProps),o.child=d,d.return=o;a.sibling!==null;)a=a.sibling,d=d.sibling=Xl(a,a.pendingProps),d.return=o;d.sibling=null}return o.child}function bs(a,o,d){switch(o.tag){case 3:jb(o),Ks();break;case 5:Fp(o);break;case 1:Br(o.type)&&Ka(o);break;case 4:Ap(o,o.stateNode.containerInfo);break;case 10:var v=o.type._context,b=o.memoizedProps.value;yt(Xa,v._currentValue),v._currentValue=b;break;case 13:if(v=o.memoizedState,v!==null)return v.dehydrated!==null?(yt(hr,hr.current&1),o.flags|=128,null):d&o.child.childLanes?zb(a,o,d):(yt(hr,hr.current&1),a=co(a,o,d),a!==null?a.sibling:null);yt(hr,hr.current&1);break;case 19:if(v=(d&o.childLanes)!==0,a.flags&128){if(v)return Zs(a,o,d);o.flags|=128}if(b=o.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),yt(hr,hr.current),v)break;return null;case 22:case 23:return o.lanes=0,Ip(a,o,d)}return co(a,o,d)}var da,wv,Hb,qb;da=function(a,o){for(var d=o.child;d!==null;){if(d.tag===5||d.tag===6)a.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===o)break;for(;d.sibling===null;){if(d.return===null||d.return===o)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},wv=function(){},Hb=function(a,o,d,v){var b=a.memoizedProps;if(b!==v){a=o.stateNode,Ul(jo.current);var S=null;switch(d){case"input":b=at(a,b),v=at(a,v),S=[];break;case"select":b=_e({},b,{value:void 0}),v=_e({},v,{value:void 0}),S=[];break;case"textarea":b=un(a,b),v=un(a,v),S=[];break;default:typeof b.onClick!="function"&&typeof v.onClick=="function"&&(a.onclick=us)}Tr(d,v);var P;d=null;for(me in b)if(!v.hasOwnProperty(me)&&b.hasOwnProperty(me)&&b[me]!=null)if(me==="style"){var H=b[me];for(P in H)H.hasOwnProperty(P)&&(d||(d={}),d[P]="")}else me!=="dangerouslySetInnerHTML"&&me!=="children"&&me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&me!=="autoFocus"&&(c.hasOwnProperty(me)?S||(S=[]):(S=S||[]).push(me,null));for(me in v){var X=v[me];if(H=b!=null?b[me]:void 0,v.hasOwnProperty(me)&&X!==H&&(X!=null||H!=null))if(me==="style")if(H){for(P in H)!H.hasOwnProperty(P)||X&&X.hasOwnProperty(P)||(d||(d={}),d[P]="");for(P in X)X.hasOwnProperty(P)&&H[P]!==X[P]&&(d||(d={}),d[P]=X[P])}else d||(S||(S=[]),S.push(me,d)),d=X;else me==="dangerouslySetInnerHTML"?(X=X?X.__html:void 0,H=H?H.__html:void 0,X!=null&&H!==X&&(S=S||[]).push(me,X)):me==="children"?typeof X!="string"&&typeof X!="number"||(S=S||[]).push(me,""+X):me!=="suppressContentEditableWarning"&&me!=="suppressHydrationWarning"&&(c.hasOwnProperty(me)?(X!=null&&me==="onScroll"&&On("scroll",a),S||H===X||(S=[])):(S=S||[]).push(me,X))}d&&(S=S||[]).push("style",d);var me=S;(o.updateQueue=me)&&(o.flags|=4)}},qb=function(a,o,d,v){d!==v&&(o.flags|=4)};function ed(a,o){if(!cr)switch(a.tailMode){case"hidden":o=a.tail;for(var d=null;o!==null;)o.alternate!==null&&(d=o),o=o.sibling;d===null?a.tail=null:d.sibling=null;break;case"collapsed":d=a.tail;for(var v=null;d!==null;)d.alternate!==null&&(v=d),d=d.sibling;v===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:v.sibling=null}}function Na(a){var o=a.alternate!==null&&a.alternate.child===a.child,d=0,v=0;if(o)for(var b=a.child;b!==null;)d|=b.lanes|b.childLanes,v|=b.subtreeFlags&14680064,v|=b.flags&14680064,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)d|=b.lanes|b.childLanes,v|=b.subtreeFlags,v|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=v,a.childLanes=d,o}function Cm(a,o,d){var v=o.pendingProps;switch(Hu(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Na(o),null;case 1:return Br(o.type)&&Uu(),Na(o),null;case 3:return v=o.stateNode,Hl(),Wn(Wr),Wn(Yn),_t(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(a===null||a.child===null)&&(jc(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Li!==null&&(Tv(Li),Li=null))),wv(a,o),Na(o),null;case 5:af(o);var b=Ul(qc.current);if(d=o.type,a!==null&&o.stateNode!=null)Hb(a,o,d,v,b),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!v){if(o.stateNode===null)throw Error(i(166));return Na(o),null}if(a=Ul(jo.current),jc(o)){v=o.stateNode,d=o.type;var S=o.memoizedProps;switch(v[oo]=o,v[qs]=S,a=(o.mode&1)!==0,d){case"dialog":On("cancel",v),On("close",v);break;case"iframe":case"object":case"embed":On("load",v);break;case"video":case"audio":for(b=0;b<Pc.length;b++)On(Pc[b],v);break;case"source":On("error",v);break;case"img":case"image":case"link":On("error",v),On("load",v);break;case"details":On("toggle",v);break;case"input":sr(v,S),On("invalid",v);break;case"select":v._wrapperState={wasMultiple:!!S.multiple},On("invalid",v);break;case"textarea":yn(v,S),On("invalid",v)}Tr(d,S),b=null;for(var P in S)if(S.hasOwnProperty(P)){var H=S[P];P==="children"?typeof H=="string"?v.textContent!==H&&(S.suppressHydrationWarning!==!0&&Oc(v.textContent,H,a),b=["children",H]):typeof H=="number"&&v.textContent!==""+H&&(S.suppressHydrationWarning!==!0&&Oc(v.textContent,H,a),b=["children",""+H]):c.hasOwnProperty(P)&&H!=null&&P==="onScroll"&&On("scroll",v)}switch(d){case"input":en(v),Qi(v,S,!0);break;case"textarea":en(v),ce(v);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(v.onclick=us)}v=b,o.updateQueue=v,v!==null&&(o.flags|=4)}else{P=b.nodeType===9?b:b.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=ee(d)),a==="http://www.w3.org/1999/xhtml"?d==="script"?(a=P.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof v.is=="string"?a=P.createElement(d,{is:v.is}):(a=P.createElement(d),d==="select"&&(P=a,v.multiple?P.multiple=!0:v.size&&(P.size=v.size))):a=P.createElementNS(a,d),a[oo]=o,a[qs]=v,da(a,o,!1,!1),o.stateNode=a;e:{switch(P=bn(d,v),d){case"dialog":On("cancel",a),On("close",a),b=v;break;case"iframe":case"object":case"embed":On("load",a),b=v;break;case"video":case"audio":for(b=0;b<Pc.length;b++)On(Pc[b],a);b=v;break;case"source":On("error",a),b=v;break;case"img":case"image":case"link":On("error",a),On("load",a),b=v;break;case"details":On("toggle",a),b=v;break;case"input":sr(a,v),b=at(a,v),On("invalid",a);break;case"option":b=v;break;case"select":a._wrapperState={wasMultiple:!!v.multiple},b=_e({},v,{value:void 0}),On("invalid",a);break;case"textarea":yn(a,v),b=un(a,v),On("invalid",a);break;default:b=v}Tr(d,b),H=b;for(S in H)if(H.hasOwnProperty(S)){var X=H[S];S==="style"?Dn(a,X):S==="dangerouslySetInnerHTML"?(X=X?X.__html:void 0,X!=null&&xe(a,X)):S==="children"?typeof X=="string"?(d!=="textarea"||X!=="")&&Oe(a,X):typeof X=="number"&&Oe(a,""+X):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(c.hasOwnProperty(S)?X!=null&&S==="onScroll"&&On("scroll",a):X!=null&&W(a,S,X,P))}switch(d){case"input":en(a),Qi(a,v,!1);break;case"textarea":en(a),ce(a);break;case"option":v.value!=null&&a.setAttribute("value",""+vt(v.value));break;case"select":a.multiple=!!v.multiple,S=v.value,S!=null?Xn(a,!!v.multiple,S,!1):v.defaultValue!=null&&Xn(a,!!v.multiple,v.defaultValue,!0);break;default:typeof b.onClick=="function"&&(a.onclick=us)}switch(d){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}}v&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Na(o),null;case 6:if(a&&o.stateNode!=null)qb(a,o,a.memoizedProps,v);else{if(typeof v!="string"&&o.stateNode===null)throw Error(i(166));if(d=Ul(qc.current),Ul(jo.current),jc(o)){if(v=o.stateNode,d=o.memoizedProps,v[oo]=o,(S=v.nodeValue!==d)&&(a=Qa,a!==null))switch(a.tag){case 3:Oc(v.nodeValue,d,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&Oc(v.nodeValue,d,(a.mode&1)!==0)}S&&(o.flags|=4)}else v=(d.nodeType===9?d:d.ownerDocument).createTextNode(v),v[oo]=o,o.stateNode=v}return Na(o),null;case 13:if(Wn(hr),v=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(cr&&Sn!==null&&o.mode&1&&!(o.flags&128))qu(),Ks(),o.flags|=98560,S=!1;else if(S=jc(o),v!==null&&v.dehydrated!==null){if(a===null){if(!S)throw Error(i(318));if(S=o.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(i(317));S[oo]=o}else Ks(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;Na(o),S=!1}else Li!==null&&(Tv(Li),Li=null),S=!0;if(!S)return o.flags&65536?o:null}return o.flags&128?(o.lanes=d,o):(v=v!==null,v!==(a!==null&&a.memoizedState!==null)&&v&&(o.child.flags|=8192,o.mode&1&&(a===null||hr.current&1?fa===0&&(fa=3):Fv())),o.updateQueue!==null&&(o.flags|=4),Na(o),null);case 4:return Hl(),wv(a,o),a===null&&Mu(o.stateNode.containerInfo),Na(o),null;case 10:return _p(o.type._context),Na(o),null;case 17:return Br(o.type)&&Uu(),Na(o),null;case 19:if(Wn(hr),S=o.memoizedState,S===null)return Na(o),null;if(v=(o.flags&128)!==0,P=S.rendering,P===null)if(v)ed(S,!1);else{if(fa!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(P=Vc(a),P!==null){for(o.flags|=128,ed(S,!1),v=P.updateQueue,v!==null&&(o.updateQueue=v,o.flags|=4),o.subtreeFlags=0,v=d,d=o.child;d!==null;)S=d,a=v,S.flags&=14680066,P=S.alternate,P===null?(S.childLanes=0,S.lanes=a,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=P.childLanes,S.lanes=P.lanes,S.child=P.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=P.memoizedProps,S.memoizedState=P.memoizedState,S.updateQueue=P.updateQueue,S.type=P.type,a=P.dependencies,S.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),d=d.sibling;return yt(hr,hr.current&1|2),o.child}a=a.sibling}S.tail!==null&&Et()>nl&&(o.flags|=128,v=!0,ed(S,!1),o.lanes=4194304)}else{if(!v)if(a=Vc(P),a!==null){if(o.flags|=128,v=!0,d=a.updateQueue,d!==null&&(o.updateQueue=d,o.flags|=4),ed(S,!0),S.tail===null&&S.tailMode==="hidden"&&!P.alternate&&!cr)return Na(o),null}else 2*Et()-S.renderingStartTime>nl&&d!==1073741824&&(o.flags|=128,v=!0,ed(S,!1),o.lanes=4194304);S.isBackwards?(P.sibling=o.child,o.child=P):(d=S.last,d!==null?d.sibling=P:o.child=P,S.last=P)}return S.tail!==null?(o=S.tail,S.rendering=o,S.tail=o.sibling,S.renderingStartTime=Et(),o.sibling=null,d=hr.current,yt(hr,v?d&1|2:d&1),o):(Na(o),null);case 22:case 23:return Kp(),v=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==v&&(o.flags|=8192),v&&o.mode&1?fo&1073741824&&(Na(o),o.subtreeFlags&6&&(o.flags|=8192)):Na(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function Vb(a,o){switch(Hu(o),o.tag){case 1:return Br(o.type)&&Uu(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return Hl(),Wn(Wr),Wn(Yn),_t(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return af(o),null;case 13:if(Wn(hr),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Ks()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Wn(hr),null;case 4:return Hl(),null;case 10:return _p(o.type._context),null;case 22:case 23:return Kp(),null;case 24:return null;default:return null}}var _m=!1,ei=!1,Dv=typeof WeakSet=="function"?WeakSet:Set,pt=null;function td(a,o){var d=a.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(v){zr(a,o,v)}else d.current=null}function Wb(a,o,d){try{d()}catch(v){zr(a,o,v)}}var Sv=!1;function F2(a,o){if(ju=Ai,a=Fc(),qd(a)){if("selectionStart"in a)var d={start:a.selectionStart,end:a.selectionEnd};else e:{d=(d=a.ownerDocument)&&d.defaultView||window;var v=d.getSelection&&d.getSelection();if(v&&v.rangeCount!==0){d=v.anchorNode;var b=v.anchorOffset,S=v.focusNode;v=v.focusOffset;try{d.nodeType,S.nodeType}catch{d=null;break e}var P=0,H=-1,X=-1,me=0,Ne=0,Be=a,Pe=null;t:for(;;){for(var st;Be!==d||b!==0&&Be.nodeType!==3||(H=P+b),Be!==S||v!==0&&Be.nodeType!==3||(X=P+v),Be.nodeType===3&&(P+=Be.nodeValue.length),(st=Be.firstChild)!==null;)Pe=Be,Be=st;for(;;){if(Be===a)break t;if(Pe===d&&++me===b&&(H=P),Pe===S&&++Ne===v&&(X=P),(st=Be.nextSibling)!==null)break;Be=Pe,Pe=Be.parentNode}Be=st}d=H===-1||X===-1?null:{start:H,end:X}}else d=null}d=d||{start:0,end:0}}else d=null;for(Hs={focusedElem:a,selectionRange:d},Ai=!1,pt=o;pt!==null;)if(o=pt,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,pt=a;else for(;pt!==null;){o=pt;try{var mt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(mt!==null){var kt=mt.memoizedProps,Kr=mt.memoizedState,oe=o.stateNode,ne=oe.getSnapshotBeforeUpdate(o.elementType===o.type?kt:vs(o.type,kt),Kr);oe.__reactInternalSnapshotBeforeUpdate=ne}break;case 3:var ie=o.stateNode.containerInfo;ie.nodeType===1?ie.textContent="":ie.nodeType===9&&ie.documentElement&&ie.removeChild(ie.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Ue){zr(o,o.return,Ue)}if(a=o.sibling,a!==null){a.return=o.return,pt=a;break}pt=o.return}return mt=Sv,Sv=!1,mt}function of(a,o,d){var v=o.updateQueue;if(v=v!==null?v.lastEffect:null,v!==null){var b=v=v.next;do{if((b.tag&a)===a){var S=b.destroy;b.destroy=void 0,S!==void 0&&Wb(o,d,S)}b=b.next}while(b!==v)}}function xm(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var d=o=o.next;do{if((d.tag&a)===a){var v=d.create;d.destroy=v()}d=d.next}while(d!==o)}}function Up(a){var o=a.ref;if(o!==null){var d=a.stateNode;switch(a.tag){case 5:a=d;break;default:a=d}typeof o=="function"?o(a):o.current=a}}function Hp(a){var o=a.alternate;o!==null&&(a.alternate=null,Hp(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[oo],delete o[qs],delete o[Mc],delete o[zu],delete o[lv])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Vl(a){return a.tag===5||a.tag===3||a.tag===4}function Wl(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Vl(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function el(a,o,d){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?d.nodeType===8?d.parentNode.insertBefore(a,o):d.insertBefore(a,o):(d.nodeType===8?(o=d.parentNode,o.insertBefore(a,d)):(o=d,o.appendChild(a)),d=d._reactRootContainer,d!=null||o.onclick!==null||(o.onclick=us));else if(v!==4&&(a=a.child,a!==null))for(el(a,o,d),a=a.sibling;a!==null;)el(a,o,d),a=a.sibling}function nd(a,o,d){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?d.insertBefore(a,o):d.appendChild(a);else if(v!==4&&(a=a.child,a!==null))for(nd(a,o,d),a=a.sibling;a!==null;)nd(a,o,d),a=a.sibling}var Gr=null,wa=!1;function Gu(a,o,d){for(d=d.child;d!==null;)Yb(a,o,d),d=d.sibling}function Yb(a,o,d){if(Wa&&typeof Wa.onCommitFiberUnmount=="function")try{Wa.onCommitFiberUnmount(eo,d)}catch{}switch(d.tag){case 5:ei||td(d,o);case 6:var v=Gr,b=wa;Gr=null,Gu(a,o,d),Gr=v,wa=b,Gr!==null&&(wa?(a=Gr,d=d.stateNode,a.nodeType===8?a.parentNode.removeChild(d):a.removeChild(d)):Gr.removeChild(d.stateNode));break;case 18:Gr!==null&&(wa?(a=Gr,d=d.stateNode,a.nodeType===8?Rl(a.parentNode,d):a.nodeType===1&&Rl(a,d),ro(a)):Rl(Gr,d.stateNode));break;case 4:v=Gr,b=wa,Gr=d.stateNode.containerInfo,wa=!0,Gu(a,o,d),Gr=v,wa=b;break;case 0:case 11:case 14:case 15:if(!ei&&(v=d.updateQueue,v!==null&&(v=v.lastEffect,v!==null))){b=v=v.next;do{var S=b,P=S.destroy;S=S.tag,P!==void 0&&(S&2||S&4)&&Wb(d,o,P),b=b.next}while(b!==v)}Gu(a,o,d);break;case 1:if(!ei&&(td(d,o),v=d.stateNode,typeof v.componentWillUnmount=="function"))try{v.props=d.memoizedProps,v.state=d.memoizedState,v.componentWillUnmount()}catch(H){zr(d,o,H)}Gu(a,o,d);break;case 21:Gu(a,o,d);break;case 22:d.mode&1?(ei=(v=ei)||d.memoizedState!==null,Gu(a,o,d),ei=v):Gu(a,o,d);break;default:Gu(a,o,d)}}function Gb(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var d=a.stateNode;d===null&&(d=a.stateNode=new Dv),o.forEach(function(v){var b=O2.bind(null,a,v);d.has(v)||(d.add(v),v.then(b,b))})}}function zo(a,o){var d=o.deletions;if(d!==null)for(var v=0;v<d.length;v++){var b=d[v];try{var S=a,P=o,H=P;e:for(;H!==null;){switch(H.tag){case 5:Gr=H.stateNode,wa=!1;break e;case 3:Gr=H.stateNode.containerInfo,wa=!0;break e;case 4:Gr=H.stateNode.containerInfo,wa=!0;break e}H=H.return}if(Gr===null)throw Error(i(160));Yb(S,P,b),Gr=null,wa=!1;var X=b.alternate;X!==null&&(X.return=null),b.return=null}catch(me){zr(b,o,me)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)sf(o,a),o=o.sibling}function sf(a,o){var d=a.alternate,v=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(zo(o,a),tl(a),v&4){try{of(3,a,a.return),xm(3,a)}catch(kt){zr(a,a.return,kt)}try{of(5,a,a.return)}catch(kt){zr(a,a.return,kt)}}break;case 1:zo(o,a),tl(a),v&512&&d!==null&&td(d,d.return);break;case 5:if(zo(o,a),tl(a),v&512&&d!==null&&td(d,d.return),a.flags&32){var b=a.stateNode;try{Oe(b,"")}catch(kt){zr(a,a.return,kt)}}if(v&4&&(b=a.stateNode,b!=null)){var S=a.memoizedProps,P=d!==null?d.memoizedProps:S,H=a.type,X=a.updateQueue;if(a.updateQueue=null,X!==null)try{H==="input"&&S.type==="radio"&&S.name!=null&&Nn(b,S),bn(H,P);var me=bn(H,S);for(P=0;P<X.length;P+=2){var Ne=X[P],Be=X[P+1];Ne==="style"?Dn(b,Be):Ne==="dangerouslySetInnerHTML"?xe(b,Be):Ne==="children"?Oe(b,Be):W(b,Ne,Be,me)}switch(H){case"input":kr(b,S);break;case"textarea":sn(b,S);break;case"select":var Pe=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!S.multiple;var st=S.value;st!=null?Xn(b,!!S.multiple,st,!1):Pe!==!!S.multiple&&(S.defaultValue!=null?Xn(b,!!S.multiple,S.defaultValue,!0):Xn(b,!!S.multiple,S.multiple?[]:"",!1))}b[qs]=S}catch(kt){zr(a,a.return,kt)}}break;case 6:if(zo(o,a),tl(a),v&4){if(a.stateNode===null)throw Error(i(162));b=a.stateNode,S=a.memoizedProps;try{b.nodeValue=S}catch(kt){zr(a,a.return,kt)}}break;case 3:if(zo(o,a),tl(a),v&4&&d!==null&&d.memoizedState.isDehydrated)try{ro(o.containerInfo)}catch(kt){zr(a,a.return,kt)}break;case 4:zo(o,a),tl(a);break;case 13:zo(o,a),tl(a),b=a.child,b.flags&8192&&(S=b.memoizedState!==null,b.stateNode.isHidden=S,!S||b.alternate!==null&&b.alternate.memoizedState!==null||(xv=Et())),v&4&&Gb(a);break;case 22:if(Ne=d!==null&&d.memoizedState!==null,a.mode&1?(ei=(me=ei)||Ne,zo(o,a),ei=me):zo(o,a),tl(a),v&8192){if(me=a.memoizedState!==null,(a.stateNode.isHidden=me)&&!Ne&&a.mode&1)for(pt=a,Ne=a.child;Ne!==null;){for(Be=pt=Ne;pt!==null;){switch(Pe=pt,st=Pe.child,Pe.tag){case 0:case 11:case 14:case 15:of(4,Pe,Pe.return);break;case 1:td(Pe,Pe.return);var mt=Pe.stateNode;if(typeof mt.componentWillUnmount=="function"){v=Pe,d=Pe.return;try{o=v,mt.props=o.memoizedProps,mt.state=o.memoizedState,mt.componentWillUnmount()}catch(kt){zr(v,d,kt)}}break;case 5:td(Pe,Pe.return);break;case 22:if(Pe.memoizedState!==null){Cv(Be);continue}}st!==null?(st.return=Pe,pt=st):Cv(Be)}Ne=Ne.sibling}e:for(Ne=null,Be=a;;){if(Be.tag===5){if(Ne===null){Ne=Be;try{b=Be.stateNode,me?(S=b.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(H=Be.stateNode,X=Be.memoizedProps.style,P=X!=null&&X.hasOwnProperty("display")?X.display:null,H.style.display=Ut("display",P))}catch(kt){zr(a,a.return,kt)}}}else if(Be.tag===6){if(Ne===null)try{Be.stateNode.nodeValue=me?"":Be.memoizedProps}catch(kt){zr(a,a.return,kt)}}else if((Be.tag!==22&&Be.tag!==23||Be.memoizedState===null||Be===a)&&Be.child!==null){Be.child.return=Be,Be=Be.child;continue}if(Be===a)break e;for(;Be.sibling===null;){if(Be.return===null||Be.return===a)break e;Ne===Be&&(Ne=null),Be=Be.return}Ne===Be&&(Ne=null),Be.sibling.return=Be.return,Be=Be.sibling}}break;case 19:zo(o,a),tl(a),v&4&&Gb(a);break;case 21:break;default:zo(o,a),tl(a)}}function tl(a){var o=a.flags;if(o&2){try{e:{for(var d=a.return;d!==null;){if(Vl(d)){var v=d;break e}d=d.return}throw Error(i(160))}switch(v.tag){case 5:var b=v.stateNode;v.flags&32&&(Oe(b,""),v.flags&=-33);var S=Wl(a);nd(a,S,b);break;case 3:case 4:var P=v.stateNode.containerInfo,H=Wl(a);el(a,H,P);break;default:throw Error(i(161))}}catch(X){zr(a,a.return,X)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Kb(a,o,d){pt=a,Qb(a)}function Qb(a,o,d){for(var v=(a.mode&1)!==0;pt!==null;){var b=pt,S=b.child;if(b.tag===22&&v){var P=b.memoizedState!==null||_m;if(!P){var H=b.alternate,X=H!==null&&H.memoizedState!==null||ei;H=_m;var me=ei;if(_m=P,(ei=X)&&!me)for(pt=b;pt!==null;)P=pt,X=P.child,P.tag===22&&P.memoizedState!==null?Xb(b):X!==null?(X.return=P,pt=X):Xb(b);for(;S!==null;)pt=S,Qb(S),S=S.sibling;pt=b,_m=H,ei=me}qp(a)}else b.subtreeFlags&8772&&S!==null?(S.return=b,pt=S):qp(a)}}function qp(a){for(;pt!==null;){var o=pt;if(o.flags&8772){var d=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:ei||xm(5,o);break;case 1:var v=o.stateNode;if(o.flags&4&&!ei)if(d===null)v.componentDidMount();else{var b=o.elementType===o.type?d.memoizedProps:vs(o.type,d.memoizedProps);v.componentDidUpdate(b,d.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var S=o.updateQueue;S!==null&&Tp(o,S,v);break;case 3:var P=o.updateQueue;if(P!==null){if(d=null,o.child!==null)switch(o.child.tag){case 5:d=o.child.stateNode;break;case 1:d=o.child.stateNode}Tp(o,P,d)}break;case 5:var H=o.stateNode;if(d===null&&o.flags&4){d=H;var X=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":X.autoFocus&&d.focus();break;case"img":X.src&&(d.src=X.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var me=o.alternate;if(me!==null){var Ne=me.memoizedState;if(Ne!==null){var Be=Ne.dehydrated;Be!==null&&ro(Be)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}ei||o.flags&512&&Up(o)}catch(Pe){zr(o,o.return,Pe)}}if(o===a){pt=null;break}if(d=o.sibling,d!==null){d.return=o.return,pt=d;break}pt=o.return}}function Cv(a){for(;pt!==null;){var o=pt;if(o===a){pt=null;break}var d=o.sibling;if(d!==null){d.return=o.return,pt=d;break}pt=o.return}}function Xb(a){for(;pt!==null;){var o=pt;try{switch(o.tag){case 0:case 11:case 15:var d=o.return;try{xm(4,o)}catch(X){zr(o,d,X)}break;case 1:var v=o.stateNode;if(typeof v.componentDidMount=="function"){var b=o.return;try{v.componentDidMount()}catch(X){zr(o,b,X)}}var S=o.return;try{Up(o)}catch(X){zr(o,S,X)}break;case 5:var P=o.return;try{Up(o)}catch(X){zr(o,P,X)}}}catch(X){zr(o,o.return,X)}if(o===a){pt=null;break}var H=o.sibling;if(H!==null){H.return=o.return,pt=H;break}pt=o.return}}var Vp=Math.ceil,Ku=J.ReactCurrentDispatcher,Qu=J.ReactCurrentOwner,ji=J.ReactCurrentBatchConfig,An=0,Da=null,ra=null,Oa=0,fo=0,Xu=Ft(0),fa=0,Ju=null,Yl=0,Wp=0,_v=0,Yp=null,zi=null,xv=0,nl=1/0,ks=null,Zu=!1,Ev=null,ec=null,Gp=!1,Gl=null,rd=0,tc=0,Em=null,ti=-1,Kl=0;function Ra(){return An&6?Et():ti!==-1?ti:ti=Et()}function Uo(a){return a.mode&1?An&2&&Oa!==0?Oa&-Oa:uv.transition!==null?(Kl===0&&(Kl=Du()),Kl):(a=xn,a!==0||(a=window.event,a=a===void 0?16:Au(a.type)),a):1}function ws(a,o,d,v){if(50<tc)throw tc=0,Em=null,Error(i(185));si(a,d,v),(!(An&2)||a!==Da)&&(a===Da&&(!(An&2)&&(Wp|=d),fa===4&&Ql(a,Oa)),ni(a,v),d===1&&An===0&&!(o.mode&1)&&(nl=Et()+500,Bl&&Lo()))}function ni(a,o){var d=a.callbackNode;Dl(a,o);var v=to(a,a===Da?Oa:0);if(v===0)d!==null&&Lr(d),a.callbackNode=null,a.callbackPriority=0;else if(o=v&-v,a.callbackPriority!==o){if(d!=null&&Lr(d),o===1)a.tag===0?lo(Jb.bind(null,a)):ef(Jb.bind(null,a)),cs(function(){!(An&6)&&Lo()}),d=null;else{switch(Su(v)){case 1:d=Zi;break;case 4:d=Ns;break;case 16:d=bl;break;case 536870912:d=ku;break;default:d=bl}d=sk(d,Tm.bind(null,a))}a.callbackPriority=o,a.callbackNode=d}}function Tm(a,o){if(ti=-1,Kl=0,An&6)throw Error(i(327));var d=a.callbackNode;if(lf()&&a.callbackNode!==d)return null;var v=to(a,a===Da?Oa:0);if(v===0)return null;if(v&30||v&a.expiredLanes||o)o=Fm(a,v);else{o=v;var b=An;An|=2;var S=ek();(Da!==a||Oa!==o)&&(ks=null,nl=Et()+500,od(a,o));do try{$2();break}catch(H){Zb(a,H)}while(!0);tf(),Ku.current=S,An=b,ra!==null?o=0:(Da=null,Oa=0,o=fa)}if(o!==0){if(o===2&&(b=Rs(a),b!==0&&(v=b,o=ad(a,b))),o===1)throw d=Ju,od(a,0),Ql(a,v),ni(a,Et()),d;if(o===6)Ql(a,v);else{if(b=a.current.alternate,!(v&30)&&!Am(b)&&(o=Fm(a,v),o===2&&(S=Rs(a),S!==0&&(v=S,o=ad(a,S))),o===1))throw d=Ju,od(a,0),Ql(a,v),ni(a,Et()),d;switch(a.finishedWork=b,a.finishedLanes=v,o){case 0:case 1:throw Error(i(345));case 2:sd(a,zi,ks);break;case 3:if(Ql(a,v),(v&130023424)===v&&(o=xv+500-Et(),10<o)){if(to(a,0)!==0)break;if(b=a.suspendedLanes,(b&v)!==v){Ra(),a.pingedLanes|=a.suspendedLanes&b;break}a.timeoutHandle=Oo(sd.bind(null,a,zi,ks),o);break}sd(a,zi,ks);break;case 4:if(Ql(a,v),(v&4194240)===v)break;for(o=a.eventTimes,b=-1;0<v;){var P=31-la(v);S=1<<P,P=o[P],P>b&&(b=P),v&=~S}if(v=b,v=Et()-v,v=(120>v?120:480>v?480:1080>v?1080:1920>v?1920:3e3>v?3e3:4320>v?4320:1960*Vp(v/1960))-v,10<v){a.timeoutHandle=Oo(sd.bind(null,a,zi,ks),v);break}sd(a,zi,ks);break;case 5:sd(a,zi,ks);break;default:throw Error(i(329))}}}return ni(a,Et()),a.callbackNode===d?Tm.bind(null,a):null}function ad(a,o){var d=Yp;return a.current.memoizedState.isDehydrated&&(od(a,o).flags|=256),a=Fm(a,o),a!==2&&(o=zi,zi=d,o!==null&&Tv(o)),a}function Tv(a){zi===null?zi=a:zi.push.apply(zi,a)}function Am(a){for(var o=a;;){if(o.flags&16384){var d=o.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var v=0;v<d.length;v++){var b=d[v],S=b.getSnapshot;b=b.value;try{if(!Fa(S(),b))return!1}catch{return!1}}}if(d=o.child,o.subtreeFlags&16384&&d!==null)d.return=o,o=d;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Ql(a,o){for(o&=~_v,o&=~Wp,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var d=31-la(o),v=1<<d;a[d]=-1,o&=~v}}function Jb(a){if(An&6)throw Error(i(327));lf();var o=to(a,0);if(!(o&1))return ni(a,Et()),null;var d=Fm(a,o);if(a.tag!==0&&d===2){var v=Rs(a);v!==0&&(o=v,d=ad(a,v))}if(d===1)throw d=Ju,od(a,0),Ql(a,o),ni(a,Et()),d;if(d===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,sd(a,zi,ks),ni(a,Et()),null}function Av(a,o){var d=An;An|=1;try{return a(o)}finally{An=d,An===0&&(nl=Et()+500,Bl&&Lo())}}function id(a){Gl!==null&&Gl.tag===0&&!(An&6)&&lf();var o=An;An|=1;var d=ji.transition,v=xn;try{if(ji.transition=null,xn=1,a)return a()}finally{xn=v,ji.transition=d,An=o,!(An&6)&&Lo()}}function Kp(){fo=Xu.current,Wn(Xu)}function od(a,o){a.finishedWork=null,a.finishedLanes=0;var d=a.timeoutHandle;if(d!==-1&&(a.timeoutHandle=-1,Zd(d)),ra!==null)for(d=ra.return;d!==null;){var v=d;switch(Hu(v),v.tag){case 1:v=v.type.childContextTypes,v!=null&&Uu();break;case 3:Hl(),Wn(Wr),Wn(Yn),_t();break;case 5:af(v);break;case 4:Hl();break;case 13:Wn(hr);break;case 19:Wn(hr);break;case 10:_p(v.type._context);break;case 22:case 23:Kp()}d=d.return}if(Da=a,ra=a=Xl(a.current,null),Oa=fo=o,fa=0,Ju=null,_v=Wp=Yl=0,zi=Yp=null,jl!==null){for(o=0;o<jl.length;o++)if(d=jl[o],v=d.interleaved,v!==null){d.interleaved=null;var b=v.next,S=d.pending;if(S!==null){var P=S.next;S.next=b,v.next=P}d.pending=v}jl=null}return a}function Zb(a,o){do{var d=ra;try{if(tf(),rn.current=Kc,g){for(var v=Tn.memoizedState;v!==null;){var b=v.queue;b!==null&&(b.pending=null),v=v.next}g=!1}if(qn=0,f=Ir=Tn=null,k=!1,_=0,Qu.current=null,d===null||d.return===null){fa=1,Ju=o,ra=null;break}e:{var S=a,P=d.return,H=d,X=o;if(o=Oa,H.flags|=32768,X!==null&&typeof X=="object"&&typeof X.then=="function"){var me=X,Ne=H,Be=Ne.tag;if(!(Ne.mode&1)&&(Be===0||Be===11||Be===15)){var Pe=Ne.alternate;Pe?(Ne.updateQueue=Pe.updateQueue,Ne.memoizedState=Pe.memoizedState,Ne.lanes=Pe.lanes):(Ne.updateQueue=null,Ne.memoizedState=null)}var st=Ib(P);if(st!==null){st.flags&=-257,Yu(st,P,H,S,o),st.mode&1&&gv(S,me,o),o=st,X=me;var mt=o.updateQueue;if(mt===null){var kt=new Set;kt.add(X),o.updateQueue=kt}else mt.add(X);break e}else{if(!(o&1)){gv(S,me,o),Fv();break e}X=Error(i(426))}}else if(cr&&H.mode&1){var Kr=Ib(P);if(Kr!==null){!(Kr.flags&65536)&&(Kr.flags|=256),Yu(Kr,P,H,S,o),Io(Qc(X,H));break e}}S=X=Qc(X,H),fa!==4&&(fa=2),Yp===null?Yp=[S]:Yp.push(S),S=P;do{switch(S.tag){case 3:S.flags|=65536,o&=-o,S.lanes|=o;var oe=Mb(S,X,o);fm(S,oe);break e;case 1:H=X;var ne=S.type,ie=S.stateNode;if(!(S.flags&128)&&(typeof ne.getDerivedStateFromError=="function"||ie!==null&&typeof ie.componentDidCatch=="function"&&(ec===null||!ec.has(ie)))){S.flags|=65536,o&=-o,S.lanes|=o;var Ue=mv(S,H,o);fm(S,Ue);break e}}S=S.return}while(S!==null)}rk(d)}catch(wt){o=wt,ra===d&&d!==null&&(ra=d=d.return);continue}break}while(!0)}function ek(){var a=Ku.current;return Ku.current=Kc,a===null?Kc:a}function Fv(){(fa===0||fa===3||fa===2)&&(fa=4),Da===null||!(Yl&268435455)&&!(Wp&268435455)||Ql(Da,Oa)}function Fm(a,o){var d=An;An|=2;var v=ek();(Da!==a||Oa!==o)&&(ks=null,od(a,o));do try{tk();break}catch(b){Zb(a,b)}while(!0);if(tf(),An=d,Ku.current=v,ra!==null)throw Error(i(261));return Da=null,Oa=0,fa}function tk(){for(;ra!==null;)nk(ra)}function $2(){for(;ra!==null&&!Ji();)nk(ra)}function nk(a){var o=ok(a.alternate,a,fo);a.memoizedProps=a.pendingProps,o===null?rk(a):ra=o,Qu.current=null}function rk(a){var o=a;do{var d=o.alternate;if(a=o.return,o.flags&32768){if(d=Vb(d,o),d!==null){d.flags&=32767,ra=d;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{fa=6,ra=null;return}}else if(d=Cm(d,o,fo),d!==null){ra=d;return}if(o=o.sibling,o!==null){ra=o;return}ra=o=a}while(o!==null);fa===0&&(fa=5)}function sd(a,o,d){var v=xn,b=ji.transition;try{ji.transition=null,xn=1,P2(a,o,d,v)}finally{ji.transition=b,xn=v}return null}function P2(a,o,d,v){do lf();while(Gl!==null);if(An&6)throw Error(i(327));d=a.finishedWork;var b=a.finishedLanes;if(d===null)return null;if(a.finishedWork=null,a.finishedLanes=0,d===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var S=d.lanes|d.childLanes;if(np(a,S),a===Da&&(ra=Da=null,Oa=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Gp||(Gp=!0,sk(bl,function(){return lf(),null})),S=(d.flags&15990)!==0,d.subtreeFlags&15990||S){S=ji.transition,ji.transition=null;var P=xn;xn=1;var H=An;An|=4,Qu.current=null,F2(a,d),sf(d,a),Nu(Hs),Ai=!!ju,Hs=ju=null,a.current=d,Kb(d),Sr(),An=H,xn=P,ji.transition=S}else a.current=d;if(Gp&&(Gp=!1,Gl=a,rd=b),S=a.pendingLanes,S===0&&(ec=null),wu(d.stateNode),ni(a,Et()),o!==null)for(v=a.onRecoverableError,d=0;d<o.length;d++)b=o[d],v(b.value,{componentStack:b.stack,digest:b.digest});if(Zu)throw Zu=!1,a=Ev,Ev=null,a;return rd&1&&a.tag!==0&&lf(),S=a.pendingLanes,S&1?a===Em?tc++:(tc=0,Em=a):tc=0,Lo(),null}function lf(){if(Gl!==null){var a=Su(rd),o=ji.transition,d=xn;try{if(ji.transition=null,xn=16>a?16:a,Gl===null)var v=!1;else{if(a=Gl,Gl=null,rd=0,An&6)throw Error(i(331));var b=An;for(An|=4,pt=a.current;pt!==null;){var S=pt,P=S.child;if(pt.flags&16){var H=S.deletions;if(H!==null){for(var X=0;X<H.length;X++){var me=H[X];for(pt=me;pt!==null;){var Ne=pt;switch(Ne.tag){case 0:case 11:case 15:of(8,Ne,S)}var Be=Ne.child;if(Be!==null)Be.return=Ne,pt=Be;else for(;pt!==null;){Ne=pt;var Pe=Ne.sibling,st=Ne.return;if(Hp(Ne),Ne===me){pt=null;break}if(Pe!==null){Pe.return=st,pt=Pe;break}pt=st}}}var mt=S.alternate;if(mt!==null){var kt=mt.child;if(kt!==null){mt.child=null;do{var Kr=kt.sibling;kt.sibling=null,kt=Kr}while(kt!==null)}}pt=S}}if(S.subtreeFlags&2064&&P!==null)P.return=S,pt=P;else e:for(;pt!==null;){if(S=pt,S.flags&2048)switch(S.tag){case 0:case 11:case 15:of(9,S,S.return)}var oe=S.sibling;if(oe!==null){oe.return=S.return,pt=oe;break e}pt=S.return}}var ne=a.current;for(pt=ne;pt!==null;){P=pt;var ie=P.child;if(P.subtreeFlags&2064&&ie!==null)ie.return=P,pt=ie;else e:for(P=ne;pt!==null;){if(H=pt,H.flags&2048)try{switch(H.tag){case 0:case 11:case 15:xm(9,H)}}catch(wt){zr(H,H.return,wt)}if(H===P){pt=null;break e}var Ue=H.sibling;if(Ue!==null){Ue.return=H.return,pt=Ue;break e}pt=H.return}}if(An=b,Lo(),Wa&&typeof Wa.onPostCommitFiberRoot=="function")try{Wa.onPostCommitFiberRoot(eo,a)}catch{}v=!0}return v}finally{xn=d,ji.transition=o}}return!1}function $m(a,o,d){o=Qc(d,o),o=Mb(a,o,1),a=Xs(a,o,1),o=Ra(),a!==null&&(si(a,1,o),ni(a,o))}function zr(a,o,d){if(a.tag===3)$m(a,a,d);else for(;o!==null;){if(o.tag===3){$m(o,a,d);break}else if(o.tag===1){var v=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(ec===null||!ec.has(v))){a=Qc(d,a),a=mv(o,a,1),o=Xs(o,a,1),a=Ra(),o!==null&&(si(o,1,a),ni(o,a));break}}o=o.return}}function N2(a,o,d){var v=a.pingCache;v!==null&&v.delete(o),o=Ra(),a.pingedLanes|=a.suspendedLanes&d,Da===a&&(Oa&d)===d&&(fa===4||fa===3&&(Oa&130023424)===Oa&&500>Et()-xv?od(a,0):_v|=d),ni(a,o)}function ak(a,o){o===0&&(a.mode&1?(o=Ya,Ya<<=1,!(Ya&130023424)&&(Ya=4194304)):o=1);var d=Ra();a=Za(a,o),a!==null&&(si(a,o,d),ni(a,d))}function ik(a){var o=a.memoizedState,d=0;o!==null&&(d=o.retryLane),ak(a,d)}function O2(a,o){var d=0;switch(a.tag){case 13:var v=a.stateNode,b=a.memoizedState;b!==null&&(d=b.retryLane);break;case 19:v=a.stateNode;break;default:throw Error(i(314))}v!==null&&v.delete(o),ak(a,d)}var ok;ok=function(a,o,d){if(a!==null)if(a.memoizedProps!==o.pendingProps||Wr.current)na=!0;else{if(!(a.lanes&d)&&!(o.flags&128))return na=!1,bs(a,o,d);na=!!(a.flags&131072)}else na=!1,cr&&o.flags&1048576&&um(o,Bo,o.index);switch(o.lanes=0,o.tag){case 2:var v=o.type;Zc(a,o),a=o.pendingProps;var b=Oi(o,Yn.current);tr(o,d),b=ve(null,o,v,a,b,d);var S=Ie();return o.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Br(v)?(S=!0,Ka(o)):S=!1,o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,zc(o),b.updater=bm,o.stateNode=b,b._reactInternals=o,Bp(o,v,a,d),o=Jc(null,o,v,!0,S,d)):(o.tag=0,cr&&S&&Ml(o),Pa(null,o,b,d),o=o.child),o;case 16:v=o.elementType;e:{switch(Zc(a,o),a=o.pendingProps,b=v._init,v=b(v._payload),o.type=v,b=o.tag=L2(v),a=vs(v,a),b){case 0:o=yv(null,o,v,a,d);break e;case 1:o=Dm(null,o,v,a,d);break e;case 11:o=Mi(null,o,v,a,d);break e;case 14:o=Xc(null,o,v,vs(v.type,a),d);break e}throw Error(i(306,v,""))}return o;case 0:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),yv(a,o,v,b,d);case 1:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Dm(a,o,v,b,d);case 3:e:{if(jb(o),a===null)throw Error(i(387));v=o.pendingProps,S=o.memoizedState,b=S.element,nf(a,o),Uc(o,v,null,d);var P=o.memoizedState;if(v=P.element,S.isDehydrated)if(S={element:v,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},o.updateQueue.baseState=S,o.memoizedState=S,o.flags&256){b=Qc(Error(i(423)),o),o=bv(a,o,v,d,b);break e}else if(v!==b){b=Qc(Error(i(424)),o),o=bv(a,o,v,d,b);break e}else for(Sn=di(o.stateNode.containerInfo.firstChild),Qa=o,cr=!0,Li=null,d=Ze(o,null,v,d),o.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(Ks(),v===b){o=co(a,o,d);break e}Pa(a,o,v,d)}o=o.child}return o;case 5:return Fp(o),a===null&&Sp(o),v=o.type,b=o.pendingProps,S=a!==null?a.memoizedProps:null,P=b.children,Rc(v,b)?P=null:S!==null&&Rc(v,S)&&(o.flags|=32),vv(a,o),Pa(a,o,P,d),o.child;case 6:return a===null&&Sp(o),null;case 13:return zb(a,o,d);case 4:return Ap(o,o.stateNode.containerInfo),v=o.pendingProps,a===null?o.child=$r(o,null,v,d):Pa(a,o,v,d),o.child;case 11:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Mi(a,o,v,b,d);case 7:return Pa(a,o,o.pendingProps,d),o.child;case 8:return Pa(a,o,o.pendingProps.children,d),o.child;case 12:return Pa(a,o,o.pendingProps.children,d),o.child;case 10:e:{if(v=o.type._context,b=o.pendingProps,S=o.memoizedProps,P=b.value,yt(Xa,v._currentValue),v._currentValue=P,S!==null)if(Fa(S.value,P)){if(S.children===b.children&&!Wr.current){o=co(a,o,d);break e}}else for(S=o.child,S!==null&&(S.return=o);S!==null;){var H=S.dependencies;if(H!==null){P=S.child;for(var X=H.firstContext;X!==null;){if(X.context===v){if(S.tag===1){X=ms(-1,d&-d),X.tag=2;var me=S.updateQueue;if(me!==null){me=me.shared;var Ne=me.pending;Ne===null?X.next=X:(X.next=Ne.next,Ne.next=X),me.pending=X}}S.lanes|=d,X=S.alternate,X!==null&&(X.lanes|=d),xp(S.return,d,o),H.lanes|=d;break}X=X.next}}else if(S.tag===10)P=S.type===o.type?null:S.child;else if(S.tag===18){if(P=S.return,P===null)throw Error(i(341));P.lanes|=d,H=P.alternate,H!==null&&(H.lanes|=d),xp(P,d,o),P=S.sibling}else P=S.child;if(P!==null)P.return=S;else for(P=S;P!==null;){if(P===o){P=null;break}if(S=P.sibling,S!==null){S.return=P.return,P=S;break}P=P.return}S=P}Pa(a,o,b.children,d),o=o.child}return o;case 9:return b=o.type,v=o.pendingProps.children,tr(o,d),b=Bi(b),v=v(b),o.flags|=1,Pa(a,o,v,d),o.child;case 14:return v=o.type,b=vs(v,o.pendingProps),b=vs(v.type,b),Xc(a,o,v,b,d);case 15:return Zt(a,o,o.type,o.pendingProps,d);case 17:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:vs(v,b),Zc(a,o),o.tag=1,Br(v)?(a=!0,Ka(o)):a=!1,tr(o,d),km(o,v,b),Bp(o,v,b,d),Jc(null,o,v,!0,a,d);case 19:return Zs(a,o,d);case 22:return Ip(a,o,d)}throw Error(i(156,o.tag))};function sk(a,o){return Zn(a,o)}function R2(a,o,d,v){this.tag=a,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ho(a,o,d,v){return new R2(a,o,d,v)}function $v(a){return a=a.prototype,!(!a||!a.isReactComponent)}function L2(a){if(typeof a=="function")return $v(a)?1:0;if(a!=null){if(a=a.$$typeof,a===Ke)return 11;if(a===dt)return 14}return 2}function Xl(a,o){var d=a.alternate;return d===null?(d=Ho(a.tag,o,a.key,a.mode),d.elementType=a.elementType,d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.pendingProps=o,d.type=a.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=a.flags&14680064,d.childLanes=a.childLanes,d.lanes=a.lanes,d.child=a.child,d.memoizedProps=a.memoizedProps,d.memoizedState=a.memoizedState,d.updateQueue=a.updateQueue,o=a.dependencies,d.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},d.sibling=a.sibling,d.index=a.index,d.ref=a.ref,d}function uf(a,o,d,v,b,S){var P=2;if(v=a,typeof a=="function")$v(a)&&(P=1);else if(typeof a=="string")P=5;else e:switch(a){case pe:return Ds(d.children,b,S,o);case Te:P=8,b|=8;break;case ke:return a=Ho(12,d,o,b|2),a.elementType=ke,a.lanes=S,a;case nt:return a=Ho(13,d,o,b),a.elementType=nt,a.lanes=S,a;case He:return a=Ho(19,d,o,b),a.elementType=He,a.lanes=S,a;case Le:return Pm(d,b,S,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Ge:P=10;break e;case We:P=9;break e;case Ke:P=11;break e;case dt:P=14;break e;case Me:P=16,v=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=Ho(P,d,o,b),o.elementType=a,o.type=v,o.lanes=S,o}function Ds(a,o,d,v){return a=Ho(7,a,v,o),a.lanes=d,a}function Pm(a,o,d,v){return a=Ho(22,a,v,o),a.elementType=Le,a.lanes=d,a.stateNode={isHidden:!1},a}function Nm(a,o,d){return a=Ho(6,a,null,o),a.lanes=d,a}function Om(a,o,d){return o=Ho(4,a.children!==null?a.children:[],a.key,o),o.lanes=d,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function lk(a,o,d,v,b){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Sl(0),this.expirationTimes=Sl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sl(0),this.identifierPrefix=v,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function Pv(a,o,d,v,b,S,P,H,X){return a=new lk(a,o,d,H,X),o===1?(o=1,S===!0&&(o|=8)):o=0,S=Ho(3,null,null,o),a.current=S,S.stateNode=a,S.memoizedState={element:v,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},zc(S),a}function uk(a,o,d){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ae,key:v==null?null:""+v,children:a,containerInfo:o,implementation:d}}function ck(a){if(!a)return ka;a=a._reactInternals;e:{if(Ht(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Br(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var d=a.type;if(Br(d))return Ic(a,d,o)}return o}function dk(a,o,d,v,b,S,P,H,X){return a=Pv(d,v,!0,a,b,S,P,H,X),a.context=ck(null),d=a.current,v=Ra(),b=Uo(d),S=ms(v,b),S.callback=o??null,Xs(d,S,b),a.current.lanes=b,si(a,b,v),ni(a,v),a}function Rm(a,o,d,v){var b=o.current,S=Ra(),P=Uo(b);return d=ck(d),o.context===null?o.context=d:o.pendingContext=d,o=ms(S,P),o.payload={element:a},v=v===void 0?null:v,v!==null&&(o.callback=v),a=Xs(b,o,P),a!==null&&(ws(a,b,P,S),rf(a,b,P)),P}function Qp(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Nv(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var d=a.retryLane;a.retryLane=d!==0&&d<o?d:o}}function Lm(a,o){Nv(a,o),(a=a.alternate)&&Nv(a,o)}function cf(){return null}var fk=typeof reportError=="function"?reportError:function(a){console.error(a)};function Ov(a){this._internalRoot=a}Bm.prototype.render=Ov.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));Rm(a,o,null,null)},Bm.prototype.unmount=Ov.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;id(function(){Rm(null,a,null,null)}),o[ds]=null}};function Bm(a){this._internalRoot=a}Bm.prototype.unstable_scheduleHydration=function(a){if(a){var o=Mt();a={blockedOn:null,target:a,priority:o};for(var d=0;d<Ar.length&&o!==0&&o<Ar[d].priority;d++);Ar.splice(d,0,a),d===0&&_u(a)}};function Rv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function Mm(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function pk(){}function hk(a,o,d,v,b){if(b){if(typeof v=="function"){var S=v;v=function(){var me=Qp(P);S.call(me)}}var P=dk(o,v,a,0,null,!1,!1,"",pk);return a._reactRootContainer=P,a[ds]=P.current,Mu(a.nodeType===8?a.parentNode:a),id(),P}for(;b=a.lastChild;)a.removeChild(b);if(typeof v=="function"){var H=v;v=function(){var me=Qp(X);H.call(me)}}var X=Pv(a,0,!1,null,null,!1,!1,"",pk);return a._reactRootContainer=X,a[ds]=X.current,Mu(a.nodeType===8?a.parentNode:a),id(function(){Rm(o,X,d,v)}),X}function Im(a,o,d,v,b){var S=d._reactRootContainer;if(S){var P=S;if(typeof b=="function"){var H=b;b=function(){var X=Qp(P);H.call(X)}}Rm(o,P,a,b)}else P=hk(d,o,a,b,v);return Qp(P)}kn=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var d=oi(o.pendingLanes);d!==0&&(ts(o,d|1),ni(o,Et()),!(An&6)&&(nl=Et()+500,Lo()))}break;case 13:id(function(){var v=Za(a,1);if(v!==null){var b=Ra();ws(v,a,1,b)}}),Lm(a,1)}},To=function(a){if(a.tag===13){var o=Za(a,134217728);if(o!==null){var d=Ra();ws(o,a,134217728,d)}Lm(a,134217728)}},Ao=function(a){if(a.tag===13){var o=Uo(a),d=Za(a,o);if(d!==null){var v=Ra();ws(d,a,o,v)}Lm(a,o)}},Mt=function(){return xn},Cl=function(a,o){var d=xn;try{return xn=a,o()}finally{xn=d}},jn=function(a,o,d){switch(o){case"input":if(kr(a,d),o=d.name,d.type==="radio"&&o!=null){for(d=a;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<d.length;o++){var v=d[o];if(v!==a&&v.form===a.form){var b=Fr(v);if(!b)throw Error(i(90));Qn(v),kr(v,b)}}}break;case"textarea":sn(a,d);break;case"select":o=d.value,o!=null&&Xn(a,!!d.multiple,o,!1)}},yl=Av,Ps=id;var B2={usingClientEntryPoint:!1,Events:[Ct,Pi,Fr,Co,vl,Av]},df={findFiberByHostInstance:Ll,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Xp={bundleType:df.bundleType,version:df.version,rendererPackageName:df.rendererPackageName,rendererConfig:df.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=Dr(a),a===null?null:a.stateNode},findFiberByHostInstance:df.findFiberByHostInstance||cf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{eo=nc.inject(Xp),Wa=nc}catch{}}return bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B2,bo.createPortal=function(a,o){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Rv(o))throw Error(i(200));return uk(a,o,null,d)},bo.createRoot=function(a,o){if(!Rv(a))throw Error(i(299));var d=!1,v="",b=fk;return o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(v=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=Pv(a,1,!1,null,null,d,!1,v,b),a[ds]=o.current,Mu(a.nodeType===8?a.parentNode:a),new Ov(o)},bo.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=Dr(o),a=a===null?null:a.stateNode,a},bo.flushSync=function(a){return id(a)},bo.hydrate=function(a,o,d){if(!Mm(o))throw Error(i(200));return Im(null,a,o,!0,d)},bo.hydrateRoot=function(a,o,d){if(!Rv(a))throw Error(i(405));var v=d!=null&&d.hydratedSources||null,b=!1,S="",P=fk;if(d!=null&&(d.unstable_strictMode===!0&&(b=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onRecoverableError!==void 0&&(P=d.onRecoverableError)),o=dk(o,null,a,1,d??null,b,!1,S,P),a[ds]=o.current,Mu(a),v)for(a=0;a<v.length;a++)d=v[a],b=d._getVersion,b=b(d._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[d,b]:o.mutableSourceEagerHydrationData.push(d,b);return new Bm(o)},bo.render=function(a,o,d){if(!Mm(o))throw Error(i(200));return Im(null,a,o,!1,d)},bo.unmountComponentAtNode=function(a){if(!Mm(a))throw Error(i(40));return a._reactRootContainer?(id(function(){Im(null,null,a,!1,function(){a._reactRootContainer=null,a[ds]=null})}),!0):!1},bo.unstable_batchedUpdates=Av,bo.unstable_renderSubtreeIntoContainer=function(a,o,d,v){if(!Mm(d))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return Im(a,o,d,!1,v)},bo.version="18.3.1-next-f1338f8080-20240426",bo}var Ko={};/**
|
|
165
165
|
* @license React
|
|
166
166
|
* react-dom.development.js
|
|
167
167
|
*
|
|
@@ -169,15 +169,15 @@ Error generating stack: `+S.message+`
|
|
|
169
169
|
*
|
|
170
170
|
* This source code is licensed under the MIT license found in the
|
|
171
171
|
* LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/var c_;function uP(){return c_||(c_=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=n_(),r=l_(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("warn",e,s)}}function m(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("error",e,s)}}function D(e,t,s){{var u=i.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var y=s.map(function(w){return String(w)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var C=0,T=1,$=2,N=3,O=4,B=5,I=6,G=7,Y=8,Ce=9,Z=10,W=11,J=12,K=13,ae=14,pe=15,Te=16,ke=17,Ge=18,We=19,Ke=21,nt=22,He=23,dt=24,Me=25,Le=!0,de=!1,Re=!1,_e=!1,Q=!1,he=!0,ot=!0,rt=!0,Dt=!0,ht=new Set,bt={},vt={};function Rt(e,t){fn(e,t),fn(e+"Capture",t)}function fn(e,t){bt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),bt[e]=t;{var s=e.toLowerCase();vt[s]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var u=0;u<t.length;u++)ht.add(t[u])}var en=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qn=Object.prototype.hasOwnProperty;function Lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function at(e){try{return sr(e),!1}catch{return!0}}function sr(e){return""+e}function Nn(e,t){if(at(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function kr(e){if(at(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}function Qi(e,t){if(at(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function Rr(e,t){if(at(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function wr(e){if(at(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}function Xn(e){if(at(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}var un=0,yn=1,sn=2,ce=3,ee=4,ye=5,Fe=6,xe=":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",Oe=xe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+xe+"]["+Oe+"]*$"),xt={},Ut={};function Dn(e){return Qn.call(Ut,e)?!0:Qn.call(xt,e)?!1:Ye.test(e)?(Ut[e]=!0,!0):(xt[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function _n(e,t,s){return t!==null?t.type===un:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,s,u){if(s!==null&&s.type===un)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function bn(e,t,s,u){if(t===null||typeof t>"u"||Tr(e,t,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case ce:return!t;case ee:return t===!1;case ye:return isNaN(t);case Fe:return isNaN(t)||t<1}return!1}function ga(e){return jn.hasOwnProperty(e)?jn[e]:null}function mr(e,t,s,u,p,y,w){this.acceptsBooleans=t===sn||t===ce||t===ee,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=y,this.removeEmptyString=w}var jn={},va=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];va.forEach(function(e){jn[e]=new mr(e,un,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];jn[t]=new mr(t,yn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){jn[e]=new mr(e,sn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){jn[e]=new mr(e,sn,!1,e,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(function(e){jn[e]=new mr(e,ce,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){jn[e]=new mr(e,ce,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){jn[e]=new mr(e,ee,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){jn[e]=new mr(e,Fe,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){jn[e]=new mr(e,ye,!1,e.toLowerCase(),null,!1,!1)});var ya=/[\-\:]([a-z])/g,Ci=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){jn[e]=new mr(e,yn,!1,e.toLowerCase(),null,!1,!1)});var Co="xlinkHref";jn[Co]=new mr("xlinkHref",yn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){jn[e]=new mr(e,yn,!1,e.toLowerCase(),null,!0,!0)});var vl=/^[\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,yl=!1;function Ps(e){!yl&&vl.test(e)&&(yl=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Xi(e,t,s,u){if(u.mustUseProperty){var p=u.propertyName;return e[p]}else{Nn(s,t),u.sanitizeURL&&Ps(""+s);var y=u.attributeName,w=null;if(u.type===ee){if(e.hasAttribute(y)){var x=e.getAttribute(y);return x===""?!0:bn(t,s,u,!1)?x:x===""+s?s:x}}else if(e.hasAttribute(y)){if(bn(t,s,u,!1))return e.getAttribute(y);if(u.type===ce)return s;w=e.getAttribute(y)}return bn(t,s,u,!1)?w===null?s:w:w===""+s?s:w}}function _i(e,t,s,u){{if(!Dn(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return Nn(s,t),p===""+s?s:p}}function lr(e,t,s,u){var p=ga(t);if(!_n(t,p,u)){if(bn(t,s,p,u)&&(s=null),u||p===null){if(Dn(t)){var y=t;s===null?e.removeAttribute(y):(Nn(s,t),e.setAttribute(y,""+s))}return}var w=p.mustUseProperty;if(w){var x=p.propertyName;if(s===null){var A=p.type;e[x]=A===ce?!1:""}else e[x]=s;return}var L=p.attributeName,j=p.attributeNamespace;if(s===null)e.removeAttribute(L);else{var re=p.type,te;re===ce||re===ee&&s===!0?te="":(Nn(s,L),te=""+s,p.sanitizeURL&&Ps(te.toString())),j?e.setAttributeNS(j,L,te):e.setAttribute(L,te)}}}var Ta=Symbol.for("react.element"),oa=Symbol.for("react.portal"),_o=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),xo=Symbol.for("react.profiler"),Eo=Symbol.for("react.provider"),V=Symbol.for("react.context"),Ae=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),ct=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),Wt=Symbol.for("react.scope"),tn=Symbol.for("react.debug_trace_mode"),Dr=Symbol.for("react.offscreen"),Jn=Symbol.for("react.legacy_hidden"),Zn=Symbol.for("react.cache"),Lr=Symbol.for("react.tracing_marker"),Ji=Symbol.iterator,Sr="@@iterator";function Et(e){if(e===null||typeof e!="object")return null;var t=Ji&&e[Ji]||e[Sr];return typeof t=="function"?t:null}var Xt=Object.assign,Zi=0,Ns,bl,Os,ku,eo,Wa,wu;function sa(){}sa.__reactDisabledLog=!0;function Ld(){{if(Zi===0){Ns=console.log,bl=console.info,Os=console.warn,ku=console.error,eo=console.group,Wa=console.groupCollapsed,wu=console.groupEnd;var e={configurable:!0,enumerable:!0,value:sa,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Zi++}}function _c(){{if(Zi--,Zi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xt({},e,{value:Ns}),info:Xt({},e,{value:bl}),warn:Xt({},e,{value:Os}),error:Xt({},e,{value:ku}),group:Xt({},e,{value:eo}),groupCollapsed:Xt({},e,{value:Wa}),groupEnd:Xt({},e,{value:wu})})}Zi<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kl=i.ReactCurrentDispatcher,es;function Ya(e,t,s){{if(es===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);es=u&&u[1]||""}return`
|
|
172
|
+
*/var c_;function uP(){return c_||(c_=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=n_(),r=l_(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("warn",e,s)}}function m(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("error",e,s)}}function D(e,t,s){{var u=i.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var y=s.map(function(w){return String(w)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var C=0,T=1,$=2,N=3,O=4,B=5,I=6,G=7,Y=8,Ce=9,Z=10,W=11,J=12,K=13,ae=14,pe=15,Te=16,ke=17,Ge=18,We=19,Ke=21,nt=22,He=23,dt=24,Me=25,Le=!0,de=!1,Re=!1,_e=!1,Q=!1,he=!0,ot=!0,rt=!0,Dt=!0,ht=new Set,bt={},vt={};function Rt(e,t){fn(e,t),fn(e+"Capture",t)}function fn(e,t){bt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),bt[e]=t;{var s=e.toLowerCase();vt[s]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var u=0;u<t.length;u++)ht.add(t[u])}var en=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qn=Object.prototype.hasOwnProperty;function Lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function at(e){try{return sr(e),!1}catch{return!0}}function sr(e){return""+e}function Nn(e,t){if(at(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function kr(e){if(at(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}function Qi(e,t){if(at(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function Rr(e,t){if(at(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Lt(e)),sr(e)}function wr(e){if(at(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}function Xn(e){if(at(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Lt(e)),sr(e)}var un=0,yn=1,sn=2,ce=3,ee=4,ye=5,Fe=6,xe=":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",Oe=xe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+xe+"]["+Oe+"]*$"),xt={},Ut={};function Dn(e){return Qn.call(Ut,e)?!0:Qn.call(xt,e)?!1:Ye.test(e)?(Ut[e]=!0,!0):(xt[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function _n(e,t,s){return t!==null?t.type===un:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,s,u){if(s!==null&&s.type===un)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function bn(e,t,s,u){if(t===null||typeof t>"u"||Tr(e,t,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case ce:return!t;case ee:return t===!1;case ye:return isNaN(t);case Fe:return isNaN(t)||t<1}return!1}function ga(e){return jn.hasOwnProperty(e)?jn[e]:null}function mr(e,t,s,u,p,y,w){this.acceptsBooleans=t===sn||t===ce||t===ee,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=y,this.removeEmptyString=w}var jn={},va=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];va.forEach(function(e){jn[e]=new mr(e,un,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];jn[t]=new mr(t,yn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){jn[e]=new mr(e,sn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){jn[e]=new mr(e,sn,!1,e,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(function(e){jn[e]=new mr(e,ce,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){jn[e]=new mr(e,ce,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){jn[e]=new mr(e,ee,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){jn[e]=new mr(e,Fe,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){jn[e]=new mr(e,ye,!1,e.toLowerCase(),null,!1,!1)});var ya=/[\-\:]([a-z])/g,Ci=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ya,Ci);jn[t]=new mr(t,yn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){jn[e]=new mr(e,yn,!1,e.toLowerCase(),null,!1,!1)});var Co="xlinkHref";jn[Co]=new mr("xlinkHref",yn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){jn[e]=new mr(e,yn,!1,e.toLowerCase(),null,!0,!0)});var vl=/^[\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,yl=!1;function Ps(e){!yl&&vl.test(e)&&(yl=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Xi(e,t,s,u){if(u.mustUseProperty){var p=u.propertyName;return e[p]}else{Nn(s,t),u.sanitizeURL&&Ps(""+s);var y=u.attributeName,w=null;if(u.type===ee){if(e.hasAttribute(y)){var x=e.getAttribute(y);return x===""?!0:bn(t,s,u,!1)?x:x===""+s?s:x}}else if(e.hasAttribute(y)){if(bn(t,s,u,!1))return e.getAttribute(y);if(u.type===ce)return s;w=e.getAttribute(y)}return bn(t,s,u,!1)?w===null?s:w:w===""+s?s:w}}function _i(e,t,s,u){{if(!Dn(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return Nn(s,t),p===""+s?s:p}}function lr(e,t,s,u){var p=ga(t);if(!_n(t,p,u)){if(bn(t,s,p,u)&&(s=null),u||p===null){if(Dn(t)){var y=t;s===null?e.removeAttribute(y):(Nn(s,t),e.setAttribute(y,""+s))}return}var w=p.mustUseProperty;if(w){var x=p.propertyName;if(s===null){var A=p.type;e[x]=A===ce?!1:""}else e[x]=s;return}var L=p.attributeName,j=p.attributeNamespace;if(s===null)e.removeAttribute(L);else{var re=p.type,te;re===ce||re===ee&&s===!0?te="":(Nn(s,L),te=""+s,p.sanitizeURL&&Ps(te.toString())),j?e.setAttributeNS(j,L,te):e.setAttribute(L,te)}}}var Ta=Symbol.for("react.element"),sa=Symbol.for("react.portal"),_o=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),xo=Symbol.for("react.profiler"),Eo=Symbol.for("react.provider"),V=Symbol.for("react.context"),Ae=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),ct=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),Wt=Symbol.for("react.scope"),tn=Symbol.for("react.debug_trace_mode"),Dr=Symbol.for("react.offscreen"),Jn=Symbol.for("react.legacy_hidden"),Zn=Symbol.for("react.cache"),Lr=Symbol.for("react.tracing_marker"),Ji=Symbol.iterator,Sr="@@iterator";function Et(e){if(e===null||typeof e!="object")return null;var t=Ji&&e[Ji]||e[Sr];return typeof t=="function"?t:null}var Xt=Object.assign,Zi=0,Ns,bl,Os,ku,eo,Wa,wu;function la(){}la.__reactDisabledLog=!0;function Ld(){{if(Zi===0){Ns=console.log,bl=console.info,Os=console.warn,ku=console.error,eo=console.group,Wa=console.groupCollapsed,wu=console.groupEnd;var e={configurable:!0,enumerable:!0,value:la,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Zi++}}function _c(){{if(Zi--,Zi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xt({},e,{value:Ns}),info:Xt({},e,{value:bl}),warn:Xt({},e,{value:Os}),error:Xt({},e,{value:ku}),group:Xt({},e,{value:eo}),groupCollapsed:Xt({},e,{value:Wa}),groupEnd:Xt({},e,{value:wu})})}Zi<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kl=i.ReactCurrentDispatcher,es;function Ya(e,t,s){{if(es===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);es=u&&u[1]||""}return`
|
|
173
173
|
`+es+e}}var oi=!1,to;{var wl=typeof WeakMap=="function"?WeakMap:Map;to=new wl}function Dl(e,t){if(!e||oi)return"";{var s=to.get(e);if(s!==void 0)return s}var u;oi=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=kl.current,kl.current=null,Ld();try{if(t){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(ge){u=ge}Reflect.construct(e,[],w)}else{try{w.call()}catch(ge){u=ge}e.call(w.prototype)}}else{try{throw Error()}catch(ge){u=ge}e()}}catch(ge){if(ge&&u&&typeof ge.stack=="string"){for(var x=ge.stack.split(`
|
|
174
174
|
`),A=u.stack.split(`
|
|
175
175
|
`),L=x.length-1,j=A.length-1;L>=1&&j>=0&&x[L]!==A[j];)j--;for(;L>=1&&j>=0;L--,j--)if(x[L]!==A[j]){if(L!==1||j!==1)do if(L--,j--,j<0||x[L]!==A[j]){var re=`
|
|
176
176
|
`+x[L].replace(" at new "," at ");return e.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",e.displayName)),typeof e=="function"&&to.set(e,re),re}while(L>=1&&j>=0);break}}}finally{oi=!1,kl.current=y,_c(),Error.prepareStackTrace=p}var te=e?e.displayName||e.name:"",ue=te?Ya(te):"";return typeof e=="function"&&to.set(e,ue),ue}function Rs(e,t,s){return Dl(e,!0)}function Du(e,t,s){return Dl(e,!1)}function Sl(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function si(e,t,s){if(e==null)return"";if(typeof e=="function")return Dl(e,Sl(e));if(typeof e=="string")return Ya(e);switch(e){case Je:return Ya("Suspense");case ct:return Ya("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Ae:return Du(e.render);case Ht:return si(e.type,t,s);case jt:{var u=e,p=u._payload,y=u._init;try{return si(y(p),t,s)}catch{}}}return""}function np(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case B:return Ya(e.type);case Te:return Ya("Lazy");case K:return Ya("Suspense");case We:return Ya("SuspenseList");case C:case $:case pe:return Du(e.type);case W:return Du(e.type.render);case T:return Rs(e.type);default:return""}}function ts(e){try{var t="",s=e;do t+=np(s),s=s.return;while(s);return t}catch(u){return`
|
|
177
177
|
Error generating stack: `+u.message+`
|
|
178
|
-
`+u.stack}}function xn(e,t,s){var u=e.displayName;if(u)return u;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function Su(e){return e.displayName||"Context"}function kn(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _o:return"Fragment";case
|
|
178
|
+
`+u.stack}}function xn(e,t,s){var u=e.displayName;if(u)return u;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function Su(e){return e.displayName||"Context"}function kn(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _o:return"Fragment";case sa:return"Portal";case xo:return"Profiler";case xi:return"StrictMode";case Je:return"Suspense";case ct:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case V:var t=e;return Su(t)+".Consumer";case Eo:var s=e;return Su(s._context)+".Provider";case Ae:return xn(e,e.render,"ForwardRef");case Ht:var u=e.displayName||null;return u!==null?u:kn(e.type)||"Memo";case jt:{var p=e,y=p._payload,w=p._init;try{return kn(w(y))}catch{return null}}}return null}function To(e,t,s){var u=t.displayName||t.name||"";return e.displayName||(u!==""?s+"("+u+")":s)}function Ao(e){return e.displayName||"Context"}function Mt(e){var t=e.tag,s=e.type;switch(t){case dt:return"Cache";case Ce:var u=s;return Ao(u)+".Consumer";case Z:var p=s;return Ao(p._context)+".Provider";case Ge:return"DehydratedFragment";case W:return To(s,s.render,"ForwardRef");case G:return"Fragment";case B:return s;case O:return"Portal";case N:return"Root";case I:return"Text";case Te:return kn(s);case Y:return s===xi?"StrictMode":"Mode";case nt:return"Offscreen";case J:return"Profiler";case Ke:return"Scope";case K:return"Suspense";case We:return"SuspenseList";case Me:return"TracingMarker";case T:case C:case ke:case $:case ae:case pe:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Cl=i.ReactDebugCurrentFrame,ua=null,no=!1;function ba(){{if(ua===null)return null;var e=ua._debugOwner;if(e!==null&&typeof e<"u")return Mt(e)}return null}function ca(){return ua===null?"":ts(ua)}function ur(){Cl.getCurrentStack=null,ua=null,no=!1}function Fn(e){Cl.getCurrentStack=e===null?null:ca,ua=e,no=!1}function li(){return ua}function Ar(e){no=e}function Aa(e){return""+e}function Ei(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Xn(e),e;default:return""}}var Ls={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Cu(e,t){Ls[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function _u(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bs(e){return e._valueTracker}function ns(e){e._valueTracker=null}function rp(e){var t="";return e&&(_u(e)?t=e.checked?"true":"false":t=e.value),t}function Ti(e){var t=_u(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Xn(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,y=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return p.call(this)},set:function(x){Xn(x),u=""+x,y.call(this,x)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var w={getValue:function(){return u},setValue:function(x){Xn(x),u=""+x},stopTracking:function(){ns(e),delete e[t]}};return w}}function ro(e){Bs(e)||(e._valueTracker=Ti(e))}function Fo(e){if(!e)return!1;var t=Bs(e);if(!t)return!0;var s=t.getValue(),u=rp(e);return u!==s?(t.setValue(u),!0):!1}function Ai(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var xu=!1,Eu=!1,rs=!1,_l=!1;function Tu(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Au(e,t){var s=e,u=t.checked,p=Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??s._wrapperState.initialChecked});return p}function ao(e,t){Cu("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Eu&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ba()||"A component",t.type),Eu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!xu&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ba()||"A component",t.type),xu=!0);var s=e,u=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ei(t.value!=null?t.value:u),controlled:Tu(t)}}function F(e,t){var s=e,u=t.checked;u!=null&&lr(s,"checked",u,!1)}function q(e,t){var s=e;{var u=Tu(t);!s._wrapperState.controlled&&u&&!_l&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),_l=!0),s._wrapperState.controlled&&!u&&!rs&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),rs=!0)}F(e,t);var p=Ei(t.value),y=t.type;if(p!=null)y==="number"?(p===0&&s.value===""||s.value!=p)&&(s.value=Aa(p)):s.value!==Aa(p)&&(s.value=Aa(p));else if(y==="submit"||y==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?Tt(s,t.type,p):t.hasOwnProperty("defaultValue")&&Tt(s,t.type,Ei(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function fe(e,t,s){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var p=t.type,y=p==="submit"||p==="reset";if(y&&(t.value===void 0||t.value===null))return;var w=Aa(u._wrapperState.initialValue);s||w!==u.value&&(u.value=w),u.defaultValue=w}var x=u.name;x!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,x!==""&&(u.name=x)}function we(e,t){var s=e;q(s,t),ze(s,t)}function ze(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var u=e;u.parentNode;)u=u.parentNode;Nn(s,"name");for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),y=0;y<p.length;y++){var w=p[y];if(!(w===e||w.form!==e.form)){var x=Pk(w);if(!x)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Fo(w),q(w,x)}}}}function Tt(e,t,s){(t!=="number"||Ai(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Aa(e._wrapperState.initialValue):e.defaultValue!==Aa(s)&&(e.defaultValue=Aa(s)))}var Qe=!1,At=!1,ln=!1;function wn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||At||(At=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ln||(ln=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Qe&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Qe=!0)}function zn(e,t){t.value!=null&&e.setAttribute("value",Aa(Ei(t.value)))}var Un=Array.isArray;function Yt(e){return Un(e)}var Hn;Hn=!1;function gr(){var e=ba();return e?`
|
|
179
179
|
|
|
180
|
-
Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];function xc(e){{Cu("select",e);for(var t=0;t<Ms.length;t++){var s=Ms[t];if(e[s]!=null){var u=Yt(e[s]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,gr()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,gr())}}}}function as(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},x=0;x<y.length;x++)w["$"+y[x]]=!0;for(var A=0;A<p.length;A++){var L=w.hasOwnProperty("$"+p[A].value);p[A].selected!==L&&(p[A].selected=L),L&&u&&(p[A].defaultSelected=!0)}}else{for(var j=Aa(Ei(s)),re=null,te=0;te<p.length;te++){if(p[te].value===j){p[te].selected=!0,u&&(p[te].defaultSelected=!0);return}re===null&&!p[te].disabled&&(re=p[te])}re!==null&&(re.selected=!0)}}function Ec(e,t){return Xt({},t,{value:void 0})}function xl(e,t){var s=e;xc(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Hn&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Hn=!0)}function Bd(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?as(s,!!t.multiple,u,!1):t.defaultValue!=null&&as(s,!!t.multiple,t.defaultValue,!0)}function Md(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?as(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?as(s,!!t.multiple,t.defaultValue,!0):as(s,!!t.multiple,t.multiple?[]:"",!1))}function ap(e,t){var s=e,u=t.value;u!=null&&as(s,!!t.multiple,u,!1)}var Kh=!1;function ip(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Xt({},t,{value:void 0,defaultValue:void 0,children:Aa(s._wrapperState.initialValue)});return u}function Id(e,t){var s=e;Cu("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Kh&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ba()||"A component"),Kh=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:Ei(u)}}function op(e,t){var s=e,u=Ei(t.value),p=Ei(t.defaultValue);if(u!=null){var y=Aa(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=Aa(p))}function Qh(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function sp(e,t){op(e,t)}var ui="http://www.w3.org/1999/xhtml",El="http://www.w3.org/1998/Math/MathML",Tc="http://www.w3.org/2000/svg";function lp(e){switch(e){case"svg":return Tc;case"math":return El;default:return ui}}function Tl(e,t){return e==null||e===ui?lp(t):e===Tc&&t==="foreignObject"?ui:e}var Xh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},$o,jd=Xh(function(e,t){if(e.namespaceURI===Tc&&!("innerHTML"in e)){$o=$o||document.createElement("div"),$o.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=$o.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Zr=1,Po=3,er=8,ci=9,Al=11,is=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Po){s.nodeValue=t;return}}e.textContent=t},Ac={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],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"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],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"],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"]},Is={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Jh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Zh=["Webkit","ms","Moz","O"];Object.keys(Is).forEach(function(e){Zh.forEach(function(t){Is[Jh(t,e)]=Is[e]})});function Fu(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(Is.hasOwnProperty(e)&&Is[e])?t+"px":(Rr(t,e),(""+t).trim())}var $u=/([A-Z])/g,js=/^ms-/;function Fl(e){return e.replace($u,"-$1").toLowerCase().replace(js,"-ms-")}var zd=function(){};{var up=/^(?:webkit|moz|o)[A-Z]/,ev=/^-ms-/,cp=/-(.)/g,dp=/;\s*$/,No={},$l={},Pu=!1,os=!1,tv=function(e){return e.replace(cp,function(t,s){return s.toUpperCase()})},em=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,tv(e.replace(ev,"ms-"))))},fp=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},pp=function(e,t){$l.hasOwnProperty(t)&&$l[t]||($l[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(dp,"")))},tm=function(e,t){Pu||(Pu=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},nm=function(e,t){os||(os=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};zd=function(e,t){e.indexOf("-")>-1?em(e):up.test(e)?fp(e):dp.test(t)&&pp(e,t),typeof t=="number"&&(isNaN(t)?tm(e,t):isFinite(t)||nm(e,t))}}var rm=zd;function nv(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Fl(u))+":",t+=Fu(u,p,y),s=";"}}return t||null}}function am(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||rm(u,t[u]);var y=Fu(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function rv(e){return e==null||typeof e=="boolean"||e===""}function im(e){var t={};for(var s in e)for(var u=Ac[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function om(e,t){{if(!t)return;var s=im(e),u=im(t),p={};for(var y in s){var w=s[y],x=u[y];if(x&&w!==x){var A=w+","+x;if(p[A])continue;p[A]=!0,m("%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.",rv(e[w])?"Removing":"Updating",w,x)}}}}var Fa={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zs=Xt({menuitem:!0},Fa),Ud="__html";function Hd(e,t){if(t){if(zs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Ud in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("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."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ss(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var 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",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",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",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",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"},qd={"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},Nu={},av=new RegExp("^(aria)-["+Oe+"]*$"),Ou=new RegExp("^(aria)[A-Z]["+Oe+"]*$");function Ru(e,t){{if(Qn.call(Nu,t)&&Nu[t])return!0;if(Ou.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=qd.hasOwnProperty(s)?s:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Nu[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Nu[t]=!0,!0}if(av.test(t)){var p=t.toLowerCase(),y=qd.hasOwnProperty(p)?p:null;if(y==null)return Nu[t]=!0,!1;if(t!==y)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Nu[t]=!0,!0}}return!0}function Pl(e,t){{var s=[];for(var u in t){var p=Ru(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function Lu(e,t){ss(e,t)||Pl(e,t)}var hp=!1;function Bu(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!hp&&(hp=!0,e==="select"&&t.multiple?m("`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):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Us=function(){};{var qr={},mp=/^on./,Vd=/^on[^A-Z]/,Wd=new RegExp("^(aria)-["+Oe+"]*$"),gp=new RegExp("^(aria)[A-Z]["+Oe+"]*$");Us=function(e,t,s,u){if(Qn.call(qr,t)&&qr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return m("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."),qr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var x=w.hasOwnProperty(p)?w[p]:null;if(x!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,x),qr[t]=!0,!0;if(mp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),qr[t]=!0,!0}else if(mp.test(t))return Vd.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),qr[t]=!0,!0;if(Wd.test(t)||gp.test(t))return!0;if(p==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),qr[t]=!0,!0;if(p==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),qr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),qr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),qr[t]=!0,!0;var A=ga(t),L=A!==null&&A.type===un;if(Fc.hasOwnProperty(p)){var j=Fc[p];if(j!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,j),qr[t]=!0,!0}else if(!L&&t!==p)return m("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,p),qr[t]=!0,!0;return typeof s=="boolean"&&Tr(t,s,A,!1)?(s?m('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()}.',s,t,t,s,t):m('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.',s,t,t,s,t,t,t),qr[t]=!0,!0):L?!0:Tr(t,s,A,!1)?(qr[t]=!0,!1):((s==="false"||s==="true")&&A!==null&&A.type===ce&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),qr[t]=!0),!0)}}var nn=function(e,t,s){{var u=[];for(var p in t){var y=Us(e,p,t[p],s);y||u.push(p)}var w=u.map(function(x){return"`"+x+"`"}).join(", ");u.length===1?m("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://reactjs.org/link/attribute-behavior ",w,e):u.length>1&&m("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://reactjs.org/link/attribute-behavior ",w,e)}};function $c(e,t,s){ss(e,t)||nn(e,t,s)}var Yd=1,Gd=2,Fi=4,vp=Yd|Gd|Fi,Nl=null;function iv(e){Nl!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nl=e}function ov(){Nl===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nl=null}function Pc(e){return e===Nl}function yp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Po?t.parentNode:t}var Kd=null,Ol=null,On=null;function Qd(e){var t=hf(e);if(t){if(typeof Kd!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode;if(s){var u=Pk(s);Kd(t.stateNode,t.type,u)}}}function Xd(e){Kd=e}function Mu(e){Ol?On?On.push(e):On=[e]:Ol=e}function sm(){return Ol!==null||On!==null}function Jd(){if(Ol){var e=Ol,t=On;if(Ol=null,On=null,Qd(e),t)for(var s=0;s<t.length;s++)Qd(t[s])}}var Iu=function(e,t){return e(t)},Nc=function(){},ls=!1;function bp(){var e=sm();e&&(Nc(),Jd())}function lm(e,t,s){if(ls)return e(t,s);ls=!0;try{return Iu(e,t,s)}finally{ls=!1,bp()}}function sv(e,t,s){Iu=e,Nc=s}function kp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Oc(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&kp(t));default:return!1}}function us(e,t){var s=e.stateNode;if(s===null)return null;var u=Pk(s);if(u===null)return null;var p=u[t];if(Oc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var ju=!1;if(en)try{var Hs={};Object.defineProperty(Hs,"passive",{get:function(){ju=!0}}),window.addEventListener("test",Hs,Hs),window.removeEventListener("test",Hs,Hs)}catch{ju=!1}function Rc(e,t,s,u,p,y,w,x,A){var L=Array.prototype.slice.call(arguments,3);try{t.apply(s,L)}catch(j){this.onError(j)}}var Oo=Rc;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Zd=document.createElement("react");Oo=function(e,t,s,u,p,y,w,x,A){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var L=document.createEvent("Event"),j=!1,re=!0,te=window.event,ue=Object.getOwnPropertyDescriptor(window,"event");function ge(){Zd.removeEventListener(se,tt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=te)}var Se=Array.prototype.slice.call(arguments,3);function tt(){j=!0,ge(),t.apply(s,Se),re=!1}var St,Pt=!1,hn=!1;function cn(De){if(St=De.error,Pt=!0,St===null&&De.colno===0&&De.lineno===0&&(hn=!0),De.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var se="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",cn),Zd.addEventListener(se,tt,!1),L.initEvent(se,!1,!1),Zd.dispatchEvent(L),ue&&Object.defineProperty(window,"event",ue),j&&re&&(Pt?hn&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",cn),!j)return ge(),Rc.apply(this,arguments)}}var $i=Oo,cs=!1,Lc=null,Rl=!1,di=null,Bc={onError:function(e){cs=!0,Lc=e}};function io(e,t,s,u,p,y,w,x,A){cs=!1,Lc=null,$i.apply(Bc,arguments)}function oo(e,t,s,u,p,y,w,x,A){if(io.apply(this,arguments),cs){var L=Mc();Rl||(Rl=!0,di=L)}}function qs(){if(Rl){var e=di;throw Rl=!1,di=null,e}}function ds(){return cs}function Mc(){if(cs){var e=Lc;return cs=!1,Lc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function zu(e){return e._reactInternals}function lv(e){return e._reactInternals!==void 0}function Ll(e,t){e._reactInternals=t}var Ct=0,Pi=1,Fr=2,mn=4,Ni=16,Ft=32,Wn=64,yt=128,ka=256,Yn=512,Vr=1024,Ga=2048,Oi=4096,Br=8192,Uu=16384,fs=32767,Ic=32768,Ka=65536,ps=131072,so=1048576,Bl=2097152,Ro=4194304,ef=8388608,lo=16777216,Lo=33554432,Vs=mn|Vr|0,Ws=Fr|mn|Ni|Ft|Yn|Oi|Br,Ys=mn|Wn|Yn|Br,Bo=Ga|Ni,Cr=Ro|ef|Bl,Ri=i.ReactCurrentOwner;function fi(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Fr|Oi))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===N?s:null}function Mo(e){if(e.tag===K){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function $a(e){return e.tag===N?e.stateNode.containerInfo:null}function Gs(e){return fi(e)===e}function um(e){{var t=Ri.current;if(t!==null&&t.tag===T){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Mt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=zu(e);return p?fi(p)===p:!1}function Ml(e){if(fi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Hu(e){var t=e.alternate;if(!t){var s=fi(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var x=y.return;if(x!==null){u=p=x;continue}break}if(y.child===w.child){for(var A=y.child;A;){if(A===u)return Ml(y),e;if(A===p)return Ml(y),t;A=A.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var L=!1,j=y.child;j;){if(j===u){L=!0,u=y,p=w;break}if(j===p){L=!0,p=y,u=w;break}j=j.sibling}if(!L){for(j=w.child;j;){if(j===u){L=!0,u=w,p=y;break}if(j===p){L=!0,p=w,u=y;break}j=j.sibling}if(!L)throw new 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(u.alternate!==p)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==N)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Qa(e){var t=Hu(e);return t!==null?Sn(t):null}function Sn(e){if(e.tag===B||e.tag===I)return e;for(var t=e.child;t!==null;){var s=Sn(t);if(s!==null)return s;t=t.sibling}return null}function cr(e){var t=Hu(e);return t!==null?Li(t):null}function Li(e){if(e.tag===B||e.tag===I)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var s=Li(t);if(s!==null)return s}t=t.sibling}return null}var wp=r.unstable_scheduleCallback,cm=r.unstable_cancelCallback,Dp=r.unstable_shouldYield,Sp=r.unstable_requestPaint,Mr=r.unstable_now,jc=r.unstable_getCurrentPriorityLevel,qu=r.unstable_ImmediatePriority,Ks=r.unstable_UserBlockingPriority,Io=r.unstable_NormalPriority,uv=r.unstable_LowPriority,hs=r.unstable_IdlePriority,ea=r.unstable_yieldValue,dm=r.unstable_setDisableYieldValue,Il=null,$r=null,Ze=null,Xa=!1,Ja=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Qs(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 m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{ot&&(e=Xt({},e,{getLaneLabelMap:jl,injectProfilingHooks:Bi})),Il=t.inject(e),$r=t}catch(s){m("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function Cp(e,t){if($r&&typeof $r.onScheduleFiberRoot=="function")try{$r.onScheduleFiberRoot(Il,e,t)}catch(s){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",s))}}function tf(e,t){if($r&&typeof $r.onCommitFiberRoot=="function")try{var s=(e.current.flags&yt)===yt;if(rt){var u;switch(t){case Ii:u=qu;break;case ys:u=Ks;break;case Zs:u=Io;break;case Zc:u=hs;break;default:u=Io;break}$r.onCommitFiberRoot(Il,e,u,s)}}catch(p){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",p))}}function _p(e){if($r&&typeof $r.onPostCommitFiberRoot=="function")try{$r.onPostCommitFiberRoot(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function xp(e){if($r&&typeof $r.onCommitFiberUnmount=="function")try{$r.onCommitFiberUnmount(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function tr(e){if(typeof ea=="function"&&(dm(e),c(e)),$r&&typeof $r.setStrictMode=="function")try{$r.setStrictMode(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Bi(e){Ze=e}function jl(){{for(var e=new Map,t=1,s=0;s<_;s++){var u=Rb(t);e.set(t,u),t*=2}return e}}function Ep(e){Ze!==null&&typeof Ze.markCommitStarted=="function"&&Ze.markCommitStarted(e)}function Vu(){Ze!==null&&typeof Ze.markCommitStopped=="function"&&Ze.markCommitStopped()}function Za(e){Ze!==null&&typeof Ze.markComponentRenderStarted=="function"&&Ze.markComponentRenderStarted(e)}function ta(){Ze!==null&&typeof Ze.markComponentRenderStopped=="function"&&Ze.markComponentRenderStopped()}function zc(e){Ze!==null&&typeof Ze.markComponentPassiveEffectMountStarted=="function"&&Ze.markComponentPassiveEffectMountStarted(e)}function nf(){Ze!==null&&typeof Ze.markComponentPassiveEffectMountStopped=="function"&&Ze.markComponentPassiveEffectMountStopped()}function ms(e){Ze!==null&&typeof Ze.markComponentPassiveEffectUnmountStarted=="function"&&Ze.markComponentPassiveEffectUnmountStarted(e)}function Xs(){Ze!==null&&typeof Ze.markComponentPassiveEffectUnmountStopped=="function"&&Ze.markComponentPassiveEffectUnmountStopped()}function rf(e){Ze!==null&&typeof Ze.markComponentLayoutEffectMountStarted=="function"&&Ze.markComponentLayoutEffectMountStarted(e)}function fm(){Ze!==null&&typeof Ze.markComponentLayoutEffectMountStopped=="function"&&Ze.markComponentLayoutEffectMountStopped()}function Uc(e){Ze!==null&&typeof Ze.markComponentLayoutEffectUnmountStarted=="function"&&Ze.markComponentLayoutEffectUnmountStarted(e)}function Tp(){Ze!==null&&typeof Ze.markComponentLayoutEffectUnmountStopped=="function"&&Ze.markComponentLayoutEffectUnmountStopped()}function Hc(e,t,s){Ze!==null&&typeof Ze.markComponentErrored=="function"&&Ze.markComponentErrored(e,t,s)}function jo(e,t,s){Ze!==null&&typeof Ze.markComponentSuspended=="function"&&Ze.markComponentSuspended(e,t,s)}function zl(e){Ze!==null&&typeof Ze.markLayoutEffectsStarted=="function"&&Ze.markLayoutEffectsStarted(e)}function qc(){Ze!==null&&typeof Ze.markLayoutEffectsStopped=="function"&&Ze.markLayoutEffectsStopped()}function Ul(e){Ze!==null&&typeof Ze.markPassiveEffectsStarted=="function"&&Ze.markPassiveEffectsStarted(e)}function Ap(){Ze!==null&&typeof Ze.markPassiveEffectsStopped=="function"&&Ze.markPassiveEffectsStopped()}function Hl(e){Ze!==null&&typeof Ze.markRenderStarted=="function"&&Ze.markRenderStarted(e)}function Fp(){Ze!==null&&typeof Ze.markRenderYielded=="function"&&Ze.markRenderYielded()}function af(){Ze!==null&&typeof Ze.markRenderStopped=="function"&&Ze.markRenderStopped()}function hr(e){Ze!==null&&typeof Ze.markRenderScheduled=="function"&&Ze.markRenderScheduled(e)}function Vc(e,t){Ze!==null&&typeof Ze.markForceUpdateScheduled=="function"&&Ze.markForceUpdateScheduled(e,t)}function Js(e,t){Ze!==null&&typeof Ze.markStateUpdateScheduled=="function"&&Ze.markStateUpdateScheduled(e,t)}var _t=0,rn=1,En=2,qn=8,Tn=16,Ir=Math.clz32?Math.clz32:k,f=Math.log,g=Math.LN2;function k(e){var t=e>>>0;return t===0?32:31-(f(t)/g|0)|0}var _=31,E=0,M=0,U=1,ve=2,Ie=4,et=8,qe=16,Gt=32,Jt=4194240,Kt=64,Mn=128,_r=256,jr=512,Wr=1024,ft=2048,an=4096,xr=8192,vr=16384,Pr=32768,gs=65536,Wu=131072,ql=262144,Wc=524288,$p=1048576,pm=2097152,Pp=130023424,Yc=4194304,hm=8388608,Np=16777216,mm=33554432,gm=67108864,cv=Yc,Op=134217728,dv=268435455,Rp=268435456,Gc=536870912,uo=1073741824;function Rb(e){{if(e&U)return"Sync";if(e&ve)return"InputContinuousHydration";if(e&Ie)return"InputContinuous";if(e&et)return"DefaultHydration";if(e&qe)return"Default";if(e&Gt)return"TransitionHydration";if(e&Jt)return"Transition";if(e&Pp)return"Retry";if(e&Op)return"SelectiveHydration";if(e&Rp)return"IdleHydration";if(e&Gc)return"Idle";if(e&uo)return"Offscreen"}}var dr=-1,Kc=Kt,vm=Yc;function Lp(e){switch(Yu(e)){case U:return U;case ve:return ve;case Ie:return Ie;case et:return et;case qe:return qe;case Gt:return Gt;case Kt:case Mn:case _r:case jr:case Wr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:return e&Jt;case Yc:case hm:case Np:case mm:case gm:return e&Pp;case Op:return Op;case Rp:return Rp;case Gc:return Gc;case uo:return uo;default:return m("Should have found matching lanes. This is a bug in React."),e}}function ym(e,t){var s=e.pendingLanes;if(s===E)return E;var u=E,p=e.suspendedLanes,y=e.pingedLanes,w=s&dv;if(w!==E){var x=w&~p;if(x!==E)u=Lp(x);else{var A=w&y;A!==E&&(u=Lp(A))}}else{var L=s&~p;L!==E?u=Lp(L):y!==E&&(u=Lp(y))}if(u===E)return E;if(t!==E&&t!==u&&(t&p)===E){var j=Yu(u),re=Yu(t);if(j>=re||j===qe&&(re&Jt)!==E)return t}(u&Ie)!==E&&(u|=s&qe);var te=e.entangledLanes;if(te!==E)for(var ue=e.entanglements,ge=u&te;ge>0;){var Se=na(ge),tt=1<<Se;u|=ue[Se],ge&=~tt}return u}function vs(e,t){for(var s=e.eventTimes,u=dr;t>0;){var p=na(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function fv(e,t){switch(e){case U:case ve:case Ie:return t+250;case et:case qe:case Gt:case Kt:case Mn:case _r:case jr:case Wr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:return t+5e3;case Yc:case hm:case Np:case mm:case gm:return dr;case Op:case Rp:case Gc:case uo:return dr;default:return m("Should have found matching lanes. This is a bug in React."),dr}}function bm(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var x=na(w),A=1<<x,L=y[x];L===dr?((A&u)===E||(A&p)!==E)&&(y[x]=fv(A,t)):L<=t&&(e.expiredLanes|=A),w&=~A}}function Lb(e){return Lp(e.pendingLanes)}function km(e){var t=e.pendingLanes&-1073741825;return t!==E?t:t&uo?uo:E}function Bb(e){return(e&U)!==E}function Bp(e){return(e&dv)!==E}function Qc(e){return(e&Pp)===e}function pv(e){var t=U|Ie|qe;return(e&t)===E}function hv(e){return(e&Jt)===e}function wm(e,t){var s=ve|Ie|et|qe;return(t&s)!==E}function Mb(e,t){return(t&e.expiredLanes)!==E}function mv(e){return(e&Jt)!==E}function gv(){var e=Kc;return Kc<<=1,(Kc&Jt)===E&&(Kc=Kt),e}function Ib(){var e=vm;return vm<<=1,(vm&Pp)===E&&(vm=Yc),e}function Yu(e){return e&-e}function Mp(e){return Yu(e)}function na(e){return 31-Ir(e)}function Pa(e){return na(e)}function Mi(e,t){return(e&t)!==E}function Xc(e,t){return(e&t)===t}function Zt(e,t){return e|t}function Ip(e,t){return e&~t}function vv(e,t){return e&t}function yv(e,t){return e!==M&&e<t?e:t}function Dm(e){for(var t=[],s=0;s<_;s++)t.push(e);return t}function Jc(e,t,s){e.pendingLanes|=t,t!==Gc&&(e.suspendedLanes=E,e.pingedLanes=E);var u=e.eventTimes,p=Pa(t);u[p]=s}function jb(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=na(u),y=1<<p;s[p]=dr,u&=~y}}function bv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function kv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=E,e.pingedLanes=E,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var x=na(w),A=1<<x;u[x]=E,p[x]=dr,y[x]=dr,w&=~A}}function jp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=na(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function zb(e,t){var s=Yu(t),u;switch(s){case Ie:u=ve;break;case qe:u=et;break;case Kt:case Mn:case _r:case jr:case Wr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:case Yc:case hm:case Np:case mm:case gm:u=Gt;break;case Gc:u=Rp;break;default:u=M;break}return(u&(e.suspendedLanes|t))!==M?M:u}function Sm(e,t,s){if(Ja)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=Pa(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function zp(e,t){if(Ja)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=Pa(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(x){var A=x.alternate;(A===null||!u.has(A))&&u.add(x)}),w.clear()),t&=~y}}function Ub(e,t){return null}var Ii=U,ys=Ie,Zs=qe,Zc=Gc,co=M;function bs(){return co}function ca(e){co=e}function wv(e,t){var s=co;try{return co=e,t()}finally{co=s}}function Hb(e,t){return e!==0&&e<t?e:t}function qb(e,t){return e>t?e:t}function ed(e,t){return e!==0&&e<t}function Na(e){var t=Yu(e);return ed(Ii,t)?ed(ys,t)?Bp(t)?Zs:Zc:ys:Ii}function Cm(e){var t=e.current.memoizedState;return t.isDehydrated}var Vb;function _m(e){Vb=e}function ei(e){Vb(e)}var Dv;function pt(e){Dv=e}var td;function Wb(e){td=e}var Sv;function F2(e){Sv=e}var of;function xm(e){of=e}var Up=!1,Hp=[],Vl=null,Wl=null,el=null,nd=new Map,Yr=new Map,wa=[],Gu=["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","submit"];function Yb(e){return Gu.indexOf(e)>-1}function Gb(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function zo(e,t){switch(e){case"focusin":case"focusout":Vl=null;break;case"dragenter":case"dragleave":Wl=null;break;case"mouseover":case"mouseout":el=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;nd.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Yr.delete(u);break}}}function sf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Gb(t,s,u,p,y);if(t!==null){var x=hf(t);x!==null&&Dv(x)}return w}e.eventSystemFlags|=u;var A=e.targetContainers;return p!==null&&A.indexOf(p)===-1&&A.push(p),e}function tl(e,t,s,u,p){switch(t){case"focusin":{var y=p;return Vl=sf(Vl,e,t,s,u,y),!0}case"dragenter":{var w=p;return Wl=sf(Wl,e,t,s,u,w),!0}case"mouseover":{var x=p;return el=sf(el,e,t,s,u,x),!0}case"pointerover":{var A=p,L=A.pointerId;return nd.set(L,sf(nd.get(L)||null,e,t,s,u,A)),!0}case"gotpointercapture":{var j=p,re=j.pointerId;return Yr.set(re,sf(Yr.get(re)||null,e,t,s,u,j)),!0}}return!1}function Kb(e){var t=eh(e.target);if(t!==null){var s=fi(t);if(s!==null){var u=s.tag;if(u===K){var p=Mo(s);if(p!==null){e.blockedOn=p,of(e.priority,function(){td(s)});return}}else if(u===N){var y=s.stateNode;if(Cm(y)){e.blockedOn=$a(s);return}}}}e.blockedOn=null}function Qb(e){for(var t=Sv(),s={blockedOn:null,target:e,priority:t},u=0;u<wa.length&&ed(t,wa[u].priority);u++);wa.splice(u,0,s),u===0&&Kb(s)}function qp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Yl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);iv(y),p.target.dispatchEvent(y),ov()}else{var w=hf(u);return w!==null&&Dv(w),e.blockedOn=u,!1}t.shift()}return!0}function Cv(e,t,s){qp(e)&&s.delete(t)}function Xb(){Up=!1,Vl!==null&&qp(Vl)&&(Vl=null),Wl!==null&&qp(Wl)&&(Wl=null),el!==null&&qp(el)&&(el=null),nd.forEach(Cv),Yr.forEach(Cv)}function Vp(e,t){e.blockedOn===t&&(e.blockedOn=null,Up||(Up=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Xb)))}function Ku(e){if(Hp.length>0){Vp(Hp[0],e);for(var t=1;t<Hp.length;t++){var s=Hp[t];s.blockedOn===e&&(s.blockedOn=null)}}Vl!==null&&Vp(Vl,e),Wl!==null&&Vp(Wl,e),el!==null&&Vp(el,e);var u=function(x){return Vp(x,e)};nd.forEach(u),Yr.forEach(u);for(var p=0;p<wa.length;p++){var y=wa[p];y.blockedOn===e&&(y.blockedOn=null)}for(;wa.length>0;){var w=wa[0];if(w.blockedOn!==null)break;Kb(w),w.blockedOn===null&&wa.shift()}}var Qu=i.ReactCurrentBatchConfig,ji=!0;function An(e){ji=!!e}function Da(){return ji}function ra(e,t,s){var u=Wp(t),p;switch(u){case Ii:p=Oa;break;case ys:p=fo;break;case Zs:default:p=Xu;break}return p.bind(null,t,s,e)}function Oa(e,t,s,u){var p=bs(),y=Qu.transition;Qu.transition=null;try{ca(Ii),Xu(e,t,s,u)}finally{ca(p),Qu.transition=y}}function fo(e,t,s,u){var p=bs(),y=Qu.transition;Qu.transition=null;try{ca(ys),Xu(e,t,s,u)}finally{ca(p),Qu.transition=y}}function Xu(e,t,s,u){ji&&da(e,t,s,u)}function da(e,t,s,u){var p=Yl(e,t,s,u);if(p===null){q2(e,t,u,Ju,s),zo(e,u);return}if(tl(p,e,t,s,u)){u.stopPropagation();return}if(zo(e,u),t&Fi&&Yb(e)){for(;p!==null;){var y=hf(p);y!==null&&ei(y);var w=Yl(e,t,s,u);if(w===null&&q2(e,t,u,Ju,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}q2(e,t,u,null,s)}var Ju=null;function Yl(e,t,s,u){Ju=null;var p=yp(u),y=eh(p);if(y!==null){var w=fi(y);if(w===null)y=null;else{var x=w.tag;if(x===K){var A=Mo(w);if(A!==null)return A;y=null}else if(x===N){var L=w.stateNode;if(Cm(L))return $a(w);y=null}else w!==y&&(y=null)}}return Ju=y,null}function Wp(e){switch(e){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"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 Ii;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ys;case"message":{var t=jc();switch(t){case qu:return Ii;case Ks:return ys;case Io:case uv:return Zs;case hs:return Zc;default:return Zs}}default:return Zs}}function _v(e,t,s){return e.addEventListener(t,s,!1),s}function Yp(e,t,s){return e.addEventListener(t,s,!0),s}function zi(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function xv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var nl=null,ks=null,Zu=null;function Ev(e){return nl=e,ks=Gl(),!0}function ec(){nl=null,ks=null,Zu=null}function Gp(){if(Zu)return Zu;var e,t=ks,s=t.length,u,p=Gl(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var x=u>1?1-u:void 0;return Zu=p.slice(e,x),Zu}function Gl(){return"value"in nl?nl.value:nl.textContent}function rd(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function tc(){return!0}function Em(){return!1}function ti(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var x in e)if(e.hasOwnProperty(x)){var A=e[x];A?this[x]=A(y):this[x]=y[x]}var L=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return L?this.isDefaultPrevented=tc:this.isDefaultPrevented=Em,this.isPropagationStopped=Em,this}return Xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=tc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=tc)},persist:function(){},isPersistent:tc}),t}var Kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ra=ti(Kl),Uo=Xt({},Kl,{view:0,detail:0}),ws=ti(Uo),ni,Tm,ad;function Tv(e){e!==ad&&(ad&&e.type==="mousemove"?(ni=e.screenX-ad.screenX,Tm=e.screenY-ad.screenY):(ni=0,Tm=0),ad=e)}var Am=Xt({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$m,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:(Tv(e),ni)},movementY:function(e){return"movementY"in e?e.movementY:Tm}}),Ql=ti(Am),Jb=Xt({},Am,{dataTransfer:0}),Av=ti(Jb),id=Xt({},Uo,{relatedTarget:0}),Kp=ti(id),od=Xt({},Kl,{animationName:0,elapsedTime:0,pseudoElement:0}),Zb=ti(od),ek=Xt({},Kl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fv=ti(ek),Fm=Xt({},Kl,{data:0}),tk=ti(Fm),$2=tk,nk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rk={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"};function sd(e){if(e.key){var t=nk[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=rd(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?rk[e.keyCode]||"Unidentified":""}var P2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=P2[e];return u?!!s[u]:!1}function $m(e){return lf}var zr=Xt({},Uo,{key:sd,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$m,charCode:function(e){return e.type==="keypress"?rd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),N2=ti(zr),ak=Xt({},Am,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ik=ti(ak),O2=Xt({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$m}),ok=ti(O2),sk=Xt({},Kl,{propertyName:0,elapsedTime:0,pseudoElement:0}),R2=ti(sk),Ho=Xt({},Am,{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}),$v=ti(Ho),L2=[9,13,27,32],Xl=229,uf=en&&"CompositionEvent"in window,Ds=null;en&&"documentMode"in document&&(Ds=document.documentMode);var Pm=en&&"TextEvent"in window&&!Ds,Nm=en&&(!uf||Ds&&Ds>8&&Ds<=11),Om=32,lk=String.fromCharCode(Om);function Pv(){Rt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Rt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Rt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var uk=!1;function ck(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function dk(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Rm(e,t){return e==="keydown"&&t.keyCode===Xl}function Qp(e,t){switch(e){case"keyup":return L2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Xl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Lm(e){return e.locale==="ko"}var cf=!1;function fk(e,t,s,u,p){var y,w;if(uf?y=dk(t):cf?Qp(t,u)&&(y="onCompositionEnd"):Rm(t,u)&&(y="onCompositionStart"),!y)return null;Nm&&!Lm(u)&&(!cf&&y==="onCompositionStart"?cf=Ev(p):y==="onCompositionEnd"&&cf&&(w=Gp()));var x=bk(s,y);if(x.length>0){var A=new tk(y,t,null,u,p);if(e.push({event:A,listeners:x}),w)A.data=w;else{var L=Nv(u);L!==null&&(A.data=L)}}}function Ov(e,t){switch(e){case"compositionend":return Nv(t);case"keypress":var s=t.which;return s!==Om?null:(uk=!0,lk);case"textInput":var u=t.data;return u===lk&&uk?null:u;default:return null}}function Bm(e,t){if(cf){if(e==="compositionend"||!uf&&Qp(e,t)){var s=Gp();return ec(),cf=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!ck(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nm&&!Lm(t)?null:t.data;default:return null}}function Rv(e,t,s,u,p){var y;if(Pm?y=Ov(t,u):y=Bm(t,u),!y)return null;var w=bk(s,"onBeforeInput");if(w.length>0){var x=new $2("onBeforeInput","beforeinput",null,u,p);e.push({event:x,listeners:w}),x.data=y}}function Mm(e,t,s,u,p,y,w){fk(e,t,s,u,p),Rv(e,t,s,u,p)}var pk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!pk[e.type]:t==="textarea"}/**
|
|
180
|
+
Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];function xc(e){{Cu("select",e);for(var t=0;t<Ms.length;t++){var s=Ms[t];if(e[s]!=null){var u=Yt(e[s]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,gr()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,gr())}}}}function as(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},x=0;x<y.length;x++)w["$"+y[x]]=!0;for(var A=0;A<p.length;A++){var L=w.hasOwnProperty("$"+p[A].value);p[A].selected!==L&&(p[A].selected=L),L&&u&&(p[A].defaultSelected=!0)}}else{for(var j=Aa(Ei(s)),re=null,te=0;te<p.length;te++){if(p[te].value===j){p[te].selected=!0,u&&(p[te].defaultSelected=!0);return}re===null&&!p[te].disabled&&(re=p[te])}re!==null&&(re.selected=!0)}}function Ec(e,t){return Xt({},t,{value:void 0})}function xl(e,t){var s=e;xc(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Hn&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Hn=!0)}function Bd(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?as(s,!!t.multiple,u,!1):t.defaultValue!=null&&as(s,!!t.multiple,t.defaultValue,!0)}function Md(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?as(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?as(s,!!t.multiple,t.defaultValue,!0):as(s,!!t.multiple,t.multiple?[]:"",!1))}function ap(e,t){var s=e,u=t.value;u!=null&&as(s,!!t.multiple,u,!1)}var Kh=!1;function ip(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Xt({},t,{value:void 0,defaultValue:void 0,children:Aa(s._wrapperState.initialValue)});return u}function Id(e,t){var s=e;Cu("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Kh&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ba()||"A component"),Kh=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:Ei(u)}}function op(e,t){var s=e,u=Ei(t.value),p=Ei(t.defaultValue);if(u!=null){var y=Aa(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=Aa(p))}function Qh(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function sp(e,t){op(e,t)}var ui="http://www.w3.org/1999/xhtml",El="http://www.w3.org/1998/Math/MathML",Tc="http://www.w3.org/2000/svg";function lp(e){switch(e){case"svg":return Tc;case"math":return El;default:return ui}}function Tl(e,t){return e==null||e===ui?lp(t):e===Tc&&t==="foreignObject"?ui:e}var Xh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},$o,jd=Xh(function(e,t){if(e.namespaceURI===Tc&&!("innerHTML"in e)){$o=$o||document.createElement("div"),$o.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=$o.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Zr=1,Po=3,er=8,ci=9,Al=11,is=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Po){s.nodeValue=t;return}}e.textContent=t},Ac={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],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"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],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"],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"]},Is={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Jh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Zh=["Webkit","ms","Moz","O"];Object.keys(Is).forEach(function(e){Zh.forEach(function(t){Is[Jh(t,e)]=Is[e]})});function Fu(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(Is.hasOwnProperty(e)&&Is[e])?t+"px":(Rr(t,e),(""+t).trim())}var $u=/([A-Z])/g,js=/^ms-/;function Fl(e){return e.replace($u,"-$1").toLowerCase().replace(js,"-ms-")}var zd=function(){};{var up=/^(?:webkit|moz|o)[A-Z]/,ev=/^-ms-/,cp=/-(.)/g,dp=/;\s*$/,No={},$l={},Pu=!1,os=!1,tv=function(e){return e.replace(cp,function(t,s){return s.toUpperCase()})},em=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,tv(e.replace(ev,"ms-"))))},fp=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},pp=function(e,t){$l.hasOwnProperty(t)&&$l[t]||($l[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(dp,"")))},tm=function(e,t){Pu||(Pu=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},nm=function(e,t){os||(os=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};zd=function(e,t){e.indexOf("-")>-1?em(e):up.test(e)?fp(e):dp.test(t)&&pp(e,t),typeof t=="number"&&(isNaN(t)?tm(e,t):isFinite(t)||nm(e,t))}}var rm=zd;function nv(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Fl(u))+":",t+=Fu(u,p,y),s=";"}}return t||null}}function am(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||rm(u,t[u]);var y=Fu(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function rv(e){return e==null||typeof e=="boolean"||e===""}function im(e){var t={};for(var s in e)for(var u=Ac[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function om(e,t){{if(!t)return;var s=im(e),u=im(t),p={};for(var y in s){var w=s[y],x=u[y];if(x&&w!==x){var A=w+","+x;if(p[A])continue;p[A]=!0,m("%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.",rv(e[w])?"Removing":"Updating",w,x)}}}}var Fa={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zs=Xt({menuitem:!0},Fa),Ud="__html";function Hd(e,t){if(t){if(zs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Ud in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("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."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ss(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var 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",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",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",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",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"},qd={"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},Nu={},av=new RegExp("^(aria)-["+Oe+"]*$"),Ou=new RegExp("^(aria)[A-Z]["+Oe+"]*$");function Ru(e,t){{if(Qn.call(Nu,t)&&Nu[t])return!0;if(Ou.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=qd.hasOwnProperty(s)?s:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Nu[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Nu[t]=!0,!0}if(av.test(t)){var p=t.toLowerCase(),y=qd.hasOwnProperty(p)?p:null;if(y==null)return Nu[t]=!0,!1;if(t!==y)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Nu[t]=!0,!0}}return!0}function Pl(e,t){{var s=[];for(var u in t){var p=Ru(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function Lu(e,t){ss(e,t)||Pl(e,t)}var hp=!1;function Bu(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!hp&&(hp=!0,e==="select"&&t.multiple?m("`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):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Us=function(){};{var Vr={},mp=/^on./,Vd=/^on[^A-Z]/,Wd=new RegExp("^(aria)-["+Oe+"]*$"),gp=new RegExp("^(aria)[A-Z]["+Oe+"]*$");Us=function(e,t,s,u){if(Qn.call(Vr,t)&&Vr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return m("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."),Vr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var x=w.hasOwnProperty(p)?w[p]:null;if(x!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,x),Vr[t]=!0,!0;if(mp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Vr[t]=!0,!0}else if(mp.test(t))return Vd.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Vr[t]=!0,!0;if(Wd.test(t)||gp.test(t))return!0;if(p==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Vr[t]=!0,!0;if(p==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Vr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Vr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Vr[t]=!0,!0;var A=ga(t),L=A!==null&&A.type===un;if(Fc.hasOwnProperty(p)){var j=Fc[p];if(j!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,j),Vr[t]=!0,!0}else if(!L&&t!==p)return m("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,p),Vr[t]=!0,!0;return typeof s=="boolean"&&Tr(t,s,A,!1)?(s?m('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()}.',s,t,t,s,t):m('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.',s,t,t,s,t,t,t),Vr[t]=!0,!0):L?!0:Tr(t,s,A,!1)?(Vr[t]=!0,!1):((s==="false"||s==="true")&&A!==null&&A.type===ce&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),Vr[t]=!0),!0)}}var nn=function(e,t,s){{var u=[];for(var p in t){var y=Us(e,p,t[p],s);y||u.push(p)}var w=u.map(function(x){return"`"+x+"`"}).join(", ");u.length===1?m("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://reactjs.org/link/attribute-behavior ",w,e):u.length>1&&m("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://reactjs.org/link/attribute-behavior ",w,e)}};function $c(e,t,s){ss(e,t)||nn(e,t,s)}var Yd=1,Gd=2,Fi=4,vp=Yd|Gd|Fi,Nl=null;function iv(e){Nl!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nl=e}function ov(){Nl===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nl=null}function Pc(e){return e===Nl}function yp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Po?t.parentNode:t}var Kd=null,Ol=null,On=null;function Qd(e){var t=hf(e);if(t){if(typeof Kd!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode;if(s){var u=Pk(s);Kd(t.stateNode,t.type,u)}}}function Xd(e){Kd=e}function Mu(e){Ol?On?On.push(e):On=[e]:Ol=e}function sm(){return Ol!==null||On!==null}function Jd(){if(Ol){var e=Ol,t=On;if(Ol=null,On=null,Qd(e),t)for(var s=0;s<t.length;s++)Qd(t[s])}}var Iu=function(e,t){return e(t)},Nc=function(){},ls=!1;function bp(){var e=sm();e&&(Nc(),Jd())}function lm(e,t,s){if(ls)return e(t,s);ls=!0;try{return Iu(e,t,s)}finally{ls=!1,bp()}}function sv(e,t,s){Iu=e,Nc=s}function kp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Oc(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&kp(t));default:return!1}}function us(e,t){var s=e.stateNode;if(s===null)return null;var u=Pk(s);if(u===null)return null;var p=u[t];if(Oc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var ju=!1;if(en)try{var Hs={};Object.defineProperty(Hs,"passive",{get:function(){ju=!0}}),window.addEventListener("test",Hs,Hs),window.removeEventListener("test",Hs,Hs)}catch{ju=!1}function Rc(e,t,s,u,p,y,w,x,A){var L=Array.prototype.slice.call(arguments,3);try{t.apply(s,L)}catch(j){this.onError(j)}}var Oo=Rc;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Zd=document.createElement("react");Oo=function(e,t,s,u,p,y,w,x,A){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var L=document.createEvent("Event"),j=!1,re=!0,te=window.event,ue=Object.getOwnPropertyDescriptor(window,"event");function ge(){Zd.removeEventListener(se,tt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=te)}var Se=Array.prototype.slice.call(arguments,3);function tt(){j=!0,ge(),t.apply(s,Se),re=!1}var St,Pt=!1,hn=!1;function cn(De){if(St=De.error,Pt=!0,St===null&&De.colno===0&&De.lineno===0&&(hn=!0),De.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var se="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",cn),Zd.addEventListener(se,tt,!1),L.initEvent(se,!1,!1),Zd.dispatchEvent(L),ue&&Object.defineProperty(window,"event",ue),j&&re&&(Pt?hn&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",cn),!j)return ge(),Rc.apply(this,arguments)}}var $i=Oo,cs=!1,Lc=null,Rl=!1,di=null,Bc={onError:function(e){cs=!0,Lc=e}};function io(e,t,s,u,p,y,w,x,A){cs=!1,Lc=null,$i.apply(Bc,arguments)}function oo(e,t,s,u,p,y,w,x,A){if(io.apply(this,arguments),cs){var L=Mc();Rl||(Rl=!0,di=L)}}function qs(){if(Rl){var e=di;throw Rl=!1,di=null,e}}function ds(){return cs}function Mc(){if(cs){var e=Lc;return cs=!1,Lc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function zu(e){return e._reactInternals}function lv(e){return e._reactInternals!==void 0}function Ll(e,t){e._reactInternals=t}var Ct=0,Pi=1,Fr=2,mn=4,Ni=16,Ft=32,Wn=64,yt=128,ka=256,Yn=512,Wr=1024,Ga=2048,Oi=4096,Br=8192,Uu=16384,fs=32767,Ic=32768,Ka=65536,ps=131072,so=1048576,Bl=2097152,Ro=4194304,ef=8388608,lo=16777216,Lo=33554432,Vs=mn|Wr|0,Ws=Fr|mn|Ni|Ft|Yn|Oi|Br,Ys=mn|Wn|Yn|Br,Bo=Ga|Ni,Cr=Ro|ef|Bl,Ri=i.ReactCurrentOwner;function fi(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Fr|Oi))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===N?s:null}function Mo(e){if(e.tag===K){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function $a(e){return e.tag===N?e.stateNode.containerInfo:null}function Gs(e){return fi(e)===e}function um(e){{var t=Ri.current;if(t!==null&&t.tag===T){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Mt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=zu(e);return p?fi(p)===p:!1}function Ml(e){if(fi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Hu(e){var t=e.alternate;if(!t){var s=fi(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var x=y.return;if(x!==null){u=p=x;continue}break}if(y.child===w.child){for(var A=y.child;A;){if(A===u)return Ml(y),e;if(A===p)return Ml(y),t;A=A.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var L=!1,j=y.child;j;){if(j===u){L=!0,u=y,p=w;break}if(j===p){L=!0,p=y,u=w;break}j=j.sibling}if(!L){for(j=w.child;j;){if(j===u){L=!0,u=w,p=y;break}if(j===p){L=!0,p=w,u=y;break}j=j.sibling}if(!L)throw new 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(u.alternate!==p)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==N)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Qa(e){var t=Hu(e);return t!==null?Sn(t):null}function Sn(e){if(e.tag===B||e.tag===I)return e;for(var t=e.child;t!==null;){var s=Sn(t);if(s!==null)return s;t=t.sibling}return null}function cr(e){var t=Hu(e);return t!==null?Li(t):null}function Li(e){if(e.tag===B||e.tag===I)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var s=Li(t);if(s!==null)return s}t=t.sibling}return null}var wp=r.unstable_scheduleCallback,cm=r.unstable_cancelCallback,Dp=r.unstable_shouldYield,Sp=r.unstable_requestPaint,Mr=r.unstable_now,jc=r.unstable_getCurrentPriorityLevel,qu=r.unstable_ImmediatePriority,Ks=r.unstable_UserBlockingPriority,Io=r.unstable_NormalPriority,uv=r.unstable_LowPriority,hs=r.unstable_IdlePriority,ea=r.unstable_yieldValue,dm=r.unstable_setDisableYieldValue,Il=null,$r=null,Ze=null,Xa=!1,Ja=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Qs(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 m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{ot&&(e=Xt({},e,{getLaneLabelMap:jl,injectProfilingHooks:Bi})),Il=t.inject(e),$r=t}catch(s){m("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function Cp(e,t){if($r&&typeof $r.onScheduleFiberRoot=="function")try{$r.onScheduleFiberRoot(Il,e,t)}catch(s){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",s))}}function tf(e,t){if($r&&typeof $r.onCommitFiberRoot=="function")try{var s=(e.current.flags&yt)===yt;if(rt){var u;switch(t){case Ii:u=qu;break;case ys:u=Ks;break;case Zs:u=Io;break;case Zc:u=hs;break;default:u=Io;break}$r.onCommitFiberRoot(Il,e,u,s)}}catch(p){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",p))}}function _p(e){if($r&&typeof $r.onPostCommitFiberRoot=="function")try{$r.onPostCommitFiberRoot(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function xp(e){if($r&&typeof $r.onCommitFiberUnmount=="function")try{$r.onCommitFiberUnmount(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function tr(e){if(typeof ea=="function"&&(dm(e),c(e)),$r&&typeof $r.setStrictMode=="function")try{$r.setStrictMode(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Bi(e){Ze=e}function jl(){{for(var e=new Map,t=1,s=0;s<_;s++){var u=Rb(t);e.set(t,u),t*=2}return e}}function Ep(e){Ze!==null&&typeof Ze.markCommitStarted=="function"&&Ze.markCommitStarted(e)}function Vu(){Ze!==null&&typeof Ze.markCommitStopped=="function"&&Ze.markCommitStopped()}function Za(e){Ze!==null&&typeof Ze.markComponentRenderStarted=="function"&&Ze.markComponentRenderStarted(e)}function ta(){Ze!==null&&typeof Ze.markComponentRenderStopped=="function"&&Ze.markComponentRenderStopped()}function zc(e){Ze!==null&&typeof Ze.markComponentPassiveEffectMountStarted=="function"&&Ze.markComponentPassiveEffectMountStarted(e)}function nf(){Ze!==null&&typeof Ze.markComponentPassiveEffectMountStopped=="function"&&Ze.markComponentPassiveEffectMountStopped()}function ms(e){Ze!==null&&typeof Ze.markComponentPassiveEffectUnmountStarted=="function"&&Ze.markComponentPassiveEffectUnmountStarted(e)}function Xs(){Ze!==null&&typeof Ze.markComponentPassiveEffectUnmountStopped=="function"&&Ze.markComponentPassiveEffectUnmountStopped()}function rf(e){Ze!==null&&typeof Ze.markComponentLayoutEffectMountStarted=="function"&&Ze.markComponentLayoutEffectMountStarted(e)}function fm(){Ze!==null&&typeof Ze.markComponentLayoutEffectMountStopped=="function"&&Ze.markComponentLayoutEffectMountStopped()}function Uc(e){Ze!==null&&typeof Ze.markComponentLayoutEffectUnmountStarted=="function"&&Ze.markComponentLayoutEffectUnmountStarted(e)}function Tp(){Ze!==null&&typeof Ze.markComponentLayoutEffectUnmountStopped=="function"&&Ze.markComponentLayoutEffectUnmountStopped()}function Hc(e,t,s){Ze!==null&&typeof Ze.markComponentErrored=="function"&&Ze.markComponentErrored(e,t,s)}function jo(e,t,s){Ze!==null&&typeof Ze.markComponentSuspended=="function"&&Ze.markComponentSuspended(e,t,s)}function zl(e){Ze!==null&&typeof Ze.markLayoutEffectsStarted=="function"&&Ze.markLayoutEffectsStarted(e)}function qc(){Ze!==null&&typeof Ze.markLayoutEffectsStopped=="function"&&Ze.markLayoutEffectsStopped()}function Ul(e){Ze!==null&&typeof Ze.markPassiveEffectsStarted=="function"&&Ze.markPassiveEffectsStarted(e)}function Ap(){Ze!==null&&typeof Ze.markPassiveEffectsStopped=="function"&&Ze.markPassiveEffectsStopped()}function Hl(e){Ze!==null&&typeof Ze.markRenderStarted=="function"&&Ze.markRenderStarted(e)}function Fp(){Ze!==null&&typeof Ze.markRenderYielded=="function"&&Ze.markRenderYielded()}function af(){Ze!==null&&typeof Ze.markRenderStopped=="function"&&Ze.markRenderStopped()}function hr(e){Ze!==null&&typeof Ze.markRenderScheduled=="function"&&Ze.markRenderScheduled(e)}function Vc(e,t){Ze!==null&&typeof Ze.markForceUpdateScheduled=="function"&&Ze.markForceUpdateScheduled(e,t)}function Js(e,t){Ze!==null&&typeof Ze.markStateUpdateScheduled=="function"&&Ze.markStateUpdateScheduled(e,t)}var _t=0,rn=1,En=2,qn=8,Tn=16,Ir=Math.clz32?Math.clz32:k,f=Math.log,g=Math.LN2;function k(e){var t=e>>>0;return t===0?32:31-(f(t)/g|0)|0}var _=31,E=0,M=0,U=1,ve=2,Ie=4,et=8,qe=16,Gt=32,Jt=4194240,Kt=64,Mn=128,_r=256,jr=512,Yr=1024,ft=2048,an=4096,xr=8192,vr=16384,Pr=32768,gs=65536,Wu=131072,ql=262144,Wc=524288,$p=1048576,pm=2097152,Pp=130023424,Yc=4194304,hm=8388608,Np=16777216,mm=33554432,gm=67108864,cv=Yc,Op=134217728,dv=268435455,Rp=268435456,Gc=536870912,uo=1073741824;function Rb(e){{if(e&U)return"Sync";if(e&ve)return"InputContinuousHydration";if(e&Ie)return"InputContinuous";if(e&et)return"DefaultHydration";if(e&qe)return"Default";if(e&Gt)return"TransitionHydration";if(e&Jt)return"Transition";if(e&Pp)return"Retry";if(e&Op)return"SelectiveHydration";if(e&Rp)return"IdleHydration";if(e&Gc)return"Idle";if(e&uo)return"Offscreen"}}var dr=-1,Kc=Kt,vm=Yc;function Lp(e){switch(Yu(e)){case U:return U;case ve:return ve;case Ie:return Ie;case et:return et;case qe:return qe;case Gt:return Gt;case Kt:case Mn:case _r:case jr:case Yr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:return e&Jt;case Yc:case hm:case Np:case mm:case gm:return e&Pp;case Op:return Op;case Rp:return Rp;case Gc:return Gc;case uo:return uo;default:return m("Should have found matching lanes. This is a bug in React."),e}}function ym(e,t){var s=e.pendingLanes;if(s===E)return E;var u=E,p=e.suspendedLanes,y=e.pingedLanes,w=s&dv;if(w!==E){var x=w&~p;if(x!==E)u=Lp(x);else{var A=w&y;A!==E&&(u=Lp(A))}}else{var L=s&~p;L!==E?u=Lp(L):y!==E&&(u=Lp(y))}if(u===E)return E;if(t!==E&&t!==u&&(t&p)===E){var j=Yu(u),re=Yu(t);if(j>=re||j===qe&&(re&Jt)!==E)return t}(u&Ie)!==E&&(u|=s&qe);var te=e.entangledLanes;if(te!==E)for(var ue=e.entanglements,ge=u&te;ge>0;){var Se=na(ge),tt=1<<Se;u|=ue[Se],ge&=~tt}return u}function vs(e,t){for(var s=e.eventTimes,u=dr;t>0;){var p=na(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function fv(e,t){switch(e){case U:case ve:case Ie:return t+250;case et:case qe:case Gt:case Kt:case Mn:case _r:case jr:case Yr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:return t+5e3;case Yc:case hm:case Np:case mm:case gm:return dr;case Op:case Rp:case Gc:case uo:return dr;default:return m("Should have found matching lanes. This is a bug in React."),dr}}function bm(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var x=na(w),A=1<<x,L=y[x];L===dr?((A&u)===E||(A&p)!==E)&&(y[x]=fv(A,t)):L<=t&&(e.expiredLanes|=A),w&=~A}}function Lb(e){return Lp(e.pendingLanes)}function km(e){var t=e.pendingLanes&-1073741825;return t!==E?t:t&uo?uo:E}function Bb(e){return(e&U)!==E}function Bp(e){return(e&dv)!==E}function Qc(e){return(e&Pp)===e}function pv(e){var t=U|Ie|qe;return(e&t)===E}function hv(e){return(e&Jt)===e}function wm(e,t){var s=ve|Ie|et|qe;return(t&s)!==E}function Mb(e,t){return(t&e.expiredLanes)!==E}function mv(e){return(e&Jt)!==E}function gv(){var e=Kc;return Kc<<=1,(Kc&Jt)===E&&(Kc=Kt),e}function Ib(){var e=vm;return vm<<=1,(vm&Pp)===E&&(vm=Yc),e}function Yu(e){return e&-e}function Mp(e){return Yu(e)}function na(e){return 31-Ir(e)}function Pa(e){return na(e)}function Mi(e,t){return(e&t)!==E}function Xc(e,t){return(e&t)===t}function Zt(e,t){return e|t}function Ip(e,t){return e&~t}function vv(e,t){return e&t}function yv(e,t){return e!==M&&e<t?e:t}function Dm(e){for(var t=[],s=0;s<_;s++)t.push(e);return t}function Jc(e,t,s){e.pendingLanes|=t,t!==Gc&&(e.suspendedLanes=E,e.pingedLanes=E);var u=e.eventTimes,p=Pa(t);u[p]=s}function jb(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=na(u),y=1<<p;s[p]=dr,u&=~y}}function bv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function kv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=E,e.pingedLanes=E,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var x=na(w),A=1<<x;u[x]=E,p[x]=dr,y[x]=dr,w&=~A}}function jp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=na(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function zb(e,t){var s=Yu(t),u;switch(s){case Ie:u=ve;break;case qe:u=et;break;case Kt:case Mn:case _r:case jr:case Yr:case ft:case an:case xr:case vr:case Pr:case gs:case Wu:case ql:case Wc:case $p:case pm:case Yc:case hm:case Np:case mm:case gm:u=Gt;break;case Gc:u=Rp;break;default:u=M;break}return(u&(e.suspendedLanes|t))!==M?M:u}function Sm(e,t,s){if(Ja)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=Pa(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function zp(e,t){if(Ja)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=Pa(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(x){var A=x.alternate;(A===null||!u.has(A))&&u.add(x)}),w.clear()),t&=~y}}function Ub(e,t){return null}var Ii=U,ys=Ie,Zs=qe,Zc=Gc,co=M;function bs(){return co}function da(e){co=e}function wv(e,t){var s=co;try{return co=e,t()}finally{co=s}}function Hb(e,t){return e!==0&&e<t?e:t}function qb(e,t){return e>t?e:t}function ed(e,t){return e!==0&&e<t}function Na(e){var t=Yu(e);return ed(Ii,t)?ed(ys,t)?Bp(t)?Zs:Zc:ys:Ii}function Cm(e){var t=e.current.memoizedState;return t.isDehydrated}var Vb;function _m(e){Vb=e}function ei(e){Vb(e)}var Dv;function pt(e){Dv=e}var td;function Wb(e){td=e}var Sv;function F2(e){Sv=e}var of;function xm(e){of=e}var Up=!1,Hp=[],Vl=null,Wl=null,el=null,nd=new Map,Gr=new Map,wa=[],Gu=["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","submit"];function Yb(e){return Gu.indexOf(e)>-1}function Gb(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function zo(e,t){switch(e){case"focusin":case"focusout":Vl=null;break;case"dragenter":case"dragleave":Wl=null;break;case"mouseover":case"mouseout":el=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;nd.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Gr.delete(u);break}}}function sf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Gb(t,s,u,p,y);if(t!==null){var x=hf(t);x!==null&&Dv(x)}return w}e.eventSystemFlags|=u;var A=e.targetContainers;return p!==null&&A.indexOf(p)===-1&&A.push(p),e}function tl(e,t,s,u,p){switch(t){case"focusin":{var y=p;return Vl=sf(Vl,e,t,s,u,y),!0}case"dragenter":{var w=p;return Wl=sf(Wl,e,t,s,u,w),!0}case"mouseover":{var x=p;return el=sf(el,e,t,s,u,x),!0}case"pointerover":{var A=p,L=A.pointerId;return nd.set(L,sf(nd.get(L)||null,e,t,s,u,A)),!0}case"gotpointercapture":{var j=p,re=j.pointerId;return Gr.set(re,sf(Gr.get(re)||null,e,t,s,u,j)),!0}}return!1}function Kb(e){var t=eh(e.target);if(t!==null){var s=fi(t);if(s!==null){var u=s.tag;if(u===K){var p=Mo(s);if(p!==null){e.blockedOn=p,of(e.priority,function(){td(s)});return}}else if(u===N){var y=s.stateNode;if(Cm(y)){e.blockedOn=$a(s);return}}}}e.blockedOn=null}function Qb(e){for(var t=Sv(),s={blockedOn:null,target:e,priority:t},u=0;u<wa.length&&ed(t,wa[u].priority);u++);wa.splice(u,0,s),u===0&&Kb(s)}function qp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Yl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);iv(y),p.target.dispatchEvent(y),ov()}else{var w=hf(u);return w!==null&&Dv(w),e.blockedOn=u,!1}t.shift()}return!0}function Cv(e,t,s){qp(e)&&s.delete(t)}function Xb(){Up=!1,Vl!==null&&qp(Vl)&&(Vl=null),Wl!==null&&qp(Wl)&&(Wl=null),el!==null&&qp(el)&&(el=null),nd.forEach(Cv),Gr.forEach(Cv)}function Vp(e,t){e.blockedOn===t&&(e.blockedOn=null,Up||(Up=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Xb)))}function Ku(e){if(Hp.length>0){Vp(Hp[0],e);for(var t=1;t<Hp.length;t++){var s=Hp[t];s.blockedOn===e&&(s.blockedOn=null)}}Vl!==null&&Vp(Vl,e),Wl!==null&&Vp(Wl,e),el!==null&&Vp(el,e);var u=function(x){return Vp(x,e)};nd.forEach(u),Gr.forEach(u);for(var p=0;p<wa.length;p++){var y=wa[p];y.blockedOn===e&&(y.blockedOn=null)}for(;wa.length>0;){var w=wa[0];if(w.blockedOn!==null)break;Kb(w),w.blockedOn===null&&wa.shift()}}var Qu=i.ReactCurrentBatchConfig,ji=!0;function An(e){ji=!!e}function Da(){return ji}function ra(e,t,s){var u=Wp(t),p;switch(u){case Ii:p=Oa;break;case ys:p=fo;break;case Zs:default:p=Xu;break}return p.bind(null,t,s,e)}function Oa(e,t,s,u){var p=bs(),y=Qu.transition;Qu.transition=null;try{da(Ii),Xu(e,t,s,u)}finally{da(p),Qu.transition=y}}function fo(e,t,s,u){var p=bs(),y=Qu.transition;Qu.transition=null;try{da(ys),Xu(e,t,s,u)}finally{da(p),Qu.transition=y}}function Xu(e,t,s,u){ji&&fa(e,t,s,u)}function fa(e,t,s,u){var p=Yl(e,t,s,u);if(p===null){q2(e,t,u,Ju,s),zo(e,u);return}if(tl(p,e,t,s,u)){u.stopPropagation();return}if(zo(e,u),t&Fi&&Yb(e)){for(;p!==null;){var y=hf(p);y!==null&&ei(y);var w=Yl(e,t,s,u);if(w===null&&q2(e,t,u,Ju,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}q2(e,t,u,null,s)}var Ju=null;function Yl(e,t,s,u){Ju=null;var p=yp(u),y=eh(p);if(y!==null){var w=fi(y);if(w===null)y=null;else{var x=w.tag;if(x===K){var A=Mo(w);if(A!==null)return A;y=null}else if(x===N){var L=w.stateNode;if(Cm(L))return $a(w);y=null}else w!==y&&(y=null)}}return Ju=y,null}function Wp(e){switch(e){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"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 Ii;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ys;case"message":{var t=jc();switch(t){case qu:return Ii;case Ks:return ys;case Io:case uv:return Zs;case hs:return Zc;default:return Zs}}default:return Zs}}function _v(e,t,s){return e.addEventListener(t,s,!1),s}function Yp(e,t,s){return e.addEventListener(t,s,!0),s}function zi(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function xv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var nl=null,ks=null,Zu=null;function Ev(e){return nl=e,ks=Gl(),!0}function ec(){nl=null,ks=null,Zu=null}function Gp(){if(Zu)return Zu;var e,t=ks,s=t.length,u,p=Gl(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var x=u>1?1-u:void 0;return Zu=p.slice(e,x),Zu}function Gl(){return"value"in nl?nl.value:nl.textContent}function rd(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function tc(){return!0}function Em(){return!1}function ti(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var x in e)if(e.hasOwnProperty(x)){var A=e[x];A?this[x]=A(y):this[x]=y[x]}var L=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return L?this.isDefaultPrevented=tc:this.isDefaultPrevented=Em,this.isPropagationStopped=Em,this}return Xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=tc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=tc)},persist:function(){},isPersistent:tc}),t}var Kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ra=ti(Kl),Uo=Xt({},Kl,{view:0,detail:0}),ws=ti(Uo),ni,Tm,ad;function Tv(e){e!==ad&&(ad&&e.type==="mousemove"?(ni=e.screenX-ad.screenX,Tm=e.screenY-ad.screenY):(ni=0,Tm=0),ad=e)}var Am=Xt({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$m,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:(Tv(e),ni)},movementY:function(e){return"movementY"in e?e.movementY:Tm}}),Ql=ti(Am),Jb=Xt({},Am,{dataTransfer:0}),Av=ti(Jb),id=Xt({},Uo,{relatedTarget:0}),Kp=ti(id),od=Xt({},Kl,{animationName:0,elapsedTime:0,pseudoElement:0}),Zb=ti(od),ek=Xt({},Kl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fv=ti(ek),Fm=Xt({},Kl,{data:0}),tk=ti(Fm),$2=tk,nk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rk={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"};function sd(e){if(e.key){var t=nk[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=rd(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?rk[e.keyCode]||"Unidentified":""}var P2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=P2[e];return u?!!s[u]:!1}function $m(e){return lf}var zr=Xt({},Uo,{key:sd,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$m,charCode:function(e){return e.type==="keypress"?rd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),N2=ti(zr),ak=Xt({},Am,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ik=ti(ak),O2=Xt({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$m}),ok=ti(O2),sk=Xt({},Kl,{propertyName:0,elapsedTime:0,pseudoElement:0}),R2=ti(sk),Ho=Xt({},Am,{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}),$v=ti(Ho),L2=[9,13,27,32],Xl=229,uf=en&&"CompositionEvent"in window,Ds=null;en&&"documentMode"in document&&(Ds=document.documentMode);var Pm=en&&"TextEvent"in window&&!Ds,Nm=en&&(!uf||Ds&&Ds>8&&Ds<=11),Om=32,lk=String.fromCharCode(Om);function Pv(){Rt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Rt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Rt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var uk=!1;function ck(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function dk(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Rm(e,t){return e==="keydown"&&t.keyCode===Xl}function Qp(e,t){switch(e){case"keyup":return L2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Xl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Lm(e){return e.locale==="ko"}var cf=!1;function fk(e,t,s,u,p){var y,w;if(uf?y=dk(t):cf?Qp(t,u)&&(y="onCompositionEnd"):Rm(t,u)&&(y="onCompositionStart"),!y)return null;Nm&&!Lm(u)&&(!cf&&y==="onCompositionStart"?cf=Ev(p):y==="onCompositionEnd"&&cf&&(w=Gp()));var x=bk(s,y);if(x.length>0){var A=new tk(y,t,null,u,p);if(e.push({event:A,listeners:x}),w)A.data=w;else{var L=Nv(u);L!==null&&(A.data=L)}}}function Ov(e,t){switch(e){case"compositionend":return Nv(t);case"keypress":var s=t.which;return s!==Om?null:(uk=!0,lk);case"textInput":var u=t.data;return u===lk&&uk?null:u;default:return null}}function Bm(e,t){if(cf){if(e==="compositionend"||!uf&&Qp(e,t)){var s=Gp();return ec(),cf=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!ck(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nm&&!Lm(t)?null:t.data;default:return null}}function Rv(e,t,s,u,p){var y;if(Pm?y=Ov(t,u):y=Bm(t,u),!y)return null;var w=bk(s,"onBeforeInput");if(w.length>0){var x=new $2("onBeforeInput","beforeinput",null,u,p);e.push({event:x,listeners:w}),x.data=y}}function Mm(e,t,s,u,p,y,w){fk(e,t,s,u,p),Rv(e,t,s,u,p)}var pk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!pk[e.type]:t==="textarea"}/**
|
|
181
181
|
* Checks if an event is supported in the current execution environment.
|
|
182
182
|
*
|
|
183
183
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -189,8 +189,8 @@ Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];functio
|
|
|
189
189
|
* @return {boolean} True if the event is supported.
|
|
190
190
|
* @internal
|
|
191
191
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
192
|
-
*/function Im(e){if(!en)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function B2(){Rt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function df(e,t,s,u){Mu(u);var p=bk(t,"onChange");if(p.length>0){var y=new Ra("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Xp=null,nc=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];df(t,nc,e,yp(e)),lm(d,t)}function d(e){rT(e,0)}function v(e){var t=Vm(e);if(Fo(t))return e}function b(e,t){if(e==="change")return t}var S=!1;en&&(S=Im("input")&&(!document.documentMode||document.documentMode>9));function P(e,t){Xp=e,nc=t,Xp.attachEvent("onpropertychange",X)}function H(){Xp&&(Xp.detachEvent("onpropertychange",X),Xp=null,nc=null)}function X(e){e.propertyName==="value"&&v(nc)&&o(e)}function me(e,t,s){e==="focusin"?(H(),P(t,s)):e==="focusout"&&H()}function Ne(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v(nc)}function Be(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Pe(e,t){if(e==="click")return v(t)}function st(e,t){if(e==="input"||e==="change")return v(t)}function mt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Tt(e,"number",e.value)}function kt(e,t,s,u,p,y,w){var x=s?Vm(s):window,A,L;if(a(x)?A=b:hk(x)?S?A=st:(A=Ne,L=me):Be(x)&&(A=Pe),A){var j=A(t,s);if(j){df(e,j,u,p);return}}L&&L(t,x,s),t==="focusout"&&mt(x)}function Gr(){fn("onMouseEnter",["mouseout","mouseover"]),fn("onMouseLeave",["mouseout","mouseover"]),fn("onPointerEnter",["pointerout","pointerover"]),fn("onPointerLeave",["pointerout","pointerover"])}function oe(e,t,s,u,p,y,w){var x=t==="mouseover"||t==="pointerover",A=t==="mouseout"||t==="pointerout";if(x&&!Pc(u)){var L=u.relatedTarget||u.fromElement;if(L&&(eh(L)||Kv(L)))return}if(!(!A&&!x)){var j;if(p.window===p)j=p;else{var re=p.ownerDocument;re?j=re.defaultView||re.parentWindow:j=window}var te,ue;if(A){var ge=u.relatedTarget||u.toElement;if(te=s,ue=ge?eh(ge):null,ue!==null){var Se=fi(ue);(ue!==Se||ue.tag!==B&&ue.tag!==I)&&(ue=null)}}else te=null,ue=s;if(te!==ue){var tt=Ql,St="onMouseLeave",Pt="onMouseEnter",hn="mouse";(t==="pointerout"||t==="pointerover")&&(tt=ik,St="onPointerLeave",Pt="onPointerEnter",hn="pointer");var cn=te==null?j:Vm(te),se=ue==null?j:Vm(ue),De=new tt(St,hn+"leave",te,u,p);De.target=cn,De.relatedTarget=se;var le=null,je=eh(p);if(je===s){var ut=new tt(Pt,hn+"enter",ue,u,p);ut.target=se,ut.relatedTarget=cn,le=ut}m8(e,De,le,te,ue)}}}function ne(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ie=typeof Object.is=="function"?Object.is:ne;function Ue(e,t){if(ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!Qn.call(t,y)||!ie(e[y],t[y]))return!1}return!0}function wt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function $t(e,t){for(var s=wt(e),u=0,p=0;s;){if(s.nodeType===Po){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=wt(Nt(s))}}function zt(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,x=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return Sa(e,p,y,w,x)}function Sa(e,t,s,u,p){var y=0,w=-1,x=-1,A=0,L=0,j=e,re=null;e:for(;;){for(var te=null;j===t&&(s===0||j.nodeType===Po)&&(w=y+s),j===u&&(p===0||j.nodeType===Po)&&(x=y+p),j.nodeType===Po&&(y+=j.nodeValue.length),(te=j.firstChild)!==null;)re=j,j=te;for(;;){if(j===e)break e;if(re===t&&++A===s&&(w=y),re===u&&++L===p&&(x=y),(te=j.nextSibling)!==null)break;j=re,re=j.parentNode}j=te}return w===-1||x===-1?null:{start:w,end:x}}function Rn(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),x=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>x){var A=x;x=w,w=A}var L=$t(e,w),j=$t(e,x);if(L&&j){if(p.rangeCount===1&&p.anchorNode===L.node&&p.anchorOffset===L.offset&&p.focusNode===j.node&&p.focusOffset===j.offset)return;var re=s.createRange();re.setStart(L.node,L.offset),p.removeAllRanges(),w>x?(p.addRange(re),p.extend(j.node,j.offset)):(re.setEnd(j.node,j.offset),p.addRange(re))}}}function Jl(e){return e&&e.nodeType===Po}function mk(e,t){return!e||!t?!1:e===t?!0:Jl(e)?!1:Jl(t)?mk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function X4(e){return e&&e.ownerDocument&&mk(e.ownerDocument.documentElement,e)}function J4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function YE(){for(var e=window,t=Ai();t instanceof e.HTMLIFrameElement;){if(J4(t))e=t.contentWindow;else return t;t=Ai(e.document)}return t}function M2(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 Z4(){var e=YE();return{focusedElem:e,selectionRange:M2(e)?t8(e):null}}function e8(e){var t=YE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&X4(s)){u!==null&&M2(s)&&n8(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===Zr&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var x=p[w];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}}function t8(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=zt(e),t||{start:0,end:0}}function n8(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Rn(e,t)}var r8=en&&"documentMode"in document&&document.documentMode<=11;function a8(){Rt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var jm=null,I2=null,Lv=null,j2=!1;function i8(e){if("selectionStart"in e&&M2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function o8(e){return e.window===e?e.document:e.nodeType===ci?e:e.ownerDocument}function GE(e,t,s){var u=o8(s);if(!(j2||jm==null||jm!==Ai(u))){var p=i8(jm);if(!Lv||!Ue(Lv,p)){Lv=p;var y=bk(I2,"onSelect");if(y.length>0){var w=new Ra("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=jm}}}}function s8(e,t,s,u,p,y,w){var x=s?Vm(s):window;switch(t){case"focusin":(hk(x)||x.contentEditable==="true")&&(jm=x,I2=s,Lv=null);break;case"focusout":jm=null,I2=null,Lv=null;break;case"mousedown":j2=!0;break;case"contextmenu":case"mouseup":case"dragend":j2=!1,GE(e,u,p);break;case"selectionchange":if(r8)break;case"keydown":case"keyup":GE(e,u,p)}}function gk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var zm={animationend:gk("Animation","AnimationEnd"),animationiteration:gk("Animation","AnimationIteration"),animationstart:gk("Animation","AnimationStart"),transitionend:gk("Transition","TransitionEnd")},z2={},KE={};en&&(KE=document.createElement("div").style,"AnimationEvent"in window||(delete zm.animationend.animation,delete zm.animationiteration.animation,delete zm.animationstart.animation),"TransitionEvent"in window||delete zm.transitionend.transition);function vk(e){if(z2[e])return z2[e];if(!zm[e])return e;var t=zm[e];for(var s in t)if(t.hasOwnProperty(s)&&s in KE)return z2[e]=t[s];return e}var QE=vk("animationend"),XE=vk("animationiteration"),JE=vk("animationstart"),ZE=vk("transitionend"),eT=new Map,tT=["abort","auxClick","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"];function ff(e,t){eT.set(e,t),Rt(t,[e])}function l8(){for(var e=0;e<tT.length;e++){var t=tT[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);ff(s,"on"+u)}ff(QE,"onAnimationEnd"),ff(XE,"onAnimationIteration"),ff(JE,"onAnimationStart"),ff("dblclick","onDoubleClick"),ff("focusin","onFocus"),ff("focusout","onBlur"),ff(ZE,"onTransitionEnd")}function u8(e,t,s,u,p,y,w){var x=eT.get(t);if(x!==void 0){var A=Ra,L=t;switch(t){case"keypress":if(rd(u)===0)return;case"keydown":case"keyup":A=N2;break;case"focusin":L="focus",A=Kp;break;case"focusout":L="blur",A=Kp;break;case"beforeblur":case"afterblur":A=Kp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Ql;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=ok;break;case QE:case XE:case JE:A=Zb;break;case ZE:A=R2;break;case"scroll":A=ws;break;case"wheel":A=$v;break;case"copy":case"cut":case"paste":A=Fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=ik;break}var j=(y&Fi)!==0;{var re=!j&&t==="scroll",te=p8(s,x,u.type,j,re);if(te.length>0){var ue=new A(x,L,null,u,p);e.push({event:ue,listeners:te})}}}}l8(),Gr(),B2(),a8(),Pv();function c8(e,t,s,u,p,y,w){u8(e,t,s,u,p,y);var x=(y&vp)===0;x&&(oe(e,t,s,u,p),kt(e,t,s,u,p),s8(e,t,s,u,p),Mm(e,t,s,u,p))}var Bv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],U2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Bv));function nT(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,oo(u,t,void 0,e),e.currentTarget=null}function d8(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,x=y.currentTarget,A=y.listener;if(w!==u&&e.isPropagationStopped())return;nT(e,A,x),u=w}else for(var L=0;L<t.length;L++){var j=t[L],re=j.instance,te=j.currentTarget,ue=j.listener;if(re!==u&&e.isPropagationStopped())return;nT(e,ue,te),u=re}}function rT(e,t){for(var s=(t&Fi)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;d8(y,w,s)}qs()}function f8(e,t,s,u,p){var y=yp(s),w=[];c8(w,e,u,s,y,t),rT(w,t)}function Nr(e,t){U2.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=U6(t),p=g8(e);u.has(p)||(aT(t,e,Gd,s),u.add(p))}function H2(e,t,s){U2.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=Fi),aT(s,e,u,t)}var yk="_reactListening"+Math.random().toString(36).slice(2);function Mv(e){if(!e[yk]){e[yk]=!0,ht.forEach(function(s){s!=="selectionchange"&&(U2.has(s)||H2(s,!1,e),H2(s,!0,e))});var t=e.nodeType===ci?e:e.ownerDocument;t!==null&&(t[yk]||(t[yk]=!0,H2("selectionchange",!1,t)))}}function aT(e,t,s,u,p){var y=ra(e,t,s),w=void 0;ju&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?zi(e,t,y,w):Yp(e,t,y):w!==void 0?xv(e,t,y,w):_v(e,t,y)}function iT(e,t){return e===t||e.nodeType===er&&e.parentNode===t}function q2(e,t,s,u,p){var y=u;if(!(t&Yd)&&!(t&Gd)){var w=p;if(u!==null){var x=u;e:for(;;){if(x===null)return;var A=x.tag;if(A===N||A===O){var L=x.stateNode.containerInfo;if(iT(L,w))break;if(A===O)for(var j=x.return;j!==null;){var re=j.tag;if(re===N||re===O){var te=j.stateNode.containerInfo;if(iT(te,w))return}j=j.return}for(;L!==null;){var ue=eh(L);if(ue===null)return;var ge=ue.tag;if(ge===B||ge===I){x=y=ue;continue e}L=L.parentNode}}x=x.return}}}lm(function(){return f8(e,t,s,y)})}function Iv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function p8(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,x=u?w:t,A=[],L=e,j=null;L!==null;){var re=L,te=re.stateNode,ue=re.tag;if(ue===B&&te!==null&&(j=te,x!==null)){var ge=us(L,x);ge!=null&&A.push(Iv(L,ge,j))}if(p)break;L=L.return}return A}function bk(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,x=y.tag;if(x===B&&w!==null){var A=w,L=us(p,s);L!=null&&u.unshift(Iv(p,L,A));var j=us(p,t);j!=null&&u.push(Iv(p,j,A))}p=p.return}return u}function Um(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==B);return e||null}function h8(e,t){for(var s=e,u=t,p=0,y=s;y;y=Um(y))p++;for(var w=0,x=u;x;x=Um(x))w++;for(;p-w>0;)s=Um(s),p--;for(;w-p>0;)u=Um(u),w--;for(var A=p;A--;){if(s===u||u!==null&&s===u.alternate)return s;s=Um(s),u=Um(u)}return null}function oT(e,t,s,u,p){for(var y=t._reactName,w=[],x=s;x!==null&&x!==u;){var A=x,L=A.alternate,j=A.stateNode,re=A.tag;if(L!==null&&L===u)break;if(re===B&&j!==null){var te=j;if(p){var ue=us(x,y);ue!=null&&w.unshift(Iv(x,ue,te))}else if(!p){var ge=us(x,y);ge!=null&&w.push(Iv(x,ge,te))}}x=x.return}w.length!==0&&e.push({event:t,listeners:w})}function m8(e,t,s,u,p){var y=u&&p?h8(u,p):null;u!==null&&oT(e,t,u,y,!1),p!==null&&s!==null&&oT(e,s,p,y,!0)}function g8(e,t){return e+"__bubble"}var qo=!1,jv="dangerouslySetInnerHTML",kk="suppressContentEditableWarning",pf="suppressHydrationWarning",sT="autoFocus",Jp="children",Zp="style",wk="__html",V2,Dk,zv,lT,Sk,uT,cT;V2={dialog:!0,webview:!0},Dk=function(e,t){Lu(e,t),Bu(e,t),$c(e,t,{registrationNameDependencies:bt,possibleRegistrationNames:vt})},uT=en&&!document.documentMode,zv=function(e,t,s){if(!qo){var u=Ck(s),p=Ck(t);p!==u&&(qo=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},lT=function(e){if(!qo){qo=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},Sk=function(e,t){t===!1?m("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):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},cT=function(e,t){var s=e.namespaceURI===ui?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var v8=/\r\n?/g,y8=/\u0000|\uFFFD/g;function Ck(e){wr(e);var t=typeof e=="string"?e:""+e;return t.replace(v8,`
|
|
193
|
-
`).replace(y8,"")}function _k(e,t,s,u){var p=Ck(t),y=Ck(e);if(y!==p&&(u&&(qo||(qo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Le))throw new Error("Text content does not match server-rendered HTML.")}function dT(e){return e.nodeType===ci?e:e.ownerDocument}function b8(){}function xk(e){e.onclick=b8}function k8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===Zp)w&&Object.freeze(w),am(t,w);else if(y===jv){var x=w?w[wk]:void 0;x!=null&&jd(t,x)}else if(y===Jp)if(typeof w=="string"){var A=e!=="textarea"||w!=="";A&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===kk||y===pf||y===sT||(bt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&Sk(y,w),y==="onScroll"&&Nr("scroll",t)):w!=null&&lr(t,y,w,p))}}function w8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===Zp?am(e,w):y===jv?jd(e,w):y===Jp?is(e,w):lr(e,y,w,u)}}function D8(e,t,s,u){var p,y=dT(s),w,x=u;if(x===ui&&(x=lp(e)),x===ui){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=y.createElement("div");A.innerHTML="<script><\/script>";var L=A.firstChild;w=A.removeChild(L)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var j=w;t.multiple?j.multiple=!0:t.size&&(j.size=t.size)}}else w=y.createElementNS(x,e);return x===ui&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Qn.call(V2,e)&&(V2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function S8(e,t){return dT(t).createTextNode(e)}function C8(e,t,s,u){var p=ss(t,s);Dk(t,s);var y;switch(t){case"dialog":Nr("cancel",e),Nr("close",e),y=s;break;case"iframe":case"object":case"embed":Nr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Bv.length;w++)Nr(Bv[w],e);y=s;break;case"source":Nr("error",e),y=s;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),y=s;break;case"details":Nr("toggle",e),y=s;break;case"input":ao(e,s),y=Au(e,s),Nr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":xl(e,s),y=Ec(e,s),Nr("invalid",e);break;case"textarea":Id(e,s),y=ip(e,s),Nr("invalid",e);break;default:y=s}switch(Hd(t,y),k8(t,e,u,y,p),t){case"input":ro(e),fe(e,s,!1);break;case"textarea":ro(e),Qh(e);break;case"option":zn(e,s);break;case"select":Bd(e,s);break;default:typeof y.onClick=="function"&&xk(e);break}}function _8(e,t,s,u,p){Dk(t,u);var y=null,w,x;switch(t){case"input":w=Au(e,s),x=Au(e,u),y=[];break;case"select":w=Ec(e,s),x=Ec(e,u),y=[];break;case"textarea":w=ip(e,s),x=ip(e,u),y=[];break;default:w=s,x=u,typeof w.onClick!="function"&&typeof x.onClick=="function"&&xk(e);break}Hd(t,x);var A,L,j=null;for(A in w)if(!(x.hasOwnProperty(A)||!w.hasOwnProperty(A)||w[A]==null))if(A===Zp){var re=w[A];for(L in re)re.hasOwnProperty(L)&&(j||(j={}),j[L]="")}else A===jv||A===Jp||A===kk||A===pf||A===sT||(bt.hasOwnProperty(A)?y||(y=[]):(y=y||[]).push(A,null));for(A in x){var te=x[A],ue=w!=null?w[A]:void 0;if(!(!x.hasOwnProperty(A)||te===ue||te==null&&ue==null))if(A===Zp)if(te&&Object.freeze(te),ue){for(L in ue)ue.hasOwnProperty(L)&&(!te||!te.hasOwnProperty(L))&&(j||(j={}),j[L]="");for(L in te)te.hasOwnProperty(L)&&ue[L]!==te[L]&&(j||(j={}),j[L]=te[L])}else j||(y||(y=[]),y.push(A,j)),j=te;else if(A===jv){var ge=te?te[wk]:void 0,Se=ue?ue[wk]:void 0;ge!=null&&Se!==ge&&(y=y||[]).push(A,ge)}else A===Jp?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(A,""+te):A===kk||A===pf||(bt.hasOwnProperty(A)?(te!=null&&(typeof te!="function"&&Sk(A,te),A==="onScroll"&&Nr("scroll",e)),!y&&ue!==te&&(y=[])):(y=y||[]).push(A,te))}return j&&(om(j,x[Zp]),(y=y||[]).push(Zp,j)),y}function x8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&F(e,p);var y=ss(s,u),w=ss(s,p);switch(w8(e,t,y,w),s){case"input":q(e,p);break;case"textarea":op(e,p);break;case"select":Md(e,p);break}}function E8(e){{var t=e.toLowerCase();return Fc.hasOwnProperty(t)&&Fc[t]||null}}function T8(e,t,s,u,p,y,w){var x,A;switch(x=ss(t,s),Dk(t,s),t){case"dialog":Nr("cancel",e),Nr("close",e);break;case"iframe":case"object":case"embed":Nr("load",e);break;case"video":case"audio":for(var L=0;L<Bv.length;L++)Nr(Bv[L],e);break;case"source":Nr("error",e);break;case"img":case"image":case"link":Nr("error",e),Nr("load",e);break;case"details":Nr("toggle",e);break;case"input":ao(e,s),Nr("invalid",e);break;case"option":wn(e,s);break;case"select":xl(e,s),Nr("invalid",e);break;case"textarea":Id(e,s),Nr("invalid",e);break}Hd(t,s);{A=new Set;for(var j=e.attributes,re=0;re<j.length;re++){var te=j[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:A.add(j[re].name)}}}var ue=null;for(var ge in s)if(s.hasOwnProperty(ge)){var Se=s[ge];if(ge===Jp)typeof Se=="string"?e.textContent!==Se&&(s[pf]!==!0&&_k(e.textContent,Se,y,w),ue=[Jp,Se]):typeof Se=="number"&&e.textContent!==""+Se&&(s[pf]!==!0&&_k(e.textContent,Se,y,w),ue=[Jp,""+Se]);else if(bt.hasOwnProperty(ge))Se!=null&&(typeof Se!="function"&&Sk(ge,Se),ge==="onScroll"&&Nr("scroll",e));else if(w&&typeof x=="boolean"){var tt=void 0,St=ga(ge);if(s[pf]!==!0&&!(ge===kk||ge===pf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===jv){var Pt=e.innerHTML,hn=Se?Se[wk]:void 0;if(hn!=null){var cn=cT(e,hn);cn!==Pt&&zv(ge,Pt,cn)}}else if(ge===Zp){if(A.delete(ge),uT){var se=nv(Se);tt=e.getAttribute("style"),se!==tt&&zv(ge,tt,se)}}else if(x)A.delete(ge.toLowerCase()),tt=_i(e,ge,Se),Se!==tt&&zv(ge,tt,Se);else if(!_n(ge,St,x)&&!bn(ge,Se,St,x)){var De=!1;if(St!==null)A.delete(St.attributeName),tt=Xi(e,ge,Se,St);else{var le=u;if(le===ui&&(le=lp(t)),le===ui)A.delete(ge.toLowerCase());else{var je=E8(ge);je!==null&&je!==ge&&(De=!0,A.delete(je)),A.delete(ge)}tt=_i(e,ge,Se)}var ut=Q;!ut&&Se!==tt&&!De&&zv(ge,tt,Se)}}}}switch(w&&A.size>0&&s[pf]!==!0&&lT(A),t){case"input":ro(e),fe(e,s,!0);break;case"textarea":ro(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&xk(e);break}return ue}function A8(e,t,s){var u=e.nodeValue!==t;return u}function W2(e,t){{if(qo)return;qo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Y2(e,t){{if(qo)return;qo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function G2(e,t,s){{if(qo)return;qo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function K2(e,t){{if(t===""||qo)return;qo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function F8(e,t,s){switch(t){case"input":we(e,s);return;case"textarea":sp(e,s);return;case"select":ap(e,s);return}}var Uv=function(){},Hv=function(){};{var $8=["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"],fT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],P8=fT.concat(["button"]),N8=["dd","dt","li","option","optgroup","p","rp","rt"],pT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Hv=function(e,t){var s=Xt({},e||pT),u={tag:t};return fT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),P8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),$8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var O8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return N8.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},R8=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},hT={};Uv=function(e,t,s){s=s||pT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=O8(e,p)?null:u,w=y?null:R8(e,s),x=y||w;if(x){var A=x.tag,L=!!y+"|"+e+"|"+A;if(!hT[L]){hT[L]=!0;var j=e,re="";if(e==="#text"?/\S/.test(t)?j="Text nodes":(j="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):j="<"+e+">",y){var te="";A==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",j,A,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",j,A)}}}}var Ek="suppressHydrationWarning",Tk="$",Ak="/$",qv="$?",Vv="$!",L8="style",Q2=null,X2=null;function B8(e){var t,s,u=e.nodeType;switch(u){case ci:case Al:{t=u===ci?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===er?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var x=t.toLowerCase(),A=Hv(null,x);return{namespace:s,ancestorInfo:A}}}function M8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=Hv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function I8(e){Q2=Da(),X2=Z4();var t=null;return An(!1),t}function j8(e){e8(X2),An(Q2),Q2=null,X2=null}function z8(e,t,s,u,p){var y;{var w=u;if(Uv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var x=""+t.children,A=Hv(w.ancestorInfo,e);Uv(null,x,A)}y=w.namespace}var L=D8(e,t,s,y);return Gv(p,L),iD(L,t),L}function U8(e,t){e.appendChild(t)}function H8(e,t,s,u,p){switch(C8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function q8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var x=""+u.children,A=Hv(w.ancestorInfo,t);Uv(null,x,A)}}return _8(e,t,s,u)}function J2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function V8(e,t,s,u){{var p=s;Uv(null,e,p.ancestorInfo)}var y=S8(e,t);return Gv(u,y),y}function W8(){var e=window.event;return e===void 0?Zs:Wp(e.type)}var Z2=typeof setTimeout=="function"?setTimeout:void 0,Y8=typeof clearTimeout=="function"?clearTimeout:void 0,eD=-1,mT=typeof Promise=="function"?Promise:void 0,G8=typeof queueMicrotask=="function"?queueMicrotask:typeof mT<"u"?function(e){return mT.resolve(null).then(e).catch(K8)}:Z2;function K8(e){setTimeout(function(){throw e})}function Q8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function X8(e,t,s,u,p,y){x8(e,t,s,u,p),iD(e,p)}function gT(e){is(e,"")}function J8(e,t,s){e.nodeValue=s}function Z8(e,t){e.appendChild(t)}function e6(e,t){var s;e.nodeType===er?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&xk(s)}function t6(e,t,s){e.insertBefore(t,s)}function n6(e,t,s){e.nodeType===er?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function r6(e,t){e.removeChild(t)}function a6(e,t){e.nodeType===er?e.parentNode.removeChild(t):e.removeChild(t)}function tD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===er){var y=p.data;if(y===Ak)if(u===0){e.removeChild(p),Ku(t);return}else u--;else(y===Tk||y===qv||y===Vv)&&u++}s=p}while(s);Ku(t)}function i6(e,t){e.nodeType===er?tD(e.parentNode,t):e.nodeType===Zr&&tD(e,t),Ku(e)}function o6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function s6(e){e.nodeValue=""}function l6(e,t){e=e;var s=t[L8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Fu("display",u)}function u6(e,t){e.nodeValue=t}function c6(e){e.nodeType===Zr?e.textContent="":e.nodeType===ci&&e.documentElement&&e.removeChild(e.documentElement)}function d6(e,t,s){return e.nodeType!==Zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function f6(e,t){return t===""||e.nodeType!==Po?null:e}function p6(e){return e.nodeType!==er?null:e}function vT(e){return e.data===qv}function nD(e){return e.data===Vv}function h6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function m6(e,t){e._reactRetry=t}function Fk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Zr||t===Po)break;if(t===er){var s=e.data;if(s===Tk||s===Vv||s===qv)break;if(s===Ak)return null}}return e}function Wv(e){return Fk(e.nextSibling)}function g6(e){return Fk(e.firstChild)}function v6(e){return Fk(e.firstChild)}function y6(e){return Fk(e.nextSibling)}function b6(e,t,s,u,p,y,w){Gv(y,e),iD(e,s);var x;{var A=p;x=A.namespace}var L=(y.mode&rn)!==_t;return T8(e,t,s,x,u,L,w)}function k6(e,t,s,u){return Gv(s,e),s.mode&rn,A8(e,t)}function w6(e,t){Gv(t,e)}function D6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Ak){if(s===0)return Wv(t);s--}else(u===Tk||u===Vv||u===qv)&&s++}t=t.nextSibling}return null}function yT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Tk||u===Vv||u===qv){if(s===0)return t;s--}else u===Ak&&s++}t=t.previousSibling}return null}function S6(e){Ku(e)}function C6(e){Ku(e)}function _6(e){return e!=="head"&&e!=="body"}function x6(e,t,s,u){var p=!0;_k(t.nodeValue,s,u,p)}function E6(e,t,s,u,p,y){if(t[Ek]!==!0){var w=!0;_k(u.nodeValue,p,y,w)}}function T6(e,t){t.nodeType===Zr?W2(e,t):t.nodeType===er||Y2(e,t)}function A6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Zr?W2(s,t):t.nodeType===er||Y2(s,t))}}function F6(e,t,s,u,p){(p||t[Ek]!==!0)&&(u.nodeType===Zr?W2(s,u):u.nodeType===er||Y2(s,u))}function $6(e,t,s){G2(e,t)}function P6(e,t){K2(e,t)}function N6(e,t,s){{var u=e.parentNode;u!==null&&G2(u,t)}}function O6(e,t){{var s=e.parentNode;s!==null&&K2(s,t)}}function R6(e,t,s,u,p,y){(y||t[Ek]!==!0)&&G2(s,u)}function L6(e,t,s,u,p){(p||t[Ek]!==!0)&&K2(s,u)}function B6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function M6(e){Mv(e)}var Hm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Hm,rD="__reactProps$"+Hm,Yv="__reactContainer$"+Hm,aD="__reactEvents$"+Hm,I6="__reactListeners$"+Hm,j6="__reactHandles$"+Hm;function z6(e){delete e[qm],delete e[rD],delete e[aD],delete e[I6],delete e[j6]}function Gv(e,t){t[qm]=e}function $k(e,t){t[Yv]=e}function bT(e){e[Yv]=null}function Kv(e){return!!e[Yv]}function eh(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Yv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=yT(e);p!==null;){var y=p[qm];if(y)return y;p=yT(p)}return t}e=s,s=e.parentNode}return null}function hf(e){var t=e[qm]||e[Yv];return t&&(t.tag===B||t.tag===I||t.tag===K||t.tag===N)?t:null}function Vm(e){if(e.tag===B||e.tag===I)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Pk(e){return e[rD]||null}function iD(e,t){e[rD]=t}function U6(e){var t=e[aD];return t===void 0&&(t=e[aD]=new Set),t}var kT={},wT=i.ReactDebugCurrentFrame;function Nk(e){if(e){var t=e._owner,s=si(e.type,e._source,t?t.type:null);wT.setExtraStackFrame(s)}else wT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(Qn);for(var w in e)if(y(e,w)){var x=void 0;try{if(typeof e[w]!="function"){var A=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}x=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){x=L}x&&!(x instanceof Error)&&(Nk(p),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,w,typeof x),Nk(null)),x instanceof Error&&!(x.message in kT)&&(kT[x.message]=!0,Nk(p),m("Failed %s type: %s",s,x.message),Nk(null))}}}var oD=[],Ok;Ok=[];var ld=-1;function mf(e){return{current:e}}function Ui(e,t){if(ld<0){m("Unexpected pop.");return}t!==Ok[ld]&&m("Unexpected Fiber popped."),e.current=oD[ld],oD[ld]=null,Ok[ld]=null,ld--}function Hi(e,t,s){ld++,oD[ld]=e.current,Ok[ld]=s,e.current=t}var sD;sD={};var Ss={};Object.freeze(Ss);var ud=mf(Ss),rc=mf(!1),lD=Ss;function Wm(e,t,s){return s&&ac(t)?lD:ud.current}function DT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Ym(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var x=Mt(e)||"Unknown";Zl(u,y,"context",x)}return p&&DT(e,t,y),y}}function Rk(){return rc.current}function ac(e){{var t=e.childContextTypes;return t!=null}}function Lk(e){Ui(rc,e),Ui(ud,e)}function uD(e){Ui(rc,e),Ui(ud,e)}function ST(e,t,s){{if(ud.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Hi(ud,t,e),Hi(rc,s,e)}}function CT(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Mt(e)||"Unknown";sD[y]||(sD[y]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return s}var w=u.getChildContext();for(var x in w)if(!(x in p))throw new Error((Mt(e)||"Unknown")+'.getChildContext(): key "'+x+'" is not defined in childContextTypes.');{var A=Mt(e)||"Unknown";Zl(p,w,"child context",A)}return Xt({},s,w)}}function Bk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return lD=ud.current,Hi(ud,s,e),Hi(rc,rc.current,e),!0}}function _T(e,t,s){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var p=CT(e,t,lD);u.__reactInternalMemoizedMergedChildContext=p,Ui(rc,e),Ui(ud,e),Hi(ud,p,e),Hi(rc,s,e)}else Ui(rc,e),Hi(rc,s,e)}}function H6(e){{if(!Gs(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case N:return t.stateNode.context;case T:{var s=t.type;if(ac(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var gf=0,Mk=1,cd=null,cD=!1,dD=!1;function xT(e){cd===null?cd=[e]:cd.push(e)}function q6(e){cD=!0,xT(e)}function ET(){cD&&vf()}function vf(){if(!dD&&cd!==null){dD=!0;var e=0,t=bs();try{var s=!0,u=cd;for(ca(Ii);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}cd=null,cD=!1}catch(y){throw cd!==null&&(cd=cd.slice(e+1)),wp(qu,vf),y}finally{ca(t),dD=!1}}return null}var Gm=[],Km=0,Ik=null,jk=0,rl=[],al=0,th=null,dd=1,fd="";function V6(e){return rh(),(e.flags&so)!==Ct}function W6(e){return rh(),jk}function Y6(){var e=fd,t=dd,s=t&~G6(t);return s.toString(32)+e}function nh(e,t){rh(),Gm[Km++]=jk,Gm[Km++]=Ik,Ik=e,jk=t}function TT(e,t,s){rh(),rl[al++]=dd,rl[al++]=fd,rl[al++]=th,th=e;var u=dd,p=fd,y=zk(u)-1,w=u&~(1<<y),x=s+1,A=zk(t)+y;if(A>30){var L=y-y%5,j=(1<<L)-1,re=(w&j).toString(32),te=w>>L,ue=y-L,ge=zk(t)+ue,Se=x<<ue,tt=Se|te,St=re+p;dd=1<<ge|tt,fd=St}else{var Pt=x<<y,hn=Pt|w,cn=p;dd=1<<A|hn,fd=cn}}function fD(e){rh();var t=e.return;if(t!==null){var s=1,u=0;nh(e,s),TT(e,s,u)}}function zk(e){return 32-Ir(e)}function G6(e){return 1<<zk(e)-1}function pD(e){for(;e===Ik;)Ik=Gm[--Km],Gm[Km]=null,jk=Gm[--Km],Gm[Km]=null;for(;e===th;)th=rl[--al],rl[al]=null,fd=rl[--al],rl[al]=null,dd=rl[--al],rl[al]=null}function K6(){return rh(),th!==null?{id:dd,overflow:fd}:null}function Q6(e,t){rh(),rl[al++]=dd,rl[al++]=fd,rl[al++]=th,dd=t.id,fd=t.overflow,th=e}function rh(){hi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var pi=null,il=null,eu=!1,ah=!1,yf=null;function X6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function AT(){ah=!0}function J6(){return ah}function Z6(e){var t=e.stateNode.containerInfo;return il=v6(t),pi=e,eu=!0,yf=null,ah=!1,!0}function e5(e,t,s){return il=y6(t),pi=e,eu=!0,yf=null,ah=!1,s!==null&&Q6(e,s),!0}function FT(e,t){switch(e.tag){case N:{T6(e.stateNode.containerInfo,t);break}case B:{var s=(e.mode&rn)!==_t;F6(e.type,e.memoizedProps,e.stateNode,t,s);break}case K:{var u=e.memoizedState;u.dehydrated!==null&&A6(u.dehydrated,t);break}}}function $T(e,t){FT(e,t);var s=az();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Ni):u.push(s)}function hD(e,t){{if(ah)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case B:var u=t.type;t.pendingProps,$6(s,u);break;case I:var p=t.pendingProps;P6(s,p);break}break}case B:{var y=e.type,w=e.memoizedProps,x=e.stateNode;switch(t.tag){case B:{var A=t.type,L=t.pendingProps,j=(e.mode&rn)!==_t;R6(y,w,x,A,L,j);break}case I:{var re=t.pendingProps,te=(e.mode&rn)!==_t;L6(y,w,x,re,te);break}}break}case K:{var ue=e.memoizedState,ge=ue.dehydrated;if(ge!==null)switch(t.tag){case B:var Se=t.type;t.pendingProps,N6(ge,Se);break;case I:var tt=t.pendingProps;O6(ge,tt);break}break}default:return}}}function PT(e,t){t.flags=t.flags&-4097|Fr,hD(e,t)}function NT(e,t){switch(e.tag){case B:{var s=e.type;e.pendingProps;var u=d6(t,s);return u!==null?(e.stateNode=u,pi=e,il=g6(u),!0):!1}case I:{var p=e.pendingProps,y=f6(t,p);return y!==null?(e.stateNode=y,pi=e,il=null,!0):!1}case K:{var w=p6(t);if(w!==null){var x={dehydrated:w,treeContext:K6(),retryLane:uo};e.memoizedState=x;var A=iz(w);return A.return=e,e.child=A,pi=e,il=null,!0}return!1}default:return!1}}function mD(e){return(e.mode&rn)!==_t&&(e.flags&yt)===Ct}function gD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function vD(e){if(eu){var t=il;if(!t){mD(e)&&(hD(pi,e),gD()),PT(pi,e),eu=!1,pi=e;return}var s=t;if(!NT(e,t)){mD(e)&&(hD(pi,e),gD()),t=Wv(s);var u=pi;if(!t||!NT(e,t)){PT(pi,e),eu=!1,pi=e;return}$T(u,s)}}}function t5(e,t,s){var u=e.stateNode,p=!ah,y=b6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function n5(e){var t=e.stateNode,s=e.memoizedProps,u=k6(t,s,e);if(u){var p=pi;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&rn)!==_t;x6(y,t,s,w);break}case B:{var x=p.type,A=p.memoizedProps,L=p.stateNode,j=(p.mode&rn)!==_t;E6(x,A,L,t,s,j);break}}}return u}function r5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");w6(s,e)}function a5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return D6(s)}function OT(e){for(var t=e.return;t!==null&&t.tag!==B&&t.tag!==N&&t.tag!==K;)t=t.return;pi=t}function Uk(e){if(e!==pi)return!1;if(!eu)return OT(e),eu=!0,!1;if(e.tag!==N&&(e.tag!==B||_6(e.type)&&!J2(e.type,e.memoizedProps))){var t=il;if(t)if(mD(e))RT(e),gD();else for(;t;)$T(e,t),t=Wv(t)}return OT(e),e.tag===K?il=a5(e):il=pi?Wv(e.stateNode):null,!0}function i5(){return eu&&il!==null}function RT(e){for(var t=il;t;)FT(e,t),t=Wv(t)}function Qm(){pi=null,il=null,eu=!1,ah=!1}function LT(){yf!==null&&(AF(yf),yf=null)}function hi(){return eu}function yD(e){yf===null?yf=[e]:yf.push(e)}var o5=i.ReactCurrentBatchConfig,s5=null;function l5(){return o5.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var u5=function(e){for(var t=null,s=e;s!==null;)s.mode&qn&&(t=s),s=s.return;return t},ih=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Qv=[],Xv=[],Jv=[],Zv=[],ey=[],ty=[],oh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){oh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Qv.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillMount=="function"&&Xv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Jv.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Zv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ty.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Qv.length>0&&(Qv.forEach(function(te){e.add(Mt(te)||"Component"),oh.add(te.type)}),Qv=[]);var t=new Set;Xv.length>0&&(Xv.forEach(function(te){t.add(Mt(te)||"Component"),oh.add(te.type)}),Xv=[]);var s=new Set;Jv.length>0&&(Jv.forEach(function(te){s.add(Mt(te)||"Component"),oh.add(te.type)}),Jv=[]);var u=new Set;Zv.length>0&&(Zv.forEach(function(te){u.add(Mt(te)||"Component"),oh.add(te.type)}),Zv=[]);var p=new Set;ey.length>0&&(ey.forEach(function(te){p.add(Mt(te)||"Component"),oh.add(te.type)}),ey=[]);var y=new Set;if(ty.length>0&&(ty.forEach(function(te){y.add(Mt(te)||"Component"),oh.add(te.type)}),ty=[]),t.size>0){var w=ih(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
192
|
+
*/function Im(e){if(!en)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function B2(){Rt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function df(e,t,s,u){Mu(u);var p=bk(t,"onChange");if(p.length>0){var y=new Ra("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Xp=null,nc=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];df(t,nc,e,yp(e)),lm(d,t)}function d(e){rT(e,0)}function v(e){var t=Vm(e);if(Fo(t))return e}function b(e,t){if(e==="change")return t}var S=!1;en&&(S=Im("input")&&(!document.documentMode||document.documentMode>9));function P(e,t){Xp=e,nc=t,Xp.attachEvent("onpropertychange",X)}function H(){Xp&&(Xp.detachEvent("onpropertychange",X),Xp=null,nc=null)}function X(e){e.propertyName==="value"&&v(nc)&&o(e)}function me(e,t,s){e==="focusin"?(H(),P(t,s)):e==="focusout"&&H()}function Ne(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v(nc)}function Be(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Pe(e,t){if(e==="click")return v(t)}function st(e,t){if(e==="input"||e==="change")return v(t)}function mt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Tt(e,"number",e.value)}function kt(e,t,s,u,p,y,w){var x=s?Vm(s):window,A,L;if(a(x)?A=b:hk(x)?S?A=st:(A=Ne,L=me):Be(x)&&(A=Pe),A){var j=A(t,s);if(j){df(e,j,u,p);return}}L&&L(t,x,s),t==="focusout"&&mt(x)}function Kr(){fn("onMouseEnter",["mouseout","mouseover"]),fn("onMouseLeave",["mouseout","mouseover"]),fn("onPointerEnter",["pointerout","pointerover"]),fn("onPointerLeave",["pointerout","pointerover"])}function oe(e,t,s,u,p,y,w){var x=t==="mouseover"||t==="pointerover",A=t==="mouseout"||t==="pointerout";if(x&&!Pc(u)){var L=u.relatedTarget||u.fromElement;if(L&&(eh(L)||Kv(L)))return}if(!(!A&&!x)){var j;if(p.window===p)j=p;else{var re=p.ownerDocument;re?j=re.defaultView||re.parentWindow:j=window}var te,ue;if(A){var ge=u.relatedTarget||u.toElement;if(te=s,ue=ge?eh(ge):null,ue!==null){var Se=fi(ue);(ue!==Se||ue.tag!==B&&ue.tag!==I)&&(ue=null)}}else te=null,ue=s;if(te!==ue){var tt=Ql,St="onMouseLeave",Pt="onMouseEnter",hn="mouse";(t==="pointerout"||t==="pointerover")&&(tt=ik,St="onPointerLeave",Pt="onPointerEnter",hn="pointer");var cn=te==null?j:Vm(te),se=ue==null?j:Vm(ue),De=new tt(St,hn+"leave",te,u,p);De.target=cn,De.relatedTarget=se;var le=null,je=eh(p);if(je===s){var ut=new tt(Pt,hn+"enter",ue,u,p);ut.target=se,ut.relatedTarget=cn,le=ut}m8(e,De,le,te,ue)}}}function ne(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ie=typeof Object.is=="function"?Object.is:ne;function Ue(e,t){if(ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!Qn.call(t,y)||!ie(e[y],t[y]))return!1}return!0}function wt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function $t(e,t){for(var s=wt(e),u=0,p=0;s;){if(s.nodeType===Po){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=wt(Nt(s))}}function zt(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,x=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return Sa(e,p,y,w,x)}function Sa(e,t,s,u,p){var y=0,w=-1,x=-1,A=0,L=0,j=e,re=null;e:for(;;){for(var te=null;j===t&&(s===0||j.nodeType===Po)&&(w=y+s),j===u&&(p===0||j.nodeType===Po)&&(x=y+p),j.nodeType===Po&&(y+=j.nodeValue.length),(te=j.firstChild)!==null;)re=j,j=te;for(;;){if(j===e)break e;if(re===t&&++A===s&&(w=y),re===u&&++L===p&&(x=y),(te=j.nextSibling)!==null)break;j=re,re=j.parentNode}j=te}return w===-1||x===-1?null:{start:w,end:x}}function Rn(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),x=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>x){var A=x;x=w,w=A}var L=$t(e,w),j=$t(e,x);if(L&&j){if(p.rangeCount===1&&p.anchorNode===L.node&&p.anchorOffset===L.offset&&p.focusNode===j.node&&p.focusOffset===j.offset)return;var re=s.createRange();re.setStart(L.node,L.offset),p.removeAllRanges(),w>x?(p.addRange(re),p.extend(j.node,j.offset)):(re.setEnd(j.node,j.offset),p.addRange(re))}}}function Jl(e){return e&&e.nodeType===Po}function mk(e,t){return!e||!t?!1:e===t?!0:Jl(e)?!1:Jl(t)?mk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function X4(e){return e&&e.ownerDocument&&mk(e.ownerDocument.documentElement,e)}function J4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function YE(){for(var e=window,t=Ai();t instanceof e.HTMLIFrameElement;){if(J4(t))e=t.contentWindow;else return t;t=Ai(e.document)}return t}function M2(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 Z4(){var e=YE();return{focusedElem:e,selectionRange:M2(e)?t8(e):null}}function e8(e){var t=YE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&X4(s)){u!==null&&M2(s)&&n8(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===Zr&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var x=p[w];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}}function t8(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=zt(e),t||{start:0,end:0}}function n8(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Rn(e,t)}var r8=en&&"documentMode"in document&&document.documentMode<=11;function a8(){Rt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var jm=null,I2=null,Lv=null,j2=!1;function i8(e){if("selectionStart"in e&&M2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function o8(e){return e.window===e?e.document:e.nodeType===ci?e:e.ownerDocument}function GE(e,t,s){var u=o8(s);if(!(j2||jm==null||jm!==Ai(u))){var p=i8(jm);if(!Lv||!Ue(Lv,p)){Lv=p;var y=bk(I2,"onSelect");if(y.length>0){var w=new Ra("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=jm}}}}function s8(e,t,s,u,p,y,w){var x=s?Vm(s):window;switch(t){case"focusin":(hk(x)||x.contentEditable==="true")&&(jm=x,I2=s,Lv=null);break;case"focusout":jm=null,I2=null,Lv=null;break;case"mousedown":j2=!0;break;case"contextmenu":case"mouseup":case"dragend":j2=!1,GE(e,u,p);break;case"selectionchange":if(r8)break;case"keydown":case"keyup":GE(e,u,p)}}function gk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var zm={animationend:gk("Animation","AnimationEnd"),animationiteration:gk("Animation","AnimationIteration"),animationstart:gk("Animation","AnimationStart"),transitionend:gk("Transition","TransitionEnd")},z2={},KE={};en&&(KE=document.createElement("div").style,"AnimationEvent"in window||(delete zm.animationend.animation,delete zm.animationiteration.animation,delete zm.animationstart.animation),"TransitionEvent"in window||delete zm.transitionend.transition);function vk(e){if(z2[e])return z2[e];if(!zm[e])return e;var t=zm[e];for(var s in t)if(t.hasOwnProperty(s)&&s in KE)return z2[e]=t[s];return e}var QE=vk("animationend"),XE=vk("animationiteration"),JE=vk("animationstart"),ZE=vk("transitionend"),eT=new Map,tT=["abort","auxClick","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"];function ff(e,t){eT.set(e,t),Rt(t,[e])}function l8(){for(var e=0;e<tT.length;e++){var t=tT[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);ff(s,"on"+u)}ff(QE,"onAnimationEnd"),ff(XE,"onAnimationIteration"),ff(JE,"onAnimationStart"),ff("dblclick","onDoubleClick"),ff("focusin","onFocus"),ff("focusout","onBlur"),ff(ZE,"onTransitionEnd")}function u8(e,t,s,u,p,y,w){var x=eT.get(t);if(x!==void 0){var A=Ra,L=t;switch(t){case"keypress":if(rd(u)===0)return;case"keydown":case"keyup":A=N2;break;case"focusin":L="focus",A=Kp;break;case"focusout":L="blur",A=Kp;break;case"beforeblur":case"afterblur":A=Kp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Ql;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=ok;break;case QE:case XE:case JE:A=Zb;break;case ZE:A=R2;break;case"scroll":A=ws;break;case"wheel":A=$v;break;case"copy":case"cut":case"paste":A=Fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=ik;break}var j=(y&Fi)!==0;{var re=!j&&t==="scroll",te=p8(s,x,u.type,j,re);if(te.length>0){var ue=new A(x,L,null,u,p);e.push({event:ue,listeners:te})}}}}l8(),Kr(),B2(),a8(),Pv();function c8(e,t,s,u,p,y,w){u8(e,t,s,u,p,y);var x=(y&vp)===0;x&&(oe(e,t,s,u,p),kt(e,t,s,u,p),s8(e,t,s,u,p),Mm(e,t,s,u,p))}var Bv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],U2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Bv));function nT(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,oo(u,t,void 0,e),e.currentTarget=null}function d8(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,x=y.currentTarget,A=y.listener;if(w!==u&&e.isPropagationStopped())return;nT(e,A,x),u=w}else for(var L=0;L<t.length;L++){var j=t[L],re=j.instance,te=j.currentTarget,ue=j.listener;if(re!==u&&e.isPropagationStopped())return;nT(e,ue,te),u=re}}function rT(e,t){for(var s=(t&Fi)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;d8(y,w,s)}qs()}function f8(e,t,s,u,p){var y=yp(s),w=[];c8(w,e,u,s,y,t),rT(w,t)}function Nr(e,t){U2.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=U6(t),p=g8(e);u.has(p)||(aT(t,e,Gd,s),u.add(p))}function H2(e,t,s){U2.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=Fi),aT(s,e,u,t)}var yk="_reactListening"+Math.random().toString(36).slice(2);function Mv(e){if(!e[yk]){e[yk]=!0,ht.forEach(function(s){s!=="selectionchange"&&(U2.has(s)||H2(s,!1,e),H2(s,!0,e))});var t=e.nodeType===ci?e:e.ownerDocument;t!==null&&(t[yk]||(t[yk]=!0,H2("selectionchange",!1,t)))}}function aT(e,t,s,u,p){var y=ra(e,t,s),w=void 0;ju&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?zi(e,t,y,w):Yp(e,t,y):w!==void 0?xv(e,t,y,w):_v(e,t,y)}function iT(e,t){return e===t||e.nodeType===er&&e.parentNode===t}function q2(e,t,s,u,p){var y=u;if(!(t&Yd)&&!(t&Gd)){var w=p;if(u!==null){var x=u;e:for(;;){if(x===null)return;var A=x.tag;if(A===N||A===O){var L=x.stateNode.containerInfo;if(iT(L,w))break;if(A===O)for(var j=x.return;j!==null;){var re=j.tag;if(re===N||re===O){var te=j.stateNode.containerInfo;if(iT(te,w))return}j=j.return}for(;L!==null;){var ue=eh(L);if(ue===null)return;var ge=ue.tag;if(ge===B||ge===I){x=y=ue;continue e}L=L.parentNode}}x=x.return}}}lm(function(){return f8(e,t,s,y)})}function Iv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function p8(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,x=u?w:t,A=[],L=e,j=null;L!==null;){var re=L,te=re.stateNode,ue=re.tag;if(ue===B&&te!==null&&(j=te,x!==null)){var ge=us(L,x);ge!=null&&A.push(Iv(L,ge,j))}if(p)break;L=L.return}return A}function bk(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,x=y.tag;if(x===B&&w!==null){var A=w,L=us(p,s);L!=null&&u.unshift(Iv(p,L,A));var j=us(p,t);j!=null&&u.push(Iv(p,j,A))}p=p.return}return u}function Um(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==B);return e||null}function h8(e,t){for(var s=e,u=t,p=0,y=s;y;y=Um(y))p++;for(var w=0,x=u;x;x=Um(x))w++;for(;p-w>0;)s=Um(s),p--;for(;w-p>0;)u=Um(u),w--;for(var A=p;A--;){if(s===u||u!==null&&s===u.alternate)return s;s=Um(s),u=Um(u)}return null}function oT(e,t,s,u,p){for(var y=t._reactName,w=[],x=s;x!==null&&x!==u;){var A=x,L=A.alternate,j=A.stateNode,re=A.tag;if(L!==null&&L===u)break;if(re===B&&j!==null){var te=j;if(p){var ue=us(x,y);ue!=null&&w.unshift(Iv(x,ue,te))}else if(!p){var ge=us(x,y);ge!=null&&w.push(Iv(x,ge,te))}}x=x.return}w.length!==0&&e.push({event:t,listeners:w})}function m8(e,t,s,u,p){var y=u&&p?h8(u,p):null;u!==null&&oT(e,t,u,y,!1),p!==null&&s!==null&&oT(e,s,p,y,!0)}function g8(e,t){return e+"__bubble"}var qo=!1,jv="dangerouslySetInnerHTML",kk="suppressContentEditableWarning",pf="suppressHydrationWarning",sT="autoFocus",Jp="children",Zp="style",wk="__html",V2,Dk,zv,lT,Sk,uT,cT;V2={dialog:!0,webview:!0},Dk=function(e,t){Lu(e,t),Bu(e,t),$c(e,t,{registrationNameDependencies:bt,possibleRegistrationNames:vt})},uT=en&&!document.documentMode,zv=function(e,t,s){if(!qo){var u=Ck(s),p=Ck(t);p!==u&&(qo=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},lT=function(e){if(!qo){qo=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},Sk=function(e,t){t===!1?m("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):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},cT=function(e,t){var s=e.namespaceURI===ui?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var v8=/\r\n?/g,y8=/\u0000|\uFFFD/g;function Ck(e){wr(e);var t=typeof e=="string"?e:""+e;return t.replace(v8,`
|
|
193
|
+
`).replace(y8,"")}function _k(e,t,s,u){var p=Ck(t),y=Ck(e);if(y!==p&&(u&&(qo||(qo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Le))throw new Error("Text content does not match server-rendered HTML.")}function dT(e){return e.nodeType===ci?e:e.ownerDocument}function b8(){}function xk(e){e.onclick=b8}function k8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===Zp)w&&Object.freeze(w),am(t,w);else if(y===jv){var x=w?w[wk]:void 0;x!=null&&jd(t,x)}else if(y===Jp)if(typeof w=="string"){var A=e!=="textarea"||w!=="";A&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===kk||y===pf||y===sT||(bt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&Sk(y,w),y==="onScroll"&&Nr("scroll",t)):w!=null&&lr(t,y,w,p))}}function w8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===Zp?am(e,w):y===jv?jd(e,w):y===Jp?is(e,w):lr(e,y,w,u)}}function D8(e,t,s,u){var p,y=dT(s),w,x=u;if(x===ui&&(x=lp(e)),x===ui){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=y.createElement("div");A.innerHTML="<script><\/script>";var L=A.firstChild;w=A.removeChild(L)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var j=w;t.multiple?j.multiple=!0:t.size&&(j.size=t.size)}}else w=y.createElementNS(x,e);return x===ui&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Qn.call(V2,e)&&(V2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function S8(e,t){return dT(t).createTextNode(e)}function C8(e,t,s,u){var p=ss(t,s);Dk(t,s);var y;switch(t){case"dialog":Nr("cancel",e),Nr("close",e),y=s;break;case"iframe":case"object":case"embed":Nr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Bv.length;w++)Nr(Bv[w],e);y=s;break;case"source":Nr("error",e),y=s;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),y=s;break;case"details":Nr("toggle",e),y=s;break;case"input":ao(e,s),y=Au(e,s),Nr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":xl(e,s),y=Ec(e,s),Nr("invalid",e);break;case"textarea":Id(e,s),y=ip(e,s),Nr("invalid",e);break;default:y=s}switch(Hd(t,y),k8(t,e,u,y,p),t){case"input":ro(e),fe(e,s,!1);break;case"textarea":ro(e),Qh(e);break;case"option":zn(e,s);break;case"select":Bd(e,s);break;default:typeof y.onClick=="function"&&xk(e);break}}function _8(e,t,s,u,p){Dk(t,u);var y=null,w,x;switch(t){case"input":w=Au(e,s),x=Au(e,u),y=[];break;case"select":w=Ec(e,s),x=Ec(e,u),y=[];break;case"textarea":w=ip(e,s),x=ip(e,u),y=[];break;default:w=s,x=u,typeof w.onClick!="function"&&typeof x.onClick=="function"&&xk(e);break}Hd(t,x);var A,L,j=null;for(A in w)if(!(x.hasOwnProperty(A)||!w.hasOwnProperty(A)||w[A]==null))if(A===Zp){var re=w[A];for(L in re)re.hasOwnProperty(L)&&(j||(j={}),j[L]="")}else A===jv||A===Jp||A===kk||A===pf||A===sT||(bt.hasOwnProperty(A)?y||(y=[]):(y=y||[]).push(A,null));for(A in x){var te=x[A],ue=w!=null?w[A]:void 0;if(!(!x.hasOwnProperty(A)||te===ue||te==null&&ue==null))if(A===Zp)if(te&&Object.freeze(te),ue){for(L in ue)ue.hasOwnProperty(L)&&(!te||!te.hasOwnProperty(L))&&(j||(j={}),j[L]="");for(L in te)te.hasOwnProperty(L)&&ue[L]!==te[L]&&(j||(j={}),j[L]=te[L])}else j||(y||(y=[]),y.push(A,j)),j=te;else if(A===jv){var ge=te?te[wk]:void 0,Se=ue?ue[wk]:void 0;ge!=null&&Se!==ge&&(y=y||[]).push(A,ge)}else A===Jp?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(A,""+te):A===kk||A===pf||(bt.hasOwnProperty(A)?(te!=null&&(typeof te!="function"&&Sk(A,te),A==="onScroll"&&Nr("scroll",e)),!y&&ue!==te&&(y=[])):(y=y||[]).push(A,te))}return j&&(om(j,x[Zp]),(y=y||[]).push(Zp,j)),y}function x8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&F(e,p);var y=ss(s,u),w=ss(s,p);switch(w8(e,t,y,w),s){case"input":q(e,p);break;case"textarea":op(e,p);break;case"select":Md(e,p);break}}function E8(e){{var t=e.toLowerCase();return Fc.hasOwnProperty(t)&&Fc[t]||null}}function T8(e,t,s,u,p,y,w){var x,A;switch(x=ss(t,s),Dk(t,s),t){case"dialog":Nr("cancel",e),Nr("close",e);break;case"iframe":case"object":case"embed":Nr("load",e);break;case"video":case"audio":for(var L=0;L<Bv.length;L++)Nr(Bv[L],e);break;case"source":Nr("error",e);break;case"img":case"image":case"link":Nr("error",e),Nr("load",e);break;case"details":Nr("toggle",e);break;case"input":ao(e,s),Nr("invalid",e);break;case"option":wn(e,s);break;case"select":xl(e,s),Nr("invalid",e);break;case"textarea":Id(e,s),Nr("invalid",e);break}Hd(t,s);{A=new Set;for(var j=e.attributes,re=0;re<j.length;re++){var te=j[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:A.add(j[re].name)}}}var ue=null;for(var ge in s)if(s.hasOwnProperty(ge)){var Se=s[ge];if(ge===Jp)typeof Se=="string"?e.textContent!==Se&&(s[pf]!==!0&&_k(e.textContent,Se,y,w),ue=[Jp,Se]):typeof Se=="number"&&e.textContent!==""+Se&&(s[pf]!==!0&&_k(e.textContent,Se,y,w),ue=[Jp,""+Se]);else if(bt.hasOwnProperty(ge))Se!=null&&(typeof Se!="function"&&Sk(ge,Se),ge==="onScroll"&&Nr("scroll",e));else if(w&&typeof x=="boolean"){var tt=void 0,St=ga(ge);if(s[pf]!==!0&&!(ge===kk||ge===pf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===jv){var Pt=e.innerHTML,hn=Se?Se[wk]:void 0;if(hn!=null){var cn=cT(e,hn);cn!==Pt&&zv(ge,Pt,cn)}}else if(ge===Zp){if(A.delete(ge),uT){var se=nv(Se);tt=e.getAttribute("style"),se!==tt&&zv(ge,tt,se)}}else if(x)A.delete(ge.toLowerCase()),tt=_i(e,ge,Se),Se!==tt&&zv(ge,tt,Se);else if(!_n(ge,St,x)&&!bn(ge,Se,St,x)){var De=!1;if(St!==null)A.delete(St.attributeName),tt=Xi(e,ge,Se,St);else{var le=u;if(le===ui&&(le=lp(t)),le===ui)A.delete(ge.toLowerCase());else{var je=E8(ge);je!==null&&je!==ge&&(De=!0,A.delete(je)),A.delete(ge)}tt=_i(e,ge,Se)}var ut=Q;!ut&&Se!==tt&&!De&&zv(ge,tt,Se)}}}}switch(w&&A.size>0&&s[pf]!==!0&&lT(A),t){case"input":ro(e),fe(e,s,!0);break;case"textarea":ro(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&xk(e);break}return ue}function A8(e,t,s){var u=e.nodeValue!==t;return u}function W2(e,t){{if(qo)return;qo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Y2(e,t){{if(qo)return;qo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function G2(e,t,s){{if(qo)return;qo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function K2(e,t){{if(t===""||qo)return;qo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function F8(e,t,s){switch(t){case"input":we(e,s);return;case"textarea":sp(e,s);return;case"select":ap(e,s);return}}var Uv=function(){},Hv=function(){};{var $8=["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"],fT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],P8=fT.concat(["button"]),N8=["dd","dt","li","option","optgroup","p","rp","rt"],pT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Hv=function(e,t){var s=Xt({},e||pT),u={tag:t};return fT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),P8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),$8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var O8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return N8.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},R8=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},hT={};Uv=function(e,t,s){s=s||pT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=O8(e,p)?null:u,w=y?null:R8(e,s),x=y||w;if(x){var A=x.tag,L=!!y+"|"+e+"|"+A;if(!hT[L]){hT[L]=!0;var j=e,re="";if(e==="#text"?/\S/.test(t)?j="Text nodes":(j="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):j="<"+e+">",y){var te="";A==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",j,A,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",j,A)}}}}var Ek="suppressHydrationWarning",Tk="$",Ak="/$",qv="$?",Vv="$!",L8="style",Q2=null,X2=null;function B8(e){var t,s,u=e.nodeType;switch(u){case ci:case Al:{t=u===ci?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===er?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var x=t.toLowerCase(),A=Hv(null,x);return{namespace:s,ancestorInfo:A}}}function M8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=Hv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function I8(e){Q2=Da(),X2=Z4();var t=null;return An(!1),t}function j8(e){e8(X2),An(Q2),Q2=null,X2=null}function z8(e,t,s,u,p){var y;{var w=u;if(Uv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var x=""+t.children,A=Hv(w.ancestorInfo,e);Uv(null,x,A)}y=w.namespace}var L=D8(e,t,s,y);return Gv(p,L),iD(L,t),L}function U8(e,t){e.appendChild(t)}function H8(e,t,s,u,p){switch(C8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function q8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var x=""+u.children,A=Hv(w.ancestorInfo,t);Uv(null,x,A)}}return _8(e,t,s,u)}function J2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function V8(e,t,s,u){{var p=s;Uv(null,e,p.ancestorInfo)}var y=S8(e,t);return Gv(u,y),y}function W8(){var e=window.event;return e===void 0?Zs:Wp(e.type)}var Z2=typeof setTimeout=="function"?setTimeout:void 0,Y8=typeof clearTimeout=="function"?clearTimeout:void 0,eD=-1,mT=typeof Promise=="function"?Promise:void 0,G8=typeof queueMicrotask=="function"?queueMicrotask:typeof mT<"u"?function(e){return mT.resolve(null).then(e).catch(K8)}:Z2;function K8(e){setTimeout(function(){throw e})}function Q8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function X8(e,t,s,u,p,y){x8(e,t,s,u,p),iD(e,p)}function gT(e){is(e,"")}function J8(e,t,s){e.nodeValue=s}function Z8(e,t){e.appendChild(t)}function e6(e,t){var s;e.nodeType===er?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&xk(s)}function t6(e,t,s){e.insertBefore(t,s)}function n6(e,t,s){e.nodeType===er?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function r6(e,t){e.removeChild(t)}function a6(e,t){e.nodeType===er?e.parentNode.removeChild(t):e.removeChild(t)}function tD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===er){var y=p.data;if(y===Ak)if(u===0){e.removeChild(p),Ku(t);return}else u--;else(y===Tk||y===qv||y===Vv)&&u++}s=p}while(s);Ku(t)}function i6(e,t){e.nodeType===er?tD(e.parentNode,t):e.nodeType===Zr&&tD(e,t),Ku(e)}function o6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function s6(e){e.nodeValue=""}function l6(e,t){e=e;var s=t[L8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Fu("display",u)}function u6(e,t){e.nodeValue=t}function c6(e){e.nodeType===Zr?e.textContent="":e.nodeType===ci&&e.documentElement&&e.removeChild(e.documentElement)}function d6(e,t,s){return e.nodeType!==Zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function f6(e,t){return t===""||e.nodeType!==Po?null:e}function p6(e){return e.nodeType!==er?null:e}function vT(e){return e.data===qv}function nD(e){return e.data===Vv}function h6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function m6(e,t){e._reactRetry=t}function Fk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Zr||t===Po)break;if(t===er){var s=e.data;if(s===Tk||s===Vv||s===qv)break;if(s===Ak)return null}}return e}function Wv(e){return Fk(e.nextSibling)}function g6(e){return Fk(e.firstChild)}function v6(e){return Fk(e.firstChild)}function y6(e){return Fk(e.nextSibling)}function b6(e,t,s,u,p,y,w){Gv(y,e),iD(e,s);var x;{var A=p;x=A.namespace}var L=(y.mode&rn)!==_t;return T8(e,t,s,x,u,L,w)}function k6(e,t,s,u){return Gv(s,e),s.mode&rn,A8(e,t)}function w6(e,t){Gv(t,e)}function D6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Ak){if(s===0)return Wv(t);s--}else(u===Tk||u===Vv||u===qv)&&s++}t=t.nextSibling}return null}function yT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===er){var u=t.data;if(u===Tk||u===Vv||u===qv){if(s===0)return t;s--}else u===Ak&&s++}t=t.previousSibling}return null}function S6(e){Ku(e)}function C6(e){Ku(e)}function _6(e){return e!=="head"&&e!=="body"}function x6(e,t,s,u){var p=!0;_k(t.nodeValue,s,u,p)}function E6(e,t,s,u,p,y){if(t[Ek]!==!0){var w=!0;_k(u.nodeValue,p,y,w)}}function T6(e,t){t.nodeType===Zr?W2(e,t):t.nodeType===er||Y2(e,t)}function A6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Zr?W2(s,t):t.nodeType===er||Y2(s,t))}}function F6(e,t,s,u,p){(p||t[Ek]!==!0)&&(u.nodeType===Zr?W2(s,u):u.nodeType===er||Y2(s,u))}function $6(e,t,s){G2(e,t)}function P6(e,t){K2(e,t)}function N6(e,t,s){{var u=e.parentNode;u!==null&&G2(u,t)}}function O6(e,t){{var s=e.parentNode;s!==null&&K2(s,t)}}function R6(e,t,s,u,p,y){(y||t[Ek]!==!0)&&G2(s,u)}function L6(e,t,s,u,p){(p||t[Ek]!==!0)&&K2(s,u)}function B6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function M6(e){Mv(e)}var Hm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Hm,rD="__reactProps$"+Hm,Yv="__reactContainer$"+Hm,aD="__reactEvents$"+Hm,I6="__reactListeners$"+Hm,j6="__reactHandles$"+Hm;function z6(e){delete e[qm],delete e[rD],delete e[aD],delete e[I6],delete e[j6]}function Gv(e,t){t[qm]=e}function $k(e,t){t[Yv]=e}function bT(e){e[Yv]=null}function Kv(e){return!!e[Yv]}function eh(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Yv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=yT(e);p!==null;){var y=p[qm];if(y)return y;p=yT(p)}return t}e=s,s=e.parentNode}return null}function hf(e){var t=e[qm]||e[Yv];return t&&(t.tag===B||t.tag===I||t.tag===K||t.tag===N)?t:null}function Vm(e){if(e.tag===B||e.tag===I)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Pk(e){return e[rD]||null}function iD(e,t){e[rD]=t}function U6(e){var t=e[aD];return t===void 0&&(t=e[aD]=new Set),t}var kT={},wT=i.ReactDebugCurrentFrame;function Nk(e){if(e){var t=e._owner,s=si(e.type,e._source,t?t.type:null);wT.setExtraStackFrame(s)}else wT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(Qn);for(var w in e)if(y(e,w)){var x=void 0;try{if(typeof e[w]!="function"){var A=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}x=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){x=L}x&&!(x instanceof Error)&&(Nk(p),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,w,typeof x),Nk(null)),x instanceof Error&&!(x.message in kT)&&(kT[x.message]=!0,Nk(p),m("Failed %s type: %s",s,x.message),Nk(null))}}}var oD=[],Ok;Ok=[];var ld=-1;function mf(e){return{current:e}}function Ui(e,t){if(ld<0){m("Unexpected pop.");return}t!==Ok[ld]&&m("Unexpected Fiber popped."),e.current=oD[ld],oD[ld]=null,Ok[ld]=null,ld--}function Hi(e,t,s){ld++,oD[ld]=e.current,Ok[ld]=s,e.current=t}var sD;sD={};var Ss={};Object.freeze(Ss);var ud=mf(Ss),rc=mf(!1),lD=Ss;function Wm(e,t,s){return s&&ac(t)?lD:ud.current}function DT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Ym(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var x=Mt(e)||"Unknown";Zl(u,y,"context",x)}return p&&DT(e,t,y),y}}function Rk(){return rc.current}function ac(e){{var t=e.childContextTypes;return t!=null}}function Lk(e){Ui(rc,e),Ui(ud,e)}function uD(e){Ui(rc,e),Ui(ud,e)}function ST(e,t,s){{if(ud.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Hi(ud,t,e),Hi(rc,s,e)}}function CT(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Mt(e)||"Unknown";sD[y]||(sD[y]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return s}var w=u.getChildContext();for(var x in w)if(!(x in p))throw new Error((Mt(e)||"Unknown")+'.getChildContext(): key "'+x+'" is not defined in childContextTypes.');{var A=Mt(e)||"Unknown";Zl(p,w,"child context",A)}return Xt({},s,w)}}function Bk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return lD=ud.current,Hi(ud,s,e),Hi(rc,rc.current,e),!0}}function _T(e,t,s){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var p=CT(e,t,lD);u.__reactInternalMemoizedMergedChildContext=p,Ui(rc,e),Ui(ud,e),Hi(ud,p,e),Hi(rc,s,e)}else Ui(rc,e),Hi(rc,s,e)}}function H6(e){{if(!Gs(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case N:return t.stateNode.context;case T:{var s=t.type;if(ac(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var gf=0,Mk=1,cd=null,cD=!1,dD=!1;function xT(e){cd===null?cd=[e]:cd.push(e)}function q6(e){cD=!0,xT(e)}function ET(){cD&&vf()}function vf(){if(!dD&&cd!==null){dD=!0;var e=0,t=bs();try{var s=!0,u=cd;for(da(Ii);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}cd=null,cD=!1}catch(y){throw cd!==null&&(cd=cd.slice(e+1)),wp(qu,vf),y}finally{da(t),dD=!1}}return null}var Gm=[],Km=0,Ik=null,jk=0,rl=[],al=0,th=null,dd=1,fd="";function V6(e){return rh(),(e.flags&so)!==Ct}function W6(e){return rh(),jk}function Y6(){var e=fd,t=dd,s=t&~G6(t);return s.toString(32)+e}function nh(e,t){rh(),Gm[Km++]=jk,Gm[Km++]=Ik,Ik=e,jk=t}function TT(e,t,s){rh(),rl[al++]=dd,rl[al++]=fd,rl[al++]=th,th=e;var u=dd,p=fd,y=zk(u)-1,w=u&~(1<<y),x=s+1,A=zk(t)+y;if(A>30){var L=y-y%5,j=(1<<L)-1,re=(w&j).toString(32),te=w>>L,ue=y-L,ge=zk(t)+ue,Se=x<<ue,tt=Se|te,St=re+p;dd=1<<ge|tt,fd=St}else{var Pt=x<<y,hn=Pt|w,cn=p;dd=1<<A|hn,fd=cn}}function fD(e){rh();var t=e.return;if(t!==null){var s=1,u=0;nh(e,s),TT(e,s,u)}}function zk(e){return 32-Ir(e)}function G6(e){return 1<<zk(e)-1}function pD(e){for(;e===Ik;)Ik=Gm[--Km],Gm[Km]=null,jk=Gm[--Km],Gm[Km]=null;for(;e===th;)th=rl[--al],rl[al]=null,fd=rl[--al],rl[al]=null,dd=rl[--al],rl[al]=null}function K6(){return rh(),th!==null?{id:dd,overflow:fd}:null}function Q6(e,t){rh(),rl[al++]=dd,rl[al++]=fd,rl[al++]=th,dd=t.id,fd=t.overflow,th=e}function rh(){hi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var pi=null,il=null,eu=!1,ah=!1,yf=null;function X6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function AT(){ah=!0}function J6(){return ah}function Z6(e){var t=e.stateNode.containerInfo;return il=v6(t),pi=e,eu=!0,yf=null,ah=!1,!0}function e5(e,t,s){return il=y6(t),pi=e,eu=!0,yf=null,ah=!1,s!==null&&Q6(e,s),!0}function FT(e,t){switch(e.tag){case N:{T6(e.stateNode.containerInfo,t);break}case B:{var s=(e.mode&rn)!==_t;F6(e.type,e.memoizedProps,e.stateNode,t,s);break}case K:{var u=e.memoizedState;u.dehydrated!==null&&A6(u.dehydrated,t);break}}}function $T(e,t){FT(e,t);var s=az();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Ni):u.push(s)}function hD(e,t){{if(ah)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case B:var u=t.type;t.pendingProps,$6(s,u);break;case I:var p=t.pendingProps;P6(s,p);break}break}case B:{var y=e.type,w=e.memoizedProps,x=e.stateNode;switch(t.tag){case B:{var A=t.type,L=t.pendingProps,j=(e.mode&rn)!==_t;R6(y,w,x,A,L,j);break}case I:{var re=t.pendingProps,te=(e.mode&rn)!==_t;L6(y,w,x,re,te);break}}break}case K:{var ue=e.memoizedState,ge=ue.dehydrated;if(ge!==null)switch(t.tag){case B:var Se=t.type;t.pendingProps,N6(ge,Se);break;case I:var tt=t.pendingProps;O6(ge,tt);break}break}default:return}}}function PT(e,t){t.flags=t.flags&-4097|Fr,hD(e,t)}function NT(e,t){switch(e.tag){case B:{var s=e.type;e.pendingProps;var u=d6(t,s);return u!==null?(e.stateNode=u,pi=e,il=g6(u),!0):!1}case I:{var p=e.pendingProps,y=f6(t,p);return y!==null?(e.stateNode=y,pi=e,il=null,!0):!1}case K:{var w=p6(t);if(w!==null){var x={dehydrated:w,treeContext:K6(),retryLane:uo};e.memoizedState=x;var A=iz(w);return A.return=e,e.child=A,pi=e,il=null,!0}return!1}default:return!1}}function mD(e){return(e.mode&rn)!==_t&&(e.flags&yt)===Ct}function gD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function vD(e){if(eu){var t=il;if(!t){mD(e)&&(hD(pi,e),gD()),PT(pi,e),eu=!1,pi=e;return}var s=t;if(!NT(e,t)){mD(e)&&(hD(pi,e),gD()),t=Wv(s);var u=pi;if(!t||!NT(e,t)){PT(pi,e),eu=!1,pi=e;return}$T(u,s)}}}function t5(e,t,s){var u=e.stateNode,p=!ah,y=b6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function n5(e){var t=e.stateNode,s=e.memoizedProps,u=k6(t,s,e);if(u){var p=pi;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&rn)!==_t;x6(y,t,s,w);break}case B:{var x=p.type,A=p.memoizedProps,L=p.stateNode,j=(p.mode&rn)!==_t;E6(x,A,L,t,s,j);break}}}return u}function r5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");w6(s,e)}function a5(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return D6(s)}function OT(e){for(var t=e.return;t!==null&&t.tag!==B&&t.tag!==N&&t.tag!==K;)t=t.return;pi=t}function Uk(e){if(e!==pi)return!1;if(!eu)return OT(e),eu=!0,!1;if(e.tag!==N&&(e.tag!==B||_6(e.type)&&!J2(e.type,e.memoizedProps))){var t=il;if(t)if(mD(e))RT(e),gD();else for(;t;)$T(e,t),t=Wv(t)}return OT(e),e.tag===K?il=a5(e):il=pi?Wv(e.stateNode):null,!0}function i5(){return eu&&il!==null}function RT(e){for(var t=il;t;)FT(e,t),t=Wv(t)}function Qm(){pi=null,il=null,eu=!1,ah=!1}function LT(){yf!==null&&(AF(yf),yf=null)}function hi(){return eu}function yD(e){yf===null?yf=[e]:yf.push(e)}var o5=i.ReactCurrentBatchConfig,s5=null;function l5(){return o5.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var u5=function(e){for(var t=null,s=e;s!==null;)s.mode&qn&&(t=s),s=s.return;return t},ih=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Qv=[],Xv=[],Jv=[],Zv=[],ey=[],ty=[],oh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){oh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Qv.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillMount=="function"&&Xv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Jv.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Zv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&qn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ty.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Qv.length>0&&(Qv.forEach(function(te){e.add(Mt(te)||"Component"),oh.add(te.type)}),Qv=[]);var t=new Set;Xv.length>0&&(Xv.forEach(function(te){t.add(Mt(te)||"Component"),oh.add(te.type)}),Xv=[]);var s=new Set;Jv.length>0&&(Jv.forEach(function(te){s.add(Mt(te)||"Component"),oh.add(te.type)}),Jv=[]);var u=new Set;Zv.length>0&&(Zv.forEach(function(te){u.add(Mt(te)||"Component"),oh.add(te.type)}),Zv=[]);var p=new Set;ey.length>0&&(ey.forEach(function(te){p.add(Mt(te)||"Component"),oh.add(te.type)}),ey=[]);var y=new Set;if(ty.length>0&&(ty.forEach(function(te){y.add(Mt(te)||"Component"),oh.add(te.type)}),ty=[]),t.size>0){var w=ih(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
194
194
|
|
|
195
195
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
196
196
|
|
|
@@ -229,7 +229,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}
|
|
|
229
229
|
1. You may be adding a ref to a function component
|
|
230
230
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
231
231
|
3. You have multiple copies of React loaded
|
|
232
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function qk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Vk(e){{var t=Mt(e)||"Component";if(SD[t])return;SD[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function IT(e){var t=e._payload,s=e._init;return s(t)}function jT(e){function t(se,De){if(e){var le=se.deletions;le===null?(se.deletions=[De],se.flags|=Ni):le.push(De)}}function s(se,De){if(!e)return null;for(var le=De;le!==null;)t(se,le),le=le.sibling;return null}function u(se,De){for(var le=new Map,je=De;je!==null;)je.key!==null?le.set(je.key,je):le.set(je.index,je),je=je.sibling;return le}function p(se,De){var le=mh(se,De);return le.index=0,le.sibling=null,le}function y(se,De,le){if(se.index=le,!e)return se.flags|=so,De;var je=se.alternate;if(je!==null){var ut=je.index;return ut<De?(se.flags|=Fr,De):ut}else return se.flags|=Fr,De}function w(se){return e&&se.alternate===null&&(se.flags|=Fr),se}function x(se,De,le,je){if(De===null||De.tag!==I){var ut=yC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le);return it.return=se,it}}function A(se,De,le,je){var ut=le.type;if(ut===_o)return j(se,De,le.props.children,je,le.key);if(De!==null&&(De.elementType===ut||VF(De,le)||typeof ut=="object"&&ut!==null&&ut.$$typeof===jt&&IT(ut)===De.type)){var it=p(De,le.props);return it.ref=ny(se,De,le),it.return=se,it._debugSource=le._source,it._debugOwner=le._owner,it}var It=vC(le,se.mode,je);return It.ref=ny(se,De,le),It.return=se,It}function L(se,De,le,je){if(De===null||De.tag!==O||De.stateNode.containerInfo!==le.containerInfo||De.stateNode.implementation!==le.implementation){var ut=bC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le.children||[]);return it.return=se,it}}function j(se,De,le,je,ut){if(De===null||De.tag!==G){var it=Af(le,se.mode,je,ut);return it.return=se,it}else{var It=p(De,le);return It.return=se,It}}function re(se,De,le){if(typeof De=="string"&&De!==""||typeof De=="number"){var je=yC(""+De,se.mode,le);return je.return=se,je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case Ta:{var ut=vC(De,se.mode,le);return ut.ref=ny(se,null,De),ut.return=se,ut}case oa:{var it=bC(De,se.mode,le);return it.return=se,it}case jt:{var It=De._payload,Qt=De._init;return re(se,Qt(It),le)}}if(Yt(De)||Et(De)){var rr=Af(De,se.mode,le,null);return rr.return=se,rr}qk(se,De)}return typeof De=="function"&&Vk(se),null}function te(se,De,le,je){var ut=De!==null?De.key:null;if(typeof le=="string"&&le!==""||typeof le=="number")return ut!==null?null:x(se,De,""+le,je);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case Ta:return le.key===ut?A(se,De,le,je):null;case oa:return le.key===ut?L(se,De,le,je):null;case jt:{var it=le._payload,It=le._init;return te(se,De,It(it),je)}}if(Yt(le)||Et(le))return ut!==null?null:j(se,De,le,je,null);qk(se,le)}return typeof le=="function"&&Vk(se),null}function ue(se,De,le,je,ut){if(typeof je=="string"&&je!==""||typeof je=="number"){var it=se.get(le)||null;return x(De,it,""+je,ut)}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case Ta:{var It=se.get(je.key===null?le:je.key)||null;return A(De,It,je,ut)}case oa:{var Qt=se.get(je.key===null?le:je.key)||null;return L(De,Qt,je,ut)}case jt:var rr=je._payload,Ln=je._init;return ue(se,De,le,Ln(rr),ut)}if(Yt(je)||Et(je)){var fa=se.get(le)||null;return j(De,fa,je,ut,null)}qk(De,je)}return typeof je=="function"&&Vk(De),null}function ge(se,De,le){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case Ta:case oa:MT(se,le);var je=se.key;if(typeof je!="string")break;if(De===null){De=new Set,De.add(je);break}if(!De.has(je)){De.add(je);break}m("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.",je);break;case jt:var ut=se._payload,it=se._init;ge(it(ut),De,le);break}}return De}function Se(se,De,le,je){for(var ut=null,it=0;it<le.length;it++){var It=le[it];ut=ge(It,ut,se)}for(var Qt=null,rr=null,Ln=De,fa=0,Bn=0,aa=null;Ln!==null&&Bn<le.length;Bn++){Ln.index>Bn?(aa=Ln,Ln=null):aa=Ln.sibling;var Vi=te(se,Ln,le[Bn],je);if(Vi===null){Ln===null&&(Ln=aa);break}e&&Ln&&Vi.alternate===null&&t(se,Ln),fa=y(Vi,fa,Bn),rr===null?Qt=Vi:rr.sibling=Vi,rr=Vi,Ln=aa}if(Bn===le.length){if(s(se,Ln),hi()){var wi=Bn;nh(se,wi)}return Qt}if(Ln===null){for(;Bn<le.length;Bn++){var _s=re(se,le[Bn],je);_s!==null&&(fa=y(_s,fa,Bn),rr===null?Qt=_s:rr.sibling=_s,rr=_s)}if(hi()){var go=Bn;nh(se,go)}return Qt}for(var vo=u(se,Ln);Bn<le.length;Bn++){var Wi=ue(vo,se,Bn,le[Bn],je);Wi!==null&&(e&&Wi.alternate!==null&&vo.delete(Wi.key===null?Bn:Wi.key),fa=y(Wi,fa,Bn),rr===null?Qt=Wi:rr.sibling=Wi,rr=Wi)}if(e&&vo.forEach(function(mg){return t(se,mg)}),hi()){var bd=Bn;nh(se,bd)}return Qt}function tt(se,De,le,je){var ut=Et(le);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&le[Symbol.toStringTag]==="Generator"&&(kD||m("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."),kD=!0),le.entries===ut&&(bD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bD=!0);var it=ut.call(le);if(it)for(var It=null,Qt=it.next();!Qt.done;Qt=it.next()){var rr=Qt.value;It=ge(rr,It,se)}}var Ln=ut.call(le);if(Ln==null)throw new Error("An iterable object provided no iterator.");for(var fa=null,Bn=null,aa=De,Vi=0,wi=0,_s=null,go=Ln.next();aa!==null&&!go.done;wi++,go=Ln.next()){aa.index>wi?(_s=aa,aa=null):_s=aa.sibling;var vo=te(se,aa,go.value,je);if(vo===null){aa===null&&(aa=_s);break}e&&aa&&vo.alternate===null&&t(se,aa),Vi=y(vo,Vi,wi),Bn===null?fa=vo:Bn.sibling=vo,Bn=vo,aa=_s}if(go.done){if(s(se,aa),hi()){var Wi=wi;nh(se,Wi)}return fa}if(aa===null){for(;!go.done;wi++,go=Ln.next()){var bd=re(se,go.value,je);bd!==null&&(Vi=y(bd,Vi,wi),Bn===null?fa=bd:Bn.sibling=bd,Bn=bd)}if(hi()){var mg=wi;nh(se,mg)}return fa}for(var Ny=u(se,aa);!go.done;wi++,go=Ln.next()){var fc=ue(Ny,se,wi,go.value,je);fc!==null&&(e&&fc.alternate!==null&&Ny.delete(fc.key===null?wi:fc.key),Vi=y(fc,Vi,wi),Bn===null?fa=fc:Bn.sibling=fc,Bn=fc)}if(e&&Ny.forEach(function(Lz){return t(se,Lz)}),hi()){var Rz=wi;nh(se,Rz)}return fa}function St(se,De,le,je){if(De!==null&&De.tag===I){s(se,De.sibling);var ut=p(De,le);return ut.return=se,ut}s(se,De);var it=yC(le,se.mode,je);return it.return=se,it}function Pt(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut){var It=le.type;if(It===_o){if(it.tag===G){s(se,it.sibling);var Qt=p(it,le.props.children);return Qt.return=se,Qt._debugSource=le._source,Qt._debugOwner=le._owner,Qt}}else if(it.elementType===It||VF(it,le)||typeof It=="object"&&It!==null&&It.$$typeof===jt&&IT(It)===it.type){s(se,it.sibling);var rr=p(it,le.props);return rr.ref=ny(se,it,le),rr.return=se,rr._debugSource=le._source,rr._debugOwner=le._owner,rr}s(se,it);break}else t(se,it);it=it.sibling}if(le.type===_o){var Ln=Af(le.props.children,se.mode,je,le.key);return Ln.return=se,Ln}else{var fa=vC(le,se.mode,je);return fa.ref=ny(se,De,le),fa.return=se,fa}}function hn(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut)if(it.tag===O&&it.stateNode.containerInfo===le.containerInfo&&it.stateNode.implementation===le.implementation){s(se,it.sibling);var It=p(it,le.children||[]);return It.return=se,It}else{s(se,it);break}else t(se,it);it=it.sibling}var Qt=bC(le,se.mode,je);return Qt.return=se,Qt}function cn(se,De,le,je){var ut=typeof le=="object"&&le!==null&&le.type===_o&&le.key===null;if(ut&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case Ta:return w(Pt(se,De,le,je));case oa:return w(hn(se,De,le,je));case jt:var it=le._payload,It=le._init;return cn(se,De,It(it),je)}if(Yt(le))return Se(se,De,le,je);if(Et(le))return tt(se,De,le,je);qk(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?w(St(se,De,""+le,je)):(typeof le=="function"&&Vk(se),s(se,De))}return cn}var Xm=jT(!0),zT=jT(!1);function d5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=mh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=mh(s,s.pendingProps),u.return=t;u.sibling=null}}function f5(e,t){for(var s=e.child;s!==null;)Z7(s,t),s=s.sibling}var CD=mf(null),_D;_D={};var Wk=null,Jm=null,xD=null,Yk=!1;function Gk(){Wk=null,Jm=null,xD=null,Yk=!1}function UT(){Yk=!0}function HT(){Yk=!1}function qT(e,t,s){Hi(CD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==_D&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=_D}function ED(e,t){var s=CD.current;Ui(CD,t),e._currentValue=s}function TD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(Xc(u.childLanes,t)?p!==null&&!Xc(p.childLanes,t)&&(p.childLanes=Zt(p.childLanes,t)):(u.childLanes=Zt(u.childLanes,t),p!==null&&(p.childLanes=Zt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("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 p5(e,t,s){h5(e,t,s)}function h5(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===T){var x=Mp(s),A=pd(dr,x);A.tag=Qk;var L=u.updateQueue;if(L!==null){var j=L.shared,re=j.pending;re===null?A.next=A:(A.next=re.next,re.next=A),j.pending=A}}u.lanes=Zt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Zt(te.lanes,s)),TD(u.return,s,e),y.lanes=Zt(y.lanes,s);break}w=w.next}}else if(u.tag===Z)p=u.type===e.type?null:u.child;else if(u.tag===Ge){var ue=u.return;if(ue===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ue.lanes=Zt(ue.lanes,s);var ge=ue.alternate;ge!==null&&(ge.lanes=Zt(ge.lanes,s)),TD(ue,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var Se=p.sibling;if(Se!==null){Se.return=p.return,p=Se;break}p=p.return}u=p}}function Zm(e,t){Wk=e,Jm=null,xD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Mi(s.lanes,t)&&vy(),s.firstContext=null)}}function Ca(e){Yk&&m("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().");var t=e._currentValue;if(xD!==e){var s={context:e,memoizedValue:t,next:null};if(Jm===null){if(Wk===null)throw new 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().");Jm=s,Wk.dependencies={lanes:E,firstContext:s}}else Jm=Jm.next=s}return t}var sh=null;function AD(e){sh===null?sh=[e]:sh.push(e)}function m5(){if(sh!==null){for(var e=0;e<sh.length;e++){var t=sh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}sh=null}}function VT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Kk(e,u)}function g5(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s}function v5(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Kk(e,u)}function Vo(e,t){return Kk(e,t)}var y5=Kk;function Kk(e,t){e.lanes=Zt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Zt(s.lanes,t)),s===null&&(e.flags&(Fr|Oi))!==Ct&&zF(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Zt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Zt(s.childLanes,t):(p.flags&(Fr|Oi))!==Ct&&zF(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var WT=0,YT=1,Qk=2,FD=3,Xk=!1,$D,Jk;$D=!1,Jk=null;function PD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:E},effects:null};e.updateQueue=t}function GT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function pd(e,t){var s={eventTime:e,lane:t,tag:WT,payload:null,callback:null,next:null};return s}function bf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Jk===p&&!$D&&(m("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."),$D=!0),g7()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,y5(e,s)}else return v5(e,p,t,s)}function Zk(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(mv(s)){var y=p.lanes;y=vv(y,e.pendingLanes);var w=Zt(y,s);p.lanes=w,jp(e,w)}}}function ND(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,x=s.firstBaseUpdate;if(x!==null){var A=x;do{var L={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};w===null?y=w=L:(w.next=L,w=L),A=A.next}while(A!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var j=s.lastBaseUpdate;j===null?s.firstBaseUpdate=t:j.next=t,s.lastBaseUpdate=t}function b5(e,t,s,u,p,y){switch(s.tag){case YT:{var w=s.payload;if(typeof w=="function"){UT();var x=w.call(y,u,p);{if(e.mode&qn){tr(!0);try{w.call(y,u,p)}finally{tr(!1)}}HT()}return x}return w}case FD:e.flags=e.flags&-65537|yt;case WT:{var A=s.payload,L;if(typeof A=="function"){UT(),L=A.call(y,u,p);{if(e.mode&qn){tr(!0);try{A.call(y,u,p)}finally{tr(!1)}}HT()}}else L=A;return L==null?u:Xt({},u,L)}case Qk:return Xk=!0,u}return u}function ew(e,t,s,u){var p=e.updateQueue;Xk=!1,Jk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,x=p.shared.pending;if(x!==null){p.shared.pending=null;var A=x,L=A.next;A.next=null,w===null?y=L:w.next=L,w=A;var j=e.alternate;if(j!==null){var re=j.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=L:te.next=L,re.lastBaseUpdate=A)}}if(y!==null){var ue=p.baseState,ge=E,Se=null,tt=null,St=null,Pt=y;do{var hn=Pt.lane,cn=Pt.eventTime;if(Xc(u,hn)){if(St!==null){var se={eventTime:cn,lane:M,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St=St.next=se}ue=b5(e,p,Pt,ue,t,s);var De=Pt.callback;if(De!==null&&Pt.lane!==M){e.flags|=Wn;var le=p.effects;le===null?p.effects=[Pt]:le.push(Pt)}}else{var je={eventTime:cn,lane:hn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St===null?(tt=St=je,Se=ue):St=St.next=je,ge=Zt(ge,hn)}if(Pt=Pt.next,Pt===null){if(x=p.shared.pending,x===null)break;var ut=x,it=ut.next;ut.next=null,Pt=it,p.lastBaseUpdate=ut,p.shared.pending=null}}while(!0);St===null&&(Se=ue),p.baseState=Se,p.firstBaseUpdate=tt,p.lastBaseUpdate=St;var It=p.shared.interleaved;if(It!==null){var Qt=It;do ge=Zt(ge,Qt.lane),Qt=Qt.next;while(Qt!==It)}else y===null&&(p.shared.lanes=E);Ty(ge),e.lanes=ge,e.memoizedState=ue}Jk=null}function k5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function KT(){Xk=!1}function tw(){return Xk}function QT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,k5(w,s))}}var ry={},kf=mf(ry),ay=mf(ry),nw=mf(ry);function rw(e){if(e===ry)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function XT(){var e=rw(nw.current);return e}function OD(e,t){Hi(nw,t,e),Hi(ay,e,e),Hi(kf,ry,e);var s=B8(t);Ui(kf,e),Hi(kf,s,e)}function eg(e){Ui(kf,e),Ui(ay,e),Ui(nw,e)}function RD(){var e=rw(kf.current);return e}function JT(e){rw(nw.current);var t=rw(kf.current),s=M8(t,e.type);t!==s&&(Hi(ay,e,e),Hi(kf,s,e))}function LD(e){ay.current===e&&(Ui(kf,e),Ui(ay,e))}var w5=0,ZT=1,eA=1,iy=2,nu=mf(w5);function BD(e,t){return(e&t)!==0}function tg(e){return e&ZT}function MD(e,t){return e&ZT|t}function D5(e,t){return e|t}function wf(e,t){Hi(nu,t,e)}function ng(e){Ui(nu,e)}function S5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function aw(e){for(var t=e;t!==null;){if(t.tag===K){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||vT(u)||nD(u))return t}}else if(t.tag===We&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;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}var Wo=0,La=1,ic=2,Ba=4,mi=8,ID=[];function jD(){for(var e=0;e<ID.length;e++){var t=ID[e];t._workInProgressVersionPrimary=null}ID.length=0}function C5(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var lt=i.ReactCurrentDispatcher,oy=i.ReactCurrentBatchConfig,zD,rg;zD=new Set;var lh=E,nr=null,Ma=null,Ia=null,iw=!1,sy=!1,ly=0,_5=0,x5=25,Ee=null,ol=null,Df=-1,UD=!1;function Vn(){{var e=Ee;ol===null?ol=[e]:ol.push(e)}}function Xe(){{var e=Ee;ol!==null&&(Df++,ol[Df]!==e&&E5(e))}}function ag(e){e!=null&&!Yt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ee,typeof e)}function E5(e){{var t=Mt(nr);if(!zD.has(t)&&(zD.add(t),ol!==null)){for(var s="",u=30,p=0;p<=Df;p++){for(var y=ol[p],w=p===Df?e:y,x=p+1+". "+y;x.length<u;)x+=" ";x+=w+`
|
|
232
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function qk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Vk(e){{var t=Mt(e)||"Component";if(SD[t])return;SD[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function IT(e){var t=e._payload,s=e._init;return s(t)}function jT(e){function t(se,De){if(e){var le=se.deletions;le===null?(se.deletions=[De],se.flags|=Ni):le.push(De)}}function s(se,De){if(!e)return null;for(var le=De;le!==null;)t(se,le),le=le.sibling;return null}function u(se,De){for(var le=new Map,je=De;je!==null;)je.key!==null?le.set(je.key,je):le.set(je.index,je),je=je.sibling;return le}function p(se,De){var le=mh(se,De);return le.index=0,le.sibling=null,le}function y(se,De,le){if(se.index=le,!e)return se.flags|=so,De;var je=se.alternate;if(je!==null){var ut=je.index;return ut<De?(se.flags|=Fr,De):ut}else return se.flags|=Fr,De}function w(se){return e&&se.alternate===null&&(se.flags|=Fr),se}function x(se,De,le,je){if(De===null||De.tag!==I){var ut=yC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le);return it.return=se,it}}function A(se,De,le,je){var ut=le.type;if(ut===_o)return j(se,De,le.props.children,je,le.key);if(De!==null&&(De.elementType===ut||VF(De,le)||typeof ut=="object"&&ut!==null&&ut.$$typeof===jt&&IT(ut)===De.type)){var it=p(De,le.props);return it.ref=ny(se,De,le),it.return=se,it._debugSource=le._source,it._debugOwner=le._owner,it}var It=vC(le,se.mode,je);return It.ref=ny(se,De,le),It.return=se,It}function L(se,De,le,je){if(De===null||De.tag!==O||De.stateNode.containerInfo!==le.containerInfo||De.stateNode.implementation!==le.implementation){var ut=bC(le,se.mode,je);return ut.return=se,ut}else{var it=p(De,le.children||[]);return it.return=se,it}}function j(se,De,le,je,ut){if(De===null||De.tag!==G){var it=Af(le,se.mode,je,ut);return it.return=se,it}else{var It=p(De,le);return It.return=se,It}}function re(se,De,le){if(typeof De=="string"&&De!==""||typeof De=="number"){var je=yC(""+De,se.mode,le);return je.return=se,je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case Ta:{var ut=vC(De,se.mode,le);return ut.ref=ny(se,null,De),ut.return=se,ut}case sa:{var it=bC(De,se.mode,le);return it.return=se,it}case jt:{var It=De._payload,Qt=De._init;return re(se,Qt(It),le)}}if(Yt(De)||Et(De)){var rr=Af(De,se.mode,le,null);return rr.return=se,rr}qk(se,De)}return typeof De=="function"&&Vk(se),null}function te(se,De,le,je){var ut=De!==null?De.key:null;if(typeof le=="string"&&le!==""||typeof le=="number")return ut!==null?null:x(se,De,""+le,je);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case Ta:return le.key===ut?A(se,De,le,je):null;case sa:return le.key===ut?L(se,De,le,je):null;case jt:{var it=le._payload,It=le._init;return te(se,De,It(it),je)}}if(Yt(le)||Et(le))return ut!==null?null:j(se,De,le,je,null);qk(se,le)}return typeof le=="function"&&Vk(se),null}function ue(se,De,le,je,ut){if(typeof je=="string"&&je!==""||typeof je=="number"){var it=se.get(le)||null;return x(De,it,""+je,ut)}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case Ta:{var It=se.get(je.key===null?le:je.key)||null;return A(De,It,je,ut)}case sa:{var Qt=se.get(je.key===null?le:je.key)||null;return L(De,Qt,je,ut)}case jt:var rr=je._payload,Ln=je._init;return ue(se,De,le,Ln(rr),ut)}if(Yt(je)||Et(je)){var pa=se.get(le)||null;return j(De,pa,je,ut,null)}qk(De,je)}return typeof je=="function"&&Vk(De),null}function ge(se,De,le){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case Ta:case sa:MT(se,le);var je=se.key;if(typeof je!="string")break;if(De===null){De=new Set,De.add(je);break}if(!De.has(je)){De.add(je);break}m("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.",je);break;case jt:var ut=se._payload,it=se._init;ge(it(ut),De,le);break}}return De}function Se(se,De,le,je){for(var ut=null,it=0;it<le.length;it++){var It=le[it];ut=ge(It,ut,se)}for(var Qt=null,rr=null,Ln=De,pa=0,Bn=0,aa=null;Ln!==null&&Bn<le.length;Bn++){Ln.index>Bn?(aa=Ln,Ln=null):aa=Ln.sibling;var Vi=te(se,Ln,le[Bn],je);if(Vi===null){Ln===null&&(Ln=aa);break}e&&Ln&&Vi.alternate===null&&t(se,Ln),pa=y(Vi,pa,Bn),rr===null?Qt=Vi:rr.sibling=Vi,rr=Vi,Ln=aa}if(Bn===le.length){if(s(se,Ln),hi()){var wi=Bn;nh(se,wi)}return Qt}if(Ln===null){for(;Bn<le.length;Bn++){var _s=re(se,le[Bn],je);_s!==null&&(pa=y(_s,pa,Bn),rr===null?Qt=_s:rr.sibling=_s,rr=_s)}if(hi()){var go=Bn;nh(se,go)}return Qt}for(var vo=u(se,Ln);Bn<le.length;Bn++){var Wi=ue(vo,se,Bn,le[Bn],je);Wi!==null&&(e&&Wi.alternate!==null&&vo.delete(Wi.key===null?Bn:Wi.key),pa=y(Wi,pa,Bn),rr===null?Qt=Wi:rr.sibling=Wi,rr=Wi)}if(e&&vo.forEach(function(mg){return t(se,mg)}),hi()){var bd=Bn;nh(se,bd)}return Qt}function tt(se,De,le,je){var ut=Et(le);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&le[Symbol.toStringTag]==="Generator"&&(kD||m("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."),kD=!0),le.entries===ut&&(bD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bD=!0);var it=ut.call(le);if(it)for(var It=null,Qt=it.next();!Qt.done;Qt=it.next()){var rr=Qt.value;It=ge(rr,It,se)}}var Ln=ut.call(le);if(Ln==null)throw new Error("An iterable object provided no iterator.");for(var pa=null,Bn=null,aa=De,Vi=0,wi=0,_s=null,go=Ln.next();aa!==null&&!go.done;wi++,go=Ln.next()){aa.index>wi?(_s=aa,aa=null):_s=aa.sibling;var vo=te(se,aa,go.value,je);if(vo===null){aa===null&&(aa=_s);break}e&&aa&&vo.alternate===null&&t(se,aa),Vi=y(vo,Vi,wi),Bn===null?pa=vo:Bn.sibling=vo,Bn=vo,aa=_s}if(go.done){if(s(se,aa),hi()){var Wi=wi;nh(se,Wi)}return pa}if(aa===null){for(;!go.done;wi++,go=Ln.next()){var bd=re(se,go.value,je);bd!==null&&(Vi=y(bd,Vi,wi),Bn===null?pa=bd:Bn.sibling=bd,Bn=bd)}if(hi()){var mg=wi;nh(se,mg)}return pa}for(var Ny=u(se,aa);!go.done;wi++,go=Ln.next()){var fc=ue(Ny,se,wi,go.value,je);fc!==null&&(e&&fc.alternate!==null&&Ny.delete(fc.key===null?wi:fc.key),Vi=y(fc,Vi,wi),Bn===null?pa=fc:Bn.sibling=fc,Bn=fc)}if(e&&Ny.forEach(function(Lz){return t(se,Lz)}),hi()){var Rz=wi;nh(se,Rz)}return pa}function St(se,De,le,je){if(De!==null&&De.tag===I){s(se,De.sibling);var ut=p(De,le);return ut.return=se,ut}s(se,De);var it=yC(le,se.mode,je);return it.return=se,it}function Pt(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut){var It=le.type;if(It===_o){if(it.tag===G){s(se,it.sibling);var Qt=p(it,le.props.children);return Qt.return=se,Qt._debugSource=le._source,Qt._debugOwner=le._owner,Qt}}else if(it.elementType===It||VF(it,le)||typeof It=="object"&&It!==null&&It.$$typeof===jt&&IT(It)===it.type){s(se,it.sibling);var rr=p(it,le.props);return rr.ref=ny(se,it,le),rr.return=se,rr._debugSource=le._source,rr._debugOwner=le._owner,rr}s(se,it);break}else t(se,it);it=it.sibling}if(le.type===_o){var Ln=Af(le.props.children,se.mode,je,le.key);return Ln.return=se,Ln}else{var pa=vC(le,se.mode,je);return pa.ref=ny(se,De,le),pa.return=se,pa}}function hn(se,De,le,je){for(var ut=le.key,it=De;it!==null;){if(it.key===ut)if(it.tag===O&&it.stateNode.containerInfo===le.containerInfo&&it.stateNode.implementation===le.implementation){s(se,it.sibling);var It=p(it,le.children||[]);return It.return=se,It}else{s(se,it);break}else t(se,it);it=it.sibling}var Qt=bC(le,se.mode,je);return Qt.return=se,Qt}function cn(se,De,le,je){var ut=typeof le=="object"&&le!==null&&le.type===_o&&le.key===null;if(ut&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case Ta:return w(Pt(se,De,le,je));case sa:return w(hn(se,De,le,je));case jt:var it=le._payload,It=le._init;return cn(se,De,It(it),je)}if(Yt(le))return Se(se,De,le,je);if(Et(le))return tt(se,De,le,je);qk(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?w(St(se,De,""+le,je)):(typeof le=="function"&&Vk(se),s(se,De))}return cn}var Xm=jT(!0),zT=jT(!1);function d5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=mh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=mh(s,s.pendingProps),u.return=t;u.sibling=null}}function f5(e,t){for(var s=e.child;s!==null;)Z7(s,t),s=s.sibling}var CD=mf(null),_D;_D={};var Wk=null,Jm=null,xD=null,Yk=!1;function Gk(){Wk=null,Jm=null,xD=null,Yk=!1}function UT(){Yk=!0}function HT(){Yk=!1}function qT(e,t,s){Hi(CD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==_D&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=_D}function ED(e,t){var s=CD.current;Ui(CD,t),e._currentValue=s}function TD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(Xc(u.childLanes,t)?p!==null&&!Xc(p.childLanes,t)&&(p.childLanes=Zt(p.childLanes,t)):(u.childLanes=Zt(u.childLanes,t),p!==null&&(p.childLanes=Zt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("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 p5(e,t,s){h5(e,t,s)}function h5(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===T){var x=Mp(s),A=pd(dr,x);A.tag=Qk;var L=u.updateQueue;if(L!==null){var j=L.shared,re=j.pending;re===null?A.next=A:(A.next=re.next,re.next=A),j.pending=A}}u.lanes=Zt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Zt(te.lanes,s)),TD(u.return,s,e),y.lanes=Zt(y.lanes,s);break}w=w.next}}else if(u.tag===Z)p=u.type===e.type?null:u.child;else if(u.tag===Ge){var ue=u.return;if(ue===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ue.lanes=Zt(ue.lanes,s);var ge=ue.alternate;ge!==null&&(ge.lanes=Zt(ge.lanes,s)),TD(ue,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var Se=p.sibling;if(Se!==null){Se.return=p.return,p=Se;break}p=p.return}u=p}}function Zm(e,t){Wk=e,Jm=null,xD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Mi(s.lanes,t)&&vy(),s.firstContext=null)}}function Ca(e){Yk&&m("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().");var t=e._currentValue;if(xD!==e){var s={context:e,memoizedValue:t,next:null};if(Jm===null){if(Wk===null)throw new 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().");Jm=s,Wk.dependencies={lanes:E,firstContext:s}}else Jm=Jm.next=s}return t}var sh=null;function AD(e){sh===null?sh=[e]:sh.push(e)}function m5(){if(sh!==null){for(var e=0;e<sh.length;e++){var t=sh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}sh=null}}function VT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Kk(e,u)}function g5(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s}function v5(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,AD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Kk(e,u)}function Vo(e,t){return Kk(e,t)}var y5=Kk;function Kk(e,t){e.lanes=Zt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Zt(s.lanes,t)),s===null&&(e.flags&(Fr|Oi))!==Ct&&zF(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Zt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Zt(s.childLanes,t):(p.flags&(Fr|Oi))!==Ct&&zF(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var WT=0,YT=1,Qk=2,FD=3,Xk=!1,$D,Jk;$D=!1,Jk=null;function PD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:E},effects:null};e.updateQueue=t}function GT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function pd(e,t){var s={eventTime:e,lane:t,tag:WT,payload:null,callback:null,next:null};return s}function bf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Jk===p&&!$D&&(m("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."),$D=!0),g7()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,y5(e,s)}else return v5(e,p,t,s)}function Zk(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(mv(s)){var y=p.lanes;y=vv(y,e.pendingLanes);var w=Zt(y,s);p.lanes=w,jp(e,w)}}}function ND(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,x=s.firstBaseUpdate;if(x!==null){var A=x;do{var L={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};w===null?y=w=L:(w.next=L,w=L),A=A.next}while(A!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var j=s.lastBaseUpdate;j===null?s.firstBaseUpdate=t:j.next=t,s.lastBaseUpdate=t}function b5(e,t,s,u,p,y){switch(s.tag){case YT:{var w=s.payload;if(typeof w=="function"){UT();var x=w.call(y,u,p);{if(e.mode&qn){tr(!0);try{w.call(y,u,p)}finally{tr(!1)}}HT()}return x}return w}case FD:e.flags=e.flags&-65537|yt;case WT:{var A=s.payload,L;if(typeof A=="function"){UT(),L=A.call(y,u,p);{if(e.mode&qn){tr(!0);try{A.call(y,u,p)}finally{tr(!1)}}HT()}}else L=A;return L==null?u:Xt({},u,L)}case Qk:return Xk=!0,u}return u}function ew(e,t,s,u){var p=e.updateQueue;Xk=!1,Jk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,x=p.shared.pending;if(x!==null){p.shared.pending=null;var A=x,L=A.next;A.next=null,w===null?y=L:w.next=L,w=A;var j=e.alternate;if(j!==null){var re=j.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=L:te.next=L,re.lastBaseUpdate=A)}}if(y!==null){var ue=p.baseState,ge=E,Se=null,tt=null,St=null,Pt=y;do{var hn=Pt.lane,cn=Pt.eventTime;if(Xc(u,hn)){if(St!==null){var se={eventTime:cn,lane:M,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St=St.next=se}ue=b5(e,p,Pt,ue,t,s);var De=Pt.callback;if(De!==null&&Pt.lane!==M){e.flags|=Wn;var le=p.effects;le===null?p.effects=[Pt]:le.push(Pt)}}else{var je={eventTime:cn,lane:hn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};St===null?(tt=St=je,Se=ue):St=St.next=je,ge=Zt(ge,hn)}if(Pt=Pt.next,Pt===null){if(x=p.shared.pending,x===null)break;var ut=x,it=ut.next;ut.next=null,Pt=it,p.lastBaseUpdate=ut,p.shared.pending=null}}while(!0);St===null&&(Se=ue),p.baseState=Se,p.firstBaseUpdate=tt,p.lastBaseUpdate=St;var It=p.shared.interleaved;if(It!==null){var Qt=It;do ge=Zt(ge,Qt.lane),Qt=Qt.next;while(Qt!==It)}else y===null&&(p.shared.lanes=E);Ty(ge),e.lanes=ge,e.memoizedState=ue}Jk=null}function k5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function KT(){Xk=!1}function tw(){return Xk}function QT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,k5(w,s))}}var ry={},kf=mf(ry),ay=mf(ry),nw=mf(ry);function rw(e){if(e===ry)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function XT(){var e=rw(nw.current);return e}function OD(e,t){Hi(nw,t,e),Hi(ay,e,e),Hi(kf,ry,e);var s=B8(t);Ui(kf,e),Hi(kf,s,e)}function eg(e){Ui(kf,e),Ui(ay,e),Ui(nw,e)}function RD(){var e=rw(kf.current);return e}function JT(e){rw(nw.current);var t=rw(kf.current),s=M8(t,e.type);t!==s&&(Hi(ay,e,e),Hi(kf,s,e))}function LD(e){ay.current===e&&(Ui(kf,e),Ui(ay,e))}var w5=0,ZT=1,eA=1,iy=2,nu=mf(w5);function BD(e,t){return(e&t)!==0}function tg(e){return e&ZT}function MD(e,t){return e&ZT|t}function D5(e,t){return e|t}function wf(e,t){Hi(nu,t,e)}function ng(e){Ui(nu,e)}function S5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function aw(e){for(var t=e;t!==null;){if(t.tag===K){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||vT(u)||nD(u))return t}}else if(t.tag===We&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;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}var Wo=0,La=1,ic=2,Ba=4,mi=8,ID=[];function jD(){for(var e=0;e<ID.length;e++){var t=ID[e];t._workInProgressVersionPrimary=null}ID.length=0}function C5(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var lt=i.ReactCurrentDispatcher,oy=i.ReactCurrentBatchConfig,zD,rg;zD=new Set;var lh=E,nr=null,Ma=null,Ia=null,iw=!1,sy=!1,ly=0,_5=0,x5=25,Ee=null,ol=null,Df=-1,UD=!1;function Vn(){{var e=Ee;ol===null?ol=[e]:ol.push(e)}}function Xe(){{var e=Ee;ol!==null&&(Df++,ol[Df]!==e&&E5(e))}}function ag(e){e!=null&&!Yt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ee,typeof e)}function E5(e){{var t=Mt(nr);if(!zD.has(t)&&(zD.add(t),ol!==null)){for(var s="",u=30,p=0;p<=Df;p++){for(var y=ol[p],w=p===Df?e:y,x=p+1+". "+y;x.length<u;)x+=" ";x+=w+`
|
|
233
233
|
`,s+=x}m(`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://reactjs.org/link/rules-of-hooks
|
|
234
234
|
|
|
235
235
|
Previous render Next render
|
|
@@ -242,7 +242,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
242
242
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function HD(e,t){if(UD)return!1;if(t===null)return m("%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.",Ee),!1;e.length!==t.length&&m(`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`,Ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function ig(e,t,s,u,p,y){lh=y,nr=t,ol=e!==null?e._debugHookTypes:null,Df=-1,UD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=E,e!==null&&e.memoizedState!==null?lt.current=DA:ol!==null?lt.current=wA:lt.current=kA;var w=s(u,p);if(sy){var x=0;do{if(sy=!1,ly=0,x>=x5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");x+=1,UD=!1,Ma=null,Ia=null,t.updateQueue=null,Df=-1,lt.current=SA,w=s(u,p)}while(sy)}lt.current=yw,t._debugHookTypes=ol;var A=Ma!==null&&Ma.next!==null;if(lh=E,nr=null,Ma=null,Ia=null,Ee=null,ol=null,Df=-1,e!==null&&(e.flags&Cr)!==(t.flags&Cr)&&(e.mode&rn)!==_t&&m("Internal React error: Expected static flag was missing. Please notify the React team."),iw=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function og(){var e=ly!==0;return ly=0,e}function tA(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Tn)!==_t?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ip(e.lanes,s)}function nA(){if(lt.current=yw,iw){for(var e=nr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}iw=!1}lh=E,nr=null,Ma=null,Ia=null,ol=null,Df=-1,Ee=null,mA=!1,sy=!1,ly=0}function oc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ia===null?nr.memoizedState=Ia=e:Ia=Ia.next=e,Ia}function sl(){var e;if(Ma===null){var t=nr.alternate;t!==null?e=t.memoizedState:e=null}else e=Ma.next;var s;if(Ia===null?s=nr.memoizedState:s=Ia.next,s!==null)Ia=s,s=Ia.next,Ma=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Ma=e;var u={memoizedState:Ma.memoizedState,baseState:Ma.baseState,baseQueue:Ma.baseQueue,queue:Ma.queue,next:null};Ia===null?nr.memoizedState=Ia=u:Ia=Ia.next=u}return Ia}function rA(){return{lastEffect:null,stores:null}}function qD(e,t){return typeof t=="function"?t(e):t}function VD(e,t,s){var u=oc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=$5.bind(null,nr,y);return[u.memoizedState,w]}function WD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Ma,w=y.baseQueue,x=p.pending;if(x!==null){if(w!==null){var A=w.next,L=x.next;w.next=L,x.next=A}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=x,p.pending=null}if(w!==null){var j=w.next,re=y.baseState,te=null,ue=null,ge=null,Se=j;do{var tt=Se.lane;if(Xc(lh,tt)){if(ge!==null){var St={lane:M,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null};ge=ge.next=St}if(Se.hasEagerState)re=Se.eagerState;else{var Pt=Se.action;re=e(re,Pt)}}else{var hn={lane:tt,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null};ge===null?(ue=ge=hn,te=re):ge=ge.next=hn,nr.lanes=Zt(nr.lanes,tt),Ty(tt)}Se=Se.next}while(Se!==null&&Se!==j);ge===null?te=re:ge.next=ue,ie(re,u.memoizedState)||vy(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var cn=p.interleaved;if(cn!==null){var se=cn;do{var De=se.lane;nr.lanes=Zt(nr.lanes,De),Ty(De),se=se.next}while(se!==cn)}else w===null&&(p.lanes=E);var le=p.dispatch;return[u.memoizedState,le]}function YD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,x=u.memoizedState;if(w!==null){p.pending=null;var A=w.next,L=A;do{var j=L.action;x=e(x,j),L=L.next}while(L!==A);ie(x,u.memoizedState)||vy(),u.memoizedState=x,u.baseQueue===null&&(u.baseState=x),p.lastRenderedState=x}return[x,y]}function GD(e,t,s){var u=nr,p=oc(),y,w=hi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),rg||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),rg=!0)}else{if(y=t(),!rg){var x=t();ie(y,x)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),rg=!0)}var A=Mw();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");wm(A,lh)||aA(u,t,y)}p.memoizedState=y;var L={value:y,getSnapshot:t};return p.queue=L,cw(oA.bind(null,u,L,e),[e]),u.flags|=Ga,uy(La|mi,iA.bind(null,u,L,y,t),void 0,null),y}function ow(e,t,s){var u=nr,p=sl(),y=t();if(!rg){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),rg=!0)}var x=p.memoizedState,A=!ie(x,y);A&&(p.memoizedState=y,vy());var L=p.queue;if(dy(oA.bind(null,u,L,e),[e]),L.getSnapshot!==t||A||Ia!==null&&Ia.memoizedState.tag&La){u.flags|=Ga,uy(La|mi,iA.bind(null,u,L,y,t),void 0,null);var j=Mw();if(j===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");wm(j,lh)||aA(u,t,y)}return y}function aA(e,t,s){e.flags|=Uu;var u={getSnapshot:t,value:s},p=nr.updateQueue;if(p===null)p=rA(),nr.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function iA(e,t,s,u){t.value=s,t.getSnapshot=u,sA(t)&&lA(e)}function oA(e,t,s){var u=function(){sA(t)&&lA(e)};return s(u)}function sA(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function lA(e){var t=Vo(e,U);t!==null&&Ha(t,e,U,dr)}function sw(e){var t=oc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:qD,lastRenderedState:e};t.queue=s;var u=s.dispatch=P5.bind(null,nr,s);return[t.memoizedState,u]}function KD(e){return WD(qD)}function QD(e){return YD(qD)}function uy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=nr.updateQueue;if(y===null)y=rA(),nr.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var x=w.next;w.next=p,p.next=x,y.lastEffect=p}}return p}function XD(e){var t=oc();{var s={current:e};return t.memoizedState=s,s}}function lw(e){var t=sl();return t.memoizedState}function cy(e,t,s,u){var p=oc(),y=u===void 0?null:u;nr.flags|=e,p.memoizedState=uy(La|t,s,void 0,y)}function uw(e,t,s,u){var p=sl(),y=u===void 0?null:u,w=void 0;if(Ma!==null){var x=Ma.memoizedState;if(w=x.destroy,y!==null){var A=x.deps;if(HD(y,A)){p.memoizedState=uy(t,s,w,y);return}}}nr.flags|=e,p.memoizedState=uy(La|t,s,w,y)}function cw(e,t){return(nr.mode&Tn)!==_t?cy(Lo|Ga|ef,mi,e,t):cy(Ga|ef,mi,e,t)}function dy(e,t){return uw(Ga,mi,e,t)}function JD(e,t){return cy(mn,ic,e,t)}function dw(e,t){return uw(mn,ic,e,t)}function ZD(e,t){var s=mn;return s|=Ro,(nr.mode&Tn)!==_t&&(s|=lo),cy(s,Ba,e,t)}function fw(e,t){return uw(mn,Ba,e,t)}function uA(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function eS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Ro,(nr.mode&Tn)!==_t&&(p|=lo),cy(p,Ba,uA.bind(null,t,e),u)}function pw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return uw(mn,Ba,uA.bind(null,t,e),u)}function T5(e,t){}var hw=T5;function tS(e,t){var s=oc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function mw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(HD(u,y))return p[0]}return s.memoizedState=[e,u],e}function nS(e,t){var s=oc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function gw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(HD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function rS(e){var t=oc();return t.memoizedState=e,e}function cA(e){var t=sl(),s=Ma,u=s.memoizedState;return fA(t,u,e)}function dA(e){var t=sl();if(Ma===null)return t.memoizedState=e,e;var s=Ma.memoizedState;return fA(t,s,e)}function fA(e,t,s){var u=!pv(lh);if(u){if(!ie(s,t)){var p=gv();nr.lanes=Zt(nr.lanes,p),Ty(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,vy()),e.memoizedState=s,s}function A5(e,t,s){var u=bs();ca(Hb(u,ys)),e(!0);var p=oy.transition;oy.transition={};var y=oy.transition;oy.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(ca(u),oy.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("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."),y._updatedFibers.clear()}}}function aS(){var e=sw(!1),t=e[0],s=e[1],u=A5.bind(null,s),p=oc();return p.memoizedState=u,[t,u]}function pA(){var e=KD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}function hA(){var e=QD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}var mA=!1;function F5(){return mA}function iS(){var e=oc(),t=Mw(),s=t.identifierPrefix,u;if(hi()){var p=Y6();u=":"+s+"R"+p;var y=ly++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=_5++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function vw(){var e=sl(),t=e.memoizedState;return t}function $5(e,t,s){typeof arguments[3]=="function"&&m("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().");var u=Ef(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(gA(e))vA(t,p);else{var y=VT(e,t,p,u);if(y!==null){var w=mo();Ha(y,e,u,w),yA(y,t,u)}}bA(e,u)}function P5(e,t,s){typeof arguments[3]=="function"&&m("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().");var u=Ef(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(gA(e))vA(t,p);else{var y=e.alternate;if(e.lanes===E&&(y===null||y.lanes===E)){var w=t.lastRenderedReducer;if(w!==null){var x;x=lt.current,lt.current=ru;try{var A=t.lastRenderedState,L=w(A,s);if(p.hasEagerState=!0,p.eagerState=L,ie(L,A)){g5(e,t,p,u);return}}catch{}finally{lt.current=x}}}var j=VT(e,t,p,u);if(j!==null){var re=mo();Ha(j,e,u,re),yA(j,t,u)}}bA(e,u)}function gA(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function vA(e,t){sy=iw=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function yA(e,t,s){if(mv(s)){var u=t.lanes;u=vv(u,e.pendingLanes);var p=Zt(u,s);t.lanes=p,jp(e,p)}}function bA(e,t,s){Js(e,t)}var yw={readContext:Ca,useCallback:qi,useContext:qi,useEffect:qi,useImperativeHandle:qi,useInsertionEffect:qi,useLayoutEffect:qi,useMemo:qi,useReducer:qi,useRef:qi,useState:qi,useDebugValue:qi,useDeferredValue:qi,useTransition:qi,useMutableSource:qi,useSyncExternalStore:qi,useId:qi,unstable_isNewReconciler:de},kA=null,wA=null,DA=null,SA=null,sc=null,ru=null,bw=null;{var oS=function(){m("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().")},qt=function(){m("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://reactjs.org/link/rules-of-hooks")};kA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Vn(),ag(t),tS(e,t)},useContext:function(e){return Ee="useContext",Vn(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Vn(),ag(t),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Vn(),ag(s),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Vn(),ag(t),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Vn(),ag(t),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",Vn(),ag(t);var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Vn();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Vn(),XD(e)},useState:function(e){Ee="useState",Vn();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Vn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Vn(),rS(e)},useTransition:function(){return Ee="useTransition",Vn(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Vn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Vn(),GD(e,t,s)},useId:function(){return Ee="useId",Vn(),iS()},unstable_isNewReconciler:de},wA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),tS(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),XD(e)},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),rS(e)},useTransition:function(){return Ee="useTransition",Xe(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),GD(e,t,s)},useId:function(){return Ee="useId",Xe(),iS()},unstable_isNewReconciler:de},DA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=ru;try{return WD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),lw()},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),cA(e)},useTransition:function(){return Ee="useTransition",Xe(),pA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),ow(e,t)},useId:function(){return Ee="useId",Xe(),vw()},unstable_isNewReconciler:de},SA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=bw;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=bw;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),lw()},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=bw;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),dA(e)},useTransition:function(){return Ee="useTransition",Xe(),hA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),ow(e,t)},useId:function(){return Ee="useId",Xe(),vw()},unstable_isNewReconciler:de},sc={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Vn(),tS(e,t)},useContext:function(e){return Ee="useContext",qt(),Vn(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Vn(),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Vn(),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Vn(),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Vn(),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Vn();var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Vn();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Vn(),XD(e)},useState:function(e){Ee="useState",qt(),Vn();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Vn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Vn(),rS(e)},useTransition:function(){return Ee="useTransition",qt(),Vn(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Vn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Vn(),GD(e,t,s)},useId:function(){return Ee="useId",qt(),Vn(),iS()},unstable_isNewReconciler:de},ru={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",qt(),Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Xe();var u=lt.current;lt.current=ru;try{return WD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Xe(),lw()},useState:function(e){Ee="useState",qt(),Xe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Xe(),cA(e)},useTransition:function(){return Ee="useTransition",qt(),Xe(),pA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Xe(),ow(e,t)},useId:function(){return Ee="useId",qt(),Xe(),vw()},unstable_isNewReconciler:de},bw={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",qt(),Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Xe();var u=lt.current;lt.current=ru;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Xe(),lw()},useState:function(e){Ee="useState",qt(),Xe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Xe(),dA(e)},useTransition:function(){return Ee="useTransition",qt(),Xe(),hA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Xe(),ow(e,t)},useId:function(){return Ee="useId",qt(),Xe(),vw()},unstable_isNewReconciler:de}}var Sf=r.unstable_now,CA=0,kw=-1,fy=-1,ww=-1,sS=!1,Dw=!1;function _A(){return sS}function N5(){Dw=!0}function O5(){sS=!1,Dw=!1}function R5(){sS=Dw,Dw=!1}function xA(){return CA}function EA(){CA=Sf()}function lS(e){fy=Sf(),e.actualStartTime<0&&(e.actualStartTime=Sf())}function TA(e){fy=-1}function Sw(e,t){if(fy>=0){var s=Sf()-fy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),fy=-1}}function lc(e){if(kw>=0){var t=Sf()-kw;kw=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case J:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function uS(e){if(ww>=0){var t=Sf()-ww;ww=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case J:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function uc(){kw=Sf()}function cS(){ww=Sf()}function dS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Xt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var fS={},pS,hS,mS,gS,vS,AA,Cw,yS,bS,kS,py;{pS=new Set,hS=new Set,mS=new Set,gS=new Set,yS=new Set,vS=new Set,bS=new Set,kS=new Set,py=new Set;var FA=new Set;Cw=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FA.has(s)||(FA.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},AA=function(e,t){if(t===void 0){var s=kn(e)||"Component";vS.has(s)||(vS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(fS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fS)}function wS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&qn){tr(!0);try{y=s(u,p)}finally{tr(!1)}}AA(t,y)}var w=y==null?p:Xt({},p,y);if(e.memoizedState=w,e.lanes===E){var x=e.updateQueue;x.baseState=w}}var DS={isMounted:um,enqueueSetState:function(e,t,s){var u=zu(e),p=mo(),y=Ef(u),w=pd(p,y);w.payload=t,s!=null&&(Cw(s,"setState"),w.callback=s);var x=bf(u,w,y);x!==null&&(Ha(x,u,y,p),Zk(x,u,y)),Js(u,y)},enqueueReplaceState:function(e,t,s){var u=zu(e),p=mo(),y=Ef(u),w=pd(p,y);w.tag=YT,w.payload=t,s!=null&&(Cw(s,"replaceState"),w.callback=s);var x=bf(u,w,y);x!==null&&(Ha(x,u,y,p),Zk(x,u,y)),Js(u,y)},enqueueForceUpdate:function(e,t){var s=zu(e),u=mo(),p=Ef(s),y=pd(u,p);y.tag=Qk,t!=null&&(Cw(t,"forceUpdate"),y.callback=t);var w=bf(s,y,p);w!==null&&(Ha(w,s,p,u),Zk(w,s,p)),Vc(s,p)}};function $A(e,t,s,u,p,y,w){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){var A=x.shouldComponentUpdate(u,y,w);{if(e.mode&qn){tr(!0);try{A=x.shouldComponentUpdate(u,y,w)}finally{tr(!1)}}A===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!Ue(s,u)||!Ue(p,y):!0}function L5(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("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.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!py.has(t)&&(e.mode&qn)===_t&&(py.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
245
|
+
Incoming: %s`,Ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function ig(e,t,s,u,p,y){lh=y,nr=t,ol=e!==null?e._debugHookTypes:null,Df=-1,UD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=E,e!==null&&e.memoizedState!==null?lt.current=DA:ol!==null?lt.current=wA:lt.current=kA;var w=s(u,p);if(sy){var x=0;do{if(sy=!1,ly=0,x>=x5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");x+=1,UD=!1,Ma=null,Ia=null,t.updateQueue=null,Df=-1,lt.current=SA,w=s(u,p)}while(sy)}lt.current=yw,t._debugHookTypes=ol;var A=Ma!==null&&Ma.next!==null;if(lh=E,nr=null,Ma=null,Ia=null,Ee=null,ol=null,Df=-1,e!==null&&(e.flags&Cr)!==(t.flags&Cr)&&(e.mode&rn)!==_t&&m("Internal React error: Expected static flag was missing. Please notify the React team."),iw=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function og(){var e=ly!==0;return ly=0,e}function tA(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Tn)!==_t?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ip(e.lanes,s)}function nA(){if(lt.current=yw,iw){for(var e=nr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}iw=!1}lh=E,nr=null,Ma=null,Ia=null,ol=null,Df=-1,Ee=null,mA=!1,sy=!1,ly=0}function oc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ia===null?nr.memoizedState=Ia=e:Ia=Ia.next=e,Ia}function sl(){var e;if(Ma===null){var t=nr.alternate;t!==null?e=t.memoizedState:e=null}else e=Ma.next;var s;if(Ia===null?s=nr.memoizedState:s=Ia.next,s!==null)Ia=s,s=Ia.next,Ma=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Ma=e;var u={memoizedState:Ma.memoizedState,baseState:Ma.baseState,baseQueue:Ma.baseQueue,queue:Ma.queue,next:null};Ia===null?nr.memoizedState=Ia=u:Ia=Ia.next=u}return Ia}function rA(){return{lastEffect:null,stores:null}}function qD(e,t){return typeof t=="function"?t(e):t}function VD(e,t,s){var u=oc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=$5.bind(null,nr,y);return[u.memoizedState,w]}function WD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Ma,w=y.baseQueue,x=p.pending;if(x!==null){if(w!==null){var A=w.next,L=x.next;w.next=L,x.next=A}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=x,p.pending=null}if(w!==null){var j=w.next,re=y.baseState,te=null,ue=null,ge=null,Se=j;do{var tt=Se.lane;if(Xc(lh,tt)){if(ge!==null){var St={lane:M,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null};ge=ge.next=St}if(Se.hasEagerState)re=Se.eagerState;else{var Pt=Se.action;re=e(re,Pt)}}else{var hn={lane:tt,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null};ge===null?(ue=ge=hn,te=re):ge=ge.next=hn,nr.lanes=Zt(nr.lanes,tt),Ty(tt)}Se=Se.next}while(Se!==null&&Se!==j);ge===null?te=re:ge.next=ue,ie(re,u.memoizedState)||vy(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var cn=p.interleaved;if(cn!==null){var se=cn;do{var De=se.lane;nr.lanes=Zt(nr.lanes,De),Ty(De),se=se.next}while(se!==cn)}else w===null&&(p.lanes=E);var le=p.dispatch;return[u.memoizedState,le]}function YD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,x=u.memoizedState;if(w!==null){p.pending=null;var A=w.next,L=A;do{var j=L.action;x=e(x,j),L=L.next}while(L!==A);ie(x,u.memoizedState)||vy(),u.memoizedState=x,u.baseQueue===null&&(u.baseState=x),p.lastRenderedState=x}return[x,y]}function GD(e,t,s){var u=nr,p=oc(),y,w=hi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),rg||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),rg=!0)}else{if(y=t(),!rg){var x=t();ie(y,x)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),rg=!0)}var A=Mw();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");wm(A,lh)||aA(u,t,y)}p.memoizedState=y;var L={value:y,getSnapshot:t};return p.queue=L,cw(oA.bind(null,u,L,e),[e]),u.flags|=Ga,uy(La|mi,iA.bind(null,u,L,y,t),void 0,null),y}function ow(e,t,s){var u=nr,p=sl(),y=t();if(!rg){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),rg=!0)}var x=p.memoizedState,A=!ie(x,y);A&&(p.memoizedState=y,vy());var L=p.queue;if(dy(oA.bind(null,u,L,e),[e]),L.getSnapshot!==t||A||Ia!==null&&Ia.memoizedState.tag&La){u.flags|=Ga,uy(La|mi,iA.bind(null,u,L,y,t),void 0,null);var j=Mw();if(j===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");wm(j,lh)||aA(u,t,y)}return y}function aA(e,t,s){e.flags|=Uu;var u={getSnapshot:t,value:s},p=nr.updateQueue;if(p===null)p=rA(),nr.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function iA(e,t,s,u){t.value=s,t.getSnapshot=u,sA(t)&&lA(e)}function oA(e,t,s){var u=function(){sA(t)&&lA(e)};return s(u)}function sA(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function lA(e){var t=Vo(e,U);t!==null&&Ha(t,e,U,dr)}function sw(e){var t=oc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:E,dispatch:null,lastRenderedReducer:qD,lastRenderedState:e};t.queue=s;var u=s.dispatch=P5.bind(null,nr,s);return[t.memoizedState,u]}function KD(e){return WD(qD)}function QD(e){return YD(qD)}function uy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=nr.updateQueue;if(y===null)y=rA(),nr.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var x=w.next;w.next=p,p.next=x,y.lastEffect=p}}return p}function XD(e){var t=oc();{var s={current:e};return t.memoizedState=s,s}}function lw(e){var t=sl();return t.memoizedState}function cy(e,t,s,u){var p=oc(),y=u===void 0?null:u;nr.flags|=e,p.memoizedState=uy(La|t,s,void 0,y)}function uw(e,t,s,u){var p=sl(),y=u===void 0?null:u,w=void 0;if(Ma!==null){var x=Ma.memoizedState;if(w=x.destroy,y!==null){var A=x.deps;if(HD(y,A)){p.memoizedState=uy(t,s,w,y);return}}}nr.flags|=e,p.memoizedState=uy(La|t,s,w,y)}function cw(e,t){return(nr.mode&Tn)!==_t?cy(Lo|Ga|ef,mi,e,t):cy(Ga|ef,mi,e,t)}function dy(e,t){return uw(Ga,mi,e,t)}function JD(e,t){return cy(mn,ic,e,t)}function dw(e,t){return uw(mn,ic,e,t)}function ZD(e,t){var s=mn;return s|=Ro,(nr.mode&Tn)!==_t&&(s|=lo),cy(s,Ba,e,t)}function fw(e,t){return uw(mn,Ba,e,t)}function uA(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function eS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Ro,(nr.mode&Tn)!==_t&&(p|=lo),cy(p,Ba,uA.bind(null,t,e),u)}function pw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return uw(mn,Ba,uA.bind(null,t,e),u)}function T5(e,t){}var hw=T5;function tS(e,t){var s=oc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function mw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(HD(u,y))return p[0]}return s.memoizedState=[e,u],e}function nS(e,t){var s=oc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function gw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(HD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function rS(e){var t=oc();return t.memoizedState=e,e}function cA(e){var t=sl(),s=Ma,u=s.memoizedState;return fA(t,u,e)}function dA(e){var t=sl();if(Ma===null)return t.memoizedState=e,e;var s=Ma.memoizedState;return fA(t,s,e)}function fA(e,t,s){var u=!pv(lh);if(u){if(!ie(s,t)){var p=gv();nr.lanes=Zt(nr.lanes,p),Ty(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,vy()),e.memoizedState=s,s}function A5(e,t,s){var u=bs();da(Hb(u,ys)),e(!0);var p=oy.transition;oy.transition={};var y=oy.transition;oy.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(da(u),oy.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("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."),y._updatedFibers.clear()}}}function aS(){var e=sw(!1),t=e[0],s=e[1],u=A5.bind(null,s),p=oc();return p.memoizedState=u,[t,u]}function pA(){var e=KD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}function hA(){var e=QD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}var mA=!1;function F5(){return mA}function iS(){var e=oc(),t=Mw(),s=t.identifierPrefix,u;if(hi()){var p=Y6();u=":"+s+"R"+p;var y=ly++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=_5++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function vw(){var e=sl(),t=e.memoizedState;return t}function $5(e,t,s){typeof arguments[3]=="function"&&m("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().");var u=Ef(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(gA(e))vA(t,p);else{var y=VT(e,t,p,u);if(y!==null){var w=mo();Ha(y,e,u,w),yA(y,t,u)}}bA(e,u)}function P5(e,t,s){typeof arguments[3]=="function"&&m("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().");var u=Ef(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(gA(e))vA(t,p);else{var y=e.alternate;if(e.lanes===E&&(y===null||y.lanes===E)){var w=t.lastRenderedReducer;if(w!==null){var x;x=lt.current,lt.current=ru;try{var A=t.lastRenderedState,L=w(A,s);if(p.hasEagerState=!0,p.eagerState=L,ie(L,A)){g5(e,t,p,u);return}}catch{}finally{lt.current=x}}}var j=VT(e,t,p,u);if(j!==null){var re=mo();Ha(j,e,u,re),yA(j,t,u)}}bA(e,u)}function gA(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function vA(e,t){sy=iw=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function yA(e,t,s){if(mv(s)){var u=t.lanes;u=vv(u,e.pendingLanes);var p=Zt(u,s);t.lanes=p,jp(e,p)}}function bA(e,t,s){Js(e,t)}var yw={readContext:Ca,useCallback:qi,useContext:qi,useEffect:qi,useImperativeHandle:qi,useInsertionEffect:qi,useLayoutEffect:qi,useMemo:qi,useReducer:qi,useRef:qi,useState:qi,useDebugValue:qi,useDeferredValue:qi,useTransition:qi,useMutableSource:qi,useSyncExternalStore:qi,useId:qi,unstable_isNewReconciler:de},kA=null,wA=null,DA=null,SA=null,sc=null,ru=null,bw=null;{var oS=function(){m("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().")},qt=function(){m("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://reactjs.org/link/rules-of-hooks")};kA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Vn(),ag(t),tS(e,t)},useContext:function(e){return Ee="useContext",Vn(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Vn(),ag(t),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Vn(),ag(s),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Vn(),ag(t),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Vn(),ag(t),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",Vn(),ag(t);var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Vn();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Vn(),XD(e)},useState:function(e){Ee="useState",Vn();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Vn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Vn(),rS(e)},useTransition:function(){return Ee="useTransition",Vn(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Vn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Vn(),GD(e,t,s)},useId:function(){return Ee="useId",Vn(),iS()},unstable_isNewReconciler:de},wA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),tS(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),XD(e)},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),rS(e)},useTransition:function(){return Ee="useTransition",Xe(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),GD(e,t,s)},useId:function(){return Ee="useId",Xe(),iS()},unstable_isNewReconciler:de},DA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=ru;try{return WD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),lw()},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),cA(e)},useTransition:function(){return Ee="useTransition",Xe(),pA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),ow(e,t)},useId:function(){return Ee="useId",Xe(),vw()},unstable_isNewReconciler:de},SA={readContext:function(e){return Ca(e)},useCallback:function(e,t){return Ee="useCallback",Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",Xe();var s=lt.current;lt.current=bw;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",Xe();var u=lt.current;lt.current=bw;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",Xe(),lw()},useState:function(e){Ee="useState",Xe();var t=lt.current;lt.current=bw;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",Xe(),dA(e)},useTransition:function(){return Ee="useTransition",Xe(),hA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",Xe(),ow(e,t)},useId:function(){return Ee="useId",Xe(),vw()},unstable_isNewReconciler:de},sc={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Vn(),tS(e,t)},useContext:function(e){return Ee="useContext",qt(),Vn(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Vn(),cw(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Vn(),eS(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Vn(),JD(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Vn(),ZD(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Vn();var s=lt.current;lt.current=sc;try{return nS(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Vn();var u=lt.current;lt.current=sc;try{return VD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Vn(),XD(e)},useState:function(e){Ee="useState",qt(),Vn();var t=lt.current;lt.current=sc;try{return sw(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Vn(),void 0},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Vn(),rS(e)},useTransition:function(){return Ee="useTransition",qt(),Vn(),aS()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Vn(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Vn(),GD(e,t,s)},useId:function(){return Ee="useId",qt(),Vn(),iS()},unstable_isNewReconciler:de},ru={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",qt(),Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Xe();var u=lt.current;lt.current=ru;try{return WD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Xe(),lw()},useState:function(e){Ee="useState",qt(),Xe();var t=lt.current;lt.current=ru;try{return KD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Xe(),cA(e)},useTransition:function(){return Ee="useTransition",qt(),Xe(),pA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Xe(),ow(e,t)},useId:function(){return Ee="useId",qt(),Xe(),vw()},unstable_isNewReconciler:de},bw={readContext:function(e){return oS(),Ca(e)},useCallback:function(e,t){return Ee="useCallback",qt(),Xe(),mw(e,t)},useContext:function(e){return Ee="useContext",qt(),Xe(),Ca(e)},useEffect:function(e,t){return Ee="useEffect",qt(),Xe(),dy(e,t)},useImperativeHandle:function(e,t,s){return Ee="useImperativeHandle",qt(),Xe(),pw(e,t,s)},useInsertionEffect:function(e,t){return Ee="useInsertionEffect",qt(),Xe(),dw(e,t)},useLayoutEffect:function(e,t){return Ee="useLayoutEffect",qt(),Xe(),fw(e,t)},useMemo:function(e,t){Ee="useMemo",qt(),Xe();var s=lt.current;lt.current=ru;try{return gw(e,t)}finally{lt.current=s}},useReducer:function(e,t,s){Ee="useReducer",qt(),Xe();var u=lt.current;lt.current=ru;try{return YD(e,t,s)}finally{lt.current=u}},useRef:function(e){return Ee="useRef",qt(),Xe(),lw()},useState:function(e){Ee="useState",qt(),Xe();var t=lt.current;lt.current=ru;try{return QD(e)}finally{lt.current=t}},useDebugValue:function(e,t){return Ee="useDebugValue",qt(),Xe(),hw()},useDeferredValue:function(e){return Ee="useDeferredValue",qt(),Xe(),dA(e)},useTransition:function(){return Ee="useTransition",qt(),Xe(),hA()},useMutableSource:function(e,t,s){return Ee="useMutableSource",qt(),Xe(),void 0},useSyncExternalStore:function(e,t,s){return Ee="useSyncExternalStore",qt(),Xe(),ow(e,t)},useId:function(){return Ee="useId",qt(),Xe(),vw()},unstable_isNewReconciler:de}}var Sf=r.unstable_now,CA=0,kw=-1,fy=-1,ww=-1,sS=!1,Dw=!1;function _A(){return sS}function N5(){Dw=!0}function O5(){sS=!1,Dw=!1}function R5(){sS=Dw,Dw=!1}function xA(){return CA}function EA(){CA=Sf()}function lS(e){fy=Sf(),e.actualStartTime<0&&(e.actualStartTime=Sf())}function TA(e){fy=-1}function Sw(e,t){if(fy>=0){var s=Sf()-fy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),fy=-1}}function lc(e){if(kw>=0){var t=Sf()-kw;kw=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case J:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function uS(e){if(ww>=0){var t=Sf()-ww;ww=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case J:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function uc(){kw=Sf()}function cS(){ww=Sf()}function dS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Xt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var fS={},pS,hS,mS,gS,vS,AA,Cw,yS,bS,kS,py;{pS=new Set,hS=new Set,mS=new Set,gS=new Set,yS=new Set,vS=new Set,bS=new Set,kS=new Set,py=new Set;var FA=new Set;Cw=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FA.has(s)||(FA.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},AA=function(e,t){if(t===void 0){var s=kn(e)||"Component";vS.has(s)||(vS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(fS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fS)}function wS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&qn){tr(!0);try{y=s(u,p)}finally{tr(!1)}}AA(t,y)}var w=y==null?p:Xt({},p,y);if(e.memoizedState=w,e.lanes===E){var x=e.updateQueue;x.baseState=w}}var DS={isMounted:um,enqueueSetState:function(e,t,s){var u=zu(e),p=mo(),y=Ef(u),w=pd(p,y);w.payload=t,s!=null&&(Cw(s,"setState"),w.callback=s);var x=bf(u,w,y);x!==null&&(Ha(x,u,y,p),Zk(x,u,y)),Js(u,y)},enqueueReplaceState:function(e,t,s){var u=zu(e),p=mo(),y=Ef(u),w=pd(p,y);w.tag=YT,w.payload=t,s!=null&&(Cw(s,"replaceState"),w.callback=s);var x=bf(u,w,y);x!==null&&(Ha(x,u,y,p),Zk(x,u,y)),Js(u,y)},enqueueForceUpdate:function(e,t){var s=zu(e),u=mo(),p=Ef(s),y=pd(u,p);y.tag=Qk,t!=null&&(Cw(t,"forceUpdate"),y.callback=t);var w=bf(s,y,p);w!==null&&(Ha(w,s,p,u),Zk(w,s,p)),Vc(s,p)}};function $A(e,t,s,u,p,y,w){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){var A=x.shouldComponentUpdate(u,y,w);{if(e.mode&qn){tr(!0);try{A=x.shouldComponentUpdate(u,y,w)}finally{tr(!1)}}A===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!Ue(s,u)||!Ue(p,y):!0}function L5(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("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.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!py.has(t)&&(e.mode&qn)===_t&&(py.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
246
246
|
|
|
247
247
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),t.contextTypes&&!py.has(t)&&(e.mode&qn)===_t&&(py.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
248
248
|
|
|
@@ -254,13 +254,13 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
254
254
|
https://reactjs.org/link/unsafe-component-lifecycles`,tt,St,ue!==null?`
|
|
255
255
|
`+ue:"",ge!==null?`
|
|
256
256
|
`+ge:"",Se!==null?`
|
|
257
|
-
`+Se:""))}}}return u&&DT(e,p,y),j}function B5(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Mt(e)||"Component"),DS.enqueueReplaceState(t,t.state,null))}function OA(e,t,s,u){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,u),t.state!==p){{var y=Mt(e)||"Component";pS.has(y)||(pS.add(y),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}DS.enqueueReplaceState(t,t.state,null)}}function SS(e,t,s,u){L5(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs={},PD(e);var y=t.contextType;if(typeof y=="object"&&y!==null)p.context=Ca(y);else{var w=Wm(e,t,!0);p.context=Ym(e,w)}{if(p.state===s){var x=kn(t)||"Component";yS.has(x)||(yS.add(x),m("%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.",x))}e.mode&qn&&tu.recordLegacyContextWarning(e,p),tu.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var A=t.getDerivedStateFromProps;if(typeof A=="function"&&(wS(e,t,A,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(B5(e,p),ew(e,s,p,u),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var L=mn;L|=Ro,(e.mode&Tn)!==_t&&(L|=lo),e.flags|=L}}function M5(e,t,s,u){var p=e.stateNode,y=e.memoizedProps;p.props=y;var w=p.context,x=t.contextType,A=Ss;if(typeof x=="object"&&x!==null)A=Ca(x);else{var L=Wm(e,t,!0);A=Ym(e,L)}var j=t.getDerivedStateFromProps,re=typeof j=="function"||typeof p.getSnapshotBeforeUpdate=="function";!re&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||w!==A)&&OA(e,p,s,A),KT();var te=e.memoizedState,ue=p.state=te;if(ew(e,s,p,u),ue=e.memoizedState,y===s&&te===ue&&!Rk()&&!tw()){if(typeof p.componentDidMount=="function"){var ge=mn;ge|=Ro,(e.mode&Tn)!==_t&&(ge|=lo),e.flags|=ge}return!1}typeof j=="function"&&(wS(e,t,j,s),ue=e.memoizedState);var Se=tw()||$A(e,t,y,s,te,ue,A);if(Se){if(!re&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var tt=mn;tt|=Ro,(e.mode&Tn)!==_t&&(tt|=lo),e.flags|=tt}}else{if(typeof p.componentDidMount=="function"){var St=mn;St|=Ro,(e.mode&Tn)!==_t&&(St|=lo),e.flags|=St}e.memoizedProps=s,e.memoizedState=ue}return p.props=s,p.state=ue,p.context=A,Se}function I5(e,t,s,u,p){var y=t.stateNode;GT(e,t);var w=t.memoizedProps,x=t.type===t.elementType?w:au(t.type,w);y.props=x;var A=t.pendingProps,L=y.context,j=s.contextType,re=Ss;if(typeof j=="object"&&j!==null)re=Ca(j);else{var te=Wm(t,s,!0);re=Ym(t,te)}var ue=s.getDerivedStateFromProps,ge=typeof ue=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(w!==A||L!==re)&&OA(t,y,u,re),KT();var Se=t.memoizedState,tt=y.state=Se;if(ew(t,u,y,p),tt=t.memoizedState,w===A&&Se===tt&&!Rk()&&!tw())return typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=
|
|
257
|
+
`+Se:""))}}}return u&&DT(e,p,y),j}function B5(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Mt(e)||"Component"),DS.enqueueReplaceState(t,t.state,null))}function OA(e,t,s,u){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,u),t.state!==p){{var y=Mt(e)||"Component";pS.has(y)||(pS.add(y),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}DS.enqueueReplaceState(t,t.state,null)}}function SS(e,t,s,u){L5(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs={},PD(e);var y=t.contextType;if(typeof y=="object"&&y!==null)p.context=Ca(y);else{var w=Wm(e,t,!0);p.context=Ym(e,w)}{if(p.state===s){var x=kn(t)||"Component";yS.has(x)||(yS.add(x),m("%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.",x))}e.mode&qn&&tu.recordLegacyContextWarning(e,p),tu.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var A=t.getDerivedStateFromProps;if(typeof A=="function"&&(wS(e,t,A,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(B5(e,p),ew(e,s,p,u),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var L=mn;L|=Ro,(e.mode&Tn)!==_t&&(L|=lo),e.flags|=L}}function M5(e,t,s,u){var p=e.stateNode,y=e.memoizedProps;p.props=y;var w=p.context,x=t.contextType,A=Ss;if(typeof x=="object"&&x!==null)A=Ca(x);else{var L=Wm(e,t,!0);A=Ym(e,L)}var j=t.getDerivedStateFromProps,re=typeof j=="function"||typeof p.getSnapshotBeforeUpdate=="function";!re&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||w!==A)&&OA(e,p,s,A),KT();var te=e.memoizedState,ue=p.state=te;if(ew(e,s,p,u),ue=e.memoizedState,y===s&&te===ue&&!Rk()&&!tw()){if(typeof p.componentDidMount=="function"){var ge=mn;ge|=Ro,(e.mode&Tn)!==_t&&(ge|=lo),e.flags|=ge}return!1}typeof j=="function"&&(wS(e,t,j,s),ue=e.memoizedState);var Se=tw()||$A(e,t,y,s,te,ue,A);if(Se){if(!re&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var tt=mn;tt|=Ro,(e.mode&Tn)!==_t&&(tt|=lo),e.flags|=tt}}else{if(typeof p.componentDidMount=="function"){var St=mn;St|=Ro,(e.mode&Tn)!==_t&&(St|=lo),e.flags|=St}e.memoizedProps=s,e.memoizedState=ue}return p.props=s,p.state=ue,p.context=A,Se}function I5(e,t,s,u,p){var y=t.stateNode;GT(e,t);var w=t.memoizedProps,x=t.type===t.elementType?w:au(t.type,w);y.props=x;var A=t.pendingProps,L=y.context,j=s.contextType,re=Ss;if(typeof j=="object"&&j!==null)re=Ca(j);else{var te=Wm(t,s,!0);re=Ym(t,te)}var ue=s.getDerivedStateFromProps,ge=typeof ue=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(w!==A||L!==re)&&OA(t,y,u,re),KT();var Se=t.memoizedState,tt=y.state=Se;if(ew(t,u,y,p),tt=t.memoizedState,w===A&&Se===tt&&!Rk()&&!tw())return typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=Wr),!1;typeof ue=="function"&&(wS(t,s,ue,u),tt=t.memoizedState);var St=tw()||$A(t,s,x,u,Se,tt,re)||Re;return St?(!ge&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,tt,re),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,tt,re)),typeof y.componentDidUpdate=="function"&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=Wr)):(typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||Se!==e.memoizedState)&&(t.flags|=Wr),t.memoizedProps=u,t.memoizedState=tt),y.props=u,y.state=tt,y.context=re,St}function uh(e,t){return{value:e,source:t,stack:ts(t),digest:null}}function CS(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function j5(e,t){return!0}function _S(e,t){try{var s=j5(e,t);if(s===!1)return;var u=t.value,p=t.source,y=t.stack,w=y!==null?y:"";if(u!=null&&u._suppressLogging){if(e.tag===T)return;console.error(u)}var x=p?Mt(p):null,A=x?"The above error occurred in the <"+x+"> component:":"The above error occurred in one of your React components:",L;if(e.tag===N)L=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
258
258
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var j=Mt(e)||"Anonymous";L="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+j+".")}var re=A+`
|
|
259
259
|
`+w+`
|
|
260
260
|
|
|
261
261
|
`+(""+L);console.error(re)}catch(te){setTimeout(function(){throw te})}}var z5=typeof WeakMap=="function"?WeakMap:Map;function RA(e,t,s){var u=pd(dr,s);u.tag=FD,u.payload={element:null};var p=t.value;return u.callback=function(){N7(p),_S(e,t)},u}function xS(e,t,s){var u=pd(dr,s);u.tag=FD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){WF(e),_S(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){WF(e),_S(e,t),typeof p!="function"&&$7(this);var x=t.value,A=t.stack;this.componentDidCatch(x,{componentStack:A!==null?A:""}),typeof p!="function"&&(Mi(e.lanes,U)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Mt(e)||"Unknown"))}),u}function LA(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new z5,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=O7.bind(null,e,t,s);Ja&&Ay(e,s),t.then(y,y)}}function U5(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function H5(e,t){var s=e.tag;if((e.mode&rn)===_t&&(s===C||s===W||s===pe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function BA(e){var t=e;do{if(t.tag===K&&S5(t))return t;t=t.return}while(t!==null);return null}function MA(e,t,s,u,p){if((e.mode&rn)===_t){if(e===t)e.flags|=Ka;else{if(e.flags|=yt,s.flags|=ps,s.flags&=-52805,s.tag===T){var y=s.alternate;if(y===null)s.tag=ke;else{var w=pd(dr,U);w.tag=Qk,bf(s,w,U)}}s.lanes=Zt(s.lanes,U)}return e}return e.flags|=Ka,e.lanes=p,e}function q5(e,t,s,u,p){if(s.flags|=Ic,Ja&&Ay(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;H5(s),hi()&&s.mode&rn&&AT();var w=BA(t);if(w!==null){w.flags&=-257,MA(w,t,s,e,p),w.mode&rn&&LA(e,y,p),U5(w,e,y);return}else{if(!Bb(p)){LA(e,y,p),iC();return}var x=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=x}}else if(hi()&&s.mode&rn){AT();var A=BA(t);if(A!==null){(A.flags&Ka)===Ct&&(A.flags|=ka),MA(A,t,s,e,p),yD(uh(u,s));return}}u=uh(u,s),S7(u);var L=t;do{switch(L.tag){case N:{var j=u;L.flags|=Ka;var re=Mp(p);L.lanes=Zt(L.lanes,re);var te=RA(L,j,re);ND(L,te);return}case T:var ue=u,ge=L.type,Se=L.stateNode;if((L.flags&yt)===Ct&&(typeof ge.getDerivedStateFromError=="function"||Se!==null&&typeof Se.componentDidCatch=="function"&&!BF(Se))){L.flags|=Ka;var tt=Mp(p);L.lanes=Zt(L.lanes,tt);var St=xS(L,ue,tt);ND(L,St);return}break}L=L.return}while(L!==null)}function V5(){return null}var hy=i.ReactCurrentOwner,iu=!1,ES,my,TS,AS,FS,ch,$S,_w,gy;ES={},my={},TS={},AS={},FS={},ch=!1,$S={},_w={},gy={};function po(e,t,s,u){e===null?t.child=zT(t,null,s,u):t.child=Xm(t,e.child,s,u)}function W5(e,t,s,u){t.child=Xm(t,e.child,null,u),t.child=Xm(t,null,s,u)}function IA(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w=s.render,x=t.ref,A,L;Zm(t,p),Za(t);{if(hy.current=t,Ar(!0),A=ig(e,t,w,u,x,p),L=og(),t.mode&qn){tr(!0);try{A=ig(e,t,w,u,x,p),L=og()}finally{tr(!1)}}Ar(!1)}return ta(),e!==null&&!iu?(tA(e,t,p),hd(e,t,p)):(hi()&&L&&fD(t),t.flags|=Pi,po(e,t,A,p),t.child)}function jA(e,t,s,u,p){if(e===null){var y=s.type;if(X7(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=hg(y),t.tag=pe,t.type=w,OS(t,y),zA(e,t,w,u,p)}{var x=y.propTypes;if(x&&Zl(x,u,"prop",kn(y)),s.defaultProps!==void 0){var A=kn(y)||"Unknown";gy[A]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",A),gy[A]=!0)}}var L=gC(s.type,null,u,t,t.mode,p);return L.ref=t.ref,L.return=t,t.child=L,L}{var j=s.type,re=j.propTypes;re&&Zl(re,u,"prop",kn(j))}var te=e.child,ue=jS(e,p);if(!ue){var ge=te.memoizedProps,Se=s.compare;if(Se=Se!==null?Se:Ue,Se(ge,u)&&e.ref===t.ref)return hd(e,t,p)}t.flags|=Pi;var tt=mh(te,u);return tt.ref=t.ref,tt.return=t,t.child=tt,tt}function zA(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===jt){var w=y,x=w._payload,A=w._init;try{y=A(x)}catch{y=null}var L=y&&y.propTypes;L&&Zl(L,u,"prop",kn(y))}}if(e!==null){var j=e.memoizedProps;if(Ue(j,u)&&e.ref===t.ref&&t.type===e.type)if(iu=!1,t.pendingProps=u=j,jS(e,p))(e.flags&ps)!==Ct&&(iu=!0);else return t.lanes=e.lanes,hd(e,t,p)}return PS(e,t,s,u,p)}function UA(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||_e)if((t.mode&rn)===_t){var w={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=w,Iw(t,s)}else if(Mi(s,uo)){var x={baseLanes:E,cachePool:null,transitions:null};t.memoizedState=x;var A=y!==null?y.baseLanes:s;Iw(t,A)}else{var L=null,j;if(y!==null){var re=y.baseLanes;j=Zt(re,s)}else j=s;t.lanes=t.childLanes=uo;var te={baseLanes:j,cachePool:L,transitions:null};return t.memoizedState=te,t.updateQueue=null,Iw(t,j),null}else{var ue;y!==null?(ue=Zt(y.baseLanes,s),t.memoizedState=null):ue=s,Iw(t,ue)}return po(e,t,p,s),t.child}function Y5(e,t,s){var u=t.pendingProps;return po(e,t,u,s),t.child}function G5(e,t,s){var u=t.pendingProps.children;return po(e,t,u,s),t.child}function K5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return po(e,t,y,s),t.child}function HA(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Yn,t.flags|=Bl)}function PS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",kn(s))}var w;{var x=Wm(t,s,!0);w=Ym(t,x)}var A,L;Zm(t,p),Za(t);{if(hy.current=t,Ar(!0),A=ig(e,t,s,u,w,p),L=og(),t.mode&qn){tr(!0);try{A=ig(e,t,s,u,w,p),L=og()}finally{tr(!1)}}Ar(!1)}return ta(),e!==null&&!iu?(tA(e,t,p),hd(e,t,p)):(hi()&&L&&fD(t),t.flags|=Pi,po(e,t,A,p),t.child)}function qA(e,t,s,u,p){{switch(fz(t)){case!1:{var y=t.stateNode,w=t.type,x=new w(t.memoizedProps,y.context),A=x.state;y.updater.enqueueSetState(y,A,null);break}case!0:{t.flags|=yt,t.flags|=Ka;var L=new Error("Simulated error coming from DevTools"),j=Mp(p);t.lanes=Zt(t.lanes,j);var re=xS(t,uh(L,t),j);ND(t,re);break}}if(t.type!==t.elementType){var te=s.propTypes;te&&Zl(te,u,"prop",kn(s))}}var ue;ac(s)?(ue=!0,Bk(t)):ue=!1,Zm(t,p);var ge=t.stateNode,Se;ge===null?(Ew(e,t),NA(t,s,u),SS(t,s,u,p),Se=!0):e===null?Se=M5(t,s,u,p):Se=I5(e,t,s,u,p);var tt=NS(e,t,s,Se,ue,p);{var St=t.stateNode;Se&&St.props!==u&&(ch||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Mt(t)||"a component"),ch=!0)}return tt}function NS(e,t,s,u,p,y){HA(e,t);var w=(t.flags&yt)!==Ct;if(!u&&!w)return p&&_T(t,s,!1),hd(e,t,y);var x=t.stateNode;hy.current=t;var A;if(w&&typeof s.getDerivedStateFromError!="function")A=null,TA();else{Za(t);{if(Ar(!0),A=x.render(),t.mode&qn){tr(!0);try{x.render()}finally{tr(!1)}}Ar(!1)}ta()}return t.flags|=Pi,e!==null&&w?W5(e,t,A,y):po(e,t,A,y),t.memoizedState=x.state,p&&_T(t,s,!0),t.child}function VA(e){var t=e.stateNode;t.pendingContext?ST(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ST(e,t.context,!1),OD(e,t.containerInfo)}function Q5(e,t,s){if(VA(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;GT(e,t),ew(t,u,null,s);var w=t.memoizedState;t.stateNode;var x=w.element;if(p.isDehydrated){var A={element:x,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},L=t.updateQueue;if(L.baseState=A,t.memoizedState=A,t.flags&ka){var j=uh(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return WA(e,t,x,s,j)}else if(x!==y){var re=uh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return WA(e,t,x,s,re)}else{Z6(t);var te=zT(t,null,x,s);t.child=te;for(var ue=te;ue;)ue.flags=ue.flags&-3|Oi,ue=ue.sibling}}else{if(Qm(),x===y)return hd(e,t,s);po(e,t,x,s)}return t.child}function WA(e,t,s,u,p){return Qm(),yD(p),t.flags|=ka,po(e,t,s,u),t.child}function X5(e,t,s){JT(t),e===null&&vD(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,x=J2(u,p);return x?w=null:y!==null&&J2(u,y)&&(t.flags|=Ft),HA(e,t),po(e,t,w,s),t.child}function J5(e,t){return e===null&&vD(t),null}function Z5(e,t,s,u){Ew(e,t);var p=t.pendingProps,y=s,w=y._payload,x=y._init,A=x(w);t.type=A;var L=t.tag=J7(A),j=au(A,p),re;switch(L){case C:return OS(t,A),t.type=A=hg(A),re=PS(null,t,A,j,u),re;case T:return t.type=A=cC(A),re=qA(null,t,A,j,u),re;case W:return t.type=A=dC(A),re=IA(null,t,A,j,u),re;case ae:{if(t.type!==t.elementType){var te=A.propTypes;te&&Zl(te,j,"prop",kn(A))}return re=jA(null,t,A,au(A.type,j),u),re}}var ue="";throw A!==null&&typeof A=="object"&&A.$$typeof===jt&&(ue=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ue))}function e9(e,t,s,u,p){Ew(e,t),t.tag=T;var y;return ac(s)?(y=!0,Bk(t)):y=!1,Zm(t,p),NA(t,s,u),SS(t,s,u,p),NS(null,t,s,!0,y,p)}function t9(e,t,s,u){Ew(e,t);var p=t.pendingProps,y;{var w=Wm(t,s,!1);y=Ym(t,w)}Zm(t,u);var x,A;Za(t);{if(s.prototype&&typeof s.prototype.render=="function"){var L=kn(s)||"Unknown";ES[L]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",L,L),ES[L]=!0)}t.mode&qn&&tu.recordLegacyContextWarning(t,null),Ar(!0),hy.current=t,x=ig(null,t,s,p,y,u),A=og(),Ar(!1)}if(ta(),t.flags|=Pi,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0){var j=kn(s)||"Unknown";my[j]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",j,j,j),my[j]=!0)}if(typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0){{var re=kn(s)||"Unknown";my[re]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",re,re,re),my[re]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var te=!1;return ac(s)?(te=!0,Bk(t)):te=!1,t.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,PD(t),PA(t,x),SS(t,s,p,u),NS(null,t,s,!0,te,u)}else{if(t.tag=C,t.mode&qn){tr(!0);try{x=ig(null,t,s,p,y,u),A=og()}finally{tr(!1)}}return hi()&&A&&fD(t),po(null,t,x,u),OS(t,s),t.child}}function OS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=ba();u&&(s+=`
|
|
262
262
|
|
|
263
|
-
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),FS[p]||(FS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";gy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),gy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var x=kn(t)||"Unknown";AS[x]||(m("%s: Function components do not support getDerivedStateFromProps.",x),AS[x]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var A=kn(t)||"Unknown";TS[A]||(m("%s: Function components do not support contextType.",A),TS[A]=!0)}}}var RS={dehydrated:null,treeContext:null,retryLane:M};function LS(e){return{baseLanes:e,cachePool:V5(),transitions:null}}function n9(e,t){var s=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function r9(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return BD(e,iy)}function a9(e,t){return Ip(e.childLanes,t)}function YA(e,t,s){var u=t.pendingProps;pz(t)&&(t.flags|=yt);var p=nu.current,y=!1,w=(t.flags&yt)!==Ct;if(w||r9(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=D5(p,eA)),p=tg(p),wf(t,p),e===null){vD(t);var x=t.memoizedState;if(x!==null){var A=x.dehydrated;if(A!==null)return u9(t,A)}var L=u.children,j=u.fallback;if(y){var re=i9(t,L,j,s),te=t.child;return te.memoizedState=LS(s),t.memoizedState=RS,re}else return BS(t,L)}else{var ue=e.memoizedState;if(ue!==null){var ge=ue.dehydrated;if(ge!==null)return c9(e,t,w,u,ge,ue,s)}if(y){var Se=u.fallback,tt=u.children,St=s9(e,t,tt,Se,s),Pt=t.child,hn=e.child.memoizedState;return Pt.memoizedState=hn===null?LS(s):n9(hn,s),Pt.childLanes=a9(e,s),t.memoizedState=RS,St}else{var cn=u.children,se=o9(e,t,cn,s);return t.memoizedState=null,se}}}function BS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=MS(p,u);return y.return=e,e.child=y,y}function i9(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},x,A;return(p&rn)===_t&&y!==null?(x=y,x.childLanes=E,x.pendingProps=w,e.mode&En&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=0,x.treeBaseDuration=0),A=Af(s,p,u,null)):(x=MS(w,p),A=Af(s,p,u,null)),x.return=e,A.return=e,x.sibling=A,e.child=x,A}function MS(e,t,s){return YF(e,t,E,null)}function GA(e,t){return mh(e,t)}function o9(e,t,s,u){var p=e.child,y=p.sibling,w=GA(p,{mode:"visible",children:s});if((t.mode&rn)===_t&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var x=t.deletions;x===null?(t.deletions=[y],t.flags|=Ni):x.push(y)}return t.child=w,w}function s9(e,t,s,u,p){var y=t.mode,w=e.child,x=w.sibling,A={mode:"hidden",children:s},L;if((y&rn)===_t&&t.child!==w){var j=t.child;L=j,L.childLanes=E,L.pendingProps=A,t.mode&En&&(L.actualDuration=0,L.actualStartTime=-1,L.selfBaseDuration=w.selfBaseDuration,L.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else L=GA(w,A),L.subtreeFlags=w.subtreeFlags&Cr;var re;return x!==null?re=mh(x,u):(re=Af(u,y,p,null),re.flags|=Fr),re.return=t,L.return=t,L.sibling=re,t.child=L,re}function xw(e,t,s,u){u!==null&&yD(u),Xm(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=BS(t,y);return w.flags|=Fr,t.memoizedState=null,w}function l9(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},x=MS(w,y),A=Af(u,y,p,null);return A.flags|=Fr,x.return=t,A.return=t,x.sibling=A,t.child=x,(t.mode&rn)!==_t&&Xm(t,e.child,null,p),A}function u9(e,t,s){return(e.mode&rn)===_t?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=U):nD(t)?e.lanes=et:e.lanes=uo,null}function c9(e,t,s,u,p,y,w){if(s)if(t.flags&ka){t.flags&=-257;var x=CS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return xw(e,t,w,x)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var A=u.children,L=u.fallback,j=l9(e,t,A,L,w),re=t.child;return re.memoizedState=LS(w),t.memoizedState=RS,j}else{if(X6(),(t.mode&rn)===_t)return xw(e,t,w,null);if(nD(p)){var te,ue,ge;{var Se=h6(p);te=Se.digest,ue=Se.message,ge=Se.stack}var tt;ue?tt=new Error(ue):tt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=CS(tt,te,ge);return xw(e,t,w,St)}var Pt=Mi(w,e.childLanes);if(iu||Pt){var hn=Mw();if(hn!==null){var cn=zb(hn,w);if(cn!==M&&cn!==y.retryLane){y.retryLane=cn;var se=dr;Vo(e,cn),Ha(hn,e,cn,se)}}iC();var De=CS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return xw(e,t,w,De)}else if(vT(p)){t.flags|=yt,t.child=e.child;var le=R7.bind(null,e);return m6(p,le),null}else{e5(t,p,y.treeContext);var je=u.children,ut=BS(t,je);return ut.flags|=Oi,ut}}}function KA(e,t,s){e.lanes=Zt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Zt(u.lanes,t)),TD(e.return,t,s)}function d9(e,t,s){for(var u=t;u!==null;){if(u.tag===K){var p=u.memoizedState;p!==null&&KA(u,s,e)}else if(u.tag===We)KA(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function f9(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&aw(u)===null&&(s=t),t=t.sibling}return s}function p9(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$S[e])if($S[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function h9(e,t){e!==void 0&&!_w[e]&&(e!=="collapsed"&&e!=="hidden"?(_w[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(_w[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function QA(e,t){{var s=Yt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return m("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>",p,t,p),!1}}return!0}function m9(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Yt(e)){for(var s=0;s<e.length;s++)if(!QA(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!QA(y.value,w))return;w++}}else m('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?',t)}}function IS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function XA(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;p9(p),h9(y,p),m9(w,p),po(e,t,w,s);var x=nu.current,A=BD(x,iy);if(A)x=MD(x,iy),t.flags|=yt;else{var L=e!==null&&(e.flags&yt)!==Ct;L&&d9(t,t.child,s),x=tg(x)}if(wf(t,x),(t.mode&rn)===_t)t.memoizedState=null;else switch(p){case"forwards":{var j=f9(t.child),re;j===null?(re=t.child,t.child=null):(re=j.sibling,j.sibling=null),IS(t,!1,re,j,y);break}case"backwards":{var te=null,ue=t.child;for(t.child=null;ue!==null;){var ge=ue.alternate;if(ge!==null&&aw(ge)===null){t.child=ue;break}var Se=ue.sibling;ue.sibling=te,te=ue,ue=Se}IS(t,!0,te,null,y);break}case"together":{IS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function g9(e,t,s){OD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Xm(t,null,u,s):po(e,t,u,s),t.child}var JA=!1;function v9(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,x=y.value;{"value"in y||JA||(JA=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Zl(A,y,"prop","Context.Provider")}if(qT(t,p,x),w!==null){var L=w.value;if(ie(L,x)){if(w.children===y.children&&!Rk())return hd(e,t,s)}else p5(t,p,s)}var j=y.children;return po(e,t,j,s),t.child}var ZA=!1;function y9(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(ZA||(ZA=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("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."),Zm(t,s);var w=Ca(u);Za(t);var x;return hy.current=t,Ar(!0),x=y(w),Ar(!1),ta(),t.flags|=Pi,po(e,t,x,s),t.child}function vy(){iu=!0}function Ew(e,t){(t.mode&rn)===_t&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fr)}function hd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),TA(),Ty(t.lanes),Mi(s,t.childLanes)?(d5(e,t),t.child):null}function b9(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Ni):y.push(e),s.flags|=Fr,s}}function jS(e,t){var s=e.lanes;return!!Mi(s,t)}function k9(e,t,s){switch(t.tag){case N:VA(t),t.stateNode,Qm();break;case B:JT(t);break;case T:{var u=t.type;ac(u)&&Bk(t);break}case O:OD(t,t.stateNode.containerInfo);break;case Z:{var p=t.memoizedProps.value,y=t.type._context;qT(t,y,p);break}case J:{var w=Mi(s,t.childLanes);w&&(t.flags|=mn);{var x=t.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}}break;case K:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return wf(t,tg(nu.current)),t.flags|=yt,null;var L=t.child,j=L.childLanes;if(Mi(s,j))return YA(e,t,s);wf(t,tg(nu.current));var re=hd(e,t,s);return re!==null?re.sibling:null}else wf(t,tg(nu.current));break}case We:{var te=(e.flags&yt)!==Ct,ue=Mi(s,t.childLanes);if(te){if(ue)return XA(e,t,s);t.flags|=yt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),wf(t,nu.current),ue)break;return null}case nt:case He:return t.lanes=E,UA(e,t,s)}return hd(e,t,s)}function eF(e,t,s){if(t._debugNeedsRemount&&e!==null)return b9(e,t,gC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Rk()||t.type!==e.type)iu=!0;else{var y=jS(e,s);if(!y&&(t.flags&yt)===Ct)return iu=!1,k9(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,hi()&&V6(t)){var w=t.index,x=W6();TT(t,x,w)}switch(t.lanes=E,t.tag){case $:return t9(e,t,t.type,s);case Te:{var A=t.elementType;return Z5(e,t,A,s)}case C:{var L=t.type,j=t.pendingProps,re=t.elementType===L?j:au(L,j);return PS(e,t,L,re,s)}case T:{var te=t.type,ue=t.pendingProps,ge=t.elementType===te?ue:au(te,ue);return qA(e,t,te,ge,s)}case N:return Q5(e,t,s);case B:return X5(e,t,s);case I:return J5(e,t);case K:return YA(e,t,s);case O:return g9(e,t,s);case W:{var Se=t.type,tt=t.pendingProps,St=t.elementType===Se?tt:au(Se,tt);return IA(e,t,Se,St,s)}case G:return Y5(e,t,s);case Y:return G5(e,t,s);case J:return K5(e,t,s);case Z:return v9(e,t,s);case Ce:return y9(e,t,s);case ae:{var Pt=t.type,hn=t.pendingProps,cn=au(Pt,hn);if(t.type!==t.elementType){var se=Pt.propTypes;se&&Zl(se,cn,"prop",kn(Pt))}return cn=au(Pt.type,cn),jA(e,t,Pt,cn,s)}case pe:return zA(e,t,t.type,t.pendingProps,s);case ke:{var De=t.type,le=t.pendingProps,je=t.elementType===De?le:au(De,le);return e9(e,t,De,je,s)}case We:return XA(e,t,s);case Ke:break;case nt:return UA(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function sg(e){e.flags|=mn}function tF(e){e.flags|=Yn,e.flags|=Bl}var nF,zS,rF,aF;nF=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===B||p.tag===I)U8(e,p.stateNode);else if(p.tag!==O&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},zS=function(e,t){},rF=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,x=RD(),A=q8(w,s,y,u,p,x);t.updateQueue=A,A&&sg(t)}},aF=function(e,t,s,u){s!==u&&sg(t)};function yy(e,t){if(!hi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function gi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=E,u=Ct;if(t){if((e.mode&En)!==_t){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Zt(s,Zt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Cr,u|=y.flags&Cr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Zt(s,Zt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Cr,u|=w.flags&Cr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&En)!==_t){for(var x=e.actualDuration,A=e.selfBaseDuration,L=e.child;L!==null;)s=Zt(s,Zt(L.lanes,L.childLanes)),u|=L.subtreeFlags,u|=L.flags,x+=L.actualDuration,A+=L.treeBaseDuration,L=L.sibling;e.actualDuration=x,e.treeBaseDuration=A}else for(var j=e.child;j!==null;)s=Zt(s,Zt(j.lanes,j.childLanes)),u|=j.subtreeFlags,u|=j.flags,j.return=e,j=j.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function w9(e,t,s){if(i5()&&(t.mode&rn)!==_t&&(t.flags&yt)===Ct)return RT(t),Qm(),t.flags|=ka|Ic|Ka,!1;var u=Uk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r5(t),gi(t),(t.mode&En)!==_t){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,gi(t),(t.mode&En)!==_t){var w=s!==null;if(w){var x=t.child;x!==null&&(t.treeBaseDuration-=x.treeBaseDuration)}}return!1}else return LT(),!0}function iF(e,t,s){var u=t.pendingProps;switch(pD(t),t.tag){case $:case Te:case pe:case C:case W:case G:case Y:case J:case Ce:case ae:return gi(t),null;case T:{var p=t.type;return ac(p)&&Lk(t),gi(t),null}case N:{var y=t.stateNode;if(eg(t),uD(t),jD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Uk(t);if(w)sg(t);else if(e!==null){var x=e.memoizedState;(!x.isDehydrated||(t.flags&ka)!==Ct)&&(t.flags|=Vr,LT())}}return zS(e,t),gi(t),null}case B:{LD(t);var A=XT(),L=t.type;if(e!==null&&t.stateNode!=null)rF(e,t,L,u,A),e.ref!==t.ref&&tF(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gi(t),null}var j=RD(),re=Uk(t);if(re)t5(t,A,j)&&sg(t);else{var te=z8(L,u,A,j,t);nF(te,t,!1,!1),t.stateNode=te,H8(te,L,u,A)&&sg(t)}t.ref!==null&&tF(t)}return gi(t),null}case I:{var ue=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;aF(e,t,ge,ue)}else{if(typeof ue!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Se=XT(),tt=RD(),St=Uk(t);St?n5(t)&&sg(t):t.stateNode=V8(ue,Se,tt,t)}return gi(t),null}case K:{ng(t);var Pt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hn=w9(e,t,Pt);if(!hn)return t.flags&Ka?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&En)!==_t&&dS(t),t;var cn=Pt!==null,se=e!==null&&e.memoizedState!==null;if(cn!==se&&cn){var De=t.child;if(De.flags|=Br,(t.mode&rn)!==_t){var le=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);le||BD(nu.current,eA)?D7():iC()}}var je=t.updateQueue;if(je!==null&&(t.flags|=mn),gi(t),(t.mode&En)!==_t&&cn){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case O:return eg(t),zS(e,t),e===null&&M6(t.stateNode.containerInfo),gi(t),null;case Z:var it=t.type._context;return ED(it,t),gi(t),null;case ke:{var It=t.type;return ac(It)&&Lk(t),gi(t),null}case We:{ng(t);var Qt=t.memoizedState;if(Qt===null)return gi(t),null;var rr=(t.flags&yt)!==Ct,Ln=Qt.rendering;if(Ln===null)if(rr)yy(Qt,!1);else{var fa=C7()&&(e===null||(e.flags&yt)===Ct);if(!fa)for(var Bn=t.child;Bn!==null;){var aa=aw(Bn);if(aa!==null){rr=!0,t.flags|=yt,yy(Qt,!1);var Vi=aa.updateQueue;return Vi!==null&&(t.updateQueue=Vi,t.flags|=mn),t.subtreeFlags=Ct,f5(t,s),wf(t,MD(nu.current,iy)),t.child}Bn=Bn.sibling}Qt.tail!==null&&Mr()>xF()&&(t.flags|=yt,rr=!0,yy(Qt,!1),t.lanes=cv)}else{if(!rr){var wi=aw(Ln);if(wi!==null){t.flags|=yt,rr=!0;var _s=wi.updateQueue;if(_s!==null&&(t.updateQueue=_s,t.flags|=mn),yy(Qt,!0),Qt.tail===null&&Qt.tailMode==="hidden"&&!Ln.alternate&&!hi())return gi(t),null}else Mr()*2-Qt.renderingStartTime>xF()&&s!==uo&&(t.flags|=yt,rr=!0,yy(Qt,!1),t.lanes=cv)}if(Qt.isBackwards)Ln.sibling=t.child,t.child=Ln;else{var go=Qt.last;go!==null?go.sibling=Ln:t.child=Ln,Qt.last=Ln}}if(Qt.tail!==null){var vo=Qt.tail;Qt.rendering=vo,Qt.tail=vo.sibling,Qt.renderingStartTime=Mr(),vo.sibling=null;var Wi=nu.current;return rr?Wi=MD(Wi,iy):Wi=tg(Wi),wf(t,Wi),vo}return gi(t),null}case Ke:break;case nt:case He:{aC(t);var bd=t.memoizedState,mg=bd!==null;if(e!==null){var Ny=e.memoizedState,fc=Ny!==null;fc!==mg&&(t.flags|=Br)}return!mg||(t.mode&rn)===_t?gi(t):Mi(dc,uo)&&(gi(t),t.subtreeFlags&(Fr|mn)&&(t.flags|=Br)),null}case dt:return null;case Me:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function D9(e,t,s){switch(pD(t),t.tag){case T:{var u=t.type;ac(u)&&Lk(t);var p=t.flags;return p&Ka?(t.flags=p&-65537|yt,(t.mode&En)!==_t&&dS(t),t):null}case N:{t.stateNode,eg(t),uD(t),jD();var y=t.flags;return(y&Ka)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case B:return LD(t),null;case K:{ng(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var x=t.flags;return x&Ka?(t.flags=x&-65537|yt,(t.mode&En)!==_t&&dS(t),t):null}case We:return ng(t),null;case O:return eg(t),null;case Z:var A=t.type._context;return ED(A,t),null;case nt:case He:return aC(t),null;case dt:return null;default:return null}}function oF(e,t,s){switch(pD(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&Lk(t);break}case N:{t.stateNode,eg(t),uD(t),jD();break}case B:{LD(t);break}case O:eg(t);break;case K:ng(t);break;case We:ng(t);break;case Z:var p=t.type._context;ED(p,t);break;case nt:case He:aC(t);break}}var sF=null;sF=new Set;var Tw=!1,vi=!1,S9=typeof WeakSet=="function"?WeakSet:Set,gt=null,lg=null,ug=null;function C9(e){io(null,function(){throw e}),Mc()}var _9=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&En)try{uc(),t.componentWillUnmount()}finally{lc(e)}else t.componentWillUnmount()};function lF(e,t){try{Cf(Ba,e)}catch(s){yr(e,t,s)}}function US(e,t,s){try{_9(e,s)}catch(u){yr(e,t,u)}}function x9(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function uF(e,t){try{dF(e)}catch(s){yr(e,t,s)}}function cg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(rt&&Dt&&e.mode&En)try{uc(),u=s(null)}finally{lc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else s.current=null}function Aw(e,t,s){try{s()}catch(u){yr(e,t,u)}}var cF=!1;function E9(e,t){I8(e.containerInfo),gt=t,T9();var s=cF;return cF=!1,s}function T9(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&Vs)!==Ct&&t!==null?(t.return=e,gt=t):A9()}}function A9(){for(;gt!==null;){var e=gt;Fn(e);try{F9(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function F9(e){var t=e.alternate,s=e.flags;if((s&Vr)!==Ct){switch(Fn(e),e.tag){case C:case W:case pe:break;case T:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!ch&&(y.props!==e.memoizedProps&&m("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.",Mt(e)||"instance"),y.state!==e.memoizedState&&m("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.",Mt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var x=sF;w===void 0&&!x.has(e.type)&&(x.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Mt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var A=e.stateNode;c6(A.containerInfo)}break}case B:case I:case O:case ke:break;default:throw new 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.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var x=w.destroy;w.destroy=void 0,x!==void 0&&((e&mi)!==Wo?ms(t):(e&Ba)!==Wo&&Uc(t),(e&ic)!==Wo&&Fy(!0),Aw(t,s,x),(e&ic)!==Wo&&Fy(!1),(e&mi)!==Wo?Xs():(e&Ba)!==Wo&&Tp())}w=w.next}while(w!==y)}}function Cf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&mi)!==Wo?zc(t):(e&Ba)!==Wo&&rf(t);var w=y.create;(e&ic)!==Wo&&Fy(!0),y.destroy=w(),(e&ic)!==Wo&&Fy(!1),(e&mi)!==Wo?nf():(e&Ba)!==Wo&&fm();{var x=y.destroy;if(x!==void 0&&typeof x!="function"){var A=void 0;(y.tag&Ba)!==Ct?A="useLayoutEffect":(y.tag&ic)!==Ct?A="useInsertionEffect":A="useEffect";var L=void 0;x===null?L=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof x.then=="function"?L=`
|
|
263
|
+
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),FS[p]||(FS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";gy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),gy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var x=kn(t)||"Unknown";AS[x]||(m("%s: Function components do not support getDerivedStateFromProps.",x),AS[x]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var A=kn(t)||"Unknown";TS[A]||(m("%s: Function components do not support contextType.",A),TS[A]=!0)}}}var RS={dehydrated:null,treeContext:null,retryLane:M};function LS(e){return{baseLanes:e,cachePool:V5(),transitions:null}}function n9(e,t){var s=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function r9(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return BD(e,iy)}function a9(e,t){return Ip(e.childLanes,t)}function YA(e,t,s){var u=t.pendingProps;pz(t)&&(t.flags|=yt);var p=nu.current,y=!1,w=(t.flags&yt)!==Ct;if(w||r9(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=D5(p,eA)),p=tg(p),wf(t,p),e===null){vD(t);var x=t.memoizedState;if(x!==null){var A=x.dehydrated;if(A!==null)return u9(t,A)}var L=u.children,j=u.fallback;if(y){var re=i9(t,L,j,s),te=t.child;return te.memoizedState=LS(s),t.memoizedState=RS,re}else return BS(t,L)}else{var ue=e.memoizedState;if(ue!==null){var ge=ue.dehydrated;if(ge!==null)return c9(e,t,w,u,ge,ue,s)}if(y){var Se=u.fallback,tt=u.children,St=s9(e,t,tt,Se,s),Pt=t.child,hn=e.child.memoizedState;return Pt.memoizedState=hn===null?LS(s):n9(hn,s),Pt.childLanes=a9(e,s),t.memoizedState=RS,St}else{var cn=u.children,se=o9(e,t,cn,s);return t.memoizedState=null,se}}}function BS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=MS(p,u);return y.return=e,e.child=y,y}function i9(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},x,A;return(p&rn)===_t&&y!==null?(x=y,x.childLanes=E,x.pendingProps=w,e.mode&En&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=0,x.treeBaseDuration=0),A=Af(s,p,u,null)):(x=MS(w,p),A=Af(s,p,u,null)),x.return=e,A.return=e,x.sibling=A,e.child=x,A}function MS(e,t,s){return YF(e,t,E,null)}function GA(e,t){return mh(e,t)}function o9(e,t,s,u){var p=e.child,y=p.sibling,w=GA(p,{mode:"visible",children:s});if((t.mode&rn)===_t&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var x=t.deletions;x===null?(t.deletions=[y],t.flags|=Ni):x.push(y)}return t.child=w,w}function s9(e,t,s,u,p){var y=t.mode,w=e.child,x=w.sibling,A={mode:"hidden",children:s},L;if((y&rn)===_t&&t.child!==w){var j=t.child;L=j,L.childLanes=E,L.pendingProps=A,t.mode&En&&(L.actualDuration=0,L.actualStartTime=-1,L.selfBaseDuration=w.selfBaseDuration,L.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else L=GA(w,A),L.subtreeFlags=w.subtreeFlags&Cr;var re;return x!==null?re=mh(x,u):(re=Af(u,y,p,null),re.flags|=Fr),re.return=t,L.return=t,L.sibling=re,t.child=L,re}function xw(e,t,s,u){u!==null&&yD(u),Xm(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=BS(t,y);return w.flags|=Fr,t.memoizedState=null,w}function l9(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},x=MS(w,y),A=Af(u,y,p,null);return A.flags|=Fr,x.return=t,A.return=t,x.sibling=A,t.child=x,(t.mode&rn)!==_t&&Xm(t,e.child,null,p),A}function u9(e,t,s){return(e.mode&rn)===_t?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=U):nD(t)?e.lanes=et:e.lanes=uo,null}function c9(e,t,s,u,p,y,w){if(s)if(t.flags&ka){t.flags&=-257;var x=CS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return xw(e,t,w,x)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var A=u.children,L=u.fallback,j=l9(e,t,A,L,w),re=t.child;return re.memoizedState=LS(w),t.memoizedState=RS,j}else{if(X6(),(t.mode&rn)===_t)return xw(e,t,w,null);if(nD(p)){var te,ue,ge;{var Se=h6(p);te=Se.digest,ue=Se.message,ge=Se.stack}var tt;ue?tt=new Error(ue):tt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=CS(tt,te,ge);return xw(e,t,w,St)}var Pt=Mi(w,e.childLanes);if(iu||Pt){var hn=Mw();if(hn!==null){var cn=zb(hn,w);if(cn!==M&&cn!==y.retryLane){y.retryLane=cn;var se=dr;Vo(e,cn),Ha(hn,e,cn,se)}}iC();var De=CS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return xw(e,t,w,De)}else if(vT(p)){t.flags|=yt,t.child=e.child;var le=R7.bind(null,e);return m6(p,le),null}else{e5(t,p,y.treeContext);var je=u.children,ut=BS(t,je);return ut.flags|=Oi,ut}}}function KA(e,t,s){e.lanes=Zt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Zt(u.lanes,t)),TD(e.return,t,s)}function d9(e,t,s){for(var u=t;u!==null;){if(u.tag===K){var p=u.memoizedState;p!==null&&KA(u,s,e)}else if(u.tag===We)KA(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function f9(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&aw(u)===null&&(s=t),t=t.sibling}return s}function p9(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$S[e])if($S[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function h9(e,t){e!==void 0&&!_w[e]&&(e!=="collapsed"&&e!=="hidden"?(_w[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(_w[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function QA(e,t){{var s=Yt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return m("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>",p,t,p),!1}}return!0}function m9(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Yt(e)){for(var s=0;s<e.length;s++)if(!QA(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!QA(y.value,w))return;w++}}else m('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?',t)}}function IS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function XA(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;p9(p),h9(y,p),m9(w,p),po(e,t,w,s);var x=nu.current,A=BD(x,iy);if(A)x=MD(x,iy),t.flags|=yt;else{var L=e!==null&&(e.flags&yt)!==Ct;L&&d9(t,t.child,s),x=tg(x)}if(wf(t,x),(t.mode&rn)===_t)t.memoizedState=null;else switch(p){case"forwards":{var j=f9(t.child),re;j===null?(re=t.child,t.child=null):(re=j.sibling,j.sibling=null),IS(t,!1,re,j,y);break}case"backwards":{var te=null,ue=t.child;for(t.child=null;ue!==null;){var ge=ue.alternate;if(ge!==null&&aw(ge)===null){t.child=ue;break}var Se=ue.sibling;ue.sibling=te,te=ue,ue=Se}IS(t,!0,te,null,y);break}case"together":{IS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function g9(e,t,s){OD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Xm(t,null,u,s):po(e,t,u,s),t.child}var JA=!1;function v9(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,x=y.value;{"value"in y||JA||(JA=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Zl(A,y,"prop","Context.Provider")}if(qT(t,p,x),w!==null){var L=w.value;if(ie(L,x)){if(w.children===y.children&&!Rk())return hd(e,t,s)}else p5(t,p,s)}var j=y.children;return po(e,t,j,s),t.child}var ZA=!1;function y9(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(ZA||(ZA=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("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."),Zm(t,s);var w=Ca(u);Za(t);var x;return hy.current=t,Ar(!0),x=y(w),Ar(!1),ta(),t.flags|=Pi,po(e,t,x,s),t.child}function vy(){iu=!0}function Ew(e,t){(t.mode&rn)===_t&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fr)}function hd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),TA(),Ty(t.lanes),Mi(s,t.childLanes)?(d5(e,t),t.child):null}function b9(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Ni):y.push(e),s.flags|=Fr,s}}function jS(e,t){var s=e.lanes;return!!Mi(s,t)}function k9(e,t,s){switch(t.tag){case N:VA(t),t.stateNode,Qm();break;case B:JT(t);break;case T:{var u=t.type;ac(u)&&Bk(t);break}case O:OD(t,t.stateNode.containerInfo);break;case Z:{var p=t.memoizedProps.value,y=t.type._context;qT(t,y,p);break}case J:{var w=Mi(s,t.childLanes);w&&(t.flags|=mn);{var x=t.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}}break;case K:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return wf(t,tg(nu.current)),t.flags|=yt,null;var L=t.child,j=L.childLanes;if(Mi(s,j))return YA(e,t,s);wf(t,tg(nu.current));var re=hd(e,t,s);return re!==null?re.sibling:null}else wf(t,tg(nu.current));break}case We:{var te=(e.flags&yt)!==Ct,ue=Mi(s,t.childLanes);if(te){if(ue)return XA(e,t,s);t.flags|=yt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),wf(t,nu.current),ue)break;return null}case nt:case He:return t.lanes=E,UA(e,t,s)}return hd(e,t,s)}function eF(e,t,s){if(t._debugNeedsRemount&&e!==null)return b9(e,t,gC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Rk()||t.type!==e.type)iu=!0;else{var y=jS(e,s);if(!y&&(t.flags&yt)===Ct)return iu=!1,k9(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,hi()&&V6(t)){var w=t.index,x=W6();TT(t,x,w)}switch(t.lanes=E,t.tag){case $:return t9(e,t,t.type,s);case Te:{var A=t.elementType;return Z5(e,t,A,s)}case C:{var L=t.type,j=t.pendingProps,re=t.elementType===L?j:au(L,j);return PS(e,t,L,re,s)}case T:{var te=t.type,ue=t.pendingProps,ge=t.elementType===te?ue:au(te,ue);return qA(e,t,te,ge,s)}case N:return Q5(e,t,s);case B:return X5(e,t,s);case I:return J5(e,t);case K:return YA(e,t,s);case O:return g9(e,t,s);case W:{var Se=t.type,tt=t.pendingProps,St=t.elementType===Se?tt:au(Se,tt);return IA(e,t,Se,St,s)}case G:return Y5(e,t,s);case Y:return G5(e,t,s);case J:return K5(e,t,s);case Z:return v9(e,t,s);case Ce:return y9(e,t,s);case ae:{var Pt=t.type,hn=t.pendingProps,cn=au(Pt,hn);if(t.type!==t.elementType){var se=Pt.propTypes;se&&Zl(se,cn,"prop",kn(Pt))}return cn=au(Pt.type,cn),jA(e,t,Pt,cn,s)}case pe:return zA(e,t,t.type,t.pendingProps,s);case ke:{var De=t.type,le=t.pendingProps,je=t.elementType===De?le:au(De,le);return e9(e,t,De,je,s)}case We:return XA(e,t,s);case Ke:break;case nt:return UA(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function sg(e){e.flags|=mn}function tF(e){e.flags|=Yn,e.flags|=Bl}var nF,zS,rF,aF;nF=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===B||p.tag===I)U8(e,p.stateNode);else if(p.tag!==O&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},zS=function(e,t){},rF=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,x=RD(),A=q8(w,s,y,u,p,x);t.updateQueue=A,A&&sg(t)}},aF=function(e,t,s,u){s!==u&&sg(t)};function yy(e,t){if(!hi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function gi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=E,u=Ct;if(t){if((e.mode&En)!==_t){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Zt(s,Zt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Cr,u|=y.flags&Cr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Zt(s,Zt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Cr,u|=w.flags&Cr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&En)!==_t){for(var x=e.actualDuration,A=e.selfBaseDuration,L=e.child;L!==null;)s=Zt(s,Zt(L.lanes,L.childLanes)),u|=L.subtreeFlags,u|=L.flags,x+=L.actualDuration,A+=L.treeBaseDuration,L=L.sibling;e.actualDuration=x,e.treeBaseDuration=A}else for(var j=e.child;j!==null;)s=Zt(s,Zt(j.lanes,j.childLanes)),u|=j.subtreeFlags,u|=j.flags,j.return=e,j=j.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function w9(e,t,s){if(i5()&&(t.mode&rn)!==_t&&(t.flags&yt)===Ct)return RT(t),Qm(),t.flags|=ka|Ic|Ka,!1;var u=Uk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r5(t),gi(t),(t.mode&En)!==_t){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,gi(t),(t.mode&En)!==_t){var w=s!==null;if(w){var x=t.child;x!==null&&(t.treeBaseDuration-=x.treeBaseDuration)}}return!1}else return LT(),!0}function iF(e,t,s){var u=t.pendingProps;switch(pD(t),t.tag){case $:case Te:case pe:case C:case W:case G:case Y:case J:case Ce:case ae:return gi(t),null;case T:{var p=t.type;return ac(p)&&Lk(t),gi(t),null}case N:{var y=t.stateNode;if(eg(t),uD(t),jD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Uk(t);if(w)sg(t);else if(e!==null){var x=e.memoizedState;(!x.isDehydrated||(t.flags&ka)!==Ct)&&(t.flags|=Wr,LT())}}return zS(e,t),gi(t),null}case B:{LD(t);var A=XT(),L=t.type;if(e!==null&&t.stateNode!=null)rF(e,t,L,u,A),e.ref!==t.ref&&tF(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gi(t),null}var j=RD(),re=Uk(t);if(re)t5(t,A,j)&&sg(t);else{var te=z8(L,u,A,j,t);nF(te,t,!1,!1),t.stateNode=te,H8(te,L,u,A)&&sg(t)}t.ref!==null&&tF(t)}return gi(t),null}case I:{var ue=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;aF(e,t,ge,ue)}else{if(typeof ue!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Se=XT(),tt=RD(),St=Uk(t);St?n5(t)&&sg(t):t.stateNode=V8(ue,Se,tt,t)}return gi(t),null}case K:{ng(t);var Pt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hn=w9(e,t,Pt);if(!hn)return t.flags&Ka?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&En)!==_t&&dS(t),t;var cn=Pt!==null,se=e!==null&&e.memoizedState!==null;if(cn!==se&&cn){var De=t.child;if(De.flags|=Br,(t.mode&rn)!==_t){var le=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);le||BD(nu.current,eA)?D7():iC()}}var je=t.updateQueue;if(je!==null&&(t.flags|=mn),gi(t),(t.mode&En)!==_t&&cn){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case O:return eg(t),zS(e,t),e===null&&M6(t.stateNode.containerInfo),gi(t),null;case Z:var it=t.type._context;return ED(it,t),gi(t),null;case ke:{var It=t.type;return ac(It)&&Lk(t),gi(t),null}case We:{ng(t);var Qt=t.memoizedState;if(Qt===null)return gi(t),null;var rr=(t.flags&yt)!==Ct,Ln=Qt.rendering;if(Ln===null)if(rr)yy(Qt,!1);else{var pa=C7()&&(e===null||(e.flags&yt)===Ct);if(!pa)for(var Bn=t.child;Bn!==null;){var aa=aw(Bn);if(aa!==null){rr=!0,t.flags|=yt,yy(Qt,!1);var Vi=aa.updateQueue;return Vi!==null&&(t.updateQueue=Vi,t.flags|=mn),t.subtreeFlags=Ct,f5(t,s),wf(t,MD(nu.current,iy)),t.child}Bn=Bn.sibling}Qt.tail!==null&&Mr()>xF()&&(t.flags|=yt,rr=!0,yy(Qt,!1),t.lanes=cv)}else{if(!rr){var wi=aw(Ln);if(wi!==null){t.flags|=yt,rr=!0;var _s=wi.updateQueue;if(_s!==null&&(t.updateQueue=_s,t.flags|=mn),yy(Qt,!0),Qt.tail===null&&Qt.tailMode==="hidden"&&!Ln.alternate&&!hi())return gi(t),null}else Mr()*2-Qt.renderingStartTime>xF()&&s!==uo&&(t.flags|=yt,rr=!0,yy(Qt,!1),t.lanes=cv)}if(Qt.isBackwards)Ln.sibling=t.child,t.child=Ln;else{var go=Qt.last;go!==null?go.sibling=Ln:t.child=Ln,Qt.last=Ln}}if(Qt.tail!==null){var vo=Qt.tail;Qt.rendering=vo,Qt.tail=vo.sibling,Qt.renderingStartTime=Mr(),vo.sibling=null;var Wi=nu.current;return rr?Wi=MD(Wi,iy):Wi=tg(Wi),wf(t,Wi),vo}return gi(t),null}case Ke:break;case nt:case He:{aC(t);var bd=t.memoizedState,mg=bd!==null;if(e!==null){var Ny=e.memoizedState,fc=Ny!==null;fc!==mg&&(t.flags|=Br)}return!mg||(t.mode&rn)===_t?gi(t):Mi(dc,uo)&&(gi(t),t.subtreeFlags&(Fr|mn)&&(t.flags|=Br)),null}case dt:return null;case Me:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function D9(e,t,s){switch(pD(t),t.tag){case T:{var u=t.type;ac(u)&&Lk(t);var p=t.flags;return p&Ka?(t.flags=p&-65537|yt,(t.mode&En)!==_t&&dS(t),t):null}case N:{t.stateNode,eg(t),uD(t),jD();var y=t.flags;return(y&Ka)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case B:return LD(t),null;case K:{ng(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var x=t.flags;return x&Ka?(t.flags=x&-65537|yt,(t.mode&En)!==_t&&dS(t),t):null}case We:return ng(t),null;case O:return eg(t),null;case Z:var A=t.type._context;return ED(A,t),null;case nt:case He:return aC(t),null;case dt:return null;default:return null}}function oF(e,t,s){switch(pD(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&Lk(t);break}case N:{t.stateNode,eg(t),uD(t),jD();break}case B:{LD(t);break}case O:eg(t);break;case K:ng(t);break;case We:ng(t);break;case Z:var p=t.type._context;ED(p,t);break;case nt:case He:aC(t);break}}var sF=null;sF=new Set;var Tw=!1,vi=!1,S9=typeof WeakSet=="function"?WeakSet:Set,gt=null,lg=null,ug=null;function C9(e){io(null,function(){throw e}),Mc()}var _9=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&En)try{uc(),t.componentWillUnmount()}finally{lc(e)}else t.componentWillUnmount()};function lF(e,t){try{Cf(Ba,e)}catch(s){yr(e,t,s)}}function US(e,t,s){try{_9(e,s)}catch(u){yr(e,t,u)}}function x9(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function uF(e,t){try{dF(e)}catch(s){yr(e,t,s)}}function cg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(rt&&Dt&&e.mode&En)try{uc(),u=s(null)}finally{lc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else s.current=null}function Aw(e,t,s){try{s()}catch(u){yr(e,t,u)}}var cF=!1;function E9(e,t){I8(e.containerInfo),gt=t,T9();var s=cF;return cF=!1,s}function T9(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&Vs)!==Ct&&t!==null?(t.return=e,gt=t):A9()}}function A9(){for(;gt!==null;){var e=gt;Fn(e);try{F9(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function F9(e){var t=e.alternate,s=e.flags;if((s&Wr)!==Ct){switch(Fn(e),e.tag){case C:case W:case pe:break;case T:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!ch&&(y.props!==e.memoizedProps&&m("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.",Mt(e)||"instance"),y.state!==e.memoizedState&&m("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.",Mt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var x=sF;w===void 0&&!x.has(e.type)&&(x.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Mt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var A=e.stateNode;c6(A.containerInfo)}break}case B:case I:case O:case ke:break;default:throw new 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.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var x=w.destroy;w.destroy=void 0,x!==void 0&&((e&mi)!==Wo?ms(t):(e&Ba)!==Wo&&Uc(t),(e&ic)!==Wo&&Fy(!0),Aw(t,s,x),(e&ic)!==Wo&&Fy(!1),(e&mi)!==Wo?Xs():(e&Ba)!==Wo&&Tp())}w=w.next}while(w!==y)}}function Cf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&mi)!==Wo?zc(t):(e&Ba)!==Wo&&rf(t);var w=y.create;(e&ic)!==Wo&&Fy(!0),y.destroy=w(),(e&ic)!==Wo&&Fy(!1),(e&mi)!==Wo?nf():(e&Ba)!==Wo&&fm();{var x=y.destroy;if(x!==void 0&&typeof x!="function"){var A=void 0;(y.tag&Ba)!==Ct?A="useLayoutEffect":(y.tag&ic)!==Ct?A="useInsertionEffect":A="useEffect";var L=void 0;x===null?L=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof x.then=="function"?L=`
|
|
264
264
|
|
|
265
265
|
It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
266
266
|
|
|
@@ -273,11 +273,11 @@ It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, w
|
|
|
273
273
|
fetchData();
|
|
274
274
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
275
275
|
|
|
276
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:L=" You returned: "+x,m("%s must not return anything besides a function, which is used for clean-up.%s",A,L)}}}y=y.next}while(y!==p)}}function $9(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case J:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xA(),x=t.alternate===null?"mount":"update";_A()&&(x="nested-update"),typeof y=="function"&&y(p,x,s,w);var A=t.return;e:for(;A!==null;){switch(A.tag){case N:var L=A.stateNode;L.passiveEffectDuration+=s;break e;case J:var j=A.stateNode;j.passiveEffectDuration+=s;break e}A=A.return}break}}}function P9(e,t,s,u){if((s.flags&Ys)!==Ct)switch(s.tag){case C:case W:case pe:{if(!vi)if(s.mode&En)try{uc(),Cf(Ba|La,s)}finally{lc(s)}else Cf(Ba|La,s);break}case T:{var p=s.stateNode;if(s.flags&mn&&!vi)if(t===null)if(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),s.mode&En)try{uc(),p.componentDidMount()}finally{lc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),s.mode&En)try{uc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{lc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var x=s.updateQueue;x!==null&&(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),QT(s,x,p));break}case N:{var A=s.updateQueue;if(A!==null){var L=null;if(s.child!==null)switch(s.child.tag){case B:L=s.child.stateNode;break;case T:L=s.child.stateNode;break}QT(s,A,L)}break}case B:{var j=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;Q8(j,re,te)}break}case I:break;case O:break;case J:{{var ue=s.memoizedProps,ge=ue.onCommit,Se=ue.onRender,tt=s.stateNode.effectDuration,St=xA(),Pt=t===null?"mount":"update";_A()&&(Pt="nested-update"),typeof Se=="function"&&Se(s.memoizedProps.id,Pt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Pt,tt,St),A7(s);var hn=s.return;e:for(;hn!==null;){switch(hn.tag){case N:var cn=hn.stateNode;cn.effectDuration+=tt;break e;case J:var se=hn.stateNode;se.effectDuration+=tt;break e}hn=hn.return}}}break}case K:{j9(e,s);break}case We:case ke:case Ke:case nt:case He:case Me:break;default:throw new 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.")}vi||s.flags&Yn&&dF(s)}function N9(e){switch(e.tag){case C:case W:case pe:{if(e.mode&En)try{uc(),lF(e,e.return)}finally{lc(e)}else lF(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&x9(e,e.return,t),uF(e,e.return);break}case B:{uF(e,e.return);break}}}function O9(e,t){for(var s=null,u=e;;){if(u.tag===B){if(s===null){s=u;try{var p=u.stateNode;t?o6(p):l6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===I){if(s===null)try{var y=u.stateNode;t?s6(y):u6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===nt||u.tag===He)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function dF(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case B:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&En)try{uc(),p=t(u)}finally{lc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Mt(e)),t.current=u}}function R9(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function fF(e){var t=e.alternate;t!==null&&(e.alternate=null,fF(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===B){var s=e.stateNode;s!==null&&z6(s)}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 L9(e){for(var t=e.return;t!==null;){if(pF(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function pF(e){return e.tag===B||e.tag===N||e.tag===O}function hF(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||pF(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==B&&t.tag!==I&&t.tag!==Ge;){if(t.flags&Fr||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fr))return t.stateNode}}function B9(e){var t=L9(e);switch(t.tag){case B:{var s=t.stateNode;t.flags&Ft&&(gT(s),t.flags&=-33);var u=hF(e);qS(e,u,s);break}case N:case O:{var p=t.stateNode.containerInfo,y=hF(e);HS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function HS(e,t,s){var u=e.tag,p=u===B||u===I;if(p){var y=e.stateNode;t?n6(s,y,t):e6(s,y)}else if(u!==O){var w=e.child;if(w!==null){HS(w,t,s);for(var x=w.sibling;x!==null;)HS(x,t,s),x=x.sibling}}}function qS(e,t,s){var u=e.tag,p=u===B||u===I;if(p){var y=e.stateNode;t?t6(s,y,t):Z8(s,y)}else if(u!==O){var w=e.child;if(w!==null){qS(w,t,s);for(var x=w.sibling;x!==null;)qS(x,t,s),x=x.sibling}}}var yi=null,su=!1;function M9(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case B:{yi=u.stateNode,su=!1;break e}case N:{yi=u.stateNode.containerInfo,su=!0;break e}case O:{yi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(yi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mF(e,t,s),yi=null,su=!1}R9(s)}function _f(e,t,s){for(var u=s.child;u!==null;)mF(e,t,u),u=u.sibling}function mF(e,t,s){switch(xp(s),s.tag){case B:vi||cg(s,t);case I:{{var u=yi,p=su;yi=null,_f(e,t,s),yi=u,su=p,yi!==null&&(su?a6(yi,s.stateNode):r6(yi,s.stateNode))}return}case Ge:{yi!==null&&(su?i6(yi,s.stateNode):tD(yi,s.stateNode));return}case O:{{var y=yi,w=su;yi=s.stateNode.containerInfo,su=!0,_f(e,t,s),yi=y,su=w}return}case C:case W:case ae:case pe:{if(!vi){var x=s.updateQueue;if(x!==null){var A=x.lastEffect;if(A!==null){var L=A.next,j=L;do{var re=j,te=re.destroy,ue=re.tag;te!==void 0&&((ue&ic)!==Wo?Aw(s,t,te):(ue&Ba)!==Wo&&(Uc(s),s.mode&En?(uc(),Aw(s,t,te),lc(s)):Aw(s,t,te),Tp())),j=j.next}while(j!==L)}}}_f(e,t,s);return}case T:{if(!vi){cg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&US(s,t,ge)}_f(e,t,s);return}case Ke:{_f(e,t,s);return}case nt:{if(s.mode&rn){var Se=vi;vi=Se||s.memoizedState!==null,_f(e,t,s),vi=Se}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function I9(e){e.memoizedState}function j9(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&C6(y)}}}}function gF(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new S9),t.forEach(function(u){var p=L7.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ja)if(lg!==null&&ug!==null)Ay(ug,lg);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function z9(e,t,s){lg=s,ug=e,Fn(t),vF(t,e),Fn(t),lg=null,ug=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{M9(e,t,y)}catch(A){yr(y,t,A)}}var w=li();if(t.subtreeFlags&Ws)for(var x=t.child;x!==null;)Fn(x),vF(x,e),x=x.sibling;Fn(w)}function vF(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case pe:{if(lu(t,e),cc(e),p&mn){try{ou(ic|La,e,e.return),Cf(ic|La,e)}catch(It){yr(e,e.return,It)}if(e.mode&En){try{uc(),ou(Ba|La,e,e.return)}catch(It){yr(e,e.return,It)}lc(e)}else try{ou(Ba|La,e,e.return)}catch(It){yr(e,e.return,It)}}return}case T:{lu(t,e),cc(e),p&Yn&&u!==null&&cg(u,u.return);return}case B:{lu(t,e),cc(e),p&Yn&&u!==null&&cg(u,u.return);{if(e.flags&Ft){var y=e.stateNode;try{gT(y)}catch(It){yr(e,e.return,It)}}if(p&mn){var w=e.stateNode;if(w!=null){var x=e.memoizedProps,A=u!==null?u.memoizedProps:x,L=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{X8(w,j,L,A,x,e)}catch(It){yr(e,e.return,It)}}}}return}case I:{if(lu(t,e),cc(e),p&mn){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var re=e.stateNode,te=e.memoizedProps,ue=u!==null?u.memoizedProps:te;try{J8(re,ue,te)}catch(It){yr(e,e.return,It)}}return}case N:{if(lu(t,e),cc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{S6(t.containerInfo)}catch(It){yr(e,e.return,It)}}return}case O:{lu(t,e),cc(e);return}case K:{lu(t,e),cc(e);var Se=e.child;if(Se.flags&Br){var tt=Se.stateNode,St=Se.memoizedState,Pt=St!==null;if(tt.isHidden=Pt,Pt){var hn=Se.alternate!==null&&Se.alternate.memoizedState!==null;hn||w7()}}if(p&mn){try{I9(e)}catch(It){yr(e,e.return,It)}gF(e)}return}case nt:{var cn=u!==null&&u.memoizedState!==null;if(e.mode&rn){var se=vi;vi=se||cn,lu(t,e),vi=se}else lu(t,e);if(cc(e),p&Br){var De=e.stateNode,le=e.memoizedState,je=le!==null,ut=e;if(De.isHidden=je,je&&!cn&&(ut.mode&rn)!==_t){gt=ut;for(var it=ut.child;it!==null;)gt=it,H9(it),it=it.sibling}O9(ut,je)}return}case We:{lu(t,e),cc(e),p&mn&&gF(e);return}case Ke:return;default:{lu(t,e),cc(e);return}}}function cc(e){var t=e.flags;if(t&Fr){try{B9(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Oi&&(e.flags&=-4097)}function U9(e,t,s){lg=s,ug=t,gt=e,yF(e,t,s),lg=null,ug=null}function yF(e,t,s){for(var u=(e.mode&rn)!==_t;gt!==null;){var p=gt,y=p.child;if(p.tag===nt&&u){var w=p.memoizedState!==null,x=w||Tw;if(x){VS(e,t,s);continue}else{var A=p.alternate,L=A!==null&&A.memoizedState!==null,j=L||vi,re=Tw,te=vi;Tw=x,vi=j,vi&&!te&&(gt=p,q9(p));for(var ue=y;ue!==null;)gt=ue,yF(ue,t,s),ue=ue.sibling;gt=p,Tw=re,vi=te,VS(e,t,s);continue}}(p.subtreeFlags&Ys)!==Ct&&y!==null?(y.return=p,gt=y):VS(e,t,s)}}function VS(e,t,s){for(;gt!==null;){var u=gt;if((u.flags&Ys)!==Ct){var p=u.alternate;Fn(u);try{P9(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){gt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,gt=y;return}gt=u.return}}function H9(e){for(;gt!==null;){var t=gt,s=t.child;switch(t.tag){case C:case W:case ae:case pe:{if(t.mode&En)try{uc(),ou(Ba,t,t.return)}finally{lc(t)}else ou(Ba,t,t.return);break}case T:{cg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&US(t,t.return,u);break}case B:{cg(t,t.return);break}case nt:{var p=t.memoizedState!==null;if(p){bF(e);continue}break}}s!==null?(s.return=t,gt=s):bF(e)}}function bF(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function q9(e){for(;gt!==null;){var t=gt,s=t.child;if(t.tag===nt){var u=t.memoizedState!==null;if(u){kF(e);continue}}s!==null?(s.return=t,gt=s):kF(e)}}function kF(e){for(;gt!==null;){var t=gt;Fn(t);try{N9(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function V9(e,t,s,u){gt=t,W9(t,e,s,u)}function W9(e,t,s,u){for(;gt!==null;){var p=gt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,gt=y):Y9(e,t,s,u)}}function Y9(e,t,s,u){for(;gt!==null;){var p=gt;if((p.flags&Ga)!==Ct){Fn(p);try{G9(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){gt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,gt=y;return}gt=p.return}}function G9(e,t,s,u){switch(t.tag){case C:case W:case pe:{if(t.mode&En){cS();try{Cf(mi|La,t)}finally{uS(t)}}else Cf(mi|La,t);break}}}function K9(e){gt=e,Q9()}function Q9(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Ni)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];gt=p,Z9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var x=w.sibling;w.sibling=null,w=x}while(w!==null)}}}gt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,gt=t):X9()}}function X9(){for(;gt!==null;){var e=gt;(e.flags&Ga)!==Ct&&(Fn(e),J9(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function J9(e){switch(e.tag){case C:case W:case pe:{e.mode&En?(cS(),ou(mi|La,e,e.return),uS(e)):ou(mi|La,e,e.return);break}}}function Z9(e,t){for(;gt!==null;){var s=gt;Fn(s),t7(s,t),ur();var u=s.child;u!==null?(u.return=s,gt=u):e7(e)}}function e7(e){for(;gt!==null;){var t=gt,s=t.sibling,u=t.return;if(fF(t),t===e){gt=null;return}if(s!==null){s.return=u,gt=s;return}gt=u}}function t7(e,t){switch(e.tag){case C:case W:case pe:{e.mode&En?(cS(),ou(mi,e,t),uS(e)):ou(mi,e,t);break}}}function n7(e){switch(e.tag){case C:case W:case pe:{try{Cf(Ba|La,e)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function r7(e){switch(e.tag){case C:case W:case pe:{try{Cf(mi|La,e)}catch(t){yr(e,e.return,t)}break}}}function a7(e){switch(e.tag){case C:case W:case pe:{try{ou(Ba|La,e,e.return)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&US(e,e.return,t);break}}}function i7(e){switch(e.tag){case C:case W:case pe:try{ou(mi|La,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var by=Symbol.for;by("selector.component"),by("selector.has_pseudo_class"),by("selector.role"),by("selector.test_id"),by("selector.text")}var o7=[];function s7(){o7.forEach(function(e){return e()})}var l7=i.ReactCurrentActQueue;function u7(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function wF(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&l7.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var c7=Math.ceil,WS=i.ReactCurrentDispatcher,YS=i.ReactCurrentOwner,bi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,ja=0,DF=1,ki=2,ll=4,md=0,ky=1,dh=2,Fw=3,wy=4,SF=5,GS=6,Cn=ja,ho=null,Kr=null,za=E,dc=E,KS=mf(E),Ua=md,Dy=null,$w=E,Sy=E,Pw=E,Cy=null,Yo=null,QS=0,CF=500,_F=1/0,d7=500,gd=null;function _y(){_F=Mr()+d7}function xF(){return _F}var Nw=!1,XS=null,dg=null,fh=!1,xf=null,xy=E,JS=[],ZS=null,f7=50,Ey=0,eC=null,tC=!1,Ow=!1,p7=50,fg=0,Rw=null,Lw=dr,Bw=E,EF=!1;function Mw(){return ho}function mo(){return(Cn&(ki|ll))!==ja?Mr():(Lw!==dr||(Lw=Mr()),Lw)}function Ef(e){var t=e.mode;if((t&rn)===_t)return U;if((Cn&ki)!==ja&&za!==E)return Mp(za);var s=l5()!==s5;if(s){if(bi.transition!==null){var u=bi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Bw===M&&(Bw=gv()),Bw}var p=bs();if(p!==M)return p;var y=W8();return y}function h7(e){var t=e.mode;return(t&rn)===_t?U:Ib()}function Ha(e,t,s,u){M7(),EF&&m("useInsertionEffect must not schedule updates."),tC&&(Ow=!0),Jc(e,s,u),(Cn&ki)!==E&&e===ho?z7(t):(Ja&&Sm(e,t,s),U7(t),e===ho&&((Cn&ki)===ja&&(Sy=Zt(Sy,s)),Ua===wy&&Tf(e,za)),Go(e,u),s===U&&Cn===ja&&(t.mode&rn)===_t&&!uu.isBatchingLegacy&&(_y(),ET()))}function m7(e,t,s){var u=e.current;u.lanes=t,Jc(e,t,s),Go(e,s)}function g7(e){return(Cn&ki)!==ja}function Go(e,t){var s=e.callbackNode;bm(e,t);var u=ym(e,e===ho?za:E);if(u===E){s!==null&&HF(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Yu(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==lC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&HF(s);var w;if(p===U)e.tag===gf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),q6(FF.bind(null,e))):xT(FF.bind(null,e)),uu.current!==null?uu.current.push(vf):G8(function(){(Cn&(ki|ll))===ja&&vf()}),w=null;else{var x;switch(Na(u)){case Ii:x=qu;break;case ys:x=Ks;break;case Zs:x=Io;break;case Zc:x=hs;break;default:x=Io;break}w=uC(x,TF.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function TF(e,t){if(O5(),Lw=dr,Bw=E,(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");var s=e.callbackNode,u=yd();if(u&&e.callbackNode!==s)return null;var p=ym(e,e===ho?za:E);if(p===E)return null;var y=!wm(e,p)&&!Mb(e,p)&&!t,w=y?x7(e,p):jw(e,p);if(w!==md){if(w===dh){var x=km(e);x!==E&&(p=x,w=nC(e,x))}if(w===ky){var A=Dy;throw ph(e,E),Tf(e,p),Go(e,Mr()),A}if(w===GS)Tf(e,p);else{var L=!wm(e,p),j=e.current.alternate;if(L&&!y7(j)){if(w=jw(e,p),w===dh){var re=km(e);re!==E&&(p=re,w=nC(e,re))}if(w===ky){var te=Dy;throw ph(e,E),Tf(e,p),Go(e,Mr()),te}}e.finishedWork=j,e.finishedLanes=p,v7(e,w,p)}}return Go(e,Mr()),e.callbackNode===s?TF.bind(null,e):null}function nC(e,t){var s=Cy;if(Cm(e)){var u=ph(e,t);u.flags|=ka,B6(e.containerInfo)}var p=jw(e,t);if(p!==dh){var y=Yo;Yo=s,y!==null&&AF(y)}return p}function AF(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function v7(e,t,s){switch(t){case md:case ky:throw new Error("Root did not complete. This is a bug in React.");case dh:{hh(e,Yo,gd);break}case Fw:{if(Tf(e,s),Qc(s)&&!qF()){var u=QS+CF-Mr();if(u>10){var p=ym(e,E);if(p!==E)break;var y=e.suspendedLanes;if(!Xc(y,s)){mo(),bv(e,y);break}e.timeoutHandle=Z2(hh.bind(null,e,Yo,gd),u);break}}hh(e,Yo,gd);break}case wy:{if(Tf(e,s),hv(s))break;if(!qF()){var w=vs(e,s),x=w,A=Mr()-x,L=B7(A)-A;if(L>10){e.timeoutHandle=Z2(hh.bind(null,e,Yo,gd),L);break}}hh(e,Yo,gd);break}case SF:{hh(e,Yo,gd);break}default:throw new Error("Unknown root exit status.")}}function y7(e){for(var t=e;;){if(t.flags&Uu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,x=y.value;try{if(!ie(w(),x))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&Uu&&A!==null){A.return=t,t=A;continue}if(t===e)return!0;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 Tf(e,t){t=Ip(t,Pw),t=Ip(t,Sy),jb(e,t)}function FF(e){if(R5(),(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");yd();var t=ym(e,E);if(!Mi(t,U))return Go(e,Mr()),null;var s=jw(e,t);if(e.tag!==gf&&s===dh){var u=km(e);u!==E&&(t=u,s=nC(e,u))}if(s===ky){var p=Dy;throw ph(e,E),Tf(e,t),Go(e,Mr()),p}if(s===GS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,hh(e,Yo,gd),Go(e,Mr()),null}function b7(e,t){t!==E&&(jp(e,Zt(t,U)),Go(e,Mr()),(Cn&(ki|ll))===ja&&(_y(),vf()))}function rC(e,t){var s=Cn;Cn|=DF;try{return e(t)}finally{Cn=s,Cn===ja&&!uu.isBatchingLegacy&&(_y(),ET())}}function k7(e,t,s,u,p){var y=bs(),w=bi.transition;try{return bi.transition=null,ca(Ii),e(t,s,u,p)}finally{ca(y),bi.transition=w,Cn===ja&&_y()}}function vd(e){xf!==null&&xf.tag===gf&&(Cn&(ki|ll))===ja&&yd();var t=Cn;Cn|=DF;var s=bi.transition,u=bs();try{return bi.transition=null,ca(Ii),e?e():void 0}finally{ca(u),bi.transition=s,Cn=t,(Cn&(ki|ll))===ja&&vf()}}function $F(){return(Cn&(ki|ll))!==ja}function Iw(e,t){Hi(KS,dc,e),dc=Zt(dc,t)}function aC(e){dc=KS.current,Ui(KS,e)}function ph(e,t){e.finishedWork=null,e.finishedLanes=E;var s=e.timeoutHandle;if(s!==eD&&(e.timeoutHandle=eD,Y8(s)),Kr!==null)for(var u=Kr.return;u!==null;){var p=u.alternate;oF(p,u),u=u.return}ho=e;var y=mh(e.current,null);return Kr=y,za=dc=t,Ua=md,Dy=null,$w=E,Sy=E,Pw=E,Cy=null,Yo=null,m5(),tu.discardPendingWarnings(),y}function PF(e,t){do{var s=Kr;try{if(Gk(),nA(),ur(),YS.current=null,s===null||s.return===null){Ua=ky,Dy=t,Kr=null;return}if(rt&&s.mode&En&&Sw(s,!0),ot)if(ta(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,za)}else Hc(s,t,za);q5(e,s.return,s,t,za),LF(s)}catch(p){t=p,Kr===s&&s!==null?(s=s.return,Kr=s):s=Kr;continue}return}while(!0)}function NF(){var e=WS.current;return WS.current=yw,e===null?yw:e}function OF(e){WS.current=e}function w7(){QS=Mr()}function Ty(e){$w=Zt(e,$w)}function D7(){Ua===md&&(Ua=Fw)}function iC(){(Ua===md||Ua===Fw||Ua===dh)&&(Ua=wy),ho!==null&&(Bp($w)||Bp(Sy))&&Tf(ho,za)}function S7(e){Ua!==wy&&(Ua=dh),Cy===null?Cy=[e]:Cy.push(e)}function C7(){return Ua===md}function jw(e,t){var s=Cn;Cn|=ki;var u=NF();if(ho!==e||za!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&(Ay(e,za),p.clear()),zp(e,t)}gd=Ub(),ph(e,t)}Hl(t);do try{_7();break}catch(y){PF(e,y)}while(!0);if(Gk(),Cn=s,OF(u),Kr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return af(),ho=null,za=E,Ua}function _7(){for(;Kr!==null;)RF(Kr)}function x7(e,t){var s=Cn;Cn|=ki;var u=NF();if(ho!==e||za!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&(Ay(e,za),p.clear()),zp(e,t)}gd=Ub(),_y(),ph(e,t)}Hl(t);do try{E7();break}catch(y){PF(e,y)}while(!0);return Gk(),OF(u),Cn=s,Kr!==null?(Fp(),md):(af(),ho=null,za=E,Ua)}function E7(){for(;Kr!==null&&!Dp();)RF(Kr)}function RF(e){var t=e.alternate;Fn(e);var s;(e.mode&En)!==_t?(lS(e),s=oC(t,e,dc),Sw(e,!0)):s=oC(t,e,dc),ur(),e.memoizedProps=e.pendingProps,s===null?LF(e):Kr=s,YS.current=null}function LF(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Ic)===Ct){Fn(t);var p=void 0;if((t.mode&En)===_t?p=iF(s,t,dc):(lS(t),p=iF(s,t,dc),Sw(t,!1)),ur(),p!==null){Kr=p;return}}else{var y=D9(s,t);if(y!==null){y.flags&=fs,Kr=y;return}if((t.mode&En)!==_t){Sw(t,!1);for(var w=t.actualDuration,x=t.child;x!==null;)w+=x.actualDuration,x=x.sibling;t.actualDuration=w}if(u!==null)u.flags|=Ic,u.subtreeFlags=Ct,u.deletions=null;else{Ua=GS,Kr=null;return}}var A=t.sibling;if(A!==null){Kr=A;return}t=u,Kr=t}while(t!==null);Ua===md&&(Ua=SF)}function hh(e,t,s){var u=bs(),p=bi.transition;try{bi.transition=null,ca(Ii),T7(e,t,s,u)}finally{bi.transition=p,ca(u)}return null}function T7(e,t,s,u){do yd();while(xf!==null);if(I7(),(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Ep(y),p===null)return Vu(),null;if(y===E&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=E,p===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=M;var w=Zt(p.lanes,p.childLanes);kv(e,w),e===ho&&(ho=null,Kr=null,za=E),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(fh||(fh=!0,ZS=s,uC(Io,function(){return yd(),null})));var x=(p.subtreeFlags&(Vs|Ws|Ys|Bo))!==Ct,A=(p.flags&(Vs|Ws|Ys|Bo))!==Ct;if(x||A){var L=bi.transition;bi.transition=null;var j=bs();ca(Ii);var re=Cn;Cn|=ll,YS.current=null,E9(e,p),EA(),z9(e,p,y),j8(e.containerInfo),e.current=p,zl(y),U9(p,e,y),qc(),Sp(),Cn=re,ca(j),bi.transition=L}else e.current=p,EA();var te=fh;if(fh?(fh=!1,xf=e,xy=y):(fg=0,Rw=null),w=e.pendingLanes,w===E&&(dg=null),te||jF(e.current,!1),tf(p.stateNode,u),Ja&&e.memoizedUpdaters.clear(),s7(),Go(e,Mr()),t!==null)for(var ue=e.onRecoverableError,ge=0;ge<t.length;ge++){var Se=t[ge],tt=Se.stack,St=Se.digest;ue(Se.value,{componentStack:tt,digest:St})}if(Nw){Nw=!1;var Pt=XS;throw XS=null,Pt}return Mi(xy,U)&&e.tag!==gf&&yd(),w=e.pendingLanes,Mi(w,U)?(N5(),e===eC?Ey++:(Ey=0,eC=e)):Ey=0,vf(),Vu(),null}function yd(){if(xf!==null){var e=Na(xy),t=qb(Zs,e),s=bi.transition,u=bs();try{return bi.transition=null,ca(t),F7()}finally{ca(u),bi.transition=s}}return!1}function A7(e){JS.push(e),fh||(fh=!0,uC(Io,function(){return yd(),null}))}function F7(){if(xf===null)return!1;var e=ZS;ZS=null;var t=xf,s=xy;if(xf=null,xy=E,(Cn&(ki|ll))!==ja)throw new Error("Cannot flush passive effects while already rendering.");tC=!0,Ow=!1,Ul(s);var u=Cn;Cn|=ll,K9(t.current),V9(t,t.current,s,e);{var p=JS;JS=[];for(var y=0;y<p.length;y++){var w=p[y];$9(t,w)}}Ap(),jF(t.current,!0),Cn=u,vf(),Ow?t===Rw?fg++:(fg=0,Rw=t):fg=0,tC=!1,Ow=!1,_p(t);{var x=t.current.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}return!0}function BF(e){return dg!==null&&dg.has(e)}function $7(e){dg===null?dg=new Set([e]):dg.add(e)}function P7(e){Nw||(Nw=!0,XS=e)}var N7=P7;function MF(e,t,s){var u=uh(s,t),p=RA(e,u,U),y=bf(e,p,U),w=mo();y!==null&&(Jc(y,U,w),Go(y,w))}function yr(e,t,s){if(C9(s),Fy(!1),e.tag===N){MF(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){MF(u,e,s);return}else if(u.tag===T){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!BF(y)){var w=uh(s,e),x=xS(u,w,U),A=bf(u,x,U),L=mo();A!==null&&(Jc(A,U,L),Go(A,L));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
276
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:L=" You returned: "+x,m("%s must not return anything besides a function, which is used for clean-up.%s",A,L)}}}y=y.next}while(y!==p)}}function $9(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case J:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xA(),x=t.alternate===null?"mount":"update";_A()&&(x="nested-update"),typeof y=="function"&&y(p,x,s,w);var A=t.return;e:for(;A!==null;){switch(A.tag){case N:var L=A.stateNode;L.passiveEffectDuration+=s;break e;case J:var j=A.stateNode;j.passiveEffectDuration+=s;break e}A=A.return}break}}}function P9(e,t,s,u){if((s.flags&Ys)!==Ct)switch(s.tag){case C:case W:case pe:{if(!vi)if(s.mode&En)try{uc(),Cf(Ba|La,s)}finally{lc(s)}else Cf(Ba|La,s);break}case T:{var p=s.stateNode;if(s.flags&mn&&!vi)if(t===null)if(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),s.mode&En)try{uc(),p.componentDidMount()}finally{lc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),s.mode&En)try{uc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{lc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var x=s.updateQueue;x!==null&&(s.type===s.elementType&&!ch&&(p.props!==s.memoizedProps&&m("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&m("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.",Mt(s)||"instance")),QT(s,x,p));break}case N:{var A=s.updateQueue;if(A!==null){var L=null;if(s.child!==null)switch(s.child.tag){case B:L=s.child.stateNode;break;case T:L=s.child.stateNode;break}QT(s,A,L)}break}case B:{var j=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;Q8(j,re,te)}break}case I:break;case O:break;case J:{{var ue=s.memoizedProps,ge=ue.onCommit,Se=ue.onRender,tt=s.stateNode.effectDuration,St=xA(),Pt=t===null?"mount":"update";_A()&&(Pt="nested-update"),typeof Se=="function"&&Se(s.memoizedProps.id,Pt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Pt,tt,St),A7(s);var hn=s.return;e:for(;hn!==null;){switch(hn.tag){case N:var cn=hn.stateNode;cn.effectDuration+=tt;break e;case J:var se=hn.stateNode;se.effectDuration+=tt;break e}hn=hn.return}}}break}case K:{j9(e,s);break}case We:case ke:case Ke:case nt:case He:case Me:break;default:throw new 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.")}vi||s.flags&Yn&&dF(s)}function N9(e){switch(e.tag){case C:case W:case pe:{if(e.mode&En)try{uc(),lF(e,e.return)}finally{lc(e)}else lF(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&x9(e,e.return,t),uF(e,e.return);break}case B:{uF(e,e.return);break}}}function O9(e,t){for(var s=null,u=e;;){if(u.tag===B){if(s===null){s=u;try{var p=u.stateNode;t?o6(p):l6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===I){if(s===null)try{var y=u.stateNode;t?s6(y):u6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===nt||u.tag===He)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function dF(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case B:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&En)try{uc(),p=t(u)}finally{lc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Mt(e)),t.current=u}}function R9(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function fF(e){var t=e.alternate;t!==null&&(e.alternate=null,fF(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===B){var s=e.stateNode;s!==null&&z6(s)}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 L9(e){for(var t=e.return;t!==null;){if(pF(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function pF(e){return e.tag===B||e.tag===N||e.tag===O}function hF(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||pF(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==B&&t.tag!==I&&t.tag!==Ge;){if(t.flags&Fr||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fr))return t.stateNode}}function B9(e){var t=L9(e);switch(t.tag){case B:{var s=t.stateNode;t.flags&Ft&&(gT(s),t.flags&=-33);var u=hF(e);qS(e,u,s);break}case N:case O:{var p=t.stateNode.containerInfo,y=hF(e);HS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function HS(e,t,s){var u=e.tag,p=u===B||u===I;if(p){var y=e.stateNode;t?n6(s,y,t):e6(s,y)}else if(u!==O){var w=e.child;if(w!==null){HS(w,t,s);for(var x=w.sibling;x!==null;)HS(x,t,s),x=x.sibling}}}function qS(e,t,s){var u=e.tag,p=u===B||u===I;if(p){var y=e.stateNode;t?t6(s,y,t):Z8(s,y)}else if(u!==O){var w=e.child;if(w!==null){qS(w,t,s);for(var x=w.sibling;x!==null;)qS(x,t,s),x=x.sibling}}}var yi=null,su=!1;function M9(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case B:{yi=u.stateNode,su=!1;break e}case N:{yi=u.stateNode.containerInfo,su=!0;break e}case O:{yi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(yi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mF(e,t,s),yi=null,su=!1}R9(s)}function _f(e,t,s){for(var u=s.child;u!==null;)mF(e,t,u),u=u.sibling}function mF(e,t,s){switch(xp(s),s.tag){case B:vi||cg(s,t);case I:{{var u=yi,p=su;yi=null,_f(e,t,s),yi=u,su=p,yi!==null&&(su?a6(yi,s.stateNode):r6(yi,s.stateNode))}return}case Ge:{yi!==null&&(su?i6(yi,s.stateNode):tD(yi,s.stateNode));return}case O:{{var y=yi,w=su;yi=s.stateNode.containerInfo,su=!0,_f(e,t,s),yi=y,su=w}return}case C:case W:case ae:case pe:{if(!vi){var x=s.updateQueue;if(x!==null){var A=x.lastEffect;if(A!==null){var L=A.next,j=L;do{var re=j,te=re.destroy,ue=re.tag;te!==void 0&&((ue&ic)!==Wo?Aw(s,t,te):(ue&Ba)!==Wo&&(Uc(s),s.mode&En?(uc(),Aw(s,t,te),lc(s)):Aw(s,t,te),Tp())),j=j.next}while(j!==L)}}}_f(e,t,s);return}case T:{if(!vi){cg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&US(s,t,ge)}_f(e,t,s);return}case Ke:{_f(e,t,s);return}case nt:{if(s.mode&rn){var Se=vi;vi=Se||s.memoizedState!==null,_f(e,t,s),vi=Se}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function I9(e){e.memoizedState}function j9(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&C6(y)}}}}function gF(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new S9),t.forEach(function(u){var p=L7.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ja)if(lg!==null&&ug!==null)Ay(ug,lg);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function z9(e,t,s){lg=s,ug=e,Fn(t),vF(t,e),Fn(t),lg=null,ug=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{M9(e,t,y)}catch(A){yr(y,t,A)}}var w=li();if(t.subtreeFlags&Ws)for(var x=t.child;x!==null;)Fn(x),vF(x,e),x=x.sibling;Fn(w)}function vF(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case pe:{if(lu(t,e),cc(e),p&mn){try{ou(ic|La,e,e.return),Cf(ic|La,e)}catch(It){yr(e,e.return,It)}if(e.mode&En){try{uc(),ou(Ba|La,e,e.return)}catch(It){yr(e,e.return,It)}lc(e)}else try{ou(Ba|La,e,e.return)}catch(It){yr(e,e.return,It)}}return}case T:{lu(t,e),cc(e),p&Yn&&u!==null&&cg(u,u.return);return}case B:{lu(t,e),cc(e),p&Yn&&u!==null&&cg(u,u.return);{if(e.flags&Ft){var y=e.stateNode;try{gT(y)}catch(It){yr(e,e.return,It)}}if(p&mn){var w=e.stateNode;if(w!=null){var x=e.memoizedProps,A=u!==null?u.memoizedProps:x,L=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{X8(w,j,L,A,x,e)}catch(It){yr(e,e.return,It)}}}}return}case I:{if(lu(t,e),cc(e),p&mn){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var re=e.stateNode,te=e.memoizedProps,ue=u!==null?u.memoizedProps:te;try{J8(re,ue,te)}catch(It){yr(e,e.return,It)}}return}case N:{if(lu(t,e),cc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{S6(t.containerInfo)}catch(It){yr(e,e.return,It)}}return}case O:{lu(t,e),cc(e);return}case K:{lu(t,e),cc(e);var Se=e.child;if(Se.flags&Br){var tt=Se.stateNode,St=Se.memoizedState,Pt=St!==null;if(tt.isHidden=Pt,Pt){var hn=Se.alternate!==null&&Se.alternate.memoizedState!==null;hn||w7()}}if(p&mn){try{I9(e)}catch(It){yr(e,e.return,It)}gF(e)}return}case nt:{var cn=u!==null&&u.memoizedState!==null;if(e.mode&rn){var se=vi;vi=se||cn,lu(t,e),vi=se}else lu(t,e);if(cc(e),p&Br){var De=e.stateNode,le=e.memoizedState,je=le!==null,ut=e;if(De.isHidden=je,je&&!cn&&(ut.mode&rn)!==_t){gt=ut;for(var it=ut.child;it!==null;)gt=it,H9(it),it=it.sibling}O9(ut,je)}return}case We:{lu(t,e),cc(e),p&mn&&gF(e);return}case Ke:return;default:{lu(t,e),cc(e);return}}}function cc(e){var t=e.flags;if(t&Fr){try{B9(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Oi&&(e.flags&=-4097)}function U9(e,t,s){lg=s,ug=t,gt=e,yF(e,t,s),lg=null,ug=null}function yF(e,t,s){for(var u=(e.mode&rn)!==_t;gt!==null;){var p=gt,y=p.child;if(p.tag===nt&&u){var w=p.memoizedState!==null,x=w||Tw;if(x){VS(e,t,s);continue}else{var A=p.alternate,L=A!==null&&A.memoizedState!==null,j=L||vi,re=Tw,te=vi;Tw=x,vi=j,vi&&!te&&(gt=p,q9(p));for(var ue=y;ue!==null;)gt=ue,yF(ue,t,s),ue=ue.sibling;gt=p,Tw=re,vi=te,VS(e,t,s);continue}}(p.subtreeFlags&Ys)!==Ct&&y!==null?(y.return=p,gt=y):VS(e,t,s)}}function VS(e,t,s){for(;gt!==null;){var u=gt;if((u.flags&Ys)!==Ct){var p=u.alternate;Fn(u);try{P9(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){gt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,gt=y;return}gt=u.return}}function H9(e){for(;gt!==null;){var t=gt,s=t.child;switch(t.tag){case C:case W:case ae:case pe:{if(t.mode&En)try{uc(),ou(Ba,t,t.return)}finally{lc(t)}else ou(Ba,t,t.return);break}case T:{cg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&US(t,t.return,u);break}case B:{cg(t,t.return);break}case nt:{var p=t.memoizedState!==null;if(p){bF(e);continue}break}}s!==null?(s.return=t,gt=s):bF(e)}}function bF(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function q9(e){for(;gt!==null;){var t=gt,s=t.child;if(t.tag===nt){var u=t.memoizedState!==null;if(u){kF(e);continue}}s!==null?(s.return=t,gt=s):kF(e)}}function kF(e){for(;gt!==null;){var t=gt;Fn(t);try{N9(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){gt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,gt=s;return}gt=t.return}}function V9(e,t,s,u){gt=t,W9(t,e,s,u)}function W9(e,t,s,u){for(;gt!==null;){var p=gt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,gt=y):Y9(e,t,s,u)}}function Y9(e,t,s,u){for(;gt!==null;){var p=gt;if((p.flags&Ga)!==Ct){Fn(p);try{G9(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){gt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,gt=y;return}gt=p.return}}function G9(e,t,s,u){switch(t.tag){case C:case W:case pe:{if(t.mode&En){cS();try{Cf(mi|La,t)}finally{uS(t)}}else Cf(mi|La,t);break}}}function K9(e){gt=e,Q9()}function Q9(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Ni)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];gt=p,Z9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var x=w.sibling;w.sibling=null,w=x}while(w!==null)}}}gt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,gt=t):X9()}}function X9(){for(;gt!==null;){var e=gt;(e.flags&Ga)!==Ct&&(Fn(e),J9(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function J9(e){switch(e.tag){case C:case W:case pe:{e.mode&En?(cS(),ou(mi|La,e,e.return),uS(e)):ou(mi|La,e,e.return);break}}}function Z9(e,t){for(;gt!==null;){var s=gt;Fn(s),t7(s,t),ur();var u=s.child;u!==null?(u.return=s,gt=u):e7(e)}}function e7(e){for(;gt!==null;){var t=gt,s=t.sibling,u=t.return;if(fF(t),t===e){gt=null;return}if(s!==null){s.return=u,gt=s;return}gt=u}}function t7(e,t){switch(e.tag){case C:case W:case pe:{e.mode&En?(cS(),ou(mi,e,t),uS(e)):ou(mi,e,t);break}}}function n7(e){switch(e.tag){case C:case W:case pe:{try{Cf(Ba|La,e)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function r7(e){switch(e.tag){case C:case W:case pe:{try{Cf(mi|La,e)}catch(t){yr(e,e.return,t)}break}}}function a7(e){switch(e.tag){case C:case W:case pe:{try{ou(Ba|La,e,e.return)}catch(s){yr(e,e.return,s)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&US(e,e.return,t);break}}}function i7(e){switch(e.tag){case C:case W:case pe:try{ou(mi|La,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var by=Symbol.for;by("selector.component"),by("selector.has_pseudo_class"),by("selector.role"),by("selector.test_id"),by("selector.text")}var o7=[];function s7(){o7.forEach(function(e){return e()})}var l7=i.ReactCurrentActQueue;function u7(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function wF(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&l7.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var c7=Math.ceil,WS=i.ReactCurrentDispatcher,YS=i.ReactCurrentOwner,bi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,ja=0,DF=1,ki=2,ll=4,md=0,ky=1,dh=2,Fw=3,wy=4,SF=5,GS=6,Cn=ja,ho=null,Qr=null,za=E,dc=E,KS=mf(E),Ua=md,Dy=null,$w=E,Sy=E,Pw=E,Cy=null,Yo=null,QS=0,CF=500,_F=1/0,d7=500,gd=null;function _y(){_F=Mr()+d7}function xF(){return _F}var Nw=!1,XS=null,dg=null,fh=!1,xf=null,xy=E,JS=[],ZS=null,f7=50,Ey=0,eC=null,tC=!1,Ow=!1,p7=50,fg=0,Rw=null,Lw=dr,Bw=E,EF=!1;function Mw(){return ho}function mo(){return(Cn&(ki|ll))!==ja?Mr():(Lw!==dr||(Lw=Mr()),Lw)}function Ef(e){var t=e.mode;if((t&rn)===_t)return U;if((Cn&ki)!==ja&&za!==E)return Mp(za);var s=l5()!==s5;if(s){if(bi.transition!==null){var u=bi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Bw===M&&(Bw=gv()),Bw}var p=bs();if(p!==M)return p;var y=W8();return y}function h7(e){var t=e.mode;return(t&rn)===_t?U:Ib()}function Ha(e,t,s,u){M7(),EF&&m("useInsertionEffect must not schedule updates."),tC&&(Ow=!0),Jc(e,s,u),(Cn&ki)!==E&&e===ho?z7(t):(Ja&&Sm(e,t,s),U7(t),e===ho&&((Cn&ki)===ja&&(Sy=Zt(Sy,s)),Ua===wy&&Tf(e,za)),Go(e,u),s===U&&Cn===ja&&(t.mode&rn)===_t&&!uu.isBatchingLegacy&&(_y(),ET()))}function m7(e,t,s){var u=e.current;u.lanes=t,Jc(e,t,s),Go(e,s)}function g7(e){return(Cn&ki)!==ja}function Go(e,t){var s=e.callbackNode;bm(e,t);var u=ym(e,e===ho?za:E);if(u===E){s!==null&&HF(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Yu(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==lC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&HF(s);var w;if(p===U)e.tag===gf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),q6(FF.bind(null,e))):xT(FF.bind(null,e)),uu.current!==null?uu.current.push(vf):G8(function(){(Cn&(ki|ll))===ja&&vf()}),w=null;else{var x;switch(Na(u)){case Ii:x=qu;break;case ys:x=Ks;break;case Zs:x=Io;break;case Zc:x=hs;break;default:x=Io;break}w=uC(x,TF.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function TF(e,t){if(O5(),Lw=dr,Bw=E,(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");var s=e.callbackNode,u=yd();if(u&&e.callbackNode!==s)return null;var p=ym(e,e===ho?za:E);if(p===E)return null;var y=!wm(e,p)&&!Mb(e,p)&&!t,w=y?x7(e,p):jw(e,p);if(w!==md){if(w===dh){var x=km(e);x!==E&&(p=x,w=nC(e,x))}if(w===ky){var A=Dy;throw ph(e,E),Tf(e,p),Go(e,Mr()),A}if(w===GS)Tf(e,p);else{var L=!wm(e,p),j=e.current.alternate;if(L&&!y7(j)){if(w=jw(e,p),w===dh){var re=km(e);re!==E&&(p=re,w=nC(e,re))}if(w===ky){var te=Dy;throw ph(e,E),Tf(e,p),Go(e,Mr()),te}}e.finishedWork=j,e.finishedLanes=p,v7(e,w,p)}}return Go(e,Mr()),e.callbackNode===s?TF.bind(null,e):null}function nC(e,t){var s=Cy;if(Cm(e)){var u=ph(e,t);u.flags|=ka,B6(e.containerInfo)}var p=jw(e,t);if(p!==dh){var y=Yo;Yo=s,y!==null&&AF(y)}return p}function AF(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function v7(e,t,s){switch(t){case md:case ky:throw new Error("Root did not complete. This is a bug in React.");case dh:{hh(e,Yo,gd);break}case Fw:{if(Tf(e,s),Qc(s)&&!qF()){var u=QS+CF-Mr();if(u>10){var p=ym(e,E);if(p!==E)break;var y=e.suspendedLanes;if(!Xc(y,s)){mo(),bv(e,y);break}e.timeoutHandle=Z2(hh.bind(null,e,Yo,gd),u);break}}hh(e,Yo,gd);break}case wy:{if(Tf(e,s),hv(s))break;if(!qF()){var w=vs(e,s),x=w,A=Mr()-x,L=B7(A)-A;if(L>10){e.timeoutHandle=Z2(hh.bind(null,e,Yo,gd),L);break}}hh(e,Yo,gd);break}case SF:{hh(e,Yo,gd);break}default:throw new Error("Unknown root exit status.")}}function y7(e){for(var t=e;;){if(t.flags&Uu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,x=y.value;try{if(!ie(w(),x))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&Uu&&A!==null){A.return=t,t=A;continue}if(t===e)return!0;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 Tf(e,t){t=Ip(t,Pw),t=Ip(t,Sy),jb(e,t)}function FF(e){if(R5(),(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");yd();var t=ym(e,E);if(!Mi(t,U))return Go(e,Mr()),null;var s=jw(e,t);if(e.tag!==gf&&s===dh){var u=km(e);u!==E&&(t=u,s=nC(e,u))}if(s===ky){var p=Dy;throw ph(e,E),Tf(e,t),Go(e,Mr()),p}if(s===GS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,hh(e,Yo,gd),Go(e,Mr()),null}function b7(e,t){t!==E&&(jp(e,Zt(t,U)),Go(e,Mr()),(Cn&(ki|ll))===ja&&(_y(),vf()))}function rC(e,t){var s=Cn;Cn|=DF;try{return e(t)}finally{Cn=s,Cn===ja&&!uu.isBatchingLegacy&&(_y(),ET())}}function k7(e,t,s,u,p){var y=bs(),w=bi.transition;try{return bi.transition=null,da(Ii),e(t,s,u,p)}finally{da(y),bi.transition=w,Cn===ja&&_y()}}function vd(e){xf!==null&&xf.tag===gf&&(Cn&(ki|ll))===ja&&yd();var t=Cn;Cn|=DF;var s=bi.transition,u=bs();try{return bi.transition=null,da(Ii),e?e():void 0}finally{da(u),bi.transition=s,Cn=t,(Cn&(ki|ll))===ja&&vf()}}function $F(){return(Cn&(ki|ll))!==ja}function Iw(e,t){Hi(KS,dc,e),dc=Zt(dc,t)}function aC(e){dc=KS.current,Ui(KS,e)}function ph(e,t){e.finishedWork=null,e.finishedLanes=E;var s=e.timeoutHandle;if(s!==eD&&(e.timeoutHandle=eD,Y8(s)),Qr!==null)for(var u=Qr.return;u!==null;){var p=u.alternate;oF(p,u),u=u.return}ho=e;var y=mh(e.current,null);return Qr=y,za=dc=t,Ua=md,Dy=null,$w=E,Sy=E,Pw=E,Cy=null,Yo=null,m5(),tu.discardPendingWarnings(),y}function PF(e,t){do{var s=Qr;try{if(Gk(),nA(),ur(),YS.current=null,s===null||s.return===null){Ua=ky,Dy=t,Qr=null;return}if(rt&&s.mode&En&&Sw(s,!0),ot)if(ta(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,za)}else Hc(s,t,za);q5(e,s.return,s,t,za),LF(s)}catch(p){t=p,Qr===s&&s!==null?(s=s.return,Qr=s):s=Qr;continue}return}while(!0)}function NF(){var e=WS.current;return WS.current=yw,e===null?yw:e}function OF(e){WS.current=e}function w7(){QS=Mr()}function Ty(e){$w=Zt(e,$w)}function D7(){Ua===md&&(Ua=Fw)}function iC(){(Ua===md||Ua===Fw||Ua===dh)&&(Ua=wy),ho!==null&&(Bp($w)||Bp(Sy))&&Tf(ho,za)}function S7(e){Ua!==wy&&(Ua=dh),Cy===null?Cy=[e]:Cy.push(e)}function C7(){return Ua===md}function jw(e,t){var s=Cn;Cn|=ki;var u=NF();if(ho!==e||za!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&(Ay(e,za),p.clear()),zp(e,t)}gd=Ub(),ph(e,t)}Hl(t);do try{_7();break}catch(y){PF(e,y)}while(!0);if(Gk(),Cn=s,OF(u),Qr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return af(),ho=null,za=E,Ua}function _7(){for(;Qr!==null;)RF(Qr)}function x7(e,t){var s=Cn;Cn|=ki;var u=NF();if(ho!==e||za!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&(Ay(e,za),p.clear()),zp(e,t)}gd=Ub(),_y(),ph(e,t)}Hl(t);do try{E7();break}catch(y){PF(e,y)}while(!0);return Gk(),OF(u),Cn=s,Qr!==null?(Fp(),md):(af(),ho=null,za=E,Ua)}function E7(){for(;Qr!==null&&!Dp();)RF(Qr)}function RF(e){var t=e.alternate;Fn(e);var s;(e.mode&En)!==_t?(lS(e),s=oC(t,e,dc),Sw(e,!0)):s=oC(t,e,dc),ur(),e.memoizedProps=e.pendingProps,s===null?LF(e):Qr=s,YS.current=null}function LF(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Ic)===Ct){Fn(t);var p=void 0;if((t.mode&En)===_t?p=iF(s,t,dc):(lS(t),p=iF(s,t,dc),Sw(t,!1)),ur(),p!==null){Qr=p;return}}else{var y=D9(s,t);if(y!==null){y.flags&=fs,Qr=y;return}if((t.mode&En)!==_t){Sw(t,!1);for(var w=t.actualDuration,x=t.child;x!==null;)w+=x.actualDuration,x=x.sibling;t.actualDuration=w}if(u!==null)u.flags|=Ic,u.subtreeFlags=Ct,u.deletions=null;else{Ua=GS,Qr=null;return}}var A=t.sibling;if(A!==null){Qr=A;return}t=u,Qr=t}while(t!==null);Ua===md&&(Ua=SF)}function hh(e,t,s){var u=bs(),p=bi.transition;try{bi.transition=null,da(Ii),T7(e,t,s,u)}finally{bi.transition=p,da(u)}return null}function T7(e,t,s,u){do yd();while(xf!==null);if(I7(),(Cn&(ki|ll))!==ja)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Ep(y),p===null)return Vu(),null;if(y===E&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=E,p===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=M;var w=Zt(p.lanes,p.childLanes);kv(e,w),e===ho&&(ho=null,Qr=null,za=E),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(fh||(fh=!0,ZS=s,uC(Io,function(){return yd(),null})));var x=(p.subtreeFlags&(Vs|Ws|Ys|Bo))!==Ct,A=(p.flags&(Vs|Ws|Ys|Bo))!==Ct;if(x||A){var L=bi.transition;bi.transition=null;var j=bs();da(Ii);var re=Cn;Cn|=ll,YS.current=null,E9(e,p),EA(),z9(e,p,y),j8(e.containerInfo),e.current=p,zl(y),U9(p,e,y),qc(),Sp(),Cn=re,da(j),bi.transition=L}else e.current=p,EA();var te=fh;if(fh?(fh=!1,xf=e,xy=y):(fg=0,Rw=null),w=e.pendingLanes,w===E&&(dg=null),te||jF(e.current,!1),tf(p.stateNode,u),Ja&&e.memoizedUpdaters.clear(),s7(),Go(e,Mr()),t!==null)for(var ue=e.onRecoverableError,ge=0;ge<t.length;ge++){var Se=t[ge],tt=Se.stack,St=Se.digest;ue(Se.value,{componentStack:tt,digest:St})}if(Nw){Nw=!1;var Pt=XS;throw XS=null,Pt}return Mi(xy,U)&&e.tag!==gf&&yd(),w=e.pendingLanes,Mi(w,U)?(N5(),e===eC?Ey++:(Ey=0,eC=e)):Ey=0,vf(),Vu(),null}function yd(){if(xf!==null){var e=Na(xy),t=qb(Zs,e),s=bi.transition,u=bs();try{return bi.transition=null,da(t),F7()}finally{da(u),bi.transition=s}}return!1}function A7(e){JS.push(e),fh||(fh=!0,uC(Io,function(){return yd(),null}))}function F7(){if(xf===null)return!1;var e=ZS;ZS=null;var t=xf,s=xy;if(xf=null,xy=E,(Cn&(ki|ll))!==ja)throw new Error("Cannot flush passive effects while already rendering.");tC=!0,Ow=!1,Ul(s);var u=Cn;Cn|=ll,K9(t.current),V9(t,t.current,s,e);{var p=JS;JS=[];for(var y=0;y<p.length;y++){var w=p[y];$9(t,w)}}Ap(),jF(t.current,!0),Cn=u,vf(),Ow?t===Rw?fg++:(fg=0,Rw=t):fg=0,tC=!1,Ow=!1,_p(t);{var x=t.current.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}return!0}function BF(e){return dg!==null&&dg.has(e)}function $7(e){dg===null?dg=new Set([e]):dg.add(e)}function P7(e){Nw||(Nw=!0,XS=e)}var N7=P7;function MF(e,t,s){var u=uh(s,t),p=RA(e,u,U),y=bf(e,p,U),w=mo();y!==null&&(Jc(y,U,w),Go(y,w))}function yr(e,t,s){if(C9(s),Fy(!1),e.tag===N){MF(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){MF(u,e,s);return}else if(u.tag===T){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!BF(y)){var w=uh(s,e),x=xS(u,w,U),A=bf(u,x,U),L=mo();A!==null&&(Jc(A,U,L),Go(A,L));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
277
277
|
|
|
278
278
|
Error message:
|
|
279
279
|
|
|
280
|
-
%s`,s)}function O7(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=mo();bv(e,s),H7(e),ho===e&&Xc(za,s)&&(Ua===wy||Ua===Fw&&Qc(za)&&Mr()-QS<CF?ph(e,E):Pw=Zt(Pw,s)),Go(e,p)}function IF(e,t){t===M&&(t=h7(e));var s=mo(),u=Vo(e,t);u!==null&&(Jc(u,t,s),Go(u,s))}function R7(e){var t=e.memoizedState,s=M;t!==null&&(s=t.retryLane),IF(e,s)}function L7(e,t){var s=M,u;switch(e.tag){case K:u=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case We:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),IF(e,s)}function B7(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:c7(e/1960)*1960}function M7(){if(Ey>f7)throw Ey=0,eC=null,new 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.");fg>p7&&(fg=0,Rw=null,m("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."))}function I7(){tu.flushLegacyContextWarning(),tu.flushPendingUnsafeLifecycleWarnings()}function jF(e,t){Fn(e),zw(e,lo,a7),t&&zw(e,Lo,i7),zw(e,lo,n7),t&&zw(e,Lo,r7),ur()}function zw(e,t,s){for(var u=e,p=null;u!==null;){var y=u.subtreeFlags&t;u!==p&&u.child!==null&&y!==Ct?u=u.child:((u.flags&t)!==Ct&&s(u),u.sibling!==null?u=u.sibling:u=p=u.return)}}var Uw=null;function zF(e){{if((Cn&ki)!==ja||!(e.mode&rn))return;var t=e.tag;if(t!==$&&t!==N&&t!==T&&t!==C&&t!==W&&t!==ae&&t!==pe)return;var s=Mt(e)||"ReactComponent";if(Uw!==null){if(Uw.has(s))return;Uw.add(s)}else Uw=new Set([s]);var u=
|
|
280
|
+
%s`,s)}function O7(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=mo();bv(e,s),H7(e),ho===e&&Xc(za,s)&&(Ua===wy||Ua===Fw&&Qc(za)&&Mr()-QS<CF?ph(e,E):Pw=Zt(Pw,s)),Go(e,p)}function IF(e,t){t===M&&(t=h7(e));var s=mo(),u=Vo(e,t);u!==null&&(Jc(u,t,s),Go(u,s))}function R7(e){var t=e.memoizedState,s=M;t!==null&&(s=t.retryLane),IF(e,s)}function L7(e,t){var s=M,u;switch(e.tag){case K:u=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case We:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),IF(e,s)}function B7(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:c7(e/1960)*1960}function M7(){if(Ey>f7)throw Ey=0,eC=null,new 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.");fg>p7&&(fg=0,Rw=null,m("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."))}function I7(){tu.flushLegacyContextWarning(),tu.flushPendingUnsafeLifecycleWarnings()}function jF(e,t){Fn(e),zw(e,lo,a7),t&&zw(e,Lo,i7),zw(e,lo,n7),t&&zw(e,Lo,r7),ur()}function zw(e,t,s){for(var u=e,p=null;u!==null;){var y=u.subtreeFlags&t;u!==p&&u.child!==null&&y!==Ct?u=u.child:((u.flags&t)!==Ct&&s(u),u.sibling!==null?u=u.sibling:u=p=u.return)}}var Uw=null;function zF(e){{if((Cn&ki)!==ja||!(e.mode&rn))return;var t=e.tag;if(t!==$&&t!==N&&t!==T&&t!==C&&t!==W&&t!==ae&&t!==pe)return;var s=Mt(e)||"ReactComponent";if(Uw!==null){if(Uw.has(s))return;Uw.add(s)}else Uw=new Set([s]);var u=ua;try{Fn(e),m("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.")}finally{u?Fn(e):ur()}}}var oC;{var j7=null;oC=function(e,t,s){var u=GF(j7,t);try{return eF(e,t,s)}catch(y){if(J6()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(Gk(),nA(),oF(e,t),GF(t,u),t.mode&En&&lS(t),io(null,eF,null,e,t,s),ds()){var p=Mc();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var UF=!1,sC;sC=new Set;function z7(e){if(no&&!F5())switch(e.tag){case C:case W:case pe:{var t=Qr&&Mt(Qr)||"Unknown",s=t;if(!sC.has(s)){sC.add(s);var u=Mt(e)||"Unknown";m("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://reactjs.org/link/setstate-in-render",u,t,t)}break}case T:{UF||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),UF=!0);break}}}function Ay(e,t){if(Ja){var s=e.memoizedUpdaters;s.forEach(function(u){Sm(e,u,t)})}}var lC={};function uC(e,t){{var s=uu.current;return s!==null?(s.push(t),lC):wp(e,t)}}function HF(e){if(e!==lC)return cm(e)}function qF(){return uu.current!==null}function U7(e){{if(e.mode&rn){if(!wF())return}else if(!u7()||Cn!==ja||e.tag!==C&&e.tag!==W&&e.tag!==pe)return;if(uu.current===null){var t=ua;try{Fn(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
281
281
|
|
|
282
282
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
283
283
|
|
|
@@ -297,9 +297,9 @@ act(() => {
|
|
|
297
297
|
|
|
298
298
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Fy(e){EF=e}var ul=null,pg=null,q7=function(e){ul=e};function hg(e){{if(ul===null)return e;var t=ul(e);return t===void 0?e:t.current}}function cC(e){return hg(e)}function dC(e){{if(ul===null)return e;var t=ul(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=hg(e.render);if(e.render!==s){var u={$$typeof:Ae,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function VF(e,t){{if(ul===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case T:{typeof u=="function"&&(p=!0);break}case C:{(typeof u=="function"||y===jt)&&(p=!0);break}case W:{(y===Ae||y===jt)&&(p=!0);break}case ae:case pe:{(y===Ht||y===jt)&&(p=!0);break}default:return!1}if(p){var w=ul(s);if(w!==void 0&&w===ul(u))return!0}return!1}}function WF(e){{if(ul===null||typeof WeakSet!="function")return;pg===null&&(pg=new WeakSet),pg.add(e)}}var V7=function(e,t){{if(ul===null)return;var s=t.staleFamilies,u=t.updatedFamilies;yd(),vd(function(){fC(e.current,u,s)})}},W7=function(e,t){{if(e.context!==Ss)return;yd(),vd(function(){$y(t,e,null,null)})}};function fC(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,x=e.type,A=null;switch(w){case C:case pe:case T:A=x;break;case W:A=x.render;break}if(ul===null)throw new Error("Expected resolveFamily to be set during hot reload.");var L=!1,j=!1;if(A!==null){var re=ul(A);re!==void 0&&(s.has(re)?j=!0:t.has(re)&&(w===T?j=!0:L=!0))}if(pg!==null&&(pg.has(e)||u!==null&&pg.has(u))&&(j=!0),j&&(e._debugNeedsRemount=!0),j||L){var te=Vo(e,U);te!==null&&Ha(te,e,U,dr)}p!==null&&!j&&fC(p,t,s),y!==null&&fC(y,t,s)}}var Y7=function(e,t){{var s=new Set,u=new Set(t.map(function(p){return p.current}));return pC(e.current,u,s),s}};function pC(e,t,s){{var u=e.child,p=e.sibling,y=e.tag,w=e.type,x=null;switch(y){case C:case pe:case T:x=w;break;case W:x=w.render;break}var A=!1;x!==null&&t.has(x)&&(A=!0),A?G7(e,s):u!==null&&pC(u,t,s),p!==null&&pC(p,t,s)}}function G7(e,t){{var s=K7(e,t);if(s)return;for(var u=e;;){switch(u.tag){case B:t.add(u.stateNode);return;case O:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function K7(e,t){for(var s=e,u=!1;;){if(s.tag===B)u=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var hC;{hC=!1;try{var MH=Object.preventExtensions({})}catch{hC=!0}}function Q7(e,t,s,u){this.tag=e,this.key=s,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=Ct,this.subtreeFlags=Ct,this.deletions=null,this.lanes=E,this.childLanes=E,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!hC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Cs=function(e,t,s,u){return new Q7(e,t,s,u)};function mC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function X7(e){return typeof e=="function"&&!mC(e)&&e.defaultProps===void 0}function J7(e){if(typeof e=="function")return mC(e)?T:C;if(e!=null){var t=e.$$typeof;if(t===Ae)return W;if(t===Ht)return ae}return $}function mh(e,t){var s=e.alternate;s===null?(s=Cs(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Ct,s.subtreeFlags=Ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Cr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case $:case C:case pe:s.type=hg(e.type);break;case T:s.type=cC(e.type);break;case W:s.type=dC(e.type);break}return s}function Z7(e,t){e.flags&=Cr|Fr;var s=e.alternate;if(s===null)e.childLanes=E,e.lanes=t,e.child=null,e.subtreeFlags=Ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function ez(e,t,s){var u;return e===Mk?(u=rn,t===!0&&(u|=qn,u|=Tn)):u=_t,Ja&&(u|=En),Cs(N,null,null,u)}function gC(e,t,s,u,p,y){var w=$,x=e;if(typeof e=="function")mC(e)?(w=T,x=cC(x)):x=hg(x);else if(typeof e=="string")w=B;else e:switch(e){case _o:return Af(s.children,p,y,t);case xi:w=Y,p|=qn,(p&rn)!==_t&&(p|=Tn);break;case xo:return tz(s,p,y,t);case Je:return nz(s,p,y,t);case ct:return rz(s,p,y,t);case Dr:return YF(s,p,y,t);case Jn:case Wt:case Zn:case Lr:case tn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Eo:w=Z;break e;case V:w=Ce;break e;case Ae:w=W,x=dC(x);break e;case Ht:w=ae;break e;case jt:w=Te,x=null;break e}var A="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=u?Mt(u):null;L&&(A+=`
|
|
299
299
|
|
|
300
|
-
Check the render method of \``+L+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+A))}}var j=Cs(w,s,t,p);return j.elementType=e,j.type=x,j.lanes=y,j._debugOwner=u,j}function vC(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,x=gC(p,y,w,u,t,s);return x._debugSource=e._source,x._debugOwner=e._owner,x}function Af(e,t,s,u){var p=Cs(G,e,u,t);return p.lanes=s,p}function tz(e,t,s,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Cs(J,e,u,t|En);return p.elementType=xo,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function nz(e,t,s,u){var p=Cs(K,e,u,t);return p.elementType=Je,p.lanes=s,p}function rz(e,t,s,u){var p=Cs(We,e,u,t);return p.elementType=ct,p.lanes=s,p}function YF(e,t,s,u){var p=Cs(nt,e,u,t);p.elementType=Dr,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function yC(e,t,s){var u=Cs(I,e,null,t);return u.lanes=s,u}function az(){var e=Cs(B,null,null,_t);return e.elementType="DELETED",e}function iz(e){var t=Cs(Ge,null,null,_t);return t.stateNode=e,t}function bC(e,t,s){var u=e.children!==null?e.children:[],p=Cs(O,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function GF(e,t){return e===null&&(e=Cs($,null,null,_t)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function oz(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=eD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=M,this.eventTimes=Dm(E),this.expirationTimes=Dm(dr),this.pendingLanes=E,this.suspendedLanes=E,this.pingedLanes=E,this.expiredLanes=E,this.mutableReadLanes=E,this.finishedLanes=E,this.entangledLanes=E,this.entanglements=Dm(E),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<_;w++)y.push(new Set)}switch(t){case Mk:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case gf:this._debugRootType=s?"hydrate()":"render()";break}}function KF(e,t,s,u,p,y,w,x,A,L){var j=new oz(e,t,s,x,A),re=ez(t,y);j.current=re,re.stateNode=j;{var te={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=te}return PD(re),j}var kC="18.3.1";function sz(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return kr(u),{$$typeof:
|
|
300
|
+
Check the render method of \``+L+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+A))}}var j=Cs(w,s,t,p);return j.elementType=e,j.type=x,j.lanes=y,j._debugOwner=u,j}function vC(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,x=gC(p,y,w,u,t,s);return x._debugSource=e._source,x._debugOwner=e._owner,x}function Af(e,t,s,u){var p=Cs(G,e,u,t);return p.lanes=s,p}function tz(e,t,s,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Cs(J,e,u,t|En);return p.elementType=xo,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function nz(e,t,s,u){var p=Cs(K,e,u,t);return p.elementType=Je,p.lanes=s,p}function rz(e,t,s,u){var p=Cs(We,e,u,t);return p.elementType=ct,p.lanes=s,p}function YF(e,t,s,u){var p=Cs(nt,e,u,t);p.elementType=Dr,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function yC(e,t,s){var u=Cs(I,e,null,t);return u.lanes=s,u}function az(){var e=Cs(B,null,null,_t);return e.elementType="DELETED",e}function iz(e){var t=Cs(Ge,null,null,_t);return t.stateNode=e,t}function bC(e,t,s){var u=e.children!==null?e.children:[],p=Cs(O,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function GF(e,t){return e===null&&(e=Cs($,null,null,_t)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function oz(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=eD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=M,this.eventTimes=Dm(E),this.expirationTimes=Dm(dr),this.pendingLanes=E,this.suspendedLanes=E,this.pingedLanes=E,this.expiredLanes=E,this.mutableReadLanes=E,this.finishedLanes=E,this.entangledLanes=E,this.entanglements=Dm(E),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<_;w++)y.push(new Set)}switch(t){case Mk:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case gf:this._debugRootType=s?"hydrate()":"render()";break}}function KF(e,t,s,u,p,y,w,x,A,L){var j=new oz(e,t,s,x,A),re=ez(t,y);j.current=re,re.stateNode=j;{var te={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=te}return PD(re),j}var kC="18.3.1";function sz(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return kr(u),{$$typeof:sa,key:u==null?null:""+u,children:e,containerInfo:t,implementation:s}}var wC,DC;wC=!1,DC={};function QF(e){if(!e)return Ss;var t=zu(e),s=H6(t);if(t.tag===T){var u=t.type;if(ac(u))return CT(t,u,s)}return s}function lz(e,t){{var s=zu(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var p=Qa(s);if(p===null)return null;if(p.mode&qn){var y=Mt(s)||"Component";if(!DC[y]){DC[y]=!0;var w=ua;try{Fn(p),s.mode&qn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y)}finally{w?Fn(w):ur()}}}return p.stateNode}}function XF(e,t,s,u,p,y,w,x){var A=!1,L=null;return KF(e,t,A,L,s,u,p,y,w)}function JF(e,t,s,u,p,y,w,x,A,L){var j=!0,re=KF(s,u,j,e,p,y,w,x,A);re.context=QF(null);var te=re.current,ue=mo(),ge=Ef(te),Se=pd(ue,ge);return Se.callback=t??null,bf(te,Se,ge),m7(re,ge,ue),re}function $y(e,t,s,u){Cp(t,e);var p=t.current,y=mo(),w=Ef(p);hr(w);var x=QF(s);t.context===null?t.context=x:t.pendingContext=x,no&&ua!==null&&!wC&&(wC=!0,m(`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.
|
|
301
301
|
|
|
302
|
-
Check the render method of %s.`,Mt(
|
|
302
|
+
Check the render method of %s.`,Mt(ua)||"Unknown"));var A=pd(y,w);A.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),A.callback=u);var L=bf(p,A,w);return L!==null&&(Ha(L,p,w,y),Zk(L,p,w)),w}function Hw(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case B:return t.child.stateNode;default:return t.child.stateNode}}function uz(e){switch(e.tag){case N:{var t=e.stateNode;if(Cm(t)){var s=Lb(t);b7(t,s)}break}case K:{vd(function(){var p=Vo(e,U);if(p!==null){var y=mo();Ha(p,e,U,y)}});var u=U;SC(e,u);break}}}function ZF(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=yv(s.retryLane,t))}function SC(e,t){ZF(e,t);var s=e.alternate;s&&ZF(s,t)}function cz(e){if(e.tag===K){var t=Op,s=Vo(e,t);if(s!==null){var u=mo();Ha(s,e,t,u)}SC(e,t)}}function dz(e){if(e.tag===K){var t=Ef(e),s=Vo(e,t);if(s!==null){var u=mo();Ha(s,e,t,u)}SC(e,t)}}function e$(e){var t=cr(e);return t===null?null:t.stateNode}var t$=function(e){return null};function fz(e){return t$(e)}var n$=function(e){return!1};function pz(e){return n$(e)}var r$=null,a$=null,i$=null,o$=null,s$=null,l$=null,u$=null,c$=null,d$=null;{var f$=function(e,t,s){var u=t[s],p=Yt(e)?e.slice():Xt({},e);return s+1===t.length?(Yt(p)?p.splice(u,1):delete p[u],p):(p[u]=f$(e[u],t,s+1),p)},p$=function(e,t){return f$(e,t,0)},h$=function(e,t,s,u){var p=t[u],y=Yt(e)?e.slice():Xt({},e);if(u+1===t.length){var w=s[u];y[w]=y[p],Yt(y)?y.splice(p,1):delete y[p]}else y[p]=h$(e[p],t,s,u+1);return y},m$=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(t[u]!==s[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return h$(e,t,s,0)},g$=function(e,t,s,u){if(s>=t.length)return u;var p=t[s],y=Yt(e)?e.slice():Xt({},e);return y[p]=g$(e[p],t,s+1,u),y},v$=function(e,t,s){return g$(e,t,0,s)},CC=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};r$=function(e,t,s,u){var p=CC(e,t);if(p!==null){var y=v$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Xt({},e.memoizedProps);var w=Vo(e,U);w!==null&&Ha(w,e,U,dr)}},a$=function(e,t,s){var u=CC(e,t);if(u!==null){var p=p$(u.memoizedState,s);u.memoizedState=p,u.baseState=p,e.memoizedProps=Xt({},e.memoizedProps);var y=Vo(e,U);y!==null&&Ha(y,e,U,dr)}},i$=function(e,t,s,u){var p=CC(e,t);if(p!==null){var y=m$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Xt({},e.memoizedProps);var w=Vo(e,U);w!==null&&Ha(w,e,U,dr)}},o$=function(e,t,s){e.pendingProps=v$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Vo(e,U);u!==null&&Ha(u,e,U,dr)},s$=function(e,t){e.pendingProps=p$(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Vo(e,U);s!==null&&Ha(s,e,U,dr)},l$=function(e,t,s){e.pendingProps=m$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Vo(e,U);u!==null&&Ha(u,e,U,dr)},u$=function(e){var t=Vo(e,U);t!==null&&Ha(t,e,U,dr)},c$=function(e){t$=e},d$=function(e){n$=e}}function hz(e){var t=Qa(e);return t===null?null:t.stateNode}function mz(e){return null}function gz(){return ua}function vz(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Qs({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:r$,overrideHookStateDeletePath:a$,overrideHookStateRenamePath:i$,overrideProps:o$,overridePropsDeletePath:s$,overridePropsRenamePath:l$,setErrorHandler:c$,setSuspenseHandler:d$,scheduleUpdate:u$,currentDispatcherRef:s,findHostInstanceByFiber:hz,findFiberByHostInstance:t||mz,findHostInstancesForRefresh:Y7,scheduleRefresh:V7,scheduleRoot:W7,setRefreshHandler:q7,getCurrentFiber:gz,reconcilerVersion:kC})}var y$=typeof reportError=="function"?reportError:function(e){console.error(e)};function _C(e){this._internalRoot=e}qw.prototype.render=_C.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Vw(arguments[1])?m("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 arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==er){var u=e$(t.current);u&&u.parentNode!==s&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}$y(e,t,null,null)},qw.prototype.unmount=_C.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$F()&&m("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."),vd(function(){$y(null,e,null,null)}),bT(t)}};function yz(e,t){if(!Vw(e))throw new Error("createRoot(...): Target container is not a DOM element.");b$(e);var s=!1,u=!1,p="",y=y$;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ta&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
303
303
|
|
|
304
304
|
let root = createRoot(domContainer);
|
|
305
305
|
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=XF(e,Mk,null,s,u,p,y);$k(w.current,e);var x=e.nodeType===er?e.parentNode:e;return Mv(x),new _C(w)}function qw(e){this._internalRoot=e}function bz(e){e&&Qb(e)}qw.prototype.unstable_scheduleHydration=bz;function kz(e,t,s){if(!Vw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");b$(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,x="",A=y$;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(x=s.identifierPrefix),s.onRecoverableError!==void 0&&(A=s.onRecoverableError));var L=JF(t,null,e,Mk,u,y,w,x,A);if($k(L.current,e),Mv(e),p)for(var j=0;j<p.length;j++){var re=p[j];C5(L,re)}return new qw(L)}function Vw(e){return!!(e&&(e.nodeType===Zr||e.nodeType===ci||e.nodeType===Al))}function Py(e){return!!(e&&(e.nodeType===Zr||e.nodeType===ci||e.nodeType===Al||e.nodeType===er&&e.nodeValue===" react-mount-point-unstable "))}function b$(e){e.nodeType===Zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Kv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("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."))}var wz=i.ReactCurrentOwner,k$;k$=function(e){if(e._reactRootContainer&&e.nodeType!==er){var t=e$(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var s=!!e._reactRootContainer,u=xC(e),p=!!(u&&hf(u));p&&!s&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function xC(e){return e?e.nodeType===ci?e.documentElement:e.firstChild:null}function w$(){}function Dz(e,t,s,u,p){if(p){if(typeof u=="function"){var y=u;u=function(){var te=Hw(w);y.call(te)}}var w=JF(t,u,e,gf,null,!1,!1,"",w$);e._reactRootContainer=w,$k(w.current,e);var x=e.nodeType===er?e.parentNode:e;return Mv(x),vd(),w}else{for(var A;A=e.lastChild;)e.removeChild(A);if(typeof u=="function"){var L=u;u=function(){var te=Hw(j);L.call(te)}}var j=XF(e,gf,null,!1,!1,"",w$);e._reactRootContainer=j,$k(j.current,e);var re=e.nodeType===er?e.parentNode:e;return Mv(re),vd(function(){$y(t,j,s,u)}),j}}function Sz(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ww(e,t,s,u,p){k$(s),Sz(p===void 0?null:p,"render");var y=s._reactRootContainer,w;if(!y)w=Dz(s,t,e,p,u);else{if(w=y,typeof p=="function"){var x=p;p=function(){var A=Hw(w);x.call(A)}}$y(t,w,e,p)}return Hw(w)}var D$=!1;function Cz(e){{D$||(D$=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=wz.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",kn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Zr?e:lz(e,"findDOMNode")}function _z(e,t,s){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Py(t))throw new Error("Target container is not a DOM element.");{var u=Kv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Ww(null,e,t,!0,s)}function xz(e,t,s){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Py(t))throw new Error("Target container is not a DOM element.");{var u=Kv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Ww(null,e,t,!1,s)}function Ez(e,t,s,u){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Py(s))throw new Error("Target container is not a DOM element.");if(e==null||!lv(e))throw new Error("parentComponent must be a valid React Component");return Ww(e,t,s,!1,u)}var S$=!1;function Tz(e){if(S$||(S$=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Py(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Kv(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var s=xC(e),u=s&&!hf(s);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return vd(function(){Ww(null,null,e,!1,function(){e._reactRootContainer=null,bT(e)})}),!0}else{{var p=xC(e),y=!!(p&&hf(p)),w=e.nodeType===Zr&&Py(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}_m(uz),pt(cz),Wb(dz),F2(bs),xm(wv),(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")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Xd(F8),sv(rC,k7,vd);function Az(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Vw(t))throw new Error("Target container is not a DOM element.");return sz(e,t,null,s)}function Fz(e,t,s,u){return Ez(e,t,s,u)}var EC={usingClientEntryPoint:!1,Events:[hf,Vm,Pk,Mu,Jd,rC]};function $z(e,t){return EC.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),yz(e,t)}function Pz(e,t,s){return EC.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),kz(e,t,s)}function Nz(e){return $F()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),vd(e)}var Oz=vz({findFiberByHostInstance:eh,bundleType:1,version:kC,rendererPackageName:"react-dom"});if(!Oz&&en&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var C$=window.location.protocol;/^(https?|file):$/.test(C$)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(C$==="file:"?`
|
|
@@ -432,7 +432,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
432
432
|
<span class="pkt-btn__text" ${Vt(this.defaultSlot)}></span>
|
|
433
433
|
${this.variant==="icons-right-and-left"?be`<pkt-icon class="pkt-btn__icon" name=${this.secondIconName}></pkt-icon>`:Ve}
|
|
434
434
|
</button>
|
|
435
|
-
`}};ko([z({type:String})],Gi.prototype,"iconName",2),ko([z({type:String})],Gi.prototype,"secondIconName",2),ko([z({type:String})],Gi.prototype,"mode",2),ko([z({type:String})],Gi.prototype,"size",2),ko([z({type:String})],Gi.prototype,"color",2),ko([z({type:String})],Gi.prototype,"skin",2),ko([z({type:String})],Gi.prototype,"variant",2),ko([z({type:String,reflect:!0})],Gi.prototype,"state",2),ko([z({type:String})],Gi.prototype,"type",2),ko([z({type:String})],Gi.prototype,"form",2),ko([z({type:Boolean,reflect:!0})],Gi.prototype,"isLoading",2),ko([z({type:Boolean,reflect:!0})],Gi.prototype,"disabled",2),ko([z({type:String})],Gi.prototype,"loadingAnimationPath",2),Gi=ko([fr("pkt-button")],Gi);const D_=6048e5,HP=864e5,qP=36e5,S_=Symbol.for("constructDateFrom");function fl(n,r){return typeof n=="function"?n(r):n&&typeof n=="object"&&S_ in n?n[S_](r):n instanceof Date?new n.constructor(r):new Date(r)}function Di(n,r){return fl(r||n,n)}function s0(n,r,i){const l=Di(n,void 0);return isNaN(r)?fl(n,NaN):(r&&l.setDate(l.getDate()+r),l)}function VP(n,r,i){return fl(n,+Di(n)+r)}function C_(n,r,i){return VP(n,r*qP)}let WP={};function Zy(){return WP}function Ag(n,r){var i,l,c,h;const m=Zy(),D=(r==null?void 0:r.weekStartsOn)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??m.weekStartsOn??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,C=Di(n,r==null?void 0:r.in),T=C.getDay(),$=(T<D?7:0)+T-D;return C.setDate(C.getDate()-$),C.setHours(0,0,0,0),C}function eb(n,r){return Ag(n,{...r,weekStartsOn:1})}function __(n,r){const i=Di(n,void 0),l=i.getFullYear(),c=fl(i,0);c.setFullYear(l+1,0,4),c.setHours(0,0,0,0);const h=eb(c),m=fl(i,0);m.setFullYear(l,0,4),m.setHours(0,0,0,0);const D=eb(m);return i.getTime()>=h.getTime()?l+1:i.getTime()>=D.getTime()?l:l-1}function x_(n){const r=Di(n),i=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return i.setUTCFullYear(r.getFullYear()),+n-+i}function E_(n,...r){const i=fl.bind(null,r.find(l=>typeof l=="object"));return r.map(i)}function l0(n,r){const i=Di(n,void 0);return i.setHours(0,0,0,0),i}function YP(n,r,i){const[l,c]=E_(void 0,n,r),h=l0(l),m=l0(c),D=+h-x_(h),C=+m-x_(m);return Math.round((D-C)/HP)}function GP(n,r){const i=__(n),l=fl(n,0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),eb(l)}function KP(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function QP(n){return!(!KP(n)&&typeof n!="number"||isNaN(+Di(n)))}function XP(n,r){const i=Di(n,void 0);return i.setHours(23,59,59,999),i}function JP(n,r){const[i,l]=E_(n,r.start,r.end);return{start:i,end:l}}function u0(n,r){const{start:i,end:l}=JP(void 0,n);let c=+i>+l;const h=c?+i:+l,m=c?l:i;m.setHours(0,0,0,0);let D=1;const C=[];for(;+m<=h;)C.push(fl(i,m)),m.setDate(m.getDate()+D),m.setHours(0,0,0,0);return c?C.reverse():C}function ZP(n,r){const i=Di(n,void 0);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const eN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tN=(n,r,i)=>{let l;const c=eN[n];return typeof c=="string"?l=c:r===1?l=c.one:l=c.other.replace("{{count}}",r.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+l:l+" ago":l};function c0(n){return(r={})=>{const i=r.width?String(r.width):n.defaultWidth;return n.formats[i]||n.formats[n.defaultWidth]}}const nN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iN={date:c0({formats:nN,defaultWidth:"full"}),time:c0({formats:rN,defaultWidth:"full"}),dateTime:c0({formats:aN,defaultWidth:"full"})},oN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},sN=(n,r,i,l)=>oN[n];function Fg(n){return(r,i)=>{const l=i!=null&&i.context?String(i.context):"standalone";let c;if(l==="formatting"&&n.formattingValues){const m=n.defaultFormattingWidth||n.defaultWidth,D=i!=null&&i.width?String(i.width):m;c=n.formattingValues[D]||n.formattingValues[m]}else{const m=n.defaultWidth,D=i!=null&&i.width?String(i.width):n.defaultWidth;c=n.values[D]||n.values[m]}const h=n.argumentCallback?n.argumentCallback(r):r;return c[h]}}const lN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},uN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},cN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},fN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},pN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},hN=(n,r)=>{const i=Number(n),l=i%100;if(l>20||l<10)switch(l%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},mN={ordinalNumber:hN,era:Fg({values:lN,defaultWidth:"wide"}),quarter:Fg({values:uN,defaultWidth:"wide",argumentCallback:n=>n-1}),month:Fg({values:cN,defaultWidth:"wide"}),day:Fg({values:dN,defaultWidth:"wide"}),dayPeriod:Fg({values:fN,defaultWidth:"wide",formattingValues:pN,defaultFormattingWidth:"wide"})};function $g(n){return(r,i={})=>{const l=i.width,c=l&&n.matchPatterns[l]||n.matchPatterns[n.defaultMatchWidth],h=r.match(c);if(!h)return null;const m=h[0],D=l&&n.parsePatterns[l]||n.parsePatterns[n.defaultParseWidth],C=Array.isArray(D)?vN(D,N=>N.test(m)):gN(D,N=>N.test(m));let T;T=n.valueCallback?n.valueCallback(C):C,T=i.valueCallback?i.valueCallback(T):T;const $=r.slice(m.length);return{value:T,rest:$}}}function gN(n,r){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&r(n[i]))return i}function vN(n,r){for(let i=0;i<n.length;i++)if(r(n[i]))return i}function yN(n){return(r,i={})=>{const l=r.match(n.matchPattern);if(!l)return null;const c=l[0],h=r.match(n.parsePattern);if(!h)return null;let m=n.valueCallback?n.valueCallback(h[0]):h[0];m=i.valueCallback?i.valueCallback(m):m;const D=r.slice(c.length);return{value:m,rest:D}}}const bN=/^(\d+)(th|st|nd|rd)?/i,kN=/\d+/i,wN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},DN={any:[/^b/i,/^(a|c)/i]},SN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},CN={any:[/1/i,/2/i,/3/i,/4/i]},_N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},EN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},TN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},AN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},FN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$N={ordinalNumber:yN({matchPattern:bN,parsePattern:kN,valueCallback:n=>parseInt(n,10)}),era:$g({matchPatterns:wN,defaultMatchWidth:"wide",parsePatterns:DN,defaultParseWidth:"any"}),quarter:$g({matchPatterns:SN,defaultMatchWidth:"wide",parsePatterns:CN,defaultParseWidth:"any",valueCallback:n=>n+1}),month:$g({matchPatterns:_N,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"}),day:$g({matchPatterns:EN,defaultMatchWidth:"wide",parsePatterns:TN,defaultParseWidth:"any"}),dayPeriod:$g({matchPatterns:AN,defaultMatchWidth:"any",parsePatterns:FN,defaultParseWidth:"any"})},PN={code:"en-US",formatDistance:tN,formatLong:iN,formatRelative:sN,localize:mN,match:$N,options:{weekStartsOn:0,firstWeekContainsDate:1}};function NN(n,r){const i=Di(n,void 0);return YP(i,ZP(i))+1}function ON(n,r){const i=Di(n,void 0),l=+eb(i)-+GP(i);return Math.round(l/D_)+1}function T_(n,r){var i,l,c,h;const m=Di(n,r==null?void 0:r.in),D=m.getFullYear(),C=Zy(),T=(r==null?void 0:r.firstWeekContainsDate)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??C.firstWeekContainsDate??((h=(c=C.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,$=fl((r==null?void 0:r.in)||n,0);$.setFullYear(D+1,0,T),$.setHours(0,0,0,0);const N=Ag($,r),O=fl((r==null?void 0:r.in)||n,0);O.setFullYear(D,0,T),O.setHours(0,0,0,0);const B=Ag(O,r);return+m>=+N?D+1:+m>=+B?D:D-1}function RN(n,r){var i,l,c,h;const m=Zy(),D=(r==null?void 0:r.firstWeekContainsDate)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??m.firstWeekContainsDate??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,C=T_(n,r),T=fl((r==null?void 0:r.in)||n,0);return T.setFullYear(C,0,D),T.setHours(0,0,0,0),Ag(T,r)}function A_(n,r){const i=Di(n,r==null?void 0:r.in),l=+Ag(i,r)-+RN(i,r);return Math.round(l/D_)+1}function ar(n,r){const i=n<0?"-":"",l=Math.abs(n).toString().padStart(r,"0");return i+l}const Sd={y(n,r){const i=n.getFullYear(),l=i>0?i:1-i;return ar(r==="yy"?l%100:l,r.length)},M(n,r){const i=n.getMonth();return r==="M"?String(i+1):ar(i+1,2)},d(n,r){return ar(n.getDate(),r.length)},a(n,r){const i=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(n,r){return ar(n.getHours()%12||12,r.length)},H(n,r){return ar(n.getHours(),r.length)},m(n,r){return ar(n.getMinutes(),r.length)},s(n,r){return ar(n.getSeconds(),r.length)},S(n,r){const i=r.length,l=n.getMilliseconds(),c=Math.trunc(l*Math.pow(10,i-3));return ar(c,r.length)}},_h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},F_={G:function(n,r,i){const l=n.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return i.era(l,{width:"abbreviated"});case"GGGGG":return i.era(l,{width:"narrow"});case"GGGG":default:return i.era(l,{width:"wide"})}},y:function(n,r,i){if(r==="yo"){const l=n.getFullYear(),c=l>0?l:1-l;return i.ordinalNumber(c,{unit:"year"})}return Sd.y(n,r)},Y:function(n,r,i,l){const c=T_(n,l),h=c>0?c:1-c;if(r==="YY"){const m=h%100;return ar(m,2)}return r==="Yo"?i.ordinalNumber(h,{unit:"year"}):ar(h,r.length)},R:function(n,r){const i=__(n);return ar(i,r.length)},u:function(n,r){const i=n.getFullYear();return ar(i,r.length)},Q:function(n,r,i){const l=Math.ceil((n.getMonth()+1)/3);switch(r){case"Q":return String(l);case"QQ":return ar(l,2);case"Qo":return i.ordinalNumber(l,{unit:"quarter"});case"QQQ":return i.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(l,{width:"wide",context:"formatting"})}},q:function(n,r,i){const l=Math.ceil((n.getMonth()+1)/3);switch(r){case"q":return String(l);case"qq":return ar(l,2);case"qo":return i.ordinalNumber(l,{unit:"quarter"});case"qqq":return i.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(l,{width:"wide",context:"standalone"})}},M:function(n,r,i){const l=n.getMonth();switch(r){case"M":case"MM":return Sd.M(n,r);case"Mo":return i.ordinalNumber(l+1,{unit:"month"});case"MMM":return i.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(l,{width:"wide",context:"formatting"})}},L:function(n,r,i){const l=n.getMonth();switch(r){case"L":return String(l+1);case"LL":return ar(l+1,2);case"Lo":return i.ordinalNumber(l+1,{unit:"month"});case"LLL":return i.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(l,{width:"wide",context:"standalone"})}},w:function(n,r,i,l){const c=A_(n,l);return r==="wo"?i.ordinalNumber(c,{unit:"week"}):ar(c,r.length)},I:function(n,r,i){const l=ON(n);return r==="Io"?i.ordinalNumber(l,{unit:"week"}):ar(l,r.length)},d:function(n,r,i){return r==="do"?i.ordinalNumber(n.getDate(),{unit:"date"}):Sd.d(n,r)},D:function(n,r,i){const l=NN(n);return r==="Do"?i.ordinalNumber(l,{unit:"dayOfYear"}):ar(l,r.length)},E:function(n,r,i){const l=n.getDay();switch(r){case"E":case"EE":case"EEE":return i.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(l,{width:"short",context:"formatting"});case"EEEE":default:return i.day(l,{width:"wide",context:"formatting"})}},e:function(n,r,i,l){const c=n.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(r){case"e":return String(h);case"ee":return ar(h,2);case"eo":return i.ordinalNumber(h,{unit:"day"});case"eee":return i.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(c,{width:"short",context:"formatting"});case"eeee":default:return i.day(c,{width:"wide",context:"formatting"})}},c:function(n,r,i,l){const c=n.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(r){case"c":return String(h);case"cc":return ar(h,r.length);case"co":return i.ordinalNumber(h,{unit:"day"});case"ccc":return i.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(c,{width:"narrow",context:"standalone"});case"cccccc":return i.day(c,{width:"short",context:"standalone"});case"cccc":default:return i.day(c,{width:"wide",context:"standalone"})}},i:function(n,r,i){const l=n.getDay(),c=l===0?7:l;switch(r){case"i":return String(c);case"ii":return ar(c,r.length);case"io":return i.ordinalNumber(c,{unit:"day"});case"iii":return i.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(l,{width:"short",context:"formatting"});case"iiii":default:return i.day(l,{width:"wide",context:"formatting"})}},a:function(n,r,i){const l=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(n,r,i){const l=n.getHours();let c;switch(l===12?c=_h.noon:l===0?c=_h.midnight:c=l/12>=1?"pm":"am",r){case"b":case"bb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(n,r,i){const l=n.getHours();let c;switch(l>=17?c=_h.evening:l>=12?c=_h.afternoon:l>=4?c=_h.morning:c=_h.night,r){case"B":case"BB":case"BBB":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(n,r,i){if(r==="ho"){let l=n.getHours()%12;return l===0&&(l=12),i.ordinalNumber(l,{unit:"hour"})}return Sd.h(n,r)},H:function(n,r,i){return r==="Ho"?i.ordinalNumber(n.getHours(),{unit:"hour"}):Sd.H(n,r)},K:function(n,r,i){const l=n.getHours()%12;return r==="Ko"?i.ordinalNumber(l,{unit:"hour"}):ar(l,r.length)},k:function(n,r,i){let l=n.getHours();return l===0&&(l=24),r==="ko"?i.ordinalNumber(l,{unit:"hour"}):ar(l,r.length)},m:function(n,r,i){return r==="mo"?i.ordinalNumber(n.getMinutes(),{unit:"minute"}):Sd.m(n,r)},s:function(n,r,i){return r==="so"?i.ordinalNumber(n.getSeconds(),{unit:"second"}):Sd.s(n,r)},S:function(n,r){return Sd.S(n,r)},X:function(n,r,i){const l=n.getTimezoneOffset();if(l===0)return"Z";switch(r){case"X":return P_(l);case"XXXX":case"XX":return Bf(l);case"XXXXX":case"XXX":default:return Bf(l,":")}},x:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"x":return P_(l);case"xxxx":case"xx":return Bf(l);case"xxxxx":case"xxx":default:return Bf(l,":")}},O:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+$_(l,":");case"OOOO":default:return"GMT"+Bf(l,":")}},z:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+$_(l,":");case"zzzz":default:return"GMT"+Bf(l,":")}},t:function(n,r,i){const l=Math.trunc(+n/1e3);return ar(l,r.length)},T:function(n,r,i){return ar(+n,r.length)}};function $_(n,r=""){const i=n>0?"-":"+",l=Math.abs(n),c=Math.trunc(l/60),h=l%60;return h===0?i+String(c):i+String(c)+r+ar(h,2)}function P_(n,r){return n%60===0?(n>0?"-":"+")+ar(Math.abs(n)/60,2):Bf(n,r)}function Bf(n,r=""){const i=n>0?"-":"+",l=Math.abs(n),c=ar(Math.trunc(l/60),2),h=ar(l%60,2);return i+c+r+h}const N_=(n,r)=>{switch(n){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},O_=(n,r)=>{switch(n){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},LN=(n,r)=>{const i=n.match(/(P+)(p+)?/)||[],l=i[1],c=i[2];if(!c)return N_(n,r);let h;switch(l){case"P":h=r.dateTime({width:"short"});break;case"PP":h=r.dateTime({width:"medium"});break;case"PPP":h=r.dateTime({width:"long"});break;case"PPPP":default:h=r.dateTime({width:"full"});break}return h.replace("{{date}}",N_(l,r)).replace("{{time}}",O_(c,r))},BN={p:O_,P:LN},MN=/^D+$/,IN=/^Y+$/,jN=["D","DD","YY","YYYY"];function zN(n){return MN.test(n)}function UN(n){return IN.test(n)}function HN(n,r,i){const l=qN(n,r,i);if(console.warn(l),jN.includes(n))throw new RangeError(l)}function qN(n,r,i){const l=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${r}\`) for formatting ${l} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const VN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,WN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,YN=/^'([^]*?)'?$/,GN=/''/g,KN=/[a-zA-Z]/;function QN(n,r,i){var l,c,h,m;const D=Zy(),C=D.locale??PN,T=D.firstWeekContainsDate??((c=(l=D.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,$=D.weekStartsOn??((m=(h=D.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,N=Di(n,void 0);if(!QP(N))throw new RangeError("Invalid time value");let O=r.match(WN).map(I=>{const G=I[0];if(G==="p"||G==="P"){const Y=BN[G];return Y(I,C.formatLong)}return I}).join("").match(VN).map(I=>{if(I==="''")return{isToken:!1,value:"'"};const G=I[0];if(G==="'")return{isToken:!1,value:XN(I)};if(F_[G])return{isToken:!0,value:I};if(G.match(KN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+G+"`");return{isToken:!1,value:I}});C.localize.preprocessor&&(O=C.localize.preprocessor(N,O));const B={firstWeekContainsDate:T,weekStartsOn:$,locale:C};return O.map(I=>{if(!I.isToken)return I.value;const G=I.value;(UN(G)||zN(G))&&HN(G,r,String(n));const Y=F_[G[0]];return Y(N,G,C.localize,B)}).join("")}function XN(n){const r=n.match(YN);return r?r[1].replace(GN,"'"):n}function JN(n,r){const i=Di(n,void 0).getDay();return i===0?7:i}function ZN(n,r,i){const l=Di(n,void 0);return l.setHours(r),l}const R_={},Pg={};function Ng(n,r){try{const i=(R_[n]||(R_[n]=new Intl.DateTimeFormat("en-GB",{timeZone:n,hour:"numeric",timeZoneName:"longOffset"}).format))(r).split("GMT")[1]||"";return i in Pg?Pg[i]:L_(i,i.split(":"))}catch{if(n in Pg)return Pg[n];const i=n==null?void 0:n.match(e3);return i?L_(n,i.slice(1)):NaN}}const e3=/([+-]\d\d):?(\d\d)?/;function L_(n,r){const i=+r[0],l=+(r[1]||0);return Pg[n]=i>0?i*60+l:i*60-l}let Og=class Oy extends Date{constructor(...r){super(),r.length>1&&typeof r[r.length-1]=="string"&&(this.timeZone=r.pop()),this.internal=new Date,isNaN(Ng(this.timeZone,this))?this.setTime(NaN):r.length?typeof r[0]=="number"&&(r.length===1||r.length===2&&typeof r[1]!="number")?this.setTime(r[0]):typeof r[0]=="string"?this.setTime(+new Date(r[0])):r[0]instanceof Date?this.setTime(+r[0]):(this.setTime(+new Date(...r)),M_(this),d0(this)):this.setTime(Date.now())}static tz(r,...i){return i.length?new Oy(...i,r):new Oy(Date.now(),r)}withTimeZone(r){return new Oy(+this,r)}getTimezoneOffset(){return-Ng(this.timeZone,this)}setTime(r){return Date.prototype.setTime.apply(this,arguments),d0(this),+this}[Symbol.for("constructDateFrom")](r){return new Oy(+new Date(r),this.timeZone)}};const B_=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(n=>{if(!B_.test(n))return;const r=n.replace(B_,"$1UTC");Og.prototype[r]&&(n.startsWith("get")?Og.prototype[n]=function(){return this.internal[r]()}:(Og.prototype[n]=function(){return Date.prototype[r].apply(this.internal,arguments),t3(this),+this},Og.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),d0(this),+this}))});function d0(n){n.internal.setTime(+n),n.internal.setUTCMinutes(n.internal.getUTCMinutes()-n.getTimezoneOffset())}function t3(n){Date.prototype.setFullYear.call(n,n.internal.getUTCFullYear(),n.internal.getUTCMonth(),n.internal.getUTCDate()),Date.prototype.setHours.call(n,n.internal.getUTCHours(),n.internal.getUTCMinutes(),n.internal.getUTCSeconds(),n.internal.getUTCMilliseconds()),M_(n)}function M_(n){const r=Ng(n.timeZone,n),i=new Date(+n);i.setUTCHours(i.getUTCHours()-1);const l=-new Date(+n).getTimezoneOffset(),c=-new Date(+i).getTimezoneOffset(),h=l-c,m=Date.prototype.getHours.apply(n)!==n.internal.getUTCHours();h&&m&&n.internal.setUTCMinutes(n.internal.getUTCMinutes()+h);const D=l-r;D&&Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+D);const C=Ng(n.timeZone,n),T=-new Date(+n).getTimezoneOffset()-C,$=C!==r,N=T-D;if($&&N){Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+N);const O=Ng(n.timeZone,n),B=C-O;B&&(n.internal.setUTCMinutes(n.internal.getUTCMinutes()+B),Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+B))}}let tb=class Ry extends Og{static tz(r,...i){return i.length?new Ry(...i,r):new Ry(Date.now(),r)}toISOString(){const[r,i,l]=this.tzComponents(),c=`${r}${i}:${l}`;return this.internal.toISOString().slice(0,-1)+c}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[r,i,l,c]=this.internal.toUTCString().split(" ");return`${r==null?void 0:r.slice(0,-1)} ${l} ${i} ${c}`}toTimeString(){const r=this.internal.toUTCString().split(" ")[4],[i,l,c]=this.tzComponents();return`${r} GMT${i}${l}${c} (${n3(this.timeZone,this)})`}toLocaleString(r,i){return Date.prototype.toLocaleString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleDateString(r,i){return Date.prototype.toLocaleDateString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleTimeString(r,i){return Date.prototype.toLocaleTimeString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}tzComponents(){const r=this.getTimezoneOffset(),i=r>0?"-":"+",l=String(Math.floor(Math.abs(r)/60)).padStart(2,"0"),c=String(Math.abs(r)%60).padStart(2,"0");return[i,l,c]}withTimeZone(r){return new Ry(+this,r)}[Symbol.for("constructDateFrom")](r){return new Ry(+new Date(r),this.timeZone)}};function n3(n,r){return new Intl.DateTimeFormat("en-GB",{timeZone:n,timeZoneName:"long"}).format(r).slice(12)}window.pktTz=window.pktTz===void 0?"Europe/Oslo":window.pktTz;const qa=n=>n.toISOString().split("T")[0],f0=n=>{if(!n)return null;const r=C_(new tb(n,window.pktTz),12);return isNaN(r.getTime())?null:r},I_=(n,r)=>{const i=Qr(n);return isNaN(i.getTime())?"":QN(i,r)},Qr=(n="",r)=>{const i=n===""||!n?new Date:n;return r?new tb(r==="end"?XP(i):l0(i),window.pktTz):ZN(new tb(i.toString(),window.pktTz),12)},Cd=(n,r,i=1)=>C_(new tb(n,r,i,window.pktTz),12),r3=n=>new Intl.DateTimeFormat("no",{dateStyle:"full",timeZone:window.pktTz}).format(n),j_=n=>{if(Array.isArray(n))return n;if(typeof n=="string")return n.split(",")},a3=n=>n?new Date(n):null,i3=n=>{if(typeof n=="string")return n.split(",").map(r=>new Date(r));if(Array.isArray(n))return n.map(r=>new Date(r))},xh={csvToArray:j_,stringToDate:a3,stringsToDate:i3},o3={earliest:{default:null},latest:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},maxMultiple:{default:4},range:{default:!1}},Mf={props:o3};var s3=Object.defineProperty,l3=Object.getOwnPropertyDescriptor,pr=(n,r,i,l)=>{for(var c=l>1?void 0:l?l3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&s3(r,i,c),c};let ir=class extends Hr{constructor(){super(...arguments),this.multiple=Mf.props.multiple.default,this.maxMultiple=Mf.props.maxMultiple.default,this.range=Mf.props.range.default,this.weeknumbers=Mf.props.weeknumbers.default,this.withcontrols=Mf.props.withcontrols.default,this.selected=[],this.earliest=Mf.props.earliest.default,this.latest=Mf.props.latest.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.dayStrings=this.strings.dates.daysShort,this.dayStringsLong=this.strings.dates.days,this.monthStrings=this.strings.dates.months,this.weekString=this.strings.dates.week,this.prevMonthString=this.strings.dates.prevMonth,this.nextMonthString=this.strings.dates.nextMonth,this._selected=[],this.year=0,this.month=0,this.week=0,this.rangeHovered=null,this.inRange={},this.focusedDate=null,this.selectableDates=[],this.currentmonthtouched=!1,this.tabIndexSet=0}connectedCallback(){super.connectedCallback()}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback()}attributeChangedCallback(n,r,i){n==="selected"&&i&&this.convertSelected(),super.attributeChangedCallback(n,r,i)}updated(n){super.updated(n),n.has("selected")&&this.convertSelected()}firstUpdated(n){this.addEventListener("keydown",this.handleKeydown)}convertSelected(){if(typeof this.selected=="string"&&(this.selected=this.selected.split(",")),this.selected.length===1&&this.selected[0]===""&&(this.selected=[]),this._selected=this.selected.map(n=>Qr(n)),this.range&&this.selected.length===2){const n=u0({start:Qr(this.selected[0]),end:Qr(this.selected[1])});if(this.inRange={},Array.isArray(n)&&n.length){const r={};for(let i=0;i<n.length;i++)r[qa(n[i])]=this.isInRange(n[i]);this.inRange=r}}this.setCurrentMonth()}setCurrentMonth(){if(this.currentmonth===null&&!this.currentmonthtouched){this.currentmonthtouched=!0;return}this.selected.length&&this.selected[0]!==""?this.currentmonth=Qr(this.selected[this.selected.length-1]):this.currentmonth===null&&(this.currentmonth=Qr()),this.year=this.currentmonth.getFullYear(),this.month=this.currentmonth.getMonth()}handleKeydown(n){switch(n.key){case"ArrowLeft":this.handleArrowKey(n,-1);break;case"ArrowRight":this.handleArrowKey(n,1);break;case"ArrowUp":this.handleArrowKey(n,-7);break;case"ArrowDown":this.handleArrowKey(n,7);break}}handleArrowKey(n,r){var i,l,c;if(((i=n.target)==null?void 0:i.nodeName)==="INPUT"||((l=n.target)==null?void 0:l.nodeName)==="SELECT"||((c=n.target)==null?void 0:c.nodeName)==="BUTTON")return;n.preventDefault(),this.focusedDate||this.focusOnCurrentDate();const h=this.focusedDate?Qr(this.focusedDate):Cd(this.year,this.month,1);let m=s0(h,r);if(m){let D=this.querySelector(`div[data-date="${qa(m)}"]`);if(D instanceof HTMLDivElement){if(D.dataset.disabled){m=s0(m,r);let C=this.querySelector(`div[data-date="${qa(m)}"]`);for(;C&&C instanceof HTMLDivElement&&C.dataset.disabled;)m=s0(m,r),C=this.querySelector(`div[data-date="${qa(m)}"]`);D=C}D instanceof HTMLDivElement&&!D.dataset.disabled&&(this.focusedDate=qa(m),D.focus())}}}render(){return be`
|
|
435
|
+
`}};ko([z({type:String})],Gi.prototype,"iconName",2),ko([z({type:String})],Gi.prototype,"secondIconName",2),ko([z({type:String})],Gi.prototype,"mode",2),ko([z({type:String})],Gi.prototype,"size",2),ko([z({type:String})],Gi.prototype,"color",2),ko([z({type:String})],Gi.prototype,"skin",2),ko([z({type:String})],Gi.prototype,"variant",2),ko([z({type:String,reflect:!0})],Gi.prototype,"state",2),ko([z({type:String})],Gi.prototype,"type",2),ko([z({type:String})],Gi.prototype,"form",2),ko([z({type:Boolean,reflect:!0})],Gi.prototype,"isLoading",2),ko([z({type:Boolean,reflect:!0})],Gi.prototype,"disabled",2),ko([z({type:String})],Gi.prototype,"loadingAnimationPath",2),Gi=ko([fr("pkt-button")],Gi);const D_=6048e5,HP=864e5,qP=36e5,S_=Symbol.for("constructDateFrom");function fl(n,r){return typeof n=="function"?n(r):n&&typeof n=="object"&&S_ in n?n[S_](r):n instanceof Date?new n.constructor(r):new Date(r)}function Di(n,r){return fl(r||n,n)}function s0(n,r,i){const l=Di(n,void 0);return isNaN(r)?fl(n,NaN):(r&&l.setDate(l.getDate()+r),l)}function VP(n,r,i){return fl(n,+Di(n)+r)}function C_(n,r,i){return VP(n,r*qP)}let WP={};function Zy(){return WP}function Ag(n,r){var i,l,c,h;const m=Zy(),D=(r==null?void 0:r.weekStartsOn)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??m.weekStartsOn??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,C=Di(n,r==null?void 0:r.in),T=C.getDay(),$=(T<D?7:0)+T-D;return C.setDate(C.getDate()-$),C.setHours(0,0,0,0),C}function eb(n,r){return Ag(n,{...r,weekStartsOn:1})}function __(n,r){const i=Di(n,void 0),l=i.getFullYear(),c=fl(i,0);c.setFullYear(l+1,0,4),c.setHours(0,0,0,0);const h=eb(c),m=fl(i,0);m.setFullYear(l,0,4),m.setHours(0,0,0,0);const D=eb(m);return i.getTime()>=h.getTime()?l+1:i.getTime()>=D.getTime()?l:l-1}function x_(n){const r=Di(n),i=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return i.setUTCFullYear(r.getFullYear()),+n-+i}function E_(n,...r){const i=fl.bind(null,r.find(l=>typeof l=="object"));return r.map(i)}function l0(n,r){const i=Di(n,void 0);return i.setHours(0,0,0,0),i}function YP(n,r,i){const[l,c]=E_(void 0,n,r),h=l0(l),m=l0(c),D=+h-x_(h),C=+m-x_(m);return Math.round((D-C)/HP)}function GP(n,r){const i=__(n),l=fl(n,0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),eb(l)}function KP(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function QP(n){return!(!KP(n)&&typeof n!="number"||isNaN(+Di(n)))}function XP(n,r){const i=Di(n,void 0);return i.setHours(23,59,59,999),i}function JP(n,r){const[i,l]=E_(n,r.start,r.end);return{start:i,end:l}}function u0(n,r){const{start:i,end:l}=JP(void 0,n);let c=+i>+l;const h=c?+i:+l,m=c?l:i;m.setHours(0,0,0,0);let D=1;const C=[];for(;+m<=h;)C.push(fl(i,m)),m.setDate(m.getDate()+D),m.setHours(0,0,0,0);return c?C.reverse():C}function ZP(n,r){const i=Di(n,void 0);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const eN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tN=(n,r,i)=>{let l;const c=eN[n];return typeof c=="string"?l=c:r===1?l=c.one:l=c.other.replace("{{count}}",r.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+l:l+" ago":l};function c0(n){return(r={})=>{const i=r.width?String(r.width):n.defaultWidth;return n.formats[i]||n.formats[n.defaultWidth]}}const nN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iN={date:c0({formats:nN,defaultWidth:"full"}),time:c0({formats:rN,defaultWidth:"full"}),dateTime:c0({formats:aN,defaultWidth:"full"})},oN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},sN=(n,r,i,l)=>oN[n];function Fg(n){return(r,i)=>{const l=i!=null&&i.context?String(i.context):"standalone";let c;if(l==="formatting"&&n.formattingValues){const m=n.defaultFormattingWidth||n.defaultWidth,D=i!=null&&i.width?String(i.width):m;c=n.formattingValues[D]||n.formattingValues[m]}else{const m=n.defaultWidth,D=i!=null&&i.width?String(i.width):n.defaultWidth;c=n.values[D]||n.values[m]}const h=n.argumentCallback?n.argumentCallback(r):r;return c[h]}}const lN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},uN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},cN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},fN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},pN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},hN=(n,r)=>{const i=Number(n),l=i%100;if(l>20||l<10)switch(l%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},mN={ordinalNumber:hN,era:Fg({values:lN,defaultWidth:"wide"}),quarter:Fg({values:uN,defaultWidth:"wide",argumentCallback:n=>n-1}),month:Fg({values:cN,defaultWidth:"wide"}),day:Fg({values:dN,defaultWidth:"wide"}),dayPeriod:Fg({values:fN,defaultWidth:"wide",formattingValues:pN,defaultFormattingWidth:"wide"})};function $g(n){return(r,i={})=>{const l=i.width,c=l&&n.matchPatterns[l]||n.matchPatterns[n.defaultMatchWidth],h=r.match(c);if(!h)return null;const m=h[0],D=l&&n.parsePatterns[l]||n.parsePatterns[n.defaultParseWidth],C=Array.isArray(D)?vN(D,N=>N.test(m)):gN(D,N=>N.test(m));let T;T=n.valueCallback?n.valueCallback(C):C,T=i.valueCallback?i.valueCallback(T):T;const $=r.slice(m.length);return{value:T,rest:$}}}function gN(n,r){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&r(n[i]))return i}function vN(n,r){for(let i=0;i<n.length;i++)if(r(n[i]))return i}function yN(n){return(r,i={})=>{const l=r.match(n.matchPattern);if(!l)return null;const c=l[0],h=r.match(n.parsePattern);if(!h)return null;let m=n.valueCallback?n.valueCallback(h[0]):h[0];m=i.valueCallback?i.valueCallback(m):m;const D=r.slice(c.length);return{value:m,rest:D}}}const bN=/^(\d+)(th|st|nd|rd)?/i,kN=/\d+/i,wN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},DN={any:[/^b/i,/^(a|c)/i]},SN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},CN={any:[/1/i,/2/i,/3/i,/4/i]},_N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},EN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},TN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},AN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},FN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$N={ordinalNumber:yN({matchPattern:bN,parsePattern:kN,valueCallback:n=>parseInt(n,10)}),era:$g({matchPatterns:wN,defaultMatchWidth:"wide",parsePatterns:DN,defaultParseWidth:"any"}),quarter:$g({matchPatterns:SN,defaultMatchWidth:"wide",parsePatterns:CN,defaultParseWidth:"any",valueCallback:n=>n+1}),month:$g({matchPatterns:_N,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"}),day:$g({matchPatterns:EN,defaultMatchWidth:"wide",parsePatterns:TN,defaultParseWidth:"any"}),dayPeriod:$g({matchPatterns:AN,defaultMatchWidth:"any",parsePatterns:FN,defaultParseWidth:"any"})},PN={code:"en-US",formatDistance:tN,formatLong:iN,formatRelative:sN,localize:mN,match:$N,options:{weekStartsOn:0,firstWeekContainsDate:1}};function NN(n,r){const i=Di(n,void 0);return YP(i,ZP(i))+1}function ON(n,r){const i=Di(n,void 0),l=+eb(i)-+GP(i);return Math.round(l/D_)+1}function T_(n,r){var i,l,c,h;const m=Di(n,r==null?void 0:r.in),D=m.getFullYear(),C=Zy(),T=(r==null?void 0:r.firstWeekContainsDate)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??C.firstWeekContainsDate??((h=(c=C.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,$=fl((r==null?void 0:r.in)||n,0);$.setFullYear(D+1,0,T),$.setHours(0,0,0,0);const N=Ag($,r),O=fl((r==null?void 0:r.in)||n,0);O.setFullYear(D,0,T),O.setHours(0,0,0,0);const B=Ag(O,r);return+m>=+N?D+1:+m>=+B?D:D-1}function RN(n,r){var i,l,c,h;const m=Zy(),D=(r==null?void 0:r.firstWeekContainsDate)??((l=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??m.firstWeekContainsDate??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,C=T_(n,r),T=fl((r==null?void 0:r.in)||n,0);return T.setFullYear(C,0,D),T.setHours(0,0,0,0),Ag(T,r)}function A_(n,r){const i=Di(n,r==null?void 0:r.in),l=+Ag(i,r)-+RN(i,r);return Math.round(l/D_)+1}function ar(n,r){const i=n<0?"-":"",l=Math.abs(n).toString().padStart(r,"0");return i+l}const Sd={y(n,r){const i=n.getFullYear(),l=i>0?i:1-i;return ar(r==="yy"?l%100:l,r.length)},M(n,r){const i=n.getMonth();return r==="M"?String(i+1):ar(i+1,2)},d(n,r){return ar(n.getDate(),r.length)},a(n,r){const i=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(n,r){return ar(n.getHours()%12||12,r.length)},H(n,r){return ar(n.getHours(),r.length)},m(n,r){return ar(n.getMinutes(),r.length)},s(n,r){return ar(n.getSeconds(),r.length)},S(n,r){const i=r.length,l=n.getMilliseconds(),c=Math.trunc(l*Math.pow(10,i-3));return ar(c,r.length)}},_h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},F_={G:function(n,r,i){const l=n.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return i.era(l,{width:"abbreviated"});case"GGGGG":return i.era(l,{width:"narrow"});case"GGGG":default:return i.era(l,{width:"wide"})}},y:function(n,r,i){if(r==="yo"){const l=n.getFullYear(),c=l>0?l:1-l;return i.ordinalNumber(c,{unit:"year"})}return Sd.y(n,r)},Y:function(n,r,i,l){const c=T_(n,l),h=c>0?c:1-c;if(r==="YY"){const m=h%100;return ar(m,2)}return r==="Yo"?i.ordinalNumber(h,{unit:"year"}):ar(h,r.length)},R:function(n,r){const i=__(n);return ar(i,r.length)},u:function(n,r){const i=n.getFullYear();return ar(i,r.length)},Q:function(n,r,i){const l=Math.ceil((n.getMonth()+1)/3);switch(r){case"Q":return String(l);case"QQ":return ar(l,2);case"Qo":return i.ordinalNumber(l,{unit:"quarter"});case"QQQ":return i.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(l,{width:"wide",context:"formatting"})}},q:function(n,r,i){const l=Math.ceil((n.getMonth()+1)/3);switch(r){case"q":return String(l);case"qq":return ar(l,2);case"qo":return i.ordinalNumber(l,{unit:"quarter"});case"qqq":return i.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(l,{width:"wide",context:"standalone"})}},M:function(n,r,i){const l=n.getMonth();switch(r){case"M":case"MM":return Sd.M(n,r);case"Mo":return i.ordinalNumber(l+1,{unit:"month"});case"MMM":return i.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(l,{width:"wide",context:"formatting"})}},L:function(n,r,i){const l=n.getMonth();switch(r){case"L":return String(l+1);case"LL":return ar(l+1,2);case"Lo":return i.ordinalNumber(l+1,{unit:"month"});case"LLL":return i.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(l,{width:"wide",context:"standalone"})}},w:function(n,r,i,l){const c=A_(n,l);return r==="wo"?i.ordinalNumber(c,{unit:"week"}):ar(c,r.length)},I:function(n,r,i){const l=ON(n);return r==="Io"?i.ordinalNumber(l,{unit:"week"}):ar(l,r.length)},d:function(n,r,i){return r==="do"?i.ordinalNumber(n.getDate(),{unit:"date"}):Sd.d(n,r)},D:function(n,r,i){const l=NN(n);return r==="Do"?i.ordinalNumber(l,{unit:"dayOfYear"}):ar(l,r.length)},E:function(n,r,i){const l=n.getDay();switch(r){case"E":case"EE":case"EEE":return i.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(l,{width:"short",context:"formatting"});case"EEEE":default:return i.day(l,{width:"wide",context:"formatting"})}},e:function(n,r,i,l){const c=n.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(r){case"e":return String(h);case"ee":return ar(h,2);case"eo":return i.ordinalNumber(h,{unit:"day"});case"eee":return i.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(c,{width:"short",context:"formatting"});case"eeee":default:return i.day(c,{width:"wide",context:"formatting"})}},c:function(n,r,i,l){const c=n.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(r){case"c":return String(h);case"cc":return ar(h,r.length);case"co":return i.ordinalNumber(h,{unit:"day"});case"ccc":return i.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(c,{width:"narrow",context:"standalone"});case"cccccc":return i.day(c,{width:"short",context:"standalone"});case"cccc":default:return i.day(c,{width:"wide",context:"standalone"})}},i:function(n,r,i){const l=n.getDay(),c=l===0?7:l;switch(r){case"i":return String(c);case"ii":return ar(c,r.length);case"io":return i.ordinalNumber(c,{unit:"day"});case"iii":return i.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(l,{width:"short",context:"formatting"});case"iiii":default:return i.day(l,{width:"wide",context:"formatting"})}},a:function(n,r,i){const l=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(n,r,i){const l=n.getHours();let c;switch(l===12?c=_h.noon:l===0?c=_h.midnight:c=l/12>=1?"pm":"am",r){case"b":case"bb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(n,r,i){const l=n.getHours();let c;switch(l>=17?c=_h.evening:l>=12?c=_h.afternoon:l>=4?c=_h.morning:c=_h.night,r){case"B":case"BB":case"BBB":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(n,r,i){if(r==="ho"){let l=n.getHours()%12;return l===0&&(l=12),i.ordinalNumber(l,{unit:"hour"})}return Sd.h(n,r)},H:function(n,r,i){return r==="Ho"?i.ordinalNumber(n.getHours(),{unit:"hour"}):Sd.H(n,r)},K:function(n,r,i){const l=n.getHours()%12;return r==="Ko"?i.ordinalNumber(l,{unit:"hour"}):ar(l,r.length)},k:function(n,r,i){let l=n.getHours();return l===0&&(l=24),r==="ko"?i.ordinalNumber(l,{unit:"hour"}):ar(l,r.length)},m:function(n,r,i){return r==="mo"?i.ordinalNumber(n.getMinutes(),{unit:"minute"}):Sd.m(n,r)},s:function(n,r,i){return r==="so"?i.ordinalNumber(n.getSeconds(),{unit:"second"}):Sd.s(n,r)},S:function(n,r){return Sd.S(n,r)},X:function(n,r,i){const l=n.getTimezoneOffset();if(l===0)return"Z";switch(r){case"X":return P_(l);case"XXXX":case"XX":return Bf(l);case"XXXXX":case"XXX":default:return Bf(l,":")}},x:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"x":return P_(l);case"xxxx":case"xx":return Bf(l);case"xxxxx":case"xxx":default:return Bf(l,":")}},O:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+$_(l,":");case"OOOO":default:return"GMT"+Bf(l,":")}},z:function(n,r,i){const l=n.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+$_(l,":");case"zzzz":default:return"GMT"+Bf(l,":")}},t:function(n,r,i){const l=Math.trunc(+n/1e3);return ar(l,r.length)},T:function(n,r,i){return ar(+n,r.length)}};function $_(n,r=""){const i=n>0?"-":"+",l=Math.abs(n),c=Math.trunc(l/60),h=l%60;return h===0?i+String(c):i+String(c)+r+ar(h,2)}function P_(n,r){return n%60===0?(n>0?"-":"+")+ar(Math.abs(n)/60,2):Bf(n,r)}function Bf(n,r=""){const i=n>0?"-":"+",l=Math.abs(n),c=ar(Math.trunc(l/60),2),h=ar(l%60,2);return i+c+r+h}const N_=(n,r)=>{switch(n){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},O_=(n,r)=>{switch(n){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},LN=(n,r)=>{const i=n.match(/(P+)(p+)?/)||[],l=i[1],c=i[2];if(!c)return N_(n,r);let h;switch(l){case"P":h=r.dateTime({width:"short"});break;case"PP":h=r.dateTime({width:"medium"});break;case"PPP":h=r.dateTime({width:"long"});break;case"PPPP":default:h=r.dateTime({width:"full"});break}return h.replace("{{date}}",N_(l,r)).replace("{{time}}",O_(c,r))},BN={p:O_,P:LN},MN=/^D+$/,IN=/^Y+$/,jN=["D","DD","YY","YYYY"];function zN(n){return MN.test(n)}function UN(n){return IN.test(n)}function HN(n,r,i){const l=qN(n,r,i);if(console.warn(l),jN.includes(n))throw new RangeError(l)}function qN(n,r,i){const l=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${r}\`) for formatting ${l} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const VN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,WN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,YN=/^'([^]*?)'?$/,GN=/''/g,KN=/[a-zA-Z]/;function QN(n,r,i){var l,c,h,m;const D=Zy(),C=D.locale??PN,T=D.firstWeekContainsDate??((c=(l=D.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,$=D.weekStartsOn??((m=(h=D.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,N=Di(n,void 0);if(!QP(N))throw new RangeError("Invalid time value");let O=r.match(WN).map(I=>{const G=I[0];if(G==="p"||G==="P"){const Y=BN[G];return Y(I,C.formatLong)}return I}).join("").match(VN).map(I=>{if(I==="''")return{isToken:!1,value:"'"};const G=I[0];if(G==="'")return{isToken:!1,value:XN(I)};if(F_[G])return{isToken:!0,value:I};if(G.match(KN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+G+"`");return{isToken:!1,value:I}});C.localize.preprocessor&&(O=C.localize.preprocessor(N,O));const B={firstWeekContainsDate:T,weekStartsOn:$,locale:C};return O.map(I=>{if(!I.isToken)return I.value;const G=I.value;(UN(G)||zN(G))&&HN(G,r,String(n));const Y=F_[G[0]];return Y(N,G,C.localize,B)}).join("")}function XN(n){const r=n.match(YN);return r?r[1].replace(GN,"'"):n}function JN(n,r){const i=Di(n,void 0).getDay();return i===0?7:i}function ZN(n,r,i){const l=Di(n,void 0);return l.setHours(r),l}const R_={},Pg={};function Ng(n,r){try{const i=(R_[n]||(R_[n]=new Intl.DateTimeFormat("en-GB",{timeZone:n,hour:"numeric",timeZoneName:"longOffset"}).format))(r).split("GMT")[1]||"";return i in Pg?Pg[i]:L_(i,i.split(":"))}catch{if(n in Pg)return Pg[n];const i=n==null?void 0:n.match(e3);return i?L_(n,i.slice(1)):NaN}}const e3=/([+-]\d\d):?(\d\d)?/;function L_(n,r){const i=+r[0],l=+(r[1]||0);return Pg[n]=i>0?i*60+l:i*60-l}let Og=class Oy extends Date{constructor(...r){super(),r.length>1&&typeof r[r.length-1]=="string"&&(this.timeZone=r.pop()),this.internal=new Date,isNaN(Ng(this.timeZone,this))?this.setTime(NaN):r.length?typeof r[0]=="number"&&(r.length===1||r.length===2&&typeof r[1]!="number")?this.setTime(r[0]):typeof r[0]=="string"?this.setTime(+new Date(r[0])):r[0]instanceof Date?this.setTime(+r[0]):(this.setTime(+new Date(...r)),M_(this),d0(this)):this.setTime(Date.now())}static tz(r,...i){return i.length?new Oy(...i,r):new Oy(Date.now(),r)}withTimeZone(r){return new Oy(+this,r)}getTimezoneOffset(){return-Ng(this.timeZone,this)}setTime(r){return Date.prototype.setTime.apply(this,arguments),d0(this),+this}[Symbol.for("constructDateFrom")](r){return new Oy(+new Date(r),this.timeZone)}};const B_=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(n=>{if(!B_.test(n))return;const r=n.replace(B_,"$1UTC");Og.prototype[r]&&(n.startsWith("get")?Og.prototype[n]=function(){return this.internal[r]()}:(Og.prototype[n]=function(){return Date.prototype[r].apply(this.internal,arguments),t3(this),+this},Og.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),d0(this),+this}))});function d0(n){n.internal.setTime(+n),n.internal.setUTCMinutes(n.internal.getUTCMinutes()-n.getTimezoneOffset())}function t3(n){Date.prototype.setFullYear.call(n,n.internal.getUTCFullYear(),n.internal.getUTCMonth(),n.internal.getUTCDate()),Date.prototype.setHours.call(n,n.internal.getUTCHours(),n.internal.getUTCMinutes(),n.internal.getUTCSeconds(),n.internal.getUTCMilliseconds()),M_(n)}function M_(n){const r=Ng(n.timeZone,n),i=new Date(+n);i.setUTCHours(i.getUTCHours()-1);const l=-new Date(+n).getTimezoneOffset(),c=-new Date(+i).getTimezoneOffset(),h=l-c,m=Date.prototype.getHours.apply(n)!==n.internal.getUTCHours();h&&m&&n.internal.setUTCMinutes(n.internal.getUTCMinutes()+h);const D=l-r;D&&Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+D);const C=Ng(n.timeZone,n),T=-new Date(+n).getTimezoneOffset()-C,$=C!==r,N=T-D;if($&&N){Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+N);const O=Ng(n.timeZone,n),B=C-O;B&&(n.internal.setUTCMinutes(n.internal.getUTCMinutes()+B),Date.prototype.setUTCMinutes.call(n,Date.prototype.getUTCMinutes.call(n)+B))}}let tb=class Ry extends Og{static tz(r,...i){return i.length?new Ry(...i,r):new Ry(Date.now(),r)}toISOString(){const[r,i,l]=this.tzComponents(),c=`${r}${i}:${l}`;return this.internal.toISOString().slice(0,-1)+c}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[r,i,l,c]=this.internal.toUTCString().split(" ");return`${r==null?void 0:r.slice(0,-1)} ${l} ${i} ${c}`}toTimeString(){const r=this.internal.toUTCString().split(" ")[4],[i,l,c]=this.tzComponents();return`${r} GMT${i}${l}${c} (${n3(this.timeZone,this)})`}toLocaleString(r,i){return Date.prototype.toLocaleString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleDateString(r,i){return Date.prototype.toLocaleDateString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleTimeString(r,i){return Date.prototype.toLocaleTimeString.call(this,r,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}tzComponents(){const r=this.getTimezoneOffset(),i=r>0?"-":"+",l=String(Math.floor(Math.abs(r)/60)).padStart(2,"0"),c=String(Math.abs(r)%60).padStart(2,"0");return[i,l,c]}withTimeZone(r){return new Ry(+this,r)}[Symbol.for("constructDateFrom")](r){return new Ry(+new Date(r),this.timeZone)}};function n3(n,r){return new Intl.DateTimeFormat("en-GB",{timeZone:n,timeZoneName:"long"}).format(r).slice(12)}window.pktTz=window.pktTz===void 0?"Europe/Oslo":window.pktTz;const qa=n=>n.toISOString().split("T")[0],f0=n=>{if(!n)return null;const r=C_(new tb(n,window.pktTz),12);return isNaN(r.getTime())?null:r},I_=(n,r)=>{const i=Xr(n);return isNaN(i.getTime())?"":QN(i,r)},Xr=(n="",r)=>{const i=n===""||!n?new Date:n;return r?new tb(r==="end"?XP(i):l0(i),window.pktTz):ZN(new tb(i.toString(),window.pktTz),12)},Cd=(n,r,i=1)=>C_(new tb(n,r,i,window.pktTz),12),r3=n=>new Intl.DateTimeFormat("no",{dateStyle:"full",timeZone:window.pktTz}).format(n),j_=n=>{if(Array.isArray(n))return n;if(typeof n=="string")return n.split(",")},a3=n=>n?new Date(n):null,i3=n=>{if(typeof n=="string")return n.split(",").map(r=>new Date(r));if(Array.isArray(n))return n.map(r=>new Date(r))},xh={csvToArray:j_,stringToDate:a3,stringsToDate:i3},o3={earliest:{default:null},latest:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},maxMultiple:{default:4},range:{default:!1}},Mf={props:o3};var s3=Object.defineProperty,l3=Object.getOwnPropertyDescriptor,pr=(n,r,i,l)=>{for(var c=l>1?void 0:l?l3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&s3(r,i,c),c};let ir=class extends Hr{constructor(){super(...arguments),this.multiple=Mf.props.multiple.default,this.maxMultiple=Mf.props.maxMultiple.default,this.range=Mf.props.range.default,this.weeknumbers=Mf.props.weeknumbers.default,this.withcontrols=Mf.props.withcontrols.default,this.selected=[],this.earliest=Mf.props.earliest.default,this.latest=Mf.props.latest.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.dayStrings=this.strings.dates.daysShort,this.dayStringsLong=this.strings.dates.days,this.monthStrings=this.strings.dates.months,this.weekString=this.strings.dates.week,this.prevMonthString=this.strings.dates.prevMonth,this.nextMonthString=this.strings.dates.nextMonth,this._selected=[],this.year=0,this.month=0,this.week=0,this.rangeHovered=null,this.inRange={},this.focusedDate=null,this.selectableDates=[],this.currentmonthtouched=!1,this.tabIndexSet=0}connectedCallback(){super.connectedCallback()}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback()}attributeChangedCallback(n,r,i){n==="selected"&&i&&this.convertSelected(),super.attributeChangedCallback(n,r,i)}updated(n){super.updated(n),n.has("selected")&&this.convertSelected()}firstUpdated(n){this.addEventListener("keydown",this.handleKeydown)}convertSelected(){if(typeof this.selected=="string"&&(this.selected=this.selected.split(",")),this.selected.length===1&&this.selected[0]===""&&(this.selected=[]),this._selected=this.selected.map(n=>Xr(n)),this.range&&this.selected.length===2){const n=u0({start:Xr(this.selected[0]),end:Xr(this.selected[1])});if(this.inRange={},Array.isArray(n)&&n.length){const r={};for(let i=0;i<n.length;i++)r[qa(n[i])]=this.isInRange(n[i]);this.inRange=r}}this.setCurrentMonth()}setCurrentMonth(){if(this.currentmonth===null&&!this.currentmonthtouched){this.currentmonthtouched=!0;return}this.selected.length&&this.selected[0]!==""?this.currentmonth=Xr(this.selected[this.selected.length-1]):this.currentmonth===null&&(this.currentmonth=Xr()),this.year=this.currentmonth.getFullYear(),this.month=this.currentmonth.getMonth()}handleKeydown(n){switch(n.key){case"ArrowLeft":this.handleArrowKey(n,-1);break;case"ArrowRight":this.handleArrowKey(n,1);break;case"ArrowUp":this.handleArrowKey(n,-7);break;case"ArrowDown":this.handleArrowKey(n,7);break}}handleArrowKey(n,r){var i,l,c;if(((i=n.target)==null?void 0:i.nodeName)==="INPUT"||((l=n.target)==null?void 0:l.nodeName)==="SELECT"||((c=n.target)==null?void 0:c.nodeName)==="BUTTON")return;n.preventDefault(),this.focusedDate||this.focusOnCurrentDate();const h=this.focusedDate?Xr(this.focusedDate):Cd(this.year,this.month,1);let m=s0(h,r);if(m){let D=this.querySelector(`div[data-date="${qa(m)}"]`);if(D instanceof HTMLDivElement){if(D.dataset.disabled){m=s0(m,r);let C=this.querySelector(`div[data-date="${qa(m)}"]`);for(;C&&C instanceof HTMLDivElement&&C.dataset.disabled;)m=s0(m,r),C=this.querySelector(`div[data-date="${qa(m)}"]`);D=C}D instanceof HTMLDivElement&&!D.dataset.disabled&&(this.focusedDate=qa(m),D.focus())}}}render(){return be`
|
|
436
436
|
<div
|
|
437
437
|
class="pkt-calendar ${this.weeknumbers?"pkt-cal-weeknumbers":Ve}"
|
|
438
438
|
@focusout=${this.closeEvent}
|
|
@@ -523,7 +523,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
523
523
|
>
|
|
524
524
|
<span class="pkt-btn__text pkt-txt-14-light">${n}</span>
|
|
525
525
|
</div>
|
|
526
|
-
</td>`}renderCalendarBody(){const n=
|
|
526
|
+
</td>`}renderCalendarBody(){const n=Xr(),r=Cd(this.year,this.month,1),i=Cd(this.year,this.month+1,0),l=(r.getDay()+6)%7,c=i.getDate(),h=Math.ceil((c+l)/7),m=Cd(this.year,this.month,0).getDate();let D=1;this.week=A_(Cd(this.year,this.month,1));const C=[];for(let T=0;T<h;T++){const $=[];this.weeknumbers&&$.push(be`<td class="pkt-cal-week">${this.week}</td>`),this.week++;for(let N=1;N<8;N++)if(T===0&&N<l+1){const O=m-(l-N);$.push(be`<td class="pkt-cal-other">
|
|
527
527
|
<div
|
|
528
528
|
class="pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--label-only"
|
|
529
529
|
data-disabled="disabled"
|
|
@@ -539,7 +539,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
539
539
|
</div>
|
|
540
540
|
</td>`),D++):($.push(this.renderDayView(D,n,N)),D++);C.push(be`<tr class="pkt-cal-week-row" role="row">
|
|
541
541
|
${$}
|
|
542
|
-
</tr>`)}return C}isExcluded(n,r){return this.excludeweekdays.includes(n.toString())||this.earliest&&
|
|
542
|
+
</tr>`)}return C}isExcluded(n,r){return this.excludeweekdays.includes(n.toString())||this.earliest&&Xr(r,"end")<Xr(this.earliest,"start")||this.latest&&Xr(r,"start")>Xr(this.latest,"end")?!0:this.excludedates.some(i=>typeof i=="string"?i===qa(r):i.toDateString()===r.toDateString())}isPrevMonthAllowed(){const n=Cd(this.year,this.month,0);return!(this.earliest&&Xr(this.earliest)>n)}prevMonth(){const n=this.month===0?11:this.month-1,r=this.month===0?this.year-1:this.year;this.changeMonth(r,n)}isNextMonthAllowed(){const n=Cd(this.month===11?this.year+1:this.year,this.month===11?0:this.month+1,1);return!(this.latest&&Xr(this.latest)<n)}nextMonth(){const n=this.month===11?0:this.month+1,r=this.month===11?this.year+1:this.year;this.changeMonth(r,n)}changeMonth(n,r){this.year=typeof n=="string"?parseInt(n):n,this.month=typeof r=="string"?parseInt(r):r,this.tabIndexSet=0,this.focusedDate=null,this.selectableDates=[]}isInRange(n){if(this.range&&this.selected.length===2){if(n>Xr(this.selected[0])&&n<Xr(this.selected[1]))return!0}else if(this.range&&this.selected.length===1&&this.rangeHovered&&n>Xr(this.selected[0])&&n<this.rangeHovered)return!0;return!1}isRangeAllowed(n){let r=!0;if(this._selected.length===1){const i=u0({start:this._selected[0],end:n});if(Array.isArray(i)&&i.length)for(let l=0;l<i.length;l++)this.excludedates.forEach(c=>{c>this._selected[0]&&c<n&&(r=!1)}),this.excludeweekdays.includes(JN(i[l]).toString())&&(r=!1)}return r}emptySelected(){this.selected=[],this._selected=[],this.inRange={}}addToSelected(n){this.selected.includes(qa(n))||(this.selected=[...this.selected,qa(n)],this._selected=[...this._selected,n],this.range&&this.selected.length===2&&this.close())}removeFromSelected(n){if(this.selected.length===1)this.emptySelected();else{const r=this.selected.indexOf(qa(n)),i=[...this.selected],l=[...this._selected];i.splice(r,1),l.splice(r,1),this.selected=i,this._selected=l}}toggleSelected(n){const r=qa(n);this.selected.includes(r)?this.removeFromSelected(n):this.maxMultiple&&this.selected.length>=this.maxMultiple||this.addToSelected(n)}handleRangeSelect(n){const r=qa(n);return this.selected.includes(r)?this.selected.indexOf(r)===0?this.emptySelected():this.removeFromSelected(n):this.selected.length>1?(this.emptySelected(),this.addToSelected(n)):(this.selected.length===1&&!this.isRangeAllowed(n)&&this.emptySelected(),this.selected.length===1&&this._selected[0]>n&&this.emptySelected(),this.addToSelected(n)),Promise.resolve()}handleRangeHover(n){if(this.range&&this._selected.length===1&&this.isRangeAllowed(n)&&this._selected[0]<n){this.rangeHovered=n,this.inRange={};const r=u0({start:this._selected[0],end:n});if(Array.isArray(r)&&r.length)for(let i=0;i<r.length;i++)this.inRange[qa(r[i])]=this.isInRange(r[i])}else this.rangeHovered=null}handleDateSelect(n){if(n)return this.range?this.handleRangeSelect(n):this.multiple?this.toggleSelected(n):(this.selected.includes(qa(n))?this.emptySelected():(this.emptySelected(),this.addToSelected(n)),this.close()),this.dispatchEvent(new CustomEvent("date-selected",{detail:this.selected,bubbles:!0,composed:!0})),Promise.resolve()}focusOnCurrentDate(){const n=qa(Xr()),r=this.querySelector(`div[data-date="${n}"]`);if(r instanceof HTMLDivElement)this.focusedDate=n,r.focus();else{const i=this.selectableDates.find(l=>!l.isDisabled);if(i){const l=this.querySelector(`div[data-date="${i.currentDateISO}"]`);l instanceof HTMLDivElement&&(this.focusedDate=i.currentDateISO,l.focus())}}}closeEvent(n){!this.contains(n.relatedTarget)&&!n.target.classList.contains("pkt-hide")&&this.close()}close(){this.dispatchEvent(new CustomEvent("close",{detail:!0,bubbles:!0,composed:!0}))}};pr([z({type:Boolean})],ir.prototype,"multiple",2),pr([z({type:Number})],ir.prototype,"maxMultiple",2),pr([z({type:Boolean})],ir.prototype,"range",2),pr([z({type:Boolean})],ir.prototype,"weeknumbers",2),pr([z({type:Boolean})],ir.prototype,"withcontrols",2),pr([z({converter:xh.csvToArray})],ir.prototype,"selected",2),pr([z({type:String})],ir.prototype,"earliest",2),pr([z({type:String})],ir.prototype,"latest",2),pr([z({converter:xh.stringsToDate})],ir.prototype,"excludedates",2),pr([z({converter:xh.csvToArray})],ir.prototype,"excludeweekdays",2),pr([z({converter:xh.stringToDate})],ir.prototype,"currentmonth",2),pr([z({type:Array})],ir.prototype,"dayStrings",2),pr([z({type:Array})],ir.prototype,"dayStringsLong",2),pr([z({type:Array})],ir.prototype,"monthStrings",2),pr([z({type:String})],ir.prototype,"weekString",2),pr([z({type:String})],ir.prototype,"prevMonthString",2),pr([z({type:String})],ir.prototype,"nextMonthString",2),pr([z({type:Array})],ir.prototype,"_selected",2),pr([z({type:Number})],ir.prototype,"year",2),pr([z({type:Number})],ir.prototype,"month",2),pr([z({type:Number})],ir.prototype,"week",2),pr([z({type:Date})],ir.prototype,"rangeHovered",2),pr([$n()],ir.prototype,"inRange",2),pr([$n()],ir.prototype,"focusedDate",2),pr([$n()],ir.prototype,"selectableDates",2),pr([$n()],ir.prototype,"currentmonthtouched",2),pr([$n()],ir.prototype,"tabIndexSet",2),ir=pr([fr("pkt-calendar")],ir);const u3={closeTag:{default:!1},size:{default:"medium"},skin:{default:"blue"},type:{default:"button"}},nb={props:u3};var c3=Object.defineProperty,d3=Object.getOwnPropertyDescriptor,cu=(n,r,i,l)=>{for(var c=l>1?void 0:l?d3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&c3(r,i,c),c};let xs=class extends Hr{constructor(){super(),this.defaultSlot=pn(),this.closeTag=nb.props.closeTag.default,this.size=nb.props.size.default,this.skin=nb.props.skin.default,this.textStyle=null,this.iconName=void 0,this.type=nb.props.type.default,this.ariaLabel=null,this._isClosed=!1,this._ariaDescription=null,this.close=r=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:r},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:r},bubbles:!0,composed:!0}))},this.slotController=new _a(this,this.defaultSlot),this._isClosed=!1}firstUpdated(r){var i,l;if(super.firstUpdated(r),this.closeTag&&!this.ariaLabel){const c=(l=(i=this.defaultSlot.value)==null?void 0:i.textContent)==null?void 0:l.trim();c&&(this._ariaDescription=`Klikk for å fjerne ${c}`)}}render(){const r={"pkt-tag":!0,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,[`pkt-tag--${this.textStyle}`]:!!this.textStyle},i={"pkt-tag":!0,"pkt-btn":!0,"pkt-btn--tertiary":!0,[`pkt-tag--${this.textStyle}`]:!!this.textStyle,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,"pkt-btn--icons-right-and-left":this.closeTag&&!!this.iconName,"pkt-hide":this._isClosed};return this.closeTag?be`
|
|
543
543
|
<button
|
|
544
544
|
class=${Bt(i)}
|
|
545
545
|
type=${this.type}
|
|
@@ -814,7 +814,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
814
814
|
role="searchbox"
|
|
815
815
|
/>
|
|
816
816
|
</div>
|
|
817
|
-
`:Ve}handleSearchInput(r){this.searchValue=r.target.value,this.dispatchEvent(new CustomEvent("search",{detail:this.searchValue,bubbles:!1}))}handleSearchKeydown(r){switch(r.key){case"Enter":r.preventDefault();break;case"ArrowUp":case"Escape":this.closeOptions(),r.preventDefault();break;case"ArrowDown":case"Tab":this.focusFirstOrSelectedOption();break}}handleOptionKeydown(r){const i=r.currentTarget,l=i.dataset.value,c=i.dataset.type,h=i.dataset.selected==="true";if(!(!this.getOptionElements().length&&(!this.customUserInput||!this.allowUserInput&&this.customUserInput)&&c!=="new-option"&&c!=="searchbox"))switch(r.key){case" ":case"Enter":this.toggleOption(i),r.preventDefault();break;case"Backspace":l&&(h?this.toggleOption(i):this.closeOptions()),r.preventDefault();break;case"Escape":case"Tab":this.closeOptions();break;case"ArrowDown":r.altKey?this.focusLastOption():c==="searchbox"||c==="new-option"?this.focusFirstOption():this.focusNextOption(i),r.preventDefault();break;case"ArrowUp":if(r.altKey)this.focusFirstOption();else if(i.dataset.index==="0"&&this.includeSearch){const m=this.querySelector('[role="searchbox"]');m&&m.focus()}else if(i.dataset.index==="0"&&this.customUserInput){const m=this.querySelector('[data-type="new-option"]');m&&m.focus()}else this.focusPreviousOption(i);r.preventDefault();break;case"Home":this.focusFirstOption(),r.preventDefault();break;case"End":this.focusLastOption(),r.preventDefault();break;default:(r.metaKey||r.ctrlKey)&&r.key==="a"&&(this.selectAll(),r.preventDefault()),this.isLetterOrSpace(r.key)&&(this.handleTypeAhead(r.key),r.preventDefault());break}}focusAndScrollIntoView(r){r.scrollIntoView({block:"nearest"}),window.setTimeout(()=>r.focus(),0)}focusNextOption(r){const i=r.nextElementSibling;i&&this.focusAndScrollIntoView(i)}focusPreviousOption(r){const i=r.previousElementSibling;if(r.dataset.index==="0"&&this.includeSearch){const l=this.querySelector('[role="searchbox"]');l&&this.focusAndScrollIntoView(l)}else i&&this.focusAndScrollIntoView(i)}focusFirstOption(){const r=this.getOptionElements()[0];r&&this.focusAndScrollIntoView(r)}focusLastOption(){const r=this.getOptionElements().pop();r&&this.focusAndScrollIntoView(r)}focusFirstOrSelectedOption(){if(this.disabled)return;const r=this.getOptionElements().find(i=>i.dataset.selected==="true");if(this.allowUserInput&&this.customUserInput){const i=this.querySelector('[data-type="new-option"]');this.focusAndScrollIntoView(i)}else if(r)this.focusAndScrollIntoView(r);else if(this.includeSearch&&!(document.activeElement instanceof HTMLInputElement)){const i=this.querySelector('[role="searchbox"]');window.setTimeout(()=>i.focus(),0)}else this.focusFirstOption()}toggleOption(r){const i=r instanceof HTMLElement?r.dataset.disabled:r.disabled;if(this.disabled||i)return;const l=r instanceof HTMLElement?r.dataset.value:r.value;this.dispatchEvent(new CustomEvent("option-toggle",{detail:l,bubbles:!1}))}selectAll(){this.dispatchEvent(new CustomEvent("select-all",{bubbles:!1}))}closeOptions(){this.dispatchEvent(new CustomEvent("close-options",{bubbles:!1}))}filterOptions(){this.searchValue?this._filteredOptions=this.options.filter(r=>{var i;return(r.label+r.value).toLowerCase().includes(((i=this.searchValue)==null?void 0:i.toLowerCase())||"")}):this._filteredOptions=[...this.options]}isLetterOrSpace(r){return/^[\p{L} ]$/u.test(r)}handleTypeAhead(r){this.typeAheadString+=r.toLowerCase(),this.typeAheadTimeout&&clearTimeout(this.typeAheadTimeout),this.typeAheadTimeout=window.setTimeout(()=>{this.typeAheadString=""},500);const i=this.getOptionElements().find(l=>{var c;return(c=l.textContent)==null?void 0:c.trim().toLowerCase().startsWith(this.typeAheadString)});i&&this.focusAndScrollIntoView(i)}getOptionElements(){return this._filteredOptions.length?Array.from(this.querySelectorAll('[role="option"]:not([data-disabled])')||[]):[]}};Si([z({type:String})],ai.prototype,"id",2),Si([z({type:String})],ai.prototype,"label",2),Si([z({type:Array})],ai.prototype,"options",2),Si([z({type:Boolean,reflect:!0})],ai.prototype,"isOpen",2),Si([z({type:Boolean})],ai.prototype,"disabled",2),Si([z({type:Boolean})],ai.prototype,"includeSearch",2),Si([z({type:Boolean})],ai.prototype,"isMultiSelect",2),Si([z({type:Boolean})],ai.prototype,"allowUserInput",2),Si([z({type:Boolean})],ai.prototype,"maxIsReached",2),Si([z({type:String})],ai.prototype,"customUserInput",2),Si([z({type:String})],ai.prototype,"searchPlaceholder",2),Si([z({type:String})],ai.prototype,"searchValue",2),Si([z({type:Number})],ai.prototype,"maxLength",2),Si([z({type:String})],ai.prototype,"userMessage",2),Si([$n()],ai.prototype,"_filteredOptions",2),ai=Si([fr("pkt-listbox")],ai);const S3={displayValueAs:{default:"label"}},C3={props:S3};var _3=Object.defineProperty,x3=Object.getOwnPropertyDescriptor,
|
|
817
|
+
`:Ve}handleSearchInput(r){this.searchValue=r.target.value,this.dispatchEvent(new CustomEvent("search",{detail:this.searchValue,bubbles:!1}))}handleSearchKeydown(r){switch(r.key){case"Enter":r.preventDefault();break;case"ArrowUp":case"Escape":this.closeOptions(),r.preventDefault();break;case"ArrowDown":case"Tab":this.focusFirstOrSelectedOption();break}}handleOptionKeydown(r){const i=r.currentTarget,l=i.dataset.value,c=i.dataset.type,h=i.dataset.selected==="true";if(!(!this.getOptionElements().length&&(!this.customUserInput||!this.allowUserInput&&this.customUserInput)&&c!=="new-option"&&c!=="searchbox"))switch(r.key){case" ":case"Enter":this.toggleOption(i),r.preventDefault();break;case"Backspace":l&&(h?this.toggleOption(i):this.closeOptions()),r.preventDefault();break;case"Escape":case"Tab":this.closeOptions();break;case"ArrowDown":r.altKey?this.focusLastOption():c==="searchbox"||c==="new-option"?this.focusFirstOption():this.focusNextOption(i),r.preventDefault();break;case"ArrowUp":if(r.altKey)this.focusFirstOption();else if(i.dataset.index==="0"&&this.includeSearch){const m=this.querySelector('[role="searchbox"]');m&&m.focus()}else if(i.dataset.index==="0"&&this.customUserInput){const m=this.querySelector('[data-type="new-option"]');m&&m.focus()}else this.focusPreviousOption(i);r.preventDefault();break;case"Home":this.focusFirstOption(),r.preventDefault();break;case"End":this.focusLastOption(),r.preventDefault();break;default:(r.metaKey||r.ctrlKey)&&r.key==="a"&&(this.selectAll(),r.preventDefault()),this.isLetterOrSpace(r.key)&&(this.handleTypeAhead(r.key),r.preventDefault());break}}focusAndScrollIntoView(r){r.scrollIntoView({block:"nearest"}),window.setTimeout(()=>r.focus(),0)}focusNextOption(r){const i=r.nextElementSibling;i&&this.focusAndScrollIntoView(i)}focusPreviousOption(r){const i=r.previousElementSibling;if(r.dataset.index==="0"&&this.includeSearch){const l=this.querySelector('[role="searchbox"]');l&&this.focusAndScrollIntoView(l)}else i&&this.focusAndScrollIntoView(i)}focusFirstOption(){const r=this.getOptionElements()[0];r&&this.focusAndScrollIntoView(r)}focusLastOption(){const r=this.getOptionElements().pop();r&&this.focusAndScrollIntoView(r)}focusFirstOrSelectedOption(){if(this.disabled)return;const r=this.getOptionElements().find(i=>i.dataset.selected==="true");if(this.allowUserInput&&this.customUserInput){const i=this.querySelector('[data-type="new-option"]');this.focusAndScrollIntoView(i)}else if(r)this.focusAndScrollIntoView(r);else if(this.includeSearch&&!(document.activeElement instanceof HTMLInputElement)){const i=this.querySelector('[role="searchbox"]');window.setTimeout(()=>i.focus(),0)}else this.focusFirstOption()}toggleOption(r){const i=r instanceof HTMLElement?r.dataset.disabled:r.disabled;if(this.disabled||i)return;const l=r instanceof HTMLElement?r.dataset.value:r.value;this.dispatchEvent(new CustomEvent("option-toggle",{detail:l,bubbles:!1}))}selectAll(){this.dispatchEvent(new CustomEvent("select-all",{bubbles:!1}))}closeOptions(){this.dispatchEvent(new CustomEvent("close-options",{bubbles:!1}))}filterOptions(){this.searchValue?this._filteredOptions=this.options.filter(r=>{var i;return(r.label+r.value).toLowerCase().includes(((i=this.searchValue)==null?void 0:i.toLowerCase())||"")}):this._filteredOptions=[...this.options]}isLetterOrSpace(r){return/^[\p{L} ]$/u.test(r)}handleTypeAhead(r){this.typeAheadString+=r.toLowerCase(),this.typeAheadTimeout&&clearTimeout(this.typeAheadTimeout),this.typeAheadTimeout=window.setTimeout(()=>{this.typeAheadString=""},500);const i=this.getOptionElements().find(l=>{var c;return(c=l.textContent)==null?void 0:c.trim().toLowerCase().startsWith(this.typeAheadString)});i&&this.focusAndScrollIntoView(i)}getOptionElements(){return this._filteredOptions.length?Array.from(this.querySelectorAll('[role="option"]:not([data-disabled])')||[]):[]}};Si([z({type:String})],ai.prototype,"id",2),Si([z({type:String})],ai.prototype,"label",2),Si([z({type:Array})],ai.prototype,"options",2),Si([z({type:Boolean,reflect:!0})],ai.prototype,"isOpen",2),Si([z({type:Boolean})],ai.prototype,"disabled",2),Si([z({type:Boolean})],ai.prototype,"includeSearch",2),Si([z({type:Boolean})],ai.prototype,"isMultiSelect",2),Si([z({type:Boolean})],ai.prototype,"allowUserInput",2),Si([z({type:Boolean})],ai.prototype,"maxIsReached",2),Si([z({type:String})],ai.prototype,"customUserInput",2),Si([z({type:String})],ai.prototype,"searchPlaceholder",2),Si([z({type:String})],ai.prototype,"searchValue",2),Si([z({type:Number})],ai.prototype,"maxLength",2),Si([z({type:String})],ai.prototype,"userMessage",2),Si([$n()],ai.prototype,"_filteredOptions",2),ai=Si([fr("pkt-listbox")],ai);const S3={displayValueAs:{default:"label"}},C3={props:S3};var _3=Object.defineProperty,x3=Object.getOwnPropertyDescriptor,ia=(n,r,i,l)=>{for(var c=l>1?void 0:l?x3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&_3(r,i,c),c};let qr=class extends dn{constructor(){super(),this.helptextSlot=pn(),this.value="",this.options=[],this.defaultOptions=[],this.allowUserInput=!1,this.typeahead=!1,this.includeSearch=!1,this.searchPlaceholder="",this.multiple=!1,this.maxlength=null,this.displayValueAs=C3.props.displayValueAs.default,this.tagPlacement=null,this._options=[],this._isOptionsOpen=!1,this._value=[],this._userInfoMessage="",this._addValueText=null,this._maxIsReached=!1,this._search="",this._inputFocus=!1,this._editingSingleValue=!1,this.inputRef=pn(),this.arrowRef=pn(),this.listboxRef=pn(),this.focusRef=pn(),this.optionTagRef=pn(),this.optionsController=new H_(this),this.slotController=new _a(this,this.helptextSlot),this.slotController.skipOptions=!0}connectedCallback(){var r;if(super.connectedCallback(),document&&document.body.addEventListener("click",i=>{this._isOptionsOpen&&!this.contains(i.target)&&this.handleFocusOut(i)}),this._options=[],this.defaultOptions&&this.defaultOptions.length){const i=((r=this.options)==null?void 0:r.filter(l=>l.userAdded))||[];this.options=[...i,...structuredClone(this.defaultOptions)],this._options=[...this.options]}if(this.optionsController.nodes.length){const i=[];this.optionsController.nodes.forEach(l=>{if(!l.textContent&&!l.getAttribute("value"))return null;const c={value:l.getAttribute("value")||l.textContent||"",label:l.textContent||l.getAttribute("value")||""};l.getAttribute("data-prefix")&&(c.prefix=l.getAttribute("data-prefix")||void 0),l.getAttribute("tagskincolor")&&(c.tagSkinColor=l.getAttribute("tagskincolor")),l.getAttribute("description")&&(c.description=l.getAttribute("description")||void 0),c.fulltext=c.value+c.label+(c.prefix||""),i.push(c)}),i.length&&(this.options=[...i],this._options=[...i])}}updated(r){var i;if(r.has("_value")&&this.valueChanged(this._value,r.get("_value")),r.has("value")&&(this._value=Array.isArray(this.value)?this.value:this.value?this.value.split(","):[],!this.multiple&&this._value.length>1&&(this._value=[this._value[0]]),this.isMaxItemsReached()),r.has("defaultOptions")&&this.defaultOptions.length){const l=((i=this.options)==null?void 0:i.filter(c=>c.userAdded))||[];this.options=[...l,...structuredClone(this.defaultOptions)],this._options=[...this.options]}if(r.has("options")&&this.options.length){const l=this._options.filter(c=>c.userAdded).filter(c=>!this.options.some(h=>h.value===c.value));this._options=[...l,...this.options],this._options.forEach(c=>{if(c.value&&!c.label&&(c.label=c.value),c.selected&&!this._value.includes(c.value)){const h=[...this._value];this._value=[...this._value,c.value],this.valueChanged(this._value,h)}c.fulltext=c.value+c.label+(c.prefix||""),c.selected=c.selected||this._value.includes(c.value)})}r.has("_search")&&this.dispatchEvent(new CustomEvent("search",{detail:this._search,bubbles:!1})),super.updated(r)}attributeChangedCallback(r,i,l){r==="value"&&(this._value=Array.isArray(this.value)?this.value:this.value?this.value.split(","):[],!this.multiple&&this._value.length>1&&(this._value=[this._value[0]])),r==="options"&&(this._options=this.options,this._options.forEach(c=>{c.value&&!c.label&&(c.label=c.value),c.selected&&!this._value.includes(c.value)&&(this._value=[...this._value,c.value]),c.fulltext=c.value+c.label+(c.prefix||"")}),this._search=""),super.attributeChangedCallback(r,i,l)}render(){return be`
|
|
818
818
|
<pkt-input-wrapper
|
|
819
819
|
.label=${this.label}
|
|
820
820
|
.helptext=${this.helptext}
|
|
@@ -928,7 +928,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
928
928
|
>
|
|
929
929
|
${this.renderValueTag(m)}
|
|
930
930
|
</pkt-tag>
|
|
931
|
-
`});return r?i:l}renderValueTag(r){if(!r)return"";switch(this.displayValueAs){case"prefixAndValue":return be`<span data-focusfix=${this.id}>${r.prefix||""} ${r.value}</span>`;case"value":return be`<span data-focusfix=${this.id}>${r.value}</span>`;case"label":default:return be`<span data-focusfix=${this.id}>${r.label||r.value}</span>`}}handleInput(r){if(r.stopPropagation(),r.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=r.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var c;return(c=l.fulltext)==null?void 0:c.toLowerCase().includes(this._search.toLowerCase())}),r.inputType!=="deleteContentBackward"){const l=this._options.filter(c=>{var h;return!c.selected&&((h=c.label)==null?void 0:h.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const c=l[0];c!=null&&c.label&&(i.value=c.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const r=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&r!=null&&r.label?r.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(r){var i,l,c,h,m;if(!this.disabled&&((l=(i=r.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((h=(c=r.relatedTarget)==null?void 0:c.closest("pkt-combobox"))==null?void 0:h.id)!==this.id&&((m=r.target)==null?void 0:m.getAttribute("data-focusfix"))!==this.id&&r.relatedTarget!==this.focusRef.value&&r.relatedTarget!==this.inputRef.value&&r.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value,C=this.findValueInOptions(D);!this._value.includes(D)&&!C?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):C&&!this._value.includes(C.value)&&this.setSelected(C.value),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(r){var i,l;this.disabled||(r.currentTarget&&r.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(r))}handleArrowClick(r){var i,l;this.disabled||r instanceof KeyboardEvent&&r.key&&r.key!=="Enter"&&r.key!==" "&&r.key!=="ArrowDown"||(r.stopImmediatePropagation(),r.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(r){this.toggleValue(r.detail)}handleSearch(r){r.stopPropagation(),this._search=r.detail.toLowerCase()}handleInputKeydown(r){var i,l,c;switch(r.key){case",":case"Enter":r.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(r);break;case"Tab":case"ArrowDown":r.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),r.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(c=this.arrowRef.value)==null||c.focus(),r.preventDefault();break}}handleTagRemove(r){this.removeSelected(r)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var r;const i=((r=this.inputRef.value)==null?void 0:r.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const c=this._value.find(D=>D.toLowerCase()===l),h=this._options.filter(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase().includes(l))??!1}),m=h.find(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((h.length===0||!m)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(h.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!c:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case h.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(r){return this.options.find(i=>i.value===r||i.label===r)||null}findIndexInOptions(r){return this._options.findIndex(i=>i.value===r||i.label===r)}isMaxItemsReached(){const r=this.maxlength!==null&&this._value.length>=this.maxlength;return r?this._maxIsReached=!0:this._maxIsReached=!1,r}toggleValue(r){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const c=((i=this.findValueInOptions(r))==null?void 0:i.value)||null,h=this._value.includes(r||c||""),m=!!c,D=((l=this._options.find(Y=>Y.value===r))==null?void 0:l.disabled)||!1,C=!(r!=null&&r.trim()),T=!this.multiple,$=this.multiple,N=this.isMaxItemsReached();let O=!1,B=!0,I="",G="";D||(!m&&this.allowUserInput&&!C?(this.addNewUserValue(r),I="Ny verdi lagt til",O=!$):!m&&!this.allowUserInput?(T&&this._value[0]&&this.removeValue(this._value[0]),B=!1,O=!0,I="Ingen treff i søket"):h?(this.removeValue(c),O=!0):C&&T?(this.removeAllSelected(),O=!0):T?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(c),O=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):$&&!N?(this.setSelected(c),O=!0):$&&N?(this._userInfoMessage="Maks antall valg nådd",B=!1,G=r):(T&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",B=!1,O=!0,G=r),this._isOptionsOpen=O,O||window.setTimeout(()=>{var Y;(Y=this.focusRef.value)==null||Y.focus()},0),this._userInfoMessage=I,this._search=G||"",this.resetComboboxInput(B),$&&this.isMaxItemsReached())}setSelected(r){if(!this._value.includes(r)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=r?[...this._value,r]:this._value,this._options=this._options.map(i=>(i.value===r&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(r){if(!r)return;this._value=this._value.filter(l=>l!==r);const i=this.findValueInOptions(r);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==r)],this.options=[...this.options.filter(l=>l.value!==r)]):this._options=[...this._options,i]):!r&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(r=>r.value),this._options=this._options.map(r=>(r.selected=!0,r)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(r=>(r.selected=!1,r)),this._options=this._options.filter(r=>!r.userAdded),this.requestUpdate()}addValue(){var r;const i=((r=this.inputRef.value)==null?void 0:r.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(r){this._value=this.multiple?this._value.filter(i=>i!==r):[],this.removeSelected(r)}addNewUserValue(r){if(!r||r.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[r],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(r)){if(this.isMaxItemsReached())return;this._value=[...this._value,r]}const i={value:r,label:r,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(r),this.requestUpdate()}resetComboboxInput(r=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&r)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(r){if(this._value.length===0)return;r.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};pa([z({type:String,reflect:!0})],Xr.prototype,"value",2),pa([z({type:Array})],Xr.prototype,"options",2),pa([z({type:Boolean})],Xr.prototype,"allowUserInput",2),pa([z({type:Boolean})],Xr.prototype,"typeahead",2),pa([z({type:Boolean})],Xr.prototype,"includeSearch",2),pa([z({type:String})],Xr.prototype,"searchPlaceholder",2),pa([z({type:Boolean})],Xr.prototype,"multiple",2),pa([z({type:Number})],Xr.prototype,"maxlength",2),pa([z({type:String})],Xr.prototype,"displayValueAs",2),pa([z({type:String})],Xr.prototype,"tagPlacement",2),pa([$n()],Xr.prototype,"_options",2),pa([$n()],Xr.prototype,"_isOptionsOpen",2),pa([$n()],Xr.prototype,"_value",2),pa([$n()],Xr.prototype,"_userInfoMessage",2),pa([$n()],Xr.prototype,"_addValueText",2),pa([$n()],Xr.prototype,"_maxIsReached",2),pa([$n()],Xr.prototype,"_search",2),pa([$n()],Xr.prototype,"_inputFocus",2),pa([$n()],Xr.prototype,"_editingSingleValue",2),Xr=pa([fr("pkt-combobox")],Xr);const E3={i18n:{nb:{contentPresentation:{title:"Oslo kommune bruker informasjonskapsler",description:["For at nettstedet skal fungere og være trygt, bruker Oslo kommune informasjonskapsler. Noen er teknisk nødvendige, mens andre sikrer ulik funksjonalitet.","Godtar du alle informasjonskapsler, tillater du også at vi samler inn data om statistikk og brukeradferd. Da hjelper du oss med å lage et bedre nettsted uten at du trenger å dele noe personlig informasjon med oss."],buttons:{accept:"Godta alle",reject:"Kun nødvendige",settings:"Innstillinger for informasjonskapsler"}},contentSettings:{title:"Innstillinger for informasjonskapsler",description:["Her kan du velge hvilke typer informasjonskapsler du vil tillate. Tillatelsen gjelder i 90 dager. Husk at nødvendige informasjonskapsler ikke kan velges bort.","Du kan når som helst endre innstillingene og finne mer informasjon nederst på nettstedet under «Innstillinger for informasjonskapsler» og «Personvern og informasjonskapsler»."],buttons:{back:"Tilbake",save:"Lagre innstillinger"}}},en:{contentPresentation:{title:"Before you visit Oslo kommune ...",description:["This website uses cookies to make improvements. In this context, we need your consent to measure the traffic on the website in relation to statistics and feedback.","To read more about what we use cookies for, go to our privacy declaration which you will find at the bottom of our websites."],buttons:{accept:"Yes, I accept",reject:"Only necessary",settings:"Go to settings"}},contentSettings:{title:"Her kan du aktivt velge mellom ulike informasjonskapsler",description:["For å lese mer om hva vi bruker informasjonskapsler til gå til vår personvernserklering som du finner på våre nettsider"],buttons:{back:"Back",save:"Save settings"}}}}},q_=globalThis,V_=q_.__cookieEvents||{events:{},on(n,r){this.events[n]||(this.events[n]=[]),this.events[n].push(r)},off(n,r){this.events[n]&&(this.events[n]=this.events[n].filter(i=>i!==r))},once(n,r){const i=l=>{this.off(n,i),r(l)};this.on(n,i)},emit(n,r){this.events[n]&&this.events[n].forEach(i=>i(r))}};q_.__cookieEvents=V_;const T3=V_;var A3=Object.defineProperty,F3=Object.getOwnPropertyDescriptor,Th=(n,r,i,l)=>{for(var c=l>1?void 0:l?F3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&A3(r,i,c),c};let xd=class extends Hr{constructor(){super(),this.hotjarId=null,this.googleAnalyticsId=null,this.triggerType="button",this.triggerText=null,this.i18nLanguage="nb"}connectedCallback(){super.connectedCallback(),this.triggerText=this.triggerText||E3.i18n[this.i18nLanguage].contentPresentation.buttons.settings,this.googleAnalyticsId&&(window.googleAnalyticsId=this.googleAnalyticsId),this.hotjarId&&(window.hotjarId=this.hotjarId),T3.on("CookieManager.setCookie",r=>{this.emitCookieConsents(r)})}returnJsonOrObject(r){let i;try{i=JSON.parse(r)}catch{i=r}return i}emitCookieConsents(r){const i=this.returnJsonOrObject(r.value).items.reduce((l,c)=>(l[c.name]=c.consent,l),{});this.dispatchEvent(new CustomEvent("toggle-consent",{detail:i,bubbles:!0,composed:!0}))}firstUpdated(r){if(!document.querySelector("#oslo-consent-script")&&window.location.hostname.toLowerCase().includes("oslo.kommune.no")){window.googleAnalyticsId=this.googleAnalyticsId,window.hotjarId=this.hotjarId;const i=document.createElement("script");i.src="https://cdn.web.oslo.kommune.no/cb/cb-v1.0.0.js",i.id="oslo-consent-script",i.onload=()=>{this.triggerInit()},document.head.appendChild(i);const l=document.createElement("link");l.href="https://cdn.web.oslo.kommune.no/cb/cb-v1.0.0.css",l.type="text/css",l.rel="stylesheet",l.id="oslo-consent-styles",document.head.appendChild(l)}}triggerInit(){window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0})),window.cookieBanner.cookieConsent.validateConsentCookie().then(r=>{if(r){const i={value:window.cookieBanner.cookieConsent.getConsentCookie()};this.emitCookieConsents(i)}})}openModal(r){r.preventDefault(),window.cookieBanner.cookieConsent||this.triggerInit(),setTimeout(()=>window.cookieBanner.openCookieModal())}render(){return this.triggerType==="link"?be`<a href="#" class="pkt-link" @click=${this.openModal}>${this.triggerText}</a>`:this.triggerType==="footerlink"?be`<a href="#" class="pkt-footer__link" @click=${this.openModal}>
|
|
931
|
+
`});return r?i:l}renderValueTag(r){if(!r)return"";switch(this.displayValueAs){case"prefixAndValue":return be`<span data-focusfix=${this.id}>${r.prefix||""} ${r.value}</span>`;case"value":return be`<span data-focusfix=${this.id}>${r.value}</span>`;case"label":default:return be`<span data-focusfix=${this.id}>${r.label||r.value}</span>`}}handleInput(r){if(r.stopPropagation(),r.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=r.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var c;return(c=l.fulltext)==null?void 0:c.toLowerCase().includes(this._search.toLowerCase())}),r.inputType!=="deleteContentBackward"){const l=this._options.filter(c=>{var h;return!c.selected&&((h=c.label)==null?void 0:h.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const c=l[0];c!=null&&c.label&&(i.value=c.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const r=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&r!=null&&r.label?r.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(r){var i,l,c,h,m;if(!this.disabled&&((l=(i=r.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((h=(c=r.relatedTarget)==null?void 0:c.closest("pkt-combobox"))==null?void 0:h.id)!==this.id&&((m=r.target)==null?void 0:m.getAttribute("data-focusfix"))!==this.id&&r.relatedTarget!==this.focusRef.value&&r.relatedTarget!==this.inputRef.value&&r.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value,C=this.findValueInOptions(D);!this._value.includes(D)&&!C?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):C&&!this._value.includes(C.value)&&this.setSelected(C.value),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(r){var i,l;this.disabled||(r.currentTarget&&r.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(r))}handleArrowClick(r){var i,l;this.disabled||r instanceof KeyboardEvent&&r.key&&r.key!=="Enter"&&r.key!==" "&&r.key!=="ArrowDown"||(r.stopImmediatePropagation(),r.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(r){this.toggleValue(r.detail)}handleSearch(r){r.stopPropagation(),this._search=r.detail.toLowerCase()}handleInputKeydown(r){var i,l,c;switch(r.key){case",":case"Enter":r.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(r);break;case"Tab":case"ArrowDown":r.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),r.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(c=this.arrowRef.value)==null||c.focus(),r.preventDefault();break}}handleTagRemove(r){this.removeSelected(r)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var r;const i=((r=this.inputRef.value)==null?void 0:r.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const c=this._value.find(D=>D.toLowerCase()===l),h=this._options.filter(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase().includes(l))??!1}),m=h.find(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((h.length===0||!m)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(h.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!c:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case h.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(r){return this.options.find(i=>i.value===r||i.label===r)||null}findIndexInOptions(r){return this._options.findIndex(i=>i.value===r||i.label===r)}isMaxItemsReached(){const r=this.maxlength!==null&&this._value.length>=this.maxlength;return r?this._maxIsReached=!0:this._maxIsReached=!1,r}toggleValue(r){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const c=((i=this.findValueInOptions(r))==null?void 0:i.value)||null,h=this._value.includes(r||c||""),m=!!c,D=((l=this._options.find(Y=>Y.value===r))==null?void 0:l.disabled)||!1,C=!(r!=null&&r.trim()),T=!this.multiple,$=this.multiple,N=this.isMaxItemsReached();let O=!1,B=!0,I="",G="";D||(!m&&this.allowUserInput&&!C?(this.addNewUserValue(r),I="Ny verdi lagt til",O=!$):!m&&!this.allowUserInput?(T&&this._value[0]&&this.removeValue(this._value[0]),B=!1,O=!0,I="Ingen treff i søket"):h?(this.removeValue(c),O=!0):C&&T?(this.removeAllSelected(),O=!0):T?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(c),O=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):$&&!N?(this.setSelected(c),O=!0):$&&N?(this._userInfoMessage="Maks antall valg nådd",B=!1,G=r):(T&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",B=!1,O=!0,G=r),this._isOptionsOpen=O,O||window.setTimeout(()=>{var Y;(Y=this.focusRef.value)==null||Y.focus()},0),this._userInfoMessage=I,this._search=G||"",this.resetComboboxInput(B),$&&this.isMaxItemsReached())}setSelected(r){if(!this._value.includes(r)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=r?[...this._value,r]:this._value,this._options=this._options.map(i=>(i.value===r&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(r){if(!r)return;this._value=this._value.filter(l=>l!==r);const i=this.findValueInOptions(r);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==r)],this.options=[...this.options.filter(l=>l.value!==r)]):this._options=[...this._options,i]):!r&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(r=>r.value),this._options=this._options.map(r=>(r.selected=!0,r)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(r=>(r.selected=!1,r)),this._options=this._options.filter(r=>!r.userAdded),this.requestUpdate()}addValue(){var r;const i=((r=this.inputRef.value)==null?void 0:r.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(r){this._value=this.multiple?this._value.filter(i=>i!==r):[],this.removeSelected(r)}addNewUserValue(r){if(!r||r.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[r],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(r)){if(this.isMaxItemsReached())return;this._value=[...this._value,r]}const i={value:r,label:r,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(r),this.requestUpdate()}resetComboboxInput(r=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&r)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(r){if(this._value.length===0)return;r.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};ia([z({type:String,reflect:!0})],qr.prototype,"value",2),ia([z({type:Array})],qr.prototype,"options",2),ia([z({type:Array})],qr.prototype,"defaultOptions",2),ia([z({type:Boolean})],qr.prototype,"allowUserInput",2),ia([z({type:Boolean})],qr.prototype,"typeahead",2),ia([z({type:Boolean})],qr.prototype,"includeSearch",2),ia([z({type:String})],qr.prototype,"searchPlaceholder",2),ia([z({type:Boolean})],qr.prototype,"multiple",2),ia([z({type:Number})],qr.prototype,"maxlength",2),ia([z({type:String})],qr.prototype,"displayValueAs",2),ia([z({type:String})],qr.prototype,"tagPlacement",2),ia([$n()],qr.prototype,"_options",2),ia([$n()],qr.prototype,"_isOptionsOpen",2),ia([$n()],qr.prototype,"_value",2),ia([$n()],qr.prototype,"_userInfoMessage",2),ia([$n()],qr.prototype,"_addValueText",2),ia([$n()],qr.prototype,"_maxIsReached",2),ia([$n()],qr.prototype,"_search",2),ia([$n()],qr.prototype,"_inputFocus",2),ia([$n()],qr.prototype,"_editingSingleValue",2),qr=ia([fr("pkt-combobox")],qr);const E3={i18n:{nb:{contentPresentation:{title:"Oslo kommune bruker informasjonskapsler",description:["For at nettstedet skal fungere og være trygt, bruker Oslo kommune informasjonskapsler. Noen er teknisk nødvendige, mens andre sikrer ulik funksjonalitet.","Godtar du alle informasjonskapsler, tillater du også at vi samler inn data om statistikk og brukeradferd. Da hjelper du oss med å lage et bedre nettsted uten at du trenger å dele noe personlig informasjon med oss."],buttons:{accept:"Godta alle",reject:"Kun nødvendige",settings:"Innstillinger for informasjonskapsler"}},contentSettings:{title:"Innstillinger for informasjonskapsler",description:["Her kan du velge hvilke typer informasjonskapsler du vil tillate. Tillatelsen gjelder i 90 dager. Husk at nødvendige informasjonskapsler ikke kan velges bort.","Du kan når som helst endre innstillingene og finne mer informasjon nederst på nettstedet under «Innstillinger for informasjonskapsler» og «Personvern og informasjonskapsler»."],buttons:{back:"Tilbake",save:"Lagre innstillinger"}}},en:{contentPresentation:{title:"Before you visit Oslo kommune ...",description:["This website uses cookies to make improvements. In this context, we need your consent to measure the traffic on the website in relation to statistics and feedback.","To read more about what we use cookies for, go to our privacy declaration which you will find at the bottom of our websites."],buttons:{accept:"Yes, I accept",reject:"Only necessary",settings:"Go to settings"}},contentSettings:{title:"Her kan du aktivt velge mellom ulike informasjonskapsler",description:["For å lese mer om hva vi bruker informasjonskapsler til gå til vår personvernserklering som du finner på våre nettsider"],buttons:{back:"Back",save:"Save settings"}}}}},q_=globalThis,V_=q_.__cookieEvents||{events:{},on(n,r){this.events[n]||(this.events[n]=[]),this.events[n].push(r)},off(n,r){this.events[n]&&(this.events[n]=this.events[n].filter(i=>i!==r))},once(n,r){const i=l=>{this.off(n,i),r(l)};this.on(n,i)},emit(n,r){this.events[n]&&this.events[n].forEach(i=>i(r))}};q_.__cookieEvents=V_;const T3=V_;var A3=Object.defineProperty,F3=Object.getOwnPropertyDescriptor,Th=(n,r,i,l)=>{for(var c=l>1?void 0:l?F3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&A3(r,i,c),c};let xd=class extends Hr{constructor(){super(),this.hotjarId=null,this.googleAnalyticsId=null,this.triggerType="button",this.triggerText=null,this.i18nLanguage="nb"}connectedCallback(){super.connectedCallback(),this.triggerText=this.triggerText||E3.i18n[this.i18nLanguage].contentPresentation.buttons.settings,this.googleAnalyticsId&&(window.googleAnalyticsId=this.googleAnalyticsId),this.hotjarId&&(window.hotjarId=this.hotjarId),T3.on("CookieManager.setCookie",r=>{this.emitCookieConsents(r)})}returnJsonOrObject(r){let i;try{i=JSON.parse(r)}catch{i=r}return i}emitCookieConsents(r){const i=this.returnJsonOrObject(r.value).items.reduce((l,c)=>(l[c.name]=c.consent,l),{});this.dispatchEvent(new CustomEvent("toggle-consent",{detail:i,bubbles:!0,composed:!0}))}firstUpdated(r){if(!document.querySelector("#oslo-consent-script")&&window.location.hostname.toLowerCase().includes("oslo.kommune.no")){window.googleAnalyticsId=this.googleAnalyticsId,window.hotjarId=this.hotjarId;const i=document.createElement("script");i.src="https://cdn.web.oslo.kommune.no/cb/cb-v1.0.0.js",i.id="oslo-consent-script",i.onload=()=>{this.triggerInit()},document.head.appendChild(i);const l=document.createElement("link");l.href="https://cdn.web.oslo.kommune.no/cb/cb-v1.0.0.css",l.type="text/css",l.rel="stylesheet",l.id="oslo-consent-styles",document.head.appendChild(l)}}triggerInit(){window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0})),window.cookieBanner.cookieConsent.validateConsentCookie().then(r=>{if(r){const i={value:window.cookieBanner.cookieConsent.getConsentCookie()};this.emitCookieConsents(i)}})}openModal(r){r.preventDefault(),window.cookieBanner.cookieConsent||this.triggerInit(),setTimeout(()=>window.cookieBanner.openCookieModal())}render(){return this.triggerType==="link"?be`<a href="#" class="pkt-link" @click=${this.openModal}>${this.triggerText}</a>`:this.triggerType==="footerlink"?be`<a href="#" class="pkt-footer__link" @click=${this.openModal}>
|
|
932
932
|
<pkt-icon name="chevron-right" class="pkt-footer__link-icon"></pkt-icon>
|
|
933
933
|
${this.triggerText}
|
|
934
934
|
</a>`:this.triggerType==="icon"?be`<pkt-button
|
|
@@ -963,7 +963,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
963
963
|
${this.labelPosition==="right"?c():Ve}
|
|
964
964
|
</div>
|
|
965
965
|
</div>
|
|
966
|
-
`}toggleChecked(r){r.stopImmediatePropagation(),this.touched=!0,this.inputRef.value&&(this.checked=this.inputRef.value.matches(":checked"),this.valueChecked(this.checked))}};du([z({type:String,reflect:!0})],Es.prototype,"value",2),du([z({type:String})],Es.prototype,"checkHelptext",2),du([z({type:Boolean})],Es.prototype,"defaultChecked",2),du([z({type:Boolean})],Es.prototype,"hasTile",2),du([z({type:Boolean})],Es.prototype,"isSwitch",2),du([z({type:String})],Es.prototype,"labelPosition",2),du([z({type:Boolean})],Es.prototype,"hideLabel",2),du([z({type:Boolean,reflect:!0})],Es.prototype,"checked",2),du([z({type:String,reflect:!0})],Es.prototype,"type",2),Es=du([fr("pkt-checkbox")],Es);const N3={dateformat:{default:"dd.MM.yyyy"},min:{default:null},max:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},range:{default:!1}},jf={props:N3};var O3=Object.defineProperty,R3=Object.getOwnPropertyDescriptor,ha=(n,r,i,l)=>{for(var c=l>1?void 0:l?R3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&O3(r,i,c),c};const W_=n=>new Promise(r=>setTimeout(r,n));let Jr=class extends dn{constructor(){super(),this.value="",this._value=this.value?Array.isArray(this.value)?this.value:this.value.split(","):[],this.label="Datovelger",this.dateformat=jf.props.dateformat.default,this.multiple=jf.props.multiple.default,this.maxlength=null,this.range=jf.props.range.default,this.showRangeLabels=!1,this.min=null,this.max=null,this.weeknumbers=jf.props.weeknumbers.default,this.withcontrols=jf.props.withcontrols.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.calendarOpen=!1,this.timezone="Europe/Oslo",this.inputClasses={},this.buttonClasses={},this.inputRef=pn(),this.inputRefTo=pn(),this.btnRef=pn(),this.calRef=pn(),this.popupRef=pn(),this.helptextSlot=pn(),this.addToSelected=r=>{const i=r.target;if(!i.value)return;const l=this.min?
|
|
966
|
+
`}toggleChecked(r){r.stopImmediatePropagation(),this.touched=!0,this.inputRef.value&&(this.checked=this.inputRef.value.matches(":checked"),this.valueChecked(this.checked))}};du([z({type:String,reflect:!0})],Es.prototype,"value",2),du([z({type:String})],Es.prototype,"checkHelptext",2),du([z({type:Boolean})],Es.prototype,"defaultChecked",2),du([z({type:Boolean})],Es.prototype,"hasTile",2),du([z({type:Boolean})],Es.prototype,"isSwitch",2),du([z({type:String})],Es.prototype,"labelPosition",2),du([z({type:Boolean})],Es.prototype,"hideLabel",2),du([z({type:Boolean,reflect:!0})],Es.prototype,"checked",2),du([z({type:String,reflect:!0})],Es.prototype,"type",2),Es=du([fr("pkt-checkbox")],Es);const N3={dateformat:{default:"dd.MM.yyyy"},min:{default:null},max:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},range:{default:!1}},jf={props:N3};var O3=Object.defineProperty,R3=Object.getOwnPropertyDescriptor,ha=(n,r,i,l)=>{for(var c=l>1?void 0:l?R3(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&O3(r,i,c),c};const W_=n=>new Promise(r=>setTimeout(r,n));let Jr=class extends dn{constructor(){super(),this.value="",this._value=this.value?Array.isArray(this.value)?this.value:this.value.split(","):[],this.label="Datovelger",this.dateformat=jf.props.dateformat.default,this.multiple=jf.props.multiple.default,this.maxlength=null,this.range=jf.props.range.default,this.showRangeLabels=!1,this.min=null,this.max=null,this.weeknumbers=jf.props.weeknumbers.default,this.withcontrols=jf.props.withcontrols.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.calendarOpen=!1,this.timezone="Europe/Oslo",this.inputClasses={},this.buttonClasses={},this.inputRef=pn(),this.inputRefTo=pn(),this.btnRef=pn(),this.calRef=pn(),this.popupRef=pn(),this.helptextSlot=pn(),this.addToSelected=r=>{const i=r.target;if(!i.value)return;const l=this.min?Xr(this.min):null,c=this.max?Xr(this.max):null,h=Xr(i.value.split(",")[0]);h&&!isNaN(h.getTime())&&(!l||h>=l)&&(!c||h<=c)&&this.calRef.value&&this.calRef.value.handleDateSelect(h),i.value=""},this.slotController=new _a(this,this.helptextSlot)}async connectedCallback(){super.connectedCallback();const r=navigator.userAgent,i=/iP(hone|od|ad)/.test(r);this.inputType=i?"text":"date",document&&document.body.addEventListener("click",l=>{var c,h;(c=this.inputRef)!=null&&c.value&&(h=this.btnRef)!=null&&h.value&&!this.inputRef.value.contains(l.target)&&!(this.inputRefTo.value&&this.inputRefTo.value.contains(l.target))&&!this.btnRef.value.contains(l.target)&&!l.target.closest(".pkt-calendar-popup")&&this.calendarOpen&&(this.onBlur(),this.hideCalendar())}),this.value.length&&this._value.length===0&&(this._value=Array.isArray(this.value)?this.value:this.value.split(",")),this.min=this.min||jf.props.min.default,this.max=this.max||jf.props.max.default,typeof this.excludedates=="string"&&(this.excludedates=this.excludedates.split(",")),typeof this.excludeweekdays=="string"&&(this.excludeweekdays=this.excludeweekdays.split(",")),(this.multiple||this.range)&&this.name&&!this.name.endsWith("[]")&&(this.name=this.name+"[]"),this.calendarOpen&&(await W_(20),this.handleCalendarPosition())}disconnectedCallback(){super.disconnectedCallback(),document&&document.body.removeEventListener("click",r=>{var i,l;(i=this.inputRef)!=null&&i.value&&(l=this.btnRef)!=null&&l.value&&!this.inputRef.value.contains(r.target)&&!this.btnRef.value.contains(r.target)&&this.hideCalendar()})}attributeChangedCallback(r,i,l){if(r==="value"){if(this.range&&(l==null?void 0:l.split(",").length)===1)return;this.value!==i&&this.valueChanged(l,i)}r==="excludedates"&&typeof this.excludedates=="string"&&(this.excludedates=(l==null?void 0:l.split(","))??[]),r==="excludeweekdays"&&typeof this.excludeweekdays=="string"&&(this.excludeweekdays=(l==null?void 0:l.split(","))??[]),super.attributeChangedCallback(r,i,l)}updated(r){if(r.has("value")){if(this.range&&this.value.length===1)return;this.valueChanged(this.value,r.get("value"))}super.updated(r)}renderInput(){return be`
|
|
967
967
|
<input
|
|
968
968
|
class="${Bt(this.inputClasses)}"
|
|
969
969
|
.type=${this.inputType}
|
|
@@ -1065,7 +1065,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1065
1065
|
.latest=${this.max}
|
|
1066
1066
|
.excludedates=${Array.isArray(this.excludedates)?this.excludedates:this.excludedates.split(",")}
|
|
1067
1067
|
.excludeweekdays=${this.excludeweekdays}
|
|
1068
|
-
.currentmonth=${this.currentmonth?
|
|
1068
|
+
.currentmonth=${this.currentmonth?Xr(this.currentmonth):null}
|
|
1069
1069
|
@date-selected=${r=>{this.value=!this.multiple&&!this.range?r.detail[0]:r.detail,this._value=r.detail,this.inputRef.value&&(this.range&&this.inputRefTo.value?(this.inputRef.value.value=this._value[0]??"",this.inputRefTo.value.value=this._value[1]??""):this.multiple||(this.inputRef.value.value=this._value.length?this._value[0]:""))}}
|
|
1070
1070
|
@close=${()=>{this.onBlur(),this.hideCalendar()}}
|
|
1071
1071
|
${Vt(this.calRef)}
|
|
@@ -1193,7 +1193,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1193
1193
|
* @license
|
|
1194
1194
|
* Copyright 2018 Google LLC
|
|
1195
1195
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1196
|
-
*/const Y_="important",X3=" !"+Y_,J3=Of(class extends wh{constructor(n){var r;if(super(n),n.type!==cl.ATTRIBUTE||n.name!=="style"||((r=n.strings)==null?void 0:r.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(n){return Object.keys(n).reduce((r,i)=>{const l=n[i];return l==null?r:r+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${l};`},"")}update(n,[r]){const{style:i}=n.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(r)),this.render(r);for(const l of this.ft)r[l]==null&&(this.ft.delete(l),l.includes("-")?i.removeProperty(l):i[l]=null);for(const l in r){const c=r[l];if(c!=null){this.ft.add(l);const h=typeof c=="string"&&c.endsWith(X3);l.includes("-")||h?i.setProperty(l,h?c.slice(0,-11):c,h?Y_:""):i[l]=c}}return yo}});var Z3=Object.defineProperty,eO=Object.getOwnPropertyDescriptor,Ea=(n,r,i,l)=>{for(var c=l>1?void 0:l?eO(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&Z3(r,i,c),c};let
|
|
1196
|
+
*/const Y_="important",X3=" !"+Y_,J3=Of(class extends wh{constructor(n){var r;if(super(n),n.type!==cl.ATTRIBUTE||n.name!=="style"||((r=n.strings)==null?void 0:r.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(n){return Object.keys(n).reduce((r,i)=>{const l=n[i];return l==null?r:r+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${l};`},"")}update(n,[r]){const{style:i}=n.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(r)),this.render(r);for(const l of this.ft)r[l]==null&&(this.ft.delete(l),l.includes("-")?i.removeProperty(l):i[l]=null);for(const l in r){const c=r[l];if(c!=null){this.ft.add(l);const h=typeof c=="string"&&c.endsWith(X3);l.includes("-")||h?i.setProperty(l,h?c.slice(0,-11):c,h?Y_:""):i[l]=c}}return yo}});var Z3=Object.defineProperty,eO=Object.getOwnPropertyDescriptor,Ea=(n,r,i,l)=>{for(var c=l>1?void 0:l?eO(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&Z3(r,i,c),c};let oa=class extends Hr{constructor(){super(),this.ariaLabel=null,this.ariaLabelledby=null,this.ariaValueText=null,this.ariaLive="polite",this.id=If(),this.role="progressbar",this.skin="dark-blue",this.statusPlacement="following",this.statusType="none",this.title="",this.titlePosition="left",this.valueCurrent=0,this.valueMax=100,this.valueMin=0,this.labelWidth=0,this.progressbarId=this.id,this.computedAriaLabelledby=null,this.computedAriaValueText="",this.labelRef=pn(),this.progressBarRef=pn()}firstUpdated(r){super.firstUpdated(r),this.setComputedValues(),this.syncAttributes()}updated(r){super.updated(r),r.has("valueCurrent")&&this.labelRef.value&&(this.labelWidth=this.labelRef.value.getBoundingClientRect().width||0),r.has("id")&&this.id&&(this.progressBarId=this.id),(r.has("statusType")||r.has("id")||r.has("ariaLabelledby"))&&(this.progressbarId=this.id||If(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`),(r.has("ariaValueText")||r.has("valueCurrent")||r.has("valueMax"))&&(this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""),this.syncAttributes()}render(){const r=this.statusType!=="none",i=this.valueMax-this.valueMin,l=this.valueCurrent/i*100,c=this.statusType==="fraction"?Math.round(l):Math.round((this.valueCurrent-this.valueMin)/(this.valueMax-this.valueMin)*100),h=`${this.valueCurrent} av ${i}`,m=Bt({"pkt-progressbar__bar":!0,[`pkt-progressbar__bar--${this.skin}`]:!!this.skin}),D=Bt({"pkt-progressbar__title":!0,"pkt-progressbar__title-center":this.titlePosition==="center"}),C=Bt({"pkt-progressbar__status":!0,"pkt-progressbar__status--center":this.statusPlacement==="center"}),T=Bt({"pkt-progressbar__status-placement--following":this.statusPlacement==="following","pkt-progressbar__status-placement--center":this.statusPlacement==="center","pkt-progressbar__status-placement--left":this.statusPlacement==="left"});return be` <div
|
|
1197
1197
|
class="pkt-progressbar__container"
|
|
1198
1198
|
.ref=${this.progressBarRef}
|
|
1199
1199
|
style=${J3({"--pkt-progress-label-width":`${this.labelWidth}px`,"--pkt-progress-width":`${c}%`})}
|
|
@@ -1209,7 +1209,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1209
1209
|
${this.statusType==="percentage"?`${c}%`:h}
|
|
1210
1210
|
</span>
|
|
1211
1211
|
</div>`:Ve}
|
|
1212
|
-
</div>`}setComputedValues(){this.progressbarId=this.id||If(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`,this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""}syncAttributes(){this._handleAttribute("aria-live",this.ariaLive),this._handleAttribute("aria-valuenow",this.valueCurrent),this._handleAttribute("aria-valuemin",this.valueMin),this._handleAttribute("aria-valuemax",this.valueMax),this._handleAttribute("aria-valuetext",this.computedAriaValueText),this._handleAttribute("aria-label",this.ariaLabel),this._handleAttribute("role",this.role),this._handleAttribute("aria-atomic","true"),this._handleAttribute("id",this.progressbarId),this.ariaLabel||this._handleAttribute("aria-labelledby",this.computedAriaLabelledby)}_handleAttribute(r,i){i==null||i===""?this.removeAttribute(r):this.setAttribute(r,String(i))}};Ea([z({type:String})],
|
|
1212
|
+
</div>`}setComputedValues(){this.progressbarId=this.id||If(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`,this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""}syncAttributes(){this._handleAttribute("aria-live",this.ariaLive),this._handleAttribute("aria-valuenow",this.valueCurrent),this._handleAttribute("aria-valuemin",this.valueMin),this._handleAttribute("aria-valuemax",this.valueMax),this._handleAttribute("aria-valuetext",this.computedAriaValueText),this._handleAttribute("aria-label",this.ariaLabel),this._handleAttribute("role",this.role),this._handleAttribute("aria-atomic","true"),this._handleAttribute("id",this.progressbarId),this.ariaLabel||this._handleAttribute("aria-labelledby",this.computedAriaLabelledby)}_handleAttribute(r,i){i==null||i===""?this.removeAttribute(r):this.setAttribute(r,String(i))}};Ea([z({type:String})],oa.prototype,"ariaLabel",2),Ea([z({type:String,reflect:!0})],oa.prototype,"ariaLabelledby",2),Ea([z({type:String,reflect:!0})],oa.prototype,"ariaValueText",2),Ea([z({type:String})],oa.prototype,"ariaLive",2),Ea([z({type:String,reflect:!0})],oa.prototype,"id",2),Ea([z({type:String})],oa.prototype,"role",2),Ea([z({type:String})],oa.prototype,"skin",2),Ea([z({type:String})],oa.prototype,"statusPlacement",2),Ea([z({type:String})],oa.prototype,"statusType",2),Ea([z({type:String,reflect:!0})],oa.prototype,"title",2),Ea([z({type:String})],oa.prototype,"titlePosition",2),Ea([z({type:Number,reflect:!0})],oa.prototype,"valueCurrent",2),Ea([z({type:Number})],oa.prototype,"valueMax",2),Ea([z({type:Number})],oa.prototype,"valueMin",2),Ea([$n()],oa.prototype,"labelWidth",2),Ea([$n()],oa.prototype,"progressbarId",2),Ea([$n()],oa.prototype,"computedAriaLabelledby",2),Ea([$n()],oa.prototype,"computedAriaValueText",2),oa=Ea([fr("pkt-progressbar")],oa);var tO=Object.defineProperty,nO=Object.getOwnPropertyDescriptor,Ad=(n,r,i,l)=>{for(var c=l>1?void 0:l?nO(r,i):r,h=n.length-1,m;h>=0;h--)(m=n[h])&&(c=(l?m(r,i,c):m(c))||c);return l&&c&&tO(r,i,c),c};let fu=class extends dn{constructor(){super(...arguments),this.inputRef=pn(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(n,r,i){n==="defaultChecked"&&(this._checked=this.defaultChecked),n==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(n,r,i)}render(){const n=Bt({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),r=Bt({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError}),i=Bt({"pkt-input-check__input-label":!0,"pkt-input-check__input-label--disabled":this.disabled,"pkt-sr-only":this.hideLabel}),l=()=>be`
|
|
1213
1213
|
<label class=${i} for=${this.id+"-internal"}>
|
|
1214
1214
|
${this.label}
|
|
1215
1215
|
${this.checkHelptext?be`<div class="pkt-input-check__input-helptext">${this.checkHelptext}</div>`:Ve}
|
|
@@ -1425,7 +1425,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1425
1425
|
<ul>
|
|
1426
1426
|
${n.map(r=>be`<li>${r}</li>`)}
|
|
1427
1427
|
</ul>
|
|
1428
|
-
`}doStuff(n){return n.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Lg([z({type:String})],Nh.prototype,"string",2),Lg([z({converter:j_})],Nh.prototype,"strings",2),Lg([z({type:Boolean})],Nh.prototype,"darkmode",2),Lg([z({type:Array})],Nh.prototype,"_list",2),Nh=Lg([fr("pkt-component")],Nh);const fO=Ur({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),G_=$e.forwardRef(({children:n,...r},i)=>R.jsx(fO,{"data-testid":"pkt-accordion",...r,ref:i,children:R.jsx("div",{className:"pkt-contents",children:n})}));G_.displayName="PktAccordion";const pO=Ur({tagName:"pkt-accordion-item",elementClass:MP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),K_=$e.forwardRef(({children:n,...r},i)=>R.jsx(pO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));K_.displayName="PktAccordionItem";const hO=Ur({tagName:"pkt-alert",elementClass:dl,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),Q_=$e.forwardRef(({children:n,...r},i)=>R.jsx(hO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));Q_.displayName="PktAlert";const X_=Ur({tagName:"pkt-backlink",elementClass:Ch,react:$e,displayName:"PktBackLink"});X_.displayName="PktBackLink";const or=Ur({tagName:"pkt-icon",elementClass:Lf,react:$e,displayName:"PktIcon",events:{}}),mO=$e.forwardRef(({breadcrumbs:n,navigationType:r,className:i,...l},c)=>{const h=n,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return R.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[R.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,T)=>R.jsx("li",{className:"pkt-breadcrumbs__item",children:T===h.length-1?R.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):r==="router"?R.jsxs(Ff.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[R.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):R.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[R.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${T}`))}),r==="router"?R.jsxs(Ff.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[R.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):R.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[R.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.41/animations/";const Fd=$e.forwardRef(({children:n,className:r,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:T,isLoading:$=void 0,disabled:N=void 0,loadingAnimationPath:O=window.pktAnimationPath,...B},I)=>{const G=[r,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,T&&`pkt-btn--${T}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return R.jsxs("button",{...B,"aria-busy":$||void 0,"aria-disabled":N||void 0,disabled:N,className:G,type:m,ref:I,children:[$&&R.jsx(or,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:O}),D!=="label-only"&&R.jsx(or,{className:"pkt-btn__icon",name:i}),R.jsx("span",{className:"pkt-btn__text",children:n}),D==="icons-right-and-left"&&R.jsx(or,{className:"pkt-btn__icon",name:l})]})});Fd.displayName="PktButton";const gO=Ur({tagName:"pkt-card",elementClass:xa,react:$e,displayName:"PktCard",events:{}}),J_=$e.forwardRef(({children:n,...r},i)=>R.jsx(gO,{...r,ref:i,children:R.jsx("div",{className:"pkt-contents",children:n})}));J_.displayName="PktCard";const y0=Ur({tagName:"pkt-checkbox",elementClass:Es,react:$e,displayName:"PktCheckbox",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),vO=Ur({tagName:"pkt-combobox",elementClass:Xr,react:$e,displayName:"PktCombobox",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Z_=$e.forwardRef(({children:n,helptext:r,...i},l)=>R.jsxs(vO,{...i,ref:l,children:[r&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:r}),n]}));Z_.displayName="PktCombobox";const ab=Ur({tagName:"pkt-consent",elementClass:xd,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ab.displayName="PktConsent";const yO=Ur({tagName:"pkt-datepicker",elementClass:Jr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),b0=$e.forwardRef(({helptext:n,...r},i)=>R.jsx(yO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",slot:"helptext",children:n})}));b0.displayName="PktDatepicker";const bO=({columnOne:n,columnTwo:r,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:T=null,onToggleConsent:$=N=>{console.log(N.detail)}})=>{var O,B;const N=[l,"pkt-footer"].filter(Boolean).join(" ");return R.jsx("footer",{className:N,"data-mode":"dark",children:R.jsxs("div",{className:"pkt-footer__container",children:[R.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:n.title}),R.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&R.jsx("li",{className:"pkt-footer__text",children:n.text}),(O=n.links)==null?void 0:O.map((I,G)=>R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:`pkt-footer__link ${I.external?"pkt-link--external":""}`,href:I.href,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),I.text]})},`links-${G}`))]})]}),R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:r.title}),R.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&R.jsx("li",{className:"pkt-footer__text",children:r.text}),(B=r.links)==null?void 0:B.map((I,G)=>R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:`pkt-footer__link ${I.external?"pkt-link--external":""}`,href:I.href,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),I.text]})},`links-${G}`))]})]}),R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),R.jsxs("ul",{className:"pkt-footer__list",children:[R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&R.jsx("li",{className:"pkt-footer__list-item",children:R.jsx(ab,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:T,onToggleConsent:$})})]})]})]}),i&&R.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[R.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(I=>I.language).map((I,G)=>R.jsx("div",{className:"pkt-footer__social-language",children:R.jsx("a",{href:I.href,"aria-label":`til ${I.language} versjon av nettsiden`,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:I.language})},`sociallinks-language-${G}`))}),R.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(I=>I.iconName).map((I,G)=>R.jsx($e.Fragment,{children:R.jsx("a",{href:I.href,"aria-label":`til ${I.iconName}`,className:"pkt-footer__social-icon-link",target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:R.jsx(or,{className:"pkt-footer__social-icon",name:I.iconName})})},`sociallinks-${G}`))})]})]})})},kO=({links:n=[],openLinksInNewTab:r=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,className:D})=>{const C=[D,"pkt-footer-simple"].filter(Boolean).join(" ");return R.jsx("footer",{className:C,"data-mode":"dark",children:R.jsx("div",{className:"pkt-footer-simple__container",children:R.jsxs("ul",{className:"pkt-footer-simple__list",children:[n.map((T,$)=>R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:`pkt-footer-simple__link ${T.external?" pkt-link--external":""}`,href:T.href,target:T.openInNewTab||r?"_blank":"_self",rel:T.openInNewTab||r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),T.text]})},$)),R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:r?"_blank":"_self",rel:r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:r?"_blank":"_self",rel:r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsx(ab,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m})})]})})})};var ex={exports:{}};/*!
|
|
1428
|
+
`}doStuff(n){return n.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Lg([z({type:String})],Nh.prototype,"string",2),Lg([z({converter:j_})],Nh.prototype,"strings",2),Lg([z({type:Boolean})],Nh.prototype,"darkmode",2),Lg([z({type:Array})],Nh.prototype,"_list",2),Nh=Lg([fr("pkt-component")],Nh);const fO=Ur({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),G_=$e.forwardRef(({children:n,...r},i)=>R.jsx(fO,{"data-testid":"pkt-accordion",...r,ref:i,children:R.jsx("div",{className:"pkt-contents",children:n})}));G_.displayName="PktAccordion";const pO=Ur({tagName:"pkt-accordion-item",elementClass:MP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),K_=$e.forwardRef(({children:n,...r},i)=>R.jsx(pO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));K_.displayName="PktAccordionItem";const hO=Ur({tagName:"pkt-alert",elementClass:dl,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),Q_=$e.forwardRef(({children:n,...r},i)=>R.jsx(hO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));Q_.displayName="PktAlert";const X_=Ur({tagName:"pkt-backlink",elementClass:Ch,react:$e,displayName:"PktBackLink"});X_.displayName="PktBackLink";const or=Ur({tagName:"pkt-icon",elementClass:Lf,react:$e,displayName:"PktIcon",events:{}}),mO=$e.forwardRef(({breadcrumbs:n,navigationType:r,className:i,...l},c)=>{const h=n,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return R.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[R.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,T)=>R.jsx("li",{className:"pkt-breadcrumbs__item",children:T===h.length-1?R.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):r==="router"?R.jsxs(Ff.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[R.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):R.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[R.jsx(or,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${T}`))}),r==="router"?R.jsxs(Ff.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[R.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):R.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[R.jsx(or,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),R.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/12.41/animations/";const Fd=$e.forwardRef(({children:n,className:r,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:T,isLoading:$=void 0,disabled:N=void 0,loadingAnimationPath:O=window.pktAnimationPath,...B},I)=>{const G=[r,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,T&&`pkt-btn--${T}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return R.jsxs("button",{...B,"aria-busy":$||void 0,"aria-disabled":N||void 0,disabled:N,className:G,type:m,ref:I,children:[$&&R.jsx(or,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:O}),D!=="label-only"&&R.jsx(or,{className:"pkt-btn__icon",name:i}),R.jsx("span",{className:"pkt-btn__text",children:n}),D==="icons-right-and-left"&&R.jsx(or,{className:"pkt-btn__icon",name:l})]})});Fd.displayName="PktButton";const gO=Ur({tagName:"pkt-card",elementClass:xa,react:$e,displayName:"PktCard",events:{}}),J_=$e.forwardRef(({children:n,...r},i)=>R.jsx(gO,{...r,ref:i,children:R.jsx("div",{className:"pkt-contents",children:n})}));J_.displayName="PktCard";const y0=Ur({tagName:"pkt-checkbox",elementClass:Es,react:$e,displayName:"PktCheckbox",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),vO=Ur({tagName:"pkt-combobox",elementClass:qr,react:$e,displayName:"PktCombobox",events:{onClick:"click",onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Z_=$e.forwardRef(({children:n,helptext:r,...i},l)=>R.jsxs(vO,{...i,ref:l,children:[r&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:r}),n]}));Z_.displayName="PktCombobox";const ab=Ur({tagName:"pkt-consent",elementClass:xd,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ab.displayName="PktConsent";const yO=Ur({tagName:"pkt-datepicker",elementClass:Jr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),b0=$e.forwardRef(({helptext:n,...r},i)=>R.jsx(yO,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",slot:"helptext",children:n})}));b0.displayName="PktDatepicker";const bO=({columnOne:n,columnTwo:r,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:T=null,onToggleConsent:$=N=>{console.log(N.detail)}})=>{var O,B;const N=[l,"pkt-footer"].filter(Boolean).join(" ");return R.jsx("footer",{className:N,"data-mode":"dark",children:R.jsxs("div",{className:"pkt-footer__container",children:[R.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:n.title}),R.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&R.jsx("li",{className:"pkt-footer__text",children:n.text}),(O=n.links)==null?void 0:O.map((I,G)=>R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:`pkt-footer__link ${I.external?"pkt-link--external":""}`,href:I.href,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),I.text]})},`links-${G}`))]})]}),R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:r.title}),R.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&R.jsx("li",{className:"pkt-footer__text",children:r.text}),(B=r.links)==null?void 0:B.map((I,G)=>R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:`pkt-footer__link ${I.external?"pkt-link--external":""}`,href:I.href,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),I.text]})},`links-${G}`))]})]}),R.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[R.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),R.jsxs("ul",{className:"pkt-footer__list",children:[R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),R.jsx("li",{className:"pkt-footer__list-item",children:R.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&R.jsx("li",{className:"pkt-footer__list-item",children:R.jsx(ab,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:T,onToggleConsent:$})})]})]})]}),i&&R.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[R.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(I=>I.language).map((I,G)=>R.jsx("div",{className:"pkt-footer__social-language",children:R.jsx("a",{href:I.href,"aria-label":`til ${I.language} versjon av nettsiden`,target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:I.language})},`sociallinks-language-${G}`))}),R.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(I=>I.iconName).map((I,G)=>R.jsx($e.Fragment,{children:R.jsx("a",{href:I.href,"aria-label":`til ${I.iconName}`,className:"pkt-footer__social-icon-link",target:I.openInNewTab||c?"_blank":"_self",rel:I.openInNewTab||c?"noopener noreferrer":void 0,children:R.jsx(or,{className:"pkt-footer__social-icon",name:I.iconName})})},`sociallinks-${G}`))})]})]})})},kO=({links:n=[],openLinksInNewTab:r=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,className:D})=>{const C=[D,"pkt-footer-simple"].filter(Boolean).join(" ");return R.jsx("footer",{className:C,"data-mode":"dark",children:R.jsx("div",{className:"pkt-footer-simple__container",children:R.jsxs("ul",{className:"pkt-footer-simple__list",children:[n.map((T,$)=>R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:`pkt-footer-simple__link ${T.external?" pkt-link--external":""}`,href:T.href,target:T.openInNewTab||r?"_blank":"_self",rel:T.openInNewTab||r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),T.text]})},$)),R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:r?"_blank":"_self",rel:r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:r?"_blank":"_self",rel:r?"noopener noreferrer":void 0,children:[R.jsx(or,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&R.jsx("li",{className:"pkt-footer-simple__list-item",children:R.jsx(ab,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m})})]})})})};var ex={exports:{}};/*!
|
|
1429
1429
|
Copyright (c) 2018 Jed Watson.
|
|
1430
1430
|
Licensed under the MIT License (MIT), see
|
|
1431
1431
|
http://jedwatson.github.io/classnames
|
|
@@ -1507,25 +1507,25 @@ in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",cate
|
|
|
1507
1507
|
Expected it to be 'string' or 'object'.`;if(he(f))throw new Error("doc is valid.");let k=Object.prototype.toString.call(f);if(k!=="[object Object]")return`Unexpected doc '${k}'.`;let _=ot([...de].map(E=>`'${E}'`));return`Unexpected doc.type '${f.type}'.
|
|
1508
1508
|
Expected it to be ${_}.`}var Dt=class extends Error{constructor(g){super(rt(g));gg(this,"name","InvalidDocError");this.doc=g}},ht=Dt;function bt(f,g){if(typeof f=="string")return g(f);let k=new Map;return _(f);function _(M){if(k.has(M))return k.get(M);let U=E(M);return k.set(M,U),U}function E(M){switch(he(M)){case J:return g(M.map(_));case Ge:return g({...M,parts:M.parts.map(_)});case We:return g({...M,breakContents:_(M.breakContents),flatContents:_(M.flatContents)});case ke:{let{expandedStates:U,contents:ve}=M;return U?(U=U.map(_),ve=U[0]):ve=_(ve),g({...M,contents:ve,expandedStates:U})}case pe:case ae:case Ke:case Me:case nt:return g({...M,contents:_(M.contents)});case W:case K:case Te:case He:case dt:case Le:return g(M);default:throw new ht(M)}}}function vt(f,g=ce){return bt(f,k=>typeof k=="string"?ee(g,k.split(`
|
|
1509
1509
|
`)):k)}var Rt=()=>{},fn=Rt;function en(f){return{type:ae,contents:f}}function Qn(f,g){return{type:pe,contents:g,n:f}}function Lt(f,g={}){return fn(g.expandedStates),{type:ke,id:g.id,contents:f,break:!!g.shouldBreak,expandedStates:g.expandedStates}}function at(f){return Qn(Number.NEGATIVE_INFINITY,f)}function sr(f){return Qn({type:"root"},f)}function Nn(f){return{type:Ge,parts:f}}function kr(f,g="",k={}){return{type:We,breakContents:f,flatContents:g,groupId:k.groupId}}function Qi(f,g){return{type:Ke,contents:f,groupId:g.groupId,negate:g.negate}}var Rr={type:Le},wr={type:dt,hard:!0},Xn={type:dt,hard:!0,literal:!0},un={type:dt},yn={type:dt,soft:!0},sn=[wr,Rr],ce=[Xn,Rr];function ee(f,g){let k=[];for(let _=0;_<g.length;_++)_!==0&&k.push(f),k.push(g[_]);return k}var ye="'",Fe='"';function xe(f,g){let k=g===!0||g===ye?ye:Fe,_=k===ye?Fe:ye,E=0,M=0;for(let U of f)U===k?E++:U===_&&M++;return E>M?_:k}var Oe=xe;function Ye(f){if(typeof f!="string")throw new TypeError("Expected a string");return f.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var xt,Ut=class{constructor(f){I(this,xt),G(this,xt,new Set(f))}getLeadingWhitespaceCount(f){let g=B(this,xt),k=0;for(let _=0;_<f.length&&g.has(f.charAt(_));_++)k++;return k}getTrailingWhitespaceCount(f){let g=B(this,xt),k=0;for(let _=f.length-1;_>=0&&g.has(f.charAt(_));_--)k++;return k}getLeadingWhitespace(f){let g=this.getLeadingWhitespaceCount(f);return f.slice(0,g)}getTrailingWhitespace(f){let g=this.getTrailingWhitespaceCount(f);return f.slice(f.length-g)}hasLeadingWhitespace(f){return B(this,xt).has(f.charAt(0))}hasTrailingWhitespace(f){return B(this,xt).has(_e(!1,f,-1))}trimStart(f){let g=this.getLeadingWhitespaceCount(f);return f.slice(g)}trimEnd(f){let g=this.getTrailingWhitespaceCount(f);return f.slice(0,f.length-g)}trim(f){return this.trimEnd(this.trimStart(f))}split(f,g=!1){let k=`[${Ye([...B(this,xt)].join(""))}]+`,_=new RegExp(g?`(${k})`:k,"u");return f.split(_)}hasWhitespaceCharacter(f){let g=B(this,xt);return Array.prototype.some.call(f,k=>g.has(k))}hasNonWhitespaceCharacter(f){let g=B(this,xt);return Array.prototype.some.call(f,k=>!g.has(k))}isWhitespaceOnly(f){let g=B(this,xt);return Array.prototype.every.call(f,k=>g.has(k))}};xt=new WeakMap;var Dn=Ut,_n=[" ",`
|
|
1510
|
-
`,"\f","\r"," "],Tr=new Dn(_n),bn=Tr,ga=class extends Error{constructor(g,k,_="type"){super(`Unexpected ${k} node ${_}: ${JSON.stringify(g[_])}.`);gg(this,"name","UnexpectedNodeError");this.node=g}},mr=ga;function jn(f){return(f==null?void 0:f.type)==="front-matter"}var va=jn,ya=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Ci=new Set(["if","else if","for","switch","case"]);function Co(f,g){var k;if(f.type==="text"||f.type==="comment"||va(f)||f.type==="yaml"||f.type==="toml")return null;if(f.type==="attribute"&&delete g.value,f.type==="docType"&&delete g.value,f.type==="angularControlFlowBlock"&&(k=f.parameters)!=null&&k.children)for(let _ of g.parameters.children)Ci.has(f.name)?delete _.expression:_.expression=_.expression.trim();f.type==="angularIcuExpression"&&(g.switchValue=f.switchValue.trim()),f.type==="angularLetDeclarationInitializer"&&delete g.value}Co.ignoredProperties=ya;var vl=Co;async function yl(f,g){if(f.language==="yaml"){let k=f.value.trim(),_=k?await g(k,{parser:"yaml"}):"";return sr([f.startDelimiter,f.explicitLanguage,sn,_,_?sn:"",f.endDelimiter])}}var Ps=yl;function Xi(f,g=!0){return[en([yn,f]),g?yn:""]}function _i(f,g){let k=f.type==="NGRoot"?f.node.type==="NGMicrosyntax"&&f.node.body.length===1&&f.node.body[0].type==="NGMicrosyntaxExpression"?f.node.body[0].expression:f.node:f.type==="JsExpressionRoot"?f.node:f;return k&&(k.type==="ObjectExpression"||k.type==="ArrayExpression"||(g.parser==="__vue_expression"||g.parser==="__vue_ts_expression")&&(k.type==="TemplateLiteral"||k.type==="StringLiteral"))}async function lr(f,g,k,_){k={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...k};let E=!0;_&&(k.__onHtmlBindingRoot=(U,ve)=>{E=_(U,ve)});let M=await g(f,k,g);return E?Lt(M):Xi(M)}function Ta(f,g,k,_){let{node:E}=k,M=_.originalText.slice(E.sourceSpan.start.offset,E.sourceSpan.end.offset);return/^\s*$/u.test(M)?"":lr(M,f,{parser:"__ng_directive",__isInHtmlAttribute:!1},_i)}var
|
|
1511
|
-
`)){if(k.length===0)continue;let _=bn.getLeadingWhitespaceCount(k);if(_===0)return 0;k.length!==_&&_<g&&(g=_)}return g===Number.POSITIVE_INFINITY?0:g}function no(f,g=
|
|
1510
|
+
`,"\f","\r"," "],Tr=new Dn(_n),bn=Tr,ga=class extends Error{constructor(g,k,_="type"){super(`Unexpected ${k} node ${_}: ${JSON.stringify(g[_])}.`);gg(this,"name","UnexpectedNodeError");this.node=g}},mr=ga;function jn(f){return(f==null?void 0:f.type)==="front-matter"}var va=jn,ya=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Ci=new Set(["if","else if","for","switch","case"]);function Co(f,g){var k;if(f.type==="text"||f.type==="comment"||va(f)||f.type==="yaml"||f.type==="toml")return null;if(f.type==="attribute"&&delete g.value,f.type==="docType"&&delete g.value,f.type==="angularControlFlowBlock"&&(k=f.parameters)!=null&&k.children)for(let _ of g.parameters.children)Ci.has(f.name)?delete _.expression:_.expression=_.expression.trim();f.type==="angularIcuExpression"&&(g.switchValue=f.switchValue.trim()),f.type==="angularLetDeclarationInitializer"&&delete g.value}Co.ignoredProperties=ya;var vl=Co;async function yl(f,g){if(f.language==="yaml"){let k=f.value.trim(),_=k?await g(k,{parser:"yaml"}):"";return sr([f.startDelimiter,f.explicitLanguage,sn,_,_?sn:"",f.endDelimiter])}}var Ps=yl;function Xi(f,g=!0){return[en([yn,f]),g?yn:""]}function _i(f,g){let k=f.type==="NGRoot"?f.node.type==="NGMicrosyntax"&&f.node.body.length===1&&f.node.body[0].type==="NGMicrosyntaxExpression"?f.node.body[0].expression:f.node:f.type==="JsExpressionRoot"?f.node:f;return k&&(k.type==="ObjectExpression"||k.type==="ArrayExpression"||(g.parser==="__vue_expression"||g.parser==="__vue_ts_expression")&&(k.type==="TemplateLiteral"||k.type==="StringLiteral"))}async function lr(f,g,k,_){k={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...k};let E=!0;_&&(k.__onHtmlBindingRoot=(U,ve)=>{E=_(U,ve)});let M=await g(f,k,g);return E?Lt(M):Xi(M)}function Ta(f,g,k,_){let{node:E}=k,M=_.originalText.slice(E.sourceSpan.start.offset,E.sourceSpan.end.offset);return/^\s*$/u.test(M)?"":lr(M,f,{parser:"__ng_directive",__isInHtmlAttribute:!1},_i)}var sa=Ta,_o=f=>String(f).split(/[/\\]/u).pop();function xi(f,g){if(!g)return;let k=_o(g).toLowerCase();return f.find(({filenames:_})=>_==null?void 0:_.some(E=>E.toLowerCase()===k))??f.find(({extensions:_})=>_==null?void 0:_.some(E=>k.endsWith(E)))}function xo(f,g){if(g)return f.find(({name:k})=>k.toLowerCase()===g)??f.find(({aliases:k})=>k==null?void 0:k.includes(g))??f.find(({extensions:k})=>k==null?void 0:k.includes(`.${g}`))}function Eo(f,g){let k=f.plugins.flatMap(E=>E.languages??[]),_=xo(k,g.language)??xi(k,g.physicalFile)??xi(k,g.file)??(g.physicalFile,void 0);return _==null?void 0:_.parsers[0]}var V=Eo,Ae="inline",Je={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},ct="normal",Ht={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function jt(f){return f.type==="element"&&!f.hasExplicitNamespace&&!["html","svg"].includes(f.namespace)}var Wt=jt,tn=f=>Z(!1,f,/^[\t\f\r ]*\n/gu,""),Dr=f=>tn(bn.trimEnd(f)),Jn=f=>{let g=f,k=bn.getLeadingWhitespace(g);k&&(g=g.slice(k.length));let _=bn.getTrailingWhitespace(g);return _&&(g=g.slice(0,-_.length)),{leadingWhitespace:k,trailingWhitespace:_,text:g}};function Zn(f,g){return!!(f.type==="ieConditionalComment"&&f.lastChild&&!f.lastChild.isSelfClosing&&!f.lastChild.endSourceSpan||f.type==="ieConditionalComment"&&!f.complete||To(f)&&f.children.some(k=>k.type!=="text"&&k.type!=="interpolation")||Ar(f,g)&&!Et(f)&&f.type!=="interpolation")}function Lr(f){return f.type==="attribute"||!f.parent||!f.prev?!1:Ji(f.prev)}function Ji(f){return f.type==="comment"&&f.value.trim()==="prettier-ignore"}function Sr(f){return f.type==="text"||f.type==="comment"}function Et(f){return f.type==="element"&&(f.fullName==="script"||f.fullName==="style"||f.fullName==="svg:style"||f.fullName==="svg:script"||Wt(f)&&(f.name==="script"||f.name==="style"))}function Xt(f){return f.children&&!Et(f)}function Zi(f){return Et(f)||f.type==="interpolation"||Ns(f)}function Ns(f){return Cl(f).startsWith("pre")}function bl(f,g){var k,_;let E=M();if(E&&!f.prev&&(_=(k=f.parent)==null?void 0:k.tagDefinition)!=null&&_.ignoreFirstLf)return f.type==="interpolation";return E;function M(){return va(f)||f.type==="angularControlFlowBlock"?!1:(f.type==="text"||f.type==="interpolation")&&f.prev&&(f.prev.type==="text"||f.prev.type==="interpolation")?!0:!f.parent||f.parent.cssDisplay==="none"?!1:To(f.parent)?!0:!(!f.prev&&(f.parent.type==="root"||To(f)&&f.parent||Et(f.parent)||Fn(f.parent,g)||!np(f.parent.cssDisplay))||f.prev&&!Su(f.prev.cssDisplay))}}function Os(f,g){return va(f)||f.type==="angularControlFlowBlock"?!1:(f.type==="text"||f.type==="interpolation")&&f.next&&(f.next.type==="text"||f.next.type==="interpolation")?!0:!f.parent||f.parent.cssDisplay==="none"?!1:To(f.parent)?!0:!(!f.next&&(f.parent.type==="root"||To(f)&&f.parent||Et(f.parent)||Fn(f.parent,g)||!ts(f.parent.cssDisplay))||f.next&&!xn(f.next.cssDisplay))}function ku(f){return kn(f.cssDisplay)&&!Et(f)}function eo(f){return va(f)||f.next&&f.sourceSpan.end&&f.sourceSpan.end.line+1<f.next.sourceSpan.start.line}function Wa(f){return wu(f)||f.type==="element"&&f.children.length>0&&(["body","script","style"].includes(f.name)||f.children.some(g=>to(g)))||f.firstChild&&f.firstChild===f.lastChild&&f.firstChild.type!=="text"&&kl(f.firstChild)&&(!f.lastChild.isTrailingSpaceSensitive||es(f.lastChild))}function wu(f){return f.type==="element"&&f.children.length>0&&(["html","head","ul","ol","select"].includes(f.name)||f.cssDisplay.startsWith("table")&&f.cssDisplay!=="table-cell")}function la(f){return Ya(f)||f.prev&&Ld(f.prev)||_c(f)}function Ld(f){return Ya(f)||f.type==="element"&&f.fullName==="br"||_c(f)}function _c(f){return kl(f)&&es(f)}function kl(f){return f.hasLeadingSpaces&&(f.prev?f.prev.sourceSpan.end.line<f.sourceSpan.start.line:f.parent.type==="root"||f.parent.startSourceSpan.end.line<f.sourceSpan.start.line)}function es(f){return f.hasTrailingSpaces&&(f.next?f.next.sourceSpan.start.line>f.sourceSpan.end.line:f.parent.type==="root"||f.parent.endSourceSpan&&f.parent.endSourceSpan.start.line>f.sourceSpan.end.line)}function Ya(f){switch(f.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(f.name)}return!1}function oi(f){return f.lastChild?oi(f.lastChild):f}function to(f){var g;return(g=f.children)==null?void 0:g.some(k=>k.type!=="text")}function wl(f){if(f)switch(f){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(f.endsWith("json")||f.endsWith("importmap")||f==="speculationrules")return"json"}}function Dl(f,g){let{name:k,attrMap:_}=f;if(k!=="script"||Object.prototype.hasOwnProperty.call(_,"src"))return;let{type:E,lang:M}=f.attrMap;return!M&&!E?"babel":V(g,{language:M})??wl(E)}function Rs(f,g){if(!Ar(f,g))return;let{attrMap:k}=f;if(Object.prototype.hasOwnProperty.call(k,"src"))return;let{type:_,lang:E}=k;return V(g,{language:E})??wl(_)}function Du(f,g){if(f.name!=="style")return;let{lang:k}=f.attrMap;return k?V(g,{language:k}):"css"}function Sl(f,g){return Dl(f,g)??Du(f,g)??Rs(f,g)}function si(f){return f==="block"||f==="list-item"||f.startsWith("table")}function np(f){return!si(f)&&f!=="inline-block"}function ts(f){return!si(f)&&f!=="inline-block"}function xn(f){return!si(f)}function Su(f){return!si(f)}function kn(f){return!si(f)&&f!=="inline-block"}function To(f){return Cl(f).startsWith("pre")}function Ao(f,g){let k=f;for(;k;){if(g(k))return!0;k=k.parent}return!1}function Mt(f,g){var k;if(li(f,g))return"block";if(((k=f.prev)==null?void 0:k.type)==="comment"){let E=f.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(E)return E[1]}let _=!1;if(f.type==="element"&&f.namespace==="svg")if(Ao(f,E=>E.fullName==="svg:foreignObject"))_=!0;else return f.name==="svg"?"inline-block":"block";switch(g.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return f.type==="element"&&(!f.namespace||_||Wt(f))&&Je[f.name]||Ae}}function Cl(f){return f.type==="element"&&(!f.namespace||Wt(f))&&Ht[f.name]||ct}function ua(f){let g=Number.POSITIVE_INFINITY;for(let k of f.split(`
|
|
1511
|
+
`)){if(k.length===0)continue;let _=bn.getLeadingWhitespaceCount(k);if(_===0)return 0;k.length!==_&&_<g&&(g=_)}return g===Number.POSITIVE_INFINITY?0:g}function no(f,g=ua(f)){return g===0?f:f.split(`
|
|
1512
1512
|
`).map(k=>k.slice(g)).join(`
|
|
1513
|
-
`)}function ba(f){return Z(!1,Z(!1,f,"'","'"),""",'"')}function
|
|
1514
|
-
`||f==="\f"||f==="\r"||f===" "}var _l=/^[ \t\n\r\u000c]+/,Tu=/^[, \t\n\r\u000c]+/,Au=/^[^ \t\n\r\u000c]+/,ao=/[,]+$/,F=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function fe(f){let g=f.length,k,_,E,M,U,ve=0,Ie;function et(Kt){let Mn,_r=Kt.exec(f.substring(ve));if(_r)return[Mn]=_r,ve+=Mn.length,Mn}let qe=[];for(;;){if(et(Tu),ve>=g){if(qe.length===0)throw new Error("Must contain one or more image candidate strings.");return qe}Ie=ve,k=et(Au),_=[],k.slice(-1)===","?(k=k.replace(ao,""),Jt()):Gt()}function Gt(){for(et(_l),E="",M="in descriptor";;){if(U=f.charAt(ve),M==="in descriptor")if(rs(U))E&&(_.push(E),E="",M="after descriptor");else if(U===","){ve+=1,E&&_.push(E),Jt();return}else if(U==="(")E+=U,M="in parens";else if(U===""){E&&_.push(E),Jt();return}else E+=U;else if(M==="in parens")if(U===")")E+=U,M="in descriptor";else if(U===""){_.push(E),Jt();return}else E+=U;else if(M==="after descriptor"&&!rs(U))if(U===""){Jt();return}else M="in descriptor",ve-=1;ve+=1}}function Jt(){let Kt=!1,Mn,_r,jr,Wr,ft={},an,xr,vr,Pr,gs;for(Wr=0;Wr<_.length;Wr++)an=_[Wr],xr=an[an.length-1],vr=an.substring(0,an.length-1),Pr=parseInt(vr,10),gs=parseFloat(vr),F.test(vr)&&xr==="w"?((Mn||_r)&&(Kt=!0),Pr===0?Kt=!0:Mn=Pr):q.test(vr)&&xr==="x"?((Mn||_r||jr)&&(Kt=!0),gs<0?Kt=!0:_r=gs):F.test(vr)&&xr==="h"?((jr||_r)&&(Kt=!0),Pr===0?Kt=!0:jr=Pr):Kt=!0;if(!Kt)ft.source={value:k,startOffset:Ie},Mn&&(ft.width={value:Mn}),_r&&(ft.density={value:_r}),jr&&(ft.height={value:jr}),qe.push(ft);else throw new Error(`Invalid srcset descriptor found in "${f}" at "${an}".`)}}var we=fe;function ze(f){if(f.node.fullName==="srcset"&&(f.parent.fullName==="img"||f.parent.fullName==="source"))return()=>At(ua(f.node))}var Tt={width:"w",height:"h",density:"x"},Qe=Object.keys(Tt);function At(f){let g=we(f),k=Qe.filter(qe=>g.some(Gt=>Object.prototype.hasOwnProperty.call(Gt,qe)));if(k.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[_]=k,E=Tt[_],M=g.map(qe=>qe.source.value),U=Math.max(...M.map(qe=>qe.length)),ve=g.map(qe=>qe[_]?String(qe[_].value):""),Ie=ve.map(qe=>{let Gt=qe.indexOf(".");return Gt===-1?qe.length:Gt}),et=Math.max(...Ie);return Xi(ee([",",un],M.map((qe,Gt)=>{let Jt=[qe],Kt=ve[Gt];if(Kt){let Mn=U-qe.length+1,_r=et-Ie[Gt],jr=" ".repeat(Mn+_r);Jt.push(kr(jr," "),Kt+E)}return Jt})))}var ln=ze;function wn(f,g){let{node:k}=f,_=ua(f.node).trim();if(k.fullName==="style"&&!g.parentParser&&!_.includes("{{"))return async E=>Xi(await E(_,{parser:"css",__isHTMLStyleAttribute:!0}))}var zn=new WeakMap;function Un(f,g){let{root:k}=f;return zn.has(k)||zn.set(k,k.children.some(_=>Cu(_,g)&&["ts","typescript"].includes(_.attrMap.lang))),zn.get(k)}var Yt=Un;function Hn(f,g,k){let{node:_}=k,E=ua(_);return lr(`type T<${E}> = any`,f,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},_i)}function gr(f,g,{parseWithTs:k}){return lr(`function _(${f}) {}`,g,{parser:k?"babel-ts":"babel",__isVueBindings:!0})}async function Ms(f,g,k,_){let E=ua(k.node),{left:M,operator:U,right:ve}=xc(E),Ie=Yt(k,_);return[Lt(await lr(`function _(${M}) {}`,f,{parser:Ie?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",U," ",await lr(ve,f,{parser:Ie?"__ts_expression":"__js_expression"})]}function xc(f){let g=/(.*?)\s+(in|of)\s+(.*)/su,k=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,_=/^\(|\)$/gu,E=f.match(g);if(!E)return;let M={};if(M.for=E[3].trim(),!M.for)return;let U=Z(!1,E[1].trim(),_,""),ve=U.match(k);ve?(M.alias=U.replace(k,""),M.iterator1=ve[1].trim(),ve[2]&&(M.iterator2=ve[2].trim())):M.alias=U;let Ie=[M.alias,M.iterator1,M.iterator2];if(!Ie.some((et,qe)=>!et&&(qe===0||Ie.slice(qe+1).some(Boolean))))return{left:Ie.filter(Boolean).join(","),operator:E[2],right:M.for}}function as(f,g){if(g.parser!=="vue")return;let{node:k}=f,_=k.fullName;if(_==="v-for")return Ms;if(_==="generic"&&Cu(k.parent,g))return Hn;let E=ua(k),M=Yt(f,g);if(Aa(k)||Ei(k,g))return U=>gr(E,U,{parseWithTs:M});if(_.startsWith("@")||_.startsWith("v-on:"))return U=>Ec(E,U,{parseWithTs:M});if(_.startsWith(":")||_.startsWith(".")||_.startsWith("v-bind:"))return U=>xl(E,U,{parseWithTs:M});if(_.startsWith("v-"))return U=>Bd(E,U,{parseWithTs:M})}async function Ec(f,g,{parseWithTs:k}){var _;try{return await Bd(f,g,{parseWithTs:k})}catch(E){if(((_=E.cause)==null?void 0:_.code)!=="BABEL_PARSER_SYNTAX_ERROR")throw E}return lr(f,g,{parser:k?"__vue_ts_event_binding":"__vue_event_binding"},_i)}function xl(f,g,{parseWithTs:k}){return lr(f,g,{parser:k?"__vue_ts_expression":"__vue_expression"},_i)}function Bd(f,g,{parseWithTs:k}){return lr(f,g,{parser:k?"__ts_expression":"__js_expression"},_i)}var Md=as;function ap(f,g){let{node:k}=f;if(k.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(g.originalText.slice(k.valueSpan.start.offset,k.valueSpan.end.offset))||g.parser==="lwc"&&k.value.startsWith("{")&&k.value.endsWith("}"))return[k.rawName,"=",k.value];for(let _ of[ln,wn,Eu,Md,Ai]){let E=_(f,g);if(E)return Kh(E)}}}function Kh(f){return async(g,k,_,E)=>{let M=await f(g,k,_,E);if(M)return M=bt(M,U=>typeof U=="string"?Z(!1,U,'"',"""):U),[_.node.rawName,'="',Lt(M),'"']}}var ip=ap,Id=new Proxy(()=>{},{get:()=>Id}),op=Id;function Qh(f){return Array.isArray(f)&&f.length>0}var sp=Qh;function ui(f){return f.sourceSpan.start.offset}function El(f){return f.sourceSpan.end.offset}function Tc(f,g){return[f.isSelfClosing?"":lp(f,g),Tl(f,g)]}function lp(f,g){return f.lastChild&&Al(f.lastChild)?"":[Xh(f,g),jd(f,g)]}function Tl(f,g){return(f.next?er(f.next):ci(f.parent))?"":[Zr(f,g),$o(f,g)]}function Xh(f,g){return ci(f)?Zr(f.lastChild,g):""}function $o(f,g){return Al(f)?jd(f.parent,g):is(f)?zd(f.next,g):""}function jd(f,g){if(op.ok(!f.isSelfClosing),Po(f,g))return"";switch(f.type){case"ieConditionalComment":return"<!";case"element":if(f.hasHtmComponentClosingTag)return"<//";default:return`</${f.rawName}`}}function Zr(f,g){if(Po(f,g))return"";switch(f.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(f.isSelfClosing)return"/>";default:return">"}}function Po(f,g){return!f.isSelfClosing&&!f.endSourceSpan&&(Lr(f)||Zn(f.parent,g))}function er(f){return f.prev&&f.prev.type!=="docType"&&f.type!=="angularControlFlowBlock"&&!Sr(f.prev)&&f.isLeadingSpaceSensitive&&!f.hasLeadingSpaces}function ci(f){var g;return((g=f.lastChild)==null?void 0:g.isTrailingSpaceSensitive)&&!f.lastChild.hasTrailingSpaces&&!Sr(oi(f.lastChild))&&!To(f)}function Al(f){return!f.next&&!f.hasTrailingSpaces&&f.isTrailingSpaceSensitive&&Sr(oi(f))}function is(f){return f.next&&!Sr(f.next)&&Sr(f)&&f.isTrailingSpaceSensitive&&!f.hasTrailingSpaces}function Ac(f){let g=f.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return g?g[1]?g[1].split(/\s+/u):!0:!1}function Is(f){return!f.prev&&f.isLeadingSpaceSensitive&&!f.hasLeadingSpaces}function Jh(f,g,k){var _;let{node:E}=f;if(!sp(E.attrs))return E.isSelfClosing?" ":"";let M=((_=E.prev)==null?void 0:_.type)==="comment"&&Ac(E.prev.value),U=typeof M=="boolean"?()=>M:Array.isArray(M)?Gt=>M.includes(Gt.rawName):()=>!1,ve=f.map(({node:Gt})=>U(Gt)?vt(g.originalText.slice(ui(Gt),El(Gt))):k(),"attrs"),Ie=E.type==="element"&&E.fullName==="script"&&E.attrs.length===1&&E.attrs[0].fullName==="src"&&E.children.length===0,et=g.singleAttributePerLine&&E.attrs.length>1&&!li(E,g)?sn:un,qe=[en([Ie?" ":un,ee(et,ve)])];return E.firstChild&&Is(E.firstChild)||E.isSelfClosing&&ci(E.parent)||Ie?qe.push(E.isSelfClosing?" ":""):qe.push(g.bracketSameLine?E.isSelfClosing?" ":"":E.isSelfClosing?un:yn),qe}function Zh(f){return f.firstChild&&Is(f.firstChild)?"":up(f)}function Fu(f,g,k){let{node:_}=f;return[$u(_,g),Jh(f,g,k),_.isSelfClosing?"":Zh(_)]}function $u(f,g){return f.prev&&is(f.prev)?"":[js(f,g),zd(f,g)]}function js(f,g){return Is(f)?up(f.parent):er(f)?Zr(f.prev,g):""}var Fl="<!doctype";function zd(f,g){switch(f.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${f.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(f.value==="html"){let k=g.filepath??"";if(/\.html?$/u.test(k))return Fl}return g.originalText.slice(ui(f),El(f)).slice(0,Fl.length)}case"angularIcuExpression":return"{";case"element":if(f.condition)return`<!--[if ${f.condition}]><!--><${f.rawName}`;default:return`<${f.rawName}`}}function up(f){switch(op.ok(!f.isSelfClosing),f.type){case"ieConditionalComment":return"]>";case"element":if(f.condition)return"><!--<![endif]-->";default:return">"}}function ev(f,g){if(!f.endSourceSpan)return"";let k=f.startSourceSpan.end.offset;f.firstChild&&Is(f.firstChild)&&(k-=up(f).length);let _=f.endSourceSpan.start.offset;return f.lastChild&&Al(f.lastChild)?_+=jd(f,g).length:ci(f)&&(_-=Zr(f.lastChild,g).length),g.originalText.slice(k,_)}var cp=ev,dp=new Set(["if","else if","for","switch","case"]);function No(f,g){let{node:k}=f;switch(k.type){case"element":if(Et(k)||k.type==="interpolation")return;if(!k.isSelfClosing&&Ar(k,g)){let _=Sl(k,g);return _?async(E,M)=>{let U=cp(k,g),ve=/^\s*$/u.test(U),Ie="";return ve||(Ie=await E(Dr(U),{parser:_,__embeddedInHtml:!0}),ve=Ie===""),[js(k,g),Lt(Fu(f,g,M)),ve?"":sn,Ie,ve?"":sn,Tc(k,g),$o(k,g)]}:void 0}break;case"text":if(Et(k.parent)){let _=Sl(k.parent,g);if(_)return async E=>{let M=_==="markdown"?no(k.value.replace(/^[^\S\n]*\n/u,"")):k.value,U={parser:_,__embeddedInHtml:!0};if(g.parser==="html"&&_==="babel"){let ve="script",{attrMap:Ie}=k.parent;Ie&&(Ie.type==="module"||Ie.type==="text/babel"&&Ie["data-type"]==="module")&&(ve="module"),U.__babelSourceType=ve}return[Rr,js(k,g),await E(M,U),$o(k,g)]}}else if(k.parent.type==="interpolation")return async _=>{let E={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return g.parser==="angular"?E.parser="__ng_interpolation":g.parser==="vue"?E.parser=Yt(f,g)?"__vue_ts_expression":"__vue_expression":E.parser="__js_expression",[en([un,await _(k.value,E)]),k.parent.next&&er(k.parent.next)?" ":un]};break;case"attribute":return ip(f,g);case"front-matter":return _=>Ps(k,_);case"angularControlFlowBlockParameters":return dp.has(f.parent.name)?oa:void 0;case"angularLetDeclarationInitializer":return _=>lr(k.value,_,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var $l=No,Pu=null;function os(f){if(Pu!==null&&typeof Pu.property){let g=Pu;return Pu=os.prototype=null,g}return Pu=os.prototype=f??Object.create(null),new os}var tv=10;for(let f=0;f<=tv;f++)os();function em(f){return os(f)}function fp(f,g="type"){em(f);function k(_){let E=_[g],M=f[E];if(!Array.isArray(M))throw Object.assign(new Error(`Missing visitor keys for '${E}'.`),{node:_});return M}return k}var pp=fp,tm={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},nm=tm,rm=pp(nm),nv=rm;function am(f){return/^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(f)}function rv(f){return`<!-- @format -->
|
|
1513
|
+
`)}function ba(f){return Z(!1,Z(!1,f,"'","'"),""",'"')}function ca(f){return ba(f.value)}var ur=new Set(["template","style","script"]);function Fn(f,g){return li(f,g)&&!ur.has(f.fullName)}function li(f,g){return g.parser==="vue"&&f.type==="element"&&f.parent.type==="root"&&f.fullName.toLowerCase()!=="html"}function Ar(f,g){return li(f,g)&&(Fn(f,g)||f.attrMap.lang&&f.attrMap.lang!=="html")}function Aa(f){let g=f.fullName;return g.charAt(0)==="#"||g==="slot-scope"||g==="v-slot"||g.startsWith("v-slot:")}function Ei(f,g){let k=f.parent;if(!li(k,g))return!1;let _=k.fullName,E=f.fullName;return _==="script"&&E==="setup"||_==="style"&&E==="vars"}function Ls(f,g=f.value){return f.parent.isWhitespaceSensitive?f.parent.isIndentationSensitive?vt(g):vt(no(Dr(g)),sn):ee(un,bn.split(g))}function Cu(f,g){return li(f,g)&&f.name==="script"}var _u=/\{\{(.+?)\}\}/su;async function Bs(f,g){let k=[];for(let[_,E]of f.split(_u).entries())if(_%2===0)k.push(vt(E));else try{k.push(Lt(["{{",en([un,await lr(E,g,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),un,"}}"]))}catch{k.push("{{",vt(E),"}}")}return k}function ns({parser:f}){return(g,k,_)=>lr(ca(_.node),g,{parser:f},_i)}var rp=ns({parser:"__ng_action"}),Ti=ns({parser:"__ng_binding"}),ro=ns({parser:"__ng_directive"});function Fo(f,g){if(g.parser!=="angular")return;let{node:k}=f,_=k.fullName;if(_.startsWith("(")&&_.endsWith(")")||_.startsWith("on-"))return rp;if(_.startsWith("[")&&_.endsWith("]")||/^bind(?:on)?-/u.test(_)||/^ng-(?:if|show|hide|class|style)$/u.test(_))return Ti;if(_.startsWith("*"))return ro;let E=ca(k);if(/^i18n(?:-.+)?$/u.test(_))return()=>Xi(Nn(Ls(k,E.trim())),!E.includes("@@"));if(_u.test(E))return M=>Bs(E,M)}var Ai=Fo;function xu(f,g){let{node:k}=f,_=ca(k);if(k.fullName==="class"&&!g.parentParser&&!_.includes("{{"))return()=>_.trim().split(/\s+/u).join(" ")}var Eu=xu;function rs(f){return f===" "||f===`
|
|
1514
|
+
`||f==="\f"||f==="\r"||f===" "}var _l=/^[ \t\n\r\u000c]+/,Tu=/^[, \t\n\r\u000c]+/,Au=/^[^ \t\n\r\u000c]+/,ao=/[,]+$/,F=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function fe(f){let g=f.length,k,_,E,M,U,ve=0,Ie;function et(Kt){let Mn,_r=Kt.exec(f.substring(ve));if(_r)return[Mn]=_r,ve+=Mn.length,Mn}let qe=[];for(;;){if(et(Tu),ve>=g){if(qe.length===0)throw new Error("Must contain one or more image candidate strings.");return qe}Ie=ve,k=et(Au),_=[],k.slice(-1)===","?(k=k.replace(ao,""),Jt()):Gt()}function Gt(){for(et(_l),E="",M="in descriptor";;){if(U=f.charAt(ve),M==="in descriptor")if(rs(U))E&&(_.push(E),E="",M="after descriptor");else if(U===","){ve+=1,E&&_.push(E),Jt();return}else if(U==="(")E+=U,M="in parens";else if(U===""){E&&_.push(E),Jt();return}else E+=U;else if(M==="in parens")if(U===")")E+=U,M="in descriptor";else if(U===""){_.push(E),Jt();return}else E+=U;else if(M==="after descriptor"&&!rs(U))if(U===""){Jt();return}else M="in descriptor",ve-=1;ve+=1}}function Jt(){let Kt=!1,Mn,_r,jr,Yr,ft={},an,xr,vr,Pr,gs;for(Yr=0;Yr<_.length;Yr++)an=_[Yr],xr=an[an.length-1],vr=an.substring(0,an.length-1),Pr=parseInt(vr,10),gs=parseFloat(vr),F.test(vr)&&xr==="w"?((Mn||_r)&&(Kt=!0),Pr===0?Kt=!0:Mn=Pr):q.test(vr)&&xr==="x"?((Mn||_r||jr)&&(Kt=!0),gs<0?Kt=!0:_r=gs):F.test(vr)&&xr==="h"?((jr||_r)&&(Kt=!0),Pr===0?Kt=!0:jr=Pr):Kt=!0;if(!Kt)ft.source={value:k,startOffset:Ie},Mn&&(ft.width={value:Mn}),_r&&(ft.density={value:_r}),jr&&(ft.height={value:jr}),qe.push(ft);else throw new Error(`Invalid srcset descriptor found in "${f}" at "${an}".`)}}var we=fe;function ze(f){if(f.node.fullName==="srcset"&&(f.parent.fullName==="img"||f.parent.fullName==="source"))return()=>At(ca(f.node))}var Tt={width:"w",height:"h",density:"x"},Qe=Object.keys(Tt);function At(f){let g=we(f),k=Qe.filter(qe=>g.some(Gt=>Object.prototype.hasOwnProperty.call(Gt,qe)));if(k.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[_]=k,E=Tt[_],M=g.map(qe=>qe.source.value),U=Math.max(...M.map(qe=>qe.length)),ve=g.map(qe=>qe[_]?String(qe[_].value):""),Ie=ve.map(qe=>{let Gt=qe.indexOf(".");return Gt===-1?qe.length:Gt}),et=Math.max(...Ie);return Xi(ee([",",un],M.map((qe,Gt)=>{let Jt=[qe],Kt=ve[Gt];if(Kt){let Mn=U-qe.length+1,_r=et-Ie[Gt],jr=" ".repeat(Mn+_r);Jt.push(kr(jr," "),Kt+E)}return Jt})))}var ln=ze;function wn(f,g){let{node:k}=f,_=ca(f.node).trim();if(k.fullName==="style"&&!g.parentParser&&!_.includes("{{"))return async E=>Xi(await E(_,{parser:"css",__isHTMLStyleAttribute:!0}))}var zn=new WeakMap;function Un(f,g){let{root:k}=f;return zn.has(k)||zn.set(k,k.children.some(_=>Cu(_,g)&&["ts","typescript"].includes(_.attrMap.lang))),zn.get(k)}var Yt=Un;function Hn(f,g,k){let{node:_}=k,E=ca(_);return lr(`type T<${E}> = any`,f,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},_i)}function gr(f,g,{parseWithTs:k}){return lr(`function _(${f}) {}`,g,{parser:k?"babel-ts":"babel",__isVueBindings:!0})}async function Ms(f,g,k,_){let E=ca(k.node),{left:M,operator:U,right:ve}=xc(E),Ie=Yt(k,_);return[Lt(await lr(`function _(${M}) {}`,f,{parser:Ie?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",U," ",await lr(ve,f,{parser:Ie?"__ts_expression":"__js_expression"})]}function xc(f){let g=/(.*?)\s+(in|of)\s+(.*)/su,k=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,_=/^\(|\)$/gu,E=f.match(g);if(!E)return;let M={};if(M.for=E[3].trim(),!M.for)return;let U=Z(!1,E[1].trim(),_,""),ve=U.match(k);ve?(M.alias=U.replace(k,""),M.iterator1=ve[1].trim(),ve[2]&&(M.iterator2=ve[2].trim())):M.alias=U;let Ie=[M.alias,M.iterator1,M.iterator2];if(!Ie.some((et,qe)=>!et&&(qe===0||Ie.slice(qe+1).some(Boolean))))return{left:Ie.filter(Boolean).join(","),operator:E[2],right:M.for}}function as(f,g){if(g.parser!=="vue")return;let{node:k}=f,_=k.fullName;if(_==="v-for")return Ms;if(_==="generic"&&Cu(k.parent,g))return Hn;let E=ca(k),M=Yt(f,g);if(Aa(k)||Ei(k,g))return U=>gr(E,U,{parseWithTs:M});if(_.startsWith("@")||_.startsWith("v-on:"))return U=>Ec(E,U,{parseWithTs:M});if(_.startsWith(":")||_.startsWith(".")||_.startsWith("v-bind:"))return U=>xl(E,U,{parseWithTs:M});if(_.startsWith("v-"))return U=>Bd(E,U,{parseWithTs:M})}async function Ec(f,g,{parseWithTs:k}){var _;try{return await Bd(f,g,{parseWithTs:k})}catch(E){if(((_=E.cause)==null?void 0:_.code)!=="BABEL_PARSER_SYNTAX_ERROR")throw E}return lr(f,g,{parser:k?"__vue_ts_event_binding":"__vue_event_binding"},_i)}function xl(f,g,{parseWithTs:k}){return lr(f,g,{parser:k?"__vue_ts_expression":"__vue_expression"},_i)}function Bd(f,g,{parseWithTs:k}){return lr(f,g,{parser:k?"__ts_expression":"__js_expression"},_i)}var Md=as;function ap(f,g){let{node:k}=f;if(k.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(g.originalText.slice(k.valueSpan.start.offset,k.valueSpan.end.offset))||g.parser==="lwc"&&k.value.startsWith("{")&&k.value.endsWith("}"))return[k.rawName,"=",k.value];for(let _ of[ln,wn,Eu,Md,Ai]){let E=_(f,g);if(E)return Kh(E)}}}function Kh(f){return async(g,k,_,E)=>{let M=await f(g,k,_,E);if(M)return M=bt(M,U=>typeof U=="string"?Z(!1,U,'"',"""):U),[_.node.rawName,'="',Lt(M),'"']}}var ip=ap,Id=new Proxy(()=>{},{get:()=>Id}),op=Id;function Qh(f){return Array.isArray(f)&&f.length>0}var sp=Qh;function ui(f){return f.sourceSpan.start.offset}function El(f){return f.sourceSpan.end.offset}function Tc(f,g){return[f.isSelfClosing?"":lp(f,g),Tl(f,g)]}function lp(f,g){return f.lastChild&&Al(f.lastChild)?"":[Xh(f,g),jd(f,g)]}function Tl(f,g){return(f.next?er(f.next):ci(f.parent))?"":[Zr(f,g),$o(f,g)]}function Xh(f,g){return ci(f)?Zr(f.lastChild,g):""}function $o(f,g){return Al(f)?jd(f.parent,g):is(f)?zd(f.next,g):""}function jd(f,g){if(op.ok(!f.isSelfClosing),Po(f,g))return"";switch(f.type){case"ieConditionalComment":return"<!";case"element":if(f.hasHtmComponentClosingTag)return"<//";default:return`</${f.rawName}`}}function Zr(f,g){if(Po(f,g))return"";switch(f.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(f.isSelfClosing)return"/>";default:return">"}}function Po(f,g){return!f.isSelfClosing&&!f.endSourceSpan&&(Lr(f)||Zn(f.parent,g))}function er(f){return f.prev&&f.prev.type!=="docType"&&f.type!=="angularControlFlowBlock"&&!Sr(f.prev)&&f.isLeadingSpaceSensitive&&!f.hasLeadingSpaces}function ci(f){var g;return((g=f.lastChild)==null?void 0:g.isTrailingSpaceSensitive)&&!f.lastChild.hasTrailingSpaces&&!Sr(oi(f.lastChild))&&!To(f)}function Al(f){return!f.next&&!f.hasTrailingSpaces&&f.isTrailingSpaceSensitive&&Sr(oi(f))}function is(f){return f.next&&!Sr(f.next)&&Sr(f)&&f.isTrailingSpaceSensitive&&!f.hasTrailingSpaces}function Ac(f){let g=f.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return g?g[1]?g[1].split(/\s+/u):!0:!1}function Is(f){return!f.prev&&f.isLeadingSpaceSensitive&&!f.hasLeadingSpaces}function Jh(f,g,k){var _;let{node:E}=f;if(!sp(E.attrs))return E.isSelfClosing?" ":"";let M=((_=E.prev)==null?void 0:_.type)==="comment"&&Ac(E.prev.value),U=typeof M=="boolean"?()=>M:Array.isArray(M)?Gt=>M.includes(Gt.rawName):()=>!1,ve=f.map(({node:Gt})=>U(Gt)?vt(g.originalText.slice(ui(Gt),El(Gt))):k(),"attrs"),Ie=E.type==="element"&&E.fullName==="script"&&E.attrs.length===1&&E.attrs[0].fullName==="src"&&E.children.length===0,et=g.singleAttributePerLine&&E.attrs.length>1&&!li(E,g)?sn:un,qe=[en([Ie?" ":un,ee(et,ve)])];return E.firstChild&&Is(E.firstChild)||E.isSelfClosing&&ci(E.parent)||Ie?qe.push(E.isSelfClosing?" ":""):qe.push(g.bracketSameLine?E.isSelfClosing?" ":"":E.isSelfClosing?un:yn),qe}function Zh(f){return f.firstChild&&Is(f.firstChild)?"":up(f)}function Fu(f,g,k){let{node:_}=f;return[$u(_,g),Jh(f,g,k),_.isSelfClosing?"":Zh(_)]}function $u(f,g){return f.prev&&is(f.prev)?"":[js(f,g),zd(f,g)]}function js(f,g){return Is(f)?up(f.parent):er(f)?Zr(f.prev,g):""}var Fl="<!doctype";function zd(f,g){switch(f.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${f.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(f.value==="html"){let k=g.filepath??"";if(/\.html?$/u.test(k))return Fl}return g.originalText.slice(ui(f),El(f)).slice(0,Fl.length)}case"angularIcuExpression":return"{";case"element":if(f.condition)return`<!--[if ${f.condition}]><!--><${f.rawName}`;default:return`<${f.rawName}`}}function up(f){switch(op.ok(!f.isSelfClosing),f.type){case"ieConditionalComment":return"]>";case"element":if(f.condition)return"><!--<![endif]-->";default:return">"}}function ev(f,g){if(!f.endSourceSpan)return"";let k=f.startSourceSpan.end.offset;f.firstChild&&Is(f.firstChild)&&(k-=up(f).length);let _=f.endSourceSpan.start.offset;return f.lastChild&&Al(f.lastChild)?_+=jd(f,g).length:ci(f)&&(_-=Zr(f.lastChild,g).length),g.originalText.slice(k,_)}var cp=ev,dp=new Set(["if","else if","for","switch","case"]);function No(f,g){let{node:k}=f;switch(k.type){case"element":if(Et(k)||k.type==="interpolation")return;if(!k.isSelfClosing&&Ar(k,g)){let _=Sl(k,g);return _?async(E,M)=>{let U=cp(k,g),ve=/^\s*$/u.test(U),Ie="";return ve||(Ie=await E(Dr(U),{parser:_,__embeddedInHtml:!0}),ve=Ie===""),[js(k,g),Lt(Fu(f,g,M)),ve?"":sn,Ie,ve?"":sn,Tc(k,g),$o(k,g)]}:void 0}break;case"text":if(Et(k.parent)){let _=Sl(k.parent,g);if(_)return async E=>{let M=_==="markdown"?no(k.value.replace(/^[^\S\n]*\n/u,"")):k.value,U={parser:_,__embeddedInHtml:!0};if(g.parser==="html"&&_==="babel"){let ve="script",{attrMap:Ie}=k.parent;Ie&&(Ie.type==="module"||Ie.type==="text/babel"&&Ie["data-type"]==="module")&&(ve="module"),U.__babelSourceType=ve}return[Rr,js(k,g),await E(M,U),$o(k,g)]}}else if(k.parent.type==="interpolation")return async _=>{let E={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return g.parser==="angular"?E.parser="__ng_interpolation":g.parser==="vue"?E.parser=Yt(f,g)?"__vue_ts_expression":"__vue_expression":E.parser="__js_expression",[en([un,await _(k.value,E)]),k.parent.next&&er(k.parent.next)?" ":un]};break;case"attribute":return ip(f,g);case"front-matter":return _=>Ps(k,_);case"angularControlFlowBlockParameters":return dp.has(f.parent.name)?sa:void 0;case"angularLetDeclarationInitializer":return _=>lr(k.value,_,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var $l=No,Pu=null;function os(f){if(Pu!==null&&typeof Pu.property){let g=Pu;return Pu=os.prototype=null,g}return Pu=os.prototype=f??Object.create(null),new os}var tv=10;for(let f=0;f<=tv;f++)os();function em(f){return os(f)}function fp(f,g="type"){em(f);function k(_){let E=_[g],M=f[E];if(!Array.isArray(M))throw Object.assign(new Error(`Missing visitor keys for '${E}'.`),{node:_});return M}return k}var pp=fp,tm={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},nm=tm,rm=pp(nm),nv=rm;function am(f){return/^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(f)}function rv(f){return`<!-- @format -->
|
|
1515
1515
|
|
|
1516
|
-
`+f}var im=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function om(f){let g=El(f);return f.type==="element"&&!f.endSourceSpan&&sp(f.children)?Math.max(g,om(_e(!1,f.children,-1))):g}function Fa(f,g,k){let _=f.node;if(Lr(_)){let E=om(_);return[js(_,g),vt(bn.trimEnd(g.originalText.slice(ui(_)+(_.prev&&is(_.prev)?zd(_).length:0),E-(_.next&&er(_.next)?Zr(_,g).length:0)))),$o(_,g)]}return k()}function zs(f,g){return Sr(f)&&Sr(g)?f.isTrailingSpaceSensitive?f.hasTrailingSpaces?
|
|
1516
|
+
`+f}var im=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function om(f){let g=El(f);return f.type==="element"&&!f.endSourceSpan&&sp(f.children)?Math.max(g,om(_e(!1,f.children,-1))):g}function Fa(f,g,k){let _=f.node;if(Lr(_)){let E=om(_);return[js(_,g),vt(bn.trimEnd(g.originalText.slice(ui(_)+(_.prev&&is(_.prev)?zd(_).length:0),E-(_.next&&er(_.next)?Zr(_,g).length:0)))),$o(_,g)]}return k()}function zs(f,g){return Sr(f)&&Sr(g)?f.isTrailingSpaceSensitive?f.hasTrailingSpaces?la(g)?sn:un:"":la(g)?sn:yn:is(f)&&(Lr(g)||g.firstChild||g.isSelfClosing||g.type==="element"&&g.attrs.length>0)||f.type==="element"&&f.isSelfClosing&&er(g)?"":!g.isLeadingSpaceSensitive||la(g)||er(g)&&f.lastChild&&Al(f.lastChild)&&f.lastChild.lastChild&&Al(f.lastChild.lastChild)?sn:g.hasLeadingSpaces?un:yn}function Ud(f,g,k){let{node:_}=f;if(wu(_))return[Rr,...f.map(M=>{let U=M.node,ve=U.prev?zs(U.prev,U):"";return[ve?[ve,eo(U.prev)?sn:""]:"",Fa(M,g,k)]},"children")];let E=_.children.map(()=>Symbol(""));return f.map((M,U)=>{let ve=M.node;if(Sr(ve)){if(ve.prev&&Sr(ve.prev)){let Mn=zs(ve.prev,ve);if(Mn)return eo(ve.prev)?[sn,sn,Fa(M,g,k)]:[Mn,Fa(M,g,k)]}return Fa(M,g,k)}let Ie=[],et=[],qe=[],Gt=[],Jt=ve.prev?zs(ve.prev,ve):"",Kt=ve.next?zs(ve,ve.next):"";return Jt&&(eo(ve.prev)?Ie.push(sn,sn):Jt===sn?Ie.push(sn):Sr(ve.prev)?et.push(Jt):et.push(kr("",yn,{groupId:E[U-1]}))),Kt&&(eo(ve)?Sr(ve.next)&&Gt.push(sn,sn):Kt===sn?Sr(ve.next)&&Gt.push(sn):qe.push(Kt)),[...Ie,Lt([...et,Lt([Fa(M,g,k),...qe],{id:E[U]})]),...Gt]},"children")}function Hd(f,g,k){let{node:_}=f,E=[];Fc(f)&&E.push("} "),E.push("@",_.name),_.parameters&&E.push(" (",Lt(k("parameters")),")"),E.push(" {");let M=ss(_);return _.children.length>0?(_.firstChild.hasLeadingSpaces=!0,_.lastChild.hasTrailingSpaces=!0,E.push(en([sn,Ud(f,g,k)])),M&&E.push(sn,"}")):M&&E.push("}"),Lt(E,{shouldBreak:!0})}function ss(f){var g,k;return!(((g=f.next)==null?void 0:g.type)==="angularControlFlowBlock"&&(k=im.get(f.name))!=null&&k.has(f.next.name))}function Fc(f){let{previous:g}=f;return(g==null?void 0:g.type)==="angularControlFlowBlock"&&!Lr(g)&&!ss(g)}function qd(f,g,k){return[en([yn,ee([";",un],f.map(k,"children"))]),yn]}function Nu(f,g,k){let{node:_}=f;return[$u(_,g),Lt([_.switchValue.trim(),", ",_.clause,_.cases.length>0?[",",en([un,ee(un,f.map(k,"cases"))])]:"",yn]),Tl(_,g)]}function av(f,g,k){let{node:_}=f;return[_.value," {",Lt([en([yn,f.map(({node:E,isLast:M})=>{let U=[k()];return E.type==="text"&&(E.hasLeadingSpaces&&U.unshift(un),E.hasTrailingSpaces&&!M&&U.push(un)),U},"expression")]),yn]),"}"]}function Ou(f,g,k){let{node:_}=f;if(Zn(_,g))return[js(_,g),Lt(Fu(f,g,k)),vt(cp(_,g)),...Tc(_,g),$o(_,g)];let E=_.children.length===1&&(_.firstChild.type==="interpolation"||_.firstChild.type==="angularIcuExpression")&&_.firstChild.isLeadingSpaceSensitive&&!_.firstChild.hasLeadingSpaces&&_.lastChild.isTrailingSpaceSensitive&&!_.lastChild.hasTrailingSpaces,M=Symbol("element-attr-group-id"),U=qe=>Lt([Lt(Fu(f,g,k),{id:M}),qe,Tc(_,g)]),ve=qe=>E?Qi(qe,{groupId:M}):(Et(_)||Fn(_,g))&&_.parent.type==="root"&&g.parser==="vue"&&!g.vueIndentScriptAndStyle?qe:en(qe),Ie=()=>E?kr(yn,"",{groupId:M}):_.firstChild.hasLeadingSpaces&&_.firstChild.isLeadingSpaceSensitive?un:_.firstChild.type==="text"&&_.isWhitespaceSensitive&&_.isIndentationSensitive?at(yn):yn,et=()=>(_.next?er(_.next):ci(_.parent))?_.lastChild.hasTrailingSpaces&&_.lastChild.isTrailingSpaceSensitive?" ":"":E?kr(yn,"",{groupId:M}):_.lastChild.hasTrailingSpaces&&_.lastChild.isTrailingSpaceSensitive?un:(_.lastChild.type==="comment"||_.lastChild.type==="text"&&_.isWhitespaceSensitive&&_.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${g.tabWidth*(f.ancestors.length-1)}}$`,"u").test(_.lastChild.value)?"":yn;return _.children.length===0?U(_.hasDanglingSpaces&&_.isDanglingSpaceSensitive?un:""):U([Wa(_)?Rr:"",ve([Ie(),Ud(f,g,k)]),et()])}function Ru(f){return f>=9&&f<=32||f==160}function Pl(f){return 48<=f&&f<=57}function Lu(f){return f>=97&&f<=122||f>=65&&f<=90}function hp(f){return f>=97&&f<=102||f>=65&&f<=70||Pl(f)}function Bu(f){return f===10||f===13}function Us(f){return 48<=f&&f<=55}function Vr(f){return f===39||f===34||f===96}var mp=/-+([a-z0-9])/g;function Vd(f){return f.replace(mp,(...g)=>g[1].toUpperCase())}var Wd=class _${constructor(g,k,_,E){this.file=g,this.offset=k,this.line=_,this.col=E}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(g){let k=this.file.content,_=k.length,E=this.offset,M=this.line,U=this.col;for(;E>0&&g<0;)if(E--,g++,k.charCodeAt(E)==10){M--;let ve=k.substring(0,E-1).lastIndexOf(`
|
|
1517
1517
|
`);U=ve>0?E-ve:E}else U--;for(;E<_&&g>0;){let ve=k.charCodeAt(E);E++,g--,ve==10?(M++,U=0):U++}return new _$(this.file,E,M,U)}getContext(g,k){let _=this.file.content,E=this.offset;if(E!=null){E>_.length-1&&(E=_.length-1);let M=E,U=0,ve=0;for(;U<g&&E>0&&(E--,U++,!(_[E]==`
|
|
1518
1518
|
`&&++ve==k)););for(U=0,ve=0;U<g&&M<_.length-1&&(M++,U++,!(_[M]==`
|
|
1519
1519
|
`&&++ve==k)););return{before:_.substring(E,this.offset),after:_.substring(this.offset,M+1)}}return null}},gp=class{constructor(f,g){this.content=f,this.url=g}},nn=class{constructor(f,g,k=f,_=null){this.start=f,this.end=g,this.fullStart=k,this.details=_}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},$c;(function(f){f[f.WARNING=0]="WARNING",f[f.ERROR=1]="ERROR"})($c||($c={}));var Yd=class{constructor(f,g,k=$c.ERROR){this.span=f,this.msg=g,this.level=k}contextualMessage(){let f=this.span.start.getContext(100,3);return f?`${this.msg} ("${f.before}[${$c[this.level]} ->]${f.after}")`:this.msg}toString(){let f=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${f}`}},Gd=[vp,Nl,ov,yp,Kd,Qd,Ol,On,Xd,Pc];function Fi(f,g){for(let k of Gd)k(f,g);return f}function vp(f){f.walk(g=>{if(g.type==="element"&&g.tagDefinition.ignoreFirstLf&&g.children.length>0&&g.children[0].type==="text"&&g.children[0].value[0]===`
|
|
1520
1520
|
`){let k=g.children[0];k.value.length===1?g.removeChild(k):k.value=k.value.slice(1)}})}function Nl(f){let g=k=>{var _,E;return k.type==="element"&&((_=k.prev)==null?void 0:_.type)==="ieConditionalStartComment"&&k.prev.sourceSpan.end.offset===k.startSourceSpan.start.offset&&((E=k.firstChild)==null?void 0:E.type)==="ieConditionalEndComment"&&k.firstChild.sourceSpan.start.offset===k.startSourceSpan.end.offset};f.walk(k=>{if(k.children)for(let _=0;_<k.children.length;_++){let E=k.children[_];if(!g(E))continue;let M=E.prev,U=E.firstChild;k.removeChild(M),_--;let ve=new nn(M.sourceSpan.start,U.sourceSpan.end),Ie=new nn(ve.start,E.sourceSpan.end);E.condition=M.condition,E.sourceSpan=Ie,E.startSourceSpan=ve,E.removeChild(U)}})}function iv(f,g,k){f.walk(_=>{if(_.children)for(let E=0;E<_.children.length;E++){let M=_.children[E];if(M.type!=="text"&&!g(M))continue;M.type!=="text"&&(M.type="text",M.value=k(M));let U=M.prev;!U||U.type!=="text"||(U.value+=M.value,U.sourceSpan=new nn(U.sourceSpan.start,M.sourceSpan.end),_.removeChild(M),E--)}})}function ov(f){return iv(f,g=>g.type==="cdata",g=>`<![CDATA[${g.value}]]>`)}function Pc(f){let g=k=>{var _,E;return k.type==="element"&&k.attrs.length===0&&k.children.length===1&&k.firstChild.type==="text"&&!bn.hasWhitespaceCharacter(k.children[0].value)&&!k.firstChild.hasLeadingSpaces&&!k.firstChild.hasTrailingSpaces&&k.isLeadingSpaceSensitive&&!k.hasLeadingSpaces&&k.isTrailingSpaceSensitive&&!k.hasTrailingSpaces&&((_=k.prev)==null?void 0:_.type)==="text"&&((E=k.next)==null?void 0:E.type)==="text"};f.walk(k=>{if(k.children)for(let _=0;_<k.children.length;_++){let E=k.children[_];if(!g(E))continue;let M=E.prev,U=E.next;M.value+=`<${E.rawName}>`+E.firstChild.value+`</${E.rawName}>`+U.value,M.sourceSpan=new nn(M.sourceSpan.start,U.sourceSpan.end),M.isTrailingSpaceSensitive=U.isTrailingSpaceSensitive,M.hasTrailingSpaces=U.hasTrailingSpaces,k.removeChild(E),_--,k.removeChild(U)}})}function yp(f,g){if(g.parser==="html")return;let k=/\{\{(.+?)\}\}/su;f.walk(_=>{if(Xt(_))for(let E of _.children){if(E.type!=="text")continue;let M=E.sourceSpan.start,U=null,ve=E.value.split(k);for(let Ie=0;Ie<ve.length;Ie++,M=U){let et=ve[Ie];if(Ie%2===0){U=M.moveBy(et.length),et.length>0&&_.insertChildBefore(E,{type:"text",value:et,sourceSpan:new nn(M,U)});continue}U=M.moveBy(et.length+4),_.insertChildBefore(E,{type:"interpolation",sourceSpan:new nn(M,U),children:et.length===0?[]:[{type:"text",value:et,sourceSpan:new nn(M.moveBy(2),U.moveBy(-2))}]})}_.removeChild(E)}})}function Kd(f){f.walk(g=>{let k=g.$children;if(!k)return;if(k.length===0||k.length===1&&k[0].type==="text"&&bn.trim(k[0].value).length===0){g.hasDanglingSpaces=k.length>0,g.$children=[];return}let _=Zi(g),E=Ns(g);if(!_)for(let M=0;M<k.length;M++){let U=k[M];if(U.type!=="text")continue;let{leadingWhitespace:ve,text:Ie,trailingWhitespace:et}=Jn(U.value),qe=U.prev,Gt=U.next;Ie?(U.value=Ie,U.sourceSpan=new nn(U.sourceSpan.start.moveBy(ve.length),U.sourceSpan.end.moveBy(-et.length)),ve&&(qe&&(qe.hasTrailingSpaces=!0),U.hasLeadingSpaces=!0),et&&(U.hasTrailingSpaces=!0,Gt&&(Gt.hasLeadingSpaces=!0))):(g.removeChild(U),M--,(ve||et)&&(qe&&(qe.hasTrailingSpaces=!0),Gt&&(Gt.hasLeadingSpaces=!0)))}g.isWhitespaceSensitive=_,g.isIndentationSensitive=E})}function Ol(f){f.walk(g=>{g.isSelfClosing=!g.children||g.type==="element"&&(g.tagDefinition.isVoid||g.endSourceSpan&&g.startSourceSpan.start===g.endSourceSpan.start&&g.startSourceSpan.end===g.endSourceSpan.end)})}function On(f,g){f.walk(k=>{k.type==="element"&&(k.hasHtmComponentClosingTag=k.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(g.originalText.slice(k.endSourceSpan.start.offset,k.endSourceSpan.end.offset)))})}function Qd(f,g){f.walk(k=>{k.cssDisplay=Mt(k,g)})}function Xd(f,g){f.walk(k=>{let{children:_}=k;if(_){if(_.length===0){k.isDanglingSpaceSensitive=ku(k);return}for(let E of _)E.isLeadingSpaceSensitive=bl(E,g),E.isTrailingSpaceSensitive=Os(E,g);for(let E=0;E<_.length;E++){let M=_[E];M.isLeadingSpaceSensitive=(E===0||M.prev.isTrailingSpaceSensitive)&&M.isLeadingSpaceSensitive,M.isTrailingSpaceSensitive=(E===_.length-1||M.next.isLeadingSpaceSensitive)&&M.isTrailingSpaceSensitive}}})}var Mu=Fi;function sm(f,g,k){let{node:_}=f;switch(_.type){case"front-matter":return vt(_.raw);case"root":return g.__onHtmlRoot&&g.__onHtmlRoot(_),[Lt(Ud(f,g,k)),sn];case"element":case"ieConditionalComment":return Ou(f,g,k);case"angularControlFlowBlock":return Hd(f,g,k);case"angularControlFlowBlockParameters":return qd(f,g,k);case"angularControlFlowBlockParameter":return bn.trim(_.expression);case"angularLetDeclaration":return Lt(["@let ",Lt([_.id," =",Lt(en([un,k("init")]))]),";"]);case"angularLetDeclarationInitializer":return _.value;case"angularIcuExpression":return Nu(f,g,k);case"angularIcuCase":return av(f,g,k);case"ieConditionalStartComment":case"ieConditionalEndComment":return[$u(_),Tl(_)];case"interpolation":return[$u(_,g),...f.map(k,"children"),Tl(_,g)];case"text":{if(_.parent.type==="interpolation"){let ve=/\n[^\S\n]*$/u,Ie=ve.test(_.value),et=Ie?_.value.replace(ve,""):_.value;return[vt(et),Ie?sn:""]}let E=js(_,g),M=Ls(_),U=$o(_,g);return M[0]=[E,M[0]],M.push([M.pop(),U]),Nn(M)}case"docType":return[Lt([$u(_,g)," ",Z(!1,_.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),Tl(_,g)];case"comment":return[js(_,g),vt(g.originalText.slice(ui(_),El(_))),$o(_,g)];case"attribute":{if(_.value===null)return _.rawName;let E=ba(_.value),M=Oe(E,'"');return[_.rawName,"=",M,vt(M==='"'?Z(!1,E,'"',"""):Z(!1,E,"'","'")),M]}case"cdata":default:throw new mr(_,"HTML")}}var Jd={preprocess:Mu,print:sm,insertPragma:rv,massageAstNode:vl,embed:$l,getVisitorKeys:nv},Iu=Jd,Nc=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],ls={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},bp="HTML",lm={bracketSameLine:ls.bracketSameLine,htmlWhitespaceSensitivity:{category:bp,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:ls.singleAttributePerLine,vueIndentScriptAndStyle:{category:bp,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},sv=lm,kp={};C(kp,{angular:()=>En,html:()=>rn,lwc:()=>Tn,vue:()=>qn});var Oc;(function(f){f[f.Emulated=0]="Emulated",f[f.None=2]="None",f[f.ShadowDom=3]="ShadowDom"})(Oc||(Oc={}));var us;(function(f){f[f.OnPush=0]="OnPush",f[f.Default=1]="Default"})(us||(us={}));var ju;(function(f){f[f.None=0]="None",f[f.SignalBased=1]="SignalBased",f[f.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(ju||(ju={}));var Hs={name:"custom-elements"},Rc={name:"no-errors-schema"},Oo;(function(f){f[f.NONE=0]="NONE",f[f.HTML=1]="HTML",f[f.STYLE=2]="STYLE",f[f.SCRIPT=3]="SCRIPT",f[f.URL=4]="URL",f[f.RESOURCE_URL=5]="RESOURCE_URL"})(Oo||(Oo={}));var Zd;(function(f){f[f.Error=0]="Error",f[f.Warning=1]="Warning",f[f.Ignore=2]="Ignore"})(Zd||(Zd={}));var $i;(function(f){f[f.RAW_TEXT=0]="RAW_TEXT",f[f.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",f[f.PARSABLE_DATA=2]="PARSABLE_DATA"})($i||($i={}));function cs(f,g=!0){if(f[0]!=":")return[null,f];let k=f.indexOf(":",1);if(k===-1){if(g)throw new Error(`Unsupported format "${f}" expecting ":namespace:name"`);return[null,f]}return[f.slice(1,k),f.slice(k+1)]}function Lc(f){return cs(f)[1]==="ng-container"}function Rl(f){return cs(f)[1]==="ng-content"}function di(f){return f===null?null:cs(f)[0]}function Bc(f,g){return f?`:${f}:${g}`:g}var io;function oo(){return io||(io={},qs(Oo.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),qs(Oo.STYLE,["*|style"]),qs(Oo.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),qs(Oo.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),io}function qs(f,g){for(let k of g)io[k.toLowerCase()]=f}var ds=class{},Mc="boolean",zu="number",lv="string",Ll="object",Ct=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Pi=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Fr=Array.from(Pi).reduce((f,[g,k])=>(f.set(g,k),f),new Map),mn=class extends ds{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Ct.forEach(f=>{let g=new Map,k=new Set,[_,E]=f.split("|"),M=E.split(","),[U,ve]=_.split("^");U.split(",").forEach(et=>{this._schema.set(et.toLowerCase(),g),this._eventSchema.set(et.toLowerCase(),k)});let Ie=ve&&this._schema.get(ve.toLowerCase());if(Ie){for(let[et,qe]of Ie)g.set(et,qe);for(let et of this._eventSchema.get(ve.toLowerCase()))k.add(et)}M.forEach(et=>{if(et.length>0)switch(et[0]){case"*":k.add(et.substring(1));break;case"!":g.set(et.substring(1),Mc);break;case"#":g.set(et.substring(1),zu);break;case"%":g.set(et.substring(1),Ll);break;default:g.set(et,lv)}})})}hasProperty(f,g,k){if(k.some(_=>_.name===Rc.name))return!0;if(f.indexOf("-")>-1){if(Lc(f)||Rl(f))return!1;if(k.some(_=>_.name===Hs.name))return!0}return(this._schema.get(f.toLowerCase())||this._schema.get("unknown")).has(g)}hasElement(f,g){return g.some(k=>k.name===Rc.name)||f.indexOf("-")>-1&&(Lc(f)||Rl(f)||g.some(k=>k.name===Hs.name))?!0:this._schema.has(f.toLowerCase())}securityContext(f,g,k){k&&(g=this.getMappedPropName(g)),f=f.toLowerCase(),g=g.toLowerCase();let _=oo()[f+"|"+g];return _||(_=oo()["*|"+g],_||Oo.NONE)}getMappedPropName(f){return Pi.get(f)??f}getDefaultComponentElementName(){return"ng-component"}validateProperty(f){return f.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${f}' is disallowed for security reasons, please use (${f.slice(2)})=...
|
|
1521
|
-
If '${f}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(f){return f.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${f}' is disallowed for security reasons, please use (${f.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(f){let g=this._schema.get(f.toLowerCase())||this._schema.get("unknown");return Array.from(g.keys()).map(k=>Fr.get(k)??k)}allKnownEventsOfElement(f){return Array.from(this._eventSchema.get(f.toLowerCase())??[])}normalizeAnimationStyleProperty(f){return Vd(f)}normalizeAnimationStyleValue(f,g,k){let _="",E=k.toString().trim(),M=null;if(Ni(f)&&k!==0&&k!=="0")if(typeof k=="number")_="px";else{let U=k.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&U[1].length==0&&(M=`Please provide a CSS unit value for ${g}:${k}`)}return{error:M,value:E+_}}};function Ni(f){switch(f){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var Ft=class{constructor({closedByChildren:f,implicitNamespacePrefix:g,contentType:k=$i.PARSABLE_DATA,closedByParent:_=!1,isVoid:E=!1,ignoreFirstLf:M=!1,preventNamespaceInheritance:U=!1,canSelfClose:ve=!1}={}){this.closedByChildren={},this.closedByParent=!1,f&&f.length>0&&f.forEach(Ie=>this.closedByChildren[Ie]=!0),this.isVoid=E,this.closedByParent=_||E,this.implicitNamespacePrefix=g||null,this.contentType=k,this.ignoreFirstLf=M,this.preventNamespaceInheritance=U,this.canSelfClose=ve??E}isClosedByChild(f){return this.isVoid||f.toLowerCase()in this.closedByChildren}getContentType(f){return typeof this.contentType=="object"?(f===void 0?void 0:this.contentType[f])??this.contentType.default:this.contentType}},Wn,yt;function ka(f){return yt||(Wn=new Ft({canSelfClose:!0}),yt=Object.assign(Object.create(null),{base:new Ft({isVoid:!0}),meta:new Ft({isVoid:!0}),area:new Ft({isVoid:!0}),embed:new Ft({isVoid:!0}),link:new Ft({isVoid:!0}),img:new Ft({isVoid:!0}),input:new Ft({isVoid:!0}),param:new Ft({isVoid:!0}),hr:new Ft({isVoid:!0}),br:new Ft({isVoid:!0}),source:new Ft({isVoid:!0}),track:new Ft({isVoid:!0}),wbr:new Ft({isVoid:!0}),p:new Ft({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Ft({closedByChildren:["tbody","tfoot"]}),tbody:new Ft({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Ft({closedByChildren:["tbody"],closedByParent:!0}),tr:new Ft({closedByChildren:["tr"],closedByParent:!0}),td:new Ft({closedByChildren:["td","th"],closedByParent:!0}),th:new Ft({closedByChildren:["td","th"],closedByParent:!0}),col:new Ft({isVoid:!0}),svg:new Ft({implicitNamespacePrefix:"svg"}),foreignObject:new Ft({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new Ft({implicitNamespacePrefix:"math"}),li:new Ft({closedByChildren:["li"],closedByParent:!0}),dt:new Ft({closedByChildren:["dt","dd"]}),dd:new Ft({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Ft({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Ft({closedByChildren:["optgroup"],closedByParent:!0}),option:new Ft({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Ft({ignoreFirstLf:!0}),listing:new Ft({ignoreFirstLf:!0}),style:new Ft({contentType:$i.RAW_TEXT}),script:new Ft({contentType:$i.RAW_TEXT}),title:new Ft({contentType:{default:$i.ESCAPABLE_RAW_TEXT,svg:$i.PARSABLE_DATA}}),textarea:new Ft({contentType:$i.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new mn().allKnownElementNames().forEach(g=>{!yt[g]&&di(g)===null&&(yt[g]=new Ft({canSelfClose:!1}))})),yt[f]??Wn}var Yn=class{constructor(f,g){this.sourceSpan=f,this.i18n=g}},Vr=class extends Yn{constructor(f,g,k,_){super(g,_),this.value=f,this.tokens=k,this.type="text"}visit(f,g){return f.visitText(this,g)}},Ga=class extends Yn{constructor(f,g,k,_){super(g,_),this.value=f,this.tokens=k,this.type="cdata"}visit(f,g){return f.visitCdata(this,g)}},Oi=class extends Yn{constructor(f,g,k,_,E,M){super(_,M),this.switchValue=f,this.type=g,this.cases=k,this.switchValueSourceSpan=E}visit(f,g){return f.visitExpansion(this,g)}},Br=class{constructor(f,g,k,_,E){this.value=f,this.expression=g,this.sourceSpan=k,this.valueSourceSpan=_,this.expSourceSpan=E,this.type="expansionCase"}visit(f,g){return f.visitExpansionCase(this,g)}},Uu=class extends Yn{constructor(f,g,k,_,E,M,U){super(k,U),this.name=f,this.value=g,this.keySpan=_,this.valueSpan=E,this.valueTokens=M,this.type="attribute"}visit(f,g){return f.visitAttribute(this,g)}get nameSpan(){return this.keySpan}},fs=class extends Yn{constructor(f,g,k,_,E,M=null,U=null,ve){super(_,ve),this.name=f,this.attrs=g,this.children=k,this.startSourceSpan=E,this.endSourceSpan=M,this.nameSpan=U,this.type="element"}visit(f,g){return f.visitElement(this,g)}},Ic=class{constructor(f,g){this.value=f,this.sourceSpan=g,this.type="comment"}visit(f,g){return f.visitComment(this,g)}},Ka=class{constructor(f,g){this.value=f,this.sourceSpan=g,this.type="docType"}visit(f,g){return f.visitDocType(this,g)}},ps=class extends Yn{constructor(f,g,k,_,E,M,U=null,ve){super(_,ve),this.name=f,this.parameters=g,this.children=k,this.nameSpan=E,this.startSourceSpan=M,this.endSourceSpan=U,this.type="block"}visit(f,g){return f.visitBlock(this,g)}},so=class{constructor(f,g){this.expression=f,this.sourceSpan=g,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(f,g){return f.visitBlockParameter(this,g)}},Bl=class{constructor(f,g,k,_,E){this.name=f,this.value=g,this.sourceSpan=k,this.nameSpan=_,this.valueSpan=E,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(f,g){return f.visitLetDeclaration(this,g)}};function Ro(f,g,k=null){let _=[],E=f.visit?M=>f.visit(M,k)||M.visit(f,k):M=>M.visit(f,k);return g.forEach(M=>{let U=E(M);U&&_.push(U)}),_}var ef=class{constructor(){}visitElement(f,g){this.visitChildren(g,k=>{k(f.attrs),k(f.children)})}visitAttribute(f,g){}visitText(f,g){}visitCdata(f,g){}visitComment(f,g){}visitDocType(f,g){}visitExpansion(f,g){return this.visitChildren(g,k=>{k(f.cases)})}visitExpansionCase(f,g){}visitBlock(f,g){this.visitChildren(g,k=>{k(f.parameters),k(f.children)})}visitBlockParameter(f,g){}visitLetDeclaration(f,g){}visitChildren(f,g){let k=[],_=this;function E(M){M&&k.push(Ro(_,M,f))}return g(E),Array.prototype.concat.apply([],k)}},lo={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",af:"",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"",ic:"",InvisibleTimes:"",it:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",ZeroWidthSpace:"",NewLine:`
|
|
1521
|
+
If '${f}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(f){return f.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${f}' is disallowed for security reasons, please use (${f.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(f){let g=this._schema.get(f.toLowerCase())||this._schema.get("unknown");return Array.from(g.keys()).map(k=>Fr.get(k)??k)}allKnownEventsOfElement(f){return Array.from(this._eventSchema.get(f.toLowerCase())??[])}normalizeAnimationStyleProperty(f){return Vd(f)}normalizeAnimationStyleValue(f,g,k){let _="",E=k.toString().trim(),M=null;if(Ni(f)&&k!==0&&k!=="0")if(typeof k=="number")_="px";else{let U=k.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&U[1].length==0&&(M=`Please provide a CSS unit value for ${g}:${k}`)}return{error:M,value:E+_}}};function Ni(f){switch(f){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var Ft=class{constructor({closedByChildren:f,implicitNamespacePrefix:g,contentType:k=$i.PARSABLE_DATA,closedByParent:_=!1,isVoid:E=!1,ignoreFirstLf:M=!1,preventNamespaceInheritance:U=!1,canSelfClose:ve=!1}={}){this.closedByChildren={},this.closedByParent=!1,f&&f.length>0&&f.forEach(Ie=>this.closedByChildren[Ie]=!0),this.isVoid=E,this.closedByParent=_||E,this.implicitNamespacePrefix=g||null,this.contentType=k,this.ignoreFirstLf=M,this.preventNamespaceInheritance=U,this.canSelfClose=ve??E}isClosedByChild(f){return this.isVoid||f.toLowerCase()in this.closedByChildren}getContentType(f){return typeof this.contentType=="object"?(f===void 0?void 0:this.contentType[f])??this.contentType.default:this.contentType}},Wn,yt;function ka(f){return yt||(Wn=new Ft({canSelfClose:!0}),yt=Object.assign(Object.create(null),{base:new Ft({isVoid:!0}),meta:new Ft({isVoid:!0}),area:new Ft({isVoid:!0}),embed:new Ft({isVoid:!0}),link:new Ft({isVoid:!0}),img:new Ft({isVoid:!0}),input:new Ft({isVoid:!0}),param:new Ft({isVoid:!0}),hr:new Ft({isVoid:!0}),br:new Ft({isVoid:!0}),source:new Ft({isVoid:!0}),track:new Ft({isVoid:!0}),wbr:new Ft({isVoid:!0}),p:new Ft({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Ft({closedByChildren:["tbody","tfoot"]}),tbody:new Ft({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Ft({closedByChildren:["tbody"],closedByParent:!0}),tr:new Ft({closedByChildren:["tr"],closedByParent:!0}),td:new Ft({closedByChildren:["td","th"],closedByParent:!0}),th:new Ft({closedByChildren:["td","th"],closedByParent:!0}),col:new Ft({isVoid:!0}),svg:new Ft({implicitNamespacePrefix:"svg"}),foreignObject:new Ft({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new Ft({implicitNamespacePrefix:"math"}),li:new Ft({closedByChildren:["li"],closedByParent:!0}),dt:new Ft({closedByChildren:["dt","dd"]}),dd:new Ft({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Ft({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Ft({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Ft({closedByChildren:["optgroup"],closedByParent:!0}),option:new Ft({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Ft({ignoreFirstLf:!0}),listing:new Ft({ignoreFirstLf:!0}),style:new Ft({contentType:$i.RAW_TEXT}),script:new Ft({contentType:$i.RAW_TEXT}),title:new Ft({contentType:{default:$i.ESCAPABLE_RAW_TEXT,svg:$i.PARSABLE_DATA}}),textarea:new Ft({contentType:$i.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new mn().allKnownElementNames().forEach(g=>{!yt[g]&&di(g)===null&&(yt[g]=new Ft({canSelfClose:!1}))})),yt[f]??Wn}var Yn=class{constructor(f,g){this.sourceSpan=f,this.i18n=g}},Wr=class extends Yn{constructor(f,g,k,_){super(g,_),this.value=f,this.tokens=k,this.type="text"}visit(f,g){return f.visitText(this,g)}},Ga=class extends Yn{constructor(f,g,k,_){super(g,_),this.value=f,this.tokens=k,this.type="cdata"}visit(f,g){return f.visitCdata(this,g)}},Oi=class extends Yn{constructor(f,g,k,_,E,M){super(_,M),this.switchValue=f,this.type=g,this.cases=k,this.switchValueSourceSpan=E}visit(f,g){return f.visitExpansion(this,g)}},Br=class{constructor(f,g,k,_,E){this.value=f,this.expression=g,this.sourceSpan=k,this.valueSourceSpan=_,this.expSourceSpan=E,this.type="expansionCase"}visit(f,g){return f.visitExpansionCase(this,g)}},Uu=class extends Yn{constructor(f,g,k,_,E,M,U){super(k,U),this.name=f,this.value=g,this.keySpan=_,this.valueSpan=E,this.valueTokens=M,this.type="attribute"}visit(f,g){return f.visitAttribute(this,g)}get nameSpan(){return this.keySpan}},fs=class extends Yn{constructor(f,g,k,_,E,M=null,U=null,ve){super(_,ve),this.name=f,this.attrs=g,this.children=k,this.startSourceSpan=E,this.endSourceSpan=M,this.nameSpan=U,this.type="element"}visit(f,g){return f.visitElement(this,g)}},Ic=class{constructor(f,g){this.value=f,this.sourceSpan=g,this.type="comment"}visit(f,g){return f.visitComment(this,g)}},Ka=class{constructor(f,g){this.value=f,this.sourceSpan=g,this.type="docType"}visit(f,g){return f.visitDocType(this,g)}},ps=class extends Yn{constructor(f,g,k,_,E,M,U=null,ve){super(_,ve),this.name=f,this.parameters=g,this.children=k,this.nameSpan=E,this.startSourceSpan=M,this.endSourceSpan=U,this.type="block"}visit(f,g){return f.visitBlock(this,g)}},so=class{constructor(f,g){this.expression=f,this.sourceSpan=g,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(f,g){return f.visitBlockParameter(this,g)}},Bl=class{constructor(f,g,k,_,E){this.name=f,this.value=g,this.sourceSpan=k,this.nameSpan=_,this.valueSpan=E,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(f,g){return f.visitLetDeclaration(this,g)}};function Ro(f,g,k=null){let _=[],E=f.visit?M=>f.visit(M,k)||M.visit(f,k):M=>M.visit(f,k);return g.forEach(M=>{let U=E(M);U&&_.push(U)}),_}var ef=class{constructor(){}visitElement(f,g){this.visitChildren(g,k=>{k(f.attrs),k(f.children)})}visitAttribute(f,g){}visitText(f,g){}visitCdata(f,g){}visitComment(f,g){}visitDocType(f,g){}visitExpansion(f,g){return this.visitChildren(g,k=>{k(f.cases)})}visitExpansionCase(f,g){}visitBlock(f,g){this.visitChildren(g,k=>{k(f.parameters),k(f.children)})}visitBlockParameter(f,g){}visitLetDeclaration(f,g){}visitChildren(f,g){let k=[],_=this;function E(M){M&&k.push(Ro(_,M,f))}return g(E),Array.prototype.concat.apply([],k)}},lo={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",af:"",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"",ic:"",InvisibleTimes:"",it:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",ZeroWidthSpace:"",NewLine:`
|
|
1522
1522
|
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""},Lo="";lo.ngsp=Lo;var Vs=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ws(f,g){if(g!=null&&!(Array.isArray(g)&&g.length==2))throw new Error(`Expected '${f}' to be an array, [start, end].`);if(g!=null){let k=g[0],_=g[1];Vs.forEach(E=>{if(E.test(k)||E.test(_))throw new Error(`['${k}', '${_}'] contains unusable interpolation symbol.`)})}}var Ys=class x${static fromArray(g){return g?(Ws("interpolation",g),new x$(g[0],g[1])):Bo}constructor(g,k){this.start=g,this.end=k}},Bo=new Ys("{{","}}"),Cr=class extends Yd{constructor(f,g,k){super(k,f),this.tokenType=g}},Ri=class{constructor(f,g,k){this.tokens=f,this.errors=g,this.nonNormalizedIcuExpressions=k}};function fi(f,g,k,_={}){let E=new Qa(new gp(f,g),k,_);return E.tokenize(),new Ri(Ks(E.tokens),E.errors,E.nonNormalizedIcuExpressions)}var Mo=/\r\n?/g;function $a(f){return`Unexpected character "${f===0?"EOF":String.fromCharCode(f)}"`}function Gs(f){return`Unknown entity "${f}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function um(f,g){return`Unable to parse entity "${g}" - ${f} character reference entities must end with ";"`}var Ml;(function(f){f.HEX="hexadecimal",f.DEC="decimal"})(Ml||(Ml={}));var Hu=class{constructor(f){this.error=f}},Qa=class{constructor(f,g,k){this._getTagContentType=g,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=k.tokenizeExpansionForms||!1,this._interpolationConfig=k.interpolationConfig||Bo,this._leadingTriviaCodePoints=k.leadingTriviaChars&&k.leadingTriviaChars.map(E=>E.codePointAt(0)||0),this._canSelfClose=k.canSelfClose||!1,this._allowHtmComponentClosingTags=k.allowHtmComponentClosingTags||!1;let _=k.range||{endPos:f.content.length,startPos:0,startLine:0,startCol:0};this._cursor=k.escapedString?new uv(f,_):new Io(f,_),this._preserveLineEndings=k.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=k.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=k.tokenizeBlocks??!0,this._tokenizeLet=k.tokenizeLet??!0;try{this._cursor.init()}catch(E){this.handleError(E)}}_processCarriageReturns(f){return this._preserveLineEndings?f:f.replace(Mo,`
|
|
1523
|
-
`)}tokenize(){for(;this._cursor.peek()!==0;){let f=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(f):this._attemptStr("--")?this._consumeComment(f):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(f):this._consumeBogusComment(f);else if(this._attemptCharCode(47))this._consumeTagClose(f);else{let g=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=g,this._consumeBogusComment(f)):this._consumeTagOpen(f)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(f):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(f):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(f):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(g){this.handleError(g)}}this._beginToken(34),this._endToken([])}_getBlockName(){let f=!1,g=this._cursor.clone();return this._attemptCharCodeUntilFn(k=>Ru(k)?!f:jc(k)?(f=!0,!1):!0),this._cursor.getChars(g).trim()}_consumeBlockStart(f){this._beginToken(25,f);let g=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Sn);else{g.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):g.type=29}_consumeBlockEnd(f){this._beginToken(27,f),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(qu);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let f=this._cursor.clone(),g=null,k=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||g!==null;){let _=this._cursor.peek();if(_===92)this._cursor.advance();else if(_===g)g=null;else if(g===null&&qr(_))g=_;else if(_===40&&g===null)k++;else if(_===41&&g===null){if(k===0)break;k>0&&k--}this._cursor.advance()}this._endToken([this._cursor.getChars(f)]),this._attemptCharCodeUntilFn(qu)}}_consumeLetDeclaration(f){if(this._beginToken(30,f),Ru(this._cursor.peek()))this._attemptCharCodeUntilFn(Sn);else{let k=this._endToken([this._cursor.getChars(f)]);k.type=33;return}let g=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Sn),!this._attemptCharCode(61)){g.type=33;return}this._attemptCharCodeUntilFn(k=>Sn(k)&&!Bu(k)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(g.type=33,g.sourceSpan=this._cursor.getSpan(f))}_getLetDeclarationName(){let f=this._cursor.clone(),g=!1;return this._attemptCharCodeUntilFn(k=>Lu(k)||k===36||k===95||g&&Pl(k)?(g=!0,!1):!0),this._cursor.getChars(f).trim()}_consumeLetDeclarationValue(){let f=this._cursor.clone();for(this._beginToken(31,f);this._cursor.peek()!==0;){let g=this._cursor.peek();if(g===59)break;qr(g)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(k=>k===92?(this._cursor.advance(),!1):k===g)),this._cursor.advance()}this._endToken([this._cursor.getChars(f)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Dp(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(f,g=this._cursor.clone()){this._currentTokenStart=g,this._currentTokenType=f}_endToken(f,g){if(this._currentTokenStart===null)throw new Cr("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(g));if(this._currentTokenType===null)throw new Cr("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let k={type:this._currentTokenType,parts:f,sourceSpan:(g??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(k),this._currentTokenStart=null,this._currentTokenType=null,k}_createError(f,g){this._isInExpansionForm()&&(f+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let k=new Cr(f,this._currentTokenType,g);return this._currentTokenStart=null,this._currentTokenType=null,new Hu(k)}handleError(f){if(f instanceof hs&&(f=this._createError(f.msg,this._cursor.getSpan(f.cursor))),f instanceof Hu)this.errors.push(f.error);else throw f}_attemptCharCode(f){return this._cursor.peek()===f?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(f){return Sp(this._cursor.peek(),f)?(this._cursor.advance(),!0):!1}_requireCharCode(f){let g=this._cursor.clone();if(!this._attemptCharCode(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_attemptStr(f){let g=f.length;if(this._cursor.charsLeft()<g)return!1;let k=this._cursor.clone();for(let _=0;_<g;_++)if(!this._attemptCharCode(f.charCodeAt(_)))return this._cursor=k,!1;return!0}_attemptStrCaseInsensitive(f){for(let g=0;g<f.length;g++)if(!this._attemptCharCodeCaseInsensitive(f.charCodeAt(g)))return!1;return!0}_requireStr(f){let g=this._cursor.clone();if(!this._attemptStr(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_requireStrCaseInsensitive(f){let g=this._cursor.clone();if(!this._attemptStrCaseInsensitive(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_attemptCharCodeUntilFn(f){for(;!f(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(f,g){let k=this._cursor.clone();if(this._attemptCharCodeUntilFn(f),this._cursor.diff(k)<g)throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(k))}_attemptUntilChar(f){for(;this._cursor.peek()!==f;)this._cursor.advance()}_readChar(){let f=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),f}_consumeEntity(f){this._beginToken(9);let g=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let k=this._attemptCharCode(120)||this._attemptCharCode(88),_=this._cursor.clone();if(this._attemptCharCodeUntilFn(wp),this._cursor.peek()!=59){this._cursor.advance();let M=k?Ml.HEX:Ml.DEC;throw this._createError(um(M,this._cursor.getChars(g)),this._cursor.getSpan())}let E=this._cursor.getChars(_);this._cursor.advance();try{let M=parseInt(E,k?16:10);this._endToken([String.fromCharCode(M),this._cursor.getChars(g)])}catch{throw this._createError(Gs(this._cursor.getChars(g)),this._cursor.getSpan())}}else{let k=this._cursor.clone();if(this._attemptCharCodeUntilFn(cm),this._cursor.peek()!=59)this._beginToken(f,g),this._cursor=k,this._endToken(["&"]);else{let _=this._cursor.getChars(k);this._cursor.advance();let E=lo[_];if(!E)throw this._createError(Gs(_),this._cursor.getSpan(g));this._endToken([E,`&${_};`])}}}_consumeRawText(f,g){this._beginToken(f?6:7);let k=[];for(;;){let _=this._cursor.clone(),E=g();if(this._cursor=_,E)break;f&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(k.join(""))]),k.length=0,this._consumeEntity(6),this._beginToken(6)):k.push(this._readChar())}this._endToken([this._processCarriageReturns(k.join(""))])}_consumeComment(f){this._beginToken(10,f),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(f){this._beginToken(10,f),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(f){this._beginToken(12,f),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(f){this._beginToken(18,f),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let f=this._cursor.clone(),g="";for(;this._cursor.peek()!==58&&!Li(this._cursor.peek());)this._cursor.advance();let k;this._cursor.peek()===58?(g=this._cursor.getChars(f),this._cursor.advance(),k=this._cursor.clone()):k=f,this._requireCharCodeUntilFn(cr,g===""?0:1);let _=this._cursor.getChars(k);return[g,_]}_consumeTagOpen(f){let g,k,_,E=[];try{if(!Lu(this._cursor.peek()))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(f));for(_=this._consumeTagOpenStart(f),k=_.parts[0],g=_.parts[1],this._attemptCharCodeUntilFn(Sn);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[U,ve]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(Sn);let Ie=this._consumeAttributeValue();E.push({prefix:U,name:ve,value:Ie})}else E.push({prefix:U,name:ve});this._attemptCharCodeUntilFn(Sn)}this._consumeTagOpenEnd()}catch(U){if(U instanceof Hu){_?_.type=4:(this._beginToken(5,f),this._endToken(["<"]));return}throw U}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let M=this._getTagContentType(g,k,this._fullNameStack.length>0,E);this._handleFullNameStackForTagOpen(k,g),M===$i.RAW_TEXT?this._consumeRawTextWithTagClose(k,g,!1):M===$i.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(k,g,!0)}_consumeRawTextWithTagClose(f,g,k){this._consumeRawText(k,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Sn),!this._attemptStrCaseInsensitive(f?`${f}:${g}`:g))?!1:(this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(_=>_===62,3),this._cursor.advance(),this._endToken([f,g]),this._handleFullNameStackForTagClose(f,g)}_consumeTagOpenStart(f){this._beginToken(0,f);let g=this._consumePrefixAndName();return this._endToken(g)}_consumeAttributeName(){let f=this._cursor.peek();if(f===39||f===34)throw this._createError($a(f),this._cursor.getSpan());this._beginToken(14);let g=this._consumePrefixAndName();return this._endToken(g),g}_consumeAttributeValue(){let f;if(this._cursor.peek()===39||this._cursor.peek()===34){let g=this._cursor.peek();this._consumeQuote(g);let k=()=>this._cursor.peek()===g;f=this._consumeWithInterpolation(16,17,k,k),this._consumeQuote(g)}else{let g=()=>cr(this._cursor.peek());f=this._consumeWithInterpolation(16,17,g,g)}return f}_consumeQuote(f){this._beginToken(15),this._requireCharCode(f),this._endToken([String.fromCodePoint(f)])}_consumeTagOpenEnd(){let f=this._attemptCharCode(47)?2:1;this._beginToken(f),this._requireCharCode(62),this._endToken([])}_consumeTagClose(f){if(this._beginToken(3,f),this._attemptCharCodeUntilFn(Sn),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Sn),this._requireCharCode(62),this._endToken([]);else{let[g,k]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Sn),this._requireCharCode(62),this._endToken([g,k]),this._handleFullNameStackForTagClose(g,k)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let f=this._readUntil(44),g=this._processCarriageReturns(f);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([g]);else{let _=this._endToken([f]);g!==f&&this.nonNormalizedIcuExpressions.push(_)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Sn),this._beginToken(7);let k=this._readUntil(44);this._endToken([k]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Sn)}_consumeExpansionCaseStart(){this._beginToken(21);let f=this._readUntil(123).trim();this._endToken([f]),this._attemptCharCodeUntilFn(Sn),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Sn),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Sn),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(f,g,k,_){this._beginToken(f);let E=[];for(;!k();){let U=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(E.join(""))],U),E.length=0,this._consumeInterpolation(g,U,_),this._beginToken(f)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(E.join(""))]),E.length=0,this._consumeEntity(f),this._beginToken(f)):E.push(this._readChar())}this._inInterpolation=!1;let M=this._processCarriageReturns(E.join(""));return this._endToken([M]),M}_consumeInterpolation(f,g,k){let _=[];this._beginToken(f,g),_.push(this._interpolationConfig.start);let E=this._cursor.clone(),M=null,U=!1;for(;this._cursor.peek()!==0&&(k===null||!k());){let ve=this._cursor.clone();if(this._isTagStart()){this._cursor=ve,_.push(this._getProcessedChars(E,ve)),this._endToken(_);return}if(M===null)if(this._attemptStr(this._interpolationConfig.end)){_.push(this._getProcessedChars(E,ve)),_.push(this._interpolationConfig.end),this._endToken(_);return}else this._attemptStr("//")&&(U=!0);let Ie=this._cursor.peek();this._cursor.advance(),Ie===92?this._cursor.advance():Ie===M?M=null:!U&&M===null&&qr(Ie)&&(M=Ie)}_.push(this._getProcessedChars(E,this._cursor)),this._endToken(_)}_getProcessedChars(f,g){return this._processCarriageReturns(g.getChars(f))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let f=this._cursor.clone();f.advance();let g=f.peek();if(97<=g&&g<=122||65<=g&&g<=90||g===47||g===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let f=this._cursor.clone();if(f.advance(),jc(f.peek()))return!0}return!1}_readUntil(f){let g=this._cursor.clone();return this._attemptUntilChar(f),this._cursor.getChars(g)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let f=this._cursor.clone(),g=this._attemptStr(this._interpolationConfig.start);return this._cursor=f,!g}return!0}_handleFullNameStackForTagOpen(f,g){let k=Bc(f,g);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===k)&&this._fullNameStack.push(k)}_handleFullNameStackForTagClose(f,g){let k=Bc(f,g);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===k&&this._fullNameStack.pop()}};function Sn(f){return!Ru(f)||f===0}function cr(f){return Ru(f)||f===62||f===60||f===47||f===39||f===34||f===61||f===0}function Li(f){return(f<97||122<f)&&(f<65||90<f)&&(f<48||f>57)}function wp(f){return f===59||f===0||!hp(f)}function cm(f){return f===59||f===0||!Lu(f)}function Dp(f){return f!==125}function Sp(f,g){return Mr(f)===Mr(g)}function Mr(f){return f>=97&&f<=122?f-97+65:f}function jc(f){return Lu(f)||Pl(f)||f===95}function qu(f){return f!==59&&Sn(f)}function Ks(f){let g=[],k;for(let _=0;_<f.length;_++){let E=f[_];k&&k.type===5&&E.type===5||k&&k.type===16&&E.type===16?(k.parts[0]+=E.parts[0],k.sourceSpan.end=E.sourceSpan.end):(k=E,g.push(k))}return g}var Io=class TC{constructor(g,k){if(g instanceof TC){this.file=g.file,this.input=g.input,this.end=g.end;let _=g.state;this.state={peek:_.peek,offset:_.offset,line:_.line,column:_.column}}else{if(!k)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=g,this.input=g.content,this.end=k.endPos,this.state={peek:-1,offset:k.startPos,line:k.startLine,column:k.startCol}}}clone(){return new TC(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(g){return this.state.offset-g.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(g,k){g=g||this;let _=g;if(k)for(;this.diff(g)>0&&k.indexOf(g.peek())!==-1;)_===g&&(g=g.clone()),g.advance();let E=this.locationFromCursor(g),M=this.locationFromCursor(this),U=_!==g?this.locationFromCursor(_):E;return new nn(E,M,U)}getChars(g){return this.input.substring(g.state.offset,this.state.offset)}charAt(g){return this.input.charCodeAt(g)}advanceState(g){if(g.offset>=this.end)throw this.state=g,new hs('Unexpected character "EOF"',this);let k=this.charAt(g.offset);k===10?(g.line++,g.column=0):Bu(k)||g.column++,g.offset++,this.updatePeek(g)}updatePeek(g){g.peek=g.offset>=this.end?0:this.charAt(g.offset)}locationFromCursor(g){return new Wd(g.file,g.state.offset,g.state.line,g.state.column)}},uv=class AC extends Io{constructor(g,k){g instanceof AC?(super(g),this.internalState={...g.internalState}):(super(g,k),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new AC(this)}getChars(g){let k=g.clone(),_="";for(;k.internalState.offset<this.internalState.offset;)_+=String.fromCodePoint(k.peek()),k.advance();return _}processEscapeSequence(){let g=()=>this.internalState.peek;if(g()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),g()===110)this.state.peek=10;else if(g()===114)this.state.peek=13;else if(g()===118)this.state.peek=11;else if(g()===116)this.state.peek=9;else if(g()===98)this.state.peek=8;else if(g()===102)this.state.peek=12;else if(g()===117)if(this.advanceState(this.internalState),g()===123){this.advanceState(this.internalState);let k=this.clone(),_=0;for(;g()!==125;)this.advanceState(this.internalState),_++;this.state.peek=this.decodeHexDigits(k,_)}else{let k=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(k,4)}else if(g()===120){this.advanceState(this.internalState);let k=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(k,2)}else if(Us(g())){let k="",_=0,E=this.clone();for(;Us(g())&&_<3;)E=this.clone(),k+=String.fromCodePoint(g()),this.advanceState(this.internalState),_++;this.state.peek=parseInt(k,8),this.internalState=E.internalState}else Bu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(g,k){let _=this.input.slice(g.internalState.offset,g.internalState.offset+k),E=parseInt(_,16);if(isNaN(E))throw g.state=g.internalState,new hs("Invalid hexadecimal escape sequence",g);return E}},hs=class{constructor(f,g){this.msg=f,this.cursor=g}},ea=class E$ extends Yd{static create(g,k,_){return new E$(g,k,_)}constructor(g,k,_){super(k,_),this.elementName=g}},dm=class{constructor(f,g){this.rootNodes=f,this.errors=g}},Il=class{constructor(f){this.getTagDefinition=f}parse(f,g,k,_=!1,E){let M=Kt=>(Mn,..._r)=>Kt(Mn.toLowerCase(),..._r),U=_?this.getTagDefinition:M(this.getTagDefinition),ve=Kt=>U(Kt).getContentType(),Ie=_?E:M(E),et=fi(f,g,E?(Kt,Mn,_r,jr)=>{let Wr=Ie(Kt,Mn,_r,jr);return Wr!==void 0?Wr:ve(Kt)}:ve,k),qe=k&&k.canSelfClose||!1,Gt=k&&k.allowHtmComponentClosingTags||!1,Jt=new $r(et.tokens,U,qe,Gt,_);return Jt.build(),new dm(Jt.rootNodes,et.errors.concat(Jt.errors))}},$r=class T${constructor(g,k,_,E,M){this.tokens=g,this.getTagDefinition=k,this.canSelfClose=_,this.allowHtmComponentClosingTags=E,this.isTagNameCaseSensitive=M,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let g of this._containerStack)g instanceof ps&&this.errors.push(ea.create(g.name,g.sourceSpan,`Unclosed block "${g.name}"`))}_advance(){let g=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],g}_advanceIf(g){return this._peek.type===g?this._advance():null}_consumeCdata(g){let k=this._advance(),_=this._getText(k),E=this._advanceIf(13);this._addToParent(new Ga(_,new nn(g.sourceSpan.start,(E||k).sourceSpan.end),[k]))}_consumeComment(g){let k=this._advanceIf(7),_=this._advanceIf(11),E=k!=null?k.parts[0].trim():null,M=_==null?g.sourceSpan:new nn(g.sourceSpan.start,_.sourceSpan.end,g.sourceSpan.fullStart);this._addToParent(new Ic(E,M))}_consumeDocType(g){let k=this._advanceIf(7),_=this._advanceIf(19),E=k!=null?k.parts[0].trim():null,M=new nn(g.sourceSpan.start,(_||k||g).sourceSpan.end);this._addToParent(new Ka(E,M))}_consumeExpansion(g){let k=this._advance(),_=this._advance(),E=[];for(;this._peek.type===21;){let U=this._parseExpansionCase();if(!U)return;E.push(U)}if(this._peek.type!==24){this.errors.push(ea.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let M=new nn(g.sourceSpan.start,this._peek.sourceSpan.end,g.sourceSpan.fullStart);this._addToParent(new Oi(k.parts[0],_.parts[0],E,M,k.sourceSpan)),this._advance()}_parseExpansionCase(){let g=this._advance();if(this._peek.type!==22)return this.errors.push(ea.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let k=this._advance(),_=this._collectExpansionExpTokens(k);if(!_)return null;let E=this._advance();_.push({type:34,parts:[],sourceSpan:E.sourceSpan});let M=new T$(_,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(M.build(),M.errors.length>0)return this.errors=this.errors.concat(M.errors),null;let U=new nn(g.sourceSpan.start,E.sourceSpan.end,g.sourceSpan.fullStart),ve=new nn(k.sourceSpan.start,E.sourceSpan.end,k.sourceSpan.fullStart);return new Br(g.parts[0],M.rootNodes,U,g.sourceSpan,ve)}_collectExpansionExpTokens(g){let k=[],_=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&_.push(this._peek.type),this._peek.type===23)if(Ze(_,22)){if(_.pop(),_.length===0)return k}else return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ze(_,20))_.pop();else return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;k.push(this._advance())}}_getText(g){let k=g.parts[0];if(k.length>0&&k[0]==`
|
|
1523
|
+
`)}tokenize(){for(;this._cursor.peek()!==0;){let f=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(f):this._attemptStr("--")?this._consumeComment(f):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(f):this._consumeBogusComment(f);else if(this._attemptCharCode(47))this._consumeTagClose(f);else{let g=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=g,this._consumeBogusComment(f)):this._consumeTagOpen(f)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(f):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(f):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(f):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(g){this.handleError(g)}}this._beginToken(34),this._endToken([])}_getBlockName(){let f=!1,g=this._cursor.clone();return this._attemptCharCodeUntilFn(k=>Ru(k)?!f:jc(k)?(f=!0,!1):!0),this._cursor.getChars(g).trim()}_consumeBlockStart(f){this._beginToken(25,f);let g=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Sn);else{g.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):g.type=29}_consumeBlockEnd(f){this._beginToken(27,f),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(qu);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let f=this._cursor.clone(),g=null,k=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||g!==null;){let _=this._cursor.peek();if(_===92)this._cursor.advance();else if(_===g)g=null;else if(g===null&&Vr(_))g=_;else if(_===40&&g===null)k++;else if(_===41&&g===null){if(k===0)break;k>0&&k--}this._cursor.advance()}this._endToken([this._cursor.getChars(f)]),this._attemptCharCodeUntilFn(qu)}}_consumeLetDeclaration(f){if(this._beginToken(30,f),Ru(this._cursor.peek()))this._attemptCharCodeUntilFn(Sn);else{let k=this._endToken([this._cursor.getChars(f)]);k.type=33;return}let g=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Sn),!this._attemptCharCode(61)){g.type=33;return}this._attemptCharCodeUntilFn(k=>Sn(k)&&!Bu(k)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(g.type=33,g.sourceSpan=this._cursor.getSpan(f))}_getLetDeclarationName(){let f=this._cursor.clone(),g=!1;return this._attemptCharCodeUntilFn(k=>Lu(k)||k===36||k===95||g&&Pl(k)?(g=!0,!1):!0),this._cursor.getChars(f).trim()}_consumeLetDeclarationValue(){let f=this._cursor.clone();for(this._beginToken(31,f);this._cursor.peek()!==0;){let g=this._cursor.peek();if(g===59)break;Vr(g)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(k=>k===92?(this._cursor.advance(),!1):k===g)),this._cursor.advance()}this._endToken([this._cursor.getChars(f)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Dp(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(f,g=this._cursor.clone()){this._currentTokenStart=g,this._currentTokenType=f}_endToken(f,g){if(this._currentTokenStart===null)throw new Cr("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(g));if(this._currentTokenType===null)throw new Cr("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let k={type:this._currentTokenType,parts:f,sourceSpan:(g??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(k),this._currentTokenStart=null,this._currentTokenType=null,k}_createError(f,g){this._isInExpansionForm()&&(f+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let k=new Cr(f,this._currentTokenType,g);return this._currentTokenStart=null,this._currentTokenType=null,new Hu(k)}handleError(f){if(f instanceof hs&&(f=this._createError(f.msg,this._cursor.getSpan(f.cursor))),f instanceof Hu)this.errors.push(f.error);else throw f}_attemptCharCode(f){return this._cursor.peek()===f?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(f){return Sp(this._cursor.peek(),f)?(this._cursor.advance(),!0):!1}_requireCharCode(f){let g=this._cursor.clone();if(!this._attemptCharCode(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_attemptStr(f){let g=f.length;if(this._cursor.charsLeft()<g)return!1;let k=this._cursor.clone();for(let _=0;_<g;_++)if(!this._attemptCharCode(f.charCodeAt(_)))return this._cursor=k,!1;return!0}_attemptStrCaseInsensitive(f){for(let g=0;g<f.length;g++)if(!this._attemptCharCodeCaseInsensitive(f.charCodeAt(g)))return!1;return!0}_requireStr(f){let g=this._cursor.clone();if(!this._attemptStr(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_requireStrCaseInsensitive(f){let g=this._cursor.clone();if(!this._attemptStrCaseInsensitive(f))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(g))}_attemptCharCodeUntilFn(f){for(;!f(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(f,g){let k=this._cursor.clone();if(this._attemptCharCodeUntilFn(f),this._cursor.diff(k)<g)throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(k))}_attemptUntilChar(f){for(;this._cursor.peek()!==f;)this._cursor.advance()}_readChar(){let f=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),f}_consumeEntity(f){this._beginToken(9);let g=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let k=this._attemptCharCode(120)||this._attemptCharCode(88),_=this._cursor.clone();if(this._attemptCharCodeUntilFn(wp),this._cursor.peek()!=59){this._cursor.advance();let M=k?Ml.HEX:Ml.DEC;throw this._createError(um(M,this._cursor.getChars(g)),this._cursor.getSpan())}let E=this._cursor.getChars(_);this._cursor.advance();try{let M=parseInt(E,k?16:10);this._endToken([String.fromCharCode(M),this._cursor.getChars(g)])}catch{throw this._createError(Gs(this._cursor.getChars(g)),this._cursor.getSpan())}}else{let k=this._cursor.clone();if(this._attemptCharCodeUntilFn(cm),this._cursor.peek()!=59)this._beginToken(f,g),this._cursor=k,this._endToken(["&"]);else{let _=this._cursor.getChars(k);this._cursor.advance();let E=lo[_];if(!E)throw this._createError(Gs(_),this._cursor.getSpan(g));this._endToken([E,`&${_};`])}}}_consumeRawText(f,g){this._beginToken(f?6:7);let k=[];for(;;){let _=this._cursor.clone(),E=g();if(this._cursor=_,E)break;f&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(k.join(""))]),k.length=0,this._consumeEntity(6),this._beginToken(6)):k.push(this._readChar())}this._endToken([this._processCarriageReturns(k.join(""))])}_consumeComment(f){this._beginToken(10,f),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(f){this._beginToken(10,f),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(f){this._beginToken(12,f),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(f){this._beginToken(18,f),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let f=this._cursor.clone(),g="";for(;this._cursor.peek()!==58&&!Li(this._cursor.peek());)this._cursor.advance();let k;this._cursor.peek()===58?(g=this._cursor.getChars(f),this._cursor.advance(),k=this._cursor.clone()):k=f,this._requireCharCodeUntilFn(cr,g===""?0:1);let _=this._cursor.getChars(k);return[g,_]}_consumeTagOpen(f){let g,k,_,E=[];try{if(!Lu(this._cursor.peek()))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(f));for(_=this._consumeTagOpenStart(f),k=_.parts[0],g=_.parts[1],this._attemptCharCodeUntilFn(Sn);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[U,ve]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(Sn);let Ie=this._consumeAttributeValue();E.push({prefix:U,name:ve,value:Ie})}else E.push({prefix:U,name:ve});this._attemptCharCodeUntilFn(Sn)}this._consumeTagOpenEnd()}catch(U){if(U instanceof Hu){_?_.type=4:(this._beginToken(5,f),this._endToken(["<"]));return}throw U}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let M=this._getTagContentType(g,k,this._fullNameStack.length>0,E);this._handleFullNameStackForTagOpen(k,g),M===$i.RAW_TEXT?this._consumeRawTextWithTagClose(k,g,!1):M===$i.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(k,g,!0)}_consumeRawTextWithTagClose(f,g,k){this._consumeRawText(k,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Sn),!this._attemptStrCaseInsensitive(f?`${f}:${g}`:g))?!1:(this._attemptCharCodeUntilFn(Sn),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(_=>_===62,3),this._cursor.advance(),this._endToken([f,g]),this._handleFullNameStackForTagClose(f,g)}_consumeTagOpenStart(f){this._beginToken(0,f);let g=this._consumePrefixAndName();return this._endToken(g)}_consumeAttributeName(){let f=this._cursor.peek();if(f===39||f===34)throw this._createError($a(f),this._cursor.getSpan());this._beginToken(14);let g=this._consumePrefixAndName();return this._endToken(g),g}_consumeAttributeValue(){let f;if(this._cursor.peek()===39||this._cursor.peek()===34){let g=this._cursor.peek();this._consumeQuote(g);let k=()=>this._cursor.peek()===g;f=this._consumeWithInterpolation(16,17,k,k),this._consumeQuote(g)}else{let g=()=>cr(this._cursor.peek());f=this._consumeWithInterpolation(16,17,g,g)}return f}_consumeQuote(f){this._beginToken(15),this._requireCharCode(f),this._endToken([String.fromCodePoint(f)])}_consumeTagOpenEnd(){let f=this._attemptCharCode(47)?2:1;this._beginToken(f),this._requireCharCode(62),this._endToken([])}_consumeTagClose(f){if(this._beginToken(3,f),this._attemptCharCodeUntilFn(Sn),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Sn),this._requireCharCode(62),this._endToken([]);else{let[g,k]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Sn),this._requireCharCode(62),this._endToken([g,k]),this._handleFullNameStackForTagClose(g,k)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let f=this._readUntil(44),g=this._processCarriageReturns(f);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([g]);else{let _=this._endToken([f]);g!==f&&this.nonNormalizedIcuExpressions.push(_)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Sn),this._beginToken(7);let k=this._readUntil(44);this._endToken([k]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Sn)}_consumeExpansionCaseStart(){this._beginToken(21);let f=this._readUntil(123).trim();this._endToken([f]),this._attemptCharCodeUntilFn(Sn),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Sn),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Sn),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(f,g,k,_){this._beginToken(f);let E=[];for(;!k();){let U=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(E.join(""))],U),E.length=0,this._consumeInterpolation(g,U,_),this._beginToken(f)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(E.join(""))]),E.length=0,this._consumeEntity(f),this._beginToken(f)):E.push(this._readChar())}this._inInterpolation=!1;let M=this._processCarriageReturns(E.join(""));return this._endToken([M]),M}_consumeInterpolation(f,g,k){let _=[];this._beginToken(f,g),_.push(this._interpolationConfig.start);let E=this._cursor.clone(),M=null,U=!1;for(;this._cursor.peek()!==0&&(k===null||!k());){let ve=this._cursor.clone();if(this._isTagStart()){this._cursor=ve,_.push(this._getProcessedChars(E,ve)),this._endToken(_);return}if(M===null)if(this._attemptStr(this._interpolationConfig.end)){_.push(this._getProcessedChars(E,ve)),_.push(this._interpolationConfig.end),this._endToken(_);return}else this._attemptStr("//")&&(U=!0);let Ie=this._cursor.peek();this._cursor.advance(),Ie===92?this._cursor.advance():Ie===M?M=null:!U&&M===null&&Vr(Ie)&&(M=Ie)}_.push(this._getProcessedChars(E,this._cursor)),this._endToken(_)}_getProcessedChars(f,g){return this._processCarriageReturns(g.getChars(f))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let f=this._cursor.clone();f.advance();let g=f.peek();if(97<=g&&g<=122||65<=g&&g<=90||g===47||g===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let f=this._cursor.clone();if(f.advance(),jc(f.peek()))return!0}return!1}_readUntil(f){let g=this._cursor.clone();return this._attemptUntilChar(f),this._cursor.getChars(g)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let f=this._cursor.clone(),g=this._attemptStr(this._interpolationConfig.start);return this._cursor=f,!g}return!0}_handleFullNameStackForTagOpen(f,g){let k=Bc(f,g);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===k)&&this._fullNameStack.push(k)}_handleFullNameStackForTagClose(f,g){let k=Bc(f,g);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===k&&this._fullNameStack.pop()}};function Sn(f){return!Ru(f)||f===0}function cr(f){return Ru(f)||f===62||f===60||f===47||f===39||f===34||f===61||f===0}function Li(f){return(f<97||122<f)&&(f<65||90<f)&&(f<48||f>57)}function wp(f){return f===59||f===0||!hp(f)}function cm(f){return f===59||f===0||!Lu(f)}function Dp(f){return f!==125}function Sp(f,g){return Mr(f)===Mr(g)}function Mr(f){return f>=97&&f<=122?f-97+65:f}function jc(f){return Lu(f)||Pl(f)||f===95}function qu(f){return f!==59&&Sn(f)}function Ks(f){let g=[],k;for(let _=0;_<f.length;_++){let E=f[_];k&&k.type===5&&E.type===5||k&&k.type===16&&E.type===16?(k.parts[0]+=E.parts[0],k.sourceSpan.end=E.sourceSpan.end):(k=E,g.push(k))}return g}var Io=class TC{constructor(g,k){if(g instanceof TC){this.file=g.file,this.input=g.input,this.end=g.end;let _=g.state;this.state={peek:_.peek,offset:_.offset,line:_.line,column:_.column}}else{if(!k)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=g,this.input=g.content,this.end=k.endPos,this.state={peek:-1,offset:k.startPos,line:k.startLine,column:k.startCol}}}clone(){return new TC(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(g){return this.state.offset-g.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(g,k){g=g||this;let _=g;if(k)for(;this.diff(g)>0&&k.indexOf(g.peek())!==-1;)_===g&&(g=g.clone()),g.advance();let E=this.locationFromCursor(g),M=this.locationFromCursor(this),U=_!==g?this.locationFromCursor(_):E;return new nn(E,M,U)}getChars(g){return this.input.substring(g.state.offset,this.state.offset)}charAt(g){return this.input.charCodeAt(g)}advanceState(g){if(g.offset>=this.end)throw this.state=g,new hs('Unexpected character "EOF"',this);let k=this.charAt(g.offset);k===10?(g.line++,g.column=0):Bu(k)||g.column++,g.offset++,this.updatePeek(g)}updatePeek(g){g.peek=g.offset>=this.end?0:this.charAt(g.offset)}locationFromCursor(g){return new Wd(g.file,g.state.offset,g.state.line,g.state.column)}},uv=class AC extends Io{constructor(g,k){g instanceof AC?(super(g),this.internalState={...g.internalState}):(super(g,k),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new AC(this)}getChars(g){let k=g.clone(),_="";for(;k.internalState.offset<this.internalState.offset;)_+=String.fromCodePoint(k.peek()),k.advance();return _}processEscapeSequence(){let g=()=>this.internalState.peek;if(g()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),g()===110)this.state.peek=10;else if(g()===114)this.state.peek=13;else if(g()===118)this.state.peek=11;else if(g()===116)this.state.peek=9;else if(g()===98)this.state.peek=8;else if(g()===102)this.state.peek=12;else if(g()===117)if(this.advanceState(this.internalState),g()===123){this.advanceState(this.internalState);let k=this.clone(),_=0;for(;g()!==125;)this.advanceState(this.internalState),_++;this.state.peek=this.decodeHexDigits(k,_)}else{let k=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(k,4)}else if(g()===120){this.advanceState(this.internalState);let k=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(k,2)}else if(Us(g())){let k="",_=0,E=this.clone();for(;Us(g())&&_<3;)E=this.clone(),k+=String.fromCodePoint(g()),this.advanceState(this.internalState),_++;this.state.peek=parseInt(k,8),this.internalState=E.internalState}else Bu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(g,k){let _=this.input.slice(g.internalState.offset,g.internalState.offset+k),E=parseInt(_,16);if(isNaN(E))throw g.state=g.internalState,new hs("Invalid hexadecimal escape sequence",g);return E}},hs=class{constructor(f,g){this.msg=f,this.cursor=g}},ea=class E$ extends Yd{static create(g,k,_){return new E$(g,k,_)}constructor(g,k,_){super(k,_),this.elementName=g}},dm=class{constructor(f,g){this.rootNodes=f,this.errors=g}},Il=class{constructor(f){this.getTagDefinition=f}parse(f,g,k,_=!1,E){let M=Kt=>(Mn,..._r)=>Kt(Mn.toLowerCase(),..._r),U=_?this.getTagDefinition:M(this.getTagDefinition),ve=Kt=>U(Kt).getContentType(),Ie=_?E:M(E),et=fi(f,g,E?(Kt,Mn,_r,jr)=>{let Yr=Ie(Kt,Mn,_r,jr);return Yr!==void 0?Yr:ve(Kt)}:ve,k),qe=k&&k.canSelfClose||!1,Gt=k&&k.allowHtmComponentClosingTags||!1,Jt=new $r(et.tokens,U,qe,Gt,_);return Jt.build(),new dm(Jt.rootNodes,et.errors.concat(Jt.errors))}},$r=class T${constructor(g,k,_,E,M){this.tokens=g,this.getTagDefinition=k,this.canSelfClose=_,this.allowHtmComponentClosingTags=E,this.isTagNameCaseSensitive=M,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let g of this._containerStack)g instanceof ps&&this.errors.push(ea.create(g.name,g.sourceSpan,`Unclosed block "${g.name}"`))}_advance(){let g=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],g}_advanceIf(g){return this._peek.type===g?this._advance():null}_consumeCdata(g){let k=this._advance(),_=this._getText(k),E=this._advanceIf(13);this._addToParent(new Ga(_,new nn(g.sourceSpan.start,(E||k).sourceSpan.end),[k]))}_consumeComment(g){let k=this._advanceIf(7),_=this._advanceIf(11),E=k!=null?k.parts[0].trim():null,M=_==null?g.sourceSpan:new nn(g.sourceSpan.start,_.sourceSpan.end,g.sourceSpan.fullStart);this._addToParent(new Ic(E,M))}_consumeDocType(g){let k=this._advanceIf(7),_=this._advanceIf(19),E=k!=null?k.parts[0].trim():null,M=new nn(g.sourceSpan.start,(_||k||g).sourceSpan.end);this._addToParent(new Ka(E,M))}_consumeExpansion(g){let k=this._advance(),_=this._advance(),E=[];for(;this._peek.type===21;){let U=this._parseExpansionCase();if(!U)return;E.push(U)}if(this._peek.type!==24){this.errors.push(ea.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let M=new nn(g.sourceSpan.start,this._peek.sourceSpan.end,g.sourceSpan.fullStart);this._addToParent(new Oi(k.parts[0],_.parts[0],E,M,k.sourceSpan)),this._advance()}_parseExpansionCase(){let g=this._advance();if(this._peek.type!==22)return this.errors.push(ea.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let k=this._advance(),_=this._collectExpansionExpTokens(k);if(!_)return null;let E=this._advance();_.push({type:34,parts:[],sourceSpan:E.sourceSpan});let M=new T$(_,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(M.build(),M.errors.length>0)return this.errors=this.errors.concat(M.errors),null;let U=new nn(g.sourceSpan.start,E.sourceSpan.end,g.sourceSpan.fullStart),ve=new nn(k.sourceSpan.start,E.sourceSpan.end,k.sourceSpan.fullStart);return new Br(g.parts[0],M.rootNodes,U,g.sourceSpan,ve)}_collectExpansionExpTokens(g){let k=[],_=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&_.push(this._peek.type),this._peek.type===23)if(Ze(_,22)){if(_.pop(),_.length===0)return k}else return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ze(_,20))_.pop();else return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ea.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;k.push(this._advance())}}_getText(g){let k=g.parts[0];if(k.length>0&&k[0]==`
|
|
1524
1524
|
`){let _=this._getClosestParentElement();_!=null&&_.children.length==0&&this.getTagDefinition(_.name).ignoreFirstLf&&(k=k.substring(1))}return k}_consumeText(g){let k=[g],_=g.sourceSpan,E=g.parts[0];if(E.length>0&&E[0]===`
|
|
1525
|
-
`){let M=this._getContainer();M!=null&&M.children.length===0&&this.getTagDefinition(M.name).ignoreFirstLf&&(E=E.substring(1),k[0]={type:g.type,sourceSpan:g.sourceSpan,parts:[E]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)g=this._advance(),k.push(g),g.type===8?E+=g.parts.join("").replace(/&([^;]+);/g,Xa):g.type===9?E+=g.parts[0]:E+=g.parts.join("");if(E.length>0){let M=g.sourceSpan;this._addToParent(new
|
|
1525
|
+
`){let M=this._getContainer();M!=null&&M.children.length===0&&this.getTagDefinition(M.name).ignoreFirstLf&&(E=E.substring(1),k[0]={type:g.type,sourceSpan:g.sourceSpan,parts:[E]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)g=this._advance(),k.push(g),g.type===8?E+=g.parts.join("").replace(/&([^;]+);/g,Xa):g.type===9?E+=g.parts[0]:E+=g.parts.join("");if(E.length>0){let M=g.sourceSpan;this._addToParent(new Wr(E,new nn(_.start,M.end,_.fullStart,_.details),k))}}_closeVoidElement(){let g=this._getContainer();g instanceof fs&&this.getTagDefinition(g.name).isVoid&&this._containerStack.pop()}_consumeStartTag(g){let[k,_]=g.parts,E=[];for(;this._peek.type===14;)E.push(this._consumeAttr(this._advance()));let M=this._getElementFullName(k,_,this._getClosestParentElement()),U=!1;if(this._peek.type===2){this._advance(),U=!0;let Kt=this.getTagDefinition(M);this.canSelfClose||Kt.canSelfClose||di(M)!==null||Kt.isVoid||this.errors.push(ea.create(M,g.sourceSpan,`Only void, custom and foreign elements can be self closed "${g.parts[1]}"`))}else this._peek.type===1&&(this._advance(),U=!1);let ve=this._peek.sourceSpan.fullStart,Ie=new nn(g.sourceSpan.start,ve,g.sourceSpan.fullStart),et=new nn(g.sourceSpan.start,ve,g.sourceSpan.fullStart),qe=new nn(g.sourceSpan.start.moveBy(1),g.sourceSpan.end),Gt=new fs(M,E,[],Ie,et,void 0,qe),Jt=this._getContainer();this._pushContainer(Gt,Jt instanceof fs&&this.getTagDefinition(Jt.name).isClosedByChild(Gt.name)),U?this._popContainer(M,fs,Ie):g.type===4&&(this._popContainer(M,fs,null),this.errors.push(ea.create(M,Ie,`Opening tag "${M}" not terminated.`)))}_pushContainer(g,k){k&&this._containerStack.pop(),this._addToParent(g),this._containerStack.push(g)}_consumeEndTag(g){let k=this.allowHtmComponentClosingTags&&g.parts.length===0?null:this._getElementFullName(g.parts[0],g.parts[1],this._getClosestParentElement());if(k&&this.getTagDefinition(k).isVoid)this.errors.push(ea.create(k,g.sourceSpan,`Void elements do not have end tags "${g.parts[1]}"`));else if(!this._popContainer(k,fs,g.sourceSpan)){let _=`Unexpected closing tag "${k}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ea.create(k,g.sourceSpan,_))}}_popContainer(g,k,_){let E=!1;for(let M=this._containerStack.length-1;M>=0;M--){let U=this._containerStack[M];if(di(U.name)?U.name===g:(g==null||U.name.toLowerCase()===g.toLowerCase())&&U instanceof k)return U.endSourceSpan=_,U.sourceSpan.end=_!==null?_.end:U.sourceSpan.end,this._containerStack.splice(M,this._containerStack.length-M),!E;(U instanceof ps||U instanceof fs&&!this.getTagDefinition(U.name).closedByParent)&&(E=!0)}return!1}_consumeAttr(g){let k=Bc(g.parts[0],g.parts[1]),_=g.sourceSpan.end,E;this._peek.type===15&&(E=this._advance());let M="",U=[],ve,Ie;if(this._peek.type===16)for(ve=this._peek.sourceSpan,Ie=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let qe=this._advance();U.push(qe),qe.type===17?M+=qe.parts.join("").replace(/&([^;]+);/g,Xa):qe.type===9?M+=qe.parts[0]:M+=qe.parts.join(""),Ie=_=qe.sourceSpan.end}this._peek.type===15&&(Ie=_=this._advance().sourceSpan.end);let et=ve&&Ie&&new nn((E==null?void 0:E.sourceSpan.start)??ve.start,Ie,(E==null?void 0:E.sourceSpan.fullStart)??ve.fullStart);return new Uu(k,M,new nn(g.sourceSpan.start,_,g.sourceSpan.fullStart),g.sourceSpan,et,U.length>0?U:void 0,void 0)}_consumeBlockOpen(g){let k=[];for(;this._peek.type===28;){let ve=this._advance();k.push(new so(ve.parts[0],ve.sourceSpan))}this._peek.type===26&&this._advance();let _=this._peek.sourceSpan.fullStart,E=new nn(g.sourceSpan.start,_,g.sourceSpan.fullStart),M=new nn(g.sourceSpan.start,_,g.sourceSpan.fullStart),U=new ps(g.parts[0],k,[],E,g.sourceSpan,M);this._pushContainer(U,!1)}_consumeBlockClose(g){this._popContainer(null,ps,g.sourceSpan)||this.errors.push(ea.create(null,g.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(g){let k=[];for(;this._peek.type===28;){let ve=this._advance();k.push(new so(ve.parts[0],ve.sourceSpan))}let _=this._peek.sourceSpan.fullStart,E=new nn(g.sourceSpan.start,_,g.sourceSpan.fullStart),M=new nn(g.sourceSpan.start,_,g.sourceSpan.fullStart),U=new ps(g.parts[0],k,[],E,g.sourceSpan,M);this._pushContainer(U,!1),this._popContainer(null,ps,null),this.errors.push(ea.create(g.parts[0],E,`Incomplete block "${g.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(g){let k=g.parts[0],_,E;if(this._peek.type!==31){this.errors.push(ea.create(g.parts[0],g.sourceSpan,`Invalid @let declaration "${k}". Declaration must have a value.`));return}else _=this._advance();if(this._peek.type!==32){this.errors.push(ea.create(g.parts[0],g.sourceSpan,`Unterminated @let declaration "${k}". Declaration must be terminated with a semicolon.`));return}else E=this._advance();let M=E.sourceSpan.fullStart,U=new nn(g.sourceSpan.start,M,g.sourceSpan.fullStart),ve=g.sourceSpan.toString().lastIndexOf(k),Ie=g.sourceSpan.start.moveBy(ve),et=new nn(Ie,g.sourceSpan.end),qe=new Bl(k,_.parts[0],U,et,_.sourceSpan);this._addToParent(qe)}_consumeIncompleteLet(g){let k=g.parts[0]??"",_=k?` "${k}"`:"";if(k.length>0){let E=g.sourceSpan.toString().lastIndexOf(k),M=g.sourceSpan.start.moveBy(E),U=new nn(M,g.sourceSpan.end),ve=new nn(g.sourceSpan.start,g.sourceSpan.start.moveBy(0)),Ie=new Bl(k,"",g.sourceSpan,U,ve);this._addToParent(Ie)}this.errors.push(ea.create(g.parts[0],g.sourceSpan,`Incomplete @let declaration${_}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let g=this._containerStack.length-1;g>-1;g--)if(this._containerStack[g]instanceof fs)return this._containerStack[g];return null}_addToParent(g){let k=this._getContainer();k===null?this.rootNodes.push(g):k.children.push(g)}_getElementFullName(g,k,_){if(g===""&&(g=this.getTagDefinition(k).implicitNamespacePrefix||"",g===""&&_!=null)){let E=cs(_.name)[1];this.getTagDefinition(E).preventNamespaceInheritance||(g=di(_.name))}return Bc(g,k)}};function Ze(f,g){return f.length>0&&f[f.length-1]===g}function Xa(f,g){return lo[g]!==void 0?lo[g]||f:/^#x[a-f0-9]+$/i.test(g)?String.fromCodePoint(parseInt(g.slice(2),16)):/^#\d+$/.test(g)?String.fromCodePoint(parseInt(g.slice(1),10)):f}var Ja=class extends Il{constructor(){super(ka)}parse(f,g,k,_=!1,E){return super.parse(f,g,k,_,E)}},Qs=null,Cp=()=>(Qs||(Qs=new Ja),Qs);function tf(f,g={}){let{canSelfClose:k=!1,allowHtmComponentClosingTags:_=!1,isTagNameCaseSensitive:E=!1,getTagContentType:M,tokenizeAngularBlocks:U=!1,tokenizeAngularLetDeclaration:ve=!1}=g;return Cp().parse(f,"angular-html-parser",{tokenizeExpansionForms:U,interpolationConfig:void 0,canSelfClose:k,allowHtmComponentClosingTags:_,tokenizeBlocks:U,tokenizeLet:ve},E,M)}function _p(f,g){let k=new SyntaxError(f+" ("+g.loc.start.line+":"+g.loc.start.column+")");return Object.assign(k,g)}var xp=_p,tr=3;function Bi(f){let g=f.slice(0,tr);if(g!=="---"&&g!=="+++")return;let k=f.indexOf(`
|
|
1526
1526
|
`,tr);if(k===-1)return;let _=f.slice(tr,k).trim(),E=f.indexOf(`
|
|
1527
1527
|
${g}`,k),M=_;if(M||(M=g==="+++"?"toml":"yaml"),E===-1&&g==="---"&&M==="yaml"&&(E=f.indexOf(`
|
|
1528
|
-
...`,k)),E===-1)return;let U=E+1+tr,ve=f.charAt(U+1);if(!/\s?/u.test(ve))return;let Ie=f.slice(0,U);return{type:"front-matter",language:M,explicitLanguage:_,value:f.slice(k+1,E),startDelimiter:g,endDelimiter:Ie.slice(-3),raw:Ie}}function jl(f){let g=Bi(f);if(!g)return{content:f};let{raw:k}=g;return{frontMatter:g,content:Z(!1,k,/[^\n]/gu," ")+f.slice(k.length)}}var Ep=jl,Vu={attrs:!0,children:!0,cases:!0,expression:!0},Za=new Set(["parent"]),ta,zc,nf,ms=class Ly{constructor(g={}){I(this,ta),N(this,"type"),N(this,"parent");for(let k of new Set([...Za,...Object.keys(g)]))this.setProperty(k,g[k])}setProperty(g,k){if(this[g]!==k){if(g in Vu&&(k=k.map(_=>this.createChild(_))),!Za.has(g)){this[g]=k;return}Object.defineProperty(this,g,{value:k,enumerable:!1,configurable:!0})}}map(g){let k;for(let _ in Vu){let E=this[_];if(E){let M=rf(E,U=>U.map(g));k!==E&&(k||(k=new Ly({parent:this.parent})),k.setProperty(_,M))}}if(k)for(let _ in this)_ in Vu||(k[_]=this[_]);return g(k||this)}walk(g){for(let k in Vu){let _=this[k];if(_)for(let E=0;E<_.length;E++)_[E].walk(g)}g(this)}createChild(g){let k=g instanceof Ly?g.clone():new Ly(g);return k.setProperty("parent",this),k}insertChildBefore(g,k){let _=this.$children;_.splice(_.indexOf(g),0,this.createChild(k))}removeChild(g){let k=this.$children;k.splice(k.indexOf(g),1)}replaceChild(g,k){let _=this.$children;_[_.indexOf(g)]=this.createChild(k)}clone(){return new Ly(this)}get $children(){return this[B(this,ta,zc)]}set $children(g){this[B(this,ta,zc)]=g}get firstChild(){var g;return(g=this.$children)==null?void 0:g[0]}get lastChild(){return _e(!0,this.$children,-1)}get prev(){let g=B(this,ta,nf);return g[g.indexOf(this)-1]}get next(){let g=B(this,ta,nf);return g[g.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(g=>[g.fullName,g.value]))}};ta=new WeakSet,zc=function(){return this.type==="angularIcuCase"?"expression":this.type==="angularIcuExpression"?"cases":"children"},nf=function(){var f;return((f=this.parent)==null?void 0:f.$children)??[]};var Xs=ms;function rf(f,g){let k=f.map(g);return k.some((_,E)=>_!==f[E])?k:f}var fm=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:Tp},{regex:/^\[if([^\]]*)\]><!$/u,parse:Hc},{regex:/^<!\s*\[endif\]$/u,parse:jo}];function Uc(f,g){if(f.value)for(let{regex:k,parse:_}of fm){let E=f.value.match(k);if(E)return _(f,g,E)}return null}function Tp(f,g,k){let[,_,E,M]=k,U=4+_.length,ve=f.sourceSpan.start.moveBy(U),Ie=ve.moveBy(M.length),[et,qe]=(()=>{try{return[!0,g(M,ve).children]}catch{return[!1,[{type:"text",value:M,sourceSpan:new nn(ve,Ie)}]]}})();return{type:"ieConditionalComment",complete:et,children:qe,condition:Z(!1,E.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan,startSourceSpan:new nn(f.sourceSpan.start,ve),endSourceSpan:new nn(Ie,f.sourceSpan.end)}}function Hc(f,g,k){let[,_]=k;return{type:"ieConditionalStartComment",condition:Z(!1,_.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan}}function jo(f){return{type:"ieConditionalEndComment",sourceSpan:f.sourceSpan}}var zl=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),qc=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function Ul(f){if(f.type==="block"){if(f.name=Z(!1,f.name.toLowerCase(),/\s+/gu," ").trim(),f.type="angularControlFlowBlock",!sp(f.parameters)){delete f.parameters;return}for(let g of f.parameters)g.type="angularControlFlowBlockParameter";f.parameters={type:"angularControlFlowBlockParameters",children:f.parameters,sourceSpan:new nn(f.parameters[0].sourceSpan.start,_e(!1,f.parameters,-1).sourceSpan.end)}}}function Ap(f){f.type==="letDeclaration"&&(f.type="angularLetDeclaration",f.id=f.name,f.init={type:"angularLetDeclarationInitializer",sourceSpan:new nn(f.valueSpan.start,f.valueSpan.end),value:f.value},delete f.name,delete f.value)}function Hl(f){(f.type==="plural"||f.type==="select")&&(f.clause=f.type,f.type="angularIcuExpression"),f.type==="expansionCase"&&(f.type="angularIcuCase")}function Fp(f,g,k){let{name:_,canSelfClose:E=!0,normalizeTagName:M=!1,normalizeAttributeName:U=!1,allowHtmComponentClosingTags:ve=!1,isTagNameCaseSensitive:Ie=!1,shouldParseAsRawText:et}=g,{rootNodes:qe,errors:Gt}=tf(f,{canSelfClose:E,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:Ie,getTagContentType:et?(...ft)=>et(...ft)?$i.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:_==="angular"?!0:void 0,tokenizeAngularLetDeclaration:_==="angular"?!0:void 0});if(_==="vue"){if(qe.some(vr=>vr.type==="docType"&&vr.value==="html"||vr.type==="element"&&vr.name.toLowerCase()==="html"))return Fp(f,_t,k);let ft,an=()=>ft??(ft=tf(f,{canSelfClose:E,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:Ie})),xr=vr=>an().rootNodes.find(({startSourceSpan:Pr})=>Pr&&Pr.start.offset===vr.startSourceSpan.start.offset)??vr;for(let[vr,Pr]of qe.entries()){let{endSourceSpan:gs,startSourceSpan:Wu}=Pr;if(gs===null)Gt=an().errors,qe[vr]=xr(Pr);else if(af(Pr,k)){let ql=an().errors.find(Wc=>Wc.span.start.offset>Wu.start.offset&&Wc.span.start.offset<gs.end.offset);ql&&hr(ql),qe[vr]=xr(Pr)}}}Gt.length>0&&hr(Gt[0]);let Jt=ft=>{let an=ft.name.startsWith(":")?ft.name.slice(1).split(":")[0]:null,xr=ft.nameSpan.toString(),vr=an!==null&&xr.startsWith(`${an}:`),Pr=vr?xr.slice(an.length+1):xr;ft.name=Pr,ft.namespace=an,ft.hasExplicitNamespace=vr},Kt=ft=>{switch(ft.type){case"element":Jt(ft);for(let an of ft.attrs)Jt(an),an.valueSpan?(an.value=an.valueSpan.toString(),/["']/u.test(an.value[0])&&(an.value=an.value.slice(1,-1))):an.value=null;break;case"comment":ft.value=ft.sourceSpan.toString().slice(4,-3);break;case"text":ft.value=ft.sourceSpan.toString();break}},Mn=(ft,an)=>{let xr=ft.toLowerCase();return an(xr)?xr:ft},_r=ft=>{if(ft.type==="element"&&(M&&(!ft.namespace||ft.namespace===ft.tagDefinition.implicitNamespacePrefix||Wt(ft))&&(ft.name=Mn(ft.name,an=>qc.has(an))),U))for(let an of ft.attrs)an.namespace||(an.name=Mn(an.name,xr=>zl.has(ft.name)&&(zl.get("*").has(xr)||zl.get(ft.name).has(xr))))},jr=ft=>{ft.sourceSpan&&ft.endSourceSpan&&(ft.sourceSpan=new nn(ft.sourceSpan.start,ft.endSourceSpan.end))},Wr=ft=>{if(ft.type==="element"){let an=ka(Ie?ft.name:ft.name.toLowerCase());!ft.namespace||ft.namespace===an.implicitNamespacePrefix||Wt(ft)?ft.tagDefinition=an:ft.tagDefinition=ka("")}};return Ro(new class extends ef{visitExpansionCase(ft,an){_==="angular"&&this.visitChildren(an,xr=>{xr(ft.expression)})}visit(ft){Kt(ft),Wr(ft),_r(ft),jr(ft)}},qe),qe}function af(f,g){var k;if(f.type!=="element"||f.name!=="template")return!1;let _=(k=f.attrs.find(E=>E.name==="lang"))==null?void 0:k.value;return!_||V(g,{language:_})==="html"}function hr(f){let{msg:g,span:{start:k,end:_}}=f;throw xp(g,{loc:{start:{line:k.line+1,column:k.col+1},end:{line:_.line+1,column:_.col+1}},cause:f})}function Vc(f,g,k={},_=!0){let{frontMatter:E,content:M}=_?Ep(f):{frontMatter:null,content:f},U=new gp(f,k.filepath),ve=new Wd(U,0,0,0),Ie=ve.moveBy(f.length),et={type:"root",sourceSpan:new nn(ve,Ie),children:Fp(M,g,k)};if(E){let Jt=new Wd(U,0,0,0),Kt=Jt.moveBy(E.raw.length);E.sourceSpan=new nn(Jt,Kt),et.children.unshift(E)}let qe=new Xs(et),Gt=(Jt,Kt)=>{let{offset:Mn}=Kt,_r=Z(!1,f.slice(0,Mn),/[^\n\r]/gu," "),jr=Vc(_r+Jt,g,k,!1);jr.sourceSpan=new nn(Kt,_e(!1,jr.children,-1).sourceSpan.end);let Wr=jr.children[0];return Wr.length===Mn?jr.children.shift():(Wr.sourceSpan=new nn(Wr.sourceSpan.start.moveBy(Mn),Wr.sourceSpan.end),Wr.value=Wr.value.slice(Mn)),jr};return qe.walk(Jt=>{if(Jt.type==="comment"){let Kt=Uc(Jt,Gt);Kt&&Jt.parent.replaceChild(Jt,Kt)}Ul(Jt),Ap(Jt),Hl(Jt)}),qe}function Js(f){return{parse:(g,k)=>Vc(g,f,k),hasPragma:am,astFormat:"html",locStart:ui,locEnd:El}}var _t={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},rn=Js(_t),En=Js({name:"angular"}),qn=Js({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(f,g,k,_){return f.toLowerCase()!=="html"&&!k&&(f!=="template"||_.some(({name:E,value:M})=>E==="lang"&&M!=="html"&&M!==""&&M!==void 0))}}),Tn=Js({name:"lwc",canSelfClose:!1}),Ir={html:Iu};return $(Y)})})(I1);var j1=I1.exports;const z1=F$({__proto__:null,default:By(j1)},[j1]);function MM(n,r){if(n==null)return{};var i={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(r.indexOf(l)!==-1)continue;i[l]=n[l]}return i}function IM(n,r){if(n==null)return{};var i,l,c=MM(n,r);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(n);for(l=0;l<h.length;l++)i=h[l],r.indexOf(i)===-1&&{}.propertyIsEnumerable.call(n,i)&&(c[i]=n[i])}return c}function i2(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,l=Array(r);i<r;i++)l[i]=n[i];return l}function jM(n){if(Array.isArray(n))return i2(n)}function zM(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function UM(n,r){if(n){if(typeof n=="string")return i2(n,r);var i={}.toString.call(n).slice(8,-1);return i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set"?Array.from(n):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?i2(n,r):void 0}}function HM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1528
|
+
...`,k)),E===-1)return;let U=E+1+tr,ve=f.charAt(U+1);if(!/\s?/u.test(ve))return;let Ie=f.slice(0,U);return{type:"front-matter",language:M,explicitLanguage:_,value:f.slice(k+1,E),startDelimiter:g,endDelimiter:Ie.slice(-3),raw:Ie}}function jl(f){let g=Bi(f);if(!g)return{content:f};let{raw:k}=g;return{frontMatter:g,content:Z(!1,k,/[^\n]/gu," ")+f.slice(k.length)}}var Ep=jl,Vu={attrs:!0,children:!0,cases:!0,expression:!0},Za=new Set(["parent"]),ta,zc,nf,ms=class Ly{constructor(g={}){I(this,ta),N(this,"type"),N(this,"parent");for(let k of new Set([...Za,...Object.keys(g)]))this.setProperty(k,g[k])}setProperty(g,k){if(this[g]!==k){if(g in Vu&&(k=k.map(_=>this.createChild(_))),!Za.has(g)){this[g]=k;return}Object.defineProperty(this,g,{value:k,enumerable:!1,configurable:!0})}}map(g){let k;for(let _ in Vu){let E=this[_];if(E){let M=rf(E,U=>U.map(g));k!==E&&(k||(k=new Ly({parent:this.parent})),k.setProperty(_,M))}}if(k)for(let _ in this)_ in Vu||(k[_]=this[_]);return g(k||this)}walk(g){for(let k in Vu){let _=this[k];if(_)for(let E=0;E<_.length;E++)_[E].walk(g)}g(this)}createChild(g){let k=g instanceof Ly?g.clone():new Ly(g);return k.setProperty("parent",this),k}insertChildBefore(g,k){let _=this.$children;_.splice(_.indexOf(g),0,this.createChild(k))}removeChild(g){let k=this.$children;k.splice(k.indexOf(g),1)}replaceChild(g,k){let _=this.$children;_[_.indexOf(g)]=this.createChild(k)}clone(){return new Ly(this)}get $children(){return this[B(this,ta,zc)]}set $children(g){this[B(this,ta,zc)]=g}get firstChild(){var g;return(g=this.$children)==null?void 0:g[0]}get lastChild(){return _e(!0,this.$children,-1)}get prev(){let g=B(this,ta,nf);return g[g.indexOf(this)-1]}get next(){let g=B(this,ta,nf);return g[g.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(g=>[g.fullName,g.value]))}};ta=new WeakSet,zc=function(){return this.type==="angularIcuCase"?"expression":this.type==="angularIcuExpression"?"cases":"children"},nf=function(){var f;return((f=this.parent)==null?void 0:f.$children)??[]};var Xs=ms;function rf(f,g){let k=f.map(g);return k.some((_,E)=>_!==f[E])?k:f}var fm=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:Tp},{regex:/^\[if([^\]]*)\]><!$/u,parse:Hc},{regex:/^<!\s*\[endif\]$/u,parse:jo}];function Uc(f,g){if(f.value)for(let{regex:k,parse:_}of fm){let E=f.value.match(k);if(E)return _(f,g,E)}return null}function Tp(f,g,k){let[,_,E,M]=k,U=4+_.length,ve=f.sourceSpan.start.moveBy(U),Ie=ve.moveBy(M.length),[et,qe]=(()=>{try{return[!0,g(M,ve).children]}catch{return[!1,[{type:"text",value:M,sourceSpan:new nn(ve,Ie)}]]}})();return{type:"ieConditionalComment",complete:et,children:qe,condition:Z(!1,E.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan,startSourceSpan:new nn(f.sourceSpan.start,ve),endSourceSpan:new nn(Ie,f.sourceSpan.end)}}function Hc(f,g,k){let[,_]=k;return{type:"ieConditionalStartComment",condition:Z(!1,_.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan}}function jo(f){return{type:"ieConditionalEndComment",sourceSpan:f.sourceSpan}}var zl=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),qc=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function Ul(f){if(f.type==="block"){if(f.name=Z(!1,f.name.toLowerCase(),/\s+/gu," ").trim(),f.type="angularControlFlowBlock",!sp(f.parameters)){delete f.parameters;return}for(let g of f.parameters)g.type="angularControlFlowBlockParameter";f.parameters={type:"angularControlFlowBlockParameters",children:f.parameters,sourceSpan:new nn(f.parameters[0].sourceSpan.start,_e(!1,f.parameters,-1).sourceSpan.end)}}}function Ap(f){f.type==="letDeclaration"&&(f.type="angularLetDeclaration",f.id=f.name,f.init={type:"angularLetDeclarationInitializer",sourceSpan:new nn(f.valueSpan.start,f.valueSpan.end),value:f.value},delete f.name,delete f.value)}function Hl(f){(f.type==="plural"||f.type==="select")&&(f.clause=f.type,f.type="angularIcuExpression"),f.type==="expansionCase"&&(f.type="angularIcuCase")}function Fp(f,g,k){let{name:_,canSelfClose:E=!0,normalizeTagName:M=!1,normalizeAttributeName:U=!1,allowHtmComponentClosingTags:ve=!1,isTagNameCaseSensitive:Ie=!1,shouldParseAsRawText:et}=g,{rootNodes:qe,errors:Gt}=tf(f,{canSelfClose:E,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:Ie,getTagContentType:et?(...ft)=>et(...ft)?$i.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:_==="angular"?!0:void 0,tokenizeAngularLetDeclaration:_==="angular"?!0:void 0});if(_==="vue"){if(qe.some(vr=>vr.type==="docType"&&vr.value==="html"||vr.type==="element"&&vr.name.toLowerCase()==="html"))return Fp(f,_t,k);let ft,an=()=>ft??(ft=tf(f,{canSelfClose:E,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:Ie})),xr=vr=>an().rootNodes.find(({startSourceSpan:Pr})=>Pr&&Pr.start.offset===vr.startSourceSpan.start.offset)??vr;for(let[vr,Pr]of qe.entries()){let{endSourceSpan:gs,startSourceSpan:Wu}=Pr;if(gs===null)Gt=an().errors,qe[vr]=xr(Pr);else if(af(Pr,k)){let ql=an().errors.find(Wc=>Wc.span.start.offset>Wu.start.offset&&Wc.span.start.offset<gs.end.offset);ql&&hr(ql),qe[vr]=xr(Pr)}}}Gt.length>0&&hr(Gt[0]);let Jt=ft=>{let an=ft.name.startsWith(":")?ft.name.slice(1).split(":")[0]:null,xr=ft.nameSpan.toString(),vr=an!==null&&xr.startsWith(`${an}:`),Pr=vr?xr.slice(an.length+1):xr;ft.name=Pr,ft.namespace=an,ft.hasExplicitNamespace=vr},Kt=ft=>{switch(ft.type){case"element":Jt(ft);for(let an of ft.attrs)Jt(an),an.valueSpan?(an.value=an.valueSpan.toString(),/["']/u.test(an.value[0])&&(an.value=an.value.slice(1,-1))):an.value=null;break;case"comment":ft.value=ft.sourceSpan.toString().slice(4,-3);break;case"text":ft.value=ft.sourceSpan.toString();break}},Mn=(ft,an)=>{let xr=ft.toLowerCase();return an(xr)?xr:ft},_r=ft=>{if(ft.type==="element"&&(M&&(!ft.namespace||ft.namespace===ft.tagDefinition.implicitNamespacePrefix||Wt(ft))&&(ft.name=Mn(ft.name,an=>qc.has(an))),U))for(let an of ft.attrs)an.namespace||(an.name=Mn(an.name,xr=>zl.has(ft.name)&&(zl.get("*").has(xr)||zl.get(ft.name).has(xr))))},jr=ft=>{ft.sourceSpan&&ft.endSourceSpan&&(ft.sourceSpan=new nn(ft.sourceSpan.start,ft.endSourceSpan.end))},Yr=ft=>{if(ft.type==="element"){let an=ka(Ie?ft.name:ft.name.toLowerCase());!ft.namespace||ft.namespace===an.implicitNamespacePrefix||Wt(ft)?ft.tagDefinition=an:ft.tagDefinition=ka("")}};return Ro(new class extends ef{visitExpansionCase(ft,an){_==="angular"&&this.visitChildren(an,xr=>{xr(ft.expression)})}visit(ft){Kt(ft),Yr(ft),_r(ft),jr(ft)}},qe),qe}function af(f,g){var k;if(f.type!=="element"||f.name!=="template")return!1;let _=(k=f.attrs.find(E=>E.name==="lang"))==null?void 0:k.value;return!_||V(g,{language:_})==="html"}function hr(f){let{msg:g,span:{start:k,end:_}}=f;throw xp(g,{loc:{start:{line:k.line+1,column:k.col+1},end:{line:_.line+1,column:_.col+1}},cause:f})}function Vc(f,g,k={},_=!0){let{frontMatter:E,content:M}=_?Ep(f):{frontMatter:null,content:f},U=new gp(f,k.filepath),ve=new Wd(U,0,0,0),Ie=ve.moveBy(f.length),et={type:"root",sourceSpan:new nn(ve,Ie),children:Fp(M,g,k)};if(E){let Jt=new Wd(U,0,0,0),Kt=Jt.moveBy(E.raw.length);E.sourceSpan=new nn(Jt,Kt),et.children.unshift(E)}let qe=new Xs(et),Gt=(Jt,Kt)=>{let{offset:Mn}=Kt,_r=Z(!1,f.slice(0,Mn),/[^\n\r]/gu," "),jr=Vc(_r+Jt,g,k,!1);jr.sourceSpan=new nn(Kt,_e(!1,jr.children,-1).sourceSpan.end);let Yr=jr.children[0];return Yr.length===Mn?jr.children.shift():(Yr.sourceSpan=new nn(Yr.sourceSpan.start.moveBy(Mn),Yr.sourceSpan.end),Yr.value=Yr.value.slice(Mn)),jr};return qe.walk(Jt=>{if(Jt.type==="comment"){let Kt=Uc(Jt,Gt);Kt&&Jt.parent.replaceChild(Jt,Kt)}Ul(Jt),Ap(Jt),Hl(Jt)}),qe}function Js(f){return{parse:(g,k)=>Vc(g,f,k),hasPragma:am,astFormat:"html",locStart:ui,locEnd:El}}var _t={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},rn=Js(_t),En=Js({name:"angular"}),qn=Js({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(f,g,k,_){return f.toLowerCase()!=="html"&&!k&&(f!=="template"||_.some(({name:E,value:M})=>E==="lang"&&M!=="html"&&M!==""&&M!==void 0))}}),Tn=Js({name:"lwc",canSelfClose:!1}),Ir={html:Iu};return $(Y)})})(I1);var j1=I1.exports;const z1=F$({__proto__:null,default:By(j1)},[j1]);function MM(n,r){if(n==null)return{};var i={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(r.indexOf(l)!==-1)continue;i[l]=n[l]}return i}function IM(n,r){if(n==null)return{};var i,l,c=MM(n,r);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(n);for(l=0;l<h.length;l++)i=h[l],r.indexOf(i)===-1&&{}.propertyIsEnumerable.call(n,i)&&(c[i]=n[i])}return c}function i2(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,l=Array(r);i<r;i++)l[i]=n[i];return l}function jM(n){if(Array.isArray(n))return i2(n)}function zM(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function UM(n,r){if(n){if(typeof n=="string")return i2(n,r);var i={}.toString.call(n).slice(8,-1);return i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set"?Array.from(n):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?i2(n,r):void 0}}function HM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1529
1529
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o2(n){return jM(n)||zM(n)||UM(n)||HM()}function Vg(n){"@babel/helpers - typeof";return Vg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Vg(n)}function qM(n,r){if(Vg(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var l=i.call(n,r);if(Vg(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function VM(n){var r=qM(n,"string");return Vg(r)=="symbol"?r:r+""}function U1(n,r,i){return(r=VM(r))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function s2(){return s2=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var l in i)({}).hasOwnProperty.call(i,l)&&(n[l]=i[l])}return n},s2.apply(null,arguments)}function H1(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),i.push.apply(i,l)}return i}function Uh(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?H1(Object(i),!0).forEach(function(l){U1(n,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):H1(Object(i)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(i,l))})}return n}function WM(n){var r=n.length;if(r===0||r===1)return n;if(r===2)return[n[0],n[1],"".concat(n[0],".").concat(n[1]),"".concat(n[1],".").concat(n[0])];if(r===3)return[n[0],n[1],n[2],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0])];if(r>=4)return[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]}var l2={};function YM(n){if(n.length===0||n.length===1)return n;var r=n.join(".");return l2[r]||(l2[r]=WM(n)),l2[r]}function GM(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,l=n.filter(function(h){return h!=="token"}),c=YM(l);return c.reduce(function(h,m){return Uh(Uh({},h),i[m])},r)}function q1(n){return n.join(" ")}function KM(n,r){var i=0;return function(l){return i+=1,l.map(function(c,h){return V1({node:c,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(i,"-").concat(h)})})}}function V1(n){var r=n.node,i=n.stylesheet,l=n.style,c=l===void 0?{}:l,h=n.useInlineStyles,m=n.key,D=r.properties,C=r.type,T=r.tagName,$=r.value;if(C==="text")return $;if(T){var N=KM(i,h),O;if(!h)O=Uh(Uh({},D),{},{className:q1(D.className)});else{var B=Object.keys(i).reduce(function(Ce,Z){return Z.split(".").forEach(function(W){Ce.includes(W)||Ce.push(W)}),Ce},[]),I=D.className&&D.className.includes("token")?["token"]:[],G=D.className&&I.concat(D.className.filter(function(Ce){return!B.includes(Ce)}));O=Uh(Uh({},D),{},{className:q1(G)||void 0,style:GM(D.className,Object.assign({},D.style,c),i)})}var Y=N(r.children);return $e.createElement(T,s2({key:m},O),Y)}}const QM=function(n,r){var i=n.listLanguages();return i.indexOf(r)!==-1};var XM=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function W1(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),i.push.apply(i,l)}return i}function Od(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?W1(Object(i),!0).forEach(function(l){U1(n,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):W1(Object(i)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(i,l))})}return n}var JM=/\n/g;function ZM(n){return n.match(JM)}function eI(n){var r=n.lines,i=n.startingLineNumber,l=n.style;return r.map(function(c,h){var m=h+i;return $e.createElement("span",{key:"line-".concat(h),className:"react-syntax-highlighter-line-number",style:typeof l=="function"?l(m):l},"".concat(m,`
|
|
1530
1530
|
`))})}function tI(n){var r=n.codeString,i=n.codeStyle,l=n.containerStyle,c=l===void 0?{float:"left",paddingRight:"10px"}:l,h=n.numberStyle,m=h===void 0?{}:h,D=n.startingLineNumber;return $e.createElement("code",{style:Object.assign({},i,c)},eI({lines:r.replace(/\n$/,"").split(`
|
|
1531
1531
|
`),style:m,startingLineNumber:D}))}function nI(n){return"".concat(n.toString().length,".25em")}function Y1(n,r){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(n),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:r},children:[{type:"text",value:n}]}}function G1(n,r,i){var l={display:"inline-block",minWidth:nI(i),paddingRight:"1em",textAlign:"right",userSelect:"none"},c=typeof n=="function"?n(r):n,h=Od(Od({},l),c);return h}function Eb(n){var r=n.children,i=n.lineNumber,l=n.lineNumberStyle,c=n.largestLineNumber,h=n.showInlineLineNumbers,m=n.lineProps,D=m===void 0?{}:m,C=n.className,T=C===void 0?[]:C,$=n.showLineNumbers,N=n.wrapLongLines,O=n.wrapLines,B=O===void 0?!1:O,I=B?Od({},typeof D=="function"?D(i):D):{};if(I.className=I.className?[].concat(o2(I.className.trim().split(/\s+/)),o2(T)):T,i&&h){var G=G1(l,i,c);r.unshift(Y1(i,G))}return N&$&&(I.style=Od({display:"flex"},I.style)),{type:"element",tagName:"span",properties:I,children:r}}function K1(n){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],l=0;l<n.length;l++){var c=n[l];if(c.type==="text")i.push(Eb({children:[c],className:o2(new Set(r))}));else if(c.children){var h=r.concat(c.properties.className);K1(c.children,h).forEach(function(m){return i.push(m)})}}return i}function rI(n,r,i,l,c,h,m,D,C){var T,$=K1(n.value),N=[],O=-1,B=0;function I(K,ae){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Eb({children:K,lineNumber:ae,lineNumberStyle:D,largestLineNumber:m,showInlineLineNumbers:c,lineProps:i,className:pe,showLineNumbers:l,wrapLongLines:C,wrapLines:r})}function G(K,ae){if(l&&ae&&c){var pe=G1(D,ae,m);K.unshift(Y1(ae,pe))}return K}function Y(K,ae){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return r||pe.length>0?I(K,ae,pe):G(K,ae)}for(var Ce=function(){var ae=$[B],pe=ae.children[0].value,Te=ZM(pe);if(Te){var ke=pe.split(`
|
|
@@ -1541,4 +1541,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1541
1541
|
*/var i=function(l){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,m={},D={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function Z(W){return W instanceof C?new C(W.type,Z(W.content),W.alias):Array.isArray(W)?W.map(Z):W.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(Z){return Object.prototype.toString.call(Z).slice(8,-1)},objId:function(Z){return Z.__id||Object.defineProperty(Z,"__id",{value:++h}),Z.__id},clone:function Z(W,J){J=J||{};var K,ae;switch(D.util.type(W)){case"Object":if(ae=D.util.objId(W),J[ae])return J[ae];K={},J[ae]=K;for(var pe in W)W.hasOwnProperty(pe)&&(K[pe]=Z(W[pe],J));return K;case"Array":return ae=D.util.objId(W),J[ae]?J[ae]:(K=[],J[ae]=K,W.forEach(function(Te,ke){K[ke]=Z(Te,J)}),K);default:return W}},getLanguage:function(Z){for(;Z;){var W=c.exec(Z.className);if(W)return W[1].toLowerCase();Z=Z.parentElement}return"none"},setLanguage:function(Z,W){Z.className=Z.className.replace(RegExp(c,"gi"),""),Z.classList.add("language-"+W)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(K){var Z=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(K.stack)||[])[1];if(Z){var W=document.getElementsByTagName("script");for(var J in W)if(W[J].src==Z)return W[J]}return null}},isActive:function(Z,W,J){for(var K="no-"+W;Z;){var ae=Z.classList;if(ae.contains(W))return!0;if(ae.contains(K))return!1;Z=Z.parentElement}return!!J}},languages:{plain:m,plaintext:m,text:m,txt:m,extend:function(Z,W){var J=D.util.clone(D.languages[Z]);for(var K in W)J[K]=W[K];return J},insertBefore:function(Z,W,J,K){K=K||D.languages;var ae=K[Z],pe={};for(var Te in ae)if(ae.hasOwnProperty(Te)){if(Te==W)for(var ke in J)J.hasOwnProperty(ke)&&(pe[ke]=J[ke]);J.hasOwnProperty(Te)||(pe[Te]=ae[Te])}var Ge=K[Z];return K[Z]=pe,D.languages.DFS(D.languages,function(We,Ke){Ke===Ge&&We!=Z&&(this[We]=pe)}),pe},DFS:function Z(W,J,K,ae){ae=ae||{};var pe=D.util.objId;for(var Te in W)if(W.hasOwnProperty(Te)){J.call(W,Te,W[Te],K||Te);var ke=W[Te],Ge=D.util.type(ke);Ge==="Object"&&!ae[pe(ke)]?(ae[pe(ke)]=!0,Z(ke,J,null,ae)):Ge==="Array"&&!ae[pe(ke)]&&(ae[pe(ke)]=!0,Z(ke,J,Te,ae))}}},plugins:{},highlightAll:function(Z,W){D.highlightAllUnder(document,Z,W)},highlightAllUnder:function(Z,W,J){var K={callback:J,container:Z,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};D.hooks.run("before-highlightall",K),K.elements=Array.prototype.slice.apply(K.container.querySelectorAll(K.selector)),D.hooks.run("before-all-elements-highlight",K);for(var ae=0,pe;pe=K.elements[ae++];)D.highlightElement(pe,W===!0,K.callback)},highlightElement:function(Z,W,J){var K=D.util.getLanguage(Z),ae=D.languages[K];D.util.setLanguage(Z,K);var pe=Z.parentElement;pe&&pe.nodeName.toLowerCase()==="pre"&&D.util.setLanguage(pe,K);var Te=Z.textContent,ke={element:Z,language:K,grammar:ae,code:Te};function Ge(Ke){ke.highlightedCode=Ke,D.hooks.run("before-insert",ke),ke.element.innerHTML=ke.highlightedCode,D.hooks.run("after-highlight",ke),D.hooks.run("complete",ke),J&&J.call(ke.element)}if(D.hooks.run("before-sanity-check",ke),pe=ke.element.parentElement,pe&&pe.nodeName.toLowerCase()==="pre"&&!pe.hasAttribute("tabindex")&&pe.setAttribute("tabindex","0"),!ke.code){D.hooks.run("complete",ke),J&&J.call(ke.element);return}if(D.hooks.run("before-highlight",ke),!ke.grammar){Ge(D.util.encode(ke.code));return}if(W&&l.Worker){var We=new Worker(D.filename);We.onmessage=function(Ke){Ge(Ke.data)},We.postMessage(JSON.stringify({language:ke.language,code:ke.code,immediateClose:!0}))}else Ge(D.highlight(ke.code,ke.grammar,ke.language))},highlight:function(Z,W,J){var K={code:Z,grammar:W,language:J};if(D.hooks.run("before-tokenize",K),!K.grammar)throw new Error('The language "'+K.language+'" has no grammar.');return K.tokens=D.tokenize(K.code,K.grammar),D.hooks.run("after-tokenize",K),C.stringify(D.util.encode(K.tokens),K.language)},tokenize:function(Z,W){var J=W.rest;if(J){for(var K in J)W[K]=J[K];delete W.rest}var ae=new N;return O(ae,ae.head,Z),$(Z,ae,W,ae.head,0),I(ae)},hooks:{all:{},add:function(Z,W){var J=D.hooks.all;J[Z]=J[Z]||[],J[Z].push(W)},run:function(Z,W){var J=D.hooks.all[Z];if(!(!J||!J.length))for(var K=0,ae;ae=J[K++];)ae(W)}},Token:C};l.Prism=D;function C(Z,W,J,K){this.type=Z,this.content=W,this.alias=J,this.length=(K||"").length|0}C.stringify=function Z(W,J){if(typeof W=="string")return W;if(Array.isArray(W)){var K="";return W.forEach(function(Ge){K+=Z(Ge,J)}),K}var ae={type:W.type,content:Z(W.content,J),tag:"span",classes:["token",W.type],attributes:{},language:J},pe=W.alias;pe&&(Array.isArray(pe)?Array.prototype.push.apply(ae.classes,pe):ae.classes.push(pe)),D.hooks.run("wrap",ae);var Te="";for(var ke in ae.attributes)Te+=" "+ke+'="'+(ae.attributes[ke]||"").replace(/"/g,""")+'"';return"<"+ae.tag+' class="'+ae.classes.join(" ")+'"'+Te+">"+ae.content+"</"+ae.tag+">"};function T(Z,W,J,K){Z.lastIndex=W;var ae=Z.exec(J);if(ae&&K&&ae[1]){var pe=ae[1].length;ae.index+=pe,ae[0]=ae[0].slice(pe)}return ae}function $(Z,W,J,K,ae,pe){for(var Te in J)if(!(!J.hasOwnProperty(Te)||!J[Te])){var ke=J[Te];ke=Array.isArray(ke)?ke:[ke];for(var Ge=0;Ge<ke.length;++Ge){if(pe&&pe.cause==Te+","+Ge)return;var We=ke[Ge],Ke=We.inside,nt=!!We.lookbehind,He=!!We.greedy,dt=We.alias;if(He&&!We.pattern.global){var Me=We.pattern.toString().match(/[imsuy]*$/)[0];We.pattern=RegExp(We.pattern.source,Me+"g")}for(var Le=We.pattern||We,de=K.next,Re=ae;de!==W.tail&&!(pe&&Re>=pe.reach);Re+=de.value.length,de=de.next){var _e=de.value;if(W.length>Z.length)return;if(!(_e instanceof C)){var Q=1,he;if(He){if(he=T(Le,Re,Z,nt),!he||he.index>=Z.length)break;var ht=he.index,ot=he.index+he[0].length,rt=Re;for(rt+=de.value.length;ht>=rt;)de=de.next,rt+=de.value.length;if(rt-=de.value.length,Re=rt,de.value instanceof C)continue;for(var Dt=de;Dt!==W.tail&&(rt<ot||typeof Dt.value=="string");Dt=Dt.next)Q++,rt+=Dt.value.length;Q--,_e=Z.slice(Re,rt),he.index-=Re}else if(he=T(Le,0,_e,nt),!he)continue;var ht=he.index,bt=he[0],vt=_e.slice(0,ht),Rt=_e.slice(ht+bt.length),fn=Re+_e.length;pe&&fn>pe.reach&&(pe.reach=fn);var en=de.prev;vt&&(en=O(W,en,vt),Re+=vt.length),B(W,en,Q);var Qn=new C(Te,Ke?D.tokenize(bt,Ke):bt,dt,bt);if(de=O(W,en,Qn),Rt&&O(W,de,Rt),Q>1){var Lt={cause:Te+","+Ge,reach:fn};$(Z,W,J,de.prev,Re,Lt),pe&&Lt.reach>pe.reach&&(pe.reach=Lt.reach)}}}}}}function N(){var Z={value:null,prev:null,next:null},W={value:null,prev:Z,next:null};Z.next=W,this.head=Z,this.tail=W,this.length=0}function O(Z,W,J){var K=W.next,ae={value:J,prev:W,next:K};return W.next=ae,K.prev=ae,Z.length++,ae}function B(Z,W,J){for(var K=W.next,ae=0;ae<J&&K!==Z.tail;ae++)K=K.next;W.next=K,K.prev=W,Z.length-=ae}function I(Z){for(var W=[],J=Z.head.next;J!==Z.tail;)W.push(J.value),J=J.next;return W}if(!l.document)return l.addEventListener&&(D.disableWorkerMessageHandler||l.addEventListener("message",function(Z){var W=JSON.parse(Z.data),J=W.language,K=W.code,ae=W.immediateClose;l.postMessage(D.highlight(K,D.languages[J],J)),ae&&l.close()},!1)),D;var G=D.util.currentScript();G&&(D.filename=G.src,G.hasAttribute("data-manual")&&(D.manual=!0));function Y(){D.manual||D.highlightAll()}if(!D.manual){var Ce=document.readyState;Ce==="loading"||Ce==="interactive"&&G&&G.defer?document.addEventListener("DOMContentLoaded",Y):window.requestAnimationFrame?window.requestAnimationFrame(Y):window.setTimeout(Y,16)}return D}(r);n.exports&&(n.exports=i),typeof kd<"u"&&(kd.Prism=i)})(PE);var i4=PE.exports,o4=w2;w2.displayName="markup",w2.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function w2(n){n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,l){var c={};c["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[l]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var h={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};h["language-"+l]={pattern:/[\s\S]+/,inside:n.languages[l]};var m={};m[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:h},n.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,i){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:n.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}var s4=D2;D2.displayName="css",D2.aliases=[];function D2(n){(function(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var l=r.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}var l4=S2;S2.displayName="clike",S2.aliases=[];function S2(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var u4=C2;C2.displayName="javascript",C2.aliases=["js"];function C2(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}var Kg=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof kd=="object"?kd:{},c4=x4();Kg.Prism={manual:!0,disableWorkerMessageHandler:!0};var d4=Cj,f4=Uj,NE=i4,p4=o4,h4=s4,m4=l4,g4=u4;c4();var _2={}.hasOwnProperty;function OE(){}OE.prototype=NE;var ma=new OE,v4=ma;ma.highlight=b4,ma.register=Qg,ma.alias=y4,ma.registered=k4,ma.listLanguages=w4,Qg(p4),Qg(h4),Qg(m4),Qg(g4),ma.util.encode=C4,ma.Token.stringify=D4;function Qg(n){if(typeof n!="function"||!n.displayName)throw new Error("Expected `function` for `grammar`, got `"+n+"`");ma.languages[n.displayName]===void 0&&n(ma)}function y4(n,r){var i=ma.languages,l=n,c,h,m,D;r&&(l={},l[n]=r);for(c in l)for(h=l[c],h=typeof h=="string"?[h]:h,m=h.length,D=-1;++D<m;)i[h[D]]=i[c]}function b4(n,r){var i=NE.highlight,l;if(typeof n!="string")throw new Error("Expected `string` for `value`, got `"+n+"`");if(ma.util.type(r)==="Object")l=r,r=null;else{if(typeof r!="string")throw new Error("Expected `string` for `name`, got `"+r+"`");if(_2.call(ma.languages,r))l=ma.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return i.call(this,n,l,r)}function k4(n){if(typeof n!="string")throw new Error("Expected `string` for `language`, got `"+n+"`");return _2.call(ma.languages,n)}function w4(){var n=ma.languages,r=[],i;for(i in n)_2.call(n,i)&&typeof n[i]=="object"&&r.push(i);return r}function D4(n,r,i){var l;return typeof n=="string"?{type:"text",value:n}:ma.util.type(n)==="Array"?S4(n,r):(l={type:n.type,content:ma.Token.stringify(n.content,r,i),tag:"span",classes:["token",n.type],attributes:{},language:r,parent:i},n.alias&&(l.classes=l.classes.concat(n.alias)),ma.hooks.run("wrap",l),d4(l.tag+"."+l.classes.join("."),_4(l.attributes),l.content))}function S4(n,r){for(var i=[],l=n.length,c=-1,h;++c<l;)h=n[c],h!==""&&h!==null&&h!==void 0&&i.push(h);for(c=-1,l=i.length;++c<l;)h=i[c],i[c]=ma.Token.stringify(h,r,i);return i}function C4(n){return n}function _4(n){var r;for(r in n)n[r]=f4(n[r]);return n}function x4(){var n="Prism"in Kg,r=n?Kg.Prism:void 0;return i;function i(){n?Kg.Prism=r:delete Kg.Prism,n=void 0,r=void 0}}const x2=By(v4);var Xg=oI(x2,{});Xg.registerLanguage=function(n,r){return x2.register(r)},Xg.alias=function(n,r){return x2.alias(n,r)};const RE={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var E4=E2;E2.displayName="jsx",E2.aliases=[];function E2(n){(function(r){var i=r.util.clone(r.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function m(T,$){return T=T.replace(/<S>/g,function(){return l}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return h}),RegExp(T,$)}h=m(h).source,r.languages.jsx=r.languages.extend("markup",i),r.languages.jsx.tag.pattern=m(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=i.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:m(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:m(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var D=function(T){return T?typeof T=="string"?T:typeof T.content=="string"?T.content:T.content.map(D).join(""):""},C=function(T){for(var $=[],N=0;N<T.length;N++){var O=T[N],B=!1;if(typeof O!="string"&&(O.type==="tag"&&O.content[0]&&O.content[0].type==="tag"?O.content[0].content[0].content==="</"?$.length>0&&$[$.length-1].tagName===D(O.content[0].content[1])&&$.pop():O.content[O.content.length-1].content==="/>"||$.push({tagName:D(O.content[0].content[1]),openedBraces:0}):$.length>0&&O.type==="punctuation"&&O.content==="{"?$[$.length-1].openedBraces++:$.length>0&&$[$.length-1].openedBraces>0&&O.type==="punctuation"&&O.content==="}"?$[$.length-1].openedBraces--:B=!0),(B||typeof O=="string")&&$.length>0&&$[$.length-1].openedBraces===0){var I=D(O);N<T.length-1&&(typeof T[N+1]=="string"||T[N+1].type==="plain-text")&&(I+=D(T[N+1]),T.splice(N+1,1)),N>0&&(typeof T[N-1]=="string"||T[N-1].type==="plain-text")&&(I=D(T[N-1])+I,T.splice(N-1,1),N--),T[N]=new r.Token("plain-text",I,null,I)}O.content&&typeof O.content!="string"&&C(O.content)}};r.hooks.add("after-tokenize",function(T){T.language!=="jsx"&&T.language!=="tsx"||C(T.tokens)})})(n)}const T4=By(E4),A4=Ur({tagName:"pkt-tag",elementClass:xs,react:$e,displayName:"PktTag",events:{onClose:"close"}}),Wh=$e.forwardRef(({children:n,...r},i)=>R.jsx(A4,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));Wh.displayName="PktTag";const LE=$e.forwardRef(({arrowNav:n=!0,tabs:r,onTabSelected:i},l)=>{const c=$e.useRef([]);$e.useEffect(()=>{c.current=c.current.slice(0,r.length)},[r]);const h=(D,C)=>{C.action&&C.action(D),i&&i(D)},m=(D,C)=>{var T,$;n&&(C.code==="ArrowLeft"&&D!==0&&((T=c.current[D-1])==null||T.focus()),C.code==="ArrowRight"&&D<r.length-1&&(($=c.current[D+1])==null||$.focus()),(C.code==="ArrowDown"||C.code==="Space")&&h(D,r[D]))};return R.jsx("div",{className:"pkt-tabs",ref:l,children:R.jsx("div",{className:"pkt-tabs__list",role:n?"tablist":"navigation",children:r.map((D,C)=>R.jsx($e.Fragment,{children:D.href?R.jsxs("a",{"aria-selected":!!D.active,role:n?"tab":void 0,href:D.href,"aria-controls":D.controls,className:`pkt-tabs__link ${D.active?"active":""}`,onKeyUp:T=>m(C,T),onClick:()=>h(C,D),tabIndex:D.active||!n?void 0:-1,ref:T=>{c.current[C]=T},children:[D.icon&&R.jsx(or,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&R.jsx(Wh,{skin:D.tag.skin,size:"small",children:D.tag.text})]}):R.jsxs("button",{"aria-selected":!!D.active,role:n?"tab":void 0,type:"button","aria-controls":D.controls,className:`pkt-tabs__button pkt-link-button ${D.active?"active":""}`,onKeyUp:T=>m(C,T),onClick:()=>h(C,D),tabIndex:D.active||!n?void 0:-1,ref:T=>{c.current[C]=T},children:[D.icon&&R.jsx(or,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&R.jsx(Wh,{skin:D.tag.skin,size:"small",children:D.tag.text})]},"b-"+C)},C))})})}),F4=Ur({tagName:"pkt-textinput",elementClass:Ts,react:$e,displayName:"PktTextinput",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Jg=$e.forwardRef(({helptext:n,...r},i)=>R.jsx(F4,{...r,ref:i,children:n&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:n})}));Jg.displayName="PktTextinput";const $b=({className:n,compact:r=!1,skin:i="basic",responsiveView:l=!0,children:c})=>R.jsx("table",{"data-testid":"pkt-table",className:ml(n,"pkt-table",{"pkt-table--responsive":l,"pkt-table--compact":r,"pkt-table--basic":i==="basic","pkt-table--zebra-blue":i==="zebra-blue"}),role:"table",children:c}),Pb=({className:n,children:r})=>R.jsx("thead",{className:ml(n,"pkt-table__header",{}),role:"rowgroup",children:r}),Nb=({children:n,className:r})=>R.jsx("tbody",{className:ml(r,"pkt-table__body",{}),role:"rowgroup",children:n}),tp=({className:n,children:r})=>R.jsx("tr",{className:ml(n,"pkt-table__row",{}),role:"row",children:r}),gl=({className:n,children:r})=>R.jsx("th",{className:ml(n,"pkt-table__header-cell",{}),role:"columnheader",children:r}),Zo=({children:n,className:r,dataLabel:i})=>R.jsx("td",{className:ml(r,"pkt-table__data-cell",{}),"data-label":i,role:"cell","data-testid":"pkt-table__data-cell",children:n}),$4=({specs:n})=>{const r=l=>Array.isArray(l)?l.join(`
|
|
1542
1542
|
`):l,i=l=>typeof l=="boolean"?l?"true":"false":l;return R.jsxs(R.Fragment,{children:[R.jsx("h2",{children:"Egenskaper"}),R.jsxs($b,{compact:!0,children:[R.jsx(Pb,{children:R.jsxs(tp,{children:[R.jsx(gl,{children:"Prop"}),R.jsx(gl,{children:"Navn"}),R.jsx(gl,{children:"Beskrivelse"}),R.jsx(gl,{children:"Type"}),R.jsx(gl,{children:"Standardverdi"})]})}),R.jsx(Nb,{children:Object.entries(n.props||{}).map(([l,c])=>R.jsxs(tp,{children:[R.jsx(Zo,{dataLabel:"Prop",children:R.jsx("pre",{children:l})}),R.jsx(Zo,{dataLabel:"Navn",children:!Array.isArray(c)&&c.name||l}),Array.isArray(c)?R.jsxs(R.Fragment,{children:[R.jsx(Zo,{dataLabel:"Beskrivelse"}),R.jsx(Zo,{dataLabel:"Type",children:R.jsx("pre",{children:c.join(`
|
|
1543
1543
|
`)})})]}):R.jsxs(R.Fragment,{children:[R.jsx(Zo,{dataLabel:"Beskrivelse",children:R.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),R.jsx(Zo,{dataLabel:"Type",children:R.jsx("pre",{children:c.type&&r(c.type)})}),R.jsx(Zo,{dataLabel:"Standardverdi",children:R.jsx("pre",{children:i(c.default)})})]})]},l))})]}),n.events&&R.jsxs(R.Fragment,{children:[R.jsx("h2",{children:"Hendelser / handlinger"}),R.jsxs($b,{compact:!0,children:[R.jsx(Pb,{children:R.jsxs(tp,{children:[R.jsx(gl,{children:"Event"}),R.jsx(gl,{children:"Beskrivelse"}),R.jsx(gl,{children:"Type"})]})}),R.jsx(Nb,{children:Object.entries(n.events||{}).map(([l,c])=>R.jsxs(tp,{children:[R.jsx(Zo,{dataLabel:"Event",children:R.jsx("pre",{children:l})}),R.jsx(Zo,{dataLabel:"Beskrivelse",children:R.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),R.jsx(Zo,{dataLabel:"Type",children:c.type})]},l))})]})]}),n.slots&&R.jsxs(R.Fragment,{children:[R.jsx("h2",{children:"Innhold"}),R.jsxs($b,{compact:!0,children:[R.jsx(Pb,{children:R.jsxs(tp,{children:[R.jsx(gl,{children:"Slot"}),R.jsx(gl,{children:"Beskrivelse"})]})}),R.jsx(Nb,{children:Object.entries(n.slots||{}).map(([l,c])=>R.jsxs(tp,{children:[R.jsx(Zo,{dataLabel:"Slot",children:R.jsx("pre",{children:l})}),R.jsx(Zo,{dataLabel:"Beskrivelse",children:R.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})})]},l))})]})]})]})},P4=Ur({tagName:"pkt-select",elementClass:Ph,react:$e,displayName:"PktSelect",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Ob=$e.forwardRef(({children:n,helptext:r,...i},l)=>R.jsxs(P4,{ref:l,...i,children:[r&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:r}),n]}));Ob.displayName="PktSelect";const N4=[{id:"24h",fn:"24h.svg",cat:"services"},{id:"active-person",fn:"active-person.svg",cat:"people-and-health"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"advice",fn:"advice.svg",cat:"ui"},{id:"alert-circle",fn:"alert-circle.svg",cat:"ui"},{id:"alert-error",fn:"alert-error.svg",cat:"ui"},{id:"alert-information",fn:"alert-information.svg",cat:"ui"},{id:"alert-success",fn:"alert-success.svg",cat:"ui"},{id:"alert-warning",fn:"alert-warning.svg",cat:"ui"},{id:"apple",fn:"apple.svg",cat:"ui"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow-return",fn:"arrow-return.svg",cat:"arrows"},{id:"arrow",fn:"arrow.svg",cat:"arrows"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"balloons",fn:"balloons.svg",cat:"ui"},{id:"books",fn:"books.svg",cat:"services"},{id:"brain-heart",fn:"brain-heart.svg",cat:"people-and-health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"people-and-health"},{id:"briefcase",fn:"briefcase.svg",cat:"sign"},{id:"bullseye",fn:"bullseye.svg",cat:"ui"},{id:"bus",fn:"bus.svg",cat:"services"},{id:"cafe",fn:"cafe.svg",cat:"sign"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera",fn:"camera.svg",cat:"ui"},{id:"car",fn:"car.svg",cat:"sign"},{id:"care-room",fn:"care-room.svg",cat:"sign"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"ui"},{id:"character-information",fn:"character-information.svg",cat:"ui"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"arrows"},{id:"chevron-left",fn:"chevron-left.svg",cat:"arrows"},{id:"chevron-right",fn:"chevron-right.svg",cat:"arrows"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"arrows"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"arrows"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"arrows"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"arrows"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"arrows"},{id:"clock-history",fn:"clock-history.svg",cat:"ui"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"ui"},{id:"code",fn:"code.svg",cat:"ui"},{id:"coffee",fn:"coffee.svg",cat:"sign"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"services"},{id:"computer",fn:"computer.svg",cat:"ui"},{id:"cookie",fn:"cookie.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"services"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill-large",fn:"cross-circle-fill-large.svg",cat:"none"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"data",fn:"data.svg",cat:"ui"},{id:"defibrillators",fn:"defibrillators.svg",cat:"sign"},{id:"district",fn:"district.svg",cat:"ui"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"sign"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"people-and-health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"email",fn:"email.svg",cat:"ui"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"ui"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"ui"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"ui"},{id:"feedback",fn:"feedback.svg",cat:"ui"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-safety",fn:"fire-safety.svg",cat:"people-and-health"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"game-console",fn:"game-console.svg",cat:"ui"},{id:"github",fn:"github.svg",cat:"social"},{id:"graph",fn:"graph.svg",cat:"ui"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"hands-globe",fn:"hands-globe.svg",cat:"people-and-health"},{id:"headset",fn:"headset.svg",cat:"ui"},{id:"heart-hand",fn:"heart-hand.svg",cat:"people-and-health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"services"},{id:"heart",fn:"heart.svg",cat:"ui"},{id:"holding-hands",fn:"holding-hands.svg",cat:"people-and-health"},{id:"home",fn:"home.svg",cat:"ui"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"services"},{id:"information",fn:"information.svg",cat:"ui"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"ui"},{id:"language",fn:"language.svg",cat:"ui"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"ui"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"sign"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"ui"},{id:"location-pin",fn:"location-pin.svg",cat:"ui"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"ui"},{id:"medicine-cabinet",fn:"medicine-cabinet.svg",cat:"ui"},{id:"menu",fn:"menu.svg",cat:"ui"},{id:"message",fn:"message.svg",cat:"ui"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"plusminus"},{id:"minus-circle",fn:"minus-circle.svg",cat:"plusminus"},{id:"minus-sign",fn:"minus-sign.svg",cat:"plusminus"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"ui"},{id:"music-notes",fn:"music-notes.svg",cat:"ui"},{id:"new-window-small",fn:"new-window-small.svg",cat:"ui"},{id:"new-window",fn:"new-window.svg",cat:"ui"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"ui"},{id:"organization",fn:"organization.svg",cat:"ui"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"ui"},{id:"palette",fn:"palette.svg",cat:"ui"},{id:"paragraph",fn:"paragraph.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"services"},{id:"partner-workout",fn:"partner-workout.svg",cat:"people-and-health"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"picture",fn:"picture.svg",cat:"ui"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"plusminus"},{id:"plus-circle",fn:"plus-circle.svg",cat:"plusminus"},{id:"plus-sign",fn:"plus-sign.svg",cat:"plusminus"},{id:"pride-heart",fn:"pride-heart.svg",cat:"people-and-health"},{id:"print",fn:"print.svg",cat:"ui"},{id:"privacy",fn:"privacy.svg",cat:"ui"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"services"},{id:"restaurant",fn:"restaurant.svg",cat:"sign"},{id:"ruler",fn:"ruler.svg",cat:"ui"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"save",fn:"save.svg",cat:"ui"},{id:"scooter",fn:"scooter.svg",cat:"ui"},{id:"share-outline",fn:"share-outline.svg",cat:"ui"},{id:"share",fn:"share.svg",cat:"ui"},{id:"shield-fire",fn:"shield-fire.svg",cat:"services"},{id:"shield-law-paragraph",fn:"shield-law-paragraph.svg",cat:"ui"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"ui"},{id:"sound-on",fn:"sound-on.svg",cat:"ui"},{id:"sparkles",fn:"sparkles.svg",cat:"ui"},{id:"svg-logo",fn:"svg.svg",cat:"social"},{id:"swingset",fn:"swingset.svg",cat:"services"},{id:"table",fn:"table.svg",cat:"ui"},{id:"tap",fn:"tap.svg",cat:"ui"},{id:"target",fn:"target.svg",cat:"ui"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"tickets",fn:"tickets.svg",cat:"sign"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trash",fn:"trash.svg",cat:"sign"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"people-and-health"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"people-and-health"},{id:"user",fn:"user.svg",cat:"ui"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"sign"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"sign"},{id:"wardrobe",fn:"wardrobe.svg",cat:"sign"},{id:"water-faucet",fn:"water-faucet.svg",cat:"services"},{id:"wheelchair",fn:"wheelchair.svg",cat:"none"},{id:"wifi",fn:"wifi.svg",cat:"sign"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"people-and-health"},{id:"workplace",fn:"workplace.svg",cat:"social"},{id:"wrench",fn:"wrench.svg",cat:"ui"}],T2=({propKey:n,spec:r,props:i,handleChange:l})=>{const c={BOOLEAN:"boolean",ICON:"icon",ARRAY:"array",OBJECT:"object",DATE:"ISOdatestring",NUMBER:"number"},h=(T,$)=>{l(n,{...i[n],[T]:$})},m=(T,$,N)=>{const O=[...i[n]];O[T]={...O[T],[$]:N},l(n,O)},D=()=>{const T=[...i[n],{}];l(n,T)},C=T=>{const $=i[n].filter((N,O)=>O!==T);l(n,$)};if(r.type===c.BOOLEAN)return R.jsx(rx,{label:r.name||n,forId:n,helptext:r.description||null,hasFieldset:!0,requiredTag:r.required,children:R.jsx(y0,{id:n,label:n,type:"checkbox",checked:i[n]||!1,onChange:T=>l(n,T.target.checked,r.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(r.type===c.ICON)return R.jsxs(Ob,{label:r.name||n,helptext:r.description||null,id:n,value:i[n]||"",onChange:T=>l(n,T.target.value),requiredTag:r.required,children:[R.jsx("option",{value:""}),N4.map(T=>R.jsx("option",{value:T.id,children:T.id},T.id))]});if(r.type===c.DATE)return R.jsx(b0,{id:n,label:r.name||n,helptext:r.description||null,value:i[n]||"",multiple:r.variant==="multiple",maxlength:999,onChange:T=>l(n,T.target.value),requiredTag:r.required});if(Array.isArray(r)||Array.isArray(r.type)||Array.isArray(r.values)){const T=Array.isArray(r)?r:r.values||r.type;return R.jsxs(Ob,{label:r.name||n,helptext:r.description||null,id:n,value:i[n],onChange:$=>l(n,$.target.value),requiredTag:r.required,children:[R.jsx("option",{value:""}),T.map($=>R.jsx("option",{value:$,children:$},$))]})}return r.type===c.NUMBER?R.jsx(Jg,{id:n,label:r.name||n,helptext:r.description||null,type:"number",value:i[n]||"",onChange:T=>l(n,parseFloat(T.currentTarget.value)),requiredTag:r.required}):r.type===c.OBJECT?(i[n]||(i[n]={}),R.jsxs("div",{children:[R.jsx("div",{className:"pkt-inputwrapper__label",children:R.jsx("h2",{children:r.name||n})}),r.description&&R.jsx("p",{children:r.description}),R.jsxs("fieldset",{children:[R.jsx("legend",{children:r.name||n}),Object.entries(r.properties).map(([T,$])=>R.jsx(T2,{propKey:T,props:i[n],spec:$,handleChange:(N,O)=>h(N,O)},T))]})]})):r.type===c.ARRAY&&r.items.type===c.OBJECT?(i[n]||(i[n]=[]),R.jsxs("div",{children:[R.jsx("div",{className:"pkt-inputwrapper__label",children:R.jsx("h2",{children:r.name||n})}),r.description&&R.jsx("p",{children:r.description}),i[n].map((T,$)=>R.jsx("div",{children:R.jsxs("fieldset",{children:[R.jsxs("legend",{children:["Item ",$+1]}),Object.entries(r.items.properties).map(([N,O])=>R.jsx(T2,{propKey:N,props:T,spec:O,handleChange:(B,I)=>m($,B,I)},N)),R.jsx(Fd,{onClick:()=>C($),children:"Fjern denne"})]})},$)),R.jsx(Fd,{onClick:D,children:"Legg til ny"})]})):R.jsx(Jg,{id:n,label:r.name||n,helptext:r.description||null,type:"text",value:i[n]||"",onChange:T=>l(n,r.type==="number"?parseFloat(T.currentTarget.value):T.currentTarget.value),requiredTag:r.required})};Xg.registerLanguage("jsx",T4);const BE=({specs:n,children:r,fullWidth:i})=>{var He,dt;const l=n.props&&typeof n.props=="object"&&!Array.isArray(n.props)?Object.entries(n.props).reduce((Me,[Le,de])=>(typeof de=="object"&&!Array.isArray(de)&&de.previewDefault!==void 0&&de.previewDefault!==null?(de.previewDefault==="false"&&(de.previewDefault=!1),de.previewDefault==="true"&&(de.previewDefault=!0),Me[Le]=de.previewDefault):typeof de=="object"&&!Array.isArray(de)&&de.default!==void 0&&de.default!==null&&(de.default==="false"&&(de.default=!1),de.default==="true"&&(de.default=!0),Me[Le]=de.default),Me),{}):{},[c,h]=$e.useState(0),[m,D]=$e.useState(l),[C,T]=$e.useState("light"),[$,N]=$e.useState(""),[O,B]=$e.useState(""),[I,G]=$e.useState(""),[Y,Ce]=$e.useState("Rediger innhold"),[Z,W]=$e.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:`Kode (${n.isElement?"Element":"HTML"})`,icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),J=Me=>{Me===1&&pe(),Me===2&&ae(),G(""),W(Le=>Le.map((de,Re)=>({...de,active:Re===Me})))},K=$e.useRef(null),ae=async()=>{if(n.isElement&&$e.isValidElement(Ke)){const Me=$e.isValidElement(Ke)?Ke.type.displayName||Ke.type.name:n.name,Le=Object.entries(m).map(([Re,_e])=>{if(_e&&!ke(_e)&&!Ge(_e))return typeof _e=="object"?`${Re}='${JSON.stringify(_e)}'`:`${Re}="${_e}"`}).join(" "),de=await xb(`<${n.name||Me} ${Le}>${Y}</${n.name||Me}>`,{parser:"html",plugins:[z1]});N(`<!-- Denne koden bør testes grundig før bruk. Spør en Punkt-utvikler om du er usikker. -->
|
|
1544
|
-
`+de)}else{const Me=await xb(K.current.innerHTML,{parser:"html",plugins:[z1]});N(Me.replace(/<\!--.*?-->/g,""))}},pe=async()=>{const Me=await kR(Ke);return B(Me),Promise.resolve()},Te=(Me,Le)=>{navigator.clipboard.writeText(Le).then(()=>{G(Me),console.log("Copied to clipboard",Me)})},ke=Me=>Array.isArray(Me)&&Me.length===0,Ge=Me=>Me&&typeof Me=="object"&&!Object.keys(Me).length,We=(Me,Le)=>R.jsxs("div",{className:"pkt-preview__copy",children:[I===Me&&R.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),R.jsx(Fd,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>Te(Me,Le),children:"Kopier kode"})]}),Ke=$e.isValidElement(r)&&$e.cloneElement(r,{...m},r.props.children?r.props.children:(He=n.slots)!=null&&He.default?Y:null),nt=(Me,Le,de=!1)=>{if(h(c+1),!de&&(!Le||Le=="false")){const{[Me]:Re,..._e}=m;D(_e)}else D(Re=>({...Re,[Me]:Le}))};return R.jsxs("div",{className:"pkt-preview",children:[R.jsxs("div",{className:"pkt-preview__component-container","data-mode":C,children:[n["dark-mode"]&&R.jsx("div",{className:"pkt-preview__mode",children:R.jsx(y0,{id:"mode",label:"Dark mode",type:"checkbox",checked:C==="dark",onChange:Me=>T(Me.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),R.jsx("div",{className:`pkt-preview__component ${i&&"pkt-preview__component--fullwidth"}`,ref:K,children:R.jsx("div",{children:Ke})},c)]}),R.jsx(LE,{tabs:Z,onTabSelected:J}),R.jsxs("div",{className:`pkt-grid pkt-preview__opts ${Z[0].active?"":"pkt-hide"}`,children:[((dt=n.slots)==null?void 0:dt.default)&&!r.props.children&&R.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[R.jsx(Wh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),R.jsx(Jg,{id:"slot",label:"Slot",helptext:n.slots.default.description||"Innholdet i slot",type:"text",value:Y,onChange:Me=>Ce(Me.currentTarget.value)})]}),n.props&&typeof n.props=="object"&&!Array.isArray(n.props)?Object.entries(n.props).map(([Me,Le])=>R.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[R.jsx(Wh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:Me}),R.jsx(T2,{propKey:Me,props:m,spec:Le,handleChange:nt})]},Me)):R.jsx("p",{children:"OBS! Specs mangler props!"})]}),R.jsxs("div",{className:`pkt-preview__code ${Z[1].active?"":"pkt-hide"}`,children:[R.jsx(Xg,{language:"jsx",style:RE,children:O}),We("jsx",O)]}),R.jsxs("div",{className:`pkt-preview__code ${Z[2].active?"":"pkt-hide"}`,children:[R.jsx(Xg,{language:"html",style:RE,children:$}),We("html",$)]}),R.jsx("div",{className:`pkt-preview__specs ${Z[3].active?"":"pkt-hide"}`,children:R.jsx($4,{specs:n})})]})};BE.displayName="PktPreview";const O4=Ur({tagName:"pkt-progressbar",elementClass:ia,react:$e,displayName:"PktProgressbar",events:{}}),ME=$e.forwardRef(({children:n,...r},i)=>R.jsx(O4,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));ME.displayName="PktProgressbar";const R4=Ur({tagName:"pkt-radiobutton",elementClass:fu,react:$e,displayName:"PktRadioButton",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),L4=$e.forwardRef(({appearance:n="local",disabled:r=!1,fullwidth:i=!1,id:l,label:c,name:h,placeholder:m="Søk…",suggestions:D,value:C="",action:T,method:$,onChange:N,onSearch:O,onSuggestionClick:B,...I},G)=>{const Y=(J,K)=>{J?J():B&&B(K)},Ce=J=>{C=J.target.value},Z=`pkt-searchinput pkt-searchinput--${n} ${i?"pkt-searchinput--fullwidth":""}`;let W;return T?W=J=>R.jsx("form",{role:"search",className:Z,action:T,method:$,children:J}):W=J=>R.jsx("div",{role:"search",className:Z,children:J}),W(R.jsxs(R.Fragment,{children:[c&&R.jsx("label",{htmlFor:c?l:void 0,className:c?"pkt-inputwrapper__label":"",children:c}),R.jsxs("div",{className:n==="local"?"pkt-input__container":"pkt-searchinput__field",children:[R.jsx("input",{className:`pkt-input ${i?"pkt-input--fullwidth":""}`,type:"search",name:h||l,id:l,placeholder:m,defaultValue:C,disabled:r,autoComplete:"off","aria-autocomplete":"list",ref:G,"aria-controls":`${l}-suggestions`,onChange:N||Ce,onKeyUp:O&&(J=>{J.key==="Enter"&&(J.preventDefault(),O(C))}),...I}),R.jsx(Fd,{className:`pkt-searchinput__button ${n==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:n==="local"?"tertiary":"primary",color:n==="global"?"yellow":void 0,type:"submit",disabled:r,onClick:O&&(J=>{J.preventDefault(),O(C)}),children:c||m})]}),D&&R.jsx("ul",{id:`${l}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:D.map((J,K)=>R.jsx("li",{children:$e.createElement(J.href?"a":J.onClick?"button":"div",{href:J.href,className:`pkt-searchinput__suggestion ${J.onClick?"pkt-link-button":""} ${J.href||J.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:J.onClick?"button":void 0,onClick:()=>Y(J.onClick,K),onKeyUp:ae=>ae.key==="Enter"&&Y(J.onClick,K)},R.jsxs(R.Fragment,{children:[J.title&&R.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:J.title}),J.text&&R.jsx("p",{className:"pkt-searchinput__suggestion-text",children:J.text})]}))},`search-suggestion-${K}`))})]}))}),B4=$e.forwardRef(({activeStep:n,className:r,children:i,hideNonActiveSteps:l=!1,hideNonActiveStepsContent:c=!0,orientation:h="vertical",...m},D)=>{const C=ml(r,"pkt-stepper",h==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),T=$e.Children.map(i,($,N)=>$e.isValidElement($)?$e.cloneElement($,{className:ml($.props.className,{"pkt-step--hideStep":l&&N!==n,"pkt-step--hideContent":c&&N!==n})}):$);return R.jsx("ol",{"data-testid":"pkt-stepper",className:C,ref:D,...m,children:T})}),M4=R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:R.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),I4=R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[R.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),R.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),j4=R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[R.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),R.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),z4=({children:n,className:r,status:i="incomplete",title:l})=>R.jsxs("li",{className:ml("pkt-step",r,`pkt-step--${i}`),"data-testid":"pkt-step",children:[R.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),R.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),R.jsx("span",{className:ml("pkt-step__indicator"),children:i==="current"?I4:i==="completed"?j4:M4}),R.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),R.jsxs("div",{className:"pkt-step__wrapper",children:[R.jsx("div",{className:"pkt-step__title",children:l}),R.jsx("div",{className:"pkt-step__content",children:n})]})]}),U4=Ur({tagName:"pkt-textarea",elementClass:Hf,react:$e,displayName:"PktTextarea",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),IE=$e.forwardRef(({helptext:n,...r},i)=>R.jsx(U4,{...r,ref:i,children:n&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:n})}));IE.displayName="PktTextarea";var Yh=window.CustomEvent;(!Yh||typeof Yh=="object")&&(Yh=function(n,r){r=r||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(n,!!r.bubbles,!!r.cancelable,r.detail||null),i},Yh.prototype=window.Event.prototype);function jE(n,r){var i="on"+r.type.toLowerCase();return typeof n[i]=="function"&&n[i](r),n.dispatchEvent(r)}function H4(n){for(;n&&n!==document.body;){var r=window.getComputedStyle(n),i=function(l,c){return!(r[l]===void 0||r[l]===c)};if(r.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||r.isolation==="isolate"||r.position==="fixed"||r.webkitOverflowScrolling==="touch")return!0;n=n.parentElement}return!1}function Zg(n){for(;n;){if(n.localName==="dialog")return n;n.parentElement?n=n.parentElement:n.parentNode?n=n.parentNode.host:n=null}return null}function zE(n){for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;n&&n.blur&&n!==document.body&&n.blur()}function q4(n,r){for(var i=0;i<n.length;++i)if(n[i]===r)return!0;return!1}function A2(n){return!n||!n.hasAttribute("method")?!1:n.getAttribute("method").toLowerCase()==="dialog"}function UE(n){var r=["button","input","keygen","select","textarea"],i=r.map(function(m){return m+":not([disabled])"});i.push('[tabindex]:not([disabled]):not([tabindex=""])');var l=n.querySelector(i.join(", "));if(!l&&"attachShadow"in Element.prototype)for(var c=n.querySelectorAll("*"),h=0;h<c.length&&!(c[h].tagName&&c[h].shadowRoot&&(l=UE(c[h].shadowRoot),l));h++);return l}function HE(n){return n.isConnected||document.body.contains(n)}function qE(n){if(n.submitter)return n.submitter;var r=n.target;if(!(r instanceof HTMLFormElement))return null;var i=In.formSubmitter;if(!i){var l=n.target,c="getRootNode"in l&&l.getRootNode()||document;i=c.activeElement}return!i||i.form!==r?null:i}function V4(n){if(!n.defaultPrevented){var r=n.target,i=In.imagemapUseValue,l=qE(n);i===null&&l&&(i=l.value);var c=Zg(r);if(c){var h=l&&l.getAttribute("formmethod")||r.getAttribute("method");h==="dialog"&&(n.preventDefault(),i!=null?c.close(i):c.close())}}}function VE(n){if(this.dialog_=n,this.replacedStyleTop_=!1,this.openAsModal_=!1,n.hasAttribute("role")||n.setAttribute("role","dialog"),n.show=this.show.bind(this),n.showModal=this.showModal.bind(this),n.close=this.close.bind(this),n.addEventListener("submit",V4,!1),"returnValue"in n||(n.returnValue=""),"MutationObserver"in window){var r=new MutationObserver(this.maybeHideModal.bind(this));r.observe(n,{attributes:!0,attributeFilter:["open"]})}else{var i=!1,l=(function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}).bind(this),c,h=function(m){if(m.target===n){var D="DOMNodeRemoved";i|=m.type.substr(0,D.length)===D,window.clearTimeout(c),c=window.setTimeout(l,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(m){n.addEventListener(m,h)})}Object.defineProperty(n,"open",{set:this.setOpen.bind(this),get:n.hasAttribute.bind(n,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}VE.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&HE(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),In.dm.removeDialog(this))},setOpen:function(n){n?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(n){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var r=document.createElement("div");this.dialog_.insertBefore(r,this.dialog_.firstChild),r.tabIndex=-1,r.focus(),this.dialog_.removeChild(r)}var i=document.createEvent("MouseEvents");i.initMouseEvent(n.type,n.bubbles,n.cancelable,window,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget),this.dialog_.dispatchEvent(i),n.stopPropagation()},focus_:function(){var n=this.dialog_.querySelector("[autofocus]:not([disabled])");!n&&this.dialog_.tabIndex>=0&&(n=this.dialog_),n||(n=UE(this.dialog_)),zE(document.activeElement),n&&n.focus()},updateZIndex:function(n,r){if(n<r)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=n,this.backdrop_.style.zIndex=r},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!HE(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!In.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");H4(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,In.needsCentering(this.dialog_)?(In.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(n){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),n!==void 0&&(this.dialog_.returnValue=n);var r=new Yh("close",{bubbles:!1,cancelable:!1});jE(this.dialog_,r)}};var In={};if(In.reposition=function(n){var r=document.body.scrollTop||document.documentElement.scrollTop,i=r+(window.innerHeight-n.offsetHeight)/2;n.style.top=Math.max(r,i)+"px"},In.isInlinePositionSetByStylesheet=function(n){for(var r=0;r<document.styleSheets.length;++r){var i=document.styleSheets[r],l=null;try{l=i.cssRules}catch{}if(l)for(var c=0;c<l.length;++c){var h=l[c],m=null;try{m=document.querySelectorAll(h.selectorText)}catch{}if(!(!m||!q4(m,n))){var D=h.style.getPropertyValue("top"),C=h.style.getPropertyValue("bottom");if(D&&D!=="auto"||C&&C!=="auto")return!0}}}return!1},In.needsCentering=function(n){var r=window.getComputedStyle(n);return r.position!=="absolute"||n.style.top!=="auto"&&n.style.top!==""||n.style.bottom!=="auto"&&n.style.bottom!==""?!1:!In.isInlinePositionSetByStylesheet(n)},In.forceRegisterDialog=function(n){if((window.HTMLDialogElement||n.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",n),n.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new VE(n)},In.registerDialog=function(n){n.showModal||In.forceRegisterDialog(n)},In.DialogManager=function(){this.pendingDialogStack=[];var n=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(r){this.forwardTab_=void 0,r.stopPropagation(),n([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(r){var i=[];r.forEach(function(l){for(var c=0,h;h=l.removedNodes[c];++c){if(h instanceof Element)h.localName==="dialog"&&i.push(h);else continue;i=i.concat(h.querySelectorAll("dialog"))}}),i.length&&n(i)}))},In.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},In.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},In.DialogManager.prototype.updateStacking=function(){for(var n=this.zIndexHigh_,r=0,i;i=this.pendingDialogStack[r];++r)i.updateZIndex(--n,--n),r===0&&(this.overlay.style.zIndex=--n);var l=this.pendingDialogStack[0];if(l){var c=l.dialog.parentNode||document.body;c.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},In.DialogManager.prototype.containedByTopDialog_=function(n){for(;n=Zg(n);){for(var r=0,i;i=this.pendingDialogStack[r];++r)if(i.dialog===n)return r===0;n=n.parentElement}return!1},In.DialogManager.prototype.handleFocus_=function(n){var r=n.composedPath?n.composedPath()[0]:n.target;if(!this.containedByTopDialog_(r)&&document.activeElement!==document.documentElement&&(n.preventDefault(),n.stopPropagation(),zE(r),this.forwardTab_!==void 0)){var i=this.pendingDialogStack[0],l=i.dialog,c=l.compareDocumentPosition(r);return c&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():r!==document.documentElement&&document.documentElement.focus()),!1}},In.DialogManager.prototype.handleKey_=function(n){if(this.forwardTab_=void 0,n.keyCode===27){n.preventDefault(),n.stopPropagation();var r=new Yh("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&jE(i.dialog,r)&&i.dialog.close()}else n.keyCode===9&&(this.forwardTab_=!n.shiftKey)},In.DialogManager.prototype.checkDOM_=function(n){var r=this.pendingDialogStack.slice();r.forEach(function(i){n.indexOf(i.dialog)!==-1?i.downgradeModal():i.maybeHideModal()})},In.DialogManager.prototype.pushDialog=function(n){var r=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=r?!1:(this.pendingDialogStack.unshift(n)===1&&this.blockDocument(),this.updateStacking(),!0)},In.DialogManager.prototype.removeDialog=function(n){var r=this.pendingDialogStack.indexOf(n);r!==-1&&(this.pendingDialogStack.splice(r,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},In.dm=new In.DialogManager,In.formSubmitter=null,In.imagemapUseValue=null,window.HTMLDialogElement===void 0){var WE=document.createElement("form");if(WE.setAttribute("method","dialog"),WE.method!=="dialog"){var Gh=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Gh){var W4=Gh.get;Gh.get=function(){return A2(this)?"dialog":W4.call(this)};var Y4=Gh.set;Gh.set=function(n){return typeof n=="string"&&n.toLowerCase()==="dialog"?this.setAttribute("method",n):Y4.call(this,n)},Object.defineProperty(HTMLFormElement.prototype,"method",Gh)}}document.addEventListener("click",function(n){if(In.formSubmitter=null,In.imagemapUseValue=null,!n.defaultPrevented){var r=n.target;if("composedPath"in n){var i=n.composedPath();r=i.shift()||r}if(!(!r||!A2(r.form))){var l=r.type==="submit"&&["button","input"].indexOf(r.localName)>-1;if(!l){if(!(r.localName==="input"&&r.type==="image"))return;In.imagemapUseValue=n.offsetX+","+n.offsetY}var c=Zg(r);c&&(In.formSubmitter=r)}}},!1),document.addEventListener("submit",function(n){var r=n.target,i=Zg(r);if(!i){var l=qE(n),c=l&&l.getAttribute("formmethod")||r.getAttribute("method");c==="dialog"&&n.preventDefault()}});var G4=HTMLFormElement.prototype.submit,K4=function(){if(!A2(this))return G4.call(this);var n=Zg(this);n&&n.close()};HTMLFormElement.prototype.submit=K4}const Q4=Object.freeze(Object.defineProperty({__proto__:null,default:In},Symbol.toStringTag,{value:"Module"}));Ot.PktAccordion=G_,Ot.PktAccordionItem=K_,Ot.PktAlert=Q_,Ot.PktBackLink=X_,Ot.PktBreadcrumbs=mO,Ot.PktButton=Fd,Ot.PktCard=J_,Ot.PktCheckbox=y0,Ot.PktCombobox=Z_,Ot.PktConsent=ab,Ot.PktDatepicker=b0,Ot.PktFooter=bO,Ot.PktFooterSimple=kO,Ot.PktHeader=DO,Ot.PktHelptext=tx,Ot.PktIcon=or,Ot.PktInput=nx,Ot.PktInputWrapper=rx,Ot.PktLink=ax,Ot.PktLinkCard=ix,Ot.PktLoader=ox,Ot.PktMessagebox=sx,Ot.PktModal=lx,Ot.PktPreview=BE,Ot.PktProgressbar=ME,Ot.PktRadioButton=R4,Ot.PktSearchInput=L4,Ot.PktSelect=Ob,Ot.PktStep=z4,Ot.PktStepper=B4,Ot.PktTable=$b,Ot.PktTableBody=Nb,Ot.PktTableDataCell=Zo,Ot.PktTableHeader=Pb,Ot.PktTableHeaderCell=gl,Ot.PktTableRow=tp,Ot.PktTabs=LE,Ot.PktTag=Wh,Ot.PktTextarea=IE,Ot.PktTextinput=Jg,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})});
|
|
1544
|
+
`+de)}else{const Me=await xb(K.current.innerHTML,{parser:"html",plugins:[z1]});N(Me.replace(/<\!--.*?-->/g,""))}},pe=async()=>{const Me=await kR(Ke);return B(Me),Promise.resolve()},Te=(Me,Le)=>{navigator.clipboard.writeText(Le).then(()=>{G(Me),console.log("Copied to clipboard",Me)})},ke=Me=>Array.isArray(Me)&&Me.length===0,Ge=Me=>Me&&typeof Me=="object"&&!Object.keys(Me).length,We=(Me,Le)=>R.jsxs("div",{className:"pkt-preview__copy",children:[I===Me&&R.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),R.jsx(Fd,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>Te(Me,Le),children:"Kopier kode"})]}),Ke=$e.isValidElement(r)&&$e.cloneElement(r,{...m},r.props.children?r.props.children:(He=n.slots)!=null&&He.default?Y:null),nt=(Me,Le,de=!1)=>{if(h(c+1),!de&&(!Le||Le=="false")){const{[Me]:Re,..._e}=m;D(_e)}else D(Re=>({...Re,[Me]:Le}))};return R.jsxs("div",{className:"pkt-preview",children:[R.jsxs("div",{className:"pkt-preview__component-container","data-mode":C,children:[n["dark-mode"]&&R.jsx("div",{className:"pkt-preview__mode",children:R.jsx(y0,{id:"mode",label:"Dark mode",type:"checkbox",checked:C==="dark",onChange:Me=>T(Me.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),R.jsx("div",{className:`pkt-preview__component ${i&&"pkt-preview__component--fullwidth"}`,ref:K,children:R.jsx("div",{children:Ke})},c)]}),R.jsx(LE,{tabs:Z,onTabSelected:J}),R.jsxs("div",{className:`pkt-grid pkt-preview__opts ${Z[0].active?"":"pkt-hide"}`,children:[((dt=n.slots)==null?void 0:dt.default)&&!r.props.children&&R.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[R.jsx(Wh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),R.jsx(Jg,{id:"slot",label:"Slot",helptext:n.slots.default.description||"Innholdet i slot",type:"text",value:Y,onChange:Me=>Ce(Me.currentTarget.value)})]}),n.props&&typeof n.props=="object"&&!Array.isArray(n.props)?Object.entries(n.props).map(([Me,Le])=>R.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[R.jsx(Wh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:Me}),R.jsx(T2,{propKey:Me,props:m,spec:Le,handleChange:nt})]},Me)):R.jsx("p",{children:"OBS! Specs mangler props!"})]}),R.jsxs("div",{className:`pkt-preview__code ${Z[1].active?"":"pkt-hide"}`,children:[R.jsx(Xg,{language:"jsx",style:RE,children:O}),We("jsx",O)]}),R.jsxs("div",{className:`pkt-preview__code ${Z[2].active?"":"pkt-hide"}`,children:[R.jsx(Xg,{language:"html",style:RE,children:$}),We("html",$)]}),R.jsx("div",{className:`pkt-preview__specs ${Z[3].active?"":"pkt-hide"}`,children:R.jsx($4,{specs:n})})]})};BE.displayName="PktPreview";const O4=Ur({tagName:"pkt-progressbar",elementClass:oa,react:$e,displayName:"PktProgressbar",events:{}}),ME=$e.forwardRef(({children:n,...r},i)=>R.jsx(O4,{ref:i,...r,children:R.jsx("div",{className:"pkt-contents",children:n})}));ME.displayName="PktProgressbar";const R4=Ur({tagName:"pkt-radiobutton",elementClass:fu,react:$e,displayName:"PktRadioButton",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange"}}),L4=$e.forwardRef(({appearance:n="local",disabled:r=!1,fullwidth:i=!1,id:l,label:c,name:h,placeholder:m="Søk…",suggestions:D,value:C="",action:T,method:$,onChange:N,onSearch:O,onSuggestionClick:B,...I},G)=>{const Y=(J,K)=>{J?J():B&&B(K)},Ce=J=>{C=J.target.value},Z=`pkt-searchinput pkt-searchinput--${n} ${i?"pkt-searchinput--fullwidth":""}`;let W;return T?W=J=>R.jsx("form",{role:"search",className:Z,action:T,method:$,children:J}):W=J=>R.jsx("div",{role:"search",className:Z,children:J}),W(R.jsxs(R.Fragment,{children:[c&&R.jsx("label",{htmlFor:c?l:void 0,className:c?"pkt-inputwrapper__label":"",children:c}),R.jsxs("div",{className:n==="local"?"pkt-input__container":"pkt-searchinput__field",children:[R.jsx("input",{className:`pkt-input ${i?"pkt-input--fullwidth":""}`,type:"search",name:h||l,id:l,placeholder:m,defaultValue:C,disabled:r,autoComplete:"off","aria-autocomplete":"list",ref:G,"aria-controls":`${l}-suggestions`,onChange:N||Ce,onKeyUp:O&&(J=>{J.key==="Enter"&&(J.preventDefault(),O(C))}),...I}),R.jsx(Fd,{className:`pkt-searchinput__button ${n==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:n==="local"?"tertiary":"primary",color:n==="global"?"yellow":void 0,type:"submit",disabled:r,onClick:O&&(J=>{J.preventDefault(),O(C)}),children:c||m})]}),D&&R.jsx("ul",{id:`${l}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:D.map((J,K)=>R.jsx("li",{children:$e.createElement(J.href?"a":J.onClick?"button":"div",{href:J.href,className:`pkt-searchinput__suggestion ${J.onClick?"pkt-link-button":""} ${J.href||J.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:J.onClick?"button":void 0,onClick:()=>Y(J.onClick,K),onKeyUp:ae=>ae.key==="Enter"&&Y(J.onClick,K)},R.jsxs(R.Fragment,{children:[J.title&&R.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:J.title}),J.text&&R.jsx("p",{className:"pkt-searchinput__suggestion-text",children:J.text})]}))},`search-suggestion-${K}`))})]}))}),B4=$e.forwardRef(({activeStep:n,className:r,children:i,hideNonActiveSteps:l=!1,hideNonActiveStepsContent:c=!0,orientation:h="vertical",...m},D)=>{const C=ml(r,"pkt-stepper",h==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),T=$e.Children.map(i,($,N)=>$e.isValidElement($)?$e.cloneElement($,{className:ml($.props.className,{"pkt-step--hideStep":l&&N!==n,"pkt-step--hideContent":c&&N!==n})}):$);return R.jsx("ol",{"data-testid":"pkt-stepper",className:C,ref:D,...m,children:T})}),M4=R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:R.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),I4=R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[R.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),R.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),j4=R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[R.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),R.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),z4=({children:n,className:r,status:i="incomplete",title:l})=>R.jsxs("li",{className:ml("pkt-step",r,`pkt-step--${i}`),"data-testid":"pkt-step",children:[R.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),R.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),R.jsx("span",{className:ml("pkt-step__indicator"),children:i==="current"?I4:i==="completed"?j4:M4}),R.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),R.jsxs("div",{className:"pkt-step__wrapper",children:[R.jsx("div",{className:"pkt-step__title",children:l}),R.jsx("div",{className:"pkt-step__content",children:n})]})]}),U4=Ur({tagName:"pkt-textarea",elementClass:Hf,react:$e,displayName:"PktTextarea",events:{onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),IE=$e.forwardRef(({helptext:n,...r},i)=>R.jsx(U4,{...r,ref:i,children:n&&R.jsx("div",{slot:"helptext",className:"pkt-contents",children:n})}));IE.displayName="PktTextarea";var Yh=window.CustomEvent;(!Yh||typeof Yh=="object")&&(Yh=function(n,r){r=r||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(n,!!r.bubbles,!!r.cancelable,r.detail||null),i},Yh.prototype=window.Event.prototype);function jE(n,r){var i="on"+r.type.toLowerCase();return typeof n[i]=="function"&&n[i](r),n.dispatchEvent(r)}function H4(n){for(;n&&n!==document.body;){var r=window.getComputedStyle(n),i=function(l,c){return!(r[l]===void 0||r[l]===c)};if(r.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||r.isolation==="isolate"||r.position==="fixed"||r.webkitOverflowScrolling==="touch")return!0;n=n.parentElement}return!1}function Zg(n){for(;n;){if(n.localName==="dialog")return n;n.parentElement?n=n.parentElement:n.parentNode?n=n.parentNode.host:n=null}return null}function zE(n){for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;n&&n.blur&&n!==document.body&&n.blur()}function q4(n,r){for(var i=0;i<n.length;++i)if(n[i]===r)return!0;return!1}function A2(n){return!n||!n.hasAttribute("method")?!1:n.getAttribute("method").toLowerCase()==="dialog"}function UE(n){var r=["button","input","keygen","select","textarea"],i=r.map(function(m){return m+":not([disabled])"});i.push('[tabindex]:not([disabled]):not([tabindex=""])');var l=n.querySelector(i.join(", "));if(!l&&"attachShadow"in Element.prototype)for(var c=n.querySelectorAll("*"),h=0;h<c.length&&!(c[h].tagName&&c[h].shadowRoot&&(l=UE(c[h].shadowRoot),l));h++);return l}function HE(n){return n.isConnected||document.body.contains(n)}function qE(n){if(n.submitter)return n.submitter;var r=n.target;if(!(r instanceof HTMLFormElement))return null;var i=In.formSubmitter;if(!i){var l=n.target,c="getRootNode"in l&&l.getRootNode()||document;i=c.activeElement}return!i||i.form!==r?null:i}function V4(n){if(!n.defaultPrevented){var r=n.target,i=In.imagemapUseValue,l=qE(n);i===null&&l&&(i=l.value);var c=Zg(r);if(c){var h=l&&l.getAttribute("formmethod")||r.getAttribute("method");h==="dialog"&&(n.preventDefault(),i!=null?c.close(i):c.close())}}}function VE(n){if(this.dialog_=n,this.replacedStyleTop_=!1,this.openAsModal_=!1,n.hasAttribute("role")||n.setAttribute("role","dialog"),n.show=this.show.bind(this),n.showModal=this.showModal.bind(this),n.close=this.close.bind(this),n.addEventListener("submit",V4,!1),"returnValue"in n||(n.returnValue=""),"MutationObserver"in window){var r=new MutationObserver(this.maybeHideModal.bind(this));r.observe(n,{attributes:!0,attributeFilter:["open"]})}else{var i=!1,l=(function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}).bind(this),c,h=function(m){if(m.target===n){var D="DOMNodeRemoved";i|=m.type.substr(0,D.length)===D,window.clearTimeout(c),c=window.setTimeout(l,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(m){n.addEventListener(m,h)})}Object.defineProperty(n,"open",{set:this.setOpen.bind(this),get:n.hasAttribute.bind(n,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}VE.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&HE(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),In.dm.removeDialog(this))},setOpen:function(n){n?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(n){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var r=document.createElement("div");this.dialog_.insertBefore(r,this.dialog_.firstChild),r.tabIndex=-1,r.focus(),this.dialog_.removeChild(r)}var i=document.createEvent("MouseEvents");i.initMouseEvent(n.type,n.bubbles,n.cancelable,window,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget),this.dialog_.dispatchEvent(i),n.stopPropagation()},focus_:function(){var n=this.dialog_.querySelector("[autofocus]:not([disabled])");!n&&this.dialog_.tabIndex>=0&&(n=this.dialog_),n||(n=UE(this.dialog_)),zE(document.activeElement),n&&n.focus()},updateZIndex:function(n,r){if(n<r)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=n,this.backdrop_.style.zIndex=r},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!HE(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!In.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");H4(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,In.needsCentering(this.dialog_)?(In.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(n){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),n!==void 0&&(this.dialog_.returnValue=n);var r=new Yh("close",{bubbles:!1,cancelable:!1});jE(this.dialog_,r)}};var In={};if(In.reposition=function(n){var r=document.body.scrollTop||document.documentElement.scrollTop,i=r+(window.innerHeight-n.offsetHeight)/2;n.style.top=Math.max(r,i)+"px"},In.isInlinePositionSetByStylesheet=function(n){for(var r=0;r<document.styleSheets.length;++r){var i=document.styleSheets[r],l=null;try{l=i.cssRules}catch{}if(l)for(var c=0;c<l.length;++c){var h=l[c],m=null;try{m=document.querySelectorAll(h.selectorText)}catch{}if(!(!m||!q4(m,n))){var D=h.style.getPropertyValue("top"),C=h.style.getPropertyValue("bottom");if(D&&D!=="auto"||C&&C!=="auto")return!0}}}return!1},In.needsCentering=function(n){var r=window.getComputedStyle(n);return r.position!=="absolute"||n.style.top!=="auto"&&n.style.top!==""||n.style.bottom!=="auto"&&n.style.bottom!==""?!1:!In.isInlinePositionSetByStylesheet(n)},In.forceRegisterDialog=function(n){if((window.HTMLDialogElement||n.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",n),n.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new VE(n)},In.registerDialog=function(n){n.showModal||In.forceRegisterDialog(n)},In.DialogManager=function(){this.pendingDialogStack=[];var n=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(r){this.forwardTab_=void 0,r.stopPropagation(),n([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(r){var i=[];r.forEach(function(l){for(var c=0,h;h=l.removedNodes[c];++c){if(h instanceof Element)h.localName==="dialog"&&i.push(h);else continue;i=i.concat(h.querySelectorAll("dialog"))}}),i.length&&n(i)}))},In.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},In.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},In.DialogManager.prototype.updateStacking=function(){for(var n=this.zIndexHigh_,r=0,i;i=this.pendingDialogStack[r];++r)i.updateZIndex(--n,--n),r===0&&(this.overlay.style.zIndex=--n);var l=this.pendingDialogStack[0];if(l){var c=l.dialog.parentNode||document.body;c.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},In.DialogManager.prototype.containedByTopDialog_=function(n){for(;n=Zg(n);){for(var r=0,i;i=this.pendingDialogStack[r];++r)if(i.dialog===n)return r===0;n=n.parentElement}return!1},In.DialogManager.prototype.handleFocus_=function(n){var r=n.composedPath?n.composedPath()[0]:n.target;if(!this.containedByTopDialog_(r)&&document.activeElement!==document.documentElement&&(n.preventDefault(),n.stopPropagation(),zE(r),this.forwardTab_!==void 0)){var i=this.pendingDialogStack[0],l=i.dialog,c=l.compareDocumentPosition(r);return c&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():r!==document.documentElement&&document.documentElement.focus()),!1}},In.DialogManager.prototype.handleKey_=function(n){if(this.forwardTab_=void 0,n.keyCode===27){n.preventDefault(),n.stopPropagation();var r=new Yh("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&jE(i.dialog,r)&&i.dialog.close()}else n.keyCode===9&&(this.forwardTab_=!n.shiftKey)},In.DialogManager.prototype.checkDOM_=function(n){var r=this.pendingDialogStack.slice();r.forEach(function(i){n.indexOf(i.dialog)!==-1?i.downgradeModal():i.maybeHideModal()})},In.DialogManager.prototype.pushDialog=function(n){var r=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=r?!1:(this.pendingDialogStack.unshift(n)===1&&this.blockDocument(),this.updateStacking(),!0)},In.DialogManager.prototype.removeDialog=function(n){var r=this.pendingDialogStack.indexOf(n);r!==-1&&(this.pendingDialogStack.splice(r,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},In.dm=new In.DialogManager,In.formSubmitter=null,In.imagemapUseValue=null,window.HTMLDialogElement===void 0){var WE=document.createElement("form");if(WE.setAttribute("method","dialog"),WE.method!=="dialog"){var Gh=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Gh){var W4=Gh.get;Gh.get=function(){return A2(this)?"dialog":W4.call(this)};var Y4=Gh.set;Gh.set=function(n){return typeof n=="string"&&n.toLowerCase()==="dialog"?this.setAttribute("method",n):Y4.call(this,n)},Object.defineProperty(HTMLFormElement.prototype,"method",Gh)}}document.addEventListener("click",function(n){if(In.formSubmitter=null,In.imagemapUseValue=null,!n.defaultPrevented){var r=n.target;if("composedPath"in n){var i=n.composedPath();r=i.shift()||r}if(!(!r||!A2(r.form))){var l=r.type==="submit"&&["button","input"].indexOf(r.localName)>-1;if(!l){if(!(r.localName==="input"&&r.type==="image"))return;In.imagemapUseValue=n.offsetX+","+n.offsetY}var c=Zg(r);c&&(In.formSubmitter=r)}}},!1),document.addEventListener("submit",function(n){var r=n.target,i=Zg(r);if(!i){var l=qE(n),c=l&&l.getAttribute("formmethod")||r.getAttribute("method");c==="dialog"&&n.preventDefault()}});var G4=HTMLFormElement.prototype.submit,K4=function(){if(!A2(this))return G4.call(this);var n=Zg(this);n&&n.close()};HTMLFormElement.prototype.submit=K4}const Q4=Object.freeze(Object.defineProperty({__proto__:null,default:In},Symbol.toStringTag,{value:"Module"}));Ot.PktAccordion=G_,Ot.PktAccordionItem=K_,Ot.PktAlert=Q_,Ot.PktBackLink=X_,Ot.PktBreadcrumbs=mO,Ot.PktButton=Fd,Ot.PktCard=J_,Ot.PktCheckbox=y0,Ot.PktCombobox=Z_,Ot.PktConsent=ab,Ot.PktDatepicker=b0,Ot.PktFooter=bO,Ot.PktFooterSimple=kO,Ot.PktHeader=DO,Ot.PktHelptext=tx,Ot.PktIcon=or,Ot.PktInput=nx,Ot.PktInputWrapper=rx,Ot.PktLink=ax,Ot.PktLinkCard=ix,Ot.PktLoader=ox,Ot.PktMessagebox=sx,Ot.PktModal=lx,Ot.PktPreview=BE,Ot.PktProgressbar=ME,Ot.PktRadioButton=R4,Ot.PktSearchInput=L4,Ot.PktSelect=Ob,Ot.PktStep=z4,Ot.PktStepper=B4,Ot.PktTable=$b,Ot.PktTableBody=Nb,Ot.PktTableDataCell=Zo,Ot.PktTableHeader=Pb,Ot.PktTableHeaderCell=gl,Ot.PktTableRow=tp,Ot.PktTabs=LE,Ot.PktTag=Wh,Ot.PktTextarea=IE,Ot.PktTextinput=Jg,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})});
|