amotify 0.2.159 → 0.2.160

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.
@@ -1,35 +1,35 @@
1
- var SV=Object.create;var Mg=Object.defineProperty;var wV=Object.getOwnPropertyDescriptor;var CV=Object.getOwnPropertyNames;var xV=Object.getPrototypeOf,kV=Object.prototype.hasOwnProperty;var TV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Rd=(r,a)=>{for(var o in a)Mg(r,o,{get:a[o],enumerable:!0})},Og=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of CV(a))!kV.call(r,s)&&s!==o&&Mg(r,s,{get:()=>a[s],enumerable:!(l=wV(a,s))||l.enumerable});return r},Zr=(r,a,o)=>(Og(r,a,"default"),o&&Og(o,a,"default")),K=(r,a,o)=>(o=r!=null?SV(xV(r)):{},Og(a||!r||!r.__esModule?Mg(o,"default",{value:r,enumerable:!0}):o,r)),EV=r=>Og(Mg({},"__esModule",{value:!0}),r);var Vr=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Gk=Ue((wr,Pg)=>{"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="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,A="@@iterator";function N(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[A];return typeof U=="function"?U:null}var Y={current:null},M={transition:null},H={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Z={},O=null;function ae(x){O=x}Z.setExtraStackFrame=function(x){O=x},Z.getCurrentStack=null,Z.getStackAddendum=function(){var x="";O&&(x+=O);var U=Z.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,ee=!1,ye=!1,be=!1,he=!1,j={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:M,ReactCurrentOwner:F};j.ReactDebugCurrentFrame=Z,j.ReactCurrentActQueue=H;function le(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("warn",x,me)}}function de(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("error",x,me)}}function B(x,U,me){{var Ee=j.ReactDebugCurrentFrame,Qe=Ee.getStackAddendum();Qe!==""&&(U+="%s",me=me.concat([Qe]));var Pt=me.map(function(yt){return String(yt)});Pt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Pt)}}var W={};function ie(x,U){{var me=x.constructor,Ee=me&&(me.displayName||me.name)||"ReactClass",Qe=Ee+"."+U;if(W[Qe])return;de("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),W[Qe]=!0}}var te={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,me){ie(x,"forceUpdate")},enqueueReplaceState:function(x,U,me,Ee){ie(x,"replaceState")},enqueueSetState:function(x,U,me,Ee){ie(x,"setState")}},se=Object.assign,we={};Object.freeze(we);function Se(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}Se.prototype.isReactComponent={},Se.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},Se.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ye=function(x,U){Object.defineProperty(Se.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Ge in je)je.hasOwnProperty(Ge)&&Ye(Ge,je[Ge])}function rt(){}rt.prototype=Se.prototype;function et(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}var Nt=et.prototype=new rt;Nt.constructor=et,se(Nt,Se.prototype),Nt.isPureReactComponent=!0;function $t(){var x={current:null};return Object.seal(x),x}var dt=Array.isArray;function Xe(x){return dt(x)}function ke(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,me=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return me}}function ot(x){try{return kt(x),!1}catch(U){return!0}}function kt(x){return""+x}function Tt(x){if(ot(x))return de("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ke(x)),kt(x)}function wt(x,U,me){var Ee=x.displayName;if(Ee)return Ee;var Qe=U.displayName||U.name||"";return Qe!==""?me+"("+Qe+")":me}function tr(x){return x.displayName||"Context"}function Ut(x){if(x==null)return null;if(typeof x.tag=="number"&&de("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return tr(U)+".Consumer";case u:var me=x;return tr(me._context)+".Provider";case p:return wt(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:Ut(x.type)||"Memo";case S:{var Qe=x,Pt=Qe._payload,yt=Qe._init;try{return Ut(yt(Pt))}catch(Zt){return null}}}return null}var dr=Object.prototype.hasOwnProperty,na={key:!0,ref:!0,__self:!0,__source:!0},jr,Yr,xr;xr={};function pr(x){if(dr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function br(x){if(dr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function pa(x,U){var me=function(){jr||(jr=!0,de("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};me.isReactWarning=!0,Object.defineProperty(x,"key",{get:me,configurable:!0})}function kr(x,U){var me=function(){Yr||(Yr=!0,de("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};me.isReactWarning=!0,Object.defineProperty(x,"ref",{get:me,configurable:!0})}function vr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=Ut(F.current.type);xr[U]||(de('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),xr[U]=!0)}}var Pr=function(x,U,me,Ee,Qe,Pt,yt){var Zt={$$typeof:a,type:x,key:U,ref:me,props:yt,_owner:Pt};return Zt._store={},Object.defineProperty(Zt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Zt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Zt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(Zt.props),Object.freeze(Zt)),Zt};function ba(x,U,me){var Ee,Qe={},Pt=null,yt=null,Zt=null,Tr=null;if(U!=null){pr(U)&&(yt=U.ref,vr(U)),br(U)&&(Tt(U.key),Pt=""+U.key),Zt=U.__self===void 0?null:U.__self,Tr=U.__source===void 0?null:U.__source;for(Ee in U)dr.call(U,Ee)&&!na.hasOwnProperty(Ee)&&(Qe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Qe.children=me;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Qe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Qe[Ee]===void 0&&(Qe[Ee]=ha[Ee])}if(Pt||yt){var Da=typeof x=="function"?x.displayName||x.name||"Unknown":x;Pt&&pa(Qe,Da),yt&&kr(Qe,Da)}return Pr(x,Pt,yt,Zt,Tr,F.current,Qe)}function ze(x,U){var me=Pr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return me}function ct(x,U,me){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Qe=se({},x.props),Pt=x.key,yt=x.ref,Zt=x._self,Tr=x._source,Ur=x._owner;if(U!=null){pr(U)&&(yt=U.ref,Ur=F.current),br(U)&&(Tt(U.key),Pt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)dr.call(U,Ee)&&!na.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Qe[Ee]=sa[Ee]:Qe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Qe.children=me;else if(ca>1){for(var ha=Array(ca),Da=0;Da<ca;Da++)ha[Da]=arguments[Da+2];Qe.children=ha}return Pr(x.type,Pt,yt,Zt,Tr,Ur,Qe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Gt=".",Vt=":";function Ar(x){var U=/[=:]/g,me={"=":"=0",":":"=2"},Ee=x.replace(U,function(Qe){return me[Qe]});return"$"+Ee}var gr=!1,$r=/\/+/g;function $(x){return x.replace($r,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(Tt(x.key),Ar(""+x.key)):U.toString(36)}function R(x,U,me,Ee,Qe){var Pt=typeof x;(Pt==="undefined"||Pt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Pt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Zt=x,Tr=Qe(Zt),Ur=Ee===""?Gt+P(Zt,0):Ee;if(Xe(Tr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(Tr,U,sa,"",function(pp){return pp})}else Tr!=null&&(bt(Tr)&&(Tr.key&&(!Zt||Zt.key!==Tr.key)&&Tt(Tr.key),Tr=ze(Tr,me+(Tr.key&&(!Zt||Zt.key!==Tr.key)?$(""+Tr.key)+"/":"")+Ur)),U.push(Tr));return 1}var ca,ha,Da=0,rn=Ee===""?Gt:Ee+Vt;if(Xe(x))for(var Mf=0;Mf<x.length;Mf++)ca=x[Mf],ha=rn+P(ca,Mf),Da+=R(ca,U,me,ha,Qe);else{var an=N(x);if(typeof an=="function"){var Pf=x;an===Pf.entries&&(gr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),gr=!0);for(var Om=an.call(Pf),dp,G_=0;!(dp=Om.next()).done;)ca=dp.value,ha=rn+P(ca,G_++),Da+=R(ca,U,me,ha,Qe)}else if(Pt==="object"){var Bs=String(x);throw new Error("Objects are not valid as a React child (found: "+(Bs==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Bs)+"). If you meant to render a collection of children, use an array instead.")}}return Da}function z(x,U,me){if(x==null)return x;var Ee=[],Qe=0;return R(x,Ee,"","",function(Pt){return U.call(me,Pt,Qe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function oe(x,U,me){z(x,function(){U.apply(this,arguments)},me)}function ne(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:u,_context:U};var me=!1,Ee=!1,Qe=!1;{var Pt={$$typeof:h,_context:U};Object.defineProperties(Pt,{Provider:{get:function(){return Ee||(Ee=!0,de("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return me||(me=!0,de("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Qe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Qe=!0)}}}),U.Consumer=Pt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Je=2;function I(x){if(x._status===Me){var U=x._result,me=U();if(me.then(function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Pt}},function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Je,yt._result=Pt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=me}}if(x._status===Ae){var Qe=x._result;return Qe===void 0&&de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var SV=Object.create;var Mg=Object.defineProperty;var wV=Object.getOwnPropertyDescriptor;var CV=Object.getOwnPropertyNames;var xV=Object.getPrototypeOf,kV=Object.prototype.hasOwnProperty;var TV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Rd=(r,a)=>{for(var o in a)Mg(r,o,{get:a[o],enumerable:!0})},Og=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of CV(a))!kV.call(r,s)&&s!==o&&Mg(r,s,{get:()=>a[s],enumerable:!(l=wV(a,s))||l.enumerable});return r},ta=(r,a,o)=>(Og(r,a,"default"),o&&Og(o,a,"default")),K=(r,a,o)=>(o=r!=null?SV(xV(r)):{},Og(a||!r||!r.__esModule?Mg(o,"default",{value:r,enumerable:!0}):o,r)),EV=r=>Og(Mg({},"__esModule",{value:!0}),r);var qr=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Gk=Ue((wr,Pg)=>{"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="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,R="@@iterator";function N(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[R];return typeof U=="function"?U:null}var W={current:null},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},M=null;function te(x){M=x}Q.setExtraStackFrame=function(x){M=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";M&&(x+=M);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,ee=!1,de=!1,pe=!1,ve=!1,H={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,be=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)be[Ee-1]=arguments[Ee];B("warn",x,be)}}function fe(x){{for(var U=arguments.length,be=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)be[Ee-1]=arguments[Ee];B("error",x,be)}}function B(x,U,be){{var Ee=H.ReactDebugCurrentFrame,Qe=Ee.getStackAddendum();Qe!==""&&(U+="%s",be=be.concat([Qe]));var It=be.map(function(yt){return String(yt)});It.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,It)}}var q={};function ie(x,U){{var be=x.constructor,Ee=be&&(be.displayName||be.name)||"ReactClass",Qe=Ee+"."+U;if(q[Qe])return;fe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),q[Qe]=!0}}var re={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,be){ie(x,"forceUpdate")},enqueueReplaceState:function(x,U,be,Ee){ie(x,"replaceState")},enqueueSetState:function(x,U,be,Ee){ie(x,"setState")}},he=Object.assign,we={};Object.freeze(we);function ge(x,U,be){this.props=x,this.context=U,this.refs=we,this.updater=be||re}ge.prototype.isReactComponent={},ge.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},ge.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},We=function(x,U){Object.defineProperty(ge.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Ke in je)je.hasOwnProperty(Ke)&&We(Ke,je[Ke])}function tt(){}tt.prototype=ge.prototype;function dt(x,U,be){this.props=x,this.context=U,this.refs=we,this.updater=be||re}var lt=dt.prototype=new tt;lt.constructor=dt,he(lt,ge.prototype),lt.isPureReactComponent=!0;function $t(){var x={current:null};return Object.seal(x),x}var Pt=Array.isArray;function Ge(x){return Pt(x)}function Ce(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,be=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return be}}function st(x){try{return wt(x),!1}catch(U){return!0}}function wt(x){return""+x}function kt(x){if(st(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ce(x)),wt(x)}function Nt(x,U,be){var Ee=x.displayName;if(Ee)return Ee;var Qe=U.displayName||U.name||"";return Qe!==""?be+"("+Qe+")":be}function At(x){return x.displayName||"Context"}function tr(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return At(U)+".Consumer";case u:var be=x;return At(be._context)+".Provider";case p:return Nt(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:tr(x.type)||"Memo";case S:{var Qe=x,It=Qe._payload,yt=Qe._init;try{return tr(yt(It))}catch(Zt){return null}}}return null}var rr=Object.prototype.hasOwnProperty,Fr={key:!0,ref:!0,__self:!0,__source:!0},Ur,Gr,xr;xr={};function pr(x){if(rr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function br(x){if(rr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function ha(x,U){var be=function(){Ur||(Ur=!0,fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};be.isReactWarning=!0,Object.defineProperty(x,"key",{get:be,configurable:!0})}function kr(x,U){var be=function(){Gr||(Gr=!0,fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};be.isReactWarning=!0,Object.defineProperty(x,"ref",{get:be,configurable:!0})}function vr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=tr(F.current.type);xr[U]||(fe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),xr[U]=!0)}}var Ir=function(x,U,be,Ee,Qe,It,yt){var Zt={$$typeof:a,type:x,key:U,ref:be,props:yt,_owner:It};return Zt._store={},Object.defineProperty(Zt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Zt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Zt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(Zt.props),Object.freeze(Zt)),Zt};function ba(x,U,be){var Ee,Qe={},It=null,yt=null,Zt=null,Tr=null;if(U!=null){pr(U)&&(yt=U.ref,vr(U)),br(U)&&(kt(U.key),It=""+U.key),Zt=U.__self===void 0?null:U.__self,Tr=U.__source===void 0?null:U.__source;for(Ee in U)rr.call(U,Ee)&&!Fr.hasOwnProperty(Ee)&&(Qe[Ee]=U[Ee])}var Wr=arguments.length-2;if(Wr===1)Qe.children=be;else if(Wr>1){for(var sa=Array(Wr),ca=0;ca<Wr;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Qe.children=sa}if(x&&x.defaultProps){var ma=x.defaultProps;for(Ee in ma)Qe[Ee]===void 0&&(Qe[Ee]=ma[Ee])}if(It||yt){var Aa=typeof x=="function"?x.displayName||x.name||"Unknown":x;It&&ha(Qe,Aa),yt&&kr(Qe,Aa)}return Ir(x,It,yt,Zt,Tr,F.current,Qe)}function ze(x,U){var be=Ir(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return be}function ct(x,U,be){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Qe=he({},x.props),It=x.key,yt=x.ref,Zt=x._self,Tr=x._source,Wr=x._owner;if(U!=null){pr(U)&&(yt=U.ref,Wr=F.current),br(U)&&(kt(U.key),It=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)rr.call(U,Ee)&&!Fr.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Qe[Ee]=sa[Ee]:Qe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Qe.children=be;else if(ca>1){for(var ma=Array(ca),Aa=0;Aa<ca;Aa++)ma[Aa]=arguments[Aa+2];Qe.children=ma}return Ir(x.type,It,yt,Zt,Tr,Wr,Qe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Gt=".",Vt=":";function Ar(x){var U=/[=:]/g,be={"=":"=0",":":"=2"},Ee=x.replace(U,function(Qe){return be[Qe]});return"$"+Ee}var gr=!1,Kr=/\/+/g;function $(x){return x.replace(Kr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(kt(x.key),Ar(""+x.key)):U.toString(36)}function D(x,U,be,Ee,Qe){var It=typeof x;(It==="undefined"||It==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(It){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Zt=x,Tr=Qe(Zt),Wr=Ee===""?Gt+P(Zt,0):Ee;if(Ge(Tr)){var sa="";Wr!=null&&(sa=$(Wr)+"/"),D(Tr,U,sa,"",function(pp){return pp})}else Tr!=null&&(bt(Tr)&&(Tr.key&&(!Zt||Zt.key!==Tr.key)&&kt(Tr.key),Tr=ze(Tr,be+(Tr.key&&(!Zt||Zt.key!==Tr.key)?$(""+Tr.key)+"/":"")+Wr)),U.push(Tr));return 1}var ca,ma,Aa=0,rn=Ee===""?Gt:Ee+Vt;if(Ge(x))for(var Mf=0;Mf<x.length;Mf++)ca=x[Mf],ma=rn+P(ca,Mf),Aa+=D(ca,U,be,ma,Qe);else{var an=N(x);if(typeof an=="function"){var Pf=x;an===Pf.entries&&(gr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),gr=!0);for(var Om=an.call(Pf),dp,G_=0;!(dp=Om.next()).done;)ca=dp.value,ma=rn+P(ca,G_++),Aa+=D(ca,U,be,ma,Qe)}else if(It==="object"){var Bs=String(x);throw new Error("Objects are not valid as a React child (found: "+(Bs==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Bs)+"). If you meant to render a collection of children, use an array instead.")}}return Aa}function z(x,U,be){if(x==null)return x;var Ee=[],Qe=0;return D(x,Ee,"","",function(It){return U.call(be,It,Qe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function oe(x,U,be){z(x,function(){U.apply(this,arguments)},be)}function ne(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:u,_context:U};var be=!1,Ee=!1,Qe=!1;{var It={$$typeof:h,_context:U};Object.defineProperties(It,{Provider:{get:function(){return Ee||(Ee=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return be||(be=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Qe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Qe=!0)}}}),U.Consumer=It}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,qe=0,Ae=1,Je=2;function I(x){if(x._status===Me){var U=x._result,be=U();if(be.then(function(It){if(x._status===qe||x._status===Me){var yt=x;yt._status=Ae,yt._result=It}},function(It){if(x._status===qe||x._status===Me){var yt=x;yt._status=Je,yt._result=It}}),x._status===Me){var Ee=x;Ee._status=qe,Ee._result=be}}if(x._status===Ae){var Qe=x._result;return Qe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
5
5
 
6
- Did you accidentally put curly braces around the import?`,Qe),"default"in Qe||de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
6
+ Did you accidentally put curly braces around the import?`,Qe),"default"in Qe||fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,Qe),Qe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},me={$$typeof:S,_payload:U,_init:I};{var Ee,Qe;Object.defineProperties(me,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Pt){de("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Pt,Object.defineProperty(me,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Qe},set:function(Pt){de("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Qe=Pt,Object.defineProperty(me,"propTypes",{enumerable:!0})}}})}return me}function re(x){x!=null&&x.$$typeof===b?de("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?de("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&de("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&de("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var me;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(Ee){me=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var ce;ce=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||he||x===s||x===m||x===_||be||x===w||_e||ee||ye||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x.$$typeof===ce||x.getModuleId!==void 0))}function Be(x,U){Ve(x)||de("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var me={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(me,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Qe){Ee=Qe,!x.name&&!x.displayName&&(x.displayName=Qe)}})}return me}function D(){var x=Y.current;return x===null&&de(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,Qe),Qe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},be={$$typeof:S,_payload:U,_init:I};{var Ee,Qe;Object.defineProperties(be,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(It){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=It,Object.defineProperty(be,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Qe},set:function(It){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Qe=It,Object.defineProperty(be,"propTypes",{enumerable:!0})}}})}return be}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var be;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return be},set:function(Ee){be=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ve||x===s||x===m||x===_||pe||x===w||_e||ee||de||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x.$$typeof===se||x.getModuleId!==void 0))}function Be(x,U){Ve(x)||fe("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var be={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(be,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Qe){Ee=Qe,!x.name&&!x.displayName&&(x.displayName=Qe)}})}return be}function A(){var x=W.current;return x===null&&fe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
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.`),x}function q(x){var U=D();if(x._context!==void 0){var me=x._context;me.Consumer===x?de("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?"):me.Provider===x&&de("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function Te(x,U,me){var Ee=D();return Ee.useReducer(x,U,me)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var me=D();return me.useEffect(x,U)}function Ze(x,U){var me=D();return me.useInsertionEffect(x,U)}function Ke(x,U){var me=D();return me.useLayoutEffect(x,U)}function Ct(x,U){var me=D();return me.useCallback(x,U)}function Et(x,U){var me=D();return me.useMemo(x,U)}function Wt(x,U,me){var Ee=D();return Ee.useImperativeHandle(x,U,me)}function Gr(x,U){{var me=D();return me.useDebugValue(x,U)}}function qa(){var x=D();return x.useTransition()}function ia(x){var U=D();return U.useDeferredValue(x)}function la(){var x=D();return x.useId()}function Qa(x,U,me){var Ee=D();return Ee.useSyncExternalStore(x,U,me)}var Ot=0,qn,us,fs,Jt,oa,tn,Kr;function Yn(){}Yn.__reactDisabledLog=!0;function Su(){{if(Ot===0){qn=console.log,us=console.info,fs=console.warn,Jt=console.error,oa=console.group,tn=console.groupCollapsed,Kr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Yn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Ot++}}function ip(){{if(Ot--,Ot===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},x,{value:qn}),info:se({},x,{value:us}),warn:se({},x,{value:fs}),error:se({},x,{value:Jt}),group:se({},x,{value:oa}),groupCollapsed:se({},x,{value:tn}),groupEnd:se({},x,{value:Kr})})}Ot<0&&de("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lp=j.ReactCurrentDispatcher,wu;function xc(x,U,me){{if(wu===void 0)try{throw Error()}catch(Qe){var Ee=Qe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
14
- `+wu+x}}var gl=!1,kc;{var Tf=typeof WeakMap=="function"?WeakMap:Map;kc=new Tf}function xm(x,U){if(!x||gl)return"";{var me=kc.get(x);if(me!==void 0)return me}var Ee;gl=!0;var Qe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Pt;Pt=lp.current,lp.current=null,Su();try{if(U){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(rn){Ee=rn}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(rn){Ee=rn}x.call(yt.prototype)}}else{try{throw Error()}catch(rn){Ee=rn}x()}}catch(rn){if(rn&&Ee&&typeof rn.stack=="string"){for(var Zt=rn.stack.split(`
13
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function Y(x){var U=A();if(x._context!==void 0){var be=x._context;be.Consumer===x?fe("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?"):be.Provider===x&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function me(x){var U=A();return U.useState(x)}function Te(x,U,be){var Ee=A();return Ee.useReducer(x,U,be)}function He(x){var U=A();return U.useRef(x)}function ft(x,U){var be=A();return be.useEffect(x,U)}function Ze(x,U){var be=A();return be.useInsertionEffect(x,U)}function Xe(x,U){var be=A();return be.useLayoutEffect(x,U)}function Ct(x,U){var be=A();return be.useCallback(x,U)}function Tt(x,U){var be=A();return be.useMemo(x,U)}function Wt(x,U,be){var Ee=A();return Ee.useImperativeHandle(x,U,be)}function Xr(x,U){{var be=A();return be.useDebugValue(x,U)}}function qa(){var x=A();return x.useTransition()}function ia(x){var U=A();return U.useDeferredValue(x)}function la(){var x=A();return x.useId()}function Qa(x,U,be){var Ee=A();return Ee.useSyncExternalStore(x,U,be)}var Ot=0,Yn,us,fs,Jt,oa,tn,Qr;function $n(){}$n.__reactDisabledLog=!0;function Su(){{if(Ot===0){Yn=console.log,us=console.info,fs=console.warn,Jt=console.error,oa=console.group,tn=console.groupCollapsed,Qr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:$n,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Ot++}}function ip(){{if(Ot--,Ot===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:he({},x,{value:Yn}),info:he({},x,{value:us}),warn:he({},x,{value:fs}),error:he({},x,{value:Jt}),group:he({},x,{value:oa}),groupCollapsed:he({},x,{value:tn}),groupEnd:he({},x,{value:Qr})})}Ot<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lp=H.ReactCurrentDispatcher,wu;function xc(x,U,be){{if(wu===void 0)try{throw Error()}catch(Qe){var Ee=Qe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
14
+ `+wu+x}}var gl=!1,kc;{var Tf=typeof WeakMap=="function"?WeakMap:Map;kc=new Tf}function xm(x,U){if(!x||gl)return"";{var be=kc.get(x);if(be!==void 0)return be}var Ee;gl=!0;var Qe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var It;It=lp.current,lp.current=null,Su();try{if(U){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(rn){Ee=rn}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(rn){Ee=rn}x.call(yt.prototype)}}else{try{throw Error()}catch(rn){Ee=rn}x()}}catch(rn){if(rn&&Ee&&typeof rn.stack=="string"){for(var Zt=rn.stack.split(`
15
15
  `),Tr=Ee.stack.split(`
16
- `),Ur=Zt.length-1,sa=Tr.length-1;Ur>=1&&sa>=0&&Zt[Ur]!==Tr[sa];)sa--;for(;Ur>=1&&sa>=0;Ur--,sa--)if(Zt[Ur]!==Tr[sa]){if(Ur!==1||sa!==1)do if(Ur--,sa--,sa<0||Zt[Ur]!==Tr[sa]){var ca=`
17
- `+Zt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&kc.set(x,ca),ca}while(Ur>=1&&sa>=0);break}}}finally{gl=!1,lp.current=Pt,ip(),Error.prepareStackTrace=Qe}var ha=x?x.displayName||x.name:"",Da=ha?xc(ha):"";return typeof x=="function"&&kc.set(x,Da),Da}function sp(x,U,me){return xm(x,!1)}function W_(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function Tc(x,U,me){if(x==null)return"";if(typeof x=="function")return xm(x,W_(x));if(typeof x=="string")return xc(x);switch(x){case m:return xc("Suspense");case _:return xc("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return sp(x.render);case b:return Tc(x.type,U,me);case S:{var Ee=x,Qe=Ee._payload,Pt=Ee._init;try{return Tc(Pt(Qe),U,me)}catch(yt){}}}return""}var km={},Ef=j.ReactDebugCurrentFrame;function Rf(x){if(x){var U=x._owner,me=Tc(x.type,x._source,U?U.type:null);Ef.setExtraStackFrame(me)}else Ef.setExtraStackFrame(null)}function Tm(x,U,me,Ee,Qe){{var Pt=Function.call.bind(dr);for(var yt in x)if(Pt(x,yt)){var Zt=void 0;try{if(typeof x[yt]!="function"){var Tr=Error((Ee||"React class")+": "+me+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Tr.name="Invariant Violation",Tr}Zt=x[yt](U,yt,Ee,me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Zt=Ur}Zt&&!(Zt instanceof Error)&&(Rf(Qe),de("%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).",Ee||"React class",me,yt,typeof Zt),Rf(null)),Zt instanceof Error&&!(Zt.message in km)&&(km[Zt.message]=!0,Rf(Qe),de("Failed %s type: %s",me,Zt.message),Rf(null))}}}function Ec(x){if(x){var U=x._owner,me=Tc(x.type,x._source,U?U.type:null);ae(me)}else ae(null)}var Df;Df=!1;function Hr(){if(F.current){var x=Ut(F.current.type);if(x)return`
16
+ `),Wr=Zt.length-1,sa=Tr.length-1;Wr>=1&&sa>=0&&Zt[Wr]!==Tr[sa];)sa--;for(;Wr>=1&&sa>=0;Wr--,sa--)if(Zt[Wr]!==Tr[sa]){if(Wr!==1||sa!==1)do if(Wr--,sa--,sa<0||Zt[Wr]!==Tr[sa]){var ca=`
17
+ `+Zt[Wr].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&kc.set(x,ca),ca}while(Wr>=1&&sa>=0);break}}}finally{gl=!1,lp.current=It,ip(),Error.prepareStackTrace=Qe}var ma=x?x.displayName||x.name:"",Aa=ma?xc(ma):"";return typeof x=="function"&&kc.set(x,Aa),Aa}function sp(x,U,be){return xm(x,!1)}function W_(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function Tc(x,U,be){if(x==null)return"";if(typeof x=="function")return xm(x,W_(x));if(typeof x=="string")return xc(x);switch(x){case m:return xc("Suspense");case _:return xc("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return sp(x.render);case b:return Tc(x.type,U,be);case S:{var Ee=x,Qe=Ee._payload,It=Ee._init;try{return Tc(It(Qe),U,be)}catch(yt){}}}return""}var km={},Ef=H.ReactDebugCurrentFrame;function Rf(x){if(x){var U=x._owner,be=Tc(x.type,x._source,U?U.type:null);Ef.setExtraStackFrame(be)}else Ef.setExtraStackFrame(null)}function Tm(x,U,be,Ee,Qe){{var It=Function.call.bind(rr);for(var yt in x)if(It(x,yt)){var Zt=void 0;try{if(typeof x[yt]!="function"){var Tr=Error((Ee||"React class")+": "+be+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Tr.name="Invariant Violation",Tr}Zt=x[yt](U,yt,Ee,be,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Wr){Zt=Wr}Zt&&!(Zt instanceof Error)&&(Rf(Qe),fe("%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).",Ee||"React class",be,yt,typeof Zt),Rf(null)),Zt instanceof Error&&!(Zt.message in km)&&(km[Zt.message]=!0,Rf(Qe),fe("Failed %s type: %s",be,Zt.message),Rf(null))}}}function Ec(x){if(x){var U=x._owner,be=Tc(x.type,x._source,U?U.type:null);te(be)}else te(null)}var Df;Df=!1;function Vr(){if(F.current){var x=tr(F.current.type);if(x)return`
18
18
 
19
- Check the render method of \``+x+"`."}return""}function q_(x){if(x!==void 0){var U=x.fileName.replace(/^.*[\\\/]/,""),me=x.lineNumber;return`
19
+ Check the render method of \``+x+"`."}return""}function q_(x){if(x!==void 0){var U=x.fileName.replace(/^.*[\\\/]/,""),be=x.lineNumber;return`
20
20
 
21
- Check your code at `+U+":"+me+"."}return""}function Em(x){return x!=null?q_(x.__source):""}var rr={};function Rm(x){var U=Hr();if(!U){var me=typeof x=="string"?x:x.displayName||x.name;me&&(U=`
21
+ Check your code at `+U+":"+be+"."}return""}function Em(x){return x!=null?q_(x.__source):""}var ar={};function Rm(x){var U=Vr();if(!U){var be=typeof x=="string"?x:x.displayName||x.name;be&&(U=`
22
22
 
23
- Check the top-level render call using <`+me+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var me=Rm(U);if(!rr[me]){rr[me]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+Ut(x._owner.type)+"."),Ec(x),de('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),Ec(null)}}}function Rc(x,U){if(typeof x=="object"){if(Xe(x))for(var me=0;me<x.length;me++){var Ee=x[me];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Qe=N(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var Pt=Qe.call(x),yt;!(yt=Pt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Dc(x){{var U=x.type;if(U==null||typeof U=="string")return;var me;if(typeof U=="function")me=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))me=U.propTypes;else return;if(me){var Ee=Ut(U);Tm(me,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Df){Df=!0;var Qe=Ut(U);de("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&de("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Y_(x){{for(var U=Object.keys(x.props),me=0;me<U.length;me++){var Ee=U[me];if(Ee!=="children"&&Ee!=="key"){Ec(x),de("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Ec(null);break}}x.ref!==null&&(Ec(x),de("Invalid attribute `ref` supplied to `React.Fragment`."),Ec(null))}}function gn(x,U,me){var Ee=Ve(x);if(!Ee){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" 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 Pt=Em(U);Pt?Qe+=Pt:Qe+=Hr();var yt;x===null?yt="null":Xe(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(Ut(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,de("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Qe)}var Zt=ba.apply(this,arguments);if(Zt==null)return Zt;if(Ee)for(var Tr=2;Tr<arguments.length;Tr++)Rc(arguments[Tr],x);return x===l?Y_(Zt):Dc(Zt),Zt}var xa=!1;function $_(x){var U=gn.bind(null,x);return U.type=x,xa||(xa=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function _l(x,U,me){for(var Ee=ct.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)Rc(arguments[Qe],Ee.type);return Dc(Ee),Ee}function go(x,U){var me=M.transition;M.transition={};var Ee=M.transition;M.transition._updatedFibers=new Set;try{x()}finally{if(M.transition=me,me===null&&Ee._updatedFibers){var Qe=Ee._updatedFibers.size;Qe>10&&le("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."),Ee._updatedFibers.clear()}}}var zl=!1,Af=null;function cp(x){if(Af===null)try{var U=("require"+Math.random()).slice(0,7),me=Pg&&Pg[U];Af=me.call(Pg,"timers").setImmediate}catch(Ee){Af=function(Qe){zl===!1&&(zl=!0,typeof MessageChannel=="undefined"&&de("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 Pt=new MessageChannel;Pt.port1.onmessage=Qe,Pt.port2.postMessage(void 0)}}return Af(x)}var zs=0,up=!1;function Dm(x){{var U=zs;zs++,H.current===null&&(H.current=[]);var me=H.isBatchingLegacy,Ee;try{if(H.isBatchingLegacy=!0,Ee=x(),!me&&H.didScheduleLegacyUpdate){var Qe=H.current;Qe!==null&&(H.didScheduleLegacyUpdate=!1,Nf(Qe))}}catch(ha){throw Lf(U),ha}finally{H.isBatchingLegacy=me}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Pt=Ee,yt=!1,Zt={then:function(ha,Da){yt=!0,Pt.then(function(rn){Lf(U),zs===0?fp(rn,ha,Da):ha(rn)},function(rn){Lf(U),Da(rn)})}};return!up&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(up=!0,de("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 () => ...);"))}),Zt}else{var Tr=Ee;if(Lf(U),zs===0){var Ur=H.current;Ur!==null&&(Nf(Ur),H.current=null);var sa={then:function(ha,Da){H.current===null?(H.current=[],fp(Tr,ha,Da)):ha(Tr)}};return sa}else{var ca={then:function(ha,Da){ha(Tr)}};return ca}}}}function Lf(x){x!==zs-1&&de("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),zs=x}function fp(x,U,me){{var Ee=H.current;if(Ee!==null)try{Nf(Ee),cp(function(){Ee.length===0?(H.current=null,U(x)):fp(x,U,me)})}catch(Qe){me(Qe)}else U(x)}}var Ac=!1;function Nf(x){if(!Ac){Ac=!0;var U=0;try{for(;U<x.length;U++){var me=x[U];do me=me(!0);while(me!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Ac=!1}}}var Of=gn,Am=_l,Lm=$_,Nm={map:z,forEach:oe,count:G,toArray:ne,only:Oe};wr.Children=Nm,wr.Component=Se,wr.Fragment=l,wr.Profiler=f,wr.PureComponent=et,wr.StrictMode=s,wr.Suspense=m,wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,wr.act=Dm,wr.cloneElement=Am,wr.createContext=Pe,wr.createElement=Of,wr.createFactory=Lm,wr.createRef=$t,wr.forwardRef=re,wr.isValidElement=bt,wr.lazy=V,wr.memo=Be,wr.startTransition=go,wr.unstable_act=Dm,wr.useCallback=Ct,wr.useContext=q,wr.useDebugValue=Gr,wr.useDeferredValue=ia,wr.useEffect=ft,wr.useId=la,wr.useImperativeHandle=Wt,wr.useInsertionEffect=Ze,wr.useLayoutEffect=Ke,wr.useMemo=Et,wr.useReducer=Te,wr.useRef=He,wr.useState=pe,wr.useSyncExternalStore=Qa,wr.useTransition=qa,wr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var fr=Ue((G$,Kk)=>{"use strict";Kk.exports=Gk()});var Xk=Ue(fa=>{"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(ze,ct){var bt=ze.length;ze.push(ct),u(ze,ct,bt)}function s(ze){return ze.length===0?null:ze[0]}function f(ze){if(ze.length===0)return null;var ct=ze[0],bt=ze.pop();return bt!==ct&&(ze[0]=bt,h(ze,bt,0)),ct}function u(ze,ct,bt){for(var Gt=bt;Gt>0;){var Vt=Gt-1>>>1,Ar=ze[Vt];if(p(Ar,ct)>0)ze[Vt]=ct,ze[Gt]=Ar,Gt=Vt;else return}}function h(ze,ct,bt){for(var Gt=bt,Vt=ze.length,Ar=Vt>>>1;Gt<Ar;){var gr=(Gt+1)*2-1,$r=ze[gr],$=gr+1,P=ze[$];if(p($r,ct)<0)$<Vt&&p(P,$r)<0?(ze[Gt]=P,ze[$]=ct,Gt=$):(ze[Gt]=$r,ze[gr]=ct,Gt=gr);else if($<Vt&&p(P,ct)<0)ze[Gt]=P,ze[$]=ct,Gt=$;else return}}function p(ze,ct){var bt=ze.sortIndex-ct.sortIndex;return bt!==0?bt:ze.id-ct.id}var m=1,_=2,b=3,S=4,w=5;function k(ze,ct){}var A=typeof performance=="object"&&typeof performance.now=="function";if(A){var N=performance;fa.unstable_now=function(){return N.now()}}else{var Y=Date,M=Y.now();fa.unstable_now=function(){return Y.now()-M}}var H=1073741823,F=-1,Z=250,O=5e3,ae=1e4,_e=H,ee=[],ye=[],be=1,he=null,j=b,le=!1,de=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate!="undefined"?setImmediate:null,se=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var ct=s(ye);ct!==null;){if(ct.callback===null)f(ye);else if(ct.startTime<=ze)f(ye),ct.sortIndex=ct.expirationTime,l(ee,ct);else return;ct=s(ye)}}function Se(ze){if(B=!1,we(ze),!de)if(s(ee)!==null)de=!0,pa(je);else{var ct=s(ye);ct!==null&&kr(Se,ct.startTime-ze)}}function je(ze,ct){de=!1,B&&(B=!1,vr()),le=!0;var bt=j;try{if(a)try{return Ye(ze,ct)}catch(Vt){if(he!==null){var Gt=fa.unstable_now();he.isQueued=!1}throw Vt}else return Ye(ze,ct)}finally{he=null,j=bt,le=!1}}function Ye(ze,ct){var bt=ct;for(we(bt),he=s(ee);he!==null&&!r&&!(he.expirationTime>bt&&(!ze||dr()));){var Gt=he.callback;if(typeof Gt=="function"){he.callback=null,j=he.priorityLevel;var Vt=he.expirationTime<=bt,Ar=Gt(Vt);bt=fa.unstable_now(),typeof Ar=="function"?he.callback=Ar:he===s(ee)&&f(ee),we(bt)}else f(ee);he=s(ee)}if(he!==null)return!0;var gr=s(ye);return gr!==null&&kr(Se,gr.startTime-bt),!1}function Ge(ze,ct){switch(ze){case m:case _:case b:case S:case w:break;default:ze=b}var bt=j;j=ze;try{return ct()}finally{j=bt}}function rt(ze){var ct;switch(j){case m:case _:case b:ct=b;break;default:ct=j;break}var bt=j;j=ct;try{return ze()}finally{j=bt}}function et(ze){var ct=j;return function(){var bt=j;j=ct;try{return ze.apply(this,arguments)}finally{j=bt}}}function Nt(ze,ct,bt){var Gt=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Ar=bt.delay;typeof Ar=="number"&&Ar>0?Vt=Gt+Ar:Vt=Gt}else Vt=Gt;var gr;switch(ze){case m:gr=F;break;case _:gr=Z;break;case w:gr=_e;break;case S:gr=ae;break;case b:default:gr=O;break}var $r=Vt+gr,$={id:be++,callback:ct,priorityLevel:ze,startTime:Vt,expirationTime:$r,sortIndex:-1};return Vt>Gt?($.sortIndex=Vt,l(ye,$),s(ee)===null&&$===s(ye)&&(B?vr():B=!0,kr(Se,Vt-Gt))):($.sortIndex=$r,l(ee,$),!de&&!le&&(de=!0,pa(je))),$}function $t(){}function dt(){!de&&!le&&(de=!0,pa(je))}function Xe(){return s(ee)}function ke(ze){ze.callback=null}function ot(){return j}var kt=!1,Tt=null,wt=-1,tr=o,Ut=-1;function dr(){var ze=fa.unstable_now()-Ut;return!(ze<tr)}function na(){}function jr(ze){if(ze<0||ze>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ze>0?tr=Math.floor(1e3/ze):tr=o}var Yr=function(){if(Tt!==null){var ze=fa.unstable_now();Ut=ze;var ct=!0,bt=!0;try{bt=Tt(ct,ze)}finally{bt?xr():(kt=!1,Tt=null)}}else kt=!1},xr;if(typeof te=="function")xr=function(){te(Yr)};else if(typeof MessageChannel!="undefined"){var pr=new MessageChannel,br=pr.port2;pr.port1.onmessage=Yr,xr=function(){br.postMessage(null)}}else xr=function(){W(Yr,0)};function pa(ze){Tt=ze,kt||(kt=!0,xr())}function kr(ze,ct){wt=W(function(){ze(fa.unstable_now())},ct)}function vr(){ie(wt),wt=-1}var Pr=na,ba=null;fa.unstable_IdlePriority=w,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=ba,fa.unstable_UserBlockingPriority=_,fa.unstable_cancelCallback=ke,fa.unstable_continueExecution=dt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=ot,fa.unstable_getFirstCallbackNode=Xe,fa.unstable_next=rt,fa.unstable_pauseExecution=$t,fa.unstable_requestPaint=Pr,fa.unstable_runWithPriority=Ge,fa.unstable_scheduleCallback=Nt,fa.unstable_shouldYield=dr,fa.unstable_wrapCallback=et,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Jk=Ue((X$,Qk)=>{"use strict";Qk.exports=Xk()});var Zk=Ue(Wo=>{"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=Jk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(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 u(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,c=i.getStackAddendum();c!==""&&(t+="%s",n=n.concat([c]));var d=n.map(function(g){return String(g)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,_=2,b=3,S=4,w=5,k=6,A=7,N=8,Y=9,M=10,H=11,F=12,Z=13,O=14,ae=15,_e=16,ee=17,ye=18,be=19,he=21,j=22,le=23,de=24,B=25,W=!0,ie=!1,te=!1,se=!1,we=!1,Se=!0,je=!1,Ye=!0,Ge=!0,rt=!0,et=!0,Nt=new Set,$t={},dt={};function Xe(e,t){ke(e,t),ke(e+"Capture",t)}function ke(e,t){$t[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$t[e]=t;{var n=e.toLowerCase();dt[n]=e,e==="onDoubleClick"&&(dt.ondblclick=e)}for(var i=0;i<t.length;i++)Nt.add(t[i])}var ot=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",kt=Object.prototype.hasOwnProperty;function Tt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function wt(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function Ut(e,t){if(wt(e))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function dr(e){if(wt(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function na(e,t){if(wt(e))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function jr(e,t){if(wt(e))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function Yr(e){if(wt(e))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function xr(e){if(wt(e))return u("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.",Tt(e)),tr(e)}var pr=0,br=1,pa=2,kr=3,vr=4,Pr=5,ba=6,ze=":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",ct=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+ze+"]["+ct+"]*$"),Gt={},Vt={};function Ar(e){return kt.call(Vt,e)?!0:kt.call(Gt,e)?!1:bt.test(e)?(Vt[e]=!0,!0):(Gt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function gr(e,t,n){return t!==null?t.type===pr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function $r(e,t,n,i){if(n!==null&&n.type===pr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||$r(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case kr:return!t;case vr:return t===!1;case Pr:return isNaN(t);case ba:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,c,d,g){this.acceptsBooleans=t===pa||t===kr||t===vr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=g}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,pr,!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];z[t]=new R(t,br,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,pa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,pa,!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){z[e]=new R(e,kr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,kr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,ba,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var oe=/[\-\:]([a-z])/g,ne=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(oe,ne);z[t]=new R(t,br,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",br,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\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,Me=!1;function We(e){!Me&&Pe.test(e)&&(Me=!0,u("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 Ae(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{Ut(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,g=null;if(i.type===vr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===kr)return n;g=e.getAttribute(d)}return $(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function Je(e,t,n,i){{if(!Ar(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return Ut(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!gr(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Ar(t)){var d=t;n===null?e.removeAttribute(d):(Ut(n,t),e.setAttribute(d,""+n))}return}var g=c.mustUseProperty;if(g){var y=c.propertyName;if(n===null){var C=c.type;e[y]=C===kr?!1:""}else e[y]=n;return}var E=c.attributeName,L=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var J=c.type,Q;J===kr||J===vr&&n===!0?Q="":(Ut(n,E),Q=""+n,c.sanitizeURL&&We(Q.toString())),L?e.setAttributeNS(L,E,Q):e.setAttribute(E,Q)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),Gr=Symbol.for("react.cache"),qa=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function Qa(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Ot=Object.assign,qn=0,us,fs,Jt,oa,tn,Kr,Yn;function Su(){}Su.__reactDisabledLog=!0;function ip(){{if(qn===0){us=console.log,fs=console.info,Jt=console.warn,oa=console.error,tn=console.group,Kr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Su,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function lp(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},e,{value:us}),info:Ot({},e,{value:fs}),warn:Ot({},e,{value:Jt}),error:Ot({},e,{value:oa}),group:Ot({},e,{value:tn}),groupCollapsed:Ot({},e,{value:Kr}),groupEnd:Ot({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wu=o.ReactCurrentDispatcher,xc;function gl(e,t,n){{if(xc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);xc=i&&i[1]||""}return`
24
- `+xc+e}}var kc=!1,Tf;{var xm=typeof WeakMap=="function"?WeakMap:Map;Tf=new xm}function sp(e,t){if(!e||kc)return"";{var n=Tf.get(e);if(n!==void 0)return n}var i;kc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=wu.current,wu.current=null,ip();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(ge){i=ge}Reflect.construct(e,[],g)}else{try{g.call()}catch(ge){i=ge}e.call(g.prototype)}}else{try{throw Error()}catch(ge){i=ge}e()}}catch(ge){if(ge&&i&&typeof ge.stack=="string"){for(var y=ge.stack.split(`
23
+ Check the top-level render call using <`+be+">.")}return U}function zn(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var be=Rm(U);if(!ar[be]){ar[be]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+tr(x._owner.type)+"."),Ec(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',be,Ee),Ec(null)}}}function Rc(x,U){if(typeof x=="object"){if(Ge(x))for(var be=0;be<x.length;be++){var Ee=x[be];bt(Ee)&&zn(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Qe=N(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var It=Qe.call(x),yt;!(yt=It.next()).done;)bt(yt.value)&&zn(yt.value,U)}}}function Dc(x){{var U=x.type;if(U==null||typeof U=="string")return;var be;if(typeof U=="function")be=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))be=U.propTypes;else return;if(be){var Ee=tr(U);Tm(be,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Df){Df=!0;var Qe=tr(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Y_(x){{for(var U=Object.keys(x.props),be=0;be<U.length;be++){var Ee=U[be];if(Ee!=="children"&&Ee!=="key"){Ec(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Ec(null);break}}x.ref!==null&&(Ec(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Ec(null))}}function gn(x,U,be){var Ee=Ve(x);if(!Ee){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" 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 It=Em(U);It?Qe+=It:Qe+=Vr();var yt;x===null?yt="null":Ge(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(tr(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Qe)}var Zt=ba.apply(this,arguments);if(Zt==null)return Zt;if(Ee)for(var Tr=2;Tr<arguments.length;Tr++)Rc(arguments[Tr],x);return x===l?Y_(Zt):Dc(Zt),Zt}var ka=!1;function $_(x){var U=gn.bind(null,x);return U.type=x,ka||(ka=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function _l(x,U,be){for(var Ee=ct.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)Rc(arguments[Qe],Ee.type);return Dc(Ee),Ee}function _o(x,U){var be=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=be,be===null&&Ee._updatedFibers){var Qe=Ee._updatedFibers.size;Qe>10&&le("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."),Ee._updatedFibers.clear()}}}var zl=!1,Af=null;function cp(x){if(Af===null)try{var U=("require"+Math.random()).slice(0,7),be=Pg&&Pg[U];Af=be.call(Pg,"timers").setImmediate}catch(Ee){Af=function(Qe){zl===!1&&(zl=!0,typeof MessageChannel=="undefined"&&fe("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 It=new MessageChannel;It.port1.onmessage=Qe,It.port2.postMessage(void 0)}}return Af(x)}var zs=0,up=!1;function Dm(x){{var U=zs;zs++,j.current===null&&(j.current=[]);var be=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!be&&j.didScheduleLegacyUpdate){var Qe=j.current;Qe!==null&&(j.didScheduleLegacyUpdate=!1,Nf(Qe))}}catch(ma){throw Lf(U),ma}finally{j.isBatchingLegacy=be}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var It=Ee,yt=!1,Zt={then:function(ma,Aa){yt=!0,It.then(function(rn){Lf(U),zs===0?fp(rn,ma,Aa):ma(rn)},function(rn){Lf(U),Aa(rn)})}};return!up&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(up=!0,fe("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 () => ...);"))}),Zt}else{var Tr=Ee;if(Lf(U),zs===0){var Wr=j.current;Wr!==null&&(Nf(Wr),j.current=null);var sa={then:function(ma,Aa){j.current===null?(j.current=[],fp(Tr,ma,Aa)):ma(Tr)}};return sa}else{var ca={then:function(ma,Aa){ma(Tr)}};return ca}}}}function Lf(x){x!==zs-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),zs=x}function fp(x,U,be){{var Ee=j.current;if(Ee!==null)try{Nf(Ee),cp(function(){Ee.length===0?(j.current=null,U(x)):fp(x,U,be)})}catch(Qe){be(Qe)}else U(x)}}var Ac=!1;function Nf(x){if(!Ac){Ac=!0;var U=0;try{for(;U<x.length;U++){var be=x[U];do be=be(!0);while(be!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Ac=!1}}}var Of=gn,Am=_l,Lm=$_,Nm={map:z,forEach:oe,count:G,toArray:ne,only:Oe};wr.Children=Nm,wr.Component=ge,wr.Fragment=l,wr.Profiler=f,wr.PureComponent=dt,wr.StrictMode=s,wr.Suspense=m,wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,wr.act=Dm,wr.cloneElement=Am,wr.createContext=Pe,wr.createElement=Of,wr.createFactory=Lm,wr.createRef=$t,wr.forwardRef=ae,wr.isValidElement=bt,wr.lazy=V,wr.memo=Be,wr.startTransition=_o,wr.unstable_act=Dm,wr.useCallback=Ct,wr.useContext=Y,wr.useDebugValue=Xr,wr.useDeferredValue=ia,wr.useEffect=ft,wr.useId=la,wr.useImperativeHandle=Wt,wr.useInsertionEffect=Ze,wr.useLayoutEffect=Xe,wr.useMemo=Tt,wr.useReducer=Te,wr.useRef=He,wr.useState=me,wr.useSyncExternalStore=Qa,wr.useTransition=qa,wr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var dr=Ue((G$,Kk)=>{"use strict";Kk.exports=Gk()});var Xk=Ue(fa=>{"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(ze,ct){var bt=ze.length;ze.push(ct),u(ze,ct,bt)}function s(ze){return ze.length===0?null:ze[0]}function f(ze){if(ze.length===0)return null;var ct=ze[0],bt=ze.pop();return bt!==ct&&(ze[0]=bt,h(ze,bt,0)),ct}function u(ze,ct,bt){for(var Gt=bt;Gt>0;){var Vt=Gt-1>>>1,Ar=ze[Vt];if(p(Ar,ct)>0)ze[Vt]=ct,ze[Gt]=Ar,Gt=Vt;else return}}function h(ze,ct,bt){for(var Gt=bt,Vt=ze.length,Ar=Vt>>>1;Gt<Ar;){var gr=(Gt+1)*2-1,Kr=ze[gr],$=gr+1,P=ze[$];if(p(Kr,ct)<0)$<Vt&&p(P,Kr)<0?(ze[Gt]=P,ze[$]=ct,Gt=$):(ze[Gt]=Kr,ze[gr]=ct,Gt=gr);else if($<Vt&&p(P,ct)<0)ze[Gt]=P,ze[$]=ct,Gt=$;else return}}function p(ze,ct){var bt=ze.sortIndex-ct.sortIndex;return bt!==0?bt:ze.id-ct.id}var m=1,_=2,b=3,S=4,w=5;function k(ze,ct){}var R=typeof performance=="object"&&typeof performance.now=="function";if(R){var N=performance;fa.unstable_now=function(){return N.now()}}else{var W=Date,O=W.now();fa.unstable_now=function(){return W.now()-O}}var j=1073741823,F=-1,Q=250,M=5e3,te=1e4,_e=j,ee=[],de=[],pe=1,ve=null,H=b,le=!1,fe=!1,B=!1,q=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,re=typeof setImmediate!="undefined"?setImmediate:null,he=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var ct=s(de);ct!==null;){if(ct.callback===null)f(de);else if(ct.startTime<=ze)f(de),ct.sortIndex=ct.expirationTime,l(ee,ct);else return;ct=s(de)}}function ge(ze){if(B=!1,we(ze),!fe)if(s(ee)!==null)fe=!0,ha(je);else{var ct=s(de);ct!==null&&kr(ge,ct.startTime-ze)}}function je(ze,ct){fe=!1,B&&(B=!1,vr()),le=!0;var bt=H;try{if(a)try{return We(ze,ct)}catch(Vt){if(ve!==null){var Gt=fa.unstable_now();ve.isQueued=!1}throw Vt}else return We(ze,ct)}finally{ve=null,H=bt,le=!1}}function We(ze,ct){var bt=ct;for(we(bt),ve=s(ee);ve!==null&&!r&&!(ve.expirationTime>bt&&(!ze||rr()));){var Gt=ve.callback;if(typeof Gt=="function"){ve.callback=null,H=ve.priorityLevel;var Vt=ve.expirationTime<=bt,Ar=Gt(Vt);bt=fa.unstable_now(),typeof Ar=="function"?ve.callback=Ar:ve===s(ee)&&f(ee),we(bt)}else f(ee);ve=s(ee)}if(ve!==null)return!0;var gr=s(de);return gr!==null&&kr(ge,gr.startTime-bt),!1}function Ke(ze,ct){switch(ze){case m:case _:case b:case S:case w:break;default:ze=b}var bt=H;H=ze;try{return ct()}finally{H=bt}}function tt(ze){var ct;switch(H){case m:case _:case b:ct=b;break;default:ct=H;break}var bt=H;H=ct;try{return ze()}finally{H=bt}}function dt(ze){var ct=H;return function(){var bt=H;H=ct;try{return ze.apply(this,arguments)}finally{H=bt}}}function lt(ze,ct,bt){var Gt=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Ar=bt.delay;typeof Ar=="number"&&Ar>0?Vt=Gt+Ar:Vt=Gt}else Vt=Gt;var gr;switch(ze){case m:gr=F;break;case _:gr=Q;break;case w:gr=_e;break;case S:gr=te;break;case b:default:gr=M;break}var Kr=Vt+gr,$={id:pe++,callback:ct,priorityLevel:ze,startTime:Vt,expirationTime:Kr,sortIndex:-1};return Vt>Gt?($.sortIndex=Vt,l(de,$),s(ee)===null&&$===s(de)&&(B?vr():B=!0,kr(ge,Vt-Gt))):($.sortIndex=Kr,l(ee,$),!fe&&!le&&(fe=!0,ha(je))),$}function $t(){}function Pt(){!fe&&!le&&(fe=!0,ha(je))}function Ge(){return s(ee)}function Ce(ze){ze.callback=null}function st(){return H}var wt=!1,kt=null,Nt=-1,At=o,tr=-1;function rr(){var ze=fa.unstable_now()-tr;return!(ze<At)}function Fr(){}function Ur(ze){if(ze<0||ze>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ze>0?At=Math.floor(1e3/ze):At=o}var Gr=function(){if(kt!==null){var ze=fa.unstable_now();tr=ze;var ct=!0,bt=!0;try{bt=kt(ct,ze)}finally{bt?xr():(wt=!1,kt=null)}}else wt=!1},xr;if(typeof re=="function")xr=function(){re(Gr)};else if(typeof MessageChannel!="undefined"){var pr=new MessageChannel,br=pr.port2;pr.port1.onmessage=Gr,xr=function(){br.postMessage(null)}}else xr=function(){q(Gr,0)};function ha(ze){kt=ze,wt||(wt=!0,xr())}function kr(ze,ct){Nt=q(function(){ze(fa.unstable_now())},ct)}function vr(){ie(Nt),Nt=-1}var Ir=Fr,ba=null;fa.unstable_IdlePriority=w,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=ba,fa.unstable_UserBlockingPriority=_,fa.unstable_cancelCallback=Ce,fa.unstable_continueExecution=Pt,fa.unstable_forceFrameRate=Ur,fa.unstable_getCurrentPriorityLevel=st,fa.unstable_getFirstCallbackNode=Ge,fa.unstable_next=tt,fa.unstable_pauseExecution=$t,fa.unstable_requestPaint=Ir,fa.unstable_runWithPriority=Ke,fa.unstable_scheduleCallback=lt,fa.unstable_shouldYield=rr,fa.unstable_wrapCallback=dt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Jk=Ue((X$,Qk)=>{"use strict";Qk.exports=Xk()});var Zk=Ue(Wo=>{"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=dr(),a=Jk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(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 u(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,c=i.getStackAddendum();c!==""&&(t+="%s",n=n.concat([c]));var d=n.map(function(g){return String(g)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,_=2,b=3,S=4,w=5,k=6,R=7,N=8,W=9,O=10,j=11,F=12,Q=13,M=14,te=15,_e=16,ee=17,de=18,pe=19,ve=21,H=22,le=23,fe=24,B=25,q=!0,ie=!1,re=!1,he=!1,we=!1,ge=!0,je=!1,We=!0,Ke=!0,tt=!0,dt=!0,lt=new Set,$t={},Pt={};function Ge(e,t){Ce(e,t),Ce(e+"Capture",t)}function Ce(e,t){$t[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$t[e]=t;{var n=e.toLowerCase();Pt[n]=e,e==="onDoubleClick"&&(Pt.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var st=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",wt=Object.prototype.hasOwnProperty;function kt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Nt(e){try{return At(e),!1}catch(t){return!0}}function At(e){return""+e}function tr(e,t){if(Nt(e))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,kt(e)),At(e)}function rr(e){if(Nt(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kt(e)),At(e)}function Fr(e,t){if(Nt(e))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,kt(e)),At(e)}function Ur(e,t){if(Nt(e))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,kt(e)),At(e)}function Gr(e){if(Nt(e))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",kt(e)),At(e)}function xr(e){if(Nt(e))return u("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.",kt(e)),At(e)}var pr=0,br=1,ha=2,kr=3,vr=4,Ir=5,ba=6,ze=":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",ct=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+ze+"]["+ct+"]*$"),Gt={},Vt={};function Ar(e){return wt.call(Vt,e)?!0:wt.call(Gt,e)?!1:bt.test(e)?(Vt[e]=!0,!0):(Gt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function gr(e,t,n){return t!==null?t.type===pr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Kr(e,t,n,i){if(n!==null&&n.type===pr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Kr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case kr:return!t;case vr:return t===!1;case Ir:return isNaN(t);case ba:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function D(e,t,n,i,c,d,g){this.acceptsBooleans=t===ha||t===kr||t===vr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=g}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new D(e,pr,!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];z[t]=new D(t,br,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new D(e,ha,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new D(e,ha,!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){z[e]=new D(e,kr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new D(e,kr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new D(e,vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new D(e,ba,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new D(e,Ir,!1,e.toLowerCase(),null,!1,!1)});var oe=/[\-\:]([a-z])/g,ne=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(oe,ne);z[t]=new D(t,br,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new D(t,br,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new D(t,br,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new D(e,br,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new D("xlinkHref",br,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new D(e,br,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\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,Me=!1;function qe(e){!Me&&Pe.test(e)&&(Me=!0,u("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 Ae(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{tr(n,t),i.sanitizeURL&&qe(""+n);var d=i.attributeName,g=null;if(i.type===vr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===kr)return n;g=e.getAttribute(d)}return $(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function Je(e,t,n,i){{if(!Ar(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return tr(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!gr(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Ar(t)){var d=t;n===null?e.removeAttribute(d):(tr(n,t),e.setAttribute(d,""+n))}return}var g=c.mustUseProperty;if(g){var y=c.propertyName;if(n===null){var C=c.type;e[y]=C===kr?!1:""}else e[y]=n;return}var E=c.attributeName,L=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=c.type,J;Z===kr||Z===vr&&n===!0?J="":(tr(n,E),J=""+n,c.sanitizeURL&&qe(J.toString())),L?e.setAttributeNS(L,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),Y=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Xe=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),Tt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),Xr=Symbol.for("react.cache"),qa=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function Qa(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Ot=Object.assign,Yn=0,us,fs,Jt,oa,tn,Qr,$n;function Su(){}Su.__reactDisabledLog=!0;function ip(){{if(Yn===0){us=console.log,fs=console.info,Jt=console.warn,oa=console.error,tn=console.group,Qr=console.groupCollapsed,$n=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Su,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Yn++}}function lp(){{if(Yn--,Yn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},e,{value:us}),info:Ot({},e,{value:fs}),warn:Ot({},e,{value:Jt}),error:Ot({},e,{value:oa}),group:Ot({},e,{value:tn}),groupCollapsed:Ot({},e,{value:Qr}),groupEnd:Ot({},e,{value:$n})})}Yn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wu=o.ReactCurrentDispatcher,xc;function gl(e,t,n){{if(xc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);xc=i&&i[1]||""}return`
24
+ `+xc+e}}var kc=!1,Tf;{var xm=typeof WeakMap=="function"?WeakMap:Map;Tf=new xm}function sp(e,t){if(!e||kc)return"";{var n=Tf.get(e);if(n!==void 0)return n}var i;kc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=wu.current,wu.current=null,ip();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(Se){i=Se}Reflect.construct(e,[],g)}else{try{g.call()}catch(Se){i=Se}e.call(g.prototype)}}else{try{throw Error()}catch(Se){i=Se}e()}}catch(Se){if(Se&&i&&typeof Se.stack=="string"){for(var y=Se.stack.split(`
25
25
  `),C=i.stack.split(`
26
- `),E=y.length-1,L=C.length-1;E>=1&&L>=0&&y[E]!==C[L];)L--;for(;E>=1&&L>=0;E--,L--)if(y[E]!==C[L]){if(E!==1||L!==1)do if(E--,L--,L<0||y[E]!==C[L]){var J=`
27
- `+y[E].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),typeof e=="function"&&Tf.set(e,J),J}while(E>=1&&L>=0);break}}}finally{kc=!1,wu.current=d,lp(),Error.prepareStackTrace=c}var Q=e?e.displayName||e.name:"",ve=Q?gl(Q):"";return typeof e=="function"&&Tf.set(e,ve),ve}function W_(e,t,n){return sp(e,!0)}function Tc(e,t,n){return sp(e,!1)}function km(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ef(e,t,n){if(e==null)return"";if(typeof e=="function")return sp(e,km(e));if(typeof e=="string")return gl(e);switch(e){case Te:return gl("Suspense");case He:return gl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return Tc(e.render);case ft:return Ef(e.type,t,n);case Ze:{var i=e,c=i._payload,d=i._init;try{return Ef(d(c),t,n)}catch(g){}}}return""}function Rf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return gl(e.type);case _e:return gl("Lazy");case Z:return gl("Suspense");case be:return gl("SuspenseList");case p:case _:case ae:return Tc(e.type);case H:return Tc(e.type.render);case m:return W_(e.type);default:return""}}function Tm(e){try{var t="",n=e;do t+=Rf(n),n=n.return;while(n);return t}catch(i){return`
26
+ `),E=y.length-1,L=C.length-1;E>=1&&L>=0&&y[E]!==C[L];)L--;for(;E>=1&&L>=0;E--,L--)if(y[E]!==C[L]){if(E!==1||L!==1)do if(E--,L--,L<0||y[E]!==C[L]){var Z=`
27
+ `+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Tf.set(e,Z),Z}while(E>=1&&L>=0);break}}}finally{kc=!1,wu.current=d,lp(),Error.prepareStackTrace=c}var J=e?e.displayName||e.name:"",ye=J?gl(J):"";return typeof e=="function"&&Tf.set(e,ye),ye}function W_(e,t,n){return sp(e,!0)}function Tc(e,t,n){return sp(e,!1)}function km(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ef(e,t,n){if(e==null)return"";if(typeof e=="function")return sp(e,km(e));if(typeof e=="string")return gl(e);switch(e){case Te:return gl("Suspense");case He:return gl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case me:return Tc(e.render);case ft:return Ef(e.type,t,n);case Ze:{var i=e,c=i._payload,d=i._init;try{return Ef(d(c),t,n)}catch(g){}}}return""}function Rf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return gl(e.type);case _e:return gl("Lazy");case Q:return gl("Suspense");case pe:return gl("SuspenseList");case p:case _:case te:return Tc(e.type);case j:return Tc(e.type.render);case m:return W_(e.type);default:return""}}function Tm(e){try{var t="",n=e;do t+=Rf(n),n=n.return;while(n);return t}catch(i){return`
28
28
  Error generating stack: `+i.message+`
29
- `+i.stack}}function Ec(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Df(e){return e.displayName||"Context"}function Hr(e){if(e==null)return null;if(typeof e.tag=="number"&&u("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 re:return"Portal";case Be:return"Profiler";case Ve:return"StrictMode";case Te:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Df(t)+".Consumer";case D:var n=e;return Df(n._context)+".Provider";case pe:return Ec(e,e.render,"ForwardRef");case ft:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Ze:{var c=e,d=c._payload,g=c._init;try{return Hr(g(d))}catch(y){return null}}}return null}function q_(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Em(e){return e.displayName||"Context"}function rr(e){var t=e.tag,n=e.type;switch(t){case de:return"Cache";case Y:var i=n;return Em(i)+".Consumer";case M:var c=n;return Em(c._context)+".Provider";case ye:return"DehydratedFragment";case H:return q_(n,n.render,"ForwardRef");case A:return"Fragment";case w:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case _e:return Hr(n);case N:return n===Ve?"StrictMode":"Mode";case j:return"Offscreen";case F:return"Profiler";case he:return"Scope";case Z:return"Suspense";case be:return"SuspenseList";case B:return"TracingMarker";case m:case p:case ee:case _:case O:case ae:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Rm=o.ReactDebugCurrentFrame,In=null,Rc=!1;function Dc(){{if(In===null)return null;var e=In._debugOwner;if(e!==null&&typeof e!="undefined")return rr(e)}return null}function Y_(){return In===null?"":Tm(In)}function gn(){Rm.getCurrentStack=null,In=null,Rc=!1}function xa(e){Rm.getCurrentStack=e===null?null:Y_,In=e,Rc=!1}function $_(){return In}function _l(e){Rc=e}function go(e){return""+e}function zl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return xr(e),e;default:return""}}var Af={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function cp(e,t){Af[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||u("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||u("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 zs(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function up(e){return e._valueTracker}function Dm(e){e._valueTracker=null}function Lf(e){var t="";return e&&(zs(e)?t=e.checked?"true":"false":t=e.value),t}function fp(e){var t=zs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);xr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var c=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(y){xr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return i},setValue:function(y){xr(y),i=""+y},stopTracking:function(){Dm(e),delete e[t]}};return g}}function Ac(e){up(e)||(e._valueTracker=fp(e))}function Nf(e){if(!e)return!1;var t=up(e);if(!t)return!0;var n=t.getValue(),i=Lf(e);return i!==n?(t.setValue(i),!0):!1}function Of(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 Am=!1,Lm=!1,Nm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function me(e,t){var n=e,i=t.checked,c=Ot({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Ee(e,t){cp("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Lm&&(u("%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",Dc()||"A component",t.type),Lm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Am&&(u("%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",Dc()||"A component",t.type),Am=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:zl(t.value!=null?t.value:i),controlled:U(t)}}function Qe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Pt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(u("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"),x=!0),n._wrapperState.controlled&&!i&&!Nm&&(u("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"),Nm=!0)}Qe(e,t);var c=zl(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=go(c)):n.value!==go(c)&&(n.value=go(c));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,c):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,zl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function yt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,d=c==="submit"||c==="reset";if(d&&(t.value===void 0||t.value===null))return;var g=go(i._wrapperState.initialValue);n||g!==i.value&&(i.value=g),i.defaultValue=g}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Zt(e,t){var n=e;Pt(n,t),Tr(n,t)}function Tr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;Ut(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<c.length;d++){var g=c[d];if(!(g===e||g.form!==e.form)){var y=bv(g);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Nf(g),Pt(g,y)}}}}function Ur(e,t,n){(t!=="number"||Of(e.ownerDocument)!==e)&&(n==null?e.defaultValue=go(e._wrapperState.initialValue):e.defaultValue!==go(n)&&(e.defaultValue=go(n)))}var sa=!1,ca=!1,ha=!1;function Da(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"||ca||(ca=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ha||(ha=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!sa&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sa=!0)}function rn(e,t){t.value!=null&&e.setAttribute("value",go(zl(t.value)))}var Mf=Array.isArray;function an(e){return Mf(e)}var Pf;Pf=!1;function Om(){var e=Dc();return e?`
29
+ `+i.stack}}function Ec(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Df(e){return e.displayName||"Context"}function Vr(e){if(e==null)return null;if(typeof e.tag=="number"&&u("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 se:return"Fragment";case ae:return"Portal";case Be:return"Profiler";case Ve:return"StrictMode";case Te:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y:var t=e;return Df(t)+".Consumer";case A:var n=e;return Df(n._context)+".Provider";case me:return Ec(e,e.render,"ForwardRef");case ft:var i=e.displayName||null;return i!==null?i:Vr(e.type)||"Memo";case Ze:{var c=e,d=c._payload,g=c._init;try{return Vr(g(d))}catch(y){return null}}}return null}function q_(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Em(e){return e.displayName||"Context"}function ar(e){var t=e.tag,n=e.type;switch(t){case fe:return"Cache";case W:var i=n;return Em(i)+".Consumer";case O:var c=n;return Em(c._context)+".Provider";case de:return"DehydratedFragment";case j:return q_(n,n.render,"ForwardRef");case R:return"Fragment";case w:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case _e:return Vr(n);case N:return n===Ve?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case ve:return"Scope";case Q:return"Suspense";case pe:return"SuspenseList";case B:return"TracingMarker";case m:case p:case ee:case _:case M:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Rm=o.ReactDebugCurrentFrame,zn=null,Rc=!1;function Dc(){{if(zn===null)return null;var e=zn._debugOwner;if(e!==null&&typeof e!="undefined")return ar(e)}return null}function Y_(){return zn===null?"":Tm(zn)}function gn(){Rm.getCurrentStack=null,zn=null,Rc=!1}function ka(e){Rm.getCurrentStack=e===null?null:Y_,zn=e,Rc=!1}function $_(){return zn}function _l(e){Rc=e}function _o(e){return""+e}function zl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return xr(e),e;default:return""}}var Af={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function cp(e,t){Af[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||u("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||u("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 zs(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function up(e){return e._valueTracker}function Dm(e){e._valueTracker=null}function Lf(e){var t="";return e&&(zs(e)?t=e.checked?"true":"false":t=e.value),t}function fp(e){var t=zs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);xr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var c=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(y){xr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return i},setValue:function(y){xr(y),i=""+y},stopTracking:function(){Dm(e),delete e[t]}};return g}}function Ac(e){up(e)||(e._valueTracker=fp(e))}function Nf(e){if(!e)return!1;var t=up(e);if(!t)return!0;var n=t.getValue(),i=Lf(e);return i!==n?(t.setValue(i),!0):!1}function Of(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 Am=!1,Lm=!1,Nm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function be(e,t){var n=e,i=t.checked,c=Ot({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Ee(e,t){cp("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Lm&&(u("%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",Dc()||"A component",t.type),Lm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Am&&(u("%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",Dc()||"A component",t.type),Am=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:zl(t.value!=null?t.value:i),controlled:U(t)}}function Qe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function It(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(u("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"),x=!0),n._wrapperState.controlled&&!i&&!Nm&&(u("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"),Nm=!0)}Qe(e,t);var c=zl(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=_o(c)):n.value!==_o(c)&&(n.value=_o(c));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Wr(n,t.type,c):t.hasOwnProperty("defaultValue")&&Wr(n,t.type,zl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function yt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,d=c==="submit"||c==="reset";if(d&&(t.value===void 0||t.value===null))return;var g=_o(i._wrapperState.initialValue);n||g!==i.value&&(i.value=g),i.defaultValue=g}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Zt(e,t){var n=e;It(n,t),Tr(n,t)}function Tr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;tr(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<c.length;d++){var g=c[d];if(!(g===e||g.form!==e.form)){var y=bv(g);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Nf(g),It(g,y)}}}}function Wr(e,t,n){(t!=="number"||Of(e.ownerDocument)!==e)&&(n==null?e.defaultValue=_o(e._wrapperState.initialValue):e.defaultValue!==_o(n)&&(e.defaultValue=_o(n)))}var sa=!1,ca=!1,ma=!1;function Aa(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"||ca||(ca=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ma||(ma=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!sa&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sa=!0)}function rn(e,t){t.value!=null&&e.setAttribute("value",_o(zl(t.value)))}var Mf=Array.isArray;function an(e){return Mf(e)}var Pf;Pf=!1;function Om(){var e=Dc();return e?`
30
30
 
31
- Check the render method of \``+e+"`.":""}var dp=["value","defaultValue"];function G_(e){{cp("select",e);for(var t=0;t<dp.length;t++){var n=dp[t];if(e[n]!=null){var i=an(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Om()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Om())}}}}function Bs(e,t,n,i){var c=e.options;if(t){for(var d=n,g={},y=0;y<d.length;y++)g["$"+d[y]]=!0;for(var C=0;C<c.length;C++){var E=g.hasOwnProperty("$"+c[C].value);c[C].selected!==E&&(c[C].selected=E),E&&i&&(c[C].defaultSelected=!0)}}else{for(var L=go(zl(n)),J=null,Q=0;Q<c.length;Q++){if(c[Q].value===L){c[Q].selected=!0,i&&(c[Q].defaultSelected=!0);return}J===null&&!c[Q].disabled&&(J=c[Q])}J!==null&&(J.selected=!0)}}function pp(e,t){return Ot({},t,{value:void 0})}function Fw(e,t){var n=e;G_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Pf&&(u("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"),Pf=!0)}function ZM(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Bs(n,!!t.multiple,i,!1):t.defaultValue!=null&&Bs(n,!!t.multiple,t.defaultValue,!0)}function eP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Bs(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Bs(n,!!t.multiple,t.defaultValue,!0):Bs(n,!!t.multiple,t.multiple?[]:"",!1))}function tP(e,t){var n=e,i=t.value;i!=null&&Bs(n,!!t.multiple,i,!1)}var jw=!1;function K_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Ot({},t,{value:void 0,defaultValue:void 0,children:go(n._wrapperState.initialValue)});return i}function Hw(e,t){var n=e;cp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!jw&&(u("%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",Dc()||"A component"),jw=!0);var i=t.value;if(i==null){var c=t.children,d=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(an(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}d=c}}d==null&&(d=""),i=d}n._wrapperState={initialValue:zl(i)}}function Uw(e,t){var n=e,i=zl(t.value),c=zl(t.defaultValue);if(i!=null){var d=go(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=go(c))}function Vw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function rP(e,t){Uw(e,t)}var Fs="http://www.w3.org/1999/xhtml",aP="http://www.w3.org/1998/Math/MathML",X_="http://www.w3.org/2000/svg";function Q_(e){switch(e){case"svg":return X_;case"math":return aP;default:return Fs}}function J_(e,t){return e==null||e===Fs?Q_(t):e===X_&&t==="foreignObject"?Fs:e}var nP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Mm,Ww=nP(function(e,t){if(e.namespaceURI===X_&&!("innerHTML"in e)){Mm=Mm||document.createElement("div"),Mm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Mm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),_o=1,js=3,Ja=8,Hs=9,Z_=11,Pm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===js){n.nodeValue=t;return}}e.textContent=t},oP={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"]},hp={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 iP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var lP=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){lP.forEach(function(t){hp[iP(t,e)]=hp[e]})});function eb(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(hp.hasOwnProperty(e)&&hp[e])?t+"px":(jr(t,e),(""+t).trim())}var sP=/([A-Z])/g,cP=/^ms-/;function uP(e){return e.replace(sP,"-$1").toLowerCase().replace(cP,"-ms-")}var qw=function(){};{var fP=/^(?:webkit|moz|o)[A-Z]/,dP=/^-ms-/,pP=/-(.)/g,Yw=/;\s*$/,If={},tb={},$w=!1,Gw=!1,hP=function(e){return e.replace(pP,function(t,n){return n.toUpperCase()})},mP=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,hP(e.replace(dP,"ms-"))))},vP=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},gP=function(e,t){tb.hasOwnProperty(t)&&tb[t]||(tb[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Yw,"")))},_P=function(e,t){$w||($w=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},bP=function(e,t){Gw||(Gw=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};qw=function(e,t){e.indexOf("-")>-1?mP(e):fP.test(e)?vP(e):Yw.test(t)&&gP(e,t),typeof t=="number"&&(isNaN(t)?_P(e,t):isFinite(t)||bP(e,t))}}var yP=qw;function SP(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var d=i.indexOf("--")===0;t+=n+(d?i:uP(i))+":",t+=eb(i,c,d),n=";"}}return t||null}}function Kw(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||yP(i,t[i]);var d=eb(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function wP(e){return e==null||typeof e=="boolean"||e===""}function Xw(e){var t={};for(var n in e)for(var i=oP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function CP(e,t){{if(!t)return;var n=Xw(e),i=Xw(t),c={};for(var d in n){var g=n[d],y=i[d];if(y&&g!==y){var C=g+","+y;if(c[C])continue;c[C]=!0,u("%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.",wP(e[g])?"Removing":"Updating",g,y)}}}}var xP={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},kP=Ot({menuitem:!0},xP),TP="__html";function rb(e,t){if(t){if(kP[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"||!(TP 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&&u("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 Cu(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 Im={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"},Qw={"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},zf={},EP=new RegExp("^(aria)-["+ct+"]*$"),RP=new RegExp("^(aria)[A-Z]["+ct+"]*$");function DP(e,t){{if(kt.call(zf,t)&&zf[t])return!0;if(RP.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Qw.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),zf[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),zf[t]=!0,!0}if(EP.test(t)){var c=t.toLowerCase(),d=Qw.hasOwnProperty(c)?c:null;if(d==null)return zf[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),zf[t]=!0,!0}}return!0}function AP(e,t){{var n=[];for(var i in t){var c=DP(e,i);c||n.push(i)}var d=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function LP(e,t){Cu(e,t)||AP(e,t)}var Jw=!1;function NP(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Jw&&(Jw=!0,e==="select"&&t.multiple?u("`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):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Zw=function(){};{var $n={},e3=/^on./,OP=/^on[^A-Z]/,MP=new RegExp("^(aria)-["+ct+"]*$"),PP=new RegExp("^(aria)[A-Z]["+ct+"]*$");Zw=function(e,t,n,i){if(kt.call($n,t)&&$n[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return u("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."),$n[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=g.hasOwnProperty(c)?g[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(e3.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(e3.test(t))return OP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(MP.test(t)||PP.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),$n[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),$n[t]=!0,!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),$n[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),$n[t]=!0,!0;var C=P(t),E=C!==null&&C.type===pr;if(Im.hasOwnProperty(c)){var L=Im[c];if(L!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,L),$n[t]=!0,!0}else if(!E&&t!==c)return u("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,c),$n[t]=!0,!0;return typeof n=="boolean"&&$r(t,n,C,!1)?(n?u('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):u('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),$n[t]=!0,!0):E?!0:$r(t,n,C,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===kr&&(u("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),$n[t]=!0),!0)}}var IP=function(e,t,n){{var i=[];for(var c in t){var d=Zw(e,c,t[c],n);d||i.push(c)}var g=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?u("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&&u("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 zP(e,t,n){Cu(e,t)||IP(e,t,n)}var t3=1,ab=2,mp=4,BP=t3|ab|mp,vp=null;function FP(e){vp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),vp=e}function jP(){vp===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),vp=null}function HP(e){return e===vp}function nb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===js?t.parentNode:t}var ob=null,Bf=null,Ff=null;function r3(e){var t=Bc(e);if(t){if(typeof ob!="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=bv(n);ob(t.stateNode,t.type,i)}}}function UP(e){ob=e}function a3(e){Bf?Ff?Ff.push(e):Ff=[e]:Bf=e}function VP(){return Bf!==null||Ff!==null}function n3(){if(Bf){var e=Bf,t=Ff;if(Bf=null,Ff=null,r3(e),t)for(var n=0;n<t.length;n++)r3(t[n])}}var o3=function(e,t){return e(t)},i3=function(){},ib=!1;function WP(){var e=VP();e&&(i3(),n3())}function l3(e,t,n){if(ib)return e(t,n);ib=!0;try{return o3(e,t,n)}finally{ib=!1,WP()}}function qP(e,t,n){o3=e,i3=n}function YP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function $P(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&&YP(t));default:return!1}}function gp(e,t){var n=e.stateNode;if(n===null)return null;var i=bv(n);if(i===null)return null;var c=i[t];if($P(t,e.type,i))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var lb=!1;if(ot)try{var _p={};Object.defineProperty(_p,"passive",{get:function(){lb=!0}}),window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){lb=!1}function s3(e,t,n,i,c,d,g,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(L){this.onError(L)}}var c3=s3;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var sb=document.createElement("react");c3=function(t,n,i,c,d,g,y,C,E){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 L=document.createEvent("Event"),J=!1,Q=!0,ve=window.event,ge=Object.getOwnPropertyDescriptor(window,"event");function xe(){sb.removeEventListener(De,Dt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ve)}var at=Array.prototype.slice.call(arguments,3);function Dt(){J=!0,xe(),n.apply(i,at),Q=!1}var St,hr=!1,mr=!1;function ue(fe){if(St=fe.error,hr=!0,St===null&&fe.colno===0&&fe.lineno===0&&(mr=!0),fe.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),sb.addEventListener(De,Dt,!1),L.initEvent(De,!1,!1),sb.dispatchEvent(L),ge&&Object.defineProperty(window,"event",ge),J&&Q&&(hr?mr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ue),!J)return xe(),s3.apply(this,arguments)}}var GP=c3,jf=!1,zm=null,Bm=!1,cb=null,KP={onError:function(e){jf=!0,zm=e}};function ub(e,t,n,i,c,d,g,y,C){jf=!1,zm=null,GP.apply(KP,arguments)}function XP(e,t,n,i,c,d,g,y,C){if(ub.apply(this,arguments),jf){var E=fb();Bm||(Bm=!0,cb=E)}}function QP(){if(Bm){var e=cb;throw Bm=!1,cb=null,e}}function JP(){return jf}function fb(){if(jf){var e=zm;return jf=!1,zm=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 Hf(e){return e._reactInternals}function ZP(e){return e._reactInternals!==void 0}function eI(e,t){e._reactInternals=t}var zt=0,Uf=1,Za=2,Er=4,xu=16,bp=32,db=64,Ir=128,Us=256,Lc=512,ku=1024,Bl=2048,Vs=4096,Tu=8192,Fm=16384,tI=Bl|Er|db|Lc|ku|Fm,rI=32767,yp=32768,Gn=65536,pb=131072,u3=1048576,hb=2097152,Eu=4194304,mb=8388608,Ws=16777216,jm=33554432,vb=Er|ku|0,gb=Za|Er|xu|bp|Lc|Vs|Tu,Sp=Er|db|Lc|Tu,Vf=Bl|xu,qs=Eu|mb|hb,aI=o.ReactCurrentOwner;function Ru(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|Vs))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function f3(e){if(e.tag===Z){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 d3(e){return e.tag===b?e.stateNode.containerInfo:null}function nI(e){return Ru(e)===e}function oI(e){{var t=aI.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||u("%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.",rr(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=Hf(e);return c?Ru(c)===c:!1}function p3(e){if(Ru(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function h3(e){var t=e.alternate;if(!t){var n=Ru(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,c=t;;){var d=i.return;if(d===null)break;var g=d.alternate;if(g===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===g.child){for(var C=d.child;C;){if(C===i)return p3(d),e;if(C===c)return p3(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=g;else{for(var E=!1,L=d.child;L;){if(L===i){E=!0,i=d,c=g;break}if(L===c){E=!0,c=d,i=g;break}L=L.sibling}if(!E){for(L=g.child;L;){if(L===i){E=!0,i=g,c=d;break}if(L===c){E=!0,c=g,i=d;break}L=L.sibling}if(!E)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!==c)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!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function m3(e){var t=h3(e);return t!==null?v3(t):null}function v3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=v3(t);if(n!==null)return n;t=t.sibling}return null}function iI(e){var t=h3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=g3(t);if(n!==null)return n}t=t.sibling}return null}var _3=a.unstable_scheduleCallback,lI=a.unstable_cancelCallback,sI=a.unstable_shouldYield,cI=a.unstable_requestPaint,_n=a.unstable_now,uI=a.unstable_getCurrentPriorityLevel,Hm=a.unstable_ImmediatePriority,_b=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,fI=a.unstable_LowPriority,bb=a.unstable_IdlePriority,dI=a.unstable_yieldValue,pI=a.unstable_setDisableYieldValue,Au=null,xn=null,it=null,ds=!1,Fl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function hI(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 u("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{Ge&&(e=Ot({},e,{getLaneLabelMap:yI,injectProfilingHooks:bI})),Au=t.inject(e),xn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function mI(e,t){if(xn&&typeof xn.onScheduleFiberRoot=="function")try{xn.onScheduleFiberRoot(Au,e,t)}catch(n){ds||(ds=!0,u("React instrumentation encountered an error: %s",n))}}function vI(e,t){if(xn&&typeof xn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Ir)===Ir;if(rt){var i;switch(t){case Bo:i=Hm;break;case $s:i=_b;break;case Gs:i=Du;break;case Gm:i=bb;break;default:i=Du;break}xn.onCommitFiberRoot(Au,e,i,n)}else xn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){ds||(ds=!0,u("React instrumentation encountered an error: %s",c))}}function gI(e){if(xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function _I(e){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof dI=="function"&&(pI(e),s(e)),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){it=e}function yI(){{for(var e=new Map,t=1,n=0;n<Sb;n++){var i=jI(t);e.set(t,i),t*=2}return e}}function SI(e){it!==null&&typeof it.markCommitStarted=="function"&&it.markCommitStarted(e)}function b3(){it!==null&&typeof it.markCommitStopped=="function"&&it.markCommitStopped()}function wp(e){it!==null&&typeof it.markComponentRenderStarted=="function"&&it.markComponentRenderStarted(e)}function Wf(){it!==null&&typeof it.markComponentRenderStopped=="function"&&it.markComponentRenderStopped()}function wI(e){it!==null&&typeof it.markComponentPassiveEffectMountStarted=="function"&&it.markComponentPassiveEffectMountStarted(e)}function CI(){it!==null&&typeof it.markComponentPassiveEffectMountStopped=="function"&&it.markComponentPassiveEffectMountStopped()}function xI(e){it!==null&&typeof it.markComponentPassiveEffectUnmountStarted=="function"&&it.markComponentPassiveEffectUnmountStarted(e)}function kI(){it!==null&&typeof it.markComponentPassiveEffectUnmountStopped=="function"&&it.markComponentPassiveEffectUnmountStopped()}function TI(e){it!==null&&typeof it.markComponentLayoutEffectMountStarted=="function"&&it.markComponentLayoutEffectMountStarted(e)}function EI(){it!==null&&typeof it.markComponentLayoutEffectMountStopped=="function"&&it.markComponentLayoutEffectMountStopped()}function y3(e){it!==null&&typeof it.markComponentLayoutEffectUnmountStarted=="function"&&it.markComponentLayoutEffectUnmountStarted(e)}function S3(){it!==null&&typeof it.markComponentLayoutEffectUnmountStopped=="function"&&it.markComponentLayoutEffectUnmountStopped()}function RI(e,t,n){it!==null&&typeof it.markComponentErrored=="function"&&it.markComponentErrored(e,t,n)}function DI(e,t,n){it!==null&&typeof it.markComponentSuspended=="function"&&it.markComponentSuspended(e,t,n)}function AI(e){it!==null&&typeof it.markLayoutEffectsStarted=="function"&&it.markLayoutEffectsStarted(e)}function LI(){it!==null&&typeof it.markLayoutEffectsStopped=="function"&&it.markLayoutEffectsStopped()}function NI(e){it!==null&&typeof it.markPassiveEffectsStarted=="function"&&it.markPassiveEffectsStarted(e)}function OI(){it!==null&&typeof it.markPassiveEffectsStopped=="function"&&it.markPassiveEffectsStopped()}function w3(e){it!==null&&typeof it.markRenderStarted=="function"&&it.markRenderStarted(e)}function MI(){it!==null&&typeof it.markRenderYielded=="function"&&it.markRenderYielded()}function C3(){it!==null&&typeof it.markRenderStopped=="function"&&it.markRenderStopped()}function PI(e){it!==null&&typeof it.markRenderScheduled=="function"&&it.markRenderScheduled(e)}function II(e,t){it!==null&&typeof it.markForceUpdateScheduled=="function"&&it.markForceUpdateScheduled(e,t)}function yb(e,t){it!==null&&typeof it.markStateUpdateScheduled=="function"&&it.markStateUpdateScheduled(e,t)}var Mt=0,yr=1,Xr=2,Pa=8,ps=16,x3=Math.clz32?Math.clz32:FI,zI=Math.log,BI=Math.LN2;function FI(e){var t=e>>>0;return t===0?32:31-(zI(t)/BI|0)|0}var Sb=31,Ie=0,yn=0,qt=1,qf=2,Ys=4,Lu=8,hs=16,Cp=32,Yf=4194240,xp=64,wb=128,Cb=256,xb=512,kb=1024,Tb=2048,Eb=4096,Rb=8192,Db=16384,Ab=32768,Lb=65536,Nb=131072,Ob=262144,Mb=524288,Pb=1048576,Ib=2097152,Um=130023424,$f=4194304,zb=8388608,Bb=16777216,Fb=33554432,jb=67108864,k3=$f,kp=134217728,T3=268435455,Tp=268435456,Nu=536870912,Io=1073741824;function jI(e){{if(e&qt)return"Sync";if(e&qf)return"InputContinuousHydration";if(e&Ys)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&hs)return"Default";if(e&Cp)return"TransitionHydration";if(e&Yf)return"Transition";if(e&Um)return"Retry";if(e&kp)return"SelectiveHydration";if(e&Tp)return"IdleHydration";if(e&Nu)return"Idle";if(e&Io)return"Offscreen"}}var ma=-1,Vm=xp,Wm=$f;function Ep(e){switch(Ou(e)){case qt:return qt;case qf:return qf;case Ys:return Ys;case Lu:return Lu;case hs:return hs;case Cp:return Cp;case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:return e&Yf;case $f:case zb:case Bb:case Fb:case jb:return e&Um;case kp:return kp;case Tp:return Tp;case Nu:return Nu;case Io:return Io;default:return u("Should have found matching lanes. This is a bug in React."),e}}function qm(e,t){var n=e.pendingLanes;if(n===Ie)return Ie;var i=Ie,c=e.suspendedLanes,d=e.pingedLanes,g=n&T3;if(g!==Ie){var y=g&~c;if(y!==Ie)i=Ep(y);else{var C=g&d;C!==Ie&&(i=Ep(C))}}else{var E=n&~c;E!==Ie?i=Ep(E):d!==Ie&&(i=Ep(d))}if(i===Ie)return Ie;if(t!==Ie&&t!==i&&(t&c)===Ie){var L=Ou(i),J=Ou(t);if(L>=J||L===hs&&(J&Yf)!==Ie)return t}(i&Ys)!==Ie&&(i|=n&hs);var Q=e.entangledLanes;if(Q!==Ie)for(var ve=e.entanglements,ge=i&Q;ge>0;){var xe=Mu(ge),at=1<<xe;i|=ve[xe],ge&=~at}return i}function HI(e,t){for(var n=e.eventTimes,i=ma;t>0;){var c=Mu(t),d=1<<c,g=n[c];g>i&&(i=g),t&=~d}return i}function UI(e,t){switch(e){case qt:case qf:case Ys:return t+250;case Lu:case hs:case Cp:case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:return t+5e3;case $f:case zb:case Bb:case Fb:case jb:return ma;case kp:case Tp:case Nu:case Io:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function VI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,g=n;g>0;){var y=Mu(g),C=1<<y,E=d[y];E===ma?((C&i)===Ie||(C&c)!==Ie)&&(d[y]=UI(C,t)):E<=t&&(e.expiredLanes|=C),g&=~C}}function WI(e){return Ep(e.pendingLanes)}function Hb(e){var t=e.pendingLanes&~Io;return t!==Ie?t:t&Io?Io:Ie}function qI(e){return(e&qt)!==Ie}function Ub(e){return(e&T3)!==Ie}function E3(e){return(e&Um)===e}function YI(e){var t=qt|Ys|hs;return(e&t)===Ie}function $I(e){return(e&Yf)===e}function Ym(e,t){var n=qf|Ys|Lu|hs;return(t&n)!==Ie}function GI(e,t){return(t&e.expiredLanes)!==Ie}function R3(e){return(e&Yf)!==Ie}function D3(){var e=Vm;return Vm<<=1,(Vm&Yf)===Ie&&(Vm=xp),e}function KI(){var e=Wm;return Wm<<=1,(Wm&Um)===Ie&&(Wm=$f),e}function Ou(e){return e&-e}function Rp(e){return Ou(e)}function Mu(e){return 31-x3(e)}function Vb(e){return Mu(e)}function zo(e,t){return(e&t)!==Ie}function Gf(e,t){return(e&t)===t}function ir(e,t){return e|t}function $m(e,t){return e&~t}function A3(e,t){return e&t}function V$(e){return e}function XI(e,t){return e!==yn&&e<t?e:t}function Wb(e){for(var t=[],n=0;n<Sb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=Ie,e.pingedLanes=Ie);var i=e.eventTimes,c=Vb(t);i[c]=n}function QI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Mu(i),d=1<<c;n[c]=ma,i&=~d}}function L3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function JI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ie,e.pingedLanes=Ie,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,g=n;g>0;){var y=Mu(g),C=1<<y;i[y]=Ie,c[y]=ma,d[y]=ma,g&=~C}}function qb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Mu(c),g=1<<d;g&t|i[d]&t&&(i[d]|=t),c&=~g}}function ZI(e,t){var n=Ou(t),i;switch(n){case Ys:i=qf;break;case hs:i=Lu;break;case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:case $f:case zb:case Bb:case Fb:case jb:i=Cp;break;case Nu:i=Tp;break;default:i=yn;break}return(i&(e.suspendedLanes|t))!==yn?yn:i}function N3(e,t,n){if(Fl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Vb(n),d=1<<c,g=i[c];g.add(t),n&=~d}}function O3(e,t){if(Fl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Vb(t),d=1<<c,g=n[c];g.size>0&&(g.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),g.clear()),t&=~d}}function M3(e,t){return null}var Bo=qt,$s=Ys,Gs=hs,Gm=Nu,Ap=yn;function jl(){return Ap}function Sn(e){Ap=e}function ez(e,t){var n=Ap;try{return Ap=e,t()}finally{Ap=n}}function tz(e,t){return e!==0&&e<t?e:t}function rz(e,t){return e===0||e>t?e:t}function Yb(e,t){return e!==0&&e<t}function P3(e){var t=Ou(e);return Yb(Bo,t)?Yb($s,t)?Ub(t)?Gs:Gm:$s:Bo}function Km(e){var t=e.current.memoizedState;return t.isDehydrated}var I3;function az(e){I3=e}function nz(e){I3(e)}var $b;function oz(e){$b=e}var z3;function iz(e){z3=e}var B3;function lz(e){B3=e}var F3;function sz(e){F3=e}var Gb=!1,Xm=[],Nc=null,Oc=null,Mc=null,Lp=new Map,Np=new Map,Pc=[],cz=["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 uz(e){return cz.indexOf(e)>-1}function fz(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function j3(e,t){switch(e){case"focusin":case"focusout":Nc=null;break;case"dragenter":case"dragleave":Oc=null;break;case"mouseover":case"mouseout":Mc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Lp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Np.delete(i);break}}}function Op(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var g=fz(t,n,i,c,d);if(t!==null){var y=Bc(t);y!==null&&$b(y)}return g}e.eventSystemFlags|=i;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function dz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Nc=Op(Nc,e,t,n,i,d),!0}case"dragenter":{var g=c;return Oc=Op(Oc,e,t,n,i,g),!0}case"mouseover":{var y=c;return Mc=Op(Mc,e,t,n,i,y),!0}case"pointerover":{var C=c,E=C.pointerId;return Lp.set(E,Op(Lp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var L=c,J=L.pointerId;return Np.set(J,Op(Np.get(J)||null,e,t,n,i,L)),!0}}return!1}function H3(e){var t=zu(e.target);if(t!==null){var n=Ru(t);if(n!==null){var i=n.tag;if(i===Z){var c=f3(n);if(c!==null){e.blockedOn=c,F3(e.priority,function(){z3(n)});return}}else if(i===b){var d=n.stateNode;if(Km(d)){e.blockedOn=d3(n);return}}}}e.blockedOn=null}function pz(e){for(var t=B3(),n={blockedOn:null,target:e,priority:t},i=0;i<Pc.length&&Yb(t,Pc[i].priority);i++);Pc.splice(i,0,n),i===0&&H3(n)}function Qm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Qb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);FP(d),c.target.dispatchEvent(d),jP()}else{var g=Bc(i);return g!==null&&$b(g),e.blockedOn=i,!1}t.shift()}return!0}function U3(e,t,n){Qm(e)&&n.delete(t)}function hz(){Gb=!1,Nc!==null&&Qm(Nc)&&(Nc=null),Oc!==null&&Qm(Oc)&&(Oc=null),Mc!==null&&Qm(Mc)&&(Mc=null),Lp.forEach(U3),Np.forEach(U3)}function Mp(e,t){e.blockedOn===t&&(e.blockedOn=null,Gb||(Gb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,hz)))}function Pp(e){if(Xm.length>0){Mp(Xm[0],e);for(var t=1;t<Xm.length;t++){var n=Xm[t];n.blockedOn===e&&(n.blockedOn=null)}}Nc!==null&&Mp(Nc,e),Oc!==null&&Mp(Oc,e),Mc!==null&&Mp(Mc,e);var i=function(y){return Mp(y,e)};Lp.forEach(i),Np.forEach(i);for(var c=0;c<Pc.length;c++){var d=Pc[c];d.blockedOn===e&&(d.blockedOn=null)}for(;Pc.length>0;){var g=Pc[0];if(g.blockedOn!==null)break;H3(g),g.blockedOn===null&&Pc.shift()}}var Kf=o.ReactCurrentBatchConfig,Kb=!0;function V3(e){Kb=!!e}function mz(){return Kb}function vz(e,t,n){var i=W3(t),c;switch(i){case Bo:c=gz;break;case $s:c=_z;break;case Gs:default:c=Xb;break}return c.bind(null,t,n,e)}function gz(e,t,n,i){var c=jl(),d=Kf.transition;Kf.transition=null;try{Sn(Bo),Xb(e,t,n,i)}finally{Sn(c),Kf.transition=d}}function _z(e,t,n,i){var c=jl(),d=Kf.transition;Kf.transition=null;try{Sn($s),Xb(e,t,n,i)}finally{Sn(c),Kf.transition=d}}function Xb(e,t,n,i){Kb&&bz(e,t,n,i)}function bz(e,t,n,i){var c=Qb(e,t,n,i);if(c===null){f1(e,t,i,Jm,n),j3(e,i);return}if(dz(c,e,t,n,i)){i.stopPropagation();return}if(j3(e,i),t&mp&&uz(e)){for(;c!==null;){var d=Bc(c);d!==null&&nz(d);var g=Qb(e,t,n,i);if(g===null&&f1(e,t,i,Jm,n),g===c)break;c=g}c!==null&&i.stopPropagation();return}f1(e,t,i,null,n)}var Jm=null;function Qb(e,t,n,i){Jm=null;var c=nb(i),d=zu(c);if(d!==null){var g=Ru(d);if(g===null)d=null;else{var y=g.tag;if(y===Z){var C=f3(g);if(C!==null)return C;d=null}else if(y===b){var E=g.stateNode;if(Km(E))return d3(g);d=null}else g!==d&&(d=null)}}return Jm=d,null}function W3(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 Bo;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 $s;case"message":{var t=uI();switch(t){case Hm:return Bo;case _b:return $s;case Du:case fI:return Gs;case bb:return Gm;default:return Gs}}default:return Gs}}function yz(e,t,n){return e.addEventListener(t,n,!1),n}function Sz(e,t,n){return e.addEventListener(t,n,!0),n}function wz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Ip=null,Jb=null,zp=null;function xz(e){return Ip=e,Jb=Y3(),!0}function kz(){Ip=null,Jb=null,zp=null}function q3(){if(zp)return zp;var e,t=Jb,n=t.length,i,c=Y3(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var g=n-e;for(i=1;i<=g&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return zp=c.slice(e,y),zp}function Y3(){return"value"in Ip?Ip.value:Ip.textContent}function Zm(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 ev(){return!0}function $3(){return!1}function Fo(e){function t(n,i,c,d,g){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=ev:this.isDefaultPrevented=$3,this.isPropagationStopped=$3,this}return Ot(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=ev)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ev)},persist:function(){},isPersistent:ev}),t}var Xf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zb=Fo(Xf),Bp=Ot({},Xf,{view:0,detail:0}),Tz=Fo(Bp),e1,t1,Fp;function Ez(e){e!==Fp&&(Fp&&e.type==="mousemove"?(e1=e.screenX-Fp.screenX,t1=e.screenY-Fp.screenY):(e1=0,t1=0),Fp=e)}var tv=Ot({},Bp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:a1,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:(Ez(e),e1)},movementY:function(e){return"movementY"in e?e.movementY:t1}}),G3=Fo(tv),Rz=Ot({},tv,{dataTransfer:0}),Dz=Fo(Rz),Az=Ot({},Bp,{relatedTarget:0}),r1=Fo(Az),Lz=Ot({},Xf,{animationName:0,elapsedTime:0,pseudoElement:0}),Nz=Fo(Lz),Oz=Ot({},Xf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mz=Fo(Oz),Pz=Ot({},Xf,{data:0}),K3=Fo(Pz),Iz=K3,zz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bz={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 Fz(e){if(e.key){var t=zz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Zm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Bz[e.keyCode]||"Unidentified":""}var jz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=jz[e];return i?!!n[i]:!1}function a1(e){return Hz}var Uz=Ot({},Bp,{key:Fz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:a1,charCode:function(e){return e.type==="keypress"?Zm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vz=Fo(Uz),Wz=Ot({},tv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),X3=Fo(Wz),qz=Ot({},Bp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:a1}),Yz=Fo(qz),$z=Ot({},Xf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gz=Fo($z),Kz=Ot({},tv,{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}),Xz=Fo(Kz),Qz=[9,13,27,32],Q3=229,n1=ot&&"CompositionEvent"in window,jp=null;ot&&"documentMode"in document&&(jp=document.documentMode);var Jz=ot&&"TextEvent"in window&&!jp,J3=ot&&(!n1||jp&&jp>8&&jp<=11),Z3=32,eC=String.fromCharCode(Z3);function Zz(){Xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var tC=!1;function eB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function rB(e,t){return e==="keydown"&&t.keyCode===Q3}function rC(e,t){switch(e){case"keyup":return Qz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Q3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function nC(e){return e.locale==="ko"}var Qf=!1;function aB(e,t,n,i,c){var d,g;if(n1?d=tB(t):Qf?rC(t,i)&&(d="onCompositionEnd"):rB(t,i)&&(d="onCompositionStart"),!d)return null;J3&&!nC(i)&&(!Qf&&d==="onCompositionStart"?Qf=xz(c):d==="onCompositionEnd"&&Qf&&(g=q3()));var y=iv(n,d);if(y.length>0){var C=new K3(d,t,null,i,c);if(e.push({event:C,listeners:y}),g)C.data=g;else{var E=aC(i);E!==null&&(C.data=E)}}}function nB(e,t){switch(e){case"compositionend":return aC(t);case"keypress":var n=t.which;return n!==Z3?null:(tC=!0,eC);case"textInput":var i=t.data;return i===eC&&tC?null:i;default:return null}}function oB(e,t){if(Qf){if(e==="compositionend"||!n1&&rC(e,t)){var n=q3();return kz(),Qf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!eB(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return J3&&!nC(t)?null:t.data;default:return null}}function iB(e,t,n,i,c){var d;if(Jz?d=nB(t,i):d=oB(t,i),!d)return null;var g=iv(n,"onBeforeInput");if(g.length>0){var y=new Iz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:g}),y.data=d}}function lB(e,t,n,i,c,d,g){aB(e,t,n,i,c),iB(e,t,n,i,c)}var sB={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 oC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sB[e.type]:t==="textarea"}function cB(e){if(!ot)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 uB(){Xe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function iC(e,t,n,i){a3(i);var c=iv(t,"onChange");if(c.length>0){var d=new Zb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Hp=null,Up=null;function fB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function dB(e){var t=[];iC(t,Up,e,nb(e)),l3(pB,t)}function pB(e){xC(e,0)}function rv(e){var t=ad(e);if(Nf(t))return e}function hB(e,t){if(e==="change")return t}var lC=!1;ot&&(lC=cB("input")&&(!document.documentMode||document.documentMode>9));function mB(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",cC)}function sC(){Hp&&(Hp.detachEvent("onpropertychange",cC),Hp=null,Up=null)}function cC(e){e.propertyName==="value"&&rv(Up)&&dB(e)}function vB(e,t,n){e==="focusin"?(sC(),mB(t,n)):e==="focusout"&&sC()}function gB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rv(Up)}function _B(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function bB(e,t){if(e==="click")return rv(t)}function yB(e,t){if(e==="input"||e==="change")return rv(t)}function SB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function wB(e,t,n,i,c,d,g){var y=n?ad(n):window,C,E;if(fB(y)?C=hB:oC(y)?lC?C=yB:(C=gB,E=vB):_B(y)&&(C=bB),C){var L=C(t,n);if(L){iC(e,L,i,c);return}}E&&E(t,y,n),t==="focusout"&&SB(y)}function CB(){ke("onMouseEnter",["mouseout","mouseover"]),ke("onMouseLeave",["mouseout","mouseover"]),ke("onPointerEnter",["pointerout","pointerover"]),ke("onPointerLeave",["pointerout","pointerover"])}function xB(e,t,n,i,c,d,g){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!HP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||ah(E)))return}if(!(!C&&!y)){var L;if(c.window===c)L=c;else{var J=c.ownerDocument;J?L=J.defaultView||J.parentWindow:L=window}var Q,ve;if(C){var ge=i.relatedTarget||i.toElement;if(Q=n,ve=ge?zu(ge):null,ve!==null){var xe=Ru(ve);(ve!==xe||ve.tag!==w&&ve.tag!==k)&&(ve=null)}}else Q=null,ve=n;if(Q!==ve){var at=G3,Dt="onMouseLeave",St="onMouseEnter",hr="mouse";(t==="pointerout"||t==="pointerover")&&(at=X3,Dt="onPointerLeave",St="onPointerEnter",hr="pointer");var mr=Q==null?L:ad(Q),ue=ve==null?L:ad(ve),De=new at(Dt,hr+"leave",Q,i,c);De.target=mr,De.relatedTarget=ue;var fe=null,qe=zu(c);if(qe===n){var ut=new at(St,hr+"enter",ve,i,c);ut.target=ue,ut.relatedTarget=mr,fe=ut}GB(e,De,fe,Q,ve)}}}function kB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:kB;function Vp(e,t){if(jo(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 c=0;c<n.length;c++){var d=n[c];if(!kt.call(t,d)||!jo(e[d],t[d]))return!1}return!0}function uC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function fC(e,t){for(var n=uC(e),i=0,c=0;n;){if(n.nodeType===js){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=uC(TB(n))}}function EB(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var c=i.anchorNode,d=i.anchorOffset,g=i.focusNode,y=i.focusOffset;try{c.nodeType,g.nodeType}catch(C){return null}return RB(e,c,d,g,y)}function RB(e,t,n,i,c){var d=0,g=-1,y=-1,C=0,E=0,L=e,J=null;e:for(;;){for(var Q=null;L===t&&(n===0||L.nodeType===js)&&(g=d+n),L===i&&(c===0||L.nodeType===js)&&(y=d+c),L.nodeType===js&&(d+=L.nodeValue.length),(Q=L.firstChild)!==null;)J=L,L=Q;for(;;){if(L===e)break e;if(J===t&&++C===n&&(g=d),J===i&&++E===c&&(y=d),(Q=L.nextSibling)!==null)break;L=J,J=L.parentNode}L=Q}return g===-1||y===-1?null:{start:g,end:y}}function DB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,g=Math.min(t.start,d),y=t.end===void 0?g:Math.min(t.end,d);if(!c.extend&&g>y){var C=y;y=g,g=C}var E=fC(e,g),L=fC(e,y);if(E&&L){if(c.rangeCount===1&&c.anchorNode===E.node&&c.anchorOffset===E.offset&&c.focusNode===L.node&&c.focusOffset===L.offset)return;var J=n.createRange();J.setStart(E.node,E.offset),c.removeAllRanges(),g>y?(c.addRange(J),c.extend(L.node,L.offset)):(J.setEnd(L.node,L.offset),c.addRange(J))}}}function dC(e){return e&&e.nodeType===js}function pC(e,t){return!e||!t?!1:e===t?!0:dC(e)?!1:dC(t)?pC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function AB(e){return e&&e.ownerDocument&&pC(e.ownerDocument.documentElement,e)}function LB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function hC(){for(var e=window,t=Of();t instanceof e.HTMLIFrameElement;){if(LB(t))e=t.contentWindow;else return t;t=Of(e.document)}return t}function o1(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 NB(){var e=hC();return{focusedElem:e,selectionRange:o1(e)?MB(e):null}}function OB(e){var t=hC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&AB(n)){i!==null&&o1(n)&&PB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===_o&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<c.length;g++){var y=c[g];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function MB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=EB(e),t||{start:0,end:0}}function PB(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)):DB(e,t)}var IB=ot&&"documentMode"in document&&document.documentMode<=11;function zB(){Xe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jf=null,i1=null,Wp=null,l1=!1;function BB(e){if("selectionStart"in e&&o1(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 FB(e){return e.window===e?e.document:e.nodeType===Hs?e:e.ownerDocument}function mC(e,t,n){var i=FB(n);if(!(l1||Jf==null||Jf!==Of(i))){var c=BB(Jf);if(!Wp||!Vp(Wp,c)){Wp=c;var d=iv(i1,"onSelect");if(d.length>0){var g=new Zb("onSelect","select",null,t,n);e.push({event:g,listeners:d}),g.target=Jf}}}}function jB(e,t,n,i,c,d,g){var y=n?ad(n):window;switch(t){case"focusin":(oC(y)||y.contentEditable==="true")&&(Jf=y,i1=n,Wp=null);break;case"focusout":Jf=null,i1=null,Wp=null;break;case"mousedown":l1=!0;break;case"contextmenu":case"mouseup":case"dragend":l1=!1,mC(e,i,c);break;case"selectionchange":if(IB)break;case"keydown":case"keyup":mC(e,i,c)}}function av(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zf={animationend:av("Animation","AnimationEnd"),animationiteration:av("Animation","AnimationIteration"),animationstart:av("Animation","AnimationStart"),transitionend:av("Transition","TransitionEnd")},s1={},vC={};ot&&(vC=document.createElement("div").style,"AnimationEvent"in window||(delete Zf.animationend.animation,delete Zf.animationiteration.animation,delete Zf.animationstart.animation),"TransitionEvent"in window||delete Zf.transitionend.transition);function nv(e){if(s1[e])return s1[e];if(!Zf[e])return e;var t=Zf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in vC)return s1[e]=t[n];return e}var gC=nv("animationend"),_C=nv("animationiteration"),bC=nv("animationstart"),yC=nv("transitionend"),SC=new Map,wC=["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 Ic(e,t){SC.set(e,t),Xe(t,[e])}function HB(){for(var e=0;e<wC.length;e++){var t=wC[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Ic(n,"on"+i)}Ic(gC,"onAnimationEnd"),Ic(_C,"onAnimationIteration"),Ic(bC,"onAnimationStart"),Ic("dblclick","onDoubleClick"),Ic("focusin","onFocus"),Ic("focusout","onBlur"),Ic(yC,"onTransitionEnd")}function UB(e,t,n,i,c,d,g){var y=SC.get(t);if(y!==void 0){var C=Zb,E=t;switch(t){case"keypress":if(Zm(i)===0)return;case"keydown":case"keyup":C=Vz;break;case"focusin":E="focus",C=r1;break;case"focusout":E="blur",C=r1;break;case"beforeblur":case"afterblur":C=r1;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=G3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Dz;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Yz;break;case gC:case _C:case bC:C=Nz;break;case yC:C=Gz;break;case"scroll":C=Tz;break;case"wheel":C=Xz;break;case"copy":case"cut":case"paste":C=Mz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=X3;break}var L=(d&mp)!==0;{var J=!L&&t==="scroll",Q=YB(n,y,i.type,L,J);if(Q.length>0){var ve=new C(y,E,null,i,c);e.push({event:ve,listeners:Q})}}}}HB(),CB(),uB(),zB(),Zz();function VB(e,t,n,i,c,d,g){UB(e,t,n,i,c,d);var y=(d&BP)===0;y&&(xB(e,t,n,i,c),wB(e,t,n,i,c),jB(e,t,n,i,c),lB(e,t,n,i,c))}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"],c1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function CC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,XP(i,t,void 0,e),e.currentTarget=null}function WB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],g=d.instance,y=d.currentTarget,C=d.listener;if(g!==i&&e.isPropagationStopped())return;CC(e,C,y),i=g}else for(var E=0;E<t.length;E++){var L=t[E],J=L.instance,Q=L.currentTarget,ve=L.listener;if(J!==i&&e.isPropagationStopped())return;CC(e,ve,Q),i=J}}function xC(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,g=c.listeners;WB(d,g,n)}QP()}function qB(e,t,n,i,c){var d=nb(n),g=[];VB(g,e,i,n,d,t),xC(g,t)}function ya(e,t){c1.has(e)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=SF(t),c=KB(e,n);i.has(c)||(kC(t,e,ab,n),i.add(c))}function u1(e,t,n){c1.has(e)&&!t&&u('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|=mp),kC(n,e,i,t)}var ov="_reactListening"+Math.random().toString(36).slice(2);function Yp(e){if(!e[ov]){e[ov]=!0,Nt.forEach(function(n){n!=="selectionchange"&&(c1.has(n)||u1(n,!1,e),u1(n,!0,e))});var t=e.nodeType===Hs?e:e.ownerDocument;t!==null&&(t[ov]||(t[ov]=!0,u1("selectionchange",!1,t)))}}function kC(e,t,n,i,c){var d=vz(e,t,n),g=void 0;lb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var y;i?g!==void 0?y=wz(e,t,d,g):y=Sz(e,t,d):g!==void 0?y=Cz(e,t,d,g):y=yz(e,t,d)}function TC(e,t){return e===t||e.nodeType===Ja&&e.parentNode===t}function f1(e,t,n,i,c){var d=i;if(!(t&t3)&&!(t&ab)){var g=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(TC(E,g))break;if(C===S)for(var L=y.return;L!==null;){var J=L.tag;if(J===b||J===S){var Q=L.stateNode.containerInfo;if(TC(Q,g))return}L=L.return}for(;E!==null;){var ve=zu(E);if(ve===null)return;var ge=ve.tag;if(ge===w||ge===k){y=d=ve;continue e}E=E.parentNode}}y=y.return}}}l3(function(){return qB(e,t,n,d)})}function $p(e,t,n){return{instance:e,listener:t,currentTarget:n}}function YB(e,t,n,i,c,d){for(var g=t!==null?t+"Capture":null,y=i?g:t,C=[],E=e,L=null;E!==null;){var J=E,Q=J.stateNode,ve=J.tag;if(ve===w&&Q!==null&&(L=Q,y!==null)){var ge=gp(E,y);ge!=null&&C.push($p(E,ge,L))}if(c)break;E=E.return}return C}function iv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,g=d.stateNode,y=d.tag;if(y===w&&g!==null){var C=g,E=gp(c,n);E!=null&&i.unshift($p(c,E,C));var L=gp(c,t);L!=null&&i.push($p(c,L,C))}c=c.return}return i}function ed(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function $B(e,t){for(var n=e,i=t,c=0,d=n;d;d=ed(d))c++;for(var g=0,y=i;y;y=ed(y))g++;for(;c-g>0;)n=ed(n),c--;for(;g-c>0;)i=ed(i),g--;for(var C=c;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=ed(n),i=ed(i)}return null}function EC(e,t,n,i,c){for(var d=t._reactName,g=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,L=C.stateNode,J=C.tag;if(E!==null&&E===i)break;if(J===w&&L!==null){var Q=L;if(c){var ve=gp(y,d);ve!=null&&g.unshift($p(y,ve,Q))}else if(!c){var ge=gp(y,d);ge!=null&&g.push($p(y,ge,Q))}}y=y.return}g.length!==0&&e.push({event:t,listeners:g})}function GB(e,t,n,i,c){var d=i&&c?$B(i,c):null;i!==null&&EC(e,t,i,d,!1),c!==null&&n!==null&&EC(e,n,c,d,!0)}function KB(e,t){return e+"__"+(t?"capture":"bubble")}var bo=!1,Gp="dangerouslySetInnerHTML",lv="suppressContentEditableWarning",zc="suppressHydrationWarning",RC="autoFocus",Pu="children",Iu="style",sv="__html",d1,cv,Kp,DC,uv,AC,LC;d1={dialog:!0,webview:!0},cv=function(e,t){LP(e,t),NP(e,t),zP(e,t,{registrationNameDependencies:$t,possibleRegistrationNames:dt})},AC=ot&&!document.documentMode,Kp=function(e,t,n){if(!bo){var i=fv(n),c=fv(t);c!==i&&(bo=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},DC=function(e){if(!bo){bo=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},uv=function(e,t){t===!1?u("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):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},LC=function(e,t){var n=e.namespaceURI===Fs?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var XB=/\r\n?/g,QB=/\u0000|\uFFFD/g;function fv(e){Yr(e);var t=typeof e=="string"?e:""+e;return t.replace(XB,`
32
- `).replace(QB,"")}function dv(e,t,n,i){var c=fv(t),d=fv(e);if(d!==c&&(i&&(bo||(bo=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function NC(e){return e.nodeType===Hs?e:e.ownerDocument}function JB(){}function pv(e){e.onclick=JB}function ZB(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var g=i[d];if(d===Iu)g&&Object.freeze(g),Kw(t,g);else if(d===Gp){var y=g?g[sv]:void 0;y!=null&&Ww(t,y)}else if(d===Pu)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&Pm(t,g)}else typeof g=="number"&&Pm(t,""+g);else d===lv||d===zc||d===RC||($t.hasOwnProperty(d)?g!=null&&(typeof g!="function"&&uv(d,g),d==="onScroll"&&ya("scroll",t)):g!=null&&I(t,d,g,c))}}function e9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],g=t[c+1];d===Iu?Kw(e,g):d===Gp?Ww(e,g):d===Pu?Pm(e,g):I(e,d,g,i)}}function t9(e,t,n,i){var c,d=NC(n),g,y=i;if(y===Fs&&(y=Q_(e)),y===Fs){if(c=Cu(e,t),!c&&e!==e.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;g=C.removeChild(E)}else if(typeof t.is=="string")g=d.createElement(e,{is:t.is});else if(g=d.createElement(e),e==="select"){var L=g;t.multiple?L.multiple=!0:t.size&&(L.size=t.size)}}else g=d.createElementNS(y,e);return y===Fs&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!kt.call(d1,e)&&(d1[e]=!0,u("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 r9(e,t){return NC(t).createTextNode(e)}function a9(e,t,n,i){var c=Cu(t,n);cv(t,n);var d;switch(t){case"dialog":ya("cancel",e),ya("close",e),d=n;break;case"iframe":case"object":case"embed":ya("load",e),d=n;break;case"video":case"audio":for(var g=0;g<qp.length;g++)ya(qp[g],e);d=n;break;case"source":ya("error",e),d=n;break;case"img":case"image":case"link":ya("error",e),ya("load",e),d=n;break;case"details":ya("toggle",e),d=n;break;case"input":Ee(e,n),d=me(e,n),ya("invalid",e);break;case"option":Da(e,n),d=n;break;case"select":Fw(e,n),d=pp(e,n),ya("invalid",e);break;case"textarea":Hw(e,n),d=K_(e,n),ya("invalid",e);break;default:d=n}switch(rb(t,d),ZB(t,e,i,d,c),t){case"input":Ac(e),yt(e,n,!1);break;case"textarea":Ac(e),Vw(e);break;case"option":rn(e,n);break;case"select":ZM(e,n);break;default:typeof d.onClick=="function"&&pv(e);break}}function n9(e,t,n,i,c){cv(t,i);var d=null,g,y;switch(t){case"input":g=me(e,n),y=me(e,i),d=[];break;case"select":g=pp(e,n),y=pp(e,i),d=[];break;case"textarea":g=K_(e,n),y=K_(e,i),d=[];break;default:g=n,y=i,typeof g.onClick!="function"&&typeof y.onClick=="function"&&pv(e);break}rb(t,y);var C,E,L=null;for(C in g)if(!(y.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Iu){var J=g[C];for(E in J)J.hasOwnProperty(E)&&(L||(L={}),L[E]="")}else C===Gp||C===Pu||C===lv||C===zc||C===RC||($t.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var Q=y[C],ve=g!=null?g[C]:void 0;if(!(!y.hasOwnProperty(C)||Q===ve||Q==null&&ve==null))if(C===Iu)if(Q&&Object.freeze(Q),ve){for(E in ve)ve.hasOwnProperty(E)&&(!Q||!Q.hasOwnProperty(E))&&(L||(L={}),L[E]="");for(E in Q)Q.hasOwnProperty(E)&&ve[E]!==Q[E]&&(L||(L={}),L[E]=Q[E])}else L||(d||(d=[]),d.push(C,L)),L=Q;else if(C===Gp){var ge=Q?Q[sv]:void 0,xe=ve?ve[sv]:void 0;ge!=null&&xe!==ge&&(d=d||[]).push(C,ge)}else C===Pu?(typeof Q=="string"||typeof Q=="number")&&(d=d||[]).push(C,""+Q):C===lv||C===zc||($t.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&uv(C,Q),C==="onScroll"&&ya("scroll",e)),!d&&ve!==Q&&(d=[])):(d=d||[]).push(C,Q))}return L&&(CP(L,y[Iu]),(d=d||[]).push(Iu,L)),d}function o9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Qe(e,c);var d=Cu(n,i),g=Cu(n,c);switch(e9(e,t,d,g),n){case"input":Pt(e,c);break;case"textarea":Uw(e,c);break;case"select":eP(e,c);break}}function i9(e){{var t=e.toLowerCase();return Im.hasOwnProperty(t)&&Im[t]||null}}function l9(e,t,n,i,c,d,g){var y,C;switch(y=Cu(t,n),cv(t,n),t){case"dialog":ya("cancel",e),ya("close",e);break;case"iframe":case"object":case"embed":ya("load",e);break;case"video":case"audio":for(var E=0;E<qp.length;E++)ya(qp[E],e);break;case"source":ya("error",e);break;case"img":case"image":case"link":ya("error",e),ya("load",e);break;case"details":ya("toggle",e);break;case"input":Ee(e,n),ya("invalid",e);break;case"option":Da(e,n);break;case"select":Fw(e,n),ya("invalid",e);break;case"textarea":Hw(e,n),ya("invalid",e);break}rb(t,n);{C=new Set;for(var L=e.attributes,J=0;J<L.length;J++){var Q=L[J].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(L[J].name)}}}var ve=null;for(var ge in n)if(n.hasOwnProperty(ge)){var xe=n[ge];if(ge===Pu)typeof xe=="string"?e.textContent!==xe&&(n[zc]!==!0&&dv(e.textContent,xe,d,g),ve=[Pu,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[zc]!==!0&&dv(e.textContent,xe,d,g),ve=[Pu,""+xe]);else if($t.hasOwnProperty(ge))xe!=null&&(typeof xe!="function"&&uv(ge,xe),ge==="onScroll"&&ya("scroll",e));else if(g&&typeof y=="boolean"){var at=void 0,Dt=y&&je?null:P(ge);if(n[zc]!==!0){if(!(ge===lv||ge===zc||ge==="value"||ge==="checked"||ge==="selected")){if(ge===Gp){var St=e.innerHTML,hr=xe?xe[sv]:void 0;if(hr!=null){var mr=LC(e,hr);mr!==St&&Kp(ge,St,mr)}}else if(ge===Iu){if(C.delete(ge),AC){var ue=SP(xe);at=e.getAttribute("style"),ue!==at&&Kp(ge,at,ue)}}else if(y&&!je)C.delete(ge.toLowerCase()),at=Je(e,ge,xe),xe!==at&&Kp(ge,at,xe);else if(!gr(ge,Dt,y)&&!$(ge,xe,Dt,y)){var De=!1;if(Dt!==null)C.delete(Dt.attributeName),at=Ae(e,ge,xe,Dt);else{var fe=i;if(fe===Fs&&(fe=Q_(t)),fe===Fs)C.delete(ge.toLowerCase());else{var qe=i9(ge);qe!==null&&qe!==ge&&(De=!0,C.delete(qe)),C.delete(ge)}at=Je(e,ge,xe)}var ut=je;!ut&&xe!==at&&!De&&Kp(ge,at,xe)}}}}}switch(g&&C.size>0&&n[zc]!==!0&&DC(C),t){case"input":Ac(e),yt(e,n,!0);break;case"textarea":Ac(e),Vw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&pv(e);break}return ve}function s9(e,t,n){var i=e.nodeValue!==t;return i}function p1(e,t){{if(bo)return;bo=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function h1(e,t){{if(bo)return;bo=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function m1(e,t,n){{if(bo)return;bo=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function v1(e,t){{if(t===""||bo)return;bo=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function c9(e,t,n){switch(t){case"input":Zt(e,n);return;case"textarea":rP(e,n);return;case"select":tP(e,n);return}}var Xp=function(){},Qp=function(){};{var u9=["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"],OC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],f9=OC.concat(["button"]),d9=["dd","dt","li","option","optgroup","p","rp","rt"],MC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Qp=function(e,t){var n=Ot({},e||MC),i={tag:t};return OC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),f9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),u9.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 p9=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 d9.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},h9=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},PC={};Xp=function(e,t,n){n=n||MC;var i=n.current,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=p9(e,c)?null:i,g=d?null:h9(e,n),y=d||g;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!PC[E]){PC[E]=!0;var L=e,J="";if(e==="#text"?/\S/.test(t)?L="Text nodes":(L="Whitespace text nodes",J=" Make sure you don't have any extra whitespace between tags on each line of your source code."):L="<"+e+">",d){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."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",L,C,J,Q)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",L,C)}}}}var hv="suppressHydrationWarning",mv="$",vv="/$",Jp="$?",Zp="$!",m9="style",g1=null,_1=null;function v9(e){var t,n,i=e.nodeType;switch(i){case Hs:case Z_:{t=i===Hs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:J_(null,"");break}default:{var d=i===Ja?e.parentNode:e,g=d.namespaceURI||null;t=d.tagName,n=J_(g,t);break}}{var y=t.toLowerCase(),C=Qp(null,y);return{namespace:n,ancestorInfo:C}}}function g9(e,t,n){{var i=e,c=J_(i.namespace,t),d=Qp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function W$(e){return e}function _9(e){g1=mz(),_1=NB();var t=null;return V3(!1),t}function b9(e){OB(_1),V3(g1),g1=null,_1=null}function y9(e,t,n,i,c){var d;{var g=i;if(Xp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Qp(g.ancestorInfo,e);Xp(null,y,C)}d=g.namespace}var E=t9(e,t,n,d);return rh(c,E),T1(E,t),E}function S9(e,t){e.appendChild(t)}function w9(e,t,n,i,c){switch(a9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function C9(e,t,n,i,c,d){{var g=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Qp(g.ancestorInfo,t);Xp(null,y,C)}}return n9(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 x9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var d=r9(e,t);return rh(i,d),d}function k9(){var e=window.event;return e===void 0?Gs:W3(e.type)}var y1=typeof setTimeout=="function"?setTimeout:void 0,T9=typeof clearTimeout=="function"?clearTimeout:void 0,S1=-1,IC=typeof Promise=="function"?Promise:void 0,E9=typeof queueMicrotask=="function"?queueMicrotask:typeof IC!="undefined"?function(e){return IC.resolve(null).then(e).catch(R9)}:y1;function R9(e){setTimeout(function(){throw e})}function D9(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 A9(e,t,n,i,c,d){o9(e,t,n,i,c),T1(e,c)}function zC(e){Pm(e,"")}function L9(e,t,n){e.nodeValue=n}function N9(e,t){e.appendChild(t)}function O9(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&&pv(n)}function M9(e,t,n){e.insertBefore(t,n)}function P9(e,t,n){e.nodeType===Ja?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function I9(e,t){e.removeChild(t)}function z9(e,t){e.nodeType===Ja?e.parentNode.removeChild(t):e.removeChild(t)}function w1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ja){var d=c.data;if(d===vv)if(i===0){e.removeChild(c),Pp(t);return}else i--;else(d===mv||d===Jp||d===Zp)&&i++}n=c}while(n);Pp(t)}function B9(e,t){e.nodeType===Ja?w1(e.parentNode,t):e.nodeType===_o&&w1(e,t),Pp(e)}function F9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function j9(e){e.nodeValue=""}function H9(e,t){e=e;var n=t[m9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=eb("display",i)}function U9(e,t){e.nodeValue=t}function V9(e){e.nodeType===_o?e.textContent="":e.nodeType===Hs&&e.documentElement&&e.removeChild(e.documentElement)}function W9(e,t,n){return e.nodeType!==_o||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function q9(e,t){return t===""||e.nodeType!==js?null:e}function Y9(e){return e.nodeType!==Ja?null:e}function BC(e){return e.data===Jp}function C1(e){return e.data===Zp}function $9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,c;return t&&(n=t.dgst,i=t.msg,c=t.stck),{message:i,digest:n,stack:c}}function G9(e,t){e._reactRetry=t}function gv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===_o||t===js)break;if(t===Ja){var n=e.data;if(n===mv||n===Zp||n===Jp)break;if(n===vv)return null}}return e}function eh(e){return gv(e.nextSibling)}function K9(e){return gv(e.firstChild)}function X9(e){return gv(e.firstChild)}function Q9(e){return gv(e.nextSibling)}function J9(e,t,n,i,c,d,g){rh(d,e),T1(e,n);var y;{var C=c;y=C.namespace}var E=(d.mode&yr)!==Mt;return l9(e,t,n,y,i,E,g)}function Z9(e,t,n,i){rh(n,e);var c=(n.mode&yr)!==Mt;return s9(e,t)}function eF(e,t){rh(t,e)}function tF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===vv){if(n===0)return eh(t);n--}else(i===mv||i===Zp||i===Jp)&&n++}t=t.nextSibling}return null}function FC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===mv||i===Zp||i===Jp){if(n===0)return t;n--}else i===vv&&n++}t=t.previousSibling}return null}function rF(e){Pp(e)}function aF(e){Pp(e)}function nF(e){return e!=="head"&&e!=="body"}function oF(e,t,n,i){var c=!0;dv(t.nodeValue,n,i,c)}function iF(e,t,n,i,c,d){if(t[hv]!==!0){var g=!0;dv(i.nodeValue,c,d,g)}}function lF(e,t){t.nodeType===_o?p1(e,t):t.nodeType===Ja||h1(e,t)}function sF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===_o?p1(n,t):t.nodeType===Ja||h1(n,t))}}function cF(e,t,n,i,c){(c||t[hv]!==!0)&&(i.nodeType===_o?p1(n,i):i.nodeType===Ja||h1(n,i))}function uF(e,t,n){m1(e,t)}function fF(e,t){v1(e,t)}function dF(e,t,n){{var i=e.parentNode;i!==null&&m1(i,t)}}function pF(e,t){{var n=e.parentNode;n!==null&&v1(n,t)}}function hF(e,t,n,i,c,d){(d||t[hv]!==!0)&&m1(n,i)}function mF(e,t,n,i,c){(c||t[hv]!==!0)&&v1(n,i)}function vF(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gF(e){Yp(e)}var td=Math.random().toString(36).slice(2),rd="__reactFiber$"+td,x1="__reactProps$"+td,th="__reactContainer$"+td,k1="__reactEvents$"+td,_F="__reactListeners$"+td,bF="__reactHandles$"+td;function yF(e){delete e[rd],delete e[x1],delete e[k1],delete e[_F],delete e[bF]}function rh(e,t){t[rd]=e}function _v(e,t){t[th]=e}function jC(e){e[th]=null}function ah(e){return!!e[th]}function zu(e){var t=e[rd];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[rd],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=FC(e);c!==null;){var d=c[rd];if(d)return d;c=FC(c)}return t}e=n,n=e.parentNode}return null}function Bc(e){var t=e[rd]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===Z||t.tag===b)?t:null}function ad(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function bv(e){return e[x1]||null}function T1(e,t){e[x1]=t}function SF(e){var t=e[k1];return t===void 0&&(t=e[k1]=new Set),t}var HC={},UC=o.ReactDebugCurrentFrame;function yv(e){if(e){var t=e._owner,n=Ef(e.type,e._source,t?t.type:null);UC.setExtraStackFrame(n)}else UC.setExtraStackFrame(null)}function Hl(e,t,n,i,c){{var d=Function.call.bind(kt);for(var g in e)if(d(e,g)){var y=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}y=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(yv(c),u("%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 y),yv(null)),y instanceof Error&&!(y.message in HC)&&(HC[y.message]=!0,yv(c),u("Failed %s type: %s",n,y.message),yv(null))}}}var E1=[],Sv;Sv=[];var Ks=-1;function Fc(e){return{current:e}}function zn(e,t){if(Ks<0){u("Unexpected pop.");return}t!==Sv[Ks]&&u("Unexpected Fiber popped."),e.current=E1[Ks],E1[Ks]=null,Sv[Ks]=null,Ks--}function Bn(e,t,n){Ks++,E1[Ks]=e.current,Sv[Ks]=n,e.current=t}var R1;R1={};var Ho={};Object.freeze(Ho);var Xs=Fc(Ho),ms=Fc(!1),D1=Ho;function nd(e,t,n){return n&&vs(t)?D1:Xs.current}function VC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function od(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Ho;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var g in i)d[g]=t[g];{var y=rr(e)||"Unknown";Hl(i,d,"context",y)}return c&&VC(e,t,d),d}}function wv(){return ms.current}function vs(e){{var t=e.childContextTypes;return t!=null}}function Cv(e){zn(ms,e),zn(Xs,e)}function A1(e){zn(ms,e),zn(Xs,e)}function WC(e,t,n){{if(Xs.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn(Xs,t,e),Bn(ms,n,e)}}function qC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=rr(e)||"Unknown";R1[d]||(R1[d]=!0,u("%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.",d,d))}return n}var g=i.getChildContext();for(var y in g)if(!(y in c))throw new Error((rr(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=rr(e)||"Unknown";Hl(c,g,"child context",C)}return Ot({},n,g)}}function xv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return D1=Xs.current,Bn(Xs,n,e),Bn(ms,ms.current,e),!0}}function YC(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 c=qC(e,t,D1);i.__reactInternalMemoizedMergedChildContext=c,zn(ms,e),zn(Xs,e),Bn(Xs,c,e),Bn(ms,n,e)}else zn(ms,e),Bn(ms,n,e)}}function wF(e){{if(!nI(e)||e.tag!==m)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 b:return t.stateNode.context;case m:{var n=t.type;if(vs(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 jc=0,kv=1,Qs=null,L1=!1,N1=!1;function $C(e){Qs===null?Qs=[e]:Qs.push(e)}function CF(e){L1=!0,$C(e)}function GC(){L1&&Hc()}function Hc(){if(!N1&&Qs!==null){N1=!0;var e=0,t=jl();try{var n=!0,i=Qs;for(Sn(Bo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Qs=null,L1=!1}catch(d){throw Qs!==null&&(Qs=Qs.slice(e+1)),_3(Hm,Hc),d}finally{Sn(t),N1=!1}}return null}var id=[],ld=0,Tv=null,Ev=0,bl=[],yl=0,Bu=null,Js=1,Zs="";function xF(e){return ju(),(e.flags&u3)!==zt}function kF(e){return ju(),Ev}function TF(){var e=Zs,t=Js,n=t&~EF(t);return n.toString(32)+e}function Fu(e,t){ju(),id[ld++]=Ev,id[ld++]=Tv,Tv=e,Ev=t}function KC(e,t,n){ju(),bl[yl++]=Js,bl[yl++]=Zs,bl[yl++]=Bu,Bu=e;var i=Js,c=Zs,d=Rv(i)-1,g=i&~(1<<d),y=n+1,C=Rv(t)+d;if(C>30){var E=d-d%5,L=(1<<E)-1,J=(g&L).toString(32),Q=g>>E,ve=d-E,ge=Rv(t)+ve,xe=y<<ve,at=xe|Q,Dt=J+c;Js=1<<ge|at,Zs=Dt}else{var St=y<<d,hr=St|g,mr=c;Js=1<<C|hr,Zs=mr}}function O1(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),KC(e,n,i)}}function Rv(e){return 32-x3(e)}function EF(e){return 1<<Rv(e)-1}function M1(e){for(;e===Tv;)Tv=id[--ld],id[ld]=null,Ev=id[--ld],id[ld]=null;for(;e===Bu;)Bu=bl[--yl],bl[yl]=null,Zs=bl[--yl],bl[yl]=null,Js=bl[--yl],bl[yl]=null}function RF(){return ju(),Bu!==null?{id:Js,overflow:Zs}:null}function DF(e,t){ju(),bl[yl++]=Js,bl[yl++]=Zs,bl[yl++]=Bu,Js=t.id,Zs=t.overflow,Bu=e}function ju(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var kn=null,Sl=null,Ul=!1,Hu=!1,Uc=null;function AF(){Ul&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function XC(){Hu=!0}function LF(){return Hu}function NF(e){var t=e.stateNode.containerInfo;return Sl=X9(t),kn=e,Ul=!0,Uc=null,Hu=!1,!0}function OF(e,t,n){return Sl=Q9(t),kn=e,Ul=!0,Uc=null,Hu=!1,n!==null&&DF(e,n),!0}function QC(e,t){switch(e.tag){case b:{lF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&yr)!==Mt;cF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Z:{var i=e.memoizedState;i.dehydrated!==null&&sF(i.dehydrated,t);break}}}function JC(e,t){QC(e,t);var n=UU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function P1(e,t){{if(Hu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;uF(n,i);break;case k:var d=t.pendingProps;fF(n,d);break}break}case w:{var g=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,L=t.pendingProps,J=(e.mode&yr)!==Mt;hF(g,y,C,E,L,J);break}case k:{var Q=t.pendingProps,ve=(e.mode&yr)!==Mt;mF(g,y,C,Q,ve);break}}break}case Z:{var ge=e.memoizedState,xe=ge.dehydrated;if(xe!==null)switch(t.tag){case w:var at=t.type,Dt=t.pendingProps;dF(xe,at);break;case k:var St=t.pendingProps;pF(xe,St);break}break}default:return}}}function ZC(e,t){t.flags=t.flags&~Vs|Za,P1(e,t)}function ex(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=W9(t,n);return c!==null?(e.stateNode=c,kn=e,Sl=K9(c),!0):!1}case k:{var d=e.pendingProps,g=q9(t,d);return g!==null?(e.stateNode=g,kn=e,Sl=null,!0):!1}case Z:{var y=Y9(t);if(y!==null){var C={dehydrated:y,treeContext:RF(),retryLane:Io};e.memoizedState=C;var E=VU(y);return E.return=e,e.child=E,kn=e,Sl=null,!0}return!1}default:return!1}}function I1(e){return(e.mode&yr)!==Mt&&(e.flags&Ir)===zt}function z1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function B1(e){if(Ul){var t=Sl;if(!t){I1(e)&&(P1(kn,e),z1()),ZC(kn,e),Ul=!1,kn=e;return}var n=t;if(!ex(e,t)){I1(e)&&(P1(kn,e),z1()),t=eh(n);var i=kn;if(!t||!ex(e,t)){ZC(kn,e),Ul=!1,kn=e;return}JC(i,n)}}}function MF(e,t,n){var i=e.stateNode,c=!Hu,d=J9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function PF(e){var t=e.stateNode,n=e.memoizedProps,i=Z9(t,n,e);if(i){var c=kn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,g=(c.mode&yr)!==Mt;oF(d,t,n,g);break}case w:{var y=c.type,C=c.memoizedProps,E=c.stateNode,L=(c.mode&yr)!==Mt;iF(y,C,E,t,n,L);break}}}return i}function IF(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.");eF(n,e)}function zF(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 tF(n)}function tx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Z;)t=t.return;kn=t}function Dv(e){if(e!==kn)return!1;if(!Ul)return tx(e),Ul=!0,!1;if(e.tag!==b&&(e.tag!==w||nF(e.type)&&!b1(e.type,e.memoizedProps))){var t=Sl;if(t)if(I1(e))rx(e),z1();else for(;t;)JC(e,t),t=eh(t)}return tx(e),e.tag===Z?Sl=zF(e):Sl=kn?eh(e.stateNode):null,!0}function BF(){return Ul&&Sl!==null}function rx(e){for(var t=Sl;t;)QC(e,t),t=eh(t)}function sd(){kn=null,Sl=null,Ul=!1,Hu=!1}function ax(){Uc!==null&&(Q4(Uc),Uc=null)}function Tn(){return Ul}function F1(e){Uc===null?Uc=[e]:Uc.push(e)}var FF=o.ReactCurrentBatchConfig,jF=null;function HF(){return FF.transition}var Vl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var UF=function(e){for(var t=null,n=e;n!==null;)n.mode&Pa&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Vu=new Set;Vl.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillUpdate=="function"&&ch.push(e))},Vl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(Q){e.add(rr(Q)||"Component"),Vu.add(Q.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(Q){t.add(rr(Q)||"Component"),Vu.add(Q.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(Q){n.add(rr(Q)||"Component"),Vu.add(Q.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(Q){i.add(rr(Q)||"Component"),Vu.add(Q.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(Q){c.add(rr(Q)||"Component"),Vu.add(Q.type)}),sh=[]);var d=new Set;if(ch.length>0&&(ch.forEach(function(Q){d.add(rr(Q)||"Component"),Vu.add(Q.type)}),ch=[]),t.size>0){var g=Uu(t);u(`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 dp=["value","defaultValue"];function G_(e){{cp("select",e);for(var t=0;t<dp.length;t++){var n=dp[t];if(e[n]!=null){var i=an(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Om()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Om())}}}}function Bs(e,t,n,i){var c=e.options;if(t){for(var d=n,g={},y=0;y<d.length;y++)g["$"+d[y]]=!0;for(var C=0;C<c.length;C++){var E=g.hasOwnProperty("$"+c[C].value);c[C].selected!==E&&(c[C].selected=E),E&&i&&(c[C].defaultSelected=!0)}}else{for(var L=_o(zl(n)),Z=null,J=0;J<c.length;J++){if(c[J].value===L){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Z===null&&!c[J].disabled&&(Z=c[J])}Z!==null&&(Z.selected=!0)}}function pp(e,t){return Ot({},t,{value:void 0})}function Fw(e,t){var n=e;G_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Pf&&(u("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"),Pf=!0)}function ZM(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Bs(n,!!t.multiple,i,!1):t.defaultValue!=null&&Bs(n,!!t.multiple,t.defaultValue,!0)}function eP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Bs(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Bs(n,!!t.multiple,t.defaultValue,!0):Bs(n,!!t.multiple,t.multiple?[]:"",!1))}function tP(e,t){var n=e,i=t.value;i!=null&&Bs(n,!!t.multiple,i,!1)}var jw=!1;function K_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Ot({},t,{value:void 0,defaultValue:void 0,children:_o(n._wrapperState.initialValue)});return i}function Hw(e,t){var n=e;cp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!jw&&(u("%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",Dc()||"A component"),jw=!0);var i=t.value;if(i==null){var c=t.children,d=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(an(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}d=c}}d==null&&(d=""),i=d}n._wrapperState={initialValue:zl(i)}}function Uw(e,t){var n=e,i=zl(t.value),c=zl(t.defaultValue);if(i!=null){var d=_o(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=_o(c))}function Vw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function rP(e,t){Uw(e,t)}var Fs="http://www.w3.org/1999/xhtml",aP="http://www.w3.org/1998/Math/MathML",X_="http://www.w3.org/2000/svg";function Q_(e){switch(e){case"svg":return X_;case"math":return aP;default:return Fs}}function J_(e,t){return e==null||e===Fs?Q_(t):e===X_&&t==="foreignObject"?Fs:e}var nP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Mm,Ww=nP(function(e,t){if(e.namespaceURI===X_&&!("innerHTML"in e)){Mm=Mm||document.createElement("div"),Mm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Mm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),bo=1,js=3,Ja=8,Hs=9,Z_=11,Pm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===js){n.nodeValue=t;return}}e.textContent=t},oP={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"]},hp={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 iP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var lP=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){lP.forEach(function(t){hp[iP(t,e)]=hp[e]})});function eb(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(hp.hasOwnProperty(e)&&hp[e])?t+"px":(Ur(t,e),(""+t).trim())}var sP=/([A-Z])/g,cP=/^ms-/;function uP(e){return e.replace(sP,"-$1").toLowerCase().replace(cP,"-ms-")}var qw=function(){};{var fP=/^(?:webkit|moz|o)[A-Z]/,dP=/^-ms-/,pP=/-(.)/g,Yw=/;\s*$/,If={},tb={},$w=!1,Gw=!1,hP=function(e){return e.replace(pP,function(t,n){return n.toUpperCase()})},mP=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,hP(e.replace(dP,"ms-"))))},vP=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},gP=function(e,t){tb.hasOwnProperty(t)&&tb[t]||(tb[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Yw,"")))},_P=function(e,t){$w||($w=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},bP=function(e,t){Gw||(Gw=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};qw=function(e,t){e.indexOf("-")>-1?mP(e):fP.test(e)?vP(e):Yw.test(t)&&gP(e,t),typeof t=="number"&&(isNaN(t)?_P(e,t):isFinite(t)||bP(e,t))}}var yP=qw;function SP(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var d=i.indexOf("--")===0;t+=n+(d?i:uP(i))+":",t+=eb(i,c,d),n=";"}}return t||null}}function Kw(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||yP(i,t[i]);var d=eb(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function wP(e){return e==null||typeof e=="boolean"||e===""}function Xw(e){var t={};for(var n in e)for(var i=oP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function CP(e,t){{if(!t)return;var n=Xw(e),i=Xw(t),c={};for(var d in n){var g=n[d],y=i[d];if(y&&g!==y){var C=g+","+y;if(c[C])continue;c[C]=!0,u("%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.",wP(e[g])?"Removing":"Updating",g,y)}}}}var xP={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},kP=Ot({menuitem:!0},xP),TP="__html";function rb(e,t){if(t){if(kP[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"||!(TP 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&&u("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 Cu(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 Im={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"},Qw={"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},zf={},EP=new RegExp("^(aria)-["+ct+"]*$"),RP=new RegExp("^(aria)[A-Z]["+ct+"]*$");function DP(e,t){{if(wt.call(zf,t)&&zf[t])return!0;if(RP.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Qw.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),zf[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),zf[t]=!0,!0}if(EP.test(t)){var c=t.toLowerCase(),d=Qw.hasOwnProperty(c)?c:null;if(d==null)return zf[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),zf[t]=!0,!0}}return!0}function AP(e,t){{var n=[];for(var i in t){var c=DP(e,i);c||n.push(i)}var d=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function LP(e,t){Cu(e,t)||AP(e,t)}var Jw=!1;function NP(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Jw&&(Jw=!0,e==="select"&&t.multiple?u("`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):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Zw=function(){};{var Gn={},e3=/^on./,OP=/^on[^A-Z]/,MP=new RegExp("^(aria)-["+ct+"]*$"),PP=new RegExp("^(aria)[A-Z]["+ct+"]*$");Zw=function(e,t,n,i){if(wt.call(Gn,t)&&Gn[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return u("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."),Gn[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=g.hasOwnProperty(c)?g[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Gn[t]=!0,!0;if(e3.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Gn[t]=!0,!0}else if(e3.test(t))return OP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Gn[t]=!0,!0;if(MP.test(t)||PP.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Gn[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Gn[t]=!0,!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Gn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Gn[t]=!0,!0;var C=P(t),E=C!==null&&C.type===pr;if(Im.hasOwnProperty(c)){var L=Im[c];if(L!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,L),Gn[t]=!0,!0}else if(!E&&t!==c)return u("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,c),Gn[t]=!0,!0;return typeof n=="boolean"&&Kr(t,n,C,!1)?(n?u('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):u('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),Gn[t]=!0,!0):E?!0:Kr(t,n,C,!1)?(Gn[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===kr&&(u("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),Gn[t]=!0),!0)}}var IP=function(e,t,n){{var i=[];for(var c in t){var d=Zw(e,c,t[c],n);d||i.push(c)}var g=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?u("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&&u("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 zP(e,t,n){Cu(e,t)||IP(e,t,n)}var t3=1,ab=2,mp=4,BP=t3|ab|mp,vp=null;function FP(e){vp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),vp=e}function jP(){vp===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),vp=null}function HP(e){return e===vp}function nb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===js?t.parentNode:t}var ob=null,Bf=null,Ff=null;function r3(e){var t=Bc(e);if(t){if(typeof ob!="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=bv(n);ob(t.stateNode,t.type,i)}}}function UP(e){ob=e}function a3(e){Bf?Ff?Ff.push(e):Ff=[e]:Bf=e}function VP(){return Bf!==null||Ff!==null}function n3(){if(Bf){var e=Bf,t=Ff;if(Bf=null,Ff=null,r3(e),t)for(var n=0;n<t.length;n++)r3(t[n])}}var o3=function(e,t){return e(t)},i3=function(){},ib=!1;function WP(){var e=VP();e&&(i3(),n3())}function l3(e,t,n){if(ib)return e(t,n);ib=!0;try{return o3(e,t,n)}finally{ib=!1,WP()}}function qP(e,t,n){o3=e,i3=n}function YP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function $P(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&&YP(t));default:return!1}}function gp(e,t){var n=e.stateNode;if(n===null)return null;var i=bv(n);if(i===null)return null;var c=i[t];if($P(t,e.type,i))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var lb=!1;if(st)try{var _p={};Object.defineProperty(_p,"passive",{get:function(){lb=!0}}),window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){lb=!1}function s3(e,t,n,i,c,d,g,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(L){this.onError(L)}}var c3=s3;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var sb=document.createElement("react");c3=function(t,n,i,c,d,g,y,C,E){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 L=document.createEvent("Event"),Z=!1,J=!0,ye=window.event,Se=Object.getOwnPropertyDescriptor(window,"event");function ke(){sb.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ye)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,ke(),n.apply(i,rt),J=!1}var St,hr=!1,mr=!1;function ce(ue){if(St=ue.error,hr=!0,St===null&&ue.colno===0&&ue.lineno===0&&(mr=!0),ue.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(Ye){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ce),sb.addEventListener(De,Rt,!1),L.initEvent(De,!1,!1),sb.dispatchEvent(L),Se&&Object.defineProperty(window,"event",Se),Z&&J&&(hr?mr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ce),!Z)return ke(),s3.apply(this,arguments)}}var GP=c3,jf=!1,zm=null,Bm=!1,cb=null,KP={onError:function(e){jf=!0,zm=e}};function ub(e,t,n,i,c,d,g,y,C){jf=!1,zm=null,GP.apply(KP,arguments)}function XP(e,t,n,i,c,d,g,y,C){if(ub.apply(this,arguments),jf){var E=fb();Bm||(Bm=!0,cb=E)}}function QP(){if(Bm){var e=cb;throw Bm=!1,cb=null,e}}function JP(){return jf}function fb(){if(jf){var e=zm;return jf=!1,zm=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 Hf(e){return e._reactInternals}function ZP(e){return e._reactInternals!==void 0}function eI(e,t){e._reactInternals=t}var Bt=0,Uf=1,Za=2,Er=4,xu=16,bp=32,db=64,zr=128,Us=256,Lc=512,ku=1024,Bl=2048,Vs=4096,Tu=8192,Fm=16384,tI=Bl|Er|db|Lc|ku|Fm,rI=32767,yp=32768,Kn=65536,pb=131072,u3=1048576,hb=2097152,Eu=4194304,mb=8388608,Ws=16777216,jm=33554432,vb=Er|ku|0,gb=Za|Er|xu|bp|Lc|Vs|Tu,Sp=Er|db|Lc|Tu,Vf=Bl|xu,qs=Eu|mb|hb,aI=o.ReactCurrentOwner;function Ru(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|Vs))!==Bt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function f3(e){if(e.tag===Q){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 d3(e){return e.tag===b?e.stateNode.containerInfo:null}function nI(e){return Ru(e)===e}function oI(e){{var t=aI.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||u("%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.",ar(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=Hf(e);return c?Ru(c)===c:!1}function p3(e){if(Ru(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function h3(e){var t=e.alternate;if(!t){var n=Ru(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,c=t;;){var d=i.return;if(d===null)break;var g=d.alternate;if(g===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===g.child){for(var C=d.child;C;){if(C===i)return p3(d),e;if(C===c)return p3(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=g;else{for(var E=!1,L=d.child;L;){if(L===i){E=!0,i=d,c=g;break}if(L===c){E=!0,c=d,i=g;break}L=L.sibling}if(!E){for(L=g.child;L;){if(L===i){E=!0,i=g,c=d;break}if(L===c){E=!0,c=g,i=d;break}L=L.sibling}if(!E)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!==c)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!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function m3(e){var t=h3(e);return t!==null?v3(t):null}function v3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=v3(t);if(n!==null)return n;t=t.sibling}return null}function iI(e){var t=h3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=g3(t);if(n!==null)return n}t=t.sibling}return null}var _3=a.unstable_scheduleCallback,lI=a.unstable_cancelCallback,sI=a.unstable_shouldYield,cI=a.unstable_requestPaint,_n=a.unstable_now,uI=a.unstable_getCurrentPriorityLevel,Hm=a.unstable_ImmediatePriority,_b=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,fI=a.unstable_LowPriority,bb=a.unstable_IdlePriority,dI=a.unstable_yieldValue,pI=a.unstable_setDisableYieldValue,Au=null,kn=null,nt=null,ds=!1,Fl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function hI(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 u("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{Ke&&(e=Ot({},e,{getLaneLabelMap:yI,injectProfilingHooks:bI})),Au=t.inject(e),kn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function mI(e,t){if(kn&&typeof kn.onScheduleFiberRoot=="function")try{kn.onScheduleFiberRoot(Au,e,t)}catch(n){ds||(ds=!0,u("React instrumentation encountered an error: %s",n))}}function vI(e,t){if(kn&&typeof kn.onCommitFiberRoot=="function")try{var n=(e.current.flags&zr)===zr;if(tt){var i;switch(t){case Bo:i=Hm;break;case $s:i=_b;break;case Gs:i=Du;break;case Gm:i=bb;break;default:i=Du;break}kn.onCommitFiberRoot(Au,e,i,n)}else kn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){ds||(ds=!0,u("React instrumentation encountered an error: %s",c))}}function gI(e){if(kn&&typeof kn.onPostCommitFiberRoot=="function")try{kn.onPostCommitFiberRoot(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function _I(e){if(kn&&typeof kn.onCommitFiberUnmount=="function")try{kn.onCommitFiberUnmount(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof dI=="function"&&(pI(e),s(e)),kn&&typeof kn.setStrictMode=="function")try{kn.setStrictMode(Au,e)}catch(t){ds||(ds=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){nt=e}function yI(){{for(var e=new Map,t=1,n=0;n<Sb;n++){var i=jI(t);e.set(t,i),t*=2}return e}}function SI(e){nt!==null&&typeof nt.markCommitStarted=="function"&&nt.markCommitStarted(e)}function b3(){nt!==null&&typeof nt.markCommitStopped=="function"&&nt.markCommitStopped()}function wp(e){nt!==null&&typeof nt.markComponentRenderStarted=="function"&&nt.markComponentRenderStarted(e)}function Wf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function wI(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function CI(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function xI(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function kI(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function TI(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function EI(){nt!==null&&typeof nt.markComponentLayoutEffectMountStopped=="function"&&nt.markComponentLayoutEffectMountStopped()}function y3(e){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStarted=="function"&&nt.markComponentLayoutEffectUnmountStarted(e)}function S3(){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStopped=="function"&&nt.markComponentLayoutEffectUnmountStopped()}function RI(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function DI(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function AI(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function LI(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function NI(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function OI(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function w3(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function MI(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function C3(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function PI(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function II(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function yb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Mt=0,yr=1,Jr=2,za=8,ps=16,x3=Math.clz32?Math.clz32:FI,zI=Math.log,BI=Math.LN2;function FI(e){var t=e>>>0;return t===0?32:31-(zI(t)/BI|0)|0}var Sb=31,Ie=0,yn=0,qt=1,qf=2,Ys=4,Lu=8,hs=16,Cp=32,Yf=4194240,xp=64,wb=128,Cb=256,xb=512,kb=1024,Tb=2048,Eb=4096,Rb=8192,Db=16384,Ab=32768,Lb=65536,Nb=131072,Ob=262144,Mb=524288,Pb=1048576,Ib=2097152,Um=130023424,$f=4194304,zb=8388608,Bb=16777216,Fb=33554432,jb=67108864,k3=$f,kp=134217728,T3=268435455,Tp=268435456,Nu=536870912,Io=1073741824;function jI(e){{if(e&qt)return"Sync";if(e&qf)return"InputContinuousHydration";if(e&Ys)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&hs)return"Default";if(e&Cp)return"TransitionHydration";if(e&Yf)return"Transition";if(e&Um)return"Retry";if(e&kp)return"SelectiveHydration";if(e&Tp)return"IdleHydration";if(e&Nu)return"Idle";if(e&Io)return"Offscreen"}}var va=-1,Vm=xp,Wm=$f;function Ep(e){switch(Ou(e)){case qt:return qt;case qf:return qf;case Ys:return Ys;case Lu:return Lu;case hs:return hs;case Cp:return Cp;case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:return e&Yf;case $f:case zb:case Bb:case Fb:case jb:return e&Um;case kp:return kp;case Tp:return Tp;case Nu:return Nu;case Io:return Io;default:return u("Should have found matching lanes. This is a bug in React."),e}}function qm(e,t){var n=e.pendingLanes;if(n===Ie)return Ie;var i=Ie,c=e.suspendedLanes,d=e.pingedLanes,g=n&T3;if(g!==Ie){var y=g&~c;if(y!==Ie)i=Ep(y);else{var C=g&d;C!==Ie&&(i=Ep(C))}}else{var E=n&~c;E!==Ie?i=Ep(E):d!==Ie&&(i=Ep(d))}if(i===Ie)return Ie;if(t!==Ie&&t!==i&&(t&c)===Ie){var L=Ou(i),Z=Ou(t);if(L>=Z||L===hs&&(Z&Yf)!==Ie)return t}(i&Ys)!==Ie&&(i|=n&hs);var J=e.entangledLanes;if(J!==Ie)for(var ye=e.entanglements,Se=i&J;Se>0;){var ke=Mu(Se),rt=1<<ke;i|=ye[ke],Se&=~rt}return i}function HI(e,t){for(var n=e.eventTimes,i=va;t>0;){var c=Mu(t),d=1<<c,g=n[c];g>i&&(i=g),t&=~d}return i}function UI(e,t){switch(e){case qt:case qf:case Ys:return t+250;case Lu:case hs:case Cp:case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:return t+5e3;case $f:case zb:case Bb:case Fb:case jb:return va;case kp:case Tp:case Nu:case Io:return va;default:return u("Should have found matching lanes. This is a bug in React."),va}}function VI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,g=n;g>0;){var y=Mu(g),C=1<<y,E=d[y];E===va?((C&i)===Ie||(C&c)!==Ie)&&(d[y]=UI(C,t)):E<=t&&(e.expiredLanes|=C),g&=~C}}function WI(e){return Ep(e.pendingLanes)}function Hb(e){var t=e.pendingLanes&~Io;return t!==Ie?t:t&Io?Io:Ie}function qI(e){return(e&qt)!==Ie}function Ub(e){return(e&T3)!==Ie}function E3(e){return(e&Um)===e}function YI(e){var t=qt|Ys|hs;return(e&t)===Ie}function $I(e){return(e&Yf)===e}function Ym(e,t){var n=qf|Ys|Lu|hs;return(t&n)!==Ie}function GI(e,t){return(t&e.expiredLanes)!==Ie}function R3(e){return(e&Yf)!==Ie}function D3(){var e=Vm;return Vm<<=1,(Vm&Yf)===Ie&&(Vm=xp),e}function KI(){var e=Wm;return Wm<<=1,(Wm&Um)===Ie&&(Wm=$f),e}function Ou(e){return e&-e}function Rp(e){return Ou(e)}function Mu(e){return 31-x3(e)}function Vb(e){return Mu(e)}function zo(e,t){return(e&t)!==Ie}function Gf(e,t){return(e&t)===t}function lr(e,t){return e|t}function $m(e,t){return e&~t}function A3(e,t){return e&t}function V$(e){return e}function XI(e,t){return e!==yn&&e<t?e:t}function Wb(e){for(var t=[],n=0;n<Sb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=Ie,e.pingedLanes=Ie);var i=e.eventTimes,c=Vb(t);i[c]=n}function QI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Mu(i),d=1<<c;n[c]=va,i&=~d}}function L3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function JI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ie,e.pingedLanes=Ie,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,g=n;g>0;){var y=Mu(g),C=1<<y;i[y]=Ie,c[y]=va,d[y]=va,g&=~C}}function qb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Mu(c),g=1<<d;g&t|i[d]&t&&(i[d]|=t),c&=~g}}function ZI(e,t){var n=Ou(t),i;switch(n){case Ys:i=qf;break;case hs:i=Lu;break;case xp:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Ib:case $f:case zb:case Bb:case Fb:case jb:i=Cp;break;case Nu:i=Tp;break;default:i=yn;break}return(i&(e.suspendedLanes|t))!==yn?yn:i}function N3(e,t,n){if(Fl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Vb(n),d=1<<c,g=i[c];g.add(t),n&=~d}}function O3(e,t){if(Fl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Vb(t),d=1<<c,g=n[c];g.size>0&&(g.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),g.clear()),t&=~d}}function M3(e,t){return null}var Bo=qt,$s=Ys,Gs=hs,Gm=Nu,Ap=yn;function jl(){return Ap}function Sn(e){Ap=e}function ez(e,t){var n=Ap;try{return Ap=e,t()}finally{Ap=n}}function tz(e,t){return e!==0&&e<t?e:t}function rz(e,t){return e===0||e>t?e:t}function Yb(e,t){return e!==0&&e<t}function P3(e){var t=Ou(e);return Yb(Bo,t)?Yb($s,t)?Ub(t)?Gs:Gm:$s:Bo}function Km(e){var t=e.current.memoizedState;return t.isDehydrated}var I3;function az(e){I3=e}function nz(e){I3(e)}var $b;function oz(e){$b=e}var z3;function iz(e){z3=e}var B3;function lz(e){B3=e}var F3;function sz(e){F3=e}var Gb=!1,Xm=[],Nc=null,Oc=null,Mc=null,Lp=new Map,Np=new Map,Pc=[],cz=["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 uz(e){return cz.indexOf(e)>-1}function fz(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function j3(e,t){switch(e){case"focusin":case"focusout":Nc=null;break;case"dragenter":case"dragleave":Oc=null;break;case"mouseover":case"mouseout":Mc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Lp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Np.delete(i);break}}}function Op(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var g=fz(t,n,i,c,d);if(t!==null){var y=Bc(t);y!==null&&$b(y)}return g}e.eventSystemFlags|=i;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function dz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Nc=Op(Nc,e,t,n,i,d),!0}case"dragenter":{var g=c;return Oc=Op(Oc,e,t,n,i,g),!0}case"mouseover":{var y=c;return Mc=Op(Mc,e,t,n,i,y),!0}case"pointerover":{var C=c,E=C.pointerId;return Lp.set(E,Op(Lp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var L=c,Z=L.pointerId;return Np.set(Z,Op(Np.get(Z)||null,e,t,n,i,L)),!0}}return!1}function H3(e){var t=zu(e.target);if(t!==null){var n=Ru(t);if(n!==null){var i=n.tag;if(i===Q){var c=f3(n);if(c!==null){e.blockedOn=c,F3(e.priority,function(){z3(n)});return}}else if(i===b){var d=n.stateNode;if(Km(d)){e.blockedOn=d3(n);return}}}}e.blockedOn=null}function pz(e){for(var t=B3(),n={blockedOn:null,target:e,priority:t},i=0;i<Pc.length&&Yb(t,Pc[i].priority);i++);Pc.splice(i,0,n),i===0&&H3(n)}function Qm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Qb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);FP(d),c.target.dispatchEvent(d),jP()}else{var g=Bc(i);return g!==null&&$b(g),e.blockedOn=i,!1}t.shift()}return!0}function U3(e,t,n){Qm(e)&&n.delete(t)}function hz(){Gb=!1,Nc!==null&&Qm(Nc)&&(Nc=null),Oc!==null&&Qm(Oc)&&(Oc=null),Mc!==null&&Qm(Mc)&&(Mc=null),Lp.forEach(U3),Np.forEach(U3)}function Mp(e,t){e.blockedOn===t&&(e.blockedOn=null,Gb||(Gb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,hz)))}function Pp(e){if(Xm.length>0){Mp(Xm[0],e);for(var t=1;t<Xm.length;t++){var n=Xm[t];n.blockedOn===e&&(n.blockedOn=null)}}Nc!==null&&Mp(Nc,e),Oc!==null&&Mp(Oc,e),Mc!==null&&Mp(Mc,e);var i=function(y){return Mp(y,e)};Lp.forEach(i),Np.forEach(i);for(var c=0;c<Pc.length;c++){var d=Pc[c];d.blockedOn===e&&(d.blockedOn=null)}for(;Pc.length>0;){var g=Pc[0];if(g.blockedOn!==null)break;H3(g),g.blockedOn===null&&Pc.shift()}}var Kf=o.ReactCurrentBatchConfig,Kb=!0;function V3(e){Kb=!!e}function mz(){return Kb}function vz(e,t,n){var i=W3(t),c;switch(i){case Bo:c=gz;break;case $s:c=_z;break;case Gs:default:c=Xb;break}return c.bind(null,t,n,e)}function gz(e,t,n,i){var c=jl(),d=Kf.transition;Kf.transition=null;try{Sn(Bo),Xb(e,t,n,i)}finally{Sn(c),Kf.transition=d}}function _z(e,t,n,i){var c=jl(),d=Kf.transition;Kf.transition=null;try{Sn($s),Xb(e,t,n,i)}finally{Sn(c),Kf.transition=d}}function Xb(e,t,n,i){Kb&&bz(e,t,n,i)}function bz(e,t,n,i){var c=Qb(e,t,n,i);if(c===null){fy(e,t,i,Jm,n),j3(e,i);return}if(dz(c,e,t,n,i)){i.stopPropagation();return}if(j3(e,i),t&mp&&uz(e)){for(;c!==null;){var d=Bc(c);d!==null&&nz(d);var g=Qb(e,t,n,i);if(g===null&&fy(e,t,i,Jm,n),g===c)break;c=g}c!==null&&i.stopPropagation();return}fy(e,t,i,null,n)}var Jm=null;function Qb(e,t,n,i){Jm=null;var c=nb(i),d=zu(c);if(d!==null){var g=Ru(d);if(g===null)d=null;else{var y=g.tag;if(y===Q){var C=f3(g);if(C!==null)return C;d=null}else if(y===b){var E=g.stateNode;if(Km(E))return d3(g);d=null}else g!==d&&(d=null)}}return Jm=d,null}function W3(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 Bo;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 $s;case"message":{var t=uI();switch(t){case Hm:return Bo;case _b:return $s;case Du:case fI:return Gs;case bb:return Gm;default:return Gs}}default:return Gs}}function yz(e,t,n){return e.addEventListener(t,n,!1),n}function Sz(e,t,n){return e.addEventListener(t,n,!0),n}function wz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Ip=null,Jb=null,zp=null;function xz(e){return Ip=e,Jb=Y3(),!0}function kz(){Ip=null,Jb=null,zp=null}function q3(){if(zp)return zp;var e,t=Jb,n=t.length,i,c=Y3(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var g=n-e;for(i=1;i<=g&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return zp=c.slice(e,y),zp}function Y3(){return"value"in Ip?Ip.value:Ip.textContent}function Zm(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 ev(){return!0}function $3(){return!1}function Fo(e){function t(n,i,c,d,g){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=ev:this.isDefaultPrevented=$3,this.isPropagationStopped=$3,this}return Ot(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=ev)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ev)},persist:function(){},isPersistent:ev}),t}var Xf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zb=Fo(Xf),Bp=Ot({},Xf,{view:0,detail:0}),Tz=Fo(Bp),ey,ty,Fp;function Ez(e){e!==Fp&&(Fp&&e.type==="mousemove"?(ey=e.screenX-Fp.screenX,ty=e.screenY-Fp.screenY):(ey=0,ty=0),Fp=e)}var tv=Ot({},Bp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ay,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:(Ez(e),ey)},movementY:function(e){return"movementY"in e?e.movementY:ty}}),G3=Fo(tv),Rz=Ot({},tv,{dataTransfer:0}),Dz=Fo(Rz),Az=Ot({},Bp,{relatedTarget:0}),ry=Fo(Az),Lz=Ot({},Xf,{animationName:0,elapsedTime:0,pseudoElement:0}),Nz=Fo(Lz),Oz=Ot({},Xf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mz=Fo(Oz),Pz=Ot({},Xf,{data:0}),K3=Fo(Pz),Iz=K3,zz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bz={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 Fz(e){if(e.key){var t=zz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Zm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Bz[e.keyCode]||"Unidentified":""}var jz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=jz[e];return i?!!n[i]:!1}function ay(e){return Hz}var Uz=Ot({},Bp,{key:Fz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ay,charCode:function(e){return e.type==="keypress"?Zm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vz=Fo(Uz),Wz=Ot({},tv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),X3=Fo(Wz),qz=Ot({},Bp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ay}),Yz=Fo(qz),$z=Ot({},Xf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gz=Fo($z),Kz=Ot({},tv,{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}),Xz=Fo(Kz),Qz=[9,13,27,32],Q3=229,ny=st&&"CompositionEvent"in window,jp=null;st&&"documentMode"in document&&(jp=document.documentMode);var Jz=st&&"TextEvent"in window&&!jp,J3=st&&(!ny||jp&&jp>8&&jp<=11),Z3=32,eC=String.fromCharCode(Z3);function Zz(){Ge("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ge("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ge("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ge("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var tC=!1;function eB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function rB(e,t){return e==="keydown"&&t.keyCode===Q3}function rC(e,t){switch(e){case"keyup":return Qz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Q3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function nC(e){return e.locale==="ko"}var Qf=!1;function aB(e,t,n,i,c){var d,g;if(ny?d=tB(t):Qf?rC(t,i)&&(d="onCompositionEnd"):rB(t,i)&&(d="onCompositionStart"),!d)return null;J3&&!nC(i)&&(!Qf&&d==="onCompositionStart"?Qf=xz(c):d==="onCompositionEnd"&&Qf&&(g=q3()));var y=iv(n,d);if(y.length>0){var C=new K3(d,t,null,i,c);if(e.push({event:C,listeners:y}),g)C.data=g;else{var E=aC(i);E!==null&&(C.data=E)}}}function nB(e,t){switch(e){case"compositionend":return aC(t);case"keypress":var n=t.which;return n!==Z3?null:(tC=!0,eC);case"textInput":var i=t.data;return i===eC&&tC?null:i;default:return null}}function oB(e,t){if(Qf){if(e==="compositionend"||!ny&&rC(e,t)){var n=q3();return kz(),Qf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!eB(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return J3&&!nC(t)?null:t.data;default:return null}}function iB(e,t,n,i,c){var d;if(Jz?d=nB(t,i):d=oB(t,i),!d)return null;var g=iv(n,"onBeforeInput");if(g.length>0){var y=new Iz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:g}),y.data=d}}function lB(e,t,n,i,c,d,g){aB(e,t,n,i,c),iB(e,t,n,i,c)}var sB={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 oC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sB[e.type]:t==="textarea"}function cB(e){if(!st)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 uB(){Ge("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function iC(e,t,n,i){a3(i);var c=iv(t,"onChange");if(c.length>0){var d=new Zb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Hp=null,Up=null;function fB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function dB(e){var t=[];iC(t,Up,e,nb(e)),l3(pB,t)}function pB(e){xC(e,0)}function rv(e){var t=ad(e);if(Nf(t))return e}function hB(e,t){if(e==="change")return t}var lC=!1;st&&(lC=cB("input")&&(!document.documentMode||document.documentMode>9));function mB(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",cC)}function sC(){Hp&&(Hp.detachEvent("onpropertychange",cC),Hp=null,Up=null)}function cC(e){e.propertyName==="value"&&rv(Up)&&dB(e)}function vB(e,t,n){e==="focusin"?(sC(),mB(t,n)):e==="focusout"&&sC()}function gB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rv(Up)}function _B(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function bB(e,t){if(e==="click")return rv(t)}function yB(e,t){if(e==="input"||e==="change")return rv(t)}function SB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Wr(e,"number",e.value)}function wB(e,t,n,i,c,d,g){var y=n?ad(n):window,C,E;if(fB(y)?C=hB:oC(y)?lC?C=yB:(C=gB,E=vB):_B(y)&&(C=bB),C){var L=C(t,n);if(L){iC(e,L,i,c);return}}E&&E(t,y,n),t==="focusout"&&SB(y)}function CB(){Ce("onMouseEnter",["mouseout","mouseover"]),Ce("onMouseLeave",["mouseout","mouseover"]),Ce("onPointerEnter",["pointerout","pointerover"]),Ce("onPointerLeave",["pointerout","pointerover"])}function xB(e,t,n,i,c,d,g){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!HP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||ah(E)))return}if(!(!C&&!y)){var L;if(c.window===c)L=c;else{var Z=c.ownerDocument;Z?L=Z.defaultView||Z.parentWindow:L=window}var J,ye;if(C){var Se=i.relatedTarget||i.toElement;if(J=n,ye=Se?zu(Se):null,ye!==null){var ke=Ru(ye);(ye!==ke||ye.tag!==w&&ye.tag!==k)&&(ye=null)}}else J=null,ye=n;if(J!==ye){var rt=G3,Rt="onMouseLeave",St="onMouseEnter",hr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=X3,Rt="onPointerLeave",St="onPointerEnter",hr="pointer");var mr=J==null?L:ad(J),ce=ye==null?L:ad(ye),De=new rt(Rt,hr+"leave",J,i,c);De.target=mr,De.relatedTarget=ce;var ue=null,Ye=zu(c);if(Ye===n){var ut=new rt(St,hr+"enter",ye,i,c);ut.target=ce,ut.relatedTarget=mr,ue=ut}GB(e,De,ue,J,ye)}}}function kB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:kB;function Vp(e,t){if(jo(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 c=0;c<n.length;c++){var d=n[c];if(!wt.call(t,d)||!jo(e[d],t[d]))return!1}return!0}function uC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function fC(e,t){for(var n=uC(e),i=0,c=0;n;){if(n.nodeType===js){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=uC(TB(n))}}function EB(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var c=i.anchorNode,d=i.anchorOffset,g=i.focusNode,y=i.focusOffset;try{c.nodeType,g.nodeType}catch(C){return null}return RB(e,c,d,g,y)}function RB(e,t,n,i,c){var d=0,g=-1,y=-1,C=0,E=0,L=e,Z=null;e:for(;;){for(var J=null;L===t&&(n===0||L.nodeType===js)&&(g=d+n),L===i&&(c===0||L.nodeType===js)&&(y=d+c),L.nodeType===js&&(d+=L.nodeValue.length),(J=L.firstChild)!==null;)Z=L,L=J;for(;;){if(L===e)break e;if(Z===t&&++C===n&&(g=d),Z===i&&++E===c&&(y=d),(J=L.nextSibling)!==null)break;L=Z,Z=L.parentNode}L=J}return g===-1||y===-1?null:{start:g,end:y}}function DB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,g=Math.min(t.start,d),y=t.end===void 0?g:Math.min(t.end,d);if(!c.extend&&g>y){var C=y;y=g,g=C}var E=fC(e,g),L=fC(e,y);if(E&&L){if(c.rangeCount===1&&c.anchorNode===E.node&&c.anchorOffset===E.offset&&c.focusNode===L.node&&c.focusOffset===L.offset)return;var Z=n.createRange();Z.setStart(E.node,E.offset),c.removeAllRanges(),g>y?(c.addRange(Z),c.extend(L.node,L.offset)):(Z.setEnd(L.node,L.offset),c.addRange(Z))}}}function dC(e){return e&&e.nodeType===js}function pC(e,t){return!e||!t?!1:e===t?!0:dC(e)?!1:dC(t)?pC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function AB(e){return e&&e.ownerDocument&&pC(e.ownerDocument.documentElement,e)}function LB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function hC(){for(var e=window,t=Of();t instanceof e.HTMLIFrameElement;){if(LB(t))e=t.contentWindow;else return t;t=Of(e.document)}return t}function oy(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 NB(){var e=hC();return{focusedElem:e,selectionRange:oy(e)?MB(e):null}}function OB(e){var t=hC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&AB(n)){i!==null&&oy(n)&&PB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===bo&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<c.length;g++){var y=c[g];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function MB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=EB(e),t||{start:0,end:0}}function PB(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)):DB(e,t)}var IB=st&&"documentMode"in document&&document.documentMode<=11;function zB(){Ge("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jf=null,iy=null,Wp=null,ly=!1;function BB(e){if("selectionStart"in e&&oy(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 FB(e){return e.window===e?e.document:e.nodeType===Hs?e:e.ownerDocument}function mC(e,t,n){var i=FB(n);if(!(ly||Jf==null||Jf!==Of(i))){var c=BB(Jf);if(!Wp||!Vp(Wp,c)){Wp=c;var d=iv(iy,"onSelect");if(d.length>0){var g=new Zb("onSelect","select",null,t,n);e.push({event:g,listeners:d}),g.target=Jf}}}}function jB(e,t,n,i,c,d,g){var y=n?ad(n):window;switch(t){case"focusin":(oC(y)||y.contentEditable==="true")&&(Jf=y,iy=n,Wp=null);break;case"focusout":Jf=null,iy=null,Wp=null;break;case"mousedown":ly=!0;break;case"contextmenu":case"mouseup":case"dragend":ly=!1,mC(e,i,c);break;case"selectionchange":if(IB)break;case"keydown":case"keyup":mC(e,i,c)}}function av(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zf={animationend:av("Animation","AnimationEnd"),animationiteration:av("Animation","AnimationIteration"),animationstart:av("Animation","AnimationStart"),transitionend:av("Transition","TransitionEnd")},sy={},vC={};st&&(vC=document.createElement("div").style,"AnimationEvent"in window||(delete Zf.animationend.animation,delete Zf.animationiteration.animation,delete Zf.animationstart.animation),"TransitionEvent"in window||delete Zf.transitionend.transition);function nv(e){if(sy[e])return sy[e];if(!Zf[e])return e;var t=Zf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in vC)return sy[e]=t[n];return e}var gC=nv("animationend"),_C=nv("animationiteration"),bC=nv("animationstart"),yC=nv("transitionend"),SC=new Map,wC=["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 Ic(e,t){SC.set(e,t),Ge(t,[e])}function HB(){for(var e=0;e<wC.length;e++){var t=wC[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Ic(n,"on"+i)}Ic(gC,"onAnimationEnd"),Ic(_C,"onAnimationIteration"),Ic(bC,"onAnimationStart"),Ic("dblclick","onDoubleClick"),Ic("focusin","onFocus"),Ic("focusout","onBlur"),Ic(yC,"onTransitionEnd")}function UB(e,t,n,i,c,d,g){var y=SC.get(t);if(y!==void 0){var C=Zb,E=t;switch(t){case"keypress":if(Zm(i)===0)return;case"keydown":case"keyup":C=Vz;break;case"focusin":E="focus",C=ry;break;case"focusout":E="blur",C=ry;break;case"beforeblur":case"afterblur":C=ry;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=G3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Dz;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Yz;break;case gC:case _C:case bC:C=Nz;break;case yC:C=Gz;break;case"scroll":C=Tz;break;case"wheel":C=Xz;break;case"copy":case"cut":case"paste":C=Mz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=X3;break}var L=(d&mp)!==0;{var Z=!L&&t==="scroll",J=YB(n,y,i.type,L,Z);if(J.length>0){var ye=new C(y,E,null,i,c);e.push({event:ye,listeners:J})}}}}HB(),CB(),uB(),zB(),Zz();function VB(e,t,n,i,c,d,g){UB(e,t,n,i,c,d);var y=(d&BP)===0;y&&(xB(e,t,n,i,c),wB(e,t,n,i,c),jB(e,t,n,i,c),lB(e,t,n,i,c))}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"],cy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function CC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,XP(i,t,void 0,e),e.currentTarget=null}function WB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],g=d.instance,y=d.currentTarget,C=d.listener;if(g!==i&&e.isPropagationStopped())return;CC(e,C,y),i=g}else for(var E=0;E<t.length;E++){var L=t[E],Z=L.instance,J=L.currentTarget,ye=L.listener;if(Z!==i&&e.isPropagationStopped())return;CC(e,ye,J),i=Z}}function xC(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,g=c.listeners;WB(d,g,n)}QP()}function qB(e,t,n,i,c){var d=nb(n),g=[];VB(g,e,i,n,d,t),xC(g,t)}function ya(e,t){cy.has(e)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=SF(t),c=KB(e,n);i.has(c)||(kC(t,e,ab,n),i.add(c))}function uy(e,t,n){cy.has(e)&&!t&&u('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|=mp),kC(n,e,i,t)}var ov="_reactListening"+Math.random().toString(36).slice(2);function Yp(e){if(!e[ov]){e[ov]=!0,lt.forEach(function(n){n!=="selectionchange"&&(cy.has(n)||uy(n,!1,e),uy(n,!0,e))});var t=e.nodeType===Hs?e:e.ownerDocument;t!==null&&(t[ov]||(t[ov]=!0,uy("selectionchange",!1,t)))}}function kC(e,t,n,i,c){var d=vz(e,t,n),g=void 0;lb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var y;i?g!==void 0?y=wz(e,t,d,g):y=Sz(e,t,d):g!==void 0?y=Cz(e,t,d,g):y=yz(e,t,d)}function TC(e,t){return e===t||e.nodeType===Ja&&e.parentNode===t}function fy(e,t,n,i,c){var d=i;if(!(t&t3)&&!(t&ab)){var g=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(TC(E,g))break;if(C===S)for(var L=y.return;L!==null;){var Z=L.tag;if(Z===b||Z===S){var J=L.stateNode.containerInfo;if(TC(J,g))return}L=L.return}for(;E!==null;){var ye=zu(E);if(ye===null)return;var Se=ye.tag;if(Se===w||Se===k){y=d=ye;continue e}E=E.parentNode}}y=y.return}}}l3(function(){return qB(e,t,n,d)})}function $p(e,t,n){return{instance:e,listener:t,currentTarget:n}}function YB(e,t,n,i,c,d){for(var g=t!==null?t+"Capture":null,y=i?g:t,C=[],E=e,L=null;E!==null;){var Z=E,J=Z.stateNode,ye=Z.tag;if(ye===w&&J!==null&&(L=J,y!==null)){var Se=gp(E,y);Se!=null&&C.push($p(E,Se,L))}if(c)break;E=E.return}return C}function iv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,g=d.stateNode,y=d.tag;if(y===w&&g!==null){var C=g,E=gp(c,n);E!=null&&i.unshift($p(c,E,C));var L=gp(c,t);L!=null&&i.push($p(c,L,C))}c=c.return}return i}function ed(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function $B(e,t){for(var n=e,i=t,c=0,d=n;d;d=ed(d))c++;for(var g=0,y=i;y;y=ed(y))g++;for(;c-g>0;)n=ed(n),c--;for(;g-c>0;)i=ed(i),g--;for(var C=c;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=ed(n),i=ed(i)}return null}function EC(e,t,n,i,c){for(var d=t._reactName,g=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,L=C.stateNode,Z=C.tag;if(E!==null&&E===i)break;if(Z===w&&L!==null){var J=L;if(c){var ye=gp(y,d);ye!=null&&g.unshift($p(y,ye,J))}else if(!c){var Se=gp(y,d);Se!=null&&g.push($p(y,Se,J))}}y=y.return}g.length!==0&&e.push({event:t,listeners:g})}function GB(e,t,n,i,c){var d=i&&c?$B(i,c):null;i!==null&&EC(e,t,i,d,!1),c!==null&&n!==null&&EC(e,n,c,d,!0)}function KB(e,t){return e+"__"+(t?"capture":"bubble")}var yo=!1,Gp="dangerouslySetInnerHTML",lv="suppressContentEditableWarning",zc="suppressHydrationWarning",RC="autoFocus",Pu="children",Iu="style",sv="__html",dy,cv,Kp,DC,uv,AC,LC;dy={dialog:!0,webview:!0},cv=function(e,t){LP(e,t),NP(e,t),zP(e,t,{registrationNameDependencies:$t,possibleRegistrationNames:Pt})},AC=st&&!document.documentMode,Kp=function(e,t,n){if(!yo){var i=fv(n),c=fv(t);c!==i&&(yo=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},DC=function(e){if(!yo){yo=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},uv=function(e,t){t===!1?u("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):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},LC=function(e,t){var n=e.namespaceURI===Fs?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var XB=/\r\n?/g,QB=/\u0000|\uFFFD/g;function fv(e){Gr(e);var t=typeof e=="string"?e:""+e;return t.replace(XB,`
32
+ `).replace(QB,"")}function dv(e,t,n,i){var c=fv(t),d=fv(e);if(d!==c&&(i&&(yo||(yo=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&q))throw new Error("Text content does not match server-rendered HTML.")}function NC(e){return e.nodeType===Hs?e:e.ownerDocument}function JB(){}function pv(e){e.onclick=JB}function ZB(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var g=i[d];if(d===Iu)g&&Object.freeze(g),Kw(t,g);else if(d===Gp){var y=g?g[sv]:void 0;y!=null&&Ww(t,y)}else if(d===Pu)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&Pm(t,g)}else typeof g=="number"&&Pm(t,""+g);else d===lv||d===zc||d===RC||($t.hasOwnProperty(d)?g!=null&&(typeof g!="function"&&uv(d,g),d==="onScroll"&&ya("scroll",t)):g!=null&&I(t,d,g,c))}}function e9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],g=t[c+1];d===Iu?Kw(e,g):d===Gp?Ww(e,g):d===Pu?Pm(e,g):I(e,d,g,i)}}function t9(e,t,n,i){var c,d=NC(n),g,y=i;if(y===Fs&&(y=Q_(e)),y===Fs){if(c=Cu(e,t),!c&&e!==e.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;g=C.removeChild(E)}else if(typeof t.is=="string")g=d.createElement(e,{is:t.is});else if(g=d.createElement(e),e==="select"){var L=g;t.multiple?L.multiple=!0:t.size&&(L.size=t.size)}}else g=d.createElementNS(y,e);return y===Fs&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!wt.call(dy,e)&&(dy[e]=!0,u("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 r9(e,t){return NC(t).createTextNode(e)}function a9(e,t,n,i){var c=Cu(t,n);cv(t,n);var d;switch(t){case"dialog":ya("cancel",e),ya("close",e),d=n;break;case"iframe":case"object":case"embed":ya("load",e),d=n;break;case"video":case"audio":for(var g=0;g<qp.length;g++)ya(qp[g],e);d=n;break;case"source":ya("error",e),d=n;break;case"img":case"image":case"link":ya("error",e),ya("load",e),d=n;break;case"details":ya("toggle",e),d=n;break;case"input":Ee(e,n),d=be(e,n),ya("invalid",e);break;case"option":Aa(e,n),d=n;break;case"select":Fw(e,n),d=pp(e,n),ya("invalid",e);break;case"textarea":Hw(e,n),d=K_(e,n),ya("invalid",e);break;default:d=n}switch(rb(t,d),ZB(t,e,i,d,c),t){case"input":Ac(e),yt(e,n,!1);break;case"textarea":Ac(e),Vw(e);break;case"option":rn(e,n);break;case"select":ZM(e,n);break;default:typeof d.onClick=="function"&&pv(e);break}}function n9(e,t,n,i,c){cv(t,i);var d=null,g,y;switch(t){case"input":g=be(e,n),y=be(e,i),d=[];break;case"select":g=pp(e,n),y=pp(e,i),d=[];break;case"textarea":g=K_(e,n),y=K_(e,i),d=[];break;default:g=n,y=i,typeof g.onClick!="function"&&typeof y.onClick=="function"&&pv(e);break}rb(t,y);var C,E,L=null;for(C in g)if(!(y.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Iu){var Z=g[C];for(E in Z)Z.hasOwnProperty(E)&&(L||(L={}),L[E]="")}else C===Gp||C===Pu||C===lv||C===zc||C===RC||($t.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var J=y[C],ye=g!=null?g[C]:void 0;if(!(!y.hasOwnProperty(C)||J===ye||J==null&&ye==null))if(C===Iu)if(J&&Object.freeze(J),ye){for(E in ye)ye.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(L||(L={}),L[E]="");for(E in J)J.hasOwnProperty(E)&&ye[E]!==J[E]&&(L||(L={}),L[E]=J[E])}else L||(d||(d=[]),d.push(C,L)),L=J;else if(C===Gp){var Se=J?J[sv]:void 0,ke=ye?ye[sv]:void 0;Se!=null&&ke!==Se&&(d=d||[]).push(C,Se)}else C===Pu?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(C,""+J):C===lv||C===zc||($t.hasOwnProperty(C)?(J!=null&&(typeof J!="function"&&uv(C,J),C==="onScroll"&&ya("scroll",e)),!d&&ye!==J&&(d=[])):(d=d||[]).push(C,J))}return L&&(CP(L,y[Iu]),(d=d||[]).push(Iu,L)),d}function o9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Qe(e,c);var d=Cu(n,i),g=Cu(n,c);switch(e9(e,t,d,g),n){case"input":It(e,c);break;case"textarea":Uw(e,c);break;case"select":eP(e,c);break}}function i9(e){{var t=e.toLowerCase();return Im.hasOwnProperty(t)&&Im[t]||null}}function l9(e,t,n,i,c,d,g){var y,C;switch(y=Cu(t,n),cv(t,n),t){case"dialog":ya("cancel",e),ya("close",e);break;case"iframe":case"object":case"embed":ya("load",e);break;case"video":case"audio":for(var E=0;E<qp.length;E++)ya(qp[E],e);break;case"source":ya("error",e);break;case"img":case"image":case"link":ya("error",e),ya("load",e);break;case"details":ya("toggle",e);break;case"input":Ee(e,n),ya("invalid",e);break;case"option":Aa(e,n);break;case"select":Fw(e,n),ya("invalid",e);break;case"textarea":Hw(e,n),ya("invalid",e);break}rb(t,n);{C=new Set;for(var L=e.attributes,Z=0;Z<L.length;Z++){var J=L[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:C.add(L[Z].name)}}}var ye=null;for(var Se in n)if(n.hasOwnProperty(Se)){var ke=n[Se];if(Se===Pu)typeof ke=="string"?e.textContent!==ke&&(n[zc]!==!0&&dv(e.textContent,ke,d,g),ye=[Pu,ke]):typeof ke=="number"&&e.textContent!==""+ke&&(n[zc]!==!0&&dv(e.textContent,ke,d,g),ye=[Pu,""+ke]);else if($t.hasOwnProperty(Se))ke!=null&&(typeof ke!="function"&&uv(Se,ke),Se==="onScroll"&&ya("scroll",e));else if(g&&typeof y=="boolean"){var rt=void 0,Rt=y&&je?null:P(Se);if(n[zc]!==!0){if(!(Se===lv||Se===zc||Se==="value"||Se==="checked"||Se==="selected")){if(Se===Gp){var St=e.innerHTML,hr=ke?ke[sv]:void 0;if(hr!=null){var mr=LC(e,hr);mr!==St&&Kp(Se,St,mr)}}else if(Se===Iu){if(C.delete(Se),AC){var ce=SP(ke);rt=e.getAttribute("style"),ce!==rt&&Kp(Se,rt,ce)}}else if(y&&!je)C.delete(Se.toLowerCase()),rt=Je(e,Se,ke),ke!==rt&&Kp(Se,rt,ke);else if(!gr(Se,Rt,y)&&!$(Se,ke,Rt,y)){var De=!1;if(Rt!==null)C.delete(Rt.attributeName),rt=Ae(e,Se,ke,Rt);else{var ue=i;if(ue===Fs&&(ue=Q_(t)),ue===Fs)C.delete(Se.toLowerCase());else{var Ye=i9(Se);Ye!==null&&Ye!==Se&&(De=!0,C.delete(Ye)),C.delete(Se)}rt=Je(e,Se,ke)}var ut=je;!ut&&ke!==rt&&!De&&Kp(Se,rt,ke)}}}}}switch(g&&C.size>0&&n[zc]!==!0&&DC(C),t){case"input":Ac(e),yt(e,n,!0);break;case"textarea":Ac(e),Vw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&pv(e);break}return ye}function s9(e,t,n){var i=e.nodeValue!==t;return i}function py(e,t){{if(yo)return;yo=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function hy(e,t){{if(yo)return;yo=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function my(e,t,n){{if(yo)return;yo=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function vy(e,t){{if(t===""||yo)return;yo=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function c9(e,t,n){switch(t){case"input":Zt(e,n);return;case"textarea":rP(e,n);return;case"select":tP(e,n);return}}var Xp=function(){},Qp=function(){};{var u9=["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"],OC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],f9=OC.concat(["button"]),d9=["dd","dt","li","option","optgroup","p","rp","rt"],MC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Qp=function(e,t){var n=Ot({},e||MC),i={tag:t};return OC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),f9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),u9.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 p9=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 d9.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},h9=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},PC={};Xp=function(e,t,n){n=n||MC;var i=n.current,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=p9(e,c)?null:i,g=d?null:h9(e,n),y=d||g;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!PC[E]){PC[E]=!0;var L=e,Z="";if(e==="#text"?/\S/.test(t)?L="Text nodes":(L="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):L="<"+e+">",d){var J="";C==="table"&&e==="tr"&&(J+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",L,C,Z,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",L,C)}}}}var hv="suppressHydrationWarning",mv="$",vv="/$",Jp="$?",Zp="$!",m9="style",gy=null,_y=null;function v9(e){var t,n,i=e.nodeType;switch(i){case Hs:case Z_:{t=i===Hs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:J_(null,"");break}default:{var d=i===Ja?e.parentNode:e,g=d.namespaceURI||null;t=d.tagName,n=J_(g,t);break}}{var y=t.toLowerCase(),C=Qp(null,y);return{namespace:n,ancestorInfo:C}}}function g9(e,t,n){{var i=e,c=J_(i.namespace,t),d=Qp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function W$(e){return e}function _9(e){gy=mz(),_y=NB();var t=null;return V3(!1),t}function b9(e){OB(_y),V3(gy),gy=null,_y=null}function y9(e,t,n,i,c){var d;{var g=i;if(Xp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Qp(g.ancestorInfo,e);Xp(null,y,C)}d=g.namespace}var E=t9(e,t,n,d);return rh(c,E),Ty(E,t),E}function S9(e,t){e.appendChild(t)}function w9(e,t,n,i,c){switch(a9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function C9(e,t,n,i,c,d){{var g=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Qp(g.ancestorInfo,t);Xp(null,y,C)}}return n9(e,t,n,i)}function by(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 x9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var d=r9(e,t);return rh(i,d),d}function k9(){var e=window.event;return e===void 0?Gs:W3(e.type)}var yy=typeof setTimeout=="function"?setTimeout:void 0,T9=typeof clearTimeout=="function"?clearTimeout:void 0,Sy=-1,IC=typeof Promise=="function"?Promise:void 0,E9=typeof queueMicrotask=="function"?queueMicrotask:typeof IC!="undefined"?function(e){return IC.resolve(null).then(e).catch(R9)}:yy;function R9(e){setTimeout(function(){throw e})}function D9(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 A9(e,t,n,i,c,d){o9(e,t,n,i,c),Ty(e,c)}function zC(e){Pm(e,"")}function L9(e,t,n){e.nodeValue=n}function N9(e,t){e.appendChild(t)}function O9(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&&pv(n)}function M9(e,t,n){e.insertBefore(t,n)}function P9(e,t,n){e.nodeType===Ja?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function I9(e,t){e.removeChild(t)}function z9(e,t){e.nodeType===Ja?e.parentNode.removeChild(t):e.removeChild(t)}function wy(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ja){var d=c.data;if(d===vv)if(i===0){e.removeChild(c),Pp(t);return}else i--;else(d===mv||d===Jp||d===Zp)&&i++}n=c}while(n);Pp(t)}function B9(e,t){e.nodeType===Ja?wy(e.parentNode,t):e.nodeType===bo&&wy(e,t),Pp(e)}function F9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function j9(e){e.nodeValue=""}function H9(e,t){e=e;var n=t[m9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=eb("display",i)}function U9(e,t){e.nodeValue=t}function V9(e){e.nodeType===bo?e.textContent="":e.nodeType===Hs&&e.documentElement&&e.removeChild(e.documentElement)}function W9(e,t,n){return e.nodeType!==bo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function q9(e,t){return t===""||e.nodeType!==js?null:e}function Y9(e){return e.nodeType!==Ja?null:e}function BC(e){return e.data===Jp}function Cy(e){return e.data===Zp}function $9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,c;return t&&(n=t.dgst,i=t.msg,c=t.stck),{message:i,digest:n,stack:c}}function G9(e,t){e._reactRetry=t}function gv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===bo||t===js)break;if(t===Ja){var n=e.data;if(n===mv||n===Zp||n===Jp)break;if(n===vv)return null}}return e}function eh(e){return gv(e.nextSibling)}function K9(e){return gv(e.firstChild)}function X9(e){return gv(e.firstChild)}function Q9(e){return gv(e.nextSibling)}function J9(e,t,n,i,c,d,g){rh(d,e),Ty(e,n);var y;{var C=c;y=C.namespace}var E=(d.mode&yr)!==Mt;return l9(e,t,n,y,i,E,g)}function Z9(e,t,n,i){rh(n,e);var c=(n.mode&yr)!==Mt;return s9(e,t)}function eF(e,t){rh(t,e)}function tF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===vv){if(n===0)return eh(t);n--}else(i===mv||i===Zp||i===Jp)&&n++}t=t.nextSibling}return null}function FC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ja){var i=t.data;if(i===mv||i===Zp||i===Jp){if(n===0)return t;n--}else i===vv&&n++}t=t.previousSibling}return null}function rF(e){Pp(e)}function aF(e){Pp(e)}function nF(e){return e!=="head"&&e!=="body"}function oF(e,t,n,i){var c=!0;dv(t.nodeValue,n,i,c)}function iF(e,t,n,i,c,d){if(t[hv]!==!0){var g=!0;dv(i.nodeValue,c,d,g)}}function lF(e,t){t.nodeType===bo?py(e,t):t.nodeType===Ja||hy(e,t)}function sF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===bo?py(n,t):t.nodeType===Ja||hy(n,t))}}function cF(e,t,n,i,c){(c||t[hv]!==!0)&&(i.nodeType===bo?py(n,i):i.nodeType===Ja||hy(n,i))}function uF(e,t,n){my(e,t)}function fF(e,t){vy(e,t)}function dF(e,t,n){{var i=e.parentNode;i!==null&&my(i,t)}}function pF(e,t){{var n=e.parentNode;n!==null&&vy(n,t)}}function hF(e,t,n,i,c,d){(d||t[hv]!==!0)&&my(n,i)}function mF(e,t,n,i,c){(c||t[hv]!==!0)&&vy(n,i)}function vF(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gF(e){Yp(e)}var td=Math.random().toString(36).slice(2),rd="__reactFiber$"+td,xy="__reactProps$"+td,th="__reactContainer$"+td,ky="__reactEvents$"+td,_F="__reactListeners$"+td,bF="__reactHandles$"+td;function yF(e){delete e[rd],delete e[xy],delete e[ky],delete e[_F],delete e[bF]}function rh(e,t){t[rd]=e}function _v(e,t){t[th]=e}function jC(e){e[th]=null}function ah(e){return!!e[th]}function zu(e){var t=e[rd];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[rd],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=FC(e);c!==null;){var d=c[rd];if(d)return d;c=FC(c)}return t}e=n,n=e.parentNode}return null}function Bc(e){var t=e[rd]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===Q||t.tag===b)?t:null}function ad(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function bv(e){return e[xy]||null}function Ty(e,t){e[xy]=t}function SF(e){var t=e[ky];return t===void 0&&(t=e[ky]=new Set),t}var HC={},UC=o.ReactDebugCurrentFrame;function yv(e){if(e){var t=e._owner,n=Ef(e.type,e._source,t?t.type:null);UC.setExtraStackFrame(n)}else UC.setExtraStackFrame(null)}function Hl(e,t,n,i,c){{var d=Function.call.bind(wt);for(var g in e)if(d(e,g)){var y=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}y=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(yv(c),u("%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 y),yv(null)),y instanceof Error&&!(y.message in HC)&&(HC[y.message]=!0,yv(c),u("Failed %s type: %s",n,y.message),yv(null))}}}var Ey=[],Sv;Sv=[];var Ks=-1;function Fc(e){return{current:e}}function Bn(e,t){if(Ks<0){u("Unexpected pop.");return}t!==Sv[Ks]&&u("Unexpected Fiber popped."),e.current=Ey[Ks],Ey[Ks]=null,Sv[Ks]=null,Ks--}function Fn(e,t,n){Ks++,Ey[Ks]=e.current,Sv[Ks]=n,e.current=t}var Ry;Ry={};var Ho={};Object.freeze(Ho);var Xs=Fc(Ho),ms=Fc(!1),Dy=Ho;function nd(e,t,n){return n&&vs(t)?Dy:Xs.current}function VC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function od(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Ho;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var g in i)d[g]=t[g];{var y=ar(e)||"Unknown";Hl(i,d,"context",y)}return c&&VC(e,t,d),d}}function wv(){return ms.current}function vs(e){{var t=e.childContextTypes;return t!=null}}function Cv(e){Bn(ms,e),Bn(Xs,e)}function Ay(e){Bn(ms,e),Bn(Xs,e)}function WC(e,t,n){{if(Xs.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Fn(Xs,t,e),Fn(ms,n,e)}}function qC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=ar(e)||"Unknown";Ry[d]||(Ry[d]=!0,u("%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.",d,d))}return n}var g=i.getChildContext();for(var y in g)if(!(y in c))throw new Error((ar(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=ar(e)||"Unknown";Hl(c,g,"child context",C)}return Ot({},n,g)}}function xv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return Dy=Xs.current,Fn(Xs,n,e),Fn(ms,ms.current,e),!0}}function YC(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 c=qC(e,t,Dy);i.__reactInternalMemoizedMergedChildContext=c,Bn(ms,e),Bn(Xs,e),Fn(Xs,c,e),Fn(ms,n,e)}else Bn(ms,e),Fn(ms,n,e)}}function wF(e){{if(!nI(e)||e.tag!==m)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 b:return t.stateNode.context;case m:{var n=t.type;if(vs(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 jc=0,kv=1,Qs=null,Ly=!1,Ny=!1;function $C(e){Qs===null?Qs=[e]:Qs.push(e)}function CF(e){Ly=!0,$C(e)}function GC(){Ly&&Hc()}function Hc(){if(!Ny&&Qs!==null){Ny=!0;var e=0,t=jl();try{var n=!0,i=Qs;for(Sn(Bo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Qs=null,Ly=!1}catch(d){throw Qs!==null&&(Qs=Qs.slice(e+1)),_3(Hm,Hc),d}finally{Sn(t),Ny=!1}}return null}var id=[],ld=0,Tv=null,Ev=0,bl=[],yl=0,Bu=null,Js=1,Zs="";function xF(e){return ju(),(e.flags&u3)!==Bt}function kF(e){return ju(),Ev}function TF(){var e=Zs,t=Js,n=t&~EF(t);return n.toString(32)+e}function Fu(e,t){ju(),id[ld++]=Ev,id[ld++]=Tv,Tv=e,Ev=t}function KC(e,t,n){ju(),bl[yl++]=Js,bl[yl++]=Zs,bl[yl++]=Bu,Bu=e;var i=Js,c=Zs,d=Rv(i)-1,g=i&~(1<<d),y=n+1,C=Rv(t)+d;if(C>30){var E=d-d%5,L=(1<<E)-1,Z=(g&L).toString(32),J=g>>E,ye=d-E,Se=Rv(t)+ye,ke=y<<ye,rt=ke|J,Rt=Z+c;Js=1<<Se|rt,Zs=Rt}else{var St=y<<d,hr=St|g,mr=c;Js=1<<C|hr,Zs=mr}}function Oy(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),KC(e,n,i)}}function Rv(e){return 32-x3(e)}function EF(e){return 1<<Rv(e)-1}function My(e){for(;e===Tv;)Tv=id[--ld],id[ld]=null,Ev=id[--ld],id[ld]=null;for(;e===Bu;)Bu=bl[--yl],bl[yl]=null,Zs=bl[--yl],bl[yl]=null,Js=bl[--yl],bl[yl]=null}function RF(){return ju(),Bu!==null?{id:Js,overflow:Zs}:null}function DF(e,t){ju(),bl[yl++]=Js,bl[yl++]=Zs,bl[yl++]=Bu,Js=t.id,Zs=t.overflow,Bu=e}function ju(){En()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Tn=null,Sl=null,Ul=!1,Hu=!1,Uc=null;function AF(){Ul&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function XC(){Hu=!0}function LF(){return Hu}function NF(e){var t=e.stateNode.containerInfo;return Sl=X9(t),Tn=e,Ul=!0,Uc=null,Hu=!1,!0}function OF(e,t,n){return Sl=Q9(t),Tn=e,Ul=!0,Uc=null,Hu=!1,n!==null&&DF(e,n),!0}function QC(e,t){switch(e.tag){case b:{lF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&yr)!==Mt;cF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&sF(i.dehydrated,t);break}}}function JC(e,t){QC(e,t);var n=UU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function Py(e,t){{if(Hu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;uF(n,i);break;case k:var d=t.pendingProps;fF(n,d);break}break}case w:{var g=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,L=t.pendingProps,Z=(e.mode&yr)!==Mt;hF(g,y,C,E,L,Z);break}case k:{var J=t.pendingProps,ye=(e.mode&yr)!==Mt;mF(g,y,C,J,ye);break}}break}case Q:{var Se=e.memoizedState,ke=Se.dehydrated;if(ke!==null)switch(t.tag){case w:var rt=t.type,Rt=t.pendingProps;dF(ke,rt);break;case k:var St=t.pendingProps;pF(ke,St);break}break}default:return}}}function ZC(e,t){t.flags=t.flags&~Vs|Za,Py(e,t)}function ex(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=W9(t,n);return c!==null?(e.stateNode=c,Tn=e,Sl=K9(c),!0):!1}case k:{var d=e.pendingProps,g=q9(t,d);return g!==null?(e.stateNode=g,Tn=e,Sl=null,!0):!1}case Q:{var y=Y9(t);if(y!==null){var C={dehydrated:y,treeContext:RF(),retryLane:Io};e.memoizedState=C;var E=VU(y);return E.return=e,e.child=E,Tn=e,Sl=null,!0}return!1}default:return!1}}function Iy(e){return(e.mode&yr)!==Mt&&(e.flags&zr)===Bt}function zy(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function By(e){if(Ul){var t=Sl;if(!t){Iy(e)&&(Py(Tn,e),zy()),ZC(Tn,e),Ul=!1,Tn=e;return}var n=t;if(!ex(e,t)){Iy(e)&&(Py(Tn,e),zy()),t=eh(n);var i=Tn;if(!t||!ex(e,t)){ZC(Tn,e),Ul=!1,Tn=e;return}JC(i,n)}}}function MF(e,t,n){var i=e.stateNode,c=!Hu,d=J9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function PF(e){var t=e.stateNode,n=e.memoizedProps,i=Z9(t,n,e);if(i){var c=Tn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,g=(c.mode&yr)!==Mt;oF(d,t,n,g);break}case w:{var y=c.type,C=c.memoizedProps,E=c.stateNode,L=(c.mode&yr)!==Mt;iF(y,C,E,t,n,L);break}}}return i}function IF(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.");eF(n,e)}function zF(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 tF(n)}function tx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Q;)t=t.return;Tn=t}function Dv(e){if(e!==Tn)return!1;if(!Ul)return tx(e),Ul=!0,!1;if(e.tag!==b&&(e.tag!==w||nF(e.type)&&!by(e.type,e.memoizedProps))){var t=Sl;if(t)if(Iy(e))rx(e),zy();else for(;t;)JC(e,t),t=eh(t)}return tx(e),e.tag===Q?Sl=zF(e):Sl=Tn?eh(e.stateNode):null,!0}function BF(){return Ul&&Sl!==null}function rx(e){for(var t=Sl;t;)QC(e,t),t=eh(t)}function sd(){Tn=null,Sl=null,Ul=!1,Hu=!1}function ax(){Uc!==null&&(Q4(Uc),Uc=null)}function En(){return Ul}function Fy(e){Uc===null?Uc=[e]:Uc.push(e)}var FF=o.ReactCurrentBatchConfig,jF=null;function HF(){return FF.transition}var Vl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var UF=function(e){for(var t=null,n=e;n!==null;)n.mode&za&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Vu=new Set;Vl.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&za&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&za&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&za&&typeof t.UNSAFE_componentWillUpdate=="function"&&ch.push(e))},Vl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(J){e.add(ar(J)||"Component"),Vu.add(J.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(J){t.add(ar(J)||"Component"),Vu.add(J.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(J){n.add(ar(J)||"Component"),Vu.add(J.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(J){i.add(ar(J)||"Component"),Vu.add(J.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(J){c.add(ar(J)||"Component"),Vu.add(J.type)}),sh=[]);var d=new Set;if(ch.length>0&&(ch.forEach(function(J){d.add(ar(J)||"Component"),Vu.add(J.type)}),ch=[]),t.size>0){var g=Uu(t);u(`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
 
@@ -53,53 +53,53 @@ Please update the following components: %s`,E)}if(n.size>0){var L=Uu(n);f(`compo
53
53
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
54
54
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
55
55
 
56
- Please update the following components: %s`,L)}if(c.size>0){var J=Uu(c);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
56
+ Please update the following components: %s`,L)}if(c.size>0){var Z=Uu(c);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
57
57
 
58
58
  * Move data fetching code or side effects to componentDidUpdate.
59
59
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
60
60
 
61
- Please update the following components: %s`,J)}};var Av=new Map,nx=new Set;Vl.recordLegacyContextWarning=function(e,t){var n=UF(e);if(n===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!nx.has(e.type)){var i=Av.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Av.set(n,i)),i.push(e))}},Vl.flushLegacyContextWarning=function(){Av.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(rr(d)||"Component"),nx.add(d.type)});var c=Uu(i);try{xa(n),u(`Legacy context API has been detected within a strict-mode tree.
61
+ Please update the following components: %s`,Z)}};var Av=new Map,nx=new Set;Vl.recordLegacyContextWarning=function(e,t){var n=UF(e);if(n===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!nx.has(e.type)){var i=Av.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Av.set(n,i)),i.push(e))}},Vl.flushLegacyContextWarning=function(){Av.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(ar(d)||"Component"),nx.add(d.type)});var c=Uu(i);try{ka(n),u(`Legacy context API has been detected within a strict-mode tree.
62
62
 
63
63
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
64
64
 
65
65
  Please update the following components: %s
66
66
 
67
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{gn()}}})},Vl.discardPendingWarnings=function(){nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Av=new Map}}var j1,H1,U1,V1,W1,ox=function(e,t){};j1=!1,H1=!1,U1={},V1={},W1={},ox=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=rr(t)||"Component";V1[n]||(V1[n]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function VF(e){return e.prototype&&e.prototype.isReactComponent}function uh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Pa||Ye)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!VF(n.type))&&n._owner){var c=rr(e)||"Component";U1[c]||(u('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c,i),U1[c]=!0)}if(n._owner){var d=n._owner,g;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");g=y.stateNode}if(!g)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var C=g;na(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var L=function(J){var Q=C.refs;J===null?delete Q[E]:Q[E]=J};return L._stringRef=E,L}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
67
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{gn()}}})},Vl.discardPendingWarnings=function(){nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Av=new Map}}var jy,Hy,Uy,Vy,Wy,ox=function(e,t){};jy=!1,Hy=!1,Uy={},Vy={},Wy={},ox=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ar(t)||"Component";Vy[n]||(Vy[n]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function VF(e){return e.prototype&&e.prototype.isReactComponent}function uh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&za||We)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!VF(n.type))&&n._owner){var c=ar(e)||"Component";Uy[c]||(u('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c,i),Uy[c]=!0)}if(n._owner){var d=n._owner,g;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");g=y.stateNode}if(!g)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var C=g;Fr(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var L=function(Z){var J=C.refs;Z===null?delete J[E]:J[E]=Z};return L._stringRef=E,L}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
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 Lv(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 Nv(e){{var t=rr(e)||"Component";if(W1[t])return;W1[t]=!0,u("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 ix(e){var t=e._payload,n=e._init;return n(t)}function lx(e){function t(ue,De){if(e){var fe=ue.deletions;fe===null?(ue.deletions=[De],ue.flags|=xu):fe.push(De)}}function n(ue,De){if(!e)return null;for(var fe=De;fe!==null;)t(ue,fe),fe=fe.sibling;return null}function i(ue,De){for(var fe=new Map,qe=De;qe!==null;)qe.key!==null?fe.set(qe.key,qe):fe.set(qe.index,qe),qe=qe.sibling;return fe}function c(ue,De){var fe=Ju(ue,De);return fe.index=0,fe.sibling=null,fe}function d(ue,De,fe){if(ue.index=fe,!e)return ue.flags|=u3,De;var qe=ue.alternate;if(qe!==null){var ut=qe.index;return ut<De?(ue.flags|=Za,De):ut}else return ue.flags|=Za,De}function g(ue){return e&&ue.alternate===null&&(ue.flags|=Za),ue}function y(ue,De,fe,qe){if(De===null||De.tag!==k){var ut=j0(fe,ue.mode,qe);return ut.return=ue,ut}else{var nt=c(De,fe);return nt.return=ue,nt}}function C(ue,De,fe,qe){var ut=fe.type;if(ut===ce)return L(ue,De,fe.props.children,qe,fe.key);if(De!==null&&(De.elementType===ut||pk(De,fe)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Ze&&ix(ut)===De.type)){var nt=c(De,fe.props);return nt.ref=uh(ue,De,fe),nt.return=ue,nt._debugSource=fe._source,nt._debugOwner=fe._owner,nt}var Ht=F0(fe,ue.mode,qe);return Ht.ref=uh(ue,De,fe),Ht.return=ue,Ht}function E(ue,De,fe,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==fe.containerInfo||De.stateNode.implementation!==fe.implementation){var ut=H0(fe,ue.mode,qe);return ut.return=ue,ut}else{var nt=c(De,fe.children||[]);return nt.return=ue,nt}}function L(ue,De,fe,qe,ut){if(De===null||De.tag!==A){var nt=Zc(fe,ue.mode,qe,ut);return nt.return=ue,nt}else{var Ht=c(De,fe);return Ht.return=ue,Ht}}function J(ue,De,fe){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=j0(""+De,ue.mode,fe);return qe.return=ue,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=F0(De,ue.mode,fe);return ut.ref=uh(ue,null,De),ut.return=ue,ut}case re:{var nt=H0(De,ue.mode,fe);return nt.return=ue,nt}case Ze:{var Ht=De._payload,Kt=De._init;return J(ue,Kt(Ht),fe)}}if(an(De)||Qa(De)){var Jr=Zc(De,ue.mode,fe,null);return Jr.return=ue,Jr}Lv(ue,De)}return typeof De=="function"&&Nv(ue),null}function Q(ue,De,fe,qe){var ut=De!==null?De.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return ut!==null?null:y(ue,De,""+fe,qe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return fe.key===ut?C(ue,De,fe,qe):null;case re:return fe.key===ut?E(ue,De,fe,qe):null;case Ze:{var nt=fe._payload,Ht=fe._init;return Q(ue,De,Ht(nt),qe)}}if(an(fe)||Qa(fe))return ut!==null?null:L(ue,De,fe,qe,null);Lv(ue,fe)}return typeof fe=="function"&&Nv(ue),null}function ve(ue,De,fe,qe,ut){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var nt=ue.get(fe)||null;return y(De,nt,""+qe,ut)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ue.get(qe.key===null?fe:qe.key)||null;return C(De,Ht,qe,ut)}case re:{var Kt=ue.get(qe.key===null?fe:qe.key)||null;return E(De,Kt,qe,ut)}case Ze:var Jr=qe._payload,Nr=qe._init;return ve(ue,De,fe,Nr(Jr),ut)}if(an(qe)||Qa(qe)){var Ya=ue.get(fe)||null;return L(De,Ya,qe,ut,null)}Lv(De,qe)}return typeof qe=="function"&&Nv(De),null}function ge(ue,De,fe){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case re:ox(ue,fe);var qe=ue.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}u("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.",qe);break;case Ze:var ut=ue._payload,nt=ue._init;ge(nt(ut),De,fe);break}}return De}function xe(ue,De,fe,qe){for(var ut=null,nt=0;nt<fe.length;nt++){var Ht=fe[nt];ut=ge(Ht,ut,ue)}for(var Kt=null,Jr=null,Nr=De,Ya=0,Or=0,Ia=null;Nr!==null&&Or<fe.length;Or++){Nr.index>Or?(Ia=Nr,Nr=null):Ia=Nr.sibling;var jn=Q(ue,Nr,fe[Or],qe);if(jn===null){Nr===null&&(Nr=Ia);break}e&&Nr&&jn.alternate===null&&t(ue,Nr),Ya=d(jn,Ya,Or),Jr===null?Kt=jn:Jr.sibling=jn,Jr=jn,Nr=Ia}if(Or===fe.length){if(n(ue,Nr),Tn()){var On=Or;Fu(ue,On)}return Kt}if(Nr===null){for(;Or<fe.length;Or++){var Vo=J(ue,fe[Or],qe);Vo!==null&&(Ya=d(Vo,Ya,Or),Jr===null?Kt=Vo:Jr.sibling=Vo,Jr=Vo)}if(Tn()){var Jn=Or;Fu(ue,Jn)}return Kt}for(var Zn=i(ue,Nr);Or<fe.length;Or++){var Hn=ve(Zn,ue,Or,fe[Or],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Or:Hn.key),Ya=d(Hn,Ya,Or),Jr===null?Kt=Hn:Jr.sibling=Hn,Jr=Hn)}if(e&&Zn.forEach(function(Ed){return t(ue,Ed)}),Tn()){var ic=Or;Fu(ue,ic)}return Kt}function at(ue,De,fe,qe){var ut=Qa(fe);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&fe[Symbol.toStringTag]==="Generator"&&(H1||u("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."),H1=!0),fe.entries===ut&&(j1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j1=!0);var nt=ut.call(fe);if(nt)for(var Ht=null,Kt=nt.next();!Kt.done;Kt=nt.next()){var Jr=Kt.value;Ht=ge(Jr,Ht,ue)}}var Nr=ut.call(fe);if(Nr==null)throw new Error("An iterable object provided no iterator.");for(var Ya=null,Or=null,Ia=De,jn=0,On=0,Vo=null,Jn=Nr.next();Ia!==null&&!Jn.done;On++,Jn=Nr.next()){Ia.index>On?(Vo=Ia,Ia=null):Vo=Ia.sibling;var Zn=Q(ue,Ia,Jn.value,qe);if(Zn===null){Ia===null&&(Ia=Vo);break}e&&Ia&&Zn.alternate===null&&t(ue,Ia),jn=d(Zn,jn,On),Or===null?Ya=Zn:Or.sibling=Zn,Or=Zn,Ia=Vo}if(Jn.done){if(n(ue,Ia),Tn()){var Hn=On;Fu(ue,Hn)}return Ya}if(Ia===null){for(;!Jn.done;On++,Jn=Nr.next()){var ic=J(ue,Jn.value,qe);ic!==null&&(jn=d(ic,jn,On),Or===null?Ya=ic:Or.sibling=ic,Or=ic)}if(Tn()){var Ed=On;Fu(ue,Ed)}return Ya}for(var Uh=i(ue,Ia);!Jn.done;On++,Jn=Nr.next()){var xs=ve(Uh,ue,On,Jn.value,qe);xs!==null&&(e&&xs.alternate!==null&&Uh.delete(xs.key===null?On:xs.key),jn=d(xs,jn,On),Or===null?Ya=xs:Or.sibling=xs,Or=xs)}if(e&&Uh.forEach(function(yV){return t(ue,yV)}),Tn()){var bV=On;Fu(ue,bV)}return Ya}function Dt(ue,De,fe,qe){if(De!==null&&De.tag===k){n(ue,De.sibling);var ut=c(De,fe);return ut.return=ue,ut}n(ue,De);var nt=j0(fe,ue.mode,qe);return nt.return=ue,nt}function St(ue,De,fe,qe){for(var ut=fe.key,nt=De;nt!==null;){if(nt.key===ut){var Ht=fe.type;if(Ht===ce){if(nt.tag===A){n(ue,nt.sibling);var Kt=c(nt,fe.props.children);return Kt.return=ue,Kt._debugSource=fe._source,Kt._debugOwner=fe._owner,Kt}}else if(nt.elementType===Ht||pk(nt,fe)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Ze&&ix(Ht)===nt.type){n(ue,nt.sibling);var Jr=c(nt,fe.props);return Jr.ref=uh(ue,nt,fe),Jr.return=ue,Jr._debugSource=fe._source,Jr._debugOwner=fe._owner,Jr}n(ue,nt);break}else t(ue,nt);nt=nt.sibling}if(fe.type===ce){var Nr=Zc(fe.props.children,ue.mode,qe,fe.key);return Nr.return=ue,Nr}else{var Ya=F0(fe,ue.mode,qe);return Ya.ref=uh(ue,De,fe),Ya.return=ue,Ya}}function hr(ue,De,fe,qe){for(var ut=fe.key,nt=De;nt!==null;){if(nt.key===ut)if(nt.tag===S&&nt.stateNode.containerInfo===fe.containerInfo&&nt.stateNode.implementation===fe.implementation){n(ue,nt.sibling);var Ht=c(nt,fe.children||[]);return Ht.return=ue,Ht}else{n(ue,nt);break}else t(ue,nt);nt=nt.sibling}var Kt=H0(fe,ue.mode,qe);return Kt.return=ue,Kt}function mr(ue,De,fe,qe){var ut=typeof fe=="object"&&fe!==null&&fe.type===ce&&fe.key===null;if(ut&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return g(St(ue,De,fe,qe));case re:return g(hr(ue,De,fe,qe));case Ze:var nt=fe._payload,Ht=fe._init;return mr(ue,De,Ht(nt),qe)}if(an(fe))return xe(ue,De,fe,qe);if(Qa(fe))return at(ue,De,fe,qe);Lv(ue,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?g(Dt(ue,De,""+fe,qe)):(typeof fe=="function"&&Nv(ue),n(ue,De))}return mr}var cd=lx(!0),sx=lx(!1);function WF(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=Ju(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Ju(n,n.pendingProps),i.return=t;i.sibling=null}}function qF(e,t){for(var n=e.child;n!==null;)zU(n,t),n=n.sibling}var q1=Fc(null),Y1;Y1={};var Ov=null,ud=null,$1=null,Mv=!1;function Pv(){Ov=null,ud=null,$1=null,Mv=!1}function cx(){Mv=!0}function ux(){Mv=!1}function fx(e,t,n){Bn(q1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Y1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Y1}function G1(e,t){var n=q1.current;zn(q1,t),e._currentValue=n}function K1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(Gf(i.childLanes,t)?c!==null&&!Gf(c.childLanes,t)&&(c.childLanes=ir(c.childLanes,t)):(i.childLanes=ir(i.childLanes,t),c!==null&&(c.childLanes=ir(c.childLanes,t))),i===n)break;i=i.return}i!==n&&u("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 YF(e,t,n){$F(e,t,n)}function $F(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var g=d.firstContext;g!==null;){if(g.context===t){if(i.tag===m){var y=Rp(n),C=ec(ma,y);C.tag=zv;var E=i.updateQueue;if(E!==null){var L=E.shared,J=L.pending;J===null?C.next=C:(C.next=J.next,J.next=C),L.pending=C}}i.lanes=ir(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=ir(Q.lanes,n)),K1(i.return,n,e),d.lanes=ir(d.lanes,n);break}g=g.next}}else if(i.tag===M)c=i.type===e.type?null:i.child;else if(i.tag===ye){var ve=i.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=ir(ve.lanes,n);var ge=ve.alternate;ge!==null&&(ge.lanes=ir(ge.lanes,n)),K1(ve,n,e),c=i.sibling}else c=i.child;if(c!==null)c.return=i;else for(c=i;c!==null;){if(c===e){c=null;break}var xe=c.sibling;if(xe!==null){xe.return=c.return,c=xe;break}c=c.return}i=c}}function fd(e,t){Ov=e,ud=null,$1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(zo(n.lanes,t)&&kh(),n.firstContext=null)}}function en(e){Mv&&u("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($1!==e){var n={context:e,memoizedValue:t,next:null};if(ud===null){if(Ov===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().");ud=n,Ov.dependencies={lanes:Ie,firstContext:n}}else ud=ud.next=n}return t}var Wu=null;function X1(e){Wu===null?Wu=[e]:Wu.push(e)}function GF(){if(Wu!==null){for(var e=0;e<Wu.length;e++){var t=Wu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var d=c.next;c.next=i,n.next=d}t.pending=n}}Wu=null}}function dx(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,X1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Iv(e,i)}function KF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,X1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function XF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,X1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Iv(e,i)}function yo(e,t){return Iv(e,t)}var QF=Iv;function Iv(e,t){e.lanes=ir(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ir(n.lanes,t)),n===null&&(e.flags&(Za|Vs))!==zt&&ck(e);for(var i=e,c=e.return;c!==null;)c.childLanes=ir(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=ir(n.childLanes,t):(c.flags&(Za|Vs))!==zt&&ck(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var px=0,hx=1,zv=2,Q1=3,Bv=!1,J1,Fv;J1=!1,Fv=null;function Z1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ie},effects:null};e.updateQueue=t}function mx(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var c={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=c}}function ec(e,t){var n={eventTime:e,lane:t,tag:px,payload:null,callback:null,next:null};return n}function Vc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Fv===c&&!J1&&(u("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."),J1=!0),eU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,QF(e,n)}else return XF(e,c,t,n)}function jv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(R3(n)){var d=c.lanes;d=A3(d,e.pendingLanes);var g=ir(d,n);c.lanes=g,qb(e,g)}}}function ey(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,g=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?d=g=E:(g.next=E,g=E),C=C.next}while(C!==null);g===null?d=g=t:(g.next=t,g=t)}else d=g=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var L=n.lastBaseUpdate;L===null?n.firstBaseUpdate=t:L.next=t,n.lastBaseUpdate=t}function JF(e,t,n,i,c,d){switch(n.tag){case hx:{var g=n.payload;if(typeof g=="function"){cx();var y=g.call(d,i,c);{if(e.mode&Pa){bn(!0);try{g.call(d,i,c)}finally{bn(!1)}}ux()}return y}return g}case Q1:e.flags=e.flags&~Gn|Ir;case px:{var C=n.payload,E;if(typeof C=="function"){cx(),E=C.call(d,i,c);{if(e.mode&Pa){bn(!0);try{C.call(d,i,c)}finally{bn(!1)}}ux()}}else E=C;return E==null?i:Ot({},i,E)}case zv:return Bv=!0,i}return i}function Hv(e,t,n,i){var c=e.updateQueue;Bv=!1,Fv=c.shared;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var C=y,E=C.next;C.next=null,g===null?d=E:g.next=E,g=C;var L=e.alternate;if(L!==null){var J=L.updateQueue,Q=J.lastBaseUpdate;Q!==g&&(Q===null?J.firstBaseUpdate=E:Q.next=E,J.lastBaseUpdate=C)}}if(d!==null){var ve=c.baseState,ge=Ie,xe=null,at=null,Dt=null,St=d;do{var hr=St.lane,mr=St.eventTime;if(Gf(i,hr)){if(Dt!==null){var De={eventTime:mr,lane:yn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt=Dt.next=De}ve=JF(e,c,St,ve,t,n);var fe=St.callback;if(fe!==null&&St.lane!==yn){e.flags|=db;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ue={eventTime:mr,lane:hr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt===null?(at=Dt=ue,xe=ve):Dt=Dt.next=ue,ge=ir(ge,hr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ut=y,nt=ut.next;ut.next=null,St=nt,c.lastBaseUpdate=ut,c.shared.pending=null}}while(!0);Dt===null&&(xe=ve),c.baseState=xe,c.firstBaseUpdate=at,c.lastBaseUpdate=Dt;var Ht=c.shared.interleaved;if(Ht!==null){var Kt=Ht;do ge=ir(ge,Kt.lane),Kt=Kt.next;while(Kt!==Ht)}else d===null&&(c.shared.lanes=Ie);zh(ge),e.lanes=ge,e.memoizedState=ve}Fv=null}function ZF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function vx(){Bv=!1}function Uv(){return Bv}function gx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var d=i[c],g=d.callback;g!==null&&(d.callback=null,ZF(g,n))}}var fh={},Wc=Fc(fh),dh=Fc(fh),Vv=Fc(fh);function Wv(e){if(e===fh)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 _x(){var e=Wv(Vv.current);return e}function ty(e,t){Bn(Vv,t,e),Bn(dh,e,e),Bn(Wc,fh,e);var n=v9(t);zn(Wc,e),Bn(Wc,n,e)}function dd(e){zn(Wc,e),zn(dh,e),zn(Vv,e)}function ry(){var e=Wv(Wc.current);return e}function bx(e){var t=Wv(Vv.current),n=Wv(Wc.current),i=g9(n,e.type);n!==i&&(Bn(dh,e,e),Bn(Wc,i,e))}function ay(e){dh.current===e&&(zn(Wc,e),zn(dh,e))}var ej=0,yx=1,Sx=1,ph=2,Wl=Fc(ej);function ny(e,t){return(e&t)!==0}function pd(e){return e&yx}function oy(e,t){return e&yx|t}function tj(e,t){return e|t}function qc(e,t){Bn(Wl,t,e)}function hd(e){zn(Wl,e)}function rj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function qv(e){for(var t=e;t!==null;){if(t.tag===Z){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||BC(i)||C1(i))return t}}else if(t.tag===be&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Ir)!==zt;if(c)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 So=0,nn=1,gs=2,on=4,En=8,iy=[];function ly(){for(var e=0;e<iy.length;e++){var t=iy[e];t._workInProgressVersionPrimary=null}iy.length=0}function aj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var st=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,sy,md;sy=new Set;var qu=Ie,Qr=null,ln=null,sn=null,Yv=!1,mh=!1,vh=0,nj=0,oj=25,Le=null,wl=null,Yc=-1,cy=!1;function Br(){{var e=Le;wl===null?wl=[e]:wl.push(e)}}function tt(){{var e=Le;wl!==null&&(Yc++,wl[Yc]!==e&&ij(e))}}function vd(e){e!=null&&!an(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function ij(e){{var t=rr(Qr);if(!sy.has(t)&&(sy.add(t),wl!==null)){for(var n="",i=30,c=0;c<=Yc;c++){for(var d=wl[c],g=c===Yc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=g+`
71
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Lv(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 Nv(e){{var t=ar(e)||"Component";if(Wy[t])return;Wy[t]=!0,u("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 ix(e){var t=e._payload,n=e._init;return n(t)}function lx(e){function t(ce,De){if(e){var ue=ce.deletions;ue===null?(ce.deletions=[De],ce.flags|=xu):ue.push(De)}}function n(ce,De){if(!e)return null;for(var ue=De;ue!==null;)t(ce,ue),ue=ue.sibling;return null}function i(ce,De){for(var ue=new Map,Ye=De;Ye!==null;)Ye.key!==null?ue.set(Ye.key,Ye):ue.set(Ye.index,Ye),Ye=Ye.sibling;return ue}function c(ce,De){var ue=Ju(ce,De);return ue.index=0,ue.sibling=null,ue}function d(ce,De,ue){if(ce.index=ue,!e)return ce.flags|=u3,De;var Ye=ce.alternate;if(Ye!==null){var ut=Ye.index;return ut<De?(ce.flags|=Za,De):ut}else return ce.flags|=Za,De}function g(ce){return e&&ce.alternate===null&&(ce.flags|=Za),ce}function y(ce,De,ue,Ye){if(De===null||De.tag!==k){var ut=j0(ue,ce.mode,Ye);return ut.return=ce,ut}else{var at=c(De,ue);return at.return=ce,at}}function C(ce,De,ue,Ye){var ut=ue.type;if(ut===se)return L(ce,De,ue.props.children,Ye,ue.key);if(De!==null&&(De.elementType===ut||pk(De,ue)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Ze&&ix(ut)===De.type)){var at=c(De,ue.props);return at.ref=uh(ce,De,ue),at.return=ce,at._debugSource=ue._source,at._debugOwner=ue._owner,at}var Ut=F0(ue,ce.mode,Ye);return Ut.ref=uh(ce,De,ue),Ut.return=ce,Ut}function E(ce,De,ue,Ye){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var ut=H0(ue,ce.mode,Ye);return ut.return=ce,ut}else{var at=c(De,ue.children||[]);return at.return=ce,at}}function L(ce,De,ue,Ye,ut){if(De===null||De.tag!==R){var at=Zc(ue,ce.mode,Ye,ut);return at.return=ce,at}else{var Ut=c(De,ue);return Ut.return=ce,Ut}}function Z(ce,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var Ye=j0(""+De,ce.mode,ue);return Ye.return=ce,Ye}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=F0(De,ce.mode,ue);return ut.ref=uh(ce,null,De),ut.return=ce,ut}case ae:{var at=H0(De,ce.mode,ue);return at.return=ce,at}case Ze:{var Ut=De._payload,Kt=De._init;return Z(ce,Kt(Ut),ue)}}if(an(De)||Qa(De)){var ea=Zc(De,ce.mode,ue,null);return ea.return=ce,ea}Lv(ce,De)}return typeof De=="function"&&Nv(ce),null}function J(ce,De,ue,Ye){var ut=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return ut!==null?null:y(ce,De,""+ue,Ye);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return ue.key===ut?C(ce,De,ue,Ye):null;case ae:return ue.key===ut?E(ce,De,ue,Ye):null;case Ze:{var at=ue._payload,Ut=ue._init;return J(ce,De,Ut(at),Ye)}}if(an(ue)||Qa(ue))return ut!==null?null:L(ce,De,ue,Ye,null);Lv(ce,ue)}return typeof ue=="function"&&Nv(ce),null}function ye(ce,De,ue,Ye,ut){if(typeof Ye=="string"&&Ye!==""||typeof Ye=="number"){var at=ce.get(ue)||null;return y(De,at,""+Ye,ut)}if(typeof Ye=="object"&&Ye!==null){switch(Ye.$$typeof){case V:{var Ut=ce.get(Ye.key===null?ue:Ye.key)||null;return C(De,Ut,Ye,ut)}case ae:{var Kt=ce.get(Ye.key===null?ue:Ye.key)||null;return E(De,Kt,Ye,ut)}case Ze:var ea=Ye._payload,Nr=Ye._init;return ye(ce,De,ue,Nr(ea),ut)}if(an(Ye)||Qa(Ye)){var Ya=ce.get(ue)||null;return L(De,Ya,Ye,ut,null)}Lv(De,Ye)}return typeof Ye=="function"&&Nv(De),null}function Se(ce,De,ue){{if(typeof ce!="object"||ce===null)return De;switch(ce.$$typeof){case V:case ae:ox(ce,ue);var Ye=ce.key;if(typeof Ye!="string")break;if(De===null){De=new Set,De.add(Ye);break}if(!De.has(Ye)){De.add(Ye);break}u("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.",Ye);break;case Ze:var ut=ce._payload,at=ce._init;Se(at(ut),De,ue);break}}return De}function ke(ce,De,ue,Ye){for(var ut=null,at=0;at<ue.length;at++){var Ut=ue[at];ut=Se(Ut,ut,ce)}for(var Kt=null,ea=null,Nr=De,Ya=0,Or=0,Ba=null;Nr!==null&&Or<ue.length;Or++){Nr.index>Or?(Ba=Nr,Nr=null):Ba=Nr.sibling;var Hn=J(ce,Nr,ue[Or],Ye);if(Hn===null){Nr===null&&(Nr=Ba);break}e&&Nr&&Hn.alternate===null&&t(ce,Nr),Ya=d(Hn,Ya,Or),ea===null?Kt=Hn:ea.sibling=Hn,ea=Hn,Nr=Ba}if(Or===ue.length){if(n(ce,Nr),En()){var Mn=Or;Fu(ce,Mn)}return Kt}if(Nr===null){for(;Or<ue.length;Or++){var Vo=Z(ce,ue[Or],Ye);Vo!==null&&(Ya=d(Vo,Ya,Or),ea===null?Kt=Vo:ea.sibling=Vo,ea=Vo)}if(En()){var Zn=Or;Fu(ce,Zn)}return Kt}for(var eo=i(ce,Nr);Or<ue.length;Or++){var Un=ye(eo,ce,Or,ue[Or],Ye);Un!==null&&(e&&Un.alternate!==null&&eo.delete(Un.key===null?Or:Un.key),Ya=d(Un,Ya,Or),ea===null?Kt=Un:ea.sibling=Un,ea=Un)}if(e&&eo.forEach(function(Ed){return t(ce,Ed)}),En()){var ic=Or;Fu(ce,ic)}return Kt}function rt(ce,De,ue,Ye){var ut=Qa(ue);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ue[Symbol.toStringTag]==="Generator"&&(Hy||u("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."),Hy=!0),ue.entries===ut&&(jy||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jy=!0);var at=ut.call(ue);if(at)for(var Ut=null,Kt=at.next();!Kt.done;Kt=at.next()){var ea=Kt.value;Ut=Se(ea,Ut,ce)}}var Nr=ut.call(ue);if(Nr==null)throw new Error("An iterable object provided no iterator.");for(var Ya=null,Or=null,Ba=De,Hn=0,Mn=0,Vo=null,Zn=Nr.next();Ba!==null&&!Zn.done;Mn++,Zn=Nr.next()){Ba.index>Mn?(Vo=Ba,Ba=null):Vo=Ba.sibling;var eo=J(ce,Ba,Zn.value,Ye);if(eo===null){Ba===null&&(Ba=Vo);break}e&&Ba&&eo.alternate===null&&t(ce,Ba),Hn=d(eo,Hn,Mn),Or===null?Ya=eo:Or.sibling=eo,Or=eo,Ba=Vo}if(Zn.done){if(n(ce,Ba),En()){var Un=Mn;Fu(ce,Un)}return Ya}if(Ba===null){for(;!Zn.done;Mn++,Zn=Nr.next()){var ic=Z(ce,Zn.value,Ye);ic!==null&&(Hn=d(ic,Hn,Mn),Or===null?Ya=ic:Or.sibling=ic,Or=ic)}if(En()){var Ed=Mn;Fu(ce,Ed)}return Ya}for(var Uh=i(ce,Ba);!Zn.done;Mn++,Zn=Nr.next()){var xs=ye(Uh,ce,Mn,Zn.value,Ye);xs!==null&&(e&&xs.alternate!==null&&Uh.delete(xs.key===null?Mn:xs.key),Hn=d(xs,Hn,Mn),Or===null?Ya=xs:Or.sibling=xs,Or=xs)}if(e&&Uh.forEach(function(yV){return t(ce,yV)}),En()){var bV=Mn;Fu(ce,bV)}return Ya}function Rt(ce,De,ue,Ye){if(De!==null&&De.tag===k){n(ce,De.sibling);var ut=c(De,ue);return ut.return=ce,ut}n(ce,De);var at=j0(ue,ce.mode,Ye);return at.return=ce,at}function St(ce,De,ue,Ye){for(var ut=ue.key,at=De;at!==null;){if(at.key===ut){var Ut=ue.type;if(Ut===se){if(at.tag===R){n(ce,at.sibling);var Kt=c(at,ue.props.children);return Kt.return=ce,Kt._debugSource=ue._source,Kt._debugOwner=ue._owner,Kt}}else if(at.elementType===Ut||pk(at,ue)||typeof Ut=="object"&&Ut!==null&&Ut.$$typeof===Ze&&ix(Ut)===at.type){n(ce,at.sibling);var ea=c(at,ue.props);return ea.ref=uh(ce,at,ue),ea.return=ce,ea._debugSource=ue._source,ea._debugOwner=ue._owner,ea}n(ce,at);break}else t(ce,at);at=at.sibling}if(ue.type===se){var Nr=Zc(ue.props.children,ce.mode,Ye,ue.key);return Nr.return=ce,Nr}else{var Ya=F0(ue,ce.mode,Ye);return Ya.ref=uh(ce,De,ue),Ya.return=ce,Ya}}function hr(ce,De,ue,Ye){for(var ut=ue.key,at=De;at!==null;){if(at.key===ut)if(at.tag===S&&at.stateNode.containerInfo===ue.containerInfo&&at.stateNode.implementation===ue.implementation){n(ce,at.sibling);var Ut=c(at,ue.children||[]);return Ut.return=ce,Ut}else{n(ce,at);break}else t(ce,at);at=at.sibling}var Kt=H0(ue,ce.mode,Ye);return Kt.return=ce,Kt}function mr(ce,De,ue,Ye){var ut=typeof ue=="object"&&ue!==null&&ue.type===se&&ue.key===null;if(ut&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return g(St(ce,De,ue,Ye));case ae:return g(hr(ce,De,ue,Ye));case Ze:var at=ue._payload,Ut=ue._init;return mr(ce,De,Ut(at),Ye)}if(an(ue))return ke(ce,De,ue,Ye);if(Qa(ue))return rt(ce,De,ue,Ye);Lv(ce,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?g(Rt(ce,De,""+ue,Ye)):(typeof ue=="function"&&Nv(ce),n(ce,De))}return mr}var cd=lx(!0),sx=lx(!1);function WF(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=Ju(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Ju(n,n.pendingProps),i.return=t;i.sibling=null}}function qF(e,t){for(var n=e.child;n!==null;)zU(n,t),n=n.sibling}var qy=Fc(null),Yy;Yy={};var Ov=null,ud=null,$y=null,Mv=!1;function Pv(){Ov=null,ud=null,$y=null,Mv=!1}function cx(){Mv=!0}function ux(){Mv=!1}function fx(e,t,n){Fn(qy,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Yy&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Yy}function Gy(e,t){var n=qy.current;Bn(qy,t),e._currentValue=n}function Ky(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(Gf(i.childLanes,t)?c!==null&&!Gf(c.childLanes,t)&&(c.childLanes=lr(c.childLanes,t)):(i.childLanes=lr(i.childLanes,t),c!==null&&(c.childLanes=lr(c.childLanes,t))),i===n)break;i=i.return}i!==n&&u("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 YF(e,t,n){$F(e,t,n)}function $F(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var g=d.firstContext;g!==null;){if(g.context===t){if(i.tag===m){var y=Rp(n),C=ec(va,y);C.tag=zv;var E=i.updateQueue;if(E!==null){var L=E.shared,Z=L.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),L.pending=C}}i.lanes=lr(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=lr(J.lanes,n)),Ky(i.return,n,e),d.lanes=lr(d.lanes,n);break}g=g.next}}else if(i.tag===O)c=i.type===e.type?null:i.child;else if(i.tag===de){var ye=i.return;if(ye===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ye.lanes=lr(ye.lanes,n);var Se=ye.alternate;Se!==null&&(Se.lanes=lr(Se.lanes,n)),Ky(ye,n,e),c=i.sibling}else c=i.child;if(c!==null)c.return=i;else for(c=i;c!==null;){if(c===e){c=null;break}var ke=c.sibling;if(ke!==null){ke.return=c.return,c=ke;break}c=c.return}i=c}}function fd(e,t){Ov=e,ud=null,$y=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(zo(n.lanes,t)&&kh(),n.firstContext=null)}}function en(e){Mv&&u("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($y!==e){var n={context:e,memoizedValue:t,next:null};if(ud===null){if(Ov===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().");ud=n,Ov.dependencies={lanes:Ie,firstContext:n}}else ud=ud.next=n}return t}var Wu=null;function Xy(e){Wu===null?Wu=[e]:Wu.push(e)}function GF(){if(Wu!==null){for(var e=0;e<Wu.length;e++){var t=Wu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var d=c.next;c.next=i,n.next=d}t.pending=n}}Wu=null}}function dx(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,Xy(t)):(n.next=c.next,c.next=n),t.interleaved=n,Iv(e,i)}function KF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,Xy(t)):(n.next=c.next,c.next=n),t.interleaved=n}function XF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,Xy(t)):(n.next=c.next,c.next=n),t.interleaved=n,Iv(e,i)}function So(e,t){return Iv(e,t)}var QF=Iv;function Iv(e,t){e.lanes=lr(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=lr(n.lanes,t)),n===null&&(e.flags&(Za|Vs))!==Bt&&ck(e);for(var i=e,c=e.return;c!==null;)c.childLanes=lr(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=lr(n.childLanes,t):(c.flags&(Za|Vs))!==Bt&&ck(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var px=0,hx=1,zv=2,Qy=3,Bv=!1,Jy,Fv;Jy=!1,Fv=null;function Zy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ie},effects:null};e.updateQueue=t}function mx(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var c={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=c}}function ec(e,t){var n={eventTime:e,lane:t,tag:px,payload:null,callback:null,next:null};return n}function Vc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Fv===c&&!Jy&&(u("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."),Jy=!0),eU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,QF(e,n)}else return XF(e,c,t,n)}function jv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(R3(n)){var d=c.lanes;d=A3(d,e.pendingLanes);var g=lr(d,n);c.lanes=g,qb(e,g)}}}function e1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,g=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?d=g=E:(g.next=E,g=E),C=C.next}while(C!==null);g===null?d=g=t:(g.next=t,g=t)}else d=g=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var L=n.lastBaseUpdate;L===null?n.firstBaseUpdate=t:L.next=t,n.lastBaseUpdate=t}function JF(e,t,n,i,c,d){switch(n.tag){case hx:{var g=n.payload;if(typeof g=="function"){cx();var y=g.call(d,i,c);{if(e.mode&za){bn(!0);try{g.call(d,i,c)}finally{bn(!1)}}ux()}return y}return g}case Qy:e.flags=e.flags&~Kn|zr;case px:{var C=n.payload,E;if(typeof C=="function"){cx(),E=C.call(d,i,c);{if(e.mode&za){bn(!0);try{C.call(d,i,c)}finally{bn(!1)}}ux()}}else E=C;return E==null?i:Ot({},i,E)}case zv:return Bv=!0,i}return i}function Hv(e,t,n,i){var c=e.updateQueue;Bv=!1,Fv=c.shared;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var C=y,E=C.next;C.next=null,g===null?d=E:g.next=E,g=C;var L=e.alternate;if(L!==null){var Z=L.updateQueue,J=Z.lastBaseUpdate;J!==g&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=C)}}if(d!==null){var ye=c.baseState,Se=Ie,ke=null,rt=null,Rt=null,St=d;do{var hr=St.lane,mr=St.eventTime;if(Gf(i,hr)){if(Rt!==null){var De={eventTime:mr,lane:yn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}ye=JF(e,c,St,ye,t,n);var ue=St.callback;if(ue!==null&&St.lane!==yn){e.flags|=db;var Ye=c.effects;Ye===null?c.effects=[St]:Ye.push(St)}}else{var ce={eventTime:mr,lane:hr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ce,ke=ye):Rt=Rt.next=ce,Se=lr(Se,hr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ut=y,at=ut.next;ut.next=null,St=at,c.lastBaseUpdate=ut,c.shared.pending=null}}while(!0);Rt===null&&(ke=ye),c.baseState=ke,c.firstBaseUpdate=rt,c.lastBaseUpdate=Rt;var Ut=c.shared.interleaved;if(Ut!==null){var Kt=Ut;do Se=lr(Se,Kt.lane),Kt=Kt.next;while(Kt!==Ut)}else d===null&&(c.shared.lanes=Ie);zh(Se),e.lanes=Se,e.memoizedState=ye}Fv=null}function ZF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function vx(){Bv=!1}function Uv(){return Bv}function gx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var d=i[c],g=d.callback;g!==null&&(d.callback=null,ZF(g,n))}}var fh={},Wc=Fc(fh),dh=Fc(fh),Vv=Fc(fh);function Wv(e){if(e===fh)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 _x(){var e=Wv(Vv.current);return e}function t1(e,t){Fn(Vv,t,e),Fn(dh,e,e),Fn(Wc,fh,e);var n=v9(t);Bn(Wc,e),Fn(Wc,n,e)}function dd(e){Bn(Wc,e),Bn(dh,e),Bn(Vv,e)}function r1(){var e=Wv(Wc.current);return e}function bx(e){var t=Wv(Vv.current),n=Wv(Wc.current),i=g9(n,e.type);n!==i&&(Fn(dh,e,e),Fn(Wc,i,e))}function a1(e){dh.current===e&&(Bn(Wc,e),Bn(dh,e))}var ej=0,yx=1,Sx=1,ph=2,Wl=Fc(ej);function n1(e,t){return(e&t)!==0}function pd(e){return e&yx}function o1(e,t){return e&yx|t}function tj(e,t){return e|t}function qc(e,t){Fn(Wl,t,e)}function hd(e){Bn(Wl,e)}function rj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function qv(e){for(var t=e;t!==null;){if(t.tag===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||BC(i)||Cy(i))return t}}else if(t.tag===pe&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&zr)!==Bt;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var wo=0,nn=1,gs=2,on=4,Rn=8,i1=[];function l1(){for(var e=0;e<i1.length;e++){var t=i1[e];t._workInProgressVersionPrimary=null}i1.length=0}function aj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var it=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,s1,md;s1=new Set;var qu=Ie,Zr=null,ln=null,sn=null,Yv=!1,mh=!1,vh=0,nj=0,oj=25,Le=null,wl=null,Yc=-1,c1=!1;function jr(){{var e=Le;wl===null?wl=[e]:wl.push(e)}}function et(){{var e=Le;wl!==null&&(Yc++,wl[Yc]!==e&&ij(e))}}function vd(e){e!=null&&!an(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function ij(e){{var t=ar(Zr);if(!s1.has(t)&&(s1.add(t),wl!==null)){for(var n="",i=30,c=0;c<=Yc;c++){for(var d=wl[c],g=c===Yc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=g+`
72
72
  `,n+=y}u(`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
75
75
  ------------------------------------------------------
76
76
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
- `,t,n)}}}function Fn(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
77
+ `,t,n)}}}function jn(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
78
78
  1. You might have mismatching versions of React and the renderer (such as React DOM)
79
79
  2. You might be breaking the Rules of Hooks
80
80
  3. You might have more than one copy of React in the same app
81
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function uy(e,t){if(cy)return!1;if(t===null)return u("%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.",Le),!1;e.length!==t.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
81
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function u1(e,t){if(c1)return!1;if(t===null)return u("%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.",Le),!1;e.length!==t.length&&u(`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`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function gd(e,t,n,i,c,d){qu=d,Qr=t,wl=e!==null?e._debugHookTypes:null,Yc=-1,cy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ie,e!==null&&e.memoizedState!==null?st.current=Vx:wl!==null?st.current=Ux:st.current=Hx;var g=n(i,c);if(mh){var y=0;do{if(mh=!1,vh=0,y>=oj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,cy=!1,ln=null,sn=null,t.updateQueue=null,Yc=-1,st.current=Wx,g=n(i,c)}while(mh)}st.current=og,t._debugHookTypes=wl;var C=ln!==null&&ln.next!==null;if(qu=Ie,Qr=null,ln=null,sn=null,Le=null,wl=null,Yc=-1,e!==null&&(e.flags&qs)!==(t.flags&qs)&&(e.mode&yr)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Yv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function _d(){var e=vh!==0;return vh=0,e}function wx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ps)!==Mt?t.flags&=~(jm|Ws|Bl|Er):t.flags&=~(Bl|Er),e.lanes=$m(e.lanes,n)}function Cx(){if(st.current=og,Yv){for(var e=Qr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yv=!1}qu=Ie,Qr=null,ln=null,sn=null,wl=null,Yc=-1,Le=null,Ix=!1,mh=!1,vh=0}function _s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?Qr.memoizedState=sn=e:sn=sn.next=e,sn}function Cl(){var e;if(ln===null){var t=Qr.alternate;t!==null?e=t.memoizedState:e=null}else e=ln.next;var n;if(sn===null?n=Qr.memoizedState:n=sn.next,n!==null)sn=n,n=sn.next,ln=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ln=e;var i={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null};sn===null?Qr.memoizedState=sn=i:sn=sn.next=i}return sn}function xx(){return{lastEffect:null,stores:null}}function fy(e,t){return typeof t=="function"?t(e):t}function dy(e,t,n){var i=_s(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var g=d.dispatch=uj.bind(null,Qr,d);return[i.memoizedState,g]}function py(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=ln,g=d.baseQueue,y=c.pending;if(y!==null){if(g!==null){var C=g.next,E=y.next;g.next=E,y.next=C}d.baseQueue!==g&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=g=y,c.pending=null}if(g!==null){var L=g.next,J=d.baseState,Q=null,ve=null,ge=null,xe=L;do{var at=xe.lane;if(Gf(qu,at)){if(ge!==null){var St={lane:yn,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ge=ge.next=St}if(xe.hasEagerState)J=xe.eagerState;else{var hr=xe.action;J=e(J,hr)}}else{var Dt={lane:at,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ge===null?(ve=ge=Dt,Q=J):ge=ge.next=Dt,Qr.lanes=ir(Qr.lanes,at),zh(at)}xe=xe.next}while(xe!==null&&xe!==L);ge===null?Q=J:ge.next=ve,jo(J,i.memoizedState)||kh(),i.memoizedState=J,i.baseState=Q,i.baseQueue=ge,c.lastRenderedState=J}var mr=c.interleaved;if(mr!==null){var ue=mr;do{var De=ue.lane;Qr.lanes=ir(Qr.lanes,De),zh(De),ue=ue.next}while(ue!==mr)}else g===null&&(c.lanes=Ie);var fe=c.dispatch;return[i.memoizedState,fe]}function hy(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=c.dispatch,g=c.pending,y=i.memoizedState;if(g!==null){c.pending=null;var C=g.next,E=C;do{var L=E.action;y=e(y,L),E=E.next}while(E!==C);jo(y,i.memoizedState)||kh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function q$(e,t,n){}function Y$(e,t,n){}function my(e,t,n){var i=Qr,c=_s(),d,g=Tn();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),md||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),md=!0)}else{if(d=t(),!md){var y=t();jo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var C=xg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ym(C,qu)||kx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Qv(Ex.bind(null,i,E,e),[e]),i.flags|=Bl,gh(nn|En,Tx.bind(null,i,E,d,t),void 0,null),d}function $v(e,t,n){var i=Qr,c=Cl(),d=t();if(!md){var g=t();jo(d,g)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var y=c.memoizedState,C=!jo(y,d);C&&(c.memoizedState=d,kh());var E=c.queue;if(bh(Ex.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||sn!==null&&sn.memoizedState.tag&nn){i.flags|=Bl,gh(nn|En,Tx.bind(null,i,E,d,t),void 0,null);var L=xg();if(L===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ym(L,qu)||kx(i,t,d)}return d}function kx(e,t,n){e.flags|=Fm;var i={getSnapshot:t,value:n},c=Qr.updateQueue;if(c===null)c=xx(),Qr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.stores=[i]:d.push(i)}}function Tx(e,t,n,i){t.value=n,t.getSnapshot=i,Rx(t)&&Dx(e)}function Ex(e,t,n){var i=function(){Rx(t)&&Dx(e)};return n(i)}function Rx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Dx(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)}function Gv(e){var t=_s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:fy,lastRenderedState:e};t.queue=n;var i=n.dispatch=fj.bind(null,Qr,n);return[t.memoizedState,i]}function vy(e){return py(fy)}function gy(e){return hy(fy)}function gh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Qr.updateQueue;if(d===null)d=xx(),Qr.updateQueue=d,d.lastEffect=c.next=c;else{var g=d.lastEffect;if(g===null)d.lastEffect=c.next=c;else{var y=g.next;g.next=c,c.next=y,d.lastEffect=c}}return c}function _y(e){var t=_s();{var n={current:e};return t.memoizedState=n,n}}function Kv(e){var t=Cl();return t.memoizedState}function _h(e,t,n,i){var c=_s(),d=i===void 0?null:i;Qr.flags|=e,c.memoizedState=gh(nn|t,n,void 0,d)}function Xv(e,t,n,i){var c=Cl(),d=i===void 0?null:i,g=void 0;if(ln!==null){var y=ln.memoizedState;if(g=y.destroy,d!==null){var C=y.deps;if(uy(d,C)){c.memoizedState=gh(t,n,g,d);return}}}Qr.flags|=e,c.memoizedState=gh(nn|t,n,g,d)}function Qv(e,t){return(Qr.mode&ps)!==Mt?_h(jm|Bl|mb,En,e,t):_h(Bl|mb,En,e,t)}function bh(e,t){return Xv(Bl,En,e,t)}function by(e,t){return _h(Er,gs,e,t)}function Jv(e,t){return Xv(Er,gs,e,t)}function yy(e,t){var n=Er;return n|=Eu,(Qr.mode&ps)!==Mt&&(n|=Ws),_h(n,on,e,t)}function Zv(e,t){return Xv(Er,on,e,t)}function Ax(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var d=e();return c.current=d,function(){c.current=null}}}function Sy(e,t,n){typeof t!="function"&&u("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,c=Er;return c|=Eu,(Qr.mode&ps)!==Mt&&(c|=Ws),_h(c,on,Ax.bind(null,t,e),i)}function eg(e,t,n){typeof t!="function"&&u("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 Xv(Er,on,Ax.bind(null,t,e),i)}function lj(e,t){}var tg=lj;function wy(e,t){var n=_s(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function rg(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(uy(i,d))return c[0]}return n.memoizedState=[e,i],e}function Cy(e,t){var n=_s(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function ag(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(uy(i,d))return c[0]}var g=e();return n.memoizedState=[g,i],g}function xy(e){var t=_s();return t.memoizedState=e,e}function Lx(e){var t=Cl(),n=ln,i=n.memoizedState;return Ox(t,i,e)}function Nx(e){var t=Cl();if(ln===null)return t.memoizedState=e,e;var n=ln.memoizedState;return Ox(t,n,e)}function Ox(e,t,n){var i=!YI(qu);if(i){if(!jo(n,t)){var c=D3();Qr.lanes=ir(Qr.lanes,c),zh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,kh()),e.memoizedState=n,n}function sj(e,t,n){var i=jl();Sn(tz(i,$s)),e(!0);var c=hh.transition;hh.transition={};var d=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Sn(i),hh.transition=c,c===null&&d._updatedFibers){var g=d._updatedFibers.size;g>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function ky(){var e=Gv(!1),t=e[0],n=e[1],i=sj.bind(null,n),c=_s();return c.memoizedState=i,[t,i]}function Mx(){var e=vy(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}function Px(){var e=gy(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}var Ix=!1;function cj(){return Ix}function Ty(){var e=_s(),t=xg(),n=t.identifierPrefix,i;if(Tn()){var c=TF();i=":"+n+"R"+c;var d=vh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var g=nj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function ng(){var e=Cl(),t=e.memoizedState;return t}function uj(e,t,n){typeof arguments[3]=="function"&&u("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=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(zx(e))Bx(t,c);else{var d=dx(e,t,c,i);if(d!==null){var g=Qn();dn(d,e,i,g),Fx(d,t,i)}}jx(e,i)}function fj(e,t,n){typeof arguments[3]=="function"&&u("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=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(zx(e))Bx(t,c);else{var d=e.alternate;if(e.lanes===Ie&&(d===null||d.lanes===Ie)){var g=t.lastRenderedReducer;if(g!==null){var y;y=st.current,st.current=ql;try{var C=t.lastRenderedState,E=g(C,n);if(c.hasEagerState=!0,c.eagerState=E,jo(E,C)){KF(e,t,c,i);return}}catch(Q){}finally{st.current=y}}}var L=dx(e,t,c,i);if(L!==null){var J=Qn();dn(L,e,i,J),Fx(L,t,i)}}jx(e,i)}function zx(e){var t=e.alternate;return e===Qr||t!==null&&t===Qr}function Bx(e,t){mh=Yv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fx(e,t,n){if(R3(n)){var i=t.lanes;i=A3(i,e.pendingLanes);var c=ir(i,n);t.lanes=c,qb(e,c)}}function jx(e,t,n){yb(e,t)}var og={readContext:en,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:ie},Hx=null,Ux=null,Vx=null,Wx=null,bs=null,ql=null,ig=null;{var Ey=function(){u("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().")},Yt=function(){u("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")};Hx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",Br(),vd(t),wy(e,t)},useContext:function(e){return Le="useContext",Br(),en(e)},useEffect:function(e,t){return Le="useEffect",Br(),vd(t),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),vd(n),Sy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),vd(t),by(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),vd(t),yy(e,t)},useMemo:function(e,t){Le="useMemo",Br(),vd(t);var n=st.current;st.current=bs;try{return Cy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=st.current;st.current=bs;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Br(),_y(e)},useState:function(e){Le="useState",Br();var t=st.current;st.current=bs;try{return Gv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),xy(e)},useTransition:function(){return Le="useTransition",Br(),ky()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),my(e,t,n)},useId:function(){return Le="useId",Br(),Ty()},unstable_isNewReconciler:ie},Ux={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",tt(),wy(e,t)},useContext:function(e){return Le="useContext",tt(),en(e)},useEffect:function(e,t){return Le="useEffect",tt(),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Sy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),by(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),yy(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=bs;try{return Cy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=bs;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),_y(e)},useState:function(e){Le="useState",tt();var t=st.current;st.current=bs;try{return Gv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),xy(e)},useTransition:function(){return Le="useTransition",tt(),ky()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),my(e,t,n)},useId:function(){return Le="useId",tt(),Ty()},unstable_isNewReconciler:ie},Vx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",tt(),rg(e,t)},useContext:function(e){return Le="useContext",tt(),en(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=ql;try{return ag(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=ql;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),Kv()},useState:function(e){Le="useState",tt();var t=st.current;st.current=ql;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Lx(e)},useTransition:function(){return Le="useTransition",tt(),Mx()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),$v(e,t)},useId:function(){return Le="useId",tt(),ng()},unstable_isNewReconciler:ie},Wx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",tt(),rg(e,t)},useContext:function(e){return Le="useContext",tt(),en(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=ig;try{return ag(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=ig;try{return hy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),Kv()},useState:function(e){Le="useState",tt();var t=st.current;st.current=ig;try{return gy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Nx(e)},useTransition:function(){return Le="useTransition",tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),$v(e,t)},useId:function(){return Le="useId",tt(),ng()},unstable_isNewReconciler:ie},bs={readContext:function(e){return Ey(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),wy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),Sy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),by(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),yy(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=st.current;st.current=bs;try{return Cy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=st.current;st.current=bs;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),_y(e)},useState:function(e){Le="useState",Yt(),Br();var t=st.current;st.current=bs;try{return Gv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),xy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),ky()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),my(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),Ty()},unstable_isNewReconciler:ie},ql={readContext:function(e){return Ey(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),rg(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=ql;try{return ag(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=ql;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Kv()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=ql;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Lx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Mx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),$v(e,t)},useId:function(){return Le="useId",Yt(),tt(),ng()},unstable_isNewReconciler:ie},ig={readContext:function(e){return Ey(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),rg(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=ql;try{return ag(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=ql;try{return hy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Kv()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=ql;try{return gy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Nx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),$v(e,t)},useId:function(){return Le="useId",Yt(),tt(),ng()},unstable_isNewReconciler:ie}}var $c=a.unstable_now,qx=0,lg=-1,yh=-1,sg=-1,Ry=!1,cg=!1;function Yx(){return Ry}function dj(){cg=!0}function pj(){Ry=!1,cg=!1}function hj(){Ry=cg,cg=!1}function $x(){return qx}function Gx(){qx=$c()}function Dy(e){yh=$c(),e.actualStartTime<0&&(e.actualStartTime=$c())}function Kx(e){yh=-1}function ug(e,t){if(yh>=0){var n=$c()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function ys(e){if(lg>=0){var t=$c()-lg;lg=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function Ay(e){if(sg>=0){var t=$c()-sg;sg=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function Ss(){lg=$c()}function Ly(){sg=$c()}function Ny(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Yl(e,t){if(e&&e.defaultProps){var n=Ot({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Oy={},My,Py,Iy,zy,By,Xx,fg,Fy,jy,Hy,Sh;{My=new Set,Py=new Set,Iy=new Set,zy=new Set,Fy=new Set,By=new Set,jy=new Set,Hy=new Set,Sh=new Set;var Qx=new Set;fg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Qx.has(n)||(Qx.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Xx=function(e,t){if(t===void 0){var n=Hr(e)||"Component";By.has(n)||(By.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Oy,"_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(Oy)}function Uy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Pa){bn(!0);try{d=n(i,c)}finally{bn(!1)}}Xx(t,d)}var g=d==null?c:Ot({},c,d);if(e.memoizedState=g,e.lanes===Ie){var y=e.updateQueue;y.baseState=g}}var Vy={isMounted:oI,enqueueSetState:function(e,t,n){var i=Hf(e),c=Qn(),d=Qc(i),g=ec(c,d);g.payload=t,n!=null&&(fg(n,"setState"),g.callback=n);var y=Vc(i,g,d);y!==null&&(dn(y,i,d,c),jv(y,i,d)),yb(i,d)},enqueueReplaceState:function(e,t,n){var i=Hf(e),c=Qn(),d=Qc(i),g=ec(c,d);g.tag=hx,g.payload=t,n!=null&&(fg(n,"replaceState"),g.callback=n);var y=Vc(i,g,d);y!==null&&(dn(y,i,d,c),jv(y,i,d)),yb(i,d)},enqueueForceUpdate:function(e,t){var n=Hf(e),i=Qn(),c=Qc(n),d=ec(i,c);d.tag=zv,t!=null&&(fg(t,"forceUpdate"),d.callback=t);var g=Vc(n,d,c);g!==null&&(dn(g,n,c,i),jv(g,n,c)),II(n,c)}};function Jx(e,t,n,i,c,d,g){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,g);{if(e.mode&Pa){bn(!0);try{C=y.shouldComponentUpdate(i,d,g)}finally{bn(!1)}}C===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,d):!0}function mj(e,t,n){var i=e.stateNode;{var c=Hr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&u("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?",c),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&u("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.",c),i.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),i.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!Sh.has(t)&&(e.mode&Pa)===Mt&&(Sh.add(t),u(`%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`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function gd(e,t,n,i,c,d){qu=d,Zr=t,wl=e!==null?e._debugHookTypes:null,Yc=-1,c1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ie,e!==null&&e.memoizedState!==null?it.current=Vx:wl!==null?it.current=Ux:it.current=Hx;var g=n(i,c);if(mh){var y=0;do{if(mh=!1,vh=0,y>=oj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,c1=!1,ln=null,sn=null,t.updateQueue=null,Yc=-1,it.current=Wx,g=n(i,c)}while(mh)}it.current=og,t._debugHookTypes=wl;var C=ln!==null&&ln.next!==null;if(qu=Ie,Zr=null,ln=null,sn=null,Le=null,wl=null,Yc=-1,e!==null&&(e.flags&qs)!==(t.flags&qs)&&(e.mode&yr)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Yv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function _d(){var e=vh!==0;return vh=0,e}function wx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ps)!==Mt?t.flags&=~(jm|Ws|Bl|Er):t.flags&=~(Bl|Er),e.lanes=$m(e.lanes,n)}function Cx(){if(it.current=og,Yv){for(var e=Zr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yv=!1}qu=Ie,Zr=null,ln=null,sn=null,wl=null,Yc=-1,Le=null,Ix=!1,mh=!1,vh=0}function _s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?Zr.memoizedState=sn=e:sn=sn.next=e,sn}function Cl(){var e;if(ln===null){var t=Zr.alternate;t!==null?e=t.memoizedState:e=null}else e=ln.next;var n;if(sn===null?n=Zr.memoizedState:n=sn.next,n!==null)sn=n,n=sn.next,ln=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ln=e;var i={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null};sn===null?Zr.memoizedState=sn=i:sn=sn.next=i}return sn}function xx(){return{lastEffect:null,stores:null}}function f1(e,t){return typeof t=="function"?t(e):t}function d1(e,t,n){var i=_s(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var g=d.dispatch=uj.bind(null,Zr,d);return[i.memoizedState,g]}function p1(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=ln,g=d.baseQueue,y=c.pending;if(y!==null){if(g!==null){var C=g.next,E=y.next;g.next=E,y.next=C}d.baseQueue!==g&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=g=y,c.pending=null}if(g!==null){var L=g.next,Z=d.baseState,J=null,ye=null,Se=null,ke=L;do{var rt=ke.lane;if(Gf(qu,rt)){if(Se!==null){var St={lane:yn,action:ke.action,hasEagerState:ke.hasEagerState,eagerState:ke.eagerState,next:null};Se=Se.next=St}if(ke.hasEagerState)Z=ke.eagerState;else{var hr=ke.action;Z=e(Z,hr)}}else{var Rt={lane:rt,action:ke.action,hasEagerState:ke.hasEagerState,eagerState:ke.eagerState,next:null};Se===null?(ye=Se=Rt,J=Z):Se=Se.next=Rt,Zr.lanes=lr(Zr.lanes,rt),zh(rt)}ke=ke.next}while(ke!==null&&ke!==L);Se===null?J=Z:Se.next=ye,jo(Z,i.memoizedState)||kh(),i.memoizedState=Z,i.baseState=J,i.baseQueue=Se,c.lastRenderedState=Z}var mr=c.interleaved;if(mr!==null){var ce=mr;do{var De=ce.lane;Zr.lanes=lr(Zr.lanes,De),zh(De),ce=ce.next}while(ce!==mr)}else g===null&&(c.lanes=Ie);var ue=c.dispatch;return[i.memoizedState,ue]}function h1(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=c.dispatch,g=c.pending,y=i.memoizedState;if(g!==null){c.pending=null;var C=g.next,E=C;do{var L=E.action;y=e(y,L),E=E.next}while(E!==C);jo(y,i.memoizedState)||kh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function q$(e,t,n){}function Y$(e,t,n){}function m1(e,t,n){var i=Zr,c=_s(),d,g=En();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),md||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),md=!0)}else{if(d=t(),!md){var y=t();jo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var C=xg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ym(C,qu)||kx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Qv(Ex.bind(null,i,E,e),[e]),i.flags|=Bl,gh(nn|Rn,Tx.bind(null,i,E,d,t),void 0,null),d}function $v(e,t,n){var i=Zr,c=Cl(),d=t();if(!md){var g=t();jo(d,g)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var y=c.memoizedState,C=!jo(y,d);C&&(c.memoizedState=d,kh());var E=c.queue;if(bh(Ex.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||sn!==null&&sn.memoizedState.tag&nn){i.flags|=Bl,gh(nn|Rn,Tx.bind(null,i,E,d,t),void 0,null);var L=xg();if(L===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ym(L,qu)||kx(i,t,d)}return d}function kx(e,t,n){e.flags|=Fm;var i={getSnapshot:t,value:n},c=Zr.updateQueue;if(c===null)c=xx(),Zr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.stores=[i]:d.push(i)}}function Tx(e,t,n,i){t.value=n,t.getSnapshot=i,Rx(t)&&Dx(e)}function Ex(e,t,n){var i=function(){Rx(t)&&Dx(e)};return n(i)}function Rx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Dx(e){var t=So(e,qt);t!==null&&dn(t,e,qt,va)}function Gv(e){var t=_s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:f1,lastRenderedState:e};t.queue=n;var i=n.dispatch=fj.bind(null,Zr,n);return[t.memoizedState,i]}function v1(e){return p1(f1)}function g1(e){return h1(f1)}function gh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Zr.updateQueue;if(d===null)d=xx(),Zr.updateQueue=d,d.lastEffect=c.next=c;else{var g=d.lastEffect;if(g===null)d.lastEffect=c.next=c;else{var y=g.next;g.next=c,c.next=y,d.lastEffect=c}}return c}function _1(e){var t=_s();{var n={current:e};return t.memoizedState=n,n}}function Kv(e){var t=Cl();return t.memoizedState}function _h(e,t,n,i){var c=_s(),d=i===void 0?null:i;Zr.flags|=e,c.memoizedState=gh(nn|t,n,void 0,d)}function Xv(e,t,n,i){var c=Cl(),d=i===void 0?null:i,g=void 0;if(ln!==null){var y=ln.memoizedState;if(g=y.destroy,d!==null){var C=y.deps;if(u1(d,C)){c.memoizedState=gh(t,n,g,d);return}}}Zr.flags|=e,c.memoizedState=gh(nn|t,n,g,d)}function Qv(e,t){return(Zr.mode&ps)!==Mt?_h(jm|Bl|mb,Rn,e,t):_h(Bl|mb,Rn,e,t)}function bh(e,t){return Xv(Bl,Rn,e,t)}function b1(e,t){return _h(Er,gs,e,t)}function Jv(e,t){return Xv(Er,gs,e,t)}function y1(e,t){var n=Er;return n|=Eu,(Zr.mode&ps)!==Mt&&(n|=Ws),_h(n,on,e,t)}function Zv(e,t){return Xv(Er,on,e,t)}function Ax(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var d=e();return c.current=d,function(){c.current=null}}}function S1(e,t,n){typeof t!="function"&&u("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,c=Er;return c|=Eu,(Zr.mode&ps)!==Mt&&(c|=Ws),_h(c,on,Ax.bind(null,t,e),i)}function eg(e,t,n){typeof t!="function"&&u("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 Xv(Er,on,Ax.bind(null,t,e),i)}function lj(e,t){}var tg=lj;function w1(e,t){var n=_s(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function rg(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(u1(i,d))return c[0]}return n.memoizedState=[e,i],e}function C1(e,t){var n=_s(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function ag(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(u1(i,d))return c[0]}var g=e();return n.memoizedState=[g,i],g}function x1(e){var t=_s();return t.memoizedState=e,e}function Lx(e){var t=Cl(),n=ln,i=n.memoizedState;return Ox(t,i,e)}function Nx(e){var t=Cl();if(ln===null)return t.memoizedState=e,e;var n=ln.memoizedState;return Ox(t,n,e)}function Ox(e,t,n){var i=!YI(qu);if(i){if(!jo(n,t)){var c=D3();Zr.lanes=lr(Zr.lanes,c),zh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,kh()),e.memoizedState=n,n}function sj(e,t,n){var i=jl();Sn(tz(i,$s)),e(!0);var c=hh.transition;hh.transition={};var d=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Sn(i),hh.transition=c,c===null&&d._updatedFibers){var g=d._updatedFibers.size;g>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function k1(){var e=Gv(!1),t=e[0],n=e[1],i=sj.bind(null,n),c=_s();return c.memoizedState=i,[t,i]}function Mx(){var e=v1(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}function Px(){var e=g1(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}var Ix=!1;function cj(){return Ix}function T1(){var e=_s(),t=xg(),n=t.identifierPrefix,i;if(En()){var c=TF();i=":"+n+"R"+c;var d=vh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var g=nj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function ng(){var e=Cl(),t=e.memoizedState;return t}function uj(e,t,n){typeof arguments[3]=="function"&&u("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=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(zx(e))Bx(t,c);else{var d=dx(e,t,c,i);if(d!==null){var g=Jn();dn(d,e,i,g),Fx(d,t,i)}}jx(e,i)}function fj(e,t,n){typeof arguments[3]=="function"&&u("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=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(zx(e))Bx(t,c);else{var d=e.alternate;if(e.lanes===Ie&&(d===null||d.lanes===Ie)){var g=t.lastRenderedReducer;if(g!==null){var y;y=it.current,it.current=ql;try{var C=t.lastRenderedState,E=g(C,n);if(c.hasEagerState=!0,c.eagerState=E,jo(E,C)){KF(e,t,c,i);return}}catch(J){}finally{it.current=y}}}var L=dx(e,t,c,i);if(L!==null){var Z=Jn();dn(L,e,i,Z),Fx(L,t,i)}}jx(e,i)}function zx(e){var t=e.alternate;return e===Zr||t!==null&&t===Zr}function Bx(e,t){mh=Yv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fx(e,t,n){if(R3(n)){var i=t.lanes;i=A3(i,e.pendingLanes);var c=lr(i,n);t.lanes=c,qb(e,c)}}function jx(e,t,n){yb(e,t)}var og={readContext:en,useCallback:jn,useContext:jn,useEffect:jn,useImperativeHandle:jn,useInsertionEffect:jn,useLayoutEffect:jn,useMemo:jn,useReducer:jn,useRef:jn,useState:jn,useDebugValue:jn,useDeferredValue:jn,useTransition:jn,useMutableSource:jn,useSyncExternalStore:jn,useId:jn,unstable_isNewReconciler:ie},Hx=null,Ux=null,Vx=null,Wx=null,bs=null,ql=null,ig=null;{var E1=function(){u("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().")},Yt=function(){u("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")};Hx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",jr(),vd(t),w1(e,t)},useContext:function(e){return Le="useContext",jr(),en(e)},useEffect:function(e,t){return Le="useEffect",jr(),vd(t),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jr(),vd(n),S1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jr(),vd(t),b1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jr(),vd(t),y1(e,t)},useMemo:function(e,t){Le="useMemo",jr(),vd(t);var n=it.current;it.current=bs;try{return C1(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",jr();var i=it.current;it.current=bs;try{return d1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",jr(),_1(e)},useState:function(e){Le="useState",jr();var t=it.current;it.current=bs;try{return Gv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",jr(),x1(e)},useTransition:function(){return Le="useTransition",jr(),k1()},useMutableSource:function(e,t,n){return Le="useMutableSource",jr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jr(),m1(e,t,n)},useId:function(){return Le="useId",jr(),T1()},unstable_isNewReconciler:ie},Ux={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",et(),w1(e,t)},useContext:function(e){return Le="useContext",et(),en(e)},useEffect:function(e,t){return Le="useEffect",et(),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",et(),S1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",et(),b1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",et(),y1(e,t)},useMemo:function(e,t){Le="useMemo",et();var n=it.current;it.current=bs;try{return C1(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",et();var i=it.current;it.current=bs;try{return d1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",et(),_1(e)},useState:function(e){Le="useState",et();var t=it.current;it.current=bs;try{return Gv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",et(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",et(),x1(e)},useTransition:function(){return Le="useTransition",et(),k1()},useMutableSource:function(e,t,n){return Le="useMutableSource",et(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",et(),m1(e,t,n)},useId:function(){return Le="useId",et(),T1()},unstable_isNewReconciler:ie},Vx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",et(),rg(e,t)},useContext:function(e){return Le="useContext",et(),en(e)},useEffect:function(e,t){return Le="useEffect",et(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",et(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",et(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",et(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",et();var n=it.current;it.current=ql;try{return ag(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",et();var i=it.current;it.current=ql;try{return p1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",et(),Kv()},useState:function(e){Le="useState",et();var t=it.current;it.current=ql;try{return v1(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",et(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",et(),Lx(e)},useTransition:function(){return Le="useTransition",et(),Mx()},useMutableSource:function(e,t,n){return Le="useMutableSource",et(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",et(),$v(e,t)},useId:function(){return Le="useId",et(),ng()},unstable_isNewReconciler:ie},Wx={readContext:function(e){return en(e)},useCallback:function(e,t){return Le="useCallback",et(),rg(e,t)},useContext:function(e){return Le="useContext",et(),en(e)},useEffect:function(e,t){return Le="useEffect",et(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",et(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",et(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",et(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",et();var n=it.current;it.current=ig;try{return ag(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",et();var i=it.current;it.current=ig;try{return h1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",et(),Kv()},useState:function(e){Le="useState",et();var t=it.current;it.current=ig;try{return g1(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",et(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",et(),Nx(e)},useTransition:function(){return Le="useTransition",et(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",et(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",et(),$v(e,t)},useId:function(){return Le="useId",et(),ng()},unstable_isNewReconciler:ie},bs={readContext:function(e){return E1(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),jr(),w1(e,t)},useContext:function(e){return Le="useContext",Yt(),jr(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),jr(),Qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),jr(),S1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),jr(),b1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),jr(),y1(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),jr();var n=it.current;it.current=bs;try{return C1(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),jr();var i=it.current;it.current=bs;try{return d1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",Yt(),jr(),_1(e)},useState:function(e){Le="useState",Yt(),jr();var t=it.current;it.current=bs;try{return Gv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),jr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),jr(),x1(e)},useTransition:function(){return Le="useTransition",Yt(),jr(),k1()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),jr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),jr(),m1(e,t,n)},useId:function(){return Le="useId",Yt(),jr(),T1()},unstable_isNewReconciler:ie},ql={readContext:function(e){return E1(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),et(),rg(e,t)},useContext:function(e){return Le="useContext",Yt(),et(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),et(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),et(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),et(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),et(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),et();var n=it.current;it.current=ql;try{return ag(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),et();var i=it.current;it.current=ql;try{return p1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",Yt(),et(),Kv()},useState:function(e){Le="useState",Yt(),et();var t=it.current;it.current=ql;try{return v1(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),et(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),et(),Lx(e)},useTransition:function(){return Le="useTransition",Yt(),et(),Mx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),et(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),et(),$v(e,t)},useId:function(){return Le="useId",Yt(),et(),ng()},unstable_isNewReconciler:ie},ig={readContext:function(e){return E1(),en(e)},useCallback:function(e,t){return Le="useCallback",Yt(),et(),rg(e,t)},useContext:function(e){return Le="useContext",Yt(),et(),en(e)},useEffect:function(e,t){return Le="useEffect",Yt(),et(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),et(),eg(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),et(),Jv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),et(),Zv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),et();var n=it.current;it.current=ql;try{return ag(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),et();var i=it.current;it.current=ql;try{return h1(e,t,n)}finally{it.current=i}},useRef:function(e){return Le="useRef",Yt(),et(),Kv()},useState:function(e){Le="useState",Yt(),et();var t=it.current;it.current=ql;try{return g1(e)}finally{it.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),et(),tg()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),et(),Nx(e)},useTransition:function(){return Le="useTransition",Yt(),et(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),et(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),et(),$v(e,t)},useId:function(){return Le="useId",Yt(),et(),ng()},unstable_isNewReconciler:ie}}var $c=a.unstable_now,qx=0,lg=-1,yh=-1,sg=-1,R1=!1,cg=!1;function Yx(){return R1}function dj(){cg=!0}function pj(){R1=!1,cg=!1}function hj(){R1=cg,cg=!1}function $x(){return qx}function Gx(){qx=$c()}function D1(e){yh=$c(),e.actualStartTime<0&&(e.actualStartTime=$c())}function Kx(e){yh=-1}function ug(e,t){if(yh>=0){var n=$c()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function ys(e){if(lg>=0){var t=$c()-lg;lg=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function A1(e){if(sg>=0){var t=$c()-sg;sg=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function Ss(){lg=$c()}function L1(){sg=$c()}function N1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Yl(e,t){if(e&&e.defaultProps){var n=Ot({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var O1={},M1,P1,I1,z1,B1,Xx,fg,F1,j1,H1,Sh;{M1=new Set,P1=new Set,I1=new Set,z1=new Set,F1=new Set,B1=new Set,j1=new Set,H1=new Set,Sh=new Set;var Qx=new Set;fg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Qx.has(n)||(Qx.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Xx=function(e,t){if(t===void 0){var n=Vr(e)||"Component";B1.has(n)||(B1.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(O1,"_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(O1)}function U1(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&za){bn(!0);try{d=n(i,c)}finally{bn(!1)}}Xx(t,d)}var g=d==null?c:Ot({},c,d);if(e.memoizedState=g,e.lanes===Ie){var y=e.updateQueue;y.baseState=g}}var V1={isMounted:oI,enqueueSetState:function(e,t,n){var i=Hf(e),c=Jn(),d=Qc(i),g=ec(c,d);g.payload=t,n!=null&&(fg(n,"setState"),g.callback=n);var y=Vc(i,g,d);y!==null&&(dn(y,i,d,c),jv(y,i,d)),yb(i,d)},enqueueReplaceState:function(e,t,n){var i=Hf(e),c=Jn(),d=Qc(i),g=ec(c,d);g.tag=hx,g.payload=t,n!=null&&(fg(n,"replaceState"),g.callback=n);var y=Vc(i,g,d);y!==null&&(dn(y,i,d,c),jv(y,i,d)),yb(i,d)},enqueueForceUpdate:function(e,t){var n=Hf(e),i=Jn(),c=Qc(n),d=ec(i,c);d.tag=zv,t!=null&&(fg(t,"forceUpdate"),d.callback=t);var g=Vc(n,d,c);g!==null&&(dn(g,n,c,i),jv(g,n,c)),II(n,c)}};function Jx(e,t,n,i,c,d,g){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,g);{if(e.mode&za){bn(!0);try{C=y.shouldComponentUpdate(i,d,g)}finally{bn(!1)}}C===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,d):!0}function mj(e,t,n){var i=e.stateNode;{var c=Vr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&u("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?",c),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&u("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.",c),i.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),i.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!Sh.has(t)&&(e.mode&za)===Mt&&(Sh.add(t),u(`%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
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!Sh.has(t)&&(e.mode&Pa)===Mt&&(Sh.add(t),u(`%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.
86
+ .Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!Sh.has(t)&&(e.mode&za)===Mt&&(Sh.add(t),u(`%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
 
88
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),i.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!jy.has(t)&&(jy.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof i.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof i.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var g=i.props!==n;i.props!==void 0&&g&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),i.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Iy.has(t)&&(Iy.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var y=i.state;y&&(typeof y!="object"||an(y))&&u("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function Zx(e,t){t.updater=Vy,e.stateNode=t,eI(t,e),t._reactInternalInstance=Oy}function e4(e,t,n){var i=!1,c=Ho,d=Ho,g=t.contextType;if("contextType"in t){var y=g===null||g!==void 0&&g.$$typeof===q&&g._context===void 0;if(!y&&!Hy.has(t)){Hy.add(t);var C="";g===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?C=" However, it is set to a "+typeof g+".":g.$$typeof===D?C=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",C)}}if(typeof g=="object"&&g!==null)d=en(g);else{c=nd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?od(e,c):Ho}var L=new t(n,d);if(e.mode&Pa){bn(!0);try{L=new t(n,d)}finally{bn(!1)}}var J=e.memoizedState=L.state!==null&&L.state!==void 0?L.state:null;Zx(e,L);{if(typeof t.getDerivedStateFromProps=="function"&&J===null){var Q=Hr(t)||"Component";Py.has(Q)||(Py.add(Q),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,L.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"){var ve=null,ge=null,xe=null;if(typeof L.componentWillMount=="function"&&L.componentWillMount.__suppressDeprecationWarning!==!0?ve="componentWillMount":typeof L.UNSAFE_componentWillMount=="function"&&(ve="UNSAFE_componentWillMount"),typeof L.componentWillReceiveProps=="function"&&L.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ge="componentWillReceiveProps":typeof L.UNSAFE_componentWillReceiveProps=="function"&&(ge="UNSAFE_componentWillReceiveProps"),typeof L.componentWillUpdate=="function"&&L.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof L.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ve!==null||ge!==null||xe!==null){var at=Hr(t)||"Component",Dt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";zy.has(at)||(zy.add(at),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
88
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),i.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!j1.has(t)&&(j1.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof i.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Vr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof i.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var g=i.props!==n;i.props!==void 0&&g&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),i.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!I1.has(t)&&(I1.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Vr(t))),typeof i.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var y=i.state;y&&(typeof y!="object"||an(y))&&u("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function Zx(e,t){t.updater=V1,e.stateNode=t,eI(t,e),t._reactInternalInstance=O1}function e4(e,t,n){var i=!1,c=Ho,d=Ho,g=t.contextType;if("contextType"in t){var y=g===null||g!==void 0&&g.$$typeof===Y&&g._context===void 0;if(!y&&!H1.has(t)){H1.add(t);var C="";g===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?C=" However, it is set to a "+typeof g+".":g.$$typeof===A?C=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Vr(t)||"Component",C)}}if(typeof g=="object"&&g!==null)d=en(g);else{c=nd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?od(e,c):Ho}var L=new t(n,d);if(e.mode&za){bn(!0);try{L=new t(n,d)}finally{bn(!1)}}var Z=e.memoizedState=L.state!==null&&L.state!==void 0?L.state:null;Zx(e,L);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var J=Vr(t)||"Component";P1.has(J)||(P1.add(J),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,L.state===null?"null":"undefined",J))}if(typeof t.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"){var ye=null,Se=null,ke=null;if(typeof L.componentWillMount=="function"&&L.componentWillMount.__suppressDeprecationWarning!==!0?ye="componentWillMount":typeof L.UNSAFE_componentWillMount=="function"&&(ye="UNSAFE_componentWillMount"),typeof L.componentWillReceiveProps=="function"&&L.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Se="componentWillReceiveProps":typeof L.UNSAFE_componentWillReceiveProps=="function"&&(Se="UNSAFE_componentWillReceiveProps"),typeof L.componentWillUpdate=="function"&&L.componentWillUpdate.__suppressDeprecationWarning!==!0?ke="componentWillUpdate":typeof L.UNSAFE_componentWillUpdate=="function"&&(ke="UNSAFE_componentWillUpdate"),ye!==null||Se!==null||ke!==null){var rt=Vr(t)||"Component",Rt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";z1.has(rt)||(z1.add(rt),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
89
89
 
90
90
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
91
91
 
92
92
  The above lifecycles should be removed. Learn more about this warning here:
93
- https://reactjs.org/link/unsafe-component-lifecycles`,at,Dt,ve!==null?`
94
- `+ve:"",ge!==null?`
95
- `+ge:"",xe!==null?`
96
- `+xe:""))}}}return i&&VC(e,c,d),L}function vj(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rr(e)||"Component"),Vy.enqueueReplaceState(t,t.state,null))}function t4(e,t,n,i){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==c){{var d=rr(e)||"Component";My.has(d)||(My.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}Vy.enqueueReplaceState(t,t.state,null)}}function Wy(e,t,n,i){mj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},Z1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=en(d);else{var g=nd(e,t,!0);c.context=od(e,g)}{if(c.state===n){var y=Hr(t)||"Component";Fy.has(y)||(Fy.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Pa&&Vl.recordLegacyContextWarning(e,c),Vl.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(Uy(e,t,C,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(vj(e,c),Hv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Er;E|=Eu,(e.mode&ps)!==Mt&&(E|=Ws),e.flags|=E}}function gj(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var g=c.context,y=t.contextType,C=Ho;if(typeof y=="object"&&y!==null)C=en(y);else{var E=nd(e,t,!0);C=od(e,E)}var L=t.getDerivedStateFromProps,J=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function";!J&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||g!==C)&&t4(e,c,n,C),vx();var Q=e.memoizedState,ve=c.state=Q;if(Hv(e,n,c,i),ve=e.memoizedState,d===n&&Q===ve&&!wv()&&!Uv()){if(typeof c.componentDidMount=="function"){var ge=Er;ge|=Eu,(e.mode&ps)!==Mt&&(ge|=Ws),e.flags|=ge}return!1}typeof L=="function"&&(Uy(e,t,L,n),ve=e.memoizedState);var xe=Uv()||Jx(e,t,d,n,Q,ve,C);if(xe){if(!J&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var at=Er;at|=Eu,(e.mode&ps)!==Mt&&(at|=Ws),e.flags|=at}}else{if(typeof c.componentDidMount=="function"){var Dt=Er;Dt|=Eu,(e.mode&ps)!==Mt&&(Dt|=Ws),e.flags|=Dt}e.memoizedProps=n,e.memoizedState=ve}return c.props=n,c.state=ve,c.context=C,xe}function _j(e,t,n,i,c){var d=t.stateNode;mx(e,t);var g=t.memoizedProps,y=t.type===t.elementType?g:Yl(t.type,g);d.props=y;var C=t.pendingProps,E=d.context,L=n.contextType,J=Ho;if(typeof L=="object"&&L!==null)J=en(L);else{var Q=nd(t,n,!0);J=od(t,Q)}var ve=n.getDerivedStateFromProps,ge=typeof ve=="function"||typeof d.getSnapshotBeforeUpdate=="function";!ge&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(g!==C||E!==J)&&t4(t,d,i,J),vx();var xe=t.memoizedState,at=d.state=xe;if(Hv(t,i,d,c),at=t.memoizedState,g===C&&xe===at&&!wv()&&!Uv()&&!te)return typeof d.componentDidUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),!1;typeof ve=="function"&&(Uy(t,n,ve,i),at=t.memoizedState);var Dt=Uv()||Jx(t,n,y,i,xe,at,J)||te;return Dt?(!ge&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,at,J),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,at,J)),typeof d.componentDidUpdate=="function"&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=at),d.props=i,d.state=at,d.context=J,Dt}function Yu(e,t){return{value:e,source:t,stack:Tm(t),digest:null}}function qy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function bj(e,t){return!0}function Yy(e,t){try{var n=bj(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,g=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?rr(c):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
97
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var L=rr(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+L+".")}var J=C+`
93
+ https://reactjs.org/link/unsafe-component-lifecycles`,rt,Rt,ye!==null?`
94
+ `+ye:"",Se!==null?`
95
+ `+Se:"",ke!==null?`
96
+ `+ke:""))}}}return i&&VC(e,c,d),L}function vj(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ar(e)||"Component"),V1.enqueueReplaceState(t,t.state,null))}function t4(e,t,n,i){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==c){{var d=ar(e)||"Component";M1.has(d)||(M1.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}V1.enqueueReplaceState(t,t.state,null)}}function W1(e,t,n,i){mj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},Zy(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=en(d);else{var g=nd(e,t,!0);c.context=od(e,g)}{if(c.state===n){var y=Vr(t)||"Component";F1.has(y)||(F1.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&za&&Vl.recordLegacyContextWarning(e,c),Vl.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(U1(e,t,C,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(vj(e,c),Hv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Er;E|=Eu,(e.mode&ps)!==Mt&&(E|=Ws),e.flags|=E}}function gj(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var g=c.context,y=t.contextType,C=Ho;if(typeof y=="object"&&y!==null)C=en(y);else{var E=nd(e,t,!0);C=od(e,E)}var L=t.getDerivedStateFromProps,Z=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function";!Z&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||g!==C)&&t4(e,c,n,C),vx();var J=e.memoizedState,ye=c.state=J;if(Hv(e,n,c,i),ye=e.memoizedState,d===n&&J===ye&&!wv()&&!Uv()){if(typeof c.componentDidMount=="function"){var Se=Er;Se|=Eu,(e.mode&ps)!==Mt&&(Se|=Ws),e.flags|=Se}return!1}typeof L=="function"&&(U1(e,t,L,n),ye=e.memoizedState);var ke=Uv()||Jx(e,t,d,n,J,ye,C);if(ke){if(!Z&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var rt=Er;rt|=Eu,(e.mode&ps)!==Mt&&(rt|=Ws),e.flags|=rt}}else{if(typeof c.componentDidMount=="function"){var Rt=Er;Rt|=Eu,(e.mode&ps)!==Mt&&(Rt|=Ws),e.flags|=Rt}e.memoizedProps=n,e.memoizedState=ye}return c.props=n,c.state=ye,c.context=C,ke}function _j(e,t,n,i,c){var d=t.stateNode;mx(e,t);var g=t.memoizedProps,y=t.type===t.elementType?g:Yl(t.type,g);d.props=y;var C=t.pendingProps,E=d.context,L=n.contextType,Z=Ho;if(typeof L=="object"&&L!==null)Z=en(L);else{var J=nd(t,n,!0);Z=od(t,J)}var ye=n.getDerivedStateFromProps,Se=typeof ye=="function"||typeof d.getSnapshotBeforeUpdate=="function";!Se&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(g!==C||E!==Z)&&t4(t,d,i,Z),vx();var ke=t.memoizedState,rt=d.state=ke;if(Hv(t,i,d,c),rt=t.memoizedState,g===C&&ke===rt&&!wv()&&!Uv()&&!re)return typeof d.componentDidUpdate=="function"&&(g!==e.memoizedProps||ke!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||ke!==e.memoizedState)&&(t.flags|=ku),!1;typeof ye=="function"&&(U1(t,n,ye,i),rt=t.memoizedState);var Rt=Uv()||Jx(t,n,y,i,ke,rt,Z)||re;return Rt?(!Se&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,rt,Z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,rt,Z)),typeof d.componentDidUpdate=="function"&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(g!==e.memoizedProps||ke!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||ke!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=rt),d.props=i,d.state=rt,d.context=Z,Rt}function Yu(e,t){return{value:e,source:t,stack:Tm(t),digest:null}}function q1(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function bj(e,t){return!0}function Y1(e,t){try{var n=bj(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,g=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?ar(c):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
97
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var L=ar(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+L+".")}var Z=C+`
98
98
  `+g+`
99
99
 
100
- `+(""+E);console.error(J)}catch(Q){setTimeout(function(){throw Q})}}var yj=typeof WeakMap=="function"?WeakMap:Map;function r4(e,t,n){var i=ec(ma,n);i.tag=Q1,i.payload={element:null};var c=t.value;return i.callback=function(){gU(c),Yy(e,t)},i}function $y(e,t,n){var i=ec(ma,n);i.tag=Q1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){hk(e),Yy(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){hk(e),Yy(e,t),typeof c!="function"&&mU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof c!="function"&&(zo(e.lanes,qt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rr(e)||"Unknown"))}),i}function a4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new yj,c=new Set,i.set(t,c)):(c=i.get(t),c===void 0&&(c=new Set,i.set(t,c))),!c.has(n)){c.add(n);var d=_U.bind(null,e,t,n);Fl&&Bh(e,n),t.then(d,d)}}function Sj(e,t,n,i){var c=e.updateQueue;if(c===null){var d=new Set;d.add(n),e.updateQueue=d}else c.add(n)}function wj(e,t){var n=e.tag;if((e.mode&yr)===Mt&&(n===p||n===H||n===ae)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function n4(e){var t=e;do{if(t.tag===Z&&rj(t))return t;t=t.return}while(t!==null);return null}function o4(e,t,n,i,c){if((e.mode&yr)===Mt){if(e===t)e.flags|=Gn;else{if(e.flags|=Ir,n.flags|=pb,n.flags&=~(tI|yp),n.tag===m){var d=n.alternate;if(d===null)n.tag=ee;else{var g=ec(ma,qt);g.tag=zv,Vc(n,g,qt)}}n.lanes=ir(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function Cj(e,t,n,i,c){if(n.flags|=yp,Fl&&Bh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;wj(n),Tn()&&n.mode&yr&&XC();var g=n4(t);if(g!==null){g.flags&=~Us,o4(g,t,n,e,c),g.mode&yr&&a4(e,d,c),Sj(g,e,d);return}else{if(!qI(c)){a4(e,d,c),E0();return}var y=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=y}}else if(Tn()&&n.mode&yr){XC();var C=n4(t);if(C!==null){(C.flags&Gn)===zt&&(C.flags|=Us),o4(C,t,n,e,c),F1(Yu(i,n));return}}i=Yu(i,n),lU(i);var E=t;do{switch(E.tag){case b:{var L=i;E.flags|=Gn;var J=Rp(c);E.lanes=ir(E.lanes,J);var Q=r4(E,L,J);ey(E,Q);return}case m:var ve=i,ge=E.type,xe=E.stateNode;if((E.flags&Ir)===zt&&(typeof ge.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!ok(xe))){E.flags|=Gn;var at=Rp(c);E.lanes=ir(E.lanes,at);var Dt=$y(E,ve,at);ey(E,Dt);return}break}E=E.return}while(E!==null)}function xj(){return null}var wh=o.ReactCurrentOwner,$l=!1,Gy,Ch,Ky,Xy,Qy,$u,Jy,dg,xh;Gy={},Ch={},Ky={},Xy={},Qy={},$u=!1,Jy={},dg={},xh={};function Kn(e,t,n,i){e===null?t.child=sx(t,null,n,i):t.child=cd(t,e.child,n,i)}function kj(e,t,n,i){t.child=cd(t,e.child,null,i),t.child=cd(t,null,n,i)}function i4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Hl(d,i,"prop",Hr(n))}var g=n.render,y=t.ref,C,E;fd(t,c),wp(t);{if(wh.current=t,_l(!0),C=gd(e,t,g,i,y,c),E=_d(),t.mode&Pa){bn(!0);try{C=gd(e,t,g,i,y,c),E=_d()}finally{bn(!1)}}_l(!1)}return Wf(),e!==null&&!$l?(wx(e,t,c),tc(e,t,c)):(Tn()&&E&&O1(t),t.flags|=Uf,Kn(e,t,C,c),t.child)}function l4(e,t,n,i,c){if(e===null){var d=n.type;if(PU(d)&&n.compare===null&&n.defaultProps===void 0){var g=d;return g=Td(d),t.tag=ae,t.type=g,t0(t,d),s4(e,t,g,i,c)}{var y=d.propTypes;if(y&&Hl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";xh[C]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),xh[C]=!0)}}var E=B0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var L=n.type,J=L.propTypes;J&&Hl(J,i,"prop",Hr(L))}var Q=e.child,ve=l0(e,c);if(!ve){var ge=Q.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:Vp,xe(ge,i)&&e.ref===t.ref)return tc(e,t,c)}t.flags|=Uf;var at=Ju(Q,i);return at.ref=t.ref,at.return=t,t.child=at,at}function s4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Ze){var g=d,y=g._payload,C=g._init;try{d=C(y)}catch(J){d=null}var E=d&&d.propTypes;E&&Hl(E,i,"prop",Hr(d))}}if(e!==null){var L=e.memoizedProps;if(Vp(L,i)&&e.ref===t.ref&&t.type===e.type)if($l=!1,t.pendingProps=i=L,l0(e,c))(e.flags&pb)!==zt&&($l=!0);else return t.lanes=e.lanes,tc(e,t,c)}return Zy(e,t,n,i,c)}function c4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||se)if((t.mode&yr)===Mt){var g={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=g,kg(t,n)}else if(zo(n,Io)){var J={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=J;var Q=d!==null?d.baseLanes:n;kg(t,Q)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=ir(E,n)}else C=n;t.lanes=t.childLanes=Io;var L={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=L,t.updateQueue=null,kg(t,C),null}else{var ve;d!==null?(ve=ir(d.baseLanes,n),t.memoizedState=null):ve=n,kg(t,ve)}return Kn(e,t,c,n),t.child}function Tj(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Ej(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Rj(e,t,n){{t.flags|=Er;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,d=c.children;return Kn(e,t,d,n),t.child}function u4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Lc,t.flags|=hb)}function Zy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Hl(d,i,"prop",Hr(n))}var g;{var y=nd(t,n,!0);g=od(t,y)}var C,E;fd(t,c),wp(t);{if(wh.current=t,_l(!0),C=gd(e,t,n,i,g,c),E=_d(),t.mode&Pa){bn(!0);try{C=gd(e,t,n,i,g,c),E=_d()}finally{bn(!1)}}_l(!1)}return Wf(),e!==null&&!$l?(wx(e,t,c),tc(e,t,c)):(Tn()&&E&&O1(t),t.flags|=Uf,Kn(e,t,C,c),t.child)}function f4(e,t,n,i,c){{switch(XU(t)){case!1:{var d=t.stateNode,g=t.type,y=new g(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Ir,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),L=Rp(c);t.lanes=ir(t.lanes,L);var J=$y(t,Yu(E,t),L);ey(t,J);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&Hl(Q,i,"prop",Hr(n))}}var ve;vs(n)?(ve=!0,xv(t)):ve=!1,fd(t,c);var ge=t.stateNode,xe;ge===null?(hg(e,t),e4(t,n,i),Wy(t,n,i,c),xe=!0):e===null?xe=gj(t,n,i,c):xe=_j(e,t,n,i,c);var at=e0(e,t,n,xe,ve,c);{var Dt=t.stateNode;xe&&Dt.props!==i&&($u||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rr(t)||"a component"),$u=!0)}return at}function e0(e,t,n,i,c,d){u4(e,t);var g=(t.flags&Ir)!==zt;if(!i&&!g)return c&&YC(t,n,!1),tc(e,t,d);var y=t.stateNode;wh.current=t;var C;if(g&&typeof n.getDerivedStateFromError!="function")C=null,Kx();else{wp(t);{if(_l(!0),C=y.render(),t.mode&Pa){bn(!0);try{y.render()}finally{bn(!1)}}_l(!1)}Wf()}return t.flags|=Uf,e!==null&&g?kj(e,t,C,d):Kn(e,t,C,d),t.memoizedState=y.state,c&&YC(t,n,!0),t.child}function d4(e){var t=e.stateNode;t.pendingContext?WC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&WC(e,t.context,!1),ty(e,t.containerInfo)}function Dj(e,t,n){if(d4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,d=c.element;mx(e,t),Hv(t,i,null,n);var g=t.memoizedState,y=t.stateNode,C=g.element;if(c.isDehydrated){var E={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},L=t.updateQueue;if(L.baseState=E,t.memoizedState=E,t.flags&Us){var J=Yu(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 p4(e,t,C,n,J)}else if(C!==d){var Q=Yu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return p4(e,t,C,n,Q)}else{NF(t);var ve=sx(t,null,C,n);t.child=ve;for(var ge=ve;ge;)ge.flags=ge.flags&~Za|Vs,ge=ge.sibling}}else{if(sd(),C===d)return tc(e,t,n);Kn(e,t,C,n)}return t.child}function p4(e,t,n,i,c){return sd(),F1(c),t.flags|=Us,Kn(e,t,n,i),t.child}function Aj(e,t,n){bx(t),e===null&&B1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,g=c.children,y=b1(i,c);return y?g=null:d!==null&&b1(i,d)&&(t.flags|=bp),u4(e,t),Kn(e,t,g,n),t.child}function Lj(e,t){return e===null&&B1(t),null}function Nj(e,t,n,i){hg(e,t);var c=t.pendingProps,d=n,g=d._payload,y=d._init,C=y(g);t.type=C;var E=t.tag=IU(C),L=Yl(C,c),J;switch(E){case p:return t0(t,C),t.type=C=Td(C),J=Zy(null,t,C,L,i),J;case m:return t.type=C=N0(C),J=f4(null,t,C,L,i),J;case H:return t.type=C=O0(C),J=i4(null,t,C,L,i),J;case O:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&Hl(Q,L,"prop",Hr(C))}return J=l4(null,t,C,Yl(C.type,L),i),J}}var ve="";throw C!==null&&typeof C=="object"&&C.$$typeof===Ze&&(ve=" 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."+ve))}function Oj(e,t,n,i,c){hg(e,t),t.tag=m;var d;return vs(n)?(d=!0,xv(t)):d=!1,fd(t,c),e4(t,n,i),Wy(t,n,i,c),e0(null,t,n,!0,d,c)}function Mj(e,t,n,i){hg(e,t);var c=t.pendingProps,d;{var g=nd(t,n,!1);d=od(t,g)}fd(t,i);var y,C;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Gy[E]||(u("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.",E,E),Gy[E]=!0)}t.mode&Pa&&Vl.recordLegacyContextWarning(t,null),_l(!0),wh.current=t,y=gd(null,t,n,c,d,i),C=_d(),_l(!1)}if(Wf(),t.flags|=Uf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var L=Hr(n)||"Unknown";Ch[L]||(u("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.",L,L,L),Ch[L]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var J=Hr(n)||"Unknown";Ch[J]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),Ch[J]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var Q=!1;return vs(n)?(Q=!0,xv(t)):Q=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Z1(t),Zx(t,y),Wy(t,n,c,i),e0(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Pa){bn(!0);try{y=gd(null,t,n,c,d,i),C=_d()}finally{bn(!1)}}return Tn()&&C&&O1(t),Kn(null,t,y,i),t0(t,n),t.child}}function t0(e,t){{if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Dc();i&&(n+=`
100
+ `+(""+E);console.error(Z)}catch(J){setTimeout(function(){throw J})}}var yj=typeof WeakMap=="function"?WeakMap:Map;function r4(e,t,n){var i=ec(va,n);i.tag=Qy,i.payload={element:null};var c=t.value;return i.callback=function(){gU(c),Y1(e,t)},i}function $1(e,t,n){var i=ec(va,n);i.tag=Qy;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){hk(e),Y1(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){hk(e),Y1(e,t),typeof c!="function"&&mU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof c!="function"&&(zo(e.lanes,qt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ar(e)||"Unknown"))}),i}function a4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new yj,c=new Set,i.set(t,c)):(c=i.get(t),c===void 0&&(c=new Set,i.set(t,c))),!c.has(n)){c.add(n);var d=_U.bind(null,e,t,n);Fl&&Bh(e,n),t.then(d,d)}}function Sj(e,t,n,i){var c=e.updateQueue;if(c===null){var d=new Set;d.add(n),e.updateQueue=d}else c.add(n)}function wj(e,t){var n=e.tag;if((e.mode&yr)===Mt&&(n===p||n===j||n===te)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function n4(e){var t=e;do{if(t.tag===Q&&rj(t))return t;t=t.return}while(t!==null);return null}function o4(e,t,n,i,c){if((e.mode&yr)===Mt){if(e===t)e.flags|=Kn;else{if(e.flags|=zr,n.flags|=pb,n.flags&=~(tI|yp),n.tag===m){var d=n.alternate;if(d===null)n.tag=ee;else{var g=ec(va,qt);g.tag=zv,Vc(n,g,qt)}}n.lanes=lr(n.lanes,qt)}return e}return e.flags|=Kn,e.lanes=c,e}function Cj(e,t,n,i,c){if(n.flags|=yp,Fl&&Bh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;wj(n),En()&&n.mode&yr&&XC();var g=n4(t);if(g!==null){g.flags&=~Us,o4(g,t,n,e,c),g.mode&yr&&a4(e,d,c),Sj(g,e,d);return}else{if(!qI(c)){a4(e,d,c),E0();return}var y=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=y}}else if(En()&&n.mode&yr){XC();var C=n4(t);if(C!==null){(C.flags&Kn)===Bt&&(C.flags|=Us),o4(C,t,n,e,c),Fy(Yu(i,n));return}}i=Yu(i,n),lU(i);var E=t;do{switch(E.tag){case b:{var L=i;E.flags|=Kn;var Z=Rp(c);E.lanes=lr(E.lanes,Z);var J=r4(E,L,Z);e1(E,J);return}case m:var ye=i,Se=E.type,ke=E.stateNode;if((E.flags&zr)===Bt&&(typeof Se.getDerivedStateFromError=="function"||ke!==null&&typeof ke.componentDidCatch=="function"&&!ok(ke))){E.flags|=Kn;var rt=Rp(c);E.lanes=lr(E.lanes,rt);var Rt=$1(E,ye,rt);e1(E,Rt);return}break}E=E.return}while(E!==null)}function xj(){return null}var wh=o.ReactCurrentOwner,$l=!1,G1,Ch,K1,X1,Q1,$u,J1,dg,xh;G1={},Ch={},K1={},X1={},Q1={},$u=!1,J1={},dg={},xh={};function Xn(e,t,n,i){e===null?t.child=sx(t,null,n,i):t.child=cd(t,e.child,n,i)}function kj(e,t,n,i){t.child=cd(t,e.child,null,i),t.child=cd(t,null,n,i)}function i4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Hl(d,i,"prop",Vr(n))}var g=n.render,y=t.ref,C,E;fd(t,c),wp(t);{if(wh.current=t,_l(!0),C=gd(e,t,g,i,y,c),E=_d(),t.mode&za){bn(!0);try{C=gd(e,t,g,i,y,c),E=_d()}finally{bn(!1)}}_l(!1)}return Wf(),e!==null&&!$l?(wx(e,t,c),tc(e,t,c)):(En()&&E&&Oy(t),t.flags|=Uf,Xn(e,t,C,c),t.child)}function l4(e,t,n,i,c){if(e===null){var d=n.type;if(PU(d)&&n.compare===null&&n.defaultProps===void 0){var g=d;return g=Td(d),t.tag=te,t.type=g,t0(t,d),s4(e,t,g,i,c)}{var y=d.propTypes;if(y&&Hl(y,i,"prop",Vr(d)),n.defaultProps!==void 0){var C=Vr(d)||"Unknown";xh[C]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),xh[C]=!0)}}var E=B0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var L=n.type,Z=L.propTypes;Z&&Hl(Z,i,"prop",Vr(L))}var J=e.child,ye=l0(e,c);if(!ye){var Se=J.memoizedProps,ke=n.compare;if(ke=ke!==null?ke:Vp,ke(Se,i)&&e.ref===t.ref)return tc(e,t,c)}t.flags|=Uf;var rt=Ju(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function s4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Ze){var g=d,y=g._payload,C=g._init;try{d=C(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&Hl(E,i,"prop",Vr(d))}}if(e!==null){var L=e.memoizedProps;if(Vp(L,i)&&e.ref===t.ref&&t.type===e.type)if($l=!1,t.pendingProps=i=L,l0(e,c))(e.flags&pb)!==Bt&&($l=!0);else return t.lanes=e.lanes,tc(e,t,c)}return Z1(e,t,n,i,c)}function c4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||he)if((t.mode&yr)===Mt){var g={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=g,kg(t,n)}else if(zo(n,Io)){var Z={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;kg(t,J)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=lr(E,n)}else C=n;t.lanes=t.childLanes=Io;var L={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=L,t.updateQueue=null,kg(t,C),null}else{var ye;d!==null?(ye=lr(d.baseLanes,n),t.memoizedState=null):ye=n,kg(t,ye)}return Xn(e,t,c,n),t.child}function Tj(e,t,n){var i=t.pendingProps;return Xn(e,t,i,n),t.child}function Ej(e,t,n){var i=t.pendingProps.children;return Xn(e,t,i,n),t.child}function Rj(e,t,n){{t.flags|=Er;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,d=c.children;return Xn(e,t,d,n),t.child}function u4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Lc,t.flags|=hb)}function Z1(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Hl(d,i,"prop",Vr(n))}var g;{var y=nd(t,n,!0);g=od(t,y)}var C,E;fd(t,c),wp(t);{if(wh.current=t,_l(!0),C=gd(e,t,n,i,g,c),E=_d(),t.mode&za){bn(!0);try{C=gd(e,t,n,i,g,c),E=_d()}finally{bn(!1)}}_l(!1)}return Wf(),e!==null&&!$l?(wx(e,t,c),tc(e,t,c)):(En()&&E&&Oy(t),t.flags|=Uf,Xn(e,t,C,c),t.child)}function f4(e,t,n,i,c){{switch(XU(t)){case!1:{var d=t.stateNode,g=t.type,y=new g(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=zr,t.flags|=Kn;var E=new Error("Simulated error coming from DevTools"),L=Rp(c);t.lanes=lr(t.lanes,L);var Z=$1(t,Yu(E,t),L);e1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&Hl(J,i,"prop",Vr(n))}}var ye;vs(n)?(ye=!0,xv(t)):ye=!1,fd(t,c);var Se=t.stateNode,ke;Se===null?(hg(e,t),e4(t,n,i),W1(t,n,i,c),ke=!0):e===null?ke=gj(t,n,i,c):ke=_j(e,t,n,i,c);var rt=e0(e,t,n,ke,ye,c);{var Rt=t.stateNode;ke&&Rt.props!==i&&($u||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ar(t)||"a component"),$u=!0)}return rt}function e0(e,t,n,i,c,d){u4(e,t);var g=(t.flags&zr)!==Bt;if(!i&&!g)return c&&YC(t,n,!1),tc(e,t,d);var y=t.stateNode;wh.current=t;var C;if(g&&typeof n.getDerivedStateFromError!="function")C=null,Kx();else{wp(t);{if(_l(!0),C=y.render(),t.mode&za){bn(!0);try{y.render()}finally{bn(!1)}}_l(!1)}Wf()}return t.flags|=Uf,e!==null&&g?kj(e,t,C,d):Xn(e,t,C,d),t.memoizedState=y.state,c&&YC(t,n,!0),t.child}function d4(e){var t=e.stateNode;t.pendingContext?WC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&WC(e,t.context,!1),t1(e,t.containerInfo)}function Dj(e,t,n){if(d4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,d=c.element;mx(e,t),Hv(t,i,null,n);var g=t.memoizedState,y=t.stateNode,C=g.element;if(c.isDehydrated){var E={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},L=t.updateQueue;if(L.baseState=E,t.memoizedState=E,t.flags&Us){var Z=Yu(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 p4(e,t,C,n,Z)}else if(C!==d){var J=Yu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return p4(e,t,C,n,J)}else{NF(t);var ye=sx(t,null,C,n);t.child=ye;for(var Se=ye;Se;)Se.flags=Se.flags&~Za|Vs,Se=Se.sibling}}else{if(sd(),C===d)return tc(e,t,n);Xn(e,t,C,n)}return t.child}function p4(e,t,n,i,c){return sd(),Fy(c),t.flags|=Us,Xn(e,t,n,i),t.child}function Aj(e,t,n){bx(t),e===null&&By(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,g=c.children,y=by(i,c);return y?g=null:d!==null&&by(i,d)&&(t.flags|=bp),u4(e,t),Xn(e,t,g,n),t.child}function Lj(e,t){return e===null&&By(t),null}function Nj(e,t,n,i){hg(e,t);var c=t.pendingProps,d=n,g=d._payload,y=d._init,C=y(g);t.type=C;var E=t.tag=IU(C),L=Yl(C,c),Z;switch(E){case p:return t0(t,C),t.type=C=Td(C),Z=Z1(null,t,C,L,i),Z;case m:return t.type=C=N0(C),Z=f4(null,t,C,L,i),Z;case j:return t.type=C=O0(C),Z=i4(null,t,C,L,i),Z;case M:{if(t.type!==t.elementType){var J=C.propTypes;J&&Hl(J,L,"prop",Vr(C))}return Z=l4(null,t,C,Yl(C.type,L),i),Z}}var ye="";throw C!==null&&typeof C=="object"&&C.$$typeof===Ze&&(ye=" 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."+ye))}function Oj(e,t,n,i,c){hg(e,t),t.tag=m;var d;return vs(n)?(d=!0,xv(t)):d=!1,fd(t,c),e4(t,n,i),W1(t,n,i,c),e0(null,t,n,!0,d,c)}function Mj(e,t,n,i){hg(e,t);var c=t.pendingProps,d;{var g=nd(t,n,!1);d=od(t,g)}fd(t,i);var y,C;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Vr(n)||"Unknown";G1[E]||(u("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.",E,E),G1[E]=!0)}t.mode&za&&Vl.recordLegacyContextWarning(t,null),_l(!0),wh.current=t,y=gd(null,t,n,c,d,i),C=_d(),_l(!1)}if(Wf(),t.flags|=Uf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var L=Vr(n)||"Unknown";Ch[L]||(u("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.",L,L,L),Ch[L]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Vr(n)||"Unknown";Ch[Z]||(u("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),Ch[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return vs(n)?(J=!0,xv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Zy(t),Zx(t,y),W1(t,n,c,i),e0(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&za){bn(!0);try{y=gd(null,t,n,c,d,i),C=_d()}finally{bn(!1)}}return En()&&C&&Oy(t),Xn(null,t,y,i),t0(t,n),t.child}}function t0(e,t){{if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Dc();i&&(n+=`
101
101
 
102
- Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Qy[c]||(Qy[c]=!0,u("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=Hr(t)||"Unknown";xh[g]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),xh[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Xy[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),Xy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Ky[C]||(u("%s: Function components do not support contextType.",C),Ky[C]=!0)}}}var r0={dehydrated:null,treeContext:null,retryLane:yn};function a0(e){return{baseLanes:e,cachePool:xj(),transitions:null}}function Pj(e,t){var n=null;return{baseLanes:ir(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Ij(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ny(e,ph)}function zj(e,t){return $m(e.childLanes,t)}function h4(e,t,n){var i=t.pendingProps;QU(t)&&(t.flags|=Ir);var c=Wl.current,d=!1,g=(t.flags&Ir)!==zt;if(g||Ij(c,e)?(d=!0,t.flags&=~Ir):(e===null||e.memoizedState!==null)&&(c=tj(c,Sx)),c=pd(c),qc(t,c),e===null){B1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return Uj(t,C)}var E=i.children,L=i.fallback;if(d){var J=Bj(t,E,L,n),Q=t.child;return Q.memoizedState=a0(n),t.memoizedState=r0,J}else return n0(t,E)}else{var ve=e.memoizedState;if(ve!==null){var ge=ve.dehydrated;if(ge!==null)return Vj(e,t,g,i,ge,ve,n)}if(d){var xe=i.fallback,at=i.children,Dt=jj(e,t,at,xe,n),St=t.child,hr=e.child.memoizedState;return St.memoizedState=hr===null?a0(n):Pj(hr,n),St.childLanes=zj(e,n),t.memoizedState=r0,Dt}else{var mr=i.children,ue=Fj(e,t,mr,n);return t.memoizedState=null,ue}}}function n0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=o0(c,i);return d.return=e,e.child=d,d}function Bj(e,t,n,i){var c=e.mode,d=e.child,g={mode:"hidden",children:t},y,C;return(c&yr)===Mt&&d!==null?(y=d,y.childLanes=Ie,y.pendingProps=g,e.mode&Xr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Zc(n,c,i,null)):(y=o0(g,c),C=Zc(n,c,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function o0(e,t,n){return vk(e,t,Ie,null)}function m4(e,t){return Ju(e,t)}function Fj(e,t,n,i){var c=e.child,d=c.sibling,g=m4(c,{mode:"visible",children:n});if((t.mode&yr)===Mt&&(g.lanes=i),g.return=t,g.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=xu):y.push(d)}return t.child=g,g}function jj(e,t,n,i,c){var d=t.mode,g=e.child,y=g.sibling,C={mode:"hidden",children:n},E;if((d&yr)===Mt&&t.child!==g){var L=t.child;E=L,E.childLanes=Ie,E.pendingProps=C,t.mode&Xr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=g.selfBaseDuration,E.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else E=m4(g,C),E.subtreeFlags=g.subtreeFlags&qs;var J;return y!==null?J=Ju(y,i):(J=Zc(i,d,c,null),J.flags|=Za),J.return=t,E.return=t,E.sibling=J,t.child=E,J}function pg(e,t,n,i){i!==null&&F1(i),cd(t,e.child,null,n);var c=t.pendingProps,d=c.children,g=n0(t,d);return g.flags|=Za,t.memoizedState=null,g}function Hj(e,t,n,i,c){var d=t.mode,g={mode:"visible",children:n},y=o0(g,d),C=Zc(i,d,c,null);return C.flags|=Za,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&yr)!==Mt&&cd(t,e.child,null,c),C}function Uj(e,t,n){return(e.mode&yr)===Mt?(u("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=qt):C1(t)?e.lanes=Lu:e.lanes=Io,null}function Vj(e,t,n,i,c,d,g){if(n)if(t.flags&Us){t.flags&=~Us;var ue=qy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return pg(e,t,g,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ir,null;var De=i.children,fe=i.fallback,qe=Hj(e,t,De,fe,g),ut=t.child;return ut.memoizedState=a0(g),t.memoizedState=r0,qe}else{if(AF(),(t.mode&yr)===Mt)return pg(e,t,g,null);if(C1(c)){var y,C,E;{var L=$9(c);y=L.digest,C=L.message,E=L.stack}var J;C?J=new Error(C):J=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=qy(J,y,E);return pg(e,t,g,Q)}var ve=zo(g,e.childLanes);if($l||ve){var ge=xg();if(ge!==null){var xe=ZI(ge,g);if(xe!==yn&&xe!==d.retryLane){d.retryLane=xe;var at=ma;yo(e,xe),dn(ge,e,xe,at)}}E0();var Dt=qy(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 pg(e,t,g,Dt)}else if(BC(c)){t.flags|=Ir,t.child=e.child;var St=bU.bind(null,e);return G9(c,St),null}else{OF(t,c,d.treeContext);var hr=i.children,mr=n0(t,hr);return mr.flags|=Vs,mr}}}function v4(e,t,n){e.lanes=ir(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ir(i.lanes,t)),K1(e.return,t,n)}function Wj(e,t,n){for(var i=t;i!==null;){if(i.tag===Z){var c=i.memoizedState;c!==null&&v4(i,n,e)}else if(i.tag===be)v4(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 qj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&qv(i)===null&&(n=t),t=t.sibling}return n}function Yj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Jy[e])if(Jy[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{u('"%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:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function $j(e,t){e!==void 0&&!dg[e]&&(e!=="collapsed"&&e!=="hidden"?(dg[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(dg[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function g4(e,t){{var n=an(e),i=!n&&typeof Qa(e)=="function";if(n||i){var c=n?"array":"iterable";return u("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>",c,t,c),!1}}return!0}function Gj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(an(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=Qa(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var d=c.next(),g=0;!d.done;d=c.next()){if(!g4(d.value,g))return;g++}}else u('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 i0(e,t,n,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=c)}function _4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,g=i.children;Yj(c),$j(d,c),Gj(g,c),Kn(e,t,g,n);var y=Wl.current,C=ny(y,ph);if(C)y=oy(y,ph),t.flags|=Ir;else{var E=e!==null&&(e.flags&Ir)!==zt;E&&Wj(t,t.child,n),y=pd(y)}if(qc(t,y),(t.mode&yr)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var L=qj(t.child),J;L===null?(J=t.child,t.child=null):(J=L.sibling,L.sibling=null),i0(t,!1,J,L,d);break}case"backwards":{var Q=null,ve=t.child;for(t.child=null;ve!==null;){var ge=ve.alternate;if(ge!==null&&qv(ge)===null){t.child=ve;break}var xe=ve.sibling;ve.sibling=Q,Q=ve,ve=xe}i0(t,!0,Q,null,d);break}case"together":{i0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Kj(e,t,n){ty(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=cd(t,null,i,n):Kn(e,t,i,n),t.child}var b4=!1;function Xj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,g=t.memoizedProps,y=d.value;{"value"in d||b4||(b4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&Hl(C,d,"prop","Context.Provider")}if(fx(t,c,y),g!==null){var E=g.value;if(jo(E,y)){if(g.children===d.children&&!wv())return tc(e,t,n)}else YF(t,c,n)}var L=d.children;return Kn(e,t,L,n),t.child}var y4=!1;function Qj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(y4||(y4=!0,u("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 c=t.pendingProps,d=c.children;typeof d!="function"&&u("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."),fd(t,n);var g=en(i);wp(t);var y;return wh.current=t,_l(!0),y=d(g),_l(!1),Wf(),t.flags|=Uf,Kn(e,t,y,n),t.child}function kh(){$l=!0}function hg(e,t){(t.mode&yr)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Za)}function tc(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Kx(),zh(t.lanes),zo(n,t.childLanes)?(WF(e,t),t.child):null}function Jj(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 c=i.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=xu):d.push(e),n.flags|=Za,n}}function l0(e,t){var n=e.lanes;return!!zo(n,t)}function Zj(e,t,n){switch(t.tag){case b:d4(t);var i=t.stateNode;sd();break;case w:bx(t);break;case m:{var c=t.type;vs(c)&&xv(t);break}case S:ty(t,t.stateNode.containerInfo);break;case M:{var d=t.memoizedProps.value,g=t.type._context;fx(t,g,d);break}case F:{var y=zo(n,t.childLanes);y&&(t.flags|=Er);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Z:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return qc(t,pd(Wl.current)),t.flags|=Ir,null;var L=t.child,J=L.childLanes;if(zo(n,J))return h4(e,t,n);qc(t,pd(Wl.current));var Q=tc(e,t,n);return Q!==null?Q.sibling:null}else qc(t,pd(Wl.current));break}case be:{var ve=(e.flags&Ir)!==zt,ge=zo(n,t.childLanes);if(ve){if(ge)return _4(e,t,n);t.flags|=Ir}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),qc(t,Wl.current),ge)break;return null}case j:case le:return t.lanes=Ie,c4(e,t,n)}return tc(e,t,n)}function S4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Jj(e,t,B0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,c=t.pendingProps;if(i!==c||wv()||t.type!==e.type)$l=!0;else{var d=l0(e,n);if(!d&&(t.flags&Ir)===zt)return $l=!1,Zj(e,t,n);(e.flags&pb)!==zt?$l=!0:$l=!1}}else if($l=!1,Tn()&&xF(t)){var g=t.index,y=kF();KC(t,y,g)}switch(t.lanes=Ie,t.tag){case _:return Mj(e,t,t.type,n);case _e:{var C=t.elementType;return Nj(e,t,C,n)}case p:{var E=t.type,L=t.pendingProps,J=t.elementType===E?L:Yl(E,L);return Zy(e,t,E,J,n)}case m:{var Q=t.type,ve=t.pendingProps,ge=t.elementType===Q?ve:Yl(Q,ve);return f4(e,t,Q,ge,n)}case b:return Dj(e,t,n);case w:return Aj(e,t,n);case k:return Lj(e,t);case Z:return h4(e,t,n);case S:return Kj(e,t,n);case H:{var xe=t.type,at=t.pendingProps,Dt=t.elementType===xe?at:Yl(xe,at);return i4(e,t,xe,Dt,n)}case A:return Tj(e,t,n);case N:return Ej(e,t,n);case F:return Rj(e,t,n);case M:return Xj(e,t,n);case Y:return Qj(e,t,n);case O:{var St=t.type,hr=t.pendingProps,mr=Yl(St,hr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&Hl(ue,mr,"prop",Hr(St))}return mr=Yl(St.type,mr),l4(e,t,St,mr,n)}case ae:return s4(e,t,t.type,t.pendingProps,n);case ee:{var De=t.type,fe=t.pendingProps,qe=t.elementType===De?fe:Yl(De,fe);return Oj(e,t,De,qe,n)}case be:return _4(e,t,n);case he:break;case j:return c4(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 bd(e){e.flags|=Er}function w4(e){e.flags|=Lc,e.flags|=hb}var C4,s0,x4,k4;C4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)S9(e,c.stateNode);else if(c.tag!==S){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},s0=function(e,t){},x4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var g=t.stateNode,y=ry(),C=C9(g,n,d,i,c,y);t.updateQueue=C,C&&bd(t)}},k4=function(e,t,n,i){n!==i&&bd(t)};function Th(e,t){if(!Tn())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 c=e.tail,d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Rn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Ie,i=zt;if(t){if((e.mode&Xr)!==Mt){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=ir(n,ir(E.lanes,E.childLanes)),i|=E.subtreeFlags&qs,i|=E.flags&qs,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var L=e.child;L!==null;)n=ir(n,ir(L.lanes,L.childLanes)),i|=L.subtreeFlags&qs,i|=L.flags&qs,L.return=e,L=L.sibling;e.subtreeFlags|=i}else{if((e.mode&Xr)!==Mt){for(var c=e.actualDuration,d=e.selfBaseDuration,g=e.child;g!==null;)n=ir(n,ir(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,c+=g.actualDuration,d+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=ir(n,ir(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function eH(e,t,n){if(BF()&&(t.mode&yr)!==Mt&&(t.flags&Ir)===zt)return rx(t),sd(),t.flags|=Us|yp|Gn,!1;var i=Dv(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(IF(t),Rn(t),(t.mode&Xr)!==Mt){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(sd(),(t.flags&Ir)===zt&&(t.memoizedState=null),t.flags|=Er,Rn(t),(t.mode&Xr)!==Mt){var g=n!==null;if(g){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return ax(),!0}function T4(e,t,n){var i=t.pendingProps;switch(M1(t),t.tag){case _:case _e:case ae:case p:case H:case A:case N:case F:case Y:case O:return Rn(t),null;case m:{var c=t.type;return vs(c)&&Cv(t),Rn(t),null}case b:{var d=t.stateNode;if(dd(t),A1(t),ly(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var g=Dv(t);if(g)bd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Us)!==zt)&&(t.flags|=ku,ax())}}return s0(e,t),Rn(t),null}case w:{ay(t);var C=_x(),E=t.type;if(e!==null&&t.stateNode!=null)x4(e,t,E,i,C),e.ref!==t.ref&&w4(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 Rn(t),null}var L=ry(),J=Dv(t);if(J)MF(t,C,L)&&bd(t);else{var Q=y9(E,i,C,L,t);C4(Q,t,!1,!1),t.stateNode=Q,w9(Q,E,i,C)&&bd(t)}t.ref!==null&&w4(t)}return Rn(t),null}case k:{var ve=i;if(e&&t.stateNode!=null){var ge=e.memoizedProps;k4(e,t,ge,ve)}else{if(typeof ve!="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 xe=_x(),at=ry(),Dt=Dv(t);Dt?PF(t)&&bd(t):t.stateNode=x9(ve,xe,at,t)}return Rn(t),null}case Z:{hd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hr=eH(e,t,St);if(!hr)return t.flags&Gn?t:null}if((t.flags&Ir)!==zt)return t.lanes=n,(t.mode&Xr)!==Mt&&Ny(t),t;var mr=St!==null,ue=e!==null&&e.memoizedState!==null;if(mr!==ue&&mr){var De=t.child;if(De.flags|=Tu,(t.mode&yr)!==Mt){var fe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);fe||ny(Wl.current,Sx)?iU():E0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Er),Rn(t),(t.mode&Xr)!==Mt&&mr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return dd(t),s0(e,t),e===null&&gF(t.stateNode.containerInfo),Rn(t),null;case M:var nt=t.type._context;return G1(nt,t),Rn(t),null;case ee:{var Ht=t.type;return vs(Ht)&&Cv(t),Rn(t),null}case be:{hd(t);var Kt=t.memoizedState;if(Kt===null)return Rn(t),null;var Jr=(t.flags&Ir)!==zt,Nr=Kt.rendering;if(Nr===null)if(Jr)Th(Kt,!1);else{var Ya=sU()&&(e===null||(e.flags&Ir)===zt);if(!Ya)for(var Or=t.child;Or!==null;){var Ia=qv(Or);if(Ia!==null){Jr=!0,t.flags|=Ir,Th(Kt,!1);var jn=Ia.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Er),t.subtreeFlags=zt,qF(t,n),qc(t,oy(Wl.current,ph)),t.child}Or=Or.sibling}Kt.tail!==null&&_n()>G4()&&(t.flags|=Ir,Jr=!0,Th(Kt,!1),t.lanes=k3)}else{if(!Jr){var On=qv(Nr);if(On!==null){t.flags|=Ir,Jr=!0;var Vo=On.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=Er),Th(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!Nr.alternate&&!Tn())return Rn(t),null}else _n()*2-Kt.renderingStartTime>G4()&&n!==Io&&(t.flags|=Ir,Jr=!0,Th(Kt,!1),t.lanes=k3)}if(Kt.isBackwards)Nr.sibling=t.child,t.child=Nr;else{var Jn=Kt.last;Jn!==null?Jn.sibling=Nr:t.child=Nr,Kt.last=Nr}}if(Kt.tail!==null){var Zn=Kt.tail;Kt.rendering=Zn,Kt.tail=Zn.sibling,Kt.renderingStartTime=_n(),Zn.sibling=null;var Hn=Wl.current;return Jr?Hn=oy(Hn,ph):Hn=pd(Hn),qc(t,Hn),Zn}return Rn(t),null}case he:break;case j:case le:{T0(t);var ic=t.memoizedState,Ed=ic!==null;if(e!==null){var Uh=e.memoizedState,xs=Uh!==null;xs!==Ed&&!se&&(t.flags|=Tu)}return!Ed||(t.mode&yr)===Mt?Rn(t):zo(Cs,Io)&&(Rn(t),t.subtreeFlags&(Za|Er)&&(t.flags|=Tu)),null}case de:return null;case B: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 tH(e,t,n){switch(M1(t),t.tag){case m:{var i=t.type;vs(i)&&Cv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Ir,(t.mode&Xr)!==Mt&&Ny(t),t):null}case b:{var d=t.stateNode;dd(t),A1(t),ly();var g=t.flags;return(g&Gn)!==zt&&(g&Ir)===zt?(t.flags=g&~Gn|Ir,t):null}case w:return ay(t),null;case Z:{hd(t);var y=t.memoizedState;if(y!==null&&y.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.");sd()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|Ir,(t.mode&Xr)!==Mt&&Ny(t),t):null}case be:return hd(t),null;case S:return dd(t),null;case M:var E=t.type._context;return G1(E,t),null;case j:case le:return T0(t),null;case de:return null;default:return null}}function E4(e,t,n){switch(M1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&Cv(t);break}case b:{var c=t.stateNode;dd(t),A1(t),ly();break}case w:{ay(t);break}case S:dd(t);break;case Z:hd(t);break;case be:hd(t);break;case M:var d=t.type._context;G1(d,t);break;case j:case le:T0(t);break}}var R4=null;R4=new Set;var mg=!1,Dn=!1,rH=typeof WeakSet=="function"?WeakSet:Set,gt=null,yd=null,Sd=null;function aH(e){ub(null,function(){throw e}),fb()}var nH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Xr)try{Ss(),t.componentWillUnmount()}finally{ys(e)}else t.componentWillUnmount()};function D4(e,t){try{Gc(on,e)}catch(n){ua(e,t,n)}}function c0(e,t,n){try{nH(e,n)}catch(i){ua(e,t,i)}}function oH(e,t,n){try{n.componentDidMount()}catch(i){ua(e,t,i)}}function A4(e,t){try{O4(e)}catch(n){ua(e,t,n)}}function wd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(rt&&et&&e.mode&Xr)try{Ss(),i=n(null)}finally{ys(e)}else i=n(null)}catch(c){ua(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else n.current=null}function vg(e,t,n){try{n()}catch(i){ua(e,t,i)}}var L4=null,N4=!1;function iH(e,t){L4=_9(e.containerInfo),gt=t,lH();var n=N4;return N4=!1,L4=null,n}function lH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&vb)!==zt&&t!==null?(t.return=e,gt=t):sH()}}function sH(){for(;gt!==null;){var e=gt;xa(e);try{cH(e)}catch(n){ua(e,e.return,n)}gn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function cH(e){var t=e.alternate,n=e.flags;if((n&ku)!==zt){switch(xa(e),e.tag){case p:case H:case ae:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!$u&&(d.props!==e.memoizedProps&&u("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.",rr(e)||"instance"),d.state!==e.memoizedState&&u("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.",rr(e)||"instance"));var g=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Yl(e.type,i),c);{var y=R4;g===void 0&&!y.has(e.type)&&(y.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rr(e)))}d.__reactInternalSnapshotBeforeUpdate=g}break}case b:{{var C=e.stateNode;V9(C.containerInfo)}break}case w:case k:case S:case ee: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.")}gn()}}function Gl(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,g=d;do{if((g.tag&e)===e){var y=g.destroy;g.destroy=void 0,y!==void 0&&((e&En)!==So?xI(t):(e&on)!==So&&y3(t),(e&gs)!==So&&Fh(!0),vg(t,n,y),(e&gs)!==So&&Fh(!1),(e&En)!==So?kI():(e&on)!==So&&S3())}g=g.next}while(g!==d)}}function Gc(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,d=c;do{if((d.tag&e)===e){(e&En)!==So?wI(t):(e&on)!==So&&TI(t);var g=d.create;(e&gs)!==So&&Fh(!0),d.destroy=g(),(e&gs)!==So&&Fh(!1),(e&En)!==So?CI():(e&on)!==So&&EI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&on)!==zt?C="useLayoutEffect":(d.tag&gs)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
102
+ Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Q1[c]||(Q1[c]=!0,u("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=Vr(t)||"Unknown";xh[g]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),xh[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Vr(t)||"Unknown";X1[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),X1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Vr(t)||"Unknown";K1[C]||(u("%s: Function components do not support contextType.",C),K1[C]=!0)}}}var r0={dehydrated:null,treeContext:null,retryLane:yn};function a0(e){return{baseLanes:e,cachePool:xj(),transitions:null}}function Pj(e,t){var n=null;return{baseLanes:lr(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Ij(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return n1(e,ph)}function zj(e,t){return $m(e.childLanes,t)}function h4(e,t,n){var i=t.pendingProps;QU(t)&&(t.flags|=zr);var c=Wl.current,d=!1,g=(t.flags&zr)!==Bt;if(g||Ij(c,e)?(d=!0,t.flags&=~zr):(e===null||e.memoizedState!==null)&&(c=tj(c,Sx)),c=pd(c),qc(t,c),e===null){By(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return Uj(t,C)}var E=i.children,L=i.fallback;if(d){var Z=Bj(t,E,L,n),J=t.child;return J.memoizedState=a0(n),t.memoizedState=r0,Z}else return n0(t,E)}else{var ye=e.memoizedState;if(ye!==null){var Se=ye.dehydrated;if(Se!==null)return Vj(e,t,g,i,Se,ye,n)}if(d){var ke=i.fallback,rt=i.children,Rt=jj(e,t,rt,ke,n),St=t.child,hr=e.child.memoizedState;return St.memoizedState=hr===null?a0(n):Pj(hr,n),St.childLanes=zj(e,n),t.memoizedState=r0,Rt}else{var mr=i.children,ce=Fj(e,t,mr,n);return t.memoizedState=null,ce}}}function n0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=o0(c,i);return d.return=e,e.child=d,d}function Bj(e,t,n,i){var c=e.mode,d=e.child,g={mode:"hidden",children:t},y,C;return(c&yr)===Mt&&d!==null?(y=d,y.childLanes=Ie,y.pendingProps=g,e.mode&Jr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Zc(n,c,i,null)):(y=o0(g,c),C=Zc(n,c,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function o0(e,t,n){return vk(e,t,Ie,null)}function m4(e,t){return Ju(e,t)}function Fj(e,t,n,i){var c=e.child,d=c.sibling,g=m4(c,{mode:"visible",children:n});if((t.mode&yr)===Mt&&(g.lanes=i),g.return=t,g.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=xu):y.push(d)}return t.child=g,g}function jj(e,t,n,i,c){var d=t.mode,g=e.child,y=g.sibling,C={mode:"hidden",children:n},E;if((d&yr)===Mt&&t.child!==g){var L=t.child;E=L,E.childLanes=Ie,E.pendingProps=C,t.mode&Jr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=g.selfBaseDuration,E.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else E=m4(g,C),E.subtreeFlags=g.subtreeFlags&qs;var Z;return y!==null?Z=Ju(y,i):(Z=Zc(i,d,c,null),Z.flags|=Za),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function pg(e,t,n,i){i!==null&&Fy(i),cd(t,e.child,null,n);var c=t.pendingProps,d=c.children,g=n0(t,d);return g.flags|=Za,t.memoizedState=null,g}function Hj(e,t,n,i,c){var d=t.mode,g={mode:"visible",children:n},y=o0(g,d),C=Zc(i,d,c,null);return C.flags|=Za,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&yr)!==Mt&&cd(t,e.child,null,c),C}function Uj(e,t,n){return(e.mode&yr)===Mt?(u("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=qt):Cy(t)?e.lanes=Lu:e.lanes=Io,null}function Vj(e,t,n,i,c,d,g){if(n)if(t.flags&Us){t.flags&=~Us;var ce=q1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return pg(e,t,g,ce)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=zr,null;var De=i.children,ue=i.fallback,Ye=Hj(e,t,De,ue,g),ut=t.child;return ut.memoizedState=a0(g),t.memoizedState=r0,Ye}else{if(AF(),(t.mode&yr)===Mt)return pg(e,t,g,null);if(Cy(c)){var y,C,E;{var L=$9(c);y=L.digest,C=L.message,E=L.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 J=q1(Z,y,E);return pg(e,t,g,J)}var ye=zo(g,e.childLanes);if($l||ye){var Se=xg();if(Se!==null){var ke=ZI(Se,g);if(ke!==yn&&ke!==d.retryLane){d.retryLane=ke;var rt=va;So(e,ke),dn(Se,e,ke,rt)}}E0();var Rt=q1(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 pg(e,t,g,Rt)}else if(BC(c)){t.flags|=zr,t.child=e.child;var St=bU.bind(null,e);return G9(c,St),null}else{OF(t,c,d.treeContext);var hr=i.children,mr=n0(t,hr);return mr.flags|=Vs,mr}}}function v4(e,t,n){e.lanes=lr(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=lr(i.lanes,t)),Ky(e.return,t,n)}function Wj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var c=i.memoizedState;c!==null&&v4(i,n,e)}else if(i.tag===pe)v4(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 qj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&qv(i)===null&&(n=t),t=t.sibling}return n}function Yj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!J1[e])if(J1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{u('"%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:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function $j(e,t){e!==void 0&&!dg[e]&&(e!=="collapsed"&&e!=="hidden"?(dg[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(dg[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function g4(e,t){{var n=an(e),i=!n&&typeof Qa(e)=="function";if(n||i){var c=n?"array":"iterable";return u("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>",c,t,c),!1}}return!0}function Gj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(an(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=Qa(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var d=c.next(),g=0;!d.done;d=c.next()){if(!g4(d.value,g))return;g++}}else u('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 i0(e,t,n,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=c)}function _4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,g=i.children;Yj(c),$j(d,c),Gj(g,c),Xn(e,t,g,n);var y=Wl.current,C=n1(y,ph);if(C)y=o1(y,ph),t.flags|=zr;else{var E=e!==null&&(e.flags&zr)!==Bt;E&&Wj(t,t.child,n),y=pd(y)}if(qc(t,y),(t.mode&yr)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var L=qj(t.child),Z;L===null?(Z=t.child,t.child=null):(Z=L.sibling,L.sibling=null),i0(t,!1,Z,L,d);break}case"backwards":{var J=null,ye=t.child;for(t.child=null;ye!==null;){var Se=ye.alternate;if(Se!==null&&qv(Se)===null){t.child=ye;break}var ke=ye.sibling;ye.sibling=J,J=ye,ye=ke}i0(t,!0,J,null,d);break}case"together":{i0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Kj(e,t,n){t1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=cd(t,null,i,n):Xn(e,t,i,n),t.child}var b4=!1;function Xj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,g=t.memoizedProps,y=d.value;{"value"in d||b4||(b4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&Hl(C,d,"prop","Context.Provider")}if(fx(t,c,y),g!==null){var E=g.value;if(jo(E,y)){if(g.children===d.children&&!wv())return tc(e,t,n)}else YF(t,c,n)}var L=d.children;return Xn(e,t,L,n),t.child}var y4=!1;function Qj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(y4||(y4=!0,u("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 c=t.pendingProps,d=c.children;typeof d!="function"&&u("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."),fd(t,n);var g=en(i);wp(t);var y;return wh.current=t,_l(!0),y=d(g),_l(!1),Wf(),t.flags|=Uf,Xn(e,t,y,n),t.child}function kh(){$l=!0}function hg(e,t){(t.mode&yr)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Za)}function tc(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Kx(),zh(t.lanes),zo(n,t.childLanes)?(WF(e,t),t.child):null}function Jj(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 c=i.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=xu):d.push(e),n.flags|=Za,n}}function l0(e,t){var n=e.lanes;return!!zo(n,t)}function Zj(e,t,n){switch(t.tag){case b:d4(t);var i=t.stateNode;sd();break;case w:bx(t);break;case m:{var c=t.type;vs(c)&&xv(t);break}case S:t1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,g=t.type._context;fx(t,g,d);break}case F:{var y=zo(n,t.childLanes);y&&(t.flags|=Er);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return qc(t,pd(Wl.current)),t.flags|=zr,null;var L=t.child,Z=L.childLanes;if(zo(n,Z))return h4(e,t,n);qc(t,pd(Wl.current));var J=tc(e,t,n);return J!==null?J.sibling:null}else qc(t,pd(Wl.current));break}case pe:{var ye=(e.flags&zr)!==Bt,Se=zo(n,t.childLanes);if(ye){if(Se)return _4(e,t,n);t.flags|=zr}var ke=t.memoizedState;if(ke!==null&&(ke.rendering=null,ke.tail=null,ke.lastEffect=null),qc(t,Wl.current),Se)break;return null}case H:case le:return t.lanes=Ie,c4(e,t,n)}return tc(e,t,n)}function S4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Jj(e,t,B0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,c=t.pendingProps;if(i!==c||wv()||t.type!==e.type)$l=!0;else{var d=l0(e,n);if(!d&&(t.flags&zr)===Bt)return $l=!1,Zj(e,t,n);(e.flags&pb)!==Bt?$l=!0:$l=!1}}else if($l=!1,En()&&xF(t)){var g=t.index,y=kF();KC(t,y,g)}switch(t.lanes=Ie,t.tag){case _:return Mj(e,t,t.type,n);case _e:{var C=t.elementType;return Nj(e,t,C,n)}case p:{var E=t.type,L=t.pendingProps,Z=t.elementType===E?L:Yl(E,L);return Z1(e,t,E,Z,n)}case m:{var J=t.type,ye=t.pendingProps,Se=t.elementType===J?ye:Yl(J,ye);return f4(e,t,J,Se,n)}case b:return Dj(e,t,n);case w:return Aj(e,t,n);case k:return Lj(e,t);case Q:return h4(e,t,n);case S:return Kj(e,t,n);case j:{var ke=t.type,rt=t.pendingProps,Rt=t.elementType===ke?rt:Yl(ke,rt);return i4(e,t,ke,Rt,n)}case R:return Tj(e,t,n);case N:return Ej(e,t,n);case F:return Rj(e,t,n);case O:return Xj(e,t,n);case W:return Qj(e,t,n);case M:{var St=t.type,hr=t.pendingProps,mr=Yl(St,hr);if(t.type!==t.elementType){var ce=St.propTypes;ce&&Hl(ce,mr,"prop",Vr(St))}return mr=Yl(St.type,mr),l4(e,t,St,mr,n)}case te:return s4(e,t,t.type,t.pendingProps,n);case ee:{var De=t.type,ue=t.pendingProps,Ye=t.elementType===De?ue:Yl(De,ue);return Oj(e,t,De,Ye,n)}case pe:return _4(e,t,n);case ve:break;case H:return c4(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 bd(e){e.flags|=Er}function w4(e){e.flags|=Lc,e.flags|=hb}var C4,s0,x4,k4;C4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)S9(e,c.stateNode);else if(c.tag!==S){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},s0=function(e,t){},x4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var g=t.stateNode,y=r1(),C=C9(g,n,d,i,c,y);t.updateQueue=C,C&&bd(t)}},k4=function(e,t,n,i){n!==i&&bd(t)};function Th(e,t){if(!En())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 c=e.tail,d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Dn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Ie,i=Bt;if(t){if((e.mode&Jr)!==Mt){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=lr(n,lr(E.lanes,E.childLanes)),i|=E.subtreeFlags&qs,i|=E.flags&qs,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var L=e.child;L!==null;)n=lr(n,lr(L.lanes,L.childLanes)),i|=L.subtreeFlags&qs,i|=L.flags&qs,L.return=e,L=L.sibling;e.subtreeFlags|=i}else{if((e.mode&Jr)!==Mt){for(var c=e.actualDuration,d=e.selfBaseDuration,g=e.child;g!==null;)n=lr(n,lr(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,c+=g.actualDuration,d+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=lr(n,lr(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function eH(e,t,n){if(BF()&&(t.mode&yr)!==Mt&&(t.flags&zr)===Bt)return rx(t),sd(),t.flags|=Us|yp|Kn,!1;var i=Dv(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(IF(t),Dn(t),(t.mode&Jr)!==Mt){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(sd(),(t.flags&zr)===Bt&&(t.memoizedState=null),t.flags|=Er,Dn(t),(t.mode&Jr)!==Mt){var g=n!==null;if(g){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return ax(),!0}function T4(e,t,n){var i=t.pendingProps;switch(My(t),t.tag){case _:case _e:case te:case p:case j:case R:case N:case F:case W:case M:return Dn(t),null;case m:{var c=t.type;return vs(c)&&Cv(t),Dn(t),null}case b:{var d=t.stateNode;if(dd(t),Ay(t),l1(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var g=Dv(t);if(g)bd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Us)!==Bt)&&(t.flags|=ku,ax())}}return s0(e,t),Dn(t),null}case w:{a1(t);var C=_x(),E=t.type;if(e!==null&&t.stateNode!=null)x4(e,t,E,i,C),e.ref!==t.ref&&w4(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 Dn(t),null}var L=r1(),Z=Dv(t);if(Z)MF(t,C,L)&&bd(t);else{var J=y9(E,i,C,L,t);C4(J,t,!1,!1),t.stateNode=J,w9(J,E,i,C)&&bd(t)}t.ref!==null&&w4(t)}return Dn(t),null}case k:{var ye=i;if(e&&t.stateNode!=null){var Se=e.memoizedProps;k4(e,t,Se,ye)}else{if(typeof ye!="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 ke=_x(),rt=r1(),Rt=Dv(t);Rt?PF(t)&&bd(t):t.stateNode=x9(ye,ke,rt,t)}return Dn(t),null}case Q:{hd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hr=eH(e,t,St);if(!hr)return t.flags&Kn?t:null}if((t.flags&zr)!==Bt)return t.lanes=n,(t.mode&Jr)!==Mt&&N1(t),t;var mr=St!==null,ce=e!==null&&e.memoizedState!==null;if(mr!==ce&&mr){var De=t.child;if(De.flags|=Tu,(t.mode&yr)!==Mt){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);ue||n1(Wl.current,Sx)?iU():E0()}}var Ye=t.updateQueue;if(Ye!==null&&(t.flags|=Er),Dn(t),(t.mode&Jr)!==Mt&&mr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return dd(t),s0(e,t),e===null&&gF(t.stateNode.containerInfo),Dn(t),null;case O:var at=t.type._context;return Gy(at,t),Dn(t),null;case ee:{var Ut=t.type;return vs(Ut)&&Cv(t),Dn(t),null}case pe:{hd(t);var Kt=t.memoizedState;if(Kt===null)return Dn(t),null;var ea=(t.flags&zr)!==Bt,Nr=Kt.rendering;if(Nr===null)if(ea)Th(Kt,!1);else{var Ya=sU()&&(e===null||(e.flags&zr)===Bt);if(!Ya)for(var Or=t.child;Or!==null;){var Ba=qv(Or);if(Ba!==null){ea=!0,t.flags|=zr,Th(Kt,!1);var Hn=Ba.updateQueue;return Hn!==null&&(t.updateQueue=Hn,t.flags|=Er),t.subtreeFlags=Bt,qF(t,n),qc(t,o1(Wl.current,ph)),t.child}Or=Or.sibling}Kt.tail!==null&&_n()>G4()&&(t.flags|=zr,ea=!0,Th(Kt,!1),t.lanes=k3)}else{if(!ea){var Mn=qv(Nr);if(Mn!==null){t.flags|=zr,ea=!0;var Vo=Mn.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=Er),Th(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!Nr.alternate&&!En())return Dn(t),null}else _n()*2-Kt.renderingStartTime>G4()&&n!==Io&&(t.flags|=zr,ea=!0,Th(Kt,!1),t.lanes=k3)}if(Kt.isBackwards)Nr.sibling=t.child,t.child=Nr;else{var Zn=Kt.last;Zn!==null?Zn.sibling=Nr:t.child=Nr,Kt.last=Nr}}if(Kt.tail!==null){var eo=Kt.tail;Kt.rendering=eo,Kt.tail=eo.sibling,Kt.renderingStartTime=_n(),eo.sibling=null;var Un=Wl.current;return ea?Un=o1(Un,ph):Un=pd(Un),qc(t,Un),eo}return Dn(t),null}case ve:break;case H:case le:{T0(t);var ic=t.memoizedState,Ed=ic!==null;if(e!==null){var Uh=e.memoizedState,xs=Uh!==null;xs!==Ed&&!he&&(t.flags|=Tu)}return!Ed||(t.mode&yr)===Mt?Dn(t):zo(Cs,Io)&&(Dn(t),t.subtreeFlags&(Za|Er)&&(t.flags|=Tu)),null}case fe:return null;case B: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 tH(e,t,n){switch(My(t),t.tag){case m:{var i=t.type;vs(i)&&Cv(t);var c=t.flags;return c&Kn?(t.flags=c&~Kn|zr,(t.mode&Jr)!==Mt&&N1(t),t):null}case b:{var d=t.stateNode;dd(t),Ay(t),l1();var g=t.flags;return(g&Kn)!==Bt&&(g&zr)===Bt?(t.flags=g&~Kn|zr,t):null}case w:return a1(t),null;case Q:{hd(t);var y=t.memoizedState;if(y!==null&&y.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.");sd()}var C=t.flags;return C&Kn?(t.flags=C&~Kn|zr,(t.mode&Jr)!==Mt&&N1(t),t):null}case pe:return hd(t),null;case S:return dd(t),null;case O:var E=t.type._context;return Gy(E,t),null;case H:case le:return T0(t),null;case fe:return null;default:return null}}function E4(e,t,n){switch(My(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&Cv(t);break}case b:{var c=t.stateNode;dd(t),Ay(t),l1();break}case w:{a1(t);break}case S:dd(t);break;case Q:hd(t);break;case pe:hd(t);break;case O:var d=t.type._context;Gy(d,t);break;case H:case le:T0(t);break}}var R4=null;R4=new Set;var mg=!1,An=!1,rH=typeof WeakSet=="function"?WeakSet:Set,gt=null,yd=null,Sd=null;function aH(e){ub(null,function(){throw e}),fb()}var nH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Jr)try{Ss(),t.componentWillUnmount()}finally{ys(e)}else t.componentWillUnmount()};function D4(e,t){try{Gc(on,e)}catch(n){ua(e,t,n)}}function c0(e,t,n){try{nH(e,n)}catch(i){ua(e,t,i)}}function oH(e,t,n){try{n.componentDidMount()}catch(i){ua(e,t,i)}}function A4(e,t){try{O4(e)}catch(n){ua(e,t,n)}}function wd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(tt&&dt&&e.mode&Jr)try{Ss(),i=n(null)}finally{ys(e)}else i=n(null)}catch(c){ua(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ar(e))}else n.current=null}function vg(e,t,n){try{n()}catch(i){ua(e,t,i)}}var L4=null,N4=!1;function iH(e,t){L4=_9(e.containerInfo),gt=t,lH();var n=N4;return N4=!1,L4=null,n}function lH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&vb)!==Bt&&t!==null?(t.return=e,gt=t):sH()}}function sH(){for(;gt!==null;){var e=gt;ka(e);try{cH(e)}catch(n){ua(e,e.return,n)}gn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function cH(e){var t=e.alternate,n=e.flags;if((n&ku)!==Bt){switch(ka(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!$u&&(d.props!==e.memoizedProps&&u("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.",ar(e)||"instance"),d.state!==e.memoizedState&&u("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.",ar(e)||"instance"));var g=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Yl(e.type,i),c);{var y=R4;g===void 0&&!y.has(e.type)&&(y.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ar(e)))}d.__reactInternalSnapshotBeforeUpdate=g}break}case b:{{var C=e.stateNode;V9(C.containerInfo)}break}case w:case k:case S:case ee: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.")}gn()}}function Gl(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,g=d;do{if((g.tag&e)===e){var y=g.destroy;g.destroy=void 0,y!==void 0&&((e&Rn)!==wo?xI(t):(e&on)!==wo&&y3(t),(e&gs)!==wo&&Fh(!0),vg(t,n,y),(e&gs)!==wo&&Fh(!1),(e&Rn)!==wo?kI():(e&on)!==wo&&S3())}g=g.next}while(g!==d)}}function Gc(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,d=c;do{if((d.tag&e)===e){(e&Rn)!==wo?wI(t):(e&on)!==wo&&TI(t);var g=d.create;(e&gs)!==wo&&Fh(!0),d.destroy=g(),(e&gs)!==wo&&Fh(!1),(e&Rn)!==wo?CI():(e&on)!==wo&&EI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&on)!==Bt?C="useLayoutEffect":(d.tag&gs)!==Bt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
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`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==c)}}function uH(e,t){if((t.flags&Er)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,g=$x(),y=t.alternate===null?"mount":"update";Yx()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var L=C.stateNode;L.passiveEffectDuration+=n;break e}C=C.return}break}}}function fH(e,t,n,i){if((n.flags&Sp)!==zt)switch(n.tag){case p:case H:case ae:{if(!Dn)if(n.mode&Xr)try{Ss(),Gc(on|nn,n)}finally{ys(n)}else Gc(on|nn,n);break}case m:{var c=n.stateNode;if(n.flags&Er&&!Dn)if(t===null)if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Xr)try{Ss(),c.componentDidMount()}finally{ys(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Yl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Xr)try{Ss(),c.componentDidUpdate(d,g,c.__reactInternalSnapshotBeforeUpdate)}finally{ys(n)}else c.componentDidUpdate(d,g,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),gx(n,y,c));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}gx(n,C,E)}break}case w:{var L=n.stateNode;if(t===null&&n.flags&Er){var J=n.type,Q=n.memoizedProps;D9(L,J,Q)}break}case k:break;case S:break;case F:{{var ve=n.memoizedProps,ge=ve.onCommit,xe=ve.onRender,at=n.stateNode.effectDuration,Dt=$x(),St=t===null?"mount":"update";Yx()&&(St="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Dt);{typeof ge=="function"&&ge(n.memoizedProps.id,St,at,Dt),pU(n);var hr=n.return;e:for(;hr!==null;){switch(hr.tag){case b:var mr=hr.stateNode;mr.effectDuration+=at;break e;case F:var ue=hr.stateNode;ue.effectDuration+=at;break e}hr=hr.return}}}break}case Z:{bH(e,n);break}case be:case ee:case he:case j:case le:case B: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.")}Dn||n.flags&Lc&&O4(n)}function dH(e){switch(e.tag){case p:case H:case ae:{if(e.mode&Xr)try{Ss(),D4(e,e.return)}finally{ys(e)}else D4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&oH(e,e.return,t),A4(e,e.return);break}case w:{A4(e,e.return);break}}}function pH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var c=i.stateNode;t?F9(c):H9(i.stateNode,i.memoizedProps)}catch(g){ua(e,e.return,g)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?j9(d):U9(d,i.memoizedProps)}catch(g){ua(e,e.return,g)}}else if(!((i.tag===j||i.tag===le)&&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 O4(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 c;if(e.mode&Xr)try{Ss(),c=t(i)}finally{ys(e)}else c=t(i);typeof c=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rr(e)),t.current=i}}function hH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function M4(e){var t=e.alternate;t!==null&&(e.alternate=null,M4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&yF(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 mH(e){for(var t=e.return;t!==null;){if(P4(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 P4(e){return e.tag===w||e.tag===b||e.tag===S}function I4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||P4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==ye;){if(t.flags&Za||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Za))return t.stateNode}}function vH(e){var t=mH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&bp&&(zC(n),t.flags&=~bp);var i=I4(e);f0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=I4(e);u0(e,d,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function u0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?P9(n,d,t):O9(n,d)}else if(i!==S){var g=e.child;if(g!==null){u0(g,t,n);for(var y=g.sibling;y!==null;)u0(y,t,n),y=y.sibling}}}function f0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?M9(n,d,t):N9(n,d)}else if(i!==S){var g=e.child;if(g!==null){f0(g,t,n);for(var y=g.sibling;y!==null;)f0(y,t,n),y=y.sibling}}}var An=null,Kl=!1;function gH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{An=i.stateNode,Kl=!1;break e}case b:{An=i.stateNode.containerInfo,Kl=!0;break e}case S:{An=i.stateNode.containerInfo,Kl=!0;break e}}i=i.return}if(An===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");z4(e,t,n),An=null,Kl=!1}hH(n)}function Kc(e,t,n){for(var i=n.child;i!==null;)z4(e,t,i),i=i.sibling}function z4(e,t,n){switch(_I(n),n.tag){case w:Dn||wd(n,t);case k:{{var i=An,c=Kl;An=null,Kc(e,t,n),An=i,Kl=c,An!==null&&(Kl?z9(An,n.stateNode):I9(An,n.stateNode))}return}case ye:{An!==null&&(Kl?B9(An,n.stateNode):w1(An,n.stateNode));return}case S:{{var d=An,g=Kl;An=n.stateNode.containerInfo,Kl=!0,Kc(e,t,n),An=d,Kl=g}return}case p:case H:case O:case ae:{if(!Dn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,L=E;do{var J=L,Q=J.destroy,ve=J.tag;Q!==void 0&&((ve&gs)!==So?vg(n,t,Q):(ve&on)!==So&&(y3(n),n.mode&Xr?(Ss(),vg(n,t,Q),ys(n)):vg(n,t,Q),S3())),L=L.next}while(L!==E)}}}Kc(e,t,n);return}case m:{if(!Dn){wd(n,t);var ge=n.stateNode;typeof ge.componentWillUnmount=="function"&&c0(n,t,ge)}Kc(e,t,n);return}case he:{Kc(e,t,n);return}case j:{if(n.mode&yr){var xe=Dn;Dn=xe||n.memoizedState!==null,Kc(e,t,n),Dn=xe}else Kc(e,t,n);break}default:{Kc(e,t,n);return}}}function _H(e){var t=e.memoizedState}function bH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var c=i.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&aF(d)}}}}function B4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rH),t.forEach(function(i){var c=yU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Fl)if(yd!==null&&Sd!==null)Bh(Sd,yd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function yH(e,t,n){yd=n,Sd=e,xa(t),F4(t,e),xa(t),yd=null,Sd=null}function Xl(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{gH(e,t,d)}catch(C){ua(d,t,C)}}var g=$_();if(t.subtreeFlags&gb)for(var y=t.child;y!==null;)xa(y),F4(y,e),y=y.sibling;xa(g)}function F4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case H:case O:case ae:{if(Xl(t,e),ws(e),c&Er){try{Gl(gs|nn,e,e.return),Gc(gs|nn,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Xr){try{Ss(),Gl(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}ys(e)}else try{Gl(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{Xl(t,e),ws(e),c&Lc&&i!==null&&wd(i,i.return);return}case w:{Xl(t,e),ws(e),c&Lc&&i!==null&&wd(i,i.return);{if(e.flags&bp){var d=e.stateNode;try{zC(d)}catch(Ht){ua(e,e.return,Ht)}}if(c&Er){var g=e.stateNode;if(g!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,L=e.updateQueue;if(e.updateQueue=null,L!==null)try{A9(g,L,E,C,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if(Xl(t,e),ws(e),c&Er){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 J=e.stateNode,Q=e.memoizedProps,ve=i!==null?i.memoizedProps:Q;try{L9(J,ve,Q)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if(Xl(t,e),ws(e),c&Er&&i!==null){var ge=i.memoizedState;if(ge.isDehydrated)try{rF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{Xl(t,e),ws(e);return}case Z:{Xl(t,e),ws(e);var xe=e.child;if(xe.flags&Tu){var at=xe.stateNode,Dt=xe.memoizedState,St=Dt!==null;if(at.isHidden=St,St){var hr=xe.alternate!==null&&xe.alternate.memoizedState!==null;hr||oU()}}if(c&Er){try{_H(e)}catch(Ht){ua(e,e.return,Ht)}B4(e)}return}case j:{var mr=i!==null&&i.memoizedState!==null;if(e.mode&yr){var ue=Dn;Dn=ue||mr,Xl(t,e),Dn=ue}else Xl(t,e);if(ws(e),c&Tu){var De=e.stateNode,fe=e.memoizedState,qe=fe!==null,ut=e;if(De.isHidden=qe,qe&&!mr&&(ut.mode&yr)!==Mt){gt=ut;for(var nt=ut.child;nt!==null;)gt=nt,wH(nt),nt=nt.sibling}pH(ut,qe)}return}case be:{Xl(t,e),ws(e),c&Er&&B4(e);return}case he:return;default:{Xl(t,e),ws(e);return}}}function ws(e){var t=e.flags;if(t&Za){try{vH(e)}catch(n){ua(e,e.return,n)}e.flags&=~Za}t&Vs&&(e.flags&=~Vs)}function SH(e,t,n){yd=n,Sd=t,gt=e,j4(e,t,n),yd=null,Sd=null}function j4(e,t,n){for(var i=(e.mode&yr)!==Mt;gt!==null;){var c=gt,d=c.child;if(c.tag===j&&i){var g=c.memoizedState!==null,y=g||mg;if(y){d0(e,t,n);continue}else{var C=c.alternate,E=C!==null&&C.memoizedState!==null,L=E||Dn,J=mg,Q=Dn;mg=y,Dn=L,Dn&&!Q&&(gt=c,CH(c));for(var ve=d;ve!==null;)gt=ve,j4(ve,t,n),ve=ve.sibling;gt=c,mg=J,Dn=Q,d0(e,t,n);continue}}(c.subtreeFlags&Sp)!==zt&&d!==null?(d.return=c,gt=d):d0(e,t,n)}}function d0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&Sp)!==zt){var c=i.alternate;xa(i);try{fH(t,c,i,n)}catch(g){ua(i,i.return,g)}gn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function wH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case H:case O:case ae:{if(t.mode&Xr)try{Ss(),Gl(on,t,t.return)}finally{ys(t)}else Gl(on,t,t.return);break}case m:{wd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&c0(t,t.return,i);break}case w:{wd(t,t.return);break}case j:{var c=t.memoizedState!==null;if(c){H4(e);continue}break}}n!==null?(n.return=t,gt=n):H4(e)}}function H4(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function CH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===j){var i=t.memoizedState!==null;if(i){U4(e);continue}}n!==null?(n.return=t,gt=n):U4(e)}}function U4(e){for(;gt!==null;){var t=gt;xa(t);try{dH(t)}catch(i){ua(t,t.return,i)}if(gn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function xH(e,t,n,i){gt=t,kH(t,e,n,i)}function kH(e,t,n,i){for(;gt!==null;){var c=gt,d=c.child;(c.subtreeFlags&Vf)!==zt&&d!==null?(d.return=c,gt=d):TH(e,t,n,i)}}function TH(e,t,n,i){for(;gt!==null;){var c=gt;if((c.flags&Bl)!==zt){xa(c);try{EH(t,c,n,i)}catch(g){ua(c,c.return,g)}gn()}if(c===e){gt=null;return}var d=c.sibling;if(d!==null){d.return=c.return,gt=d;return}gt=c.return}}function EH(e,t,n,i){switch(t.tag){case p:case H:case ae:{if(t.mode&Xr){Ly();try{Gc(En|nn,t)}finally{Ay(t)}}else Gc(En|nn,t);break}}}function RH(e){gt=e,DH()}function DH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&xu)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];gt=c,NH(c,e)}{var d=e.alternate;if(d!==null){var g=d.child;if(g!==null){d.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(g!==null)}}}gt=e}}(e.subtreeFlags&Vf)!==zt&&t!==null?(t.return=e,gt=t):AH()}}function AH(){for(;gt!==null;){var e=gt;(e.flags&Bl)!==zt&&(xa(e),LH(e),gn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function LH(e){switch(e.tag){case p:case H:case ae:{e.mode&Xr?(Ly(),Gl(En|nn,e,e.return),Ay(e)):Gl(En|nn,e,e.return);break}}}function NH(e,t){for(;gt!==null;){var n=gt;xa(n),MH(n,t),gn();var i=n.child;i!==null?(i.return=n,gt=i):OH(e)}}function OH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(M4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function MH(e,t){switch(e.tag){case p:case H:case ae:{e.mode&Xr?(Ly(),Gl(En,e,t),Ay(e)):Gl(En,e,t);break}}}function PH(e){switch(e.tag){case p:case H:case ae:{try{Gc(on|nn,e)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ua(e,e.return,n)}break}}}function IH(e){switch(e.tag){case p:case H:case ae:{try{Gc(En|nn,e)}catch(t){ua(e,e.return,t)}break}}}function zH(e){switch(e.tag){case p:case H:case ae:{try{Gl(on|nn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&c0(e,e.return,t);break}}}function BH(e){switch(e.tag){case p:case H:case ae:try{Gl(En|nn,e,e.return)}catch(t){ua(e,e.return,t)}}}var FH=0,jH=1,HH=2,UH=3,VH=4;if(typeof Symbol=="function"&&Symbol.for){var Eh=Symbol.for;FH=Eh("selector.component"),jH=Eh("selector.has_pseudo_class"),HH=Eh("selector.role"),UH=Eh("selector.test_id"),VH=Eh("selector.text")}var WH=[];function qH(){WH.forEach(function(e){return e()})}var YH=o.ReactCurrentActQueue;function $H(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function V4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&YH.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var GH=Math.ceil,p0=o.ReactCurrentDispatcher,h0=o.ReactCurrentOwner,Ln=o.ReactCurrentBatchConfig,Ql=o.ReactCurrentActQueue,cn=0,W4=1,Nn=2,xl=4,rc=0,Rh=1,Gu=2,gg=3,Dh=4,q4=5,m0=6,Sr=cn,Xn=null,Aa=null,un=Ie,Cs=Ie,v0=Fc(Ie),fn=rc,Ah=null,g0=Ie,_g=Ie,Lh=Ie,bg=Ie,Nh=null,wo=null,_0=0,Y4=500,$4=1/0,KH=500,ac=null;function Oh(){$4=_n()+KH}function G4(){return $4}var yg=!1,b0=null,Cd=null,Ku=!1,Xc=null,Mh=Ie,y0=[],S0=null,XH=50,Ph=0,w0=null,C0=!1,Sg=!1,QH=50,xd=0,wg=null,Ih=ma,Cg=Ie,K4=!1;function xg(){return Xn}function Qn(){return(Sr&(Nn|xl))!==cn?_n():(Ih!==ma||(Ih=_n()),Ih)}function Qc(e){var t=e.mode;if((t&yr)===Mt)return qt;if((Sr&Nn)!==cn&&un!==Ie)return Rp(un);var n=HF()!==jF;if(n){if(Ln.transition!==null){var i=Ln.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Cg===yn&&(Cg=D3()),Cg}var c=jl();if(c!==yn)return c;var d=k9();return d}function JH(e){var t=e.mode;return(t&yr)===Mt?qt:KI()}function dn(e,t,n,i){wU(),K4&&u("useInsertionEffect must not schedule updates."),C0&&(Sg=!0),Dp(e,n,i),(Sr&Nn)!==Ie&&e===Xn?kU(t):(Fl&&N3(e,t,n),TU(t),e===Xn&&((Sr&Nn)===cn&&(Lh=ir(Lh,n)),fn===Dh&&Jc(e,un)),Co(e,i),n===qt&&Sr===cn&&(t.mode&yr)===Mt&&!Ql.isBatchingLegacy&&(Oh(),GC()))}function ZH(e,t,n){var i=e.current;i.lanes=t,Dp(e,t,n),Co(e,n)}function eU(e){return(Sr&Nn)!==cn}function Co(e,t){var n=e.callbackNode;VI(e,t);var i=qm(e,e===Xn?un:Ie);if(i===Ie){n!==null&&fk(n),e.callbackNode=null,e.callbackPriority=yn;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Ql.current!==null&&n!==A0)){n==null&&d!==qt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&fk(n);var g;if(c===qt)e.tag===jc?(Ql.isBatchingLegacy!==null&&(Ql.didScheduleLegacyUpdate=!0),CF(J4.bind(null,e))):$C(J4.bind(null,e)),Ql.current!==null?Ql.current.push(Hc):E9(function(){(Sr&(Nn|xl))===cn&&Hc()}),g=null;else{var y;switch(P3(i)){case Bo:y=Hm;break;case $s:y=_b;break;case Gs:y=Du;break;case Gm:y=bb;break;default:y=Du;break}g=L0(y,X4.bind(null,e))}e.callbackPriority=c,e.callbackNode=g}function X4(e,t){if(pj(),Ih=ma,Cg=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var n=e.callbackNode,i=oc();if(i&&e.callbackNode!==n)return null;var c=qm(e,e===Xn?un:Ie);if(c===Ie)return null;var d=!Ym(e,c)&&!GI(e,c)&&!t,g=d?uU(e,c):Tg(e,c);if(g!==rc){if(g===Gu){var y=Hb(e);y!==Ie&&(c=y,g=x0(e,y))}if(g===Rh){var C=Ah;throw Xu(e,Ie),Jc(e,c),Co(e,_n()),C}if(g===m0)Jc(e,c);else{var E=!Ym(e,c),L=e.current.alternate;if(E&&!rU(L)){if(g=Tg(e,c),g===Gu){var J=Hb(e);J!==Ie&&(c=J,g=x0(e,J))}if(g===Rh){var Q=Ah;throw Xu(e,Ie),Jc(e,c),Co(e,_n()),Q}}e.finishedWork=L,e.finishedLanes=c,tU(e,g,c)}}return Co(e,_n()),e.callbackNode===n?X4.bind(null,e):null}function x0(e,t){var n=Nh;if(Km(e)){var i=Xu(e,t);i.flags|=Us,vF(e.containerInfo)}var c=Tg(e,t);if(c!==Gu){var d=wo;wo=n,d!==null&&Q4(d)}return c}function Q4(e){wo===null?wo=e:wo.push.apply(wo,e)}function tU(e,t,n){switch(t){case rc:case Rh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,wo,ac);break}case gg:{if(Jc(e,n),E3(n)&&!dk()){var i=_0+Y4-_n();if(i>10){var c=qm(e,Ie);if(c!==Ie)break;var d=e.suspendedLanes;if(!Gf(d,n)){var g=Qn();L3(e,d);break}e.timeoutHandle=y1(Qu.bind(null,e,wo,ac),i);break}}Qu(e,wo,ac);break}case Dh:{if(Jc(e,n),$I(n))break;if(!dk()){var y=HI(e,n),C=y,E=_n()-C,L=SU(E)-E;if(L>10){e.timeoutHandle=y1(Qu.bind(null,e,wo,ac),L);break}}Qu(e,wo,ac);break}case q4:{Qu(e,wo,ac);break}default:throw new Error("Unknown root exit status.")}}function rU(e){for(var t=e;;){if(t.flags&Fm){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c],g=d.getSnapshot,y=d.value;try{if(!jo(g(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Fm&&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 Jc(e,t){t=$m(t,bg),t=$m(t,Lh),QI(e,t)}function J4(e){if(hj(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");oc();var t=qm(e,Ie);if(!zo(t,qt))return Co(e,_n()),null;var n=Tg(e,t);if(e.tag!==jc&&n===Gu){var i=Hb(e);i!==Ie&&(t=i,n=x0(e,i))}if(n===Rh){var c=Ah;throw Xu(e,Ie),Jc(e,t),Co(e,_n()),c}if(n===m0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Qu(e,wo,ac),Co(e,_n()),null}function aU(e,t){t!==Ie&&(qb(e,ir(t,qt)),Co(e,_n()),(Sr&(Nn|xl))===cn&&(Oh(),Hc()))}function k0(e,t){var n=Sr;Sr|=W4;try{return e(t)}finally{Sr=n,Sr===cn&&!Ql.isBatchingLegacy&&(Oh(),GC())}}function nU(e,t,n,i,c){var d=jl(),g=Ln.transition;try{return Ln.transition=null,Sn(Bo),e(t,n,i,c)}finally{Sn(d),Ln.transition=g,Sr===cn&&Oh()}}function nc(e){Xc!==null&&Xc.tag===jc&&(Sr&(Nn|xl))===cn&&oc();var t=Sr;Sr|=W4;var n=Ln.transition,i=jl();try{return Ln.transition=null,Sn(Bo),e?e():void 0}finally{Sn(i),Ln.transition=n,Sr=t,(Sr&(Nn|xl))===cn&&Hc()}}function Z4(){return(Sr&(Nn|xl))!==cn}function kg(e,t){Bn(v0,Cs,e),Cs=ir(Cs,t),g0=ir(g0,t)}function T0(e){Cs=v0.current,zn(v0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=Ie;var n=e.timeoutHandle;if(n!==S1&&(e.timeoutHandle=S1,T9(n)),Aa!==null)for(var i=Aa.return;i!==null;){var c=i.alternate;E4(c,i),i=i.return}Xn=e;var d=Ju(e.current,null);return Aa=d,un=Cs=g0=t,fn=rc,Ah=null,_g=Ie,Lh=Ie,bg=Ie,Nh=null,wo=null,GF(),Vl.discardPendingWarnings(),d}function ek(e,t){do{var n=Aa;try{if(Pv(),Cx(),gn(),h0.current=null,n===null||n.return===null){fn=Rh,Ah=t,Aa=null;return}if(rt&&n.mode&Xr&&ug(n,!0),Ge)if(Wf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;DI(n,i,un)}else RI(n,t,un);Cj(e,n.return,n,t,un),nk(n)}catch(c){t=c,Aa===n&&n!==null?(n=n.return,Aa=n):n=Aa;continue}return}while(!0)}function tk(){var e=p0.current;return p0.current=og,e===null?og:e}function rk(e){p0.current=e}function oU(){_0=_n()}function zh(e){_g=ir(e,_g)}function iU(){fn===rc&&(fn=gg)}function E0(){(fn===rc||fn===gg||fn===Gu)&&(fn=Dh),Xn!==null&&(Ub(_g)||Ub(Lh))&&Jc(Xn,un)}function lU(e){fn!==Dh&&(fn=Gu),Nh===null?Nh=[e]:Nh.push(e)}function sU(){return fn===rc}function Tg(e,t){var n=Sr;Sr|=Nn;var i=tk();if(Xn!==e||un!==t){if(Fl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),O3(e,t)}ac=M3(),Xu(e,t)}w3(t);do try{cU();break}catch(d){ek(e,d)}while(!0);if(Pv(),Sr=n,rk(i),Aa!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return C3(),Xn=null,un=Ie,fn}function cU(){for(;Aa!==null;)ak(Aa)}function uU(e,t){var n=Sr;Sr|=Nn;var i=tk();if(Xn!==e||un!==t){if(Fl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),O3(e,t)}ac=M3(),Oh(),Xu(e,t)}w3(t);do try{fU();break}catch(d){ek(e,d)}while(!0);return Pv(),rk(i),Sr=n,Aa!==null?(MI(),rc):(C3(),Xn=null,un=Ie,fn)}function fU(){for(;Aa!==null&&!sI();)ak(Aa)}function ak(e){var t=e.alternate;xa(e);var n;(e.mode&Xr)!==Mt?(Dy(e),n=R0(t,e,Cs),ug(e,!0)):n=R0(t,e,Cs),gn(),e.memoizedProps=e.pendingProps,n===null?nk(e):Aa=n,h0.current=null}function nk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&yp)===zt){xa(t);var c=void 0;if((t.mode&Xr)===Mt?c=T4(n,t,Cs):(Dy(t),c=T4(n,t,Cs),ug(t,!1)),gn(),c!==null){Aa=c;return}}else{var d=tH(n,t);if(d!==null){d.flags&=rI,Aa=d;return}if((t.mode&Xr)!==Mt){ug(t,!1);for(var g=t.actualDuration,y=t.child;y!==null;)g+=y.actualDuration,y=y.sibling;t.actualDuration=g}if(i!==null)i.flags|=yp,i.subtreeFlags=zt,i.deletions=null;else{fn=m0,Aa=null;return}}var C=t.sibling;if(C!==null){Aa=C;return}t=i,Aa=t}while(t!==null);fn===rc&&(fn=q4)}function Qu(e,t,n){var i=jl(),c=Ln.transition;try{Ln.transition=null,Sn(Bo),dU(e,t,n,i)}finally{Ln.transition=c,Sn(i)}return null}function dU(e,t,n,i){do oc();while(Xc!==null);if(CU(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(SI(d),c===null)return b3(),null;if(d===Ie&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ie,c===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=yn;var g=ir(c.lanes,c.childLanes);JI(e,g),e===Xn&&(Xn=null,Aa=null,un=Ie),((c.subtreeFlags&Vf)!==zt||(c.flags&Vf)!==zt)&&(Ku||(Ku=!0,S0=n,L0(Du,function(){return oc(),null})));var y=(c.subtreeFlags&(vb|gb|Sp|Vf))!==zt,C=(c.flags&(vb|gb|Sp|Vf))!==zt;if(y||C){var E=Ln.transition;Ln.transition=null;var L=jl();Sn(Bo);var J=Sr;Sr|=xl,h0.current=null;var Q=iH(e,c);Gx(),yH(e,c,d),b9(e.containerInfo),e.current=c,AI(d),SH(c,e,d),LI(),cI(),Sr=J,Sn(L),Ln.transition=E}else e.current=c,Gx();var ve=Ku;if(Ku?(Ku=!1,Xc=e,Mh=d):(xd=0,wg=null),g=e.pendingLanes,g===Ie&&(Cd=null),ve||sk(e.current,!1),vI(c.stateNode,i),Fl&&e.memoizedUpdaters.clear(),qH(),Co(e,_n()),t!==null)for(var ge=e.onRecoverableError,xe=0;xe<t.length;xe++){var at=t[xe],Dt=at.stack,St=at.digest;ge(at.value,{componentStack:Dt,digest:St})}if(yg){yg=!1;var hr=b0;throw b0=null,hr}return zo(Mh,qt)&&e.tag!==jc&&oc(),g=e.pendingLanes,zo(g,qt)?(dj(),e===w0?Ph++:(Ph=0,w0=e)):Ph=0,Hc(),b3(),null}function oc(){if(Xc!==null){var e=P3(Mh),t=rz(Gs,e),n=Ln.transition,i=jl();try{return Ln.transition=null,Sn(t),hU()}finally{Sn(i),Ln.transition=n}}return!1}function pU(e){y0.push(e),Ku||(Ku=!0,L0(Du,function(){return oc(),null}))}function hU(){if(Xc===null)return!1;var e=S0;S0=null;var t=Xc,n=Mh;if(Xc=null,Mh=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Cannot flush passive effects while already rendering.");C0=!0,Sg=!1,NI(n);var i=Sr;Sr|=xl,RH(t.current),xH(t,t.current,n,e);{var c=y0;y0=[];for(var d=0;d<c.length;d++){var g=c[d];uH(t,g)}}OI(),sk(t.current,!0),Sr=i,Hc(),Sg?t===wg?xd++:(xd=0,wg=t):xd=0,C0=!1,Sg=!1,gI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ok(e){return Cd!==null&&Cd.has(e)}function mU(e){Cd===null?Cd=new Set([e]):Cd.add(e)}function vU(e){yg||(yg=!0,b0=e)}var gU=vU;function ik(e,t,n){var i=Yu(n,t),c=r4(e,i,qt),d=Vc(e,c,qt),g=Qn();d!==null&&(Dp(d,qt,g),Co(d,g))}function ua(e,t,n){if(aH(n),Fh(!1),e.tag===b){ik(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){ik(i,e,n);return}else if(i.tag===m){var c=i.type,d=i.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ok(d)){var g=Yu(n,e),y=$y(i,g,qt),C=Vc(i,y,qt),E=Qn();C!==null&&(Dp(C,qt,E),Co(C,E));return}}i=i.return}u(`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`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==c)}}function uH(e,t){if((t.flags&Er)!==Bt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,g=$x(),y=t.alternate===null?"mount":"update";Yx()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var L=C.stateNode;L.passiveEffectDuration+=n;break e}C=C.return}break}}}function fH(e,t,n,i){if((n.flags&Sp)!==Bt)switch(n.tag){case p:case j:case te:{if(!An)if(n.mode&Jr)try{Ss(),Gc(on|nn,n)}finally{ys(n)}else Gc(on|nn,n);break}case m:{var c=n.stateNode;if(n.flags&Er&&!An)if(t===null)if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",ar(n)||"instance"),c.state!==n.memoizedState&&u("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.",ar(n)||"instance")),n.mode&Jr)try{Ss(),c.componentDidMount()}finally{ys(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Yl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",ar(n)||"instance"),c.state!==n.memoizedState&&u("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.",ar(n)||"instance")),n.mode&Jr)try{Ss(),c.componentDidUpdate(d,g,c.__reactInternalSnapshotBeforeUpdate)}finally{ys(n)}else c.componentDidUpdate(d,g,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",ar(n)||"instance"),c.state!==n.memoizedState&&u("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.",ar(n)||"instance")),gx(n,y,c));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}gx(n,C,E)}break}case w:{var L=n.stateNode;if(t===null&&n.flags&Er){var Z=n.type,J=n.memoizedProps;D9(L,Z,J)}break}case k:break;case S:break;case F:{{var ye=n.memoizedProps,Se=ye.onCommit,ke=ye.onRender,rt=n.stateNode.effectDuration,Rt=$x(),St=t===null?"mount":"update";Yx()&&(St="nested-update"),typeof ke=="function"&&ke(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof Se=="function"&&Se(n.memoizedProps.id,St,rt,Rt),pU(n);var hr=n.return;e:for(;hr!==null;){switch(hr.tag){case b:var mr=hr.stateNode;mr.effectDuration+=rt;break e;case F:var ce=hr.stateNode;ce.effectDuration+=rt;break e}hr=hr.return}}}break}case Q:{bH(e,n);break}case pe:case ee:case ve:case H:case le:case B: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.")}An||n.flags&Lc&&O4(n)}function dH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Jr)try{Ss(),D4(e,e.return)}finally{ys(e)}else D4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&oH(e,e.return,t),A4(e,e.return);break}case w:{A4(e,e.return);break}}}function pH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var c=i.stateNode;t?F9(c):H9(i.stateNode,i.memoizedProps)}catch(g){ua(e,e.return,g)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?j9(d):U9(d,i.memoizedProps)}catch(g){ua(e,e.return,g)}}else if(!((i.tag===H||i.tag===le)&&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 O4(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 c;if(e.mode&Jr)try{Ss(),c=t(i)}finally{ys(e)}else c=t(i);typeof c=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ar(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ar(e)),t.current=i}}function hH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function M4(e){var t=e.alternate;t!==null&&(e.alternate=null,M4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&yF(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 mH(e){for(var t=e.return;t!==null;){if(P4(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 P4(e){return e.tag===w||e.tag===b||e.tag===S}function I4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||P4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==de;){if(t.flags&Za||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Za))return t.stateNode}}function vH(e){var t=mH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&bp&&(zC(n),t.flags&=~bp);var i=I4(e);f0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=I4(e);u0(e,d,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function u0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?P9(n,d,t):O9(n,d)}else if(i!==S){var g=e.child;if(g!==null){u0(g,t,n);for(var y=g.sibling;y!==null;)u0(y,t,n),y=y.sibling}}}function f0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?M9(n,d,t):N9(n,d)}else if(i!==S){var g=e.child;if(g!==null){f0(g,t,n);for(var y=g.sibling;y!==null;)f0(y,t,n),y=y.sibling}}}var Ln=null,Kl=!1;function gH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Ln=i.stateNode,Kl=!1;break e}case b:{Ln=i.stateNode.containerInfo,Kl=!0;break e}case S:{Ln=i.stateNode.containerInfo,Kl=!0;break e}}i=i.return}if(Ln===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");z4(e,t,n),Ln=null,Kl=!1}hH(n)}function Kc(e,t,n){for(var i=n.child;i!==null;)z4(e,t,i),i=i.sibling}function z4(e,t,n){switch(_I(n),n.tag){case w:An||wd(n,t);case k:{{var i=Ln,c=Kl;Ln=null,Kc(e,t,n),Ln=i,Kl=c,Ln!==null&&(Kl?z9(Ln,n.stateNode):I9(Ln,n.stateNode))}return}case de:{Ln!==null&&(Kl?B9(Ln,n.stateNode):wy(Ln,n.stateNode));return}case S:{{var d=Ln,g=Kl;Ln=n.stateNode.containerInfo,Kl=!0,Kc(e,t,n),Ln=d,Kl=g}return}case p:case j:case M:case te:{if(!An){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,L=E;do{var Z=L,J=Z.destroy,ye=Z.tag;J!==void 0&&((ye&gs)!==wo?vg(n,t,J):(ye&on)!==wo&&(y3(n),n.mode&Jr?(Ss(),vg(n,t,J),ys(n)):vg(n,t,J),S3())),L=L.next}while(L!==E)}}}Kc(e,t,n);return}case m:{if(!An){wd(n,t);var Se=n.stateNode;typeof Se.componentWillUnmount=="function"&&c0(n,t,Se)}Kc(e,t,n);return}case ve:{Kc(e,t,n);return}case H:{if(n.mode&yr){var ke=An;An=ke||n.memoizedState!==null,Kc(e,t,n),An=ke}else Kc(e,t,n);break}default:{Kc(e,t,n);return}}}function _H(e){var t=e.memoizedState}function bH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var c=i.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&aF(d)}}}}function B4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rH),t.forEach(function(i){var c=yU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Fl)if(yd!==null&&Sd!==null)Bh(Sd,yd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function yH(e,t,n){yd=n,Sd=e,ka(t),F4(t,e),ka(t),yd=null,Sd=null}function Xl(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{gH(e,t,d)}catch(C){ua(d,t,C)}}var g=$_();if(t.subtreeFlags&gb)for(var y=t.child;y!==null;)ka(y),F4(y,e),y=y.sibling;ka(g)}function F4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case M:case te:{if(Xl(t,e),ws(e),c&Er){try{Gl(gs|nn,e,e.return),Gc(gs|nn,e)}catch(Ut){ua(e,e.return,Ut)}if(e.mode&Jr){try{Ss(),Gl(on|nn,e,e.return)}catch(Ut){ua(e,e.return,Ut)}ys(e)}else try{Gl(on|nn,e,e.return)}catch(Ut){ua(e,e.return,Ut)}}return}case m:{Xl(t,e),ws(e),c&Lc&&i!==null&&wd(i,i.return);return}case w:{Xl(t,e),ws(e),c&Lc&&i!==null&&wd(i,i.return);{if(e.flags&bp){var d=e.stateNode;try{zC(d)}catch(Ut){ua(e,e.return,Ut)}}if(c&Er){var g=e.stateNode;if(g!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,L=e.updateQueue;if(e.updateQueue=null,L!==null)try{A9(g,L,E,C,y,e)}catch(Ut){ua(e,e.return,Ut)}}}}return}case k:{if(Xl(t,e),ws(e),c&Er){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,J=e.memoizedProps,ye=i!==null?i.memoizedProps:J;try{L9(Z,ye,J)}catch(Ut){ua(e,e.return,Ut)}}return}case b:{if(Xl(t,e),ws(e),c&Er&&i!==null){var Se=i.memoizedState;if(Se.isDehydrated)try{rF(t.containerInfo)}catch(Ut){ua(e,e.return,Ut)}}return}case S:{Xl(t,e),ws(e);return}case Q:{Xl(t,e),ws(e);var ke=e.child;if(ke.flags&Tu){var rt=ke.stateNode,Rt=ke.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var hr=ke.alternate!==null&&ke.alternate.memoizedState!==null;hr||oU()}}if(c&Er){try{_H(e)}catch(Ut){ua(e,e.return,Ut)}B4(e)}return}case H:{var mr=i!==null&&i.memoizedState!==null;if(e.mode&yr){var ce=An;An=ce||mr,Xl(t,e),An=ce}else Xl(t,e);if(ws(e),c&Tu){var De=e.stateNode,ue=e.memoizedState,Ye=ue!==null,ut=e;if(De.isHidden=Ye,Ye&&!mr&&(ut.mode&yr)!==Mt){gt=ut;for(var at=ut.child;at!==null;)gt=at,wH(at),at=at.sibling}pH(ut,Ye)}return}case pe:{Xl(t,e),ws(e),c&Er&&B4(e);return}case ve:return;default:{Xl(t,e),ws(e);return}}}function ws(e){var t=e.flags;if(t&Za){try{vH(e)}catch(n){ua(e,e.return,n)}e.flags&=~Za}t&Vs&&(e.flags&=~Vs)}function SH(e,t,n){yd=n,Sd=t,gt=e,j4(e,t,n),yd=null,Sd=null}function j4(e,t,n){for(var i=(e.mode&yr)!==Mt;gt!==null;){var c=gt,d=c.child;if(c.tag===H&&i){var g=c.memoizedState!==null,y=g||mg;if(y){d0(e,t,n);continue}else{var C=c.alternate,E=C!==null&&C.memoizedState!==null,L=E||An,Z=mg,J=An;mg=y,An=L,An&&!J&&(gt=c,CH(c));for(var ye=d;ye!==null;)gt=ye,j4(ye,t,n),ye=ye.sibling;gt=c,mg=Z,An=J,d0(e,t,n);continue}}(c.subtreeFlags&Sp)!==Bt&&d!==null?(d.return=c,gt=d):d0(e,t,n)}}function d0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&Sp)!==Bt){var c=i.alternate;ka(i);try{fH(t,c,i,n)}catch(g){ua(i,i.return,g)}gn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function wH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case j:case M:case te:{if(t.mode&Jr)try{Ss(),Gl(on,t,t.return)}finally{ys(t)}else Gl(on,t,t.return);break}case m:{wd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&c0(t,t.return,i);break}case w:{wd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){H4(e);continue}break}}n!==null?(n.return=t,gt=n):H4(e)}}function H4(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function CH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){U4(e);continue}}n!==null?(n.return=t,gt=n):U4(e)}}function U4(e){for(;gt!==null;){var t=gt;ka(t);try{dH(t)}catch(i){ua(t,t.return,i)}if(gn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function xH(e,t,n,i){gt=t,kH(t,e,n,i)}function kH(e,t,n,i){for(;gt!==null;){var c=gt,d=c.child;(c.subtreeFlags&Vf)!==Bt&&d!==null?(d.return=c,gt=d):TH(e,t,n,i)}}function TH(e,t,n,i){for(;gt!==null;){var c=gt;if((c.flags&Bl)!==Bt){ka(c);try{EH(t,c,n,i)}catch(g){ua(c,c.return,g)}gn()}if(c===e){gt=null;return}var d=c.sibling;if(d!==null){d.return=c.return,gt=d;return}gt=c.return}}function EH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Jr){L1();try{Gc(Rn|nn,t)}finally{A1(t)}}else Gc(Rn|nn,t);break}}}function RH(e){gt=e,DH()}function DH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&xu)!==Bt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];gt=c,NH(c,e)}{var d=e.alternate;if(d!==null){var g=d.child;if(g!==null){d.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(g!==null)}}}gt=e}}(e.subtreeFlags&Vf)!==Bt&&t!==null?(t.return=e,gt=t):AH()}}function AH(){for(;gt!==null;){var e=gt;(e.flags&Bl)!==Bt&&(ka(e),LH(e),gn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function LH(e){switch(e.tag){case p:case j:case te:{e.mode&Jr?(L1(),Gl(Rn|nn,e,e.return),A1(e)):Gl(Rn|nn,e,e.return);break}}}function NH(e,t){for(;gt!==null;){var n=gt;ka(n),MH(n,t),gn();var i=n.child;i!==null?(i.return=n,gt=i):OH(e)}}function OH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(M4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function MH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Jr?(L1(),Gl(Rn,e,t),A1(e)):Gl(Rn,e,t);break}}}function PH(e){switch(e.tag){case p:case j:case te:{try{Gc(on|nn,e)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ua(e,e.return,n)}break}}}function IH(e){switch(e.tag){case p:case j:case te:{try{Gc(Rn|nn,e)}catch(t){ua(e,e.return,t)}break}}}function zH(e){switch(e.tag){case p:case j:case te:{try{Gl(on|nn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&c0(e,e.return,t);break}}}function BH(e){switch(e.tag){case p:case j:case te:try{Gl(Rn|nn,e,e.return)}catch(t){ua(e,e.return,t)}}}var FH=0,jH=1,HH=2,UH=3,VH=4;if(typeof Symbol=="function"&&Symbol.for){var Eh=Symbol.for;FH=Eh("selector.component"),jH=Eh("selector.has_pseudo_class"),HH=Eh("selector.role"),UH=Eh("selector.test_id"),VH=Eh("selector.text")}var WH=[];function qH(){WH.forEach(function(e){return e()})}var YH=o.ReactCurrentActQueue;function $H(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function V4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&YH.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var GH=Math.ceil,p0=o.ReactCurrentDispatcher,h0=o.ReactCurrentOwner,Nn=o.ReactCurrentBatchConfig,Ql=o.ReactCurrentActQueue,cn=0,W4=1,On=2,xl=4,rc=0,Rh=1,Gu=2,gg=3,Dh=4,q4=5,m0=6,Sr=cn,Qn=null,La=null,un=Ie,Cs=Ie,v0=Fc(Ie),fn=rc,Ah=null,g0=Ie,_g=Ie,Lh=Ie,bg=Ie,Nh=null,Co=null,_0=0,Y4=500,$4=1/0,KH=500,ac=null;function Oh(){$4=_n()+KH}function G4(){return $4}var yg=!1,b0=null,Cd=null,Ku=!1,Xc=null,Mh=Ie,y0=[],S0=null,XH=50,Ph=0,w0=null,C0=!1,Sg=!1,QH=50,xd=0,wg=null,Ih=va,Cg=Ie,K4=!1;function xg(){return Qn}function Jn(){return(Sr&(On|xl))!==cn?_n():(Ih!==va||(Ih=_n()),Ih)}function Qc(e){var t=e.mode;if((t&yr)===Mt)return qt;if((Sr&On)!==cn&&un!==Ie)return Rp(un);var n=HF()!==jF;if(n){if(Nn.transition!==null){var i=Nn.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Cg===yn&&(Cg=D3()),Cg}var c=jl();if(c!==yn)return c;var d=k9();return d}function JH(e){var t=e.mode;return(t&yr)===Mt?qt:KI()}function dn(e,t,n,i){wU(),K4&&u("useInsertionEffect must not schedule updates."),C0&&(Sg=!0),Dp(e,n,i),(Sr&On)!==Ie&&e===Qn?kU(t):(Fl&&N3(e,t,n),TU(t),e===Qn&&((Sr&On)===cn&&(Lh=lr(Lh,n)),fn===Dh&&Jc(e,un)),xo(e,i),n===qt&&Sr===cn&&(t.mode&yr)===Mt&&!Ql.isBatchingLegacy&&(Oh(),GC()))}function ZH(e,t,n){var i=e.current;i.lanes=t,Dp(e,t,n),xo(e,n)}function eU(e){return(Sr&On)!==cn}function xo(e,t){var n=e.callbackNode;VI(e,t);var i=qm(e,e===Qn?un:Ie);if(i===Ie){n!==null&&fk(n),e.callbackNode=null,e.callbackPriority=yn;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Ql.current!==null&&n!==A0)){n==null&&d!==qt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&fk(n);var g;if(c===qt)e.tag===jc?(Ql.isBatchingLegacy!==null&&(Ql.didScheduleLegacyUpdate=!0),CF(J4.bind(null,e))):$C(J4.bind(null,e)),Ql.current!==null?Ql.current.push(Hc):E9(function(){(Sr&(On|xl))===cn&&Hc()}),g=null;else{var y;switch(P3(i)){case Bo:y=Hm;break;case $s:y=_b;break;case Gs:y=Du;break;case Gm:y=bb;break;default:y=Du;break}g=L0(y,X4.bind(null,e))}e.callbackPriority=c,e.callbackNode=g}function X4(e,t){if(pj(),Ih=va,Cg=Ie,(Sr&(On|xl))!==cn)throw new Error("Should not already be working.");var n=e.callbackNode,i=oc();if(i&&e.callbackNode!==n)return null;var c=qm(e,e===Qn?un:Ie);if(c===Ie)return null;var d=!Ym(e,c)&&!GI(e,c)&&!t,g=d?uU(e,c):Tg(e,c);if(g!==rc){if(g===Gu){var y=Hb(e);y!==Ie&&(c=y,g=x0(e,y))}if(g===Rh){var C=Ah;throw Xu(e,Ie),Jc(e,c),xo(e,_n()),C}if(g===m0)Jc(e,c);else{var E=!Ym(e,c),L=e.current.alternate;if(E&&!rU(L)){if(g=Tg(e,c),g===Gu){var Z=Hb(e);Z!==Ie&&(c=Z,g=x0(e,Z))}if(g===Rh){var J=Ah;throw Xu(e,Ie),Jc(e,c),xo(e,_n()),J}}e.finishedWork=L,e.finishedLanes=c,tU(e,g,c)}}return xo(e,_n()),e.callbackNode===n?X4.bind(null,e):null}function x0(e,t){var n=Nh;if(Km(e)){var i=Xu(e,t);i.flags|=Us,vF(e.containerInfo)}var c=Tg(e,t);if(c!==Gu){var d=Co;Co=n,d!==null&&Q4(d)}return c}function Q4(e){Co===null?Co=e:Co.push.apply(Co,e)}function tU(e,t,n){switch(t){case rc:case Rh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,Co,ac);break}case gg:{if(Jc(e,n),E3(n)&&!dk()){var i=_0+Y4-_n();if(i>10){var c=qm(e,Ie);if(c!==Ie)break;var d=e.suspendedLanes;if(!Gf(d,n)){var g=Jn();L3(e,d);break}e.timeoutHandle=yy(Qu.bind(null,e,Co,ac),i);break}}Qu(e,Co,ac);break}case Dh:{if(Jc(e,n),$I(n))break;if(!dk()){var y=HI(e,n),C=y,E=_n()-C,L=SU(E)-E;if(L>10){e.timeoutHandle=yy(Qu.bind(null,e,Co,ac),L);break}}Qu(e,Co,ac);break}case q4:{Qu(e,Co,ac);break}default:throw new Error("Unknown root exit status.")}}function rU(e){for(var t=e;;){if(t.flags&Fm){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c],g=d.getSnapshot,y=d.value;try{if(!jo(g(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Fm&&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 Jc(e,t){t=$m(t,bg),t=$m(t,Lh),QI(e,t)}function J4(e){if(hj(),(Sr&(On|xl))!==cn)throw new Error("Should not already be working.");oc();var t=qm(e,Ie);if(!zo(t,qt))return xo(e,_n()),null;var n=Tg(e,t);if(e.tag!==jc&&n===Gu){var i=Hb(e);i!==Ie&&(t=i,n=x0(e,i))}if(n===Rh){var c=Ah;throw Xu(e,Ie),Jc(e,t),xo(e,_n()),c}if(n===m0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Qu(e,Co,ac),xo(e,_n()),null}function aU(e,t){t!==Ie&&(qb(e,lr(t,qt)),xo(e,_n()),(Sr&(On|xl))===cn&&(Oh(),Hc()))}function k0(e,t){var n=Sr;Sr|=W4;try{return e(t)}finally{Sr=n,Sr===cn&&!Ql.isBatchingLegacy&&(Oh(),GC())}}function nU(e,t,n,i,c){var d=jl(),g=Nn.transition;try{return Nn.transition=null,Sn(Bo),e(t,n,i,c)}finally{Sn(d),Nn.transition=g,Sr===cn&&Oh()}}function nc(e){Xc!==null&&Xc.tag===jc&&(Sr&(On|xl))===cn&&oc();var t=Sr;Sr|=W4;var n=Nn.transition,i=jl();try{return Nn.transition=null,Sn(Bo),e?e():void 0}finally{Sn(i),Nn.transition=n,Sr=t,(Sr&(On|xl))===cn&&Hc()}}function Z4(){return(Sr&(On|xl))!==cn}function kg(e,t){Fn(v0,Cs,e),Cs=lr(Cs,t),g0=lr(g0,t)}function T0(e){Cs=v0.current,Bn(v0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=Ie;var n=e.timeoutHandle;if(n!==Sy&&(e.timeoutHandle=Sy,T9(n)),La!==null)for(var i=La.return;i!==null;){var c=i.alternate;E4(c,i),i=i.return}Qn=e;var d=Ju(e.current,null);return La=d,un=Cs=g0=t,fn=rc,Ah=null,_g=Ie,Lh=Ie,bg=Ie,Nh=null,Co=null,GF(),Vl.discardPendingWarnings(),d}function ek(e,t){do{var n=La;try{if(Pv(),Cx(),gn(),h0.current=null,n===null||n.return===null){fn=Rh,Ah=t,La=null;return}if(tt&&n.mode&Jr&&ug(n,!0),Ke)if(Wf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;DI(n,i,un)}else RI(n,t,un);Cj(e,n.return,n,t,un),nk(n)}catch(c){t=c,La===n&&n!==null?(n=n.return,La=n):n=La;continue}return}while(!0)}function tk(){var e=p0.current;return p0.current=og,e===null?og:e}function rk(e){p0.current=e}function oU(){_0=_n()}function zh(e){_g=lr(e,_g)}function iU(){fn===rc&&(fn=gg)}function E0(){(fn===rc||fn===gg||fn===Gu)&&(fn=Dh),Qn!==null&&(Ub(_g)||Ub(Lh))&&Jc(Qn,un)}function lU(e){fn!==Dh&&(fn=Gu),Nh===null?Nh=[e]:Nh.push(e)}function sU(){return fn===rc}function Tg(e,t){var n=Sr;Sr|=On;var i=tk();if(Qn!==e||un!==t){if(Fl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),O3(e,t)}ac=M3(),Xu(e,t)}w3(t);do try{cU();break}catch(d){ek(e,d)}while(!0);if(Pv(),Sr=n,rk(i),La!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return C3(),Qn=null,un=Ie,fn}function cU(){for(;La!==null;)ak(La)}function uU(e,t){var n=Sr;Sr|=On;var i=tk();if(Qn!==e||un!==t){if(Fl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),O3(e,t)}ac=M3(),Oh(),Xu(e,t)}w3(t);do try{fU();break}catch(d){ek(e,d)}while(!0);return Pv(),rk(i),Sr=n,La!==null?(MI(),rc):(C3(),Qn=null,un=Ie,fn)}function fU(){for(;La!==null&&!sI();)ak(La)}function ak(e){var t=e.alternate;ka(e);var n;(e.mode&Jr)!==Mt?(D1(e),n=R0(t,e,Cs),ug(e,!0)):n=R0(t,e,Cs),gn(),e.memoizedProps=e.pendingProps,n===null?nk(e):La=n,h0.current=null}function nk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&yp)===Bt){ka(t);var c=void 0;if((t.mode&Jr)===Mt?c=T4(n,t,Cs):(D1(t),c=T4(n,t,Cs),ug(t,!1)),gn(),c!==null){La=c;return}}else{var d=tH(n,t);if(d!==null){d.flags&=rI,La=d;return}if((t.mode&Jr)!==Mt){ug(t,!1);for(var g=t.actualDuration,y=t.child;y!==null;)g+=y.actualDuration,y=y.sibling;t.actualDuration=g}if(i!==null)i.flags|=yp,i.subtreeFlags=Bt,i.deletions=null;else{fn=m0,La=null;return}}var C=t.sibling;if(C!==null){La=C;return}t=i,La=t}while(t!==null);fn===rc&&(fn=q4)}function Qu(e,t,n){var i=jl(),c=Nn.transition;try{Nn.transition=null,Sn(Bo),dU(e,t,n,i)}finally{Nn.transition=c,Sn(i)}return null}function dU(e,t,n,i){do oc();while(Xc!==null);if(CU(),(Sr&(On|xl))!==cn)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(SI(d),c===null)return b3(),null;if(d===Ie&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ie,c===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=yn;var g=lr(c.lanes,c.childLanes);JI(e,g),e===Qn&&(Qn=null,La=null,un=Ie),((c.subtreeFlags&Vf)!==Bt||(c.flags&Vf)!==Bt)&&(Ku||(Ku=!0,S0=n,L0(Du,function(){return oc(),null})));var y=(c.subtreeFlags&(vb|gb|Sp|Vf))!==Bt,C=(c.flags&(vb|gb|Sp|Vf))!==Bt;if(y||C){var E=Nn.transition;Nn.transition=null;var L=jl();Sn(Bo);var Z=Sr;Sr|=xl,h0.current=null;var J=iH(e,c);Gx(),yH(e,c,d),b9(e.containerInfo),e.current=c,AI(d),SH(c,e,d),LI(),cI(),Sr=Z,Sn(L),Nn.transition=E}else e.current=c,Gx();var ye=Ku;if(Ku?(Ku=!1,Xc=e,Mh=d):(xd=0,wg=null),g=e.pendingLanes,g===Ie&&(Cd=null),ye||sk(e.current,!1),vI(c.stateNode,i),Fl&&e.memoizedUpdaters.clear(),qH(),xo(e,_n()),t!==null)for(var Se=e.onRecoverableError,ke=0;ke<t.length;ke++){var rt=t[ke],Rt=rt.stack,St=rt.digest;Se(rt.value,{componentStack:Rt,digest:St})}if(yg){yg=!1;var hr=b0;throw b0=null,hr}return zo(Mh,qt)&&e.tag!==jc&&oc(),g=e.pendingLanes,zo(g,qt)?(dj(),e===w0?Ph++:(Ph=0,w0=e)):Ph=0,Hc(),b3(),null}function oc(){if(Xc!==null){var e=P3(Mh),t=rz(Gs,e),n=Nn.transition,i=jl();try{return Nn.transition=null,Sn(t),hU()}finally{Sn(i),Nn.transition=n}}return!1}function pU(e){y0.push(e),Ku||(Ku=!0,L0(Du,function(){return oc(),null}))}function hU(){if(Xc===null)return!1;var e=S0;S0=null;var t=Xc,n=Mh;if(Xc=null,Mh=Ie,(Sr&(On|xl))!==cn)throw new Error("Cannot flush passive effects while already rendering.");C0=!0,Sg=!1,NI(n);var i=Sr;Sr|=xl,RH(t.current),xH(t,t.current,n,e);{var c=y0;y0=[];for(var d=0;d<c.length;d++){var g=c[d];uH(t,g)}}OI(),sk(t.current,!0),Sr=i,Hc(),Sg?t===wg?xd++:(xd=0,wg=t):xd=0,C0=!1,Sg=!1,gI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ok(e){return Cd!==null&&Cd.has(e)}function mU(e){Cd===null?Cd=new Set([e]):Cd.add(e)}function vU(e){yg||(yg=!0,b0=e)}var gU=vU;function ik(e,t,n){var i=Yu(n,t),c=r4(e,i,qt),d=Vc(e,c,qt),g=Jn();d!==null&&(Dp(d,qt,g),xo(d,g))}function ua(e,t,n){if(aH(n),Fh(!1),e.tag===b){ik(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){ik(i,e,n);return}else if(i.tag===m){var c=i.type,d=i.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ok(d)){var g=Yu(n,e),y=$1(i,g,qt),C=Vc(i,y,qt),E=Jn();C!==null&&(Dp(C,qt,E),xo(C,E));return}}i=i.return}u(`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 _U(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Qn();L3(e,n),EU(e),Xn===e&&Gf(un,n)&&(fn===Dh||fn===gg&&E3(un)&&_n()-_0<Y4?Xu(e,Ie):bg=ir(bg,n)),Co(e,c)}function lk(e,t){t===yn&&(t=JH(e));var n=Qn(),i=yo(e,t);i!==null&&(Dp(i,t,n),Co(i,n))}function bU(e){var t=e.memoizedState,n=yn;t!==null&&(n=t.retryLane),lk(e,n)}function yU(e,t){var n=yn,i;switch(e.tag){case Z:i=e.stateNode;var c=e.memoizedState;c!==null&&(n=c.retryLane);break;case be: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),lk(e,n)}function SU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:GH(e/1960)*1960}function wU(){if(Ph>XH)throw Ph=0,w0=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.");xd>QH&&(xd=0,wg=null,u("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 CU(){Vl.flushLegacyContextWarning(),Vl.flushPendingUnsafeLifecycleWarnings()}function sk(e,t){xa(e),Eg(e,Ws,zH),t&&Eg(e,jm,BH),Eg(e,Ws,PH),t&&Eg(e,jm,IH),gn()}function Eg(e,t,n){for(var i=e,c=null;i!==null;){var d=i.subtreeFlags&t;i!==c&&i.child!==null&&d!==zt?i=i.child:((i.flags&t)!==zt&&n(i),i.sibling!==null?i=i.sibling:i=c=i.return)}}var Rg=null;function ck(e){{if((Sr&Nn)!==cn||!(e.mode&yr))return;var t=e.tag;if(t!==_&&t!==b&&t!==m&&t!==p&&t!==H&&t!==O&&t!==ae)return;var n=rr(e)||"ReactComponent";if(Rg!==null){if(Rg.has(n))return;Rg.add(n)}else Rg=new Set([n]);var i=In;try{xa(e),u("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?xa(e):gn()}}}var R0;{var xU=null;R0=function(e,t,n){var i=gk(xU,t);try{return S4(e,t,n)}catch(d){if(LF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Pv(),Cx(),E4(e,t),gk(t,i),t.mode&Xr&&Dy(t),ub(null,S4,null,e,t,n),JP()){var c=fb();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var uk=!1,D0;D0=new Set;function kU(e){if(Rc&&!cj())switch(e.tag){case p:case H:case ae:{var t=Aa&&rr(Aa)||"Unknown",n=t;if(!D0.has(n)){D0.add(n);var i=rr(e)||"Unknown";u("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 m:{uk||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),uk=!0);break}}}function Bh(e,t){if(Fl){var n=e.memoizedUpdaters;n.forEach(function(i){N3(e,i,t)})}}var A0={};function L0(e,t){{var n=Ql.current;return n!==null?(n.push(t),A0):_3(e,t)}}function fk(e){if(e!==A0)return lI(e)}function dk(){return Ql.current!==null}function TU(e){{if(e.mode&yr){if(!V4())return}else if(!$H()||Sr!==cn||e.tag!==p&&e.tag!==H&&e.tag!==ae)return;if(Ql.current===null){var t=In;try{xa(e),u(`An update to %s inside a test was not wrapped in act(...).
119
+ %s`,n)}function _U(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Jn();L3(e,n),EU(e),Qn===e&&Gf(un,n)&&(fn===Dh||fn===gg&&E3(un)&&_n()-_0<Y4?Xu(e,Ie):bg=lr(bg,n)),xo(e,c)}function lk(e,t){t===yn&&(t=JH(e));var n=Jn(),i=So(e,t);i!==null&&(Dp(i,t,n),xo(i,n))}function bU(e){var t=e.memoizedState,n=yn;t!==null&&(n=t.retryLane),lk(e,n)}function yU(e,t){var n=yn,i;switch(e.tag){case Q:i=e.stateNode;var c=e.memoizedState;c!==null&&(n=c.retryLane);break;case pe: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),lk(e,n)}function SU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:GH(e/1960)*1960}function wU(){if(Ph>XH)throw Ph=0,w0=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.");xd>QH&&(xd=0,wg=null,u("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 CU(){Vl.flushLegacyContextWarning(),Vl.flushPendingUnsafeLifecycleWarnings()}function sk(e,t){ka(e),Eg(e,Ws,zH),t&&Eg(e,jm,BH),Eg(e,Ws,PH),t&&Eg(e,jm,IH),gn()}function Eg(e,t,n){for(var i=e,c=null;i!==null;){var d=i.subtreeFlags&t;i!==c&&i.child!==null&&d!==Bt?i=i.child:((i.flags&t)!==Bt&&n(i),i.sibling!==null?i=i.sibling:i=c=i.return)}}var Rg=null;function ck(e){{if((Sr&On)!==cn||!(e.mode&yr))return;var t=e.tag;if(t!==_&&t!==b&&t!==m&&t!==p&&t!==j&&t!==M&&t!==te)return;var n=ar(e)||"ReactComponent";if(Rg!==null){if(Rg.has(n))return;Rg.add(n)}else Rg=new Set([n]);var i=zn;try{ka(e),u("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?ka(e):gn()}}}var R0;{var xU=null;R0=function(e,t,n){var i=gk(xU,t);try{return S4(e,t,n)}catch(d){if(LF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Pv(),Cx(),E4(e,t),gk(t,i),t.mode&Jr&&D1(t),ub(null,S4,null,e,t,n),JP()){var c=fb();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var uk=!1,D0;D0=new Set;function kU(e){if(Rc&&!cj())switch(e.tag){case p:case j:case te:{var t=La&&ar(La)||"Unknown",n=t;if(!D0.has(n)){D0.add(n);var i=ar(e)||"Unknown";u("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 m:{uk||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),uk=!0);break}}}function Bh(e,t){if(Fl){var n=e.memoizedUpdaters;n.forEach(function(i){N3(e,i,t)})}}var A0={};function L0(e,t){{var n=Ql.current;return n!==null?(n.push(t),A0):_3(e,t)}}function fk(e){if(e!==A0)return lI(e)}function dk(){return Ql.current!==null}function TU(e){{if(e.mode&yr){if(!V4())return}else if(!$H()||Sr!==cn||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Ql.current===null){var t=zn;try{ka(e),u(`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
 
@@ -125,7 +125,7 @@ act(() => {
125
125
  });
126
126
  /* assert on the output */
127
127
 
128
- 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`,rr(e))}finally{t?xa(e):gn()}}}}function EU(e){e.tag!==jc&&V4()&&Ql.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
128
+ 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`,ar(e))}finally{t?ka(e):gn()}}}}function EU(e){e.tag!==jc&&V4()&&Ql.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
129
129
 
130
130
  When testing, code that resolves suspended data should be wrapped into act(...):
131
131
 
@@ -134,37 +134,37 @@ 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 Fh(e){K4=e}var kl=null,kd=null,RU=function(e){kl=e};function Td(e){{if(kl===null)return e;var t=kl(e);return t===void 0?e:t.current}}function N0(e){return Td(e)}function O0(e){{if(kl===null)return e;var t=kl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Td(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function pk(e,t){{if(kl===null)return!1;var n=e.elementType,i=t.type,c=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(c=!0);break}case p:{(typeof i=="function"||d===Ze)&&(c=!0);break}case H:{(d===pe||d===Ze)&&(c=!0);break}case O:case ae:{(d===ft||d===Ze)&&(c=!0);break}default:return!1}if(c){var g=kl(n);if(g!==void 0&&g===kl(i))return!0}return!1}}function hk(e){{if(kl===null||typeof WeakSet!="function")return;kd===null&&(kd=new WeakSet),kd.add(e)}}var DU=function(e,t){{if(kl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;oc(),nc(function(){M0(e.current,i,n)})}},AU=function(e,t){{if(e.context!==Ho)return;oc(),nc(function(){jh(t,e,null,null)})}};function M0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,g=e.tag,y=e.type,C=null;switch(g){case p:case ae:case m:C=y;break;case H:C=y.render;break}if(kl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,L=!1;if(C!==null){var J=kl(C);J!==void 0&&(n.has(J)?L=!0:t.has(J)&&(g===m?L=!0:E=!0))}if(kd!==null&&(kd.has(e)||i!==null&&kd.has(i))&&(L=!0),L&&(e._debugNeedsRemount=!0),L||E){var Q=yo(e,qt);Q!==null&&dn(Q,e,qt,ma)}c!==null&&!L&&M0(c,t,n),d!==null&&M0(d,t,n)}}var LU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return P0(e.current,i,n),n}};function P0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,g=e.type,y=null;switch(d){case p:case ae:case m:y=g;break;case H:y=g.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?NU(e,n):i!==null&&P0(i,t,n),c!==null&&P0(c,t,n)}}function NU(e,t){{var n=OU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function OU(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 I0;{I0=!1;try{var mk=Object.preventExtensions({})}catch(e){I0=!0}}function MU(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=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=Ie,this.childLanes=Ie,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,!I0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Uo=function(e,t,n,i){return new MU(e,t,n,i)};function z0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function PU(e){return typeof e=="function"&&!z0(e)&&e.defaultProps===void 0}function IU(e){if(typeof e=="function")return z0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return H;if(t===ft)return O}return _}function Ju(e,t){var n=e.alternate;n===null?(n=Uo(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=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&qs,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 _:case p:case ae:n.type=Td(e.type);break;case m:n.type=N0(e.type);break;case H:n.type=O0(e.type);break}return n}function zU(e,t){e.flags&=qs|Za;var n=e.alternate;if(n===null)e.childLanes=Ie,e.lanes=t,e.child=null,e.subtreeFlags=zt,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=zt,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 BU(e,t,n){var i;return e===kv?(i=yr,t===!0&&(i|=Pa,i|=ps)):i=Mt,Fl&&(i|=Xr),Uo(b,null,null,i)}function B0(e,t,n,i,c,d){var g=_,y=e;if(typeof e=="function")z0(e)?(g=m,y=N0(y)):y=Td(y);else if(typeof e=="string")g=w;else e:switch(e){case ce:return Zc(n.children,c,d,t);case Ve:g=N,c|=Pa,(c&yr)!==Mt&&(c|=ps);break;case Be:return FU(n,c,d,t);case Te:return jU(n,c,d,t);case He:return HU(n,c,d,t);case Et:return vk(n,c,d,t);case Wt:case Ke:case Gr:case qa:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:g=M;break e;case q:g=Y;break e;case pe:g=H,y=O0(y);break e;case ft:g=O;break e;case Ze:g=_e,y=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 E=i?rr(i):null;E&&(C+=`
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 Fh(e){K4=e}var kl=null,kd=null,RU=function(e){kl=e};function Td(e){{if(kl===null)return e;var t=kl(e);return t===void 0?e:t.current}}function N0(e){return Td(e)}function O0(e){{if(kl===null)return e;var t=kl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Td(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 pk(e,t){{if(kl===null)return!1;var n=e.elementType,i=t.type,c=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(c=!0);break}case p:{(typeof i=="function"||d===Ze)&&(c=!0);break}case j:{(d===me||d===Ze)&&(c=!0);break}case M:case te:{(d===ft||d===Ze)&&(c=!0);break}default:return!1}if(c){var g=kl(n);if(g!==void 0&&g===kl(i))return!0}return!1}}function hk(e){{if(kl===null||typeof WeakSet!="function")return;kd===null&&(kd=new WeakSet),kd.add(e)}}var DU=function(e,t){{if(kl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;oc(),nc(function(){M0(e.current,i,n)})}},AU=function(e,t){{if(e.context!==Ho)return;oc(),nc(function(){jh(t,e,null,null)})}};function M0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,g=e.tag,y=e.type,C=null;switch(g){case p:case te:case m:C=y;break;case j:C=y.render;break}if(kl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,L=!1;if(C!==null){var Z=kl(C);Z!==void 0&&(n.has(Z)?L=!0:t.has(Z)&&(g===m?L=!0:E=!0))}if(kd!==null&&(kd.has(e)||i!==null&&kd.has(i))&&(L=!0),L&&(e._debugNeedsRemount=!0),L||E){var J=So(e,qt);J!==null&&dn(J,e,qt,va)}c!==null&&!L&&M0(c,t,n),d!==null&&M0(d,t,n)}}var LU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return P0(e.current,i,n),n}};function P0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,g=e.type,y=null;switch(d){case p:case te:case m:y=g;break;case j:y=g.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?NU(e,n):i!==null&&P0(i,t,n),c!==null&&P0(c,t,n)}}function NU(e,t){{var n=OU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function OU(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 I0;{I0=!1;try{var mk=Object.preventExtensions({})}catch(e){I0=!0}}function MU(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=Bt,this.subtreeFlags=Bt,this.deletions=null,this.lanes=Ie,this.childLanes=Ie,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,!I0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Uo=function(e,t,n,i){return new MU(e,t,n,i)};function z0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function PU(e){return typeof e=="function"&&!z0(e)&&e.defaultProps===void 0}function IU(e){if(typeof e=="function")return z0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===me)return j;if(t===ft)return M}return _}function Ju(e,t){var n=e.alternate;n===null?(n=Uo(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=Bt,n.subtreeFlags=Bt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&qs,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 _:case p:case te:n.type=Td(e.type);break;case m:n.type=N0(e.type);break;case j:n.type=O0(e.type);break}return n}function zU(e,t){e.flags&=qs|Za;var n=e.alternate;if(n===null)e.childLanes=Ie,e.lanes=t,e.child=null,e.subtreeFlags=Bt,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=Bt,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 BU(e,t,n){var i;return e===kv?(i=yr,t===!0&&(i|=za,i|=ps)):i=Mt,Fl&&(i|=Jr),Uo(b,null,null,i)}function B0(e,t,n,i,c,d){var g=_,y=e;if(typeof e=="function")z0(e)?(g=m,y=N0(y)):y=Td(y);else if(typeof e=="string")g=w;else e:switch(e){case se:return Zc(n.children,c,d,t);case Ve:g=N,c|=za,(c&yr)!==Mt&&(c|=ps);break;case Be:return FU(n,c,d,t);case Te:return jU(n,c,d,t);case He:return HU(n,c,d,t);case Tt:return vk(n,c,d,t);case Wt:case Xe:case Xr:case qa:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case A:g=O;break e;case Y:g=W;break e;case me:g=j,y=O0(y);break e;case ft:g=M;break e;case Ze:g=_e,y=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 E=i?ar(i):null;E&&(C+=`
138
138
 
139
- Check the render method of \``+E+"`.")}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 L=Uo(g,n,t,c);return L.elementType=e,L.type=y,L.lanes=d,L._debugOwner=i,L}function F0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,g=e.props,y=B0(c,d,g,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Zc(e,t,n,i){var c=Uo(A,e,i,t);return c.lanes=n,c}function FU(e,t,n,i){typeof e.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=Uo(F,e,i,t|Xr);return c.elementType=Be,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function jU(e,t,n,i){var c=Uo(Z,e,i,t);return c.elementType=Te,c.lanes=n,c}function HU(e,t,n,i){var c=Uo(be,e,i,t);return c.elementType=He,c.lanes=n,c}function vk(e,t,n,i){var c=Uo(j,e,i,t);c.elementType=Et,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function j0(e,t,n){var i=Uo(k,e,null,t);return i.lanes=n,i}function UU(){var e=Uo(w,null,null,Mt);return e.elementType="DELETED",e}function VU(e){var t=Uo(ye,null,null,Mt);return t.stateNode=e,t}function H0(e,t,n){var i=e.children!==null?e.children:[],c=Uo(S,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function gk(e,t){return e===null&&(e=Uo(_,null,null,Mt)),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 WU(e,t,n,i,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=S1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yn,this.eventTimes=Wb(Ie),this.expirationTimes=Wb(ma),this.pendingLanes=Ie,this.suspendedLanes=Ie,this.pingedLanes=Ie,this.expiredLanes=Ie,this.mutableReadLanes=Ie,this.finishedLanes=Ie,this.entangledLanes=Ie,this.entanglements=Wb(Ie),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],g=0;g<Sb;g++)d.push(new Set)}switch(t){case kv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case jc:this._debugRootType=n?"hydrate()":"render()";break}}function _k(e,t,n,i,c,d,g,y,C,E){var L=new WU(e,t,n,y,C),J=BU(t,d);L.current=J,J.stateNode=L;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};J.memoizedState=Q}return Z1(J),L}var U0="18.3.1";function qU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return dr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var V0,W0;V0=!1,W0={};function bk(e){if(!e)return Ho;var t=Hf(e),n=wF(t);if(t.tag===m){var i=t.type;if(vs(i))return qC(t,i,n)}return n}function YU(e,t){{var n=Hf(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 c=m3(n);if(c===null)return null;if(c.mode&Pa){var d=rr(n)||"Component";if(!W0[d]){W0[d]=!0;var g=In;try{xa(c),n.mode&Pa?u("%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,d):u("%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,d)}finally{g?xa(g):gn()}}}return c.stateNode}}function yk(e,t,n,i,c,d,g,y){var C=!1,E=null;return _k(e,t,C,E,n,i,c,d,g)}function Sk(e,t,n,i,c,d,g,y,C,E){var L=!0,J=_k(n,i,L,e,c,d,g,y,C);J.context=bk(null);var Q=J.current,ve=Qn(),ge=Qc(Q),xe=ec(ve,ge);return xe.callback=t!=null?t:null,Vc(Q,xe,ge),ZH(J,ge,ve),J}function jh(e,t,n,i){mI(t,e);var c=t.current,d=Qn(),g=Qc(c);PI(g);var y=bk(n);t.context===null?t.context=y:t.pendingContext=y,Rc&&In!==null&&!V0&&(V0=!0,u(`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.
139
+ Check the render method of \``+E+"`.")}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 L=Uo(g,n,t,c);return L.elementType=e,L.type=y,L.lanes=d,L._debugOwner=i,L}function F0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,g=e.props,y=B0(c,d,g,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Zc(e,t,n,i){var c=Uo(R,e,i,t);return c.lanes=n,c}function FU(e,t,n,i){typeof e.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=Uo(F,e,i,t|Jr);return c.elementType=Be,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function jU(e,t,n,i){var c=Uo(Q,e,i,t);return c.elementType=Te,c.lanes=n,c}function HU(e,t,n,i){var c=Uo(pe,e,i,t);return c.elementType=He,c.lanes=n,c}function vk(e,t,n,i){var c=Uo(H,e,i,t);c.elementType=Tt,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function j0(e,t,n){var i=Uo(k,e,null,t);return i.lanes=n,i}function UU(){var e=Uo(w,null,null,Mt);return e.elementType="DELETED",e}function VU(e){var t=Uo(de,null,null,Mt);return t.stateNode=e,t}function H0(e,t,n){var i=e.children!==null?e.children:[],c=Uo(S,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function gk(e,t){return e===null&&(e=Uo(_,null,null,Mt)),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 WU(e,t,n,i,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Sy,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yn,this.eventTimes=Wb(Ie),this.expirationTimes=Wb(va),this.pendingLanes=Ie,this.suspendedLanes=Ie,this.pingedLanes=Ie,this.expiredLanes=Ie,this.mutableReadLanes=Ie,this.finishedLanes=Ie,this.entangledLanes=Ie,this.entanglements=Wb(Ie),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],g=0;g<Sb;g++)d.push(new Set)}switch(t){case kv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case jc:this._debugRootType=n?"hydrate()":"render()";break}}function _k(e,t,n,i,c,d,g,y,C,E){var L=new WU(e,t,n,y,C),Z=BU(t,d);L.current=Z,Z.stateNode=L;{var J={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=J}return Zy(Z),L}var U0="18.3.1";function qU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return rr(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var V0,W0;V0=!1,W0={};function bk(e){if(!e)return Ho;var t=Hf(e),n=wF(t);if(t.tag===m){var i=t.type;if(vs(i))return qC(t,i,n)}return n}function YU(e,t){{var n=Hf(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 c=m3(n);if(c===null)return null;if(c.mode&za){var d=ar(n)||"Component";if(!W0[d]){W0[d]=!0;var g=zn;try{ka(c),n.mode&za?u("%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,d):u("%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,d)}finally{g?ka(g):gn()}}}return c.stateNode}}function yk(e,t,n,i,c,d,g,y){var C=!1,E=null;return _k(e,t,C,E,n,i,c,d,g)}function Sk(e,t,n,i,c,d,g,y,C,E){var L=!0,Z=_k(n,i,L,e,c,d,g,y,C);Z.context=bk(null);var J=Z.current,ye=Jn(),Se=Qc(J),ke=ec(ye,Se);return ke.callback=t!=null?t:null,Vc(J,ke,Se),ZH(Z,Se,ye),Z}function jh(e,t,n,i){mI(t,e);var c=t.current,d=Jn(),g=Qc(c);PI(g);var y=bk(n);t.context===null?t.context=y:t.pendingContext=y,Rc&&zn!==null&&!V0&&(V0=!0,u(`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.`,rr(In)||"Unknown"));var C=ec(d,g);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Vc(c,C,g);return E!==null&&(dn(E,c,g,d),jv(E,c,g)),g}function Dg(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 $U(e){switch(e.tag){case b:{var t=e.stateNode;if(Km(t)){var n=WI(t);aU(t,n)}break}case Z:{nc(function(){var c=yo(e,qt);if(c!==null){var d=Qn();dn(c,e,qt,d)}});var i=qt;q0(e,i);break}}}function wk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=XI(n.retryLane,t))}function q0(e,t){wk(e,t);var n=e.alternate;n&&wk(n,t)}function GU(e){if(e.tag===Z){var t=kp,n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}q0(e,t)}}function KU(e){if(e.tag===Z){var t=Qc(e),n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}q0(e,t)}}function Ck(e){var t=iI(e);return t===null?null:t.stateNode}var xk=function(e){return null};function XU(e){return xk(e)}var kk=function(e){return!1};function QU(e){return kk(e)}var Tk=null,Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null,Ok=null,Mk=null;{var Pk=function(e,t,n){var i=t[n],c=an(e)?e.slice():Ot({},e);return n+1===t.length?(an(c)?c.splice(i,1):delete c[i],c):(c[i]=Pk(e[i],t,n+1),c)},Ik=function(e,t){return Pk(e,t,0)},zk=function(e,t,n,i){var c=t[i],d=an(e)?e.slice():Ot({},e);if(i+1===t.length){var g=n[i];d[g]=d[c],an(d)?d.splice(c,1):delete d[c]}else d[c]=zk(e[c],t,n,i+1);return d},Bk=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return zk(e,t,n,0)},Fk=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=an(e)?e.slice():Ot({},e);return d[c]=Fk(e[c],t,n+1,i),d},jk=function(e,t,n){return Fk(e,t,0,n)},Y0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Tk=function(e,t,n,i){var c=Y0(e,t);if(c!==null){var d=jk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var g=yo(e,qt);g!==null&&dn(g,e,qt,ma)}},Ek=function(e,t,n){var i=Y0(e,t);if(i!==null){var c=Ik(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Ot({},e.memoizedProps);var d=yo(e,qt);d!==null&&dn(d,e,qt,ma)}},Rk=function(e,t,n,i){var c=Y0(e,t);if(c!==null){var d=Bk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var g=yo(e,qt);g!==null&&dn(g,e,qt,ma)}},Dk=function(e,t,n){e.pendingProps=jk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Ak=function(e,t){e.pendingProps=Ik(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=yo(e,qt);n!==null&&dn(n,e,qt,ma)},Lk=function(e,t,n){e.pendingProps=Bk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Nk=function(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)},Ok=function(e){xk=e},Mk=function(e){kk=e}}function JU(e){var t=m3(e);return t===null?null:t.stateNode}function ZU(e){return null}function eV(){return In}function tV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return hI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Tk,overrideHookStateDeletePath:Ek,overrideHookStateRenamePath:Rk,overrideProps:Dk,overridePropsDeletePath:Ak,overridePropsRenamePath:Lk,setErrorHandler:Ok,setSuspenseHandler:Mk,scheduleUpdate:Nk,currentDispatcherRef:n,findHostInstanceByFiber:JU,findFiberByHostInstance:t||ZU,findHostInstancesForRefresh:LU,scheduleRefresh:DU,scheduleRoot:AU,setRefreshHandler:RU,getCurrentFiber:eV,reconcilerVersion:U0})}var Hk=typeof reportError=="function"?reportError:function(e){console.error(e)};function $0(e){this._internalRoot=e}Ag.prototype.render=$0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Lg(arguments[1])?u("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"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Ja){var i=Ck(t.current);i&&i.parentNode!==n&&u("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.")}}jh(e,t,null,null)},Ag.prototype.unmount=$0.prototype.unmount=function(){typeof arguments[0]=="function"&&u("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;Z4()&&u("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."),nc(function(){jh(null,e,null,null)}),jC(t)}};function rV(e,t){if(!Lg(e))throw new Error("createRoot(...): Target container is not a DOM element.");Uk(e);var n=!1,i=!1,c="",d=Hk,g=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
141
+ Check the render method of %s.`,ar(zn)||"Unknown"));var C=ec(d,g);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Vc(c,C,g);return E!==null&&(dn(E,c,g,d),jv(E,c,g)),g}function Dg(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 $U(e){switch(e.tag){case b:{var t=e.stateNode;if(Km(t)){var n=WI(t);aU(t,n)}break}case Q:{nc(function(){var c=So(e,qt);if(c!==null){var d=Jn();dn(c,e,qt,d)}});var i=qt;q0(e,i);break}}}function wk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=XI(n.retryLane,t))}function q0(e,t){wk(e,t);var n=e.alternate;n&&wk(n,t)}function GU(e){if(e.tag===Q){var t=kp,n=So(e,t);if(n!==null){var i=Jn();dn(n,e,t,i)}q0(e,t)}}function KU(e){if(e.tag===Q){var t=Qc(e),n=So(e,t);if(n!==null){var i=Jn();dn(n,e,t,i)}q0(e,t)}}function Ck(e){var t=iI(e);return t===null?null:t.stateNode}var xk=function(e){return null};function XU(e){return xk(e)}var kk=function(e){return!1};function QU(e){return kk(e)}var Tk=null,Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null,Ok=null,Mk=null;{var Pk=function(e,t,n){var i=t[n],c=an(e)?e.slice():Ot({},e);return n+1===t.length?(an(c)?c.splice(i,1):delete c[i],c):(c[i]=Pk(e[i],t,n+1),c)},Ik=function(e,t){return Pk(e,t,0)},zk=function(e,t,n,i){var c=t[i],d=an(e)?e.slice():Ot({},e);if(i+1===t.length){var g=n[i];d[g]=d[c],an(d)?d.splice(c,1):delete d[c]}else d[c]=zk(e[c],t,n,i+1);return d},Bk=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return zk(e,t,n,0)},Fk=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=an(e)?e.slice():Ot({},e);return d[c]=Fk(e[c],t,n+1,i),d},jk=function(e,t,n){return Fk(e,t,0,n)},Y0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Tk=function(e,t,n,i){var c=Y0(e,t);if(c!==null){var d=jk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var g=So(e,qt);g!==null&&dn(g,e,qt,va)}},Ek=function(e,t,n){var i=Y0(e,t);if(i!==null){var c=Ik(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Ot({},e.memoizedProps);var d=So(e,qt);d!==null&&dn(d,e,qt,va)}},Rk=function(e,t,n,i){var c=Y0(e,t);if(c!==null){var d=Bk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var g=So(e,qt);g!==null&&dn(g,e,qt,va)}},Dk=function(e,t,n){e.pendingProps=jk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=So(e,qt);i!==null&&dn(i,e,qt,va)},Ak=function(e,t){e.pendingProps=Ik(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=So(e,qt);n!==null&&dn(n,e,qt,va)},Lk=function(e,t,n){e.pendingProps=Bk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=So(e,qt);i!==null&&dn(i,e,qt,va)},Nk=function(e){var t=So(e,qt);t!==null&&dn(t,e,qt,va)},Ok=function(e){xk=e},Mk=function(e){kk=e}}function JU(e){var t=m3(e);return t===null?null:t.stateNode}function ZU(e){return null}function eV(){return zn}function tV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return hI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Tk,overrideHookStateDeletePath:Ek,overrideHookStateRenamePath:Rk,overrideProps:Dk,overridePropsDeletePath:Ak,overridePropsRenamePath:Lk,setErrorHandler:Ok,setSuspenseHandler:Mk,scheduleUpdate:Nk,currentDispatcherRef:n,findHostInstanceByFiber:JU,findFiberByHostInstance:t||ZU,findHostInstancesForRefresh:LU,scheduleRefresh:DU,scheduleRoot:AU,setRefreshHandler:RU,getCurrentFiber:eV,reconcilerVersion:U0})}var Hk=typeof reportError=="function"?reportError:function(e){console.error(e)};function $0(e){this._internalRoot=e}Ag.prototype.render=$0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Lg(arguments[1])?u("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"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Ja){var i=Ck(t.current);i&&i.parentNode!==n&&u("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.")}}jh(e,t,null,null)},Ag.prototype.unmount=$0.prototype.unmount=function(){typeof arguments[0]=="function"&&u("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;Z4()&&u("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."),nc(function(){jh(null,e,null,null)}),jC(t)}};function rV(e,t){if(!Lg(e))throw new Error("createRoot(...): Target container is not a DOM element.");Uk(e);var n=!1,i=!1,c="",d=Hk,g=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`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&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var y=yk(e,kv,null,n,i,c,d);_v(y.current,e);var C=e.nodeType===Ja?e.parentNode:e;return Yp(C),new $0(y)}function Ag(e){this._internalRoot=e}function aV(e){e&&pz(e)}Ag.prototype.unstable_scheduleHydration=aV;function nV(e,t,n){if(!Lg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Uk(e),t===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,c=n!=null&&n.hydratedSources||null,d=!1,g=!1,y="",C=Hk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=Sk(t,null,e,kv,i,d,g,y,C);if(_v(E.current,e),Yp(e),c)for(var L=0;L<c.length;L++){var J=c[L];aj(E,J)}return new Ag(E)}function Lg(e){return!!(e&&(e.nodeType===_o||e.nodeType===Hs||e.nodeType===Z_||!Se))}function Hh(e){return!!(e&&(e.nodeType===_o||e.nodeType===Hs||e.nodeType===Z_||e.nodeType===Ja&&e.nodeValue===" react-mount-point-unstable "))}function Uk(e){e.nodeType===_o&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("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."),ah(e)&&(e._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("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 oV=o.ReactCurrentOwner,Vk;Vk=function(e){if(e._reactRootContainer&&e.nodeType!==Ja){var t=Ck(e._reactRootContainer.current);t&&t.parentNode!==e&&u("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=G0(e),c=!!(i&&Bc(i));c&&!n&&u("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===_o&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("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 G0(e){return e?e.nodeType===Hs?e.documentElement:e.firstChild:null}function Wk(){}function iV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var Q=Dg(g);d.call(Q)}}var g=Sk(t,i,e,jc,null,!1,!1,"",Wk);e._reactRootContainer=g,_v(g.current,e);var y=e.nodeType===Ja?e.parentNode:e;return Yp(y),nc(),g}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var Q=Dg(L);E.call(Q)}}var L=yk(e,jc,null,!1,!1,"",Wk);e._reactRootContainer=L,_v(L.current,e);var J=e.nodeType===Ja?e.parentNode:e;return Yp(J),nc(function(){jh(t,L,n,i)}),L}}function lV(e,t){e!==null&&typeof e!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ng(e,t,n,i,c){Vk(n),lV(c===void 0?null:c,"render");var d=n._reactRootContainer,g;if(!d)g=iV(n,t,e,c,i);else{if(g=d,typeof c=="function"){var y=c;c=function(){var C=Dg(g);y.call(C)}}jh(t,g,e,c)}return Dg(g)}var qk=!1;function sV(e){{qk||(qk=!0,u("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=oV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||u("%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.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===_o?e:YU(e,"findDOMNode")}function cV(e,t,n){if(u("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"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("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 Ng(null,e,t,!0,n)}function uV(e,t,n){if(u("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"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("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 Ng(null,e,t,!1,n)}function fV(e,t,n,i){if(u("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"),!Hh(n))throw new Error("Target container is not a DOM element.");if(e==null||!ZP(e))throw new Error("parentComponent must be a valid React Component");return Ng(e,t,n,!1,i)}var Yk=!1;function dV(e){if(Yk||(Yk=!0,u("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")),!Hh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ah(e)&&e._reactRootContainer===void 0;t&&u("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=G0(e),i=n&&!Bc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return nc(function(){Ng(null,null,e,!1,function(){e._reactRootContainer=null,jC(e)})}),!0}else{{var c=G0(e),d=!!(c&&Bc(c)),g=e.nodeType===_o&&Hh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&u("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}}az($U),oz(GU),iz(KU),lz(jl),sz(ez),(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")&&u("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"),UP(c9),qP(k0,nU,nc);function pV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Lg(t))throw new Error("Target container is not a DOM element.");return qU(e,t,null,n)}function hV(e,t,n,i){return fV(e,t,n,i)}var K0={usingClientEntryPoint:!1,Events:[Bc,ad,bv,a3,n3,k0]};function mV(e,t){return K0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t)}function vV(e,t,n){return K0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nV(e,t,n)}function gV(e){return Z4()&&u("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."),nc(e)}var _V=tV({findFiberByHostInstance:zu,bundleType:1,version:U0,rendererPackageName:"react-dom"});if(!_V&&ot&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var $k=window.location.protocol;/^(https?|file):$/.test($k)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+($k==="file:"?`
145
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K0,Wo.createPortal=pV,Wo.createRoot=mV,Wo.findDOMNode=sV,Wo.flushSync=gV,Wo.hydrate=cV,Wo.hydrateRoot=vV,Wo.render=uV,Wo.unmountComponentAtNode=dV,Wo.unstable_batchedUpdates=k0,Wo.unstable_renderSubtreeIntoContainer=hV,Wo.version=U0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var X0=Ue((J$,eT)=>{"use strict";eT.exports=Zk()});var tT=Ue(J0=>{"use strict";var Q0=X0();Vh=Q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J0.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return Q0.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},J0.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return Q0.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var u2=Ue(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});function zr(){return zr=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},zr.apply(this,arguments)}var za=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),rT="popstate";function RV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>_(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),u=za.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function _(w,k,A){k===void 0&&(k=null);let N=sc(s?m().pathname:"/",w,k,A);return ks(N.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),N}function b(w){return typeof w=="string"?w:Ts(w)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Jl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=za.Push;let A=_(w,k);f+=1,s.splice(f,s.length,A),l&&h&&h({action:u,location:A,delta:1})},replace(w,k){u=za.Replace;let A=_(w,k);s[f]=A,l&&h&&h({action:u,location:A,delta:0})},go(w){u=za.Pop;let k=p(f+w),A=s[k];f=k,h&&h({action:u,location:A,delta:w})},listen(w){return h=w,()=>{h=null}}}}function DV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:u,hash:h}=l.location;return sc("",{pathname:f,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Ts(s)}return _T(a,o,null,r)}function AV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=Jl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),sc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:Ts(f))}function l(s,f){ks(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return _T(a,o,l,r)}function Mr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function ks(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function LV(){return Math.random().toString(36).substr(2,8)}function aT(r,a){return{usr:r.state,key:r.key,idx:a}}function sc(r,a,o,l){return o===void 0&&(o=null),zr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Jl(a):a,{state:o,key:a&&a.key||l||LV()})}function Ts(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 Jl(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 _T(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,u=s.history,h=za.Pop,p=null,m=_();m==null&&(m=0,u.replaceState(zr({},u.state,{idx:m}),""));function _(){return(u.state||{idx:null}).idx}function b(){h=za.Pop;let N=_(),Y=N==null?null:N-m;m=N,p&&p({action:h,location:A.location,delta:Y})}function S(N,Y){h=za.Push;let M=sc(A.location,N,Y);o&&o(M,N),m=_()+1;let H=aT(M,m),F=A.createHref(M);try{u.pushState(H,"",F)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;s.location.assign(F)}f&&p&&p({action:h,location:A.location,delta:1})}function w(N,Y){h=za.Replace;let M=sc(A.location,N,Y);o&&o(M,N),m=_();let H=aT(M,m),F=A.createHref(M);u.replaceState(H,"",F),f&&p&&p({action:h,location:A.location,delta:0})}function k(N){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,M=typeof N=="string"?N:Ts(N);return M=M.replace(/ $/,"%20"),Mr(Y,"No window.location.(origin|href) available to create URL for href: "+M),new URL(M,Y)}let A={get action(){return h},get location(){return r(s,u)},listen(N){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(rT,b),p=N,()=>{s.removeEventListener(rT,b),p=null}},createHref(N){return a(s,N)},createURL:k,encodeLocation(N){let Y=k(N);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(N){return u.go(N)}};return A}var Wr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),NV=new Set(["lazy","caseSensitive","path","id","index","children"]);function OV(r){return r.index===!0}function tf(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let u=[...o,String(f)],h=typeof s.id=="string"?s.id:u.join("-");if(Mr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Mr(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),OV(s)){let p=zr({},s,a(s),{id:h});return l[h]=p,p}else{let p=zr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=tf(s.children,a,u,l)),p}})}function lc(r,a,o){return o===void 0&&(o="/"),Ig(r,a,o,!1)}function Ig(r,a,o,l){let s=typeof a=="string"?Jl(a):a,f=Yh(s.pathname||"/",o);if(f==null)return null;let u=yT(r);MV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=wT(f);h=VV(u[p],m,l)}return h}function bT(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 yT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,u,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:u,route:f};p.relativePath.startsWith("/")&&(Mr(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 m=Ld([l,p.relativePath]),_=o.concat(p);f.children&&f.children.length>0&&(Mr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),yT(f.children,a,_,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:HV(m,f.index),routesMeta:_})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of ST(f.path))s(f,u,p)}),a}function ST(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let u=ST(l.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function MV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:UV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var PV=/^:[\w-]+$/,IV=3,zV=2,BV=1,FV=10,jV=-2,nT=r=>r==="*";function HV(r,a){let o=r.split("/"),l=o.length;return o.some(nT)&&(l+=jV),a&&(l+=zV),o.filter(s=>!nT(s)).reduce((s,f)=>s+(PV.test(f)?IV:f===""?BV:FV),l)}function UV(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 VV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,_=f==="/"?a:a.slice(f.length)||"/",b=t2({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},_),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=t2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},_)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Ld([f,b.pathname]),pathnameBase:ET(Ld([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ld([f,b.pathnameBase]))}return u}function WV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(ks(!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=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let _=u.match(/^:([\w-]+)(\??)$/);if(_){let[,b,S]=_,w=a[b];return Mr(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function t2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=qV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,_,b)=>{let{paramName:S,isOptional:w}=_;if(S==="*"){let A=h[b]||"";u=f.slice(0,f.length-A.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function qV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),ks(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,(u,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 wT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ks(!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 Yh(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 CT(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Jl(r):r;return{pathname:o?o.startsWith("/")?o:YV(o,a):a,search:GV(l),hash:KV(s)}}function YV(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 Z0(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 xT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function kT(r,a){let o=xT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function TT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Jl(r):(s=zr({},r),Mr(!s.pathname||!s.pathname.includes("?"),Z0("?","pathname","search",s)),Mr(!s.pathname||!s.pathname.includes("#"),Z0("#","pathname","hash",s)),Mr(!s.search||!s.search.includes("#"),Z0("#","search","hash",s)));let f=r===""||s.pathname==="",u=f?"/":s.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!l&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=CT(s,h),m=u&&u!=="/"&&u.endsWith("/"),_=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||_)&&(p.pathname+="/"),p}function $V(r){return r===""||r.pathname===""?"/":typeof r=="string"?Jl(r).pathname:r.pathname}var Ld=r=>r.join("/").replace(/\/\/+/g,"/"),ET=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),GV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,KV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,XV=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),zr({},l,{headers:s}))},r2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function QV(r,a){return new r2(r,typeof a=="number"?{status:a}:a)}var qh=class extends Error{},Bg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Mr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,u)=>l=u),this.controller=new AbortController;let s=()=>l(new qh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,u)=>{let[h,p]=u;return Object.assign(f,{[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 qh)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 f=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:()=>f}),this.emit(!1,o),Promise.reject(f)}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 Vr(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Mr(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]:ZV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function JV(r){return r instanceof Promise&&r._tracked===!0}function ZV(r){if(!JV(r))return r;if(r._error)throw r._error;return r._data}var eW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new Bg(a,l)},l2=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,zr({},l,{headers:s}))},tW=(r,a)=>{let o=l2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},rW=(r,a)=>{let o=l2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Nd=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 Od(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var RT=["post","put","patch","delete"],aW=new Set(RT),nW=["get",...RT],oW=new Set(nW),iW=new Set([301,302,303,307,308]),lW=new Set([307,308]),zg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},DT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ad={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},s2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,AT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),LT="remix-router-transitions";function sW(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;Mr(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 I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=AT;let f={},u=tf(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||IT,_=r.unstable_patchRoutesOnMiss,b=zr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,A=null,N=null,Y=r.hydrationData!=null,M=lc(u,r.history.location,p),H=null;if(M==null&&!_){let I=ka(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=Fg(u);M=V,H={[re.id]:I}}M&&!r.hydrationData&&Me(M,u,r.history.location.pathname).active&&(M=null);let F;if(M)if(M.some(I=>I.route.lazy))F=!1;else if(!M.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=ce=>ce.route.loader?typeof ce.route.loader=="function"&&ce.route.loader.hydrate===!0?!1:I&&I[ce.route.id]!==void 0||V&&V[ce.route.id]!==void 0:!0;if(V){let ce=M.findIndex(Ve=>V[Ve.route.id]!==void 0);F=M.slice(0,ce+1).every(re)}else F=M.every(re)}else F=r.hydrationData!=null;else if(F=!1,M=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(M=I.matches)}let Z,O={historyAction:r.history.action,location:r.history.location,matches:M,initialized:F,navigation:zg,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||H,fetchers:new Map,blockers:new Map},ae=za.Pop,_e=!1,ee,ye=!1,be=new Map,he=null,j=!1,le=!1,de=[],B=new Set,W=new Map,ie=0,te=-1,se=new Map,we=new Set,Se=new Map,je=new Map,Ye=new Set,Ge=new Map,rt=new Map,et=new Map,Nt=!1;function $t(){if(S=r.history.listen(I=>{let{action:V,location:re,delta:ce}=I;if(Nt){Nt=!1;return}ks(rt.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 Ve=P({currentLocation:O.location,nextLocation:re,historyAction:V});if(Ve&&ce!=null){Nt=!0,r.history.go(ce*-1),$(Ve,{state:"blocked",location:re,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(ce)},reset(){let Be=new Map(O.blockers);Be.set(Ve,Ad),ke({blockers:Be})}});return}return wt(V,re)}),o){SW(a,be);let I=()=>wW(a,be);a.addEventListener("pagehide",I),he=()=>a.removeEventListener("pagehide",I)}return O.initialized||wt(za.Pop,O.location,{initialHydration:!0}),Z}function dt(){S&&S(),he&&he(),w.clear(),ee&&ee.abort(),O.fetchers.forEach((I,V)=>ze(V)),O.blockers.forEach((I,V)=>$r(V))}function Xe(I){return w.add(I),()=>w.delete(I)}function ke(I,V){V===void 0&&(V={}),O=zr({},O,I);let re=[],ce=[];b.v7_fetcherPersist&&O.fetchers.forEach((Ve,Be)=>{Ve.state==="idle"&&(Ye.has(Be)?ce.push(Be):re.push(Be))}),[...w].forEach(Ve=>Ve(O,{deletedFetchers:ce,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(Ve=>O.fetchers.delete(Ve)),ce.forEach(Ve=>ze(Ve)))}function ot(I,V,re){var ce,Ve;let{flushSync:Be}=re===void 0?{}:re,D=O.actionData!=null&&O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&O.navigation.state==="loading"&&((ce=I.state)==null?void 0:ce._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=O.actionData:q=null;let pe=V.loaderData?pT(O.loaderData,V.loaderData,V.matches||[],V.errors):O.loaderData,Te=O.blockers;Te.size>0&&(Te=new Map(Te),Te.forEach((Ze,Ke)=>Te.set(Ke,Ad)));let He=_e===!0||O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),j||ae===za.Pop||(ae===za.Push?r.history.push(I,I.state):ae===za.Replace&&r.history.replace(I,I.state));let ft;if(ae===za.Pop){let Ze=be.get(O.location.pathname);Ze&&Ze.has(I.pathname)?ft={currentLocation:O.location,nextLocation:I}:be.has(I.pathname)&&(ft={currentLocation:I,nextLocation:O.location})}else if(ye){let Ze=be.get(O.location.pathname);Ze?Ze.add(I.pathname):(Ze=new Set([I.pathname]),be.set(O.location.pathname,Ze)),ft={currentLocation:O.location,nextLocation:I}}ke(zr({},V,{actionData:q,loaderData:pe,historyAction:ae,location:I,initialized:!0,navigation:zg,revalidation:"idle",restoreScrollPosition:Pe(I,V.matches||O.matches),preventScrollReset:He,blockers:Te}),{viewTransitionOpts:ft,flushSync:Be===!0}),ae=za.Pop,_e=!1,ye=!1,j=!1,le=!1,de=[]}function kt(I,V){return Vr(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=a2(O.location,O.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:ce,submission:Ve,error:Be}=iT(b.v7_normalizeFormMethod,!1,re,V),D=O.location,q=sc(O.location,ce,V&&V.state);q=zr({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,Te=za.Push;pe===!0?Te=za.Replace:pe===!1||Ve!=null&&Tl(Ve.formMethod)&&Ve.formAction===O.location.pathname+O.location.search&&(Te=za.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Ze=P({currentLocation:D,nextLocation:q,historyAction:Te});if(Ze){$(Ze,{state:"blocked",location:q,proceed(){$(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),kt(I,V)},reset(){let Ke=new Map(O.blockers);Ke.set(Ze,Ad),ke({blockers:Ke})}});return}return yield wt(Te,q,{submission:Ve,pendingError:Be,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function Tt(){if(kr(),ke({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){wt(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}wt(ae||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}function wt(I,V,re){return Vr(this,null,function*(){ee&&ee.abort(),ee=null,ae=I,j=(re&&re.startUninterruptedRevalidation)===!0,Oe(O.location,O.matches),_e=(re&&re.preventScrollReset)===!0,ye=(re&&re.enableViewTransition)===!0;let ce=h||u,Ve=re&&re.overrideNavigation,Be=lc(ce,V,p),D=(re&&re.flushSync)===!0,q=Me(Be,ce,V.pathname);if(q.active&&q.matches&&(Be=q.matches),!Be){let{error:Ct,notFoundMatches:Et,route:Wt}=R(V.pathname);ot(V,{matches:Et,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(O.initialized&&!le&&mW(O.location,V)&&!(re&&re.submission&&Tl(re.submission.formMethod))){ot(V,{matches:Be},{flushSync:D});return}ee=new AbortController;let pe=Dd(r.history,V,ee.signal,re&&re.submission),Te;if(re&&re.pendingError)Te=[Zu(Be).route.id,{type:Wr.error,error:re.pendingError}];else if(re&&re.submission&&Tl(re.submission.formMethod)){let Ct=yield tr(pe,V,re.submission,Be,q.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[Et,Wt]=Ct.pendingActionResult;if(Mn(Wt)&&Od(Wt.error)&&Wt.error.status===404){ee=null,ot(V,{matches:Ct.matches,loaderData:{},errors:{[Et]:Wt.error}});return}}Be=Ct.matches||Be,Te=Ct.pendingActionResult,Ve=e2(V,re.submission),D=!1,q.active=!1,pe=Dd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Ze,errors:Ke}=yield Ut(pe,V,Be,q.active,Ve,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,Te);He||(ee=null,ot(V,zr({matches:ft||Be},hT(Te),{loaderData:Ze,errors:Ke})))})}function tr(I,V,re,ce,Ve,Be){return Vr(this,null,function*(){Be===void 0&&(Be={}),kr();let D=bW(V,re);if(ke({navigation:D},{flushSync:Be.flushSync===!0}),Ve){let Te=yield We(ce,V.pathname,I.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,Te);return{matches:Te.partialMatches,pendingActionResult:[He,{type:Wr.error,error:ft}]}}else if(Te.matches)ce=Te.matches;else{let{notFoundMatches:He,error:ft,route:Ze}=R(V.pathname);return{matches:He,pendingActionResult:[Ze.id,{type:Wr.error,error:ft}]}}}let q,pe=ef(ce,V);if(!pe.route.action&&!pe.route.lazy)q={type:Wr.error,error:ka(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield br("action",I,[pe],ce))[0],I.signal.aborted)return{shortCircuited:!0};if(au(q)){let Te;return Be&&Be.replace!=null?Te=Be.replace:Te=uT(q.response.headers.get("Location"),new URL(I.url),p)===O.location.pathname+O.location.search,yield pr(I,q,{submission:re,replace:Te}),{shortCircuited:!0}}if(ru(q))throw ka(400,{type:"defer-action"});if(Mn(q)){let Te=Zu(ce,pe.route.id);return(Be&&Be.replace)!==!0&&(ae=za.Push),{matches:ce,pendingActionResult:[Te.route.id,q]}}return{matches:ce,pendingActionResult:[pe.route.id,q]}})}function Ut(I,V,re,ce,Ve,Be,D,q,pe,Te,He){return Vr(this,null,function*(){let ft=Ve||e2(V,Be),Ze=Be||D||gT(ft),Ke=!j&&(!b.v7_partialHydration||!pe);if(ce){if(Ke){let oa=dr(He);ke(zr({navigation:ft},oa!==void 0?{actionData:oa}:{}),{flushSync:Te})}let Jt=yield We(re,V.pathname,I.signal);if(Jt.type==="aborted")return{shortCircuited:!0};if(Jt.type==="error"){let{boundaryId:oa,error:tn}=z(V.pathname,Jt);return{matches:Jt.partialMatches,loaderData:{},errors:{[oa]:tn}}}else if(Jt.matches)re=Jt.matches;else{let{error:oa,notFoundMatches:tn,route:Kr}=R(V.pathname);return{matches:tn,loaderData:{},errors:{[Kr.id]:oa}}}}let Ct=h||u,[Et,Wt]=lT(r.history,O,re,Ze,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,Ct,p,He);if(G(Jt=>!(re&&re.some(oa=>oa.route.id===Jt))||Et&&Et.some(oa=>oa.route.id===Jt)),te=++ie,Et.length===0&&Wt.length===0){let Jt=Vt();return ot(V,zr({matches:re,loaderData:{},errors:He&&Mn(He[1])?{[He[0]]:He[1].error}:null},hT(He),Jt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:Te}),{shortCircuited:!0}}if(Ke){let Jt={};if(!ce){Jt.navigation=ft;let oa=dr(He);oa!==void 0&&(Jt.actionData=oa)}Wt.length>0&&(Jt.fetchers=na(Wt)),ke(Jt,{flushSync:Te})}Wt.forEach(Jt=>{W.has(Jt.key)&&bt(Jt.key),Jt.controller&&W.set(Jt.key,Jt.controller)});let Gr=()=>Wt.forEach(Jt=>bt(Jt.key));ee&&ee.signal.addEventListener("abort",Gr);let{loaderResults:qa,fetcherResults:ia}=yield pa(O.matches,re,Et,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",Gr),Wt.forEach(Jt=>W.delete(Jt.key));let la=mT([...qa,...ia]);if(la){if(la.idx>=Et.length){let Jt=Wt[la.idx-Et.length].key;we.add(Jt)}return yield pr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Qa,errors:Ot}=dT(O,re,Et,qa,He,Wt,ia,Ge);Ge.forEach((Jt,oa)=>{Jt.subscribe(tn=>{(tn||Jt.done)&&Ge.delete(oa)})}),b.v7_partialHydration&&pe&&O.errors&&Object.entries(O.errors).filter(Jt=>{let[oa]=Jt;return!Et.some(tn=>tn.route.id===oa)}).forEach(Jt=>{let[oa,tn]=Jt;Ot=Object.assign(Ot||{},{[oa]:tn})});let qn=Vt(),us=Ar(te),fs=qn||us||Wt.length>0;return zr({matches:re,loaderData:Qa,errors:Ot},fs?{fetchers:new Map(O.fetchers)}:{})})}function dr(I){if(I&&!Mn(I[1]))return{[I[0]]:I[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function na(I){return I.forEach(V=>{let re=O.fetchers.get(V.key),ce=Wh(void 0,re?re.data:void 0);O.fetchers.set(V.key,ce)}),new Map(O.fetchers)}function jr(I,V,re,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.");W.has(I)&&bt(I);let Ve=(ce&&ce.unstable_flushSync)===!0,Be=h||u,D=a2(O.location,O.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,ce==null?void 0:ce.relative),q=lc(Be,D,p),pe=Me(q,Be,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Pr(I,V,ka(404,{pathname:D}),{flushSync:Ve});return}let{path:Te,submission:He,error:ft}=iT(b.v7_normalizeFormMethod,!0,D,ce);if(ft){Pr(I,V,ft,{flushSync:Ve});return}let Ze=ef(q,Te);if(_e=(ce&&ce.preventScrollReset)===!0,He&&Tl(He.formMethod)){Yr(I,V,Te,Ze,q,pe.active,Ve,He);return}Se.set(I,{routeId:V,path:Te}),xr(I,V,Te,Ze,q,pe.active,Ve,He)}function Yr(I,V,re,ce,Ve,Be,D,q){return Vr(this,null,function*(){kr(),Se.delete(I);function pe(Kr){if(!Kr.route.action&&!Kr.route.lazy){let Yn=ka(405,{method:q.formMethod,pathname:re,routeId:V});return Pr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Be&&pe(ce))return;let Te=O.fetchers.get(I);vr(I,yW(q,Te),{flushSync:D});let He=new AbortController,ft=Dd(r.history,re,He.signal,q);if(Be){let Kr=yield We(Ve,re,ft.signal);if(Kr.type==="aborted")return;if(Kr.type==="error"){let{error:Yn}=z(re,Kr);Pr(I,V,Yn,{flushSync:D});return}else if(Kr.matches){if(Ve=Kr.matches,ce=ef(Ve,re),pe(ce))return}else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,He);let Ze=ie,Ct=(yield br("action",ft,[ce],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&Ye.has(I)){if(au(Ct)||Mn(Ct)){vr(I,eu(void 0));return}}else{if(au(Ct))if(W.delete(I),te>Ze){vr(I,eu(void 0));return}else return we.add(I),vr(I,Wh(q)),pr(ft,Ct,{fetcherSubmission:q});if(Mn(Ct)){Pr(I,V,Ct.error);return}}if(ru(Ct))throw ka(400,{type:"defer-action"});let Et=O.navigation.location||O.location,Wt=Dd(r.history,Et,He.signal),Gr=h||u,qa=O.navigation.state!=="idle"?lc(Gr,O.navigation.location,p):O.matches;Mr(qa,"Didn't find any matches after fetcher action");let ia=++ie;se.set(I,ia);let la=Wh(q,Ct.data);O.fetchers.set(I,la);let[Qa,Ot]=lT(r.history,O,qa,q,Et,!1,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,Gr,p,[ce.route.id,Ct]);Ot.filter(Kr=>Kr.key!==I).forEach(Kr=>{let Yn=Kr.key,Su=O.fetchers.get(Yn),ip=Wh(void 0,Su?Su.data:void 0);O.fetchers.set(Yn,ip),W.has(Yn)&&bt(Yn),Kr.controller&&W.set(Yn,Kr.controller)}),ke({fetchers:new Map(O.fetchers)});let qn=()=>Ot.forEach(Kr=>bt(Kr.key));He.signal.addEventListener("abort",qn);let{loaderResults:us,fetcherResults:fs}=yield pa(O.matches,qa,Qa,Ot,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),se.delete(I),W.delete(I),Ot.forEach(Kr=>W.delete(Kr.key));let Jt=mT([...us,...fs]);if(Jt){if(Jt.idx>=Qa.length){let Kr=Ot[Jt.idx-Qa.length].key;we.add(Kr)}return pr(Wt,Jt.result)}let{loaderData:oa,errors:tn}=dT(O,O.matches,Qa,us,void 0,Ot,fs,Ge);if(O.fetchers.has(I)){let Kr=eu(Ct.data);O.fetchers.set(I,Kr)}Ar(ia),O.navigation.state==="loading"&&ia>te?(Mr(ae,"Expected pending action"),ee&&ee.abort(),ot(O.navigation.location,{matches:qa,loaderData:oa,errors:tn,fetchers:new Map(O.fetchers)})):(ke({errors:tn,loaderData:pT(O.loaderData,oa,qa,tn),fetchers:new Map(O.fetchers)}),le=!1)})}function xr(I,V,re,ce,Ve,Be,D,q){return Vr(this,null,function*(){let pe=O.fetchers.get(I);vr(I,Wh(q,pe?pe.data:void 0),{flushSync:D});let Te=new AbortController,He=Dd(r.history,re,Te.signal);if(Be){let Ct=yield We(Ve,re,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:Et}=z(re,Ct);Pr(I,V,Et,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,ce=ef(Ve,re);else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,Te);let ft=ie,Ke=(yield br("loader",He,[ce],Ve))[0];if(ru(Ke)&&(Ke=(yield WT(Ke,He.signal,!0))||Ke),W.get(I)===Te&&W.delete(I),!He.signal.aborted){if(Ye.has(I)){vr(I,eu(void 0));return}if(au(Ke))if(te>ft){vr(I,eu(void 0));return}else{we.add(I),yield pr(He,Ke);return}if(Mn(Ke)){Pr(I,V,Ke.error);return}Mr(!ru(Ke),"Unhandled fetcher deferred data"),vr(I,eu(Ke.data))}})}function pr(I,V,re){return Vr(this,null,function*(){let{submission:ce,fetcherSubmission:Ve,replace:Be}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Mr(D,"Expected a Location header on the redirect Response"),D=uT(D,new URL(I.url),p);let q=sc(O.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(s2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Yh(Ct.pathname,p)==null}if(Ke){Be?a.location.replace(D):a.location.assign(D);return}}ee=null;let pe=Be===!0||V.response.headers.has("X-Remix-Replace")?za.Replace:za.Push,{formMethod:Te,formAction:He,formEncType:ft}=O.navigation;!ce&&!Ve&&Te&&He&&ft&&(ce=gT(O.navigation));let Ze=ce||Ve;if(lW.has(V.response.status)&&Ze&&Tl(Ze.formMethod))yield wt(pe,q,{submission:zr({},Ze,{formAction:D}),preventScrollReset:_e});else{let Ke=e2(q,ce);yield wt(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function br(I,V,re,ce){return Vr(this,null,function*(){try{let Ve=yield zT(m,I,V,re,ce,f,s);return yield Promise.all(Ve.map((Be,D)=>{if(UT(Be)){let q=Be.result;return{type:Wr.redirect,response:FT(q,V,re[D].route.id,ce,p,b.v7_relativeSplatPath)}}return BT(Be)}))}catch(Ve){return re.map(()=>({type:Wr.error,error:Ve}))}})}function pa(I,V,re,ce,Ve){return Vr(this,null,function*(){let[Be,...D]=yield Promise.all([re.length?br("loader",Ve,re,V):[],...ce.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Dd(r.history,q.path,q.controller.signal);return br("loader",pe,[q.match],q.matches).then(Te=>Te[0])}else return Promise.resolve({type:Wr.error,error:ka(404,{pathname:q.path})})})]);return yield Promise.all([vT(I,re,Be,Be.map(()=>Ve.signal),!1,O.loaderData),vT(I,ce.map(q=>q.match),D,ce.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Be,fetcherResults:D}})}function kr(){le=!0,de.push(...G()),Se.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function vr(I,V,re){re===void 0&&(re={}),O.fetchers.set(I,V),ke({fetchers:new Map(O.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Pr(I,V,re,ce){ce===void 0&&(ce={});let Ve=Zu(O.matches,V);ze(I),ke({errors:{[Ve.route.id]:re},fetchers:new Map(O.fetchers)},{flushSync:(ce&&ce.flushSync)===!0})}function ba(I){return b.v7_fetcherPersist&&(je.set(I,(je.get(I)||0)+1),Ye.has(I)&&Ye.delete(I)),O.fetchers.get(I)||DT}function ze(I){let V=O.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&se.has(I))&&bt(I),Se.delete(I),se.delete(I),we.delete(I),Ye.delete(I),B.delete(I),O.fetchers.delete(I)}function ct(I){if(b.v7_fetcherPersist){let V=(je.get(I)||0)-1;V<=0?(je.delete(I),Ye.add(I)):je.set(I,V)}else ze(I);ke({fetchers:new Map(O.fetchers)})}function bt(I){let V=W.get(I);Mr(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function Gt(I){for(let V of I){let re=ba(V),ce=eu(re.data);O.fetchers.set(V,ce)}}function Vt(){let I=[],V=!1;for(let re of we){let ce=O.fetchers.get(re);Mr(ce,"Expected fetcher: "+re),ce.state==="loading"&&(we.delete(re),I.push(re),V=!0)}return Gt(I),V}function Ar(I){let V=[];for(let[re,ce]of se)if(ce<I){let Ve=O.fetchers.get(re);Mr(Ve,"Expected fetcher: "+re),Ve.state==="loading"&&(bt(re),se.delete(re),V.push(re))}return Gt(V),V.length>0}function gr(I,V){let re=O.blockers.get(I)||Ad;return rt.get(I)!==V&&rt.set(I,V),re}function $r(I){O.blockers.delete(I),rt.delete(I)}function $(I,V){let re=O.blockers.get(I)||Ad;Mr(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let ce=new Map(O.blockers);ce.set(I,V),ke({blockers:ce})}function P(I){let{currentLocation:V,nextLocation:re,historyAction:ce}=I;if(rt.size===0)return;rt.size>1&&ks(!1,"A router only supports one blocker at a time");let Ve=Array.from(rt.entries()),[Be,D]=Ve[Ve.length-1],q=O.blockers.get(Be);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:ce}))return Be}function R(I){let V=ka(404,{pathname:I}),re=h||u,{matches:ce,route:Ve}=Fg(re);return G(),{notFoundMatches:ce,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:ka(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Ge.forEach((re,ce)=>{(!I||I(ce))&&(re.cancel(),V.push(ce),Ge.delete(ce))}),V}function oe(I,V,re){if(k=I,N=V,A=re||null,!Y&&O.navigation===zg){Y=!0;let ce=Pe(O.location,O.matches);ce!=null&&ke({restoreScrollPosition:ce})}return()=>{k=null,N=null,A=null}}function ne(I,V){return A&&A(I,V.map(ce=>bT(ce,O.loaderData)))||I.key}function Oe(I,V){if(k&&N){let re=ne(I,V);k[re]=N()}}function Pe(I,V){if(k){let re=ne(I,V),ce=k[re];if(typeof ce=="number")return ce}return null}function Me(I,V,re){if(_)if(I){let ce=I[I.length-1].route;if(ce.path&&(ce.path==="*"||ce.path.endsWith("/*")))return{active:!0,matches:Ig(V,re,p,!0)}}else return{active:!0,matches:Ig(V,re,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,re){return Vr(this,null,function*(){let ce=I,Ve=ce.length>0?ce[ce.length-1].route:null;for(;;){let Be=h==null,D=h||u;try{yield pW(_,V,ce,D,f,s,et,re)}catch(He){return{type:"error",error:He,partialMatches:ce}}finally{Be&&(u=[...u])}if(re.aborted)return{type:"aborted"};let q=lc(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let Te=Ig(D,V,p,!0);if(!Te||ce.map(He=>He.route.id).join("-")===Te.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(ce=Te,Ve=ce[ce.length-1].route,Ve.path==="*")return{type:"success",matches:ce}}})}function Ae(I){f={},h=tf(I,s,void 0,f)}function Je(I,V){let re=h==null;PT(I,V,h||u,f,s),re&&(u=[...u],ke({}))}return Z={get basename(){return p},get future(){return b},get state(){return O},get routes(){return u},get window(){return a},initialize:$t,subscribe:Xe,enableScrollRestoration:oe,navigate:kt,fetch:jr,revalidate:Tt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ba,deleteFetcher:ct,dispose:dt,getBlocker:gr,deleteBlocker:$r,patchRoutes:Je,_internalFetchControllers:W,_internalActiveDeferreds:Ge,_internalSetRoutes:Ae},Z}var NT=Symbol("deferred");function cW(r,a){Mr(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=k=>({hasErrorBoundary:w(k)})}else s=AT;let f=zr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,s,void 0,o);function h(w,k){return Vr(this,null,function*(){let{requestContext:A,skipLoaderErrorBubbling:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),H=w.method,F=sc("",Ts(M),null,"default"),Z=lc(u,F,l);if(!i2(H)&&H!=="HEAD"){let ae=ka(405,{method:H}),{matches:_e,route:ee}=Fg(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Z){let ae=ka(404,{pathname:F.pathname}),{matches:_e,route:ee}=Fg(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let O=yield m(w,F,Z,A,Y||null,N===!0,null);return tu(O)?O:zr({location:F,basename:l},O)})}function p(w,k){return Vr(this,null,function*(){let{routeId:A,requestContext:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),H=w.method,F=sc("",Ts(M),null,"default"),Z=lc(u,F,l);if(!i2(H)&&H!=="HEAD"&&H!=="OPTIONS")throw ka(405,{method:H});if(!Z)throw ka(404,{pathname:F.pathname});let O=A?Z.find(ye=>ye.route.id===A):ef(Z,F);if(A&&!O)throw ka(403,{pathname:F.pathname,routeId:A});if(!O)throw ka(404,{pathname:F.pathname});let ae=yield m(w,F,Z,N,Y||null,!1,O);if(tu(ae))return ae;let _e=ae.errors?Object.values(ae.errors)[0]:void 0;if(_e!==void 0)throw _e;if(ae.actionData)return Object.values(ae.actionData)[0];if(ae.loaderData){var ee;let ye=Object.values(ae.loaderData)[0];return(ee=ae.activeDeferreds)!=null&&ee[O.route.id]&&(ye[NT]=ae.activeDeferreds[O.route.id]),ye}})}function m(w,k,A,N,Y,M,H){return Vr(this,null,function*(){Mr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Tl(w.method.toLowerCase()))return yield _(w,A,H||ef(A,k),N,Y,M,H!=null);let F=yield b(w,A,N,Y,M,H);return tu(F)?F:zr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(gW(F)&&tu(F.result)){if(F.type===Wr.error)throw F.result;return F.result}if(_W(F))return F;throw F}})}function _(w,k,A,N,Y,M,H){return Vr(this,null,function*(){let F;if(!A.route.action&&!A.route.lazy){let ae=ka(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:A.route.id});if(H)throw ae;F={type:Wr.error,error:ae}}else F=(yield S("action",w,[A],k,H,N,Y))[0],w.signal.aborted&&oT(w,H,f);if(au(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(ru(F)){let ae=ka(400,{type:"defer-action"});if(H)throw ae;F={type:Wr.error,error:ae}}if(H){if(Mn(F))throw F.error;return{matches:[A],loaderData:{},actionData:{[A.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Z=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(F)){let ae=M?A:Zu(k,A.route.id),_e=yield b(Z,k,N,Y,M,null,[ae.route.id,F]);return zr({},_e,{statusCode:Od(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:zr({},F.headers?{[A.route.id]:F.headers}:{})})}let O=yield b(Z,k,N,Y,M,null);return zr({},O,{actionData:{[A.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[A.route.id]:F.headers}:{}})})}function b(w,k,A,N,Y,M,H){return Vr(this,null,function*(){let F=M!=null;if(F&&!(M!=null&&M.route.loader)&&!(M!=null&&M.route.lazy))throw ka(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:M==null?void 0:M.route.id});let O=(M?[M]:H&&Mn(H[1])?OT(k,H[0]):k).filter(be=>be.route.loader||be.route.lazy);if(O.length===0)return{matches:k,loaderData:k.reduce((be,he)=>Object.assign(be,{[he.route.id]:null}),{}),errors:H&&Mn(H[1])?{[H[0]]:H[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let ae=yield S("loader",w,O,k,F,A,N);w.signal.aborted&&oT(w,F,f);let _e=new Map,ee=jT(k,O,ae,H,_e,Y),ye=new Set(O.map(be=>be.route.id));return k.forEach(be=>{ye.has(be.route.id)||(ee.loaderData[be.route.id]=null)}),zr({},ee,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,A,N,Y,M,H){return Vr(this,null,function*(){let F=yield zT(H||IT,w,k,A,N,o,s,M);return yield Promise.all(F.map((Z,O)=>{if(UT(Z)){let ae=Z.result;throw FT(ae,k,A[O].route.id,N,l,f.v7_relativeSplatPath)}if(tu(Z.result)&&Y)throw Z;return BT(Z)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function uW(r,a,o){return zr({},a,{statusCode:Od(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function oT(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 fW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function a2(r,a,o,l,s,f,u,h){let p,m;if(u){p=[];for(let b of a)if(p.push(b),b.route.id===u){m=b;break}}else p=a,m=a[a.length-1];let _=TT(s||".",kT(p,f),Yh(r.pathname,o)||r.pathname,h==="path");return s==null&&(_.search=r.search,_.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!c2(_.search)&&(_.search=_.search?_.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(_.pathname=_.pathname==="/"?o:Ld([o,_.pathname])),Ts(_)}function iT(r,a,o,l){if(!l||!fW(l))return{path:o};if(l.formMethod&&!i2(l.formMethod))return{path:o,error:ka(405,{method:l.formMethod})};let s=()=>({path:o,error:ka(400,{type:"invalid-body"})}),f=l.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=HT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Tl(u))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[A,N]=k;return""+w+A+"="+N+`
146
- `},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Tl(u))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Mr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=n2(l.formData),m=l.formData;else if(l.body instanceof FormData)p=n2(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=fT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=fT(p)}catch(S){return s()}let _={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Tl(_.formMethod))return{path:o,submission:_};let b=Jl(o);return a&&b.search&&c2(b.search)&&p.append("index",""),b.search="?"+p,{path:Ts(b),submission:_}}function OT(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 lT(r,a,o,l,s,f,u,h,p,m,_,b,S,w,k,A){let N=A?Mn(A[1])?A[1].error:A[1].data:void 0,Y=r.createURL(a.location),M=r.createURL(s),H=A&&Mn(A[1])?A[0]:void 0,F=H?OT(o,H):o,Z=A?A[1].statusCode:void 0,O=u&&Z&&Z>=400,ae=F.filter((ee,ye)=>{let{route:be}=ee;if(be.lazy)return!0;if(be.loader==null)return!1;if(f)return typeof be.loader!="function"||be.loader.hydrate?!0:a.loaderData[be.id]===void 0&&(!a.errors||a.errors[be.id]===void 0);if(dW(a.loaderData,a.matches[ye],ee)||p.some(le=>le===ee.route.id))return!0;let he=a.matches[ye],j=ee;return sT(ee,zr({currentUrl:Y,currentParams:he.params,nextUrl:M,nextParams:j.params},l,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h||Y.pathname+Y.search===M.pathname+M.search||Y.search!==M.search||MT(he,j)}))}),_e=[];return b.forEach((ee,ye)=>{if(f||!o.some(de=>de.route.id===ee.routeId)||_.has(ye))return;let be=lc(w,ee.path,k);if(!be){_e.push({key:ye,routeId:ee.routeId,path:ee.path,matches:null,match:null,controller:null});return}let he=a.fetchers.get(ye),j=ef(be,ee.path),le=!1;S.has(ye)?le=!1:m.has(ye)?(m.delete(ye),le=!0):he&&he.state!=="idle"&&he.data===void 0?le=h:le=sT(j,zr({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:M,nextParams:o[o.length-1].params},l,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h})),le&&_e.push({key:ye,routeId:ee.routeId,path:ee.path,matches:be,match:j,controller:new AbortController})}),[ae,_e]}function dW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function MT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function sT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function pW(r,a,o,l,s,f,u,h){return Vr(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=u.get(p);m||(m=r({path:a,matches:o,patch:(_,b)=>{h.aborted||PT(_,b,l,s,f)}}),u.set(p,m)),m&&vW(m)&&(yield m)}finally{u.delete(p)}})}function PT(r,a,o,l,s){if(r){var f;let u=l[r];Mr(u,"No route found to patch children into: routeId = "+r);let h=tf(a,s,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function cT(r,a,o){return Vr(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Mr(s,"No route found in manifest");let f={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";ks(!p,'Route "'+s.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+u+'" will be ignored.')),!p&&!NV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,zr({},a(s),{lazy:void 0}))})}function IT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function zT(r,a,o,l,s,f,u,h){return Vr(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,_=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return zr({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?hW(a,o,b,f,u,k,h):Promise.resolve({type:Wr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Mr(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),_.filter((b,S)=>p.has(s[S].route.id))})}function hW(r,a,o,l,s,f,u){return Vr(this,null,function*(){let h,p,m=_=>{let b,S=new Promise((A,N)=>b=N);p=()=>b(),a.signal.addEventListener("abort",p);let w=A=>typeof _!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):_({request:a,params:o.params,context:u},...A!==void 0?[A]:[]),k;return f?k=f(A=>w(A)):k=Vr(this,null,function*(){try{return{type:"data",result:yield w()}}catch(A){return{type:"error",result:A}}}),Promise.race([k,S])};try{let _=o.route[r];if(o.route.lazy)if(_){let b,[S]=yield Promise.all([m(_).catch(w=>{b=w}),cT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield cT(o.route,s,l),_=o.route[r],_)h=yield m(_);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw ka(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Wr.data,result:void 0};else if(_)h=yield m(_);else{let b=new URL(a.url),S=b.pathname+b.search;throw ka(404,{pathname:S})}Mr(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(_){return{type:Wr.error,result:_}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function BT(r){return Vr(this,null,function*(){let{result:a,type:o}=r;if(tu(a)){let m;try{let _=a.headers.get("Content-Type");_&&/\bapplication\/json\b/.test(_)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(_){return{type:Wr.error,error:_}}return o===Wr.error?{type:Wr.error,error:new Nd(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Wr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Wr.error){if(o2(a)){var l;if(a.data instanceof Error){var s;return{type:Wr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Nd(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Wr.error,error:a,statusCode:Od(a)?a.status:void 0}}if(VT(a)){var f,u;return{type:Wr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(o2(a)){var h,p;return{type:Wr.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:Wr.data,data:a}})}function FT(r,a,o,l,s,f){let u=r.headers.get("Location");if(Mr(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!s2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=a2(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function uT(r,a,o){if(s2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Yh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Dd(r,a,o,l){let s=r.createURL(HT(a)).toString(),f={signal:o};if(l&&Tl(l.formMethod)){let{formMethod:u,formEncType:h}=l;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=n2(l.formData):f.body=l.formData}return new Request(s,f)}function n2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function fT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function jT(r,a,o,l,s,f){let u={},h=null,p,m=!1,_={},b=l&&Mn(l[1])?l[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Mr(!au(S),"Cannot handle redirect results in processLoaderData"),Mn(S)){let A=S.error;if(b!==void 0&&(A=b,b=void 0),h=h||{},f)h[k]=A;else{let N=Zu(r,k);h[N.route.id]==null&&(h[N.route.id]=A)}u[k]=void 0,m||(m=!0,p=Od(S.error)?S.error.status:500),S.headers&&(_[k]=S.headers)}else ru(S)?(s.set(k,S.deferredData),u[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(_[k]=S.headers)):(u[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(_[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:_}}function dT(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=jT(a,o,l,s,h,!1);for(let _=0;_<f.length;_++){let{key:b,match:S,controller:w}=f[_];Mr(u!==void 0&&u[_]!==void 0,"Did not find corresponding fetcher result");let k=u[_];if(!(w&&w.signal.aborted))if(Mn(k)){let A=Zu(r.matches,S==null?void 0:S.route.id);m&&m[A.route.id]||(m=zr({},m,{[A.route.id]:k.error})),r.fetchers.delete(b)}else if(au(k))Mr(!1,"Unhandled fetcher revalidation redirect");else if(ru(k))Mr(!1,"Unhandled fetcher deferred data");else{let A=eu(k.data);r.fetchers.set(b,A)}}return{loaderData:p,errors:m}}function pT(r,a,o,l){let s=zr({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&f.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function hT(r){return r?Mn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Zu(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 Fg(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 ka(r,a){let{pathname:o,routeId:l,method:s,type:f,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
- `+u):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.":f==="defer-action"?p="defer() is not supported in actions":f==="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 Nd(r||500,h,new Error(p),!0)}function mT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(au(o))return{result:o,idx:a}}}function HT(r){let a=typeof r=="string"?Jl(r):r;return Ts(zr({},a,{hash:""}))}function mW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function vW(r){return typeof r=="object"&&r!=null&&"then"in r}function gW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Wr.data||r.type===Wr.error)}function UT(r){return tu(r.result)&&iW.has(r.result.status)}function ru(r){return r.type===Wr.deferred}function Mn(r){return r.type===Wr.error}function au(r){return(r&&r.type)===Wr.redirect}function o2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function VT(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 tu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function _W(r){if(!tu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function i2(r){return oW.has(r.toLowerCase())}function Tl(r){return aW.has(r.toLowerCase())}function vT(r,a,o,l,s,f){return Vr(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),_=m!=null&&!MT(m,p)&&(f&&f[p.route.id])!==void 0;if(ru(h)&&(s||_)){let b=l[u];Mr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield WT(h,b,s).then(S=>{S&&(o[u]=S||o[u])})}}})}function WT(r,a,o){return Vr(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Wr.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Wr.error,error:s}}return{type:Wr.data,data:r.deferredData.data}}})}function c2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Jl(a).search:a.search;if(r[r.length-1].route.index&&c2(o||""))return r[r.length-1];let l=xT(r);return l[l.length-1]}function gT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:u}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:u,text:void 0}}}function e2(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 bW(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 Wh(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 yW(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 eu(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 SW(r,a){try{let o=r.sessionStorage.getItem(LT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function wW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(LT,JSON.stringify(o))}catch(l){ks(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}lr.AbortedDeferredError=qh;lr.Action=za;lr.IDLE_BLOCKER=Ad;lr.IDLE_FETCHER=DT;lr.IDLE_NAVIGATION=zg;lr.UNSAFE_DEFERRED_SYMBOL=NT;lr.UNSAFE_DeferredData=Bg;lr.UNSAFE_ErrorResponseImpl=Nd;lr.UNSAFE_convertRouteMatchToUiMatch=bT;lr.UNSAFE_convertRoutesToDataRoutes=tf;lr.UNSAFE_decodePath=wT;lr.UNSAFE_getResolveToMatches=kT;lr.UNSAFE_invariant=Mr;lr.UNSAFE_warning=ks;lr.createBrowserHistory=DV;lr.createHashHistory=AV;lr.createMemoryHistory=RV;lr.createPath=Ts;lr.createRouter=sW;lr.createStaticHandler=cW;lr.defer=eW;lr.generatePath=WV;lr.getStaticContextFromError=uW;lr.getToPathname=$V;lr.isDataWithResponseInit=o2;lr.isDeferredData=VT;lr.isRouteErrorResponse=Od;lr.joinPaths=Ld;lr.json=XV;lr.matchPath=t2;lr.matchRoutes=lc;lr.normalizePathname=ET;lr.parsePath=Jl;lr.redirect=l2;lr.redirectDocument=tW;lr.replace=rW;lr.resolvePath=CT;lr.resolveTo=TT;lr.stripBasename=Yh;lr.unstable_data=QV});var YT=Ue((jg,qT)=>{(function(r,a){typeof jg=="object"&&typeof qT!="undefined"?a(jg,fr(),u2()):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))})(jg,function(r,a,o){"use strict";function l($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let u=s.createContext(null);u.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let _=s.createContext(null);_.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.createContext(null);S.displayName="RouteError";function w($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=s.useContext(m),{hash:oe,pathname:ne,search:Oe}=ye($,{relative:R}),Pe=ne;return z!=="/"&&(Pe=ne==="/"?z:o.joinPaths([z,ne])),G.createHref({pathname:Pe,search:Oe,hash:oe})}function k(){return s.useContext(_)!=null}function A(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(_).location}function N(){return s.useContext(_).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=A();return s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let M="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function H($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?tr():Z()}function Z(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(u),{basename:P,future:R,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:oe}=A(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=s.useRef(!1);return H(()=>{Oe.current=!0}),s.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,M),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(ne),oe,We.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(We.replace?z.replace:z.push)(Ae,We.state,We)},[P,z,ne,oe,$])}let O=s.createContext(null);function ae(){return s.useContext(O)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(O.Provider,{value:$},P)}function ee(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function ye($,P){let{relative:R}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:oe}=A(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(ne),oe,R==="path"),[$,ne,oe,R])}function be($,P){return he($,P)}function he($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:oe}=s.useContext(b),ne=oe[oe.length-1],Oe=ne?ne.params:{},Pe=ne?ne.pathname:"/",Me=ne?ne.pathnameBase:"/",We=ne&&ne.route;{let Be=We&&We.path||"";dr(Pe,!We||Be.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Be+'">) 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.
144
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var y=yk(e,kv,null,n,i,c,d);_v(y.current,e);var C=e.nodeType===Ja?e.parentNode:e;return Yp(C),new $0(y)}function Ag(e){this._internalRoot=e}function aV(e){e&&pz(e)}Ag.prototype.unstable_scheduleHydration=aV;function nV(e,t,n){if(!Lg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Uk(e),t===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,c=n!=null&&n.hydratedSources||null,d=!1,g=!1,y="",C=Hk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=Sk(t,null,e,kv,i,d,g,y,C);if(_v(E.current,e),Yp(e),c)for(var L=0;L<c.length;L++){var Z=c[L];aj(E,Z)}return new Ag(E)}function Lg(e){return!!(e&&(e.nodeType===bo||e.nodeType===Hs||e.nodeType===Z_||!ge))}function Hh(e){return!!(e&&(e.nodeType===bo||e.nodeType===Hs||e.nodeType===Z_||e.nodeType===Ja&&e.nodeValue===" react-mount-point-unstable "))}function Uk(e){e.nodeType===bo&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("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."),ah(e)&&(e._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("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 oV=o.ReactCurrentOwner,Vk;Vk=function(e){if(e._reactRootContainer&&e.nodeType!==Ja){var t=Ck(e._reactRootContainer.current);t&&t.parentNode!==e&&u("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=G0(e),c=!!(i&&Bc(i));c&&!n&&u("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===bo&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("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 G0(e){return e?e.nodeType===Hs?e.documentElement:e.firstChild:null}function Wk(){}function iV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var J=Dg(g);d.call(J)}}var g=Sk(t,i,e,jc,null,!1,!1,"",Wk);e._reactRootContainer=g,_v(g.current,e);var y=e.nodeType===Ja?e.parentNode:e;return Yp(y),nc(),g}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var J=Dg(L);E.call(J)}}var L=yk(e,jc,null,!1,!1,"",Wk);e._reactRootContainer=L,_v(L.current,e);var Z=e.nodeType===Ja?e.parentNode:e;return Yp(Z),nc(function(){jh(t,L,n,i)}),L}}function lV(e,t){e!==null&&typeof e!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Ng(e,t,n,i,c){Vk(n),lV(c===void 0?null:c,"render");var d=n._reactRootContainer,g;if(!d)g=iV(n,t,e,c,i);else{if(g=d,typeof c=="function"){var y=c;c=function(){var C=Dg(g);y.call(C)}}jh(t,g,e,c)}return Dg(g)}var qk=!1;function sV(e){{qk||(qk=!0,u("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=oV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||u("%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.",Vr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===bo?e:YU(e,"findDOMNode")}function cV(e,t,n){if(u("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"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("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 Ng(null,e,t,!0,n)}function uV(e,t,n){if(u("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"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("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 Ng(null,e,t,!1,n)}function fV(e,t,n,i){if(u("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"),!Hh(n))throw new Error("Target container is not a DOM element.");if(e==null||!ZP(e))throw new Error("parentComponent must be a valid React Component");return Ng(e,t,n,!1,i)}var Yk=!1;function dV(e){if(Yk||(Yk=!0,u("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")),!Hh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ah(e)&&e._reactRootContainer===void 0;t&&u("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=G0(e),i=n&&!Bc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return nc(function(){Ng(null,null,e,!1,function(){e._reactRootContainer=null,jC(e)})}),!0}else{{var c=G0(e),d=!!(c&&Bc(c)),g=e.nodeType===bo&&Hh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&u("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}}az($U),oz(GU),iz(KU),lz(jl),sz(ez),(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")&&u("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"),UP(c9),qP(k0,nU,nc);function pV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Lg(t))throw new Error("Target container is not a DOM element.");return qU(e,t,null,n)}function hV(e,t,n,i){return fV(e,t,n,i)}var K0={usingClientEntryPoint:!1,Events:[Bc,ad,bv,a3,n3,k0]};function mV(e,t){return K0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t)}function vV(e,t,n){return K0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nV(e,t,n)}function gV(e){return Z4()&&u("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."),nc(e)}var _V=tV({findFiberByHostInstance:zu,bundleType:1,version:U0,rendererPackageName:"react-dom"});if(!_V&&st&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var $k=window.location.protocol;/^(https?|file):$/.test($k)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+($k==="file:"?`
145
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K0,Wo.createPortal=pV,Wo.createRoot=mV,Wo.findDOMNode=sV,Wo.flushSync=gV,Wo.hydrate=cV,Wo.hydrateRoot=vV,Wo.render=uV,Wo.unmountComponentAtNode=dV,Wo.unstable_batchedUpdates=k0,Wo.unstable_renderSubtreeIntoContainer=hV,Wo.version=U0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var X0=Ue((J$,eT)=>{"use strict";eT.exports=Zk()});var tT=Ue(J0=>{"use strict";var Q0=X0();Vh=Q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J0.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return Q0.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},J0.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return Q0.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var u2=Ue(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});function Br(){return Br=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},Br.apply(this,arguments)}var Fa=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),rT="popstate";function RV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>_(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),u=Fa.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function _(w,k,R){k===void 0&&(k=null);let N=sc(s?m().pathname:"/",w,k,R);return ks(N.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),N}function b(w){return typeof w=="string"?w:Ts(w)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Jl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=Fa.Push;let R=_(w,k);f+=1,s.splice(f,s.length,R),l&&h&&h({action:u,location:R,delta:1})},replace(w,k){u=Fa.Replace;let R=_(w,k);s[f]=R,l&&h&&h({action:u,location:R,delta:0})},go(w){u=Fa.Pop;let k=p(f+w),R=s[k];f=k,h&&h({action:u,location:R,delta:w})},listen(w){return h=w,()=>{h=null}}}}function DV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:u,hash:h}=l.location;return sc("",{pathname:f,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Ts(s)}return _T(a,o,null,r)}function AV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=Jl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),sc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:Ts(f))}function l(s,f){ks(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return _T(a,o,l,r)}function Mr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function ks(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function LV(){return Math.random().toString(36).substr(2,8)}function aT(r,a){return{usr:r.state,key:r.key,idx:a}}function sc(r,a,o,l){return o===void 0&&(o=null),Br({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Jl(a):a,{state:o,key:a&&a.key||l||LV()})}function Ts(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 Jl(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 _T(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,u=s.history,h=Fa.Pop,p=null,m=_();m==null&&(m=0,u.replaceState(Br({},u.state,{idx:m}),""));function _(){return(u.state||{idx:null}).idx}function b(){h=Fa.Pop;let N=_(),W=N==null?null:N-m;m=N,p&&p({action:h,location:R.location,delta:W})}function S(N,W){h=Fa.Push;let O=sc(R.location,N,W);o&&o(O,N),m=_()+1;let j=aT(O,m),F=R.createHref(O);try{u.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:R.location,delta:1})}function w(N,W){h=Fa.Replace;let O=sc(R.location,N,W);o&&o(O,N),m=_();let j=aT(O,m),F=R.createHref(O);u.replaceState(j,"",F),f&&p&&p({action:h,location:R.location,delta:0})}function k(N){let W=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof N=="string"?N:Ts(N);return O=O.replace(/ $/,"%20"),Mr(W,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,W)}let R={get action(){return h},get location(){return r(s,u)},listen(N){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(rT,b),p=N,()=>{s.removeEventListener(rT,b),p=null}},createHref(N){return a(s,N)},createURL:k,encodeLocation(N){let W=k(N);return{pathname:W.pathname,search:W.search,hash:W.hash}},push:S,replace:w,go(N){return u.go(N)}};return R}var Yr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),NV=new Set(["lazy","caseSensitive","path","id","index","children"]);function OV(r){return r.index===!0}function tf(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let u=[...o,String(f)],h=typeof s.id=="string"?s.id:u.join("-");if(Mr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Mr(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),OV(s)){let p=Br({},s,a(s),{id:h});return l[h]=p,p}else{let p=Br({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=tf(s.children,a,u,l)),p}})}function lc(r,a,o){return o===void 0&&(o="/"),Ig(r,a,o,!1)}function Ig(r,a,o,l){let s=typeof a=="string"?Jl(a):a,f=Yh(s.pathname||"/",o);if(f==null)return null;let u=yT(r);MV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=wT(f);h=VV(u[p],m,l)}return h}function bT(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 yT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,u,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:u,route:f};p.relativePath.startsWith("/")&&(Mr(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 m=Ld([l,p.relativePath]),_=o.concat(p);f.children&&f.children.length>0&&(Mr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),yT(f.children,a,_,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:HV(m,f.index),routesMeta:_})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of ST(f.path))s(f,u,p)}),a}function ST(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let u=ST(l.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function MV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:UV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var PV=/^:[\w-]+$/,IV=3,zV=2,BV=1,FV=10,jV=-2,nT=r=>r==="*";function HV(r,a){let o=r.split("/"),l=o.length;return o.some(nT)&&(l+=jV),a&&(l+=zV),o.filter(s=>!nT(s)).reduce((s,f)=>s+(PV.test(f)?IV:f===""?BV:FV),l)}function UV(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 VV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,_=f==="/"?a:a.slice(f.length)||"/",b=t2({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},_),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=t2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},_)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Ld([f,b.pathname]),pathnameBase:ET(Ld([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ld([f,b.pathnameBase]))}return u}function WV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(ks(!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=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let _=u.match(/^:([\w-]+)(\??)$/);if(_){let[,b,S]=_,w=a[b];return Mr(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function t2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=qV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,_,b)=>{let{paramName:S,isOptional:w}=_;if(S==="*"){let R=h[b]||"";u=f.slice(0,f.length-R.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function qV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),ks(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,(u,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 wT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ks(!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 Yh(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 CT(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Jl(r):r;return{pathname:o?o.startsWith("/")?o:YV(o,a):a,search:GV(l),hash:KV(s)}}function YV(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 Z0(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 xT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function kT(r,a){let o=xT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function TT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Jl(r):(s=Br({},r),Mr(!s.pathname||!s.pathname.includes("?"),Z0("?","pathname","search",s)),Mr(!s.pathname||!s.pathname.includes("#"),Z0("#","pathname","hash",s)),Mr(!s.search||!s.search.includes("#"),Z0("#","search","hash",s)));let f=r===""||s.pathname==="",u=f?"/":s.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!l&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=CT(s,h),m=u&&u!=="/"&&u.endsWith("/"),_=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||_)&&(p.pathname+="/"),p}function $V(r){return r===""||r.pathname===""?"/":typeof r=="string"?Jl(r).pathname:r.pathname}var Ld=r=>r.join("/").replace(/\/\/+/g,"/"),ET=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),GV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,KV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,XV=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),Br({},l,{headers:s}))},r2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function QV(r,a){return new r2(r,typeof a=="number"?{status:a}:a)}var qh=class extends Error{},Bg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Mr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,u)=>l=u),this.controller=new AbortController;let s=()=>l(new qh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,u)=>{let[h,p]=u;return Object.assign(f,{[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 qh)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 f=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:()=>f}),this.emit(!1,o),Promise.reject(f)}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 qr(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Mr(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]:ZV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function JV(r){return r instanceof Promise&&r._tracked===!0}function ZV(r){if(!JV(r))return r;if(r._error)throw r._error;return r._data}var eW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new Bg(a,l)},l2=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,Br({},l,{headers:s}))},tW=(r,a)=>{let o=l2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},rW=(r,a)=>{let o=l2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Nd=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 Od(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var RT=["post","put","patch","delete"],aW=new Set(RT),nW=["get",...RT],oW=new Set(nW),iW=new Set([301,302,303,307,308]),lW=new Set([307,308]),zg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},DT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ad={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},s2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,AT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),LT="remix-router-transitions";function sW(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;Mr(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 I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=AT;let f={},u=tf(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||IT,_=r.unstable_patchRoutesOnMiss,b=Br({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,R=null,N=null,W=r.hydrationData!=null,O=lc(u,r.history.location,p),j=null;if(O==null&&!_){let I=Ta(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=Fg(u);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,u,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,M={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:zg,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||j,fetchers:new Map,blockers:new Map},te=Fa.Pop,_e=!1,ee,de=!1,pe=new Map,ve=null,H=!1,le=!1,fe=[],B=new Set,q=new Map,ie=0,re=-1,he=new Map,we=new Set,ge=new Map,je=new Map,We=new Set,Ke=new Map,tt=new Map,dt=new Map,lt=!1;function $t(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(lt){lt=!1;return}ks(tt.size===0||se!=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 Ve=P({currentLocation:M.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){lt=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Be=new Map(M.blockers);Be.set(Ve,Ad),Ce({blockers:Be})}});return}return Nt(V,ae)}),o){SW(a,pe);let I=()=>wW(a,pe);a.addEventListener("pagehide",I),ve=()=>a.removeEventListener("pagehide",I)}return M.initialized||Nt(Fa.Pop,M.location,{initialHydration:!0}),Q}function Pt(){S&&S(),ve&&ve(),w.clear(),ee&&ee.abort(),M.fetchers.forEach((I,V)=>ze(V)),M.blockers.forEach((I,V)=>Kr(V))}function Ge(I){return w.add(I),()=>w.delete(I)}function Ce(I,V){V===void 0&&(V={}),M=Br({},M,I);let ae=[],se=[];b.v7_fetcherPersist&&M.fetchers.forEach((Ve,Be)=>{Ve.state==="idle"&&(We.has(Be)?se.push(Be):ae.push(Be))}),[...w].forEach(Ve=>Ve(M,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>M.fetchers.delete(Ve)),se.forEach(Ve=>ze(Ve)))}function st(I,V,ae){var se,Ve;let{flushSync:Be}=ae===void 0?{}:ae,A=M.actionData!=null&&M.navigation.formMethod!=null&&Tl(M.navigation.formMethod)&&M.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,Y;V.actionData?Object.keys(V.actionData).length>0?Y=V.actionData:Y=null:A?Y=M.actionData:Y=null;let me=V.loaderData?pT(M.loaderData,V.loaderData,V.matches||[],V.errors):M.loaderData,Te=M.blockers;Te.size>0&&(Te=new Map(Te),Te.forEach((Ze,Xe)=>Te.set(Xe,Ad)));let He=_e===!0||M.navigation.formMethod!=null&&Tl(M.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||te===Fa.Pop||(te===Fa.Push?r.history.push(I,I.state):te===Fa.Replace&&r.history.replace(I,I.state));let ft;if(te===Fa.Pop){let Ze=pe.get(M.location.pathname);Ze&&Ze.has(I.pathname)?ft={currentLocation:M.location,nextLocation:I}:pe.has(I.pathname)&&(ft={currentLocation:I,nextLocation:M.location})}else if(de){let Ze=pe.get(M.location.pathname);Ze?Ze.add(I.pathname):(Ze=new Set([I.pathname]),pe.set(M.location.pathname,Ze)),ft={currentLocation:M.location,nextLocation:I}}Ce(Br({},V,{actionData:Y,loaderData:me,historyAction:te,location:I,initialized:!0,navigation:zg,revalidation:"idle",restoreScrollPosition:Pe(I,V.matches||M.matches),preventScrollReset:He,blockers:Te}),{viewTransitionOpts:ft,flushSync:Be===!0}),te=Fa.Pop,_e=!1,de=!1,H=!1,le=!1,fe=[]}function wt(I,V){return qr(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=a2(M.location,M.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Be}=iT(b.v7_normalizeFormMethod,!1,ae,V),A=M.location,Y=sc(M.location,se,V&&V.state);Y=Br({},Y,r.history.encodeLocation(Y));let me=V&&V.replace!=null?V.replace:void 0,Te=Fa.Push;me===!0?Te=Fa.Replace:me===!1||Ve!=null&&Tl(Ve.formMethod)&&Ve.formAction===M.location.pathname+M.location.search&&(Te=Fa.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Ze=P({currentLocation:A,nextLocation:Y,historyAction:Te});if(Ze){$(Ze,{state:"blocked",location:Y,proceed(){$(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),wt(I,V)},reset(){let Xe=new Map(M.blockers);Xe.set(Ze,Ad),Ce({blockers:Xe})}});return}return yield Nt(Te,Y,{submission:Ve,pendingError:Be,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function kt(){if(kr(),Ce({revalidation:"loading"}),M.navigation.state!=="submitting"){if(M.navigation.state==="idle"){Nt(M.historyAction,M.location,{startUninterruptedRevalidation:!0});return}Nt(te||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation})}}function Nt(I,V,ae){return qr(this,null,function*(){ee&&ee.abort(),ee=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(M.location,M.matches),_e=(ae&&ae.preventScrollReset)===!0,de=(ae&&ae.enableViewTransition)===!0;let se=h||u,Ve=ae&&ae.overrideNavigation,Be=lc(se,V,p),A=(ae&&ae.flushSync)===!0,Y=Me(Be,se,V.pathname);if(Y.active&&Y.matches&&(Be=Y.matches),!Be){let{error:Ct,notFoundMatches:Tt,route:Wt}=D(V.pathname);st(V,{matches:Tt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:A});return}if(M.initialized&&!le&&mW(M.location,V)&&!(ae&&ae.submission&&Tl(ae.submission.formMethod))){st(V,{matches:Be},{flushSync:A});return}ee=new AbortController;let me=Dd(r.history,V,ee.signal,ae&&ae.submission),Te;if(ae&&ae.pendingError)Te=[Zu(Be).route.id,{type:Yr.error,error:ae.pendingError}];else if(ae&&ae.submission&&Tl(ae.submission.formMethod)){let Ct=yield At(me,V,ae.submission,Be,Y.active,{replace:ae.replace,flushSync:A});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[Tt,Wt]=Ct.pendingActionResult;if(Pn(Wt)&&Od(Wt.error)&&Wt.error.status===404){ee=null,st(V,{matches:Ct.matches,loaderData:{},errors:{[Tt]:Wt.error}});return}}Be=Ct.matches||Be,Te=Ct.pendingActionResult,Ve=e2(V,ae.submission),A=!1,Y.active=!1,me=Dd(r.history,me.url,me.signal)}let{shortCircuited:He,matches:ft,loaderData:Ze,errors:Xe}=yield tr(me,V,Be,Y.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,A,Te);He||(ee=null,st(V,Br({matches:ft||Be},hT(Te),{loaderData:Ze,errors:Xe})))})}function At(I,V,ae,se,Ve,Be){return qr(this,null,function*(){Be===void 0&&(Be={}),kr();let A=bW(V,ae);if(Ce({navigation:A},{flushSync:Be.flushSync===!0}),Ve){let Te=yield qe(se,V.pathname,I.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,Te);return{matches:Te.partialMatches,pendingActionResult:[He,{type:Yr.error,error:ft}]}}else if(Te.matches)se=Te.matches;else{let{notFoundMatches:He,error:ft,route:Ze}=D(V.pathname);return{matches:He,pendingActionResult:[Ze.id,{type:Yr.error,error:ft}]}}}let Y,me=ef(se,V);if(!me.route.action&&!me.route.lazy)Y={type:Yr.error,error:Ta(405,{method:I.method,pathname:V.pathname,routeId:me.route.id})};else if(Y=(yield br("action",I,[me],se))[0],I.signal.aborted)return{shortCircuited:!0};if(au(Y)){let Te;return Be&&Be.replace!=null?Te=Be.replace:Te=uT(Y.response.headers.get("Location"),new URL(I.url),p)===M.location.pathname+M.location.search,yield pr(I,Y,{submission:ae,replace:Te}),{shortCircuited:!0}}if(ru(Y))throw Ta(400,{type:"defer-action"});if(Pn(Y)){let Te=Zu(se,me.route.id);return(Be&&Be.replace)!==!0&&(te=Fa.Push),{matches:se,pendingActionResult:[Te.route.id,Y]}}return{matches:se,pendingActionResult:[me.route.id,Y]}})}function tr(I,V,ae,se,Ve,Be,A,Y,me,Te,He){return qr(this,null,function*(){let ft=Ve||e2(V,Be),Ze=Be||A||gT(ft),Xe=!H&&(!b.v7_partialHydration||!me);if(se){if(Xe){let oa=rr(He);Ce(Br({navigation:ft},oa!==void 0?{actionData:oa}:{}),{flushSync:Te})}let Jt=yield qe(ae,V.pathname,I.signal);if(Jt.type==="aborted")return{shortCircuited:!0};if(Jt.type==="error"){let{boundaryId:oa,error:tn}=z(V.pathname,Jt);return{matches:Jt.partialMatches,loaderData:{},errors:{[oa]:tn}}}else if(Jt.matches)ae=Jt.matches;else{let{error:oa,notFoundMatches:tn,route:Qr}=D(V.pathname);return{matches:tn,loaderData:{},errors:{[Qr.id]:oa}}}}let Ct=h||u,[Tt,Wt]=lT(r.history,M,ae,Ze,V,b.v7_partialHydration&&me===!0,b.v7_skipActionErrorRevalidation,le,fe,B,We,ge,we,Ct,p,He);if(G(Jt=>!(ae&&ae.some(oa=>oa.route.id===Jt))||Tt&&Tt.some(oa=>oa.route.id===Jt)),re=++ie,Tt.length===0&&Wt.length===0){let Jt=Vt();return st(V,Br({matches:ae,loaderData:{},errors:He&&Pn(He[1])?{[He[0]]:He[1].error}:null},hT(He),Jt?{fetchers:new Map(M.fetchers)}:{}),{flushSync:Te}),{shortCircuited:!0}}if(Xe){let Jt={};if(!se){Jt.navigation=ft;let oa=rr(He);oa!==void 0&&(Jt.actionData=oa)}Wt.length>0&&(Jt.fetchers=Fr(Wt)),Ce(Jt,{flushSync:Te})}Wt.forEach(Jt=>{q.has(Jt.key)&&bt(Jt.key),Jt.controller&&q.set(Jt.key,Jt.controller)});let Xr=()=>Wt.forEach(Jt=>bt(Jt.key));ee&&ee.signal.addEventListener("abort",Xr);let{loaderResults:qa,fetcherResults:ia}=yield ha(M.matches,ae,Tt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",Xr),Wt.forEach(Jt=>q.delete(Jt.key));let la=mT([...qa,...ia]);if(la){if(la.idx>=Tt.length){let Jt=Wt[la.idx-Tt.length].key;we.add(Jt)}return yield pr(I,la.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Qa,errors:Ot}=dT(M,ae,Tt,qa,He,Wt,ia,Ke);Ke.forEach((Jt,oa)=>{Jt.subscribe(tn=>{(tn||Jt.done)&&Ke.delete(oa)})}),b.v7_partialHydration&&me&&M.errors&&Object.entries(M.errors).filter(Jt=>{let[oa]=Jt;return!Tt.some(tn=>tn.route.id===oa)}).forEach(Jt=>{let[oa,tn]=Jt;Ot=Object.assign(Ot||{},{[oa]:tn})});let Yn=Vt(),us=Ar(re),fs=Yn||us||Wt.length>0;return Br({matches:ae,loaderData:Qa,errors:Ot},fs?{fetchers:new Map(M.fetchers)}:{})})}function rr(I){if(I&&!Pn(I[1]))return{[I[0]]:I[1].data};if(M.actionData)return Object.keys(M.actionData).length===0?null:M.actionData}function Fr(I){return I.forEach(V=>{let ae=M.fetchers.get(V.key),se=Wh(void 0,ae?ae.data:void 0);M.fetchers.set(V.key,se)}),new Map(M.fetchers)}function Ur(I,V,ae,se){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.");q.has(I)&&bt(I);let Ve=(se&&se.unstable_flushSync)===!0,Be=h||u,A=a2(M.location,M.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),Y=lc(Be,A,p),me=Me(Y,Be,A);if(me.active&&me.matches&&(Y=me.matches),!Y){Ir(I,V,Ta(404,{pathname:A}),{flushSync:Ve});return}let{path:Te,submission:He,error:ft}=iT(b.v7_normalizeFormMethod,!0,A,se);if(ft){Ir(I,V,ft,{flushSync:Ve});return}let Ze=ef(Y,Te);if(_e=(se&&se.preventScrollReset)===!0,He&&Tl(He.formMethod)){Gr(I,V,Te,Ze,Y,me.active,Ve,He);return}ge.set(I,{routeId:V,path:Te}),xr(I,V,Te,Ze,Y,me.active,Ve,He)}function Gr(I,V,ae,se,Ve,Be,A,Y){return qr(this,null,function*(){kr(),ge.delete(I);function me(Qr){if(!Qr.route.action&&!Qr.route.lazy){let $n=Ta(405,{method:Y.formMethod,pathname:ae,routeId:V});return Ir(I,V,$n,{flushSync:A}),!0}return!1}if(!Be&&me(se))return;let Te=M.fetchers.get(I);vr(I,yW(Y,Te),{flushSync:A});let He=new AbortController,ft=Dd(r.history,ae,He.signal,Y);if(Be){let Qr=yield qe(Ve,ae,ft.signal);if(Qr.type==="aborted")return;if(Qr.type==="error"){let{error:$n}=z(ae,Qr);Ir(I,V,$n,{flushSync:A});return}else if(Qr.matches){if(Ve=Qr.matches,se=ef(Ve,ae),me(se))return}else{Ir(I,V,Ta(404,{pathname:ae}),{flushSync:A});return}}q.set(I,He);let Ze=ie,Ct=(yield br("action",ft,[se],Ve))[0];if(ft.signal.aborted){q.get(I)===He&&q.delete(I);return}if(b.v7_fetcherPersist&&We.has(I)){if(au(Ct)||Pn(Ct)){vr(I,eu(void 0));return}}else{if(au(Ct))if(q.delete(I),re>Ze){vr(I,eu(void 0));return}else return we.add(I),vr(I,Wh(Y)),pr(ft,Ct,{fetcherSubmission:Y});if(Pn(Ct)){Ir(I,V,Ct.error);return}}if(ru(Ct))throw Ta(400,{type:"defer-action"});let Tt=M.navigation.location||M.location,Wt=Dd(r.history,Tt,He.signal),Xr=h||u,qa=M.navigation.state!=="idle"?lc(Xr,M.navigation.location,p):M.matches;Mr(qa,"Didn't find any matches after fetcher action");let ia=++ie;he.set(I,ia);let la=Wh(Y,Ct.data);M.fetchers.set(I,la);let[Qa,Ot]=lT(r.history,M,qa,Y,Tt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,We,ge,we,Xr,p,[se.route.id,Ct]);Ot.filter(Qr=>Qr.key!==I).forEach(Qr=>{let $n=Qr.key,Su=M.fetchers.get($n),ip=Wh(void 0,Su?Su.data:void 0);M.fetchers.set($n,ip),q.has($n)&&bt($n),Qr.controller&&q.set($n,Qr.controller)}),Ce({fetchers:new Map(M.fetchers)});let Yn=()=>Ot.forEach(Qr=>bt(Qr.key));He.signal.addEventListener("abort",Yn);let{loaderResults:us,fetcherResults:fs}=yield ha(M.matches,qa,Qa,Ot,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",Yn),he.delete(I),q.delete(I),Ot.forEach(Qr=>q.delete(Qr.key));let Jt=mT([...us,...fs]);if(Jt){if(Jt.idx>=Qa.length){let Qr=Ot[Jt.idx-Qa.length].key;we.add(Qr)}return pr(Wt,Jt.result)}let{loaderData:oa,errors:tn}=dT(M,M.matches,Qa,us,void 0,Ot,fs,Ke);if(M.fetchers.has(I)){let Qr=eu(Ct.data);M.fetchers.set(I,Qr)}Ar(ia),M.navigation.state==="loading"&&ia>re?(Mr(te,"Expected pending action"),ee&&ee.abort(),st(M.navigation.location,{matches:qa,loaderData:oa,errors:tn,fetchers:new Map(M.fetchers)})):(Ce({errors:tn,loaderData:pT(M.loaderData,oa,qa,tn),fetchers:new Map(M.fetchers)}),le=!1)})}function xr(I,V,ae,se,Ve,Be,A,Y){return qr(this,null,function*(){let me=M.fetchers.get(I);vr(I,Wh(Y,me?me.data:void 0),{flushSync:A});let Te=new AbortController,He=Dd(r.history,ae,Te.signal);if(Be){let Ct=yield qe(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:Tt}=z(ae,Ct);Ir(I,V,Tt,{flushSync:A});return}else if(Ct.matches)Ve=Ct.matches,se=ef(Ve,ae);else{Ir(I,V,Ta(404,{pathname:ae}),{flushSync:A});return}}q.set(I,Te);let ft=ie,Xe=(yield br("loader",He,[se],Ve))[0];if(ru(Xe)&&(Xe=(yield WT(Xe,He.signal,!0))||Xe),q.get(I)===Te&&q.delete(I),!He.signal.aborted){if(We.has(I)){vr(I,eu(void 0));return}if(au(Xe))if(re>ft){vr(I,eu(void 0));return}else{we.add(I),yield pr(He,Xe);return}if(Pn(Xe)){Ir(I,V,Xe.error);return}Mr(!ru(Xe),"Unhandled fetcher deferred data"),vr(I,eu(Xe.data))}})}function pr(I,V,ae){return qr(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Be}=ae===void 0?{}:ae;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let A=V.response.headers.get("Location");Mr(A,"Expected a Location header on the redirect Response"),A=uT(A,new URL(I.url),p);let Y=sc(M.location,A,{_isRedirect:!0});if(o){let Xe=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(s2.test(A)){let Ct=r.history.createURL(A);Xe=Ct.origin!==a.location.origin||Yh(Ct.pathname,p)==null}if(Xe){Be?a.location.replace(A):a.location.assign(A);return}}ee=null;let me=Be===!0||V.response.headers.has("X-Remix-Replace")?Fa.Replace:Fa.Push,{formMethod:Te,formAction:He,formEncType:ft}=M.navigation;!se&&!Ve&&Te&&He&&ft&&(se=gT(M.navigation));let Ze=se||Ve;if(lW.has(V.response.status)&&Ze&&Tl(Ze.formMethod))yield Nt(me,Y,{submission:Br({},Ze,{formAction:A}),preventScrollReset:_e});else{let Xe=e2(Y,se);yield Nt(me,Y,{overrideNavigation:Xe,fetcherSubmission:Ve,preventScrollReset:_e})}})}function br(I,V,ae,se){return qr(this,null,function*(){try{let Ve=yield zT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Be,A)=>{if(UT(Be)){let Y=Be.result;return{type:Yr.redirect,response:FT(Y,V,ae[A].route.id,se,p,b.v7_relativeSplatPath)}}return BT(Be)}))}catch(Ve){return ae.map(()=>({type:Yr.error,error:Ve}))}})}function ha(I,V,ae,se,Ve){return qr(this,null,function*(){let[Be,...A]=yield Promise.all([ae.length?br("loader",Ve,ae,V):[],...se.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let me=Dd(r.history,Y.path,Y.controller.signal);return br("loader",me,[Y.match],Y.matches).then(Te=>Te[0])}else return Promise.resolve({type:Yr.error,error:Ta(404,{pathname:Y.path})})})]);return yield Promise.all([vT(I,ae,Be,Be.map(()=>Ve.signal),!1,M.loaderData),vT(I,se.map(Y=>Y.match),A,se.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:Be,fetcherResults:A}})}function kr(){le=!0,fe.push(...G()),ge.forEach((I,V)=>{q.has(V)&&(B.add(V),bt(V))})}function vr(I,V,ae){ae===void 0&&(ae={}),M.fetchers.set(I,V),Ce({fetchers:new Map(M.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Ir(I,V,ae,se){se===void 0&&(se={});let Ve=Zu(M.matches,V);ze(I),Ce({errors:{[Ve.route.id]:ae},fetchers:new Map(M.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function ba(I){return b.v7_fetcherPersist&&(je.set(I,(je.get(I)||0)+1),We.has(I)&&We.delete(I)),M.fetchers.get(I)||DT}function ze(I){let V=M.fetchers.get(I);q.has(I)&&!(V&&V.state==="loading"&&he.has(I))&&bt(I),ge.delete(I),he.delete(I),we.delete(I),We.delete(I),B.delete(I),M.fetchers.delete(I)}function ct(I){if(b.v7_fetcherPersist){let V=(je.get(I)||0)-1;V<=0?(je.delete(I),We.add(I)):je.set(I,V)}else ze(I);Ce({fetchers:new Map(M.fetchers)})}function bt(I){let V=q.get(I);Mr(V,"Expected fetch controller: "+I),V.abort(),q.delete(I)}function Gt(I){for(let V of I){let ae=ba(V),se=eu(ae.data);M.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of we){let se=M.fetchers.get(ae);Mr(se,"Expected fetcher: "+ae),se.state==="loading"&&(we.delete(ae),I.push(ae),V=!0)}return Gt(I),V}function Ar(I){let V=[];for(let[ae,se]of he)if(se<I){let Ve=M.fetchers.get(ae);Mr(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),he.delete(ae),V.push(ae))}return Gt(V),V.length>0}function gr(I,V){let ae=M.blockers.get(I)||Ad;return tt.get(I)!==V&&tt.set(I,V),ae}function Kr(I){M.blockers.delete(I),tt.delete(I)}function $(I,V){let ae=M.blockers.get(I)||Ad;Mr(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(M.blockers);se.set(I,V),Ce({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(tt.size===0)return;tt.size>1&&ks(!1,"A router only supports one blocker at a time");let Ve=Array.from(tt.entries()),[Be,A]=Ve[Ve.length-1],Y=M.blockers.get(Be);if(!(Y&&Y.state==="proceeding")&&A({currentLocation:V,nextLocation:ae,historyAction:se}))return Be}function D(I){let V=Ta(404,{pathname:I}),ae=h||u,{matches:se,route:Ve}=Fg(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:Ta(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Ke.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Ke.delete(se))}),V}function oe(I,V,ae){if(k=I,N=V,R=ae||null,!W&&M.navigation===zg){W=!0;let se=Pe(M.location,M.matches);se!=null&&Ce({restoreScrollPosition:se})}return()=>{k=null,N=null,R=null}}function ne(I,V){return R&&R(I,V.map(se=>bT(se,M.loaderData)))||I.key}function Oe(I,V){if(k&&N){let ae=ne(I,V);k[ae]=N()}}function Pe(I,V){if(k){let ae=ne(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(_)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:Ig(V,ae,p,!0)}}else return{active:!0,matches:Ig(V,ae,p,!0)||[]};return{active:!1,matches:null}}function qe(I,V,ae){return qr(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Be=h==null,A=h||u;try{yield pW(_,V,se,A,f,s,dt,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Be&&(u=[...u])}if(ae.aborted)return{type:"aborted"};let Y=lc(A,V,p),me=!1;if(Y){let He=Y[Y.length-1].route;if(He.index)return{type:"success",matches:Y};if(He.path&&He.path.length>0)if(He.path==="*")me=!0;else return{type:"success",matches:Y}}let Te=Ig(A,V,p,!0);if(!Te||se.map(He=>He.route.id).join("-")===Te.map(He=>He.route.id).join("-"))return{type:"success",matches:me?Y:null};if(se=Te,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Ae(I){f={},h=tf(I,s,void 0,f)}function Je(I,V){let ae=h==null;PT(I,V,h||u,f,s),ae&&(u=[...u],Ce({}))}return Q={get basename(){return p},get future(){return b},get state(){return M},get routes(){return u},get window(){return a},initialize:$t,subscribe:Ge,enableScrollRestoration:oe,navigate:wt,fetch:Ur,revalidate:kt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ba,deleteFetcher:ct,dispose:Pt,getBlocker:gr,deleteBlocker:Kr,patchRoutes:Je,_internalFetchControllers:q,_internalActiveDeferreds:Ke,_internalSetRoutes:Ae},Q}var NT=Symbol("deferred");function cW(r,a){Mr(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=k=>({hasErrorBoundary:w(k)})}else s=AT;let f=Br({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,s,void 0,o);function h(w,k){return qr(this,null,function*(){let{requestContext:R,skipLoaderErrorBubbling:N,unstable_dataStrategy:W}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=sc("",Ts(O),null,"default"),Q=lc(u,F,l);if(!i2(j)&&j!=="HEAD"){let te=Ta(405,{method:j}),{matches:_e,route:ee}=Fg(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ee.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ta(404,{pathname:F.pathname}),{matches:_e,route:ee}=Fg(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ee.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let M=yield m(w,F,Q,R,W||null,N===!0,null);return tu(M)?M:Br({location:F,basename:l},M)})}function p(w,k){return qr(this,null,function*(){let{routeId:R,requestContext:N,unstable_dataStrategy:W}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=sc("",Ts(O),null,"default"),Q=lc(u,F,l);if(!i2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ta(405,{method:j});if(!Q)throw Ta(404,{pathname:F.pathname});let M=R?Q.find(de=>de.route.id===R):ef(Q,F);if(R&&!M)throw Ta(403,{pathname:F.pathname,routeId:R});if(!M)throw Ta(404,{pathname:F.pathname});let te=yield m(w,F,Q,N,W||null,!1,M);if(tu(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var ee;let de=Object.values(te.loaderData)[0];return(ee=te.activeDeferreds)!=null&&ee[M.route.id]&&(de[NT]=te.activeDeferreds[M.route.id]),de}})}function m(w,k,R,N,W,O,j){return qr(this,null,function*(){Mr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Tl(w.method.toLowerCase()))return yield _(w,R,j||ef(R,k),N,W,O,j!=null);let F=yield b(w,R,N,W,O,j);return tu(F)?F:Br({},F,{actionData:null,actionHeaders:{}})}catch(F){if(gW(F)&&tu(F.result)){if(F.type===Yr.error)throw F.result;return F.result}if(_W(F))return F;throw F}})}function _(w,k,R,N,W,O,j){return qr(this,null,function*(){let F;if(!R.route.action&&!R.route.lazy){let te=Ta(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:R.route.id});if(j)throw te;F={type:Yr.error,error:te}}else F=(yield S("action",w,[R],k,j,N,W))[0],w.signal.aborted&&oT(w,j,f);if(au(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(ru(F)){let te=Ta(400,{type:"defer-action"});if(j)throw te;F={type:Yr.error,error:te}}if(j){if(Pn(F))throw F.error;return{matches:[R],loaderData:{},actionData:{[R.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Q=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Pn(F)){let te=O?R:Zu(k,R.route.id),_e=yield b(Q,k,N,W,O,null,[te.route.id,F]);return Br({},_e,{statusCode:Od(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Br({},F.headers?{[R.route.id]:F.headers}:{})})}let M=yield b(Q,k,N,W,O,null);return Br({},M,{actionData:{[R.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[R.route.id]:F.headers}:{}})})}function b(w,k,R,N,W,O,j){return qr(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw Ta(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:O==null?void 0:O.route.id});let M=(O?[O]:j&&Pn(j[1])?OT(k,j[0]):k).filter(pe=>pe.route.loader||pe.route.lazy);if(M.length===0)return{matches:k,loaderData:k.reduce((pe,ve)=>Object.assign(pe,{[ve.route.id]:null}),{}),errors:j&&Pn(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",w,M,k,F,R,N);w.signal.aborted&&oT(w,F,f);let _e=new Map,ee=jT(k,M,te,j,_e,W),de=new Set(M.map(pe=>pe.route.id));return k.forEach(pe=>{de.has(pe.route.id)||(ee.loaderData[pe.route.id]=null)}),Br({},ee,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,R,N,W,O,j){return qr(this,null,function*(){let F=yield zT(j||IT,w,k,R,N,o,s,O);return yield Promise.all(F.map((Q,M)=>{if(UT(Q)){let te=Q.result;throw FT(te,k,R[M].route.id,N,l,f.v7_relativeSplatPath)}if(tu(Q.result)&&W)throw Q;return BT(Q)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function uW(r,a,o){return Br({},a,{statusCode:Od(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function oT(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 fW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function a2(r,a,o,l,s,f,u,h){let p,m;if(u){p=[];for(let b of a)if(p.push(b),b.route.id===u){m=b;break}}else p=a,m=a[a.length-1];let _=TT(s||".",kT(p,f),Yh(r.pathname,o)||r.pathname,h==="path");return s==null&&(_.search=r.search,_.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!c2(_.search)&&(_.search=_.search?_.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(_.pathname=_.pathname==="/"?o:Ld([o,_.pathname])),Ts(_)}function iT(r,a,o,l){if(!l||!fW(l))return{path:o};if(l.formMethod&&!i2(l.formMethod))return{path:o,error:Ta(405,{method:l.formMethod})};let s=()=>({path:o,error:Ta(400,{type:"invalid-body"})}),f=l.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=HT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Tl(u))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[R,N]=k;return""+w+R+"="+N+`
146
+ `},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Tl(u))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Mr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=n2(l.formData),m=l.formData;else if(l.body instanceof FormData)p=n2(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=fT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=fT(p)}catch(S){return s()}let _={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Tl(_.formMethod))return{path:o,submission:_};let b=Jl(o);return a&&b.search&&c2(b.search)&&p.append("index",""),b.search="?"+p,{path:Ts(b),submission:_}}function OT(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 lT(r,a,o,l,s,f,u,h,p,m,_,b,S,w,k,R){let N=R?Pn(R[1])?R[1].error:R[1].data:void 0,W=r.createURL(a.location),O=r.createURL(s),j=R&&Pn(R[1])?R[0]:void 0,F=j?OT(o,j):o,Q=R?R[1].statusCode:void 0,M=u&&Q&&Q>=400,te=F.filter((ee,de)=>{let{route:pe}=ee;if(pe.lazy)return!0;if(pe.loader==null)return!1;if(f)return typeof pe.loader!="function"||pe.loader.hydrate?!0:a.loaderData[pe.id]===void 0&&(!a.errors||a.errors[pe.id]===void 0);if(dW(a.loaderData,a.matches[de],ee)||p.some(le=>le===ee.route.id))return!0;let ve=a.matches[de],H=ee;return sT(ee,Br({currentUrl:W,currentParams:ve.params,nextUrl:O,nextParams:H.params},l,{actionResult:N,actionStatus:Q,defaultShouldRevalidate:M?!1:h||W.pathname+W.search===O.pathname+O.search||W.search!==O.search||MT(ve,H)}))}),_e=[];return b.forEach((ee,de)=>{if(f||!o.some(fe=>fe.route.id===ee.routeId)||_.has(de))return;let pe=lc(w,ee.path,k);if(!pe){_e.push({key:de,routeId:ee.routeId,path:ee.path,matches:null,match:null,controller:null});return}let ve=a.fetchers.get(de),H=ef(pe,ee.path),le=!1;S.has(de)?le=!1:m.has(de)?(m.delete(de),le=!0):ve&&ve.state!=="idle"&&ve.data===void 0?le=h:le=sT(H,Br({currentUrl:W,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:N,actionStatus:Q,defaultShouldRevalidate:M?!1:h})),le&&_e.push({key:de,routeId:ee.routeId,path:ee.path,matches:pe,match:H,controller:new AbortController})}),[te,_e]}function dW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function MT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function sT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function pW(r,a,o,l,s,f,u,h){return qr(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=u.get(p);m||(m=r({path:a,matches:o,patch:(_,b)=>{h.aborted||PT(_,b,l,s,f)}}),u.set(p,m)),m&&vW(m)&&(yield m)}finally{u.delete(p)}})}function PT(r,a,o,l,s){if(r){var f;let u=l[r];Mr(u,"No route found to patch children into: routeId = "+r);let h=tf(a,s,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function cT(r,a,o){return qr(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Mr(s,"No route found in manifest");let f={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";ks(!p,'Route "'+s.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+u+'" will be ignored.')),!p&&!NV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,Br({},a(s),{lazy:void 0}))})}function IT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function zT(r,a,o,l,s,f,u,h){return qr(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,_=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Br({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?hW(a,o,b,f,u,k,h):Promise.resolve({type:Yr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Mr(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),_.filter((b,S)=>p.has(s[S].route.id))})}function hW(r,a,o,l,s,f,u){return qr(this,null,function*(){let h,p,m=_=>{let b,S=new Promise((R,N)=>b=N);p=()=>b(),a.signal.addEventListener("abort",p);let w=R=>typeof _!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):_({request:a,params:o.params,context:u},...R!==void 0?[R]:[]),k;return f?k=f(R=>w(R)):k=qr(this,null,function*(){try{return{type:"data",result:yield w()}}catch(R){return{type:"error",result:R}}}),Promise.race([k,S])};try{let _=o.route[r];if(o.route.lazy)if(_){let b,[S]=yield Promise.all([m(_).catch(w=>{b=w}),cT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield cT(o.route,s,l),_=o.route[r],_)h=yield m(_);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw Ta(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Yr.data,result:void 0};else if(_)h=yield m(_);else{let b=new URL(a.url),S=b.pathname+b.search;throw Ta(404,{pathname:S})}Mr(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(_){return{type:Yr.error,result:_}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function BT(r){return qr(this,null,function*(){let{result:a,type:o}=r;if(tu(a)){let m;try{let _=a.headers.get("Content-Type");_&&/\bapplication\/json\b/.test(_)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(_){return{type:Yr.error,error:_}}return o===Yr.error?{type:Yr.error,error:new Nd(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Yr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Yr.error){if(o2(a)){var l;if(a.data instanceof Error){var s;return{type:Yr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Nd(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Yr.error,error:a,statusCode:Od(a)?a.status:void 0}}if(VT(a)){var f,u;return{type:Yr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(o2(a)){var h,p;return{type:Yr.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:Yr.data,data:a}})}function FT(r,a,o,l,s,f){let u=r.headers.get("Location");if(Mr(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!s2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=a2(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function uT(r,a,o){if(s2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Yh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Dd(r,a,o,l){let s=r.createURL(HT(a)).toString(),f={signal:o};if(l&&Tl(l.formMethod)){let{formMethod:u,formEncType:h}=l;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=n2(l.formData):f.body=l.formData}return new Request(s,f)}function n2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function fT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function jT(r,a,o,l,s,f){let u={},h=null,p,m=!1,_={},b=l&&Pn(l[1])?l[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Mr(!au(S),"Cannot handle redirect results in processLoaderData"),Pn(S)){let R=S.error;if(b!==void 0&&(R=b,b=void 0),h=h||{},f)h[k]=R;else{let N=Zu(r,k);h[N.route.id]==null&&(h[N.route.id]=R)}u[k]=void 0,m||(m=!0,p=Od(S.error)?S.error.status:500),S.headers&&(_[k]=S.headers)}else ru(S)?(s.set(k,S.deferredData),u[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(_[k]=S.headers)):(u[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(_[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:_}}function dT(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=jT(a,o,l,s,h,!1);for(let _=0;_<f.length;_++){let{key:b,match:S,controller:w}=f[_];Mr(u!==void 0&&u[_]!==void 0,"Did not find corresponding fetcher result");let k=u[_];if(!(w&&w.signal.aborted))if(Pn(k)){let R=Zu(r.matches,S==null?void 0:S.route.id);m&&m[R.route.id]||(m=Br({},m,{[R.route.id]:k.error})),r.fetchers.delete(b)}else if(au(k))Mr(!1,"Unhandled fetcher revalidation redirect");else if(ru(k))Mr(!1,"Unhandled fetcher deferred data");else{let R=eu(k.data);r.fetchers.set(b,R)}}return{loaderData:p,errors:m}}function pT(r,a,o,l){let s=Br({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&f.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function hT(r){return r?Pn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Zu(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 Fg(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 Ta(r,a){let{pathname:o,routeId:l,method:s,type:f,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
+ `+u):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.":f==="defer-action"?p="defer() is not supported in actions":f==="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 Nd(r||500,h,new Error(p),!0)}function mT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(au(o))return{result:o,idx:a}}}function HT(r){let a=typeof r=="string"?Jl(r):r;return Ts(Br({},a,{hash:""}))}function mW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function vW(r){return typeof r=="object"&&r!=null&&"then"in r}function gW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Yr.data||r.type===Yr.error)}function UT(r){return tu(r.result)&&iW.has(r.result.status)}function ru(r){return r.type===Yr.deferred}function Pn(r){return r.type===Yr.error}function au(r){return(r&&r.type)===Yr.redirect}function o2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function VT(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 tu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function _W(r){if(!tu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function i2(r){return oW.has(r.toLowerCase())}function Tl(r){return aW.has(r.toLowerCase())}function vT(r,a,o,l,s,f){return qr(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),_=m!=null&&!MT(m,p)&&(f&&f[p.route.id])!==void 0;if(ru(h)&&(s||_)){let b=l[u];Mr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield WT(h,b,s).then(S=>{S&&(o[u]=S||o[u])})}}})}function WT(r,a,o){return qr(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Yr.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Yr.error,error:s}}return{type:Yr.data,data:r.deferredData.data}}})}function c2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Jl(a).search:a.search;if(r[r.length-1].route.index&&c2(o||""))return r[r.length-1];let l=xT(r);return l[l.length-1]}function gT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:u}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:u,text:void 0}}}function e2(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 bW(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 Wh(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 yW(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 eu(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 SW(r,a){try{let o=r.sessionStorage.getItem(LT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function wW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(LT,JSON.stringify(o))}catch(l){ks(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}sr.AbortedDeferredError=qh;sr.Action=Fa;sr.IDLE_BLOCKER=Ad;sr.IDLE_FETCHER=DT;sr.IDLE_NAVIGATION=zg;sr.UNSAFE_DEFERRED_SYMBOL=NT;sr.UNSAFE_DeferredData=Bg;sr.UNSAFE_ErrorResponseImpl=Nd;sr.UNSAFE_convertRouteMatchToUiMatch=bT;sr.UNSAFE_convertRoutesToDataRoutes=tf;sr.UNSAFE_decodePath=wT;sr.UNSAFE_getResolveToMatches=kT;sr.UNSAFE_invariant=Mr;sr.UNSAFE_warning=ks;sr.createBrowserHistory=DV;sr.createHashHistory=AV;sr.createMemoryHistory=RV;sr.createPath=Ts;sr.createRouter=sW;sr.createStaticHandler=cW;sr.defer=eW;sr.generatePath=WV;sr.getStaticContextFromError=uW;sr.getToPathname=$V;sr.isDataWithResponseInit=o2;sr.isDeferredData=VT;sr.isRouteErrorResponse=Od;sr.joinPaths=Ld;sr.json=XV;sr.matchPath=t2;sr.matchRoutes=lc;sr.normalizePathname=ET;sr.parsePath=Jl;sr.redirect=l2;sr.redirectDocument=tW;sr.replace=rW;sr.resolvePath=CT;sr.resolveTo=TT;sr.stripBasename=Yh;sr.unstable_data=QV});var YT=Ue((jg,qT)=>{(function(r,a){typeof jg=="object"&&typeof qT!="undefined"?a(jg,dr(),u2()):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))})(jg,function(r,a,o){"use strict";function l($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(D){if(D!=="default"){var z=Object.getOwnPropertyDescriptor($,D);Object.defineProperty(P,D,z.get?z:{enumerable:!0,get:function(){return $[D]}})}}),P.default=$,Object.freeze(P)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var z in D)Object.prototype.hasOwnProperty.call(D,z)&&($[z]=D[z])}return $},f.apply(this,arguments)}let u=s.createContext(null);u.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let _=s.createContext(null);_.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.createContext(null);S.displayName="RouteError";function w($,P){let{relative:D}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=s.useContext(m),{hash:oe,pathname:ne,search:Oe}=de($,{relative:D}),Pe=ne;return z!=="/"&&(Pe=ne==="/"?z:o.joinPaths([z,ne])),G.createHref({pathname:Pe,search:Oe,hash:oe})}function k(){return s.useContext(_)!=null}function R(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(_).location}function N(){return s.useContext(_).navigationType}function W($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=R();return s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let O="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?At():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(u),{basename:P,future:D,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:oe}=R(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,D.v7_relativeSplatPath)),Oe=s.useRef(!1);return j(()=>{Oe.current=!0}),s.useCallback(function(Me,qe){if(qe===void 0&&(qe={}),o.UNSAFE_warning(Oe.current,O),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(ne),oe,qe.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(qe.replace?z.replace:z.push)(Ae,qe.state,qe)},[P,z,ne,oe,$])}let M=s.createContext(null);function te(){return s.useContext(M)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(M.Provider,{value:$},P)}function ee(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function de($,P){let{relative:D}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:oe}=R(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(ne),oe,D==="path"),[$,ne,oe,D])}function pe($,P){return ve($,P)}function ve($,P,D,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:oe}=s.useContext(b),ne=oe[oe.length-1],Oe=ne?ne.params:{},Pe=ne?ne.pathname:"/",Me=ne?ne.pathnameBase:"/",qe=ne&&ne.route;{let Be=qe&&qe.path||"";rr(Pe,!qe||Be.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Be+'">) 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="'+Be+'"> to <Route ')+('path="'+(Be==="/"?"*":Be+"/*")+'">.'))}let Ae=A(),Je;if(P){var I;let Be=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Be.pathname)!=null&&I.startsWith(Me)||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 "'+Me+'" ')+('but pathname "'+Be.pathname+'" was given in the `location` prop.')),Je=Be}else Je=Ae;let V=Je.pathname||"/",re=V;if(Me!=="/"){let Be=Me.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Be.length).join("/")}let ce=o.matchRoutes($,{pathname:re});o.UNSAFE_warning(We||ce!=null,'No routes matched location "'+Je.pathname+Je.search+Je.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 "'+Je.pathname+Je.search+Je.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 Ve=W(ce&&ce.map(Be=>Object.assign({},Be,{params:Object.assign({},Oe,Be.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathname).pathname:Be.pathname]),pathnameBase:Be.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathnameBase).pathname:Be.pathnameBase])})),oe,R,z);return P&&Ve?s.createElement(_.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Je),navigationType:o.Action.Pop}},Ve):Ve}function j(){let $=ke(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},oe={padding:"2px 4px",backgroundColor:z},ne=null;return console.error("Error handled by React Router default ErrorBoundary:",$),ne=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:oe},"ErrorBoundary")," or"," ",s.createElement("code",{style:oe},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,ne)}let le=s.createElement(j,null);class de extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var oe;if(!R)return null;if(R.errors)$=R.matches;else if((oe=z)!=null&&oe.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let ne=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=ne.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),ne=ne.slice(0,Math.min(ne.length,We+1))}let Pe=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<ne.length;We++){let Ae=ne[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Je,errors:I}=R,V=Ae.route.loader&&Je[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Pe=!0,Me>=0?ne=ne.slice(0,Me+1):ne=[ne[0]];break}}}return ne.reduceRight((We,Ae,Je)=>{let I,V=!1,re=null,ce=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,re=Ae.route.errorElement||le,Pe&&(Me<0&&Je===0?(dr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,ce=null):Me===Je&&(V=!0,ce=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(ne.slice(0,Je+1)),Be=()=>{let D;return I?D=re:V?D=ce:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,s.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Je===0)?s.createElement(de,{location:R.location,revalidation:R.revalidation,component:re,error:I,children:Be(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Be()},null)}var ie=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ie||{}),te=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(te||{});function se($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we($){let P=s.useContext(u);return P||o.UNSAFE_invariant(!1,se($)),P}function Se($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,se($)),P}function je($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,se($)),P}function Ye($){let P=je($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Ge(){return Ye(te.UseRouteId)}function rt(){return Se(te.UseNavigation).navigation}function et(){let $=we(ie.UseRevalidator),P=Se(te.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function Nt(){let{matches:$,loaderData:P}=Se(te.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function $t(){let $=Se(te.UseLoaderData),P=Ye(te.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function dt($){return Se(te.UseRouteLoaderData).loaderData[$]}function Xe(){let $=Se(te.UseActionData),P=Ye(te.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function ke(){var $;let P=s.useContext(S),R=Se(te.UseRouteError),z=Ye(te.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function ot(){let $=s.useContext(p);return $==null?void 0:$._data}function kt(){let $=s.useContext(p);return $==null?void 0:$._error}let Tt=0;function wt($){let{router:P,basename:R}=we(ie.UseBlocker),z=Se(te.UseBlocker),[G,oe]=s.useState(""),ne=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Pe,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Pe,{pathname:o.stripBasename(Pe.pathname,R)||Pe.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++Tt);return oe(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,ne)},[P,G,ne]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function tr(){let{router:$}=we(ie.UseNavigateStable),P=Ye(te.UseNavigateStable),R=s.useRef(!1);return H(()=>{R.current=!0}),s.useCallback(function(G,oe){oe===void 0&&(oe={}),o.UNSAFE_warning(R.current,M),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},oe)))},[$,P])}let Ut={};function dr($,P,R){!P&&!Ut[$]&&(Ut[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function Yr($){let{fallbackElement:P,router:R,future:z}=$,[G,oe]=s.useState(R.state),{v7_startTransition:ne}=z||{},Oe=s.useCallback(Ae=>{ne&&jr?jr(()=>oe(Ae)):oe(Ae)},[oe,ne]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Je,I)=>R.navigate(Ae,{state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Je,I)=>R.navigate(Ae,{replace:!0,state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Pe,static:!1,basename:Me}),[R,Pe,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(vr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Pe,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(xr,{routes:R.routes,future:R.future,state:G}):P))),null)}function xr($){let{routes:P,future:R,state:z}=$;return he(P,void 0,z,R)}function pr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:oe}=$,ne=s.useRef();ne.current==null&&(ne.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=ne.current,[Pe,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=oe||{},Ae=s.useCallback(Je=>{We&&jr?jr(()=>Me(Je)):Me(Je)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(vr,{basename:P,children:R,location:Pe.location,navigationType:Pe.action,navigator:Oe,future:oe})}function br($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:oe,static:ne}=s.useContext(m);o.UNSAFE_warning(!ne,"<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:Oe}=s.useContext(b),{pathname:Pe}=A(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,oe.v7_relativeSplatPath),Pe,G==="path"),Ae=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function pa($){return _e($.context)}function kr($){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 vr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:oe,static:ne=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Pe,navigator:oe,static:ne,future:f({v7_relativeSplatPath:!1},Oe)}),[Pe,Oe,oe,ne]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Je="",state:I=null,key:V="default"}=z,re=s.useMemo(()=>{let ce=o.stripBasename(We,Pe);return ce==null?null:{location:{pathname:ce,search:Ae,hash:Je,state:I,key:V},navigationType:G}},[Pe,We,Ae,Je,I,V,G]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+We+Ae+Je+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:s.createElement(m.Provider,{value:Me},s.createElement(_.Provider,{children:R,value:re}))}function Pr($){let{children:P,location:R}=$;return be(Vt(P),R)}function ba($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement(Gt,null,P))}var ze=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(ze||{});let ct=new Promise(()=>{});class bt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,oe=ze.pending;if(!(z instanceof Promise))oe=ze.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){oe=ze.error;let ne=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>ne})}else z._tracked?(G=z,oe="_error"in G?ze.error:"_data"in G?ze.success:ze.pending):(oe=ze.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(ne=>Object.defineProperty(z,"_data",{get:()=>ne}),ne=>Object.defineProperty(z,"_error",{get:()=>ne})));if(oe===ze.error&&G._error instanceof o.AbortedDeferredError)throw ct;if(oe===ze.error&&!R)throw G._error;if(oe===ze.error)return s.createElement(p.Provider,{value:G,children:R});if(oe===ze.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function Gt($){let{children:P}=$,R=ot(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let oe=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,oe));return}z.type!==kr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ne={id:z.props.id||oe.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(ne.children=Vt(z.props.children,oe)),R.push(ne)}),R}function Ar($){return W($)}function gr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function $r($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:gr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.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=ba,r.MemoryRouter=pr,r.Navigate=br,r.Outlet=pa,r.Route=kr,r.Router=vr,r.RouterProvider=Yr,r.Routes=Pr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=_,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=gr,r.UNSAFE_useRouteId=Ge,r.UNSAFE_useRoutesImpl=he,r.createMemoryRouter=$r,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Ar,r.useActionData=Xe,r.useAsyncError=kt,r.useAsyncValue=ot,r.useBlocker=wt,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=$t,r.useLocation=A,r.useMatch=Y,r.useMatches=Nt,r.useNavigate=F,r.useNavigation=rt,r.useNavigationType=N,r.useOutlet=_e,r.useOutletContext=ae,r.useParams=ee,r.useResolvedPath=ye,r.useRevalidator=et,r.useRouteError=ke,r.useRouteLoaderData=dt,r.useRoutes=be,Object.defineProperty(r,"__esModule",{value:!0})})});var GT=Ue((rG,$T)=>{"use strict";$T.exports=YT()});var XT=Ue((Hg,KT)=>{(function(r,a){typeof Hg=="object"&&typeof KT!="undefined"?a(Hg,fr(),X0(),GT(),u2()):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))})(Hg,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var oe=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,oe.get?oe:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var oe in G)Object.prototype.hasOwnProperty.call(G,oe)&&(R[oe]=G[oe])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},oe=Object.keys(R),ne,Oe;for(Oe=0;Oe<oe.length;Oe++)ne=oe[Oe],!(z.indexOf(ne)>=0)&&(G[ne]=R[ne]);return G}let _="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function A(R){return S(R)&&R.tagName.toLowerCase()==="input"}function N(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!N(R)}function M(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let oe=R[G];return z.concat(Array.isArray(oe)?oe.map(ne=>[G,ne]):[[G,oe]])},[]))}function H(R,z){let G=M(R);return z&&z.forEach((oe,ne)=>{G.has(ne)||z.getAll(ne).forEach(Oe=>{G.append(ne,Oe)})}),G}let F=null;function Z(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let O=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ae(R){return R!=null&&!O.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,oe,ne,Oe,Pe;if(k(R)){let Me=R.getAttribute("action");oe=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||_,ne=ae(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||A(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(oe=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||_,ne=ae(R.getAttribute("formenctype"))||ae(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Z()){let{name:Ae,type:Je,value:I}=R;if(Je==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=_,oe=null,ne=b,Pe=R}return Oe&&ne==="text/plain"&&(Pe=Oe,Oe=void 0),{action:oe,method:G.toLowerCase(),encType:ne,formData:Oe,body:Pe}}let ee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ye=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],be=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],he="6";try{window.__reactRouterVersion=he}catch(R){}function j(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function de(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[oe,ne]of z)if(ne&&ne.__type==="RouteErrorResponse")G[oe]=new s.UNSAFE_ErrorResponseImpl(ne.status,ne.statusText,ne.data,ne.internal===!0);else if(ne&&ne.__type==="Error"){if(ne.__subType){let Oe=window[ne.__subType];if(typeof Oe=="function")try{let Pe=new Oe(ne.message);Pe.stack="",G[oe]=Pe}catch(Pe){}}if(G[oe]==null){let Oe=new Error(ne.message);Oe.stack="",G[oe]=Oe}}else G[oe]=ne;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ie=u.createContext(new Map);ie.displayName="Fetchers";let se=u["startTransition"],Se=h["flushSync"],Ye=u["useId"];function Ge(R){se?se(R):R()}function rt(R){Se?Se(R):R()}class et{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=oe=>{this.status==="pending"&&(this.status="resolved",z(oe))},this.reject=oe=>{this.status==="pending"&&(this.status="rejected",G(oe))}})}}function Nt(R){let{fallbackElement:z,router:G,future:oe}=R,[ne,Oe]=u.useState(G.state),[Pe,Me]=u.useState(),[We,Ae]=u.useState({isTransitioning:!1}),[Je,I]=u.useState(),[V,re]=u.useState(),[ce,Ve]=u.useState(),Be=u.useRef(new Map),{v7_startTransition:D}=oe||{},q=u.useCallback(Ke=>{D?Ge(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:Et,unstable_flushSync:Wt,unstable_viewTransitionOpts:Gr}=Ct;Et.forEach(ia=>Be.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Be.current.set(la,ia.data)});let qa=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!Gr||qa){Wt?rt(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){rt(()=>{V&&(Je&&Je.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:Gr.currentLocation,nextLocation:Gr.nextLocation})});let ia=G.window.document.startViewTransition(()=>{rt(()=>Oe(Ke))});ia.finished.finally(()=>{rt(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})})}),rt(()=>re(ia));return}V?(Je&&Je.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:Gr.currentLocation,nextLocation:Gr.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:Gr.currentLocation,nextLocation:Gr.nextLocation}))},[G.window,V,Je,Be,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new et)},[We]),u.useEffect(()=>{if(Je&&Pe&&G.window){let Ke=Pe,Ct=Je.promise,Et=G.window.document.startViewTransition(()=>Vr(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));Et.finished.finally(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})}),re(Et)}},[q,Pe,Je,G.window]),u.useEffect(()=>{Je&&Pe&&ne.location.key===Pe.location.key&&Je.resolve()},[Je,V,ne.location,Pe]),u.useEffect(()=>{!We.isTransitioning&&ce&&(Me(ce.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}),Ve(void 0))},[We.isTransitioning,ce]),u.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Te=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,Et)=>G.navigate(Ke,{state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset}),replace:(Ke,Ct,Et)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:Te,static:!1,basename:He}),[G,Te,He]),Ze=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ne},u.createElement(ie.Provider,{value:Be.current},u.createElement(W.Provider,{value:We},u.createElement(l.Router,{basename:He,location:ne.location,navigationType:ne.historyAction,navigator:Te,future:Ze},ne.initialized||G.future.v7_partialHydration?u.createElement($t,{routes:G.routes,future:G.future,state:ne}):z))))),null)}let $t=u.memo(dt);function dt(R){let{routes:z,future:G,state:oe}=R;return l.UNSAFE_useRoutesImpl(z,void 0,oe,G)}function Xe(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function ke(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function ot(R){let{basename:z,children:G,future:oe,history:ne}=R,[Oe,Pe]=u.useState({action:ne.action,location:ne.location}),{v7_startTransition:Me}=oe||{},We=u.useCallback(Ae=>{Me&&se?se(()=>Pe(Ae)):Pe(Ae)},[Pe,Me]);return u.useLayoutEffect(()=>ne.listen(We),[ne,We]),u.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:ne,future:oe})}ot.displayName="unstable_HistoryRouter";let kt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Tt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wt=u.forwardRef(function(z,G){let{onClick:oe,relative:ne,reloadDocument:Oe,replace:Pe,state:Me,target:We,to:Ae,preventScrollReset:Je,unstable_viewTransition:I}=z,V=m(z,ee),{basename:re}=u.useContext(l.UNSAFE_NavigationContext),ce,Ve=!1;if(typeof Ae=="string"&&Tt.test(Ae)&&(ce=Ae,kt))try{let pe=new URL(window.location.href),Te=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(Te.pathname,re);Te.origin===pe.origin&&He!=null?Ae=He+Te.search+Te.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Be=l.useHref(Ae,{relative:ne}),D=br(Ae,{replace:Pe,state:Me,target:We,preventScrollReset:Je,relative:ne,unstable_viewTransition:I});function q(pe){oe&&oe(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:ce||Be,onClick:Ve||Oe?oe:q,ref:G,target:We}))});wt.displayName="Link";let tr=u.forwardRef(function(z,G){let{"aria-current":oe="page",caseSensitive:ne=!1,className:Oe="",end:Pe=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Je}=z,I=m(z,ye),V=l.useResolvedPath(We,{relative:I.relative}),re=l.useLocation(),ce=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Be}=u.useContext(l.UNSAFE_NavigationContext),D=ce!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=re.pathname,Te=ce&&ce.navigation&&ce.navigation.location?ce.navigation.location.pathname:null;ne||(pe=pe.toLowerCase(),Te=Te?Te.toLowerCase():null,q=q.toLowerCase()),Te&&Be&&(Te=s.stripBasename(Te,Be)||Te);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Pe&&pe.startsWith(q)&&pe.charAt(He)==="/",Ze=Te!=null&&(Te===q||!Pe&&Te.startsWith(q)&&Te.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Ze,isTransitioning:D},Ct=ft?oe:void 0,Et;typeof Oe=="function"?Et=Oe(Ke):Et=[Oe,ft?"active":null,Ze?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(wt,p({},I,{"aria-current":Ct,className:Et,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Je=="function"?Je(Ke):Je)});tr.displayName="NavLink";let Ut=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:oe,reloadDocument:ne,replace:Oe,state:Pe,method:Me=_,action:We,onSubmit:Ae,relative:Je,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,be),ce=ba(),Ve=ze(We,{relative:Je}),Be=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,Te=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;ce(pe||q.currentTarget,{fetcherKey:G,method:Te,navigate:oe,replace:Oe,state:Pe,relative:Je,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Be,action:Ve,onSubmit:ne?Ae:D},re))});Ut.displayName="Form";function dr(R){let{getKey:z,storageKey:G}=R;return Ar({getKey:z,storageKey:G}),null}dr.displayName="ScrollRestoration";var na=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(na||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function Yr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xr(R){let z=u.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,Yr(R)),z}function pr(R){let z=u.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,Yr(R)),z}function br(R,z){let{target:G,replace:oe,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Ae=l.useLocation(),Je=l.useResolvedPath(R,{relative:Pe});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=oe!==void 0?oe:l.createPath(Ae)===l.createPath(Je);We(R,{replace:V,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me})}},[Ae,We,Je,oe,ne,G,R,Oe,Pe,Me])}function pa(R){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 z=u.useRef(M(R)),G=u.useRef(!1),oe=l.useLocation(),ne=u.useMemo(()=>H(oe.search,G.current?null:z.current),[oe.search]),Oe=l.useNavigate(),Pe=u.useCallback((Me,We)=>{let Ae=M(typeof Me=="function"?Me(ne):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,ne]);return[ne,Pe]}function kr(){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 vr=0,Pr=()=>"__"+String(++vr)+"__";function ba(){let{router:R}=xr(na.UseSubmit),{basename:z}=u.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return u.useCallback(function(oe,ne){ne===void 0&&(ne={}),kr();let{action:Oe,method:Pe,encType:Me,formData:We,body:Ae}=_e(oe,z);if(ne.navigate===!1){let Je=ne.fetcherKey||Pr();R.fetch(Je,G,ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,unstable_flushSync:ne.unstable_flushSync})}else R.navigate(ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,replace:ne.replace,state:ne.state,fromRouteId:G,unstable_flushSync:ne.unstable_flushSync,unstable_viewTransition:ne.unstable_viewTransition})},[R,z,G])}function ze(R,z){let{relative:G}=z===void 0?{}:z,{basename:oe}=u.useContext(l.UNSAFE_NavigationContext),ne=u.useContext(l.UNSAFE_RouteContext);ne||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=ne.matches.slice(-1),Pe=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Pe.search=Me.search;let We=new URLSearchParams(Pe.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Pe.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),oe!=="/"&&(Pe.pathname=Pe.pathname==="/"?oe:s.joinPaths([oe,Pe.pathname])),l.createPath(Pe)}function ct(R){var z;let{key:G}=R===void 0?{}:R,{router:oe}=xr(na.UseFetcher),ne=pr(jr.UseFetcher),Oe=u.useContext(ie),Pe=u.useContext(l.UNSAFE_RouteContext),Me=(z=Pe.matches[Pe.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=Ye?Ye():"",[Ae,Je]=u.useState(G||We);G&&G!==Ae?Je(G):Ae||Je(Pr()),u.useEffect(()=>(oe.getFetcher(Ae),()=>{oe.deleteFetcher(Ae)}),[oe,Ae]);let I=u.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),oe.fetch(Ae,Me,q,pe)},[Ae,Me,oe]),V=ba(),re=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),ce=u.useMemo(()=>{let q=u.forwardRef((pe,Te)=>u.createElement(Ut,p({},pe,{navigate:!1,fetcherKey:Ae,ref:Te})));return q.displayName="fetcher.Form",q},[Ae]),Ve=ne.fetchers.get(Ae)||s.IDLE_FETCHER,Be=Oe.get(Ae);return u.useMemo(()=>p({Form:ce,submit:re,load:I},Ve,{data:Be}),[ce,re,I,Ve,Be])}function bt(){let R=pr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,oe]=z;return p({},oe,{key:G})})}let Gt="react-router-scroll-positions",Vt={};function Ar(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:oe}=xr(na.UseScrollRestoration),{restoreScrollPosition:ne,preventScrollReset:Oe}=pr(jr.UseScrollRestoration),{basename:Pe}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Ae=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),$r(u.useCallback(()=>{if(Ae.state==="idle"){let Je=(z?z(Me,We):null)||Me.key;Vt[Je]=window.scrollY}try{sessionStorage.setItem(G||Gt,JSON.stringify(Vt))}catch(Je){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Je+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Je=sessionStorage.getItem(G||Gt);Je&&(Vt=JSON.parse(Je))}catch(Je){}},[G]),u.useLayoutEffect(()=>{let Je=z&&Pe!=="/"?(V,re)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Pe)||V.pathname}),re):z,I=oe==null?void 0:oe.enableScrollRestoration(Vt,()=>window.scrollY,Je);return()=>I&&I()},[oe,Pe,z]),u.useLayoutEffect(()=>{if(ne!==!1){if(typeof ne=="number"){window.scrollTo(0,ne);return}if(Me.hash){let Je=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Je){Je.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,ne,Oe]))}function gr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,oe),()=>{window.removeEventListener("beforeunload",R,oe)}},[R,G])}function $r(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,oe),()=>{window.removeEventListener("pagehide",R,oe)}},[R,G])}function $(R){let{when:z,message:G}=R,oe=l.useBlocker(z);u.useEffect(()=>{oe.state==="blocked"&&(window.confirm(G)?setTimeout(oe.proceed,0):oe.reset())},[oe,G]),u.useEffect(()=>{oe.state==="blocked"&&!z&&oe.reset()},[oe,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==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:oe}=xr(na.useViewTransitionState),ne=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,oe)||G.currentLocation.pathname,Pe=s.stripBasename(G.nextLocation.pathname,oe)||G.nextLocation.pathname;return s.matchPath(ne.pathname,Pe)!=null||s.matchPath(ne.pathname,Oe)!=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=Xe,r.Form=Ut,r.HashRouter=ke,r.Link=wt,r.NavLink=tr,r.RouterProvider=Nt,r.ScrollRestoration=dr,r.UNSAFE_FetchersContext=ie,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Ar,r.createBrowserRouter=j,r.createHashRouter=le,r.createSearchParams=M,r.unstable_HistoryRouter=ot,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=gr,r.useFetcher=ct,r.useFetchers=bt,r.useFormAction=ze,r.useLinkClickHandler=br,r.useSearchParams=pa,r.useSubmit=ba,Object.defineProperty(r,"__esModule",{value:!0})})});var JT=Ue((nG,QT)=>{"use strict";QT.exports=XT()});var ar=Ue((oG,n5)=>{"use strict";var Wg=Object.defineProperty,CW=Object.defineProperties,xW=Object.getOwnPropertyDescriptor,kW=Object.getOwnPropertyDescriptors,TW=Object.getOwnPropertyNames,Vg=Object.getOwnPropertySymbols,d2=Object.prototype.hasOwnProperty,e5=Object.prototype.propertyIsEnumerable,f2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Ug=Math.pow,ZT=(r,a,o)=>a in r?Wg(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,Es=(r,a)=>{for(var o in a||(a={}))d2.call(a,o)&&ZT(r,o,a[o]);if(Vg)for(var o of Vg(a))e5.call(a,o)&&ZT(r,o,a[o]);return r},t5=(r,a)=>CW(r,kW(a)),EW=(r,a)=>{var o={};for(var l in r)d2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Vg)for(var l of Vg(r))a.indexOf(l)<0&&e5.call(r,l)&&(o[l]=r[l]);return o},RW=(r,a)=>{for(var o in a)Wg(r,o,{get:a[o],enumerable:!0})},DW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of TW(a))!d2.call(r,s)&&s!==o&&Wg(r,s,{get:()=>a[s],enumerable:!(l=xW(a,s))||l.enumerable});return r},AW=r=>DW(Wg({},"__esModule",{value:!0}),r),Ba=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())}),r5=function(r,a){this[0]=r,this[1]=a},LW=(r,a,o)=>{var l=(u,h,p,m)=>{try{var _=o[u](h),b=(h=_.value)instanceof r5,S=_.done;Promise.resolve(b?h[0]:h).then(w=>b?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[f2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},NW=(r,a,o)=>(a=r[f2("asyncIterator")])?a.call(r):(r=r[f2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((u,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),a5={};RW(a5,{Fetcher:()=>ea,Filer:()=>wn,Server:()=>h2,Time:()=>Rr,UUID:()=>rf,default:()=>qW,useStore:()=>qg});n5.exports=AW(a5);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(f){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(/+/,"+")},String.prototype.escapeRegExChar=function(){return this.replace(/\\/g,"\\\\").replace(/(\?|\^|\$|\.|\||\*|\+|\(|\)|\{|\}|\[|\])/g,"\\$1")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Ug(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Ug(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Ug(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Ug(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),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=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){let f=String(s||""),u=this.every(m=>{let _=Number(r(m,f.split(".")));return typeof _=="number"&&!isNaN(_)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(u){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)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=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var OW=(r=26)=>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(""),rf=OW;rf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");rf.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};rf.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 MW=r=>new Ce.prototype.jmini(r),Ce=MW;Ce.prototype={};Ce.extend=function(r,a=Ce){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Ce.expando="__jmini_"+rf();var $a=(r,a)=>(r.queue.push(a),p2(r),r),p2=r=>Ba(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,p2(r)}}),nu=(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},PW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Ce.expando]||(Ce.is.element(l)||Ce.is.shadowRoot(l))&&(l[Ce.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,p2(r),r};Ce.extend({constructor:Ce,jmini:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],PW(this,Ce.is.jmini(r)?r.get():Ce.is.element(r)?[r]:Ce.is.elements(r)?r:Ce.is.shadowRoot(r)?[r]:Ce.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Ce.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Ce.prototype.jmini.prototype=Ce.prototype;{let r=function(s,f,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,u)=>{if(!(Ce.is.element(f)||Ce.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(Ce(f).for(u=>{if(s&&(Ce.is.element(u)||Ce.is.shadowRoot(u)))if(Ce.is.string(s)||Ce.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(Ce.is.element(s))u.appendChild(s);else{Ce.is.jmini(s)?s=s.get():Ce.is.element(s)?s=[s]:Ce.is.keyValueDictionary(s)&&(s=[Ce(s)]);for(var h=0;h<s.length;h++)o(s[h],u)}}),f),l=(s,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(Ce.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Ce(u[0]).for(_=>{u[1]&&(_=_.cloneNode(!0)),m.parentNode.insertBefore(_,m[p]||m)})}}),s};Ce.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let u=r(this,(h,p)=>s(h,p),1);return f?u:[]},await:function(s){return $a(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return $a(this,()=>Ba(this,null,function*(){return this.queue=[],this}))},callback:function(s){return $a(this,()=>Ba(this,null,function*(){return yield s(this),this}))},click:function(){return $a(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Ce.is.element(f)&&f.click()}return this})},focus:function(){return $a(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Ce.is.element(f)&&f.focus()}return this})},addEvent:function(s){return $a(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=s;return m=Es({passive:!0,capture:!1},m),this.for(_=>{if(!(Ce.is.element(_)||Ce.is.shadowRoot(_)))return;let{events:b}=_[Ce.expando];if(h){let S=p;p=w=>{if(w.target){if(Ce.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(Ce.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[u]){let S=b[u];_.removeEventListener(S.eventType,S.callback,S.options)}b[u]={eventType:f,callback:p,options:m},_.addEventListener(f,p,m)}),this})},removeEvent:function(s){return $a(this,()=>{let f=Ce.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Ce.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return $a(this,()=>nu(this,o(s,a(this))))},empty:function(){return $a(this,()=>nu(this,a(this)))},append:function(s){return $a(this,()=>{o(s,this)})},remove:function(){return $a(this,()=>(this.for((s,f)=>{s&&Ce.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return $a(this,()=>nu(this,l(this,"before",...s)))},after:function(...s){return $a(this,()=>nu(this,l(this,"after",...s)))},find:function(s){return $a(this,()=>{let f=[],u=this[0];u||nu(this,Ce()),(Ce.is.element(u)||Ce.is.shadowRoot(u))&&(Ce.is.string(s)?f=u.querySelectorAll(s):Ce.is.element(u)&&Ce(s).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Ce(m).find(h).for(_=>_)])})),nu(this,Ce(f))})},parent:function(s){return $a(this,()=>{var f,u;let h=Ce(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);nu(this,h)})},children:function(s){return $a(this,()=>{let f=this[0].children;Ce.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=Ce(f);return nu(this,u)})},addClass:function(s){return $a(this,()=>(s&&this.for(f=>{let u=Ce.is.string(s)?s.split(" "):s;f&&Ce.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return $a(this,()=>(s&&this.for(f=>{let u=Ce.is.string(s)?s.split(" "):s;f&&Ce.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(s){return $a(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(s))),f},css:function(s){return $a(this,()=>(this.for(f=>{if(Ce.is.element(f))for(let[u,h]of Object.entries(s)){if(Ce.is.number(h)&&u.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[u]=h+"px";continue}f.style[u]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return $a(this,()=>(this.for(u=>u.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&Ce.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&Ce.is.element(u)&&u.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Ce.flatArray=(r,a)=>{if(!Ce.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Ce.flatArray(l,"-R"):[l]);return o};Ce.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[Ce.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};Ce.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};Ce.Stringify=(...r)=>{let[a,o,l]=r;return JSON.stringify(a,o!=null?o:(()=>{let s=new WeakSet;return(f,u)=>{if(typeof u=="object"&&u!==null){if(s.has(u))return"[Circular Reference]";s.add(u)}return u}})(),l)};Ce.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Ce.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 f=Math.round(Math.random()*(l.length-1))+0;return l[f]};Ce.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Ce.trySync=r=>Ba(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Ce.scope=r=>r();Ce.scopeSync=r=>Ba(void 0,null,function*(){return yield r()});Ce.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),u)for(let S of Object.entries(u)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&Ce.is.keyValueDictionary(k))for(let[A,N]of Object.entries(k))m.dataset[A]=N;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&Ce(m).append(f),h)for(var[_,b]of Object.entries(h))m.style[_]=b;return p&&Ce(p).append(m),m};Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Ce.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Ce.localStrage={set:(r,a)=>{localStorage.setItem(r,Ce.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Ce.Objectify(a,a)}};Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(Ce(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Ce(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Ce.getCursor=r=>{var a,o,l,s,f,u,h,p;let m=(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,_=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:m,y:_}};Ce.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Ce.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Ce.is.keyValueDictionary(r)&&Ce.is.keyValueDictionary(o))for(let l in o)Ce.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Ce.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Ce.deepMerge(r,...a)};Ce.deepCopy=r=>{if(Ce.is.array(r))return r.map(a=>Ce.deepCopy(a));if(Ce.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=Ce.deepCopy(l)}),a}return r};Ce.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()}};Ce.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Ce.is={equal:function(r,a,o){return o==null||o?Ce.Stringify(r)===Ce.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===Ce},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 IW=r=>new Rr.prototype.Time(r),Rr=IW;Rr.prototype={};var zW=function(r){Rr.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)};Ce.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:Rr,Time:zW,clone:function(){return Rr(this)},set:function(r){this.value=r;let a=Ce.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(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/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(),f=Math.ceil(s/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{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},isPast:function(){let r=Rr();return this.value.valueOf()<r.value.valueOf()},isSameYear:function(r){let a=Rr(r);return this.year==a.year},isSameMonth:function(r){let a=Rr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Rr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Rr(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%i\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%i\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"):""},toLangYMD:function(r){if(!this.validate)return"";let a=Rr(),o=a.diff(this);return o.dates==0?"\u4ECA\u65E5":o.dates==1?"\u6628\u65E5":o.dates>=-7&&o.dates<0?-1*o.dates+"\u65E5\u5F8C":o.dates<=7&&o.dates>0?o.dates+"\u65E5\u524D":this.isSameYear(a)?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D")},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)},setFromFormatHHMM:function(r){let a=String(r).removeLetters().removeSpecifics().toNumber().zeroEmbed(4).replace(/(\d{2})(\d{2})/,"$1:$2"),[o,l]=a.split(":"),s=new Date(this.value.valueOf());return s.setHours(Number(o)),s.setMinutes(Number(l)),this.set(s)},setFromFormatHHMMSS:function(r){let a=String(r).removeLetters().removeSpecifics().toNumber().zeroEmbed(4).replace(/(\d{2})(\d{2})(\d{2})/,"$1:$2:$3"),[o,l,s]=a.split(":"),f=new Date(this.value.valueOf());return f.setHours(Number(o)),f.setMinutes(Number(l)),f.setSeconds(Number(s)),this.set(f)},getFirstDayOfTheYear:function(){return Rr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Rr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Rr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Rr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Rr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Rr(this.value);return r.addDate(6-r.weekday)},diff:function(r){return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Ce.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),l=r.clone().setFirstOfTheDay();return Math.floor((o.ms-l.ms)/a)}),hours:Ce.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),l=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),minutes:Ce.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),l=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),seconds:Ce.scope(()=>{let a=this.clone().setMilliseconds(0),o=r.clone().setMilliseconds(0);return Math.floor((a.ms-o.ms)/1e3)}),ms:this.ms-r.ms}},getAge:function(r){let a=r||Rr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Rr);Rr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Rr};Rr.getFromNumberYYYYMMDD=r=>{let a=Number(r).zeroEmbed(8).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Rr(a+" 00:00:00")};Rr.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Rr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Rr.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=Rr(s).addYear(1):r=="month"?s=Rr(s).addMonth(1):r=="week"?s=Rr(s).addWeek(1):r=="day"?s=Rr(s).addDate(1):r=="hours"?s=Rr(s).addHours(1):r=="minutes"?s=Rr(s).addMinutes(1):r=="seconds"&&(s=Rr(s).addSeconds(1));return l};Rr.prototype.Time.prototype=Rr.prototype;var cc={},qg={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=cc[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),cc[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=cc[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),cc[l]=t5(Es({},cc[l]),{value:Es(Es({},(f=cc[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=cc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=cc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete cc[r],!0)}},BW=(...[r,a,o])=>new xo.prototype.Interval(r,a,o),xo=BW;xo.prototype={};var FW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,xo.abort(this.key),this.store(),this};Ce.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:FW,store:function(){qg.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 xo.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}},xo);xo.abort=r=>{if(Ce.is.number(r))return clearInterval(r);let a=qg.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};xo.get=r=>qg.get("Interval_"+r);xo.once=(r,a,o)=>xo(r,a,o).once();xo.start=(r,a,o)=>xo(r,a,o).start();xo.prototype.Interval.prototype=xo.prototype;var jW=(r,a)=>new ea.prototype.Fetcher(r,a),ea=jW;ea.prototype={};ea.waitList=[];ea.setDefaultTrafficControl=0;ea.setDefaultTimeout=1e3*60*10;ea.isReadableStream=r=>r instanceof ReadableStream;ea.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;ea.streamToContext=(r,a)=>Ba(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!ea.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 HW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Ce.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Ce.Stringify(a.body||{}));let s=r;return Ce.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=t5(Es({key:rf(),response_format:"json",timeout:ea.setDefaultTimeout,trafficControl:ea.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Es(Es({"Content-Type":"application/json"},ea.setDefaultHeaders&&ea.setDefaultHeaders()),a.headers),body:l}),this};Ce.extend({Fetcher:HW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onRetryCB:()=>Ba(void 0,null,function*(){return null}),isRetry:!1,extraBody:{},setExtraBody:function(r){return this.extraBody=Es(Es({},this.extraBody),r),this},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},onRetry:function(r){return this.onRetryCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Ba(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,u=a.body,h=this,p=function(){return LW(this,null,function*(){if(!a.ok){Ce.scope(()=>Ba(this,null,function*(){let{ok:k,done:A,data:N}=yield ea.streamToContext(u,{reader:s,decoder:f});k&&o(N)}));return}let w=!1;for(;!w;){let{ok:k,done:A,data:N}=yield new r5(ea.streamToContext(u,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),A=!0):h.streamStatus=="closed"&&(A=!0),A&&(w=A,s.releaseLock()),l(N,A)}})};try{for(var m=NW(p()),_,b,S;_=!(b=yield m.next()).done;_=!1){let w=b.value}}catch(w){S=[w]}finally{try{_&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[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 Ba(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let u=!1,h=500,p="InternalServerError",m={},_=null;try{ea.setDefaultOnStart&&ea.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:A,preventMultiRequest:N,timeout:Y,queries:M}=S,H=EW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);H.method=this.method;let F=ea.waitList.includes(w);if(N&&F)throw h=429,new Error("TooManyRequests");ea.waitList=[...ea.waitList,w];let Z=Ce.queryParams.set(Es({},M),String(this.url));m=yield fetch(Z,H).then(O=>Ba(this,null,function*(){return u=O.ok,h=O.status,p=O.statusText,_=O,k=="none"||k=="stream"?O:O[k]()})).catch(O=>{throw new Error(O)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),ea.waitList.splice(ea.waitList.findIndex(S=>S==a.key),1);let b={ok:u,status:h,statusText:p,body:m,additionalBody:this.extraBody,requestTime:l,rawData:_};if(!u){if(this.onRetryCB&&!this.isRetry){this.isRetry=!0;let S=yield this.onRetryCB(b.body,this.params,this);if(S)return this.params=S,this.send()}this.onErrorCB&&this.onErrorCB(b.body)}if(u&&this.onStreamCB&&a.response_format=="stream"){let S=(r=_.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),ea.setDefaultOnEnd&&ea.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},ea);ea.prototype.Fetcher.prototype=ea.prototype;var UW=r=>new wn.prototype.Filer(r),wn=UW;wn.prototype={};var VW=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};Ce.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:VW,isValid:function(){return this.ok},toBlob:function(){return Ba(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Ba(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Ba(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Ba(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}},wn);wn.fromFile=r=>Ba(void 0,null,function*(){return wn(r)});wn.fromBlob=(r,a)=>Ba(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 wn(s)});wn.fromArrayBuffer=(r,a)=>Ba(void 0,null,function*(){return wn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});wn.fromObjectURL=(r,a)=>Ba(void 0,null,function*(){let o=yield ea(r,{response_format:"blob"}).get();return o.ok?wn.fromBlob(o.body,a):wn({})});wn.fromDataURL=(r,a)=>Ba(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?wn.fromBlob(o,a):wn({})});wn.prototype.Filer.prototype=wn.prototype;var WW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let u=s;u.return=h=>{let{ok:p,status:m,body:_={},bodyStringify:b=!0}=h||{};m=m!=null?m:(p!=null?p:!0)&&200||403;let S=_;return b&&!Ce.is.string(_)&&(S=Ce.Stringify(_)),s.status(m).end(S)},f()}),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},h2=WW;h2.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};h2.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"};Ce.copyToClipboard=r=>Ba(void 0,null,function*(){let a="";Ce.is.string(r)?a=r:Ce.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Ba(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(Ce(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Ce.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});Ce.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}}};Ce.transformer={weekday:{ENG:r=>["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur"][r]+"day",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:f,To:u,name:h}=s;if(f<=r&&r<=u){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Ce.interval=xo;ea.setDefaultHeaders=()=>({});var qW=Ce});var c5=Ue($g=>{"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"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,A="@@iterator";function N(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[A];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),Te=1;Te<q;Te++)pe[Te-1]=arguments[Te];H("error",D,pe)}}function H(D,q,pe){{var Te=Y.ReactDebugCurrentFrame,He=Te.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Ze){return String(Ze)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Z=!1,O=!1,ae=!1,_e=!1,ee;ee=Symbol.for("react.module.reference");function ye(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===_||ae||D===w||F||Z||O||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ee||D.getModuleId!==void 0))}function be(D,q,pe){var Te=D.displayName;if(Te)return Te;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function he(D){return D.displayName||"Context"}function j(D){if(D==null)return null;if(typeof D.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return he(q)+".Consumer";case u:var pe=D;return he(pe._context)+".Provider";case p:return be(D,D.render,"ForwardRef");case b:var Te=D.displayName||null;return Te!==null?Te:j(D.type)||"Memo";case S:{var He=D,ft=He._payload,Ze=He._init;try{return j(Ze(ft))}catch(Ke){return null}}}return null}var le=Object.assign,de=0,B,W,ie,te,se,we,Se;function je(){}je.__reactDisabledLog=!0;function Ye(){{if(de===0){B=console.log,W=console.info,ie=console.warn,te=console.error,se=console.group,we=console.groupCollapsed,Se=console.groupEnd;var D={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}de++}}function Ge(){{if(de--,de===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ie}),error:le({},D,{value:te}),group:le({},D,{value:se}),groupCollapsed:le({},D,{value:we}),groupEnd:le({},D,{value:Se})})}de<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rt=Y.ReactCurrentDispatcher,et;function Nt(D,q,pe){{if(et===void 0)try{throw Error()}catch(He){var Te=He.stack.trim().match(/\n( *(at )?)/);et=Te&&Te[1]||""}return`
150
- `+et+D}}var $t=!1,dt;{var Xe=typeof WeakMap=="function"?WeakMap:Map;dt=new Xe}function ke(D,q){if(!D||$t)return"";{var pe=dt.get(D);if(pe!==void 0)return pe}var Te;$t=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=rt.current,rt.current=null,Ye();try{if(q){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(la){Te=la}Reflect.construct(D,[],Ze)}else{try{Ze.call()}catch(la){Te=la}D.call(Ze.prototype)}}else{try{throw Error()}catch(la){Te=la}D()}}catch(la){if(la&&Te&&typeof la.stack=="string"){for(var Ke=la.stack.split(`
149
+ `+('Please change the parent <Route path="'+Be+'"> to <Route ')+('path="'+(Be==="/"?"*":Be+"/*")+'">.'))}let Ae=R(),Je;if(P){var I;let Be=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Be.pathname)!=null&&I.startsWith(Me)||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 "'+Me+'" ')+('but pathname "'+Be.pathname+'" was given in the `location` prop.')),Je=Be}else Je=Ae;let V=Je.pathname||"/",ae=V;if(Me!=="/"){let Be=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Be.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(qe||se!=null,'No routes matched location "'+Je.pathname+Je.search+Je.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Je.pathname+Je.search+Je.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 Ve=q(se&&se.map(Be=>Object.assign({},Be,{params:Object.assign({},Oe,Be.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathname).pathname:Be.pathname]),pathnameBase:Be.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathnameBase).pathname:Be.pathnameBase])})),oe,D,z);return P&&Ve?s.createElement(_.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Je),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Ce(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),D=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},oe={padding:"2px 4px",backgroundColor:z},ne=null;return console.error("Error handled by React Router default ErrorBoundary:",$),ne=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:oe},"ErrorBoundary")," or"," ",s.createElement("code",{style:oe},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),D?s.createElement("pre",{style:G},D):null,ne)}let le=s.createElement(H,null);class fe extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,D){return D.location!==P.location||D.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:D.error,location:D.location,revalidation:P.revalidation||D.revalidation}}componentDidCatch(P,D){console.error("React Router caught the following error during render",P,D)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:D,children:z}=$,G=s.useContext(u);return G&&G.static&&G.staticContext&&(D.route.errorElement||D.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=D.route.id),s.createElement(b.Provider,{value:P},z)}function q($,P,D,z){var G;if(P===void 0&&(P=[]),D===void 0&&(D=null),z===void 0&&(z=null),$==null){var oe;if(!D)return null;if(D.errors)$=D.matches;else if((oe=z)!=null&&oe.v7_partialHydration&&P.length===0&&!D.initialized&&D.matches.length>0)$=D.matches;else return null}let ne=$,Oe=(G=D)==null?void 0:G.errors;if(Oe!=null){let qe=ne.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);qe>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),ne=ne.slice(0,Math.min(ne.length,qe+1))}let Pe=!1,Me=-1;if(D&&z&&z.v7_partialHydration)for(let qe=0;qe<ne.length;qe++){let Ae=ne[qe];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=qe),Ae.route.id){let{loaderData:Je,errors:I}=D,V=Ae.route.loader&&Je[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Pe=!0,Me>=0?ne=ne.slice(0,Me+1):ne=[ne[0]];break}}}return ne.reduceRight((qe,Ae,Je)=>{let I,V=!1,ae=null,se=null;D&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,ae=Ae.route.errorElement||le,Pe&&(Me<0&&Je===0?(rr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Je&&(V=!0,se=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(ne.slice(0,Je+1)),Be=()=>{let A;return I?A=ae:V?A=se:Ae.route.Component?A=s.createElement(Ae.route.Component,null):Ae.route.element?A=Ae.route.element:A=qe,s.createElement(B,{match:Ae,routeContext:{outlet:qe,matches:Ve,isDataRoute:D!=null},children:A})};return D&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Je===0)?s.createElement(fe,{location:D.location,revalidation:D.revalidation,component:ae,error:I,children:Be(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Be()},null)}var ie=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ie||{}),re=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(re||{});function he($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we($){let P=s.useContext(u);return P||o.UNSAFE_invariant(!1,he($)),P}function ge($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,he($)),P}function je($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,he($)),P}function We($){let P=je($),D=P.matches[P.matches.length-1];return D.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),D.route.id}function Ke(){return We(re.UseRouteId)}function tt(){return ge(re.UseNavigation).navigation}function dt(){let $=we(ie.UseRevalidator),P=ge(re.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function lt(){let{matches:$,loaderData:P}=ge(re.UseMatches);return s.useMemo(()=>$.map(D=>o.UNSAFE_convertRouteMatchToUiMatch(D,P)),[$,P])}function $t(){let $=ge(re.UseLoaderData),P=We(re.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function Pt($){return ge(re.UseRouteLoaderData).loaderData[$]}function Ge(){let $=ge(re.UseActionData),P=We(re.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Ce(){var $;let P=s.useContext(S),D=ge(re.UseRouteError),z=We(re.UseRouteError);return P!==void 0?P:($=D.errors)==null?void 0:$[z]}function st(){let $=s.useContext(p);return $==null?void 0:$._data}function wt(){let $=s.useContext(p);return $==null?void 0:$._error}let kt=0;function Nt($){let{router:P,basename:D}=we(ie.UseBlocker),z=ge(re.UseBlocker),[G,oe]=s.useState(""),ne=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(D==="/")return $(Oe);let{currentLocation:Pe,nextLocation:Me,historyAction:qe}=Oe;return $({currentLocation:f({},Pe,{pathname:o.stripBasename(Pe.pathname,D)||Pe.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,D)||Me.pathname}),historyAction:qe})},[D,$]);return s.useEffect(()=>{let Oe=String(++kt);return oe(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,ne)},[P,G,ne]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function At(){let{router:$}=we(ie.UseNavigateStable),P=We(re.UseNavigateStable),D=s.useRef(!1);return j(()=>{D.current=!0}),s.useCallback(function(G,oe){oe===void 0&&(oe={}),o.UNSAFE_warning(D.current,O),D.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},oe)))},[$,P])}let tr={};function rr($,P,D){!P&&!tr[$]&&(tr[$]=!0,o.UNSAFE_warning(!1,D))}let Ur=s["startTransition"];function Gr($){let{fallbackElement:P,router:D,future:z}=$,[G,oe]=s.useState(D.state),{v7_startTransition:ne}=z||{},Oe=s.useCallback(Ae=>{ne&&Ur?Ur(()=>oe(Ae)):oe(Ae)},[oe,ne]);s.useLayoutEffect(()=>D.subscribe(Oe),[D,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!D.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:D.createHref,encodeLocation:D.encodeLocation,go:Ae=>D.navigate(Ae),push:(Ae,Je,I)=>D.navigate(Ae,{state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Je,I)=>D.navigate(Ae,{replace:!0,state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[D]),Me=D.basename||"/",qe=s.useMemo(()=>({router:D,navigator:Pe,static:!1,basename:Me}),[D,Pe,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:qe},s.createElement(h.Provider,{value:G},s.createElement(vr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Pe,future:{v7_relativeSplatPath:D.future.v7_relativeSplatPath}},G.initialized||D.future.v7_partialHydration?s.createElement(xr,{routes:D.routes,future:D.future,state:G}):P))),null)}function xr($){let{routes:P,future:D,state:z}=$;return ve(P,void 0,z,D)}function pr($){let{basename:P,children:D,initialEntries:z,initialIndex:G,future:oe}=$,ne=s.useRef();ne.current==null&&(ne.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=ne.current,[Pe,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:qe}=oe||{},Ae=s.useCallback(Je=>{qe&&Ur?Ur(()=>Me(Je)):Me(Je)},[Me,qe]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(vr,{basename:P,children:D,location:Pe.location,navigationType:Pe.action,navigator:Oe,future:oe})}function br($){let{to:P,replace:D,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:oe,static:ne}=s.useContext(m);o.UNSAFE_warning(!ne,"<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:Oe}=s.useContext(b),{pathname:Pe}=R(),Me=F(),qe=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,oe.v7_relativeSplatPath),Pe,G==="path"),Ae=JSON.stringify(qe);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:D,state:z,relative:G}),[Me,Ae,G,D,z]),null}function ha($){return _e($.context)}function kr($){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 vr($){let{basename:P="/",children:D=null,location:z,navigationType:G=o.Action.Pop,navigator:oe,static:ne=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Pe,navigator:oe,static:ne,future:f({v7_relativeSplatPath:!1},Oe)}),[Pe,Oe,oe,ne]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:qe="/",search:Ae="",hash:Je="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(qe,Pe);return se==null?null:{location:{pathname:se,search:Ae,hash:Je,state:I,key:V},navigationType:G}},[Pe,qe,Ae,Je,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+qe+Ae+Je+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(_.Provider,{children:D,value:ae}))}function Ir($){let{children:P,location:D}=$;return pe(Vt(P),D)}function ba($){let{children:P,errorElement:D,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:D},s.createElement(Gt,null,P))}var ze=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(ze||{});let ct=new Promise(()=>{});class bt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,D){console.error("<Await> caught the following error during render",P,D)}render(){let{children:P,errorElement:D,resolve:z}=this.props,G=null,oe=ze.pending;if(!(z instanceof Promise))oe=ze.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){oe=ze.error;let ne=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>ne})}else z._tracked?(G=z,oe="_error"in G?ze.error:"_data"in G?ze.success:ze.pending):(oe=ze.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(ne=>Object.defineProperty(z,"_data",{get:()=>ne}),ne=>Object.defineProperty(z,"_error",{get:()=>ne})));if(oe===ze.error&&G._error instanceof o.AbortedDeferredError)throw ct;if(oe===ze.error&&!D)throw G._error;if(oe===ze.error)return s.createElement(p.Provider,{value:G,children:D});if(oe===ze.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function Gt($){let{children:P}=$,D=st(),z=typeof P=="function"?P(D):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let D=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let oe=[...P,G];if(z.type===s.Fragment){D.push.apply(D,Vt(z.props.children,oe));return}z.type!==kr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ne={id:z.props.id||oe.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(ne.children=Vt(z.props.children,oe)),D.push(ne)}),D}function Ar($){return q($)}function gr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Kr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:gr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.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=ba,r.MemoryRouter=pr,r.Navigate=br,r.Outlet=ha,r.Route=kr,r.Router=vr,r.RouterProvider=Gr,r.Routes=Ir,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=_,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=gr,r.UNSAFE_useRouteId=Ke,r.UNSAFE_useRoutesImpl=ve,r.createMemoryRouter=Kr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Ar,r.useActionData=Ge,r.useAsyncError=wt,r.useAsyncValue=st,r.useBlocker=Nt,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=$t,r.useLocation=R,r.useMatch=W,r.useMatches=lt,r.useNavigate=F,r.useNavigation=tt,r.useNavigationType=N,r.useOutlet=_e,r.useOutletContext=te,r.useParams=ee,r.useResolvedPath=de,r.useRevalidator=dt,r.useRouteError=Ce,r.useRouteLoaderData=Pt,r.useRoutes=pe,Object.defineProperty(r,"__esModule",{value:!0})})});var GT=Ue((rG,$T)=>{"use strict";$T.exports=YT()});var XT=Ue((Hg,KT)=>{(function(r,a){typeof Hg=="object"&&typeof KT!="undefined"?a(Hg,dr(),X0(),GT(),u2()):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))})(Hg,function(r,a,o,l,s){"use strict";function f(D){if(D&&D.__esModule)return D;var z=Object.create(null);return D&&Object.keys(D).forEach(function(G){if(G!=="default"){var oe=Object.getOwnPropertyDescriptor(D,G);Object.defineProperty(z,G,oe.get?oe:{enumerable:!0,get:function(){return D[G]}})}}),z.default=D,Object.freeze(z)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(D){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var oe in G)Object.prototype.hasOwnProperty.call(G,oe)&&(D[oe]=G[oe])}return D},p.apply(this,arguments)}function m(D,z){if(D==null)return{};var G={},oe=Object.keys(D),ne,Oe;for(Oe=0;Oe<oe.length;Oe++)ne=oe[Oe],!(z.indexOf(ne)>=0)&&(G[ne]=D[ne]);return G}let _="get",b="application/x-www-form-urlencoded";function S(D){return D!=null&&typeof D.tagName=="string"}function w(D){return S(D)&&D.tagName.toLowerCase()==="button"}function k(D){return S(D)&&D.tagName.toLowerCase()==="form"}function R(D){return S(D)&&D.tagName.toLowerCase()==="input"}function N(D){return!!(D.metaKey||D.altKey||D.ctrlKey||D.shiftKey)}function W(D,z){return D.button===0&&(!z||z==="_self")&&!N(D)}function O(D){return D===void 0&&(D=""),new URLSearchParams(typeof D=="string"||Array.isArray(D)||D instanceof URLSearchParams?D:Object.keys(D).reduce((z,G)=>{let oe=D[G];return z.concat(Array.isArray(oe)?oe.map(ne=>[G,ne]):[[G,oe]])},[]))}function j(D,z){let G=O(D);return z&&z.forEach((oe,ne)=>{G.has(ne)||z.getAll(ne).forEach(Oe=>{G.append(ne,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(D){F=!0}return F}let M=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(D){return D!=null&&!M.has(D)?(s.UNSAFE_warning(!1,'"'+D+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):D}function _e(D,z){let G,oe,ne,Oe,Pe;if(k(D)){let Me=D.getAttribute("action");oe=Me?s.stripBasename(Me,z):null,G=D.getAttribute("method")||_,ne=te(D.getAttribute("enctype"))||b,Oe=new FormData(D)}else if(w(D)||R(D)&&(D.type==="submit"||D.type==="image")){let Me=D.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let qe=D.getAttribute("formaction")||Me.getAttribute("action");if(oe=qe?s.stripBasename(qe,z):null,G=D.getAttribute("formmethod")||Me.getAttribute("method")||_,ne=te(D.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,D),!Q()){let{name:Ae,type:Je,value:I}=D;if(Je==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(D))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=_,oe=null,ne=b,Pe=D}return Oe&&ne==="text/plain"&&(Pe=Oe,Oe=void 0),{action:oe,method:G.toLowerCase(),encType:ne,formData:Oe,body:Pe}}let ee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],de=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],pe=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ve="6";try{window.__reactRouterVersion=ve}catch(D){}function H(D,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:D,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(D,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:D,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function fe(){var D;let z=(D=window)==null?void 0:D.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(D){if(!D)return null;let z=Object.entries(D),G={};for(let[oe,ne]of z)if(ne&&ne.__type==="RouteErrorResponse")G[oe]=new s.UNSAFE_ErrorResponseImpl(ne.status,ne.statusText,ne.data,ne.internal===!0);else if(ne&&ne.__type==="Error"){if(ne.__subType){let Oe=window[ne.__subType];if(typeof Oe=="function")try{let Pe=new Oe(ne.message);Pe.stack="",G[oe]=Pe}catch(Pe){}}if(G[oe]==null){let Oe=new Error(ne.message);Oe.stack="",G[oe]=Oe}}else G[oe]=ne;return G}let q=u.createContext({isTransitioning:!1});q.displayName="ViewTransition";let ie=u.createContext(new Map);ie.displayName="Fetchers";let he=u["startTransition"],ge=h["flushSync"],We=u["useId"];function Ke(D){he?he(D):D()}function tt(D){ge?ge(D):D()}class dt{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=oe=>{this.status==="pending"&&(this.status="resolved",z(oe))},this.reject=oe=>{this.status==="pending"&&(this.status="rejected",G(oe))}})}}function lt(D){let{fallbackElement:z,router:G,future:oe}=D,[ne,Oe]=u.useState(G.state),[Pe,Me]=u.useState(),[qe,Ae]=u.useState({isTransitioning:!1}),[Je,I]=u.useState(),[V,ae]=u.useState(),[se,Ve]=u.useState(),Be=u.useRef(new Map),{v7_startTransition:A}=oe||{},Y=u.useCallback(Xe=>{A?Ke(Xe):Xe()},[A]),me=u.useCallback((Xe,Ct)=>{let{deletedFetchers:Tt,unstable_flushSync:Wt,unstable_viewTransitionOpts:Xr}=Ct;Tt.forEach(ia=>Be.current.delete(ia)),Xe.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Be.current.set(la,ia.data)});let qa=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!Xr||qa){Wt?tt(()=>Oe(Xe)):Y(()=>Oe(Xe));return}if(Wt){tt(()=>{V&&(Je&&Je.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:Xr.currentLocation,nextLocation:Xr.nextLocation})});let ia=G.window.document.startViewTransition(()=>{tt(()=>Oe(Xe))});ia.finished.finally(()=>{tt(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})})}),tt(()=>ae(ia));return}V?(Je&&Je.resolve(),V.skipTransition(),Ve({state:Xe,currentLocation:Xr.currentLocation,nextLocation:Xr.nextLocation})):(Me(Xe),Ae({isTransitioning:!0,flushSync:!1,currentLocation:Xr.currentLocation,nextLocation:Xr.nextLocation}))},[G.window,V,Je,Be,Y]);u.useLayoutEffect(()=>G.subscribe(me),[G,me]),u.useEffect(()=>{qe.isTransitioning&&!qe.flushSync&&I(new dt)},[qe]),u.useEffect(()=>{if(Je&&Pe&&G.window){let Xe=Pe,Ct=Je.promise,Tt=G.window.document.startViewTransition(()=>qr(this,null,function*(){Y(()=>Oe(Xe)),yield Ct}));Tt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})}),ae(Tt)}},[Y,Pe,Je,G.window]),u.useEffect(()=>{Je&&Pe&&ne.location.key===Pe.location.key&&Je.resolve()},[Je,V,ne.location,Pe]),u.useEffect(()=>{!qe.isTransitioning&&se&&(Me(se.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[qe.isTransitioning,se]),u.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Te=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Xe=>G.navigate(Xe),push:(Xe,Ct,Tt)=>G.navigate(Xe,{state:Ct,preventScrollReset:Tt==null?void 0:Tt.preventScrollReset}),replace:(Xe,Ct,Tt)=>G.navigate(Xe,{replace:!0,state:Ct,preventScrollReset:Tt==null?void 0:Tt.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:Te,static:!1,basename:He}),[G,Te,He]),Ze=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ne},u.createElement(ie.Provider,{value:Be.current},u.createElement(q.Provider,{value:qe},u.createElement(l.Router,{basename:He,location:ne.location,navigationType:ne.historyAction,navigator:Te,future:Ze},ne.initialized||G.future.v7_partialHydration?u.createElement($t,{routes:G.routes,future:G.future,state:ne}):z))))),null)}let $t=u.memo(Pt);function Pt(D){let{routes:z,future:G,state:oe}=D;return l.UNSAFE_useRoutesImpl(z,void 0,oe,G)}function Ge(D){let{basename:z,children:G,future:oe,window:ne}=D,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,qe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&he?he(()=>qe(I)):qe(I)},[qe,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function Ce(D){let{basename:z,children:G,future:oe,window:ne}=D,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,qe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&he?he(()=>qe(I)):qe(I)},[qe,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function st(D){let{basename:z,children:G,future:oe,history:ne}=D,[Oe,Pe]=u.useState({action:ne.action,location:ne.location}),{v7_startTransition:Me}=oe||{},qe=u.useCallback(Ae=>{Me&&he?he(()=>Pe(Ae)):Pe(Ae)},[Pe,Me]);return u.useLayoutEffect(()=>ne.listen(qe),[ne,qe]),u.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:ne,future:oe})}st.displayName="unstable_HistoryRouter";let wt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",kt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nt=u.forwardRef(function(z,G){let{onClick:oe,relative:ne,reloadDocument:Oe,replace:Pe,state:Me,target:qe,to:Ae,preventScrollReset:Je,unstable_viewTransition:I}=z,V=m(z,ee),{basename:ae}=u.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Ae=="string"&&kt.test(Ae)&&(se=Ae,wt))try{let me=new URL(window.location.href),Te=Ae.startsWith("//")?new URL(me.protocol+Ae):new URL(Ae),He=s.stripBasename(Te.pathname,ae);Te.origin===me.origin&&He!=null?Ae=He+Te.search+Te.hash:Ve=!0}catch(me){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Be=l.useHref(Ae,{relative:ne}),A=br(Ae,{replace:Pe,state:Me,target:qe,preventScrollReset:Je,relative:ne,unstable_viewTransition:I});function Y(me){oe&&oe(me),me.defaultPrevented||A(me)}return u.createElement("a",p({},V,{href:se||Be,onClick:Ve||Oe?oe:Y,ref:G,target:qe}))});Nt.displayName="Link";let At=u.forwardRef(function(z,G){let{"aria-current":oe="page",caseSensitive:ne=!1,className:Oe="",end:Pe=!1,style:Me,to:qe,unstable_viewTransition:Ae,children:Je}=z,I=m(z,de),V=l.useResolvedPath(qe,{relative:I.relative}),ae=l.useLocation(),se=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Be}=u.useContext(l.UNSAFE_NavigationContext),A=se!=null&&P(V)&&Ae===!0,Y=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,me=ae.pathname,Te=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;ne||(me=me.toLowerCase(),Te=Te?Te.toLowerCase():null,Y=Y.toLowerCase()),Te&&Be&&(Te=s.stripBasename(Te,Be)||Te);let He=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length,ft=me===Y||!Pe&&me.startsWith(Y)&&me.charAt(He)==="/",Ze=Te!=null&&(Te===Y||!Pe&&Te.startsWith(Y)&&Te.charAt(Y.length)==="/"),Xe={isActive:ft,isPending:Ze,isTransitioning:A},Ct=ft?oe:void 0,Tt;typeof Oe=="function"?Tt=Oe(Xe):Tt=[Oe,ft?"active":null,Ze?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Xe):Me;return u.createElement(Nt,p({},I,{"aria-current":Ct,className:Tt,ref:G,style:Wt,to:qe,unstable_viewTransition:Ae}),typeof Je=="function"?Je(Xe):Je)});At.displayName="NavLink";let tr=u.forwardRef((D,z)=>{let{fetcherKey:G,navigate:oe,reloadDocument:ne,replace:Oe,state:Pe,method:Me=_,action:qe,onSubmit:Ae,relative:Je,preventScrollReset:I,unstable_viewTransition:V}=D,ae=m(D,pe),se=ba(),Ve=ze(qe,{relative:Je}),Be=Me.toLowerCase()==="get"?"get":"post",A=Y=>{if(Ae&&Ae(Y),Y.defaultPrevented)return;Y.preventDefault();let me=Y.nativeEvent.submitter,Te=(me==null?void 0:me.getAttribute("formmethod"))||Me;se(me||Y.currentTarget,{fetcherKey:G,method:Te,navigate:oe,replace:Oe,state:Pe,relative:Je,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Be,action:Ve,onSubmit:ne?Ae:A},ae))});tr.displayName="Form";function rr(D){let{getKey:z,storageKey:G}=D;return Ar({getKey:z,storageKey:G}),null}rr.displayName="ScrollRestoration";var Fr=function(D){return D.UseScrollRestoration="useScrollRestoration",D.UseSubmit="useSubmit",D.UseSubmitFetcher="useSubmitFetcher",D.UseFetcher="useFetcher",D.useViewTransitionState="useViewTransitionState",D}(Fr||{}),Ur=function(D){return D.UseFetcher="useFetcher",D.UseFetchers="useFetchers",D.UseScrollRestoration="useScrollRestoration",D}(Ur||{});function Gr(D){return D+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xr(D){let z=u.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,Gr(D)),z}function pr(D){let z=u.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,Gr(D)),z}function br(D,z){let{target:G,replace:oe,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me}=z===void 0?{}:z,qe=l.useNavigate(),Ae=l.useLocation(),Je=l.useResolvedPath(D,{relative:Pe});return u.useCallback(I=>{if(W(I,G)){I.preventDefault();let V=oe!==void 0?oe:l.createPath(Ae)===l.createPath(Je);qe(D,{replace:V,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me})}},[Ae,qe,Je,oe,ne,G,D,Oe,Pe,Me])}function ha(D){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 z=u.useRef(O(D)),G=u.useRef(!1),oe=l.useLocation(),ne=u.useMemo(()=>j(oe.search,G.current?null:z.current),[oe.search]),Oe=l.useNavigate(),Pe=u.useCallback((Me,qe)=>{let Ae=O(typeof Me=="function"?Me(ne):Me);G.current=!0,Oe("?"+Ae,qe)},[Oe,ne]);return[ne,Pe]}function kr(){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 vr=0,Ir=()=>"__"+String(++vr)+"__";function ba(){let{router:D}=xr(Fr.UseSubmit),{basename:z}=u.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return u.useCallback(function(oe,ne){ne===void 0&&(ne={}),kr();let{action:Oe,method:Pe,encType:Me,formData:qe,body:Ae}=_e(oe,z);if(ne.navigate===!1){let Je=ne.fetcherKey||Ir();D.fetch(Je,G,ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:qe,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,unstable_flushSync:ne.unstable_flushSync})}else D.navigate(ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:qe,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,replace:ne.replace,state:ne.state,fromRouteId:G,unstable_flushSync:ne.unstable_flushSync,unstable_viewTransition:ne.unstable_viewTransition})},[D,z,G])}function ze(D,z){let{relative:G}=z===void 0?{}:z,{basename:oe}=u.useContext(l.UNSAFE_NavigationContext),ne=u.useContext(l.UNSAFE_RouteContext);ne||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=ne.matches.slice(-1),Pe=p({},l.useResolvedPath(D||".",{relative:G})),Me=l.useLocation();if(D==null){Pe.search=Me.search;let qe=new URLSearchParams(Pe.search);qe.has("index")&&qe.get("index")===""&&(qe.delete("index"),Pe.search=qe.toString()?"?"+qe.toString():"")}return(!D||D===".")&&Oe.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),oe!=="/"&&(Pe.pathname=Pe.pathname==="/"?oe:s.joinPaths([oe,Pe.pathname])),l.createPath(Pe)}function ct(D){var z;let{key:G}=D===void 0?{}:D,{router:oe}=xr(Fr.UseFetcher),ne=pr(Ur.UseFetcher),Oe=u.useContext(ie),Pe=u.useContext(l.UNSAFE_RouteContext),Me=(z=Pe.matches[Pe.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let qe=We?We():"",[Ae,Je]=u.useState(G||qe);G&&G!==Ae?Je(G):Ae||Je(Ir()),u.useEffect(()=>(oe.getFetcher(Ae),()=>{oe.deleteFetcher(Ae)}),[oe,Ae]);let I=u.useCallback((Y,me)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),oe.fetch(Ae,Me,Y,me)},[Ae,Me,oe]),V=ba(),ae=u.useCallback((Y,me)=>{V(Y,p({},me,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),se=u.useMemo(()=>{let Y=u.forwardRef((me,Te)=>u.createElement(tr,p({},me,{navigate:!1,fetcherKey:Ae,ref:Te})));return Y.displayName="fetcher.Form",Y},[Ae]),Ve=ne.fetchers.get(Ae)||s.IDLE_FETCHER,Be=Oe.get(Ae);return u.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Be}),[se,ae,I,Ve,Be])}function bt(){let D=pr(Ur.UseFetchers);return Array.from(D.fetchers.entries()).map(z=>{let[G,oe]=z;return p({},oe,{key:G})})}let Gt="react-router-scroll-positions",Vt={};function Ar(D){let{getKey:z,storageKey:G}=D===void 0?{}:D,{router:oe}=xr(Fr.UseScrollRestoration),{restoreScrollPosition:ne,preventScrollReset:Oe}=pr(Ur.UseScrollRestoration),{basename:Pe}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),qe=l.useMatches(),Ae=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Kr(u.useCallback(()=>{if(Ae.state==="idle"){let Je=(z?z(Me,qe):null)||Me.key;Vt[Je]=window.scrollY}try{sessionStorage.setItem(G||Gt,JSON.stringify(Vt))}catch(Je){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Je+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,qe])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Je=sessionStorage.getItem(G||Gt);Je&&(Vt=JSON.parse(Je))}catch(Je){}},[G]),u.useLayoutEffect(()=>{let Je=z&&Pe!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Pe)||V.pathname}),ae):z,I=oe==null?void 0:oe.enableScrollRestoration(Vt,()=>window.scrollY,Je);return()=>I&&I()},[oe,Pe,z]),u.useLayoutEffect(()=>{if(ne!==!1){if(typeof ne=="number"){window.scrollTo(0,ne);return}if(Me.hash){let Je=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Je){Je.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,ne,Oe]))}function gr(D,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",D,oe),()=>{window.removeEventListener("beforeunload",D,oe)}},[D,G])}function Kr(D,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",D,oe),()=>{window.removeEventListener("pagehide",D,oe)}},[D,G])}function $(D){let{when:z,message:G}=D,oe=l.useBlocker(z);u.useEffect(()=>{oe.state==="blocked"&&(window.confirm(G)?setTimeout(oe.proceed,0):oe.reset())},[oe,G]),u.useEffect(()=>{oe.state==="blocked"&&!z&&oe.reset()},[oe,z])}function P(D,z){z===void 0&&(z={});let G=u.useContext(q);G==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:oe}=xr(Fr.useViewTransitionState),ne=l.useResolvedPath(D,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,oe)||G.currentLocation.pathname,Pe=s.stripBasename(G.nextLocation.pathname,oe)||G.nextLocation.pathname;return s.matchPath(ne.pathname,Pe)!=null||s.matchPath(ne.pathname,Oe)!=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=Ge,r.Form=tr,r.HashRouter=Ce,r.Link=Nt,r.NavLink=At,r.RouterProvider=lt,r.ScrollRestoration=rr,r.UNSAFE_FetchersContext=ie,r.UNSAFE_ViewTransitionContext=q,r.UNSAFE_useScrollRestoration=Ar,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=st,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=gr,r.useFetcher=ct,r.useFetchers=bt,r.useFormAction=ze,r.useLinkClickHandler=br,r.useSearchParams=ha,r.useSubmit=ba,Object.defineProperty(r,"__esModule",{value:!0})})});var JT=Ue((nG,QT)=>{"use strict";QT.exports=XT()});var nr=Ue((oG,n5)=>{"use strict";var Wg=Object.defineProperty,CW=Object.defineProperties,xW=Object.getOwnPropertyDescriptor,kW=Object.getOwnPropertyDescriptors,TW=Object.getOwnPropertyNames,Vg=Object.getOwnPropertySymbols,d2=Object.prototype.hasOwnProperty,e5=Object.prototype.propertyIsEnumerable,f2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Ug=Math.pow,ZT=(r,a,o)=>a in r?Wg(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,Es=(r,a)=>{for(var o in a||(a={}))d2.call(a,o)&&ZT(r,o,a[o]);if(Vg)for(var o of Vg(a))e5.call(a,o)&&ZT(r,o,a[o]);return r},t5=(r,a)=>CW(r,kW(a)),EW=(r,a)=>{var o={};for(var l in r)d2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Vg)for(var l of Vg(r))a.indexOf(l)<0&&e5.call(r,l)&&(o[l]=r[l]);return o},RW=(r,a)=>{for(var o in a)Wg(r,o,{get:a[o],enumerable:!0})},DW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of TW(a))!d2.call(r,s)&&s!==o&&Wg(r,s,{get:()=>a[s],enumerable:!(l=xW(a,s))||l.enumerable});return r},AW=r=>DW(Wg({},"__esModule",{value:!0}),r),Sa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())}),r5=function(r,a){this[0]=r,this[1]=a},LW=(r,a,o)=>{var l=(u,h,p,m)=>{try{var _=o[u](h),b=(h=_.value)instanceof r5,S=_.done;Promise.resolve(b?h[0]:h).then(w=>b?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[f2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},NW=(r,a,o)=>(a=r[f2("asyncIterator")])?a.call(r):(r=r[f2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((u,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),a5={};RW(a5,{Fetcher:()=>Pr,Filer:()=>Cn,Server:()=>h2,Time:()=>Rr,UUID:()=>rf,default:()=>qW,useStore:()=>qg});n5.exports=AW(a5);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(f){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(/+/,"+")},String.prototype.escapeRegExChar=function(){return this.replace(/\\/g,"\\\\").replace(/(\?|\^|\$|\.|\||\*|\+|\(|\)|\{|\}|\[|\])/g,"\\$1")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Ug(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Ug(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Ug(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Ug(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),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=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){let f=String(s||""),u=this.every(m=>{let _=Number(r(m,f.split(".")));return typeof _=="number"&&!isNaN(_)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(u){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)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=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var OW=(r=26)=>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(""),rf=OW;rf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");rf.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};rf.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 MW=r=>new xe.prototype.jmini(r),xe=MW;xe.prototype={};xe.extend=function(r,a=xe){for(var[o,l]of Object.entries(r))a.prototype[o]=l};xe.expando="__jmini_"+rf();var $a=(r,a)=>(r.queue.push(a),p2(r),r),p2=r=>Sa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,p2(r)}}),nu=(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},PW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[xe.expando]||(xe.is.element(l)||xe.is.shadowRoot(l))&&(l[xe.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,p2(r),r};xe.extend({constructor:xe,jmini:function(r){return this.src=r,this.srcType=xe.is.what(r),this.queueProcess=!0,this.queue=[],PW(this,xe.is.jmini(r)?r.get():xe.is.element(r)?[r]:xe.is.elements(r)?r:xe.is.shadowRoot(r)?[r]:xe.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});xe.prototype[String(Symbol.iterator)]=[][Symbol.iterator];xe.prototype.jmini.prototype=xe.prototype;{let r=function(s,f,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,u)=>{if(!(xe.is.element(f)||xe.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(xe(f).for(u=>{if(s&&(xe.is.element(u)||xe.is.shadowRoot(u)))if(xe.is.string(s)||xe.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(xe.is.element(s))u.appendChild(s);else{xe.is.jmini(s)?s=s.get():xe.is.element(s)?s=[s]:xe.is.keyValueDictionary(s)&&(s=[xe(s)]);for(var h=0;h<s.length;h++)o(s[h],u)}}),f),l=(s,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(xe.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;xe(u[0]).for(_=>{u[1]&&(_=_.cloneNode(!0)),m.parentNode.insertBefore(_,m[p]||m)})}}),s};xe.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let u=r(this,(h,p)=>s(h,p),1);return f?u:[]},await:function(s){return $a(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return $a(this,()=>Sa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return $a(this,()=>Sa(this,null,function*(){return yield s(this),this}))},click:function(){return $a(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.click()}return this})},focus:function(){return $a(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.focus()}return this})},addEvent:function(s){return $a(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=s;return m=Es({passive:!0,capture:!1},m),this.for(_=>{if(!(xe.is.element(_)||xe.is.shadowRoot(_)))return;let{events:b}=_[xe.expando];if(h){let S=p;p=w=>{if(w.target){if(xe.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(xe.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[u]){let S=b[u];_.removeEventListener(S.eventType,S.callback,S.options)}b[u]={eventType:f,callback:p,options:m},_.addEventListener(f,p,m)}),this})},removeEvent:function(s){return $a(this,()=>{let f=xe.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[xe.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return $a(this,()=>nu(this,o(s,a(this))))},empty:function(){return $a(this,()=>nu(this,a(this)))},append:function(s){return $a(this,()=>{o(s,this)})},remove:function(){return $a(this,()=>(this.for((s,f)=>{s&&xe.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return $a(this,()=>nu(this,l(this,"before",...s)))},after:function(...s){return $a(this,()=>nu(this,l(this,"after",...s)))},find:function(s){return $a(this,()=>{let f=[],u=this[0];u||nu(this,xe()),(xe.is.element(u)||xe.is.shadowRoot(u))&&(xe.is.string(s)?f=u.querySelectorAll(s):xe.is.element(u)&&xe(s).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...xe(m).find(h).for(_=>_)])})),nu(this,xe(f))})},parent:function(s){return $a(this,()=>{var f,u;let h=xe(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);nu(this,h)})},children:function(s){return $a(this,()=>{let f=this[0].children;xe.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=xe(f);return nu(this,u)})},addClass:function(s){return $a(this,()=>(s&&this.for(f=>{let u=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return $a(this,()=>(s&&this.for(f=>{let u=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(s){return $a(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(s))),f},css:function(s){return $a(this,()=>(this.for(f=>{if(xe.is.element(f))for(let[u,h]of Object.entries(s)){if(xe.is.number(h)&&u.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[u]=h+"px";continue}f.style[u]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return $a(this,()=>(this.for(u=>u.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&xe.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&xe.is.element(u)&&u.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return xe.is.element(this[0])?this[0].getBoundingClientRect():{}}})}xe.flatArray=(r,a)=>{if(!xe.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?xe.flatArray(l,"-R"):[l]);return o};xe.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[xe.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};xe.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};xe.Stringify=(...r)=>{let[a,o,l]=r;return JSON.stringify(a,o!=null?o:(()=>{let s=new WeakSet;return(f,u)=>{if(typeof u=="object"&&u!==null){if(s.has(u))return"[Circular Reference]";s.add(u)}return u}})(),l)};xe.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};xe.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 f=Math.round(Math.random()*(l.length-1))+0;return l[f]};xe.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};xe.trySync=r=>Sa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});xe.scope=r=>r();xe.scopeSync=r=>Sa(void 0,null,function*(){return yield r()});xe.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),u)for(let S of Object.entries(u)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&xe.is.keyValueDictionary(k))for(let[R,N]of Object.entries(k))m.dataset[R]=N;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&xe(m).append(f),h)for(var[_,b]of Object.entries(h))m.style[_]=b;return p&&xe(p).append(m),m};xe.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};xe.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};xe.localStrage={set:(r,a)=>{localStorage.setItem(r,xe.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return xe.Objectify(a,a)}};xe.deleteCookie=r=>{document.cookie=r+"=max-age=0"};xe.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(xe(document.body).getStyleProperty("--sat").removeLetters()),h=Number(xe(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};xe.getCursor=r=>{var a,o,l,s,f,u,h,p;let m=(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,_=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:m,y:_}};xe.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});xe.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(xe.is.keyValueDictionary(r)&&xe.is.keyValueDictionary(o))for(let l in o)xe.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),xe.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return xe.deepMerge(r,...a)};xe.deepCopy=r=>{if(xe.is.array(r))return r.map(a=>xe.deepCopy(a));if(xe.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=xe.deepCopy(l)}),a}return r};xe.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()}};xe.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};xe.is={equal:function(r,a,o){return o==null||o?xe.Stringify(r)===xe.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===xe},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 IW=r=>new Rr.prototype.Time(r),Rr=IW;Rr.prototype={};var zW=function(r){Rr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(String(r).replace(/\//g,"-"));return this.set(a)};xe.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:Rr,Time:zW,clone:function(){return Rr(this)},set:function(r){this.value=r;let a=xe.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(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/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(),f=Math.ceil(s/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{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},isPast:function(){let r=Rr();return this.value.valueOf()<r.value.valueOf()},isSameYear:function(r){let a=Rr(r);return this.year==a.year},isSameMonth:function(r){let a=Rr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Rr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Rr(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%i\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%i\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"):""},toLangYMD:function(r){if(!this.validate)return"";let a=Rr(),o=a.diff(this);return o.dates==0?"\u4ECA\u65E5":o.dates==1?"\u6628\u65E5":o.dates>=-7&&o.dates<0?-1*o.dates+"\u65E5\u5F8C":o.dates<=7&&o.dates>0?o.dates+"\u65E5\u524D":this.isSameYear(a)?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D")},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)},setFromFormatHHMM:function(r){let a=String(r).removeLetters().removeSpecifics().toNumber().zeroEmbed(4).replace(/(\d{2})(\d{2})/,"$1:$2"),[o,l]=a.split(":"),s=new Date(this.value.valueOf());return s.setHours(Number(o)),s.setMinutes(Number(l)),this.set(s)},setFromFormatHHMMSS:function(r){let a=String(r).removeLetters().removeSpecifics().toNumber().zeroEmbed(6).replace(/(\d{2})(\d{2})(\d{2})/,"$1:$2:$3"),[o,l,s]=a.split(":"),f=new Date(this.value.valueOf());return f.setHours(Number(o)),f.setMinutes(Number(l)),f.setSeconds(Number(s)),this.set(f)},getFirstDayOfTheYear:function(){return Rr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Rr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Rr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Rr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Rr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Rr(this.value);return r.addDate(6-r.weekday)},diff:function(r){return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:xe.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),l=r.clone().setFirstOfTheDay();return Math.floor((o.ms-l.ms)/a)}),hours:xe.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),l=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),minutes:xe.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),l=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),seconds:xe.scope(()=>{let a=this.clone().setMilliseconds(0),o=r.clone().setMilliseconds(0);return Math.floor((a.ms-o.ms)/1e3)}),ms:this.ms-r.ms}},getAge:function(r){let a=r||Rr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Rr);Rr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Rr};Rr.getFromNumberYYYYMMDD=r=>{let a=Number(r).zeroEmbed(8).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Rr(a+" 00:00:00")};Rr.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Rr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Rr.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=Rr(s).addYear(1):r=="month"?s=Rr(s).addMonth(1):r=="week"?s=Rr(s).addWeek(1):r=="day"?s=Rr(s).addDate(1):r=="hours"?s=Rr(s).addHours(1):r=="minutes"?s=Rr(s).addMinutes(1):r=="seconds"&&(s=Rr(s).addSeconds(1));return l};Rr.prototype.Time.prototype=Rr.prototype;var cc={},qg={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=cc[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),cc[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=cc[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),cc[l]=t5(Es({},cc[l]),{value:Es(Es({},(f=cc[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=cc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=cc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete cc[r],!0)}},BW=(...[r,a,o])=>new wn.prototype.Interval(r,a,o),wn=BW;wn.prototype={};var FW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,this.isFinished=!1,wn.abort(this.key),this.store(),this};xe.extend({key:"",ms:0,timeoutIndex:-1,fn:null,isFinished:!1,Interval:FW,store:function(){qg.set({["Interval_"+this.key]:this})},once:function(){if(this.fn){let r=()=>{this.fn&&this.fn(),this.isFinished=!0,this.store()};this.timeoutIndex=setTimeout(r,this.ms)}return this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return wn.abort(this.timeoutIndex),this},setState:function(r){return Object.entries(r).forEach(([a,o])=>{this.hasOwnProperty(a)&&(this[a]=o)}),this.store(),this}},wn);wn.abort=r=>{if(xe.is.number(r))return clearInterval(r);let a=qg.get("Interval_"+r);a&&(a&&clearInterval(a.timeoutIndex),a.setState({isFinished:!0}))};wn.get=r=>qg.get("Interval_"+r);wn.once=(r,a,o)=>wn(r,a,o).once();wn.series=(r,a)=>Sa(void 0,null,function*(){return new Promise(o=>{let l=wn.get(r);if(l&&!l.isFinished)return o(null);let s=()=>{wn.abort(r)};o(s),a&&wn(s,a,r).once()})});wn.start=(r,a,o)=>wn(r,a,o).start();wn.prototype.Interval.prototype=wn.prototype;var jW=(r,a)=>new Pr.prototype.Fetcher(r,a),Pr=jW;Pr.prototype={};Pr.waitList=[];Pr.setDefaultTrafficControl=0;Pr.setDefaultTimeout=1e3*60*10;Pr.isReadableStream=r=>r instanceof ReadableStream;Pr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Pr.streamToContext=(r,a)=>Sa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Pr.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 HW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!xe.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=xe.Stringify(a.body||{}));let s=r;return xe.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=t5(Es({key:rf(),response_format:"json",timeout:Pr.setDefaultTimeout,trafficControl:Pr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Es(Es({"Content-Type":"application/json"},Pr.setDefaultHeaders&&Pr.setDefaultHeaders()),a.headers),body:l}),this};xe.extend({Fetcher:HW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>Sa(void 0,null,function*(){}),onKeyDuplicateCB:()=>Sa(void 0,null,function*(){}),onCompleteCB:()=>{},onRetryCB:()=>Sa(void 0,null,function*(){return null}),isRetry:!1,extraBody:{},setExtraBody:function(r){return this.extraBody=Es(Es({},this.extraBody),r),this},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onKeyDuplicate:function(r){return this.onKeyDuplicateCB=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},onRetry:function(r){return this.onRetryCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Sa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,u=a.body,h=this,p=function(){return LW(this,null,function*(){if(!a.ok){xe.scope(()=>Sa(this,null,function*(){let{ok:k,done:R,data:N}=yield Pr.streamToContext(u,{reader:s,decoder:f});k&&o(N)}));return}let w=!1;for(;!w;){let{ok:k,done:R,data:N}=yield new r5(Pr.streamToContext(u,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),R=!0):h.streamStatus=="closed"&&(R=!0),R&&(w=R,s.releaseLock()),l(N,R)}})};try{for(var m=NW(p()),_,b,S;_=!(b=yield m.next()).done;_=!1){let w=b.value}}catch(w){S=[w]}finally{try{_&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[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 Sa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=a,{key:s,response_format:f,trafficControl:u,preventMultiRequest:h,timeout:p,queries:m}=l,_=EW(l,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);_.method=this.method;let b=[this.method,s].join("."),S=Pr.waitList.includes(b);Pr.waitList=[...Pr.waitList,b];let w=!1,k=!1,R=!1,N=0,W=500,O="InternalServerError",j={},F=null,Q=new AbortController,M=setTimeout(()=>{Q.abort()},a.timeout);a.signal=Q.signal;let te=()=>{w=!0},_e=()=>(Q.abort(),Pr.waitList=Pr.waitList.filter(de=>de!=b),{isCancelled:w,isAborted:k,ok:!1,status:0,statusText:"CANCELLED",body:j,requestTime:0,rawData:null});try{if(Pr.setDefaultOnStart&&(yield Pr.setDefaultOnStart(a,te)),this.onStartCB&&(yield this.onStartCB(a,te)),w)return _e();if(S){if(this.onKeyDuplicateCB&&(yield this.onKeyDuplicateCB(te)),w)return _e();if(h)throw W=429,new Error("TooManyRequests")}let de=xe.queryParams.set(Es({},m),String(this.url));j=yield fetch(de,_).then(pe=>Sa(this,null,function*(){return R=pe.ok,W=pe.status,O=pe.statusText,F=pe,f=="none"||f=="stream"?pe:pe[f]()})).catch(pe=>{throw new Error(pe)})}catch(de){W==200&&(W=500,R=!1),W==429&&(O="TooManyRequests"),Q.signal.aborted&&(W=408,O="Timeout",k=!0),W==500&&(O=String(de)||O),j={errorCode:String(de)}}finally{clearTimeout(M),N=performance.now()-o}let ee={isCancelled:w,isAborted:k,ok:R,status:W,statusText:O,body:j,additionalBody:this.extraBody,requestTime:N,rawData:F};if(!R){if(this.onRetryCB&&!this.isRetry){this.isRetry=!0;let de=yield this.onRetryCB(ee.body,this.params,this);if(de)return Pr.waitList=Pr.waitList.filter(pe=>pe!=b),this.params=de,this.send()}this.onErrorCB&&this.onErrorCB(ee.body)}if(R&&this.onStreamCB&&a.response_format=="stream"){let de=(r=F.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:ee,reader:de,decoder:new TextDecoder("utf-8")})}if(a.trafficControl){let de=a.trafficControl-Math.round(N);de>0&&(yield xe.pending(()=>{},de),ee.requestTime=a.trafficControl)}return R&&this.onCompleteCB&&this.onCompleteCB(ee.body),this.onResultCB&&this.onResultCB(ee,a),Pr.setDefaultOnEnd&&Pr.setDefaultOnEnd(ee,a),Pr.waitList=Pr.waitList.filter(de=>de!=b),ee})},abortStream:function(){this.streamStatus="abort"}},Pr);Pr.prototype.Fetcher.prototype=Pr.prototype;var UW=r=>new Cn.prototype.Filer(r),Cn=UW;Cn.prototype={};var VW=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};xe.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:VW,isValid:function(){return this.ok},toBlob:function(){return Sa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Sa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Sa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Sa(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}},Cn);Cn.fromFile=r=>Sa(void 0,null,function*(){return Cn(r)});Cn.fromBlob=(r,a)=>Sa(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 Cn(s)});Cn.fromArrayBuffer=(r,a)=>Sa(void 0,null,function*(){return Cn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});Cn.fromObjectURL=(r,a)=>Sa(void 0,null,function*(){let o=yield Pr(r,{response_format:"blob"}).get();return o.ok?Cn.fromBlob(o.body,a):Cn({})});Cn.fromDataURL=(r,a)=>Sa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?Cn.fromBlob(o,a):Cn({})});Cn.prototype.Filer.prototype=Cn.prototype;var WW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let u=s;u.return=h=>{let{ok:p,status:m,body:_={},bodyStringify:b=!0}=h||{};m=m!=null?m:(p!=null?p:!0)&&200||403;let S=_;return b&&!xe.is.string(_)&&(S=xe.Stringify(_)),s.status(m).end(S)},f()}),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},h2=WW;h2.getLocalIP=r=>{let a="";return xe.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};h2.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"};xe.copyToClipboard=r=>Sa(void 0,null,function*(){let a="";xe.is.string(r)?a=r:xe.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Sa(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(xe(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});xe.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});xe.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}}};xe.transformer={weekday:{ENG:r=>["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur"][r]+"day",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:f,To:u,name:h}=s;if(f<=r&&r<=u){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};xe.interval=wn;Pr.setDefaultHeaders=()=>({});var qW=xe});var c5=Ue($g=>{"use strict";(function(){"use strict";var r=dr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,R="@@iterator";function N(A){if(A===null||typeof A!="object")return null;var Y=k&&A[k]||A[R];return typeof Y=="function"?Y:null}var W=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(A){{for(var Y=arguments.length,me=new Array(Y>1?Y-1:0),Te=1;Te<Y;Te++)me[Te-1]=arguments[Te];j("error",A,me)}}function j(A,Y,me){{var Te=W.ReactDebugCurrentFrame,He=Te.getStackAddendum();He!==""&&(Y+="%s",me=me.concat([He]));var ft=me.map(function(Ze){return String(Ze)});ft.unshift("Warning: "+Y),Function.prototype.apply.call(console[A],console,ft)}}var F=!1,Q=!1,M=!1,te=!1,_e=!1,ee;ee=Symbol.for("react.module.reference");function de(A){return!!(typeof A=="string"||typeof A=="function"||A===l||A===f||_e||A===s||A===m||A===_||te||A===w||F||Q||M||typeof A=="object"&&A!==null&&(A.$$typeof===S||A.$$typeof===b||A.$$typeof===u||A.$$typeof===h||A.$$typeof===p||A.$$typeof===ee||A.getModuleId!==void 0))}function pe(A,Y,me){var Te=A.displayName;if(Te)return Te;var He=Y.displayName||Y.name||"";return He!==""?me+"("+He+")":me}function ve(A){return A.displayName||"Context"}function H(A){if(A==null)return null;if(typeof A.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case h:var Y=A;return ve(Y)+".Consumer";case u:var me=A;return ve(me._context)+".Provider";case p:return pe(A,A.render,"ForwardRef");case b:var Te=A.displayName||null;return Te!==null?Te:H(A.type)||"Memo";case S:{var He=A,ft=He._payload,Ze=He._init;try{return H(Ze(ft))}catch(Xe){return null}}}return null}var le=Object.assign,fe=0,B,q,ie,re,he,we,ge;function je(){}je.__reactDisabledLog=!0;function We(){{if(fe===0){B=console.log,q=console.info,ie=console.warn,re=console.error,he=console.group,we=console.groupCollapsed,ge=console.groupEnd;var A={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}fe++}}function Ke(){{if(fe--,fe===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},A,{value:B}),info:le({},A,{value:q}),warn:le({},A,{value:ie}),error:le({},A,{value:re}),group:le({},A,{value:he}),groupCollapsed:le({},A,{value:we}),groupEnd:le({},A,{value:ge})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var tt=W.ReactCurrentDispatcher,dt;function lt(A,Y,me){{if(dt===void 0)try{throw Error()}catch(He){var Te=He.stack.trim().match(/\n( *(at )?)/);dt=Te&&Te[1]||""}return`
150
+ `+dt+A}}var $t=!1,Pt;{var Ge=typeof WeakMap=="function"?WeakMap:Map;Pt=new Ge}function Ce(A,Y){if(!A||$t)return"";{var me=Pt.get(A);if(me!==void 0)return me}var Te;$t=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=tt.current,tt.current=null,We();try{if(Y){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(la){Te=la}Reflect.construct(A,[],Ze)}else{try{Ze.call()}catch(la){Te=la}A.call(Ze.prototype)}}else{try{throw Error()}catch(la){Te=la}A()}}catch(la){if(la&&Te&&typeof la.stack=="string"){for(var Xe=la.stack.split(`
151
151
  `),Ct=Te.stack.split(`
152
- `),Et=Ke.length-1,Wt=Ct.length-1;Et>=1&&Wt>=0&&Ke[Et]!==Ct[Wt];)Wt--;for(;Et>=1&&Wt>=0;Et--,Wt--)if(Ke[Et]!==Ct[Wt]){if(Et!==1||Wt!==1)do if(Et--,Wt--,Wt<0||Ke[Et]!==Ct[Wt]){var Gr=`
153
- `+Ke[Et].replace(" at new "," at ");return D.displayName&&Gr.includes("<anonymous>")&&(Gr=Gr.replace("<anonymous>",D.displayName)),typeof D=="function"&&dt.set(D,Gr),Gr}while(Et>=1&&Wt>=0);break}}}finally{$t=!1,rt.current=ft,Ge(),Error.prepareStackTrace=He}var qa=D?D.displayName||D.name:"",ia=qa?Nt(qa):"";return typeof D=="function"&&dt.set(D,ia),ia}function ot(D,q,pe){return ke(D,!1)}function kt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function Tt(D,q,pe){if(D==null)return"";if(typeof D=="function")return ke(D,kt(D));if(typeof D=="string")return Nt(D);switch(D){case m:return Nt("Suspense");case _:return Nt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return ot(D.render);case b:return Tt(D.type,q,pe);case S:{var Te=D,He=Te._payload,ft=Te._init;try{return Tt(ft(He),q,pe)}catch(Ze){}}}return""}var wt=Object.prototype.hasOwnProperty,tr={},Ut=Y.ReactDebugCurrentFrame;function dr(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);Ut.setExtraStackFrame(pe)}else Ut.setExtraStackFrame(null)}function na(D,q,pe,Te,He){{var ft=Function.call.bind(wt);for(var Ze in D)if(ft(D,Ze)){var Ke=void 0;try{if(typeof D[Ze]!="function"){var Ct=Error((Te||"React class")+": "+pe+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Ze](q,Ze,Te,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Et){Ke=Et}Ke&&!(Ke instanceof Error)&&(dr(He),M("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",pe,Ze,typeof Ke),dr(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,dr(He),M("Failed %s type: %s",pe,Ke.message),dr(null))}}}var jr=Array.isArray;function Yr(D){return jr(D)}function xr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function pr(D){try{return br(D),!1}catch(q){return!0}}function br(D){return""+D}function pa(D){if(pr(D))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xr(D)),br(D)}var kr=Y.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Pr,ba,ze;ze={};function ct(D){if(wt.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function bt(D){if(wt.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function Gt(D,q){if(typeof D.ref=="string"&&kr.current&&q&&kr.current.stateNode!==q){var pe=j(kr.current.type);ze[pe]||(M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(kr.current.type),D.ref),ze[pe]=!0)}}function Vt(D,q){{var pe=function(){Pr||(Pr=!0,M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function Ar(D,q){{var pe=function(){ba||(ba=!0,M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var gr=function(D,q,pe,Te,He,ft,Ze){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Ze,_owner:ft};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function $r(D,q,pe,Te,He){{var ft,Ze={},Ke=null,Ct=null;pe!==void 0&&(pa(pe),Ke=""+pe),bt(q)&&(pa(q.key),Ke=""+q.key),ct(q)&&(Ct=q.ref,Gt(q,He));for(ft in q)wt.call(q,ft)&&!vr.hasOwnProperty(ft)&&(Ze[ft]=q[ft]);if(D&&D.defaultProps){var Et=D.defaultProps;for(ft in Et)Ze[ft]===void 0&&(Ze[ft]=Et[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Ze,Wt),Ct&&Ar(Ze,Wt)}return gr(D,Ke,Ct,He,Te,kr.current,Ze)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function oe(){{if($.current){var D=j($.current.type);if(D)return`
152
+ `),Tt=Xe.length-1,Wt=Ct.length-1;Tt>=1&&Wt>=0&&Xe[Tt]!==Ct[Wt];)Wt--;for(;Tt>=1&&Wt>=0;Tt--,Wt--)if(Xe[Tt]!==Ct[Wt]){if(Tt!==1||Wt!==1)do if(Tt--,Wt--,Wt<0||Xe[Tt]!==Ct[Wt]){var Xr=`
153
+ `+Xe[Tt].replace(" at new "," at ");return A.displayName&&Xr.includes("<anonymous>")&&(Xr=Xr.replace("<anonymous>",A.displayName)),typeof A=="function"&&Pt.set(A,Xr),Xr}while(Tt>=1&&Wt>=0);break}}}finally{$t=!1,tt.current=ft,Ke(),Error.prepareStackTrace=He}var qa=A?A.displayName||A.name:"",ia=qa?lt(qa):"";return typeof A=="function"&&Pt.set(A,ia),ia}function st(A,Y,me){return Ce(A,!1)}function wt(A){var Y=A.prototype;return!!(Y&&Y.isReactComponent)}function kt(A,Y,me){if(A==null)return"";if(typeof A=="function")return Ce(A,wt(A));if(typeof A=="string")return lt(A);switch(A){case m:return lt("Suspense");case _:return lt("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case p:return st(A.render);case b:return kt(A.type,Y,me);case S:{var Te=A,He=Te._payload,ft=Te._init;try{return kt(ft(He),Y,me)}catch(Ze){}}}return""}var Nt=Object.prototype.hasOwnProperty,At={},tr=W.ReactDebugCurrentFrame;function rr(A){if(A){var Y=A._owner,me=kt(A.type,A._source,Y?Y.type:null);tr.setExtraStackFrame(me)}else tr.setExtraStackFrame(null)}function Fr(A,Y,me,Te,He){{var ft=Function.call.bind(Nt);for(var Ze in A)if(ft(A,Ze)){var Xe=void 0;try{if(typeof A[Ze]!="function"){var Ct=Error((Te||"React class")+": "+me+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Xe=A[Ze](Y,Ze,Te,me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Tt){Xe=Tt}Xe&&!(Xe instanceof Error)&&(rr(He),O("%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).",Te||"React class",me,Ze,typeof Xe),rr(null)),Xe instanceof Error&&!(Xe.message in At)&&(At[Xe.message]=!0,rr(He),O("Failed %s type: %s",me,Xe.message),rr(null))}}}var Ur=Array.isArray;function Gr(A){return Ur(A)}function xr(A){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,me=Y&&A[Symbol.toStringTag]||A.constructor.name||"Object";return me}}function pr(A){try{return br(A),!1}catch(Y){return!0}}function br(A){return""+A}function ha(A){if(pr(A))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xr(A)),br(A)}var kr=W.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Ir,ba,ze;ze={};function ct(A){if(Nt.call(A,"ref")){var Y=Object.getOwnPropertyDescriptor(A,"ref").get;if(Y&&Y.isReactWarning)return!1}return A.ref!==void 0}function bt(A){if(Nt.call(A,"key")){var Y=Object.getOwnPropertyDescriptor(A,"key").get;if(Y&&Y.isReactWarning)return!1}return A.key!==void 0}function Gt(A,Y){if(typeof A.ref=="string"&&kr.current&&Y&&kr.current.stateNode!==Y){var me=H(kr.current.type);ze[me]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',H(kr.current.type),A.ref),ze[me]=!0)}}function Vt(A,Y){{var me=function(){Ir||(Ir=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};me.isReactWarning=!0,Object.defineProperty(A,"key",{get:me,configurable:!0})}}function Ar(A,Y){{var me=function(){ba||(ba=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};me.isReactWarning=!0,Object.defineProperty(A,"ref",{get:me,configurable:!0})}}var gr=function(A,Y,me,Te,He,ft,Ze){var Xe={$$typeof:a,type:A,key:Y,ref:me,props:Ze,_owner:ft};return Xe._store={},Object.defineProperty(Xe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Xe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Xe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Xe.props),Object.freeze(Xe)),Xe};function Kr(A,Y,me,Te,He){{var ft,Ze={},Xe=null,Ct=null;me!==void 0&&(ha(me),Xe=""+me),bt(Y)&&(ha(Y.key),Xe=""+Y.key),ct(Y)&&(Ct=Y.ref,Gt(Y,He));for(ft in Y)Nt.call(Y,ft)&&!vr.hasOwnProperty(ft)&&(Ze[ft]=Y[ft]);if(A&&A.defaultProps){var Tt=A.defaultProps;for(ft in Tt)Ze[ft]===void 0&&(Ze[ft]=Tt[ft])}if(Xe||Ct){var Wt=typeof A=="function"?A.displayName||A.name||"Unknown":A;Xe&&Vt(Ze,Wt),Ct&&Ar(Ze,Wt)}return gr(A,Xe,Ct,He,Te,kr.current,Ze)}}var $=W.ReactCurrentOwner,P=W.ReactDebugCurrentFrame;function D(A){if(A){var Y=A._owner,me=kt(A.type,A._source,Y?Y.type:null);P.setExtraStackFrame(me)}else P.setExtraStackFrame(null)}var z;z=!1;function G(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function oe(){{if($.current){var A=H($.current.type);if(A)return`
154
154
 
155
- Check the render method of \``+D+"`."}return""}}function ne(D){{if(D!==void 0){var q=D.fileName.replace(/^.*[\\\/]/,""),pe=D.lineNumber;return`
155
+ Check the render method of \``+A+"`."}return""}}function ne(A){{if(A!==void 0){var Y=A.fileName.replace(/^.*[\\\/]/,""),me=A.lineNumber;return`
156
156
 
157
- Check your code at `+q+":"+pe+"."}return""}}var Oe={};function Pe(D){{var q=oe();if(!q){var pe=typeof D=="string"?D:D.displayName||D.name;pe&&(q=`
157
+ Check your code at `+Y+":"+me+"."}return""}}var Oe={};function Pe(A){{var Y=oe();if(!Y){var me=typeof A=="string"?A:A.displayName||A.name;me&&(Y=`
158
158
 
159
- Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Pe(q);if(Oe[pe])return;Oe[pe]=!0;var Te="";D&&D._owner&&D._owner!==$.current&&(Te=" It was passed a child from "+j(D._owner.type)+"."),R(D),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,Te),R(null)}}function We(D,q){{if(typeof D!="object")return;if(Yr(D))for(var pe=0;pe<D.length;pe++){var Te=D[pe];G(Te)&&Me(Te,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=N(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Ze;!(Ze=ft.next()).done;)G(Ze.value)&&Me(Ze.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var Te=j(q);na(pe,D.props,"prop",Te,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=j(q);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var Te=q[pe];if(Te!=="children"&&Te!=="key"){R(D),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),R(null);break}}D.ref!==null&&(R(D),M("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,Te,He,ft){{var Ze=ye(D);if(!Ze){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" 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 Ct=ne(He);Ct?Ke+=Ct:Ke+=oe();var Et;D===null?Et="null":Yr(D)?Et="array":D!==void 0&&D.$$typeof===a?(Et="<"+(j(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):Et=typeof D,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Et,Ke)}var Wt=$r(D,q,pe,He,ft);if(Wt==null)return Wt;if(Ze){var Gr=q.children;if(Gr!==void 0)if(Te)if(Yr(Gr)){for(var qa=0;qa<Gr.length;qa++)We(Gr[qa],D);Object.freeze&&Object.freeze(Gr)}else M("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 We(Gr,D)}if(wt.call(q,"key")){var ia=j(D),la=Object.keys(q).filter(function(qn){return qn!=="key"}),Qa=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+Qa]){var Ot=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";M(`A props object containing a "key" prop is being spread into JSX:
159
+ Check the top-level render call using <`+me+">.")}return Y}}function Me(A,Y){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var me=Pe(Y);if(Oe[me])return;Oe[me]=!0;var Te="";A&&A._owner&&A._owner!==$.current&&(Te=" It was passed a child from "+H(A._owner.type)+"."),D(A),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Te),D(null)}}function qe(A,Y){{if(typeof A!="object")return;if(Gr(A))for(var me=0;me<A.length;me++){var Te=A[me];G(Te)&&Me(Te,Y)}else if(G(A))A._store&&(A._store.validated=!0);else if(A){var He=N(A);if(typeof He=="function"&&He!==A.entries)for(var ft=He.call(A),Ze;!(Ze=ft.next()).done;)G(Ze.value)&&Me(Ze.value,Y)}}}function Ae(A){{var Y=A.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===b))me=Y.propTypes;else return;if(me){var Te=H(Y);Fr(me,A.props,"prop",Te,A)}else if(Y.PropTypes!==void 0&&!z){z=!0;var He=H(Y);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(A){{for(var Y=Object.keys(A.props),me=0;me<Y.length;me++){var Te=Y[me];if(Te!=="children"&&Te!=="key"){D(A),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),D(null);break}}A.ref!==null&&(D(A),O("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}var I={};function V(A,Y,me,Te,He,ft){{var Ze=de(A);if(!Ze){var Xe="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(Xe+=" 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 Ct=ne(He);Ct?Xe+=Ct:Xe+=oe();var Tt;A===null?Tt="null":Gr(A)?Tt="array":A!==void 0&&A.$$typeof===a?(Tt="<"+(H(A.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):Tt=typeof A,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Tt,Xe)}var Wt=Kr(A,Y,me,He,ft);if(Wt==null)return Wt;if(Ze){var Xr=Y.children;if(Xr!==void 0)if(Te)if(Gr(Xr)){for(var qa=0;qa<Xr.length;qa++)qe(Xr[qa],A);Object.freeze&&Object.freeze(Xr)}else O("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 qe(Xr,A)}if(Nt.call(Y,"key")){var ia=H(A),la=Object.keys(Y).filter(function(Yn){return Yn!=="key"}),Qa=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+Qa]){var Ot=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";O(`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,ia,Ot,ia),I[ia+Qa]=!0}}return D===l?Je(Wt):Ae(Wt),Wt}}function re(D,q,pe){return V(D,q,pe,!0)}function ce(D,q,pe){return V(D,q,pe,!1)}var Ve=ce,Be=re;$g.Fragment=l,$g.jsx=Ve,$g.jsxs=Be})()});var At=Ue((pG,u5)=>{"use strict";u5.exports=c5()});var fE={};Rd(fE,{api:()=>Eo,config:()=>EY,counter:()=>IY,dom:()=>DY,findIconDefinition:()=>LY,icon:()=>OY,layer:()=>MY,library:()=>RY,noAuto:()=>TY,parse:()=>AY,text:()=>PY,toHtml:()=>NY});function d5(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 mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?d5(Object(o),!0).forEach(function(l){pn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):d5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function o_(r){"@babel/helpers - typeof";return o_=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},o_(r)}function KW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function p5(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 XW(r,a,o){return a&&p5(r.prototype,a),o&&p5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function pn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function A2(r,a){return JW(r)||eq(r,a)||B5(r,a)||rq()}function am(r){return QW(r)||ZW(r)||B5(r)||tq()}function QW(r){if(Array.isArray(r))return b2(r)}function JW(r){if(Array.isArray(r))return r}function ZW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function eq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,u,h;try{for(o=o.call(r);!(s=(u=o.next()).done)&&(l.push(u.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function B5(r,a){if(r){if(typeof r=="string")return b2(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 b2(r,a)}}function b2(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 tq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
164
+ <%s key={someKey} {...props} />`,Qa,ia,Ot,ia),I[ia+Qa]=!0}}return A===l?Je(Wt):Ae(Wt),Wt}}function ae(A,Y,me){return V(A,Y,me,!0)}function se(A,Y,me){return V(A,Y,me,!1)}var Ve=se,Be=ae;$g.Fragment=l,$g.jsx=Ve,$g.jsxs=Be})()});var Dt=Ue((pG,u5)=>{"use strict";u5.exports=c5()});var fE={};Rd(fE,{api:()=>Eo,config:()=>EY,counter:()=>IY,dom:()=>DY,findIconDefinition:()=>LY,icon:()=>OY,layer:()=>MY,library:()=>RY,noAuto:()=>TY,parse:()=>AY,text:()=>PY,toHtml:()=>NY});function d5(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 mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?d5(Object(o),!0).forEach(function(l){pn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):d5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function o_(r){"@babel/helpers - typeof";return o_=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},o_(r)}function KW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function p5(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 XW(r,a,o){return a&&p5(r.prototype,a),o&&p5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function pn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function A2(r,a){return JW(r)||eq(r,a)||B5(r,a)||rq()}function am(r){return QW(r)||ZW(r)||B5(r)||tq()}function QW(r){if(Array.isArray(r))return b2(r)}function JW(r){if(Array.isArray(r))return r}function ZW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function eq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,u,h;try{for(o=o.call(r);!(s=(u=o.next()).done)&&(l.push(u.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function B5(r,a){if(r){if(typeof r=="string")return b2(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 b2(r,a)}}function b2(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 tq(){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 rq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
166
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[Sa]}})}function hq(r){var a=wa.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function mq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function vq(r){return Qh.push(r),function(){Qh.splice(Qh.indexOf(r),1)}}function gq(r){if(!(!r||!pc)){var a=wa.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=wa.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(l=f)}return wa.head.insertBefore(a,l),r}}function rm(){for(var r=12,a="";r-- >0;)a+=_q[Math.random()*62|0];return a}function Fd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function P2(r){return r.classList?Fd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function K5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(K5(r[o]),'" ')},"").trim()}function s_(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function I2(r){return r.size!==Rs.size||r.x!==Rs.x||r.y!==Rs.y||r.rotate!==Rs.rotate||r.flipX||r.flipY}function yq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="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(f," ").concat(u," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function Sq(r){var a=r.transform,o=r.width,l=o===void 0?y2:o,s=r.height,f=s===void 0?y2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&U5?p+="translate(".concat(a.x/ou-l/2,"em, ").concat(a.y/ou-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ou,"em), calc(-50% + ").concat(a.y/ou,"em)) "):p+="translate(".concat(a.x/ou,"em, ").concat(a.y/ou,"em) "),p+="scale(".concat(a.size/ou*(a.flipX?-1:1),", ").concat(a.size/ou*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function X5(){var r=V5,a=W5,o=xt.cssPrefix,l=xt.replacementClass,s=wq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function m2(){xt.autoAddCss&&!y5&&(gq(X5()),y5=!0)}function kq(r){pc&&(i_?setTimeout(r,0):Q5.push(r))}function om(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?K5(r):"<".concat(a," ").concat(bq(l),">").concat(f.map(om).join(""),"</").concat(a,">")}function S5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Eq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function w2(r){var a=Eq(r);return a.length===1?a[0].toString(16):null}function Rq(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 w5(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 C2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=w5(a);typeof Zl.hooks.addPack=="function"&&!s?Zl.hooks.addPack(r,w5(a)):Zl.styles[r]=mt(mt({},Zl.styles[r]||{}),f),r==="fas"&&C2("fa",a)}function Nq(r){return~pq.indexOf(r)}function Oq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Nq(s)?s:null}function B2(r,a){return(J5[r]||{})[a]}function Mq(r,a){return(Z5[r]||{})[a]}function nf(r,a){return(rE[r]||{})[a]}function nE(r){return eE[r]||{prefix:null,iconName:null}}function Pq(r){var a=tE[r],o=B2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return z2}function c_(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?Sa:o,s=Jh[l][r],f=Zh[l][r]||Zh[l][s],u=r in Zl.styles?r:null;return f||u||null}function u_(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},pn(a,Sa,"".concat(xt.cssPrefix,"-").concat(Sa)),pn(a,Fa,"".concat(xt.cssPrefix,"-").concat(Fa)),a),u=null,h=Sa;(r.includes(f[Sa])||r.some(function(m){return C5[Sa].includes(m)}))&&(h=Sa),(r.includes(f[Fa])||r.some(function(m){return C5[Fa].includes(m)}))&&(h=Fa);var p=r.reduce(function(m,_){var b=Oq(xt.cssPrefix,_);if(Pd[_]?(_=Aq[h].includes(_)?lq[h][_]:_,u=_,m.prefix=_):Lq[h].indexOf(_)>-1?(u=_,m.prefix=c_(_,{family:h})):b?m.iconName=b:_!==xt.replacementClass&&_!==f[Sa]&&_!==f[Fa]&&m.rest.push(_),!s&&m.prefix&&m.iconName){var S=u==="fa"?nE(m.iconName):{},w=nf(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Pd.far&&Pd.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},F2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Fa&&(Pd.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=nf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Bq(r,a){var o=a.mixoutsTo;return x5=r,Id={},Object.keys(zd).forEach(function(l){zq.indexOf(l)===-1&&delete zd[l]}),x5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),o_(s[u])==="object"&&Object.keys(s[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=s[u][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(u){Id[u]||(Id[u]=[]),Id[u].push(f[u])})}l.provides&&l.provides(zd)}),o}function x2(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 f=Id[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(l))}),a}function lf(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=Id[r]||[];s.forEach(function(f){f.apply(null,o)})}function dc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return zd[r]?zd[r].apply(null,a):void 0}function k2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=nf(o,a)||a,S5(oE.definitions,o,a)||S5(Zl.styles,o,a)}function f_(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return om(l)})}}),Object.defineProperty(r,"node",{get:function(){if(pc){var l=wa.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Vq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,u=r.transform;if(I2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=s_(mt(mt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function Wq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,u=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:u}),children:l}]}]}function j2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,u=r.transform,h=r.symbol,p=r.title,m=r.maskId,_=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=l.found?l:o,A=k.width,N=k.height,Y=s==="fak",M=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ee){return b.classes.indexOf(ee)===-1}).filter(function(ee){return ee!==""||!!ee}).concat(b.classes).join(" "),H={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:M,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(A," ").concat(N)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(A/N*16*.0625,"em")}:{};w&&(H.attributes[of]=""),p&&(H.children.push({tag:"title",attributes:{id:H.attributes["aria-labelledby"]||"title-".concat(_||rm())},children:[p]}),delete H.attributes.title);var Z=mt(mt({},H),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:u,symbol:h,styles:mt(mt({},F),b.styles)}),O=l.found&&o.found?dc("generateAbstractMask",Z)||{children:[],attributes:{}}:dc("generateAbstractIcon",Z)||{children:[],attributes:{}},ae=O.children,_e=O.attributes;return Z.children=ae,Z.attributes=_e,h?Wq(Z):Vq(Z)}function k5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var _=mt({},u.styles);I2(s)&&(_.transform=Sq({transform:s,startCentered:!0,width:o,height:l}),_["-webkit-transform"]=_.transform);var b=s_(_);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function qq(r){var a=r.content,o=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=s_(l.styles);f.length>0&&(s.style=f);var u=[];return u.push({tag:"span",attributes:s,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function T2(r){var a=r[0],o=r[1],l=r.slice(4),s=A2(l,1),f=s[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function $q(r,a){!q5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function E2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:dc("missingIconAbstract")||{}};if(o==="fa"){var u=nE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&g2[a]&&g2[a][r]){var h=g2[a][r];return l(T2(h))}$q(r,a),l(mt(mt({},Yq),{},{icon:xt.showMissingIcons&&r?dc("missingIconAbstract")||{}:{}}))})}function E5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Kq(r){var a=r.getAttribute?r.getAttribute(N2):null,o=r.getAttribute?r.getAttribute(O2):null;return a&&o}function Xq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Qq(){if(xt.autoReplaceSvg===!0)return n_.replace;var r=n_[xt.autoReplaceSvg];return r||n_.replace}function Jq(r){return wa.createElementNS("http://www.w3.org/2000/svg",r)}function Zq(r){return wa.createElement(r)}function lE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Jq:Zq:o;if(typeof r=="string")return wa.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(u){s.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){s.appendChild(lE(u,{ceFn:l}))}),s}function eY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function R5(r){r()}function sE(r,a){var o=typeof a=="function"?a:a_;if(r.length===0)o();else{var l=R5;xt.mutateApproach===oq&&(l=iu.requestAnimationFrame||R5),l(function(){var s=Qq(),f=H2.begin("mutate");r.map(s),f(),o()})}}function cE(){U2=!0}function D2(){U2=!1}function D5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?a_:a,l=r.nodeCallback,s=l===void 0?a_:l,f=r.pseudoElementsCallback,u=f===void 0?a_:f,h=r.observeMutationsRoot,p=h===void 0?wa:h;l_=new g5(function(m){if(!U2){var _=lu();Fd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!E5(b.addedNodes[0])&&(xt.searchPseudoElements&&u(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&u(b.target.parentNode),b.type==="attributes"&&E5(b.target)&&~dq.indexOf(b.attributeName))if(b.attributeName==="class"&&Kq(b.target)){var S=u_(P2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(N2,w||_),k&&b.target.setAttribute(O2,k)}else Xq(b.target)&&s(b.target)})}}),pc&&l_.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tY(){l_&&l_.disconnect()}function rY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(l[u]=h.join(":").trim()),l},{})),o}function aY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=u_(P2(r));return s.prefix||(s.prefix=lu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Mq(s.prefix,r.innerText)||B2(s.prefix,w2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function nY(r){var a=Fd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||rm()):(a["aria-hidden"]="true",a.focusable="false")),a}function oY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Rs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function A5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=aY(r),l=o.iconName,s=o.prefix,f=o.rest,u=nY(r),h=x2("parseNodeAttributes",{},r),p=a.styleParser?rY(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Rs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:u}},h)}function uE(r){var a=xt.autoReplaceSvg==="nest"?A5(r,{styleParser:!1}):A5(r);return~a.extra.classes.indexOf(Y5)?dc("generateLayersText",r,a):dc("generateSvgReplacementMutation",r,a)}function L5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pc)return Promise.resolve();var o=wa.documentElement.classList,l=function(b){return o.add("".concat(_5,"-").concat(b))},s=function(b){return o.remove("".concat(_5,"-").concat(b))},f=xt.autoFetchSvg?su:M2.map(function(_){return"fa-".concat(_)}).concat(Object.keys(iY));f.includes("fa")||f.push("fa");var u=[".".concat(Y5,":not([").concat(of,"])")].concat(f.map(function(_){return".".concat(_,":not([").concat(of,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Fd(r.querySelectorAll(u))}catch(_){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=H2.begin("onTree"),m=h.reduce(function(_,b){try{var S=uE(b);S&&_.push(S)}catch(w){q5||w.name==="MissingIcon"&&console.error(w)}return _},[]);return new Promise(function(_,b){Promise.all(m).then(function(S){sE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),_()})}).catch(function(S){p(),b(S)})})}function lY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;uE(r).then(function(o){o&&sE([o],a)})}function sY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:k2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:k2(s||{})),r(l,mt(mt({},o),{},{mask:s}))}}function mY(r){var a=r.replace(hY,""),o=Rq(a,0),l=o>=N5[0]&&o<=N5[1],s=a.length===2?a[0]===a[1]:!1;return{value:w2(s?a[0]:a),isSecondary:l||s}}function O5(r,a){var o="".concat(nq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Fd(r.children),u=f.filter(function(ae){return ae.getAttribute(S2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(cq),m=h.getPropertyValue("font-weight"),_=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),l();if(p&&_!=="none"&&_!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?Fa:Sa,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Zh[S][p[2].toLowerCase()]:uq[S][m],k=mY(b),A=k.value,N=k.isSecondary,Y=p[0].startsWith("FontAwesome"),M=B2(w,A),H=M;if(Y){var F=Pq(A);F.iconName&&F.prefix&&(M=F.iconName,w=F.prefix)}if(M&&!N&&(!u||u.getAttribute(N2)!==w||u.getAttribute(O2)!==H)){r.setAttribute(o,H),u&&r.removeChild(u);var Z=oY(),O=Z.extra;O.attributes[S2]=a,E2(M,w).then(function(ae){var _e=j2(mt(mt({},Z),{},{icons:{main:ae,mask:F2()},prefix:w,iconName:H,extra:O,watchable:!0})),ee=wa.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ee,r.firstChild):r.appendChild(ee),ee.outerHTML=_e.map(function(ye){return om(ye)}).join(`
167
- `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function vY(r){return Promise.all([O5(r,"::before"),O5(r,"::after")])}function gY(r){return r.parentNode!==document.head&&!~iq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(S2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function M5(r){if(pc)return new Promise(function(a,o){var l=Fd(r.querySelectorAll("*")).filter(gY).map(vY),s=H2.begin("searchPseudoElements");cE(),Promise.all(l).then(function(){s(),D2(),a()}).catch(function(){s(),D2(),o()})})}function z5(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 SY(r){return r.tag==="g"?r.children:[r]}var h5,L2,F5,j5,H5,aq,m5,v5,iu,wa,g5,Gg,gG,pc,U5,Kg,Xg,Qg,Jg,Zg,uc,y2,V5,W5,of,S2,nq,N2,O2,_5,oq,iq,q5,Sa,Fa,M2,Jh,Zh,em,lq,sq,Y5,cq,uq,$5,fq,dq,af,tm,pq,Xh,b5,G5,Bd,xt,Qh,ou,Rs,_q,wq,y5,Cq,fc,Zl,Q5,xq,i_,Tq,v2,e_,t_,r_,Pd,Dq,Aq,z2,J5,Z5,eE,tE,rE,Lq,aE,F2,C5,Iq,x5,Id,zd,zq,oE,Fq,jq,Hq,Eo,Uq,g2,Yq,T5,R2,Kh,Gq,iE,H2,a_,n_,U2,l_,iY,su,cY,uY,fY,dY,pY,hY,N5,_Y,P5,bY,I5,yY,_2,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,dE=TV(()=>{h5=function(){},L2={},F5={},j5=null,H5={mark:h5,measure:h5};try{typeof window!="undefined"&&(L2=window),typeof document!="undefined"&&(F5=document),typeof MutationObserver!="undefined"&&(j5=MutationObserver),typeof performance!="undefined"&&(H5=performance)}catch(r){}aq=L2.navigator||{},m5=aq.userAgent,v5=m5===void 0?"":m5,iu=L2,wa=F5,g5=j5,Gg=H5,gG=!!iu.document,pc=!!wa.documentElement&&!!wa.head&&typeof wa.addEventListener=="function"&&typeof wa.createElement=="function",U5=~v5.indexOf("MSIE")||~v5.indexOf("Trident/"),uc="___FONT_AWESOME___",y2=16,V5="fa",W5="svg-inline--fa",of="data-fa-i2svg",S2="data-fa-pseudo-element",nq="data-fa-pseudo-element-pending",N2="data-prefix",O2="data-icon",_5="fontawesome-i2svg",oq="async",iq=["HTML","HEAD","STYLE","SCRIPT"],q5=function(){try{return!1}catch(r){return!1}}(),Sa="classic",Fa="sharp",M2=[Sa,Fa];Jh=nm((Kg={},pn(Kg,Sa,{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"}),pn(Kg,Fa,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Kg)),Zh=nm((Xg={},pn(Xg,Sa,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),pn(Xg,Fa,{solid:"fass",regular:"fasr",light:"fasl"}),Xg)),em=nm((Qg={},pn(Qg,Sa,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),pn(Qg,Fa,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Qg)),lq=nm((Jg={},pn(Jg,Sa,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),pn(Jg,Fa,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Jg)),sq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Y5="fa-layers-text",cq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uq=nm((Zg={},pn(Zg,Sa,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),pn(Zg,Fa,{900:"fass",400:"fasr",300:"fasl"}),Zg)),$5=[1,2,3,4,5,6,7,8,9,10],fq=$5.concat([11,12,13,14,15,16,17,18,19,20]),dq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},tm=new Set;Object.keys(Zh[Sa]).map(tm.add.bind(tm));Object.keys(Zh[Fa]).map(tm.add.bind(tm));pq=[].concat(M2,am(tm),["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",af.GROUP,af.SWAP_OPACITY,af.PRIMARY,af.SECONDARY]).concat($5.map(function(r){return"".concat(r,"x")})).concat(fq.map(function(r){return"w-".concat(r)})),Xh=iu.FontAwesomeConfig||{};wa&&typeof wa.querySelector=="function"&&(b5=[["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"]],b5.forEach(function(r){var a=A2(r,2),o=a[0],l=a[1],s=mq(hq(o));s!=null&&(Xh[l]=s)}));G5={styleDefault:"solid",familyDefault:"classic",cssPrefix:V5,replacementClass:W5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Xh.familyPrefix&&(Xh.cssPrefix=Xh.familyPrefix);Bd=mt(mt({},G5),Xh);Bd.autoReplaceSvg||(Bd.observeMutations=!1);xt={};Object.keys(G5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Bd[r]=o,Qh.forEach(function(l){return l(xt)})},get:function(){return Bd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Bd.cssPrefix=a,Qh.forEach(function(o){return o(xt)})},get:function(){return Bd.cssPrefix}});iu.FontAwesomeConfig=xt;Qh=[];ou=y2,Rs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};_q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";wq=`:root, :host {
166
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[wa]}})}function hq(r){var a=Ca.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function mq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function vq(r){return Qh.push(r),function(){Qh.splice(Qh.indexOf(r),1)}}function gq(r){if(!(!r||!pc)){var a=Ca.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=Ca.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(l=f)}return Ca.head.insertBefore(a,l),r}}function rm(){for(var r=12,a="";r-- >0;)a+=_q[Math.random()*62|0];return a}function Fd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function P2(r){return r.classList?Fd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function K5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(K5(r[o]),'" ')},"").trim()}function s_(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function I2(r){return r.size!==Rs.size||r.x!==Rs.x||r.y!==Rs.y||r.rotate!==Rs.rotate||r.flipX||r.flipY}function yq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="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(f," ").concat(u," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function Sq(r){var a=r.transform,o=r.width,l=o===void 0?y2:o,s=r.height,f=s===void 0?y2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&U5?p+="translate(".concat(a.x/ou-l/2,"em, ").concat(a.y/ou-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ou,"em), calc(-50% + ").concat(a.y/ou,"em)) "):p+="translate(".concat(a.x/ou,"em, ").concat(a.y/ou,"em) "),p+="scale(".concat(a.size/ou*(a.flipX?-1:1),", ").concat(a.size/ou*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function X5(){var r=V5,a=W5,o=xt.cssPrefix,l=xt.replacementClass,s=wq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function m2(){xt.autoAddCss&&!y5&&(gq(X5()),y5=!0)}function kq(r){pc&&(i_?setTimeout(r,0):Q5.push(r))}function om(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?K5(r):"<".concat(a," ").concat(bq(l),">").concat(f.map(om).join(""),"</").concat(a,">")}function S5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Eq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function w2(r){var a=Eq(r);return a.length===1?a[0].toString(16):null}function Rq(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 w5(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 C2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=w5(a);typeof Zl.hooks.addPack=="function"&&!s?Zl.hooks.addPack(r,w5(a)):Zl.styles[r]=mt(mt({},Zl.styles[r]||{}),f),r==="fas"&&C2("fa",a)}function Nq(r){return~pq.indexOf(r)}function Oq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Nq(s)?s:null}function B2(r,a){return(J5[r]||{})[a]}function Mq(r,a){return(Z5[r]||{})[a]}function nf(r,a){return(rE[r]||{})[a]}function nE(r){return eE[r]||{prefix:null,iconName:null}}function Pq(r){var a=tE[r],o=B2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return z2}function c_(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?wa:o,s=Jh[l][r],f=Zh[l][r]||Zh[l][s],u=r in Zl.styles?r:null;return f||u||null}function u_(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},pn(a,wa,"".concat(xt.cssPrefix,"-").concat(wa)),pn(a,ja,"".concat(xt.cssPrefix,"-").concat(ja)),a),u=null,h=wa;(r.includes(f[wa])||r.some(function(m){return C5[wa].includes(m)}))&&(h=wa),(r.includes(f[ja])||r.some(function(m){return C5[ja].includes(m)}))&&(h=ja);var p=r.reduce(function(m,_){var b=Oq(xt.cssPrefix,_);if(Pd[_]?(_=Aq[h].includes(_)?lq[h][_]:_,u=_,m.prefix=_):Lq[h].indexOf(_)>-1?(u=_,m.prefix=c_(_,{family:h})):b?m.iconName=b:_!==xt.replacementClass&&_!==f[wa]&&_!==f[ja]&&m.rest.push(_),!s&&m.prefix&&m.iconName){var S=u==="fa"?nE(m.iconName):{},w=nf(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Pd.far&&Pd.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},F2());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&&(Pd.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=nf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Bq(r,a){var o=a.mixoutsTo;return x5=r,Id={},Object.keys(zd).forEach(function(l){zq.indexOf(l)===-1&&delete zd[l]}),x5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),o_(s[u])==="object"&&Object.keys(s[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=s[u][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(u){Id[u]||(Id[u]=[]),Id[u].push(f[u])})}l.provides&&l.provides(zd)}),o}function x2(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 f=Id[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(l))}),a}function lf(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=Id[r]||[];s.forEach(function(f){f.apply(null,o)})}function dc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return zd[r]?zd[r].apply(null,a):void 0}function k2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=nf(o,a)||a,S5(oE.definitions,o,a)||S5(Zl.styles,o,a)}function f_(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return om(l)})}}),Object.defineProperty(r,"node",{get:function(){if(pc){var l=Ca.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Vq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,u=r.transform;if(I2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=s_(mt(mt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function Wq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,u=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:u}),children:l}]}]}function j2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,u=r.transform,h=r.symbol,p=r.title,m=r.maskId,_=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=l.found?l:o,R=k.width,N=k.height,W=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ee){return b.classes.indexOf(ee)===-1}).filter(function(ee){return ee!==""||!!ee}).concat(b.classes).join(" "),j={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(R," ").concat(N)})},F=W&&!~b.classes.indexOf("fa-fw")?{width:"".concat(R/N*16*.0625,"em")}:{};w&&(j.attributes[of]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(_||rm())},children:[p]}),delete j.attributes.title);var Q=mt(mt({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:u,symbol:h,styles:mt(mt({},F),b.styles)}),M=l.found&&o.found?dc("generateAbstractMask",Q)||{children:[],attributes:{}}:dc("generateAbstractIcon",Q)||{children:[],attributes:{}},te=M.children,_e=M.attributes;return Q.children=te,Q.attributes=_e,h?Wq(Q):Vq(Q)}function k5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var _=mt({},u.styles);I2(s)&&(_.transform=Sq({transform:s,startCentered:!0,width:o,height:l}),_["-webkit-transform"]=_.transform);var b=s_(_);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function qq(r){var a=r.content,o=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=s_(l.styles);f.length>0&&(s.style=f);var u=[];return u.push({tag:"span",attributes:s,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function T2(r){var a=r[0],o=r[1],l=r.slice(4),s=A2(l,1),f=s[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function $q(r,a){!q5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function E2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:dc("missingIconAbstract")||{}};if(o==="fa"){var u=nE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&g2[a]&&g2[a][r]){var h=g2[a][r];return l(T2(h))}$q(r,a),l(mt(mt({},Yq),{},{icon:xt.showMissingIcons&&r?dc("missingIconAbstract")||{}:{}}))})}function E5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Kq(r){var a=r.getAttribute?r.getAttribute(N2):null,o=r.getAttribute?r.getAttribute(O2):null;return a&&o}function Xq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Qq(){if(xt.autoReplaceSvg===!0)return n_.replace;var r=n_[xt.autoReplaceSvg];return r||n_.replace}function Jq(r){return Ca.createElementNS("http://www.w3.org/2000/svg",r)}function Zq(r){return Ca.createElement(r)}function lE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Jq:Zq:o;if(typeof r=="string")return Ca.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(u){s.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){s.appendChild(lE(u,{ceFn:l}))}),s}function eY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function R5(r){r()}function sE(r,a){var o=typeof a=="function"?a:a_;if(r.length===0)o();else{var l=R5;xt.mutateApproach===oq&&(l=iu.requestAnimationFrame||R5),l(function(){var s=Qq(),f=H2.begin("mutate");r.map(s),f(),o()})}}function cE(){U2=!0}function D2(){U2=!1}function D5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?a_:a,l=r.nodeCallback,s=l===void 0?a_:l,f=r.pseudoElementsCallback,u=f===void 0?a_:f,h=r.observeMutationsRoot,p=h===void 0?Ca:h;l_=new g5(function(m){if(!U2){var _=lu();Fd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!E5(b.addedNodes[0])&&(xt.searchPseudoElements&&u(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&u(b.target.parentNode),b.type==="attributes"&&E5(b.target)&&~dq.indexOf(b.attributeName))if(b.attributeName==="class"&&Kq(b.target)){var S=u_(P2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(N2,w||_),k&&b.target.setAttribute(O2,k)}else Xq(b.target)&&s(b.target)})}}),pc&&l_.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tY(){l_&&l_.disconnect()}function rY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(l[u]=h.join(":").trim()),l},{})),o}function aY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=u_(P2(r));return s.prefix||(s.prefix=lu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Mq(s.prefix,r.innerText)||B2(s.prefix,w2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function nY(r){var a=Fd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||rm()):(a["aria-hidden"]="true",a.focusable="false")),a}function oY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Rs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function A5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=aY(r),l=o.iconName,s=o.prefix,f=o.rest,u=nY(r),h=x2("parseNodeAttributes",{},r),p=a.styleParser?rY(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Rs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:u}},h)}function uE(r){var a=xt.autoReplaceSvg==="nest"?A5(r,{styleParser:!1}):A5(r);return~a.extra.classes.indexOf(Y5)?dc("generateLayersText",r,a):dc("generateSvgReplacementMutation",r,a)}function L5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pc)return Promise.resolve();var o=Ca.documentElement.classList,l=function(b){return o.add("".concat(_5,"-").concat(b))},s=function(b){return o.remove("".concat(_5,"-").concat(b))},f=xt.autoFetchSvg?su:M2.map(function(_){return"fa-".concat(_)}).concat(Object.keys(iY));f.includes("fa")||f.push("fa");var u=[".".concat(Y5,":not([").concat(of,"])")].concat(f.map(function(_){return".".concat(_,":not([").concat(of,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Fd(r.querySelectorAll(u))}catch(_){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=H2.begin("onTree"),m=h.reduce(function(_,b){try{var S=uE(b);S&&_.push(S)}catch(w){q5||w.name==="MissingIcon"&&console.error(w)}return _},[]);return new Promise(function(_,b){Promise.all(m).then(function(S){sE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),_()})}).catch(function(S){p(),b(S)})})}function lY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;uE(r).then(function(o){o&&sE([o],a)})}function sY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:k2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:k2(s||{})),r(l,mt(mt({},o),{},{mask:s}))}}function mY(r){var a=r.replace(hY,""),o=Rq(a,0),l=o>=N5[0]&&o<=N5[1],s=a.length===2?a[0]===a[1]:!1;return{value:w2(s?a[0]:a),isSecondary:l||s}}function O5(r,a){var o="".concat(nq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Fd(r.children),u=f.filter(function(te){return te.getAttribute(S2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(cq),m=h.getPropertyValue("font-weight"),_=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),l();if(p&&_!=="none"&&_!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?ja:wa,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Zh[S][p[2].toLowerCase()]:uq[S][m],k=mY(b),R=k.value,N=k.isSecondary,W=p[0].startsWith("FontAwesome"),O=B2(w,R),j=O;if(W){var F=Pq(R);F.iconName&&F.prefix&&(O=F.iconName,w=F.prefix)}if(O&&!N&&(!u||u.getAttribute(N2)!==w||u.getAttribute(O2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Q=oY(),M=Q.extra;M.attributes[S2]=a,E2(O,w).then(function(te){var _e=j2(mt(mt({},Q),{},{icons:{main:te,mask:F2()},prefix:w,iconName:j,extra:M,watchable:!0})),ee=Ca.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ee,r.firstChild):r.appendChild(ee),ee.outerHTML=_e.map(function(de){return om(de)}).join(`
167
+ `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function vY(r){return Promise.all([O5(r,"::before"),O5(r,"::after")])}function gY(r){return r.parentNode!==document.head&&!~iq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(S2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function M5(r){if(pc)return new Promise(function(a,o){var l=Fd(r.querySelectorAll("*")).filter(gY).map(vY),s=H2.begin("searchPseudoElements");cE(),Promise.all(l).then(function(){s(),D2(),a()}).catch(function(){s(),D2(),o()})})}function z5(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 SY(r){return r.tag==="g"?r.children:[r]}var h5,L2,F5,j5,H5,aq,m5,v5,iu,Ca,g5,Gg,gG,pc,U5,Kg,Xg,Qg,Jg,Zg,uc,y2,V5,W5,of,S2,nq,N2,O2,_5,oq,iq,q5,wa,ja,M2,Jh,Zh,em,lq,sq,Y5,cq,uq,$5,fq,dq,af,tm,pq,Xh,b5,G5,Bd,xt,Qh,ou,Rs,_q,wq,y5,Cq,fc,Zl,Q5,xq,i_,Tq,v2,e_,t_,r_,Pd,Dq,Aq,z2,J5,Z5,eE,tE,rE,Lq,aE,F2,C5,Iq,x5,Id,zd,zq,oE,Fq,jq,Hq,Eo,Uq,g2,Yq,T5,R2,Kh,Gq,iE,H2,a_,n_,U2,l_,iY,su,cY,uY,fY,dY,pY,hY,N5,_Y,P5,bY,I5,yY,_2,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,dE=TV(()=>{h5=function(){},L2={},F5={},j5=null,H5={mark:h5,measure:h5};try{typeof window!="undefined"&&(L2=window),typeof document!="undefined"&&(F5=document),typeof MutationObserver!="undefined"&&(j5=MutationObserver),typeof performance!="undefined"&&(H5=performance)}catch(r){}aq=L2.navigator||{},m5=aq.userAgent,v5=m5===void 0?"":m5,iu=L2,Ca=F5,g5=j5,Gg=H5,gG=!!iu.document,pc=!!Ca.documentElement&&!!Ca.head&&typeof Ca.addEventListener=="function"&&typeof Ca.createElement=="function",U5=~v5.indexOf("MSIE")||~v5.indexOf("Trident/"),uc="___FONT_AWESOME___",y2=16,V5="fa",W5="svg-inline--fa",of="data-fa-i2svg",S2="data-fa-pseudo-element",nq="data-fa-pseudo-element-pending",N2="data-prefix",O2="data-icon",_5="fontawesome-i2svg",oq="async",iq=["HTML","HEAD","STYLE","SCRIPT"],q5=function(){try{return!1}catch(r){return!1}}(),wa="classic",ja="sharp",M2=[wa,ja];Jh=nm((Kg={},pn(Kg,wa,{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"}),pn(Kg,ja,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Kg)),Zh=nm((Xg={},pn(Xg,wa,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),pn(Xg,ja,{solid:"fass",regular:"fasr",light:"fasl"}),Xg)),em=nm((Qg={},pn(Qg,wa,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),pn(Qg,ja,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Qg)),lq=nm((Jg={},pn(Jg,wa,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),pn(Jg,ja,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Jg)),sq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Y5="fa-layers-text",cq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uq=nm((Zg={},pn(Zg,wa,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),pn(Zg,ja,{900:"fass",400:"fasr",300:"fasl"}),Zg)),$5=[1,2,3,4,5,6,7,8,9,10],fq=$5.concat([11,12,13,14,15,16,17,18,19,20]),dq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},tm=new Set;Object.keys(Zh[wa]).map(tm.add.bind(tm));Object.keys(Zh[ja]).map(tm.add.bind(tm));pq=[].concat(M2,am(tm),["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",af.GROUP,af.SWAP_OPACITY,af.PRIMARY,af.SECONDARY]).concat($5.map(function(r){return"".concat(r,"x")})).concat(fq.map(function(r){return"w-".concat(r)})),Xh=iu.FontAwesomeConfig||{};Ca&&typeof Ca.querySelector=="function"&&(b5=[["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"]],b5.forEach(function(r){var a=A2(r,2),o=a[0],l=a[1],s=mq(hq(o));s!=null&&(Xh[l]=s)}));G5={styleDefault:"solid",familyDefault:"classic",cssPrefix:V5,replacementClass:W5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Xh.familyPrefix&&(Xh.cssPrefix=Xh.familyPrefix);Bd=mt(mt({},G5),Xh);Bd.autoReplaceSvg||(Bd.observeMutations=!1);xt={};Object.keys(G5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Bd[r]=o,Qh.forEach(function(l){return l(xt)})},get:function(){return Bd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Bd.cssPrefix=a,Qh.forEach(function(o){return o(xt)})},get:function(){return Bd.cssPrefix}});iu.FontAwesomeConfig=xt;Qh=[];ou=y2,Rs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};_q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";wq=`: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
- }`;y5=!1;Cq={mixout:function(){return{dom:{css:X5,insertCss:m2}}},hooks:function(){return{beforeDOMElementCreation:function(){m2()},beforeI2svg:function(){m2()}}}},fc=iu||{};fc[uc]||(fc[uc]={});fc[uc].styles||(fc[uc].styles={});fc[uc].hooks||(fc[uc].hooks={});fc[uc].shims||(fc[uc].shims=[]);Zl=fc[uc],Q5=[],xq=function r(){wa.removeEventListener("DOMContentLoaded",r),i_=1,Q5.map(function(a){return a()})},i_=!1;pc&&(i_=(wa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(wa.readyState),i_||wa.addEventListener("DOMContentLoaded",xq));Tq=function(a,o){return function(l,s,f,u){return a.call(o,l,s,f,u)}},v2=function(a,o,l,s){var f=Object.keys(a),u=f.length,h=s!==void 0?Tq(o,s):o,p,m,_;for(l===void 0?(p=1,_=a[f[0]]):(p=0,_=l);p<u;p++)m=f[p],_=h(_,a[m],m,a);return _};Pd=Zl.styles,Dq=Zl.shims,Aq=(e_={},pn(e_,Sa,Object.values(em[Sa])),pn(e_,Fa,Object.values(em[Fa])),e_),z2=null,J5={},Z5={},eE={},tE={},rE={},Lq=(t_={},pn(t_,Sa,Object.keys(Jh[Sa])),pn(t_,Fa,Object.keys(Jh[Fa])),t_);aE=function(){var a=function(f){return v2(Pd,function(u,h,p){return u[p]=v2(h,f,{}),u},{})};J5=a(function(s,f,u){if(f[3]&&(s[f[3]]=u),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=u})}return s}),Z5=a(function(s,f,u){if(s[u]=u,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=u})}return s}),rE=a(function(s,f,u){var h=f[2];return s[u]=u,h.forEach(function(p){s[p]=u}),s});var o="far"in Pd||xt.autoFetchSvg,l=v2(Dq,function(s,f){var u=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof u=="string"&&(s.names[u]={prefix:h,iconName:p}),typeof u=="number"&&(s.unicodes[u.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});eE=l.names,tE=l.unicodes,z2=c_(xt.styleDefault,{family:xt.familyDefault})};vq(function(r){z2=c_(r.styleDefault,{family:xt.familyDefault})});aE();F2=function(){return{prefix:null,iconName:null,rest:[]}};C5=(r_={},pn(r_,Sa,Object.keys(em[Sa])),pn(r_,Fa,Object.keys(em[Fa])),r_);Iq=function(){function r(){KW(this,r),this.definitions={}}return XW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var u=s.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=mt(mt({},o.definitions[h]||{}),u[h]),C2(h,u[h]);var p=em[Sa][h];p&&C2(p,u[h]),aE()})}},{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(f){var u=s[f],h=u.prefix,p=u.iconName,m=u.icon,_=m[2];o[h]||(o[h]={}),_.length>0&&_.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),x5=[],Id={},zd={},zq=Object.keys(zd);oE=new Iq,Fq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,lf("noAuto")},jq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return pc?(lf("beforeI2svg",a),dc("pseudoElements2svg",a),dc("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;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,kq(function(){Uq({autoReplaceSvgRoot:o}),lf("watch",a)})}},Hq={icon:function(a){if(a===null)return null;if(o_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:nf(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=c_(a[0]);return{prefix:l,iconName:nf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(sq))){var s=u_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lu(),iconName:nf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lu();return{prefix:f,iconName:nf(f,a)||a}}}},Eo={noAuto:Fq,config:xt,dom:jq,parse:Hq,library:oE,findIconDefinition:k2,toHtml:om},Uq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?wa:o;(Object.keys(Zl.styles).length>0||xt.autoFetchSvg)&&pc&&xt.autoReplaceSvg&&Eo.dom.i2svg({node:l})};g2=Zl.styles;Yq={found:!1,width:512,height:512};T5=function(){},R2=xt.measurePerformance&&Gg&&Gg.mark&&Gg.measure?Gg:{mark:T5,measure:T5},Kh='FA "6.4.2"',Gq=function(a){return R2.mark("".concat(Kh," ").concat(a," begins")),function(){return iE(a)}},iE=function(a){R2.mark("".concat(Kh," ").concat(a," ends")),R2.measure("".concat(Kh," ").concat(a),"".concat(Kh," ").concat(a," begins"),"".concat(Kh," ").concat(a," ends"))},H2={begin:Gq,end:iE},a_=function(){};n_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(lE(s),o)}),o.getAttribute(of)===null&&xt.keepOriginalSource){var l=wa.createComment(eY(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~P2(o).indexOf(xt.replacementClass))return n_.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var u=l.map(function(h){return om(h)}).join(`
924
- `);o.setAttribute(of,""),o.innerHTML=u}};U2=!1;l_=null;iY=Zl.styles;su=new Set;M2.map(function(r){su.add("fa-".concat(r))});Object.keys(Jh[Sa]).map(su.add.bind(su));Object.keys(Jh[Fa]).map(su.add.bind(su));su=am(su);cY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Rs:l,f=o.symbol,u=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,_=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,A=o.classes,N=A===void 0?[]:A,Y=o.attributes,M=Y===void 0?{}:Y,H=o.styles,F=H===void 0?{}:H;if(a){var Z=a.prefix,O=a.iconName,ae=a.icon;return f_(mt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?M["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||rm()):(M["aria-hidden"]="true",M.focusable="false")),j2({icons:{main:T2(ae),mask:p?T2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:O,transform:mt(mt({},Rs),s),symbol:u,title:S,maskId:_,titleId:k,extra:{attributes:M,styles:F,classes:N}})})}},uY={mixout:function(){return{icon:sY(cY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=L5,o.nodeCallback=lY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?wa:l,f=o.callback,u=f===void 0?function(){}:f;return L5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,u=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,_=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([E2(s,h),_.iconName?E2(_.iconName,_.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(A){var N=A2(A,2),Y=N[0],M=N[1];w([o,j2({icons:{main:Y,mask:M},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.transform,h=o.styles,p=s_(h);p.length>0&&(s.style=p);var m;return I2(u)&&(m=dc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},fY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return f_({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:l});var u=[];return o(function(h){Array.isArray(h)?h.map(function(p){u=u.concat(p.abstract)}):u=u.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(am(f)).join(" ")},children:u}]})}}}},dY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,m=p===void 0?{}:p,_=l.styles,b=_===void 0?{}:_;return f_({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),qq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(am(h))}})})}}}},pY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Rs:s,u=l.title,h=u===void 0?null:u,p=l.classes,m=p===void 0?[]:p,_=l.attributes,b=_===void 0?{}:_,S=l.styles,w=S===void 0?{}:S;return f_({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),k5({content:o,transform:mt(mt({},Rs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(am(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,u=l.extra,h=null,p=null;if(U5){var m=parseInt(getComputedStyle(o).fontSize,10),_=o.getBoundingClientRect();h=_.width/m,p=_.height/m}return xt.autoA11y&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,k5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},hY=new RegExp('"',"ug"),N5=[1105920,1112319];_Y={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=M5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?wa:l;xt.searchPseudoElements&&M5(s)}}},P5=!1,bY={mixout:function(){return{dom:{unwatch:function(){cE(),P5=!0}}}},hooks:function(){return{bootstrap:function(){D5(x2("mutationObserverCallbacks",{}))},noAuto:function(){tY()},watch:function(o){var l=o.observeMutationsRoot;P5?D2():D5(x2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},I5=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 f=s.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return l.flipX=!0,l;if(u&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(u){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)},yY={mixout:function(){return{parse:{transform:function(o){return I5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=I5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),_="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(_)},S={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),w.path)}]}]}}}},_2={x:0,y:0,width:"100%",height:"100%"};wY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?u_(s.split(" ").map(function(u){return u.trim()})):F2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,_=f.icon,b=u.width,S=u.icon,w=yq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},_2),{},{fill:"white"})},A=_.children?{children:_.children.map(z5)}:{},N={tag:"g",attributes:mt({},w.inner),children:[z5(mt({tag:_.tag,attributes:mt(mt({},_.attributes),w.path)},A))]},Y={tag:"g",attributes:mt({},w.outer),children:[N]},M="mask-".concat(h||rm()),H="clip-".concat(h||rm()),F={tag:"mask",attributes:mt(mt({},_2),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:H},children:SY(S)},F]};return l.push(Z,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(H,")"),mask:"url(#".concat(M,")")},_2)}),{children:l,attributes:s}}}},CY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:mt(mt({},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 u=mt(mt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},xY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},kY=[Cq,uY,fY,dY,pY,_Y,bY,yY,wY,CY,xY];Bq(kY,{mixoutsTo:Eo});TY=Eo.noAuto,EY=Eo.config,RY=Eo.library,DY=Eo.dom,AY=Eo.parse,LY=Eo.findIconDefinition,NY=Eo.toHtml,OY=Eo.icon,MY=Eo.layer,PY=Eo.text,IY=Eo.counter});var pE=Ue(ta=>{"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,f=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,A=r?Symbol.for("react.block"):60121,N=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,M=r?Symbol.for("react.scope"):60119;function H(ke){return typeof ke=="string"||typeof ke=="function"||ke===l||ke===m||ke===f||ke===s||ke===b||ke===S||typeof ke=="object"&&ke!==null&&(ke.$$typeof===k||ke.$$typeof===w||ke.$$typeof===u||ke.$$typeof===h||ke.$$typeof===_||ke.$$typeof===N||ke.$$typeof===Y||ke.$$typeof===M||ke.$$typeof===A)}function F(ke){if(typeof ke=="object"&&ke!==null){var ot=ke.$$typeof;switch(ot){case a:var kt=ke.type;switch(kt){case p:case m:case l:case f:case s:case b:return kt;default:var Tt=kt&&kt.$$typeof;switch(Tt){case h:case _:case k:case w:case u:return Tt;default:return ot}}case o:return ot}}}var Z=p,O=m,ae=h,_e=u,ee=a,ye=_,be=l,he=k,j=w,le=o,de=f,B=s,W=b,ie=!1;function te(ke){return ie||(ie=!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.")),se(ke)||F(ke)===p}function se(ke){return F(ke)===m}function we(ke){return F(ke)===h}function Se(ke){return F(ke)===u}function je(ke){return typeof ke=="object"&&ke!==null&&ke.$$typeof===a}function Ye(ke){return F(ke)===_}function Ge(ke){return F(ke)===l}function rt(ke){return F(ke)===k}function et(ke){return F(ke)===w}function Nt(ke){return F(ke)===o}function $t(ke){return F(ke)===f}function dt(ke){return F(ke)===s}function Xe(ke){return F(ke)===b}ta.AsyncMode=Z,ta.ConcurrentMode=O,ta.ContextConsumer=ae,ta.ContextProvider=_e,ta.Element=ee,ta.ForwardRef=ye,ta.Fragment=be,ta.Lazy=he,ta.Memo=j,ta.Portal=le,ta.Profiler=de,ta.StrictMode=B,ta.Suspense=W,ta.isAsyncMode=te,ta.isConcurrentMode=se,ta.isContextConsumer=we,ta.isContextProvider=Se,ta.isElement=je,ta.isForwardRef=Ye,ta.isFragment=Ge,ta.isLazy=rt,ta.isMemo=et,ta.isPortal=Nt,ta.isProfiler=$t,ta.isStrictMode=dt,ta.isSuspense=Xe,ta.isValidElementType=H,ta.typeOf=F})()});var V2=Ue((bG,hE)=>{"use strict";hE.exports=pE()});var gE=Ue((yG,vE)=>{"use strict";var mE=Object.getOwnPropertySymbols,zY=Object.prototype.hasOwnProperty,BY=Object.prototype.propertyIsEnumerable;function FY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function jY(){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(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}vE.exports=jY()?Object.assign:function(r,a){for(var o,l=FY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)zY.call(o,u)&&(l[u]=o[u]);if(mE){s=mE(o);for(var h=0;h<s.length;h++)BY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var W2=Ue((SG,_E)=>{"use strict";var HY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";_E.exports=HY});var q2=Ue((wG,bE)=>{bE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var xE=Ue((CG,CE)=>{"use strict";var Y2=function(){};yE=W2(),d_={},SE=q2(),Y2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var yE,d_,SE;function wE(r,a,o,l,s){for(var f in r)if(SE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[f](a,f,l,o,null,yE)}catch(m){u=m}if(u&&!(u instanceof Error)&&Y2((l||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in d_)){d_[u.message]=!0;var p=s?s():"";Y2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}wE.resetWarningCache=function(){d_={}};CE.exports=wE});var EE=Ue((xG,TE)=>{"use strict";var UY=V2(),VY=gE(),jd=W2(),$2=q2(),kE=xE(),Hd=function(){};Hd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function p_(){return null}TE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(j){var le=j&&(o&&j[o]||j[l]);if(typeof le=="function")return le}var f="<<anonymous>>",u={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:A,node:H(),objectOf:Y,oneOf:N,oneOfType:M,shape:Z,exact:O};function h(j,le){return j===le?j!==0||1/j===1/le:j!==j&&le!==le}function p(j,le){this.message=j,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(j){var le={},de=0;function B(ie,te,se,we,Se,je,Ye){if(we=we||f,je=je||se,Ye!==jd){if(a){var Ge=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 Ge.name="Invariant Violation",Ge}else if(typeof console!="undefined"){var rt=we+":"+se;!le[rt]&&de<3&&(Hd("You are manually calling a React.PropTypes validation function for the `"+je+"` prop on `"+we+"`. 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."),le[rt]=!0,de++)}}return te[se]==null?ie?te[se]===null?new p("The "+Se+" `"+je+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new p("The "+Se+" `"+je+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:j(te,se,we,Se,je)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function _(j){function le(de,B,W,ie,te,se){var we=de[B],Se=ee(we);if(Se!==j){var je=ye(we);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+je+"` supplied to `"+W+"`, expected ")+("`"+j+"`."),{expectedType:j})}return null}return m(le)}function b(){return m(p_)}function S(j){function le(de,B,W,ie,te){if(typeof j!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var se=de[B];if(!Array.isArray(se)){var we=ee(se);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an array."))}for(var Se=0;Se<se.length;Se++){var je=j(se,Se,W,ie,te+"["+Se+"]",jd);if(je instanceof Error)return je}return null}return m(le)}function w(){function j(le,de,B,W,ie){var te=le[de];if(!r(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(j)}function k(){function j(le,de,B,W,ie){var te=le[de];if(!UY.isValidElementType(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(j)}function A(j){function le(de,B,W,ie,te){if(!(de[B]instanceof j)){var se=j.name||f,we=he(de[B]);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected ")+("instance of `"+se+"`."))}return null}return m(le)}function N(j){if(!Array.isArray(j))return arguments.length>1?Hd("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])."):Hd("Invalid argument supplied to oneOf, expected an array."),p_;function le(de,B,W,ie,te){for(var se=de[B],we=0;we<j.length;we++)if(h(se,j[we]))return null;var Se=JSON.stringify(j,function(Ye,Ge){var rt=ye(Ge);return rt==="symbol"?String(Ge):Ge});return new p("Invalid "+ie+" `"+te+"` of value `"+String(se)+"` "+("supplied to `"+W+"`, expected one of "+Se+"."))}return m(le)}function Y(j){function le(de,B,W,ie,te){if(typeof j!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an object."));for(var Se in se)if($2(se,Se)){var je=j(se,Se,W,ie,te+"."+Se,jd);if(je instanceof Error)return je}return null}return m(le)}function M(j){if(!Array.isArray(j))return Hd("Invalid argument supplied to oneOfType, expected an instance of array."),p_;for(var le=0;le<j.length;le++){var de=j[le];if(typeof de!="function")return Hd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(de)+" at index "+le+"."),p_}function B(W,ie,te,se,we){for(var Se=[],je=0;je<j.length;je++){var Ye=j[je],Ge=Ye(W,ie,te,se,we,jd);if(Ge==null)return null;Ge.data&&$2(Ge.data,"expectedType")&&Se.push(Ge.data.expectedType)}var rt=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+se+" `"+we+"` supplied to "+("`"+te+"`"+rt+"."))}return m(B)}function H(){function j(le,de,B,W,ie){return ae(le[de])?null:new p("Invalid "+W+" `"+ie+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(j)}function F(j,le,de,B,W){return new p((j||"React class")+": "+le+" type `"+de+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Z(j){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));for(var Se in j){var je=j[Se];if(typeof je!="function")return F(W,ie,te,Se,ye(je));var Ye=je(se,Se,W,ie,te+"."+Se,jd);if(Ye)return Ye}return null}return m(le)}function O(j){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));var Se=VY({},de[B],j);for(var je in Se){var Ye=j[je];if($2(j,je)&&typeof Ye!="function")return F(W,ie,te,je,ye(Ye));if(!Ye)return new p("Invalid "+ie+" `"+te+"` key `"+je+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(de[B],null," ")+`
925
- Valid keys: `+JSON.stringify(Object.keys(j),null," "));var Ge=Ye(se,je,W,ie,te+"."+je,jd);if(Ge)return Ge}return null}return m(le)}function ae(j){switch(typeof j){case"number":case"string":case"undefined":return!0;case"boolean":return!j;case"object":if(Array.isArray(j))return j.every(ae);if(j===null||r(j))return!0;var le=s(j);if(le){var de=le.call(j),B;if(le!==j.entries){for(;!(B=de.next()).done;)if(!ae(B.value))return!1}else for(;!(B=de.next()).done;){var W=B.value;if(W&&!ae(W[1]))return!1}}else return!1;return!0;default:return!1}}function _e(j,le){return j==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function ee(j){var le=typeof j;return Array.isArray(j)?"array":j instanceof RegExp?"object":_e(le,j)?"symbol":le}function ye(j){if(typeof j=="undefined"||j===null)return""+j;var le=ee(j);if(le==="object"){if(j instanceof Date)return"date";if(j instanceof RegExp)return"regexp"}return le}function be(j){var le=ye(j);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function he(j){return!j.constructor||!j.constructor.name?f:j.constructor.name}return u.checkPropTypes=kE,u.resetWarningCache=kE.resetWarningCache,u.PropTypes=u,u}});var LE=Ue((kG,AE)=>{RE=V2(),DE=!0,AE.exports=EE()(RE.isElement,DE);var RE,DE});var OE=Ue((h_,NE)=>{(function(r,a){typeof h_=="object"&&typeof NE!="undefined"?a(h_,(dE(),EV(fE)),LE(),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))})(h_,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),u=s(l);function h(B,W){var ie=Object.keys(B);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(B);W&&(te=te.filter(function(se){return Object.getOwnPropertyDescriptor(B,se).enumerable})),ie.push.apply(ie,te)}return ie}function p(B){for(var W=1;W<arguments.length;W++){var ie=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ie),!0).forEach(function(te){_(B,te,ie[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ie)):h(Object(ie)).forEach(function(te){Object.defineProperty(B,te,Object.getOwnPropertyDescriptor(ie,te))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(B)}function _(B,W,ie){return W in B?Object.defineProperty(B,W,{value:ie,enumerable:!0,configurable:!0,writable:!0}):B[W]=ie,B}function b(B,W){if(B==null)return{};var ie={},te=Object.keys(B),se,we;for(we=0;we<te.length;we++)se=te[we],!(W.indexOf(se)>=0)&&(ie[se]=B[se]);return ie}function S(B,W){if(B==null)return{};var ie=b(B,W),te,se;if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(B);for(se=0;se<we.length;se++)te=we[se],!(W.indexOf(te)>=0)&&Object.prototype.propertyIsEnumerable.call(B,te)&&(ie[te]=B[te])}return ie}function w(B){return k(B)||A(B)||N(B)||M()}function k(B){if(Array.isArray(B))return Y(B)}function A(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function N(B,W){if(B){if(typeof B=="string")return Y(B,W);var ie=Object.prototype.toString.call(B).slice(8,-1);if(ie==="Object"&&B.constructor&&(ie=B.constructor.name),ie==="Map"||ie==="Set")return Array.from(B);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ie=0,te=new Array(W);ie<W;ie++)te[ie]=B[ie];return te}function M(){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 H(B){var W,ie=B.beat,te=B.fade,se=B.beatFade,we=B.bounce,Se=B.shake,je=B.flash,Ye=B.spin,Ge=B.spinPulse,rt=B.spinReverse,et=B.pulse,Nt=B.fixedWidth,$t=B.inverse,dt=B.border,Xe=B.listItem,ke=B.flip,ot=B.size,kt=B.rotation,Tt=B.pull,wt=(W={"fa-beat":ie,"fa-fade":te,"fa-beat-fade":se,"fa-bounce":we,"fa-shake":Se,"fa-flash":je,"fa-spin":Ye,"fa-spin-reverse":rt,"fa-spin-pulse":Ge,"fa-pulse":et,"fa-fw":Nt,"fa-inverse":$t,"fa-border":dt,"fa-li":Xe,"fa-flip":ke===!0,"fa-flip-horizontal":ke==="horizontal"||ke==="both","fa-flip-vertical":ke==="vertical"||ke==="both"},_(W,"fa-".concat(ot),typeof ot!="undefined"&&ot!==null),_(W,"fa-rotate-".concat(kt),typeof kt!="undefined"&&kt!==null&&kt!==0),_(W,"fa-pull-".concat(Tt),typeof Tt!="undefined"&&Tt!==null),_(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(wt).map(function(tr){return wt[tr]?tr:null}).filter(function(tr){return tr})}function F(B){return B=B-0,B===B}function Z(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ie){return ie?ie.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var O=["style"];function ae(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ie){var te=ie.indexOf(":"),se=Z(ie.slice(0,te)),we=ie.slice(te+1).trim();return se.startsWith("webkit")?W[ae(se)]=we:W[se]=we,W},{})}function ee(B,W){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var te=(W.children||[]).map(function(Ye){return ee(B,Ye)}),se=Object.keys(W.attributes||{}).reduce(function(Ye,Ge){var rt=W.attributes[Ge];switch(Ge){case"class":Ye.attrs.className=rt,delete W.attributes.class;break;case"style":Ye.attrs.style=_e(rt);break;default:Ge.indexOf("aria-")===0||Ge.indexOf("data-")===0?Ye.attrs[Ge.toLowerCase()]=rt:Ye.attrs[Z(Ge)]=rt}return Ye},{attrs:{}}),we=ie.style,Se=we===void 0?{}:we,je=S(ie,O);return se.attrs.style=p(p({},se.attrs.style),Se),B.apply(void 0,[W.tag,p(p({},se.attrs),je)].concat(w(te)))}var ye=!1;try{ye=!1}catch(B){}function be(){if(!ye&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function he(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function j(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?_({},B,W):{}}var le=u.default.forwardRef(function(B,W){var ie=B.icon,te=B.mask,se=B.symbol,we=B.className,Se=B.title,je=B.titleId,Ye=B.maskId,Ge=he(ie),rt=j("classes",[].concat(w(H(B)),w(we.split(" ")))),et=j("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),Nt=j("mask",he(te)),$t=a.icon(Ge,p(p(p(p({},rt),et),Nt),{},{symbol:se,title:Se,titleId:je,maskId:Ye}));if(!$t)return be("Could not find icon",Ge),null;var dt=$t.abstract,Xe={ref:W};return Object.keys(B).forEach(function(ke){le.defaultProps.hasOwnProperty(ke)||(Xe[ke]=B[ke])}),de(dt[0],Xe)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.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 de=ee.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var jE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var ME="fas",PE="xmark",IE=384,zE=512,G2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],BE="f00d",FE="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";$o.definition={prefix:ME,iconName:PE,icon:[IE,zE,G2,BE,FE]};$o.faXmark=$o.definition;$o.prefix=ME;$o.iconName=PE;$o.width=IE;$o.height=zE;$o.ligatures=G2;$o.unicode=BE;$o.svgPathData=FE;$o.aliases=G2});var HE=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eo=jE();Go.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};Go.faTimes=Go.definition;Go.prefix=eo.prefix;Go.iconName=eo.iconName;Go.width=eo.width;Go.height=eo.height;Go.ligatures=eo.aliases;Go.unicode=eo.unicode;Go.svgPathData=eo.svgPathData;Go.aliases=eo.aliases});var GE=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var UE="fas",VE="angle-right",WE=320,qE=512,K2=[8250],YE="f105",$E="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";Ko.definition={prefix:UE,iconName:VE,icon:[WE,qE,K2,YE,$E]};Ko.faAngleRight=Ko.definition;Ko.prefix=UE;Ko.iconName=VE;Ko.width=WE;Ko.height=qE;Ko.ligatures=K2;Ko.unicode=YE;Ko.svgPathData=$E;Ko.aliases=K2});var tR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var KE="fas",XE="angle-left",QE=320,JE=512,X2=[8249],ZE="f104",eR="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";Xo.definition={prefix:KE,iconName:XE,icon:[QE,JE,X2,ZE,eR]};Xo.faAngleLeft=Xo.definition;Xo.prefix=KE;Xo.iconName=XE;Xo.width=QE;Xo.height=JE;Xo.ligatures=X2;Xo.unicode=ZE;Xo.svgPathData=eR;Xo.aliases=X2});var sR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var rR="fas",aR="angle-up",nR=448,oR=512,Q2=[8963],iR="f106",lR="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";Qo.definition={prefix:rR,iconName:aR,icon:[nR,oR,Q2,iR,lR]};Qo.faAngleUp=Qo.definition;Qo.prefix=rR;Qo.iconName=aR;Qo.width=nR;Qo.height=oR;Qo.ligatures=Q2;Qo.unicode=iR;Qo.svgPathData=lR;Qo.aliases=Q2});var mR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var cR="fas",uR="angle-down",fR=448,dR=512,J2=[8964],pR="f107",hR="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";Jo.definition={prefix:cR,iconName:uR,icon:[fR,dR,J2,pR,hR]};Jo.faAngleDown=Jo.definition;Jo.prefix=cR;Jo.iconName=uR;Jo.width=fR;Jo.height=dR;Jo.ligatures=J2;Jo.unicode=pR;Jo.svgPathData=hR;Jo.aliases=J2});var wR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var vR="fas",gR="chevron-left",_R=320,bR=512,Z2=[9001],yR="f053",SR="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";Zo.definition={prefix:vR,iconName:gR,icon:[_R,bR,Z2,yR,SR]};Zo.faChevronLeft=Zo.definition;Zo.prefix=vR;Zo.iconName=gR;Zo.width=_R;Zo.height=bR;Zo.ligatures=Z2;Zo.unicode=yR;Zo.svgPathData=SR;Zo.aliases=Z2});var DR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var CR="fas",xR="chevron-right",kR=320,TR=512,eS=[9002],ER="f054",RR="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";ei.definition={prefix:CR,iconName:xR,icon:[kR,TR,eS,ER,RR]};ei.faChevronRight=ei.definition;ei.prefix=CR;ei.iconName=xR;ei.width=kR;ei.height=TR;ei.ligatures=eS;ei.unicode=ER;ei.svgPathData=RR;ei.aliases=eS});var IR=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var AR="fas",LR="chevron-up",NR=512,OR=512,tS=[],MR="f077",PR="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";ti.definition={prefix:AR,iconName:LR,icon:[NR,OR,tS,MR,PR]};ti.faChevronUp=ti.definition;ti.prefix=AR;ti.iconName=LR;ti.width=NR;ti.height=OR;ti.ligatures=tS;ti.unicode=MR;ti.svgPathData=PR;ti.aliases=tS});var VR=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var zR="fas",BR="chevron-down",FR=512,jR=512,rS=[],HR="f078",UR="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";ri.definition={prefix:zR,iconName:BR,icon:[FR,jR,rS,HR,UR]};ri.faChevronDown=ri.definition;ri.prefix=zR;ri.iconName=BR;ri.width=FR;ri.height=jR;ri.ligatures=rS;ri.unicode=HR;ri.svgPathData=UR;ri.aliases=rS});var XR=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var WR="fas",qR="caret-left",YR=256,$R=512,aS=[],GR="f0d9",KR="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";ai.definition={prefix:WR,iconName:qR,icon:[YR,$R,aS,GR,KR]};ai.faCaretLeft=ai.definition;ai.prefix=WR;ai.iconName=qR;ai.width=YR;ai.height=$R;ai.ligatures=aS;ai.unicode=GR;ai.svgPathData=KR;ai.aliases=aS});var a6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var QR="fas",JR="caret-right",ZR=256,e6=512,nS=[],t6="f0da",r6="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";ni.definition={prefix:QR,iconName:JR,icon:[ZR,e6,nS,t6,r6]};ni.faCaretRight=ni.definition;ni.prefix=QR;ni.iconName=JR;ni.width=ZR;ni.height=e6;ni.ligatures=nS;ni.unicode=t6;ni.svgPathData=r6;ni.aliases=nS});var u6=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var n6="fas",o6="caret-up",i6=320,l6=512,oS=[],s6="f0d8",c6="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";oi.definition={prefix:n6,iconName:o6,icon:[i6,l6,oS,s6,c6]};oi.faCaretUp=oi.definition;oi.prefix=n6;oi.iconName=o6;oi.width=i6;oi.height=l6;oi.ligatures=oS;oi.unicode=s6;oi.svgPathData=c6;oi.aliases=oS});var g6=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var f6="fas",d6="caret-down",p6=320,h6=512,iS=[],m6="f0d7",v6="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";ii.definition={prefix:f6,iconName:d6,icon:[p6,h6,iS,m6,v6]};ii.faCaretDown=ii.definition;ii.prefix=f6;ii.iconName=d6;ii.width=p6;ii.height=h6;ii.ligatures=iS;ii.unicode=m6;ii.svgPathData=v6;ii.aliases=iS});var x6=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var _6="fas",b6="arrow-left",y6=448,S6=512,lS=[8592],w6="f060",C6="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";li.definition={prefix:_6,iconName:b6,icon:[y6,S6,lS,w6,C6]};li.faArrowLeft=li.definition;li.prefix=_6;li.iconName=b6;li.width=y6;li.height=S6;li.ligatures=lS;li.unicode=w6;li.svgPathData=C6;li.aliases=lS});var cS=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var k6="fas",T6="arrow-right",E6=448,R6=512,sS=[8594],D6="f061",A6="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";si.definition={prefix:k6,iconName:T6,icon:[E6,R6,sS,D6,A6]};si.faArrowRight=si.definition;si.prefix=k6;si.iconName=T6;si.width=E6;si.height=R6;si.ligatures=sS;si.unicode=D6;si.svgPathData=A6;si.aliases=sS});var fS=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var L6="fas",N6="arrow-up",O6=384,M6=512,uS=[8593],P6="f062",I6="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";ci.definition={prefix:L6,iconName:N6,icon:[O6,M6,uS,P6,I6]};ci.faArrowUp=ci.definition;ci.prefix=L6;ci.iconName=N6;ci.width=O6;ci.height=M6;ci.ligatures=uS;ci.unicode=P6;ci.svgPathData=I6;ci.aliases=uS});var pS=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var z6="fas",B6="arrow-down",F6=384,j6=512,dS=[8595],H6="f063",U6="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";ui.definition={prefix:z6,iconName:B6,icon:[F6,j6,dS,H6,U6]};ui.faArrowDown=ui.definition;ui.prefix=z6;ui.iconName=B6;ui.width=F6;ui.height=j6;ui.ligatures=dS;ui.unicode=H6;ui.svgPathData=U6;ui.aliases=dS});var K6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var V6="fas",W6="rotate",q6=512,Y6=512,hS=[128260,"sync-alt"],$6="f2f1",G6="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";fi.definition={prefix:V6,iconName:W6,icon:[q6,Y6,hS,$6,G6]};fi.faRotate=fi.definition;fi.prefix=V6;fi.iconName=W6;fi.width=q6;fi.height=Y6;fi.ligatures=hS;fi.unicode=$6;fi.svgPathData=G6;fi.aliases=hS});var rD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var X6="fas",Q6="arrow-rotate-right",J6=512,Z6=512,mS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],eD="f01e",tD="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";di.definition={prefix:X6,iconName:Q6,icon:[J6,Z6,mS,eD,tD]};di.faArrowRotateRight=di.definition;di.prefix=X6;di.iconName=Q6;di.width=J6;di.height=Z6;di.ligatures=mS;di.unicode=eD;di.svgPathData=tD;di.aliases=mS});var aD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var to=rD();pi.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};pi.faRedo=pi.definition;pi.prefix=to.prefix;pi.iconName=to.iconName;pi.width=to.width;pi.height=to.height;pi.ligatures=to.aliases;pi.unicode=to.unicode;pi.svgPathData=to.svgPathData;pi.aliases=to.aliases});var uD=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var nD="fas",oD="check",iD=448,lD=512,vS=[10003,10004],sD="f00c",cD="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";hi.definition={prefix:nD,iconName:oD,icon:[iD,lD,vS,sD,cD]};hi.faCheck=hi.definition;hi.prefix=nD;hi.iconName=oD;hi.width=iD;hi.height=lD;hi.ligatures=vS;hi.unicode=sD;hi.svgPathData=cD;hi.aliases=vS});var gD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var fD="fas",dD="question",pD=320,hD=512,gS=[10067,10068,61736],mD="3f",vD="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";mi.definition={prefix:fD,iconName:dD,icon:[pD,hD,gS,mD,vD]};mi.faQuestion=mi.definition;mi.prefix=fD;mi.iconName=dD;mi.width=pD;mi.height=hD;mi.ligatures=gS;mi.unicode=mD;mi.svgPathData=vD;mi.aliases=gS});var xD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var _D="fas",bD="exclamation",yD=128,SD=512,_S=[10069,10071,61738],wD="21",CD="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";vi.definition={prefix:_D,iconName:bD,icon:[yD,SD,_S,wD,CD]};vi.faExclamation=vi.definition;vi.prefix=_D;vi.iconName=bD;vi.width=yD;vi.height=SD;vi.ligatures=_S;vi.unicode=wD;vi.svgPathData=CD;vi.aliases=_S});var LD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var kD="fas",TD="triangle-exclamation",ED=512,RD=512,bS=[9888,"exclamation-triangle","warning"],DD="f071",AD="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";gi.definition={prefix:kD,iconName:TD,icon:[ED,RD,bS,DD,AD]};gi.faTriangleExclamation=gi.definition;gi.prefix=kD;gi.iconName=TD;gi.width=ED;gi.height=RD;gi.ligatures=bS;gi.unicode=DD;gi.svgPathData=AD;gi.aliases=bS});var ND=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ro=LD();_i.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};_i.faExclamationTriangle=_i.definition;_i.prefix=ro.prefix;_i.iconName=ro.iconName;_i.width=ro.width;_i.height=ro.height;_i.ligatures=ro.aliases;_i.unicode=ro.unicode;_i.svgPathData=ro.svgPathData;_i.aliases=ro.aliases});var FD=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var OD="fas",MD="house",PD=576,ID=512,yS=[127968,63498,63500,"home","home-alt","home-lg-alt"],zD="f015",BD="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";bi.definition={prefix:OD,iconName:MD,icon:[PD,ID,yS,zD,BD]};bi.faHouse=bi.definition;bi.prefix=OD;bi.iconName=MD;bi.width=PD;bi.height=ID;bi.ligatures=yS;bi.unicode=zD;bi.svgPathData=BD;bi.aliases=yS});var jD=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var ao=FD();yi.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};yi.faHome=yi.definition;yi.prefix=ao.prefix;yi.iconName=ao.iconName;yi.width=ao.width;yi.height=ao.height;yi.ligatures=ao.aliases;yi.unicode=ao.unicode;yi.svgPathData=ao.svgPathData;yi.aliases=ao.aliases});var $D=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var HD="fas",UD="share",VD=512,WD=512,SS=["mail-forward"],qD="f064",YD="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";Si.definition={prefix:HD,iconName:UD,icon:[VD,WD,SS,qD,YD]};Si.faShare=Si.definition;Si.prefix=HD;Si.iconName=UD;Si.width=VD;Si.height=WD;Si.ligatures=SS;Si.unicode=qD;Si.svgPathData=YD;Si.aliases=SS});var eA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var GD="fas",KD="magnifying-glass",XD=512,QD=512,wS=[128269,"search"],JD="f002",ZD="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";wi.definition={prefix:GD,iconName:KD,icon:[XD,QD,wS,JD,ZD]};wi.faMagnifyingGlass=wi.definition;wi.prefix=GD;wi.iconName=KD;wi.width=XD;wi.height=QD;wi.ligatures=wS;wi.unicode=JD;wi.svgPathData=ZD;wi.aliases=wS});var tA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var no=eA();Ci.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};Ci.faSearch=Ci.definition;Ci.prefix=no.prefix;Ci.iconName=no.iconName;Ci.width=no.width;Ci.height=no.height;Ci.ligatures=no.aliases;Ci.unicode=no.unicode;Ci.svgPathData=no.svgPathData;Ci.aliases=no.aliases});var sA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var rA="fas",aA="yen-sign",nA=320,oA=512,CS=[165,"cny","jpy","rmb","yen"],iA="f157",lA="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";xi.definition={prefix:rA,iconName:aA,icon:[nA,oA,CS,iA,lA]};xi.faYenSign=xi.definition;xi.prefix=rA;xi.iconName=aA;xi.width=nA;xi.height=oA;xi.ligatures=CS;xi.unicode=iA;xi.svgPathData=lA;xi.aliases=CS});var mA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var cA="fas",uA="pen",fA=512,dA=512,xS=[128394],pA="f304",hA="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";ki.definition={prefix:cA,iconName:uA,icon:[fA,dA,xS,pA,hA]};ki.faPen=ki.definition;ki.prefix=cA;ki.iconName=uA;ki.width=fA;ki.height=dA;ki.ligatures=xS;ki.unicode=pA;ki.svgPathData=hA;ki.aliases=xS});var wA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var vA="fas",gA="bars",_A=448,bA=512,kS=["navicon"],yA="f0c9",SA="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";Ti.definition={prefix:vA,iconName:gA,icon:[_A,bA,kS,yA,SA]};Ti.faBars=Ti.definition;Ti.prefix=vA;Ti.iconName=gA;Ti.width=_A;Ti.height=bA;Ti.ligatures=kS;Ti.unicode=yA;Ti.svgPathData=SA;Ti.aliases=kS});var DA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var CA="fas",xA="download",kA=512,TA=512,TS=[],EA="f019",RA="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";Ei.definition={prefix:CA,iconName:xA,icon:[kA,TA,TS,EA,RA]};Ei.faDownload=Ei.definition;Ei.prefix=CA;Ei.iconName=xA;Ei.width=kA;Ei.height=TA;Ei.ligatures=TS;Ei.unicode=EA;Ei.svgPathData=RA;Ei.aliases=TS});var IA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var AA="fas",LA="link",NA=640,OA=512,ES=[128279,"chain"],MA="f0c1",PA="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";Ri.definition={prefix:AA,iconName:LA,icon:[NA,OA,ES,MA,PA]};Ri.faLink=Ri.definition;Ri.prefix=AA;Ri.iconName=LA;Ri.width=NA;Ri.height=OA;Ri.ligatures=ES;Ri.unicode=MA;Ri.svgPathData=PA;Ri.aliases=ES});var VA=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var zA="fas",BA="link-slash",FA=640,jA=512,RS=["chain-broken","chain-slash","unlink"],HA="f127",UA="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";Di.definition={prefix:zA,iconName:BA,icon:[FA,jA,RS,HA,UA]};Di.faLinkSlash=Di.definition;Di.prefix=zA;Di.iconName=BA;Di.width=FA;Di.height=jA;Di.ligatures=RS;Di.unicode=HA;Di.svgPathData=UA;Di.aliases=RS});var XA=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var WA="fas",qA="up-right-from-square",YA=512,$A=512,DS=["external-link-alt"],GA="f35d",KA="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";Ai.definition={prefix:WA,iconName:qA,icon:[YA,$A,DS,GA,KA]};Ai.faUpRightFromSquare=Ai.definition;Ai.prefix=WA;Ai.iconName=qA;Ai.width=YA;Ai.height=$A;Ai.ligatures=DS;Ai.unicode=GA;Ai.svgPathData=KA;Ai.aliases=DS});var QA=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var oo=XA();Li.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=oo.prefix;Li.iconName=oo.iconName;Li.width=oo.width;Li.height=oo.height;Li.ligatures=oo.aliases;Li.unicode=oo.unicode;Li.svgPathData=oo.svgPathData;Li.aliases=oo.aliases});var n8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var JA="fas",ZA="gear",e8=512,t8=512,AS=[9881,"cog"],r8="f013",a8="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";Ni.definition={prefix:JA,iconName:ZA,icon:[e8,t8,AS,r8,a8]};Ni.faGear=Ni.definition;Ni.prefix=JA;Ni.iconName=ZA;Ni.width=e8;Ni.height=t8;Ni.ligatures=AS;Ni.unicode=r8;Ni.svgPathData=a8;Ni.aliases=AS});var f8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var o8="fas",i8="plus",l8=448,s8=512,LS=[10133,61543,"add"],c8="2b",u8="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";Oi.definition={prefix:o8,iconName:i8,icon:[l8,s8,LS,c8,u8]};Oi.faPlus=Oi.definition;Oi.prefix=o8;Oi.iconName=i8;Oi.width=l8;Oi.height=s8;Oi.ligatures=LS;Oi.unicode=c8;Oi.svgPathData=u8;Oi.aliases=LS});var _8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var d8="fas",p8="minus",h8=448,m8=512,NS=[8211,8722,10134,"subtract"],v8="f068",g8="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";Mi.definition={prefix:d8,iconName:p8,icon:[h8,m8,NS,v8,g8]};Mi.faMinus=Mi.definition;Mi.prefix=d8;Mi.iconName=p8;Mi.width=h8;Mi.height=m8;Mi.ligatures=NS;Mi.unicode=v8;Mi.svgPathData=g8;Mi.aliases=NS});var k8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var b8="fas",y8="ellipsis",S8=448,w8=512,OS=["ellipsis-h"],C8="f141",x8="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";Pi.definition={prefix:b8,iconName:y8,icon:[S8,w8,OS,C8,x8]};Pi.faEllipsis=Pi.definition;Pi.prefix=b8;Pi.iconName=y8;Pi.width=S8;Pi.height=w8;Pi.ligatures=OS;Pi.unicode=C8;Pi.svgPathData=x8;Pi.aliases=OS});var T8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var io=k8();Ii.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Ii.faEllipsisH=Ii.definition;Ii.prefix=io.prefix;Ii.iconName=io.iconName;Ii.width=io.width;Ii.height=io.height;Ii.ligatures=io.aliases;Ii.unicode=io.unicode;Ii.svgPathData=io.svgPathData;Ii.aliases=io.aliases});var O8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var E8="fas",R8="ellipsis-vertical",D8=128,A8=512,MS=["ellipsis-v"],L8="f142",N8="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";zi.definition={prefix:E8,iconName:R8,icon:[D8,A8,MS,L8,N8]};zi.faEllipsisVertical=zi.definition;zi.prefix=E8;zi.iconName=R8;zi.width=D8;zi.height=A8;zi.ligatures=MS;zi.unicode=L8;zi.svgPathData=N8;zi.aliases=MS});var M8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var lo=O8();Bi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Bi.faEllipsisV=Bi.definition;Bi.prefix=lo.prefix;Bi.iconName=lo.iconName;Bi.width=lo.width;Bi.height=lo.height;Bi.ligatures=lo.aliases;Bi.unicode=lo.unicode;Bi.svgPathData=lo.svgPathData;Bi.aliases=lo.aliases});var H8=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var P8="fas",I8="star",z8=576,B8=512,PS=[11088,61446],F8="f005",j8="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";Fi.definition={prefix:P8,iconName:I8,icon:[z8,B8,PS,F8,j8]};Fi.faStar=Fi.definition;Fi.prefix=P8;Fi.iconName=I8;Fi.width=z8;Fi.height=B8;Fi.ligatures=PS;Fi.unicode=F8;Fi.svgPathData=j8;Fi.aliases=PS});var G8=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var U8="fas",V8="paper-plane",W8=512,q8=512,IS=[61913],Y8="f1d8",$8="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";ji.definition={prefix:U8,iconName:V8,icon:[W8,q8,IS,Y8,$8]};ji.faPaperPlane=ji.definition;ji.prefix=U8;ji.iconName=V8;ji.width=W8;ji.height=q8;ji.ligatures=IS;ji.unicode=Y8;ji.svgPathData=$8;ji.aliases=IS});var tL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var K8="fas",X8="heart",Q8=512,J8=512,zS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],Z8="f004",eL="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";Hi.definition={prefix:K8,iconName:X8,icon:[Q8,J8,zS,Z8,eL]};Hi.faHeart=Hi.definition;Hi.prefix=K8;Hi.iconName=X8;Hi.width=Q8;Hi.height=J8;Hi.ligatures=zS;Hi.unicode=Z8;Hi.svgPathData=eL;Hi.aliases=zS});var sL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var rL="fas",aL="ban",nL=512,oL=512,BS=[128683,"cancel"],iL="f05e",lL="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";Ui.definition={prefix:rL,iconName:aL,icon:[nL,oL,BS,iL,lL]};Ui.faBan=Ui.definition;Ui.prefix=rL;Ui.iconName=aL;Ui.width=nL;Ui.height=oL;Ui.ligatures=BS;Ui.unicode=iL;Ui.svgPathData=lL;Ui.aliases=BS});var mL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var cL="fas",uL="location-crosshairs",fL=512,dL=512,FS=["location"],pL="f601",hL="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";Vi.definition={prefix:cL,iconName:uL,icon:[fL,dL,FS,pL,hL]};Vi.faLocationCrosshairs=Vi.definition;Vi.prefix=cL;Vi.iconName=uL;Vi.width=fL;Vi.height=dL;Vi.ligatures=FS;Vi.unicode=pL;Vi.svgPathData=hL;Vi.aliases=FS});var wL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var vL="far",gL="user",_L=448,bL=512,jS=[128100,62144],yL="f007",SL="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";Wi.definition={prefix:vL,iconName:gL,icon:[_L,bL,jS,yL,SL]};Wi.faUser=Wi.definition;Wi.prefix=vL;Wi.iconName=gL;Wi.width=_L;Wi.height=bL;Wi.ligatures=jS;Wi.unicode=yL;Wi.svgPathData=SL;Wi.aliases=jS});var DL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var CL="far",xL="circle-check",kL=512,TL=512,HS=[61533,"check-circle"],EL="f058",RL="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";qi.definition={prefix:CL,iconName:xL,icon:[kL,TL,HS,EL,RL]};qi.faCircleCheck=qi.definition;qi.prefix=CL;qi.iconName=xL;qi.width=kL;qi.height=TL;qi.ligatures=HS;qi.unicode=EL;qi.svgPathData=RL;qi.aliases=HS});var AL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var so=DL();Yi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=so.prefix;Yi.iconName=so.iconName;Yi.width=so.width;Yi.height=so.height;Yi.ligatures=so.aliases;Yi.unicode=so.unicode;Yi.svgPathData=so.svgPathData;Yi.aliases=so.aliases});var zL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var LL="far",NL="circle-question",OL=512,ML=512,US=[62108,"question-circle"],PL="f059",IL="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";$i.definition={prefix:LL,iconName:NL,icon:[OL,ML,US,PL,IL]};$i.faCircleQuestion=$i.definition;$i.prefix=LL;$i.iconName=NL;$i.width=OL;$i.height=ML;$i.ligatures=US;$i.unicode=PL;$i.svgPathData=IL;$i.aliases=US});var BL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var co=zL();Gi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Gi.faQuestionCircle=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 qL=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var FL="far",jL="pen-to-square",HL=512,UL=512,VS=["edit"],VL="f044",WL="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";Ki.definition={prefix:FL,iconName:jL,icon:[HL,UL,VS,VL,WL]};Ki.faPenToSquare=Ki.definition;Ki.prefix=FL;Ki.iconName=jL;Ki.width=HL;Ki.height=UL;Ki.ligatures=VS;Ki.unicode=VL;Ki.svgPathData=WL;Ki.aliases=VS});var YL=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var uo=qL();Xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Xi.faEdit=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 ZL=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var $L="far",GL="copy",KL=448,XL=512,WS=[],QL="f0c5",JL="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";Qi.definition={prefix:$L,iconName:GL,icon:[KL,XL,WS,QL,JL]};Qi.faCopy=Qi.definition;Qi.prefix=$L;Qi.iconName=GL;Qi.width=KL;Qi.height=XL;Qi.ligatures=WS;Qi.unicode=QL;Qi.svgPathData=JL;Qi.aliases=WS});var iN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var eN="far",tN="file",rN=384,aN=512,qS=[128196,128459,61462],nN="f15b",oN="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";Ji.definition={prefix:eN,iconName:tN,icon:[rN,aN,qS,nN,oN]};Ji.faFile=Ji.definition;Ji.prefix=eN;Ji.iconName=tN;Ji.width=rN;Ji.height=aN;Ji.ligatures=qS;Ji.unicode=nN;Ji.svgPathData=oN;Ji.aliases=qS});var pN=Ue(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var lN="far",sN="trash-can",cN=448,uN=512,YS=[61460,"trash-alt"],fN="f2ed",dN="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";Zi.definition={prefix:lN,iconName:sN,icon:[cN,uN,YS,fN,dN]};Zi.faTrashCan=Zi.definition;Zi.prefix=lN;Zi.iconName=sN;Zi.width=cN;Zi.height=uN;Zi.ligatures=YS;Zi.unicode=fN;Zi.svgPathData=dN;Zi.aliases=YS});var hN=Ue(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var fo=pN();el.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};el.faTrashAlt=el.definition;el.prefix=fo.prefix;el.iconName=fo.iconName;el.width=fo.width;el.height=fo.height;el.ligatures=fo.aliases;el.unicode=fo.unicode;el.svgPathData=fo.svgPathData;el.aliases=fo.aliases});var SN=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var mN="far",vN="image",gN=512,_N=512,$S=[],bN="f03e",yN="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";tl.definition={prefix:mN,iconName:vN,icon:[gN,_N,$S,bN,yN]};tl.faImage=tl.definition;tl.prefix=mN;tl.iconName=vN;tl.width=gN;tl.height=_N;tl.ligatures=$S;tl.unicode=bN;tl.svgPathData=yN;tl.aliases=$S});var KO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var VO="fas",WO="eye",qO=576,YO=512,cw=[128065],$O="f06e",GO="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";nl.definition={prefix:VO,iconName:WO,icon:[qO,YO,cw,$O,GO]};nl.faEye=nl.definition;nl.prefix=VO;nl.iconName=WO;nl.width=qO;nl.height=YO;nl.ligatures=cw;nl.unicode=$O;nl.svgPathData=GO;nl.aliases=cw});var l7=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var t7="fas",r7="clock",a7=512,n7=512,dw=[128339,"clock-four"],o7="f017",i7="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";ol.definition={prefix:t7,iconName:r7,icon:[a7,n7,dw,o7,i7]};ol.faClock=ol.definition;ol.prefix=t7;ol.iconName=r7;ol.width=a7;ol.height=n7;ol.ligatures=dw;ol.unicode=o7;ol.svgPathData=i7;ol.aliases=dw});var h7=Ue(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var s7="fas",c7="calendar-days",u7=448,f7=512,pw=["calendar-alt"],d7="f073",p7="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";il.definition={prefix:s7,iconName:c7,icon:[u7,f7,pw,d7,p7]};il.faCalendarDays=il.definition;il.prefix=s7;il.iconName=c7;il.width=u7;il.height=f7;il.ligatures=pw;il.unicode=d7;il.svgPathData=p7;il.aliases=pw});var m7=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var ho=h7();ll.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};ll.faCalendarAlt=ll.definition;ll.prefix=ho.prefix;ll.iconName=ho.iconName;ll.width=ho.width;ll.height=ho.height;ll.ligatures=ho.aliases;ll.unicode=ho.unicode;ll.svgPathData=ho.svgPathData;ll.aliases=ho.aliases});var M7=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var R7="fas",D7="cloud-arrow-up",A7=640,L7=512,gw=[62338,"cloud-upload","cloud-upload-alt"],N7="f0ee",O7="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";sl.definition={prefix:R7,iconName:D7,icon:[A7,L7,gw,N7,O7]};sl.faCloudArrowUp=sl.definition;sl.prefix=R7;sl.iconName=D7;sl.width=A7;sl.height=L7;sl.ligatures=gw;sl.unicode=N7;sl.svgPathData=O7;sl.aliases=gw});var aM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var Q7="fas",J7="grip-vertical",Z7=320,eM=512,xw=[],tM="f58e",rM="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";ul.definition={prefix:Q7,iconName:J7,icon:[Z7,eM,xw,tM,rM]};ul.faGripVertical=ul.definition;ul.prefix=Q7;ul.iconName=J7;ul.width=Z7;ul.height=eM;ul.ligatures=xw;ul.unicode=tM;ul.svgPathData=rM;ul.aliases=xw});var fM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var oM="fas",iM="filter",lM=512,sM=512,Ew=[],cM="f0b0",uM="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";fl.definition={prefix:oM,iconName:iM,icon:[lM,sM,Ew,cM,uM]};fl.faFilter=fl.definition;fl.prefix=oM;fl.iconName=iM;fl.width=lM;fl.height=sM;fl.ligatures=Ew;fl.unicode=cM;fl.svgPathData=uM;fl.aliases=Ew});var wM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var vM="fas",gM="palette",_M=512,bM=512,Dw=[127912],yM="f53f",SM="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";dl.definition={prefix:vM,iconName:gM,icon:[_M,bM,Dw,yM,SM]};dl.faPalette=dl.definition;dl.prefix=vM;dl.iconName=gM;dl.width=_M;dl.height=bM;dl.ligatures=Dw;dl.unicode=yM;dl.svgPathData=SM;dl.aliases=Dw});var DM=Ue(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var CM="fas",xM="bars-staggered",kM=512,TM=512,Aw=["reorder","stream"],EM="f550",RM="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";pl.definition={prefix:CM,iconName:xM,icon:[kM,TM,Aw,EM,RM]};pl.faBarsStaggered=pl.definition;pl.prefix=CM;pl.iconName=xM;pl.width=kM;pl.height=TM;pl.ligatures=Aw;pl.unicode=EM;pl.svgPathData=RM;pl.aliases=Aw});var IM=Ue(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var AM="fas",LM="rotate-left",NM=512,OM=512,Lw=["rotate-back","rotate-backward","undo-alt"],MM="f2ea",PM="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";hl.definition={prefix:AM,iconName:LM,icon:[NM,OM,Lw,MM,PM]};hl.faRotateLeft=hl.definition;hl.prefix=AM;hl.iconName=LM;hl.width=NM;hl.height=OM;hl.ligatures=Lw;hl.unicode=MM;hl.svgPathData=PM;hl.aliases=Lw});var VM=Ue(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var zM="fas",BM="rotate-right",FM=512,jM=512,Nw=["redo-alt","rotate-forward"],HM="f2f9",UM="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";ml.definition={prefix:zM,iconName:BM,icon:[FM,jM,Nw,HM,UM]};ml.faRotateRight=ml.definition;ml.prefix=zM;ml.iconName=BM;ml.width=FM;ml.height=jM;ml.ligatures=Nw;ml.unicode=HM;ml.svgPathData=UM;ml.aliases=Nw});var zw=Ue(()=>{"use strict"});var Bw=Ue(()=>{"use strict"});var JM=K(tT()),Is=K(JT()),kf=K(fr()),op=K(ar());var Fr={};Rd(Fr,{$$fromRoot:()=>vt,Accordion:()=>nw,Anchor:()=>df,Box:()=>X,Button:()=>lt,Card:()=>Wd,ColorObjects:()=>Gh,Column:()=>er,Config:()=>ht,Cropper:()=>Cm,DarkmodeColors:()=>QM,Effect:()=>vc,ExtractStyles:()=>Ml,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>xO,GenerateHTMLProps:()=>To,Grid:()=>qd,Img:()=>Dl,Input:()=>ga,Label:()=>__,LaunchReactApp:()=>U_,LeftIcon:()=>Gd,LeftIndicator:()=>x_,LinkifyText:()=>BO,List:()=>FO,ListItem:()=>Kd,Literal:()=>or,Loader:()=>Ao,Logo:()=>As,OmitSign:()=>C_,P:()=>CO,PageNotFound:()=>KM,PageViewController:()=>OO,Placeholder:()=>wO,Plate:()=>b_,ReadStyleSet:()=>sm,RequiredShortSign:()=>w_,RequiredSign:()=>S_,RightIcon:()=>ja,RightIndicator:()=>k_,RootViewController:()=>Ls,Row:()=>_t,SetThemeColorTag:()=>$h,Sheet:()=>sr,Snackbar:()=>is,Span:()=>Cn,SwipeView:()=>MO,TabBar:()=>$7,Table:()=>j_,ThemeColors:()=>Pw,Tips:()=>_c,Tooltips:()=>Oa,amotify:()=>H$,default:()=>H$,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>H_});var YW=Object.defineProperty,$W=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,Yg=Object.getOwnPropertySymbols,i5=Object.prototype.hasOwnProperty,l5=Object.prototype.propertyIsEnumerable,s5=Math.pow,o5=(r,a,o)=>a in r?YW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,v=(r,a)=>{for(var o in a||(a={}))i5.call(a,o)&&o5(r,o,a[o]);if(Yg)for(var o of Yg(a))l5.call(a,o)&&o5(r,o,a[o]);return r},T=(r,a)=>$W(r,GW(a)),$e=(r,a)=>{var o={};for(var l in r)i5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Yg)for(var l of Yg(r))a.indexOf(l)<0&&l5.call(r,l)&&(o[l]=r[l]);return o},La=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Iw={};Rd(Iw,{$$fromRoot:()=>vt,ColorObjects:()=>Gh,Config:()=>ht,DarkmodeColors:()=>QM,ExtractStyles:()=>Ml,GenerateHTMLProps:()=>To,LaunchReactApp:()=>U_,ReadStyleSet:()=>sm,SetThemeColorTag:()=>$h,ThemeColors:()=>Pw,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>H_});var qo=K(ar());var ko={sessionUID:(0,qo.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}},ht={get:()=>ko,set:r=>{ko=v(v({},ko),r)},update:{themeColor:r=>{if(Gh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(v({},ht.get()),{themeColor:r}));let a=(0,qo.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{$h()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(v({},ht.get()),{darkMode:a}));let o=(0,qo.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(v({},ht.get()),{roundness:r})),ht.restart((0,qo.UUID)()))},screen:r=>{ht.get().screen=v(v({},ht.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?"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";ko.appRoot=r.appRoot||document.body,ko.appRoot instanceof HTMLElement&&(ko.appRoot.tabIndex=0),qo.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),qo.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),qo.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),ko.deviceIs=o,ko.browserIs=l,ko.isPhone=["Android","iPhone"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,qo.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,qo.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,qo.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,qo.default)(document.body),f=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),$h()},restart:r=>{El.release("LaunchReactApp_"+ht.get().sessionUID,r)}};var Yo=K(ar()),Md=K(fr()),El={catch:r=>{let[a]=(0,Md.useState)((0,Yo.UUID)()),[o,l]=(0,Md.useState)((0,Yo.UUID)()),[s,f]=(0,Md.useState)(null),u="RefreshKey_"+a;return(0,Md.useEffect)(()=>{var h;Yo.useStore.set({[u]:m=>{l((0,Yo.UUID)()),f(m||null)}});let p=((h=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Yo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Yo.useStore.delete(u);let _=((m=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=_.indexOf(a);b!==-1&&(_.splice(b,1),Yo.useStore.update({["RefreshKeys_"+r]:{keys:_}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Yo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var yu=K(fr());var Mw={};Rd(Mw,{Anchor:()=>df,Button:()=>lt,Cropper:()=>Cm,Effect:()=>vc,Input:()=>ga,Label:()=>__,LeftIcon:()=>Gd,LeftIndicator:()=>x_,Loader:()=>Ao,OmitSign:()=>C_,PageNotFound:()=>KM,PageViewController:()=>OO,Plate:()=>b_,RequiredShortSign:()=>w_,RequiredSign:()=>S_,RightIcon:()=>ja,RightIndicator:()=>k_,RootViewController:()=>Ls,Sheet:()=>sr,Snackbar:()=>is,SwipeView:()=>MO,TabBar:()=>$7,Table:()=>j_,Tips:()=>_c,Tooltips:()=>Oa});var Al=K(At()),du=K(fr()),Ga=K(ar());var JS={};Rd(JS,{Box:()=>X,Card:()=>Wd,Column:()=>er,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>xO,Grid:()=>qd,Img:()=>Dl,Logo:()=>As,P:()=>CO,Placeholder:()=>wO,Span:()=>Cn});var ff=K(At());var f5=K(At());var X=r=>{let{ref:a}=r,o=To(r),{htmlTag:l}=o,s=$e(o,["htmlTag"]),f=l||"div";return f?(0,f5.jsx)(f,T(v({},s),{ref:a})):null};var It=K(At());var wN=K(OE()),CN=K(HE()),xN=K(GE()),kN=K(tR()),TN=K(sR()),EN=K(mR()),RN=K(wR()),DN=K(DR()),AN=K(IR()),LN=K(VR()),NN=K(XR()),ON=K(a6()),MN=K(u6()),PN=K(g6()),IN=K(x6()),zN=K(cS()),BN=K(fS()),FN=K(pS()),jN=K(K6()),HN=K(aD()),UN=K(uD()),VN=K(gD()),WN=K(xD()),qN=K(ND()),YN=K(jD()),$N=K($D()),GN=K(tA()),KN=K(sA()),XN=K(mA()),QN=K(wA()),JN=K(DA()),ZN=K(IA()),eO=K(VA()),tO=K(QA()),rO=K(n8()),aO=K(f8()),nO=K(_8()),oO=K(T8()),iO=K(M8()),lO=K(H8()),sO=K(G8()),cO=K(tL()),uO=K(sL()),fO=K(mL()),dO=K(wL()),pO=K(AL()),hO=K(BL()),mO=K(YL()),vO=K(ZL()),gO=K(iN()),_O=K(hN()),bO=K(SN()),Bt=r=>{let a=r,{icon:o}=a,l=$e(a,["icon"]),s=To(l);return(0,It.jsx)(wN.FontAwesomeIcon,T(v({icon:o,size:"1x"},s),{style:v({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Bt;Ne.User=r=>(0,It.jsx)(Bt,T(v({},r),{icon:dO.faUser})),Ne.Times=r=>(0,It.jsx)(Bt,T(v({},r),{icon:CN.faTimes})),Ne.AngleRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:xN.faAngleRight})),Ne.AngleLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:kN.faAngleLeft})),Ne.AngleUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:TN.faAngleUp})),Ne.AngleDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:EN.faAngleDown})),Ne.ChevronLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:RN.faChevronLeft})),Ne.ChevronRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:DN.faChevronRight})),Ne.ChevronUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:AN.faChevronUp})),Ne.ChevronDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:LN.faChevronDown})),Ne.CaretLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:NN.faCaretLeft})),Ne.CaretRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ON.faCaretRight})),Ne.CaretUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:MN.faCaretUp})),Ne.CaretDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:PN.faCaretDown})),Ne.ArrowLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:IN.faArrowLeft})),Ne.ArrowRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:zN.faArrowRight})),Ne.ArrowUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:BN.faArrowUp})),Ne.ArrowDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:FN.faArrowDown})),Ne.Rotate=r=>(0,It.jsx)(Bt,T(v({},r),{icon:jN.faRotate})),Ne.Redo=r=>(0,It.jsx)(Bt,T(v({},r),{icon:HN.faRedo})),Ne.Check=r=>(0,It.jsx)(Bt,T(v({},r),{icon:UN.faCheck})),Ne.CheckCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:pO.faCheckCircle})),Ne.Question=r=>(0,It.jsx)(Bt,T(v({},r),{icon:VN.faQuestion})),Ne.QuestionCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:hO.faQuestionCircle})),Ne.Exclamation=r=>(0,It.jsx)(Bt,T(v({},r),{icon:WN.faExclamation})),Ne.ExclamationTriangle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:qN.faExclamationTriangle})),Ne.Home=r=>(0,It.jsx)(Bt,T(v({},r),{icon:YN.faHome})),Ne.Share=r=>(0,It.jsx)(Bt,T(v({},r),{icon:$N.faShare})),Ne.Search=r=>(0,It.jsx)(Bt,T(v({},r),{icon:GN.faSearch})),Ne.YenSign=r=>(0,It.jsx)(Bt,T(v({},r),{icon:KN.faYenSign})),Ne.Heart=r=>(0,It.jsx)(Bt,T(v({},r),{icon:cO.faHeart})),Ne.Star=r=>(0,It.jsx)(Bt,T(v({},r),{icon:lO.faStar})),Ne.Edit=r=>(0,It.jsx)(Bt,T(v({},r),{icon:mO.faEdit})),Ne.Pen=r=>(0,It.jsx)(Bt,T(v({},r),{icon:XN.faPen})),Ne.Copy=r=>(0,It.jsx)(Bt,T(v({},r),{icon:vO.faCopy})),Ne.File=r=>(0,It.jsx)(Bt,T(v({},r),{icon:gO.faFile})),Ne.TrashAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:_O.faTrashAlt})),Ne.Bars=r=>(0,It.jsx)(Bt,T(v({},r),{icon:QN.faBars})),Ne.Download=r=>(0,It.jsx)(Bt,T(v({},r),{icon:JN.faDownload})),Ne.Link=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ZN.faLink})),Ne.LinkSlash=r=>(0,It.jsx)(Bt,T(v({},r),{icon:eO.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:tO.faExternalLinkAlt})),Ne.Gear=r=>(0,It.jsx)(Bt,T(v({},r),{icon:rO.faGear})),Ne.Plus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:aO.faPlus})),Ne.Minus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:nO.faMinus})),Ne.EllipsisH=r=>(0,It.jsx)(Bt,T(v({},r),{icon:oO.faEllipsisH})),Ne.EllipsisV=r=>(0,It.jsx)(Bt,T(v({},r),{icon:iO.faEllipsisV})),Ne.PaperPlane=r=>(0,It.jsx)(Bt,T(v({},r),{icon:sO.faPaperPlane})),Ne.Image=r=>(0,It.jsx)(Bt,T(v({},r),{icon:bO.faImage})),Ne.Ban=r=>(0,It.jsx)(Bt,T(v({},r),{icon:uO.faBan})),Ne.Location=r=>(0,It.jsx)(Bt,T(v({},r),{icon:fO.faLocationCrosshairs}));var yO=K(At());var WY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},qY={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"},YY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},$Y={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},GY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},KY={Wrapper:"_Wrapper_3nb6i_2",Wrap:"_Wrap_3nb6i_2",Content:"_Content_3nb6i_9",TapSensor:"_TapSensor_3nb6i_28",TapContent:"_TapContent_3nb6i_38",Hide:"_Hide_3nb6i_45",Open:"_Open_3nb6i_48",isMainSheet_true:"_isMainSheet_true_3nb6i_48",isMainSheet_false:"_isMainSheet_false_3nb6i_52",BB:"_BB_3nb6i_52",Tcate_normal:"_Tcate_normal_3nb6i_55",BaseBody:"_BaseBody_3nb6i_59",Tcate_drawer:"_Tcate_drawer_3nb6i_74",Tpos_left:"_Tpos_left_3nb6i_74",Tpos_right:"_Tpos_right_3nb6i_89",Tpos_bottom:"_Tpos_bottom_3nb6i_104",DragBar:"_DragBar_3nb6i_111",Tcate_custom:"_Tcate_custom_3nb6i_119",CustomSheet:"_CustomSheet_3nb6i_127",GPT:"_GPT_3nb6i_130",Col_1:"_Col_1_3nb6i_130",Row_1:"_Row_1_3nb6i_130",Row_4:"_Row_4_3nb6i_130",Col_4:"_Col_4_3nb6i_130",Row_2:"_Row_2_3nb6i_133",Row_5:"_Row_5_3nb6i_133",Col_2:"_Col_2_3nb6i_136",Col_5:"_Col_5_3nb6i_136",GPT_3:"_GPT_3_3nb6i_142",GPT_18:"_GPT_18_3nb6i_142",GPT_8:"_GPT_8_3nb6i_145",GPT_23:"_GPT_23_3nb6i_145",GPT_11:"_GPT_11_3nb6i_148",GPT_14:"_GPT_14_3nb6i_148",GPT_12:"_GPT_12_3nb6i_151",GPT_15:"_GPT_15_3nb6i_151",Col_3:"_Col_3_3nb6i_161"},XY={Wrapper:"_Wrapper_jip2p_1",CornerLoader:"_CornerLoader_jip2p_17",Wrap:"_Wrap_jip2p_1",isActive:"_isActive_jip2p_28",ldAnm:"_ldAnm_jip2p_1",Ld1:"_Ld1_jip2p_34",Ld2:"_Ld2_jip2p_37",Ld3:"_Ld3_jip2p_40",Ld4:"_Ld4_jip2p_43",MiniLoader:"_MiniLoader_jip2p_61",Active_false:"_Active_false_jip2p_64",Hide:"_Hide_jip2p_67",Active:"_Active_jip2p_64",Core:"_Core_jip2p_77",spin:"_spin_jip2p_1",SVG1:"_SVG1_jip2p_85",loader:"_loader_jip2p_1",loading:"_loading_jip2p_1",SVG2:"_SVG2_jip2p_92"},QY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},JY={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"},ZY={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"},e$={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"},t$={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"},r$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var a$={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"},n$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},o$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},i$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},l$={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"},s$={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 c$={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"},GS=r=>WY[r],rl=r=>qY[r],m_=r=>YY[r],KS=r=>$Y[r],im=r=>GY[r],va=r=>KY[r],Ta=r=>XY[r],Na=r=>QY[r],Xt=r=>JY[r],es=r=>ZY[r],cu=r=>e$[r],sf=r=>t$[r],Ud=r=>r$[r];var ts=r=>a$[r],cf=r=>n$[r],Rl=r=>o$[r],uf=r=>i$[r],Ds=r=>l$[r],Ea=r=>s$[r];var v_=r=>c$[r];var Dl=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=$e(a,["src","alt","showExpand"]);return(0,yO.jsx)(X,T(v({htmlTag:"img",src:o,alt:l},f),{className:[GS("Img"),GS("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),s&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),s&&(u.stopPropagation(),sr.open({type:"image",src:s!=!0?s:o}))},freeCSS:v({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var nr=K(At()),XS=K(ar());var SO={ComunIcon:()=>(0,nr.jsx)("svg",{viewBox:"0,0,1200,1200",className:rl("ComunIcon"),children:(0,nr.jsxs)("g",{children:[(0,nr.jsx)("path",{d:`
923
+ }`;y5=!1;Cq={mixout:function(){return{dom:{css:X5,insertCss:m2}}},hooks:function(){return{beforeDOMElementCreation:function(){m2()},beforeI2svg:function(){m2()}}}},fc=iu||{};fc[uc]||(fc[uc]={});fc[uc].styles||(fc[uc].styles={});fc[uc].hooks||(fc[uc].hooks={});fc[uc].shims||(fc[uc].shims=[]);Zl=fc[uc],Q5=[],xq=function r(){Ca.removeEventListener("DOMContentLoaded",r),i_=1,Q5.map(function(a){return a()})},i_=!1;pc&&(i_=(Ca.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ca.readyState),i_||Ca.addEventListener("DOMContentLoaded",xq));Tq=function(a,o){return function(l,s,f,u){return a.call(o,l,s,f,u)}},v2=function(a,o,l,s){var f=Object.keys(a),u=f.length,h=s!==void 0?Tq(o,s):o,p,m,_;for(l===void 0?(p=1,_=a[f[0]]):(p=0,_=l);p<u;p++)m=f[p],_=h(_,a[m],m,a);return _};Pd=Zl.styles,Dq=Zl.shims,Aq=(e_={},pn(e_,wa,Object.values(em[wa])),pn(e_,ja,Object.values(em[ja])),e_),z2=null,J5={},Z5={},eE={},tE={},rE={},Lq=(t_={},pn(t_,wa,Object.keys(Jh[wa])),pn(t_,ja,Object.keys(Jh[ja])),t_);aE=function(){var a=function(f){return v2(Pd,function(u,h,p){return u[p]=v2(h,f,{}),u},{})};J5=a(function(s,f,u){if(f[3]&&(s[f[3]]=u),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=u})}return s}),Z5=a(function(s,f,u){if(s[u]=u,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=u})}return s}),rE=a(function(s,f,u){var h=f[2];return s[u]=u,h.forEach(function(p){s[p]=u}),s});var o="far"in Pd||xt.autoFetchSvg,l=v2(Dq,function(s,f){var u=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof u=="string"&&(s.names[u]={prefix:h,iconName:p}),typeof u=="number"&&(s.unicodes[u.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});eE=l.names,tE=l.unicodes,z2=c_(xt.styleDefault,{family:xt.familyDefault})};vq(function(r){z2=c_(r.styleDefault,{family:xt.familyDefault})});aE();F2=function(){return{prefix:null,iconName:null,rest:[]}};C5=(r_={},pn(r_,wa,Object.keys(em[wa])),pn(r_,ja,Object.keys(em[ja])),r_);Iq=function(){function r(){KW(this,r),this.definitions={}}return XW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var u=s.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=mt(mt({},o.definitions[h]||{}),u[h]),C2(h,u[h]);var p=em[wa][h];p&&C2(p,u[h]),aE()})}},{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(f){var u=s[f],h=u.prefix,p=u.iconName,m=u.icon,_=m[2];o[h]||(o[h]={}),_.length>0&&_.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),x5=[],Id={},zd={},zq=Object.keys(zd);oE=new Iq,Fq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,lf("noAuto")},jq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return pc?(lf("beforeI2svg",a),dc("pseudoElements2svg",a),dc("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;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,kq(function(){Uq({autoReplaceSvgRoot:o}),lf("watch",a)})}},Hq={icon:function(a){if(a===null)return null;if(o_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:nf(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=c_(a[0]);return{prefix:l,iconName:nf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(sq))){var s=u_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lu(),iconName:nf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lu();return{prefix:f,iconName:nf(f,a)||a}}}},Eo={noAuto:Fq,config:xt,dom:jq,parse:Hq,library:oE,findIconDefinition:k2,toHtml:om},Uq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?Ca:o;(Object.keys(Zl.styles).length>0||xt.autoFetchSvg)&&pc&&xt.autoReplaceSvg&&Eo.dom.i2svg({node:l})};g2=Zl.styles;Yq={found:!1,width:512,height:512};T5=function(){},R2=xt.measurePerformance&&Gg&&Gg.mark&&Gg.measure?Gg:{mark:T5,measure:T5},Kh='FA "6.4.2"',Gq=function(a){return R2.mark("".concat(Kh," ").concat(a," begins")),function(){return iE(a)}},iE=function(a){R2.mark("".concat(Kh," ").concat(a," ends")),R2.measure("".concat(Kh," ").concat(a),"".concat(Kh," ").concat(a," begins"),"".concat(Kh," ").concat(a," ends"))},H2={begin:Gq,end:iE},a_=function(){};n_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(lE(s),o)}),o.getAttribute(of)===null&&xt.keepOriginalSource){var l=Ca.createComment(eY(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~P2(o).indexOf(xt.replacementClass))return n_.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var u=l.map(function(h){return om(h)}).join(`
924
+ `);o.setAttribute(of,""),o.innerHTML=u}};U2=!1;l_=null;iY=Zl.styles;su=new Set;M2.map(function(r){su.add("fa-".concat(r))});Object.keys(Jh[wa]).map(su.add.bind(su));Object.keys(Jh[ja]).map(su.add.bind(su));su=am(su);cY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Rs:l,f=o.symbol,u=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,_=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,R=o.classes,N=R===void 0?[]:R,W=o.attributes,O=W===void 0?{}:W,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,M=a.iconName,te=a.icon;return f_(mt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||rm()):(O["aria-hidden"]="true",O.focusable="false")),j2({icons:{main:T2(te),mask:p?T2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:M,transform:mt(mt({},Rs),s),symbol:u,title:S,maskId:_,titleId:k,extra:{attributes:O,styles:F,classes:N}})})}},uY={mixout:function(){return{icon:sY(cY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=L5,o.nodeCallback=lY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?Ca:l,f=o.callback,u=f===void 0?function(){}:f;return L5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,u=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,_=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([E2(s,h),_.iconName?E2(_.iconName,_.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(R){var N=A2(R,2),W=N[0],O=N[1];w([o,j2({icons:{main:W,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.transform,h=o.styles,p=s_(h);p.length>0&&(s.style=p);var m;return I2(u)&&(m=dc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},fY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return f_({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:l});var u=[];return o(function(h){Array.isArray(h)?h.map(function(p){u=u.concat(p.abstract)}):u=u.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(am(f)).join(" ")},children:u}]})}}}},dY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,m=p===void 0?{}:p,_=l.styles,b=_===void 0?{}:_;return f_({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),qq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(am(h))}})})}}}},pY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Rs:s,u=l.title,h=u===void 0?null:u,p=l.classes,m=p===void 0?[]:p,_=l.attributes,b=_===void 0?{}:_,S=l.styles,w=S===void 0?{}:S;return f_({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),k5({content:o,transform:mt(mt({},Rs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(am(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,u=l.extra,h=null,p=null;if(U5){var m=parseInt(getComputedStyle(o).fontSize,10),_=o.getBoundingClientRect();h=_.width/m,p=_.height/m}return xt.autoA11y&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,k5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},hY=new RegExp('"',"ug"),N5=[1105920,1112319];_Y={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=M5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?Ca:l;xt.searchPseudoElements&&M5(s)}}},P5=!1,bY={mixout:function(){return{dom:{unwatch:function(){cE(),P5=!0}}}},hooks:function(){return{bootstrap:function(){D5(x2("mutationObserverCallbacks",{}))},noAuto:function(){tY()},watch:function(o){var l=o.observeMutationsRoot;P5?D2():D5(x2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},I5=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 f=s.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return l.flipX=!0,l;if(u&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(u){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)},yY={mixout:function(){return{parse:{transform:function(o){return I5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=I5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),_="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(_)},S={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),w.path)}]}]}}}},_2={x:0,y:0,width:"100%",height:"100%"};wY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?u_(s.split(" ").map(function(u){return u.trim()})):F2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,_=f.icon,b=u.width,S=u.icon,w=yq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},_2),{},{fill:"white"})},R=_.children?{children:_.children.map(z5)}:{},N={tag:"g",attributes:mt({},w.inner),children:[z5(mt({tag:_.tag,attributes:mt(mt({},_.attributes),w.path)},R))]},W={tag:"g",attributes:mt({},w.outer),children:[N]},O="mask-".concat(h||rm()),j="clip-".concat(h||rm()),F={tag:"mask",attributes:mt(mt({},_2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,W]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:SY(S)},F]};return l.push(Q,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},_2)}),{children:l,attributes:s}}}},CY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:mt(mt({},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 u=mt(mt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},xY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},kY=[Cq,uY,fY,dY,pY,_Y,bY,yY,wY,CY,xY];Bq(kY,{mixoutsTo:Eo});TY=Eo.noAuto,EY=Eo.config,RY=Eo.library,DY=Eo.dom,AY=Eo.parse,LY=Eo.findIconDefinition,NY=Eo.toHtml,OY=Eo.icon,MY=Eo.layer,PY=Eo.text,IY=Eo.counter});var pE=Ue(ra=>{"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,f=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,R=r?Symbol.for("react.block"):60121,N=r?Symbol.for("react.fundamental"):60117,W=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Ce){return typeof Ce=="string"||typeof Ce=="function"||Ce===l||Ce===m||Ce===f||Ce===s||Ce===b||Ce===S||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===k||Ce.$$typeof===w||Ce.$$typeof===u||Ce.$$typeof===h||Ce.$$typeof===_||Ce.$$typeof===N||Ce.$$typeof===W||Ce.$$typeof===O||Ce.$$typeof===R)}function F(Ce){if(typeof Ce=="object"&&Ce!==null){var st=Ce.$$typeof;switch(st){case a:var wt=Ce.type;switch(wt){case p:case m:case l:case f:case s:case b:return wt;default:var kt=wt&&wt.$$typeof;switch(kt){case h:case _:case k:case w:case u:return kt;default:return st}}case o:return st}}}var Q=p,M=m,te=h,_e=u,ee=a,de=_,pe=l,ve=k,H=w,le=o,fe=f,B=s,q=b,ie=!1;function re(Ce){return ie||(ie=!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.")),he(Ce)||F(Ce)===p}function he(Ce){return F(Ce)===m}function we(Ce){return F(Ce)===h}function ge(Ce){return F(Ce)===u}function je(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===a}function We(Ce){return F(Ce)===_}function Ke(Ce){return F(Ce)===l}function tt(Ce){return F(Ce)===k}function dt(Ce){return F(Ce)===w}function lt(Ce){return F(Ce)===o}function $t(Ce){return F(Ce)===f}function Pt(Ce){return F(Ce)===s}function Ge(Ce){return F(Ce)===b}ra.AsyncMode=Q,ra.ConcurrentMode=M,ra.ContextConsumer=te,ra.ContextProvider=_e,ra.Element=ee,ra.ForwardRef=de,ra.Fragment=pe,ra.Lazy=ve,ra.Memo=H,ra.Portal=le,ra.Profiler=fe,ra.StrictMode=B,ra.Suspense=q,ra.isAsyncMode=re,ra.isConcurrentMode=he,ra.isContextConsumer=we,ra.isContextProvider=ge,ra.isElement=je,ra.isForwardRef=We,ra.isFragment=Ke,ra.isLazy=tt,ra.isMemo=dt,ra.isPortal=lt,ra.isProfiler=$t,ra.isStrictMode=Pt,ra.isSuspense=Ge,ra.isValidElementType=j,ra.typeOf=F})()});var V2=Ue((bG,hE)=>{"use strict";hE.exports=pE()});var gE=Ue((yG,vE)=>{"use strict";var mE=Object.getOwnPropertySymbols,zY=Object.prototype.hasOwnProperty,BY=Object.prototype.propertyIsEnumerable;function FY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function jY(){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(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}vE.exports=jY()?Object.assign:function(r,a){for(var o,l=FY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)zY.call(o,u)&&(l[u]=o[u]);if(mE){s=mE(o);for(var h=0;h<s.length;h++)BY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var W2=Ue((SG,_E)=>{"use strict";var HY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";_E.exports=HY});var q2=Ue((wG,bE)=>{bE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var xE=Ue((CG,CE)=>{"use strict";var Y2=function(){};yE=W2(),d_={},SE=q2(),Y2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var yE,d_,SE;function wE(r,a,o,l,s){for(var f in r)if(SE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[f](a,f,l,o,null,yE)}catch(m){u=m}if(u&&!(u instanceof Error)&&Y2((l||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in d_)){d_[u.message]=!0;var p=s?s():"";Y2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}wE.resetWarningCache=function(){d_={}};CE.exports=wE});var EE=Ue((xG,TE)=>{"use strict";var UY=V2(),VY=gE(),jd=W2(),$2=q2(),kE=xE(),Hd=function(){};Hd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function p_(){return null}TE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);if(typeof le=="function")return le}var f="<<anonymous>>",u={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:R,node:j(),objectOf:W,oneOf:N,oneOfType:O,shape:Q,exact:M};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},fe=0;function B(ie,re,he,we,ge,je,We){if(we=we||f,je=je||he,We!==jd){if(a){var Ke=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ke.name="Invariant Violation",Ke}else if(typeof console!="undefined"){var tt=we+":"+he;!le[tt]&&fe<3&&(Hd("You are manually calling a React.PropTypes validation function for the `"+je+"` prop on `"+we+"`. 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."),le[tt]=!0,fe++)}}return re[he]==null?ie?re[he]===null?new p("The "+ge+" `"+je+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new p("The "+ge+" `"+je+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:H(re,he,we,ge,je)}var q=B.bind(null,!1);return q.isRequired=B.bind(null,!0),q}function _(H){function le(fe,B,q,ie,re,he){var we=fe[B],ge=ee(we);if(ge!==H){var je=de(we);return new p("Invalid "+ie+" `"+re+"` of type "+("`"+je+"` supplied to `"+q+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(p_)}function S(H){function le(fe,B,q,ie,re){if(typeof H!="function")return new p("Property `"+re+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var he=fe[B];if(!Array.isArray(he)){var we=ee(he);return new p("Invalid "+ie+" `"+re+"` of type "+("`"+we+"` supplied to `"+q+"`, expected an array."))}for(var ge=0;ge<he.length;ge++){var je=H(he,ge,q,ie,re+"["+ge+"]",jd);if(je instanceof Error)return je}return null}return m(le)}function w(){function H(le,fe,B,q,ie){var re=le[fe];if(!r(re)){var he=ee(re);return new p("Invalid "+q+" `"+ie+"` of type "+("`"+he+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,q,ie){var re=le[fe];if(!UY.isValidElementType(re)){var he=ee(re);return new p("Invalid "+q+" `"+ie+"` of type "+("`"+he+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function R(H){function le(fe,B,q,ie,re){if(!(fe[B]instanceof H)){var he=H.name||f,we=ve(fe[B]);return new p("Invalid "+ie+" `"+re+"` of type "+("`"+we+"` supplied to `"+q+"`, expected ")+("instance of `"+he+"`."))}return null}return m(le)}function N(H){if(!Array.isArray(H))return arguments.length>1?Hd("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])."):Hd("Invalid argument supplied to oneOf, expected an array."),p_;function le(fe,B,q,ie,re){for(var he=fe[B],we=0;we<H.length;we++)if(h(he,H[we]))return null;var ge=JSON.stringify(H,function(We,Ke){var tt=de(Ke);return tt==="symbol"?String(Ke):Ke});return new p("Invalid "+ie+" `"+re+"` of value `"+String(he)+"` "+("supplied to `"+q+"`, expected one of "+ge+"."))}return m(le)}function W(H){function le(fe,B,q,ie,re){if(typeof H!="function")return new p("Property `"+re+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var he=fe[B],we=ee(he);if(we!=="object")return new p("Invalid "+ie+" `"+re+"` of type "+("`"+we+"` supplied to `"+q+"`, expected an object."));for(var ge in he)if($2(he,ge)){var je=H(he,ge,q,ie,re+"."+ge,jd);if(je instanceof Error)return je}return null}return m(le)}function O(H){if(!Array.isArray(H))return Hd("Invalid argument supplied to oneOfType, expected an instance of array."),p_;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return Hd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+pe(fe)+" at index "+le+"."),p_}function B(q,ie,re,he,we){for(var ge=[],je=0;je<H.length;je++){var We=H[je],Ke=We(q,ie,re,he,we,jd);if(Ke==null)return null;Ke.data&&$2(Ke.data,"expectedType")&&ge.push(Ke.data.expectedType)}var tt=ge.length>0?", expected one of type ["+ge.join(", ")+"]":"";return new p("Invalid "+he+" `"+we+"` supplied to "+("`"+re+"`"+tt+"."))}return m(B)}function j(){function H(le,fe,B,q,ie){return te(le[fe])?null:new p("Invalid "+q+" `"+ie+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,q){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function Q(H){function le(fe,B,q,ie,re){var he=fe[B],we=ee(he);if(we!=="object")return new p("Invalid "+ie+" `"+re+"` of type `"+we+"` "+("supplied to `"+q+"`, expected `object`."));for(var ge in H){var je=H[ge];if(typeof je!="function")return F(q,ie,re,ge,de(je));var We=je(he,ge,q,ie,re+"."+ge,jd);if(We)return We}return null}return m(le)}function M(H){function le(fe,B,q,ie,re){var he=fe[B],we=ee(he);if(we!=="object")return new p("Invalid "+ie+" `"+re+"` of type `"+we+"` "+("supplied to `"+q+"`, expected `object`."));var ge=VY({},fe[B],H);for(var je in ge){var We=H[je];if($2(H,je)&&typeof We!="function")return F(q,ie,re,je,de(We));if(!We)return new p("Invalid "+ie+" `"+re+"` key `"+je+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
925
+ Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Ke=We(he,je,q,ie,re+"."+je,jd);if(Ke)return Ke}return null}return m(le)}function te(H){switch(typeof H){case"number":case"string":case"undefined":return!0;case"boolean":return!H;case"object":if(Array.isArray(H))return H.every(te);if(H===null||r(H))return!0;var le=s(H);if(le){var fe=le.call(H),B;if(le!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var q=B.value;if(q&&!te(q[1]))return!1}}else return!1;return!0;default:return!1}}function _e(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function ee(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":_e(le,H)?"symbol":le}function de(H){if(typeof H=="undefined"||H===null)return""+H;var le=ee(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function pe(H){var le=de(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function ve(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return u.checkPropTypes=kE,u.resetWarningCache=kE.resetWarningCache,u.PropTypes=u,u}});var LE=Ue((kG,AE)=>{RE=V2(),DE=!0,AE.exports=EE()(RE.isElement,DE);var RE,DE});var OE=Ue((h_,NE)=>{(function(r,a){typeof h_=="object"&&typeof NE!="undefined"?a(h_,(dE(),EV(fE)),LE(),dr()):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))})(h_,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),u=s(l);function h(B,q){var ie=Object.keys(B);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(B);q&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(B,he).enumerable})),ie.push.apply(ie,re)}return ie}function p(B){for(var q=1;q<arguments.length;q++){var ie=arguments[q]!=null?arguments[q]:{};q%2?h(Object(ie),!0).forEach(function(re){_(B,re,ie[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ie)):h(Object(ie)).forEach(function(re){Object.defineProperty(B,re,Object.getOwnPropertyDescriptor(ie,re))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},m(B)}function _(B,q,ie){return q in B?Object.defineProperty(B,q,{value:ie,enumerable:!0,configurable:!0,writable:!0}):B[q]=ie,B}function b(B,q){if(B==null)return{};var ie={},re=Object.keys(B),he,we;for(we=0;we<re.length;we++)he=re[we],!(q.indexOf(he)>=0)&&(ie[he]=B[he]);return ie}function S(B,q){if(B==null)return{};var ie=b(B,q),re,he;if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(B);for(he=0;he<we.length;he++)re=we[he],!(q.indexOf(re)>=0)&&Object.prototype.propertyIsEnumerable.call(B,re)&&(ie[re]=B[re])}return ie}function w(B){return k(B)||R(B)||N(B)||O()}function k(B){if(Array.isArray(B))return W(B)}function R(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function N(B,q){if(B){if(typeof B=="string")return W(B,q);var ie=Object.prototype.toString.call(B).slice(8,-1);if(ie==="Object"&&B.constructor&&(ie=B.constructor.name),ie==="Map"||ie==="Set")return Array.from(B);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return W(B,q)}}function W(B,q){(q==null||q>B.length)&&(q=B.length);for(var ie=0,re=new Array(q);ie<q;ie++)re[ie]=B[ie];return re}function O(){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 j(B){var q,ie=B.beat,re=B.fade,he=B.beatFade,we=B.bounce,ge=B.shake,je=B.flash,We=B.spin,Ke=B.spinPulse,tt=B.spinReverse,dt=B.pulse,lt=B.fixedWidth,$t=B.inverse,Pt=B.border,Ge=B.listItem,Ce=B.flip,st=B.size,wt=B.rotation,kt=B.pull,Nt=(q={"fa-beat":ie,"fa-fade":re,"fa-beat-fade":he,"fa-bounce":we,"fa-shake":ge,"fa-flash":je,"fa-spin":We,"fa-spin-reverse":tt,"fa-spin-pulse":Ke,"fa-pulse":dt,"fa-fw":lt,"fa-inverse":$t,"fa-border":Pt,"fa-li":Ge,"fa-flip":Ce===!0,"fa-flip-horizontal":Ce==="horizontal"||Ce==="both","fa-flip-vertical":Ce==="vertical"||Ce==="both"},_(q,"fa-".concat(st),typeof st!="undefined"&&st!==null),_(q,"fa-rotate-".concat(wt),typeof wt!="undefined"&&wt!==null&&wt!==0),_(q,"fa-pull-".concat(kt),typeof kt!="undefined"&&kt!==null),_(q,"fa-swap-opacity",B.swapOpacity),q);return Object.keys(Nt).map(function(At){return Nt[At]?At:null}).filter(function(At){return At})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(q,ie){return ie?ie.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var M=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(q){return q.trim()}).filter(function(q){return q}).reduce(function(q,ie){var re=ie.indexOf(":"),he=Q(ie.slice(0,re)),we=ie.slice(re+1).trim();return he.startsWith("webkit")?q[te(he)]=we:q[he]=we,q},{})}function ee(B,q){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof q=="string")return q;var re=(q.children||[]).map(function(We){return ee(B,We)}),he=Object.keys(q.attributes||{}).reduce(function(We,Ke){var tt=q.attributes[Ke];switch(Ke){case"class":We.attrs.className=tt,delete q.attributes.class;break;case"style":We.attrs.style=_e(tt);break;default:Ke.indexOf("aria-")===0||Ke.indexOf("data-")===0?We.attrs[Ke.toLowerCase()]=tt:We.attrs[Q(Ke)]=tt}return We},{attrs:{}}),we=ie.style,ge=we===void 0?{}:we,je=S(ie,M);return he.attrs.style=p(p({},he.attrs.style),ge),B.apply(void 0,[q.tag,p(p({},he.attrs),je)].concat(w(re)))}var de=!1;try{de=!1}catch(B){}function pe(){if(!de&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ve(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,q){return Array.isArray(q)&&q.length>0||!Array.isArray(q)&&q?_({},B,q):{}}var le=u.default.forwardRef(function(B,q){var ie=B.icon,re=B.mask,he=B.symbol,we=B.className,ge=B.title,je=B.titleId,We=B.maskId,Ke=ve(ie),tt=H("classes",[].concat(w(j(B)),w(we.split(" ")))),dt=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ve(re)),$t=a.icon(Ke,p(p(p(p({},tt),dt),lt),{},{symbol:he,title:ge,titleId:je,maskId:We}));if(!$t)return pe("Could not find icon",Ke),null;var Pt=$t.abstract,Ge={ref:q};return Object.keys(B).forEach(function(Ce){le.defaultProps.hasOwnProperty(Ce)||(Ge[Ce]=B[Ce])}),fe(Pt[0],Ge)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.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 fe=ee.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var jE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var ME="fas",PE="xmark",IE=384,zE=512,G2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],BE="f00d",FE="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";$o.definition={prefix:ME,iconName:PE,icon:[IE,zE,G2,BE,FE]};$o.faXmark=$o.definition;$o.prefix=ME;$o.iconName=PE;$o.width=IE;$o.height=zE;$o.ligatures=G2;$o.unicode=BE;$o.svgPathData=FE;$o.aliases=G2});var HE=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var to=jE();Go.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};Go.faTimes=Go.definition;Go.prefix=to.prefix;Go.iconName=to.iconName;Go.width=to.width;Go.height=to.height;Go.ligatures=to.aliases;Go.unicode=to.unicode;Go.svgPathData=to.svgPathData;Go.aliases=to.aliases});var GE=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var UE="fas",VE="angle-right",WE=320,qE=512,K2=[8250],YE="f105",$E="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";Ko.definition={prefix:UE,iconName:VE,icon:[WE,qE,K2,YE,$E]};Ko.faAngleRight=Ko.definition;Ko.prefix=UE;Ko.iconName=VE;Ko.width=WE;Ko.height=qE;Ko.ligatures=K2;Ko.unicode=YE;Ko.svgPathData=$E;Ko.aliases=K2});var tR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var KE="fas",XE="angle-left",QE=320,JE=512,X2=[8249],ZE="f104",eR="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";Xo.definition={prefix:KE,iconName:XE,icon:[QE,JE,X2,ZE,eR]};Xo.faAngleLeft=Xo.definition;Xo.prefix=KE;Xo.iconName=XE;Xo.width=QE;Xo.height=JE;Xo.ligatures=X2;Xo.unicode=ZE;Xo.svgPathData=eR;Xo.aliases=X2});var sR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var rR="fas",aR="angle-up",nR=448,oR=512,Q2=[8963],iR="f106",lR="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";Qo.definition={prefix:rR,iconName:aR,icon:[nR,oR,Q2,iR,lR]};Qo.faAngleUp=Qo.definition;Qo.prefix=rR;Qo.iconName=aR;Qo.width=nR;Qo.height=oR;Qo.ligatures=Q2;Qo.unicode=iR;Qo.svgPathData=lR;Qo.aliases=Q2});var mR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var cR="fas",uR="angle-down",fR=448,dR=512,J2=[8964],pR="f107",hR="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";Jo.definition={prefix:cR,iconName:uR,icon:[fR,dR,J2,pR,hR]};Jo.faAngleDown=Jo.definition;Jo.prefix=cR;Jo.iconName=uR;Jo.width=fR;Jo.height=dR;Jo.ligatures=J2;Jo.unicode=pR;Jo.svgPathData=hR;Jo.aliases=J2});var wR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var vR="fas",gR="chevron-left",_R=320,bR=512,Z2=[9001],yR="f053",SR="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";Zo.definition={prefix:vR,iconName:gR,icon:[_R,bR,Z2,yR,SR]};Zo.faChevronLeft=Zo.definition;Zo.prefix=vR;Zo.iconName=gR;Zo.width=_R;Zo.height=bR;Zo.ligatures=Z2;Zo.unicode=yR;Zo.svgPathData=SR;Zo.aliases=Z2});var DR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var CR="fas",xR="chevron-right",kR=320,TR=512,eS=[9002],ER="f054",RR="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";ei.definition={prefix:CR,iconName:xR,icon:[kR,TR,eS,ER,RR]};ei.faChevronRight=ei.definition;ei.prefix=CR;ei.iconName=xR;ei.width=kR;ei.height=TR;ei.ligatures=eS;ei.unicode=ER;ei.svgPathData=RR;ei.aliases=eS});var IR=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var AR="fas",LR="chevron-up",NR=512,OR=512,tS=[],MR="f077",PR="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";ti.definition={prefix:AR,iconName:LR,icon:[NR,OR,tS,MR,PR]};ti.faChevronUp=ti.definition;ti.prefix=AR;ti.iconName=LR;ti.width=NR;ti.height=OR;ti.ligatures=tS;ti.unicode=MR;ti.svgPathData=PR;ti.aliases=tS});var VR=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var zR="fas",BR="chevron-down",FR=512,jR=512,rS=[],HR="f078",UR="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";ri.definition={prefix:zR,iconName:BR,icon:[FR,jR,rS,HR,UR]};ri.faChevronDown=ri.definition;ri.prefix=zR;ri.iconName=BR;ri.width=FR;ri.height=jR;ri.ligatures=rS;ri.unicode=HR;ri.svgPathData=UR;ri.aliases=rS});var XR=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var WR="fas",qR="caret-left",YR=256,$R=512,aS=[],GR="f0d9",KR="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";ai.definition={prefix:WR,iconName:qR,icon:[YR,$R,aS,GR,KR]};ai.faCaretLeft=ai.definition;ai.prefix=WR;ai.iconName=qR;ai.width=YR;ai.height=$R;ai.ligatures=aS;ai.unicode=GR;ai.svgPathData=KR;ai.aliases=aS});var a6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var QR="fas",JR="caret-right",ZR=256,e6=512,nS=[],t6="f0da",r6="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";ni.definition={prefix:QR,iconName:JR,icon:[ZR,e6,nS,t6,r6]};ni.faCaretRight=ni.definition;ni.prefix=QR;ni.iconName=JR;ni.width=ZR;ni.height=e6;ni.ligatures=nS;ni.unicode=t6;ni.svgPathData=r6;ni.aliases=nS});var u6=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var n6="fas",o6="caret-up",i6=320,l6=512,oS=[],s6="f0d8",c6="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";oi.definition={prefix:n6,iconName:o6,icon:[i6,l6,oS,s6,c6]};oi.faCaretUp=oi.definition;oi.prefix=n6;oi.iconName=o6;oi.width=i6;oi.height=l6;oi.ligatures=oS;oi.unicode=s6;oi.svgPathData=c6;oi.aliases=oS});var g6=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var f6="fas",d6="caret-down",p6=320,h6=512,iS=[],m6="f0d7",v6="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";ii.definition={prefix:f6,iconName:d6,icon:[p6,h6,iS,m6,v6]};ii.faCaretDown=ii.definition;ii.prefix=f6;ii.iconName=d6;ii.width=p6;ii.height=h6;ii.ligatures=iS;ii.unicode=m6;ii.svgPathData=v6;ii.aliases=iS});var x6=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var _6="fas",b6="arrow-left",y6=448,S6=512,lS=[8592],w6="f060",C6="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";li.definition={prefix:_6,iconName:b6,icon:[y6,S6,lS,w6,C6]};li.faArrowLeft=li.definition;li.prefix=_6;li.iconName=b6;li.width=y6;li.height=S6;li.ligatures=lS;li.unicode=w6;li.svgPathData=C6;li.aliases=lS});var cS=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var k6="fas",T6="arrow-right",E6=448,R6=512,sS=[8594],D6="f061",A6="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";si.definition={prefix:k6,iconName:T6,icon:[E6,R6,sS,D6,A6]};si.faArrowRight=si.definition;si.prefix=k6;si.iconName=T6;si.width=E6;si.height=R6;si.ligatures=sS;si.unicode=D6;si.svgPathData=A6;si.aliases=sS});var fS=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var L6="fas",N6="arrow-up",O6=384,M6=512,uS=[8593],P6="f062",I6="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";ci.definition={prefix:L6,iconName:N6,icon:[O6,M6,uS,P6,I6]};ci.faArrowUp=ci.definition;ci.prefix=L6;ci.iconName=N6;ci.width=O6;ci.height=M6;ci.ligatures=uS;ci.unicode=P6;ci.svgPathData=I6;ci.aliases=uS});var pS=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var z6="fas",B6="arrow-down",F6=384,j6=512,dS=[8595],H6="f063",U6="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";ui.definition={prefix:z6,iconName:B6,icon:[F6,j6,dS,H6,U6]};ui.faArrowDown=ui.definition;ui.prefix=z6;ui.iconName=B6;ui.width=F6;ui.height=j6;ui.ligatures=dS;ui.unicode=H6;ui.svgPathData=U6;ui.aliases=dS});var K6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var V6="fas",W6="rotate",q6=512,Y6=512,hS=[128260,"sync-alt"],$6="f2f1",G6="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";fi.definition={prefix:V6,iconName:W6,icon:[q6,Y6,hS,$6,G6]};fi.faRotate=fi.definition;fi.prefix=V6;fi.iconName=W6;fi.width=q6;fi.height=Y6;fi.ligatures=hS;fi.unicode=$6;fi.svgPathData=G6;fi.aliases=hS});var rD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var X6="fas",Q6="arrow-rotate-right",J6=512,Z6=512,mS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],eD="f01e",tD="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";di.definition={prefix:X6,iconName:Q6,icon:[J6,Z6,mS,eD,tD]};di.faArrowRotateRight=di.definition;di.prefix=X6;di.iconName=Q6;di.width=J6;di.height=Z6;di.ligatures=mS;di.unicode=eD;di.svgPathData=tD;di.aliases=mS});var aD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var ro=rD();pi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};pi.faRedo=pi.definition;pi.prefix=ro.prefix;pi.iconName=ro.iconName;pi.width=ro.width;pi.height=ro.height;pi.ligatures=ro.aliases;pi.unicode=ro.unicode;pi.svgPathData=ro.svgPathData;pi.aliases=ro.aliases});var uD=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var nD="fas",oD="check",iD=448,lD=512,vS=[10003,10004],sD="f00c",cD="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";hi.definition={prefix:nD,iconName:oD,icon:[iD,lD,vS,sD,cD]};hi.faCheck=hi.definition;hi.prefix=nD;hi.iconName=oD;hi.width=iD;hi.height=lD;hi.ligatures=vS;hi.unicode=sD;hi.svgPathData=cD;hi.aliases=vS});var gD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var fD="fas",dD="question",pD=320,hD=512,gS=[10067,10068,61736],mD="3f",vD="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";mi.definition={prefix:fD,iconName:dD,icon:[pD,hD,gS,mD,vD]};mi.faQuestion=mi.definition;mi.prefix=fD;mi.iconName=dD;mi.width=pD;mi.height=hD;mi.ligatures=gS;mi.unicode=mD;mi.svgPathData=vD;mi.aliases=gS});var xD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var _D="fas",bD="exclamation",yD=128,SD=512,_S=[10069,10071,61738],wD="21",CD="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";vi.definition={prefix:_D,iconName:bD,icon:[yD,SD,_S,wD,CD]};vi.faExclamation=vi.definition;vi.prefix=_D;vi.iconName=bD;vi.width=yD;vi.height=SD;vi.ligatures=_S;vi.unicode=wD;vi.svgPathData=CD;vi.aliases=_S});var LD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var kD="fas",TD="triangle-exclamation",ED=512,RD=512,bS=[9888,"exclamation-triangle","warning"],DD="f071",AD="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";gi.definition={prefix:kD,iconName:TD,icon:[ED,RD,bS,DD,AD]};gi.faTriangleExclamation=gi.definition;gi.prefix=kD;gi.iconName=TD;gi.width=ED;gi.height=RD;gi.ligatures=bS;gi.unicode=DD;gi.svgPathData=AD;gi.aliases=bS});var ND=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=LD();_i.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};_i.faExclamationTriangle=_i.definition;_i.prefix=ao.prefix;_i.iconName=ao.iconName;_i.width=ao.width;_i.height=ao.height;_i.ligatures=ao.aliases;_i.unicode=ao.unicode;_i.svgPathData=ao.svgPathData;_i.aliases=ao.aliases});var FD=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var OD="fas",MD="house",PD=576,ID=512,yS=[127968,63498,63500,"home","home-alt","home-lg-alt"],zD="f015",BD="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";bi.definition={prefix:OD,iconName:MD,icon:[PD,ID,yS,zD,BD]};bi.faHouse=bi.definition;bi.prefix=OD;bi.iconName=MD;bi.width=PD;bi.height=ID;bi.ligatures=yS;bi.unicode=zD;bi.svgPathData=BD;bi.aliases=yS});var jD=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=FD();yi.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};yi.faHome=yi.definition;yi.prefix=no.prefix;yi.iconName=no.iconName;yi.width=no.width;yi.height=no.height;yi.ligatures=no.aliases;yi.unicode=no.unicode;yi.svgPathData=no.svgPathData;yi.aliases=no.aliases});var $D=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var HD="fas",UD="share",VD=512,WD=512,SS=["mail-forward"],qD="f064",YD="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";Si.definition={prefix:HD,iconName:UD,icon:[VD,WD,SS,qD,YD]};Si.faShare=Si.definition;Si.prefix=HD;Si.iconName=UD;Si.width=VD;Si.height=WD;Si.ligatures=SS;Si.unicode=qD;Si.svgPathData=YD;Si.aliases=SS});var eA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var GD="fas",KD="magnifying-glass",XD=512,QD=512,wS=[128269,"search"],JD="f002",ZD="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";wi.definition={prefix:GD,iconName:KD,icon:[XD,QD,wS,JD,ZD]};wi.faMagnifyingGlass=wi.definition;wi.prefix=GD;wi.iconName=KD;wi.width=XD;wi.height=QD;wi.ligatures=wS;wi.unicode=JD;wi.svgPathData=ZD;wi.aliases=wS});var tA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var oo=eA();Ci.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ci.faSearch=Ci.definition;Ci.prefix=oo.prefix;Ci.iconName=oo.iconName;Ci.width=oo.width;Ci.height=oo.height;Ci.ligatures=oo.aliases;Ci.unicode=oo.unicode;Ci.svgPathData=oo.svgPathData;Ci.aliases=oo.aliases});var sA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var rA="fas",aA="yen-sign",nA=320,oA=512,CS=[165,"cny","jpy","rmb","yen"],iA="f157",lA="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";xi.definition={prefix:rA,iconName:aA,icon:[nA,oA,CS,iA,lA]};xi.faYenSign=xi.definition;xi.prefix=rA;xi.iconName=aA;xi.width=nA;xi.height=oA;xi.ligatures=CS;xi.unicode=iA;xi.svgPathData=lA;xi.aliases=CS});var mA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var cA="fas",uA="pen",fA=512,dA=512,xS=[128394],pA="f304",hA="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";ki.definition={prefix:cA,iconName:uA,icon:[fA,dA,xS,pA,hA]};ki.faPen=ki.definition;ki.prefix=cA;ki.iconName=uA;ki.width=fA;ki.height=dA;ki.ligatures=xS;ki.unicode=pA;ki.svgPathData=hA;ki.aliases=xS});var wA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var vA="fas",gA="bars",_A=448,bA=512,kS=["navicon"],yA="f0c9",SA="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";Ti.definition={prefix:vA,iconName:gA,icon:[_A,bA,kS,yA,SA]};Ti.faBars=Ti.definition;Ti.prefix=vA;Ti.iconName=gA;Ti.width=_A;Ti.height=bA;Ti.ligatures=kS;Ti.unicode=yA;Ti.svgPathData=SA;Ti.aliases=kS});var DA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var CA="fas",xA="download",kA=512,TA=512,TS=[],EA="f019",RA="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";Ei.definition={prefix:CA,iconName:xA,icon:[kA,TA,TS,EA,RA]};Ei.faDownload=Ei.definition;Ei.prefix=CA;Ei.iconName=xA;Ei.width=kA;Ei.height=TA;Ei.ligatures=TS;Ei.unicode=EA;Ei.svgPathData=RA;Ei.aliases=TS});var IA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var AA="fas",LA="link",NA=640,OA=512,ES=[128279,"chain"],MA="f0c1",PA="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";Ri.definition={prefix:AA,iconName:LA,icon:[NA,OA,ES,MA,PA]};Ri.faLink=Ri.definition;Ri.prefix=AA;Ri.iconName=LA;Ri.width=NA;Ri.height=OA;Ri.ligatures=ES;Ri.unicode=MA;Ri.svgPathData=PA;Ri.aliases=ES});var VA=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var zA="fas",BA="link-slash",FA=640,jA=512,RS=["chain-broken","chain-slash","unlink"],HA="f127",UA="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";Di.definition={prefix:zA,iconName:BA,icon:[FA,jA,RS,HA,UA]};Di.faLinkSlash=Di.definition;Di.prefix=zA;Di.iconName=BA;Di.width=FA;Di.height=jA;Di.ligatures=RS;Di.unicode=HA;Di.svgPathData=UA;Di.aliases=RS});var XA=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var WA="fas",qA="up-right-from-square",YA=512,$A=512,DS=["external-link-alt"],GA="f35d",KA="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";Ai.definition={prefix:WA,iconName:qA,icon:[YA,$A,DS,GA,KA]};Ai.faUpRightFromSquare=Ai.definition;Ai.prefix=WA;Ai.iconName=qA;Ai.width=YA;Ai.height=$A;Ai.ligatures=DS;Ai.unicode=GA;Ai.svgPathData=KA;Ai.aliases=DS});var QA=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var io=XA();Li.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=io.prefix;Li.iconName=io.iconName;Li.width=io.width;Li.height=io.height;Li.ligatures=io.aliases;Li.unicode=io.unicode;Li.svgPathData=io.svgPathData;Li.aliases=io.aliases});var n8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var JA="fas",ZA="gear",e8=512,t8=512,AS=[9881,"cog"],r8="f013",a8="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";Ni.definition={prefix:JA,iconName:ZA,icon:[e8,t8,AS,r8,a8]};Ni.faGear=Ni.definition;Ni.prefix=JA;Ni.iconName=ZA;Ni.width=e8;Ni.height=t8;Ni.ligatures=AS;Ni.unicode=r8;Ni.svgPathData=a8;Ni.aliases=AS});var f8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var o8="fas",i8="plus",l8=448,s8=512,LS=[10133,61543,"add"],c8="2b",u8="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";Oi.definition={prefix:o8,iconName:i8,icon:[l8,s8,LS,c8,u8]};Oi.faPlus=Oi.definition;Oi.prefix=o8;Oi.iconName=i8;Oi.width=l8;Oi.height=s8;Oi.ligatures=LS;Oi.unicode=c8;Oi.svgPathData=u8;Oi.aliases=LS});var _8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var d8="fas",p8="minus",h8=448,m8=512,NS=[8211,8722,10134,"subtract"],v8="f068",g8="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";Mi.definition={prefix:d8,iconName:p8,icon:[h8,m8,NS,v8,g8]};Mi.faMinus=Mi.definition;Mi.prefix=d8;Mi.iconName=p8;Mi.width=h8;Mi.height=m8;Mi.ligatures=NS;Mi.unicode=v8;Mi.svgPathData=g8;Mi.aliases=NS});var k8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var b8="fas",y8="ellipsis",S8=448,w8=512,OS=["ellipsis-h"],C8="f141",x8="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";Pi.definition={prefix:b8,iconName:y8,icon:[S8,w8,OS,C8,x8]};Pi.faEllipsis=Pi.definition;Pi.prefix=b8;Pi.iconName=y8;Pi.width=S8;Pi.height=w8;Pi.ligatures=OS;Pi.unicode=C8;Pi.svgPathData=x8;Pi.aliases=OS});var T8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var lo=k8();Ii.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Ii.faEllipsisH=Ii.definition;Ii.prefix=lo.prefix;Ii.iconName=lo.iconName;Ii.width=lo.width;Ii.height=lo.height;Ii.ligatures=lo.aliases;Ii.unicode=lo.unicode;Ii.svgPathData=lo.svgPathData;Ii.aliases=lo.aliases});var O8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var E8="fas",R8="ellipsis-vertical",D8=128,A8=512,MS=["ellipsis-v"],L8="f142",N8="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";zi.definition={prefix:E8,iconName:R8,icon:[D8,A8,MS,L8,N8]};zi.faEllipsisVertical=zi.definition;zi.prefix=E8;zi.iconName=R8;zi.width=D8;zi.height=A8;zi.ligatures=MS;zi.unicode=L8;zi.svgPathData=N8;zi.aliases=MS});var M8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var so=O8();Bi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Bi.faEllipsisV=Bi.definition;Bi.prefix=so.prefix;Bi.iconName=so.iconName;Bi.width=so.width;Bi.height=so.height;Bi.ligatures=so.aliases;Bi.unicode=so.unicode;Bi.svgPathData=so.svgPathData;Bi.aliases=so.aliases});var H8=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var P8="fas",I8="star",z8=576,B8=512,PS=[11088,61446],F8="f005",j8="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";Fi.definition={prefix:P8,iconName:I8,icon:[z8,B8,PS,F8,j8]};Fi.faStar=Fi.definition;Fi.prefix=P8;Fi.iconName=I8;Fi.width=z8;Fi.height=B8;Fi.ligatures=PS;Fi.unicode=F8;Fi.svgPathData=j8;Fi.aliases=PS});var G8=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var U8="fas",V8="paper-plane",W8=512,q8=512,IS=[61913],Y8="f1d8",$8="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";ji.definition={prefix:U8,iconName:V8,icon:[W8,q8,IS,Y8,$8]};ji.faPaperPlane=ji.definition;ji.prefix=U8;ji.iconName=V8;ji.width=W8;ji.height=q8;ji.ligatures=IS;ji.unicode=Y8;ji.svgPathData=$8;ji.aliases=IS});var tL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var K8="fas",X8="heart",Q8=512,J8=512,zS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],Z8="f004",eL="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";Hi.definition={prefix:K8,iconName:X8,icon:[Q8,J8,zS,Z8,eL]};Hi.faHeart=Hi.definition;Hi.prefix=K8;Hi.iconName=X8;Hi.width=Q8;Hi.height=J8;Hi.ligatures=zS;Hi.unicode=Z8;Hi.svgPathData=eL;Hi.aliases=zS});var sL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var rL="fas",aL="ban",nL=512,oL=512,BS=[128683,"cancel"],iL="f05e",lL="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";Ui.definition={prefix:rL,iconName:aL,icon:[nL,oL,BS,iL,lL]};Ui.faBan=Ui.definition;Ui.prefix=rL;Ui.iconName=aL;Ui.width=nL;Ui.height=oL;Ui.ligatures=BS;Ui.unicode=iL;Ui.svgPathData=lL;Ui.aliases=BS});var mL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var cL="fas",uL="location-crosshairs",fL=512,dL=512,FS=["location"],pL="f601",hL="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";Vi.definition={prefix:cL,iconName:uL,icon:[fL,dL,FS,pL,hL]};Vi.faLocationCrosshairs=Vi.definition;Vi.prefix=cL;Vi.iconName=uL;Vi.width=fL;Vi.height=dL;Vi.ligatures=FS;Vi.unicode=pL;Vi.svgPathData=hL;Vi.aliases=FS});var wL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var vL="far",gL="user",_L=448,bL=512,jS=[128100,62144],yL="f007",SL="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";Wi.definition={prefix:vL,iconName:gL,icon:[_L,bL,jS,yL,SL]};Wi.faUser=Wi.definition;Wi.prefix=vL;Wi.iconName=gL;Wi.width=_L;Wi.height=bL;Wi.ligatures=jS;Wi.unicode=yL;Wi.svgPathData=SL;Wi.aliases=jS});var DL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var CL="far",xL="circle-check",kL=512,TL=512,HS=[61533,"check-circle"],EL="f058",RL="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";qi.definition={prefix:CL,iconName:xL,icon:[kL,TL,HS,EL,RL]};qi.faCircleCheck=qi.definition;qi.prefix=CL;qi.iconName=xL;qi.width=kL;qi.height=TL;qi.ligatures=HS;qi.unicode=EL;qi.svgPathData=RL;qi.aliases=HS});var AL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var co=DL();Yi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=co.prefix;Yi.iconName=co.iconName;Yi.width=co.width;Yi.height=co.height;Yi.ligatures=co.aliases;Yi.unicode=co.unicode;Yi.svgPathData=co.svgPathData;Yi.aliases=co.aliases});var zL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var LL="far",NL="circle-question",OL=512,ML=512,US=[62108,"question-circle"],PL="f059",IL="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";$i.definition={prefix:LL,iconName:NL,icon:[OL,ML,US,PL,IL]};$i.faCircleQuestion=$i.definition;$i.prefix=LL;$i.iconName=NL;$i.width=OL;$i.height=ML;$i.ligatures=US;$i.unicode=PL;$i.svgPathData=IL;$i.aliases=US});var BL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var uo=zL();Gi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Gi.faQuestionCircle=Gi.definition;Gi.prefix=uo.prefix;Gi.iconName=uo.iconName;Gi.width=uo.width;Gi.height=uo.height;Gi.ligatures=uo.aliases;Gi.unicode=uo.unicode;Gi.svgPathData=uo.svgPathData;Gi.aliases=uo.aliases});var qL=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var FL="far",jL="pen-to-square",HL=512,UL=512,VS=["edit"],VL="f044",WL="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";Ki.definition={prefix:FL,iconName:jL,icon:[HL,UL,VS,VL,WL]};Ki.faPenToSquare=Ki.definition;Ki.prefix=FL;Ki.iconName=jL;Ki.width=HL;Ki.height=UL;Ki.ligatures=VS;Ki.unicode=VL;Ki.svgPathData=WL;Ki.aliases=VS});var YL=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var fo=qL();Xi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Xi.faEdit=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 ZL=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var $L="far",GL="copy",KL=448,XL=512,WS=[],QL="f0c5",JL="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";Qi.definition={prefix:$L,iconName:GL,icon:[KL,XL,WS,QL,JL]};Qi.faCopy=Qi.definition;Qi.prefix=$L;Qi.iconName=GL;Qi.width=KL;Qi.height=XL;Qi.ligatures=WS;Qi.unicode=QL;Qi.svgPathData=JL;Qi.aliases=WS});var iN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var eN="far",tN="file",rN=384,aN=512,qS=[128196,128459,61462],nN="f15b",oN="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";Ji.definition={prefix:eN,iconName:tN,icon:[rN,aN,qS,nN,oN]};Ji.faFile=Ji.definition;Ji.prefix=eN;Ji.iconName=tN;Ji.width=rN;Ji.height=aN;Ji.ligatures=qS;Ji.unicode=nN;Ji.svgPathData=oN;Ji.aliases=qS});var pN=Ue(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var lN="far",sN="trash-can",cN=448,uN=512,YS=[61460,"trash-alt"],fN="f2ed",dN="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";Zi.definition={prefix:lN,iconName:sN,icon:[cN,uN,YS,fN,dN]};Zi.faTrashCan=Zi.definition;Zi.prefix=lN;Zi.iconName=sN;Zi.width=cN;Zi.height=uN;Zi.ligatures=YS;Zi.unicode=fN;Zi.svgPathData=dN;Zi.aliases=YS});var hN=Ue(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var po=pN();el.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};el.faTrashAlt=el.definition;el.prefix=po.prefix;el.iconName=po.iconName;el.width=po.width;el.height=po.height;el.ligatures=po.aliases;el.unicode=po.unicode;el.svgPathData=po.svgPathData;el.aliases=po.aliases});var SN=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var mN="far",vN="image",gN=512,_N=512,$S=[],bN="f03e",yN="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";tl.definition={prefix:mN,iconName:vN,icon:[gN,_N,$S,bN,yN]};tl.faImage=tl.definition;tl.prefix=mN;tl.iconName=vN;tl.width=gN;tl.height=_N;tl.ligatures=$S;tl.unicode=bN;tl.svgPathData=yN;tl.aliases=$S});var KO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var VO="fas",WO="eye",qO=576,YO=512,cw=[128065],$O="f06e",GO="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";nl.definition={prefix:VO,iconName:WO,icon:[qO,YO,cw,$O,GO]};nl.faEye=nl.definition;nl.prefix=VO;nl.iconName=WO;nl.width=qO;nl.height=YO;nl.ligatures=cw;nl.unicode=$O;nl.svgPathData=GO;nl.aliases=cw});var l7=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var t7="fas",r7="clock",a7=512,n7=512,dw=[128339,"clock-four"],o7="f017",i7="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";ol.definition={prefix:t7,iconName:r7,icon:[a7,n7,dw,o7,i7]};ol.faClock=ol.definition;ol.prefix=t7;ol.iconName=r7;ol.width=a7;ol.height=n7;ol.ligatures=dw;ol.unicode=o7;ol.svgPathData=i7;ol.aliases=dw});var h7=Ue(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var s7="fas",c7="calendar-days",u7=448,f7=512,pw=["calendar-alt"],d7="f073",p7="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";il.definition={prefix:s7,iconName:c7,icon:[u7,f7,pw,d7,p7]};il.faCalendarDays=il.definition;il.prefix=s7;il.iconName=c7;il.width=u7;il.height=f7;il.ligatures=pw;il.unicode=d7;il.svgPathData=p7;il.aliases=pw});var m7=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var mo=h7();ll.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};ll.faCalendarAlt=ll.definition;ll.prefix=mo.prefix;ll.iconName=mo.iconName;ll.width=mo.width;ll.height=mo.height;ll.ligatures=mo.aliases;ll.unicode=mo.unicode;ll.svgPathData=mo.svgPathData;ll.aliases=mo.aliases});var M7=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var R7="fas",D7="cloud-arrow-up",A7=640,L7=512,gw=[62338,"cloud-upload","cloud-upload-alt"],N7="f0ee",O7="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";sl.definition={prefix:R7,iconName:D7,icon:[A7,L7,gw,N7,O7]};sl.faCloudArrowUp=sl.definition;sl.prefix=R7;sl.iconName=D7;sl.width=A7;sl.height=L7;sl.ligatures=gw;sl.unicode=N7;sl.svgPathData=O7;sl.aliases=gw});var aM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var Q7="fas",J7="grip-vertical",Z7=320,eM=512,xw=[],tM="f58e",rM="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";ul.definition={prefix:Q7,iconName:J7,icon:[Z7,eM,xw,tM,rM]};ul.faGripVertical=ul.definition;ul.prefix=Q7;ul.iconName=J7;ul.width=Z7;ul.height=eM;ul.ligatures=xw;ul.unicode=tM;ul.svgPathData=rM;ul.aliases=xw});var fM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var oM="fas",iM="filter",lM=512,sM=512,Ew=[],cM="f0b0",uM="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";fl.definition={prefix:oM,iconName:iM,icon:[lM,sM,Ew,cM,uM]};fl.faFilter=fl.definition;fl.prefix=oM;fl.iconName=iM;fl.width=lM;fl.height=sM;fl.ligatures=Ew;fl.unicode=cM;fl.svgPathData=uM;fl.aliases=Ew});var wM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var vM="fas",gM="palette",_M=512,bM=512,Dw=[127912],yM="f53f",SM="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";dl.definition={prefix:vM,iconName:gM,icon:[_M,bM,Dw,yM,SM]};dl.faPalette=dl.definition;dl.prefix=vM;dl.iconName=gM;dl.width=_M;dl.height=bM;dl.ligatures=Dw;dl.unicode=yM;dl.svgPathData=SM;dl.aliases=Dw});var DM=Ue(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var CM="fas",xM="bars-staggered",kM=512,TM=512,Aw=["reorder","stream"],EM="f550",RM="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";pl.definition={prefix:CM,iconName:xM,icon:[kM,TM,Aw,EM,RM]};pl.faBarsStaggered=pl.definition;pl.prefix=CM;pl.iconName=xM;pl.width=kM;pl.height=TM;pl.ligatures=Aw;pl.unicode=EM;pl.svgPathData=RM;pl.aliases=Aw});var IM=Ue(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var AM="fas",LM="rotate-left",NM=512,OM=512,Lw=["rotate-back","rotate-backward","undo-alt"],MM="f2ea",PM="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";hl.definition={prefix:AM,iconName:LM,icon:[NM,OM,Lw,MM,PM]};hl.faRotateLeft=hl.definition;hl.prefix=AM;hl.iconName=LM;hl.width=NM;hl.height=OM;hl.ligatures=Lw;hl.unicode=MM;hl.svgPathData=PM;hl.aliases=Lw});var VM=Ue(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var zM="fas",BM="rotate-right",FM=512,jM=512,Nw=["redo-alt","rotate-forward"],HM="f2f9",UM="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";ml.definition={prefix:zM,iconName:BM,icon:[FM,jM,Nw,HM,UM]};ml.faRotateRight=ml.definition;ml.prefix=zM;ml.iconName=BM;ml.width=FM;ml.height=jM;ml.ligatures=Nw;ml.unicode=HM;ml.svgPathData=UM;ml.aliases=Nw});var zw=Ue(()=>{"use strict"});var Bw=Ue(()=>{"use strict"});var JM=K(tT()),Is=K(JT()),kf=K(dr()),op=K(nr());var Hr={};Rd(Hr,{$$fromRoot:()=>vt,Accordion:()=>nw,Anchor:()=>df,Box:()=>X,Button:()=>ot,Card:()=>Wd,ColorObjects:()=>Gh,Column:()=>er,Config:()=>ht,Cropper:()=>Cm,DarkmodeColors:()=>QM,Effect:()=>vc,ExtractStyles:()=>Ml,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>xO,GenerateHTMLProps:()=>To,Grid:()=>qd,Img:()=>Dl,Input:()=>da,Label:()=>__,LaunchReactApp:()=>U_,LeftIcon:()=>Gd,LeftIndicator:()=>x_,LinkifyText:()=>BO,List:()=>FO,ListItem:()=>Kd,Literal:()=>ir,Loader:()=>Ao,Logo:()=>As,OmitSign:()=>C_,P:()=>CO,PageNotFound:()=>KM,PageViewController:()=>OO,Placeholder:()=>wO,Plate:()=>b_,ReadStyleSet:()=>sm,RequiredShortSign:()=>w_,RequiredSign:()=>S_,RightIcon:()=>Ha,RightIndicator:()=>k_,RootViewController:()=>Ls,Row:()=>_t,SetThemeColorTag:()=>$h,Sheet:()=>cr,Snackbar:()=>is,Span:()=>xn,SwipeView:()=>MO,TabBar:()=>$7,Table:()=>j_,ThemeColors:()=>Pw,Tips:()=>_c,Tooltips:()=>Ma,amotify:()=>H$,default:()=>H$,pageRouter:()=>In,useRefresh:()=>El,useRouterEffect:()=>H_});var YW=Object.defineProperty,$W=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,Yg=Object.getOwnPropertySymbols,i5=Object.prototype.hasOwnProperty,l5=Object.prototype.propertyIsEnumerable,s5=Math.pow,o5=(r,a,o)=>a in r?YW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,v=(r,a)=>{for(var o in a||(a={}))i5.call(a,o)&&o5(r,o,a[o]);if(Yg)for(var o of Yg(a))l5.call(a,o)&&o5(r,o,a[o]);return r},T=(r,a)=>$W(r,GW(a)),$e=(r,a)=>{var o={};for(var l in r)i5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Yg)for(var l of Yg(r))a.indexOf(l)<0&&l5.call(r,l)&&(o[l]=r[l]);return o},Na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Iw={};Rd(Iw,{$$fromRoot:()=>vt,ColorObjects:()=>Gh,Config:()=>ht,DarkmodeColors:()=>QM,ExtractStyles:()=>Ml,GenerateHTMLProps:()=>To,LaunchReactApp:()=>U_,ReadStyleSet:()=>sm,SetThemeColorTag:()=>$h,ThemeColors:()=>Pw,pageRouter:()=>In,useRefresh:()=>El,useRouterEffect:()=>H_});var qo=K(nr());var ko={sessionUID:(0,qo.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}},ht={get:()=>ko,set:r=>{ko=v(v({},ko),r)},update:{themeColor:r=>{if(Gh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(v({},ht.get()),{themeColor:r}));let a=(0,qo.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{$h()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(v({},ht.get()),{darkMode:a}));let o=(0,qo.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(v({},ht.get()),{roundness:r})),ht.restart((0,qo.UUID)()))},screen:r=>{ht.get().screen=v(v({},ht.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?"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";ko.appRoot=r.appRoot||document.body,ko.appRoot instanceof HTMLElement&&(ko.appRoot.tabIndex=0),qo.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),qo.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),qo.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),ko.deviceIs=o,ko.browserIs=l,ko.isPhone=["Android","iPhone"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,qo.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,qo.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,qo.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,qo.default)(document.body),f=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),$h()},restart:r=>{El.release("LaunchReactApp_"+ht.get().sessionUID,r)}};var Yo=K(nr()),Md=K(dr()),El={catch:r=>{let[a]=(0,Md.useState)((0,Yo.UUID)()),[o,l]=(0,Md.useState)((0,Yo.UUID)()),[s,f]=(0,Md.useState)(null),u="RefreshKey_"+a;return(0,Md.useEffect)(()=>{var h;Yo.useStore.set({[u]:m=>{l((0,Yo.UUID)()),f(m||null)}});let p=((h=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Yo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Yo.useStore.delete(u);let _=((m=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=_.indexOf(a);b!==-1&&(_.splice(b,1),Yo.useStore.update({["RefreshKeys_"+r]:{keys:_}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Yo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var yu=K(dr());var Mw={};Rd(Mw,{Anchor:()=>df,Button:()=>ot,Cropper:()=>Cm,Effect:()=>vc,Input:()=>da,Label:()=>__,LeftIcon:()=>Gd,LeftIndicator:()=>x_,Loader:()=>Ao,OmitSign:()=>C_,PageNotFound:()=>KM,PageViewController:()=>OO,Plate:()=>b_,RequiredShortSign:()=>w_,RequiredSign:()=>S_,RightIcon:()=>Ha,RightIndicator:()=>k_,RootViewController:()=>Ls,Sheet:()=>cr,Snackbar:()=>is,SwipeView:()=>MO,TabBar:()=>$7,Table:()=>j_,Tips:()=>_c,Tooltips:()=>Ma});var Al=K(Dt()),du=K(dr()),Ga=K(nr());var JS={};Rd(JS,{Box:()=>X,Card:()=>Wd,Column:()=>er,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>xO,Grid:()=>qd,Img:()=>Dl,Logo:()=>As,P:()=>CO,Placeholder:()=>wO,Span:()=>xn});var ff=K(Dt());var f5=K(Dt());var X=r=>{let{ref:a}=r,o=To(r),{htmlTag:l}=o,s=$e(o,["htmlTag"]),f=l||"div";return f?(0,f5.jsx)(f,T(v({},s),{ref:a})):null};var zt=K(Dt());var wN=K(OE()),CN=K(HE()),xN=K(GE()),kN=K(tR()),TN=K(sR()),EN=K(mR()),RN=K(wR()),DN=K(DR()),AN=K(IR()),LN=K(VR()),NN=K(XR()),ON=K(a6()),MN=K(u6()),PN=K(g6()),IN=K(x6()),zN=K(cS()),BN=K(fS()),FN=K(pS()),jN=K(K6()),HN=K(aD()),UN=K(uD()),VN=K(gD()),WN=K(xD()),qN=K(ND()),YN=K(jD()),$N=K($D()),GN=K(tA()),KN=K(sA()),XN=K(mA()),QN=K(wA()),JN=K(DA()),ZN=K(IA()),eO=K(VA()),tO=K(QA()),rO=K(n8()),aO=K(f8()),nO=K(_8()),oO=K(T8()),iO=K(M8()),lO=K(H8()),sO=K(G8()),cO=K(tL()),uO=K(sL()),fO=K(mL()),dO=K(wL()),pO=K(AL()),hO=K(BL()),mO=K(YL()),vO=K(ZL()),gO=K(iN()),_O=K(hN()),bO=K(SN()),Ft=r=>{let a=r,{icon:o}=a,l=$e(a,["icon"]),s=To(l);return(0,zt.jsx)(wN.FontAwesomeIcon,T(v({icon:o,size:"1x"},s),{style:v({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Ft;Ne.User=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:dO.faUser})),Ne.Times=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:CN.faTimes})),Ne.AngleRight=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:xN.faAngleRight})),Ne.AngleLeft=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:kN.faAngleLeft})),Ne.AngleUp=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:TN.faAngleUp})),Ne.AngleDown=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:EN.faAngleDown})),Ne.ChevronLeft=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:RN.faChevronLeft})),Ne.ChevronRight=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:DN.faChevronRight})),Ne.ChevronUp=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:AN.faChevronUp})),Ne.ChevronDown=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:LN.faChevronDown})),Ne.CaretLeft=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:NN.faCaretLeft})),Ne.CaretRight=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:ON.faCaretRight})),Ne.CaretUp=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:MN.faCaretUp})),Ne.CaretDown=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:PN.faCaretDown})),Ne.ArrowLeft=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:IN.faArrowLeft})),Ne.ArrowRight=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:zN.faArrowRight})),Ne.ArrowUp=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:BN.faArrowUp})),Ne.ArrowDown=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:FN.faArrowDown})),Ne.Rotate=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:jN.faRotate})),Ne.Redo=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:HN.faRedo})),Ne.Check=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:UN.faCheck})),Ne.CheckCircle=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:pO.faCheckCircle})),Ne.Question=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:VN.faQuestion})),Ne.QuestionCircle=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:hO.faQuestionCircle})),Ne.Exclamation=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:WN.faExclamation})),Ne.ExclamationTriangle=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:qN.faExclamationTriangle})),Ne.Home=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:YN.faHome})),Ne.Share=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:$N.faShare})),Ne.Search=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:GN.faSearch})),Ne.YenSign=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:KN.faYenSign})),Ne.Heart=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:cO.faHeart})),Ne.Star=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:lO.faStar})),Ne.Edit=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:mO.faEdit})),Ne.Pen=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:XN.faPen})),Ne.Copy=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:vO.faCopy})),Ne.File=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:gO.faFile})),Ne.TrashAlt=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:_O.faTrashAlt})),Ne.Bars=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:QN.faBars})),Ne.Download=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:JN.faDownload})),Ne.Link=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:ZN.faLink})),Ne.LinkSlash=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:eO.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:tO.faExternalLinkAlt})),Ne.Gear=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:rO.faGear})),Ne.Plus=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:aO.faPlus})),Ne.Minus=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:nO.faMinus})),Ne.EllipsisH=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:oO.faEllipsisH})),Ne.EllipsisV=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:iO.faEllipsisV})),Ne.PaperPlane=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:sO.faPaperPlane})),Ne.Image=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:bO.faImage})),Ne.Ban=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:uO.faBan})),Ne.Location=r=>(0,zt.jsx)(Ft,T(v({},r),{icon:fO.faLocationCrosshairs}));var yO=K(Dt());var WY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},qY={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"},YY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},$Y={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},GY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},KY={Wrapper:"_Wrapper_3nb6i_2",Wrap:"_Wrap_3nb6i_2",Content:"_Content_3nb6i_9",TapSensor:"_TapSensor_3nb6i_28",TapContent:"_TapContent_3nb6i_38",Hide:"_Hide_3nb6i_45",Open:"_Open_3nb6i_48",isMainSheet_true:"_isMainSheet_true_3nb6i_48",isMainSheet_false:"_isMainSheet_false_3nb6i_52",BB:"_BB_3nb6i_52",Tcate_normal:"_Tcate_normal_3nb6i_55",BaseBody:"_BaseBody_3nb6i_59",Tcate_drawer:"_Tcate_drawer_3nb6i_74",Tpos_left:"_Tpos_left_3nb6i_74",Tpos_right:"_Tpos_right_3nb6i_89",Tpos_bottom:"_Tpos_bottom_3nb6i_104",DragBar:"_DragBar_3nb6i_111",Tcate_custom:"_Tcate_custom_3nb6i_119",CustomSheet:"_CustomSheet_3nb6i_127",GPT:"_GPT_3nb6i_130",Col_1:"_Col_1_3nb6i_130",Row_1:"_Row_1_3nb6i_130",Row_4:"_Row_4_3nb6i_130",Col_4:"_Col_4_3nb6i_130",Row_2:"_Row_2_3nb6i_133",Row_5:"_Row_5_3nb6i_133",Col_2:"_Col_2_3nb6i_136",Col_5:"_Col_5_3nb6i_136",GPT_3:"_GPT_3_3nb6i_142",GPT_18:"_GPT_18_3nb6i_142",GPT_8:"_GPT_8_3nb6i_145",GPT_23:"_GPT_23_3nb6i_145",GPT_11:"_GPT_11_3nb6i_148",GPT_14:"_GPT_14_3nb6i_148",GPT_12:"_GPT_12_3nb6i_151",GPT_15:"_GPT_15_3nb6i_151",Col_3:"_Col_3_3nb6i_161"},XY={Wrapper:"_Wrapper_jip2p_1",CornerLoader:"_CornerLoader_jip2p_17",Wrap:"_Wrap_jip2p_1",isActive:"_isActive_jip2p_28",ldAnm:"_ldAnm_jip2p_1",Ld1:"_Ld1_jip2p_34",Ld2:"_Ld2_jip2p_37",Ld3:"_Ld3_jip2p_40",Ld4:"_Ld4_jip2p_43",MiniLoader:"_MiniLoader_jip2p_61",Active_false:"_Active_false_jip2p_64",Hide:"_Hide_jip2p_67",Active:"_Active_jip2p_64",Core:"_Core_jip2p_77",spin:"_spin_jip2p_1",SVG1:"_SVG1_jip2p_85",loader:"_loader_jip2p_1",loading:"_loading_jip2p_1",SVG2:"_SVG2_jip2p_92"},QY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},JY={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"},ZY={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"},e$={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"},t$={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"},r$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var a$={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"},n$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},o$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},i$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},l$={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"},s$={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 c$={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"},GS=r=>WY[r],rl=r=>qY[r],m_=r=>YY[r],KS=r=>$Y[r],im=r=>GY[r],ga=r=>KY[r],Ea=r=>XY[r],Oa=r=>QY[r],Xt=r=>JY[r],es=r=>ZY[r],cu=r=>e$[r],sf=r=>t$[r],Ud=r=>r$[r];var ts=r=>a$[r],cf=r=>n$[r],Rl=r=>o$[r],uf=r=>i$[r],Ds=r=>l$[r],Ra=r=>s$[r];var v_=r=>c$[r];var Dl=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=$e(a,["src","alt","showExpand"]);return(0,yO.jsx)(X,T(v({htmlTag:"img",src:o,alt:l},f),{className:[GS("Img"),GS("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),s&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),s&&(u.stopPropagation(),cr.open({type:"image",src:s!=!0?s:o}))},freeCSS:v({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var or=K(Dt()),XS=K(nr());var SO={ComunIcon:()=>(0,or.jsx)("svg",{viewBox:"0,0,1200,1200",className:rl("ComunIcon"),children:(0,or.jsxs)("g",{children:[(0,or.jsx)("path",{d:`
927
927
  M
928
928
  100,600
929
929
  A 500,500 0 0,0 600,1100
@@ -931,7 +931,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
931
931
  A 300,300 0 0,1 300,600
932
932
  A 100,100 0 0,0 100,600
933
933
  Z
934
- `,style:{opacity:.9,fill:"#16a3ec"}}),(0,nr.jsx)("path",{d:`
934
+ `,style:{opacity:.9,fill:"#16a3ec"}}),(0,or.jsx)("path",{d:`
935
935
  M
936
936
  600,1100
937
937
  A 500,500 0 0,0 1100,600
@@ -939,7 +939,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
939
939
  A 300,300 0 0,1 600,900
940
940
  A 100,100 0 1,0 600,1100
941
941
  Z
942
- `,style:{opacity:.9,fill:"#ea6093"}}),(0,nr.jsx)("path",{d:`
942
+ `,style:{opacity:.9,fill:"#ea6093"}}),(0,or.jsx)("path",{d:`
943
943
  M
944
944
  600,100
945
945
  A 500,500 0 0,0 100,600
@@ -947,7 +947,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
947
947
  A 300,300 0 0,1 600,300
948
948
  A 100,100 0 0,0 600,100
949
949
  Z
950
- `,style:{opacity:.9,fill:"#387cfe"}}),(0,nr.jsx)("path",{d:`
950
+ `,style:{opacity:.9,fill:"#387cfe"}}),(0,or.jsx)("path",{d:`
951
951
  M
952
952
  600,100
953
953
  A 100,100 0 0,1 700,200
@@ -957,7 +957,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
957
957
  A 500,500 0 0,1 500,200
958
958
  A 100,100 0 0,1 600,100
959
959
  Z
960
- `,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{let r=a=>(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)("path",{d:`
960
+ `,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{let r=a=>(0,or.jsxs)(or.Fragment,{children:[(0,or.jsx)("path",{d:`
961
961
  M
962
962
  600,100
963
963
  A 80,80 0 0,1 600,260
@@ -965,7 +965,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
965
965
  L600,600
966
966
  L600,300
967
967
  Z
968
- `,className:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#c56ff0"}}),(0,nr.jsx)("path",{d:`
968
+ `,className:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#c56ff0"}}),(0,or.jsx)("path",{d:`
969
969
  M
970
970
  600,300
971
971
  A 45,45 0 0,1 600,390
@@ -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:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,nr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:rl("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(SO.MingooIcon,{})})),Title:r=>(0,nr.jsx)(As.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,nr.jsx)(uu.Icon,{size:o,color:l}),(0,nr.jsx)(uu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,nr.jsx)(uu.Icon,{margin:"auto",size:o,color:l}),(0,nr.jsx)(uu.Title,{size:o,color:l})]}))}},fu={Icon:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(SO.ComunIcon,{})})),Title:r=>(0,nr.jsx)(As.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,nr.jsx)(fu.Icon,{size:o,color:l}),(0,nr.jsx)(fu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,nr.jsx)(fu.Icon,{margin:"auto",size:o,color:l}),(0,nr.jsx)(fu.Title,{size:o,color:l})]}))}},hc="https://cdn.amotify.com/",As={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[s,rl("Icon"),rl("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:XS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[s,rl("Title"),rl("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:XS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Brands:{MingooIcon:uu.Icon,MingooTitle:uu.Title,MingooLogoH:uu.LogoH,MingooLogoV:uu.LogoV,ComunIcon:fu.Icon,ComunTitle:fu.Title,ComunLogoH:fu.LogoH,ComunLogoV:fu.LogoV,Google:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(Dl,{src:hc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(Dl,{src:hc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(Dl,{src:hc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,nr.jsx)(As.Icon,T(v({},r),{children:(0,nr.jsx)(Dl,{src:hc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:hc+"@env/@logos/mingoo/icon.png",mingooIconClear:hc+"@env/@logos/mingoo/iconClear.png",comunIcon:hc+"@env/@logos/comun/icon.png",comunIconClear:hc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>hc+"@env/@icon/"+(r||"image")+".png"}};var QS=K(At());var wO=r=>{let a=r,{color:o="cloud"}=a,l=$e(a,["color"]);return(0,QS.jsx)(X,T(v({className:[m_("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,QS.jsx)(X,{className:[m_("Body"),m_("Color_"+o)].join(" ")})}))};var Vd=K(At());var lm=r=>{let a=$e(r,[]);return(0,Vd.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},Wd=lm;Wd.Border=r=>(0,Vd.jsx)(lm,v({ssCardBox:"border"},r)),Wd.Plain=r=>(0,Vd.jsx)(lm,v({ssCardBox:"plain"},r)),Wd.Cloud=r=>(0,Vd.jsx)(lm,v({ssCardBox:"cloud"},r)),Wd.Shadow=r=>(0,Vd.jsx)(lm,v({ssCardBox:"shadow"},r));var Cn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),CO=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),qd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),Lt=r=>(0,ff.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),xO=r=>(0,ff.jsx)(X,v({width:1,flexSizing:"none"},r)),er=r=>(0,ff.jsx)(Lt,v({flexType:"col",gap:1},r));var rs=K(At()),g_=K(ar());var kO={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",a=="plain"?{}:(a=="link"?o=="xsmall"?s.fontSize="0.xs":o=="small"?s.fontSize="1.mini":o=="regular"||o=="large"&&(s.fontSize="3.paragraph"):s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),o=="xsmall"?s=T(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(v({},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)},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=T(v({},s),{backgroundColor:"trans"}):a=="border"?s=T(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},TO=r=>{let a=sm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,g_.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:u="",tone:h="border",size:p="regular",color:m="theme",className:_=""}=a;a=v(v(v({},kO.Size(r.seed,h,p,m)),kO.Tone(r.seed,h,p,m)),a),a.className=[_,sf("Wrap"),sf("isNeutral_"+!s),sf("isLocked_"+l),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=l,_=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),_=T(v({},_),{"data-form-submit-button":p.formName,"data-sdfike":g_.default.flatArray(p.submitDelegationKey).join(",")})),(0,rs.jsx)(X,T(v({htmlTag:"button",fontHeight:"inherit"},_),{onClick:b=>La(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield ga.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=l,m=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,rs.jsx)(X,T(v({htmlTag:"label"},m),{onClick:_=>{s||p&&p(_)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:_,sync:b,shiftQueryParams:S}=l,w=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,rs.jsx)(X,T(v({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let A=k.ctrlKey||k.metaKey,N=_||!!A,Y=m;if(S&&(Y+=location.search),b){Pn.pushSync(Y);return}Pn.push(Y,!!N)}}))}return null},mc=function(r,a){let o=s=>(0,rs.jsx)(TO,v({seed:r,tone:a,size:"regular"},s)),l=o;return l.Plain=s=>(0,rs.jsx)(o,v({size:"plain",tone:a},s)),l.XS=s=>(0,rs.jsx)(o,v({size:"xsmall",tone:a},s)),l.S=s=>(0,rs.jsx)(o,v({size:"small",tone:a},s)),l.R=s=>(0,rs.jsx)(o,v({size:"regular",tone:a},s)),l.L=s=>(0,rs.jsx)(o,v({size:"large",tone:a},s)),l},ZS=function(r){let a=o=>(0,rs.jsx)(TO,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=mc(r,"plain"),a.Link=mc(r,"link"),a.Normal=mc(r,"normal"),a.Border=mc(r,"border"),a.Prime=mc(r,"prime"),a.Sub=mc(r,"sub"),a.Clear=mc(r,"clear"),a.FillToBorder=mc(r,"fillToBorder"),a.BorderToFill=mc(r,"borderToFill"),a},lt=ZS("button"),__=ZS("label"),df=ZS("anchor");var Ls={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:u}=a,h=$e(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.reset(),setTimeout(()=>{Ls.fn.updateCSSProperty.reset()},100);let m="ResizeCB",_="RemovePageEventCB";return(0,Ga.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||Ga.default.interval.once(()=>{Ls.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Ga.default)(window).removeEvent(_),(0,Ga.default)(window).removeEvent(m)}},[]);let p=f;return(0,Al.jsxs)(er,T(v({className:[u,Na("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Al.jsxs)(Lt,{className:Na("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Al.jsx)(X,{className:Na("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=$e(a,["className","children"]),[f]=(0,du.useState)((0,Ga.UUID)());return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.topNav()},[]),(0,Al.jsx)(Lt,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Na("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=$e(a,["className"]);return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.sideNav()},[]),(0,Al.jsx)(X,T(v({className:[o,Na("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=$e(a,["className","baseStyles"]),[f]=(0,du.useState)((0,Ga.UUID)());return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.footer()},[]),(0,Al.jsx)(Lt,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Na("FooterNav"),o].join(" "),children:(0,Al.jsx)(Lt,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,path:l,pathGroup:s,currentPath:f}=a,u=$e(a,["isActive","path","pathGroup","currentPath"]),h=Ga.default.flatArray(s),p=f||location.pathname;{let m=!1;Ga.default.scope(()=>{Ga.default.is.string(l)&&(Ga.default.is.nullish(l)||(m=p.replace(/^\//,"").replace(/\/$/,"")==l.replace(/^\//,"").replace(/\/$/,"")))}),Ga.default.scope(()=>{if(!m&&h.length)for(let _ of h){if(m)break;Ga.default.is.nullish(_)||(Ga.default.is.string(_)&&(_=String(_).escapeRegExChar()),p.match(new RegExp(_))&&(m=!0))}}),o=o!=null?o:m}return(0,Al.jsx)(lt.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:m=>{Ga.default.is.exist(l)&&Ga.default.is.string(l)&&Pn.push(l,m.ctrlKey||m.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},u))},Bar:r=>(0,Al.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Al.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Ga.default)(document.body),a=vt("#__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,Ga.default)(document.body),a=vt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Ga.default)(document.body),a=vt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Ga.default)(document.body),a=vt("#__RVC_TopNavigation"),o=vt("#__RVC_FooterNavigation"),l=vt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,u=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,_=p-s-u,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",u+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",_+"px").setStyleProperty("--contentHeight",_+"px").setStyleProperty("--contentWidth",b+"px")}}}};var EO=K(At());var b_=r=>{let a=r,{size:o="R"}=a,l=$e(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,EO.jsx)(X,T(v({margin:[0,"auto"],width:1},l),{freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var cm=K(At()),NO=K(fr());var ew=K(At()),tw=K(ar());var Yd=K(fr());var RO=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,tw.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yd.useState)(s);return(0,Yd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,ew.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},DO=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,tw.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yd.useState)(s);return(0,Yd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,ew.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var al=K(ar());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,al.Time)().ms,o=r.target,l=(0,al.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let M=l.parent('[data-effect-ripple="1"]');if(!M[0])return;l=M,s=M.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,al.UUID)(),{left:u,top:h,height:p,width:m}=l.position(),{pageXOffset:_,pageYOffset:b}=al.default.getScreenSize(),{x:S,y:w}=al.default.getCursor(r),k=Math.min(m*1.5,300),A=Math.max(S-(u+_),0),N=Math.max(w-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,al.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(Y)},20)}}),(0,al.default)(l).addClass([es("RippleElement"),es("Color_"+s)]).append(`<div class="${es("RippleWrap")}" id="${f}">
976
+ `,className:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,or.jsxs)("svg",{viewBox:"0,0,1200,1200",className:rl("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(SO.MingooIcon,{})})),Title:r=>(0,or.jsx)(As.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,or.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(uu.Icon,{size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,or.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(uu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))}},fu={Icon:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(SO.ComunIcon,{})})),Title:r=>(0,or.jsx)(As.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,or.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(fu.Icon,{size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=$e(a,["size","color"]);return(0,or.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(fu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))}},hc="https://cdn.amotify.com/",As={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,or.jsx)(Lt,T(v({className:[s,rl("Icon"),rl("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:XS.default.is.function(f)?(0,or.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,or.jsx)(Lt,T(v({className:[s,rl("Title"),rl("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:XS.default.is.function(f)?(0,or.jsx)(f,{}):f}))},Brands:{MingooIcon:uu.Icon,MingooTitle:uu.Title,MingooLogoH:uu.LogoH,MingooLogoV:uu.LogoV,ComunIcon:fu.Icon,ComunTitle:fu.Title,ComunLogoH:fu.LogoH,ComunLogoV:fu.LogoV,Google:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(Dl,{src:hc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(Dl,{src:hc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(Dl,{src:hc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,or.jsx)(As.Icon,T(v({},r),{children:(0,or.jsx)(Dl,{src:hc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:hc+"@env/@logos/mingoo/icon.png",mingooIconClear:hc+"@env/@logos/mingoo/iconClear.png",comunIcon:hc+"@env/@logos/comun/icon.png",comunIconClear:hc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>hc+"@env/@icon/"+(r||"image")+".png"}};var QS=K(Dt());var wO=r=>{let a=r,{color:o="cloud"}=a,l=$e(a,["color"]);return(0,QS.jsx)(X,T(v({className:[m_("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,QS.jsx)(X,{className:[m_("Body"),m_("Color_"+o)].join(" ")})}))};var Vd=K(Dt());var lm=r=>{let a=$e(r,[]);return(0,Vd.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},Wd=lm;Wd.Border=r=>(0,Vd.jsx)(lm,v({ssCardBox:"border"},r)),Wd.Plain=r=>(0,Vd.jsx)(lm,v({ssCardBox:"plain"},r)),Wd.Cloud=r=>(0,Vd.jsx)(lm,v({ssCardBox:"cloud"},r)),Wd.Shadow=r=>(0,Vd.jsx)(lm,v({ssCardBox:"shadow"},r));var xn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),CO=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),qd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),Lt=r=>(0,ff.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),xO=r=>(0,ff.jsx)(X,v({width:1,flexSizing:"none"},r)),er=r=>(0,ff.jsx)(Lt,v({flexType:"col",gap:1},r));var rs=K(Dt()),g_=K(nr());var kO={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",a=="plain"?{}:(a=="link"?o=="xsmall"?s.fontSize="0.xs":o=="small"?s.fontSize="1.mini":o=="regular"||o=="large"&&(s.fontSize="3.paragraph"):s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),o=="xsmall"?s=T(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(v({},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)},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=T(v({},s),{backgroundColor:"trans"}):a=="border"?s=T(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},TO=r=>{let a=sm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,g_.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:u="",tone:h="border",size:p="regular",color:m="theme",className:_=""}=a;a=v(v(v({},kO.Size(r.seed,h,p,m)),kO.Tone(r.seed,h,p,m)),a),a.className=[_,sf("Wrap"),sf("isNeutral_"+!s),sf("isLocked_"+l),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=l,_=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),_=T(v({},_),{"data-form-submit-button":p.formName,"data-sdfike":g_.default.flatArray(p.submitDelegationKey).join(",")})),(0,rs.jsx)(X,T(v({htmlTag:"button",fontHeight:"inherit"},_),{onClick:b=>Na(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield da.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=l,m=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,rs.jsx)(X,T(v({htmlTag:"label"},m),{onClick:_=>{s||p&&p(_)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:_,sync:b,shiftQueryParams:S}=l,w=$e(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,rs.jsx)(X,T(v({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let R=k.ctrlKey||k.metaKey,N=_||!!R,W=m;if(S&&(W+=location.search),b){In.pushSync(W);return}In.push(W,!!N)}}))}return null},mc=function(r,a){let o=s=>(0,rs.jsx)(TO,v({seed:r,tone:a,size:"regular"},s)),l=o;return l.Plain=s=>(0,rs.jsx)(o,v({size:"plain",tone:a},s)),l.XS=s=>(0,rs.jsx)(o,v({size:"xsmall",tone:a},s)),l.S=s=>(0,rs.jsx)(o,v({size:"small",tone:a},s)),l.R=s=>(0,rs.jsx)(o,v({size:"regular",tone:a},s)),l.L=s=>(0,rs.jsx)(o,v({size:"large",tone:a},s)),l},ZS=function(r){let a=o=>(0,rs.jsx)(TO,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=mc(r,"plain"),a.Link=mc(r,"link"),a.Normal=mc(r,"normal"),a.Border=mc(r,"border"),a.Prime=mc(r,"prime"),a.Sub=mc(r,"sub"),a.Clear=mc(r,"clear"),a.FillToBorder=mc(r,"fillToBorder"),a.BorderToFill=mc(r,"borderToFill"),a},ot=ZS("button"),__=ZS("label"),df=ZS("anchor");var Ls={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:u}=a,h=$e(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.reset(),setTimeout(()=>{Ls.fn.updateCSSProperty.reset()},100);let m="ResizeCB",_="RemovePageEventCB";return(0,Ga.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||Ga.default.interval.once(()=>{Ls.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Ga.default)(window).removeEvent(_),(0,Ga.default)(window).removeEvent(m)}},[]);let p=f;return(0,Al.jsxs)(er,T(v({className:[u,Oa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Al.jsxs)(Lt,{className:Oa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Al.jsx)(X,{className:Oa("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=$e(a,["className","children"]),[f]=(0,du.useState)((0,Ga.UUID)());return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.topNav()},[]),(0,Al.jsx)(Lt,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Oa("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=$e(a,["className"]);return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.sideNav()},[]),(0,Al.jsx)(X,T(v({className:[o,Oa("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=$e(a,["className","baseStyles"]),[f]=(0,du.useState)((0,Ga.UUID)());return(0,du.useEffect)(()=>{Ls.fn.updateCSSProperty.footer()},[]),(0,Al.jsx)(Lt,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Oa("FooterNav"),o].join(" "),children:(0,Al.jsx)(Lt,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,path:l,pathGroup:s,currentPath:f}=a,u=$e(a,["isActive","path","pathGroup","currentPath"]),h=Ga.default.flatArray(s),p=f||location.pathname;{let m=!1;Ga.default.scope(()=>{Ga.default.is.string(l)&&(Ga.default.is.nullish(l)||(m=p.replace(/^\//,"").replace(/\/$/,"")==l.replace(/^\//,"").replace(/\/$/,"")))}),Ga.default.scope(()=>{if(!m&&h.length)for(let _ of h){if(m)break;Ga.default.is.nullish(_)||(Ga.default.is.string(_)&&(_=String(_).escapeRegExChar()),p.match(new RegExp(_))&&(m=!0))}}),o=o!=null?o:m}return(0,Al.jsx)(ot.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:m=>{Ga.default.is.exist(l)&&Ga.default.is.string(l)&&In.push(l,m.ctrlKey||m.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},u))},Bar:r=>(0,Al.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Al.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Ga.default)(document.body),a=vt("#__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,Ga.default)(document.body),a=vt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Ga.default)(document.body),a=vt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Ga.default)(document.body),a=vt("#__RVC_TopNavigation"),o=vt("#__RVC_FooterNavigation"),l=vt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,u=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,_=p-s-u,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",u+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",_+"px").setStyleProperty("--contentHeight",_+"px").setStyleProperty("--contentWidth",b+"px")}}}};var EO=K(Dt());var b_=r=>{let a=r,{size:o="R"}=a,l=$e(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,EO.jsx)(X,T(v({margin:[0,"auto"],width:1},l),{freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var cm=K(Dt()),NO=K(dr());var ew=K(Dt()),tw=K(nr());var Yd=K(dr());var RO=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,tw.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yd.useState)(s);return(0,Yd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,ew.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},DO=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,tw.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yd.useState)(s);return(0,Yd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,ew.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var al=K(nr());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,al.Time)().ms,o=r.target,l=(0,al.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,al.UUID)(),{left:u,top:h,height:p,width:m}=l.position(),{pageXOffset:_,pageYOffset:b}=al.default.getScreenSize(),{x:S,y:w}=al.default.getCursor(r),k=Math.min(m*1.5,300),R=Math.max(S-(u+_),0),N=Math.max(w-(h+b),0),W={RippleElement:l,startedAt:a,size:k};(0,al.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(W)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(W)},20)}}),(0,al.default)(l).addClass([es("RippleElement"),es("Color_"+s)]).append(`<div class="${es("RippleWrap")}" id="${f}">
977
977
  <div class="${es("Wave")}" />
978
- </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:M=>{pf.End(Y)}}).find("#"+f).find("."+es("Wave")).css({left:A,top:N}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,al.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,al.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+es("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},AO={Wrapper:()=>(typeof window=="undefined"||(0,al.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:pf.RippleElementTag,callback:r=>{pf.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pf.RippleElementTag,callback:r=>{ht.get().isTouchDevice||pf.Start(r)}}),null)};var rw=K(ar());var LO={Wrapper:()=>(typeof window=="undefined"||(0,rw.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,rw.default)(r.target).removeClass(es("PuddingEffect")).await(1).addClass(es("PuddingEffect")).await(510).removeClass(es("PuddingEffect"))}}),null)};var vc={Ripple:AO,Pudding:LO,FadeIn:RO,FadeUp:DO};var OO=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,cm.jsx)(vc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,NO.useState)(a);return s!=a&&f(a),(0,cm.jsx)(cm.Fragment,{children:l(o[a])})};var fm=K(At()),Ll=K(ar()),pu=K(fr());var u$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=H=>H,slides:m=[],slideIndex:_}=a,b=$e(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Ll.UUID)()),[w,k]=(0,pu.useState)({eventType:"init",index:r.slideIndex}),A=(0,pu.useRef)(!1);(0,pu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),A.current||(A.current=!0)},[r.slideIndex]),(0,pu.useEffect)(()=>{let H=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Z=vt("#Swiper-"+S);if(w.eventType=="adjustLoop")Z.await(250).css({transition:"0s",transform:$d(H)}).children().removeClass(Na("Display")).parent().children(H).addClass([Na("Display"),Na("LoopAdjusting")]).await(100).removeClass(Na("LoopAdjusting"));else if(w.eventType=="sys")Z.await(250).css({transform:$d(H)}).children().removeClass(Na("Display")).parent().children(H).addClass(Na("Display"));else if(Z.children().removeClass(Na("Display")).parent().children(H).addClass(Na("Display")).parent().css({transition:"0.3s",transform:$d(H)}).await(250).css({transition:"0s"}),F){let O=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:O})}s&&!F&&Ll.default.interval.once(()=>{let O=w.index+1;!f&&O>m.length-1&&(O=0),k({eventType:"usr",index:O})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let N=m.map((H,F)=>(0,fm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Na("Child"),children:p(H)},F));f&&(N.push(T(v({},N[0]),{key:N[0].key+"-Shallow0"})),N.unshift(T(v({},N[N.length-2]),{key:N[N.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},M=w.index+ +!!f;return(0,fm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Na("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:H=>{if(H.pointerType=="touch"){if(h)return}else if(H.pointerType=="mouse"&&(u||H.buttons!=1))return;um.Start(H,Y)},children:(0,fm.jsx)(Lt,{flexWrap:!1,gap:1,transition:"long",className:[Na("Rail"),Na("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},A.current?{}:{transform:$d(M)}),children:N})}))},$d=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,um={Start:(r,a)=>{let{x:o,y:l}=Ll.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(v({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:vt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,Ll.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{um.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{um.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Ll.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Ll.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);vt("#Swiper-"+a.id).children(u-1).addClass(Na("Display")),(0,Ll.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{um.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{um.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Ll.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 f=s-a.maxIndex;s=a.maxIndex+f/2}vt("#Swiper-"+a.id).css({transition:"0s",transform:$d(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Ll.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;s<400?u=f-(+(o>0)*2-1):u=Math.round(f-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,f===u?(a.effectStartAt=l,vt("#Swiper-"+a.id).css({transition:".2s",transform:$d(u)}).await(310).css({transition:"0s"}).children().removeClass(Na("Display")).parent().children(f).addClass(Na("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Ll.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},MO=r=>(0,fm.jsx)(u$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var B_=K(At()),Y7=K(fr());var hu=K(At());var PO=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=T(v({},a),{border:!0}):r=="cloud"?a=T(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(v({},a),{borderRadius:0,borderBottom:!0})),a},y_={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},S_=r=>(0,hu.jsx)(Cn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),w_=r=>(0,hu.jsx)(Cn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),C_=r=>(0,hu.jsx)(Cn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),x_=r=>{let a=r,{tone:o}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},PO(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},k_=r=>{let a=r,{tone:o}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},PO(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},ja=r=>{let a=r,{tone:o="border"}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},y_),{right:"3/4"}),l),{freeCSS:v(v({},y_.freeCSS),l.freeCSS)}))},Gd=r=>{let a=r,{tone:o="border"}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},y_),{left:"3/4"}),l),{freeCSS:v(v({},y_.freeCSS),l.freeCSS)}))};var IO=K(At());var zO=r=>(0,IO.jsx)(X,v({htmlTag:"input"},r));var sw=K(At()),Xd=K(ar()),hm=K(fr());var Un=K(At()),mf=K(fr()),da=K(ar());var ow={};Rd(ow,{Accordion:()=>nw,LinkifyText:()=>BO,List:()=>FO,ListItem:()=>Kd,Literal:()=>or,Row:()=>_t});var aw=K(At()),po=K(ar()),Ns=K(fr());var d$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,u=$e(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,Ns.useState)((0,po.UUID)()),[p]=(0,Ns.useState)((0,po.UUID)()),[m,_]=(0,Ns.useState)(s),[b,S]=(0,Ns.useState)(0);f&&m!=s&&_(s);let w=(0,Ns.useRef)(!1);return(0,Ns.useEffect)(()=>{po.default.scope(()=>{let k=vt('[data-accordion-content-id="'+p+'"]')[0];if(!k)return;let A=k.offsetHeight,N=0;l=="fast"?(N=A/1e3,N=Math.max(N,.2)):l=="slow"&&(N=A/300),S(A),vt("#"+h).css({transition:N+"s"})}),po.default.scope(()=>{o&&po.useStore.set({["Accordion-"+o]:{open:()=>{_(!0)},close:()=>{_(!1)},toggle:()=>{_(k=>!k)}}})})},[]),po.useStore.update({["Accordion-"+o]:{isOpen:!!m}}),(0,Ns.useEffect)(()=>{let k=vt("#"+h),A=vt('[data-accordion-content-id="'+p+'"]')[0];w.current||(w.current=!0),po.default.scope(()=>{if(!A||po.default.is.nullish(b))return;let N=A.offsetHeight;b!=N&&S(N),b&&k.css({maxHeight:N+1+"px"}).await(100),m?k.css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"})})},[m]),(0,aw.jsx)(X,{className:[KS("Wrap"),KS("Open_"+m)].join(" "),id:h,children:(0,aw.jsx)(X,v({"data-accordion-content-id":p},u))})},nw=d$;nw.fn={open:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.toggle()},isOpen:r=>{let a=po.useStore.get("Accordion-"+r);if(a)return a.isOpen}};var dm=K(At());var BO=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=s[u];l.push(h),u<f.length-1&&l.push((0,dm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,dm.jsx)(dm.Fragment,{children:l})};var Nl=K(At());var FO=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=$e(a,["items","ListChildCallback"]);l=l||jO;let f=o.map((u,h)=>(0,Nl.jsx)(l,{children:u,index:h},h));return(0,Nl.jsx)(X,T(v({htmlTag:"ul",children:f},s),{freeCSS:v({listStyle:"none"},s.freeCSS)}))},jO=r=>(0,Nl.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Kd=jO;Kd.Center=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Left=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Right=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Separate=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var pm=K(At());var _t={Center:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var gc=K(At());var hf=r=>(0,gc.jsx)(X,v({},r)),or=hf;or.Title=r=>(0,gc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),or.SubTitle=r=>(0,gc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),or.ThirdTitle=r=>(0,gc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),or.Paragraph=r=>(0,gc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),or.Description=r=>(0,gc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),or.Supplement=r=>(0,gc.jsx)(hf,v({fontSize:"1.mini"},r)),or.NowrapSpan=r=>(0,gc.jsx)(Cn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var HO=K(At()),iw=K(ar());var _r=K(At()),Ft=K(ar()),hn=K(fr());var Ro={currentIndex:0,openQueue:{},getSessionStates:()=>Ft.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(v({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,Ft.UUID)(),isOpen:!0,created_at:(0,Ft.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}},T_={Wrapper:()=>{let[r,a]=(0,hn.useState)([]),o={val_sheets:r,set_sheets:a},l="sessionStates-"+ht.get().sessionUID;Ft.useStore.set({[l]:o}),(0,hn.useEffect)(()=>{let f="Sheet-"+ht.get().sessionUID;Ft.useStore.set({[f]:{add:(u,h)=>{let p=Ft.useStore.get(f);if(!p)return;let m=Ro.getNewSheetStates(u);if(!Ro.openQueue[m.sheetID]){if(Ro.openQueue[m.sheetID]=!0,h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){a(_=>{let b=[..._],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b}),delete Ro.openQueue[m.sheetID];return}a(_=>[m,..._])}},find:u=>{let h=Ro.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,Ft.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let m=Ro.getSessionStates();if(!m)return;let{val_sheets:_}=m,b=_.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);sr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Ro.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=u.target;if(!m||m!=null&&m.closest("."+va("CustomSheet")))return;let _=p.filter(b=>b.type=="custom");_.length&&_.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=vt(S)[0];S!==m&&w!==m&&((0,Ft.default)(w).find(m).length||sr.close(b.sheetID))})}})},[]);let s=r.map(f=>(0,_r.jsx)(T_.Core,T(v({},o),{val_sheet:f,patch_sheet:u=>{a(h=>{let p=[...h],m=p.findIndex(_=>_.sheetID==f.sheetID);return m==-1||(p[m]=v(v({},p[m]),u)),p})},delete_sheet:()=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==f.sheetID);return p==-1||h.splice(p,1),h})}}),f.sheetID));return(0,_r.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:s})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,hn.useState)(Ro.currentIndex+2),[f]=(0,hn.useState)((0,Ft.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,hn.useEffect)(()=>{Ro.currentIndex++,Ft.default.scope(()=>{if(!a.closeAtParentBlur)return;let _=(0,Ft.default)(a.parent);_[0]&&_.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{_.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Ft.useStore.set({[a.sheetID]:{resize:_=>{if(a.type=="drawer.bottom"){let b=Ft.useStore.get(f);b&&b.resize&&b.resize(_)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:_})},close:_=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,hn.useEffect)(()=>{Ft.default.scope(()=>{let _=vt("#"+f);if(a.isOpen){a.hold_state&&s(Ro.currentIndex+1),_.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{delete Ro.openQueue[a.sheetID],a.openAfter&&a.openAfter()});return}_.await(10).removeClass(va("Open")).await(251).addClass(va("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&ht.get().browserIs!="safari"&&(0,Ft.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=T_.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,_r.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,_r.jsxs)(er,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,_r.jsx)(T_.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,_r.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:_,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:A,closeAtSwipeDown:N,hold_state:Y,overwrap:M,isOpen:H,backgroundEffect:F}=a,Z=$e(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[O,ae]=h.split("."),_e={},ee=[];return ae.match(/top/)?(ee.push("top"),_e.marginBottom="auto"):ae.match(/middle/)?(ee.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):ae.match(/bottom/)&&(ee.push("bottom"),_e.marginTop="auto"),ae.match(/left/i)?(ee.push("left"),_e.marginRight="auto"):ae.match(/center/i)?(ee.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):ae.match(/right/i)&&(ee.push("right"),_e.marginLeft="auto"),(0,_r.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Z),_e),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ee.join(" ")},m),children:Ft.default.is.function(f)?(0,_r.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:_,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:A,hold_state:N,overwrap:Y,isOpen:M,backgroundEffect:H}=a,F=$e(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,_r.jsx)(X,T(v(T(v({className:[va("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:Ft.default.is.function(u)?(0,_r.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:_,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:A,closeAtSwipeDown:N=!0,hold_state:Y,overwrap:M,isOpen:H,backgroundEffect:F}=a,Z=$e(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),O=Ft.default.getScreenSize(),ae=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[ee,ye]=(0,hn.useState)(h),[be,he]=(0,hn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:ae[_e[h]]});Ft.useStore.update({[o]:{val_edit:be,resize:de=>{let B=ae[_e[de]];he(W=>T(v({},W),{value:B})),ye(de)}}});let j={Start:de=>{(0,Ft.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:j.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:j.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:j.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:j.End});let B=Ft.default.getCursor(de),W=T(v({},be),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:be.value,viewHeight:Ft.default.getScreenSize().height});Ft.useStore.update({[o]:{val_edit:W}}),he(W)},Move:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ie=(Ft.default.getCursor(de).y-W.originY)/W.viewHeight,te=W.originValue-ie;if(te>.95)te=.95+(te-.95)*.5;else if(te<.2){let se=.2-te;se-=.1,te=.1+(.1-se)*.5}return he(T(v({},W),{value:te})),de.preventDefault(),de.stopPropagation(),!1},End:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Ft.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ie=0;if(W.value<.1||(W.value<.5?ie=1:W.value>.75?ie=3:ie=2),new Date().getTime()-W.processStart<300){let te=Ft.default.getCursor(de).y-W.originY;if(Math.abs(te)>=20){let se=+(te<0)*2-1;ie+=se,ie=Math.min(Math.max(ie,0),ae.length-1)}}ie==0&&(N||(ie=1)),ye(["ZERO","S","R","L"][ie]),he(T(v({},W),{value:ae[ie],process:!1}))}},le=(0,hn.useRef)(!1);return(0,hn.useEffect)(()=>{le.current?ee=="ZERO"?N&&sr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ee)},250):le.current=!0},[ee]),(0,_r.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:O.height*be.value},be.process?{transition:"0s"}:{}),children:(0,_r.jsxs)(er,T(v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},m),{children:[(0,_r.jsxs)(_t.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,_r.jsx)(X,{ssSphere:2.5}),(0,_r.jsx)(_t.Center,{onPointerDown:j.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,_r.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,_r.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{sr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Z),{children:Ft.default.is.function(u)?(0,_r.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:_,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:A,openAfter:N,closeAfter:Y,overwrap:M,isOpen:H,resize:F,backgroundEffect:Z}=a,O=$e(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[ae]=(0,hn.useState)((0,Ft.UUID)()),_e=Ft.default.is.element(u)||Ft.default.is.jmini(u)?(0,Ft.default)(u):vt(u),ee='[data-sheet-id="'+ae+'"]',ye='[data-sheet-content="'+ae+'"]';p=p;let be=p%5||5,he=Math.ceil(p/5),j={Init:()=>{if(h&&f){let Se=Ft.default.getScreenSize(),je=Ft.default.getCursor(f);return{top:je.y-Se.pageYOffset,left:je.x-Se.pageXOffset}}let de={};if(!_e||!_e[0])return de;let{top:B,right:W,bottom:ie,left:te,height:se,width:we}=_e.position();return[1,2].includes(be)?de.left=te:be==3?de.left=te+we/2:[4,5].includes(be)&&(de.left=W),p<=10?de.top=B:p<=15?de.top=B+se/2:p<=25&&(de.top=ie),de},Adjust:()=>{let de=vt(ee).position(),B=vt(ye).position(),W=_e.position(),ie=Ft.default.getScreenSize(),te={};for(let Se in B)te[Se]=B[Se];if(Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;he==1?Se=W.top-te.bottom:he==2?Se=W.top-te.top:he==3?Se=W.top-te.top+(W.height-te.height)/2:he==4?Se=W.bottom-te.bottom:he==5&&(Se=W.bottom-te.top),te.top+=Se,te.bottom+=Se}),Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;be==1?Se=W.left-te.right:be==2?Se=W.left-te.left:be==3?Se=W.left-te.left+(W.width-te.width)/2:be==4?Se=W.right-te.right:be==5&&(Se=W.right-te.left),te.left+=Se,te.right+=Se}),te.top<0){let Se=-te.top;te.top+=Se,te.bottom+=Se}if(te.bottom>ie.height){let Se=te.bottom-ie.height;te.top-=Se,te.bottom-=Se}if(te.left<0){let Se=-te.left;te.left+=Se,te.right+=Se}if(te.right>ie.width){let Se=te.right-ie.width;te.left-=Se,te.right-=Se}let se=te.top-B.top,we=te.left-B.left;(0,Ft.default)(ee).css({top:de.top+se+"px",left:de.left+we+"px"})}},[le]=(0,hn.useState)(j.Init());return(0,hn.useEffect)(()=>{vt(ee).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&j.Adjust()}),Ft.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{j.Adjust()}}})},[]),_e[0]?(0,_r.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":ae,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,_r.jsx)(Lt,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+be),va("Row_"+he)].join(" "),children:(0,_r.jsx)(X,T(v({"data-sheet-content":ae,flexSizing:"none",maxHeight:"viewHeight"},O),{freeCSS:v({maxWidth:"98vw"},O.freeCSS),children:Ft.default.is.function(m)?(0,_r.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,_r.jsx)(X,{className:va("TapSensor"),children:(0,_r.jsx)(lt.Plain,{className:va("TapContent"),onClick:a=>{var o;(o=r.delegateAroundClick)!=null&&o&&sr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},sr={Wrapper:()=>(0,_r.jsx)(T_.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:l}=a,s=$e(a,["isOpen","children"]);return(0,hn.useEffect)(()=>{if(o){sr.open(T(v({},s),{content:l}));return}s.sheetID&&sr.close(s.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Ft.UUID)(),s=r,{type:f,src:u}=s,h=$e(s,["type","src"]);sr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,hn.useState)(Ft.default.flatArray(u)),[m,_]=(0,hn.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,_r.jsx)(Dl,{src:Ft.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,_r.jsxs)(er,{gap:0,height:1,position:"relative",children:[(0,_r.jsxs)(_t.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,_r.jsx)(ga.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{_(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,_r.jsx)(lt.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{sr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(vc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,_r.jsx)(Dl,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Ft.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Ft.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Ft.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Ro.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Ft.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&sr.close(l.sheetID)},closeAll:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||sr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,_r.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Oa={__memoryID:(0,iw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,iw.UUID)(),tipsGroups:l=[]}=a,s=$e(a,["tipsID","tipsGroups"]);sr.open(T(v({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&sr.close(r)},closeALL:()=>{sr.closeGroup("tooltips")},Body:r=>(0,HO.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ra=r=>{let[a]=(0,mf.useState)(r.componentID||(0,da.UUID)());r=v({},r),r.states=T(v({enableFormSubmit:!0,status_id:(0,da.UUID)(),override:"never",form:"",id:(0,da.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Un.jsx)(o,v({},r.states))},Ha=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:u}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Un.jsxs)(_t.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Ud("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(lw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Un.jsxs)(Lt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(lw.RightIcon,v({},r)),(0,Un.jsx)(lw.ClearButton,v({},r))]}),s.rightIndicator]}))},lw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Un.jsx)(lt.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=>T(v({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,da.UUID)()}))},children:(0,Un.jsx)(Ne.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,f="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,mf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Oa.close(u);return}Oa.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Oa.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Un.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Un.jsx)(er,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:_}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Un.jsxs)(_t.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Un.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Un.jsx)(or.Supplement,{fontSize:"0.xs",fontColor:"white",children:_})]},p+"-"+da.default.Stringify(h))})})]})})},350,s),da.default.interval.once(()=>{Oa.close(u)},6e3,f)},[a]),null}},jt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=l;(0,mf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,_)=>{da.useStore.get(p).ResolveRefresh=m,s(b=>T(v({},b),{eventType:"refresh",eventID:(0,da.UUID)()}))}),GenNotice:m=>{let{ok:_,notice:b}=m;u({ok:_,notice:b})}}}),()=>{da.useStore.delete(p)}),[]),da.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let _=da.useStore.get(l.componentID);_&&(o.value!=l.dataValue&&o.status_id!=_.status_id&&s(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,da.UUID)()})),_.status_id=o.status_id)}),(0,mf.useEffect)(()=>{jt.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,mf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:_,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),_=="refresh"){let w=da.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else _=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,_,m),da.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,_,m)}))}),()=>{da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;da.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,f=()=>La(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:u.ok,notice:[...s,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}da.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=vt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&u)||f==" "&&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}},Vn=function(r){r=v({tone:"border"},r);let a=da.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(v({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(v({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(v({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(v(v(v(v(v(v({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:v({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Ud("Input"),r.className].join(" ")})};var p$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=$e(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,hm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Xd.UUID)()}),[m,_]=(0,hm.useState)({ok:!1,notice:[]});return(0,hm.useEffect)(()=>{Xd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Xd.UUID)()}))},[r.value]),jt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:_,SystemValidation:()=>({ok:!0,notice:[]})}),(0,sw.jsx)("input",T(v({value:Xd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},UO=r=>(0,sw.jsx)(Ra,{componentID:r.componentID,children:p$,states:r});var cr=K(At()),_a=K(ar()),Os=K(fr());var XO=K(KO());var mm=K(At()),R_=K(fr()),E_=K(ar());var mu=r=>{if(!r.label)return null;let[a,o]=(0,R_.useState)({});return(0,R_.useEffect)(()=>{let l=(0,E_.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,E_.default)('[data-input-label="'+r.componentID+'"]'),f=(0,E_.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let u=l.position(),h=f.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,m=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,mm.jsx)(X,T(v({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",fontHeight:"inherit"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none"},a.freeCSS),children:(0,mm.jsxs)(_t.Left,{gap:"1/3",children:[r.label,r.required&&(0,mm.jsx)(Cn,{fontColor:"nega",children:" * "})]})}))};var h$={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"},number:{reg:/^-?[0-9\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\,\.]{0,}[0-9]{1,}$/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,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{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,cr.jsx)(X,{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,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,cr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,cr.jsx)(X,{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"}},Ol={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=vt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:u}=o,h=[];if(f||(s=s||255),_a.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=Ol.Validation.Text(a,l);p.ok||h.push({type:"invalid",label:p.body})}else u&&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=h$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,allowDecimals:o,allowZeroStart:l,value:s=""}=r,f=String(s);["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(f=f.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(f=f.removeLetters()),_a.default.scope(()=>{if(!["number","digitNumber"].includes(a))return;f=f.replace(/(\.\d+)\..*/g,"$1").replace(/\.+/g,".").replace(/[^0-9.-]/g,"");let h=Number(f)<0||f[0]=="-";f=f.replace(/[^0-9.]/g,""),h&&(f="-"+f),o||(f=f.replace(/\.\d?/g,"")),_a.default.scope(()=>{a=="number"&&(l||(f=f.replace(/^0(\d+)/g,"$1").replace(/^-0(\d+)/g,"-$1")))}),_a.default.scope(()=>{let p=f.slice(-1);f&&p!="."&&p!="-"&&(_a.default.is.exist(r.min)&&(f=String(Math.max(Number(f),Number(r.min)))),_a.default.is.exist(r.max)&&(f=String(Math.min(Number(f),Number(r.max)))))}),_a.default.scope(()=>{if(!f||f=="-"||a!="digitNumber")return;let p=Number(f)<0,m=String(Math.abs(Math.round(Number(f)))),_=f.split("."),b=[];for(let S=m.length-1;S>=0;S--){b.unshift(m[S]);let w=m.length-1-S+1;S!=0&&w%3==0&&b.unshift(",")}f=b.join(""),p&&(f="-"+f),(_==null?void 0:_.length)==2&&(f+="."+_[1]||"")})});let u=f;return a=="digitNumber"||(a=="postal"?f.length>=4&&(u=f.clip(0,3)+"-"+f.clip(3)):a=="creditCard"&&(u=f.replace(/.{4}(?=.)/g,"$& "))),f=f.replace(/,/g,""),{formatValue:u,dataValue:f}}},Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,Os.useEffect)(()=>{_a.default.scope(()=>La(void 0,null,function*(){if(!a.multiline)return;let p=(0,_a.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,_a.default)('[data-input-shallow="'+o.componentID+'"]'),_=(0,_a.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,_a.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!_[0]||!b[0])return;let S=m.position(),w=_.position(),k=b.position(),A=0;a.autoHeight&&(A=S.height),A=Math.max(A,w.height),A=Math.min(A,k.height),p[0].style.height=A+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
978
+ </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{pf.End(W)}}).find("#"+f).find("."+es("Wave")).css({left:R,top:N}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,al.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,al.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+es("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},AO={Wrapper:()=>(typeof window=="undefined"||(0,al.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:pf.RippleElementTag,callback:r=>{pf.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pf.RippleElementTag,callback:r=>{ht.get().isTouchDevice||pf.Start(r)}}),null)};var rw=K(nr());var LO={Wrapper:()=>(typeof window=="undefined"||(0,rw.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,rw.default)(r.target).removeClass(es("PuddingEffect")).await(1).addClass(es("PuddingEffect")).await(510).removeClass(es("PuddingEffect"))}}),null)};var vc={Ripple:AO,Pudding:LO,FadeIn:RO,FadeUp:DO};var OO=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,cm.jsx)(vc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,NO.useState)(a);return s!=a&&f(a),(0,cm.jsx)(cm.Fragment,{children:l(o[a])})};var fm=K(Dt()),Ll=K(nr()),pu=K(dr());var u$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:_}=a,b=$e(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Ll.UUID)()),[w,k]=(0,pu.useState)({eventType:"init",index:r.slideIndex}),R=(0,pu.useRef)(!1);(0,pu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),R.current||(R.current=!0)},[r.slideIndex]),(0,pu.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Q=vt("#Swiper-"+S);if(w.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:$d(j)}).children().removeClass(Oa("Display")).parent().children(j).addClass([Oa("Display"),Oa("LoopAdjusting")]).await(100).removeClass(Oa("LoopAdjusting"));else if(w.eventType=="sys")Q.await(250).css({transform:$d(j)}).children().removeClass(Oa("Display")).parent().children(j).addClass(Oa("Display"));else if(Q.children().removeClass(Oa("Display")).parent().children(j).addClass(Oa("Display")).parent().css({transition:"0.3s",transform:$d(j)}).await(250).css({transition:"0s"}),F){let M=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:M})}s&&!F&&Ll.default.interval.once(()=>{let M=w.index+1;!f&&M>m.length-1&&(M=0),k({eventType:"usr",index:M})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let N=m.map((j,F)=>(0,fm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Oa("Child"),children:p(j)},F));f&&(N.push(T(v({},N[0]),{key:N[0].key+"-Shallow0"})),N.unshift(T(v({},N[N.length-2]),{key:N[N.length-2].key+"-Shallow0"})));let W={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=w.index+ +!!f;return(0,fm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Oa("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(u||j.buttons!=1))return;um.Start(j,W)},children:(0,fm.jsx)(Lt,{flexWrap:!1,gap:1,transition:"long",className:[Oa("Rail"),Oa("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},R.current?{}:{transform:$d(O)}),children:N})}))},$d=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,um={Start:(r,a)=>{let{x:o,y:l}=Ll.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(v({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:vt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,Ll.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{um.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{um.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Ll.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Ll.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);vt("#Swiper-"+a.id).children(u-1).addClass(Oa("Display")),(0,Ll.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{um.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{um.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Ll.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 f=s-a.maxIndex;s=a.maxIndex+f/2}vt("#Swiper-"+a.id).css({transition:"0s",transform:$d(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Ll.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;s<400?u=f-(+(o>0)*2-1):u=Math.round(f-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,f===u?(a.effectStartAt=l,vt("#Swiper-"+a.id).css({transition:".2s",transform:$d(u)}).await(310).css({transition:"0s"}).children().removeClass(Oa("Display")).parent().children(f).addClass(Oa("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Ll.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},MO=r=>(0,fm.jsx)(u$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var B_=K(Dt()),Y7=K(dr());var hu=K(Dt());var PO=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=T(v({},a),{border:!0}):r=="cloud"?a=T(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(v({},a),{borderRadius:0,borderBottom:!0})),a},y_={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},S_=r=>(0,hu.jsx)(xn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),w_=r=>(0,hu.jsx)(xn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),C_=r=>(0,hu.jsx)(xn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),x_=r=>{let a=r,{tone:o}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},PO(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},k_=r=>{let a=r,{tone:o}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},PO(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ha=r=>{let a=r,{tone:o="border"}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},y_),{right:"3/4"}),l),{freeCSS:v(v({},y_.freeCSS),l.freeCSS)}))},Gd=r=>{let a=r,{tone:o="border"}=a,l=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},y_),{left:"3/4"}),l),{freeCSS:v(v({},y_.freeCSS),l.freeCSS)}))};var IO=K(Dt());var zO=r=>(0,IO.jsx)(X,v({htmlTag:"input"},r));var sw=K(Dt()),Xd=K(nr()),hm=K(dr());var Vn=K(Dt()),mf=K(dr()),pa=K(nr());var ow={};Rd(ow,{Accordion:()=>nw,LinkifyText:()=>BO,List:()=>FO,ListItem:()=>Kd,Literal:()=>ir,Row:()=>_t});var aw=K(Dt()),ho=K(nr()),Ns=K(dr());var d$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,u=$e(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,Ns.useState)((0,ho.UUID)()),[p]=(0,Ns.useState)((0,ho.UUID)()),[m,_]=(0,Ns.useState)(s),[b,S]=(0,Ns.useState)(0);f&&m!=s&&_(s);let w=(0,Ns.useRef)(!1);return(0,Ns.useEffect)(()=>{ho.default.scope(()=>{let k=vt('[data-accordion-content-id="'+p+'"]')[0];if(!k)return;let R=k.offsetHeight,N=0;l=="fast"?(N=R/1e3,N=Math.max(N,.2)):l=="slow"&&(N=R/300),S(R),vt("#"+h).css({transition:N+"s"})}),ho.default.scope(()=>{o&&ho.useStore.set({["Accordion-"+o]:{open:()=>{_(!0)},close:()=>{_(!1)},toggle:()=>{_(k=>!k)}}})})},[]),ho.useStore.update({["Accordion-"+o]:{isOpen:!!m}}),(0,Ns.useEffect)(()=>{let k=vt("#"+h),R=vt('[data-accordion-content-id="'+p+'"]')[0];w.current||(w.current=!0),ho.default.scope(()=>{if(!R||ho.default.is.nullish(b))return;let N=R.offsetHeight;b!=N&&S(N),b&&k.css({maxHeight:N+1+"px"}).await(100),m?k.css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"})})},[m]),(0,aw.jsx)(X,{className:[KS("Wrap"),KS("Open_"+m)].join(" "),id:h,children:(0,aw.jsx)(X,v({"data-accordion-content-id":p},u))})},nw=d$;nw.fn={open:r=>{let a=ho.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=ho.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=ho.useStore.get("Accordion-"+r);!a||a.toggle()},isOpen:r=>{let a=ho.useStore.get("Accordion-"+r);if(a)return a.isOpen}};var dm=K(Dt());var BO=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=s[u];l.push(h),u<f.length-1&&l.push((0,dm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,dm.jsx)(dm.Fragment,{children:l})};var Nl=K(Dt());var FO=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=$e(a,["items","ListChildCallback"]);l=l||jO;let f=o.map((u,h)=>(0,Nl.jsx)(l,{children:u,index:h},h));return(0,Nl.jsx)(X,T(v({htmlTag:"ul",children:f},s),{freeCSS:v({listStyle:"none"},s.freeCSS)}))},jO=r=>(0,Nl.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Kd=jO;Kd.Center=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Left=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Right=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Kd.Separate=r=>(0,Nl.jsx)(X,{htmlTag:"li",children:(0,Nl.jsx)(_t.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var pm=K(Dt());var _t={Center:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var gc=K(Dt());var hf=r=>(0,gc.jsx)(X,v({},r)),ir=hf;ir.Title=r=>(0,gc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),ir.SubTitle=r=>(0,gc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),ir.ThirdTitle=r=>(0,gc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),ir.Paragraph=r=>(0,gc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),ir.Description=r=>(0,gc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),ir.Supplement=r=>(0,gc.jsx)(hf,v({fontSize:"1.mini"},r)),ir.NowrapSpan=r=>(0,gc.jsx)(xn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var HO=K(Dt()),iw=K(nr());var _r=K(Dt()),jt=K(nr()),hn=K(dr());var Ro={currentIndex:0,openQueue:{},getSessionStates:()=>jt.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(v({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}},T_={Wrapper:()=>{let[r,a]=(0,hn.useState)([]),o={val_sheets:r,set_sheets:a},l="sessionStates-"+ht.get().sessionUID;jt.useStore.set({[l]:o}),(0,hn.useEffect)(()=>{let f="Sheet-"+ht.get().sessionUID;jt.useStore.set({[f]:{add:(u,h)=>{let p=jt.useStore.get(f);if(!p)return;let m=Ro.getNewSheetStates(u);if(!Ro.openQueue[m.sheetID]){if(Ro.openQueue[m.sheetID]=!0,h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){a(_=>{let b=[..._],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b}),delete Ro.openQueue[m.sheetID];return}a(_=>[m,..._])}},find:u=>{let h=Ro.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,jt.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let m=Ro.getSessionStates();if(!m)return;let{val_sheets:_}=m,b=_.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);cr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Ro.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=u.target;if(!m||m!=null&&m.closest("."+ga("CustomSheet")))return;let _=p.filter(b=>b.type=="custom");_.length&&_.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=vt(S)[0];S!==m&&w!==m&&((0,jt.default)(w).find(m).length||cr.close(b.sheetID))})}})},[]);let s=r.map(f=>(0,_r.jsx)(T_.Core,T(v({},o),{val_sheet:f,patch_sheet:u=>{a(h=>{let p=[...h],m=p.findIndex(_=>_.sheetID==f.sheetID);return m==-1||(p[m]=v(v({},p[m]),u)),p})},delete_sheet:()=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==f.sheetID);return p==-1||h.splice(p,1),h})}}),f.sheetID));return(0,_r.jsx)(X,{className:["AMOTIFY_be",ga("Wrapper")].join(" "),children:s})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,hn.useState)(Ro.currentIndex+2),[f]=(0,hn.useState)((0,jt.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,hn.useEffect)(()=>{Ro.currentIndex++,jt.default.scope(()=>{if(!a.closeAtParentBlur)return;let _=(0,jt.default)(a.parent);_[0]&&_.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{_.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),jt.useStore.set({[a.sheetID]:{resize:_=>{if(a.type=="drawer.bottom"){let b=jt.useStore.get(f);b&&b.resize&&b.resize(_)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:_})},close:_=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,hn.useEffect)(()=>{jt.default.scope(()=>{let _=vt("#"+f);if(a.isOpen){a.hold_state&&s(Ro.currentIndex+1),_.await(10).removeClass(ga("Hide")).await(10).addClass(ga("Open")).callback(()=>{delete Ro.openQueue[a.sheetID],a.openAfter&&a.openAfter()});return}_.await(10).removeClass(ga("Open")).await(251).addClass(ga("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&ht.get().browserIs!="safari"&&(0,jt.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=T_.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,_r.jsx)(X,{className:[ga("Wrap"),ga("Tcate_"+h),ga("Tpos_"+p),ga("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,_r.jsxs)(er,{className:ga("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,_r.jsx)(T_.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,_r.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:_,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:R,closeAtSwipeDown:N,hold_state:W,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=$e(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[M,te]=h.split("."),_e={},ee=[];return te.match(/top/)?(ee.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(ee.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(ee.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(ee.push("left"),_e.marginRight="auto"):te.match(/center/i)?(ee.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(ee.push("right"),_e.marginLeft="auto"),(0,_r.jsx)(X,T(v(v({className:[ga("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ee.join(" ")},m),children:jt.default.is.function(f)?(0,_r.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:_,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:R,hold_state:N,overwrap:W,isOpen:O,backgroundEffect:j}=a,F=$e(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,_r.jsx)(X,T(v(T(v({className:[ga("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:jt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:_,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:R,closeAtSwipeDown:N=!0,hold_state:W,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=$e(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),M=jt.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[ee,de]=(0,hn.useState)(h),[pe,ve]=(0,hn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});jt.useStore.update({[o]:{val_edit:pe,resize:fe=>{let B=te[_e[fe]];ve(q=>T(v({},q),{value:B})),de(fe)}}});let H={Start:fe=>{(0,jt.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=jt.default.getCursor(fe),q=T(v({},pe),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:pe.value,viewHeight:jt.default.getScreenSize().height});jt.useStore.update({[o]:{val_edit:q}}),ve(q)},Move:fe=>{var B;let q=(B=jt.useStore.get(o))==null?void 0:B.val_edit;if(!q.process)return;let ie=(jt.default.getCursor(fe).y-q.originY)/q.viewHeight,re=q.originValue-ie;if(re>.95)re=.95+(re-.95)*.5;else if(re<.2){let he=.2-re;he-=.1,re=.1+(.1-he)*.5}return ve(T(v({},q),{value:re})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let q=(B=jt.useStore.get(o))==null?void 0:B.val_edit;if(!q.process)return;(0,jt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ie=0;if(q.value<.1||(q.value<.5?ie=1:q.value>.75?ie=3:ie=2),new Date().getTime()-q.processStart<300){let re=jt.default.getCursor(fe).y-q.originY;if(Math.abs(re)>=20){let he=+(re<0)*2-1;ie+=he,ie=Math.min(Math.max(ie,0),te.length-1)}}ie==0&&(N||(ie=1)),de(["ZERO","S","R","L"][ie]),ve(T(v({},q),{value:te[ie],process:!1}))}},le=(0,hn.useRef)(!1);return(0,hn.useEffect)(()=>{le.current?ee=="ZERO"?N&&cr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ee)},250):le.current=!0},[ee]),(0,_r.jsx)(X,{className:ga("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:M.height*pe.value},pe.process?{transition:"0s"}:{}),children:(0,_r.jsxs)(er,T(v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},m),{children:[(0,_r.jsxs)(_t.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,_r.jsx)(X,{ssSphere:2.5}),(0,_r.jsx)(_t.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,_r.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:ga("DragBar")})}),(0,_r.jsx)(ot.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{cr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:jt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:_,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:R,openAfter:N,closeAfter:W,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,M=$e(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,hn.useState)((0,jt.UUID)()),_e=jt.default.is.element(u)||jt.default.is.jmini(u)?(0,jt.default)(u):vt(u),ee='[data-sheet-id="'+te+'"]',de='[data-sheet-content="'+te+'"]';p=p;let pe=p%5||5,ve=Math.ceil(p/5),H={Init:()=>{if(h&&f){let ge=jt.default.getScreenSize(),je=jt.default.getCursor(f);return{top:je.y-ge.pageYOffset,left:je.x-ge.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:q,bottom:ie,left:re,height:he,width:we}=_e.position();return[1,2].includes(pe)?fe.left=re:pe==3?fe.left=re+we/2:[4,5].includes(pe)&&(fe.left=q),p<=10?fe.top=B:p<=15?fe.top=B+he/2:p<=25&&(fe.top=ie),fe},Adjust:()=>{let fe=vt(ee).position(),B=vt(de).position(),q=_e.position(),ie=jt.default.getScreenSize(),re={};for(let ge in B)re[ge]=B[ge];if(jt.default.scope(()=>{if(r.nextToCursor)return;let ge=0;ve==1?ge=q.top-re.bottom:ve==2?ge=q.top-re.top:ve==3?ge=q.top-re.top+(q.height-re.height)/2:ve==4?ge=q.bottom-re.bottom:ve==5&&(ge=q.bottom-re.top),re.top+=ge,re.bottom+=ge}),jt.default.scope(()=>{if(r.nextToCursor)return;let ge=0;pe==1?ge=q.left-re.right:pe==2?ge=q.left-re.left:pe==3?ge=q.left-re.left+(q.width-re.width)/2:pe==4?ge=q.right-re.right:pe==5&&(ge=q.right-re.left),re.left+=ge,re.right+=ge}),re.top<0){let ge=-re.top;re.top+=ge,re.bottom+=ge}if(re.bottom>ie.height){let ge=re.bottom-ie.height;re.top-=ge,re.bottom-=ge}if(re.left<0){let ge=-re.left;re.left+=ge,re.right+=ge}if(re.right>ie.width){let ge=re.right-ie.width;re.left-=ge,re.right-=ge}let he=re.top-B.top,we=re.left-B.left;(0,jt.default)(ee).css({top:fe.top+he+"px",left:fe.left+we+"px"})}},[le]=(0,hn.useState)(H.Init());return(0,hn.useEffect)(()=>{vt(ee).await(10).addClass(ga("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),jt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,_r.jsx)(X,{className:[ga("BB"),ga("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,_r.jsx)(Lt,{position:"absolute",className:[ga("GPT"),ga("GPT_"+p),ga("Col_"+pe),ga("Row_"+ve)].join(" "),children:(0,_r.jsx)(X,T(v({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},M),{freeCSS:v({maxWidth:"98vw"},M.freeCSS),children:jt.default.is.function(m)?(0,_r.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,_r.jsx)(X,{className:ga("TapSensor"),children:(0,_r.jsx)(ot.Plain,{className:ga("TapContent"),onClick:a=>{var o;(o=r.delegateAroundClick)!=null&&o&&cr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},cr={Wrapper:()=>(0,_r.jsx)(T_.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:l}=a,s=$e(a,["isOpen","children"]);return(0,hn.useEffect)(()=>{if(o){cr.open(T(v({},s),{content:l}));return}s.sheetID&&cr.close(s.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,jt.UUID)(),s=r,{type:f,src:u}=s,h=$e(s,["type","src"]);cr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,hn.useState)(jt.default.flatArray(u)),[m,_]=(0,hn.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,_r.jsx)(Dl,{src:jt.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,_r.jsxs)(er,{gap:0,height:1,position:"relative",children:[(0,_r.jsxs)(_t.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,_r.jsx)(da.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{_(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,_r.jsx)(ot.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{cr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(vc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,_r.jsx)(Dl,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=jt.useStore.get("Sheet-"+ht.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=Ro.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=jt.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&cr.close(l.sheetID)},closeAll:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||cr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,_r.jsx)(X,v({className:ga("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Ma={__memoryID:(0,iw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,iw.UUID)(),tipsGroups:l=[]}=a,s=$e(a,["tipsID","tipsGroups"]);cr.open(T(v({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&cr.close(r)},closeALL:()=>{cr.closeGroup("tooltips")},Body:r=>(0,HO.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Da=r=>{let[a]=(0,mf.useState)(r.componentID||(0,pa.UUID)());r=v({},r),r.states=T(v({enableFormSubmit:!0,status_id:(0,pa.UUID)(),override:"never",form:"",id:(0,pa.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Vn.jsx)(o,v({},r.states))},Ua=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:u}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Vn.jsxs)(_t.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Ud("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Vn.jsx)(lw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Vn.jsxs)(Lt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Vn.jsx)(lw.RightIcon,v({},r)),(0,Vn.jsx)(lw.ClearButton,v({},r))]}),s.rightIndicator]}))},lw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Vn.jsx)(ot.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=>T(v({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,pa.UUID)()}))},children:(0,Vn.jsx)(Ne.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,f="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,mf.useEffect)(()=>{pa.default.interval.once(()=>{if(!a.length){Ma.close(u);return}Ma.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Vn.jsxs)(Ma.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Vn.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Vn.jsx)(er,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:_}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Vn.jsxs)(_t.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Vn.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Vn.jsx)(ir.Supplement,{fontSize:"0.xs",fontColor:"white",children:_})]},p+"-"+pa.default.Stringify(h))})})]})})},350,s),pa.default.interval.once(()=>{Ma.close(u)},6e3,f)},[a]),null}},Ht={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,pa.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=l;(0,mf.useEffect)(()=>(pa.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,_)=>{pa.useStore.get(p).ResolveRefresh=m,s(b=>T(v({},b),{eventType:"refresh",eventID:(0,pa.UUID)()}))}),GenNotice:m=>{let{ok:_,notice:b}=m;u({ok:_,notice:b})}}}),()=>{pa.useStore.delete(p)}),[]),pa.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let _=pa.useStore.get(l.componentID);_&&(o.value!=l.dataValue&&o.status_id!=_.status_id&&s(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,pa.UUID)()})),_.status_id=o.status_id)}),(0,mf.useEffect)(()=>{Ht.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,mf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:_,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),_=="refresh"){let w=pa.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else _=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,_,m),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,_,m)}))}),()=>{pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;pa.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,f=()=>Na(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:u.ok,notice:[...s,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}pa.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=vt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return pa.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&u)||f==" "&&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}},Wn=function(r){r=v({tone:"border"},r);let a=pa.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(v({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(v({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(v({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(v(v(v(v(v(v({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:v({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Ud("Input"),r.className].join(" ")})};var p$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=$e(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,hm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Xd.UUID)()}),[m,_]=(0,hm.useState)({ok:!1,notice:[]});return(0,hm.useEffect)(()=>{Xd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Xd.UUID)()}))},[r.value]),Ht.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:_,SystemValidation:()=>({ok:!0,notice:[]})}),(0,sw.jsx)("input",T(v({value:Xd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},UO=r=>(0,sw.jsx)(Da,{componentID:r.componentID,children:p$,states:r});var ur=K(Dt()),_a=K(nr()),Os=K(dr());var XO=K(KO());var mm=K(Dt()),R_=K(dr()),E_=K(nr());var mu=r=>{if(!r.label)return null;let[a,o]=(0,R_.useState)({});return(0,R_.useEffect)(()=>{let l=(0,E_.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,E_.default)('[data-input-label="'+r.componentID+'"]'),f=(0,E_.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let u=l.position(),h=f.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,m=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,mm.jsx)(X,T(v({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",fontHeight:"inherit"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none"},a.freeCSS),children:(0,mm.jsxs)(_t.Left,{gap:"1/3",children:[r.label,r.required&&(0,mm.jsx)(xn,{fontColor:"nega",children:" * "})]})}))};var h$={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"},number:{reg:/^-?[0-9\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\,\.]{0,}[0-9]{1,}$/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,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(X,{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,ur.jsx)(X,{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,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,ur.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,ur.jsx)(X,{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"}},Ol={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=vt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",defaultValidation:s,maxLength:f,multiline:u,required:h}=o,p=[];if(u||(f=f||255),_a.default.is.exist(f)&&a.length>=Number(f)&&p.push({type:"invalid",label:f+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let m=Ol.Validation.Text(a,l,s);m.ok||p.push({type:"invalid",label:m.body})}else h&&p.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!p.filter(({type:m})=>m=="invalid").length,notice:p}},Text:(r,a,o)=>{let l={ok:!0,body:""};return(()=>{let s=o||h$[a];if(!s)return;let f=s.reason;if(s){let u=!!(+!!r.match(s.reg)^+!s.exist);l={ok:u,body:u?"":f}}})(),l},DataLeveling:r=>{let{restrict:a,allowDecimals:o,allowZeroStart:l,value:s=""}=r,f=String(s);["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(f=f.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(f=f.removeLetters()),_a.default.scope(()=>{if(!["number","digitNumber"].includes(a))return;f=f.replace(/(\.\d+)\..*/g,"$1").replace(/\.+/g,".").replace(/[^0-9.-]/g,"");let h=Number(f)<0||f[0]=="-";f=f.replace(/[^0-9.]/g,""),h&&(f="-"+f),o||(f=f.replace(/\.\d?/g,"")),_a.default.scope(()=>{a=="number"&&(l||(f=f.replace(/^0(\d+)/g,"$1").replace(/^-0(\d+)/g,"-$1")))}),_a.default.scope(()=>{let p=f.slice(-1);f&&p!="."&&p!="-"&&(_a.default.is.exist(r.min)&&(f=String(Math.max(Number(f),Number(r.min)))),_a.default.is.exist(r.max)&&(f=String(Math.min(Number(f),Number(r.max)))))}),_a.default.scope(()=>{if(!f||f=="-"||a!="digitNumber")return;let p=Number(f)<0,m=String(Math.abs(Math.round(Number(f)))),_=f.split("."),b=[];for(let S=m.length-1;S>=0;S--){b.unshift(m[S]);let w=m.length-1-S+1;S!=0&&w%3==0&&b.unshift(",")}f=b.join(""),p&&(f="-"+f),(_==null?void 0:_.length)==2&&(f+="."+_[1]||"")})});let u=f;return a=="digitNumber"||(a=="postal"?f.length>=4&&(u=f.clip(0,3)+"-"+f.clip(3)):a=="creditCard"&&(u=f.replace(/.{4}(?=.)/g,"$& "))),f=f.replace(/,/g,""),{formatValue:u,dataValue:f}}},Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,Os.useEffect)(()=>{_a.default.scope(()=>Na(void 0,null,function*(){if(!a.multiline)return;let p=(0,_a.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,_a.default)('[data-input-shallow="'+o.componentID+'"]'),_=(0,_a.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,_a.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!_[0]||!b[0])return;let S=m.position(),w=_.position(),k=b.position(),R=0;a.autoHeight&&(R=S.height),R=Math.max(R,w.height),R=Math.min(R,k.height),p[0].style.height=R+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
979
979
  T`.repeat(p-1),u=`
980
- T`.repeat(m-1)}let h=Ml(a);return(0,cr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",width:1,freeCSS:T(v({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,cr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",left:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",right:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:u}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let _=a,{componentID:b,tone:S,required:w,restrict:k="text",form:A,autoComplete:N="off",autoCapitalize:Y="off",minRows:M,maxRows:H,multiline:F,autoHeight:Z,enableFormSubmit:O,clearButton:ae=!1,allowDecimals:_e,allowZeroStart:ee,checkValidationAtFirst:ye,onChange:be,onKeyDown:he,onValidate:j,onUpdateValue:le,onUpdateValidValue:de,value:B="",leftIndicator:W,rightIndicator:ie,leftIcon:te,rightIcon:se,maxLength:we,min:Se,max:je,label:Ye,isLabelActive:Ge,wrapStyles:rt}=_,et=$e(_,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","allowDecimals","allowZeroStart","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),Nt=k=="password"||k=="concealed"?"password":"text",$t=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,cr.jsx)(X,T(v({htmlTag:"input",type:Nt,inputMode:$t,"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(o,s,!!ye),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:N,autoCapitalize:Y,onKeyDown:dt=>{let{key:Xe,target:ke}=dt;{let ot=ke,{selectionStart:kt,selectionEnd:Tt}=ot,wt=Number(kt),tr=Number(Tt),Ut=s.formatValue[Number(wt)],dr=s.formatValue[Number(wt)-1];Xe=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(ot.setSelectionRange(wt+1,tr+1),dt.preventDefault()),Xe=="Backspace"&&(k=="creditCard"&&dr==" "||k=="postal"&&dr=="-"||k=="digitNumber"&&dr==",")&&(ot.setSelectionRange(wt-1,tr-1),dt.preventDefault()),Xe=="Enter"||Xe=="Tab"}_a.default.scope(()=>{["number","digitNumber","creditCard"].includes(k)&&Xe=="Clear"&&f(ot=>T(v({},ot),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,_a.UUID)()}))}),_a.default.scope(()=>{var ot;if(!["number","digitNumber"].includes(k)||!["ArrowUp","ArrowDown"].includes(Xe))return;let kt=+(Xe=="ArrowUp")*2-1,Tt=s.dataValue.slice(-1),wt=s.dataValue,tr=((ot=s.dataValue.split(".")[1])==null?void 0:ot.length)||0;if(!Tt)wt+="0";else if(Tt=="-")wt+="0";else if(Tt==".")wt+="0";else if(tr){let Ut=Number(Tt)+kt;wt=wt.slice(0,-1),Ut<0?wt+="9":Ut>9?wt+="0":wt+=String(Ut)}else wt=String(Number(s.dataValue.replace(/,/g,""))+kt);o.ok&&l({ok:!1,notice:[]}),f(Ut=>T(v(v({},Ut),Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:Se,max:je,restrict:k,value:wt})),{eventType:"update",eventID:(0,_a.UUID)()})),dt.preventDefault()}),he&&he(dt),O&&jt.SubmitForm(dt,A)},onChange:dt=>{let{value:Xe,selectionStart:ke,selectionEnd:ot}=dt.target,kt=Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:Se,max:je,restrict:k,value:Xe});p&&(kt.formatValue=Xe),kt.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(Tt=>T(v(v({},Tt),kt),{prevValue:s.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke),caretTo:Number(ot)})),be&&be(dt))},width:1},et),{onFocus:dt=>{et!=null&&et.onFocus&&(et==null||et.onFocus(dt)),h(!0)},onBlur:dt=>{et!=null&&et.onBlur&&(et==null||et.onBlur(dt)),h(!1)},onCompositionStart:dt=>{et!=null&&et.onCompositionStart&&(et==null||et.onCompositionStart(dt)),m(!0)},onCompositionEnd:dt=>{if(et!=null&&et.onCompositionEnd&&(et==null||et.onCompositionEnd(dt)),k=="text")return;let Xe=Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:Se,max:je,restrict:k,value:s.formatValue});f(ke=>T(v(v({},ke),Xe),{prevValue:ke.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke.formatValue.length+1),caretTo:Number(ke.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:_,tone:b,required:S,form:w,label:k,isLabelActive:A,minRows:N,maxRows:Y,multiline:M,autoHeight:H,allowDecimals:F,allowZeroStart:Z,enableFormSubmit:O,maxLength:ae,checkValidationAtFirst:_e,onChange:ee,onKeyDown:ye,onValidate:be,onUpdateValue:he,onUpdateValidValue:j,value:le="",leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,wrapStyles:te}=m,se=$e(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","allowDecimals","allowZeroStart","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,cr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":jt.isShowValidation(s,u,!!_e),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},se),{onFocus:we=>{se!=null&&se.onFocus&&(se==null||se.onFocus(we)),l(!0)},onBlur:we=>{se!=null&&se.onBlur&&(se==null||se.onBlur(we)),l(!1)},onKeyDown:we=>{ye&&ye(we),O&&jt.SubmitForm(we,w)},onChange:we=>{let{value:Se}=we.target;s.ok&&f({ok:!1,notice:[]}),h(je=>T(v({},je),{dataValue:Se,eventType:"update",eventID:(0,_a.UUID)()})),ee&&ee(we)}})):null}},m$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f,allowDecimals:u,allowZeroStart:h}=r,[p,m]=(0,Os.useState)(!1),[_,b]=(0,Os.useState)(!1),[S,w]=(0,Os.useState)(T(v({componentID:a},Ol.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,_a.UUID)(),caretFrom:null,caretTo:null})),[k,A]=(0,Os.useState)({ok:!1,notice:[]}),N={rootStates:r,val_focus:p,set_focus:m,val_isComposing:_,set_isComposing:b,val_status:S,set_status:w,val_validate:k,set_validate:A};return jt.CommonEffects({type:"textfield",states:r,val_status:S,set_status:w,val_validate:k,set_validate:A,SystemValidation:Ol.Validation.System,ExtraOverrideStates:v({},Ol.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:s,max:f,restrict:o,value:l}))}),(0,Os.useEffect)(()=>{Ol.setSelection({id:r.id,restrict:o,val_status:S})},[S]),(0,cr.jsxs)(Ha,{val_status:S,set_status:w,val_validate:k,states:N.rootStates,children:[(0,cr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||p||!!S.dataValue}),(0,cr.jsx)(Ol.Shallow,v({},N)),(0,cr.jsx)(Ol.InputBox,v({},N)),(0,cr.jsx)(Ol.TextAreaBox,v({},N))]})},as=r=>(r=v({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,cr.jsx)(Ra,{componentID:r.componentID,children:m$,states:Vn(r)})),mn=as;mn.Validate=Ol.Validation.Text,mn.Katakana=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),mn.HankakuKatakana=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),mn.CreditCard=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),mn.Tel=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),mn.Number=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),mn.DigitNumber=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),mn.Email=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),mn.Url=r=>(0,cr.jsx)(as,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),mn.Postal=r=>{let[a]=(0,Os.useState)((0,_a.UUID)());return(0,Os.useEffect)(()=>()=>{_a.useStore.delete(a)},[]),(0,cr.jsx)(as,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,cr.jsx)(Gd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},mn.Password=r=>(0,cr.jsx)(as,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,cr.jsx)(ja,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,cr.jsx)(lt.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_c.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_c.abort,tabIndex:-1,onClick:a=>{(0,_a.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,cr.jsx)(Ne,{icon:XO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),mn.Concealed=r=>(0,cr.jsx)(mn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),mn.Money={JPY:r=>(0,cr.jsx)(mn.DigitNumber,T(v({rightIcon:(0,cr.jsx)(ja,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var D_=K(At()),QO=K(ar()),uw=K(fr());function v$(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:f})=>f=="invalid").length,notice:s}}var g$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:A,rightIndicator:N,leftIcon:Y,rightIcon:M,freeCSS:H,wrapStyles:F}=a,Z=$e(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[O,ae]=(0,uw.useState)(jt.DefaultStatus(o,u)),[_e,ee]=(0,uw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"contenteditable",states:r,val_status:O,set_status:ae,val_validate:_e,set_validate:ee,SystemValidation:v$}),(0,D_.jsx)(Ha,{val_status:O,set_status:ae,val_validate:_e,states:r,children:(0,D_.jsx)(X,T(v({contentEditable:!0,"data-show-validation":jt.isShowValidation(_e,O,!!p),"data-component-id":O.componentID,onKeyDown:ye=>{_&&_(ye),h&&jt.SubmitForm(ye,f)},onInput:ye=>{let be=ye.currentTarget,{innerHTML:he,innerText:j}=be;_e.ok&&ee({ok:!1,notice:[]}),ae(le=>T(v({},le),{dataValue:j,eventType:"update",eventID:(0,QO.UUID)()})),m&&m(ye)}},Z),{children:k}))})},JO=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,D_.jsx)(Ra,{componentID:r.componentID,children:g$,states:a})};var vm=K(At()),fw=K(fr()),Qd=K(ar());function _$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,u=[];return l&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&u.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&u.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!u.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:u}}var b$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},ZO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},y$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:_,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:A,value:N="",override:Y,freeCSS:M,wrapStyles:H,combineInput:F,componentID:Z,listStyles:O}=a,ae=$e(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,ee]=(0,fw.useState)(T(v({componentID:r.componentID||""},b$(h,N)),{eventType:"init",eventID:(0,Qd.UUID)()})),[ye,be]=(0,fw.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:_$});let he=[];for(let j=0;j<h;j++){let le=_e.formatValue[j],de={},B=u;r.combineInput&&(B=[u,Ud("DigitCharacterCell"),Ud("Combined")].join(" ")),he.push((0,vm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+j+"-"+_e.componentID,className:B,style:v(v({},r.style),de),onKeyDown:W=>{let{key:ie,code:te}=W;if(ie=="Tab")return;W.preventDefault();let se=null;if(ie=="Backspace"){let we=_e.formatValue;we[j]="",ee(Se=>T(v(v({},Se),ZO(we)),{eventType:"update",eventID:(0,Qd.UUID)()})),se=j-1}else if(["ArrowLeft","ArrowRight"].includes(ie)){let we=+(ie=="ArrowRight")*2-1;se=j+we}else m&&jt.SubmitForm(W,s),(()=>{let we=te.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let Se=we[2]||we[3]||we[4];if(p&&!Se.match(/\d/)||!Se)return;let je=_e.formatValue;je[j]=Se,ee(Ye=>T(v(v({},Ye),ZO(je)),{eventType:"update",eventID:(0,Qd.UUID)()})),se=j+1})();Qd.default.is.exist(se)&&vt("#Digit-"+se+"-"+_e.componentID).focus()},onChange:()=>{}},j))}return(0,vm.jsx)(Ha,{val_status:_e,set_status:ee,val_validate:ye,states:r,children:(0,vm.jsx)(Lt,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},O),{children:he}))})},e7=r=>{r=v({},r),r=v({textAlign:"center",width:0},r),r.combineInput&&(r=T(v({textAlign:"center",width:0},r),{freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=To(Vn(r));return(0,vm.jsx)(Ra,{componentID:r.componentID,children:y$,states:a})};var ra=K(At()),vn=K(ar()),gm=K(ar()),Do=K(fr());var y7=K(l7()),S7=K(m7());var ur=K(At()),Ua=K(ar()),bc=K(fr());function S$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var v7={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,ur.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ur.jsx)(or.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,ur.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(vu.LegacySelector,v({},r)),(0,ur.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,ur.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:_,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:A,className:N,label:Y,isLabelActive:M,placeholder:H,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:_e,onUpdateValidValue:ee,value:ye="",options:be,leftIndicator:he,rightIndicator:j,leftIcon:le,rightIcon:de,componentID:B,status_id:W,wrapStyles:ie,SelectedCellStyles:te,SelectorCellStyles:se,SelectorMode:we,SelectorStyles:Se,SelectorPosition:je}=S,Ye=$e(S,["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","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Ge="select-click-"+a.componentID;if(_){if(!(0,Ua.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Ua.default)(document).addEvent({eventID:Ge,eventType:"click",callback:rt=>{let et=(0,Ua.default)(rt.target),Nt=!!(0,Ua.default)(et).parent("."+Rl("Core")).length;(0,Ua.default)(et).parent("."+Rl("Selector")).length||Nt||b(!1)}})}else(0,Ua.default)(document).removeEvent([Ge])},[_]),(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!_)return;let Ge=(0,Ua.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(X,T(v({tabIndex:0},Ye),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onFocus:Ge=>{if(Ye!=null&&Ye.onFocus&&(Ye==null||Ye.onFocus(Ge)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Ge=>{Ye!=null&&Ye.onClick&&(Ye==null||Ye.onClick(Ge)),!a.disabled&&b(!0)},onKeyDown:Ge=>{let{key:rt,metaKey:et,ctrlKey:Nt}=Ge,$t=et||Nt;if(Ye!=null&&Ye.onKeyDown&&(Ye==null||Ye.onKeyDown(Ge)),F&&jt.SubmitForm(Ge,A),!a.disabled){if(Ua.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(rt))return;if(Ge.preventDefault(),!_)return b(!0);let dt=rt=="ArrowDown"?1:-1,Xe=v7.FilterSelectableOptions(r),ke=Xe.length-1,ot=null;Ua.default.scope(()=>{var kt,Tt,wt,tr,Ut,dr,na,jr,Yr,xr;let pr=Xe.findIndex(br=>br.value==s);if(dt==1){if(ot=(Tt=(kt=Xe[0])==null?void 0:kt.value)!=null?Tt:null,$t){ot=(wt=Xe[ke].value)!=null?wt:null;return}if(pr==-1||pr==ke)return;ot=(Ut=(tr=Xe[pr+1])==null?void 0:tr.value)!=null?Ut:null}else{if(ot=(dr=Xe[ke].value)!=null?dr:null,$t){ot=(jr=(na=Xe[0])==null?void 0:na.value)!=null?jr:null;return}if(pr==-1||pr==0)return;ot=(xr=(Yr=Xe[pr-1])==null?void 0:Yr.value)!=null?xr:null}}),f(ot)}),rt=="Escape")b(!1);else if(rt=="Tab")b(!1);else if(rt=="Backspace")m(dt=>T(v({},dt),{dataValue:null,eventType:"update",eventID:(0,Ua.UUID)()}));else if(rt==" ")Ge.preventDefault(),b(!0);else if(rt=="Enter"){if(!_)return b(!0);Ge.preventDefault();let dt=a.options.find(Xe=>Xe.value==s);if(!dt)return;m(Xe=>T(v({},Xe),{dataValue:dt.value,eventType:"update",eventID:(0,Ua.UUID)()})),b(!1)}}},children:(0,ur.jsxs)(_t.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,ur.jsx)(vu.Placeholder,v({},r)),(0,ur.jsx)(vu.Selected,v({},r)),(0,ur.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),_&&(0,ur.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:_,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:A,className:N,label:Y,isLabelActive:M,placeholder:H,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:_e,onUpdateValidValue:ee,onKeyDown:ye,onChange:be,value:he="",options:j,leftIndicator:le,rightIndicator:de,leftIcon:B,rightIcon:W,componentID:ie,status_id:te,wrapStyles:se,SelectedCellStyles:we,SelectorCellStyles:Se,SelectorMode:je,SelectorStyles:Ye,SelectorPosition:Ge}=S,rt=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,ur.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},rt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onKeyDown:et=>{ye&&ye(et),F&&jt.SubmitForm(et,A)},onChange:et=>{let{value:Nt}=et.target;u.ok&&h({ok:!1,notice:[]}),m($t=>T(v({},$t),{dataValue:Nt,eventType:"update",eventID:(0,Ua.UUID)()})),be&&be(et)},children:[!!Z&&(0,ur.jsx)("option",{value:"null",children:"\u9078\u629E"}),j.map(et=>Ua.default.is.nullish(et.value)?null:(0,ur.jsx)("option",{value:et.value,children:et.label},String(et.value)))]}))},Selector:r=>{var a;let o=[],l=v7.FilterSelectableOptions(r,!0);l.forEach((f,u)=>{let{type:h,value:p}=f,m=r.val_optionFocused==p,_=r.val_status.dataValue===p;if(h=="selector"){o.push((0,ur.jsx)(lt.Sub.S,T(v({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:_||m,isActiveStyles:m?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:b=>{r.set_status(S=>T(v({},S),{dataValue:p,eventType:"update",eventID:(0,Ua.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,ur.jsxs)(_t.Left,{gap:"1/2",children:[_&&(0,ur.jsx)(Ne.Check,{fontColor:"theme"}),(0,ur.jsx)(or.Supplement,{transition:"short",flexSizing:0,children:f.label})]})}),String(p)));return}o.push((0,ur.jsx)(X,{children:f.label},(0,Ua.UUID)()))}),l.length||(o=[(0,ur.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let s={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:s.bottom="100%",s.left=0,s.paddingBottom="1/3";break;case 2:s.bottom="100%",s.right=0,s.paddingBottom="1/3";break;case 3:s.top="100%",s.left=0,s.paddingTop="1/3";break;case 4:s.top="100%",s.right=0,s.paddingTop="1/3";break;default:break}return(0,ur.jsx)(X,T(v({},s),{children:(0,ur.jsx)(sr.Body,T(v({className:Rl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,ur.jsx)(er,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Ua.default.scope(()=>{let o=r.rootStates.options.find(l=>Ua.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,ur.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,ur.jsx)(ur.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,bc.useState)(jt.DefaultStatus(r.componentID,o)),[f,u]=(0,bc.useState)(!1),[h,p]=(0,bc.useState)(!1),[m,_]=(0,bc.useState)((a=r.value)!=null?a:null),[b,S]=(0,bc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:_,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return jt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:S$}),(0,ur.jsxs)(Ha,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,ur.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,ur.jsx)(vu.Shallow,v({},w)),(0,ur.jsx)(vu.Button,v({},w))]})}},ns=r=>{var a;let o=v({},r);return o=T(v({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,ur.jsx)(or.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:f,value:u,searchValue:h}=l,p=h||Ua.default.is.string(u)&&u||Ua.default.Stringify(u||"");o.options[s]=T(v({},l),{value:u,searchValue:p,type:f||"selector"})}),Ua.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,ur.jsx)(ja,{ssSphere:2,children:(0,ur.jsx)(Ne.AngleDown,{})})),(0,ur.jsx)(Ra,{componentID:o.componentID,children:vu.Core,states:Vn(o)})};var Fe=K(At()),_7=K(fr()),Lr=K(ar()),yc=K(fr());var Ma=K(At()),Pl=K(ar()),hw=K(fr());function w$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var gu={InitOptions:r=>{let a=[];return r.forEach(o=>{let{label:l,value:s}=o;Pl.default.is.nullish(l)&&(l=String(s)),a.push(T(v({},o),{label:l,value:s}))}),a},OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=Pl.default.is.exist(a)?Pl.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(u=>Pl.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Ma.jsx)(gu.Core,T(v({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:_,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:A,onValidate:N,onUpdateValue:Y,onUpdateValidValue:M,value:H,options:F,className:Z,cellStyles:O,cellClassName:ae,cellCheckedStyles:_e,cellCheckedClassName:ee,min:ye,max:be,hideInput:he,freeCSS:j,wrapStyles:le}=a,de=$e(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"]),[B,W]=(0,hw.useState)(jt.DefaultStatus(f,H)),[ie,te]=(0,hw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ie,set_validate:te,SystemValidation:w$}),(0,Ma.jsx)(Ha,{val_status:B,set_status:W,val_validate:ie,states:r,children:(0,Ma.jsx)(gu.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:_,options:b,name:S,form:w,tabIndex:k,hideInput:A,disabled:N,className:Y,cellStyles:M,cellClassName:H="",cellCheckedStyles:F,cellCheckedClassName:Z="",enableFormSubmit:O}=a,{dataValue:ae}=o,_e=a.CustomIcon,ee=b.map((ye,be)=>{let he=ye,{value:j,label:le,disabled:de,className:B="",checkedStyles:W,checkedClassName:ie="",freeCSS:te}=he,se=$e(he,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),we=(0,Pl.UUID)(),Se=ae.findIndex(et=>et===j)!=-1,je=v(v({},M),se),Ye=[cf("Label"),H,B];Se&&(je=T(v(v(v({},je),F),W),{freeCSS:v(v(v({},je==null?void 0:je.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),Ye=[...Ye,Z,ie]);let Ge=()=>{if(N||de)return;let et=[];if(f=="radio")et=[j];else if(f=="checkbox"||_)if(!Se)et=[...o.dataValue,j];else{let Nt=[...o.dataValue];Nt.splice(o.dataValue.findIndex($t=>$t==j),1),et=Nt}l(Nt=>T(v({},Nt),{dataValue:et,eventType:"update",eventID:(0,Pl.UUID)()}))},rt=[(0,Ma.jsx)(Cn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:Pl.default.is.string(le)?(0,Ma.jsx)(X,{children:le}):le},"content")];return h&&rt[a.iconPosition=="right"?"push":"unshift"]((0,Ma.jsx)(_e,{isChecked:Se,iconSize:p,iconColor:m,toggle:Ge},"icon")),[(0,Ma.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+be,id:we,value:String(j),disabled:N||de,checked:Se,onFocus:et=>{de||f=="radio"&&(o.dataValue.length||l(Nt=>T(v({},Nt),{dataValue:[j],eventType:"update",eventID:(0,Pl.UUID)()})))},onChange:()=>{Ge()},onKeyDown:et=>{let{key:Nt,shiftKey:$t}=et;if((f=="checkbox"||r.rootStates.isChecker)&&Nt!="Tab"&&Nt.match(/Arrow/)){et.preventDefault();let dt=["ArrowLeft","ArrowUp"].includes(Nt)?-1:1,Xe=be+dt;Xe<0?Xe=b.length-1:Xe>=b.length&&(Xe=0),vt(`input[data-list-index="${s}-${Xe}"]`).focus()}O&&jt.SubmitForm(et,w)},tabIndex:k},"List-"+Pl.default.Stringify(j)),(0,Ma.jsx)(X,T(v({htmlTag:"label","data-disabled":N||de,htmlFor:we,className:Ye.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},je),{children:rt}),"ListTrigger-"+Pl.default.Stringify(j))]});return(0,Ma.jsx)(Lt,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,cf("CellBase"),cf("HideInput_"+A),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:ee})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Ma.jsx)(lt.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,Ma.jsx)(gu._Icon,T(v({type:"radio"},r),{children:(0,Ma.jsx)(X,{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,Ma.jsx)(X,{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,Ma.jsx)(gu._Icon,T(v({type:"checkbox"},r),{children:(0,Ma.jsx)(X,{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,Ma.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},mw=r=>{r=r||"checkbox";let a=l=>(l=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=gu.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=gu.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=To(l),l.options=gu.InitOptions(l.options),(0,Ma.jsx)(Ra,{componentID:l.componentID,children:gu.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Ma.jsx)(a,v({type:r,tone:"border"},l)),o.Cloud=l=>(0,Ma.jsx)(a,v({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Ma.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},vf=mw("radio"),A_=mw("checkbox"),g7=mw();var vw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Lr.Time)().addYear(10).year);for(let u=s;u<=f;u++)l.unshift({value:u,label:[u,...Lr.default.transformer.wareki(u).value].join(" -")});return l},b7=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Lr.UUID)();let s=(0,yc.useRef)(!1),[f,u]=(0,yc.useState)((()=>{var p,m;if(a=="clock"){let _=String(l).split(/[^\d]/);_[0]||(_=[0,0]);let b=Number(_[0]),S=Number(_[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[_,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b)||Lr.default.is.nullish(S))&&([_,b,S]=(0,Lr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(_),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[_,b]=String(l).split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b))&&([_,b]=(0,Lr.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(_),month:Number(b)}}else if(a=="year"){let[_]=String(l).split(/\D/);return Lr.default.is.nullish(_)&&([_]=(0,Lr.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(_)}}else if(a=="dateWareki"){let[_,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b)||Lr.default.is.nullish(S))&&([_,b,S]=(0,Lr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(_),month:Number(b),date:Number(S)}}}return{}})());(0,yc.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:_,minutes:b}=f;p=[_.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:_,month:b,date:S}=f;p=[_,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:_,month:b}=f;p=[_,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:_}=f;p=String(_)}else if(a=="dateWareki"){let{year:_,month:b,date:S,era:w}=f;m=w,p=[_,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,Fe.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Fe.jsx)(X,{className:Ea(a.toCapital()+"Base"),children:a=="clock"?(0,Fe.jsx)(Ka.Clock.index,v({},h)):a=="date"?(0,Fe.jsx)(Ka.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Fe.jsx)(Ka.Month.index,v({},h)):a=="year"?(0,Fe.jsx)(Ka.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Fe.jsx)(Ka.DateWareki.index,v({},h)):(0,Fe.jsx)(Fe.Fragment,{})})})},Ka={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,[h,p]=(0,yc.useState)(f.hour>12?2:1),[m,_]=(0,yc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,yc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(Lt,{flexType:"row",flexWrap:!1,gap:1,className:Ea("Body"),children:[(0,Fe.jsxs)(er,{className:Ea("DesignSide"),flexSizing:0,children:[(0,Fe.jsx)(X,{className:Ea("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Fe.jsxs)(X,{className:Ea("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,Fe.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,Fe.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,Fe.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{_(w)}})]}),(0,Fe.jsxs)(er,{children:[(0,Fe.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,Fe.jsxs)(Lt,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ka.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ka.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,Fe.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 f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(s=!0)}}a.push((0,Fe.jsx)(lt.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,Fe.jsx)(lt.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:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{flexWrap:!0,children:[(0,Fe.jsxs)(Lt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Fe.jsx)(ns,{override:"force",emptySelect:!1,value:h,options:vw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:_=>{u({modifiedType:"update",year:Number(_),month:p,date:m})},rightIcon:(0,Fe.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})})}),(0,Fe.jsx)(ns,{override:"force",emptySelect:!1,value:p,options:(()=>{let _=[];for(let b=1;b<=12;b++)_.push({value:b,label:String(b)+"\u6708"});return _})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Fe.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:_=>{u({modifiedType:"update",year:h,month:Number(_),date:m})}})]}),(0,Fe.jsx)(Ka.Variables.ShiftButtons,{callback:_=>{let b=p+_,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),u({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),(0,Fe.jsx)(X,{children:Ka.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:_=>{let[b,S,w]=_;u({modifiedType:"update",year:b,month:S,date:w})}})}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:u}=r,h=(0,Lr.Time)(),p=(0,Lr.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),_=(0,Lr.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],A={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var N=0;N<7;N++)b.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Legend")].join(" ")},A),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][N]}),N));for(var N=0;N<p.weekday;N++)S.unshift((0,_7.createElement)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},A),{key:N}),_-N));for(var N=1;N<=m.date;N++){let M=N,H=l==h.year&&s==h.month&&N==h.date,F=!1;{let Z=Number(String([l,s.zeroEmbed(2),N.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Z&&(F=!0),r.max){let O=Number(String(r.max).replace(/\D/ig,""));Z>O&&(F=!0)}}w.push((0,Fe.jsx)(lt.Clear,T(v({className:[Ea("CalendarDay"),Ea("isToday_"+H)].join(" ")},A),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,M])},tabIndex:-1,isLocked:F,children:N}),M))}for(var N=1;N<7-m.weekday;N++)k.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},A),{children:N}),N));return(0,Fe.jsxs)(qd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{gap:0,children:[(0,Fe.jsx)(_t.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Fe.jsx)(ns,{emptySelect:!1,value:h,options:vw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,Fe.jsx)(Ka.Variables.ShiftButtons,{callback:m=>{let _=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:_,month:p})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),Ka.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[_,b]=m;u({modifiedType:"update",year:_,month:b})}}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Lr.Time)(),s=[];for(let f=1;f<=12;f++){let u=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let _=Number(String(r.max).replace(/\D/ig,""));m>_&&(h=!0)}}let p=[Ea("Cell"),u?Ea("isThisMonth"):""].join(" ");s.push((0,Fe.jsxs)(lt.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,Fe.jsx)(qd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsx)(ns,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Lr.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:vw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Lr.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{era:h,year:p,month:m,date:_}=f,b={val_value:f,set_value:u};return(0,Fe.jsxs)(X,{children:[(0,Fe.jsxs)(_t.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Fe.jsx)(Ka.DateWareki.EraSelect,v({},b)),(0,Fe.jsx)(X,{borderRight:!0}),(0,Fe.jsx)(Ka.DateWareki.Calendar,v({},b))]}),(0,Fe.jsx)(_t.Right,{padding:1,children:(0,Fe.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,Fe.jsxs)(er,{padding:1,gap:0,children:[(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Lr.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Lr.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,Fe.jsx)(lt.Clear,T(v({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,Fe.jsx)(lt.Clear,T(v({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,Fe.jsx)(lt.Clear,T(v({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,Fe.jsx)(lt.Clear,T(v({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,Lr.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Lr.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\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,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{children:[(0,Fe.jsx)(ns,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(s)}))}}),(0,Fe.jsxs)(_t.Center,{gap:"1/3",children:[(0,Fe.jsx)(ns,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Fe.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.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:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Fe.jsx)(lt.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,Fe.jsx)(Ne.ChevronLeft,{})}),(0,Fe.jsx)(lt.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,Fe.jsx)(Ne.ChevronRight,{})})]})]}),(0,Fe.jsx)(Ka.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Lr.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Fe.jsx)(or.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Lr.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Lr.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,Fe.jsx)(lt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:_=>{_.preventDefault(),_.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Lr.Time)();for(let p=1;p<=f.date;p++){let m=(0,Lr.Time)(l).setDate(p),_=h.diff(m).dates==0;u.push((0,Fe.jsx)(lt.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ea("CalendarDay"),Ea("isToday_"+_)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Lr.Time)(l).addMonth(1).setDate(1).addDate(p);u.push((0,Fe.jsx)(lt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:_=>{_.preventDefault(),_.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,Fe.jsx)(qd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Fe.jsxs)(Lt,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Fe.jsxs)(lt.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Fe.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,Fe.jsx)(lt.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),sr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Fe.jsxs)(Lt,{gap:"1/3",flexWrap:!1,children:[(0,Fe.jsx)(lt.Clear,T(v({className:Ea("LeftButton"),tabIndex:-1,right:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Fe.jsx)(Ne.ChevronLeft,{})})),(0,Fe.jsx)(lt.Clear,T(v({className:Ea("RightButton"),tabIndex:-1,left:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Fe.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var _f=" ~ ",x$={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+_f.length,length:4},{type:"month",from:15+_f.length,length:2},{type:"date",from:18+_f.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+_f.length,length:4},{type:"month",from:13+_f.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}},gf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=vn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=x$[a],m=[],_=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,_);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(u))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,A)=>{if(A==0&&a=="dateWareki"){let N=Number(k);l!="year"&&(N>=2019?l=="reiwa"?N-=2018:l=="heisei"&&(N=31):N>=1989?l=="heisei"?N-=1988:l=="shouwa"&&(N=64):N>=1926?l=="shouwa"?N-=1925:l=="taisho"&&(N=15):N>=1912?l=="taisho"?N-=1911:l=="meiji"&&(N=45):N>=1868&&(N-=1867)),k=N.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(_f),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=vn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let _=0;_<h.length;_++)h[_]=String(h[_]).replace(/\D/ig,m);for(let _=0;_<h.length;_++){let b=h[_],S=h[_-1];b.removeLetters()||(p.empty=!0),_>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(_=>{let[b,S,w]=_.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=gm.Time(_);(!k.validate||_!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=gm.Time(b+"/01/01").weekday,k=gm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);!b||!S?p.filled=!1:gm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(_=>{{let b=Number(String(_).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:_,filled:b,correct:S,prohibited:w}=p;m&&f&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),_||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&u.push({type:"invalid",label:(0,ra.jsxs)(ra.Fragment,{children:[(0,ra.jsx)(X,{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:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:_,metaKey:b}=l,S=_||b,{selectionStart:w,selectionEnd:k}=l.target,{index:A,prevIndex:N}=u,{ranges:Y,formatValue:M}=s,H=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Z=+!m*2-1;if(F=u.index+Z,F<0||F>H)return}else{let Z=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=Z==1?H:0:F=Math.max(0,Math.min(A+Z,H))}h(Z=>T(v({},Z),{index:F,prevIndex:A})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=A;F=Math.max(F,0),F=Math.min(F,H);let{type:Z,from:O,length:ae}=Y[F],_e=M.slice(O,O+ae),ee;if(p=="Backspace")ee="------".slice(0,ae);else if(["ArrowUp","ArrowDown"].includes(p)){let ye=p=="ArrowUp"?1:-1;_e=_e|0,ee=_e+ye;let[be,he,j]=Z=="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]:Z=="minute"?[0,59,2]:Z=="hour"?[0,23,2]:Z=="date"?[1,31,2]:Z=="week"?[1,53,2]:Z=="month"?[1,12,2]:Z=="year"?[0,2999,4]:[0,0,0];ee>he?ee=be:ee<be&&(ee=he),ee=Number(ee).zeroEmbed(j)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ye=_e|0,be=p,he=`${ye}${be}`;if(N!=A&&(ye=0,he="0"+be),Z=="year"||Z=="dateWareki"&&a=="year")Number(he)>1e4?ee=be:ee=he,(ee|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Z)||Z=="dateWareki"&&a!="year"){let j=Z=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Z=="minute"?59:Z=="hour"?23:Z=="date"?31:Z=="week"?53:Z=="month"?12:0;ee=(he|0)>j?be:he,(Number(be)>Number(String(j)[0])||_e=="0000".slice(0,String(j).length)&&(he!="0000".slice(0,String(j).length)||["minute","hour"].includes(Z)&&N==A)||(he|0)>=s5(10,String(j).length-1))&&F++}Z=="year"||Z=="dateWareki"?ee=(ee|0).zeroEmbed(4):ee=(ee|0).zeroEmbed(2)}{let ye=String(M).partReplace(O,String(ee)),be=ye.split(_f).map(he=>he.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let he=be[0].split(/\D/),[j,le,de]=he;he.length==3&&j&&(be=[[Number(j)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,de].join("/")])}F=Math.max(F,0),F=Math.min(F,H),f(he=>T(v({},he),{dataValue:["dates","months"].includes(o)?be:be[0],formatValue:ye,eventType:"update",eventID:(0,vn.UUID)()})),h(he=>T(v({},he),{index:F,prevIndex:he.index}))}}}},w7={picker:{launch:r=>{let a=r.sheetID||(0,vn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:u,restrict:h,defaultValue:p}=o,m=$e(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);sr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ra.jsx)(_t.Center,{children:(0,ra.jsx)(b7,{restrict:h,min:s,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(_,b)=>{l(_,b)}})})}))},remove:r=>{Oa.close(r)}}},k$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,ra.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ra.jsx)(or.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,ra.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},T$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:u,form:h,name:p,min:m,max:_,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:A,onUpdateValue:N,onUpdateValidValue:Y,value:M="",leftIndicator:H,rightIndicator:F,leftIcon:Z,rightIcon:O,freeCSS:ae,wrapStyles:_e}=a,ee=$e(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ye,be]=(0,Do.useState)(u),[he,j]=(0,Do.useState)(T(v({componentID:r.componentID||""},gf.DataLeveling({restrict:s,value:M,era:ye})),{eventType:"init",eventID:(0,vn.UUID)()})),[le,de]=(0,Do.useState)({ok:!1,notice:[]}),[B,W]=(0,Do.useState)({active:!1,index:0,prevIndex:-1}),ie={rootStates:r,val_status:he,set_status:j,val_validate:le,set_validate:de,val_era:ye,set_era:be,val_focus:B,set_focus:W};jt.CommonEffects({type:"time",states:r,val_status:he,set_status:j,val_validate:le,set_validate:de,SystemValidation:gf.SystemValidation,ExtraOverrideStates:v({},gf.DataLeveling({restrict:s,value:M,era:ye}))});let te=(0,Do.useRef)(!1);return(0,Do.useEffect)(()=>{if(te.current){j(we=>v(v({},we),gf.DataLeveling({restrict:s,value:we.dataValue,era:ye})));let se=vn.useStore.get("refreshEra_"+he.componentID);se&&se.refreshEra(ye)}else te.current=!0},[ye]),vn.useStore.update({[he.componentID]:{openPicker:se=>{r.disabled||w7.picker.launch({parent:se,sheetID:"PickerTips-"+he.componentID,restrict:s,min:m,max:_,defaultValue:he.dataValue,era:ye,onValueUpdate:(we,Se)=>{j(je=>T(v(v({},je),gf.DataLeveling({restrict:s,value:we,era:Se})),{eventType:"update",eventID:(0,vn.UUID)()})),be(Se)}})},resetEra:se=>{be(se),j(we=>T(v(v({},we),gf.DataLeveling({restrict:s,value:"",era:ye})),{eventType:"update",eventID:(0,vn.UUID)()}))}}}),(0,Do.useEffect)(()=>{let{index:se,active:we}=B;if(we){se=Math.max(se,0),se=Math.min(se,he.ranges.length-1);let{from:Se,length:je}=he.ranges[se],Ye=vt("#"+r.id)[0];Ye&&Ye.setSelectionRange(Se,Se+je)}},[B]),(0,ra.jsxs)(Ha,{val_status:he,set_status:j,val_validate:le,states:r,children:[(0,ra.jsx)(k$.Shallow,v({},ie)),(0,ra.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,ra.jsx)(lt.Plain,T(v({"data-show-validation":jt.isShowValidation(le,he,!!w),"data-component-id":he.componentID,"data-input-origin":he.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ee),{children:he.formatValue,onClick:se=>{let we=vn.useStore.get(he.componentID);we&&we.openPicker(`[data-input-origin="${he.componentID}"]`),se.stopPropagation()}})):(0,ra.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":jt.isShowValidation(le,he,!!w),"data-input-origin":he.componentID,"data-disabled":r.disabled,value:he.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:se=>{gf.KeyDownEvent({restrict:s,event:se,val_era:ye,val_status:he,set_status:j,val_focus:B,set_focus:W}),k&&k(se),S&&jt.SubmitForm(se,h)},onKeyUp:se=>{se.key=="Tab"&&W(we=>T(v({},we),{active:!0}))},onClick:se=>{let we=se.target.selectionEnd,Se=0;he.ranges.forEach((je,Ye)=>{let{from:Ge,length:rt,region:et}=je;Ge<=we&&we<=Ge+(et||rt)&&(Se=Ye)}),W(je=>T(v({},je),{active:!0,index:Se})),se.preventDefault()},onChange:()=>{}},ee))]})},Ms={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Do.useState)(r.componentID||(0,vn.UUID)());if(a.componentID=o,vn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?y7.faClock:S7.faCalendarAlt;a.rightIcon=(0,ra.jsx)(ja,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ra.jsx)(lt.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=vn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ra.jsx)(Ne,{icon:l})})})}return(0,ra.jsx)(Ra,{componentID:a.componentID,children:T$,states:Vn(a)})},Clock:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"date"},r)),Week:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"week"},r)),Month:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"month"},r)),Year:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Do.useState)(r.componentID||(0,vn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Do.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let m=Number(u);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Do.useEffect)(()=>{vn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ra.jsx)(Ms.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ra.jsx)(ns,{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:f=>{s(f);let u=vn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"dates"},r)),Month:r=>(0,ra.jsx)(Ms.Origin,v({restrict:"months"},r))},fn:w7};var Qt=K(At()),Va=K(fr()),Dr=K(ar());var Sf=K(At()),ep=K(ar());var bf=K(At()),L_=K(ar());var yf=K(fr());var Jd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,u=$e(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,L_.UUID)()),[m,_]=(0,yf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={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,yf.useEffect)(()=>{let w=vt('[data-component-id="'+p+'"]');m?w.removeClass(Ta("Hide")).await(10).addClass(Ta("Active")):w.removeClass(Ta("Active")).await(210).addClass(Ta("Hide"))},[m]),(0,yf.useEffect)(()=>{L_.useStore.set({[p]:{active:w=>{h==w&&_(!0)},stop:w=>{h==w&&_(!1)},stopForce:()=>{_(!1)}}})},[]),(0,bf.jsxs)(_t.Center,T(v({className:[Ta("MiniLoader"),Ta(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,bf.jsx)("svg",{className:Ta("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:Ta("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var os=K(At()),C7=K(ar());var N_=K(fr());var x7=()=>{let[r,a]=(0,N_.useState)(!1);return(0,N_.useEffect)(()=>{C7.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,os.jsx)(Lt,{className:[Ta("CornerLoader"),r?Ta("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"3.tone.tertiary",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",bottom:1,right:1,opacity:"trans",transition:"middle",freeCSS:{zIndex:10,pointerEvents:"none"},children:(0,os.jsxs)(Lt,{className:Ta("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,os.jsx)(X,{className:Ta("Ld4")}),(0,os.jsx)(X,{className:Ta("Ld3")}),(0,os.jsx)(X,{className:Ta("Ld2")}),(0,os.jsx)(X,{className:Ta("Ld1")}),(0,os.jsx)(X,{className:Ta("Ld2")}),(0,os.jsx)(X,{className:Ta("Ld3")}),(0,os.jsx)(X,{className:Ta("Ld4")})]})})};var Zd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Jd,v({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Jd,v({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Jd,v({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Jd,v({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Jd,v({size:"MAX",color:a},o))}},Ao={Wrapper:()=>(0,Sf.jsx)(x7,{}),Theme:Zd({color:"theme"}),Posi:Zd({color:"posi"}),Nega:Zd({color:"nega"}),Warn:Zd({color:"warn"}),White:Zd({color:"white"}),Cloud:Zd({color:"cloud"}),fn:{corner:{active:()=>{let r=ep.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=ep.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=ep.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=ep.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{vt("."+Ta("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=ep.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ao.fn.corner.stop(),Ao.fn.mini.stopALL()}}};function E$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var _m={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:u}=o,h=u||Dr.default.is.string(s)&&s||""||Dr.default.is.string(f)&&f||Dr.default.Stringify(f||"");Dr.default.is.nullish(s)&&(s=String(f)),a.push(T(v({},o),{searchValue:h,type:l||"selector",label:s,value:f}))}),a},FilterSelectableOptions:(r,a,o)=>{let l=r;return o||(l=r.filter(s=>s.type!="label")),Dr.default.scope(()=>{if(!a)return;let s=a.toLower().replace(/ /g,"");l=l.filter(f=>(f.searchValue||"").toLower().replace(/ /g,"").includes(s))}),l}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,Qt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Qt.jsx)(or.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Qt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:_,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:A,val_validate:N,set_validate:Y}=r,M=a,{tone:H,required:F,form:Z,className:O,multiSelect:ae,enableFormSubmit:_e,checkValidationAtFirst:ee,onValidate:ye,onUpdateValue:be,onUpdateValidValue:he,value:j="",options:le,leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,componentID:te,status_id:se,wrapStyles:we,emptySelect:Se,SearchInput:je,SearchInputPlaceholder:Ye,SelectedComponent:Ge,SelectorComponent:rt,SelectorStyles:et,SelectorPosition:Nt,DynamicOptionsOnSearch:$t}=M,dt=$e(M,["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 Xe,ke;if(a.disabled||!S)return;let ot=_m.FilterSelectableOptions(r.val_options,o,!1);f((ke=(Xe=ot[0])==null?void 0:Xe.value)!=null?ke:null)},[o]),(0,Va.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Xe=(0,Dr.default)('[data-input-origin="'+a.componentID+'"]');Xe&&Xe.focus()},10)):(0,Dr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,Va.useEffect)(()=>{let Xe="autocomplete-click-"+a.componentID;if(S){if(!(0,Dr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Dr.default)("#SearchInput_"+a.componentID).focus(),(0,Dr.default)(document).addEvent({eventID:Xe,eventType:"mousedown",callback:ke=>{let ot=(0,Dr.default)(ke.target),kt=!!(0,Dr.default)(ot).parent("."+Rl("Core")).length,Tt=!!(0,Dr.default)(ot).parent("."+Rl("Selector")).length;kt||Tt||(w(!1),ke.preventDefault(),ke.stopPropagation())},options:{passive:!1}})}else(0,Dr.default)(document).removeEvent([Xe]),l("")},[S]),(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(X,T(v({tabIndex:0},dt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(N,k,!!ee),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[O,Rl("Core")].join(" "),onFocus:Xe=>{if(dt!=null&&dt.onFocus&&(dt==null||dt.onFocus(Xe)),!a.disabled){if(_)return b(!1);w(!0),Xe.preventDefault()}},onClick:Xe=>{dt!=null&&dt.onClick&&(dt==null||dt.onClick(Xe)),!a.disabled&&w(!0)},onKeyDown:Xe=>{let{key:ke}=Xe;_e&&jt.SubmitForm(Xe,Z),!S&&(ke==" "||ke=="ArrowDown"||ke=="ArrowUp"||ke=="Enter")&&w(!0)},children:(0,Qt.jsxs)(_t.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Qt.jsx)(tp.Selected,v({},r)),(0,Qt.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Qt.jsx)(tp.SearchInput,v({},r))]})})),S&&(0,Qt.jsx)(tp.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,Va.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Qt.jsx)(X,{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:f,metaKey:u,ctrlKey:h}=s,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,Dr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Dr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Dr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(_=>T(v({},_),{dataValue:m,eventType:"update",eventID:(0,Dr.UUID)()}))}):f=="Enter"&&Dr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:_}=m;r.set_status(b=>{let S=[...b.dataValue];return Dr.default.scope(()=>{if(_===null)return S=[];b.dataValue.includes(_)?S=S.filter(w=>w!==_):a.multiSelect?S.push(_):S=[_]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,Dr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Dr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,_=_m.FilterSelectableOptions(r.val_options,r.val_keyword,!1),b=_.length-1,S=null;Dr.default.scope(()=>{var w,k,A,N,Y,M,H,F,Z,O;let ae=_.findIndex(_e=>_e.value==r.val_optionFocused);if(ae==-1&&(ae=0),m==1){if(S=(k=(w=_[0])==null?void 0:w.value)!=null?k:null,p){S=(A=_[b].value)!=null?A:null;return}if(ae==-1||ae==b)return;S=(Y=(N=_[ae+1])==null?void 0:N.value)!=null?Y:null}else{if(S=(M=_[b].value)!=null?M:null,p){S=(F=(H=_[0])==null?void 0:H.value)!=null?F:null;return}if(ae==-1||ae==0)return;S=(O=(Z=_[ae-1])==null?void 0:Z.value)!=null?O:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&jt.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,Va.useState)("idle"),[s,f]=(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");f("fetch");let m="autocomplete-search-"+r.rootStates.componentID;Dr.default.interval.once(()=>La(void 0,null,function*(){let _=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let b=_m.InitOptions(_||[]);r.set_options(b)}),300,m)},[r.val_keyword]);let u=[],h=_m.FilterSelectableOptions(r.val_options,r.rootStates.DynamicOptionsOnSearch?"":r.val_keyword,!0);h.forEach((m,_)=>{let{type:b,value:S}=m,w=r.val_optionFocused==S,k=r.val_status.dataValue.includes(S),A=r.rootStates.SelectorComponent;u.push((0,Qt.jsx)(A,{option:m,isFocused:w,isSelected:k,addCallback:()=>{r.set_status(N=>{let Y=[...N.dataValue];return Dr.default.scope(()=>{if(S===null)return Y=[];N.dataValue.includes(S)?Y=Y.filter(M=>M!==S):r.rootStates.multiSelect?Y.push(S):Y=[S]}),T(v({},N),{dataValue:Y,eventType:"update",eventID:(0,Dr.UUID)()})})}},Dr.default.Stringify(S)||(0,Dr.UUID)()))}),h.length||(u=[(0,Qt.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(u=[(0,Qt.jsxs)(_t.Left,{padding:1,fontColor:"3.blur",children:[(0,Qt.jsx)(Ao.Theme.R,{showInitial:!0}),(0,Qt.jsx)(or.Supplement,{children:"Loading..."})]},"loader")]);let p={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:p.bottom="100%",p.left=0,p.paddingBottom="1/3";break;case 2:p.bottom="100%",p.right=0,p.paddingBottom="1/3";break;case 3:p.top="100%",p.left=0,p.paddingTop="1/3";break;case 4:p.top="100%",p.right=0,p.paddingTop="1/3";break;default:break}return(0,Qt.jsx)(X,T(v({},p),{children:(0,Qt.jsx)(sr.Body,T(v({className:Rl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Qt.jsx)(er,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(u=>{let h=s[Dr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Qt.jsx)(X,{className:Rl("SelectedCell"),children:(0,Qt.jsx)(p,{value:h.value,label:m,removeCallback:_=>{if(_.stopPropagation(),_.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==u),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Dr.UUID)()}))}})},Dr.default.Stringify(h.value)))}),(0,Qt.jsx)(Qt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Va.useState)(!1),[f,u]=(0,Va.useState)(!1),[h,p]=(0,Va.useState)(!1),[m,_]=(0,Va.useState)(""),[b,S]=(0,Va.useState)(r.options),[w,k]=(0,Va.useState)((a=r.value[0])!=null?a:null),[A,N]=(0,Va.useState)({}),[Y,M]=(0,Va.useState)(jt.DefaultStatus(r.componentID,o)),[H,F]=(0,Va.useState)({ok:!1,notice:[]}),Z=(0,Va.useRef)(!1);(0,Va.useEffect)(()=>{Z.current?S(r.options):Z.current=!0},[r.options]),(0,Va.useEffect)(()=>{if(!b.length)return;let ee=[...b],ye=v({},A);ee.forEach(be=>{be.type!="label"&&(ye[Dr.default.Stringify(be.value)]=be)}),N(ye)},[b]);let O={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:A,set_optionsDict:N,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:_,val_status:Y,set_status:M,val_validate:H,set_validate:F},ae=!!r.multiSelect;jt.CommonEffects({type:ae?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:M,val_validate:H,set_validate:F,SystemValidation:E$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Qt.jsxs)(Ha,{val_status:Y,set_status:M,val_validate:H,states:r,children:[(0,Qt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Qt.jsx)(tp.Shallow,v({},O)),(0,Qt.jsx)(tp.Button,v({},O))]})}},O_=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:u})=>l.type=="selector"?(0,Qt.jsx)(lt.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{u()},children:(0,Qt.jsxs)(_t.Left,{gap:"1/2",children:[s&&(0,Qt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Qt.jsx)(or.Supplement,{transition:"short",children:l.label})]})}):(0,Qt.jsx)(Qt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Qt.jsxs)(_t.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Qt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Qt.jsx)(lt.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Qt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Qt.jsx)(or.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=Dr.default.flatArray((a=o.value)!=null?a:null),o.options=_m.InitOptions(o.options),Dr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Qt.jsx)(ja,{ssSphere:2,children:(0,Qt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Qt.jsx)(ja,{ssSphere:2,fontColor:"5.translucent",children:(0,Qt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Qt.jsx)(Ra,{componentID:o.componentID,children:tp.Core,states:Vn(o)})};var wf=K(At());var k7=r=>(0,wf.jsx)(O_,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(ja,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Cr=K(At()),Cf=K(fr()),Il=K(ar());var Lo=K(At()),T7=K(fr()),mo=K(ar());var Sc=K(fr());var is={add:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Lo.jsx)(E7.Wrapper,{})},E7={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,mo.UUID)(),children:f,customChildren:u}=a,h=$e(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Sc.useState)(s),[m,_]=(0,Sc.useState)(r.secondsToClose||10);(0,Sc.useEffect)(()=>{let S=vt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(im("FadeIn"))},10),mo.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(im("FadeOut"))}}})},[]),(0,Sc.useEffect)(()=>{mo.default.interval.once(()=>{m<=0||_(m-1)},1e3,"Snackbar-"+p),m===0&&is.remove(o)},[m]);let b=(0,Lo.jsx)(Lo.Fragment,{});return u?b=(0,Lo.jsx)(u,{close:()=>{is.remove(o)}}):b=(0,Lo.jsxs)(_t.Separate,{verticalAlign:"top",children:[(0,Lo.jsx)(X,{padding:["1/4",0],flexSizing:0,children:mo.default.is.function(f)?(0,Lo.jsx)(f,{}):f}),(0,Lo.jsx)(lt.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{is.remove(o)},children:(0,Lo.jsx)(Ne.Times,{})})]}),(0,Lo.jsx)(X,T(v({className:im("Cell"),componentID:p,onMouseOver:()=>{_(-1)},onMouseOut:()=>{_(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:b}))},Wrapper:()=>{let[r,a]=(0,Sc.useState)((0,mo.UUID)()),[o,l]=(0,Sc.useState)([]);(0,Sc.useEffect)(()=>{mo.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,mo.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(v({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(v({},f),{snackID:f.snackID}),o=h}a((0,mo.UUID)())},remove:f=>{let u=mo.useStore.get("Snackbar-"+f);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,T7.createElement)(E7.Cell,T(v({},f),{key:f.snackID})));return(0,Lo.jsx)(Lt,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",im("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 P7=K(M7());function R$(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:f})=>f=="invalid").length,notice:s}}var I7={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,Cr.jsx)(I7.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,Cr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,ts("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:u=>{let{key:h}=u;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&vt("#"+a.id).click()},children:(0,Cr.jsxs)(_t.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(X,{isRounded:!0,className:ts("AddIcon"),children:(0,Cr.jsx)(Ne,{icon:P7.faCloudArrowUp,className:ts("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(X,{children:[(0,Cr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Cr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(er,T(v({flexSizing:"auto"},Ml(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:u,size:h,type:p}=l,[m,_]=(0,Cf.useState)(!1),b=(0,Il.UUID)(),S=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),A="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?A=p.replace(/image\//,""):p.match(/pdf/)?A="PDF":p.match(/csv/)?A="CSV":p.match(/spreadsheet/)?A="SpreadSheet":p.match(/presentation/)?A="PowerPoint":p.match(/word/)?A="Word":p.match(/zip/)?A="Zip":p.match(/powerpoint/)?A="PowerPoint":p.match(/html/)?A="HTML":p.match(/js/)?A="JavaScript":p.match(/css/)?A="CSS":p.match(/text\/plain/)&&(A="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{vt("#"+b).focus()},100)},[m]),(0,Cr.jsxs)(Lt,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(X,{flexSizing:0,children:[(0,Cr.jsx)(X,{children:(0,Cr.jsx)(Lt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:ts("FileName"),children:m?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(er,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(Lt,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(mn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:N=>{let{key:Y}=N;Y=="Escape"&&_(!1)}}),(0,Cr.jsxs)(X,{children:[". ",k]})]}),(0,Cr.jsxs)(Lt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(lt.Sub,{padding:["2/3",1],onClick:()=>{_(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(lt,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:N=>La(void 0,null,function*(){let{name:Y}=N,M=[...s.dataValue],H=M[a],F=H.id;if(!H)return;let{target:Z}=yield H.convert();if(!Z)return;let O=yield String(Z.result).toBlob(l.type);if(!O)return;let ae=new File([O],Y+"."+k,{type:H.type});ae.id=F,M[a]=ae,f(_e=>T(v({},_e),{dataValue:M,eventType:"update",eventID:(0,Il.UUID)()})),_(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(lt.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{_(!0)},children:(0,Cr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Cr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[A,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Cr.jsx)(lt.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let N=[...s.dataValue];N[a]&&(N.splice(a,1),f(Y=>T(v({},Y),{dataValue:N,eventType:"update",eventID:(0,Il.UUID)()})))},children:(0,Cr.jsx)(Ne.Times,{})})]}))}},D$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:A,cellStyles:N,cellClassName:Y,componentID:M,status_id:H,enableFormSubmit:F,freeCSS:Z,wrapStyles:O}=a,ae=$e(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,ee]=(0,Cf.useState)(jt.DefaultStatus(r.componentID||"",k)),[ye,be]=(0,Cf.useState)({ok:!1,notice:[]}),he={rootStates:r,val_status:_e,set_status:ee};(0,Cf.useEffect)(()=>{Il.useStore.set({["AddFiles-"+_e.componentID]:le=>{ee(de=>{let B=de.dataValue,W=[];for(var ie=0;ie<(le==null?void 0:le.length);ie++){let te=le[ie],{type:se,name:we}=te;if(ie+1+B.length>p){is.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${we}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!se.match(/image/)){is.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${we} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(te)}return T(v({},de),{dataValue:[...B,...W],eventType:"update",eventID:(0,Il.UUID)()})})}})},[]),jt.CommonEffects({type:"file",states:r,val_status:_e,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:R$});let j="";return h&&(h=="image"?j="image/png,image/jpeg":j=h),(0,Cr.jsxs)(Ha,{val_status:_e,set_status:ee,val_validate:ye,states:r,children:[(0,Cr.jsx)(X,T(v({htmlTag:"input",type:"file",className:ts("Input"),"data-component-id":_e.componentID,accept:j,multiple:p!=1,onChange:le=>La(void 0,null,function*(){_&&_(le);let de=le.target,B=de.files,W=[];for(var ie=0;ie<(B==null?void 0:B.length);ie++){let te=B[ie],se=te.name;if(te.id=(0,Il.UUID)(),ie+1+_e.dataValue.length>p){is.add({componentID:se,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${se}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(te)}ee(te=>T(v({},te),{dataValue:[...te.dataValue,...W],eventType:"update",eventID:(0,Il.UUID)()})),de.value=""})},ae),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(I7.List,v({},he))]})},_w=r=>(r=T(v({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:v(v({},Vn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Ra,{componentID:r.componentID,children:D$,states:r}));_w.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=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Il.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),vt("."+ts("AddButton")).addClass(ts("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),vt("."+ts("AddButton")).removeClass(ts("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(vt(o).hasClass(ts("AddButton"))){let{componentId:l}=o.dataset,s=Il.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var vo=K(At()),Ps=K(ar()),bm=K(fr());function A$(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:f})=>f=="invalid").length,notice:s}}var B7=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},z7={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var _=h;_<=p;_++){let b=_*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";u.push((0,vo.jsx)(X,{className:Ds("Label"),id:"Legend-"+a+"-"+_,display:_==h||_==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,bm.useEffect)(()=>{let b=()=>{let S=vt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,A=Math.round(m/k);for(let N=h+1;N<p;N++)vt("#Legend-"+a+"-"+N).css({display:N%A==0?"flex":"none"})};return(0,Ps.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ps.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,vo.jsx)(Lt,{className:Ds("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,vo.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:u})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:u}=a;return(0,vo.jsxs)(Lt,{className:Ds("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,vo.jsx)(X,{className:Ds("Bar"),backgroundColor:"layer.4",position:"relative",borderRadius:"1.tone.primary",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,vo.jsx)(X,{className:Ds("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:u+"_BarColor"})}),(0,vo.jsx)(X,{className:Ds("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,vo.jsx)(lt.Plain,{className:Ds("Ball"),position:"absolute",boxShadow:"1.remark",backgroundColor:r.color,top:0,left:0,ssSquare:1.5,borderRadius:"1.tone.primary",freeCSS:{zIndex:2,left:l.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&jt.SubmitForm(h,s)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Ps.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{rp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{rp.Effects.End()}})},Move:(r,a)=>{let o=Ps.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:u,max:h}=l,p=vt("#"+f+"_Ball"),m=vt("#"+f+"_Bar"),_=vt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,A=B7({value:k,val_status:l}),N=A.positionLeft,Y=A.stepValue;return p.css({left:N}),_.css({width:N}),s(M=>{let H=M.dataValue;return Y==H?M:T(v({},M),{dataValue:Y,eventType:"update",eventID:(0,Ps.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ps.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:u}=o,{key:h,metaKey:p,ctrlKey:m}=a,_=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?_?b=s:b-=u:h.match(/Right|Down/)&&(_?b=f:b+=u),b=Math.max(Math.min(b,f),s),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ps.UUID)()})))}},L$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:_,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:A,value:N="",className:Y,wrapStyles:M}=a,H=$e(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","wrapStyles"]),[F,Z]=(0,bm.useState)({componentID:r.componentID||"",dataValue:N,min:p,max:m,step:_,eventType:"init",eventID:(0,Ps.UUID)()}),[O,ae]=(0,bm.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"slider",states:r,val_status:F,set_status:Z,val_validate:O,set_validate:ae,SystemValidation:A$});let _e=B7({value:F.dataValue,val_status:F});return(0,vo.jsx)(Ha,{val_status:F,set_status:Z,val_validate:O,states:r,children:(0,vo.jsxs)(er,T(v({gap:"1/2",flexSizing:"auto"},H),{className:[Ds("Wrap"),Y,Ds("ShowLegendsAlways_"+h)].join(" "),children:[(0,vo.jsx)(z7.Rail,{rootStates:r,color:o,val_status:F,set_status:Z,DotData:_e,form:s,enableFormSubmit:b}),!!f&&(0,vo.jsx)(z7.IndicatorLabels,{componentID:F.componentID,min:p,max:m,step:_,customLegends:u})]}))})},F7=r=>{let a=T(v({},r),{freeCSS:v({minWidth:120},r.freeCSS)});return(0,vo.jsx)(Ra,{componentID:r.componentID,children:L$,states:To(a)})};var No=K(At()),bw=K(ar()),yw=K(fr());function N$(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:f})=>f=="invalid").length,notice:s}}var O$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:A="",icon:N="",isApply:Y=!1}=a,M=$e(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[H,F]=(0,yw.useState)({componentID:r.componentID||"",dataValue:A,eventType:"init",eventID:(0,bw.UUID)()}),[Z,O]=(0,yw.useState)({ok:!1,notice:[]}),ae=!!H.dataValue;jt.CommonEffects({type:"switch",states:r,val_status:H,set_status:F,val_validate:Z,set_validate:O,SystemValidation:N$});let _e="middle",ee=5,ye=3;return Y&&(ye=4),(0,No.jsxs)(Ha,{val_status:H,set_status:F,val_validate:Z,states:r,children:[(0,No.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":H.componentID,checked:H.dataValue,className:uf("Input"),id:u,onKeyDown:be=>{_&&_(be),h&&jt.SubmitForm(be,f)},onChange:be=>{let{checked:he}=be.target;Z.ok&&O({ok:!1,notice:[]}),F(j=>T(v({},j),{dataValue:he,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(be)}},M)),(0,No.jsx)(__.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:_e,borderRadius:"1.tone.primary",className:uf("Label"),children:(0,No.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:ae?l:"layer.3"}:{}),{children:(0,No.jsxs)(_t.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:(ee+ye)/ee},children:[!Y&&(0,No.jsx)(X,{position:"absolute",backgroundColor:ae?l:"layer.5",isRounded:!0,transition:_e,width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,No.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&ae?l:"white",transition:_e,isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:ae?`calc(${ye.ratio(ee+ye)}%)`:0},children:N&&(0,No.jsx)(X,{transition:_e,flexCenter:!0,fontColor:ae?Y?l:"white":"6.clear",children:N})})]})}))})]})},M_=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,No.jsx)(Ra,{componentID:a.componentID,children:O$,states:a})},ym=M_;ym.S=r=>(0,No.jsx)(M_,T(v({},r),{size:"small"})),ym.R=r=>(0,No.jsx)(M_,T(v({},r),{size:"regular"})),ym.L=r=>(0,No.jsx)(M_,T(v({},r),{size:"large"}));var j7=K(At());var H7=r=>(0,j7.jsx)(A_,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var wc=K(At()),U7=K(ar()),P_=K(fr());var M$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:_,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:A}=a,N=$e(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,P_.useState)((0,U7.UUID)()),[M,H]=(0,P_.useState)(s),[F,Z]=(0,P_.useState)(M);return M!=s&&(H(s),Z(s)),(0,wc.jsx)(vf,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},N),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},_),cellCheckedStyles:v({},w),cellClassName:[b,v_("Label"),v_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,v_("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...O)=>{h&&h(...O),o=="bottomline"&&Z(O[0])}}))},I_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(v({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:v({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,wc.jsx)(M$,v({__sys_segmented_type:"plain"},r))},ls=I_;ls.Cloud=r=>{let a=T(v({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:v({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))},ls.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,wc.jsx)(ls.Cloud,v({},a))},ls.CloudMono=r=>{let a=T(v({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:v({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,wc.jsx)(ls.Cloud,v({},a))},ls.Border=r=>{let a=T(v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:v({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))},ls.BorderVivid=r=>{let a=T(v({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:v({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(ls.Border,v({},a))},ls.Bottomline=r=>{let a=T(v({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))};var z_=K(At()),V7=K(ar()),Sw=K(fr());function P$(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:f})=>f=="invalid").length,notice:s}}var I$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:_,onUpdateValidValue:b,value:S=""}=a,w=$e(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,A]=(0,Sw.useState)(jt.DefaultStatus(r.componentID||"",S)),[N,Y]=(0,Sw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"color",states:r,val_status:k,set_status:A,val_validate:N,set_validate:Y,SystemValidation:P$}),(0,z_.jsx)(Ha,{val_status:k,set_status:A,val_validate:N,states:r,children:(0,z_.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:M=>{p&&p(M),f&&jt.SubmitForm(M,s)},onChange:M=>{let{value:H}=M.target;N.ok&&Y({ok:!1,notice:[]}),A(F=>T(v({},F),{dataValue:H,eventType:"update",eventID:(0,V7.UUID)()})),h&&h(M)}},w))})},W7=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,z_.jsx)(Ra,{componentID:r.componentID,children:I$,states:a})};var ss=K(ar()),q7=r=>La(void 0,null,function*(){let a=1,o={};return yield ss.default.scope(()=>La(void 0,null,function*(){if(ss.useStore.get("form-process-"+r))return;ss.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ss.useStore.get(["form-data",r].join("-"));if(!s){ss.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s)){if(!u)continue;let h=ss.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ss.useStore.get(["form-data",r].join("-"));if(!s){ss.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}ss.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var ga;(r=>(r.Plain=zO,r.Hidden=UO,r.TextField=mn,r.Contenteditable=JO,r.DigitCharacters=e7,r.Time=Ms,r.Select=ns,r.Autocomplete=O_,r.List=g7,r.Radio=vf,r.Checkbox=A_,r.Checker=H7,r.Search=k7,r.Filer=_w,r.Slider=F7,r.Switch=ym,r.Segmented=ls,r.Color=W7,r.LeftIcon=Gd,r.RightIcon=ja,r.LeftIndicator=x_,r.RightIndicator=k_,r.RequiredSign=S_,r.RequiredShortSign=w_,r.OmitSign=C_,r.CollectForm=q7))(ga||(ga={}));var $7=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=$e(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,Y7.useEffect)(()=>{f&&f()},[]),(0,B_.jsx)(Lt,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,B_.jsx)(X,{margin:[0,"auto"],children:(0,B_.jsx)(ga.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _u=K(At());var qr={Table:r=>(0,_u.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_u.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,_u.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,_u.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,_u.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,_u.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_u.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(At());var ww=K(At()),K7=K(ar());var G7=(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"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},cl=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 ap=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(v({tableID:a.tableID||(0,K7.UUID)(),tone:a.tone},a),{cellStyles:v(v({},G7(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=To(l),{className:f,style:u}=s,h=$e(s,["className","style"]),p=[f,Xt("Wrap"),Xt("TableType_"+a.type),Xt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,ww.jsx)(X,{className:p,style:u,children:(0,ww.jsx)(o,v({},h))})};var Cw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let _=qr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=cl(b),w=l?l(b):{},k=T(v(v(v(v({},a),S),w),p),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Xt("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(_,v({},k),m))}),(0,Oo.jsx)(qr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,_)=>{let b=[];m.forEach((S,w)=>{let k=qr[S.type=="th"?"TH":"TD"],A={top:_==0&&!s,bottom:_==f.length-1,left:w==0,right:w==u-1,rowIndex:_,colIndex:w,isBody:!0,isHeader:!1},N=cl(A),Y=l?l(A):{};b.push((0,Oo.jsx)(k,T(v(v(v(v({},a),N),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Xt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Oo.jsx)(qr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},_))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)(qr.Table,{className:Xt("Table"),children:(0,Oo.jsxs)(qr.Body,{children:[(0,Oo.jsx)(Cw.HeadRow,v({},r)),(0,Oo.jsx)(Cw.BodyRows,v({},r))]})}))},X7=r=>(0,Oo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var Ca=K(At()),Mo=K(ar()),np=K(fr());var kw=K(aM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],_=qr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=cl(b),w=l?l(b):{};h.push((0,Ca.jsx)(_,T(v(v(v(v({},a),S),m),w),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Xt("Cell"),o,m.className].join(" ")}),p))}return(0,Ca.jsx)(qr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,Mo.UUID)()),[m,_]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let A={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},N=cl(A),Y=l?l(A):{};k.push((0,Ca.jsx)(qr.TH,T(v(v(v({padding:0,borderRight:!0},a),N),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(lt.Clear,{className:Xt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:M=>{Sm.Start(M,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,Ca.jsx)(Ne,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((A,N)=>{A=v({},A);let Y=qr[A.type=="th"?"TH":"TD"],M={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:N==u-2,rowIndex:w,colIndex:N,isBody:!0,isHeader:!1},H=cl(M),F=l?l(M):{};k.push((0,Ca.jsx)(Y,T(v(v(v(v({},a),H),A),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),A.freeCSS),className:[Xt("Cell"),o,A.className].join(" ")}),N))}),b.push((0,Ca.jsx)(qr.Row,{id:"TableRow-"+p+"-"+w,className:[Xt("Row"),Xt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,Ca.jsx)(qr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((A,N)=>{A=v({},A);let Y=qr[A.type=="th"?"TH":"TD"],M={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},H=cl(M),F=l?l(M):{};k.push((0,Ca.jsx)(Y,T(v(v(T(v({className:[Xt("Cell"),o,A.className].join(" ")},H),{backgroundColor:"theme.opa.low"}),F),A),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),A.freeCSS)})))}),b.splice(w,0,(0,Ca.jsx)(qr.Row,{className:[Xt("Row"),Xt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{Mo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],A=[...m.rows];A.splice(S,1),A.splice(w-(S<w?1:0),0,k),_({rows:A,origin:0,to:NaN}),h(A.map(N=>Mo.default.Objectify(N.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;_({rows:m.rows,origin:w,to:k})}}})}),(0,np.useEffect)(()=>()=>{Mo.useStore.delete(p)},[]),(0,Ca.jsx)(Ca.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ca.jsx)(lt.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Oa.open({parent:a.currentTarget,content:(0,Ca.jsxs)(Oa.Body,{children:[(0,Ca.jsx)(Ne,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ca.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Mo.default.Stringify(a.rowID||o),a)),(0,Ca.jsx)(qr.Table,{className:Xt("Table"),children:(0,Ca.jsxs)(qr.Body,{children:[(0,Ca.jsx)(Tw.HeadRow,v({},r)),(0,Ca.jsx)(Tw.BodyRows,v({},r))]})}))},nM=r=>(0,Ca.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),Sm={Start:function(r,a){return La(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;vt("#TableRow-"+o+"-"+l).addClass(Xt("DraggerOrigin")),(0,Mo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{Sm.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{Sm.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=Mo.default.getCursor(r).y-Mo.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let u=vt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=Mo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=Mo.useStore.get(o);f&&f.swap&&f.swap(l,s),vt("#TableRow-"+o+"-"+l).removeClass(Xt("DraggerOrigin")),(0,Mo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Rt=K(At()),Wn=K(ar()),xf=K(fr());var dM=K(fS()),pM=K(pS()),hM=K(cS()),mM=K(fM());var Cc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=l,[p,m]=u.current,_=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=cl(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};_.push((0,Rt.jsx)(qr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Xt("Cell"),l.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(ga.Checker,{label:"",value:!1,onUpdateValidValue:A=>{let N=l.rows;N.forEach(Y=>{Y.checked=A}),s(T(v({},l),{rows:N}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,A=u.enabled&&u.column[S],N=h.enabled&&h.column[S],Y=A?(0,Rt.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?pM.faArrowDown:dM.faArrowUp:hM.faArrowRight}):null,M=(0,Rt.jsx)(Rt.Fragment,{});if(N){let O=f.map(_e=>{var ee;return(ee=_e[S])==null?void 0:ee.data});O=[...new Set(O)].toASC();let ae=h.current[S];if(ae){let _e=O.filter(j=>!ae.includes(j)),ee=[];O.forEach(j=>{j&&ee.push({value:j,label:(0,Rt.jsx)(X,{flexSizing:"auto",children:j})})});let ye="BUTTON-"+l.componentID+"-"+S,be=l.componentID+"-"+S,he={sheetID:be,parent:"#"+ye,gravityPoint:23,type:"custom",content:(0,Rt.jsxs)(Lt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Rt.jsx)(er,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Rt.jsx)(ga.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:ee,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:j=>{let le=O.filter(B=>!j.includes(B)),de=v({},l);de.filter.current[S]=le,s(de)}})}),(0,Rt.jsxs)(_t.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Rt.jsx)(lt.Border.S,{isRounded:!0,onClick:()=>{sr.close(be)},children:"\u9589\u3058\u308B"}),(0,Rt.jsx)(lt.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let j=[];ae.length||(j=O);let le=v({},l);le.filter.current[S]=j,s(le)},children:"\u5168\u9078\u629E"})]})]})};M=(0,Rt.jsx)(X,{className:Xt("FilterRegion"),children:(0,Rt.jsx)(lt.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Xt("Filtering_"+!!ae.length),id:ye,onClick:j=>{j.stopPropagation(),sr.open(he)},children:(0,Rt.jsx)(Ne,{icon:mM.faFilter})})})}}let H={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=cl(H),Z=l.cellStylesCallback?l.cellStylesCallback(H):{};w=T(v(v(v(v({},l.cellStyles),F),w),Z),{ssPushable:A,freeCSS:v(v(v({},(o=l.cellStyles)==null?void 0:o.freeCSS),Z.freeCSS),w.freeCSS),className:[Xt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,_.push((0,Rt.jsx)(qr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:v({zIndex:2},w.freeCSS),onClick:O=>{if(A){let ae=v({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];ae.order.current=_e,s(ae),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Rt.jsxs)(Lt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[M,(0,Rt.jsxs)(Lt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Rt.jsx)(qr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:_})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var u;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},_=cl(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Rt.jsx)(qr.TH,T(v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),_),b),{freeCSS:v(v({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Xt("Cell"),a.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(ga.Checker,{label:"",value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(A=>Wn.default.is.equal(A.rowID,s.rowID));k!=-1&&(w[k].checked=S,r.set_status(A=>T(v({},A),{rows:w})))}})})}),-1))}h.forEach((m,_)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=$e(S,["type"]),A={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:_==0,right:_==a.colLength-1,rowIndex:f,colIndex:_,isBody:!0,isHeader:!1},N=cl(A),Y=a.cellStylesCallback?a.cellStylesCallback(A):{};k=T(v(v(v(v({},a.cellStyles),N),k),Y),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Xt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let M=qr[w=="td"?"TD":"TH"];p.push((0,Rt.jsx)(M,v({},k),_))}),l.push((0,Rt.jsx)(qr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Rt.jsx)(X,{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,Rt.jsx)(Rt.Fragment,{children:a.noRecords})),l.push((0,Rt.jsx)(qr.Row,{className:[Xt("Row"),Xt("BodyRow"),Xt("DataNotFound")].join(" "),children:(0,Rt.jsx)(qr.TD,{colSpan:a.colLength,className:Xt("Cell"),children:s})},"dataNotFound"))}return(0,Rt.jsx)(Rt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],_=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(String(l).escapeRegExChar(),"i"))?1:0),m=[...p],_=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],A=s.current[w];k&&A&&A.length&&(m=m.filter(N=>!A.includes(N[w].data)),_=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),_=[...m]);{let{currentPageIndex:w,rowLength:k}=u;_=[..._].splice((w-1)*k,k)}let b=Cc.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:_.length,filtered:m.length},val_status:T(v({},a),{paging:T(v({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Wn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),_.forEach(k=>{let{rowID:A}=k;w.find(N=>Wn.default.is.equal(N.rowID,A)).currentPage=!0}),m.forEach(k=>{let{rowID:A}=k;w.find(N=>Wn.default.is.equal(N.rowID,A)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{El.release(a.tableID,S)}),(0,Rt.jsx)(X,{className:Xt("TableBase"),children:(0,Rt.jsx)(qr.Table,{className:Xt("Table"),children:(0,Rt.jsxs)(qr.Body,{children:[(0,Rt.jsx)(Cc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Rt.jsx)(Cc.Body,{val_status:a,set_status:o,PageRows:_})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((u,h)=>{let{data:p,children:m,orderIndex:_}=u;u.orderIndex=Wn.default.is.exist(_)?String(_):String(p),u.children=m||String(p),f.push(String(u.data))}),l.__sys4SearchKey=f.join("/")}),(0,Rt.jsx)(Cc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,Wn.UUID)()),m={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:f!==!1,column:f,current:u},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]=(0,xf.useState)(m),S=()=>{let w=new WeakSet;return(k,A)=>{if(typeof A=="object"&&A!==null){if(w.has(A))return"[Circular Reference]";if(k=="children")return"[React Element]";w.add(A)}return A}};return(0,xf.useEffect)(()=>{b(w=>T(v({},w),{rows:m.rows}))},[Wn.default.Stringify(m.rows,S())]),(0,xf.useEffect)(()=>{b(w=>T(v({},w),{head:m.head}))},[Wn.default.Stringify(m.head,S())]),(0,Rt.jsx)(Cc.Core,{val_status:_,set_status:b})}},z$={__memoryID:Cc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(Cc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},F_={SearchInput:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Rt.jsx)(ga.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Rt.jsx)(ga.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Rt.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Wn.default.interval.once(()=>{l(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=El.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,Rt.jsxs)(Lt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Rt.jsx)(Cn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let u=0;u<o.paging.pageLength;u++)s.push({value:u+1,label:(u+1).toString()});let f=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=v({},o);p.paging.currentPageIndex=h,l(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Rt.jsxs)(_t.Center,{children:[(0,Rt.jsxs)(_t.Center,{gap:"1/2",children:[(0,Rt.jsx)(ga.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:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Rt.jsxs)(_t.Right,{gap:"1/2",children:[(0,Rt.jsx)(lt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Rt.jsx)(Ne.ChevronLeft,{})}),(0,Rt.jsx)(lt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Rt.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||u.push({value:s,label:s.toString()}),(0,Rt.jsx)(_t.Center,{gap:"1/2",children:(0,Rt.jsx)(ga.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:u.toASC("value"),onUpdateValidValue:h=>{l(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},B$=r=>(0,Rt.jsx)(ap,T(v({},r),{type:"data",JSXChildren:Cc.DataLeveler})),bu=B$;bu.__memoryID=Cc.__memoryID,bu.getRowData=z$.getRowData,bu.Info=F_.Info,bu.Paging=F_.Paging,bu.RowLength=F_.RowLength,bu.SearchInput=F_.SearchInput;var j_;(r=>(r.Normal=X7,r.Data=bu,r.Drag=nM,r.Parts=qr))(j_||(j_={}));var Rw=K(At()),wm=K(ar());var _c={uid:(0,wm.UUID)(),open:(r,a,o=24,l=.35)=>{r&&wm.default.interval.once(()=>{Oa.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Oa.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(or.Supplement,{children:a})})})},l*1e3,_c.uid)},abort:()=>{wm.default.interval.abort(_c.uid),Oa.close(_c.uid)}};var pt=K(At()),aa=K(ar());var cs=K(fr());var WM=K(wM()),qM=K(DM()),YM=K(IM()),$M=K(VM());var Ow=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops;{let[h,p]=aa.default.is.array(a.use)&&a.use||a.use.split(":").map(_=>Number(_)),m=h/p;this.usage={w:h,h:p,aspect:m}}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:f}=l,u=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:u,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:f/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.usage.aspect==1){let _=a.width*.6666666666666666,b=a.height*(2/3);s=l=Math.min(_,b)}else this.usage.aspect>1?(l=a.width*(8/10),s=l/this.usage.aspect):(s=a.height*(8/10),l=s*this.usage.aspect);let{width:f,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:u}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,_=h/m*u.x,b=p/m*u.y;o=="move"?this.drawImage(this.pst.imageX+_,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=_,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=aa.default.getCursor(l.touches[0]),{x:u,y:h}=aa.default.getCursor(l.touches[1]),p=u-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:_}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(_.x,2)+Math.pow(_.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(_.scale*S);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 La(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield aa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(l==90||l==270)&&(h=u.height,p=u.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(u,0,0,u.width,u.height);let m=f.getImageData(0,0,s.width,s.height),_=m.data;{a/=100;let k=[[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],A=k[0]/255,N=k[1]/255,Y=k[2]/255;for(let M=0;M<p;M++)for(let H=0;H<h;H++){var b=(M*h+H)*4;if(a){let F=.3*_[b]+.59*_[b+1]+.11*_[b+2];for(var S=0;S<3;S++){let Z=_[b+S];_[b+S]=Z+(F-Z)*a}}_[b]*=A,_[b+1]*=N,_[b+2]*=Y}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield aa.default.ImageLoader(w),{width:A,height:N}=k,Y=A/N;this.Picture=T(v({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/A:this.pst.frame.h/N})}this.drawImage()})}drawImage(a,o){let{Canvas:{ctx:l,elm:s},pst:{frame:f}}=this,u=a||this.pst.imageX,h=o||this.pst.imageY;{let p=this.scale.current/100,m=this.Picture.revisedAspect*p,_=this.pst.centerX-u*m,b=this.pst.centerY-h*m,S=this.Picture.elm.width*m,w=this.Picture.elm.height*m;{let k=this.pst.frame.x+this.pst.frame.w-S,A=this.pst.frame.x,N=this.pst.frame.y+this.pst.frame.h-w,Y=this.pst.frame.y,M=0;_<k&&(M=_-k),_>A&&(M=_-A);let H=0;b<N&&(H=b-N),b>Y&&(H=b-Y),this.dragEffectInfo.origin.x+=M/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=H/2/this.dragEffectInfo.frameExpandRate.y,_=Math.min(Math.max(_,k),A),b=Math.min(Math.max(b,N),Y)}this.pst.outImage={x:_,y:b,w:S,h:w},l.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),l.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,_,b,S,w)}{if(this.usage.aspect==1){l.fillStyle="rgba( 20,24,20,.3 )",l.beginPath();let m=s.width/3*2,_=s.height/3*2,b=Math.min(m,_),S=Math.max(m,_);l.arc(s.width/2,s.height/2,S*1.41,0,Math.PI*2,!0),l.arc(s.width/2,s.height/2,b/2,0,Math.PI*2,!1),l.closePath(),l.fill()}else l.fillStyle="rgba( 20,24,20,.3 )";l.beginPath(),l.moveTo(0,0),l.lineTo(s.width,0),l.lineTo(s.width,s.height),l.lineTo(0,s.height),l.lineTo(0,0),l.closePath(),l.lineTo(f.x,f.y),l.lineTo(f.x,f.y+f.h),l.lineTo(f.x+f.w,f.y+f.h),l.lineTo(f.x+f.w,f.y),l.lineTo(f.x,f.y),l.fill();let p=(0,aa.default)(document.body).getStyleProperty("--color-theme-hsl");l.lineWidth=4,l.strokeStyle=`hsla( ${p},1 )`,l.strokeRect(f.x,f.y,f.w,f.h)}}export(){return La(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/u,m=(f.x-s.x+f.w)/u,_=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:A,maxSize:N}=o[k];N=N||{S:1024*20,R:1024*100,L:1024*350}[A];let Y={S:140,R:600,L:1200}[A],M=Y;this.usage.aspect>1?M=Y/this.usage.aspect:Y=M*this.usage.aspect;let H=document.createElement("canvas");H.width=Y,H.height=M;let F=H.getContext("2d");if(!F)return;F.clearRect(0,0,Y,M),F.drawImage(this.Picture.elm,p,_,m-p,b-_,0,0,Y,M);let Z=H.toDataURL(w),O=yield Z.toBlob(w);if(!O)return;if(O.size>=N){let _e=N/O.size;if(Z=H.toDataURL(w,_e*.92),O=yield Z.toBlob(w),!O)return}let ae=new File([O],this.val_file.name,{type:w});S[k]=ae}return S})}},GM={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=o,[h]=(0,cs.useState)((0,aa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,_]=(0,cs.useState)(p.scale.default),[b,S]=(0,cs.useState)(p.rotate),[w,k]=(0,cs.useState)(p.grayScale),[A,N]=(0,cs.useState)(p.tone);return(0,cs.useEffect)(()=>{let Y="CropperResize";return(0,aa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{aa.default.interval.once(()=>{var M;let H=vt("#Canvas-"+h)[0];if(!H)return;let F=(M=aa.useStore.get(h))==null?void 0:M.Instance;if(!F)return;let Z=H.position(),O=Z.width/Z.height;H.width=2400,H.height=2400/O;let{width:ae,height:_e}=H;F.pst.centerX=ae/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,aa.default)(window).removeEvent(Y)}},[]),(0,cs.useEffect)(()=>{aa.useStore.set({[h]:{}}),La(void 0,null,function*(){Ao.fn.corner.active(),yield aa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let M=Y.result,H=vt("#Canvas-"+h)[0];if(!H)return;let F=H.position(),Z=F.width/F.height;H.width=2400,H.height=2400/Z;let O=new Ow({set_scale:_,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:H,picture:{image:yield aa.default.ImageLoader(M),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});aa.useStore.set({[h]:{Instance:O}});let ae=function(ye){if(ye.preventDefault(),ye.touches&&ye.touches.length>1)O.pinchEffect({eventType:"start",event:ye}),(0,aa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:be=>{be.preventDefault(),O.pinchEffect({eventType:"move",event:be})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ee});else{O.dragEffect(v({eventType:"start"},aa.default.getCursor(ye)));let{type:be}=ye;(0,aa.default)(document).addEvent({eventType:be=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:he=>{_e("move",he)}}).addEvent({eventType:be=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:he=>{_e("end",he),ee(he)}})}},_e=function(ye,be){be.preventDefault(),O.dragEffect(v({eventType:ye},aa.default.getCursor(be)))},ee=function(ye){ye.preventDefault(),(0,aa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,aa.default)(H).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ye=>{ye.preventDefault();let be=Number(ye.wheelDelta*.04),he=O.scale.current+be;he=Math.max(he,O.scale.min),he=Math.min(he,O.scale.max),_(he)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:ae,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:ae,options:{passive:!1}}),setTimeout(()=>{Ao.fn.corner.stop()},1e3)})},[a.id]),(0,cs.useEffect)(()=>{var Y;let M=(Y=aa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateScale(m)},[m]),(0,cs.useEffect)(()=>{var Y;let M=(Y=aa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateFilter({grayScale:w,tone:A,rotate:b})},[w,A,b]),(0,pt.jsx)(sr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,pt.jsxs)(er,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,pt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,pt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,pt.jsxs)(_t.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(GM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:_,val_tone:A,set_tone:N,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(_t.Right,{flexSizing:"none",children:[(0,pt.jsx)(lt.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(lt,{isRounded:!0,boxShadow:"3.remark",onClick:()=>La(void 0,null,function*(){var Y;let M=(Y=aa.useStore.get(h))==null?void 0:Y.Instance;if(!M)return;Ao.fn.mini.active("CropperExportation");let H=yield M.export();setTimeout(()=>{Ao.fn.mini.stop("CropperExportation"),l(H)},3e3)}),children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ao.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,pt.jsxs)(_t.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(er,{gap:"1/3",children:[(0,pt.jsx)(or.Supplement,{children:"Rotate"}),(0,pt.jsxs)(_t.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(lt.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,pt.jsxs)(_t.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ne,{icon:YM.faRotateLeft})]})}),(0,pt.jsx)(lt.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,pt.jsxs)(_t.Center,{gap:"1/4",children:[(0,pt.jsx)(Ne,{icon:$M.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Zoom"}),(0,pt.jsxs)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Oa.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(ga.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,u)=>{aa.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Oa.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:WM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(ga.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{aa.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Tone"}),(0,pt.jsx)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Oa.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let u=1;u<=10;u++)f.push({value:u,label:(0,pt.jsxs)(_t.Left,{gap:"1/3",children:[(0,pt.jsx)(X,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,pt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:qM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(ga.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,pt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Cm={openDialogNEdit:r=>La(void 0,null,function*(){let a=yield ga.Filer.fn.openDialog({accept:"image",multiple:!1});Cm.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>La(void 0,null,function*(){let a="CropperImage";sr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(GM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{sr.close(a),r.onProcessFinished(o)},abortCallback:()=>{sr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Po=K(At());var KM=()=>{let{href:r}=location;return(0,Po.jsx)(_t.Center,{padding:[4,1],children:(0,Po.jsxs)(er,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(X,{children:[(0,Po.jsx)(or.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(or.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,Po.jsxs)(er,{children:[(0,Po.jsxs)(or,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(X,{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,Po.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var H_=r=>{let[a,o]=(0,yu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,yu.useRef)(!1);(0,yu.useEffect)(()=>{l&&(s.current?(sr.closeAll(!0),Ls.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,yu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,yu.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Pn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Pn.open(r);return}Pn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Pn.pushSync(r);return}Pn.__push(r)},back:()=>{Pn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Pn.__push=r},setBackEffect:r=>{Pn.__back=r}};var XM=K(ar());var Gh=[{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}],$h=()=>{let r="#45515c",a=(0,XM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},QM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Pw={};Gh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Pw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Xa=K(ar());var Re={toConcreteBorderRadius:r=>{let a=ht.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,f,u,h,p,m,_,b;let S=[],{gap:w,display:k,position:A,overflow:N,fontColor:Y,fontSize:M,fontWeight:H,fontHeight:F,backgroundColor:Z,textAlign:O,textDecoration:ae,boxShadow:_e,margin:ee,marginTop:ye,marginRight:be,marginBottom:he,marginLeft:j,padding:le,paddingTop:de,paddingRight:B,paddingBottom:W,paddingLeft:ie,top:te,right:se,bottom:we,left:Se,border:je,borderTop:Ye,borderRight:Ge,borderBottom:rt,borderLeft:et,borderWidth:Nt,borderColor:$t,borderStyle:dt,borderRadius:Xe,borderTopLeftRadius:ke,borderTopRightRadius:ot,borderBottomLeftRadius:kt,borderBottomRightRadius:Tt,flexSizing:wt,flexWrap:tr,flexType:Ut,flexChilds:dr,flexGrid:na,horizontalAlign:jr,verticalAlign:Yr,transition:xr,gridCenter:pr,gridCols:br,maxHeight:pa,minHeight:kr,maxWidth:vr,minWidth:Pr,width:ba,height:ze,unitHeight:ct,unitWidth:bt,opacity:Gt}=a;{if(Re.ev(k)&&S.push("dsp"+k),N){let G=Xa.default.flatArray(N);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(A)&&S.push("ps"+A),Re.ev(O)&&S.push("txtalg"+O),Re.ev(O)&&S.push("txtdeco"+ae),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(M)&&S.push("ftsz"+((l=String(M))==null?void 0:l.replace(/\..*/,""))),Re.ev(H)&&S.push("ftwgt"+((s=String(H))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Z)&&S.push("bgc"+((u=String(Z))==null?void 0:u.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Ar,gr,$r;Xa.default.is.exist(ee)&&(Xa.default.is.array(ee)?ee.length==2?[Vt,Ar,gr,$r]=[...ee,...ee]:ee.length==4&&([Vt,Ar,gr,$r]=ee):Vt=Ar=gr=$r=ee,ye=ye!=null?ye:Vt,be=be!=null?be:Ar,he=he!=null?he:gr,j=j!=null?j:$r),Re.ev(ye)&&S.push("mrgt"+ye),Re.ev(be)&&S.push("mrgr"+be),Re.ev(he)&&S.push("mrgb"+he),Re.ev(j)&&S.push("mrgl"+j);let $,P,R,z;Xa.default.is.exist(le)&&(Xa.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,de=de!=null?de:$,B=B!=null?B:P,W=W!=null?W:R,ie=ie!=null?ie:z),Re.ev(de)&&S.push("pdt"+de),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ie)&&S.push("pdl"+ie),Re.ev(te)&&S.push("pstt"+te),Re.ev(se)&&S.push("pstr"+se),Re.ev(we)&&S.push("pstb"+we),Re.ev(Se)&&S.push("pstl"+Se);{Xa.default.is.exist(je)&&(Ye=Ye!=null?Ye:je,Ge=Ge!=null?Ge:je,rt=rt!=null?rt:je,et=et!=null?et:je),Xa.default.is.boolean(Ye)&&(Ye=["unset","2.normal"][Number(Ye)]),Xa.default.is.boolean(Ge)&&(Ge=["unset","2.normal"][Number(Ge)]),Xa.default.is.boolean(rt)&&(rt=["unset","2.normal"][Number(rt)]),Xa.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Re.ev(Ye)&&S.push("b_t_ss"+((h=String(Ye))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Ge)&&S.push("b_r_ss"+((p=String(Ge))==null?void 0:p.replace(/\./g,"_"))),Re.ev(rt)&&S.push("b_b_ss"+((m=String(rt))==null?void 0:m.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_l_ss"+((_=String(et))==null?void 0:_.replace(/\./g,"_"))),Xa.default.is.exist(Nt)&&S.push("b_wth"+String(Nt)),Xa.default.is.exist($t)&&S.push("b_cl"+((b=String($t))==null?void 0:b.replace(/\./g,"_"))),Xa.default.is.exist(dt)&&S.push("b_st"+String(dt));{let G,oe,ne,Oe;Xa.default.is.exist(Xe)&&(Xa.default.is.array(Xe)?Xe.length==4&&([G,oe,Oe,ne]=Xe):G=oe=ne=Oe=Xe,ke=ke!=null?ke:G,ot=ot!=null?ot:oe,kt=kt!=null?kt:ne,Tt=Tt!=null?Tt:Oe)}Re.ev(ke)&&S.push("br_tl"+Re.toConcreteBorderRadius(ke)),Re.ev(ot)&&S.push("br_tr"+Re.toConcreteBorderRadius(ot)),Re.ev(kt)&&S.push("br_bl"+Re.toConcreteBorderRadius(kt)),Re.ev(Tt)&&S.push("br_br"+Re.toConcreteBorderRadius(Tt))}if(Re.ev(Gt)&&S.push("op"+Gt),Xa.default.is.exist(w)){let G,oe;Xa.default.is.array(w)?(G=w[0],oe=w[1]):G=oe=w,S.push("gapRow"+G,"gapCol"+oe)}Re.ev(wt)&&S.push("flsz"+wt),Re.ev(tr)&&S.push("flwrp"+tr),Re.ev(Ut)&&S.push("fltyp"+Ut),Re.ev(dr)&&S.push("flchld"+dr),Re.ev(na)&&S.push("flgrid"+na),Re.ev(Yr)&&S.push("flvrt"+Yr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(pr)&&S.push("grcnt"+pr),Re.ev(br)&&S.push("grcol"+br),Re.ev(ze)&&S.push("hgt"+ze),Re.ev(ba)&&S.push("wdt"+ba),Re.ev(ct)&&S.push("unthgt"+ct),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(xr)&&S.push("trnst"+xr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(kr)&&S.push("minh"+kr),Re.ev(vr)&&S.push("maxw"+vr),Re.ev(Pr)&&S.push("minw"+Pr)}return S.length?r+S.join(" "+r):""}},sm=r=>{let a=v({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:_,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:A,freeCSS:N={}}=a,Y=$e(N,[]),M=$e(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},M=M||{},o){let{deg:H,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${H}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let H={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?H.border=!0:l=="plain"?(H.backgroundColor="layer.1",H.boxShadow="none"):l=="cloud"?H.backgroundColor="cloud":l=="shadow"&&(H.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(H.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(H.boxShadow="1.remark"),Y=v(v({},H.freeCSS),Y),M=v(v({},H),M)}return s&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},M)),f&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},M)),u&&(M=v({transition:"middle"},M),M=T(v({},M),{className:[M.className,"ssPushable"].join(" ")})),h&&(M=v({position:"absolute",top:0,left:0,right:0,bottom:0},M)),p&&(M=v({overflow:"hidden"},M),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),_&&(M=v({width:1,flexSizing:"none"},M)),m&&(M=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},M)),b&&(M.fontWeight="1.light"),w&&(M.fontWeight="3.semiBold"),S&&(M.fontWeight="4.bold"),k&&(M.borderRadius="sphere",Xa.default.is.number(k)&&(Y.borderRadius=k*12)),A&&(Y.aspectRatio="1"),T(v({},M),{freeCSS:Y})},To=r=>{let a=sm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:_,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:A,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:H,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:_e,top:ee,right:ye,bottom:be,left:he,border:j,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:ot,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:na,height:jr,unitHeight:Yr,unitWidth:xr,opacity:pr,ssLastChildLossBorder:br,ssAbsoluteCovered:pa,ssCardBox:kr,ssEffectsOnActive:vr,ssPushable:Pr,ssSphere:ba,ssSquare:ze,ssTextEllipsis:ct,isBoldFont:bt,isLightFont:Gt,isSemiBoldFont:Vt,isRounded:Ar,flexCenter:gr,flexNewLine:$r,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=$e(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","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"]),oe=v({},G),ne=[R];if(br&&ne.push("ssLastChildLossBorder_"+br),vr){vr=Xa.default.flatArray(vr);for(let Oe of vr){let[Pe,Me]=Oe.split(".");oe["data-effect-"+Pe]="1",Me&&(oe["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:_,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:A,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:H,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:_e,top:ee,right:ye,bottom:be,left:he,border:j,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:ot,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:na,height:jr,unitHeight:Yr,unitWidth:xr,opacity:pr});ne.push(Oe)}return P&&ne.push(Re.ClassNames("amotf_bp",P)),z&&(oe.style=v(v({},z),oe.style)),(o||oe["data-component-id"])&&(oe["data-component-id"]=oe["data-component-id"]||o),ne.length&&ne.join("")&&(oe.className=ne.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),oe},Ml=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:_,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:A,marginBottom:N,marginLeft:Y,padding:M,paddingTop:H,paddingRight:F,paddingBottom:Z,paddingLeft:O,top:ae,right:_e,bottom:ee,left:ye,border:be,borderTop:he,borderRight:j,borderBottom:le,borderLeft:de,borderWidth:B,borderColor:W,borderStyle:ie,borderRadius:te,borderTopLeftRadius:se,borderTopRightRadius:we,borderBottomLeftRadius:Se,borderBottomRightRadius:je,flexSizing:Ye,flexWrap:Ge,flexType:rt,flexChilds:et,flexGrid:Nt,horizontalAlign:$t,verticalAlign:dt,transition:Xe,gridCenter:ke,gridCols:ot,maxHeight:kt,minHeight:Tt,maxWidth:wt,minWidth:tr,width:Ut,height:dr,unitHeight:na,unitWidth:jr,opacity:Yr,ssLastChildLossBorder:xr,ssAbsoluteCovered:pr,ssCardBox:br,ssEffectsOnActive:pa,ssPushable:kr,ssSphere:vr,ssSquare:Pr,ssTextEllipsis:ba,isBoldFont:ze,isLightFont:ct,isSemiBoldFont:bt,isRounded:Gt,flexCenter:Vt,flexNewLine:Ar,gradients:gr,UnderBreakPointStyles:$r={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(u)&&(P.fontSize=u),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(_)&&(P.textAlign=_),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(A)&&(P.marginRight=A),Re.ev(N)&&(P.marginBottom=N),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(M)&&(P.padding=M),Re.ev(H)&&(P.paddingTop=H),Re.ev(F)&&(P.paddingRight=F),Re.ev(Z)&&(P.paddingBottom=Z),Re.ev(O)&&(P.paddingLeft=O),Re.ev(ae)&&(P.top=ae),Re.ev(_e)&&(P.right=_e),Re.ev(ee)&&(P.bottom=ee),Re.ev(ye)&&(P.left=ye),Re.ev(be)&&(P.border=be),Re.ev(he)&&(P.borderTop=he),Re.ev(j)&&(P.borderRight=j),Re.ev(le)&&(P.borderBottom=le),Re.ev(de)&&(P.borderLeft=de),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ie)&&(P.borderStyle=ie),Re.ev(te)&&(P.borderRadius=te),Re.ev(se)&&(P.borderTopLeftRadius=se),Re.ev(we)&&(P.borderTopRightRadius=we),Re.ev(Se)&&(P.borderBottomLeftRadius=Se),Re.ev(je)&&(P.borderBottomRightRadius=je),Re.ev(Ye)&&(P.flexSizing=Ye),Re.ev(Ge)&&(P.flexWrap=Ge),Re.ev(rt)&&(P.flexType=rt),Re.ev(et)&&(P.flexChilds=et),Re.ev(Nt)&&(P.flexGrid=Nt),Re.ev($t)&&(P.horizontalAlign=$t),Re.ev(dt)&&(P.verticalAlign=dt),Re.ev(Xe)&&(P.transition=Xe),Re.ev(ke)&&(P.gridCenter=ke),Re.ev(ot)&&(P.gridCols=ot),Re.ev(kt)&&(P.maxHeight=kt),Re.ev(Tt)&&(P.minHeight=Tt),Re.ev(wt)&&(P.maxWidth=wt),Re.ev(tr)&&(P.minWidth=tr),Re.ev(Ut)&&(P.width=Ut),Re.ev(dr)&&(P.height=dr),Re.ev(na)&&(P.unitHeight=na),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(Yr)&&(P.opacity=Yr),Re.ev(xr)&&(P.ssLastChildLossBorder=xr),Re.ev(pr)&&(P.ssAbsoluteCovered=pr),Re.ev(br)&&(P.ssCardBox=br),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(kr)&&(P.ssPushable=kr),Re.ev(vr)&&(P.ssSphere=vr),Re.ev(Pr)&&(P.ssSquare=Pr),Re.ev(ba)&&(P.ssTextEllipsis=ba),Re.ev(ze)&&(P.isBoldFont=ze),Re.ev(ct)&&(P.isLightFont=ct),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev(Gt)&&(P.isRounded=Gt),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Ar)&&(P.flexNewLine=Ar),Re.ev(gr)&&(P.gradients=gr),Re.ev($)&&(P.freeCSS=$),Re.ev($r)&&(P.UnderBreakPointStyles=$r),P};var vl=K(At());var U_=r=>{var a;let o=El.catch("LaunchReactApp_"+ht.get().sessionUID);return(0,vl.jsxs)(vl.Fragment,{children:[(0,vl.jsx)("style",{children:r.inlineCSS}),(0,vl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,vl.jsx)(vc.Pudding.Wrapper,{}),(0,vl.jsx)(vc.Ripple.Wrapper,{}),(0,vl.jsx)(Ao.Wrapper,{}),(0,vl.jsx)(is.Wrapper,{}),(0,vl.jsx)(sr.Wrapper,{}),(0,vl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o||"")]})]})};var V_=K(ar()),vt=r=>{let a=ht.get().appRoot;return V_.default.is.shadowRoot(a)?(0,V_.default)(a).find(r):(0,V_.default)(r)};var F$=K(zw());Zr(Fr,K(zw()));var j$=K(Bw());Zr(Fr,K(Bw()));var H$=v(v(v(v(v(v({},Iw),JS),ow),F$),j$),Mw);var Wa=K(At()),U$=()=>{let[r,a]=(0,kf.useState)((0,Wa.jsxs)(Wa.Fragment,{children:["Hello World ",(0,Wa.jsx)("br",{}),"Hello World ",(0,Wa.jsx)("br",{}),"Hello World ",(0,Wa.jsx)("br",{}),"Hello World"]})),o="accordionIDD",[l,s]=(0,kf.useState)("");return(0,Wa.jsx)(X,{children:(0,Wa.jsx)(b_,{size:"S",children:(0,Wa.jsxs)(er,{padding:2,children:[(0,Wa.jsx)(lt.Prime,{onClick:()=>{Cm.openDialogNEdit({use:[9,16],develops:[{size:"L"}],onProcessFinished:f=>Vr(void 0,null,function*(){console.log(f);let u=yield yield op.Filer.fromFile(f[0]);s(yield u.toDataURL())})})},children:"Submit"}),l&&(0,Wa.jsx)(Dl,{src:l}),(0,Wa.jsx)(ga.Select,{options:[{value:"option1",label:"Option 1",searchValue:"Option 1"}]}),(0,Wa.jsx)(ga.Autocomplete,{options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}],DynamicOptionsOnSearch:f=>Vr(void 0,null,function*(){return console.log(f),[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}]})})]})})})};op.default.scope(()=>{var o;let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:(o=op.default.localStrage.get("prf.roundness"))!=null?o:4,themeColor:"battery",darkMode:op.default.localStrage.get("prf.darkMode")||"auto"});let a=()=>{let l=Is.useLocation(),s=Is.useNavigate();return(0,kf.useEffect)(()=>{Pn.setPushEffect(f=>{if(f.match(/^#/)){console.log(f),console.log(window.location.pathname);return}s(f)}),Pn.setBackEffect(()=>{s(-1)})},[]),H_({pathname:l.pathname}),(0,Wa.jsx)(Is.Routes,{children:(0,Wa.jsx)(Is.Route,{path:"*",element:(0,Wa.jsx)(U$,{})},"*")})};JM.default.createRoot(r).render((0,Wa.jsx)(kf.StrictMode,{children:(0,Wa.jsx)(U_,{children:(0,Wa.jsx)(Is.BrowserRouter,{children:(0,Wa.jsx)(a,{})})})}))});
980
+ T`.repeat(m-1)}let h=Ml(a);return(0,ur.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,ur.jsx)(ir.Description,T(v({className:a.className},h),{position:"absolute",width:1,freeCSS:T(v({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,ur.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,ur.jsx)(ir.Description,T(v({className:a.className},h),{position:"absolute",left:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,ur.jsx)(ir.Description,T(v({className:a.className},h),{position:"absolute",right:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:u}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let _=a,{componentID:b,tone:S,required:w,restrict:k="text",form:R,autoComplete:N="off",autoCapitalize:W="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:M,clearButton:te=!1,allowDecimals:_e,allowZeroStart:ee,checkValidationAtFirst:de,onChange:pe,onKeyDown:ve,onValidate:H,onUpdateValue:le,onUpdateValidValue:fe,value:B="",leftIndicator:q,rightIndicator:ie,leftIcon:re,rightIcon:he,maxLength:we,min:ge,max:je,label:We,isLabelActive:Ke,defaultValidation:tt,wrapStyles:dt}=_,lt=$e(_,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","allowDecimals","allowZeroStart","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","defaultValidation","wrapStyles"]),$t=k=="password"||k=="concealed"?"password":"text",Pt=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,ur.jsx)(X,T(v({htmlTag:"input",type:$t,inputMode:Pt,"data-disabled":a.disabled,"data-show-validation":Ht.isShowValidation(o,s,!!de),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:N,autoCapitalize:W,onKeyDown:Ge=>{let{key:Ce,target:st}=Ge;{let wt=st,{selectionStart:kt,selectionEnd:Nt}=wt,At=Number(kt),tr=Number(Nt),rr=s.formatValue[Number(At)],Fr=s.formatValue[Number(At)-1];Ce=="Delete"&&(k=="creditCard"&&rr==" "||k=="postal"&&rr=="-"||k=="digitNumber"&&rr==",")&&(wt.setSelectionRange(At+1,tr+1),Ge.preventDefault()),Ce=="Backspace"&&(k=="creditCard"&&Fr==" "||k=="postal"&&Fr=="-"||k=="digitNumber"&&Fr==",")&&(wt.setSelectionRange(At-1,tr-1),Ge.preventDefault()),Ce=="Enter"||Ce=="Tab"}_a.default.scope(()=>{["number","digitNumber","creditCard"].includes(k)&&Ce=="Clear"&&f(wt=>T(v({},wt),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,_a.UUID)()}))}),_a.default.scope(()=>{var wt;if(!["number","digitNumber"].includes(k)||!["ArrowUp","ArrowDown"].includes(Ce))return;let kt=+(Ce=="ArrowUp")*2-1,Nt=s.dataValue.slice(-1),At=s.dataValue,tr=((wt=s.dataValue.split(".")[1])==null?void 0:wt.length)||0;if(!Nt)At+="0";else if(Nt=="-")At+="0";else if(Nt==".")At+="0";else if(tr){let rr=Number(Nt)+kt;At=At.slice(0,-1),rr<0?At+="9":rr>9?At+="0":At+=String(rr)}else At=String(Number(s.dataValue.replace(/,/g,""))+kt);o.ok&&l({ok:!1,notice:[]}),f(rr=>T(v(v({},rr),Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:ge,max:je,restrict:k,value:At})),{eventType:"update",eventID:(0,_a.UUID)()})),Ge.preventDefault()}),ve&&ve(Ge),M&&Ht.SubmitForm(Ge,R)},onChange:Ge=>{let{value:Ce,selectionStart:st,selectionEnd:wt}=Ge.target,kt=Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:ge,max:je,restrict:k,value:Ce});p&&(kt.formatValue=Ce),kt.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(Nt=>T(v(v({},Nt),kt),{prevValue:s.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(st),caretTo:Number(wt)})),pe&&pe(Ge))},width:1},lt),{onFocus:Ge=>{lt!=null&&lt.onFocus&&(lt==null||lt.onFocus(Ge)),h(!0)},onBlur:Ge=>{lt!=null&&lt.onBlur&&(lt==null||lt.onBlur(Ge)),h(!1)},onCompositionStart:Ge=>{lt!=null&&lt.onCompositionStart&&(lt==null||lt.onCompositionStart(Ge)),m(!0)},onCompositionEnd:Ge=>{if(lt!=null&&lt.onCompositionEnd&&(lt==null||lt.onCompositionEnd(Ge)),k=="text")return;let Ce=Ol.Validation.DataLeveling({allowDecimals:_e,allowZeroStart:ee,min:ge,max:je,restrict:k,value:s.formatValue});f(st=>T(v(v({},st),Ce),{prevValue:st.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(st.formatValue.length+1),caretTo:Number(st.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:_,tone:b,required:S,form:w,label:k,isLabelActive:R,minRows:N,maxRows:W,multiline:O,autoHeight:j,allowDecimals:F,allowZeroStart:Q,enableFormSubmit:M,maxLength:te,checkValidationAtFirst:_e,onChange:ee,onKeyDown:de,onValidate:pe,onUpdateValue:ve,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:q,rightIcon:ie,defaultValidation:re,wrapStyles:he}=m,we=$e(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","allowDecimals","allowZeroStart","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","defaultValidation","wrapStyles"]);return a.multiline?(0,ur.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":Ht.isShowValidation(s,u,!!_e),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},we),{onFocus:ge=>{we!=null&&we.onFocus&&(we==null||we.onFocus(ge)),l(!0)},onBlur:ge=>{we!=null&&we.onBlur&&(we==null||we.onBlur(ge)),l(!1)},onKeyDown:ge=>{de&&de(ge),M&&Ht.SubmitForm(ge,w)},onChange:ge=>{let{value:je}=ge.target;s.ok&&f({ok:!1,notice:[]}),h(We=>T(v({},We),{dataValue:je,eventType:"update",eventID:(0,_a.UUID)()})),ee&&ee(ge)}})):null}},m$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f,allowDecimals:u,allowZeroStart:h}=r,[p,m]=(0,Os.useState)(!1),[_,b]=(0,Os.useState)(!1),[S,w]=(0,Os.useState)(T(v({componentID:a},Ol.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,_a.UUID)(),caretFrom:null,caretTo:null})),[k,R]=(0,Os.useState)({ok:!1,notice:[]}),N={rootStates:r,val_focus:p,set_focus:m,val_isComposing:_,set_isComposing:b,val_status:S,set_status:w,val_validate:k,set_validate:R};return Ht.CommonEffects({type:"textfield",states:r,val_status:S,set_status:w,val_validate:k,set_validate:R,SystemValidation:Ol.Validation.System,ExtraOverrideStates:v({},Ol.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:s,max:f,restrict:o,value:l}))}),(0,Os.useEffect)(()=>{Ol.setSelection({id:r.id,restrict:o,val_status:S})},[S]),(0,ur.jsxs)(Ua,{val_status:S,set_status:w,val_validate:k,states:N.rootStates,children:[(0,ur.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||p||!!S.dataValue}),(0,ur.jsx)(Ol.Shallow,v({},N)),(0,ur.jsx)(Ol.InputBox,v({},N)),(0,ur.jsx)(Ol.TextAreaBox,v({},N))]})},as=r=>(r=v({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,ur.jsx)(Da,{componentID:r.componentID,children:m$,states:Wn(r)})),mn=as;mn.Validate=Ol.Validation.Text,mn.Katakana=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),mn.HankakuKatakana=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),mn.CreditCard=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),mn.Tel=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),mn.Number=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),mn.DigitNumber=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),mn.Email=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),mn.Url=r=>(0,ur.jsx)(as,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),mn.Postal=r=>{let[a]=(0,Os.useState)((0,_a.UUID)());return(0,Os.useEffect)(()=>()=>{_a.useStore.delete(a)},[]),(0,ur.jsx)(as,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,ur.jsx)(Gd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},mn.Password=r=>(0,ur.jsx)(as,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,ur.jsx)(Ha,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,ur.jsx)(ot.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_c.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_c.abort,tabIndex:-1,onClick:a=>{(0,_a.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,ur.jsx)(Ne,{icon:XO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),mn.Concealed=r=>(0,ur.jsx)(mn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),mn.Money={JPY:r=>(0,ur.jsx)(mn.DigitNumber,T(v({rightIcon:(0,ur.jsx)(Ha,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var D_=K(Dt()),QO=K(nr()),uw=K(dr());function v$(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:f})=>f=="invalid").length,notice:s}}var g$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:R,rightIndicator:N,leftIcon:W,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=$e(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[M,te]=(0,uw.useState)(Ht.DefaultStatus(o,u)),[_e,ee]=(0,uw.useState)({ok:!1,notice:[]});return Ht.CommonEffects({type:"contenteditable",states:r,val_status:M,set_status:te,val_validate:_e,set_validate:ee,SystemValidation:v$}),(0,D_.jsx)(Ua,{val_status:M,set_status:te,val_validate:_e,states:r,children:(0,D_.jsx)(X,T(v({contentEditable:!0,"data-show-validation":Ht.isShowValidation(_e,M,!!p),"data-component-id":M.componentID,onKeyDown:de=>{_&&_(de),h&&Ht.SubmitForm(de,f)},onInput:de=>{let pe=de.currentTarget,{innerHTML:ve,innerText:H}=pe;_e.ok&&ee({ok:!1,notice:[]}),te(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,QO.UUID)()})),m&&m(de)}},Q),{children:k}))})},JO=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Wn(r);return(0,D_.jsx)(Da,{componentID:r.componentID,children:g$,states:a})};var vm=K(Dt()),fw=K(dr()),Qd=K(nr());function _$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,u=[];return l&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&u.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&u.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!u.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:u}}var b$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},ZO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},y$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:_,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:R,value:N="",override:W,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:M}=a,te=$e(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,ee]=(0,fw.useState)(T(v({componentID:r.componentID||""},b$(h,N)),{eventType:"init",eventID:(0,Qd.UUID)()})),[de,pe]=(0,fw.useState)({ok:!1,notice:[]});Ht.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:ee,val_validate:de,set_validate:pe,SystemValidation:_$});let ve=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=u;r.combineInput&&(B=[u,Ud("DigitCharacterCell"),Ud("Combined")].join(" ")),ve.push((0,vm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:v(v({},r.style),fe),onKeyDown:q=>{let{key:ie,code:re}=q;if(ie=="Tab")return;q.preventDefault();let he=null;if(ie=="Backspace"){let we=_e.formatValue;we[H]="",ee(ge=>T(v(v({},ge),ZO(we)),{eventType:"update",eventID:(0,Qd.UUID)()})),he=H-1}else if(["ArrowLeft","ArrowRight"].includes(ie)){let we=+(ie=="ArrowRight")*2-1;he=H+we}else m&&Ht.SubmitForm(q,s),(()=>{let we=re.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let ge=we[2]||we[3]||we[4];if(p&&!ge.match(/\d/)||!ge)return;let je=_e.formatValue;je[H]=ge,ee(We=>T(v(v({},We),ZO(je)),{eventType:"update",eventID:(0,Qd.UUID)()})),he=H+1})();Qd.default.is.exist(he)&&vt("#Digit-"+he+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,vm.jsx)(Ua,{val_status:_e,set_status:ee,val_validate:de,states:r,children:(0,vm.jsx)(Lt,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},M),{children:ve}))})},e7=r=>{r=v({},r),r=v({textAlign:"center",width:0},r),r.combineInput&&(r=T(v({textAlign:"center",width:0},r),{freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=To(Wn(r));return(0,vm.jsx)(Da,{componentID:r.componentID,children:y$,states:a})};var aa=K(Dt()),vn=K(nr()),gm=K(nr()),Do=K(dr());var y7=K(l7()),S7=K(m7());var fr=K(Dt()),Va=K(nr()),bc=K(dr());function S$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var v7={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,fr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,fr.jsx)(ir.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,fr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(vu.LegacySelector,v({},r)),(0,fr.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,fr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:_,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:R,className:N,label:W,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:M,onValidate:te,onUpdateValue:_e,onUpdateValidValue:ee,value:de="",options:pe,leftIndicator:ve,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:q,wrapStyles:ie,SelectedCellStyles:re,SelectorCellStyles:he,SelectorMode:we,SelectorStyles:ge,SelectorPosition:je}=S,We=$e(S,["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","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Ke="select-click-"+a.componentID;if(_){if(!(0,Va.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Va.default)(document).addEvent({eventID:Ke,eventType:"click",callback:tt=>{let dt=(0,Va.default)(tt.target),lt=!!(0,Va.default)(dt).parent("."+Rl("Core")).length;(0,Va.default)(dt).parent("."+Rl("Selector")).length||lt||b(!1)}})}else(0,Va.default)(document).removeEvent([Ke])},[_]),(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!_)return;let Ke=(0,Va.default)('[data-input-origin="'+a.componentID+'"]');Ke&&Ke.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(X,T(v({tabIndex:0},We),{"data-disabled":a.disabled,"data-show-validation":Ht.isShowValidation(u,p,!!M),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onFocus:Ke=>{if(We!=null&&We.onFocus&&(We==null||We.onFocus(Ke)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Ke=>{We!=null&&We.onClick&&(We==null||We.onClick(Ke)),!a.disabled&&b(!0)},onKeyDown:Ke=>{let{key:tt,metaKey:dt,ctrlKey:lt}=Ke,$t=dt||lt;if(We!=null&&We.onKeyDown&&(We==null||We.onKeyDown(Ke)),F&&Ht.SubmitForm(Ke,R),!a.disabled){if(Va.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(tt))return;if(Ke.preventDefault(),!_)return b(!0);let Pt=tt=="ArrowDown"?1:-1,Ge=v7.FilterSelectableOptions(r),Ce=Ge.length-1,st=null;Va.default.scope(()=>{var wt,kt,Nt,At,tr,rr,Fr,Ur,Gr,xr;let pr=Ge.findIndex(br=>br.value==s);if(Pt==1){if(st=(kt=(wt=Ge[0])==null?void 0:wt.value)!=null?kt:null,$t){st=(Nt=Ge[Ce].value)!=null?Nt:null;return}if(pr==-1||pr==Ce)return;st=(tr=(At=Ge[pr+1])==null?void 0:At.value)!=null?tr:null}else{if(st=(rr=Ge[Ce].value)!=null?rr:null,$t){st=(Ur=(Fr=Ge[0])==null?void 0:Fr.value)!=null?Ur:null;return}if(pr==-1||pr==0)return;st=(xr=(Gr=Ge[pr-1])==null?void 0:Gr.value)!=null?xr:null}}),f(st)}),tt=="Escape")b(!1);else if(tt=="Tab")b(!1);else if(tt=="Backspace")m(Pt=>T(v({},Pt),{dataValue:null,eventType:"update",eventID:(0,Va.UUID)()}));else if(tt==" ")Ke.preventDefault(),b(!0);else if(tt=="Enter"){if(!_)return b(!0);Ke.preventDefault();let Pt=a.options.find(Ge=>Ge.value==s);if(!Pt)return;m(Ge=>T(v({},Ge),{dataValue:Pt.value,eventType:"update",eventID:(0,Va.UUID)()})),b(!1)}}},children:(0,fr.jsxs)(_t.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,fr.jsx)(vu.Placeholder,v({},r)),(0,fr.jsx)(vu.Selected,v({},r)),(0,fr.jsx)(xn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),_&&(0,fr.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:_,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:R,className:N,label:W,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:M,onValidate:te,onUpdateValue:_e,onUpdateValidValue:ee,onKeyDown:de,onChange:pe,value:ve="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:q,componentID:ie,status_id:re,wrapStyles:he,SelectedCellStyles:we,SelectorCellStyles:ge,SelectorMode:je,SelectorStyles:We,SelectorPosition:Ke}=S,tt=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,fr.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},tt),{"data-disabled":a.disabled,"data-show-validation":Ht.isShowValidation(u,p,!!M),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onKeyDown:dt=>{de&&de(dt),F&&Ht.SubmitForm(dt,R)},onChange:dt=>{let{value:lt}=dt.target;u.ok&&h({ok:!1,notice:[]}),m($t=>T(v({},$t),{dataValue:lt,eventType:"update",eventID:(0,Va.UUID)()})),pe&&pe(dt)},children:[!!Q&&(0,fr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(dt=>Va.default.is.nullish(dt.value)?null:(0,fr.jsx)("option",{value:dt.value,children:dt.label},String(dt.value)))]}))},Selector:r=>{var a;let o=[],l=v7.FilterSelectableOptions(r,!0);l.forEach((f,u)=>{let{type:h,value:p}=f,m=r.val_optionFocused==p,_=r.val_status.dataValue===p;if(h=="selector"){o.push((0,fr.jsx)(ot.Sub.S,T(v({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:_||m,isActiveStyles:m?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:b=>{r.set_status(S=>T(v({},S),{dataValue:p,eventType:"update",eventID:(0,Va.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,fr.jsxs)(_t.Left,{gap:"1/2",children:[_&&(0,fr.jsx)(Ne.Check,{fontColor:"theme"}),(0,fr.jsx)(ir.Supplement,{transition:"short",flexSizing:0,children:f.label})]})}),String(p)));return}o.push((0,fr.jsx)(X,{children:f.label},(0,Va.UUID)()))}),l.length||(o=[(0,fr.jsx)(ir.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let s={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:s.bottom="100%",s.left=0,s.paddingBottom="1/3";break;case 2:s.bottom="100%",s.right=0,s.paddingBottom="1/3";break;case 3:s.top="100%",s.left=0,s.paddingTop="1/3";break;case 4:s.top="100%",s.right=0,s.paddingTop="1/3";break;default:break}return(0,fr.jsx)(X,T(v({},s),{children:(0,fr.jsx)(cr.Body,T(v({className:Rl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,fr.jsx)(er,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Va.default.scope(()=>{let o=r.rootStates.options.find(l=>Va.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,fr.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,fr.jsx)(fr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,bc.useState)(Ht.DefaultStatus(r.componentID,o)),[f,u]=(0,bc.useState)(!1),[h,p]=(0,bc.useState)(!1),[m,_]=(0,bc.useState)((a=r.value)!=null?a:null),[b,S]=(0,bc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:_,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Ht.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:S$}),(0,fr.jsxs)(Ua,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,fr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,fr.jsx)(vu.Shallow,v({},w)),(0,fr.jsx)(vu.Button,v({},w))]})}},ns=r=>{var a;let o=v({},r);return o=T(v({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,fr.jsx)(ir.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:f,value:u,searchValue:h}=l,p=h||Va.default.is.string(u)&&u||Va.default.Stringify(u||"")||"";o.options[s]=T(v({},l),{value:u,searchValue:p,type:f||"selector"})}),Va.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,fr.jsx)(Ha,{ssSphere:2,children:(0,fr.jsx)(Ne.AngleDown,{})})),(0,fr.jsx)(Da,{componentID:o.componentID,children:vu.Core,states:Wn(o)})};var Fe=K(Dt()),_7=K(dr()),Lr=K(nr()),yc=K(dr());var Pa=K(Dt()),Pl=K(nr()),hw=K(dr());function w$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var gu={InitOptions:r=>{let a=[];return r.forEach(o=>{let{label:l,value:s}=o;Pl.default.is.nullish(l)&&(l=String(s)),a.push(T(v({},o),{label:l,value:s}))}),a},OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=Pl.default.is.exist(a)?Pl.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(u=>Pl.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Pa.jsx)(gu.Core,T(v({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:_,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:R,onValidate:N,onUpdateValue:W,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:M,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:ee,min:de,max:pe,hideInput:ve,freeCSS:H,wrapStyles:le}=a,fe=$e(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"]),[B,q]=(0,hw.useState)(Ht.DefaultStatus(f,j)),[ie,re]=(0,hw.useState)({ok:!1,notice:[]});return Ht.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:q,val_validate:ie,set_validate:re,SystemValidation:w$}),(0,Pa.jsx)(Ua,{val_status:B,set_status:q,val_validate:ie,states:r,children:(0,Pa.jsx)(gu.List,{rootStates:r,val_status:B,set_status:q})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:_,options:b,name:S,form:w,tabIndex:k,hideInput:R,disabled:N,className:W,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:M}=a,{dataValue:te}=o,_e=a.CustomIcon,ee=b.map((de,pe)=>{let ve=de,{value:H,label:le,disabled:fe,className:B="",checkedStyles:q,checkedClassName:ie="",freeCSS:re}=ve,he=$e(ve,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),we=(0,Pl.UUID)(),ge=te.findIndex(dt=>dt===H)!=-1,je=v(v({},O),he),We=[cf("Label"),j,B];ge&&(je=T(v(v(v({},je),F),q),{freeCSS:v(v(v({},je==null?void 0:je.freeCSS),F==null?void 0:F.freeCSS),q==null?void 0:q.freeCSS)}),We=[...We,Q,ie]);let Ke=()=>{if(N||fe)return;let dt=[];if(f=="radio")dt=[H];else if(f=="checkbox"||_)if(!ge)dt=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex($t=>$t==H),1),dt=lt}l(lt=>T(v({},lt),{dataValue:dt,eventType:"update",eventID:(0,Pl.UUID)()}))},tt=[(0,Pa.jsx)(xn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:Pl.default.is.string(le)?(0,Pa.jsx)(X,{children:le}):le},"content")];return h&&tt[a.iconPosition=="right"?"push":"unshift"]((0,Pa.jsx)(_e,{isChecked:ge,iconSize:p,iconColor:m,toggle:Ke},"icon")),[(0,Pa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+pe,id:we,value:String(H),disabled:N||fe,checked:ge,onFocus:dt=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(v({},lt),{dataValue:[H],eventType:"update",eventID:(0,Pl.UUID)()})))},onChange:()=>{Ke()},onKeyDown:dt=>{let{key:lt,shiftKey:$t}=dt;if((f=="checkbox"||r.rootStates.isChecker)&&lt!="Tab"&&lt.match(/Arrow/)){dt.preventDefault();let Pt=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,Ge=pe+Pt;Ge<0?Ge=b.length-1:Ge>=b.length&&(Ge=0),vt(`input[data-list-index="${s}-${Ge}"]`).focus()}M&&Ht.SubmitForm(dt,w)},tabIndex:k},"List-"+Pl.default.Stringify(H)),(0,Pa.jsx)(X,T(v({htmlTag:"label","data-disabled":N||fe,htmlFor:we,className:We.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},je),{children:tt}),"ListTrigger-"+Pl.default.Stringify(H))]});return(0,Pa.jsx)(Lt,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[W,cf("CellBase"),cf("HideInput_"+R),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:ee})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Pa.jsx)(ot.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)(gu._Icon,T(v({type:"radio"},r),{children:(0,Pa.jsx)(X,{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)(X,{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)(gu._Icon,T(v({type:"checkbox"},r),{children:(0,Pa.jsx)(X,{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)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},mw=r=>{r=r||"checkbox";let a=l=>(l=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=gu.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=gu.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=To(l),l.options=gu.InitOptions(l.options),(0,Pa.jsx)(Da,{componentID:l.componentID,children:gu.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Pa.jsx)(a,v({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Pa.jsx)(a,v({type:r,tone:"border"},l)),o.Cloud=l=>(0,Pa.jsx)(a,v({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Pa.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Pa.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},vf=mw("radio"),A_=mw("checkbox"),g7=mw();var vw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Lr.Time)().addYear(10).year);for(let u=s;u<=f;u++)l.unshift({value:u,label:[u,...Lr.default.transformer.wareki(u).value].join(" -")});return l},b7=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Lr.UUID)();let s=(0,yc.useRef)(!1),[f,u]=(0,yc.useState)((()=>{var p,m;if(a=="clock"){let _=String(l).split(/[^\d]/);_[0]||(_=[0,0]);let b=Number(_[0]),S=Number(_[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[_,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b)||Lr.default.is.nullish(S))&&([_,b,S]=(0,Lr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(_),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[_,b]=String(l).split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b))&&([_,b]=(0,Lr.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(_),month:Number(b)}}else if(a=="year"){let[_]=String(l).split(/\D/);return Lr.default.is.nullish(_)&&([_]=(0,Lr.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(_)}}else if(a=="dateWareki"){let[_,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Lr.default.is.nullish(_)||Lr.default.is.nullish(b)||Lr.default.is.nullish(S))&&([_,b,S]=(0,Lr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(_),month:Number(b),date:Number(S)}}}return{}})());(0,yc.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:_,minutes:b}=f;p=[_.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:_,month:b,date:S}=f;p=[_,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:_,month:b}=f;p=[_,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:_}=f;p=String(_)}else if(a=="dateWareki"){let{year:_,month:b,date:S,era:w}=f;m=w,p=[_,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,Fe.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Fe.jsx)(X,{className:Ra(a.toCapital()+"Base"),children:a=="clock"?(0,Fe.jsx)(Ka.Clock.index,v({},h)):a=="date"?(0,Fe.jsx)(Ka.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Fe.jsx)(Ka.Month.index,v({},h)):a=="year"?(0,Fe.jsx)(Ka.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Fe.jsx)(Ka.DateWareki.index,v({},h)):(0,Fe.jsx)(Fe.Fragment,{})})})},Ka={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,[h,p]=(0,yc.useState)(f.hour>12?2:1),[m,_]=(0,yc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,yc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(Lt,{flexType:"row",flexWrap:!1,gap:1,className:Ra("Body"),children:[(0,Fe.jsxs)(er,{className:Ra("DesignSide"),flexSizing:0,children:[(0,Fe.jsx)(X,{className:Ra("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Fe.jsxs)(X,{className:Ra("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ra("Needle"),Ra("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ra("Needle"),Ra("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,Fe.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,Fe.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,Fe.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{_(w)}})]}),(0,Fe.jsxs)(er,{children:[(0,Fe.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,Fe.jsxs)(Lt,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ka.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ka.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,Fe.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 f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(s=!0)}}a.push((0,Fe.jsx)(ot.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,Fe.jsx)(ot.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:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{flexWrap:!0,children:[(0,Fe.jsxs)(Lt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Fe.jsx)(ns,{override:"force",emptySelect:!1,value:h,options:vw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:_=>{u({modifiedType:"update",year:Number(_),month:p,date:m})},rightIcon:(0,Fe.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})})}),(0,Fe.jsx)(ns,{override:"force",emptySelect:!1,value:p,options:(()=>{let _=[];for(let b=1;b<=12;b++)_.push({value:b,label:String(b)+"\u6708"});return _})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Fe.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:_=>{u({modifiedType:"update",year:h,month:Number(_),date:m})}})]}),(0,Fe.jsx)(Ka.Variables.ShiftButtons,{callback:_=>{let b=p+_,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),u({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),(0,Fe.jsx)(X,{children:Ka.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:_=>{let[b,S,w]=_;u({modifiedType:"update",year:b,month:S,date:w})}})}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:u}=r,h=(0,Lr.Time)(),p=(0,Lr.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),_=(0,Lr.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],R={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var N=0;N<7;N++)b.push((0,Fe.jsx)(X,T(v({className:[Ra("CalendarDay"),Ra("Legend")].join(" ")},R),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][N]}),N));for(var N=0;N<p.weekday;N++)S.unshift((0,_7.createElement)(X,T(v({className:[Ra("CalendarDay"),Ra("Dummy")].join(" "),fontColor:"4.thin"},R),{key:N}),_-N));for(var N=1;N<=m.date;N++){let O=N,j=l==h.year&&s==h.month&&N==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),N.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let M=Number(String(r.max).replace(/\D/ig,""));Q>M&&(F=!0)}}w.push((0,Fe.jsx)(ot.Clear,T(v({className:[Ra("CalendarDay"),Ra("isToday_"+j)].join(" ")},R),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,O])},tabIndex:-1,isLocked:F,children:N}),O))}for(var N=1;N<7-m.weekday;N++)k.push((0,Fe.jsx)(X,T(v({className:[Ra("CalendarDay"),Ra("Dummy")].join(" "),fontColor:"4.thin"},R),{children:N}),N));return(0,Fe.jsxs)(qd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{gap:0,children:[(0,Fe.jsx)(_t.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Fe.jsx)(ns,{emptySelect:!1,value:h,options:vw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,Fe.jsx)(Ka.Variables.ShiftButtons,{callback:m=>{let _=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:_,month:p})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),Ka.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[_,b]=m;u({modifiedType:"update",year:_,month:b})}}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Lr.Time)(),s=[];for(let f=1;f<=12;f++){let u=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let _=Number(String(r.max).replace(/\D/ig,""));m>_&&(h=!0)}}let p=[Ra("Cell"),u?Ra("isThisMonth"):""].join(" ");s.push((0,Fe.jsxs)(ot.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,Fe.jsx)(qd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsx)(ns,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Lr.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:vw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,Fe.jsx)(Ka.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Lr.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{era:h,year:p,month:m,date:_}=f,b={val_value:f,set_value:u};return(0,Fe.jsxs)(X,{children:[(0,Fe.jsxs)(_t.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Fe.jsx)(Ka.DateWareki.EraSelect,v({},b)),(0,Fe.jsx)(X,{borderRight:!0}),(0,Fe.jsx)(Ka.DateWareki.Calendar,v({},b))]}),(0,Fe.jsx)(_t.Right,{padding:1,children:(0,Fe.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,Fe.jsxs)(er,{padding:1,gap:0,children:[(0,Fe.jsx)(ot.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Lr.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,Fe.jsx)(ot.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Lr.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,Fe.jsx)(ot.Clear,T(v({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,Fe.jsx)(ot.Clear,T(v({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,Fe.jsx)(ot.Clear,T(v({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,Fe.jsx)(ot.Clear,T(v({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,Lr.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Lr.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\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,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(_t.Separate,{children:[(0,Fe.jsx)(ns,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(s)}))}}),(0,Fe.jsxs)(_t.Center,{gap:"1/3",children:[(0,Fe.jsx)(ns,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Fe.jsx)(Ha,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.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:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Fe.jsx)(ot.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,Fe.jsx)(Ne.ChevronLeft,{})}),(0,Fe.jsx)(ot.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,Fe.jsx)(Ne.ChevronRight,{})})]})]}),(0,Fe.jsx)(Ka.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Lr.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Fe.jsx)(ir.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Lr.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Lr.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,Fe.jsx)(ot.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:_=>{_.preventDefault(),_.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Lr.Time)();for(let p=1;p<=f.date;p++){let m=(0,Lr.Time)(l).setDate(p),_=h.diff(m).dates==0;u.push((0,Fe.jsx)(ot.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ra("CalendarDay"),Ra("isToday_"+_)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Lr.Time)(l).addMonth(1).setDate(1).addDate(p);u.push((0,Fe.jsx)(ot.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:_=>{_.preventDefault(),_.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,Fe.jsx)(qd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Fe.jsxs)(Lt,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Fe.jsxs)(ot.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Fe.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,Fe.jsx)(ot.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),cr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Fe.jsxs)(Lt,{gap:"1/3",flexWrap:!1,children:[(0,Fe.jsx)(ot.Clear,T(v({className:Ra("LeftButton"),tabIndex:-1,right:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Fe.jsx)(Ne.ChevronLeft,{})})),(0,Fe.jsx)(ot.Clear,T(v({className:Ra("RightButton"),tabIndex:-1,left:0},Ka.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Fe.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var _f=" ~ ",x$={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+_f.length,length:4},{type:"month",from:15+_f.length,length:2},{type:"date",from:18+_f.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+_f.length,length:4},{type:"month",from:13+_f.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}},gf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=vn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=x$[a],m=[],_=a=="clock"&&":"||"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,_);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(u))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,R)=>{if(R==0&&a=="dateWareki"){let N=Number(k);l!="year"&&(N>=2019?l=="reiwa"?N-=2018:l=="heisei"&&(N=31):N>=1989?l=="heisei"?N-=1988:l=="shouwa"&&(N=64):N>=1926?l=="shouwa"?N-=1925:l=="taisho"&&(N=15):N>=1912?l=="taisho"?N-=1911:l=="meiji"&&(N=45):N>=1868&&(N-=1867)),k=N.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(_f),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=vn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"&&":"||"/";for(let _=0;_<h.length;_++)h[_]=String(h[_]).replace(/\D/ig,m);for(let _=0;_<h.length;_++){let b=h[_],S=h[_-1];b.removeLetters()||(p.empty=!0),_>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(_=>{let[b,S,w]=_.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=gm.Time(_);(!k.validate||_!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=gm.Time(b+"/01/01").weekday,k=gm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(_=>{let[b,S]=_.split(/\D+/);!b||!S?p.filled=!1:gm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(_=>{{let b=Number(String(_).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:_,filled:b,correct:S,prohibited:w}=p;m&&f&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),_||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&u.push({type:"invalid",label:(0,aa.jsxs)(aa.Fragment,{children:[(0,aa.jsx)(X,{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:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:_,metaKey:b}=l,S=_||b,{selectionStart:w,selectionEnd:k}=l.target,{index:R,prevIndex:N}=u,{ranges:W,formatValue:O}=s,j=W.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=u.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(R+Q,j))}h(Q=>T(v({},Q),{index:F,prevIndex:R})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=R;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:M,length:te}=W[F],_e=O.slice(M,M+te),ee;if(p=="Backspace")ee="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let de=p=="ArrowUp"?1:-1;_e=_e|0,ee=_e+de;let[pe,ve,H]=Q=="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]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];ee>ve?ee=pe:ee<pe&&(ee=ve),ee=Number(ee).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let de=_e|0,pe=p,ve=`${de}${pe}`;if(N!=R&&(de=0,ve="0"+pe),Q=="year"||Q=="dateWareki"&&a=="year")Number(ve)>1e4?ee=pe:ee=ve,(ee|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;ee=(ve|0)>H?pe:ve,(Number(pe)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ve!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&N==R)||(ve|0)>=s5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?ee=(ee|0).zeroEmbed(4):ee=(ee|0).zeroEmbed(2)}{let de=String(O).partReplace(M,String(ee)),pe=de.split(_f).map(ve=>ve.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"&&":"||"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ve=pe[0].split(/\D/),[H,le,fe]=ve;ve.length==3&&H&&(pe=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ve=>T(v({},ve),{dataValue:["dates","months"].includes(o)?pe:pe[0],formatValue:de,eventType:"update",eventID:(0,vn.UUID)()})),h(ve=>T(v({},ve),{index:F,prevIndex:ve.index}))}}}},w7={picker:{launch:r=>{let a=r.sheetID||(0,vn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:u,restrict:h,defaultValue:p}=o,m=$e(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);cr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,aa.jsx)(_t.Center,{children:(0,aa.jsx)(b7,{restrict:h,min:s,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(_,b)=>{l(_,b)}})})}))},remove:r=>{Ma.close(r)}}},k$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,aa.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,aa.jsx)(ir.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,aa.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},T$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:u,form:h,name:p,min:m,max:_,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:R,onUpdateValue:N,onUpdateValidValue:W,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:M,freeCSS:te,wrapStyles:_e}=a,ee=$e(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[de,pe]=(0,Do.useState)(u),[ve,H]=(0,Do.useState)(T(v({componentID:r.componentID||""},gf.DataLeveling({restrict:s,value:O,era:de})),{eventType:"init",eventID:(0,vn.UUID)()})),[le,fe]=(0,Do.useState)({ok:!1,notice:[]}),[B,q]=(0,Do.useState)({active:!1,index:0,prevIndex:-1}),ie={rootStates:r,val_status:ve,set_status:H,val_validate:le,set_validate:fe,val_era:de,set_era:pe,val_focus:B,set_focus:q};Ht.CommonEffects({type:"time",states:r,val_status:ve,set_status:H,val_validate:le,set_validate:fe,SystemValidation:gf.SystemValidation,ExtraOverrideStates:v({},gf.DataLeveling({restrict:s,value:O,era:de}))});let re=(0,Do.useRef)(!1);return(0,Do.useEffect)(()=>{if(re.current){H(we=>v(v({},we),gf.DataLeveling({restrict:s,value:we.dataValue,era:de})));let he=vn.useStore.get("refreshEra_"+ve.componentID);he&&he.refreshEra(de)}else re.current=!0},[de]),vn.useStore.update({[ve.componentID]:{openPicker:he=>{r.disabled||w7.picker.launch({parent:he,sheetID:"PickerTips-"+ve.componentID,restrict:s,min:m,max:_,defaultValue:ve.dataValue,era:de,onValueUpdate:(we,ge)=>{H(je=>T(v(v({},je),gf.DataLeveling({restrict:s,value:we,era:ge})),{eventType:"update",eventID:(0,vn.UUID)()})),pe(ge)}})},resetEra:he=>{pe(he),H(we=>T(v(v({},we),gf.DataLeveling({restrict:s,value:"",era:de})),{eventType:"update",eventID:(0,vn.UUID)()}))}}}),(0,Do.useEffect)(()=>{let{index:he,active:we}=B;if(we){he=Math.max(he,0),he=Math.min(he,ve.ranges.length-1);let{from:ge,length:je}=ve.ranges[he],We=vt("#"+r.id)[0];We&&We.setSelectionRange(ge,ge+je)}},[B]),(0,aa.jsxs)(Ua,{val_status:ve,set_status:H,val_validate:le,states:r,children:[(0,aa.jsx)(k$.Shallow,v({},ie)),(0,aa.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,aa.jsx)(ot.Plain,T(v({"data-show-validation":Ht.isShowValidation(le,ve,!!w),"data-component-id":ve.componentID,"data-input-origin":ve.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ee),{children:ve.formatValue,onClick:he=>{let we=vn.useStore.get(ve.componentID);we&&we.openPicker(`[data-input-origin="${ve.componentID}"]`),he.stopPropagation()}})):(0,aa.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ht.isShowValidation(le,ve,!!w),"data-input-origin":ve.componentID,"data-disabled":r.disabled,value:ve.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:he=>{gf.KeyDownEvent({restrict:s,event:he,val_era:de,val_status:ve,set_status:H,val_focus:B,set_focus:q}),k&&k(he),S&&Ht.SubmitForm(he,h)},onKeyUp:he=>{he.key=="Tab"&&q(we=>T(v({},we),{active:!0}))},onClick:he=>{let we=he.target.selectionEnd,ge=0;ve.ranges.forEach((je,We)=>{let{from:Ke,length:tt,region:dt}=je;Ke<=we&&we<=Ke+(dt||tt)&&(ge=We)}),q(je=>T(v({},je),{active:!0,index:ge})),he.preventDefault()},onChange:()=>{}},ee))]})},Ms={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Do.useState)(r.componentID||(0,vn.UUID)());if(a.componentID=o,vn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?y7.faClock:S7.faCalendarAlt;a.rightIcon=(0,aa.jsx)(Ha,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,aa.jsx)(ot.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=vn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,aa.jsx)(Ne,{icon:l})})})}return(0,aa.jsx)(Da,{componentID:a.componentID,children:T$,states:Wn(a)})},Clock:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"date"},r)),Week:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"week"},r)),Month:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"month"},r)),Year:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Do.useState)(r.componentID||(0,vn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Do.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let m=Number(u);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Do.useEffect)(()=>{vn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,aa.jsx)(Ms.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,aa.jsx)(ns,{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:f=>{s(f);let u=vn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"dates"},r)),Month:r=>(0,aa.jsx)(Ms.Origin,v({restrict:"months"},r))},fn:w7};var Qt=K(Dt()),Wa=K(dr()),Dr=K(nr());var Sf=K(Dt()),ep=K(nr());var bf=K(Dt()),L_=K(nr());var yf=K(dr());var Jd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,u=$e(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,L_.UUID)()),[m,_]=(0,yf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={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,yf.useEffect)(()=>{let w=vt('[data-component-id="'+p+'"]');m?w.removeClass(Ea("Hide")).await(10).addClass(Ea("Active")):w.removeClass(Ea("Active")).await(210).addClass(Ea("Hide"))},[m]),(0,yf.useEffect)(()=>{L_.useStore.set({[p]:{active:w=>{h==w&&_(!0)},stop:w=>{h==w&&_(!1)},stopForce:()=>{_(!1)}}})},[]),(0,bf.jsxs)(_t.Center,T(v({className:[Ea("MiniLoader"),Ea(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,bf.jsx)("svg",{className:Ea("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:Ea("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var os=K(Dt()),C7=K(nr());var N_=K(dr());var x7=()=>{let[r,a]=(0,N_.useState)(!1);return(0,N_.useEffect)(()=>{C7.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,os.jsx)(Lt,{className:[Ea("CornerLoader"),r?Ea("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"3.tone.tertiary",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",bottom:1,right:1,opacity:"trans",transition:"middle",freeCSS:{zIndex:10,pointerEvents:"none"},children:(0,os.jsxs)(Lt,{className:Ea("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,os.jsx)(X,{className:Ea("Ld4")}),(0,os.jsx)(X,{className:Ea("Ld3")}),(0,os.jsx)(X,{className:Ea("Ld2")}),(0,os.jsx)(X,{className:Ea("Ld1")}),(0,os.jsx)(X,{className:Ea("Ld2")}),(0,os.jsx)(X,{className:Ea("Ld3")}),(0,os.jsx)(X,{className:Ea("Ld4")})]})})};var Zd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Jd,v({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Jd,v({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Jd,v({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Jd,v({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Jd,v({size:"MAX",color:a},o))}},Ao={Wrapper:()=>(0,Sf.jsx)(x7,{}),Theme:Zd({color:"theme"}),Posi:Zd({color:"posi"}),Nega:Zd({color:"nega"}),Warn:Zd({color:"warn"}),White:Zd({color:"white"}),Cloud:Zd({color:"cloud"}),fn:{corner:{active:()=>{let r=ep.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=ep.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{vt("."+Ea("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=ep.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{vt("."+Ea("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=ep.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{vt("."+Ea("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=ep.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ao.fn.corner.stop(),Ao.fn.mini.stopALL()}}};function E$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var _m={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:u}=o,h=u||Dr.default.is.string(s)&&s||""||Dr.default.is.string(f)&&f||Dr.default.Stringify(f||"")||"";Dr.default.is.nullish(s)&&(s=String(f)),a.push(T(v({},o),{searchValue:h,type:l||"selector",label:s,value:f}))}),a},FilterSelectableOptions:(r,a,o)=>{let l=r;return o||(l=r.filter(s=>s.type!="label")),Dr.default.scope(()=>{if(!a)return;let s=a.toLower().replace(/ /g,"");l=l.filter(f=>(f.searchValue||"").toLower().replace(/ /g,"").includes(s))}),l}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ml(a);return(0,Qt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Qt.jsx)(ir.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Qt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:_,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:R,val_validate:N,set_validate:W}=r,O=a,{tone:j,required:F,form:Q,className:M,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:ee,onValidate:de,onUpdateValue:pe,onUpdateValidValue:ve,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:q,rightIcon:ie,componentID:re,status_id:he,wrapStyles:we,emptySelect:ge,SearchInput:je,SearchInputPlaceholder:We,SelectedComponent:Ke,SelectorComponent:tt,SelectorStyles:dt,SelectorPosition:lt,DynamicOptionsOnSearch:$t}=O,Pt=$e(O,["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,Wa.useEffect)(()=>{var Ge,Ce;if(a.disabled||!S)return;let st=_m.FilterSelectableOptions(r.val_options,o,!1);f((Ce=(Ge=st[0])==null?void 0:Ge.value)!=null?Ce:null)},[o]),(0,Wa.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Ge=(0,Dr.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},10)):(0,Dr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,Wa.useEffect)(()=>{let Ge="autocomplete-click-"+a.componentID;if(S){if(!(0,Dr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Dr.default)("#SearchInput_"+a.componentID).focus(),(0,Dr.default)(document).addEvent({eventID:Ge,eventType:"mousedown",callback:Ce=>{let st=(0,Dr.default)(Ce.target),wt=!!(0,Dr.default)(st).parent("."+Rl("Core")).length,kt=!!(0,Dr.default)(st).parent("."+Rl("Selector")).length;wt||kt||(w(!1),Ce.preventDefault(),Ce.stopPropagation())},options:{passive:!1}})}else(0,Dr.default)(document).removeEvent([Ge]),l("")},[S]),(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(X,T(v({tabIndex:0},Pt),{"data-disabled":a.disabled,"data-show-validation":Ht.isShowValidation(N,k,!!ee),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[M,Rl("Core")].join(" "),onFocus:Ge=>{if(Pt!=null&&Pt.onFocus&&(Pt==null||Pt.onFocus(Ge)),!a.disabled){if(_)return b(!1);w(!0),Ge.preventDefault()}},onClick:Ge=>{Pt!=null&&Pt.onClick&&(Pt==null||Pt.onClick(Ge)),!a.disabled&&w(!0)},onKeyDown:Ge=>{let{key:Ce}=Ge;_e&&Ht.SubmitForm(Ge,Q),!S&&(Ce==" "||Ce=="ArrowDown"||Ce=="ArrowUp"||Ce=="Enter")&&w(!0)},children:(0,Qt.jsxs)(_t.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Qt.jsx)(tp.Selected,v({},r)),(0,Qt.jsx)(xn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Qt.jsx)(tp.SearchInput,v({},r))]})})),S&&(0,Qt.jsx)(tp.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,Wa.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Qt.jsx)(X,{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:f,metaKey:u,ctrlKey:h}=s,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,Dr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Dr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Dr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(_=>T(v({},_),{dataValue:m,eventType:"update",eventID:(0,Dr.UUID)()}))}):f=="Enter"&&Dr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:_}=m;r.set_status(b=>{let S=[...b.dataValue];return Dr.default.scope(()=>{if(_===null)return S=[];b.dataValue.includes(_)?S=S.filter(w=>w!==_):a.multiSelect?S.push(_):S=[_]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,Dr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Dr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,_=_m.FilterSelectableOptions(r.val_options,r.val_keyword,!1),b=_.length-1,S=null;Dr.default.scope(()=>{var w,k,R,N,W,O,j,F,Q,M;let te=_.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(w=_[0])==null?void 0:w.value)!=null?k:null,p){S=(R=_[b].value)!=null?R:null;return}if(te==-1||te==b)return;S=(W=(N=_[te+1])==null?void 0:N.value)!=null?W:null}else{if(S=(O=_[b].value)!=null?O:null,p){S=(F=(j=_[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(M=(Q=_[te-1])==null?void 0:Q.value)!=null?M:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ht.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,Wa.useState)("idle"),[s,f]=(0,Wa.useState)("idle");(0,Wa.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let m="autocomplete-search-"+r.rootStates.componentID;Dr.default.interval.once(()=>Na(void 0,null,function*(){let _=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let b=_m.InitOptions(_||[]);r.set_options(b)}),300,m)},[r.val_keyword]);let u=[],h=_m.FilterSelectableOptions(r.val_options,r.rootStates.DynamicOptionsOnSearch?"":r.val_keyword,!0);h.forEach((m,_)=>{let{type:b,value:S}=m,w=r.val_optionFocused==S,k=r.val_status.dataValue.includes(S),R=r.rootStates.SelectorComponent;u.push((0,Qt.jsx)(R,{option:m,isFocused:w,isSelected:k,addCallback:()=>{r.set_status(N=>{let W=[...N.dataValue];return Dr.default.scope(()=>{if(S===null)return W=[];N.dataValue.includes(S)?W=W.filter(O=>O!==S):r.rootStates.multiSelect?W.push(S):W=[S]}),T(v({},N),{dataValue:W,eventType:"update",eventID:(0,Dr.UUID)()})})}},Dr.default.Stringify(S)||(0,Dr.UUID)()))}),h.length||(u=[(0,Qt.jsx)(ir.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(u=[(0,Qt.jsxs)(_t.Left,{padding:1,fontColor:"3.blur",children:[(0,Qt.jsx)(Ao.Theme.R,{showInitial:!0}),(0,Qt.jsx)(ir.Supplement,{children:"Loading..."})]},"loader")]);let p={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:p.bottom="100%",p.left=0,p.paddingBottom="1/3";break;case 2:p.bottom="100%",p.right=0,p.paddingBottom="1/3";break;case 3:p.top="100%",p.left=0,p.paddingTop="1/3";break;case 4:p.top="100%",p.right=0,p.paddingTop="1/3";break;default:break}return(0,Qt.jsx)(X,T(v({},p),{children:(0,Qt.jsx)(cr.Body,T(v({className:Rl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Qt.jsx)(er,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(u=>{let h=s[Dr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Qt.jsx)(X,{className:Rl("SelectedCell"),children:(0,Qt.jsx)(p,{value:h.value,label:m,removeCallback:_=>{if(_.stopPropagation(),_.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==u),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Dr.UUID)()}))}})},Dr.default.Stringify(h.value)))}),(0,Qt.jsx)(Qt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,Wa.useState)(!1),[f,u]=(0,Wa.useState)(!1),[h,p]=(0,Wa.useState)(!1),[m,_]=(0,Wa.useState)(""),[b,S]=(0,Wa.useState)(r.options),[w,k]=(0,Wa.useState)((a=r.value[0])!=null?a:null),[R,N]=(0,Wa.useState)({}),[W,O]=(0,Wa.useState)(Ht.DefaultStatus(r.componentID,o)),[j,F]=(0,Wa.useState)({ok:!1,notice:[]}),Q=(0,Wa.useRef)(!1);(0,Wa.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,Wa.useEffect)(()=>{if(!b.length)return;let ee=[...b],de=v({},R);ee.forEach(pe=>{pe.type!="label"&&(de[Dr.default.Stringify(pe.value)]=pe)}),N(de)},[b]);let M={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:R,set_optionsDict:N,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:_,val_status:W,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ht.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:W,set_status:O,val_validate:j,set_validate:F,SystemValidation:E$});let _e=W.dataValue.length&&W.dataValue[0]!==null;return _e=_e||h,(0,Qt.jsxs)(Ua,{val_status:W,set_status:O,val_validate:j,states:r,children:[(0,Qt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Qt.jsx)(tp.Shallow,v({},M)),(0,Qt.jsx)(tp.Button,v({},M))]})}},O_=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:u})=>l.type=="selector"?(0,Qt.jsx)(ot.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{u()},children:(0,Qt.jsxs)(_t.Left,{gap:"1/2",children:[s&&(0,Qt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Qt.jsx)(ir.Supplement,{transition:"short",children:l.label})]})}):(0,Qt.jsx)(Qt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Qt.jsxs)(_t.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Qt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Qt.jsx)(ot.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Qt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Qt.jsx)(ir.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=Dr.default.flatArray((a=o.value)!=null?a:null),o.options=_m.InitOptions(o.options),Dr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Qt.jsx)(Ha,{ssSphere:2,children:(0,Qt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Qt.jsx)(Ha,{ssSphere:2,fontColor:"5.translucent",children:(0,Qt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Qt.jsx)(Da,{componentID:o.componentID,children:tp.Core,states:Wn(o)})};var wf=K(Dt());var k7=r=>(0,wf.jsx)(O_,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Ha,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Cr=K(Dt()),Cf=K(dr()),Il=K(nr());var Lo=K(Dt()),T7=K(dr()),vo=K(nr());var Sc=K(dr());var is={add:function(r){let a=vo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=vo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=vo.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Lo.jsx)(E7.Wrapper,{})},E7={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,vo.UUID)(),children:f,customChildren:u}=a,h=$e(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Sc.useState)(s),[m,_]=(0,Sc.useState)(r.secondsToClose||10);(0,Sc.useEffect)(()=>{let S=vt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(im("FadeIn"))},10),vo.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(im("FadeOut"))}}})},[]),(0,Sc.useEffect)(()=>{vo.default.interval.once(()=>{m<=0||_(m-1)},1e3,"Snackbar-"+p),m===0&&is.remove(o)},[m]);let b=(0,Lo.jsx)(Lo.Fragment,{});return u?b=(0,Lo.jsx)(u,{close:()=>{is.remove(o)}}):b=(0,Lo.jsxs)(_t.Separate,{verticalAlign:"top",children:[(0,Lo.jsx)(X,{padding:["1/4",0],flexSizing:0,children:vo.default.is.function(f)?(0,Lo.jsx)(f,{}):f}),(0,Lo.jsx)(ot.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{is.remove(o)},children:(0,Lo.jsx)(Ne.Times,{})})]}),(0,Lo.jsx)(X,T(v({className:im("Cell"),componentID:p,onMouseOver:()=>{_(-1)},onMouseOut:()=>{_(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:b}))},Wrapper:()=>{let[r,a]=(0,Sc.useState)((0,vo.UUID)()),[o,l]=(0,Sc.useState)([]);(0,Sc.useEffect)(()=>{vo.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,vo.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(v({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(v({},f),{snackID:f.snackID}),o=h}a((0,vo.UUID)())},remove:f=>{let u=vo.useStore.get("Snackbar-"+f);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,T7.createElement)(E7.Cell,T(v({},f),{key:f.snackID})));return(0,Lo.jsx)(Lt,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",im("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 P7=K(M7());function R$(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:f})=>f=="invalid").length,notice:s}}var I7={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,Cr.jsx)(I7.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,Cr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,ts("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:u=>{let{key:h}=u;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&vt("#"+a.id).click()},children:(0,Cr.jsxs)(_t.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(X,{isRounded:!0,className:ts("AddIcon"),children:(0,Cr.jsx)(Ne,{icon:P7.faCloudArrowUp,className:ts("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(X,{children:[(0,Cr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Cr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(er,T(v({flexSizing:"auto"},Ml(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:u,size:h,type:p}=l,[m,_]=(0,Cf.useState)(!1),b=(0,Il.UUID)(),S=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),R="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?R=p.replace(/image\//,""):p.match(/pdf/)?R="PDF":p.match(/csv/)?R="CSV":p.match(/spreadsheet/)?R="SpreadSheet":p.match(/presentation/)?R="PowerPoint":p.match(/word/)?R="Word":p.match(/zip/)?R="Zip":p.match(/powerpoint/)?R="PowerPoint":p.match(/html/)?R="HTML":p.match(/js/)?R="JavaScript":p.match(/css/)?R="CSS":p.match(/text\/plain/)&&(R="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{vt("#"+b).focus()},100)},[m]),(0,Cr.jsxs)(Lt,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(X,{flexSizing:0,children:[(0,Cr.jsx)(X,{children:(0,Cr.jsx)(Lt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:ts("FileName"),children:m?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(er,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(Lt,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(mn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:N=>{let{key:W}=N;W=="Escape"&&_(!1)}}),(0,Cr.jsxs)(X,{children:[". ",k]})]}),(0,Cr.jsxs)(Lt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(ot.Sub,{padding:["2/3",1],onClick:()=>{_(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(ot,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:N=>Na(void 0,null,function*(){let{name:W}=N,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let M=yield String(Q.result).toBlob(l.type);if(!M)return;let te=new File([M],W+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(v({},_e),{dataValue:O,eventType:"update",eventID:(0,Il.UUID)()})),_(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(ot.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{_(!0)},children:(0,Cr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Cr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[R,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Cr.jsx)(ot.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let N=[...s.dataValue];N[a]&&(N.splice(a,1),f(W=>T(v({},W),{dataValue:N,eventType:"update",eventID:(0,Il.UUID)()})))},children:(0,Cr.jsx)(Ne.Times,{})})]}))}},D$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:R,cellStyles:N,cellClassName:W,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:M}=a,te=$e(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,ee]=(0,Cf.useState)(Ht.DefaultStatus(r.componentID||"",k)),[de,pe]=(0,Cf.useState)({ok:!1,notice:[]}),ve={rootStates:r,val_status:_e,set_status:ee};(0,Cf.useEffect)(()=>{Il.useStore.set({["AddFiles-"+_e.componentID]:le=>{ee(fe=>{let B=fe.dataValue,q=[];for(var ie=0;ie<(le==null?void 0:le.length);ie++){let re=le[ie],{type:he,name:we}=re;if(ie+1+B.length>p){is.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${we}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!he.match(/image/)){is.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${we} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}q.push(re)}return T(v({},fe),{dataValue:[...B,...q],eventType:"update",eventID:(0,Il.UUID)()})})}})},[]),Ht.CommonEffects({type:"file",states:r,val_status:_e,set_status:ee,val_validate:de,set_validate:pe,SystemValidation:R$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,Cr.jsxs)(Ua,{val_status:_e,set_status:ee,val_validate:de,states:r,children:[(0,Cr.jsx)(X,T(v({htmlTag:"input",type:"file",className:ts("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Na(void 0,null,function*(){_&&_(le);let fe=le.target,B=fe.files,q=[];for(var ie=0;ie<(B==null?void 0:B.length);ie++){let re=B[ie],he=re.name;if(re.id=(0,Il.UUID)(),ie+1+_e.dataValue.length>p){is.add({componentID:he,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${he}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}q.push(re)}ee(re=>T(v({},re),{dataValue:[...re.dataValue,...q],eventType:"update",eventID:(0,Il.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(I7.List,v({},ve))]})},_w=r=>(r=T(v({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:v(v({},Wn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Da,{componentID:r.componentID,children:D$,states:r}));_w.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=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Il.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),vt("."+ts("AddButton")).addClass(ts("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),vt("."+ts("AddButton")).removeClass(ts("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(vt(o).hasClass(ts("AddButton"))){let{componentId:l}=o.dataset,s=Il.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var go=K(Dt()),Ps=K(nr()),bm=K(dr());function A$(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:f})=>f=="invalid").length,notice:s}}var B7=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},z7={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var _=h;_<=p;_++){let b=_*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";u.push((0,go.jsx)(X,{className:Ds("Label"),id:"Legend-"+a+"-"+_,display:_==h||_==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,bm.useEffect)(()=>{let b=()=>{let S=vt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,R=Math.round(m/k);for(let N=h+1;N<p;N++)vt("#Legend-"+a+"-"+N).css({display:N%R==0?"flex":"none"})};return(0,Ps.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ps.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,go.jsx)(Lt,{className:Ds("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,go.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:u})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:u}=a;return(0,go.jsxs)(Lt,{className:Ds("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,go.jsx)(X,{className:Ds("Bar"),backgroundColor:"layer.4",position:"relative",borderRadius:"1.tone.primary",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,go.jsx)(X,{className:Ds("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:u+"_BarColor"})}),(0,go.jsx)(X,{className:Ds("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,go.jsx)(ot.Plain,{className:Ds("Ball"),position:"absolute",boxShadow:"1.remark",backgroundColor:r.color,top:0,left:0,ssSquare:1.5,borderRadius:"1.tone.primary",freeCSS:{zIndex:2,left:l.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ht.SubmitForm(h,s)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Ps.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{rp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{rp.Effects.End()}})},Move:(r,a)=>{let o=Ps.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:u,max:h}=l,p=vt("#"+f+"_Ball"),m=vt("#"+f+"_Bar"),_=vt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,R=B7({value:k,val_status:l}),N=R.positionLeft,W=R.stepValue;return p.css({left:N}),_.css({width:N}),s(O=>{let j=O.dataValue;return W==j?O:T(v({},O),{dataValue:W,eventType:"update",eventID:(0,Ps.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ps.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:u}=o,{key:h,metaKey:p,ctrlKey:m}=a,_=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?_?b=s:b-=u:h.match(/Right|Down/)&&(_?b=f:b+=u),b=Math.max(Math.min(b,f),s),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ps.UUID)()})))}},L$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:_,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:R,value:N="",className:W,wrapStyles:O}=a,j=$e(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","wrapStyles"]),[F,Q]=(0,bm.useState)({componentID:r.componentID||"",dataValue:N,min:p,max:m,step:_,eventType:"init",eventID:(0,Ps.UUID)()}),[M,te]=(0,bm.useState)({ok:!1,notice:[]});Ht.CommonEffects({type:"slider",states:r,val_status:F,set_status:Q,val_validate:M,set_validate:te,SystemValidation:A$});let _e=B7({value:F.dataValue,val_status:F});return(0,go.jsx)(Ua,{val_status:F,set_status:Q,val_validate:M,states:r,children:(0,go.jsxs)(er,T(v({gap:"1/2",flexSizing:"auto"},j),{className:[Ds("Wrap"),W,Ds("ShowLegendsAlways_"+h)].join(" "),children:[(0,go.jsx)(z7.Rail,{rootStates:r,color:o,val_status:F,set_status:Q,DotData:_e,form:s,enableFormSubmit:b}),!!f&&(0,go.jsx)(z7.IndicatorLabels,{componentID:F.componentID,min:p,max:m,step:_,customLegends:u})]}))})},F7=r=>{let a=T(v({},r),{freeCSS:v({minWidth:120},r.freeCSS)});return(0,go.jsx)(Da,{componentID:r.componentID,children:L$,states:To(a)})};var No=K(Dt()),bw=K(nr()),yw=K(dr());function N$(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:f})=>f=="invalid").length,notice:s}}var O$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:R="",icon:N="",isApply:W=!1}=a,O=$e(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,yw.useState)({componentID:r.componentID||"",dataValue:R,eventType:"init",eventID:(0,bw.UUID)()}),[Q,M]=(0,yw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;Ht.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:M,SystemValidation:N$});let _e="middle",ee=5,de=3;return W&&(de=4),(0,No.jsxs)(Ua,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,No.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:u,onKeyDown:pe=>{_&&_(pe),h&&Ht.SubmitForm(pe,f)},onChange:pe=>{let{checked:ve}=pe.target;Q.ok&&M({ok:!1,notice:[]}),F(H=>T(v({},H),{dataValue:ve,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(pe)}},O)),(0,No.jsx)(__.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:_e,borderRadius:"1.tone.primary",className:uf("Label"),children:(0,No.jsx)(X,T(v({},W?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.3"}:{}),{children:(0,No.jsxs)(_t.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:(ee+de)/ee},children:[!W&&(0,No.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:_e,width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,No.jsx)(X,{position:"absolute",top:0,backgroundColor:!W&&te?l:"white",transition:_e,isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${de.ratio(ee+de)}%)`:0},children:N&&(0,No.jsx)(X,{transition:_e,flexCenter:!0,fontColor:te?W?l:"white":"6.clear",children:N})})]})}))})]})},M_=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,No.jsx)(Da,{componentID:a.componentID,children:O$,states:a})},ym=M_;ym.S=r=>(0,No.jsx)(M_,T(v({},r),{size:"small"})),ym.R=r=>(0,No.jsx)(M_,T(v({},r),{size:"regular"})),ym.L=r=>(0,No.jsx)(M_,T(v({},r),{size:"large"}));var j7=K(Dt());var H7=r=>(0,j7.jsx)(A_,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var wc=K(Dt()),U7=K(nr()),P_=K(dr());var M$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:_,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:R}=a,N=$e(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[W]=(0,P_.useState)((0,U7.UUID)()),[O,j]=(0,P_.useState)(s),[F,Q]=(0,P_.useState)(O);return O!=s&&(j(s),Q(s)),(0,wc.jsx)(vf,T(v({options:f,value:F,componentID:W,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},N),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},_),cellCheckedStyles:v({},w),cellClassName:[b,v_("Label"),v_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,v_("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...M)=>{h&&h(...M),o=="bottomline"&&Q(M[0])}}))},I_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(v({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:v({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,wc.jsx)(M$,v({__sys_segmented_type:"plain"},r))},ls=I_;ls.Cloud=r=>{let a=T(v({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:v({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))},ls.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,wc.jsx)(ls.Cloud,v({},a))},ls.CloudMono=r=>{let a=T(v({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:v({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,wc.jsx)(ls.Cloud,v({},a))},ls.Border=r=>{let a=T(v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:v({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))},ls.BorderVivid=r=>{let a=T(v({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:v({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(ls.Border,v({},a))},ls.Bottomline=r=>{let a=T(v({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(I_,v({},a))};var z_=K(Dt()),V7=K(nr()),Sw=K(dr());function P$(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:f})=>f=="invalid").length,notice:s}}var I$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:_,onUpdateValidValue:b,value:S=""}=a,w=$e(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,R]=(0,Sw.useState)(Ht.DefaultStatus(r.componentID||"",S)),[N,W]=(0,Sw.useState)({ok:!1,notice:[]});return Ht.CommonEffects({type:"color",states:r,val_status:k,set_status:R,val_validate:N,set_validate:W,SystemValidation:P$}),(0,z_.jsx)(Ua,{val_status:k,set_status:R,val_validate:N,states:r,children:(0,z_.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:O=>{p&&p(O),f&&Ht.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;N.ok&&W({ok:!1,notice:[]}),R(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,V7.UUID)()})),h&&h(O)}},w))})},W7=r=>{let a=T(v(T(v({},Wn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,z_.jsx)(Da,{componentID:r.componentID,children:I$,states:a})};var ss=K(nr()),q7=r=>Na(void 0,null,function*(){let a=1,o={};return yield ss.default.scope(()=>Na(void 0,null,function*(){if(ss.useStore.get("form-process-"+r))return;ss.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ss.useStore.get(["form-data",r].join("-"));if(!s){ss.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s)){if(!u)continue;let h=ss.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ss.useStore.get(["form-data",r].join("-"));if(!s){ss.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}ss.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var da;(r=>(r.Plain=zO,r.Hidden=UO,r.TextField=mn,r.Contenteditable=JO,r.DigitCharacters=e7,r.Time=Ms,r.Select=ns,r.Autocomplete=O_,r.List=g7,r.Radio=vf,r.Checkbox=A_,r.Checker=H7,r.Search=k7,r.Filer=_w,r.Slider=F7,r.Switch=ym,r.Segmented=ls,r.Color=W7,r.LeftIcon=Gd,r.RightIcon=Ha,r.LeftIndicator=x_,r.RightIndicator=k_,r.RequiredSign=S_,r.RequiredShortSign=w_,r.OmitSign=C_,r.CollectForm=q7))(da||(da={}));var $7=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=$e(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,Y7.useEffect)(()=>{f&&f()},[]),(0,B_.jsx)(Lt,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,B_.jsx)(X,{margin:[0,"auto"],children:(0,B_.jsx)(da.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _u=K(Dt());var $r={Table:r=>(0,_u.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_u.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,_u.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,_u.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,_u.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,_u.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_u.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(Dt());var ww=K(Dt()),K7=K(nr());var G7=(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"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},cl=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 ap=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(v({tableID:a.tableID||(0,K7.UUID)(),tone:a.tone},a),{cellStyles:v(v({},G7(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=To(l),{className:f,style:u}=s,h=$e(s,["className","style"]),p=[f,Xt("Wrap"),Xt("TableType_"+a.type),Xt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,ww.jsx)(X,{className:p,style:u,children:(0,ww.jsx)(o,v({},h))})};var Cw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let _=$r[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=cl(b),w=l?l(b):{},k=T(v(v(v(v({},a),S),w),p),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Xt("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(_,v({},k),m))}),(0,Oo.jsx)($r.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,_)=>{let b=[];m.forEach((S,w)=>{let k=$r[S.type=="th"?"TH":"TD"],R={top:_==0&&!s,bottom:_==f.length-1,left:w==0,right:w==u-1,rowIndex:_,colIndex:w,isBody:!0,isHeader:!1},N=cl(R),W=l?l(R):{};b.push((0,Oo.jsx)(k,T(v(v(v(v({},a),N),S),W),{freeCSS:v(v(v({},a.freeCSS),W.freeCSS),S.freeCSS),className:[Xt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Oo.jsx)($r.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},_))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)($r.Table,{className:Xt("Table"),children:(0,Oo.jsxs)($r.Body,{children:[(0,Oo.jsx)(Cw.HeadRow,v({},r)),(0,Oo.jsx)(Cw.BodyRows,v({},r))]})}))},X7=r=>(0,Oo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var xa=K(Dt()),Mo=K(nr()),np=K(dr());var kw=K(aM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],_=$r[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=cl(b),w=l?l(b):{};h.push((0,xa.jsx)(_,T(v(v(v(v({},a),S),m),w),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Xt("Cell"),o,m.className].join(" ")}),p))}return(0,xa.jsx)($r.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,Mo.UUID)()),[m,_]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let R={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},N=cl(R),W=l?l(R):{};k.push((0,xa.jsx)($r.TH,T(v(v(v({padding:0,borderRight:!0},a),N),W),{freeCSS:v(v({},a.freeCSS),W.freeCSS),className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,xa.jsx)(ot.Clear,{className:Xt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{Sm.Start(O,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,xa.jsx)(Ne,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((R,N)=>{R=v({},R);let W=$r[R.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:N==u-2,rowIndex:w,colIndex:N,isBody:!0,isHeader:!1},j=cl(O),F=l?l(O):{};k.push((0,xa.jsx)(W,T(v(v(v(v({},a),j),R),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),R.freeCSS),className:[Xt("Cell"),o,R.className].join(" ")}),N))}),b.push((0,xa.jsx)($r.Row,{id:"TableRow-"+p+"-"+w,className:[Xt("Row"),Xt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,xa.jsx)($r.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,xa.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((R,N)=>{R=v({},R);let W=$r[R.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=cl(O),F=l?l(O):{};k.push((0,xa.jsx)(W,T(v(v(T(v({className:[Xt("Cell"),o,R.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),R),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),R.freeCSS)})))}),b.splice(w,0,(0,xa.jsx)($r.Row,{className:[Xt("Row"),Xt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{Mo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],R=[...m.rows];R.splice(S,1),R.splice(w-(S<w?1:0),0,k),_({rows:R,origin:0,to:NaN}),h(R.map(N=>Mo.default.Objectify(N.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;_({rows:m.rows,origin:w,to:k})}}})}),(0,np.useEffect)(()=>()=>{Mo.useStore.delete(p)},[]),(0,xa.jsx)(xa.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,xa.jsx)(ot.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Ma.open({parent:a.currentTarget,content:(0,xa.jsxs)(Ma.Body,{children:[(0,xa.jsx)(Ne,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,xa.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Mo.default.Stringify(a.rowID||o),a)),(0,xa.jsx)($r.Table,{className:Xt("Table"),children:(0,xa.jsxs)($r.Body,{children:[(0,xa.jsx)(Tw.HeadRow,v({},r)),(0,xa.jsx)(Tw.BodyRows,v({},r))]})}))},nM=r=>(0,xa.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),Sm={Start:function(r,a){return Na(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;vt("#TableRow-"+o+"-"+l).addClass(Xt("DraggerOrigin")),(0,Mo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{Sm.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{Sm.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=Mo.default.getCursor(r).y-Mo.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let u=vt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=Mo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=Mo.useStore.get(o);f&&f.swap&&f.swap(l,s),vt("#TableRow-"+o+"-"+l).removeClass(Xt("DraggerOrigin")),(0,Mo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),qn=K(nr()),xf=K(dr());var dM=K(fS()),pM=K(pS()),hM=K(cS()),mM=K(fM());var Cc={__memoryID:(0,qn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=l,[p,m]=u.current,_=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=cl(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};_.push((0,Et.jsx)($r.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Xt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(da.Checker,{label:"",value:!1,onUpdateValidValue:R=>{let N=l.rows;N.forEach(W=>{W.checked=R}),s(T(v({},l),{rows:N}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,R=u.enabled&&u.column[S],N=h.enabled&&h.column[S],W=R?(0,Et.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?pM.faArrowDown:dM.faArrowUp:hM.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(N){let M=f.map(_e=>{var ee;return(ee=_e[S])==null?void 0:ee.data});M=[...new Set(M)].toASC();let te=h.current[S];if(te){let _e=M.filter(H=>!te.includes(H)),ee=[];M.forEach(H=>{H&&ee.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let de="BUTTON-"+l.componentID+"-"+S,pe=l.componentID+"-"+S,ve={sheetID:pe,parent:"#"+de,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(Lt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(er,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(da.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:ee,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=M.filter(B=>!H.includes(B)),fe=v({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(_t.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(ot.Border.S,{isRounded:!0,onClick:()=>{cr.close(pe)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(ot.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=M);let le=v({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Xt("FilterRegion"),children:(0,Et.jsx)(ot.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Xt("Filtering_"+!!te.length),id:de,onClick:H=>{H.stopPropagation(),cr.open(ve)},children:(0,Et.jsx)(Ne,{icon:mM.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=cl(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};w=T(v(v(v(v({},l.cellStyles),F),w),Q),{ssPushable:R,freeCSS:v(v(v({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),w.freeCSS),className:[Xt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,_.push((0,Et.jsx)($r.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:v({zIndex:2},w.freeCSS),onClick:M=>{if(R){let te=v({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(Lt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(Lt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[W,k]})]})}),S))}return(0,Et.jsx)($r.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:_})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var u;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},_=cl(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.jsx)($r.TH,T(v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),_),b),{freeCSS:v(v({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Xt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(da.Checker,{label:"",value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(R=>qn.default.is.equal(R.rowID,s.rowID));k!=-1&&(w[k].checked=S,r.set_status(R=>T(v({},R),{rows:w})))}})})}),-1))}h.forEach((m,_)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=$e(S,["type"]),R={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:_==0,right:_==a.colLength-1,rowIndex:f,colIndex:_,isBody:!0,isHeader:!1},N=cl(R),W=a.cellStylesCallback?a.cellStylesCallback(R):{};k=T(v(v(v(v({},a.cellStyles),N),k),W),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),W.freeCSS),className:[Xt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=$r[w=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,v({},k),_))}),l.push((0,Et.jsx)($r.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.jsx)(X,{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,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)($r.Row,{className:[Xt("Row"),Xt("BodyRow"),Xt("DataNotFound")].join(" "),children:(0,Et.jsx)($r.TD,{colSpan:a.colLength,className:Xt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],_=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(String(l).escapeRegExChar(),"i"))?1:0),m=[...p],_=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],R=s.current[w];k&&R&&R.length&&(m=m.filter(N=>!R.includes(N[w].data)),_=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),_=[...m]);{let{currentPageIndex:w,rowLength:k}=u;_=[..._].splice((w-1)*k,k)}let b=Cc.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:_.length,filtered:m.length},val_status:T(v({},a),{paging:T(v({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return qn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),_.forEach(k=>{let{rowID:R}=k;w.find(N=>qn.default.is.equal(N.rowID,R)).currentPage=!0}),m.forEach(k=>{let{rowID:R}=k;w.find(N=>qn.default.is.equal(N.rowID,R)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{El.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Xt("TableBase"),children:(0,Et.jsx)($r.Table,{className:Xt("Table"),children:(0,Et.jsxs)($r.Body,{children:[(0,Et.jsx)(Cc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(Cc.Body,{val_status:a,set_status:o,PageRows:_})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var f;return qn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return qn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((u,h)=>{let{data:p,children:m,orderIndex:_}=u;u.orderIndex=qn.default.is.exist(_)?String(_):String(p),u.children=m||String(p),f.push(String(u.data))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(Cc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,qn.UUID)()),m={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:f!==!1,column:f,current:u},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]=(0,xf.useState)(m),S=()=>{let w=new WeakSet;return(k,R)=>{if(typeof R=="object"&&R!==null){if(w.has(R))return"[Circular Reference]";if(k=="children")return"[React Element]";w.add(R)}return R}};return(0,xf.useEffect)(()=>{b(w=>T(v({},w),{rows:m.rows}))},[qn.default.Stringify(m.rows,S())]),(0,xf.useEffect)(()=>{b(w=>T(v({},w),{head:m.head}))},[qn.default.Stringify(m.head,S())]),(0,Et.jsx)(Cc.Core,{val_status:_,set_status:b})}},z$={__memoryID:Cc.__memoryID,getRowData:r=>{let a=qn.useStore.get(Cc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},F_={SearchInput:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(da.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(da.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),qn.default.interval.once(()=>{l(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=El.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,Et.jsxs)(Lt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(xn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let u=0;u<o.paging.pageLength;u++)s.push({value:u+1,label:(u+1).toString()});let f=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=v({},o);p.paging.currentPageIndex=h,l(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(_t.Center,{children:[(0,Et.jsxs)(_t.Center,{gap:"1/2",children:[(0,Et.jsx)(da.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:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(_t.Right,{gap:"1/2",children:[(0,Et.jsx)(ot.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ne.ChevronLeft,{})}),(0,Et.jsx)(ot.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||u.push({value:s,label:s.toString()}),(0,Et.jsx)(_t.Center,{gap:"1/2",children:(0,Et.jsx)(da.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:u.toASC("value"),onUpdateValidValue:h=>{l(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},B$=r=>(0,Et.jsx)(ap,T(v({},r),{type:"data",JSXChildren:Cc.DataLeveler})),bu=B$;bu.__memoryID=Cc.__memoryID,bu.getRowData=z$.getRowData,bu.Info=F_.Info,bu.Paging=F_.Paging,bu.RowLength=F_.RowLength,bu.SearchInput=F_.SearchInput;var j_;(r=>(r.Normal=X7,r.Data=bu,r.Drag=nM,r.Parts=$r))(j_||(j_={}));var Rw=K(Dt()),wm=K(nr());var _c={uid:(0,wm.UUID)(),open:(r,a,o=24,l=.35)=>{r&&wm.default.interval.once(()=>{Ma.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Ma.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(ir.Supplement,{children:a})})})},l*1e3,_c.uid)},abort:()=>{wm.default.interval.abort(_c.uid),Ma.close(_c.uid)}};var pt=K(Dt()),na=K(nr());var cs=K(dr());var WM=K(wM()),qM=K(DM()),YM=K(IM()),$M=K(VM());var Ow=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops;{let[h,p]=na.default.is.array(a.use)&&a.use||a.use.split(":").map(_=>Number(_)),m=h/p;this.usage={w:h,h:p,aspect:m}}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:f}=l,u=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:u,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:f/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.usage.aspect==1){let _=a.width*.6666666666666666,b=a.height*(2/3);s=l=Math.min(_,b)}else this.usage.aspect>1?(l=a.width*(8/10),s=l/this.usage.aspect):(s=a.height*(8/10),l=s*this.usage.aspect);let{width:f,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:u}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,_=h/m*u.x,b=p/m*u.y;o=="move"?this.drawImage(this.pst.imageX+_,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=_,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=na.default.getCursor(l.touches[0]),{x:u,y:h}=na.default.getCursor(l.touches[1]),p=u-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:_}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(_.x,2)+Math.pow(_.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(_.scale*S);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 Na(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield na.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(l==90||l==270)&&(h=u.height,p=u.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(u,0,0,u.width,u.height);let m=f.getImageData(0,0,s.width,s.height),_=m.data;{a/=100;let k=[[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],R=k[0]/255,N=k[1]/255,W=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*h+j)*4;if(a){let F=.3*_[b]+.59*_[b+1]+.11*_[b+2];for(var S=0;S<3;S++){let Q=_[b+S];_[b+S]=Q+(F-Q)*a}}_[b]*=R,_[b+1]*=N,_[b+2]*=W}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield na.default.ImageLoader(w),{width:R,height:N}=k,W=R/N;this.Picture=T(v({},this.Picture),{elm:k,aspect:W,revisedAspect:this.pst.frame.aspect>W?this.pst.frame.w/R:this.pst.frame.h/N})}this.drawImage()})}drawImage(a,o){let{Canvas:{ctx:l,elm:s},pst:{frame:f}}=this,u=a||this.pst.imageX,h=o||this.pst.imageY;{let p=this.scale.current/100,m=this.Picture.revisedAspect*p,_=this.pst.centerX-u*m,b=this.pst.centerY-h*m,S=this.Picture.elm.width*m,w=this.Picture.elm.height*m;{let k=this.pst.frame.x+this.pst.frame.w-S,R=this.pst.frame.x,N=this.pst.frame.y+this.pst.frame.h-w,W=this.pst.frame.y,O=0;_<k&&(O=_-k),_>R&&(O=_-R);let j=0;b<N&&(j=b-N),b>W&&(j=b-W),this.dragEffectInfo.origin.x+=O/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=j/2/this.dragEffectInfo.frameExpandRate.y,_=Math.min(Math.max(_,k),R),b=Math.min(Math.max(b,N),W)}this.pst.outImage={x:_,y:b,w:S,h:w},l.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),l.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,_,b,S,w)}{if(this.usage.aspect==1){l.fillStyle="rgba( 20,24,20,.3 )",l.beginPath();let m=s.width/3*2,_=s.height/3*2,b=Math.min(m,_),S=Math.max(m,_);l.arc(s.width/2,s.height/2,S*1.41,0,Math.PI*2,!0),l.arc(s.width/2,s.height/2,b/2,0,Math.PI*2,!1),l.closePath(),l.fill()}else l.fillStyle="rgba( 20,24,20,.3 )";l.beginPath(),l.moveTo(0,0),l.lineTo(s.width,0),l.lineTo(s.width,s.height),l.lineTo(0,s.height),l.lineTo(0,0),l.closePath(),l.lineTo(f.x,f.y),l.lineTo(f.x,f.y+f.h),l.lineTo(f.x+f.w,f.y+f.h),l.lineTo(f.x+f.w,f.y),l.lineTo(f.x,f.y),l.fill();let p=(0,na.default)(document.body).getStyleProperty("--color-theme-hsl");l.lineWidth=4,l.strokeStyle=`hsla( ${p},1 )`,l.strokeRect(f.x,f.y,f.w,f.h)}}export(){return Na(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/u,m=(f.x-s.x+f.w)/u,_=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:R,maxSize:N}=o[k];N=N||{S:1024*20,R:1024*100,L:1024*350}[R];let W={S:140,R:600,L:1200}[R],O=W;this.usage.aspect>1?O=W/this.usage.aspect:W=O*this.usage.aspect;let j=document.createElement("canvas");j.width=W,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,W,O),F.drawImage(this.Picture.elm,p,_,m-p,b-_,0,0,W,O);let Q=j.toDataURL(w),M=yield Q.toBlob(w);if(!M)return;if(M.size>=N){let _e=N/M.size;if(Q=j.toDataURL(w,_e*.92),M=yield Q.toBlob(w),!M)return}let te=new File([M],this.val_file.name,{type:w});S[k]=te}return S})}},GM={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=o,[h]=(0,cs.useState)((0,na.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,_]=(0,cs.useState)(p.scale.default),[b,S]=(0,cs.useState)(p.rotate),[w,k]=(0,cs.useState)(p.grayScale),[R,N]=(0,cs.useState)(p.tone);return(0,cs.useEffect)(()=>{let W="CropperResize";return(0,na.default)(window).addEvent({eventType:"resize",eventID:W,callback:()=>{na.default.interval.once(()=>{var O;let j=vt("#Canvas-"+h)[0];if(!j)return;let F=(O=na.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),M=Q.width/Q.height;j.width=2400,j.height=2400/M;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,na.default)(window).removeEvent(W)}},[]),(0,cs.useEffect)(()=>{na.useStore.set({[h]:{}}),Na(void 0,null,function*(){Ao.fn.corner.active(),yield na.default.pending(()=>{},400);let{target:W}=yield a.convert();if(!W)return;let O=W.result,j=vt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let M=new Ow({set_scale:_,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield na.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});na.useStore.set({[h]:{Instance:M}});let te=function(de){if(de.preventDefault(),de.touches&&de.touches.length>1)M.pinchEffect({eventType:"start",event:de}),(0,na.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:pe=>{pe.preventDefault(),M.pinchEffect({eventType:"move",event:pe})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ee});else{M.dragEffect(v({eventType:"start"},na.default.getCursor(de)));let{type:pe}=de;(0,na.default)(document).addEvent({eventType:pe=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ve=>{_e("move",ve)}}).addEvent({eventType:pe=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ve=>{_e("end",ve),ee(ve)}})}},_e=function(de,pe){pe.preventDefault(),M.dragEffect(v({eventType:de},na.default.getCursor(pe)))},ee=function(de){de.preventDefault(),(0,na.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,na.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:de=>{de.preventDefault();let pe=Number(de.wheelDelta*.04),ve=M.scale.current+pe;ve=Math.max(ve,M.scale.min),ve=Math.min(ve,M.scale.max),_(ve)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Ao.fn.corner.stop()},1e3)})},[a.id]),(0,cs.useEffect)(()=>{var W;let O=(W=na.useStore.get(h))==null?void 0:W.Instance;O&&O.updateScale(m)},[m]),(0,cs.useEffect)(()=>{var W;let O=(W=na.useStore.get(h))==null?void 0:W.Instance;O&&O.updateFilter({grayScale:w,tone:R,rotate:b})},[w,R,b]),(0,pt.jsx)(cr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,pt.jsxs)(er,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,pt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,pt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,pt.jsxs)(_t.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(GM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:_,val_tone:R,set_tone:N,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(_t.Right,{flexSizing:"none",children:[(0,pt.jsx)(ot.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(ot,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Na(void 0,null,function*(){var W;let O=(W=na.useStore.get(h))==null?void 0:W.Instance;if(!O)return;Ao.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Ao.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ao.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,pt.jsxs)(_t.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(er,{gap:"1/3",children:[(0,pt.jsx)(ir.Supplement,{children:"Rotate"}),(0,pt.jsxs)(_t.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(ot.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,pt.jsxs)(_t.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ne,{icon:YM.faRotateLeft})]})}),(0,pt.jsx)(ot.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,pt.jsxs)(_t.Center,{gap:"1/4",children:[(0,pt.jsx)(Ne,{icon:$M.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(ir.Supplement,{children:"Zoom"}),(0,pt.jsxs)(ot.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Ma.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(cr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(ir.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(ot.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Ma.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(da.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,u)=>{na.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(ir.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(ot.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Ma.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(cr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(ir.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:WM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(ot.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Ma.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(da.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{na.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(ir.Supplement,{children:"Tone"}),(0,pt.jsx)(ot.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Ma.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let u=1;u<=10;u++)f.push({value:u,label:(0,pt.jsxs)(_t.Left,{gap:"1/3",children:[(0,pt.jsx)(X,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,pt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,pt.jsx)(cr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(_t.Separate,{children:[(0,pt.jsx)(ir.Paragraph,{children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:qM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(ot.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Ma.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(da.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,pt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,pt.jsxs)(_t.Center,{gap:"1/2",children:[(0,pt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Cm={openDialogNEdit:r=>Na(void 0,null,function*(){let a=yield da.Filer.fn.openDialog({accept:"image",multiple:!1});Cm.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>Na(void 0,null,function*(){let a="CropperImage";cr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(GM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{cr.close(a),r.onProcessFinished(o)},abortCallback:()=>{cr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Po=K(Dt());var KM=()=>{let{href:r}=location;return(0,Po.jsx)(_t.Center,{padding:[4,1],children:(0,Po.jsxs)(er,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(X,{children:[(0,Po.jsx)(ir.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(ir.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,Po.jsxs)(er,{children:[(0,Po.jsxs)(ir,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(X,{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,Po.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var H_=r=>{let[a,o]=(0,yu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,yu.useRef)(!1);(0,yu.useEffect)(()=>{l&&(s.current?(cr.closeAll(!0),Ls.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,yu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,yu.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var In={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){In.open(r);return}In.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){In.pushSync(r);return}In.__push(r)},back:()=>{In.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{In.__push=r},setBackEffect:r=>{In.__back=r}};var XM=K(nr());var Gh=[{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}],$h=()=>{let r="#45515c",a=(0,XM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},QM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Pw={};Gh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Pw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Xa=K(nr());var Re={toConcreteBorderRadius:r=>{let a=ht.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,f,u,h,p,m,_,b;let S=[],{gap:w,display:k,position:R,overflow:N,fontColor:W,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:M,textDecoration:te,boxShadow:_e,margin:ee,marginTop:de,marginRight:pe,marginBottom:ve,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:q,paddingLeft:ie,top:re,right:he,bottom:we,left:ge,border:je,borderTop:We,borderRight:Ke,borderBottom:tt,borderLeft:dt,borderWidth:lt,borderColor:$t,borderStyle:Pt,borderRadius:Ge,borderTopLeftRadius:Ce,borderTopRightRadius:st,borderBottomLeftRadius:wt,borderBottomRightRadius:kt,flexSizing:Nt,flexWrap:At,flexType:tr,flexChilds:rr,flexGrid:Fr,horizontalAlign:Ur,verticalAlign:Gr,transition:xr,gridCenter:pr,gridCols:br,maxHeight:ha,minHeight:kr,maxWidth:vr,minWidth:Ir,width:ba,height:ze,unitHeight:ct,unitWidth:bt,opacity:Gt}=a;{if(Re.ev(k)&&S.push("dsp"+k),N){let G=Xa.default.flatArray(N);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(R)&&S.push("ps"+R),Re.ev(M)&&S.push("txtalg"+M),Re.ev(M)&&S.push("txtdeco"+te),Re.ev(W)&&S.push("ftcl"+((o=String(W))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((u=String(Q))==null?void 0:u.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Ar,gr,Kr;Xa.default.is.exist(ee)&&(Xa.default.is.array(ee)?ee.length==2?[Vt,Ar,gr,Kr]=[...ee,...ee]:ee.length==4&&([Vt,Ar,gr,Kr]=ee):Vt=Ar=gr=Kr=ee,de=de!=null?de:Vt,pe=pe!=null?pe:Ar,ve=ve!=null?ve:gr,H=H!=null?H:Kr),Re.ev(de)&&S.push("mrgt"+de),Re.ev(pe)&&S.push("mrgr"+pe),Re.ev(ve)&&S.push("mrgb"+ve),Re.ev(H)&&S.push("mrgl"+H);let $,P,D,z;Xa.default.is.exist(le)&&(Xa.default.is.array(le)?le.length==2?[$,P,D,z]=[...le,...le]:le.length==4&&([$,P,D,z]=le):$=P=D=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,q=q!=null?q:D,ie=ie!=null?ie:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(q)&&S.push("pdb"+q),Re.ev(ie)&&S.push("pdl"+ie),Re.ev(re)&&S.push("pstt"+re),Re.ev(he)&&S.push("pstr"+he),Re.ev(we)&&S.push("pstb"+we),Re.ev(ge)&&S.push("pstl"+ge);{Xa.default.is.exist(je)&&(We=We!=null?We:je,Ke=Ke!=null?Ke:je,tt=tt!=null?tt:je,dt=dt!=null?dt:je),Xa.default.is.boolean(We)&&(We=["unset","2.normal"][Number(We)]),Xa.default.is.boolean(Ke)&&(Ke=["unset","2.normal"][Number(Ke)]),Xa.default.is.boolean(tt)&&(tt=["unset","2.normal"][Number(tt)]),Xa.default.is.boolean(dt)&&(dt=["unset","2.normal"][Number(dt)]),Re.ev(We)&&S.push("b_t_ss"+((h=String(We))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Ke)&&S.push("b_r_ss"+((p=String(Ke))==null?void 0:p.replace(/\./g,"_"))),Re.ev(tt)&&S.push("b_b_ss"+((m=String(tt))==null?void 0:m.replace(/\./g,"_"))),Re.ev(dt)&&S.push("b_l_ss"+((_=String(dt))==null?void 0:_.replace(/\./g,"_"))),Xa.default.is.exist(lt)&&S.push("b_wth"+String(lt)),Xa.default.is.exist($t)&&S.push("b_cl"+((b=String($t))==null?void 0:b.replace(/\./g,"_"))),Xa.default.is.exist(Pt)&&S.push("b_st"+String(Pt));{let G,oe,ne,Oe;Xa.default.is.exist(Ge)&&(Xa.default.is.array(Ge)?Ge.length==4&&([G,oe,Oe,ne]=Ge):G=oe=ne=Oe=Ge,Ce=Ce!=null?Ce:G,st=st!=null?st:oe,wt=wt!=null?wt:ne,kt=kt!=null?kt:Oe)}Re.ev(Ce)&&S.push("br_tl"+Re.toConcreteBorderRadius(Ce)),Re.ev(st)&&S.push("br_tr"+Re.toConcreteBorderRadius(st)),Re.ev(wt)&&S.push("br_bl"+Re.toConcreteBorderRadius(wt)),Re.ev(kt)&&S.push("br_br"+Re.toConcreteBorderRadius(kt))}if(Re.ev(Gt)&&S.push("op"+Gt),Xa.default.is.exist(w)){let G,oe;Xa.default.is.array(w)?(G=w[0],oe=w[1]):G=oe=w,S.push("gapRow"+G,"gapCol"+oe)}Re.ev(Nt)&&S.push("flsz"+Nt),Re.ev(At)&&S.push("flwrp"+At),Re.ev(tr)&&S.push("fltyp"+tr),Re.ev(rr)&&S.push("flchld"+rr),Re.ev(Fr)&&S.push("flgrid"+Fr),Re.ev(Gr)&&S.push("flvrt"+Gr),Re.ev(Ur)&&S.push("flhrz"+Ur),Re.ev(pr)&&S.push("grcnt"+pr),Re.ev(br)&&S.push("grcol"+br),Re.ev(ze)&&S.push("hgt"+ze),Re.ev(ba)&&S.push("wdt"+ba),Re.ev(ct)&&S.push("unthgt"+ct),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(xr)&&S.push("trnst"+xr),Re.ev(ha)&&S.push("maxh"+ha),Re.ev(kr)&&S.push("minh"+kr),Re.ev(vr)&&S.push("maxw"+vr),Re.ev(Ir)&&S.push("minw"+Ir)}return S.length?r+S.join(" "+r):""}},sm=r=>{let a=v({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:_,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:R,freeCSS:N={}}=a,W=$e(N,[]),O=$e(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(W=W||{},O=O||{},o){let{deg:j,colors:F}=o;W=T(v({},W),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(j.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(j.boxShadow="1.remark"),W=v(v({},j.freeCSS),W),O=v(v({},j),O)}return s&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),u&&(O=v({transition:"middle"},O),O=T(v({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=v({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=v({overflow:"hidden"},O),W=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},W)),_&&(O=v({width:1,flexSizing:"none"},O)),m&&(O=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),w&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&(O.borderRadius="sphere",Xa.default.is.number(k)&&(W.borderRadius=k*12)),R&&(W.aspectRatio="1"),T(v({},O),{freeCSS:W})},To=r=>{let a=sm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:_,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:R,marginTop:N,marginRight:W,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:M,paddingBottom:te,paddingLeft:_e,top:ee,right:de,bottom:pe,left:ve,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:q,borderWidth:ie,borderColor:re,borderStyle:he,borderRadius:we,borderTopLeftRadius:ge,borderTopRightRadius:je,borderBottomLeftRadius:We,borderBottomRightRadius:Ke,flexSizing:tt,flexWrap:dt,flexType:lt,flexChilds:$t,flexGrid:Pt,horizontalAlign:Ge,verticalAlign:Ce,transition:st,gridCenter:wt,gridCols:kt,maxHeight:Nt,minHeight:At,maxWidth:tr,minWidth:rr,width:Fr,height:Ur,unitHeight:Gr,unitWidth:xr,opacity:pr,ssLastChildLossBorder:br,ssAbsoluteCovered:ha,ssCardBox:kr,ssEffectsOnActive:vr,ssPushable:Ir,ssSphere:ba,ssSquare:ze,ssTextEllipsis:ct,isBoldFont:bt,isLightFont:Gt,isSemiBoldFont:Vt,isRounded:Ar,flexCenter:gr,flexNewLine:Kr,gradients:$,UnderBreakPointStyles:P={},className:D="",freeCSS:z={}}=a,G=$e(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","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"]),oe=v({},G),ne=[D];if(br&&ne.push("ssLastChildLossBorder_"+br),vr){vr=Xa.default.flatArray(vr);for(let Oe of vr){let[Pe,Me]=Oe.split(".");oe["data-effect-"+Pe]="1",Me&&(oe["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:_,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:R,marginTop:N,marginRight:W,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:M,paddingBottom:te,paddingLeft:_e,top:ee,right:de,bottom:pe,left:ve,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:q,borderWidth:ie,borderColor:re,borderStyle:he,borderRadius:we,borderTopLeftRadius:ge,borderTopRightRadius:je,borderBottomLeftRadius:We,borderBottomRightRadius:Ke,flexSizing:tt,flexWrap:dt,flexType:lt,flexChilds:$t,flexGrid:Pt,horizontalAlign:Ge,verticalAlign:Ce,transition:st,gridCenter:wt,gridCols:kt,maxHeight:Nt,minHeight:At,maxWidth:tr,minWidth:rr,width:Fr,height:Ur,unitHeight:Gr,unitWidth:xr,opacity:pr});ne.push(Oe)}return P&&ne.push(Re.ClassNames("amotf_bp",P)),z&&(oe.style=v(v({},z),oe.style)),(o||oe["data-component-id"])&&(oe["data-component-id"]=oe["data-component-id"]||o),ne.length&&ne.join("")&&(oe.className=ne.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),oe},Ml=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:_,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:R,marginBottom:N,marginLeft:W,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:M,top:te,right:_e,bottom:ee,left:de,border:pe,borderTop:ve,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:q,borderStyle:ie,borderRadius:re,borderTopLeftRadius:he,borderTopRightRadius:we,borderBottomLeftRadius:ge,borderBottomRightRadius:je,flexSizing:We,flexWrap:Ke,flexType:tt,flexChilds:dt,flexGrid:lt,horizontalAlign:$t,verticalAlign:Pt,transition:Ge,gridCenter:Ce,gridCols:st,maxHeight:wt,minHeight:kt,maxWidth:Nt,minWidth:At,width:tr,height:rr,unitHeight:Fr,unitWidth:Ur,opacity:Gr,ssLastChildLossBorder:xr,ssAbsoluteCovered:pr,ssCardBox:br,ssEffectsOnActive:ha,ssPushable:kr,ssSphere:vr,ssSquare:Ir,ssTextEllipsis:ba,isBoldFont:ze,isLightFont:ct,isSemiBoldFont:bt,isRounded:Gt,flexCenter:Vt,flexNewLine:Ar,gradients:gr,UnderBreakPointStyles:Kr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(u)&&(P.fontSize=u),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(_)&&(P.textAlign=_),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(R)&&(P.marginRight=R),Re.ev(N)&&(P.marginBottom=N),Re.ev(W)&&(P.marginLeft=W),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(M)&&(P.paddingLeft=M),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(ee)&&(P.bottom=ee),Re.ev(de)&&(P.left=de),Re.ev(pe)&&(P.border=pe),Re.ev(ve)&&(P.borderTop=ve),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(q)&&(P.borderColor=q),Re.ev(ie)&&(P.borderStyle=ie),Re.ev(re)&&(P.borderRadius=re),Re.ev(he)&&(P.borderTopLeftRadius=he),Re.ev(we)&&(P.borderTopRightRadius=we),Re.ev(ge)&&(P.borderBottomLeftRadius=ge),Re.ev(je)&&(P.borderBottomRightRadius=je),Re.ev(We)&&(P.flexSizing=We),Re.ev(Ke)&&(P.flexWrap=Ke),Re.ev(tt)&&(P.flexType=tt),Re.ev(dt)&&(P.flexChilds=dt),Re.ev(lt)&&(P.flexGrid=lt),Re.ev($t)&&(P.horizontalAlign=$t),Re.ev(Pt)&&(P.verticalAlign=Pt),Re.ev(Ge)&&(P.transition=Ge),Re.ev(Ce)&&(P.gridCenter=Ce),Re.ev(st)&&(P.gridCols=st),Re.ev(wt)&&(P.maxHeight=wt),Re.ev(kt)&&(P.minHeight=kt),Re.ev(Nt)&&(P.maxWidth=Nt),Re.ev(At)&&(P.minWidth=At),Re.ev(tr)&&(P.width=tr),Re.ev(rr)&&(P.height=rr),Re.ev(Fr)&&(P.unitHeight=Fr),Re.ev(Ur)&&(P.unitWidth=Ur),Re.ev(Gr)&&(P.opacity=Gr),Re.ev(xr)&&(P.ssLastChildLossBorder=xr),Re.ev(pr)&&(P.ssAbsoluteCovered=pr),Re.ev(br)&&(P.ssCardBox=br),Re.ev(ha)&&(P.ssEffectsOnActive=ha),Re.ev(kr)&&(P.ssPushable=kr),Re.ev(vr)&&(P.ssSphere=vr),Re.ev(Ir)&&(P.ssSquare=Ir),Re.ev(ba)&&(P.ssTextEllipsis=ba),Re.ev(ze)&&(P.isBoldFont=ze),Re.ev(ct)&&(P.isLightFont=ct),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev(Gt)&&(P.isRounded=Gt),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Ar)&&(P.flexNewLine=Ar),Re.ev(gr)&&(P.gradients=gr),Re.ev($)&&(P.freeCSS=$),Re.ev(Kr)&&(P.UnderBreakPointStyles=Kr),P};var vl=K(Dt());var U_=r=>{var a;let o=El.catch("LaunchReactApp_"+ht.get().sessionUID);return(0,vl.jsxs)(vl.Fragment,{children:[(0,vl.jsx)("style",{children:r.inlineCSS}),(0,vl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,vl.jsx)(vc.Pudding.Wrapper,{}),(0,vl.jsx)(vc.Ripple.Wrapper,{}),(0,vl.jsx)(Ao.Wrapper,{}),(0,vl.jsx)(is.Wrapper,{}),(0,vl.jsx)(cr.Wrapper,{}),(0,vl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o||"")]})]})};var V_=K(nr()),vt=r=>{let a=ht.get().appRoot;return V_.default.is.shadowRoot(a)?(0,V_.default)(a).find(r):(0,V_.default)(r)};var F$=K(zw());ta(Hr,K(zw()));var j$=K(Bw());ta(Hr,K(Bw()));var H$=v(v(v(v(v(v({},Iw),JS),ow),F$),j$),Mw);var Ia=K(Dt()),U$=()=>{let[r,a]=(0,kf.useState)((0,Ia.jsxs)(Ia.Fragment,{children:["Hello World ",(0,Ia.jsx)("br",{}),"Hello World ",(0,Ia.jsx)("br",{}),"Hello World ",(0,Ia.jsx)("br",{}),"Hello World"]})),o="accordionIDD",[l,s]=(0,kf.useState)("");return(0,Ia.jsx)(X,{children:(0,Ia.jsx)(b_,{size:"S",children:(0,Ia.jsxs)(er,{padding:2,children:[(0,Ia.jsx)(da.TextField.Password,{defaultValidation:{reg:/^.{6,}$/,exist:!0,reason:"6\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}}),(0,Ia.jsx)(ot.Prime,{onClick:()=>{Cm.openDialogNEdit({use:"4:3",develops:[{size:"L"}],onProcessFinished:f=>qr(void 0,null,function*(){console.log(f);let u=yield yield op.Filer.fromFile(f[0]);s(yield u.toDataURL())})})},children:"Submit"}),l&&(0,Ia.jsx)(Dl,{src:l}),(0,Ia.jsx)(da.Select,{options:[{value:"option1",label:"Option 1",searchValue:"Option 1"}]}),(0,Ia.jsx)(da.Autocomplete,{options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}],DynamicOptionsOnSearch:f=>qr(void 0,null,function*(){return console.log(f),[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}]})})]})})})};op.default.scope(()=>{var o;let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:(o=op.default.localStrage.get("prf.roundness"))!=null?o:4,themeColor:"battery",darkMode:op.default.localStrage.get("prf.darkMode")||"auto"});let a=()=>{let l=Is.useLocation(),s=Is.useNavigate();return(0,kf.useEffect)(()=>{In.setPushEffect(f=>{if(f.match(/^#/)){console.log(f),console.log(window.location.pathname);return}s(f)}),In.setBackEffect(()=>{s(-1)})},[]),H_({pathname:l.pathname}),(0,Ia.jsx)(Is.Routes,{children:(0,Ia.jsx)(Is.Route,{path:"*",element:(0,Ia.jsx)(U$,{})},"*")})};JM.default.createRoot(r).render((0,Ia.jsx)(kf.StrictMode,{children:(0,Ia.jsx)(U_,{children:(0,Ia.jsx)(Is.BrowserRouter,{children:(0,Ia.jsx)(a,{})})})}))});
981
981
  /*! Bundled license information:
982
982
 
983
983
  react/cjs/react.development.js: