amotify 0.2.106 → 0.2.108
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/demo/esbuild/app.tsx +4 -2
- package/demo/esbuild/designBook.tsx +2 -1
- package/demo/esbuild/public/index.css +1 -1
- package/demo/esbuild/public/index.js +26 -26
- package/dist/@declares/property.d.ts +1 -1
- package/dist/@styles/style.css +1 -1
- package/dist/@styles/var.css +1 -1
- package/dist/fn/Button.js +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ Your code should look like:
|
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
12
|
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),k}function Y(k){var W=L();if(k._context!==void 0){var ve=k._context;ve.Consumer===k?pe("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?"):ve.Provider===k&&pe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return W.useContext(k)}function me(k){var W=L();return W.useState(k)}function Ee(k,W,ve){var De=L();return De.useReducer(k,W,ve)}function We(k){var W=L();return W.useRef(k)}function mt(k,W){var ve=L();return ve.useEffect(k,W)}function rt(k,W){var ve=L();return ve.useInsertionEffect(k,W)}function Ze(k,W){var ve=L();return ve.useLayoutEffect(k,W)}function Et(k,W){var ve=L();return ve.useCallback(k,W)}function At(k,W){var ve=L();return ve.useMemo(k,W)}function Gt(k,W,ve){var De=L();return De.useImperativeHandle(k,W,ve)}function Qr(k,W){{var ve=L();return ve.useDebugValue(k,W)}}function Wa(){var k=L();return k.useTransition()}function fa(k){var W=L();return W.useDeferredValue(k)}function pa(){var k=L();return k.useId()}function Qa(k,W,ve){var De=L();return De.useSyncExternalStore(k,W,ve)}var It=0,
|
|
13
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),k}function Y(k){var W=L();if(k._context!==void 0){var ve=k._context;ve.Consumer===k?pe("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?"):ve.Provider===k&&pe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return W.useContext(k)}function me(k){var W=L();return W.useState(k)}function Ee(k,W,ve){var De=L();return De.useReducer(k,W,ve)}function We(k){var W=L();return W.useRef(k)}function mt(k,W){var ve=L();return ve.useEffect(k,W)}function rt(k,W){var ve=L();return ve.useInsertionEffect(k,W)}function Ze(k,W){var ve=L();return ve.useLayoutEffect(k,W)}function Et(k,W){var ve=L();return ve.useCallback(k,W)}function At(k,W){var ve=L();return ve.useMemo(k,W)}function Gt(k,W,ve){var De=L();return De.useImperativeHandle(k,W,ve)}function Qr(k,W){{var ve=L();return ve.useDebugValue(k,W)}}function Wa(){var k=L();return k.useTransition()}function fa(k){var W=L();return W.useDeferredValue(k)}function pa(){var k=L();return k.useId()}function Qa(k,W,ve){var De=L();return De.useSyncExternalStore(k,W,ve)}var It=0,Jn,_s,bs,ar,sa,nn,Jr;function Zn(){}Zn.__reactDisabledLog=!0;function Eu(){{if(It===0){Jn=console.log,_s=console.info,bs=console.warn,ar=console.error,sa=console.group,nn=console.groupCollapsed,Jr=console.groupEnd;var k={configurable:!0,enumerable:!0,value:Zn,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}It++}}function fp(){{if(It--,It===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ue({},k,{value:Jn}),info:ue({},k,{value:_s}),warn:ue({},k,{value:bs}),error:ue({},k,{value:ar}),group:ue({},k,{value:sa}),groupCollapsed:ue({},k,{value:nn}),groupEnd:ue({},k,{value:Jr})})}It<0&&pe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var pp=V.ReactCurrentDispatcher,Du;function Lc(k,W,ve){{if(Du===void 0)try{throw Error()}catch(et){var De=et.stack.trim().match(/\n( *(at )?)/);Du=De&&De[1]||""}return`
|
|
14
14
|
`+Du+k}}var Sl=!1,Bc;{var Bd=typeof WeakMap=="function"?WeakMap:Map;Bc=new Bd}function Om(k,W){if(!k||Sl)return"";{var ve=Bc.get(k);if(ve!==void 0)return ve}var De;Sl=!0;var et=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=pp.current,pp.current=null,Eu();try{if(W){var xt=function(){throw Error()};if(Object.defineProperty(xt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(xt,[])}catch(on){De=on}Reflect.construct(k,[],xt)}else{try{xt.call()}catch(on){De=on}k.call(xt.prototype)}}else{try{throw Error()}catch(on){De=on}k()}}catch(on){if(on&&De&&typeof on.stack=="string"){for(var nr=on.stack.split(`
|
|
15
15
|
`),Cr=De.stack.split(`
|
|
16
16
|
`),Yr=nr.length-1,ha=Cr.length-1;Yr>=1&&ha>=0&&nr[Yr]!==Cr[ha];)ha--;for(;Yr>=1&&ha>=0;Yr--,ha--)if(nr[Yr]!==Cr[ha]){if(Yr!==1||ha!==1)do if(Yr--,ha--,ha<0||nr[Yr]!==Cr[ha]){var ma=`
|
|
@@ -20,16 +20,16 @@ Check the render method of \``+k+"`."}return""}function nb(k){if(k!==void 0){var
|
|
|
20
20
|
|
|
21
21
|
Check your code at `+W+":"+ve+"."}return""}function Mm(k){return k!=null?nb(k.__source):""}var or={};function zm(k){var W=qr();if(!W){var ve=typeof k=="string"?k:k.displayName||k.name;ve&&(W=`
|
|
22
22
|
|
|
23
|
-
Check the top-level render call using <`+ve+">.")}return W}function Hn(k,W){if(!(!k._store||k._store.validated||k.key!=null)){k._store.validated=!0;var ve=zm(W);if(!or[ve]){or[ve]=!0;var De="";k&&k._owner&&k._owner!==H.current&&(De=" It was passed a child from "+pr(k._owner.type)+"."),Oc(k),pe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ve,De),Oc(null)}}}function Ic(k,W){if(typeof k=="object"){if(it(k))for(var ve=0;ve<k.length;ve++){var De=k[ve];St(De)&&Hn(De,W)}else if(St(k))k._store&&(k._store.validated=!0);else if(k){var et=M(k);if(typeof et=="function"&&et!==k.entries)for(var Mt=et.call(k),xt;!(xt=Mt.next()).done;)St(xt.value)&&Hn(xt.value,W)}}}function Pc(k){{var W=k.type;if(W==null||typeof W=="string")return;var ve;if(typeof W=="function")ve=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===y))ve=W.propTypes;else return;if(ve){var De=pr(W);Pm(ve,k.props,"prop",De,k)}else if(W.PropTypes!==void 0&&!Id){Id=!0;var et=pr(W);pe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",et||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&pe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ob(k){{for(var W=Object.keys(k.props),ve=0;ve<W.length;ve++){var De=W[ve];if(De!=="children"&&De!=="key"){Oc(k),pe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",De),Oc(null);break}}k.ref!==null&&(Oc(k),pe("Invalid attribute `ref` supplied to `React.Fragment`."),Oc(null))}}function bn(k,W,ve){var De=$e(k);if(!De){var et="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(et+=" 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 Mt=Mm(W);Mt?et+=Mt:et+=qr();var xt;k===null?xt="null":it(k)?xt="array":k!==void 0&&k.$$typeof===a?(xt="<"+(pr(k.type)||"Unknown")+" />",et=" Did you accidentally export a JSX literal instead of a component?"):xt=typeof k,pe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",xt,et)}var nr=wa.apply(this,arguments);if(nr==null)return nr;if(De)for(var Cr=2;Cr<arguments.length;Cr++)Ic(arguments[Cr],k);return k===l?ob(nr):Pc(nr),nr}var Ra=!1;function ib(k){var W=bn.bind(null,k);return W.type=k,Ra||(Ra=!0,se("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(W,"type",{enumerable:!1,get:function(){return se("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),W}function wl(k,W,ve){for(var De=ut.apply(this,arguments),et=2;et<arguments.length;et++)Ic(arguments[et],De.type);return Pc(De),De}function Co(k,W){var ve=P.transition;P.transition={};var De=P.transition;P.transition._updatedFibers=new Set;try{k()}finally{if(P.transition=ve,ve===null&&De._updatedFibers){var et=De._updatedFibers.size;et>10&&se("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."),De._updatedFibers.clear()}}}var Vl=!1,Pd=null;function mp(k){if(Pd===null)try{var W=("require"+Math.random()).slice(0,7),ve=qg&&qg[W];Pd=ve.call(qg,"timers").setImmediate}catch(De){Pd=function(et){Vl===!1&&(Vl=!0,typeof MessageChannel=="undefined"&&pe("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 Mt=new MessageChannel;Mt.port1.onmessage=et,Mt.port2.postMessage(void 0)}}return Pd(k)}var Ws=0,vp=!1;function Fm(k){{var W=Ws;Ws++,U.current===null&&(U.current=[]);var ve=U.isBatchingLegacy,De;try{if(U.isBatchingLegacy=!0,De=k(),!ve&&U.didScheduleLegacyUpdate){var et=U.current;et!==null&&(U.didScheduleLegacyUpdate=!1,zd(et))}}catch(ya){throw Md(W),ya}finally{U.isBatchingLegacy=ve}if(De!==null&&typeof De=="object"&&typeof De.then=="function"){var Mt=De,xt=!1,nr={then:function(ya,Ba){xt=!0,Mt.then(function(on){Md(W),Ws===0?gp(on,ya,Ba):ya(on)},function(on){Md(W),Ba(on)})}};return!vp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){xt||(vp=!0,pe("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 () => ...);"))}),nr}else{var Cr=De;if(Md(W),Ws===0){var Yr=U.current;Yr!==null&&(zd(Yr),U.current=null);var ha={then:function(ya,Ba){U.current===null?(U.current=[],gp(Cr,ya,Ba)):ya(Cr)}};return ha}else{var ma={then:function(ya,Ba){ya(Cr)}};return ma}}}}function Md(k){k!==Ws-1&&pe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ws=k}function gp(k,W,ve){{var De=U.current;if(De!==null)try{zd(De),mp(function(){De.length===0?(U.current=null,W(k)):gp(k,W,ve)})}catch(et){ve(et)}else W(k)}}var Mc=!1;function zd(k){if(!Mc){Mc=!0;var W=0;try{for(;W<k.length;W++){var ve=k[W];do ve=ve(!0);while(ve!==null)}k.length=0}catch(De){throw k=k.slice(W+1),De}finally{Mc=!1}}}var Fd=bn,jm=wl,Hm=ib,Um={map:F,forEach:he,count:K,toArray:ie,only:Me};Sr.Children=Um,Sr.Component=Se,Sr.Fragment=l,Sr.Profiler=d,Sr.PureComponent=Ht,Sr.StrictMode=s,Sr.Suspense=v,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,Sr.act=Fm,Sr.cloneElement=jm,Sr.createContext=ze,Sr.createElement=Fd,Sr.createFactory=Hm,Sr.createRef=kt,Sr.forwardRef=ae,Sr.isValidElement=St,Sr.lazy=q,Sr.memo=Ue,Sr.startTransition=Co,Sr.unstable_act=Fm,Sr.useCallback=Et,Sr.useContext=Y,Sr.useDebugValue=Qr,Sr.useDeferredValue=fa,Sr.useEffect=mt,Sr.useId=pa,Sr.useImperativeHandle=Gt,Sr.useInsertionEffect=rt,Sr.useLayoutEffect=Ze,Sr.useMemo=At,Sr.useReducer=Ee,Sr.useRef=We,Sr.useState=me,Sr.useSyncExternalStore=Qa,Sr.useTransition=Wa,Sr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var fr=qe((pG,p4)=>{"use strict";p4.exports=f4()});var h4=qe(ga=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function l(He,ut){var St=He.length;He.push(ut),c(He,ut,St)}function s(He){return He.length===0?null:He[0]}function d(He){if(He.length===0)return null;var ut=He[0],St=He.pop();return St!==ut&&(He[0]=St,h(He,St,0)),ut}function c(He,ut,St){for(var Xt=St;Xt>0;){var $t=Xt-1>>>1,Rr=He[$t];if(p(Rr,ut)>0)He[$t]=ut,He[Xt]=Rr,Xt=$t;else return}}function h(He,ut,St){for(var Xt=St,$t=He.length,Rr=$t>>>1;Xt<Rr;){var _r=(Xt+1)*2-1,Xr=He[_r],O=_r+1,te=He[O];if(p(Xr,ut)<0)O<$t&&p(te,Xr)<0?(He[Xt]=te,He[O]=ut,Xt=O):(He[Xt]=Xr,He[_r]=ut,Xt=_r);else if(O<$t&&p(te,ut)<0)He[Xt]=te,He[O]=ut,Xt=O;else return}}function p(He,ut){var St=He.sortIndex-ut.sortIndex;return St!==0?St:He.id-ut.id}var v=1,b=2,y=3,x=4,w=5;function R(He,ut){}var N=typeof performance=="object"&&typeof performance.now=="function";if(N){var M=performance;ga.unstable_now=function(){return M.now()}}else{var G=Date,P=G.now();ga.unstable_now=function(){return G.now()-P}}var U=1073741823,H=-1,J=250,I=5e3,re=1e4,ge=U,ne=[],ke=[],xe=1,ye=null,V=y,se=!1,pe=!1,j=!1,$=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,ue=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Ce(He){for(var ut=s(ke);ut!==null;){if(ut.callback===null)d(ke);else if(ut.startTime<=He)d(ke),ut.sortIndex=ut.expirationTime,l(ne,ut);else return;ut=s(ke)}}function Se(He){if(j=!1,Ce(He),!pe)if(s(ne)!==null)pe=!0,ba(Ie);else{var ut=s(ke);ut!==null&&mr(Se,ut.startTime-He)}}function Ie(He,ut){pe=!1,j&&(j=!1,Lr()),se=!0;var St=V;try{if(a)try{return Ge(He,ut)}catch($t){if(ye!==null){var Xt=ga.unstable_now();ye.isQueued=!1}throw $t}else return Ge(He,ut)}finally{ye=null,V=St,se=!1}}function Ge(He,ut){var St=ut;for(Ce(St),ye=s(ne);ye!==null&&!r&&!(ye.expirationTime>St&&(!He||kr()));){var Xt=ye.callback;if(typeof Xt=="function"){ye.callback=null,V=ye.priorityLevel;var $t=ye.expirationTime<=St,Rr=Xt($t);St=ga.unstable_now(),typeof Rr=="function"?ye.callback=Rr:ye===s(ne)&&d(ne),Ce(St)}else d(ne);ye=s(ne)}if(ye!==null)return!0;var _r=s(ke);return _r!==null&&mr(Se,_r.startTime-St),!1}function Qe(He,ut){switch(He){case v:case b:case y:case x:case w:break;default:He=y}var St=V;V=He;try{return ut()}finally{V=St}}function yt(He){var ut;switch(V){case v:case b:case y:ut=y;break;default:ut=V;break}var St=V;V=ut;try{return He()}finally{V=St}}function Ht(He){var ut=V;return function(){var St=V;V=ut;try{return He.apply(this,arguments)}finally{V=St}}}function pt(He,ut,St){var Xt=ga.unstable_now(),$t;if(typeof St=="object"&&St!==null){var Rr=St.delay;typeof Rr=="number"&&Rr>0?$t=Xt+Rr:$t=Xt}else $t=Xt;var _r;switch(He){case v:_r=H;break;case b:_r=J;break;case w:_r=ge;break;case x:_r=re;break;case y:default:_r=I;break}var Xr=$t+_r,O={id:xe++,callback:ut,priorityLevel:He,startTime:$t,expirationTime:Xr,sortIndex:-1};return $t>Xt?(O.sortIndex=$t,l(ke,O),s(ne)===null&&O===s(ke)&&(j?Lr():j=!0,mr(Se,$t-Xt))):(O.sortIndex=Xr,l(ne,O),!pe&&!se&&(pe=!0,ba(Ie))),O}function kt(){}function vt(){!pe&&!se&&(pe=!0,ba(Ie))}function it(){return s(ne)}function Te(He){He.callback=null}function Rt(){return V}var Ut=!1,Qt=null,Yt=-1,lr=o,pr=-1;function kr(){var He=ga.unstable_now()-pr;return!(He<lr)}function la(){}function Wr(He){if(He<0||He>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}He>0?lr=Math.floor(1e3/He):lr=o}var Kr=function(){if(Qt!==null){var He=ga.unstable_now();pr=He;var ut=!0,St=!0;try{St=Qt(ut,He)}finally{St?hr():(Ut=!1,Qt=null)}}else Ut=!1},hr;if(typeof ee=="function")hr=function(){ee(Kr)};else if(typeof MessageChannel!="undefined"){var Tr=new MessageChannel,Pr=Tr.port2;Tr.port1.onmessage=Kr,hr=function(){Pr.postMessage(null)}}else hr=function(){$(Kr,0)};function ba(He){Qt=He,Ut||(Ut=!0,hr())}function mr(He,ut){Yt=$(function(){He(ga.unstable_now())},ut)}function Lr(){oe(Yt),Yt=-1}var Mr=la,wa=null;ga.unstable_IdlePriority=w,ga.unstable_ImmediatePriority=v,ga.unstable_LowPriority=x,ga.unstable_NormalPriority=y,ga.unstable_Profiling=wa,ga.unstable_UserBlockingPriority=b,ga.unstable_cancelCallback=Te,ga.unstable_continueExecution=vt,ga.unstable_forceFrameRate=Wr,ga.unstable_getCurrentPriorityLevel=Rt,ga.unstable_getFirstCallbackNode=it,ga.unstable_next=yt,ga.unstable_pauseExecution=kt,ga.unstable_requestPaint=Mr,ga.unstable_runWithPriority=Qe,ga.unstable_scheduleCallback=pt,ga.unstable_shouldYield=kr,ga.unstable_wrapCallback=Ht,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var v4=qe((mG,m4)=>{"use strict";m4.exports=h4()});var g4=qe(Ko=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=fr(),a=v4(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,v=1,b=2,y=3,x=4,w=5,R=6,N=7,M=8,G=9,P=10,U=11,H=12,J=13,I=14,re=15,ge=16,ne=17,ke=18,xe=19,ye=21,V=22,se=23,pe=24,j=25,$=!0,oe=!1,ee=!1,ue=!1,Ce=!1,Se=!0,Ie=!1,Ge=!0,Qe=!0,yt=!0,Ht=!0,pt=new Set,kt={},vt={};function it(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){kt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),kt[e]=t;{var n=e.toLowerCase();vt[n]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var i=0;i<t.length;i++)pt.add(t[i])}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Ut=Object.prototype.hasOwnProperty;function Qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Yt(e){try{return lr(e),!1}catch(t){return!0}}function lr(e){return""+e}function pr(e,t){if(Yt(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function kr(e){if(Yt(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),lr(e)}function la(e,t){if(Yt(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function Wr(e,t){if(Yt(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function Kr(e){if(Yt(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),lr(e)}function hr(e){if(Yt(e))return c("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.",Qt(e)),lr(e)}var Tr=0,Pr=1,ba=2,mr=3,Lr=4,Mr=5,wa=6,He=":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",ut=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+He+"]["+ut+"]*$"),Xt={},$t={};function Rr(e){return Ut.call($t,e)?!0:Ut.call(Xt,e)?!1:St.test(e)?($t[e]=!0,!0):(Xt[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===Tr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Xr(e,t,n,i){if(n!==null&&n.type===Tr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function O(e,t,n,i){if(t===null||typeof t=="undefined"||Xr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case mr:return!t;case Lr:return t===!1;case Mr:return isNaN(t);case wa:return isNaN(t)||t<1}return!1}function te(e){return F.hasOwnProperty(e)?F[e]:null}function A(e,t,n,i,u,f,g){this.acceptsBooleans=t===ba||t===mr||t===Lr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var F={},K=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];K.forEach(function(e){F[e]=new A(e,Tr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];F[t]=new A(t,Pr,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new A(e,ba,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new A(e,ba,!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){F[e]=new A(e,mr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new A(e,mr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new A(e,Lr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new A(e,wa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new A(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,ie=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(he,ie);F[t]=new A(t,Pr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(he,ie);F[t]=new A(t,Pr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(he,ie);F[t]=new A(t,Pr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new A(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var Me="xlinkHref";F[Me]=new A("xlinkHref",Pr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new A(e,Pr,!1,e.toLowerCase(),null,!0,!0)});var ze=/^[\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,Fe=!1;function Ke(e){!Fe&&ze.test(e)&&(Fe=!0,c("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 Ne(e,t,n,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{pr(n,t),i.sanitizeURL&&Ke(""+n);var f=i.attributeName,g=null;if(i.type===Lr){if(e.hasAttribute(f)){var S=e.getAttribute(f);return S===""?!0:O(t,n,i,!1)?S:S===""+n?n:S}}else if(e.hasAttribute(f)){if(O(t,n,i,!1))return e.getAttribute(f);if(i.type===mr)return n;g=e.getAttribute(f)}return O(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function tt(e,t,n,i){{if(!Rr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return pr(n,t),u===""+n?n:u}}function z(e,t,n,i){var u=te(t);if(!_r(t,u,i)){if(O(t,n,u,i)&&(n=null),i||u===null){if(Rr(t)){var f=t;n===null?e.removeAttribute(f):(pr(n,t),e.setAttribute(f,""+n))}return}var g=u.mustUseProperty;if(g){var S=u.propertyName;if(n===null){var C=u.type;e[S]=C===mr?!1:""}else e[S]=n;return}var D=u.attributeName,B=u.attributeNamespace;if(n===null)e.removeAttribute(D);else{var Z=u.type,Q;Z===mr||Z===Lr&&n===!0?Q="":(pr(n,D),Q=""+n,u.sanitizeURL&&Ke(Q.toString())),B?e.setAttributeNS(B,D,Q):e.setAttribute(D,Q)}}}var q=Symbol.for("react.element"),ae=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),$e=Symbol.for("react.strict_mode"),Ue=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),Y=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),mt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),Ze=Symbol.for("react.scope"),Et=Symbol.for("react.debug_trace_mode"),At=Symbol.for("react.offscreen"),Gt=Symbol.for("react.legacy_hidden"),Qr=Symbol.for("react.cache"),Wa=Symbol.for("react.tracing_marker"),fa=Symbol.iterator,pa="@@iterator";function Qa(e){if(e===null||typeof e!="object")return null;var t=fa&&e[fa]||e[pa];return typeof t=="function"?t:null}var It=Object.assign,Zn=0,_s,bs,ar,sa,nn,Jr,eo;function Eu(){}Eu.__reactDisabledLog=!0;function fp(){{if(Zn===0){_s=console.log,bs=console.info,ar=console.warn,sa=console.error,nn=console.group,Jr=console.groupCollapsed,eo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Eu,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Zn++}}function pp(){{if(Zn--,Zn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:It({},e,{value:_s}),info:It({},e,{value:bs}),warn:It({},e,{value:ar}),error:It({},e,{value:sa}),group:It({},e,{value:nn}),groupCollapsed:It({},e,{value:Jr}),groupEnd:It({},e,{value:eo})})}Zn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Du=o.ReactCurrentDispatcher,Lc;function Sl(e,t,n){{if(Lc===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Lc=i&&i[1]||""}return`
|
|
23
|
+
Check the top-level render call using <`+ve+">.")}return W}function Hn(k,W){if(!(!k._store||k._store.validated||k.key!=null)){k._store.validated=!0;var ve=zm(W);if(!or[ve]){or[ve]=!0;var De="";k&&k._owner&&k._owner!==H.current&&(De=" It was passed a child from "+pr(k._owner.type)+"."),Oc(k),pe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ve,De),Oc(null)}}}function Ic(k,W){if(typeof k=="object"){if(it(k))for(var ve=0;ve<k.length;ve++){var De=k[ve];St(De)&&Hn(De,W)}else if(St(k))k._store&&(k._store.validated=!0);else if(k){var et=M(k);if(typeof et=="function"&&et!==k.entries)for(var Mt=et.call(k),xt;!(xt=Mt.next()).done;)St(xt.value)&&Hn(xt.value,W)}}}function Pc(k){{var W=k.type;if(W==null||typeof W=="string")return;var ve;if(typeof W=="function")ve=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===y))ve=W.propTypes;else return;if(ve){var De=pr(W);Pm(ve,k.props,"prop",De,k)}else if(W.PropTypes!==void 0&&!Id){Id=!0;var et=pr(W);pe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",et||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&pe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ob(k){{for(var W=Object.keys(k.props),ve=0;ve<W.length;ve++){var De=W[ve];if(De!=="children"&&De!=="key"){Oc(k),pe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",De),Oc(null);break}}k.ref!==null&&(Oc(k),pe("Invalid attribute `ref` supplied to `React.Fragment`."),Oc(null))}}function bn(k,W,ve){var De=$e(k);if(!De){var et="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(et+=" 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 Mt=Mm(W);Mt?et+=Mt:et+=qr();var xt;k===null?xt="null":it(k)?xt="array":k!==void 0&&k.$$typeof===a?(xt="<"+(pr(k.type)||"Unknown")+" />",et=" Did you accidentally export a JSX literal instead of a component?"):xt=typeof k,pe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",xt,et)}var nr=wa.apply(this,arguments);if(nr==null)return nr;if(De)for(var Cr=2;Cr<arguments.length;Cr++)Ic(arguments[Cr],k);return k===l?ob(nr):Pc(nr),nr}var Ra=!1;function ib(k){var W=bn.bind(null,k);return W.type=k,Ra||(Ra=!0,se("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(W,"type",{enumerable:!1,get:function(){return se("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),W}function wl(k,W,ve){for(var De=ut.apply(this,arguments),et=2;et<arguments.length;et++)Ic(arguments[et],De.type);return Pc(De),De}function wo(k,W){var ve=P.transition;P.transition={};var De=P.transition;P.transition._updatedFibers=new Set;try{k()}finally{if(P.transition=ve,ve===null&&De._updatedFibers){var et=De._updatedFibers.size;et>10&&se("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."),De._updatedFibers.clear()}}}var Vl=!1,Pd=null;function mp(k){if(Pd===null)try{var W=("require"+Math.random()).slice(0,7),ve=qg&&qg[W];Pd=ve.call(qg,"timers").setImmediate}catch(De){Pd=function(et){Vl===!1&&(Vl=!0,typeof MessageChannel=="undefined"&&pe("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 Mt=new MessageChannel;Mt.port1.onmessage=et,Mt.port2.postMessage(void 0)}}return Pd(k)}var Ws=0,vp=!1;function Fm(k){{var W=Ws;Ws++,U.current===null&&(U.current=[]);var ve=U.isBatchingLegacy,De;try{if(U.isBatchingLegacy=!0,De=k(),!ve&&U.didScheduleLegacyUpdate){var et=U.current;et!==null&&(U.didScheduleLegacyUpdate=!1,zd(et))}}catch(ya){throw Md(W),ya}finally{U.isBatchingLegacy=ve}if(De!==null&&typeof De=="object"&&typeof De.then=="function"){var Mt=De,xt=!1,nr={then:function(ya,Ba){xt=!0,Mt.then(function(on){Md(W),Ws===0?gp(on,ya,Ba):ya(on)},function(on){Md(W),Ba(on)})}};return!vp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){xt||(vp=!0,pe("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 () => ...);"))}),nr}else{var Cr=De;if(Md(W),Ws===0){var Yr=U.current;Yr!==null&&(zd(Yr),U.current=null);var ha={then:function(ya,Ba){U.current===null?(U.current=[],gp(Cr,ya,Ba)):ya(Cr)}};return ha}else{var ma={then:function(ya,Ba){ya(Cr)}};return ma}}}}function Md(k){k!==Ws-1&&pe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ws=k}function gp(k,W,ve){{var De=U.current;if(De!==null)try{zd(De),mp(function(){De.length===0?(U.current=null,W(k)):gp(k,W,ve)})}catch(et){ve(et)}else W(k)}}var Mc=!1;function zd(k){if(!Mc){Mc=!0;var W=0;try{for(;W<k.length;W++){var ve=k[W];do ve=ve(!0);while(ve!==null)}k.length=0}catch(De){throw k=k.slice(W+1),De}finally{Mc=!1}}}var Fd=bn,jm=wl,Hm=ib,Um={map:F,forEach:he,count:K,toArray:ie,only:Me};Sr.Children=Um,Sr.Component=Se,Sr.Fragment=l,Sr.Profiler=d,Sr.PureComponent=Ht,Sr.StrictMode=s,Sr.Suspense=v,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,Sr.act=Fm,Sr.cloneElement=jm,Sr.createContext=ze,Sr.createElement=Fd,Sr.createFactory=Hm,Sr.createRef=kt,Sr.forwardRef=ae,Sr.isValidElement=St,Sr.lazy=q,Sr.memo=Ue,Sr.startTransition=wo,Sr.unstable_act=Fm,Sr.useCallback=Et,Sr.useContext=Y,Sr.useDebugValue=Qr,Sr.useDeferredValue=fa,Sr.useEffect=mt,Sr.useId=pa,Sr.useImperativeHandle=Gt,Sr.useInsertionEffect=rt,Sr.useLayoutEffect=Ze,Sr.useMemo=At,Sr.useReducer=Ee,Sr.useRef=We,Sr.useState=me,Sr.useSyncExternalStore=Qa,Sr.useTransition=Wa,Sr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var fr=qe((pG,p4)=>{"use strict";p4.exports=f4()});var h4=qe(ga=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function l(He,ut){var St=He.length;He.push(ut),c(He,ut,St)}function s(He){return He.length===0?null:He[0]}function d(He){if(He.length===0)return null;var ut=He[0],St=He.pop();return St!==ut&&(He[0]=St,h(He,St,0)),ut}function c(He,ut,St){for(var Xt=St;Xt>0;){var $t=Xt-1>>>1,Rr=He[$t];if(p(Rr,ut)>0)He[$t]=ut,He[Xt]=Rr,Xt=$t;else return}}function h(He,ut,St){for(var Xt=St,$t=He.length,Rr=$t>>>1;Xt<Rr;){var _r=(Xt+1)*2-1,Xr=He[_r],O=_r+1,te=He[O];if(p(Xr,ut)<0)O<$t&&p(te,Xr)<0?(He[Xt]=te,He[O]=ut,Xt=O):(He[Xt]=Xr,He[_r]=ut,Xt=_r);else if(O<$t&&p(te,ut)<0)He[Xt]=te,He[O]=ut,Xt=O;else return}}function p(He,ut){var St=He.sortIndex-ut.sortIndex;return St!==0?St:He.id-ut.id}var v=1,b=2,y=3,x=4,w=5;function R(He,ut){}var N=typeof performance=="object"&&typeof performance.now=="function";if(N){var M=performance;ga.unstable_now=function(){return M.now()}}else{var G=Date,P=G.now();ga.unstable_now=function(){return G.now()-P}}var U=1073741823,H=-1,J=250,I=5e3,re=1e4,ge=U,ne=[],ke=[],xe=1,ye=null,V=y,se=!1,pe=!1,j=!1,$=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,ue=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Ce(He){for(var ut=s(ke);ut!==null;){if(ut.callback===null)d(ke);else if(ut.startTime<=He)d(ke),ut.sortIndex=ut.expirationTime,l(ne,ut);else return;ut=s(ke)}}function Se(He){if(j=!1,Ce(He),!pe)if(s(ne)!==null)pe=!0,ba(Ie);else{var ut=s(ke);ut!==null&&mr(Se,ut.startTime-He)}}function Ie(He,ut){pe=!1,j&&(j=!1,Lr()),se=!0;var St=V;try{if(a)try{return Ge(He,ut)}catch($t){if(ye!==null){var Xt=ga.unstable_now();ye.isQueued=!1}throw $t}else return Ge(He,ut)}finally{ye=null,V=St,se=!1}}function Ge(He,ut){var St=ut;for(Ce(St),ye=s(ne);ye!==null&&!r&&!(ye.expirationTime>St&&(!He||kr()));){var Xt=ye.callback;if(typeof Xt=="function"){ye.callback=null,V=ye.priorityLevel;var $t=ye.expirationTime<=St,Rr=Xt($t);St=ga.unstable_now(),typeof Rr=="function"?ye.callback=Rr:ye===s(ne)&&d(ne),Ce(St)}else d(ne);ye=s(ne)}if(ye!==null)return!0;var _r=s(ke);return _r!==null&&mr(Se,_r.startTime-St),!1}function Qe(He,ut){switch(He){case v:case b:case y:case x:case w:break;default:He=y}var St=V;V=He;try{return ut()}finally{V=St}}function yt(He){var ut;switch(V){case v:case b:case y:ut=y;break;default:ut=V;break}var St=V;V=ut;try{return He()}finally{V=St}}function Ht(He){var ut=V;return function(){var St=V;V=ut;try{return He.apply(this,arguments)}finally{V=St}}}function pt(He,ut,St){var Xt=ga.unstable_now(),$t;if(typeof St=="object"&&St!==null){var Rr=St.delay;typeof Rr=="number"&&Rr>0?$t=Xt+Rr:$t=Xt}else $t=Xt;var _r;switch(He){case v:_r=H;break;case b:_r=J;break;case w:_r=ge;break;case x:_r=re;break;case y:default:_r=I;break}var Xr=$t+_r,O={id:xe++,callback:ut,priorityLevel:He,startTime:$t,expirationTime:Xr,sortIndex:-1};return $t>Xt?(O.sortIndex=$t,l(ke,O),s(ne)===null&&O===s(ke)&&(j?Lr():j=!0,mr(Se,$t-Xt))):(O.sortIndex=Xr,l(ne,O),!pe&&!se&&(pe=!0,ba(Ie))),O}function kt(){}function vt(){!pe&&!se&&(pe=!0,ba(Ie))}function it(){return s(ne)}function Te(He){He.callback=null}function Rt(){return V}var Ut=!1,Qt=null,Yt=-1,lr=o,pr=-1;function kr(){var He=ga.unstable_now()-pr;return!(He<lr)}function la(){}function Wr(He){if(He<0||He>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}He>0?lr=Math.floor(1e3/He):lr=o}var Kr=function(){if(Qt!==null){var He=ga.unstable_now();pr=He;var ut=!0,St=!0;try{St=Qt(ut,He)}finally{St?hr():(Ut=!1,Qt=null)}}else Ut=!1},hr;if(typeof ee=="function")hr=function(){ee(Kr)};else if(typeof MessageChannel!="undefined"){var Tr=new MessageChannel,Pr=Tr.port2;Tr.port1.onmessage=Kr,hr=function(){Pr.postMessage(null)}}else hr=function(){$(Kr,0)};function ba(He){Qt=He,Ut||(Ut=!0,hr())}function mr(He,ut){Yt=$(function(){He(ga.unstable_now())},ut)}function Lr(){oe(Yt),Yt=-1}var Mr=la,wa=null;ga.unstable_IdlePriority=w,ga.unstable_ImmediatePriority=v,ga.unstable_LowPriority=x,ga.unstable_NormalPriority=y,ga.unstable_Profiling=wa,ga.unstable_UserBlockingPriority=b,ga.unstable_cancelCallback=Te,ga.unstable_continueExecution=vt,ga.unstable_forceFrameRate=Wr,ga.unstable_getCurrentPriorityLevel=Rt,ga.unstable_getFirstCallbackNode=it,ga.unstable_next=yt,ga.unstable_pauseExecution=kt,ga.unstable_requestPaint=Mr,ga.unstable_runWithPriority=Qe,ga.unstable_scheduleCallback=pt,ga.unstable_shouldYield=kr,ga.unstable_wrapCallback=Ht,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var v4=qe((mG,m4)=>{"use strict";m4.exports=h4()});var g4=qe(Ko=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=fr(),a=v4(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,v=1,b=2,y=3,x=4,w=5,R=6,N=7,M=8,G=9,P=10,U=11,H=12,J=13,I=14,re=15,ge=16,ne=17,ke=18,xe=19,ye=21,V=22,se=23,pe=24,j=25,$=!0,oe=!1,ee=!1,ue=!1,Ce=!1,Se=!0,Ie=!1,Ge=!0,Qe=!0,yt=!0,Ht=!0,pt=new Set,kt={},vt={};function it(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){kt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),kt[e]=t;{var n=e.toLowerCase();vt[n]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var i=0;i<t.length;i++)pt.add(t[i])}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Ut=Object.prototype.hasOwnProperty;function Qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Yt(e){try{return lr(e),!1}catch(t){return!0}}function lr(e){return""+e}function pr(e,t){if(Yt(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function kr(e){if(Yt(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),lr(e)}function la(e,t){if(Yt(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function Wr(e,t){if(Yt(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Qt(e)),lr(e)}function Kr(e){if(Yt(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),lr(e)}function hr(e){if(Yt(e))return c("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.",Qt(e)),lr(e)}var Tr=0,Pr=1,ba=2,mr=3,Lr=4,Mr=5,wa=6,He=":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",ut=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+He+"]["+ut+"]*$"),Xt={},$t={};function Rr(e){return Ut.call($t,e)?!0:Ut.call(Xt,e)?!1:St.test(e)?($t[e]=!0,!0):(Xt[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===Tr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Xr(e,t,n,i){if(n!==null&&n.type===Tr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function O(e,t,n,i){if(t===null||typeof t=="undefined"||Xr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case mr:return!t;case Lr:return t===!1;case Mr:return isNaN(t);case wa:return isNaN(t)||t<1}return!1}function te(e){return F.hasOwnProperty(e)?F[e]:null}function A(e,t,n,i,u,f,g){this.acceptsBooleans=t===ba||t===mr||t===Lr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var F={},K=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];K.forEach(function(e){F[e]=new A(e,Tr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];F[t]=new A(t,Pr,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new A(e,ba,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new A(e,ba,!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){F[e]=new A(e,mr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new A(e,mr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new A(e,Lr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new A(e,wa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new A(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,ie=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(he,ie);F[t]=new A(t,Pr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(he,ie);F[t]=new A(t,Pr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(he,ie);F[t]=new A(t,Pr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new A(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var Me="xlinkHref";F[Me]=new A("xlinkHref",Pr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new A(e,Pr,!1,e.toLowerCase(),null,!0,!0)});var ze=/^[\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,Fe=!1;function Ke(e){!Fe&&ze.test(e)&&(Fe=!0,c("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 Ne(e,t,n,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{pr(n,t),i.sanitizeURL&&Ke(""+n);var f=i.attributeName,g=null;if(i.type===Lr){if(e.hasAttribute(f)){var S=e.getAttribute(f);return S===""?!0:O(t,n,i,!1)?S:S===""+n?n:S}}else if(e.hasAttribute(f)){if(O(t,n,i,!1))return e.getAttribute(f);if(i.type===mr)return n;g=e.getAttribute(f)}return O(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function tt(e,t,n,i){{if(!Rr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return pr(n,t),u===""+n?n:u}}function z(e,t,n,i){var u=te(t);if(!_r(t,u,i)){if(O(t,n,u,i)&&(n=null),i||u===null){if(Rr(t)){var f=t;n===null?e.removeAttribute(f):(pr(n,t),e.setAttribute(f,""+n))}return}var g=u.mustUseProperty;if(g){var S=u.propertyName;if(n===null){var C=u.type;e[S]=C===mr?!1:""}else e[S]=n;return}var D=u.attributeName,B=u.attributeNamespace;if(n===null)e.removeAttribute(D);else{var Z=u.type,Q;Z===mr||Z===Lr&&n===!0?Q="":(pr(n,D),Q=""+n,u.sanitizeURL&&Ke(Q.toString())),B?e.setAttributeNS(B,D,Q):e.setAttribute(D,Q)}}}var q=Symbol.for("react.element"),ae=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),$e=Symbol.for("react.strict_mode"),Ue=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),Y=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),mt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),Ze=Symbol.for("react.scope"),Et=Symbol.for("react.debug_trace_mode"),At=Symbol.for("react.offscreen"),Gt=Symbol.for("react.legacy_hidden"),Qr=Symbol.for("react.cache"),Wa=Symbol.for("react.tracing_marker"),fa=Symbol.iterator,pa="@@iterator";function Qa(e){if(e===null||typeof e!="object")return null;var t=fa&&e[fa]||e[pa];return typeof t=="function"?t:null}var It=Object.assign,Jn=0,_s,bs,ar,sa,nn,Jr,Zn;function Eu(){}Eu.__reactDisabledLog=!0;function fp(){{if(Jn===0){_s=console.log,bs=console.info,ar=console.warn,sa=console.error,nn=console.group,Jr=console.groupCollapsed,Zn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Eu,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Jn++}}function pp(){{if(Jn--,Jn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:It({},e,{value:_s}),info:It({},e,{value:bs}),warn:It({},e,{value:ar}),error:It({},e,{value:sa}),group:It({},e,{value:nn}),groupCollapsed:It({},e,{value:Jr}),groupEnd:It({},e,{value:Zn})})}Jn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Du=o.ReactCurrentDispatcher,Lc;function Sl(e,t,n){{if(Lc===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Lc=i&&i[1]||""}return`
|
|
24
24
|
`+Lc+e}}var Bc=!1,Bd;{var Om=typeof WeakMap=="function"?WeakMap:Map;Bd=new Om}function hp(e,t){if(!e||Bc)return"";{var n=Bd.get(e);if(n!==void 0)return n}var i;Bc=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=Du.current,Du.current=null,fp();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(be){i=be}Reflect.construct(e,[],g)}else{try{g.call()}catch(be){i=be}e.call(g.prototype)}}else{try{throw Error()}catch(be){i=be}e()}}catch(be){if(be&&i&&typeof be.stack=="string"){for(var S=be.stack.split(`
|
|
25
25
|
`),C=i.stack.split(`
|
|
26
26
|
`),D=S.length-1,B=C.length-1;D>=1&&B>=0&&S[D]!==C[B];)B--;for(;D>=1&&B>=0;D--,B--)if(S[D]!==C[B]){if(D!==1||B!==1)do if(D--,B--,B<0||S[D]!==C[B]){var Z=`
|
|
27
27
|
`+S[D].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Bd.set(e,Z),Z}while(D>=1&&B>=0);break}}}finally{Bc=!1,Du.current=f,pp(),Error.prepareStackTrace=u}var Q=e?e.displayName||e.name:"",_e=Q?Sl(Q):"";return typeof e=="function"&&Bd.set(e,_e),_e}function ab(e,t,n){return hp(e,!0)}function Nc(e,t,n){return hp(e,!1)}function Im(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Nd(e,t,n){if(e==null)return"";if(typeof e=="function")return hp(e,Im(e));if(typeof e=="string")return Sl(e);switch(e){case Ee:return Sl("Suspense");case We:return Sl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case me:return Nc(e.render);case mt:return Nd(e.type,t,n);case rt:{var i=e,u=i._payload,f=i._init;try{return Nd(f(u),t,n)}catch(g){}}}return""}function Od(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return Sl(e.type);case ge:return Sl("Lazy");case J:return Sl("Suspense");case xe:return Sl("SuspenseList");case p:case b:case re:return Nc(e.type);case U:return Nc(e.type.render);case v:return ab(e.type);default:return""}}function Pm(e){try{var t="",n=e;do t+=Od(n),n=n.return;while(n);return t}catch(i){return`
|
|
28
28
|
Error generating stack: `+i.message+`
|
|
29
|
-
`+i.stack}}function Oc(e,t,n){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Id(e){return e.displayName||"Context"}function qr(e){if(e==null)return null;if(typeof e.tag=="number"&&c("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 ce:return"Fragment";case ae:return"Portal";case Ue:return"Profiler";case $e:return"StrictMode";case Ee:return"Suspense";case We:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y:var t=e;return Id(t)+".Consumer";case L:var n=e;return Id(n._context)+".Provider";case me:return Oc(e,e.render,"ForwardRef");case mt:var i=e.displayName||null;return i!==null?i:qr(e.type)||"Memo";case rt:{var u=e,f=u._payload,g=u._init;try{return qr(g(f))}catch(S){return null}}}return null}function nb(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Mm(e){return e.displayName||"Context"}function or(e){var t=e.tag,n=e.type;switch(t){case pe:return"Cache";case G:var i=n;return Mm(i)+".Consumer";case P:var u=n;return Mm(u._context)+".Provider";case ke:return"DehydratedFragment";case U:return nb(n,n.render,"ForwardRef");case N:return"Fragment";case w:return n;case x:return"Portal";case y:return"Root";case R:return"Text";case ge:return qr(n);case M:return n===$e?"StrictMode":"Mode";case V:return"Offscreen";case H:return"Profiler";case ye:return"Scope";case J:return"Suspense";case xe:return"SuspenseList";case j:return"TracingMarker";case v:case p:case ne:case b:case I:case re:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var zm=o.ReactDebugCurrentFrame,Hn=null,Ic=!1;function Pc(){{if(Hn===null)return null;var e=Hn._debugOwner;if(e!==null&&typeof e!="undefined")return or(e)}return null}function ob(){return Hn===null?"":Pm(Hn)}function bn(){zm.getCurrentStack=null,Hn=null,Ic=!1}function Ra(e){zm.getCurrentStack=e===null?null:ob,Hn=e,Ic=!1}function ib(){return Hn}function wl(e){Ic=e}function
|
|
29
|
+
`+i.stack}}function Oc(e,t,n){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Id(e){return e.displayName||"Context"}function qr(e){if(e==null)return null;if(typeof e.tag=="number"&&c("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 ce:return"Fragment";case ae:return"Portal";case Ue:return"Profiler";case $e:return"StrictMode";case Ee:return"Suspense";case We:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y:var t=e;return Id(t)+".Consumer";case L:var n=e;return Id(n._context)+".Provider";case me:return Oc(e,e.render,"ForwardRef");case mt:var i=e.displayName||null;return i!==null?i:qr(e.type)||"Memo";case rt:{var u=e,f=u._payload,g=u._init;try{return qr(g(f))}catch(S){return null}}}return null}function nb(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Mm(e){return e.displayName||"Context"}function or(e){var t=e.tag,n=e.type;switch(t){case pe:return"Cache";case G:var i=n;return Mm(i)+".Consumer";case P:var u=n;return Mm(u._context)+".Provider";case ke:return"DehydratedFragment";case U:return nb(n,n.render,"ForwardRef");case N:return"Fragment";case w:return n;case x:return"Portal";case y:return"Root";case R:return"Text";case ge:return qr(n);case M:return n===$e?"StrictMode":"Mode";case V:return"Offscreen";case H:return"Profiler";case ye:return"Scope";case J:return"Suspense";case xe:return"SuspenseList";case j:return"TracingMarker";case v:case p:case ne:case b:case I:case re:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var zm=o.ReactDebugCurrentFrame,Hn=null,Ic=!1;function Pc(){{if(Hn===null)return null;var e=Hn._debugOwner;if(e!==null&&typeof e!="undefined")return or(e)}return null}function ob(){return Hn===null?"":Pm(Hn)}function bn(){zm.getCurrentStack=null,Hn=null,Ic=!1}function Ra(e){zm.getCurrentStack=e===null?null:ob,Hn=e,Ic=!1}function ib(){return Hn}function wl(e){Ic=e}function wo(e){return""+e}function Vl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return hr(e),e;default:return""}}var Pd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function mp(e,t){Pd[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("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||c("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 Ws(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vp(e){return e._valueTracker}function Fm(e){e._valueTracker=null}function Md(e){var t="";return e&&(Ws(e)?t=e.checked?"true":"false":t=e.value),t}function gp(e){var t=Ws(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);hr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var u=n.get,f=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(S){hr(S),i=""+S,f.call(this,S)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return i},setValue:function(S){hr(S),i=""+S},stopTracking:function(){Fm(e),delete e[t]}};return g}}function Mc(e){vp(e)||(e._valueTracker=gp(e))}function zd(e){if(!e)return!1;var t=vp(e);if(!t)return!0;var n=t.getValue(),i=Md(e);return i!==n?(t.setValue(i),!0):!1}function Fd(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var jm=!1,Hm=!1,Um=!1,k=!1;function W(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ve(e,t){var n=e,i=t.checked,u=It({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return u}function De(e,t){mp("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Hm&&(c("%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",Pc()||"A component",t.type),Hm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!jm&&(c("%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",Pc()||"A component",t.type),jm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Vl(t.value!=null?t.value:i),controlled:W(t)}}function et(e,t){var n=e,i=t.checked;i!=null&&z(n,"checked",i,!1)}function Mt(e,t){var n=e;{var i=W(t);!n._wrapperState.controlled&&i&&!k&&(c("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"),k=!0),n._wrapperState.controlled&&!i&&!Um&&(c("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"),Um=!0)}et(e,t);var u=Vl(t.value),f=t.type;if(u!=null)f==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=wo(u)):n.value!==wo(u)&&(n.value=wo(u));else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Yr(n,t.type,u):t.hasOwnProperty("defaultValue")&&Yr(n,t.type,Vl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function xt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,f=u==="submit"||u==="reset";if(f&&(t.value===void 0||t.value===null))return;var g=wo(i._wrapperState.initialValue);n||g!==i.value&&(i.value=g),i.defaultValue=g}var S=i.name;S!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,S!==""&&(i.name=S)}function nr(e,t){var n=e;Mt(n,t),Cr(n,t)}function Cr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;pr(n,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),f=0;f<u.length;f++){var g=u[f];if(!(g===e||g.form!==e.form)){var S=Dv(g);if(!S)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");zd(g),Mt(g,S)}}}}function Yr(e,t,n){(t!=="number"||Fd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=wo(e._wrapperState.initialValue):e.defaultValue!==wo(n)&&(e.defaultValue=wo(n)))}var ha=!1,ma=!1,ya=!1;function Ba(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||ma||(ma=!0,c("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ya||(ya=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ha&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ha=!0)}function on(e,t){t.value!=null&&e.setAttribute("value",wo(Vl(t.value)))}var jd=Array.isArray;function ln(e){return jd(e)}var Hd;Hd=!1;function Vm(){var e=Pc();return e?`
|
|
30
30
|
|
|
31
|
-
Check the render method of \``+e+"`.":""}var _p=["value","defaultValue"];function lb(e){{mp("select",e);for(var t=0;t<_p.length;t++){var n=_p[t];if(e[n]!=null){var i=ln(e[n]);e.multiple&&!i?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Vm()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Vm())}}}}function qs(e,t,n,i){var u=e.options;if(t){for(var f=n,g={},S=0;S<f.length;S++)g["$"+f[S]]=!0;for(var C=0;C<u.length;C++){var D=g.hasOwnProperty("$"+u[C].value);u[C].selected!==D&&(u[C].selected=D),D&&i&&(u[C].defaultSelected=!0)}}else{for(var B=Co(Vl(n)),Z=null,Q=0;Q<u.length;Q++){if(u[Q].value===B){u[Q].selected=!0,i&&(u[Q].defaultSelected=!0);return}Z===null&&!u[Q].disabled&&(Z=u[Q])}Z!==null&&(Z.selected=!0)}}function bp(e,t){return It({},t,{value:void 0})}function eC(e,t){var n=e;lb(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Hd&&(c("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"),Hd=!0)}function fI(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?qs(n,!!t.multiple,i,!1):t.defaultValue!=null&&qs(n,!!t.multiple,t.defaultValue,!0)}function pI(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?qs(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?qs(n,!!t.multiple,t.defaultValue,!0):qs(n,!!t.multiple,t.multiple?[]:"",!1))}function hI(e,t){var n=e,i=t.value;i!=null&&qs(n,!!t.multiple,i,!1)}var tC=!1;function sb(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=It({},t,{value:void 0,defaultValue:void 0,children:Co(n._wrapperState.initialValue)});return i}function rC(e,t){var n=e;mp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!tC&&(c("%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",Pc()||"A component"),tC=!0);var i=t.value;if(i==null){var u=t.children,f=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ln(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}f=u}}f==null&&(f=""),i=f}n._wrapperState={initialValue:Vl(i)}}function aC(e,t){var n=e,i=Vl(t.value),u=Vl(t.defaultValue);if(i!=null){var f=Co(i);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}u!=null&&(n.defaultValue=Co(u))}function nC(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function mI(e,t){aC(e,t)}var Ys="http://www.w3.org/1999/xhtml",vI="http://www.w3.org/1998/Math/MathML",cb="http://www.w3.org/2000/svg";function ub(e){switch(e){case"svg":return cb;case"math":return vI;default:return Ys}}function db(e,t){return e==null||e===Ys?ub(t):e===cb&&t==="foreignObject"?Ys:e}var gI=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Wm,oC=gI(function(e,t){if(e.namespaceURI===cb&&!("innerHTML"in e)){Wm=Wm||document.createElement("div"),Wm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Wm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),xo=1,$s=3,Ja=8,Gs=9,fb=11,qm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===$s){n.nodeValue=t;return}}e.textContent=t},_I={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"]},yp={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 bI(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var yI=["Webkit","ms","Moz","O"];Object.keys(yp).forEach(function(e){yI.forEach(function(t){yp[bI(t,e)]=yp[e]})});function pb(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(yp.hasOwnProperty(e)&&yp[e])?t+"px":(Wr(t,e),(""+t).trim())}var SI=/([A-Z])/g,wI=/^ms-/;function CI(e){return e.replace(SI,"-$1").toLowerCase().replace(wI,"-ms-")}var iC=function(){};{var xI=/^(?:webkit|moz|o)[A-Z]/,kI=/^-ms-/,TI=/-(.)/g,lC=/;\s*$/,Ud={},hb={},sC=!1,cC=!1,RI=function(e){return e.replace(TI,function(t,n){return n.toUpperCase()})},EI=function(e){Ud.hasOwnProperty(e)&&Ud[e]||(Ud[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,RI(e.replace(kI,"ms-"))))},DI=function(e){Ud.hasOwnProperty(e)&&Ud[e]||(Ud[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},AI=function(e,t){hb.hasOwnProperty(t)&&hb[t]||(hb[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(lC,"")))},LI=function(e,t){sC||(sC=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},BI=function(e,t){cC||(cC=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};iC=function(e,t){e.indexOf("-")>-1?EI(e):xI.test(e)?DI(e):lC.test(t)&&AI(e,t),typeof t=="number"&&(isNaN(t)?LI(e,t):isFinite(t)||BI(e,t))}}var NI=iC;function OI(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var f=i.indexOf("--")===0;t+=n+(f?i:CI(i))+":",t+=pb(i,u,f),n=";"}}return t||null}}function uC(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||NI(i,t[i]);var f=pb(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,f):n[i]=f}}function II(e){return e==null||typeof e=="boolean"||e===""}function dC(e){var t={};for(var n in e)for(var i=_I[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function PI(e,t){{if(!t)return;var n=dC(e),i=dC(t),u={};for(var f in n){var g=n[f],S=i[f];if(S&&g!==S){var C=g+","+S;if(u[C])continue;u[C]=!0,c("%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.",II(e[g])?"Removing":"Updating",g,S)}}}}var MI={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},zI=It({menuitem:!0},MI),FI="__html";function mb(e,t){if(t){if(zI[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"||!(FI 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&&c("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 Au(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 Ym={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"},fC={"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},Vd={},jI=new RegExp("^(aria)-["+ut+"]*$"),HI=new RegExp("^(aria)[A-Z]["+ut+"]*$");function UI(e,t){{if(Ut.call(Vd,t)&&Vd[t])return!0;if(HI.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=fC.hasOwnProperty(n)?n:null;if(i==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Vd[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Vd[t]=!0,!0}if(jI.test(t)){var u=t.toLowerCase(),f=fC.hasOwnProperty(u)?u:null;if(f==null)return Vd[t]=!0,!1;if(t!==f)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),Vd[t]=!0,!0}}return!0}function VI(e,t){{var n=[];for(var i in t){var u=UI(e,i);u||n.push(i)}var f=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function WI(e,t){Au(e,t)||VI(e,t)}var pC=!1;function qI(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!pC&&(pC=!0,e==="select"&&t.multiple?c("`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):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var hC=function(){};{var to={},mC=/^on./,YI=/^on[^A-Z]/,$I=new RegExp("^(aria)-["+ut+"]*$"),GI=new RegExp("^(aria)[A-Z]["+ut+"]*$");hC=function(e,t,n,i){if(Ut.call(to,t)&&to[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return c("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."),to[t]=!0,!0;if(i!=null){var f=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var S=g.hasOwnProperty(u)?g[u]:null;if(S!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,S),to[t]=!0,!0;if(mC.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),to[t]=!0,!0}else if(mC.test(t))return YI.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),to[t]=!0,!0;if($I.test(t)||GI.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),to[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),to[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),to[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),to[t]=!0,!0;var C=te(t),D=C!==null&&C.type===Tr;if(Ym.hasOwnProperty(u)){var B=Ym[u];if(B!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,B),to[t]=!0,!0}else if(!D&&t!==u)return c("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,u),to[t]=!0,!0;return typeof n=="boolean"&&Xr(t,n,C,!1)?(n?c('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,t,t,n,t):c('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.',n,t,t,n,t,t,t),to[t]=!0,!0):D?!0:Xr(t,n,C,!1)?(to[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===mr&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="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,n),to[t]=!0),!0)}}var KI=function(e,t,n){{var i=[];for(var u in t){var f=hC(e,u,t[u],n);f||i.push(u)}var g=i.map(function(S){return"`"+S+"`"}).join(", ");i.length===1?c("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 ",g,e):i.length>1&&c("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 ",g,e)}};function XI(e,t,n){Au(e,t)||KI(e,t,n)}var vC=1,vb=2,Sp=4,QI=vC|vb|Sp,wp=null;function JI(e){wp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),wp=e}function ZI(){wp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),wp=null}function eP(e){return e===wp}function gb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===$s?t.parentNode:t}var _b=null,Wd=null,qd=null;function gC(e){var t=qc(e);if(t){if(typeof _b!="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 n=t.stateNode;if(n){var i=Dv(n);_b(t.stateNode,t.type,i)}}}function tP(e){_b=e}function _C(e){Wd?qd?qd.push(e):qd=[e]:Wd=e}function rP(){return Wd!==null||qd!==null}function bC(){if(Wd){var e=Wd,t=qd;if(Wd=null,qd=null,gC(e),t)for(var n=0;n<t.length;n++)gC(t[n])}}var yC=function(e,t){return e(t)},SC=function(){},bb=!1;function aP(){var e=rP();e&&(SC(),bC())}function wC(e,t,n){if(bb)return e(t,n);bb=!0;try{return yC(e,t,n)}finally{bb=!1,aP()}}function nP(e,t,n){yC=e,SC=n}function oP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function iP(e,t,n){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!!(n.disabled&&oP(t));default:return!1}}function Cp(e,t){var n=e.stateNode;if(n===null)return null;var i=Dv(n);if(i===null)return null;var u=i[t];if(iP(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var yb=!1;if(Rt)try{var xp={};Object.defineProperty(xp,"passive",{get:function(){yb=!0}}),window.addEventListener("test",xp,xp),window.removeEventListener("test",xp,xp)}catch(e){yb=!1}function CC(e,t,n,i,u,f,g,S,C){var D=Array.prototype.slice.call(arguments,3);try{t.apply(n,D)}catch(B){this.onError(B)}}var xC=CC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var Sb=document.createElement("react");xC=function(t,n,i,u,f,g,S,C,D){if(typeof document=="undefined"||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 B=document.createEvent("Event"),Z=!1,Q=!0,_e=window.event,be=Object.getOwnPropertyDescriptor(window,"event");function Re(){Sb.removeEventListener(Ae,Ot,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=_e)}var ot=Array.prototype.slice.call(arguments,3);function Ot(){Z=!0,Re(),n.apply(i,ot),Q=!1}var Tt,vr=!1,gr=!1;function de(fe){if(Tt=fe.error,vr=!0,Tt===null&&fe.colno===0&&fe.lineno===0&&(gr=!0),fe.defaultPrevented&&Tt!=null&&typeof Tt=="object")try{Tt._suppressLogging=!0}catch(Xe){}}var Ae="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",de),Sb.addEventListener(Ae,Ot,!1),B.initEvent(Ae,!1,!1),Sb.dispatchEvent(B),be&&Object.defineProperty(window,"event",be),Z&&Q&&(vr?gr&&(Tt=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.")):Tt=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(Tt)),window.removeEventListener("error",de),!Z)return Re(),CC.apply(this,arguments)}}var lP=xC,Yd=!1,$m=null,Gm=!1,wb=null,sP={onError:function(e){Yd=!0,$m=e}};function Cb(e,t,n,i,u,f,g,S,C){Yd=!1,$m=null,lP.apply(sP,arguments)}function cP(e,t,n,i,u,f,g,S,C){if(Cb.apply(this,arguments),Yd){var D=xb();Gm||(Gm=!0,wb=D)}}function uP(){if(Gm){var e=wb;throw Gm=!1,wb=null,e}}function dP(){return Yd}function xb(){if(Yd){var e=$m;return Yd=!1,$m=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 $d(e){return e._reactInternals}function fP(e){return e._reactInternals!==void 0}function pP(e,t){e._reactInternals=t}var Vt=0,Gd=1,Za=2,xr=4,Lu=16,kp=32,kb=64,zr=128,Ks=256,zc=512,Bu=1024,Wl=2048,Xs=4096,Nu=8192,Km=16384,hP=Wl|xr|kb|zc|Bu|Km,mP=32767,Tp=32768,ro=65536,Tb=131072,kC=1048576,Rb=2097152,Ou=4194304,Eb=8388608,Qs=16777216,Xm=33554432,Db=xr|Bu|0,Ab=Za|xr|Lu|kp|zc|Xs|Nu,Rp=xr|kb|zc|Nu,Kd=Wl|Lu,Js=Ou|Eb|Rb,vP=o.ReactCurrentOwner;function Iu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Za|Xs))!==Vt&&(n=t.return),i=t.return;while(i)}return t.tag===y?n:null}function TC(e){if(e.tag===J){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function RC(e){return e.tag===y?e.stateNode.containerInfo:null}function gP(e){return Iu(e)===e}function _P(e){{var t=vP.current;if(t!==null&&t.tag===v){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||c("%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.",or(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=$d(e);return u?Iu(u)===u:!1}function EC(e){if(Iu(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function DC(e){var t=e.alternate;if(!t){var n=Iu(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,u=t;;){var f=i.return;if(f===null)break;var g=f.alternate;if(g===null){var S=f.return;if(S!==null){i=u=S;continue}break}if(f.child===g.child){for(var C=f.child;C;){if(C===i)return EC(f),e;if(C===u)return EC(f),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=f,u=g;else{for(var D=!1,B=f.child;B;){if(B===i){D=!0,i=f,u=g;break}if(B===u){D=!0,u=f,i=g;break}B=B.sibling}if(!D){for(B=g.child;B;){if(B===i){D=!0,i=g,u=f;break}if(B===u){D=!0,u=g,i=f;break}B=B.sibling}if(!D)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(i.alternate!==u)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(i.tag!==y)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function AC(e){var t=DC(e);return t!==null?LC(t):null}function LC(e){if(e.tag===w||e.tag===R)return e;for(var t=e.child;t!==null;){var n=LC(t);if(n!==null)return n;t=t.sibling}return null}function bP(e){var t=DC(e);return t!==null?BC(t):null}function BC(e){if(e.tag===w||e.tag===R)return e;for(var t=e.child;t!==null;){if(t.tag!==x){var n=BC(t);if(n!==null)return n}t=t.sibling}return null}var NC=a.unstable_scheduleCallback,yP=a.unstable_cancelCallback,SP=a.unstable_shouldYield,wP=a.unstable_requestPaint,yn=a.unstable_now,CP=a.unstable_getCurrentPriorityLevel,Qm=a.unstable_ImmediatePriority,Lb=a.unstable_UserBlockingPriority,Pu=a.unstable_NormalPriority,xP=a.unstable_LowPriority,Bb=a.unstable_IdlePriority,kP=a.unstable_yieldValue,TP=a.unstable_setDisableYieldValue,Mu=null,Rn=null,dt=null,ys=!1,ql=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function RP(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return c("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{Qe&&(e=It({},e,{getLaneLabelMap:NP,injectProfilingHooks:BP})),Mu=t.inject(e),Rn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function EP(e,t){if(Rn&&typeof Rn.onScheduleFiberRoot=="function")try{Rn.onScheduleFiberRoot(Mu,e,t)}catch(n){ys||(ys=!0,c("React instrumentation encountered an error: %s",n))}}function DP(e,t){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{var n=(e.current.flags&zr)===zr;if(yt){var i;switch(t){case Vo:i=Qm;break;case ec:i=Lb;break;case tc:i=Pu;break;case nv:i=Bb;break;default:i=Pu;break}Rn.onCommitFiberRoot(Mu,e,i,n)}else Rn.onCommitFiberRoot(Mu,e,void 0,n)}catch(u){ys||(ys=!0,c("React instrumentation encountered an error: %s",u))}}function AP(e){if(Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function LP(e){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function Sn(e){if(typeof kP=="function"&&(TP(e),s(e)),Rn&&typeof Rn.setStrictMode=="function")try{Rn.setStrictMode(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function BP(e){dt=e}function NP(){{for(var e=new Map,t=1,n=0;n<Ob;n++){var i=ZP(t);e.set(t,i),t*=2}return e}}function OP(e){dt!==null&&typeof dt.markCommitStarted=="function"&&dt.markCommitStarted(e)}function OC(){dt!==null&&typeof dt.markCommitStopped=="function"&&dt.markCommitStopped()}function Ep(e){dt!==null&&typeof dt.markComponentRenderStarted=="function"&&dt.markComponentRenderStarted(e)}function Xd(){dt!==null&&typeof dt.markComponentRenderStopped=="function"&&dt.markComponentRenderStopped()}function IP(e){dt!==null&&typeof dt.markComponentPassiveEffectMountStarted=="function"&&dt.markComponentPassiveEffectMountStarted(e)}function PP(){dt!==null&&typeof dt.markComponentPassiveEffectMountStopped=="function"&&dt.markComponentPassiveEffectMountStopped()}function MP(e){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStarted=="function"&&dt.markComponentPassiveEffectUnmountStarted(e)}function zP(){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStopped=="function"&&dt.markComponentPassiveEffectUnmountStopped()}function FP(e){dt!==null&&typeof dt.markComponentLayoutEffectMountStarted=="function"&&dt.markComponentLayoutEffectMountStarted(e)}function jP(){dt!==null&&typeof dt.markComponentLayoutEffectMountStopped=="function"&&dt.markComponentLayoutEffectMountStopped()}function IC(e){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStarted=="function"&&dt.markComponentLayoutEffectUnmountStarted(e)}function PC(){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStopped=="function"&&dt.markComponentLayoutEffectUnmountStopped()}function HP(e,t,n){dt!==null&&typeof dt.markComponentErrored=="function"&&dt.markComponentErrored(e,t,n)}function UP(e,t,n){dt!==null&&typeof dt.markComponentSuspended=="function"&&dt.markComponentSuspended(e,t,n)}function VP(e){dt!==null&&typeof dt.markLayoutEffectsStarted=="function"&&dt.markLayoutEffectsStarted(e)}function WP(){dt!==null&&typeof dt.markLayoutEffectsStopped=="function"&&dt.markLayoutEffectsStopped()}function qP(e){dt!==null&&typeof dt.markPassiveEffectsStarted=="function"&&dt.markPassiveEffectsStarted(e)}function YP(){dt!==null&&typeof dt.markPassiveEffectsStopped=="function"&&dt.markPassiveEffectsStopped()}function MC(e){dt!==null&&typeof dt.markRenderStarted=="function"&&dt.markRenderStarted(e)}function $P(){dt!==null&&typeof dt.markRenderYielded=="function"&&dt.markRenderYielded()}function zC(){dt!==null&&typeof dt.markRenderStopped=="function"&&dt.markRenderStopped()}function GP(e){dt!==null&&typeof dt.markRenderScheduled=="function"&&dt.markRenderScheduled(e)}function KP(e,t){dt!==null&&typeof dt.markForceUpdateScheduled=="function"&&dt.markForceUpdateScheduled(e,t)}function Nb(e,t){dt!==null&&typeof dt.markStateUpdateScheduled=="function"&&dt.markStateUpdateScheduled(e,t)}var Pt=0,br=1,Zr=2,Ma=8,Ss=16,FC=Math.clz32?Math.clz32:JP,XP=Math.log,QP=Math.LN2;function JP(e){var t=e>>>0;return t===0?32:31-(XP(t)/QP|0)|0}var Ob=31,je=0,wn=0,Jt=1,Qd=2,Zs=4,zu=8,ws=16,Dp=32,Jd=4194240,Ap=64,Ib=128,Pb=256,Mb=512,zb=1024,Fb=2048,jb=4096,Hb=8192,Ub=16384,Vb=32768,Wb=65536,qb=131072,Yb=262144,$b=524288,Gb=1048576,Kb=2097152,Jm=130023424,Zd=4194304,Xb=8388608,Qb=16777216,Jb=33554432,Zb=67108864,jC=Zd,Lp=134217728,HC=268435455,Bp=268435456,Fu=536870912,Ho=1073741824;function ZP(e){{if(e&Jt)return"Sync";if(e&Qd)return"InputContinuousHydration";if(e&Zs)return"InputContinuous";if(e&zu)return"DefaultHydration";if(e&ws)return"Default";if(e&Dp)return"TransitionHydration";if(e&Jd)return"Transition";if(e&Jm)return"Retry";if(e&Lp)return"SelectiveHydration";if(e&Bp)return"IdleHydration";if(e&Fu)return"Idle";if(e&Ho)return"Offscreen"}}var Sa=-1,Zm=Ap,ev=Zd;function Np(e){switch(ju(e)){case Jt:return Jt;case Qd:return Qd;case Zs:return Zs;case zu:return zu;case ws:return ws;case Dp:return Dp;case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:return e&Jd;case Zd:case Xb:case Qb:case Jb:case Zb:return e&Jm;case Lp:return Lp;case Bp:return Bp;case Fu:return Fu;case Ho:return Ho;default:return c("Should have found matching lanes. This is a bug in React."),e}}function tv(e,t){var n=e.pendingLanes;if(n===je)return je;var i=je,u=e.suspendedLanes,f=e.pingedLanes,g=n&HC;if(g!==je){var S=g&~u;if(S!==je)i=Np(S);else{var C=g&f;C!==je&&(i=Np(C))}}else{var D=n&~u;D!==je?i=Np(D):f!==je&&(i=Np(f))}if(i===je)return je;if(t!==je&&t!==i&&(t&u)===je){var B=ju(i),Z=ju(t);if(B>=Z||B===ws&&(Z&Jd)!==je)return t}(i&Zs)!==je&&(i|=n&ws);var Q=e.entangledLanes;if(Q!==je)for(var _e=e.entanglements,be=i&Q;be>0;){var Re=Hu(be),ot=1<<Re;i|=_e[Re],be&=~ot}return i}function eM(e,t){for(var n=e.eventTimes,i=Sa;t>0;){var u=Hu(t),f=1<<u,g=n[u];g>i&&(i=g),t&=~f}return i}function tM(e,t){switch(e){case Jt:case Qd:case Zs:return t+250;case zu:case ws:case Dp:case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:return t+5e3;case Zd:case Xb:case Qb:case Jb:case Zb:return Sa;case Lp:case Bp:case Fu:case Ho:return Sa;default:return c("Should have found matching lanes. This is a bug in React."),Sa}}function rM(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var S=Hu(g),C=1<<S,D=f[S];D===Sa?((C&i)===je||(C&u)!==je)&&(f[S]=tM(C,t)):D<=t&&(e.expiredLanes|=C),g&=~C}}function aM(e){return Np(e.pendingLanes)}function e1(e){var t=e.pendingLanes&~Ho;return t!==je?t:t&Ho?Ho:je}function nM(e){return(e&Jt)!==je}function t1(e){return(e&HC)!==je}function UC(e){return(e&Jm)===e}function oM(e){var t=Jt|Zs|ws;return(e&t)===je}function iM(e){return(e&Jd)===e}function rv(e,t){var n=Qd|Zs|zu|ws;return(t&n)!==je}function lM(e,t){return(t&e.expiredLanes)!==je}function VC(e){return(e&Jd)!==je}function WC(){var e=Zm;return Zm<<=1,(Zm&Jd)===je&&(Zm=Ap),e}function sM(){var e=ev;return ev<<=1,(ev&Jm)===je&&(ev=Zd),e}function ju(e){return e&-e}function Op(e){return ju(e)}function Hu(e){return 31-FC(e)}function r1(e){return Hu(e)}function Uo(e,t){return(e&t)!==je}function ef(e,t){return(e&t)===t}function cr(e,t){return e|t}function av(e,t){return e&~t}function qC(e,t){return e&t}function sG(e){return e}function cM(e,t){return e!==wn&&e<t?e:t}function a1(e){for(var t=[],n=0;n<Ob;n++)t.push(e);return t}function Ip(e,t,n){e.pendingLanes|=t,t!==Fu&&(e.suspendedLanes=je,e.pingedLanes=je);var i=e.eventTimes,u=r1(t);i[u]=n}function uM(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Hu(i),f=1<<u;n[u]=Sa,i&=~f}}function YC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function dM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=je,e.pingedLanes=je,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var S=Hu(g),C=1<<S;i[S]=je,u[S]=Sa,f[S]=Sa,g&=~C}}function n1(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var f=Hu(u),g=1<<f;g&t|i[f]&t&&(i[f]|=t),u&=~g}}function fM(e,t){var n=ju(t),i;switch(n){case Zs:i=Qd;break;case ws:i=zu;break;case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:case Zd:case Xb:case Qb:case Jb:case Zb:i=Dp;break;case Fu:i=Bp;break;default:i=wn;break}return(i&(e.suspendedLanes|t))!==wn?wn:i}function $C(e,t,n){if(ql)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=r1(n),f=1<<u,g=i[u];g.add(t),n&=~f}}function GC(e,t){if(ql)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=r1(t),f=1<<u,g=n[u];g.size>0&&(g.forEach(function(S){var C=S.alternate;(C===null||!i.has(C))&&i.add(S)}),g.clear()),t&=~f}}function KC(e,t){return null}var Vo=Jt,ec=Zs,tc=ws,nv=Fu,Pp=wn;function Yl(){return Pp}function Cn(e){Pp=e}function pM(e,t){var n=Pp;try{return Pp=e,t()}finally{Pp=n}}function hM(e,t){return e!==0&&e<t?e:t}function mM(e,t){return e===0||e>t?e:t}function o1(e,t){return e!==0&&e<t}function XC(e){var t=ju(e);return o1(Vo,t)?o1(ec,t)?t1(t)?tc:nv:ec:Vo}function ov(e){var t=e.current.memoizedState;return t.isDehydrated}var QC;function vM(e){QC=e}function gM(e){QC(e)}var i1;function _M(e){i1=e}var JC;function bM(e){JC=e}var ZC;function yM(e){ZC=e}var ex;function SM(e){ex=e}var l1=!1,iv=[],Fc=null,jc=null,Hc=null,Mp=new Map,zp=new Map,Uc=[],wM=["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 CM(e){return wM.indexOf(e)>-1}function xM(e,t,n,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]}}function tx(e,t){switch(e){case"focusin":case"focusout":Fc=null;break;case"dragenter":case"dragleave":jc=null;break;case"mouseover":case"mouseout":Hc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Mp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;zp.delete(i);break}}}function Fp(e,t,n,i,u,f){if(e===null||e.nativeEvent!==f){var g=xM(t,n,i,u,f);if(t!==null){var S=qc(t);S!==null&&i1(S)}return g}e.eventSystemFlags|=i;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function kM(e,t,n,i,u){switch(t){case"focusin":{var f=u;return Fc=Fp(Fc,e,t,n,i,f),!0}case"dragenter":{var g=u;return jc=Fp(jc,e,t,n,i,g),!0}case"mouseover":{var S=u;return Hc=Fp(Hc,e,t,n,i,S),!0}case"pointerover":{var C=u,D=C.pointerId;return Mp.set(D,Fp(Mp.get(D)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var B=u,Z=B.pointerId;return zp.set(Z,Fp(zp.get(Z)||null,e,t,n,i,B)),!0}}return!1}function rx(e){var t=Wu(e.target);if(t!==null){var n=Iu(t);if(n!==null){var i=n.tag;if(i===J){var u=TC(n);if(u!==null){e.blockedOn=u,ex(e.priority,function(){JC(n)});return}}else if(i===y){var f=n.stateNode;if(ov(f)){e.blockedOn=RC(n);return}}}}e.blockedOn=null}function TM(e){for(var t=ZC(),n={blockedOn:null,target:e,priority:t},i=0;i<Uc.length&&o1(t,Uc[i].priority);i++);Uc.splice(i,0,n),i===0&&rx(n)}function lv(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=u1(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,f=new u.constructor(u.type,u);JI(f),u.target.dispatchEvent(f),ZI()}else{var g=qc(i);return g!==null&&i1(g),e.blockedOn=i,!1}t.shift()}return!0}function ax(e,t,n){lv(e)&&n.delete(t)}function RM(){l1=!1,Fc!==null&&lv(Fc)&&(Fc=null),jc!==null&&lv(jc)&&(jc=null),Hc!==null&&lv(Hc)&&(Hc=null),Mp.forEach(ax),zp.forEach(ax)}function jp(e,t){e.blockedOn===t&&(e.blockedOn=null,l1||(l1=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,RM)))}function Hp(e){if(iv.length>0){jp(iv[0],e);for(var t=1;t<iv.length;t++){var n=iv[t];n.blockedOn===e&&(n.blockedOn=null)}}Fc!==null&&jp(Fc,e),jc!==null&&jp(jc,e),Hc!==null&&jp(Hc,e);var i=function(S){return jp(S,e)};Mp.forEach(i),zp.forEach(i);for(var u=0;u<Uc.length;u++){var f=Uc[u];f.blockedOn===e&&(f.blockedOn=null)}for(;Uc.length>0;){var g=Uc[0];if(g.blockedOn!==null)break;rx(g),g.blockedOn===null&&Uc.shift()}}var tf=o.ReactCurrentBatchConfig,s1=!0;function nx(e){s1=!!e}function EM(){return s1}function DM(e,t,n){var i=ox(t),u;switch(i){case Vo:u=AM;break;case ec:u=LM;break;case tc:default:u=c1;break}return u.bind(null,t,n,e)}function AM(e,t,n,i){var u=Yl(),f=tf.transition;tf.transition=null;try{Cn(Vo),c1(e,t,n,i)}finally{Cn(u),tf.transition=f}}function LM(e,t,n,i){var u=Yl(),f=tf.transition;tf.transition=null;try{Cn(ec),c1(e,t,n,i)}finally{Cn(u),tf.transition=f}}function c1(e,t,n,i){s1&&BM(e,t,n,i)}function BM(e,t,n,i){var u=u1(e,t,n,i);if(u===null){x1(e,t,i,sv,n),tx(e,i);return}if(kM(u,e,t,n,i)){i.stopPropagation();return}if(tx(e,i),t&Sp&&CM(e)){for(;u!==null;){var f=qc(u);f!==null&&gM(f);var g=u1(e,t,n,i);if(g===null&&x1(e,t,i,sv,n),g===u)break;u=g}u!==null&&i.stopPropagation();return}x1(e,t,i,null,n)}var sv=null;function u1(e,t,n,i){sv=null;var u=gb(i),f=Wu(u);if(f!==null){var g=Iu(f);if(g===null)f=null;else{var S=g.tag;if(S===J){var C=TC(g);if(C!==null)return C;f=null}else if(S===y){var D=g.stateNode;if(ov(D))return RC(g);f=null}else g!==f&&(f=null)}}return sv=f,null}function ox(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 Vo;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 ec;case"message":{var t=CP();switch(t){case Qm:return Vo;case Lb:return ec;case Pu:case xP:return tc;case Bb:return nv;default:return tc}}default:return tc}}function NM(e,t,n){return e.addEventListener(t,n,!1),n}function OM(e,t,n){return e.addEventListener(t,n,!0),n}function IM(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function PM(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Up=null,d1=null,Vp=null;function MM(e){return Up=e,d1=lx(),!0}function zM(){Up=null,d1=null,Vp=null}function ix(){if(Vp)return Vp;var e,t=d1,n=t.length,i,u=lx(),f=u.length;for(e=0;e<n&&t[e]===u[e];e++);var g=n-e;for(i=1;i<=g&&t[n-i]===u[f-i];i++);var S=i>1?1-i:void 0;return Vp=u.slice(e,S),Vp}function lx(){return"value"in Up?Up.value:Up.textContent}function cv(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function uv(){return!0}function sx(){return!1}function Wo(e){function t(n,i,u,f,g){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var C=e[S];C?this[S]=C(f):this[S]=f[S]}var D=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return D?this.isDefaultPrevented=uv:this.isDefaultPrevented=sx,this.isPropagationStopped=sx,this}return It(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=uv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=uv)},persist:function(){},isPersistent:uv}),t}var rf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},f1=Wo(rf),Wp=It({},rf,{view:0,detail:0}),FM=Wo(Wp),p1,h1,qp;function jM(e){e!==qp&&(qp&&e.type==="mousemove"?(p1=e.screenX-qp.screenX,h1=e.screenY-qp.screenY):(p1=0,h1=0),qp=e)}var dv=It({},Wp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:v1,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:(jM(e),p1)},movementY:function(e){return"movementY"in e?e.movementY:h1}}),cx=Wo(dv),HM=It({},dv,{dataTransfer:0}),UM=Wo(HM),VM=It({},Wp,{relatedTarget:0}),m1=Wo(VM),WM=It({},rf,{animationName:0,elapsedTime:0,pseudoElement:0}),qM=Wo(WM),YM=It({},rf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$M=Wo(YM),GM=It({},rf,{data:0}),ux=Wo(GM),KM=ux,XM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QM={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 JM(e){if(e.key){var t=XM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=cv(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?QM[e.keyCode]||"Unidentified":""}var ZM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ez(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=ZM[e];return i?!!n[i]:!1}function v1(e){return ez}var tz=It({},Wp,{key:JM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:v1,charCode:function(e){return e.type==="keypress"?cv(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cv(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),rz=Wo(tz),az=It({},dv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dx=Wo(az),nz=It({},Wp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:v1}),oz=Wo(nz),iz=It({},rf,{propertyName:0,elapsedTime:0,pseudoElement:0}),lz=Wo(iz),sz=It({},dv,{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}),cz=Wo(sz),uz=[9,13,27,32],fx=229,g1=Rt&&"CompositionEvent"in window,Yp=null;Rt&&"documentMode"in document&&(Yp=document.documentMode);var dz=Rt&&"TextEvent"in window&&!Yp,px=Rt&&(!g1||Yp&&Yp>8&&Yp<=11),hx=32,mx=String.fromCharCode(hx);function fz(){it("onBeforeInput",["compositionend","keypress","textInput","paste"]),it("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),it("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),it("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var vx=!1;function pz(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function hz(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function mz(e,t){return e==="keydown"&&t.keyCode===fx}function gx(e,t){switch(e){case"keyup":return uz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==fx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _x(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function bx(e){return e.locale==="ko"}var af=!1;function vz(e,t,n,i,u){var f,g;if(g1?f=hz(t):af?gx(t,i)&&(f="onCompositionEnd"):mz(t,i)&&(f="onCompositionStart"),!f)return null;px&&!bx(i)&&(!af&&f==="onCompositionStart"?af=MM(u):f==="onCompositionEnd"&&af&&(g=ix()));var S=vv(n,f);if(S.length>0){var C=new ux(f,t,null,i,u);if(e.push({event:C,listeners:S}),g)C.data=g;else{var D=_x(i);D!==null&&(C.data=D)}}}function gz(e,t){switch(e){case"compositionend":return _x(t);case"keypress":var n=t.which;return n!==hx?null:(vx=!0,mx);case"textInput":var i=t.data;return i===mx&&vx?null:i;default:return null}}function _z(e,t){if(af){if(e==="compositionend"||!g1&&gx(e,t)){var n=ix();return zM(),af=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!pz(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return px&&!bx(t)?null:t.data;default:return null}}function bz(e,t,n,i,u){var f;if(dz?f=gz(t,i):f=_z(t,i),!f)return null;var g=vv(n,"onBeforeInput");if(g.length>0){var S=new KM("onBeforeInput","beforeinput",null,i,u);e.push({event:S,listeners:g}),S.data=f}}function yz(e,t,n,i,u,f,g){vz(e,t,n,i,u),bz(e,t,n,i,u)}var Sz={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 yx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Sz[e.type]:t==="textarea"}function wz(e){if(!Rt)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function Cz(){it("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Sx(e,t,n,i){_C(i);var u=vv(t,"onChange");if(u.length>0){var f=new f1("onChange","change",null,n,i);e.push({event:f,listeners:u})}}var $p=null,Gp=null;function xz(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function kz(e){var t=[];Sx(t,Gp,e,gb(e)),wC(Tz,t)}function Tz(e){Fx(e,0)}function fv(e){var t=uf(e);if(zd(t))return e}function Rz(e,t){if(e==="change")return t}var wx=!1;Rt&&(wx=wz("input")&&(!document.documentMode||document.documentMode>9));function Ez(e,t){$p=e,Gp=t,$p.attachEvent("onpropertychange",xx)}function Cx(){$p&&($p.detachEvent("onpropertychange",xx),$p=null,Gp=null)}function xx(e){e.propertyName==="value"&&fv(Gp)&&kz(e)}function Dz(e,t,n){e==="focusin"?(Cx(),Ez(t,n)):e==="focusout"&&Cx()}function Az(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fv(Gp)}function Lz(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Bz(e,t){if(e==="click")return fv(t)}function Nz(e,t){if(e==="input"||e==="change")return fv(t)}function Oz(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Yr(e,"number",e.value)}function Iz(e,t,n,i,u,f,g){var S=n?uf(n):window,C,D;if(xz(S)?C=Rz:yx(S)?wx?C=Nz:(C=Az,D=Dz):Lz(S)&&(C=Bz),C){var B=C(t,n);if(B){Sx(e,B,i,u);return}}D&&D(t,S,n),t==="focusout"&&Oz(S)}function Pz(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function Mz(e,t,n,i,u,f,g){var S=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(S&&!eP(i)){var D=i.relatedTarget||i.fromElement;if(D&&(Wu(D)||ch(D)))return}if(!(!C&&!S)){var B;if(u.window===u)B=u;else{var Z=u.ownerDocument;Z?B=Z.defaultView||Z.parentWindow:B=window}var Q,_e;if(C){var be=i.relatedTarget||i.toElement;if(Q=n,_e=be?Wu(be):null,_e!==null){var Re=Iu(_e);(_e!==Re||_e.tag!==w&&_e.tag!==R)&&(_e=null)}}else Q=null,_e=n;if(Q!==_e){var ot=cx,Ot="onMouseLeave",Tt="onMouseEnter",vr="mouse";(t==="pointerout"||t==="pointerover")&&(ot=dx,Ot="onPointerLeave",Tt="onPointerEnter",vr="pointer");var gr=Q==null?B:uf(Q),de=_e==null?B:uf(_e),Ae=new ot(Ot,vr+"leave",Q,i,u);Ae.target=gr,Ae.relatedTarget=de;var fe=null,Xe=Wu(u);if(Xe===n){var ht=new ot(Tt,vr+"enter",_e,i,u);ht.target=de,ht.relatedTarget=gr,fe=ht}lF(e,Ae,fe,Q,_e)}}}function zz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qo=typeof Object.is=="function"?Object.is:zz;function Kp(e,t){if(qo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++){var f=n[u];if(!Ut.call(t,f)||!qo(e[f],t[f]))return!1}return!0}function kx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fz(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Tx(e,t){for(var n=kx(e),i=0,u=0;n;){if(n.nodeType===$s){if(u=i+n.textContent.length,i<=t&&u>=t)return{node:n,offset:t-i};i=u}n=kx(Fz(n))}}function jz(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,f=i.anchorOffset,g=i.focusNode,S=i.focusOffset;try{u.nodeType,g.nodeType}catch(C){return null}return Hz(e,u,f,g,S)}function Hz(e,t,n,i,u){var f=0,g=-1,S=-1,C=0,D=0,B=e,Z=null;e:for(;;){for(var Q=null;B===t&&(n===0||B.nodeType===$s)&&(g=f+n),B===i&&(u===0||B.nodeType===$s)&&(S=f+u),B.nodeType===$s&&(f+=B.nodeValue.length),(Q=B.firstChild)!==null;)Z=B,B=Q;for(;;){if(B===e)break e;if(Z===t&&++C===n&&(g=f),Z===i&&++D===u&&(S=f),(Q=B.nextSibling)!==null)break;B=Z,Z=B.parentNode}B=Q}return g===-1||S===-1?null:{start:g,end:S}}function Uz(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var u=i.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),S=t.end===void 0?g:Math.min(t.end,f);if(!u.extend&&g>S){var C=S;S=g,g=C}var D=Tx(e,g),B=Tx(e,S);if(D&&B){if(u.rangeCount===1&&u.anchorNode===D.node&&u.anchorOffset===D.offset&&u.focusNode===B.node&&u.focusOffset===B.offset)return;var Z=n.createRange();Z.setStart(D.node,D.offset),u.removeAllRanges(),g>S?(u.addRange(Z),u.extend(B.node,B.offset)):(Z.setEnd(B.node,B.offset),u.addRange(Z))}}}function Rx(e){return e&&e.nodeType===$s}function Ex(e,t){return!e||!t?!1:e===t?!0:Rx(e)?!1:Rx(t)?Ex(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Vz(e){return e&&e.ownerDocument&&Ex(e.ownerDocument.documentElement,e)}function Wz(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function Dx(){for(var e=window,t=Fd();t instanceof e.HTMLIFrameElement;){if(Wz(t))e=t.contentWindow;else return t;t=Fd(e.document)}return t}function _1(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 qz(){var e=Dx();return{focusedElem:e,selectionRange:_1(e)?$z(e):null}}function Yz(e){var t=Dx(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Vz(n)){i!==null&&_1(n)&&Gz(n,i);for(var u=[],f=n;f=f.parentNode;)f.nodeType===xo&&u.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<u.length;g++){var S=u[g];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function $z(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=jz(e),t||{start:0,end:0}}function Gz(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):Uz(e,t)}var Kz=Rt&&"documentMode"in document&&document.documentMode<=11;function Xz(){it("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var nf=null,b1=null,Xp=null,y1=!1;function Qz(e){if("selectionStart"in e&&_1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function Jz(e){return e.window===e?e.document:e.nodeType===Gs?e:e.ownerDocument}function Ax(e,t,n){var i=Jz(n);if(!(y1||nf==null||nf!==Fd(i))){var u=Qz(nf);if(!Xp||!Kp(Xp,u)){Xp=u;var f=vv(b1,"onSelect");if(f.length>0){var g=new f1("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=nf}}}}function Zz(e,t,n,i,u,f,g){var S=n?uf(n):window;switch(t){case"focusin":(yx(S)||S.contentEditable==="true")&&(nf=S,b1=n,Xp=null);break;case"focusout":nf=null,b1=null,Xp=null;break;case"mousedown":y1=!0;break;case"contextmenu":case"mouseup":case"dragend":y1=!1,Ax(e,i,u);break;case"selectionchange":if(Kz)break;case"keydown":case"keyup":Ax(e,i,u)}}function pv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var of={animationend:pv("Animation","AnimationEnd"),animationiteration:pv("Animation","AnimationIteration"),animationstart:pv("Animation","AnimationStart"),transitionend:pv("Transition","TransitionEnd")},S1={},Lx={};Rt&&(Lx=document.createElement("div").style,"AnimationEvent"in window||(delete of.animationend.animation,delete of.animationiteration.animation,delete of.animationstart.animation),"TransitionEvent"in window||delete of.transitionend.transition);function hv(e){if(S1[e])return S1[e];if(!of[e])return e;var t=of[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Lx)return S1[e]=t[n];return e}var Bx=hv("animationend"),Nx=hv("animationiteration"),Ox=hv("animationstart"),Ix=hv("transitionend"),Px=new Map,Mx=["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 Vc(e,t){Px.set(e,t),it(t,[e])}function eF(){for(var e=0;e<Mx.length;e++){var t=Mx[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Vc(n,"on"+i)}Vc(Bx,"onAnimationEnd"),Vc(Nx,"onAnimationIteration"),Vc(Ox,"onAnimationStart"),Vc("dblclick","onDoubleClick"),Vc("focusin","onFocus"),Vc("focusout","onBlur"),Vc(Ix,"onTransitionEnd")}function tF(e,t,n,i,u,f,g){var S=Px.get(t);if(S!==void 0){var C=f1,D=t;switch(t){case"keypress":if(cv(i)===0)return;case"keydown":case"keyup":C=rz;break;case"focusin":D="focus",C=m1;break;case"focusout":D="blur",C=m1;break;case"beforeblur":case"afterblur":C=m1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=cx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=UM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=oz;break;case Bx:case Nx:case Ox:C=qM;break;case Ix:C=lz;break;case"scroll":C=FM;break;case"wheel":C=cz;break;case"copy":case"cut":case"paste":C=$M;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=dx;break}var B=(f&Sp)!==0;{var Z=!B&&t==="scroll",Q=oF(n,S,i.type,B,Z);if(Q.length>0){var _e=new C(S,D,null,i,u);e.push({event:_e,listeners:Q})}}}}eF(),Pz(),Cz(),Xz(),fz();function rF(e,t,n,i,u,f,g){tF(e,t,n,i,u,f);var S=(f&QI)===0;S&&(Mz(e,t,n,i,u),Iz(e,t,n,i,u),Zz(e,t,n,i,u),yz(e,t,n,i,u))}var Qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],w1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Qp));function zx(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,cP(i,t,void 0,e),e.currentTarget=null}function aF(e,t,n){var i;if(n)for(var u=t.length-1;u>=0;u--){var f=t[u],g=f.instance,S=f.currentTarget,C=f.listener;if(g!==i&&e.isPropagationStopped())return;zx(e,C,S),i=g}else for(var D=0;D<t.length;D++){var B=t[D],Z=B.instance,Q=B.currentTarget,_e=B.listener;if(Z!==i&&e.isPropagationStopped())return;zx(e,_e,Q),i=Z}}function Fx(e,t){for(var n=(t&Sp)!==0,i=0;i<e.length;i++){var u=e[i],f=u.event,g=u.listeners;aF(f,g,n)}uP()}function nF(e,t,n,i,u){var f=gb(n),g=[];rF(g,e,i,n,f,t),Fx(g,t)}function Ca(e,t){w1.has(e)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=O9(t),u=sF(e,n);i.has(u)||(jx(t,e,vb,n),i.add(u))}function C1(e,t,n){w1.has(e)&&!t&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=Sp),jx(n,e,i,t)}var mv="_reactListening"+Math.random().toString(36).slice(2);function Jp(e){if(!e[mv]){e[mv]=!0,pt.forEach(function(n){n!=="selectionchange"&&(w1.has(n)||C1(n,!1,e),C1(n,!0,e))});var t=e.nodeType===Gs?e:e.ownerDocument;t!==null&&(t[mv]||(t[mv]=!0,C1("selectionchange",!1,t)))}}function jx(e,t,n,i,u){var f=DM(e,t,n),g=void 0;yb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var S;i?g!==void 0?S=IM(e,t,f,g):S=OM(e,t,f):g!==void 0?S=PM(e,t,f,g):S=NM(e,t,f)}function Hx(e,t){return e===t||e.nodeType===Ja&&e.parentNode===t}function x1(e,t,n,i,u){var f=i;if(!(t&vC)&&!(t&vb)){var g=u;if(i!==null){var S=i;e:for(;;){if(S===null)return;var C=S.tag;if(C===y||C===x){var D=S.stateNode.containerInfo;if(Hx(D,g))break;if(C===x)for(var B=S.return;B!==null;){var Z=B.tag;if(Z===y||Z===x){var Q=B.stateNode.containerInfo;if(Hx(Q,g))return}B=B.return}for(;D!==null;){var _e=Wu(D);if(_e===null)return;var be=_e.tag;if(be===w||be===R){S=f=_e;continue e}D=D.parentNode}}S=S.return}}}wC(function(){return nF(e,t,n,f)})}function Zp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function oF(e,t,n,i,u,f){for(var g=t!==null?t+"Capture":null,S=i?g:t,C=[],D=e,B=null;D!==null;){var Z=D,Q=Z.stateNode,_e=Z.tag;if(_e===w&&Q!==null&&(B=Q,S!==null)){var be=Cp(D,S);be!=null&&C.push(Zp(D,be,B))}if(u)break;D=D.return}return C}function vv(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var f=u,g=f.stateNode,S=f.tag;if(S===w&&g!==null){var C=g,D=Cp(u,n);D!=null&&i.unshift(Zp(u,D,C));var B=Cp(u,t);B!=null&&i.push(Zp(u,B,C))}u=u.return}return i}function lf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function iF(e,t){for(var n=e,i=t,u=0,f=n;f;f=lf(f))u++;for(var g=0,S=i;S;S=lf(S))g++;for(;u-g>0;)n=lf(n),u--;for(;g-u>0;)i=lf(i),g--;for(var C=u;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=lf(n),i=lf(i)}return null}function Ux(e,t,n,i,u){for(var f=t._reactName,g=[],S=n;S!==null&&S!==i;){var C=S,D=C.alternate,B=C.stateNode,Z=C.tag;if(D!==null&&D===i)break;if(Z===w&&B!==null){var Q=B;if(u){var _e=Cp(S,f);_e!=null&&g.unshift(Zp(S,_e,Q))}else if(!u){var be=Cp(S,f);be!=null&&g.push(Zp(S,be,Q))}}S=S.return}g.length!==0&&e.push({event:t,listeners:g})}function lF(e,t,n,i,u){var f=i&&u?iF(i,u):null;i!==null&&Ux(e,t,i,f,!1),u!==null&&n!==null&&Ux(e,n,u,f,!0)}function sF(e,t){return e+"__"+(t?"capture":"bubble")}var ko=!1,eh="dangerouslySetInnerHTML",gv="suppressContentEditableWarning",Wc="suppressHydrationWarning",Vx="autoFocus",Uu="children",Vu="style",_v="__html",k1,bv,th,Wx,yv,qx,Yx;k1={dialog:!0,webview:!0},bv=function(e,t){WI(e,t),qI(e,t),XI(e,t,{registrationNameDependencies:kt,possibleRegistrationNames:vt})},qx=Rt&&!document.documentMode,th=function(e,t,n){if(!ko){var i=Sv(n),u=Sv(t);u!==i&&(ko=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},Wx=function(e){if(!ko){ko=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},yv=function(e,t){t===!1?c("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):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Yx=function(e,t){var n=e.namespaceURI===Ys?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var cF=/\r\n?/g,uF=/\u0000|\uFFFD/g;function Sv(e){Kr(e);var t=typeof e=="string"?e:""+e;return t.replace(cF,`
|
|
32
|
-
`).replace(uF,"")}function wv(e,t,n,i){var u=Sv(t),f=Sv(e);if(f!==u&&(i&&(ko||(ko=!0,c('Text content did not match. Server: "%s" Client: "%s"',f,u))),n&&$))throw new Error("Text content does not match server-rendered HTML.")}function $x(e){return e.nodeType===Gs?e:e.ownerDocument}function dF(){}function Cv(e){e.onclick=dF}function fF(e,t,n,i,u){for(var f in i)if(i.hasOwnProperty(f)){var g=i[f];if(f===Vu)g&&Object.freeze(g),uC(t,g);else if(f===eh){var S=g?g[_v]:void 0;S!=null&&oC(t,S)}else if(f===Uu)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&qm(t,g)}else typeof g=="number"&&qm(t,""+g);else f===gv||f===Wc||f===Vx||(kt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&yv(f,g),f==="onScroll"&&Ca("scroll",t)):g!=null&&z(t,f,g,u))}}function pF(e,t,n,i){for(var u=0;u<t.length;u+=2){var f=t[u],g=t[u+1];f===Vu?uC(e,g):f===eh?oC(e,g):f===Uu?qm(e,g):z(e,f,g,i)}}function hF(e,t,n,i){var u,f=$x(n),g,S=i;if(S===Ys&&(S=ub(e)),S===Ys){if(u=Au(e,t),!u&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=f.createElement("div");C.innerHTML="<script></script>";var D=C.firstChild;g=C.removeChild(D)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var B=g;t.multiple?B.multiple=!0:t.size&&(B.size=t.size)}}else g=f.createElementNS(S,e);return S===Ys&&!u&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!Ut.call(k1,e)&&(k1[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function mF(e,t){return $x(t).createTextNode(e)}function vF(e,t,n,i){var u=Au(t,n);bv(t,n);var f;switch(t){case"dialog":Ca("cancel",e),Ca("close",e),f=n;break;case"iframe":case"object":case"embed":Ca("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Qp.length;g++)Ca(Qp[g],e);f=n;break;case"source":Ca("error",e),f=n;break;case"img":case"image":case"link":Ca("error",e),Ca("load",e),f=n;break;case"details":Ca("toggle",e),f=n;break;case"input":De(e,n),f=ve(e,n),Ca("invalid",e);break;case"option":Ba(e,n),f=n;break;case"select":eC(e,n),f=bp(e,n),Ca("invalid",e);break;case"textarea":rC(e,n),f=sb(e,n),Ca("invalid",e);break;default:f=n}switch(mb(t,f),fF(t,e,i,f,u),t){case"input":Mc(e),xt(e,n,!1);break;case"textarea":Mc(e),nC(e);break;case"option":on(e,n);break;case"select":fI(e,n);break;default:typeof f.onClick=="function"&&Cv(e);break}}function gF(e,t,n,i,u){bv(t,i);var f=null,g,S;switch(t){case"input":g=ve(e,n),S=ve(e,i),f=[];break;case"select":g=bp(e,n),S=bp(e,i),f=[];break;case"textarea":g=sb(e,n),S=sb(e,i),f=[];break;default:g=n,S=i,typeof g.onClick!="function"&&typeof S.onClick=="function"&&Cv(e);break}mb(t,S);var C,D,B=null;for(C in g)if(!(S.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Vu){var Z=g[C];for(D in Z)Z.hasOwnProperty(D)&&(B||(B={}),B[D]="")}else C===eh||C===Uu||C===gv||C===Wc||C===Vx||(kt.hasOwnProperty(C)?f||(f=[]):(f=f||[]).push(C,null));for(C in S){var Q=S[C],_e=g!=null?g[C]:void 0;if(!(!S.hasOwnProperty(C)||Q===_e||Q==null&&_e==null))if(C===Vu)if(Q&&Object.freeze(Q),_e){for(D in _e)_e.hasOwnProperty(D)&&(!Q||!Q.hasOwnProperty(D))&&(B||(B={}),B[D]="");for(D in Q)Q.hasOwnProperty(D)&&_e[D]!==Q[D]&&(B||(B={}),B[D]=Q[D])}else B||(f||(f=[]),f.push(C,B)),B=Q;else if(C===eh){var be=Q?Q[_v]:void 0,Re=_e?_e[_v]:void 0;be!=null&&Re!==be&&(f=f||[]).push(C,be)}else C===Uu?(typeof Q=="string"||typeof Q=="number")&&(f=f||[]).push(C,""+Q):C===gv||C===Wc||(kt.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&yv(C,Q),C==="onScroll"&&Ca("scroll",e)),!f&&_e!==Q&&(f=[])):(f=f||[]).push(C,Q))}return B&&(PI(B,S[Vu]),(f=f||[]).push(Vu,B)),f}function _F(e,t,n,i,u){n==="input"&&u.type==="radio"&&u.name!=null&&et(e,u);var f=Au(n,i),g=Au(n,u);switch(pF(e,t,f,g),n){case"input":Mt(e,u);break;case"textarea":aC(e,u);break;case"select":pI(e,u);break}}function bF(e){{var t=e.toLowerCase();return Ym.hasOwnProperty(t)&&Ym[t]||null}}function yF(e,t,n,i,u,f,g){var S,C;switch(S=Au(t,n),bv(t,n),t){case"dialog":Ca("cancel",e),Ca("close",e);break;case"iframe":case"object":case"embed":Ca("load",e);break;case"video":case"audio":for(var D=0;D<Qp.length;D++)Ca(Qp[D],e);break;case"source":Ca("error",e);break;case"img":case"image":case"link":Ca("error",e),Ca("load",e);break;case"details":Ca("toggle",e);break;case"input":De(e,n),Ca("invalid",e);break;case"option":Ba(e,n);break;case"select":eC(e,n),Ca("invalid",e);break;case"textarea":rC(e,n),Ca("invalid",e);break}mb(t,n);{C=new Set;for(var B=e.attributes,Z=0;Z<B.length;Z++){var Q=B[Z].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(B[Z].name)}}}var _e=null;for(var be in n)if(n.hasOwnProperty(be)){var Re=n[be];if(be===Uu)typeof Re=="string"?e.textContent!==Re&&(n[Wc]!==!0&&wv(e.textContent,Re,f,g),_e=[Uu,Re]):typeof Re=="number"&&e.textContent!==""+Re&&(n[Wc]!==!0&&wv(e.textContent,Re,f,g),_e=[Uu,""+Re]);else if(kt.hasOwnProperty(be))Re!=null&&(typeof Re!="function"&&yv(be,Re),be==="onScroll"&&Ca("scroll",e));else if(g&&typeof S=="boolean"){var ot=void 0,Ot=S&&Ie?null:te(be);if(n[Wc]!==!0){if(!(be===gv||be===Wc||be==="value"||be==="checked"||be==="selected")){if(be===eh){var Tt=e.innerHTML,vr=Re?Re[_v]:void 0;if(vr!=null){var gr=Yx(e,vr);gr!==Tt&&th(be,Tt,gr)}}else if(be===Vu){if(C.delete(be),qx){var de=OI(Re);ot=e.getAttribute("style"),de!==ot&&th(be,ot,de)}}else if(S&&!Ie)C.delete(be.toLowerCase()),ot=tt(e,be,Re),Re!==ot&&th(be,ot,Re);else if(!_r(be,Ot,S)&&!O(be,Re,Ot,S)){var Ae=!1;if(Ot!==null)C.delete(Ot.attributeName),ot=Ne(e,be,Re,Ot);else{var fe=i;if(fe===Ys&&(fe=ub(t)),fe===Ys)C.delete(be.toLowerCase());else{var Xe=bF(be);Xe!==null&&Xe!==be&&(Ae=!0,C.delete(Xe)),C.delete(be)}ot=tt(e,be,Re)}var ht=Ie;!ht&&Re!==ot&&!Ae&&th(be,ot,Re)}}}}}switch(g&&C.size>0&&n[Wc]!==!0&&Wx(C),t){case"input":Mc(e),xt(e,n,!0);break;case"textarea":Mc(e),nC(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&Cv(e);break}return _e}function SF(e,t,n){var i=e.nodeValue!==t;return i}function T1(e,t){{if(ko)return;ko=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function R1(e,t){{if(ko)return;ko=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function E1(e,t,n){{if(ko)return;ko=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function D1(e,t){{if(t===""||ko)return;ko=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function wF(e,t,n){switch(t){case"input":nr(e,n);return;case"textarea":mI(e,n);return;case"select":hI(e,n);return}}var rh=function(){},ah=function(){};{var CF=["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"],Gx=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xF=Gx.concat(["button"]),kF=["dd","dt","li","option","optgroup","p","rp","rt"],Kx={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ah=function(e,t){var n=It({},e||Kx),i={tag:t};return Gx.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),xF.indexOf(t)!==-1&&(n.pTagInButtonScope=null),CF.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var TF=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 kF.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},RF=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},Xx={};rh=function(e,t,n){n=n||Kx;var i=n.current,u=i&&i.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var f=TF(e,u)?null:i,g=f?null:RF(e,n),S=f||g;if(S){var C=S.tag,D=!!f+"|"+e+"|"+C;if(!Xx[D]){Xx[D]=!0;var B=e,Z="";if(e==="#text"?/\S/.test(t)?B="Text nodes":(B="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+e+">",f){var Q="";C==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,C,Z,Q)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,C)}}}}var xv="suppressHydrationWarning",kv="$",Tv="/$",nh="$?",oh="$!",EF="style",A1=null,L1=null;function DF(e){var t,n,i=e.nodeType;switch(i){case Gs:case fb:{t=i===Gs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:db(null,"");break}default:{var f=i===Ja?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=db(g,t);break}}{var S=t.toLowerCase(),C=ah(null,S);return{namespace:n,ancestorInfo:C}}}function AF(e,t,n){{var i=e,u=db(i.namespace,t),f=ah(i.ancestorInfo,t);return{namespace:u,ancestorInfo:f}}}function cG(e){return e}function LF(e){A1=EM(),L1=qz();var t=null;return nx(!1),t}function BF(e){Yz(L1),nx(A1),A1=null,L1=null}function NF(e,t,n,i,u){var f;{var g=i;if(rh(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,C=ah(g.ancestorInfo,e);rh(null,S,C)}f=g.namespace}var D=hF(e,t,n,f);return sh(u,D),F1(D,t),D}function OF(e,t){e.appendChild(t)}function IF(e,t,n,i,u){switch(vF(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function PF(e,t,n,i,u,f){{var g=f;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var S=""+i.children,C=ah(g.ancestorInfo,t);rh(null,S,C)}}return gF(e,t,n,i)}function B1(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 MF(e,t,n,i){{var u=n;rh(null,e,u.ancestorInfo)}var f=mF(e,t);return sh(i,f),f}function zF(){var e=window.event;return e===void 0?tc:ox(e.type)}var N1=typeof setTimeout=="function"?setTimeout:void 0,FF=typeof clearTimeout=="function"?clearTimeout:void 0,O1=-1,Qx=typeof Promise=="function"?Promise:void 0,jF=typeof queueMicrotask=="function"?queueMicrotask:typeof Qx!="undefined"?function(e){return Qx.resolve(null).then(e).catch(HF)}:N1;function HF(e){setTimeout(function(){throw e})}function UF(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function VF(e,t,n,i,u,f){_F(e,t,n,i,u),F1(e,u)}function Jx(e){qm(e,"")}function WF(e,t,n){e.nodeValue=n}function qF(e,t){e.appendChild(t)}function YF(e,t){var n;e.nodeType===Ja?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&Cv(n)}function $F(e,t,n){e.insertBefore(t,n)}function GF(e,t,n){e.nodeType===Ja?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function KF(e,t){e.removeChild(t)}function XF(e,t){e.nodeType===Ja?e.parentNode.removeChild(t):e.removeChild(t)}function I1(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Ja){var f=u.data;if(f===Tv)if(i===0){e.removeChild(u),Hp(t);return}else i--;else(f===kv||f===nh||f===oh)&&i++}n=u}while(n);Hp(t)}function QF(e,t){e.nodeType===Ja?I1(e.parentNode,t):e.nodeType===xo&&I1(e,t),Hp(e)}function JF(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function ZF(e){e.nodeValue=""}function e9(e,t){e=e;var n=t[EF],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=pb("display",i)}function t9(e,t){e.nodeValue=t}function r9(e){e.nodeType===xo?e.textContent="":e.nodeType===Gs&&e.documentElement&&e.removeChild(e.documentElement)}function a9(e,t,n){return e.nodeType!==xo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function n9(e,t){return t===""||e.nodeType!==$s?null:e}function o9(e){return e.nodeType!==Ja?null:e}function Zx(e){return e.data===nh}function P1(e){return e.data===oh}function i9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,u;return t&&(n=t.dgst,i=t.msg,u=t.stck),{message:i,digest:n,stack:u}}function l9(e,t){e._reactRetry=t}function Rv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===xo||t===$s)break;if(t===Ja){var n=e.data;if(n===kv||n===oh||n===nh)break;if(n===Tv)return null}}return e}function ih(e){return Rv(e.nextSibling)}function s9(e){return Rv(e.firstChild)}function c9(e){return Rv(e.firstChild)}function u9(e){return Rv(e.nextSibling)}function d9(e,t,n,i,u,f,g){sh(f,e),F1(e,n);var S;{var C=u;S=C.namespace}var D=(f.mode&br)!==Pt;return yF(e,t,n,S,i,D,g)}function f9(e,t,n,i){sh(n,e);var u=(n.mode&br)!==Pt;return SF(e,t)}function p9(e,t){sh(t,e)}function h9(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===Tv){if(n===0)return ih(t);n--}else(i===kv||i===oh||i===nh)&&n++}t=t.nextSibling}return null}function e3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===kv||i===oh||i===nh){if(n===0)return t;n--}else i===Tv&&n++}t=t.previousSibling}return null}function m9(e){Hp(e)}function v9(e){Hp(e)}function g9(e){return e!=="head"&&e!=="body"}function _9(e,t,n,i){var u=!0;wv(t.nodeValue,n,i,u)}function b9(e,t,n,i,u,f){if(t[xv]!==!0){var g=!0;wv(i.nodeValue,u,f,g)}}function y9(e,t){t.nodeType===xo?T1(e,t):t.nodeType===Ja||R1(e,t)}function S9(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===xo?T1(n,t):t.nodeType===Ja||R1(n,t))}}function w9(e,t,n,i,u){(u||t[xv]!==!0)&&(i.nodeType===xo?T1(n,i):i.nodeType===Ja||R1(n,i))}function C9(e,t,n){E1(e,t)}function x9(e,t){D1(e,t)}function k9(e,t,n){{var i=e.parentNode;i!==null&&E1(i,t)}}function T9(e,t){{var n=e.parentNode;n!==null&&D1(n,t)}}function R9(e,t,n,i,u,f){(f||t[xv]!==!0)&&E1(n,i)}function E9(e,t,n,i,u){(u||t[xv]!==!0)&&D1(n,i)}function D9(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function A9(e){Jp(e)}var sf=Math.random().toString(36).slice(2),cf="__reactFiber$"+sf,M1="__reactProps$"+sf,lh="__reactContainer$"+sf,z1="__reactEvents$"+sf,L9="__reactListeners$"+sf,B9="__reactHandles$"+sf;function N9(e){delete e[cf],delete e[M1],delete e[z1],delete e[L9],delete e[B9]}function sh(e,t){t[cf]=e}function Ev(e,t){t[lh]=e}function t3(e){e[lh]=null}function ch(e){return!!e[lh]}function Wu(e){var t=e[cf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[lh]||n[cf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=e3(e);u!==null;){var f=u[cf];if(f)return f;u=e3(u)}return t}e=n,n=e.parentNode}return null}function qc(e){var t=e[cf]||e[lh];return t&&(t.tag===w||t.tag===R||t.tag===J||t.tag===y)?t:null}function uf(e){if(e.tag===w||e.tag===R)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Dv(e){return e[M1]||null}function F1(e,t){e[M1]=t}function O9(e){var t=e[z1];return t===void 0&&(t=e[z1]=new Set),t}var r3={},a3=o.ReactDebugCurrentFrame;function Av(e){if(e){var t=e._owner,n=Nd(e.type,e._source,t?t.type:null);a3.setExtraStackFrame(n)}else a3.setExtraStackFrame(null)}function $l(e,t,n,i,u){{var f=Function.call.bind(Ut);for(var g in e)if(f(e,g)){var S=void 0;try{if(typeof e[g]!="function"){var C=Error((i||"React class")+": "+n+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}S=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(D){S=D}S&&!(S instanceof Error)&&(Av(u),c("%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).",i||"React class",n,g,typeof S),Av(null)),S instanceof Error&&!(S.message in r3)&&(r3[S.message]=!0,Av(u),c("Failed %s type: %s",n,S.message),Av(null))}}}var j1=[],Lv;Lv=[];var rc=-1;function Yc(e){return{current:e}}function Un(e,t){if(rc<0){c("Unexpected pop.");return}t!==Lv[rc]&&c("Unexpected Fiber popped."),e.current=j1[rc],j1[rc]=null,Lv[rc]=null,rc--}function Vn(e,t,n){rc++,j1[rc]=e.current,Lv[rc]=n,e.current=t}var H1;H1={};var Yo={};Object.freeze(Yo);var ac=Yc(Yo),Cs=Yc(!1),U1=Yo;function df(e,t,n){return n&&xs(t)?U1:ac.current}function n3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function ff(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Yo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={};for(var g in i)f[g]=t[g];{var S=or(e)||"Unknown";$l(i,f,"context",S)}return u&&n3(e,t,f),f}}function Bv(){return Cs.current}function xs(e){{var t=e.childContextTypes;return t!=null}}function Nv(e){Un(Cs,e),Un(ac,e)}function V1(e){Un(Cs,e),Un(ac,e)}function o3(e,t,n){{if(ac.current!==Yo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Vn(ac,t,e),Vn(Cs,n,e)}}function i3(e,t,n){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var f=or(e)||"Unknown";H1[f]||(H1[f]=!0,c("%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.",f,f))}return n}var g=i.getChildContext();for(var S in g)if(!(S in u))throw new Error((or(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var C=or(e)||"Unknown";$l(u,g,"child context",C)}return It({},n,g)}}function Ov(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Yo;return U1=ac.current,Vn(ac,n,e),Vn(Cs,Cs.current,e),!0}}function l3(e,t,n){{var i=e.stateNode;if(!i)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(n){var u=i3(e,t,U1);i.__reactInternalMemoizedMergedChildContext=u,Un(Cs,e),Un(ac,e),Vn(ac,u,e),Vn(Cs,n,e)}else Un(Cs,e),Vn(Cs,n,e)}}function I9(e){{if(!gP(e)||e.tag!==v)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 y:return t.stateNode.context;case v:{var n=t.type;if(xs(n))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 $c=0,Iv=1,nc=null,W1=!1,q1=!1;function s3(e){nc===null?nc=[e]:nc.push(e)}function P9(e){W1=!0,s3(e)}function c3(){W1&&Gc()}function Gc(){if(!q1&&nc!==null){q1=!0;var e=0,t=Yl();try{var n=!0,i=nc;for(Cn(Vo);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}nc=null,W1=!1}catch(f){throw nc!==null&&(nc=nc.slice(e+1)),NC(Qm,Gc),f}finally{Cn(t),q1=!1}}return null}var pf=[],hf=0,Pv=null,Mv=0,Cl=[],xl=0,qu=null,oc=1,ic="";function M9(e){return $u(),(e.flags&kC)!==Vt}function z9(e){return $u(),Mv}function F9(){var e=ic,t=oc,n=t&~j9(t);return n.toString(32)+e}function Yu(e,t){$u(),pf[hf++]=Mv,pf[hf++]=Pv,Pv=e,Mv=t}function u3(e,t,n){$u(),Cl[xl++]=oc,Cl[xl++]=ic,Cl[xl++]=qu,qu=e;var i=oc,u=ic,f=zv(i)-1,g=i&~(1<<f),S=n+1,C=zv(t)+f;if(C>30){var D=f-f%5,B=(1<<D)-1,Z=(g&B).toString(32),Q=g>>D,_e=f-D,be=zv(t)+_e,Re=S<<_e,ot=Re|Q,Ot=Z+u;oc=1<<be|ot,ic=Ot}else{var Tt=S<<f,vr=Tt|g,gr=u;oc=1<<C|vr,ic=gr}}function Y1(e){$u();var t=e.return;if(t!==null){var n=1,i=0;Yu(e,n),u3(e,n,i)}}function zv(e){return 32-FC(e)}function j9(e){return 1<<zv(e)-1}function $1(e){for(;e===Pv;)Pv=pf[--hf],pf[hf]=null,Mv=pf[--hf],pf[hf]=null;for(;e===qu;)qu=Cl[--xl],Cl[xl]=null,ic=Cl[--xl],Cl[xl]=null,oc=Cl[--xl],Cl[xl]=null}function H9(){return $u(),qu!==null?{id:oc,overflow:ic}:null}function U9(e,t){$u(),Cl[xl++]=oc,Cl[xl++]=ic,Cl[xl++]=qu,oc=t.id,ic=t.overflow,qu=e}function $u(){Dn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var En=null,kl=null,Gl=!1,Gu=!1,Kc=null;function V9(){Gl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function d3(){Gu=!0}function W9(){return Gu}function q9(e){var t=e.stateNode.containerInfo;return kl=c9(t),En=e,Gl=!0,Kc=null,Gu=!1,!0}function Y9(e,t,n){return kl=u9(t),En=e,Gl=!0,Kc=null,Gu=!1,n!==null&&U9(e,n),!0}function f3(e,t){switch(e.tag){case y:{y9(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&br)!==Pt;w9(e.type,e.memoizedProps,e.stateNode,t,n);break}case J:{var i=e.memoizedState;i.dehydrated!==null&&S9(i.dehydrated,t);break}}}function p3(e,t){f3(e,t);var n=tV();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Lu):i.push(n)}function G1(e,t){{if(Gu)return;switch(e.tag){case y:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,u=t.pendingProps;C9(n,i);break;case R:var f=t.pendingProps;x9(n,f);break}break}case w:{var g=e.type,S=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var D=t.type,B=t.pendingProps,Z=(e.mode&br)!==Pt;R9(g,S,C,D,B,Z);break}case R:{var Q=t.pendingProps,_e=(e.mode&br)!==Pt;E9(g,S,C,Q,_e);break}}break}case J:{var be=e.memoizedState,Re=be.dehydrated;if(Re!==null)switch(t.tag){case w:var ot=t.type,Ot=t.pendingProps;k9(Re,ot);break;case R:var Tt=t.pendingProps;T9(Re,Tt);break}break}default:return}}}function h3(e,t){t.flags=t.flags&~Xs|Za,G1(e,t)}function m3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,u=a9(t,n);return u!==null?(e.stateNode=u,En=e,kl=s9(u),!0):!1}case R:{var f=e.pendingProps,g=n9(t,f);return g!==null?(e.stateNode=g,En=e,kl=null,!0):!1}case J:{var S=o9(t);if(S!==null){var C={dehydrated:S,treeContext:H9(),retryLane:Ho};e.memoizedState=C;var D=rV(S);return D.return=e,e.child=D,En=e,kl=null,!0}return!1}default:return!1}}function K1(e){return(e.mode&br)!==Pt&&(e.flags&zr)===Vt}function X1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Q1(e){if(Gl){var t=kl;if(!t){K1(e)&&(G1(En,e),X1()),h3(En,e),Gl=!1,En=e;return}var n=t;if(!m3(e,t)){K1(e)&&(G1(En,e),X1()),t=ih(n);var i=En;if(!t||!m3(e,t)){h3(En,e),Gl=!1,En=e;return}p3(i,n)}}}function $9(e,t,n){var i=e.stateNode,u=!Gu,f=d9(i,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=f,f!==null}function G9(e){var t=e.stateNode,n=e.memoizedProps,i=f9(t,n,e);if(i){var u=En;if(u!==null)switch(u.tag){case y:{var f=u.stateNode.containerInfo,g=(u.mode&br)!==Pt;_9(f,t,n,g);break}case w:{var S=u.type,C=u.memoizedProps,D=u.stateNode,B=(u.mode&br)!==Pt;b9(S,C,D,t,n,B);break}}}return i}function K9(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");p9(n,e)}function X9(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)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 h9(n)}function v3(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==y&&t.tag!==J;)t=t.return;En=t}function Fv(e){if(e!==En)return!1;if(!Gl)return v3(e),Gl=!0,!1;if(e.tag!==y&&(e.tag!==w||g9(e.type)&&!B1(e.type,e.memoizedProps))){var t=kl;if(t)if(K1(e))g3(e),X1();else for(;t;)p3(e,t),t=ih(t)}return v3(e),e.tag===J?kl=X9(e):kl=En?ih(e.stateNode):null,!0}function Q9(){return Gl&&kl!==null}function g3(e){for(var t=kl;t;)f3(e,t),t=ih(t)}function mf(){En=null,kl=null,Gl=!1,Gu=!1}function _3(){Kc!==null&&(fT(Kc),Kc=null)}function Dn(){return Gl}function J1(e){Kc===null?Kc=[e]:Kc.push(e)}var J9=o.ReactCurrentBatchConfig,Z9=null;function ej(){return J9.transition}var Kl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tj=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Ku=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},uh=[],dh=[],fh=[],ph=[],hh=[],mh=[],Xu=new Set;Kl.recordUnsafeLifecycleWarnings=function(e,t){Xu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&uh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&dh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&fh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ph.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&hh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&mh.push(e))},Kl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;uh.length>0&&(uh.forEach(function(Q){e.add(or(Q)||"Component"),Xu.add(Q.type)}),uh=[]);var t=new Set;dh.length>0&&(dh.forEach(function(Q){t.add(or(Q)||"Component"),Xu.add(Q.type)}),dh=[]);var n=new Set;fh.length>0&&(fh.forEach(function(Q){n.add(or(Q)||"Component"),Xu.add(Q.type)}),fh=[]);var i=new Set;ph.length>0&&(ph.forEach(function(Q){i.add(or(Q)||"Component"),Xu.add(Q.type)}),ph=[]);var u=new Set;hh.length>0&&(hh.forEach(function(Q){u.add(or(Q)||"Component"),Xu.add(Q.type)}),hh=[]);var f=new Set;if(mh.length>0&&(mh.forEach(function(Q){f.add(or(Q)||"Component"),Xu.add(Q.type)}),mh=[]),t.size>0){var g=Ku(t);c(`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.
|
|
31
|
+
Check the render method of \``+e+"`.":""}var _p=["value","defaultValue"];function lb(e){{mp("select",e);for(var t=0;t<_p.length;t++){var n=_p[t];if(e[n]!=null){var i=ln(e[n]);e.multiple&&!i?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Vm()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Vm())}}}}function qs(e,t,n,i){var u=e.options;if(t){for(var f=n,g={},S=0;S<f.length;S++)g["$"+f[S]]=!0;for(var C=0;C<u.length;C++){var D=g.hasOwnProperty("$"+u[C].value);u[C].selected!==D&&(u[C].selected=D),D&&i&&(u[C].defaultSelected=!0)}}else{for(var B=wo(Vl(n)),Z=null,Q=0;Q<u.length;Q++){if(u[Q].value===B){u[Q].selected=!0,i&&(u[Q].defaultSelected=!0);return}Z===null&&!u[Q].disabled&&(Z=u[Q])}Z!==null&&(Z.selected=!0)}}function bp(e,t){return It({},t,{value:void 0})}function eC(e,t){var n=e;lb(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Hd&&(c("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"),Hd=!0)}function fI(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?qs(n,!!t.multiple,i,!1):t.defaultValue!=null&&qs(n,!!t.multiple,t.defaultValue,!0)}function pI(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?qs(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?qs(n,!!t.multiple,t.defaultValue,!0):qs(n,!!t.multiple,t.multiple?[]:"",!1))}function hI(e,t){var n=e,i=t.value;i!=null&&qs(n,!!t.multiple,i,!1)}var tC=!1;function sb(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=It({},t,{value:void 0,defaultValue:void 0,children:wo(n._wrapperState.initialValue)});return i}function rC(e,t){var n=e;mp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!tC&&(c("%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",Pc()||"A component"),tC=!0);var i=t.value;if(i==null){var u=t.children,f=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ln(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}f=u}}f==null&&(f=""),i=f}n._wrapperState={initialValue:Vl(i)}}function aC(e,t){var n=e,i=Vl(t.value),u=Vl(t.defaultValue);if(i!=null){var f=wo(i);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}u!=null&&(n.defaultValue=wo(u))}function nC(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function mI(e,t){aC(e,t)}var Ys="http://www.w3.org/1999/xhtml",vI="http://www.w3.org/1998/Math/MathML",cb="http://www.w3.org/2000/svg";function ub(e){switch(e){case"svg":return cb;case"math":return vI;default:return Ys}}function db(e,t){return e==null||e===Ys?ub(t):e===cb&&t==="foreignObject"?Ys:e}var gI=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Wm,oC=gI(function(e,t){if(e.namespaceURI===cb&&!("innerHTML"in e)){Wm=Wm||document.createElement("div"),Wm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Wm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),Co=1,$s=3,Ja=8,Gs=9,fb=11,qm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===$s){n.nodeValue=t;return}}e.textContent=t},_I={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"]},yp={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 bI(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var yI=["Webkit","ms","Moz","O"];Object.keys(yp).forEach(function(e){yI.forEach(function(t){yp[bI(t,e)]=yp[e]})});function pb(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(yp.hasOwnProperty(e)&&yp[e])?t+"px":(Wr(t,e),(""+t).trim())}var SI=/([A-Z])/g,wI=/^ms-/;function CI(e){return e.replace(SI,"-$1").toLowerCase().replace(wI,"-ms-")}var iC=function(){};{var xI=/^(?:webkit|moz|o)[A-Z]/,kI=/^-ms-/,TI=/-(.)/g,lC=/;\s*$/,Ud={},hb={},sC=!1,cC=!1,RI=function(e){return e.replace(TI,function(t,n){return n.toUpperCase()})},EI=function(e){Ud.hasOwnProperty(e)&&Ud[e]||(Ud[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,RI(e.replace(kI,"ms-"))))},DI=function(e){Ud.hasOwnProperty(e)&&Ud[e]||(Ud[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},AI=function(e,t){hb.hasOwnProperty(t)&&hb[t]||(hb[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(lC,"")))},LI=function(e,t){sC||(sC=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},BI=function(e,t){cC||(cC=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};iC=function(e,t){e.indexOf("-")>-1?EI(e):xI.test(e)?DI(e):lC.test(t)&&AI(e,t),typeof t=="number"&&(isNaN(t)?LI(e,t):isFinite(t)||BI(e,t))}}var NI=iC;function OI(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var f=i.indexOf("--")===0;t+=n+(f?i:CI(i))+":",t+=pb(i,u,f),n=";"}}return t||null}}function uC(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||NI(i,t[i]);var f=pb(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,f):n[i]=f}}function II(e){return e==null||typeof e=="boolean"||e===""}function dC(e){var t={};for(var n in e)for(var i=_I[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function PI(e,t){{if(!t)return;var n=dC(e),i=dC(t),u={};for(var f in n){var g=n[f],S=i[f];if(S&&g!==S){var C=g+","+S;if(u[C])continue;u[C]=!0,c("%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.",II(e[g])?"Removing":"Updating",g,S)}}}}var MI={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},zI=It({menuitem:!0},MI),FI="__html";function mb(e,t){if(t){if(zI[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"||!(FI 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&&c("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 Au(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 Ym={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"},fC={"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},Vd={},jI=new RegExp("^(aria)-["+ut+"]*$"),HI=new RegExp("^(aria)[A-Z]["+ut+"]*$");function UI(e,t){{if(Ut.call(Vd,t)&&Vd[t])return!0;if(HI.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=fC.hasOwnProperty(n)?n:null;if(i==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Vd[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Vd[t]=!0,!0}if(jI.test(t)){var u=t.toLowerCase(),f=fC.hasOwnProperty(u)?u:null;if(f==null)return Vd[t]=!0,!1;if(t!==f)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),Vd[t]=!0,!0}}return!0}function VI(e,t){{var n=[];for(var i in t){var u=UI(e,i);u||n.push(i)}var f=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function WI(e,t){Au(e,t)||VI(e,t)}var pC=!1;function qI(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!pC&&(pC=!0,e==="select"&&t.multiple?c("`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):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var hC=function(){};{var eo={},mC=/^on./,YI=/^on[^A-Z]/,$I=new RegExp("^(aria)-["+ut+"]*$"),GI=new RegExp("^(aria)[A-Z]["+ut+"]*$");hC=function(e,t,n,i){if(Ut.call(eo,t)&&eo[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return c("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."),eo[t]=!0,!0;if(i!=null){var f=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var S=g.hasOwnProperty(u)?g[u]:null;if(S!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,S),eo[t]=!0,!0;if(mC.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),eo[t]=!0,!0}else if(mC.test(t))return YI.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),eo[t]=!0,!0;if($I.test(t)||GI.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),eo[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),eo[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),eo[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),eo[t]=!0,!0;var C=te(t),D=C!==null&&C.type===Tr;if(Ym.hasOwnProperty(u)){var B=Ym[u];if(B!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,B),eo[t]=!0,!0}else if(!D&&t!==u)return c("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,u),eo[t]=!0,!0;return typeof n=="boolean"&&Xr(t,n,C,!1)?(n?c('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,t,t,n,t):c('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.',n,t,t,n,t,t,t),eo[t]=!0,!0):D?!0:Xr(t,n,C,!1)?(eo[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===mr&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="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,n),eo[t]=!0),!0)}}var KI=function(e,t,n){{var i=[];for(var u in t){var f=hC(e,u,t[u],n);f||i.push(u)}var g=i.map(function(S){return"`"+S+"`"}).join(", ");i.length===1?c("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 ",g,e):i.length>1&&c("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 ",g,e)}};function XI(e,t,n){Au(e,t)||KI(e,t,n)}var vC=1,vb=2,Sp=4,QI=vC|vb|Sp,wp=null;function JI(e){wp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),wp=e}function ZI(){wp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),wp=null}function eP(e){return e===wp}function gb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===$s?t.parentNode:t}var _b=null,Wd=null,qd=null;function gC(e){var t=qc(e);if(t){if(typeof _b!="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 n=t.stateNode;if(n){var i=Dv(n);_b(t.stateNode,t.type,i)}}}function tP(e){_b=e}function _C(e){Wd?qd?qd.push(e):qd=[e]:Wd=e}function rP(){return Wd!==null||qd!==null}function bC(){if(Wd){var e=Wd,t=qd;if(Wd=null,qd=null,gC(e),t)for(var n=0;n<t.length;n++)gC(t[n])}}var yC=function(e,t){return e(t)},SC=function(){},bb=!1;function aP(){var e=rP();e&&(SC(),bC())}function wC(e,t,n){if(bb)return e(t,n);bb=!0;try{return yC(e,t,n)}finally{bb=!1,aP()}}function nP(e,t,n){yC=e,SC=n}function oP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function iP(e,t,n){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!!(n.disabled&&oP(t));default:return!1}}function Cp(e,t){var n=e.stateNode;if(n===null)return null;var i=Dv(n);if(i===null)return null;var u=i[t];if(iP(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var yb=!1;if(Rt)try{var xp={};Object.defineProperty(xp,"passive",{get:function(){yb=!0}}),window.addEventListener("test",xp,xp),window.removeEventListener("test",xp,xp)}catch(e){yb=!1}function CC(e,t,n,i,u,f,g,S,C){var D=Array.prototype.slice.call(arguments,3);try{t.apply(n,D)}catch(B){this.onError(B)}}var xC=CC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var Sb=document.createElement("react");xC=function(t,n,i,u,f,g,S,C,D){if(typeof document=="undefined"||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 B=document.createEvent("Event"),Z=!1,Q=!0,_e=window.event,be=Object.getOwnPropertyDescriptor(window,"event");function Re(){Sb.removeEventListener(Ae,Ot,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=_e)}var ot=Array.prototype.slice.call(arguments,3);function Ot(){Z=!0,Re(),n.apply(i,ot),Q=!1}var Tt,vr=!1,gr=!1;function de(fe){if(Tt=fe.error,vr=!0,Tt===null&&fe.colno===0&&fe.lineno===0&&(gr=!0),fe.defaultPrevented&&Tt!=null&&typeof Tt=="object")try{Tt._suppressLogging=!0}catch(Xe){}}var Ae="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",de),Sb.addEventListener(Ae,Ot,!1),B.initEvent(Ae,!1,!1),Sb.dispatchEvent(B),be&&Object.defineProperty(window,"event",be),Z&&Q&&(vr?gr&&(Tt=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.")):Tt=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(Tt)),window.removeEventListener("error",de),!Z)return Re(),CC.apply(this,arguments)}}var lP=xC,Yd=!1,$m=null,Gm=!1,wb=null,sP={onError:function(e){Yd=!0,$m=e}};function Cb(e,t,n,i,u,f,g,S,C){Yd=!1,$m=null,lP.apply(sP,arguments)}function cP(e,t,n,i,u,f,g,S,C){if(Cb.apply(this,arguments),Yd){var D=xb();Gm||(Gm=!0,wb=D)}}function uP(){if(Gm){var e=wb;throw Gm=!1,wb=null,e}}function dP(){return Yd}function xb(){if(Yd){var e=$m;return Yd=!1,$m=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 $d(e){return e._reactInternals}function fP(e){return e._reactInternals!==void 0}function pP(e,t){e._reactInternals=t}var Vt=0,Gd=1,Za=2,xr=4,Lu=16,kp=32,kb=64,zr=128,Ks=256,zc=512,Bu=1024,Wl=2048,Xs=4096,Nu=8192,Km=16384,hP=Wl|xr|kb|zc|Bu|Km,mP=32767,Tp=32768,to=65536,Tb=131072,kC=1048576,Rb=2097152,Ou=4194304,Eb=8388608,Qs=16777216,Xm=33554432,Db=xr|Bu|0,Ab=Za|xr|Lu|kp|zc|Xs|Nu,Rp=xr|kb|zc|Nu,Kd=Wl|Lu,Js=Ou|Eb|Rb,vP=o.ReactCurrentOwner;function Iu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Za|Xs))!==Vt&&(n=t.return),i=t.return;while(i)}return t.tag===y?n:null}function TC(e){if(e.tag===J){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function RC(e){return e.tag===y?e.stateNode.containerInfo:null}function gP(e){return Iu(e)===e}function _P(e){{var t=vP.current;if(t!==null&&t.tag===v){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||c("%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.",or(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=$d(e);return u?Iu(u)===u:!1}function EC(e){if(Iu(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function DC(e){var t=e.alternate;if(!t){var n=Iu(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,u=t;;){var f=i.return;if(f===null)break;var g=f.alternate;if(g===null){var S=f.return;if(S!==null){i=u=S;continue}break}if(f.child===g.child){for(var C=f.child;C;){if(C===i)return EC(f),e;if(C===u)return EC(f),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=f,u=g;else{for(var D=!1,B=f.child;B;){if(B===i){D=!0,i=f,u=g;break}if(B===u){D=!0,u=f,i=g;break}B=B.sibling}if(!D){for(B=g.child;B;){if(B===i){D=!0,i=g,u=f;break}if(B===u){D=!0,u=g,i=f;break}B=B.sibling}if(!D)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(i.alternate!==u)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(i.tag!==y)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function AC(e){var t=DC(e);return t!==null?LC(t):null}function LC(e){if(e.tag===w||e.tag===R)return e;for(var t=e.child;t!==null;){var n=LC(t);if(n!==null)return n;t=t.sibling}return null}function bP(e){var t=DC(e);return t!==null?BC(t):null}function BC(e){if(e.tag===w||e.tag===R)return e;for(var t=e.child;t!==null;){if(t.tag!==x){var n=BC(t);if(n!==null)return n}t=t.sibling}return null}var NC=a.unstable_scheduleCallback,yP=a.unstable_cancelCallback,SP=a.unstable_shouldYield,wP=a.unstable_requestPaint,yn=a.unstable_now,CP=a.unstable_getCurrentPriorityLevel,Qm=a.unstable_ImmediatePriority,Lb=a.unstable_UserBlockingPriority,Pu=a.unstable_NormalPriority,xP=a.unstable_LowPriority,Bb=a.unstable_IdlePriority,kP=a.unstable_yieldValue,TP=a.unstable_setDisableYieldValue,Mu=null,Rn=null,dt=null,ys=!1,ql=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function RP(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return c("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{Qe&&(e=It({},e,{getLaneLabelMap:NP,injectProfilingHooks:BP})),Mu=t.inject(e),Rn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function EP(e,t){if(Rn&&typeof Rn.onScheduleFiberRoot=="function")try{Rn.onScheduleFiberRoot(Mu,e,t)}catch(n){ys||(ys=!0,c("React instrumentation encountered an error: %s",n))}}function DP(e,t){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{var n=(e.current.flags&zr)===zr;if(yt){var i;switch(t){case Vo:i=Qm;break;case ec:i=Lb;break;case tc:i=Pu;break;case nv:i=Bb;break;default:i=Pu;break}Rn.onCommitFiberRoot(Mu,e,i,n)}else Rn.onCommitFiberRoot(Mu,e,void 0,n)}catch(u){ys||(ys=!0,c("React instrumentation encountered an error: %s",u))}}function AP(e){if(Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function LP(e){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function Sn(e){if(typeof kP=="function"&&(TP(e),s(e)),Rn&&typeof Rn.setStrictMode=="function")try{Rn.setStrictMode(Mu,e)}catch(t){ys||(ys=!0,c("React instrumentation encountered an error: %s",t))}}function BP(e){dt=e}function NP(){{for(var e=new Map,t=1,n=0;n<Ob;n++){var i=ZP(t);e.set(t,i),t*=2}return e}}function OP(e){dt!==null&&typeof dt.markCommitStarted=="function"&&dt.markCommitStarted(e)}function OC(){dt!==null&&typeof dt.markCommitStopped=="function"&&dt.markCommitStopped()}function Ep(e){dt!==null&&typeof dt.markComponentRenderStarted=="function"&&dt.markComponentRenderStarted(e)}function Xd(){dt!==null&&typeof dt.markComponentRenderStopped=="function"&&dt.markComponentRenderStopped()}function IP(e){dt!==null&&typeof dt.markComponentPassiveEffectMountStarted=="function"&&dt.markComponentPassiveEffectMountStarted(e)}function PP(){dt!==null&&typeof dt.markComponentPassiveEffectMountStopped=="function"&&dt.markComponentPassiveEffectMountStopped()}function MP(e){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStarted=="function"&&dt.markComponentPassiveEffectUnmountStarted(e)}function zP(){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStopped=="function"&&dt.markComponentPassiveEffectUnmountStopped()}function FP(e){dt!==null&&typeof dt.markComponentLayoutEffectMountStarted=="function"&&dt.markComponentLayoutEffectMountStarted(e)}function jP(){dt!==null&&typeof dt.markComponentLayoutEffectMountStopped=="function"&&dt.markComponentLayoutEffectMountStopped()}function IC(e){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStarted=="function"&&dt.markComponentLayoutEffectUnmountStarted(e)}function PC(){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStopped=="function"&&dt.markComponentLayoutEffectUnmountStopped()}function HP(e,t,n){dt!==null&&typeof dt.markComponentErrored=="function"&&dt.markComponentErrored(e,t,n)}function UP(e,t,n){dt!==null&&typeof dt.markComponentSuspended=="function"&&dt.markComponentSuspended(e,t,n)}function VP(e){dt!==null&&typeof dt.markLayoutEffectsStarted=="function"&&dt.markLayoutEffectsStarted(e)}function WP(){dt!==null&&typeof dt.markLayoutEffectsStopped=="function"&&dt.markLayoutEffectsStopped()}function qP(e){dt!==null&&typeof dt.markPassiveEffectsStarted=="function"&&dt.markPassiveEffectsStarted(e)}function YP(){dt!==null&&typeof dt.markPassiveEffectsStopped=="function"&&dt.markPassiveEffectsStopped()}function MC(e){dt!==null&&typeof dt.markRenderStarted=="function"&&dt.markRenderStarted(e)}function $P(){dt!==null&&typeof dt.markRenderYielded=="function"&&dt.markRenderYielded()}function zC(){dt!==null&&typeof dt.markRenderStopped=="function"&&dt.markRenderStopped()}function GP(e){dt!==null&&typeof dt.markRenderScheduled=="function"&&dt.markRenderScheduled(e)}function KP(e,t){dt!==null&&typeof dt.markForceUpdateScheduled=="function"&&dt.markForceUpdateScheduled(e,t)}function Nb(e,t){dt!==null&&typeof dt.markStateUpdateScheduled=="function"&&dt.markStateUpdateScheduled(e,t)}var Pt=0,br=1,Zr=2,Ma=8,Ss=16,FC=Math.clz32?Math.clz32:JP,XP=Math.log,QP=Math.LN2;function JP(e){var t=e>>>0;return t===0?32:31-(XP(t)/QP|0)|0}var Ob=31,je=0,wn=0,Jt=1,Qd=2,Zs=4,zu=8,ws=16,Dp=32,Jd=4194240,Ap=64,Ib=128,Pb=256,Mb=512,zb=1024,Fb=2048,jb=4096,Hb=8192,Ub=16384,Vb=32768,Wb=65536,qb=131072,Yb=262144,$b=524288,Gb=1048576,Kb=2097152,Jm=130023424,Zd=4194304,Xb=8388608,Qb=16777216,Jb=33554432,Zb=67108864,jC=Zd,Lp=134217728,HC=268435455,Bp=268435456,Fu=536870912,Ho=1073741824;function ZP(e){{if(e&Jt)return"Sync";if(e&Qd)return"InputContinuousHydration";if(e&Zs)return"InputContinuous";if(e&zu)return"DefaultHydration";if(e&ws)return"Default";if(e&Dp)return"TransitionHydration";if(e&Jd)return"Transition";if(e&Jm)return"Retry";if(e&Lp)return"SelectiveHydration";if(e&Bp)return"IdleHydration";if(e&Fu)return"Idle";if(e&Ho)return"Offscreen"}}var Sa=-1,Zm=Ap,ev=Zd;function Np(e){switch(ju(e)){case Jt:return Jt;case Qd:return Qd;case Zs:return Zs;case zu:return zu;case ws:return ws;case Dp:return Dp;case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:return e&Jd;case Zd:case Xb:case Qb:case Jb:case Zb:return e&Jm;case Lp:return Lp;case Bp:return Bp;case Fu:return Fu;case Ho:return Ho;default:return c("Should have found matching lanes. This is a bug in React."),e}}function tv(e,t){var n=e.pendingLanes;if(n===je)return je;var i=je,u=e.suspendedLanes,f=e.pingedLanes,g=n&HC;if(g!==je){var S=g&~u;if(S!==je)i=Np(S);else{var C=g&f;C!==je&&(i=Np(C))}}else{var D=n&~u;D!==je?i=Np(D):f!==je&&(i=Np(f))}if(i===je)return je;if(t!==je&&t!==i&&(t&u)===je){var B=ju(i),Z=ju(t);if(B>=Z||B===ws&&(Z&Jd)!==je)return t}(i&Zs)!==je&&(i|=n&ws);var Q=e.entangledLanes;if(Q!==je)for(var _e=e.entanglements,be=i&Q;be>0;){var Re=Hu(be),ot=1<<Re;i|=_e[Re],be&=~ot}return i}function eM(e,t){for(var n=e.eventTimes,i=Sa;t>0;){var u=Hu(t),f=1<<u,g=n[u];g>i&&(i=g),t&=~f}return i}function tM(e,t){switch(e){case Jt:case Qd:case Zs:return t+250;case zu:case ws:case Dp:case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:return t+5e3;case Zd:case Xb:case Qb:case Jb:case Zb:return Sa;case Lp:case Bp:case Fu:case Ho:return Sa;default:return c("Should have found matching lanes. This is a bug in React."),Sa}}function rM(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var S=Hu(g),C=1<<S,D=f[S];D===Sa?((C&i)===je||(C&u)!==je)&&(f[S]=tM(C,t)):D<=t&&(e.expiredLanes|=C),g&=~C}}function aM(e){return Np(e.pendingLanes)}function e1(e){var t=e.pendingLanes&~Ho;return t!==je?t:t&Ho?Ho:je}function nM(e){return(e&Jt)!==je}function t1(e){return(e&HC)!==je}function UC(e){return(e&Jm)===e}function oM(e){var t=Jt|Zs|ws;return(e&t)===je}function iM(e){return(e&Jd)===e}function rv(e,t){var n=Qd|Zs|zu|ws;return(t&n)!==je}function lM(e,t){return(t&e.expiredLanes)!==je}function VC(e){return(e&Jd)!==je}function WC(){var e=Zm;return Zm<<=1,(Zm&Jd)===je&&(Zm=Ap),e}function sM(){var e=ev;return ev<<=1,(ev&Jm)===je&&(ev=Zd),e}function ju(e){return e&-e}function Op(e){return ju(e)}function Hu(e){return 31-FC(e)}function r1(e){return Hu(e)}function Uo(e,t){return(e&t)!==je}function ef(e,t){return(e&t)===t}function cr(e,t){return e|t}function av(e,t){return e&~t}function qC(e,t){return e&t}function sG(e){return e}function cM(e,t){return e!==wn&&e<t?e:t}function a1(e){for(var t=[],n=0;n<Ob;n++)t.push(e);return t}function Ip(e,t,n){e.pendingLanes|=t,t!==Fu&&(e.suspendedLanes=je,e.pingedLanes=je);var i=e.eventTimes,u=r1(t);i[u]=n}function uM(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Hu(i),f=1<<u;n[u]=Sa,i&=~f}}function YC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function dM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=je,e.pingedLanes=je,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var S=Hu(g),C=1<<S;i[S]=je,u[S]=Sa,f[S]=Sa,g&=~C}}function n1(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var f=Hu(u),g=1<<f;g&t|i[f]&t&&(i[f]|=t),u&=~g}}function fM(e,t){var n=ju(t),i;switch(n){case Zs:i=Qd;break;case ws:i=zu;break;case Ap:case Ib:case Pb:case Mb:case zb:case Fb:case jb:case Hb:case Ub:case Vb:case Wb:case qb:case Yb:case $b:case Gb:case Kb:case Zd:case Xb:case Qb:case Jb:case Zb:i=Dp;break;case Fu:i=Bp;break;default:i=wn;break}return(i&(e.suspendedLanes|t))!==wn?wn:i}function $C(e,t,n){if(ql)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=r1(n),f=1<<u,g=i[u];g.add(t),n&=~f}}function GC(e,t){if(ql)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=r1(t),f=1<<u,g=n[u];g.size>0&&(g.forEach(function(S){var C=S.alternate;(C===null||!i.has(C))&&i.add(S)}),g.clear()),t&=~f}}function KC(e,t){return null}var Vo=Jt,ec=Zs,tc=ws,nv=Fu,Pp=wn;function Yl(){return Pp}function Cn(e){Pp=e}function pM(e,t){var n=Pp;try{return Pp=e,t()}finally{Pp=n}}function hM(e,t){return e!==0&&e<t?e:t}function mM(e,t){return e===0||e>t?e:t}function o1(e,t){return e!==0&&e<t}function XC(e){var t=ju(e);return o1(Vo,t)?o1(ec,t)?t1(t)?tc:nv:ec:Vo}function ov(e){var t=e.current.memoizedState;return t.isDehydrated}var QC;function vM(e){QC=e}function gM(e){QC(e)}var i1;function _M(e){i1=e}var JC;function bM(e){JC=e}var ZC;function yM(e){ZC=e}var ex;function SM(e){ex=e}var l1=!1,iv=[],Fc=null,jc=null,Hc=null,Mp=new Map,zp=new Map,Uc=[],wM=["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 CM(e){return wM.indexOf(e)>-1}function xM(e,t,n,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]}}function tx(e,t){switch(e){case"focusin":case"focusout":Fc=null;break;case"dragenter":case"dragleave":jc=null;break;case"mouseover":case"mouseout":Hc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Mp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;zp.delete(i);break}}}function Fp(e,t,n,i,u,f){if(e===null||e.nativeEvent!==f){var g=xM(t,n,i,u,f);if(t!==null){var S=qc(t);S!==null&&i1(S)}return g}e.eventSystemFlags|=i;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function kM(e,t,n,i,u){switch(t){case"focusin":{var f=u;return Fc=Fp(Fc,e,t,n,i,f),!0}case"dragenter":{var g=u;return jc=Fp(jc,e,t,n,i,g),!0}case"mouseover":{var S=u;return Hc=Fp(Hc,e,t,n,i,S),!0}case"pointerover":{var C=u,D=C.pointerId;return Mp.set(D,Fp(Mp.get(D)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var B=u,Z=B.pointerId;return zp.set(Z,Fp(zp.get(Z)||null,e,t,n,i,B)),!0}}return!1}function rx(e){var t=Wu(e.target);if(t!==null){var n=Iu(t);if(n!==null){var i=n.tag;if(i===J){var u=TC(n);if(u!==null){e.blockedOn=u,ex(e.priority,function(){JC(n)});return}}else if(i===y){var f=n.stateNode;if(ov(f)){e.blockedOn=RC(n);return}}}}e.blockedOn=null}function TM(e){for(var t=ZC(),n={blockedOn:null,target:e,priority:t},i=0;i<Uc.length&&o1(t,Uc[i].priority);i++);Uc.splice(i,0,n),i===0&&rx(n)}function lv(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=u1(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,f=new u.constructor(u.type,u);JI(f),u.target.dispatchEvent(f),ZI()}else{var g=qc(i);return g!==null&&i1(g),e.blockedOn=i,!1}t.shift()}return!0}function ax(e,t,n){lv(e)&&n.delete(t)}function RM(){l1=!1,Fc!==null&&lv(Fc)&&(Fc=null),jc!==null&&lv(jc)&&(jc=null),Hc!==null&&lv(Hc)&&(Hc=null),Mp.forEach(ax),zp.forEach(ax)}function jp(e,t){e.blockedOn===t&&(e.blockedOn=null,l1||(l1=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,RM)))}function Hp(e){if(iv.length>0){jp(iv[0],e);for(var t=1;t<iv.length;t++){var n=iv[t];n.blockedOn===e&&(n.blockedOn=null)}}Fc!==null&&jp(Fc,e),jc!==null&&jp(jc,e),Hc!==null&&jp(Hc,e);var i=function(S){return jp(S,e)};Mp.forEach(i),zp.forEach(i);for(var u=0;u<Uc.length;u++){var f=Uc[u];f.blockedOn===e&&(f.blockedOn=null)}for(;Uc.length>0;){var g=Uc[0];if(g.blockedOn!==null)break;rx(g),g.blockedOn===null&&Uc.shift()}}var tf=o.ReactCurrentBatchConfig,s1=!0;function nx(e){s1=!!e}function EM(){return s1}function DM(e,t,n){var i=ox(t),u;switch(i){case Vo:u=AM;break;case ec:u=LM;break;case tc:default:u=c1;break}return u.bind(null,t,n,e)}function AM(e,t,n,i){var u=Yl(),f=tf.transition;tf.transition=null;try{Cn(Vo),c1(e,t,n,i)}finally{Cn(u),tf.transition=f}}function LM(e,t,n,i){var u=Yl(),f=tf.transition;tf.transition=null;try{Cn(ec),c1(e,t,n,i)}finally{Cn(u),tf.transition=f}}function c1(e,t,n,i){s1&&BM(e,t,n,i)}function BM(e,t,n,i){var u=u1(e,t,n,i);if(u===null){x1(e,t,i,sv,n),tx(e,i);return}if(kM(u,e,t,n,i)){i.stopPropagation();return}if(tx(e,i),t&Sp&&CM(e)){for(;u!==null;){var f=qc(u);f!==null&&gM(f);var g=u1(e,t,n,i);if(g===null&&x1(e,t,i,sv,n),g===u)break;u=g}u!==null&&i.stopPropagation();return}x1(e,t,i,null,n)}var sv=null;function u1(e,t,n,i){sv=null;var u=gb(i),f=Wu(u);if(f!==null){var g=Iu(f);if(g===null)f=null;else{var S=g.tag;if(S===J){var C=TC(g);if(C!==null)return C;f=null}else if(S===y){var D=g.stateNode;if(ov(D))return RC(g);f=null}else g!==f&&(f=null)}}return sv=f,null}function ox(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 Vo;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 ec;case"message":{var t=CP();switch(t){case Qm:return Vo;case Lb:return ec;case Pu:case xP:return tc;case Bb:return nv;default:return tc}}default:return tc}}function NM(e,t,n){return e.addEventListener(t,n,!1),n}function OM(e,t,n){return e.addEventListener(t,n,!0),n}function IM(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function PM(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Up=null,d1=null,Vp=null;function MM(e){return Up=e,d1=lx(),!0}function zM(){Up=null,d1=null,Vp=null}function ix(){if(Vp)return Vp;var e,t=d1,n=t.length,i,u=lx(),f=u.length;for(e=0;e<n&&t[e]===u[e];e++);var g=n-e;for(i=1;i<=g&&t[n-i]===u[f-i];i++);var S=i>1?1-i:void 0;return Vp=u.slice(e,S),Vp}function lx(){return"value"in Up?Up.value:Up.textContent}function cv(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function uv(){return!0}function sx(){return!1}function Wo(e){function t(n,i,u,f,g){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var C=e[S];C?this[S]=C(f):this[S]=f[S]}var D=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return D?this.isDefaultPrevented=uv:this.isDefaultPrevented=sx,this.isPropagationStopped=sx,this}return It(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=uv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=uv)},persist:function(){},isPersistent:uv}),t}var rf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},f1=Wo(rf),Wp=It({},rf,{view:0,detail:0}),FM=Wo(Wp),p1,h1,qp;function jM(e){e!==qp&&(qp&&e.type==="mousemove"?(p1=e.screenX-qp.screenX,h1=e.screenY-qp.screenY):(p1=0,h1=0),qp=e)}var dv=It({},Wp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:v1,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:(jM(e),p1)},movementY:function(e){return"movementY"in e?e.movementY:h1}}),cx=Wo(dv),HM=It({},dv,{dataTransfer:0}),UM=Wo(HM),VM=It({},Wp,{relatedTarget:0}),m1=Wo(VM),WM=It({},rf,{animationName:0,elapsedTime:0,pseudoElement:0}),qM=Wo(WM),YM=It({},rf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$M=Wo(YM),GM=It({},rf,{data:0}),ux=Wo(GM),KM=ux,XM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QM={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 JM(e){if(e.key){var t=XM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=cv(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?QM[e.keyCode]||"Unidentified":""}var ZM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ez(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=ZM[e];return i?!!n[i]:!1}function v1(e){return ez}var tz=It({},Wp,{key:JM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:v1,charCode:function(e){return e.type==="keypress"?cv(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cv(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),rz=Wo(tz),az=It({},dv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dx=Wo(az),nz=It({},Wp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:v1}),oz=Wo(nz),iz=It({},rf,{propertyName:0,elapsedTime:0,pseudoElement:0}),lz=Wo(iz),sz=It({},dv,{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}),cz=Wo(sz),uz=[9,13,27,32],fx=229,g1=Rt&&"CompositionEvent"in window,Yp=null;Rt&&"documentMode"in document&&(Yp=document.documentMode);var dz=Rt&&"TextEvent"in window&&!Yp,px=Rt&&(!g1||Yp&&Yp>8&&Yp<=11),hx=32,mx=String.fromCharCode(hx);function fz(){it("onBeforeInput",["compositionend","keypress","textInput","paste"]),it("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),it("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),it("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var vx=!1;function pz(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function hz(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function mz(e,t){return e==="keydown"&&t.keyCode===fx}function gx(e,t){switch(e){case"keyup":return uz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==fx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _x(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function bx(e){return e.locale==="ko"}var af=!1;function vz(e,t,n,i,u){var f,g;if(g1?f=hz(t):af?gx(t,i)&&(f="onCompositionEnd"):mz(t,i)&&(f="onCompositionStart"),!f)return null;px&&!bx(i)&&(!af&&f==="onCompositionStart"?af=MM(u):f==="onCompositionEnd"&&af&&(g=ix()));var S=vv(n,f);if(S.length>0){var C=new ux(f,t,null,i,u);if(e.push({event:C,listeners:S}),g)C.data=g;else{var D=_x(i);D!==null&&(C.data=D)}}}function gz(e,t){switch(e){case"compositionend":return _x(t);case"keypress":var n=t.which;return n!==hx?null:(vx=!0,mx);case"textInput":var i=t.data;return i===mx&&vx?null:i;default:return null}}function _z(e,t){if(af){if(e==="compositionend"||!g1&&gx(e,t)){var n=ix();return zM(),af=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!pz(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return px&&!bx(t)?null:t.data;default:return null}}function bz(e,t,n,i,u){var f;if(dz?f=gz(t,i):f=_z(t,i),!f)return null;var g=vv(n,"onBeforeInput");if(g.length>0){var S=new KM("onBeforeInput","beforeinput",null,i,u);e.push({event:S,listeners:g}),S.data=f}}function yz(e,t,n,i,u,f,g){vz(e,t,n,i,u),bz(e,t,n,i,u)}var Sz={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 yx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Sz[e.type]:t==="textarea"}function wz(e){if(!Rt)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function Cz(){it("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Sx(e,t,n,i){_C(i);var u=vv(t,"onChange");if(u.length>0){var f=new f1("onChange","change",null,n,i);e.push({event:f,listeners:u})}}var $p=null,Gp=null;function xz(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function kz(e){var t=[];Sx(t,Gp,e,gb(e)),wC(Tz,t)}function Tz(e){Fx(e,0)}function fv(e){var t=uf(e);if(zd(t))return e}function Rz(e,t){if(e==="change")return t}var wx=!1;Rt&&(wx=wz("input")&&(!document.documentMode||document.documentMode>9));function Ez(e,t){$p=e,Gp=t,$p.attachEvent("onpropertychange",xx)}function Cx(){$p&&($p.detachEvent("onpropertychange",xx),$p=null,Gp=null)}function xx(e){e.propertyName==="value"&&fv(Gp)&&kz(e)}function Dz(e,t,n){e==="focusin"?(Cx(),Ez(t,n)):e==="focusout"&&Cx()}function Az(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fv(Gp)}function Lz(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Bz(e,t){if(e==="click")return fv(t)}function Nz(e,t){if(e==="input"||e==="change")return fv(t)}function Oz(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Yr(e,"number",e.value)}function Iz(e,t,n,i,u,f,g){var S=n?uf(n):window,C,D;if(xz(S)?C=Rz:yx(S)?wx?C=Nz:(C=Az,D=Dz):Lz(S)&&(C=Bz),C){var B=C(t,n);if(B){Sx(e,B,i,u);return}}D&&D(t,S,n),t==="focusout"&&Oz(S)}function Pz(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function Mz(e,t,n,i,u,f,g){var S=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(S&&!eP(i)){var D=i.relatedTarget||i.fromElement;if(D&&(Wu(D)||ch(D)))return}if(!(!C&&!S)){var B;if(u.window===u)B=u;else{var Z=u.ownerDocument;Z?B=Z.defaultView||Z.parentWindow:B=window}var Q,_e;if(C){var be=i.relatedTarget||i.toElement;if(Q=n,_e=be?Wu(be):null,_e!==null){var Re=Iu(_e);(_e!==Re||_e.tag!==w&&_e.tag!==R)&&(_e=null)}}else Q=null,_e=n;if(Q!==_e){var ot=cx,Ot="onMouseLeave",Tt="onMouseEnter",vr="mouse";(t==="pointerout"||t==="pointerover")&&(ot=dx,Ot="onPointerLeave",Tt="onPointerEnter",vr="pointer");var gr=Q==null?B:uf(Q),de=_e==null?B:uf(_e),Ae=new ot(Ot,vr+"leave",Q,i,u);Ae.target=gr,Ae.relatedTarget=de;var fe=null,Xe=Wu(u);if(Xe===n){var ht=new ot(Tt,vr+"enter",_e,i,u);ht.target=de,ht.relatedTarget=gr,fe=ht}lF(e,Ae,fe,Q,_e)}}}function zz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qo=typeof Object.is=="function"?Object.is:zz;function Kp(e,t){if(qo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++){var f=n[u];if(!Ut.call(t,f)||!qo(e[f],t[f]))return!1}return!0}function kx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fz(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Tx(e,t){for(var n=kx(e),i=0,u=0;n;){if(n.nodeType===$s){if(u=i+n.textContent.length,i<=t&&u>=t)return{node:n,offset:t-i};i=u}n=kx(Fz(n))}}function jz(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,f=i.anchorOffset,g=i.focusNode,S=i.focusOffset;try{u.nodeType,g.nodeType}catch(C){return null}return Hz(e,u,f,g,S)}function Hz(e,t,n,i,u){var f=0,g=-1,S=-1,C=0,D=0,B=e,Z=null;e:for(;;){for(var Q=null;B===t&&(n===0||B.nodeType===$s)&&(g=f+n),B===i&&(u===0||B.nodeType===$s)&&(S=f+u),B.nodeType===$s&&(f+=B.nodeValue.length),(Q=B.firstChild)!==null;)Z=B,B=Q;for(;;){if(B===e)break e;if(Z===t&&++C===n&&(g=f),Z===i&&++D===u&&(S=f),(Q=B.nextSibling)!==null)break;B=Z,Z=B.parentNode}B=Q}return g===-1||S===-1?null:{start:g,end:S}}function Uz(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var u=i.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),S=t.end===void 0?g:Math.min(t.end,f);if(!u.extend&&g>S){var C=S;S=g,g=C}var D=Tx(e,g),B=Tx(e,S);if(D&&B){if(u.rangeCount===1&&u.anchorNode===D.node&&u.anchorOffset===D.offset&&u.focusNode===B.node&&u.focusOffset===B.offset)return;var Z=n.createRange();Z.setStart(D.node,D.offset),u.removeAllRanges(),g>S?(u.addRange(Z),u.extend(B.node,B.offset)):(Z.setEnd(B.node,B.offset),u.addRange(Z))}}}function Rx(e){return e&&e.nodeType===$s}function Ex(e,t){return!e||!t?!1:e===t?!0:Rx(e)?!1:Rx(t)?Ex(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Vz(e){return e&&e.ownerDocument&&Ex(e.ownerDocument.documentElement,e)}function Wz(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function Dx(){for(var e=window,t=Fd();t instanceof e.HTMLIFrameElement;){if(Wz(t))e=t.contentWindow;else return t;t=Fd(e.document)}return t}function _1(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 qz(){var e=Dx();return{focusedElem:e,selectionRange:_1(e)?$z(e):null}}function Yz(e){var t=Dx(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Vz(n)){i!==null&&_1(n)&&Gz(n,i);for(var u=[],f=n;f=f.parentNode;)f.nodeType===Co&&u.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<u.length;g++){var S=u[g];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function $z(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=jz(e),t||{start:0,end:0}}function Gz(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):Uz(e,t)}var Kz=Rt&&"documentMode"in document&&document.documentMode<=11;function Xz(){it("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var nf=null,b1=null,Xp=null,y1=!1;function Qz(e){if("selectionStart"in e&&_1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function Jz(e){return e.window===e?e.document:e.nodeType===Gs?e:e.ownerDocument}function Ax(e,t,n){var i=Jz(n);if(!(y1||nf==null||nf!==Fd(i))){var u=Qz(nf);if(!Xp||!Kp(Xp,u)){Xp=u;var f=vv(b1,"onSelect");if(f.length>0){var g=new f1("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=nf}}}}function Zz(e,t,n,i,u,f,g){var S=n?uf(n):window;switch(t){case"focusin":(yx(S)||S.contentEditable==="true")&&(nf=S,b1=n,Xp=null);break;case"focusout":nf=null,b1=null,Xp=null;break;case"mousedown":y1=!0;break;case"contextmenu":case"mouseup":case"dragend":y1=!1,Ax(e,i,u);break;case"selectionchange":if(Kz)break;case"keydown":case"keyup":Ax(e,i,u)}}function pv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var of={animationend:pv("Animation","AnimationEnd"),animationiteration:pv("Animation","AnimationIteration"),animationstart:pv("Animation","AnimationStart"),transitionend:pv("Transition","TransitionEnd")},S1={},Lx={};Rt&&(Lx=document.createElement("div").style,"AnimationEvent"in window||(delete of.animationend.animation,delete of.animationiteration.animation,delete of.animationstart.animation),"TransitionEvent"in window||delete of.transitionend.transition);function hv(e){if(S1[e])return S1[e];if(!of[e])return e;var t=of[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Lx)return S1[e]=t[n];return e}var Bx=hv("animationend"),Nx=hv("animationiteration"),Ox=hv("animationstart"),Ix=hv("transitionend"),Px=new Map,Mx=["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 Vc(e,t){Px.set(e,t),it(t,[e])}function eF(){for(var e=0;e<Mx.length;e++){var t=Mx[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Vc(n,"on"+i)}Vc(Bx,"onAnimationEnd"),Vc(Nx,"onAnimationIteration"),Vc(Ox,"onAnimationStart"),Vc("dblclick","onDoubleClick"),Vc("focusin","onFocus"),Vc("focusout","onBlur"),Vc(Ix,"onTransitionEnd")}function tF(e,t,n,i,u,f,g){var S=Px.get(t);if(S!==void 0){var C=f1,D=t;switch(t){case"keypress":if(cv(i)===0)return;case"keydown":case"keyup":C=rz;break;case"focusin":D="focus",C=m1;break;case"focusout":D="blur",C=m1;break;case"beforeblur":case"afterblur":C=m1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=cx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=UM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=oz;break;case Bx:case Nx:case Ox:C=qM;break;case Ix:C=lz;break;case"scroll":C=FM;break;case"wheel":C=cz;break;case"copy":case"cut":case"paste":C=$M;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=dx;break}var B=(f&Sp)!==0;{var Z=!B&&t==="scroll",Q=oF(n,S,i.type,B,Z);if(Q.length>0){var _e=new C(S,D,null,i,u);e.push({event:_e,listeners:Q})}}}}eF(),Pz(),Cz(),Xz(),fz();function rF(e,t,n,i,u,f,g){tF(e,t,n,i,u,f);var S=(f&QI)===0;S&&(Mz(e,t,n,i,u),Iz(e,t,n,i,u),Zz(e,t,n,i,u),yz(e,t,n,i,u))}var Qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],w1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Qp));function zx(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,cP(i,t,void 0,e),e.currentTarget=null}function aF(e,t,n){var i;if(n)for(var u=t.length-1;u>=0;u--){var f=t[u],g=f.instance,S=f.currentTarget,C=f.listener;if(g!==i&&e.isPropagationStopped())return;zx(e,C,S),i=g}else for(var D=0;D<t.length;D++){var B=t[D],Z=B.instance,Q=B.currentTarget,_e=B.listener;if(Z!==i&&e.isPropagationStopped())return;zx(e,_e,Q),i=Z}}function Fx(e,t){for(var n=(t&Sp)!==0,i=0;i<e.length;i++){var u=e[i],f=u.event,g=u.listeners;aF(f,g,n)}uP()}function nF(e,t,n,i,u){var f=gb(n),g=[];rF(g,e,i,n,f,t),Fx(g,t)}function Ca(e,t){w1.has(e)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=O9(t),u=sF(e,n);i.has(u)||(jx(t,e,vb,n),i.add(u))}function C1(e,t,n){w1.has(e)&&!t&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=Sp),jx(n,e,i,t)}var mv="_reactListening"+Math.random().toString(36).slice(2);function Jp(e){if(!e[mv]){e[mv]=!0,pt.forEach(function(n){n!=="selectionchange"&&(w1.has(n)||C1(n,!1,e),C1(n,!0,e))});var t=e.nodeType===Gs?e:e.ownerDocument;t!==null&&(t[mv]||(t[mv]=!0,C1("selectionchange",!1,t)))}}function jx(e,t,n,i,u){var f=DM(e,t,n),g=void 0;yb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var S;i?g!==void 0?S=IM(e,t,f,g):S=OM(e,t,f):g!==void 0?S=PM(e,t,f,g):S=NM(e,t,f)}function Hx(e,t){return e===t||e.nodeType===Ja&&e.parentNode===t}function x1(e,t,n,i,u){var f=i;if(!(t&vC)&&!(t&vb)){var g=u;if(i!==null){var S=i;e:for(;;){if(S===null)return;var C=S.tag;if(C===y||C===x){var D=S.stateNode.containerInfo;if(Hx(D,g))break;if(C===x)for(var B=S.return;B!==null;){var Z=B.tag;if(Z===y||Z===x){var Q=B.stateNode.containerInfo;if(Hx(Q,g))return}B=B.return}for(;D!==null;){var _e=Wu(D);if(_e===null)return;var be=_e.tag;if(be===w||be===R){S=f=_e;continue e}D=D.parentNode}}S=S.return}}}wC(function(){return nF(e,t,n,f)})}function Zp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function oF(e,t,n,i,u,f){for(var g=t!==null?t+"Capture":null,S=i?g:t,C=[],D=e,B=null;D!==null;){var Z=D,Q=Z.stateNode,_e=Z.tag;if(_e===w&&Q!==null&&(B=Q,S!==null)){var be=Cp(D,S);be!=null&&C.push(Zp(D,be,B))}if(u)break;D=D.return}return C}function vv(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var f=u,g=f.stateNode,S=f.tag;if(S===w&&g!==null){var C=g,D=Cp(u,n);D!=null&&i.unshift(Zp(u,D,C));var B=Cp(u,t);B!=null&&i.push(Zp(u,B,C))}u=u.return}return i}function lf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function iF(e,t){for(var n=e,i=t,u=0,f=n;f;f=lf(f))u++;for(var g=0,S=i;S;S=lf(S))g++;for(;u-g>0;)n=lf(n),u--;for(;g-u>0;)i=lf(i),g--;for(var C=u;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=lf(n),i=lf(i)}return null}function Ux(e,t,n,i,u){for(var f=t._reactName,g=[],S=n;S!==null&&S!==i;){var C=S,D=C.alternate,B=C.stateNode,Z=C.tag;if(D!==null&&D===i)break;if(Z===w&&B!==null){var Q=B;if(u){var _e=Cp(S,f);_e!=null&&g.unshift(Zp(S,_e,Q))}else if(!u){var be=Cp(S,f);be!=null&&g.push(Zp(S,be,Q))}}S=S.return}g.length!==0&&e.push({event:t,listeners:g})}function lF(e,t,n,i,u){var f=i&&u?iF(i,u):null;i!==null&&Ux(e,t,i,f,!1),u!==null&&n!==null&&Ux(e,n,u,f,!0)}function sF(e,t){return e+"__"+(t?"capture":"bubble")}var xo=!1,eh="dangerouslySetInnerHTML",gv="suppressContentEditableWarning",Wc="suppressHydrationWarning",Vx="autoFocus",Uu="children",Vu="style",_v="__html",k1,bv,th,Wx,yv,qx,Yx;k1={dialog:!0,webview:!0},bv=function(e,t){WI(e,t),qI(e,t),XI(e,t,{registrationNameDependencies:kt,possibleRegistrationNames:vt})},qx=Rt&&!document.documentMode,th=function(e,t,n){if(!xo){var i=Sv(n),u=Sv(t);u!==i&&(xo=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},Wx=function(e){if(!xo){xo=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},yv=function(e,t){t===!1?c("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):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Yx=function(e,t){var n=e.namespaceURI===Ys?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var cF=/\r\n?/g,uF=/\u0000|\uFFFD/g;function Sv(e){Kr(e);var t=typeof e=="string"?e:""+e;return t.replace(cF,`
|
|
32
|
+
`).replace(uF,"")}function wv(e,t,n,i){var u=Sv(t),f=Sv(e);if(f!==u&&(i&&(xo||(xo=!0,c('Text content did not match. Server: "%s" Client: "%s"',f,u))),n&&$))throw new Error("Text content does not match server-rendered HTML.")}function $x(e){return e.nodeType===Gs?e:e.ownerDocument}function dF(){}function Cv(e){e.onclick=dF}function fF(e,t,n,i,u){for(var f in i)if(i.hasOwnProperty(f)){var g=i[f];if(f===Vu)g&&Object.freeze(g),uC(t,g);else if(f===eh){var S=g?g[_v]:void 0;S!=null&&oC(t,S)}else if(f===Uu)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&qm(t,g)}else typeof g=="number"&&qm(t,""+g);else f===gv||f===Wc||f===Vx||(kt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&yv(f,g),f==="onScroll"&&Ca("scroll",t)):g!=null&&z(t,f,g,u))}}function pF(e,t,n,i){for(var u=0;u<t.length;u+=2){var f=t[u],g=t[u+1];f===Vu?uC(e,g):f===eh?oC(e,g):f===Uu?qm(e,g):z(e,f,g,i)}}function hF(e,t,n,i){var u,f=$x(n),g,S=i;if(S===Ys&&(S=ub(e)),S===Ys){if(u=Au(e,t),!u&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=f.createElement("div");C.innerHTML="<script></script>";var D=C.firstChild;g=C.removeChild(D)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var B=g;t.multiple?B.multiple=!0:t.size&&(B.size=t.size)}}else g=f.createElementNS(S,e);return S===Ys&&!u&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!Ut.call(k1,e)&&(k1[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function mF(e,t){return $x(t).createTextNode(e)}function vF(e,t,n,i){var u=Au(t,n);bv(t,n);var f;switch(t){case"dialog":Ca("cancel",e),Ca("close",e),f=n;break;case"iframe":case"object":case"embed":Ca("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Qp.length;g++)Ca(Qp[g],e);f=n;break;case"source":Ca("error",e),f=n;break;case"img":case"image":case"link":Ca("error",e),Ca("load",e),f=n;break;case"details":Ca("toggle",e),f=n;break;case"input":De(e,n),f=ve(e,n),Ca("invalid",e);break;case"option":Ba(e,n),f=n;break;case"select":eC(e,n),f=bp(e,n),Ca("invalid",e);break;case"textarea":rC(e,n),f=sb(e,n),Ca("invalid",e);break;default:f=n}switch(mb(t,f),fF(t,e,i,f,u),t){case"input":Mc(e),xt(e,n,!1);break;case"textarea":Mc(e),nC(e);break;case"option":on(e,n);break;case"select":fI(e,n);break;default:typeof f.onClick=="function"&&Cv(e);break}}function gF(e,t,n,i,u){bv(t,i);var f=null,g,S;switch(t){case"input":g=ve(e,n),S=ve(e,i),f=[];break;case"select":g=bp(e,n),S=bp(e,i),f=[];break;case"textarea":g=sb(e,n),S=sb(e,i),f=[];break;default:g=n,S=i,typeof g.onClick!="function"&&typeof S.onClick=="function"&&Cv(e);break}mb(t,S);var C,D,B=null;for(C in g)if(!(S.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Vu){var Z=g[C];for(D in Z)Z.hasOwnProperty(D)&&(B||(B={}),B[D]="")}else C===eh||C===Uu||C===gv||C===Wc||C===Vx||(kt.hasOwnProperty(C)?f||(f=[]):(f=f||[]).push(C,null));for(C in S){var Q=S[C],_e=g!=null?g[C]:void 0;if(!(!S.hasOwnProperty(C)||Q===_e||Q==null&&_e==null))if(C===Vu)if(Q&&Object.freeze(Q),_e){for(D in _e)_e.hasOwnProperty(D)&&(!Q||!Q.hasOwnProperty(D))&&(B||(B={}),B[D]="");for(D in Q)Q.hasOwnProperty(D)&&_e[D]!==Q[D]&&(B||(B={}),B[D]=Q[D])}else B||(f||(f=[]),f.push(C,B)),B=Q;else if(C===eh){var be=Q?Q[_v]:void 0,Re=_e?_e[_v]:void 0;be!=null&&Re!==be&&(f=f||[]).push(C,be)}else C===Uu?(typeof Q=="string"||typeof Q=="number")&&(f=f||[]).push(C,""+Q):C===gv||C===Wc||(kt.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&yv(C,Q),C==="onScroll"&&Ca("scroll",e)),!f&&_e!==Q&&(f=[])):(f=f||[]).push(C,Q))}return B&&(PI(B,S[Vu]),(f=f||[]).push(Vu,B)),f}function _F(e,t,n,i,u){n==="input"&&u.type==="radio"&&u.name!=null&&et(e,u);var f=Au(n,i),g=Au(n,u);switch(pF(e,t,f,g),n){case"input":Mt(e,u);break;case"textarea":aC(e,u);break;case"select":pI(e,u);break}}function bF(e){{var t=e.toLowerCase();return Ym.hasOwnProperty(t)&&Ym[t]||null}}function yF(e,t,n,i,u,f,g){var S,C;switch(S=Au(t,n),bv(t,n),t){case"dialog":Ca("cancel",e),Ca("close",e);break;case"iframe":case"object":case"embed":Ca("load",e);break;case"video":case"audio":for(var D=0;D<Qp.length;D++)Ca(Qp[D],e);break;case"source":Ca("error",e);break;case"img":case"image":case"link":Ca("error",e),Ca("load",e);break;case"details":Ca("toggle",e);break;case"input":De(e,n),Ca("invalid",e);break;case"option":Ba(e,n);break;case"select":eC(e,n),Ca("invalid",e);break;case"textarea":rC(e,n),Ca("invalid",e);break}mb(t,n);{C=new Set;for(var B=e.attributes,Z=0;Z<B.length;Z++){var Q=B[Z].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(B[Z].name)}}}var _e=null;for(var be in n)if(n.hasOwnProperty(be)){var Re=n[be];if(be===Uu)typeof Re=="string"?e.textContent!==Re&&(n[Wc]!==!0&&wv(e.textContent,Re,f,g),_e=[Uu,Re]):typeof Re=="number"&&e.textContent!==""+Re&&(n[Wc]!==!0&&wv(e.textContent,Re,f,g),_e=[Uu,""+Re]);else if(kt.hasOwnProperty(be))Re!=null&&(typeof Re!="function"&&yv(be,Re),be==="onScroll"&&Ca("scroll",e));else if(g&&typeof S=="boolean"){var ot=void 0,Ot=S&&Ie?null:te(be);if(n[Wc]!==!0){if(!(be===gv||be===Wc||be==="value"||be==="checked"||be==="selected")){if(be===eh){var Tt=e.innerHTML,vr=Re?Re[_v]:void 0;if(vr!=null){var gr=Yx(e,vr);gr!==Tt&&th(be,Tt,gr)}}else if(be===Vu){if(C.delete(be),qx){var de=OI(Re);ot=e.getAttribute("style"),de!==ot&&th(be,ot,de)}}else if(S&&!Ie)C.delete(be.toLowerCase()),ot=tt(e,be,Re),Re!==ot&&th(be,ot,Re);else if(!_r(be,Ot,S)&&!O(be,Re,Ot,S)){var Ae=!1;if(Ot!==null)C.delete(Ot.attributeName),ot=Ne(e,be,Re,Ot);else{var fe=i;if(fe===Ys&&(fe=ub(t)),fe===Ys)C.delete(be.toLowerCase());else{var Xe=bF(be);Xe!==null&&Xe!==be&&(Ae=!0,C.delete(Xe)),C.delete(be)}ot=tt(e,be,Re)}var ht=Ie;!ht&&Re!==ot&&!Ae&&th(be,ot,Re)}}}}}switch(g&&C.size>0&&n[Wc]!==!0&&Wx(C),t){case"input":Mc(e),xt(e,n,!0);break;case"textarea":Mc(e),nC(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&Cv(e);break}return _e}function SF(e,t,n){var i=e.nodeValue!==t;return i}function T1(e,t){{if(xo)return;xo=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function R1(e,t){{if(xo)return;xo=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function E1(e,t,n){{if(xo)return;xo=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function D1(e,t){{if(t===""||xo)return;xo=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function wF(e,t,n){switch(t){case"input":nr(e,n);return;case"textarea":mI(e,n);return;case"select":hI(e,n);return}}var rh=function(){},ah=function(){};{var CF=["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"],Gx=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xF=Gx.concat(["button"]),kF=["dd","dt","li","option","optgroup","p","rp","rt"],Kx={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ah=function(e,t){var n=It({},e||Kx),i={tag:t};return Gx.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),xF.indexOf(t)!==-1&&(n.pTagInButtonScope=null),CF.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var TF=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 kF.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},RF=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},Xx={};rh=function(e,t,n){n=n||Kx;var i=n.current,u=i&&i.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var f=TF(e,u)?null:i,g=f?null:RF(e,n),S=f||g;if(S){var C=S.tag,D=!!f+"|"+e+"|"+C;if(!Xx[D]){Xx[D]=!0;var B=e,Z="";if(e==="#text"?/\S/.test(t)?B="Text nodes":(B="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+e+">",f){var Q="";C==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,C,Z,Q)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,C)}}}}var xv="suppressHydrationWarning",kv="$",Tv="/$",nh="$?",oh="$!",EF="style",A1=null,L1=null;function DF(e){var t,n,i=e.nodeType;switch(i){case Gs:case fb:{t=i===Gs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:db(null,"");break}default:{var f=i===Ja?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=db(g,t);break}}{var S=t.toLowerCase(),C=ah(null,S);return{namespace:n,ancestorInfo:C}}}function AF(e,t,n){{var i=e,u=db(i.namespace,t),f=ah(i.ancestorInfo,t);return{namespace:u,ancestorInfo:f}}}function cG(e){return e}function LF(e){A1=EM(),L1=qz();var t=null;return nx(!1),t}function BF(e){Yz(L1),nx(A1),A1=null,L1=null}function NF(e,t,n,i,u){var f;{var g=i;if(rh(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,C=ah(g.ancestorInfo,e);rh(null,S,C)}f=g.namespace}var D=hF(e,t,n,f);return sh(u,D),F1(D,t),D}function OF(e,t){e.appendChild(t)}function IF(e,t,n,i,u){switch(vF(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function PF(e,t,n,i,u,f){{var g=f;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var S=""+i.children,C=ah(g.ancestorInfo,t);rh(null,S,C)}}return gF(e,t,n,i)}function B1(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 MF(e,t,n,i){{var u=n;rh(null,e,u.ancestorInfo)}var f=mF(e,t);return sh(i,f),f}function zF(){var e=window.event;return e===void 0?tc:ox(e.type)}var N1=typeof setTimeout=="function"?setTimeout:void 0,FF=typeof clearTimeout=="function"?clearTimeout:void 0,O1=-1,Qx=typeof Promise=="function"?Promise:void 0,jF=typeof queueMicrotask=="function"?queueMicrotask:typeof Qx!="undefined"?function(e){return Qx.resolve(null).then(e).catch(HF)}:N1;function HF(e){setTimeout(function(){throw e})}function UF(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function VF(e,t,n,i,u,f){_F(e,t,n,i,u),F1(e,u)}function Jx(e){qm(e,"")}function WF(e,t,n){e.nodeValue=n}function qF(e,t){e.appendChild(t)}function YF(e,t){var n;e.nodeType===Ja?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&Cv(n)}function $F(e,t,n){e.insertBefore(t,n)}function GF(e,t,n){e.nodeType===Ja?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function KF(e,t){e.removeChild(t)}function XF(e,t){e.nodeType===Ja?e.parentNode.removeChild(t):e.removeChild(t)}function I1(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Ja){var f=u.data;if(f===Tv)if(i===0){e.removeChild(u),Hp(t);return}else i--;else(f===kv||f===nh||f===oh)&&i++}n=u}while(n);Hp(t)}function QF(e,t){e.nodeType===Ja?I1(e.parentNode,t):e.nodeType===Co&&I1(e,t),Hp(e)}function JF(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function ZF(e){e.nodeValue=""}function e9(e,t){e=e;var n=t[EF],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=pb("display",i)}function t9(e,t){e.nodeValue=t}function r9(e){e.nodeType===Co?e.textContent="":e.nodeType===Gs&&e.documentElement&&e.removeChild(e.documentElement)}function a9(e,t,n){return e.nodeType!==Co||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function n9(e,t){return t===""||e.nodeType!==$s?null:e}function o9(e){return e.nodeType!==Ja?null:e}function Zx(e){return e.data===nh}function P1(e){return e.data===oh}function i9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,u;return t&&(n=t.dgst,i=t.msg,u=t.stck),{message:i,digest:n,stack:u}}function l9(e,t){e._reactRetry=t}function Rv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Co||t===$s)break;if(t===Ja){var n=e.data;if(n===kv||n===oh||n===nh)break;if(n===Tv)return null}}return e}function ih(e){return Rv(e.nextSibling)}function s9(e){return Rv(e.firstChild)}function c9(e){return Rv(e.firstChild)}function u9(e){return Rv(e.nextSibling)}function d9(e,t,n,i,u,f,g){sh(f,e),F1(e,n);var S;{var C=u;S=C.namespace}var D=(f.mode&br)!==Pt;return yF(e,t,n,S,i,D,g)}function f9(e,t,n,i){sh(n,e);var u=(n.mode&br)!==Pt;return SF(e,t)}function p9(e,t){sh(t,e)}function h9(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===Tv){if(n===0)return ih(t);n--}else(i===kv||i===oh||i===nh)&&n++}t=t.nextSibling}return null}function e3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===kv||i===oh||i===nh){if(n===0)return t;n--}else i===Tv&&n++}t=t.previousSibling}return null}function m9(e){Hp(e)}function v9(e){Hp(e)}function g9(e){return e!=="head"&&e!=="body"}function _9(e,t,n,i){var u=!0;wv(t.nodeValue,n,i,u)}function b9(e,t,n,i,u,f){if(t[xv]!==!0){var g=!0;wv(i.nodeValue,u,f,g)}}function y9(e,t){t.nodeType===Co?T1(e,t):t.nodeType===Ja||R1(e,t)}function S9(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Co?T1(n,t):t.nodeType===Ja||R1(n,t))}}function w9(e,t,n,i,u){(u||t[xv]!==!0)&&(i.nodeType===Co?T1(n,i):i.nodeType===Ja||R1(n,i))}function C9(e,t,n){E1(e,t)}function x9(e,t){D1(e,t)}function k9(e,t,n){{var i=e.parentNode;i!==null&&E1(i,t)}}function T9(e,t){{var n=e.parentNode;n!==null&&D1(n,t)}}function R9(e,t,n,i,u,f){(f||t[xv]!==!0)&&E1(n,i)}function E9(e,t,n,i,u){(u||t[xv]!==!0)&&D1(n,i)}function D9(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function A9(e){Jp(e)}var sf=Math.random().toString(36).slice(2),cf="__reactFiber$"+sf,M1="__reactProps$"+sf,lh="__reactContainer$"+sf,z1="__reactEvents$"+sf,L9="__reactListeners$"+sf,B9="__reactHandles$"+sf;function N9(e){delete e[cf],delete e[M1],delete e[z1],delete e[L9],delete e[B9]}function sh(e,t){t[cf]=e}function Ev(e,t){t[lh]=e}function t3(e){e[lh]=null}function ch(e){return!!e[lh]}function Wu(e){var t=e[cf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[lh]||n[cf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=e3(e);u!==null;){var f=u[cf];if(f)return f;u=e3(u)}return t}e=n,n=e.parentNode}return null}function qc(e){var t=e[cf]||e[lh];return t&&(t.tag===w||t.tag===R||t.tag===J||t.tag===y)?t:null}function uf(e){if(e.tag===w||e.tag===R)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Dv(e){return e[M1]||null}function F1(e,t){e[M1]=t}function O9(e){var t=e[z1];return t===void 0&&(t=e[z1]=new Set),t}var r3={},a3=o.ReactDebugCurrentFrame;function Av(e){if(e){var t=e._owner,n=Nd(e.type,e._source,t?t.type:null);a3.setExtraStackFrame(n)}else a3.setExtraStackFrame(null)}function $l(e,t,n,i,u){{var f=Function.call.bind(Ut);for(var g in e)if(f(e,g)){var S=void 0;try{if(typeof e[g]!="function"){var C=Error((i||"React class")+": "+n+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}S=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(D){S=D}S&&!(S instanceof Error)&&(Av(u),c("%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).",i||"React class",n,g,typeof S),Av(null)),S instanceof Error&&!(S.message in r3)&&(r3[S.message]=!0,Av(u),c("Failed %s type: %s",n,S.message),Av(null))}}}var j1=[],Lv;Lv=[];var rc=-1;function Yc(e){return{current:e}}function Un(e,t){if(rc<0){c("Unexpected pop.");return}t!==Lv[rc]&&c("Unexpected Fiber popped."),e.current=j1[rc],j1[rc]=null,Lv[rc]=null,rc--}function Vn(e,t,n){rc++,j1[rc]=e.current,Lv[rc]=n,e.current=t}var H1;H1={};var Yo={};Object.freeze(Yo);var ac=Yc(Yo),Cs=Yc(!1),U1=Yo;function df(e,t,n){return n&&xs(t)?U1:ac.current}function n3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function ff(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Yo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={};for(var g in i)f[g]=t[g];{var S=or(e)||"Unknown";$l(i,f,"context",S)}return u&&n3(e,t,f),f}}function Bv(){return Cs.current}function xs(e){{var t=e.childContextTypes;return t!=null}}function Nv(e){Un(Cs,e),Un(ac,e)}function V1(e){Un(Cs,e),Un(ac,e)}function o3(e,t,n){{if(ac.current!==Yo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Vn(ac,t,e),Vn(Cs,n,e)}}function i3(e,t,n){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var f=or(e)||"Unknown";H1[f]||(H1[f]=!0,c("%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.",f,f))}return n}var g=i.getChildContext();for(var S in g)if(!(S in u))throw new Error((or(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var C=or(e)||"Unknown";$l(u,g,"child context",C)}return It({},n,g)}}function Ov(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Yo;return U1=ac.current,Vn(ac,n,e),Vn(Cs,Cs.current,e),!0}}function l3(e,t,n){{var i=e.stateNode;if(!i)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(n){var u=i3(e,t,U1);i.__reactInternalMemoizedMergedChildContext=u,Un(Cs,e),Un(ac,e),Vn(ac,u,e),Vn(Cs,n,e)}else Un(Cs,e),Vn(Cs,n,e)}}function I9(e){{if(!gP(e)||e.tag!==v)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 y:return t.stateNode.context;case v:{var n=t.type;if(xs(n))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 $c=0,Iv=1,nc=null,W1=!1,q1=!1;function s3(e){nc===null?nc=[e]:nc.push(e)}function P9(e){W1=!0,s3(e)}function c3(){W1&&Gc()}function Gc(){if(!q1&&nc!==null){q1=!0;var e=0,t=Yl();try{var n=!0,i=nc;for(Cn(Vo);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}nc=null,W1=!1}catch(f){throw nc!==null&&(nc=nc.slice(e+1)),NC(Qm,Gc),f}finally{Cn(t),q1=!1}}return null}var pf=[],hf=0,Pv=null,Mv=0,Cl=[],xl=0,qu=null,oc=1,ic="";function M9(e){return $u(),(e.flags&kC)!==Vt}function z9(e){return $u(),Mv}function F9(){var e=ic,t=oc,n=t&~j9(t);return n.toString(32)+e}function Yu(e,t){$u(),pf[hf++]=Mv,pf[hf++]=Pv,Pv=e,Mv=t}function u3(e,t,n){$u(),Cl[xl++]=oc,Cl[xl++]=ic,Cl[xl++]=qu,qu=e;var i=oc,u=ic,f=zv(i)-1,g=i&~(1<<f),S=n+1,C=zv(t)+f;if(C>30){var D=f-f%5,B=(1<<D)-1,Z=(g&B).toString(32),Q=g>>D,_e=f-D,be=zv(t)+_e,Re=S<<_e,ot=Re|Q,Ot=Z+u;oc=1<<be|ot,ic=Ot}else{var Tt=S<<f,vr=Tt|g,gr=u;oc=1<<C|vr,ic=gr}}function Y1(e){$u();var t=e.return;if(t!==null){var n=1,i=0;Yu(e,n),u3(e,n,i)}}function zv(e){return 32-FC(e)}function j9(e){return 1<<zv(e)-1}function $1(e){for(;e===Pv;)Pv=pf[--hf],pf[hf]=null,Mv=pf[--hf],pf[hf]=null;for(;e===qu;)qu=Cl[--xl],Cl[xl]=null,ic=Cl[--xl],Cl[xl]=null,oc=Cl[--xl],Cl[xl]=null}function H9(){return $u(),qu!==null?{id:oc,overflow:ic}:null}function U9(e,t){$u(),Cl[xl++]=oc,Cl[xl++]=ic,Cl[xl++]=qu,oc=t.id,ic=t.overflow,qu=e}function $u(){Dn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var En=null,kl=null,Gl=!1,Gu=!1,Kc=null;function V9(){Gl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function d3(){Gu=!0}function W9(){return Gu}function q9(e){var t=e.stateNode.containerInfo;return kl=c9(t),En=e,Gl=!0,Kc=null,Gu=!1,!0}function Y9(e,t,n){return kl=u9(t),En=e,Gl=!0,Kc=null,Gu=!1,n!==null&&U9(e,n),!0}function f3(e,t){switch(e.tag){case y:{y9(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&br)!==Pt;w9(e.type,e.memoizedProps,e.stateNode,t,n);break}case J:{var i=e.memoizedState;i.dehydrated!==null&&S9(i.dehydrated,t);break}}}function p3(e,t){f3(e,t);var n=tV();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Lu):i.push(n)}function G1(e,t){{if(Gu)return;switch(e.tag){case y:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,u=t.pendingProps;C9(n,i);break;case R:var f=t.pendingProps;x9(n,f);break}break}case w:{var g=e.type,S=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var D=t.type,B=t.pendingProps,Z=(e.mode&br)!==Pt;R9(g,S,C,D,B,Z);break}case R:{var Q=t.pendingProps,_e=(e.mode&br)!==Pt;E9(g,S,C,Q,_e);break}}break}case J:{var be=e.memoizedState,Re=be.dehydrated;if(Re!==null)switch(t.tag){case w:var ot=t.type,Ot=t.pendingProps;k9(Re,ot);break;case R:var Tt=t.pendingProps;T9(Re,Tt);break}break}default:return}}}function h3(e,t){t.flags=t.flags&~Xs|Za,G1(e,t)}function m3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,u=a9(t,n);return u!==null?(e.stateNode=u,En=e,kl=s9(u),!0):!1}case R:{var f=e.pendingProps,g=n9(t,f);return g!==null?(e.stateNode=g,En=e,kl=null,!0):!1}case J:{var S=o9(t);if(S!==null){var C={dehydrated:S,treeContext:H9(),retryLane:Ho};e.memoizedState=C;var D=rV(S);return D.return=e,e.child=D,En=e,kl=null,!0}return!1}default:return!1}}function K1(e){return(e.mode&br)!==Pt&&(e.flags&zr)===Vt}function X1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Q1(e){if(Gl){var t=kl;if(!t){K1(e)&&(G1(En,e),X1()),h3(En,e),Gl=!1,En=e;return}var n=t;if(!m3(e,t)){K1(e)&&(G1(En,e),X1()),t=ih(n);var i=En;if(!t||!m3(e,t)){h3(En,e),Gl=!1,En=e;return}p3(i,n)}}}function $9(e,t,n){var i=e.stateNode,u=!Gu,f=d9(i,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=f,f!==null}function G9(e){var t=e.stateNode,n=e.memoizedProps,i=f9(t,n,e);if(i){var u=En;if(u!==null)switch(u.tag){case y:{var f=u.stateNode.containerInfo,g=(u.mode&br)!==Pt;_9(f,t,n,g);break}case w:{var S=u.type,C=u.memoizedProps,D=u.stateNode,B=(u.mode&br)!==Pt;b9(S,C,D,t,n,B);break}}}return i}function K9(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");p9(n,e)}function X9(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)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 h9(n)}function v3(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==y&&t.tag!==J;)t=t.return;En=t}function Fv(e){if(e!==En)return!1;if(!Gl)return v3(e),Gl=!0,!1;if(e.tag!==y&&(e.tag!==w||g9(e.type)&&!B1(e.type,e.memoizedProps))){var t=kl;if(t)if(K1(e))g3(e),X1();else for(;t;)p3(e,t),t=ih(t)}return v3(e),e.tag===J?kl=X9(e):kl=En?ih(e.stateNode):null,!0}function Q9(){return Gl&&kl!==null}function g3(e){for(var t=kl;t;)f3(e,t),t=ih(t)}function mf(){En=null,kl=null,Gl=!1,Gu=!1}function _3(){Kc!==null&&(fT(Kc),Kc=null)}function Dn(){return Gl}function J1(e){Kc===null?Kc=[e]:Kc.push(e)}var J9=o.ReactCurrentBatchConfig,Z9=null;function ej(){return J9.transition}var Kl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tj=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Ku=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},uh=[],dh=[],fh=[],ph=[],hh=[],mh=[],Xu=new Set;Kl.recordUnsafeLifecycleWarnings=function(e,t){Xu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&uh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&dh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&fh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ph.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&hh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&mh.push(e))},Kl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;uh.length>0&&(uh.forEach(function(Q){e.add(or(Q)||"Component"),Xu.add(Q.type)}),uh=[]);var t=new Set;dh.length>0&&(dh.forEach(function(Q){t.add(or(Q)||"Component"),Xu.add(Q.type)}),dh=[]);var n=new Set;fh.length>0&&(fh.forEach(function(Q){n.add(or(Q)||"Component"),Xu.add(Q.type)}),fh=[]);var i=new Set;ph.length>0&&(ph.forEach(function(Q){i.add(or(Q)||"Component"),Xu.add(Q.type)}),ph=[]);var u=new Set;hh.length>0&&(hh.forEach(function(Q){u.add(or(Q)||"Component"),Xu.add(Q.type)}),hh=[]);var f=new Set;if(mh.length>0&&(mh.forEach(function(Q){f.add(or(Q)||"Component"),Xu.add(Q.type)}),mh=[]),t.size>0){var g=Ku(t);c(`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.
|
|
33
33
|
|
|
34
34
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
35
35
|
|
|
@@ -68,7 +68,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}
|
|
|
68
68
|
1. You may be adding a ref to a function component
|
|
69
69
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
70
70
|
3. You have multiple copies of React loaded
|
|
71
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Hv(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Uv(e){{var t=or(e)||"Component";if(ay[t])return;ay[t]=!0,c("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 S3(e){var t=e._payload,n=e._init;return n(t)}function w3(e){function t(de,Ae){if(e){var fe=de.deletions;fe===null?(de.deletions=[Ae],de.flags|=Lu):fe.push(Ae)}}function n(de,Ae){if(!e)return null;for(var fe=Ae;fe!==null;)t(de,fe),fe=fe.sibling;return null}function i(de,Ae){for(var fe=new Map,Xe=Ae;Xe!==null;)Xe.key!==null?fe.set(Xe.key,Xe):fe.set(Xe.index,Xe),Xe=Xe.sibling;return fe}function u(de,Ae){var fe=od(de,Ae);return fe.index=0,fe.sibling=null,fe}function f(de,Ae,fe){if(de.index=fe,!e)return de.flags|=kC,Ae;var Xe=de.alternate;if(Xe!==null){var ht=Xe.index;return ht<Ae?(de.flags|=Za,Ae):ht}else return de.flags|=Za,Ae}function g(de){return e&&de.alternate===null&&(de.flags|=Za),de}function S(de,Ae,fe,Xe){if(Ae===null||Ae.tag!==R){var ht=Z0(fe,de.mode,Xe);return ht.return=de,ht}else{var lt=u(Ae,fe);return lt.return=de,lt}}function C(de,Ae,fe,Xe){var ht=fe.type;if(ht===ce)return B(de,Ae,fe.props.children,Xe,fe.key);if(Ae!==null&&(Ae.elementType===ht||ET(Ae,fe)||typeof ht=="object"&&ht!==null&&ht.$$typeof===rt&&S3(ht)===Ae.type)){var lt=u(Ae,fe.props);return lt.ref=vh(de,Ae,fe),lt.return=de,lt._debugSource=fe._source,lt._debugOwner=fe._owner,lt}var qt=J0(fe,de.mode,Xe);return qt.ref=vh(de,Ae,fe),qt.return=de,qt}function D(de,Ae,fe,Xe){if(Ae===null||Ae.tag!==x||Ae.stateNode.containerInfo!==fe.containerInfo||Ae.stateNode.implementation!==fe.implementation){var ht=e2(fe,de.mode,Xe);return ht.return=de,ht}else{var lt=u(Ae,fe.children||[]);return lt.return=de,lt}}function B(de,Ae,fe,Xe,ht){if(Ae===null||Ae.tag!==N){var lt=iu(fe,de.mode,Xe,ht);return lt.return=de,lt}else{var qt=u(Ae,fe);return qt.return=de,qt}}function Z(de,Ae,fe){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"){var Xe=Z0(""+Ae,de.mode,fe);return Xe.return=de,Xe}if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case q:{var ht=J0(Ae,de.mode,fe);return ht.ref=vh(de,null,Ae),ht.return=de,ht}case ae:{var lt=e2(Ae,de.mode,fe);return lt.return=de,lt}case rt:{var qt=Ae._payload,er=Ae._init;return Z(de,er(qt),fe)}}if(ln(Ae)||Qa(Ae)){var ta=iu(Ae,de.mode,fe,null);return ta.return=de,ta}Hv(de,Ae)}return typeof Ae=="function"&&Uv(de),null}function Q(de,Ae,fe,Xe){var ht=Ae!==null?Ae.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return ht!==null?null:S(de,Ae,""+fe,Xe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:return fe.key===ht?C(de,Ae,fe,Xe):null;case ae:return fe.key===ht?D(de,Ae,fe,Xe):null;case rt:{var lt=fe._payload,qt=fe._init;return Q(de,Ae,qt(lt),Xe)}}if(ln(fe)||Qa(fe))return ht!==null?null:B(de,Ae,fe,Xe,null);Hv(de,fe)}return typeof fe=="function"&&Uv(de),null}function _e(de,Ae,fe,Xe,ht){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number"){var lt=de.get(fe)||null;return S(Ae,lt,""+Xe,ht)}if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case q:{var qt=de.get(Xe.key===null?fe:Xe.key)||null;return C(Ae,qt,Xe,ht)}case ae:{var er=de.get(Xe.key===null?fe:Xe.key)||null;return D(Ae,er,Xe,ht)}case rt:var ta=Xe._payload,Br=Xe._init;return _e(de,Ae,fe,Br(ta),ht)}if(ln(Xe)||Qa(Xe)){var qa=de.get(fe)||null;return B(Ae,qa,Xe,ht,null)}Hv(Ae,Xe)}return typeof Xe=="function"&&Uv(Ae),null}function be(de,Ae,fe){{if(typeof de!="object"||de===null)return Ae;switch(de.$$typeof){case q:case ae:y3(de,fe);var Xe=de.key;if(typeof Xe!="string")break;if(Ae===null){Ae=new Set,Ae.add(Xe);break}if(!Ae.has(Xe)){Ae.add(Xe);break}c("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 \u2014 the behavior is unsupported and could change in a future version.",Xe);break;case rt:var ht=de._payload,lt=de._init;be(lt(ht),Ae,fe);break}}return Ae}function Re(de,Ae,fe,Xe){for(var ht=null,lt=0;lt<fe.length;lt++){var qt=fe[lt];ht=be(qt,ht,de)}for(var er=null,ta=null,Br=Ae,qa=0,Nr=0,za=null;Br!==null&&Nr<fe.length;Nr++){Br.index>Nr?(za=Br,Br=null):za=Br.sibling;var qn=Q(de,Br,fe[Nr],Xe);if(qn===null){Br===null&&(Br=za);break}e&&Br&&qn.alternate===null&&t(de,Br),qa=f(qn,qa,Nr),ta===null?er=qn:ta.sibling=qn,ta=qn,Br=za}if(Nr===fe.length){if(n(de,Br),Dn()){var Pn=Nr;Yu(de,Pn)}return er}if(Br===null){for(;Nr<fe.length;Nr++){var Go=Z(de,fe[Nr],Xe);Go!==null&&(qa=f(Go,qa,Nr),ta===null?er=Go:ta.sibling=Go,ta=Go)}if(Dn()){var io=Nr;Yu(de,io)}return er}for(var lo=i(de,Br);Nr<fe.length;Nr++){var Yn=_e(lo,de,Nr,fe[Nr],Xe);Yn!==null&&(e&&Yn.alternate!==null&&lo.delete(Yn.key===null?Nr:Yn.key),qa=f(Yn,qa,Nr),ta===null?er=Yn:ta.sibling=Yn,ta=Yn)}if(e&&lo.forEach(function(Of){return t(de,Of)}),Dn()){var pc=Nr;Yu(de,pc)}return er}function ot(de,Ae,fe,Xe){var ht=Qa(fe);if(typeof ht!="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"&&fe[Symbol.toStringTag]==="Generator"&&(ey||c("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."),ey=!0),fe.entries===ht&&(Z1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Z1=!0);var lt=ht.call(fe);if(lt)for(var qt=null,er=lt.next();!er.done;er=lt.next()){var ta=er.value;qt=be(ta,qt,de)}}var Br=ht.call(fe);if(Br==null)throw new Error("An iterable object provided no iterator.");for(var qa=null,Nr=null,za=Ae,qn=0,Pn=0,Go=null,io=Br.next();za!==null&&!io.done;Pn++,io=Br.next()){za.index>Pn?(Go=za,za=null):Go=za.sibling;var lo=Q(de,za,io.value,Xe);if(lo===null){za===null&&(za=Go);break}e&&za&&lo.alternate===null&&t(de,za),qn=f(lo,qn,Pn),Nr===null?qa=lo:Nr.sibling=lo,Nr=lo,za=Go}if(io.done){if(n(de,za),Dn()){var Yn=Pn;Yu(de,Yn)}return qa}if(za===null){for(;!io.done;Pn++,io=Br.next()){var pc=Z(de,io.value,Xe);pc!==null&&(qn=f(pc,qn,Pn),Nr===null?qa=pc:Nr.sibling=pc,Nr=pc)}if(Dn()){var Of=Pn;Yu(de,Of)}return qa}for(var Gh=i(de,za);!io.done;Pn++,io=Br.next()){var Bs=_e(Gh,de,Pn,io.value,Xe);Bs!==null&&(e&&Bs.alternate!==null&&Gh.delete(Bs.key===null?Pn:Bs.key),qn=f(Bs,qn,Pn),Nr===null?qa=Bs:Nr.sibling=Bs,Nr=Bs)}if(e&&Gh.forEach(function(NV){return t(de,NV)}),Dn()){var BV=Pn;Yu(de,BV)}return qa}function Ot(de,Ae,fe,Xe){if(Ae!==null&&Ae.tag===R){n(de,Ae.sibling);var ht=u(Ae,fe);return ht.return=de,ht}n(de,Ae);var lt=Z0(fe,de.mode,Xe);return lt.return=de,lt}function Tt(de,Ae,fe,Xe){for(var ht=fe.key,lt=Ae;lt!==null;){if(lt.key===ht){var qt=fe.type;if(qt===ce){if(lt.tag===N){n(de,lt.sibling);var er=u(lt,fe.props.children);return er.return=de,er._debugSource=fe._source,er._debugOwner=fe._owner,er}}else if(lt.elementType===qt||ET(lt,fe)||typeof qt=="object"&&qt!==null&&qt.$$typeof===rt&&S3(qt)===lt.type){n(de,lt.sibling);var ta=u(lt,fe.props);return ta.ref=vh(de,lt,fe),ta.return=de,ta._debugSource=fe._source,ta._debugOwner=fe._owner,ta}n(de,lt);break}else t(de,lt);lt=lt.sibling}if(fe.type===ce){var Br=iu(fe.props.children,de.mode,Xe,fe.key);return Br.return=de,Br}else{var qa=J0(fe,de.mode,Xe);return qa.ref=vh(de,Ae,fe),qa.return=de,qa}}function vr(de,Ae,fe,Xe){for(var ht=fe.key,lt=Ae;lt!==null;){if(lt.key===ht)if(lt.tag===x&<.stateNode.containerInfo===fe.containerInfo&<.stateNode.implementation===fe.implementation){n(de,lt.sibling);var qt=u(lt,fe.children||[]);return qt.return=de,qt}else{n(de,lt);break}else t(de,lt);lt=lt.sibling}var er=e2(fe,de.mode,Xe);return er.return=de,er}function gr(de,Ae,fe,Xe){var ht=typeof fe=="object"&&fe!==null&&fe.type===ce&&fe.key===null;if(ht&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:return g(Tt(de,Ae,fe,Xe));case ae:return g(vr(de,Ae,fe,Xe));case rt:var lt=fe._payload,qt=fe._init;return gr(de,Ae,qt(lt),Xe)}if(ln(fe))return Re(de,Ae,fe,Xe);if(Qa(fe))return ot(de,Ae,fe,Xe);Hv(de,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?g(Ot(de,Ae,""+fe,Xe)):(typeof fe=="function"&&Uv(de),n(de,Ae))}return gr}var vf=w3(!0),C3=w3(!1);function aj(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=od(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=od(n,n.pendingProps),i.return=t;i.sibling=null}}function nj(e,t){for(var n=e.child;n!==null;)XU(n,t),n=n.sibling}var ny=Yc(null),oy;oy={};var Vv=null,gf=null,iy=null,Wv=!1;function qv(){Vv=null,gf=null,iy=null,Wv=!1}function x3(){Wv=!0}function k3(){Wv=!1}function T3(e,t,n){Vn(ny,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==oy&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=oy}function ly(e,t){var n=ny.current;Un(ny,t),e._currentValue=n}function sy(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if(ef(i.childLanes,t)?u!==null&&!ef(u.childLanes,t)&&(u.childLanes=cr(u.childLanes,t)):(i.childLanes=cr(i.childLanes,t),u!==null&&(u.childLanes=cr(u.childLanes,t))),i===n)break;i=i.return}i!==n&&c("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 oj(e,t,n){ij(e,t,n)}function ij(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,f=i.dependencies;if(f!==null){u=i.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(i.tag===v){var S=Op(n),C=lc(Sa,S);C.tag=$v;var D=i.updateQueue;if(D!==null){var B=D.shared,Z=B.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),B.pending=C}}i.lanes=cr(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=cr(Q.lanes,n)),sy(i.return,n,e),f.lanes=cr(f.lanes,n);break}g=g.next}}else if(i.tag===P)u=i.type===e.type?null:i.child;else if(i.tag===ke){var _e=i.return;if(_e===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");_e.lanes=cr(_e.lanes,n);var be=_e.alternate;be!==null&&(be.lanes=cr(be.lanes,n)),sy(_e,n,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var Re=u.sibling;if(Re!==null){Re.return=u.return,u=Re;break}u=u.return}i=u}}function _f(e,t){Vv=e,gf=null,iy=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Uo(n.lanes,t)&&Lh(),n.firstContext=null)}}function en(e){Wv&&c("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(iy!==e){var n={context:e,memoizedValue:t,next:null};if(gf===null){if(Vv===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().");gf=n,Vv.dependencies={lanes:je,firstContext:n}}else gf=gf.next=n}return t}var Qu=null;function cy(e){Qu===null?Qu=[e]:Qu.push(e)}function lj(){if(Qu!==null){for(var e=0;e<Qu.length;e++){var t=Qu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,u=t.pending;if(u!==null){var f=u.next;u.next=i,n.next=f}t.pending=n}}Qu=null}}function R3(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n,Yv(e,i)}function sj(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n}function cj(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n,Yv(e,i)}function To(e,t){return Yv(e,t)}var uj=Yv;function Yv(e,t){e.lanes=cr(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=cr(n.lanes,t)),n===null&&(e.flags&(Za|Xs))!==Vt&&xT(e);for(var i=e,u=e.return;u!==null;)u.childLanes=cr(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=cr(n.childLanes,t):(u.flags&(Za|Xs))!==Vt&&xT(e),i=u,u=u.return;if(i.tag===y){var f=i.stateNode;return f}else return null}var E3=0,D3=1,$v=2,uy=3,Gv=!1,dy,Kv;dy=!1,Kv=null;function fy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:je},effects:null};e.updateQueue=t}function A3(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function lc(e,t){var n={eventTime:e,lane:t,tag:E3,payload:null,callback:null,next:null};return n}function Xc(e,t,n){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Kv===u&&!dy&&(c("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."),dy=!0),pU()){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,uj(e,n)}else return cj(e,u,t,n)}function Xv(e,t,n){var i=t.updateQueue;if(i!==null){var u=i.shared;if(VC(n)){var f=u.lanes;f=qC(f,e.pendingLanes);var g=cr(f,n);u.lanes=g,n1(e,g)}}}function py(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(n===u){var f=null,g=null,S=n.firstBaseUpdate;if(S!==null){var C=S;do{var D={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?f=g=D:(g.next=D,g=D),C=C.next}while(C!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var B=n.lastBaseUpdate;B===null?n.firstBaseUpdate=t:B.next=t,n.lastBaseUpdate=t}function dj(e,t,n,i,u,f){switch(n.tag){case D3:{var g=n.payload;if(typeof g=="function"){x3();var S=g.call(f,i,u);{if(e.mode&Ma){Sn(!0);try{g.call(f,i,u)}finally{Sn(!1)}}k3()}return S}return g}case uy:e.flags=e.flags&~ro|zr;case E3:{var C=n.payload,D;if(typeof C=="function"){x3(),D=C.call(f,i,u);{if(e.mode&Ma){Sn(!0);try{C.call(f,i,u)}finally{Sn(!1)}}k3()}}else D=C;return D==null?i:It({},i,D)}case $v:return Gv=!0,i}return i}function Qv(e,t,n,i){var u=e.updateQueue;Gv=!1,Kv=u.shared;var f=u.firstBaseUpdate,g=u.lastBaseUpdate,S=u.shared.pending;if(S!==null){u.shared.pending=null;var C=S,D=C.next;C.next=null,g===null?f=D:g.next=D,g=C;var B=e.alternate;if(B!==null){var Z=B.updateQueue,Q=Z.lastBaseUpdate;Q!==g&&(Q===null?Z.firstBaseUpdate=D:Q.next=D,Z.lastBaseUpdate=C)}}if(f!==null){var _e=u.baseState,be=je,Re=null,ot=null,Ot=null,Tt=f;do{var vr=Tt.lane,gr=Tt.eventTime;if(ef(i,vr)){if(Ot!==null){var Ae={eventTime:gr,lane:wn,tag:Tt.tag,payload:Tt.payload,callback:Tt.callback,next:null};Ot=Ot.next=Ae}_e=dj(e,u,Tt,_e,t,n);var fe=Tt.callback;if(fe!==null&&Tt.lane!==wn){e.flags|=kb;var Xe=u.effects;Xe===null?u.effects=[Tt]:Xe.push(Tt)}}else{var de={eventTime:gr,lane:vr,tag:Tt.tag,payload:Tt.payload,callback:Tt.callback,next:null};Ot===null?(ot=Ot=de,Re=_e):Ot=Ot.next=de,be=cr(be,vr)}if(Tt=Tt.next,Tt===null){if(S=u.shared.pending,S===null)break;var ht=S,lt=ht.next;ht.next=null,Tt=lt,u.lastBaseUpdate=ht,u.shared.pending=null}}while(!0);Ot===null&&(Re=_e),u.baseState=Re,u.firstBaseUpdate=ot,u.lastBaseUpdate=Ot;var qt=u.shared.interleaved;if(qt!==null){var er=qt;do be=cr(be,er.lane),er=er.next;while(er!==qt)}else f===null&&(u.shared.lanes=je);Vh(be),e.lanes=be,e.memoizedState=_e}Kv=null}function fj(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function L3(){Gv=!1}function Jv(){return Gv}function B3(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var f=i[u],g=f.callback;g!==null&&(f.callback=null,fj(g,n))}}var gh={},Qc=Yc(gh),_h=Yc(gh),Zv=Yc(gh);function eg(e){if(e===gh)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 N3(){var e=eg(Zv.current);return e}function hy(e,t){Vn(Zv,t,e),Vn(_h,e,e),Vn(Qc,gh,e);var n=DF(t);Un(Qc,e),Vn(Qc,n,e)}function bf(e){Un(Qc,e),Un(_h,e),Un(Zv,e)}function my(){var e=eg(Qc.current);return e}function O3(e){var t=eg(Zv.current),n=eg(Qc.current),i=AF(n,e.type);n!==i&&(Vn(_h,e,e),Vn(Qc,i,e))}function vy(e){_h.current===e&&(Un(Qc,e),Un(_h,e))}var pj=0,I3=1,P3=1,bh=2,Xl=Yc(pj);function gy(e,t){return(e&t)!==0}function yf(e){return e&I3}function _y(e,t){return e&I3|t}function hj(e,t){return e|t}function Jc(e,t){Vn(Xl,t,e)}function Sf(e){Un(Xl,e)}function mj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function tg(e){for(var t=e;t!==null;){if(t.tag===J){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||Zx(i)||P1(i))return t}}else if(t.tag===xe&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&zr)!==Vt;if(u)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 Ro=0,sn=1,ks=2,cn=4,An=8,by=[];function yy(){for(var e=0;e<by.length;e++){var t=by[e];t._workInProgressVersionPrimary=null}by.length=0}function vj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ft=o.ReactCurrentDispatcher,yh=o.ReactCurrentBatchConfig,Sy,wf;Sy=new Set;var Ju=je,ea=null,un=null,dn=null,rg=!1,Sh=!1,wh=0,gj=0,_j=25,Oe=null,Tl=null,Zc=-1,wy=!1;function Ur(){{var e=Oe;Tl===null?Tl=[e]:Tl.push(e)}}function nt(){{var e=Oe;Tl!==null&&(Zc++,Tl[Zc]!==e&&bj(e))}}function Cf(e){e!=null&&!ln(e)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Oe,typeof e)}function bj(e){{var t=or(ea);if(!Sy.has(t)&&(Sy.add(t),Tl!==null)){for(var n="",i=30,u=0;u<=Zc;u++){for(var f=Tl[u],g=u===Zc?e:f,S=u+1+". "+f;S.length<i;)S+=" ";S+=g+`
|
|
71
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Hv(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Uv(e){{var t=or(e)||"Component";if(ay[t])return;ay[t]=!0,c("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 S3(e){var t=e._payload,n=e._init;return n(t)}function w3(e){function t(de,Ae){if(e){var fe=de.deletions;fe===null?(de.deletions=[Ae],de.flags|=Lu):fe.push(Ae)}}function n(de,Ae){if(!e)return null;for(var fe=Ae;fe!==null;)t(de,fe),fe=fe.sibling;return null}function i(de,Ae){for(var fe=new Map,Xe=Ae;Xe!==null;)Xe.key!==null?fe.set(Xe.key,Xe):fe.set(Xe.index,Xe),Xe=Xe.sibling;return fe}function u(de,Ae){var fe=od(de,Ae);return fe.index=0,fe.sibling=null,fe}function f(de,Ae,fe){if(de.index=fe,!e)return de.flags|=kC,Ae;var Xe=de.alternate;if(Xe!==null){var ht=Xe.index;return ht<Ae?(de.flags|=Za,Ae):ht}else return de.flags|=Za,Ae}function g(de){return e&&de.alternate===null&&(de.flags|=Za),de}function S(de,Ae,fe,Xe){if(Ae===null||Ae.tag!==R){var ht=Z0(fe,de.mode,Xe);return ht.return=de,ht}else{var lt=u(Ae,fe);return lt.return=de,lt}}function C(de,Ae,fe,Xe){var ht=fe.type;if(ht===ce)return B(de,Ae,fe.props.children,Xe,fe.key);if(Ae!==null&&(Ae.elementType===ht||ET(Ae,fe)||typeof ht=="object"&&ht!==null&&ht.$$typeof===rt&&S3(ht)===Ae.type)){var lt=u(Ae,fe.props);return lt.ref=vh(de,Ae,fe),lt.return=de,lt._debugSource=fe._source,lt._debugOwner=fe._owner,lt}var qt=J0(fe,de.mode,Xe);return qt.ref=vh(de,Ae,fe),qt.return=de,qt}function D(de,Ae,fe,Xe){if(Ae===null||Ae.tag!==x||Ae.stateNode.containerInfo!==fe.containerInfo||Ae.stateNode.implementation!==fe.implementation){var ht=e2(fe,de.mode,Xe);return ht.return=de,ht}else{var lt=u(Ae,fe.children||[]);return lt.return=de,lt}}function B(de,Ae,fe,Xe,ht){if(Ae===null||Ae.tag!==N){var lt=iu(fe,de.mode,Xe,ht);return lt.return=de,lt}else{var qt=u(Ae,fe);return qt.return=de,qt}}function Z(de,Ae,fe){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"){var Xe=Z0(""+Ae,de.mode,fe);return Xe.return=de,Xe}if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case q:{var ht=J0(Ae,de.mode,fe);return ht.ref=vh(de,null,Ae),ht.return=de,ht}case ae:{var lt=e2(Ae,de.mode,fe);return lt.return=de,lt}case rt:{var qt=Ae._payload,er=Ae._init;return Z(de,er(qt),fe)}}if(ln(Ae)||Qa(Ae)){var ta=iu(Ae,de.mode,fe,null);return ta.return=de,ta}Hv(de,Ae)}return typeof Ae=="function"&&Uv(de),null}function Q(de,Ae,fe,Xe){var ht=Ae!==null?Ae.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return ht!==null?null:S(de,Ae,""+fe,Xe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:return fe.key===ht?C(de,Ae,fe,Xe):null;case ae:return fe.key===ht?D(de,Ae,fe,Xe):null;case rt:{var lt=fe._payload,qt=fe._init;return Q(de,Ae,qt(lt),Xe)}}if(ln(fe)||Qa(fe))return ht!==null?null:B(de,Ae,fe,Xe,null);Hv(de,fe)}return typeof fe=="function"&&Uv(de),null}function _e(de,Ae,fe,Xe,ht){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number"){var lt=de.get(fe)||null;return S(Ae,lt,""+Xe,ht)}if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case q:{var qt=de.get(Xe.key===null?fe:Xe.key)||null;return C(Ae,qt,Xe,ht)}case ae:{var er=de.get(Xe.key===null?fe:Xe.key)||null;return D(Ae,er,Xe,ht)}case rt:var ta=Xe._payload,Br=Xe._init;return _e(de,Ae,fe,Br(ta),ht)}if(ln(Xe)||Qa(Xe)){var qa=de.get(fe)||null;return B(Ae,qa,Xe,ht,null)}Hv(Ae,Xe)}return typeof Xe=="function"&&Uv(Ae),null}function be(de,Ae,fe){{if(typeof de!="object"||de===null)return Ae;switch(de.$$typeof){case q:case ae:y3(de,fe);var Xe=de.key;if(typeof Xe!="string")break;if(Ae===null){Ae=new Set,Ae.add(Xe);break}if(!Ae.has(Xe)){Ae.add(Xe);break}c("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 \u2014 the behavior is unsupported and could change in a future version.",Xe);break;case rt:var ht=de._payload,lt=de._init;be(lt(ht),Ae,fe);break}}return Ae}function Re(de,Ae,fe,Xe){for(var ht=null,lt=0;lt<fe.length;lt++){var qt=fe[lt];ht=be(qt,ht,de)}for(var er=null,ta=null,Br=Ae,qa=0,Nr=0,za=null;Br!==null&&Nr<fe.length;Nr++){Br.index>Nr?(za=Br,Br=null):za=Br.sibling;var qn=Q(de,Br,fe[Nr],Xe);if(qn===null){Br===null&&(Br=za);break}e&&Br&&qn.alternate===null&&t(de,Br),qa=f(qn,qa,Nr),ta===null?er=qn:ta.sibling=qn,ta=qn,Br=za}if(Nr===fe.length){if(n(de,Br),Dn()){var Pn=Nr;Yu(de,Pn)}return er}if(Br===null){for(;Nr<fe.length;Nr++){var Go=Z(de,fe[Nr],Xe);Go!==null&&(qa=f(Go,qa,Nr),ta===null?er=Go:ta.sibling=Go,ta=Go)}if(Dn()){var oo=Nr;Yu(de,oo)}return er}for(var io=i(de,Br);Nr<fe.length;Nr++){var Yn=_e(io,de,Nr,fe[Nr],Xe);Yn!==null&&(e&&Yn.alternate!==null&&io.delete(Yn.key===null?Nr:Yn.key),qa=f(Yn,qa,Nr),ta===null?er=Yn:ta.sibling=Yn,ta=Yn)}if(e&&io.forEach(function(Of){return t(de,Of)}),Dn()){var pc=Nr;Yu(de,pc)}return er}function ot(de,Ae,fe,Xe){var ht=Qa(fe);if(typeof ht!="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"&&fe[Symbol.toStringTag]==="Generator"&&(ey||c("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."),ey=!0),fe.entries===ht&&(Z1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Z1=!0);var lt=ht.call(fe);if(lt)for(var qt=null,er=lt.next();!er.done;er=lt.next()){var ta=er.value;qt=be(ta,qt,de)}}var Br=ht.call(fe);if(Br==null)throw new Error("An iterable object provided no iterator.");for(var qa=null,Nr=null,za=Ae,qn=0,Pn=0,Go=null,oo=Br.next();za!==null&&!oo.done;Pn++,oo=Br.next()){za.index>Pn?(Go=za,za=null):Go=za.sibling;var io=Q(de,za,oo.value,Xe);if(io===null){za===null&&(za=Go);break}e&&za&&io.alternate===null&&t(de,za),qn=f(io,qn,Pn),Nr===null?qa=io:Nr.sibling=io,Nr=io,za=Go}if(oo.done){if(n(de,za),Dn()){var Yn=Pn;Yu(de,Yn)}return qa}if(za===null){for(;!oo.done;Pn++,oo=Br.next()){var pc=Z(de,oo.value,Xe);pc!==null&&(qn=f(pc,qn,Pn),Nr===null?qa=pc:Nr.sibling=pc,Nr=pc)}if(Dn()){var Of=Pn;Yu(de,Of)}return qa}for(var Gh=i(de,za);!oo.done;Pn++,oo=Br.next()){var Bs=_e(Gh,de,Pn,oo.value,Xe);Bs!==null&&(e&&Bs.alternate!==null&&Gh.delete(Bs.key===null?Pn:Bs.key),qn=f(Bs,qn,Pn),Nr===null?qa=Bs:Nr.sibling=Bs,Nr=Bs)}if(e&&Gh.forEach(function(NV){return t(de,NV)}),Dn()){var BV=Pn;Yu(de,BV)}return qa}function Ot(de,Ae,fe,Xe){if(Ae!==null&&Ae.tag===R){n(de,Ae.sibling);var ht=u(Ae,fe);return ht.return=de,ht}n(de,Ae);var lt=Z0(fe,de.mode,Xe);return lt.return=de,lt}function Tt(de,Ae,fe,Xe){for(var ht=fe.key,lt=Ae;lt!==null;){if(lt.key===ht){var qt=fe.type;if(qt===ce){if(lt.tag===N){n(de,lt.sibling);var er=u(lt,fe.props.children);return er.return=de,er._debugSource=fe._source,er._debugOwner=fe._owner,er}}else if(lt.elementType===qt||ET(lt,fe)||typeof qt=="object"&&qt!==null&&qt.$$typeof===rt&&S3(qt)===lt.type){n(de,lt.sibling);var ta=u(lt,fe.props);return ta.ref=vh(de,lt,fe),ta.return=de,ta._debugSource=fe._source,ta._debugOwner=fe._owner,ta}n(de,lt);break}else t(de,lt);lt=lt.sibling}if(fe.type===ce){var Br=iu(fe.props.children,de.mode,Xe,fe.key);return Br.return=de,Br}else{var qa=J0(fe,de.mode,Xe);return qa.ref=vh(de,Ae,fe),qa.return=de,qa}}function vr(de,Ae,fe,Xe){for(var ht=fe.key,lt=Ae;lt!==null;){if(lt.key===ht)if(lt.tag===x&<.stateNode.containerInfo===fe.containerInfo&<.stateNode.implementation===fe.implementation){n(de,lt.sibling);var qt=u(lt,fe.children||[]);return qt.return=de,qt}else{n(de,lt);break}else t(de,lt);lt=lt.sibling}var er=e2(fe,de.mode,Xe);return er.return=de,er}function gr(de,Ae,fe,Xe){var ht=typeof fe=="object"&&fe!==null&&fe.type===ce&&fe.key===null;if(ht&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:return g(Tt(de,Ae,fe,Xe));case ae:return g(vr(de,Ae,fe,Xe));case rt:var lt=fe._payload,qt=fe._init;return gr(de,Ae,qt(lt),Xe)}if(ln(fe))return Re(de,Ae,fe,Xe);if(Qa(fe))return ot(de,Ae,fe,Xe);Hv(de,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?g(Ot(de,Ae,""+fe,Xe)):(typeof fe=="function"&&Uv(de),n(de,Ae))}return gr}var vf=w3(!0),C3=w3(!1);function aj(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=od(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=od(n,n.pendingProps),i.return=t;i.sibling=null}}function nj(e,t){for(var n=e.child;n!==null;)XU(n,t),n=n.sibling}var ny=Yc(null),oy;oy={};var Vv=null,gf=null,iy=null,Wv=!1;function qv(){Vv=null,gf=null,iy=null,Wv=!1}function x3(){Wv=!0}function k3(){Wv=!1}function T3(e,t,n){Vn(ny,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==oy&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=oy}function ly(e,t){var n=ny.current;Un(ny,t),e._currentValue=n}function sy(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if(ef(i.childLanes,t)?u!==null&&!ef(u.childLanes,t)&&(u.childLanes=cr(u.childLanes,t)):(i.childLanes=cr(i.childLanes,t),u!==null&&(u.childLanes=cr(u.childLanes,t))),i===n)break;i=i.return}i!==n&&c("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 oj(e,t,n){ij(e,t,n)}function ij(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,f=i.dependencies;if(f!==null){u=i.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(i.tag===v){var S=Op(n),C=lc(Sa,S);C.tag=$v;var D=i.updateQueue;if(D!==null){var B=D.shared,Z=B.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),B.pending=C}}i.lanes=cr(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=cr(Q.lanes,n)),sy(i.return,n,e),f.lanes=cr(f.lanes,n);break}g=g.next}}else if(i.tag===P)u=i.type===e.type?null:i.child;else if(i.tag===ke){var _e=i.return;if(_e===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");_e.lanes=cr(_e.lanes,n);var be=_e.alternate;be!==null&&(be.lanes=cr(be.lanes,n)),sy(_e,n,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var Re=u.sibling;if(Re!==null){Re.return=u.return,u=Re;break}u=u.return}i=u}}function _f(e,t){Vv=e,gf=null,iy=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Uo(n.lanes,t)&&Lh(),n.firstContext=null)}}function en(e){Wv&&c("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(iy!==e){var n={context:e,memoizedValue:t,next:null};if(gf===null){if(Vv===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().");gf=n,Vv.dependencies={lanes:je,firstContext:n}}else gf=gf.next=n}return t}var Qu=null;function cy(e){Qu===null?Qu=[e]:Qu.push(e)}function lj(){if(Qu!==null){for(var e=0;e<Qu.length;e++){var t=Qu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,u=t.pending;if(u!==null){var f=u.next;u.next=i,n.next=f}t.pending=n}}Qu=null}}function R3(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n,Yv(e,i)}function sj(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n}function cj(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,cy(t)):(n.next=u.next,u.next=n),t.interleaved=n,Yv(e,i)}function ko(e,t){return Yv(e,t)}var uj=Yv;function Yv(e,t){e.lanes=cr(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=cr(n.lanes,t)),n===null&&(e.flags&(Za|Xs))!==Vt&&xT(e);for(var i=e,u=e.return;u!==null;)u.childLanes=cr(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=cr(n.childLanes,t):(u.flags&(Za|Xs))!==Vt&&xT(e),i=u,u=u.return;if(i.tag===y){var f=i.stateNode;return f}else return null}var E3=0,D3=1,$v=2,uy=3,Gv=!1,dy,Kv;dy=!1,Kv=null;function fy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:je},effects:null};e.updateQueue=t}function A3(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function lc(e,t){var n={eventTime:e,lane:t,tag:E3,payload:null,callback:null,next:null};return n}function Xc(e,t,n){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Kv===u&&!dy&&(c("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."),dy=!0),pU()){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,uj(e,n)}else return cj(e,u,t,n)}function Xv(e,t,n){var i=t.updateQueue;if(i!==null){var u=i.shared;if(VC(n)){var f=u.lanes;f=qC(f,e.pendingLanes);var g=cr(f,n);u.lanes=g,n1(e,g)}}}function py(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(n===u){var f=null,g=null,S=n.firstBaseUpdate;if(S!==null){var C=S;do{var D={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?f=g=D:(g.next=D,g=D),C=C.next}while(C!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var B=n.lastBaseUpdate;B===null?n.firstBaseUpdate=t:B.next=t,n.lastBaseUpdate=t}function dj(e,t,n,i,u,f){switch(n.tag){case D3:{var g=n.payload;if(typeof g=="function"){x3();var S=g.call(f,i,u);{if(e.mode&Ma){Sn(!0);try{g.call(f,i,u)}finally{Sn(!1)}}k3()}return S}return g}case uy:e.flags=e.flags&~to|zr;case E3:{var C=n.payload,D;if(typeof C=="function"){x3(),D=C.call(f,i,u);{if(e.mode&Ma){Sn(!0);try{C.call(f,i,u)}finally{Sn(!1)}}k3()}}else D=C;return D==null?i:It({},i,D)}case $v:return Gv=!0,i}return i}function Qv(e,t,n,i){var u=e.updateQueue;Gv=!1,Kv=u.shared;var f=u.firstBaseUpdate,g=u.lastBaseUpdate,S=u.shared.pending;if(S!==null){u.shared.pending=null;var C=S,D=C.next;C.next=null,g===null?f=D:g.next=D,g=C;var B=e.alternate;if(B!==null){var Z=B.updateQueue,Q=Z.lastBaseUpdate;Q!==g&&(Q===null?Z.firstBaseUpdate=D:Q.next=D,Z.lastBaseUpdate=C)}}if(f!==null){var _e=u.baseState,be=je,Re=null,ot=null,Ot=null,Tt=f;do{var vr=Tt.lane,gr=Tt.eventTime;if(ef(i,vr)){if(Ot!==null){var Ae={eventTime:gr,lane:wn,tag:Tt.tag,payload:Tt.payload,callback:Tt.callback,next:null};Ot=Ot.next=Ae}_e=dj(e,u,Tt,_e,t,n);var fe=Tt.callback;if(fe!==null&&Tt.lane!==wn){e.flags|=kb;var Xe=u.effects;Xe===null?u.effects=[Tt]:Xe.push(Tt)}}else{var de={eventTime:gr,lane:vr,tag:Tt.tag,payload:Tt.payload,callback:Tt.callback,next:null};Ot===null?(ot=Ot=de,Re=_e):Ot=Ot.next=de,be=cr(be,vr)}if(Tt=Tt.next,Tt===null){if(S=u.shared.pending,S===null)break;var ht=S,lt=ht.next;ht.next=null,Tt=lt,u.lastBaseUpdate=ht,u.shared.pending=null}}while(!0);Ot===null&&(Re=_e),u.baseState=Re,u.firstBaseUpdate=ot,u.lastBaseUpdate=Ot;var qt=u.shared.interleaved;if(qt!==null){var er=qt;do be=cr(be,er.lane),er=er.next;while(er!==qt)}else f===null&&(u.shared.lanes=je);Vh(be),e.lanes=be,e.memoizedState=_e}Kv=null}function fj(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function L3(){Gv=!1}function Jv(){return Gv}function B3(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var f=i[u],g=f.callback;g!==null&&(f.callback=null,fj(g,n))}}var gh={},Qc=Yc(gh),_h=Yc(gh),Zv=Yc(gh);function eg(e){if(e===gh)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 N3(){var e=eg(Zv.current);return e}function hy(e,t){Vn(Zv,t,e),Vn(_h,e,e),Vn(Qc,gh,e);var n=DF(t);Un(Qc,e),Vn(Qc,n,e)}function bf(e){Un(Qc,e),Un(_h,e),Un(Zv,e)}function my(){var e=eg(Qc.current);return e}function O3(e){var t=eg(Zv.current),n=eg(Qc.current),i=AF(n,e.type);n!==i&&(Vn(_h,e,e),Vn(Qc,i,e))}function vy(e){_h.current===e&&(Un(Qc,e),Un(_h,e))}var pj=0,I3=1,P3=1,bh=2,Xl=Yc(pj);function gy(e,t){return(e&t)!==0}function yf(e){return e&I3}function _y(e,t){return e&I3|t}function hj(e,t){return e|t}function Jc(e,t){Vn(Xl,t,e)}function Sf(e){Un(Xl,e)}function mj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function tg(e){for(var t=e;t!==null;){if(t.tag===J){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||Zx(i)||P1(i))return t}}else if(t.tag===xe&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&zr)!==Vt;if(u)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 To=0,sn=1,ks=2,cn=4,An=8,by=[];function yy(){for(var e=0;e<by.length;e++){var t=by[e];t._workInProgressVersionPrimary=null}by.length=0}function vj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ft=o.ReactCurrentDispatcher,yh=o.ReactCurrentBatchConfig,Sy,wf;Sy=new Set;var Ju=je,ea=null,un=null,dn=null,rg=!1,Sh=!1,wh=0,gj=0,_j=25,Oe=null,Tl=null,Zc=-1,wy=!1;function Ur(){{var e=Oe;Tl===null?Tl=[e]:Tl.push(e)}}function nt(){{var e=Oe;Tl!==null&&(Zc++,Tl[Zc]!==e&&bj(e))}}function Cf(e){e!=null&&!ln(e)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Oe,typeof e)}function bj(e){{var t=or(ea);if(!Sy.has(t)&&(Sy.add(t),Tl!==null)){for(var n="",i=30,u=0;u<=Zc;u++){for(var f=Tl[u],g=u===Zc?e:f,S=u+1+". "+f;S.length<i;)S+=" ";S+=g+`
|
|
72
72
|
`,n+=S}c(`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
|
|
73
73
|
|
|
74
74
|
Previous render Next render
|
|
@@ -81,7 +81,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
81
81
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Cy(e,t){if(wy)return!1;if(t===null)return c("%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.",Oe),!1;e.length!==t.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
82
82
|
|
|
83
83
|
Previous: %s
|
|
84
|
-
Incoming: %s`,Oe,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!qo(e[n],t[n]))return!1;return!0}function xf(e,t,n,i,u,f){Ju=f,ea=t,Tl=e!==null?e._debugHookTypes:null,Zc=-1,wy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=je,e!==null&&e.memoizedState!==null?ft.current=nk:Tl!==null?ft.current=ak:ft.current=rk;var g=n(i,u);if(Sh){var S=0;do{if(Sh=!1,wh=0,S>=_j)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,wy=!1,un=null,dn=null,t.updateQueue=null,Zc=-1,ft.current=ok,g=n(i,u)}while(Sh)}ft.current=mg,t._debugHookTypes=Tl;var C=un!==null&&un.next!==null;if(Ju=je,ea=null,un=null,dn=null,Oe=null,Tl=null,Zc=-1,e!==null&&(e.flags&Js)!==(t.flags&Js)&&(e.mode&br)!==Pt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),rg=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function kf(){var e=wh!==0;return wh=0,e}function M3(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Ss)!==Pt?t.flags&=~(Xm|Qs|Wl|xr):t.flags&=~(Wl|xr),e.lanes=av(e.lanes,n)}function z3(){if(ft.current=mg,rg){for(var e=ea.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rg=!1}Ju=je,ea=null,un=null,dn=null,Tl=null,Zc=-1,Oe=null,Q3=!1,Sh=!1,wh=0}function Ts(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dn===null?ea.memoizedState=dn=e:dn=dn.next=e,dn}function Rl(){var e;if(un===null){var t=ea.alternate;t!==null?e=t.memoizedState:e=null}else e=un.next;var n;if(dn===null?n=ea.memoizedState:n=dn.next,n!==null)dn=n,n=dn.next,un=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");un=e;var i={memoizedState:un.memoizedState,baseState:un.baseState,baseQueue:un.baseQueue,queue:un.queue,next:null};dn===null?ea.memoizedState=dn=i:dn=dn.next=i}return dn}function F3(){return{lastEffect:null,stores:null}}function xy(e,t){return typeof t=="function"?t(e):t}function ky(e,t,n){var i=Ts(),u;n!==void 0?u=n(t):u=t,i.memoizedState=i.baseState=u;var f={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=f;var g=f.dispatch=Cj.bind(null,ea,f);return[i.memoizedState,g]}function Ty(e,t,n){var i=Rl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=un,g=f.baseQueue,S=u.pending;if(S!==null){if(g!==null){var C=g.next,D=S.next;g.next=D,S.next=C}f.baseQueue!==g&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=S,u.pending=null}if(g!==null){var B=g.next,Z=f.baseState,Q=null,_e=null,be=null,Re=B;do{var ot=Re.lane;if(ef(Ju,ot)){if(be!==null){var Tt={lane:wn,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};be=be.next=Tt}if(Re.hasEagerState)Z=Re.eagerState;else{var vr=Re.action;Z=e(Z,vr)}}else{var Ot={lane:ot,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};be===null?(_e=be=Ot,Q=Z):be=be.next=Ot,ea.lanes=cr(ea.lanes,ot),Vh(ot)}Re=Re.next}while(Re!==null&&Re!==B);be===null?Q=Z:be.next=_e,qo(Z,i.memoizedState)||Lh(),i.memoizedState=Z,i.baseState=Q,i.baseQueue=be,u.lastRenderedState=Z}var gr=u.interleaved;if(gr!==null){var de=gr;do{var Ae=de.lane;ea.lanes=cr(ea.lanes,Ae),Vh(Ae),de=de.next}while(de!==gr)}else g===null&&(u.lanes=je);var fe=u.dispatch;return[i.memoizedState,fe]}function Ry(e,t,n){var i=Rl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=u.dispatch,g=u.pending,S=i.memoizedState;if(g!==null){u.pending=null;var C=g.next,D=C;do{var B=D.action;S=e(S,B),D=D.next}while(D!==C);qo(S,i.memoizedState)||Lh(),i.memoizedState=S,i.baseQueue===null&&(i.baseState=S),u.lastRenderedState=S}return[S,f]}function uG(e,t,n){}function dG(e,t,n){}function Ey(e,t,n){var i=ea,u=Ts(),f,g=Dn();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");f=n(),wf||f!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(f=t(),!wf){var S=t();qo(f,S)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var C=Og();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(C,Ju)||j3(i,t,f)}u.memoizedState=f;var D={value:f,getSnapshot:t};return u.queue=D,lg(U3.bind(null,i,D,e),[e]),i.flags|=Wl,Ch(sn|An,H3.bind(null,i,D,f,t),void 0,null),f}function ag(e,t,n){var i=ea,u=Rl(),f=t();if(!wf){var g=t();qo(f,g)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var S=u.memoizedState,C=!qo(S,f);C&&(u.memoizedState=f,Lh());var D=u.queue;if(kh(U3.bind(null,i,D,e),[e]),D.getSnapshot!==t||C||dn!==null&&dn.memoizedState.tag&sn){i.flags|=Wl,Ch(sn|An,H3.bind(null,i,D,f,t),void 0,null);var B=Og();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(B,Ju)||j3(i,t,f)}return f}function j3(e,t,n){e.flags|=Km;var i={getSnapshot:t,value:n},u=ea.updateQueue;if(u===null)u=F3(),ea.updateQueue=u,u.stores=[i];else{var f=u.stores;f===null?u.stores=[i]:f.push(i)}}function H3(e,t,n,i){t.value=n,t.getSnapshot=i,V3(t)&&W3(e)}function U3(e,t,n){var i=function(){V3(t)&&W3(e)};return n(i)}function V3(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!qo(n,i)}catch(u){return!0}}function W3(e){var t=To(e,Jt);t!==null&&mn(t,e,Jt,Sa)}function ng(e){var t=Ts();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:xy,lastRenderedState:e};t.queue=n;var i=n.dispatch=xj.bind(null,ea,n);return[t.memoizedState,i]}function Dy(e){return Ty(xy)}function Ay(e){return Ry(xy)}function Ch(e,t,n,i){var u={tag:e,create:t,destroy:n,deps:i,next:null},f=ea.updateQueue;if(f===null)f=F3(),ea.updateQueue=f,f.lastEffect=u.next=u;else{var g=f.lastEffect;if(g===null)f.lastEffect=u.next=u;else{var S=g.next;g.next=u,u.next=S,f.lastEffect=u}}return u}function Ly(e){var t=Ts();{var n={current:e};return t.memoizedState=n,n}}function og(e){var t=Rl();return t.memoizedState}function xh(e,t,n,i){var u=Ts(),f=i===void 0?null:i;ea.flags|=e,u.memoizedState=Ch(sn|t,n,void 0,f)}function ig(e,t,n,i){var u=Rl(),f=i===void 0?null:i,g=void 0;if(un!==null){var S=un.memoizedState;if(g=S.destroy,f!==null){var C=S.deps;if(Cy(f,C)){u.memoizedState=Ch(t,n,g,f);return}}}ea.flags|=e,u.memoizedState=Ch(sn|t,n,g,f)}function lg(e,t){return(ea.mode&Ss)!==Pt?xh(Xm|Wl|Eb,An,e,t):xh(Wl|Eb,An,e,t)}function kh(e,t){return ig(Wl,An,e,t)}function By(e,t){return xh(xr,ks,e,t)}function sg(e,t){return ig(xr,ks,e,t)}function Ny(e,t){var n=xr;return n|=Ou,(ea.mode&Ss)!==Pt&&(n|=Qs),xh(n,cn,e,t)}function cg(e,t){return ig(xr,cn,e,t)}function q3(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var f=e();return u.current=f,function(){u.current=null}}}function Oy(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null,u=xr;return u|=Ou,(ea.mode&Ss)!==Pt&&(u|=Qs),xh(u,cn,q3.bind(null,t,e),i)}function ug(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return ig(xr,cn,q3.bind(null,t,e),i)}function yj(e,t){}var dg=yj;function Iy(e,t){var n=Ts(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function fg(e,t){var n=Rl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var f=u[1];if(Cy(i,f))return u[0]}return n.memoizedState=[e,i],e}function Py(e,t){var n=Ts(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function pg(e,t){var n=Rl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var f=u[1];if(Cy(i,f))return u[0]}var g=e();return n.memoizedState=[g,i],g}function My(e){var t=Ts();return t.memoizedState=e,e}function Y3(e){var t=Rl(),n=un,i=n.memoizedState;return G3(t,i,e)}function $3(e){var t=Rl();if(un===null)return t.memoizedState=e,e;var n=un.memoizedState;return G3(t,n,e)}function G3(e,t,n){var i=!oM(Ju);if(i){if(!qo(n,t)){var u=WC();ea.lanes=cr(ea.lanes,u),Vh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Lh()),e.memoizedState=n,n}function Sj(e,t,n){var i=Yl();Cn(hM(i,ec)),e(!0);var u=yh.transition;yh.transition={};var f=yh.transition;yh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Cn(i),yh.transition=u,u===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("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."),f._updatedFibers.clear()}}}function zy(){var e=ng(!1),t=e[0],n=e[1],i=Sj.bind(null,n),u=Ts();return u.memoizedState=i,[t,i]}function K3(){var e=Dy(),t=e[0],n=Rl(),i=n.memoizedState;return[t,i]}function X3(){var e=Ay(),t=e[0],n=Rl(),i=n.memoizedState;return[t,i]}var Q3=!1;function wj(){return Q3}function Fy(){var e=Ts(),t=Og(),n=t.identifierPrefix,i;if(Dn()){var u=F9();i=":"+n+"R"+u;var f=wh++;f>0&&(i+="H"+f.toString(32)),i+=":"}else{var g=gj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function hg(){var e=Rl(),t=e.memoizedState;return t}function Cj(e,t,n){typeof arguments[3]=="function"&&c("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 i=nu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(J3(e))Z3(t,u);else{var f=R3(e,t,u,i);if(f!==null){var g=oo();mn(f,e,i,g),ek(f,t,i)}}tk(e,i)}function xj(e,t,n){typeof arguments[3]=="function"&&c("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 i=nu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(J3(e))Z3(t,u);else{var f=e.alternate;if(e.lanes===je&&(f===null||f.lanes===je)){var g=t.lastRenderedReducer;if(g!==null){var S;S=ft.current,ft.current=Ql;try{var C=t.lastRenderedState,D=g(C,n);if(u.hasEagerState=!0,u.eagerState=D,qo(D,C)){sj(e,t,u,i);return}}catch(Q){}finally{ft.current=S}}}var B=R3(e,t,u,i);if(B!==null){var Z=oo();mn(B,e,i,Z),ek(B,t,i)}}tk(e,i)}function J3(e){var t=e.alternate;return e===ea||t!==null&&t===ea}function Z3(e,t){Sh=rg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ek(e,t,n){if(VC(n)){var i=t.lanes;i=qC(i,e.pendingLanes);var u=cr(i,n);t.lanes=u,n1(e,u)}}function tk(e,t,n){Nb(e,t)}var mg={readContext:en,useCallback:Wn,useContext:Wn,useEffect:Wn,useImperativeHandle:Wn,useInsertionEffect:Wn,useLayoutEffect:Wn,useMemo:Wn,useReducer:Wn,useRef:Wn,useState:Wn,useDebugValue:Wn,useDeferredValue:Wn,useTransition:Wn,useMutableSource:Wn,useSyncExternalStore:Wn,useId:Wn,unstable_isNewReconciler:oe},rk=null,ak=null,nk=null,ok=null,Rs=null,Ql=null,vg=null;{var jy=function(){c("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().")},Zt=function(){c("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")};rk={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",Ur(),Cf(t),Iy(e,t)},useContext:function(e){return Oe="useContext",Ur(),en(e)},useEffect:function(e,t){return Oe="useEffect",Ur(),Cf(t),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Ur(),Cf(n),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Ur(),Cf(t),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Ur(),Cf(t),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",Ur(),Cf(t);var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Ur();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Ur(),Ly(e)},useState:function(e){Oe="useState",Ur();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Ur(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",Ur(),My(e)},useTransition:function(){return Oe="useTransition",Ur(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Ur(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Ur(),Ey(e,t,n)},useId:function(){return Oe="useId",Ur(),Fy()},unstable_isNewReconciler:oe},ak={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),Iy(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),Ly(e)},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),My(e)},useTransition:function(){return Oe="useTransition",nt(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),Ey(e,t,n)},useId:function(){return Oe="useId",nt(),Fy()},unstable_isNewReconciler:oe},nk={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),fg(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=Ql;try{return Ty(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),og()},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=Ql;try{return Dy(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),Y3(e)},useTransition:function(){return Oe="useTransition",nt(),K3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),ag(e,t)},useId:function(){return Oe="useId",nt(),hg()},unstable_isNewReconciler:oe},ok={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),fg(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=vg;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=vg;try{return Ry(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),og()},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=vg;try{return Ay(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),$3(e)},useTransition:function(){return Oe="useTransition",nt(),X3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),ag(e,t)},useId:function(){return Oe="useId",nt(),hg()},unstable_isNewReconciler:oe},Rs={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),Ur(),Iy(e,t)},useContext:function(e){return Oe="useContext",Zt(),Ur(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),Ur(),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),Ur(),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),Ur(),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),Ur(),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),Ur();var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),Ur();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),Ur(),Ly(e)},useState:function(e){Oe="useState",Zt(),Ur();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),Ur(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),Ur(),My(e)},useTransition:function(){return Oe="useTransition",Zt(),Ur(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),Ur(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),Ur(),Ey(e,t,n)},useId:function(){return Oe="useId",Zt(),Ur(),Fy()},unstable_isNewReconciler:oe},Ql={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),nt(),fg(e,t)},useContext:function(e){return Oe="useContext",Zt(),nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),nt();var i=ft.current;ft.current=Ql;try{return Ty(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),nt(),og()},useState:function(e){Oe="useState",Zt(),nt();var t=ft.current;ft.current=Ql;try{return Dy(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),nt(),Y3(e)},useTransition:function(){return Oe="useTransition",Zt(),nt(),K3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),nt(),ag(e,t)},useId:function(){return Oe="useId",Zt(),nt(),hg()},unstable_isNewReconciler:oe},vg={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),nt(),fg(e,t)},useContext:function(e){return Oe="useContext",Zt(),nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),nt();var i=ft.current;ft.current=Ql;try{return Ry(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),nt(),og()},useState:function(e){Oe="useState",Zt(),nt();var t=ft.current;ft.current=Ql;try{return Ay(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),nt(),$3(e)},useTransition:function(){return Oe="useTransition",Zt(),nt(),X3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),nt(),ag(e,t)},useId:function(){return Oe="useId",Zt(),nt(),hg()},unstable_isNewReconciler:oe}}var eu=a.unstable_now,ik=0,gg=-1,Th=-1,_g=-1,Hy=!1,bg=!1;function lk(){return Hy}function kj(){bg=!0}function Tj(){Hy=!1,bg=!1}function Rj(){Hy=bg,bg=!1}function sk(){return ik}function ck(){ik=eu()}function Uy(e){Th=eu(),e.actualStartTime<0&&(e.actualStartTime=eu())}function uk(e){Th=-1}function yg(e,t){if(Th>=0){var n=eu()-Th;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Th=-1}}function Es(e){if(gg>=0){var t=eu()-gg;gg=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i.effectDuration+=t;return;case H:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function Vy(e){if(_g>=0){var t=eu()-_g;_g=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case H:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function Ds(){gg=eu()}function Wy(){_g=eu()}function qy(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Jl(e,t){if(e&&e.defaultProps){var n=It({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Yy={},$y,Gy,Ky,Xy,Qy,dk,Sg,Jy,Zy,e0,Rh;{$y=new Set,Gy=new Set,Ky=new Set,Xy=new Set,Jy=new Set,Qy=new Set,Zy=new Set,e0=new Set,Rh=new Set;var fk=new Set;Sg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;fk.has(n)||(fk.add(n),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},dk=function(e,t){if(t===void 0){var n=qr(e)||"Component";Qy.has(n)||(Qy.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Yy,"_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(Yy)}function t0(e,t,n,i){var u=e.memoizedState,f=n(i,u);{if(e.mode&Ma){Sn(!0);try{f=n(i,u)}finally{Sn(!1)}}dk(t,f)}var g=f==null?u:It({},u,f);if(e.memoizedState=g,e.lanes===je){var S=e.updateQueue;S.baseState=g}}var r0={isMounted:_P,enqueueSetState:function(e,t,n){var i=$d(e),u=oo(),f=nu(i),g=lc(u,f);g.payload=t,n!=null&&(Sg(n,"setState"),g.callback=n);var S=Xc(i,g,f);S!==null&&(mn(S,i,f,u),Xv(S,i,f)),Nb(i,f)},enqueueReplaceState:function(e,t,n){var i=$d(e),u=oo(),f=nu(i),g=lc(u,f);g.tag=D3,g.payload=t,n!=null&&(Sg(n,"replaceState"),g.callback=n);var S=Xc(i,g,f);S!==null&&(mn(S,i,f,u),Xv(S,i,f)),Nb(i,f)},enqueueForceUpdate:function(e,t){var n=$d(e),i=oo(),u=nu(n),f=lc(i,u);f.tag=$v,t!=null&&(Sg(t,"forceUpdate"),f.callback=t);var g=Xc(n,f,u);g!==null&&(mn(g,n,u,i),Xv(g,n,u)),KP(n,u)}};function pk(e,t,n,i,u,f,g){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var C=S.shouldComponentUpdate(i,f,g);{if(e.mode&Ma){Sn(!0);try{C=S.shouldComponentUpdate(i,f,g)}finally{Sn(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",qr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Kp(n,i)||!Kp(u,f):!0}function Ej(e,t,n){var i=e.stateNode;{var u=qr(t)||"Component",f=i.render;f||(t.prototype&&typeof t.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&c("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?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&c("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.",u),i.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!Rh.has(t)&&(e.mode&Ma)===Pt&&(Rh.add(t),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
84
|
+
Incoming: %s`,Oe,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!qo(e[n],t[n]))return!1;return!0}function xf(e,t,n,i,u,f){Ju=f,ea=t,Tl=e!==null?e._debugHookTypes:null,Zc=-1,wy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=je,e!==null&&e.memoizedState!==null?ft.current=nk:Tl!==null?ft.current=ak:ft.current=rk;var g=n(i,u);if(Sh){var S=0;do{if(Sh=!1,wh=0,S>=_j)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,wy=!1,un=null,dn=null,t.updateQueue=null,Zc=-1,ft.current=ok,g=n(i,u)}while(Sh)}ft.current=mg,t._debugHookTypes=Tl;var C=un!==null&&un.next!==null;if(Ju=je,ea=null,un=null,dn=null,Oe=null,Tl=null,Zc=-1,e!==null&&(e.flags&Js)!==(t.flags&Js)&&(e.mode&br)!==Pt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),rg=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function kf(){var e=wh!==0;return wh=0,e}function M3(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Ss)!==Pt?t.flags&=~(Xm|Qs|Wl|xr):t.flags&=~(Wl|xr),e.lanes=av(e.lanes,n)}function z3(){if(ft.current=mg,rg){for(var e=ea.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rg=!1}Ju=je,ea=null,un=null,dn=null,Tl=null,Zc=-1,Oe=null,Q3=!1,Sh=!1,wh=0}function Ts(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dn===null?ea.memoizedState=dn=e:dn=dn.next=e,dn}function Rl(){var e;if(un===null){var t=ea.alternate;t!==null?e=t.memoizedState:e=null}else e=un.next;var n;if(dn===null?n=ea.memoizedState:n=dn.next,n!==null)dn=n,n=dn.next,un=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");un=e;var i={memoizedState:un.memoizedState,baseState:un.baseState,baseQueue:un.baseQueue,queue:un.queue,next:null};dn===null?ea.memoizedState=dn=i:dn=dn.next=i}return dn}function F3(){return{lastEffect:null,stores:null}}function xy(e,t){return typeof t=="function"?t(e):t}function ky(e,t,n){var i=Ts(),u;n!==void 0?u=n(t):u=t,i.memoizedState=i.baseState=u;var f={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=f;var g=f.dispatch=Cj.bind(null,ea,f);return[i.memoizedState,g]}function Ty(e,t,n){var i=Rl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=un,g=f.baseQueue,S=u.pending;if(S!==null){if(g!==null){var C=g.next,D=S.next;g.next=D,S.next=C}f.baseQueue!==g&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=S,u.pending=null}if(g!==null){var B=g.next,Z=f.baseState,Q=null,_e=null,be=null,Re=B;do{var ot=Re.lane;if(ef(Ju,ot)){if(be!==null){var Tt={lane:wn,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};be=be.next=Tt}if(Re.hasEagerState)Z=Re.eagerState;else{var vr=Re.action;Z=e(Z,vr)}}else{var Ot={lane:ot,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};be===null?(_e=be=Ot,Q=Z):be=be.next=Ot,ea.lanes=cr(ea.lanes,ot),Vh(ot)}Re=Re.next}while(Re!==null&&Re!==B);be===null?Q=Z:be.next=_e,qo(Z,i.memoizedState)||Lh(),i.memoizedState=Z,i.baseState=Q,i.baseQueue=be,u.lastRenderedState=Z}var gr=u.interleaved;if(gr!==null){var de=gr;do{var Ae=de.lane;ea.lanes=cr(ea.lanes,Ae),Vh(Ae),de=de.next}while(de!==gr)}else g===null&&(u.lanes=je);var fe=u.dispatch;return[i.memoizedState,fe]}function Ry(e,t,n){var i=Rl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=u.dispatch,g=u.pending,S=i.memoizedState;if(g!==null){u.pending=null;var C=g.next,D=C;do{var B=D.action;S=e(S,B),D=D.next}while(D!==C);qo(S,i.memoizedState)||Lh(),i.memoizedState=S,i.baseQueue===null&&(i.baseState=S),u.lastRenderedState=S}return[S,f]}function uG(e,t,n){}function dG(e,t,n){}function Ey(e,t,n){var i=ea,u=Ts(),f,g=Dn();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");f=n(),wf||f!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(f=t(),!wf){var S=t();qo(f,S)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var C=Og();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(C,Ju)||j3(i,t,f)}u.memoizedState=f;var D={value:f,getSnapshot:t};return u.queue=D,lg(U3.bind(null,i,D,e),[e]),i.flags|=Wl,Ch(sn|An,H3.bind(null,i,D,f,t),void 0,null),f}function ag(e,t,n){var i=ea,u=Rl(),f=t();if(!wf){var g=t();qo(f,g)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var S=u.memoizedState,C=!qo(S,f);C&&(u.memoizedState=f,Lh());var D=u.queue;if(kh(U3.bind(null,i,D,e),[e]),D.getSnapshot!==t||C||dn!==null&&dn.memoizedState.tag&sn){i.flags|=Wl,Ch(sn|An,H3.bind(null,i,D,f,t),void 0,null);var B=Og();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(B,Ju)||j3(i,t,f)}return f}function j3(e,t,n){e.flags|=Km;var i={getSnapshot:t,value:n},u=ea.updateQueue;if(u===null)u=F3(),ea.updateQueue=u,u.stores=[i];else{var f=u.stores;f===null?u.stores=[i]:f.push(i)}}function H3(e,t,n,i){t.value=n,t.getSnapshot=i,V3(t)&&W3(e)}function U3(e,t,n){var i=function(){V3(t)&&W3(e)};return n(i)}function V3(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!qo(n,i)}catch(u){return!0}}function W3(e){var t=ko(e,Jt);t!==null&&mn(t,e,Jt,Sa)}function ng(e){var t=Ts();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:xy,lastRenderedState:e};t.queue=n;var i=n.dispatch=xj.bind(null,ea,n);return[t.memoizedState,i]}function Dy(e){return Ty(xy)}function Ay(e){return Ry(xy)}function Ch(e,t,n,i){var u={tag:e,create:t,destroy:n,deps:i,next:null},f=ea.updateQueue;if(f===null)f=F3(),ea.updateQueue=f,f.lastEffect=u.next=u;else{var g=f.lastEffect;if(g===null)f.lastEffect=u.next=u;else{var S=g.next;g.next=u,u.next=S,f.lastEffect=u}}return u}function Ly(e){var t=Ts();{var n={current:e};return t.memoizedState=n,n}}function og(e){var t=Rl();return t.memoizedState}function xh(e,t,n,i){var u=Ts(),f=i===void 0?null:i;ea.flags|=e,u.memoizedState=Ch(sn|t,n,void 0,f)}function ig(e,t,n,i){var u=Rl(),f=i===void 0?null:i,g=void 0;if(un!==null){var S=un.memoizedState;if(g=S.destroy,f!==null){var C=S.deps;if(Cy(f,C)){u.memoizedState=Ch(t,n,g,f);return}}}ea.flags|=e,u.memoizedState=Ch(sn|t,n,g,f)}function lg(e,t){return(ea.mode&Ss)!==Pt?xh(Xm|Wl|Eb,An,e,t):xh(Wl|Eb,An,e,t)}function kh(e,t){return ig(Wl,An,e,t)}function By(e,t){return xh(xr,ks,e,t)}function sg(e,t){return ig(xr,ks,e,t)}function Ny(e,t){var n=xr;return n|=Ou,(ea.mode&Ss)!==Pt&&(n|=Qs),xh(n,cn,e,t)}function cg(e,t){return ig(xr,cn,e,t)}function q3(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var f=e();return u.current=f,function(){u.current=null}}}function Oy(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null,u=xr;return u|=Ou,(ea.mode&Ss)!==Pt&&(u|=Qs),xh(u,cn,q3.bind(null,t,e),i)}function ug(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return ig(xr,cn,q3.bind(null,t,e),i)}function yj(e,t){}var dg=yj;function Iy(e,t){var n=Ts(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function fg(e,t){var n=Rl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var f=u[1];if(Cy(i,f))return u[0]}return n.memoizedState=[e,i],e}function Py(e,t){var n=Ts(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function pg(e,t){var n=Rl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var f=u[1];if(Cy(i,f))return u[0]}var g=e();return n.memoizedState=[g,i],g}function My(e){var t=Ts();return t.memoizedState=e,e}function Y3(e){var t=Rl(),n=un,i=n.memoizedState;return G3(t,i,e)}function $3(e){var t=Rl();if(un===null)return t.memoizedState=e,e;var n=un.memoizedState;return G3(t,n,e)}function G3(e,t,n){var i=!oM(Ju);if(i){if(!qo(n,t)){var u=WC();ea.lanes=cr(ea.lanes,u),Vh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Lh()),e.memoizedState=n,n}function Sj(e,t,n){var i=Yl();Cn(hM(i,ec)),e(!0);var u=yh.transition;yh.transition={};var f=yh.transition;yh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Cn(i),yh.transition=u,u===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("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."),f._updatedFibers.clear()}}}function zy(){var e=ng(!1),t=e[0],n=e[1],i=Sj.bind(null,n),u=Ts();return u.memoizedState=i,[t,i]}function K3(){var e=Dy(),t=e[0],n=Rl(),i=n.memoizedState;return[t,i]}function X3(){var e=Ay(),t=e[0],n=Rl(),i=n.memoizedState;return[t,i]}var Q3=!1;function wj(){return Q3}function Fy(){var e=Ts(),t=Og(),n=t.identifierPrefix,i;if(Dn()){var u=F9();i=":"+n+"R"+u;var f=wh++;f>0&&(i+="H"+f.toString(32)),i+=":"}else{var g=gj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function hg(){var e=Rl(),t=e.memoizedState;return t}function Cj(e,t,n){typeof arguments[3]=="function"&&c("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 i=nu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(J3(e))Z3(t,u);else{var f=R3(e,t,u,i);if(f!==null){var g=no();mn(f,e,i,g),ek(f,t,i)}}tk(e,i)}function xj(e,t,n){typeof arguments[3]=="function"&&c("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 i=nu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(J3(e))Z3(t,u);else{var f=e.alternate;if(e.lanes===je&&(f===null||f.lanes===je)){var g=t.lastRenderedReducer;if(g!==null){var S;S=ft.current,ft.current=Ql;try{var C=t.lastRenderedState,D=g(C,n);if(u.hasEagerState=!0,u.eagerState=D,qo(D,C)){sj(e,t,u,i);return}}catch(Q){}finally{ft.current=S}}}var B=R3(e,t,u,i);if(B!==null){var Z=no();mn(B,e,i,Z),ek(B,t,i)}}tk(e,i)}function J3(e){var t=e.alternate;return e===ea||t!==null&&t===ea}function Z3(e,t){Sh=rg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ek(e,t,n){if(VC(n)){var i=t.lanes;i=qC(i,e.pendingLanes);var u=cr(i,n);t.lanes=u,n1(e,u)}}function tk(e,t,n){Nb(e,t)}var mg={readContext:en,useCallback:Wn,useContext:Wn,useEffect:Wn,useImperativeHandle:Wn,useInsertionEffect:Wn,useLayoutEffect:Wn,useMemo:Wn,useReducer:Wn,useRef:Wn,useState:Wn,useDebugValue:Wn,useDeferredValue:Wn,useTransition:Wn,useMutableSource:Wn,useSyncExternalStore:Wn,useId:Wn,unstable_isNewReconciler:oe},rk=null,ak=null,nk=null,ok=null,Rs=null,Ql=null,vg=null;{var jy=function(){c("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().")},Zt=function(){c("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")};rk={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",Ur(),Cf(t),Iy(e,t)},useContext:function(e){return Oe="useContext",Ur(),en(e)},useEffect:function(e,t){return Oe="useEffect",Ur(),Cf(t),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Ur(),Cf(n),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Ur(),Cf(t),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Ur(),Cf(t),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",Ur(),Cf(t);var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Ur();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Ur(),Ly(e)},useState:function(e){Oe="useState",Ur();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Ur(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",Ur(),My(e)},useTransition:function(){return Oe="useTransition",Ur(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Ur(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Ur(),Ey(e,t,n)},useId:function(){return Oe="useId",Ur(),Fy()},unstable_isNewReconciler:oe},ak={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),Iy(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),Ly(e)},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),My(e)},useTransition:function(){return Oe="useTransition",nt(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),Ey(e,t,n)},useId:function(){return Oe="useId",nt(),Fy()},unstable_isNewReconciler:oe},nk={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),fg(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=Ql;try{return Ty(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),og()},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=Ql;try{return Dy(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),Y3(e)},useTransition:function(){return Oe="useTransition",nt(),K3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),ag(e,t)},useId:function(){return Oe="useId",nt(),hg()},unstable_isNewReconciler:oe},ok={readContext:function(e){return en(e)},useCallback:function(e,t){return Oe="useCallback",nt(),fg(e,t)},useContext:function(e){return Oe="useContext",nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",nt();var n=ft.current;ft.current=vg;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",nt();var i=ft.current;ft.current=vg;try{return Ry(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",nt(),og()},useState:function(e){Oe="useState",nt();var t=ft.current;ft.current=vg;try{return Ay(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",nt(),$3(e)},useTransition:function(){return Oe="useTransition",nt(),X3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",nt(),ag(e,t)},useId:function(){return Oe="useId",nt(),hg()},unstable_isNewReconciler:oe},Rs={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),Ur(),Iy(e,t)},useContext:function(e){return Oe="useContext",Zt(),Ur(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),Ur(),lg(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),Ur(),Oy(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),Ur(),By(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),Ur(),Ny(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),Ur();var n=ft.current;ft.current=Rs;try{return Py(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),Ur();var i=ft.current;ft.current=Rs;try{return ky(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),Ur(),Ly(e)},useState:function(e){Oe="useState",Zt(),Ur();var t=ft.current;ft.current=Rs;try{return ng(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),Ur(),void 0},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),Ur(),My(e)},useTransition:function(){return Oe="useTransition",Zt(),Ur(),zy()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),Ur(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),Ur(),Ey(e,t,n)},useId:function(){return Oe="useId",Zt(),Ur(),Fy()},unstable_isNewReconciler:oe},Ql={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),nt(),fg(e,t)},useContext:function(e){return Oe="useContext",Zt(),nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),nt();var i=ft.current;ft.current=Ql;try{return Ty(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),nt(),og()},useState:function(e){Oe="useState",Zt(),nt();var t=ft.current;ft.current=Ql;try{return Dy(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),nt(),Y3(e)},useTransition:function(){return Oe="useTransition",Zt(),nt(),K3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),nt(),ag(e,t)},useId:function(){return Oe="useId",Zt(),nt(),hg()},unstable_isNewReconciler:oe},vg={readContext:function(e){return jy(),en(e)},useCallback:function(e,t){return Oe="useCallback",Zt(),nt(),fg(e,t)},useContext:function(e){return Oe="useContext",Zt(),nt(),en(e)},useEffect:function(e,t){return Oe="useEffect",Zt(),nt(),kh(e,t)},useImperativeHandle:function(e,t,n){return Oe="useImperativeHandle",Zt(),nt(),ug(e,t,n)},useInsertionEffect:function(e,t){return Oe="useInsertionEffect",Zt(),nt(),sg(e,t)},useLayoutEffect:function(e,t){return Oe="useLayoutEffect",Zt(),nt(),cg(e,t)},useMemo:function(e,t){Oe="useMemo",Zt(),nt();var n=ft.current;ft.current=Ql;try{return pg(e,t)}finally{ft.current=n}},useReducer:function(e,t,n){Oe="useReducer",Zt(),nt();var i=ft.current;ft.current=Ql;try{return Ry(e,t,n)}finally{ft.current=i}},useRef:function(e){return Oe="useRef",Zt(),nt(),og()},useState:function(e){Oe="useState",Zt(),nt();var t=ft.current;ft.current=Ql;try{return Ay(e)}finally{ft.current=t}},useDebugValue:function(e,t){return Oe="useDebugValue",Zt(),nt(),dg()},useDeferredValue:function(e){return Oe="useDeferredValue",Zt(),nt(),$3(e)},useTransition:function(){return Oe="useTransition",Zt(),nt(),X3()},useMutableSource:function(e,t,n){return Oe="useMutableSource",Zt(),nt(),void 0},useSyncExternalStore:function(e,t,n){return Oe="useSyncExternalStore",Zt(),nt(),ag(e,t)},useId:function(){return Oe="useId",Zt(),nt(),hg()},unstable_isNewReconciler:oe}}var eu=a.unstable_now,ik=0,gg=-1,Th=-1,_g=-1,Hy=!1,bg=!1;function lk(){return Hy}function kj(){bg=!0}function Tj(){Hy=!1,bg=!1}function Rj(){Hy=bg,bg=!1}function sk(){return ik}function ck(){ik=eu()}function Uy(e){Th=eu(),e.actualStartTime<0&&(e.actualStartTime=eu())}function uk(e){Th=-1}function yg(e,t){if(Th>=0){var n=eu()-Th;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Th=-1}}function Es(e){if(gg>=0){var t=eu()-gg;gg=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i.effectDuration+=t;return;case H:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function Vy(e){if(_g>=0){var t=eu()-_g;_g=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case H:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function Ds(){gg=eu()}function Wy(){_g=eu()}function qy(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Jl(e,t){if(e&&e.defaultProps){var n=It({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Yy={},$y,Gy,Ky,Xy,Qy,dk,Sg,Jy,Zy,e0,Rh;{$y=new Set,Gy=new Set,Ky=new Set,Xy=new Set,Jy=new Set,Qy=new Set,Zy=new Set,e0=new Set,Rh=new Set;var fk=new Set;Sg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;fk.has(n)||(fk.add(n),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},dk=function(e,t){if(t===void 0){var n=qr(e)||"Component";Qy.has(n)||(Qy.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Yy,"_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(Yy)}function t0(e,t,n,i){var u=e.memoizedState,f=n(i,u);{if(e.mode&Ma){Sn(!0);try{f=n(i,u)}finally{Sn(!1)}}dk(t,f)}var g=f==null?u:It({},u,f);if(e.memoizedState=g,e.lanes===je){var S=e.updateQueue;S.baseState=g}}var r0={isMounted:_P,enqueueSetState:function(e,t,n){var i=$d(e),u=no(),f=nu(i),g=lc(u,f);g.payload=t,n!=null&&(Sg(n,"setState"),g.callback=n);var S=Xc(i,g,f);S!==null&&(mn(S,i,f,u),Xv(S,i,f)),Nb(i,f)},enqueueReplaceState:function(e,t,n){var i=$d(e),u=no(),f=nu(i),g=lc(u,f);g.tag=D3,g.payload=t,n!=null&&(Sg(n,"replaceState"),g.callback=n);var S=Xc(i,g,f);S!==null&&(mn(S,i,f,u),Xv(S,i,f)),Nb(i,f)},enqueueForceUpdate:function(e,t){var n=$d(e),i=no(),u=nu(n),f=lc(i,u);f.tag=$v,t!=null&&(Sg(t,"forceUpdate"),f.callback=t);var g=Xc(n,f,u);g!==null&&(mn(g,n,u,i),Xv(g,n,u)),KP(n,u)}};function pk(e,t,n,i,u,f,g){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var C=S.shouldComponentUpdate(i,f,g);{if(e.mode&Ma){Sn(!0);try{C=S.shouldComponentUpdate(i,f,g)}finally{Sn(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",qr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Kp(n,i)||!Kp(u,f):!0}function Ej(e,t,n){var i=e.stateNode;{var u=qr(t)||"Component",f=i.render;f||(t.prototype&&typeof t.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&c("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?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&c("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.",u),i.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!Rh.has(t)&&(e.mode&Ma)===Pt&&(Rh.add(t),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
85
85
|
|
|
86
86
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),t.contextTypes&&!Rh.has(t)&&(e.mode&Ma)===Pt&&(Rh.add(t),c(`%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.
|
|
87
87
|
|
|
@@ -97,9 +97,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`,ot,Ot,_e!==null?`
|
|
|
97
97
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var B=or(e)||"Anonymous";D="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+B+".")}var Z=C+`
|
|
98
98
|
`+g+`
|
|
99
99
|
|
|
100
|
-
`+(""+D);console.error(Z)}catch(Q){setTimeout(function(){throw Q})}}var Nj=typeof WeakMap=="function"?WeakMap:Map;function gk(e,t,n){var i=lc(Sa,n);i.tag=uy,i.payload={element:null};var u=t.value;return i.callback=function(){AU(u),o0(e,t)},i}function i0(e,t,n){var i=lc(Sa,n);i.tag=uy;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;i.payload=function(){return u(f)},i.callback=function(){DT(e),o0(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){DT(e),o0(e,t),typeof u!="function"&&EU(this);var C=t.value,D=t.stack;this.componentDidCatch(C,{componentStack:D!==null?D:""}),typeof u!="function"&&(Uo(e.lanes,Jt)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",or(e)||"Unknown"))}),i}function _k(e,t,n){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new Nj,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(n)){u.add(n);var f=LU.bind(null,e,t,n);ql&&Wh(e,n),t.then(f,f)}}function Oj(e,t,n,i){var u=e.updateQueue;if(u===null){var f=new Set;f.add(n),e.updateQueue=f}else u.add(n)}function Ij(e,t){var n=e.tag;if((e.mode&br)===Pt&&(n===p||n===U||n===re)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function bk(e){var t=e;do{if(t.tag===J&&mj(t))return t;t=t.return}while(t!==null);return null}function yk(e,t,n,i,u){if((e.mode&br)===Pt){if(e===t)e.flags|=ro;else{if(e.flags|=zr,n.flags|=Tb,n.flags&=~(hP|Tp),n.tag===v){var f=n.alternate;if(f===null)n.tag=ne;else{var g=lc(Sa,Jt);g.tag=$v,Xc(n,g,Jt)}}n.lanes=cr(n.lanes,Jt)}return e}return e.flags|=ro,e.lanes=u,e}function Pj(e,t,n,i,u){if(n.flags|=Tp,ql&&Wh(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var f=i;Ij(n),Dn()&&n.mode&br&&d3();var g=bk(t);if(g!==null){g.flags&=~Ks,yk(g,t,n,e,u),g.mode&br&&_k(e,f,u),Oj(g,e,f);return}else{if(!nM(u)){_k(e,f,u),j0();return}var S=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.");i=S}}else if(Dn()&&n.mode&br){d3();var C=bk(t);if(C!==null){(C.flags&ro)===Vt&&(C.flags|=Ks),yk(C,t,n,e,u),J1(Zu(i,n));return}}i=Zu(i,n),yU(i);var D=t;do{switch(D.tag){case y:{var B=i;D.flags|=ro;var Z=Op(u);D.lanes=cr(D.lanes,Z);var Q=gk(D,B,Z);py(D,Q);return}case v:var _e=i,be=D.type,Re=D.stateNode;if((D.flags&zr)===Vt&&(typeof be.getDerivedStateFromError=="function"||Re!==null&&typeof Re.componentDidCatch=="function"&&!yT(Re))){D.flags|=ro;var ot=Op(u);D.lanes=cr(D.lanes,ot);var Ot=i0(D,_e,ot);py(D,Ot);return}break}D=D.return}while(D!==null)}function Mj(){return null}var Eh=o.ReactCurrentOwner,Zl=!1,l0,Dh,s0,c0,u0,ed,d0,wg,Ah;l0={},Dh={},s0={},c0={},u0={},ed=!1,d0={},wg={},Ah={};function ao(e,t,n,i){e===null?t.child=C3(t,null,n,i):t.child=vf(t,e.child,n,i)}function zj(e,t,n,i){t.child=vf(t,e.child,null,i),t.child=vf(t,null,n,i)}function Sk(e,t,n,i,u){if(t.type!==t.elementType){var f=n.propTypes;f&&$l(f,i,"prop",qr(n))}var g=n.render,S=t.ref,C,D;_f(t,u),Ep(t);{if(Eh.current=t,wl(!0),C=xf(e,t,g,i,S,u),D=kf(),t.mode&Ma){Sn(!0);try{C=xf(e,t,g,i,S,u),D=kf()}finally{Sn(!1)}}wl(!1)}return Xd(),e!==null&&!Zl?(M3(e,t,u),sc(e,t,u)):(Dn()&&D&&Y1(t),t.flags|=Gd,ao(e,t,C,u),t.child)}function wk(e,t,n,i,u){if(e===null){var f=n.type;if(GU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=Nf(f),t.tag=re,t.type=g,h0(t,f),Ck(e,t,g,i,u)}{var S=f.propTypes;if(S&&$l(S,i,"prop",qr(f)),n.defaultProps!==void 0){var C=qr(f)||"Unknown";Ah[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Ah[C]=!0)}}var D=Q0(n.type,null,i,t,t.mode,u);return D.ref=t.ref,D.return=t,t.child=D,D}{var B=n.type,Z=B.propTypes;Z&&$l(Z,i,"prop",qr(B))}var Q=e.child,_e=y0(e,u);if(!_e){var be=Q.memoizedProps,Re=n.compare;if(Re=Re!==null?Re:Kp,Re(be,i)&&e.ref===t.ref)return sc(e,t,u)}t.flags|=Gd;var ot=od(Q,i);return ot.ref=t.ref,ot.return=t,t.child=ot,ot}function Ck(e,t,n,i,u){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===rt){var g=f,S=g._payload,C=g._init;try{f=C(S)}catch(Z){f=null}var D=f&&f.propTypes;D&&$l(D,i,"prop",qr(f))}}if(e!==null){var B=e.memoizedProps;if(Kp(B,i)&&e.ref===t.ref&&t.type===e.type)if(Zl=!1,t.pendingProps=i=B,y0(e,u))(e.flags&Tb)!==Vt&&(Zl=!0);else return t.lanes=e.lanes,sc(e,t,u)}return f0(e,t,n,i,u)}function xk(e,t,n){var i=t.pendingProps,u=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ue)if((t.mode&br)===Pt){var g={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=g,Ig(t,n)}else if(Uo(n,Ho)){var Z={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=Z;var Q=f!==null?f.baseLanes:n;Ig(t,Q)}else{var S=null,C;if(f!==null){var D=f.baseLanes;C=cr(D,n)}else C=n;t.lanes=t.childLanes=Ho;var B={baseLanes:C,cachePool:S,transitions:null};return t.memoizedState=B,t.updateQueue=null,Ig(t,C),null}else{var _e;f!==null?(_e=cr(f.baseLanes,n),t.memoizedState=null):_e=n,Ig(t,_e)}return ao(e,t,u,n),t.child}function Fj(e,t,n){var i=t.pendingProps;return ao(e,t,i,n),t.child}function jj(e,t,n){var i=t.pendingProps.children;return ao(e,t,i,n),t.child}function Hj(e,t,n){{t.flags|=xr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,f=u.children;return ao(e,t,f,n),t.child}function kk(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=zc,t.flags|=Rb)}function f0(e,t,n,i,u){if(t.type!==t.elementType){var f=n.propTypes;f&&$l(f,i,"prop",qr(n))}var g;{var S=df(t,n,!0);g=ff(t,S)}var C,D;_f(t,u),Ep(t);{if(Eh.current=t,wl(!0),C=xf(e,t,n,i,g,u),D=kf(),t.mode&Ma){Sn(!0);try{C=xf(e,t,n,i,g,u),D=kf()}finally{Sn(!1)}}wl(!1)}return Xd(),e!==null&&!Zl?(M3(e,t,u),sc(e,t,u)):(Dn()&&D&&Y1(t),t.flags|=Gd,ao(e,t,C,u),t.child)}function Tk(e,t,n,i,u){{switch(cV(t)){case!1:{var f=t.stateNode,g=t.type,S=new g(t.memoizedProps,f.context),C=S.state;f.updater.enqueueSetState(f,C,null);break}case!0:{t.flags|=zr,t.flags|=ro;var D=new Error("Simulated error coming from DevTools"),B=Op(u);t.lanes=cr(t.lanes,B);var Z=i0(t,Zu(D,t),B);py(t,Z);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&$l(Q,i,"prop",qr(n))}}var _e;xs(n)?(_e=!0,Ov(t)):_e=!1,_f(t,u);var be=t.stateNode,Re;be===null?(xg(e,t),mk(t,n,i),a0(t,n,i,u),Re=!0):e===null?Re=Aj(t,n,i,u):Re=Lj(e,t,n,i,u);var ot=p0(e,t,n,Re,_e,u);{var Ot=t.stateNode;Re&&Ot.props!==i&&(ed||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",or(t)||"a component"),ed=!0)}return ot}function p0(e,t,n,i,u,f){kk(e,t);var g=(t.flags&zr)!==Vt;if(!i&&!g)return u&&l3(t,n,!1),sc(e,t,f);var S=t.stateNode;Eh.current=t;var C;if(g&&typeof n.getDerivedStateFromError!="function")C=null,uk();else{Ep(t);{if(wl(!0),C=S.render(),t.mode&Ma){Sn(!0);try{S.render()}finally{Sn(!1)}}wl(!1)}Xd()}return t.flags|=Gd,e!==null&&g?zj(e,t,C,f):ao(e,t,C,f),t.memoizedState=S.state,u&&l3(t,n,!0),t.child}function Rk(e){var t=e.stateNode;t.pendingContext?o3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&o3(e,t.context,!1),hy(e,t.containerInfo)}function Uj(e,t,n){if(Rk(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,f=u.element;A3(e,t),Qv(t,i,null,n);var g=t.memoizedState,S=t.stateNode,C=g.element;if(u.isDehydrated){var D={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},B=t.updateQueue;if(B.baseState=D,t.memoizedState=D,t.flags&Ks){var Z=Zu(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 Ek(e,t,C,n,Z)}else if(C!==f){var Q=Zu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Ek(e,t,C,n,Q)}else{q9(t);var _e=C3(t,null,C,n);t.child=_e;for(var be=_e;be;)be.flags=be.flags&~Za|Xs,be=be.sibling}}else{if(mf(),C===f)return sc(e,t,n);ao(e,t,C,n)}return t.child}function Ek(e,t,n,i,u){return mf(),J1(u),t.flags|=Ks,ao(e,t,n,i),t.child}function Vj(e,t,n){O3(t),e===null&&Q1(t);var i=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,g=u.children,S=B1(i,u);return S?g=null:f!==null&&B1(i,f)&&(t.flags|=kp),kk(e,t),ao(e,t,g,n),t.child}function Wj(e,t){return e===null&&Q1(t),null}function qj(e,t,n,i){xg(e,t);var u=t.pendingProps,f=n,g=f._payload,S=f._init,C=S(g);t.type=C;var D=t.tag=KU(C),B=Jl(C,u),Z;switch(D){case p:return h0(t,C),t.type=C=Nf(C),Z=f0(null,t,C,B,i),Z;case v:return t.type=C=q0(C),Z=Tk(null,t,C,B,i),Z;case U:return t.type=C=Y0(C),Z=Sk(null,t,C,B,i),Z;case I:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&$l(Q,B,"prop",qr(C))}return Z=wk(null,t,C,Jl(C.type,B),i),Z}}var _e="";throw C!==null&&typeof C=="object"&&C.$$typeof===rt&&(_e=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+_e))}function Yj(e,t,n,i,u){xg(e,t),t.tag=v;var f;return xs(n)?(f=!0,Ov(t)):f=!1,_f(t,u),mk(t,n,i),a0(t,n,i,u),p0(null,t,n,!0,f,u)}function $j(e,t,n,i){xg(e,t);var u=t.pendingProps,f;{var g=df(t,n,!1);f=ff(t,g)}_f(t,i);var S,C;Ep(t);{if(n.prototype&&typeof n.prototype.render=="function"){var D=qr(n)||"Unknown";l0[D]||(c("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.",D,D),l0[D]=!0)}t.mode&Ma&&Kl.recordLegacyContextWarning(t,null),wl(!0),Eh.current=t,S=xf(null,t,n,u,f,i),C=kf(),wl(!1)}if(Xd(),t.flags|=Gd,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var B=qr(n)||"Unknown";Dh[B]||(c("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.",B,B,B),Dh[B]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var Z=qr(n)||"Unknown";Dh[Z]||(c("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.",Z,Z,Z),Dh[Z]=!0)}t.tag=v,t.memoizedState=null,t.updateQueue=null;var Q=!1;return xs(n)?(Q=!0,Ov(t)):Q=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,fy(t),hk(t,S),a0(t,n,u,i),p0(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Ma){Sn(!0);try{S=xf(null,t,n,u,f,i),C=kf()}finally{Sn(!1)}}return Dn()&&C&&Y1(t),ao(null,t,S,i),h0(t,n),t.child}}function h0(e,t){{if(t&&t.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Pc();i&&(n+=`
|
|
100
|
+
`+(""+D);console.error(Z)}catch(Q){setTimeout(function(){throw Q})}}var Nj=typeof WeakMap=="function"?WeakMap:Map;function gk(e,t,n){var i=lc(Sa,n);i.tag=uy,i.payload={element:null};var u=t.value;return i.callback=function(){AU(u),o0(e,t)},i}function i0(e,t,n){var i=lc(Sa,n);i.tag=uy;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;i.payload=function(){return u(f)},i.callback=function(){DT(e),o0(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){DT(e),o0(e,t),typeof u!="function"&&EU(this);var C=t.value,D=t.stack;this.componentDidCatch(C,{componentStack:D!==null?D:""}),typeof u!="function"&&(Uo(e.lanes,Jt)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",or(e)||"Unknown"))}),i}function _k(e,t,n){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new Nj,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(n)){u.add(n);var f=LU.bind(null,e,t,n);ql&&Wh(e,n),t.then(f,f)}}function Oj(e,t,n,i){var u=e.updateQueue;if(u===null){var f=new Set;f.add(n),e.updateQueue=f}else u.add(n)}function Ij(e,t){var n=e.tag;if((e.mode&br)===Pt&&(n===p||n===U||n===re)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function bk(e){var t=e;do{if(t.tag===J&&mj(t))return t;t=t.return}while(t!==null);return null}function yk(e,t,n,i,u){if((e.mode&br)===Pt){if(e===t)e.flags|=to;else{if(e.flags|=zr,n.flags|=Tb,n.flags&=~(hP|Tp),n.tag===v){var f=n.alternate;if(f===null)n.tag=ne;else{var g=lc(Sa,Jt);g.tag=$v,Xc(n,g,Jt)}}n.lanes=cr(n.lanes,Jt)}return e}return e.flags|=to,e.lanes=u,e}function Pj(e,t,n,i,u){if(n.flags|=Tp,ql&&Wh(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var f=i;Ij(n),Dn()&&n.mode&br&&d3();var g=bk(t);if(g!==null){g.flags&=~Ks,yk(g,t,n,e,u),g.mode&br&&_k(e,f,u),Oj(g,e,f);return}else{if(!nM(u)){_k(e,f,u),j0();return}var S=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.");i=S}}else if(Dn()&&n.mode&br){d3();var C=bk(t);if(C!==null){(C.flags&to)===Vt&&(C.flags|=Ks),yk(C,t,n,e,u),J1(Zu(i,n));return}}i=Zu(i,n),yU(i);var D=t;do{switch(D.tag){case y:{var B=i;D.flags|=to;var Z=Op(u);D.lanes=cr(D.lanes,Z);var Q=gk(D,B,Z);py(D,Q);return}case v:var _e=i,be=D.type,Re=D.stateNode;if((D.flags&zr)===Vt&&(typeof be.getDerivedStateFromError=="function"||Re!==null&&typeof Re.componentDidCatch=="function"&&!yT(Re))){D.flags|=to;var ot=Op(u);D.lanes=cr(D.lanes,ot);var Ot=i0(D,_e,ot);py(D,Ot);return}break}D=D.return}while(D!==null)}function Mj(){return null}var Eh=o.ReactCurrentOwner,Zl=!1,l0,Dh,s0,c0,u0,ed,d0,wg,Ah;l0={},Dh={},s0={},c0={},u0={},ed=!1,d0={},wg={},Ah={};function ro(e,t,n,i){e===null?t.child=C3(t,null,n,i):t.child=vf(t,e.child,n,i)}function zj(e,t,n,i){t.child=vf(t,e.child,null,i),t.child=vf(t,null,n,i)}function Sk(e,t,n,i,u){if(t.type!==t.elementType){var f=n.propTypes;f&&$l(f,i,"prop",qr(n))}var g=n.render,S=t.ref,C,D;_f(t,u),Ep(t);{if(Eh.current=t,wl(!0),C=xf(e,t,g,i,S,u),D=kf(),t.mode&Ma){Sn(!0);try{C=xf(e,t,g,i,S,u),D=kf()}finally{Sn(!1)}}wl(!1)}return Xd(),e!==null&&!Zl?(M3(e,t,u),sc(e,t,u)):(Dn()&&D&&Y1(t),t.flags|=Gd,ro(e,t,C,u),t.child)}function wk(e,t,n,i,u){if(e===null){var f=n.type;if(GU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=Nf(f),t.tag=re,t.type=g,h0(t,f),Ck(e,t,g,i,u)}{var S=f.propTypes;if(S&&$l(S,i,"prop",qr(f)),n.defaultProps!==void 0){var C=qr(f)||"Unknown";Ah[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Ah[C]=!0)}}var D=Q0(n.type,null,i,t,t.mode,u);return D.ref=t.ref,D.return=t,t.child=D,D}{var B=n.type,Z=B.propTypes;Z&&$l(Z,i,"prop",qr(B))}var Q=e.child,_e=y0(e,u);if(!_e){var be=Q.memoizedProps,Re=n.compare;if(Re=Re!==null?Re:Kp,Re(be,i)&&e.ref===t.ref)return sc(e,t,u)}t.flags|=Gd;var ot=od(Q,i);return ot.ref=t.ref,ot.return=t,t.child=ot,ot}function Ck(e,t,n,i,u){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===rt){var g=f,S=g._payload,C=g._init;try{f=C(S)}catch(Z){f=null}var D=f&&f.propTypes;D&&$l(D,i,"prop",qr(f))}}if(e!==null){var B=e.memoizedProps;if(Kp(B,i)&&e.ref===t.ref&&t.type===e.type)if(Zl=!1,t.pendingProps=i=B,y0(e,u))(e.flags&Tb)!==Vt&&(Zl=!0);else return t.lanes=e.lanes,sc(e,t,u)}return f0(e,t,n,i,u)}function xk(e,t,n){var i=t.pendingProps,u=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ue)if((t.mode&br)===Pt){var g={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=g,Ig(t,n)}else if(Uo(n,Ho)){var Z={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=Z;var Q=f!==null?f.baseLanes:n;Ig(t,Q)}else{var S=null,C;if(f!==null){var D=f.baseLanes;C=cr(D,n)}else C=n;t.lanes=t.childLanes=Ho;var B={baseLanes:C,cachePool:S,transitions:null};return t.memoizedState=B,t.updateQueue=null,Ig(t,C),null}else{var _e;f!==null?(_e=cr(f.baseLanes,n),t.memoizedState=null):_e=n,Ig(t,_e)}return ro(e,t,u,n),t.child}function Fj(e,t,n){var i=t.pendingProps;return ro(e,t,i,n),t.child}function jj(e,t,n){var i=t.pendingProps.children;return ro(e,t,i,n),t.child}function Hj(e,t,n){{t.flags|=xr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,f=u.children;return ro(e,t,f,n),t.child}function kk(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=zc,t.flags|=Rb)}function f0(e,t,n,i,u){if(t.type!==t.elementType){var f=n.propTypes;f&&$l(f,i,"prop",qr(n))}var g;{var S=df(t,n,!0);g=ff(t,S)}var C,D;_f(t,u),Ep(t);{if(Eh.current=t,wl(!0),C=xf(e,t,n,i,g,u),D=kf(),t.mode&Ma){Sn(!0);try{C=xf(e,t,n,i,g,u),D=kf()}finally{Sn(!1)}}wl(!1)}return Xd(),e!==null&&!Zl?(M3(e,t,u),sc(e,t,u)):(Dn()&&D&&Y1(t),t.flags|=Gd,ro(e,t,C,u),t.child)}function Tk(e,t,n,i,u){{switch(cV(t)){case!1:{var f=t.stateNode,g=t.type,S=new g(t.memoizedProps,f.context),C=S.state;f.updater.enqueueSetState(f,C,null);break}case!0:{t.flags|=zr,t.flags|=to;var D=new Error("Simulated error coming from DevTools"),B=Op(u);t.lanes=cr(t.lanes,B);var Z=i0(t,Zu(D,t),B);py(t,Z);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&$l(Q,i,"prop",qr(n))}}var _e;xs(n)?(_e=!0,Ov(t)):_e=!1,_f(t,u);var be=t.stateNode,Re;be===null?(xg(e,t),mk(t,n,i),a0(t,n,i,u),Re=!0):e===null?Re=Aj(t,n,i,u):Re=Lj(e,t,n,i,u);var ot=p0(e,t,n,Re,_e,u);{var Ot=t.stateNode;Re&&Ot.props!==i&&(ed||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",or(t)||"a component"),ed=!0)}return ot}function p0(e,t,n,i,u,f){kk(e,t);var g=(t.flags&zr)!==Vt;if(!i&&!g)return u&&l3(t,n,!1),sc(e,t,f);var S=t.stateNode;Eh.current=t;var C;if(g&&typeof n.getDerivedStateFromError!="function")C=null,uk();else{Ep(t);{if(wl(!0),C=S.render(),t.mode&Ma){Sn(!0);try{S.render()}finally{Sn(!1)}}wl(!1)}Xd()}return t.flags|=Gd,e!==null&&g?zj(e,t,C,f):ro(e,t,C,f),t.memoizedState=S.state,u&&l3(t,n,!0),t.child}function Rk(e){var t=e.stateNode;t.pendingContext?o3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&o3(e,t.context,!1),hy(e,t.containerInfo)}function Uj(e,t,n){if(Rk(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,f=u.element;A3(e,t),Qv(t,i,null,n);var g=t.memoizedState,S=t.stateNode,C=g.element;if(u.isDehydrated){var D={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},B=t.updateQueue;if(B.baseState=D,t.memoizedState=D,t.flags&Ks){var Z=Zu(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 Ek(e,t,C,n,Z)}else if(C!==f){var Q=Zu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Ek(e,t,C,n,Q)}else{q9(t);var _e=C3(t,null,C,n);t.child=_e;for(var be=_e;be;)be.flags=be.flags&~Za|Xs,be=be.sibling}}else{if(mf(),C===f)return sc(e,t,n);ro(e,t,C,n)}return t.child}function Ek(e,t,n,i,u){return mf(),J1(u),t.flags|=Ks,ro(e,t,n,i),t.child}function Vj(e,t,n){O3(t),e===null&&Q1(t);var i=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,g=u.children,S=B1(i,u);return S?g=null:f!==null&&B1(i,f)&&(t.flags|=kp),kk(e,t),ro(e,t,g,n),t.child}function Wj(e,t){return e===null&&Q1(t),null}function qj(e,t,n,i){xg(e,t);var u=t.pendingProps,f=n,g=f._payload,S=f._init,C=S(g);t.type=C;var D=t.tag=KU(C),B=Jl(C,u),Z;switch(D){case p:return h0(t,C),t.type=C=Nf(C),Z=f0(null,t,C,B,i),Z;case v:return t.type=C=q0(C),Z=Tk(null,t,C,B,i),Z;case U:return t.type=C=Y0(C),Z=Sk(null,t,C,B,i),Z;case I:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&$l(Q,B,"prop",qr(C))}return Z=wk(null,t,C,Jl(C.type,B),i),Z}}var _e="";throw C!==null&&typeof C=="object"&&C.$$typeof===rt&&(_e=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+_e))}function Yj(e,t,n,i,u){xg(e,t),t.tag=v;var f;return xs(n)?(f=!0,Ov(t)):f=!1,_f(t,u),mk(t,n,i),a0(t,n,i,u),p0(null,t,n,!0,f,u)}function $j(e,t,n,i){xg(e,t);var u=t.pendingProps,f;{var g=df(t,n,!1);f=ff(t,g)}_f(t,i);var S,C;Ep(t);{if(n.prototype&&typeof n.prototype.render=="function"){var D=qr(n)||"Unknown";l0[D]||(c("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.",D,D),l0[D]=!0)}t.mode&Ma&&Kl.recordLegacyContextWarning(t,null),wl(!0),Eh.current=t,S=xf(null,t,n,u,f,i),C=kf(),wl(!1)}if(Xd(),t.flags|=Gd,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var B=qr(n)||"Unknown";Dh[B]||(c("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.",B,B,B),Dh[B]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var Z=qr(n)||"Unknown";Dh[Z]||(c("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.",Z,Z,Z),Dh[Z]=!0)}t.tag=v,t.memoizedState=null,t.updateQueue=null;var Q=!1;return xs(n)?(Q=!0,Ov(t)):Q=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,fy(t),hk(t,S),a0(t,n,u,i),p0(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Ma){Sn(!0);try{S=xf(null,t,n,u,f,i),C=kf()}finally{Sn(!1)}}return Dn()&&C&&Y1(t),ro(null,t,S,i),h0(t,n),t.child}}function h0(e,t){{if(t&&t.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Pc();i&&(n+=`
|
|
101
101
|
|
|
102
|
-
Check the render method of \``+i+"`.");var u=i||"",f=e._debugSource;f&&(u=f.fileName+":"+f.lineNumber),u0[u]||(u0[u]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var g=qr(t)||"Unknown";Ah[g]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),Ah[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var S=qr(t)||"Unknown";c0[S]||(c("%s: Function components do not support getDerivedStateFromProps.",S),c0[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=qr(t)||"Unknown";s0[C]||(c("%s: Function components do not support contextType.",C),s0[C]=!0)}}}var m0={dehydrated:null,treeContext:null,retryLane:wn};function v0(e){return{baseLanes:e,cachePool:Mj(),transitions:null}}function Gj(e,t){var n=null;return{baseLanes:cr(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Kj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return gy(e,bh)}function Xj(e,t){return av(e.childLanes,t)}function Dk(e,t,n){var i=t.pendingProps;uV(t)&&(t.flags|=zr);var u=Xl.current,f=!1,g=(t.flags&zr)!==Vt;if(g||Kj(u,e)?(f=!0,t.flags&=~zr):(e===null||e.memoizedState!==null)&&(u=hj(u,P3)),u=yf(u),Jc(t,u),e===null){Q1(t);var S=t.memoizedState;if(S!==null){var C=S.dehydrated;if(C!==null)return tH(t,C)}var D=i.children,B=i.fallback;if(f){var Z=Qj(t,D,B,n),Q=t.child;return Q.memoizedState=v0(n),t.memoizedState=m0,Z}else return g0(t,D)}else{var _e=e.memoizedState;if(_e!==null){var be=_e.dehydrated;if(be!==null)return rH(e,t,g,i,be,_e,n)}if(f){var Re=i.fallback,ot=i.children,Ot=Zj(e,t,ot,Re,n),Tt=t.child,vr=e.child.memoizedState;return Tt.memoizedState=vr===null?v0(n):Gj(vr,n),Tt.childLanes=Xj(e,n),t.memoizedState=m0,Ot}else{var gr=i.children,de=Jj(e,t,gr,n);return t.memoizedState=null,de}}}function g0(e,t,n){var i=e.mode,u={mode:"visible",children:t},f=_0(u,i);return f.return=e,e.child=f,f}function Qj(e,t,n,i){var u=e.mode,f=e.child,g={mode:"hidden",children:t},S,C;return(u&br)===Pt&&f!==null?(S=f,S.childLanes=je,S.pendingProps=g,e.mode&Zr&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),C=iu(n,u,i,null)):(S=_0(g,u),C=iu(n,u,i,null)),S.return=e,C.return=e,S.sibling=C,e.child=S,C}function _0(e,t,n){return LT(e,t,je,null)}function Ak(e,t){return od(e,t)}function Jj(e,t,n,i){var u=e.child,f=u.sibling,g=Ak(u,{mode:"visible",children:n});if((t.mode&br)===Pt&&(g.lanes=i),g.return=t,g.sibling=null,f!==null){var S=t.deletions;S===null?(t.deletions=[f],t.flags|=Lu):S.push(f)}return t.child=g,g}function Zj(e,t,n,i,u){var f=t.mode,g=e.child,S=g.sibling,C={mode:"hidden",children:n},D;if((f&br)===Pt&&t.child!==g){var B=t.child;D=B,D.childLanes=je,D.pendingProps=C,t.mode&Zr&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=g.selfBaseDuration,D.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else D=Ak(g,C),D.subtreeFlags=g.subtreeFlags&Js;var Z;return S!==null?Z=od(S,i):(Z=iu(i,f,u,null),Z.flags|=Za),Z.return=t,D.return=t,D.sibling=Z,t.child=D,Z}function Cg(e,t,n,i){i!==null&&J1(i),vf(t,e.child,null,n);var u=t.pendingProps,f=u.children,g=g0(t,f);return g.flags|=Za,t.memoizedState=null,g}function eH(e,t,n,i,u){var f=t.mode,g={mode:"visible",children:n},S=_0(g,f),C=iu(i,f,u,null);return C.flags|=Za,S.return=t,C.return=t,S.sibling=C,t.child=S,(t.mode&br)!==Pt&&vf(t,e.child,null,u),C}function tH(e,t,n){return(e.mode&br)===Pt?(c("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=Jt):P1(t)?e.lanes=zu:e.lanes=Ho,null}function rH(e,t,n,i,u,f,g){if(n)if(t.flags&Ks){t.flags&=~Ks;var de=n0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Cg(e,t,g,de)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=zr,null;var Ae=i.children,fe=i.fallback,Xe=eH(e,t,Ae,fe,g),ht=t.child;return ht.memoizedState=v0(g),t.memoizedState=m0,Xe}else{if(V9(),(t.mode&br)===Pt)return Cg(e,t,g,null);if(P1(u)){var S,C,D;{var B=i9(u);S=B.digest,C=B.message,D=B.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=n0(Z,S,D);return Cg(e,t,g,Q)}var _e=Uo(g,e.childLanes);if(Zl||_e){var be=Og();if(be!==null){var Re=fM(be,g);if(Re!==wn&&Re!==f.retryLane){f.retryLane=Re;var ot=Sa;To(e,Re),mn(be,e,Re,ot)}}j0();var Ot=n0(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 Cg(e,t,g,Ot)}else if(Zx(u)){t.flags|=zr,t.child=e.child;var Tt=BU.bind(null,e);return l9(u,Tt),null}else{Y9(t,u,f.treeContext);var vr=i.children,gr=g0(t,vr);return gr.flags|=Xs,gr}}}function Lk(e,t,n){e.lanes=cr(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=cr(i.lanes,t)),sy(e.return,t,n)}function aH(e,t,n){for(var i=t;i!==null;){if(i.tag===J){var u=i.memoizedState;u!==null&&Lk(i,n,e)}else if(i.tag===xe)Lk(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function nH(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&tg(i)===null&&(n=t),t=t.sibling}return n}function oH(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!d0[e])if(d0[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{c('"%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:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function iH(e,t){e!==void 0&&!wg[e]&&(e!=="collapsed"&&e!=="hidden"?(wg[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(wg[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Bk(e,t){{var n=ln(e),i=!n&&typeof Qa(e)=="function";if(n||i){var u=n?"array":"iterable";return c("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>",u,t,u),!1}}return!0}function lH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ln(e)){for(var n=0;n<e.length;n++)if(!Bk(e[n],n))return}else{var i=Qa(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var f=u.next(),g=0;!f.done;f=u.next()){if(!Bk(f.value,g))return;g++}}else c('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 b0(e,t,n,i,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=u)}function Nk(e,t,n){var i=t.pendingProps,u=i.revealOrder,f=i.tail,g=i.children;oH(u),iH(f,u),lH(g,u),ao(e,t,g,n);var S=Xl.current,C=gy(S,bh);if(C)S=_y(S,bh),t.flags|=zr;else{var D=e!==null&&(e.flags&zr)!==Vt;D&&aH(t,t.child,n),S=yf(S)}if(Jc(t,S),(t.mode&br)===Pt)t.memoizedState=null;else switch(u){case"forwards":{var B=nH(t.child),Z;B===null?(Z=t.child,t.child=null):(Z=B.sibling,B.sibling=null),b0(t,!1,Z,B,f);break}case"backwards":{var Q=null,_e=t.child;for(t.child=null;_e!==null;){var be=_e.alternate;if(be!==null&&tg(be)===null){t.child=_e;break}var Re=_e.sibling;_e.sibling=Q,Q=_e,_e=Re}b0(t,!0,Q,null,f);break}case"together":{b0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function sH(e,t,n){hy(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=vf(t,null,i,n):ao(e,t,i,n),t.child}var Ok=!1;function cH(e,t,n){var i=t.type,u=i._context,f=t.pendingProps,g=t.memoizedProps,S=f.value;{"value"in f||Ok||(Ok=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&$l(C,f,"prop","Context.Provider")}if(T3(t,u,S),g!==null){var D=g.value;if(qo(D,S)){if(g.children===f.children&&!Bv())return sc(e,t,n)}else oj(t,u,n)}var B=f.children;return ao(e,t,B,n),t.child}var Ik=!1;function uH(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(Ik||(Ik=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,f=u.children;typeof f!="function"&&c("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."),_f(t,n);var g=en(i);Ep(t);var S;return Eh.current=t,wl(!0),S=f(g),wl(!1),Xd(),t.flags|=Gd,ao(e,t,S,n),t.child}function Lh(){Zl=!0}function xg(e,t){(t.mode&br)===Pt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Za)}function sc(e,t,n){return e!==null&&(t.dependencies=e.dependencies),uk(),Vh(t.lanes),Uo(n,t.childLanes)?(aj(e,t),t.child):null}function dH(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=n}var f=i.deletions;return f===null?(i.deletions=[e],i.flags|=Lu):f.push(e),n.flags|=Za,n}}function y0(e,t){var n=e.lanes;return!!Uo(n,t)}function fH(e,t,n){switch(t.tag){case y:Rk(t);var i=t.stateNode;mf();break;case w:O3(t);break;case v:{var u=t.type;xs(u)&&Ov(t);break}case x:hy(t,t.stateNode.containerInfo);break;case P:{var f=t.memoizedProps.value,g=t.type._context;T3(t,g,f);break}case H:{var S=Uo(n,t.childLanes);S&&(t.flags|=xr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case J:{var D=t.memoizedState;if(D!==null){if(D.dehydrated!==null)return Jc(t,yf(Xl.current)),t.flags|=zr,null;var B=t.child,Z=B.childLanes;if(Uo(n,Z))return Dk(e,t,n);Jc(t,yf(Xl.current));var Q=sc(e,t,n);return Q!==null?Q.sibling:null}else Jc(t,yf(Xl.current));break}case xe:{var _e=(e.flags&zr)!==Vt,be=Uo(n,t.childLanes);if(_e){if(be)return Nk(e,t,n);t.flags|=zr}var Re=t.memoizedState;if(Re!==null&&(Re.rendering=null,Re.tail=null,Re.lastEffect=null),Jc(t,Xl.current),be)break;return null}case V:case se:return t.lanes=je,xk(e,t,n)}return sc(e,t,n)}function Pk(e,t,n){if(t._debugNeedsRemount&&e!==null)return dH(e,t,Q0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||Bv()||t.type!==e.type)Zl=!0;else{var f=y0(e,n);if(!f&&(t.flags&zr)===Vt)return Zl=!1,fH(e,t,n);(e.flags&Tb)!==Vt?Zl=!0:Zl=!1}}else if(Zl=!1,Dn()&&M9(t)){var g=t.index,S=z9();u3(t,S,g)}switch(t.lanes=je,t.tag){case b:return $j(e,t,t.type,n);case ge:{var C=t.elementType;return qj(e,t,C,n)}case p:{var D=t.type,B=t.pendingProps,Z=t.elementType===D?B:Jl(D,B);return f0(e,t,D,Z,n)}case v:{var Q=t.type,_e=t.pendingProps,be=t.elementType===Q?_e:Jl(Q,_e);return Tk(e,t,Q,be,n)}case y:return Uj(e,t,n);case w:return Vj(e,t,n);case R:return Wj(e,t);case J:return Dk(e,t,n);case x:return sH(e,t,n);case U:{var Re=t.type,ot=t.pendingProps,Ot=t.elementType===Re?ot:Jl(Re,ot);return Sk(e,t,Re,Ot,n)}case N:return Fj(e,t,n);case M:return jj(e,t,n);case H:return Hj(e,t,n);case P:return cH(e,t,n);case G:return uH(e,t,n);case I:{var Tt=t.type,vr=t.pendingProps,gr=Jl(Tt,vr);if(t.type!==t.elementType){var de=Tt.propTypes;de&&$l(de,gr,"prop",qr(Tt))}return gr=Jl(Tt.type,gr),wk(e,t,Tt,gr,n)}case re:return Ck(e,t,t.type,t.pendingProps,n);case ne:{var Ae=t.type,fe=t.pendingProps,Xe=t.elementType===Ae?fe:Jl(Ae,fe);return Yj(e,t,Ae,Xe,n)}case xe:return Nk(e,t,n);case ye:break;case V:return xk(e,t,n)}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 Tf(e){e.flags|=xr}function Mk(e){e.flags|=zc,e.flags|=Rb}var zk,S0,Fk,jk;zk=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===R)OF(e,u.stateNode);else if(u.tag!==x){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},S0=function(e,t){},Fk=function(e,t,n,i,u){var f=e.memoizedProps;if(f!==i){var g=t.stateNode,S=my(),C=PF(g,n,f,i,u,S);t.updateQueue=C,C&&Tf(t)}},jk=function(e,t,n,i){n!==i&&Tf(t)};function Bh(e,t){if(!Dn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function Ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=je,i=Vt;if(t){if((e.mode&Zr)!==Pt){for(var C=e.selfBaseDuration,D=e.child;D!==null;)n=cr(n,cr(D.lanes,D.childLanes)),i|=D.subtreeFlags&Js,i|=D.flags&Js,C+=D.treeBaseDuration,D=D.sibling;e.treeBaseDuration=C}else for(var B=e.child;B!==null;)n=cr(n,cr(B.lanes,B.childLanes)),i|=B.subtreeFlags&Js,i|=B.flags&Js,B.return=e,B=B.sibling;e.subtreeFlags|=i}else{if((e.mode&Zr)!==Pt){for(var u=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=cr(n,cr(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,u+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=u,e.treeBaseDuration=f}else for(var S=e.child;S!==null;)n=cr(n,cr(S.lanes,S.childLanes)),i|=S.subtreeFlags,i|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function pH(e,t,n){if(Q9()&&(t.mode&br)!==Pt&&(t.flags&zr)===Vt)return g3(t),mf(),t.flags|=Ks|Tp|ro,!1;var i=Fv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(K9(t),Ln(t),(t.mode&Zr)!==Pt){var u=n!==null;if(u){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(mf(),(t.flags&zr)===Vt&&(t.memoizedState=null),t.flags|=xr,Ln(t),(t.mode&Zr)!==Pt){var g=n!==null;if(g){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return _3(),!0}function Hk(e,t,n){var i=t.pendingProps;switch($1(t),t.tag){case b:case ge:case re:case p:case U:case N:case M:case H:case G:case I:return Ln(t),null;case v:{var u=t.type;return xs(u)&&Nv(t),Ln(t),null}case y:{var f=t.stateNode;if(bf(t),V1(t),yy(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=Fv(t);if(g)Tf(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Ks)!==Vt)&&(t.flags|=Bu,_3())}}return S0(e,t),Ln(t),null}case w:{vy(t);var C=N3(),D=t.type;if(e!==null&&t.stateNode!=null)Fk(e,t,D,i,C),e.ref!==t.ref&&Mk(t);else{if(!i){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 Ln(t),null}var B=my(),Z=Fv(t);if(Z)$9(t,C,B)&&Tf(t);else{var Q=NF(D,i,C,B,t);zk(Q,t,!1,!1),t.stateNode=Q,IF(Q,D,i,C)&&Tf(t)}t.ref!==null&&Mk(t)}return Ln(t),null}case R:{var _e=i;if(e&&t.stateNode!=null){var be=e.memoizedProps;jk(e,t,be,_e)}else{if(typeof _e!="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 Re=N3(),ot=my(),Ot=Fv(t);Ot?G9(t)&&Tf(t):t.stateNode=MF(_e,Re,ot,t)}return Ln(t),null}case J:{Sf(t);var Tt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vr=pH(e,t,Tt);if(!vr)return t.flags&ro?t:null}if((t.flags&zr)!==Vt)return t.lanes=n,(t.mode&Zr)!==Pt&&qy(t),t;var gr=Tt!==null,de=e!==null&&e.memoizedState!==null;if(gr!==de&&gr){var Ae=t.child;if(Ae.flags|=Nu,(t.mode&br)!==Pt){var fe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ce);fe||gy(Xl.current,P3)?bU():j0()}}var Xe=t.updateQueue;if(Xe!==null&&(t.flags|=xr),Ln(t),(t.mode&Zr)!==Pt&&gr){var ht=t.child;ht!==null&&(t.treeBaseDuration-=ht.treeBaseDuration)}return null}case x:return bf(t),S0(e,t),e===null&&A9(t.stateNode.containerInfo),Ln(t),null;case P:var lt=t.type._context;return ly(lt,t),Ln(t),null;case ne:{var qt=t.type;return xs(qt)&&Nv(t),Ln(t),null}case xe:{Sf(t);var er=t.memoizedState;if(er===null)return Ln(t),null;var ta=(t.flags&zr)!==Vt,Br=er.rendering;if(Br===null)if(ta)Bh(er,!1);else{var qa=SU()&&(e===null||(e.flags&zr)===Vt);if(!qa)for(var Nr=t.child;Nr!==null;){var za=tg(Nr);if(za!==null){ta=!0,t.flags|=zr,Bh(er,!1);var qn=za.updateQueue;return qn!==null&&(t.updateQueue=qn,t.flags|=xr),t.subtreeFlags=Vt,nj(t,n),Jc(t,_y(Xl.current,bh)),t.child}Nr=Nr.sibling}er.tail!==null&&yn()>cT()&&(t.flags|=zr,ta=!0,Bh(er,!1),t.lanes=jC)}else{if(!ta){var Pn=tg(Br);if(Pn!==null){t.flags|=zr,ta=!0;var Go=Pn.updateQueue;if(Go!==null&&(t.updateQueue=Go,t.flags|=xr),Bh(er,!0),er.tail===null&&er.tailMode==="hidden"&&!Br.alternate&&!Dn())return Ln(t),null}else yn()*2-er.renderingStartTime>cT()&&n!==Ho&&(t.flags|=zr,ta=!0,Bh(er,!1),t.lanes=jC)}if(er.isBackwards)Br.sibling=t.child,t.child=Br;else{var io=er.last;io!==null?io.sibling=Br:t.child=Br,er.last=Br}}if(er.tail!==null){var lo=er.tail;er.rendering=lo,er.tail=lo.sibling,er.renderingStartTime=yn(),lo.sibling=null;var Yn=Xl.current;return ta?Yn=_y(Yn,bh):Yn=yf(Yn),Jc(t,Yn),lo}return Ln(t),null}case ye:break;case V:case se:{F0(t);var pc=t.memoizedState,Of=pc!==null;if(e!==null){var Gh=e.memoizedState,Bs=Gh!==null;Bs!==Of&&!ue&&(t.flags|=Nu)}return!Of||(t.mode&br)===Pt?Ln(t):Uo(Ls,Ho)&&(Ln(t),t.subtreeFlags&(Za|xr)&&(t.flags|=Nu)),null}case pe:return null;case j: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 hH(e,t,n){switch($1(t),t.tag){case v:{var i=t.type;xs(i)&&Nv(t);var u=t.flags;return u&ro?(t.flags=u&~ro|zr,(t.mode&Zr)!==Pt&&qy(t),t):null}case y:{var f=t.stateNode;bf(t),V1(t),yy();var g=t.flags;return(g&ro)!==Vt&&(g&zr)===Vt?(t.flags=g&~ro|zr,t):null}case w:return vy(t),null;case J:{Sf(t);var S=t.memoizedState;if(S!==null&&S.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.");mf()}var C=t.flags;return C&ro?(t.flags=C&~ro|zr,(t.mode&Zr)!==Pt&&qy(t),t):null}case xe:return Sf(t),null;case x:return bf(t),null;case P:var D=t.type._context;return ly(D,t),null;case V:case se:return F0(t),null;case pe:return null;default:return null}}function Uk(e,t,n){switch($1(t),t.tag){case v:{var i=t.type.childContextTypes;i!=null&&Nv(t);break}case y:{var u=t.stateNode;bf(t),V1(t),yy();break}case w:{vy(t);break}case x:bf(t);break;case J:Sf(t);break;case xe:Sf(t);break;case P:var f=t.type._context;ly(f,t);break;case V:case se:F0(t);break}}var Vk=null;Vk=new Set;var kg=!1,Bn=!1,mH=typeof WeakSet=="function"?WeakSet:Set,Ct=null,Rf=null,Ef=null;function vH(e){Cb(null,function(){throw e}),xb()}var gH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Zr)try{Ds(),t.componentWillUnmount()}finally{Es(e)}else t.componentWillUnmount()};function Wk(e,t){try{tu(cn,e)}catch(n){va(e,t,n)}}function w0(e,t,n){try{gH(e,n)}catch(i){va(e,t,i)}}function _H(e,t,n){try{n.componentDidMount()}catch(i){va(e,t,i)}}function qk(e,t){try{Gk(e)}catch(n){va(e,t,n)}}function Df(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(yt&&Ht&&e.mode&Zr)try{Ds(),i=n(null)}finally{Es(e)}else i=n(null)}catch(u){va(e,t,u)}typeof i=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else n.current=null}function Tg(e,t,n){try{n()}catch(i){va(e,t,i)}}var Yk=null,$k=!1;function bH(e,t){Yk=LF(e.containerInfo),Ct=t,yH();var n=$k;return $k=!1,Yk=null,n}function yH(){for(;Ct!==null;){var e=Ct,t=e.child;(e.subtreeFlags&Db)!==Vt&&t!==null?(t.return=e,Ct=t):SH()}}function SH(){for(;Ct!==null;){var e=Ct;Ra(e);try{wH(e)}catch(n){va(e,e.return,n)}bn();var t=e.sibling;if(t!==null){t.return=e.return,Ct=t;return}Ct=e.return}}function wH(e){var t=e.alternate,n=e.flags;if((n&Bu)!==Vt){switch(Ra(e),e.tag){case p:case U:case re:break;case v:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!ed&&(f.props!==e.memoizedProps&&c("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.",or(e)||"instance"),f.state!==e.memoizedState&&c("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.",or(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?i:Jl(e.type,i),u);{var S=Vk;g===void 0&&!S.has(e.type)&&(S.add(e.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",or(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case y:{{var C=e.stateNode;r9(C.containerInfo)}break}case w:case R:case x:case ne: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.")}bn()}}function es(e,t,n){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var f=u.next,g=f;do{if((g.tag&e)===e){var S=g.destroy;g.destroy=void 0,S!==void 0&&((e&An)!==Ro?MP(t):(e&cn)!==Ro&&IC(t),(e&ks)!==Ro&&qh(!0),Tg(t,n,S),(e&ks)!==Ro&&qh(!1),(e&An)!==Ro?zP():(e&cn)!==Ro&&PC())}g=g.next}while(g!==f)}}function tu(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next,f=u;do{if((f.tag&e)===e){(e&An)!==Ro?IP(t):(e&cn)!==Ro&&FP(t);var g=f.create;(e&ks)!==Ro&&qh(!0),f.destroy=g(),(e&ks)!==Ro&&qh(!1),(e&An)!==Ro?PP():(e&cn)!==Ro&&jP();{var S=f.destroy;if(S!==void 0&&typeof S!="function"){var C=void 0;(f.tag&cn)!==Vt?C="useLayoutEffect":(f.tag&ks)!==Vt?C="useInsertionEffect":C="useEffect";var D=void 0;S===null?D=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?D=`
|
|
102
|
+
Check the render method of \``+i+"`.");var u=i||"",f=e._debugSource;f&&(u=f.fileName+":"+f.lineNumber),u0[u]||(u0[u]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var g=qr(t)||"Unknown";Ah[g]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),Ah[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var S=qr(t)||"Unknown";c0[S]||(c("%s: Function components do not support getDerivedStateFromProps.",S),c0[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=qr(t)||"Unknown";s0[C]||(c("%s: Function components do not support contextType.",C),s0[C]=!0)}}}var m0={dehydrated:null,treeContext:null,retryLane:wn};function v0(e){return{baseLanes:e,cachePool:Mj(),transitions:null}}function Gj(e,t){var n=null;return{baseLanes:cr(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Kj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return gy(e,bh)}function Xj(e,t){return av(e.childLanes,t)}function Dk(e,t,n){var i=t.pendingProps;uV(t)&&(t.flags|=zr);var u=Xl.current,f=!1,g=(t.flags&zr)!==Vt;if(g||Kj(u,e)?(f=!0,t.flags&=~zr):(e===null||e.memoizedState!==null)&&(u=hj(u,P3)),u=yf(u),Jc(t,u),e===null){Q1(t);var S=t.memoizedState;if(S!==null){var C=S.dehydrated;if(C!==null)return tH(t,C)}var D=i.children,B=i.fallback;if(f){var Z=Qj(t,D,B,n),Q=t.child;return Q.memoizedState=v0(n),t.memoizedState=m0,Z}else return g0(t,D)}else{var _e=e.memoizedState;if(_e!==null){var be=_e.dehydrated;if(be!==null)return rH(e,t,g,i,be,_e,n)}if(f){var Re=i.fallback,ot=i.children,Ot=Zj(e,t,ot,Re,n),Tt=t.child,vr=e.child.memoizedState;return Tt.memoizedState=vr===null?v0(n):Gj(vr,n),Tt.childLanes=Xj(e,n),t.memoizedState=m0,Ot}else{var gr=i.children,de=Jj(e,t,gr,n);return t.memoizedState=null,de}}}function g0(e,t,n){var i=e.mode,u={mode:"visible",children:t},f=_0(u,i);return f.return=e,e.child=f,f}function Qj(e,t,n,i){var u=e.mode,f=e.child,g={mode:"hidden",children:t},S,C;return(u&br)===Pt&&f!==null?(S=f,S.childLanes=je,S.pendingProps=g,e.mode&Zr&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),C=iu(n,u,i,null)):(S=_0(g,u),C=iu(n,u,i,null)),S.return=e,C.return=e,S.sibling=C,e.child=S,C}function _0(e,t,n){return LT(e,t,je,null)}function Ak(e,t){return od(e,t)}function Jj(e,t,n,i){var u=e.child,f=u.sibling,g=Ak(u,{mode:"visible",children:n});if((t.mode&br)===Pt&&(g.lanes=i),g.return=t,g.sibling=null,f!==null){var S=t.deletions;S===null?(t.deletions=[f],t.flags|=Lu):S.push(f)}return t.child=g,g}function Zj(e,t,n,i,u){var f=t.mode,g=e.child,S=g.sibling,C={mode:"hidden",children:n},D;if((f&br)===Pt&&t.child!==g){var B=t.child;D=B,D.childLanes=je,D.pendingProps=C,t.mode&Zr&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=g.selfBaseDuration,D.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else D=Ak(g,C),D.subtreeFlags=g.subtreeFlags&Js;var Z;return S!==null?Z=od(S,i):(Z=iu(i,f,u,null),Z.flags|=Za),Z.return=t,D.return=t,D.sibling=Z,t.child=D,Z}function Cg(e,t,n,i){i!==null&&J1(i),vf(t,e.child,null,n);var u=t.pendingProps,f=u.children,g=g0(t,f);return g.flags|=Za,t.memoizedState=null,g}function eH(e,t,n,i,u){var f=t.mode,g={mode:"visible",children:n},S=_0(g,f),C=iu(i,f,u,null);return C.flags|=Za,S.return=t,C.return=t,S.sibling=C,t.child=S,(t.mode&br)!==Pt&&vf(t,e.child,null,u),C}function tH(e,t,n){return(e.mode&br)===Pt?(c("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=Jt):P1(t)?e.lanes=zu:e.lanes=Ho,null}function rH(e,t,n,i,u,f,g){if(n)if(t.flags&Ks){t.flags&=~Ks;var de=n0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Cg(e,t,g,de)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=zr,null;var Ae=i.children,fe=i.fallback,Xe=eH(e,t,Ae,fe,g),ht=t.child;return ht.memoizedState=v0(g),t.memoizedState=m0,Xe}else{if(V9(),(t.mode&br)===Pt)return Cg(e,t,g,null);if(P1(u)){var S,C,D;{var B=i9(u);S=B.digest,C=B.message,D=B.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=n0(Z,S,D);return Cg(e,t,g,Q)}var _e=Uo(g,e.childLanes);if(Zl||_e){var be=Og();if(be!==null){var Re=fM(be,g);if(Re!==wn&&Re!==f.retryLane){f.retryLane=Re;var ot=Sa;ko(e,Re),mn(be,e,Re,ot)}}j0();var Ot=n0(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 Cg(e,t,g,Ot)}else if(Zx(u)){t.flags|=zr,t.child=e.child;var Tt=BU.bind(null,e);return l9(u,Tt),null}else{Y9(t,u,f.treeContext);var vr=i.children,gr=g0(t,vr);return gr.flags|=Xs,gr}}}function Lk(e,t,n){e.lanes=cr(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=cr(i.lanes,t)),sy(e.return,t,n)}function aH(e,t,n){for(var i=t;i!==null;){if(i.tag===J){var u=i.memoizedState;u!==null&&Lk(i,n,e)}else if(i.tag===xe)Lk(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function nH(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&tg(i)===null&&(n=t),t=t.sibling}return n}function oH(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!d0[e])if(d0[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{c('"%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:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function iH(e,t){e!==void 0&&!wg[e]&&(e!=="collapsed"&&e!=="hidden"?(wg[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(wg[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Bk(e,t){{var n=ln(e),i=!n&&typeof Qa(e)=="function";if(n||i){var u=n?"array":"iterable";return c("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>",u,t,u),!1}}return!0}function lH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ln(e)){for(var n=0;n<e.length;n++)if(!Bk(e[n],n))return}else{var i=Qa(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var f=u.next(),g=0;!f.done;f=u.next()){if(!Bk(f.value,g))return;g++}}else c('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 b0(e,t,n,i,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=u)}function Nk(e,t,n){var i=t.pendingProps,u=i.revealOrder,f=i.tail,g=i.children;oH(u),iH(f,u),lH(g,u),ro(e,t,g,n);var S=Xl.current,C=gy(S,bh);if(C)S=_y(S,bh),t.flags|=zr;else{var D=e!==null&&(e.flags&zr)!==Vt;D&&aH(t,t.child,n),S=yf(S)}if(Jc(t,S),(t.mode&br)===Pt)t.memoizedState=null;else switch(u){case"forwards":{var B=nH(t.child),Z;B===null?(Z=t.child,t.child=null):(Z=B.sibling,B.sibling=null),b0(t,!1,Z,B,f);break}case"backwards":{var Q=null,_e=t.child;for(t.child=null;_e!==null;){var be=_e.alternate;if(be!==null&&tg(be)===null){t.child=_e;break}var Re=_e.sibling;_e.sibling=Q,Q=_e,_e=Re}b0(t,!0,Q,null,f);break}case"together":{b0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function sH(e,t,n){hy(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=vf(t,null,i,n):ro(e,t,i,n),t.child}var Ok=!1;function cH(e,t,n){var i=t.type,u=i._context,f=t.pendingProps,g=t.memoizedProps,S=f.value;{"value"in f||Ok||(Ok=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&$l(C,f,"prop","Context.Provider")}if(T3(t,u,S),g!==null){var D=g.value;if(qo(D,S)){if(g.children===f.children&&!Bv())return sc(e,t,n)}else oj(t,u,n)}var B=f.children;return ro(e,t,B,n),t.child}var Ik=!1;function uH(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(Ik||(Ik=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,f=u.children;typeof f!="function"&&c("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."),_f(t,n);var g=en(i);Ep(t);var S;return Eh.current=t,wl(!0),S=f(g),wl(!1),Xd(),t.flags|=Gd,ro(e,t,S,n),t.child}function Lh(){Zl=!0}function xg(e,t){(t.mode&br)===Pt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Za)}function sc(e,t,n){return e!==null&&(t.dependencies=e.dependencies),uk(),Vh(t.lanes),Uo(n,t.childLanes)?(aj(e,t),t.child):null}function dH(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=n}var f=i.deletions;return f===null?(i.deletions=[e],i.flags|=Lu):f.push(e),n.flags|=Za,n}}function y0(e,t){var n=e.lanes;return!!Uo(n,t)}function fH(e,t,n){switch(t.tag){case y:Rk(t);var i=t.stateNode;mf();break;case w:O3(t);break;case v:{var u=t.type;xs(u)&&Ov(t);break}case x:hy(t,t.stateNode.containerInfo);break;case P:{var f=t.memoizedProps.value,g=t.type._context;T3(t,g,f);break}case H:{var S=Uo(n,t.childLanes);S&&(t.flags|=xr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case J:{var D=t.memoizedState;if(D!==null){if(D.dehydrated!==null)return Jc(t,yf(Xl.current)),t.flags|=zr,null;var B=t.child,Z=B.childLanes;if(Uo(n,Z))return Dk(e,t,n);Jc(t,yf(Xl.current));var Q=sc(e,t,n);return Q!==null?Q.sibling:null}else Jc(t,yf(Xl.current));break}case xe:{var _e=(e.flags&zr)!==Vt,be=Uo(n,t.childLanes);if(_e){if(be)return Nk(e,t,n);t.flags|=zr}var Re=t.memoizedState;if(Re!==null&&(Re.rendering=null,Re.tail=null,Re.lastEffect=null),Jc(t,Xl.current),be)break;return null}case V:case se:return t.lanes=je,xk(e,t,n)}return sc(e,t,n)}function Pk(e,t,n){if(t._debugNeedsRemount&&e!==null)return dH(e,t,Q0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||Bv()||t.type!==e.type)Zl=!0;else{var f=y0(e,n);if(!f&&(t.flags&zr)===Vt)return Zl=!1,fH(e,t,n);(e.flags&Tb)!==Vt?Zl=!0:Zl=!1}}else if(Zl=!1,Dn()&&M9(t)){var g=t.index,S=z9();u3(t,S,g)}switch(t.lanes=je,t.tag){case b:return $j(e,t,t.type,n);case ge:{var C=t.elementType;return qj(e,t,C,n)}case p:{var D=t.type,B=t.pendingProps,Z=t.elementType===D?B:Jl(D,B);return f0(e,t,D,Z,n)}case v:{var Q=t.type,_e=t.pendingProps,be=t.elementType===Q?_e:Jl(Q,_e);return Tk(e,t,Q,be,n)}case y:return Uj(e,t,n);case w:return Vj(e,t,n);case R:return Wj(e,t);case J:return Dk(e,t,n);case x:return sH(e,t,n);case U:{var Re=t.type,ot=t.pendingProps,Ot=t.elementType===Re?ot:Jl(Re,ot);return Sk(e,t,Re,Ot,n)}case N:return Fj(e,t,n);case M:return jj(e,t,n);case H:return Hj(e,t,n);case P:return cH(e,t,n);case G:return uH(e,t,n);case I:{var Tt=t.type,vr=t.pendingProps,gr=Jl(Tt,vr);if(t.type!==t.elementType){var de=Tt.propTypes;de&&$l(de,gr,"prop",qr(Tt))}return gr=Jl(Tt.type,gr),wk(e,t,Tt,gr,n)}case re:return Ck(e,t,t.type,t.pendingProps,n);case ne:{var Ae=t.type,fe=t.pendingProps,Xe=t.elementType===Ae?fe:Jl(Ae,fe);return Yj(e,t,Ae,Xe,n)}case xe:return Nk(e,t,n);case ye:break;case V:return xk(e,t,n)}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 Tf(e){e.flags|=xr}function Mk(e){e.flags|=zc,e.flags|=Rb}var zk,S0,Fk,jk;zk=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===R)OF(e,u.stateNode);else if(u.tag!==x){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},S0=function(e,t){},Fk=function(e,t,n,i,u){var f=e.memoizedProps;if(f!==i){var g=t.stateNode,S=my(),C=PF(g,n,f,i,u,S);t.updateQueue=C,C&&Tf(t)}},jk=function(e,t,n,i){n!==i&&Tf(t)};function Bh(e,t){if(!Dn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function Ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=je,i=Vt;if(t){if((e.mode&Zr)!==Pt){for(var C=e.selfBaseDuration,D=e.child;D!==null;)n=cr(n,cr(D.lanes,D.childLanes)),i|=D.subtreeFlags&Js,i|=D.flags&Js,C+=D.treeBaseDuration,D=D.sibling;e.treeBaseDuration=C}else for(var B=e.child;B!==null;)n=cr(n,cr(B.lanes,B.childLanes)),i|=B.subtreeFlags&Js,i|=B.flags&Js,B.return=e,B=B.sibling;e.subtreeFlags|=i}else{if((e.mode&Zr)!==Pt){for(var u=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=cr(n,cr(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,u+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=u,e.treeBaseDuration=f}else for(var S=e.child;S!==null;)n=cr(n,cr(S.lanes,S.childLanes)),i|=S.subtreeFlags,i|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function pH(e,t,n){if(Q9()&&(t.mode&br)!==Pt&&(t.flags&zr)===Vt)return g3(t),mf(),t.flags|=Ks|Tp|to,!1;var i=Fv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(K9(t),Ln(t),(t.mode&Zr)!==Pt){var u=n!==null;if(u){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(mf(),(t.flags&zr)===Vt&&(t.memoizedState=null),t.flags|=xr,Ln(t),(t.mode&Zr)!==Pt){var g=n!==null;if(g){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return _3(),!0}function Hk(e,t,n){var i=t.pendingProps;switch($1(t),t.tag){case b:case ge:case re:case p:case U:case N:case M:case H:case G:case I:return Ln(t),null;case v:{var u=t.type;return xs(u)&&Nv(t),Ln(t),null}case y:{var f=t.stateNode;if(bf(t),V1(t),yy(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=Fv(t);if(g)Tf(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Ks)!==Vt)&&(t.flags|=Bu,_3())}}return S0(e,t),Ln(t),null}case w:{vy(t);var C=N3(),D=t.type;if(e!==null&&t.stateNode!=null)Fk(e,t,D,i,C),e.ref!==t.ref&&Mk(t);else{if(!i){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 Ln(t),null}var B=my(),Z=Fv(t);if(Z)$9(t,C,B)&&Tf(t);else{var Q=NF(D,i,C,B,t);zk(Q,t,!1,!1),t.stateNode=Q,IF(Q,D,i,C)&&Tf(t)}t.ref!==null&&Mk(t)}return Ln(t),null}case R:{var _e=i;if(e&&t.stateNode!=null){var be=e.memoizedProps;jk(e,t,be,_e)}else{if(typeof _e!="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 Re=N3(),ot=my(),Ot=Fv(t);Ot?G9(t)&&Tf(t):t.stateNode=MF(_e,Re,ot,t)}return Ln(t),null}case J:{Sf(t);var Tt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vr=pH(e,t,Tt);if(!vr)return t.flags&to?t:null}if((t.flags&zr)!==Vt)return t.lanes=n,(t.mode&Zr)!==Pt&&qy(t),t;var gr=Tt!==null,de=e!==null&&e.memoizedState!==null;if(gr!==de&&gr){var Ae=t.child;if(Ae.flags|=Nu,(t.mode&br)!==Pt){var fe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ce);fe||gy(Xl.current,P3)?bU():j0()}}var Xe=t.updateQueue;if(Xe!==null&&(t.flags|=xr),Ln(t),(t.mode&Zr)!==Pt&&gr){var ht=t.child;ht!==null&&(t.treeBaseDuration-=ht.treeBaseDuration)}return null}case x:return bf(t),S0(e,t),e===null&&A9(t.stateNode.containerInfo),Ln(t),null;case P:var lt=t.type._context;return ly(lt,t),Ln(t),null;case ne:{var qt=t.type;return xs(qt)&&Nv(t),Ln(t),null}case xe:{Sf(t);var er=t.memoizedState;if(er===null)return Ln(t),null;var ta=(t.flags&zr)!==Vt,Br=er.rendering;if(Br===null)if(ta)Bh(er,!1);else{var qa=SU()&&(e===null||(e.flags&zr)===Vt);if(!qa)for(var Nr=t.child;Nr!==null;){var za=tg(Nr);if(za!==null){ta=!0,t.flags|=zr,Bh(er,!1);var qn=za.updateQueue;return qn!==null&&(t.updateQueue=qn,t.flags|=xr),t.subtreeFlags=Vt,nj(t,n),Jc(t,_y(Xl.current,bh)),t.child}Nr=Nr.sibling}er.tail!==null&&yn()>cT()&&(t.flags|=zr,ta=!0,Bh(er,!1),t.lanes=jC)}else{if(!ta){var Pn=tg(Br);if(Pn!==null){t.flags|=zr,ta=!0;var Go=Pn.updateQueue;if(Go!==null&&(t.updateQueue=Go,t.flags|=xr),Bh(er,!0),er.tail===null&&er.tailMode==="hidden"&&!Br.alternate&&!Dn())return Ln(t),null}else yn()*2-er.renderingStartTime>cT()&&n!==Ho&&(t.flags|=zr,ta=!0,Bh(er,!1),t.lanes=jC)}if(er.isBackwards)Br.sibling=t.child,t.child=Br;else{var oo=er.last;oo!==null?oo.sibling=Br:t.child=Br,er.last=Br}}if(er.tail!==null){var io=er.tail;er.rendering=io,er.tail=io.sibling,er.renderingStartTime=yn(),io.sibling=null;var Yn=Xl.current;return ta?Yn=_y(Yn,bh):Yn=yf(Yn),Jc(t,Yn),io}return Ln(t),null}case ye:break;case V:case se:{F0(t);var pc=t.memoizedState,Of=pc!==null;if(e!==null){var Gh=e.memoizedState,Bs=Gh!==null;Bs!==Of&&!ue&&(t.flags|=Nu)}return!Of||(t.mode&br)===Pt?Ln(t):Uo(Ls,Ho)&&(Ln(t),t.subtreeFlags&(Za|xr)&&(t.flags|=Nu)),null}case pe:return null;case j: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 hH(e,t,n){switch($1(t),t.tag){case v:{var i=t.type;xs(i)&&Nv(t);var u=t.flags;return u&to?(t.flags=u&~to|zr,(t.mode&Zr)!==Pt&&qy(t),t):null}case y:{var f=t.stateNode;bf(t),V1(t),yy();var g=t.flags;return(g&to)!==Vt&&(g&zr)===Vt?(t.flags=g&~to|zr,t):null}case w:return vy(t),null;case J:{Sf(t);var S=t.memoizedState;if(S!==null&&S.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.");mf()}var C=t.flags;return C&to?(t.flags=C&~to|zr,(t.mode&Zr)!==Pt&&qy(t),t):null}case xe:return Sf(t),null;case x:return bf(t),null;case P:var D=t.type._context;return ly(D,t),null;case V:case se:return F0(t),null;case pe:return null;default:return null}}function Uk(e,t,n){switch($1(t),t.tag){case v:{var i=t.type.childContextTypes;i!=null&&Nv(t);break}case y:{var u=t.stateNode;bf(t),V1(t),yy();break}case w:{vy(t);break}case x:bf(t);break;case J:Sf(t);break;case xe:Sf(t);break;case P:var f=t.type._context;ly(f,t);break;case V:case se:F0(t);break}}var Vk=null;Vk=new Set;var kg=!1,Bn=!1,mH=typeof WeakSet=="function"?WeakSet:Set,Ct=null,Rf=null,Ef=null;function vH(e){Cb(null,function(){throw e}),xb()}var gH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Zr)try{Ds(),t.componentWillUnmount()}finally{Es(e)}else t.componentWillUnmount()};function Wk(e,t){try{tu(cn,e)}catch(n){va(e,t,n)}}function w0(e,t,n){try{gH(e,n)}catch(i){va(e,t,i)}}function _H(e,t,n){try{n.componentDidMount()}catch(i){va(e,t,i)}}function qk(e,t){try{Gk(e)}catch(n){va(e,t,n)}}function Df(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(yt&&Ht&&e.mode&Zr)try{Ds(),i=n(null)}finally{Es(e)}else i=n(null)}catch(u){va(e,t,u)}typeof i=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else n.current=null}function Tg(e,t,n){try{n()}catch(i){va(e,t,i)}}var Yk=null,$k=!1;function bH(e,t){Yk=LF(e.containerInfo),Ct=t,yH();var n=$k;return $k=!1,Yk=null,n}function yH(){for(;Ct!==null;){var e=Ct,t=e.child;(e.subtreeFlags&Db)!==Vt&&t!==null?(t.return=e,Ct=t):SH()}}function SH(){for(;Ct!==null;){var e=Ct;Ra(e);try{wH(e)}catch(n){va(e,e.return,n)}bn();var t=e.sibling;if(t!==null){t.return=e.return,Ct=t;return}Ct=e.return}}function wH(e){var t=e.alternate,n=e.flags;if((n&Bu)!==Vt){switch(Ra(e),e.tag){case p:case U:case re:break;case v:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!ed&&(f.props!==e.memoizedProps&&c("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.",or(e)||"instance"),f.state!==e.memoizedState&&c("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.",or(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?i:Jl(e.type,i),u);{var S=Vk;g===void 0&&!S.has(e.type)&&(S.add(e.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",or(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case y:{{var C=e.stateNode;r9(C.containerInfo)}break}case w:case R:case x:case ne: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.")}bn()}}function es(e,t,n){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var f=u.next,g=f;do{if((g.tag&e)===e){var S=g.destroy;g.destroy=void 0,S!==void 0&&((e&An)!==To?MP(t):(e&cn)!==To&&IC(t),(e&ks)!==To&&qh(!0),Tg(t,n,S),(e&ks)!==To&&qh(!1),(e&An)!==To?zP():(e&cn)!==To&&PC())}g=g.next}while(g!==f)}}function tu(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next,f=u;do{if((f.tag&e)===e){(e&An)!==To?IP(t):(e&cn)!==To&&FP(t);var g=f.create;(e&ks)!==To&&qh(!0),f.destroy=g(),(e&ks)!==To&&qh(!1),(e&An)!==To?PP():(e&cn)!==To&&jP();{var S=f.destroy;if(S!==void 0&&typeof S!="function"){var C=void 0;(f.tag&cn)!==Vt?C="useLayoutEffect":(f.tag&ks)!==Vt?C="useInsertionEffect":C="useEffect";var D=void 0;S===null?D=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?D=`
|
|
103
103
|
|
|
104
104
|
It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
105
105
|
|
|
@@ -112,11 +112,11 @@ It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, w
|
|
|
112
112
|
fetchData();
|
|
113
113
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
114
114
|
|
|
115
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:D=" You returned: "+S,c("%s must not return anything besides a function, which is used for clean-up.%s",C,D)}}}f=f.next}while(f!==u)}}function CH(e,t){if((t.flags&xr)!==Vt)switch(t.tag){case H:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,f=i.onPostCommit,g=sk(),S=t.alternate===null?"mount":"update";lk()&&(S="nested-update"),typeof f=="function"&&f(u,S,n,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case y:var D=C.stateNode;D.passiveEffectDuration+=n;break e;case H:var B=C.stateNode;B.passiveEffectDuration+=n;break e}C=C.return}break}}}function xH(e,t,n,i){if((n.flags&Rp)!==Vt)switch(n.tag){case p:case U:case re:{if(!Bn)if(n.mode&Zr)try{Ds(),tu(cn|sn,n)}finally{Es(n)}else tu(cn|sn,n);break}case v:{var u=n.stateNode;if(n.flags&xr&&!Bn)if(t===null)if(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),n.mode&Zr)try{Ds(),u.componentDidMount()}finally{Es(n)}else u.componentDidMount();else{var f=n.elementType===n.type?t.memoizedProps:Jl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),n.mode&Zr)try{Ds(),u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}finally{Es(n)}else u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}var S=n.updateQueue;S!==null&&(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),B3(n,S,u));break}case y:{var C=n.updateQueue;if(C!==null){var D=null;if(n.child!==null)switch(n.child.tag){case w:D=n.child.stateNode;break;case v:D=n.child.stateNode;break}B3(n,C,D)}break}case w:{var B=n.stateNode;if(t===null&&n.flags&xr){var Z=n.type,Q=n.memoizedProps;UF(B,Z,Q)}break}case R:break;case x:break;case H:{{var _e=n.memoizedProps,be=_e.onCommit,Re=_e.onRender,ot=n.stateNode.effectDuration,Ot=sk(),Tt=t===null?"mount":"update";lk()&&(Tt="nested-update"),typeof Re=="function"&&Re(n.memoizedProps.id,Tt,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Ot);{typeof be=="function"&&be(n.memoizedProps.id,Tt,ot,Ot),TU(n);var vr=n.return;e:for(;vr!==null;){switch(vr.tag){case y:var gr=vr.stateNode;gr.effectDuration+=ot;break e;case H:var de=vr.stateNode;de.effectDuration+=ot;break e}vr=vr.return}}}break}case J:{BH(e,n);break}case xe:case ne:case ye:case V:case se:case j: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.")}Bn||n.flags&zc&&Gk(n)}function kH(e){switch(e.tag){case p:case U:case re:{if(e.mode&Zr)try{Ds(),Wk(e,e.return)}finally{Es(e)}else Wk(e,e.return);break}case v:{var t=e.stateNode;typeof t.componentDidMount=="function"&&_H(e,e.return,t),qk(e,e.return);break}case w:{qk(e,e.return);break}}}function TH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var u=i.stateNode;t?JF(u):e9(i.stateNode,i.memoizedProps)}catch(g){va(e,e.return,g)}}}else if(i.tag===R){if(n===null)try{var f=i.stateNode;t?ZF(f):t9(f,i.memoizedProps)}catch(g){va(e,e.return,g)}}else if(!((i.tag===V||i.tag===se)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function Gk(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var u;if(e.mode&Zr)try{Ds(),u=t(i)}finally{Es(e)}else u=t(i);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",or(e)),t.current=i}}function RH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Kk(e){var t=e.alternate;t!==null&&(e.alternate=null,Kk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&N9(n)}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 EH(e){for(var t=e.return;t!==null;){if(Xk(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 Xk(e){return e.tag===w||e.tag===y||e.tag===x}function Qk(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Xk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==R&&t.tag!==ke;){if(t.flags&Za||t.child===null||t.tag===x)continue e;t.child.return=t,t=t.child}if(!(t.flags&Za))return t.stateNode}}function DH(e){var t=EH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&kp&&(Jx(n),t.flags&=~kp);var i=Qk(e);x0(e,i,n);break}case y:case x:{var u=t.stateNode.containerInfo,f=Qk(e);C0(e,f,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function C0(e,t,n){var i=e.tag,u=i===w||i===R;if(u){var f=e.stateNode;t?GF(n,f,t):YF(n,f)}else if(i!==x){var g=e.child;if(g!==null){C0(g,t,n);for(var S=g.sibling;S!==null;)C0(S,t,n),S=S.sibling}}}function x0(e,t,n){var i=e.tag,u=i===w||i===R;if(u){var f=e.stateNode;t?$F(n,f,t):qF(n,f)}else if(i!==x){var g=e.child;if(g!==null){x0(g,t,n);for(var S=g.sibling;S!==null;)x0(S,t,n),S=S.sibling}}}var Nn=null,ts=!1;function AH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Nn=i.stateNode,ts=!1;break e}case y:{Nn=i.stateNode.containerInfo,ts=!0;break e}case x:{Nn=i.stateNode.containerInfo,ts=!0;break e}}i=i.return}if(Nn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Jk(e,t,n),Nn=null,ts=!1}RH(n)}function ru(e,t,n){for(var i=n.child;i!==null;)Jk(e,t,i),i=i.sibling}function Jk(e,t,n){switch(LP(n),n.tag){case w:Bn||Df(n,t);case R:{{var i=Nn,u=ts;Nn=null,ru(e,t,n),Nn=i,ts=u,Nn!==null&&(ts?XF(Nn,n.stateNode):KF(Nn,n.stateNode))}return}case ke:{Nn!==null&&(ts?QF(Nn,n.stateNode):I1(Nn,n.stateNode));return}case x:{{var f=Nn,g=ts;Nn=n.stateNode.containerInfo,ts=!0,ru(e,t,n),Nn=f,ts=g}return}case p:case U:case I:case re:{if(!Bn){var S=n.updateQueue;if(S!==null){var C=S.lastEffect;if(C!==null){var D=C.next,B=D;do{var Z=B,Q=Z.destroy,_e=Z.tag;Q!==void 0&&((_e&ks)!==Ro?Tg(n,t,Q):(_e&cn)!==Ro&&(IC(n),n.mode&Zr?(Ds(),Tg(n,t,Q),Es(n)):Tg(n,t,Q),PC())),B=B.next}while(B!==D)}}}ru(e,t,n);return}case v:{if(!Bn){Df(n,t);var be=n.stateNode;typeof be.componentWillUnmount=="function"&&w0(n,t,be)}ru(e,t,n);return}case ye:{ru(e,t,n);return}case V:{if(n.mode&br){var Re=Bn;Bn=Re||n.memoizedState!==null,ru(e,t,n),Bn=Re}else ru(e,t,n);break}default:{ru(e,t,n);return}}}function LH(e){var t=e.memoizedState}function BH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&v9(f)}}}}function Zk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mH),t.forEach(function(i){var u=NU.bind(null,e,i);if(!n.has(i)){if(n.add(i),ql)if(Rf!==null&&Ef!==null)Wh(Ef,Rf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function NH(e,t,n){Rf=n,Ef=e,Ra(t),eT(t,e),Ra(t),Rf=null,Ef=null}function rs(e,t,n){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var f=i[u];try{AH(e,t,f)}catch(C){va(f,t,C)}}var g=ib();if(t.subtreeFlags&Ab)for(var S=t.child;S!==null;)Ra(S),eT(S,e),S=S.sibling;Ra(g)}function eT(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case U:case I:case re:{if(rs(t,e),As(e),u&xr){try{es(ks|sn,e,e.return),tu(ks|sn,e)}catch(qt){va(e,e.return,qt)}if(e.mode&Zr){try{Ds(),es(cn|sn,e,e.return)}catch(qt){va(e,e.return,qt)}Es(e)}else try{es(cn|sn,e,e.return)}catch(qt){va(e,e.return,qt)}}return}case v:{rs(t,e),As(e),u&zc&&i!==null&&Df(i,i.return);return}case w:{rs(t,e),As(e),u&zc&&i!==null&&Df(i,i.return);{if(e.flags&kp){var f=e.stateNode;try{Jx(f)}catch(qt){va(e,e.return,qt)}}if(u&xr){var g=e.stateNode;if(g!=null){var S=e.memoizedProps,C=i!==null?i.memoizedProps:S,D=e.type,B=e.updateQueue;if(e.updateQueue=null,B!==null)try{VF(g,B,D,C,S,e)}catch(qt){va(e,e.return,qt)}}}}return}case R:{if(rs(t,e),As(e),u&xr){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 Z=e.stateNode,Q=e.memoizedProps,_e=i!==null?i.memoizedProps:Q;try{WF(Z,_e,Q)}catch(qt){va(e,e.return,qt)}}return}case y:{if(rs(t,e),As(e),u&xr&&i!==null){var be=i.memoizedState;if(be.isDehydrated)try{m9(t.containerInfo)}catch(qt){va(e,e.return,qt)}}return}case x:{rs(t,e),As(e);return}case J:{rs(t,e),As(e);var Re=e.child;if(Re.flags&Nu){var ot=Re.stateNode,Ot=Re.memoizedState,Tt=Ot!==null;if(ot.isHidden=Tt,Tt){var vr=Re.alternate!==null&&Re.alternate.memoizedState!==null;vr||_U()}}if(u&xr){try{LH(e)}catch(qt){va(e,e.return,qt)}Zk(e)}return}case V:{var gr=i!==null&&i.memoizedState!==null;if(e.mode&br){var de=Bn;Bn=de||gr,rs(t,e),Bn=de}else rs(t,e);if(As(e),u&Nu){var Ae=e.stateNode,fe=e.memoizedState,Xe=fe!==null,ht=e;if(Ae.isHidden=Xe,Xe&&!gr&&(ht.mode&br)!==Pt){Ct=ht;for(var lt=ht.child;lt!==null;)Ct=lt,IH(lt),lt=lt.sibling}TH(ht,Xe)}return}case xe:{rs(t,e),As(e),u&xr&&Zk(e);return}case ye:return;default:{rs(t,e),As(e);return}}}function As(e){var t=e.flags;if(t&Za){try{DH(e)}catch(n){va(e,e.return,n)}e.flags&=~Za}t&Xs&&(e.flags&=~Xs)}function OH(e,t,n){Rf=n,Ef=t,Ct=e,tT(e,t,n),Rf=null,Ef=null}function tT(e,t,n){for(var i=(e.mode&br)!==Pt;Ct!==null;){var u=Ct,f=u.child;if(u.tag===V&&i){var g=u.memoizedState!==null,S=g||kg;if(S){k0(e,t,n);continue}else{var C=u.alternate,D=C!==null&&C.memoizedState!==null,B=D||Bn,Z=kg,Q=Bn;kg=S,Bn=B,Bn&&!Q&&(Ct=u,PH(u));for(var _e=f;_e!==null;)Ct=_e,tT(_e,t,n),_e=_e.sibling;Ct=u,kg=Z,Bn=Q,k0(e,t,n);continue}}(u.subtreeFlags&Rp)!==Vt&&f!==null?(f.return=u,Ct=f):k0(e,t,n)}}function k0(e,t,n){for(;Ct!==null;){var i=Ct;if((i.flags&Rp)!==Vt){var u=i.alternate;Ra(i);try{xH(t,u,i,n)}catch(g){va(i,i.return,g)}bn()}if(i===e){Ct=null;return}var f=i.sibling;if(f!==null){f.return=i.return,Ct=f;return}Ct=i.return}}function IH(e){for(;Ct!==null;){var t=Ct,n=t.child;switch(t.tag){case p:case U:case I:case re:{if(t.mode&Zr)try{Ds(),es(cn,t,t.return)}finally{Es(t)}else es(cn,t,t.return);break}case v:{Df(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&w0(t,t.return,i);break}case w:{Df(t,t.return);break}case V:{var u=t.memoizedState!==null;if(u){rT(e);continue}break}}n!==null?(n.return=t,Ct=n):rT(e)}}function rT(e){for(;Ct!==null;){var t=Ct;if(t===e){Ct=null;return}var n=t.sibling;if(n!==null){n.return=t.return,Ct=n;return}Ct=t.return}}function PH(e){for(;Ct!==null;){var t=Ct,n=t.child;if(t.tag===V){var i=t.memoizedState!==null;if(i){aT(e);continue}}n!==null?(n.return=t,Ct=n):aT(e)}}function aT(e){for(;Ct!==null;){var t=Ct;Ra(t);try{kH(t)}catch(i){va(t,t.return,i)}if(bn(),t===e){Ct=null;return}var n=t.sibling;if(n!==null){n.return=t.return,Ct=n;return}Ct=t.return}}function MH(e,t,n,i){Ct=t,zH(t,e,n,i)}function zH(e,t,n,i){for(;Ct!==null;){var u=Ct,f=u.child;(u.subtreeFlags&Kd)!==Vt&&f!==null?(f.return=u,Ct=f):FH(e,t,n,i)}}function FH(e,t,n,i){for(;Ct!==null;){var u=Ct;if((u.flags&Wl)!==Vt){Ra(u);try{jH(t,u,n,i)}catch(g){va(u,u.return,g)}bn()}if(u===e){Ct=null;return}var f=u.sibling;if(f!==null){f.return=u.return,Ct=f;return}Ct=u.return}}function jH(e,t,n,i){switch(t.tag){case p:case U:case re:{if(t.mode&Zr){Wy();try{tu(An|sn,t)}finally{Vy(t)}}else tu(An|sn,t);break}}}function HH(e){Ct=e,UH()}function UH(){for(;Ct!==null;){var e=Ct,t=e.child;if((Ct.flags&Lu)!==Vt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var u=n[i];Ct=u,qH(u,e)}{var f=e.alternate;if(f!==null){var g=f.child;if(g!==null){f.child=null;do{var S=g.sibling;g.sibling=null,g=S}while(g!==null)}}}Ct=e}}(e.subtreeFlags&Kd)!==Vt&&t!==null?(t.return=e,Ct=t):VH()}}function VH(){for(;Ct!==null;){var e=Ct;(e.flags&Wl)!==Vt&&(Ra(e),WH(e),bn());var t=e.sibling;if(t!==null){t.return=e.return,Ct=t;return}Ct=e.return}}function WH(e){switch(e.tag){case p:case U:case re:{e.mode&Zr?(Wy(),es(An|sn,e,e.return),Vy(e)):es(An|sn,e,e.return);break}}}function qH(e,t){for(;Ct!==null;){var n=Ct;Ra(n),$H(n,t),bn();var i=n.child;i!==null?(i.return=n,Ct=i):YH(e)}}function YH(e){for(;Ct!==null;){var t=Ct,n=t.sibling,i=t.return;if(Kk(t),t===e){Ct=null;return}if(n!==null){n.return=i,Ct=n;return}Ct=i}}function $H(e,t){switch(e.tag){case p:case U:case re:{e.mode&Zr?(Wy(),es(An,e,t),Vy(e)):es(An,e,t);break}}}function GH(e){switch(e.tag){case p:case U:case re:{try{tu(cn|sn,e)}catch(n){va(e,e.return,n)}break}case v:{var t=e.stateNode;try{t.componentDidMount()}catch(n){va(e,e.return,n)}break}}}function KH(e){switch(e.tag){case p:case U:case re:{try{tu(An|sn,e)}catch(t){va(e,e.return,t)}break}}}function XH(e){switch(e.tag){case p:case U:case re:{try{es(cn|sn,e,e.return)}catch(n){va(e,e.return,n)}break}case v:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&w0(e,e.return,t);break}}}function QH(e){switch(e.tag){case p:case U:case re:try{es(An|sn,e,e.return)}catch(t){va(e,e.return,t)}}}var JH=0,ZH=1,eU=2,tU=3,rU=4;if(typeof Symbol=="function"&&Symbol.for){var Nh=Symbol.for;JH=Nh("selector.component"),ZH=Nh("selector.has_pseudo_class"),eU=Nh("selector.role"),tU=Nh("selector.test_id"),rU=Nh("selector.text")}var aU=[];function nU(){aU.forEach(function(e){return e()})}var oU=o.ReactCurrentActQueue;function iU(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function nT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&oU.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var lU=Math.ceil,T0=o.ReactCurrentDispatcher,R0=o.ReactCurrentOwner,On=o.ReactCurrentBatchConfig,as=o.ReactCurrentActQueue,fn=0,oT=1,In=2,El=4,cc=0,Oh=1,td=2,Rg=3,Ih=4,iT=5,E0=6,yr=fn,no=null,Na=null,pn=je,Ls=je,D0=Yc(je),hn=cc,Ph=null,A0=je,Eg=je,Mh=je,Dg=je,zh=null,Eo=null,L0=0,lT=500,sT=1/0,sU=500,uc=null;function Fh(){sT=yn()+sU}function cT(){return sT}var Ag=!1,B0=null,Af=null,rd=!1,au=null,jh=je,N0=[],O0=null,cU=50,Hh=0,I0=null,P0=!1,Lg=!1,uU=50,Lf=0,Bg=null,Uh=Sa,Ng=je,uT=!1;function Og(){return no}function oo(){return(yr&(In|El))!==fn?yn():(Uh!==Sa||(Uh=yn()),Uh)}function nu(e){var t=e.mode;if((t&br)===Pt)return Jt;if((yr&In)!==fn&&pn!==je)return Op(pn);var n=ej()!==Z9;if(n){if(On.transition!==null){var i=On.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Ng===wn&&(Ng=WC()),Ng}var u=Yl();if(u!==wn)return u;var f=zF();return f}function dU(e){var t=e.mode;return(t&br)===Pt?Jt:sM()}function mn(e,t,n,i){IU(),uT&&c("useInsertionEffect must not schedule updates."),P0&&(Lg=!0),Ip(e,n,i),(yr&In)!==je&&e===no?zU(t):(ql&&$C(e,t,n),FU(t),e===no&&((yr&In)===fn&&(Mh=cr(Mh,n)),hn===Ih&&ou(e,pn)),Do(e,i),n===Jt&&yr===fn&&(t.mode&br)===Pt&&!as.isBatchingLegacy&&(Fh(),c3()))}function fU(e,t,n){var i=e.current;i.lanes=t,Ip(e,t,n),Do(e,n)}function pU(e){return(yr&In)!==fn}function Do(e,t){var n=e.callbackNode;rM(e,t);var i=tv(e,e===no?pn:je);if(i===je){n!==null&&TT(n),e.callbackNode=null,e.callbackPriority=wn;return}var u=ju(i),f=e.callbackPriority;if(f===u&&!(as.current!==null&&n!==V0)){n==null&&f!==Jt&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&TT(n);var g;if(u===Jt)e.tag===$c?(as.isBatchingLegacy!==null&&(as.didScheduleLegacyUpdate=!0),P9(pT.bind(null,e))):s3(pT.bind(null,e)),as.current!==null?as.current.push(Gc):jF(function(){(yr&(In|El))===fn&&Gc()}),g=null;else{var S;switch(XC(i)){case Vo:S=Qm;break;case ec:S=Lb;break;case tc:S=Pu;break;case nv:S=Bb;break;default:S=Pu;break}g=W0(S,dT.bind(null,e))}e.callbackPriority=u,e.callbackNode=g}function dT(e,t){if(Tj(),Uh=Sa,Ng=je,(yr&(In|El))!==fn)throw new Error("Should not already be working.");var n=e.callbackNode,i=fc();if(i&&e.callbackNode!==n)return null;var u=tv(e,e===no?pn:je);if(u===je)return null;var f=!rv(e,u)&&!lM(e,u)&&!t,g=f?CU(e,u):Pg(e,u);if(g!==cc){if(g===td){var S=e1(e);S!==je&&(u=S,g=M0(e,S))}if(g===Oh){var C=Ph;throw ad(e,je),ou(e,u),Do(e,yn()),C}if(g===E0)ou(e,u);else{var D=!rv(e,u),B=e.current.alternate;if(D&&!mU(B)){if(g=Pg(e,u),g===td){var Z=e1(e);Z!==je&&(u=Z,g=M0(e,Z))}if(g===Oh){var Q=Ph;throw ad(e,je),ou(e,u),Do(e,yn()),Q}}e.finishedWork=B,e.finishedLanes=u,hU(e,g,u)}}return Do(e,yn()),e.callbackNode===n?dT.bind(null,e):null}function M0(e,t){var n=zh;if(ov(e)){var i=ad(e,t);i.flags|=Ks,D9(e.containerInfo)}var u=Pg(e,t);if(u!==td){var f=Eo;Eo=n,f!==null&&fT(f)}return u}function fT(e){Eo===null?Eo=e:Eo.push.apply(Eo,e)}function hU(e,t,n){switch(t){case cc:case Oh:throw new Error("Root did not complete. This is a bug in React.");case td:{nd(e,Eo,uc);break}case Rg:{if(ou(e,n),UC(n)&&!RT()){var i=L0+lT-yn();if(i>10){var u=tv(e,je);if(u!==je)break;var f=e.suspendedLanes;if(!ef(f,n)){var g=oo();YC(e,f);break}e.timeoutHandle=N1(nd.bind(null,e,Eo,uc),i);break}}nd(e,Eo,uc);break}case Ih:{if(ou(e,n),iM(n))break;if(!RT()){var S=eM(e,n),C=S,D=yn()-C,B=OU(D)-D;if(B>10){e.timeoutHandle=N1(nd.bind(null,e,Eo,uc),B);break}}nd(e,Eo,uc);break}case iT:{nd(e,Eo,uc);break}default:throw new Error("Unknown root exit status.")}}function mU(e){for(var t=e;;){if(t.flags&Km){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var u=0;u<i.length;u++){var f=i[u],g=f.getSnapshot,S=f.value;try{if(!qo(g(),S))return!1}catch(D){return!1}}}}var C=t.child;if(t.subtreeFlags&Km&&C!==null){C.return=t,t=C;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 ou(e,t){t=av(t,Dg),t=av(t,Mh),uM(e,t)}function pT(e){if(Rj(),(yr&(In|El))!==fn)throw new Error("Should not already be working.");fc();var t=tv(e,je);if(!Uo(t,Jt))return Do(e,yn()),null;var n=Pg(e,t);if(e.tag!==$c&&n===td){var i=e1(e);i!==je&&(t=i,n=M0(e,i))}if(n===Oh){var u=Ph;throw ad(e,je),ou(e,t),Do(e,yn()),u}if(n===E0)throw new Error("Root did not complete. This is a bug in React.");var f=e.current.alternate;return e.finishedWork=f,e.finishedLanes=t,nd(e,Eo,uc),Do(e,yn()),null}function vU(e,t){t!==je&&(n1(e,cr(t,Jt)),Do(e,yn()),(yr&(In|El))===fn&&(Fh(),Gc()))}function z0(e,t){var n=yr;yr|=oT;try{return e(t)}finally{yr=n,yr===fn&&!as.isBatchingLegacy&&(Fh(),c3())}}function gU(e,t,n,i,u){var f=Yl(),g=On.transition;try{return On.transition=null,Cn(Vo),e(t,n,i,u)}finally{Cn(f),On.transition=g,yr===fn&&Fh()}}function dc(e){au!==null&&au.tag===$c&&(yr&(In|El))===fn&&fc();var t=yr;yr|=oT;var n=On.transition,i=Yl();try{return On.transition=null,Cn(Vo),e?e():void 0}finally{Cn(i),On.transition=n,yr=t,(yr&(In|El))===fn&&Gc()}}function hT(){return(yr&(In|El))!==fn}function Ig(e,t){Vn(D0,Ls,e),Ls=cr(Ls,t),A0=cr(A0,t)}function F0(e){Ls=D0.current,Un(D0,e)}function ad(e,t){e.finishedWork=null,e.finishedLanes=je;var n=e.timeoutHandle;if(n!==O1&&(e.timeoutHandle=O1,FF(n)),Na!==null)for(var i=Na.return;i!==null;){var u=i.alternate;Uk(u,i),i=i.return}no=e;var f=od(e.current,null);return Na=f,pn=Ls=A0=t,hn=cc,Ph=null,Eg=je,Mh=je,Dg=je,zh=null,Eo=null,lj(),Kl.discardPendingWarnings(),f}function mT(e,t){do{var n=Na;try{if(qv(),z3(),bn(),R0.current=null,n===null||n.return===null){hn=Oh,Ph=t,Na=null;return}if(yt&&n.mode&Zr&&yg(n,!0),Qe)if(Xd(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;UP(n,i,pn)}else HP(n,t,pn);Pj(e,n.return,n,t,pn),bT(n)}catch(u){t=u,Na===n&&n!==null?(n=n.return,Na=n):n=Na;continue}return}while(!0)}function vT(){var e=T0.current;return T0.current=mg,e===null?mg:e}function gT(e){T0.current=e}function _U(){L0=yn()}function Vh(e){Eg=cr(e,Eg)}function bU(){hn===cc&&(hn=Rg)}function j0(){(hn===cc||hn===Rg||hn===td)&&(hn=Ih),no!==null&&(t1(Eg)||t1(Mh))&&ou(no,pn)}function yU(e){hn!==Ih&&(hn=td),zh===null?zh=[e]:zh.push(e)}function SU(){return hn===cc}function Pg(e,t){var n=yr;yr|=In;var i=vT();if(no!==e||pn!==t){if(ql){var u=e.memoizedUpdaters;u.size>0&&(Wh(e,pn),u.clear()),GC(e,t)}uc=KC(),ad(e,t)}MC(t);do try{wU();break}catch(f){mT(e,f)}while(!0);if(qv(),yr=n,gT(i),Na!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return zC(),no=null,pn=je,hn}function wU(){for(;Na!==null;)_T(Na)}function CU(e,t){var n=yr;yr|=In;var i=vT();if(no!==e||pn!==t){if(ql){var u=e.memoizedUpdaters;u.size>0&&(Wh(e,pn),u.clear()),GC(e,t)}uc=KC(),Fh(),ad(e,t)}MC(t);do try{xU();break}catch(f){mT(e,f)}while(!0);return qv(),gT(i),yr=n,Na!==null?($P(),cc):(zC(),no=null,pn=je,hn)}function xU(){for(;Na!==null&&!SP();)_T(Na)}function _T(e){var t=e.alternate;Ra(e);var n;(e.mode&Zr)!==Pt?(Uy(e),n=H0(t,e,Ls),yg(e,!0)):n=H0(t,e,Ls),bn(),e.memoizedProps=e.pendingProps,n===null?bT(e):Na=n,R0.current=null}function bT(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&Tp)===Vt){Ra(t);var u=void 0;if((t.mode&Zr)===Pt?u=Hk(n,t,Ls):(Uy(t),u=Hk(n,t,Ls),yg(t,!1)),bn(),u!==null){Na=u;return}}else{var f=hH(n,t);if(f!==null){f.flags&=mP,Na=f;return}if((t.mode&Zr)!==Pt){yg(t,!1);for(var g=t.actualDuration,S=t.child;S!==null;)g+=S.actualDuration,S=S.sibling;t.actualDuration=g}if(i!==null)i.flags|=Tp,i.subtreeFlags=Vt,i.deletions=null;else{hn=E0,Na=null;return}}var C=t.sibling;if(C!==null){Na=C;return}t=i,Na=t}while(t!==null);hn===cc&&(hn=iT)}function nd(e,t,n){var i=Yl(),u=On.transition;try{On.transition=null,Cn(Vo),kU(e,t,n,i)}finally{On.transition=u,Cn(i)}return null}function kU(e,t,n,i){do fc();while(au!==null);if(PU(),(yr&(In|El))!==fn)throw new Error("Should not already be working.");var u=e.finishedWork,f=e.finishedLanes;if(OP(f),u===null)return OC(),null;if(f===je&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=je,u===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=wn;var g=cr(u.lanes,u.childLanes);dM(e,g),e===no&&(no=null,Na=null,pn=je),((u.subtreeFlags&Kd)!==Vt||(u.flags&Kd)!==Vt)&&(rd||(rd=!0,O0=n,W0(Pu,function(){return fc(),null})));var S=(u.subtreeFlags&(Db|Ab|Rp|Kd))!==Vt,C=(u.flags&(Db|Ab|Rp|Kd))!==Vt;if(S||C){var D=On.transition;On.transition=null;var B=Yl();Cn(Vo);var Z=yr;yr|=El,R0.current=null;var Q=bH(e,u);ck(),NH(e,u,f),BF(e.containerInfo),e.current=u,VP(f),OH(u,e,f),WP(),wP(),yr=Z,Cn(B),On.transition=D}else e.current=u,ck();var _e=rd;if(rd?(rd=!1,au=e,jh=f):(Lf=0,Bg=null),g=e.pendingLanes,g===je&&(Af=null),_e||CT(e.current,!1),DP(u.stateNode,i),ql&&e.memoizedUpdaters.clear(),nU(),Do(e,yn()),t!==null)for(var be=e.onRecoverableError,Re=0;Re<t.length;Re++){var ot=t[Re],Ot=ot.stack,Tt=ot.digest;be(ot.value,{componentStack:Ot,digest:Tt})}if(Ag){Ag=!1;var vr=B0;throw B0=null,vr}return Uo(jh,Jt)&&e.tag!==$c&&fc(),g=e.pendingLanes,Uo(g,Jt)?(kj(),e===I0?Hh++:(Hh=0,I0=e)):Hh=0,Gc(),OC(),null}function fc(){if(au!==null){var e=XC(jh),t=mM(tc,e),n=On.transition,i=Yl();try{return On.transition=null,Cn(t),RU()}finally{Cn(i),On.transition=n}}return!1}function TU(e){N0.push(e),rd||(rd=!0,W0(Pu,function(){return fc(),null}))}function RU(){if(au===null)return!1;var e=O0;O0=null;var t=au,n=jh;if(au=null,jh=je,(yr&(In|El))!==fn)throw new Error("Cannot flush passive effects while already rendering.");P0=!0,Lg=!1,qP(n);var i=yr;yr|=El,HH(t.current),MH(t,t.current,n,e);{var u=N0;N0=[];for(var f=0;f<u.length;f++){var g=u[f];CH(t,g)}}YP(),CT(t.current,!0),yr=i,Gc(),Lg?t===Bg?Lf++:(Lf=0,Bg=t):Lf=0,P0=!1,Lg=!1,AP(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function yT(e){return Af!==null&&Af.has(e)}function EU(e){Af===null?Af=new Set([e]):Af.add(e)}function DU(e){Ag||(Ag=!0,B0=e)}var AU=DU;function ST(e,t,n){var i=Zu(n,t),u=gk(e,i,Jt),f=Xc(e,u,Jt),g=oo();f!==null&&(Ip(f,Jt,g),Do(f,g))}function va(e,t,n){if(vH(n),qh(!1),e.tag===y){ST(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===y){ST(i,e,n);return}else if(i.tag===v){var u=i.type,f=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&!yT(f)){var g=Zu(n,e),S=i0(i,g,Jt),C=Xc(i,S,Jt),D=oo();C!==null&&(Ip(C,Jt,D),Do(C,D));return}}i=i.return}c(`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.
|
|
115
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:D=" You returned: "+S,c("%s must not return anything besides a function, which is used for clean-up.%s",C,D)}}}f=f.next}while(f!==u)}}function CH(e,t){if((t.flags&xr)!==Vt)switch(t.tag){case H:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,f=i.onPostCommit,g=sk(),S=t.alternate===null?"mount":"update";lk()&&(S="nested-update"),typeof f=="function"&&f(u,S,n,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case y:var D=C.stateNode;D.passiveEffectDuration+=n;break e;case H:var B=C.stateNode;B.passiveEffectDuration+=n;break e}C=C.return}break}}}function xH(e,t,n,i){if((n.flags&Rp)!==Vt)switch(n.tag){case p:case U:case re:{if(!Bn)if(n.mode&Zr)try{Ds(),tu(cn|sn,n)}finally{Es(n)}else tu(cn|sn,n);break}case v:{var u=n.stateNode;if(n.flags&xr&&!Bn)if(t===null)if(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),n.mode&Zr)try{Ds(),u.componentDidMount()}finally{Es(n)}else u.componentDidMount();else{var f=n.elementType===n.type?t.memoizedProps:Jl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),n.mode&Zr)try{Ds(),u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}finally{Es(n)}else u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}var S=n.updateQueue;S!==null&&(n.type===n.elementType&&!ed&&(u.props!==n.memoizedProps&&c("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.",or(n)||"instance"),u.state!==n.memoizedState&&c("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.",or(n)||"instance")),B3(n,S,u));break}case y:{var C=n.updateQueue;if(C!==null){var D=null;if(n.child!==null)switch(n.child.tag){case w:D=n.child.stateNode;break;case v:D=n.child.stateNode;break}B3(n,C,D)}break}case w:{var B=n.stateNode;if(t===null&&n.flags&xr){var Z=n.type,Q=n.memoizedProps;UF(B,Z,Q)}break}case R:break;case x:break;case H:{{var _e=n.memoizedProps,be=_e.onCommit,Re=_e.onRender,ot=n.stateNode.effectDuration,Ot=sk(),Tt=t===null?"mount":"update";lk()&&(Tt="nested-update"),typeof Re=="function"&&Re(n.memoizedProps.id,Tt,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Ot);{typeof be=="function"&&be(n.memoizedProps.id,Tt,ot,Ot),TU(n);var vr=n.return;e:for(;vr!==null;){switch(vr.tag){case y:var gr=vr.stateNode;gr.effectDuration+=ot;break e;case H:var de=vr.stateNode;de.effectDuration+=ot;break e}vr=vr.return}}}break}case J:{BH(e,n);break}case xe:case ne:case ye:case V:case se:case j: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.")}Bn||n.flags&zc&&Gk(n)}function kH(e){switch(e.tag){case p:case U:case re:{if(e.mode&Zr)try{Ds(),Wk(e,e.return)}finally{Es(e)}else Wk(e,e.return);break}case v:{var t=e.stateNode;typeof t.componentDidMount=="function"&&_H(e,e.return,t),qk(e,e.return);break}case w:{qk(e,e.return);break}}}function TH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var u=i.stateNode;t?JF(u):e9(i.stateNode,i.memoizedProps)}catch(g){va(e,e.return,g)}}}else if(i.tag===R){if(n===null)try{var f=i.stateNode;t?ZF(f):t9(f,i.memoizedProps)}catch(g){va(e,e.return,g)}}else if(!((i.tag===V||i.tag===se)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function Gk(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var u;if(e.mode&Zr)try{Ds(),u=t(i)}finally{Es(e)}else u=t(i);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",or(e)),t.current=i}}function RH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Kk(e){var t=e.alternate;t!==null&&(e.alternate=null,Kk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&N9(n)}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 EH(e){for(var t=e.return;t!==null;){if(Xk(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 Xk(e){return e.tag===w||e.tag===y||e.tag===x}function Qk(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Xk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==R&&t.tag!==ke;){if(t.flags&Za||t.child===null||t.tag===x)continue e;t.child.return=t,t=t.child}if(!(t.flags&Za))return t.stateNode}}function DH(e){var t=EH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&kp&&(Jx(n),t.flags&=~kp);var i=Qk(e);x0(e,i,n);break}case y:case x:{var u=t.stateNode.containerInfo,f=Qk(e);C0(e,f,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function C0(e,t,n){var i=e.tag,u=i===w||i===R;if(u){var f=e.stateNode;t?GF(n,f,t):YF(n,f)}else if(i!==x){var g=e.child;if(g!==null){C0(g,t,n);for(var S=g.sibling;S!==null;)C0(S,t,n),S=S.sibling}}}function x0(e,t,n){var i=e.tag,u=i===w||i===R;if(u){var f=e.stateNode;t?$F(n,f,t):qF(n,f)}else if(i!==x){var g=e.child;if(g!==null){x0(g,t,n);for(var S=g.sibling;S!==null;)x0(S,t,n),S=S.sibling}}}var Nn=null,ts=!1;function AH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Nn=i.stateNode,ts=!1;break e}case y:{Nn=i.stateNode.containerInfo,ts=!0;break e}case x:{Nn=i.stateNode.containerInfo,ts=!0;break e}}i=i.return}if(Nn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Jk(e,t,n),Nn=null,ts=!1}RH(n)}function ru(e,t,n){for(var i=n.child;i!==null;)Jk(e,t,i),i=i.sibling}function Jk(e,t,n){switch(LP(n),n.tag){case w:Bn||Df(n,t);case R:{{var i=Nn,u=ts;Nn=null,ru(e,t,n),Nn=i,ts=u,Nn!==null&&(ts?XF(Nn,n.stateNode):KF(Nn,n.stateNode))}return}case ke:{Nn!==null&&(ts?QF(Nn,n.stateNode):I1(Nn,n.stateNode));return}case x:{{var f=Nn,g=ts;Nn=n.stateNode.containerInfo,ts=!0,ru(e,t,n),Nn=f,ts=g}return}case p:case U:case I:case re:{if(!Bn){var S=n.updateQueue;if(S!==null){var C=S.lastEffect;if(C!==null){var D=C.next,B=D;do{var Z=B,Q=Z.destroy,_e=Z.tag;Q!==void 0&&((_e&ks)!==To?Tg(n,t,Q):(_e&cn)!==To&&(IC(n),n.mode&Zr?(Ds(),Tg(n,t,Q),Es(n)):Tg(n,t,Q),PC())),B=B.next}while(B!==D)}}}ru(e,t,n);return}case v:{if(!Bn){Df(n,t);var be=n.stateNode;typeof be.componentWillUnmount=="function"&&w0(n,t,be)}ru(e,t,n);return}case ye:{ru(e,t,n);return}case V:{if(n.mode&br){var Re=Bn;Bn=Re||n.memoizedState!==null,ru(e,t,n),Bn=Re}else ru(e,t,n);break}default:{ru(e,t,n);return}}}function LH(e){var t=e.memoizedState}function BH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&v9(f)}}}}function Zk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mH),t.forEach(function(i){var u=NU.bind(null,e,i);if(!n.has(i)){if(n.add(i),ql)if(Rf!==null&&Ef!==null)Wh(Ef,Rf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function NH(e,t,n){Rf=n,Ef=e,Ra(t),eT(t,e),Ra(t),Rf=null,Ef=null}function rs(e,t,n){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var f=i[u];try{AH(e,t,f)}catch(C){va(f,t,C)}}var g=ib();if(t.subtreeFlags&Ab)for(var S=t.child;S!==null;)Ra(S),eT(S,e),S=S.sibling;Ra(g)}function eT(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case U:case I:case re:{if(rs(t,e),As(e),u&xr){try{es(ks|sn,e,e.return),tu(ks|sn,e)}catch(qt){va(e,e.return,qt)}if(e.mode&Zr){try{Ds(),es(cn|sn,e,e.return)}catch(qt){va(e,e.return,qt)}Es(e)}else try{es(cn|sn,e,e.return)}catch(qt){va(e,e.return,qt)}}return}case v:{rs(t,e),As(e),u&zc&&i!==null&&Df(i,i.return);return}case w:{rs(t,e),As(e),u&zc&&i!==null&&Df(i,i.return);{if(e.flags&kp){var f=e.stateNode;try{Jx(f)}catch(qt){va(e,e.return,qt)}}if(u&xr){var g=e.stateNode;if(g!=null){var S=e.memoizedProps,C=i!==null?i.memoizedProps:S,D=e.type,B=e.updateQueue;if(e.updateQueue=null,B!==null)try{VF(g,B,D,C,S,e)}catch(qt){va(e,e.return,qt)}}}}return}case R:{if(rs(t,e),As(e),u&xr){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 Z=e.stateNode,Q=e.memoizedProps,_e=i!==null?i.memoizedProps:Q;try{WF(Z,_e,Q)}catch(qt){va(e,e.return,qt)}}return}case y:{if(rs(t,e),As(e),u&xr&&i!==null){var be=i.memoizedState;if(be.isDehydrated)try{m9(t.containerInfo)}catch(qt){va(e,e.return,qt)}}return}case x:{rs(t,e),As(e);return}case J:{rs(t,e),As(e);var Re=e.child;if(Re.flags&Nu){var ot=Re.stateNode,Ot=Re.memoizedState,Tt=Ot!==null;if(ot.isHidden=Tt,Tt){var vr=Re.alternate!==null&&Re.alternate.memoizedState!==null;vr||_U()}}if(u&xr){try{LH(e)}catch(qt){va(e,e.return,qt)}Zk(e)}return}case V:{var gr=i!==null&&i.memoizedState!==null;if(e.mode&br){var de=Bn;Bn=de||gr,rs(t,e),Bn=de}else rs(t,e);if(As(e),u&Nu){var Ae=e.stateNode,fe=e.memoizedState,Xe=fe!==null,ht=e;if(Ae.isHidden=Xe,Xe&&!gr&&(ht.mode&br)!==Pt){Ct=ht;for(var lt=ht.child;lt!==null;)Ct=lt,IH(lt),lt=lt.sibling}TH(ht,Xe)}return}case xe:{rs(t,e),As(e),u&xr&&Zk(e);return}case ye:return;default:{rs(t,e),As(e);return}}}function As(e){var t=e.flags;if(t&Za){try{DH(e)}catch(n){va(e,e.return,n)}e.flags&=~Za}t&Xs&&(e.flags&=~Xs)}function OH(e,t,n){Rf=n,Ef=t,Ct=e,tT(e,t,n),Rf=null,Ef=null}function tT(e,t,n){for(var i=(e.mode&br)!==Pt;Ct!==null;){var u=Ct,f=u.child;if(u.tag===V&&i){var g=u.memoizedState!==null,S=g||kg;if(S){k0(e,t,n);continue}else{var C=u.alternate,D=C!==null&&C.memoizedState!==null,B=D||Bn,Z=kg,Q=Bn;kg=S,Bn=B,Bn&&!Q&&(Ct=u,PH(u));for(var _e=f;_e!==null;)Ct=_e,tT(_e,t,n),_e=_e.sibling;Ct=u,kg=Z,Bn=Q,k0(e,t,n);continue}}(u.subtreeFlags&Rp)!==Vt&&f!==null?(f.return=u,Ct=f):k0(e,t,n)}}function k0(e,t,n){for(;Ct!==null;){var i=Ct;if((i.flags&Rp)!==Vt){var u=i.alternate;Ra(i);try{xH(t,u,i,n)}catch(g){va(i,i.return,g)}bn()}if(i===e){Ct=null;return}var f=i.sibling;if(f!==null){f.return=i.return,Ct=f;return}Ct=i.return}}function IH(e){for(;Ct!==null;){var t=Ct,n=t.child;switch(t.tag){case p:case U:case I:case re:{if(t.mode&Zr)try{Ds(),es(cn,t,t.return)}finally{Es(t)}else es(cn,t,t.return);break}case v:{Df(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&w0(t,t.return,i);break}case w:{Df(t,t.return);break}case V:{var u=t.memoizedState!==null;if(u){rT(e);continue}break}}n!==null?(n.return=t,Ct=n):rT(e)}}function rT(e){for(;Ct!==null;){var t=Ct;if(t===e){Ct=null;return}var n=t.sibling;if(n!==null){n.return=t.return,Ct=n;return}Ct=t.return}}function PH(e){for(;Ct!==null;){var t=Ct,n=t.child;if(t.tag===V){var i=t.memoizedState!==null;if(i){aT(e);continue}}n!==null?(n.return=t,Ct=n):aT(e)}}function aT(e){for(;Ct!==null;){var t=Ct;Ra(t);try{kH(t)}catch(i){va(t,t.return,i)}if(bn(),t===e){Ct=null;return}var n=t.sibling;if(n!==null){n.return=t.return,Ct=n;return}Ct=t.return}}function MH(e,t,n,i){Ct=t,zH(t,e,n,i)}function zH(e,t,n,i){for(;Ct!==null;){var u=Ct,f=u.child;(u.subtreeFlags&Kd)!==Vt&&f!==null?(f.return=u,Ct=f):FH(e,t,n,i)}}function FH(e,t,n,i){for(;Ct!==null;){var u=Ct;if((u.flags&Wl)!==Vt){Ra(u);try{jH(t,u,n,i)}catch(g){va(u,u.return,g)}bn()}if(u===e){Ct=null;return}var f=u.sibling;if(f!==null){f.return=u.return,Ct=f;return}Ct=u.return}}function jH(e,t,n,i){switch(t.tag){case p:case U:case re:{if(t.mode&Zr){Wy();try{tu(An|sn,t)}finally{Vy(t)}}else tu(An|sn,t);break}}}function HH(e){Ct=e,UH()}function UH(){for(;Ct!==null;){var e=Ct,t=e.child;if((Ct.flags&Lu)!==Vt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var u=n[i];Ct=u,qH(u,e)}{var f=e.alternate;if(f!==null){var g=f.child;if(g!==null){f.child=null;do{var S=g.sibling;g.sibling=null,g=S}while(g!==null)}}}Ct=e}}(e.subtreeFlags&Kd)!==Vt&&t!==null?(t.return=e,Ct=t):VH()}}function VH(){for(;Ct!==null;){var e=Ct;(e.flags&Wl)!==Vt&&(Ra(e),WH(e),bn());var t=e.sibling;if(t!==null){t.return=e.return,Ct=t;return}Ct=e.return}}function WH(e){switch(e.tag){case p:case U:case re:{e.mode&Zr?(Wy(),es(An|sn,e,e.return),Vy(e)):es(An|sn,e,e.return);break}}}function qH(e,t){for(;Ct!==null;){var n=Ct;Ra(n),$H(n,t),bn();var i=n.child;i!==null?(i.return=n,Ct=i):YH(e)}}function YH(e){for(;Ct!==null;){var t=Ct,n=t.sibling,i=t.return;if(Kk(t),t===e){Ct=null;return}if(n!==null){n.return=i,Ct=n;return}Ct=i}}function $H(e,t){switch(e.tag){case p:case U:case re:{e.mode&Zr?(Wy(),es(An,e,t),Vy(e)):es(An,e,t);break}}}function GH(e){switch(e.tag){case p:case U:case re:{try{tu(cn|sn,e)}catch(n){va(e,e.return,n)}break}case v:{var t=e.stateNode;try{t.componentDidMount()}catch(n){va(e,e.return,n)}break}}}function KH(e){switch(e.tag){case p:case U:case re:{try{tu(An|sn,e)}catch(t){va(e,e.return,t)}break}}}function XH(e){switch(e.tag){case p:case U:case re:{try{es(cn|sn,e,e.return)}catch(n){va(e,e.return,n)}break}case v:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&w0(e,e.return,t);break}}}function QH(e){switch(e.tag){case p:case U:case re:try{es(An|sn,e,e.return)}catch(t){va(e,e.return,t)}}}var JH=0,ZH=1,eU=2,tU=3,rU=4;if(typeof Symbol=="function"&&Symbol.for){var Nh=Symbol.for;JH=Nh("selector.component"),ZH=Nh("selector.has_pseudo_class"),eU=Nh("selector.role"),tU=Nh("selector.test_id"),rU=Nh("selector.text")}var aU=[];function nU(){aU.forEach(function(e){return e()})}var oU=o.ReactCurrentActQueue;function iU(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function nT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&oU.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var lU=Math.ceil,T0=o.ReactCurrentDispatcher,R0=o.ReactCurrentOwner,On=o.ReactCurrentBatchConfig,as=o.ReactCurrentActQueue,fn=0,oT=1,In=2,El=4,cc=0,Oh=1,td=2,Rg=3,Ih=4,iT=5,E0=6,yr=fn,ao=null,Na=null,pn=je,Ls=je,D0=Yc(je),hn=cc,Ph=null,A0=je,Eg=je,Mh=je,Dg=je,zh=null,Ro=null,L0=0,lT=500,sT=1/0,sU=500,uc=null;function Fh(){sT=yn()+sU}function cT(){return sT}var Ag=!1,B0=null,Af=null,rd=!1,au=null,jh=je,N0=[],O0=null,cU=50,Hh=0,I0=null,P0=!1,Lg=!1,uU=50,Lf=0,Bg=null,Uh=Sa,Ng=je,uT=!1;function Og(){return ao}function no(){return(yr&(In|El))!==fn?yn():(Uh!==Sa||(Uh=yn()),Uh)}function nu(e){var t=e.mode;if((t&br)===Pt)return Jt;if((yr&In)!==fn&&pn!==je)return Op(pn);var n=ej()!==Z9;if(n){if(On.transition!==null){var i=On.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Ng===wn&&(Ng=WC()),Ng}var u=Yl();if(u!==wn)return u;var f=zF();return f}function dU(e){var t=e.mode;return(t&br)===Pt?Jt:sM()}function mn(e,t,n,i){IU(),uT&&c("useInsertionEffect must not schedule updates."),P0&&(Lg=!0),Ip(e,n,i),(yr&In)!==je&&e===ao?zU(t):(ql&&$C(e,t,n),FU(t),e===ao&&((yr&In)===fn&&(Mh=cr(Mh,n)),hn===Ih&&ou(e,pn)),Eo(e,i),n===Jt&&yr===fn&&(t.mode&br)===Pt&&!as.isBatchingLegacy&&(Fh(),c3()))}function fU(e,t,n){var i=e.current;i.lanes=t,Ip(e,t,n),Eo(e,n)}function pU(e){return(yr&In)!==fn}function Eo(e,t){var n=e.callbackNode;rM(e,t);var i=tv(e,e===ao?pn:je);if(i===je){n!==null&&TT(n),e.callbackNode=null,e.callbackPriority=wn;return}var u=ju(i),f=e.callbackPriority;if(f===u&&!(as.current!==null&&n!==V0)){n==null&&f!==Jt&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&TT(n);var g;if(u===Jt)e.tag===$c?(as.isBatchingLegacy!==null&&(as.didScheduleLegacyUpdate=!0),P9(pT.bind(null,e))):s3(pT.bind(null,e)),as.current!==null?as.current.push(Gc):jF(function(){(yr&(In|El))===fn&&Gc()}),g=null;else{var S;switch(XC(i)){case Vo:S=Qm;break;case ec:S=Lb;break;case tc:S=Pu;break;case nv:S=Bb;break;default:S=Pu;break}g=W0(S,dT.bind(null,e))}e.callbackPriority=u,e.callbackNode=g}function dT(e,t){if(Tj(),Uh=Sa,Ng=je,(yr&(In|El))!==fn)throw new Error("Should not already be working.");var n=e.callbackNode,i=fc();if(i&&e.callbackNode!==n)return null;var u=tv(e,e===ao?pn:je);if(u===je)return null;var f=!rv(e,u)&&!lM(e,u)&&!t,g=f?CU(e,u):Pg(e,u);if(g!==cc){if(g===td){var S=e1(e);S!==je&&(u=S,g=M0(e,S))}if(g===Oh){var C=Ph;throw ad(e,je),ou(e,u),Eo(e,yn()),C}if(g===E0)ou(e,u);else{var D=!rv(e,u),B=e.current.alternate;if(D&&!mU(B)){if(g=Pg(e,u),g===td){var Z=e1(e);Z!==je&&(u=Z,g=M0(e,Z))}if(g===Oh){var Q=Ph;throw ad(e,je),ou(e,u),Eo(e,yn()),Q}}e.finishedWork=B,e.finishedLanes=u,hU(e,g,u)}}return Eo(e,yn()),e.callbackNode===n?dT.bind(null,e):null}function M0(e,t){var n=zh;if(ov(e)){var i=ad(e,t);i.flags|=Ks,D9(e.containerInfo)}var u=Pg(e,t);if(u!==td){var f=Ro;Ro=n,f!==null&&fT(f)}return u}function fT(e){Ro===null?Ro=e:Ro.push.apply(Ro,e)}function hU(e,t,n){switch(t){case cc:case Oh:throw new Error("Root did not complete. This is a bug in React.");case td:{nd(e,Ro,uc);break}case Rg:{if(ou(e,n),UC(n)&&!RT()){var i=L0+lT-yn();if(i>10){var u=tv(e,je);if(u!==je)break;var f=e.suspendedLanes;if(!ef(f,n)){var g=no();YC(e,f);break}e.timeoutHandle=N1(nd.bind(null,e,Ro,uc),i);break}}nd(e,Ro,uc);break}case Ih:{if(ou(e,n),iM(n))break;if(!RT()){var S=eM(e,n),C=S,D=yn()-C,B=OU(D)-D;if(B>10){e.timeoutHandle=N1(nd.bind(null,e,Ro,uc),B);break}}nd(e,Ro,uc);break}case iT:{nd(e,Ro,uc);break}default:throw new Error("Unknown root exit status.")}}function mU(e){for(var t=e;;){if(t.flags&Km){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var u=0;u<i.length;u++){var f=i[u],g=f.getSnapshot,S=f.value;try{if(!qo(g(),S))return!1}catch(D){return!1}}}}var C=t.child;if(t.subtreeFlags&Km&&C!==null){C.return=t,t=C;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 ou(e,t){t=av(t,Dg),t=av(t,Mh),uM(e,t)}function pT(e){if(Rj(),(yr&(In|El))!==fn)throw new Error("Should not already be working.");fc();var t=tv(e,je);if(!Uo(t,Jt))return Eo(e,yn()),null;var n=Pg(e,t);if(e.tag!==$c&&n===td){var i=e1(e);i!==je&&(t=i,n=M0(e,i))}if(n===Oh){var u=Ph;throw ad(e,je),ou(e,t),Eo(e,yn()),u}if(n===E0)throw new Error("Root did not complete. This is a bug in React.");var f=e.current.alternate;return e.finishedWork=f,e.finishedLanes=t,nd(e,Ro,uc),Eo(e,yn()),null}function vU(e,t){t!==je&&(n1(e,cr(t,Jt)),Eo(e,yn()),(yr&(In|El))===fn&&(Fh(),Gc()))}function z0(e,t){var n=yr;yr|=oT;try{return e(t)}finally{yr=n,yr===fn&&!as.isBatchingLegacy&&(Fh(),c3())}}function gU(e,t,n,i,u){var f=Yl(),g=On.transition;try{return On.transition=null,Cn(Vo),e(t,n,i,u)}finally{Cn(f),On.transition=g,yr===fn&&Fh()}}function dc(e){au!==null&&au.tag===$c&&(yr&(In|El))===fn&&fc();var t=yr;yr|=oT;var n=On.transition,i=Yl();try{return On.transition=null,Cn(Vo),e?e():void 0}finally{Cn(i),On.transition=n,yr=t,(yr&(In|El))===fn&&Gc()}}function hT(){return(yr&(In|El))!==fn}function Ig(e,t){Vn(D0,Ls,e),Ls=cr(Ls,t),A0=cr(A0,t)}function F0(e){Ls=D0.current,Un(D0,e)}function ad(e,t){e.finishedWork=null,e.finishedLanes=je;var n=e.timeoutHandle;if(n!==O1&&(e.timeoutHandle=O1,FF(n)),Na!==null)for(var i=Na.return;i!==null;){var u=i.alternate;Uk(u,i),i=i.return}ao=e;var f=od(e.current,null);return Na=f,pn=Ls=A0=t,hn=cc,Ph=null,Eg=je,Mh=je,Dg=je,zh=null,Ro=null,lj(),Kl.discardPendingWarnings(),f}function mT(e,t){do{var n=Na;try{if(qv(),z3(),bn(),R0.current=null,n===null||n.return===null){hn=Oh,Ph=t,Na=null;return}if(yt&&n.mode&Zr&&yg(n,!0),Qe)if(Xd(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;UP(n,i,pn)}else HP(n,t,pn);Pj(e,n.return,n,t,pn),bT(n)}catch(u){t=u,Na===n&&n!==null?(n=n.return,Na=n):n=Na;continue}return}while(!0)}function vT(){var e=T0.current;return T0.current=mg,e===null?mg:e}function gT(e){T0.current=e}function _U(){L0=yn()}function Vh(e){Eg=cr(e,Eg)}function bU(){hn===cc&&(hn=Rg)}function j0(){(hn===cc||hn===Rg||hn===td)&&(hn=Ih),ao!==null&&(t1(Eg)||t1(Mh))&&ou(ao,pn)}function yU(e){hn!==Ih&&(hn=td),zh===null?zh=[e]:zh.push(e)}function SU(){return hn===cc}function Pg(e,t){var n=yr;yr|=In;var i=vT();if(ao!==e||pn!==t){if(ql){var u=e.memoizedUpdaters;u.size>0&&(Wh(e,pn),u.clear()),GC(e,t)}uc=KC(),ad(e,t)}MC(t);do try{wU();break}catch(f){mT(e,f)}while(!0);if(qv(),yr=n,gT(i),Na!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return zC(),ao=null,pn=je,hn}function wU(){for(;Na!==null;)_T(Na)}function CU(e,t){var n=yr;yr|=In;var i=vT();if(ao!==e||pn!==t){if(ql){var u=e.memoizedUpdaters;u.size>0&&(Wh(e,pn),u.clear()),GC(e,t)}uc=KC(),Fh(),ad(e,t)}MC(t);do try{xU();break}catch(f){mT(e,f)}while(!0);return qv(),gT(i),yr=n,Na!==null?($P(),cc):(zC(),ao=null,pn=je,hn)}function xU(){for(;Na!==null&&!SP();)_T(Na)}function _T(e){var t=e.alternate;Ra(e);var n;(e.mode&Zr)!==Pt?(Uy(e),n=H0(t,e,Ls),yg(e,!0)):n=H0(t,e,Ls),bn(),e.memoizedProps=e.pendingProps,n===null?bT(e):Na=n,R0.current=null}function bT(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&Tp)===Vt){Ra(t);var u=void 0;if((t.mode&Zr)===Pt?u=Hk(n,t,Ls):(Uy(t),u=Hk(n,t,Ls),yg(t,!1)),bn(),u!==null){Na=u;return}}else{var f=hH(n,t);if(f!==null){f.flags&=mP,Na=f;return}if((t.mode&Zr)!==Pt){yg(t,!1);for(var g=t.actualDuration,S=t.child;S!==null;)g+=S.actualDuration,S=S.sibling;t.actualDuration=g}if(i!==null)i.flags|=Tp,i.subtreeFlags=Vt,i.deletions=null;else{hn=E0,Na=null;return}}var C=t.sibling;if(C!==null){Na=C;return}t=i,Na=t}while(t!==null);hn===cc&&(hn=iT)}function nd(e,t,n){var i=Yl(),u=On.transition;try{On.transition=null,Cn(Vo),kU(e,t,n,i)}finally{On.transition=u,Cn(i)}return null}function kU(e,t,n,i){do fc();while(au!==null);if(PU(),(yr&(In|El))!==fn)throw new Error("Should not already be working.");var u=e.finishedWork,f=e.finishedLanes;if(OP(f),u===null)return OC(),null;if(f===je&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=je,u===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=wn;var g=cr(u.lanes,u.childLanes);dM(e,g),e===ao&&(ao=null,Na=null,pn=je),((u.subtreeFlags&Kd)!==Vt||(u.flags&Kd)!==Vt)&&(rd||(rd=!0,O0=n,W0(Pu,function(){return fc(),null})));var S=(u.subtreeFlags&(Db|Ab|Rp|Kd))!==Vt,C=(u.flags&(Db|Ab|Rp|Kd))!==Vt;if(S||C){var D=On.transition;On.transition=null;var B=Yl();Cn(Vo);var Z=yr;yr|=El,R0.current=null;var Q=bH(e,u);ck(),NH(e,u,f),BF(e.containerInfo),e.current=u,VP(f),OH(u,e,f),WP(),wP(),yr=Z,Cn(B),On.transition=D}else e.current=u,ck();var _e=rd;if(rd?(rd=!1,au=e,jh=f):(Lf=0,Bg=null),g=e.pendingLanes,g===je&&(Af=null),_e||CT(e.current,!1),DP(u.stateNode,i),ql&&e.memoizedUpdaters.clear(),nU(),Eo(e,yn()),t!==null)for(var be=e.onRecoverableError,Re=0;Re<t.length;Re++){var ot=t[Re],Ot=ot.stack,Tt=ot.digest;be(ot.value,{componentStack:Ot,digest:Tt})}if(Ag){Ag=!1;var vr=B0;throw B0=null,vr}return Uo(jh,Jt)&&e.tag!==$c&&fc(),g=e.pendingLanes,Uo(g,Jt)?(kj(),e===I0?Hh++:(Hh=0,I0=e)):Hh=0,Gc(),OC(),null}function fc(){if(au!==null){var e=XC(jh),t=mM(tc,e),n=On.transition,i=Yl();try{return On.transition=null,Cn(t),RU()}finally{Cn(i),On.transition=n}}return!1}function TU(e){N0.push(e),rd||(rd=!0,W0(Pu,function(){return fc(),null}))}function RU(){if(au===null)return!1;var e=O0;O0=null;var t=au,n=jh;if(au=null,jh=je,(yr&(In|El))!==fn)throw new Error("Cannot flush passive effects while already rendering.");P0=!0,Lg=!1,qP(n);var i=yr;yr|=El,HH(t.current),MH(t,t.current,n,e);{var u=N0;N0=[];for(var f=0;f<u.length;f++){var g=u[f];CH(t,g)}}YP(),CT(t.current,!0),yr=i,Gc(),Lg?t===Bg?Lf++:(Lf=0,Bg=t):Lf=0,P0=!1,Lg=!1,AP(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function yT(e){return Af!==null&&Af.has(e)}function EU(e){Af===null?Af=new Set([e]):Af.add(e)}function DU(e){Ag||(Ag=!0,B0=e)}var AU=DU;function ST(e,t,n){var i=Zu(n,t),u=gk(e,i,Jt),f=Xc(e,u,Jt),g=no();f!==null&&(Ip(f,Jt,g),Eo(f,g))}function va(e,t,n){if(vH(n),qh(!1),e.tag===y){ST(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===y){ST(i,e,n);return}else if(i.tag===v){var u=i.type,f=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&!yT(f)){var g=Zu(n,e),S=i0(i,g,Jt),C=Xc(i,S,Jt),D=no();C!==null&&(Ip(C,Jt,D),Eo(C,D));return}}i=i.return}c(`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.
|
|
116
116
|
|
|
117
117
|
Error message:
|
|
118
118
|
|
|
119
|
-
%s`,n)}function LU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var u=
|
|
119
|
+
%s`,n)}function LU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var u=no();YC(e,n),jU(e),ao===e&&ef(pn,n)&&(hn===Ih||hn===Rg&&UC(pn)&&yn()-L0<lT?ad(e,je):Dg=cr(Dg,n)),Eo(e,u)}function wT(e,t){t===wn&&(t=dU(e));var n=no(),i=ko(e,t);i!==null&&(Ip(i,t,n),Eo(i,n))}function BU(e){var t=e.memoizedState,n=wn;t!==null&&(n=t.retryLane),wT(e,n)}function NU(e,t){var n=wn,i;switch(e.tag){case J:i=e.stateNode;var u=e.memoizedState;u!==null&&(n=u.retryLane);break;case xe:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),wT(e,n)}function OU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:lU(e/1960)*1960}function IU(){if(Hh>cU)throw Hh=0,I0=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.");Lf>uU&&(Lf=0,Bg=null,c("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 PU(){Kl.flushLegacyContextWarning(),Kl.flushPendingUnsafeLifecycleWarnings()}function CT(e,t){Ra(e),Mg(e,Qs,XH),t&&Mg(e,Xm,QH),Mg(e,Qs,GH),t&&Mg(e,Xm,KH),bn()}function Mg(e,t,n){for(var i=e,u=null;i!==null;){var f=i.subtreeFlags&t;i!==u&&i.child!==null&&f!==Vt?i=i.child:((i.flags&t)!==Vt&&n(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var zg=null;function xT(e){{if((yr&In)!==fn||!(e.mode&br))return;var t=e.tag;if(t!==b&&t!==y&&t!==v&&t!==p&&t!==U&&t!==I&&t!==re)return;var n=or(e)||"ReactComponent";if(zg!==null){if(zg.has(n))return;zg.add(n)}else zg=new Set([n]);var i=Hn;try{Ra(e),c("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{i?Ra(e):bn()}}}var H0;{var MU=null;H0=function(e,t,n){var i=BT(MU,t);try{return Pk(e,t,n)}catch(f){if(W9()||f!==null&&typeof f=="object"&&typeof f.then=="function")throw f;if(qv(),z3(),Uk(e,t),BT(t,i),t.mode&Zr&&Uy(t),Cb(null,Pk,null,e,t,n),dP()){var u=xb();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof f=="object"&&f!==null&&!f._suppressLogging&&(f._suppressLogging=!0)}throw f}}}var kT=!1,U0;U0=new Set;function zU(e){if(Ic&&!wj())switch(e.tag){case p:case U:case re:{var t=Na&&or(Na)||"Unknown",n=t;if(!U0.has(n)){U0.add(n);var i=or(e)||"Unknown";c("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",i,t,t)}break}case v:{kT||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),kT=!0);break}}}function Wh(e,t){if(ql){var n=e.memoizedUpdaters;n.forEach(function(i){$C(e,i,t)})}}var V0={};function W0(e,t){{var n=as.current;return n!==null?(n.push(t),V0):NC(e,t)}}function TT(e){if(e!==V0)return yP(e)}function RT(){return as.current!==null}function FU(e){{if(e.mode&br){if(!nT())return}else if(!iU()||yr!==fn||e.tag!==p&&e.tag!==U&&e.tag!==re)return;if(as.current===null){var t=Hn;try{Ra(e),c(`An update to %s inside a test was not wrapped in act(...).
|
|
120
120
|
|
|
121
121
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
122
122
|
|
|
@@ -134,19 +134,19 @@ act(() => {
|
|
|
134
134
|
});
|
|
135
135
|
/* assert on the output */
|
|
136
136
|
|
|
137
|
-
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 qh(e){uT=e}var Dl=null,Bf=null,HU=function(e){Dl=e};function Nf(e){{if(Dl===null)return e;var t=Dl(e);return t===void 0?e:t.current}}function q0(e){return Nf(e)}function Y0(e){{if(Dl===null)return e;var t=Dl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Nf(e.render);if(e.render!==n){var i={$$typeof:me,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function ET(e,t){{if(Dl===null)return!1;var n=e.elementType,i=t.type,u=!1,f=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case v:{typeof i=="function"&&(u=!0);break}case p:{(typeof i=="function"||f===rt)&&(u=!0);break}case U:{(f===me||f===rt)&&(u=!0);break}case I:case re:{(f===mt||f===rt)&&(u=!0);break}default:return!1}if(u){var g=Dl(n);if(g!==void 0&&g===Dl(i))return!0}return!1}}function DT(e){{if(Dl===null||typeof WeakSet!="function")return;Bf===null&&(Bf=new WeakSet),Bf.add(e)}}var UU=function(e,t){{if(Dl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;fc(),dc(function(){$0(e.current,i,n)})}},VU=function(e,t){{if(e.context!==Yo)return;fc(),dc(function(){Yh(t,e,null,null)})}};function $0(e,t,n){{var i=e.alternate,u=e.child,f=e.sibling,g=e.tag,S=e.type,C=null;switch(g){case p:case re:case v:C=S;break;case U:C=S.render;break}if(Dl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var D=!1,B=!1;if(C!==null){var Z=Dl(C);Z!==void 0&&(n.has(Z)?B=!0:t.has(Z)&&(g===v?B=!0:D=!0))}if(Bf!==null&&(Bf.has(e)||i!==null&&Bf.has(i))&&(B=!0),B&&(e._debugNeedsRemount=!0),B||D){var Q=
|
|
137
|
+
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 qh(e){uT=e}var Dl=null,Bf=null,HU=function(e){Dl=e};function Nf(e){{if(Dl===null)return e;var t=Dl(e);return t===void 0?e:t.current}}function q0(e){return Nf(e)}function Y0(e){{if(Dl===null)return e;var t=Dl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Nf(e.render);if(e.render!==n){var i={$$typeof:me,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function ET(e,t){{if(Dl===null)return!1;var n=e.elementType,i=t.type,u=!1,f=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case v:{typeof i=="function"&&(u=!0);break}case p:{(typeof i=="function"||f===rt)&&(u=!0);break}case U:{(f===me||f===rt)&&(u=!0);break}case I:case re:{(f===mt||f===rt)&&(u=!0);break}default:return!1}if(u){var g=Dl(n);if(g!==void 0&&g===Dl(i))return!0}return!1}}function DT(e){{if(Dl===null||typeof WeakSet!="function")return;Bf===null&&(Bf=new WeakSet),Bf.add(e)}}var UU=function(e,t){{if(Dl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;fc(),dc(function(){$0(e.current,i,n)})}},VU=function(e,t){{if(e.context!==Yo)return;fc(),dc(function(){Yh(t,e,null,null)})}};function $0(e,t,n){{var i=e.alternate,u=e.child,f=e.sibling,g=e.tag,S=e.type,C=null;switch(g){case p:case re:case v:C=S;break;case U:C=S.render;break}if(Dl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var D=!1,B=!1;if(C!==null){var Z=Dl(C);Z!==void 0&&(n.has(Z)?B=!0:t.has(Z)&&(g===v?B=!0:D=!0))}if(Bf!==null&&(Bf.has(e)||i!==null&&Bf.has(i))&&(B=!0),B&&(e._debugNeedsRemount=!0),B||D){var Q=ko(e,Jt);Q!==null&&mn(Q,e,Jt,Sa)}u!==null&&!B&&$0(u,t,n),f!==null&&$0(f,t,n)}}var WU=function(e,t){{var n=new Set,i=new Set(t.map(function(u){return u.current}));return G0(e.current,i,n),n}};function G0(e,t,n){{var i=e.child,u=e.sibling,f=e.tag,g=e.type,S=null;switch(f){case p:case re:case v:S=g;break;case U:S=g.render;break}var C=!1;S!==null&&t.has(S)&&(C=!0),C?qU(e,n):i!==null&&G0(i,t,n),u!==null&&G0(u,t,n)}}function qU(e,t){{var n=YU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case x:t.add(i.stateNode.containerInfo);return;case y:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function YU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var K0;{K0=!1;try{var AT=Object.preventExtensions({})}catch(e){K0=!0}}function $U(e,t,n,i){this.tag=e,this.key=n,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=i,this.flags=Vt,this.subtreeFlags=Vt,this.deletions=null,this.lanes=je,this.childLanes=je,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,!K0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var $o=function(e,t,n,i){return new $U(e,t,n,i)};function X0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function GU(e){return typeof e=="function"&&!X0(e)&&e.defaultProps===void 0}function KU(e){if(typeof e=="function")return X0(e)?v:p;if(e!=null){var t=e.$$typeof;if(t===me)return U;if(t===mt)return I}return b}function od(e,t){var n=e.alternate;n===null?(n=$o(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Vt,n.subtreeFlags=Vt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Js,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case b:case p:case re:n.type=Nf(e.type);break;case v:n.type=q0(e.type);break;case U:n.type=Y0(e.type);break}return n}function XU(e,t){e.flags&=Js|Za;var n=e.alternate;if(n===null)e.childLanes=je,e.lanes=t,e.child=null,e.subtreeFlags=Vt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Vt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function QU(e,t,n){var i;return e===Iv?(i=br,t===!0&&(i|=Ma,i|=Ss)):i=Pt,ql&&(i|=Zr),$o(y,null,null,i)}function Q0(e,t,n,i,u,f){var g=b,S=e;if(typeof e=="function")X0(e)?(g=v,S=q0(S)):S=Nf(S);else if(typeof e=="string")g=w;else e:switch(e){case ce:return iu(n.children,u,f,t);case $e:g=M,u|=Ma,(u&br)!==Pt&&(u|=Ss);break;case Ue:return JU(n,u,f,t);case Ee:return ZU(n,u,f,t);case We:return eV(n,u,f,t);case At:return LT(n,u,f,t);case Gt:case Ze:case Qr:case Wa:case Et:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:g=P;break e;case Y:g=G;break e;case me:g=U,S=Y0(S);break e;case mt:g=I;break e;case rt:g=ge,S=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" 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 D=i?or(i):null;D&&(C+=`
|
|
138
138
|
|
|
139
|
-
Check the render method of \``+D+"`.")}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)+"."+C))}}var B=$o(g,n,t,u);return B.elementType=e,B.type=S,B.lanes=f,B._debugOwner=i,B}function J0(e,t,n){var i=null;i=e._owner;var u=e.type,f=e.key,g=e.props,S=Q0(u,f,g,i,t,n);return S._debugSource=e._source,S._debugOwner=e._owner,S}function iu(e,t,n,i){var u=$o(N,e,i,t);return u.lanes=n,u}function JU(e,t,n,i){typeof e.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=$o(H,e,i,t|Zr);return u.elementType=Ue,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function ZU(e,t,n,i){var u=$o(J,e,i,t);return u.elementType=Ee,u.lanes=n,u}function eV(e,t,n,i){var u=$o(xe,e,i,t);return u.elementType=We,u.lanes=n,u}function LT(e,t,n,i){var u=$o(V,e,i,t);u.elementType=At,u.lanes=n;var f={isHidden:!1};return u.stateNode=f,u}function Z0(e,t,n){var i=$o(R,e,null,t);return i.lanes=n,i}function tV(){var e=$o(w,null,null,Pt);return e.elementType="DELETED",e}function rV(e){var t=$o(ke,null,null,Pt);return t.stateNode=e,t}function e2(e,t,n){var i=e.children!==null?e.children:[],u=$o(x,i,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function BT(e,t){return e===null&&(e=$o(b,null,null,Pt)),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 aV(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=O1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=wn,this.eventTimes=a1(je),this.expirationTimes=a1(Sa),this.pendingLanes=je,this.suspendedLanes=je,this.pingedLanes=je,this.expiredLanes=je,this.mutableReadLanes=je,this.finishedLanes=je,this.entangledLanes=je,this.entanglements=a1(je),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var f=this.pendingUpdatersLaneMap=[],g=0;g<Ob;g++)f.push(new Set)}switch(t){case Iv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case $c:this._debugRootType=n?"hydrate()":"render()";break}}function NT(e,t,n,i,u,f,g,S,C,D){var B=new aV(e,t,n,S,C),Z=QU(t,f);B.current=Z,Z.stateNode=B;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=Q}return fy(Z),B}var t2="18.3.1";function nV(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return kr(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var r2,a2;r2=!1,a2={};function OT(e){if(!e)return Yo;var t=$d(e),n=I9(t);if(t.tag===v){var i=t.type;if(xs(i))return i3(t,i,n)}return n}function oV(e,t){{var n=$d(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=AC(n);if(u===null)return null;if(u.mode&Ma){var f=or(n)||"Component";if(!a2[f]){a2[f]=!0;var g=Hn;try{Ra(u),n.mode&Ma?c("%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,f):c("%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,f)}finally{g?Ra(g):bn()}}}return u.stateNode}}function IT(e,t,n,i,u,f,g,S){var C=!1,D=null;return NT(e,t,C,D,n,i,u,f,g)}function PT(e,t,n,i,u,f,g,S,C,D){var B=!0,Z=NT(n,i,B,e,u,f,g,S,C);Z.context=OT(null);var Q=Z.current,_e=
|
|
139
|
+
Check the render method of \``+D+"`.")}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)+"."+C))}}var B=$o(g,n,t,u);return B.elementType=e,B.type=S,B.lanes=f,B._debugOwner=i,B}function J0(e,t,n){var i=null;i=e._owner;var u=e.type,f=e.key,g=e.props,S=Q0(u,f,g,i,t,n);return S._debugSource=e._source,S._debugOwner=e._owner,S}function iu(e,t,n,i){var u=$o(N,e,i,t);return u.lanes=n,u}function JU(e,t,n,i){typeof e.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=$o(H,e,i,t|Zr);return u.elementType=Ue,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function ZU(e,t,n,i){var u=$o(J,e,i,t);return u.elementType=Ee,u.lanes=n,u}function eV(e,t,n,i){var u=$o(xe,e,i,t);return u.elementType=We,u.lanes=n,u}function LT(e,t,n,i){var u=$o(V,e,i,t);u.elementType=At,u.lanes=n;var f={isHidden:!1};return u.stateNode=f,u}function Z0(e,t,n){var i=$o(R,e,null,t);return i.lanes=n,i}function tV(){var e=$o(w,null,null,Pt);return e.elementType="DELETED",e}function rV(e){var t=$o(ke,null,null,Pt);return t.stateNode=e,t}function e2(e,t,n){var i=e.children!==null?e.children:[],u=$o(x,i,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function BT(e,t){return e===null&&(e=$o(b,null,null,Pt)),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 aV(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=O1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=wn,this.eventTimes=a1(je),this.expirationTimes=a1(Sa),this.pendingLanes=je,this.suspendedLanes=je,this.pingedLanes=je,this.expiredLanes=je,this.mutableReadLanes=je,this.finishedLanes=je,this.entangledLanes=je,this.entanglements=a1(je),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var f=this.pendingUpdatersLaneMap=[],g=0;g<Ob;g++)f.push(new Set)}switch(t){case Iv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case $c:this._debugRootType=n?"hydrate()":"render()";break}}function NT(e,t,n,i,u,f,g,S,C,D){var B=new aV(e,t,n,S,C),Z=QU(t,f);B.current=Z,Z.stateNode=B;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=Q}return fy(Z),B}var t2="18.3.1";function nV(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return kr(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var r2,a2;r2=!1,a2={};function OT(e){if(!e)return Yo;var t=$d(e),n=I9(t);if(t.tag===v){var i=t.type;if(xs(i))return i3(t,i,n)}return n}function oV(e,t){{var n=$d(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=AC(n);if(u===null)return null;if(u.mode&Ma){var f=or(n)||"Component";if(!a2[f]){a2[f]=!0;var g=Hn;try{Ra(u),n.mode&Ma?c("%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,f):c("%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,f)}finally{g?Ra(g):bn()}}}return u.stateNode}}function IT(e,t,n,i,u,f,g,S){var C=!1,D=null;return NT(e,t,C,D,n,i,u,f,g)}function PT(e,t,n,i,u,f,g,S,C,D){var B=!0,Z=NT(n,i,B,e,u,f,g,S,C);Z.context=OT(null);var Q=Z.current,_e=no(),be=nu(Q),Re=lc(_e,be);return Re.callback=t!=null?t:null,Xc(Q,Re,be),fU(Z,be,_e),Z}function Yh(e,t,n,i){EP(t,e);var u=t.current,f=no(),g=nu(u);GP(g);var S=OT(n);t.context===null?t.context=S:t.pendingContext=S,Ic&&Hn!==null&&!r2&&(r2=!0,c(`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.
|
|
140
140
|
|
|
141
|
-
Check the render method of %s.`,or(Hn)||"Unknown"));var C=lc(f,g);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var D=Xc(u,C,g);return D!==null&&(mn(D,u,g,f),Xv(D,u,g)),g}function Fg(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case w:return t.child.stateNode;default:return t.child.stateNode}}function iV(e){switch(e.tag){case y:{var t=e.stateNode;if(ov(t)){var n=aM(t);vU(t,n)}break}case J:{dc(function(){var u=
|
|
141
|
+
Check the render method of %s.`,or(Hn)||"Unknown"));var C=lc(f,g);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var D=Xc(u,C,g);return D!==null&&(mn(D,u,g,f),Xv(D,u,g)),g}function Fg(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case w:return t.child.stateNode;default:return t.child.stateNode}}function iV(e){switch(e.tag){case y:{var t=e.stateNode;if(ov(t)){var n=aM(t);vU(t,n)}break}case J:{dc(function(){var u=ko(e,Jt);if(u!==null){var f=no();mn(u,e,Jt,f)}});var i=Jt;n2(e,i);break}}}function MT(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=cM(n.retryLane,t))}function n2(e,t){MT(e,t);var n=e.alternate;n&&MT(n,t)}function lV(e){if(e.tag===J){var t=Lp,n=ko(e,t);if(n!==null){var i=no();mn(n,e,t,i)}n2(e,t)}}function sV(e){if(e.tag===J){var t=nu(e),n=ko(e,t);if(n!==null){var i=no();mn(n,e,t,i)}n2(e,t)}}function zT(e){var t=bP(e);return t===null?null:t.stateNode}var FT=function(e){return null};function cV(e){return FT(e)}var jT=function(e){return!1};function uV(e){return jT(e)}var HT=null,UT=null,VT=null,WT=null,qT=null,YT=null,$T=null,GT=null,KT=null;{var XT=function(e,t,n){var i=t[n],u=ln(e)?e.slice():It({},e);return n+1===t.length?(ln(u)?u.splice(i,1):delete u[i],u):(u[i]=XT(e[i],t,n+1),u)},QT=function(e,t){return XT(e,t,0)},JT=function(e,t,n,i){var u=t[i],f=ln(e)?e.slice():It({},e);if(i+1===t.length){var g=n[i];f[g]=f[u],ln(f)?f.splice(u,1):delete f[u]}else f[u]=JT(e[u],t,n,i+1);return f},ZT=function(e,t,n){if(t.length!==n.length){d("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return JT(e,t,n,0)},e4=function(e,t,n,i){if(n>=t.length)return i;var u=t[n],f=ln(e)?e.slice():It({},e);return f[u]=e4(e[u],t,n+1,i),f},t4=function(e,t,n){return e4(e,t,0,n)},o2=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};HT=function(e,t,n,i){var u=o2(e,t);if(u!==null){var f=t4(u.memoizedState,n,i);u.memoizedState=f,u.baseState=f,e.memoizedProps=It({},e.memoizedProps);var g=ko(e,Jt);g!==null&&mn(g,e,Jt,Sa)}},UT=function(e,t,n){var i=o2(e,t);if(i!==null){var u=QT(i.memoizedState,n);i.memoizedState=u,i.baseState=u,e.memoizedProps=It({},e.memoizedProps);var f=ko(e,Jt);f!==null&&mn(f,e,Jt,Sa)}},VT=function(e,t,n,i){var u=o2(e,t);if(u!==null){var f=ZT(u.memoizedState,n,i);u.memoizedState=f,u.baseState=f,e.memoizedProps=It({},e.memoizedProps);var g=ko(e,Jt);g!==null&&mn(g,e,Jt,Sa)}},WT=function(e,t,n){e.pendingProps=t4(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=ko(e,Jt);i!==null&&mn(i,e,Jt,Sa)},qT=function(e,t){e.pendingProps=QT(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=ko(e,Jt);n!==null&&mn(n,e,Jt,Sa)},YT=function(e,t,n){e.pendingProps=ZT(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=ko(e,Jt);i!==null&&mn(i,e,Jt,Sa)},$T=function(e){var t=ko(e,Jt);t!==null&&mn(t,e,Jt,Sa)},GT=function(e){FT=e},KT=function(e){jT=e}}function dV(e){var t=AC(e);return t===null?null:t.stateNode}function fV(e){return null}function pV(){return Hn}function hV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return RP({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:HT,overrideHookStateDeletePath:UT,overrideHookStateRenamePath:VT,overrideProps:WT,overridePropsDeletePath:qT,overridePropsRenamePath:YT,setErrorHandler:GT,setSuspenseHandler:KT,scheduleUpdate:$T,currentDispatcherRef:n,findHostInstanceByFiber:dV,findFiberByHostInstance:t||fV,findHostInstancesForRefresh:WU,scheduleRefresh:UU,scheduleRoot:VU,setRefreshHandler:HU,getCurrentFiber:pV,reconcilerVersion:t2})}var r4=typeof reportError=="function"?reportError:function(e){console.error(e)};function i2(e){this._internalRoot=e}jg.prototype.render=i2.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?c("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Hg(arguments[1])?c("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]!="undefined"&&c("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Ja){var i=zT(t.current);i&&i.parentNode!==n&&c("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.")}}Yh(e,t,null,null)},jg.prototype.unmount=i2.prototype.unmount=function(){typeof arguments[0]=="function"&&c("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;hT()&&c("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."),dc(function(){Yh(null,e,null,null)}),t3(t)}};function mV(e,t){if(!Hg(e))throw new Error("createRoot(...): Target container is not a DOM element.");a4(e);var n=!1,i=!1,u="",f=r4,g=null;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===q&&c(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
142
142
|
|
|
143
143
|
let root = createRoot(domContainer);
|
|
144
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var S=IT(e,Iv,null,n,i,u,f);Ev(S.current,e);var C=e.nodeType===Ja?e.parentNode:e;return Jp(C),new i2(S)}function jg(e){this._internalRoot=e}function vV(e){e&&TM(e)}jg.prototype.unstable_scheduleHydration=vV;function gV(e,t,n){if(!Hg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");a4(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,u=n!=null&&n.hydratedSources||null,f=!1,g=!1,S="",C=r4;n!=null&&(n.unstable_strictMode===!0&&(f=!0),n.identifierPrefix!==void 0&&(S=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var D=PT(t,null,e,Iv,i,f,g,S,C);if(Ev(D.current,e),Jp(e),u)for(var B=0;B<u.length;B++){var Z=u[B];vj(D,Z)}return new jg(D)}function Hg(e){return!!(e&&(e.nodeType===
|
|
145
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ko.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s2,Ko.createPortal=TV,Ko.createRoot=EV,Ko.findDOMNode=SV,Ko.flushSync=AV,Ko.hydrate=wV,Ko.hydrateRoot=DV,Ko.render=CV,Ko.unmountComponentAtNode=kV,Ko.unstable_batchedUpdates=z0,Ko.unstable_renderSubtreeIntoContainer=RV,Ko.version=t2,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var u2=qe((gG,_4)=>{"use strict";_4.exports=g4()});var b4=qe(f2=>{"use strict";var d2=u2();Xh=d2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,f2.createRoot=function(r,a){Xh.usingClientEntryPoint=!0;try{return d2.createRoot(r,a)}finally{Xh.usingClientEntryPoint=!1}},f2.hydrateRoot=function(r,a,o){Xh.usingClientEntryPoint=!0;try{return d2.hydrateRoot(r,a,o)}finally{Xh.usingClientEntryPoint=!1}};var Xh});var x2=qe(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});function Fr(){return Fr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Fr.apply(this,arguments)}var Fa=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),y4="popstate";function VV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,R)=>b(w,typeof w=="string"?null:w.state,R===0?"default":void 0));let d=p(o==null?s.length-1:o),c=Fa.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function v(){return s[d]}function b(w,R,N){R===void 0&&(R=null);let M=mc(s?v().pathname:"/",w,R,N);return Ns(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function y(w){return typeof w=="string"?w:Os(w)}return{get index(){return d},get action(){return c},get location(){return v()},createHref:y,createURL(w){return new URL(y(w),"http://localhost")},encodeLocation(w){let R=typeof w=="string"?ns(w):w;return{pathname:R.pathname||"",search:R.search||"",hash:R.hash||""}},push(w,R){c=Fa.Push;let N=b(w,R);d+=1,s.splice(d,s.length,N),l&&h&&h({action:c,location:N,delta:1})},replace(w,R){c=Fa.Replace;let N=b(w,R);s[d]=N,l&&h&&h({action:c,location:N,delta:0})},go(w){c=Fa.Pop;let R=p(d+w),N=s[R];d=R,h&&h({action:c,location:N,delta:w})},listen(w){return h=w,()=>{h=null}}}}function WV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:c,hash:h}=l.location;return mc("",{pathname:d,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Os(s)}return P4(a,o,null,r)}function qV(r){r===void 0&&(r={});function a(s,d){let{pathname:c="/",search:h="",hash:p=""}=ns(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),mc("",{pathname:c,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(s,d){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,v=p.indexOf("#");h=v===-1?p:p.slice(0,v)}return h+"#"+(typeof d=="string"?d:Os(d))}function l(s,d){Ns(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return P4(a,o,l,r)}function Ir(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ns(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function YV(){return Math.random().toString(36).substr(2,8)}function S4(r,a){return{usr:r.state,key:r.key,idx:a}}function mc(r,a,o,l){return o===void 0&&(o=null),Fr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?ns(a):a,{state:o,key:a&&a.key||l||YV()})}function Os(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function ns(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function P4(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,c=s.history,h=Fa.Pop,p=null,v=b();v==null&&(v=0,c.replaceState(Fr({},c.state,{idx:v}),""));function b(){return(c.state||{idx:null}).idx}function y(){h=Fa.Pop;let M=b(),G=M==null?null:M-v;v=M,p&&p({action:h,location:N.location,delta:G})}function x(M,G){h=Fa.Push;let P=mc(N.location,M,G);o&&o(P,M),v=b()+1;let U=S4(P,v),H=N.createHref(P);try{c.pushState(U,"",H)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;s.location.assign(H)}d&&p&&p({action:h,location:N.location,delta:1})}function w(M,G){h=Fa.Replace;let P=mc(N.location,M,G);o&&o(P,M),v=b();let U=S4(P,v),H=N.createHref(P);c.replaceState(U,"",H),d&&p&&p({action:h,location:N.location,delta:0})}function R(M){let G=s.location.origin!=="null"?s.location.origin:s.location.href,P=typeof M=="string"?M:Os(M);return P=P.replace(/ $/,"%20"),Ir(G,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,G)}let N={get action(){return h},get location(){return r(s,c)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(y4,y),p=M,()=>{s.removeEventListener(y4,y),p=null}},createHref(M){return a(s,M)},createURL:R,encodeLocation(M){let G=R(M);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:x,replace:w,go(M){return c.go(M)}};return N}var $r=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),$V=new Set(["lazy","caseSensitive","path","id","index","children"]);function GV(r){return r.index===!0}function sd(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,d)=>{let c=[...o,String(d)],h=typeof s.id=="string"?s.id:c.join("-");if(Ir(s.index!==!0||!s.children,"Cannot specify children on an index route"),Ir(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),GV(s)){let p=Fr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Fr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=sd(s.children,a,c,l)),p}})}function hc(r,a,o){return o===void 0&&(o="/"),Yg(r,a,o,!1)}function Yg(r,a,o,l){let s=typeof a=="string"?ns(a):a,d=Zh(s.pathname||"/",o);if(d==null)return null;let c=z4(r);KV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let v=j4(d);h=nW(c[p],v,l)}return h}function M4(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function z4(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(d,c,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:c,route:d};p.relativePath.startsWith("/")&&(Ir(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let v=zf([l,p.relativePath]),b=o.concat(p);d.children&&d.children.length>0&&(Ir(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+v+'".')),z4(d.children,a,b,v)),!(d.path==null&&!d.index)&&a.push({path:v,score:rW(v,d.index),routesMeta:b})};return r.forEach((d,c)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,c);else for(let p of F4(d.path))s(d,c,p)}),a}function F4(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),d=o.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let c=F4(l.join("/")),h=[];return h.push(...c.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function KV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:aW(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var XV=/^:[\w-]+$/,QV=3,JV=2,ZV=1,eW=10,tW=-2,w4=r=>r==="*";function rW(r,a){let o=r.split("/"),l=o.length;return o.some(w4)&&(l+=tW),a&&(l+=JV),o.filter(s=>!w4(s)).reduce((s,d)=>s+(XV.test(d)?QV:d===""?ZV:eW),l)}function aW(r,a){return r.length===a.length&&r.slice(0,-1).every((l,s)=>l===a[s])?r[r.length-1]-a[a.length-1]:0}function nW(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},d="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],v=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",y=m2({path:p.relativePath,caseSensitive:p.caseSensitive,end:v},b),x=p.route;if(!y&&v&&o&&!l[l.length-1].route.index&&(y=m2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!y)return null;Object.assign(s,y.params),c.push({params:s,pathname:zf([d,y.pathname]),pathnameBase:q4(zf([d,y.pathnameBase])),route:x}),y.pathnameBase!=="/"&&(d=zf([d,y.pathnameBase]))}return c}function oW(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ns(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),d=o.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let b=c.match(/^:([\w-]+)(\??)$/);if(b){let[,y,x]=b,w=a[y];return Ir(x==="?"||w!=null,'Missing ":'+y+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+d.join("/")}function m2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=iW(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let d=s[0],c=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((v,b,y)=>{let{paramName:x,isOptional:w}=b;if(x==="*"){let N=h[y]||"";c=d.slice(0,d.length-N.length).replace(/(.)\/+$/,"$1")}let R=h[y];return w&&!R?v[x]=void 0:v[x]=(R||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:c,pattern:r}}function iW(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ns(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function j4(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ns(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Zh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function H4(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?ns(r):r;return{pathname:o?o.startsWith("/")?o:lW(o,a):a,search:cW(l),hash:uW(s)}}function lW(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function p2(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function U4(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function V4(r,a){let o=U4(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function W4(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=ns(r):(s=Fr({},r),Ir(!s.pathname||!s.pathname.includes("?"),p2("?","pathname","search",s)),Ir(!s.pathname||!s.pathname.includes("#"),p2("#","pathname","hash",s)),Ir(!s.search||!s.search.includes("#"),p2("#","search","hash",s)));let d=r===""||s.pathname==="",c=d?"/":s.pathname,h;if(c==null)h=o;else{let y=a.length-1;if(!l&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),y-=1;s.pathname=x.join("/")}h=y>=0?a[y]:"/"}let p=H4(s,h),v=c&&c!=="/"&&c.endsWith("/"),b=(d||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(v||b)&&(p.pathname+="/"),p}function sW(r){return r===""||r.pathname===""?"/":typeof r=="string"?ns(r).pathname:r.pathname}var zf=r=>r.join("/").replace(/\/\/+/g,"/"),q4=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),cW=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,uW=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,dW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Fr({},l,{headers:s}))},v2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function fW(r,a){return new v2(r,typeof a=="number"?{status:a}:a)}var Jh=class extends Error{},Gg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Ir(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Jh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,c)=>{let[h,p]=c;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Jh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,o),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return Or(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Ir(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[l,s]=o;return Object.assign(a,{[l]:hW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function pW(r){return r instanceof Promise&&r._tracked===!0}function hW(r){if(!pW(r))return r;if(r._error)throw r._error;return r._data}var mW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new Gg(a,l)},S2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Fr({},l,{headers:s}))},vW=(r,a)=>{let o=S2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},gW=(r,a)=>{let o=S2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ff=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function jf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Y4=["post","put","patch","delete"],_W=new Set(Y4),bW=["get",...Y4],yW=new Set(bW),SW=new Set([301,302,303,307,308]),wW=new Set([307,308]),$g={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$4={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Mf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},w2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G4=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),K4="remix-router-transitions";function CW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!o;Ir(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let z=r.detectErrorBoundary;s=q=>({hasErrorBoundary:z(q)})}else s=G4;let d={},c=sd(r.routes,s,void 0,d),h,p=r.basename||"/",v=r.unstable_dataStrategy||eR,b=r.unstable_patchRoutesOnMiss,y=Fr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),x=null,w=new Set,R=null,N=null,M=null,G=r.hydrationData!=null,P=hc(c,r.history.location,p),U=null;if(P==null&&!b){let z=Ea(404,{pathname:r.history.location.pathname}),{matches:q,route:ae}=Kg(c);P=q,U={[ae.id]:z}}P&&!r.hydrationData&&Fe(P,c,r.history.location.pathname).active&&(P=null);let H;if(P)if(P.some(z=>z.route.lazy))H=!1;else if(!P.some(z=>z.route.loader))H=!0;else if(y.v7_partialHydration){let z=r.hydrationData?r.hydrationData.loaderData:null,q=r.hydrationData?r.hydrationData.errors:null,ae=ce=>ce.route.loader?typeof ce.route.loader=="function"&&ce.route.loader.hydrate===!0?!1:z&&z[ce.route.id]!==void 0||q&&q[ce.route.id]!==void 0:!0;if(q){let ce=P.findIndex($e=>q[$e.route.id]!==void 0);H=P.slice(0,ce+1).every(ae)}else H=P.every(ae)}else H=r.hydrationData!=null;else if(H=!1,P=[],y.v7_partialHydration){let z=Fe(null,c,r.history.location.pathname);z.active&&z.matches&&(P=z.matches)}let J,I={historyAction:r.history.action,location:r.history.location,matches:P,initialized:H,navigation:$g,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||U,fetchers:new Map,blockers:new Map},re=Fa.Pop,ge=!1,ne,ke=!1,xe=new Map,ye=null,V=!1,se=!1,pe=[],j=new Set,$=new Map,oe=0,ee=-1,ue=new Map,Ce=new Set,Se=new Map,Ie=new Map,Ge=new Set,Qe=new Map,yt=new Map,Ht=new Map,pt=!1;function kt(){if(x=r.history.listen(z=>{let{action:q,location:ae,delta:ce}=z;if(pt){pt=!1;return}Ns(yt.size===0||ce!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let $e=te({currentLocation:I.location,nextLocation:ae,historyAction:q});if($e&&ce!=null){pt=!0,r.history.go(ce*-1),O($e,{state:"blocked",location:ae,proceed(){O($e,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(ce)},reset(){let Ue=new Map(I.blockers);Ue.set($e,Mf),Te({blockers:Ue})}});return}return Yt(q,ae)}),o){PW(a,xe);let z=()=>MW(a,xe);a.addEventListener("pagehide",z),ye=()=>a.removeEventListener("pagehide",z)}return I.initialized||Yt(Fa.Pop,I.location,{initialHydration:!0}),J}function vt(){x&&x(),ye&&ye(),w.clear(),ne&&ne.abort(),I.fetchers.forEach((z,q)=>He(q)),I.blockers.forEach((z,q)=>Xr(q))}function it(z){return w.add(z),()=>w.delete(z)}function Te(z,q){q===void 0&&(q={}),I=Fr({},I,z);let ae=[],ce=[];y.v7_fetcherPersist&&I.fetchers.forEach(($e,Ue)=>{$e.state==="idle"&&(Ge.has(Ue)?ce.push(Ue):ae.push(Ue))}),[...w].forEach($e=>$e(I,{deletedFetchers:ce,unstable_viewTransitionOpts:q.viewTransitionOpts,unstable_flushSync:q.flushSync===!0})),y.v7_fetcherPersist&&(ae.forEach($e=>I.fetchers.delete($e)),ce.forEach($e=>He($e)))}function Rt(z,q,ae){var ce,$e;let{flushSync:Ue}=ae===void 0?{}:ae,L=I.actionData!=null&&I.navigation.formMethod!=null&&Al(I.navigation.formMethod)&&I.navigation.state==="loading"&&((ce=z.state)==null?void 0:ce._isRedirect)!==!0,Y;q.actionData?Object.keys(q.actionData).length>0?Y=q.actionData:Y=null:L?Y=I.actionData:Y=null;let me=q.loaderData?L4(I.loaderData,q.loaderData,q.matches||[],q.errors):I.loaderData,Ee=I.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((rt,Ze)=>Ee.set(Ze,Mf)));let We=ge===!0||I.navigation.formMethod!=null&&Al(I.navigation.formMethod)&&(($e=z.state)==null?void 0:$e._isRedirect)!==!0;h&&(c=h,h=void 0),V||re===Fa.Pop||(re===Fa.Push?r.history.push(z,z.state):re===Fa.Replace&&r.history.replace(z,z.state));let mt;if(re===Fa.Pop){let rt=xe.get(I.location.pathname);rt&&rt.has(z.pathname)?mt={currentLocation:I.location,nextLocation:z}:xe.has(z.pathname)&&(mt={currentLocation:z,nextLocation:I.location})}else if(ke){let rt=xe.get(I.location.pathname);rt?rt.add(z.pathname):(rt=new Set([z.pathname]),xe.set(I.location.pathname,rt)),mt={currentLocation:I.location,nextLocation:z}}Te(Fr({},q,{actionData:Y,loaderData:me,historyAction:re,location:z,initialized:!0,navigation:$g,revalidation:"idle",restoreScrollPosition:ze(z,q.matches||I.matches),preventScrollReset:We,blockers:Ee}),{viewTransitionOpts:mt,flushSync:Ue===!0}),re=Fa.Pop,ge=!1,ke=!1,V=!1,se=!1,pe=[]}function Ut(z,q){return Or(this,null,function*(){if(typeof z=="number"){r.history.go(z);return}let ae=g2(I.location,I.matches,p,y.v7_prependBasename,z,y.v7_relativeSplatPath,q==null?void 0:q.fromRouteId,q==null?void 0:q.relative),{path:ce,submission:$e,error:Ue}=x4(y.v7_normalizeFormMethod,!1,ae,q),L=I.location,Y=mc(I.location,ce,q&&q.state);Y=Fr({},Y,r.history.encodeLocation(Y));let me=q&&q.replace!=null?q.replace:void 0,Ee=Fa.Push;me===!0?Ee=Fa.Replace:me===!1||$e!=null&&Al($e.formMethod)&&$e.formAction===I.location.pathname+I.location.search&&(Ee=Fa.Replace);let We=q&&"preventScrollReset"in q?q.preventScrollReset===!0:void 0,mt=(q&&q.unstable_flushSync)===!0,rt=te({currentLocation:L,nextLocation:Y,historyAction:Ee});if(rt){O(rt,{state:"blocked",location:Y,proceed(){O(rt,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),Ut(z,q)},reset(){let Ze=new Map(I.blockers);Ze.set(rt,Mf),Te({blockers:Ze})}});return}return yield Yt(Ee,Y,{submission:$e,pendingError:Ue,preventScrollReset:We,replace:q&&q.replace,enableViewTransition:q&&q.unstable_viewTransition,flushSync:mt})})}function Qt(){if(mr(),Te({revalidation:"loading"}),I.navigation.state!=="submitting"){if(I.navigation.state==="idle"){Yt(I.historyAction,I.location,{startUninterruptedRevalidation:!0});return}Yt(re||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation})}}function Yt(z,q,ae){return Or(this,null,function*(){ne&&ne.abort(),ne=null,re=z,V=(ae&&ae.startUninterruptedRevalidation)===!0,Me(I.location,I.matches),ge=(ae&&ae.preventScrollReset)===!0,ke=(ae&&ae.enableViewTransition)===!0;let ce=h||c,$e=ae&&ae.overrideNavigation,Ue=hc(ce,q,p),L=(ae&&ae.flushSync)===!0,Y=Fe(Ue,ce,q.pathname);if(Y.active&&Y.matches&&(Ue=Y.matches),!Ue){let{error:Et,notFoundMatches:At,route:Gt}=A(q.pathname);Rt(q,{matches:At,loaderData:{},errors:{[Gt.id]:Et}},{flushSync:L});return}if(I.initialized&&!se&&AW(I.location,q)&&!(ae&&ae.submission&&Al(ae.submission.formMethod))){Rt(q,{matches:Ue},{flushSync:L});return}ne=new AbortController;let me=Pf(r.history,q,ne.signal,ae&&ae.submission),Ee;if(ae&&ae.pendingError)Ee=[id(Ue).route.id,{type:$r.error,error:ae.pendingError}];else if(ae&&ae.submission&&Al(ae.submission.formMethod)){let Et=yield lr(me,q,ae.submission,Ue,Y.active,{replace:ae.replace,flushSync:L});if(Et.shortCircuited)return;if(Et.pendingActionResult){let[At,Gt]=Et.pendingActionResult;if(Mn(Gt)&&jf(Gt.error)&&Gt.error.status===404){ne=null,Rt(q,{matches:Et.matches,loaderData:{},errors:{[At]:Gt.error}});return}}Ue=Et.matches||Ue,Ee=Et.pendingActionResult,$e=h2(q,ae.submission),L=!1,Y.active=!1,me=Pf(r.history,me.url,me.signal)}let{shortCircuited:We,matches:mt,loaderData:rt,errors:Ze}=yield pr(me,q,Ue,Y.active,$e,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,L,Ee);We||(ne=null,Rt(q,Fr({matches:mt||Ue},B4(Ee),{loaderData:rt,errors:Ze})))})}function lr(z,q,ae,ce,$e,Ue){return Or(this,null,function*(){Ue===void 0&&(Ue={}),mr();let L=OW(q,ae);if(Te({navigation:L},{flushSync:Ue.flushSync===!0}),$e){let Ee=yield Ke(ce,q.pathname,z.signal);if(Ee.type==="aborted")return{shortCircuited:!0};if(Ee.type==="error"){let{boundaryId:We,error:mt}=F(q.pathname,Ee);return{matches:Ee.partialMatches,pendingActionResult:[We,{type:$r.error,error:mt}]}}else if(Ee.matches)ce=Ee.matches;else{let{notFoundMatches:We,error:mt,route:rt}=A(q.pathname);return{matches:We,pendingActionResult:[rt.id,{type:$r.error,error:mt}]}}}let Y,me=ld(ce,q);if(!me.route.action&&!me.route.lazy)Y={type:$r.error,error:Ea(405,{method:z.method,pathname:q.pathname,routeId:me.route.id})};else if(Y=(yield Pr("action",z,[me],ce))[0],z.signal.aborted)return{shortCircuited:!0};if(uu(Y)){let Ee;return Ue&&Ue.replace!=null?Ee=Ue.replace:Ee=E4(Y.response.headers.get("Location"),new URL(z.url),p)===I.location.pathname+I.location.search,yield Tr(z,Y,{submission:ae,replace:Ee}),{shortCircuited:!0}}if(cu(Y))throw Ea(400,{type:"defer-action"});if(Mn(Y)){let Ee=id(ce,me.route.id);return(Ue&&Ue.replace)!==!0&&(re=Fa.Push),{matches:ce,pendingActionResult:[Ee.route.id,Y]}}return{matches:ce,pendingActionResult:[me.route.id,Y]}})}function pr(z,q,ae,ce,$e,Ue,L,Y,me,Ee,We){return Or(this,null,function*(){let mt=$e||h2(q,Ue),rt=Ue||L||I4(mt),Ze=!V&&(!y.v7_partialHydration||!me);if(ce){if(Ze){let sa=kr(We);Te(Fr({navigation:mt},sa!==void 0?{actionData:sa}:{}),{flushSync:Ee})}let ar=yield Ke(ae,q.pathname,z.signal);if(ar.type==="aborted")return{shortCircuited:!0};if(ar.type==="error"){let{boundaryId:sa,error:nn}=F(q.pathname,ar);return{matches:ar.partialMatches,loaderData:{},errors:{[sa]:nn}}}else if(ar.matches)ae=ar.matches;else{let{error:sa,notFoundMatches:nn,route:Jr}=A(q.pathname);return{matches:nn,loaderData:{},errors:{[Jr.id]:sa}}}}let Et=h||c,[At,Gt]=k4(r.history,I,ae,rt,q,y.v7_partialHydration&&me===!0,y.v7_skipActionErrorRevalidation,se,pe,j,Ge,Se,Ce,Et,p,We);if(K(ar=>!(ae&&ae.some(sa=>sa.route.id===ar))||At&&At.some(sa=>sa.route.id===ar)),ee=++oe,At.length===0&&Gt.length===0){let ar=$t();return Rt(q,Fr({matches:ae,loaderData:{},errors:We&&Mn(We[1])?{[We[0]]:We[1].error}:null},B4(We),ar?{fetchers:new Map(I.fetchers)}:{}),{flushSync:Ee}),{shortCircuited:!0}}if(Ze){let ar={};if(!ce){ar.navigation=mt;let sa=kr(We);sa!==void 0&&(ar.actionData=sa)}Gt.length>0&&(ar.fetchers=la(Gt)),Te(ar,{flushSync:Ee})}Gt.forEach(ar=>{$.has(ar.key)&&St(ar.key),ar.controller&&$.set(ar.key,ar.controller)});let Qr=()=>Gt.forEach(ar=>St(ar.key));ne&&ne.signal.addEventListener("abort",Qr);let{loaderResults:Wa,fetcherResults:fa}=yield ba(I.matches,ae,At,Gt,z);if(z.signal.aborted)return{shortCircuited:!0};ne&&ne.signal.removeEventListener("abort",Qr),Gt.forEach(ar=>$.delete(ar.key));let pa=N4([...Wa,...fa]);if(pa){if(pa.idx>=At.length){let ar=Gt[pa.idx-At.length].key;Ce.add(ar)}return yield Tr(z,pa.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Qa,errors:It}=A4(I,ae,At,Wa,We,Gt,fa,Qe);Qe.forEach((ar,sa)=>{ar.subscribe(nn=>{(nn||ar.done)&&Qe.delete(sa)})}),y.v7_partialHydration&&me&&I.errors&&Object.entries(I.errors).filter(ar=>{let[sa]=ar;return!At.some(nn=>nn.route.id===sa)}).forEach(ar=>{let[sa,nn]=ar;It=Object.assign(It||{},{[sa]:nn})});let Zn=$t(),_s=Rr(ee),bs=Zn||_s||Gt.length>0;return Fr({matches:ae,loaderData:Qa,errors:It},bs?{fetchers:new Map(I.fetchers)}:{})})}function kr(z){if(z&&!Mn(z[1]))return{[z[0]]:z[1].data};if(I.actionData)return Object.keys(I.actionData).length===0?null:I.actionData}function la(z){return z.forEach(q=>{let ae=I.fetchers.get(q.key),ce=Qh(void 0,ae?ae.data:void 0);I.fetchers.set(q.key,ce)}),new Map(I.fetchers)}function Wr(z,q,ae,ce){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");$.has(z)&&St(z);let $e=(ce&&ce.unstable_flushSync)===!0,Ue=h||c,L=g2(I.location,I.matches,p,y.v7_prependBasename,ae,y.v7_relativeSplatPath,q,ce==null?void 0:ce.relative),Y=hc(Ue,L,p),me=Fe(Y,Ue,L);if(me.active&&me.matches&&(Y=me.matches),!Y){Mr(z,q,Ea(404,{pathname:L}),{flushSync:$e});return}let{path:Ee,submission:We,error:mt}=x4(y.v7_normalizeFormMethod,!0,L,ce);if(mt){Mr(z,q,mt,{flushSync:$e});return}let rt=ld(Y,Ee);if(ge=(ce&&ce.preventScrollReset)===!0,We&&Al(We.formMethod)){Kr(z,q,Ee,rt,Y,me.active,$e,We);return}Se.set(z,{routeId:q,path:Ee}),hr(z,q,Ee,rt,Y,me.active,$e,We)}function Kr(z,q,ae,ce,$e,Ue,L,Y){return Or(this,null,function*(){mr(),Se.delete(z);function me(Jr){if(!Jr.route.action&&!Jr.route.lazy){let eo=Ea(405,{method:Y.formMethod,pathname:ae,routeId:q});return Mr(z,q,eo,{flushSync:L}),!0}return!1}if(!Ue&&me(ce))return;let Ee=I.fetchers.get(z);Lr(z,IW(Y,Ee),{flushSync:L});let We=new AbortController,mt=Pf(r.history,ae,We.signal,Y);if(Ue){let Jr=yield Ke($e,ae,mt.signal);if(Jr.type==="aborted")return;if(Jr.type==="error"){let{error:eo}=F(ae,Jr);Mr(z,q,eo,{flushSync:L});return}else if(Jr.matches){if($e=Jr.matches,ce=ld($e,ae),me(ce))return}else{Mr(z,q,Ea(404,{pathname:ae}),{flushSync:L});return}}$.set(z,We);let rt=oe,Et=(yield Pr("action",mt,[ce],$e))[0];if(mt.signal.aborted){$.get(z)===We&&$.delete(z);return}if(y.v7_fetcherPersist&&Ge.has(z)){if(uu(Et)||Mn(Et)){Lr(z,lu(void 0));return}}else{if(uu(Et))if($.delete(z),ee>rt){Lr(z,lu(void 0));return}else return Ce.add(z),Lr(z,Qh(Y)),Tr(mt,Et,{fetcherSubmission:Y});if(Mn(Et)){Mr(z,q,Et.error);return}}if(cu(Et))throw Ea(400,{type:"defer-action"});let At=I.navigation.location||I.location,Gt=Pf(r.history,At,We.signal),Qr=h||c,Wa=I.navigation.state!=="idle"?hc(Qr,I.navigation.location,p):I.matches;Ir(Wa,"Didn't find any matches after fetcher action");let fa=++oe;ue.set(z,fa);let pa=Qh(Y,Et.data);I.fetchers.set(z,pa);let[Qa,It]=k4(r.history,I,Wa,Y,At,!1,y.v7_skipActionErrorRevalidation,se,pe,j,Ge,Se,Ce,Qr,p,[ce.route.id,Et]);It.filter(Jr=>Jr.key!==z).forEach(Jr=>{let eo=Jr.key,Eu=I.fetchers.get(eo),fp=Qh(void 0,Eu?Eu.data:void 0);I.fetchers.set(eo,fp),$.has(eo)&&St(eo),Jr.controller&&$.set(eo,Jr.controller)}),Te({fetchers:new Map(I.fetchers)});let Zn=()=>It.forEach(Jr=>St(Jr.key));We.signal.addEventListener("abort",Zn);let{loaderResults:_s,fetcherResults:bs}=yield ba(I.matches,Wa,Qa,It,Gt);if(We.signal.aborted)return;We.signal.removeEventListener("abort",Zn),ue.delete(z),$.delete(z),It.forEach(Jr=>$.delete(Jr.key));let ar=N4([..._s,...bs]);if(ar){if(ar.idx>=Qa.length){let Jr=It[ar.idx-Qa.length].key;Ce.add(Jr)}return Tr(Gt,ar.result)}let{loaderData:sa,errors:nn}=A4(I,I.matches,Qa,_s,void 0,It,bs,Qe);if(I.fetchers.has(z)){let Jr=lu(Et.data);I.fetchers.set(z,Jr)}Rr(fa),I.navigation.state==="loading"&&fa>ee?(Ir(re,"Expected pending action"),ne&&ne.abort(),Rt(I.navigation.location,{matches:Wa,loaderData:sa,errors:nn,fetchers:new Map(I.fetchers)})):(Te({errors:nn,loaderData:L4(I.loaderData,sa,Wa,nn),fetchers:new Map(I.fetchers)}),se=!1)})}function hr(z,q,ae,ce,$e,Ue,L,Y){return Or(this,null,function*(){let me=I.fetchers.get(z);Lr(z,Qh(Y,me?me.data:void 0),{flushSync:L});let Ee=new AbortController,We=Pf(r.history,ae,Ee.signal);if(Ue){let Et=yield Ke($e,ae,We.signal);if(Et.type==="aborted")return;if(Et.type==="error"){let{error:At}=F(ae,Et);Mr(z,q,At,{flushSync:L});return}else if(Et.matches)$e=Et.matches,ce=ld($e,ae);else{Mr(z,q,Ea(404,{pathname:ae}),{flushSync:L});return}}$.set(z,Ee);let mt=oe,Ze=(yield Pr("loader",We,[ce],$e))[0];if(cu(Ze)&&(Ze=(yield sR(Ze,We.signal,!0))||Ze),$.get(z)===Ee&&$.delete(z),!We.signal.aborted){if(Ge.has(z)){Lr(z,lu(void 0));return}if(uu(Ze))if(ee>mt){Lr(z,lu(void 0));return}else{Ce.add(z),yield Tr(We,Ze);return}if(Mn(Ze)){Mr(z,q,Ze.error);return}Ir(!cu(Ze),"Unhandled fetcher deferred data"),Lr(z,lu(Ze.data))}})}function Tr(z,q,ae){return Or(this,null,function*(){let{submission:ce,fetcherSubmission:$e,replace:Ue}=ae===void 0?{}:ae;q.response.headers.has("X-Remix-Revalidate")&&(se=!0);let L=q.response.headers.get("Location");Ir(L,"Expected a Location header on the redirect Response"),L=E4(L,new URL(z.url),p);let Y=mc(I.location,L,{_isRedirect:!0});if(o){let Ze=!1;if(q.response.headers.has("X-Remix-Reload-Document"))Ze=!0;else if(w2.test(L)){let Et=r.history.createURL(L);Ze=Et.origin!==a.location.origin||Zh(Et.pathname,p)==null}if(Ze){Ue?a.location.replace(L):a.location.assign(L);return}}ne=null;let me=Ue===!0||q.response.headers.has("X-Remix-Replace")?Fa.Replace:Fa.Push,{formMethod:Ee,formAction:We,formEncType:mt}=I.navigation;!ce&&!$e&&Ee&&We&&mt&&(ce=I4(I.navigation));let rt=ce||$e;if(wW.has(q.response.status)&&rt&&Al(rt.formMethod))yield Yt(me,Y,{submission:Fr({},rt,{formAction:L}),preventScrollReset:ge});else{let Ze=h2(Y,ce);yield Yt(me,Y,{overrideNavigation:Ze,fetcherSubmission:$e,preventScrollReset:ge})}})}function Pr(z,q,ae,ce){return Or(this,null,function*(){try{let $e=yield tR(v,z,q,ae,ce,d,s);return yield Promise.all($e.map((Ue,L)=>{if(iR(Ue)){let Y=Ue.result;return{type:$r.redirect,response:aR(Y,q,ae[L].route.id,ce,p,y.v7_relativeSplatPath)}}return rR(Ue)}))}catch($e){return ae.map(()=>({type:$r.error,error:$e}))}})}function ba(z,q,ae,ce,$e){return Or(this,null,function*(){let[Ue,...L]=yield Promise.all([ae.length?Pr("loader",$e,ae,q):[],...ce.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let me=Pf(r.history,Y.path,Y.controller.signal);return Pr("loader",me,[Y.match],Y.matches).then(Ee=>Ee[0])}else return Promise.resolve({type:$r.error,error:Ea(404,{pathname:Y.path})})})]);return yield Promise.all([O4(z,ae,Ue,Ue.map(()=>$e.signal),!1,I.loaderData),O4(z,ce.map(Y=>Y.match),L,ce.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:Ue,fetcherResults:L}})}function mr(){se=!0,pe.push(...K()),Se.forEach((z,q)=>{$.has(q)&&(j.add(q),St(q))})}function Lr(z,q,ae){ae===void 0&&(ae={}),I.fetchers.set(z,q),Te({fetchers:new Map(I.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(z,q,ae,ce){ce===void 0&&(ce={});let $e=id(I.matches,q);He(z),Te({errors:{[$e.route.id]:ae},fetchers:new Map(I.fetchers)},{flushSync:(ce&&ce.flushSync)===!0})}function wa(z){return y.v7_fetcherPersist&&(Ie.set(z,(Ie.get(z)||0)+1),Ge.has(z)&&Ge.delete(z)),I.fetchers.get(z)||$4}function He(z){let q=I.fetchers.get(z);$.has(z)&&!(q&&q.state==="loading"&&ue.has(z))&&St(z),Se.delete(z),ue.delete(z),Ce.delete(z),Ge.delete(z),j.delete(z),I.fetchers.delete(z)}function ut(z){if(y.v7_fetcherPersist){let q=(Ie.get(z)||0)-1;q<=0?(Ie.delete(z),Ge.add(z)):Ie.set(z,q)}else He(z);Te({fetchers:new Map(I.fetchers)})}function St(z){let q=$.get(z);Ir(q,"Expected fetch controller: "+z),q.abort(),$.delete(z)}function Xt(z){for(let q of z){let ae=wa(q),ce=lu(ae.data);I.fetchers.set(q,ce)}}function $t(){let z=[],q=!1;for(let ae of Ce){let ce=I.fetchers.get(ae);Ir(ce,"Expected fetcher: "+ae),ce.state==="loading"&&(Ce.delete(ae),z.push(ae),q=!0)}return Xt(z),q}function Rr(z){let q=[];for(let[ae,ce]of ue)if(ce<z){let $e=I.fetchers.get(ae);Ir($e,"Expected fetcher: "+ae),$e.state==="loading"&&(St(ae),ue.delete(ae),q.push(ae))}return Xt(q),q.length>0}function _r(z,q){let ae=I.blockers.get(z)||Mf;return yt.get(z)!==q&&yt.set(z,q),ae}function Xr(z){I.blockers.delete(z),yt.delete(z)}function O(z,q){let ae=I.blockers.get(z)||Mf;Ir(ae.state==="unblocked"&&q.state==="blocked"||ae.state==="blocked"&&q.state==="blocked"||ae.state==="blocked"&&q.state==="proceeding"||ae.state==="blocked"&&q.state==="unblocked"||ae.state==="proceeding"&&q.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+q.state);let ce=new Map(I.blockers);ce.set(z,q),Te({blockers:ce})}function te(z){let{currentLocation:q,nextLocation:ae,historyAction:ce}=z;if(yt.size===0)return;yt.size>1&&Ns(!1,"A router only supports one blocker at a time");let $e=Array.from(yt.entries()),[Ue,L]=$e[$e.length-1],Y=I.blockers.get(Ue);if(!(Y&&Y.state==="proceeding")&&L({currentLocation:q,nextLocation:ae,historyAction:ce}))return Ue}function A(z){let q=Ea(404,{pathname:z}),ae=h||c,{matches:ce,route:$e}=Kg(ae);return K(),{notFoundMatches:ce,route:$e,error:q}}function F(z,q){return{boundaryId:id(q.partialMatches).route.id,error:Ea(400,{type:"route-discovery",pathname:z,message:q.error!=null&&"message"in q.error?q.error:String(q.error)})}}function K(z){let q=[];return Qe.forEach((ae,ce)=>{(!z||z(ce))&&(ae.cancel(),q.push(ce),Qe.delete(ce))}),q}function he(z,q,ae){if(R=z,M=q,N=ae||null,!G&&I.navigation===$g){G=!0;let ce=ze(I.location,I.matches);ce!=null&&Te({restoreScrollPosition:ce})}return()=>{R=null,M=null,N=null}}function ie(z,q){return N&&N(z,q.map(ce=>M4(ce,I.loaderData)))||z.key}function Me(z,q){if(R&&M){let ae=ie(z,q);R[ae]=M()}}function ze(z,q){if(R){let ae=ie(z,q),ce=R[ae];if(typeof ce=="number")return ce}return null}function Fe(z,q,ae){if(b)if(z){let ce=z[z.length-1].route;if(ce.path&&(ce.path==="*"||ce.path.endsWith("/*")))return{active:!0,matches:Yg(q,ae,p,!0)}}else return{active:!0,matches:Yg(q,ae,p,!0)||[]};return{active:!1,matches:null}}function Ke(z,q,ae){return Or(this,null,function*(){let ce=z,$e=ce.length>0?ce[ce.length-1].route:null;for(;;){let Ue=h==null,L=h||c;try{yield EW(b,q,ce,L,d,s,Ht,ae)}catch(We){return{type:"error",error:We,partialMatches:ce}}finally{Ue&&(c=[...c])}if(ae.aborted)return{type:"aborted"};let Y=hc(L,q,p),me=!1;if(Y){let We=Y[Y.length-1].route;if(We.index)return{type:"success",matches:Y};if(We.path&&We.path.length>0)if(We.path==="*")me=!0;else return{type:"success",matches:Y}}let Ee=Yg(L,q,p,!0);if(!Ee||ce.map(We=>We.route.id).join("-")===Ee.map(We=>We.route.id).join("-"))return{type:"success",matches:me?Y:null};if(ce=Ee,$e=ce[ce.length-1].route,$e.path==="*")return{type:"success",matches:ce}}})}function Ne(z){d={},h=sd(z,s,void 0,d)}function tt(z,q){let ae=h==null;Z4(z,q,h||c,d,s),ae&&(c=[...c],Te({}))}return J={get basename(){return p},get future(){return y},get state(){return I},get routes(){return c},get window(){return a},initialize:kt,subscribe:it,enableScrollRestoration:he,navigate:Ut,fetch:Wr,revalidate:Qt,createHref:z=>r.history.createHref(z),encodeLocation:z=>r.history.encodeLocation(z),getFetcher:wa,deleteFetcher:ut,dispose:vt,getBlocker:_r,deleteBlocker:Xr,patchRoutes:tt,_internalFetchControllers:$,_internalActiveDeferreds:Qe,_internalSetRoutes:Ne},J}var X4=Symbol("deferred");function xW(r,a){Ir(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;s=R=>({hasErrorBoundary:w(R)})}else s=G4;let d=Fr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=sd(r,s,void 0,o);function h(w,R){return Or(this,null,function*(){let{requestContext:N,skipLoaderErrorBubbling:M,unstable_dataStrategy:G}=R===void 0?{}:R,P=new URL(w.url),U=w.method,H=mc("",Os(P),null,"default"),J=hc(c,H,l);if(!y2(U)&&U!=="HEAD"){let re=Ea(405,{method:U}),{matches:ge,route:ne}=Kg(c);return{basename:l,location:H,matches:ge,loaderData:{},actionData:null,errors:{[ne.id]:re},statusCode:re.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!J){let re=Ea(404,{pathname:H.pathname}),{matches:ge,route:ne}=Kg(c);return{basename:l,location:H,matches:ge,loaderData:{},actionData:null,errors:{[ne.id]:re},statusCode:re.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let I=yield v(w,H,J,N,G||null,M===!0,null);return su(I)?I:Fr({location:H,basename:l},I)})}function p(w,R){return Or(this,null,function*(){let{routeId:N,requestContext:M,unstable_dataStrategy:G}=R===void 0?{}:R,P=new URL(w.url),U=w.method,H=mc("",Os(P),null,"default"),J=hc(c,H,l);if(!y2(U)&&U!=="HEAD"&&U!=="OPTIONS")throw Ea(405,{method:U});if(!J)throw Ea(404,{pathname:H.pathname});let I=N?J.find(ke=>ke.route.id===N):ld(J,H);if(N&&!I)throw Ea(403,{pathname:H.pathname,routeId:N});if(!I)throw Ea(404,{pathname:H.pathname});let re=yield v(w,H,J,M,G||null,!1,I);if(su(re))return re;let ge=re.errors?Object.values(re.errors)[0]:void 0;if(ge!==void 0)throw ge;if(re.actionData)return Object.values(re.actionData)[0];if(re.loaderData){var ne;let ke=Object.values(re.loaderData)[0];return(ne=re.activeDeferreds)!=null&&ne[I.route.id]&&(ke[X4]=re.activeDeferreds[I.route.id]),ke}})}function v(w,R,N,M,G,P,U){return Or(this,null,function*(){Ir(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Al(w.method.toLowerCase()))return yield b(w,N,U||ld(N,R),M,G,P,U!=null);let H=yield y(w,N,M,G,P,U);return su(H)?H:Fr({},H,{actionData:null,actionHeaders:{}})}catch(H){if(BW(H)&&su(H.result)){if(H.type===$r.error)throw H.result;return H.result}if(NW(H))return H;throw H}})}function b(w,R,N,M,G,P,U){return Or(this,null,function*(){let H;if(!N.route.action&&!N.route.lazy){let re=Ea(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:N.route.id});if(U)throw re;H={type:$r.error,error:re}}else H=(yield x("action",w,[N],R,U,M,G))[0],w.signal.aborted&&C4(w,U,d);if(uu(H))throw new Response(null,{status:H.response.status,headers:{Location:H.response.headers.get("Location")}});if(cu(H)){let re=Ea(400,{type:"defer-action"});if(U)throw re;H={type:$r.error,error:re}}if(U){if(Mn(H))throw H.error;return{matches:[N],loaderData:{},actionData:{[N.route.id]:H.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let J=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(H)){let re=P?N:id(R,N.route.id),ge=yield y(J,R,M,G,P,null,[re.route.id,H]);return Fr({},ge,{statusCode:jf(H.error)?H.error.status:H.statusCode!=null?H.statusCode:500,actionData:null,actionHeaders:Fr({},H.headers?{[N.route.id]:H.headers}:{})})}let I=yield y(J,R,M,G,P,null);return Fr({},I,{actionData:{[N.route.id]:H.data}},H.statusCode?{statusCode:H.statusCode}:{},{actionHeaders:H.headers?{[N.route.id]:H.headers}:{}})})}function y(w,R,N,M,G,P,U){return Or(this,null,function*(){let H=P!=null;if(H&&!(P!=null&&P.route.loader)&&!(P!=null&&P.route.lazy))throw Ea(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:P==null?void 0:P.route.id});let I=(P?[P]:U&&Mn(U[1])?Q4(R,U[0]):R).filter(xe=>xe.route.loader||xe.route.lazy);if(I.length===0)return{matches:R,loaderData:R.reduce((xe,ye)=>Object.assign(xe,{[ye.route.id]:null}),{}),errors:U&&Mn(U[1])?{[U[0]]:U[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let re=yield x("loader",w,I,R,H,N,M);w.signal.aborted&&C4(w,H,d);let ge=new Map,ne=nR(R,I,re,U,ge,G),ke=new Set(I.map(xe=>xe.route.id));return R.forEach(xe=>{ke.has(xe.route.id)||(ne.loaderData[xe.route.id]=null)}),Fr({},ne,{matches:R,activeDeferreds:ge.size>0?Object.fromEntries(ge.entries()):null})})}function x(w,R,N,M,G,P,U){return Or(this,null,function*(){let H=yield tR(U||eR,w,R,N,M,o,s,P);return yield Promise.all(H.map((J,I)=>{if(iR(J)){let re=J.result;throw aR(re,R,N[I].route.id,M,l,d.v7_relativeSplatPath)}if(su(J.result)&&G)throw J;return rR(J)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function kW(r,a,o){return Fr({},a,{statusCode:jf(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function C4(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function TW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function g2(r,a,o,l,s,d,c,h){let p,v;if(c){p=[];for(let y of a)if(p.push(y),y.route.id===c){v=y;break}}else p=a,v=a[a.length-1];let b=W4(s||".",V4(p,d),Zh(r.pathname,o)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&v&&v.route.index&&!C2(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(b.pathname=b.pathname==="/"?o:zf([o,b.pathname])),Os(b)}function x4(r,a,o,l){if(!l||!TW(l))return{path:o};if(l.formMethod&&!y2(l.formMethod))return{path:o,error:Ea(405,{method:l.formMethod})};let s=()=>({path:o,error:Ea(400,{type:"invalid-body"})}),d=l.formMethod||"get",c=r?d.toUpperCase():d.toLowerCase(),h=oR(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Al(c))return s();let x=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,R)=>{let[N,M]=R;return""+w+N+"="+M+`
|
|
144
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var S=IT(e,Iv,null,n,i,u,f);Ev(S.current,e);var C=e.nodeType===Ja?e.parentNode:e;return Jp(C),new i2(S)}function jg(e){this._internalRoot=e}function vV(e){e&&TM(e)}jg.prototype.unstable_scheduleHydration=vV;function gV(e,t,n){if(!Hg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");a4(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,u=n!=null&&n.hydratedSources||null,f=!1,g=!1,S="",C=r4;n!=null&&(n.unstable_strictMode===!0&&(f=!0),n.identifierPrefix!==void 0&&(S=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var D=PT(t,null,e,Iv,i,f,g,S,C);if(Ev(D.current,e),Jp(e),u)for(var B=0;B<u.length;B++){var Z=u[B];vj(D,Z)}return new jg(D)}function Hg(e){return!!(e&&(e.nodeType===Co||e.nodeType===Gs||e.nodeType===fb||!Se))}function $h(e){return!!(e&&(e.nodeType===Co||e.nodeType===Gs||e.nodeType===fb||e.nodeType===Ja&&e.nodeValue===" react-mount-point-unstable "))}function a4(e){e.nodeType===Co&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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."),ch(e)&&(e._reactRootContainer?c("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):c("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 _V=o.ReactCurrentOwner,n4;n4=function(e){if(e._reactRootContainer&&e.nodeType!==Ja){var t=zT(e._reactRootContainer.current);t&&t.parentNode!==e&&c("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 n=!!e._reactRootContainer,i=l2(e),u=!!(i&&qc(i));u&&!n&&c("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===Co&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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 l2(e){return e?e.nodeType===Gs?e.documentElement:e.firstChild:null}function o4(){}function bV(e,t,n,i,u){if(u){if(typeof i=="function"){var f=i;i=function(){var Q=Fg(g);f.call(Q)}}var g=PT(t,i,e,$c,null,!1,!1,"",o4);e._reactRootContainer=g,Ev(g.current,e);var S=e.nodeType===Ja?e.parentNode:e;return Jp(S),dc(),g}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var D=i;i=function(){var Q=Fg(B);D.call(Q)}}var B=IT(e,$c,null,!1,!1,"",o4);e._reactRootContainer=B,Ev(B.current,e);var Z=e.nodeType===Ja?e.parentNode:e;return Jp(Z),dc(function(){Yh(t,B,n,i)}),B}}function yV(e,t){e!==null&&typeof e!="function"&&c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ug(e,t,n,i,u){n4(n),yV(u===void 0?null:u,"render");var f=n._reactRootContainer,g;if(!f)g=bV(n,t,e,u,i);else{if(g=f,typeof u=="function"){var S=u;u=function(){var C=Fg(g);S.call(C)}}Yh(t,g,e,u)}return Fg(g)}var i4=!1;function SV(e){{i4||(i4=!0,c("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=_V.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||c("%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.",qr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Co?e:oV(e,"findDOMNode")}function wV(e,t,n){if(c("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"),!$h(t))throw new Error("Target container is not a DOM element.");{var i=ch(t)&&t._reactRootContainer===void 0;i&&c("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 Ug(null,e,t,!0,n)}function CV(e,t,n){if(c("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"),!$h(t))throw new Error("Target container is not a DOM element.");{var i=ch(t)&&t._reactRootContainer===void 0;i&&c("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 Ug(null,e,t,!1,n)}function xV(e,t,n,i){if(c("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"),!$h(n))throw new Error("Target container is not a DOM element.");if(e==null||!fP(e))throw new Error("parentComponent must be a valid React Component");return Ug(e,t,n,!1,i)}var l4=!1;function kV(e){if(l4||(l4=!0,c("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")),!$h(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ch(e)&&e._reactRootContainer===void 0;t&&c("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 n=l2(e),i=n&&!qc(n);i&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return dc(function(){Ug(null,null,e,!1,function(){e._reactRootContainer=null,t3(e)})}),!0}else{{var u=l2(e),f=!!(u&&qc(u)),g=e.nodeType===Co&&$h(e.parentNode)&&!!e.parentNode._reactRootContainer;f&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",g?"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}}vM(iV),_M(lV),bM(sV),yM(Yl),SM(pM),(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")&&c("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"),tP(wF),nP(z0,gU,dc);function TV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Hg(t))throw new Error("Target container is not a DOM element.");return nV(e,t,null,n)}function RV(e,t,n,i){return xV(e,t,n,i)}var s2={usingClientEntryPoint:!1,Events:[qc,uf,Dv,_C,bC,z0]};function EV(e,t){return s2.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),mV(e,t)}function DV(e,t,n){return s2.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),gV(e,t,n)}function AV(e){return hT()&&c("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."),dc(e)}var LV=hV({findFiberByHostInstance:Wu,bundleType:1,version:t2,rendererPackageName:"react-dom"});if(!LV&&Rt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var s4=window.location.protocol;/^(https?|file):$/.test(s4)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(s4==="file:"?`
|
|
145
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ko.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s2,Ko.createPortal=TV,Ko.createRoot=EV,Ko.findDOMNode=SV,Ko.flushSync=AV,Ko.hydrate=wV,Ko.hydrateRoot=DV,Ko.render=CV,Ko.unmountComponentAtNode=kV,Ko.unstable_batchedUpdates=z0,Ko.unstable_renderSubtreeIntoContainer=RV,Ko.version=t2,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var u2=qe((gG,_4)=>{"use strict";_4.exports=g4()});var b4=qe(f2=>{"use strict";var d2=u2();Xh=d2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,f2.createRoot=function(r,a){Xh.usingClientEntryPoint=!0;try{return d2.createRoot(r,a)}finally{Xh.usingClientEntryPoint=!1}},f2.hydrateRoot=function(r,a,o){Xh.usingClientEntryPoint=!0;try{return d2.hydrateRoot(r,a,o)}finally{Xh.usingClientEntryPoint=!1}};var Xh});var x2=qe(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});function Fr(){return Fr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Fr.apply(this,arguments)}var Fa=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),y4="popstate";function VV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,R)=>b(w,typeof w=="string"?null:w.state,R===0?"default":void 0));let d=p(o==null?s.length-1:o),c=Fa.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function v(){return s[d]}function b(w,R,N){R===void 0&&(R=null);let M=mc(s?v().pathname:"/",w,R,N);return Ns(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function y(w){return typeof w=="string"?w:Os(w)}return{get index(){return d},get action(){return c},get location(){return v()},createHref:y,createURL(w){return new URL(y(w),"http://localhost")},encodeLocation(w){let R=typeof w=="string"?ns(w):w;return{pathname:R.pathname||"",search:R.search||"",hash:R.hash||""}},push(w,R){c=Fa.Push;let N=b(w,R);d+=1,s.splice(d,s.length,N),l&&h&&h({action:c,location:N,delta:1})},replace(w,R){c=Fa.Replace;let N=b(w,R);s[d]=N,l&&h&&h({action:c,location:N,delta:0})},go(w){c=Fa.Pop;let R=p(d+w),N=s[R];d=R,h&&h({action:c,location:N,delta:w})},listen(w){return h=w,()=>{h=null}}}}function WV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:c,hash:h}=l.location;return mc("",{pathname:d,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Os(s)}return P4(a,o,null,r)}function qV(r){r===void 0&&(r={});function a(s,d){let{pathname:c="/",search:h="",hash:p=""}=ns(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),mc("",{pathname:c,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(s,d){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,v=p.indexOf("#");h=v===-1?p:p.slice(0,v)}return h+"#"+(typeof d=="string"?d:Os(d))}function l(s,d){Ns(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return P4(a,o,l,r)}function Ir(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ns(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function YV(){return Math.random().toString(36).substr(2,8)}function S4(r,a){return{usr:r.state,key:r.key,idx:a}}function mc(r,a,o,l){return o===void 0&&(o=null),Fr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?ns(a):a,{state:o,key:a&&a.key||l||YV()})}function Os(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function ns(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function P4(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,c=s.history,h=Fa.Pop,p=null,v=b();v==null&&(v=0,c.replaceState(Fr({},c.state,{idx:v}),""));function b(){return(c.state||{idx:null}).idx}function y(){h=Fa.Pop;let M=b(),G=M==null?null:M-v;v=M,p&&p({action:h,location:N.location,delta:G})}function x(M,G){h=Fa.Push;let P=mc(N.location,M,G);o&&o(P,M),v=b()+1;let U=S4(P,v),H=N.createHref(P);try{c.pushState(U,"",H)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;s.location.assign(H)}d&&p&&p({action:h,location:N.location,delta:1})}function w(M,G){h=Fa.Replace;let P=mc(N.location,M,G);o&&o(P,M),v=b();let U=S4(P,v),H=N.createHref(P);c.replaceState(U,"",H),d&&p&&p({action:h,location:N.location,delta:0})}function R(M){let G=s.location.origin!=="null"?s.location.origin:s.location.href,P=typeof M=="string"?M:Os(M);return P=P.replace(/ $/,"%20"),Ir(G,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,G)}let N={get action(){return h},get location(){return r(s,c)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(y4,y),p=M,()=>{s.removeEventListener(y4,y),p=null}},createHref(M){return a(s,M)},createURL:R,encodeLocation(M){let G=R(M);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:x,replace:w,go(M){return c.go(M)}};return N}var $r=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),$V=new Set(["lazy","caseSensitive","path","id","index","children"]);function GV(r){return r.index===!0}function sd(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,d)=>{let c=[...o,String(d)],h=typeof s.id=="string"?s.id:c.join("-");if(Ir(s.index!==!0||!s.children,"Cannot specify children on an index route"),Ir(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),GV(s)){let p=Fr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Fr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=sd(s.children,a,c,l)),p}})}function hc(r,a,o){return o===void 0&&(o="/"),Yg(r,a,o,!1)}function Yg(r,a,o,l){let s=typeof a=="string"?ns(a):a,d=Zh(s.pathname||"/",o);if(d==null)return null;let c=z4(r);KV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let v=j4(d);h=nW(c[p],v,l)}return h}function M4(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function z4(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(d,c,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:c,route:d};p.relativePath.startsWith("/")&&(Ir(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let v=zf([l,p.relativePath]),b=o.concat(p);d.children&&d.children.length>0&&(Ir(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+v+'".')),z4(d.children,a,b,v)),!(d.path==null&&!d.index)&&a.push({path:v,score:rW(v,d.index),routesMeta:b})};return r.forEach((d,c)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,c);else for(let p of F4(d.path))s(d,c,p)}),a}function F4(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),d=o.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let c=F4(l.join("/")),h=[];return h.push(...c.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function KV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:aW(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var XV=/^:[\w-]+$/,QV=3,JV=2,ZV=1,eW=10,tW=-2,w4=r=>r==="*";function rW(r,a){let o=r.split("/"),l=o.length;return o.some(w4)&&(l+=tW),a&&(l+=JV),o.filter(s=>!w4(s)).reduce((s,d)=>s+(XV.test(d)?QV:d===""?ZV:eW),l)}function aW(r,a){return r.length===a.length&&r.slice(0,-1).every((l,s)=>l===a[s])?r[r.length-1]-a[a.length-1]:0}function nW(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},d="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],v=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",y=m2({path:p.relativePath,caseSensitive:p.caseSensitive,end:v},b),x=p.route;if(!y&&v&&o&&!l[l.length-1].route.index&&(y=m2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!y)return null;Object.assign(s,y.params),c.push({params:s,pathname:zf([d,y.pathname]),pathnameBase:q4(zf([d,y.pathnameBase])),route:x}),y.pathnameBase!=="/"&&(d=zf([d,y.pathnameBase]))}return c}function oW(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ns(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),d=o.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let b=c.match(/^:([\w-]+)(\??)$/);if(b){let[,y,x]=b,w=a[y];return Ir(x==="?"||w!=null,'Missing ":'+y+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+d.join("/")}function m2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=iW(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let d=s[0],c=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((v,b,y)=>{let{paramName:x,isOptional:w}=b;if(x==="*"){let N=h[y]||"";c=d.slice(0,d.length-N.length).replace(/(.)\/+$/,"$1")}let R=h[y];return w&&!R?v[x]=void 0:v[x]=(R||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:c,pattern:r}}function iW(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ns(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function j4(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ns(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Zh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function H4(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?ns(r):r;return{pathname:o?o.startsWith("/")?o:lW(o,a):a,search:cW(l),hash:uW(s)}}function lW(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function p2(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function U4(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function V4(r,a){let o=U4(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function W4(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=ns(r):(s=Fr({},r),Ir(!s.pathname||!s.pathname.includes("?"),p2("?","pathname","search",s)),Ir(!s.pathname||!s.pathname.includes("#"),p2("#","pathname","hash",s)),Ir(!s.search||!s.search.includes("#"),p2("#","search","hash",s)));let d=r===""||s.pathname==="",c=d?"/":s.pathname,h;if(c==null)h=o;else{let y=a.length-1;if(!l&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),y-=1;s.pathname=x.join("/")}h=y>=0?a[y]:"/"}let p=H4(s,h),v=c&&c!=="/"&&c.endsWith("/"),b=(d||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(v||b)&&(p.pathname+="/"),p}function sW(r){return r===""||r.pathname===""?"/":typeof r=="string"?ns(r).pathname:r.pathname}var zf=r=>r.join("/").replace(/\/\/+/g,"/"),q4=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),cW=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,uW=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,dW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Fr({},l,{headers:s}))},v2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function fW(r,a){return new v2(r,typeof a=="number"?{status:a}:a)}var Jh=class extends Error{},Gg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Ir(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Jh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,c)=>{let[h,p]=c;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Jh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,o),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return Or(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Ir(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[l,s]=o;return Object.assign(a,{[l]:hW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function pW(r){return r instanceof Promise&&r._tracked===!0}function hW(r){if(!pW(r))return r;if(r._error)throw r._error;return r._data}var mW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new Gg(a,l)},S2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Fr({},l,{headers:s}))},vW=(r,a)=>{let o=S2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},gW=(r,a)=>{let o=S2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ff=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function jf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Y4=["post","put","patch","delete"],_W=new Set(Y4),bW=["get",...Y4],yW=new Set(bW),SW=new Set([301,302,303,307,308]),wW=new Set([307,308]),$g={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$4={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Mf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},w2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G4=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),K4="remix-router-transitions";function CW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!o;Ir(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let z=r.detectErrorBoundary;s=q=>({hasErrorBoundary:z(q)})}else s=G4;let d={},c=sd(r.routes,s,void 0,d),h,p=r.basename||"/",v=r.unstable_dataStrategy||eR,b=r.unstable_patchRoutesOnMiss,y=Fr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),x=null,w=new Set,R=null,N=null,M=null,G=r.hydrationData!=null,P=hc(c,r.history.location,p),U=null;if(P==null&&!b){let z=Ea(404,{pathname:r.history.location.pathname}),{matches:q,route:ae}=Kg(c);P=q,U={[ae.id]:z}}P&&!r.hydrationData&&Fe(P,c,r.history.location.pathname).active&&(P=null);let H;if(P)if(P.some(z=>z.route.lazy))H=!1;else if(!P.some(z=>z.route.loader))H=!0;else if(y.v7_partialHydration){let z=r.hydrationData?r.hydrationData.loaderData:null,q=r.hydrationData?r.hydrationData.errors:null,ae=ce=>ce.route.loader?typeof ce.route.loader=="function"&&ce.route.loader.hydrate===!0?!1:z&&z[ce.route.id]!==void 0||q&&q[ce.route.id]!==void 0:!0;if(q){let ce=P.findIndex($e=>q[$e.route.id]!==void 0);H=P.slice(0,ce+1).every(ae)}else H=P.every(ae)}else H=r.hydrationData!=null;else if(H=!1,P=[],y.v7_partialHydration){let z=Fe(null,c,r.history.location.pathname);z.active&&z.matches&&(P=z.matches)}let J,I={historyAction:r.history.action,location:r.history.location,matches:P,initialized:H,navigation:$g,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||U,fetchers:new Map,blockers:new Map},re=Fa.Pop,ge=!1,ne,ke=!1,xe=new Map,ye=null,V=!1,se=!1,pe=[],j=new Set,$=new Map,oe=0,ee=-1,ue=new Map,Ce=new Set,Se=new Map,Ie=new Map,Ge=new Set,Qe=new Map,yt=new Map,Ht=new Map,pt=!1;function kt(){if(x=r.history.listen(z=>{let{action:q,location:ae,delta:ce}=z;if(pt){pt=!1;return}Ns(yt.size===0||ce!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let $e=te({currentLocation:I.location,nextLocation:ae,historyAction:q});if($e&&ce!=null){pt=!0,r.history.go(ce*-1),O($e,{state:"blocked",location:ae,proceed(){O($e,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(ce)},reset(){let Ue=new Map(I.blockers);Ue.set($e,Mf),Te({blockers:Ue})}});return}return Yt(q,ae)}),o){PW(a,xe);let z=()=>MW(a,xe);a.addEventListener("pagehide",z),ye=()=>a.removeEventListener("pagehide",z)}return I.initialized||Yt(Fa.Pop,I.location,{initialHydration:!0}),J}function vt(){x&&x(),ye&&ye(),w.clear(),ne&&ne.abort(),I.fetchers.forEach((z,q)=>He(q)),I.blockers.forEach((z,q)=>Xr(q))}function it(z){return w.add(z),()=>w.delete(z)}function Te(z,q){q===void 0&&(q={}),I=Fr({},I,z);let ae=[],ce=[];y.v7_fetcherPersist&&I.fetchers.forEach(($e,Ue)=>{$e.state==="idle"&&(Ge.has(Ue)?ce.push(Ue):ae.push(Ue))}),[...w].forEach($e=>$e(I,{deletedFetchers:ce,unstable_viewTransitionOpts:q.viewTransitionOpts,unstable_flushSync:q.flushSync===!0})),y.v7_fetcherPersist&&(ae.forEach($e=>I.fetchers.delete($e)),ce.forEach($e=>He($e)))}function Rt(z,q,ae){var ce,$e;let{flushSync:Ue}=ae===void 0?{}:ae,L=I.actionData!=null&&I.navigation.formMethod!=null&&Al(I.navigation.formMethod)&&I.navigation.state==="loading"&&((ce=z.state)==null?void 0:ce._isRedirect)!==!0,Y;q.actionData?Object.keys(q.actionData).length>0?Y=q.actionData:Y=null:L?Y=I.actionData:Y=null;let me=q.loaderData?L4(I.loaderData,q.loaderData,q.matches||[],q.errors):I.loaderData,Ee=I.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((rt,Ze)=>Ee.set(Ze,Mf)));let We=ge===!0||I.navigation.formMethod!=null&&Al(I.navigation.formMethod)&&(($e=z.state)==null?void 0:$e._isRedirect)!==!0;h&&(c=h,h=void 0),V||re===Fa.Pop||(re===Fa.Push?r.history.push(z,z.state):re===Fa.Replace&&r.history.replace(z,z.state));let mt;if(re===Fa.Pop){let rt=xe.get(I.location.pathname);rt&&rt.has(z.pathname)?mt={currentLocation:I.location,nextLocation:z}:xe.has(z.pathname)&&(mt={currentLocation:z,nextLocation:I.location})}else if(ke){let rt=xe.get(I.location.pathname);rt?rt.add(z.pathname):(rt=new Set([z.pathname]),xe.set(I.location.pathname,rt)),mt={currentLocation:I.location,nextLocation:z}}Te(Fr({},q,{actionData:Y,loaderData:me,historyAction:re,location:z,initialized:!0,navigation:$g,revalidation:"idle",restoreScrollPosition:ze(z,q.matches||I.matches),preventScrollReset:We,blockers:Ee}),{viewTransitionOpts:mt,flushSync:Ue===!0}),re=Fa.Pop,ge=!1,ke=!1,V=!1,se=!1,pe=[]}function Ut(z,q){return Or(this,null,function*(){if(typeof z=="number"){r.history.go(z);return}let ae=g2(I.location,I.matches,p,y.v7_prependBasename,z,y.v7_relativeSplatPath,q==null?void 0:q.fromRouteId,q==null?void 0:q.relative),{path:ce,submission:$e,error:Ue}=x4(y.v7_normalizeFormMethod,!1,ae,q),L=I.location,Y=mc(I.location,ce,q&&q.state);Y=Fr({},Y,r.history.encodeLocation(Y));let me=q&&q.replace!=null?q.replace:void 0,Ee=Fa.Push;me===!0?Ee=Fa.Replace:me===!1||$e!=null&&Al($e.formMethod)&&$e.formAction===I.location.pathname+I.location.search&&(Ee=Fa.Replace);let We=q&&"preventScrollReset"in q?q.preventScrollReset===!0:void 0,mt=(q&&q.unstable_flushSync)===!0,rt=te({currentLocation:L,nextLocation:Y,historyAction:Ee});if(rt){O(rt,{state:"blocked",location:Y,proceed(){O(rt,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),Ut(z,q)},reset(){let Ze=new Map(I.blockers);Ze.set(rt,Mf),Te({blockers:Ze})}});return}return yield Yt(Ee,Y,{submission:$e,pendingError:Ue,preventScrollReset:We,replace:q&&q.replace,enableViewTransition:q&&q.unstable_viewTransition,flushSync:mt})})}function Qt(){if(mr(),Te({revalidation:"loading"}),I.navigation.state!=="submitting"){if(I.navigation.state==="idle"){Yt(I.historyAction,I.location,{startUninterruptedRevalidation:!0});return}Yt(re||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation})}}function Yt(z,q,ae){return Or(this,null,function*(){ne&&ne.abort(),ne=null,re=z,V=(ae&&ae.startUninterruptedRevalidation)===!0,Me(I.location,I.matches),ge=(ae&&ae.preventScrollReset)===!0,ke=(ae&&ae.enableViewTransition)===!0;let ce=h||c,$e=ae&&ae.overrideNavigation,Ue=hc(ce,q,p),L=(ae&&ae.flushSync)===!0,Y=Fe(Ue,ce,q.pathname);if(Y.active&&Y.matches&&(Ue=Y.matches),!Ue){let{error:Et,notFoundMatches:At,route:Gt}=A(q.pathname);Rt(q,{matches:At,loaderData:{},errors:{[Gt.id]:Et}},{flushSync:L});return}if(I.initialized&&!se&&AW(I.location,q)&&!(ae&&ae.submission&&Al(ae.submission.formMethod))){Rt(q,{matches:Ue},{flushSync:L});return}ne=new AbortController;let me=Pf(r.history,q,ne.signal,ae&&ae.submission),Ee;if(ae&&ae.pendingError)Ee=[id(Ue).route.id,{type:$r.error,error:ae.pendingError}];else if(ae&&ae.submission&&Al(ae.submission.formMethod)){let Et=yield lr(me,q,ae.submission,Ue,Y.active,{replace:ae.replace,flushSync:L});if(Et.shortCircuited)return;if(Et.pendingActionResult){let[At,Gt]=Et.pendingActionResult;if(Mn(Gt)&&jf(Gt.error)&&Gt.error.status===404){ne=null,Rt(q,{matches:Et.matches,loaderData:{},errors:{[At]:Gt.error}});return}}Ue=Et.matches||Ue,Ee=Et.pendingActionResult,$e=h2(q,ae.submission),L=!1,Y.active=!1,me=Pf(r.history,me.url,me.signal)}let{shortCircuited:We,matches:mt,loaderData:rt,errors:Ze}=yield pr(me,q,Ue,Y.active,$e,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,L,Ee);We||(ne=null,Rt(q,Fr({matches:mt||Ue},B4(Ee),{loaderData:rt,errors:Ze})))})}function lr(z,q,ae,ce,$e,Ue){return Or(this,null,function*(){Ue===void 0&&(Ue={}),mr();let L=OW(q,ae);if(Te({navigation:L},{flushSync:Ue.flushSync===!0}),$e){let Ee=yield Ke(ce,q.pathname,z.signal);if(Ee.type==="aborted")return{shortCircuited:!0};if(Ee.type==="error"){let{boundaryId:We,error:mt}=F(q.pathname,Ee);return{matches:Ee.partialMatches,pendingActionResult:[We,{type:$r.error,error:mt}]}}else if(Ee.matches)ce=Ee.matches;else{let{notFoundMatches:We,error:mt,route:rt}=A(q.pathname);return{matches:We,pendingActionResult:[rt.id,{type:$r.error,error:mt}]}}}let Y,me=ld(ce,q);if(!me.route.action&&!me.route.lazy)Y={type:$r.error,error:Ea(405,{method:z.method,pathname:q.pathname,routeId:me.route.id})};else if(Y=(yield Pr("action",z,[me],ce))[0],z.signal.aborted)return{shortCircuited:!0};if(uu(Y)){let Ee;return Ue&&Ue.replace!=null?Ee=Ue.replace:Ee=E4(Y.response.headers.get("Location"),new URL(z.url),p)===I.location.pathname+I.location.search,yield Tr(z,Y,{submission:ae,replace:Ee}),{shortCircuited:!0}}if(cu(Y))throw Ea(400,{type:"defer-action"});if(Mn(Y)){let Ee=id(ce,me.route.id);return(Ue&&Ue.replace)!==!0&&(re=Fa.Push),{matches:ce,pendingActionResult:[Ee.route.id,Y]}}return{matches:ce,pendingActionResult:[me.route.id,Y]}})}function pr(z,q,ae,ce,$e,Ue,L,Y,me,Ee,We){return Or(this,null,function*(){let mt=$e||h2(q,Ue),rt=Ue||L||I4(mt),Ze=!V&&(!y.v7_partialHydration||!me);if(ce){if(Ze){let sa=kr(We);Te(Fr({navigation:mt},sa!==void 0?{actionData:sa}:{}),{flushSync:Ee})}let ar=yield Ke(ae,q.pathname,z.signal);if(ar.type==="aborted")return{shortCircuited:!0};if(ar.type==="error"){let{boundaryId:sa,error:nn}=F(q.pathname,ar);return{matches:ar.partialMatches,loaderData:{},errors:{[sa]:nn}}}else if(ar.matches)ae=ar.matches;else{let{error:sa,notFoundMatches:nn,route:Jr}=A(q.pathname);return{matches:nn,loaderData:{},errors:{[Jr.id]:sa}}}}let Et=h||c,[At,Gt]=k4(r.history,I,ae,rt,q,y.v7_partialHydration&&me===!0,y.v7_skipActionErrorRevalidation,se,pe,j,Ge,Se,Ce,Et,p,We);if(K(ar=>!(ae&&ae.some(sa=>sa.route.id===ar))||At&&At.some(sa=>sa.route.id===ar)),ee=++oe,At.length===0&&Gt.length===0){let ar=$t();return Rt(q,Fr({matches:ae,loaderData:{},errors:We&&Mn(We[1])?{[We[0]]:We[1].error}:null},B4(We),ar?{fetchers:new Map(I.fetchers)}:{}),{flushSync:Ee}),{shortCircuited:!0}}if(Ze){let ar={};if(!ce){ar.navigation=mt;let sa=kr(We);sa!==void 0&&(ar.actionData=sa)}Gt.length>0&&(ar.fetchers=la(Gt)),Te(ar,{flushSync:Ee})}Gt.forEach(ar=>{$.has(ar.key)&&St(ar.key),ar.controller&&$.set(ar.key,ar.controller)});let Qr=()=>Gt.forEach(ar=>St(ar.key));ne&&ne.signal.addEventListener("abort",Qr);let{loaderResults:Wa,fetcherResults:fa}=yield ba(I.matches,ae,At,Gt,z);if(z.signal.aborted)return{shortCircuited:!0};ne&&ne.signal.removeEventListener("abort",Qr),Gt.forEach(ar=>$.delete(ar.key));let pa=N4([...Wa,...fa]);if(pa){if(pa.idx>=At.length){let ar=Gt[pa.idx-At.length].key;Ce.add(ar)}return yield Tr(z,pa.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Qa,errors:It}=A4(I,ae,At,Wa,We,Gt,fa,Qe);Qe.forEach((ar,sa)=>{ar.subscribe(nn=>{(nn||ar.done)&&Qe.delete(sa)})}),y.v7_partialHydration&&me&&I.errors&&Object.entries(I.errors).filter(ar=>{let[sa]=ar;return!At.some(nn=>nn.route.id===sa)}).forEach(ar=>{let[sa,nn]=ar;It=Object.assign(It||{},{[sa]:nn})});let Jn=$t(),_s=Rr(ee),bs=Jn||_s||Gt.length>0;return Fr({matches:ae,loaderData:Qa,errors:It},bs?{fetchers:new Map(I.fetchers)}:{})})}function kr(z){if(z&&!Mn(z[1]))return{[z[0]]:z[1].data};if(I.actionData)return Object.keys(I.actionData).length===0?null:I.actionData}function la(z){return z.forEach(q=>{let ae=I.fetchers.get(q.key),ce=Qh(void 0,ae?ae.data:void 0);I.fetchers.set(q.key,ce)}),new Map(I.fetchers)}function Wr(z,q,ae,ce){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");$.has(z)&&St(z);let $e=(ce&&ce.unstable_flushSync)===!0,Ue=h||c,L=g2(I.location,I.matches,p,y.v7_prependBasename,ae,y.v7_relativeSplatPath,q,ce==null?void 0:ce.relative),Y=hc(Ue,L,p),me=Fe(Y,Ue,L);if(me.active&&me.matches&&(Y=me.matches),!Y){Mr(z,q,Ea(404,{pathname:L}),{flushSync:$e});return}let{path:Ee,submission:We,error:mt}=x4(y.v7_normalizeFormMethod,!0,L,ce);if(mt){Mr(z,q,mt,{flushSync:$e});return}let rt=ld(Y,Ee);if(ge=(ce&&ce.preventScrollReset)===!0,We&&Al(We.formMethod)){Kr(z,q,Ee,rt,Y,me.active,$e,We);return}Se.set(z,{routeId:q,path:Ee}),hr(z,q,Ee,rt,Y,me.active,$e,We)}function Kr(z,q,ae,ce,$e,Ue,L,Y){return Or(this,null,function*(){mr(),Se.delete(z);function me(Jr){if(!Jr.route.action&&!Jr.route.lazy){let Zn=Ea(405,{method:Y.formMethod,pathname:ae,routeId:q});return Mr(z,q,Zn,{flushSync:L}),!0}return!1}if(!Ue&&me(ce))return;let Ee=I.fetchers.get(z);Lr(z,IW(Y,Ee),{flushSync:L});let We=new AbortController,mt=Pf(r.history,ae,We.signal,Y);if(Ue){let Jr=yield Ke($e,ae,mt.signal);if(Jr.type==="aborted")return;if(Jr.type==="error"){let{error:Zn}=F(ae,Jr);Mr(z,q,Zn,{flushSync:L});return}else if(Jr.matches){if($e=Jr.matches,ce=ld($e,ae),me(ce))return}else{Mr(z,q,Ea(404,{pathname:ae}),{flushSync:L});return}}$.set(z,We);let rt=oe,Et=(yield Pr("action",mt,[ce],$e))[0];if(mt.signal.aborted){$.get(z)===We&&$.delete(z);return}if(y.v7_fetcherPersist&&Ge.has(z)){if(uu(Et)||Mn(Et)){Lr(z,lu(void 0));return}}else{if(uu(Et))if($.delete(z),ee>rt){Lr(z,lu(void 0));return}else return Ce.add(z),Lr(z,Qh(Y)),Tr(mt,Et,{fetcherSubmission:Y});if(Mn(Et)){Mr(z,q,Et.error);return}}if(cu(Et))throw Ea(400,{type:"defer-action"});let At=I.navigation.location||I.location,Gt=Pf(r.history,At,We.signal),Qr=h||c,Wa=I.navigation.state!=="idle"?hc(Qr,I.navigation.location,p):I.matches;Ir(Wa,"Didn't find any matches after fetcher action");let fa=++oe;ue.set(z,fa);let pa=Qh(Y,Et.data);I.fetchers.set(z,pa);let[Qa,It]=k4(r.history,I,Wa,Y,At,!1,y.v7_skipActionErrorRevalidation,se,pe,j,Ge,Se,Ce,Qr,p,[ce.route.id,Et]);It.filter(Jr=>Jr.key!==z).forEach(Jr=>{let Zn=Jr.key,Eu=I.fetchers.get(Zn),fp=Qh(void 0,Eu?Eu.data:void 0);I.fetchers.set(Zn,fp),$.has(Zn)&&St(Zn),Jr.controller&&$.set(Zn,Jr.controller)}),Te({fetchers:new Map(I.fetchers)});let Jn=()=>It.forEach(Jr=>St(Jr.key));We.signal.addEventListener("abort",Jn);let{loaderResults:_s,fetcherResults:bs}=yield ba(I.matches,Wa,Qa,It,Gt);if(We.signal.aborted)return;We.signal.removeEventListener("abort",Jn),ue.delete(z),$.delete(z),It.forEach(Jr=>$.delete(Jr.key));let ar=N4([..._s,...bs]);if(ar){if(ar.idx>=Qa.length){let Jr=It[ar.idx-Qa.length].key;Ce.add(Jr)}return Tr(Gt,ar.result)}let{loaderData:sa,errors:nn}=A4(I,I.matches,Qa,_s,void 0,It,bs,Qe);if(I.fetchers.has(z)){let Jr=lu(Et.data);I.fetchers.set(z,Jr)}Rr(fa),I.navigation.state==="loading"&&fa>ee?(Ir(re,"Expected pending action"),ne&&ne.abort(),Rt(I.navigation.location,{matches:Wa,loaderData:sa,errors:nn,fetchers:new Map(I.fetchers)})):(Te({errors:nn,loaderData:L4(I.loaderData,sa,Wa,nn),fetchers:new Map(I.fetchers)}),se=!1)})}function hr(z,q,ae,ce,$e,Ue,L,Y){return Or(this,null,function*(){let me=I.fetchers.get(z);Lr(z,Qh(Y,me?me.data:void 0),{flushSync:L});let Ee=new AbortController,We=Pf(r.history,ae,Ee.signal);if(Ue){let Et=yield Ke($e,ae,We.signal);if(Et.type==="aborted")return;if(Et.type==="error"){let{error:At}=F(ae,Et);Mr(z,q,At,{flushSync:L});return}else if(Et.matches)$e=Et.matches,ce=ld($e,ae);else{Mr(z,q,Ea(404,{pathname:ae}),{flushSync:L});return}}$.set(z,Ee);let mt=oe,Ze=(yield Pr("loader",We,[ce],$e))[0];if(cu(Ze)&&(Ze=(yield sR(Ze,We.signal,!0))||Ze),$.get(z)===Ee&&$.delete(z),!We.signal.aborted){if(Ge.has(z)){Lr(z,lu(void 0));return}if(uu(Ze))if(ee>mt){Lr(z,lu(void 0));return}else{Ce.add(z),yield Tr(We,Ze);return}if(Mn(Ze)){Mr(z,q,Ze.error);return}Ir(!cu(Ze),"Unhandled fetcher deferred data"),Lr(z,lu(Ze.data))}})}function Tr(z,q,ae){return Or(this,null,function*(){let{submission:ce,fetcherSubmission:$e,replace:Ue}=ae===void 0?{}:ae;q.response.headers.has("X-Remix-Revalidate")&&(se=!0);let L=q.response.headers.get("Location");Ir(L,"Expected a Location header on the redirect Response"),L=E4(L,new URL(z.url),p);let Y=mc(I.location,L,{_isRedirect:!0});if(o){let Ze=!1;if(q.response.headers.has("X-Remix-Reload-Document"))Ze=!0;else if(w2.test(L)){let Et=r.history.createURL(L);Ze=Et.origin!==a.location.origin||Zh(Et.pathname,p)==null}if(Ze){Ue?a.location.replace(L):a.location.assign(L);return}}ne=null;let me=Ue===!0||q.response.headers.has("X-Remix-Replace")?Fa.Replace:Fa.Push,{formMethod:Ee,formAction:We,formEncType:mt}=I.navigation;!ce&&!$e&&Ee&&We&&mt&&(ce=I4(I.navigation));let rt=ce||$e;if(wW.has(q.response.status)&&rt&&Al(rt.formMethod))yield Yt(me,Y,{submission:Fr({},rt,{formAction:L}),preventScrollReset:ge});else{let Ze=h2(Y,ce);yield Yt(me,Y,{overrideNavigation:Ze,fetcherSubmission:$e,preventScrollReset:ge})}})}function Pr(z,q,ae,ce){return Or(this,null,function*(){try{let $e=yield tR(v,z,q,ae,ce,d,s);return yield Promise.all($e.map((Ue,L)=>{if(iR(Ue)){let Y=Ue.result;return{type:$r.redirect,response:aR(Y,q,ae[L].route.id,ce,p,y.v7_relativeSplatPath)}}return rR(Ue)}))}catch($e){return ae.map(()=>({type:$r.error,error:$e}))}})}function ba(z,q,ae,ce,$e){return Or(this,null,function*(){let[Ue,...L]=yield Promise.all([ae.length?Pr("loader",$e,ae,q):[],...ce.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let me=Pf(r.history,Y.path,Y.controller.signal);return Pr("loader",me,[Y.match],Y.matches).then(Ee=>Ee[0])}else return Promise.resolve({type:$r.error,error:Ea(404,{pathname:Y.path})})})]);return yield Promise.all([O4(z,ae,Ue,Ue.map(()=>$e.signal),!1,I.loaderData),O4(z,ce.map(Y=>Y.match),L,ce.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:Ue,fetcherResults:L}})}function mr(){se=!0,pe.push(...K()),Se.forEach((z,q)=>{$.has(q)&&(j.add(q),St(q))})}function Lr(z,q,ae){ae===void 0&&(ae={}),I.fetchers.set(z,q),Te({fetchers:new Map(I.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(z,q,ae,ce){ce===void 0&&(ce={});let $e=id(I.matches,q);He(z),Te({errors:{[$e.route.id]:ae},fetchers:new Map(I.fetchers)},{flushSync:(ce&&ce.flushSync)===!0})}function wa(z){return y.v7_fetcherPersist&&(Ie.set(z,(Ie.get(z)||0)+1),Ge.has(z)&&Ge.delete(z)),I.fetchers.get(z)||$4}function He(z){let q=I.fetchers.get(z);$.has(z)&&!(q&&q.state==="loading"&&ue.has(z))&&St(z),Se.delete(z),ue.delete(z),Ce.delete(z),Ge.delete(z),j.delete(z),I.fetchers.delete(z)}function ut(z){if(y.v7_fetcherPersist){let q=(Ie.get(z)||0)-1;q<=0?(Ie.delete(z),Ge.add(z)):Ie.set(z,q)}else He(z);Te({fetchers:new Map(I.fetchers)})}function St(z){let q=$.get(z);Ir(q,"Expected fetch controller: "+z),q.abort(),$.delete(z)}function Xt(z){for(let q of z){let ae=wa(q),ce=lu(ae.data);I.fetchers.set(q,ce)}}function $t(){let z=[],q=!1;for(let ae of Ce){let ce=I.fetchers.get(ae);Ir(ce,"Expected fetcher: "+ae),ce.state==="loading"&&(Ce.delete(ae),z.push(ae),q=!0)}return Xt(z),q}function Rr(z){let q=[];for(let[ae,ce]of ue)if(ce<z){let $e=I.fetchers.get(ae);Ir($e,"Expected fetcher: "+ae),$e.state==="loading"&&(St(ae),ue.delete(ae),q.push(ae))}return Xt(q),q.length>0}function _r(z,q){let ae=I.blockers.get(z)||Mf;return yt.get(z)!==q&&yt.set(z,q),ae}function Xr(z){I.blockers.delete(z),yt.delete(z)}function O(z,q){let ae=I.blockers.get(z)||Mf;Ir(ae.state==="unblocked"&&q.state==="blocked"||ae.state==="blocked"&&q.state==="blocked"||ae.state==="blocked"&&q.state==="proceeding"||ae.state==="blocked"&&q.state==="unblocked"||ae.state==="proceeding"&&q.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+q.state);let ce=new Map(I.blockers);ce.set(z,q),Te({blockers:ce})}function te(z){let{currentLocation:q,nextLocation:ae,historyAction:ce}=z;if(yt.size===0)return;yt.size>1&&Ns(!1,"A router only supports one blocker at a time");let $e=Array.from(yt.entries()),[Ue,L]=$e[$e.length-1],Y=I.blockers.get(Ue);if(!(Y&&Y.state==="proceeding")&&L({currentLocation:q,nextLocation:ae,historyAction:ce}))return Ue}function A(z){let q=Ea(404,{pathname:z}),ae=h||c,{matches:ce,route:$e}=Kg(ae);return K(),{notFoundMatches:ce,route:$e,error:q}}function F(z,q){return{boundaryId:id(q.partialMatches).route.id,error:Ea(400,{type:"route-discovery",pathname:z,message:q.error!=null&&"message"in q.error?q.error:String(q.error)})}}function K(z){let q=[];return Qe.forEach((ae,ce)=>{(!z||z(ce))&&(ae.cancel(),q.push(ce),Qe.delete(ce))}),q}function he(z,q,ae){if(R=z,M=q,N=ae||null,!G&&I.navigation===$g){G=!0;let ce=ze(I.location,I.matches);ce!=null&&Te({restoreScrollPosition:ce})}return()=>{R=null,M=null,N=null}}function ie(z,q){return N&&N(z,q.map(ce=>M4(ce,I.loaderData)))||z.key}function Me(z,q){if(R&&M){let ae=ie(z,q);R[ae]=M()}}function ze(z,q){if(R){let ae=ie(z,q),ce=R[ae];if(typeof ce=="number")return ce}return null}function Fe(z,q,ae){if(b)if(z){let ce=z[z.length-1].route;if(ce.path&&(ce.path==="*"||ce.path.endsWith("/*")))return{active:!0,matches:Yg(q,ae,p,!0)}}else return{active:!0,matches:Yg(q,ae,p,!0)||[]};return{active:!1,matches:null}}function Ke(z,q,ae){return Or(this,null,function*(){let ce=z,$e=ce.length>0?ce[ce.length-1].route:null;for(;;){let Ue=h==null,L=h||c;try{yield EW(b,q,ce,L,d,s,Ht,ae)}catch(We){return{type:"error",error:We,partialMatches:ce}}finally{Ue&&(c=[...c])}if(ae.aborted)return{type:"aborted"};let Y=hc(L,q,p),me=!1;if(Y){let We=Y[Y.length-1].route;if(We.index)return{type:"success",matches:Y};if(We.path&&We.path.length>0)if(We.path==="*")me=!0;else return{type:"success",matches:Y}}let Ee=Yg(L,q,p,!0);if(!Ee||ce.map(We=>We.route.id).join("-")===Ee.map(We=>We.route.id).join("-"))return{type:"success",matches:me?Y:null};if(ce=Ee,$e=ce[ce.length-1].route,$e.path==="*")return{type:"success",matches:ce}}})}function Ne(z){d={},h=sd(z,s,void 0,d)}function tt(z,q){let ae=h==null;Z4(z,q,h||c,d,s),ae&&(c=[...c],Te({}))}return J={get basename(){return p},get future(){return y},get state(){return I},get routes(){return c},get window(){return a},initialize:kt,subscribe:it,enableScrollRestoration:he,navigate:Ut,fetch:Wr,revalidate:Qt,createHref:z=>r.history.createHref(z),encodeLocation:z=>r.history.encodeLocation(z),getFetcher:wa,deleteFetcher:ut,dispose:vt,getBlocker:_r,deleteBlocker:Xr,patchRoutes:tt,_internalFetchControllers:$,_internalActiveDeferreds:Qe,_internalSetRoutes:Ne},J}var X4=Symbol("deferred");function xW(r,a){Ir(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;s=R=>({hasErrorBoundary:w(R)})}else s=G4;let d=Fr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=sd(r,s,void 0,o);function h(w,R){return Or(this,null,function*(){let{requestContext:N,skipLoaderErrorBubbling:M,unstable_dataStrategy:G}=R===void 0?{}:R,P=new URL(w.url),U=w.method,H=mc("",Os(P),null,"default"),J=hc(c,H,l);if(!y2(U)&&U!=="HEAD"){let re=Ea(405,{method:U}),{matches:ge,route:ne}=Kg(c);return{basename:l,location:H,matches:ge,loaderData:{},actionData:null,errors:{[ne.id]:re},statusCode:re.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!J){let re=Ea(404,{pathname:H.pathname}),{matches:ge,route:ne}=Kg(c);return{basename:l,location:H,matches:ge,loaderData:{},actionData:null,errors:{[ne.id]:re},statusCode:re.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let I=yield v(w,H,J,N,G||null,M===!0,null);return su(I)?I:Fr({location:H,basename:l},I)})}function p(w,R){return Or(this,null,function*(){let{routeId:N,requestContext:M,unstable_dataStrategy:G}=R===void 0?{}:R,P=new URL(w.url),U=w.method,H=mc("",Os(P),null,"default"),J=hc(c,H,l);if(!y2(U)&&U!=="HEAD"&&U!=="OPTIONS")throw Ea(405,{method:U});if(!J)throw Ea(404,{pathname:H.pathname});let I=N?J.find(ke=>ke.route.id===N):ld(J,H);if(N&&!I)throw Ea(403,{pathname:H.pathname,routeId:N});if(!I)throw Ea(404,{pathname:H.pathname});let re=yield v(w,H,J,M,G||null,!1,I);if(su(re))return re;let ge=re.errors?Object.values(re.errors)[0]:void 0;if(ge!==void 0)throw ge;if(re.actionData)return Object.values(re.actionData)[0];if(re.loaderData){var ne;let ke=Object.values(re.loaderData)[0];return(ne=re.activeDeferreds)!=null&&ne[I.route.id]&&(ke[X4]=re.activeDeferreds[I.route.id]),ke}})}function v(w,R,N,M,G,P,U){return Or(this,null,function*(){Ir(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Al(w.method.toLowerCase()))return yield b(w,N,U||ld(N,R),M,G,P,U!=null);let H=yield y(w,N,M,G,P,U);return su(H)?H:Fr({},H,{actionData:null,actionHeaders:{}})}catch(H){if(BW(H)&&su(H.result)){if(H.type===$r.error)throw H.result;return H.result}if(NW(H))return H;throw H}})}function b(w,R,N,M,G,P,U){return Or(this,null,function*(){let H;if(!N.route.action&&!N.route.lazy){let re=Ea(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:N.route.id});if(U)throw re;H={type:$r.error,error:re}}else H=(yield x("action",w,[N],R,U,M,G))[0],w.signal.aborted&&C4(w,U,d);if(uu(H))throw new Response(null,{status:H.response.status,headers:{Location:H.response.headers.get("Location")}});if(cu(H)){let re=Ea(400,{type:"defer-action"});if(U)throw re;H={type:$r.error,error:re}}if(U){if(Mn(H))throw H.error;return{matches:[N],loaderData:{},actionData:{[N.route.id]:H.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let J=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(H)){let re=P?N:id(R,N.route.id),ge=yield y(J,R,M,G,P,null,[re.route.id,H]);return Fr({},ge,{statusCode:jf(H.error)?H.error.status:H.statusCode!=null?H.statusCode:500,actionData:null,actionHeaders:Fr({},H.headers?{[N.route.id]:H.headers}:{})})}let I=yield y(J,R,M,G,P,null);return Fr({},I,{actionData:{[N.route.id]:H.data}},H.statusCode?{statusCode:H.statusCode}:{},{actionHeaders:H.headers?{[N.route.id]:H.headers}:{}})})}function y(w,R,N,M,G,P,U){return Or(this,null,function*(){let H=P!=null;if(H&&!(P!=null&&P.route.loader)&&!(P!=null&&P.route.lazy))throw Ea(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:P==null?void 0:P.route.id});let I=(P?[P]:U&&Mn(U[1])?Q4(R,U[0]):R).filter(xe=>xe.route.loader||xe.route.lazy);if(I.length===0)return{matches:R,loaderData:R.reduce((xe,ye)=>Object.assign(xe,{[ye.route.id]:null}),{}),errors:U&&Mn(U[1])?{[U[0]]:U[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let re=yield x("loader",w,I,R,H,N,M);w.signal.aborted&&C4(w,H,d);let ge=new Map,ne=nR(R,I,re,U,ge,G),ke=new Set(I.map(xe=>xe.route.id));return R.forEach(xe=>{ke.has(xe.route.id)||(ne.loaderData[xe.route.id]=null)}),Fr({},ne,{matches:R,activeDeferreds:ge.size>0?Object.fromEntries(ge.entries()):null})})}function x(w,R,N,M,G,P,U){return Or(this,null,function*(){let H=yield tR(U||eR,w,R,N,M,o,s,P);return yield Promise.all(H.map((J,I)=>{if(iR(J)){let re=J.result;throw aR(re,R,N[I].route.id,M,l,d.v7_relativeSplatPath)}if(su(J.result)&&G)throw J;return rR(J)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function kW(r,a,o){return Fr({},a,{statusCode:jf(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function C4(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function TW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function g2(r,a,o,l,s,d,c,h){let p,v;if(c){p=[];for(let y of a)if(p.push(y),y.route.id===c){v=y;break}}else p=a,v=a[a.length-1];let b=W4(s||".",V4(p,d),Zh(r.pathname,o)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&v&&v.route.index&&!C2(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(b.pathname=b.pathname==="/"?o:zf([o,b.pathname])),Os(b)}function x4(r,a,o,l){if(!l||!TW(l))return{path:o};if(l.formMethod&&!y2(l.formMethod))return{path:o,error:Ea(405,{method:l.formMethod})};let s=()=>({path:o,error:Ea(400,{type:"invalid-body"})}),d=l.formMethod||"get",c=r?d.toUpperCase():d.toLowerCase(),h=oR(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Al(c))return s();let x=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,R)=>{let[N,M]=R;return""+w+N+"="+M+`
|
|
146
146
|
`},""):String(l.body);return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:x}}}else if(l.formEncType==="application/json"){if(!Al(c))return s();try{let x=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:x,text:void 0}}}catch(x){return s()}}}Ir(typeof FormData=="function","FormData is not available in this environment");let p,v;if(l.formData)p=_2(l.formData),v=l.formData;else if(l.body instanceof FormData)p=_2(l.body),v=l.body;else if(l.body instanceof URLSearchParams)p=l.body,v=D4(p);else if(l.body==null)p=new URLSearchParams,v=new FormData;else try{p=new URLSearchParams(l.body),v=D4(p)}catch(x){return s()}let b={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:v,json:void 0,text:void 0};if(Al(b.formMethod))return{path:o,submission:b};let y=ns(o);return a&&y.search&&C2(y.search)&&p.append("index",""),y.search="?"+p,{path:Os(y),submission:b}}function Q4(r,a){let o=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(o=r.slice(0,l))}return o}function k4(r,a,o,l,s,d,c,h,p,v,b,y,x,w,R,N){let M=N?Mn(N[1])?N[1].error:N[1].data:void 0,G=r.createURL(a.location),P=r.createURL(s),U=N&&Mn(N[1])?N[0]:void 0,H=U?Q4(o,U):o,J=N?N[1].statusCode:void 0,I=c&&J&&J>=400,re=H.filter((ne,ke)=>{let{route:xe}=ne;if(xe.lazy)return!0;if(xe.loader==null)return!1;if(d)return typeof xe.loader!="function"||xe.loader.hydrate?!0:a.loaderData[xe.id]===void 0&&(!a.errors||a.errors[xe.id]===void 0);if(RW(a.loaderData,a.matches[ke],ne)||p.some(se=>se===ne.route.id))return!0;let ye=a.matches[ke],V=ne;return T4(ne,Fr({currentUrl:G,currentParams:ye.params,nextUrl:P,nextParams:V.params},l,{actionResult:M,actionStatus:J,defaultShouldRevalidate:I?!1:h||G.pathname+G.search===P.pathname+P.search||G.search!==P.search||J4(ye,V)}))}),ge=[];return y.forEach((ne,ke)=>{if(d||!o.some(pe=>pe.route.id===ne.routeId)||b.has(ke))return;let xe=hc(w,ne.path,R);if(!xe){ge.push({key:ke,routeId:ne.routeId,path:ne.path,matches:null,match:null,controller:null});return}let ye=a.fetchers.get(ke),V=ld(xe,ne.path),se=!1;x.has(ke)?se=!1:v.has(ke)?(v.delete(ke),se=!0):ye&&ye.state!=="idle"&&ye.data===void 0?se=h:se=T4(V,Fr({currentUrl:G,currentParams:a.matches[a.matches.length-1].params,nextUrl:P,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:J,defaultShouldRevalidate:I?!1:h})),se&&ge.push({key:ke,routeId:ne.routeId,path:ne.path,matches:xe,match:V,controller:new AbortController})}),[re,ge]}function RW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function J4(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function T4(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function EW(r,a,o,l,s,d,c,h){return Or(this,null,function*(){let p=[a,...o.map(v=>v.route.id)].join("-");try{let v=c.get(p);v||(v=r({path:a,matches:o,patch:(b,y)=>{h.aborted||Z4(b,y,l,s,d)}}),c.set(p,v)),v&&LW(v)&&(yield v)}finally{c.delete(p)}})}function Z4(r,a,o,l,s){if(r){var d;let c=l[r];Ir(c,"No route found to patch children into: routeId = "+r);let h=sd(a,s,[r,"patch",String(((d=c.children)==null?void 0:d.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=sd(a,s,["patch",String(o.length||"0")],l);o.push(...c)}}function R4(r,a,o){return Or(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Ir(s,"No route found in manifest");let d={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";Ns(!p,'Route "'+s.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+c+'" will be ignored.')),!p&&!$V.has(c)&&(d[c]=l[c])}Object.assign(s,d),Object.assign(s,Fr({},a(s),{lazy:void 0}))})}function eR(r){return Promise.all(r.matches.map(a=>a.resolve()))}function tR(r,a,o,l,s,d,c,h){return Or(this,null,function*(){let p=l.reduce((y,x)=>y.add(x.route.id),new Set),v=new Set,b=yield r({matches:s.map(y=>{let x=p.has(y.route.id);return Fr({},y,{shouldLoad:x,resolve:R=>(v.add(y.route.id),x?DW(a,o,y,d,c,R,h):Promise.resolve({type:$r.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(y=>Ir(v.has(y.route.id),'`match.resolve()` was not called for route id "'+y.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),b.filter((y,x)=>p.has(s[x].route.id))})}function DW(r,a,o,l,s,d,c){return Or(this,null,function*(){let h,p,v=b=>{let y,x=new Promise((N,M)=>y=M);p=()=>y(),a.signal.addEventListener("abort",p);let w=N=>typeof b!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):b({request:a,params:o.params,context:c},...N!==void 0?[N]:[]),R;return d?R=d(N=>w(N)):R=Or(this,null,function*(){try{return{type:"data",result:yield w()}}catch(N){return{type:"error",result:N}}}),Promise.race([R,x])};try{let b=o.route[r];if(o.route.lazy)if(b){let y,[x]=yield Promise.all([v(b).catch(w=>{y=w}),R4(o.route,s,l)]);if(y!==void 0)throw y;h=x}else if(yield R4(o.route,s,l),b=o.route[r],b)h=yield v(b);else if(r==="action"){let y=new URL(a.url),x=y.pathname+y.search;throw Ea(405,{method:a.method,pathname:x,routeId:o.route.id})}else return{type:$r.data,result:void 0};else if(b)h=yield v(b);else{let y=new URL(a.url),x=y.pathname+y.search;throw Ea(404,{pathname:x})}Ir(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(b){return{type:$r.error,result:b}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function rR(r){return Or(this,null,function*(){let{result:a,type:o}=r;if(su(a)){let v;try{let b=a.headers.get("Content-Type");b&&/\bapplication\/json\b/.test(b)?a.body==null?v=null:v=yield a.json():v=yield a.text()}catch(b){return{type:$r.error,error:b}}return o===$r.error?{type:$r.error,error:new Ff(a.status,a.statusText,v),statusCode:a.status,headers:a.headers}:{type:$r.data,data:v,statusCode:a.status,headers:a.headers}}if(o===$r.error){if(b2(a)){var l;if(a.data instanceof Error){var s;return{type:$r.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Ff(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:$r.error,error:a,statusCode:jf(a)?a.status:void 0}}if(lR(a)){var d,c;return{type:$r.deferred,deferredData:a,statusCode:(d=a.init)==null?void 0:d.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(b2(a)){var h,p;return{type:$r.data,data:a.data,statusCode:(h=a.init)==null?void 0:h.status,headers:(p=a.init)!=null&&p.headers?new Headers(a.init.headers):void 0}}return{type:$r.data,data:a}})}function aR(r,a,o,l,s,d){let c=r.headers.get("Location");if(Ir(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!w2.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);c=g2(new URL(a.url),h,s,!0,c,d),r.headers.set("Location",c)}return r}function E4(r,a,o){if(w2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),d=Zh(s.pathname,o)!=null;if(s.origin===a.origin&&d)return s.pathname+s.search+s.hash}return r}function Pf(r,a,o,l){let s=r.createURL(oR(a)).toString(),d={signal:o};if(l&&Al(l.formMethod)){let{formMethod:c,formEncType:h}=l;d.method=c.toUpperCase(),h==="application/json"?(d.headers=new Headers({"Content-Type":h}),d.body=JSON.stringify(l.json)):h==="text/plain"?d.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?d.body=_2(l.formData):d.body=l.formData}return new Request(s,d)}function _2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function D4(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function nR(r,a,o,l,s,d){let c={},h=null,p,v=!1,b={},y=l&&Mn(l[1])?l[1].error:void 0;return o.forEach((x,w)=>{let R=a[w].route.id;if(Ir(!uu(x),"Cannot handle redirect results in processLoaderData"),Mn(x)){let N=x.error;if(y!==void 0&&(N=y,y=void 0),h=h||{},d)h[R]=N;else{let M=id(r,R);h[M.route.id]==null&&(h[M.route.id]=N)}c[R]=void 0,v||(v=!0,p=jf(x.error)?x.error.status:500),x.headers&&(b[R]=x.headers)}else cu(x)?(s.set(R,x.deferredData),c[R]=x.deferredData.data,x.statusCode!=null&&x.statusCode!==200&&!v&&(p=x.statusCode),x.headers&&(b[R]=x.headers)):(c[R]=x.data,x.statusCode&&x.statusCode!==200&&!v&&(p=x.statusCode),x.headers&&(b[R]=x.headers))}),y!==void 0&&l&&(h={[l[0]]:y},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:b}}function A4(r,a,o,l,s,d,c,h){let{loaderData:p,errors:v}=nR(a,o,l,s,h,!1);for(let b=0;b<d.length;b++){let{key:y,match:x,controller:w}=d[b];Ir(c!==void 0&&c[b]!==void 0,"Did not find corresponding fetcher result");let R=c[b];if(!(w&&w.signal.aborted))if(Mn(R)){let N=id(r.matches,x==null?void 0:x.route.id);v&&v[N.route.id]||(v=Fr({},v,{[N.route.id]:R.error})),r.fetchers.delete(y)}else if(uu(R))Ir(!1,"Unhandled fetcher revalidation redirect");else if(cu(R))Ir(!1,"Unhandled fetcher deferred data");else{let N=lu(R.data);r.fetchers.set(y,N)}}return{loaderData:p,errors:v}}function L4(r,a,o,l){let s=Fr({},a);for(let d of o){let c=d.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&d.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function B4(r){return r?Mn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function id(r,a){return(a?r.slice(0,r.findIndex(l=>l.route.id===a)+1):[...r]).reverse().find(l=>l.route.hasErrorBoundary===!0)||r[0]}function Kg(r){let a=r.length===1?r[0]:r.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function Ea(r,a){let{pathname:o,routeId:l,method:s,type:d,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",d==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
|
|
147
147
|
`+c):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":d==="defer-action"?p="defer() is not supported in actions":d==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Ff(r||500,h,new Error(p),!0)}function N4(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(uu(o))return{result:o,idx:a}}}function oR(r){let a=typeof r=="string"?ns(r):r;return Os(Fr({},a,{hash:""}))}function AW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function LW(r){return typeof r=="object"&&r!=null&&"then"in r}function BW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===$r.data||r.type===$r.error)}function iR(r){return su(r.result)&&SW.has(r.result.status)}function cu(r){return r.type===$r.deferred}function Mn(r){return r.type===$r.error}function uu(r){return(r&&r.type)===$r.redirect}function b2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function lR(r){let a=r;return a&&typeof a=="object"&&typeof a.data=="object"&&typeof a.subscribe=="function"&&typeof a.cancel=="function"&&typeof a.resolveData=="function"}function su(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function NW(r){if(!su(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function y2(r){return yW.has(r.toLowerCase())}function Al(r){return _W.has(r.toLowerCase())}function O4(r,a,o,l,s,d){return Or(this,null,function*(){for(let c=0;c<o.length;c++){let h=o[c],p=a[c];if(!p)continue;let v=r.find(y=>y.route.id===p.route.id),b=v!=null&&!J4(v,p)&&(d&&d[p.route.id])!==void 0;if(cu(h)&&(s||b)){let y=l[c];Ir(y,"Expected an AbortSignal for revalidating fetcher deferred result"),yield sR(h,y,s).then(x=>{x&&(o[c]=x||o[c])})}}})}function sR(r,a,o){return Or(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:$r.data,data:r.deferredData.unwrappedData}}catch(s){return{type:$r.error,error:s}}return{type:$r.data,data:r.deferredData.data}}})}function C2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ld(r,a){let o=typeof a=="string"?ns(a).search:a.search;if(r[r.length-1].route.index&&C2(o||""))return r[r.length-1];let l=U4(r);return l[l.length-1]}function I4(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:d,json:c}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(d!=null)return{formMethod:a,formAction:o,formEncType:l,formData:d,json:void 0,text:void 0};if(c!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:c,text:void 0}}}function h2(r,a){return a?{state:"loading",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function OW(r,a){return{state:"submitting",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Qh(r,a){return r?{state:"loading",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function IW(r,a){return{state:"submitting",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a?a.data:void 0}}function lu(r){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function PW(r,a){try{let o=r.sessionStorage.getItem(K4);if(o){let l=JSON.parse(o);for(let[s,d]of Object.entries(l||{}))d&&Array.isArray(d)&&a.set(s,new Set(d||[]))}}catch(o){}}function MW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(K4,JSON.stringify(o))}catch(l){Ns(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ur.AbortedDeferredError=Jh;ur.Action=Fa;ur.IDLE_BLOCKER=Mf;ur.IDLE_FETCHER=$4;ur.IDLE_NAVIGATION=$g;ur.UNSAFE_DEFERRED_SYMBOL=X4;ur.UNSAFE_DeferredData=Gg;ur.UNSAFE_ErrorResponseImpl=Ff;ur.UNSAFE_convertRouteMatchToUiMatch=M4;ur.UNSAFE_convertRoutesToDataRoutes=sd;ur.UNSAFE_decodePath=j4;ur.UNSAFE_getResolveToMatches=V4;ur.UNSAFE_invariant=Ir;ur.UNSAFE_warning=Ns;ur.createBrowserHistory=WV;ur.createHashHistory=qV;ur.createMemoryHistory=VV;ur.createPath=Os;ur.createRouter=CW;ur.createStaticHandler=xW;ur.defer=mW;ur.generatePath=oW;ur.getStaticContextFromError=kW;ur.getToPathname=sW;ur.isDataWithResponseInit=b2;ur.isDeferredData=lR;ur.isRouteErrorResponse=jf;ur.joinPaths=zf;ur.json=dW;ur.matchPath=m2;ur.matchRoutes=hc;ur.normalizePathname=q4;ur.parsePath=ns;ur.redirect=S2;ur.redirectDocument=vW;ur.replace=gW;ur.resolvePath=H4;ur.resolveTo=W4;ur.stripBasename=Zh;ur.unstable_data=fW});var uR=qe((Xg,cR)=>{(function(r,a){typeof Xg=="object"&&typeof cR!="undefined"?a(Xg,fr(),x2()):typeof define=="function"&&define.amd?define(["exports","react","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouter={},r.React,r.RemixRouter))})(Xg,function(r,a,o){"use strict";function l(O){if(O&&O.__esModule)return O;var te=Object.create(null);return O&&Object.keys(O).forEach(function(A){if(A!=="default"){var F=Object.getOwnPropertyDescriptor(O,A);Object.defineProperty(te,A,F.get?F:{enumerable:!0,get:function(){return O[A]}})}}),te.default=O,Object.freeze(te)}var s=l(a);function d(){return d=Object.assign?Object.assign.bind():function(O){for(var te=1;te<arguments.length;te++){var A=arguments[te];for(var F in A)Object.prototype.hasOwnProperty.call(A,F)&&(O[F]=A[F])}return O},d.apply(this,arguments)}let c=s.createContext(null);c.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let v=s.createContext(null);v.displayName="Navigation";let b=s.createContext(null);b.displayName="Location";let y=s.createContext({outlet:null,matches:[],isDataRoute:!1});y.displayName="Route";let x=s.createContext(null);x.displayName="RouteError";function w(O,te){let{relative:A}=te===void 0?{}:te;R()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:F,navigator:K}=s.useContext(v),{hash:he,pathname:ie,search:Me}=ke(O,{relative:A}),ze=ie;return F!=="/"&&(ze=ie==="/"?F:o.joinPaths([F,ie])),K.createHref({pathname:ze,search:Me,hash:he})}function R(){return s.useContext(b)!=null}function N(){return R()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(b).location}function M(){return s.useContext(b).navigationType}function G(O){R()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:te}=N();return s.useMemo(()=>o.matchPath(O,o.UNSAFE_decodePath(te)),[te,O])}let P="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function U(O){s.useContext(v).static||s.useLayoutEffect(O)}function H(){let{isDataRoute:O}=s.useContext(y);return O?lr():J()}function J(){R()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let O=s.useContext(c),{basename:te,future:A,navigator:F}=s.useContext(v),{matches:K}=s.useContext(y),{pathname:he}=N(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(K,A.v7_relativeSplatPath)),Me=s.useRef(!1);return U(()=>{Me.current=!0}),s.useCallback(function(Fe,Ke){if(Ke===void 0&&(Ke={}),o.UNSAFE_warning(Me.current,P),!Me.current)return;if(typeof Fe=="number"){F.go(Fe);return}let Ne=o.resolveTo(Fe,JSON.parse(ie),he,Ke.relative==="path");O==null&&te!=="/"&&(Ne.pathname=Ne.pathname==="/"?te:o.joinPaths([te,Ne.pathname])),(Ke.replace?F.replace:F.push)(Ne,Ke.state,Ke)},[te,F,ie,he,O])}let I=s.createContext(null);function re(){return s.useContext(I)}function ge(O){let te=s.useContext(y).outlet;return te&&s.createElement(I.Provider,{value:O},te)}function ne(){let{matches:O}=s.useContext(y),te=O[O.length-1];return te?te.params:{}}function ke(O,te){let{relative:A}=te===void 0?{}:te,{future:F}=s.useContext(v),{matches:K}=s.useContext(y),{pathname:he}=N(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(K,F.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo(O,JSON.parse(ie),he,A==="path"),[O,ie,he,A])}function xe(O,te){return ye(O,te)}function ye(O,te,A,F){R()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:K}=s.useContext(v),{matches:he}=s.useContext(y),ie=he[he.length-1],Me=ie?ie.params:{},ze=ie?ie.pathname:"/",Fe=ie?ie.pathnameBase:"/",Ke=ie&&ie.route;{let Ue=Ke&&Ke.path||"";kr(ze,!Ke||Ue.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+ze+'" (under <Route path="'+Ue+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
148
148
|
|
|
149
|
-
`+('Please change the parent <Route path="'+Ue+'"> to <Route ')+('path="'+(Ue==="/"?"*":Ue+"/*")+'">.'))}let Ne=N(),tt;if(te){var z;let Ue=typeof te=="string"?o.parsePath(te):te;Fe==="/"||(z=Ue.pathname)!=null&&z.startsWith(Fe)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Fe+'" ')+('but pathname "'+Ue.pathname+'" was given in the `location` prop.')),tt=Ue}else tt=Ne;let q=tt.pathname||"/",ae=q;if(Fe!=="/"){let Ue=Fe.replace(/^\//,"").split("/");ae="/"+q.replace(/^\//,"").split("/").slice(Ue.length).join("/")}let ce=o.matchRoutes(O,{pathname:ae});o.UNSAFE_warning(Ke||ce!=null,'No routes matched location "'+tt.pathname+tt.search+tt.hash+'" '),o.UNSAFE_warning(ce==null||ce[ce.length-1].route.element!==void 0||ce[ce.length-1].route.Component!==void 0||ce[ce.length-1].route.lazy!==void 0,'Matched leaf route at location "'+tt.pathname+tt.search+tt.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let $e=$(ce&&ce.map(Ue=>Object.assign({},Ue,{params:Object.assign({},Me,Ue.params),pathname:o.joinPaths([Fe,K.encodeLocation?K.encodeLocation(Ue.pathname).pathname:Ue.pathname]),pathnameBase:Ue.pathnameBase==="/"?Fe:o.joinPaths([Fe,K.encodeLocation?K.encodeLocation(Ue.pathnameBase).pathname:Ue.pathnameBase])})),he,A,F);return te&&$e?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},tt),navigationType:o.Action.Pop}},$e):$e}function V(){let O=Te(),te=o.isRouteErrorResponse(O)?O.status+" "+O.statusText:O instanceof Error?O.message:JSON.stringify(O),A=O instanceof Error?O.stack:null,F="rgba(200,200,200, 0.5)",K={padding:"0.5rem",backgroundColor:F},he={padding:"2px 4px",backgroundColor:F},ie=null;return console.error("Error handled by React Router default ErrorBoundary:",O),ie=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:he},"ErrorBoundary")," or"," ",s.createElement("code",{style:he},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},te),A?s.createElement("pre",{style:K},A):null,ie)}let se=s.createElement(V,null);class pe extends s.Component{constructor(te){super(te),this.state={location:te.location,revalidation:te.revalidation,error:te.error}}static getDerivedStateFromError(te){return{error:te}}static getDerivedStateFromProps(te,A){return A.location!==te.location||A.revalidation!=="idle"&&te.revalidation==="idle"?{error:te.error,location:te.location,revalidation:te.revalidation}:{error:te.error!==void 0?te.error:A.error,location:A.location,revalidation:te.revalidation||A.revalidation}}componentDidCatch(te,A){console.error("React Router caught the following error during render",te,A)}render(){return this.state.error!==void 0?s.createElement(y.Provider,{value:this.props.routeContext},s.createElement(x.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function j(O){let{routeContext:te,match:A,children:F}=O,K=s.useContext(c);return K&&K.static&&K.staticContext&&(A.route.errorElement||A.route.ErrorBoundary)&&(K.staticContext._deepestRenderedBoundaryId=A.route.id),s.createElement(y.Provider,{value:te},F)}function $(O,te,A,F){var K;if(te===void 0&&(te=[]),A===void 0&&(A=null),F===void 0&&(F=null),O==null){var he;if(!A)return null;if(A.errors)O=A.matches;else if((he=F)!=null&&he.v7_partialHydration&&te.length===0&&!A.initialized&&A.matches.length>0)O=A.matches;else return null}let ie=O,Me=(K=A)==null?void 0:K.errors;if(Me!=null){let Ke=ie.findIndex(Ne=>Ne.route.id&&(Me==null?void 0:Me[Ne.route.id])!==void 0);Ke>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Me).join(",")),ie=ie.slice(0,Math.min(ie.length,Ke+1))}let ze=!1,Fe=-1;if(A&&F&&F.v7_partialHydration)for(let Ke=0;Ke<ie.length;Ke++){let Ne=ie[Ke];if((Ne.route.HydrateFallback||Ne.route.hydrateFallbackElement)&&(Fe=Ke),Ne.route.id){let{loaderData:tt,errors:z}=A,q=Ne.route.loader&&tt[Ne.route.id]===void 0&&(!z||z[Ne.route.id]===void 0);if(Ne.route.lazy||q){ze=!0,Fe>=0?ie=ie.slice(0,Fe+1):ie=[ie[0]];break}}}return ie.reduceRight((Ke,Ne,tt)=>{let z,q=!1,ae=null,ce=null;A&&(z=Me&&Ne.route.id?Me[Ne.route.id]:void 0,ae=Ne.route.errorElement||se,ze&&(Fe<0&&tt===0?(kr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,ce=null):Fe===tt&&(q=!0,ce=Ne.route.hydrateFallbackElement||null)));let $e=te.concat(ie.slice(0,tt+1)),Ue=()=>{let L;return z?L=ae:q?L=ce:Ne.route.Component?L=s.createElement(Ne.route.Component,null):Ne.route.element?L=Ne.route.element:L=Ke,s.createElement(j,{match:Ne,routeContext:{outlet:Ke,matches:$e,isDataRoute:A!=null},children:L})};return A&&(Ne.route.ErrorBoundary||Ne.route.errorElement||tt===0)?s.createElement(pe,{location:A.location,revalidation:A.revalidation,component:ae,error:z,children:Ue(),routeContext:{outlet:null,matches:$e,isDataRoute:!0}}):Ue()},null)}var oe=function(O){return O.UseBlocker="useBlocker",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O}(oe||{}),ee=function(O){return O.UseBlocker="useBlocker",O.UseLoaderData="useLoaderData",O.UseActionData="useActionData",O.UseRouteError="useRouteError",O.UseNavigation="useNavigation",O.UseRouteLoaderData="useRouteLoaderData",O.UseMatches="useMatches",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O.UseRouteId="useRouteId",O}(ee||{});function ue(O){return O+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Ce(O){let te=s.useContext(c);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Se(O){let te=s.useContext(h);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Ie(O){let te=s.useContext(y);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Ge(O){let te=Ie(O),A=te.matches[te.matches.length-1];return A.route.id||o.UNSAFE_invariant(!1,O+' can only be used on routes that contain a unique "id"'),A.route.id}function Qe(){return Ge(ee.UseRouteId)}function yt(){return Se(ee.UseNavigation).navigation}function Ht(){let O=Ce(oe.UseRevalidator),te=Se(ee.UseRevalidator);return s.useMemo(()=>({revalidate:O.router.revalidate,state:te.revalidation}),[O.router.revalidate,te.revalidation])}function pt(){let{matches:O,loaderData:te}=Se(ee.UseMatches);return s.useMemo(()=>O.map(A=>o.UNSAFE_convertRouteMatchToUiMatch(A,te)),[O,te])}function kt(){let O=Se(ee.UseLoaderData),te=Ge(ee.UseLoaderData);if(O.errors&&O.errors[te]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+te+")");return}return O.loaderData[te]}function vt(O){return Se(ee.UseRouteLoaderData).loaderData[O]}function it(){let O=Se(ee.UseActionData),te=Ge(ee.UseLoaderData);return O.actionData?O.actionData[te]:void 0}function Te(){var O;let te=s.useContext(x),A=Se(ee.UseRouteError),F=Ge(ee.UseRouteError);return te!==void 0?te:(O=A.errors)==null?void 0:O[F]}function Rt(){let O=s.useContext(p);return O==null?void 0:O._data}function Ut(){let O=s.useContext(p);return O==null?void 0:O._error}let Qt=0;function Yt(O){let{router:te,basename:A}=Ce(oe.UseBlocker),F=Se(ee.UseBlocker),[K,he]=s.useState(""),ie=s.useCallback(Me=>{if(typeof O!="function")return!!O;if(A==="/")return O(Me);let{currentLocation:ze,nextLocation:Fe,historyAction:Ke}=Me;return O({currentLocation:d({},ze,{pathname:o.stripBasename(ze.pathname,A)||ze.pathname}),nextLocation:d({},Fe,{pathname:o.stripBasename(Fe.pathname,A)||Fe.pathname}),historyAction:Ke})},[A,O]);return s.useEffect(()=>{let Me=String(++Qt);return he(Me),()=>te.deleteBlocker(Me)},[te]),s.useEffect(()=>{K!==""&&te.getBlocker(K,ie)},[te,K,ie]),K&&F.blockers.has(K)?F.blockers.get(K):o.IDLE_BLOCKER}function lr(){let{router:O}=Ce(oe.UseNavigateStable),te=Ge(ee.UseNavigateStable),A=s.useRef(!1);return U(()=>{A.current=!0}),s.useCallback(function(K,he){he===void 0&&(he={}),o.UNSAFE_warning(A.current,P),A.current&&(typeof K=="number"?O.navigate(K):O.navigate(K,d({fromRouteId:te},he)))},[O,te])}let pr={};function kr(O,te,A){!te&&!pr[O]&&(pr[O]=!0,o.UNSAFE_warning(!1,A))}let Wr=s["startTransition"];function Kr(O){let{fallbackElement:te,router:A,future:F}=O,[K,he]=s.useState(A.state),{v7_startTransition:ie}=F||{},Me=s.useCallback(Ne=>{ie&&Wr?Wr(()=>he(Ne)):he(Ne)},[he,ie]);s.useLayoutEffect(()=>A.subscribe(Me),[A,Me]),s.useEffect(()=>{o.UNSAFE_warning(te==null||!A.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ze=s.useMemo(()=>({createHref:A.createHref,encodeLocation:A.encodeLocation,go:Ne=>A.navigate(Ne),push:(Ne,tt,z)=>A.navigate(Ne,{state:tt,preventScrollReset:z==null?void 0:z.preventScrollReset}),replace:(Ne,tt,z)=>A.navigate(Ne,{replace:!0,state:tt,preventScrollReset:z==null?void 0:z.preventScrollReset})}),[A]),Fe=A.basename||"/",Ke=s.useMemo(()=>({router:A,navigator:ze,static:!1,basename:Fe}),[A,ze,Fe]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:Ke},s.createElement(h.Provider,{value:K},s.createElement(Lr,{basename:Fe,location:K.location,navigationType:K.historyAction,navigator:ze,future:{v7_relativeSplatPath:A.future.v7_relativeSplatPath}},K.initialized||A.future.v7_partialHydration?s.createElement(hr,{routes:A.routes,future:A.future,state:K}):te))),null)}function hr(O){let{routes:te,future:A,state:F}=O;return ye(te,void 0,F,A)}function Tr(O){let{basename:te,children:A,initialEntries:F,initialIndex:K,future:he}=O,ie=s.useRef();ie.current==null&&(ie.current=o.createMemoryHistory({initialEntries:F,initialIndex:K,v5Compat:!0}));let Me=ie.current,[ze,Fe]=s.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ke}=he||{},Ne=s.useCallback(tt=>{Ke&&Wr?Wr(()=>Fe(tt)):Fe(tt)},[Fe,Ke]);return s.useLayoutEffect(()=>Me.listen(Ne),[Me,Ne]),s.createElement(Lr,{basename:te,children:A,location:ze.location,navigationType:ze.action,navigator:Me,future:he})}function Pr(O){let{to:te,replace:A,state:F,relative:K}=O;R()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:he,static:ie}=s.useContext(v);o.UNSAFE_warning(!ie,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Me}=s.useContext(y),{pathname:ze}=N(),Fe=H(),Ke=o.resolveTo(te,o.UNSAFE_getResolveToMatches(Me,he.v7_relativeSplatPath),ze,K==="path"),Ne=JSON.stringify(Ke);return s.useEffect(()=>Fe(JSON.parse(Ne),{replace:A,state:F,relative:K}),[Fe,Ne,K,A,F]),null}function ba(O){return ge(O.context)}function mr(O){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Lr(O){let{basename:te="/",children:A=null,location:F,navigationType:K=o.Action.Pop,navigator:he,static:ie=!1,future:Me}=O;R()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let ze=te.replace(/^\/*/,"/"),Fe=s.useMemo(()=>({basename:ze,navigator:he,static:ie,future:d({v7_relativeSplatPath:!1},Me)}),[ze,Me,he,ie]);typeof F=="string"&&(F=o.parsePath(F));let{pathname:Ke="/",search:Ne="",hash:tt="",state:z=null,key:q="default"}=F,ae=s.useMemo(()=>{let ce=o.stripBasename(Ke,ze);return ce==null?null:{location:{pathname:ce,search:Ne,hash:tt,state:z,key:q},navigationType:K}},[ze,Ke,Ne,tt,z,q,K]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+ze+'"> is not able to match the URL '+('"'+Ke+Ne+tt+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(v.Provider,{value:Fe},s.createElement(b.Provider,{children:A,value:ae}))}function Mr(O){let{children:te,location:A}=O;return xe($t(te),A)}function wa(O){let{children:te,errorElement:A,resolve:F}=O;return s.createElement(St,{resolve:F,errorElement:A},s.createElement(Xt,null,te))}var He=function(O){return O[O.pending=0]="pending",O[O.success=1]="success",O[O.error=2]="error",O}(He||{});let ut=new Promise(()=>{});class St extends s.Component{constructor(te){super(te),this.state={error:null}}static getDerivedStateFromError(te){return{error:te}}componentDidCatch(te,A){console.error("<Await> caught the following error during render",te,A)}render(){let{children:te,errorElement:A,resolve:F}=this.props,K=null,he=He.pending;if(!(F instanceof Promise))he=He.success,K=Promise.resolve(),Object.defineProperty(K,"_tracked",{get:()=>!0}),Object.defineProperty(K,"_data",{get:()=>F});else if(this.state.error){he=He.error;let ie=this.state.error;K=Promise.reject().catch(()=>{}),Object.defineProperty(K,"_tracked",{get:()=>!0}),Object.defineProperty(K,"_error",{get:()=>ie})}else F._tracked?(K=F,he="_error"in K?He.error:"_data"in K?He.success:He.pending):(he=He.pending,Object.defineProperty(F,"_tracked",{get:()=>!0}),K=F.then(ie=>Object.defineProperty(F,"_data",{get:()=>ie}),ie=>Object.defineProperty(F,"_error",{get:()=>ie})));if(he===He.error&&K._error instanceof o.AbortedDeferredError)throw ut;if(he===He.error&&!A)throw K._error;if(he===He.error)return s.createElement(p.Provider,{value:K,children:A});if(he===He.success)return s.createElement(p.Provider,{value:K,children:te});throw K}}function Xt(O){let{children:te}=O,A=Rt(),F=typeof te=="function"?te(A):te;return s.createElement(s.Fragment,null,F)}function $t(O,te){te===void 0&&(te=[]);let A=[];return s.Children.forEach(O,(F,K)=>{if(!s.isValidElement(F))return;let he=[...te,K];if(F.type===s.Fragment){A.push.apply(A,$t(F.props.children,he));return}F.type!==mr&&o.UNSAFE_invariant(!1,"["+(typeof F.type=="string"?F.type:F.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!F.props.index||!F.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ie={id:F.props.id||he.join("-"),caseSensitive:F.props.caseSensitive,element:F.props.element,Component:F.props.Component,index:F.props.index,path:F.props.path,loader:F.props.loader,action:F.props.action,errorElement:F.props.errorElement,ErrorBoundary:F.props.ErrorBoundary,hasErrorBoundary:F.props.ErrorBoundary!=null||F.props.errorElement!=null,shouldRevalidate:F.props.shouldRevalidate,handle:F.props.handle,lazy:F.props.lazy};F.props.children&&(ie.children=$t(F.props.children,he)),A.push(ie)}),A}function Rr(O){return $(O)}function _r(O){let te={hasErrorBoundary:O.ErrorBoundary!=null||O.errorElement!=null};return O.Component&&(O.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(te,{element:s.createElement(O.Component),Component:void 0})),O.HydrateFallback&&(O.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(te,{hydrateFallbackElement:s.createElement(O.HydrateFallback),HydrateFallback:void 0})),O.ErrorBoundary&&(O.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(te,{errorElement:s.createElement(O.ErrorBoundary),ErrorBoundary:void 0})),te}function Xr(O,te){return o.createRouter({basename:te==null?void 0:te.basename,future:d({},te==null?void 0:te.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:te==null?void 0:te.initialEntries,initialIndex:te==null?void 0:te.initialIndex}),hydrationData:te==null?void 0:te.hydrationData,routes:O,mapRouteProperties:_r,unstable_dataStrategy:te==null?void 0:te.unstable_dataStrategy,unstable_patchRoutesOnMiss:te==null?void 0:te.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=wa,r.MemoryRouter=Tr,r.Navigate=Pr,r.Outlet=ba,r.Route=mr,r.Router=Lr,r.RouterProvider=Kr,r.Routes=Mr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=v,r.UNSAFE_RouteContext=y,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Qe,r.UNSAFE_useRoutesImpl=ye,r.createMemoryRouter=Xr,r.createRoutesFromChildren=$t,r.createRoutesFromElements=$t,r.renderMatches=Rr,r.useActionData=it,r.useAsyncError=Ut,r.useAsyncValue=Rt,r.useBlocker=Yt,r.useHref=w,r.useInRouterContext=R,r.useLoaderData=kt,r.useLocation=N,r.useMatch=G,r.useMatches=pt,r.useNavigate=H,r.useNavigation=yt,r.useNavigationType=M,r.useOutlet=ge,r.useOutletContext=re,r.useParams=ne,r.useResolvedPath=ke,r.useRevalidator=Ht,r.useRouteError=Te,r.useRouteLoaderData=vt,r.useRoutes=xe,Object.defineProperty(r,"__esModule",{value:!0})})});var fR=qe((SG,dR)=>{"use strict";dR.exports=uR()});var hR=qe((Qg,pR)=>{(function(r,a){typeof Qg=="object"&&typeof pR!="undefined"?a(Qg,fr(),u2(),fR(),x2()):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter))})(Qg,function(r,a,o,l,s){"use strict";function d(A){if(A&&A.__esModule)return A;var F=Object.create(null);return A&&Object.keys(A).forEach(function(K){if(K!=="default"){var he=Object.getOwnPropertyDescriptor(A,K);Object.defineProperty(F,K,he.get?he:{enumerable:!0,get:function(){return A[K]}})}}),F.default=A,Object.freeze(F)}var c=d(a),h=d(o);function p(){return p=Object.assign?Object.assign.bind():function(A){for(var F=1;F<arguments.length;F++){var K=arguments[F];for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&(A[he]=K[he])}return A},p.apply(this,arguments)}function v(A,F){if(A==null)return{};var K={},he=Object.keys(A),ie,Me;for(Me=0;Me<he.length;Me++)ie=he[Me],!(F.indexOf(ie)>=0)&&(K[ie]=A[ie]);return K}let b="get",y="application/x-www-form-urlencoded";function x(A){return A!=null&&typeof A.tagName=="string"}function w(A){return x(A)&&A.tagName.toLowerCase()==="button"}function R(A){return x(A)&&A.tagName.toLowerCase()==="form"}function N(A){return x(A)&&A.tagName.toLowerCase()==="input"}function M(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}function G(A,F){return A.button===0&&(!F||F==="_self")&&!M(A)}function P(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((F,K)=>{let he=A[K];return F.concat(Array.isArray(he)?he.map(ie=>[K,ie]):[[K,he]])},[]))}function U(A,F){let K=P(A);return F&&F.forEach((he,ie)=>{K.has(ie)||F.getAll(ie).forEach(Me=>{K.append(ie,Me)})}),K}let H=null;function J(){if(H===null)try{new FormData(document.createElement("form"),0),H=!1}catch(A){H=!0}return H}let I=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function re(A){return A!=null&&!I.has(A)?(s.UNSAFE_warning(!1,'"'+A+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+y+'"')),null):A}function ge(A,F){let K,he,ie,Me,ze;if(R(A)){let Fe=A.getAttribute("action");he=Fe?s.stripBasename(Fe,F):null,K=A.getAttribute("method")||b,ie=re(A.getAttribute("enctype"))||y,Me=new FormData(A)}else if(w(A)||N(A)&&(A.type==="submit"||A.type==="image")){let Fe=A.form;if(Fe==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Ke=A.getAttribute("formaction")||Fe.getAttribute("action");if(he=Ke?s.stripBasename(Ke,F):null,K=A.getAttribute("formmethod")||Fe.getAttribute("method")||b,ie=re(A.getAttribute("formenctype"))||re(Fe.getAttribute("enctype"))||y,Me=new FormData(Fe,A),!J()){let{name:Ne,type:tt,value:z}=A;if(tt==="image"){let q=Ne?Ne+".":"";Me.append(q+"x","0"),Me.append(q+"y","0")}else Ne&&Me.append(Ne,z)}}else{if(x(A))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');K=b,he=null,ie=y,ze=A}return Me&&ie==="text/plain"&&(ze=Me,Me=void 0),{action:he,method:K.toLowerCase(),encType:ie,formData:Me,body:ze}}let ne=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ke=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],xe=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ye="6";try{window.__reactRouterVersion=ye}catch(A){}function V(A,F){return s.createRouter({basename:F==null?void 0:F.basename,future:p({},F==null?void 0:F.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:F==null?void 0:F.window}),hydrationData:(F==null?void 0:F.hydrationData)||pe(),routes:A,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:F==null?void 0:F.unstable_dataStrategy,unstable_patchRoutesOnMiss:F==null?void 0:F.unstable_patchRoutesOnMiss,window:F==null?void 0:F.window}).initialize()}function se(A,F){return s.createRouter({basename:F==null?void 0:F.basename,future:p({},F==null?void 0:F.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:F==null?void 0:F.window}),hydrationData:(F==null?void 0:F.hydrationData)||pe(),routes:A,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:F==null?void 0:F.unstable_dataStrategy,unstable_patchRoutesOnMiss:F==null?void 0:F.unstable_patchRoutesOnMiss,window:F==null?void 0:F.window}).initialize()}function pe(){var A;let F=(A=window)==null?void 0:A.__staticRouterHydrationData;return F&&F.errors&&(F=p({},F,{errors:j(F.errors)})),F}function j(A){if(!A)return null;let F=Object.entries(A),K={};for(let[he,ie]of F)if(ie&&ie.__type==="RouteErrorResponse")K[he]=new s.UNSAFE_ErrorResponseImpl(ie.status,ie.statusText,ie.data,ie.internal===!0);else if(ie&&ie.__type==="Error"){if(ie.__subType){let Me=window[ie.__subType];if(typeof Me=="function")try{let ze=new Me(ie.message);ze.stack="",K[he]=ze}catch(ze){}}if(K[he]==null){let Me=new Error(ie.message);Me.stack="",K[he]=Me}}else K[he]=ie;return K}let $=c.createContext({isTransitioning:!1});$.displayName="ViewTransition";let oe=c.createContext(new Map);oe.displayName="Fetchers";let ue=c["startTransition"],Se=h["flushSync"],Ge=c["useId"];function Qe(A){ue?ue(A):A()}function yt(A){Se?Se(A):A()}class Ht{constructor(){this.status="pending",this.promise=new Promise((F,K)=>{this.resolve=he=>{this.status==="pending"&&(this.status="resolved",F(he))},this.reject=he=>{this.status==="pending"&&(this.status="rejected",K(he))}})}}function pt(A){let{fallbackElement:F,router:K,future:he}=A,[ie,Me]=c.useState(K.state),[ze,Fe]=c.useState(),[Ke,Ne]=c.useState({isTransitioning:!1}),[tt,z]=c.useState(),[q,ae]=c.useState(),[ce,$e]=c.useState(),Ue=c.useRef(new Map),{v7_startTransition:L}=he||{},Y=c.useCallback(Ze=>{L?Qe(Ze):Ze()},[L]),me=c.useCallback((Ze,Et)=>{let{deletedFetchers:At,unstable_flushSync:Gt,unstable_viewTransitionOpts:Qr}=Et;At.forEach(fa=>Ue.current.delete(fa)),Ze.fetchers.forEach((fa,pa)=>{fa.data!==void 0&&Ue.current.set(pa,fa.data)});let Wa=K.window==null||K.window.document==null||typeof K.window.document.startViewTransition!="function";if(!Qr||Wa){Gt?yt(()=>Me(Ze)):Y(()=>Me(Ze));return}if(Gt){yt(()=>{q&&(tt&&tt.resolve(),q.skipTransition()),Ne({isTransitioning:!0,flushSync:!0,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation})});let fa=K.window.document.startViewTransition(()=>{yt(()=>Me(Ze))});fa.finished.finally(()=>{yt(()=>{z(void 0),ae(void 0),Fe(void 0),Ne({isTransitioning:!1})})}),yt(()=>ae(fa));return}q?(tt&&tt.resolve(),q.skipTransition(),$e({state:Ze,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation})):(Fe(Ze),Ne({isTransitioning:!0,flushSync:!1,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation}))},[K.window,q,tt,Ue,Y]);c.useLayoutEffect(()=>K.subscribe(me),[K,me]),c.useEffect(()=>{Ke.isTransitioning&&!Ke.flushSync&&z(new Ht)},[Ke]),c.useEffect(()=>{if(tt&&ze&&K.window){let Ze=ze,Et=tt.promise,At=K.window.document.startViewTransition(()=>Or(this,null,function*(){Y(()=>Me(Ze)),yield Et}));At.finished.finally(()=>{z(void 0),ae(void 0),Fe(void 0),Ne({isTransitioning:!1})}),ae(At)}},[Y,ze,tt,K.window]),c.useEffect(()=>{tt&&ze&&ie.location.key===ze.location.key&&tt.resolve()},[tt,q,ie.location,ze]),c.useEffect(()=>{!Ke.isTransitioning&&ce&&(Fe(ce.state),Ne({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}),$e(void 0))},[Ke.isTransitioning,ce]),c.useEffect(()=>{s.UNSAFE_warning(F==null||!K.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ee=c.useMemo(()=>({createHref:K.createHref,encodeLocation:K.encodeLocation,go:Ze=>K.navigate(Ze),push:(Ze,Et,At)=>K.navigate(Ze,{state:Et,preventScrollReset:At==null?void 0:At.preventScrollReset}),replace:(Ze,Et,At)=>K.navigate(Ze,{replace:!0,state:Et,preventScrollReset:At==null?void 0:At.preventScrollReset})}),[K]),We=K.basename||"/",mt=c.useMemo(()=>({router:K,navigator:Ee,static:!1,basename:We}),[K,Ee,We]),rt=c.useMemo(()=>({v7_relativeSplatPath:K.future.v7_relativeSplatPath}),[K.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:mt},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ie},c.createElement(oe.Provider,{value:Ue.current},c.createElement($.Provider,{value:Ke},c.createElement(l.Router,{basename:We,location:ie.location,navigationType:ie.historyAction,navigator:Ee,future:rt},ie.initialized||K.future.v7_partialHydration?c.createElement(kt,{routes:K.routes,future:K.future,state:ie}):F))))),null)}let kt=c.memo(vt);function vt(A){let{routes:F,future:K,state:he}=A;return l.UNSAFE_useRoutesImpl(F,void 0,he,K)}function it(A){let{basename:F,children:K,future:he,window:ie}=A,Me=c.useRef();Me.current==null&&(Me.current=s.createBrowserHistory({window:ie,v5Compat:!0}));let ze=Me.current,[Fe,Ke]=c.useState({action:ze.action,location:ze.location}),{v7_startTransition:Ne}=he||{},tt=c.useCallback(z=>{Ne&&ue?ue(()=>Ke(z)):Ke(z)},[Ke,Ne]);return c.useLayoutEffect(()=>ze.listen(tt),[ze,tt]),c.createElement(l.Router,{basename:F,children:K,location:Fe.location,navigationType:Fe.action,navigator:ze,future:he})}function Te(A){let{basename:F,children:K,future:he,window:ie}=A,Me=c.useRef();Me.current==null&&(Me.current=s.createHashHistory({window:ie,v5Compat:!0}));let ze=Me.current,[Fe,Ke]=c.useState({action:ze.action,location:ze.location}),{v7_startTransition:Ne}=he||{},tt=c.useCallback(z=>{Ne&&ue?ue(()=>Ke(z)):Ke(z)},[Ke,Ne]);return c.useLayoutEffect(()=>ze.listen(tt),[ze,tt]),c.createElement(l.Router,{basename:F,children:K,location:Fe.location,navigationType:Fe.action,navigator:ze,future:he})}function Rt(A){let{basename:F,children:K,future:he,history:ie}=A,[Me,ze]=c.useState({action:ie.action,location:ie.location}),{v7_startTransition:Fe}=he||{},Ke=c.useCallback(Ne=>{Fe&&ue?ue(()=>ze(Ne)):ze(Ne)},[ze,Fe]);return c.useLayoutEffect(()=>ie.listen(Ke),[ie,Ke]),c.createElement(l.Router,{basename:F,children:K,location:Me.location,navigationType:Me.action,navigator:ie,future:he})}Rt.displayName="unstable_HistoryRouter";let Ut=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Qt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yt=c.forwardRef(function(F,K){let{onClick:he,relative:ie,reloadDocument:Me,replace:ze,state:Fe,target:Ke,to:Ne,preventScrollReset:tt,unstable_viewTransition:z}=F,q=v(F,ne),{basename:ae}=c.useContext(l.UNSAFE_NavigationContext),ce,$e=!1;if(typeof Ne=="string"&&Qt.test(Ne)&&(ce=Ne,Ut))try{let me=new URL(window.location.href),Ee=Ne.startsWith("//")?new URL(me.protocol+Ne):new URL(Ne),We=s.stripBasename(Ee.pathname,ae);Ee.origin===me.origin&&We!=null?Ne=We+Ee.search+Ee.hash:$e=!0}catch(me){s.UNSAFE_warning(!1,'<Link to="'+Ne+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ue=l.useHref(Ne,{relative:ie}),L=Pr(Ne,{replace:ze,state:Fe,target:Ke,preventScrollReset:tt,relative:ie,unstable_viewTransition:z});function Y(me){he&&he(me),me.defaultPrevented||L(me)}return c.createElement("a",p({},q,{href:ce||Ue,onClick:$e||Me?he:Y,ref:K,target:Ke}))});Yt.displayName="Link";let lr=c.forwardRef(function(F,K){let{"aria-current":he="page",caseSensitive:ie=!1,className:Me="",end:ze=!1,style:Fe,to:Ke,unstable_viewTransition:Ne,children:tt}=F,z=v(F,ke),q=l.useResolvedPath(Ke,{relative:z.relative}),ae=l.useLocation(),ce=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:$e,basename:Ue}=c.useContext(l.UNSAFE_NavigationContext),L=ce!=null&&te(q)&&Ne===!0,Y=$e.encodeLocation?$e.encodeLocation(q).pathname:q.pathname,me=ae.pathname,Ee=ce&&ce.navigation&&ce.navigation.location?ce.navigation.location.pathname:null;ie||(me=me.toLowerCase(),Ee=Ee?Ee.toLowerCase():null,Y=Y.toLowerCase()),Ee&&Ue&&(Ee=s.stripBasename(Ee,Ue)||Ee);let We=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length,mt=me===Y||!ze&&me.startsWith(Y)&&me.charAt(We)==="/",rt=Ee!=null&&(Ee===Y||!ze&&Ee.startsWith(Y)&&Ee.charAt(Y.length)==="/"),Ze={isActive:mt,isPending:rt,isTransitioning:L},Et=mt?he:void 0,At;typeof Me=="function"?At=Me(Ze):At=[Me,mt?"active":null,rt?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Gt=typeof Fe=="function"?Fe(Ze):Fe;return c.createElement(Yt,p({},z,{"aria-current":Et,className:At,ref:K,style:Gt,to:Ke,unstable_viewTransition:Ne}),typeof tt=="function"?tt(Ze):tt)});lr.displayName="NavLink";let pr=c.forwardRef((A,F)=>{let{fetcherKey:K,navigate:he,reloadDocument:ie,replace:Me,state:ze,method:Fe=b,action:Ke,onSubmit:Ne,relative:tt,preventScrollReset:z,unstable_viewTransition:q}=A,ae=v(A,xe),ce=wa(),$e=He(Ke,{relative:tt}),Ue=Fe.toLowerCase()==="get"?"get":"post",L=Y=>{if(Ne&&Ne(Y),Y.defaultPrevented)return;Y.preventDefault();let me=Y.nativeEvent.submitter,Ee=(me==null?void 0:me.getAttribute("formmethod"))||Fe;ce(me||Y.currentTarget,{fetcherKey:K,method:Ee,navigate:he,replace:Me,state:ze,relative:tt,preventScrollReset:z,unstable_viewTransition:q})};return c.createElement("form",p({ref:F,method:Ue,action:$e,onSubmit:ie?Ne:L},ae))});pr.displayName="Form";function kr(A){let{getKey:F,storageKey:K}=A;return Rr({getKey:F,storageKey:K}),null}kr.displayName="ScrollRestoration";var la=function(A){return A.UseScrollRestoration="useScrollRestoration",A.UseSubmit="useSubmit",A.UseSubmitFetcher="useSubmitFetcher",A.UseFetcher="useFetcher",A.useViewTransitionState="useViewTransitionState",A}(la||{}),Wr=function(A){return A.UseFetcher="useFetcher",A.UseFetchers="useFetchers",A.UseScrollRestoration="useScrollRestoration",A}(Wr||{});function Kr(A){return A+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function hr(A){let F=c.useContext(l.UNSAFE_DataRouterContext);return F||s.UNSAFE_invariant(!1,Kr(A)),F}function Tr(A){let F=c.useContext(l.UNSAFE_DataRouterStateContext);return F||s.UNSAFE_invariant(!1,Kr(A)),F}function Pr(A,F){let{target:K,replace:he,state:ie,preventScrollReset:Me,relative:ze,unstable_viewTransition:Fe}=F===void 0?{}:F,Ke=l.useNavigate(),Ne=l.useLocation(),tt=l.useResolvedPath(A,{relative:ze});return c.useCallback(z=>{if(G(z,K)){z.preventDefault();let q=he!==void 0?he:l.createPath(Ne)===l.createPath(tt);Ke(A,{replace:q,state:ie,preventScrollReset:Me,relative:ze,unstable_viewTransition:Fe})}},[Ne,Ke,tt,he,ie,K,A,Me,ze,Fe])}function ba(A){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let F=c.useRef(P(A)),K=c.useRef(!1),he=l.useLocation(),ie=c.useMemo(()=>U(he.search,K.current?null:F.current),[he.search]),Me=l.useNavigate(),ze=c.useCallback((Fe,Ke)=>{let Ne=P(typeof Fe=="function"?Fe(ie):Fe);K.current=!0,Me("?"+Ne,Ke)},[Me,ie]);return[ie,ze]}function mr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let Lr=0,Mr=()=>"__"+String(++Lr)+"__";function wa(){let{router:A}=hr(la.UseSubmit),{basename:F}=c.useContext(l.UNSAFE_NavigationContext),K=l.UNSAFE_useRouteId();return c.useCallback(function(he,ie){ie===void 0&&(ie={}),mr();let{action:Me,method:ze,encType:Fe,formData:Ke,body:Ne}=ge(he,F);if(ie.navigate===!1){let tt=ie.fetcherKey||Mr();A.fetch(tt,K,ie.action||Me,{preventScrollReset:ie.preventScrollReset,formData:Ke,body:Ne,formMethod:ie.method||ze,formEncType:ie.encType||Fe,unstable_flushSync:ie.unstable_flushSync})}else A.navigate(ie.action||Me,{preventScrollReset:ie.preventScrollReset,formData:Ke,body:Ne,formMethod:ie.method||ze,formEncType:ie.encType||Fe,replace:ie.replace,state:ie.state,fromRouteId:K,unstable_flushSync:ie.unstable_flushSync,unstable_viewTransition:ie.unstable_viewTransition})},[A,F,K])}function He(A,F){let{relative:K}=F===void 0?{}:F,{basename:he}=c.useContext(l.UNSAFE_NavigationContext),ie=c.useContext(l.UNSAFE_RouteContext);ie||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Me]=ie.matches.slice(-1),ze=p({},l.useResolvedPath(A||".",{relative:K})),Fe=l.useLocation();if(A==null){ze.search=Fe.search;let Ke=new URLSearchParams(ze.search);Ke.has("index")&&Ke.get("index")===""&&(Ke.delete("index"),ze.search=Ke.toString()?"?"+Ke.toString():"")}return(!A||A===".")&&Me.route.index&&(ze.search=ze.search?ze.search.replace(/^\?/,"?index&"):"?index"),he!=="/"&&(ze.pathname=ze.pathname==="/"?he:s.joinPaths([he,ze.pathname])),l.createPath(ze)}function ut(A){var F;let{key:K}=A===void 0?{}:A,{router:he}=hr(la.UseFetcher),ie=Tr(Wr.UseFetcher),Me=c.useContext(oe),ze=c.useContext(l.UNSAFE_RouteContext),Fe=(F=ze.matches[ze.matches.length-1])==null?void 0:F.route.id;Me||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),ze||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Fe==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let Ke=Ge?Ge():"",[Ne,tt]=c.useState(K||Ke);K&&K!==Ne?tt(K):Ne||tt(Mr()),c.useEffect(()=>(he.getFetcher(Ne),()=>{he.deleteFetcher(Ne)}),[he,Ne]);let z=c.useCallback((Y,me)=>{Fe||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),he.fetch(Ne,Fe,Y,me)},[Ne,Fe,he]),q=wa(),ae=c.useCallback((Y,me)=>{q(Y,p({},me,{navigate:!1,fetcherKey:Ne}))},[Ne,q]),ce=c.useMemo(()=>{let Y=c.forwardRef((me,Ee)=>c.createElement(pr,p({},me,{navigate:!1,fetcherKey:Ne,ref:Ee})));return Y.displayName="fetcher.Form",Y},[Ne]),$e=ie.fetchers.get(Ne)||s.IDLE_FETCHER,Ue=Me.get(Ne);return c.useMemo(()=>p({Form:ce,submit:ae,load:z},$e,{data:Ue}),[ce,ae,z,$e,Ue])}function St(){let A=Tr(Wr.UseFetchers);return Array.from(A.fetchers.entries()).map(F=>{let[K,he]=F;return p({},he,{key:K})})}let Xt="react-router-scroll-positions",$t={};function Rr(A){let{getKey:F,storageKey:K}=A===void 0?{}:A,{router:he}=hr(la.UseScrollRestoration),{restoreScrollPosition:ie,preventScrollReset:Me}=Tr(Wr.UseScrollRestoration),{basename:ze}=c.useContext(l.UNSAFE_NavigationContext),Fe=l.useLocation(),Ke=l.useMatches(),Ne=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Xr(c.useCallback(()=>{if(Ne.state==="idle"){let tt=(F?F(Fe,Ke):null)||Fe.key;$t[tt]=window.scrollY}try{sessionStorage.setItem(K||Xt,JSON.stringify($t))}catch(tt){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+tt+").")}window.history.scrollRestoration="auto"},[K,F,Ne.state,Fe,Ke])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let tt=sessionStorage.getItem(K||Xt);tt&&($t=JSON.parse(tt))}catch(tt){}},[K]),c.useLayoutEffect(()=>{let tt=F&&ze!=="/"?(q,ae)=>F(p({},q,{pathname:s.stripBasename(q.pathname,ze)||q.pathname}),ae):F,z=he==null?void 0:he.enableScrollRestoration($t,()=>window.scrollY,tt);return()=>z&&z()},[he,ze,F]),c.useLayoutEffect(()=>{if(ie!==!1){if(typeof ie=="number"){window.scrollTo(0,ie);return}if(Fe.hash){let tt=document.getElementById(decodeURIComponent(Fe.hash.slice(1)));if(tt){tt.scrollIntoView();return}}Me!==!0&&window.scrollTo(0,0)}},[Fe,ie,Me]))}function _r(A,F){let{capture:K}=F||{};c.useEffect(()=>{let he=K!=null?{capture:K}:void 0;return window.addEventListener("beforeunload",A,he),()=>{window.removeEventListener("beforeunload",A,he)}},[A,K])}function Xr(A,F){let{capture:K}=F||{};c.useEffect(()=>{let he=K!=null?{capture:K}:void 0;return window.addEventListener("pagehide",A,he),()=>{window.removeEventListener("pagehide",A,he)}},[A,K])}function O(A){let{when:F,message:K}=A,he=l.useBlocker(F);c.useEffect(()=>{he.state==="blocked"&&(window.confirm(K)?setTimeout(he.proceed,0):he.reset())},[he,K]),c.useEffect(()=>{he.state==="blocked"&&!F&&he.reset()},[he,F])}function te(A,F){F===void 0&&(F={});let K=c.useContext($);K==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:he}=hr(la.useViewTransitionState),ie=l.useResolvedPath(A,{relative:F.relative});if(!K.isTransitioning)return!1;let Me=s.stripBasename(K.currentLocation.pathname,he)||K.currentLocation.pathname,ze=s.stripBasename(K.nextLocation.pathname,he)||K.nextLocation.pathname;return s.matchPath(ie.pathname,ze)!=null||s.matchPath(ie.pathname,Me)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=it,r.Form=pr,r.HashRouter=Te,r.Link=Yt,r.NavLink=lr,r.RouterProvider=pt,r.ScrollRestoration=kr,r.UNSAFE_FetchersContext=oe,r.UNSAFE_ViewTransitionContext=$,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=V,r.createHashRouter=se,r.createSearchParams=P,r.unstable_HistoryRouter=Rt,r.unstable_usePrompt=O,r.unstable_useViewTransitionState=te,r.useBeforeUnload=_r,r.useFetcher=ut,r.useFetchers=St,r.useFormAction=He,r.useLinkClickHandler=Pr,r.useSearchParams=ba,r.useSubmit=wa,Object.defineProperty(r,"__esModule",{value:!0})})});var vR=qe((CG,mR)=>{"use strict";mR.exports=hR()});var ir=qe((xG,wR)=>{"use strict";var e_=Object.defineProperty,zW=Object.defineProperties,FW=Object.getOwnPropertyDescriptor,jW=Object.getOwnPropertyDescriptors,HW=Object.getOwnPropertyNames,Zg=Object.getOwnPropertySymbols,T2=Object.prototype.hasOwnProperty,_R=Object.prototype.propertyIsEnumerable,k2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Jg=Math.pow,gR=(r,a,o)=>a in r?e_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,fu=(r,a)=>{for(var o in a||(a={}))T2.call(a,o)&&gR(r,o,a[o]);if(Zg)for(var o of Zg(a))_R.call(a,o)&&gR(r,o,a[o]);return r},bR=(r,a)=>zW(r,jW(a)),UW=(r,a)=>{var o={};for(var l in r)T2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Zg)for(var l of Zg(r))a.indexOf(l)<0&&_R.call(r,l)&&(o[l]=r[l]);return o},VW=(r,a)=>{for(var o in a)e_(r,o,{get:a[o],enumerable:!0})},WW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of HW(a))!T2.call(r,s)&&s!==o&&e_(r,s,{get:()=>a[s],enumerable:!(l=FW(a,s))||l.enumerable});return r},qW=r=>WW(e_({},"__esModule",{value:!0}),r),$a=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},c=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((o=o.apply(r,a)).next())}),yR=function(r,a){this[0]=r,this[1]=a},YW=(r,a,o)=>{var l=(c,h,p,v)=>{try{var b=o[c](h),y=(h=b.value)instanceof yR,x=b.done;Promise.resolve(y?h[0]:h).then(w=>y?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,v):p({value:w,done:x})).catch(w=>l("throw",w,p,v))}catch(w){v(w)}},s=c=>d[c]=h=>new Promise((p,v)=>l(c,h,p,v)),d={};return o=o.apply(r,a),d[k2("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},$W=(r,a,o)=>(a=r[k2("asyncIterator")])?a.call(r):(r=r[k2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((c,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(v=>c({value:v,done:p}),h)))),o("next"),o("return"),a),SR={};VW(SR,{Fetcher:()=>aa,Filer:()=>xn,Server:()=>E2,Time:()=>Vr,UUID:()=>cd,default:()=>iq,useStore:()=>t_});wR.exports=qW(SR);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(d){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Jg(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Jg(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Jg(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Jg(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return o.length!=4||d.push(o),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let d of o){if(!d)break;s=(l=(s||{})[d||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){s=s||"";let d=this.every(p=>{let v=Number(r(p,s.split(".")));return typeof v=="number"&&!isNaN(v)}),c=r(o,s.split(".")),h=r(l,s.split("."));if(d){if(c=Number(c),h=Number(h),c>h)return 1;if(c<h)return-1}else{if(c=String(c).replace(/(\d+)/g,p=>p.padStart(18,"0")),h=String(h).replace(/(\d+)/g,p=>p.padStart(18,"0")),c>h)return 1;if(c<h)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>o(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var GW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),cd=GW;cd.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");cd.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};cd.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var KW=r=>new Be.prototype.jmini(r),Be=KW;Be.prototype={};Be.extend=function(r,a=Be){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Be.expando="__jmini_"+cd();var Ya=(r,a)=>(r.queue.push(a),R2(r),r),R2=r=>$a(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,R2(r)}}),du=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},XW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Be.expando]||(Be.is.element(l)||Be.is.shadowRoot(l))&&(l[Be.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,R2(r),r};Be.extend({constructor:Be,jmini:function(r){return this.src=r,this.srcType=Be.is.what(r),this.queueProcess=!0,this.queue=[],XW(this,Be.is.jmini(r)?r.get():Be.is.element(r)?[r]:Be.is.elements(r)?r:Be.is.shadowRoot(r)?[r]:Be.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Be.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Be.prototype.jmini.prototype=Be.prototype;{let r=function(s,d,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,c)=>{if(!(Be.is.element(d)||Be.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[c]=h}),s),o=(s,d)=>(Be(d).for(c=>{if(s&&(Be.is.element(c)||Be.is.shadowRoot(c)))if(Be.is.string(s)||Be.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(Be.is.element(s))c.appendChild(s);else{Be.is.jmini(s)?s=s.get():Be.is.element(s)?s=[s]:Be.is.keyValueDictionary(s)&&(s=[Be(s)]);for(var h=0;h<s.length;h++)o(s[h],c)}}),d),l=(s,d,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(v=>{if(Be.is.string(c[0]))v.insertAdjacentHTML(h,c[0]);else{if(!v.parentNode)return;Be(c[0]).for(b=>{c[1]&&(b=b.cloneNode(!0)),v.parentNode.insertBefore(b,v[p]||v)})}}),s};Be.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let c=r(this,(h,p)=>s(h,p),1);return d?c:[]},await:function(s){return Ya(this,()=>new Promise((d,c)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ya(this,()=>$a(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ya(this,()=>$a(this,null,function*(){return yield s(this),this}))},click:function(){return Ya(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Be.is.element(d)&&d.click()}return this})},focus:function(){return Ya(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Be.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ya(this,()=>{let{eventType:d,eventID:c=cd(),target:h,callback:p,options:v}=s;return v=fu({passive:!0,capture:!1},v),this.for(b=>{if(!(Be.is.element(b)||Be.is.shadowRoot(b)))return;let{events:y}=b[Be.expando];if(h){let x=p;p=w=>{if(w.target){if(Be.is.string(h)){let R=w.target.closest(h);R&&(!R||x.call(R,w))}else if(Be.is.elements(h)){for(let R of h)if(w.target==R)return x.call(R,w)}}}}if(y[c]){let x=y[c];b.removeEventListener(x.eventType,x.callback,x.options)}y[c]={eventType:d,callback:p,options:v},b.addEventListener(d,p,v)}),this})},removeEvent:function(s){return Ya(this,()=>{let d=Be.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[Be.expando];for(let p of d){let v=h[p];v&&c.removeEventListener(v.eventType,v.callback,v.options)}}),this})},html:function(s){return Ya(this,()=>du(this,o(s,a(this))))},empty:function(){return Ya(this,()=>du(this,a(this)))},append:function(s){return Ya(this,()=>{o(s,this)})},remove:function(){return Ya(this,()=>(this.for((s,d)=>{s&&Be.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ya(this,()=>du(this,l(this,"before",...s)))},after:function(...s){return Ya(this,()=>du(this,l(this,"after",...s)))},find:function(s){return Ya(this,()=>{let d=[],c=this[0];c||du(this,Be()),(Be.is.element(c)||Be.is.shadowRoot(c))&&(Be.is.string(s)?d=c.querySelectorAll(s):Be.is.element(c)&&Be(s).for(h=>{let p=c.childNodes;for(let v of p)if(v===h){d.push(v);break}else v.childNodes.length&&(d=[...d,...Be(v).find(h).for(b=>b)])})),du(this,Be(d))})},parent:function(s){return Ya(this,()=>{var d,c;let h=Be(s?(d=this[0])==null?void 0:d.closest(s):(c=this[0])==null?void 0:c.parentNode);du(this,h)})},children:function(s){return Ya(this,()=>{let d=this[0].children;Be.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let c=Be(d);return du(this,c)})},addClass:function(s){return Ya(this,()=>(s&&this.for(d=>{let c=Be.is.string(s)?s.split(" "):s;d&&Be.is.element(d)&&d.classList.add(...c)}),this))},removeClass:function(s){return Ya(this,()=>(s&&this.for(d=>{let c=Be.is.string(s)?s.split(" "):s;d&&Be.is.element(d)&&d.classList.remove(...c)}),this))},toggleClass:function(s){return Ya(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(c=>c.match(s))),d},css:function(s){return Ya(this,()=>(this.for(d=>{if(Be.is.element(d))for(let[c,h]of Object.entries(s)){if(Be.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){d.style[c]=h+"px";continue}d.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ya(this,()=>(this.for(c=>c.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&Be.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let c=this[0];return c&&Be.is.element(c)&&c.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return Be.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Be.flatArray=(r,a)=>{if(!Be.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Be.flatArray(l,"-R"):[l]);return o};Be.Stringify=JSON.stringify;Be.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Be.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let d=Math.round(Math.random()*(l.length-1))+0;return l[d]};Be.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Be.trySync=r=>$a(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Be.scope=r=>r();Be.scopeSync=r=>$a(void 0,null,function*(){return yield r()});Be.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:d,attr:c,style:h,parent:p}=r,v=document.createElement(o||"div");if(l&&v.classList.add(...l.split(" ")),s&&(v.id=s),c)for(let x of Object.entries(c)){let w=x[0],R=(a=x[1])!=null?a:"";if(w=="data"&&Be.is.keyValueDictionary(R))for(let[N,M]of Object.entries(R))v.dataset[N]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),v[w]=R}if(d&&Be(v).append(d),h)for(var[b,y]of Object.entries(h))v.style[b]=y;return p&&Be(p).append(v),v};Be.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:d="/",domain:c=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${d}domain=${c}`;h&&(p+=" Secure"),document.cookie=p};Be.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Be.localStrage={set:(r,a)=>{localStorage.setItem(r,Be.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Be.Objectify(a,a)}};Be.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Be.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d}=window,c=Number(Be(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Be(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d,safeAreaTop:c,safeAreaBottom:h}};Be.getCursor=r=>{var a,o,l,s,d,c,h,p;let v=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:v,y:b}};Be.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)});Be.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Be.is.keyValueDictionary(r)&&Be.is.keyValueDictionary(o))for(let l in o)Be.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Be.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Be.deepMerge(r,...a)};Be.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Be.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Be.is={equal:function(r,a,o){return o==null||o?Be.Stringify(r)===Be.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===Be},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var QW=r=>new Vr.prototype.Time(r),Vr=QW;Vr.prototype={};var JW=function(r){Vr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};Be.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Vr,Time:JW,clone:function(){return Vr(this)},set:function(r){this.value=r;let a=Be.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),d=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(d/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),d=Math.ceil(s/(1e3*60*60*24)),c=Math.ceil(d/7);this.weekInMonth=c}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Vr(r);return this.year==a.year},isSameMonth:function(r){let a=Vr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Vr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Vr(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Vr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Vr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Vr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Vr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Vr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Vr(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||Vr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Vr);Vr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Vr};Vr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Vr(a+" 00:00")};Vr.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Vr(s).addYear(1):r=="month"?s=Vr(s).addMonth(1):r=="week"?s=Vr(s).addWeek(1):r=="day"?s=Vr(s).addDate(1):r=="hours"?s=Vr(s).addHours(1):r=="minutes"?s=Vr(s).addMinutes(1):r=="seconds"&&(s=Vr(s).addSeconds(1));return l};Vr.prototype.Time.prototype=Vr.prototype;var vc={},t_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let d=vc[l]||{};d&&d.privateKey&&d.privateKey!=a&&(o=!1),vc[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var d;let c=vc[l]||{};c&&c.privateKey&&c.privateKey!=a&&(o=!1),vc[l]=bR(fu({},vc[l]),{value:fu(fu({},(d=vc[l])==null?void 0:d.value),s)})}),o},get:(r,a)=>{let o=vc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=vc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete vc[r],!0)}},ZW=(...[r,a,o])=>new Ao.prototype.Interval(r,a,o),Ao=ZW;Ao.prototype={};var eq=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Ao.abort(this.key),this.store(),this};Be.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:eq,store:function(){t_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return Ao.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},Ao);Ao.abort=r=>{if(Be.is.number(r))return clearInterval(r);let a=t_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Ao.get=r=>t_.get("Interval_"+r);Ao.once=(r,a,o)=>Ao(r,a,o).once();Ao.start=(r,a,o)=>Ao(r,a,o).start();Ao.prototype.Interval.prototype=Ao.prototype;var tq=(r,a)=>new aa.prototype.Fetcher(r,a),aa=tq;aa.prototype={};aa.waitList=[];aa.setDefaultTrafficControl=0;aa.setDefaultTimeout=1e3*60*10;aa.isReadableStream=r=>r instanceof ReadableStream;aa.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;aa.streamToContext=(r,a)=>$a(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!aa.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var rq=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Be.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Be.Stringify(a.body||{}));let s=r;return Be.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=bR(fu({key:cd(),response_format:"json",timeout:aa.setDefaultTimeout,trafficControl:aa.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:fu(fu({"Content-Type":"application/json"},aa.setDefaultHeaders&&aa.setDefaultHeaders()),a.headers),body:l}),this};Be.extend({Fetcher:rq,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return $a(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:d}=r,c=a.body,h=this,p=function(){return YW(this,null,function*(){if(!a.ok){Be.scope(()=>$a(this,null,function*(){let{ok:R,done:N,data:M}=yield aa.streamToContext(c,{reader:s,decoder:d});R&&o(M)}));return}let w=!1;for(;!w;){let{ok:R,done:N,data:M}=yield new yR(aa.streamToContext(c,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),N=!0):h.streamStatus=="closed"&&(N=!0),N&&(w=N,s.releaseLock()),l(M,N)}})};try{for(var v=$W(p()),b,y,x;b=!(y=yield v.next()).done;b=!1){let w=y.value}}catch(w){x=[w]}finally{try{b&&(y=v.return)&&(yield y.call(v))}finally{if(x)throw x[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return $a(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",v={},b=null;try{aa.setDefaultOnStart&&aa.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let x=a,{key:w,response_format:R,trafficControl:N,preventMultiRequest:M,timeout:G,queries:P}=x,U=UW(x,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);U.method=this.method;let H=aa.waitList.includes(w);if(M&&H)throw h=429,new Error("TooManyRequests");aa.waitList=[...aa.waitList,w];let J=Be.queryParams.set(fu({},P),String(this.url));v=yield fetch(J,U).then(I=>$a(this,null,function*(){return c=I.ok,h=I.status,p=I.statusText,b=I,R=="none"||R=="stream"?I:I[R]()})).catch(I=>{throw new Error(I)})}catch(x){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(x)||p),v={errorCode:String(x)}}finally{clearTimeout(d),l=performance.now()-o}a.trafficControl&&(yield Be.pending(()=>{},a.trafficControl)),aa.waitList.splice(aa.waitList.findIndex(x=>x==a.key),1);let y={ok:c,status:h,statusText:p,body:v,requestTime:l,rawData:b};if(!c&&this.onErrorCB&&this.onErrorCB(y.body),c&&this.onStreamCB&&a.response_format=="stream"){let x=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:y,reader:x,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(y.body),this.onResultCB&&this.onResultCB(y,a),aa.setDefaultOnEnd&&aa.setDefaultOnEnd(y,a),y})},abortStream:function(){this.streamStatus="abort"}},aa);aa.prototype.Fetcher.prototype=aa.prototype;var aq=r=>new xn.prototype.Filer(r),xn=aq;xn.prototype={};var nq=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};Be.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:nq,isValid:function(){return this.ok},toBlob:function(){return $a(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return $a(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return $a(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return $a(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},xn);xn.fromFile=r=>$a(void 0,null,function*(){return xn(r)});xn.fromBlob=(r,a)=>$a(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return xn(s)});xn.fromArrayBuffer=(r,a)=>$a(void 0,null,function*(){return xn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});xn.fromObjectURL=(r,a)=>$a(void 0,null,function*(){let o=yield aa(r,{response_format:"blob"}).get();return o.ok?xn.fromBlob(o.body,a):xn({})});xn.fromDataURL=(r,a)=>$a(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?xn.fromBlob(o,a):xn({})});xn.prototype.Filer.prototype=xn.prototype;var oq=function(r){let a=r,o=null;return a.use((l,s,d)=>{let c=s;c.return=h=>{let{status:p=200,body:v={},bodyStringify:b=!0}=h||{},y=v;return b&&!Be.is.string(v)&&(y=Be.Stringify(v)),s.status(p).end(y)},d()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},E2=oq;E2.getLocalIP=r=>{let a="";return Be.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a};E2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};Be.copyToClipboard=r=>$a(void 0,null,function*(){let a="";Be.is.string(r)?a=r:Be.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield $a(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(Be(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Be.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=d=>l(d),s.src=r});Be.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};Be.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:d,To:c,name:h}=s;if(d<=r&&r<=c){let p=r-d+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Be.interval=Ao;aa.setDefaultHeaders=()=>({});var iq=Be});var RR=qe(a_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),R=Symbol.iterator,N="@@iterator";function M(L){if(L===null||typeof L!="object")return null;var Y=R&&L[R]||L[N];return typeof Y=="function"?Y:null}var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(L){{for(var Y=arguments.length,me=new Array(Y>1?Y-1:0),Ee=1;Ee<Y;Ee++)me[Ee-1]=arguments[Ee];U("error",L,me)}}function U(L,Y,me){{var Ee=G.ReactDebugCurrentFrame,We=Ee.getStackAddendum();We!==""&&(Y+="%s",me=me.concat([We]));var mt=me.map(function(rt){return String(rt)});mt.unshift("Warning: "+Y),Function.prototype.apply.call(console[L],console,mt)}}var H=!1,J=!1,I=!1,re=!1,ge=!1,ne;ne=Symbol.for("react.module.reference");function ke(L){return!!(typeof L=="string"||typeof L=="function"||L===l||L===d||ge||L===s||L===v||L===b||re||L===w||H||J||I||typeof L=="object"&&L!==null&&(L.$$typeof===x||L.$$typeof===y||L.$$typeof===c||L.$$typeof===h||L.$$typeof===p||L.$$typeof===ne||L.getModuleId!==void 0))}function xe(L,Y,me){var Ee=L.displayName;if(Ee)return Ee;var We=Y.displayName||Y.name||"";return We!==""?me+"("+We+")":me}function ye(L){return L.displayName||"Context"}function V(L){if(L==null)return null;if(typeof L.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case h:var Y=L;return ye(Y)+".Consumer";case c:var me=L;return ye(me._context)+".Provider";case p:return xe(L,L.render,"ForwardRef");case y:var Ee=L.displayName||null;return Ee!==null?Ee:V(L.type)||"Memo";case x:{var We=L,mt=We._payload,rt=We._init;try{return V(rt(mt))}catch(Ze){return null}}}return null}var se=Object.assign,pe=0,j,$,oe,ee,ue,Ce,Se;function Ie(){}Ie.__reactDisabledLog=!0;function Ge(){{if(pe===0){j=console.log,$=console.info,oe=console.warn,ee=console.error,ue=console.group,Ce=console.groupCollapsed,Se=console.groupEnd;var L={configurable:!0,enumerable:!0,value:Ie,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}pe++}}function Qe(){{if(pe--,pe===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},L,{value:j}),info:se({},L,{value:$}),warn:se({},L,{value:oe}),error:se({},L,{value:ee}),group:se({},L,{value:ue}),groupCollapsed:se({},L,{value:Ce}),groupEnd:se({},L,{value:Se})})}pe<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yt=G.ReactCurrentDispatcher,Ht;function pt(L,Y,me){{if(Ht===void 0)try{throw Error()}catch(We){var Ee=We.stack.trim().match(/\n( *(at )?)/);Ht=Ee&&Ee[1]||""}return`
|
|
149
|
+
`+('Please change the parent <Route path="'+Ue+'"> to <Route ')+('path="'+(Ue==="/"?"*":Ue+"/*")+'">.'))}let Ne=N(),tt;if(te){var z;let Ue=typeof te=="string"?o.parsePath(te):te;Fe==="/"||(z=Ue.pathname)!=null&&z.startsWith(Fe)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Fe+'" ')+('but pathname "'+Ue.pathname+'" was given in the `location` prop.')),tt=Ue}else tt=Ne;let q=tt.pathname||"/",ae=q;if(Fe!=="/"){let Ue=Fe.replace(/^\//,"").split("/");ae="/"+q.replace(/^\//,"").split("/").slice(Ue.length).join("/")}let ce=o.matchRoutes(O,{pathname:ae});o.UNSAFE_warning(Ke||ce!=null,'No routes matched location "'+tt.pathname+tt.search+tt.hash+'" '),o.UNSAFE_warning(ce==null||ce[ce.length-1].route.element!==void 0||ce[ce.length-1].route.Component!==void 0||ce[ce.length-1].route.lazy!==void 0,'Matched leaf route at location "'+tt.pathname+tt.search+tt.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let $e=$(ce&&ce.map(Ue=>Object.assign({},Ue,{params:Object.assign({},Me,Ue.params),pathname:o.joinPaths([Fe,K.encodeLocation?K.encodeLocation(Ue.pathname).pathname:Ue.pathname]),pathnameBase:Ue.pathnameBase==="/"?Fe:o.joinPaths([Fe,K.encodeLocation?K.encodeLocation(Ue.pathnameBase).pathname:Ue.pathnameBase])})),he,A,F);return te&&$e?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},tt),navigationType:o.Action.Pop}},$e):$e}function V(){let O=Te(),te=o.isRouteErrorResponse(O)?O.status+" "+O.statusText:O instanceof Error?O.message:JSON.stringify(O),A=O instanceof Error?O.stack:null,F="rgba(200,200,200, 0.5)",K={padding:"0.5rem",backgroundColor:F},he={padding:"2px 4px",backgroundColor:F},ie=null;return console.error("Error handled by React Router default ErrorBoundary:",O),ie=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:he},"ErrorBoundary")," or"," ",s.createElement("code",{style:he},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},te),A?s.createElement("pre",{style:K},A):null,ie)}let se=s.createElement(V,null);class pe extends s.Component{constructor(te){super(te),this.state={location:te.location,revalidation:te.revalidation,error:te.error}}static getDerivedStateFromError(te){return{error:te}}static getDerivedStateFromProps(te,A){return A.location!==te.location||A.revalidation!=="idle"&&te.revalidation==="idle"?{error:te.error,location:te.location,revalidation:te.revalidation}:{error:te.error!==void 0?te.error:A.error,location:A.location,revalidation:te.revalidation||A.revalidation}}componentDidCatch(te,A){console.error("React Router caught the following error during render",te,A)}render(){return this.state.error!==void 0?s.createElement(y.Provider,{value:this.props.routeContext},s.createElement(x.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function j(O){let{routeContext:te,match:A,children:F}=O,K=s.useContext(c);return K&&K.static&&K.staticContext&&(A.route.errorElement||A.route.ErrorBoundary)&&(K.staticContext._deepestRenderedBoundaryId=A.route.id),s.createElement(y.Provider,{value:te},F)}function $(O,te,A,F){var K;if(te===void 0&&(te=[]),A===void 0&&(A=null),F===void 0&&(F=null),O==null){var he;if(!A)return null;if(A.errors)O=A.matches;else if((he=F)!=null&&he.v7_partialHydration&&te.length===0&&!A.initialized&&A.matches.length>0)O=A.matches;else return null}let ie=O,Me=(K=A)==null?void 0:K.errors;if(Me!=null){let Ke=ie.findIndex(Ne=>Ne.route.id&&(Me==null?void 0:Me[Ne.route.id])!==void 0);Ke>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Me).join(",")),ie=ie.slice(0,Math.min(ie.length,Ke+1))}let ze=!1,Fe=-1;if(A&&F&&F.v7_partialHydration)for(let Ke=0;Ke<ie.length;Ke++){let Ne=ie[Ke];if((Ne.route.HydrateFallback||Ne.route.hydrateFallbackElement)&&(Fe=Ke),Ne.route.id){let{loaderData:tt,errors:z}=A,q=Ne.route.loader&&tt[Ne.route.id]===void 0&&(!z||z[Ne.route.id]===void 0);if(Ne.route.lazy||q){ze=!0,Fe>=0?ie=ie.slice(0,Fe+1):ie=[ie[0]];break}}}return ie.reduceRight((Ke,Ne,tt)=>{let z,q=!1,ae=null,ce=null;A&&(z=Me&&Ne.route.id?Me[Ne.route.id]:void 0,ae=Ne.route.errorElement||se,ze&&(Fe<0&&tt===0?(kr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,ce=null):Fe===tt&&(q=!0,ce=Ne.route.hydrateFallbackElement||null)));let $e=te.concat(ie.slice(0,tt+1)),Ue=()=>{let L;return z?L=ae:q?L=ce:Ne.route.Component?L=s.createElement(Ne.route.Component,null):Ne.route.element?L=Ne.route.element:L=Ke,s.createElement(j,{match:Ne,routeContext:{outlet:Ke,matches:$e,isDataRoute:A!=null},children:L})};return A&&(Ne.route.ErrorBoundary||Ne.route.errorElement||tt===0)?s.createElement(pe,{location:A.location,revalidation:A.revalidation,component:ae,error:z,children:Ue(),routeContext:{outlet:null,matches:$e,isDataRoute:!0}}):Ue()},null)}var oe=function(O){return O.UseBlocker="useBlocker",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O}(oe||{}),ee=function(O){return O.UseBlocker="useBlocker",O.UseLoaderData="useLoaderData",O.UseActionData="useActionData",O.UseRouteError="useRouteError",O.UseNavigation="useNavigation",O.UseRouteLoaderData="useRouteLoaderData",O.UseMatches="useMatches",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O.UseRouteId="useRouteId",O}(ee||{});function ue(O){return O+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Ce(O){let te=s.useContext(c);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Se(O){let te=s.useContext(h);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Ie(O){let te=s.useContext(y);return te||o.UNSAFE_invariant(!1,ue(O)),te}function Ge(O){let te=Ie(O),A=te.matches[te.matches.length-1];return A.route.id||o.UNSAFE_invariant(!1,O+' can only be used on routes that contain a unique "id"'),A.route.id}function Qe(){return Ge(ee.UseRouteId)}function yt(){return Se(ee.UseNavigation).navigation}function Ht(){let O=Ce(oe.UseRevalidator),te=Se(ee.UseRevalidator);return s.useMemo(()=>({revalidate:O.router.revalidate,state:te.revalidation}),[O.router.revalidate,te.revalidation])}function pt(){let{matches:O,loaderData:te}=Se(ee.UseMatches);return s.useMemo(()=>O.map(A=>o.UNSAFE_convertRouteMatchToUiMatch(A,te)),[O,te])}function kt(){let O=Se(ee.UseLoaderData),te=Ge(ee.UseLoaderData);if(O.errors&&O.errors[te]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+te+")");return}return O.loaderData[te]}function vt(O){return Se(ee.UseRouteLoaderData).loaderData[O]}function it(){let O=Se(ee.UseActionData),te=Ge(ee.UseLoaderData);return O.actionData?O.actionData[te]:void 0}function Te(){var O;let te=s.useContext(x),A=Se(ee.UseRouteError),F=Ge(ee.UseRouteError);return te!==void 0?te:(O=A.errors)==null?void 0:O[F]}function Rt(){let O=s.useContext(p);return O==null?void 0:O._data}function Ut(){let O=s.useContext(p);return O==null?void 0:O._error}let Qt=0;function Yt(O){let{router:te,basename:A}=Ce(oe.UseBlocker),F=Se(ee.UseBlocker),[K,he]=s.useState(""),ie=s.useCallback(Me=>{if(typeof O!="function")return!!O;if(A==="/")return O(Me);let{currentLocation:ze,nextLocation:Fe,historyAction:Ke}=Me;return O({currentLocation:d({},ze,{pathname:o.stripBasename(ze.pathname,A)||ze.pathname}),nextLocation:d({},Fe,{pathname:o.stripBasename(Fe.pathname,A)||Fe.pathname}),historyAction:Ke})},[A,O]);return s.useEffect(()=>{let Me=String(++Qt);return he(Me),()=>te.deleteBlocker(Me)},[te]),s.useEffect(()=>{K!==""&&te.getBlocker(K,ie)},[te,K,ie]),K&&F.blockers.has(K)?F.blockers.get(K):o.IDLE_BLOCKER}function lr(){let{router:O}=Ce(oe.UseNavigateStable),te=Ge(ee.UseNavigateStable),A=s.useRef(!1);return U(()=>{A.current=!0}),s.useCallback(function(K,he){he===void 0&&(he={}),o.UNSAFE_warning(A.current,P),A.current&&(typeof K=="number"?O.navigate(K):O.navigate(K,d({fromRouteId:te},he)))},[O,te])}let pr={};function kr(O,te,A){!te&&!pr[O]&&(pr[O]=!0,o.UNSAFE_warning(!1,A))}let Wr=s["startTransition"];function Kr(O){let{fallbackElement:te,router:A,future:F}=O,[K,he]=s.useState(A.state),{v7_startTransition:ie}=F||{},Me=s.useCallback(Ne=>{ie&&Wr?Wr(()=>he(Ne)):he(Ne)},[he,ie]);s.useLayoutEffect(()=>A.subscribe(Me),[A,Me]),s.useEffect(()=>{o.UNSAFE_warning(te==null||!A.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ze=s.useMemo(()=>({createHref:A.createHref,encodeLocation:A.encodeLocation,go:Ne=>A.navigate(Ne),push:(Ne,tt,z)=>A.navigate(Ne,{state:tt,preventScrollReset:z==null?void 0:z.preventScrollReset}),replace:(Ne,tt,z)=>A.navigate(Ne,{replace:!0,state:tt,preventScrollReset:z==null?void 0:z.preventScrollReset})}),[A]),Fe=A.basename||"/",Ke=s.useMemo(()=>({router:A,navigator:ze,static:!1,basename:Fe}),[A,ze,Fe]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:Ke},s.createElement(h.Provider,{value:K},s.createElement(Lr,{basename:Fe,location:K.location,navigationType:K.historyAction,navigator:ze,future:{v7_relativeSplatPath:A.future.v7_relativeSplatPath}},K.initialized||A.future.v7_partialHydration?s.createElement(hr,{routes:A.routes,future:A.future,state:K}):te))),null)}function hr(O){let{routes:te,future:A,state:F}=O;return ye(te,void 0,F,A)}function Tr(O){let{basename:te,children:A,initialEntries:F,initialIndex:K,future:he}=O,ie=s.useRef();ie.current==null&&(ie.current=o.createMemoryHistory({initialEntries:F,initialIndex:K,v5Compat:!0}));let Me=ie.current,[ze,Fe]=s.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ke}=he||{},Ne=s.useCallback(tt=>{Ke&&Wr?Wr(()=>Fe(tt)):Fe(tt)},[Fe,Ke]);return s.useLayoutEffect(()=>Me.listen(Ne),[Me,Ne]),s.createElement(Lr,{basename:te,children:A,location:ze.location,navigationType:ze.action,navigator:Me,future:he})}function Pr(O){let{to:te,replace:A,state:F,relative:K}=O;R()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:he,static:ie}=s.useContext(v);o.UNSAFE_warning(!ie,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Me}=s.useContext(y),{pathname:ze}=N(),Fe=H(),Ke=o.resolveTo(te,o.UNSAFE_getResolveToMatches(Me,he.v7_relativeSplatPath),ze,K==="path"),Ne=JSON.stringify(Ke);return s.useEffect(()=>Fe(JSON.parse(Ne),{replace:A,state:F,relative:K}),[Fe,Ne,K,A,F]),null}function ba(O){return ge(O.context)}function mr(O){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Lr(O){let{basename:te="/",children:A=null,location:F,navigationType:K=o.Action.Pop,navigator:he,static:ie=!1,future:Me}=O;R()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let ze=te.replace(/^\/*/,"/"),Fe=s.useMemo(()=>({basename:ze,navigator:he,static:ie,future:d({v7_relativeSplatPath:!1},Me)}),[ze,Me,he,ie]);typeof F=="string"&&(F=o.parsePath(F));let{pathname:Ke="/",search:Ne="",hash:tt="",state:z=null,key:q="default"}=F,ae=s.useMemo(()=>{let ce=o.stripBasename(Ke,ze);return ce==null?null:{location:{pathname:ce,search:Ne,hash:tt,state:z,key:q},navigationType:K}},[ze,Ke,Ne,tt,z,q,K]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+ze+'"> is not able to match the URL '+('"'+Ke+Ne+tt+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(v.Provider,{value:Fe},s.createElement(b.Provider,{children:A,value:ae}))}function Mr(O){let{children:te,location:A}=O;return xe($t(te),A)}function wa(O){let{children:te,errorElement:A,resolve:F}=O;return s.createElement(St,{resolve:F,errorElement:A},s.createElement(Xt,null,te))}var He=function(O){return O[O.pending=0]="pending",O[O.success=1]="success",O[O.error=2]="error",O}(He||{});let ut=new Promise(()=>{});class St extends s.Component{constructor(te){super(te),this.state={error:null}}static getDerivedStateFromError(te){return{error:te}}componentDidCatch(te,A){console.error("<Await> caught the following error during render",te,A)}render(){let{children:te,errorElement:A,resolve:F}=this.props,K=null,he=He.pending;if(!(F instanceof Promise))he=He.success,K=Promise.resolve(),Object.defineProperty(K,"_tracked",{get:()=>!0}),Object.defineProperty(K,"_data",{get:()=>F});else if(this.state.error){he=He.error;let ie=this.state.error;K=Promise.reject().catch(()=>{}),Object.defineProperty(K,"_tracked",{get:()=>!0}),Object.defineProperty(K,"_error",{get:()=>ie})}else F._tracked?(K=F,he="_error"in K?He.error:"_data"in K?He.success:He.pending):(he=He.pending,Object.defineProperty(F,"_tracked",{get:()=>!0}),K=F.then(ie=>Object.defineProperty(F,"_data",{get:()=>ie}),ie=>Object.defineProperty(F,"_error",{get:()=>ie})));if(he===He.error&&K._error instanceof o.AbortedDeferredError)throw ut;if(he===He.error&&!A)throw K._error;if(he===He.error)return s.createElement(p.Provider,{value:K,children:A});if(he===He.success)return s.createElement(p.Provider,{value:K,children:te});throw K}}function Xt(O){let{children:te}=O,A=Rt(),F=typeof te=="function"?te(A):te;return s.createElement(s.Fragment,null,F)}function $t(O,te){te===void 0&&(te=[]);let A=[];return s.Children.forEach(O,(F,K)=>{if(!s.isValidElement(F))return;let he=[...te,K];if(F.type===s.Fragment){A.push.apply(A,$t(F.props.children,he));return}F.type!==mr&&o.UNSAFE_invariant(!1,"["+(typeof F.type=="string"?F.type:F.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!F.props.index||!F.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ie={id:F.props.id||he.join("-"),caseSensitive:F.props.caseSensitive,element:F.props.element,Component:F.props.Component,index:F.props.index,path:F.props.path,loader:F.props.loader,action:F.props.action,errorElement:F.props.errorElement,ErrorBoundary:F.props.ErrorBoundary,hasErrorBoundary:F.props.ErrorBoundary!=null||F.props.errorElement!=null,shouldRevalidate:F.props.shouldRevalidate,handle:F.props.handle,lazy:F.props.lazy};F.props.children&&(ie.children=$t(F.props.children,he)),A.push(ie)}),A}function Rr(O){return $(O)}function _r(O){let te={hasErrorBoundary:O.ErrorBoundary!=null||O.errorElement!=null};return O.Component&&(O.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(te,{element:s.createElement(O.Component),Component:void 0})),O.HydrateFallback&&(O.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(te,{hydrateFallbackElement:s.createElement(O.HydrateFallback),HydrateFallback:void 0})),O.ErrorBoundary&&(O.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(te,{errorElement:s.createElement(O.ErrorBoundary),ErrorBoundary:void 0})),te}function Xr(O,te){return o.createRouter({basename:te==null?void 0:te.basename,future:d({},te==null?void 0:te.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:te==null?void 0:te.initialEntries,initialIndex:te==null?void 0:te.initialIndex}),hydrationData:te==null?void 0:te.hydrationData,routes:O,mapRouteProperties:_r,unstable_dataStrategy:te==null?void 0:te.unstable_dataStrategy,unstable_patchRoutesOnMiss:te==null?void 0:te.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=wa,r.MemoryRouter=Tr,r.Navigate=Pr,r.Outlet=ba,r.Route=mr,r.Router=Lr,r.RouterProvider=Kr,r.Routes=Mr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=v,r.UNSAFE_RouteContext=y,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Qe,r.UNSAFE_useRoutesImpl=ye,r.createMemoryRouter=Xr,r.createRoutesFromChildren=$t,r.createRoutesFromElements=$t,r.renderMatches=Rr,r.useActionData=it,r.useAsyncError=Ut,r.useAsyncValue=Rt,r.useBlocker=Yt,r.useHref=w,r.useInRouterContext=R,r.useLoaderData=kt,r.useLocation=N,r.useMatch=G,r.useMatches=pt,r.useNavigate=H,r.useNavigation=yt,r.useNavigationType=M,r.useOutlet=ge,r.useOutletContext=re,r.useParams=ne,r.useResolvedPath=ke,r.useRevalidator=Ht,r.useRouteError=Te,r.useRouteLoaderData=vt,r.useRoutes=xe,Object.defineProperty(r,"__esModule",{value:!0})})});var fR=qe((SG,dR)=>{"use strict";dR.exports=uR()});var hR=qe((Qg,pR)=>{(function(r,a){typeof Qg=="object"&&typeof pR!="undefined"?a(Qg,fr(),u2(),fR(),x2()):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter))})(Qg,function(r,a,o,l,s){"use strict";function d(A){if(A&&A.__esModule)return A;var F=Object.create(null);return A&&Object.keys(A).forEach(function(K){if(K!=="default"){var he=Object.getOwnPropertyDescriptor(A,K);Object.defineProperty(F,K,he.get?he:{enumerable:!0,get:function(){return A[K]}})}}),F.default=A,Object.freeze(F)}var c=d(a),h=d(o);function p(){return p=Object.assign?Object.assign.bind():function(A){for(var F=1;F<arguments.length;F++){var K=arguments[F];for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&(A[he]=K[he])}return A},p.apply(this,arguments)}function v(A,F){if(A==null)return{};var K={},he=Object.keys(A),ie,Me;for(Me=0;Me<he.length;Me++)ie=he[Me],!(F.indexOf(ie)>=0)&&(K[ie]=A[ie]);return K}let b="get",y="application/x-www-form-urlencoded";function x(A){return A!=null&&typeof A.tagName=="string"}function w(A){return x(A)&&A.tagName.toLowerCase()==="button"}function R(A){return x(A)&&A.tagName.toLowerCase()==="form"}function N(A){return x(A)&&A.tagName.toLowerCase()==="input"}function M(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}function G(A,F){return A.button===0&&(!F||F==="_self")&&!M(A)}function P(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((F,K)=>{let he=A[K];return F.concat(Array.isArray(he)?he.map(ie=>[K,ie]):[[K,he]])},[]))}function U(A,F){let K=P(A);return F&&F.forEach((he,ie)=>{K.has(ie)||F.getAll(ie).forEach(Me=>{K.append(ie,Me)})}),K}let H=null;function J(){if(H===null)try{new FormData(document.createElement("form"),0),H=!1}catch(A){H=!0}return H}let I=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function re(A){return A!=null&&!I.has(A)?(s.UNSAFE_warning(!1,'"'+A+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+y+'"')),null):A}function ge(A,F){let K,he,ie,Me,ze;if(R(A)){let Fe=A.getAttribute("action");he=Fe?s.stripBasename(Fe,F):null,K=A.getAttribute("method")||b,ie=re(A.getAttribute("enctype"))||y,Me=new FormData(A)}else if(w(A)||N(A)&&(A.type==="submit"||A.type==="image")){let Fe=A.form;if(Fe==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Ke=A.getAttribute("formaction")||Fe.getAttribute("action");if(he=Ke?s.stripBasename(Ke,F):null,K=A.getAttribute("formmethod")||Fe.getAttribute("method")||b,ie=re(A.getAttribute("formenctype"))||re(Fe.getAttribute("enctype"))||y,Me=new FormData(Fe,A),!J()){let{name:Ne,type:tt,value:z}=A;if(tt==="image"){let q=Ne?Ne+".":"";Me.append(q+"x","0"),Me.append(q+"y","0")}else Ne&&Me.append(Ne,z)}}else{if(x(A))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');K=b,he=null,ie=y,ze=A}return Me&&ie==="text/plain"&&(ze=Me,Me=void 0),{action:he,method:K.toLowerCase(),encType:ie,formData:Me,body:ze}}let ne=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ke=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],xe=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ye="6";try{window.__reactRouterVersion=ye}catch(A){}function V(A,F){return s.createRouter({basename:F==null?void 0:F.basename,future:p({},F==null?void 0:F.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:F==null?void 0:F.window}),hydrationData:(F==null?void 0:F.hydrationData)||pe(),routes:A,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:F==null?void 0:F.unstable_dataStrategy,unstable_patchRoutesOnMiss:F==null?void 0:F.unstable_patchRoutesOnMiss,window:F==null?void 0:F.window}).initialize()}function se(A,F){return s.createRouter({basename:F==null?void 0:F.basename,future:p({},F==null?void 0:F.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:F==null?void 0:F.window}),hydrationData:(F==null?void 0:F.hydrationData)||pe(),routes:A,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:F==null?void 0:F.unstable_dataStrategy,unstable_patchRoutesOnMiss:F==null?void 0:F.unstable_patchRoutesOnMiss,window:F==null?void 0:F.window}).initialize()}function pe(){var A;let F=(A=window)==null?void 0:A.__staticRouterHydrationData;return F&&F.errors&&(F=p({},F,{errors:j(F.errors)})),F}function j(A){if(!A)return null;let F=Object.entries(A),K={};for(let[he,ie]of F)if(ie&&ie.__type==="RouteErrorResponse")K[he]=new s.UNSAFE_ErrorResponseImpl(ie.status,ie.statusText,ie.data,ie.internal===!0);else if(ie&&ie.__type==="Error"){if(ie.__subType){let Me=window[ie.__subType];if(typeof Me=="function")try{let ze=new Me(ie.message);ze.stack="",K[he]=ze}catch(ze){}}if(K[he]==null){let Me=new Error(ie.message);Me.stack="",K[he]=Me}}else K[he]=ie;return K}let $=c.createContext({isTransitioning:!1});$.displayName="ViewTransition";let oe=c.createContext(new Map);oe.displayName="Fetchers";let ue=c["startTransition"],Se=h["flushSync"],Ge=c["useId"];function Qe(A){ue?ue(A):A()}function yt(A){Se?Se(A):A()}class Ht{constructor(){this.status="pending",this.promise=new Promise((F,K)=>{this.resolve=he=>{this.status==="pending"&&(this.status="resolved",F(he))},this.reject=he=>{this.status==="pending"&&(this.status="rejected",K(he))}})}}function pt(A){let{fallbackElement:F,router:K,future:he}=A,[ie,Me]=c.useState(K.state),[ze,Fe]=c.useState(),[Ke,Ne]=c.useState({isTransitioning:!1}),[tt,z]=c.useState(),[q,ae]=c.useState(),[ce,$e]=c.useState(),Ue=c.useRef(new Map),{v7_startTransition:L}=he||{},Y=c.useCallback(Ze=>{L?Qe(Ze):Ze()},[L]),me=c.useCallback((Ze,Et)=>{let{deletedFetchers:At,unstable_flushSync:Gt,unstable_viewTransitionOpts:Qr}=Et;At.forEach(fa=>Ue.current.delete(fa)),Ze.fetchers.forEach((fa,pa)=>{fa.data!==void 0&&Ue.current.set(pa,fa.data)});let Wa=K.window==null||K.window.document==null||typeof K.window.document.startViewTransition!="function";if(!Qr||Wa){Gt?yt(()=>Me(Ze)):Y(()=>Me(Ze));return}if(Gt){yt(()=>{q&&(tt&&tt.resolve(),q.skipTransition()),Ne({isTransitioning:!0,flushSync:!0,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation})});let fa=K.window.document.startViewTransition(()=>{yt(()=>Me(Ze))});fa.finished.finally(()=>{yt(()=>{z(void 0),ae(void 0),Fe(void 0),Ne({isTransitioning:!1})})}),yt(()=>ae(fa));return}q?(tt&&tt.resolve(),q.skipTransition(),$e({state:Ze,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation})):(Fe(Ze),Ne({isTransitioning:!0,flushSync:!1,currentLocation:Qr.currentLocation,nextLocation:Qr.nextLocation}))},[K.window,q,tt,Ue,Y]);c.useLayoutEffect(()=>K.subscribe(me),[K,me]),c.useEffect(()=>{Ke.isTransitioning&&!Ke.flushSync&&z(new Ht)},[Ke]),c.useEffect(()=>{if(tt&&ze&&K.window){let Ze=ze,Et=tt.promise,At=K.window.document.startViewTransition(()=>Or(this,null,function*(){Y(()=>Me(Ze)),yield Et}));At.finished.finally(()=>{z(void 0),ae(void 0),Fe(void 0),Ne({isTransitioning:!1})}),ae(At)}},[Y,ze,tt,K.window]),c.useEffect(()=>{tt&&ze&&ie.location.key===ze.location.key&&tt.resolve()},[tt,q,ie.location,ze]),c.useEffect(()=>{!Ke.isTransitioning&&ce&&(Fe(ce.state),Ne({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}),$e(void 0))},[Ke.isTransitioning,ce]),c.useEffect(()=>{s.UNSAFE_warning(F==null||!K.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ee=c.useMemo(()=>({createHref:K.createHref,encodeLocation:K.encodeLocation,go:Ze=>K.navigate(Ze),push:(Ze,Et,At)=>K.navigate(Ze,{state:Et,preventScrollReset:At==null?void 0:At.preventScrollReset}),replace:(Ze,Et,At)=>K.navigate(Ze,{replace:!0,state:Et,preventScrollReset:At==null?void 0:At.preventScrollReset})}),[K]),We=K.basename||"/",mt=c.useMemo(()=>({router:K,navigator:Ee,static:!1,basename:We}),[K,Ee,We]),rt=c.useMemo(()=>({v7_relativeSplatPath:K.future.v7_relativeSplatPath}),[K.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:mt},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ie},c.createElement(oe.Provider,{value:Ue.current},c.createElement($.Provider,{value:Ke},c.createElement(l.Router,{basename:We,location:ie.location,navigationType:ie.historyAction,navigator:Ee,future:rt},ie.initialized||K.future.v7_partialHydration?c.createElement(kt,{routes:K.routes,future:K.future,state:ie}):F))))),null)}let kt=c.memo(vt);function vt(A){let{routes:F,future:K,state:he}=A;return l.UNSAFE_useRoutesImpl(F,void 0,he,K)}function it(A){let{basename:F,children:K,future:he,window:ie}=A,Me=c.useRef();Me.current==null&&(Me.current=s.createBrowserHistory({window:ie,v5Compat:!0}));let ze=Me.current,[Fe,Ke]=c.useState({action:ze.action,location:ze.location}),{v7_startTransition:Ne}=he||{},tt=c.useCallback(z=>{Ne&&ue?ue(()=>Ke(z)):Ke(z)},[Ke,Ne]);return c.useLayoutEffect(()=>ze.listen(tt),[ze,tt]),c.createElement(l.Router,{basename:F,children:K,location:Fe.location,navigationType:Fe.action,navigator:ze,future:he})}function Te(A){let{basename:F,children:K,future:he,window:ie}=A,Me=c.useRef();Me.current==null&&(Me.current=s.createHashHistory({window:ie,v5Compat:!0}));let ze=Me.current,[Fe,Ke]=c.useState({action:ze.action,location:ze.location}),{v7_startTransition:Ne}=he||{},tt=c.useCallback(z=>{Ne&&ue?ue(()=>Ke(z)):Ke(z)},[Ke,Ne]);return c.useLayoutEffect(()=>ze.listen(tt),[ze,tt]),c.createElement(l.Router,{basename:F,children:K,location:Fe.location,navigationType:Fe.action,navigator:ze,future:he})}function Rt(A){let{basename:F,children:K,future:he,history:ie}=A,[Me,ze]=c.useState({action:ie.action,location:ie.location}),{v7_startTransition:Fe}=he||{},Ke=c.useCallback(Ne=>{Fe&&ue?ue(()=>ze(Ne)):ze(Ne)},[ze,Fe]);return c.useLayoutEffect(()=>ie.listen(Ke),[ie,Ke]),c.createElement(l.Router,{basename:F,children:K,location:Me.location,navigationType:Me.action,navigator:ie,future:he})}Rt.displayName="unstable_HistoryRouter";let Ut=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Qt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yt=c.forwardRef(function(F,K){let{onClick:he,relative:ie,reloadDocument:Me,replace:ze,state:Fe,target:Ke,to:Ne,preventScrollReset:tt,unstable_viewTransition:z}=F,q=v(F,ne),{basename:ae}=c.useContext(l.UNSAFE_NavigationContext),ce,$e=!1;if(typeof Ne=="string"&&Qt.test(Ne)&&(ce=Ne,Ut))try{let me=new URL(window.location.href),Ee=Ne.startsWith("//")?new URL(me.protocol+Ne):new URL(Ne),We=s.stripBasename(Ee.pathname,ae);Ee.origin===me.origin&&We!=null?Ne=We+Ee.search+Ee.hash:$e=!0}catch(me){s.UNSAFE_warning(!1,'<Link to="'+Ne+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ue=l.useHref(Ne,{relative:ie}),L=Pr(Ne,{replace:ze,state:Fe,target:Ke,preventScrollReset:tt,relative:ie,unstable_viewTransition:z});function Y(me){he&&he(me),me.defaultPrevented||L(me)}return c.createElement("a",p({},q,{href:ce||Ue,onClick:$e||Me?he:Y,ref:K,target:Ke}))});Yt.displayName="Link";let lr=c.forwardRef(function(F,K){let{"aria-current":he="page",caseSensitive:ie=!1,className:Me="",end:ze=!1,style:Fe,to:Ke,unstable_viewTransition:Ne,children:tt}=F,z=v(F,ke),q=l.useResolvedPath(Ke,{relative:z.relative}),ae=l.useLocation(),ce=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:$e,basename:Ue}=c.useContext(l.UNSAFE_NavigationContext),L=ce!=null&&te(q)&&Ne===!0,Y=$e.encodeLocation?$e.encodeLocation(q).pathname:q.pathname,me=ae.pathname,Ee=ce&&ce.navigation&&ce.navigation.location?ce.navigation.location.pathname:null;ie||(me=me.toLowerCase(),Ee=Ee?Ee.toLowerCase():null,Y=Y.toLowerCase()),Ee&&Ue&&(Ee=s.stripBasename(Ee,Ue)||Ee);let We=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length,mt=me===Y||!ze&&me.startsWith(Y)&&me.charAt(We)==="/",rt=Ee!=null&&(Ee===Y||!ze&&Ee.startsWith(Y)&&Ee.charAt(Y.length)==="/"),Ze={isActive:mt,isPending:rt,isTransitioning:L},Et=mt?he:void 0,At;typeof Me=="function"?At=Me(Ze):At=[Me,mt?"active":null,rt?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Gt=typeof Fe=="function"?Fe(Ze):Fe;return c.createElement(Yt,p({},z,{"aria-current":Et,className:At,ref:K,style:Gt,to:Ke,unstable_viewTransition:Ne}),typeof tt=="function"?tt(Ze):tt)});lr.displayName="NavLink";let pr=c.forwardRef((A,F)=>{let{fetcherKey:K,navigate:he,reloadDocument:ie,replace:Me,state:ze,method:Fe=b,action:Ke,onSubmit:Ne,relative:tt,preventScrollReset:z,unstable_viewTransition:q}=A,ae=v(A,xe),ce=wa(),$e=He(Ke,{relative:tt}),Ue=Fe.toLowerCase()==="get"?"get":"post",L=Y=>{if(Ne&&Ne(Y),Y.defaultPrevented)return;Y.preventDefault();let me=Y.nativeEvent.submitter,Ee=(me==null?void 0:me.getAttribute("formmethod"))||Fe;ce(me||Y.currentTarget,{fetcherKey:K,method:Ee,navigate:he,replace:Me,state:ze,relative:tt,preventScrollReset:z,unstable_viewTransition:q})};return c.createElement("form",p({ref:F,method:Ue,action:$e,onSubmit:ie?Ne:L},ae))});pr.displayName="Form";function kr(A){let{getKey:F,storageKey:K}=A;return Rr({getKey:F,storageKey:K}),null}kr.displayName="ScrollRestoration";var la=function(A){return A.UseScrollRestoration="useScrollRestoration",A.UseSubmit="useSubmit",A.UseSubmitFetcher="useSubmitFetcher",A.UseFetcher="useFetcher",A.useViewTransitionState="useViewTransitionState",A}(la||{}),Wr=function(A){return A.UseFetcher="useFetcher",A.UseFetchers="useFetchers",A.UseScrollRestoration="useScrollRestoration",A}(Wr||{});function Kr(A){return A+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function hr(A){let F=c.useContext(l.UNSAFE_DataRouterContext);return F||s.UNSAFE_invariant(!1,Kr(A)),F}function Tr(A){let F=c.useContext(l.UNSAFE_DataRouterStateContext);return F||s.UNSAFE_invariant(!1,Kr(A)),F}function Pr(A,F){let{target:K,replace:he,state:ie,preventScrollReset:Me,relative:ze,unstable_viewTransition:Fe}=F===void 0?{}:F,Ke=l.useNavigate(),Ne=l.useLocation(),tt=l.useResolvedPath(A,{relative:ze});return c.useCallback(z=>{if(G(z,K)){z.preventDefault();let q=he!==void 0?he:l.createPath(Ne)===l.createPath(tt);Ke(A,{replace:q,state:ie,preventScrollReset:Me,relative:ze,unstable_viewTransition:Fe})}},[Ne,Ke,tt,he,ie,K,A,Me,ze,Fe])}function ba(A){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let F=c.useRef(P(A)),K=c.useRef(!1),he=l.useLocation(),ie=c.useMemo(()=>U(he.search,K.current?null:F.current),[he.search]),Me=l.useNavigate(),ze=c.useCallback((Fe,Ke)=>{let Ne=P(typeof Fe=="function"?Fe(ie):Fe);K.current=!0,Me("?"+Ne,Ke)},[Me,ie]);return[ie,ze]}function mr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let Lr=0,Mr=()=>"__"+String(++Lr)+"__";function wa(){let{router:A}=hr(la.UseSubmit),{basename:F}=c.useContext(l.UNSAFE_NavigationContext),K=l.UNSAFE_useRouteId();return c.useCallback(function(he,ie){ie===void 0&&(ie={}),mr();let{action:Me,method:ze,encType:Fe,formData:Ke,body:Ne}=ge(he,F);if(ie.navigate===!1){let tt=ie.fetcherKey||Mr();A.fetch(tt,K,ie.action||Me,{preventScrollReset:ie.preventScrollReset,formData:Ke,body:Ne,formMethod:ie.method||ze,formEncType:ie.encType||Fe,unstable_flushSync:ie.unstable_flushSync})}else A.navigate(ie.action||Me,{preventScrollReset:ie.preventScrollReset,formData:Ke,body:Ne,formMethod:ie.method||ze,formEncType:ie.encType||Fe,replace:ie.replace,state:ie.state,fromRouteId:K,unstable_flushSync:ie.unstable_flushSync,unstable_viewTransition:ie.unstable_viewTransition})},[A,F,K])}function He(A,F){let{relative:K}=F===void 0?{}:F,{basename:he}=c.useContext(l.UNSAFE_NavigationContext),ie=c.useContext(l.UNSAFE_RouteContext);ie||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Me]=ie.matches.slice(-1),ze=p({},l.useResolvedPath(A||".",{relative:K})),Fe=l.useLocation();if(A==null){ze.search=Fe.search;let Ke=new URLSearchParams(ze.search);Ke.has("index")&&Ke.get("index")===""&&(Ke.delete("index"),ze.search=Ke.toString()?"?"+Ke.toString():"")}return(!A||A===".")&&Me.route.index&&(ze.search=ze.search?ze.search.replace(/^\?/,"?index&"):"?index"),he!=="/"&&(ze.pathname=ze.pathname==="/"?he:s.joinPaths([he,ze.pathname])),l.createPath(ze)}function ut(A){var F;let{key:K}=A===void 0?{}:A,{router:he}=hr(la.UseFetcher),ie=Tr(Wr.UseFetcher),Me=c.useContext(oe),ze=c.useContext(l.UNSAFE_RouteContext),Fe=(F=ze.matches[ze.matches.length-1])==null?void 0:F.route.id;Me||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),ze||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Fe==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let Ke=Ge?Ge():"",[Ne,tt]=c.useState(K||Ke);K&&K!==Ne?tt(K):Ne||tt(Mr()),c.useEffect(()=>(he.getFetcher(Ne),()=>{he.deleteFetcher(Ne)}),[he,Ne]);let z=c.useCallback((Y,me)=>{Fe||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),he.fetch(Ne,Fe,Y,me)},[Ne,Fe,he]),q=wa(),ae=c.useCallback((Y,me)=>{q(Y,p({},me,{navigate:!1,fetcherKey:Ne}))},[Ne,q]),ce=c.useMemo(()=>{let Y=c.forwardRef((me,Ee)=>c.createElement(pr,p({},me,{navigate:!1,fetcherKey:Ne,ref:Ee})));return Y.displayName="fetcher.Form",Y},[Ne]),$e=ie.fetchers.get(Ne)||s.IDLE_FETCHER,Ue=Me.get(Ne);return c.useMemo(()=>p({Form:ce,submit:ae,load:z},$e,{data:Ue}),[ce,ae,z,$e,Ue])}function St(){let A=Tr(Wr.UseFetchers);return Array.from(A.fetchers.entries()).map(F=>{let[K,he]=F;return p({},he,{key:K})})}let Xt="react-router-scroll-positions",$t={};function Rr(A){let{getKey:F,storageKey:K}=A===void 0?{}:A,{router:he}=hr(la.UseScrollRestoration),{restoreScrollPosition:ie,preventScrollReset:Me}=Tr(Wr.UseScrollRestoration),{basename:ze}=c.useContext(l.UNSAFE_NavigationContext),Fe=l.useLocation(),Ke=l.useMatches(),Ne=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Xr(c.useCallback(()=>{if(Ne.state==="idle"){let tt=(F?F(Fe,Ke):null)||Fe.key;$t[tt]=window.scrollY}try{sessionStorage.setItem(K||Xt,JSON.stringify($t))}catch(tt){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+tt+").")}window.history.scrollRestoration="auto"},[K,F,Ne.state,Fe,Ke])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let tt=sessionStorage.getItem(K||Xt);tt&&($t=JSON.parse(tt))}catch(tt){}},[K]),c.useLayoutEffect(()=>{let tt=F&&ze!=="/"?(q,ae)=>F(p({},q,{pathname:s.stripBasename(q.pathname,ze)||q.pathname}),ae):F,z=he==null?void 0:he.enableScrollRestoration($t,()=>window.scrollY,tt);return()=>z&&z()},[he,ze,F]),c.useLayoutEffect(()=>{if(ie!==!1){if(typeof ie=="number"){window.scrollTo(0,ie);return}if(Fe.hash){let tt=document.getElementById(decodeURIComponent(Fe.hash.slice(1)));if(tt){tt.scrollIntoView();return}}Me!==!0&&window.scrollTo(0,0)}},[Fe,ie,Me]))}function _r(A,F){let{capture:K}=F||{};c.useEffect(()=>{let he=K!=null?{capture:K}:void 0;return window.addEventListener("beforeunload",A,he),()=>{window.removeEventListener("beforeunload",A,he)}},[A,K])}function Xr(A,F){let{capture:K}=F||{};c.useEffect(()=>{let he=K!=null?{capture:K}:void 0;return window.addEventListener("pagehide",A,he),()=>{window.removeEventListener("pagehide",A,he)}},[A,K])}function O(A){let{when:F,message:K}=A,he=l.useBlocker(F);c.useEffect(()=>{he.state==="blocked"&&(window.confirm(K)?setTimeout(he.proceed,0):he.reset())},[he,K]),c.useEffect(()=>{he.state==="blocked"&&!F&&he.reset()},[he,F])}function te(A,F){F===void 0&&(F={});let K=c.useContext($);K==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:he}=hr(la.useViewTransitionState),ie=l.useResolvedPath(A,{relative:F.relative});if(!K.isTransitioning)return!1;let Me=s.stripBasename(K.currentLocation.pathname,he)||K.currentLocation.pathname,ze=s.stripBasename(K.nextLocation.pathname,he)||K.nextLocation.pathname;return s.matchPath(ie.pathname,ze)!=null||s.matchPath(ie.pathname,Me)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=it,r.Form=pr,r.HashRouter=Te,r.Link=Yt,r.NavLink=lr,r.RouterProvider=pt,r.ScrollRestoration=kr,r.UNSAFE_FetchersContext=oe,r.UNSAFE_ViewTransitionContext=$,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=V,r.createHashRouter=se,r.createSearchParams=P,r.unstable_HistoryRouter=Rt,r.unstable_usePrompt=O,r.unstable_useViewTransitionState=te,r.useBeforeUnload=_r,r.useFetcher=ut,r.useFetchers=St,r.useFormAction=He,r.useLinkClickHandler=Pr,r.useSearchParams=ba,r.useSubmit=wa,Object.defineProperty(r,"__esModule",{value:!0})})});var vR=qe((CG,mR)=>{"use strict";mR.exports=hR()});var ir=qe((xG,wR)=>{"use strict";var e_=Object.defineProperty,zW=Object.defineProperties,FW=Object.getOwnPropertyDescriptor,jW=Object.getOwnPropertyDescriptors,HW=Object.getOwnPropertyNames,Zg=Object.getOwnPropertySymbols,T2=Object.prototype.hasOwnProperty,_R=Object.prototype.propertyIsEnumerable,k2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Jg=Math.pow,gR=(r,a,o)=>a in r?e_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,fu=(r,a)=>{for(var o in a||(a={}))T2.call(a,o)&&gR(r,o,a[o]);if(Zg)for(var o of Zg(a))_R.call(a,o)&&gR(r,o,a[o]);return r},bR=(r,a)=>zW(r,jW(a)),UW=(r,a)=>{var o={};for(var l in r)T2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Zg)for(var l of Zg(r))a.indexOf(l)<0&&_R.call(r,l)&&(o[l]=r[l]);return o},VW=(r,a)=>{for(var o in a)e_(r,o,{get:a[o],enumerable:!0})},WW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of HW(a))!T2.call(r,s)&&s!==o&&e_(r,s,{get:()=>a[s],enumerable:!(l=FW(a,s))||l.enumerable});return r},qW=r=>WW(e_({},"__esModule",{value:!0}),r),$a=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},c=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((o=o.apply(r,a)).next())}),yR=function(r,a){this[0]=r,this[1]=a},YW=(r,a,o)=>{var l=(c,h,p,v)=>{try{var b=o[c](h),y=(h=b.value)instanceof yR,x=b.done;Promise.resolve(y?h[0]:h).then(w=>y?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,v):p({value:w,done:x})).catch(w=>l("throw",w,p,v))}catch(w){v(w)}},s=c=>d[c]=h=>new Promise((p,v)=>l(c,h,p,v)),d={};return o=o.apply(r,a),d[k2("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},$W=(r,a,o)=>(a=r[k2("asyncIterator")])?a.call(r):(r=r[k2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((c,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(v=>c({value:v,done:p}),h)))),o("next"),o("return"),a),SR={};VW(SR,{Fetcher:()=>aa,Filer:()=>xn,Server:()=>E2,Time:()=>Vr,UUID:()=>cd,default:()=>iq,useStore:()=>t_});wR.exports=qW(SR);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(d){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Jg(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Jg(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Jg(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Jg(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return o.length!=4||d.push(o),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let d of o){if(!d)break;s=(l=(s||{})[d||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){s=s||"";let d=this.every(p=>{let v=Number(r(p,s.split(".")));return typeof v=="number"&&!isNaN(v)}),c=r(o,s.split(".")),h=r(l,s.split("."));if(d){if(c=Number(c),h=Number(h),c>h)return 1;if(c<h)return-1}else{if(c=String(c).replace(/(\d+)/g,p=>p.padStart(18,"0")),h=String(h).replace(/(\d+)/g,p=>p.padStart(18,"0")),c>h)return 1;if(c<h)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>o(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var GW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),cd=GW;cd.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");cd.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};cd.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var KW=r=>new Be.prototype.jmini(r),Be=KW;Be.prototype={};Be.extend=function(r,a=Be){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Be.expando="__jmini_"+cd();var Ya=(r,a)=>(r.queue.push(a),R2(r),r),R2=r=>$a(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,R2(r)}}),du=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},XW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Be.expando]||(Be.is.element(l)||Be.is.shadowRoot(l))&&(l[Be.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,R2(r),r};Be.extend({constructor:Be,jmini:function(r){return this.src=r,this.srcType=Be.is.what(r),this.queueProcess=!0,this.queue=[],XW(this,Be.is.jmini(r)?r.get():Be.is.element(r)?[r]:Be.is.elements(r)?r:Be.is.shadowRoot(r)?[r]:Be.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Be.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Be.prototype.jmini.prototype=Be.prototype;{let r=function(s,d,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,c)=>{if(!(Be.is.element(d)||Be.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[c]=h}),s),o=(s,d)=>(Be(d).for(c=>{if(s&&(Be.is.element(c)||Be.is.shadowRoot(c)))if(Be.is.string(s)||Be.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(Be.is.element(s))c.appendChild(s);else{Be.is.jmini(s)?s=s.get():Be.is.element(s)?s=[s]:Be.is.keyValueDictionary(s)&&(s=[Be(s)]);for(var h=0;h<s.length;h++)o(s[h],c)}}),d),l=(s,d,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(v=>{if(Be.is.string(c[0]))v.insertAdjacentHTML(h,c[0]);else{if(!v.parentNode)return;Be(c[0]).for(b=>{c[1]&&(b=b.cloneNode(!0)),v.parentNode.insertBefore(b,v[p]||v)})}}),s};Be.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let c=r(this,(h,p)=>s(h,p),1);return d?c:[]},await:function(s){return Ya(this,()=>new Promise((d,c)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ya(this,()=>$a(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ya(this,()=>$a(this,null,function*(){return yield s(this),this}))},click:function(){return Ya(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Be.is.element(d)&&d.click()}return this})},focus:function(){return Ya(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Be.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ya(this,()=>{let{eventType:d,eventID:c=cd(),target:h,callback:p,options:v}=s;return v=fu({passive:!0,capture:!1},v),this.for(b=>{if(!(Be.is.element(b)||Be.is.shadowRoot(b)))return;let{events:y}=b[Be.expando];if(h){let x=p;p=w=>{if(w.target){if(Be.is.string(h)){let R=w.target.closest(h);R&&(!R||x.call(R,w))}else if(Be.is.elements(h)){for(let R of h)if(w.target==R)return x.call(R,w)}}}}if(y[c]){let x=y[c];b.removeEventListener(x.eventType,x.callback,x.options)}y[c]={eventType:d,callback:p,options:v},b.addEventListener(d,p,v)}),this})},removeEvent:function(s){return Ya(this,()=>{let d=Be.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[Be.expando];for(let p of d){let v=h[p];v&&c.removeEventListener(v.eventType,v.callback,v.options)}}),this})},html:function(s){return Ya(this,()=>du(this,o(s,a(this))))},empty:function(){return Ya(this,()=>du(this,a(this)))},append:function(s){return Ya(this,()=>{o(s,this)})},remove:function(){return Ya(this,()=>(this.for((s,d)=>{s&&Be.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ya(this,()=>du(this,l(this,"before",...s)))},after:function(...s){return Ya(this,()=>du(this,l(this,"after",...s)))},find:function(s){return Ya(this,()=>{let d=[],c=this[0];c||du(this,Be()),(Be.is.element(c)||Be.is.shadowRoot(c))&&(Be.is.string(s)?d=c.querySelectorAll(s):Be.is.element(c)&&Be(s).for(h=>{let p=c.childNodes;for(let v of p)if(v===h){d.push(v);break}else v.childNodes.length&&(d=[...d,...Be(v).find(h).for(b=>b)])})),du(this,Be(d))})},parent:function(s){return Ya(this,()=>{var d,c;let h=Be(s?(d=this[0])==null?void 0:d.closest(s):(c=this[0])==null?void 0:c.parentNode);du(this,h)})},children:function(s){return Ya(this,()=>{let d=this[0].children;Be.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let c=Be(d);return du(this,c)})},addClass:function(s){return Ya(this,()=>(s&&this.for(d=>{let c=Be.is.string(s)?s.split(" "):s;d&&Be.is.element(d)&&d.classList.add(...c)}),this))},removeClass:function(s){return Ya(this,()=>(s&&this.for(d=>{let c=Be.is.string(s)?s.split(" "):s;d&&Be.is.element(d)&&d.classList.remove(...c)}),this))},toggleClass:function(s){return Ya(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(c=>c.match(s))),d},css:function(s){return Ya(this,()=>(this.for(d=>{if(Be.is.element(d))for(let[c,h]of Object.entries(s)){if(Be.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){d.style[c]=h+"px";continue}d.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ya(this,()=>(this.for(c=>c.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&Be.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let c=this[0];return c&&Be.is.element(c)&&c.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return Be.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Be.flatArray=(r,a)=>{if(!Be.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Be.flatArray(l,"-R"):[l]);return o};Be.Stringify=JSON.stringify;Be.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Be.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let d=Math.round(Math.random()*(l.length-1))+0;return l[d]};Be.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Be.trySync=r=>$a(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Be.scope=r=>r();Be.scopeSync=r=>$a(void 0,null,function*(){return yield r()});Be.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:d,attr:c,style:h,parent:p}=r,v=document.createElement(o||"div");if(l&&v.classList.add(...l.split(" ")),s&&(v.id=s),c)for(let x of Object.entries(c)){let w=x[0],R=(a=x[1])!=null?a:"";if(w=="data"&&Be.is.keyValueDictionary(R))for(let[N,M]of Object.entries(R))v.dataset[N]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),v[w]=R}if(d&&Be(v).append(d),h)for(var[b,y]of Object.entries(h))v.style[b]=y;return p&&Be(p).append(v),v};Be.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:d="/",domain:c=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${d}domain=${c}`;h&&(p+=" Secure"),document.cookie=p};Be.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Be.localStrage={set:(r,a)=>{localStorage.setItem(r,Be.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Be.Objectify(a,a)}};Be.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Be.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d}=window,c=Number(Be(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Be(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d,safeAreaTop:c,safeAreaBottom:h}};Be.getCursor=r=>{var a,o,l,s,d,c,h,p;let v=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:v,y:b}};Be.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)});Be.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Be.is.keyValueDictionary(r)&&Be.is.keyValueDictionary(o))for(let l in o)Be.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Be.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Be.deepMerge(r,...a)};Be.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Be.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Be.is={equal:function(r,a,o){return o==null||o?Be.Stringify(r)===Be.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===Be},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var QW=r=>new Vr.prototype.Time(r),Vr=QW;Vr.prototype={};var JW=function(r){Vr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};Be.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Vr,Time:JW,clone:function(){return Vr(this)},set:function(r){this.value=r;let a=Be.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),d=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(d/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),d=Math.ceil(s/(1e3*60*60*24)),c=Math.ceil(d/7);this.weekInMonth=c}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Vr(r);return this.year==a.year},isSameMonth:function(r){let a=Vr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Vr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Vr(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Vr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Vr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Vr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Vr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Vr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Vr(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||Vr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Vr);Vr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Vr};Vr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Vr(a+" 00:00")};Vr.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Vr(s).addYear(1):r=="month"?s=Vr(s).addMonth(1):r=="week"?s=Vr(s).addWeek(1):r=="day"?s=Vr(s).addDate(1):r=="hours"?s=Vr(s).addHours(1):r=="minutes"?s=Vr(s).addMinutes(1):r=="seconds"&&(s=Vr(s).addSeconds(1));return l};Vr.prototype.Time.prototype=Vr.prototype;var vc={},t_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let d=vc[l]||{};d&&d.privateKey&&d.privateKey!=a&&(o=!1),vc[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var d;let c=vc[l]||{};c&&c.privateKey&&c.privateKey!=a&&(o=!1),vc[l]=bR(fu({},vc[l]),{value:fu(fu({},(d=vc[l])==null?void 0:d.value),s)})}),o},get:(r,a)=>{let o=vc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=vc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete vc[r],!0)}},ZW=(...[r,a,o])=>new Do.prototype.Interval(r,a,o),Do=ZW;Do.prototype={};var eq=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Do.abort(this.key),this.store(),this};Be.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:eq,store:function(){t_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return Do.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},Do);Do.abort=r=>{if(Be.is.number(r))return clearInterval(r);let a=t_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Do.get=r=>t_.get("Interval_"+r);Do.once=(r,a,o)=>Do(r,a,o).once();Do.start=(r,a,o)=>Do(r,a,o).start();Do.prototype.Interval.prototype=Do.prototype;var tq=(r,a)=>new aa.prototype.Fetcher(r,a),aa=tq;aa.prototype={};aa.waitList=[];aa.setDefaultTrafficControl=0;aa.setDefaultTimeout=1e3*60*10;aa.isReadableStream=r=>r instanceof ReadableStream;aa.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;aa.streamToContext=(r,a)=>$a(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!aa.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var rq=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Be.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Be.Stringify(a.body||{}));let s=r;return Be.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=bR(fu({key:cd(),response_format:"json",timeout:aa.setDefaultTimeout,trafficControl:aa.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:fu(fu({"Content-Type":"application/json"},aa.setDefaultHeaders&&aa.setDefaultHeaders()),a.headers),body:l}),this};Be.extend({Fetcher:rq,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return $a(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:d}=r,c=a.body,h=this,p=function(){return YW(this,null,function*(){if(!a.ok){Be.scope(()=>$a(this,null,function*(){let{ok:R,done:N,data:M}=yield aa.streamToContext(c,{reader:s,decoder:d});R&&o(M)}));return}let w=!1;for(;!w;){let{ok:R,done:N,data:M}=yield new yR(aa.streamToContext(c,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),N=!0):h.streamStatus=="closed"&&(N=!0),N&&(w=N,s.releaseLock()),l(M,N)}})};try{for(var v=$W(p()),b,y,x;b=!(y=yield v.next()).done;b=!1){let w=y.value}}catch(w){x=[w]}finally{try{b&&(y=v.return)&&(yield y.call(v))}finally{if(x)throw x[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return $a(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",v={},b=null;try{aa.setDefaultOnStart&&aa.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let x=a,{key:w,response_format:R,trafficControl:N,preventMultiRequest:M,timeout:G,queries:P}=x,U=UW(x,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);U.method=this.method;let H=aa.waitList.includes(w);if(M&&H)throw h=429,new Error("TooManyRequests");aa.waitList=[...aa.waitList,w];let J=Be.queryParams.set(fu({},P),String(this.url));v=yield fetch(J,U).then(I=>$a(this,null,function*(){return c=I.ok,h=I.status,p=I.statusText,b=I,R=="none"||R=="stream"?I:I[R]()})).catch(I=>{throw new Error(I)})}catch(x){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(x)||p),v={errorCode:String(x)}}finally{clearTimeout(d),l=performance.now()-o}a.trafficControl&&(yield Be.pending(()=>{},a.trafficControl)),aa.waitList.splice(aa.waitList.findIndex(x=>x==a.key),1);let y={ok:c,status:h,statusText:p,body:v,requestTime:l,rawData:b};if(!c&&this.onErrorCB&&this.onErrorCB(y.body),c&&this.onStreamCB&&a.response_format=="stream"){let x=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:y,reader:x,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(y.body),this.onResultCB&&this.onResultCB(y,a),aa.setDefaultOnEnd&&aa.setDefaultOnEnd(y,a),y})},abortStream:function(){this.streamStatus="abort"}},aa);aa.prototype.Fetcher.prototype=aa.prototype;var aq=r=>new xn.prototype.Filer(r),xn=aq;xn.prototype={};var nq=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};Be.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:nq,isValid:function(){return this.ok},toBlob:function(){return $a(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return $a(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return $a(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return $a(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},xn);xn.fromFile=r=>$a(void 0,null,function*(){return xn(r)});xn.fromBlob=(r,a)=>$a(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return xn(s)});xn.fromArrayBuffer=(r,a)=>$a(void 0,null,function*(){return xn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});xn.fromObjectURL=(r,a)=>$a(void 0,null,function*(){let o=yield aa(r,{response_format:"blob"}).get();return o.ok?xn.fromBlob(o.body,a):xn({})});xn.fromDataURL=(r,a)=>$a(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?xn.fromBlob(o,a):xn({})});xn.prototype.Filer.prototype=xn.prototype;var oq=function(r){let a=r,o=null;return a.use((l,s,d)=>{let c=s;c.return=h=>{let{status:p=200,body:v={},bodyStringify:b=!0}=h||{},y=v;return b&&!Be.is.string(v)&&(y=Be.Stringify(v)),s.status(p).end(y)},d()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},E2=oq;E2.getLocalIP=r=>{let a="";return Be.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a};E2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};Be.copyToClipboard=r=>$a(void 0,null,function*(){let a="";Be.is.string(r)?a=r:Be.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield $a(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(Be(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Be.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=d=>l(d),s.src=r});Be.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};Be.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:d,To:c,name:h}=s;if(d<=r&&r<=c){let p=r-d+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Be.interval=Do;aa.setDefaultHeaders=()=>({});var iq=Be});var RR=qe(a_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),R=Symbol.iterator,N="@@iterator";function M(L){if(L===null||typeof L!="object")return null;var Y=R&&L[R]||L[N];return typeof Y=="function"?Y:null}var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(L){{for(var Y=arguments.length,me=new Array(Y>1?Y-1:0),Ee=1;Ee<Y;Ee++)me[Ee-1]=arguments[Ee];U("error",L,me)}}function U(L,Y,me){{var Ee=G.ReactDebugCurrentFrame,We=Ee.getStackAddendum();We!==""&&(Y+="%s",me=me.concat([We]));var mt=me.map(function(rt){return String(rt)});mt.unshift("Warning: "+Y),Function.prototype.apply.call(console[L],console,mt)}}var H=!1,J=!1,I=!1,re=!1,ge=!1,ne;ne=Symbol.for("react.module.reference");function ke(L){return!!(typeof L=="string"||typeof L=="function"||L===l||L===d||ge||L===s||L===v||L===b||re||L===w||H||J||I||typeof L=="object"&&L!==null&&(L.$$typeof===x||L.$$typeof===y||L.$$typeof===c||L.$$typeof===h||L.$$typeof===p||L.$$typeof===ne||L.getModuleId!==void 0))}function xe(L,Y,me){var Ee=L.displayName;if(Ee)return Ee;var We=Y.displayName||Y.name||"";return We!==""?me+"("+We+")":me}function ye(L){return L.displayName||"Context"}function V(L){if(L==null)return null;if(typeof L.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case h:var Y=L;return ye(Y)+".Consumer";case c:var me=L;return ye(me._context)+".Provider";case p:return xe(L,L.render,"ForwardRef");case y:var Ee=L.displayName||null;return Ee!==null?Ee:V(L.type)||"Memo";case x:{var We=L,mt=We._payload,rt=We._init;try{return V(rt(mt))}catch(Ze){return null}}}return null}var se=Object.assign,pe=0,j,$,oe,ee,ue,Ce,Se;function Ie(){}Ie.__reactDisabledLog=!0;function Ge(){{if(pe===0){j=console.log,$=console.info,oe=console.warn,ee=console.error,ue=console.group,Ce=console.groupCollapsed,Se=console.groupEnd;var L={configurable:!0,enumerable:!0,value:Ie,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}pe++}}function Qe(){{if(pe--,pe===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},L,{value:j}),info:se({},L,{value:$}),warn:se({},L,{value:oe}),error:se({},L,{value:ee}),group:se({},L,{value:ue}),groupCollapsed:se({},L,{value:Ce}),groupEnd:se({},L,{value:Se})})}pe<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yt=G.ReactCurrentDispatcher,Ht;function pt(L,Y,me){{if(Ht===void 0)try{throw Error()}catch(We){var Ee=We.stack.trim().match(/\n( *(at )?)/);Ht=Ee&&Ee[1]||""}return`
|
|
150
150
|
`+Ht+L}}var kt=!1,vt;{var it=typeof WeakMap=="function"?WeakMap:Map;vt=new it}function Te(L,Y){if(!L||kt)return"";{var me=vt.get(L);if(me!==void 0)return me}var Ee;kt=!0;var We=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var mt;mt=yt.current,yt.current=null,Ge();try{if(Y){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(pa){Ee=pa}Reflect.construct(L,[],rt)}else{try{rt.call()}catch(pa){Ee=pa}L.call(rt.prototype)}}else{try{throw Error()}catch(pa){Ee=pa}L()}}catch(pa){if(pa&&Ee&&typeof pa.stack=="string"){for(var Ze=pa.stack.split(`
|
|
151
151
|
`),Et=Ee.stack.split(`
|
|
152
152
|
`),At=Ze.length-1,Gt=Et.length-1;At>=1&&Gt>=0&&Ze[At]!==Et[Gt];)Gt--;for(;At>=1&&Gt>=0;At--,Gt--)if(Ze[At]!==Et[Gt]){if(At!==1||Gt!==1)do if(At--,Gt--,Gt<0||Ze[At]!==Et[Gt]){var Qr=`
|
|
@@ -156,15 +156,15 @@ Check the render method of \``+L+"`."}return""}}function ie(L){{if(L!==void 0){v
|
|
|
156
156
|
|
|
157
157
|
Check your code at `+Y+":"+me+"."}return""}}var Me={};function ze(L){{var Y=he();if(!Y){var me=typeof L=="string"?L:L.displayName||L.name;me&&(Y=`
|
|
158
158
|
|
|
159
|
-
Check the top-level render call using <`+me+">.")}return Y}}function Fe(L,Y){{if(!L._store||L._store.validated||L.key!=null)return;L._store.validated=!0;var me=ze(Y);if(Me[me])return;Me[me]=!0;var Ee="";L&&L._owner&&L._owner!==O.current&&(Ee=" It was passed a child from "+V(L._owner.type)+"."),A(L),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Ee),A(null)}}function Ke(L,Y){{if(typeof L!="object")return;if(Kr(L))for(var me=0;me<L.length;me++){var Ee=L[me];K(Ee)&&Fe(Ee,Y)}else if(K(L))L._store&&(L._store.validated=!0);else if(L){var We=M(L);if(typeof We=="function"&&We!==L.entries)for(var mt=We.call(L),rt;!(rt=mt.next()).done;)K(rt.value)&&Fe(rt.value,Y)}}}function Ne(L){{var Y=L.type;if(Y==null||typeof Y=="string")return;var me;if(typeof Y=="function")me=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===p||Y.$$typeof===y))me=Y.propTypes;else return;if(me){var Ee=V(Y);la(me,L.props,"prop",Ee,L)}else if(Y.PropTypes!==void 0&&!F){F=!0;var We=V(Y);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",We||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tt(L){{for(var Y=Object.keys(L.props),me=0;me<Y.length;me++){var Ee=Y[me];if(Ee!=="children"&&Ee!=="key"){A(L),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),A(null);break}}L.ref!==null&&(A(L),P("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var z={};function q(L,Y,me,Ee,We,mt){{var rt=ke(L);if(!rt){var Ze="";(L===void 0||typeof L=="object"&&L!==null&&Object.keys(L).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 Et=ie(We);Et?Ze+=Et:Ze+=he();var At;L===null?At="null":Kr(L)?At="array":L!==void 0&&L.$$typeof===a?(At="<"+(V(L.type)||"Unknown")+" />",Ze=" Did you accidentally export a JSX literal instead of a component?"):At=typeof L,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",At,Ze)}var Gt=Xr(L,Y,me,We,mt);if(Gt==null)return Gt;if(rt){var Qr=Y.children;if(Qr!==void 0)if(Ee)if(Kr(Qr)){for(var Wa=0;Wa<Qr.length;Wa++)Ke(Qr[Wa],L);Object.freeze&&Object.freeze(Qr)}else P("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 Ke(Qr,L)}if(Yt.call(Y,"key")){var fa=V(L),pa=Object.keys(Y).filter(function(
|
|
159
|
+
Check the top-level render call using <`+me+">.")}return Y}}function Fe(L,Y){{if(!L._store||L._store.validated||L.key!=null)return;L._store.validated=!0;var me=ze(Y);if(Me[me])return;Me[me]=!0;var Ee="";L&&L._owner&&L._owner!==O.current&&(Ee=" It was passed a child from "+V(L._owner.type)+"."),A(L),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Ee),A(null)}}function Ke(L,Y){{if(typeof L!="object")return;if(Kr(L))for(var me=0;me<L.length;me++){var Ee=L[me];K(Ee)&&Fe(Ee,Y)}else if(K(L))L._store&&(L._store.validated=!0);else if(L){var We=M(L);if(typeof We=="function"&&We!==L.entries)for(var mt=We.call(L),rt;!(rt=mt.next()).done;)K(rt.value)&&Fe(rt.value,Y)}}}function Ne(L){{var Y=L.type;if(Y==null||typeof Y=="string")return;var me;if(typeof Y=="function")me=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===p||Y.$$typeof===y))me=Y.propTypes;else return;if(me){var Ee=V(Y);la(me,L.props,"prop",Ee,L)}else if(Y.PropTypes!==void 0&&!F){F=!0;var We=V(Y);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",We||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tt(L){{for(var Y=Object.keys(L.props),me=0;me<Y.length;me++){var Ee=Y[me];if(Ee!=="children"&&Ee!=="key"){A(L),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),A(null);break}}L.ref!==null&&(A(L),P("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var z={};function q(L,Y,me,Ee,We,mt){{var rt=ke(L);if(!rt){var Ze="";(L===void 0||typeof L=="object"&&L!==null&&Object.keys(L).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 Et=ie(We);Et?Ze+=Et:Ze+=he();var At;L===null?At="null":Kr(L)?At="array":L!==void 0&&L.$$typeof===a?(At="<"+(V(L.type)||"Unknown")+" />",Ze=" Did you accidentally export a JSX literal instead of a component?"):At=typeof L,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",At,Ze)}var Gt=Xr(L,Y,me,We,mt);if(Gt==null)return Gt;if(rt){var Qr=Y.children;if(Qr!==void 0)if(Ee)if(Kr(Qr)){for(var Wa=0;Wa<Qr.length;Wa++)Ke(Qr[Wa],L);Object.freeze&&Object.freeze(Qr)}else P("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 Ke(Qr,L)}if(Yt.call(Y,"key")){var fa=V(L),pa=Object.keys(Y).filter(function(Jn){return Jn!=="key"}),Qa=pa.length>0?"{key: someKey, "+pa.join(": ..., ")+": ...}":"{key: someKey}";if(!z[fa+Qa]){var It=pa.length>0?"{"+pa.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
|
|
160
160
|
let props = %s;
|
|
161
161
|
<%s {...props} />
|
|
162
162
|
React keys must be passed directly to JSX without using spread:
|
|
163
163
|
let props = %s;
|
|
164
|
-
<%s key={someKey} {...props} />`,Qa,fa,It,fa),z[fa+Qa]=!0}}return L===l?tt(Gt):Ne(Gt),Gt}}function ae(L,Y,me){return q(L,Y,me,!0)}function ce(L,Y,me){return q(L,Y,me,!1)}var $e=ce,Ue=ae;a_.Fragment=l,a_.jsx=$e,a_.jsxs=Ue})()});var Bt=qe((BG,ER)=>{"use strict";ER.exports=RR()});var D5={};If(D5,{api:()=>
|
|
164
|
+
<%s key={someKey} {...props} />`,Qa,fa,It,fa),z[fa+Qa]=!0}}return L===l?tt(Gt):Ne(Gt),Gt}}function ae(L,Y,me){return q(L,Y,me,!0)}function ce(L,Y,me){return q(L,Y,me,!1)}var $e=ce,Ue=ae;a_.Fragment=l,a_.jsx=$e,a_.jsxs=Ue})()});var Bt=qe((BG,ER)=>{"use strict";ER.exports=RR()});var D5={};If(D5,{api:()=>Bo,config:()=>UY,counter:()=>QY,dom:()=>WY,findIconDefinition:()=>YY,icon:()=>GY,layer:()=>KY,library:()=>VY,noAuto:()=>HY,parse:()=>qY,text:()=>XY,toHtml:()=>$Y});function AR(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),o.push.apply(o,l)}return o}function wt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?AR(Object(o),!0).forEach(function(l){vn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):AR(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function m_(r){"@babel/helpers - typeof";return m_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},m_(r)}function uq(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function LR(r,a){for(var o=0;o<a.length;o++){var l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function dq(r,a,o){return a&&LR(r.prototype,a),o&&LR(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function vn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function W2(r,a){return pq(r)||mq(r,a)||r5(r,a)||gq()}function um(r){return fq(r)||hq(r)||r5(r)||vq()}function fq(r){if(Array.isArray(r))return N2(r)}function pq(r){if(Array.isArray(r))return r}function hq(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function mq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,d=!1,c,h;try{for(o=o.call(r);!(s=(c=o.next()).done)&&(l.push(c.value),!(a&&l.length===a));s=!0);}catch(p){d=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(d)throw h}}return l}}function r5(r,a){if(r){if(typeof r=="string")return N2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return N2(r,a)}}function N2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=r[o];return l}function vq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
165
165
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
166
166
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[xa]}})}function Dq(r){var a=ka.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function Aq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function Lq(r){return nm.push(r),function(){nm.splice(nm.indexOf(r),1)}}function Bq(r){if(!(!r||!yc)){var a=ka.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=ka.head.childNodes,l=null,s=o.length-1;s>-1;s--){var d=o[s],c=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=d)}return ka.head.insertBefore(a,l),r}}function cm(){for(var r=12,a="";r-- >0;)a+=Nq[Math.random()*62|0];return a}function Yf(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function K2(r){return r.classList?Yf(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function p5(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Oq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(p5(r[o]),'" ')},"").trim()}function __(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function X2(r){return r.size!==Is.size||r.x!==Is.x||r.y!==Is.y||r.rotate!==Is.rotate||r.flipX||r.flipY}function Iq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},d="translate(".concat(a.x*32,", ").concat(a.y*32,") "),c="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),p={transform:"".concat(d," ").concat(c," ").concat(h)},v={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:v}}function Pq(r){var a=r.transform,o=r.width,l=o===void 0?O2:o,s=r.height,d=s===void 0?O2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&i5?p+="translate(".concat(a.x/pu-l/2,"em, ").concat(a.y/pu-d/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/pu,"em), calc(-50% + ").concat(a.y/pu,"em)) "):p+="translate(".concat(a.x/pu,"em, ").concat(a.y/pu,"em) "),p+="scale(".concat(a.size/pu*(a.flipX?-1:1),", ").concat(a.size/pu*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function h5(){var r=l5,a=s5,o=Dt.cssPrefix,l=Dt.replacementClass,s=Mq;if(o!==r||l!==a){var d=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(d,".".concat(o,"-")).replace(c,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function D2(){Dt.autoAddCss&&!zR&&(Bq(h5()),zR=!0)}function jq(r){yc&&(v_?setTimeout(r,0):m5.push(r))}function fm(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,d=s===void 0?[]:s;return typeof r=="string"?p5(r):"<".concat(a," ").concat(Oq(l),">").concat(d.map(fm).join(""),"</").concat(a,">")}function FR(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Uq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var d=r.charCodeAt(o++);(d&64512)==56320?a.push(((s&1023)<<10)+(d&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function P2(r){var a=Uq(r);return a.length===1?a[0].toString(16):null}function Vq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function jR(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function M2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,d=jR(a);typeof os.hooks.addPack=="function"&&!s?os.hooks.addPack(r,jR(a)):os.styles[r]=wt(wt({},os.styles[r]||{}),d),r==="fas"&&M2("fa",a)}function $q(r){return~Eq.indexOf(r)}function Gq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!$q(s)?s:null}function J2(r,a){return(v5[r]||{})[a]}function Kq(r,a){return(g5[r]||{})[a]}function dd(r,a){return(y5[r]||{})[a]}function w5(r){return _5[r]||{prefix:null,iconName:null}}function Xq(r){var a=b5[r],o=J2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function mu(){return Q2}function b_(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?xa:o,s=om[l][r],d=im[l][r]||im[l][s],c=r in os.styles?r:null;return d||c||null}function y_(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,d=(a={},vn(a,xa,"".concat(Dt.cssPrefix,"-").concat(xa)),vn(a,ja,"".concat(Dt.cssPrefix,"-").concat(ja)),a),c=null,h=xa;(r.includes(d[xa])||r.some(function(v){return HR[xa].includes(v)}))&&(h=xa),(r.includes(d[ja])||r.some(function(v){return HR[ja].includes(v)}))&&(h=ja);var p=r.reduce(function(v,b){var y=Gq(Dt.cssPrefix,b);if(Uf[b]?(b=qq[h].includes(b)?wq[h][b]:b,c=b,v.prefix=b):Yq[h].indexOf(b)>-1?(c=b,v.prefix=b_(b,{family:h})):y?v.iconName=y:b!==Dt.replacementClass&&b!==d[xa]&&b!==d[ja]&&v.rest.push(b),!s&&v.prefix&&v.iconName){var x=c==="fa"?w5(v.iconName):{},w=dd(v.prefix,v.iconName);x.prefix&&(c=null),v.iconName=x.iconName||w||v.iconName,v.prefix=x.prefix||v.prefix,v.prefix==="far"&&!Uf.far&&Uf.fas&&!Dt.autoFetchSvg&&(v.prefix="fas")}return v},Z2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===ja&&(Uf.fass||Dt.autoFetchSvg)&&(p.prefix="fass",p.iconName=dd(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=mu()||"fas"),p}function Zq(r,a){var o=a.mixoutsTo;return UR=r,Vf={},Object.keys(Wf).forEach(function(l){Jq.indexOf(l)===-1&&delete Wf[l]}),UR.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(o[c]=s[c]),m_(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){o[c]||(o[c]={}),o[c][h]=s[c][h]})}),l.hooks){var d=l.hooks();Object.keys(d).forEach(function(c){Vf[c]||(Vf[c]=[]),Vf[c].push(d[c])})}l.provides&&l.provides(Wf)}),o}function z2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var d=Vf[r]||[];return d.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function pd(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Vf[r]||[];s.forEach(function(d){d.apply(null,o)})}function bc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Wf[r]?Wf[r].apply(null,a):void 0}function F2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||mu();if(a)return a=dd(o,a)||a,FR(C5.definitions,o,a)||FR(os.styles,o,a)}function S_(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return fm(l)})}}),Object.defineProperty(r,"node",{get:function(){if(yc){var l=ka.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function nY(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,d=r.styles,c=r.transform;if(X2(c)&&o.found&&!l.found){var h=o.width,p=o.height,v={x:h/p/2,y:.5};s.style=__(wt(wt({},d),{},{"transform-origin":"".concat(v.x+c.x/16,"em ").concat(v.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function oY(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,d=r.symbol,c=d===!0?"".concat(a,"-").concat(Dt.cssPrefix,"-").concat(o):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:wt(wt({},s),{},{id:c}),children:l}]}]}function eS(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,d=r.iconName,c=r.transform,h=r.symbol,p=r.title,v=r.maskId,b=r.titleId,y=r.extra,x=r.watchable,w=x===void 0?!1:x,R=l.found?l:o,N=R.width,M=R.height,G=s==="fak",P=[Dt.replacementClass,d?"".concat(Dt.cssPrefix,"-").concat(d):""].filter(function(ne){return y.classes.indexOf(ne)===-1}).filter(function(ne){return ne!==""||!!ne}).concat(y.classes).join(" "),U={children:[],attributes:wt(wt({},y.attributes),{},{"data-prefix":s,"data-icon":d,class:P,role:y.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(N," ").concat(M)})},H=G&&!~y.classes.indexOf("fa-fw")?{width:"".concat(N/M*16*.0625,"em")}:{};w&&(U.attributes[fd]=""),p&&(U.children.push({tag:"title",attributes:{id:U.attributes["aria-labelledby"]||"title-".concat(b||cm())},children:[p]}),delete U.attributes.title);var J=wt(wt({},U),{},{prefix:s,iconName:d,main:o,mask:l,maskId:v,transform:c,symbol:h,styles:wt(wt({},H),y.styles)}),I=l.found&&o.found?bc("generateAbstractMask",J)||{children:[],attributes:{}}:bc("generateAbstractIcon",J)||{children:[],attributes:{}},re=I.children,ge=I.attributes;return J.children=re,J.attributes=ge,h?oY(J):nY(J)}function VR(r){var a=r.content,o=r.width,l=r.height,s=r.transform,d=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,v=wt(wt(wt({},c.attributes),d?{title:d}:{}),{},{class:c.classes.join(" ")});p&&(v[fd]="");var b=wt({},c.styles);X2(s)&&(b.transform=Pq({transform:s,startCentered:!0,width:o,height:l}),b["-webkit-transform"]=b.transform);var y=__(b);y.length>0&&(v.style=y);var x=[];return x.push({tag:"span",attributes:v,children:[a]}),d&&x.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),x}function iY(r){var a=r.content,o=r.title,l=r.extra,s=wt(wt(wt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),d=__(l.styles);d.length>0&&(s.style=d);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),o&&c.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),c}function j2(r){var a=r[0],o=r[1],l=r.slice(4),s=W2(l,1),d=s[0],c=null;return Array.isArray(d)?c={tag:"g",attributes:{class:"".concat(Dt.cssPrefix,"-").concat(ud.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Dt.cssPrefix,"-").concat(ud.SECONDARY),fill:"currentColor",d:d[0]}},{tag:"path",attributes:{class:"".concat(Dt.cssPrefix,"-").concat(ud.PRIMARY),fill:"currentColor",d:d[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d}},{found:!0,width:a,height:o,icon:c}}function sY(r,a){!c5&&!Dt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function H2(r,a){var o=a;return a==="fa"&&Dt.styleDefault!==null&&(a=mu()),new Promise(function(l,s){var d={found:!1,width:512,height:512,icon:bc("missingIconAbstract")||{}};if(o==="fa"){var c=w5(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&L2[a]&&L2[a][r]){var h=L2[a][r];return l(j2(h))}sY(r,a),l(wt(wt({},lY),{},{icon:Dt.showMissingIcons&&r?bc("missingIconAbstract")||{}:{}}))})}function qR(r){var a=r.getAttribute?r.getAttribute(fd):null;return typeof a=="string"}function uY(r){var a=r.getAttribute?r.getAttribute(Y2):null,o=r.getAttribute?r.getAttribute($2):null;return a&&o}function dY(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(Dt.replacementClass)}function fY(){if(Dt.autoReplaceSvg===!0)return h_.replace;var r=h_[Dt.autoReplaceSvg];return r||h_.replace}function pY(r){return ka.createElementNS("http://www.w3.org/2000/svg",r)}function hY(r){return ka.createElement(r)}function k5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?pY:hY:o;if(typeof r=="string")return ka.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var d=r.children||[];return d.forEach(function(c){s.appendChild(k5(c,{ceFn:l}))}),s}function mY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function YR(r){r()}function T5(r,a){var o=typeof a=="function"?a:p_;if(r.length===0)o();else{var l=YR;Dt.mutateApproach===yq&&(l=hu.requestAnimationFrame||YR),l(function(){var s=fY(),d=tS.begin("mutate");r.map(s),d(),o()})}}function R5(){rS=!0}function V2(){rS=!1}function $R(r){if(IR&&Dt.observeMutations){var a=r.treeCallback,o=a===void 0?p_:a,l=r.nodeCallback,s=l===void 0?p_:l,d=r.pseudoElementsCallback,c=d===void 0?p_:d,h=r.observeMutationsRoot,p=h===void 0?ka:h;g_=new IR(function(v){if(!rS){var b=mu();Yf(v).forEach(function(y){if(y.type==="childList"&&y.addedNodes.length>0&&!qR(y.addedNodes[0])&&(Dt.searchPseudoElements&&c(y.target),o(y.target)),y.type==="attributes"&&y.target.parentNode&&Dt.searchPseudoElements&&c(y.target.parentNode),y.type==="attributes"&&qR(y.target)&&~Rq.indexOf(y.attributeName))if(y.attributeName==="class"&&uY(y.target)){var x=y_(K2(y.target)),w=x.prefix,R=x.iconName;y.target.setAttribute(Y2,w||b),R&&y.target.setAttribute($2,R)}else dY(y.target)&&s(y.target)})}}),yc&&g_.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function vY(){g_&&g_.disconnect()}function gY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var d=s.split(":"),c=d[0],h=d.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),o}function _Y(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=y_(K2(r));return s.prefix||(s.prefix=mu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Kq(s.prefix,r.innerText)||J2(s.prefix,P2(r.innerText))),!s.iconName&&Dt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function bY(r){var a=Yf(r.attributes).reduce(function(s,d){return s.name!=="class"&&s.name!=="style"&&(s[d.name]=d.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return Dt.autoA11y&&(o?a["aria-labelledby"]="".concat(Dt.replacementClass,"-title-").concat(l||cm()):(a["aria-hidden"]="true",a.focusable="false")),a}function yY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Is,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function GR(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=_Y(r),l=o.iconName,s=o.prefix,d=o.rest,c=bY(r),h=z2("parseNodeAttributes",{},r),p=a.styleParser?gY(r):[];return wt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Is,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:d,styles:p,attributes:c}},h)}function E5(r){var a=Dt.autoReplaceSvg==="nest"?GR(r,{styleParser:!1}):GR(r);return~a.extra.classes.indexOf(u5)?bc("generateLayersText",r,a):bc("generateSvgReplacementMutation",r,a)}function KR(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!yc)return Promise.resolve();var o=ka.documentElement.classList,l=function(y){return o.add("".concat(PR,"-").concat(y))},s=function(y){return o.remove("".concat(PR,"-").concat(y))},d=Dt.autoFetchSvg?vu:G2.map(function(b){return"fa-".concat(b)}).concat(Object.keys(SY));d.includes("fa")||d.push("fa");var c=[".".concat(u5,":not([").concat(fd,"])")].concat(d.map(function(b){return".".concat(b,":not([").concat(fd,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=Yf(r.querySelectorAll(c))}catch(b){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=tS.begin("onTree"),v=h.reduce(function(b,y){try{var x=E5(y);x&&b.push(x)}catch(w){c5||w.name==="MissingIcon"&&console.error(w)}return b},[]);return new Promise(function(b,y){Promise.all(v).then(function(x){T5(x,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),b()})}).catch(function(x){p(),y(x)})})}function wY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;E5(r).then(function(o){o&&T5([o],a)})}function CY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:F2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:F2(s||{})),r(l,wt(wt({},o),{},{mask:s}))}}function AY(r){var a=r.replace(DY,""),o=Vq(a,0),l=o>=XR[0]&&o<=XR[1],s=a.length===2?a[0]===a[1]:!1;return{value:P2(s?a[0]:a),isSecondary:l||s}}function QR(r,a){var o="".concat(bq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var d=Yf(r.children),c=d.filter(function(re){return re.getAttribute(I2)===a})[0],h=hu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(xq),v=h.getPropertyValue("font-weight"),b=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&b!=="none"&&b!==""){var y=h.getPropertyValue("content"),x=~["Sharp"].indexOf(p[2])?ja:xa,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?im[x][p[2].toLowerCase()]:kq[x][v],R=AY(y),N=R.value,M=R.isSecondary,G=p[0].startsWith("FontAwesome"),P=J2(w,N),U=P;if(G){var H=Xq(N);H.iconName&&H.prefix&&(P=H.iconName,w=H.prefix)}if(P&&!M&&(!c||c.getAttribute(Y2)!==w||c.getAttribute($2)!==U)){r.setAttribute(o,U),c&&r.removeChild(c);var J=yY(),I=J.extra;I.attributes[I2]=a,H2(P,w).then(function(re){var ge=eS(wt(wt({},J),{},{icons:{main:re,mask:Z2()},prefix:w,iconName:U,extra:I,watchable:!0})),ne=ka.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ne,r.firstChild):r.appendChild(ne),ne.outerHTML=ge.map(function(ke){return fm(ke)}).join(`
|
|
167
|
-
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function LY(r){return Promise.all([QR(r,"::before"),QR(r,"::after")])}function BY(r){return r.parentNode!==document.head&&!~Sq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(I2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function JR(r){if(yc)return new Promise(function(a,o){var l=Yf(r.querySelectorAll("*")).filter(BY).map(LY),s=tS.begin("searchPseudoElements");R5(),Promise.all(l).then(function(){s(),V2(),a()}).catch(function(){s(),V2(),o()})})}function t5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||a)&&(r.attributes.fill="black"),r}function PY(r){return r.tag==="g"?r.children:[r]}var BR,q2,a5,n5,o5,_q,NR,OR,hu,ka,IR,n_,PG,yc,i5,o_,i_,l_,s_,c_,gc,O2,l5,s5,fd,I2,bq,Y2,$2,PR,yq,Sq,c5,xa,ja,G2,om,im,lm,wq,Cq,u5,xq,kq,d5,Tq,Rq,ud,sm,Eq,am,MR,f5,qf,Dt,nm,pu,Is,Nq,Mq,zR,zq,_c,os,m5,Fq,v_,Hq,A2,u_,d_,f_,Uf,Wq,qq,Q2,v5,g5,_5,b5,y5,Yq,S5,Z2,HR,Qq,UR,Vf,Wf,Jq,C5,eY,tY,rY,
|
|
167
|
+
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function LY(r){return Promise.all([QR(r,"::before"),QR(r,"::after")])}function BY(r){return r.parentNode!==document.head&&!~Sq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(I2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function JR(r){if(yc)return new Promise(function(a,o){var l=Yf(r.querySelectorAll("*")).filter(BY).map(LY),s=tS.begin("searchPseudoElements");R5(),Promise.all(l).then(function(){s(),V2(),a()}).catch(function(){s(),V2(),o()})})}function t5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||a)&&(r.attributes.fill="black"),r}function PY(r){return r.tag==="g"?r.children:[r]}var BR,q2,a5,n5,o5,_q,NR,OR,hu,ka,IR,n_,PG,yc,i5,o_,i_,l_,s_,c_,gc,O2,l5,s5,fd,I2,bq,Y2,$2,PR,yq,Sq,c5,xa,ja,G2,om,im,lm,wq,Cq,u5,xq,kq,d5,Tq,Rq,ud,sm,Eq,am,MR,f5,qf,Dt,nm,pu,Is,Nq,Mq,zR,zq,_c,os,m5,Fq,v_,Hq,A2,u_,d_,f_,Uf,Wq,qq,Q2,v5,g5,_5,b5,y5,Yq,S5,Z2,HR,Qq,UR,Vf,Wf,Jq,C5,eY,tY,rY,Bo,aY,L2,lY,WR,U2,rm,cY,x5,tS,p_,h_,rS,g_,SY,vu,xY,kY,TY,RY,EY,DY,XR,NY,ZR,OY,e5,IY,B2,MY,zY,FY,jY,HY,UY,VY,WY,qY,YY,$Y,GY,KY,XY,QY,A5=HV(()=>{BR=function(){},q2={},a5={},n5=null,o5={mark:BR,measure:BR};try{typeof window!="undefined"&&(q2=window),typeof document!="undefined"&&(a5=document),typeof MutationObserver!="undefined"&&(n5=MutationObserver),typeof performance!="undefined"&&(o5=performance)}catch(r){}_q=q2.navigator||{},NR=_q.userAgent,OR=NR===void 0?"":NR,hu=q2,ka=a5,IR=n5,n_=o5,PG=!!hu.document,yc=!!ka.documentElement&&!!ka.head&&typeof ka.addEventListener=="function"&&typeof ka.createElement=="function",i5=~OR.indexOf("MSIE")||~OR.indexOf("Trident/"),gc="___FONT_AWESOME___",O2=16,l5="fa",s5="svg-inline--fa",fd="data-fa-i2svg",I2="data-fa-pseudo-element",bq="data-fa-pseudo-element-pending",Y2="data-prefix",$2="data-icon",PR="fontawesome-i2svg",yq="async",Sq=["HTML","HEAD","STYLE","SCRIPT"],c5=function(){try{return!1}catch(r){return!1}}(),xa="classic",ja="sharp",G2=[xa,ja];om=dm((o_={},vn(o_,xa,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),vn(o_,ja,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),o_)),im=dm((i_={},vn(i_,xa,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),vn(i_,ja,{solid:"fass",regular:"fasr",light:"fasl"}),i_)),lm=dm((l_={},vn(l_,xa,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),vn(l_,ja,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),l_)),wq=dm((s_={},vn(s_,xa,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),vn(s_,ja,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),s_)),Cq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,u5="fa-layers-text",xq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,kq=dm((c_={},vn(c_,xa,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),vn(c_,ja,{900:"fass",400:"fasr",300:"fasl"}),c_)),d5=[1,2,3,4,5,6,7,8,9,10],Tq=d5.concat([11,12,13,14,15,16,17,18,19,20]),Rq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ud={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},sm=new Set;Object.keys(im[xa]).map(sm.add.bind(sm));Object.keys(im[ja]).map(sm.add.bind(sm));Eq=[].concat(G2,um(sm),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",ud.GROUP,ud.SWAP_OPACITY,ud.PRIMARY,ud.SECONDARY]).concat(d5.map(function(r){return"".concat(r,"x")})).concat(Tq.map(function(r){return"w-".concat(r)})),am=hu.FontAwesomeConfig||{};ka&&typeof ka.querySelector=="function"&&(MR=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],MR.forEach(function(r){var a=W2(r,2),o=a[0],l=a[1],s=Aq(Dq(o));s!=null&&(am[l]=s)}));f5={styleDefault:"solid",familyDefault:"classic",cssPrefix:l5,replacementClass:s5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};am.familyPrefix&&(am.cssPrefix=am.familyPrefix);qf=wt(wt({},f5),am);qf.autoReplaceSvg||(qf.observeMutations=!1);Dt={};Object.keys(f5).forEach(function(r){Object.defineProperty(Dt,r,{enumerable:!0,set:function(o){qf[r]=o,nm.forEach(function(l){return l(Dt)})},get:function(){return qf[r]}})});Object.defineProperty(Dt,"familyPrefix",{enumerable:!0,set:function(a){qf.cssPrefix=a,nm.forEach(function(o){return o(Dt)})},get:function(){return qf.cssPrefix}});hu.FontAwesomeConfig=Dt;nm=[];pu=O2,Is={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};Nq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";Mq=`:root, :host {
|
|
168
168
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
169
169
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
170
170
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
@@ -920,10 +920,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
920
920
|
.fad.fa-inverse,
|
|
921
921
|
.fa-duotone.fa-inverse {
|
|
922
922
|
color: var(--fa-inverse, #fff);
|
|
923
|
-
}`;zR=!1;zq={mixout:function(){return{dom:{css:h5,insertCss:D2}}},hooks:function(){return{beforeDOMElementCreation:function(){D2()},beforeI2svg:function(){D2()}}}},_c=hu||{};_c[gc]||(_c[gc]={});_c[gc].styles||(_c[gc].styles={});_c[gc].hooks||(_c[gc].hooks={});_c[gc].shims||(_c[gc].shims=[]);os=_c[gc],m5=[],Fq=function r(){ka.removeEventListener("DOMContentLoaded",r),v_=1,m5.map(function(a){return a()})},v_=!1;yc&&(v_=(ka.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ka.readyState),v_||ka.addEventListener("DOMContentLoaded",Fq));Hq=function(a,o){return function(l,s,d,c){return a.call(o,l,s,d,c)}},A2=function(a,o,l,s){var d=Object.keys(a),c=d.length,h=s!==void 0?Hq(o,s):o,p,v,b;for(l===void 0?(p=1,b=a[d[0]]):(p=0,b=l);p<c;p++)v=d[p],b=h(b,a[v],v,a);return b};Uf=os.styles,Wq=os.shims,qq=(u_={},vn(u_,xa,Object.values(lm[xa])),vn(u_,ja,Object.values(lm[ja])),u_),Q2=null,v5={},g5={},_5={},b5={},y5={},Yq=(d_={},vn(d_,xa,Object.keys(om[xa])),vn(d_,ja,Object.keys(om[ja])),d_);S5=function(){var a=function(d){return A2(Uf,function(c,h,p){return c[p]=A2(h,d,{}),c},{})};v5=a(function(s,d,c){if(d[3]&&(s[d[3]]=c),d[2]){var h=d[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),g5=a(function(s,d,c){if(s[c]=c,d[2]){var h=d[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),y5=a(function(s,d,c){var h=d[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var o="far"in Uf||Dt.autoFetchSvg,l=A2(Wq,function(s,d){var c=d[0],h=d[1],p=d[2];return h==="far"&&!o&&(h="fas"),typeof c=="string"&&(s.names[c]={prefix:h,iconName:p}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});_5=l.names,b5=l.unicodes,Q2=b_(Dt.styleDefault,{family:Dt.familyDefault})};Lq(function(r){Q2=b_(r.styleDefault,{family:Dt.familyDefault})});S5();Z2=function(){return{prefix:null,iconName:null,rest:[]}};HR=(f_={},vn(f_,xa,Object.keys(lm[xa])),vn(f_,ja,Object.keys(lm[ja])),f_);Qq=function(){function r(){uq(this,r),this.definitions={}}return dq(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];var c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){o.definitions[h]=wt(wt({},o.definitions[h]||{}),c[h]),M2(h,c[h]);var p=lm[xa][h];p&&M2(p,c[h]),S5()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(d){var c=s[d],h=c.prefix,p=c.iconName,v=c.icon,b=v[2];o[h]||(o[h]={}),b.length>0&&b.forEach(function(y){typeof y=="string"&&(o[h][y]=v)}),o[h][p]=v}),o}}]),r}(),UR=[],Vf={},Wf={},Jq=Object.keys(Wf);C5=new Qq,eY=function(){Dt.autoReplaceSvg=!1,Dt.observeMutations=!1,pd("noAuto")},tY={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return yc?(pd("beforeI2svg",a),bc("pseudoElements2svg",a),bc("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;Dt.autoReplaceSvg===!1&&(Dt.autoReplaceSvg=!0),Dt.observeMutations=!0,jq(function(){aY({autoReplaceSvgRoot:o}),pd("watch",a)})}},rY={icon:function(a){if(a===null)return null;if(m_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:dd(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=b_(a[0]);return{prefix:l,iconName:dd(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(Dt.cssPrefix,"-"))>-1||a.match(Cq))){var s=y_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||mu(),iconName:dd(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var d=mu();return{prefix:d,iconName:dd(d,a)||a}}}},
|
|
924
|
-
`);o.setAttribute(fd,""),o.innerHTML=c}};rS=!1;g_=null;SY=os.styles;vu=new Set;G2.map(function(r){vu.add("fa-".concat(r))});Object.keys(om[xa]).map(vu.add.bind(vu));Object.keys(om[ja]).map(vu.add.bind(vu));vu=um(vu);xY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Is:l,d=o.symbol,c=d===void 0?!1:d,h=o.mask,p=h===void 0?null:h,v=o.maskId,b=v===void 0?null:v,y=o.title,x=y===void 0?null:y,w=o.titleId,R=w===void 0?null:w,N=o.classes,M=N===void 0?[]:N,G=o.attributes,P=G===void 0?{}:G,U=o.styles,H=U===void 0?{}:U;if(a){var J=a.prefix,I=a.iconName,re=a.icon;return S_(wt({type:"icon"},a),function(){return pd("beforeDOMElementCreation",{iconDefinition:a,params:o}),Dt.autoA11y&&(x?P["aria-labelledby"]="".concat(Dt.replacementClass,"-title-").concat(R||cm()):(P["aria-hidden"]="true",P.focusable="false")),eS({icons:{main:j2(re),mask:p?j2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:J,iconName:I,transform:wt(wt({},Is),s),symbol:c,title:x,maskId:b,titleId:R,extra:{attributes:P,styles:H,classes:M}})})}},kY={mixout:function(){return{icon:CY(xY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=KR,o.nodeCallback=wY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ka:l,d=o.callback,c=d===void 0?function(){}:d;return KR(s,c)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,d=l.title,c=l.titleId,h=l.prefix,p=l.transform,v=l.symbol,b=l.mask,y=l.maskId,x=l.extra;return new Promise(function(w,R){Promise.all([H2(s,h),b.iconName?H2(b.iconName,b.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(N){var M=W2(N,2),G=M[0],P=M[1];w([o,eS({icons:{main:G,mask:P},prefix:h,iconName:s,transform:p,symbol:v,maskId:y,title:d,titleId:c,extra:x,watchable:!0})])}).catch(R)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,d=o.main,c=o.transform,h=o.styles,p=__(h);p.length>0&&(s.style=p);var v;return X2(c)&&(v=bc("generateAbstractTransformGrouping",{main:d,transform:c,containerWidth:d.width,iconWidth:d.width})),l.push(v||d.icon),{children:l,attributes:s}}}},TY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,d=s===void 0?[]:s;return S_({type:"layer"},function(){pd("beforeDOMElementCreation",{assembler:o,params:l});var c=[];return o(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(Dt.cssPrefix,"-layers")].concat(um(d)).join(" ")},children:c}]})}}}},RY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,d=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,v=p===void 0?{}:p,b=l.styles,y=b===void 0?{}:b;return S_({type:"counter",content:o},function(){return pd("beforeDOMElementCreation",{content:o,params:l}),iY({content:o.toString(),title:d,extra:{attributes:v,styles:y,classes:["".concat(Dt.cssPrefix,"-layers-counter")].concat(um(h))}})})}}}},EY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,d=s===void 0?Is:s,c=l.title,h=c===void 0?null:c,p=l.classes,v=p===void 0?[]:p,b=l.attributes,y=b===void 0?{}:b,x=l.styles,w=x===void 0?{}:x;return S_({type:"text",content:o},function(){return pd("beforeDOMElementCreation",{content:o,params:l}),VR({content:o,transform:wt(wt({},Is),d),title:h,extra:{attributes:y,styles:w,classes:["".concat(Dt.cssPrefix,"-layers-text")].concat(um(v))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,d=l.transform,c=l.extra,h=null,p=null;if(i5){var v=parseInt(getComputedStyle(o).fontSize,10),b=o.getBoundingClientRect();h=b.width/v,p=b.height/v}return Dt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([o,VR({content:o.innerHTML,width:h,height:p,transform:d,title:s,extra:c,watchable:!0})])}}},DY=new RegExp('"',"ug"),XR=[1105920,1112319];NY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=JR,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ka:l;Dt.searchPseudoElements&&JR(s)}}},ZR=!1,OY={mixout:function(){return{dom:{unwatch:function(){R5(),ZR=!0}}}},hooks:function(){return{bootstrap:function(){$R(z2("mutationObserverCallbacks",{}))},noAuto:function(){vY()},watch:function(o){var l=o.observeMutationsRoot;ZR?V2():$R(z2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},e5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var d=s.toLowerCase().split("-"),c=d[0],h=d.slice(1).join("-");if(c&&h==="h")return l.flipX=!0,l;if(c&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(c){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},IY={mixout:function(){return{parse:{transform:function(o){return e5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=e5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,d=o.containerWidth,c=o.iconWidth,h={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),v="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),y={transform:"".concat(p," ").concat(v," ").concat(b)},x={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:y,path:x};return{tag:"g",attributes:wt({},w.outer),children:[{tag:"g",attributes:wt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:wt(wt({},l.icon.attributes),w.path)}]}]}}}},B2={x:0,y:0,width:"100%",height:"100%"};MY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),d=s?y_(s.split(" ").map(function(c){return c.trim()})):Z2();return d.prefix||(d.prefix=mu()),o.mask=d,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,d=o.main,c=o.mask,h=o.maskId,p=o.transform,v=d.width,b=d.icon,y=c.width,x=c.icon,w=Iq({transform:p,containerWidth:y,iconWidth:v}),R={tag:"rect",attributes:wt(wt({},B2),{},{fill:"white"})},N=b.children?{children:b.children.map(t5)}:{},M={tag:"g",attributes:wt({},w.inner),children:[t5(wt({tag:b.tag,attributes:wt(wt({},b.attributes),w.path)},N))]},G={tag:"g",attributes:wt({},w.outer),children:[M]},P="mask-".concat(h||cm()),U="clip-".concat(h||cm()),H={tag:"mask",attributes:wt(wt({},B2),{},{id:P,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[R,G]},J={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:PY(x)},H]};return l.push(J,{tag:"rect",attributes:wt({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(P,")")},B2)}),{children:l,attributes:s}}}},zY={provides:function(a){var o=!1;hu.matchMedia&&(o=hu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:wt(wt({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=wt(wt({},d),{},{attributeName:"opacity"}),h={tag:"circle",attributes:wt(wt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:wt(wt({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:wt(wt({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:wt(wt({},c),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:wt(wt({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},FY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),d=s===null?!1:s===""?!0:s;return o.symbol=d,o}}}},jY=[zq,kY,TY,RY,EY,NY,OY,IY,MY,zY,FY];Zq(jY,{mixoutsTo:No});HY=No.noAuto,UY=No.config,VY=No.library,WY=No.dom,qY=No.parse,YY=No.findIconDefinition,$Y=No.toHtml,GY=No.icon,KY=No.layer,XY=No.text,QY=No.counter});var L5=qe(oa=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,v=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,x=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,R=r?Symbol.for("react.lazy"):60116,N=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,P=r?Symbol.for("react.scope"):60119;function U(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===v||Te===d||Te===s||Te===y||Te===x||typeof Te=="object"&&Te!==null&&(Te.$$typeof===R||Te.$$typeof===w||Te.$$typeof===c||Te.$$typeof===h||Te.$$typeof===b||Te.$$typeof===M||Te.$$typeof===G||Te.$$typeof===P||Te.$$typeof===N)}function H(Te){if(typeof Te=="object"&&Te!==null){var Rt=Te.$$typeof;switch(Rt){case a:var Ut=Te.type;switch(Ut){case p:case v:case l:case d:case s:case y:return Ut;default:var Qt=Ut&&Ut.$$typeof;switch(Qt){case h:case b:case R:case w:case c:return Qt;default:return Rt}}case o:return Rt}}}var J=p,I=v,re=h,ge=c,ne=a,ke=b,xe=l,ye=R,V=w,se=o,pe=d,j=s,$=y,oe=!1;function ee(Te){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ue(Te)||H(Te)===p}function ue(Te){return H(Te)===v}function Ce(Te){return H(Te)===h}function Se(Te){return H(Te)===c}function Ie(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function Ge(Te){return H(Te)===b}function Qe(Te){return H(Te)===l}function yt(Te){return H(Te)===R}function Ht(Te){return H(Te)===w}function pt(Te){return H(Te)===o}function kt(Te){return H(Te)===d}function vt(Te){return H(Te)===s}function it(Te){return H(Te)===y}oa.AsyncMode=J,oa.ConcurrentMode=I,oa.ContextConsumer=re,oa.ContextProvider=ge,oa.Element=ne,oa.ForwardRef=ke,oa.Fragment=xe,oa.Lazy=ye,oa.Memo=V,oa.Portal=se,oa.Profiler=pe,oa.StrictMode=j,oa.Suspense=$,oa.isAsyncMode=ee,oa.isConcurrentMode=ue,oa.isContextConsumer=Ce,oa.isContextProvider=Se,oa.isElement=Ie,oa.isForwardRef=Ge,oa.isFragment=Qe,oa.isLazy=yt,oa.isMemo=Ht,oa.isPortal=pt,oa.isProfiler=kt,oa.isStrictMode=vt,oa.isSuspense=it,oa.isValidElementType=U,oa.typeOf=H})()});var aS=qe((zG,B5)=>{"use strict";B5.exports=L5()});var I5=qe((FG,O5)=>{"use strict";var N5=Object.getOwnPropertySymbols,JY=Object.prototype.hasOwnProperty,ZY=Object.prototype.propertyIsEnumerable;function e$(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function t$(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}O5.exports=t$()?Object.assign:function(r,a){for(var o,l=e$(r),s,d=1;d<arguments.length;d++){o=Object(arguments[d]);for(var c in o)JY.call(o,c)&&(l[c]=o[c]);if(N5){s=N5(o);for(var h=0;h<s.length;h++)ZY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var nS=qe((jG,P5)=>{"use strict";var r$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";P5.exports=r$});var oS=qe((HG,M5)=>{M5.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var U5=qe((UG,H5)=>{"use strict";var iS=function(){};z5=nS(),w_={},F5=oS(),iS=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var z5,w_,F5;function j5(r,a,o,l,s){for(var d in r)if(F5(r,d)){var c;try{if(typeof r[d]!="function"){var h=Error((l||"React class")+": "+o+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[d](a,d,l,o,null,z5)}catch(v){c=v}if(c&&!(c instanceof Error)&&iS((l||"React class")+": type specification of "+o+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in w_)){w_[c.message]=!0;var p=s?s():"";iS("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}j5.resetWarningCache=function(){w_={}};H5.exports=j5});var q5=qe((VG,W5)=>{"use strict";var a$=aS(),n$=I5(),$f=nS(),lS=oS(),V5=U5(),Gf=function(){};Gf=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function C_(){return null}W5.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(V){var se=V&&(o&&V[o]||V[l]);if(typeof se=="function")return se}var d="<<anonymous>>",c={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:y(),arrayOf:x,element:w(),elementType:R(),instanceOf:N,node:U(),objectOf:G,oneOf:M,oneOfType:P,shape:J,exact:I};function h(V,se){return V===se?V!==0||1/V===1/se:V!==V&&se!==se}function p(V,se){this.message=V,this.data=se&&typeof se=="object"?se:{},this.stack=""}p.prototype=Error.prototype;function v(V){var se={},pe=0;function j(oe,ee,ue,Ce,Se,Ie,Ge){if(Ce=Ce||d,Ie=Ie||ue,Ge!==$f){if(a){var Qe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Qe.name="Invariant Violation",Qe}else if(typeof console!="undefined"){var yt=Ce+":"+ue;!se[yt]&&pe<3&&(Gf("You are manually calling a React.PropTypes validation function for the `"+Ie+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),se[yt]=!0,pe++)}}return ee[ue]==null?oe?ee[ue]===null?new p("The "+Se+" `"+Ie+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new p("The "+Se+" `"+Ie+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:V(ee,ue,Ce,Se,Ie)}var $=j.bind(null,!1);return $.isRequired=j.bind(null,!0),$}function b(V){function se(pe,j,$,oe,ee,ue){var Ce=pe[j],Se=ne(Ce);if(Se!==V){var Ie=ke(Ce);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ie+"` supplied to `"+$+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return v(se)}function y(){return v(C_)}function x(V){function se(pe,j,$,oe,ee){if(typeof V!="function")return new p("Property `"+ee+"` of component `"+$+"` has invalid PropType notation inside arrayOf.");var ue=pe[j];if(!Array.isArray(ue)){var Ce=ne(ue);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected an array."))}for(var Se=0;Se<ue.length;Se++){var Ie=V(ue,Se,$,oe,ee+"["+Se+"]",$f);if(Ie instanceof Error)return Ie}return null}return v(se)}function w(){function V(se,pe,j,$,oe){var ee=se[pe];if(!r(ee)){var ue=ne(ee);return new p("Invalid "+$+" `"+oe+"` of type "+("`"+ue+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return v(V)}function R(){function V(se,pe,j,$,oe){var ee=se[pe];if(!a$.isValidElementType(ee)){var ue=ne(ee);return new p("Invalid "+$+" `"+oe+"` of type "+("`"+ue+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return v(V)}function N(V){function se(pe,j,$,oe,ee){if(!(pe[j]instanceof V)){var ue=V.name||d,Ce=ye(pe[j]);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected ")+("instance of `"+ue+"`."))}return null}return v(se)}function M(V){if(!Array.isArray(V))return arguments.length>1?Gf("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Gf("Invalid argument supplied to oneOf, expected an array."),C_;function se(pe,j,$,oe,ee){for(var ue=pe[j],Ce=0;Ce<V.length;Ce++)if(h(ue,V[Ce]))return null;var Se=JSON.stringify(V,function(Ge,Qe){var yt=ke(Qe);return yt==="symbol"?String(Qe):Qe});return new p("Invalid "+oe+" `"+ee+"` of value `"+String(ue)+"` "+("supplied to `"+$+"`, expected one of "+Se+"."))}return v(se)}function G(V){function se(pe,j,$,oe,ee){if(typeof V!="function")return new p("Property `"+ee+"` of component `"+$+"` has invalid PropType notation inside objectOf.");var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected an object."));for(var Se in ue)if(lS(ue,Se)){var Ie=V(ue,Se,$,oe,ee+"."+Se,$f);if(Ie instanceof Error)return Ie}return null}return v(se)}function P(V){if(!Array.isArray(V))return Gf("Invalid argument supplied to oneOfType, expected an instance of array."),C_;for(var se=0;se<V.length;se++){var pe=V[se];if(typeof pe!="function")return Gf("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(pe)+" at index "+se+"."),C_}function j($,oe,ee,ue,Ce){for(var Se=[],Ie=0;Ie<V.length;Ie++){var Ge=V[Ie],Qe=Ge($,oe,ee,ue,Ce,$f);if(Qe==null)return null;Qe.data&&lS(Qe.data,"expectedType")&&Se.push(Qe.data.expectedType)}var yt=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+ue+" `"+Ce+"` supplied to "+("`"+ee+"`"+yt+"."))}return v(j)}function U(){function V(se,pe,j,$,oe){return re(se[pe])?null:new p("Invalid "+$+" `"+oe+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return v(V)}function H(V,se,pe,j,$){return new p((V||"React class")+": "+se+" type `"+pe+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+$+"`.")}function J(V){function se(pe,j,$,oe,ee){var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+$+"`, expected `object`."));for(var Se in V){var Ie=V[Se];if(typeof Ie!="function")return H($,oe,ee,Se,ke(Ie));var Ge=Ie(ue,Se,$,oe,ee+"."+Se,$f);if(Ge)return Ge}return null}return v(se)}function I(V){function se(pe,j,$,oe,ee){var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+$+"`, expected `object`."));var Se=n$({},pe[j],V);for(var Ie in Se){var Ge=V[Ie];if(lS(V,Ie)&&typeof Ge!="function")return H($,oe,ee,Ie,ke(Ge));if(!Ge)return new p("Invalid "+oe+" `"+ee+"` key `"+Ie+"` supplied to `"+$+"`.\nBad object: "+JSON.stringify(pe[j],null," ")+`
|
|
923
|
+
}`;zR=!1;zq={mixout:function(){return{dom:{css:h5,insertCss:D2}}},hooks:function(){return{beforeDOMElementCreation:function(){D2()},beforeI2svg:function(){D2()}}}},_c=hu||{};_c[gc]||(_c[gc]={});_c[gc].styles||(_c[gc].styles={});_c[gc].hooks||(_c[gc].hooks={});_c[gc].shims||(_c[gc].shims=[]);os=_c[gc],m5=[],Fq=function r(){ka.removeEventListener("DOMContentLoaded",r),v_=1,m5.map(function(a){return a()})},v_=!1;yc&&(v_=(ka.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ka.readyState),v_||ka.addEventListener("DOMContentLoaded",Fq));Hq=function(a,o){return function(l,s,d,c){return a.call(o,l,s,d,c)}},A2=function(a,o,l,s){var d=Object.keys(a),c=d.length,h=s!==void 0?Hq(o,s):o,p,v,b;for(l===void 0?(p=1,b=a[d[0]]):(p=0,b=l);p<c;p++)v=d[p],b=h(b,a[v],v,a);return b};Uf=os.styles,Wq=os.shims,qq=(u_={},vn(u_,xa,Object.values(lm[xa])),vn(u_,ja,Object.values(lm[ja])),u_),Q2=null,v5={},g5={},_5={},b5={},y5={},Yq=(d_={},vn(d_,xa,Object.keys(om[xa])),vn(d_,ja,Object.keys(om[ja])),d_);S5=function(){var a=function(d){return A2(Uf,function(c,h,p){return c[p]=A2(h,d,{}),c},{})};v5=a(function(s,d,c){if(d[3]&&(s[d[3]]=c),d[2]){var h=d[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),g5=a(function(s,d,c){if(s[c]=c,d[2]){var h=d[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),y5=a(function(s,d,c){var h=d[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var o="far"in Uf||Dt.autoFetchSvg,l=A2(Wq,function(s,d){var c=d[0],h=d[1],p=d[2];return h==="far"&&!o&&(h="fas"),typeof c=="string"&&(s.names[c]={prefix:h,iconName:p}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});_5=l.names,b5=l.unicodes,Q2=b_(Dt.styleDefault,{family:Dt.familyDefault})};Lq(function(r){Q2=b_(r.styleDefault,{family:Dt.familyDefault})});S5();Z2=function(){return{prefix:null,iconName:null,rest:[]}};HR=(f_={},vn(f_,xa,Object.keys(lm[xa])),vn(f_,ja,Object.keys(lm[ja])),f_);Qq=function(){function r(){uq(this,r),this.definitions={}}return dq(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];var c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){o.definitions[h]=wt(wt({},o.definitions[h]||{}),c[h]),M2(h,c[h]);var p=lm[xa][h];p&&M2(p,c[h]),S5()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(d){var c=s[d],h=c.prefix,p=c.iconName,v=c.icon,b=v[2];o[h]||(o[h]={}),b.length>0&&b.forEach(function(y){typeof y=="string"&&(o[h][y]=v)}),o[h][p]=v}),o}}]),r}(),UR=[],Vf={},Wf={},Jq=Object.keys(Wf);C5=new Qq,eY=function(){Dt.autoReplaceSvg=!1,Dt.observeMutations=!1,pd("noAuto")},tY={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return yc?(pd("beforeI2svg",a),bc("pseudoElements2svg",a),bc("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;Dt.autoReplaceSvg===!1&&(Dt.autoReplaceSvg=!0),Dt.observeMutations=!0,jq(function(){aY({autoReplaceSvgRoot:o}),pd("watch",a)})}},rY={icon:function(a){if(a===null)return null;if(m_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:dd(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=b_(a[0]);return{prefix:l,iconName:dd(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(Dt.cssPrefix,"-"))>-1||a.match(Cq))){var s=y_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||mu(),iconName:dd(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var d=mu();return{prefix:d,iconName:dd(d,a)||a}}}},Bo={noAuto:eY,config:Dt,dom:tY,parse:rY,library:C5,findIconDefinition:F2,toHtml:fm},aY=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ka:o;(Object.keys(os.styles).length>0||Dt.autoFetchSvg)&&yc&&Dt.autoReplaceSvg&&Bo.dom.i2svg({node:l})};L2=os.styles;lY={found:!1,width:512,height:512};WR=function(){},U2=Dt.measurePerformance&&n_&&n_.mark&&n_.measure?n_:{mark:WR,measure:WR},rm='FA "6.4.2"',cY=function(a){return U2.mark("".concat(rm," ").concat(a," begins")),function(){return x5(a)}},x5=function(a){U2.mark("".concat(rm," ").concat(a," ends")),U2.measure("".concat(rm," ").concat(a),"".concat(rm," ").concat(a," begins"),"".concat(rm," ").concat(a," ends"))},tS={begin:cY,end:x5},p_=function(){};h_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(k5(s),o)}),o.getAttribute(fd)===null&&Dt.keepOriginalSource){var l=ka.createComment(mY(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~K2(o).indexOf(Dt.replacementClass))return h_.replace(a);var s=new RegExp("".concat(Dt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var d=l[0].attributes.class.split(" ").reduce(function(h,p){return p===Dt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",d.toNode.join(" "))}var c=l.map(function(h){return fm(h)}).join(`
|
|
924
|
+
`);o.setAttribute(fd,""),o.innerHTML=c}};rS=!1;g_=null;SY=os.styles;vu=new Set;G2.map(function(r){vu.add("fa-".concat(r))});Object.keys(om[xa]).map(vu.add.bind(vu));Object.keys(om[ja]).map(vu.add.bind(vu));vu=um(vu);xY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Is:l,d=o.symbol,c=d===void 0?!1:d,h=o.mask,p=h===void 0?null:h,v=o.maskId,b=v===void 0?null:v,y=o.title,x=y===void 0?null:y,w=o.titleId,R=w===void 0?null:w,N=o.classes,M=N===void 0?[]:N,G=o.attributes,P=G===void 0?{}:G,U=o.styles,H=U===void 0?{}:U;if(a){var J=a.prefix,I=a.iconName,re=a.icon;return S_(wt({type:"icon"},a),function(){return pd("beforeDOMElementCreation",{iconDefinition:a,params:o}),Dt.autoA11y&&(x?P["aria-labelledby"]="".concat(Dt.replacementClass,"-title-").concat(R||cm()):(P["aria-hidden"]="true",P.focusable="false")),eS({icons:{main:j2(re),mask:p?j2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:J,iconName:I,transform:wt(wt({},Is),s),symbol:c,title:x,maskId:b,titleId:R,extra:{attributes:P,styles:H,classes:M}})})}},kY={mixout:function(){return{icon:CY(xY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=KR,o.nodeCallback=wY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ka:l,d=o.callback,c=d===void 0?function(){}:d;return KR(s,c)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,d=l.title,c=l.titleId,h=l.prefix,p=l.transform,v=l.symbol,b=l.mask,y=l.maskId,x=l.extra;return new Promise(function(w,R){Promise.all([H2(s,h),b.iconName?H2(b.iconName,b.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(N){var M=W2(N,2),G=M[0],P=M[1];w([o,eS({icons:{main:G,mask:P},prefix:h,iconName:s,transform:p,symbol:v,maskId:y,title:d,titleId:c,extra:x,watchable:!0})])}).catch(R)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,d=o.main,c=o.transform,h=o.styles,p=__(h);p.length>0&&(s.style=p);var v;return X2(c)&&(v=bc("generateAbstractTransformGrouping",{main:d,transform:c,containerWidth:d.width,iconWidth:d.width})),l.push(v||d.icon),{children:l,attributes:s}}}},TY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,d=s===void 0?[]:s;return S_({type:"layer"},function(){pd("beforeDOMElementCreation",{assembler:o,params:l});var c=[];return o(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(Dt.cssPrefix,"-layers")].concat(um(d)).join(" ")},children:c}]})}}}},RY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,d=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,v=p===void 0?{}:p,b=l.styles,y=b===void 0?{}:b;return S_({type:"counter",content:o},function(){return pd("beforeDOMElementCreation",{content:o,params:l}),iY({content:o.toString(),title:d,extra:{attributes:v,styles:y,classes:["".concat(Dt.cssPrefix,"-layers-counter")].concat(um(h))}})})}}}},EY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,d=s===void 0?Is:s,c=l.title,h=c===void 0?null:c,p=l.classes,v=p===void 0?[]:p,b=l.attributes,y=b===void 0?{}:b,x=l.styles,w=x===void 0?{}:x;return S_({type:"text",content:o},function(){return pd("beforeDOMElementCreation",{content:o,params:l}),VR({content:o,transform:wt(wt({},Is),d),title:h,extra:{attributes:y,styles:w,classes:["".concat(Dt.cssPrefix,"-layers-text")].concat(um(v))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,d=l.transform,c=l.extra,h=null,p=null;if(i5){var v=parseInt(getComputedStyle(o).fontSize,10),b=o.getBoundingClientRect();h=b.width/v,p=b.height/v}return Dt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([o,VR({content:o.innerHTML,width:h,height:p,transform:d,title:s,extra:c,watchable:!0})])}}},DY=new RegExp('"',"ug"),XR=[1105920,1112319];NY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=JR,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ka:l;Dt.searchPseudoElements&&JR(s)}}},ZR=!1,OY={mixout:function(){return{dom:{unwatch:function(){R5(),ZR=!0}}}},hooks:function(){return{bootstrap:function(){$R(z2("mutationObserverCallbacks",{}))},noAuto:function(){vY()},watch:function(o){var l=o.observeMutationsRoot;ZR?V2():$R(z2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},e5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var d=s.toLowerCase().split("-"),c=d[0],h=d.slice(1).join("-");if(c&&h==="h")return l.flipX=!0,l;if(c&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(c){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},IY={mixout:function(){return{parse:{transform:function(o){return e5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=e5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,d=o.containerWidth,c=o.iconWidth,h={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),v="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),y={transform:"".concat(p," ").concat(v," ").concat(b)},x={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:y,path:x};return{tag:"g",attributes:wt({},w.outer),children:[{tag:"g",attributes:wt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:wt(wt({},l.icon.attributes),w.path)}]}]}}}},B2={x:0,y:0,width:"100%",height:"100%"};MY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),d=s?y_(s.split(" ").map(function(c){return c.trim()})):Z2();return d.prefix||(d.prefix=mu()),o.mask=d,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,d=o.main,c=o.mask,h=o.maskId,p=o.transform,v=d.width,b=d.icon,y=c.width,x=c.icon,w=Iq({transform:p,containerWidth:y,iconWidth:v}),R={tag:"rect",attributes:wt(wt({},B2),{},{fill:"white"})},N=b.children?{children:b.children.map(t5)}:{},M={tag:"g",attributes:wt({},w.inner),children:[t5(wt({tag:b.tag,attributes:wt(wt({},b.attributes),w.path)},N))]},G={tag:"g",attributes:wt({},w.outer),children:[M]},P="mask-".concat(h||cm()),U="clip-".concat(h||cm()),H={tag:"mask",attributes:wt(wt({},B2),{},{id:P,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[R,G]},J={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:PY(x)},H]};return l.push(J,{tag:"rect",attributes:wt({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(P,")")},B2)}),{children:l,attributes:s}}}},zY={provides:function(a){var o=!1;hu.matchMedia&&(o=hu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:wt(wt({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=wt(wt({},d),{},{attributeName:"opacity"}),h={tag:"circle",attributes:wt(wt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:wt(wt({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:wt(wt({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:wt(wt({},c),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:wt(wt({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},FY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),d=s===null?!1:s===""?!0:s;return o.symbol=d,o}}}},jY=[zq,kY,TY,RY,EY,NY,OY,IY,MY,zY,FY];Zq(jY,{mixoutsTo:Bo});HY=Bo.noAuto,UY=Bo.config,VY=Bo.library,WY=Bo.dom,qY=Bo.parse,YY=Bo.findIconDefinition,$Y=Bo.toHtml,GY=Bo.icon,KY=Bo.layer,XY=Bo.text,QY=Bo.counter});var L5=qe(oa=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,v=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,x=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,R=r?Symbol.for("react.lazy"):60116,N=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,P=r?Symbol.for("react.scope"):60119;function U(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===v||Te===d||Te===s||Te===y||Te===x||typeof Te=="object"&&Te!==null&&(Te.$$typeof===R||Te.$$typeof===w||Te.$$typeof===c||Te.$$typeof===h||Te.$$typeof===b||Te.$$typeof===M||Te.$$typeof===G||Te.$$typeof===P||Te.$$typeof===N)}function H(Te){if(typeof Te=="object"&&Te!==null){var Rt=Te.$$typeof;switch(Rt){case a:var Ut=Te.type;switch(Ut){case p:case v:case l:case d:case s:case y:return Ut;default:var Qt=Ut&&Ut.$$typeof;switch(Qt){case h:case b:case R:case w:case c:return Qt;default:return Rt}}case o:return Rt}}}var J=p,I=v,re=h,ge=c,ne=a,ke=b,xe=l,ye=R,V=w,se=o,pe=d,j=s,$=y,oe=!1;function ee(Te){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ue(Te)||H(Te)===p}function ue(Te){return H(Te)===v}function Ce(Te){return H(Te)===h}function Se(Te){return H(Te)===c}function Ie(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function Ge(Te){return H(Te)===b}function Qe(Te){return H(Te)===l}function yt(Te){return H(Te)===R}function Ht(Te){return H(Te)===w}function pt(Te){return H(Te)===o}function kt(Te){return H(Te)===d}function vt(Te){return H(Te)===s}function it(Te){return H(Te)===y}oa.AsyncMode=J,oa.ConcurrentMode=I,oa.ContextConsumer=re,oa.ContextProvider=ge,oa.Element=ne,oa.ForwardRef=ke,oa.Fragment=xe,oa.Lazy=ye,oa.Memo=V,oa.Portal=se,oa.Profiler=pe,oa.StrictMode=j,oa.Suspense=$,oa.isAsyncMode=ee,oa.isConcurrentMode=ue,oa.isContextConsumer=Ce,oa.isContextProvider=Se,oa.isElement=Ie,oa.isForwardRef=Ge,oa.isFragment=Qe,oa.isLazy=yt,oa.isMemo=Ht,oa.isPortal=pt,oa.isProfiler=kt,oa.isStrictMode=vt,oa.isSuspense=it,oa.isValidElementType=U,oa.typeOf=H})()});var aS=qe((zG,B5)=>{"use strict";B5.exports=L5()});var I5=qe((FG,O5)=>{"use strict";var N5=Object.getOwnPropertySymbols,JY=Object.prototype.hasOwnProperty,ZY=Object.prototype.propertyIsEnumerable;function e$(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function t$(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}O5.exports=t$()?Object.assign:function(r,a){for(var o,l=e$(r),s,d=1;d<arguments.length;d++){o=Object(arguments[d]);for(var c in o)JY.call(o,c)&&(l[c]=o[c]);if(N5){s=N5(o);for(var h=0;h<s.length;h++)ZY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var nS=qe((jG,P5)=>{"use strict";var r$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";P5.exports=r$});var oS=qe((HG,M5)=>{M5.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var U5=qe((UG,H5)=>{"use strict";var iS=function(){};z5=nS(),w_={},F5=oS(),iS=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var z5,w_,F5;function j5(r,a,o,l,s){for(var d in r)if(F5(r,d)){var c;try{if(typeof r[d]!="function"){var h=Error((l||"React class")+": "+o+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[d](a,d,l,o,null,z5)}catch(v){c=v}if(c&&!(c instanceof Error)&&iS((l||"React class")+": type specification of "+o+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in w_)){w_[c.message]=!0;var p=s?s():"";iS("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}j5.resetWarningCache=function(){w_={}};H5.exports=j5});var q5=qe((VG,W5)=>{"use strict";var a$=aS(),n$=I5(),$f=nS(),lS=oS(),V5=U5(),Gf=function(){};Gf=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function C_(){return null}W5.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(V){var se=V&&(o&&V[o]||V[l]);if(typeof se=="function")return se}var d="<<anonymous>>",c={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:y(),arrayOf:x,element:w(),elementType:R(),instanceOf:N,node:U(),objectOf:G,oneOf:M,oneOfType:P,shape:J,exact:I};function h(V,se){return V===se?V!==0||1/V===1/se:V!==V&&se!==se}function p(V,se){this.message=V,this.data=se&&typeof se=="object"?se:{},this.stack=""}p.prototype=Error.prototype;function v(V){var se={},pe=0;function j(oe,ee,ue,Ce,Se,Ie,Ge){if(Ce=Ce||d,Ie=Ie||ue,Ge!==$f){if(a){var Qe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Qe.name="Invariant Violation",Qe}else if(typeof console!="undefined"){var yt=Ce+":"+ue;!se[yt]&&pe<3&&(Gf("You are manually calling a React.PropTypes validation function for the `"+Ie+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),se[yt]=!0,pe++)}}return ee[ue]==null?oe?ee[ue]===null?new p("The "+Se+" `"+Ie+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new p("The "+Se+" `"+Ie+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:V(ee,ue,Ce,Se,Ie)}var $=j.bind(null,!1);return $.isRequired=j.bind(null,!0),$}function b(V){function se(pe,j,$,oe,ee,ue){var Ce=pe[j],Se=ne(Ce);if(Se!==V){var Ie=ke(Ce);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ie+"` supplied to `"+$+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return v(se)}function y(){return v(C_)}function x(V){function se(pe,j,$,oe,ee){if(typeof V!="function")return new p("Property `"+ee+"` of component `"+$+"` has invalid PropType notation inside arrayOf.");var ue=pe[j];if(!Array.isArray(ue)){var Ce=ne(ue);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected an array."))}for(var Se=0;Se<ue.length;Se++){var Ie=V(ue,Se,$,oe,ee+"["+Se+"]",$f);if(Ie instanceof Error)return Ie}return null}return v(se)}function w(){function V(se,pe,j,$,oe){var ee=se[pe];if(!r(ee)){var ue=ne(ee);return new p("Invalid "+$+" `"+oe+"` of type "+("`"+ue+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return v(V)}function R(){function V(se,pe,j,$,oe){var ee=se[pe];if(!a$.isValidElementType(ee)){var ue=ne(ee);return new p("Invalid "+$+" `"+oe+"` of type "+("`"+ue+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return v(V)}function N(V){function se(pe,j,$,oe,ee){if(!(pe[j]instanceof V)){var ue=V.name||d,Ce=ye(pe[j]);return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected ")+("instance of `"+ue+"`."))}return null}return v(se)}function M(V){if(!Array.isArray(V))return arguments.length>1?Gf("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Gf("Invalid argument supplied to oneOf, expected an array."),C_;function se(pe,j,$,oe,ee){for(var ue=pe[j],Ce=0;Ce<V.length;Ce++)if(h(ue,V[Ce]))return null;var Se=JSON.stringify(V,function(Ge,Qe){var yt=ke(Qe);return yt==="symbol"?String(Qe):Qe});return new p("Invalid "+oe+" `"+ee+"` of value `"+String(ue)+"` "+("supplied to `"+$+"`, expected one of "+Se+"."))}return v(se)}function G(V){function se(pe,j,$,oe,ee){if(typeof V!="function")return new p("Property `"+ee+"` of component `"+$+"` has invalid PropType notation inside objectOf.");var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+$+"`, expected an object."));for(var Se in ue)if(lS(ue,Se)){var Ie=V(ue,Se,$,oe,ee+"."+Se,$f);if(Ie instanceof Error)return Ie}return null}return v(se)}function P(V){if(!Array.isArray(V))return Gf("Invalid argument supplied to oneOfType, expected an instance of array."),C_;for(var se=0;se<V.length;se++){var pe=V[se];if(typeof pe!="function")return Gf("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(pe)+" at index "+se+"."),C_}function j($,oe,ee,ue,Ce){for(var Se=[],Ie=0;Ie<V.length;Ie++){var Ge=V[Ie],Qe=Ge($,oe,ee,ue,Ce,$f);if(Qe==null)return null;Qe.data&&lS(Qe.data,"expectedType")&&Se.push(Qe.data.expectedType)}var yt=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+ue+" `"+Ce+"` supplied to "+("`"+ee+"`"+yt+"."))}return v(j)}function U(){function V(se,pe,j,$,oe){return re(se[pe])?null:new p("Invalid "+$+" `"+oe+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return v(V)}function H(V,se,pe,j,$){return new p((V||"React class")+": "+se+" type `"+pe+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+$+"`.")}function J(V){function se(pe,j,$,oe,ee){var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+$+"`, expected `object`."));for(var Se in V){var Ie=V[Se];if(typeof Ie!="function")return H($,oe,ee,Se,ke(Ie));var Ge=Ie(ue,Se,$,oe,ee+"."+Se,$f);if(Ge)return Ge}return null}return v(se)}function I(V){function se(pe,j,$,oe,ee){var ue=pe[j],Ce=ne(ue);if(Ce!=="object")return new p("Invalid "+oe+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+$+"`, expected `object`."));var Se=n$({},pe[j],V);for(var Ie in Se){var Ge=V[Ie];if(lS(V,Ie)&&typeof Ge!="function")return H($,oe,ee,Ie,ke(Ge));if(!Ge)return new p("Invalid "+oe+" `"+ee+"` key `"+Ie+"` supplied to `"+$+"`.\nBad object: "+JSON.stringify(pe[j],null," ")+`
|
|
925
925
|
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Qe=Ge(ue,Ie,$,oe,ee+"."+Ie,$f);if(Qe)return Qe}return null}return v(se)}function re(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(re);if(V===null||r(V))return!0;var se=s(V);if(se){var pe=se.call(V),j;if(se!==V.entries){for(;!(j=pe.next()).done;)if(!re(j.value))return!1}else for(;!(j=pe.next()).done;){var $=j.value;if($&&!re($[1]))return!1}}else return!1;return!0;default:return!1}}function ge(V,se){return V==="symbol"?!0:se?se["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&se instanceof Symbol:!1}function ne(V){var se=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":ge(se,V)?"symbol":se}function ke(V){if(typeof V=="undefined"||V===null)return""+V;var se=ne(V);if(se==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return se}function xe(V){var se=ke(V);switch(se){case"array":case"object":return"an "+se;case"boolean":case"date":case"regexp":return"a "+se;default:return se}}function ye(V){return!V.constructor||!V.constructor.name?d:V.constructor.name}return c.checkPropTypes=V5,c.resetWarningCache=V5.resetWarningCache,c.PropTypes=c,c}});var K5=qe((WG,G5)=>{Y5=aS(),$5=!0,G5.exports=q5()(Y5.isElement,$5);var Y5,$5});var Q5=qe((x_,X5)=>{(function(r,a){typeof x_=="object"&&typeof X5!="undefined"?a(x_,(A5(),UV(D5)),K5(),fr()):typeof define=="function"&&define.amd?define(["exports","@fortawesome/fontawesome-svg-core","prop-types","react"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r["react-fontawesome"]={},r.FontAwesome,r.PropTypes,r.React))})(x_,function(r,a,o,l){"use strict";function s(j){return j&&typeof j=="object"&&"default"in j?j:{default:j}}var d=s(o),c=s(l);function h(j,$){var oe=Object.keys(j);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(j);$&&(ee=ee.filter(function(ue){return Object.getOwnPropertyDescriptor(j,ue).enumerable})),oe.push.apply(oe,ee)}return oe}function p(j){for(var $=1;$<arguments.length;$++){var oe=arguments[$]!=null?arguments[$]:{};$%2?h(Object(oe),!0).forEach(function(ee){b(j,ee,oe[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(oe)):h(Object(oe)).forEach(function(ee){Object.defineProperty(j,ee,Object.getOwnPropertyDescriptor(oe,ee))})}return j}function v(j){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},v(j)}function b(j,$,oe){return $ in j?Object.defineProperty(j,$,{value:oe,enumerable:!0,configurable:!0,writable:!0}):j[$]=oe,j}function y(j,$){if(j==null)return{};var oe={},ee=Object.keys(j),ue,Ce;for(Ce=0;Ce<ee.length;Ce++)ue=ee[Ce],!($.indexOf(ue)>=0)&&(oe[ue]=j[ue]);return oe}function x(j,$){if(j==null)return{};var oe=y(j,$),ee,ue;if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(j);for(ue=0;ue<Ce.length;ue++)ee=Ce[ue],!($.indexOf(ee)>=0)&&Object.prototype.propertyIsEnumerable.call(j,ee)&&(oe[ee]=j[ee])}return oe}function w(j){return R(j)||N(j)||M(j)||P()}function R(j){if(Array.isArray(j))return G(j)}function N(j){if(typeof Symbol!="undefined"&&j[Symbol.iterator]!=null||j["@@iterator"]!=null)return Array.from(j)}function M(j,$){if(j){if(typeof j=="string")return G(j,$);var oe=Object.prototype.toString.call(j).slice(8,-1);if(oe==="Object"&&j.constructor&&(oe=j.constructor.name),oe==="Map"||oe==="Set")return Array.from(j);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return G(j,$)}}function G(j,$){($==null||$>j.length)&&($=j.length);for(var oe=0,ee=new Array($);oe<$;oe++)ee[oe]=j[oe];return ee}function P(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
926
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(j){var $,oe=j.beat,ee=j.fade,ue=j.beatFade,Ce=j.bounce,Se=j.shake,Ie=j.flash,Ge=j.spin,Qe=j.spinPulse,yt=j.spinReverse,Ht=j.pulse,pt=j.fixedWidth,kt=j.inverse,vt=j.border,it=j.listItem,Te=j.flip,Rt=j.size,Ut=j.rotation,Qt=j.pull,Yt=($={"fa-beat":oe,"fa-fade":ee,"fa-beat-fade":ue,"fa-bounce":Ce,"fa-shake":Se,"fa-flash":Ie,"fa-spin":Ge,"fa-spin-reverse":yt,"fa-spin-pulse":Qe,"fa-pulse":Ht,"fa-fw":pt,"fa-inverse":kt,"fa-border":vt,"fa-li":it,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},b($,"fa-".concat(Rt),typeof Rt!="undefined"&&Rt!==null),b($,"fa-rotate-".concat(Ut),typeof Ut!="undefined"&&Ut!==null&&Ut!==0),b($,"fa-pull-".concat(Qt),typeof Qt!="undefined"&&Qt!==null),b($,"fa-swap-opacity",j.swapOpacity),$);return Object.keys(Yt).map(function(lr){return Yt[lr]?lr:null}).filter(function(lr){return lr})}function H(j){return j=j-0,j===j}function J(j){return H(j)?j:(j=j.replace(/[\-_\s]+(.)?/g,function($,oe){return oe?oe.toUpperCase():""}),j.substr(0,1).toLowerCase()+j.substr(1))}var I=["style"];function re(j){return j.charAt(0).toUpperCase()+j.slice(1)}function ge(j){return j.split(";").map(function($){return $.trim()}).filter(function($){return $}).reduce(function($,oe){var ee=oe.indexOf(":"),ue=J(oe.slice(0,ee)),Ce=oe.slice(ee+1).trim();return ue.startsWith("webkit")?$[re(ue)]=Ce:$[ue]=Ce,$},{})}function ne(j,$){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof $=="string")return $;var ee=($.children||[]).map(function(Ge){return ne(j,Ge)}),ue=Object.keys($.attributes||{}).reduce(function(Ge,Qe){var yt=$.attributes[Qe];switch(Qe){case"class":Ge.attrs.className=yt,delete $.attributes.class;break;case"style":Ge.attrs.style=ge(yt);break;default:Qe.indexOf("aria-")===0||Qe.indexOf("data-")===0?Ge.attrs[Qe.toLowerCase()]=yt:Ge.attrs[J(Qe)]=yt}return Ge},{attrs:{}}),Ce=oe.style,Se=Ce===void 0?{}:Ce,Ie=x(oe,I);return ue.attrs.style=p(p({},ue.attrs.style),Se),j.apply(void 0,[$.tag,p(p({},ue.attrs),Ie)].concat(w(ee)))}var ke=!1;try{ke=!1}catch(j){}function xe(){if(!ke&&console&&typeof console.error=="function"){var j;(j=console).error.apply(j,arguments)}}function ye(j){if(j&&v(j)==="object"&&j.prefix&&j.iconName&&j.icon)return j;if(a.parse.icon)return a.parse.icon(j);if(j===null)return null;if(j&&v(j)==="object"&&j.prefix&&j.iconName)return j;if(Array.isArray(j)&&j.length===2)return{prefix:j[0],iconName:j[1]};if(typeof j=="string")return{prefix:"fas",iconName:j}}function V(j,$){return Array.isArray($)&&$.length>0||!Array.isArray($)&&$?b({},j,$):{}}var se=c.default.forwardRef(function(j,$){var oe=j.icon,ee=j.mask,ue=j.symbol,Ce=j.className,Se=j.title,Ie=j.titleId,Ge=j.maskId,Qe=ye(oe),yt=V("classes",[].concat(w(U(j)),w(Ce.split(" ")))),Ht=V("transform",typeof j.transform=="string"?a.parse.transform(j.transform):j.transform),pt=V("mask",ye(ee)),kt=a.icon(Qe,p(p(p(p({},yt),Ht),pt),{},{symbol:ue,title:Se,titleId:Ie,maskId:Ge}));if(!kt)return xe("Could not find icon",Qe),null;var vt=kt.abstract,it={ref:$};return Object.keys(j).forEach(function(Te){se.defaultProps.hasOwnProperty(Te)||(it[Te]=j[Te])}),pe(vt[0],it)});se.displayName="FontAwesomeIcon",se.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},se.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var pe=ne.bind(null,c.default.createElement);r.FontAwesomeIcon=se,Object.defineProperty(r,"__esModule",{value:!0})})});var nE=qe(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var J5="fas",Z5="xmark",eE=384,tE=512,sS=[128473,10005,10006,10060,215,"close","multiply","remove","times"],rE="f00d",aE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";Qo.definition={prefix:J5,iconName:Z5,icon:[eE,tE,sS,rE,aE]};Qo.faXmark=Qo.definition;Qo.prefix=J5;Qo.iconName=Z5;Qo.width=eE;Qo.height=tE;Qo.ligatures=sS;Qo.unicode=rE;Qo.svgPathData=aE;Qo.aliases=sS});var oE=qe(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var so=nE();Jo.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Jo.faTimes=Jo.definition;Jo.prefix=so.prefix;Jo.iconName=so.iconName;Jo.width=so.width;Jo.height=so.height;Jo.ligatures=so.aliases;Jo.unicode=so.unicode;Jo.svgPathData=so.svgPathData;Jo.aliases=so.aliases});var fE=qe(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var iE="fas",lE="angle-right",sE=320,cE=512,cS=[8250],uE="f105",dE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Zo.definition={prefix:iE,iconName:lE,icon:[sE,cE,cS,uE,dE]};Zo.faAngleRight=Zo.definition;Zo.prefix=iE;Zo.iconName=lE;Zo.width=sE;Zo.height=cE;Zo.ligatures=cS;Zo.unicode=uE;Zo.svgPathData=dE;Zo.aliases=cS});var bE=qe(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var pE="fas",hE="angle-left",mE=320,vE=512,uS=[8249],gE="f104",_E="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";ei.definition={prefix:pE,iconName:hE,icon:[mE,vE,uS,gE,_E]};ei.faAngleLeft=ei.definition;ei.prefix=pE;ei.iconName=hE;ei.width=mE;ei.height=vE;ei.ligatures=uS;ei.unicode=gE;ei.svgPathData=_E;ei.aliases=uS});var TE=qe(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var yE="fas",SE="angle-up",wE=448,CE=512,dS=[8963],xE="f106",kE="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";ti.definition={prefix:yE,iconName:SE,icon:[wE,CE,dS,xE,kE]};ti.faAngleUp=ti.definition;ti.prefix=yE;ti.iconName=SE;ti.width=wE;ti.height=CE;ti.ligatures=dS;ti.unicode=xE;ti.svgPathData=kE;ti.aliases=dS});var NE=qe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var RE="fas",EE="angle-down",DE=448,AE=512,fS=[8964],LE="f107",BE="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";ri.definition={prefix:RE,iconName:EE,icon:[DE,AE,fS,LE,BE]};ri.faAngleDown=ri.definition;ri.prefix=RE;ri.iconName=EE;ri.width=DE;ri.height=AE;ri.ligatures=fS;ri.unicode=LE;ri.svgPathData=BE;ri.aliases=fS});var jE=qe(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var OE="fas",IE="chevron-left",PE=320,ME=512,pS=[9001],zE="f053",FE="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";ai.definition={prefix:OE,iconName:IE,icon:[PE,ME,pS,zE,FE]};ai.faChevronLeft=ai.definition;ai.prefix=OE;ai.iconName=IE;ai.width=PE;ai.height=ME;ai.ligatures=pS;ai.unicode=zE;ai.svgPathData=FE;ai.aliases=pS});var $E=qe(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var HE="fas",UE="chevron-right",VE=320,WE=512,hS=[9002],qE="f054",YE="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";ni.definition={prefix:HE,iconName:UE,icon:[VE,WE,hS,qE,YE]};ni.faChevronRight=ni.definition;ni.prefix=HE;ni.iconName=UE;ni.width=VE;ni.height=WE;ni.ligatures=hS;ni.unicode=qE;ni.svgPathData=YE;ni.aliases=hS});var eD=qe(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var GE="fas",KE="chevron-up",XE=512,QE=512,mS=[],JE="f077",ZE="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";oi.definition={prefix:GE,iconName:KE,icon:[XE,QE,mS,JE,ZE]};oi.faChevronUp=oi.definition;oi.prefix=GE;oi.iconName=KE;oi.width=XE;oi.height=QE;oi.ligatures=mS;oi.unicode=JE;oi.svgPathData=ZE;oi.aliases=mS});var lD=qe(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var tD="fas",rD="chevron-down",aD=512,nD=512,vS=[],oD="f078",iD="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";ii.definition={prefix:tD,iconName:rD,icon:[aD,nD,vS,oD,iD]};ii.faChevronDown=ii.definition;ii.prefix=tD;ii.iconName=rD;ii.width=aD;ii.height=nD;ii.ligatures=vS;ii.unicode=oD;ii.svgPathData=iD;ii.aliases=vS});var hD=qe(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var sD="fas",cD="caret-left",uD=256,dD=512,gS=[],fD="f0d9",pD="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";li.definition={prefix:sD,iconName:cD,icon:[uD,dD,gS,fD,pD]};li.faCaretLeft=li.definition;li.prefix=sD;li.iconName=cD;li.width=uD;li.height=dD;li.ligatures=gS;li.unicode=fD;li.svgPathData=pD;li.aliases=gS});var SD=qe(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var mD="fas",vD="caret-right",gD=256,_D=512,_S=[],bD="f0da",yD="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";si.definition={prefix:mD,iconName:vD,icon:[gD,_D,_S,bD,yD]};si.faCaretRight=si.definition;si.prefix=mD;si.iconName=vD;si.width=gD;si.height=_D;si.ligatures=_S;si.unicode=bD;si.svgPathData=yD;si.aliases=_S});var ED=qe(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var wD="fas",CD="caret-up",xD=320,kD=512,bS=[],TD="f0d8",RD="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ci.definition={prefix:wD,iconName:CD,icon:[xD,kD,bS,TD,RD]};ci.faCaretUp=ci.definition;ci.prefix=wD;ci.iconName=CD;ci.width=xD;ci.height=kD;ci.ligatures=bS;ci.unicode=TD;ci.svgPathData=RD;ci.aliases=bS});var ID=qe(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var DD="fas",AD="caret-down",LD=320,BD=512,yS=[],ND="f0d7",OD="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ui.definition={prefix:DD,iconName:AD,icon:[LD,BD,yS,ND,OD]};ui.faCaretDown=ui.definition;ui.prefix=DD;ui.iconName=AD;ui.width=LD;ui.height=BD;ui.ligatures=yS;ui.unicode=ND;ui.svgPathData=OD;ui.aliases=yS});var UD=qe(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var PD="fas",MD="arrow-left",zD=448,FD=512,SS=[8592],jD="f060",HD="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";di.definition={prefix:PD,iconName:MD,icon:[zD,FD,SS,jD,HD]};di.faArrowLeft=di.definition;di.prefix=PD;di.iconName=MD;di.width=zD;di.height=FD;di.ligatures=SS;di.unicode=jD;di.svgPathData=HD;di.aliases=SS});var CS=qe(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var VD="fas",WD="arrow-right",qD=448,YD=512,wS=[8594],$D="f061",GD="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";fi.definition={prefix:VD,iconName:WD,icon:[qD,YD,wS,$D,GD]};fi.faArrowRight=fi.definition;fi.prefix=VD;fi.iconName=WD;fi.width=qD;fi.height=YD;fi.ligatures=wS;fi.unicode=$D;fi.svgPathData=GD;fi.aliases=wS});var kS=qe(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var KD="fas",XD="arrow-up",QD=384,JD=512,xS=[8593],ZD="f062",e6="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";pi.definition={prefix:KD,iconName:XD,icon:[QD,JD,xS,ZD,e6]};pi.faArrowUp=pi.definition;pi.prefix=KD;pi.iconName=XD;pi.width=QD;pi.height=JD;pi.ligatures=xS;pi.unicode=ZD;pi.svgPathData=e6;pi.aliases=xS});var RS=qe(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var t6="fas",r6="arrow-down",a6=384,n6=512,TS=[8595],o6="f063",i6="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";hi.definition={prefix:t6,iconName:r6,icon:[a6,n6,TS,o6,i6]};hi.faArrowDown=hi.definition;hi.prefix=t6;hi.iconName=r6;hi.width=a6;hi.height=n6;hi.ligatures=TS;hi.unicode=o6;hi.svgPathData=i6;hi.aliases=TS});var p6=qe(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var l6="fas",s6="rotate",c6=512,u6=512,ES=[128260,"sync-alt"],d6="f2f1",f6="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";mi.definition={prefix:l6,iconName:s6,icon:[c6,u6,ES,d6,f6]};mi.faRotate=mi.definition;mi.prefix=l6;mi.iconName=s6;mi.width=c6;mi.height=u6;mi.ligatures=ES;mi.unicode=d6;mi.svgPathData=f6;mi.aliases=ES});var y6=qe(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var h6="fas",m6="arrow-rotate-right",v6=512,g6=512,DS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],_6="f01e",b6="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";vi.definition={prefix:h6,iconName:m6,icon:[v6,g6,DS,_6,b6]};vi.faArrowRotateRight=vi.definition;vi.prefix=h6;vi.iconName=m6;vi.width=v6;vi.height=g6;vi.ligatures=DS;vi.unicode=_6;vi.svgPathData=b6;vi.aliases=DS});var S6=qe(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var co=y6();gi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};gi.faRedo=gi.definition;gi.prefix=co.prefix;gi.iconName=co.iconName;gi.width=co.width;gi.height=co.height;gi.ligatures=co.aliases;gi.unicode=co.unicode;gi.svgPathData=co.svgPathData;gi.aliases=co.aliases});var E6=qe(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var w6="fas",C6="check",x6=448,k6=512,AS=[10003,10004],T6="f00c",R6="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";_i.definition={prefix:w6,iconName:C6,icon:[x6,k6,AS,T6,R6]};_i.faCheck=_i.definition;_i.prefix=w6;_i.iconName=C6;_i.width=x6;_i.height=k6;_i.ligatures=AS;_i.unicode=T6;_i.svgPathData=R6;_i.aliases=AS});var I6=qe(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var D6="fas",A6="question",L6=320,B6=512,LS=[10067,10068,61736],N6="3f",O6="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";bi.definition={prefix:D6,iconName:A6,icon:[L6,B6,LS,N6,O6]};bi.faQuestion=bi.definition;bi.prefix=D6;bi.iconName=A6;bi.width=L6;bi.height=B6;bi.ligatures=LS;bi.unicode=N6;bi.svgPathData=O6;bi.aliases=LS});var U6=qe(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var P6="fas",M6="exclamation",z6=128,F6=512,BS=[10069,10071,61738],j6="21",H6="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";yi.definition={prefix:P6,iconName:M6,icon:[z6,F6,BS,j6,H6]};yi.faExclamation=yi.definition;yi.prefix=P6;yi.iconName=M6;yi.width=z6;yi.height=F6;yi.ligatures=BS;yi.unicode=j6;yi.svgPathData=H6;yi.aliases=BS});var K6=qe(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var V6="fas",W6="triangle-exclamation",q6=512,Y6=512,NS=[9888,"exclamation-triangle","warning"],$6="f071",G6="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";Si.definition={prefix:V6,iconName:W6,icon:[q6,Y6,NS,$6,G6]};Si.faTriangleExclamation=Si.definition;Si.prefix=V6;Si.iconName=W6;Si.width=q6;Si.height=Y6;Si.ligatures=NS;Si.unicode=$6;Si.svgPathData=G6;Si.aliases=NS});var X6=qe(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var uo=K6();wi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};wi.faExclamationTriangle=wi.definition;wi.prefix=uo.prefix;wi.iconName=uo.iconName;wi.width=uo.width;wi.height=uo.height;wi.ligatures=uo.aliases;wi.unicode=uo.unicode;wi.svgPathData=uo.svgPathData;wi.aliases=uo.aliases});var aA=qe(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var Q6="fas",J6="house",Z6=576,eA=512,OS=[127968,63498,63500,"home","home-alt","home-lg-alt"],tA="f015",rA="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";Ci.definition={prefix:Q6,iconName:J6,icon:[Z6,eA,OS,tA,rA]};Ci.faHouse=Ci.definition;Ci.prefix=Q6;Ci.iconName=J6;Ci.width=Z6;Ci.height=eA;Ci.ligatures=OS;Ci.unicode=tA;Ci.svgPathData=rA;Ci.aliases=OS});var nA=qe(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var fo=aA();xi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};xi.faHome=xi.definition;xi.prefix=fo.prefix;xi.iconName=fo.iconName;xi.width=fo.width;xi.height=fo.height;xi.ligatures=fo.aliases;xi.unicode=fo.unicode;xi.svgPathData=fo.svgPathData;xi.aliases=fo.aliases});var dA=qe(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var oA="fas",iA="share",lA=512,sA=512,IS=["mail-forward"],cA="f064",uA="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";ki.definition={prefix:oA,iconName:iA,icon:[lA,sA,IS,cA,uA]};ki.faShare=ki.definition;ki.prefix=oA;ki.iconName=iA;ki.width=lA;ki.height=sA;ki.ligatures=IS;ki.unicode=cA;ki.svgPathData=uA;ki.aliases=IS});var _A=qe(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var fA="fas",pA="magnifying-glass",hA=512,mA=512,PS=[128269,"search"],vA="f002",gA="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";Ti.definition={prefix:fA,iconName:pA,icon:[hA,mA,PS,vA,gA]};Ti.faMagnifyingGlass=Ti.definition;Ti.prefix=fA;Ti.iconName=pA;Ti.width=hA;Ti.height=mA;Ti.ligatures=PS;Ti.unicode=vA;Ti.svgPathData=gA;Ti.aliases=PS});var bA=qe(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var po=_A();Ri.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Ri.faSearch=Ri.definition;Ri.prefix=po.prefix;Ri.iconName=po.iconName;Ri.width=po.width;Ri.height=po.height;Ri.ligatures=po.aliases;Ri.unicode=po.unicode;Ri.svgPathData=po.svgPathData;Ri.aliases=po.aliases});var TA=qe(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var yA="fas",SA="yen-sign",wA=320,CA=512,MS=[165,"cny","jpy","rmb","yen"],xA="f157",kA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";Ei.definition={prefix:yA,iconName:SA,icon:[wA,CA,MS,xA,kA]};Ei.faYenSign=Ei.definition;Ei.prefix=yA;Ei.iconName=SA;Ei.width=wA;Ei.height=CA;Ei.ligatures=MS;Ei.unicode=xA;Ei.svgPathData=kA;Ei.aliases=MS});var NA=qe(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var RA="fas",EA="pen",DA=512,AA=512,zS=[128394],LA="f304",BA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";Di.definition={prefix:RA,iconName:EA,icon:[DA,AA,zS,LA,BA]};Di.faPen=Di.definition;Di.prefix=RA;Di.iconName=EA;Di.width=DA;Di.height=AA;Di.ligatures=zS;Di.unicode=LA;Di.svgPathData=BA;Di.aliases=zS});var jA=qe(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var OA="fas",IA="bars",PA=448,MA=512,FS=["navicon"],zA="f0c9",FA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ai.definition={prefix:OA,iconName:IA,icon:[PA,MA,FS,zA,FA]};Ai.faBars=Ai.definition;Ai.prefix=OA;Ai.iconName=IA;Ai.width=PA;Ai.height=MA;Ai.ligatures=FS;Ai.unicode=zA;Ai.svgPathData=FA;Ai.aliases=FS});var $A=qe(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var HA="fas",UA="download",VA=512,WA=512,jS=[],qA="f019",YA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Li.definition={prefix:HA,iconName:UA,icon:[VA,WA,jS,qA,YA]};Li.faDownload=Li.definition;Li.prefix=HA;Li.iconName=UA;Li.width=VA;Li.height=WA;Li.ligatures=jS;Li.unicode=qA;Li.svgPathData=YA;Li.aliases=jS});var eL=qe(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var GA="fas",KA="link",XA=640,QA=512,HS=[128279,"chain"],JA="f0c1",ZA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";Bi.definition={prefix:GA,iconName:KA,icon:[XA,QA,HS,JA,ZA]};Bi.faLink=Bi.definition;Bi.prefix=GA;Bi.iconName=KA;Bi.width=XA;Bi.height=QA;Bi.ligatures=HS;Bi.unicode=JA;Bi.svgPathData=ZA;Bi.aliases=HS});var lL=qe(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var tL="fas",rL="link-slash",aL=640,nL=512,US=["chain-broken","chain-slash","unlink"],oL="f127",iL="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Ni.definition={prefix:tL,iconName:rL,icon:[aL,nL,US,oL,iL]};Ni.faLinkSlash=Ni.definition;Ni.prefix=tL;Ni.iconName=rL;Ni.width=aL;Ni.height=nL;Ni.ligatures=US;Ni.unicode=oL;Ni.svgPathData=iL;Ni.aliases=US});var hL=qe(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var sL="fas",cL="up-right-from-square",uL=512,dL=512,VS=["external-link-alt"],fL="f35d",pL="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Oi.definition={prefix:sL,iconName:cL,icon:[uL,dL,VS,fL,pL]};Oi.faUpRightFromSquare=Oi.definition;Oi.prefix=sL;Oi.iconName=cL;Oi.width=uL;Oi.height=dL;Oi.ligatures=VS;Oi.unicode=fL;Oi.svgPathData=pL;Oi.aliases=VS});var mL=qe(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var ho=hL();Ii.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};Ii.faExternalLinkAlt=Ii.definition;Ii.prefix=ho.prefix;Ii.iconName=ho.iconName;Ii.width=ho.width;Ii.height=ho.height;Ii.ligatures=ho.aliases;Ii.unicode=ho.unicode;Ii.svgPathData=ho.svgPathData;Ii.aliases=ho.aliases});var wL=qe(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var vL="fas",gL="gear",_L=512,bL=512,WS=[9881,"cog"],yL="f013",SL="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Pi.definition={prefix:vL,iconName:gL,icon:[_L,bL,WS,yL,SL]};Pi.faGear=Pi.definition;Pi.prefix=vL;Pi.iconName=gL;Pi.width=_L;Pi.height=bL;Pi.ligatures=WS;Pi.unicode=yL;Pi.svgPathData=SL;Pi.aliases=WS});var DL=qe(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var CL="fas",xL="plus",kL=448,TL=512,qS=[10133,61543,"add"],RL="2b",EL="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Mi.definition={prefix:CL,iconName:xL,icon:[kL,TL,qS,RL,EL]};Mi.faPlus=Mi.definition;Mi.prefix=CL;Mi.iconName=xL;Mi.width=kL;Mi.height=TL;Mi.ligatures=qS;Mi.unicode=RL;Mi.svgPathData=EL;Mi.aliases=qS});var PL=qe(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var AL="fas",LL="minus",BL=448,NL=512,YS=[8211,8722,10134,"subtract"],OL="f068",IL="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";zi.definition={prefix:AL,iconName:LL,icon:[BL,NL,YS,OL,IL]};zi.faMinus=zi.definition;zi.prefix=AL;zi.iconName=LL;zi.width=BL;zi.height=NL;zi.ligatures=YS;zi.unicode=OL;zi.svgPathData=IL;zi.aliases=YS});var VL=qe(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var ML="fas",zL="ellipsis",FL=448,jL=512,$S=["ellipsis-h"],HL="f141",UL="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Fi.definition={prefix:ML,iconName:zL,icon:[FL,jL,$S,HL,UL]};Fi.faEllipsis=Fi.definition;Fi.prefix=ML;Fi.iconName=zL;Fi.width=FL;Fi.height=jL;Fi.ligatures=$S;Fi.unicode=HL;Fi.svgPathData=UL;Fi.aliases=$S});var WL=qe(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var mo=VL();ji.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};ji.faEllipsisH=ji.definition;ji.prefix=mo.prefix;ji.iconName=mo.iconName;ji.width=mo.width;ji.height=mo.height;ji.ligatures=mo.aliases;ji.unicode=mo.unicode;ji.svgPathData=mo.svgPathData;ji.aliases=mo.aliases});var QL=qe(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var qL="fas",YL="ellipsis-vertical",$L=128,GL=512,GS=["ellipsis-v"],KL="f142",XL="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";Hi.definition={prefix:qL,iconName:YL,icon:[$L,GL,GS,KL,XL]};Hi.faEllipsisVertical=Hi.definition;Hi.prefix=qL;Hi.iconName=YL;Hi.width=$L;Hi.height=GL;Hi.ligatures=GS;Hi.unicode=KL;Hi.svgPathData=XL;Hi.aliases=GS});var JL=qe(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var vo=QL();Ui.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Ui.faEllipsisV=Ui.definition;Ui.prefix=vo.prefix;Ui.iconName=vo.iconName;Ui.width=vo.width;Ui.height=vo.height;Ui.ligatures=vo.aliases;Ui.unicode=vo.unicode;Ui.svgPathData=vo.svgPathData;Ui.aliases=vo.aliases});var oB=qe(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var ZL="fas",eB="star",tB=576,rB=512,KS=[11088,61446],aB="f005",nB="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Vi.definition={prefix:ZL,iconName:eB,icon:[tB,rB,KS,aB,nB]};Vi.faStar=Vi.definition;Vi.prefix=ZL;Vi.iconName=eB;Vi.width=tB;Vi.height=rB;Vi.ligatures=KS;Vi.unicode=aB;Vi.svgPathData=nB;Vi.aliases=KS});var fB=qe(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var iB="fas",lB="paper-plane",sB=512,cB=512,XS=[61913],uB="f1d8",dB="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";Wi.definition={prefix:iB,iconName:lB,icon:[sB,cB,XS,uB,dB]};Wi.faPaperPlane=Wi.definition;Wi.prefix=iB;Wi.iconName=lB;Wi.width=sB;Wi.height=cB;Wi.ligatures=XS;Wi.unicode=uB;Wi.svgPathData=dB;Wi.aliases=XS});var bB=qe(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var pB="fas",hB="heart",mB=512,vB=512,QS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],gB="f004",_B="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";qi.definition={prefix:pB,iconName:hB,icon:[mB,vB,QS,gB,_B]};qi.faHeart=qi.definition;qi.prefix=pB;qi.iconName=hB;qi.width=mB;qi.height=vB;qi.ligatures=QS;qi.unicode=gB;qi.svgPathData=_B;qi.aliases=QS});var TB=qe(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var yB="fas",SB="ban",wB=512,CB=512,JS=[128683,"cancel"],xB="f05e",kB="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Yi.definition={prefix:yB,iconName:SB,icon:[wB,CB,JS,xB,kB]};Yi.faBan=Yi.definition;Yi.prefix=yB;Yi.iconName=SB;Yi.width=wB;Yi.height=CB;Yi.ligatures=JS;Yi.unicode=xB;Yi.svgPathData=kB;Yi.aliases=JS});var NB=qe($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var RB="fas",EB="location-crosshairs",DB=512,AB=512,ZS=["location"],LB="f601",BB="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";$i.definition={prefix:RB,iconName:EB,icon:[DB,AB,ZS,LB,BB]};$i.faLocationCrosshairs=$i.definition;$i.prefix=RB;$i.iconName=EB;$i.width=DB;$i.height=AB;$i.ligatures=ZS;$i.unicode=LB;$i.svgPathData=BB;$i.aliases=ZS});var jB=qe(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var OB="far",IB="user",PB=448,MB=512,ew=[128100,62144],zB="f007",FB="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Gi.definition={prefix:OB,iconName:IB,icon:[PB,MB,ew,zB,FB]};Gi.faUser=Gi.definition;Gi.prefix=OB;Gi.iconName=IB;Gi.width=PB;Gi.height=MB;Gi.ligatures=ew;Gi.unicode=zB;Gi.svgPathData=FB;Gi.aliases=ew});var $B=qe(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var HB="far",UB="circle-check",VB=512,WB=512,tw=[61533,"check-circle"],qB="f058",YB="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";Ki.definition={prefix:HB,iconName:UB,icon:[VB,WB,tw,qB,YB]};Ki.faCircleCheck=Ki.definition;Ki.prefix=HB;Ki.iconName=UB;Ki.width=VB;Ki.height=WB;Ki.ligatures=tw;Ki.unicode=qB;Ki.svgPathData=YB;Ki.aliases=tw});var GB=qe(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var go=$B();Xi.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};Xi.faCheckCircle=Xi.definition;Xi.prefix=go.prefix;Xi.iconName=go.iconName;Xi.width=go.width;Xi.height=go.height;Xi.ligatures=go.aliases;Xi.unicode=go.unicode;Xi.svgPathData=go.svgPathData;Xi.aliases=go.aliases});var t8=qe(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var KB="far",XB="circle-question",QB=512,JB=512,rw=[62108,"question-circle"],ZB="f059",e8="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";Qi.definition={prefix:KB,iconName:XB,icon:[QB,JB,rw,ZB,e8]};Qi.faCircleQuestion=Qi.definition;Qi.prefix=KB;Qi.iconName=XB;Qi.width=QB;Qi.height=JB;Qi.ligatures=rw;Qi.unicode=ZB;Qi.svgPathData=e8;Qi.aliases=rw});var r8=qe(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var _o=t8();Ji.definition={prefix:_o.prefix,iconName:_o.iconName,icon:[_o.width,_o.height,_o.aliases,_o.unicode,_o.svgPathData]};Ji.faQuestionCircle=Ji.definition;Ji.prefix=_o.prefix;Ji.iconName=_o.iconName;Ji.width=_o.width;Ji.height=_o.height;Ji.ligatures=_o.aliases;Ji.unicode=_o.unicode;Ji.svgPathData=_o.svgPathData;Ji.aliases=_o.aliases});var c8=qe(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var a8="far",n8="pen-to-square",o8=512,i8=512,aw=["edit"],l8="f044",s8="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Zi.definition={prefix:a8,iconName:n8,icon:[o8,i8,aw,l8,s8]};Zi.faPenToSquare=Zi.definition;Zi.prefix=a8;Zi.iconName=n8;Zi.width=o8;Zi.height=i8;Zi.ligatures=aw;Zi.unicode=l8;Zi.svgPathData=s8;Zi.aliases=aw});var u8=qe(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var bo=c8();el.definition={prefix:bo.prefix,iconName:bo.iconName,icon:[bo.width,bo.height,bo.aliases,bo.unicode,bo.svgPathData]};el.faEdit=el.definition;el.prefix=bo.prefix;el.iconName=bo.iconName;el.width=bo.width;el.height=bo.height;el.ligatures=bo.aliases;el.unicode=bo.unicode;el.svgPathData=bo.svgPathData;el.aliases=bo.aliases});var g8=qe(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var d8="far",f8="copy",p8=448,h8=512,nw=[],m8="f0c5",v8="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";tl.definition={prefix:d8,iconName:f8,icon:[p8,h8,nw,m8,v8]};tl.faCopy=tl.definition;tl.prefix=d8;tl.iconName=f8;tl.width=p8;tl.height=h8;tl.ligatures=nw;tl.unicode=m8;tl.svgPathData=v8;tl.aliases=nw});var x8=qe(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var _8="far",b8="file",y8=384,S8=512,ow=[128196,128459,61462],w8="f15b",C8="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";rl.definition={prefix:_8,iconName:b8,icon:[y8,S8,ow,w8,C8]};rl.faFile=rl.definition;rl.prefix=_8;rl.iconName=b8;rl.width=y8;rl.height=S8;rl.ligatures=ow;rl.unicode=w8;rl.svgPathData=C8;rl.aliases=ow});var L8=qe(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var k8="far",T8="trash-can",R8=448,E8=512,iw=[61460,"trash-alt"],D8="f2ed",A8="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";al.definition={prefix:k8,iconName:T8,icon:[R8,E8,iw,D8,A8]};al.faTrashCan=al.definition;al.prefix=k8;al.iconName=T8;al.width=R8;al.height=E8;al.ligatures=iw;al.unicode=D8;al.svgPathData=A8;al.aliases=iw});var B8=qe(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var yo=L8();nl.definition={prefix:yo.prefix,iconName:yo.iconName,icon:[yo.width,yo.height,yo.aliases,yo.unicode,yo.svgPathData]};nl.faTrashAlt=nl.definition;nl.prefix=yo.prefix;nl.iconName=yo.iconName;nl.width=yo.width;nl.height=yo.height;nl.ligatures=yo.aliases;nl.unicode=yo.unicode;nl.svgPathData=yo.svgPathData;nl.aliases=yo.aliases});var F8=qe(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var N8="far",O8="image",I8=512,P8=512,lw=[],M8="f03e",z8="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";ol.definition={prefix:N8,iconName:O8,icon:[I8,P8,lw,M8,z8]};ol.faImage=ol.definition;ol.prefix=N8;ol.iconName=O8;ol.width=I8;ol.height=P8;ol.ligatures=lw;ol.unicode=M8;ol.svgPathData=z8;ol.aliases=lw});var sO=qe(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var rO="fas",aO="eye",nO=576,oO=512,ww=[128065],iO="f06e",lO="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";sl.definition={prefix:rO,iconName:aO,icon:[nO,oO,ww,iO,lO]};sl.faEye=sl.definition;sl.prefix=rO;sl.iconName=aO;sl.width=nO;sl.height=oO;sl.ligatures=ww;sl.unicode=iO;sl.svgPathData=lO;sl.aliases=ww});var yO=qe(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var hO="fas",mO="clock",vO=512,gO=512,Tw=[128339,"clock-four"],_O="f017",bO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";cl.definition={prefix:hO,iconName:mO,icon:[vO,gO,Tw,_O,bO]};cl.faClock=cl.definition;cl.prefix=hO;cl.iconName=mO;cl.width=vO;cl.height=gO;cl.ligatures=Tw;cl.unicode=_O;cl.svgPathData=bO;cl.aliases=Tw});var RO=qe(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var SO="fas",wO="calendar-days",CO=448,xO=512,Rw=["calendar-alt"],kO="f073",TO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";ul.definition={prefix:SO,iconName:wO,icon:[CO,xO,Rw,kO,TO]};ul.faCalendarDays=ul.definition;ul.prefix=SO;ul.iconName=wO;ul.width=CO;ul.height=xO;ul.ligatures=Rw;ul.unicode=kO;ul.svgPathData=TO;ul.aliases=Rw});var EO=qe(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var So=RO();dl.definition={prefix:So.prefix,iconName:So.iconName,icon:[So.width,So.height,So.aliases,So.unicode,So.svgPathData]};dl.faCalendarAlt=dl.definition;dl.prefix=So.prefix;dl.iconName=So.iconName;dl.width=So.width;dl.height=So.height;dl.ligatures=So.aliases;dl.unicode=So.unicode;dl.svgPathData=So.svgPathData;dl.aliases=So.aliases});var YO=qe(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var jO="fas",HO="cloud-arrow-up",UO=640,VO=512,Bw=[62338,"cloud-upload","cloud-upload-alt"],WO="f0ee",qO="M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";fl.definition={prefix:jO,iconName:HO,icon:[UO,VO,Bw,WO,qO]};fl.faCloudArrowUp=fl.definition;fl.prefix=jO;fl.iconName=HO;fl.width=UO;fl.height=VO;fl.ligatures=Bw;fl.unicode=WO;fl.svgPathData=qO;fl.aliases=Bw});var h7=qe(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var s7="fas",c7="grip-vertical",u7=320,d7=512,Fw=[],f7="f58e",p7="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";hl.definition={prefix:s7,iconName:c7,icon:[u7,d7,Fw,f7,p7]};hl.faGripVertical=hl.definition;hl.prefix=s7;hl.iconName=c7;hl.width=u7;hl.height=d7;hl.ligatures=Fw;hl.unicode=f7;hl.svgPathData=p7;hl.aliases=Fw});var w7=qe(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var v7="fas",g7="filter",_7=512,b7=512,Uw=[],y7="f0b0",S7="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";ml.definition={prefix:v7,iconName:g7,icon:[_7,b7,Uw,y7,S7]};ml.faFilter=ml.definition;ml.prefix=v7;ml.iconName=g7;ml.width=_7;ml.height=b7;ml.ligatures=Uw;ml.unicode=y7;ml.svgPathData=S7;ml.aliases=Uw});var N7=qe(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});var R7="fas",E7="palette",D7=512,A7=512,Ww=[127912],L7="f53f",B7="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";vl.definition={prefix:R7,iconName:E7,icon:[D7,A7,Ww,L7,B7]};vl.faPalette=vl.definition;vl.prefix=R7;vl.iconName=E7;vl.width=D7;vl.height=A7;vl.ligatures=Ww;vl.unicode=L7;vl.svgPathData=B7;vl.aliases=Ww});var j7=qe(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});var O7="fas",I7="bars-staggered",P7=512,M7=512,qw=["reorder","stream"],z7="f550",F7="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";gl.definition={prefix:O7,iconName:I7,icon:[P7,M7,qw,z7,F7]};gl.faBarsStaggered=gl.definition;gl.prefix=O7;gl.iconName=I7;gl.width=P7;gl.height=M7;gl.ligatures=qw;gl.unicode=z7;gl.svgPathData=F7;gl.aliases=qw});var $7=qe(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});var H7="fas",U7="rotate-left",V7=512,W7=512,Yw=["rotate-back","rotate-backward","undo-alt"],q7="f2ea",Y7="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";_l.definition={prefix:H7,iconName:U7,icon:[V7,W7,Yw,q7,Y7]};_l.faRotateLeft=_l.definition;_l.prefix=H7;_l.iconName=U7;_l.width=V7;_l.height=W7;_l.ligatures=Yw;_l.unicode=q7;_l.svgPathData=Y7;_l.aliases=Yw});var eI=qe(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});var G7="fas",K7="rotate-right",X7=512,Q7=512,$w=["redo-alt","rotate-forward"],J7="f2f9",Z7="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";bl.definition={prefix:G7,iconName:K7,icon:[X7,Q7,$w,J7,Z7]};bl.faRotateRight=bl.definition;bl.prefix=G7;bl.iconName=K7;bl.width=X7;bl.height=Q7;bl.ligatures=$w;bl.unicode=J7;bl.svgPathData=Z7;bl.aliases=$w});var Qw=qe(()=>{"use strict"});var Jw=qe(()=>{"use strict"});var dI=X(b4()),Vs=X(vR()),Nm=X(fr()),rb=X(ir());var Hr={};If(Hr,{$$fromRoot:()=>bt,Accordion:()=>Zf,Anchor:()=>Nl,Box:()=>T,Button:()=>le,ColorObjects:()=>tm,Column:()=>ct,Config:()=>st,Cropper:()=>Dm,DarkmodeColors:()=>sI,Effect:()=>cs,ExtractStyles:()=>Fl,FAI:()=>we,Flex:()=>_t,FlexBr:()=>HN,GenerateHTMLProps:()=>Bo,Grid:()=>ua,Img:()=>zn,Input:()=>at,Label:()=>zs,LaunchReactApp:()=>eb,LeftIcon:()=>Jf,LeftIndicator:()=>I_,LinkifyText:()=>M_,List:()=>Cu,ListItem:()=>ds,Loader:()=>an,Logo:()=>Lt,OmitSign:()=>O_,P:()=>jN,PageNotFound:()=>iI,PageViewController:()=>D_,Placeholder:()=>R_,Plate:()=>mm,ReadStyleSet:()=>hm,RequiredShortSign:()=>N_,RequiredSign:()=>B_,RightIcon:()=>Ha,RightIndicator:()=>P_,RootViewController:()=>Il,Row:()=>Pe,SetThemeColorTag:()=>em,Sheet:()=>Ft,Snackbar:()=>Kn,Span:()=>tn,SwipeView:()=>A_,TabBar:()=>Q_,Table:()=>Qn,Text:()=>Ye,ThemeColors:()=>Am,Tips:()=>zl,Tooltips:()=>na,amotify:()=>rG,default:()=>rG,pageRouter:()=>Fn,useRefresh:()=>Bl,useRouterEffect:()=>Z_});var lq=Object.defineProperty,sq=Object.defineProperties,cq=Object.getOwnPropertyDescriptors,r_=Object.getOwnPropertySymbols,xR=Object.prototype.hasOwnProperty,kR=Object.prototype.propertyIsEnumerable,TR=Math.pow,CR=(r,a,o)=>a in r?lq(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))xR.call(a,o)&&CR(r,o,a[o]);if(r_)for(var o of r_(a))kR.call(a,o)&&CR(r,o,a[o]);return r},E=(r,a)=>sq(r,cq(a)),Je=(r,a)=>{var o={};for(var l in r)xR.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&r_)for(var l of r_(r))a.indexOf(l)<0&&kR.call(r,l)&&(o[l]=r[l]);return o},Oa=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},c=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((o=o.apply(r,a)).next())});var Xw={};If(Xw,{$$fromRoot:()=>bt,ColorObjects:()=>tm,Config:()=>st,DarkmodeColors:()=>sI,ExtractStyles:()=>Fl,GenerateHTMLProps:()=>Bo,LaunchReactApp:()=>eb,ReadStyleSet:()=>hm,SetThemeColorTag:()=>em,ThemeColors:()=>Am,pageRouter:()=>Fn,useRefresh:()=>Bl,useRouterEffect:()=>Z_});var Ll=X(ir());var Lo={sessionUID:(0,Ll.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},st={get:()=>Lo,set:r=>{Lo=_(_({},Lo),r)},update:{themeColor:r=>{if(tm.find(o=>o.key==r)||(r="comun"),r==st.get().themeColor)return;st.set(E(_({},st.get()),{themeColor:r}));let a=(0,Ll.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{em()}),st.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==st.get().darkMode)return;let a=r=="auto"?st.get().isSystemDarkmode()?"dark":"light":r;st.set(E(_({},st.get()),{darkMode:a}));let o=(0,Ll.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),st.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=st.get().roundness&&(st.set(E(_({},st.get()),{roundness:r})),st.restart())},screen:r=>{st.get().screen=_(_({},st.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Lo.appRoot=r.appRoot||document.body,Lo.appRoot instanceof HTMLElement&&(Lo.appRoot.tabIndex=0),Ll.default.is.exist(r.roundness)&&st.update.roundness(r.roundness),Ll.default.is.exist(r.themeColor)&&st.update.themeColor(r.themeColor),Ll.default.is.exist(r.darkMode)&&st.update.darkMode(r.darkMode),Lo.deviceIs=o,Lo.browserIs=l,Lo.isPhone=["Android","iPhone"].includes(o),Lo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Lo.isIOS=["iPhone","iPad"].includes(o),Lo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Lo.isIOS=["iPhone","iPad"].includes(o),Lo.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Ll.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+st.get().deviceIs,"bdsDM_"+st.get().darkMode,"bdsTC_"+st.get().themeColor]),(0,Ll.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Ll.default)(document.body),c=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-c-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{st.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Ll.default)(document.body),d=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-c-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),em()},restart:()=>{Bl.release("RootViewController_"+st.get().sessionUID)}};var Xo=X(ir()),Hf=X(fr()),Bl={catch:r=>{let[a]=(0,Hf.useState)((0,Xo.UUID)()),[o,l]=(0,Hf.useState)((0,Xo.UUID)()),[s,d]=(0,Hf.useState)(null),c="RefreshKey_"+a;return(0,Hf.useEffect)(()=>{var h;Xo.useStore.set({[c]:v=>{l((0,Xo.UUID)()),d(v||null)}});let p=((h=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Xo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var v;Xo.useStore.delete(c);let b=((v=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:v.keys)||[],y=b.indexOf(a);y!==-1&&(b.splice(y,1),Xo.useStore.update({["RefreshKeys_"+r]:{keys:b}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let d=Xo.useStore.get("RefreshKey_"+s);d&&d(a)}}};var Ru=X(fr());var Kw={};If(Kw,{Anchor:()=>Nl,Button:()=>le,Cropper:()=>Dm,Effect:()=>cs,Input:()=>at,Label:()=>zs,LeftIcon:()=>Jf,LeftIndicator:()=>I_,Loader:()=>an,OmitSign:()=>O_,PageNotFound:()=>iI,PageViewController:()=>D_,Plate:()=>mm,RequiredShortSign:()=>N_,RequiredSign:()=>B_,RightIcon:()=>Ha,RightIndicator:()=>P_,RootViewController:()=>Il,Sheet:()=>Ft,Snackbar:()=>Kn,SwipeView:()=>A_,TabBar:()=>Q_,Table:()=>Qn,Tips:()=>zl,Tooltips:()=>na});var Ol=X(Bt()),yu=X(fr()),kn=X(ir());var fw={};If(fw,{Box:()=>T,Column:()=>ct,FAI:()=>we,Flex:()=>_t,FlexBr:()=>HN,Grid:()=>ua,Img:()=>zn,Logo:()=>Lt,P:()=>jN,Placeholder:()=>R_,Span:()=>tn});var gd=X(Bt());var DR=X(Bt());var T=r=>{let a=Bo(r),{htmlTag:o}=a,l=Je(a,["htmlTag"]),s=o||"div";return s?(0,DR.jsx)(s,_({},l)):null};var zt=X(Bt());var j8=X(Q5()),H8=X(oE()),U8=X(fE()),V8=X(bE()),W8=X(TE()),q8=X(NE()),Y8=X(jE()),$8=X($E()),G8=X(eD()),K8=X(lD()),X8=X(hD()),Q8=X(SD()),J8=X(ED()),Z8=X(ID()),eN=X(UD()),tN=X(CS()),rN=X(kS()),aN=X(RS()),nN=X(p6()),oN=X(S6()),iN=X(E6()),lN=X(I6()),sN=X(U6()),cN=X(X6()),uN=X(nA()),dN=X(dA()),fN=X(bA()),pN=X(TA()),hN=X(NA()),mN=X(jA()),vN=X($A()),gN=X(eL()),_N=X(lL()),bN=X(mL()),yN=X(wL()),SN=X(DL()),wN=X(PL()),CN=X(WL()),xN=X(JL()),kN=X(oB()),TN=X(fB()),RN=X(bB()),EN=X(TB()),DN=X(NB()),AN=X(jB()),LN=X(GB()),BN=X(r8()),NN=X(u8()),ON=X(g8()),IN=X(x8()),PN=X(B8()),MN=X(F8()),Wt=r=>{let a=r,{icon:o}=a,l=Je(a,["icon"]),s=Bo(l);return(0,zt.jsx)(j8.FontAwesomeIcon,E(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},we=Wt;we.User=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:AN.faUser})),we.Times=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:H8.faTimes})),we.AngleRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:U8.faAngleRight})),we.AngleLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:V8.faAngleLeft})),we.AngleUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:W8.faAngleUp})),we.AngleDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:q8.faAngleDown})),we.ChevronLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Y8.faChevronLeft})),we.ChevronRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:$8.faChevronRight})),we.ChevronUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:G8.faChevronUp})),we.ChevronDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:K8.faChevronDown})),we.CaretLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:X8.faCaretLeft})),we.CaretRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Q8.faCaretRight})),we.CaretUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:J8.faCaretUp})),we.CaretDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Z8.faCaretDown})),we.ArrowLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:eN.faArrowLeft})),we.ArrowRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:tN.faArrowRight})),we.ArrowUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:rN.faArrowUp})),we.ArrowDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:aN.faArrowDown})),we.Rotate=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:nN.faRotate})),we.Redo=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:oN.faRedo})),we.Check=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:iN.faCheck})),we.CheckCircle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:LN.faCheckCircle})),we.Question=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:lN.faQuestion})),we.QuestionCircle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:BN.faQuestionCircle})),we.Exclamation=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:sN.faExclamation})),we.ExclamationTriangle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:cN.faExclamationTriangle})),we.Home=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:uN.faHome})),we.Share=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:dN.faShare})),we.Search=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:fN.faSearch})),we.YenSign=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:pN.faYenSign})),we.Heart=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:RN.faHeart})),we.Star=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:kN.faStar})),we.Edit=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:NN.faEdit})),we.Pen=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:hN.faPen})),we.Copy=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:ON.faCopy})),we.File=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:IN.faFile})),we.TrashAlt=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:PN.faTrashAlt})),we.Bars=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:mN.faBars})),we.Download=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:vN.faDownload})),we.Link=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:gN.faLink})),we.LinkSlash=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:_N.faLinkSlash})),we.ExternalLinkAlt=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:bN.faExternalLinkAlt})),we.Gear=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:yN.faGear})),we.Plus=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:SN.faPlus})),we.Minus=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:wN.faMinus})),we.EllipsisH=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:CN.faEllipsisH})),we.EllipsisV=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:xN.faEllipsisV})),we.PaperPlane=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:TN.faPaperPlane})),we.Image=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:MN.faImage})),we.Ban=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:EN.faBan})),we.Location=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:DN.faLocationCrosshairs}));var zN=X(Bt());var o$={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},i$={Size_S:"_Size_S_10jdu_1",Size_R:"_Size_R_10jdu_6",Size_L:"_Size_L_10jdu_11",Size_2L:"_Size_2L_10jdu_16",Size_3L:"_Size_3L_10jdu_21",Icon:"_Icon_10jdu_27",Title:"_Title_10jdu_31",ComunIcon:"_ComunIcon_10jdu_38",ComunTitle:"_ComunTitle_10jdu_42",MingooIcon:"_MingooIcon_10jdu_46",P:"_P_10jdu_46",P_0:"_P_0_10jdu_50",P_1:"_P_1_10jdu_53",P_2:"_P_2_10jdu_56",P_3:"_P_3_10jdu_59",P_4:"_P_4_10jdu_62",P_5:"_P_5_10jdu_65",P_6:"_P_6_10jdu_68",P_7:"_P_7_10jdu_71",P_8:"_P_8_10jdu_74",P_9:"_P_9_10jdu_77",P_10:"_P_10_10jdu_81",P_11:"_P_11_10jdu_85",P_12:"_P_12_10jdu_89"},l$={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},s$={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},c$={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},u$={BodyEffect:"_BodyEffect_1cgn2_1",Wrapper:"_Wrapper_1cgn2_8",Wrap:"_Wrap_1cgn2_8",TapSensor:"_TapSensor_1cgn2_22",TapContent:"_TapContent_1cgn2_32",Hide:"_Hide_1cgn2_39",Open:"_Open_1cgn2_42",isMainSheet_true:"_isMainSheet_true_1cgn2_42",Content:"_Content_1cgn2_42",isMainSheet_false:"_isMainSheet_false_1cgn2_48",BB:"_BB_1cgn2_48",Tcate_normal:"_Tcate_normal_1cgn2_51",BaseBody:"_BaseBody_1cgn2_55",Tcate_drawer:"_Tcate_drawer_1cgn2_70",Tpos_left:"_Tpos_left_1cgn2_70",Tpos_right:"_Tpos_right_1cgn2_85",Tpos_bottom:"_Tpos_bottom_1cgn2_100",DragBar:"_DragBar_1cgn2_107",Tcate_custom:"_Tcate_custom_1cgn2_115",CustomSheet:"_CustomSheet_1cgn2_123",GPT:"_GPT_1cgn2_126",Col_1:"_Col_1_1cgn2_126",Row_1:"_Row_1_1cgn2_126",Row_4:"_Row_4_1cgn2_126",Col_4:"_Col_4_1cgn2_126",Row_2:"_Row_2_1cgn2_129",Row_5:"_Row_5_1cgn2_129",Col_2:"_Col_2_1cgn2_132",Col_5:"_Col_5_1cgn2_132",GPT_3:"_GPT_3_1cgn2_138",GPT_18:"_GPT_18_1cgn2_138",GPT_8:"_GPT_8_1cgn2_141",GPT_23:"_GPT_23_1cgn2_141",GPT_11:"_GPT_11_1cgn2_144",GPT_14:"_GPT_14_1cgn2_144",GPT_12:"_GPT_12_1cgn2_147",GPT_15:"_GPT_15_1cgn2_147",Col_3:"_Col_3_1cgn2_157"},d$={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},f$={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},p$={Wrap:"_Wrap_1rtvv_1",RowClickable_true:"_RowClickable_true_1rtvv_4",Row:"_Row_1rtvv_4",BodyRow:"_BodyRow_1rtvv_4",DataNotFound:"_DataNotFound_1rtvv_4",Cell:"_Cell_1rtvv_7",Table:"_Table_1rtvv_13",TableType_drag:"_TableType_drag_1rtvv_24",DraggerOrigin:"_DraggerOrigin_1rtvv_28",DragableButton:"_DragableButton_1rtvv_34",TableType_data:"_TableType_data_1rtvv_43",Console:"_Console_1rtvv_43",TableBase:"_TableBase_1rtvv_50",HeadRow:"_HeadRow_1rtvv_60",FilterRegion:"_FilterRegion_1rtvv_66",Filtering_true:"_Filtering_true_1rtvv_69"},h$={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},m$={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},v$={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},g$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var _$={Input:"_Input_1g1ty_1",List:"_List_1g1ty_1",AddButton:"_AddButton_1g1ty_1",FileName:"_FileName_1g1ty_5",Draggable:"_Draggable_1g1ty_18",AddIcon:"_AddIcon_1g1ty_21",IconAnimation:"_IconAnimation_1g1ty_1"},b$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},y$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},S$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},w$={Label:"_Label_qfhyi_1",Wrap:"_Wrap_qfhyi_18",Rail:"_Rail_qfhyi_18",Bar:"_Bar_qfhyi_18",BarColor:"_BarColor_qfhyi_21",Labels:"_Labels_qfhyi_24",ShowLegendsAlways_true:"_ShowLegendsAlways_true_qfhyi_27",Ball:"_Ball_qfhyi_38"},C$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var x$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},sw=r=>o$[r],il=r=>i$[r],k_=r=>l$[r],cw=r=>s$[r],pm=r=>c$[r],ca=r=>u$[r],Da=r=>d$[r],Ia=r=>f$[r],tr=r=>p$[r],is=r=>h$[r],gu=r=>m$[r],hd=r=>v$[r],Kf=r=>g$[r];var ls=r=>_$[r],md=r=>b$[r],ss=r=>y$[r],vd=r=>S$[r],Ps=r=>w$[r],Aa=r=>C$[r];var T_=r=>x$[r];var zn=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,d=Je(a,["src","alt","showExpand"]);return(0,zN.jsx)(T,E(_({htmlTag:"img",src:o,alt:l},d),{className:[sw("Img"),sw("ShowExpand_"+!!s),d.className].join(" "),onPointerDown:c=>{d.onPointerDown&&d.onPointerDown(c),s&&c.stopPropagation()},onClick:c=>{d.onClick&&d.onClick(c),s&&(c.stopPropagation(),Ft.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},d.freeCSS)}))};var sr=X(Bt()),uw=X(ir());var FN={ComunIcon:()=>(0,sr.jsx)("svg",{viewBox:"0,0,1200,1200",className:il("ComunIcon"),children:(0,sr.jsxs)("g",{children:[(0,sr.jsx)("path",{d:`
|
|
926
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(j){var $,oe=j.beat,ee=j.fade,ue=j.beatFade,Ce=j.bounce,Se=j.shake,Ie=j.flash,Ge=j.spin,Qe=j.spinPulse,yt=j.spinReverse,Ht=j.pulse,pt=j.fixedWidth,kt=j.inverse,vt=j.border,it=j.listItem,Te=j.flip,Rt=j.size,Ut=j.rotation,Qt=j.pull,Yt=($={"fa-beat":oe,"fa-fade":ee,"fa-beat-fade":ue,"fa-bounce":Ce,"fa-shake":Se,"fa-flash":Ie,"fa-spin":Ge,"fa-spin-reverse":yt,"fa-spin-pulse":Qe,"fa-pulse":Ht,"fa-fw":pt,"fa-inverse":kt,"fa-border":vt,"fa-li":it,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},b($,"fa-".concat(Rt),typeof Rt!="undefined"&&Rt!==null),b($,"fa-rotate-".concat(Ut),typeof Ut!="undefined"&&Ut!==null&&Ut!==0),b($,"fa-pull-".concat(Qt),typeof Qt!="undefined"&&Qt!==null),b($,"fa-swap-opacity",j.swapOpacity),$);return Object.keys(Yt).map(function(lr){return Yt[lr]?lr:null}).filter(function(lr){return lr})}function H(j){return j=j-0,j===j}function J(j){return H(j)?j:(j=j.replace(/[\-_\s]+(.)?/g,function($,oe){return oe?oe.toUpperCase():""}),j.substr(0,1).toLowerCase()+j.substr(1))}var I=["style"];function re(j){return j.charAt(0).toUpperCase()+j.slice(1)}function ge(j){return j.split(";").map(function($){return $.trim()}).filter(function($){return $}).reduce(function($,oe){var ee=oe.indexOf(":"),ue=J(oe.slice(0,ee)),Ce=oe.slice(ee+1).trim();return ue.startsWith("webkit")?$[re(ue)]=Ce:$[ue]=Ce,$},{})}function ne(j,$){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof $=="string")return $;var ee=($.children||[]).map(function(Ge){return ne(j,Ge)}),ue=Object.keys($.attributes||{}).reduce(function(Ge,Qe){var yt=$.attributes[Qe];switch(Qe){case"class":Ge.attrs.className=yt,delete $.attributes.class;break;case"style":Ge.attrs.style=ge(yt);break;default:Qe.indexOf("aria-")===0||Qe.indexOf("data-")===0?Ge.attrs[Qe.toLowerCase()]=yt:Ge.attrs[J(Qe)]=yt}return Ge},{attrs:{}}),Ce=oe.style,Se=Ce===void 0?{}:Ce,Ie=x(oe,I);return ue.attrs.style=p(p({},ue.attrs.style),Se),j.apply(void 0,[$.tag,p(p({},ue.attrs),Ie)].concat(w(ee)))}var ke=!1;try{ke=!1}catch(j){}function xe(){if(!ke&&console&&typeof console.error=="function"){var j;(j=console).error.apply(j,arguments)}}function ye(j){if(j&&v(j)==="object"&&j.prefix&&j.iconName&&j.icon)return j;if(a.parse.icon)return a.parse.icon(j);if(j===null)return null;if(j&&v(j)==="object"&&j.prefix&&j.iconName)return j;if(Array.isArray(j)&&j.length===2)return{prefix:j[0],iconName:j[1]};if(typeof j=="string")return{prefix:"fas",iconName:j}}function V(j,$){return Array.isArray($)&&$.length>0||!Array.isArray($)&&$?b({},j,$):{}}var se=c.default.forwardRef(function(j,$){var oe=j.icon,ee=j.mask,ue=j.symbol,Ce=j.className,Se=j.title,Ie=j.titleId,Ge=j.maskId,Qe=ye(oe),yt=V("classes",[].concat(w(U(j)),w(Ce.split(" ")))),Ht=V("transform",typeof j.transform=="string"?a.parse.transform(j.transform):j.transform),pt=V("mask",ye(ee)),kt=a.icon(Qe,p(p(p(p({},yt),Ht),pt),{},{symbol:ue,title:Se,titleId:Ie,maskId:Ge}));if(!kt)return xe("Could not find icon",Qe),null;var vt=kt.abstract,it={ref:$};return Object.keys(j).forEach(function(Te){se.defaultProps.hasOwnProperty(Te)||(it[Te]=j[Te])}),pe(vt[0],it)});se.displayName="FontAwesomeIcon",se.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},se.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var pe=ne.bind(null,c.default.createElement);r.FontAwesomeIcon=se,Object.defineProperty(r,"__esModule",{value:!0})})});var nE=qe(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var J5="fas",Z5="xmark",eE=384,tE=512,sS=[128473,10005,10006,10060,215,"close","multiply","remove","times"],rE="f00d",aE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";Qo.definition={prefix:J5,iconName:Z5,icon:[eE,tE,sS,rE,aE]};Qo.faXmark=Qo.definition;Qo.prefix=J5;Qo.iconName=Z5;Qo.width=eE;Qo.height=tE;Qo.ligatures=sS;Qo.unicode=rE;Qo.svgPathData=aE;Qo.aliases=sS});var oE=qe(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var lo=nE();Jo.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Jo.faTimes=Jo.definition;Jo.prefix=lo.prefix;Jo.iconName=lo.iconName;Jo.width=lo.width;Jo.height=lo.height;Jo.ligatures=lo.aliases;Jo.unicode=lo.unicode;Jo.svgPathData=lo.svgPathData;Jo.aliases=lo.aliases});var fE=qe(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var iE="fas",lE="angle-right",sE=320,cE=512,cS=[8250],uE="f105",dE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Zo.definition={prefix:iE,iconName:lE,icon:[sE,cE,cS,uE,dE]};Zo.faAngleRight=Zo.definition;Zo.prefix=iE;Zo.iconName=lE;Zo.width=sE;Zo.height=cE;Zo.ligatures=cS;Zo.unicode=uE;Zo.svgPathData=dE;Zo.aliases=cS});var bE=qe(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var pE="fas",hE="angle-left",mE=320,vE=512,uS=[8249],gE="f104",_E="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";ei.definition={prefix:pE,iconName:hE,icon:[mE,vE,uS,gE,_E]};ei.faAngleLeft=ei.definition;ei.prefix=pE;ei.iconName=hE;ei.width=mE;ei.height=vE;ei.ligatures=uS;ei.unicode=gE;ei.svgPathData=_E;ei.aliases=uS});var TE=qe(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var yE="fas",SE="angle-up",wE=448,CE=512,dS=[8963],xE="f106",kE="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";ti.definition={prefix:yE,iconName:SE,icon:[wE,CE,dS,xE,kE]};ti.faAngleUp=ti.definition;ti.prefix=yE;ti.iconName=SE;ti.width=wE;ti.height=CE;ti.ligatures=dS;ti.unicode=xE;ti.svgPathData=kE;ti.aliases=dS});var NE=qe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var RE="fas",EE="angle-down",DE=448,AE=512,fS=[8964],LE="f107",BE="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";ri.definition={prefix:RE,iconName:EE,icon:[DE,AE,fS,LE,BE]};ri.faAngleDown=ri.definition;ri.prefix=RE;ri.iconName=EE;ri.width=DE;ri.height=AE;ri.ligatures=fS;ri.unicode=LE;ri.svgPathData=BE;ri.aliases=fS});var jE=qe(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var OE="fas",IE="chevron-left",PE=320,ME=512,pS=[9001],zE="f053",FE="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";ai.definition={prefix:OE,iconName:IE,icon:[PE,ME,pS,zE,FE]};ai.faChevronLeft=ai.definition;ai.prefix=OE;ai.iconName=IE;ai.width=PE;ai.height=ME;ai.ligatures=pS;ai.unicode=zE;ai.svgPathData=FE;ai.aliases=pS});var $E=qe(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var HE="fas",UE="chevron-right",VE=320,WE=512,hS=[9002],qE="f054",YE="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";ni.definition={prefix:HE,iconName:UE,icon:[VE,WE,hS,qE,YE]};ni.faChevronRight=ni.definition;ni.prefix=HE;ni.iconName=UE;ni.width=VE;ni.height=WE;ni.ligatures=hS;ni.unicode=qE;ni.svgPathData=YE;ni.aliases=hS});var eD=qe(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var GE="fas",KE="chevron-up",XE=512,QE=512,mS=[],JE="f077",ZE="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";oi.definition={prefix:GE,iconName:KE,icon:[XE,QE,mS,JE,ZE]};oi.faChevronUp=oi.definition;oi.prefix=GE;oi.iconName=KE;oi.width=XE;oi.height=QE;oi.ligatures=mS;oi.unicode=JE;oi.svgPathData=ZE;oi.aliases=mS});var lD=qe(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var tD="fas",rD="chevron-down",aD=512,nD=512,vS=[],oD="f078",iD="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";ii.definition={prefix:tD,iconName:rD,icon:[aD,nD,vS,oD,iD]};ii.faChevronDown=ii.definition;ii.prefix=tD;ii.iconName=rD;ii.width=aD;ii.height=nD;ii.ligatures=vS;ii.unicode=oD;ii.svgPathData=iD;ii.aliases=vS});var hD=qe(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var sD="fas",cD="caret-left",uD=256,dD=512,gS=[],fD="f0d9",pD="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";li.definition={prefix:sD,iconName:cD,icon:[uD,dD,gS,fD,pD]};li.faCaretLeft=li.definition;li.prefix=sD;li.iconName=cD;li.width=uD;li.height=dD;li.ligatures=gS;li.unicode=fD;li.svgPathData=pD;li.aliases=gS});var SD=qe(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var mD="fas",vD="caret-right",gD=256,_D=512,_S=[],bD="f0da",yD="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";si.definition={prefix:mD,iconName:vD,icon:[gD,_D,_S,bD,yD]};si.faCaretRight=si.definition;si.prefix=mD;si.iconName=vD;si.width=gD;si.height=_D;si.ligatures=_S;si.unicode=bD;si.svgPathData=yD;si.aliases=_S});var ED=qe(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var wD="fas",CD="caret-up",xD=320,kD=512,bS=[],TD="f0d8",RD="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ci.definition={prefix:wD,iconName:CD,icon:[xD,kD,bS,TD,RD]};ci.faCaretUp=ci.definition;ci.prefix=wD;ci.iconName=CD;ci.width=xD;ci.height=kD;ci.ligatures=bS;ci.unicode=TD;ci.svgPathData=RD;ci.aliases=bS});var ID=qe(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var DD="fas",AD="caret-down",LD=320,BD=512,yS=[],ND="f0d7",OD="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ui.definition={prefix:DD,iconName:AD,icon:[LD,BD,yS,ND,OD]};ui.faCaretDown=ui.definition;ui.prefix=DD;ui.iconName=AD;ui.width=LD;ui.height=BD;ui.ligatures=yS;ui.unicode=ND;ui.svgPathData=OD;ui.aliases=yS});var UD=qe(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var PD="fas",MD="arrow-left",zD=448,FD=512,SS=[8592],jD="f060",HD="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";di.definition={prefix:PD,iconName:MD,icon:[zD,FD,SS,jD,HD]};di.faArrowLeft=di.definition;di.prefix=PD;di.iconName=MD;di.width=zD;di.height=FD;di.ligatures=SS;di.unicode=jD;di.svgPathData=HD;di.aliases=SS});var CS=qe(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var VD="fas",WD="arrow-right",qD=448,YD=512,wS=[8594],$D="f061",GD="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";fi.definition={prefix:VD,iconName:WD,icon:[qD,YD,wS,$D,GD]};fi.faArrowRight=fi.definition;fi.prefix=VD;fi.iconName=WD;fi.width=qD;fi.height=YD;fi.ligatures=wS;fi.unicode=$D;fi.svgPathData=GD;fi.aliases=wS});var kS=qe(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var KD="fas",XD="arrow-up",QD=384,JD=512,xS=[8593],ZD="f062",e6="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";pi.definition={prefix:KD,iconName:XD,icon:[QD,JD,xS,ZD,e6]};pi.faArrowUp=pi.definition;pi.prefix=KD;pi.iconName=XD;pi.width=QD;pi.height=JD;pi.ligatures=xS;pi.unicode=ZD;pi.svgPathData=e6;pi.aliases=xS});var RS=qe(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var t6="fas",r6="arrow-down",a6=384,n6=512,TS=[8595],o6="f063",i6="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";hi.definition={prefix:t6,iconName:r6,icon:[a6,n6,TS,o6,i6]};hi.faArrowDown=hi.definition;hi.prefix=t6;hi.iconName=r6;hi.width=a6;hi.height=n6;hi.ligatures=TS;hi.unicode=o6;hi.svgPathData=i6;hi.aliases=TS});var p6=qe(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var l6="fas",s6="rotate",c6=512,u6=512,ES=[128260,"sync-alt"],d6="f2f1",f6="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";mi.definition={prefix:l6,iconName:s6,icon:[c6,u6,ES,d6,f6]};mi.faRotate=mi.definition;mi.prefix=l6;mi.iconName=s6;mi.width=c6;mi.height=u6;mi.ligatures=ES;mi.unicode=d6;mi.svgPathData=f6;mi.aliases=ES});var y6=qe(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var h6="fas",m6="arrow-rotate-right",v6=512,g6=512,DS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],_6="f01e",b6="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";vi.definition={prefix:h6,iconName:m6,icon:[v6,g6,DS,_6,b6]};vi.faArrowRotateRight=vi.definition;vi.prefix=h6;vi.iconName=m6;vi.width=v6;vi.height=g6;vi.ligatures=DS;vi.unicode=_6;vi.svgPathData=b6;vi.aliases=DS});var S6=qe(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var so=y6();gi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};gi.faRedo=gi.definition;gi.prefix=so.prefix;gi.iconName=so.iconName;gi.width=so.width;gi.height=so.height;gi.ligatures=so.aliases;gi.unicode=so.unicode;gi.svgPathData=so.svgPathData;gi.aliases=so.aliases});var E6=qe(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var w6="fas",C6="check",x6=448,k6=512,AS=[10003,10004],T6="f00c",R6="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";_i.definition={prefix:w6,iconName:C6,icon:[x6,k6,AS,T6,R6]};_i.faCheck=_i.definition;_i.prefix=w6;_i.iconName=C6;_i.width=x6;_i.height=k6;_i.ligatures=AS;_i.unicode=T6;_i.svgPathData=R6;_i.aliases=AS});var I6=qe(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var D6="fas",A6="question",L6=320,B6=512,LS=[10067,10068,61736],N6="3f",O6="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";bi.definition={prefix:D6,iconName:A6,icon:[L6,B6,LS,N6,O6]};bi.faQuestion=bi.definition;bi.prefix=D6;bi.iconName=A6;bi.width=L6;bi.height=B6;bi.ligatures=LS;bi.unicode=N6;bi.svgPathData=O6;bi.aliases=LS});var U6=qe(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var P6="fas",M6="exclamation",z6=128,F6=512,BS=[10069,10071,61738],j6="21",H6="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";yi.definition={prefix:P6,iconName:M6,icon:[z6,F6,BS,j6,H6]};yi.faExclamation=yi.definition;yi.prefix=P6;yi.iconName=M6;yi.width=z6;yi.height=F6;yi.ligatures=BS;yi.unicode=j6;yi.svgPathData=H6;yi.aliases=BS});var K6=qe(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var V6="fas",W6="triangle-exclamation",q6=512,Y6=512,NS=[9888,"exclamation-triangle","warning"],$6="f071",G6="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";Si.definition={prefix:V6,iconName:W6,icon:[q6,Y6,NS,$6,G6]};Si.faTriangleExclamation=Si.definition;Si.prefix=V6;Si.iconName=W6;Si.width=q6;Si.height=Y6;Si.ligatures=NS;Si.unicode=$6;Si.svgPathData=G6;Si.aliases=NS});var X6=qe(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var co=K6();wi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};wi.faExclamationTriangle=wi.definition;wi.prefix=co.prefix;wi.iconName=co.iconName;wi.width=co.width;wi.height=co.height;wi.ligatures=co.aliases;wi.unicode=co.unicode;wi.svgPathData=co.svgPathData;wi.aliases=co.aliases});var aA=qe(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var Q6="fas",J6="house",Z6=576,eA=512,OS=[127968,63498,63500,"home","home-alt","home-lg-alt"],tA="f015",rA="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";Ci.definition={prefix:Q6,iconName:J6,icon:[Z6,eA,OS,tA,rA]};Ci.faHouse=Ci.definition;Ci.prefix=Q6;Ci.iconName=J6;Ci.width=Z6;Ci.height=eA;Ci.ligatures=OS;Ci.unicode=tA;Ci.svgPathData=rA;Ci.aliases=OS});var nA=qe(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var uo=aA();xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};xi.faHome=xi.definition;xi.prefix=uo.prefix;xi.iconName=uo.iconName;xi.width=uo.width;xi.height=uo.height;xi.ligatures=uo.aliases;xi.unicode=uo.unicode;xi.svgPathData=uo.svgPathData;xi.aliases=uo.aliases});var dA=qe(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var oA="fas",iA="share",lA=512,sA=512,IS=["mail-forward"],cA="f064",uA="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";ki.definition={prefix:oA,iconName:iA,icon:[lA,sA,IS,cA,uA]};ki.faShare=ki.definition;ki.prefix=oA;ki.iconName=iA;ki.width=lA;ki.height=sA;ki.ligatures=IS;ki.unicode=cA;ki.svgPathData=uA;ki.aliases=IS});var _A=qe(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var fA="fas",pA="magnifying-glass",hA=512,mA=512,PS=[128269,"search"],vA="f002",gA="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";Ti.definition={prefix:fA,iconName:pA,icon:[hA,mA,PS,vA,gA]};Ti.faMagnifyingGlass=Ti.definition;Ti.prefix=fA;Ti.iconName=pA;Ti.width=hA;Ti.height=mA;Ti.ligatures=PS;Ti.unicode=vA;Ti.svgPathData=gA;Ti.aliases=PS});var bA=qe(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var fo=_A();Ri.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Ri.faSearch=Ri.definition;Ri.prefix=fo.prefix;Ri.iconName=fo.iconName;Ri.width=fo.width;Ri.height=fo.height;Ri.ligatures=fo.aliases;Ri.unicode=fo.unicode;Ri.svgPathData=fo.svgPathData;Ri.aliases=fo.aliases});var TA=qe(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var yA="fas",SA="yen-sign",wA=320,CA=512,MS=[165,"cny","jpy","rmb","yen"],xA="f157",kA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";Ei.definition={prefix:yA,iconName:SA,icon:[wA,CA,MS,xA,kA]};Ei.faYenSign=Ei.definition;Ei.prefix=yA;Ei.iconName=SA;Ei.width=wA;Ei.height=CA;Ei.ligatures=MS;Ei.unicode=xA;Ei.svgPathData=kA;Ei.aliases=MS});var NA=qe(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var RA="fas",EA="pen",DA=512,AA=512,zS=[128394],LA="f304",BA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";Di.definition={prefix:RA,iconName:EA,icon:[DA,AA,zS,LA,BA]};Di.faPen=Di.definition;Di.prefix=RA;Di.iconName=EA;Di.width=DA;Di.height=AA;Di.ligatures=zS;Di.unicode=LA;Di.svgPathData=BA;Di.aliases=zS});var jA=qe(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var OA="fas",IA="bars",PA=448,MA=512,FS=["navicon"],zA="f0c9",FA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ai.definition={prefix:OA,iconName:IA,icon:[PA,MA,FS,zA,FA]};Ai.faBars=Ai.definition;Ai.prefix=OA;Ai.iconName=IA;Ai.width=PA;Ai.height=MA;Ai.ligatures=FS;Ai.unicode=zA;Ai.svgPathData=FA;Ai.aliases=FS});var $A=qe(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var HA="fas",UA="download",VA=512,WA=512,jS=[],qA="f019",YA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Li.definition={prefix:HA,iconName:UA,icon:[VA,WA,jS,qA,YA]};Li.faDownload=Li.definition;Li.prefix=HA;Li.iconName=UA;Li.width=VA;Li.height=WA;Li.ligatures=jS;Li.unicode=qA;Li.svgPathData=YA;Li.aliases=jS});var eL=qe(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var GA="fas",KA="link",XA=640,QA=512,HS=[128279,"chain"],JA="f0c1",ZA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";Bi.definition={prefix:GA,iconName:KA,icon:[XA,QA,HS,JA,ZA]};Bi.faLink=Bi.definition;Bi.prefix=GA;Bi.iconName=KA;Bi.width=XA;Bi.height=QA;Bi.ligatures=HS;Bi.unicode=JA;Bi.svgPathData=ZA;Bi.aliases=HS});var lL=qe(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var tL="fas",rL="link-slash",aL=640,nL=512,US=["chain-broken","chain-slash","unlink"],oL="f127",iL="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Ni.definition={prefix:tL,iconName:rL,icon:[aL,nL,US,oL,iL]};Ni.faLinkSlash=Ni.definition;Ni.prefix=tL;Ni.iconName=rL;Ni.width=aL;Ni.height=nL;Ni.ligatures=US;Ni.unicode=oL;Ni.svgPathData=iL;Ni.aliases=US});var hL=qe(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var sL="fas",cL="up-right-from-square",uL=512,dL=512,VS=["external-link-alt"],fL="f35d",pL="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Oi.definition={prefix:sL,iconName:cL,icon:[uL,dL,VS,fL,pL]};Oi.faUpRightFromSquare=Oi.definition;Oi.prefix=sL;Oi.iconName=cL;Oi.width=uL;Oi.height=dL;Oi.ligatures=VS;Oi.unicode=fL;Oi.svgPathData=pL;Oi.aliases=VS});var mL=qe(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var po=hL();Ii.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Ii.faExternalLinkAlt=Ii.definition;Ii.prefix=po.prefix;Ii.iconName=po.iconName;Ii.width=po.width;Ii.height=po.height;Ii.ligatures=po.aliases;Ii.unicode=po.unicode;Ii.svgPathData=po.svgPathData;Ii.aliases=po.aliases});var wL=qe(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var vL="fas",gL="gear",_L=512,bL=512,WS=[9881,"cog"],yL="f013",SL="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Pi.definition={prefix:vL,iconName:gL,icon:[_L,bL,WS,yL,SL]};Pi.faGear=Pi.definition;Pi.prefix=vL;Pi.iconName=gL;Pi.width=_L;Pi.height=bL;Pi.ligatures=WS;Pi.unicode=yL;Pi.svgPathData=SL;Pi.aliases=WS});var DL=qe(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var CL="fas",xL="plus",kL=448,TL=512,qS=[10133,61543,"add"],RL="2b",EL="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Mi.definition={prefix:CL,iconName:xL,icon:[kL,TL,qS,RL,EL]};Mi.faPlus=Mi.definition;Mi.prefix=CL;Mi.iconName=xL;Mi.width=kL;Mi.height=TL;Mi.ligatures=qS;Mi.unicode=RL;Mi.svgPathData=EL;Mi.aliases=qS});var PL=qe(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var AL="fas",LL="minus",BL=448,NL=512,YS=[8211,8722,10134,"subtract"],OL="f068",IL="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";zi.definition={prefix:AL,iconName:LL,icon:[BL,NL,YS,OL,IL]};zi.faMinus=zi.definition;zi.prefix=AL;zi.iconName=LL;zi.width=BL;zi.height=NL;zi.ligatures=YS;zi.unicode=OL;zi.svgPathData=IL;zi.aliases=YS});var VL=qe(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var ML="fas",zL="ellipsis",FL=448,jL=512,$S=["ellipsis-h"],HL="f141",UL="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Fi.definition={prefix:ML,iconName:zL,icon:[FL,jL,$S,HL,UL]};Fi.faEllipsis=Fi.definition;Fi.prefix=ML;Fi.iconName=zL;Fi.width=FL;Fi.height=jL;Fi.ligatures=$S;Fi.unicode=HL;Fi.svgPathData=UL;Fi.aliases=$S});var WL=qe(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var ho=VL();ji.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};ji.faEllipsisH=ji.definition;ji.prefix=ho.prefix;ji.iconName=ho.iconName;ji.width=ho.width;ji.height=ho.height;ji.ligatures=ho.aliases;ji.unicode=ho.unicode;ji.svgPathData=ho.svgPathData;ji.aliases=ho.aliases});var QL=qe(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var qL="fas",YL="ellipsis-vertical",$L=128,GL=512,GS=["ellipsis-v"],KL="f142",XL="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";Hi.definition={prefix:qL,iconName:YL,icon:[$L,GL,GS,KL,XL]};Hi.faEllipsisVertical=Hi.definition;Hi.prefix=qL;Hi.iconName=YL;Hi.width=$L;Hi.height=GL;Hi.ligatures=GS;Hi.unicode=KL;Hi.svgPathData=XL;Hi.aliases=GS});var JL=qe(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var mo=QL();Ui.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};Ui.faEllipsisV=Ui.definition;Ui.prefix=mo.prefix;Ui.iconName=mo.iconName;Ui.width=mo.width;Ui.height=mo.height;Ui.ligatures=mo.aliases;Ui.unicode=mo.unicode;Ui.svgPathData=mo.svgPathData;Ui.aliases=mo.aliases});var oB=qe(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var ZL="fas",eB="star",tB=576,rB=512,KS=[11088,61446],aB="f005",nB="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Vi.definition={prefix:ZL,iconName:eB,icon:[tB,rB,KS,aB,nB]};Vi.faStar=Vi.definition;Vi.prefix=ZL;Vi.iconName=eB;Vi.width=tB;Vi.height=rB;Vi.ligatures=KS;Vi.unicode=aB;Vi.svgPathData=nB;Vi.aliases=KS});var fB=qe(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var iB="fas",lB="paper-plane",sB=512,cB=512,XS=[61913],uB="f1d8",dB="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";Wi.definition={prefix:iB,iconName:lB,icon:[sB,cB,XS,uB,dB]};Wi.faPaperPlane=Wi.definition;Wi.prefix=iB;Wi.iconName=lB;Wi.width=sB;Wi.height=cB;Wi.ligatures=XS;Wi.unicode=uB;Wi.svgPathData=dB;Wi.aliases=XS});var bB=qe(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var pB="fas",hB="heart",mB=512,vB=512,QS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],gB="f004",_B="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";qi.definition={prefix:pB,iconName:hB,icon:[mB,vB,QS,gB,_B]};qi.faHeart=qi.definition;qi.prefix=pB;qi.iconName=hB;qi.width=mB;qi.height=vB;qi.ligatures=QS;qi.unicode=gB;qi.svgPathData=_B;qi.aliases=QS});var TB=qe(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var yB="fas",SB="ban",wB=512,CB=512,JS=[128683,"cancel"],xB="f05e",kB="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Yi.definition={prefix:yB,iconName:SB,icon:[wB,CB,JS,xB,kB]};Yi.faBan=Yi.definition;Yi.prefix=yB;Yi.iconName=SB;Yi.width=wB;Yi.height=CB;Yi.ligatures=JS;Yi.unicode=xB;Yi.svgPathData=kB;Yi.aliases=JS});var NB=qe($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var RB="fas",EB="location-crosshairs",DB=512,AB=512,ZS=["location"],LB="f601",BB="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";$i.definition={prefix:RB,iconName:EB,icon:[DB,AB,ZS,LB,BB]};$i.faLocationCrosshairs=$i.definition;$i.prefix=RB;$i.iconName=EB;$i.width=DB;$i.height=AB;$i.ligatures=ZS;$i.unicode=LB;$i.svgPathData=BB;$i.aliases=ZS});var jB=qe(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var OB="far",IB="user",PB=448,MB=512,ew=[128100,62144],zB="f007",FB="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Gi.definition={prefix:OB,iconName:IB,icon:[PB,MB,ew,zB,FB]};Gi.faUser=Gi.definition;Gi.prefix=OB;Gi.iconName=IB;Gi.width=PB;Gi.height=MB;Gi.ligatures=ew;Gi.unicode=zB;Gi.svgPathData=FB;Gi.aliases=ew});var $B=qe(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var HB="far",UB="circle-check",VB=512,WB=512,tw=[61533,"check-circle"],qB="f058",YB="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";Ki.definition={prefix:HB,iconName:UB,icon:[VB,WB,tw,qB,YB]};Ki.faCircleCheck=Ki.definition;Ki.prefix=HB;Ki.iconName=UB;Ki.width=VB;Ki.height=WB;Ki.ligatures=tw;Ki.unicode=qB;Ki.svgPathData=YB;Ki.aliases=tw});var GB=qe(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var vo=$B();Xi.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Xi.faCheckCircle=Xi.definition;Xi.prefix=vo.prefix;Xi.iconName=vo.iconName;Xi.width=vo.width;Xi.height=vo.height;Xi.ligatures=vo.aliases;Xi.unicode=vo.unicode;Xi.svgPathData=vo.svgPathData;Xi.aliases=vo.aliases});var t8=qe(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var KB="far",XB="circle-question",QB=512,JB=512,rw=[62108,"question-circle"],ZB="f059",e8="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";Qi.definition={prefix:KB,iconName:XB,icon:[QB,JB,rw,ZB,e8]};Qi.faCircleQuestion=Qi.definition;Qi.prefix=KB;Qi.iconName=XB;Qi.width=QB;Qi.height=JB;Qi.ligatures=rw;Qi.unicode=ZB;Qi.svgPathData=e8;Qi.aliases=rw});var r8=qe(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var go=t8();Ji.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};Ji.faQuestionCircle=Ji.definition;Ji.prefix=go.prefix;Ji.iconName=go.iconName;Ji.width=go.width;Ji.height=go.height;Ji.ligatures=go.aliases;Ji.unicode=go.unicode;Ji.svgPathData=go.svgPathData;Ji.aliases=go.aliases});var c8=qe(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var a8="far",n8="pen-to-square",o8=512,i8=512,aw=["edit"],l8="f044",s8="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Zi.definition={prefix:a8,iconName:n8,icon:[o8,i8,aw,l8,s8]};Zi.faPenToSquare=Zi.definition;Zi.prefix=a8;Zi.iconName=n8;Zi.width=o8;Zi.height=i8;Zi.ligatures=aw;Zi.unicode=l8;Zi.svgPathData=s8;Zi.aliases=aw});var u8=qe(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var _o=c8();el.definition={prefix:_o.prefix,iconName:_o.iconName,icon:[_o.width,_o.height,_o.aliases,_o.unicode,_o.svgPathData]};el.faEdit=el.definition;el.prefix=_o.prefix;el.iconName=_o.iconName;el.width=_o.width;el.height=_o.height;el.ligatures=_o.aliases;el.unicode=_o.unicode;el.svgPathData=_o.svgPathData;el.aliases=_o.aliases});var g8=qe(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var d8="far",f8="copy",p8=448,h8=512,nw=[],m8="f0c5",v8="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";tl.definition={prefix:d8,iconName:f8,icon:[p8,h8,nw,m8,v8]};tl.faCopy=tl.definition;tl.prefix=d8;tl.iconName=f8;tl.width=p8;tl.height=h8;tl.ligatures=nw;tl.unicode=m8;tl.svgPathData=v8;tl.aliases=nw});var x8=qe(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var _8="far",b8="file",y8=384,S8=512,ow=[128196,128459,61462],w8="f15b",C8="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";rl.definition={prefix:_8,iconName:b8,icon:[y8,S8,ow,w8,C8]};rl.faFile=rl.definition;rl.prefix=_8;rl.iconName=b8;rl.width=y8;rl.height=S8;rl.ligatures=ow;rl.unicode=w8;rl.svgPathData=C8;rl.aliases=ow});var L8=qe(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var k8="far",T8="trash-can",R8=448,E8=512,iw=[61460,"trash-alt"],D8="f2ed",A8="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";al.definition={prefix:k8,iconName:T8,icon:[R8,E8,iw,D8,A8]};al.faTrashCan=al.definition;al.prefix=k8;al.iconName=T8;al.width=R8;al.height=E8;al.ligatures=iw;al.unicode=D8;al.svgPathData=A8;al.aliases=iw});var B8=qe(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var bo=L8();nl.definition={prefix:bo.prefix,iconName:bo.iconName,icon:[bo.width,bo.height,bo.aliases,bo.unicode,bo.svgPathData]};nl.faTrashAlt=nl.definition;nl.prefix=bo.prefix;nl.iconName=bo.iconName;nl.width=bo.width;nl.height=bo.height;nl.ligatures=bo.aliases;nl.unicode=bo.unicode;nl.svgPathData=bo.svgPathData;nl.aliases=bo.aliases});var F8=qe(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var N8="far",O8="image",I8=512,P8=512,lw=[],M8="f03e",z8="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";ol.definition={prefix:N8,iconName:O8,icon:[I8,P8,lw,M8,z8]};ol.faImage=ol.definition;ol.prefix=N8;ol.iconName=O8;ol.width=I8;ol.height=P8;ol.ligatures=lw;ol.unicode=M8;ol.svgPathData=z8;ol.aliases=lw});var sO=qe(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var rO="fas",aO="eye",nO=576,oO=512,ww=[128065],iO="f06e",lO="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";sl.definition={prefix:rO,iconName:aO,icon:[nO,oO,ww,iO,lO]};sl.faEye=sl.definition;sl.prefix=rO;sl.iconName=aO;sl.width=nO;sl.height=oO;sl.ligatures=ww;sl.unicode=iO;sl.svgPathData=lO;sl.aliases=ww});var yO=qe(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var hO="fas",mO="clock",vO=512,gO=512,Tw=[128339,"clock-four"],_O="f017",bO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";cl.definition={prefix:hO,iconName:mO,icon:[vO,gO,Tw,_O,bO]};cl.faClock=cl.definition;cl.prefix=hO;cl.iconName=mO;cl.width=vO;cl.height=gO;cl.ligatures=Tw;cl.unicode=_O;cl.svgPathData=bO;cl.aliases=Tw});var RO=qe(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var SO="fas",wO="calendar-days",CO=448,xO=512,Rw=["calendar-alt"],kO="f073",TO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";ul.definition={prefix:SO,iconName:wO,icon:[CO,xO,Rw,kO,TO]};ul.faCalendarDays=ul.definition;ul.prefix=SO;ul.iconName=wO;ul.width=CO;ul.height=xO;ul.ligatures=Rw;ul.unicode=kO;ul.svgPathData=TO;ul.aliases=Rw});var EO=qe(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var yo=RO();dl.definition={prefix:yo.prefix,iconName:yo.iconName,icon:[yo.width,yo.height,yo.aliases,yo.unicode,yo.svgPathData]};dl.faCalendarAlt=dl.definition;dl.prefix=yo.prefix;dl.iconName=yo.iconName;dl.width=yo.width;dl.height=yo.height;dl.ligatures=yo.aliases;dl.unicode=yo.unicode;dl.svgPathData=yo.svgPathData;dl.aliases=yo.aliases});var YO=qe(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var jO="fas",HO="cloud-arrow-up",UO=640,VO=512,Bw=[62338,"cloud-upload","cloud-upload-alt"],WO="f0ee",qO="M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";fl.definition={prefix:jO,iconName:HO,icon:[UO,VO,Bw,WO,qO]};fl.faCloudArrowUp=fl.definition;fl.prefix=jO;fl.iconName=HO;fl.width=UO;fl.height=VO;fl.ligatures=Bw;fl.unicode=WO;fl.svgPathData=qO;fl.aliases=Bw});var h7=qe(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var s7="fas",c7="grip-vertical",u7=320,d7=512,Fw=[],f7="f58e",p7="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";hl.definition={prefix:s7,iconName:c7,icon:[u7,d7,Fw,f7,p7]};hl.faGripVertical=hl.definition;hl.prefix=s7;hl.iconName=c7;hl.width=u7;hl.height=d7;hl.ligatures=Fw;hl.unicode=f7;hl.svgPathData=p7;hl.aliases=Fw});var w7=qe(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var v7="fas",g7="filter",_7=512,b7=512,Uw=[],y7="f0b0",S7="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";ml.definition={prefix:v7,iconName:g7,icon:[_7,b7,Uw,y7,S7]};ml.faFilter=ml.definition;ml.prefix=v7;ml.iconName=g7;ml.width=_7;ml.height=b7;ml.ligatures=Uw;ml.unicode=y7;ml.svgPathData=S7;ml.aliases=Uw});var N7=qe(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});var R7="fas",E7="palette",D7=512,A7=512,Ww=[127912],L7="f53f",B7="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";vl.definition={prefix:R7,iconName:E7,icon:[D7,A7,Ww,L7,B7]};vl.faPalette=vl.definition;vl.prefix=R7;vl.iconName=E7;vl.width=D7;vl.height=A7;vl.ligatures=Ww;vl.unicode=L7;vl.svgPathData=B7;vl.aliases=Ww});var j7=qe(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});var O7="fas",I7="bars-staggered",P7=512,M7=512,qw=["reorder","stream"],z7="f550",F7="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";gl.definition={prefix:O7,iconName:I7,icon:[P7,M7,qw,z7,F7]};gl.faBarsStaggered=gl.definition;gl.prefix=O7;gl.iconName=I7;gl.width=P7;gl.height=M7;gl.ligatures=qw;gl.unicode=z7;gl.svgPathData=F7;gl.aliases=qw});var $7=qe(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});var H7="fas",U7="rotate-left",V7=512,W7=512,Yw=["rotate-back","rotate-backward","undo-alt"],q7="f2ea",Y7="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";_l.definition={prefix:H7,iconName:U7,icon:[V7,W7,Yw,q7,Y7]};_l.faRotateLeft=_l.definition;_l.prefix=H7;_l.iconName=U7;_l.width=V7;_l.height=W7;_l.ligatures=Yw;_l.unicode=q7;_l.svgPathData=Y7;_l.aliases=Yw});var eI=qe(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});var G7="fas",K7="rotate-right",X7=512,Q7=512,$w=["redo-alt","rotate-forward"],J7="f2f9",Z7="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";bl.definition={prefix:G7,iconName:K7,icon:[X7,Q7,$w,J7,Z7]};bl.faRotateRight=bl.definition;bl.prefix=G7;bl.iconName=K7;bl.width=X7;bl.height=Q7;bl.ligatures=$w;bl.unicode=J7;bl.svgPathData=Z7;bl.aliases=$w});var Qw=qe(()=>{"use strict"});var Jw=qe(()=>{"use strict"});var dI=X(b4()),Vs=X(vR()),Nm=X(fr()),rb=X(ir());var Hr={};If(Hr,{$$fromRoot:()=>bt,Accordion:()=>Zf,Anchor:()=>Nl,Box:()=>T,Button:()=>le,ColorObjects:()=>tm,Column:()=>ct,Config:()=>st,Cropper:()=>Dm,DarkmodeColors:()=>sI,Effect:()=>cs,ExtractStyles:()=>Fl,FAI:()=>we,Flex:()=>_t,FlexBr:()=>HN,GenerateHTMLProps:()=>Lo,Grid:()=>ua,Img:()=>zn,Input:()=>at,Label:()=>zs,LaunchReactApp:()=>eb,LeftIcon:()=>Jf,LeftIndicator:()=>I_,LinkifyText:()=>M_,List:()=>Cu,ListItem:()=>ds,Loader:()=>an,Logo:()=>Lt,OmitSign:()=>O_,P:()=>jN,PageNotFound:()=>iI,PageViewController:()=>D_,Placeholder:()=>R_,Plate:()=>mm,ReadStyleSet:()=>hm,RequiredShortSign:()=>N_,RequiredSign:()=>B_,RightIcon:()=>Ha,RightIndicator:()=>P_,RootViewController:()=>Il,Row:()=>Pe,SetThemeColorTag:()=>em,Sheet:()=>Ft,Snackbar:()=>Kn,Span:()=>tn,SwipeView:()=>A_,TabBar:()=>Q_,Table:()=>Qn,Text:()=>Ye,ThemeColors:()=>Am,Tips:()=>zl,Tooltips:()=>na,amotify:()=>rG,default:()=>rG,pageRouter:()=>Fn,useRefresh:()=>Bl,useRouterEffect:()=>Z_});var lq=Object.defineProperty,sq=Object.defineProperties,cq=Object.getOwnPropertyDescriptors,r_=Object.getOwnPropertySymbols,xR=Object.prototype.hasOwnProperty,kR=Object.prototype.propertyIsEnumerable,TR=Math.pow,CR=(r,a,o)=>a in r?lq(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))xR.call(a,o)&&CR(r,o,a[o]);if(r_)for(var o of r_(a))kR.call(a,o)&&CR(r,o,a[o]);return r},E=(r,a)=>sq(r,cq(a)),Je=(r,a)=>{var o={};for(var l in r)xR.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&r_)for(var l of r_(r))a.indexOf(l)<0&&kR.call(r,l)&&(o[l]=r[l]);return o},Oa=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},c=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((o=o.apply(r,a)).next())});var Xw={};If(Xw,{$$fromRoot:()=>bt,ColorObjects:()=>tm,Config:()=>st,DarkmodeColors:()=>sI,ExtractStyles:()=>Fl,GenerateHTMLProps:()=>Lo,LaunchReactApp:()=>eb,ReadStyleSet:()=>hm,SetThemeColorTag:()=>em,ThemeColors:()=>Am,pageRouter:()=>Fn,useRefresh:()=>Bl,useRouterEffect:()=>Z_});var Ll=X(ir());var Ao={sessionUID:(0,Ll.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},st={get:()=>Ao,set:r=>{Ao=_(_({},Ao),r)},update:{themeColor:r=>{if(tm.find(o=>o.key==r)||(r="comun"),r==st.get().themeColor)return;st.set(E(_({},st.get()),{themeColor:r}));let a=(0,Ll.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{em()}),st.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==st.get().darkMode)return;let a=r=="auto"?st.get().isSystemDarkmode()?"dark":"light":r;st.set(E(_({},st.get()),{darkMode:a}));let o=(0,Ll.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),st.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=st.get().roundness&&(st.set(E(_({},st.get()),{roundness:r})),st.restart())},screen:r=>{st.get().screen=_(_({},st.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Ao.appRoot=r.appRoot||document.body,Ao.appRoot instanceof HTMLElement&&(Ao.appRoot.tabIndex=0),Ll.default.is.exist(r.roundness)&&st.update.roundness(r.roundness),Ll.default.is.exist(r.themeColor)&&st.update.themeColor(r.themeColor),Ll.default.is.exist(r.darkMode)&&st.update.darkMode(r.darkMode),Ao.deviceIs=o,Ao.browserIs=l,Ao.isPhone=["Android","iPhone"].includes(o),Ao.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ao.isIOS=["iPhone","iPad"].includes(o),Ao.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ao.isIOS=["iPhone","iPad"].includes(o),Ao.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Ll.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+st.get().deviceIs,"bdsDM_"+st.get().darkMode,"bdsTC_"+st.get().themeColor]),(0,Ll.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Ll.default)(document.body),c=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-c-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{st.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Ll.default)(document.body),d=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-c-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),em()},restart:()=>{Bl.release("RootViewController_"+st.get().sessionUID)}};var Xo=X(ir()),Hf=X(fr()),Bl={catch:r=>{let[a]=(0,Hf.useState)((0,Xo.UUID)()),[o,l]=(0,Hf.useState)((0,Xo.UUID)()),[s,d]=(0,Hf.useState)(null),c="RefreshKey_"+a;return(0,Hf.useEffect)(()=>{var h;Xo.useStore.set({[c]:v=>{l((0,Xo.UUID)()),d(v||null)}});let p=((h=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Xo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var v;Xo.useStore.delete(c);let b=((v=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:v.keys)||[],y=b.indexOf(a);y!==-1&&(b.splice(y,1),Xo.useStore.update({["RefreshKeys_"+r]:{keys:b}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Xo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let d=Xo.useStore.get("RefreshKey_"+s);d&&d(a)}}};var Ru=X(fr());var Kw={};If(Kw,{Anchor:()=>Nl,Button:()=>le,Cropper:()=>Dm,Effect:()=>cs,Input:()=>at,Label:()=>zs,LeftIcon:()=>Jf,LeftIndicator:()=>I_,Loader:()=>an,OmitSign:()=>O_,PageNotFound:()=>iI,PageViewController:()=>D_,Plate:()=>mm,RequiredShortSign:()=>N_,RequiredSign:()=>B_,RightIcon:()=>Ha,RightIndicator:()=>P_,RootViewController:()=>Il,Sheet:()=>Ft,Snackbar:()=>Kn,SwipeView:()=>A_,TabBar:()=>Q_,Table:()=>Qn,Tips:()=>zl,Tooltips:()=>na});var Ol=X(Bt()),yu=X(fr()),kn=X(ir());var fw={};If(fw,{Box:()=>T,Column:()=>ct,FAI:()=>we,Flex:()=>_t,FlexBr:()=>HN,Grid:()=>ua,Img:()=>zn,Logo:()=>Lt,P:()=>jN,Placeholder:()=>R_,Span:()=>tn});var gd=X(Bt());var DR=X(Bt());var T=r=>{let a=Lo(r),{htmlTag:o}=a,l=Je(a,["htmlTag"]),s=o||"div";return s?(0,DR.jsx)(s,_({},l)):null};var zt=X(Bt());var j8=X(Q5()),H8=X(oE()),U8=X(fE()),V8=X(bE()),W8=X(TE()),q8=X(NE()),Y8=X(jE()),$8=X($E()),G8=X(eD()),K8=X(lD()),X8=X(hD()),Q8=X(SD()),J8=X(ED()),Z8=X(ID()),eN=X(UD()),tN=X(CS()),rN=X(kS()),aN=X(RS()),nN=X(p6()),oN=X(S6()),iN=X(E6()),lN=X(I6()),sN=X(U6()),cN=X(X6()),uN=X(nA()),dN=X(dA()),fN=X(bA()),pN=X(TA()),hN=X(NA()),mN=X(jA()),vN=X($A()),gN=X(eL()),_N=X(lL()),bN=X(mL()),yN=X(wL()),SN=X(DL()),wN=X(PL()),CN=X(WL()),xN=X(JL()),kN=X(oB()),TN=X(fB()),RN=X(bB()),EN=X(TB()),DN=X(NB()),AN=X(jB()),LN=X(GB()),BN=X(r8()),NN=X(u8()),ON=X(g8()),IN=X(x8()),PN=X(B8()),MN=X(F8()),Wt=r=>{let a=r,{icon:o}=a,l=Je(a,["icon"]),s=Lo(l);return(0,zt.jsx)(j8.FontAwesomeIcon,E(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},we=Wt;we.User=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:AN.faUser})),we.Times=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:H8.faTimes})),we.AngleRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:U8.faAngleRight})),we.AngleLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:V8.faAngleLeft})),we.AngleUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:W8.faAngleUp})),we.AngleDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:q8.faAngleDown})),we.ChevronLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Y8.faChevronLeft})),we.ChevronRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:$8.faChevronRight})),we.ChevronUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:G8.faChevronUp})),we.ChevronDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:K8.faChevronDown})),we.CaretLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:X8.faCaretLeft})),we.CaretRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Q8.faCaretRight})),we.CaretUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:J8.faCaretUp})),we.CaretDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:Z8.faCaretDown})),we.ArrowLeft=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:eN.faArrowLeft})),we.ArrowRight=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:tN.faArrowRight})),we.ArrowUp=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:rN.faArrowUp})),we.ArrowDown=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:aN.faArrowDown})),we.Rotate=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:nN.faRotate})),we.Redo=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:oN.faRedo})),we.Check=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:iN.faCheck})),we.CheckCircle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:LN.faCheckCircle})),we.Question=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:lN.faQuestion})),we.QuestionCircle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:BN.faQuestionCircle})),we.Exclamation=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:sN.faExclamation})),we.ExclamationTriangle=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:cN.faExclamationTriangle})),we.Home=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:uN.faHome})),we.Share=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:dN.faShare})),we.Search=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:fN.faSearch})),we.YenSign=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:pN.faYenSign})),we.Heart=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:RN.faHeart})),we.Star=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:kN.faStar})),we.Edit=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:NN.faEdit})),we.Pen=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:hN.faPen})),we.Copy=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:ON.faCopy})),we.File=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:IN.faFile})),we.TrashAlt=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:PN.faTrashAlt})),we.Bars=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:mN.faBars})),we.Download=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:vN.faDownload})),we.Link=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:gN.faLink})),we.LinkSlash=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:_N.faLinkSlash})),we.ExternalLinkAlt=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:bN.faExternalLinkAlt})),we.Gear=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:yN.faGear})),we.Plus=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:SN.faPlus})),we.Minus=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:wN.faMinus})),we.EllipsisH=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:CN.faEllipsisH})),we.EllipsisV=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:xN.faEllipsisV})),we.PaperPlane=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:TN.faPaperPlane})),we.Image=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:MN.faImage})),we.Ban=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:EN.faBan})),we.Location=r=>(0,zt.jsx)(Wt,E(_({},r),{icon:DN.faLocationCrosshairs}));var zN=X(Bt());var o$={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},i$={Size_S:"_Size_S_10jdu_1",Size_R:"_Size_R_10jdu_6",Size_L:"_Size_L_10jdu_11",Size_2L:"_Size_2L_10jdu_16",Size_3L:"_Size_3L_10jdu_21",Icon:"_Icon_10jdu_27",Title:"_Title_10jdu_31",ComunIcon:"_ComunIcon_10jdu_38",ComunTitle:"_ComunTitle_10jdu_42",MingooIcon:"_MingooIcon_10jdu_46",P:"_P_10jdu_46",P_0:"_P_0_10jdu_50",P_1:"_P_1_10jdu_53",P_2:"_P_2_10jdu_56",P_3:"_P_3_10jdu_59",P_4:"_P_4_10jdu_62",P_5:"_P_5_10jdu_65",P_6:"_P_6_10jdu_68",P_7:"_P_7_10jdu_71",P_8:"_P_8_10jdu_74",P_9:"_P_9_10jdu_77",P_10:"_P_10_10jdu_81",P_11:"_P_11_10jdu_85",P_12:"_P_12_10jdu_89"},l$={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},s$={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},c$={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},u$={BodyEffect:"_BodyEffect_1cgn2_1",Wrapper:"_Wrapper_1cgn2_8",Wrap:"_Wrap_1cgn2_8",TapSensor:"_TapSensor_1cgn2_22",TapContent:"_TapContent_1cgn2_32",Hide:"_Hide_1cgn2_39",Open:"_Open_1cgn2_42",isMainSheet_true:"_isMainSheet_true_1cgn2_42",Content:"_Content_1cgn2_42",isMainSheet_false:"_isMainSheet_false_1cgn2_48",BB:"_BB_1cgn2_48",Tcate_normal:"_Tcate_normal_1cgn2_51",BaseBody:"_BaseBody_1cgn2_55",Tcate_drawer:"_Tcate_drawer_1cgn2_70",Tpos_left:"_Tpos_left_1cgn2_70",Tpos_right:"_Tpos_right_1cgn2_85",Tpos_bottom:"_Tpos_bottom_1cgn2_100",DragBar:"_DragBar_1cgn2_107",Tcate_custom:"_Tcate_custom_1cgn2_115",CustomSheet:"_CustomSheet_1cgn2_123",GPT:"_GPT_1cgn2_126",Col_1:"_Col_1_1cgn2_126",Row_1:"_Row_1_1cgn2_126",Row_4:"_Row_4_1cgn2_126",Col_4:"_Col_4_1cgn2_126",Row_2:"_Row_2_1cgn2_129",Row_5:"_Row_5_1cgn2_129",Col_2:"_Col_2_1cgn2_132",Col_5:"_Col_5_1cgn2_132",GPT_3:"_GPT_3_1cgn2_138",GPT_18:"_GPT_18_1cgn2_138",GPT_8:"_GPT_8_1cgn2_141",GPT_23:"_GPT_23_1cgn2_141",GPT_11:"_GPT_11_1cgn2_144",GPT_14:"_GPT_14_1cgn2_144",GPT_12:"_GPT_12_1cgn2_147",GPT_15:"_GPT_15_1cgn2_147",Col_3:"_Col_3_1cgn2_157"},d$={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},f$={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},p$={Wrap:"_Wrap_1rtvv_1",RowClickable_true:"_RowClickable_true_1rtvv_4",Row:"_Row_1rtvv_4",BodyRow:"_BodyRow_1rtvv_4",DataNotFound:"_DataNotFound_1rtvv_4",Cell:"_Cell_1rtvv_7",Table:"_Table_1rtvv_13",TableType_drag:"_TableType_drag_1rtvv_24",DraggerOrigin:"_DraggerOrigin_1rtvv_28",DragableButton:"_DragableButton_1rtvv_34",TableType_data:"_TableType_data_1rtvv_43",Console:"_Console_1rtvv_43",TableBase:"_TableBase_1rtvv_50",HeadRow:"_HeadRow_1rtvv_60",FilterRegion:"_FilterRegion_1rtvv_66",Filtering_true:"_Filtering_true_1rtvv_69"},h$={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},m$={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},v$={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},g$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var _$={Input:"_Input_1g1ty_1",List:"_List_1g1ty_1",AddButton:"_AddButton_1g1ty_1",FileName:"_FileName_1g1ty_5",Draggable:"_Draggable_1g1ty_18",AddIcon:"_AddIcon_1g1ty_21",IconAnimation:"_IconAnimation_1g1ty_1"},b$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},y$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},S$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},w$={Label:"_Label_qfhyi_1",Wrap:"_Wrap_qfhyi_18",Rail:"_Rail_qfhyi_18",Bar:"_Bar_qfhyi_18",BarColor:"_BarColor_qfhyi_21",Labels:"_Labels_qfhyi_24",ShowLegendsAlways_true:"_ShowLegendsAlways_true_qfhyi_27",Ball:"_Ball_qfhyi_38"},C$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var x$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},sw=r=>o$[r],il=r=>i$[r],k_=r=>l$[r],cw=r=>s$[r],pm=r=>c$[r],ca=r=>u$[r],Da=r=>d$[r],Ia=r=>f$[r],tr=r=>p$[r],is=r=>h$[r],gu=r=>m$[r],hd=r=>v$[r],Kf=r=>g$[r];var ls=r=>_$[r],md=r=>b$[r],ss=r=>y$[r],vd=r=>S$[r],Ps=r=>w$[r],Aa=r=>C$[r];var T_=r=>x$[r];var zn=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,d=Je(a,["src","alt","showExpand"]);return(0,zN.jsx)(T,E(_({htmlTag:"img",src:o,alt:l},d),{className:[sw("Img"),sw("ShowExpand_"+!!s),d.className].join(" "),onPointerDown:c=>{d.onPointerDown&&d.onPointerDown(c),s&&c.stopPropagation()},onClick:c=>{d.onClick&&d.onClick(c),s&&(c.stopPropagation(),Ft.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},d.freeCSS)}))};var sr=X(Bt()),uw=X(ir());var FN={ComunIcon:()=>(0,sr.jsx)("svg",{viewBox:"0,0,1200,1200",className:il("ComunIcon"),children:(0,sr.jsxs)("g",{children:[(0,sr.jsx)("path",{d:`
|
|
927
927
|
M
|
|
928
928
|
100,600
|
|
929
929
|
A 500,500 0 0,0 600,1100
|
|
@@ -973,11 +973,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
973
973
|
L600,600
|
|
974
974
|
L600,300
|
|
975
975
|
Z
|
|
976
|
-
`,className:[il("P"),il("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,sr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:il("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},_u={Icon:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(FN.MingooIcon,{})})),Title:r=>(0,sr.jsx)(Lt.Title,E(_({className:il("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({gap:"1/2",flexCenter:!0},s),{children:[(0,sr.jsx)(_u.Icon,{size:o,color:l}),(0,sr.jsx)(_u.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({flexType:"col",gap:"1/2"},s),{children:[(0,sr.jsx)(_u.Icon,{margin:"auto",size:o,color:l}),(0,sr.jsx)(_u.Title,{size:o,color:l})]}))}},bu={Icon:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(FN.ComunIcon,{})})),Title:r=>(0,sr.jsx)(Lt.Title,E(_({className:il("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({gap:"1/2",flexCenter:!0},s),{children:[(0,sr.jsx)(bu.Icon,{size:o,color:l}),(0,sr.jsx)(bu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({flexType:"col",gap:"1/2"},s),{children:[(0,sr.jsx)(bu.Icon,{margin:"auto",size:o,color:l}),(0,sr.jsx)(bu.Title,{size:o,color:l})]}))}},Sc="https://cdn.amotify.com/",Lt={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,c=Je(a,["size","color","className","children"]);return(0,sr.jsx)(_t,E(_({className:[s,il("Icon"),il("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:uw.default.is.function(d)?(0,sr.jsx)(d,{}):d}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,c=Je(a,["size","color","className","children"]);return(0,sr.jsx)(_t,E(_({className:[s,il("Title"),il("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:uw.default.is.function(d)?(0,sr.jsx)(d,{}):d}))},Brands:{MingooIcon:_u.Icon,MingooTitle:_u.Title,MingooLogoH:_u.LogoH,MingooLogoV:_u.LogoV,ComunIcon:bu.Icon,ComunTitle:bu.Title,ComunLogoH:bu.LogoH,ComunLogoV:bu.LogoV,Google:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:Sc+"@env/@logos/mingoo/icon.png",mingooIconClear:Sc+"@env/@logos/mingoo/iconClear.png",comunIcon:Sc+"@env/@logos/comun/icon.png",comunIconClear:Sc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>Sc+"@env/@icon/"+(r||"image")+".png"}};var dw=X(Bt());var R_=r=>{let a=r,{color:o="cloud"}=a,l=Je(a,["color"]);return(0,dw.jsx)(T,E(_({className:[k_("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,dw.jsx)(T,{className:[k_("Body"),k_("Color_"+o)].join(" ")})}))};var tn=r=>(0,gd.jsx)(T,E(_({},r),{htmlTag:"span"})),jN=r=>(0,gd.jsx)(T,E(_({},r),{htmlTag:"p"})),ua=r=>(0,gd.jsx)(T,_({display:"grid"},r)),_t=r=>(0,gd.jsx)(T,E(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),HN=r=>(0,gd.jsx)(T,_({width:1,flexSizing:"none"},r)),ct=r=>(0,gd.jsx)(_t,_({flexType:"col",gap:1},r));var Ms=X(Bt()),E_=X(ir());var UN={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=E(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=E(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=E(_({},s),{backgroundColor:"trans"}):a=="border"?s=E(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=E(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=E(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=E(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=E(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=E(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=E(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="3.blur"),a!="link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},VN=r=>{let a=hm(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,E_.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:d={},isActiveClassName:c="",tone:h="border",size:p="regular",color:v="theme",className:b=""}=a;a=_(_(_({},UN.Size(r.seed,h,p,v)),UN.Tone(r.seed,h,p,v)),a),a.className=[b,hd("Wrap"),hd("isNeutral_"+!s),hd("isLocked_"+l),hd("Tone_"+h),hd("Color_"+v),hd("Tone_"+h+"_Color_"+v)].join(" "),s&&(a=_(_({className:[a.className,c].join(" ")},a),d))}if(o=="button"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:v}=l,b=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),b=E(_({},b),{"data-form-submit-button":p.formName,"data-sdfike":E_.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ms.jsx)(T,E(_({htmlTag:"button"},b),{onClick:y=>Oa(void 0,null,function*(){if(s||(v&&v(y),!p))return;let x=yield at.CollectForm(p.formName);!p.acceptInvalidForm&&!x.valid||p.callback(x.data,x.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,onClick:p}=l,v=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Ms.jsx)(T,E(_({htmlTag:"label"},v),{onClick:b=>{s||p&&p(b)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,onClick:p,href:v="",newTab:b,sync:y,shiftQueryParams:x}=l,w=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Ms.jsx)(T,E(_({htmlTag:"button"},w),{onClick:R=>{if(s)return;if(p)return p(R);let N=R.ctrlKey||R.metaKey,M=b||!!N,G=v;x&&(G+=location.search),y?Fn.pushSync(G):Fn.push(G,!!M)}}))}return null},wc=function(r,a){let o=s=>(0,Ms.jsx)(VN,_({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Ms.jsx)(o,_({size:"xsmall",tone:a},s)),l.S=s=>(0,Ms.jsx)(o,_({size:"small",tone:a},s)),l.R=s=>(0,Ms.jsx)(o,_({size:"regular",tone:a},s)),l.L=s=>(0,Ms.jsx)(o,_({size:"large",tone:a},s)),l},pw=function(r){let a=o=>(0,Ms.jsx)(VN,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=wc(r,"plain"),a.Link=wc(r,"link"),a.Normal=wc(r,"normal"),a.Border=wc(r,"border"),a.Prime=wc(r,"prime"),a.Sub=wc(r,"sub"),a.Clear=wc(r,"clear"),a.FillToBorder=wc(r,"fillToBorder"),a.BorderToFill=wc(r,"borderToFill"),a},le=pw("button"),zs=pw("label"),Nl=pw("anchor");var Il={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:d,className:c}=a,h=Je(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.reset(),setTimeout(()=>{Il.fn.updateCSSProperty.reset()},100);let v="ResizeCB",b="RemovePageEventCB";return(0,kn.default)(window).addEvent({eventType:"resize",eventID:v,callback:()=>{st.get().screen.isPhonepoint()||kn.default.interval.once(()=>{Il.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,kn.default)(window).removeEvent(b),(0,kn.default)(window).removeEvent(v)}},[]);let p=d;return(0,Ol.jsxs)(ct,E(_({className:[c,Ia("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Ol.jsxs)(_t,{className:Ia("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Ol.jsx)(T,{className:Ia("Content"),position:"relative",flexSizing:0,width:0,UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Je(a,["className","children"]),[d]=(0,yu.useState)((0,kn.UUID)());return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.topNav()},[]),(0,Ol.jsx)(_t,E(_({"data-id":d,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Ia("TopNav")].join(" "),children:l}),d)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Je(a,["className"]);return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.sideNav()},[]),(0,Ol.jsx)(T,E(_({className:[o,Ia("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Je(a,["className","baseStyles"]),[d]=(0,yu.useState)((0,kn.UUID)());return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.footer()},[]),(0,Ol.jsx)(_t,E(_({"data-id":d,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Ia("FooterNav"),o].join(" "),children:(0,Ol.jsx)(_t,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,d=Je(a,["isActive","uri","uriGroup"]),c=kn.default.flatArray(s),h=location.pathname;{let p=!1;if(kn.default.is.exist(l)&&kn.default.is.string(l)){let v=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(v).pathname}if(!p&&c.length)for(let v of c)kn.default.is.nullish(v)||h.match(new RegExp(v))&&(p=!0);o=o!=null?o:p}return(0,Ol.jsx)(le.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{kn.default.is.exist(l)&&kn.default.is.string(l)&&Fn.push(l,p.ctrlKey||p.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},d))},Bar:r=>(0,Ol.jsx)(T,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Ol.jsx)(T,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_TopNavigation"),o=bt("#__RVC_FooterNavigation"),l=bt("#__RVC_SideNavigation"),s=a.position().height||0,d=s,c=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(d=0);let p=window.innerHeight,v=window.innerWidth,b=p-s-c,y=v-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",d+"px").setStyleProperty("--footerNavHeight",c+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",b+"px").setStyleProperty("--contentHeight",b+"px").setStyleProperty("--contentWidth",y+"px")}}}};var WN=X(Bt());var mm=r=>{let a=r,{size:o="R"}=a,l=Je(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,WN.jsx)(T,E(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var vm=X(Bt()),KN=X(fr());var hw=X(Bt()),mw=X(ir());var Xf=X(fr());var qN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,mw.UUID)()}=a,d=Je(a,["animationDelay","animationTime","componentID"]),[c]=(0,Xf.useState)(s);return(0,Xf.useEffect)(()=>{setTimeout(()=>{let h=bt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,hw.jsx)(T,E(_({},d),{freeCSS:E(_({},d.freeCSS),{opacity:0}),componentID:c}))},YN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,mw.UUID)()}=a,d=Je(a,["animationDelay","animationTime","componentID"]),[c]=(0,Xf.useState)(s);return(0,Xf.useEffect)(()=>{setTimeout(()=>{let h=bt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,hw.jsx)(T,E(_({paddingTop:2},d),{freeCSS:E(_({},d.freeCSS),{opacity:0}),componentID:c}))};var ll=X(ir());var _d={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,ll.Time)().ms,o=r.target,l=(0,ll.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let P=l.parent('[data-effect-ripple="1"]');if(!P[0])return;l=P,s=P.getAttribute("data-effect-tone")}if(!s)return;let d="RippleWrap-"+(0,ll.UUID)(),{left:c,top:h,height:p,width:v}=l.position(),{pageXOffset:b,pageYOffset:y}=ll.default.getScreenSize(),{x,y:w}=ll.default.getCursor(r),R=Math.min(v*1.5,300),N=Math.max(x-(c+b),0),M=Math.max(w-(h+y),0),G={RippleElement:l,startedAt:a,size:R};(0,ll.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{_d.End(G)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{_d.End(G)},20)}}),(0,ll.default)(l).addClass([is("RippleElement"),is("Color_"+s)]).append(`<div class="${is("RippleWrap")}" id="${d}">
|
|
976
|
+
`,className:[il("P"),il("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,sr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:il("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},_u={Icon:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(FN.MingooIcon,{})})),Title:r=>(0,sr.jsx)(Lt.Title,E(_({className:il("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({gap:"1/2",flexCenter:!0},s),{children:[(0,sr.jsx)(_u.Icon,{size:o,color:l}),(0,sr.jsx)(_u.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({flexType:"col",gap:"1/2"},s),{children:[(0,sr.jsx)(_u.Icon,{margin:"auto",size:o,color:l}),(0,sr.jsx)(_u.Title,{size:o,color:l})]}))}},bu={Icon:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(FN.ComunIcon,{})})),Title:r=>(0,sr.jsx)(Lt.Title,E(_({className:il("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({gap:"1/2",flexCenter:!0},s),{children:[(0,sr.jsx)(bu.Icon,{size:o,color:l}),(0,sr.jsx)(bu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Je(a,["size","color"]);return(0,sr.jsxs)(_t,E(_({flexType:"col",gap:"1/2"},s),{children:[(0,sr.jsx)(bu.Icon,{margin:"auto",size:o,color:l}),(0,sr.jsx)(bu.Title,{size:o,color:l})]}))}},Sc="https://cdn.amotify.com/",Lt={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,c=Je(a,["size","color","className","children"]);return(0,sr.jsx)(_t,E(_({className:[s,il("Icon"),il("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:uw.default.is.function(d)?(0,sr.jsx)(d,{}):d}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,c=Je(a,["size","color","className","children"]);return(0,sr.jsx)(_t,E(_({className:[s,il("Title"),il("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:uw.default.is.function(d)?(0,sr.jsx)(d,{}):d}))},Brands:{MingooIcon:_u.Icon,MingooTitle:_u.Title,MingooLogoH:_u.LogoH,MingooLogoV:_u.LogoV,ComunIcon:bu.Icon,ComunTitle:bu.Title,ComunLogoH:bu.LogoH,ComunLogoV:bu.LogoV,Google:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,sr.jsx)(Lt.Icon,E(_({},r),{children:(0,sr.jsx)(zn,{src:Sc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:Sc+"@env/@logos/mingoo/icon.png",mingooIconClear:Sc+"@env/@logos/mingoo/iconClear.png",comunIcon:Sc+"@env/@logos/comun/icon.png",comunIconClear:Sc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>Sc+"@env/@icon/"+(r||"image")+".png"}};var dw=X(Bt());var R_=r=>{let a=r,{color:o="cloud"}=a,l=Je(a,["color"]);return(0,dw.jsx)(T,E(_({className:[k_("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,dw.jsx)(T,{className:[k_("Body"),k_("Color_"+o)].join(" ")})}))};var tn=r=>(0,gd.jsx)(T,E(_({},r),{htmlTag:"span"})),jN=r=>(0,gd.jsx)(T,E(_({},r),{htmlTag:"p"})),ua=r=>(0,gd.jsx)(T,_({display:"grid"},r)),_t=r=>(0,gd.jsx)(T,E(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),HN=r=>(0,gd.jsx)(T,_({width:1,flexSizing:"none"},r)),ct=r=>(0,gd.jsx)(_t,_({flexType:"col",gap:1},r));var Ms=X(Bt()),E_=X(ir());var UN={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=E(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=E(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=E(_({},s),{backgroundColor:"trans"}):a=="border"?s=E(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=E(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=E(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=E(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=E(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=E(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=E(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},VN=r=>{let a=hm(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,E_.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:d={},isActiveClassName:c="",tone:h="border",size:p="regular",color:v="theme",className:b=""}=a;a=_(_(_({},UN.Size(r.seed,h,p,v)),UN.Tone(r.seed,h,p,v)),a),a.className=[b,hd("Wrap"),hd("isNeutral_"+!s),hd("isLocked_"+l),hd("Tone_"+h),hd("Color_"+v),hd("Tone_"+h+"_Color_"+v)].join(" "),s&&(a=_(_({className:[a.className,c].join(" ")},a),d))}if(o=="button"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:v}=l,b=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),b=E(_({},b),{"data-form-submit-button":p.formName,"data-sdfike":E_.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ms.jsx)(T,E(_({htmlTag:"button"},b),{onClick:y=>Oa(void 0,null,function*(){if(s||(v&&v(y),!p))return;let x=yield at.CollectForm(p.formName);!p.acceptInvalidForm&&!x.valid||p.callback(x.data,x.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,onClick:p}=l,v=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Ms.jsx)(T,E(_({htmlTag:"label"},v),{onClick:b=>{s||p&&p(b)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,onClick:p,href:v="",newTab:b,sync:y,shiftQueryParams:x}=l,w=Je(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Ms.jsx)(T,E(_({htmlTag:"button"},w),{onClick:R=>{if(s)return;if(p)return p(R);let N=R.ctrlKey||R.metaKey,M=b||!!N,G=v;x&&(G+=location.search),y?Fn.pushSync(G):Fn.push(G,!!M)}}))}return null},wc=function(r,a){let o=s=>(0,Ms.jsx)(VN,_({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Ms.jsx)(o,_({size:"xsmall",tone:a},s)),l.S=s=>(0,Ms.jsx)(o,_({size:"small",tone:a},s)),l.R=s=>(0,Ms.jsx)(o,_({size:"regular",tone:a},s)),l.L=s=>(0,Ms.jsx)(o,_({size:"large",tone:a},s)),l},pw=function(r){let a=o=>(0,Ms.jsx)(VN,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=wc(r,"plain"),a.Link=wc(r,"link"),a.Normal=wc(r,"normal"),a.Border=wc(r,"border"),a.Prime=wc(r,"prime"),a.Sub=wc(r,"sub"),a.Clear=wc(r,"clear"),a.FillToBorder=wc(r,"fillToBorder"),a.BorderToFill=wc(r,"borderToFill"),a},le=pw("button"),zs=pw("label"),Nl=pw("anchor");var Il={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:d,className:c}=a,h=Je(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.reset(),setTimeout(()=>{Il.fn.updateCSSProperty.reset()},100);let v="ResizeCB",b="RemovePageEventCB";return(0,kn.default)(window).addEvent({eventType:"resize",eventID:v,callback:()=>{st.get().screen.isPhonepoint()||kn.default.interval.once(()=>{Il.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,kn.default)(window).removeEvent(b),(0,kn.default)(window).removeEvent(v)}},[]);let p=d;return(0,Ol.jsxs)(ct,E(_({className:[c,Ia("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Ol.jsxs)(_t,{className:Ia("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Ol.jsx)(T,{className:Ia("Content"),position:"relative",flexSizing:0,width:0,UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Je(a,["className","children"]),[d]=(0,yu.useState)((0,kn.UUID)());return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.topNav()},[]),(0,Ol.jsx)(_t,E(_({"data-id":d,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Ia("TopNav")].join(" "),children:l}),d)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Je(a,["className"]);return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.sideNav()},[]),(0,Ol.jsx)(T,E(_({className:[o,Ia("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Je(a,["className","baseStyles"]),[d]=(0,yu.useState)((0,kn.UUID)());return(0,yu.useEffect)(()=>{Il.fn.updateCSSProperty.footer()},[]),(0,Ol.jsx)(_t,E(_({"data-id":d,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Ia("FooterNav"),o].join(" "),children:(0,Ol.jsx)(_t,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,d=Je(a,["isActive","uri","uriGroup"]),c=kn.default.flatArray(s),h=location.pathname;{let p=!1;if(kn.default.is.exist(l)&&kn.default.is.string(l)){let v=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(v).pathname}if(!p&&c.length)for(let v of c)kn.default.is.nullish(v)||h.match(new RegExp(v))&&(p=!0);o=o!=null?o:p}return(0,Ol.jsx)(le.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{kn.default.is.exist(l)&&kn.default.is.string(l)&&Fn.push(l,p.ctrlKey||p.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},d))},Bar:r=>(0,Ol.jsx)(T,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Ol.jsx)(T,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,kn.default)(document.body),a=bt("#__RVC_TopNavigation"),o=bt("#__RVC_FooterNavigation"),l=bt("#__RVC_SideNavigation"),s=a.position().height||0,d=s,c=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(d=0);let p=window.innerHeight,v=window.innerWidth,b=p-s-c,y=v-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",d+"px").setStyleProperty("--footerNavHeight",c+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",b+"px").setStyleProperty("--contentHeight",b+"px").setStyleProperty("--contentWidth",y+"px")}}}};var WN=X(Bt());var mm=r=>{let a=r,{size:o="R"}=a,l=Je(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,WN.jsx)(T,E(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var vm=X(Bt()),KN=X(fr());var hw=X(Bt()),mw=X(ir());var Xf=X(fr());var qN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,mw.UUID)()}=a,d=Je(a,["animationDelay","animationTime","componentID"]),[c]=(0,Xf.useState)(s);return(0,Xf.useEffect)(()=>{setTimeout(()=>{let h=bt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,hw.jsx)(T,E(_({},d),{freeCSS:E(_({},d.freeCSS),{opacity:0}),componentID:c}))},YN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,mw.UUID)()}=a,d=Je(a,["animationDelay","animationTime","componentID"]),[c]=(0,Xf.useState)(s);return(0,Xf.useEffect)(()=>{setTimeout(()=>{let h=bt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,hw.jsx)(T,E(_({paddingTop:2},d),{freeCSS:E(_({},d.freeCSS),{opacity:0}),componentID:c}))};var ll=X(ir());var _d={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,ll.Time)().ms,o=r.target,l=(0,ll.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let P=l.parent('[data-effect-ripple="1"]');if(!P[0])return;l=P,s=P.getAttribute("data-effect-tone")}if(!s)return;let d="RippleWrap-"+(0,ll.UUID)(),{left:c,top:h,height:p,width:v}=l.position(),{pageXOffset:b,pageYOffset:y}=ll.default.getScreenSize(),{x,y:w}=ll.default.getCursor(r),R=Math.min(v*1.5,300),N=Math.max(x-(c+b),0),M=Math.max(w-(h+y),0),G={RippleElement:l,startedAt:a,size:R};(0,ll.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{_d.End(G)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{_d.End(G)},20)}}),(0,ll.default)(l).addClass([is("RippleElement"),is("Color_"+s)]).append(`<div class="${is("RippleWrap")}" id="${d}">
|
|
977
977
|
<div class="${is("Wave")}" />
|
|
978
978
|
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:P=>{_d.End(G)}}).find("#"+d).find("."+is("Wave")).css({left:N,top:M}).await(10).css({height:R,width:R,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,ll.Time)().ms-o<=400?".75s":".55s",d=l*2.5;(0,ll.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+is("Wave")).css({height:d,width:d,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},$N={Wrapper:()=>(typeof window=="undefined"||(0,ll.default)(st.get().appRoot).addEvent({eventType:"touchstart",target:_d.RippleElementTag,callback:r=>{_d.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:_d.RippleElementTag,callback:r=>{st.get().isTouchDevice||_d.Start(r)}}),null)};var vw=X(ir());var GN={Wrapper:()=>(typeof window=="undefined"||(0,vw.default)(st.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,vw.default)(r.target).removeClass(is("PuddingEffect")).await(1).addClass(is("PuddingEffect")).await(510).removeClass(is("PuddingEffect"))}}),null)};var cs={Ripple:$N,Pudding:GN,FadeIn:qN,FadeUp:YN};var D_=r=>{let{viewIndex:a=0,views:o,wrapper:l=c=>(0,vm.jsx)(cs.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,d]=(0,KN.useState)(a);return s!=a&&d(a),(0,vm.jsx)(vm.Fragment,{children:l(o[a])})};var _m=X(Bt()),Pl=X(ir()),Su=X(fr());var k$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:d=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=U=>U,slides:v=[],slideIndex:b}=a,y=Je(a,["options","wrapper","slides","slideIndex"]),[x]=(0,Su.useState)((0,Pl.UUID)()),[w,R]=(0,Su.useState)({eventType:"init",index:r.slideIndex}),N=(0,Su.useRef)(!1);(0,Su.useEffect)(()=>{R({eventType:"usr",index:r.slideIndex}),N.current||(N.current=!0)},[r.slideIndex]),(0,Su.useEffect)(()=>{let U=w.index+(d?1:0),H=[-1,v.length].includes(w.index);H||o&&setTimeout(()=>{o(w.index)},300);let J=bt("#Swiper-"+x);if(w.eventType=="adjustLoop")J.await(250).css({transition:"0s",transform:Qf(U)}).children().removeClass(Ia("Display")).parent().children(U).addClass([Ia("Display"),Ia("LoopAdjusting")]).await(100).removeClass(Ia("LoopAdjusting"));else if(w.eventType=="sys")J.await(250).css({transform:Qf(U)}).children().removeClass(Ia("Display")).parent().children(U).addClass(Ia("Display"));else if(J.children().removeClass(Ia("Display")).parent().children(U).addClass(Ia("Display")).parent().css({transition:"0.3s",transform:Qf(U)}).await(250).css({transition:"0s"}),H){let I=w.index==-1?v.length-1:0;R({eventType:"adjustLoop",index:I})}s&&!H&&Pl.default.interval.once(()=>{let I=w.index+1;!d&&I>v.length-1&&(I=0),R({eventType:"usr",index:I})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+x)},[w]);let M=v.map((U,H)=>(0,_m.jsx)(T,{flexSizing:"none",width:1,height:0,className:Ia("Child"),children:p(U)},H));d&&(M.push(E(_({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(E(_({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let G={x:0,y:0,process:!1,effectStartAt:0,id:x,loop:d,index:w.index,minIndex:d?-1:0,maxIndex:v.length+(d?1:-1),width:0,set_event:R},P=w.index+ +!!d;return(0,_m.jsx)(T,E(_({overflow:"hidden",position:"relative"},y),{className:[y.className,Ia("SwipeView")].join(" "),freeCSS:_({zIndex:1},y.freeCSS),"data-swipe-id":x,onPointerDown:U=>{if(console.log(U),U.pointerType=="touch"){if(h)return}else if(U.pointerType=="mouse"&&(c||U.buttons!=1))return;gm.Start(U,G)},children:(0,_m.jsx)(_t,{flexWrap:!1,gap:1,transition:"long",className:[Ia("Rail"),Ia("ShowOther_"+l)].join(" "),id:"Swiper-"+x,freeCSS:_({},N.current?{}:{transform:Qf(P)}),children:M})}))},Qf=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,gm={Start:(r,a)=>{let{x:o,y:l}=Pl.default.getCursor(r),s=r.currentTarget,d=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(d.tagName))return;a=E(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:bt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,Pl.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{gm.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{gm.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Pl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),d=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(d+s<15))if(d>s/2)(0,Pl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);bt("#Swiper-"+a.id).children(c-1).addClass(Ia("Display")),(0,Pl.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{gm.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{gm.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Pl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let d=s-a.maxIndex;s=a.maxIndex+d/2}bt("#Swiper-"+a.id).css({transition:"0s",transform:Qf(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Pl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,d=a.index+(a.loop?1:0),c=0;s<400?c=d-(+(o>0)*2-1):c=Math.round(d-o/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,d===c?(a.effectStartAt=l,bt("#Swiper-"+a.id).css({transition:".2s",transform:Qf(c)}).await(310).css({transition:"0s"}).children().removeClass(Ia("Display")).parent().children(d).addClass(Ia("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,Pl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},A_=r=>(0,_m.jsx)(k$,E(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var X_=X(Bt()),n7=X(fr());var wu=X(Bt());var XN=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=E(_({},a),{border:!0}):r=="cloud"?a=E(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=E(_({},a),{borderRadius:0,borderBottom:!0})),a},L_={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},B_=r=>(0,wu.jsx)(tn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),N_=r=>(0,wu.jsx)(tn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),O_=r=>(0,wu.jsx)(tn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),I_=r=>{let a=r,{tone:o}=a,l=Je(a,["tone"]);return(0,wu.jsx)(T,_(E(_({},XN(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},P_=r=>{let a=r,{tone:o}=a,l=Je(a,["tone"]);return(0,wu.jsx)(T,_(E(_({},XN(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ha=r=>{let a=r,{tone:o="border"}=a,l=Je(a,["tone"]);return(0,wu.jsx)(T,E(_(E(_({},L_),{right:"3/4"}),l),{freeCSS:_(_({},L_.freeCSS),l.freeCSS)}))},Jf=r=>{let a=r,{tone:o="border"}=a,l=Je(a,["tone"]);return(0,wu.jsx)(T,E(_(E(_({},L_),{left:"3/4"}),l),{freeCSS:_(_({},L_.freeCSS),l.freeCSS)}))};var QN=X(Bt());var JN=r=>(0,QN.jsx)(T,_({htmlTag:"input"},r));var Sw=X(Bt()),ep=X(ir()),Sm=X(fr());var $n=X(Bt()),yd=X(fr()),_a=X(ir());var _w={};If(_w,{Accordion:()=>Zf,LinkifyText:()=>M_,List:()=>Cu,ListItem:()=>ds,Row:()=>Pe,Text:()=>Ye});var gw=X(Bt()),us=X(ir()),Cc=X(fr());var R$=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:d=!1}=a,c=Je(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,Cc.useState)((0,us.UUID)()),[p]=(0,Cc.useState)((0,us.UUID)()),[v,b]=(0,Cc.useState)(s);v!=s&&d&&b(s);let y=(0,Cc.useRef)(!1);return(0,Cc.useEffect)(()=>{let x=bt('[data-accordion-content-id="'+p+'"]')[0];if(x){let w=x.offsetHeight,R=0;l=="fast"?(R=w/1e3,R=Math.max(R,.2)):l=="slow"&&(R=w/300),bt("#"+h).css({transition:R+"s"})}},[]),(0,Cc.useEffect)(()=>{let x=bt("#"+h),w=bt('[data-accordion-content-id="'+p+'"]')[0];if(y.current){if(w){let R=w.offsetHeight;us.default.is.exist(R)&&(v?x.css({maxHeight:R+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):x.css({maxHeight:R+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(y.current=!0,w){let R=w.offsetHeight;us.default.is.exist(R)&&(v?x.css({maxHeight:R+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):x.css({maxHeight:"0px",overflow:"hidden"}))}},[v]),o&&us.useStore.set({["Accordion-"+o]:{open:()=>{b(!0)},close:()=>{b(!1)},toggle:()=>{b(!v)}}}),(0,gw.jsx)(T,{className:[cw("Wrap"),cw("Open_"+v)].join(" "),id:h,children:(0,gw.jsx)(T,_({"data-accordion-content-id":p},c))})},Zf=R$;Zf.fn={open:r=>{let a=us.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=us.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=us.useStore.get("Accordion-"+r);!a||a.toggle()}};var bm=X(Bt());var M_=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...c)=>{let h=c[0];return s.push(h),"[$_url]"});let d=a.split("[$_url]");for(let c=0;c<=d.length-1;c++){let h=d[c],p=s[c];l.push(h),c<d.length-1&&l.push((0,bm.jsx)(Nl.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else o&&(l=[o]);return(0,bm.jsx)(bm.Fragment,{children:l})};var Ml=X(Bt());var Cu=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Je(a,["items","ListChildCallback"]);l=l||ZN;let d=o.map((c,h)=>(0,Ml.jsx)(l,{children:c,index:h},h));return(0,Ml.jsx)(T,E(_({htmlTag:"ul",children:d},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},ZN=r=>(0,Ml.jsx)(T,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),ds=ZN;ds.Center=r=>(0,Ml.jsx)(T,{htmlTag:"li",children:(0,Ml.jsx)(Pe.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ds.Left=r=>(0,Ml.jsx)(T,{htmlTag:"li",children:(0,Ml.jsx)(Pe.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ds.Right=r=>(0,Ml.jsx)(T,{htmlTag:"li",children:(0,Ml.jsx)(Pe.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ds.Separate=r=>(0,Ml.jsx)(T,{htmlTag:"li",children:(0,Ml.jsx)(Pe.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var ym=X(Bt());var Pe={Center:r=>(0,ym.jsx)(_t,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,ym.jsx)(_t,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,ym.jsx)(_t,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,ym.jsx)(_t,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var xc=X(Bt());var bd=r=>(0,xc.jsx)(T,_({},r)),Ye=bd;Ye.Title=r=>(0,xc.jsx)(bd,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),Ye.SubTitle=r=>(0,xc.jsx)(bd,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),Ye.ThirdTitle=r=>(0,xc.jsx)(bd,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),Ye.Paragraph=r=>(0,xc.jsx)(bd,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),Ye.Description=r=>(0,xc.jsx)(bd,E(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),Ye.Supplement=r=>(0,xc.jsx)(bd,_({fontSize:"1.mini"},r)),Ye.NowrapSpan=r=>(0,xc.jsx)(tn,E(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var eO=X(Bt()),bw=X(ir());var Er=X(Bt()),jt=X(ir()),Ga=X(fr());var Fs={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>jt.useStore.get("sessionStates-"+st.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=E(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,jt.UUID)(),isOpen:!0,created_at:(0,jt.Time)()});if(o.type=="custom"){let l=o;l.parent=l.parent||((a=l==null?void 0:l.event)==null?void 0:a.currentTarget),o=l}return o}},z_={Wrapper:()=>{let[r,a]=(0,Ga.useState)(!1),[o,l]=(0,Ga.useState)([]),s={val_sheets:o,set_sheets:l};jt.useStore.set({["sessionStates-"+st.get().sessionUID]:s}),(0,Ga.useEffect)(()=>{jt.useStore.set({["Sheet-"+st.get().sessionUID]:{add:(c,h)=>{let p=jt.useStore.get("Sheet-"+st.get().sessionUID);if(!p)return;let v=Fs.getNewSheetStates(c);if(h!="inherit"&&(v.isOpen=h!=null?h:!0),!!p.find(v.sheetID)){l(b=>{let y=[...b],x=y.findIndex(w=>w.sheetID==v.sheetID);return x==-1||(y[x]=v),y});return}l(b=>[v,...b])},find:c=>{let h=Fs.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(v=>v.sheetID==c)}}}),(0,jt.default)(st.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(c){let{key:h,metaKey:p}=c;if(h=="Escape"||h==","&&p){let v=Fs.getSessionStates();if(!v)return;let{val_sheets:b}=v,y=b.filter(w=>w.isOpen);if(!y.length)return;let x=y.reduce((w,R)=>w.created_at.value>R.created_at.value?w:R);Ft.close(x.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(c){let h=Fs.getSessionStates();if(!h)return;let{val_sheets:p}=h,v=c.target;if(!v||v!=null&&v.closest("."+ca("CustomSheet")))return;let b=p.filter(y=>y.type=="custom");b.length&&b.forEach(y=>{let{parent:x}=y;if(!y.closeAtAroundClick)return;let w=bt(x)[0];x!==v&&w!==v&&((0,jt.default)(w).find(v).length||Ft.close(y.sheetID))})}})},[]),(0,Ga.useEffect)(()=>{let c=o.filter(h=>h.backgroundEffect&&h.isOpen&&!h.overwrap&&h.type!="custom");a(!!c.length)},[o]),(0,Ga.useEffect)(()=>{let c=bt(".AMOTIFY_be_root");if(r){let h=(0,jt.default)("html").position(),p=32/h.height,v=32/h.width;c.addClass(ca("BodyEffect")).css({transform:`scale(${1-v},${1-p})`})}else c.css({transform:"scale(1)"}).removeClass(ca("BodyEffect"))},[r]);let d=o.map(c=>(0,Er.jsx)(z_.Core,E(_({},s),{val_sheet:c,patch_sheet:h=>{l(p=>{let v=[...p],b=v.findIndex(y=>y.sheetID==c.sheetID);return b==-1||(v[b]=_(_({},v[b]),h)),v})},delete_sheet:()=>{l(h=>{let p=[...h],v=p.findIndex(b=>b.sheetID==c.sheetID);return v==-1||p.splice(v,1),p})}}),c.sheetID));return(0,Er.jsx)(T,{className:["AMOTIFY_be",ca("Wrapper")].join(" "),children:d})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,Ga.useState)(Fs.currentIndex+2),[d]=(0,Ga.useState)((0,jt.UUID)()),c=a.type!="custom"&&!a.overwrap;(0,Ga.useEffect)(()=>{Fs.currentIndex++,jt.default.scope(()=>{if(!a.closeAtParentBlur)return;let b=(0,jt.default)(a.parent);b[0]&&b.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{b.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),jt.useStore.set({[a.sheetID]:{resize:b=>{if(a.type=="drawer.bottom"){let y=jt.useStore.get(d);y&&y.resize&&y.resize(b)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:b})},close:b=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,Ga.useEffect)(()=>{jt.default.scope(()=>{let b=bt("#"+d);if(a.isOpen){a.hold_state&&s(Fs.currentIndex+1),b.await(10).removeClass(ca("Hide")).await(10).addClass(ca("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}b.await(10).removeClass(ca("Open")).await(251).addClass(ca("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),c&&(0,jt.default)(st.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),v=z_.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,Er.jsx)(T,{className:[ca("Wrap"),ca("Tcate_"+h),ca("Tpos_"+p),ca("isMainSheet_"+c)].join(" "),width:1,height:0,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:d,children:(0,Er.jsxs)(ct,{className:ca("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!c&&(0,Er.jsx)(z_.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,Er.jsx)(v,_({componentID:d},a))]})},d)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:d,className:c="",type:h,size:p="R",freeCSS:v,openAfter:b,closeAfter:y,closeAtAroundClick:x,closeAtEscapeKeyDown:w,closeAtPageTransit:R,closeAtParentBlur:N,closeAtSwipeDown:M,hold_state:G,overwrap:P,isOpen:U,backgroundEffect:H}=a,J=Je(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[I,re]=h.split("."),ge={},ne=[];return re.match(/top/)?(ne.push("top"),ge.marginBottom="auto"):re.match(/middle/)?(ne.push("center"),ge.marginTop="auto",ge.marginBottom="auto"):re.match(/bottom/)&&(ne.push("bottom"),ge.marginTop="auto"),re.match(/left/i)?(ne.push("left"),ge.marginRight="auto"):re.match(/center/i)?(ne.push("center"),ge.marginLeft="auto",ge.marginRight="auto"):re.match(/right/i)&&(ne.push("right"),ge.marginLeft="auto"),(0,Er.jsx)(T,E(_(_({className:[ca("BB"),c].join(" "),padding:1,transition:"long",opacity:"trans"},J),ge),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[p],maxWidth:"96vw",transformOrigin:ne.join(" ")},v),children:jt.default.is.function(d)?(0,Er.jsx)(d,{}):d}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:d,content:c,className:h="",size:p="R",openAfter:v,closeAfter:b,closeAtAroundClick:y,closeAtEscapeKeyDown:x,closeAtPageTransit:w,closeAtParentBlur:R,closeAtSwipeDown:N,hold_state:M,overwrap:G,isOpen:P,backgroundEffect:U}=a,H=Je(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,Er.jsx)(T,E(_(E(_({className:[ca("BB"),h].join(" ")},d=="drawer.right"?{marginLeft:"auto"}:d=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),H),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},H.freeCSS),children:jt.default.is.function(c)?(0,Er.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:d,content:c,size:h="R",sizeChanged:p,baseStyles:v,openAfter:b,closeAfter:y,closeAtAroundClick:x,closeAtEscapeKeyDown:w,closeAtPageTransit:R,closeAtParentBlur:N,closeAtSwipeDown:M=!0,hold_state:G,overwrap:P,isOpen:U,backgroundEffect:H}=a,J=Je(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),I=jt.default.getScreenSize(),re=[0,.2,.6,.95],ge={ZERO:0,S:1,R:2,L:3},[ne,ke]=(0,Ga.useState)(h),[xe,ye]=(0,Ga.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:re[ge[h]]});jt.useStore.update({[o]:{val_edit:xe,resize:pe=>{let j=re[ge[pe]];ye($=>E(_({},$),{value:j})),ke(pe)}}});let V={Start:pe=>{(0,jt.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:V.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:V.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:V.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:V.End});let j=jt.default.getCursor(pe),$=E(_({},xe),{process:!0,processStart:new Date().getTime(),originY:j.y,originValue:xe.value,viewHeight:jt.default.getScreenSize().height});jt.useStore.update({[o]:{val_edit:$}}),ye($)},Move:pe=>{var j;let $=(j=jt.useStore.get(o))==null?void 0:j.val_edit;if(!$.process)return;let oe=(jt.default.getCursor(pe).y-$.originY)/$.viewHeight,ee=$.originValue-oe;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let ue=.2-ee;ue-=.1,ee=.1+(.1-ue)*.5}return ye(E(_({},$),{value:ee})),pe.preventDefault(),pe.stopPropagation(),!1},End:pe=>{var j;let $=(j=jt.useStore.get(o))==null?void 0:j.val_edit;if(!$.process)return;(0,jt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let oe=0;if($.value<.1||($.value<.5?oe=1:$.value>.75?oe=3:oe=2),new Date().getTime()-$.processStart<300){let ee=jt.default.getCursor(pe).y-$.originY;if(Math.abs(ee)>=20){let ue=+(ee<0)*2-1;oe+=ue,oe=Math.min(Math.max(oe,0),re.length-1)}}oe==0&&(M||(oe=1)),ke(["ZERO","S","R","L"][oe]),ye(E(_({},$),{value:re[oe],process:!1}))}},se=(0,Ga.useRef)(!1);return(0,Ga.useEffect)(()=>{se.current?ne=="ZERO"?M&&Ft.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ne)},250):se.current=!0},[ne]),(0,Er.jsx)(T,{className:ca("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:I.height*xe.value},xe.process?{transition:"0s"}:{}),children:(0,Er.jsxs)(ct,E(_({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},v),{children:[(0,Er.jsx)(Pe.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,Er.jsx)(Pe.Center,{onMouseDown:V.Start,onTouchStart:V.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,Er.jsx)(T,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:ca("DragBar")})})}),(0,Er.jsx)(T,E(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},J),{children:jt.default.is.function(c)?(0,Er.jsx)(c,{}):c}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:d,parent:c,nextToCursor:h,gravityPoint:p=22,content:v,closeAtAroundClick:b,closeAtEscapeKeyDown:y,closeAtPageTransit:x,closeAtParentBlur:w,closeAtSwipeDown:R,hold_state:N,openAfter:M,closeAfter:G,overwrap:P,isOpen:U,resize:H,backgroundEffect:J}=a,I=Je(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[re]=(0,Ga.useState)((0,jt.UUID)()),ge=jt.default.is.element(c)||jt.default.is.jmini(c)?(0,jt.default)(c):bt(c),ne='[data-sheet-id="'+re+'"]',ke='[data-sheet-content="'+re+'"]';p=p;let xe=p%5||5,ye=Math.ceil(p/5),V={Init:()=>{if(h&&d){let Se=jt.default.getScreenSize(),Ie=jt.default.getCursor(d);return{top:Ie.y-Se.pageYOffset,left:Ie.x-Se.pageXOffset}}let pe={};if(!ge||!ge[0])return pe;let{top:j,right:$,bottom:oe,left:ee,height:ue,width:Ce}=ge.position();return[1,2].includes(xe)?pe.left=ee:xe==3?pe.left=ee+Ce/2:[4,5].includes(xe)&&(pe.left=$),p<=10?pe.top=j:p<=15?pe.top=j+ue/2:p<=25&&(pe.top=oe),pe},Adjust:()=>{let pe=bt(ne).position(),j=bt(ke).position(),$=ge.position(),oe=jt.default.getScreenSize(),ee={};for(let Se in j)ee[Se]=j[Se];if(jt.default.scope(()=>{if(r.nextToCursor)return;let Se=0;ye==1?Se=$.top-ee.bottom:ye==2?Se=$.top-ee.top:ye==3?Se=$.top-ee.top+($.height-ee.height)/2:ye==4?Se=$.bottom-ee.bottom:ye==5&&(Se=$.bottom-ee.top),ee.top+=Se,ee.bottom+=Se}),jt.default.scope(()=>{if(r.nextToCursor)return;let Se=0;xe==1?Se=$.left-ee.right:xe==2?Se=$.left-ee.left:xe==3?Se=$.left-ee.left+($.width-ee.width)/2:xe==4?Se=$.right-ee.right:xe==5&&(Se=$.right-ee.left),ee.left+=Se,ee.right+=Se}),ee.top<0){let Se=-ee.top;ee.top+=Se,ee.bottom+=Se}if(ee.bottom>oe.height){let Se=ee.bottom-oe.height;ee.top-=Se,ee.bottom-=Se}if(ee.left<0){let Se=-ee.left;ee.left+=Se,ee.right+=Se}if(ee.right>oe.width){let Se=ee.right-oe.width;ee.left-=Se,ee.right-=Se}let ue=ee.top-j.top,Ce=ee.left-j.left;(0,jt.default)(ne).css({top:pe.top+ue+"px",left:pe.left+Ce+"px"})}},[se]=(0,Ga.useState)(V.Init());return(0,Ga.useEffect)(()=>{bt(ne).await(10).addClass(ca("Open")).await(200).callback(()=>{(H==null||H)&&V.Adjust()}),jt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{V.Adjust()}}})},[]),ge[0]?(0,Er.jsx)(T,{className:[ca("BB"),ca("CustomSheet")].join(" "),"data-sheet-id":re,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:se,children:(0,Er.jsx)(_t,{position:"absolute",className:[ca("GPT"),ca("GPT_"+p),ca("Col_"+xe),ca("Row_"+ye)].join(" "),children:(0,Er.jsx)(T,E(_({"data-sheet-content":re,flexSizing:"none",maxHeight:"viewHeight"},I),{freeCSS:_({maxWidth:"98vw"},I.freeCSS),children:jt.default.is.function(v)?(0,Er.jsx)(v,{}):v}))})}):null}},TapSensor:r=>(0,Er.jsx)(T,{className:ca("TapSensor"),children:(0,Er.jsx)(le.Plain,{className:ca("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&Ft.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},Ft={Wrapper:()=>(0,Er.jsx)(z_.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,jt.UUID)(),s=r,{type:d,src:c}=s,h=Je(s,["type","src"]);Ft.open(E(_({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,Ga.useState)(jt.default.flatArray(c)),[v,b]=(0,Ga.useState)(0),y=[];return p.forEach((x,w)=>{y.push({value:w,label:(0,Er.jsx)(zn,{src:jt.default.flatArray(x)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,Er.jsxs)(ct,{gap:0,height:1,position:"relative",children:[(0,Er.jsxs)(Pe.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,Er.jsx)(at.Radio,{icon:!1,value:v,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:x})=>{b(x)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:y}),(0,Er.jsx)(le.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{Ft.close(l)},children:(0,Er.jsx)(we.Times,{})})]}),(0,Er.jsx)(cs.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,Er.jsx)(zn,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[v]})},v)]})}}));return}let o=jt.useStore.get("Sheet-"+st.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=jt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=jt.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Fs.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let d=s.find(h=>h.sheetID==r);if(!d||a=="Escape"&&!d.closeAtEscapeKeyDown)return;let c=jt.useStore.get(d.sheetID);c&&c.close&&c.close(o)},closeGroup:r=>{let a=Fs.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&Ft.close(l.sheetID)},closeAll:r=>{let a=Fs.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||Ft.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,Er.jsx)(T,_({className:ca("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var na={__memoryID:(0,bw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,bw.UUID)(),tipsGroups:l=[]}=a,s=Je(a,["tipsID","tipsGroups"]);Ft.open(E(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&Ft.close(r)},closeALL:()=>{Ft.closeGroup("tooltips")},Body:r=>(0,eO.jsx)(T,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var La=r=>{let[a]=(0,yd.useState)(r.componentID||(0,_a.UUID)());r=_({},r),r.states=E(_({enableFormSubmit:!0,status_id:(0,_a.UUID)(),override:"never",form:"",id:(0,_a.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,$n.jsx)(o,_({},r.states))},Ua=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:d,wrapStyles:c}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,$n.jsxs)(Pe.Center,E(_({position:"relative",verticalAlign:"unset",gap:0},c),{className:Kf("Wrapper"),"data-notice-uid":o.componentID,children:[(0,$n.jsx)(yw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,$n.jsxs)(_t,{position:"relative",flexSizing:"auto",children:[a,d,(0,$n.jsx)(yw.RightIcon,_({},r)),(0,$n.jsx)(yw.ClearButton,_({},r))]}),s.rightIndicator]}))},yw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,$n.jsx)(le.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>E(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,_a.UUID)()}))},children:(0,$n.jsx)(we.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,d="NoticeTimerClose-"+l,c="notice-tips-"+l;return(0,yd.useEffect)(()=>{_a.default.interval.once(()=>{if(!a.length){na.close(c);return}na.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,$n.jsxs)(na.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,$n.jsx)(T,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,$n.jsx)(ct,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:v,label:b}=h,y=v=="invalid"?we.Times:v=="warn"?we.Exclamation:we.Check;return(0,$n.jsxs)(Pe.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,$n.jsx)(y,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[v]}),(0,$n.jsx)(Ye.Supplement,{fontSize:"0.xs",fontColor:"white",children:b})]},p+"-"+_a.default.Stringify(h))})})]})})},350,s),_a.default.interval.once(()=>{na.close(c)},6e3,d)},[a]),null}},Kt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,_a.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:d,set_validate:c,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,yd.useEffect)(()=>(_a.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((v,b)=>{_a.useStore.get(p).ResolveRefresh=v,s(y=>E(_({},y),{eventType:"refresh",eventID:(0,_a.UUID)()}))}),GenNotice:v=>{let{ok:b,notice:y}=v;c({ok:b,notice:y})}}}),()=>{_a.useStore.delete(p)}),[]),_a.default.scope(()=>{let{override:v}=o;if(v=="never"||v=="beforeModified"&&!["init","override"].includes(l.eventType))return;let b=_a.useStore.get(l.componentID);b&&(o.value!=l.dataValue&&o.status_id!=b.status_id&&s(y=>E(_(E(_({},y),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,_a.UUID)()})),b.status_id=o.status_id)}),(0,yd.useEffect)(()=>{Kt.ValidationCheck({val_status:l,set_validate:c,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,yd.useEffect)(()=>(_a.default.scope(()=>{let{componentID:v,eventType:b,dataValue:y}=l,x=y;if(a=="autocomplete.single"||a=="list.radio"?x=x[0]:o.isChecker&&(x=!!x[0]),o.form=o.form||"testForm",o.name&&o.form&&_a.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:v,type:a,value:x,validation:d.ok}}}),b=="refresh"){let w=_a.useStore.get(v);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else b=="update"&&(o.onUpdateValue&&o.onUpdateValue({componentID:v,value:x,eventType:b}),_a.default.scope(()=>{d.ok&&o.onUpdateValidValue&&o.onUpdateValidValue({componentID:v,value:x,eventType:b})}))}),()=>{_a.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[d])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;_a.default.interval.abort(o);let l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,d=()=>Oa(void 0,null,function*(){if(!a.onValidate)return;let c=yield a.onValidate({value:r.val_status.dataValue,eventType:r.val_status.eventType,props:r});r.set_validate({ok:c.ok,notice:[...s,...c.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){d();return}_a.default.interval.once(d,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=bt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",d=r.key,c=r.ctrlKey||r.metaKey;return _a.default.scope(()=>{s.includes("enter")&&(d!="Enter"||r.nativeEvent.isComposing||st.get().browserIs=="safari"&&r.keyCode==229)||((d=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&c)||d==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Gn=function(r){r=_({tone:"border"},r);let a=_a.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=E(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=E(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=E(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return E(_(_(_(_(_(_({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:_({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Kf("Input"),r.className].join(" ")})};var E$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:d=""}=a,c=Je(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,Sm.useState)({componentID:r.componentID||"",dataValue:d,eventType:"init",eventID:(0,ep.UUID)()}),[v,b]=(0,Sm.useState)({ok:!1,notice:[]});return(0,Sm.useEffect)(()=>{ep.default.is.equal(h.dataValue,d)||p(y=>E(_({},y),{dataValue:d,eventType:"update",eventID:(0,ep.UUID)()}))},[r.value]),Kt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:v,set_validate:b,SystemValidation:()=>({ok:!0,notice:[]})}),(0,Sw.jsx)("input",E(_({value:ep.default.Stringify(d),"data-component-id":o},c),{type:"hidden"}))},tO=r=>(0,Sw.jsx)(La,{componentID:r.componentID,children:E$,states:r});var dr=X(Bt()),rn=X(ir()),js=X(fr());var cO=X(sO());var wm=X(Bt()),j_=X(fr()),F_=X(ir());var xu=r=>{if(!r.label)return null;let[a,o]=(0,j_.useState)({});return(0,j_.useEffect)(()=>{let l=(0,F_.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,F_.default)('[data-input-label="'+r.componentID+'"]'),d=(0,F_.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!d[0])return;let c=l.position(),h=d.position();if(r.isActive){let p=h.left-c.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-c.left,v=h.top-c.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${v}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,wm.jsx)(T,E(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,wm.jsxs)(Pe.Left,{gap:"1/3",children:[r.label,r.required&&(0,wm.jsx)(tn,{fontColor:"nega",children:" * "})]})}))};var D$={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},katakana:{reg:/^[ァ-ヶー ヲ-゚ ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚ ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,dr.jsxs)(dr.Fragment,{children:[(0,dr.jsx)(T,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,dr.jsx)(T,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,dr.jsxs)(dr.Fragment,{children:[(0,dr.jsx)(T,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,dr.jsx)(T,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,dr.jsx)(T,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},kc={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=bt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:d,prevValue:c,caretFrom:h,caretTo:p}=l;if(o=="creditCard")d.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")d.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let v=d.length-c.length;v==2&&(h++,p++),v==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:d,required:c}=o,h=[];if(d||(s=s||255),rn.default.is.exist(s)&&a.length>=Number(s)&&h.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=kc.Validation.Text(a,l);p.ok||h.push({type:"invalid",label:p.body})}else c&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let l=D$[a];if(!l)return;let s=l.reason;if(l){let d=!!(+!!r.match(l.reg)^+!l.exist);o={ok:d,body:d?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana"&&(l=l.replace(/[^ァ-ヶー ヲ-゚ ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚ ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let c=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),rn.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),rn.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let d=l;if(a=="digitNumber"){if(l&&l!="-"){let c=[];for(let h=l.length-1;h>=0;h--){c.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&c.unshift(",")}d=c.join("")}}else a=="postal"?l.length>=4&&(d=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(d=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,d="-"+d),{formatValue:d,dataValue:l}}}},Cw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,js.useEffect)(()=>{rn.default.scope(()=>Oa(void 0,null,function*(){if(!a.multiline)return;let p=(0,rn.default)('[data-input-origin="'+o.componentID+'"]'),v=(0,rn.default)('[data-input-shallow="'+o.componentID+'"]'),b=(0,rn.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),y=(0,rn.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!v[0]||!b[0]||!y[0])return;let x=v.position(),w=b.position(),R=y.position(),N=0;a.autoHeight&&(N=x.height),N=Math.max(N,w.height),N=Math.min(N,R.height),p[0].style.height=N+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let d="",c="";if(a.multiline){let p=a.minRows||1,v=a.maxRows||100;d=`
|
|
979
979
|
T`.repeat(p-1),c=`
|
|
980
|
-
T`.repeat(v-1)}let h=Fl(a);return(0,dr.jsxs)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",width:1,freeCSS:E(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,dr.jsx)(T,{"data-input-value-shallow":o.componentID,children:s})})),(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",left:0,freeCSS:E(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:d})),(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",right:0,freeCSS:E(_({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:c}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:d,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:v}=r;if(a.multiline)return null;let b=a,{componentID:y,tone:x,required:w,restrict:R="text",form:N,autoComplete:M="off",autoCapitalize:G="off",minRows:P,maxRows:U,multiline:H,autoHeight:J,enableFormSubmit:I,clearButton:re=!1,checkValidationAtFirst:ge,onChange:ne,onKeyDown:ke,onValidate:xe,onUpdateValue:ye,onUpdateValidValue:V,value:se="",leftIndicator:pe,rightIndicator:j,leftIcon:$,rightIcon:oe,maxLength:ee,min:ue,max:Ce,label:Se,isLabelActive:Ie,wrapStyles:Ge}=b,Qe=Je(b,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),yt=R=="password"||R=="concealed"?"password":"text",Ht=["number","digitNumber","creditCard"].includes(R)?"numeric":R=="email"?"email":"text";return(0,dr.jsx)(T,E(_({htmlTag:"input",type:yt,inputMode:Ht,"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(o,s,!!ge),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:G,onKeyDown:pt=>{let{key:kt,target:vt}=pt;{let it=vt,{selectionStart:Te,selectionEnd:Rt}=it,Ut=Number(Te),Qt=Number(Rt),Yt=s.formatValue[Number(Ut)],lr=s.formatValue[Number(Ut)-1];kt=="Delete"&&(R=="creditCard"&&Yt==" "||R=="postal"&&Yt=="-"||R=="digitNumber"&&Yt==",")&&(it.setSelectionRange(Ut+1,Qt+1),pt.preventDefault()),kt=="Backspace"&&(R=="creditCard"&&lr==" "||R=="postal"&&lr=="-"||R=="digitNumber"&&lr==",")&&(it.setSelectionRange(Ut-1,Qt-1),pt.preventDefault()),kt=="Enter"||kt=="Tab"}if(["number","digitNumber","creditCard"].includes(R)&&kt=="Clear"&&d(it=>E(_({},it),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,rn.UUID)()})),["number","digitNumber"].includes(R)&&["ArrowUp","ArrowDown"].includes(kt)){let it=+(kt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+it);o.ok&&l({ok:!1,notice:[]}),d(Rt=>E(_(_({},Rt),kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:Te})),{eventType:"update",eventID:(0,rn.UUID)()})),pt.preventDefault()}ke&&ke(pt),I&&Kt.SubmitForm(pt,N)},onChange:pt=>{let{value:kt,selectionStart:vt,selectionEnd:it}=pt.target,Te=kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:kt});p&&(Te.formatValue=kt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),d(Rt=>E(_(_({},Rt),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,rn.UUID)(),caretFrom:Number(vt),caretTo:Number(it)})),ne&&ne(pt))},width:1},Qe),{onFocus:pt=>{Qe!=null&&Qe.onFocus&&(Qe==null||Qe.onFocus(pt)),h(!0)},onBlur:pt=>{Qe!=null&&Qe.onBlur&&(Qe==null||Qe.onBlur(pt)),h(!1)},onCompositionStart:pt=>{Qe!=null&&Qe.onCompositionStart&&(Qe==null||Qe.onCompositionStart(pt)),v(!0)},onCompositionEnd:pt=>{if(Qe!=null&&Qe.onCompositionEnd&&(Qe==null||Qe.onCompositionEnd(pt)),R=="text")return;let kt=kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:s.formatValue});d(vt=>E(_(_({},vt),kt),{prevValue:vt.formatValue,eventType:"update",eventID:(0,rn.UUID)(),caretFrom:Number(vt.formatValue.length+1),caretTo:Number(vt.formatValue.length+1)})),v(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:d,val_status:c,set_status:h,isShallow:p}=r,v=a,{componentID:b,tone:y,required:x,form:w,label:R,isLabelActive:N,minRows:M,maxRows:G,multiline:P,autoHeight:U,enableFormSubmit:H,maxLength:J,checkValidationAtFirst:I,onChange:re,onKeyDown:ge,onValidate:ne,onUpdateValue:ke,onUpdateValidValue:xe,value:ye="",leftIndicator:V,rightIndicator:se,leftIcon:pe,rightIcon:j,wrapStyles:$}=v,oe=Je(v,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,dr.jsx)(T,E(_({htmlTag:"textarea","data-show-validation":Kt.isShowValidation(s,c,!!I),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},oe),{onFocus:ee=>{oe!=null&&oe.onFocus&&(oe==null||oe.onFocus(ee)),l(!0)},onBlur:ee=>{oe!=null&&oe.onBlur&&(oe==null||oe.onBlur(ee)),l(!1)},onKeyDown:ee=>{ge&&ge(ee),H&&Kt.SubmitForm(ee,w)},onChange:ee=>{let{value:ue}=ee.target;s.ok&&d({ok:!1,notice:[]}),h(Ce=>E(_({},Ce),{dataValue:ue,eventType:"update",eventID:(0,rn.UUID)()})),re&&re(ee)}})):null}},A$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:d}=r,[c,h]=(0,js.useState)(!1),[p,v]=(0,js.useState)(!1),[b,y]=(0,js.useState)(E(_({componentID:a},kc.Validation.DataLeveling({min:s,max:d,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,rn.UUID)(),caretFrom:null,caretTo:null})),[x,w]=(0,js.useState)({ok:!1,notice:[]}),R={rootStates:r,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:v,val_status:b,set_status:y,val_validate:x,set_validate:w};return Kt.CommonEffects({type:"textfield",states:r,val_status:b,set_status:y,val_validate:x,set_validate:w,SystemValidation:kc.Validation.System,ExtraOverrideStates:_({},kc.Validation.DataLeveling({min:s,max:d,restrict:o,value:l}))}),(0,js.useEffect)(()=>{kc.setSelection({id:r.id,restrict:o,val_status:b})},[b]),(0,dr.jsxs)(Ua,{val_status:b,set_status:y,val_validate:x,states:R.rootStates,children:[(0,dr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!b.dataValue}),(0,dr.jsx)(Cw.Shallow,_({},R)),(0,dr.jsx)(Cw.InputBox,_({},R)),(0,dr.jsx)(Cw.TextAreaBox,_({},R))]})},fs=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,dr.jsx)(La,{componentID:r.componentID,children:A$,states:Gn(r)})),gn=fs;gn.Validate=kc.Validation.Text,gn.Katakana=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),gn.HankakuKatakana=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),gn.CreditCard=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),gn.Tel=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),gn.Number=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),gn.DigitNumber=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),gn.Email=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),gn.Url=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),gn.Postal=r=>{let[a]=(0,js.useState)((0,rn.UUID)());return(0,js.useEffect)(()=>()=>{rn.useStore.delete(a)},[]),(0,dr.jsx)(fs,E(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,dr.jsx)(Jf,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},gn.Password=r=>(0,dr.jsx)(fs,E(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,dr.jsx)(Ha,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,dr.jsx)(le.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{zl.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:zl.abort,tabIndex:-1,onClick:a=>{(0,rn.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,dr.jsx)(we,{icon:cO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),gn.Concealed=r=>(0,dr.jsx)(gn.Password,E(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),gn.Money={JPY:r=>(0,dr.jsx)(gn.DigitNumber,E(_({rightIcon:(0,dr.jsx)(Ha,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var H_=X(Bt()),uO=X(ir()),xw=X(fr());function L$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var B$=r=>{let a=r,{componentID:o,tone:l,required:s,form:d,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:v,onKeyDown:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,children:R="",leftIndicator:N,rightIndicator:M,leftIcon:G,rightIcon:P,freeCSS:U,wrapStyles:H}=a,J=Je(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[I,re]=(0,xw.useState)(Kt.DefaultStatus(o,c)),[ge,ne]=(0,xw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"contenteditable",states:r,val_status:I,set_status:re,val_validate:ge,set_validate:ne,SystemValidation:L$}),(0,H_.jsx)(Ua,{val_status:I,set_status:re,val_validate:ge,states:r,children:(0,H_.jsx)(T,E(_({contentEditable:!0,"data-show-validation":Kt.isShowValidation(ge,I,!!p),"data-component-id":I.componentID,onKeyDown:ke=>{b&&b(ke),h&&Kt.SubmitForm(ke,d)},onInput:ke=>{let xe=ke.currentTarget,{innerHTML:ye,innerText:V}=xe;ge.ok&&ne({ok:!1,notice:[]}),re(se=>E(_({},se),{dataValue:V,eventType:"update",eventID:(0,uO.UUID)()})),v&&v(ke)}},J),{children:R}))})},dO=r=>{r=E(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Gn(r);return(0,H_.jsx)(La,{componentID:r.componentID,children:B$,states:a})};var Cm=X(Bt()),kw=X(fr()),tp=X(ir());function N$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:d}=o,c=[];return l&&!a&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&c.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=d&&c.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!c.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:c}}var O$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},fO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},I$=r=>{let a=r,{tone:o,required:l,form:s,name:d,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:v,checkValidationAtFirst:b,onChange:y,onKeyDown:x,onValidate:w,onUpdateValue:R,onUpdateValidValue:N,value:M="",override:G,freeCSS:P,wrapStyles:U,combineInput:H,componentID:J,listStyles:I}=a,re=Je(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[ge,ne]=(0,kw.useState)(E(_({componentID:r.componentID||""},O$(h,M)),{eventType:"init",eventID:(0,tp.UUID)()})),[ke,xe]=(0,kw.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"textfield",states:r,val_status:ge,set_status:ne,val_validate:ke,set_validate:xe,SystemValidation:N$});let ye=[];for(let V=0;V<h;V++){let se=ge.formatValue[V],pe={},j=c;r.combineInput&&(j=[c,Kf("DigitCharacterCell"),Kf("Combined")].join(" ")),ye.push((0,Cm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:se,id:"Digit-"+V+"-"+ge.componentID,className:j,style:_(_({},r.style),pe),onKeyDown:$=>{let{key:oe,code:ee}=$;if(oe=="Tab")return;$.preventDefault();let ue=null;if(oe=="Backspace"){let Ce=ge.formatValue;Ce[V]="",ne(Se=>E(_(_({},Se),fO(Ce)),{eventType:"update",eventID:(0,tp.UUID)()})),ue=V-1}else if(["ArrowLeft","ArrowRight"].includes(oe)){let Ce=+(oe=="ArrowRight")*2-1;ue=V+Ce}else v&&Kt.SubmitForm($,s),(()=>{let Ce=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Ce)return;let Se=Ce[2]||Ce[3]||Ce[4];if(p&&!Se.match(/\d/)||!Se)return;let Ie=ge.formatValue;Ie[V]=Se,ne(Ge=>E(_(_({},Ge),fO(Ie)),{eventType:"update",eventID:(0,tp.UUID)()})),ue=V+1})();tp.default.is.exist(ue)&&bt("#Digit-"+ue+"-"+ge.componentID).focus()},onChange:()=>{}},V))}return(0,Cm.jsx)(Ua,{val_status:ge,set_status:ne,val_validate:ke,states:r,children:(0,Cm.jsx)(_t,E(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},I),{children:ye}))})},pO=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=E(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Bo(Gn(r));return(0,Cm.jsx)(La,{componentID:r.componentID,children:I$,states:a})};var ia=X(Bt()),_n=X(ir()),xm=X(ir()),Oo=X(fr());var BO=X(yO()),NO=X(EO());var Dr=X(Bt()),Tn=X(ir()),Tc=X(fr());function P$(r){let{value:a,states:o}=r,{required:l,options:s}=o,d=[];return l&&a===null&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var Ew={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},rp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,Dr.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Dr.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),children:(0,Dr.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:d,val_validate:c,set_validate:h,val_status:p,set_status:v,val_selectorOpen:b,set_selectorOpen:y}=r,x=a,{tone:w,required:R,form:N,className:M,label:G,isLabelActive:P,placeholder:U,enableFormSubmit:H,emptySelect:J,checkValidationAtFirst:I,onValidate:re,onUpdateValue:ge,onUpdateValidValue:ne,value:ke="",options:xe,leftIndicator:ye,rightIndicator:V,leftIcon:se,rightIcon:pe,componentID:j,status_id:$,wrapStyles:oe,SelectedCellStyles:ee,SelectorCellStyles:ue,SelectorStyles:Ce,SelectorPosition:Se}=x,Ie=Je(x,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorPosition"]);return(0,Tc.useEffect)(()=>{if(a.disabled)return;let Ge="select-click-"+a.componentID;if(b){if(!(0,Tn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Tn.default)(document).addEvent({eventID:Ge,eventType:"click",callback:Qe=>{let yt=(0,Tn.default)(Qe.target),Ht=!!(0,Tn.default)(yt).parent("."+ss("Core")).length;(0,Tn.default)(yt).parent("."+ss("Selector")).length||Ht||y(!1)}})}else(0,Tn.default)(document).removeEvent([Ge])},[b]),(0,Tc.useEffect)(()=>{if(p.eventType=="init"||!b)return;let Ge=(0,Tn.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},[p.dataValue]),(0,Dr.jsxs)(Dr.Fragment,{children:[(0,Dr.jsx)(T,E(_({tabIndex:0},Ie),{"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(c,p,!!I),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,ss("Core")].join(" "),onFocus:Ge=>{if(Ie!=null&&Ie.onFocus&&(Ie==null||Ie.onFocus(Ge)),!a.disabled){if(o)return l(!1);y(!0)}},onClick:Ge=>{Ie!=null&&Ie.onClick&&(Ie==null||Ie.onClick(Ge)),!a.disabled&&y(!0)},onKeyDown:Ge=>{let{key:Qe,metaKey:yt,ctrlKey:Ht}=Ge,pt=yt||Ht;if(Ie!=null&&Ie.onKeyDown&&(Ie==null||Ie.onKeyDown(Ge)),H&&Kt.SubmitForm(Ge,N),!a.disabled){if(Tn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(Qe))return;if(Ge.preventDefault(),!b)return y(!0);let kt=Qe=="ArrowDown"?1:-1,vt=Ew.FilterSelectableOptions(r),it=vt.length-1,Te=null;Tn.default.scope(()=>{var Rt,Ut,Qt,Yt,lr,pr,kr,la,Wr,Kr;let hr=vt.findIndex(Tr=>Tr.value==s);if(kt==1){if(Te=(Ut=(Rt=vt[0])==null?void 0:Rt.value)!=null?Ut:null,pt){Te=(Qt=vt[it].value)!=null?Qt:null;return}if(hr==-1||hr==it)return;Te=(lr=(Yt=vt[hr+1])==null?void 0:Yt.value)!=null?lr:null}else{if(Te=(pr=vt[it].value)!=null?pr:null,pt){Te=(la=(kr=vt[0])==null?void 0:kr.value)!=null?la:null;return}if(hr==-1||hr==0)return;Te=(Kr=(Wr=vt[hr-1])==null?void 0:Wr.value)!=null?Kr:null}}),d(Te)}),Qe=="Escape")y(!1);else if(Qe=="Tab")y(!1);else if(Qe=="Backspace")v(kt=>E(_({},kt),{dataValue:null,eventType:"update",eventID:(0,Tn.UUID)()}));else if(Qe==" ")Ge.preventDefault(),y(!0);else if(Qe=="Enter"){if(!b)return y(!0);Ge.preventDefault();let kt=a.options.find(vt=>vt.value==s);if(!kt)return;v(vt=>E(_({},vt),{dataValue:kt.value,eventType:"update",eventID:(0,Tn.UUID)()})),y(!1)}}},children:(0,Dr.jsxs)(Pe.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Dr.jsx)(rp.Placeholder,_({},r)),(0,Dr.jsx)(rp.Selected,_({},r)),(0,Dr.jsx)(tn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),b&&(0,Dr.jsx)(rp.Selector,_({},r))]})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Dr.jsx)(T,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{var a;let o=[],l=Ew.FilterSelectableOptions(r,!0),s=Ew.FilterSelectableOptions(r);l.forEach((c,h)=>{let{type:p,value:v}=c,b=r.val_optionFocused==v,y=r.val_status.dataValue===v;if(p=="selector"){o.push((0,Dr.jsx)(le.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:y||b,isActiveStyles:b?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"},onClick:x=>{r.set_status(w=>E(_({},w),{dataValue:v,eventType:"update",eventID:(0,Tn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,Dr.jsxs)(Pe.Left,{gap:"1/2",children:[y&&(0,Dr.jsx)(we.Check,{fontColor:"theme"}),(0,Dr.jsx)(Ye.Supplement,{transition:"short",children:c.label})]})},String(v)));return}o.push((0,Dr.jsx)(T,{children:c.label},(0,Tn.UUID)()))}),s.length||(o=[(0,Dr.jsx)(Ye.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let d={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:d.bottom="100%",d.left=0,d.paddingBottom="1/3";break;case 2:d.bottom="100%",d.right=0,d.paddingBottom="1/3";break;case 3:d.top="100%",d.left=0,d.paddingTop="1/3";break;case 4:d.top="100%",d.right=0,d.paddingTop="1/3";break;default:break}return(0,Dr.jsx)(T,E(_({},d),{children:(0,Dr.jsx)(Ft.Body,E(_({className:ss("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Dr.jsx)(ct,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Tn.default.scope(()=>{let o=r.rootStates.options.find(l=>Tn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,Dr.jsx)(T,E(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Dr.jsx)(Dr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Tc.useState)(Kt.DefaultStatus(r.componentID,o)),[d,c]=(0,Tc.useState)(!1),[h,p]=(0,Tc.useState)(!1),[v,b]=(0,Tc.useState)((a=r.value)!=null?a:null),[y,x]=(0,Tc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:d,set_preventOpenSelectorOnFocus:c,val_optionFocused:v,set_optionFocused:b,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:y,set_validate:x};return Kt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:y,set_validate:x,SystemValidation:P$}),(0,Dr.jsxs)(Ua,{val_status:l,set_status:s,val_validate:y,states:r,children:[(0,Dr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,Dr.jsx)(rp.Shallow,_({},w)),(0,Dr.jsx)(rp.Button,_({},w))]})}},ps=r=>{var a;let o=_({},r);return o=E(_({emptySelect:!0,SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,Dr.jsx)(Ye.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:d,value:c}=l;o.options[s]=E(_({},l),{value:c,type:d||"selector"})}),Tn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Dr.jsx)(Ha,{ssSphere:2,children:(0,Dr.jsx)(we.AngleDown,{})})),(0,Dr.jsx)(La,{componentID:o.componentID,children:rp.Core,states:Gn(o)})};var Ve=X(Bt()),AO=X(fr()),Ar=X(ir()),Rc=X(fr());var Pa=X(Bt()),hs=X(ir()),Dw=X(fr());function M$(r){let{value:a,states:o}=r,{type:l,required:s,min:d,max:c}=o;d=d||0,c=c||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var Sd={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=hs.default.is.exist(a)?hs.default.flatArray(a):[],s=[];return l.forEach(d=>{o.findIndex(c=>hs.default.is.equal(c.value,d))!=-1&&s.push(d)}),(0,Pa.jsx)(Sd.Core,E(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:d="",form:c,override:h,icon:p,iconType:v,iconSize:b,iconPosition:y,iconColor:x,CustomIcon:w,enableFormSubmit:R,checkValidationAtFirst:N,onValidate:M,onUpdateValue:G,onUpdateValidValue:P,value:U,options:H,className:J,cellStyles:I,cellClassName:re,cellCheckedStyles:ge,cellCheckedClassName:ne,min:ke,max:xe,hideInput:ye,freeCSS:V,wrapStyles:se}=a,pe=Je(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[j,$]=(0,Dw.useState)(Kt.DefaultStatus(d,U)),[oe,ee]=(0,Dw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"list."+o,states:r,val_status:j,set_status:$,val_validate:oe,set_validate:ee,SystemValidation:M$}),(0,Pa.jsx)(Ua,{val_status:j,set_status:$,val_validate:oe,states:r,children:(0,Pa.jsx)(Sd.List,{rootStates:r,val_status:j,set_status:$})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:d,tone:c,icon:h,iconSize:p,iconColor:v,isChecker:b,options:y,name:x,form:w,tabIndex:R,hideInput:N,disabled:M,className:G,cellStyles:P,cellClassName:U="",cellCheckedStyles:H,cellCheckedClassName:J="",enableFormSubmit:I}=a,{dataValue:re}=o,ge=a.CustomIcon,ne=y.map((ke,xe)=>{let ye=ke,{value:V,label:se,disabled:pe,className:j="",checkedStyles:$,checkedClassName:oe="",freeCSS:ee}=ye,ue=Je(ye,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Ce=(0,hs.UUID)(),Se=re.findIndex(Ht=>Ht===V)!=-1,Ie=_(_({},P),ue),Ge=[md("Label"),U,j];Se&&(Ie=E(_(_(_({},Ie),H),$),{freeCSS:_(_(_({},Ie==null?void 0:Ie.freeCSS),H==null?void 0:H.freeCSS),$==null?void 0:$.freeCSS)}),Ge=[...Ge,J,oe]);let Qe=()=>{if(M||pe)return;let Ht=[];if(d=="radio")Ht=[V];else if(d=="checkbox"||b)if(!Se)Ht=[...o.dataValue,V];else{let pt=[...o.dataValue];pt.splice(o.dataValue.findIndex(kt=>kt==V),1),Ht=pt}l(pt=>E(_({},pt),{dataValue:Ht,eventType:"update",eventID:(0,hs.UUID)()}))},yt=[(0,Pa.jsx)(tn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:hs.default.is.string(se)?(0,Pa.jsx)(T,{children:se}):se},"content")];return h&&yt[a.iconPosition=="right"?"push":"unshift"]((0,Pa.jsx)(ge,{isChecked:Se,iconSize:p,iconColor:v,toggle:Qe},"icon")),[(0,Pa.jsx)(T,{htmlTag:"input",type:d=="radio"?"radio":"checkbox",className:md("Input"),name:"RadioCheckbox-"+x,"data-list-index":s+"-"+xe,id:Ce,value:String(V),disabled:M||pe,checked:Se,onFocus:Ht=>{pe||d=="radio"&&(o.dataValue.length||l(pt=>E(_({},pt),{dataValue:[V],eventType:"update",eventID:(0,hs.UUID)()})))},onChange:()=>{Qe()},onKeyDown:Ht=>{let{key:pt,shiftKey:kt}=Ht;if((d=="checkbox"||r.rootStates.isChecker)&&pt!="Tab"&&pt.match(/Arrow/)){Ht.preventDefault();let vt=["ArrowLeft","ArrowUp"].includes(pt)?-1:1,it=xe+vt;it<0?it=y.length-1:it>=y.length&&(it=0),bt(`input[data-list-index="${s}-${it}"]`).focus()}I&&Kt.SubmitForm(Ht,w)},tabIndex:R},"List-"+hs.default.Stringify(V)),(0,Pa.jsx)(T,E(_({htmlTag:"label","data-disabled":M||pe,htmlFor:Ce,className:Ge.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ie),{children:yt}),"ListTrigger-"+hs.default.Stringify(V))]});return(0,Pa.jsx)(_t,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[G,md("CellBase"),md("HideInput_"+N),md("IconIndicator_"+!!h),md("Tone_"+c)].join(" "),children:ne})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Pa.jsx)(le.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Pa.jsx)(Sd._Icon,E(_({type:"radio"},r),{children:(0,Pa.jsx)(T,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Pa.jsx)(T,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Pa.jsx)(Sd._Icon,E(_({type:"checkbox"},r),{children:(0,Pa.jsx)(T,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Pa.jsx)(we.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},Aw=r=>{r=r||"checkbox";let a=l=>(l=E(_({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:_({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=Sd.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=Sd.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=Bo(l),(0,Pa.jsx)(La,{componentID:l.componentID,children:Sd.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Pa.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Pa.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Pa.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Pa.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Pa.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},wd=Aw("radio"),U_=Aw("checkbox"),DO=Aw();var Lw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((o=r==null?void 0:r.max)!=null?o:(0,Ar.Time)().addYear(10).year);for(let c=s;c<=d;c++)l.unshift({value:c,label:[c,...Ar.default.transformer.wareki(c).value].join(" -")});return l},LO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let s=(0,Rc.useRef)(!1),[d,c]=(0,Rc.useState)((()=>{var p,v;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let y=Number(b[0]),x=Number(b[1]);return{modifiedType:"init",hour:y,minutes:x}}else if(a=="date"){let[b,y,x]=(p=String(l))==null?void 0:p.split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y)||Ar.default.is.nullish(x))&&([b,y,x]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(y),date:Number(x)}}else if(a!="week"){if(a=="month"){let[b,y]=String(l).split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y))&&([b,y]=(0,Ar.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(y)}}else if(a=="year"){let[b]=String(l).split(/\D/);return Ar.default.is.nullish(b)&&([b]=(0,Ar.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,y,x]=(v=String(l))==null?void 0:v.split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y)||Ar.default.is.nullish(x))&&([b,y,x]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(b),month:Number(y),date:Number(x)}}}return{}})());(0,Rc.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",v=o||"year";if(a=="clock"){let{hour:b,minutes:y}=d;p=[b.zeroEmbed(2),y.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:y,date:x}=d;p=[b,y.zeroEmbed(2),x.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:y}=d;p=[b,y.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:y,date:x,era:w}=d;v=w,p=[b,y.zeroEmbed(2),x.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,v)}}else s.current=!0},[d]);let h=E(_({},r),{val_value:d,set_value:c});return(0,Ve.jsx)(T,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Ve.jsx)(T,{className:Aa(a.toCapital()+"Base"),children:a=="clock"?(0,Ve.jsx)(Ka.Clock.index,_({},h)):a=="date"?(0,Ve.jsx)(Ka.Date.index,_({},h)):a=="week"?"":a=="month"?(0,Ve.jsx)(Ka.Month.index,_({},h)):a=="year"?(0,Ve.jsx)(Ka.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ve.jsx)(Ka.DateWareki.index,_({},h)):(0,Ve.jsx)(Ve.Fragment,{})})})},Ka={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,[h,p]=(0,Rc.useState)(d.hour>12?2:1),[v,b]=(0,Rc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,Rc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(v))},[v]);let{hour:y,minutes:x}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(_t,{flexType:"row",flexWrap:!1,gap:1,className:Aa("Body"),children:[(0,Ve.jsxs)(ct,{className:Aa("DesignSide"),flexSizing:0,children:[(0,Ve.jsx)(T,{className:Aa("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Ve.jsxs)(T,{className:Aa("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Ve.jsx)(T,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Aa("Needle"),Aa("hour")].join(" "),freeCSS:{transform:`rotate(${y*30+x/2}deg)`}}),(0,Ve.jsx)(T,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Aa("Needle"),Aa("minute")].join(" "),freeCSS:{transform:`rotate(${x*6}deg)`}})]})}),(0,Ve.jsx)(wd,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:w})=>{let R=d.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:R,minutes:d.minutes})}}),(0,Ve.jsx)(T,{borderTop:!0,margin:[0,1]}),(0,Ve.jsx)(wd,{icon:!0,value:[v],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:w})=>{b(w)}})]}),(0,Ve.jsxs)(ct,{children:[(0,Ve.jsxs)(T,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ve.jsxs)(_t,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Ve.jsx)(ct,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ka.Clock.Hours({onClick:w=>{let R=w+(h==2?12:0);c({modifiedType:"update",hour:R,minutes:d.minutes})},min:a,max:o,ampm:h})}),(0,Ve.jsx)(ct,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ka.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:d.hour,minutes:w})},min:a,max:o,unit:v})})]})]})]}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));d>c&&(s=!0)}}a.push((0,Ve.jsx)(le.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,Ve.jsx)(le.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h,month:p,date:v}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{flexWrap:!0,children:[(0,Ve.jsxs)(_t,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Ve.jsx)(ps,{override:"force",emptySelect:!1,value:h,options:Lw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:Number(b),month:p,date:v})},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})})}),(0,Ve.jsx)(ps,{override:"force",emptySelect:!1,value:p,options:(()=>{let b=[];for(let y=1;y<=12;y++)b.push({value:y,label:String(y)+"\u6708"});return b})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:h,month:Number(b),date:v})}})]}),(0,Ve.jsx)(Ka.Variables.ShiftButtons,{callback:b=>{let y=p+b,x=h;y<=0&&(x--,y=12),y>12&&(x++,y=1),c({modifiedType:"update",year:x,month:y,date:d.date})}})]}),(0,Ve.jsx)(T,{borderTop:!0}),(0,Ve.jsx)(T,{children:Ka.Date.MonthCalendar({min:a,max:o,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[y,x,w]=b;c({modifiedType:"update",year:y,month:x,date:w})}})}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:d,callback:c}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([l,s.zeroEmbed(2),"01"].join("/")),v=p.getLastDayOfTheMonth(),b=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,y=[],x=[],w=[],R=[],N={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)y.push((0,Ve.jsx)(T,E(_({className:[Aa("CalendarDay"),Aa("Legend")].join(" ")},N),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)x.unshift((0,AO.createElement)(T,E(_({className:[Aa("CalendarDay"),Aa("Dummy")].join(" "),fontColor:"4.thin"},N),{key:M}),b-M));for(var M=1;M<=v.date;M++){let P=M,U=l==h.year&&s==h.month&&M==h.date,H=!1;{let J=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>J&&(H=!0),r.max){let I=Number(String(r.max).replace(/\D/ig,""));J>I&&(H=!0)}}w.push((0,Ve.jsx)(le.Clear,E(_({className:[Aa("CalendarDay"),Aa("isToday_"+U)].join(" ")},N),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,P])},tabIndex:-1,isLocked:H,children:M}),P))}for(var M=1;M<7-v.weekday;M++)R.push((0,Ve.jsx)(T,E(_({className:[Aa("CalendarDay"),Aa("Dummy")].join(" "),fontColor:"4.thin"},N),{children:M}),M));return(0,Ve.jsxs)(ua,{gridCols:7,gap:"1/6",children:[y,x,w,R]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h,month:p}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{gap:0,children:[(0,Ve.jsx)(Pe.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Ve.jsx)(ps,{emptySelect:!1,value:h,options:Lw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),onUpdateValidValue:({value:v})=>{c({modifiedType:"update",year:Number(v),month:p})}})}),(0,Ve.jsx)(Ka.Variables.ShiftButtons,{callback:v=>{let b=Math.min(Math.max(h+v,1900),2100);c({modifiedType:"update",year:b,month:p})}})]}),(0,Ve.jsx)(T,{borderTop:!0}),Ka.Month.Months({min:a,max:o,year:d.year,callback:v=>{let[b,y]=v;c({modifiedType:"update",year:b,month:y})}}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Ar.Time)(),s=[];for(let d=1;d<=12;d++){let c=a==l.year&&d==l.month,h=!1;{let v=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>v&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));v>b&&(h=!0)}}let p=[Aa("Cell"),c?Aa("isThisMonth"):""].join(" ");s.push((0,Ve.jsxs)(le.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ve.jsx)(ua,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsx)(ps,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:Lw({min:a,max:o}),onUpdateValidValue:({value:p})=>{c({modifiedType:"update",year:Number(p)})}}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{era:h,year:p,month:v,date:b}=d,y={val_value:d,set_value:c};return(0,Ve.jsxs)(T,{children:[(0,Ve.jsxs)(Pe.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Ve.jsx)(Ka.DateWareki.EraSelect,_({},y)),(0,Ve.jsx)(T,{borderRight:!0}),(0,Ve.jsx)(Ka.DateWareki.Calendar,_({},y))]}),(0,Ve.jsx)(Pe.Right,{padding:1,children:(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ve.jsxs)(ct,{padding:1,gap:0,children:[(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=(0,Ar.Time)();o({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=(0,Ar.Time)();o({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Ar.Time)().year+10;for(let d=1900;d<s;d++)l.unshift({value:d,label:d+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Ar.Time)().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{children:[(0,Ve.jsx)(ps,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:({value:s})=>{o(d=>E(_({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ve.jsxs)(Pe.Center,{gap:"1/3",children:[(0,Ve.jsx)(ps,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:({value:s})=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ve.jsx)(le.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ve.jsx)(we.ChevronLeft,{})}),(0,Ve.jsx)(le.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ve.jsx)(we.ChevronRight,{})})]})]}),(0,Ve.jsx)(Ka.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),c=[];for(let p=0;p<7;p++)c.push((0,Ve.jsx)(Ye.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ar.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let v=(0,Ar.Time)(l).getFirstDayOfTheMonth().addDate(p-s);c.push((0,Ve.jsx)(le.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"lastMonth-"+p))}let h=(0,Ar.Time)();for(let p=1;p<=d.date;p++){let v=(0,Ar.Time)(l).setDate(p),b=h.diff(v).dates==0;c.push((0,Ve.jsx)(le.Clear,{ssSquare:3,fontColor:"2.normal",className:[Aa("CalendarDay"),Aa("isToday_"+b)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"currentMonth-"+p))}for(let p=0;p<7-d.weekday-1;p++){let v=(0,Ar.Time)(l).addMonth(1).setDate(1).addDate(p);c.push((0,Ve.jsx)(le.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"nextMonth-"+p))}return(0,Ve.jsx)(ua,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,Ve.jsxs)(_t,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Ve.jsxs)(le.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Ve.jsx)(we.Times,{})," \u524A\u9664"]}),(0,Ve.jsx)(le.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),Ft.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ve.jsxs)(_t,{gap:"1/3",flexWrap:!1,children:[(0,Ve.jsx)(le.Clear,E(_({className:Aa("LeftButton"),tabIndex:-1,right:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Ve.jsx)(we.ChevronLeft,{})})),(0,Ve.jsx)(le.Clear,E(_({className:Aa("RightButton"),tabIndex:-1,left:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Ve.jsx)(we.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var xd=" ~ ",F$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+xd.length,length:4},{type:"month",from:15+xd.length,length:2},{type:"date",from:18+xd.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+xd.length,length:4},{type:"month",from:13+xd.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},Cd={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=_n.default.flatArray(o||""),{defaultValue:d,format:c,ranges:h,sets:p}=F$[a],v=[],b=a=="clock"?":":"/";for(let y=0;y<s.length;y++)s[y]=String(s[y]).replace(/\D/ig,b);for(let y=0;y<p;y++){let x=s[y]||"";if(!x.match(c))s[y]="",v.push(d);else{let w=d;x.split(/\D/).forEach((R,N)=>{if(N==0&&a=="dateWareki"){let M=Number(R);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),R=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,R.length)),R)}),v.push(w)}}return{formatValue:v.join(xd),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:d}=a,c=[],h=_n.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let v=o=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,v);for(let b=0;b<h.length;b++){let y=h[b],x=h[b-1];y.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(y>=x))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);!y||!x?p.filled=!1:(Number(y)>23||Number(x)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(b=>{let[y,x,w]=b.split(/\D+/);if(!y||!x||!w)p.filled=!1;else{let R=xm.Time(b);(!R.validate||b!=R.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);if(!y||!x)p.filled=!1;else{let w=xm.Time(y+"/01/01").weekday,R=xm.Time(y+"/01/0"+(7-w+1)).addWeek(Number(x)-1);y!=String(R.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);!y||!x?p.filled=!1:xm.Time([y,x,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let y=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>y&&(p.prohibited=!0),s){let x=Number(String(s).replace(/\D/ig,""));y>x&&(p.prohibited=!0)}}})))})();{let{empty:v,escalated:b,filled:y,correct:x,prohibited:w}=p;v&&d&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),x||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),y||c.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&c.push({type:"invalid",label:(0,ia.jsxs)(ia.Fragment,{children:[(0,ia.jsx)(T,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!c.filter(({type:v})=>v=="invalid").length,notice:c}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:d,val_focus:c,set_focus:h}=r,{key:p,shiftKey:v,ctrlKey:b,metaKey:y}=l,x=b||y,{selectionStart:w,selectionEnd:R}=l.target,{index:N,prevIndex:M}=c,{ranges:G,formatValue:P}=s,U=G.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let H=0;if(p=="Tab"){let J=+!v*2-1;if(H=c.index+J,H<0||H>U)return}else{let J=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;x||w==0&&R==String(s.formatValue).length?H=J==1?U:0:H=Math.max(0,Math.min(N+J,U))}h(J=>E(_({},J),{index:H,prevIndex:N})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let H=N;H=Math.max(H,0),H=Math.min(H,U);let{type:J,from:I,length:re}=G[H],ge=P.slice(I,I+re),ne;if(p=="Backspace")ne="------".slice(0,re);else if(["ArrowUp","ArrowDown"].includes(p)){let ke=p=="ArrowUp"?1:-1;ge=ge|0,ne=ge+ke;let[xe,ye,V]=J=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:J=="minute"?[0,59,2]:J=="hour"?[0,23,2]:J=="date"?[1,31,2]:J=="week"?[1,53,2]:J=="month"?[1,12,2]:J=="year"?[0,2999,4]:[0,0,0];ne>ye?ne=xe:ne<xe&&(ne=ye),ne=Number(ne).zeroEmbed(V)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ke=ge|0,xe=p,ye=`${ke}${xe}`;if(M!=N&&(ke=0,ye="0"+xe),J=="year"||J=="dateWareki"&&a=="year")Number(ye)>1e4?ne=xe:ne=ye,(ne|0)>1e3&&H++;else if(["hour","minute","date","week","month"].includes(J)||J=="dateWareki"&&a!="year"){let V=J=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:J=="minute"?59:J=="hour"?23:J=="date"?31:J=="week"?53:J=="month"?12:0;ne=(ye|0)>V?xe:ye,(Number(xe)>Number(String(V)[0])||ge=="0000".slice(0,String(V).length)&&(ye!="0000".slice(0,String(V).length)||["minute","hour"].includes(J)&&M==N)||(ye|0)>=TR(10,String(V).length-1))&&H++}J=="year"||J=="dateWareki"?ne=(ne|0).zeroEmbed(4):ne=(ne|0).zeroEmbed(2)}{let ke=String(P).partReplace(I,String(ne)),xe=ke.split(xd).map(ye=>ye.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ye=xe[0].split(/\D/),[V,se,pe]=ye;ye.length==3&&V&&(xe=[[Number(V)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),se,pe].join("/")])}H=Math.max(H,0),H=Math.min(H,U),d(ye=>E(_({},ye),{dataValue:["dates","months"].includes(o)?xe:xe[0],formatValue:ke,eventType:"update",eventID:(0,_n.UUID)()})),h(ye=>E(_({},ye),{index:H,prevIndex:ye.index}))}}}},OO={picker:{launch:r=>{let a=r.sheetID||(0,_n.UUID)(),o=r,{onValueUpdate:l,min:s,max:d,era:c,restrict:h,defaultValue:p}=o,v=Je(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);Ft.open(E(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},v),{content:(0,ia.jsx)(Pe.Center,{children:(0,ia.jsx)(LO,{restrict:h,min:s,max:d,era:c,defaultValue:p,sheetID:a,onValueUpdate:(b,y)=>{l(b,y)}})})}))},remove:r=>{na.close(r)}}},j$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,ia.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ia.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),children:(0,ia.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},H$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:d,era:c,form:h,name:p,min:v,max:b,className:y,enableFormSubmit:x,checkValidationAtFirst:w,onKeyDown:R,onValidate:N,onUpdateValue:M,onUpdateValidValue:G,value:P="",leftIndicator:U,rightIndicator:H,leftIcon:J,rightIcon:I,freeCSS:re,wrapStyles:ge}=a,ne=Je(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ke,xe]=(0,Oo.useState)(c),[ye,V]=(0,Oo.useState)(E(_({componentID:r.componentID||""},Cd.DataLeveling({restrict:s,value:P,era:ke})),{eventType:"init",eventID:(0,_n.UUID)()})),[se,pe]=(0,Oo.useState)({ok:!1,notice:[]}),[j,$]=(0,Oo.useState)({active:!1,index:0,prevIndex:-1}),oe={rootStates:r,val_status:ye,set_status:V,val_validate:se,set_validate:pe,val_era:ke,set_era:xe,val_focus:j,set_focus:$};Kt.CommonEffects({type:"time",states:r,val_status:ye,set_status:V,val_validate:se,set_validate:pe,SystemValidation:Cd.SystemValidation,ExtraOverrideStates:_({},Cd.DataLeveling({restrict:s,value:P,era:ke}))});let ee=(0,Oo.useRef)(!1);return(0,Oo.useEffect)(()=>{if(ee.current){V(Ce=>_(_({},Ce),Cd.DataLeveling({restrict:s,value:Ce.dataValue,era:ke})));let ue=_n.useStore.get("refreshEra_"+ye.componentID);ue&&ue.refreshEra(ke)}else ee.current=!0},[ke]),_n.useStore.update({[ye.componentID]:{openPicker:ue=>{r.disabled||OO.picker.launch({parent:ue,sheetID:"PickerTips-"+ye.componentID,restrict:s,min:v,max:b,defaultValue:ye.dataValue,era:ke,onValueUpdate:(Ce,Se)=>{V(Ie=>E(_(_({},Ie),Cd.DataLeveling({restrict:s,value:Ce,era:Se})),{eventType:"update",eventID:(0,_n.UUID)()})),xe(Se)}})},resetEra:ue=>{xe(ue),V(Ce=>E(_(_({},Ce),Cd.DataLeveling({restrict:s,value:"",era:ke})),{eventType:"update",eventID:(0,_n.UUID)()}))}}}),(0,Oo.useEffect)(()=>{let{index:ue,active:Ce}=j;if(Ce){ue=Math.max(ue,0),ue=Math.min(ue,ye.ranges.length-1);let{from:Se,length:Ie}=ye.ranges[ue],Ge=bt("#"+r.id)[0];Ge&&Ge.setSelectionRange(Se,Se+Ie)}},[j]),(0,ia.jsxs)(Ua,{val_status:ye,set_status:V,val_validate:se,states:r,children:[(0,ia.jsx)(j$.Shallow,_({},oe)),(0,ia.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),st.get().isTouchDevice?(0,ia.jsx)(le.Plain,E(_({"data-show-validation":Kt.isShowValidation(se,ye,!!w),"data-component-id":ye.componentID,"data-input-origin":ye.componentID,"data-disabled":r.disabled,className:y,freeCSS:{textAlign:"left"}},ne),{children:ye.formatValue,onClick:ue=>{let Ce=_n.useStore.get(ye.componentID);Ce&&Ce.openPicker(`[data-input-origin="${ye.componentID}"]`),ue.stopPropagation()}})):(0,ia.jsx)(T,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Kt.isShowValidation(se,ye,!!w),"data-input-origin":ye.componentID,"data-disabled":r.disabled,value:ye.formatValue,className:y,tabIndex:st.get().isTouchDevice?-1:0,onKeyDown:ue=>{Cd.KeyDownEvent({restrict:s,event:ue,val_era:ke,val_status:ye,set_status:V,val_focus:j,set_focus:$}),R&&R(ue),x&&Kt.SubmitForm(ue,h)},onKeyUp:ue=>{ue.key=="Tab"&&$(Ce=>E(_({},Ce),{active:!0}))},onClick:ue=>{let Ce=ue.target.selectionEnd,Se=0;ye.ranges.forEach((Ie,Ge)=>{let{from:Qe,length:yt,region:Ht}=Ie;Qe<=Ce&&Ce<=Qe+(Ht||yt)&&(Se=Ge)}),$(Ie=>E(_({},Ie),{active:!0,index:Se})),ue.preventDefault()},onChange:()=>{}},ne))]})},Hs={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,Oo.useState)(r.componentID||(0,_n.UUID)());if(a.componentID=o,_n.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?BO.faClock:NO.faCalendarAlt;a.rightIcon=(0,ia.jsx)(Ha,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ia.jsx)(le.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=_n.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ia.jsx)(we,{icon:l})})})}return(0,ia.jsx)(La,{componentID:a.componentID,children:H$,states:Gn(a)})},Clock:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"date"},r)),Week:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"week"},r)),Month:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"month"},r)),Year:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,Oo.useState)(r.componentID||(0,_n.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Oo.useState)((()=>{let d="year";if(o=="wareki"&&(d="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let v=Number(c);v>=2019?(v-=2019,d="reiwa"):v>=1989?(v-=1989,d="heisei"):v>=1926?(v-=1926,d="shouwa"):v>=1912?(v-=1912,d="taisho"):v>=1868&&(v-=1868,d="meiji"),v+=1}}return d})());return(0,Oo.useEffect)(()=>{_n.useStore.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,ia.jsx)(Hs.Origin,E(_({restrict:"dateWareki",leftIndicator:(0,ia.jsx)(ps,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:({value:d,eventType:c})=>{s(d);let h=_n.useStore.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"dates"},r)),Month:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"months"},r))},fn:OO};var rr=X(Bt()),Va=X(fr()),jr=X(ir());var Rd=X(Bt()),op=X(ir());var kd=X(Bt()),V_=X(ir());var Td=X(fr());var ap=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,c=Je(a,["color","size","showInitial","loaderID"]),[h]=(0,Td.useState)(d),[p]=(0,Td.useState)((0,V_.UUID)()),[v,b]=(0,Td.useState)(s),y=0;l=="S"?y=1:l=="R"?y=1.5:l=="L"?y=3:l=="XL"?y=4:l=="MAX"&&(y=6);let x={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,Td.useEffect)(()=>{let w=bt('[data-component-id="'+p+'"]');v?w.removeClass(Da("Hide")).await(10).addClass(Da("Active")):w.removeClass(Da("Active")).await(210).addClass(Da("Hide"))},[v]),(0,Td.useEffect)(()=>{V_.useStore.set({[p]:{active:w=>{h==w&&b(!0)},stop:w=>{h==w&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,kd.jsxs)(Pe.Center,E(_({className:[Da("MiniLoader"),Da(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:y,position:"relative"},c),{children:[(0,kd.jsx)("svg",{className:Da("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:x},children:(0,kd.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,kd.jsx)("svg",{className:Da("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:x},children:(0,kd.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var jl=X(Bt()),IO=X(ir());var W_=X(fr());var PO=()=>{let[r,a]=(0,W_.useState)(!1);return(0,W_.useEffect)(()=>{IO.useStore.set({["Loader-corner-"+st.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,jl.jsxs)(_t,{className:[Da("CornerLoader"),r?Da("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,jl.jsxs)(_t,{className:Da("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,jl.jsx)(T,{className:Da("Ld4")}),(0,jl.jsx)(T,{className:Da("Ld3")}),(0,jl.jsx)(T,{className:Da("Ld2")}),(0,jl.jsx)(T,{className:Da("Ld1")}),(0,jl.jsx)(T,{className:Da("Ld2")}),(0,jl.jsx)(T,{className:Da("Ld3")}),(0,jl.jsx)(T,{className:Da("Ld4")})]}),(0,jl.jsx)(T,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var np=r=>{let a=r.color;return{S:o=>(0,Rd.jsx)(ap,_({size:"S",color:a},o)),R:o=>(0,Rd.jsx)(ap,_({size:"R",color:a},o)),L:o=>(0,Rd.jsx)(ap,_({size:"L",color:a},o)),XL:o=>(0,Rd.jsx)(ap,_({size:"XL",color:a},o)),MAX:o=>(0,Rd.jsx)(ap,_({size:"MAX",color:a},o))}},an={Wrapper:()=>(0,Rd.jsx)(PO,{}),Theme:np({color:"theme"}),Posi:np({color:"posi"}),Nega:np({color:"nega"}),Warn:np({color:"warn"}),White:np({color:"white"}),Cloud:np({color:"cloud"}),fn:{corner:{active:()=>{let r=op.useStore.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=op.useStore.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{bt("."+Da("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=op.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{bt("."+Da("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=op.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{bt("."+Da("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=op.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{an.fn.corner.stop(),an.fn.mini.stopALL()}}};function U$(r){let{value:a,states:o}=r,{required:l,options:s,min:d,max:c}=o;d=d||0,c=c||65535;let h=[],p=a.filter(v=>v!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var ip={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:d,searchValue:c}=o,h=c||(jr.default.is.string(s)?s:"")||(jr.default.is.string(d)?d:"");a.push(E(_({},o),{searchValue:h,type:l||"selector",value:d}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},lp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,rr.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,rr.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,rr.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:d,val_options:c,set_options:h,val_optionsDict:p,set_optionsDict:v,val_preventOpenSelectorOnFocus:b,set_preventOpenSelectorOnFocus:y,val_selectorOpen:x,set_selectorOpen:w,val_status:R,set_status:N,val_validate:M,set_validate:G}=r,P=a,{tone:U,required:H,form:J,className:I,multiSelect:re,enableFormSubmit:ge,checkValidationAtFirst:ne,onValidate:ke,onUpdateValue:xe,onUpdateValidValue:ye,value:V="",options:se,leftIndicator:pe,rightIndicator:j,leftIcon:$,rightIcon:oe,componentID:ee,status_id:ue,wrapStyles:Ce,emptySelect:Se,SearchInput:Ie,SearchInputPlaceholder:Ge,SelectedComponent:Qe,SelectorComponent:yt,SelectorStyles:Ht,SelectorPosition:pt,DynamicOptionsOnSearch:kt}=P,vt=Je(P,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,Va.useEffect)(()=>{var it,Te;if(a.disabled||!x)return;let Rt=ip.FilterSelectableOptions(r);d((Te=(it=Rt[0])==null?void 0:it.value)!=null?Te:null)},[o]),(0,Va.useEffect)(()=>{R.eventType!="init"&&(a.max==R.dataValue.length?(w(!1),y(!0),setTimeout(()=>{let it=(0,jr.default)('[data-input-origin="'+a.componentID+'"]');it&&it.focus()},10)):(0,jr.default)("#SearchInput_"+a.componentID).focus())},[R.dataValue]),(0,Va.useEffect)(()=>{let it="autocomplete-click-"+a.componentID;if(x){if(!(0,jr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,jr.default)("#SearchInput_"+a.componentID).focus(),(0,jr.default)(document).addEvent({eventID:it,eventType:"mousedown",callback:Te=>{let Rt=(0,jr.default)(Te.target),Ut=!!(0,jr.default)(Rt).parent("."+ss("Core")).length;(0,jr.default)(Rt).parent("."+ss("Selector")).length||Ut||w(!1)}})}else(0,jr.default)(document).removeEvent([it]),l("")},[x]),(0,rr.jsxs)(rr.Fragment,{children:[(0,rr.jsx)(T,E(_({tabIndex:0},vt),{"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(M,R,!!ne),"data-component-id":R.componentID,"data-input-origin":R.componentID,"data-focus":!!x,className:[I,ss("Core")].join(" "),onFocus:it=>{if(vt!=null&&vt.onFocus&&(vt==null||vt.onFocus(it)),!a.disabled){if(b)return y(!1);w(!0),it.preventDefault()}},onClick:it=>{vt!=null&&vt.onClick&&(vt==null||vt.onClick(it)),!a.disabled&&w(!0)},onKeyDown:it=>{let{key:Te}=it;ge&&Kt.SubmitForm(it,J),!x&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&w(!0)},children:(0,rr.jsxs)(Pe.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,rr.jsx)(lp.Selected,_({},r)),(0,rr.jsx)(tn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,rr.jsx)(lp.SearchInput,_({},r))]})})),x&&(0,rr.jsx)(lp.Selector,_({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,Va.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,rr.jsx)(T,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:d,metaKey:c,ctrlKey:h}=s,p=c||h;d=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let v=(0,jr.default)('[data-input-origin="'+a.componentID+'"]');v&&v.focus()},10)):d=="Tab"?r.set_selectorOpen(!1):d==" "?jr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):d=="Backspace"?jr.default.scope(()=>{if(r.val_keyword)return;let v=[...r.val_status.dataValue];v.pop(),r.set_status(b=>E(_({},b),{dataValue:v,eventType:"update",eventID:(0,jr.UUID)()}))}):d=="Enter"&&jr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let v=r.val_options.find(y=>y.value==r.val_optionFocused);if(!v)return;let{value:b}=v;r.set_status(y=>{let x=[...y.dataValue];return jr.default.scope(()=>{if(b===null)return x=[];y.dataValue.includes(b)?x=x.filter(w=>w!==b):a.multiSelect?x.push(b):x=[b]}),E(_({},y),{dataValue:x,eventType:"update",eventID:(0,jr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),jr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(d))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let v=d=="ArrowDown"?1:-1,b=ip.FilterSelectableOptions(r),y=b.length-1,x=null;jr.default.scope(()=>{var w,R,N,M,G,P,U,H,J,I;let re=b.findIndex(ge=>ge.value==r.val_optionFocused);if(re==-1&&(re=0),v==1){if(x=(R=(w=b[0])==null?void 0:w.value)!=null?R:null,p){x=(N=b[y].value)!=null?N:null;return}if(re==-1||re==y)return;x=(G=(M=b[re+1])==null?void 0:M.value)!=null?G:null}else{if(x=(P=b[y].value)!=null?P:null,p){x=(H=(U=b[0])==null?void 0:U.value)!=null?H:null;return}if(re==-1||re==0)return;x=(I=(J=b[re-1])==null?void 0:J.value)!=null?I:null}}),r.set_optionFocused(x)}),a.enableFormSubmit&&Kt.SubmitForm(s,r.rootStates.form)},onChange:s=>{let d=s.target.value;r.set_keyword(d)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,Va.useState)("idle"),[s,d]=(0,Va.useState)("idle");(0,Va.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");d("fetch");let b="autocomplete-search-"+r.rootStates.componentID;jr.default.interval.once(()=>Oa(void 0,null,function*(){let y=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);d("idle");let x=ip.InitOptions(y||[]);r.set_options(x)}),300,b)},[r.val_keyword]);let c=[],h=ip.FilterSelectableOptions(r,!0),p=ip.FilterSelectableOptions(r);h.forEach((b,y)=>{let{type:x,value:w}=b,R=r.val_optionFocused==w,N=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;c.push((0,rr.jsx)(M,{option:b,isFocused:R,isSelected:N,addCallback:()=>{r.set_status(G=>{let P=[...G.dataValue];return jr.default.scope(()=>{if(w===null)return P=[];G.dataValue.includes(w)?P=P.filter(U=>U!==w):r.rootStates.multiSelect?P.push(w):P=[w]}),E(_({},G),{dataValue:P,eventType:"update",eventID:(0,jr.UUID)()})})}},jr.default.Stringify(w)||(0,jr.UUID)()))}),p.length||(c=[(0,rr.jsx)(Ye.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(c=[(0,rr.jsxs)(Pe.Left,{padding:1,fontColor:"3.blur",children:[(0,rr.jsx)(an.Theme.R,{showInitial:!0}),(0,rr.jsx)(Ye.Supplement,{children:"Loading..."})]},"loader")]);let v={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:v.bottom="100%",v.left=0,v.paddingBottom="1/3";break;case 2:v.bottom="100%",v.right=0,v.paddingBottom="1/3";break;case 3:v.top="100%",v.left=0,v.paddingTop="1/3";break;case 4:v.top="100%",v.right=0,v.paddingTop="1/3";break;default:break}return(0,rr.jsx)(T,E(_({},v),{children:(0,rr.jsx)(Ft.Body,E(_({className:ss("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,rr.jsx)(ct,{gap:"1/12",padding:[1,0],children:c})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,d=[];return o.dataValue.forEach(c=>{let h=s[jr.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,v=h.label;h.value===null&&(v=""),d.push((0,rr.jsx)(T,{className:ss("SelectedCell"),children:(0,rr.jsx)(p,{value:h.value,label:v,removeCallback:b=>{if(b.stopPropagation(),b.preventDefault(),a.disabled)return;let y=[...o.dataValue];y=y.filter(x=>x!==c),l(x=>E(_({},x),{dataValue:y,eventType:"update",eventID:(0,jr.UUID)()}))}})},jr.default.Stringify(h.value)))}),(0,rr.jsx)(rr.Fragment,{children:d})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Va.useState)(!1),[d,c]=(0,Va.useState)(!1),[h,p]=(0,Va.useState)(!1),[v,b]=(0,Va.useState)(""),[y,x]=(0,Va.useState)(r.options),[w,R]=(0,Va.useState)((a=r.value[0])!=null?a:null),[N,M]=(0,Va.useState)({}),[G,P]=(0,Va.useState)(Kt.DefaultStatus(r.componentID,o)),[U,H]=(0,Va.useState)({ok:!1,notice:[]}),J=(0,Va.useRef)(!1);(0,Va.useEffect)(()=>{J.current?x(r.options):J.current=!0},[r.options]),(0,Va.useEffect)(()=>{if(!y.length)return;let ne=[...y],ke=_({},N);ne.forEach(xe=>{xe.type!="label"&&(ke[jr.default.Stringify(xe.value)]=xe)}),M(ke)},[y]);let I={rootStates:r,val_options:y,set_options:x,val_optionFocused:w,set_optionFocused:R,val_optionsDict:N,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:d,set_preventDynamicSearchOnKeywordChange:c,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:v,set_keyword:b,val_status:G,set_status:P,val_validate:U,set_validate:H},re=!!r.multiSelect;Kt.CommonEffects({type:re?"autocomplete.multi":"autocomplete.single",states:r,val_status:G,set_status:P,val_validate:U,set_validate:H,SystemValidation:U$});let ge=G.dataValue.length&&G.dataValue[0]!==null;return ge=ge||h,(0,rr.jsxs)(Ua,{val_status:G,set_status:P,val_validate:U,states:r,children:[(0,rr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:ge}),(0,rr.jsx)(lp.Shallow,_({},I)),(0,rr.jsx)(lp.Button,_({},I))]})}},q_=r=>{var a;let o=_({},r);return o=E(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:d,addCallback:c})=>l.type=="selector"?(0,rr.jsx)(le.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:d,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{c()},children:(0,rr.jsxs)(Pe.Left,{gap:"1/2",children:[s&&(0,rr.jsx)(we.Check,{fontColor:"theme"}),(0,rr.jsx)(Ye.Supplement,{transition:"short",children:l.label})]})}):(0,rr.jsx)(rr.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:d})=>(0,rr.jsxs)(Pe.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,rr.jsx)(T,{padding:[0,"1/4"],children:s}),(0,rr.jsx)(le.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:d,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,rr.jsx)(we.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,rr.jsx)(Ye.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=jr.default.flatArray((a=o.value)!=null?a:null),o.options=ip.InitOptions(o.options),jr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,rr.jsx)(Ha,{ssSphere:2,children:(0,rr.jsx)(we.Search,{})}),o.disabled&&(o.rightIcon=(0,rr.jsx)(Ha,{ssSphere:2,fontColor:"5.translucent",children:(0,rr.jsx)(we.Ban,{})}))),o.rightIcon&&(o=_({paddingRight:3},o)),o.leftIcon&&(o=_({paddingLeft:3},o)),(0,rr.jsx)(La,{componentID:o.componentID,children:lp.Core,states:Gn(o)})};var Ed=X(Bt());var MO=r=>(0,Ed.jsx)(q_,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Ed.jsx)(Ed.Fragment,{children:o}),rightIcon:(0,Ed.jsx)(Ha,{ssSphere:2,children:(0,Ed.jsx)(we.AngleDown,{})})},r));var wr=X(Bt()),Dd=X(fr()),Hl=X(ir());var Io=X(Bt()),zO=X(fr()),Po=X(ir());var Ec=X(fr());var Kn={add:function(r){let a=Po.useStore.get("Snackbar-"+st.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Po.useStore.get("Snackbar-"+st.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Io.jsx)(FO.Wrapper,{})},FO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,Po.UUID)(),children:d,customChildren:c}=a,h=Je(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Ec.useState)(s),[v,b]=(0,Ec.useState)(r.secondsToClose||10);(0,Ec.useEffect)(()=>{let x=bt('[data-component-id="'+p+'"]');setTimeout(()=>{x.addClass(pm("FadeIn"))},10),Po.useStore.set({["Snackbar-"+o]:{remove:()=>{x.addClass(pm("FadeOut"))}}})},[]),(0,Ec.useEffect)(()=>{Po.default.interval.once(()=>{v<=0||b(v-1)},1e3,"Snackbar-"+p),v===0&&Kn.remove(o)},[v]);let y=(0,Io.jsx)(Io.Fragment,{});return c?y=(0,Io.jsx)(c,{close:()=>{Kn.remove(o)}}):y=(0,Io.jsxs)(Pe.Separate,{verticalAlign:"top",children:[(0,Io.jsx)(T,{padding:["1/4",0],flexSizing:0,children:Po.default.is.function(d)?(0,Io.jsx)(d,{}):d}),(0,Io.jsx)(le.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{Kn.remove(o)},children:(0,Io.jsx)(we.Times,{})})]}),(0,Io.jsx)(T,E(_({className:pm("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:y}))},Wrapper:()=>{let[r,a]=(0,Ec.useState)((0,Po.UUID)()),[o,l]=(0,Ec.useState)([]);(0,Ec.useEffect)(()=>{Po.useStore.set({["Snackbar-"+st.get().sessionUID]:{add:d=>{d.snackID=d.snackID||(0,Po.UUID)();let c=o.findIndex(h=>h.snackID==d.snackID);if(c==-1)o.unshift(E(_({},d),{snackID:d.snackID}));else{let h=[...o];h[c]=E(_({},d),{snackID:d.snackID}),o=h}a((0,Po.UUID)())},remove:d=>{let c=Po.useStore.get("Snackbar-"+d);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=o.findIndex(v=>v.snackID==d);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))}}})},[o.length]);let s=o.map(d=>(0,zO.createElement)(FO.Cell,E(_({},d),{key:d.snackID})));return(0,Io.jsx)(_t,{className:["AMOTIFY_be",pm("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:s})}};var $O=X(YO());function V$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var GO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,d=(o.dataValue||[]).map((c,h)=>(0,wr.jsx)(GO.ListCell,E(_({},r),{index:h,val_file:c}),c.name));return s>0&&d.push((0,wr.jsx)(T,E(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,ls("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:c=>{let{key:h}=c;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&bt("#"+a.id).click()},children:(0,wr.jsxs)(Pe.Center,{padding:["1/3",0],children:[(0,wr.jsx)(T,{isRounded:!0,className:ls("AddIcon"),children:(0,wr.jsx)(we,{icon:$O.faCloudArrowUp,className:ls("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,wr.jsxs)(T,{children:[(0,wr.jsxs)(T,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,wr.jsx)(T,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,wr.jsx)(ct,E(_({flexSizing:"auto"},Fl(a)),{className:a.className,children:d}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:d}=r,{name:c,size:h,type:p}=l,[v,b]=(0,Dd.useState)(!1),y=(0,Hl.UUID)(),x=h.rank(),[w,R]=c.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),N="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?N=p.replace(/image\//,""):p.match(/pdf/)?N="PDF":p.match(/csv/)?N="CSV":p.match(/spreadsheet/)?N="SpreadSheet":p.match(/presentation/)?N="PowerPoint":p.match(/word/)?N="Word":p.match(/zip/)?N="Zip":p.match(/powerpoint/)?N="PowerPoint":p.match(/html/)?N="HTML":p.match(/js/)?N="JavaScript":p.match(/css/)?N="CSS":p.match(/text\/plain/)&&(N="\u30C6\u30AD\u30B9\u30C8"),(0,Dd.useEffect)(()=>{v&&setTimeout(()=>{bt("#"+y).focus()},100)},[v]),(0,wr.jsxs)(_t,E(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,wr.jsx)(we.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,wr.jsxs)(T,{flexSizing:0,children:[(0,wr.jsx)(T,{children:(0,wr.jsx)(_t,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:ls("FileName"),children:v?(0,wr.jsx)(wr.Fragment,{children:(0,wr.jsxs)(ct,{flexSizing:0,gap:"1/2",children:[(0,wr.jsxs)(_t,{gap:"2/3",verticalAlign:"center",children:[(0,wr.jsx)(gn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:y,form:"form-"+y,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:G}=M;G=="Escape"&&b(!1)}}),(0,wr.jsxs)(T,{children:[". ",R]})]}),(0,wr.jsxs)(_t,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,wr.jsx)(le.Sub,{padding:["2/3",1],onClick:()=>{b(!1)},children:"\u9589\u3058\u308B"}),(0,wr.jsx)(le,{padding:["2/3",1],submitOption:{formName:"form-"+y,callback:M=>Oa(void 0,null,function*(){let{name:G}=M,P=[...s.dataValue],U=P[a],H=U.id;if(!U)return;let{target:J}=yield U.convert();if(!J)return;let I=yield String(J.result).toBlob(l.type);if(!I)return;let re=new File([I],G+"."+R,{type:U.type});re.id=H,P[a]=re,d(ge=>E(_({},ge),{dataValue:P,eventType:"update",eventID:(0,Hl.UUID)()})),b(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,wr.jsxs)(wr.Fragment,{children:[c,!!o.isNameEditable&&(0,wr.jsx)(le.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{b(!0)},children:(0,wr.jsx)(we.Pen,{})})]})})}),!v&&(0,wr.jsxs)(T,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[N,"\u30D5\u30A1\u30A4\u30EB / ",x,"B"]})]}),(0,wr.jsx)(le.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),d(G=>E(_({},G),{dataValue:M,eventType:"update",eventID:(0,Hl.UUID)()})))},children:(0,wr.jsx)(we.Times,{})})]}))}},W$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:d,useSystemOnly:c,accept:h="*",limit:p=1,checkValidationAtFirst:v,onChange:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,value:R=[],className:N,cellStyles:M,cellClassName:G,componentID:P,status_id:U,enableFormSubmit:H,freeCSS:J,wrapStyles:I}=a,re=Je(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[ge,ne]=(0,Dd.useState)(Kt.DefaultStatus(r.componentID||"",R)),[ke,xe]=(0,Dd.useState)({ok:!1,notice:[]}),ye={rootStates:r,val_status:ge,set_status:ne};(0,Dd.useEffect)(()=>{Hl.useStore.set({["AddFiles-"+ge.componentID]:se=>{ne(pe=>{let j=pe.dataValue,$=[];for(var oe=0;oe<(se==null?void 0:se.length);oe++){let ee=se[oe],{type:ue,name:Ce}=ee;if(oe+1+j.length>p){Kn.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${Ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!ue.match(/image/)){Kn.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${Ce} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}$.push(ee)}return E(_({},pe),{dataValue:[...j,...$],eventType:"update",eventID:(0,Hl.UUID)()})})}})},[]),Kt.CommonEffects({type:"file",states:r,val_status:ge,set_status:ne,val_validate:ke,set_validate:xe,SystemValidation:V$});let V="";return h&&(h=="image"?V="image/png,image/jpeg":V=h),(0,wr.jsxs)(Ua,{val_status:ge,set_status:ne,val_validate:ke,states:r,children:[(0,wr.jsx)(T,E(_({htmlTag:"input",type:"file",className:ls("Input"),"data-component-id":ge.componentID,accept:V,multiple:p!=1,onChange:se=>Oa(void 0,null,function*(){b&&b(se);let pe=se.target,j=pe.files,$=[];for(var oe=0;oe<(j==null?void 0:j.length);oe++){let ee=j[oe],ue=ee.name;if(ee.id=(0,Hl.UUID)(),oe+1+ge.dataValue.length>p){Kn.add({componentID:ue,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ue}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}$.push(ee)}ne(ee=>E(_({},ee),{dataValue:[...ee.dataValue,...$],eventType:"update",eventID:(0,Hl.UUID)()})),pe.value=""})},re),{opacity:"low",tabIndex:-1,value:""})),(0,wr.jsx)(GO.List,_({},ye))]})},Nw=r=>(r=E(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Gn({tone:r.tone||"border"})),r.cellStyles)}),(0,wr.jsx)(La,{componentID:r.componentID,children:W$,states:r}));Nw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=d=>{l(d.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Hl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),bt("."+ls("AddButton")).addClass(ls("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),bt("."+ls("AddButton")).removeClass(ls("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(bt(o).hasClass(ls("AddButton"))){let{componentId:l}=o.dataset,s=Hl.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var wo=X(Bt()),Us=X(ir()),km=X(fr());function q$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var XO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:d}=o;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/d),{stepValue:c*d,stepIndex:c,positionLeft:c*d/s*100+"%"}},KO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:d}=r,c=[],h=Math.round(o/s),p=Math.round(l/s),v=p-h+1;for(var b=h;b<=p;b++){let y=b*s;y=Math.max(y,o),y=Math.min(y,l);let x=y/l*100+"%";c.push((0,wo.jsx)(T,{className:Ps("Label"),id:"Legend-"+a+"-"+b,display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:x,whiteSpace:"nowrap",textAlign:"center"},children:d?d(y):y.rank()},y))}return(0,km.useEffect)(()=>{let y=()=>{let x=bt("#Labels-"+a),{width:w}=x.position(),R=Math.round(w/50)-1,N=Math.round(v/R);for(let M=h+1;M<p;M++)bt("#Legend-"+a+"-"+M).css({display:M%N==0?"flex":"none"})};return(0,Us.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{y()}}),y(),()=>{(0,Us.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,wo.jsx)(_t,{className:Ps("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,wo.jsx)(T,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:d}=r,{componentID:c}=a;return(0,wo.jsxs)(_t,{className:Ps("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),sp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,wo.jsx)(T,{className:Ps("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,wo.jsx)(T,{className:Ps("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,wo.jsx)(T,{className:Ps("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,wo.jsx)(le.Plain,{className:Ps("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:c+"_Ball",onKeyDown:h=>{sp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),d&&Kt.SubmitForm(h,s)}})})]})}},sp={Effects:{Start:(r,a)=>{(0,Us.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{sp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{sp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{sp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{sp.Effects.End()}})},Move:(r,a)=>{let o=Us.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:c,max:h}=l,p=bt("#"+d+"_Ball"),v=bt("#"+d+"_Bar"),b=bt("#"+d+"_BarColor"),{width:y,left:x}=v.position(),w=(o-x)/y;w=Math.max(w,0),w=Math.min(w,1);let R=w*h,N=XO({value:R,val_status:l}),M=N.positionLeft,G=N.stepValue;return p.css({left:M}),b.css({width:M}),s(P=>{let U=P.dataValue;return G==U?P:E(_({},P),{dataValue:G,eventType:"update",eventID:(0,Us.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Us.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:d,step:c}=o,{key:h,metaKey:p,ctrlKey:v}=a,b=v||p,y=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?y=s:y-=c:h.match(/Right|Down/)&&(b?y=d:y+=c),y=Math.max(Math.min(y,d),s),l(x=>E(_({},x),{dataValue:y,eventType:"update",eventID:(0,Us.UUID)()})))}},Y$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:d=!0,custom:c,showAlways:h=!1}={},min:p,max:v,step:b,enableFormSubmit:y,checkValidationAtFirst:x,onValidate:w,onUpdateValue:R,onUpdateValidValue:N,value:M="",className:G,freeCSS:P,wrapStyles:U}=a,H=Je(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[J,I]=(0,km.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:v,step:b,eventType:"init",eventID:(0,Us.UUID)()}),[re,ge]=(0,km.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"slider",states:r,val_status:J,set_status:I,val_validate:re,set_validate:ge,SystemValidation:q$});let ne=XO({value:J.dataValue,val_status:J});return(0,wo.jsx)(Ua,{val_status:J,set_status:I,val_validate:re,states:r,children:(0,wo.jsxs)(ct,{gap:"1/2",flexSizing:"auto",className:[Ps("Wrap"),G,Ps("ShowLegendsAlways_"+h)].join(" "),children:[(0,wo.jsx)(KO.Rail,{rootStates:r,color:o,val_status:J,set_status:I,DotData:ne,form:s,enableFormSubmit:y}),!!d&&(0,wo.jsx)(KO.IndicatorLabels,{componentID:J.componentID,min:p,max:v,step:b,customLegends:c})]})})},QO=r=>{let a=_({},r);return(0,wo.jsx)(La,{componentID:r.componentID,children:Y$,states:Bo(a)})};var Mo=X(Bt()),Ow=X(ir()),Iw=X(fr());function $$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var G$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:d,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:v,onKeyDown:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,size:R="regular",value:N="",icon:M="",isApply:G=!1}=a,P=Je(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[U,H]=(0,Iw.useState)({componentID:r.componentID||"",dataValue:N,eventType:"init",eventID:(0,Ow.UUID)()}),[J,I]=(0,Iw.useState)({ok:!1,notice:[]}),re=!!U.dataValue;return Kt.CommonEffects({type:"switch",states:r,val_status:U,set_status:H,val_validate:J,set_validate:I,SystemValidation:$$}),(0,Mo.jsxs)(Ua,{val_status:U,set_status:H,val_validate:J,states:r,children:[(0,Mo.jsx)(T,_({htmlTag:"input",type:"checkbox","data-component-id":U.componentID,checked:U.dataValue,className:vd("Input"),id:c,onKeyDown:ge=>{b&&b(ge),h&&Kt.SubmitForm(ge,d)},onChange:ge=>{let{checked:ne}=ge.target;J.ok&&I({ok:!1,notice:[]}),H(ke=>E(_({},ke),{dataValue:ne,eventType:"update",eventID:(0,Ow.UUID)()})),v&&v(ge)}},P)),(0,Mo.jsx)(zs.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:vd("Label"),children:(0,Mo.jsx)(T,E(_({},G?{padding:"1/4",isRounded:!0,backgroundColor:re?l:"layer.5"}:{}),{children:(0,Mo.jsxs)(Pe.Center,{unitHeight:R=="small"?2:R=="regular"?2.5:R=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!G&&(0,Mo.jsx)(T,{position:"absolute",backgroundColor:re?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:vd("Bar"),freeCSS:{height:"40%"}}),(0,Mo.jsx)(T,{position:"absolute",top:0,backgroundColor:!G&&re?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:vd("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:re?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Mo.jsx)(T,{transition:"middle",flexCenter:!0,fontColor:re?G?l:"white":"6.clear",children:M})})]})}))})]})},Y_=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Mo.jsx)(La,{componentID:a.componentID,children:G$,states:a})},Tm=Y_;Tm.S=r=>(0,Mo.jsx)(Y_,E(_({},r),{size:"small"})),Tm.R=r=>(0,Mo.jsx)(Y_,E(_({},r),{size:"regular"})),Tm.L=r=>(0,Mo.jsx)(Y_,E(_({},r),{size:"large"}));var JO=X(Bt());var ZO=r=>(0,JO.jsx)(U_,E(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Dc=X(Bt()),e7=X(ir()),$_=X(fr());var K$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:d,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:v,cellStyles:b,cellClassName:y,cellCheckedClassName:x,cellCheckedStyles:w,freeCSS:R,wrapStyles:N}=a,M=Je(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[G]=(0,$_.useState)((0,e7.UUID)()),[P,U]=(0,$_.useState)(s),[H,J]=(0,$_.useState)(P);return P!=s&&(U(s),J(s)),(0,Dc.jsx)(wd,E(_({options:d,value:H,componentID:G,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},R),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},b),cellCheckedStyles:_({},w),cellClassName:[y,T_("Label"),T_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[x,T_("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:I=>{h&&h(I),o=="bottomline"&&J(I.value)}}))},G_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=E(_({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:_({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Dc.jsx)(K$,_({__sys_segmented_type:"plain"},r))},ms=G_;ms.Cloud=r=>{let a=E(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))},ms.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Dc.jsx)(ms.Cloud,_({},a))},ms.CloudMono=r=>{let a=E(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Dc.jsx)(ms.Cloud,_({},a))},ms.Border=r=>{let a=E(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))},ms.BorderVivid=r=>{let a=E(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Dc.jsx)(ms.Border,_({},a))},ms.Bottomline=r=>{let a=E(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))};var K_=X(Bt()),t7=X(ir()),Pw=X(fr());function X$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var Q$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:d,checkValidationAtFirst:c,onChange:h,onKeyDown:p,onValidate:v,onUpdateValue:b,onUpdateValidValue:y,value:x=""}=a,w=Je(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[R,N]=(0,Pw.useState)(Kt.DefaultStatus(r.componentID||"",x)),[M,G]=(0,Pw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"color",states:r,val_status:R,set_status:N,val_validate:M,set_validate:G,SystemValidation:X$}),(0,K_.jsx)(Ua,{val_status:R,set_status:N,val_validate:M,states:r,children:(0,K_.jsx)(T,_({htmlTag:"input",type:"color","data-component-id":R.componentID,value:R.dataValue,className:vd("Input"),onKeyDown:P=>{p&&p(P),d&&Kt.SubmitForm(P,s)},onChange:P=>{let{value:U}=P.target;M.ok&&G({ok:!1,notice:[]}),N(H=>E(_({},H),{dataValue:U,eventType:"update",eventID:(0,t7.UUID)()})),h&&h(P)}},w))})},r7=r=>{let a=E(_(E(_({},Gn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,K_.jsx)(La,{componentID:r.componentID,children:Q$,states:a})};var vs=X(ir()),a7=r=>Oa(void 0,null,function*(){let a=1,o={};return yield vs.default.scope(()=>Oa(void 0,null,function*(){if(vs.useStore.get("form-process-"+r))return;vs.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=vs.useStore.get(["form-data",r].join("-"));if(!s){vs.useStore.set({["form-process-"+r]:!1});return}for(let[d,c]of Object.entries(s)){if(!c)continue;let h=vs.useStore.get(c.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=vs.useStore.get(["form-data",r].join("-"));if(!s){vs.useStore.set({["form-process-"+r]:!1});return}for(let[d,c]of Object.entries(s))c&&(a&=Number(c.validation),o[d]=c.value)}vs.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var at;(r=>(r.Plain=JN,r.Hidden=tO,r.TextField=gn,r.Contenteditable=dO,r.DigitCharacters=pO,r.Time=Hs,r.Select=ps,r.Autocomplete=q_,r.List=DO,r.Radio=wd,r.Checkbox=U_,r.Checker=ZO,r.Search=MO,r.Filer=Nw,r.Slider=QO,r.Switch=Tm,r.Segmented=ms,r.Color=r7,r.LeftIcon=Jf,r.RightIcon=Ha,r.LeftIndicator=I_,r.RightIndicator=P_,r.RequiredSign=B_,r.RequiredShortSign=N_,r.OmitSign=O_,r.CollectForm=a7))(at||(at={}));var Q_=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:d}=a,c=Je(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,n7.useEffect)(()=>{d&&d()},[]),(0,X_.jsx)(_t,E(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,X_.jsx)(T,{margin:[0,"auto"],children:(0,X_.jsx)(at.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var ku=X(Bt());var Gr={Table:r=>(0,ku.jsx)(T,E(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,ku.jsx)(T,_({htmlTag:"thead"},r)),Body:r=>(0,ku.jsx)(T,_({htmlTag:"tbody"},r)),Row:r=>(0,ku.jsx)(T,_({htmlTag:"tr"},r)),TH:r=>(0,ku.jsx)(T,_({htmlTag:"th"},r)),TD:r=>(0,ku.jsx)(T,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,ku.jsx)(we.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var zo=X(Bt());var Mw=X(Bt()),i7=X(ir());var o7=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},pl=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var cp=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=E(_({tableID:a.tableID||(0,i7.UUID)(),tone:a.tone},a),{cellStyles:_(_({},o7(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=Bo(l),{className:d,style:c}=s,h=Je(s,["className","style"]),p=[d,tr("Wrap"),tr("TableType_"+a.type),tr("RowClickable_"+!!l.onRowClick)].join(" ");return(0,Mw.jsx)(T,{className:p,style:c,children:(0,Mw.jsx)(o,_({},h))})};var zw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];return d.forEach((p,v)=>{let b=Gr[p.type=="th"?"TH":"TD"],y={top:!0,bottom:!c.length,left:v==0,right:v==s-1,rowIndex:0,colIndex:v,isBody:!1,isHeader:!0},x=pl(y),w=l?l(y):{},R=E(_(_(_(_({},a),x),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[tr("Cell"),o,p.className].join(" ")});h.push((0,zo.jsx)(b,_({},R),v))}),(0,zo.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:c,onRowClick:h}=r,p=[];return d.forEach((v,b)=>{let y=[];v.forEach((x,w)=>{let R=Gr[x.type=="th"?"TH":"TD"],N={top:b==0&&!s,bottom:b==d.length-1,left:w==0,right:w==c-1,rowIndex:b,colIndex:w,isBody:!0,isHeader:!1},M=pl(N),G=l?l(N):{};y.push((0,zo.jsx)(R,E(_(_(_(_({},a),M),x),G),{freeCSS:_(_(_({},a.freeCSS),G.freeCSS),x.freeCSS),className:[tr("Cell"),o,x.className].join(" ")}),w))}),p.push((0,zo.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow")].join(" "),children:y,onClick:x=>{h&&h(v.rowID,x)}},b))}),(0,zo.jsx)(zo.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,zo.jsx)(Gr.Table,{className:tr("Table"),children:(0,zo.jsxs)(Gr.Body,{children:[(0,zo.jsx)(zw.HeadRow,_({},r)),(0,zo.jsx)(zw.BodyRows,_({},r))]})}))},l7=r=>(0,zo.jsx)(cp,E(_({type:"normal"},r),{JSXChildren:zw.Normal}));var Ta=X(Bt()),Fo=X(ir()),up=X(fr());var jw=X(h7());var Hw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let v=d[p],b=Gr[v.type=="th"?"TH":"TD"],y={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},x=pl(y),w=l?l(y):{};h.push((0,Ta.jsx)(b,E(_(_(_(_({},a),x),v),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),v.freeCSS),className:[tr("Cell"),o,v.className].join(" ")}),p))}return(0,Ta.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:c,onOrderChanged:h}=r,[p]=(0,up.useState)((0,Fo.UUID)()),[v,b]=(0,up.useState)({rows:d,origin:0,to:NaN}),y=[];if(v.rows.forEach((x,w)=>{let R=[];{let N={top:w==0&&!s,bottom:w==d.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=pl(N),G=l?l(N):{};R.push((0,Ta.jsx)(Gr.TH,E(_(_(_({padding:0,borderRight:!0},a),M),G),{freeCSS:_(_({},a.freeCSS),G.freeCSS),className:[tr("Cell"),tr("Draggable"),o].join(" "),children:(0,Ta.jsx)(le.Clear,{className:tr("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:P=>{Rm.Start(P,{id:p,index:w,rows:v.rows,maxLength:d.length})},children:(0,Ta.jsx)(we,{icon:jw.faGripVertical})})}),"DragOrigin"))}x.forEach((N,M)=>{N=_({},N);let G=Gr[N.type=="th"?"TH":"TD"],P={top:!!s&&!s.length,bottom:w==d.length-1,left:!1,right:M==c-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},U=pl(P),H=l?l(P):{};R.push((0,Ta.jsx)(G,E(_(_(_(_({},a),U),N),H),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),N.freeCSS),className:[tr("Cell"),o,N.className].join(" ")}),M))}),y.push((0,Ta.jsx)(Gr.Row,{id:"TableRow-"+p+"-"+w,className:[tr("Row"),tr("BodyRow")].join(" "),children:R},w))}),!isNaN(v.to)){let{origin:x,to:w}=v,R=[];R.push((0,Ta.jsx)(Gr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[tr("Cell"),tr("Draggable"),o].join(" "),children:(0,Ta.jsx)(we.ArrowRight,{fontColor:"theme"})},"dragButton")),v.rows[x].forEach((N,M)=>{N=_({},N);let G=Gr[N.type=="th"?"TH":"TD"],P={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},U=pl(P),H=l?l(P):{};R.push((0,Ta.jsx)(G,E(_(_(E(_({className:[tr("Cell"),o,N.className].join(" ")},U),{backgroundColor:"theme.opa.low"}),H),N),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),N.freeCSS)})))}),y.splice(w,0,(0,Ta.jsx)(Gr.Row,{className:[tr("Row"),tr("Pre")].join(" "),children:R},"preSet"))}return(0,up.useEffect)(()=>{Fo.useStore.set({[p]:{swap:(x,w)=>{if(w||w==0){let R=v.rows[x],N=[...v.rows];N.splice(x,1),N.splice(w-(x<w?1:0),0,R),b({rows:N,origin:0,to:NaN}),h(N.map(M=>Fo.default.Objectify(M.rowID)))}},preSet:x=>{let{origin:w,index:R}=x;b({rows:v.rows,origin:w,to:R})}}})}),(0,up.useEffect)(()=>()=>{Fo.useStore.delete(p)},[]),(0,Ta.jsx)(Ta.Fragment,{children:y})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ta.jsx)(le.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{na.open({parent:a.currentTarget,content:(0,Ta.jsxs)(na.Body,{children:[(0,Ta.jsx)(we,{icon:jw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ta.jsx)(we.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Fo.default.Stringify(a.rowID||o),a)),(0,Ta.jsx)(Gr.Table,{className:tr("Table"),children:(0,Ta.jsxs)(Gr.Body,{children:[(0,Ta.jsx)(Hw.HeadRow,_({},r)),(0,Ta.jsx)(Hw.BodyRows,_({},r))]})}))},m7=r=>(0,Ta.jsx)(cp,E(_({type:"drag"},r),{JSXChildren:Hw.Drag})),Rm={Start:function(r,a){return Oa(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:d}=a;bt("#TableRow-"+o+"-"+l).addClass(tr("DraggerOrigin")),(0,Fo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:c=>{Rm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{Rm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:c=>{Rm.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{Rm.End(c,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=Fo.default.getCursor(r).y-Fo.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let c=bt("#TableRow-"+o+"-"+d),{top:h,bottom:p,height:v}=c.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:c}=a,h=Fo.useStore.get(o);h&&h.preSet&&h.preSet({origin:d,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,d=Fo.useStore.get(o);d&&d.swap&&d.swap(l,s),bt("#TableRow-"+o+"-"+l).removeClass(tr("DraggerOrigin")),(0,Fo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Nt=X(Bt()),Xn=X(ir()),Ad=X(fr());var C7=X(kS()),x7=X(RS()),k7=X(CS()),T7=X(w7());var Ac={__memoryID:(0,Xn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:d}=_({},r),{order:c,filter:h}=l,[p,v]=c.current,b=[],y=[...l.head];if(l.checker){let x={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=pl(x),R=l.cellStylesCallback?l.cellStylesCallback(x):{};b.push((0,Nt.jsx)(Gr.TH,E(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),R),{freeCSS:E(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),R.freeCSS),{zIndex:2}),className:[tr("Cell"),l.cellClassName].join(" "),children:(0,Nt.jsx)(T,{flexCenter:!0,children:(0,Nt.jsx)(at.Checker,{label:null,value:!1,onUpdateValidValue:({value:N})=>{let M=l.rows;M.forEach(G=>{G.checked=N}),s(E(_({},l),{rows:M}))}})})}),-1))}for(let x=0;x<l.colLength;x++){let w=y[x];if(!w)continue;let R=w.children||w.data,N=c.enabled&&c.column[x],M=h.enabled&&h.column[x],G=N?(0,Nt.jsx)(we,{fontSize:"1.mini",fontColor:x==p?"1.clear":"5.translucent",icon:x==p?v=="DESC"?x7.faArrowDown:C7.faArrowUp:k7.faArrowRight}):null,P=(0,Nt.jsx)(Nt.Fragment,{});if(M){let I=d.map(ge=>{var ne;return(ne=ge[x])==null?void 0:ne.data});I=[...new Set(I)].toASC();let re=h.current[x];if(re){let ge=I.filter(V=>!re.includes(V)),ne=[];I.forEach(V=>{V&&ne.push({value:V,label:(0,Nt.jsx)(T,{flexSizing:"auto",children:V})})});let ke="BUTTON-"+l.componentID+"-"+x,xe=l.componentID+"-"+x,ye={sheetID:xe,parent:"#"+ke,gravityPoint:23,type:"custom",content:(0,Nt.jsxs)(_t,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Nt.jsx)(ct,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Nt.jsx)(at.Checkbox,{icon:!0,value:ge,display:"flex",gap:"2/3",override:"force",options:ne,hideInput:!0,name:"DTFilter-col-"+x+"-table-"+l.componentID,onUpdateValidValue:({value:V})=>{let se=I.filter(j=>!V.includes(j)),pe=_({},l);pe.filter.current[x]=se,s(pe)}})}),(0,Nt.jsxs)(Pe.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Nt.jsx)(le.Border.S,{isRounded:!0,onClick:()=>{Ft.close(xe)},children:"\u9589\u3058\u308B"}),(0,Nt.jsx)(le.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let V=[];re.length||(V=I);let se=_({},l);se.filter.current[x]=V,s(se)},children:"\u5168\u9078\u629E"})]})]})};P=(0,Nt.jsx)(T,{className:tr("FilterRegion"),children:(0,Nt.jsx)(le.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:tr("Filtering_"+!!re.length),id:ke,onClick:V=>{V.stopPropagation(),Ft.open(ye)},children:(0,Nt.jsx)(we,{icon:T7.faFilter})})})}}let U={top:!0,bottom:!l.rows.length,left:l.checker?!1:x==0,right:x==l.colLength-1,rowIndex:0,colIndex:x,isBody:!1,isHeader:!0},H=pl(U),J=l.cellStylesCallback?l.cellStylesCallback(U):{};w=E(_(_(_(_({},l.cellStyles),H),w),J),{ssPushable:N,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),J.freeCSS),w.freeCSS),className:[tr("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,b.push((0,Nt.jsx)(Gr.TH,E(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:I=>{if(N){let re=_({},l),ge=[x,p===x&&v=="ASC"?"DESC":"ASC"];re.order.current=ge,s(re),l.onOrderChanged&&l.onOrderChanged(ge)}},children:(0,Nt.jsxs)(_t,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[P,(0,Nt.jsxs)(_t,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[G,R]})]})}),x))}return(0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,d)=>{var c;let h=[...s],p=[];if(a.checker){let v={top:d==0&&!a.head,bottom:d==o.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1},b=pl(v),y=a.cellStylesCallback?a.cellStylesCallback(v):{};p.push((0,Nt.jsx)(Gr.TH,E(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),b),y),{freeCSS:_(_({},(c=a.cellStyles)==null?void 0:c.freeCSS),y.freeCSS),className:[tr("Cell"),a.cellClassName].join(" "),children:(0,Nt.jsx)(T,{flexCenter:!0,children:(0,Nt.jsx)(at.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:x})=>{let w=a.rows,R=w.findIndex(N=>Xn.default.is.equal(N.rowID,s.rowID));R!=-1&&(w[R].checked=x,r.set_status(N=>E(_({},N),{rows:w})))}})})}),-1))}h.forEach((v,b)=>{var y;if(!v)return;let x=v,{type:w="td"}=x,R=Je(x,["type"]),N={top:d==0&&!a.head,bottom:d==o.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1},M=pl(N),G=a.cellStylesCallback?a.cellStylesCallback(N):{};R=E(_(_(_(_({},a.cellStyles),M),R),G),{freeCSS:_(_(_({},(y=a.cellStyles)==null?void 0:y.freeCSS),R.freeCSS),G.freeCSS),className:[tr("Cell"),a.cellClassName,R.className].join(" ")}),delete R.orderIndex;let P=Gr[w=="td"?"TD":"TH"];p.push((0,Nt.jsx)(P,_({},R),b))}),l.push((0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow")].join(" "),children:p,onClick:v=>{a.onRowClick&&a.onRowClick(s.rowID,v)}},d))}),!o.length){let s=(0,Nt.jsx)(T,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Nt.jsx)(Nt.Fragment,{children:a.noRecords})),l.push((0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow"),tr("DataNotFound")].join(" "),children:(0,Nt.jsx)(Gr.TD,{colSpan:a.colLength,className:tr("Cell"),children:s})},"dataNotFound"))}return(0,Nt.jsx)(Nt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:d,paging:c}=a,h=[...a.rows],p=[...a.rows],v=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),v=[...p],b=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let R=s.column[w],N=s.current[w];R&&N&&N.length&&(v=v.filter(M=>!N.includes(M[w].data)),b=[...v])}d.enabled&&(v=v[d.current[1]=="ASC"?"toASC":"toDESC"]([d.current[0],"orderIndex"].join(".")),b=[...v]);{let{currentPageIndex:w,rowLength:R}=c;b=[...b].splice((w-1)*R,R)}let y=Ac.__memoryID+"_"+a.tableID,x={rows:{total:h.length,page:b.length,filtered:v.length},val_status:E(_({},a),{paging:E(_({},a.paging),{pageLength:Math.ceil(v.length/a.paging.rowLength)})}),set_status:o};return Xn.useStore.update({[y]:{getRowData:()=>{let w=[...h];return d.enabled&&(w=w[d.current[1]=="ASC"?"toASC":"toDESC"]([d.current[0],"orderIndex"].join("."))),w.forEach(R=>{R.currentPage=!1,R.filtered=!1}),b.forEach(R=>{let{rowID:N}=R;w.find(M=>Xn.default.is.equal(M.rowID,N)).currentPage=!0}),v.forEach(R=>{let{rowID:N}=R;w.find(M=>Xn.default.is.equal(M.rowID,N)).filtered=!0}),w}}}),(0,Ad.useEffect)(()=>{Bl.release(a.tableID,x)}),(0,Nt.jsx)(T,{className:tr("TableBase"),children:(0,Nt.jsx)(Gr.Table,{className:tr("Table"),children:(0,Nt.jsxs)(Gr.Body,{children:[(0,Nt.jsx)(Ac.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Nt.jsx)(Ac.Body,{val_status:a,set_status:o,PageRows:b})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return Xn.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return Xn.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let d=[];l.forEach((c,h)=>{let{data:p,children:v,orderIndex:b}=c;c.orderIndex=Xn.default.is.exist(b)?String(b):String(p),c.children=v||String(p),d.push(String(c.data))}),l.__sys4SearchKey=d.join("/")}),(0,Nt.jsx)(Ac.StateManager,_({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:d,defaultOrder:c=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,Ad.useState)((0,Xn.UUID)()),v={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:d!==!1,column:d,current:c},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[b,y]=(0,Ad.useState)(v);return(0,Ad.useEffect)(()=>{y(x=>E(_({},x),{rows:v.rows}))},[Xn.default.Stringify(v.rows)]),(0,Ad.useEffect)(()=>{y(x=>E(_({},x),{head:v.head}))},[Xn.default.Stringify(v.head)]),(0,Nt.jsx)(Ac.Core,{val_status:b,set_status:y})}},J$={__memoryID:Ac.__memoryID,getRowData:r=>{let a=Xn.useStore.get(Ac.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},J_={SearchInput:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Nt.jsx)(at.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Nt.jsx)(at.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Nt.jsx)(we.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value:s})=>{r.onChange(s),Xn.default.interval.once(()=>{l(d=>E(_({},d),{paging:E(_({},d.paging),{currentPageIndex:1}),filter:E(_({},d.filter),{current:Array.from({length:d.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Nt.jsxs)(_t,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Nt.jsx)(tn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let c=0;c<o.paging.pageLength;c++)s.push({value:c+1,label:(c+1).toString()});let d=c=>{let h=Math.min(Math.max(1,c),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(v=>E(_({},v),{paging:E(_({},v.paging),{currentPageIndex:h})}))};return(0,Nt.jsxs)(Pe.Center,{children:[(0,Nt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,Nt.jsx)(at.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:({value:c})=>{d(c)}}),"/ ",o.paging.pageLength]}),(0,Nt.jsxs)(Pe.Right,{gap:"1/2",children:[(0,Nt.jsx)(le.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){d(o.paging.pageLength);return}d(o.paging.currentPageIndex-1)},children:(0,Nt.jsx)(we.ChevronLeft,{})}),(0,Nt.jsx)(le.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){d(1);return}d(o.paging.currentPageIndex+1)},children:(0,Nt.jsx)(we.ChevronRight,{})})]})]})},RowLength:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,d=0,c=r.lengthSelect.map(h=>(d|=+(h==s),{value:h,label:h.toString()}));return d||c.push({value:s,label:s.toString()}),(0,Nt.jsx)(Pe.Center,{gap:"1/2",children:(0,Nt.jsx)(at.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:c.toASC("value"),onUpdateValidValue:({value:h})=>{l(p=>E(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},Z$=r=>(0,Nt.jsx)(cp,E(_({},r),{type:"data",JSXChildren:Ac.DataLeveler})),Tu=Z$;Tu.__memoryID=Ac.__memoryID,Tu.getRowData=J$.getRowData,Tu.Info=J_.Info,Tu.Paging=J_.Paging,Tu.RowLength=J_.RowLength,Tu.SearchInput=J_.SearchInput;var Qn;(r=>(r.Normal=l7,r.Data=Tu,r.Drag=m7,r.Parts=Gr))(Qn||(Qn={}));var Vw=X(Bt()),Em=X(ir());var zl={uid:(0,Em.UUID)(),open:(r,a,o=24,l=.35)=>{r&&Em.default.interval.once(()=>{na.open({tipsID:zl.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Vw.jsx)(na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Vw.jsx)(Ye.Supplement,{children:a})})})},l*1e3,zl.uid)},abort:()=>{Em.default.interval.abort(zl.uid),na.close(zl.uid)}};var gt=X(Bt()),da=X(ir());var gs=X(fr());var tI=X(N7()),rI=X(j7()),aI=X($7()),nI=X(eI());var Gw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:d}=l,c=s/d;this.Picture={elm:l,originDataUrl:l.src,aspect:c,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:d/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let b=a.width/3*2,y=a.height/3*2;l=Math.min(b,y),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:d,height:c}=o,h=(a.width-l)/2,p=(a.height-s)/2,v=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:v},outImage:{x:0,y:0,w:0,h:0},imageX:d/2,imageY:c/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:c}=this.dragEffectInfo,h=d.x-l,p=d.y-s,v=this.scale.current*this.Picture.revisedAspect/100,b=h/v*c.x,y=p/v*c.y;o=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+y):o=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=y)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:d}=da.default.getCursor(l.touches[0]),{x:c,y:h}=da.default.getCursor(l.touches[1]),p=c-s,v=h-d;if(o=="start")this.pinchEffectInfo.origin={x:p,y:v,scale:this.scale.current};else if(o=="move"){let{origin:b}=this.pinchEffectInfo,y=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),x=Math.sqrt(Math.pow(p,2)+Math.pow(v,2))/y,w=Number(b.scale*x);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Oa(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),d=s.getContext("2d"),c=yield da.default.ImageLoader(this.Picture.originDataUrl),h=c.width,p=c.height;(l==90||l==270)&&(h=c.height,p=c.width),s.width=h,s.height=p,a&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(c,0,0,c.width,c.height);let v=d.getImageData(0,0,s.width,s.height),b=v.data;{a/=100;let R=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],N=R[0]/255,M=R[1]/255,G=R[2]/255;for(let P=0;P<p;P++)for(let U=0;U<h;U++){var y=(P*h+U)*4;if(a){let H=.3*b[y]+.59*b[y+1]+.11*b[y+2];for(var x=0;x<3;x++){let J=b[y+x];b[y+x]=J+(H-J)*a}}b[y]*=N,b[y+1]*=M,b[y+2]*=G}}d.putImageData(v,0,0);let w=s.toDataURL("image/jpeg");{let R=yield da.default.ImageLoader(w),{width:N,height:M}=R,G=N/M;this.Picture=E(_({},this.Picture),{elm:R,aspect:G,revisedAspect:this.pst.frame.aspect>G?this.pst.frame.w/N:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:d},pst:{frame:c}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let v=this.scale.current/100,b=this.Picture.revisedAspect*v,y=this.pst.centerX-h*b,x=this.pst.centerY-p*b,w=this.Picture.elm.width*b,R=this.Picture.elm.height*b;{let N=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,G=this.pst.frame.y+this.pst.frame.h-R,P=this.pst.frame.y,U=0;y<N&&(U=y-N),y>M&&(U=y-M);let H=0;x<G&&(H=x-G),x>P&&(H=x-P),this.dragEffectInfo.origin.x+=U/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=H/2/this.dragEffectInfo.frameExpandRate.y,y=Math.min(Math.max(y,N),M),x=Math.min(Math.max(x,G),P)}this.pst.outImage={x:y,y:x,w,h:R},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,y,x,w,R)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let b=d.width/3*2,y=d.height/3*2,x=Math.min(b,y),w=Math.max(b,y);s.arc(d.width/2,d.height/2,w,0,Math.PI*2,!0),s.arc(d.width/2,d.height/2,x/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(d.width,0),s.lineTo(d.width,d.height),s.lineTo(0,d.height),s.lineTo(0,0),s.closePath(),s.lineTo(c.x,c.y),s.lineTo(c.x,c.y+c.h),s.lineTo(c.x+c.w,c.y+c.h),s.lineTo(c.x+c.w,c.y),s.lineTo(c.x,c.y),s.fill();let v=(0,da.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${v},1 )`,s.strokeRect(c.x,c.y,c.w,c.h)}}export(){return Oa(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:d}}=this,c=s.w/l.elm.width,h=s.h/l.elm.height,p=(d.x-s.x)/c,v=(d.x-s.x+d.w)/c,b=(d.y-s.y)/h,y=(d.y-s.y+d.h)/h,x=Array.from({length:o.length}),w="image/jpeg";for(let R=0;R<o.length;R++){let{size:N,maxSize:M}=o[R];M=M||{S:1024*20,R:1024*100,L:1024*350}[N];let G={S:140,R:600,L:1200}[N],P=G;this.use=="wallpaper.horizontal"?P=G/3:this.use=="wallpaper.vertical"&&(P=G*2);let U=document.createElement("canvas");U.width=G,U.height=P;let H=U.getContext("2d");if(!H)return;H.clearRect(0,0,G,P),H.drawImage(this.Picture.elm,p,b,v-p,y-b,0,0,G,P);let J=U.toDataURL(w),I=yield J.toBlob(w);if(!I)return;if(I.size>=M){let ge=M/I.size;if(J=U.toDataURL(w,ge*.92),I=yield J.toBlob(w),!I)return}let re=new File([I],this.val_file.name,{type:w});x[R]=re}return x})}},oI={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:d,develops:c=[]}=o,[h]=(0,gs.useState)((0,da.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[v,b]=(0,gs.useState)(p.scale.default),[y,x]=(0,gs.useState)(p.rotate),[w,R]=(0,gs.useState)(p.grayScale),[N,M]=(0,gs.useState)(p.tone);return(0,gs.useEffect)(()=>{let G="CropperResize";return(0,da.default)(window).addEvent({eventType:"resize",eventID:G,callback:()=>{da.default.interval.once(()=>{var P;let U=bt("#Canvas-"+h)[0];if(!U)return;let H=(P=da.useStore.get(h))==null?void 0:P.Instance;if(!H)return;let J=U.position(),I=J.width/J.height;U.width=2400,U.height=2400/I;let{width:re,height:ge}=U;H.pst.centerX=re/2,H.pst.centerY=ge/2,H.frameSizing(),H.modifyImage()},250,"CropperResize")}}),()=>{(0,da.default)(window).removeEvent(G)}},[]),(0,gs.useEffect)(()=>{da.useStore.set({[h]:{}}),Oa(void 0,null,function*(){an.fn.corner.active(),yield da.default.pending(()=>{},400);let{target:G}=yield a.convert();if(!G)return;let P=G.result,U=bt("#Canvas-"+h)[0];if(!U)return;let H=U.position(),J=H.width/H.height;U.width=2400,U.height=2400/J;let I=new Gw({set_scale:b,val_file:a,develops:c,use:d,scale:p.scale,componentID:h,canvas:U,picture:{image:yield da.default.ImageLoader(P),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});da.useStore.set({[h]:{Instance:I}});let re=function(ke){if(ke.preventDefault(),ke.touches&&ke.touches.length>1)I.pinchEffect({eventType:"start",event:ke}),(0,da.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:xe=>{xe.preventDefault(),I.pinchEffect({eventType:"move",event:xe})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ne});else{I.dragEffect(_({eventType:"start"},da.default.getCursor(ke)));let{type:xe}=ke;(0,da.default)(document).addEvent({eventType:xe=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ge("move",ye)}}).addEvent({eventType:xe=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ye=>{ge("end",ye),ne(ye)}})}},ge=function(ke,xe){xe.preventDefault(),I.dragEffect(_({eventType:ke},da.default.getCursor(xe)))},ne=function(ke){ke.preventDefault(),(0,da.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,da.default)(U).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ke=>{ke.preventDefault();let xe=Number(ke.wheelDelta*.04),ye=I.scale.current+xe;ye=Math.max(ye,I.scale.min),ye=Math.min(ye,I.scale.max),b(ye)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:re,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:re,options:{passive:!1}}),setTimeout(()=>{an.fn.corner.stop()},1e3)})},[a.id]),(0,gs.useEffect)(()=>{var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;P&&P.updateScale(v)},[v]),(0,gs.useEffect)(()=>{var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;P&&P.updateFilter({grayScale:w,tone:N,rotate:y})},[w,N,y]),(0,gt.jsx)(Ft.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,gt.jsxs)(ct,{className:[gu("Wrap"),gu("Use_"+d)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,gt.jsx)(T,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,gt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:gu("Canvas"),id:"Canvas-"+h})}),(0,gt.jsxs)(Pe.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,gt.jsx)(oI.SettingRegion,{DefaultOptions:p,val_scale:v,set_scale:b,val_tone:N,set_tone:M,val_grayScale:w,set_grayScale:R,val_rotate:y,set_rotate:x}),(0,gt.jsxs)(Pe.Right,{flexSizing:"none",children:[(0,gt.jsx)(le.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,gt.jsx)(le,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Oa(void 0,null,function*(){var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;if(!P)return;an.fn.mini.active("CropperExportation");let U=yield P.export();setTimeout(()=>{an.fn.mini.stop("CropperExportation"),l(U)},3e3)}),children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(an.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=l=>a[l]||"\u306A\u3057";return(0,gt.jsxs)(Pe.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,gt.jsxs)(ct,{gap:"1/3",children:[(0,gt.jsx)(Ye.Supplement,{children:"Rotate"}),(0,gt.jsxs)(Pe.Left,{flexChilds:"even",gap:"1/6",children:[(0,gt.jsx)(le.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,gt.jsxs)(Pe.Center,{gap:"1/4",children:["90\xB0",(0,gt.jsx)(we,{icon:aI.faRotateLeft})]})}),(0,gt.jsx)(le.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,gt.jsxs)(Pe.Center,{gap:"1/4",children:[(0,gt.jsx)(we,{icon:nI.faRotateRight}),"90\xB0"]})})]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"Zoom"}),(0,gt.jsxs)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:d,value:c})=>{da.default.interval.once(()=>{r.set_scale(c+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:d=>"x"+Math.round(100+d)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"GrayScale"}),(0,gt.jsxs)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we,{icon:tI.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:d})=>{da.default.interval.once(()=>{r.set_grayScale(d)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:d=>d+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"Tone"}),(0,gt.jsx)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let d=[];for(let c=1;c<=10;c++)d.push({value:c,label:(0,gt.jsxs)(Pe.Left,{gap:"1/3",children:[(0,gt.jsx)(T,{ssSphere:1,className:[gu("ToneBall"),gu("ToneBall_"+c)].join(" ")}),(0,gt.jsx)(T,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we,{icon:rI.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,gt.jsx)(T,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...d],onUpdateValidValue:({value:c})=>{r.set_tone(c)}})]})})}})},children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(T,{boxShadow:"2.remark",ssSphere:1,className:[gu("ToneBall"),gu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Dm={openDialogNEdit:r=>Oa(void 0,null,function*(){let a=yield at.Filer.fn.openDialog({accept:"image",multiple:!1});Dm.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Oa(void 0,null,function*(){let a="CropperImage";Ft.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100vw"},content:(0,gt.jsx)(oI.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{Ft.close(a),r.onProcessFinished(o)},abortCallback:()=>{Ft.close(a)}}),closeAtEscapeKeyDown:!1})})};var jo=X(Bt());var iI=()=>{let{href:r}=location;return(0,jo.jsx)(Pe.Center,{padding:[4,1],children:(0,jo.jsxs)(ct,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,jo.jsx)(we.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,jo.jsxs)(T,{children:[(0,jo.jsx)(Ye.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,jo.jsx)(Ye.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,jo.jsxs)(ct,{children:[(0,jo.jsxs)(Ye,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,jo.jsx)(T,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,jo.jsx)(T,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,jo.jsx)(Nl.Link,{newTab:!0,href:r,children:r}),(0,jo.jsx)(Nl.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Z_=r=>{let[a,o]=(0,Ru.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,Ru.useRef)(!1);(0,Ru.useEffect)(()=>{l&&(s.current?(Ft.closeAll(!0),Il.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,Ru.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,Ru.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Fn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Fn.open(r);return}Fn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Fn.pushSync(r);return}Fn.__push(r)},back:()=>{Fn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Fn.__push=r},setBackEffect:r=>{Fn.__back=r}};var lI=X(ir());var tm=[{key:"comun",isBrand:!1,isAvocado:!0},{key:"leaf",isBrand:!1,isAvocado:!0},{key:"heart",isBrand:!1,isAvocado:!0},{key:"droplet",isBrand:!1,isAvocado:!0},{key:"brick",isBrand:!1,isAvocado:!1},{key:"flower",isBrand:!1,isAvocado:!1},{key:"lip",isBrand:!1,isAvocado:!1},{key:"wine",isBrand:!1,isAvocado:!1},{key:"theater",isBrand:!1,isAvocado:!1},{key:"bat",isBrand:!1,isAvocado:!1},{key:"poizon",isBrand:!1,isAvocado:!1},{key:"eggplant",isBrand:!1,isAvocado:!1},{key:"ufo",isBrand:!1,isAvocado:!1},{key:"alien",isBrand:!1,isAvocado:!1},{key:"tombstone",isBrand:!1,isAvocado:!1},{key:"ninja",isBrand:!1,isAvocado:!1},{key:"moon",isBrand:!1,isAvocado:!1},{key:"rain",isBrand:!1,isAvocado:!1},{key:"unicorn",isBrand:!1,isAvocado:!1},{key:"axe",isBrand:!1,isAvocado:!1},{key:"gem",isBrand:!1,isAvocado:!1},{key:"soap",isBrand:!1,isAvocado:!1},{key:"drizzle",isBrand:!1,isAvocado:!1},{key:"building",isBrand:!1,isAvocado:!1},{key:"fish",isBrand:!1,isAvocado:!1},{key:"icicles",isBrand:!1,isAvocado:!1},{key:"water",isBrand:!1,isAvocado:!1},{key:"tree1",isBrand:!1,isAvocado:!1},{key:"tree2",isBrand:!1,isAvocado:!1},{key:"tree3",isBrand:!1,isAvocado:!1},{key:"battery",isBrand:!1,isAvocado:!1},{key:"seedle",isBrand:!1,isAvocado:!1},{key:"greenTea",isBrand:!1,isAvocado:!1},{key:"oak",isBrand:!1,isAvocado:!1},{key:"salad",isBrand:!1,isAvocado:!1},{key:"cloudy",isBrand:!1,isAvocado:!1},{key:"lemon",isBrand:!1,isAvocado:!1},{key:"angel",isBrand:!1,isAvocado:!1},{key:"parasol",isBrand:!1,isAvocado:!1},{key:"pizza",isBrand:!1,isAvocado:!1},{key:"thunder",isBrand:!1,isAvocado:!1},{key:"latte",isBrand:!1,isAvocado:!1},{key:"island",isBrand:!1,isAvocado:!1},{key:"shovel",isBrand:!1,isAvocado:!1},{key:"coffee",isBrand:!1,isAvocado:!1},{key:"carrot",isBrand:!1,isAvocado:!1},{key:"cactus",isBrand:!1,isAvocado:!1},{key:"volcano",isBrand:!1,isAvocado:!1},{key:"choco",isBrand:!1,isAvocado:!1},{key:"industry",isBrand:!1,isAvocado:!1},{key:"gun",isBrand:!1,isAvocado:!1},{key:"galaxy",isBrand:!1,isAvocado:!1},{key:"line",isBrand:!0,isAvocado:!1},{key:"twitter",isBrand:!0,isAvocado:!1},{key:"amazon",isBrand:!0,isAvocado:!1},{key:"facebook",isBrand:!0,isAvocado:!1},{key:"android",isBrand:!0,isAvocado:!1},{key:"slackBlue",isBrand:!0,isAvocado:!1},{key:"slackGreen",isBrand:!0,isAvocado:!1},{key:"slackRed",isBrand:!0,isAvocado:!1},{key:"slackYellow",isBrand:!0,isAvocado:!1},{key:"slackBase",isBrand:!0,isAvocado:!1},{key:"googleBlue",isBrand:!0,isAvocado:!1},{key:"googleGreen",isBrand:!0,isAvocado:!1},{key:"googleYellow",isBrand:!0,isAvocado:!1},{key:"googleRed",isBrand:!0,isAvocado:!1}],em=()=>{let r="#45515c",a=(0,lI.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},sI={light:"#FFF",dark:"#333",dim:"#666",auto:()=>st.get().isSystemDarkmode()?"#333":"#FFF"},Am={};tm.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Am[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Xa=X(ir());var Le={toConcreteBorderRadius:r=>{let a=st.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Xa.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,d,c,h,p,v;let b=[],{gap:y,display:x,position:w,overflow:R,fontColor:N,fontSize:M,fontWeight:G,backgroundColor:P,textAlign:U,textDecoration:H,boxShadow:J,margin:I,marginTop:re,marginRight:ge,marginBottom:ne,marginLeft:ke,padding:xe,paddingTop:ye,paddingRight:V,paddingBottom:se,paddingLeft:pe,top:j,right:$,bottom:oe,left:ee,border:ue,borderTop:Ce,borderRight:Se,borderBottom:Ie,borderLeft:Ge,borderWidth:Qe,borderColor:yt,borderStyle:Ht,borderRadius:pt,borderTopLeftRadius:kt,borderTopRightRadius:vt,borderBottomLeftRadius:it,borderBottomRightRadius:Te,flexSizing:Rt,flexWrap:Ut,flexType:Qt,flexChilds:Yt,flexGrid:lr,horizontalAlign:pr,verticalAlign:kr,transition:la,gridCenter:Wr,gridCols:Kr,maxHeight:hr,minHeight:Tr,maxWidth:Pr,minWidth:ba,width:mr,height:Lr,unitHeight:Mr,unitWidth:wa,opacity:He}=a;{if(Le.ev(x)&&b.push("dsp"+x),R){let te=Xa.default.flatArray(R);b.push("ovfl-x-"+te[0]),b.push("ovfl-y-"+(te[1]||te[0]))}Le.ev(w)&&b.push("ps"+w),Le.ev(U)&&b.push("txtalg"+U),Le.ev(U)&&b.push("txtdeco"+H),Le.ev(N)&&b.push("ftcl"+((o=String(N))==null?void 0:o.replace(/\./g,"_"))),Le.ev(M)&&b.push("ftsz"+((l=String(M))==null?void 0:l.replace(/\..*/,""))),Le.ev(G)&&b.push("ftwt"+(G==null?void 0:G.replace(/\..*/,""))),Le.ev(P)&&b.push("bgc"+((s=String(P))==null?void 0:s.replace(/\./g,"_"))),Le.ev(J)&&b.push("bs"+J);let ut,St,Xt,$t;Xa.default.is.exist(I)&&(Xa.default.is.array(I)?I.length==2?[ut,St,Xt,$t]=[...I,...I]:I.length==4&&([ut,St,Xt,$t]=I):ut=St=Xt=$t=I,re=re!=null?re:ut,ge=ge!=null?ge:St,ne=ne!=null?ne:Xt,ke=ke!=null?ke:$t),Le.ev(re)&&b.push("mrgt"+re),Le.ev(ge)&&b.push("mrgr"+ge),Le.ev(ne)&&b.push("mrgb"+ne),Le.ev(ke)&&b.push("mrgl"+ke);let Rr,_r,Xr,O;Xa.default.is.exist(xe)&&(Xa.default.is.array(xe)?xe.length==2?[Rr,_r,Xr,O]=[...xe,...xe]:xe.length==4&&([Rr,_r,Xr,O]=xe):Rr=_r=Xr=O=xe,ye=ye!=null?ye:Rr,V=V!=null?V:_r,se=se!=null?se:Xr,pe=pe!=null?pe:O),Le.ev(ye)&&b.push("pdt"+ye),Le.ev(V)&&b.push("pdr"+V),Le.ev(se)&&b.push("pdb"+se),Le.ev(pe)&&b.push("pdl"+pe),Le.ev(j)&&b.push("pstt"+j),Le.ev($)&&b.push("pstr"+$),Le.ev(oe)&&b.push("pstb"+oe),Le.ev(ee)&&b.push("pstl"+ee);{Xa.default.is.exist(ue)&&(Ce=Ce!=null?Ce:ue,Se=Se!=null?Se:ue,Ie=Ie!=null?Ie:ue,Ge=Ge!=null?Ge:ue),Xa.default.is.boolean(Ce)&&(Ce=["unset","2.normal"][Number(Ce)]),Xa.default.is.boolean(Se)&&(Se=["unset","2.normal"][Number(Se)]),Xa.default.is.boolean(Ie)&&(Ie=["unset","2.normal"][Number(Ie)]),Xa.default.is.boolean(Ge)&&(Ge=["unset","2.normal"][Number(Ge)]),Le.ev(Ce)&&b.push("b_t_ss"+((d=String(Ce))==null?void 0:d.replace(/\./g,"_"))),Le.ev(Se)&&b.push("b_r_ss"+((c=String(Se))==null?void 0:c.replace(/\./g,"_"))),Le.ev(Ie)&&b.push("b_b_ss"+((h=String(Ie))==null?void 0:h.replace(/\./g,"_"))),Le.ev(Ge)&&b.push("b_l_ss"+((p=String(Ge))==null?void 0:p.replace(/\./g,"_"))),Xa.default.is.exist(Qe)&&b.push("b_wth"+String(Qe)),Xa.default.is.exist(yt)&&b.push("b_cl"+((v=String(yt))==null?void 0:v.replace(/\./g,"_"))),Xa.default.is.exist(Ht)&&b.push("b_st"+String(Ht));{let te,A,F,K;Xa.default.is.exist(pt)&&(Xa.default.is.array(pt)?pt.length==4&&([te,A,K,F]=pt):te=A=F=K=pt,kt=kt!=null?kt:te,vt=vt!=null?vt:A,it=it!=null?it:F,Te=Te!=null?Te:K)}Le.ev(kt)&&b.push("br_tl"+Le.toConcreteBorderRadius(kt)),Le.ev(vt)&&b.push("br_tr"+Le.toConcreteBorderRadius(vt)),Le.ev(it)&&b.push("br_bl"+Le.toConcreteBorderRadius(it)),Le.ev(Te)&&b.push("br_br"+Le.toConcreteBorderRadius(Te))}if(Le.ev(He)&&b.push("op"+He),Xa.default.is.exist(y)){let te,A;Xa.default.is.array(y)?(te=y[0],A=y[1]):te=A=y,b.push("gapRow"+te,"gapCol"+A)}Le.ev(Rt)&&b.push("flsz"+Rt),Le.ev(Ut)&&b.push("flwrp"+Ut),Le.ev(Qt)&&b.push("fltyp"+Qt),Le.ev(Yt)&&b.push("flchld"+Yt),Le.ev(lr)&&b.push("flgrid"+lr),Le.ev(kr)&&b.push("flvrt"+kr),Le.ev(pr)&&b.push("flhrz"+pr),Le.ev(Wr)&&b.push("grcnt"+Wr),Le.ev(Kr)&&b.push("grcol"+Kr),Le.ev(Lr)&&b.push("hgt"+Lr),Le.ev(mr)&&b.push("wdt"+mr),Le.ev(Mr)&&b.push("unthgt"+Mr),Le.ev(wa)&&b.push("untwdt"+wa),Le.ev(la)&&b.push("trnst"+la),Le.ev(hr)&&b.push("maxh"+hr),Le.ev(Tr)&&b.push("minh"+Tr),Le.ev(Pr)&&b.push("maxw"+Pr),Le.ev(ba)&&b.push("minw"+ba)}return b.length?r+b.join(" "+r):""}},hm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:d,ssPushable:c,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:v,flexNewLine:b,isLightFont:y,isBoldFont:x,isSemiBoldFont:w,isRounded:R,isSquare:N,freeCSS:M={}}=a,G=Je(M,[]),P=Je(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(G=G||{},P=P||{},o){let{deg:U,colors:H}=o;G=E(_({},G),{background:`linear-gradient(${U}deg,${H.join(",")})`})}if(l){l===!0&&(l="border");let U={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?U.border=!0:l=="layer"?U.backgroundColor="layer.1":l=="cloud"?U.backgroundColor="cloud":l=="shadow"&&(U.boxShadow="0.normal"),st.get().darkMode=="dim"&&(U.boxShadow="1.normal"),st.get().darkMode=="dark"&&(U.boxShadow="1.remark"),G=_(_({},U.freeCSS),G),P=_(_({},U),P)}return s&&(v=v!=null?v:!0,P=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},P)),d&&(v=v!=null?v:!0,P=_({padding:0,unitWidth:d,unitHeight:d,flexSizing:"none"},P)),c&&(P=_({transition:"middle"},P),P=E(_({},P),{className:[P.className,"ssPushable"].join(" ")})),h&&(P=_({position:"absolute",top:0,left:0,right:0,bottom:0},P)),p&&(P=_({overflow:"hidden"},P),G=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},G)),b&&(P=_({width:1,flexSizing:"none"},P)),v&&(P=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},P)),y&&(P.fontWeight="1.light"),w&&(P.fontWeight="3.semiBold"),x&&(P.fontWeight="4.bold"),R&&(Xa.default.is.number(R)?G.borderRadius=R*12:P.borderRadius="sphere"),N&&(G.aspectRatio="1"),E(_({},P),{freeCSS:G})},Bo=r=>{let a=hm(r),{componentID:o,gap:l,display:s,position:d,overflow:c,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:x,boxShadow:w,margin:R,marginTop:N,marginRight:M,marginBottom:G,marginLeft:P,padding:U,paddingTop:H,paddingRight:J,paddingBottom:I,paddingLeft:re,top:ge,right:ne,bottom:ke,left:xe,border:ye,borderTop:V,borderRight:se,borderBottom:pe,borderLeft:j,borderWidth:$,borderColor:oe,borderStyle:ee,borderRadius:ue,borderTopLeftRadius:Ce,borderTopRightRadius:Se,borderBottomLeftRadius:Ie,borderBottomRightRadius:Ge,flexSizing:Qe,flexWrap:yt,flexType:Ht,flexChilds:pt,flexGrid:kt,horizontalAlign:vt,verticalAlign:it,transition:Te,gridCenter:Rt,gridCols:Ut,maxHeight:Qt,minHeight:Yt,maxWidth:lr,minWidth:pr,width:kr,height:la,unitHeight:Wr,unitWidth:Kr,opacity:hr,ssLastChildLossBorder:Tr,ssAbsoluteCovered:Pr,ssCardBox:ba,ssEffectsOnActive:mr,ssPushable:Lr,ssSphere:Mr,ssSquare:wa,ssTextEllipsis:He,isBoldFont:ut,isLightFont:St,isSemiBoldFont:Xt,isRounded:$t,flexCenter:Rr,flexNewLine:_r,gradients:Xr,UnderBreakPointStyles:O={},className:te="",freeCSS:A={}}=a,F=Je(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),K=_({},F),he=[te];if(Tr&&he.push("ssLastChildLossBorder_"+Tr),mr){mr=Xa.default.flatArray(mr);for(let ie of mr){let[Me,ze]=ie.split(".");K["data-effect-"+Me]="1",ze&&(K["data-effect-tone"]=ze)}}{let ie=Le.ClassNames("amotf_",{gap:l,display:s,position:d,overflow:c,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:x,boxShadow:w,margin:R,marginTop:N,marginRight:M,marginBottom:G,marginLeft:P,padding:U,paddingTop:H,paddingRight:J,paddingBottom:I,paddingLeft:re,top:ge,right:ne,bottom:ke,left:xe,border:ye,borderTop:V,borderRight:se,borderBottom:pe,borderLeft:j,borderWidth:$,borderColor:oe,borderStyle:ee,borderRadius:ue,borderTopLeftRadius:Ce,borderTopRightRadius:Se,borderBottomLeftRadius:Ie,borderBottomRightRadius:Ge,flexSizing:Qe,flexWrap:yt,flexType:Ht,flexChilds:pt,flexGrid:kt,horizontalAlign:vt,verticalAlign:it,transition:Te,gridCenter:Rt,gridCols:Ut,maxHeight:Qt,minHeight:Yt,maxWidth:lr,minWidth:pr,width:kr,height:la,unitHeight:Wr,unitWidth:Kr,opacity:hr});he.push(ie)}return O&&he.push(Le.ClassNames("amotf_bp",O)),A&&(K.style=_(_({},A),K.style)),(o||K["data-component-id"])&&(K["data-component-id"]=K["data-component-id"]||o),he.length&&he.join("")&&(K.className=he.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),K},Fl=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:d,fontSize:c,fontWeight:h,backgroundColor:p,textAlign:v,textDecoration:b,boxShadow:y,margin:x,marginTop:w,marginRight:R,marginBottom:N,marginLeft:M,padding:G,paddingTop:P,paddingRight:U,paddingBottom:H,paddingLeft:J,top:I,right:re,bottom:ge,left:ne,border:ke,borderTop:xe,borderRight:ye,borderBottom:V,borderLeft:se,borderWidth:pe,borderColor:j,borderStyle:$,borderRadius:oe,borderTopLeftRadius:ee,borderTopRightRadius:ue,borderBottomLeftRadius:Ce,borderBottomRightRadius:Se,flexSizing:Ie,flexWrap:Ge,flexType:Qe,flexChilds:yt,flexGrid:Ht,horizontalAlign:pt,verticalAlign:kt,transition:vt,gridCenter:it,gridCols:Te,maxHeight:Rt,minHeight:Ut,maxWidth:Qt,minWidth:Yt,width:lr,height:pr,unitHeight:kr,unitWidth:la,opacity:Wr,ssLastChildLossBorder:Kr,ssAbsoluteCovered:hr,ssCardBox:Tr,ssEffectsOnActive:Pr,ssPushable:ba,ssSphere:mr,ssSquare:Lr,ssTextEllipsis:Mr,isBoldFont:wa,isLightFont:He,isSemiBoldFont:ut,isRounded:St,flexCenter:Xt,flexNewLine:$t,gradients:Rr,UnderBreakPointStyles:_r={},freeCSS:Xr={}}=r,O={};return Le.ev(a)&&(O.gap=a),Le.ev(o)&&(O.display=o),Le.ev(l)&&(O.position=l),Le.ev(s)&&(O.overflow=s),Le.ev(d)&&(O.fontColor=d),Le.ev(c)&&(O.fontSize=c),Le.ev(h)&&(O.fontWeight=h),Le.ev(p)&&(O.backgroundColor=p),Le.ev(v)&&(O.textAlign=v),Le.ev(b)&&(O.textDecoration=b),Le.ev(y)&&(O.boxShadow=y),Le.ev(x)&&(O.margin=x),Le.ev(w)&&(O.marginTop=w),Le.ev(R)&&(O.marginRight=R),Le.ev(N)&&(O.marginBottom=N),Le.ev(M)&&(O.marginLeft=M),Le.ev(G)&&(O.padding=G),Le.ev(P)&&(O.paddingTop=P),Le.ev(U)&&(O.paddingRight=U),Le.ev(H)&&(O.paddingBottom=H),Le.ev(J)&&(O.paddingLeft=J),Le.ev(I)&&(O.top=I),Le.ev(re)&&(O.right=re),Le.ev(ge)&&(O.bottom=ge),Le.ev(ne)&&(O.left=ne),Le.ev(ke)&&(O.border=ke),Le.ev(xe)&&(O.borderTop=xe),Le.ev(ye)&&(O.borderRight=ye),Le.ev(V)&&(O.borderBottom=V),Le.ev(se)&&(O.borderLeft=se),Le.ev(pe)&&(O.borderWidth=pe),Le.ev(j)&&(O.borderColor=j),Le.ev($)&&(O.borderStyle=$),Le.ev(oe)&&(O.borderRadius=oe),Le.ev(ee)&&(O.borderTopLeftRadius=ee),Le.ev(ue)&&(O.borderTopRightRadius=ue),Le.ev(Ce)&&(O.borderBottomLeftRadius=Ce),Le.ev(Se)&&(O.borderBottomRightRadius=Se),Le.ev(Ie)&&(O.flexSizing=Ie),Le.ev(Ge)&&(O.flexWrap=Ge),Le.ev(Qe)&&(O.flexType=Qe),Le.ev(yt)&&(O.flexChilds=yt),Le.ev(Ht)&&(O.flexGrid=Ht),Le.ev(pt)&&(O.horizontalAlign=pt),Le.ev(kt)&&(O.verticalAlign=kt),Le.ev(vt)&&(O.transition=vt),Le.ev(it)&&(O.gridCenter=it),Le.ev(Te)&&(O.gridCols=Te),Le.ev(Rt)&&(O.maxHeight=Rt),Le.ev(Ut)&&(O.minHeight=Ut),Le.ev(Qt)&&(O.maxWidth=Qt),Le.ev(Yt)&&(O.minWidth=Yt),Le.ev(lr)&&(O.width=lr),Le.ev(pr)&&(O.height=pr),Le.ev(kr)&&(O.unitHeight=kr),Le.ev(la)&&(O.unitWidth=la),Le.ev(Wr)&&(O.opacity=Wr),Le.ev(Kr)&&(O.ssLastChildLossBorder=Kr),Le.ev(hr)&&(O.ssAbsoluteCovered=hr),Le.ev(Tr)&&(O.ssCardBox=Tr),Le.ev(Pr)&&(O.ssEffectsOnActive=Pr),Le.ev(ba)&&(O.ssPushable=ba),Le.ev(mr)&&(O.ssSphere=mr),Le.ev(Lr)&&(O.ssSquare=Lr),Le.ev(Mr)&&(O.ssTextEllipsis=Mr),Le.ev(wa)&&(O.isBoldFont=wa),Le.ev(He)&&(O.isLightFont=He),Le.ev(ut)&&(O.isSemiBoldFont=ut),Le.ev(St)&&(O.isRounded=St),Le.ev(Xt)&&(O.flexCenter=Xt),Le.ev($t)&&(O.flexNewLine=$t),Le.ev(Rr)&&(O.gradients=Rr),Le.ev(Xr)&&(O.freeCSS=Xr),Le.ev(_r)&&(O.UnderBreakPointStyles=_r),O};var yl=X(Bt());var eb=r=>{var a;let o=Bl.catch("RootViewController_"+st.get().sessionUID);return(0,yl.jsxs)(yl.Fragment,{children:[(0,yl.jsx)("style",{children:r.inlineCSS}),(0,yl.jsxs)("amotify-app",{id:"appRoot_"+st.get().sessionUID,children:[(0,yl.jsx)(cs.Pudding.Wrapper,{}),(0,yl.jsx)(cs.Ripple.Wrapper,{}),(0,yl.jsx)(an.Wrapper,{}),(0,yl.jsx)(Kn.Wrapper,{}),(0,yl.jsx)(Ft.Wrapper,{}),(0,yl.jsx)(T,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var tb=X(ir()),bt=r=>{let a=st.get().appRoot;return tb.default.is.shadowRoot(a)?(0,tb.default)(a).find(r):(0,tb.default)(r)};var eG=X(Qw());ra(Hr,X(Qw()));var tG=X(Jw());ra(Hr,X(Jw()));var rG=_(_(_(_(_(_({},Xw),fw),_w),eG),tG),Kw);var jn=X(ir()),Ul=X(fr());var m=X(Bt());var dp={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(_t,{gap:1,children:[(0,m.jsx)(T,{flexCenter:!0,children:(0,m.jsx)(R_,{ssSphere:6,children:"Placeholder"})}),(0,m.jsxs)(ua,{gridCols:3,gap:1,flexSizing:"auto",padding:1,border:!0,children:[(0,m.jsx)(T,{padding:2,backgroundColor:"layer.0"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ua,{gridCols:3,gap:1,flexSizing:"auto",padding:1,backgroundColor:"dark",children:[(0,m.jsx)(T,{padding:2,backgroundColor:"layer.0"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ua,{gridCols:3,gap:"1/2",ssCardBox:!0,flexSizing:"auto",children:[(0,m.jsx)(T,{flexCenter:!0,fontColor:"1.clear",children:"FontColor1"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"2.normal",children:"FontColor2"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"3.blur",children:"FontColor3"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"4.thin",children:"FontColor4"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"5.translucent",children:"FontColor5"})]})]}),(0,m.jsx)(dp.Fonts,{}),(0,m.jsx)(dp.Box,{}),(0,m.jsx)(dp.Flex,{}),(0,m.jsx)(dp.Grid,{}),(0,m.jsx)(dp.Others,{})]}),Fonts:()=>(0,m.jsxs)(T,{ssCardBox:!0,children:[(0,m.jsx)(Ye.SubTitle,{padding:1,borderBottom:!0,children:"Font"}),(0,m.jsxs)(T,{overflow:"auto",padding:1,children:[(0,m.jsx)(Ye.Description,{padding:1,children:`<Box
|
|
980
|
+
T`.repeat(v-1)}let h=Fl(a);return(0,dr.jsxs)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",width:1,freeCSS:E(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,dr.jsx)(T,{"data-input-value-shallow":o.componentID,children:s})})),(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",left:0,freeCSS:E(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:d})),(0,dr.jsx)(Ye.Description,E(_({className:a.className},h),{position:"absolute",right:0,freeCSS:E(_({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:c}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:d,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:v}=r;if(a.multiline)return null;let b=a,{componentID:y,tone:x,required:w,restrict:R="text",form:N,autoComplete:M="off",autoCapitalize:G="off",minRows:P,maxRows:U,multiline:H,autoHeight:J,enableFormSubmit:I,clearButton:re=!1,checkValidationAtFirst:ge,onChange:ne,onKeyDown:ke,onValidate:xe,onUpdateValue:ye,onUpdateValidValue:V,value:se="",leftIndicator:pe,rightIndicator:j,leftIcon:$,rightIcon:oe,maxLength:ee,min:ue,max:Ce,label:Se,isLabelActive:Ie,wrapStyles:Ge}=b,Qe=Je(b,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),yt=R=="password"||R=="concealed"?"password":"text",Ht=["number","digitNumber","creditCard"].includes(R)?"numeric":R=="email"?"email":"text";return(0,dr.jsx)(T,E(_({htmlTag:"input",type:yt,inputMode:Ht,"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(o,s,!!ge),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:G,onKeyDown:pt=>{let{key:kt,target:vt}=pt;{let it=vt,{selectionStart:Te,selectionEnd:Rt}=it,Ut=Number(Te),Qt=Number(Rt),Yt=s.formatValue[Number(Ut)],lr=s.formatValue[Number(Ut)-1];kt=="Delete"&&(R=="creditCard"&&Yt==" "||R=="postal"&&Yt=="-"||R=="digitNumber"&&Yt==",")&&(it.setSelectionRange(Ut+1,Qt+1),pt.preventDefault()),kt=="Backspace"&&(R=="creditCard"&&lr==" "||R=="postal"&&lr=="-"||R=="digitNumber"&&lr==",")&&(it.setSelectionRange(Ut-1,Qt-1),pt.preventDefault()),kt=="Enter"||kt=="Tab"}if(["number","digitNumber","creditCard"].includes(R)&&kt=="Clear"&&d(it=>E(_({},it),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,rn.UUID)()})),["number","digitNumber"].includes(R)&&["ArrowUp","ArrowDown"].includes(kt)){let it=+(kt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+it);o.ok&&l({ok:!1,notice:[]}),d(Rt=>E(_(_({},Rt),kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:Te})),{eventType:"update",eventID:(0,rn.UUID)()})),pt.preventDefault()}ke&&ke(pt),I&&Kt.SubmitForm(pt,N)},onChange:pt=>{let{value:kt,selectionStart:vt,selectionEnd:it}=pt.target,Te=kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:kt});p&&(Te.formatValue=kt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),d(Rt=>E(_(_({},Rt),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,rn.UUID)(),caretFrom:Number(vt),caretTo:Number(it)})),ne&&ne(pt))},width:1},Qe),{onFocus:pt=>{Qe!=null&&Qe.onFocus&&(Qe==null||Qe.onFocus(pt)),h(!0)},onBlur:pt=>{Qe!=null&&Qe.onBlur&&(Qe==null||Qe.onBlur(pt)),h(!1)},onCompositionStart:pt=>{Qe!=null&&Qe.onCompositionStart&&(Qe==null||Qe.onCompositionStart(pt)),v(!0)},onCompositionEnd:pt=>{if(Qe!=null&&Qe.onCompositionEnd&&(Qe==null||Qe.onCompositionEnd(pt)),R=="text")return;let kt=kc.Validation.DataLeveling({min:ue,max:Ce,restrict:R,value:s.formatValue});d(vt=>E(_(_({},vt),kt),{prevValue:vt.formatValue,eventType:"update",eventID:(0,rn.UUID)(),caretFrom:Number(vt.formatValue.length+1),caretTo:Number(vt.formatValue.length+1)})),v(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:d,val_status:c,set_status:h,isShallow:p}=r,v=a,{componentID:b,tone:y,required:x,form:w,label:R,isLabelActive:N,minRows:M,maxRows:G,multiline:P,autoHeight:U,enableFormSubmit:H,maxLength:J,checkValidationAtFirst:I,onChange:re,onKeyDown:ge,onValidate:ne,onUpdateValue:ke,onUpdateValidValue:xe,value:ye="",leftIndicator:V,rightIndicator:se,leftIcon:pe,rightIcon:j,wrapStyles:$}=v,oe=Je(v,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,dr.jsx)(T,E(_({htmlTag:"textarea","data-show-validation":Kt.isShowValidation(s,c,!!I),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},oe),{onFocus:ee=>{oe!=null&&oe.onFocus&&(oe==null||oe.onFocus(ee)),l(!0)},onBlur:ee=>{oe!=null&&oe.onBlur&&(oe==null||oe.onBlur(ee)),l(!1)},onKeyDown:ee=>{ge&&ge(ee),H&&Kt.SubmitForm(ee,w)},onChange:ee=>{let{value:ue}=ee.target;s.ok&&d({ok:!1,notice:[]}),h(Ce=>E(_({},Ce),{dataValue:ue,eventType:"update",eventID:(0,rn.UUID)()})),re&&re(ee)}})):null}},A$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:d}=r,[c,h]=(0,js.useState)(!1),[p,v]=(0,js.useState)(!1),[b,y]=(0,js.useState)(E(_({componentID:a},kc.Validation.DataLeveling({min:s,max:d,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,rn.UUID)(),caretFrom:null,caretTo:null})),[x,w]=(0,js.useState)({ok:!1,notice:[]}),R={rootStates:r,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:v,val_status:b,set_status:y,val_validate:x,set_validate:w};return Kt.CommonEffects({type:"textfield",states:r,val_status:b,set_status:y,val_validate:x,set_validate:w,SystemValidation:kc.Validation.System,ExtraOverrideStates:_({},kc.Validation.DataLeveling({min:s,max:d,restrict:o,value:l}))}),(0,js.useEffect)(()=>{kc.setSelection({id:r.id,restrict:o,val_status:b})},[b]),(0,dr.jsxs)(Ua,{val_status:b,set_status:y,val_validate:x,states:R.rootStates,children:[(0,dr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!b.dataValue}),(0,dr.jsx)(Cw.Shallow,_({},R)),(0,dr.jsx)(Cw.InputBox,_({},R)),(0,dr.jsx)(Cw.TextAreaBox,_({},R))]})},fs=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,dr.jsx)(La,{componentID:r.componentID,children:A$,states:Gn(r)})),gn=fs;gn.Validate=kc.Validation.Text,gn.Katakana=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),gn.HankakuKatakana=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),gn.CreditCard=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),gn.Tel=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),gn.Number=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),gn.DigitNumber=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),gn.Email=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),gn.Url=r=>(0,dr.jsx)(fs,E(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),gn.Postal=r=>{let[a]=(0,js.useState)((0,rn.UUID)());return(0,js.useEffect)(()=>()=>{rn.useStore.delete(a)},[]),(0,dr.jsx)(fs,E(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,dr.jsx)(Jf,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},gn.Password=r=>(0,dr.jsx)(fs,E(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,dr.jsx)(Ha,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,dr.jsx)(le.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{zl.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:zl.abort,tabIndex:-1,onClick:a=>{(0,rn.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,dr.jsx)(we,{icon:cO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),gn.Concealed=r=>(0,dr.jsx)(gn.Password,E(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),gn.Money={JPY:r=>(0,dr.jsx)(gn.DigitNumber,E(_({rightIcon:(0,dr.jsx)(Ha,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var H_=X(Bt()),uO=X(ir()),xw=X(fr());function L$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var B$=r=>{let a=r,{componentID:o,tone:l,required:s,form:d,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:v,onKeyDown:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,children:R="",leftIndicator:N,rightIndicator:M,leftIcon:G,rightIcon:P,freeCSS:U,wrapStyles:H}=a,J=Je(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[I,re]=(0,xw.useState)(Kt.DefaultStatus(o,c)),[ge,ne]=(0,xw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"contenteditable",states:r,val_status:I,set_status:re,val_validate:ge,set_validate:ne,SystemValidation:L$}),(0,H_.jsx)(Ua,{val_status:I,set_status:re,val_validate:ge,states:r,children:(0,H_.jsx)(T,E(_({contentEditable:!0,"data-show-validation":Kt.isShowValidation(ge,I,!!p),"data-component-id":I.componentID,onKeyDown:ke=>{b&&b(ke),h&&Kt.SubmitForm(ke,d)},onInput:ke=>{let xe=ke.currentTarget,{innerHTML:ye,innerText:V}=xe;ge.ok&&ne({ok:!1,notice:[]}),re(se=>E(_({},se),{dataValue:V,eventType:"update",eventID:(0,uO.UUID)()})),v&&v(ke)}},J),{children:R}))})},dO=r=>{r=E(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Gn(r);return(0,H_.jsx)(La,{componentID:r.componentID,children:B$,states:a})};var Cm=X(Bt()),kw=X(fr()),tp=X(ir());function N$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:d}=o,c=[];return l&&!a&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&c.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=d&&c.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!c.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:c}}var O$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},fO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},I$=r=>{let a=r,{tone:o,required:l,form:s,name:d,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:v,checkValidationAtFirst:b,onChange:y,onKeyDown:x,onValidate:w,onUpdateValue:R,onUpdateValidValue:N,value:M="",override:G,freeCSS:P,wrapStyles:U,combineInput:H,componentID:J,listStyles:I}=a,re=Je(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[ge,ne]=(0,kw.useState)(E(_({componentID:r.componentID||""},O$(h,M)),{eventType:"init",eventID:(0,tp.UUID)()})),[ke,xe]=(0,kw.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"textfield",states:r,val_status:ge,set_status:ne,val_validate:ke,set_validate:xe,SystemValidation:N$});let ye=[];for(let V=0;V<h;V++){let se=ge.formatValue[V],pe={},j=c;r.combineInput&&(j=[c,Kf("DigitCharacterCell"),Kf("Combined")].join(" ")),ye.push((0,Cm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:se,id:"Digit-"+V+"-"+ge.componentID,className:j,style:_(_({},r.style),pe),onKeyDown:$=>{let{key:oe,code:ee}=$;if(oe=="Tab")return;$.preventDefault();let ue=null;if(oe=="Backspace"){let Ce=ge.formatValue;Ce[V]="",ne(Se=>E(_(_({},Se),fO(Ce)),{eventType:"update",eventID:(0,tp.UUID)()})),ue=V-1}else if(["ArrowLeft","ArrowRight"].includes(oe)){let Ce=+(oe=="ArrowRight")*2-1;ue=V+Ce}else v&&Kt.SubmitForm($,s),(()=>{let Ce=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Ce)return;let Se=Ce[2]||Ce[3]||Ce[4];if(p&&!Se.match(/\d/)||!Se)return;let Ie=ge.formatValue;Ie[V]=Se,ne(Ge=>E(_(_({},Ge),fO(Ie)),{eventType:"update",eventID:(0,tp.UUID)()})),ue=V+1})();tp.default.is.exist(ue)&&bt("#Digit-"+ue+"-"+ge.componentID).focus()},onChange:()=>{}},V))}return(0,Cm.jsx)(Ua,{val_status:ge,set_status:ne,val_validate:ke,states:r,children:(0,Cm.jsx)(_t,E(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},I),{children:ye}))})},pO=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=E(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Lo(Gn(r));return(0,Cm.jsx)(La,{componentID:r.componentID,children:I$,states:a})};var ia=X(Bt()),_n=X(ir()),xm=X(ir()),No=X(fr());var BO=X(yO()),NO=X(EO());var Dr=X(Bt()),Tn=X(ir()),Tc=X(fr());function P$(r){let{value:a,states:o}=r,{required:l,options:s}=o,d=[];return l&&a===null&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var Ew={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},rp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,Dr.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Dr.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),children:(0,Dr.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:d,val_validate:c,set_validate:h,val_status:p,set_status:v,val_selectorOpen:b,set_selectorOpen:y}=r,x=a,{tone:w,required:R,form:N,className:M,label:G,isLabelActive:P,placeholder:U,enableFormSubmit:H,emptySelect:J,checkValidationAtFirst:I,onValidate:re,onUpdateValue:ge,onUpdateValidValue:ne,value:ke="",options:xe,leftIndicator:ye,rightIndicator:V,leftIcon:se,rightIcon:pe,componentID:j,status_id:$,wrapStyles:oe,SelectedCellStyles:ee,SelectorCellStyles:ue,SelectorStyles:Ce,SelectorPosition:Se}=x,Ie=Je(x,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorPosition"]);return(0,Tc.useEffect)(()=>{if(a.disabled)return;let Ge="select-click-"+a.componentID;if(b){if(!(0,Tn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Tn.default)(document).addEvent({eventID:Ge,eventType:"click",callback:Qe=>{let yt=(0,Tn.default)(Qe.target),Ht=!!(0,Tn.default)(yt).parent("."+ss("Core")).length;(0,Tn.default)(yt).parent("."+ss("Selector")).length||Ht||y(!1)}})}else(0,Tn.default)(document).removeEvent([Ge])},[b]),(0,Tc.useEffect)(()=>{if(p.eventType=="init"||!b)return;let Ge=(0,Tn.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},[p.dataValue]),(0,Dr.jsxs)(Dr.Fragment,{children:[(0,Dr.jsx)(T,E(_({tabIndex:0},Ie),{"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(c,p,!!I),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,ss("Core")].join(" "),onFocus:Ge=>{if(Ie!=null&&Ie.onFocus&&(Ie==null||Ie.onFocus(Ge)),!a.disabled){if(o)return l(!1);y(!0)}},onClick:Ge=>{Ie!=null&&Ie.onClick&&(Ie==null||Ie.onClick(Ge)),!a.disabled&&y(!0)},onKeyDown:Ge=>{let{key:Qe,metaKey:yt,ctrlKey:Ht}=Ge,pt=yt||Ht;if(Ie!=null&&Ie.onKeyDown&&(Ie==null||Ie.onKeyDown(Ge)),H&&Kt.SubmitForm(Ge,N),!a.disabled){if(Tn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(Qe))return;if(Ge.preventDefault(),!b)return y(!0);let kt=Qe=="ArrowDown"?1:-1,vt=Ew.FilterSelectableOptions(r),it=vt.length-1,Te=null;Tn.default.scope(()=>{var Rt,Ut,Qt,Yt,lr,pr,kr,la,Wr,Kr;let hr=vt.findIndex(Tr=>Tr.value==s);if(kt==1){if(Te=(Ut=(Rt=vt[0])==null?void 0:Rt.value)!=null?Ut:null,pt){Te=(Qt=vt[it].value)!=null?Qt:null;return}if(hr==-1||hr==it)return;Te=(lr=(Yt=vt[hr+1])==null?void 0:Yt.value)!=null?lr:null}else{if(Te=(pr=vt[it].value)!=null?pr:null,pt){Te=(la=(kr=vt[0])==null?void 0:kr.value)!=null?la:null;return}if(hr==-1||hr==0)return;Te=(Kr=(Wr=vt[hr-1])==null?void 0:Wr.value)!=null?Kr:null}}),d(Te)}),Qe=="Escape")y(!1);else if(Qe=="Tab")y(!1);else if(Qe=="Backspace")v(kt=>E(_({},kt),{dataValue:null,eventType:"update",eventID:(0,Tn.UUID)()}));else if(Qe==" ")Ge.preventDefault(),y(!0);else if(Qe=="Enter"){if(!b)return y(!0);Ge.preventDefault();let kt=a.options.find(vt=>vt.value==s);if(!kt)return;v(vt=>E(_({},vt),{dataValue:kt.value,eventType:"update",eventID:(0,Tn.UUID)()})),y(!1)}}},children:(0,Dr.jsxs)(Pe.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Dr.jsx)(rp.Placeholder,_({},r)),(0,Dr.jsx)(rp.Selected,_({},r)),(0,Dr.jsx)(tn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),b&&(0,Dr.jsx)(rp.Selector,_({},r))]})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Dr.jsx)(T,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{var a;let o=[],l=Ew.FilterSelectableOptions(r,!0),s=Ew.FilterSelectableOptions(r);l.forEach((c,h)=>{let{type:p,value:v}=c,b=r.val_optionFocused==v,y=r.val_status.dataValue===v;if(p=="selector"){o.push((0,Dr.jsx)(le.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:y||b,isActiveStyles:b?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"},onClick:x=>{r.set_status(w=>E(_({},w),{dataValue:v,eventType:"update",eventID:(0,Tn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,Dr.jsxs)(Pe.Left,{gap:"1/2",children:[y&&(0,Dr.jsx)(we.Check,{fontColor:"theme"}),(0,Dr.jsx)(Ye.Supplement,{transition:"short",children:c.label})]})},String(v)));return}o.push((0,Dr.jsx)(T,{children:c.label},(0,Tn.UUID)()))}),s.length||(o=[(0,Dr.jsx)(Ye.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let d={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:d.bottom="100%",d.left=0,d.paddingBottom="1/3";break;case 2:d.bottom="100%",d.right=0,d.paddingBottom="1/3";break;case 3:d.top="100%",d.left=0,d.paddingTop="1/3";break;case 4:d.top="100%",d.right=0,d.paddingTop="1/3";break;default:break}return(0,Dr.jsx)(T,E(_({},d),{children:(0,Dr.jsx)(Ft.Body,E(_({className:ss("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Dr.jsx)(ct,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Tn.default.scope(()=>{let o=r.rootStates.options.find(l=>Tn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,Dr.jsx)(T,E(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Dr.jsx)(Dr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Tc.useState)(Kt.DefaultStatus(r.componentID,o)),[d,c]=(0,Tc.useState)(!1),[h,p]=(0,Tc.useState)(!1),[v,b]=(0,Tc.useState)((a=r.value)!=null?a:null),[y,x]=(0,Tc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:d,set_preventOpenSelectorOnFocus:c,val_optionFocused:v,set_optionFocused:b,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:y,set_validate:x};return Kt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:y,set_validate:x,SystemValidation:P$}),(0,Dr.jsxs)(Ua,{val_status:l,set_status:s,val_validate:y,states:r,children:[(0,Dr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,Dr.jsx)(rp.Shallow,_({},w)),(0,Dr.jsx)(rp.Button,_({},w))]})}},ps=r=>{var a;let o=_({},r);return o=E(_({emptySelect:!0,SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,Dr.jsx)(Ye.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:d,value:c}=l;o.options[s]=E(_({},l),{value:c,type:d||"selector"})}),Tn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Dr.jsx)(Ha,{ssSphere:2,children:(0,Dr.jsx)(we.AngleDown,{})})),(0,Dr.jsx)(La,{componentID:o.componentID,children:rp.Core,states:Gn(o)})};var Ve=X(Bt()),AO=X(fr()),Ar=X(ir()),Rc=X(fr());var Pa=X(Bt()),hs=X(ir()),Dw=X(fr());function M$(r){let{value:a,states:o}=r,{type:l,required:s,min:d,max:c}=o;d=d||0,c=c||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var Sd={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=hs.default.is.exist(a)?hs.default.flatArray(a):[],s=[];return l.forEach(d=>{o.findIndex(c=>hs.default.is.equal(c.value,d))!=-1&&s.push(d)}),(0,Pa.jsx)(Sd.Core,E(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:d="",form:c,override:h,icon:p,iconType:v,iconSize:b,iconPosition:y,iconColor:x,CustomIcon:w,enableFormSubmit:R,checkValidationAtFirst:N,onValidate:M,onUpdateValue:G,onUpdateValidValue:P,value:U,options:H,className:J,cellStyles:I,cellClassName:re,cellCheckedStyles:ge,cellCheckedClassName:ne,min:ke,max:xe,hideInput:ye,freeCSS:V,wrapStyles:se}=a,pe=Je(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[j,$]=(0,Dw.useState)(Kt.DefaultStatus(d,U)),[oe,ee]=(0,Dw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"list."+o,states:r,val_status:j,set_status:$,val_validate:oe,set_validate:ee,SystemValidation:M$}),(0,Pa.jsx)(Ua,{val_status:j,set_status:$,val_validate:oe,states:r,children:(0,Pa.jsx)(Sd.List,{rootStates:r,val_status:j,set_status:$})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:d,tone:c,icon:h,iconSize:p,iconColor:v,isChecker:b,options:y,name:x,form:w,tabIndex:R,hideInput:N,disabled:M,className:G,cellStyles:P,cellClassName:U="",cellCheckedStyles:H,cellCheckedClassName:J="",enableFormSubmit:I}=a,{dataValue:re}=o,ge=a.CustomIcon,ne=y.map((ke,xe)=>{let ye=ke,{value:V,label:se,disabled:pe,className:j="",checkedStyles:$,checkedClassName:oe="",freeCSS:ee}=ye,ue=Je(ye,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Ce=(0,hs.UUID)(),Se=re.findIndex(Ht=>Ht===V)!=-1,Ie=_(_({},P),ue),Ge=[md("Label"),U,j];Se&&(Ie=E(_(_(_({},Ie),H),$),{freeCSS:_(_(_({},Ie==null?void 0:Ie.freeCSS),H==null?void 0:H.freeCSS),$==null?void 0:$.freeCSS)}),Ge=[...Ge,J,oe]);let Qe=()=>{if(M||pe)return;let Ht=[];if(d=="radio")Ht=[V];else if(d=="checkbox"||b)if(!Se)Ht=[...o.dataValue,V];else{let pt=[...o.dataValue];pt.splice(o.dataValue.findIndex(kt=>kt==V),1),Ht=pt}l(pt=>E(_({},pt),{dataValue:Ht,eventType:"update",eventID:(0,hs.UUID)()}))},yt=[(0,Pa.jsx)(tn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:hs.default.is.string(se)?(0,Pa.jsx)(T,{children:se}):se},"content")];return h&&yt[a.iconPosition=="right"?"push":"unshift"]((0,Pa.jsx)(ge,{isChecked:Se,iconSize:p,iconColor:v,toggle:Qe},"icon")),[(0,Pa.jsx)(T,{htmlTag:"input",type:d=="radio"?"radio":"checkbox",className:md("Input"),name:"RadioCheckbox-"+x,"data-list-index":s+"-"+xe,id:Ce,value:String(V),disabled:M||pe,checked:Se,onFocus:Ht=>{pe||d=="radio"&&(o.dataValue.length||l(pt=>E(_({},pt),{dataValue:[V],eventType:"update",eventID:(0,hs.UUID)()})))},onChange:()=>{Qe()},onKeyDown:Ht=>{let{key:pt,shiftKey:kt}=Ht;if((d=="checkbox"||r.rootStates.isChecker)&&pt!="Tab"&&pt.match(/Arrow/)){Ht.preventDefault();let vt=["ArrowLeft","ArrowUp"].includes(pt)?-1:1,it=xe+vt;it<0?it=y.length-1:it>=y.length&&(it=0),bt(`input[data-list-index="${s}-${it}"]`).focus()}I&&Kt.SubmitForm(Ht,w)},tabIndex:R},"List-"+hs.default.Stringify(V)),(0,Pa.jsx)(T,E(_({htmlTag:"label","data-disabled":M||pe,htmlFor:Ce,className:Ge.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ie),{children:yt}),"ListTrigger-"+hs.default.Stringify(V))]});return(0,Pa.jsx)(_t,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[G,md("CellBase"),md("HideInput_"+N),md("IconIndicator_"+!!h),md("Tone_"+c)].join(" "),children:ne})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Pa.jsx)(le.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Pa.jsx)(Sd._Icon,E(_({type:"radio"},r),{children:(0,Pa.jsx)(T,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Pa.jsx)(T,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Pa.jsx)(Sd._Icon,E(_({type:"checkbox"},r),{children:(0,Pa.jsx)(T,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Pa.jsx)(we.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},Aw=r=>{r=r||"checkbox";let a=l=>(l=E(_({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:_({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=Sd.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=Sd.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=Lo(l),(0,Pa.jsx)(La,{componentID:l.componentID,children:Sd.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Pa.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Pa.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Pa.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Pa.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Pa.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},wd=Aw("radio"),U_=Aw("checkbox"),DO=Aw();var Lw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((o=r==null?void 0:r.max)!=null?o:(0,Ar.Time)().addYear(10).year);for(let c=s;c<=d;c++)l.unshift({value:c,label:[c,...Ar.default.transformer.wareki(c).value].join(" -")});return l},LO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let s=(0,Rc.useRef)(!1),[d,c]=(0,Rc.useState)((()=>{var p,v;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let y=Number(b[0]),x=Number(b[1]);return{modifiedType:"init",hour:y,minutes:x}}else if(a=="date"){let[b,y,x]=(p=String(l))==null?void 0:p.split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y)||Ar.default.is.nullish(x))&&([b,y,x]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(y),date:Number(x)}}else if(a!="week"){if(a=="month"){let[b,y]=String(l).split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y))&&([b,y]=(0,Ar.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(y)}}else if(a=="year"){let[b]=String(l).split(/\D/);return Ar.default.is.nullish(b)&&([b]=(0,Ar.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,y,x]=(v=String(l))==null?void 0:v.split(/\D/);return(Ar.default.is.nullish(b)||Ar.default.is.nullish(y)||Ar.default.is.nullish(x))&&([b,y,x]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(b),month:Number(y),date:Number(x)}}}return{}})());(0,Rc.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",v=o||"year";if(a=="clock"){let{hour:b,minutes:y}=d;p=[b.zeroEmbed(2),y.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:y,date:x}=d;p=[b,y.zeroEmbed(2),x.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:y}=d;p=[b,y.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:y,date:x,era:w}=d;v=w,p=[b,y.zeroEmbed(2),x.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,v)}}else s.current=!0},[d]);let h=E(_({},r),{val_value:d,set_value:c});return(0,Ve.jsx)(T,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Ve.jsx)(T,{className:Aa(a.toCapital()+"Base"),children:a=="clock"?(0,Ve.jsx)(Ka.Clock.index,_({},h)):a=="date"?(0,Ve.jsx)(Ka.Date.index,_({},h)):a=="week"?"":a=="month"?(0,Ve.jsx)(Ka.Month.index,_({},h)):a=="year"?(0,Ve.jsx)(Ka.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ve.jsx)(Ka.DateWareki.index,_({},h)):(0,Ve.jsx)(Ve.Fragment,{})})})},Ka={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,[h,p]=(0,Rc.useState)(d.hour>12?2:1),[v,b]=(0,Rc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,Rc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(v))},[v]);let{hour:y,minutes:x}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(_t,{flexType:"row",flexWrap:!1,gap:1,className:Aa("Body"),children:[(0,Ve.jsxs)(ct,{className:Aa("DesignSide"),flexSizing:0,children:[(0,Ve.jsx)(T,{className:Aa("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Ve.jsxs)(T,{className:Aa("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Ve.jsx)(T,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Aa("Needle"),Aa("hour")].join(" "),freeCSS:{transform:`rotate(${y*30+x/2}deg)`}}),(0,Ve.jsx)(T,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Aa("Needle"),Aa("minute")].join(" "),freeCSS:{transform:`rotate(${x*6}deg)`}})]})}),(0,Ve.jsx)(wd,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:w})=>{let R=d.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:R,minutes:d.minutes})}}),(0,Ve.jsx)(T,{borderTop:!0,margin:[0,1]}),(0,Ve.jsx)(wd,{icon:!0,value:[v],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:w})=>{b(w)}})]}),(0,Ve.jsxs)(ct,{children:[(0,Ve.jsxs)(T,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ve.jsxs)(_t,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Ve.jsx)(ct,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ka.Clock.Hours({onClick:w=>{let R=w+(h==2?12:0);c({modifiedType:"update",hour:R,minutes:d.minutes})},min:a,max:o,ampm:h})}),(0,Ve.jsx)(ct,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ka.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:d.hour,minutes:w})},min:a,max:o,unit:v})})]})]})]}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));d>c&&(s=!0)}}a.push((0,Ve.jsx)(le.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,Ve.jsx)(le.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h,month:p,date:v}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{flexWrap:!0,children:[(0,Ve.jsxs)(_t,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Ve.jsx)(ps,{override:"force",emptySelect:!1,value:h,options:Lw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:Number(b),month:p,date:v})},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})})}),(0,Ve.jsx)(ps,{override:"force",emptySelect:!1,value:p,options:(()=>{let b=[];for(let y=1;y<=12;y++)b.push({value:y,label:String(y)+"\u6708"});return b})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:h,month:Number(b),date:v})}})]}),(0,Ve.jsx)(Ka.Variables.ShiftButtons,{callback:b=>{let y=p+b,x=h;y<=0&&(x--,y=12),y>12&&(x++,y=1),c({modifiedType:"update",year:x,month:y,date:d.date})}})]}),(0,Ve.jsx)(T,{borderTop:!0}),(0,Ve.jsx)(T,{children:Ka.Date.MonthCalendar({min:a,max:o,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[y,x,w]=b;c({modifiedType:"update",year:y,month:x,date:w})}})}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:d,callback:c}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([l,s.zeroEmbed(2),"01"].join("/")),v=p.getLastDayOfTheMonth(),b=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,y=[],x=[],w=[],R=[],N={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)y.push((0,Ve.jsx)(T,E(_({className:[Aa("CalendarDay"),Aa("Legend")].join(" ")},N),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)x.unshift((0,AO.createElement)(T,E(_({className:[Aa("CalendarDay"),Aa("Dummy")].join(" "),fontColor:"4.thin"},N),{key:M}),b-M));for(var M=1;M<=v.date;M++){let P=M,U=l==h.year&&s==h.month&&M==h.date,H=!1;{let J=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>J&&(H=!0),r.max){let I=Number(String(r.max).replace(/\D/ig,""));J>I&&(H=!0)}}w.push((0,Ve.jsx)(le.Clear,E(_({className:[Aa("CalendarDay"),Aa("isToday_"+U)].join(" ")},N),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,P])},tabIndex:-1,isLocked:H,children:M}),P))}for(var M=1;M<7-v.weekday;M++)R.push((0,Ve.jsx)(T,E(_({className:[Aa("CalendarDay"),Aa("Dummy")].join(" "),fontColor:"4.thin"},N),{children:M}),M));return(0,Ve.jsxs)(ua,{gridCols:7,gap:"1/6",children:[y,x,w,R]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h,month:p}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{gap:0,children:[(0,Ve.jsx)(Pe.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Ve.jsx)(ps,{emptySelect:!1,value:h,options:Lw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),onUpdateValidValue:({value:v})=>{c({modifiedType:"update",year:Number(v),month:p})}})}),(0,Ve.jsx)(Ka.Variables.ShiftButtons,{callback:v=>{let b=Math.min(Math.max(h+v,1900),2100);c({modifiedType:"update",year:b,month:p})}})]}),(0,Ve.jsx)(T,{borderTop:!0}),Ka.Month.Months({min:a,max:o,year:d.year,callback:v=>{let[b,y]=v;c({modifiedType:"update",year:b,month:y})}}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Ar.Time)(),s=[];for(let d=1;d<=12;d++){let c=a==l.year&&d==l.month,h=!1;{let v=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>v&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));v>b&&(h=!0)}}let p=[Aa("Cell"),c?Aa("isThisMonth"):""].join(" ");s.push((0,Ve.jsxs)(le.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ve.jsx)(ua,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{year:h}=d;return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsx)(ps,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:Lw({min:a,max:o}),onUpdateValidValue:({value:p})=>{c({modifiedType:"update",year:Number(p)})}}),(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:d,set_value:c}=r,{era:h,year:p,month:v,date:b}=d,y={val_value:d,set_value:c};return(0,Ve.jsxs)(T,{children:[(0,Ve.jsxs)(Pe.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Ve.jsx)(Ka.DateWareki.EraSelect,_({},y)),(0,Ve.jsx)(T,{borderRight:!0}),(0,Ve.jsx)(Ka.DateWareki.Calendar,_({},y))]}),(0,Ve.jsx)(Pe.Right,{padding:1,children:(0,Ve.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ve.jsxs)(ct,{padding:1,gap:0,children:[(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=(0,Ar.Time)();o({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=(0,Ar.Time)();o({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Ve.jsx)(le.Clear,E(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Ar.Time)().year+10;for(let d=1900;d<s;d++)l.unshift({value:d,label:d+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Ar.Time)().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,Ve.jsxs)(ct,{padding:1,children:[(0,Ve.jsxs)(Pe.Separate,{children:[(0,Ve.jsx)(ps,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:({value:s})=>{o(d=>E(_({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ve.jsxs)(Pe.Center,{gap:"1/3",children:[(0,Ve.jsx)(ps,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Ve.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(we.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:({value:s})=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ve.jsx)(le.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ve.jsx)(we.ChevronLeft,{})}),(0,Ve.jsx)(le.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ve.jsx)(we.ChevronRight,{})})]})]}),(0,Ve.jsx)(Ka.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),c=[];for(let p=0;p<7;p++)c.push((0,Ve.jsx)(Ye.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ar.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let v=(0,Ar.Time)(l).getFirstDayOfTheMonth().addDate(p-s);c.push((0,Ve.jsx)(le.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"lastMonth-"+p))}let h=(0,Ar.Time)();for(let p=1;p<=d.date;p++){let v=(0,Ar.Time)(l).setDate(p),b=h.diff(v).dates==0;c.push((0,Ve.jsx)(le.Clear,{ssSquare:3,fontColor:"2.normal",className:[Aa("CalendarDay"),Aa("isToday_"+b)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"currentMonth-"+p))}for(let p=0;p<7-d.weekday-1;p++){let v=(0,Ar.Time)(l).addMonth(1).setDate(1).addDate(p);c.push((0,Ve.jsx)(le.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"nextMonth-"+p))}return(0,Ve.jsx)(ua,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,Ve.jsxs)(_t,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Ve.jsxs)(le.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Ve.jsx)(we.Times,{})," \u524A\u9664"]}),(0,Ve.jsx)(le.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),Ft.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ve.jsxs)(_t,{gap:"1/3",flexWrap:!1,children:[(0,Ve.jsx)(le.Clear,E(_({className:Aa("LeftButton"),tabIndex:-1,right:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Ve.jsx)(we.ChevronLeft,{})})),(0,Ve.jsx)(le.Clear,E(_({className:Aa("RightButton"),tabIndex:-1,left:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Ve.jsx)(we.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var xd=" ~ ",F$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+xd.length,length:4},{type:"month",from:15+xd.length,length:2},{type:"date",from:18+xd.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+xd.length,length:4},{type:"month",from:13+xd.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},Cd={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=_n.default.flatArray(o||""),{defaultValue:d,format:c,ranges:h,sets:p}=F$[a],v=[],b=a=="clock"?":":"/";for(let y=0;y<s.length;y++)s[y]=String(s[y]).replace(/\D/ig,b);for(let y=0;y<p;y++){let x=s[y]||"";if(!x.match(c))s[y]="",v.push(d);else{let w=d;x.split(/\D/).forEach((R,N)=>{if(N==0&&a=="dateWareki"){let M=Number(R);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),R=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,R.length)),R)}),v.push(w)}}return{formatValue:v.join(xd),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:d}=a,c=[],h=_n.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let v=o=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,v);for(let b=0;b<h.length;b++){let y=h[b],x=h[b-1];y.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(y>=x))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);!y||!x?p.filled=!1:(Number(y)>23||Number(x)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(b=>{let[y,x,w]=b.split(/\D+/);if(!y||!x||!w)p.filled=!1;else{let R=xm.Time(b);(!R.validate||b!=R.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);if(!y||!x)p.filled=!1;else{let w=xm.Time(y+"/01/01").weekday,R=xm.Time(y+"/01/0"+(7-w+1)).addWeek(Number(x)-1);y!=String(R.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(b=>{let[y,x]=b.split(/\D+/);!y||!x?p.filled=!1:xm.Time([y,x,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let y=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>y&&(p.prohibited=!0),s){let x=Number(String(s).replace(/\D/ig,""));y>x&&(p.prohibited=!0)}}})))})();{let{empty:v,escalated:b,filled:y,correct:x,prohibited:w}=p;v&&d&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),x||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),y||c.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&c.push({type:"invalid",label:(0,ia.jsxs)(ia.Fragment,{children:[(0,ia.jsx)(T,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!c.filter(({type:v})=>v=="invalid").length,notice:c}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:d,val_focus:c,set_focus:h}=r,{key:p,shiftKey:v,ctrlKey:b,metaKey:y}=l,x=b||y,{selectionStart:w,selectionEnd:R}=l.target,{index:N,prevIndex:M}=c,{ranges:G,formatValue:P}=s,U=G.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let H=0;if(p=="Tab"){let J=+!v*2-1;if(H=c.index+J,H<0||H>U)return}else{let J=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;x||w==0&&R==String(s.formatValue).length?H=J==1?U:0:H=Math.max(0,Math.min(N+J,U))}h(J=>E(_({},J),{index:H,prevIndex:N})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let H=N;H=Math.max(H,0),H=Math.min(H,U);let{type:J,from:I,length:re}=G[H],ge=P.slice(I,I+re),ne;if(p=="Backspace")ne="------".slice(0,re);else if(["ArrowUp","ArrowDown"].includes(p)){let ke=p=="ArrowUp"?1:-1;ge=ge|0,ne=ge+ke;let[xe,ye,V]=J=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:J=="minute"?[0,59,2]:J=="hour"?[0,23,2]:J=="date"?[1,31,2]:J=="week"?[1,53,2]:J=="month"?[1,12,2]:J=="year"?[0,2999,4]:[0,0,0];ne>ye?ne=xe:ne<xe&&(ne=ye),ne=Number(ne).zeroEmbed(V)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ke=ge|0,xe=p,ye=`${ke}${xe}`;if(M!=N&&(ke=0,ye="0"+xe),J=="year"||J=="dateWareki"&&a=="year")Number(ye)>1e4?ne=xe:ne=ye,(ne|0)>1e3&&H++;else if(["hour","minute","date","week","month"].includes(J)||J=="dateWareki"&&a!="year"){let V=J=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:J=="minute"?59:J=="hour"?23:J=="date"?31:J=="week"?53:J=="month"?12:0;ne=(ye|0)>V?xe:ye,(Number(xe)>Number(String(V)[0])||ge=="0000".slice(0,String(V).length)&&(ye!="0000".slice(0,String(V).length)||["minute","hour"].includes(J)&&M==N)||(ye|0)>=TR(10,String(V).length-1))&&H++}J=="year"||J=="dateWareki"?ne=(ne|0).zeroEmbed(4):ne=(ne|0).zeroEmbed(2)}{let ke=String(P).partReplace(I,String(ne)),xe=ke.split(xd).map(ye=>ye.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ye=xe[0].split(/\D/),[V,se,pe]=ye;ye.length==3&&V&&(xe=[[Number(V)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),se,pe].join("/")])}H=Math.max(H,0),H=Math.min(H,U),d(ye=>E(_({},ye),{dataValue:["dates","months"].includes(o)?xe:xe[0],formatValue:ke,eventType:"update",eventID:(0,_n.UUID)()})),h(ye=>E(_({},ye),{index:H,prevIndex:ye.index}))}}}},OO={picker:{launch:r=>{let a=r.sheetID||(0,_n.UUID)(),o=r,{onValueUpdate:l,min:s,max:d,era:c,restrict:h,defaultValue:p}=o,v=Je(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);Ft.open(E(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},v),{content:(0,ia.jsx)(Pe.Center,{children:(0,ia.jsx)(LO,{restrict:h,min:s,max:d,era:c,defaultValue:p,sheetID:a,onValueUpdate:(b,y)=>{l(b,y)}})})}))},remove:r=>{na.close(r)}}},j$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,ia.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ia.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),children:(0,ia.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},H$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:d,era:c,form:h,name:p,min:v,max:b,className:y,enableFormSubmit:x,checkValidationAtFirst:w,onKeyDown:R,onValidate:N,onUpdateValue:M,onUpdateValidValue:G,value:P="",leftIndicator:U,rightIndicator:H,leftIcon:J,rightIcon:I,freeCSS:re,wrapStyles:ge}=a,ne=Je(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ke,xe]=(0,No.useState)(c),[ye,V]=(0,No.useState)(E(_({componentID:r.componentID||""},Cd.DataLeveling({restrict:s,value:P,era:ke})),{eventType:"init",eventID:(0,_n.UUID)()})),[se,pe]=(0,No.useState)({ok:!1,notice:[]}),[j,$]=(0,No.useState)({active:!1,index:0,prevIndex:-1}),oe={rootStates:r,val_status:ye,set_status:V,val_validate:se,set_validate:pe,val_era:ke,set_era:xe,val_focus:j,set_focus:$};Kt.CommonEffects({type:"time",states:r,val_status:ye,set_status:V,val_validate:se,set_validate:pe,SystemValidation:Cd.SystemValidation,ExtraOverrideStates:_({},Cd.DataLeveling({restrict:s,value:P,era:ke}))});let ee=(0,No.useRef)(!1);return(0,No.useEffect)(()=>{if(ee.current){V(Ce=>_(_({},Ce),Cd.DataLeveling({restrict:s,value:Ce.dataValue,era:ke})));let ue=_n.useStore.get("refreshEra_"+ye.componentID);ue&&ue.refreshEra(ke)}else ee.current=!0},[ke]),_n.useStore.update({[ye.componentID]:{openPicker:ue=>{r.disabled||OO.picker.launch({parent:ue,sheetID:"PickerTips-"+ye.componentID,restrict:s,min:v,max:b,defaultValue:ye.dataValue,era:ke,onValueUpdate:(Ce,Se)=>{V(Ie=>E(_(_({},Ie),Cd.DataLeveling({restrict:s,value:Ce,era:Se})),{eventType:"update",eventID:(0,_n.UUID)()})),xe(Se)}})},resetEra:ue=>{xe(ue),V(Ce=>E(_(_({},Ce),Cd.DataLeveling({restrict:s,value:"",era:ke})),{eventType:"update",eventID:(0,_n.UUID)()}))}}}),(0,No.useEffect)(()=>{let{index:ue,active:Ce}=j;if(Ce){ue=Math.max(ue,0),ue=Math.min(ue,ye.ranges.length-1);let{from:Se,length:Ie}=ye.ranges[ue],Ge=bt("#"+r.id)[0];Ge&&Ge.setSelectionRange(Se,Se+Ie)}},[j]),(0,ia.jsxs)(Ua,{val_status:ye,set_status:V,val_validate:se,states:r,children:[(0,ia.jsx)(j$.Shallow,_({},oe)),(0,ia.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),st.get().isTouchDevice?(0,ia.jsx)(le.Plain,E(_({"data-show-validation":Kt.isShowValidation(se,ye,!!w),"data-component-id":ye.componentID,"data-input-origin":ye.componentID,"data-disabled":r.disabled,className:y,freeCSS:{textAlign:"left"}},ne),{children:ye.formatValue,onClick:ue=>{let Ce=_n.useStore.get(ye.componentID);Ce&&Ce.openPicker(`[data-input-origin="${ye.componentID}"]`),ue.stopPropagation()}})):(0,ia.jsx)(T,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Kt.isShowValidation(se,ye,!!w),"data-input-origin":ye.componentID,"data-disabled":r.disabled,value:ye.formatValue,className:y,tabIndex:st.get().isTouchDevice?-1:0,onKeyDown:ue=>{Cd.KeyDownEvent({restrict:s,event:ue,val_era:ke,val_status:ye,set_status:V,val_focus:j,set_focus:$}),R&&R(ue),x&&Kt.SubmitForm(ue,h)},onKeyUp:ue=>{ue.key=="Tab"&&$(Ce=>E(_({},Ce),{active:!0}))},onClick:ue=>{let Ce=ue.target.selectionEnd,Se=0;ye.ranges.forEach((Ie,Ge)=>{let{from:Qe,length:yt,region:Ht}=Ie;Qe<=Ce&&Ce<=Qe+(Ht||yt)&&(Se=Ge)}),$(Ie=>E(_({},Ie),{active:!0,index:Se})),ue.preventDefault()},onChange:()=>{}},ne))]})},Hs={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,No.useState)(r.componentID||(0,_n.UUID)());if(a.componentID=o,_n.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?BO.faClock:NO.faCalendarAlt;a.rightIcon=(0,ia.jsx)(Ha,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ia.jsx)(le.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=_n.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ia.jsx)(we,{icon:l})})})}return(0,ia.jsx)(La,{componentID:a.componentID,children:H$,states:Gn(a)})},Clock:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"date"},r)),Week:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"week"},r)),Month:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"month"},r)),Year:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,No.useState)(r.componentID||(0,_n.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,No.useState)((()=>{let d="year";if(o=="wareki"&&(d="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let v=Number(c);v>=2019?(v-=2019,d="reiwa"):v>=1989?(v-=1989,d="heisei"):v>=1926?(v-=1926,d="shouwa"):v>=1912?(v-=1912,d="taisho"):v>=1868&&(v-=1868,d="meiji"),v+=1}}return d})());return(0,No.useEffect)(()=>{_n.useStore.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,ia.jsx)(Hs.Origin,E(_({restrict:"dateWareki",leftIndicator:(0,ia.jsx)(ps,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:({value:d,eventType:c})=>{s(d);let h=_n.useStore.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"dates"},r)),Month:r=>(0,ia.jsx)(Hs.Origin,_({restrict:"months"},r))},fn:OO};var rr=X(Bt()),Va=X(fr()),jr=X(ir());var Rd=X(Bt()),op=X(ir());var kd=X(Bt()),V_=X(ir());var Td=X(fr());var ap=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,c=Je(a,["color","size","showInitial","loaderID"]),[h]=(0,Td.useState)(d),[p]=(0,Td.useState)((0,V_.UUID)()),[v,b]=(0,Td.useState)(s),y=0;l=="S"?y=1:l=="R"?y=1.5:l=="L"?y=3:l=="XL"?y=4:l=="MAX"&&(y=6);let x={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,Td.useEffect)(()=>{let w=bt('[data-component-id="'+p+'"]');v?w.removeClass(Da("Hide")).await(10).addClass(Da("Active")):w.removeClass(Da("Active")).await(210).addClass(Da("Hide"))},[v]),(0,Td.useEffect)(()=>{V_.useStore.set({[p]:{active:w=>{h==w&&b(!0)},stop:w=>{h==w&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,kd.jsxs)(Pe.Center,E(_({className:[Da("MiniLoader"),Da(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:y,position:"relative"},c),{children:[(0,kd.jsx)("svg",{className:Da("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:x},children:(0,kd.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,kd.jsx)("svg",{className:Da("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:x},children:(0,kd.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var jl=X(Bt()),IO=X(ir());var W_=X(fr());var PO=()=>{let[r,a]=(0,W_.useState)(!1);return(0,W_.useEffect)(()=>{IO.useStore.set({["Loader-corner-"+st.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,jl.jsxs)(_t,{className:[Da("CornerLoader"),r?Da("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,jl.jsxs)(_t,{className:Da("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,jl.jsx)(T,{className:Da("Ld4")}),(0,jl.jsx)(T,{className:Da("Ld3")}),(0,jl.jsx)(T,{className:Da("Ld2")}),(0,jl.jsx)(T,{className:Da("Ld1")}),(0,jl.jsx)(T,{className:Da("Ld2")}),(0,jl.jsx)(T,{className:Da("Ld3")}),(0,jl.jsx)(T,{className:Da("Ld4")})]}),(0,jl.jsx)(T,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var np=r=>{let a=r.color;return{S:o=>(0,Rd.jsx)(ap,_({size:"S",color:a},o)),R:o=>(0,Rd.jsx)(ap,_({size:"R",color:a},o)),L:o=>(0,Rd.jsx)(ap,_({size:"L",color:a},o)),XL:o=>(0,Rd.jsx)(ap,_({size:"XL",color:a},o)),MAX:o=>(0,Rd.jsx)(ap,_({size:"MAX",color:a},o))}},an={Wrapper:()=>(0,Rd.jsx)(PO,{}),Theme:np({color:"theme"}),Posi:np({color:"posi"}),Nega:np({color:"nega"}),Warn:np({color:"warn"}),White:np({color:"white"}),Cloud:np({color:"cloud"}),fn:{corner:{active:()=>{let r=op.useStore.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=op.useStore.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{bt("."+Da("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=op.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{bt("."+Da("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=op.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{bt("."+Da("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=op.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{an.fn.corner.stop(),an.fn.mini.stopALL()}}};function U$(r){let{value:a,states:o}=r,{required:l,options:s,min:d,max:c}=o;d=d||0,c=c||65535;let h=[],p=a.filter(v=>v!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var ip={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:d,searchValue:c}=o,h=c||(jr.default.is.string(s)?s:"")||(jr.default.is.string(d)?d:"");a.push(E(_({},o),{searchValue:h,type:l||"selector",value:d}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},lp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Fl(a);return(0,rr.jsx)(T,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,rr.jsx)(Ye.Description,E(_({className:a.className},l),{position:"absolute",width:1,freeCSS:E(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,rr.jsx)(T,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:d,val_options:c,set_options:h,val_optionsDict:p,set_optionsDict:v,val_preventOpenSelectorOnFocus:b,set_preventOpenSelectorOnFocus:y,val_selectorOpen:x,set_selectorOpen:w,val_status:R,set_status:N,val_validate:M,set_validate:G}=r,P=a,{tone:U,required:H,form:J,className:I,multiSelect:re,enableFormSubmit:ge,checkValidationAtFirst:ne,onValidate:ke,onUpdateValue:xe,onUpdateValidValue:ye,value:V="",options:se,leftIndicator:pe,rightIndicator:j,leftIcon:$,rightIcon:oe,componentID:ee,status_id:ue,wrapStyles:Ce,emptySelect:Se,SearchInput:Ie,SearchInputPlaceholder:Ge,SelectedComponent:Qe,SelectorComponent:yt,SelectorStyles:Ht,SelectorPosition:pt,DynamicOptionsOnSearch:kt}=P,vt=Je(P,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,Va.useEffect)(()=>{var it,Te;if(a.disabled||!x)return;let Rt=ip.FilterSelectableOptions(r);d((Te=(it=Rt[0])==null?void 0:it.value)!=null?Te:null)},[o]),(0,Va.useEffect)(()=>{R.eventType!="init"&&(a.max==R.dataValue.length?(w(!1),y(!0),setTimeout(()=>{let it=(0,jr.default)('[data-input-origin="'+a.componentID+'"]');it&&it.focus()},10)):(0,jr.default)("#SearchInput_"+a.componentID).focus())},[R.dataValue]),(0,Va.useEffect)(()=>{let it="autocomplete-click-"+a.componentID;if(x){if(!(0,jr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,jr.default)("#SearchInput_"+a.componentID).focus(),(0,jr.default)(document).addEvent({eventID:it,eventType:"mousedown",callback:Te=>{let Rt=(0,jr.default)(Te.target),Ut=!!(0,jr.default)(Rt).parent("."+ss("Core")).length;(0,jr.default)(Rt).parent("."+ss("Selector")).length||Ut||w(!1)}})}else(0,jr.default)(document).removeEvent([it]),l("")},[x]),(0,rr.jsxs)(rr.Fragment,{children:[(0,rr.jsx)(T,E(_({tabIndex:0},vt),{"data-disabled":a.disabled,"data-show-validation":Kt.isShowValidation(M,R,!!ne),"data-component-id":R.componentID,"data-input-origin":R.componentID,"data-focus":!!x,className:[I,ss("Core")].join(" "),onFocus:it=>{if(vt!=null&&vt.onFocus&&(vt==null||vt.onFocus(it)),!a.disabled){if(b)return y(!1);w(!0),it.preventDefault()}},onClick:it=>{vt!=null&&vt.onClick&&(vt==null||vt.onClick(it)),!a.disabled&&w(!0)},onKeyDown:it=>{let{key:Te}=it;ge&&Kt.SubmitForm(it,J),!x&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&w(!0)},children:(0,rr.jsxs)(Pe.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,rr.jsx)(lp.Selected,_({},r)),(0,rr.jsx)(tn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,rr.jsx)(lp.SearchInput,_({},r))]})})),x&&(0,rr.jsx)(lp.Selector,_({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,Va.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,rr.jsx)(T,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:d,metaKey:c,ctrlKey:h}=s,p=c||h;d=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let v=(0,jr.default)('[data-input-origin="'+a.componentID+'"]');v&&v.focus()},10)):d=="Tab"?r.set_selectorOpen(!1):d==" "?jr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):d=="Backspace"?jr.default.scope(()=>{if(r.val_keyword)return;let v=[...r.val_status.dataValue];v.pop(),r.set_status(b=>E(_({},b),{dataValue:v,eventType:"update",eventID:(0,jr.UUID)()}))}):d=="Enter"&&jr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let v=r.val_options.find(y=>y.value==r.val_optionFocused);if(!v)return;let{value:b}=v;r.set_status(y=>{let x=[...y.dataValue];return jr.default.scope(()=>{if(b===null)return x=[];y.dataValue.includes(b)?x=x.filter(w=>w!==b):a.multiSelect?x.push(b):x=[b]}),E(_({},y),{dataValue:x,eventType:"update",eventID:(0,jr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),jr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(d))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let v=d=="ArrowDown"?1:-1,b=ip.FilterSelectableOptions(r),y=b.length-1,x=null;jr.default.scope(()=>{var w,R,N,M,G,P,U,H,J,I;let re=b.findIndex(ge=>ge.value==r.val_optionFocused);if(re==-1&&(re=0),v==1){if(x=(R=(w=b[0])==null?void 0:w.value)!=null?R:null,p){x=(N=b[y].value)!=null?N:null;return}if(re==-1||re==y)return;x=(G=(M=b[re+1])==null?void 0:M.value)!=null?G:null}else{if(x=(P=b[y].value)!=null?P:null,p){x=(H=(U=b[0])==null?void 0:U.value)!=null?H:null;return}if(re==-1||re==0)return;x=(I=(J=b[re-1])==null?void 0:J.value)!=null?I:null}}),r.set_optionFocused(x)}),a.enableFormSubmit&&Kt.SubmitForm(s,r.rootStates.form)},onChange:s=>{let d=s.target.value;r.set_keyword(d)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,Va.useState)("idle"),[s,d]=(0,Va.useState)("idle");(0,Va.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");d("fetch");let b="autocomplete-search-"+r.rootStates.componentID;jr.default.interval.once(()=>Oa(void 0,null,function*(){let y=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);d("idle");let x=ip.InitOptions(y||[]);r.set_options(x)}),300,b)},[r.val_keyword]);let c=[],h=ip.FilterSelectableOptions(r,!0),p=ip.FilterSelectableOptions(r);h.forEach((b,y)=>{let{type:x,value:w}=b,R=r.val_optionFocused==w,N=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;c.push((0,rr.jsx)(M,{option:b,isFocused:R,isSelected:N,addCallback:()=>{r.set_status(G=>{let P=[...G.dataValue];return jr.default.scope(()=>{if(w===null)return P=[];G.dataValue.includes(w)?P=P.filter(U=>U!==w):r.rootStates.multiSelect?P.push(w):P=[w]}),E(_({},G),{dataValue:P,eventType:"update",eventID:(0,jr.UUID)()})})}},jr.default.Stringify(w)||(0,jr.UUID)()))}),p.length||(c=[(0,rr.jsx)(Ye.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(c=[(0,rr.jsxs)(Pe.Left,{padding:1,fontColor:"3.blur",children:[(0,rr.jsx)(an.Theme.R,{showInitial:!0}),(0,rr.jsx)(Ye.Supplement,{children:"Loading..."})]},"loader")]);let v={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:v.bottom="100%",v.left=0,v.paddingBottom="1/3";break;case 2:v.bottom="100%",v.right=0,v.paddingBottom="1/3";break;case 3:v.top="100%",v.left=0,v.paddingTop="1/3";break;case 4:v.top="100%",v.right=0,v.paddingTop="1/3";break;default:break}return(0,rr.jsx)(T,E(_({},v),{children:(0,rr.jsx)(Ft.Body,E(_({className:ss("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,rr.jsx)(ct,{gap:"1/12",padding:[1,0],children:c})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,d=[];return o.dataValue.forEach(c=>{let h=s[jr.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,v=h.label;h.value===null&&(v=""),d.push((0,rr.jsx)(T,{className:ss("SelectedCell"),children:(0,rr.jsx)(p,{value:h.value,label:v,removeCallback:b=>{if(b.stopPropagation(),b.preventDefault(),a.disabled)return;let y=[...o.dataValue];y=y.filter(x=>x!==c),l(x=>E(_({},x),{dataValue:y,eventType:"update",eventID:(0,jr.UUID)()}))}})},jr.default.Stringify(h.value)))}),(0,rr.jsx)(rr.Fragment,{children:d})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Va.useState)(!1),[d,c]=(0,Va.useState)(!1),[h,p]=(0,Va.useState)(!1),[v,b]=(0,Va.useState)(""),[y,x]=(0,Va.useState)(r.options),[w,R]=(0,Va.useState)((a=r.value[0])!=null?a:null),[N,M]=(0,Va.useState)({}),[G,P]=(0,Va.useState)(Kt.DefaultStatus(r.componentID,o)),[U,H]=(0,Va.useState)({ok:!1,notice:[]}),J=(0,Va.useRef)(!1);(0,Va.useEffect)(()=>{J.current?x(r.options):J.current=!0},[r.options]),(0,Va.useEffect)(()=>{if(!y.length)return;let ne=[...y],ke=_({},N);ne.forEach(xe=>{xe.type!="label"&&(ke[jr.default.Stringify(xe.value)]=xe)}),M(ke)},[y]);let I={rootStates:r,val_options:y,set_options:x,val_optionFocused:w,set_optionFocused:R,val_optionsDict:N,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:d,set_preventDynamicSearchOnKeywordChange:c,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:v,set_keyword:b,val_status:G,set_status:P,val_validate:U,set_validate:H},re=!!r.multiSelect;Kt.CommonEffects({type:re?"autocomplete.multi":"autocomplete.single",states:r,val_status:G,set_status:P,val_validate:U,set_validate:H,SystemValidation:U$});let ge=G.dataValue.length&&G.dataValue[0]!==null;return ge=ge||h,(0,rr.jsxs)(Ua,{val_status:G,set_status:P,val_validate:U,states:r,children:[(0,rr.jsx)(xu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:ge}),(0,rr.jsx)(lp.Shallow,_({},I)),(0,rr.jsx)(lp.Button,_({},I))]})}},q_=r=>{var a;let o=_({},r);return o=E(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:d,addCallback:c})=>l.type=="selector"?(0,rr.jsx)(le.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:d,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{c()},children:(0,rr.jsxs)(Pe.Left,{gap:"1/2",children:[s&&(0,rr.jsx)(we.Check,{fontColor:"theme"}),(0,rr.jsx)(Ye.Supplement,{transition:"short",children:l.label})]})}):(0,rr.jsx)(rr.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:d})=>(0,rr.jsxs)(Pe.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,rr.jsx)(T,{padding:[0,"1/4"],children:s}),(0,rr.jsx)(le.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:d,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,rr.jsx)(we.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,rr.jsx)(Ye.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=jr.default.flatArray((a=o.value)!=null?a:null),o.options=ip.InitOptions(o.options),jr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,rr.jsx)(Ha,{ssSphere:2,children:(0,rr.jsx)(we.Search,{})}),o.disabled&&(o.rightIcon=(0,rr.jsx)(Ha,{ssSphere:2,fontColor:"5.translucent",children:(0,rr.jsx)(we.Ban,{})}))),o.rightIcon&&(o=_({paddingRight:3},o)),o.leftIcon&&(o=_({paddingLeft:3},o)),(0,rr.jsx)(La,{componentID:o.componentID,children:lp.Core,states:Gn(o)})};var Ed=X(Bt());var MO=r=>(0,Ed.jsx)(q_,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Ed.jsx)(Ed.Fragment,{children:o}),rightIcon:(0,Ed.jsx)(Ha,{ssSphere:2,children:(0,Ed.jsx)(we.AngleDown,{})})},r));var wr=X(Bt()),Dd=X(fr()),Hl=X(ir());var Oo=X(Bt()),zO=X(fr()),Io=X(ir());var Ec=X(fr());var Kn={add:function(r){let a=Io.useStore.get("Snackbar-"+st.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Io.useStore.get("Snackbar-"+st.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Oo.jsx)(FO.Wrapper,{})},FO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,Io.UUID)(),children:d,customChildren:c}=a,h=Je(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Ec.useState)(s),[v,b]=(0,Ec.useState)(r.secondsToClose||10);(0,Ec.useEffect)(()=>{let x=bt('[data-component-id="'+p+'"]');setTimeout(()=>{x.addClass(pm("FadeIn"))},10),Io.useStore.set({["Snackbar-"+o]:{remove:()=>{x.addClass(pm("FadeOut"))}}})},[]),(0,Ec.useEffect)(()=>{Io.default.interval.once(()=>{v<=0||b(v-1)},1e3,"Snackbar-"+p),v===0&&Kn.remove(o)},[v]);let y=(0,Oo.jsx)(Oo.Fragment,{});return c?y=(0,Oo.jsx)(c,{close:()=>{Kn.remove(o)}}):y=(0,Oo.jsxs)(Pe.Separate,{verticalAlign:"top",children:[(0,Oo.jsx)(T,{padding:["1/4",0],flexSizing:0,children:Io.default.is.function(d)?(0,Oo.jsx)(d,{}):d}),(0,Oo.jsx)(le.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{Kn.remove(o)},children:(0,Oo.jsx)(we.Times,{})})]}),(0,Oo.jsx)(T,E(_({className:pm("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:y}))},Wrapper:()=>{let[r,a]=(0,Ec.useState)((0,Io.UUID)()),[o,l]=(0,Ec.useState)([]);(0,Ec.useEffect)(()=>{Io.useStore.set({["Snackbar-"+st.get().sessionUID]:{add:d=>{d.snackID=d.snackID||(0,Io.UUID)();let c=o.findIndex(h=>h.snackID==d.snackID);if(c==-1)o.unshift(E(_({},d),{snackID:d.snackID}));else{let h=[...o];h[c]=E(_({},d),{snackID:d.snackID}),o=h}a((0,Io.UUID)())},remove:d=>{let c=Io.useStore.get("Snackbar-"+d);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=o.findIndex(v=>v.snackID==d);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))}}})},[o.length]);let s=o.map(d=>(0,zO.createElement)(FO.Cell,E(_({},d),{key:d.snackID})));return(0,Oo.jsx)(_t,{className:["AMOTIFY_be",pm("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:s})}};var $O=X(YO());function V$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var GO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,d=(o.dataValue||[]).map((c,h)=>(0,wr.jsx)(GO.ListCell,E(_({},r),{index:h,val_file:c}),c.name));return s>0&&d.push((0,wr.jsx)(T,E(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,ls("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:c=>{let{key:h}=c;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&bt("#"+a.id).click()},children:(0,wr.jsxs)(Pe.Center,{padding:["1/3",0],children:[(0,wr.jsx)(T,{isRounded:!0,className:ls("AddIcon"),children:(0,wr.jsx)(we,{icon:$O.faCloudArrowUp,className:ls("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,wr.jsxs)(T,{children:[(0,wr.jsxs)(T,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,wr.jsx)(T,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,wr.jsx)(ct,E(_({flexSizing:"auto"},Fl(a)),{className:a.className,children:d}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:d}=r,{name:c,size:h,type:p}=l,[v,b]=(0,Dd.useState)(!1),y=(0,Hl.UUID)(),x=h.rank(),[w,R]=c.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),N="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?N=p.replace(/image\//,""):p.match(/pdf/)?N="PDF":p.match(/csv/)?N="CSV":p.match(/spreadsheet/)?N="SpreadSheet":p.match(/presentation/)?N="PowerPoint":p.match(/word/)?N="Word":p.match(/zip/)?N="Zip":p.match(/powerpoint/)?N="PowerPoint":p.match(/html/)?N="HTML":p.match(/js/)?N="JavaScript":p.match(/css/)?N="CSS":p.match(/text\/plain/)&&(N="\u30C6\u30AD\u30B9\u30C8"),(0,Dd.useEffect)(()=>{v&&setTimeout(()=>{bt("#"+y).focus()},100)},[v]),(0,wr.jsxs)(_t,E(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,wr.jsx)(we.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,wr.jsxs)(T,{flexSizing:0,children:[(0,wr.jsx)(T,{children:(0,wr.jsx)(_t,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:ls("FileName"),children:v?(0,wr.jsx)(wr.Fragment,{children:(0,wr.jsxs)(ct,{flexSizing:0,gap:"1/2",children:[(0,wr.jsxs)(_t,{gap:"2/3",verticalAlign:"center",children:[(0,wr.jsx)(gn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:y,form:"form-"+y,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:G}=M;G=="Escape"&&b(!1)}}),(0,wr.jsxs)(T,{children:[". ",R]})]}),(0,wr.jsxs)(_t,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,wr.jsx)(le.Sub,{padding:["2/3",1],onClick:()=>{b(!1)},children:"\u9589\u3058\u308B"}),(0,wr.jsx)(le,{padding:["2/3",1],submitOption:{formName:"form-"+y,callback:M=>Oa(void 0,null,function*(){let{name:G}=M,P=[...s.dataValue],U=P[a],H=U.id;if(!U)return;let{target:J}=yield U.convert();if(!J)return;let I=yield String(J.result).toBlob(l.type);if(!I)return;let re=new File([I],G+"."+R,{type:U.type});re.id=H,P[a]=re,d(ge=>E(_({},ge),{dataValue:P,eventType:"update",eventID:(0,Hl.UUID)()})),b(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,wr.jsxs)(wr.Fragment,{children:[c,!!o.isNameEditable&&(0,wr.jsx)(le.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{b(!0)},children:(0,wr.jsx)(we.Pen,{})})]})})}),!v&&(0,wr.jsxs)(T,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[N,"\u30D5\u30A1\u30A4\u30EB / ",x,"B"]})]}),(0,wr.jsx)(le.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),d(G=>E(_({},G),{dataValue:M,eventType:"update",eventID:(0,Hl.UUID)()})))},children:(0,wr.jsx)(we.Times,{})})]}))}},W$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:d,useSystemOnly:c,accept:h="*",limit:p=1,checkValidationAtFirst:v,onChange:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,value:R=[],className:N,cellStyles:M,cellClassName:G,componentID:P,status_id:U,enableFormSubmit:H,freeCSS:J,wrapStyles:I}=a,re=Je(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[ge,ne]=(0,Dd.useState)(Kt.DefaultStatus(r.componentID||"",R)),[ke,xe]=(0,Dd.useState)({ok:!1,notice:[]}),ye={rootStates:r,val_status:ge,set_status:ne};(0,Dd.useEffect)(()=>{Hl.useStore.set({["AddFiles-"+ge.componentID]:se=>{ne(pe=>{let j=pe.dataValue,$=[];for(var oe=0;oe<(se==null?void 0:se.length);oe++){let ee=se[oe],{type:ue,name:Ce}=ee;if(oe+1+j.length>p){Kn.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${Ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!ue.match(/image/)){Kn.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${Ce} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}$.push(ee)}return E(_({},pe),{dataValue:[...j,...$],eventType:"update",eventID:(0,Hl.UUID)()})})}})},[]),Kt.CommonEffects({type:"file",states:r,val_status:ge,set_status:ne,val_validate:ke,set_validate:xe,SystemValidation:V$});let V="";return h&&(h=="image"?V="image/png,image/jpeg":V=h),(0,wr.jsxs)(Ua,{val_status:ge,set_status:ne,val_validate:ke,states:r,children:[(0,wr.jsx)(T,E(_({htmlTag:"input",type:"file",className:ls("Input"),"data-component-id":ge.componentID,accept:V,multiple:p!=1,onChange:se=>Oa(void 0,null,function*(){b&&b(se);let pe=se.target,j=pe.files,$=[];for(var oe=0;oe<(j==null?void 0:j.length);oe++){let ee=j[oe],ue=ee.name;if(ee.id=(0,Hl.UUID)(),oe+1+ge.dataValue.length>p){Kn.add({componentID:ue,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ue}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}$.push(ee)}ne(ee=>E(_({},ee),{dataValue:[...ee.dataValue,...$],eventType:"update",eventID:(0,Hl.UUID)()})),pe.value=""})},re),{opacity:"low",tabIndex:-1,value:""})),(0,wr.jsx)(GO.List,_({},ye))]})},Nw=r=>(r=E(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Gn({tone:r.tone||"border"})),r.cellStyles)}),(0,wr.jsx)(La,{componentID:r.componentID,children:W$,states:r}));Nw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=d=>{l(d.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Hl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),bt("."+ls("AddButton")).addClass(ls("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),bt("."+ls("AddButton")).removeClass(ls("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(bt(o).hasClass(ls("AddButton"))){let{componentId:l}=o.dataset,s=Hl.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var So=X(Bt()),Us=X(ir()),km=X(fr());function q$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var XO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:d}=o;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/d),{stepValue:c*d,stepIndex:c,positionLeft:c*d/s*100+"%"}},KO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:d}=r,c=[],h=Math.round(o/s),p=Math.round(l/s),v=p-h+1;for(var b=h;b<=p;b++){let y=b*s;y=Math.max(y,o),y=Math.min(y,l);let x=y/l*100+"%";c.push((0,So.jsx)(T,{className:Ps("Label"),id:"Legend-"+a+"-"+b,display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:x,whiteSpace:"nowrap",textAlign:"center"},children:d?d(y):y.rank()},y))}return(0,km.useEffect)(()=>{let y=()=>{let x=bt("#Labels-"+a),{width:w}=x.position(),R=Math.round(w/50)-1,N=Math.round(v/R);for(let M=h+1;M<p;M++)bt("#Legend-"+a+"-"+M).css({display:M%N==0?"flex":"none"})};return(0,Us.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{y()}}),y(),()=>{(0,Us.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,So.jsx)(_t,{className:Ps("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,So.jsx)(T,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:d}=r,{componentID:c}=a;return(0,So.jsxs)(_t,{className:Ps("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),sp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,So.jsx)(T,{className:Ps("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,So.jsx)(T,{className:Ps("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,So.jsx)(T,{className:Ps("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,So.jsx)(le.Plain,{className:Ps("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:c+"_Ball",onKeyDown:h=>{sp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),d&&Kt.SubmitForm(h,s)}})})]})}},sp={Effects:{Start:(r,a)=>{(0,Us.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{sp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{sp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{sp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{sp.Effects.End()}})},Move:(r,a)=>{let o=Us.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:c,max:h}=l,p=bt("#"+d+"_Ball"),v=bt("#"+d+"_Bar"),b=bt("#"+d+"_BarColor"),{width:y,left:x}=v.position(),w=(o-x)/y;w=Math.max(w,0),w=Math.min(w,1);let R=w*h,N=XO({value:R,val_status:l}),M=N.positionLeft,G=N.stepValue;return p.css({left:M}),b.css({width:M}),s(P=>{let U=P.dataValue;return G==U?P:E(_({},P),{dataValue:G,eventType:"update",eventID:(0,Us.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Us.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:d,step:c}=o,{key:h,metaKey:p,ctrlKey:v}=a,b=v||p,y=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?y=s:y-=c:h.match(/Right|Down/)&&(b?y=d:y+=c),y=Math.max(Math.min(y,d),s),l(x=>E(_({},x),{dataValue:y,eventType:"update",eventID:(0,Us.UUID)()})))}},Y$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:d=!0,custom:c,showAlways:h=!1}={},min:p,max:v,step:b,enableFormSubmit:y,checkValidationAtFirst:x,onValidate:w,onUpdateValue:R,onUpdateValidValue:N,value:M="",className:G,freeCSS:P,wrapStyles:U}=a,H=Je(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[J,I]=(0,km.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:v,step:b,eventType:"init",eventID:(0,Us.UUID)()}),[re,ge]=(0,km.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"slider",states:r,val_status:J,set_status:I,val_validate:re,set_validate:ge,SystemValidation:q$});let ne=XO({value:J.dataValue,val_status:J});return(0,So.jsx)(Ua,{val_status:J,set_status:I,val_validate:re,states:r,children:(0,So.jsxs)(ct,{gap:"1/2",flexSizing:"auto",className:[Ps("Wrap"),G,Ps("ShowLegendsAlways_"+h)].join(" "),children:[(0,So.jsx)(KO.Rail,{rootStates:r,color:o,val_status:J,set_status:I,DotData:ne,form:s,enableFormSubmit:y}),!!d&&(0,So.jsx)(KO.IndicatorLabels,{componentID:J.componentID,min:p,max:v,step:b,customLegends:c})]})})},QO=r=>{let a=_({},r);return(0,So.jsx)(La,{componentID:r.componentID,children:Y$,states:Lo(a)})};var Po=X(Bt()),Ow=X(ir()),Iw=X(fr());function $$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var G$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:d,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:v,onKeyDown:b,onValidate:y,onUpdateValue:x,onUpdateValidValue:w,size:R="regular",value:N="",icon:M="",isApply:G=!1}=a,P=Je(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[U,H]=(0,Iw.useState)({componentID:r.componentID||"",dataValue:N,eventType:"init",eventID:(0,Ow.UUID)()}),[J,I]=(0,Iw.useState)({ok:!1,notice:[]}),re=!!U.dataValue;return Kt.CommonEffects({type:"switch",states:r,val_status:U,set_status:H,val_validate:J,set_validate:I,SystemValidation:$$}),(0,Po.jsxs)(Ua,{val_status:U,set_status:H,val_validate:J,states:r,children:[(0,Po.jsx)(T,_({htmlTag:"input",type:"checkbox","data-component-id":U.componentID,checked:U.dataValue,className:vd("Input"),id:c,onKeyDown:ge=>{b&&b(ge),h&&Kt.SubmitForm(ge,d)},onChange:ge=>{let{checked:ne}=ge.target;J.ok&&I({ok:!1,notice:[]}),H(ke=>E(_({},ke),{dataValue:ne,eventType:"update",eventID:(0,Ow.UUID)()})),v&&v(ge)}},P)),(0,Po.jsx)(zs.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:vd("Label"),children:(0,Po.jsx)(T,E(_({},G?{padding:"1/4",isRounded:!0,backgroundColor:re?l:"layer.5"}:{}),{children:(0,Po.jsxs)(Pe.Center,{unitHeight:R=="small"?2:R=="regular"?2.5:R=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!G&&(0,Po.jsx)(T,{position:"absolute",backgroundColor:re?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:vd("Bar"),freeCSS:{height:"40%"}}),(0,Po.jsx)(T,{position:"absolute",top:0,backgroundColor:!G&&re?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:vd("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:re?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Po.jsx)(T,{transition:"middle",flexCenter:!0,fontColor:re?G?l:"white":"6.clear",children:M})})]})}))})]})},Y_=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Po.jsx)(La,{componentID:a.componentID,children:G$,states:a})},Tm=Y_;Tm.S=r=>(0,Po.jsx)(Y_,E(_({},r),{size:"small"})),Tm.R=r=>(0,Po.jsx)(Y_,E(_({},r),{size:"regular"})),Tm.L=r=>(0,Po.jsx)(Y_,E(_({},r),{size:"large"}));var JO=X(Bt());var ZO=r=>(0,JO.jsx)(U_,E(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Dc=X(Bt()),e7=X(ir()),$_=X(fr());var K$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:d,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:v,cellStyles:b,cellClassName:y,cellCheckedClassName:x,cellCheckedStyles:w,freeCSS:R,wrapStyles:N}=a,M=Je(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[G]=(0,$_.useState)((0,e7.UUID)()),[P,U]=(0,$_.useState)(s),[H,J]=(0,$_.useState)(P);return P!=s&&(U(s),J(s)),(0,Dc.jsx)(wd,E(_({options:d,value:H,componentID:G,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},R),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},b),cellCheckedStyles:_({},w),cellClassName:[y,T_("Label"),T_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[x,T_("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:I=>{h&&h(I),o=="bottomline"&&J(I.value)}}))},G_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=E(_({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:_({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Dc.jsx)(K$,_({__sys_segmented_type:"plain"},r))},ms=G_;ms.Cloud=r=>{let a=E(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))},ms.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Dc.jsx)(ms.Cloud,_({},a))},ms.CloudMono=r=>{let a=E(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Dc.jsx)(ms.Cloud,_({},a))},ms.Border=r=>{let a=E(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))},ms.BorderVivid=r=>{let a=E(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Dc.jsx)(ms.Border,_({},a))},ms.Bottomline=r=>{let a=E(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Dc.jsx)(G_,_({},a))};var K_=X(Bt()),t7=X(ir()),Pw=X(fr());function X$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var Q$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:d,checkValidationAtFirst:c,onChange:h,onKeyDown:p,onValidate:v,onUpdateValue:b,onUpdateValidValue:y,value:x=""}=a,w=Je(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[R,N]=(0,Pw.useState)(Kt.DefaultStatus(r.componentID||"",x)),[M,G]=(0,Pw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"color",states:r,val_status:R,set_status:N,val_validate:M,set_validate:G,SystemValidation:X$}),(0,K_.jsx)(Ua,{val_status:R,set_status:N,val_validate:M,states:r,children:(0,K_.jsx)(T,_({htmlTag:"input",type:"color","data-component-id":R.componentID,value:R.dataValue,className:vd("Input"),onKeyDown:P=>{p&&p(P),d&&Kt.SubmitForm(P,s)},onChange:P=>{let{value:U}=P.target;M.ok&&G({ok:!1,notice:[]}),N(H=>E(_({},H),{dataValue:U,eventType:"update",eventID:(0,t7.UUID)()})),h&&h(P)}},w))})},r7=r=>{let a=E(_(E(_({},Gn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,K_.jsx)(La,{componentID:r.componentID,children:Q$,states:a})};var vs=X(ir()),a7=r=>Oa(void 0,null,function*(){let a=1,o={};return yield vs.default.scope(()=>Oa(void 0,null,function*(){if(vs.useStore.get("form-process-"+r))return;vs.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=vs.useStore.get(["form-data",r].join("-"));if(!s){vs.useStore.set({["form-process-"+r]:!1});return}for(let[d,c]of Object.entries(s)){if(!c)continue;let h=vs.useStore.get(c.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=vs.useStore.get(["form-data",r].join("-"));if(!s){vs.useStore.set({["form-process-"+r]:!1});return}for(let[d,c]of Object.entries(s))c&&(a&=Number(c.validation),o[d]=c.value)}vs.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var at;(r=>(r.Plain=JN,r.Hidden=tO,r.TextField=gn,r.Contenteditable=dO,r.DigitCharacters=pO,r.Time=Hs,r.Select=ps,r.Autocomplete=q_,r.List=DO,r.Radio=wd,r.Checkbox=U_,r.Checker=ZO,r.Search=MO,r.Filer=Nw,r.Slider=QO,r.Switch=Tm,r.Segmented=ms,r.Color=r7,r.LeftIcon=Jf,r.RightIcon=Ha,r.LeftIndicator=I_,r.RightIndicator=P_,r.RequiredSign=B_,r.RequiredShortSign=N_,r.OmitSign=O_,r.CollectForm=a7))(at||(at={}));var Q_=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:d}=a,c=Je(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,n7.useEffect)(()=>{d&&d()},[]),(0,X_.jsx)(_t,E(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,X_.jsx)(T,{margin:[0,"auto"],children:(0,X_.jsx)(at.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var ku=X(Bt());var Gr={Table:r=>(0,ku.jsx)(T,E(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,ku.jsx)(T,_({htmlTag:"thead"},r)),Body:r=>(0,ku.jsx)(T,_({htmlTag:"tbody"},r)),Row:r=>(0,ku.jsx)(T,_({htmlTag:"tr"},r)),TH:r=>(0,ku.jsx)(T,_({htmlTag:"th"},r)),TD:r=>(0,ku.jsx)(T,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,ku.jsx)(we.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Mo=X(Bt());var Mw=X(Bt()),i7=X(ir());var o7=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},pl=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var cp=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=E(_({tableID:a.tableID||(0,i7.UUID)(),tone:a.tone},a),{cellStyles:_(_({},o7(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=Lo(l),{className:d,style:c}=s,h=Je(s,["className","style"]),p=[d,tr("Wrap"),tr("TableType_"+a.type),tr("RowClickable_"+!!l.onRowClick)].join(" ");return(0,Mw.jsx)(T,{className:p,style:c,children:(0,Mw.jsx)(o,_({},h))})};var zw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];return d.forEach((p,v)=>{let b=Gr[p.type=="th"?"TH":"TD"],y={top:!0,bottom:!c.length,left:v==0,right:v==s-1,rowIndex:0,colIndex:v,isBody:!1,isHeader:!0},x=pl(y),w=l?l(y):{},R=E(_(_(_(_({},a),x),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[tr("Cell"),o,p.className].join(" ")});h.push((0,Mo.jsx)(b,_({},R),v))}),(0,Mo.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:c,onRowClick:h}=r,p=[];return d.forEach((v,b)=>{let y=[];v.forEach((x,w)=>{let R=Gr[x.type=="th"?"TH":"TD"],N={top:b==0&&!s,bottom:b==d.length-1,left:w==0,right:w==c-1,rowIndex:b,colIndex:w,isBody:!0,isHeader:!1},M=pl(N),G=l?l(N):{};y.push((0,Mo.jsx)(R,E(_(_(_(_({},a),M),x),G),{freeCSS:_(_(_({},a.freeCSS),G.freeCSS),x.freeCSS),className:[tr("Cell"),o,x.className].join(" ")}),w))}),p.push((0,Mo.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow")].join(" "),children:y,onClick:x=>{h&&h(v.rowID,x)}},b))}),(0,Mo.jsx)(Mo.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Mo.jsx)(Gr.Table,{className:tr("Table"),children:(0,Mo.jsxs)(Gr.Body,{children:[(0,Mo.jsx)(zw.HeadRow,_({},r)),(0,Mo.jsx)(zw.BodyRows,_({},r))]})}))},l7=r=>(0,Mo.jsx)(cp,E(_({type:"normal"},r),{JSXChildren:zw.Normal}));var Ta=X(Bt()),zo=X(ir()),up=X(fr());var jw=X(h7());var Hw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let v=d[p],b=Gr[v.type=="th"?"TH":"TD"],y={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},x=pl(y),w=l?l(y):{};h.push((0,Ta.jsx)(b,E(_(_(_(_({},a),x),v),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),v.freeCSS),className:[tr("Cell"),o,v.className].join(" ")}),p))}return(0,Ta.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:c,onOrderChanged:h}=r,[p]=(0,up.useState)((0,zo.UUID)()),[v,b]=(0,up.useState)({rows:d,origin:0,to:NaN}),y=[];if(v.rows.forEach((x,w)=>{let R=[];{let N={top:w==0&&!s,bottom:w==d.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=pl(N),G=l?l(N):{};R.push((0,Ta.jsx)(Gr.TH,E(_(_(_({padding:0,borderRight:!0},a),M),G),{freeCSS:_(_({},a.freeCSS),G.freeCSS),className:[tr("Cell"),tr("Draggable"),o].join(" "),children:(0,Ta.jsx)(le.Clear,{className:tr("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:P=>{Rm.Start(P,{id:p,index:w,rows:v.rows,maxLength:d.length})},children:(0,Ta.jsx)(we,{icon:jw.faGripVertical})})}),"DragOrigin"))}x.forEach((N,M)=>{N=_({},N);let G=Gr[N.type=="th"?"TH":"TD"],P={top:!!s&&!s.length,bottom:w==d.length-1,left:!1,right:M==c-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},U=pl(P),H=l?l(P):{};R.push((0,Ta.jsx)(G,E(_(_(_(_({},a),U),N),H),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),N.freeCSS),className:[tr("Cell"),o,N.className].join(" ")}),M))}),y.push((0,Ta.jsx)(Gr.Row,{id:"TableRow-"+p+"-"+w,className:[tr("Row"),tr("BodyRow")].join(" "),children:R},w))}),!isNaN(v.to)){let{origin:x,to:w}=v,R=[];R.push((0,Ta.jsx)(Gr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[tr("Cell"),tr("Draggable"),o].join(" "),children:(0,Ta.jsx)(we.ArrowRight,{fontColor:"theme"})},"dragButton")),v.rows[x].forEach((N,M)=>{N=_({},N);let G=Gr[N.type=="th"?"TH":"TD"],P={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},U=pl(P),H=l?l(P):{};R.push((0,Ta.jsx)(G,E(_(_(E(_({className:[tr("Cell"),o,N.className].join(" ")},U),{backgroundColor:"theme.opa.low"}),H),N),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),N.freeCSS)})))}),y.splice(w,0,(0,Ta.jsx)(Gr.Row,{className:[tr("Row"),tr("Pre")].join(" "),children:R},"preSet"))}return(0,up.useEffect)(()=>{zo.useStore.set({[p]:{swap:(x,w)=>{if(w||w==0){let R=v.rows[x],N=[...v.rows];N.splice(x,1),N.splice(w-(x<w?1:0),0,R),b({rows:N,origin:0,to:NaN}),h(N.map(M=>zo.default.Objectify(M.rowID)))}},preSet:x=>{let{origin:w,index:R}=x;b({rows:v.rows,origin:w,to:R})}}})}),(0,up.useEffect)(()=>()=>{zo.useStore.delete(p)},[]),(0,Ta.jsx)(Ta.Fragment,{children:y})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ta.jsx)(le.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{na.open({parent:a.currentTarget,content:(0,Ta.jsxs)(na.Body,{children:[(0,Ta.jsx)(we,{icon:jw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ta.jsx)(we.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=zo.default.Stringify(a.rowID||o),a)),(0,Ta.jsx)(Gr.Table,{className:tr("Table"),children:(0,Ta.jsxs)(Gr.Body,{children:[(0,Ta.jsx)(Hw.HeadRow,_({},r)),(0,Ta.jsx)(Hw.BodyRows,_({},r))]})}))},m7=r=>(0,Ta.jsx)(cp,E(_({type:"drag"},r),{JSXChildren:Hw.Drag})),Rm={Start:function(r,a){return Oa(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:d}=a;bt("#TableRow-"+o+"-"+l).addClass(tr("DraggerOrigin")),(0,zo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:c=>{Rm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{Rm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:c=>{Rm.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{Rm.End(c,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=zo.default.getCursor(r).y-zo.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let c=bt("#TableRow-"+o+"-"+d),{top:h,bottom:p,height:v}=c.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:c}=a,h=zo.useStore.get(o);h&&h.preSet&&h.preSet({origin:d,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,d=zo.useStore.get(o);d&&d.swap&&d.swap(l,s),bt("#TableRow-"+o+"-"+l).removeClass(tr("DraggerOrigin")),(0,zo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Nt=X(Bt()),Xn=X(ir()),Ad=X(fr());var C7=X(kS()),x7=X(RS()),k7=X(CS()),T7=X(w7());var Ac={__memoryID:(0,Xn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:d}=_({},r),{order:c,filter:h}=l,[p,v]=c.current,b=[],y=[...l.head];if(l.checker){let x={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=pl(x),R=l.cellStylesCallback?l.cellStylesCallback(x):{};b.push((0,Nt.jsx)(Gr.TH,E(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),R),{freeCSS:E(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),R.freeCSS),{zIndex:2}),className:[tr("Cell"),l.cellClassName].join(" "),children:(0,Nt.jsx)(T,{flexCenter:!0,children:(0,Nt.jsx)(at.Checker,{label:null,value:!1,onUpdateValidValue:({value:N})=>{let M=l.rows;M.forEach(G=>{G.checked=N}),s(E(_({},l),{rows:M}))}})})}),-1))}for(let x=0;x<l.colLength;x++){let w=y[x];if(!w)continue;let R=w.children||w.data,N=c.enabled&&c.column[x],M=h.enabled&&h.column[x],G=N?(0,Nt.jsx)(we,{fontSize:"1.mini",fontColor:x==p?"1.clear":"5.translucent",icon:x==p?v=="DESC"?x7.faArrowDown:C7.faArrowUp:k7.faArrowRight}):null,P=(0,Nt.jsx)(Nt.Fragment,{});if(M){let I=d.map(ge=>{var ne;return(ne=ge[x])==null?void 0:ne.data});I=[...new Set(I)].toASC();let re=h.current[x];if(re){let ge=I.filter(V=>!re.includes(V)),ne=[];I.forEach(V=>{V&&ne.push({value:V,label:(0,Nt.jsx)(T,{flexSizing:"auto",children:V})})});let ke="BUTTON-"+l.componentID+"-"+x,xe=l.componentID+"-"+x,ye={sheetID:xe,parent:"#"+ke,gravityPoint:23,type:"custom",content:(0,Nt.jsxs)(_t,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Nt.jsx)(ct,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Nt.jsx)(at.Checkbox,{icon:!0,value:ge,display:"flex",gap:"2/3",override:"force",options:ne,hideInput:!0,name:"DTFilter-col-"+x+"-table-"+l.componentID,onUpdateValidValue:({value:V})=>{let se=I.filter(j=>!V.includes(j)),pe=_({},l);pe.filter.current[x]=se,s(pe)}})}),(0,Nt.jsxs)(Pe.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Nt.jsx)(le.Border.S,{isRounded:!0,onClick:()=>{Ft.close(xe)},children:"\u9589\u3058\u308B"}),(0,Nt.jsx)(le.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let V=[];re.length||(V=I);let se=_({},l);se.filter.current[x]=V,s(se)},children:"\u5168\u9078\u629E"})]})]})};P=(0,Nt.jsx)(T,{className:tr("FilterRegion"),children:(0,Nt.jsx)(le.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:tr("Filtering_"+!!re.length),id:ke,onClick:V=>{V.stopPropagation(),Ft.open(ye)},children:(0,Nt.jsx)(we,{icon:T7.faFilter})})})}}let U={top:!0,bottom:!l.rows.length,left:l.checker?!1:x==0,right:x==l.colLength-1,rowIndex:0,colIndex:x,isBody:!1,isHeader:!0},H=pl(U),J=l.cellStylesCallback?l.cellStylesCallback(U):{};w=E(_(_(_(_({},l.cellStyles),H),w),J),{ssPushable:N,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),J.freeCSS),w.freeCSS),className:[tr("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,b.push((0,Nt.jsx)(Gr.TH,E(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:I=>{if(N){let re=_({},l),ge=[x,p===x&&v=="ASC"?"DESC":"ASC"];re.order.current=ge,s(re),l.onOrderChanged&&l.onOrderChanged(ge)}},children:(0,Nt.jsxs)(_t,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[P,(0,Nt.jsxs)(_t,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[G,R]})]})}),x))}return(0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,d)=>{var c;let h=[...s],p=[];if(a.checker){let v={top:d==0&&!a.head,bottom:d==o.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1},b=pl(v),y=a.cellStylesCallback?a.cellStylesCallback(v):{};p.push((0,Nt.jsx)(Gr.TH,E(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),b),y),{freeCSS:_(_({},(c=a.cellStyles)==null?void 0:c.freeCSS),y.freeCSS),className:[tr("Cell"),a.cellClassName].join(" "),children:(0,Nt.jsx)(T,{flexCenter:!0,children:(0,Nt.jsx)(at.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:x})=>{let w=a.rows,R=w.findIndex(N=>Xn.default.is.equal(N.rowID,s.rowID));R!=-1&&(w[R].checked=x,r.set_status(N=>E(_({},N),{rows:w})))}})})}),-1))}h.forEach((v,b)=>{var y;if(!v)return;let x=v,{type:w="td"}=x,R=Je(x,["type"]),N={top:d==0&&!a.head,bottom:d==o.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1},M=pl(N),G=a.cellStylesCallback?a.cellStylesCallback(N):{};R=E(_(_(_(_({},a.cellStyles),M),R),G),{freeCSS:_(_(_({},(y=a.cellStyles)==null?void 0:y.freeCSS),R.freeCSS),G.freeCSS),className:[tr("Cell"),a.cellClassName,R.className].join(" ")}),delete R.orderIndex;let P=Gr[w=="td"?"TD":"TH"];p.push((0,Nt.jsx)(P,_({},R),b))}),l.push((0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow")].join(" "),children:p,onClick:v=>{a.onRowClick&&a.onRowClick(s.rowID,v)}},d))}),!o.length){let s=(0,Nt.jsx)(T,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Nt.jsx)(Nt.Fragment,{children:a.noRecords})),l.push((0,Nt.jsx)(Gr.Row,{className:[tr("Row"),tr("BodyRow"),tr("DataNotFound")].join(" "),children:(0,Nt.jsx)(Gr.TD,{colSpan:a.colLength,className:tr("Cell"),children:s})},"dataNotFound"))}return(0,Nt.jsx)(Nt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:d,paging:c}=a,h=[...a.rows],p=[...a.rows],v=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),v=[...p],b=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let R=s.column[w],N=s.current[w];R&&N&&N.length&&(v=v.filter(M=>!N.includes(M[w].data)),b=[...v])}d.enabled&&(v=v[d.current[1]=="ASC"?"toASC":"toDESC"]([d.current[0],"orderIndex"].join(".")),b=[...v]);{let{currentPageIndex:w,rowLength:R}=c;b=[...b].splice((w-1)*R,R)}let y=Ac.__memoryID+"_"+a.tableID,x={rows:{total:h.length,page:b.length,filtered:v.length},val_status:E(_({},a),{paging:E(_({},a.paging),{pageLength:Math.ceil(v.length/a.paging.rowLength)})}),set_status:o};return Xn.useStore.update({[y]:{getRowData:()=>{let w=[...h];return d.enabled&&(w=w[d.current[1]=="ASC"?"toASC":"toDESC"]([d.current[0],"orderIndex"].join("."))),w.forEach(R=>{R.currentPage=!1,R.filtered=!1}),b.forEach(R=>{let{rowID:N}=R;w.find(M=>Xn.default.is.equal(M.rowID,N)).currentPage=!0}),v.forEach(R=>{let{rowID:N}=R;w.find(M=>Xn.default.is.equal(M.rowID,N)).filtered=!0}),w}}}),(0,Ad.useEffect)(()=>{Bl.release(a.tableID,x)}),(0,Nt.jsx)(T,{className:tr("TableBase"),children:(0,Nt.jsx)(Gr.Table,{className:tr("Table"),children:(0,Nt.jsxs)(Gr.Body,{children:[(0,Nt.jsx)(Ac.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Nt.jsx)(Ac.Body,{val_status:a,set_status:o,PageRows:b})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return Xn.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return Xn.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let d=[];l.forEach((c,h)=>{let{data:p,children:v,orderIndex:b}=c;c.orderIndex=Xn.default.is.exist(b)?String(b):String(p),c.children=v||String(p),d.push(String(c.data))}),l.__sys4SearchKey=d.join("/")}),(0,Nt.jsx)(Ac.StateManager,_({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:d,defaultOrder:c=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,Ad.useState)((0,Xn.UUID)()),v={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:d!==!1,column:d,current:c},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[b,y]=(0,Ad.useState)(v);return(0,Ad.useEffect)(()=>{y(x=>E(_({},x),{rows:v.rows}))},[Xn.default.Stringify(v.rows)]),(0,Ad.useEffect)(()=>{y(x=>E(_({},x),{head:v.head}))},[Xn.default.Stringify(v.head)]),(0,Nt.jsx)(Ac.Core,{val_status:b,set_status:y})}},J$={__memoryID:Ac.__memoryID,getRowData:r=>{let a=Xn.useStore.get(Ac.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},J_={SearchInput:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Nt.jsx)(at.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Nt.jsx)(at.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Nt.jsx)(we.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value:s})=>{r.onChange(s),Xn.default.interval.once(()=>{l(d=>E(_({},d),{paging:E(_({},d.paging),{currentPageIndex:1}),filter:E(_({},d.filter),{current:Array.from({length:d.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Nt.jsxs)(_t,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Nt.jsx)(tn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let c=0;c<o.paging.pageLength;c++)s.push({value:c+1,label:(c+1).toString()});let d=c=>{let h=Math.min(Math.max(1,c),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(v=>E(_({},v),{paging:E(_({},v.paging),{currentPageIndex:h})}))};return(0,Nt.jsxs)(Pe.Center,{children:[(0,Nt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,Nt.jsx)(at.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:({value:c})=>{d(c)}}),"/ ",o.paging.pageLength]}),(0,Nt.jsxs)(Pe.Right,{gap:"1/2",children:[(0,Nt.jsx)(le.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){d(o.paging.pageLength);return}d(o.paging.currentPageIndex-1)},children:(0,Nt.jsx)(we.ChevronLeft,{})}),(0,Nt.jsx)(le.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){d(1);return}d(o.paging.currentPageIndex+1)},children:(0,Nt.jsx)(we.ChevronRight,{})})]})]})},RowLength:r=>{let a=Bl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,d=0,c=r.lengthSelect.map(h=>(d|=+(h==s),{value:h,label:h.toString()}));return d||c.push({value:s,label:s.toString()}),(0,Nt.jsx)(Pe.Center,{gap:"1/2",children:(0,Nt.jsx)(at.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:c.toASC("value"),onUpdateValidValue:({value:h})=>{l(p=>E(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},Z$=r=>(0,Nt.jsx)(cp,E(_({},r),{type:"data",JSXChildren:Ac.DataLeveler})),Tu=Z$;Tu.__memoryID=Ac.__memoryID,Tu.getRowData=J$.getRowData,Tu.Info=J_.Info,Tu.Paging=J_.Paging,Tu.RowLength=J_.RowLength,Tu.SearchInput=J_.SearchInput;var Qn;(r=>(r.Normal=l7,r.Data=Tu,r.Drag=m7,r.Parts=Gr))(Qn||(Qn={}));var Vw=X(Bt()),Em=X(ir());var zl={uid:(0,Em.UUID)(),open:(r,a,o=24,l=.35)=>{r&&Em.default.interval.once(()=>{na.open({tipsID:zl.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Vw.jsx)(na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Vw.jsx)(Ye.Supplement,{children:a})})})},l*1e3,zl.uid)},abort:()=>{Em.default.interval.abort(zl.uid),na.close(zl.uid)}};var gt=X(Bt()),da=X(ir());var gs=X(fr());var tI=X(N7()),rI=X(j7()),aI=X($7()),nI=X(eI());var Gw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:d}=l,c=s/d;this.Picture={elm:l,originDataUrl:l.src,aspect:c,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:d/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let b=a.width/3*2,y=a.height/3*2;l=Math.min(b,y),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:d,height:c}=o,h=(a.width-l)/2,p=(a.height-s)/2,v=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:v},outImage:{x:0,y:0,w:0,h:0},imageX:d/2,imageY:c/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:c}=this.dragEffectInfo,h=d.x-l,p=d.y-s,v=this.scale.current*this.Picture.revisedAspect/100,b=h/v*c.x,y=p/v*c.y;o=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+y):o=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=y)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:d}=da.default.getCursor(l.touches[0]),{x:c,y:h}=da.default.getCursor(l.touches[1]),p=c-s,v=h-d;if(o=="start")this.pinchEffectInfo.origin={x:p,y:v,scale:this.scale.current};else if(o=="move"){let{origin:b}=this.pinchEffectInfo,y=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),x=Math.sqrt(Math.pow(p,2)+Math.pow(v,2))/y,w=Number(b.scale*x);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Oa(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),d=s.getContext("2d"),c=yield da.default.ImageLoader(this.Picture.originDataUrl),h=c.width,p=c.height;(l==90||l==270)&&(h=c.height,p=c.width),s.width=h,s.height=p,a&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(c,0,0,c.width,c.height);let v=d.getImageData(0,0,s.width,s.height),b=v.data;{a/=100;let R=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],N=R[0]/255,M=R[1]/255,G=R[2]/255;for(let P=0;P<p;P++)for(let U=0;U<h;U++){var y=(P*h+U)*4;if(a){let H=.3*b[y]+.59*b[y+1]+.11*b[y+2];for(var x=0;x<3;x++){let J=b[y+x];b[y+x]=J+(H-J)*a}}b[y]*=N,b[y+1]*=M,b[y+2]*=G}}d.putImageData(v,0,0);let w=s.toDataURL("image/jpeg");{let R=yield da.default.ImageLoader(w),{width:N,height:M}=R,G=N/M;this.Picture=E(_({},this.Picture),{elm:R,aspect:G,revisedAspect:this.pst.frame.aspect>G?this.pst.frame.w/N:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:d},pst:{frame:c}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let v=this.scale.current/100,b=this.Picture.revisedAspect*v,y=this.pst.centerX-h*b,x=this.pst.centerY-p*b,w=this.Picture.elm.width*b,R=this.Picture.elm.height*b;{let N=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,G=this.pst.frame.y+this.pst.frame.h-R,P=this.pst.frame.y,U=0;y<N&&(U=y-N),y>M&&(U=y-M);let H=0;x<G&&(H=x-G),x>P&&(H=x-P),this.dragEffectInfo.origin.x+=U/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=H/2/this.dragEffectInfo.frameExpandRate.y,y=Math.min(Math.max(y,N),M),x=Math.min(Math.max(x,G),P)}this.pst.outImage={x:y,y:x,w,h:R},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,y,x,w,R)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let b=d.width/3*2,y=d.height/3*2,x=Math.min(b,y),w=Math.max(b,y);s.arc(d.width/2,d.height/2,w,0,Math.PI*2,!0),s.arc(d.width/2,d.height/2,x/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(d.width,0),s.lineTo(d.width,d.height),s.lineTo(0,d.height),s.lineTo(0,0),s.closePath(),s.lineTo(c.x,c.y),s.lineTo(c.x,c.y+c.h),s.lineTo(c.x+c.w,c.y+c.h),s.lineTo(c.x+c.w,c.y),s.lineTo(c.x,c.y),s.fill();let v=(0,da.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${v},1 )`,s.strokeRect(c.x,c.y,c.w,c.h)}}export(){return Oa(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:d}}=this,c=s.w/l.elm.width,h=s.h/l.elm.height,p=(d.x-s.x)/c,v=(d.x-s.x+d.w)/c,b=(d.y-s.y)/h,y=(d.y-s.y+d.h)/h,x=Array.from({length:o.length}),w="image/jpeg";for(let R=0;R<o.length;R++){let{size:N,maxSize:M}=o[R];M=M||{S:1024*20,R:1024*100,L:1024*350}[N];let G={S:140,R:600,L:1200}[N],P=G;this.use=="wallpaper.horizontal"?P=G/3:this.use=="wallpaper.vertical"&&(P=G*2);let U=document.createElement("canvas");U.width=G,U.height=P;let H=U.getContext("2d");if(!H)return;H.clearRect(0,0,G,P),H.drawImage(this.Picture.elm,p,b,v-p,y-b,0,0,G,P);let J=U.toDataURL(w),I=yield J.toBlob(w);if(!I)return;if(I.size>=M){let ge=M/I.size;if(J=U.toDataURL(w,ge*.92),I=yield J.toBlob(w),!I)return}let re=new File([I],this.val_file.name,{type:w});x[R]=re}return x})}},oI={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:d,develops:c=[]}=o,[h]=(0,gs.useState)((0,da.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[v,b]=(0,gs.useState)(p.scale.default),[y,x]=(0,gs.useState)(p.rotate),[w,R]=(0,gs.useState)(p.grayScale),[N,M]=(0,gs.useState)(p.tone);return(0,gs.useEffect)(()=>{let G="CropperResize";return(0,da.default)(window).addEvent({eventType:"resize",eventID:G,callback:()=>{da.default.interval.once(()=>{var P;let U=bt("#Canvas-"+h)[0];if(!U)return;let H=(P=da.useStore.get(h))==null?void 0:P.Instance;if(!H)return;let J=U.position(),I=J.width/J.height;U.width=2400,U.height=2400/I;let{width:re,height:ge}=U;H.pst.centerX=re/2,H.pst.centerY=ge/2,H.frameSizing(),H.modifyImage()},250,"CropperResize")}}),()=>{(0,da.default)(window).removeEvent(G)}},[]),(0,gs.useEffect)(()=>{da.useStore.set({[h]:{}}),Oa(void 0,null,function*(){an.fn.corner.active(),yield da.default.pending(()=>{},400);let{target:G}=yield a.convert();if(!G)return;let P=G.result,U=bt("#Canvas-"+h)[0];if(!U)return;let H=U.position(),J=H.width/H.height;U.width=2400,U.height=2400/J;let I=new Gw({set_scale:b,val_file:a,develops:c,use:d,scale:p.scale,componentID:h,canvas:U,picture:{image:yield da.default.ImageLoader(P),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});da.useStore.set({[h]:{Instance:I}});let re=function(ke){if(ke.preventDefault(),ke.touches&&ke.touches.length>1)I.pinchEffect({eventType:"start",event:ke}),(0,da.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:xe=>{xe.preventDefault(),I.pinchEffect({eventType:"move",event:xe})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ne});else{I.dragEffect(_({eventType:"start"},da.default.getCursor(ke)));let{type:xe}=ke;(0,da.default)(document).addEvent({eventType:xe=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ge("move",ye)}}).addEvent({eventType:xe=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ye=>{ge("end",ye),ne(ye)}})}},ge=function(ke,xe){xe.preventDefault(),I.dragEffect(_({eventType:ke},da.default.getCursor(xe)))},ne=function(ke){ke.preventDefault(),(0,da.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,da.default)(U).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ke=>{ke.preventDefault();let xe=Number(ke.wheelDelta*.04),ye=I.scale.current+xe;ye=Math.max(ye,I.scale.min),ye=Math.min(ye,I.scale.max),b(ye)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:re,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:re,options:{passive:!1}}),setTimeout(()=>{an.fn.corner.stop()},1e3)})},[a.id]),(0,gs.useEffect)(()=>{var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;P&&P.updateScale(v)},[v]),(0,gs.useEffect)(()=>{var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;P&&P.updateFilter({grayScale:w,tone:N,rotate:y})},[w,N,y]),(0,gt.jsx)(Ft.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,gt.jsxs)(ct,{className:[gu("Wrap"),gu("Use_"+d)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,gt.jsx)(T,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,gt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:gu("Canvas"),id:"Canvas-"+h})}),(0,gt.jsxs)(Pe.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,gt.jsx)(oI.SettingRegion,{DefaultOptions:p,val_scale:v,set_scale:b,val_tone:N,set_tone:M,val_grayScale:w,set_grayScale:R,val_rotate:y,set_rotate:x}),(0,gt.jsxs)(Pe.Right,{flexSizing:"none",children:[(0,gt.jsx)(le.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,gt.jsx)(le,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Oa(void 0,null,function*(){var G;let P=(G=da.useStore.get(h))==null?void 0:G.Instance;if(!P)return;an.fn.mini.active("CropperExportation");let U=yield P.export();setTimeout(()=>{an.fn.mini.stop("CropperExportation"),l(U)},3e3)}),children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(an.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=l=>a[l]||"\u306A\u3057";return(0,gt.jsxs)(Pe.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,gt.jsxs)(ct,{gap:"1/3",children:[(0,gt.jsx)(Ye.Supplement,{children:"Rotate"}),(0,gt.jsxs)(Pe.Left,{flexChilds:"even",gap:"1/6",children:[(0,gt.jsx)(le.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,gt.jsxs)(Pe.Center,{gap:"1/4",children:["90\xB0",(0,gt.jsx)(we,{icon:aI.faRotateLeft})]})}),(0,gt.jsx)(le.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,gt.jsxs)(Pe.Center,{gap:"1/4",children:[(0,gt.jsx)(we,{icon:nI.faRotateRight}),"90\xB0"]})})]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"Zoom"}),(0,gt.jsxs)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:d,value:c})=>{da.default.interval.once(()=>{r.set_scale(c+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:d=>"x"+Math.round(100+d)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"GrayScale"}),(0,gt.jsxs)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we,{icon:tI.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:d})=>{da.default.interval.once(()=>{r.set_grayScale(d)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:d=>d+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,gt.jsxs)(ct,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,gt.jsx)(Ye.Supplement,{children:"Tone"}),(0,gt.jsx)(le.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let d=[];for(let c=1;c<=10;c++)d.push({value:c,label:(0,gt.jsxs)(Pe.Left,{gap:"1/3",children:[(0,gt.jsx)(T,{ssSphere:1,className:[gu("ToneBall"),gu("ToneBall_"+c)].join(" ")}),(0,gt.jsx)(T,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,gt.jsx)(Ft.Body,{children:(0,gt.jsxs)(ct,{padding:1.5,children:[(0,gt.jsxs)(Pe.Separate,{children:[(0,gt.jsx)(Ye.Paragraph,{children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(we,{icon:rI.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,gt.jsx)(le.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{na.close(s)},children:(0,gt.jsx)(we.Times,{})})]}),(0,gt.jsx)(T,{borderBottom:!0,opacity:"low"}),(0,gt.jsx)(at.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,gt.jsx)(T,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...d],onUpdateValidValue:({value:c})=>{r.set_tone(c)}})]})})}})},children:(0,gt.jsxs)(Pe.Center,{gap:"1/2",children:[(0,gt.jsx)(T,{boxShadow:"2.remark",ssSphere:1,className:[gu("ToneBall"),gu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Dm={openDialogNEdit:r=>Oa(void 0,null,function*(){let a=yield at.Filer.fn.openDialog({accept:"image",multiple:!1});Dm.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Oa(void 0,null,function*(){let a="CropperImage";Ft.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100vw"},content:(0,gt.jsx)(oI.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{Ft.close(a),r.onProcessFinished(o)},abortCallback:()=>{Ft.close(a)}}),closeAtEscapeKeyDown:!1})})};var Fo=X(Bt());var iI=()=>{let{href:r}=location;return(0,Fo.jsx)(Pe.Center,{padding:[4,1],children:(0,Fo.jsxs)(ct,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Fo.jsx)(we.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Fo.jsxs)(T,{children:[(0,Fo.jsx)(Ye.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Fo.jsx)(Ye.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Fo.jsxs)(ct,{children:[(0,Fo.jsxs)(Ye,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Fo.jsx)(T,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Fo.jsx)(T,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Fo.jsx)(Nl.Link,{newTab:!0,href:r,children:r}),(0,Fo.jsx)(Nl.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Z_=r=>{let[a,o]=(0,Ru.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,Ru.useRef)(!1);(0,Ru.useEffect)(()=>{l&&(s.current?(Ft.closeAll(!0),Il.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,Ru.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,Ru.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Fn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Fn.open(r);return}Fn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Fn.pushSync(r);return}Fn.__push(r)},back:()=>{Fn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Fn.__push=r},setBackEffect:r=>{Fn.__back=r}};var lI=X(ir());var tm=[{key:"comun",isBrand:!1,isAvocado:!0},{key:"leaf",isBrand:!1,isAvocado:!0},{key:"heart",isBrand:!1,isAvocado:!0},{key:"droplet",isBrand:!1,isAvocado:!0},{key:"brick",isBrand:!1,isAvocado:!1},{key:"flower",isBrand:!1,isAvocado:!1},{key:"lip",isBrand:!1,isAvocado:!1},{key:"wine",isBrand:!1,isAvocado:!1},{key:"theater",isBrand:!1,isAvocado:!1},{key:"bat",isBrand:!1,isAvocado:!1},{key:"poizon",isBrand:!1,isAvocado:!1},{key:"eggplant",isBrand:!1,isAvocado:!1},{key:"ufo",isBrand:!1,isAvocado:!1},{key:"alien",isBrand:!1,isAvocado:!1},{key:"tombstone",isBrand:!1,isAvocado:!1},{key:"ninja",isBrand:!1,isAvocado:!1},{key:"moon",isBrand:!1,isAvocado:!1},{key:"rain",isBrand:!1,isAvocado:!1},{key:"unicorn",isBrand:!1,isAvocado:!1},{key:"axe",isBrand:!1,isAvocado:!1},{key:"gem",isBrand:!1,isAvocado:!1},{key:"soap",isBrand:!1,isAvocado:!1},{key:"drizzle",isBrand:!1,isAvocado:!1},{key:"building",isBrand:!1,isAvocado:!1},{key:"fish",isBrand:!1,isAvocado:!1},{key:"icicles",isBrand:!1,isAvocado:!1},{key:"water",isBrand:!1,isAvocado:!1},{key:"tree1",isBrand:!1,isAvocado:!1},{key:"tree2",isBrand:!1,isAvocado:!1},{key:"tree3",isBrand:!1,isAvocado:!1},{key:"battery",isBrand:!1,isAvocado:!1},{key:"seedle",isBrand:!1,isAvocado:!1},{key:"greenTea",isBrand:!1,isAvocado:!1},{key:"oak",isBrand:!1,isAvocado:!1},{key:"salad",isBrand:!1,isAvocado:!1},{key:"cloudy",isBrand:!1,isAvocado:!1},{key:"lemon",isBrand:!1,isAvocado:!1},{key:"angel",isBrand:!1,isAvocado:!1},{key:"parasol",isBrand:!1,isAvocado:!1},{key:"pizza",isBrand:!1,isAvocado:!1},{key:"thunder",isBrand:!1,isAvocado:!1},{key:"latte",isBrand:!1,isAvocado:!1},{key:"island",isBrand:!1,isAvocado:!1},{key:"shovel",isBrand:!1,isAvocado:!1},{key:"coffee",isBrand:!1,isAvocado:!1},{key:"carrot",isBrand:!1,isAvocado:!1},{key:"cactus",isBrand:!1,isAvocado:!1},{key:"volcano",isBrand:!1,isAvocado:!1},{key:"choco",isBrand:!1,isAvocado:!1},{key:"industry",isBrand:!1,isAvocado:!1},{key:"gun",isBrand:!1,isAvocado:!1},{key:"galaxy",isBrand:!1,isAvocado:!1},{key:"line",isBrand:!0,isAvocado:!1},{key:"twitter",isBrand:!0,isAvocado:!1},{key:"amazon",isBrand:!0,isAvocado:!1},{key:"facebook",isBrand:!0,isAvocado:!1},{key:"android",isBrand:!0,isAvocado:!1},{key:"slackBlue",isBrand:!0,isAvocado:!1},{key:"slackGreen",isBrand:!0,isAvocado:!1},{key:"slackRed",isBrand:!0,isAvocado:!1},{key:"slackYellow",isBrand:!0,isAvocado:!1},{key:"slackBase",isBrand:!0,isAvocado:!1},{key:"googleBlue",isBrand:!0,isAvocado:!1},{key:"googleGreen",isBrand:!0,isAvocado:!1},{key:"googleYellow",isBrand:!0,isAvocado:!1},{key:"googleRed",isBrand:!0,isAvocado:!1}],em=()=>{let r="#45515c",a=(0,lI.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},sI={light:"#FFF",dark:"#333",dim:"#666",auto:()=>st.get().isSystemDarkmode()?"#333":"#FFF"},Am={};tm.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Am[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Xa=X(ir());var Le={toConcreteBorderRadius:r=>{let a=st.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Xa.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,d,c,h,p,v;let b=[],{gap:y,display:x,position:w,overflow:R,fontColor:N,fontSize:M,fontWeight:G,backgroundColor:P,textAlign:U,textDecoration:H,boxShadow:J,margin:I,marginTop:re,marginRight:ge,marginBottom:ne,marginLeft:ke,padding:xe,paddingTop:ye,paddingRight:V,paddingBottom:se,paddingLeft:pe,top:j,right:$,bottom:oe,left:ee,border:ue,borderTop:Ce,borderRight:Se,borderBottom:Ie,borderLeft:Ge,borderWidth:Qe,borderColor:yt,borderStyle:Ht,borderRadius:pt,borderTopLeftRadius:kt,borderTopRightRadius:vt,borderBottomLeftRadius:it,borderBottomRightRadius:Te,flexSizing:Rt,flexWrap:Ut,flexType:Qt,flexChilds:Yt,flexGrid:lr,horizontalAlign:pr,verticalAlign:kr,transition:la,gridCenter:Wr,gridCols:Kr,maxHeight:hr,minHeight:Tr,maxWidth:Pr,minWidth:ba,width:mr,height:Lr,unitHeight:Mr,unitWidth:wa,opacity:He}=a;{if(Le.ev(x)&&b.push("dsp"+x),R){let te=Xa.default.flatArray(R);b.push("ovfl-x-"+te[0]),b.push("ovfl-y-"+(te[1]||te[0]))}Le.ev(w)&&b.push("ps"+w),Le.ev(U)&&b.push("txtalg"+U),Le.ev(U)&&b.push("txtdeco"+H),Le.ev(N)&&b.push("ftcl"+((o=String(N))==null?void 0:o.replace(/\./g,"_"))),Le.ev(M)&&b.push("ftsz"+((l=String(M))==null?void 0:l.replace(/\..*/,""))),Le.ev(G)&&b.push("ftwt"+(G==null?void 0:G.replace(/\..*/,""))),Le.ev(P)&&b.push("bgc"+((s=String(P))==null?void 0:s.replace(/\./g,"_"))),Le.ev(J)&&b.push("bs"+J);let ut,St,Xt,$t;Xa.default.is.exist(I)&&(Xa.default.is.array(I)?I.length==2?[ut,St,Xt,$t]=[...I,...I]:I.length==4&&([ut,St,Xt,$t]=I):ut=St=Xt=$t=I,re=re!=null?re:ut,ge=ge!=null?ge:St,ne=ne!=null?ne:Xt,ke=ke!=null?ke:$t),Le.ev(re)&&b.push("mrgt"+re),Le.ev(ge)&&b.push("mrgr"+ge),Le.ev(ne)&&b.push("mrgb"+ne),Le.ev(ke)&&b.push("mrgl"+ke);let Rr,_r,Xr,O;Xa.default.is.exist(xe)&&(Xa.default.is.array(xe)?xe.length==2?[Rr,_r,Xr,O]=[...xe,...xe]:xe.length==4&&([Rr,_r,Xr,O]=xe):Rr=_r=Xr=O=xe,ye=ye!=null?ye:Rr,V=V!=null?V:_r,se=se!=null?se:Xr,pe=pe!=null?pe:O),Le.ev(ye)&&b.push("pdt"+ye),Le.ev(V)&&b.push("pdr"+V),Le.ev(se)&&b.push("pdb"+se),Le.ev(pe)&&b.push("pdl"+pe),Le.ev(j)&&b.push("pstt"+j),Le.ev($)&&b.push("pstr"+$),Le.ev(oe)&&b.push("pstb"+oe),Le.ev(ee)&&b.push("pstl"+ee);{Xa.default.is.exist(ue)&&(Ce=Ce!=null?Ce:ue,Se=Se!=null?Se:ue,Ie=Ie!=null?Ie:ue,Ge=Ge!=null?Ge:ue),Xa.default.is.boolean(Ce)&&(Ce=["unset","2.normal"][Number(Ce)]),Xa.default.is.boolean(Se)&&(Se=["unset","2.normal"][Number(Se)]),Xa.default.is.boolean(Ie)&&(Ie=["unset","2.normal"][Number(Ie)]),Xa.default.is.boolean(Ge)&&(Ge=["unset","2.normal"][Number(Ge)]),Le.ev(Ce)&&b.push("b_t_ss"+((d=String(Ce))==null?void 0:d.replace(/\./g,"_"))),Le.ev(Se)&&b.push("b_r_ss"+((c=String(Se))==null?void 0:c.replace(/\./g,"_"))),Le.ev(Ie)&&b.push("b_b_ss"+((h=String(Ie))==null?void 0:h.replace(/\./g,"_"))),Le.ev(Ge)&&b.push("b_l_ss"+((p=String(Ge))==null?void 0:p.replace(/\./g,"_"))),Xa.default.is.exist(Qe)&&b.push("b_wth"+String(Qe)),Xa.default.is.exist(yt)&&b.push("b_cl"+((v=String(yt))==null?void 0:v.replace(/\./g,"_"))),Xa.default.is.exist(Ht)&&b.push("b_st"+String(Ht));{let te,A,F,K;Xa.default.is.exist(pt)&&(Xa.default.is.array(pt)?pt.length==4&&([te,A,K,F]=pt):te=A=F=K=pt,kt=kt!=null?kt:te,vt=vt!=null?vt:A,it=it!=null?it:F,Te=Te!=null?Te:K)}Le.ev(kt)&&b.push("br_tl"+Le.toConcreteBorderRadius(kt)),Le.ev(vt)&&b.push("br_tr"+Le.toConcreteBorderRadius(vt)),Le.ev(it)&&b.push("br_bl"+Le.toConcreteBorderRadius(it)),Le.ev(Te)&&b.push("br_br"+Le.toConcreteBorderRadius(Te))}if(Le.ev(He)&&b.push("op"+He),Xa.default.is.exist(y)){let te,A;Xa.default.is.array(y)?(te=y[0],A=y[1]):te=A=y,b.push("gapRow"+te,"gapCol"+A)}Le.ev(Rt)&&b.push("flsz"+Rt),Le.ev(Ut)&&b.push("flwrp"+Ut),Le.ev(Qt)&&b.push("fltyp"+Qt),Le.ev(Yt)&&b.push("flchld"+Yt),Le.ev(lr)&&b.push("flgrid"+lr),Le.ev(kr)&&b.push("flvrt"+kr),Le.ev(pr)&&b.push("flhrz"+pr),Le.ev(Wr)&&b.push("grcnt"+Wr),Le.ev(Kr)&&b.push("grcol"+Kr),Le.ev(Lr)&&b.push("hgt"+Lr),Le.ev(mr)&&b.push("wdt"+mr),Le.ev(Mr)&&b.push("unthgt"+Mr),Le.ev(wa)&&b.push("untwdt"+wa),Le.ev(la)&&b.push("trnst"+la),Le.ev(hr)&&b.push("maxh"+hr),Le.ev(Tr)&&b.push("minh"+Tr),Le.ev(Pr)&&b.push("maxw"+Pr),Le.ev(ba)&&b.push("minw"+ba)}return b.length?r+b.join(" "+r):""}},hm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:d,ssPushable:c,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:v,flexNewLine:b,isLightFont:y,isBoldFont:x,isSemiBoldFont:w,isRounded:R,isSquare:N,freeCSS:M={}}=a,G=Je(M,[]),P=Je(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(G=G||{},P=P||{},o){let{deg:U,colors:H}=o;G=E(_({},G),{background:`linear-gradient(${U}deg,${H.join(",")})`})}if(l){l===!0&&(l="border");let U={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?U.border=!0:l=="layer"?U.backgroundColor="layer.1":l=="cloud"?U.backgroundColor="cloud":l=="shadow"&&(U.boxShadow="0.normal"),st.get().darkMode=="dim"&&(U.boxShadow="1.normal"),st.get().darkMode=="dark"&&(U.boxShadow="1.remark"),G=_(_({},U.freeCSS),G),P=_(_({},U),P)}return s&&(v=v!=null?v:!0,P=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},P)),d&&(v=v!=null?v:!0,P=_({padding:0,unitWidth:d,unitHeight:d,flexSizing:"none"},P)),c&&(P=_({transition:"middle"},P),P=E(_({},P),{className:[P.className,"ssPushable"].join(" ")})),h&&(P=_({position:"absolute",top:0,left:0,right:0,bottom:0},P)),p&&(P=_({overflow:"hidden"},P),G=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},G)),b&&(P=_({width:1,flexSizing:"none"},P)),v&&(P=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},P)),y&&(P.fontWeight="1.light"),w&&(P.fontWeight="3.semiBold"),x&&(P.fontWeight="4.bold"),R&&(Xa.default.is.number(R)?G.borderRadius=R*12:P.borderRadius="sphere"),N&&(G.aspectRatio="1"),E(_({},P),{freeCSS:G})},Lo=r=>{let a=hm(r),{componentID:o,gap:l,display:s,position:d,overflow:c,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:x,boxShadow:w,margin:R,marginTop:N,marginRight:M,marginBottom:G,marginLeft:P,padding:U,paddingTop:H,paddingRight:J,paddingBottom:I,paddingLeft:re,top:ge,right:ne,bottom:ke,left:xe,border:ye,borderTop:V,borderRight:se,borderBottom:pe,borderLeft:j,borderWidth:$,borderColor:oe,borderStyle:ee,borderRadius:ue,borderTopLeftRadius:Ce,borderTopRightRadius:Se,borderBottomLeftRadius:Ie,borderBottomRightRadius:Ge,flexSizing:Qe,flexWrap:yt,flexType:Ht,flexChilds:pt,flexGrid:kt,horizontalAlign:vt,verticalAlign:it,transition:Te,gridCenter:Rt,gridCols:Ut,maxHeight:Qt,minHeight:Yt,maxWidth:lr,minWidth:pr,width:kr,height:la,unitHeight:Wr,unitWidth:Kr,opacity:hr,ssLastChildLossBorder:Tr,ssAbsoluteCovered:Pr,ssCardBox:ba,ssEffectsOnActive:mr,ssPushable:Lr,ssSphere:Mr,ssSquare:wa,ssTextEllipsis:He,isBoldFont:ut,isLightFont:St,isSemiBoldFont:Xt,isRounded:$t,flexCenter:Rr,flexNewLine:_r,gradients:Xr,UnderBreakPointStyles:O={},className:te="",freeCSS:A={}}=a,F=Je(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),K=_({},F),he=[te];if(Tr&&he.push("ssLastChildLossBorder_"+Tr),mr){mr=Xa.default.flatArray(mr);for(let ie of mr){let[Me,ze]=ie.split(".");K["data-effect-"+Me]="1",ze&&(K["data-effect-tone"]=ze)}}{let ie=Le.ClassNames("amotf_",{gap:l,display:s,position:d,overflow:c,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:x,boxShadow:w,margin:R,marginTop:N,marginRight:M,marginBottom:G,marginLeft:P,padding:U,paddingTop:H,paddingRight:J,paddingBottom:I,paddingLeft:re,top:ge,right:ne,bottom:ke,left:xe,border:ye,borderTop:V,borderRight:se,borderBottom:pe,borderLeft:j,borderWidth:$,borderColor:oe,borderStyle:ee,borderRadius:ue,borderTopLeftRadius:Ce,borderTopRightRadius:Se,borderBottomLeftRadius:Ie,borderBottomRightRadius:Ge,flexSizing:Qe,flexWrap:yt,flexType:Ht,flexChilds:pt,flexGrid:kt,horizontalAlign:vt,verticalAlign:it,transition:Te,gridCenter:Rt,gridCols:Ut,maxHeight:Qt,minHeight:Yt,maxWidth:lr,minWidth:pr,width:kr,height:la,unitHeight:Wr,unitWidth:Kr,opacity:hr});he.push(ie)}return O&&he.push(Le.ClassNames("amotf_bp",O)),A&&(K.style=_(_({},A),K.style)),(o||K["data-component-id"])&&(K["data-component-id"]=K["data-component-id"]||o),he.length&&he.join("")&&(K.className=he.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),K},Fl=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:d,fontSize:c,fontWeight:h,backgroundColor:p,textAlign:v,textDecoration:b,boxShadow:y,margin:x,marginTop:w,marginRight:R,marginBottom:N,marginLeft:M,padding:G,paddingTop:P,paddingRight:U,paddingBottom:H,paddingLeft:J,top:I,right:re,bottom:ge,left:ne,border:ke,borderTop:xe,borderRight:ye,borderBottom:V,borderLeft:se,borderWidth:pe,borderColor:j,borderStyle:$,borderRadius:oe,borderTopLeftRadius:ee,borderTopRightRadius:ue,borderBottomLeftRadius:Ce,borderBottomRightRadius:Se,flexSizing:Ie,flexWrap:Ge,flexType:Qe,flexChilds:yt,flexGrid:Ht,horizontalAlign:pt,verticalAlign:kt,transition:vt,gridCenter:it,gridCols:Te,maxHeight:Rt,minHeight:Ut,maxWidth:Qt,minWidth:Yt,width:lr,height:pr,unitHeight:kr,unitWidth:la,opacity:Wr,ssLastChildLossBorder:Kr,ssAbsoluteCovered:hr,ssCardBox:Tr,ssEffectsOnActive:Pr,ssPushable:ba,ssSphere:mr,ssSquare:Lr,ssTextEllipsis:Mr,isBoldFont:wa,isLightFont:He,isSemiBoldFont:ut,isRounded:St,flexCenter:Xt,flexNewLine:$t,gradients:Rr,UnderBreakPointStyles:_r={},freeCSS:Xr={}}=r,O={};return Le.ev(a)&&(O.gap=a),Le.ev(o)&&(O.display=o),Le.ev(l)&&(O.position=l),Le.ev(s)&&(O.overflow=s),Le.ev(d)&&(O.fontColor=d),Le.ev(c)&&(O.fontSize=c),Le.ev(h)&&(O.fontWeight=h),Le.ev(p)&&(O.backgroundColor=p),Le.ev(v)&&(O.textAlign=v),Le.ev(b)&&(O.textDecoration=b),Le.ev(y)&&(O.boxShadow=y),Le.ev(x)&&(O.margin=x),Le.ev(w)&&(O.marginTop=w),Le.ev(R)&&(O.marginRight=R),Le.ev(N)&&(O.marginBottom=N),Le.ev(M)&&(O.marginLeft=M),Le.ev(G)&&(O.padding=G),Le.ev(P)&&(O.paddingTop=P),Le.ev(U)&&(O.paddingRight=U),Le.ev(H)&&(O.paddingBottom=H),Le.ev(J)&&(O.paddingLeft=J),Le.ev(I)&&(O.top=I),Le.ev(re)&&(O.right=re),Le.ev(ge)&&(O.bottom=ge),Le.ev(ne)&&(O.left=ne),Le.ev(ke)&&(O.border=ke),Le.ev(xe)&&(O.borderTop=xe),Le.ev(ye)&&(O.borderRight=ye),Le.ev(V)&&(O.borderBottom=V),Le.ev(se)&&(O.borderLeft=se),Le.ev(pe)&&(O.borderWidth=pe),Le.ev(j)&&(O.borderColor=j),Le.ev($)&&(O.borderStyle=$),Le.ev(oe)&&(O.borderRadius=oe),Le.ev(ee)&&(O.borderTopLeftRadius=ee),Le.ev(ue)&&(O.borderTopRightRadius=ue),Le.ev(Ce)&&(O.borderBottomLeftRadius=Ce),Le.ev(Se)&&(O.borderBottomRightRadius=Se),Le.ev(Ie)&&(O.flexSizing=Ie),Le.ev(Ge)&&(O.flexWrap=Ge),Le.ev(Qe)&&(O.flexType=Qe),Le.ev(yt)&&(O.flexChilds=yt),Le.ev(Ht)&&(O.flexGrid=Ht),Le.ev(pt)&&(O.horizontalAlign=pt),Le.ev(kt)&&(O.verticalAlign=kt),Le.ev(vt)&&(O.transition=vt),Le.ev(it)&&(O.gridCenter=it),Le.ev(Te)&&(O.gridCols=Te),Le.ev(Rt)&&(O.maxHeight=Rt),Le.ev(Ut)&&(O.minHeight=Ut),Le.ev(Qt)&&(O.maxWidth=Qt),Le.ev(Yt)&&(O.minWidth=Yt),Le.ev(lr)&&(O.width=lr),Le.ev(pr)&&(O.height=pr),Le.ev(kr)&&(O.unitHeight=kr),Le.ev(la)&&(O.unitWidth=la),Le.ev(Wr)&&(O.opacity=Wr),Le.ev(Kr)&&(O.ssLastChildLossBorder=Kr),Le.ev(hr)&&(O.ssAbsoluteCovered=hr),Le.ev(Tr)&&(O.ssCardBox=Tr),Le.ev(Pr)&&(O.ssEffectsOnActive=Pr),Le.ev(ba)&&(O.ssPushable=ba),Le.ev(mr)&&(O.ssSphere=mr),Le.ev(Lr)&&(O.ssSquare=Lr),Le.ev(Mr)&&(O.ssTextEllipsis=Mr),Le.ev(wa)&&(O.isBoldFont=wa),Le.ev(He)&&(O.isLightFont=He),Le.ev(ut)&&(O.isSemiBoldFont=ut),Le.ev(St)&&(O.isRounded=St),Le.ev(Xt)&&(O.flexCenter=Xt),Le.ev($t)&&(O.flexNewLine=$t),Le.ev(Rr)&&(O.gradients=Rr),Le.ev(Xr)&&(O.freeCSS=Xr),Le.ev(_r)&&(O.UnderBreakPointStyles=_r),O};var yl=X(Bt());var eb=r=>{var a;let o=Bl.catch("RootViewController_"+st.get().sessionUID);return(0,yl.jsxs)(yl.Fragment,{children:[(0,yl.jsx)("style",{children:r.inlineCSS}),(0,yl.jsxs)("amotify-app",{id:"appRoot_"+st.get().sessionUID,children:[(0,yl.jsx)(cs.Pudding.Wrapper,{}),(0,yl.jsx)(cs.Ripple.Wrapper,{}),(0,yl.jsx)(an.Wrapper,{}),(0,yl.jsx)(Kn.Wrapper,{}),(0,yl.jsx)(Ft.Wrapper,{}),(0,yl.jsx)(T,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var tb=X(ir()),bt=r=>{let a=st.get().appRoot;return tb.default.is.shadowRoot(a)?(0,tb.default)(a).find(r):(0,tb.default)(r)};var eG=X(Qw());ra(Hr,X(Qw()));var tG=X(Jw());ra(Hr,X(Jw()));var rG=_(_(_(_(_(_({},Xw),fw),_w),eG),tG),Kw);var jn=X(ir()),Ul=X(fr());var m=X(Bt());var dp={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(_t,{gap:1,children:[(0,m.jsx)(T,{flexCenter:!0,children:(0,m.jsx)(R_,{ssSphere:6,children:"Placeholder"})}),(0,m.jsxs)(ua,{gridCols:3,gap:1,flexSizing:"auto",padding:1,border:!0,children:[(0,m.jsx)(T,{padding:2,backgroundColor:"layer.0"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ua,{gridCols:3,gap:1,flexSizing:"auto",padding:1,backgroundColor:"dark",children:[(0,m.jsx)(T,{padding:2,backgroundColor:"layer.0"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(T,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ua,{gridCols:3,gap:"1/2",ssCardBox:!0,flexSizing:"auto",children:[(0,m.jsx)(T,{flexCenter:!0,fontColor:"1.clear",children:"FontColor1"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"2.normal",children:"FontColor2"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"3.blur",children:"FontColor3"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"4.thin",children:"FontColor4"}),(0,m.jsx)(T,{flexCenter:!0,fontColor:"5.translucent",children:"FontColor5"})]})]}),(0,m.jsx)(dp.Fonts,{}),(0,m.jsx)(dp.Box,{}),(0,m.jsx)(dp.Flex,{}),(0,m.jsx)(dp.Grid,{}),(0,m.jsx)(dp.Others,{})]}),Fonts:()=>(0,m.jsxs)(T,{ssCardBox:!0,children:[(0,m.jsx)(Ye.SubTitle,{padding:1,borderBottom:!0,children:"Font"}),(0,m.jsxs)(T,{overflow:"auto",padding:1,children:[(0,m.jsx)(Ye.Description,{padding:1,children:`<Box
|
|
981
981
|
fontSize={ 0 ~ 8 }
|
|
982
982
|
>
|
|
983
983
|
some text
|
|
@@ -1075,7 +1075,7 @@ text5`,minRows:5}),(0,m.jsx)(at.TextField,{label:"Input.TextField",name:"textfie
|
|
|
1075
1075
|
header: ReactElement | React.FC< { modalClose } >,
|
|
1076
1076
|
body: ReactElement | React.FC< { modalClose } >,
|
|
1077
1077
|
footer: ReactElement | React.FC< { modalClose } >
|
|
1078
|
-
} )`})}),(0,m.jsxs)(ct,{padding:2,children:[(0,m.jsx)(le.Border,{onClick:a=>{na.open({tipsID:"testTips",parent:a.currentTarget,closeAtParentBlur:!1,closeAtAroundClick:!1,closeAtEscapeKeyDown:!0,content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:(0,m.jsx)(le,{onClick:()=>{Ft.open({sheetID:"testSheet",closeAtAroundClick:!0,type:"normal.middleLeft",content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(T,{flexCenter:!0,children:(0,m.jsxs)(ua,{gridCols:3,gap:1,children:[(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(le.Border,{onClick:a=>{na.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(T,{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white",children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(Pe.Center,{children:["Image Picker",(0,m.jsx)(zn,{src:Lt.Images.defaultIcon("user"),ssSphere:6,showExpand:!0})]})]})]})]})},Bm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(ct,{gap:3,children:[(0,m.jsx)(Bm.Normal,{}),(0,m.jsx)(Bm.Data,{}),(0,m.jsx)(Bm.Drag,{}),(0,m.jsx)(Bm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Normal"}),(0,m.jsx)(Qn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStylesCallback:o=>{let l={};return o.isHeader&&(console.log("AAA"),l=c2(Wg({},l),{backgroundColor:"cloud"})),l},rows:r,ssCardBox:!0,onRowClick:o=>{console.log(o)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];o.rowID="rowID-"+a,r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Drag"}),(0,m.jsx)(Qn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,ssCardBox:!0,onOrderChanged:o=>{console.log(o)}})]})},Data:()=>{let[r,a]=(0,Ul.useState)(""),o=[];for(var l=0;l<100;l++){let d=Math.round(Math.random()*50+1),c=Math.round(Math.random()*50+1),h=Math.round(Math.random()*50+1),p="name_"+d,v="data_"+c,b="data_"+h,y=[{type:"th",children:l+":"+p,data:p,orderIndex:l},{type:"td",children:v,data:v},{type:"td",children:b,data:b}];o.push(y)}o[1].checked=!0,o[4].checked=!0,o[10].checked=!0;let s="testDataTable";return(0,m.jsxs)(ct,{children:[(0,m.jsxs)(_t,{horizontalAlign:"between",children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Data"}),(0,m.jsxs)(_t,{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white",children:[(0,m.jsx)(le.Clear,{color:"white",children:"SubmitButton"}),(0,m.jsx)(T,{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}),(0,m.jsx)(le.Clear,{padding:[0,1],color:"white",onClick:d=>{na.open({tipsID:(0,jn.UUID)(),parent:d.target,gravityPoint:24,closeAtAroundClick:!0,closeAtParentBlur:!1,content:(0,m.jsxs)(ct,{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden",children:[(0,m.jsx)(le.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(le.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(le.Clear.S,{borderRadius:0,children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(we.EllipsisV,{})})]})]}),(0,m.jsxs)(Pe.Separate,{verticalAlign:"bottom",children:[(0,m.jsxs)(Pe.Left,{verticalAlign:"bottom",children:[(0,m.jsx)(Qn.Data.SearchInput,{tableID:s,onChange:d=>{a(d)}}),(0,m.jsx)(Qn.Data.Info,{tableID:s})]}),(0,m.jsxs)(Pe.Right,{verticalAlign:"unset",children:[(0,m.jsx)(Qn.Data.RowLength,{tableID:s,lengthSelect:[30,50,100]}),(0,m.jsx)(Qn.Data.Paging,{tableID:s})]})]}),(0,m.jsx)(Qn.Data,{tableID:s,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:o,pageRowLength:30,ssCardBox:!0,cellStyles:{padding:"1/2"},filter:[!0,!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Spread"})})},iG=()=>{let[r,a]=(0,Ul.useState)(""),[o,l]=(0,Ul.useState)(""),[s,d]=(0,Ul.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(T,{children:[(0,m.jsxs)(le,{onClick:()=>{Dm.openDialogNEdit({use:"wallpaper.horizontal",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:c=>Or(void 0,null,function*(){a(yield(yield jn.Filer.fromFile(c[0])).toDataURL()),l(yield(yield jn.Filer.fromFile(c[1])).toDataURL()),d(yield(yield jn.Filer.fromFile(c[2])).toDataURL())})})},children:[(0,m.jsx)(we.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsx)(Pe.Center,{children:(0,m.jsx)(le.Prime,{onClick:()=>{Ft.open({type:"image",src:["https://png.pngtree.com/background/20210714/original/pngtree-futuristic-shape-abstract-background-chemistry-technology-concept-for-website-picture-image_1250295.jpg","https://png.pngtree.com/background/20210711/original/pngtree-set-of-instagram-stories-sale-banner-background-instagram-template-photo-can-picture-image_1167343.jpg","https://png.pngtree.com/background/20210715/original/pngtree-website-banner-abstract-purple-blue-gradient-background-picture-image_1298439.jpg"]})},children:"Open Image Sheet"})}),(0,m.jsxs)(_t,{gap:1,verticalAlign:"top",children:[r&&(0,m.jsx)(zn,{isRounded:!0,src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),o&&(0,m.jsx)(zn,{style:{maxWidth:24*12},src:o,alt:"",showExpand:!0}),s&&(0,m.jsx)(zn,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)(A_,{border:!0,borderWidth:3,margin:[3,"auto"],freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:c=>{}},slides:[(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"nega",children:"test1"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"posi",children:"test2"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"warn",children:"test3"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"theme",children:"test4"})]})]})]})})},cI={Darkmode:r=>((0,Ul.useEffect)(()=>{jn.default.interval.once(()=>{Ft.open({sheetID:"darkModeSelector",type:"custom",parent:document.body,gravityPoint:19,closeAtAroundClick:!1,content:()=>(0,m.jsx)(T,{padding:1,children:(0,m.jsx)(at.Segmented.Cloud,c2(Wg({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"},ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r),{options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:st.get().darkMode,onUpdateValidValue:({value:a})=>{let o=a;jn.default.localStrage.set("prf.darkMode",o),st.update.darkMode(o)}}))})})},100)},[]),null),ThemeColor:()=>{let r=a=>{let o="themeColorSelector";Ft.open({sheetID:o,type:"normal.middleCenter",size:"L",closeAtParentBlur:!1,closeAtAroundClick:!1,closeAfter:()=>{Il.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,Ul.useState)(a.defaultColor);(0,Ul.useEffect)(()=>{jn.default.scope(()=>{l!==st.get().themeColor&&(st.update.themeColor(l),jn.default.localStrage.set("prf.themeColor",l),Ft.close(o))})},[l]);let d=Object.entries(Am).map(([c,h])=>{let p=c===l;return(0,m.jsx)(le.Clear,{color:"cloud",textAlign:"center",onClick:()=>{s(c)},children:(0,m.jsxs)(ct,{gap:"1/2",textAlign:"center",children:[p&&(0,m.jsx)(Ye.Supplement,{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:c,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs",children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(T,{position:"relative",margin:"auto",backgroundColor:c,ssSphere:2.5,children:(0,m.jsx)(T,{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0,freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(Ye.Supplement,{ssTextEllipsis:!0,freeCSS:{lineHeight:1.25},children:c.toCapital()})]})},c)});return(0,m.jsx)(Ft.Body,{children:(0,m.jsxs)(ct,{padding:2,gap:2,children:[(0,m.jsxs)(Pe.Separate,{children:[(0,m.jsx)(Ye.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(le.Sub,{color:"cloud",ssSphere:3,onClick:()=>{Ft.close(o)},children:(0,m.jsx)(we.Times,{})})]}),(0,m.jsx)(ua,{gap:"1/4",freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,Ul.useEffect)(()=>{jn.default.scope(()=>Or(void 0,null,function*(){jn.default.interval.once(()=>{Ft.open({sheetID:"themeColorSelector",type:"custom",parent:document.body,gravityPoint:17,closeAtParentBlur:!1,closeAtAroundClick:!1,content:()=>(0,m.jsx)(T,{padding:1,children:(0,m.jsx)(le.Border,{isRounded:!0,fontColor:"theme",onClick:a=>{r({defaultColor:st.get().themeColor,cb:o=>{}})},children:(0,m.jsxs)(Pe.Center,{gap:"1/3",children:[(0,m.jsx)(T,{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}),"Theme: ",st.get().themeColor.toCapital()]})})})})},100)}))},[]),null}},uI=()=>{let[r,a]=(0,Ul.useState)(Number(jn.default.queryParams.get().ti)||0);return(0,Ul.useEffect)(()=>{jn.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cI.Darkmode,{}),(0,m.jsx)(cI.ThemeColor,{}),(0,m.jsxs)(ct,{gap:0,minHeight:"contentHeight",backgroundColor:"layer.1",position:"relative",freeCSS:{zIndex:1},children:[(0,m.jsx)(Q_,{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",boxShadow:"2.normal",top:"topBase",tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:o=>{localStorage.setItem("designTabHeader",String(o)),a(o)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(T,{flexSizing:0,position:"relative",freeCSS:{zIndex:1},children:(0,m.jsx)(D_,{viewIndex:r,views:[(0,m.jsx)(dp.index,{}),(0,m.jsx)(aG.index,{}),(0,m.jsx)(Zw.index,{}),(0,m.jsx)(nG,{}),(0,m.jsx)(oG,{}),(0,m.jsx)(Lm.index,{}),(0,m.jsx)(Bm.index,{}),(0,m.jsx)(iG,{}),"",(0,m.jsx)(Ld.index,{})],wrapper:o=>(0,m.jsx)(cs.FadeIn,{animationTime:200,children:(0,m.jsx)(mm,{children:(0,m.jsx)(_t,{gap:2,padding:2,flexWrap:!0,flexChilds:"auto",children:o})})},r)})})]})]})};var Jn=X(Bt()),lG=()=>{let r=[];for(let o=0;o<100;o++)r.push((0,Jn.jsx)("option",{value:o,children:o},o));(0,Nm.useEffect)(()=>{let o=rb.default.interval.once(()=>{console.log("testInterval")},1e3,"testInterval");console.log(o)},[]);let a=[];for(let o=0;o<100;o++)a.push({value:"option"+o,label:"\u30AA\u30D7\u30B7\u30E7\u30F3-"+o});for(let o=0;o<100;o++)a.push({value:"optionJP"+o,label:"\u9078\u629E\u80A2-"+o});return(0,Jn.jsxs)(Jn.Fragment,{children:[(0,Jn.jsx)(uI,{}),(0,Jn.jsx)(Pe.Center,{display:"none",flexCenter:!0,freeCSS:{height:"100vh"},children:(0,Jn.jsx)(at.Search,{freeCSS:{minWidth:12*12},name:"search",label:"Input.Search",required:!0,options:a})})]})};rb.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),st.launch({appRoot:r,roundness:3,themeColor:rb.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Vs.useLocation(),l=Vs.useNavigate();return(0,Nm.useEffect)(()=>{Fn.setPushEffect(s=>{l(s)}),Fn.setBackEffect(()=>{l(-1)})},[]),Z_({pathname:o.pathname}),(0,Jn.jsx)(Vs.Routes,{children:(0,Jn.jsx)(Vs.Route,{path:"*",element:(0,Jn.jsx)(lG,{})},"*")})};dI.default.createRoot(r).render((0,Jn.jsx)(Nm.StrictMode,{children:(0,Jn.jsx)(eb,{children:(0,Jn.jsx)(Vs.BrowserRouter,{children:(0,Jn.jsx)(a,{})})})}))});
|
|
1078
|
+
} )`})}),(0,m.jsxs)(ct,{padding:2,children:[(0,m.jsx)(le.Border,{onClick:a=>{na.open({tipsID:"testTips",parent:a.currentTarget,closeAtParentBlur:!1,closeAtAroundClick:!1,closeAtEscapeKeyDown:!0,content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:(0,m.jsx)(le,{onClick:()=>{Ft.open({sheetID:"testSheet",closeAtAroundClick:!0,type:"normal.middleLeft",content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(T,{flexCenter:!0,children:(0,m.jsxs)(ua,{gridCols:3,gap:1,children:[(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(le.Border,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(le.Border,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(le.Border,{onClick:a=>{na.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(T,{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white",children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(Pe.Center,{children:["Image Picker",(0,m.jsx)(zn,{src:Lt.Images.defaultIcon("user"),ssSphere:6,showExpand:!0})]})]})]})]})},Bm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(ct,{gap:3,children:[(0,m.jsx)(Bm.Normal,{}),(0,m.jsx)(Bm.Data,{}),(0,m.jsx)(Bm.Drag,{}),(0,m.jsx)(Bm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Normal"}),(0,m.jsx)(Qn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStylesCallback:o=>{let l={};return o.isHeader&&(console.log("AAA"),l=c2(Wg({},l),{backgroundColor:"cloud"})),l},rows:r,ssCardBox:!0,onRowClick:o=>{console.log(o)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];o.rowID="rowID-"+a,r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Drag"}),(0,m.jsx)(Qn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,ssCardBox:!0,onOrderChanged:o=>{console.log(o)}})]})},Data:()=>{let[r,a]=(0,Ul.useState)(""),o=[];for(var l=0;l<100;l++){let d=Math.round(Math.random()*50+1),c=Math.round(Math.random()*50+1),h=Math.round(Math.random()*50+1),p="name_"+d,v="data_"+c,b="data_"+h,y=[{type:"th",children:l+":"+p,data:p,orderIndex:l},{type:"td",children:v,data:v},{type:"td",children:b,data:b}];o.push(y)}o[1].checked=!0,o[4].checked=!0,o[10].checked=!0;let s="testDataTable";return(0,m.jsxs)(ct,{children:[(0,m.jsxs)(_t,{horizontalAlign:"between",children:[(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Data"}),(0,m.jsxs)(_t,{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white",children:[(0,m.jsx)(le.Clear,{color:"white",children:"SubmitButton"}),(0,m.jsx)(T,{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}),(0,m.jsx)(le.Clear,{padding:[0,1],color:"white",onClick:d=>{na.open({tipsID:(0,jn.UUID)(),parent:d.target,gravityPoint:24,closeAtAroundClick:!0,closeAtParentBlur:!1,content:(0,m.jsxs)(ct,{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden",children:[(0,m.jsx)(le.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(le.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(le.Clear.S,{borderRadius:0,children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(we.EllipsisV,{})})]})]}),(0,m.jsxs)(Pe.Separate,{verticalAlign:"bottom",children:[(0,m.jsxs)(Pe.Left,{verticalAlign:"bottom",children:[(0,m.jsx)(Qn.Data.SearchInput,{tableID:s,onChange:d=>{a(d)}}),(0,m.jsx)(Qn.Data.Info,{tableID:s})]}),(0,m.jsxs)(Pe.Right,{verticalAlign:"unset",children:[(0,m.jsx)(Qn.Data.RowLength,{tableID:s,lengthSelect:[30,50,100]}),(0,m.jsx)(Qn.Data.Paging,{tableID:s})]})]}),(0,m.jsx)(Qn.Data,{tableID:s,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:o,pageRowLength:30,ssCardBox:!0,cellStyles:{padding:"1/2"},filter:[!0,!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(T,{fontSize:"5.subTitle",children:"Table.Spread"})})},iG=()=>{let[r,a]=(0,Ul.useState)(""),[o,l]=(0,Ul.useState)(""),[s,d]=(0,Ul.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(T,{children:[(0,m.jsxs)(le,{onClick:()=>{Dm.openDialogNEdit({use:"wallpaper.horizontal",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:c=>Or(void 0,null,function*(){a(yield(yield jn.Filer.fromFile(c[0])).toDataURL()),l(yield(yield jn.Filer.fromFile(c[1])).toDataURL()),d(yield(yield jn.Filer.fromFile(c[2])).toDataURL())})})},children:[(0,m.jsx)(we.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsx)(Pe.Center,{children:(0,m.jsx)(le.Prime,{onClick:()=>{Ft.open({type:"image",src:["https://png.pngtree.com/background/20210714/original/pngtree-futuristic-shape-abstract-background-chemistry-technology-concept-for-website-picture-image_1250295.jpg","https://png.pngtree.com/background/20210711/original/pngtree-set-of-instagram-stories-sale-banner-background-instagram-template-photo-can-picture-image_1167343.jpg","https://png.pngtree.com/background/20210715/original/pngtree-website-banner-abstract-purple-blue-gradient-background-picture-image_1298439.jpg"]})},children:"Open Image Sheet"})}),(0,m.jsxs)(_t,{gap:1,verticalAlign:"top",children:[r&&(0,m.jsx)(zn,{isRounded:!0,src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),o&&(0,m.jsx)(zn,{style:{maxWidth:24*12},src:o,alt:"",showExpand:!0}),s&&(0,m.jsx)(zn,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)(A_,{border:!0,borderWidth:3,margin:[3,"auto"],freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:c=>{}},slides:[(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"nega",children:"test1"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"posi",children:"test2"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"warn",children:"test3"}),(0,m.jsx)(T,{flexCenter:!0,padding:3,backgroundColor:"theme",children:"test4"})]})]})]})})},cI={Darkmode:r=>((0,Ul.useEffect)(()=>{jn.default.interval.once(()=>{Ft.open({sheetID:"darkModeSelector",type:"custom",parent:document.body,gravityPoint:19,closeAtAroundClick:!1,content:()=>(0,m.jsx)(T,{padding:1,children:(0,m.jsx)(at.Segmented.Cloud,c2(Wg({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"},ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r),{options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:st.get().darkMode,onUpdateValidValue:({value:a})=>{let o=a;jn.default.localStrage.set("prf.darkMode",o),st.update.darkMode(o)}}))})})},100)},[]),null),ThemeColor:()=>{let r=a=>{let o="themeColorSelector";Ft.open({sheetID:o,type:"normal.middleCenter",size:"L",closeAtParentBlur:!1,closeAtAroundClick:!1,closeAfter:()=>{Il.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,Ul.useState)(a.defaultColor);(0,Ul.useEffect)(()=>{jn.default.scope(()=>{l!==st.get().themeColor&&(st.update.themeColor(l),jn.default.localStrage.set("prf.themeColor",l),Ft.close(o))})},[l]);let d=Object.entries(Am).map(([c,h])=>{let p=c===l;return(0,m.jsx)(le.Clear,{color:"cloud",textAlign:"center",onClick:()=>{s(c)},children:(0,m.jsxs)(ct,{gap:"1/2",textAlign:"center",children:[p&&(0,m.jsx)(Ye.Supplement,{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:c,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs",children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(T,{position:"relative",margin:"auto",backgroundColor:c,ssSphere:2.5,children:(0,m.jsx)(T,{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0,freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(Ye.Supplement,{ssTextEllipsis:!0,freeCSS:{lineHeight:1.25},children:c.toCapital()})]})},c)});return(0,m.jsx)(Ft.Body,{children:(0,m.jsxs)(ct,{padding:2,gap:2,children:[(0,m.jsxs)(Pe.Separate,{children:[(0,m.jsx)(Ye.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(le.Sub,{color:"cloud",ssSphere:3,onClick:()=>{Ft.close(o)},children:(0,m.jsx)(we.Times,{})})]}),(0,m.jsx)(ua,{gap:"1/4",freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,Ul.useEffect)(()=>{jn.default.scope(()=>Or(void 0,null,function*(){jn.default.interval.once(()=>{Ft.open({sheetID:"themeColorSelector",type:"custom",parent:document.body,gravityPoint:17,closeAtParentBlur:!1,closeAtAroundClick:!1,content:()=>(0,m.jsx)(T,{padding:1,children:(0,m.jsx)(le.Border,{isRounded:!0,fontColor:"theme",onClick:a=>{r({defaultColor:st.get().themeColor,cb:o=>{}})},children:(0,m.jsxs)(Pe.Center,{gap:"1/3",children:[(0,m.jsx)(T,{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}),"Theme: ",st.get().themeColor.toCapital()]})})})})},100)}))},[]),null}},uI=()=>{let[r,a]=(0,Ul.useState)(Number(jn.default.queryParams.get().ti)||0);return(0,Ul.useEffect)(()=>{jn.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cI.Darkmode,{}),(0,m.jsx)(cI.ThemeColor,{}),(0,m.jsxs)(ct,{gap:0,minHeight:"contentHeight",backgroundColor:"gray",position:"relative",freeCSS:{zIndex:1},children:[(0,m.jsx)(Q_,{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",boxShadow:"2.normal",top:"topBase",tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:o=>{localStorage.setItem("designTabHeader",String(o)),a(o)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(T,{flexSizing:0,position:"relative",freeCSS:{zIndex:1},children:(0,m.jsx)(D_,{viewIndex:r,views:[(0,m.jsx)(dp.index,{}),(0,m.jsx)(aG.index,{}),(0,m.jsx)(Zw.index,{}),(0,m.jsx)(nG,{}),(0,m.jsx)(oG,{}),(0,m.jsx)(Lm.index,{}),(0,m.jsx)(Bm.index,{}),(0,m.jsx)(iG,{}),"",(0,m.jsx)(Ld.index,{})],wrapper:o=>(0,m.jsx)(cs.FadeIn,{animationTime:200,children:(0,m.jsx)(mm,{children:(0,m.jsx)(_t,{gap:2,padding:2,flexWrap:!0,flexChilds:"auto",children:o})})},r)})})]})]})};var jo=X(Bt()),lG=()=>{let r=[];for(let o=0;o<100;o++)r.push((0,jo.jsx)("option",{value:o,children:o},o));(0,Nm.useEffect)(()=>{let o=rb.default.interval.once(()=>{console.log("testInterval")},1e3,"testInterval");console.log(o)},[]);let a=[];for(let o=0;o<100;o++)a.push({value:"option"+o,label:"\u30AA\u30D7\u30B7\u30E7\u30F3-"+o});for(let o=0;o<100;o++)a.push({value:"optionJP"+o,label:"\u9078\u629E\u80A2-"+o});return(0,jo.jsxs)(T,{minHeight:"viewHeight",children:[(0,jo.jsx)(uI,{}),(0,jo.jsx)(Pe.Center,{display:"none",flexCenter:!0,freeCSS:{height:"100vh"},children:(0,jo.jsx)(at.Search,{freeCSS:{minWidth:12*12},name:"search",label:"Input.Search",required:!0,options:a})})]})};rb.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),st.launch({appRoot:r,roundness:3,themeColor:rb.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Vs.useLocation(),l=Vs.useNavigate();return(0,Nm.useEffect)(()=>{Fn.setPushEffect(s=>{l(s)}),Fn.setBackEffect(()=>{l(-1)})},[]),Z_({pathname:o.pathname}),(0,jo.jsx)(Vs.Routes,{children:(0,jo.jsx)(Vs.Route,{path:"*",element:(0,jo.jsx)(lG,{})},"*")})};dI.default.createRoot(r).render((0,jo.jsx)(Nm.StrictMode,{children:(0,jo.jsx)(eb,{children:(0,jo.jsx)(Vs.BrowserRouter,{children:(0,jo.jsx)(a,{})})})}))});
|
|
1079
1079
|
/*! Bundled license information:
|
|
1080
1080
|
|
|
1081
1081
|
react/cjs/react.development.js:
|