amotify 0.2.49 → 0.2.50

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,4 +1,4 @@
1
- var EV=Object.create;var Pg=Object.defineProperty;var RV=Object.getOwnPropertyDescriptor;var DV=Object.getOwnPropertyNames;var LV=Object.getPrototypeOf,AV=Object.prototype.hasOwnProperty;var BV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ge=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),ed=(r,a)=>{for(var o in a)Pg(r,o,{get:a[o],enumerable:!0})},Ig=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of DV(a))!AV.call(r,s)&&s!==o&&Pg(r,s,{get:()=>a[s],enumerable:!(l=RV(a,s))||l.enumerable});return r},ao=(r,a,o)=>(Ig(r,a,"default"),o&&Ig(o,a,"default")),K=(r,a,o)=>(o=r!=null?EV(LV(r)):{},Ig(a||!r||!r.__esModule?Pg(o,"default",{value:r,enumerable:!0}):o,r)),NV=r=>Ig(Pg({},"__esModule",{value:!0}),r);var oa=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())});var ek=Ge((Sr,Mg)=>{"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"),d=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,B="@@iterator";function M(T){if(T===null||typeof T!="object")return null;var W=k&&T[k]||T[B];return typeof W=="function"?W:null}var X={current:null},F={transition:null},V={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},H={current:null},G={},P=null;function oe(T){P=T}G.setExtraStackFrame=function(T){P=T},G.getCurrentStack=null,G.getStackAddendum=function(){var T="";P&&(T+=P);var W=G.getCurrentStack;return W&&(T+=W()||""),T};var Ee=!1,te=!1,be=!1,ye=!1,fe=!1,I={ReactCurrentDispatcher:X,ReactCurrentBatchConfig:F,ReactCurrentOwner:H};I.ReactDebugCurrentFrame=G,I.ReactCurrentActQueue=V;function ae(T){{for(var W=arguments.length,ve=new Array(W>1?W-1:0),Re=1;Re<W;Re++)ve[Re-1]=arguments[Re];z("warn",T,ve)}}function me(T){{for(var W=arguments.length,ve=new Array(W>1?W-1:0),Re=1;Re<W;Re++)ve[Re-1]=arguments[Re];z("error",T,ve)}}function z(T,W,ve){{var Re=I.ReactDebugCurrentFrame,et=Re.getStackAddendum();et!==""&&(W+="%s",ve=ve.concat([et]));var jt=ve.map(function(kt){return String(kt)});jt.unshift("Warning: "+W),Function.prototype.apply.call(console[T],console,jt)}}var ne={};function pe(T,W){{var ve=T.constructor,Re=ve&&(ve.displayName||ve.name)||"ReactClass",et=Re+"."+W;if(ne[et])return;me("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.",W,Re),ne[et]=!0}}var Se={isMounted:function(T){return!1},enqueueForceUpdate:function(T,W,ve){pe(T,"forceUpdate")},enqueueReplaceState:function(T,W,ve,Re){pe(T,"replaceState")},enqueueSetState:function(T,W,ve,Re){pe(T,"setState")}},ce=Object.assign,we={};Object.freeze(we);function Fe(T,W,ve){this.props=T,this.context=W,this.refs=we,this.updater=ve||Se}Fe.prototype.isReactComponent={},Fe.prototype.setState=function(T,W){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,W,"setState")},Fe.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};{var He={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)."]},at=function(T,W){Object.defineProperty(Fe.prototype,T,{get:function(){ae("%s(...) is deprecated in plain JavaScript React classes. %s",W[0],W[1])}})};for(var Oe in He)He.hasOwnProperty(Oe)&&at(Oe,He[Oe])}function ct(){}ct.prototype=Fe.prototype;function nr(T,W,ve){this.props=T,this.context=W,this.refs=we,this.updater=ve||Se}var bt=nr.prototype=new ct;bt.constructor=nr,ce(bt,Fe.prototype),bt.isPureReactComponent=!0;function yt(){var T={current:null};return Object.seal(T),T}var It=Array.isArray;function nt(T){return It(T)}function Ae(T){{var W=typeof Symbol=="function"&&Symbol.toStringTag,ve=W&&T[Symbol.toStringTag]||T.constructor.name||"Object";return ve}}function Ct(T){try{return zt(T),!1}catch(W){return!0}}function zt(T){return""+T}function Yt(T){if(Ct(T))return me("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ae(T)),zt(T)}function $t(T,W,ve){var Re=T.displayName;if(Re)return Re;var et=W.displayName||W.name||"";return et!==""?ve+"("+et+")":ve}function ir(T){return T.displayName||"Context"}function sr(T){if(T==null)return null;if(typeof T.tag=="number"&&me("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case h:var W=T;return ir(W)+".Consumer";case u:var ve=T;return ir(ve._context)+".Provider";case p:return $t(T,T.render,"ForwardRef");case y:var Re=T.displayName||null;return Re!==null?Re:sr(T.type)||"Memo";case C:{var et=T,jt=et._payload,kt=et._init;try{return sr(kt(jt))}catch(rr){return null}}}return null}var xr=Object.prototype.hasOwnProperty,_a={key:!0,ref:!0,__self:!0,__source:!0},aa,la,Br;Br={};function Nr(T){if(xr.call(T,"ref")){var W=Object.getOwnPropertyDescriptor(T,"ref").get;if(W&&W.isReactWarning)return!1}return T.ref!==void 0}function Or(T){if(xr.call(T,"key")){var W=Object.getOwnPropertyDescriptor(T,"key").get;if(W&&W.isReactWarning)return!1}return T.key!==void 0}function ma(T,W){var ve=function(){aa||(aa=!0,me("%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)",W))};ve.isReactWarning=!0,Object.defineProperty(T,"key",{get:ve,configurable:!0})}function hr(T,W){var ve=function(){la||(la=!0,me("%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)",W))};ve.isReactWarning=!0,Object.defineProperty(T,"ref",{get:ve,configurable:!0})}function Rr(T){if(typeof T.ref=="string"&&H.current&&T.__self&&H.current.stateNode!==T.__self){var W=sr(H.current.type);Br[W]||(me('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',W,T.ref),Br[W]=!0)}}var Ir=function(T,W,ve,Re,et,jt,kt){var rr={$$typeof:a,type:T,key:W,ref:ve,props:kt,_owner:jt};return rr._store={},Object.defineProperty(rr._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(rr,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.defineProperty(rr,"_source",{configurable:!1,enumerable:!1,writable:!1,value:et}),Object.freeze&&(Object.freeze(rr.props),Object.freeze(rr)),rr};function ba(T,W,ve){var Re,et={},jt=null,kt=null,rr=null,Tr=null;if(W!=null){Nr(W)&&(kt=W.ref,Rr(W)),Or(W)&&(Yt(W.key),jt=""+W.key),rr=W.__self===void 0?null:W.__self,Tr=W.__source===void 0?null:W.__source;for(Re in W)xr.call(W,Re)&&!_a.hasOwnProperty(Re)&&(et[Re]=W[Re])}var Wr=arguments.length-2;if(Wr===1)et.children=ve;else if(Wr>1){for(var ca=Array(Wr),da=0;da<Wr;da++)ca[da]=arguments[da+2];Object.freeze&&Object.freeze(ca),et.children=ca}if(T&&T.defaultProps){var va=T.defaultProps;for(Re in va)et[Re]===void 0&&(et[Re]=va[Re])}if(jt||kt){var La=typeof T=="function"?T.displayName||T.name||"Unknown":T;jt&&ma(et,La),kt&&hr(et,La)}return Ir(T,jt,kt,rr,Tr,H.current,et)}function ze(T,W){var ve=Ir(T.type,W,T.ref,T._self,T._source,T._owner,T.props);return ve}function dt(T,W,ve){if(T==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var Re,et=ce({},T.props),jt=T.key,kt=T.ref,rr=T._self,Tr=T._source,Wr=T._owner;if(W!=null){Nr(W)&&(kt=W.ref,Wr=H.current),Or(W)&&(Yt(W.key),jt=""+W.key);var ca;T.type&&T.type.defaultProps&&(ca=T.type.defaultProps);for(Re in W)xr.call(W,Re)&&!_a.hasOwnProperty(Re)&&(W[Re]===void 0&&ca!==void 0?et[Re]=ca[Re]:et[Re]=W[Re])}var da=arguments.length-2;if(da===1)et.children=ve;else if(da>1){for(var va=Array(da),La=0;La<da;La++)va[La]=arguments[La+2];et.children=va}return Ir(T.type,jt,kt,rr,Tr,Wr,et)}function St(T){return typeof T=="object"&&T!==null&&T.$$typeof===a}var Xt=".",Gt=":";function Er(T){var W=/[=:]/g,ve={"=":"=0",":":"=2"},Re=T.replace(W,function(et){return ve[et]});return"$"+Re}var _r=!1,qr=/\/+/g;function O(T){return T.replace(qr,"$&/")}function Z(T,W){return typeof T=="object"&&T!==null&&T.key!=null?(Yt(T.key),Er(""+T.key)):W.toString(36)}function L(T,W,ve,Re,et){var jt=typeof T;(jt==="undefined"||jt==="boolean")&&(T=null);var kt=!1;if(T===null)kt=!0;else switch(jt){case"string":case"number":kt=!0;break;case"object":switch(T.$$typeof){case a:case o:kt=!0}}if(kt){var rr=T,Tr=et(rr),Wr=Re===""?Xt+Z(rr,0):Re;if(nt(Tr)){var ca="";Wr!=null&&(ca=O(Wr)+"/"),L(Tr,W,ca,"",function(pp){return pp})}else Tr!=null&&(St(Tr)&&(Tr.key&&(!rr||rr.key!==Tr.key)&&Yt(Tr.key),Tr=ze(Tr,ve+(Tr.key&&(!rr||rr.key!==Tr.key)?O(""+Tr.key)+"/":"")+Wr)),W.push(Tr));return 1}var da,va,La=0,en=Re===""?Xt:Re+Gt;if(nt(T))for(var Od=0;Od<T.length;Od++)da=T[Od],va=en+Z(da,Od),La+=L(da,W,ve,va,et);else{var tn=M(T);if(typeof tn=="function"){var Id=T;tn===Id.entries&&(_r||ae("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_r=!0);for(var Im=tn.call(Id),fp,Q_=0;!(fp=Im.next()).done;)da=fp.value,va=en+Z(da,Q_++),La+=L(da,W,ve,va,et)}else if(jt==="object"){var Is=String(T);throw new Error("Objects are not valid as a React child (found: "+(Is==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Is)+"). If you meant to render a collection of children, use an array instead.")}}return La}function U(T,W,ve){if(T==null)return T;var Re=[],et=0;return L(T,Re,"","",function(jt){return W.call(ve,jt,et++)}),Re}function q(T){var W=0;return U(T,function(){W++}),W}function de(T,W,ve){U(T,function(){W.apply(this,arguments)},ve)}function ie(T){return U(T,function(W){return W})||[]}function Ie(T){if(!St(T))throw new Error("React.Children.only expected to receive a single React element child.");return T}function Pe(T){var W={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};W.Provider={$$typeof:u,_context:W};var ve=!1,Re=!1,et=!1;{var jt={$$typeof:h,_context:W};Object.defineProperties(jt,{Provider:{get:function(){return Re||(Re=!0,me("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),W.Provider},set:function(kt){W.Provider=kt}},_currentValue:{get:function(){return W._currentValue},set:function(kt){W._currentValue=kt}},_currentValue2:{get:function(){return W._currentValue2},set:function(kt){W._currentValue2=kt}},_threadCount:{get:function(){return W._threadCount},set:function(kt){W._threadCount=kt}},Consumer:{get:function(){return ve||(ve=!0,me("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),W.Consumer}},displayName:{get:function(){return W.displayName},set:function(kt){et||(ae("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",kt),et=!0)}}}),W.Consumer=jt}return W._currentRenderer=null,W._currentRenderer2=null,W}var Me=-1,Xe=0,Be=1,tt=2;function j(T){if(T._status===Me){var W=T._result,ve=W();if(ve.then(function(jt){if(T._status===Xe||T._status===Me){var kt=T;kt._status=Be,kt._result=jt}},function(jt){if(T._status===Xe||T._status===Me){var kt=T;kt._status=tt,kt._result=jt}}),T._status===Me){var Re=T;Re._status=Xe,Re._result=ve}}if(T._status===Be){var et=T._result;return et===void 0&&me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var EV=Object.create;var Pg=Object.defineProperty;var RV=Object.getOwnPropertyDescriptor;var DV=Object.getOwnPropertyNames;var LV=Object.getPrototypeOf,AV=Object.prototype.hasOwnProperty;var BV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ge=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),ed=(r,a)=>{for(var o in a)Pg(r,o,{get:a[o],enumerable:!0})},Ig=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of DV(a))!AV.call(r,s)&&s!==o&&Pg(r,s,{get:()=>a[s],enumerable:!(l=RV(a,s))||l.enumerable});return r},ao=(r,a,o)=>(Ig(r,a,"default"),o&&Ig(o,a,"default")),K=(r,a,o)=>(o=r!=null?EV(LV(r)):{},Ig(a||!r||!r.__esModule?Pg(o,"default",{value:r,enumerable:!0}):o,r)),NV=r=>Ig(Pg({},"__esModule",{value:!0}),r);var oa=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())});var ek=Ge((Sr,Mg)=>{"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"),d=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,B="@@iterator";function M(T){if(T===null||typeof T!="object")return null;var W=k&&T[k]||T[B];return typeof W=="function"?W:null}var X={current:null},F={transition:null},V={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},H={current:null},G={},P=null;function oe(T){P=T}G.setExtraStackFrame=function(T){P=T},G.getCurrentStack=null,G.getStackAddendum=function(){var T="";P&&(T+=P);var W=G.getCurrentStack;return W&&(T+=W()||""),T};var Ee=!1,te=!1,be=!1,ye=!1,fe=!1,I={ReactCurrentDispatcher:X,ReactCurrentBatchConfig:F,ReactCurrentOwner:H};I.ReactDebugCurrentFrame=G,I.ReactCurrentActQueue=V;function ae(T){{for(var W=arguments.length,ve=new Array(W>1?W-1:0),Re=1;Re<W;Re++)ve[Re-1]=arguments[Re];z("warn",T,ve)}}function me(T){{for(var W=arguments.length,ve=new Array(W>1?W-1:0),Re=1;Re<W;Re++)ve[Re-1]=arguments[Re];z("error",T,ve)}}function z(T,W,ve){{var Re=I.ReactDebugCurrentFrame,et=Re.getStackAddendum();et!==""&&(W+="%s",ve=ve.concat([et]));var jt=ve.map(function(kt){return String(kt)});jt.unshift("Warning: "+W),Function.prototype.apply.call(console[T],console,jt)}}var ne={};function pe(T,W){{var ve=T.constructor,Re=ve&&(ve.displayName||ve.name)||"ReactClass",et=Re+"."+W;if(ne[et])return;me("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.",W,Re),ne[et]=!0}}var Se={isMounted:function(T){return!1},enqueueForceUpdate:function(T,W,ve){pe(T,"forceUpdate")},enqueueReplaceState:function(T,W,ve,Re){pe(T,"replaceState")},enqueueSetState:function(T,W,ve,Re){pe(T,"setState")}},ce=Object.assign,we={};Object.freeze(we);function Fe(T,W,ve){this.props=T,this.context=W,this.refs=we,this.updater=ve||Se}Fe.prototype.isReactComponent={},Fe.prototype.setState=function(T,W){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,W,"setState")},Fe.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};{var He={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)."]},at=function(T,W){Object.defineProperty(Fe.prototype,T,{get:function(){ae("%s(...) is deprecated in plain JavaScript React classes. %s",W[0],W[1])}})};for(var Oe in He)He.hasOwnProperty(Oe)&&at(Oe,He[Oe])}function ct(){}ct.prototype=Fe.prototype;function nr(T,W,ve){this.props=T,this.context=W,this.refs=we,this.updater=ve||Se}var bt=nr.prototype=new ct;bt.constructor=nr,ce(bt,Fe.prototype),bt.isPureReactComponent=!0;function yt(){var T={current:null};return Object.seal(T),T}var It=Array.isArray;function nt(T){return It(T)}function Ae(T){{var W=typeof Symbol=="function"&&Symbol.toStringTag,ve=W&&T[Symbol.toStringTag]||T.constructor.name||"Object";return ve}}function Ct(T){try{return zt(T),!1}catch(W){return!0}}function zt(T){return""+T}function Yt(T){if(Ct(T))return me("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ae(T)),zt(T)}function $t(T,W,ve){var Re=T.displayName;if(Re)return Re;var et=W.displayName||W.name||"";return et!==""?ve+"("+et+")":ve}function ir(T){return T.displayName||"Context"}function sr(T){if(T==null)return null;if(typeof T.tag=="number"&&me("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case h:var W=T;return ir(W)+".Consumer";case u:var ve=T;return ir(ve._context)+".Provider";case p:return $t(T,T.render,"ForwardRef");case y:var Re=T.displayName||null;return Re!==null?Re:sr(T.type)||"Memo";case C:{var et=T,jt=et._payload,kt=et._init;try{return sr(kt(jt))}catch(rr){return null}}}return null}var xr=Object.prototype.hasOwnProperty,_a={key:!0,ref:!0,__self:!0,__source:!0},aa,la,Nr;Nr={};function Or(T){if(xr.call(T,"ref")){var W=Object.getOwnPropertyDescriptor(T,"ref").get;if(W&&W.isReactWarning)return!1}return T.ref!==void 0}function Ir(T){if(xr.call(T,"key")){var W=Object.getOwnPropertyDescriptor(T,"key").get;if(W&&W.isReactWarning)return!1}return T.key!==void 0}function ma(T,W){var ve=function(){aa||(aa=!0,me("%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)",W))};ve.isReactWarning=!0,Object.defineProperty(T,"key",{get:ve,configurable:!0})}function hr(T,W){var ve=function(){la||(la=!0,me("%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)",W))};ve.isReactWarning=!0,Object.defineProperty(T,"ref",{get:ve,configurable:!0})}function Rr(T){if(typeof T.ref=="string"&&H.current&&T.__self&&H.current.stateNode!==T.__self){var W=sr(H.current.type);Nr[W]||(me('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',W,T.ref),Nr[W]=!0)}}var Pr=function(T,W,ve,Re,et,jt,kt){var rr={$$typeof:a,type:T,key:W,ref:ve,props:kt,_owner:jt};return rr._store={},Object.defineProperty(rr._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(rr,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.defineProperty(rr,"_source",{configurable:!1,enumerable:!1,writable:!1,value:et}),Object.freeze&&(Object.freeze(rr.props),Object.freeze(rr)),rr};function ba(T,W,ve){var Re,et={},jt=null,kt=null,rr=null,Tr=null;if(W!=null){Or(W)&&(kt=W.ref,Rr(W)),Ir(W)&&(Yt(W.key),jt=""+W.key),rr=W.__self===void 0?null:W.__self,Tr=W.__source===void 0?null:W.__source;for(Re in W)xr.call(W,Re)&&!_a.hasOwnProperty(Re)&&(et[Re]=W[Re])}var Wr=arguments.length-2;if(Wr===1)et.children=ve;else if(Wr>1){for(var ca=Array(Wr),da=0;da<Wr;da++)ca[da]=arguments[da+2];Object.freeze&&Object.freeze(ca),et.children=ca}if(T&&T.defaultProps){var va=T.defaultProps;for(Re in va)et[Re]===void 0&&(et[Re]=va[Re])}if(jt||kt){var La=typeof T=="function"?T.displayName||T.name||"Unknown":T;jt&&ma(et,La),kt&&hr(et,La)}return Pr(T,jt,kt,rr,Tr,H.current,et)}function ze(T,W){var ve=Pr(T.type,W,T.ref,T._self,T._source,T._owner,T.props);return ve}function dt(T,W,ve){if(T==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var Re,et=ce({},T.props),jt=T.key,kt=T.ref,rr=T._self,Tr=T._source,Wr=T._owner;if(W!=null){Or(W)&&(kt=W.ref,Wr=H.current),Ir(W)&&(Yt(W.key),jt=""+W.key);var ca;T.type&&T.type.defaultProps&&(ca=T.type.defaultProps);for(Re in W)xr.call(W,Re)&&!_a.hasOwnProperty(Re)&&(W[Re]===void 0&&ca!==void 0?et[Re]=ca[Re]:et[Re]=W[Re])}var da=arguments.length-2;if(da===1)et.children=ve;else if(da>1){for(var va=Array(da),La=0;La<da;La++)va[La]=arguments[La+2];et.children=va}return Pr(T.type,jt,kt,rr,Tr,Wr,et)}function St(T){return typeof T=="object"&&T!==null&&T.$$typeof===a}var Xt=".",Gt=":";function Er(T){var W=/[=:]/g,ve={"=":"=0",":":"=2"},Re=T.replace(W,function(et){return ve[et]});return"$"+Re}var _r=!1,qr=/\/+/g;function O(T){return T.replace(qr,"$&/")}function Z(T,W){return typeof T=="object"&&T!==null&&T.key!=null?(Yt(T.key),Er(""+T.key)):W.toString(36)}function L(T,W,ve,Re,et){var jt=typeof T;(jt==="undefined"||jt==="boolean")&&(T=null);var kt=!1;if(T===null)kt=!0;else switch(jt){case"string":case"number":kt=!0;break;case"object":switch(T.$$typeof){case a:case o:kt=!0}}if(kt){var rr=T,Tr=et(rr),Wr=Re===""?Xt+Z(rr,0):Re;if(nt(Tr)){var ca="";Wr!=null&&(ca=O(Wr)+"/"),L(Tr,W,ca,"",function(pp){return pp})}else Tr!=null&&(St(Tr)&&(Tr.key&&(!rr||rr.key!==Tr.key)&&Yt(Tr.key),Tr=ze(Tr,ve+(Tr.key&&(!rr||rr.key!==Tr.key)?O(""+Tr.key)+"/":"")+Wr)),W.push(Tr));return 1}var da,va,La=0,en=Re===""?Xt:Re+Gt;if(nt(T))for(var Od=0;Od<T.length;Od++)da=T[Od],va=en+Z(da,Od),La+=L(da,W,ve,va,et);else{var tn=M(T);if(typeof tn=="function"){var Id=T;tn===Id.entries&&(_r||ae("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_r=!0);for(var Im=tn.call(Id),fp,Q_=0;!(fp=Im.next()).done;)da=fp.value,va=en+Z(da,Q_++),La+=L(da,W,ve,va,et)}else if(jt==="object"){var Is=String(T);throw new Error("Objects are not valid as a React child (found: "+(Is==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Is)+"). If you meant to render a collection of children, use an array instead.")}}return La}function U(T,W,ve){if(T==null)return T;var Re=[],et=0;return L(T,Re,"","",function(jt){return W.call(ve,jt,et++)}),Re}function q(T){var W=0;return U(T,function(){W++}),W}function de(T,W,ve){U(T,function(){W.apply(this,arguments)},ve)}function ie(T){return U(T,function(W){return W})||[]}function Ie(T){if(!St(T))throw new Error("React.Children.only expected to receive a single React element child.");return T}function Pe(T){var W={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};W.Provider={$$typeof:u,_context:W};var ve=!1,Re=!1,et=!1;{var jt={$$typeof:h,_context:W};Object.defineProperties(jt,{Provider:{get:function(){return Re||(Re=!0,me("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),W.Provider},set:function(kt){W.Provider=kt}},_currentValue:{get:function(){return W._currentValue},set:function(kt){W._currentValue=kt}},_currentValue2:{get:function(){return W._currentValue2},set:function(kt){W._currentValue2=kt}},_threadCount:{get:function(){return W._threadCount},set:function(kt){W._threadCount=kt}},Consumer:{get:function(){return ve||(ve=!0,me("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),W.Consumer}},displayName:{get:function(){return W.displayName},set:function(kt){et||(ae("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",kt),et=!0)}}}),W.Consumer=jt}return W._currentRenderer=null,W._currentRenderer2=null,W}var Me=-1,Xe=0,Be=1,tt=2;function j(T){if(T._status===Me){var W=T._result,ve=W();if(ve.then(function(jt){if(T._status===Xe||T._status===Me){var kt=T;kt._status=Be,kt._result=jt}},function(jt){if(T._status===Xe||T._status===Me){var kt=T;kt._status=tt,kt._result=jt}}),T._status===Me){var Re=T;Re._status=Xe,Re._result=ve}}if(T._status===Be){var et=T._result;return et===void 0&&me(`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'))
@@ -20,16 +20,16 @@ Check the render method of \``+T+"`."}return""}function K_(T){if(T!==void 0){var
20
20
 
21
21
  Check your code at `+W+":"+ve+"."}return""}function Dm(T){return T!=null?K_(T.__source):""}var or={};function Lm(T){var W=Vr();if(!W){var ve=typeof T=="string"?T:T.displayName||T.name;ve&&(W=`
22
22
 
23
- Check the top-level render call using <`+ve+">.")}return W}function Fn(T,W){if(!(!T._store||T._store.validated||T.key!=null)){T._store.validated=!0;var ve=Lm(W);if(!or[ve]){or[ve]=!0;var Re="";T&&T._owner&&T._owner!==H.current&&(Re=" It was passed a child from "+sr(T._owner.type)+"."),Du(T),me('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ve,Re),Du(null)}}}function Lu(T,W){if(typeof T=="object"){if(nt(T))for(var ve=0;ve<T.length;ve++){var Re=T[ve];St(Re)&&Fn(Re,W)}else if(St(T))T._store&&(T._store.validated=!0);else if(T){var et=M(T);if(typeof et=="function"&&et!==T.entries)for(var jt=et.call(T),kt;!(kt=jt.next()).done;)St(kt.value)&&Fn(kt.value,W)}}}function Au(T){{var W=T.type;if(W==null||typeof W=="string")return;var ve;if(typeof W=="function")ve=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===y))ve=W.propTypes;else return;if(ve){var Re=sr(W);Rm(ve,T.props,"prop",Re,T)}else if(W.PropTypes!==void 0&&!Dd){Dd=!0;var et=sr(W);me("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",et||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&me("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function X_(T){{for(var W=Object.keys(T.props),ve=0;ve<W.length;ve++){var Re=W[ve];if(Re!=="children"&&Re!=="key"){Du(T),me("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Re),Du(null);break}}T.ref!==null&&(Du(T),me("Invalid attribute `ref` supplied to `React.Fragment`."),Du(null))}}function vn(T,W,ve){var Re=$e(T);if(!Re){var et="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(et+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var jt=Dm(W);jt?et+=jt:et+=Vr();var kt;T===null?kt="null":nt(T)?kt="array":T!==void 0&&T.$$typeof===a?(kt="<"+(sr(T.type)||"Unknown")+" />",et=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof T,me("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,et)}var rr=ba.apply(this,arguments);if(rr==null)return rr;if(Re)for(var Tr=2;Tr<arguments.length;Tr++)Lu(arguments[Tr],T);return T===l?X_(rr):Au(rr),rr}var xa=!1;function J_(T){var W=vn.bind(null,T);return W.type=T,xa||(xa=!0,ae("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(W,"type",{enumerable:!1,get:function(){return ae("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:T}),T}}),W}function vl(T,W,ve){for(var Re=dt.apply(this,arguments),et=2;et<arguments.length;et++)Lu(arguments[et],Re.type);return Au(Re),Re}function So(T,W){var ve=F.transition;F.transition={};var Re=F.transition;F.transition._updatedFibers=new Set;try{T()}finally{if(F.transition=ve,ve===null&&Re._updatedFibers){var et=Re._updatedFibers.size;et>10&&ae("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."),Re._updatedFibers.clear()}}}var Il=!1,Ld=null;function up(T){if(Ld===null)try{var W=("require"+Math.random()).slice(0,7),ve=Mg&&Mg[W];Ld=ve.call(Mg,"timers").setImmediate}catch(Re){Ld=function(et){Il===!1&&(Il=!0,typeof MessageChannel=="undefined"&&me("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 jt=new MessageChannel;jt.port1.onmessage=et,jt.port2.postMessage(void 0)}}return Ld(T)}var Os=0,cp=!1;function Am(T){{var W=Os;Os++,V.current===null&&(V.current=[]);var ve=V.isBatchingLegacy,Re;try{if(V.isBatchingLegacy=!0,Re=T(),!ve&&V.didScheduleLegacyUpdate){var et=V.current;et!==null&&(V.didScheduleLegacyUpdate=!1,Bd(et))}}catch(va){throw Ad(W),va}finally{V.isBatchingLegacy=ve}if(Re!==null&&typeof Re=="object"&&typeof Re.then=="function"){var jt=Re,kt=!1,rr={then:function(va,La){kt=!0,jt.then(function(en){Ad(W),Os===0?dp(en,va,La):va(en)},function(en){Ad(W),La(en)})}};return!cp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){kt||(cp=!0,me("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 () => ...);"))}),rr}else{var Tr=Re;if(Ad(W),Os===0){var Wr=V.current;Wr!==null&&(Bd(Wr),V.current=null);var ca={then:function(va,La){V.current===null?(V.current=[],dp(Tr,va,La)):va(Tr)}};return ca}else{var da={then:function(va,La){va(Tr)}};return da}}}}function Ad(T){T!==Os-1&&me("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Os=T}function dp(T,W,ve){{var Re=V.current;if(Re!==null)try{Bd(Re),up(function(){Re.length===0?(V.current=null,W(T)):dp(T,W,ve)})}catch(et){ve(et)}else W(T)}}var Bu=!1;function Bd(T){if(!Bu){Bu=!0;var W=0;try{for(;W<T.length;W++){var ve=T[W];do ve=ve(!0);while(ve!==null)}T.length=0}catch(Re){throw T=T.slice(W+1),Re}finally{Bu=!1}}}var Nd=vn,Bm=vl,Nm=J_,Om={map:U,forEach:de,count:q,toArray:ie,only:Ie};Sr.Children=Om,Sr.Component=Fe,Sr.Fragment=l,Sr.Profiler=d,Sr.PureComponent=nr,Sr.StrictMode=s,Sr.Suspense=v,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,Sr.act=Am,Sr.cloneElement=Bm,Sr.createContext=Pe,Sr.createElement=Nd,Sr.createFactory=Nm,Sr.createRef=yt,Sr.forwardRef=ee,Sr.isValidElement=St,Sr.lazy=Y,Sr.memo=Ue,Sr.startTransition=So,Sr.unstable_act=Am,Sr.useCallback=Rt,Sr.useContext=$,Sr.useDebugValue=Kr,Sr.useDeferredValue=sa,Sr.useEffect=gt,Sr.useId=ua,Sr.useImperativeHandle=qt,Sr.useInsertionEffect=rt,Sr.useLayoutEffect=Ze,Sr.useMemo=Lt,Sr.useReducer=ke,Sr.useRef=Ye,Sr.useState=he,Sr.useSyncExternalStore=qa,Sr.useTransition=Va,Sr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var pr=Ge((JG,tk)=>{"use strict";tk.exports=ek()});var rk=Ge(pa=>{"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,dt){var St=ze.length;ze.push(dt),u(ze,dt,St)}function s(ze){return ze.length===0?null:ze[0]}function d(ze){if(ze.length===0)return null;var dt=ze[0],St=ze.pop();return St!==dt&&(ze[0]=St,h(ze,St,0)),dt}function u(ze,dt,St){for(var Xt=St;Xt>0;){var Gt=Xt-1>>>1,Er=ze[Gt];if(p(Er,dt)>0)ze[Gt]=dt,ze[Xt]=Er,Xt=Gt;else return}}function h(ze,dt,St){for(var Xt=St,Gt=ze.length,Er=Gt>>>1;Xt<Er;){var _r=(Xt+1)*2-1,qr=ze[_r],O=_r+1,Z=ze[O];if(p(qr,dt)<0)O<Gt&&p(Z,qr)<0?(ze[Xt]=Z,ze[O]=dt,Xt=O):(ze[Xt]=qr,ze[_r]=dt,Xt=_r);else if(O<Gt&&p(Z,dt)<0)ze[Xt]=Z,ze[O]=dt,Xt=O;else return}}function p(ze,dt){var St=ze.sortIndex-dt.sortIndex;return St!==0?St:ze.id-dt.id}var v=1,b=2,y=3,C=4,w=5;function k(ze,dt){}var B=typeof performance=="object"&&typeof performance.now=="function";if(B){var M=performance;pa.unstable_now=function(){return M.now()}}else{var X=Date,F=X.now();pa.unstable_now=function(){return X.now()-F}}var V=1073741823,H=-1,G=250,P=5e3,oe=1e4,Ee=V,te=[],be=[],ye=1,fe=null,I=y,ae=!1,me=!1,z=!1,ne=typeof setTimeout=="function"?setTimeout:null,pe=typeof clearTimeout=="function"?clearTimeout:null,Se=typeof setImmediate!="undefined"?setImmediate:null,ce=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var dt=s(be);dt!==null;){if(dt.callback===null)d(be);else if(dt.startTime<=ze)d(be),dt.sortIndex=dt.expirationTime,l(te,dt);else return;dt=s(be)}}function Fe(ze){if(z=!1,we(ze),!me)if(s(te)!==null)me=!0,ma(He);else{var dt=s(be);dt!==null&&hr(Fe,dt.startTime-ze)}}function He(ze,dt){me=!1,z&&(z=!1,Rr()),ae=!0;var St=I;try{if(a)try{return at(ze,dt)}catch(Gt){if(fe!==null){var Xt=pa.unstable_now();fe.isQueued=!1}throw Gt}else return at(ze,dt)}finally{fe=null,I=St,ae=!1}}function at(ze,dt){var St=dt;for(we(St),fe=s(te);fe!==null&&!r&&!(fe.expirationTime>St&&(!ze||xr()));){var Xt=fe.callback;if(typeof Xt=="function"){fe.callback=null,I=fe.priorityLevel;var Gt=fe.expirationTime<=St,Er=Xt(Gt);St=pa.unstable_now(),typeof Er=="function"?fe.callback=Er:fe===s(te)&&d(te),we(St)}else d(te);fe=s(te)}if(fe!==null)return!0;var _r=s(be);return _r!==null&&hr(Fe,_r.startTime-St),!1}function Oe(ze,dt){switch(ze){case v:case b:case y:case C:case w:break;default:ze=y}var St=I;I=ze;try{return dt()}finally{I=St}}function ct(ze){var dt;switch(I){case v:case b:case y:dt=y;break;default:dt=I;break}var St=I;I=dt;try{return ze()}finally{I=St}}function nr(ze){var dt=I;return function(){var St=I;I=dt;try{return ze.apply(this,arguments)}finally{I=St}}}function bt(ze,dt,St){var Xt=pa.unstable_now(),Gt;if(typeof St=="object"&&St!==null){var Er=St.delay;typeof Er=="number"&&Er>0?Gt=Xt+Er:Gt=Xt}else Gt=Xt;var _r;switch(ze){case v:_r=H;break;case b:_r=G;break;case w:_r=Ee;break;case C:_r=oe;break;case y:default:_r=P;break}var qr=Gt+_r,O={id:ye++,callback:dt,priorityLevel:ze,startTime:Gt,expirationTime:qr,sortIndex:-1};return Gt>Xt?(O.sortIndex=Gt,l(be,O),s(te)===null&&O===s(be)&&(z?Rr():z=!0,hr(Fe,Gt-Xt))):(O.sortIndex=qr,l(te,O),!me&&!ae&&(me=!0,ma(He))),O}function yt(){}function It(){!me&&!ae&&(me=!0,ma(He))}function nt(){return s(te)}function Ae(ze){ze.callback=null}function Ct(){return I}var zt=!1,Yt=null,$t=-1,ir=o,sr=-1;function xr(){var ze=pa.unstable_now()-sr;return!(ze<ir)}function _a(){}function aa(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?ir=Math.floor(1e3/ze):ir=o}var la=function(){if(Yt!==null){var ze=pa.unstable_now();sr=ze;var dt=!0,St=!0;try{St=Yt(dt,ze)}finally{St?Br():(zt=!1,Yt=null)}}else zt=!1},Br;if(typeof Se=="function")Br=function(){Se(la)};else if(typeof MessageChannel!="undefined"){var Nr=new MessageChannel,Or=Nr.port2;Nr.port1.onmessage=la,Br=function(){Or.postMessage(null)}}else Br=function(){ne(la,0)};function ma(ze){Yt=ze,zt||(zt=!0,Br())}function hr(ze,dt){$t=ne(function(){ze(pa.unstable_now())},dt)}function Rr(){pe($t),$t=-1}var Ir=_a,ba=null;pa.unstable_IdlePriority=w,pa.unstable_ImmediatePriority=v,pa.unstable_LowPriority=C,pa.unstable_NormalPriority=y,pa.unstable_Profiling=ba,pa.unstable_UserBlockingPriority=b,pa.unstable_cancelCallback=Ae,pa.unstable_continueExecution=It,pa.unstable_forceFrameRate=aa,pa.unstable_getCurrentPriorityLevel=Ct,pa.unstable_getFirstCallbackNode=nt,pa.unstable_next=ct,pa.unstable_pauseExecution=yt,pa.unstable_requestPaint=Ir,pa.unstable_runWithPriority=Oe,pa.unstable_scheduleCallback=bt,pa.unstable_shouldYield=xr,pa.unstable_wrapCallback=nr,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var nk=Ge((ZG,ak)=>{"use strict";ak.exports=rk()});var ok=Ge(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=pr(),a=nk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function 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 f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,v=1,b=2,y=3,C=4,w=5,k=6,B=7,M=8,X=9,F=10,V=11,H=12,G=13,P=14,oe=15,Ee=16,te=17,be=18,ye=19,fe=21,I=22,ae=23,me=24,z=25,ne=!0,pe=!1,Se=!1,ce=!1,we=!1,Fe=!0,He=!1,at=!0,Oe=!0,ct=!0,nr=!0,bt=new Set,yt={},It={};function nt(e,t){Ae(e,t),Ae(e+"Capture",t)}function Ae(e,t){yt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yt[e]=t;{var n=e.toLowerCase();It[n]=e,e==="onDoubleClick"&&(It.ondblclick=e)}for(var i=0;i<t.length;i++)bt.add(t[i])}var Ct=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",zt=Object.prototype.hasOwnProperty;function Yt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function $t(e){try{return ir(e),!1}catch(t){return!0}}function ir(e){return""+e}function sr(e,t){if($t(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,Yt(e)),ir(e)}function xr(e){if($t(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Yt(e)),ir(e)}function _a(e,t){if($t(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,Yt(e)),ir(e)}function aa(e,t){if($t(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,Yt(e)),ir(e)}function la(e){if($t(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.",Yt(e)),ir(e)}function Br(e){if($t(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.",Yt(e)),ir(e)}var Nr=0,Or=1,ma=2,hr=3,Rr=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",dt=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+ze+"]["+dt+"]*$"),Xt={},Gt={};function Er(e){return zt.call(Gt,e)?!0:zt.call(Xt,e)?!1:St.test(e)?(Gt[e]=!0,!0):(Xt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===Nr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function qr(e,t,n,i){if(n!==null&&n.type===Nr)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 O(e,t,n,i){if(t===null||typeof t=="undefined"||qr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case hr:return!t;case Rr:return t===!1;case Ir:return isNaN(t);case ba:return isNaN(t)||t<1}return!1}function Z(e){return U.hasOwnProperty(e)?U[e]:null}function L(e,t,n,i,c,f,g){this.acceptsBooleans=t===ma||t===hr||t===Rr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var U={},q=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];q.forEach(function(e){U[e]=new L(e,Nr,!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];U[t]=new L(t,Or,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){U[e]=new L(e,ma,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){U[e]=new L(e,ma,!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){U[e]=new L(e,hr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){U[e]=new L(e,hr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){U[e]=new L(e,Rr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){U[e]=new L(e,ba,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){U[e]=new L(e,Ir,!1,e.toLowerCase(),null,!1,!1)});var de=/[\-\:]([a-z])/g,ie=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Or,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Or,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Or,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){U[e]=new L(e,Or,!1,e.toLowerCase(),null,!1,!1)});var Ie="xlinkHref";U[Ie]=new L("xlinkHref",Or,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){U[e]=new L(e,Or,!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 Xe(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 Be(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{sr(n,t),i.sanitizeURL&&Xe(""+n);var f=i.attributeName,g=null;if(i.type===Rr){if(e.hasAttribute(f)){var S=e.getAttribute(f);return S===""?!0:O(t,n,i,!1)?S:S===""+n?n:S}}else if(e.hasAttribute(f)){if(O(t,n,i,!1))return e.getAttribute(f);if(i.type===hr)return n;g=e.getAttribute(f)}return O(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function tt(e,t,n,i){{if(!Er(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return sr(n,t),c===""+n?n:c}}function j(e,t,n,i){var c=Z(t);if(!_r(t,c,i)){if(O(t,n,c,i)&&(n=null),i||c===null){if(Er(t)){var f=t;n===null?e.removeAttribute(f):(sr(n,t),e.setAttribute(f,""+n))}return}var g=c.mustUseProperty;if(g){var S=c.propertyName;if(n===null){var x=c.type;e[S]=x===hr?!1:""}else e[S]=n;return}var R=c.attributeName,N=c.attributeNamespace;if(n===null)e.removeAttribute(R);else{var Q=c.type,J;Q===hr||Q===Rr&&n===!0?J="":(sr(n,R),J=""+n,c.sanitizeURL&&Xe(J.toString())),N?e.setAttributeNS(N,R,J):e.setAttribute(R,J)}}}var Y=Symbol.for("react.element"),ee=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),$e=Symbol.for("react.strict_mode"),Ue=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),$=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),gt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),Ze=Symbol.for("react.scope"),Rt=Symbol.for("react.debug_trace_mode"),Lt=Symbol.for("react.offscreen"),qt=Symbol.for("react.legacy_hidden"),Kr=Symbol.for("react.cache"),Va=Symbol.for("react.tracing_marker"),sa=Symbol.iterator,ua="@@iterator";function qa(e){if(e===null||typeof e!="object")return null;var t=sa&&e[sa]||e[ua];return typeof t=="function"?t:null}var Pt=Object.assign,qn=0,cs,ds,tr,na,Za,Xr,Kn;function wc(){}wc.__reactDisabledLog=!0;function ip(){{if(qn===0){cs=console.log,ds=console.info,tr=console.warn,na=console.error,Za=console.group,Xr=console.groupCollapsed,Kn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:wc,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:Pt({},e,{value:cs}),info:Pt({},e,{value:ds}),warn:Pt({},e,{value:tr}),error:Pt({},e,{value:na}),group:Pt({},e,{value:Za}),groupCollapsed:Pt({},e,{value:Xr}),groupEnd:Pt({},e,{value:Kn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Cc=o.ReactCurrentDispatcher,ku;function ml(e,t,n){{if(ku===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);ku=i&&i[1]||""}return`
23
+ Check the top-level render call using <`+ve+">.")}return W}function Fn(T,W){if(!(!T._store||T._store.validated||T.key!=null)){T._store.validated=!0;var ve=Lm(W);if(!or[ve]){or[ve]=!0;var Re="";T&&T._owner&&T._owner!==H.current&&(Re=" It was passed a child from "+sr(T._owner.type)+"."),Du(T),me('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ve,Re),Du(null)}}}function Lu(T,W){if(typeof T=="object"){if(nt(T))for(var ve=0;ve<T.length;ve++){var Re=T[ve];St(Re)&&Fn(Re,W)}else if(St(T))T._store&&(T._store.validated=!0);else if(T){var et=M(T);if(typeof et=="function"&&et!==T.entries)for(var jt=et.call(T),kt;!(kt=jt.next()).done;)St(kt.value)&&Fn(kt.value,W)}}}function Au(T){{var W=T.type;if(W==null||typeof W=="string")return;var ve;if(typeof W=="function")ve=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===y))ve=W.propTypes;else return;if(ve){var Re=sr(W);Rm(ve,T.props,"prop",Re,T)}else if(W.PropTypes!==void 0&&!Dd){Dd=!0;var et=sr(W);me("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",et||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&me("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function X_(T){{for(var W=Object.keys(T.props),ve=0;ve<W.length;ve++){var Re=W[ve];if(Re!=="children"&&Re!=="key"){Du(T),me("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Re),Du(null);break}}T.ref!==null&&(Du(T),me("Invalid attribute `ref` supplied to `React.Fragment`."),Du(null))}}function vn(T,W,ve){var Re=$e(T);if(!Re){var et="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(et+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var jt=Dm(W);jt?et+=jt:et+=Vr();var kt;T===null?kt="null":nt(T)?kt="array":T!==void 0&&T.$$typeof===a?(kt="<"+(sr(T.type)||"Unknown")+" />",et=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof T,me("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,et)}var rr=ba.apply(this,arguments);if(rr==null)return rr;if(Re)for(var Tr=2;Tr<arguments.length;Tr++)Lu(arguments[Tr],T);return T===l?X_(rr):Au(rr),rr}var xa=!1;function J_(T){var W=vn.bind(null,T);return W.type=T,xa||(xa=!0,ae("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(W,"type",{enumerable:!1,get:function(){return ae("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:T}),T}}),W}function vl(T,W,ve){for(var Re=dt.apply(this,arguments),et=2;et<arguments.length;et++)Lu(arguments[et],Re.type);return Au(Re),Re}function So(T,W){var ve=F.transition;F.transition={};var Re=F.transition;F.transition._updatedFibers=new Set;try{T()}finally{if(F.transition=ve,ve===null&&Re._updatedFibers){var et=Re._updatedFibers.size;et>10&&ae("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."),Re._updatedFibers.clear()}}}var Il=!1,Ld=null;function up(T){if(Ld===null)try{var W=("require"+Math.random()).slice(0,7),ve=Mg&&Mg[W];Ld=ve.call(Mg,"timers").setImmediate}catch(Re){Ld=function(et){Il===!1&&(Il=!0,typeof MessageChannel=="undefined"&&me("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 jt=new MessageChannel;jt.port1.onmessage=et,jt.port2.postMessage(void 0)}}return Ld(T)}var Os=0,cp=!1;function Am(T){{var W=Os;Os++,V.current===null&&(V.current=[]);var ve=V.isBatchingLegacy,Re;try{if(V.isBatchingLegacy=!0,Re=T(),!ve&&V.didScheduleLegacyUpdate){var et=V.current;et!==null&&(V.didScheduleLegacyUpdate=!1,Bd(et))}}catch(va){throw Ad(W),va}finally{V.isBatchingLegacy=ve}if(Re!==null&&typeof Re=="object"&&typeof Re.then=="function"){var jt=Re,kt=!1,rr={then:function(va,La){kt=!0,jt.then(function(en){Ad(W),Os===0?dp(en,va,La):va(en)},function(en){Ad(W),La(en)})}};return!cp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){kt||(cp=!0,me("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 () => ...);"))}),rr}else{var Tr=Re;if(Ad(W),Os===0){var Wr=V.current;Wr!==null&&(Bd(Wr),V.current=null);var ca={then:function(va,La){V.current===null?(V.current=[],dp(Tr,va,La)):va(Tr)}};return ca}else{var da={then:function(va,La){va(Tr)}};return da}}}}function Ad(T){T!==Os-1&&me("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Os=T}function dp(T,W,ve){{var Re=V.current;if(Re!==null)try{Bd(Re),up(function(){Re.length===0?(V.current=null,W(T)):dp(T,W,ve)})}catch(et){ve(et)}else W(T)}}var Bu=!1;function Bd(T){if(!Bu){Bu=!0;var W=0;try{for(;W<T.length;W++){var ve=T[W];do ve=ve(!0);while(ve!==null)}T.length=0}catch(Re){throw T=T.slice(W+1),Re}finally{Bu=!1}}}var Nd=vn,Bm=vl,Nm=J_,Om={map:U,forEach:de,count:q,toArray:ie,only:Ie};Sr.Children=Om,Sr.Component=Fe,Sr.Fragment=l,Sr.Profiler=d,Sr.PureComponent=nr,Sr.StrictMode=s,Sr.Suspense=v,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,Sr.act=Am,Sr.cloneElement=Bm,Sr.createContext=Pe,Sr.createElement=Nd,Sr.createFactory=Nm,Sr.createRef=yt,Sr.forwardRef=ee,Sr.isValidElement=St,Sr.lazy=Y,Sr.memo=Ue,Sr.startTransition=So,Sr.unstable_act=Am,Sr.useCallback=Rt,Sr.useContext=$,Sr.useDebugValue=Kr,Sr.useDeferredValue=sa,Sr.useEffect=gt,Sr.useId=ua,Sr.useImperativeHandle=qt,Sr.useInsertionEffect=rt,Sr.useLayoutEffect=Ze,Sr.useMemo=Lt,Sr.useReducer=ke,Sr.useRef=Ye,Sr.useState=he,Sr.useSyncExternalStore=qa,Sr.useTransition=Va,Sr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var pr=Ge((JG,tk)=>{"use strict";tk.exports=ek()});var rk=Ge(pa=>{"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,dt){var St=ze.length;ze.push(dt),u(ze,dt,St)}function s(ze){return ze.length===0?null:ze[0]}function d(ze){if(ze.length===0)return null;var dt=ze[0],St=ze.pop();return St!==dt&&(ze[0]=St,h(ze,St,0)),dt}function u(ze,dt,St){for(var Xt=St;Xt>0;){var Gt=Xt-1>>>1,Er=ze[Gt];if(p(Er,dt)>0)ze[Gt]=dt,ze[Xt]=Er,Xt=Gt;else return}}function h(ze,dt,St){for(var Xt=St,Gt=ze.length,Er=Gt>>>1;Xt<Er;){var _r=(Xt+1)*2-1,qr=ze[_r],O=_r+1,Z=ze[O];if(p(qr,dt)<0)O<Gt&&p(Z,qr)<0?(ze[Xt]=Z,ze[O]=dt,Xt=O):(ze[Xt]=qr,ze[_r]=dt,Xt=_r);else if(O<Gt&&p(Z,dt)<0)ze[Xt]=Z,ze[O]=dt,Xt=O;else return}}function p(ze,dt){var St=ze.sortIndex-dt.sortIndex;return St!==0?St:ze.id-dt.id}var v=1,b=2,y=3,C=4,w=5;function k(ze,dt){}var B=typeof performance=="object"&&typeof performance.now=="function";if(B){var M=performance;pa.unstable_now=function(){return M.now()}}else{var X=Date,F=X.now();pa.unstable_now=function(){return X.now()-F}}var V=1073741823,H=-1,G=250,P=5e3,oe=1e4,Ee=V,te=[],be=[],ye=1,fe=null,I=y,ae=!1,me=!1,z=!1,ne=typeof setTimeout=="function"?setTimeout:null,pe=typeof clearTimeout=="function"?clearTimeout:null,Se=typeof setImmediate!="undefined"?setImmediate:null,ce=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var dt=s(be);dt!==null;){if(dt.callback===null)d(be);else if(dt.startTime<=ze)d(be),dt.sortIndex=dt.expirationTime,l(te,dt);else return;dt=s(be)}}function Fe(ze){if(z=!1,we(ze),!me)if(s(te)!==null)me=!0,ma(He);else{var dt=s(be);dt!==null&&hr(Fe,dt.startTime-ze)}}function He(ze,dt){me=!1,z&&(z=!1,Rr()),ae=!0;var St=I;try{if(a)try{return at(ze,dt)}catch(Gt){if(fe!==null){var Xt=pa.unstable_now();fe.isQueued=!1}throw Gt}else return at(ze,dt)}finally{fe=null,I=St,ae=!1}}function at(ze,dt){var St=dt;for(we(St),fe=s(te);fe!==null&&!r&&!(fe.expirationTime>St&&(!ze||xr()));){var Xt=fe.callback;if(typeof Xt=="function"){fe.callback=null,I=fe.priorityLevel;var Gt=fe.expirationTime<=St,Er=Xt(Gt);St=pa.unstable_now(),typeof Er=="function"?fe.callback=Er:fe===s(te)&&d(te),we(St)}else d(te);fe=s(te)}if(fe!==null)return!0;var _r=s(be);return _r!==null&&hr(Fe,_r.startTime-St),!1}function Oe(ze,dt){switch(ze){case v:case b:case y:case C:case w:break;default:ze=y}var St=I;I=ze;try{return dt()}finally{I=St}}function ct(ze){var dt;switch(I){case v:case b:case y:dt=y;break;default:dt=I;break}var St=I;I=dt;try{return ze()}finally{I=St}}function nr(ze){var dt=I;return function(){var St=I;I=dt;try{return ze.apply(this,arguments)}finally{I=St}}}function bt(ze,dt,St){var Xt=pa.unstable_now(),Gt;if(typeof St=="object"&&St!==null){var Er=St.delay;typeof Er=="number"&&Er>0?Gt=Xt+Er:Gt=Xt}else Gt=Xt;var _r;switch(ze){case v:_r=H;break;case b:_r=G;break;case w:_r=Ee;break;case C:_r=oe;break;case y:default:_r=P;break}var qr=Gt+_r,O={id:ye++,callback:dt,priorityLevel:ze,startTime:Gt,expirationTime:qr,sortIndex:-1};return Gt>Xt?(O.sortIndex=Gt,l(be,O),s(te)===null&&O===s(be)&&(z?Rr():z=!0,hr(Fe,Gt-Xt))):(O.sortIndex=qr,l(te,O),!me&&!ae&&(me=!0,ma(He))),O}function yt(){}function It(){!me&&!ae&&(me=!0,ma(He))}function nt(){return s(te)}function Ae(ze){ze.callback=null}function Ct(){return I}var zt=!1,Yt=null,$t=-1,ir=o,sr=-1;function xr(){var ze=pa.unstable_now()-sr;return!(ze<ir)}function _a(){}function aa(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?ir=Math.floor(1e3/ze):ir=o}var la=function(){if(Yt!==null){var ze=pa.unstable_now();sr=ze;var dt=!0,St=!0;try{St=Yt(dt,ze)}finally{St?Nr():(zt=!1,Yt=null)}}else zt=!1},Nr;if(typeof Se=="function")Nr=function(){Se(la)};else if(typeof MessageChannel!="undefined"){var Or=new MessageChannel,Ir=Or.port2;Or.port1.onmessage=la,Nr=function(){Ir.postMessage(null)}}else Nr=function(){ne(la,0)};function ma(ze){Yt=ze,zt||(zt=!0,Nr())}function hr(ze,dt){$t=ne(function(){ze(pa.unstable_now())},dt)}function Rr(){pe($t),$t=-1}var Pr=_a,ba=null;pa.unstable_IdlePriority=w,pa.unstable_ImmediatePriority=v,pa.unstable_LowPriority=C,pa.unstable_NormalPriority=y,pa.unstable_Profiling=ba,pa.unstable_UserBlockingPriority=b,pa.unstable_cancelCallback=Ae,pa.unstable_continueExecution=It,pa.unstable_forceFrameRate=aa,pa.unstable_getCurrentPriorityLevel=Ct,pa.unstable_getFirstCallbackNode=nt,pa.unstable_next=ct,pa.unstable_pauseExecution=yt,pa.unstable_requestPaint=Pr,pa.unstable_runWithPriority=Oe,pa.unstable_scheduleCallback=bt,pa.unstable_shouldYield=xr,pa.unstable_wrapCallback=nr,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var nk=Ge((ZG,ak)=>{"use strict";ak.exports=rk()});var ok=Ge(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=pr(),a=nk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function 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 f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,v=1,b=2,y=3,C=4,w=5,k=6,B=7,M=8,X=9,F=10,V=11,H=12,G=13,P=14,oe=15,Ee=16,te=17,be=18,ye=19,fe=21,I=22,ae=23,me=24,z=25,ne=!0,pe=!1,Se=!1,ce=!1,we=!1,Fe=!0,He=!1,at=!0,Oe=!0,ct=!0,nr=!0,bt=new Set,yt={},It={};function nt(e,t){Ae(e,t),Ae(e+"Capture",t)}function Ae(e,t){yt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yt[e]=t;{var n=e.toLowerCase();It[n]=e,e==="onDoubleClick"&&(It.ondblclick=e)}for(var i=0;i<t.length;i++)bt.add(t[i])}var Ct=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",zt=Object.prototype.hasOwnProperty;function Yt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function $t(e){try{return ir(e),!1}catch(t){return!0}}function ir(e){return""+e}function sr(e,t){if($t(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,Yt(e)),ir(e)}function xr(e){if($t(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Yt(e)),ir(e)}function _a(e,t){if($t(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,Yt(e)),ir(e)}function aa(e,t){if($t(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,Yt(e)),ir(e)}function la(e){if($t(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.",Yt(e)),ir(e)}function Nr(e){if($t(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.",Yt(e)),ir(e)}var Or=0,Ir=1,ma=2,hr=3,Rr=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",dt=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+ze+"]["+dt+"]*$"),Xt={},Gt={};function Er(e){return zt.call(Gt,e)?!0:zt.call(Xt,e)?!1:St.test(e)?(Gt[e]=!0,!0):(Xt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===Or:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function qr(e,t,n,i){if(n!==null&&n.type===Or)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 O(e,t,n,i){if(t===null||typeof t=="undefined"||qr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case hr:return!t;case Rr:return t===!1;case Pr:return isNaN(t);case ba:return isNaN(t)||t<1}return!1}function Z(e){return U.hasOwnProperty(e)?U[e]:null}function L(e,t,n,i,c,f,g){this.acceptsBooleans=t===ma||t===hr||t===Rr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var U={},q=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];q.forEach(function(e){U[e]=new L(e,Or,!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];U[t]=new L(t,Ir,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){U[e]=new L(e,ma,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){U[e]=new L(e,ma,!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){U[e]=new L(e,hr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){U[e]=new L(e,hr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){U[e]=new L(e,Rr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){U[e]=new L(e,ba,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){U[e]=new L(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var de=/[\-\:]([a-z])/g,ie=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Ir,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Ir,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(de,ie);U[t]=new L(t,Ir,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){U[e]=new L(e,Ir,!1,e.toLowerCase(),null,!1,!1)});var Ie="xlinkHref";U[Ie]=new L("xlinkHref",Ir,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){U[e]=new L(e,Ir,!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 Xe(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 Be(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{sr(n,t),i.sanitizeURL&&Xe(""+n);var f=i.attributeName,g=null;if(i.type===Rr){if(e.hasAttribute(f)){var S=e.getAttribute(f);return S===""?!0:O(t,n,i,!1)?S:S===""+n?n:S}}else if(e.hasAttribute(f)){if(O(t,n,i,!1))return e.getAttribute(f);if(i.type===hr)return n;g=e.getAttribute(f)}return O(t,n,i,!1)?g===null?n:g:g===""+n?n:g}}function tt(e,t,n,i){{if(!Er(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return sr(n,t),c===""+n?n:c}}function j(e,t,n,i){var c=Z(t);if(!_r(t,c,i)){if(O(t,n,c,i)&&(n=null),i||c===null){if(Er(t)){var f=t;n===null?e.removeAttribute(f):(sr(n,t),e.setAttribute(f,""+n))}return}var g=c.mustUseProperty;if(g){var S=c.propertyName;if(n===null){var x=c.type;e[S]=x===hr?!1:""}else e[S]=n;return}var R=c.attributeName,N=c.attributeNamespace;if(n===null)e.removeAttribute(R);else{var Q=c.type,J;Q===hr||Q===Rr&&n===!0?J="":(sr(n,R),J=""+n,c.sanitizeURL&&Xe(J.toString())),N?e.setAttributeNS(N,R,J):e.setAttribute(R,J)}}}var Y=Symbol.for("react.element"),ee=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),$e=Symbol.for("react.strict_mode"),Ue=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),$=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),gt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),Ze=Symbol.for("react.scope"),Rt=Symbol.for("react.debug_trace_mode"),Lt=Symbol.for("react.offscreen"),qt=Symbol.for("react.legacy_hidden"),Kr=Symbol.for("react.cache"),Va=Symbol.for("react.tracing_marker"),sa=Symbol.iterator,ua="@@iterator";function qa(e){if(e===null||typeof e!="object")return null;var t=sa&&e[sa]||e[ua];return typeof t=="function"?t:null}var Pt=Object.assign,qn=0,cs,ds,tr,na,Za,Xr,Kn;function wc(){}wc.__reactDisabledLog=!0;function ip(){{if(qn===0){cs=console.log,ds=console.info,tr=console.warn,na=console.error,Za=console.group,Xr=console.groupCollapsed,Kn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:wc,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:Pt({},e,{value:cs}),info:Pt({},e,{value:ds}),warn:Pt({},e,{value:tr}),error:Pt({},e,{value:na}),group:Pt({},e,{value:Za}),groupCollapsed:Pt({},e,{value:Xr}),groupEnd:Pt({},e,{value:Kn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Cc=o.ReactCurrentDispatcher,ku;function ml(e,t,n){{if(ku===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);ku=i&&i[1]||""}return`
24
24
  `+ku+e}}var Eu=!1,kd;{var km=typeof WeakMap=="function"?WeakMap:Map;kd=new km}function sp(e,t){if(!e||Eu)return"";{var n=kd.get(e);if(n!==void 0)return n}var i;Eu=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=Cc.current,Cc.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(_e){i=_e}Reflect.construct(e,[],g)}else{try{g.call()}catch(_e){i=_e}e.call(g.prototype)}}else{try{throw Error()}catch(_e){i=_e}e()}}catch(_e){if(_e&&i&&typeof _e.stack=="string"){for(var S=_e.stack.split(`
25
25
  `),x=i.stack.split(`
26
26
  `),R=S.length-1,N=x.length-1;R>=1&&N>=0&&S[R]!==x[N];)N--;for(;R>=1&&N>=0;R--,N--)if(S[R]!==x[N]){if(R!==1||N!==1)do if(R--,N--,N<0||S[R]!==x[N]){var Q=`
27
27
  `+S[R].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&kd.set(e,Q),Q}while(R>=1&&N>=0);break}}}finally{Eu=!1,Cc.current=f,lp(),Error.prepareStackTrace=c}var J=e?e.displayName||e.name:"",ge=J?ml(J):"";return typeof e=="function"&&kd.set(e,ge),ge}function q_(e,t,n){return sp(e,!0)}function Ru(e,t,n){return sp(e,!1)}function Em(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ed(e,t,n){if(e==null)return"";if(typeof e=="function")return sp(e,Em(e));if(typeof e=="string")return ml(e);switch(e){case ke:return ml("Suspense");case Ye:return ml("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case he:return Ru(e.render);case gt:return Ed(e.type,t,n);case rt:{var i=e,c=i._payload,f=i._init;try{return Ed(f(c),t,n)}catch(g){}}}return""}function Rd(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return ml(e.type);case Ee:return ml("Lazy");case G:return ml("Suspense");case ye:return ml("SuspenseList");case p:case b:case oe:return Ru(e.type);case V:return Ru(e.type.render);case v:return q_(e.type);default:return""}}function Rm(e){try{var t="",n=e;do t+=Rd(n),n=n.return;while(n);return t}catch(i){return`
28
28
  Error generating stack: `+i.message+`
29
- `+i.stack}}function Du(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Dd(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 le:return"Fragment";case ee:return"Portal";case Ue:return"Profiler";case $e:return"StrictMode";case ke:return"Suspense";case Ye:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $:var t=e;return Dd(t)+".Consumer";case A:var n=e;return Dd(n._context)+".Provider";case he:return Du(e,e.render,"ForwardRef");case gt:var i=e.displayName||null;return i!==null?i:Vr(e.type)||"Memo";case rt:{var c=e,f=c._payload,g=c._init;try{return Vr(g(f))}catch(S){return null}}}return null}function K_(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Dm(e){return e.displayName||"Context"}function or(e){var t=e.tag,n=e.type;switch(t){case me:return"Cache";case X:var i=n;return Dm(i)+".Consumer";case F:var c=n;return Dm(c._context)+".Provider";case be:return"DehydratedFragment";case V:return K_(n,n.render,"ForwardRef");case B:return"Fragment";case w:return n;case C:return"Portal";case y:return"Root";case k:return"Text";case Ee:return Vr(n);case M:return n===$e?"StrictMode":"Mode";case I:return"Offscreen";case H:return"Profiler";case fe:return"Scope";case G:return"Suspense";case ye:return"SuspenseList";case z:return"TracingMarker";case v:case p:case te:case b:case P:case oe:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Lm=o.ReactDebugCurrentFrame,Fn=null,Lu=!1;function Au(){{if(Fn===null)return null;var e=Fn._debugOwner;if(e!==null&&typeof e!="undefined")return or(e)}return null}function X_(){return Fn===null?"":Rm(Fn)}function vn(){Lm.getCurrentStack=null,Fn=null,Lu=!1}function xa(e){Lm.getCurrentStack=e===null?null:X_,Fn=e,Lu=!1}function J_(){return Fn}function vl(e){Lu=e}function So(e){return""+e}function Il(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Br(e),e;default:return""}}var Ld={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function up(e,t){Ld[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 Os(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cp(e){return e._valueTracker}function Am(e){e._valueTracker=null}function Ad(e){var t="";return e&&(Os(e)?t=e.checked?"true":"false":t=e.value),t}function dp(e){var t=Os(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Br(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,f=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(S){Br(S),i=""+S,f.call(this,S)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return i},setValue:function(S){Br(S),i=""+S},stopTracking:function(){Am(e),delete e[t]}};return g}}function Bu(e){cp(e)||(e._valueTracker=dp(e))}function Bd(e){if(!e)return!1;var t=cp(e);if(!t)return!0;var n=t.getValue(),i=Ad(e);return i!==n?(t.setValue(i),!0):!1}function Nd(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 Bm=!1,Nm=!1,Om=!1,T=!1;function W(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ve(e,t){var n=e,i=t.checked,c=Pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Re(e,t){up("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Nm&&(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",Au()||"A component",t.type),Nm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Bm&&(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",Au()||"A component",t.type),Bm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Il(t.value!=null?t.value:i),controlled:W(t)}}function et(e,t){var n=e,i=t.checked;i!=null&&j(n,"checked",i,!1)}function jt(e,t){var n=e;{var i=W(t);!n._wrapperState.controlled&&i&&!T&&(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"),T=!0),n._wrapperState.controlled&&!i&&!Om&&(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"),Om=!0)}et(e,t);var c=Il(t.value),f=t.type;if(c!=null)f==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=So(c)):n.value!==So(c)&&(n.value=So(c));else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Wr(n,t.type,c):t.hasOwnProperty("defaultValue")&&Wr(n,t.type,Il(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function kt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,f=c==="submit"||c==="reset";if(f&&(t.value===void 0||t.value===null))return;var g=So(i._wrapperState.initialValue);n||g!==i.value&&(i.value=g),i.defaultValue=g}var S=i.name;S!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,S!==""&&(i.name=S)}function rr(e,t){var n=e;jt(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;sr(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),f=0;f<c.length;f++){var g=c[f];if(!(g===e||g.form!==e.form)){var S=Sv(g);if(!S)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Bd(g),jt(g,S)}}}}function Wr(e,t,n){(t!=="number"||Nd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=So(e._wrapperState.initialValue):e.defaultValue!==So(n)&&(e.defaultValue=So(n)))}var ca=!1,da=!1,va=!1;function La(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"||da||(da=!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&&(va||(va=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ca&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ca=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",So(Il(t.value)))}var Od=Array.isArray;function tn(e){return Od(e)}var Id;Id=!1;function Im(){var e=Au();return e?`
29
+ `+i.stack}}function Du(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Dd(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 le:return"Fragment";case ee:return"Portal";case Ue:return"Profiler";case $e:return"StrictMode";case ke:return"Suspense";case Ye:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $:var t=e;return Dd(t)+".Consumer";case A:var n=e;return Dd(n._context)+".Provider";case he:return Du(e,e.render,"ForwardRef");case gt:var i=e.displayName||null;return i!==null?i:Vr(e.type)||"Memo";case rt:{var c=e,f=c._payload,g=c._init;try{return Vr(g(f))}catch(S){return null}}}return null}function K_(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Dm(e){return e.displayName||"Context"}function or(e){var t=e.tag,n=e.type;switch(t){case me:return"Cache";case X:var i=n;return Dm(i)+".Consumer";case F:var c=n;return Dm(c._context)+".Provider";case be:return"DehydratedFragment";case V:return K_(n,n.render,"ForwardRef");case B:return"Fragment";case w:return n;case C:return"Portal";case y:return"Root";case k:return"Text";case Ee:return Vr(n);case M:return n===$e?"StrictMode":"Mode";case I:return"Offscreen";case H:return"Profiler";case fe:return"Scope";case G:return"Suspense";case ye:return"SuspenseList";case z:return"TracingMarker";case v:case p:case te:case b:case P:case oe:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Lm=o.ReactDebugCurrentFrame,Fn=null,Lu=!1;function Au(){{if(Fn===null)return null;var e=Fn._debugOwner;if(e!==null&&typeof e!="undefined")return or(e)}return null}function X_(){return Fn===null?"":Rm(Fn)}function vn(){Lm.getCurrentStack=null,Fn=null,Lu=!1}function xa(e){Lm.getCurrentStack=e===null?null:X_,Fn=e,Lu=!1}function J_(){return Fn}function vl(e){Lu=e}function So(e){return""+e}function Il(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Nr(e),e;default:return""}}var Ld={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function up(e,t){Ld[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 Os(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cp(e){return e._valueTracker}function Am(e){e._valueTracker=null}function Ad(e){var t="";return e&&(Os(e)?t=e.checked?"true":"false":t=e.value),t}function dp(e){var t=Os(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Nr(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,f=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(S){Nr(S),i=""+S,f.call(this,S)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return i},setValue:function(S){Nr(S),i=""+S},stopTracking:function(){Am(e),delete e[t]}};return g}}function Bu(e){cp(e)||(e._valueTracker=dp(e))}function Bd(e){if(!e)return!1;var t=cp(e);if(!t)return!0;var n=t.getValue(),i=Ad(e);return i!==n?(t.setValue(i),!0):!1}function Nd(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 Bm=!1,Nm=!1,Om=!1,T=!1;function W(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ve(e,t){var n=e,i=t.checked,c=Pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Re(e,t){up("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Nm&&(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",Au()||"A component",t.type),Nm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Bm&&(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",Au()||"A component",t.type),Bm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Il(t.value!=null?t.value:i),controlled:W(t)}}function et(e,t){var n=e,i=t.checked;i!=null&&j(n,"checked",i,!1)}function jt(e,t){var n=e;{var i=W(t);!n._wrapperState.controlled&&i&&!T&&(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"),T=!0),n._wrapperState.controlled&&!i&&!Om&&(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"),Om=!0)}et(e,t);var c=Il(t.value),f=t.type;if(c!=null)f==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=So(c)):n.value!==So(c)&&(n.value=So(c));else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Wr(n,t.type,c):t.hasOwnProperty("defaultValue")&&Wr(n,t.type,Il(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function kt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,f=c==="submit"||c==="reset";if(f&&(t.value===void 0||t.value===null))return;var g=So(i._wrapperState.initialValue);n||g!==i.value&&(i.value=g),i.defaultValue=g}var S=i.name;S!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,S!==""&&(i.name=S)}function rr(e,t){var n=e;jt(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;sr(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),f=0;f<c.length;f++){var g=c[f];if(!(g===e||g.form!==e.form)){var S=Sv(g);if(!S)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Bd(g),jt(g,S)}}}}function Wr(e,t,n){(t!=="number"||Nd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=So(e._wrapperState.initialValue):e.defaultValue!==So(n)&&(e.defaultValue=So(n)))}var ca=!1,da=!1,va=!1;function La(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"||da||(da=!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&&(va||(va=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ca&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ca=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",So(Il(t.value)))}var Od=Array.isArray;function tn(e){return Od(e)}var Id;Id=!1;function Im(){var e=Au();return e?`
30
30
 
31
- Check the render method of \``+e+"`.":""}var fp=["value","defaultValue"];function Q_(e){{up("select",e);for(var t=0;t<fp.length;t++){var n=fp[t];if(e[n]!=null){var i=tn(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Im()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Im())}}}}function Is(e,t,n,i){var c=e.options;if(t){for(var f=n,g={},S=0;S<f.length;S++)g["$"+f[S]]=!0;for(var x=0;x<c.length;x++){var R=g.hasOwnProperty("$"+c[x].value);c[x].selected!==R&&(c[x].selected=R),R&&i&&(c[x].defaultSelected=!0)}}else{for(var N=So(Il(n)),Q=null,J=0;J<c.length;J++){if(c[J].value===N){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Q===null&&!c[J].disabled&&(Q=c[J])}Q!==null&&(Q.selected=!0)}}function pp(e,t){return Pt({},t,{value:void 0})}function Yw(e,t){var n=e;Q_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Id&&(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"),Id=!0)}function oI(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Is(n,!!t.multiple,i,!1):t.defaultValue!=null&&Is(n,!!t.multiple,t.defaultValue,!0)}function iI(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Is(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Is(n,!!t.multiple,t.defaultValue,!0):Is(n,!!t.multiple,t.multiple?[]:"",!1))}function lI(e,t){var n=e,i=t.value;i!=null&&Is(n,!!t.multiple,i,!1)}var $w=!1;function Z_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Pt({},t,{value:void 0,defaultValue:void 0,children:So(n._wrapperState.initialValue)});return i}function Gw(e,t){var n=e;up("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!$w&&(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",Au()||"A component"),$w=!0);var i=t.value;if(i==null){var c=t.children,f=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}f=c}}f==null&&(f=""),i=f}n._wrapperState={initialValue:Il(i)}}function qw(e,t){var n=e,i=Il(t.value),c=Il(t.defaultValue);if(i!=null){var f=So(i);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}c!=null&&(n.defaultValue=So(c))}function Kw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function sI(e,t){qw(e,t)}var Ps="http://www.w3.org/1999/xhtml",uI="http://www.w3.org/1998/Math/MathML",eb="http://www.w3.org/2000/svg";function tb(e){switch(e){case"svg":return eb;case"math":return uI;default:return Ps}}function rb(e,t){return e==null||e===Ps?tb(t):e===eb&&t==="foreignObject"?Ps:e}var cI=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Pm,Xw=cI(function(e,t){if(e.namespaceURI===eb&&!("innerHTML"in e)){Pm=Pm||document.createElement("div"),Pm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Pm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),wo=1,Ms=3,Ka=8,Fs=9,ab=11,Mm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Ms){n.nodeValue=t;return}}e.textContent=t},dI={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 fI(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var pI=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){pI.forEach(function(t){hp[fI(t,e)]=hp[e]})});function nb(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":(aa(t,e),(""+t).trim())}var hI=/([A-Z])/g,mI=/^ms-/;function vI(e){return e.replace(hI,"-$1").toLowerCase().replace(mI,"-ms-")}var Jw=function(){};{var gI=/^(?:webkit|moz|o)[A-Z]/,_I=/^-ms-/,bI=/-(.)/g,Qw=/;\s*$/,Pd={},ob={},Zw=!1,eC=!1,yI=function(e){return e.replace(bI,function(t,n){return n.toUpperCase()})},SI=function(e){Pd.hasOwnProperty(e)&&Pd[e]||(Pd[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,yI(e.replace(_I,"ms-"))))},wI=function(e){Pd.hasOwnProperty(e)&&Pd[e]||(Pd[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},CI=function(e,t){ob.hasOwnProperty(t)&&ob[t]||(ob[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Qw,"")))},xI=function(e,t){Zw||(Zw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},TI=function(e,t){eC||(eC=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};Jw=function(e,t){e.indexOf("-")>-1?SI(e):gI.test(e)?wI(e):Qw.test(t)&&CI(e,t),typeof t=="number"&&(isNaN(t)?xI(e,t):isFinite(t)||TI(e,t))}}var kI=Jw;function EI(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var f=i.indexOf("--")===0;t+=n+(f?i:vI(i))+":",t+=nb(i,c,f),n=";"}}return t||null}}function tC(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||kI(i,t[i]);var f=nb(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,f):n[i]=f}}function RI(e){return e==null||typeof e=="boolean"||e===""}function rC(e){var t={};for(var n in e)for(var i=dI[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function DI(e,t){{if(!t)return;var n=rC(e),i=rC(t),c={};for(var f in n){var g=n[f],S=i[f];if(S&&g!==S){var x=g+","+S;if(c[x])continue;c[x]=!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.",RI(e[g])?"Removing":"Updating",g,S)}}}}var LI={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},AI=Pt({menuitem:!0},LI),BI="__html";function ib(e,t){if(t){if(AI[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"||!(BI 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 xc(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 Fm={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"},aC={"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},Md={},NI=new RegExp("^(aria)-["+dt+"]*$"),OI=new RegExp("^(aria)[A-Z]["+dt+"]*$");function II(e,t){{if(zt.call(Md,t)&&Md[t])return!0;if(OI.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=aC.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Md[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Md[t]=!0,!0}if(NI.test(t)){var c=t.toLowerCase(),f=aC.hasOwnProperty(c)?c:null;if(f==null)return Md[t]=!0,!1;if(t!==f)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),Md[t]=!0,!0}}return!0}function PI(e,t){{var n=[];for(var i in t){var c=II(e,i);c||n.push(i)}var f=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",f,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function MI(e,t){xc(e,t)||PI(e,t)}var nC=!1;function FI(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!nC&&(nC=!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 oC=function(){};{var Xn={},iC=/^on./,zI=/^on[^A-Z]/,jI=new RegExp("^(aria)-["+dt+"]*$"),HI=new RegExp("^(aria)[A-Z]["+dt+"]*$");oC=function(e,t,n,i){if(zt.call(Xn,t)&&Xn[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."),Xn[t]=!0,!0;if(i!=null){var f=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var S=g.hasOwnProperty(c)?g[c]:null;if(S!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,S),Xn[t]=!0,!0;if(iC.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Xn[t]=!0,!0}else if(iC.test(t))return zI.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Xn[t]=!0,!0;if(jI.test(t)||HI.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Xn[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Xn[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),Xn[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),Xn[t]=!0,!0;var x=Z(t),R=x!==null&&x.type===Nr;if(Fm.hasOwnProperty(c)){var N=Fm[c];if(N!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,N),Xn[t]=!0,!0}else if(!R&&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),Xn[t]=!0,!0;return typeof n=="boolean"&&qr(t,n,x,!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),Xn[t]=!0,!0):R?!0:qr(t,n,x,!1)?(Xn[t]=!0,!1):((n==="false"||n==="true")&&x!==null&&x.type===hr&&(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),Xn[t]=!0),!0)}}var UI=function(e,t,n){{var i=[];for(var c in t){var f=oC(e,c,t[c],n);f||i.push(c)}var g=i.map(function(S){return"`"+S+"`"}).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 VI(e,t,n){xc(e,t)||UI(e,t,n)}var lC=1,lb=2,mp=4,WI=lC|lb|mp,vp=null;function YI(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 $I(){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 GI(e){return e===vp}function sb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ms?t.parentNode:t}var ub=null,Fd=null,zd=null;function sC(e){var t=ju(e);if(t){if(typeof ub!="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=Sv(n);ub(t.stateNode,t.type,i)}}}function qI(e){ub=e}function uC(e){Fd?zd?zd.push(e):zd=[e]:Fd=e}function KI(){return Fd!==null||zd!==null}function cC(){if(Fd){var e=Fd,t=zd;if(Fd=null,zd=null,sC(e),t)for(var n=0;n<t.length;n++)sC(t[n])}}var dC=function(e,t){return e(t)},fC=function(){},cb=!1;function XI(){var e=KI();e&&(fC(),cC())}function pC(e,t,n){if(cb)return e(t,n);cb=!0;try{return dC(e,t,n)}finally{cb=!1,XI()}}function JI(e,t,n){dC=e,fC=n}function QI(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ZI(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&&QI(t));default:return!1}}function gp(e,t){var n=e.stateNode;if(n===null)return null;var i=Sv(n);if(i===null)return null;var c=i[t];if(ZI(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 db=!1;if(Ct)try{var _p={};Object.defineProperty(_p,"passive",{get:function(){db=!0}}),window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){db=!1}function hC(e,t,n,i,c,f,g,S,x){var R=Array.prototype.slice.call(arguments,3);try{t.apply(n,R)}catch(N){this.onError(N)}}var mC=hC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var fb=document.createElement("react");mC=function(t,n,i,c,f,g,S,x,R){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 N=document.createEvent("Event"),Q=!1,J=!0,ge=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function Te(){fb.removeEventListener(De,Nt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ge)}var lt=Array.prototype.slice.call(arguments,3);function Nt(){Q=!0,Te(),n.apply(i,lt),J=!1}var Et,vr=!1,gr=!1;function se(ue){if(Et=ue.error,vr=!0,Et===null&&ue.colno===0&&ue.lineno===0&&(gr=!0),ue.defaultPrevented&&Et!=null&&typeof Et=="object")try{Et._suppressLogging=!0}catch(Je){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",se),fb.addEventListener(De,Nt,!1),N.initEvent(De,!1,!1),fb.dispatchEvent(N),_e&&Object.defineProperty(window,"event",_e),Q&&J&&(vr?gr&&(Et=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.")):Et=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(Et)),window.removeEventListener("error",se),!Q)return Te(),hC.apply(this,arguments)}}var eP=mC,jd=!1,zm=null,jm=!1,pb=null,tP={onError:function(e){jd=!0,zm=e}};function hb(e,t,n,i,c,f,g,S,x){jd=!1,zm=null,eP.apply(tP,arguments)}function rP(e,t,n,i,c,f,g,S,x){if(hb.apply(this,arguments),jd){var R=mb();jm||(jm=!0,pb=R)}}function aP(){if(jm){var e=pb;throw jm=!1,pb=null,e}}function nP(){return jd}function mb(){if(jd){var e=zm;return jd=!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 Hd(e){return e._reactInternals}function oP(e){return e._reactInternals!==void 0}function iP(e,t){e._reactInternals=t}var Ut=0,Ud=1,Xa=2,kr=4,Tc=16,bp=32,vb=64,Pr=128,zs=256,Nu=512,kc=1024,Pl=2048,js=4096,Ec=8192,Hm=16384,lP=Pl|kr|vb|Nu|kc|Hm,sP=32767,yp=32768,Jn=65536,gb=131072,vC=1048576,_b=2097152,Rc=4194304,bb=8388608,Hs=16777216,Um=33554432,yb=kr|kc|0,Sb=Xa|kr|Tc|bp|Nu|js|Ec,Sp=kr|vb|Nu|Ec,Vd=Pl|Tc,Us=Rc|bb|_b,uP=o.ReactCurrentOwner;function Dc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Xa|js))!==Ut&&(n=t.return),i=t.return;while(i)}return t.tag===y?n:null}function gC(e){if(e.tag===G){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 _C(e){return e.tag===y?e.stateNode.containerInfo:null}function cP(e){return Dc(e)===e}function dP(e){{var t=uP.current;if(t!==null&&t.tag===v){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.",or(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=Hd(e);return c?Dc(c)===c:!1}function bC(e){if(Dc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function yC(e){var t=e.alternate;if(!t){var n=Dc(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 f=i.return;if(f===null)break;var g=f.alternate;if(g===null){var S=f.return;if(S!==null){i=c=S;continue}break}if(f.child===g.child){for(var x=f.child;x;){if(x===i)return bC(f),e;if(x===c)return bC(f),t;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=f,c=g;else{for(var R=!1,N=f.child;N;){if(N===i){R=!0,i=f,c=g;break}if(N===c){R=!0,c=f,i=g;break}N=N.sibling}if(!R){for(N=g.child;N;){if(N===i){R=!0,i=g,c=f;break}if(N===c){R=!0,c=g,i=f;break}N=N.sibling}if(!R)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!==y)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function SC(e){var t=yC(e);return t!==null?wC(t):null}function wC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=wC(t);if(n!==null)return n;t=t.sibling}return null}function fP(e){var t=yC(e);return t!==null?CC(t):null}function CC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==C){var n=CC(t);if(n!==null)return n}t=t.sibling}return null}var xC=a.unstable_scheduleCallback,pP=a.unstable_cancelCallback,hP=a.unstable_shouldYield,mP=a.unstable_requestPaint,gn=a.unstable_now,vP=a.unstable_getCurrentPriorityLevel,Vm=a.unstable_ImmediatePriority,wb=a.unstable_UserBlockingPriority,Lc=a.unstable_NormalPriority,gP=a.unstable_LowPriority,Cb=a.unstable_IdlePriority,_P=a.unstable_yieldValue,bP=a.unstable_setDisableYieldValue,Ac=null,Cn=null,ft=null,fs=!1,Ml=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function yP(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{Oe&&(e=Pt({},e,{getLaneLabelMap:kP,injectProfilingHooks:TP})),Ac=t.inject(e),Cn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function SP(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Ac,e,t)}catch(n){fs||(fs=!0,u("React instrumentation encountered an error: %s",n))}}function wP(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(ct){var i;switch(t){case Fo:i=Vm;break;case Ws:i=wb;break;case Ys:i=Lc;break;case Xm:i=Cb;break;default:i=Lc;break}Cn.onCommitFiberRoot(Ac,e,i,n)}else Cn.onCommitFiberRoot(Ac,e,void 0,n)}catch(c){fs||(fs=!0,u("React instrumentation encountered an error: %s",c))}}function CP(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function xP(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function _n(e){if(typeof _P=="function"&&(bP(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function TP(e){ft=e}function kP(){{for(var e=new Map,t=1,n=0;n<Tb;n++){var i=$P(t);e.set(t,i),t*=2}return e}}function EP(e){ft!==null&&typeof ft.markCommitStarted=="function"&&ft.markCommitStarted(e)}function TC(){ft!==null&&typeof ft.markCommitStopped=="function"&&ft.markCommitStopped()}function wp(e){ft!==null&&typeof ft.markComponentRenderStarted=="function"&&ft.markComponentRenderStarted(e)}function Wd(){ft!==null&&typeof ft.markComponentRenderStopped=="function"&&ft.markComponentRenderStopped()}function RP(e){ft!==null&&typeof ft.markComponentPassiveEffectMountStarted=="function"&&ft.markComponentPassiveEffectMountStarted(e)}function DP(){ft!==null&&typeof ft.markComponentPassiveEffectMountStopped=="function"&&ft.markComponentPassiveEffectMountStopped()}function LP(e){ft!==null&&typeof ft.markComponentPassiveEffectUnmountStarted=="function"&&ft.markComponentPassiveEffectUnmountStarted(e)}function AP(){ft!==null&&typeof ft.markComponentPassiveEffectUnmountStopped=="function"&&ft.markComponentPassiveEffectUnmountStopped()}function BP(e){ft!==null&&typeof ft.markComponentLayoutEffectMountStarted=="function"&&ft.markComponentLayoutEffectMountStarted(e)}function NP(){ft!==null&&typeof ft.markComponentLayoutEffectMountStopped=="function"&&ft.markComponentLayoutEffectMountStopped()}function kC(e){ft!==null&&typeof ft.markComponentLayoutEffectUnmountStarted=="function"&&ft.markComponentLayoutEffectUnmountStarted(e)}function EC(){ft!==null&&typeof ft.markComponentLayoutEffectUnmountStopped=="function"&&ft.markComponentLayoutEffectUnmountStopped()}function OP(e,t,n){ft!==null&&typeof ft.markComponentErrored=="function"&&ft.markComponentErrored(e,t,n)}function IP(e,t,n){ft!==null&&typeof ft.markComponentSuspended=="function"&&ft.markComponentSuspended(e,t,n)}function PP(e){ft!==null&&typeof ft.markLayoutEffectsStarted=="function"&&ft.markLayoutEffectsStarted(e)}function MP(){ft!==null&&typeof ft.markLayoutEffectsStopped=="function"&&ft.markLayoutEffectsStopped()}function FP(e){ft!==null&&typeof ft.markPassiveEffectsStarted=="function"&&ft.markPassiveEffectsStarted(e)}function zP(){ft!==null&&typeof ft.markPassiveEffectsStopped=="function"&&ft.markPassiveEffectsStopped()}function RC(e){ft!==null&&typeof ft.markRenderStarted=="function"&&ft.markRenderStarted(e)}function jP(){ft!==null&&typeof ft.markRenderYielded=="function"&&ft.markRenderYielded()}function DC(){ft!==null&&typeof ft.markRenderStopped=="function"&&ft.markRenderStopped()}function HP(e){ft!==null&&typeof ft.markRenderScheduled=="function"&&ft.markRenderScheduled(e)}function UP(e,t){ft!==null&&typeof ft.markForceUpdateScheduled=="function"&&ft.markForceUpdateScheduled(e,t)}function xb(e,t){ft!==null&&typeof ft.markStateUpdateScheduled=="function"&&ft.markStateUpdateScheduled(e,t)}var Mt=0,br=1,Jr=2,Oa=8,ps=16,LC=Math.clz32?Math.clz32:YP,VP=Math.log,WP=Math.LN2;function YP(e){var t=e>>>0;return t===0?32:31-(VP(t)/WP|0)|0}var Tb=31,je=0,bn=0,Jt=1,Yd=2,Vs=4,Bc=8,hs=16,Cp=32,$d=4194240,xp=64,kb=128,Eb=256,Rb=512,Db=1024,Lb=2048,Ab=4096,Bb=8192,Nb=16384,Ob=32768,Ib=65536,Pb=131072,Mb=262144,Fb=524288,zb=1048576,jb=2097152,Wm=130023424,Gd=4194304,Hb=8388608,Ub=16777216,Vb=33554432,Wb=67108864,AC=Gd,Tp=134217728,BC=268435455,kp=268435456,Nc=536870912,Po=1073741824;function $P(e){{if(e&Jt)return"Sync";if(e&Yd)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Bc)return"DefaultHydration";if(e&hs)return"Default";if(e&Cp)return"TransitionHydration";if(e&$d)return"Transition";if(e&Wm)return"Retry";if(e&Tp)return"SelectiveHydration";if(e&kp)return"IdleHydration";if(e&Nc)return"Idle";if(e&Po)return"Offscreen"}}var ga=-1,Ym=xp,$m=Gd;function Ep(e){switch(Oc(e)){case Jt:return Jt;case Yd:return Yd;case Vs:return Vs;case Bc:return Bc;case hs:return hs;case Cp:return Cp;case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:return e&$d;case Gd:case Hb:case Ub:case Vb:case Wb:return e&Wm;case Tp:return Tp;case kp:return kp;case Nc:return Nc;case Po:return Po;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Gm(e,t){var n=e.pendingLanes;if(n===je)return je;var i=je,c=e.suspendedLanes,f=e.pingedLanes,g=n&BC;if(g!==je){var S=g&~c;if(S!==je)i=Ep(S);else{var x=g&f;x!==je&&(i=Ep(x))}}else{var R=n&~c;R!==je?i=Ep(R):f!==je&&(i=Ep(f))}if(i===je)return je;if(t!==je&&t!==i&&(t&c)===je){var N=Oc(i),Q=Oc(t);if(N>=Q||N===hs&&(Q&$d)!==je)return t}(i&Vs)!==je&&(i|=n&hs);var J=e.entangledLanes;if(J!==je)for(var ge=e.entanglements,_e=i&J;_e>0;){var Te=Ic(_e),lt=1<<Te;i|=ge[Te],_e&=~lt}return i}function GP(e,t){for(var n=e.eventTimes,i=ga;t>0;){var c=Ic(t),f=1<<c,g=n[c];g>i&&(i=g),t&=~f}return i}function qP(e,t){switch(e){case Jt:case Yd:case Vs:return t+250;case Bc:case hs:case Cp:case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:return t+5e3;case Gd:case Hb:case Ub:case Vb:case Wb:return ga;case Tp:case kp:case Nc:case Po:return ga;default:return u("Should have found matching lanes. This is a bug in React."),ga}}function KP(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var S=Ic(g),x=1<<S,R=f[S];R===ga?((x&i)===je||(x&c)!==je)&&(f[S]=qP(x,t)):R<=t&&(e.expiredLanes|=x),g&=~x}}function XP(e){return Ep(e.pendingLanes)}function Yb(e){var t=e.pendingLanes&~Po;return t!==je?t:t&Po?Po:je}function JP(e){return(e&Jt)!==je}function $b(e){return(e&BC)!==je}function NC(e){return(e&Wm)===e}function QP(e){var t=Jt|Vs|hs;return(e&t)===je}function ZP(e){return(e&$d)===e}function qm(e,t){var n=Yd|Vs|Bc|hs;return(t&n)!==je}function eM(e,t){return(t&e.expiredLanes)!==je}function OC(e){return(e&$d)!==je}function IC(){var e=Ym;return Ym<<=1,(Ym&$d)===je&&(Ym=xp),e}function tM(){var e=$m;return $m<<=1,($m&Wm)===je&&($m=Gd),e}function Oc(e){return e&-e}function Rp(e){return Oc(e)}function Ic(e){return 31-LC(e)}function Gb(e){return Ic(e)}function Mo(e,t){return(e&t)!==je}function qd(e,t){return(e&t)===t}function ur(e,t){return e|t}function Km(e,t){return e&~t}function PC(e,t){return e&t}function $G(e){return e}function rM(e,t){return e!==bn&&e<t?e:t}function qb(e){for(var t=[],n=0;n<Tb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nc&&(e.suspendedLanes=je,e.pingedLanes=je);var i=e.eventTimes,c=Gb(t);i[c]=n}function aM(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Ic(i),f=1<<c;n[c]=ga,i&=~f}}function MC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function nM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=je,e.pingedLanes=je,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var S=Ic(g),x=1<<S;i[S]=je,c[S]=ga,f[S]=ga,g&=~x}}function Kb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var f=Ic(c),g=1<<f;g&t|i[f]&t&&(i[f]|=t),c&=~g}}function oM(e,t){var n=Oc(t),i;switch(n){case Vs:i=Yd;break;case hs:i=Bc;break;case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:case Gd:case Hb:case Ub:case Vb:case Wb:i=Cp;break;case Nc:i=kp;break;default:i=bn;break}return(i&(e.suspendedLanes|t))!==bn?bn:i}function FC(e,t,n){if(Ml)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Gb(n),f=1<<c,g=i[c];g.add(t),n&=~f}}function zC(e,t){if(Ml)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Gb(t),f=1<<c,g=n[c];g.size>0&&(g.forEach(function(S){var x=S.alternate;(x===null||!i.has(x))&&i.add(S)}),g.clear()),t&=~f}}function jC(e,t){return null}var Fo=Jt,Ws=Vs,Ys=hs,Xm=Nc,Lp=bn;function Fl(){return Lp}function yn(e){Lp=e}function iM(e,t){var n=Lp;try{return Lp=e,t()}finally{Lp=n}}function lM(e,t){return e!==0&&e<t?e:t}function sM(e,t){return e===0||e>t?e:t}function Xb(e,t){return e!==0&&e<t}function HC(e){var t=Oc(e);return Xb(Fo,t)?Xb(Ws,t)?$b(t)?Ys:Xm:Ws:Fo}function Jm(e){var t=e.current.memoizedState;return t.isDehydrated}var UC;function uM(e){UC=e}function cM(e){UC(e)}var Jb;function dM(e){Jb=e}var VC;function fM(e){VC=e}var WC;function pM(e){WC=e}var YC;function hM(e){YC=e}var Qb=!1,Qm=[],Ou=null,Iu=null,Pu=null,Ap=new Map,Bp=new Map,Mu=[],mM=["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 vM(e){return mM.indexOf(e)>-1}function gM(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function $C(e,t){switch(e){case"focusin":case"focusout":Ou=null;break;case"dragenter":case"dragleave":Iu=null;break;case"mouseover":case"mouseout":Pu=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Ap.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Bp.delete(i);break}}}function Np(e,t,n,i,c,f){if(e===null||e.nativeEvent!==f){var g=gM(t,n,i,c,f);if(t!==null){var S=ju(t);S!==null&&Jb(S)}return g}e.eventSystemFlags|=i;var x=e.targetContainers;return c!==null&&x.indexOf(c)===-1&&x.push(c),e}function _M(e,t,n,i,c){switch(t){case"focusin":{var f=c;return Ou=Np(Ou,e,t,n,i,f),!0}case"dragenter":{var g=c;return Iu=Np(Iu,e,t,n,i,g),!0}case"mouseover":{var S=c;return Pu=Np(Pu,e,t,n,i,S),!0}case"pointerover":{var x=c,R=x.pointerId;return Ap.set(R,Np(Ap.get(R)||null,e,t,n,i,x)),!0}case"gotpointercapture":{var N=c,Q=N.pointerId;return Bp.set(Q,Np(Bp.get(Q)||null,e,t,n,i,N)),!0}}return!1}function GC(e){var t=Fc(e.target);if(t!==null){var n=Dc(t);if(n!==null){var i=n.tag;if(i===G){var c=gC(n);if(c!==null){e.blockedOn=c,YC(e.priority,function(){VC(n)});return}}else if(i===y){var f=n.stateNode;if(Jm(f)){e.blockedOn=_C(n);return}}}}e.blockedOn=null}function bM(e){for(var t=WC(),n={blockedOn:null,target:e,priority:t},i=0;i<Mu.length&&Xb(t,Mu[i].priority);i++);Mu.splice(i,0,n),i===0&&GC(n)}function Zm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=t1(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,f=new c.constructor(c.type,c);YI(f),c.target.dispatchEvent(f),$I()}else{var g=ju(i);return g!==null&&Jb(g),e.blockedOn=i,!1}t.shift()}return!0}function qC(e,t,n){Zm(e)&&n.delete(t)}function yM(){Qb=!1,Ou!==null&&Zm(Ou)&&(Ou=null),Iu!==null&&Zm(Iu)&&(Iu=null),Pu!==null&&Zm(Pu)&&(Pu=null),Ap.forEach(qC),Bp.forEach(qC)}function Op(e,t){e.blockedOn===t&&(e.blockedOn=null,Qb||(Qb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,yM)))}function Ip(e){if(Qm.length>0){Op(Qm[0],e);for(var t=1;t<Qm.length;t++){var n=Qm[t];n.blockedOn===e&&(n.blockedOn=null)}}Ou!==null&&Op(Ou,e),Iu!==null&&Op(Iu,e),Pu!==null&&Op(Pu,e);var i=function(S){return Op(S,e)};Ap.forEach(i),Bp.forEach(i);for(var c=0;c<Mu.length;c++){var f=Mu[c];f.blockedOn===e&&(f.blockedOn=null)}for(;Mu.length>0;){var g=Mu[0];if(g.blockedOn!==null)break;GC(g),g.blockedOn===null&&Mu.shift()}}var Kd=o.ReactCurrentBatchConfig,Zb=!0;function KC(e){Zb=!!e}function SM(){return Zb}function wM(e,t,n){var i=XC(t),c;switch(i){case Fo:c=CM;break;case Ws:c=xM;break;case Ys:default:c=e1;break}return c.bind(null,t,n,e)}function CM(e,t,n,i){var c=Fl(),f=Kd.transition;Kd.transition=null;try{yn(Fo),e1(e,t,n,i)}finally{yn(c),Kd.transition=f}}function xM(e,t,n,i){var c=Fl(),f=Kd.transition;Kd.transition=null;try{yn(Ws),e1(e,t,n,i)}finally{yn(c),Kd.transition=f}}function e1(e,t,n,i){Zb&&TM(e,t,n,i)}function TM(e,t,n,i){var c=t1(e,t,n,i);if(c===null){m1(e,t,i,ev,n),$C(e,i);return}if(_M(c,e,t,n,i)){i.stopPropagation();return}if($C(e,i),t&mp&&vM(e)){for(;c!==null;){var f=ju(c);f!==null&&cM(f);var g=t1(e,t,n,i);if(g===null&&m1(e,t,i,ev,n),g===c)break;c=g}c!==null&&i.stopPropagation();return}m1(e,t,i,null,n)}var ev=null;function t1(e,t,n,i){ev=null;var c=sb(i),f=Fc(c);if(f!==null){var g=Dc(f);if(g===null)f=null;else{var S=g.tag;if(S===G){var x=gC(g);if(x!==null)return x;f=null}else if(S===y){var R=g.stateNode;if(Jm(R))return _C(g);f=null}else g!==f&&(f=null)}}return ev=f,null}function XC(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 Fo;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 Ws;case"message":{var t=vP();switch(t){case Vm:return Fo;case wb:return Ws;case Lc:case gP:return Ys;case Cb:return Xm;default:return Ys}}default:return Ys}}function kM(e,t,n){return e.addEventListener(t,n,!1),n}function EM(e,t,n){return e.addEventListener(t,n,!0),n}function RM(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function DM(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Pp=null,r1=null,Mp=null;function LM(e){return Pp=e,r1=QC(),!0}function AM(){Pp=null,r1=null,Mp=null}function JC(){if(Mp)return Mp;var e,t=r1,n=t.length,i,c=QC(),f=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[f-i];i++);var S=i>1?1-i:void 0;return Mp=c.slice(e,S),Mp}function QC(){return"value"in Pp?Pp.value:Pp.textContent}function tv(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 rv(){return!0}function ZC(){return!1}function zo(e){function t(n,i,c,f,g){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var x=e[S];x?this[S]=x(f):this[S]=f[S]}var R=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return R?this.isDefaultPrevented=rv:this.isDefaultPrevented=ZC,this.isPropagationStopped=ZC,this}return Pt(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=rv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=rv)},persist:function(){},isPersistent:rv}),t}var Xd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},a1=zo(Xd),Fp=Pt({},Xd,{view:0,detail:0}),BM=zo(Fp),n1,o1,zp;function NM(e){e!==zp&&(zp&&e.type==="mousemove"?(n1=e.screenX-zp.screenX,o1=e.screenY-zp.screenY):(n1=0,o1=0),zp=e)}var av=Pt({},Fp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:l1,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:(NM(e),n1)},movementY:function(e){return"movementY"in e?e.movementY:o1}}),e3=zo(av),OM=Pt({},av,{dataTransfer:0}),IM=zo(OM),PM=Pt({},Fp,{relatedTarget:0}),i1=zo(PM),MM=Pt({},Xd,{animationName:0,elapsedTime:0,pseudoElement:0}),FM=zo(MM),zM=Pt({},Xd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jM=zo(zM),HM=Pt({},Xd,{data:0}),t3=zo(HM),UM=t3,VM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WM={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 YM(e){if(e.key){var t=VM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=tv(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?WM[e.keyCode]||"Unidentified":""}var $M={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function GM(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=$M[e];return i?!!n[i]:!1}function l1(e){return GM}var qM=Pt({},Fp,{key:YM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:l1,charCode:function(e){return e.type==="keypress"?tv(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tv(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),KM=zo(qM),XM=Pt({},av,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),r3=zo(XM),JM=Pt({},Fp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:l1}),QM=zo(JM),ZM=Pt({},Xd,{propertyName:0,elapsedTime:0,pseudoElement:0}),eF=zo(ZM),tF=Pt({},av,{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}),rF=zo(tF),aF=[9,13,27,32],a3=229,s1=Ct&&"CompositionEvent"in window,jp=null;Ct&&"documentMode"in document&&(jp=document.documentMode);var nF=Ct&&"TextEvent"in window&&!jp,n3=Ct&&(!s1||jp&&jp>8&&jp<=11),o3=32,i3=String.fromCharCode(o3);function oF(){nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),nt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),nt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var l3=!1;function iF(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function lF(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function sF(e,t){return e==="keydown"&&t.keyCode===a3}function s3(e,t){switch(e){case"keyup":return aF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==a3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u3(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function c3(e){return e.locale==="ko"}var Jd=!1;function uF(e,t,n,i,c){var f,g;if(s1?f=lF(t):Jd?s3(t,i)&&(f="onCompositionEnd"):sF(t,i)&&(f="onCompositionStart"),!f)return null;n3&&!c3(i)&&(!Jd&&f==="onCompositionStart"?Jd=LM(c):f==="onCompositionEnd"&&Jd&&(g=JC()));var S=sv(n,f);if(S.length>0){var x=new t3(f,t,null,i,c);if(e.push({event:x,listeners:S}),g)x.data=g;else{var R=u3(i);R!==null&&(x.data=R)}}}function cF(e,t){switch(e){case"compositionend":return u3(t);case"keypress":var n=t.which;return n!==o3?null:(l3=!0,i3);case"textInput":var i=t.data;return i===i3&&l3?null:i;default:return null}}function dF(e,t){if(Jd){if(e==="compositionend"||!s1&&s3(e,t)){var n=JC();return AM(),Jd=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!iF(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return n3&&!c3(t)?null:t.data;default:return null}}function fF(e,t,n,i,c){var f;if(nF?f=cF(t,i):f=dF(t,i),!f)return null;var g=sv(n,"onBeforeInput");if(g.length>0){var S=new UM("onBeforeInput","beforeinput",null,i,c);e.push({event:S,listeners:g}),S.data=f}}function pF(e,t,n,i,c,f,g){uF(e,t,n,i,c),fF(e,t,n,i,c)}var hF={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 d3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hF[e.type]:t==="textarea"}function mF(e){if(!Ct)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 vF(){nt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function f3(e,t,n,i){uC(i);var c=sv(t,"onChange");if(c.length>0){var f=new a1("onChange","change",null,n,i);e.push({event:f,listeners:c})}}var Hp=null,Up=null;function gF(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function _F(e){var t=[];f3(t,Up,e,sb(e)),pC(bF,t)}function bF(e){L3(e,0)}function nv(e){var t=af(e);if(Bd(t))return e}function yF(e,t){if(e==="change")return t}var p3=!1;Ct&&(p3=mF("input")&&(!document.documentMode||document.documentMode>9));function SF(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",m3)}function h3(){Hp&&(Hp.detachEvent("onpropertychange",m3),Hp=null,Up=null)}function m3(e){e.propertyName==="value"&&nv(Up)&&_F(e)}function wF(e,t,n){e==="focusin"?(h3(),SF(t,n)):e==="focusout"&&h3()}function CF(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return nv(Up)}function xF(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function TF(e,t){if(e==="click")return nv(t)}function kF(e,t){if(e==="input"||e==="change")return nv(t)}function EF(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Wr(e,"number",e.value)}function RF(e,t,n,i,c,f,g){var S=n?af(n):window,x,R;if(gF(S)?x=yF:d3(S)?p3?x=kF:(x=CF,R=wF):xF(S)&&(x=TF),x){var N=x(t,n);if(N){f3(e,N,i,c);return}}R&&R(t,S,n),t==="focusout"&&EF(S)}function DF(){Ae("onMouseEnter",["mouseout","mouseover"]),Ae("onMouseLeave",["mouseout","mouseover"]),Ae("onPointerEnter",["pointerout","pointerover"]),Ae("onPointerLeave",["pointerout","pointerover"])}function LF(e,t,n,i,c,f,g){var S=t==="mouseover"||t==="pointerover",x=t==="mouseout"||t==="pointerout";if(S&&!GI(i)){var R=i.relatedTarget||i.fromElement;if(R&&(Fc(R)||ah(R)))return}if(!(!x&&!S)){var N;if(c.window===c)N=c;else{var Q=c.ownerDocument;Q?N=Q.defaultView||Q.parentWindow:N=window}var J,ge;if(x){var _e=i.relatedTarget||i.toElement;if(J=n,ge=_e?Fc(_e):null,ge!==null){var Te=Dc(ge);(ge!==Te||ge.tag!==w&&ge.tag!==k)&&(ge=null)}}else J=null,ge=n;if(J!==ge){var lt=e3,Nt="onMouseLeave",Et="onMouseEnter",vr="mouse";(t==="pointerout"||t==="pointerover")&&(lt=r3,Nt="onPointerLeave",Et="onPointerEnter",vr="pointer");var gr=J==null?N:af(J),se=ge==null?N:af(ge),De=new lt(Nt,vr+"leave",J,i,c);De.target=gr,De.relatedTarget=se;var ue=null,Je=Fc(c);if(Je===n){var mt=new lt(Et,vr+"enter",ge,i,c);mt.target=se,mt.relatedTarget=gr,ue=mt}e9(e,De,ue,J,ge)}}}function AF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:AF;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 f=n[c];if(!zt.call(t,f)||!jo(e[f],t[f]))return!1}return!0}function v3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function BF(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function g3(e,t){for(var n=v3(e),i=0,c=0;n;){if(n.nodeType===Ms){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=v3(BF(n))}}function NF(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,f=i.anchorOffset,g=i.focusNode,S=i.focusOffset;try{c.nodeType,g.nodeType}catch(x){return null}return OF(e,c,f,g,S)}function OF(e,t,n,i,c){var f=0,g=-1,S=-1,x=0,R=0,N=e,Q=null;e:for(;;){for(var J=null;N===t&&(n===0||N.nodeType===Ms)&&(g=f+n),N===i&&(c===0||N.nodeType===Ms)&&(S=f+c),N.nodeType===Ms&&(f+=N.nodeValue.length),(J=N.firstChild)!==null;)Q=N,N=J;for(;;){if(N===e)break e;if(Q===t&&++x===n&&(g=f),Q===i&&++R===c&&(S=f),(J=N.nextSibling)!==null)break;N=Q,Q=N.parentNode}N=J}return g===-1||S===-1?null:{start:g,end:S}}function IF(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),S=t.end===void 0?g:Math.min(t.end,f);if(!c.extend&&g>S){var x=S;S=g,g=x}var R=g3(e,g),N=g3(e,S);if(R&&N){if(c.rangeCount===1&&c.anchorNode===R.node&&c.anchorOffset===R.offset&&c.focusNode===N.node&&c.focusOffset===N.offset)return;var Q=n.createRange();Q.setStart(R.node,R.offset),c.removeAllRanges(),g>S?(c.addRange(Q),c.extend(N.node,N.offset)):(Q.setEnd(N.node,N.offset),c.addRange(Q))}}}function _3(e){return e&&e.nodeType===Ms}function b3(e,t){return!e||!t?!1:e===t?!0:_3(e)?!1:_3(t)?b3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function PF(e){return e&&e.ownerDocument&&b3(e.ownerDocument.documentElement,e)}function MF(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function y3(){for(var e=window,t=Nd();t instanceof e.HTMLIFrameElement;){if(MF(t))e=t.contentWindow;else return t;t=Nd(e.document)}return t}function u1(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 FF(){var e=y3();return{focusedElem:e,selectionRange:u1(e)?jF(e):null}}function zF(e){var t=y3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&PF(n)){i!==null&&u1(n)&&HF(n,i);for(var c=[],f=n;f=f.parentNode;)f.nodeType===wo&&c.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<c.length;g++){var S=c[g];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function jF(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=NF(e),t||{start:0,end:0}}function HF(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)):IF(e,t)}var UF=Ct&&"documentMode"in document&&document.documentMode<=11;function VF(){nt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qd=null,c1=null,Wp=null,d1=!1;function WF(e){if("selectionStart"in e&&u1(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 YF(e){return e.window===e?e.document:e.nodeType===Fs?e:e.ownerDocument}function S3(e,t,n){var i=YF(n);if(!(d1||Qd==null||Qd!==Nd(i))){var c=WF(Qd);if(!Wp||!Vp(Wp,c)){Wp=c;var f=sv(c1,"onSelect");if(f.length>0){var g=new a1("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=Qd}}}}function $F(e,t,n,i,c,f,g){var S=n?af(n):window;switch(t){case"focusin":(d3(S)||S.contentEditable==="true")&&(Qd=S,c1=n,Wp=null);break;case"focusout":Qd=null,c1=null,Wp=null;break;case"mousedown":d1=!0;break;case"contextmenu":case"mouseup":case"dragend":d1=!1,S3(e,i,c);break;case"selectionchange":if(UF)break;case"keydown":case"keyup":S3(e,i,c)}}function ov(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zd={animationend:ov("Animation","AnimationEnd"),animationiteration:ov("Animation","AnimationIteration"),animationstart:ov("Animation","AnimationStart"),transitionend:ov("Transition","TransitionEnd")},f1={},w3={};Ct&&(w3=document.createElement("div").style,"AnimationEvent"in window||(delete Zd.animationend.animation,delete Zd.animationiteration.animation,delete Zd.animationstart.animation),"TransitionEvent"in window||delete Zd.transitionend.transition);function iv(e){if(f1[e])return f1[e];if(!Zd[e])return e;var t=Zd[e];for(var n in t)if(t.hasOwnProperty(n)&&n in w3)return f1[e]=t[n];return e}var C3=iv("animationend"),x3=iv("animationiteration"),T3=iv("animationstart"),k3=iv("transitionend"),E3=new Map,R3=["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 Fu(e,t){E3.set(e,t),nt(t,[e])}function GF(){for(var e=0;e<R3.length;e++){var t=R3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Fu(n,"on"+i)}Fu(C3,"onAnimationEnd"),Fu(x3,"onAnimationIteration"),Fu(T3,"onAnimationStart"),Fu("dblclick","onDoubleClick"),Fu("focusin","onFocus"),Fu("focusout","onBlur"),Fu(k3,"onTransitionEnd")}function qF(e,t,n,i,c,f,g){var S=E3.get(t);if(S!==void 0){var x=a1,R=t;switch(t){case"keypress":if(tv(i)===0)return;case"keydown":case"keyup":x=KM;break;case"focusin":R="focus",x=i1;break;case"focusout":R="blur",x=i1;break;case"beforeblur":case"afterblur":x=i1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=e3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=IM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=QM;break;case C3:case x3:case T3:x=FM;break;case k3:x=eF;break;case"scroll":x=BM;break;case"wheel":x=rF;break;case"copy":case"cut":case"paste":x=jM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=r3;break}var N=(f&mp)!==0;{var Q=!N&&t==="scroll",J=QF(n,S,i.type,N,Q);if(J.length>0){var ge=new x(S,R,null,i,c);e.push({event:ge,listeners:J})}}}}GF(),DF(),vF(),VF(),oF();function KF(e,t,n,i,c,f,g){qF(e,t,n,i,c,f);var S=(f&WI)===0;S&&(LF(e,t,n,i,c),RF(e,t,n,i,c),$F(e,t,n,i,c),pF(e,t,n,i,c))}var Yp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],p1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Yp));function D3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,rP(i,t,void 0,e),e.currentTarget=null}function XF(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var f=t[c],g=f.instance,S=f.currentTarget,x=f.listener;if(g!==i&&e.isPropagationStopped())return;D3(e,x,S),i=g}else for(var R=0;R<t.length;R++){var N=t[R],Q=N.instance,J=N.currentTarget,ge=N.listener;if(Q!==i&&e.isPropagationStopped())return;D3(e,ge,J),i=Q}}function L3(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],f=c.event,g=c.listeners;XF(f,g,n)}aP()}function JF(e,t,n,i,c){var f=sb(n),g=[];KF(g,e,i,n,f,t),L3(g,t)}function ya(e,t){p1.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=Ez(t),c=t9(e,n);i.has(c)||(A3(t,e,lb,n),i.add(c))}function h1(e,t,n){p1.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),A3(n,e,i,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function $p(e){if(!e[lv]){e[lv]=!0,bt.forEach(function(n){n!=="selectionchange"&&(p1.has(n)||h1(n,!1,e),h1(n,!0,e))});var t=e.nodeType===Fs?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,h1("selectionchange",!1,t)))}}function A3(e,t,n,i,c){var f=wM(e,t,n),g=void 0;db&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var S;i?g!==void 0?S=RM(e,t,f,g):S=EM(e,t,f):g!==void 0?S=DM(e,t,f,g):S=kM(e,t,f)}function B3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function m1(e,t,n,i,c){var f=i;if(!(t&lC)&&!(t&lb)){var g=c;if(i!==null){var S=i;e:for(;;){if(S===null)return;var x=S.tag;if(x===y||x===C){var R=S.stateNode.containerInfo;if(B3(R,g))break;if(x===C)for(var N=S.return;N!==null;){var Q=N.tag;if(Q===y||Q===C){var J=N.stateNode.containerInfo;if(B3(J,g))return}N=N.return}for(;R!==null;){var ge=Fc(R);if(ge===null)return;var _e=ge.tag;if(_e===w||_e===k){S=f=ge;continue e}R=R.parentNode}}S=S.return}}}pC(function(){return JF(e,t,n,f)})}function Gp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function QF(e,t,n,i,c,f){for(var g=t!==null?t+"Capture":null,S=i?g:t,x=[],R=e,N=null;R!==null;){var Q=R,J=Q.stateNode,ge=Q.tag;if(ge===w&&J!==null&&(N=J,S!==null)){var _e=gp(R,S);_e!=null&&x.push(Gp(R,_e,N))}if(c)break;R=R.return}return x}function sv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var f=c,g=f.stateNode,S=f.tag;if(S===w&&g!==null){var x=g,R=gp(c,n);R!=null&&i.unshift(Gp(c,R,x));var N=gp(c,t);N!=null&&i.push(Gp(c,N,x))}c=c.return}return i}function ef(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function ZF(e,t){for(var n=e,i=t,c=0,f=n;f;f=ef(f))c++;for(var g=0,S=i;S;S=ef(S))g++;for(;c-g>0;)n=ef(n),c--;for(;g-c>0;)i=ef(i),g--;for(var x=c;x--;){if(n===i||i!==null&&n===i.alternate)return n;n=ef(n),i=ef(i)}return null}function N3(e,t,n,i,c){for(var f=t._reactName,g=[],S=n;S!==null&&S!==i;){var x=S,R=x.alternate,N=x.stateNode,Q=x.tag;if(R!==null&&R===i)break;if(Q===w&&N!==null){var J=N;if(c){var ge=gp(S,f);ge!=null&&g.unshift(Gp(S,ge,J))}else if(!c){var _e=gp(S,f);_e!=null&&g.push(Gp(S,_e,J))}}S=S.return}g.length!==0&&e.push({event:t,listeners:g})}function e9(e,t,n,i,c){var f=i&&c?ZF(i,c):null;i!==null&&N3(e,t,i,f,!1),c!==null&&n!==null&&N3(e,n,c,f,!0)}function t9(e,t){return e+"__"+(t?"capture":"bubble")}var Co=!1,qp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",zu="suppressHydrationWarning",O3="autoFocus",Pc="children",Mc="style",cv="__html",v1,dv,Kp,I3,fv,P3,M3;v1={dialog:!0,webview:!0},dv=function(e,t){MI(e,t),FI(e,t),VI(e,t,{registrationNameDependencies:yt,possibleRegistrationNames:It})},P3=Ct&&!document.documentMode,Kp=function(e,t,n){if(!Co){var i=pv(n),c=pv(t);c!==i&&(Co=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},I3=function(e){if(!Co){Co=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},fv=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)},M3=function(e,t){var n=e.namespaceURI===Ps?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var r9=/\r\n?/g,a9=/\u0000|\uFFFD/g;function pv(e){la(e);var t=typeof e=="string"?e:""+e;return t.replace(r9,`
32
- `).replace(a9,"")}function hv(e,t,n,i){var c=pv(t),f=pv(e);if(f!==c&&(i&&(Co||(Co=!0,u('Text content did not match. Server: "%s" Client: "%s"',f,c))),n&&ne))throw new Error("Text content does not match server-rendered HTML.")}function F3(e){return e.nodeType===Fs?e:e.ownerDocument}function n9(){}function mv(e){e.onclick=n9}function o9(e,t,n,i,c){for(var f in i)if(i.hasOwnProperty(f)){var g=i[f];if(f===Mc)g&&Object.freeze(g),tC(t,g);else if(f===qp){var S=g?g[cv]:void 0;S!=null&&Xw(t,S)}else if(f===Pc)if(typeof g=="string"){var x=e!=="textarea"||g!=="";x&&Mm(t,g)}else typeof g=="number"&&Mm(t,""+g);else f===uv||f===zu||f===O3||(yt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&fv(f,g),f==="onScroll"&&ya("scroll",t)):g!=null&&j(t,f,g,c))}}function i9(e,t,n,i){for(var c=0;c<t.length;c+=2){var f=t[c],g=t[c+1];f===Mc?tC(e,g):f===qp?Xw(e,g):f===Pc?Mm(e,g):j(e,f,g,i)}}function l9(e,t,n,i){var c,f=F3(n),g,S=i;if(S===Ps&&(S=tb(e)),S===Ps){if(c=xc(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 x=f.createElement("div");x.innerHTML="<script></script>";var R=x.firstChild;g=x.removeChild(R)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var N=g;t.multiple?N.multiple=!0:t.size&&(N.size=t.size)}}else g=f.createElementNS(S,e);return S===Ps&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!zt.call(v1,e)&&(v1[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 s9(e,t){return F3(t).createTextNode(e)}function u9(e,t,n,i){var c=xc(t,n);dv(t,n);var f;switch(t){case"dialog":ya("cancel",e),ya("close",e),f=n;break;case"iframe":case"object":case"embed":ya("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Yp.length;g++)ya(Yp[g],e);f=n;break;case"source":ya("error",e),f=n;break;case"img":case"image":case"link":ya("error",e),ya("load",e),f=n;break;case"details":ya("toggle",e),f=n;break;case"input":Re(e,n),f=ve(e,n),ya("invalid",e);break;case"option":La(e,n),f=n;break;case"select":Yw(e,n),f=pp(e,n),ya("invalid",e);break;case"textarea":Gw(e,n),f=Z_(e,n),ya("invalid",e);break;default:f=n}switch(ib(t,f),o9(t,e,i,f,c),t){case"input":Bu(e),kt(e,n,!1);break;case"textarea":Bu(e),Kw(e);break;case"option":en(e,n);break;case"select":oI(e,n);break;default:typeof f.onClick=="function"&&mv(e);break}}function c9(e,t,n,i,c){dv(t,i);var f=null,g,S;switch(t){case"input":g=ve(e,n),S=ve(e,i),f=[];break;case"select":g=pp(e,n),S=pp(e,i),f=[];break;case"textarea":g=Z_(e,n),S=Z_(e,i),f=[];break;default:g=n,S=i,typeof g.onClick!="function"&&typeof S.onClick=="function"&&mv(e);break}ib(t,S);var x,R,N=null;for(x in g)if(!(S.hasOwnProperty(x)||!g.hasOwnProperty(x)||g[x]==null))if(x===Mc){var Q=g[x];for(R in Q)Q.hasOwnProperty(R)&&(N||(N={}),N[R]="")}else x===qp||x===Pc||x===uv||x===zu||x===O3||(yt.hasOwnProperty(x)?f||(f=[]):(f=f||[]).push(x,null));for(x in S){var J=S[x],ge=g!=null?g[x]:void 0;if(!(!S.hasOwnProperty(x)||J===ge||J==null&&ge==null))if(x===Mc)if(J&&Object.freeze(J),ge){for(R in ge)ge.hasOwnProperty(R)&&(!J||!J.hasOwnProperty(R))&&(N||(N={}),N[R]="");for(R in J)J.hasOwnProperty(R)&&ge[R]!==J[R]&&(N||(N={}),N[R]=J[R])}else N||(f||(f=[]),f.push(x,N)),N=J;else if(x===qp){var _e=J?J[cv]:void 0,Te=ge?ge[cv]:void 0;_e!=null&&Te!==_e&&(f=f||[]).push(x,_e)}else x===Pc?(typeof J=="string"||typeof J=="number")&&(f=f||[]).push(x,""+J):x===uv||x===zu||(yt.hasOwnProperty(x)?(J!=null&&(typeof J!="function"&&fv(x,J),x==="onScroll"&&ya("scroll",e)),!f&&ge!==J&&(f=[])):(f=f||[]).push(x,J))}return N&&(DI(N,S[Mc]),(f=f||[]).push(Mc,N)),f}function d9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&et(e,c);var f=xc(n,i),g=xc(n,c);switch(i9(e,t,f,g),n){case"input":jt(e,c);break;case"textarea":qw(e,c);break;case"select":iI(e,c);break}}function f9(e){{var t=e.toLowerCase();return Fm.hasOwnProperty(t)&&Fm[t]||null}}function p9(e,t,n,i,c,f,g){var S,x;switch(S=xc(t,n),dv(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 R=0;R<Yp.length;R++)ya(Yp[R],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":Re(e,n),ya("invalid",e);break;case"option":La(e,n);break;case"select":Yw(e,n),ya("invalid",e);break;case"textarea":Gw(e,n),ya("invalid",e);break}ib(t,n);{x=new Set;for(var N=e.attributes,Q=0;Q<N.length;Q++){var J=N[Q].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:x.add(N[Q].name)}}}var ge=null;for(var _e in n)if(n.hasOwnProperty(_e)){var Te=n[_e];if(_e===Pc)typeof Te=="string"?e.textContent!==Te&&(n[zu]!==!0&&hv(e.textContent,Te,f,g),ge=[Pc,Te]):typeof Te=="number"&&e.textContent!==""+Te&&(n[zu]!==!0&&hv(e.textContent,Te,f,g),ge=[Pc,""+Te]);else if(yt.hasOwnProperty(_e))Te!=null&&(typeof Te!="function"&&fv(_e,Te),_e==="onScroll"&&ya("scroll",e));else if(g&&typeof S=="boolean"){var lt=void 0,Nt=S&&He?null:Z(_e);if(n[zu]!==!0){if(!(_e===uv||_e===zu||_e==="value"||_e==="checked"||_e==="selected")){if(_e===qp){var Et=e.innerHTML,vr=Te?Te[cv]:void 0;if(vr!=null){var gr=M3(e,vr);gr!==Et&&Kp(_e,Et,gr)}}else if(_e===Mc){if(x.delete(_e),P3){var se=EI(Te);lt=e.getAttribute("style"),se!==lt&&Kp(_e,lt,se)}}else if(S&&!He)x.delete(_e.toLowerCase()),lt=tt(e,_e,Te),Te!==lt&&Kp(_e,lt,Te);else if(!_r(_e,Nt,S)&&!O(_e,Te,Nt,S)){var De=!1;if(Nt!==null)x.delete(Nt.attributeName),lt=Be(e,_e,Te,Nt);else{var ue=i;if(ue===Ps&&(ue=tb(t)),ue===Ps)x.delete(_e.toLowerCase());else{var Je=f9(_e);Je!==null&&Je!==_e&&(De=!0,x.delete(Je)),x.delete(_e)}lt=tt(e,_e,Te)}var mt=He;!mt&&Te!==lt&&!De&&Kp(_e,lt,Te)}}}}}switch(g&&x.size>0&&n[zu]!==!0&&I3(x),t){case"input":Bu(e),kt(e,n,!0);break;case"textarea":Bu(e),Kw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&mv(e);break}return ge}function h9(e,t,n){var i=e.nodeValue!==t;return i}function g1(e,t){{if(Co)return;Co=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function _1(e,t){{if(Co)return;Co=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function b1(e,t,n){{if(Co)return;Co=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function y1(e,t){{if(t===""||Co)return;Co=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function m9(e,t,n){switch(t){case"input":rr(e,n);return;case"textarea":sI(e,n);return;case"select":lI(e,n);return}}var Xp=function(){},Jp=function(){};{var v9=["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"],z3=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],g9=z3.concat(["button"]),_9=["dd","dt","li","option","optgroup","p","rp","rt"],j3={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Jp=function(e,t){var n=Pt({},e||j3),i={tag:t};return z3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),g9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),v9.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 b9=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 _9.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},y9=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},H3={};Xp=function(e,t,n){n=n||j3;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 f=b9(e,c)?null:i,g=f?null:y9(e,n),S=f||g;if(S){var x=S.tag,R=!!f+"|"+e+"|"+x;if(!H3[R]){H3[R]=!0;var N=e,Q="";if(e==="#text"?/\S/.test(t)?N="Text nodes":(N="Whitespace text nodes",Q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):N="<"+e+">",f){var J="";x==="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",N,x,Q,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",N,x)}}}}var vv="suppressHydrationWarning",gv="$",_v="/$",Qp="$?",Zp="$!",S9="style",S1=null,w1=null;function w9(e){var t,n,i=e.nodeType;switch(i){case Fs:case ab:{t=i===Fs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:rb(null,"");break}default:{var f=i===Ka?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=rb(g,t);break}}{var S=t.toLowerCase(),x=Jp(null,S);return{namespace:n,ancestorInfo:x}}}function C9(e,t,n){{var i=e,c=rb(i.namespace,t),f=Jp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:f}}}function GG(e){return e}function x9(e){S1=SM(),w1=FF();var t=null;return KC(!1),t}function T9(e){zF(w1),KC(S1),S1=null,w1=null}function k9(e,t,n,i,c){var f;{var g=i;if(Xp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,x=Jp(g.ancestorInfo,e);Xp(null,S,x)}f=g.namespace}var R=l9(e,t,n,f);return rh(c,R),L1(R,t),R}function E9(e,t){e.appendChild(t)}function R9(e,t,n,i,c){switch(u9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function D9(e,t,n,i,c,f){{var g=f;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var S=""+i.children,x=Jp(g.ancestorInfo,t);Xp(null,S,x)}}return c9(e,t,n,i)}function C1(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 L9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var f=s9(e,t);return rh(i,f),f}function A9(){var e=window.event;return e===void 0?Ys:XC(e.type)}var x1=typeof setTimeout=="function"?setTimeout:void 0,B9=typeof clearTimeout=="function"?clearTimeout:void 0,T1=-1,U3=typeof Promise=="function"?Promise:void 0,N9=typeof queueMicrotask=="function"?queueMicrotask:typeof U3!="undefined"?function(e){return U3.resolve(null).then(e).catch(O9)}:x1;function O9(e){setTimeout(function(){throw e})}function I9(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 P9(e,t,n,i,c,f){d9(e,t,n,i,c),L1(e,c)}function V3(e){Mm(e,"")}function M9(e,t,n){e.nodeValue=n}function F9(e,t){e.appendChild(t)}function z9(e,t){var n;e.nodeType===Ka?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&mv(n)}function j9(e,t,n){e.insertBefore(t,n)}function H9(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function U9(e,t){e.removeChild(t)}function V9(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function k1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ka){var f=c.data;if(f===_v)if(i===0){e.removeChild(c),Ip(t);return}else i--;else(f===gv||f===Qp||f===Zp)&&i++}n=c}while(n);Ip(t)}function W9(e,t){e.nodeType===Ka?k1(e.parentNode,t):e.nodeType===wo&&k1(e,t),Ip(e)}function Y9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function $9(e){e.nodeValue=""}function G9(e,t){e=e;var n=t[S9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=nb("display",i)}function q9(e,t){e.nodeValue=t}function K9(e){e.nodeType===wo?e.textContent="":e.nodeType===Fs&&e.documentElement&&e.removeChild(e.documentElement)}function X9(e,t,n){return e.nodeType!==wo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function J9(e,t){return t===""||e.nodeType!==Ms?null:e}function Q9(e){return e.nodeType!==Ka?null:e}function W3(e){return e.data===Qp}function E1(e){return e.data===Zp}function Z9(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 ez(e,t){e._reactRetry=t}function bv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===wo||t===Ms)break;if(t===Ka){var n=e.data;if(n===gv||n===Zp||n===Qp)break;if(n===_v)return null}}return e}function eh(e){return bv(e.nextSibling)}function tz(e){return bv(e.firstChild)}function rz(e){return bv(e.firstChild)}function az(e){return bv(e.nextSibling)}function nz(e,t,n,i,c,f,g){rh(f,e),L1(e,n);var S;{var x=c;S=x.namespace}var R=(f.mode&br)!==Mt;return p9(e,t,n,S,i,R,g)}function oz(e,t,n,i){rh(n,e);var c=(n.mode&br)!==Mt;return h9(e,t)}function iz(e,t){rh(t,e)}function lz(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===_v){if(n===0)return eh(t);n--}else(i===gv||i===Zp||i===Qp)&&n++}t=t.nextSibling}return null}function Y3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===gv||i===Zp||i===Qp){if(n===0)return t;n--}else i===_v&&n++}t=t.previousSibling}return null}function sz(e){Ip(e)}function uz(e){Ip(e)}function cz(e){return e!=="head"&&e!=="body"}function dz(e,t,n,i){var c=!0;hv(t.nodeValue,n,i,c)}function fz(e,t,n,i,c,f){if(t[vv]!==!0){var g=!0;hv(i.nodeValue,c,f,g)}}function pz(e,t){t.nodeType===wo?g1(e,t):t.nodeType===Ka||_1(e,t)}function hz(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===wo?g1(n,t):t.nodeType===Ka||_1(n,t))}}function mz(e,t,n,i,c){(c||t[vv]!==!0)&&(i.nodeType===wo?g1(n,i):i.nodeType===Ka||_1(n,i))}function vz(e,t,n){b1(e,t)}function gz(e,t){y1(e,t)}function _z(e,t,n){{var i=e.parentNode;i!==null&&b1(i,t)}}function bz(e,t){{var n=e.parentNode;n!==null&&y1(n,t)}}function yz(e,t,n,i,c,f){(f||t[vv]!==!0)&&b1(n,i)}function Sz(e,t,n,i,c){(c||t[vv]!==!0)&&y1(n,i)}function wz(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Cz(e){$p(e)}var tf=Math.random().toString(36).slice(2),rf="__reactFiber$"+tf,R1="__reactProps$"+tf,th="__reactContainer$"+tf,D1="__reactEvents$"+tf,xz="__reactListeners$"+tf,Tz="__reactHandles$"+tf;function kz(e){delete e[rf],delete e[R1],delete e[D1],delete e[xz],delete e[Tz]}function rh(e,t){t[rf]=e}function yv(e,t){t[th]=e}function $3(e){e[th]=null}function ah(e){return!!e[th]}function Fc(e){var t=e[rf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[rf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=Y3(e);c!==null;){var f=c[rf];if(f)return f;c=Y3(c)}return t}e=n,n=e.parentNode}return null}function ju(e){var t=e[rf]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===G||t.tag===y)?t:null}function af(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Sv(e){return e[R1]||null}function L1(e,t){e[R1]=t}function Ez(e){var t=e[D1];return t===void 0&&(t=e[D1]=new Set),t}var G3={},q3=o.ReactDebugCurrentFrame;function wv(e){if(e){var t=e._owner,n=Ed(e.type,e._source,t?t.type:null);q3.setExtraStackFrame(n)}else q3.setExtraStackFrame(null)}function zl(e,t,n,i,c){{var f=Function.call.bind(zt);for(var g in e)if(f(e,g)){var S=void 0;try{if(typeof e[g]!="function"){var x=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 x.name="Invariant Violation",x}S=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){S=R}S&&!(S instanceof Error)&&(wv(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 S),wv(null)),S instanceof Error&&!(S.message in G3)&&(G3[S.message]=!0,wv(c),u("Failed %s type: %s",n,S.message),wv(null))}}}var A1=[],Cv;Cv=[];var $s=-1;function Hu(e){return{current:e}}function zn(e,t){if($s<0){u("Unexpected pop.");return}t!==Cv[$s]&&u("Unexpected Fiber popped."),e.current=A1[$s],A1[$s]=null,Cv[$s]=null,$s--}function jn(e,t,n){$s++,A1[$s]=e.current,Cv[$s]=n,e.current=t}var B1;B1={};var Ho={};Object.freeze(Ho);var Gs=Hu(Ho),ms=Hu(!1),N1=Ho;function nf(e,t,n){return n&&vs(t)?N1:Gs.current}function K3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function of(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 f={};for(var g in i)f[g]=t[g];{var S=or(e)||"Unknown";zl(i,f,"context",S)}return c&&K3(e,t,f),f}}function xv(){return ms.current}function vs(e){{var t=e.childContextTypes;return t!=null}}function Tv(e){zn(ms,e),zn(Gs,e)}function O1(e){zn(ms,e),zn(Gs,e)}function X3(e,t,n){{if(Gs.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");jn(Gs,t,e),jn(ms,n,e)}}function J3(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var f=or(e)||"Unknown";B1[f]||(B1[f]=!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.",f,f))}return n}var g=i.getChildContext();for(var S in g)if(!(S in c))throw new Error((or(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var x=or(e)||"Unknown";zl(c,g,"child context",x)}return Pt({},n,g)}}function kv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return N1=Gs.current,jn(Gs,n,e),jn(ms,ms.current,e),!0}}function Q3(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=J3(e,t,N1);i.__reactInternalMemoizedMergedChildContext=c,zn(ms,e),zn(Gs,e),jn(Gs,c,e),jn(ms,n,e)}else zn(ms,e),jn(ms,n,e)}}function Rz(e){{if(!cP(e)||e.tag!==v)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case y:return t.stateNode.context;case v:{var n=t.type;if(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 Uu=0,Ev=1,qs=null,I1=!1,P1=!1;function Z3(e){qs===null?qs=[e]:qs.push(e)}function Dz(e){I1=!0,Z3(e)}function ex(){I1&&Vu()}function Vu(){if(!P1&&qs!==null){P1=!0;var e=0,t=Fl();try{var n=!0,i=qs;for(yn(Fo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}qs=null,I1=!1}catch(f){throw qs!==null&&(qs=qs.slice(e+1)),xC(Vm,Vu),f}finally{yn(t),P1=!1}}return null}var lf=[],sf=0,Rv=null,Dv=0,gl=[],_l=0,zc=null,Ks=1,Xs="";function Lz(e){return Hc(),(e.flags&vC)!==Ut}function Az(e){return Hc(),Dv}function Bz(){var e=Xs,t=Ks,n=t&~Nz(t);return n.toString(32)+e}function jc(e,t){Hc(),lf[sf++]=Dv,lf[sf++]=Rv,Rv=e,Dv=t}function tx(e,t,n){Hc(),gl[_l++]=Ks,gl[_l++]=Xs,gl[_l++]=zc,zc=e;var i=Ks,c=Xs,f=Lv(i)-1,g=i&~(1<<f),S=n+1,x=Lv(t)+f;if(x>30){var R=f-f%5,N=(1<<R)-1,Q=(g&N).toString(32),J=g>>R,ge=f-R,_e=Lv(t)+ge,Te=S<<ge,lt=Te|J,Nt=Q+c;Ks=1<<_e|lt,Xs=Nt}else{var Et=S<<f,vr=Et|g,gr=c;Ks=1<<x|vr,Xs=gr}}function M1(e){Hc();var t=e.return;if(t!==null){var n=1,i=0;jc(e,n),tx(e,n,i)}}function Lv(e){return 32-LC(e)}function Nz(e){return 1<<Lv(e)-1}function F1(e){for(;e===Rv;)Rv=lf[--sf],lf[sf]=null,Dv=lf[--sf],lf[sf]=null;for(;e===zc;)zc=gl[--_l],gl[_l]=null,Xs=gl[--_l],gl[_l]=null,Ks=gl[--_l],gl[_l]=null}function Oz(){return Hc(),zc!==null?{id:Ks,overflow:Xs}:null}function Iz(e,t){Hc(),gl[_l++]=Ks,gl[_l++]=Xs,gl[_l++]=zc,Ks=t.id,Xs=t.overflow,zc=e}function Hc(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,bl=null,jl=!1,Uc=!1,Wu=null;function Pz(){jl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rx(){Uc=!0}function Mz(){return Uc}function Fz(e){var t=e.stateNode.containerInfo;return bl=rz(t),xn=e,jl=!0,Wu=null,Uc=!1,!0}function zz(e,t,n){return bl=az(t),xn=e,jl=!0,Wu=null,Uc=!1,n!==null&&Iz(e,n),!0}function ax(e,t){switch(e.tag){case y:{pz(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&br)!==Mt;mz(e.type,e.memoizedProps,e.stateNode,t,n);break}case G:{var i=e.memoizedState;i.dehydrated!==null&&hz(i.dehydrated,t);break}}}function nx(e,t){ax(e,t);var n=qU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Tc):i.push(n)}function z1(e,t){{if(Uc)return;switch(e.tag){case y:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;vz(n,i);break;case k:var f=t.pendingProps;gz(n,f);break}break}case w:{var g=e.type,S=e.memoizedProps,x=e.stateNode;switch(t.tag){case w:{var R=t.type,N=t.pendingProps,Q=(e.mode&br)!==Mt;yz(g,S,x,R,N,Q);break}case k:{var J=t.pendingProps,ge=(e.mode&br)!==Mt;Sz(g,S,x,J,ge);break}}break}case G:{var _e=e.memoizedState,Te=_e.dehydrated;if(Te!==null)switch(t.tag){case w:var lt=t.type,Nt=t.pendingProps;_z(Te,lt);break;case k:var Et=t.pendingProps;bz(Te,Et);break}break}default:return}}}function ox(e,t){t.flags=t.flags&~js|Xa,z1(e,t)}function ix(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=X9(t,n);return c!==null?(e.stateNode=c,xn=e,bl=tz(c),!0):!1}case k:{var f=e.pendingProps,g=J9(t,f);return g!==null?(e.stateNode=g,xn=e,bl=null,!0):!1}case G:{var S=Q9(t);if(S!==null){var x={dehydrated:S,treeContext:Oz(),retryLane:Po};e.memoizedState=x;var R=KU(S);return R.return=e,e.child=R,xn=e,bl=null,!0}return!1}default:return!1}}function j1(e){return(e.mode&br)!==Mt&&(e.flags&Pr)===Ut}function H1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function U1(e){if(jl){var t=bl;if(!t){j1(e)&&(z1(xn,e),H1()),ox(xn,e),jl=!1,xn=e;return}var n=t;if(!ix(e,t)){j1(e)&&(z1(xn,e),H1()),t=eh(n);var i=xn;if(!t||!ix(e,t)){ox(xn,e),jl=!1,xn=e;return}nx(i,n)}}}function jz(e,t,n){var i=e.stateNode,c=!Uc,f=nz(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=f,f!==null}function Hz(e){var t=e.stateNode,n=e.memoizedProps,i=oz(t,n,e);if(i){var c=xn;if(c!==null)switch(c.tag){case y:{var f=c.stateNode.containerInfo,g=(c.mode&br)!==Mt;dz(f,t,n,g);break}case w:{var S=c.type,x=c.memoizedProps,R=c.stateNode,N=(c.mode&br)!==Mt;fz(S,x,R,t,n,N);break}}}return i}function Uz(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.");iz(n,e)}function Vz(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 lz(n)}function lx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==y&&t.tag!==G;)t=t.return;xn=t}function Av(e){if(e!==xn)return!1;if(!jl)return lx(e),jl=!0,!1;if(e.tag!==y&&(e.tag!==w||cz(e.type)&&!C1(e.type,e.memoizedProps))){var t=bl;if(t)if(j1(e))sx(e),H1();else for(;t;)nx(e,t),t=eh(t)}return lx(e),e.tag===G?bl=Vz(e):bl=xn?eh(e.stateNode):null,!0}function Wz(){return jl&&bl!==null}function sx(e){for(var t=bl;t;)ax(e,t),t=eh(t)}function uf(){xn=null,bl=null,jl=!1,Uc=!1}function ux(){Wu!==null&&(aT(Wu),Wu=null)}function Tn(){return jl}function V1(e){Wu===null?Wu=[e]:Wu.push(e)}var Yz=o.ReactCurrentBatchConfig,$z=null;function Gz(){return Yz.transition}var Hl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var qz=function(e){for(var t=null,n=e;n!==null;)n.mode&Oa&&(t=n),n=n.return;return t},Vc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],uh=[],Wc=new Set;Hl.recordUnsafeLifecycleWarnings=function(e,t){Wc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillUpdate=="function"&&uh.push(e))},Hl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(J){e.add(or(J)||"Component"),Wc.add(J.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(J){t.add(or(J)||"Component"),Wc.add(J.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(J){n.add(or(J)||"Component"),Wc.add(J.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(J){i.add(or(J)||"Component"),Wc.add(J.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(J){c.add(or(J)||"Component"),Wc.add(J.type)}),sh=[]);var f=new Set;if(uh.length>0&&(uh.forEach(function(J){f.add(or(J)||"Component"),Wc.add(J.type)}),uh=[]),t.size>0){var g=Vc(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 fp=["value","defaultValue"];function Q_(e){{up("select",e);for(var t=0;t<fp.length;t++){var n=fp[t];if(e[n]!=null){var i=tn(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Im()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Im())}}}}function Is(e,t,n,i){var c=e.options;if(t){for(var f=n,g={},S=0;S<f.length;S++)g["$"+f[S]]=!0;for(var x=0;x<c.length;x++){var R=g.hasOwnProperty("$"+c[x].value);c[x].selected!==R&&(c[x].selected=R),R&&i&&(c[x].defaultSelected=!0)}}else{for(var N=So(Il(n)),Q=null,J=0;J<c.length;J++){if(c[J].value===N){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Q===null&&!c[J].disabled&&(Q=c[J])}Q!==null&&(Q.selected=!0)}}function pp(e,t){return Pt({},t,{value:void 0})}function Yw(e,t){var n=e;Q_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Id&&(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"),Id=!0)}function oI(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Is(n,!!t.multiple,i,!1):t.defaultValue!=null&&Is(n,!!t.multiple,t.defaultValue,!0)}function iI(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Is(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Is(n,!!t.multiple,t.defaultValue,!0):Is(n,!!t.multiple,t.multiple?[]:"",!1))}function lI(e,t){var n=e,i=t.value;i!=null&&Is(n,!!t.multiple,i,!1)}var $w=!1;function Z_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Pt({},t,{value:void 0,defaultValue:void 0,children:So(n._wrapperState.initialValue)});return i}function Gw(e,t){var n=e;up("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!$w&&(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",Au()||"A component"),$w=!0);var i=t.value;if(i==null){var c=t.children,f=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}f=c}}f==null&&(f=""),i=f}n._wrapperState={initialValue:Il(i)}}function qw(e,t){var n=e,i=Il(t.value),c=Il(t.defaultValue);if(i!=null){var f=So(i);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}c!=null&&(n.defaultValue=So(c))}function Kw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function sI(e,t){qw(e,t)}var Ps="http://www.w3.org/1999/xhtml",uI="http://www.w3.org/1998/Math/MathML",eb="http://www.w3.org/2000/svg";function tb(e){switch(e){case"svg":return eb;case"math":return uI;default:return Ps}}function rb(e,t){return e==null||e===Ps?tb(t):e===eb&&t==="foreignObject"?Ps:e}var cI=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Pm,Xw=cI(function(e,t){if(e.namespaceURI===eb&&!("innerHTML"in e)){Pm=Pm||document.createElement("div"),Pm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Pm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),wo=1,Ms=3,Ka=8,Fs=9,ab=11,Mm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Ms){n.nodeValue=t;return}}e.textContent=t},dI={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 fI(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var pI=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){pI.forEach(function(t){hp[fI(t,e)]=hp[e]})});function nb(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":(aa(t,e),(""+t).trim())}var hI=/([A-Z])/g,mI=/^ms-/;function vI(e){return e.replace(hI,"-$1").toLowerCase().replace(mI,"-ms-")}var Jw=function(){};{var gI=/^(?:webkit|moz|o)[A-Z]/,_I=/^-ms-/,bI=/-(.)/g,Qw=/;\s*$/,Pd={},ob={},Zw=!1,eC=!1,yI=function(e){return e.replace(bI,function(t,n){return n.toUpperCase()})},SI=function(e){Pd.hasOwnProperty(e)&&Pd[e]||(Pd[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,yI(e.replace(_I,"ms-"))))},wI=function(e){Pd.hasOwnProperty(e)&&Pd[e]||(Pd[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},CI=function(e,t){ob.hasOwnProperty(t)&&ob[t]||(ob[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Qw,"")))},xI=function(e,t){Zw||(Zw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},TI=function(e,t){eC||(eC=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};Jw=function(e,t){e.indexOf("-")>-1?SI(e):gI.test(e)?wI(e):Qw.test(t)&&CI(e,t),typeof t=="number"&&(isNaN(t)?xI(e,t):isFinite(t)||TI(e,t))}}var kI=Jw;function EI(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var f=i.indexOf("--")===0;t+=n+(f?i:vI(i))+":",t+=nb(i,c,f),n=";"}}return t||null}}function tC(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||kI(i,t[i]);var f=nb(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,f):n[i]=f}}function RI(e){return e==null||typeof e=="boolean"||e===""}function rC(e){var t={};for(var n in e)for(var i=dI[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function DI(e,t){{if(!t)return;var n=rC(e),i=rC(t),c={};for(var f in n){var g=n[f],S=i[f];if(S&&g!==S){var x=g+","+S;if(c[x])continue;c[x]=!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.",RI(e[g])?"Removing":"Updating",g,S)}}}}var LI={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},AI=Pt({menuitem:!0},LI),BI="__html";function ib(e,t){if(t){if(AI[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"||!(BI 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 xc(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 Fm={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"},aC={"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},Md={},NI=new RegExp("^(aria)-["+dt+"]*$"),OI=new RegExp("^(aria)[A-Z]["+dt+"]*$");function II(e,t){{if(zt.call(Md,t)&&Md[t])return!0;if(OI.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=aC.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Md[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Md[t]=!0,!0}if(NI.test(t)){var c=t.toLowerCase(),f=aC.hasOwnProperty(c)?c:null;if(f==null)return Md[t]=!0,!1;if(t!==f)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),Md[t]=!0,!0}}return!0}function PI(e,t){{var n=[];for(var i in t){var c=II(e,i);c||n.push(i)}var f=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",f,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function MI(e,t){xc(e,t)||PI(e,t)}var nC=!1;function FI(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!nC&&(nC=!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 oC=function(){};{var Xn={},iC=/^on./,zI=/^on[^A-Z]/,jI=new RegExp("^(aria)-["+dt+"]*$"),HI=new RegExp("^(aria)[A-Z]["+dt+"]*$");oC=function(e,t,n,i){if(zt.call(Xn,t)&&Xn[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."),Xn[t]=!0,!0;if(i!=null){var f=i.registrationNameDependencies,g=i.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var S=g.hasOwnProperty(c)?g[c]:null;if(S!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,S),Xn[t]=!0,!0;if(iC.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Xn[t]=!0,!0}else if(iC.test(t))return zI.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Xn[t]=!0,!0;if(jI.test(t)||HI.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Xn[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Xn[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),Xn[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),Xn[t]=!0,!0;var x=Z(t),R=x!==null&&x.type===Or;if(Fm.hasOwnProperty(c)){var N=Fm[c];if(N!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,N),Xn[t]=!0,!0}else if(!R&&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),Xn[t]=!0,!0;return typeof n=="boolean"&&qr(t,n,x,!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),Xn[t]=!0,!0):R?!0:qr(t,n,x,!1)?(Xn[t]=!0,!1):((n==="false"||n==="true")&&x!==null&&x.type===hr&&(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),Xn[t]=!0),!0)}}var UI=function(e,t,n){{var i=[];for(var c in t){var f=oC(e,c,t[c],n);f||i.push(c)}var g=i.map(function(S){return"`"+S+"`"}).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 VI(e,t,n){xc(e,t)||UI(e,t,n)}var lC=1,lb=2,mp=4,WI=lC|lb|mp,vp=null;function YI(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 $I(){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 GI(e){return e===vp}function sb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ms?t.parentNode:t}var ub=null,Fd=null,zd=null;function sC(e){var t=ju(e);if(t){if(typeof ub!="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=Sv(n);ub(t.stateNode,t.type,i)}}}function qI(e){ub=e}function uC(e){Fd?zd?zd.push(e):zd=[e]:Fd=e}function KI(){return Fd!==null||zd!==null}function cC(){if(Fd){var e=Fd,t=zd;if(Fd=null,zd=null,sC(e),t)for(var n=0;n<t.length;n++)sC(t[n])}}var dC=function(e,t){return e(t)},fC=function(){},cb=!1;function XI(){var e=KI();e&&(fC(),cC())}function pC(e,t,n){if(cb)return e(t,n);cb=!0;try{return dC(e,t,n)}finally{cb=!1,XI()}}function JI(e,t,n){dC=e,fC=n}function QI(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ZI(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&&QI(t));default:return!1}}function gp(e,t){var n=e.stateNode;if(n===null)return null;var i=Sv(n);if(i===null)return null;var c=i[t];if(ZI(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 db=!1;if(Ct)try{var _p={};Object.defineProperty(_p,"passive",{get:function(){db=!0}}),window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){db=!1}function hC(e,t,n,i,c,f,g,S,x){var R=Array.prototype.slice.call(arguments,3);try{t.apply(n,R)}catch(N){this.onError(N)}}var mC=hC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var fb=document.createElement("react");mC=function(t,n,i,c,f,g,S,x,R){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 N=document.createEvent("Event"),Q=!1,J=!0,ge=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function Te(){fb.removeEventListener(De,Nt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ge)}var lt=Array.prototype.slice.call(arguments,3);function Nt(){Q=!0,Te(),n.apply(i,lt),J=!1}var Et,vr=!1,gr=!1;function se(ue){if(Et=ue.error,vr=!0,Et===null&&ue.colno===0&&ue.lineno===0&&(gr=!0),ue.defaultPrevented&&Et!=null&&typeof Et=="object")try{Et._suppressLogging=!0}catch(Je){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",se),fb.addEventListener(De,Nt,!1),N.initEvent(De,!1,!1),fb.dispatchEvent(N),_e&&Object.defineProperty(window,"event",_e),Q&&J&&(vr?gr&&(Et=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.")):Et=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(Et)),window.removeEventListener("error",se),!Q)return Te(),hC.apply(this,arguments)}}var eP=mC,jd=!1,zm=null,jm=!1,pb=null,tP={onError:function(e){jd=!0,zm=e}};function hb(e,t,n,i,c,f,g,S,x){jd=!1,zm=null,eP.apply(tP,arguments)}function rP(e,t,n,i,c,f,g,S,x){if(hb.apply(this,arguments),jd){var R=mb();jm||(jm=!0,pb=R)}}function aP(){if(jm){var e=pb;throw jm=!1,pb=null,e}}function nP(){return jd}function mb(){if(jd){var e=zm;return jd=!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 Hd(e){return e._reactInternals}function oP(e){return e._reactInternals!==void 0}function iP(e,t){e._reactInternals=t}var Ut=0,Ud=1,Xa=2,kr=4,Tc=16,bp=32,vb=64,Mr=128,zs=256,Nu=512,kc=1024,Pl=2048,js=4096,Ec=8192,Hm=16384,lP=Pl|kr|vb|Nu|kc|Hm,sP=32767,yp=32768,Jn=65536,gb=131072,vC=1048576,_b=2097152,Rc=4194304,bb=8388608,Hs=16777216,Um=33554432,yb=kr|kc|0,Sb=Xa|kr|Tc|bp|Nu|js|Ec,Sp=kr|vb|Nu|Ec,Vd=Pl|Tc,Us=Rc|bb|_b,uP=o.ReactCurrentOwner;function Dc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Xa|js))!==Ut&&(n=t.return),i=t.return;while(i)}return t.tag===y?n:null}function gC(e){if(e.tag===G){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 _C(e){return e.tag===y?e.stateNode.containerInfo:null}function cP(e){return Dc(e)===e}function dP(e){{var t=uP.current;if(t!==null&&t.tag===v){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.",or(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=Hd(e);return c?Dc(c)===c:!1}function bC(e){if(Dc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function yC(e){var t=e.alternate;if(!t){var n=Dc(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 f=i.return;if(f===null)break;var g=f.alternate;if(g===null){var S=f.return;if(S!==null){i=c=S;continue}break}if(f.child===g.child){for(var x=f.child;x;){if(x===i)return bC(f),e;if(x===c)return bC(f),t;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=f,c=g;else{for(var R=!1,N=f.child;N;){if(N===i){R=!0,i=f,c=g;break}if(N===c){R=!0,c=f,i=g;break}N=N.sibling}if(!R){for(N=g.child;N;){if(N===i){R=!0,i=g,c=f;break}if(N===c){R=!0,c=g,i=f;break}N=N.sibling}if(!R)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!==y)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function SC(e){var t=yC(e);return t!==null?wC(t):null}function wC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=wC(t);if(n!==null)return n;t=t.sibling}return null}function fP(e){var t=yC(e);return t!==null?CC(t):null}function CC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==C){var n=CC(t);if(n!==null)return n}t=t.sibling}return null}var xC=a.unstable_scheduleCallback,pP=a.unstable_cancelCallback,hP=a.unstable_shouldYield,mP=a.unstable_requestPaint,gn=a.unstable_now,vP=a.unstable_getCurrentPriorityLevel,Vm=a.unstable_ImmediatePriority,wb=a.unstable_UserBlockingPriority,Lc=a.unstable_NormalPriority,gP=a.unstable_LowPriority,Cb=a.unstable_IdlePriority,_P=a.unstable_yieldValue,bP=a.unstable_setDisableYieldValue,Ac=null,Cn=null,ft=null,fs=!1,Ml=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function yP(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{Oe&&(e=Pt({},e,{getLaneLabelMap:kP,injectProfilingHooks:TP})),Ac=t.inject(e),Cn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function SP(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Ac,e,t)}catch(n){fs||(fs=!0,u("React instrumentation encountered an error: %s",n))}}function wP(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Mr)===Mr;if(ct){var i;switch(t){case Fo:i=Vm;break;case Ws:i=wb;break;case Ys:i=Lc;break;case Xm:i=Cb;break;default:i=Lc;break}Cn.onCommitFiberRoot(Ac,e,i,n)}else Cn.onCommitFiberRoot(Ac,e,void 0,n)}catch(c){fs||(fs=!0,u("React instrumentation encountered an error: %s",c))}}function CP(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function xP(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function _n(e){if(typeof _P=="function"&&(bP(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Ac,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function TP(e){ft=e}function kP(){{for(var e=new Map,t=1,n=0;n<Tb;n++){var i=$P(t);e.set(t,i),t*=2}return e}}function EP(e){ft!==null&&typeof ft.markCommitStarted=="function"&&ft.markCommitStarted(e)}function TC(){ft!==null&&typeof ft.markCommitStopped=="function"&&ft.markCommitStopped()}function wp(e){ft!==null&&typeof ft.markComponentRenderStarted=="function"&&ft.markComponentRenderStarted(e)}function Wd(){ft!==null&&typeof ft.markComponentRenderStopped=="function"&&ft.markComponentRenderStopped()}function RP(e){ft!==null&&typeof ft.markComponentPassiveEffectMountStarted=="function"&&ft.markComponentPassiveEffectMountStarted(e)}function DP(){ft!==null&&typeof ft.markComponentPassiveEffectMountStopped=="function"&&ft.markComponentPassiveEffectMountStopped()}function LP(e){ft!==null&&typeof ft.markComponentPassiveEffectUnmountStarted=="function"&&ft.markComponentPassiveEffectUnmountStarted(e)}function AP(){ft!==null&&typeof ft.markComponentPassiveEffectUnmountStopped=="function"&&ft.markComponentPassiveEffectUnmountStopped()}function BP(e){ft!==null&&typeof ft.markComponentLayoutEffectMountStarted=="function"&&ft.markComponentLayoutEffectMountStarted(e)}function NP(){ft!==null&&typeof ft.markComponentLayoutEffectMountStopped=="function"&&ft.markComponentLayoutEffectMountStopped()}function kC(e){ft!==null&&typeof ft.markComponentLayoutEffectUnmountStarted=="function"&&ft.markComponentLayoutEffectUnmountStarted(e)}function EC(){ft!==null&&typeof ft.markComponentLayoutEffectUnmountStopped=="function"&&ft.markComponentLayoutEffectUnmountStopped()}function OP(e,t,n){ft!==null&&typeof ft.markComponentErrored=="function"&&ft.markComponentErrored(e,t,n)}function IP(e,t,n){ft!==null&&typeof ft.markComponentSuspended=="function"&&ft.markComponentSuspended(e,t,n)}function PP(e){ft!==null&&typeof ft.markLayoutEffectsStarted=="function"&&ft.markLayoutEffectsStarted(e)}function MP(){ft!==null&&typeof ft.markLayoutEffectsStopped=="function"&&ft.markLayoutEffectsStopped()}function FP(e){ft!==null&&typeof ft.markPassiveEffectsStarted=="function"&&ft.markPassiveEffectsStarted(e)}function zP(){ft!==null&&typeof ft.markPassiveEffectsStopped=="function"&&ft.markPassiveEffectsStopped()}function RC(e){ft!==null&&typeof ft.markRenderStarted=="function"&&ft.markRenderStarted(e)}function jP(){ft!==null&&typeof ft.markRenderYielded=="function"&&ft.markRenderYielded()}function DC(){ft!==null&&typeof ft.markRenderStopped=="function"&&ft.markRenderStopped()}function HP(e){ft!==null&&typeof ft.markRenderScheduled=="function"&&ft.markRenderScheduled(e)}function UP(e,t){ft!==null&&typeof ft.markForceUpdateScheduled=="function"&&ft.markForceUpdateScheduled(e,t)}function xb(e,t){ft!==null&&typeof ft.markStateUpdateScheduled=="function"&&ft.markStateUpdateScheduled(e,t)}var Mt=0,br=1,Jr=2,Oa=8,ps=16,LC=Math.clz32?Math.clz32:YP,VP=Math.log,WP=Math.LN2;function YP(e){var t=e>>>0;return t===0?32:31-(VP(t)/WP|0)|0}var Tb=31,je=0,bn=0,Jt=1,Yd=2,Vs=4,Bc=8,hs=16,Cp=32,$d=4194240,xp=64,kb=128,Eb=256,Rb=512,Db=1024,Lb=2048,Ab=4096,Bb=8192,Nb=16384,Ob=32768,Ib=65536,Pb=131072,Mb=262144,Fb=524288,zb=1048576,jb=2097152,Wm=130023424,Gd=4194304,Hb=8388608,Ub=16777216,Vb=33554432,Wb=67108864,AC=Gd,Tp=134217728,BC=268435455,kp=268435456,Nc=536870912,Po=1073741824;function $P(e){{if(e&Jt)return"Sync";if(e&Yd)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Bc)return"DefaultHydration";if(e&hs)return"Default";if(e&Cp)return"TransitionHydration";if(e&$d)return"Transition";if(e&Wm)return"Retry";if(e&Tp)return"SelectiveHydration";if(e&kp)return"IdleHydration";if(e&Nc)return"Idle";if(e&Po)return"Offscreen"}}var ga=-1,Ym=xp,$m=Gd;function Ep(e){switch(Oc(e)){case Jt:return Jt;case Yd:return Yd;case Vs:return Vs;case Bc:return Bc;case hs:return hs;case Cp:return Cp;case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:return e&$d;case Gd:case Hb:case Ub:case Vb:case Wb:return e&Wm;case Tp:return Tp;case kp:return kp;case Nc:return Nc;case Po:return Po;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Gm(e,t){var n=e.pendingLanes;if(n===je)return je;var i=je,c=e.suspendedLanes,f=e.pingedLanes,g=n&BC;if(g!==je){var S=g&~c;if(S!==je)i=Ep(S);else{var x=g&f;x!==je&&(i=Ep(x))}}else{var R=n&~c;R!==je?i=Ep(R):f!==je&&(i=Ep(f))}if(i===je)return je;if(t!==je&&t!==i&&(t&c)===je){var N=Oc(i),Q=Oc(t);if(N>=Q||N===hs&&(Q&$d)!==je)return t}(i&Vs)!==je&&(i|=n&hs);var J=e.entangledLanes;if(J!==je)for(var ge=e.entanglements,_e=i&J;_e>0;){var Te=Ic(_e),lt=1<<Te;i|=ge[Te],_e&=~lt}return i}function GP(e,t){for(var n=e.eventTimes,i=ga;t>0;){var c=Ic(t),f=1<<c,g=n[c];g>i&&(i=g),t&=~f}return i}function qP(e,t){switch(e){case Jt:case Yd:case Vs:return t+250;case Bc:case hs:case Cp:case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:return t+5e3;case Gd:case Hb:case Ub:case Vb:case Wb:return ga;case Tp:case kp:case Nc:case Po:return ga;default:return u("Should have found matching lanes. This is a bug in React."),ga}}function KP(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var S=Ic(g),x=1<<S,R=f[S];R===ga?((x&i)===je||(x&c)!==je)&&(f[S]=qP(x,t)):R<=t&&(e.expiredLanes|=x),g&=~x}}function XP(e){return Ep(e.pendingLanes)}function Yb(e){var t=e.pendingLanes&~Po;return t!==je?t:t&Po?Po:je}function JP(e){return(e&Jt)!==je}function $b(e){return(e&BC)!==je}function NC(e){return(e&Wm)===e}function QP(e){var t=Jt|Vs|hs;return(e&t)===je}function ZP(e){return(e&$d)===e}function qm(e,t){var n=Yd|Vs|Bc|hs;return(t&n)!==je}function eM(e,t){return(t&e.expiredLanes)!==je}function OC(e){return(e&$d)!==je}function IC(){var e=Ym;return Ym<<=1,(Ym&$d)===je&&(Ym=xp),e}function tM(){var e=$m;return $m<<=1,($m&Wm)===je&&($m=Gd),e}function Oc(e){return e&-e}function Rp(e){return Oc(e)}function Ic(e){return 31-LC(e)}function Gb(e){return Ic(e)}function Mo(e,t){return(e&t)!==je}function qd(e,t){return(e&t)===t}function ur(e,t){return e|t}function Km(e,t){return e&~t}function PC(e,t){return e&t}function $G(e){return e}function rM(e,t){return e!==bn&&e<t?e:t}function qb(e){for(var t=[],n=0;n<Tb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nc&&(e.suspendedLanes=je,e.pingedLanes=je);var i=e.eventTimes,c=Gb(t);i[c]=n}function aM(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Ic(i),f=1<<c;n[c]=ga,i&=~f}}function MC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function nM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=je,e.pingedLanes=je,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var S=Ic(g),x=1<<S;i[S]=je,c[S]=ga,f[S]=ga,g&=~x}}function Kb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var f=Ic(c),g=1<<f;g&t|i[f]&t&&(i[f]|=t),c&=~g}}function oM(e,t){var n=Oc(t),i;switch(n){case Vs:i=Yd;break;case hs:i=Bc;break;case xp:case kb:case Eb:case Rb:case Db:case Lb:case Ab:case Bb:case Nb:case Ob:case Ib:case Pb:case Mb:case Fb:case zb:case jb:case Gd:case Hb:case Ub:case Vb:case Wb:i=Cp;break;case Nc:i=kp;break;default:i=bn;break}return(i&(e.suspendedLanes|t))!==bn?bn:i}function FC(e,t,n){if(Ml)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Gb(n),f=1<<c,g=i[c];g.add(t),n&=~f}}function zC(e,t){if(Ml)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Gb(t),f=1<<c,g=n[c];g.size>0&&(g.forEach(function(S){var x=S.alternate;(x===null||!i.has(x))&&i.add(S)}),g.clear()),t&=~f}}function jC(e,t){return null}var Fo=Jt,Ws=Vs,Ys=hs,Xm=Nc,Lp=bn;function Fl(){return Lp}function yn(e){Lp=e}function iM(e,t){var n=Lp;try{return Lp=e,t()}finally{Lp=n}}function lM(e,t){return e!==0&&e<t?e:t}function sM(e,t){return e===0||e>t?e:t}function Xb(e,t){return e!==0&&e<t}function HC(e){var t=Oc(e);return Xb(Fo,t)?Xb(Ws,t)?$b(t)?Ys:Xm:Ws:Fo}function Jm(e){var t=e.current.memoizedState;return t.isDehydrated}var UC;function uM(e){UC=e}function cM(e){UC(e)}var Jb;function dM(e){Jb=e}var VC;function fM(e){VC=e}var WC;function pM(e){WC=e}var YC;function hM(e){YC=e}var Qb=!1,Qm=[],Ou=null,Iu=null,Pu=null,Ap=new Map,Bp=new Map,Mu=[],mM=["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 vM(e){return mM.indexOf(e)>-1}function gM(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function $C(e,t){switch(e){case"focusin":case"focusout":Ou=null;break;case"dragenter":case"dragleave":Iu=null;break;case"mouseover":case"mouseout":Pu=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Ap.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Bp.delete(i);break}}}function Np(e,t,n,i,c,f){if(e===null||e.nativeEvent!==f){var g=gM(t,n,i,c,f);if(t!==null){var S=ju(t);S!==null&&Jb(S)}return g}e.eventSystemFlags|=i;var x=e.targetContainers;return c!==null&&x.indexOf(c)===-1&&x.push(c),e}function _M(e,t,n,i,c){switch(t){case"focusin":{var f=c;return Ou=Np(Ou,e,t,n,i,f),!0}case"dragenter":{var g=c;return Iu=Np(Iu,e,t,n,i,g),!0}case"mouseover":{var S=c;return Pu=Np(Pu,e,t,n,i,S),!0}case"pointerover":{var x=c,R=x.pointerId;return Ap.set(R,Np(Ap.get(R)||null,e,t,n,i,x)),!0}case"gotpointercapture":{var N=c,Q=N.pointerId;return Bp.set(Q,Np(Bp.get(Q)||null,e,t,n,i,N)),!0}}return!1}function GC(e){var t=Fc(e.target);if(t!==null){var n=Dc(t);if(n!==null){var i=n.tag;if(i===G){var c=gC(n);if(c!==null){e.blockedOn=c,YC(e.priority,function(){VC(n)});return}}else if(i===y){var f=n.stateNode;if(Jm(f)){e.blockedOn=_C(n);return}}}}e.blockedOn=null}function bM(e){for(var t=WC(),n={blockedOn:null,target:e,priority:t},i=0;i<Mu.length&&Xb(t,Mu[i].priority);i++);Mu.splice(i,0,n),i===0&&GC(n)}function Zm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=t1(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,f=new c.constructor(c.type,c);YI(f),c.target.dispatchEvent(f),$I()}else{var g=ju(i);return g!==null&&Jb(g),e.blockedOn=i,!1}t.shift()}return!0}function qC(e,t,n){Zm(e)&&n.delete(t)}function yM(){Qb=!1,Ou!==null&&Zm(Ou)&&(Ou=null),Iu!==null&&Zm(Iu)&&(Iu=null),Pu!==null&&Zm(Pu)&&(Pu=null),Ap.forEach(qC),Bp.forEach(qC)}function Op(e,t){e.blockedOn===t&&(e.blockedOn=null,Qb||(Qb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,yM)))}function Ip(e){if(Qm.length>0){Op(Qm[0],e);for(var t=1;t<Qm.length;t++){var n=Qm[t];n.blockedOn===e&&(n.blockedOn=null)}}Ou!==null&&Op(Ou,e),Iu!==null&&Op(Iu,e),Pu!==null&&Op(Pu,e);var i=function(S){return Op(S,e)};Ap.forEach(i),Bp.forEach(i);for(var c=0;c<Mu.length;c++){var f=Mu[c];f.blockedOn===e&&(f.blockedOn=null)}for(;Mu.length>0;){var g=Mu[0];if(g.blockedOn!==null)break;GC(g),g.blockedOn===null&&Mu.shift()}}var Kd=o.ReactCurrentBatchConfig,Zb=!0;function KC(e){Zb=!!e}function SM(){return Zb}function wM(e,t,n){var i=XC(t),c;switch(i){case Fo:c=CM;break;case Ws:c=xM;break;case Ys:default:c=e1;break}return c.bind(null,t,n,e)}function CM(e,t,n,i){var c=Fl(),f=Kd.transition;Kd.transition=null;try{yn(Fo),e1(e,t,n,i)}finally{yn(c),Kd.transition=f}}function xM(e,t,n,i){var c=Fl(),f=Kd.transition;Kd.transition=null;try{yn(Ws),e1(e,t,n,i)}finally{yn(c),Kd.transition=f}}function e1(e,t,n,i){Zb&&TM(e,t,n,i)}function TM(e,t,n,i){var c=t1(e,t,n,i);if(c===null){m1(e,t,i,ev,n),$C(e,i);return}if(_M(c,e,t,n,i)){i.stopPropagation();return}if($C(e,i),t&mp&&vM(e)){for(;c!==null;){var f=ju(c);f!==null&&cM(f);var g=t1(e,t,n,i);if(g===null&&m1(e,t,i,ev,n),g===c)break;c=g}c!==null&&i.stopPropagation();return}m1(e,t,i,null,n)}var ev=null;function t1(e,t,n,i){ev=null;var c=sb(i),f=Fc(c);if(f!==null){var g=Dc(f);if(g===null)f=null;else{var S=g.tag;if(S===G){var x=gC(g);if(x!==null)return x;f=null}else if(S===y){var R=g.stateNode;if(Jm(R))return _C(g);f=null}else g!==f&&(f=null)}}return ev=f,null}function XC(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 Fo;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 Ws;case"message":{var t=vP();switch(t){case Vm:return Fo;case wb:return Ws;case Lc:case gP:return Ys;case Cb:return Xm;default:return Ys}}default:return Ys}}function kM(e,t,n){return e.addEventListener(t,n,!1),n}function EM(e,t,n){return e.addEventListener(t,n,!0),n}function RM(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function DM(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Pp=null,r1=null,Mp=null;function LM(e){return Pp=e,r1=QC(),!0}function AM(){Pp=null,r1=null,Mp=null}function JC(){if(Mp)return Mp;var e,t=r1,n=t.length,i,c=QC(),f=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[f-i];i++);var S=i>1?1-i:void 0;return Mp=c.slice(e,S),Mp}function QC(){return"value"in Pp?Pp.value:Pp.textContent}function tv(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 rv(){return!0}function ZC(){return!1}function zo(e){function t(n,i,c,f,g){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var x=e[S];x?this[S]=x(f):this[S]=f[S]}var R=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return R?this.isDefaultPrevented=rv:this.isDefaultPrevented=ZC,this.isPropagationStopped=ZC,this}return Pt(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=rv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=rv)},persist:function(){},isPersistent:rv}),t}var Xd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},a1=zo(Xd),Fp=Pt({},Xd,{view:0,detail:0}),BM=zo(Fp),n1,o1,zp;function NM(e){e!==zp&&(zp&&e.type==="mousemove"?(n1=e.screenX-zp.screenX,o1=e.screenY-zp.screenY):(n1=0,o1=0),zp=e)}var av=Pt({},Fp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:l1,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:(NM(e),n1)},movementY:function(e){return"movementY"in e?e.movementY:o1}}),e3=zo(av),OM=Pt({},av,{dataTransfer:0}),IM=zo(OM),PM=Pt({},Fp,{relatedTarget:0}),i1=zo(PM),MM=Pt({},Xd,{animationName:0,elapsedTime:0,pseudoElement:0}),FM=zo(MM),zM=Pt({},Xd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jM=zo(zM),HM=Pt({},Xd,{data:0}),t3=zo(HM),UM=t3,VM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WM={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 YM(e){if(e.key){var t=VM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=tv(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?WM[e.keyCode]||"Unidentified":""}var $M={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function GM(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=$M[e];return i?!!n[i]:!1}function l1(e){return GM}var qM=Pt({},Fp,{key:YM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:l1,charCode:function(e){return e.type==="keypress"?tv(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tv(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),KM=zo(qM),XM=Pt({},av,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),r3=zo(XM),JM=Pt({},Fp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:l1}),QM=zo(JM),ZM=Pt({},Xd,{propertyName:0,elapsedTime:0,pseudoElement:0}),eF=zo(ZM),tF=Pt({},av,{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}),rF=zo(tF),aF=[9,13,27,32],a3=229,s1=Ct&&"CompositionEvent"in window,jp=null;Ct&&"documentMode"in document&&(jp=document.documentMode);var nF=Ct&&"TextEvent"in window&&!jp,n3=Ct&&(!s1||jp&&jp>8&&jp<=11),o3=32,i3=String.fromCharCode(o3);function oF(){nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),nt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),nt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var l3=!1;function iF(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function lF(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function sF(e,t){return e==="keydown"&&t.keyCode===a3}function s3(e,t){switch(e){case"keyup":return aF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==a3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u3(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function c3(e){return e.locale==="ko"}var Jd=!1;function uF(e,t,n,i,c){var f,g;if(s1?f=lF(t):Jd?s3(t,i)&&(f="onCompositionEnd"):sF(t,i)&&(f="onCompositionStart"),!f)return null;n3&&!c3(i)&&(!Jd&&f==="onCompositionStart"?Jd=LM(c):f==="onCompositionEnd"&&Jd&&(g=JC()));var S=sv(n,f);if(S.length>0){var x=new t3(f,t,null,i,c);if(e.push({event:x,listeners:S}),g)x.data=g;else{var R=u3(i);R!==null&&(x.data=R)}}}function cF(e,t){switch(e){case"compositionend":return u3(t);case"keypress":var n=t.which;return n!==o3?null:(l3=!0,i3);case"textInput":var i=t.data;return i===i3&&l3?null:i;default:return null}}function dF(e,t){if(Jd){if(e==="compositionend"||!s1&&s3(e,t)){var n=JC();return AM(),Jd=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!iF(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return n3&&!c3(t)?null:t.data;default:return null}}function fF(e,t,n,i,c){var f;if(nF?f=cF(t,i):f=dF(t,i),!f)return null;var g=sv(n,"onBeforeInput");if(g.length>0){var S=new UM("onBeforeInput","beforeinput",null,i,c);e.push({event:S,listeners:g}),S.data=f}}function pF(e,t,n,i,c,f,g){uF(e,t,n,i,c),fF(e,t,n,i,c)}var hF={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 d3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hF[e.type]:t==="textarea"}function mF(e){if(!Ct)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 vF(){nt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function f3(e,t,n,i){uC(i);var c=sv(t,"onChange");if(c.length>0){var f=new a1("onChange","change",null,n,i);e.push({event:f,listeners:c})}}var Hp=null,Up=null;function gF(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function _F(e){var t=[];f3(t,Up,e,sb(e)),pC(bF,t)}function bF(e){L3(e,0)}function nv(e){var t=af(e);if(Bd(t))return e}function yF(e,t){if(e==="change")return t}var p3=!1;Ct&&(p3=mF("input")&&(!document.documentMode||document.documentMode>9));function SF(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",m3)}function h3(){Hp&&(Hp.detachEvent("onpropertychange",m3),Hp=null,Up=null)}function m3(e){e.propertyName==="value"&&nv(Up)&&_F(e)}function wF(e,t,n){e==="focusin"?(h3(),SF(t,n)):e==="focusout"&&h3()}function CF(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return nv(Up)}function xF(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function TF(e,t){if(e==="click")return nv(t)}function kF(e,t){if(e==="input"||e==="change")return nv(t)}function EF(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Wr(e,"number",e.value)}function RF(e,t,n,i,c,f,g){var S=n?af(n):window,x,R;if(gF(S)?x=yF:d3(S)?p3?x=kF:(x=CF,R=wF):xF(S)&&(x=TF),x){var N=x(t,n);if(N){f3(e,N,i,c);return}}R&&R(t,S,n),t==="focusout"&&EF(S)}function DF(){Ae("onMouseEnter",["mouseout","mouseover"]),Ae("onMouseLeave",["mouseout","mouseover"]),Ae("onPointerEnter",["pointerout","pointerover"]),Ae("onPointerLeave",["pointerout","pointerover"])}function LF(e,t,n,i,c,f,g){var S=t==="mouseover"||t==="pointerover",x=t==="mouseout"||t==="pointerout";if(S&&!GI(i)){var R=i.relatedTarget||i.fromElement;if(R&&(Fc(R)||ah(R)))return}if(!(!x&&!S)){var N;if(c.window===c)N=c;else{var Q=c.ownerDocument;Q?N=Q.defaultView||Q.parentWindow:N=window}var J,ge;if(x){var _e=i.relatedTarget||i.toElement;if(J=n,ge=_e?Fc(_e):null,ge!==null){var Te=Dc(ge);(ge!==Te||ge.tag!==w&&ge.tag!==k)&&(ge=null)}}else J=null,ge=n;if(J!==ge){var lt=e3,Nt="onMouseLeave",Et="onMouseEnter",vr="mouse";(t==="pointerout"||t==="pointerover")&&(lt=r3,Nt="onPointerLeave",Et="onPointerEnter",vr="pointer");var gr=J==null?N:af(J),se=ge==null?N:af(ge),De=new lt(Nt,vr+"leave",J,i,c);De.target=gr,De.relatedTarget=se;var ue=null,Je=Fc(c);if(Je===n){var mt=new lt(Et,vr+"enter",ge,i,c);mt.target=se,mt.relatedTarget=gr,ue=mt}e9(e,De,ue,J,ge)}}}function AF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:AF;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 f=n[c];if(!zt.call(t,f)||!jo(e[f],t[f]))return!1}return!0}function v3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function BF(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function g3(e,t){for(var n=v3(e),i=0,c=0;n;){if(n.nodeType===Ms){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=v3(BF(n))}}function NF(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,f=i.anchorOffset,g=i.focusNode,S=i.focusOffset;try{c.nodeType,g.nodeType}catch(x){return null}return OF(e,c,f,g,S)}function OF(e,t,n,i,c){var f=0,g=-1,S=-1,x=0,R=0,N=e,Q=null;e:for(;;){for(var J=null;N===t&&(n===0||N.nodeType===Ms)&&(g=f+n),N===i&&(c===0||N.nodeType===Ms)&&(S=f+c),N.nodeType===Ms&&(f+=N.nodeValue.length),(J=N.firstChild)!==null;)Q=N,N=J;for(;;){if(N===e)break e;if(Q===t&&++x===n&&(g=f),Q===i&&++R===c&&(S=f),(J=N.nextSibling)!==null)break;N=Q,Q=N.parentNode}N=J}return g===-1||S===-1?null:{start:g,end:S}}function IF(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),S=t.end===void 0?g:Math.min(t.end,f);if(!c.extend&&g>S){var x=S;S=g,g=x}var R=g3(e,g),N=g3(e,S);if(R&&N){if(c.rangeCount===1&&c.anchorNode===R.node&&c.anchorOffset===R.offset&&c.focusNode===N.node&&c.focusOffset===N.offset)return;var Q=n.createRange();Q.setStart(R.node,R.offset),c.removeAllRanges(),g>S?(c.addRange(Q),c.extend(N.node,N.offset)):(Q.setEnd(N.node,N.offset),c.addRange(Q))}}}function _3(e){return e&&e.nodeType===Ms}function b3(e,t){return!e||!t?!1:e===t?!0:_3(e)?!1:_3(t)?b3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function PF(e){return e&&e.ownerDocument&&b3(e.ownerDocument.documentElement,e)}function MF(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function y3(){for(var e=window,t=Nd();t instanceof e.HTMLIFrameElement;){if(MF(t))e=t.contentWindow;else return t;t=Nd(e.document)}return t}function u1(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 FF(){var e=y3();return{focusedElem:e,selectionRange:u1(e)?jF(e):null}}function zF(e){var t=y3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&PF(n)){i!==null&&u1(n)&&HF(n,i);for(var c=[],f=n;f=f.parentNode;)f.nodeType===wo&&c.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<c.length;g++){var S=c[g];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function jF(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=NF(e),t||{start:0,end:0}}function HF(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)):IF(e,t)}var UF=Ct&&"documentMode"in document&&document.documentMode<=11;function VF(){nt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qd=null,c1=null,Wp=null,d1=!1;function WF(e){if("selectionStart"in e&&u1(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 YF(e){return e.window===e?e.document:e.nodeType===Fs?e:e.ownerDocument}function S3(e,t,n){var i=YF(n);if(!(d1||Qd==null||Qd!==Nd(i))){var c=WF(Qd);if(!Wp||!Vp(Wp,c)){Wp=c;var f=sv(c1,"onSelect");if(f.length>0){var g=new a1("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=Qd}}}}function $F(e,t,n,i,c,f,g){var S=n?af(n):window;switch(t){case"focusin":(d3(S)||S.contentEditable==="true")&&(Qd=S,c1=n,Wp=null);break;case"focusout":Qd=null,c1=null,Wp=null;break;case"mousedown":d1=!0;break;case"contextmenu":case"mouseup":case"dragend":d1=!1,S3(e,i,c);break;case"selectionchange":if(UF)break;case"keydown":case"keyup":S3(e,i,c)}}function ov(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zd={animationend:ov("Animation","AnimationEnd"),animationiteration:ov("Animation","AnimationIteration"),animationstart:ov("Animation","AnimationStart"),transitionend:ov("Transition","TransitionEnd")},f1={},w3={};Ct&&(w3=document.createElement("div").style,"AnimationEvent"in window||(delete Zd.animationend.animation,delete Zd.animationiteration.animation,delete Zd.animationstart.animation),"TransitionEvent"in window||delete Zd.transitionend.transition);function iv(e){if(f1[e])return f1[e];if(!Zd[e])return e;var t=Zd[e];for(var n in t)if(t.hasOwnProperty(n)&&n in w3)return f1[e]=t[n];return e}var C3=iv("animationend"),x3=iv("animationiteration"),T3=iv("animationstart"),k3=iv("transitionend"),E3=new Map,R3=["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 Fu(e,t){E3.set(e,t),nt(t,[e])}function GF(){for(var e=0;e<R3.length;e++){var t=R3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Fu(n,"on"+i)}Fu(C3,"onAnimationEnd"),Fu(x3,"onAnimationIteration"),Fu(T3,"onAnimationStart"),Fu("dblclick","onDoubleClick"),Fu("focusin","onFocus"),Fu("focusout","onBlur"),Fu(k3,"onTransitionEnd")}function qF(e,t,n,i,c,f,g){var S=E3.get(t);if(S!==void 0){var x=a1,R=t;switch(t){case"keypress":if(tv(i)===0)return;case"keydown":case"keyup":x=KM;break;case"focusin":R="focus",x=i1;break;case"focusout":R="blur",x=i1;break;case"beforeblur":case"afterblur":x=i1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=e3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=IM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=QM;break;case C3:case x3:case T3:x=FM;break;case k3:x=eF;break;case"scroll":x=BM;break;case"wheel":x=rF;break;case"copy":case"cut":case"paste":x=jM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=r3;break}var N=(f&mp)!==0;{var Q=!N&&t==="scroll",J=QF(n,S,i.type,N,Q);if(J.length>0){var ge=new x(S,R,null,i,c);e.push({event:ge,listeners:J})}}}}GF(),DF(),vF(),VF(),oF();function KF(e,t,n,i,c,f,g){qF(e,t,n,i,c,f);var S=(f&WI)===0;S&&(LF(e,t,n,i,c),RF(e,t,n,i,c),$F(e,t,n,i,c),pF(e,t,n,i,c))}var Yp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],p1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Yp));function D3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,rP(i,t,void 0,e),e.currentTarget=null}function XF(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var f=t[c],g=f.instance,S=f.currentTarget,x=f.listener;if(g!==i&&e.isPropagationStopped())return;D3(e,x,S),i=g}else for(var R=0;R<t.length;R++){var N=t[R],Q=N.instance,J=N.currentTarget,ge=N.listener;if(Q!==i&&e.isPropagationStopped())return;D3(e,ge,J),i=Q}}function L3(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],f=c.event,g=c.listeners;XF(f,g,n)}aP()}function JF(e,t,n,i,c){var f=sb(n),g=[];KF(g,e,i,n,f,t),L3(g,t)}function ya(e,t){p1.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=Ez(t),c=t9(e,n);i.has(c)||(A3(t,e,lb,n),i.add(c))}function h1(e,t,n){p1.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),A3(n,e,i,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function $p(e){if(!e[lv]){e[lv]=!0,bt.forEach(function(n){n!=="selectionchange"&&(p1.has(n)||h1(n,!1,e),h1(n,!0,e))});var t=e.nodeType===Fs?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,h1("selectionchange",!1,t)))}}function A3(e,t,n,i,c){var f=wM(e,t,n),g=void 0;db&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var S;i?g!==void 0?S=RM(e,t,f,g):S=EM(e,t,f):g!==void 0?S=DM(e,t,f,g):S=kM(e,t,f)}function B3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function m1(e,t,n,i,c){var f=i;if(!(t&lC)&&!(t&lb)){var g=c;if(i!==null){var S=i;e:for(;;){if(S===null)return;var x=S.tag;if(x===y||x===C){var R=S.stateNode.containerInfo;if(B3(R,g))break;if(x===C)for(var N=S.return;N!==null;){var Q=N.tag;if(Q===y||Q===C){var J=N.stateNode.containerInfo;if(B3(J,g))return}N=N.return}for(;R!==null;){var ge=Fc(R);if(ge===null)return;var _e=ge.tag;if(_e===w||_e===k){S=f=ge;continue e}R=R.parentNode}}S=S.return}}}pC(function(){return JF(e,t,n,f)})}function Gp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function QF(e,t,n,i,c,f){for(var g=t!==null?t+"Capture":null,S=i?g:t,x=[],R=e,N=null;R!==null;){var Q=R,J=Q.stateNode,ge=Q.tag;if(ge===w&&J!==null&&(N=J,S!==null)){var _e=gp(R,S);_e!=null&&x.push(Gp(R,_e,N))}if(c)break;R=R.return}return x}function sv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var f=c,g=f.stateNode,S=f.tag;if(S===w&&g!==null){var x=g,R=gp(c,n);R!=null&&i.unshift(Gp(c,R,x));var N=gp(c,t);N!=null&&i.push(Gp(c,N,x))}c=c.return}return i}function ef(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function ZF(e,t){for(var n=e,i=t,c=0,f=n;f;f=ef(f))c++;for(var g=0,S=i;S;S=ef(S))g++;for(;c-g>0;)n=ef(n),c--;for(;g-c>0;)i=ef(i),g--;for(var x=c;x--;){if(n===i||i!==null&&n===i.alternate)return n;n=ef(n),i=ef(i)}return null}function N3(e,t,n,i,c){for(var f=t._reactName,g=[],S=n;S!==null&&S!==i;){var x=S,R=x.alternate,N=x.stateNode,Q=x.tag;if(R!==null&&R===i)break;if(Q===w&&N!==null){var J=N;if(c){var ge=gp(S,f);ge!=null&&g.unshift(Gp(S,ge,J))}else if(!c){var _e=gp(S,f);_e!=null&&g.push(Gp(S,_e,J))}}S=S.return}g.length!==0&&e.push({event:t,listeners:g})}function e9(e,t,n,i,c){var f=i&&c?ZF(i,c):null;i!==null&&N3(e,t,i,f,!1),c!==null&&n!==null&&N3(e,n,c,f,!0)}function t9(e,t){return e+"__"+(t?"capture":"bubble")}var Co=!1,qp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",zu="suppressHydrationWarning",O3="autoFocus",Pc="children",Mc="style",cv="__html",v1,dv,Kp,I3,fv,P3,M3;v1={dialog:!0,webview:!0},dv=function(e,t){MI(e,t),FI(e,t),VI(e,t,{registrationNameDependencies:yt,possibleRegistrationNames:It})},P3=Ct&&!document.documentMode,Kp=function(e,t,n){if(!Co){var i=pv(n),c=pv(t);c!==i&&(Co=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},I3=function(e){if(!Co){Co=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},fv=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)},M3=function(e,t){var n=e.namespaceURI===Ps?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var r9=/\r\n?/g,a9=/\u0000|\uFFFD/g;function pv(e){la(e);var t=typeof e=="string"?e:""+e;return t.replace(r9,`
32
+ `).replace(a9,"")}function hv(e,t,n,i){var c=pv(t),f=pv(e);if(f!==c&&(i&&(Co||(Co=!0,u('Text content did not match. Server: "%s" Client: "%s"',f,c))),n&&ne))throw new Error("Text content does not match server-rendered HTML.")}function F3(e){return e.nodeType===Fs?e:e.ownerDocument}function n9(){}function mv(e){e.onclick=n9}function o9(e,t,n,i,c){for(var f in i)if(i.hasOwnProperty(f)){var g=i[f];if(f===Mc)g&&Object.freeze(g),tC(t,g);else if(f===qp){var S=g?g[cv]:void 0;S!=null&&Xw(t,S)}else if(f===Pc)if(typeof g=="string"){var x=e!=="textarea"||g!=="";x&&Mm(t,g)}else typeof g=="number"&&Mm(t,""+g);else f===uv||f===zu||f===O3||(yt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&fv(f,g),f==="onScroll"&&ya("scroll",t)):g!=null&&j(t,f,g,c))}}function i9(e,t,n,i){for(var c=0;c<t.length;c+=2){var f=t[c],g=t[c+1];f===Mc?tC(e,g):f===qp?Xw(e,g):f===Pc?Mm(e,g):j(e,f,g,i)}}function l9(e,t,n,i){var c,f=F3(n),g,S=i;if(S===Ps&&(S=tb(e)),S===Ps){if(c=xc(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 x=f.createElement("div");x.innerHTML="<script></script>";var R=x.firstChild;g=x.removeChild(R)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var N=g;t.multiple?N.multiple=!0:t.size&&(N.size=t.size)}}else g=f.createElementNS(S,e);return S===Ps&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!zt.call(v1,e)&&(v1[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 s9(e,t){return F3(t).createTextNode(e)}function u9(e,t,n,i){var c=xc(t,n);dv(t,n);var f;switch(t){case"dialog":ya("cancel",e),ya("close",e),f=n;break;case"iframe":case"object":case"embed":ya("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Yp.length;g++)ya(Yp[g],e);f=n;break;case"source":ya("error",e),f=n;break;case"img":case"image":case"link":ya("error",e),ya("load",e),f=n;break;case"details":ya("toggle",e),f=n;break;case"input":Re(e,n),f=ve(e,n),ya("invalid",e);break;case"option":La(e,n),f=n;break;case"select":Yw(e,n),f=pp(e,n),ya("invalid",e);break;case"textarea":Gw(e,n),f=Z_(e,n),ya("invalid",e);break;default:f=n}switch(ib(t,f),o9(t,e,i,f,c),t){case"input":Bu(e),kt(e,n,!1);break;case"textarea":Bu(e),Kw(e);break;case"option":en(e,n);break;case"select":oI(e,n);break;default:typeof f.onClick=="function"&&mv(e);break}}function c9(e,t,n,i,c){dv(t,i);var f=null,g,S;switch(t){case"input":g=ve(e,n),S=ve(e,i),f=[];break;case"select":g=pp(e,n),S=pp(e,i),f=[];break;case"textarea":g=Z_(e,n),S=Z_(e,i),f=[];break;default:g=n,S=i,typeof g.onClick!="function"&&typeof S.onClick=="function"&&mv(e);break}ib(t,S);var x,R,N=null;for(x in g)if(!(S.hasOwnProperty(x)||!g.hasOwnProperty(x)||g[x]==null))if(x===Mc){var Q=g[x];for(R in Q)Q.hasOwnProperty(R)&&(N||(N={}),N[R]="")}else x===qp||x===Pc||x===uv||x===zu||x===O3||(yt.hasOwnProperty(x)?f||(f=[]):(f=f||[]).push(x,null));for(x in S){var J=S[x],ge=g!=null?g[x]:void 0;if(!(!S.hasOwnProperty(x)||J===ge||J==null&&ge==null))if(x===Mc)if(J&&Object.freeze(J),ge){for(R in ge)ge.hasOwnProperty(R)&&(!J||!J.hasOwnProperty(R))&&(N||(N={}),N[R]="");for(R in J)J.hasOwnProperty(R)&&ge[R]!==J[R]&&(N||(N={}),N[R]=J[R])}else N||(f||(f=[]),f.push(x,N)),N=J;else if(x===qp){var _e=J?J[cv]:void 0,Te=ge?ge[cv]:void 0;_e!=null&&Te!==_e&&(f=f||[]).push(x,_e)}else x===Pc?(typeof J=="string"||typeof J=="number")&&(f=f||[]).push(x,""+J):x===uv||x===zu||(yt.hasOwnProperty(x)?(J!=null&&(typeof J!="function"&&fv(x,J),x==="onScroll"&&ya("scroll",e)),!f&&ge!==J&&(f=[])):(f=f||[]).push(x,J))}return N&&(DI(N,S[Mc]),(f=f||[]).push(Mc,N)),f}function d9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&et(e,c);var f=xc(n,i),g=xc(n,c);switch(i9(e,t,f,g),n){case"input":jt(e,c);break;case"textarea":qw(e,c);break;case"select":iI(e,c);break}}function f9(e){{var t=e.toLowerCase();return Fm.hasOwnProperty(t)&&Fm[t]||null}}function p9(e,t,n,i,c,f,g){var S,x;switch(S=xc(t,n),dv(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 R=0;R<Yp.length;R++)ya(Yp[R],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":Re(e,n),ya("invalid",e);break;case"option":La(e,n);break;case"select":Yw(e,n),ya("invalid",e);break;case"textarea":Gw(e,n),ya("invalid",e);break}ib(t,n);{x=new Set;for(var N=e.attributes,Q=0;Q<N.length;Q++){var J=N[Q].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:x.add(N[Q].name)}}}var ge=null;for(var _e in n)if(n.hasOwnProperty(_e)){var Te=n[_e];if(_e===Pc)typeof Te=="string"?e.textContent!==Te&&(n[zu]!==!0&&hv(e.textContent,Te,f,g),ge=[Pc,Te]):typeof Te=="number"&&e.textContent!==""+Te&&(n[zu]!==!0&&hv(e.textContent,Te,f,g),ge=[Pc,""+Te]);else if(yt.hasOwnProperty(_e))Te!=null&&(typeof Te!="function"&&fv(_e,Te),_e==="onScroll"&&ya("scroll",e));else if(g&&typeof S=="boolean"){var lt=void 0,Nt=S&&He?null:Z(_e);if(n[zu]!==!0){if(!(_e===uv||_e===zu||_e==="value"||_e==="checked"||_e==="selected")){if(_e===qp){var Et=e.innerHTML,vr=Te?Te[cv]:void 0;if(vr!=null){var gr=M3(e,vr);gr!==Et&&Kp(_e,Et,gr)}}else if(_e===Mc){if(x.delete(_e),P3){var se=EI(Te);lt=e.getAttribute("style"),se!==lt&&Kp(_e,lt,se)}}else if(S&&!He)x.delete(_e.toLowerCase()),lt=tt(e,_e,Te),Te!==lt&&Kp(_e,lt,Te);else if(!_r(_e,Nt,S)&&!O(_e,Te,Nt,S)){var De=!1;if(Nt!==null)x.delete(Nt.attributeName),lt=Be(e,_e,Te,Nt);else{var ue=i;if(ue===Ps&&(ue=tb(t)),ue===Ps)x.delete(_e.toLowerCase());else{var Je=f9(_e);Je!==null&&Je!==_e&&(De=!0,x.delete(Je)),x.delete(_e)}lt=tt(e,_e,Te)}var mt=He;!mt&&Te!==lt&&!De&&Kp(_e,lt,Te)}}}}}switch(g&&x.size>0&&n[zu]!==!0&&I3(x),t){case"input":Bu(e),kt(e,n,!0);break;case"textarea":Bu(e),Kw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&mv(e);break}return ge}function h9(e,t,n){var i=e.nodeValue!==t;return i}function g1(e,t){{if(Co)return;Co=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function _1(e,t){{if(Co)return;Co=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function b1(e,t,n){{if(Co)return;Co=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function y1(e,t){{if(t===""||Co)return;Co=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function m9(e,t,n){switch(t){case"input":rr(e,n);return;case"textarea":sI(e,n);return;case"select":lI(e,n);return}}var Xp=function(){},Jp=function(){};{var v9=["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"],z3=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],g9=z3.concat(["button"]),_9=["dd","dt","li","option","optgroup","p","rp","rt"],j3={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Jp=function(e,t){var n=Pt({},e||j3),i={tag:t};return z3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),g9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),v9.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 b9=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 _9.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},y9=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},H3={};Xp=function(e,t,n){n=n||j3;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 f=b9(e,c)?null:i,g=f?null:y9(e,n),S=f||g;if(S){var x=S.tag,R=!!f+"|"+e+"|"+x;if(!H3[R]){H3[R]=!0;var N=e,Q="";if(e==="#text"?/\S/.test(t)?N="Text nodes":(N="Whitespace text nodes",Q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):N="<"+e+">",f){var J="";x==="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",N,x,Q,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",N,x)}}}}var vv="suppressHydrationWarning",gv="$",_v="/$",Qp="$?",Zp="$!",S9="style",S1=null,w1=null;function w9(e){var t,n,i=e.nodeType;switch(i){case Fs:case ab:{t=i===Fs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:rb(null,"");break}default:{var f=i===Ka?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=rb(g,t);break}}{var S=t.toLowerCase(),x=Jp(null,S);return{namespace:n,ancestorInfo:x}}}function C9(e,t,n){{var i=e,c=rb(i.namespace,t),f=Jp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:f}}}function GG(e){return e}function x9(e){S1=SM(),w1=FF();var t=null;return KC(!1),t}function T9(e){zF(w1),KC(S1),S1=null,w1=null}function k9(e,t,n,i,c){var f;{var g=i;if(Xp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,x=Jp(g.ancestorInfo,e);Xp(null,S,x)}f=g.namespace}var R=l9(e,t,n,f);return rh(c,R),L1(R,t),R}function E9(e,t){e.appendChild(t)}function R9(e,t,n,i,c){switch(u9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function D9(e,t,n,i,c,f){{var g=f;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var S=""+i.children,x=Jp(g.ancestorInfo,t);Xp(null,S,x)}}return c9(e,t,n,i)}function C1(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 L9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var f=s9(e,t);return rh(i,f),f}function A9(){var e=window.event;return e===void 0?Ys:XC(e.type)}var x1=typeof setTimeout=="function"?setTimeout:void 0,B9=typeof clearTimeout=="function"?clearTimeout:void 0,T1=-1,U3=typeof Promise=="function"?Promise:void 0,N9=typeof queueMicrotask=="function"?queueMicrotask:typeof U3!="undefined"?function(e){return U3.resolve(null).then(e).catch(O9)}:x1;function O9(e){setTimeout(function(){throw e})}function I9(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 P9(e,t,n,i,c,f){d9(e,t,n,i,c),L1(e,c)}function V3(e){Mm(e,"")}function M9(e,t,n){e.nodeValue=n}function F9(e,t){e.appendChild(t)}function z9(e,t){var n;e.nodeType===Ka?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&mv(n)}function j9(e,t,n){e.insertBefore(t,n)}function H9(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function U9(e,t){e.removeChild(t)}function V9(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function k1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ka){var f=c.data;if(f===_v)if(i===0){e.removeChild(c),Ip(t);return}else i--;else(f===gv||f===Qp||f===Zp)&&i++}n=c}while(n);Ip(t)}function W9(e,t){e.nodeType===Ka?k1(e.parentNode,t):e.nodeType===wo&&k1(e,t),Ip(e)}function Y9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function $9(e){e.nodeValue=""}function G9(e,t){e=e;var n=t[S9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=nb("display",i)}function q9(e,t){e.nodeValue=t}function K9(e){e.nodeType===wo?e.textContent="":e.nodeType===Fs&&e.documentElement&&e.removeChild(e.documentElement)}function X9(e,t,n){return e.nodeType!==wo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function J9(e,t){return t===""||e.nodeType!==Ms?null:e}function Q9(e){return e.nodeType!==Ka?null:e}function W3(e){return e.data===Qp}function E1(e){return e.data===Zp}function Z9(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 ez(e,t){e._reactRetry=t}function bv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===wo||t===Ms)break;if(t===Ka){var n=e.data;if(n===gv||n===Zp||n===Qp)break;if(n===_v)return null}}return e}function eh(e){return bv(e.nextSibling)}function tz(e){return bv(e.firstChild)}function rz(e){return bv(e.firstChild)}function az(e){return bv(e.nextSibling)}function nz(e,t,n,i,c,f,g){rh(f,e),L1(e,n);var S;{var x=c;S=x.namespace}var R=(f.mode&br)!==Mt;return p9(e,t,n,S,i,R,g)}function oz(e,t,n,i){rh(n,e);var c=(n.mode&br)!==Mt;return h9(e,t)}function iz(e,t){rh(t,e)}function lz(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===_v){if(n===0)return eh(t);n--}else(i===gv||i===Zp||i===Qp)&&n++}t=t.nextSibling}return null}function Y3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===gv||i===Zp||i===Qp){if(n===0)return t;n--}else i===_v&&n++}t=t.previousSibling}return null}function sz(e){Ip(e)}function uz(e){Ip(e)}function cz(e){return e!=="head"&&e!=="body"}function dz(e,t,n,i){var c=!0;hv(t.nodeValue,n,i,c)}function fz(e,t,n,i,c,f){if(t[vv]!==!0){var g=!0;hv(i.nodeValue,c,f,g)}}function pz(e,t){t.nodeType===wo?g1(e,t):t.nodeType===Ka||_1(e,t)}function hz(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===wo?g1(n,t):t.nodeType===Ka||_1(n,t))}}function mz(e,t,n,i,c){(c||t[vv]!==!0)&&(i.nodeType===wo?g1(n,i):i.nodeType===Ka||_1(n,i))}function vz(e,t,n){b1(e,t)}function gz(e,t){y1(e,t)}function _z(e,t,n){{var i=e.parentNode;i!==null&&b1(i,t)}}function bz(e,t){{var n=e.parentNode;n!==null&&y1(n,t)}}function yz(e,t,n,i,c,f){(f||t[vv]!==!0)&&b1(n,i)}function Sz(e,t,n,i,c){(c||t[vv]!==!0)&&y1(n,i)}function wz(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Cz(e){$p(e)}var tf=Math.random().toString(36).slice(2),rf="__reactFiber$"+tf,R1="__reactProps$"+tf,th="__reactContainer$"+tf,D1="__reactEvents$"+tf,xz="__reactListeners$"+tf,Tz="__reactHandles$"+tf;function kz(e){delete e[rf],delete e[R1],delete e[D1],delete e[xz],delete e[Tz]}function rh(e,t){t[rf]=e}function yv(e,t){t[th]=e}function $3(e){e[th]=null}function ah(e){return!!e[th]}function Fc(e){var t=e[rf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[rf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=Y3(e);c!==null;){var f=c[rf];if(f)return f;c=Y3(c)}return t}e=n,n=e.parentNode}return null}function ju(e){var t=e[rf]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===G||t.tag===y)?t:null}function af(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Sv(e){return e[R1]||null}function L1(e,t){e[R1]=t}function Ez(e){var t=e[D1];return t===void 0&&(t=e[D1]=new Set),t}var G3={},q3=o.ReactDebugCurrentFrame;function wv(e){if(e){var t=e._owner,n=Ed(e.type,e._source,t?t.type:null);q3.setExtraStackFrame(n)}else q3.setExtraStackFrame(null)}function zl(e,t,n,i,c){{var f=Function.call.bind(zt);for(var g in e)if(f(e,g)){var S=void 0;try{if(typeof e[g]!="function"){var x=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 x.name="Invariant Violation",x}S=e[g](t,g,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){S=R}S&&!(S instanceof Error)&&(wv(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 S),wv(null)),S instanceof Error&&!(S.message in G3)&&(G3[S.message]=!0,wv(c),u("Failed %s type: %s",n,S.message),wv(null))}}}var A1=[],Cv;Cv=[];var $s=-1;function Hu(e){return{current:e}}function zn(e,t){if($s<0){u("Unexpected pop.");return}t!==Cv[$s]&&u("Unexpected Fiber popped."),e.current=A1[$s],A1[$s]=null,Cv[$s]=null,$s--}function jn(e,t,n){$s++,A1[$s]=e.current,Cv[$s]=n,e.current=t}var B1;B1={};var Ho={};Object.freeze(Ho);var Gs=Hu(Ho),ms=Hu(!1),N1=Ho;function nf(e,t,n){return n&&vs(t)?N1:Gs.current}function K3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function of(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 f={};for(var g in i)f[g]=t[g];{var S=or(e)||"Unknown";zl(i,f,"context",S)}return c&&K3(e,t,f),f}}function xv(){return ms.current}function vs(e){{var t=e.childContextTypes;return t!=null}}function Tv(e){zn(ms,e),zn(Gs,e)}function O1(e){zn(ms,e),zn(Gs,e)}function X3(e,t,n){{if(Gs.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");jn(Gs,t,e),jn(ms,n,e)}}function J3(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var f=or(e)||"Unknown";B1[f]||(B1[f]=!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.",f,f))}return n}var g=i.getChildContext();for(var S in g)if(!(S in c))throw new Error((or(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var x=or(e)||"Unknown";zl(c,g,"child context",x)}return Pt({},n,g)}}function kv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return N1=Gs.current,jn(Gs,n,e),jn(ms,ms.current,e),!0}}function Q3(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=J3(e,t,N1);i.__reactInternalMemoizedMergedChildContext=c,zn(ms,e),zn(Gs,e),jn(Gs,c,e),jn(ms,n,e)}else zn(ms,e),jn(ms,n,e)}}function Rz(e){{if(!cP(e)||e.tag!==v)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case y:return t.stateNode.context;case v:{var n=t.type;if(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 Uu=0,Ev=1,qs=null,I1=!1,P1=!1;function Z3(e){qs===null?qs=[e]:qs.push(e)}function Dz(e){I1=!0,Z3(e)}function ex(){I1&&Vu()}function Vu(){if(!P1&&qs!==null){P1=!0;var e=0,t=Fl();try{var n=!0,i=qs;for(yn(Fo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}qs=null,I1=!1}catch(f){throw qs!==null&&(qs=qs.slice(e+1)),xC(Vm,Vu),f}finally{yn(t),P1=!1}}return null}var lf=[],sf=0,Rv=null,Dv=0,gl=[],_l=0,zc=null,Ks=1,Xs="";function Lz(e){return Hc(),(e.flags&vC)!==Ut}function Az(e){return Hc(),Dv}function Bz(){var e=Xs,t=Ks,n=t&~Nz(t);return n.toString(32)+e}function jc(e,t){Hc(),lf[sf++]=Dv,lf[sf++]=Rv,Rv=e,Dv=t}function tx(e,t,n){Hc(),gl[_l++]=Ks,gl[_l++]=Xs,gl[_l++]=zc,zc=e;var i=Ks,c=Xs,f=Lv(i)-1,g=i&~(1<<f),S=n+1,x=Lv(t)+f;if(x>30){var R=f-f%5,N=(1<<R)-1,Q=(g&N).toString(32),J=g>>R,ge=f-R,_e=Lv(t)+ge,Te=S<<ge,lt=Te|J,Nt=Q+c;Ks=1<<_e|lt,Xs=Nt}else{var Et=S<<f,vr=Et|g,gr=c;Ks=1<<x|vr,Xs=gr}}function M1(e){Hc();var t=e.return;if(t!==null){var n=1,i=0;jc(e,n),tx(e,n,i)}}function Lv(e){return 32-LC(e)}function Nz(e){return 1<<Lv(e)-1}function F1(e){for(;e===Rv;)Rv=lf[--sf],lf[sf]=null,Dv=lf[--sf],lf[sf]=null;for(;e===zc;)zc=gl[--_l],gl[_l]=null,Xs=gl[--_l],gl[_l]=null,Ks=gl[--_l],gl[_l]=null}function Oz(){return Hc(),zc!==null?{id:Ks,overflow:Xs}:null}function Iz(e,t){Hc(),gl[_l++]=Ks,gl[_l++]=Xs,gl[_l++]=zc,Ks=t.id,Xs=t.overflow,zc=e}function Hc(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,bl=null,jl=!1,Uc=!1,Wu=null;function Pz(){jl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rx(){Uc=!0}function Mz(){return Uc}function Fz(e){var t=e.stateNode.containerInfo;return bl=rz(t),xn=e,jl=!0,Wu=null,Uc=!1,!0}function zz(e,t,n){return bl=az(t),xn=e,jl=!0,Wu=null,Uc=!1,n!==null&&Iz(e,n),!0}function ax(e,t){switch(e.tag){case y:{pz(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&br)!==Mt;mz(e.type,e.memoizedProps,e.stateNode,t,n);break}case G:{var i=e.memoizedState;i.dehydrated!==null&&hz(i.dehydrated,t);break}}}function nx(e,t){ax(e,t);var n=qU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Tc):i.push(n)}function z1(e,t){{if(Uc)return;switch(e.tag){case y:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;vz(n,i);break;case k:var f=t.pendingProps;gz(n,f);break}break}case w:{var g=e.type,S=e.memoizedProps,x=e.stateNode;switch(t.tag){case w:{var R=t.type,N=t.pendingProps,Q=(e.mode&br)!==Mt;yz(g,S,x,R,N,Q);break}case k:{var J=t.pendingProps,ge=(e.mode&br)!==Mt;Sz(g,S,x,J,ge);break}}break}case G:{var _e=e.memoizedState,Te=_e.dehydrated;if(Te!==null)switch(t.tag){case w:var lt=t.type,Nt=t.pendingProps;_z(Te,lt);break;case k:var Et=t.pendingProps;bz(Te,Et);break}break}default:return}}}function ox(e,t){t.flags=t.flags&~js|Xa,z1(e,t)}function ix(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=X9(t,n);return c!==null?(e.stateNode=c,xn=e,bl=tz(c),!0):!1}case k:{var f=e.pendingProps,g=J9(t,f);return g!==null?(e.stateNode=g,xn=e,bl=null,!0):!1}case G:{var S=Q9(t);if(S!==null){var x={dehydrated:S,treeContext:Oz(),retryLane:Po};e.memoizedState=x;var R=KU(S);return R.return=e,e.child=R,xn=e,bl=null,!0}return!1}default:return!1}}function j1(e){return(e.mode&br)!==Mt&&(e.flags&Mr)===Ut}function H1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function U1(e){if(jl){var t=bl;if(!t){j1(e)&&(z1(xn,e),H1()),ox(xn,e),jl=!1,xn=e;return}var n=t;if(!ix(e,t)){j1(e)&&(z1(xn,e),H1()),t=eh(n);var i=xn;if(!t||!ix(e,t)){ox(xn,e),jl=!1,xn=e;return}nx(i,n)}}}function jz(e,t,n){var i=e.stateNode,c=!Uc,f=nz(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=f,f!==null}function Hz(e){var t=e.stateNode,n=e.memoizedProps,i=oz(t,n,e);if(i){var c=xn;if(c!==null)switch(c.tag){case y:{var f=c.stateNode.containerInfo,g=(c.mode&br)!==Mt;dz(f,t,n,g);break}case w:{var S=c.type,x=c.memoizedProps,R=c.stateNode,N=(c.mode&br)!==Mt;fz(S,x,R,t,n,N);break}}}return i}function Uz(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.");iz(n,e)}function Vz(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 lz(n)}function lx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==y&&t.tag!==G;)t=t.return;xn=t}function Av(e){if(e!==xn)return!1;if(!jl)return lx(e),jl=!0,!1;if(e.tag!==y&&(e.tag!==w||cz(e.type)&&!C1(e.type,e.memoizedProps))){var t=bl;if(t)if(j1(e))sx(e),H1();else for(;t;)nx(e,t),t=eh(t)}return lx(e),e.tag===G?bl=Vz(e):bl=xn?eh(e.stateNode):null,!0}function Wz(){return jl&&bl!==null}function sx(e){for(var t=bl;t;)ax(e,t),t=eh(t)}function uf(){xn=null,bl=null,jl=!1,Uc=!1}function ux(){Wu!==null&&(aT(Wu),Wu=null)}function Tn(){return jl}function V1(e){Wu===null?Wu=[e]:Wu.push(e)}var Yz=o.ReactCurrentBatchConfig,$z=null;function Gz(){return Yz.transition}var Hl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var qz=function(e){for(var t=null,n=e;n!==null;)n.mode&Oa&&(t=n),n=n.return;return t},Vc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],uh=[],Wc=new Set;Hl.recordUnsafeLifecycleWarnings=function(e,t){Wc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Oa&&typeof t.UNSAFE_componentWillUpdate=="function"&&uh.push(e))},Hl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(J){e.add(or(J)||"Component"),Wc.add(J.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(J){t.add(or(J)||"Component"),Wc.add(J.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(J){n.add(or(J)||"Component"),Wc.add(J.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(J){i.add(or(J)||"Component"),Wc.add(J.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(J){c.add(or(J)||"Component"),Wc.add(J.type)}),sh=[]);var f=new Set;if(uh.length>0&&(uh.forEach(function(J){f.add(or(J)||"Component"),Wc.add(J.type)}),uh=[]),t.size>0){var g=Vc(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
 
@@ -68,7 +68,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}
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 Nv(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 Ov(e){{var t=or(e)||"Component";if(q1[t])return;q1[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 fx(e){var t=e._payload,n=e._init;return n(t)}function px(e){function t(se,De){if(e){var ue=se.deletions;ue===null?(se.deletions=[De],se.flags|=Tc):ue.push(De)}}function n(se,De){if(!e)return null;for(var ue=De;ue!==null;)t(se,ue),ue=ue.sibling;return null}function i(se,De){for(var ue=new Map,Je=De;Je!==null;)Je.key!==null?ue.set(Je.key,Je):ue.set(Je.index,Je),Je=Je.sibling;return ue}function c(se,De){var ue=Zc(se,De);return ue.index=0,ue.sibling=null,ue}function f(se,De,ue){if(se.index=ue,!e)return se.flags|=vC,De;var Je=se.alternate;if(Je!==null){var mt=Je.index;return mt<De?(se.flags|=Xa,De):mt}else return se.flags|=Xa,De}function g(se){return e&&se.alternate===null&&(se.flags|=Xa),se}function S(se,De,ue,Je){if(De===null||De.tag!==k){var mt=Wy(ue,se.mode,Je);return mt.return=se,mt}else{var ut=c(De,ue);return ut.return=se,ut}}function x(se,De,ue,Je){var mt=ue.type;if(mt===le)return N(se,De,ue.props.children,Je,ue.key);if(De!==null&&(De.elementType===mt||bT(De,ue)||typeof mt=="object"&&mt!==null&&mt.$$typeof===rt&&fx(mt)===De.type)){var ut=c(De,ue.props);return ut.ref=ch(se,De,ue),ut.return=se,ut._debugSource=ue._source,ut._debugOwner=ue._owner,ut}var Wt=Vy(ue,se.mode,Je);return Wt.ref=ch(se,De,ue),Wt.return=se,Wt}function R(se,De,ue,Je){if(De===null||De.tag!==C||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var mt=Yy(ue,se.mode,Je);return mt.return=se,mt}else{var ut=c(De,ue.children||[]);return ut.return=se,ut}}function N(se,De,ue,Je,mt){if(De===null||De.tag!==B){var ut=tc(ue,se.mode,Je,mt);return ut.return=se,ut}else{var Wt=c(De,ue);return Wt.return=se,Wt}}function Q(se,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var Je=Wy(""+De,se.mode,ue);return Je.return=se,Je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case Y:{var mt=Vy(De,se.mode,ue);return mt.ref=ch(se,null,De),mt.return=se,mt}case ee:{var ut=Yy(De,se.mode,ue);return ut.return=se,ut}case rt:{var Wt=De._payload,Zt=De._init;return Q(se,Zt(Wt),ue)}}if(tn(De)||qa(De)){var Zr=tc(De,se.mode,ue,null);return Zr.return=se,Zr}Nv(se,De)}return typeof De=="function"&&Ov(se),null}function J(se,De,ue,Je){var mt=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return mt!==null?null:S(se,De,""+ue,Je);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Y:return ue.key===mt?x(se,De,ue,Je):null;case ee:return ue.key===mt?R(se,De,ue,Je):null;case rt:{var ut=ue._payload,Wt=ue._init;return J(se,De,Wt(ut),Je)}}if(tn(ue)||qa(ue))return mt!==null?null:N(se,De,ue,Je,null);Nv(se,ue)}return typeof ue=="function"&&Ov(se),null}function ge(se,De,ue,Je,mt){if(typeof Je=="string"&&Je!==""||typeof Je=="number"){var ut=se.get(ue)||null;return S(De,ut,""+Je,mt)}if(typeof Je=="object"&&Je!==null){switch(Je.$$typeof){case Y:{var Wt=se.get(Je.key===null?ue:Je.key)||null;return x(De,Wt,Je,mt)}case ee:{var Zt=se.get(Je.key===null?ue:Je.key)||null;return R(De,Zt,Je,mt)}case rt:var Zr=Je._payload,Dr=Je._init;return ge(se,De,ue,Dr(Zr),mt)}if(tn(Je)||qa(Je)){var Wa=se.get(ue)||null;return N(De,Wa,Je,mt,null)}Nv(De,Je)}return typeof Je=="function"&&Ov(De),null}function _e(se,De,ue){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case Y:case ee:dx(se,ue);var Je=se.key;if(typeof Je!="string")break;if(De===null){De=new Set,De.add(Je);break}if(!De.has(Je)){De.add(Je);break}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.",Je);break;case rt:var mt=se._payload,ut=se._init;_e(ut(mt),De,ue);break}}return De}function Te(se,De,ue,Je){for(var mt=null,ut=0;ut<ue.length;ut++){var Wt=ue[ut];mt=_e(Wt,mt,se)}for(var Zt=null,Zr=null,Dr=De,Wa=0,Lr=0,Ia=null;Dr!==null&&Lr<ue.length;Lr++){Dr.index>Lr?(Ia=Dr,Dr=null):Ia=Dr.sibling;var Un=J(se,Dr,ue[Lr],Je);if(Un===null){Dr===null&&(Dr=Ia);break}e&&Dr&&Un.alternate===null&&t(se,Dr),Wa=f(Un,Wa,Lr),Zr===null?Zt=Un:Zr.sibling=Un,Zr=Un,Dr=Ia}if(Lr===ue.length){if(n(se,Dr),Tn()){var Bn=Lr;jc(se,Bn)}return Zt}if(Dr===null){for(;Lr<ue.length;Lr++){var Vo=Q(se,ue[Lr],Je);Vo!==null&&(Wa=f(Vo,Wa,Lr),Zr===null?Zt=Vo:Zr.sibling=Vo,Zr=Vo)}if(Tn()){var to=Lr;jc(se,to)}return Zt}for(var ro=i(se,Dr);Lr<ue.length;Lr++){var Vn=ge(ro,se,Lr,ue[Lr],Je);Vn!==null&&(e&&Vn.alternate!==null&&ro.delete(Vn.key===null?Lr:Vn.key),Wa=f(Vn,Wa,Lr),Zr===null?Zt=Vn:Zr.sibling=Vn,Zr=Vn)}if(e&&ro.forEach(function(Rf){return t(se,Rf)}),Tn()){var au=Lr;jc(se,au)}return Zt}function lt(se,De,ue,Je){var mt=qa(ue);if(typeof mt!="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"&&(Y1||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."),Y1=!0),ue.entries===mt&&(W1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),W1=!0);var ut=mt.call(ue);if(ut)for(var Wt=null,Zt=ut.next();!Zt.done;Zt=ut.next()){var Zr=Zt.value;Wt=_e(Zr,Wt,se)}}var Dr=mt.call(ue);if(Dr==null)throw new Error("An iterable object provided no iterator.");for(var Wa=null,Lr=null,Ia=De,Un=0,Bn=0,Vo=null,to=Dr.next();Ia!==null&&!to.done;Bn++,to=Dr.next()){Ia.index>Bn?(Vo=Ia,Ia=null):Vo=Ia.sibling;var ro=J(se,Ia,to.value,Je);if(ro===null){Ia===null&&(Ia=Vo);break}e&&Ia&&ro.alternate===null&&t(se,Ia),Un=f(ro,Un,Bn),Lr===null?Wa=ro:Lr.sibling=ro,Lr=ro,Ia=Vo}if(to.done){if(n(se,Ia),Tn()){var Vn=Bn;jc(se,Vn)}return Wa}if(Ia===null){for(;!to.done;Bn++,to=Dr.next()){var au=Q(se,to.value,Je);au!==null&&(Un=f(au,Un,Bn),Lr===null?Wa=au:Lr.sibling=au,Lr=au)}if(Tn()){var Rf=Bn;jc(se,Rf)}return Wa}for(var Uh=i(se,Ia);!to.done;Bn++,to=Dr.next()){var xs=ge(Uh,se,Bn,to.value,Je);xs!==null&&(e&&xs.alternate!==null&&Uh.delete(xs.key===null?Bn:xs.key),Un=f(xs,Un,Bn),Lr===null?Wa=xs:Lr.sibling=xs,Lr=xs)}if(e&&Uh.forEach(function(kV){return t(se,kV)}),Tn()){var TV=Bn;jc(se,TV)}return Wa}function Nt(se,De,ue,Je){if(De!==null&&De.tag===k){n(se,De.sibling);var mt=c(De,ue);return mt.return=se,mt}n(se,De);var ut=Wy(ue,se.mode,Je);return ut.return=se,ut}function Et(se,De,ue,Je){for(var mt=ue.key,ut=De;ut!==null;){if(ut.key===mt){var Wt=ue.type;if(Wt===le){if(ut.tag===B){n(se,ut.sibling);var Zt=c(ut,ue.props.children);return Zt.return=se,Zt._debugSource=ue._source,Zt._debugOwner=ue._owner,Zt}}else if(ut.elementType===Wt||bT(ut,ue)||typeof Wt=="object"&&Wt!==null&&Wt.$$typeof===rt&&fx(Wt)===ut.type){n(se,ut.sibling);var Zr=c(ut,ue.props);return Zr.ref=ch(se,ut,ue),Zr.return=se,Zr._debugSource=ue._source,Zr._debugOwner=ue._owner,Zr}n(se,ut);break}else t(se,ut);ut=ut.sibling}if(ue.type===le){var Dr=tc(ue.props.children,se.mode,Je,ue.key);return Dr.return=se,Dr}else{var Wa=Vy(ue,se.mode,Je);return Wa.ref=ch(se,De,ue),Wa.return=se,Wa}}function vr(se,De,ue,Je){for(var mt=ue.key,ut=De;ut!==null;){if(ut.key===mt)if(ut.tag===C&&ut.stateNode.containerInfo===ue.containerInfo&&ut.stateNode.implementation===ue.implementation){n(se,ut.sibling);var Wt=c(ut,ue.children||[]);return Wt.return=se,Wt}else{n(se,ut);break}else t(se,ut);ut=ut.sibling}var Zt=Yy(ue,se.mode,Je);return Zt.return=se,Zt}function gr(se,De,ue,Je){var mt=typeof ue=="object"&&ue!==null&&ue.type===le&&ue.key===null;if(mt&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Y:return g(Et(se,De,ue,Je));case ee:return g(vr(se,De,ue,Je));case rt:var ut=ue._payload,Wt=ue._init;return gr(se,De,Wt(ut),Je)}if(tn(ue))return Te(se,De,ue,Je);if(qa(ue))return lt(se,De,ue,Je);Nv(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?g(Nt(se,De,""+ue,Je)):(typeof ue=="function"&&Ov(se),n(se,De))}return gr}var cf=px(!0),hx=px(!1);function Xz(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=Zc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Zc(n,n.pendingProps),i.return=t;i.sibling=null}}function Jz(e,t){for(var n=e.child;n!==null;)VU(n,t),n=n.sibling}var K1=Hu(null),X1;X1={};var Iv=null,df=null,J1=null,Pv=!1;function Mv(){Iv=null,df=null,J1=null,Pv=!1}function mx(){Pv=!0}function vx(){Pv=!1}function gx(e,t,n){jn(K1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==X1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=X1}function Q1(e,t){var n=K1.current;zn(K1,t),e._currentValue=n}function Z1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(qd(i.childLanes,t)?c!==null&&!qd(c.childLanes,t)&&(c.childLanes=ur(c.childLanes,t)):(i.childLanes=ur(i.childLanes,t),c!==null&&(c.childLanes=ur(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 Qz(e,t,n){Zz(e,t,n)}function Zz(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,f=i.dependencies;if(f!==null){c=i.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(i.tag===v){var S=Rp(n),x=Js(ga,S);x.tag=zv;var R=i.updateQueue;if(R!==null){var N=R.shared,Q=N.pending;Q===null?x.next=x:(x.next=Q.next,Q.next=x),N.pending=x}}i.lanes=ur(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=ur(J.lanes,n)),Z1(i.return,n,e),f.lanes=ur(f.lanes,n);break}g=g.next}}else if(i.tag===F)c=i.type===e.type?null:i.child;else if(i.tag===be){var ge=i.return;if(ge===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ge.lanes=ur(ge.lanes,n);var _e=ge.alternate;_e!==null&&(_e.lanes=ur(_e.lanes,n)),Z1(ge,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 Te=c.sibling;if(Te!==null){Te.return=c.return,c=Te;break}c=c.return}i=c}}function ff(e,t){Iv=e,df=null,J1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Mo(n.lanes,t)&&Th(),n.firstContext=null)}}function Ja(e){Pv&&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(J1!==e){var n={context:e,memoizedValue:t,next:null};if(df===null){if(Iv===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().");df=n,Iv.dependencies={lanes:je,firstContext:n}}else df=df.next=n}return t}var Yc=null;function e0(e){Yc===null?Yc=[e]:Yc.push(e)}function ej(){if(Yc!==null){for(var e=0;e<Yc.length;e++){var t=Yc[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var f=c.next;c.next=i,n.next=f}t.pending=n}}Yc=null}}function _x(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n,Fv(e,i)}function tj(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n}function rj(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n,Fv(e,i)}function xo(e,t){return Fv(e,t)}var aj=Fv;function Fv(e,t){e.lanes=ur(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ur(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==Ut&&mT(e);for(var i=e,c=e.return;c!==null;)c.childLanes=ur(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=ur(n.childLanes,t):(c.flags&(Xa|js))!==Ut&&mT(e),i=c,c=c.return;if(i.tag===y){var f=i.stateNode;return f}else return null}var bx=0,yx=1,zv=2,t0=3,jv=!1,r0,Hv;r0=!1,Hv=null;function a0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:je},effects:null};e.updateQueue=t}function Sx(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 Js(e,t){var n={eventTime:e,lane:t,tag:bx,payload:null,callback:null,next:null};return n}function Yu(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Hv===c&&!r0&&(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."),r0=!0),iU()){var f=c.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),c.pending=t,aj(e,n)}else return rj(e,c,t,n)}function Uv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(OC(n)){var f=c.lanes;f=PC(f,e.pendingLanes);var g=ur(f,n);c.lanes=g,Kb(e,g)}}}function n0(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var f=null,g=null,S=n.firstBaseUpdate;if(S!==null){var x=S;do{var R={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};g===null?f=g=R:(g.next=R,g=R),x=x.next}while(x!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var N=n.lastBaseUpdate;N===null?n.firstBaseUpdate=t:N.next=t,n.lastBaseUpdate=t}function nj(e,t,n,i,c,f){switch(n.tag){case yx:{var g=n.payload;if(typeof g=="function"){mx();var S=g.call(f,i,c);{if(e.mode&Oa){_n(!0);try{g.call(f,i,c)}finally{_n(!1)}}vx()}return S}return g}case t0:e.flags=e.flags&~Jn|Pr;case bx:{var x=n.payload,R;if(typeof x=="function"){mx(),R=x.call(f,i,c);{if(e.mode&Oa){_n(!0);try{x.call(f,i,c)}finally{_n(!1)}}vx()}}else R=x;return R==null?i:Pt({},i,R)}case zv:return jv=!0,i}return i}function Vv(e,t,n,i){var c=e.updateQueue;jv=!1,Hv=c.shared;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var x=S,R=x.next;x.next=null,g===null?f=R:g.next=R,g=x;var N=e.alternate;if(N!==null){var Q=N.updateQueue,J=Q.lastBaseUpdate;J!==g&&(J===null?Q.firstBaseUpdate=R:J.next=R,Q.lastBaseUpdate=x)}}if(f!==null){var ge=c.baseState,_e=je,Te=null,lt=null,Nt=null,Et=f;do{var vr=Et.lane,gr=Et.eventTime;if(qd(i,vr)){if(Nt!==null){var De={eventTime:gr,lane:bn,tag:Et.tag,payload:Et.payload,callback:Et.callback,next:null};Nt=Nt.next=De}ge=nj(e,c,Et,ge,t,n);var ue=Et.callback;if(ue!==null&&Et.lane!==bn){e.flags|=vb;var Je=c.effects;Je===null?c.effects=[Et]:Je.push(Et)}}else{var se={eventTime:gr,lane:vr,tag:Et.tag,payload:Et.payload,callback:Et.callback,next:null};Nt===null?(lt=Nt=se,Te=ge):Nt=Nt.next=se,_e=ur(_e,vr)}if(Et=Et.next,Et===null){if(S=c.shared.pending,S===null)break;var mt=S,ut=mt.next;mt.next=null,Et=ut,c.lastBaseUpdate=mt,c.shared.pending=null}}while(!0);Nt===null&&(Te=ge),c.baseState=Te,c.firstBaseUpdate=lt,c.lastBaseUpdate=Nt;var Wt=c.shared.interleaved;if(Wt!==null){var Zt=Wt;do _e=ur(_e,Zt.lane),Zt=Zt.next;while(Zt!==Wt)}else f===null&&(c.shared.lanes=je);Mh(_e),e.lanes=_e,e.memoizedState=ge}Hv=null}function oj(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function wx(){jv=!1}function Wv(){return jv}function Cx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var f=i[c],g=f.callback;g!==null&&(f.callback=null,oj(g,n))}}var dh={},$u=Hu(dh),fh=Hu(dh),Yv=Hu(dh);function $v(e){if(e===dh)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 xx(){var e=$v(Yv.current);return e}function o0(e,t){jn(Yv,t,e),jn(fh,e,e),jn($u,dh,e);var n=w9(t);zn($u,e),jn($u,n,e)}function pf(e){zn($u,e),zn(fh,e),zn(Yv,e)}function i0(){var e=$v($u.current);return e}function Tx(e){var t=$v(Yv.current),n=$v($u.current),i=C9(n,e.type);n!==i&&(jn(fh,e,e),jn($u,i,e))}function l0(e){fh.current===e&&(zn($u,e),zn(fh,e))}var ij=0,kx=1,Ex=1,ph=2,Ul=Hu(ij);function s0(e,t){return(e&t)!==0}function hf(e){return e&kx}function u0(e,t){return e&kx|t}function lj(e,t){return e|t}function Gu(e,t){jn(Ul,t,e)}function mf(e){zn(Ul,e)}function sj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Gv(e){for(var t=e;t!==null;){if(t.tag===G){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||W3(i)||E1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Pr)!==Ut;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 To=0,rn=1,gs=2,an=4,kn=8,c0=[];function d0(){for(var e=0;e<c0.length;e++){var t=c0[e];t._workInProgressVersionPrimary=null}c0.length=0}function uj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ht=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,f0,vf;f0=new Set;var $c=je,Qr=null,nn=null,on=null,qv=!1,mh=!1,vh=0,cj=0,dj=25,Ne=null,yl=null,qu=-1,p0=!1;function zr(){{var e=Ne;yl===null?yl=[e]:yl.push(e)}}function it(){{var e=Ne;yl!==null&&(qu++,yl[qu]!==e&&fj(e))}}function gf(e){e!=null&&!tn(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ne,typeof e)}function fj(e){{var t=or(Qr);if(!f0.has(t)&&(f0.add(t),yl!==null)){for(var n="",i=30,c=0;c<=qu;c++){for(var f=yl[c],g=c===qu?e:f,S=c+1+". "+f;S.length<i;)S+=" ";S+=g+`
71
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Nv(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 Ov(e){{var t=or(e)||"Component";if(q1[t])return;q1[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 fx(e){var t=e._payload,n=e._init;return n(t)}function px(e){function t(se,De){if(e){var ue=se.deletions;ue===null?(se.deletions=[De],se.flags|=Tc):ue.push(De)}}function n(se,De){if(!e)return null;for(var ue=De;ue!==null;)t(se,ue),ue=ue.sibling;return null}function i(se,De){for(var ue=new Map,Je=De;Je!==null;)Je.key!==null?ue.set(Je.key,Je):ue.set(Je.index,Je),Je=Je.sibling;return ue}function c(se,De){var ue=Zc(se,De);return ue.index=0,ue.sibling=null,ue}function f(se,De,ue){if(se.index=ue,!e)return se.flags|=vC,De;var Je=se.alternate;if(Je!==null){var mt=Je.index;return mt<De?(se.flags|=Xa,De):mt}else return se.flags|=Xa,De}function g(se){return e&&se.alternate===null&&(se.flags|=Xa),se}function S(se,De,ue,Je){if(De===null||De.tag!==k){var mt=Wy(ue,se.mode,Je);return mt.return=se,mt}else{var ut=c(De,ue);return ut.return=se,ut}}function x(se,De,ue,Je){var mt=ue.type;if(mt===le)return N(se,De,ue.props.children,Je,ue.key);if(De!==null&&(De.elementType===mt||bT(De,ue)||typeof mt=="object"&&mt!==null&&mt.$$typeof===rt&&fx(mt)===De.type)){var ut=c(De,ue.props);return ut.ref=ch(se,De,ue),ut.return=se,ut._debugSource=ue._source,ut._debugOwner=ue._owner,ut}var Wt=Vy(ue,se.mode,Je);return Wt.ref=ch(se,De,ue),Wt.return=se,Wt}function R(se,De,ue,Je){if(De===null||De.tag!==C||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var mt=Yy(ue,se.mode,Je);return mt.return=se,mt}else{var ut=c(De,ue.children||[]);return ut.return=se,ut}}function N(se,De,ue,Je,mt){if(De===null||De.tag!==B){var ut=tc(ue,se.mode,Je,mt);return ut.return=se,ut}else{var Wt=c(De,ue);return Wt.return=se,Wt}}function Q(se,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var Je=Wy(""+De,se.mode,ue);return Je.return=se,Je}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case Y:{var mt=Vy(De,se.mode,ue);return mt.ref=ch(se,null,De),mt.return=se,mt}case ee:{var ut=Yy(De,se.mode,ue);return ut.return=se,ut}case rt:{var Wt=De._payload,Zt=De._init;return Q(se,Zt(Wt),ue)}}if(tn(De)||qa(De)){var Zr=tc(De,se.mode,ue,null);return Zr.return=se,Zr}Nv(se,De)}return typeof De=="function"&&Ov(se),null}function J(se,De,ue,Je){var mt=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return mt!==null?null:S(se,De,""+ue,Je);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Y:return ue.key===mt?x(se,De,ue,Je):null;case ee:return ue.key===mt?R(se,De,ue,Je):null;case rt:{var ut=ue._payload,Wt=ue._init;return J(se,De,Wt(ut),Je)}}if(tn(ue)||qa(ue))return mt!==null?null:N(se,De,ue,Je,null);Nv(se,ue)}return typeof ue=="function"&&Ov(se),null}function ge(se,De,ue,Je,mt){if(typeof Je=="string"&&Je!==""||typeof Je=="number"){var ut=se.get(ue)||null;return S(De,ut,""+Je,mt)}if(typeof Je=="object"&&Je!==null){switch(Je.$$typeof){case Y:{var Wt=se.get(Je.key===null?ue:Je.key)||null;return x(De,Wt,Je,mt)}case ee:{var Zt=se.get(Je.key===null?ue:Je.key)||null;return R(De,Zt,Je,mt)}case rt:var Zr=Je._payload,Dr=Je._init;return ge(se,De,ue,Dr(Zr),mt)}if(tn(Je)||qa(Je)){var Wa=se.get(ue)||null;return N(De,Wa,Je,mt,null)}Nv(De,Je)}return typeof Je=="function"&&Ov(De),null}function _e(se,De,ue){{if(typeof se!="object"||se===null)return De;switch(se.$$typeof){case Y:case ee:dx(se,ue);var Je=se.key;if(typeof Je!="string")break;if(De===null){De=new Set,De.add(Je);break}if(!De.has(Je)){De.add(Je);break}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.",Je);break;case rt:var mt=se._payload,ut=se._init;_e(ut(mt),De,ue);break}}return De}function Te(se,De,ue,Je){for(var mt=null,ut=0;ut<ue.length;ut++){var Wt=ue[ut];mt=_e(Wt,mt,se)}for(var Zt=null,Zr=null,Dr=De,Wa=0,Lr=0,Ia=null;Dr!==null&&Lr<ue.length;Lr++){Dr.index>Lr?(Ia=Dr,Dr=null):Ia=Dr.sibling;var Un=J(se,Dr,ue[Lr],Je);if(Un===null){Dr===null&&(Dr=Ia);break}e&&Dr&&Un.alternate===null&&t(se,Dr),Wa=f(Un,Wa,Lr),Zr===null?Zt=Un:Zr.sibling=Un,Zr=Un,Dr=Ia}if(Lr===ue.length){if(n(se,Dr),Tn()){var Bn=Lr;jc(se,Bn)}return Zt}if(Dr===null){for(;Lr<ue.length;Lr++){var Vo=Q(se,ue[Lr],Je);Vo!==null&&(Wa=f(Vo,Wa,Lr),Zr===null?Zt=Vo:Zr.sibling=Vo,Zr=Vo)}if(Tn()){var to=Lr;jc(se,to)}return Zt}for(var ro=i(se,Dr);Lr<ue.length;Lr++){var Vn=ge(ro,se,Lr,ue[Lr],Je);Vn!==null&&(e&&Vn.alternate!==null&&ro.delete(Vn.key===null?Lr:Vn.key),Wa=f(Vn,Wa,Lr),Zr===null?Zt=Vn:Zr.sibling=Vn,Zr=Vn)}if(e&&ro.forEach(function(Rf){return t(se,Rf)}),Tn()){var au=Lr;jc(se,au)}return Zt}function lt(se,De,ue,Je){var mt=qa(ue);if(typeof mt!="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"&&(Y1||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."),Y1=!0),ue.entries===mt&&(W1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),W1=!0);var ut=mt.call(ue);if(ut)for(var Wt=null,Zt=ut.next();!Zt.done;Zt=ut.next()){var Zr=Zt.value;Wt=_e(Zr,Wt,se)}}var Dr=mt.call(ue);if(Dr==null)throw new Error("An iterable object provided no iterator.");for(var Wa=null,Lr=null,Ia=De,Un=0,Bn=0,Vo=null,to=Dr.next();Ia!==null&&!to.done;Bn++,to=Dr.next()){Ia.index>Bn?(Vo=Ia,Ia=null):Vo=Ia.sibling;var ro=J(se,Ia,to.value,Je);if(ro===null){Ia===null&&(Ia=Vo);break}e&&Ia&&ro.alternate===null&&t(se,Ia),Un=f(ro,Un,Bn),Lr===null?Wa=ro:Lr.sibling=ro,Lr=ro,Ia=Vo}if(to.done){if(n(se,Ia),Tn()){var Vn=Bn;jc(se,Vn)}return Wa}if(Ia===null){for(;!to.done;Bn++,to=Dr.next()){var au=Q(se,to.value,Je);au!==null&&(Un=f(au,Un,Bn),Lr===null?Wa=au:Lr.sibling=au,Lr=au)}if(Tn()){var Rf=Bn;jc(se,Rf)}return Wa}for(var Uh=i(se,Ia);!to.done;Bn++,to=Dr.next()){var xs=ge(Uh,se,Bn,to.value,Je);xs!==null&&(e&&xs.alternate!==null&&Uh.delete(xs.key===null?Bn:xs.key),Un=f(xs,Un,Bn),Lr===null?Wa=xs:Lr.sibling=xs,Lr=xs)}if(e&&Uh.forEach(function(kV){return t(se,kV)}),Tn()){var TV=Bn;jc(se,TV)}return Wa}function Nt(se,De,ue,Je){if(De!==null&&De.tag===k){n(se,De.sibling);var mt=c(De,ue);return mt.return=se,mt}n(se,De);var ut=Wy(ue,se.mode,Je);return ut.return=se,ut}function Et(se,De,ue,Je){for(var mt=ue.key,ut=De;ut!==null;){if(ut.key===mt){var Wt=ue.type;if(Wt===le){if(ut.tag===B){n(se,ut.sibling);var Zt=c(ut,ue.props.children);return Zt.return=se,Zt._debugSource=ue._source,Zt._debugOwner=ue._owner,Zt}}else if(ut.elementType===Wt||bT(ut,ue)||typeof Wt=="object"&&Wt!==null&&Wt.$$typeof===rt&&fx(Wt)===ut.type){n(se,ut.sibling);var Zr=c(ut,ue.props);return Zr.ref=ch(se,ut,ue),Zr.return=se,Zr._debugSource=ue._source,Zr._debugOwner=ue._owner,Zr}n(se,ut);break}else t(se,ut);ut=ut.sibling}if(ue.type===le){var Dr=tc(ue.props.children,se.mode,Je,ue.key);return Dr.return=se,Dr}else{var Wa=Vy(ue,se.mode,Je);return Wa.ref=ch(se,De,ue),Wa.return=se,Wa}}function vr(se,De,ue,Je){for(var mt=ue.key,ut=De;ut!==null;){if(ut.key===mt)if(ut.tag===C&&ut.stateNode.containerInfo===ue.containerInfo&&ut.stateNode.implementation===ue.implementation){n(se,ut.sibling);var Wt=c(ut,ue.children||[]);return Wt.return=se,Wt}else{n(se,ut);break}else t(se,ut);ut=ut.sibling}var Zt=Yy(ue,se.mode,Je);return Zt.return=se,Zt}function gr(se,De,ue,Je){var mt=typeof ue=="object"&&ue!==null&&ue.type===le&&ue.key===null;if(mt&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Y:return g(Et(se,De,ue,Je));case ee:return g(vr(se,De,ue,Je));case rt:var ut=ue._payload,Wt=ue._init;return gr(se,De,Wt(ut),Je)}if(tn(ue))return Te(se,De,ue,Je);if(qa(ue))return lt(se,De,ue,Je);Nv(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?g(Nt(se,De,""+ue,Je)):(typeof ue=="function"&&Ov(se),n(se,De))}return gr}var cf=px(!0),hx=px(!1);function Xz(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=Zc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Zc(n,n.pendingProps),i.return=t;i.sibling=null}}function Jz(e,t){for(var n=e.child;n!==null;)VU(n,t),n=n.sibling}var K1=Hu(null),X1;X1={};var Iv=null,df=null,J1=null,Pv=!1;function Mv(){Iv=null,df=null,J1=null,Pv=!1}function mx(){Pv=!0}function vx(){Pv=!1}function gx(e,t,n){jn(K1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==X1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=X1}function Q1(e,t){var n=K1.current;zn(K1,t),e._currentValue=n}function Z1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(qd(i.childLanes,t)?c!==null&&!qd(c.childLanes,t)&&(c.childLanes=ur(c.childLanes,t)):(i.childLanes=ur(i.childLanes,t),c!==null&&(c.childLanes=ur(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 Qz(e,t,n){Zz(e,t,n)}function Zz(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,f=i.dependencies;if(f!==null){c=i.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(i.tag===v){var S=Rp(n),x=Js(ga,S);x.tag=zv;var R=i.updateQueue;if(R!==null){var N=R.shared,Q=N.pending;Q===null?x.next=x:(x.next=Q.next,Q.next=x),N.pending=x}}i.lanes=ur(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=ur(J.lanes,n)),Z1(i.return,n,e),f.lanes=ur(f.lanes,n);break}g=g.next}}else if(i.tag===F)c=i.type===e.type?null:i.child;else if(i.tag===be){var ge=i.return;if(ge===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ge.lanes=ur(ge.lanes,n);var _e=ge.alternate;_e!==null&&(_e.lanes=ur(_e.lanes,n)),Z1(ge,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 Te=c.sibling;if(Te!==null){Te.return=c.return,c=Te;break}c=c.return}i=c}}function ff(e,t){Iv=e,df=null,J1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Mo(n.lanes,t)&&Th(),n.firstContext=null)}}function Ja(e){Pv&&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(J1!==e){var n={context:e,memoizedValue:t,next:null};if(df===null){if(Iv===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().");df=n,Iv.dependencies={lanes:je,firstContext:n}}else df=df.next=n}return t}var Yc=null;function e0(e){Yc===null?Yc=[e]:Yc.push(e)}function ej(){if(Yc!==null){for(var e=0;e<Yc.length;e++){var t=Yc[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var f=c.next;c.next=i,n.next=f}t.pending=n}}Yc=null}}function _x(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n,Fv(e,i)}function tj(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n}function rj(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,e0(t)):(n.next=c.next,c.next=n),t.interleaved=n,Fv(e,i)}function xo(e,t){return Fv(e,t)}var aj=Fv;function Fv(e,t){e.lanes=ur(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ur(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==Ut&&mT(e);for(var i=e,c=e.return;c!==null;)c.childLanes=ur(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=ur(n.childLanes,t):(c.flags&(Xa|js))!==Ut&&mT(e),i=c,c=c.return;if(i.tag===y){var f=i.stateNode;return f}else return null}var bx=0,yx=1,zv=2,t0=3,jv=!1,r0,Hv;r0=!1,Hv=null;function a0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:je},effects:null};e.updateQueue=t}function Sx(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 Js(e,t){var n={eventTime:e,lane:t,tag:bx,payload:null,callback:null,next:null};return n}function Yu(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Hv===c&&!r0&&(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."),r0=!0),iU()){var f=c.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),c.pending=t,aj(e,n)}else return rj(e,c,t,n)}function Uv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(OC(n)){var f=c.lanes;f=PC(f,e.pendingLanes);var g=ur(f,n);c.lanes=g,Kb(e,g)}}}function n0(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var f=null,g=null,S=n.firstBaseUpdate;if(S!==null){var x=S;do{var R={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};g===null?f=g=R:(g.next=R,g=R),x=x.next}while(x!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var N=n.lastBaseUpdate;N===null?n.firstBaseUpdate=t:N.next=t,n.lastBaseUpdate=t}function nj(e,t,n,i,c,f){switch(n.tag){case yx:{var g=n.payload;if(typeof g=="function"){mx();var S=g.call(f,i,c);{if(e.mode&Oa){_n(!0);try{g.call(f,i,c)}finally{_n(!1)}}vx()}return S}return g}case t0:e.flags=e.flags&~Jn|Mr;case bx:{var x=n.payload,R;if(typeof x=="function"){mx(),R=x.call(f,i,c);{if(e.mode&Oa){_n(!0);try{x.call(f,i,c)}finally{_n(!1)}}vx()}}else R=x;return R==null?i:Pt({},i,R)}case zv:return jv=!0,i}return i}function Vv(e,t,n,i){var c=e.updateQueue;jv=!1,Hv=c.shared;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var x=S,R=x.next;x.next=null,g===null?f=R:g.next=R,g=x;var N=e.alternate;if(N!==null){var Q=N.updateQueue,J=Q.lastBaseUpdate;J!==g&&(J===null?Q.firstBaseUpdate=R:J.next=R,Q.lastBaseUpdate=x)}}if(f!==null){var ge=c.baseState,_e=je,Te=null,lt=null,Nt=null,Et=f;do{var vr=Et.lane,gr=Et.eventTime;if(qd(i,vr)){if(Nt!==null){var De={eventTime:gr,lane:bn,tag:Et.tag,payload:Et.payload,callback:Et.callback,next:null};Nt=Nt.next=De}ge=nj(e,c,Et,ge,t,n);var ue=Et.callback;if(ue!==null&&Et.lane!==bn){e.flags|=vb;var Je=c.effects;Je===null?c.effects=[Et]:Je.push(Et)}}else{var se={eventTime:gr,lane:vr,tag:Et.tag,payload:Et.payload,callback:Et.callback,next:null};Nt===null?(lt=Nt=se,Te=ge):Nt=Nt.next=se,_e=ur(_e,vr)}if(Et=Et.next,Et===null){if(S=c.shared.pending,S===null)break;var mt=S,ut=mt.next;mt.next=null,Et=ut,c.lastBaseUpdate=mt,c.shared.pending=null}}while(!0);Nt===null&&(Te=ge),c.baseState=Te,c.firstBaseUpdate=lt,c.lastBaseUpdate=Nt;var Wt=c.shared.interleaved;if(Wt!==null){var Zt=Wt;do _e=ur(_e,Zt.lane),Zt=Zt.next;while(Zt!==Wt)}else f===null&&(c.shared.lanes=je);Mh(_e),e.lanes=_e,e.memoizedState=ge}Hv=null}function oj(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function wx(){jv=!1}function Wv(){return jv}function Cx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var f=i[c],g=f.callback;g!==null&&(f.callback=null,oj(g,n))}}var dh={},$u=Hu(dh),fh=Hu(dh),Yv=Hu(dh);function $v(e){if(e===dh)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 xx(){var e=$v(Yv.current);return e}function o0(e,t){jn(Yv,t,e),jn(fh,e,e),jn($u,dh,e);var n=w9(t);zn($u,e),jn($u,n,e)}function pf(e){zn($u,e),zn(fh,e),zn(Yv,e)}function i0(){var e=$v($u.current);return e}function Tx(e){var t=$v(Yv.current),n=$v($u.current),i=C9(n,e.type);n!==i&&(jn(fh,e,e),jn($u,i,e))}function l0(e){fh.current===e&&(zn($u,e),zn(fh,e))}var ij=0,kx=1,Ex=1,ph=2,Ul=Hu(ij);function s0(e,t){return(e&t)!==0}function hf(e){return e&kx}function u0(e,t){return e&kx|t}function lj(e,t){return e|t}function Gu(e,t){jn(Ul,t,e)}function mf(e){zn(Ul,e)}function sj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Gv(e){for(var t=e;t!==null;){if(t.tag===G){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||W3(i)||E1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Mr)!==Ut;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 To=0,rn=1,gs=2,an=4,kn=8,c0=[];function d0(){for(var e=0;e<c0.length;e++){var t=c0[e];t._workInProgressVersionPrimary=null}c0.length=0}function uj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ht=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,f0,vf;f0=new Set;var $c=je,Qr=null,nn=null,on=null,qv=!1,mh=!1,vh=0,cj=0,dj=25,Ne=null,yl=null,qu=-1,p0=!1;function jr(){{var e=Ne;yl===null?yl=[e]:yl.push(e)}}function it(){{var e=Ne;yl!==null&&(qu++,yl[qu]!==e&&fj(e))}}function gf(e){e!=null&&!tn(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ne,typeof e)}function fj(e){{var t=or(Qr);if(!f0.has(t)&&(f0.add(t),yl!==null)){for(var n="",i=30,c=0;c<=qu;c++){for(var f=yl[c],g=c===qu?e:f,S=c+1+". "+f;S.length<i;)S+=" ";S+=g+`
72
72
  `,n+=S}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
@@ -81,7 +81,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
81
81
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function h0(e,t){if(p0)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.",Ne),!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`,Ne,"["+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 _f(e,t,n,i,c,f){$c=f,Qr=t,yl=e!==null?e._debugHookTypes:null,qu=-1,p0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=je,e!==null&&e.memoizedState!==null?ht.current=Kx:yl!==null?ht.current=qx:ht.current=Gx;var g=n(i,c);if(mh){var S=0;do{if(mh=!1,vh=0,S>=dj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,p0=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ht.current=Xx,g=n(i,c)}while(mh)}ht.current=lg,t._debugHookTypes=yl;var x=nn!==null&&nn.next!==null;if($c=je,Qr=null,nn=null,on=null,Ne=null,yl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&br)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),qv=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function bf(){var e=vh!==0;return vh=0,e}function Rx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ps)!==Mt?t.flags&=~(Um|Hs|Pl|kr):t.flags&=~(Pl|kr),e.lanes=Km(e.lanes,n)}function Dx(){if(ht.current=lg,qv){for(var e=Qr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qv=!1}$c=je,Qr=null,nn=null,on=null,yl=null,qu=-1,Ne=null,Ux=!1,mh=!1,vh=0}function _s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Qr.memoizedState=on=e:on=on.next=e,on}function Sl(){var e;if(nn===null){var t=Qr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Qr.memoizedState:n=on.next,n!==null)on=n,n=on.next,nn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");nn=e;var i={memoizedState:nn.memoizedState,baseState:nn.baseState,baseQueue:nn.baseQueue,queue:nn.queue,next:null};on===null?Qr.memoizedState=on=i:on=on.next=i}return on}function Lx(){return{lastEffect:null,stores:null}}function m0(e,t){return typeof t=="function"?t(e):t}function v0(e,t,n){var i=_s(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var f={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=f;var g=f.dispatch=vj.bind(null,Qr,f);return[i.memoizedState,g]}function g0(e,t,n){var i=Sl(),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 f=nn,g=f.baseQueue,S=c.pending;if(S!==null){if(g!==null){var x=g.next,R=S.next;g.next=R,S.next=x}f.baseQueue!==g&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=S,c.pending=null}if(g!==null){var N=g.next,Q=f.baseState,J=null,ge=null,_e=null,Te=N;do{var lt=Te.lane;if(qd($c,lt)){if(_e!==null){var Et={lane:bn,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};_e=_e.next=Et}if(Te.hasEagerState)Q=Te.eagerState;else{var vr=Te.action;Q=e(Q,vr)}}else{var Nt={lane:lt,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};_e===null?(ge=_e=Nt,J=Q):_e=_e.next=Nt,Qr.lanes=ur(Qr.lanes,lt),Mh(lt)}Te=Te.next}while(Te!==null&&Te!==N);_e===null?J=Q:_e.next=ge,jo(Q,i.memoizedState)||Th(),i.memoizedState=Q,i.baseState=J,i.baseQueue=_e,c.lastRenderedState=Q}var gr=c.interleaved;if(gr!==null){var se=gr;do{var De=se.lane;Qr.lanes=ur(Qr.lanes,De),Mh(De),se=se.next}while(se!==gr)}else g===null&&(c.lanes=je);var ue=c.dispatch;return[i.memoizedState,ue]}function _0(e,t,n){var i=Sl(),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 f=c.dispatch,g=c.pending,S=i.memoizedState;if(g!==null){c.pending=null;var x=g.next,R=x;do{var N=R.action;S=e(S,N),R=R.next}while(R!==x);jo(S,i.memoizedState)||Th(),i.memoizedState=S,i.baseQueue===null&&(i.baseState=S),c.lastRenderedState=S}return[S,f]}function qG(e,t,n){}function KG(e,t,n){}function b0(e,t,n){var i=Qr,c=_s(),f,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.");f=n(),vf||f!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),vf=!0)}else{if(f=t(),!vf){var S=t();jo(f,S)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vf=!0)}var x=kg();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(x,$c)||Ax(i,t,f)}c.memoizedState=f;var R={value:f,getSnapshot:t};return c.queue=R,Zv(Nx.bind(null,i,R,e),[e]),i.flags|=Pl,gh(rn|kn,Bx.bind(null,i,R,f,t),void 0,null),f}function Kv(e,t,n){var i=Qr,c=Sl(),f=t();if(!vf){var g=t();jo(f,g)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vf=!0)}var S=c.memoizedState,x=!jo(S,f);x&&(c.memoizedState=f,Th());var R=c.queue;if(bh(Nx.bind(null,i,R,e),[e]),R.getSnapshot!==t||x||on!==null&&on.memoizedState.tag&rn){i.flags|=Pl,gh(rn|kn,Bx.bind(null,i,R,f,t),void 0,null);var N=kg();if(N===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(N,$c)||Ax(i,t,f)}return f}function Ax(e,t,n){e.flags|=Hm;var i={getSnapshot:t,value:n},c=Qr.updateQueue;if(c===null)c=Lx(),Qr.updateQueue=c,c.stores=[i];else{var f=c.stores;f===null?c.stores=[i]:f.push(i)}}function Bx(e,t,n,i){t.value=n,t.getSnapshot=i,Ox(t)&&Ix(e)}function Nx(e,t,n){var i=function(){Ox(t)&&Ix(e)};return n(i)}function Ox(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Ix(e){var t=xo(e,Jt);t!==null&&cn(t,e,Jt,ga)}function Xv(e){var t=_s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:m0,lastRenderedState:e};t.queue=n;var i=n.dispatch=gj.bind(null,Qr,n);return[t.memoizedState,i]}function y0(e){return g0(m0)}function S0(e){return _0(m0)}function gh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},f=Qr.updateQueue;if(f===null)f=Lx(),Qr.updateQueue=f,f.lastEffect=c.next=c;else{var g=f.lastEffect;if(g===null)f.lastEffect=c.next=c;else{var S=g.next;g.next=c,c.next=S,f.lastEffect=c}}return c}function w0(e){var t=_s();{var n={current:e};return t.memoizedState=n,n}}function Jv(e){var t=Sl();return t.memoizedState}function _h(e,t,n,i){var c=_s(),f=i===void 0?null:i;Qr.flags|=e,c.memoizedState=gh(rn|t,n,void 0,f)}function Qv(e,t,n,i){var c=Sl(),f=i===void 0?null:i,g=void 0;if(nn!==null){var S=nn.memoizedState;if(g=S.destroy,f!==null){var x=S.deps;if(h0(f,x)){c.memoizedState=gh(t,n,g,f);return}}}Qr.flags|=e,c.memoizedState=gh(rn|t,n,g,f)}function Zv(e,t){return(Qr.mode&ps)!==Mt?_h(Um|Pl|bb,kn,e,t):_h(Pl|bb,kn,e,t)}function bh(e,t){return Qv(Pl,kn,e,t)}function C0(e,t){return _h(kr,gs,e,t)}function eg(e,t){return Qv(kr,gs,e,t)}function x0(e,t){var n=kr;return n|=Rc,(Qr.mode&ps)!==Mt&&(n|=Hs),_h(n,an,e,t)}function tg(e,t){return Qv(kr,an,e,t)}function Px(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 f=e();return c.current=f,function(){c.current=null}}}function T0(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=kr;return c|=Rc,(Qr.mode&ps)!==Mt&&(c|=Hs),_h(c,an,Px.bind(null,t,e),i)}function rg(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 Qv(kr,an,Px.bind(null,t,e),i)}function pj(e,t){}var ag=pj;function k0(e,t){var n=_s(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function ng(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var f=c[1];if(h0(i,f))return c[0]}return n.memoizedState=[e,i],e}function E0(e,t){var n=_s(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function og(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var f=c[1];if(h0(i,f))return c[0]}var g=e();return n.memoizedState=[g,i],g}function R0(e){var t=_s();return t.memoizedState=e,e}function Mx(e){var t=Sl(),n=nn,i=n.memoizedState;return zx(t,i,e)}function Fx(e){var t=Sl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return zx(t,n,e)}function zx(e,t,n){var i=!QP($c);if(i){if(!jo(n,t)){var c=IC();Qr.lanes=ur(Qr.lanes,c),Mh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Th()),e.memoizedState=n,n}function hj(e,t,n){var i=Fl();yn(lM(i,Ws)),e(!0);var c=hh.transition;hh.transition={};var f=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(yn(i),hh.transition=c,c===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),f._updatedFibers.clear()}}}function D0(){var e=Xv(!1),t=e[0],n=e[1],i=hj.bind(null,n),c=_s();return c.memoizedState=i,[t,i]}function jx(){var e=y0(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}function Hx(){var e=S0(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}var Ux=!1;function mj(){return Ux}function L0(){var e=_s(),t=kg(),n=t.identifierPrefix,i;if(Tn()){var c=Bz();i=":"+n+"R"+c;var f=vh++;f>0&&(i+="H"+f.toString(32)),i+=":"}else{var g=cj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function ig(){var e=Sl(),t=e.memoizedState;return t}function vj(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=Zu(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vx(e))Wx(t,c);else{var f=_x(e,t,c,i);if(f!==null){var g=eo();cn(f,e,i,g),Yx(f,t,i)}}$x(e,i)}function gj(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=Zu(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vx(e))Wx(t,c);else{var f=e.alternate;if(e.lanes===je&&(f===null||f.lanes===je)){var g=t.lastRenderedReducer;if(g!==null){var S;S=ht.current,ht.current=Vl;try{var x=t.lastRenderedState,R=g(x,n);if(c.hasEagerState=!0,c.eagerState=R,jo(R,x)){tj(e,t,c,i);return}}catch(J){}finally{ht.current=S}}}var N=_x(e,t,c,i);if(N!==null){var Q=eo();cn(N,e,i,Q),Yx(N,t,i)}}$x(e,i)}function Vx(e){var t=e.alternate;return e===Qr||t!==null&&t===Qr}function Wx(e,t){mh=qv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yx(e,t,n){if(OC(n)){var i=t.lanes;i=PC(i,e.pendingLanes);var c=ur(i,n);t.lanes=c,Kb(e,c)}}function $x(e,t,n){xb(e,t)}var lg={readContext:Ja,useCallback:Hn,useContext:Hn,useEffect:Hn,useImperativeHandle:Hn,useInsertionEffect:Hn,useLayoutEffect:Hn,useMemo:Hn,useReducer:Hn,useRef:Hn,useState:Hn,useDebugValue:Hn,useDeferredValue:Hn,useTransition:Hn,useMutableSource:Hn,useSyncExternalStore:Hn,useId:Hn,unstable_isNewReconciler:pe},Gx=null,qx=null,Kx=null,Xx=null,bs=null,Vl=null,sg=null;{var A0=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().")},Qt=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")};Gx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",zr(),gf(t),k0(e,t)},useContext:function(e){return Ne="useContext",zr(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",zr(),gf(t),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",zr(),gf(n),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",zr(),gf(t),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",zr(),gf(t),x0(e,t)},useMemo:function(e,t){Ne="useMemo",zr(),gf(t);var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",zr();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",zr(),w0(e)},useState:function(e){Ne="useState",zr();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",zr(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",zr(),R0(e)},useTransition:function(){return Ne="useTransition",zr(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",zr(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",zr(),b0(e,t,n)},useId:function(){return Ne="useId",zr(),L0()},unstable_isNewReconciler:pe},qx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),k0(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),x0(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),w0(e)},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",it(),R0(e)},useTransition:function(){return Ne="useTransition",it(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),b0(e,t,n)},useId:function(){return Ne="useId",it(),L0()},unstable_isNewReconciler:pe},Kx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),ng(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=Vl;try{return g0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),Jv()},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=Vl;try{return y0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",it(),Mx(e)},useTransition:function(){return Ne="useTransition",it(),jx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),Kv(e,t)},useId:function(){return Ne="useId",it(),ig()},unstable_isNewReconciler:pe},Xx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),ng(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=sg;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=sg;try{return _0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),Jv()},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=sg;try{return S0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",it(),Fx(e)},useTransition:function(){return Ne="useTransition",it(),Hx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),Kv(e,t)},useId:function(){return Ne="useId",it(),ig()},unstable_isNewReconciler:pe},bs={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),zr(),k0(e,t)},useContext:function(e){return Ne="useContext",Qt(),zr(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),zr(),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),zr(),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),zr(),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),zr(),x0(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),zr();var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),zr();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),zr(),w0(e)},useState:function(e){Ne="useState",Qt(),zr();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),zr(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),zr(),R0(e)},useTransition:function(){return Ne="useTransition",Qt(),zr(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),zr(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),zr(),b0(e,t,n)},useId:function(){return Ne="useId",Qt(),zr(),L0()},unstable_isNewReconciler:pe},Vl={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),it(),ng(e,t)},useContext:function(e){return Ne="useContext",Qt(),it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),it();var i=ht.current;ht.current=Vl;try{return g0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),it(),Jv()},useState:function(e){Ne="useState",Qt(),it();var t=ht.current;ht.current=Vl;try{return y0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),it(),Mx(e)},useTransition:function(){return Ne="useTransition",Qt(),it(),jx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),it(),Kv(e,t)},useId:function(){return Ne="useId",Qt(),it(),ig()},unstable_isNewReconciler:pe},sg={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),it(),ng(e,t)},useContext:function(e){return Ne="useContext",Qt(),it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),it();var i=ht.current;ht.current=Vl;try{return _0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),it(),Jv()},useState:function(e){Ne="useState",Qt(),it();var t=ht.current;ht.current=Vl;try{return S0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),it(),Fx(e)},useTransition:function(){return Ne="useTransition",Qt(),it(),Hx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),it(),Kv(e,t)},useId:function(){return Ne="useId",Qt(),it(),ig()},unstable_isNewReconciler:pe}}var Ku=a.unstable_now,Jx=0,ug=-1,yh=-1,cg=-1,B0=!1,dg=!1;function Qx(){return B0}function _j(){dg=!0}function bj(){B0=!1,dg=!1}function yj(){B0=dg,dg=!1}function Zx(){return Jx}function e4(){Jx=Ku()}function N0(e){yh=Ku(),e.actualStartTime<0&&(e.actualStartTime=Ku())}function t4(e){yh=-1}function fg(e,t){if(yh>=0){var n=Ku()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function ys(e){if(ug>=0){var t=Ku()-ug;ug=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i.effectDuration+=t;return;case H:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function O0(e){if(cg>=0){var t=Ku()-cg;cg=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case H:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function Ss(){ug=Ku()}function I0(){cg=Ku()}function P0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Wl(e,t){if(e&&e.defaultProps){var n=Pt({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var M0={},F0,z0,j0,H0,U0,r4,pg,V0,W0,Y0,Sh;{F0=new Set,z0=new Set,j0=new Set,H0=new Set,V0=new Set,U0=new Set,W0=new Set,Y0=new Set,Sh=new Set;var a4=new Set;pg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;a4.has(n)||(a4.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},r4=function(e,t){if(t===void 0){var n=Vr(e)||"Component";U0.has(n)||(U0.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(M0,"_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(M0)}function $0(e,t,n,i){var c=e.memoizedState,f=n(i,c);{if(e.mode&Oa){_n(!0);try{f=n(i,c)}finally{_n(!1)}}r4(t,f)}var g=f==null?c:Pt({},c,f);if(e.memoizedState=g,e.lanes===je){var S=e.updateQueue;S.baseState=g}}var G0={isMounted:dP,enqueueSetState:function(e,t,n){var i=Hd(e),c=eo(),f=Zu(i),g=Js(c,f);g.payload=t,n!=null&&(pg(n,"setState"),g.callback=n);var S=Yu(i,g,f);S!==null&&(cn(S,i,f,c),Uv(S,i,f)),xb(i,f)},enqueueReplaceState:function(e,t,n){var i=Hd(e),c=eo(),f=Zu(i),g=Js(c,f);g.tag=yx,g.payload=t,n!=null&&(pg(n,"replaceState"),g.callback=n);var S=Yu(i,g,f);S!==null&&(cn(S,i,f,c),Uv(S,i,f)),xb(i,f)},enqueueForceUpdate:function(e,t){var n=Hd(e),i=eo(),c=Zu(n),f=Js(i,c);f.tag=zv,t!=null&&(pg(t,"forceUpdate"),f.callback=t);var g=Yu(n,f,c);g!==null&&(cn(g,n,c,i),Uv(g,n,c)),UP(n,c)}};function n4(e,t,n,i,c,f,g){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var x=S.shouldComponentUpdate(i,f,g);{if(e.mode&Oa){_n(!0);try{x=S.shouldComponentUpdate(i,f,g)}finally{_n(!1)}}x===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vr(t)||"Component")}return x}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,f):!0}function Sj(e,t,n){var i=e.stateNode;{var c=Vr(t)||"Component",f=i.render;f||(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&Oa)===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`,Ne,"["+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 _f(e,t,n,i,c,f){$c=f,Qr=t,yl=e!==null?e._debugHookTypes:null,qu=-1,p0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=je,e!==null&&e.memoizedState!==null?ht.current=Kx:yl!==null?ht.current=qx:ht.current=Gx;var g=n(i,c);if(mh){var S=0;do{if(mh=!1,vh=0,S>=dj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,p0=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ht.current=Xx,g=n(i,c)}while(mh)}ht.current=lg,t._debugHookTypes=yl;var x=nn!==null&&nn.next!==null;if($c=je,Qr=null,nn=null,on=null,Ne=null,yl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&br)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),qv=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function bf(){var e=vh!==0;return vh=0,e}function Rx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ps)!==Mt?t.flags&=~(Um|Hs|Pl|kr):t.flags&=~(Pl|kr),e.lanes=Km(e.lanes,n)}function Dx(){if(ht.current=lg,qv){for(var e=Qr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qv=!1}$c=je,Qr=null,nn=null,on=null,yl=null,qu=-1,Ne=null,Ux=!1,mh=!1,vh=0}function _s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Qr.memoizedState=on=e:on=on.next=e,on}function Sl(){var e;if(nn===null){var t=Qr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Qr.memoizedState:n=on.next,n!==null)on=n,n=on.next,nn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");nn=e;var i={memoizedState:nn.memoizedState,baseState:nn.baseState,baseQueue:nn.baseQueue,queue:nn.queue,next:null};on===null?Qr.memoizedState=on=i:on=on.next=i}return on}function Lx(){return{lastEffect:null,stores:null}}function m0(e,t){return typeof t=="function"?t(e):t}function v0(e,t,n){var i=_s(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var f={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=f;var g=f.dispatch=vj.bind(null,Qr,f);return[i.memoizedState,g]}function g0(e,t,n){var i=Sl(),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 f=nn,g=f.baseQueue,S=c.pending;if(S!==null){if(g!==null){var x=g.next,R=S.next;g.next=R,S.next=x}f.baseQueue!==g&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=S,c.pending=null}if(g!==null){var N=g.next,Q=f.baseState,J=null,ge=null,_e=null,Te=N;do{var lt=Te.lane;if(qd($c,lt)){if(_e!==null){var Et={lane:bn,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};_e=_e.next=Et}if(Te.hasEagerState)Q=Te.eagerState;else{var vr=Te.action;Q=e(Q,vr)}}else{var Nt={lane:lt,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};_e===null?(ge=_e=Nt,J=Q):_e=_e.next=Nt,Qr.lanes=ur(Qr.lanes,lt),Mh(lt)}Te=Te.next}while(Te!==null&&Te!==N);_e===null?J=Q:_e.next=ge,jo(Q,i.memoizedState)||Th(),i.memoizedState=Q,i.baseState=J,i.baseQueue=_e,c.lastRenderedState=Q}var gr=c.interleaved;if(gr!==null){var se=gr;do{var De=se.lane;Qr.lanes=ur(Qr.lanes,De),Mh(De),se=se.next}while(se!==gr)}else g===null&&(c.lanes=je);var ue=c.dispatch;return[i.memoizedState,ue]}function _0(e,t,n){var i=Sl(),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 f=c.dispatch,g=c.pending,S=i.memoizedState;if(g!==null){c.pending=null;var x=g.next,R=x;do{var N=R.action;S=e(S,N),R=R.next}while(R!==x);jo(S,i.memoizedState)||Th(),i.memoizedState=S,i.baseQueue===null&&(i.baseState=S),c.lastRenderedState=S}return[S,f]}function qG(e,t,n){}function KG(e,t,n){}function b0(e,t,n){var i=Qr,c=_s(),f,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.");f=n(),vf||f!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),vf=!0)}else{if(f=t(),!vf){var S=t();jo(f,S)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vf=!0)}var x=kg();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(x,$c)||Ax(i,t,f)}c.memoizedState=f;var R={value:f,getSnapshot:t};return c.queue=R,Zv(Nx.bind(null,i,R,e),[e]),i.flags|=Pl,gh(rn|kn,Bx.bind(null,i,R,f,t),void 0,null),f}function Kv(e,t,n){var i=Qr,c=Sl(),f=t();if(!vf){var g=t();jo(f,g)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vf=!0)}var S=c.memoizedState,x=!jo(S,f);x&&(c.memoizedState=f,Th());var R=c.queue;if(bh(Nx.bind(null,i,R,e),[e]),R.getSnapshot!==t||x||on!==null&&on.memoizedState.tag&rn){i.flags|=Pl,gh(rn|kn,Bx.bind(null,i,R,f,t),void 0,null);var N=kg();if(N===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(N,$c)||Ax(i,t,f)}return f}function Ax(e,t,n){e.flags|=Hm;var i={getSnapshot:t,value:n},c=Qr.updateQueue;if(c===null)c=Lx(),Qr.updateQueue=c,c.stores=[i];else{var f=c.stores;f===null?c.stores=[i]:f.push(i)}}function Bx(e,t,n,i){t.value=n,t.getSnapshot=i,Ox(t)&&Ix(e)}function Nx(e,t,n){var i=function(){Ox(t)&&Ix(e)};return n(i)}function Ox(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Ix(e){var t=xo(e,Jt);t!==null&&cn(t,e,Jt,ga)}function Xv(e){var t=_s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:je,dispatch:null,lastRenderedReducer:m0,lastRenderedState:e};t.queue=n;var i=n.dispatch=gj.bind(null,Qr,n);return[t.memoizedState,i]}function y0(e){return g0(m0)}function S0(e){return _0(m0)}function gh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},f=Qr.updateQueue;if(f===null)f=Lx(),Qr.updateQueue=f,f.lastEffect=c.next=c;else{var g=f.lastEffect;if(g===null)f.lastEffect=c.next=c;else{var S=g.next;g.next=c,c.next=S,f.lastEffect=c}}return c}function w0(e){var t=_s();{var n={current:e};return t.memoizedState=n,n}}function Jv(e){var t=Sl();return t.memoizedState}function _h(e,t,n,i){var c=_s(),f=i===void 0?null:i;Qr.flags|=e,c.memoizedState=gh(rn|t,n,void 0,f)}function Qv(e,t,n,i){var c=Sl(),f=i===void 0?null:i,g=void 0;if(nn!==null){var S=nn.memoizedState;if(g=S.destroy,f!==null){var x=S.deps;if(h0(f,x)){c.memoizedState=gh(t,n,g,f);return}}}Qr.flags|=e,c.memoizedState=gh(rn|t,n,g,f)}function Zv(e,t){return(Qr.mode&ps)!==Mt?_h(Um|Pl|bb,kn,e,t):_h(Pl|bb,kn,e,t)}function bh(e,t){return Qv(Pl,kn,e,t)}function C0(e,t){return _h(kr,gs,e,t)}function eg(e,t){return Qv(kr,gs,e,t)}function x0(e,t){var n=kr;return n|=Rc,(Qr.mode&ps)!==Mt&&(n|=Hs),_h(n,an,e,t)}function tg(e,t){return Qv(kr,an,e,t)}function Px(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 f=e();return c.current=f,function(){c.current=null}}}function T0(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=kr;return c|=Rc,(Qr.mode&ps)!==Mt&&(c|=Hs),_h(c,an,Px.bind(null,t,e),i)}function rg(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 Qv(kr,an,Px.bind(null,t,e),i)}function pj(e,t){}var ag=pj;function k0(e,t){var n=_s(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function ng(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var f=c[1];if(h0(i,f))return c[0]}return n.memoizedState=[e,i],e}function E0(e,t){var n=_s(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function og(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var f=c[1];if(h0(i,f))return c[0]}var g=e();return n.memoizedState=[g,i],g}function R0(e){var t=_s();return t.memoizedState=e,e}function Mx(e){var t=Sl(),n=nn,i=n.memoizedState;return zx(t,i,e)}function Fx(e){var t=Sl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return zx(t,n,e)}function zx(e,t,n){var i=!QP($c);if(i){if(!jo(n,t)){var c=IC();Qr.lanes=ur(Qr.lanes,c),Mh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Th()),e.memoizedState=n,n}function hj(e,t,n){var i=Fl();yn(lM(i,Ws)),e(!0);var c=hh.transition;hh.transition={};var f=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(yn(i),hh.transition=c,c===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),f._updatedFibers.clear()}}}function D0(){var e=Xv(!1),t=e[0],n=e[1],i=hj.bind(null,n),c=_s();return c.memoizedState=i,[t,i]}function jx(){var e=y0(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}function Hx(){var e=S0(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}var Ux=!1;function mj(){return Ux}function L0(){var e=_s(),t=kg(),n=t.identifierPrefix,i;if(Tn()){var c=Bz();i=":"+n+"R"+c;var f=vh++;f>0&&(i+="H"+f.toString(32)),i+=":"}else{var g=cj++;i=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=i,i}function ig(){var e=Sl(),t=e.memoizedState;return t}function vj(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=Zu(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vx(e))Wx(t,c);else{var f=_x(e,t,c,i);if(f!==null){var g=eo();cn(f,e,i,g),Yx(f,t,i)}}$x(e,i)}function gj(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=Zu(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vx(e))Wx(t,c);else{var f=e.alternate;if(e.lanes===je&&(f===null||f.lanes===je)){var g=t.lastRenderedReducer;if(g!==null){var S;S=ht.current,ht.current=Vl;try{var x=t.lastRenderedState,R=g(x,n);if(c.hasEagerState=!0,c.eagerState=R,jo(R,x)){tj(e,t,c,i);return}}catch(J){}finally{ht.current=S}}}var N=_x(e,t,c,i);if(N!==null){var Q=eo();cn(N,e,i,Q),Yx(N,t,i)}}$x(e,i)}function Vx(e){var t=e.alternate;return e===Qr||t!==null&&t===Qr}function Wx(e,t){mh=qv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yx(e,t,n){if(OC(n)){var i=t.lanes;i=PC(i,e.pendingLanes);var c=ur(i,n);t.lanes=c,Kb(e,c)}}function $x(e,t,n){xb(e,t)}var lg={readContext:Ja,useCallback:Hn,useContext:Hn,useEffect:Hn,useImperativeHandle:Hn,useInsertionEffect:Hn,useLayoutEffect:Hn,useMemo:Hn,useReducer:Hn,useRef:Hn,useState:Hn,useDebugValue:Hn,useDeferredValue:Hn,useTransition:Hn,useMutableSource:Hn,useSyncExternalStore:Hn,useId:Hn,unstable_isNewReconciler:pe},Gx=null,qx=null,Kx=null,Xx=null,bs=null,Vl=null,sg=null;{var A0=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().")},Qt=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")};Gx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",jr(),gf(t),k0(e,t)},useContext:function(e){return Ne="useContext",jr(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",jr(),gf(t),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",jr(),gf(n),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",jr(),gf(t),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",jr(),gf(t),x0(e,t)},useMemo:function(e,t){Ne="useMemo",jr(),gf(t);var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",jr();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",jr(),w0(e)},useState:function(e){Ne="useState",jr();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",jr(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",jr(),R0(e)},useTransition:function(){return Ne="useTransition",jr(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",jr(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",jr(),b0(e,t,n)},useId:function(){return Ne="useId",jr(),L0()},unstable_isNewReconciler:pe},qx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),k0(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),x0(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),w0(e)},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",it(),R0(e)},useTransition:function(){return Ne="useTransition",it(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),b0(e,t,n)},useId:function(){return Ne="useId",it(),L0()},unstable_isNewReconciler:pe},Kx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),ng(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=Vl;try{return g0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),Jv()},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=Vl;try{return y0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",it(),Mx(e)},useTransition:function(){return Ne="useTransition",it(),jx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),Kv(e,t)},useId:function(){return Ne="useId",it(),ig()},unstable_isNewReconciler:pe},Xx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Ne="useCallback",it(),ng(e,t)},useContext:function(e){return Ne="useContext",it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",it();var n=ht.current;ht.current=sg;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",it();var i=ht.current;ht.current=sg;try{return _0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",it(),Jv()},useState:function(e){Ne="useState",it();var t=ht.current;ht.current=sg;try{return S0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",it(),Fx(e)},useTransition:function(){return Ne="useTransition",it(),Hx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",it(),Kv(e,t)},useId:function(){return Ne="useId",it(),ig()},unstable_isNewReconciler:pe},bs={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),jr(),k0(e,t)},useContext:function(e){return Ne="useContext",Qt(),jr(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),jr(),Zv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),jr(),T0(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),jr(),C0(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),jr(),x0(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),jr();var n=ht.current;ht.current=bs;try{return E0(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),jr();var i=ht.current;ht.current=bs;try{return v0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),jr(),w0(e)},useState:function(e){Ne="useState",Qt(),jr();var t=ht.current;ht.current=bs;try{return Xv(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),jr(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),jr(),R0(e)},useTransition:function(){return Ne="useTransition",Qt(),jr(),D0()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),jr(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),jr(),b0(e,t,n)},useId:function(){return Ne="useId",Qt(),jr(),L0()},unstable_isNewReconciler:pe},Vl={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),it(),ng(e,t)},useContext:function(e){return Ne="useContext",Qt(),it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),it();var i=ht.current;ht.current=Vl;try{return g0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),it(),Jv()},useState:function(e){Ne="useState",Qt(),it();var t=ht.current;ht.current=Vl;try{return y0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),it(),Mx(e)},useTransition:function(){return Ne="useTransition",Qt(),it(),jx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),it(),Kv(e,t)},useId:function(){return Ne="useId",Qt(),it(),ig()},unstable_isNewReconciler:pe},sg={readContext:function(e){return A0(),Ja(e)},useCallback:function(e,t){return Ne="useCallback",Qt(),it(),ng(e,t)},useContext:function(e){return Ne="useContext",Qt(),it(),Ja(e)},useEffect:function(e,t){return Ne="useEffect",Qt(),it(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Qt(),it(),rg(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Qt(),it(),eg(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Qt(),it(),tg(e,t)},useMemo:function(e,t){Ne="useMemo",Qt(),it();var n=ht.current;ht.current=Vl;try{return og(e,t)}finally{ht.current=n}},useReducer:function(e,t,n){Ne="useReducer",Qt(),it();var i=ht.current;ht.current=Vl;try{return _0(e,t,n)}finally{ht.current=i}},useRef:function(e){return Ne="useRef",Qt(),it(),Jv()},useState:function(e){Ne="useState",Qt(),it();var t=ht.current;ht.current=Vl;try{return S0(e)}finally{ht.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Qt(),it(),ag()},useDeferredValue:function(e){return Ne="useDeferredValue",Qt(),it(),Fx(e)},useTransition:function(){return Ne="useTransition",Qt(),it(),Hx()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Qt(),it(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Qt(),it(),Kv(e,t)},useId:function(){return Ne="useId",Qt(),it(),ig()},unstable_isNewReconciler:pe}}var Ku=a.unstable_now,Jx=0,ug=-1,yh=-1,cg=-1,B0=!1,dg=!1;function Qx(){return B0}function _j(){dg=!0}function bj(){B0=!1,dg=!1}function yj(){B0=dg,dg=!1}function Zx(){return Jx}function e4(){Jx=Ku()}function N0(e){yh=Ku(),e.actualStartTime<0&&(e.actualStartTime=Ku())}function t4(e){yh=-1}function fg(e,t){if(yh>=0){var n=Ku()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function ys(e){if(ug>=0){var t=Ku()-ug;ug=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i.effectDuration+=t;return;case H:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function O0(e){if(cg>=0){var t=Ku()-cg;cg=-1;for(var n=e.return;n!==null;){switch(n.tag){case y:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case H:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function Ss(){ug=Ku()}function I0(){cg=Ku()}function P0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Wl(e,t){if(e&&e.defaultProps){var n=Pt({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var M0={},F0,z0,j0,H0,U0,r4,pg,V0,W0,Y0,Sh;{F0=new Set,z0=new Set,j0=new Set,H0=new Set,V0=new Set,U0=new Set,W0=new Set,Y0=new Set,Sh=new Set;var a4=new Set;pg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;a4.has(n)||(a4.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},r4=function(e,t){if(t===void 0){var n=Vr(e)||"Component";U0.has(n)||(U0.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(M0,"_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(M0)}function $0(e,t,n,i){var c=e.memoizedState,f=n(i,c);{if(e.mode&Oa){_n(!0);try{f=n(i,c)}finally{_n(!1)}}r4(t,f)}var g=f==null?c:Pt({},c,f);if(e.memoizedState=g,e.lanes===je){var S=e.updateQueue;S.baseState=g}}var G0={isMounted:dP,enqueueSetState:function(e,t,n){var i=Hd(e),c=eo(),f=Zu(i),g=Js(c,f);g.payload=t,n!=null&&(pg(n,"setState"),g.callback=n);var S=Yu(i,g,f);S!==null&&(cn(S,i,f,c),Uv(S,i,f)),xb(i,f)},enqueueReplaceState:function(e,t,n){var i=Hd(e),c=eo(),f=Zu(i),g=Js(c,f);g.tag=yx,g.payload=t,n!=null&&(pg(n,"replaceState"),g.callback=n);var S=Yu(i,g,f);S!==null&&(cn(S,i,f,c),Uv(S,i,f)),xb(i,f)},enqueueForceUpdate:function(e,t){var n=Hd(e),i=eo(),c=Zu(n),f=Js(i,c);f.tag=zv,t!=null&&(pg(t,"forceUpdate"),f.callback=t);var g=Yu(n,f,c);g!==null&&(cn(g,n,c,i),Uv(g,n,c)),UP(n,c)}};function n4(e,t,n,i,c,f,g){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var x=S.shouldComponentUpdate(i,f,g);{if(e.mode&Oa){_n(!0);try{x=S.shouldComponentUpdate(i,f,g)}finally{_n(!1)}}x===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vr(t)||"Component")}return x}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,f):!0}function Sj(e,t,n){var i=e.stateNode;{var c=Vr(t)||"Component",f=i.render;f||(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&Oa)===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
86
  .Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!Sh.has(t)&&(e.mode&Oa)===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
 
@@ -97,9 +97,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`,lt,Nt,ge!==null?`
97
97
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var N=or(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+N+".")}var Q=x+`
98
98
  `+g+`
99
99
 
100
- `+(""+R);console.error(Q)}catch(J){setTimeout(function(){throw J})}}var kj=typeof WeakMap=="function"?WeakMap:Map;function s4(e,t,n){var i=Js(ga,n);i.tag=t0,i.payload={element:null};var c=t.value;return i.callback=function(){CU(c),X0(e,t)},i}function J0(e,t,n){var i=Js(ga,n);i.tag=t0;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var f=t.value;i.payload=function(){return c(f)},i.callback=function(){yT(e),X0(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){yT(e),X0(e,t),typeof c!="function"&&SU(this);var x=t.value,R=t.stack;this.componentDidCatch(x,{componentStack:R!==null?R:""}),typeof c!="function"&&(Mo(e.lanes,Jt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",or(e)||"Unknown"))}),i}function u4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new kj,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 f=xU.bind(null,e,t,n);Ml&&Fh(e,n),t.then(f,f)}}function Ej(e,t,n,i){var c=e.updateQueue;if(c===null){var f=new Set;f.add(n),e.updateQueue=f}else c.add(n)}function Rj(e,t){var n=e.tag;if((e.mode&br)===Mt&&(n===p||n===V||n===oe)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function c4(e){var t=e;do{if(t.tag===G&&sj(t))return t;t=t.return}while(t!==null);return null}function d4(e,t,n,i,c){if((e.mode&br)===Mt){if(e===t)e.flags|=Jn;else{if(e.flags|=Pr,n.flags|=gb,n.flags&=~(lP|yp),n.tag===v){var f=n.alternate;if(f===null)n.tag=te;else{var g=Js(ga,Jt);g.tag=zv,Yu(n,g,Jt)}}n.lanes=ur(n.lanes,Jt)}return e}return e.flags|=Jn,e.lanes=c,e}function Dj(e,t,n,i,c){if(n.flags|=yp,Ml&&Fh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var f=i;Rj(n),Tn()&&n.mode&br&&rx();var g=c4(t);if(g!==null){g.flags&=~zs,d4(g,t,n,e,c),g.mode&br&&u4(e,f,c),Ej(g,e,f);return}else{if(!JP(c)){u4(e,f,c),Ay();return}var S=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=S}}else if(Tn()&&n.mode&br){rx();var x=c4(t);if(x!==null){(x.flags&Jn)===Ut&&(x.flags|=zs),d4(x,t,n,e,c),V1(Gc(i,n));return}}i=Gc(i,n),pU(i);var R=t;do{switch(R.tag){case y:{var N=i;R.flags|=Jn;var Q=Rp(c);R.lanes=ur(R.lanes,Q);var J=s4(R,N,Q);n0(R,J);return}case v:var ge=i,_e=R.type,Te=R.stateNode;if((R.flags&Pr)===Ut&&(typeof _e.getDerivedStateFromError=="function"||Te!==null&&typeof Te.componentDidCatch=="function"&&!dT(Te))){R.flags|=Jn;var lt=Rp(c);R.lanes=ur(R.lanes,lt);var Nt=J0(R,ge,lt);n0(R,Nt);return}break}R=R.return}while(R!==null)}function Lj(){return null}var wh=o.ReactCurrentOwner,Yl=!1,Q0,Ch,Z0,ey,ty,qc,ry,hg,xh;Q0={},Ch={},Z0={},ey={},ty={},qc=!1,ry={},hg={},xh={};function Qn(e,t,n,i){e===null?t.child=hx(t,null,n,i):t.child=cf(t,e.child,n,i)}function Aj(e,t,n,i){t.child=cf(t,e.child,null,i),t.child=cf(t,null,n,i)}function f4(e,t,n,i,c){if(t.type!==t.elementType){var f=n.propTypes;f&&zl(f,i,"prop",Vr(n))}var g=n.render,S=t.ref,x,R;ff(t,c),wp(t);{if(wh.current=t,vl(!0),x=_f(e,t,g,i,S,c),R=bf(),t.mode&Oa){_n(!0);try{x=_f(e,t,g,i,S,c),R=bf()}finally{_n(!1)}}vl(!1)}return Wd(),e!==null&&!Yl?(Rx(e,t,c),Qs(e,t,c)):(Tn()&&R&&M1(t),t.flags|=Ud,Qn(e,t,x,c),t.child)}function p4(e,t,n,i,c){if(e===null){var f=n.type;if(HU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=Ef(f),t.tag=oe,t.type=g,oy(t,f),h4(e,t,g,i,c)}{var S=f.propTypes;if(S&&zl(S,i,"prop",Vr(f)),n.defaultProps!==void 0){var x=Vr(f)||"Unknown";xh[x]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",x),xh[x]=!0)}}var R=Uy(n.type,null,i,t,t.mode,c);return R.ref=t.ref,R.return=t,t.child=R,R}{var N=n.type,Q=N.propTypes;Q&&zl(Q,i,"prop",Vr(N))}var J=e.child,ge=dy(e,c);if(!ge){var _e=J.memoizedProps,Te=n.compare;if(Te=Te!==null?Te:Vp,Te(_e,i)&&e.ref===t.ref)return Qs(e,t,c)}t.flags|=Ud;var lt=Zc(J,i);return lt.ref=t.ref,lt.return=t,t.child=lt,lt}function h4(e,t,n,i,c){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===rt){var g=f,S=g._payload,x=g._init;try{f=x(S)}catch(Q){f=null}var R=f&&f.propTypes;R&&zl(R,i,"prop",Vr(f))}}if(e!==null){var N=e.memoizedProps;if(Vp(N,i)&&e.ref===t.ref&&t.type===e.type)if(Yl=!1,t.pendingProps=i=N,dy(e,c))(e.flags&gb)!==Ut&&(Yl=!0);else return t.lanes=e.lanes,Qs(e,t,c)}return ay(e,t,n,i,c)}function m4(e,t,n){var i=t.pendingProps,c=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ce)if((t.mode&br)===Mt){var g={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=g,Eg(t,n)}else if(Mo(n,Po)){var Q={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=Q;var J=f!==null?f.baseLanes:n;Eg(t,J)}else{var S=null,x;if(f!==null){var R=f.baseLanes;x=ur(R,n)}else x=n;t.lanes=t.childLanes=Po;var N={baseLanes:x,cachePool:S,transitions:null};return t.memoizedState=N,t.updateQueue=null,Eg(t,x),null}else{var ge;f!==null?(ge=ur(f.baseLanes,n),t.memoizedState=null):ge=n,Eg(t,ge)}return Qn(e,t,c,n),t.child}function Bj(e,t,n){var i=t.pendingProps;return Qn(e,t,i,n),t.child}function Nj(e,t,n){var i=t.pendingProps.children;return Qn(e,t,i,n),t.child}function Oj(e,t,n){{t.flags|=kr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,f=c.children;return Qn(e,t,f,n),t.child}function v4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Nu,t.flags|=_b)}function ay(e,t,n,i,c){if(t.type!==t.elementType){var f=n.propTypes;f&&zl(f,i,"prop",Vr(n))}var g;{var S=nf(t,n,!0);g=of(t,S)}var x,R;ff(t,c),wp(t);{if(wh.current=t,vl(!0),x=_f(e,t,n,i,g,c),R=bf(),t.mode&Oa){_n(!0);try{x=_f(e,t,n,i,g,c),R=bf()}finally{_n(!1)}}vl(!1)}return Wd(),e!==null&&!Yl?(Rx(e,t,c),Qs(e,t,c)):(Tn()&&R&&M1(t),t.flags|=Ud,Qn(e,t,x,c),t.child)}function g4(e,t,n,i,c){{switch(rV(t)){case!1:{var f=t.stateNode,g=t.type,S=new g(t.memoizedProps,f.context),x=S.state;f.updater.enqueueSetState(f,x,null);break}case!0:{t.flags|=Pr,t.flags|=Jn;var R=new Error("Simulated error coming from DevTools"),N=Rp(c);t.lanes=ur(t.lanes,N);var Q=J0(t,Gc(R,t),N);n0(t,Q);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&zl(J,i,"prop",Vr(n))}}var ge;vs(n)?(ge=!0,kv(t)):ge=!1,ff(t,c);var _e=t.stateNode,Te;_e===null?(vg(e,t),i4(t,n,i),q0(t,n,i,c),Te=!0):e===null?Te=Cj(t,n,i,c):Te=xj(e,t,n,i,c);var lt=ny(e,t,n,Te,ge,c);{var Nt=t.stateNode;Te&&Nt.props!==i&&(qc||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",or(t)||"a component"),qc=!0)}return lt}function ny(e,t,n,i,c,f){v4(e,t);var g=(t.flags&Pr)!==Ut;if(!i&&!g)return c&&Q3(t,n,!1),Qs(e,t,f);var S=t.stateNode;wh.current=t;var x;if(g&&typeof n.getDerivedStateFromError!="function")x=null,t4();else{wp(t);{if(vl(!0),x=S.render(),t.mode&Oa){_n(!0);try{S.render()}finally{_n(!1)}}vl(!1)}Wd()}return t.flags|=Ud,e!==null&&g?Aj(e,t,x,f):Qn(e,t,x,f),t.memoizedState=S.state,c&&Q3(t,n,!0),t.child}function _4(e){var t=e.stateNode;t.pendingContext?X3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&X3(e,t.context,!1),o0(e,t.containerInfo)}function Ij(e,t,n){if(_4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,f=c.element;Sx(e,t),Vv(t,i,null,n);var g=t.memoizedState,S=t.stateNode,x=g.element;if(c.isDehydrated){var R={element:x,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},N=t.updateQueue;if(N.baseState=R,t.memoizedState=R,t.flags&zs){var Q=Gc(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 b4(e,t,x,n,Q)}else if(x!==f){var J=Gc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return b4(e,t,x,n,J)}else{Fz(t);var ge=hx(t,null,x,n);t.child=ge;for(var _e=ge;_e;)_e.flags=_e.flags&~Xa|js,_e=_e.sibling}}else{if(uf(),x===f)return Qs(e,t,n);Qn(e,t,x,n)}return t.child}function b4(e,t,n,i,c){return uf(),V1(c),t.flags|=zs,Qn(e,t,n,i),t.child}function Pj(e,t,n){Tx(t),e===null&&U1(t);var i=t.type,c=t.pendingProps,f=e!==null?e.memoizedProps:null,g=c.children,S=C1(i,c);return S?g=null:f!==null&&C1(i,f)&&(t.flags|=bp),v4(e,t),Qn(e,t,g,n),t.child}function Mj(e,t){return e===null&&U1(t),null}function Fj(e,t,n,i){vg(e,t);var c=t.pendingProps,f=n,g=f._payload,S=f._init,x=S(g);t.type=x;var R=t.tag=UU(x),N=Wl(x,c),Q;switch(R){case p:return oy(t,x),t.type=x=Ef(x),Q=ay(null,t,x,N,i),Q;case v:return t.type=x=Py(x),Q=g4(null,t,x,N,i),Q;case V:return t.type=x=My(x),Q=f4(null,t,x,N,i),Q;case P:{if(t.type!==t.elementType){var J=x.propTypes;J&&zl(J,N,"prop",Vr(x))}return Q=p4(null,t,x,Wl(x.type,N),i),Q}}var ge="";throw x!==null&&typeof x=="object"&&x.$$typeof===rt&&(ge=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+ge))}function zj(e,t,n,i,c){vg(e,t),t.tag=v;var f;return vs(n)?(f=!0,kv(t)):f=!1,ff(t,c),i4(t,n,i),q0(t,n,i,c),ny(null,t,n,!0,f,c)}function jj(e,t,n,i){vg(e,t);var c=t.pendingProps,f;{var g=nf(t,n,!1);f=of(t,g)}ff(t,i);var S,x;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var R=Vr(n)||"Unknown";Q0[R]||(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.",R,R),Q0[R]=!0)}t.mode&Oa&&Hl.recordLegacyContextWarning(t,null),vl(!0),wh.current=t,S=_f(null,t,n,c,f,i),x=bf(),vl(!1)}if(Wd(),t.flags|=Ud,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var N=Vr(n)||"Unknown";Ch[N]||(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.",N,N,N),Ch[N]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var Q=Vr(n)||"Unknown";Ch[Q]||(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.",Q,Q,Q),Ch[Q]=!0)}t.tag=v,t.memoizedState=null,t.updateQueue=null;var J=!1;return vs(n)?(J=!0,kv(t)):J=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,a0(t),o4(t,S),q0(t,n,c,i),ny(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Oa){_n(!0);try{S=_f(null,t,n,c,f,i),x=bf()}finally{_n(!1)}}return Tn()&&x&&M1(t),Qn(null,t,S,i),oy(t,n),t.child}}function oy(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=Au();i&&(n+=`
100
+ `+(""+R);console.error(Q)}catch(J){setTimeout(function(){throw J})}}var kj=typeof WeakMap=="function"?WeakMap:Map;function s4(e,t,n){var i=Js(ga,n);i.tag=t0,i.payload={element:null};var c=t.value;return i.callback=function(){CU(c),X0(e,t)},i}function J0(e,t,n){var i=Js(ga,n);i.tag=t0;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var f=t.value;i.payload=function(){return c(f)},i.callback=function(){yT(e),X0(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(i.callback=function(){yT(e),X0(e,t),typeof c!="function"&&SU(this);var x=t.value,R=t.stack;this.componentDidCatch(x,{componentStack:R!==null?R:""}),typeof c!="function"&&(Mo(e.lanes,Jt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",or(e)||"Unknown"))}),i}function u4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new kj,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 f=xU.bind(null,e,t,n);Ml&&Fh(e,n),t.then(f,f)}}function Ej(e,t,n,i){var c=e.updateQueue;if(c===null){var f=new Set;f.add(n),e.updateQueue=f}else c.add(n)}function Rj(e,t){var n=e.tag;if((e.mode&br)===Mt&&(n===p||n===V||n===oe)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function c4(e){var t=e;do{if(t.tag===G&&sj(t))return t;t=t.return}while(t!==null);return null}function d4(e,t,n,i,c){if((e.mode&br)===Mt){if(e===t)e.flags|=Jn;else{if(e.flags|=Mr,n.flags|=gb,n.flags&=~(lP|yp),n.tag===v){var f=n.alternate;if(f===null)n.tag=te;else{var g=Js(ga,Jt);g.tag=zv,Yu(n,g,Jt)}}n.lanes=ur(n.lanes,Jt)}return e}return e.flags|=Jn,e.lanes=c,e}function Dj(e,t,n,i,c){if(n.flags|=yp,Ml&&Fh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var f=i;Rj(n),Tn()&&n.mode&br&&rx();var g=c4(t);if(g!==null){g.flags&=~zs,d4(g,t,n,e,c),g.mode&br&&u4(e,f,c),Ej(g,e,f);return}else{if(!JP(c)){u4(e,f,c),Ay();return}var S=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=S}}else if(Tn()&&n.mode&br){rx();var x=c4(t);if(x!==null){(x.flags&Jn)===Ut&&(x.flags|=zs),d4(x,t,n,e,c),V1(Gc(i,n));return}}i=Gc(i,n),pU(i);var R=t;do{switch(R.tag){case y:{var N=i;R.flags|=Jn;var Q=Rp(c);R.lanes=ur(R.lanes,Q);var J=s4(R,N,Q);n0(R,J);return}case v:var ge=i,_e=R.type,Te=R.stateNode;if((R.flags&Mr)===Ut&&(typeof _e.getDerivedStateFromError=="function"||Te!==null&&typeof Te.componentDidCatch=="function"&&!dT(Te))){R.flags|=Jn;var lt=Rp(c);R.lanes=ur(R.lanes,lt);var Nt=J0(R,ge,lt);n0(R,Nt);return}break}R=R.return}while(R!==null)}function Lj(){return null}var wh=o.ReactCurrentOwner,Yl=!1,Q0,Ch,Z0,ey,ty,qc,ry,hg,xh;Q0={},Ch={},Z0={},ey={},ty={},qc=!1,ry={},hg={},xh={};function Qn(e,t,n,i){e===null?t.child=hx(t,null,n,i):t.child=cf(t,e.child,n,i)}function Aj(e,t,n,i){t.child=cf(t,e.child,null,i),t.child=cf(t,null,n,i)}function f4(e,t,n,i,c){if(t.type!==t.elementType){var f=n.propTypes;f&&zl(f,i,"prop",Vr(n))}var g=n.render,S=t.ref,x,R;ff(t,c),wp(t);{if(wh.current=t,vl(!0),x=_f(e,t,g,i,S,c),R=bf(),t.mode&Oa){_n(!0);try{x=_f(e,t,g,i,S,c),R=bf()}finally{_n(!1)}}vl(!1)}return Wd(),e!==null&&!Yl?(Rx(e,t,c),Qs(e,t,c)):(Tn()&&R&&M1(t),t.flags|=Ud,Qn(e,t,x,c),t.child)}function p4(e,t,n,i,c){if(e===null){var f=n.type;if(HU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=Ef(f),t.tag=oe,t.type=g,oy(t,f),h4(e,t,g,i,c)}{var S=f.propTypes;if(S&&zl(S,i,"prop",Vr(f)),n.defaultProps!==void 0){var x=Vr(f)||"Unknown";xh[x]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",x),xh[x]=!0)}}var R=Uy(n.type,null,i,t,t.mode,c);return R.ref=t.ref,R.return=t,t.child=R,R}{var N=n.type,Q=N.propTypes;Q&&zl(Q,i,"prop",Vr(N))}var J=e.child,ge=dy(e,c);if(!ge){var _e=J.memoizedProps,Te=n.compare;if(Te=Te!==null?Te:Vp,Te(_e,i)&&e.ref===t.ref)return Qs(e,t,c)}t.flags|=Ud;var lt=Zc(J,i);return lt.ref=t.ref,lt.return=t,t.child=lt,lt}function h4(e,t,n,i,c){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===rt){var g=f,S=g._payload,x=g._init;try{f=x(S)}catch(Q){f=null}var R=f&&f.propTypes;R&&zl(R,i,"prop",Vr(f))}}if(e!==null){var N=e.memoizedProps;if(Vp(N,i)&&e.ref===t.ref&&t.type===e.type)if(Yl=!1,t.pendingProps=i=N,dy(e,c))(e.flags&gb)!==Ut&&(Yl=!0);else return t.lanes=e.lanes,Qs(e,t,c)}return ay(e,t,n,i,c)}function m4(e,t,n){var i=t.pendingProps,c=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ce)if((t.mode&br)===Mt){var g={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=g,Eg(t,n)}else if(Mo(n,Po)){var Q={baseLanes:je,cachePool:null,transitions:null};t.memoizedState=Q;var J=f!==null?f.baseLanes:n;Eg(t,J)}else{var S=null,x;if(f!==null){var R=f.baseLanes;x=ur(R,n)}else x=n;t.lanes=t.childLanes=Po;var N={baseLanes:x,cachePool:S,transitions:null};return t.memoizedState=N,t.updateQueue=null,Eg(t,x),null}else{var ge;f!==null?(ge=ur(f.baseLanes,n),t.memoizedState=null):ge=n,Eg(t,ge)}return Qn(e,t,c,n),t.child}function Bj(e,t,n){var i=t.pendingProps;return Qn(e,t,i,n),t.child}function Nj(e,t,n){var i=t.pendingProps.children;return Qn(e,t,i,n),t.child}function Oj(e,t,n){{t.flags|=kr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,f=c.children;return Qn(e,t,f,n),t.child}function v4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Nu,t.flags|=_b)}function ay(e,t,n,i,c){if(t.type!==t.elementType){var f=n.propTypes;f&&zl(f,i,"prop",Vr(n))}var g;{var S=nf(t,n,!0);g=of(t,S)}var x,R;ff(t,c),wp(t);{if(wh.current=t,vl(!0),x=_f(e,t,n,i,g,c),R=bf(),t.mode&Oa){_n(!0);try{x=_f(e,t,n,i,g,c),R=bf()}finally{_n(!1)}}vl(!1)}return Wd(),e!==null&&!Yl?(Rx(e,t,c),Qs(e,t,c)):(Tn()&&R&&M1(t),t.flags|=Ud,Qn(e,t,x,c),t.child)}function g4(e,t,n,i,c){{switch(rV(t)){case!1:{var f=t.stateNode,g=t.type,S=new g(t.memoizedProps,f.context),x=S.state;f.updater.enqueueSetState(f,x,null);break}case!0:{t.flags|=Mr,t.flags|=Jn;var R=new Error("Simulated error coming from DevTools"),N=Rp(c);t.lanes=ur(t.lanes,N);var Q=J0(t,Gc(R,t),N);n0(t,Q);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&zl(J,i,"prop",Vr(n))}}var ge;vs(n)?(ge=!0,kv(t)):ge=!1,ff(t,c);var _e=t.stateNode,Te;_e===null?(vg(e,t),i4(t,n,i),q0(t,n,i,c),Te=!0):e===null?Te=Cj(t,n,i,c):Te=xj(e,t,n,i,c);var lt=ny(e,t,n,Te,ge,c);{var Nt=t.stateNode;Te&&Nt.props!==i&&(qc||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",or(t)||"a component"),qc=!0)}return lt}function ny(e,t,n,i,c,f){v4(e,t);var g=(t.flags&Mr)!==Ut;if(!i&&!g)return c&&Q3(t,n,!1),Qs(e,t,f);var S=t.stateNode;wh.current=t;var x;if(g&&typeof n.getDerivedStateFromError!="function")x=null,t4();else{wp(t);{if(vl(!0),x=S.render(),t.mode&Oa){_n(!0);try{S.render()}finally{_n(!1)}}vl(!1)}Wd()}return t.flags|=Ud,e!==null&&g?Aj(e,t,x,f):Qn(e,t,x,f),t.memoizedState=S.state,c&&Q3(t,n,!0),t.child}function _4(e){var t=e.stateNode;t.pendingContext?X3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&X3(e,t.context,!1),o0(e,t.containerInfo)}function Ij(e,t,n){if(_4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,f=c.element;Sx(e,t),Vv(t,i,null,n);var g=t.memoizedState,S=t.stateNode,x=g.element;if(c.isDehydrated){var R={element:x,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},N=t.updateQueue;if(N.baseState=R,t.memoizedState=R,t.flags&zs){var Q=Gc(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 b4(e,t,x,n,Q)}else if(x!==f){var J=Gc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return b4(e,t,x,n,J)}else{Fz(t);var ge=hx(t,null,x,n);t.child=ge;for(var _e=ge;_e;)_e.flags=_e.flags&~Xa|js,_e=_e.sibling}}else{if(uf(),x===f)return Qs(e,t,n);Qn(e,t,x,n)}return t.child}function b4(e,t,n,i,c){return uf(),V1(c),t.flags|=zs,Qn(e,t,n,i),t.child}function Pj(e,t,n){Tx(t),e===null&&U1(t);var i=t.type,c=t.pendingProps,f=e!==null?e.memoizedProps:null,g=c.children,S=C1(i,c);return S?g=null:f!==null&&C1(i,f)&&(t.flags|=bp),v4(e,t),Qn(e,t,g,n),t.child}function Mj(e,t){return e===null&&U1(t),null}function Fj(e,t,n,i){vg(e,t);var c=t.pendingProps,f=n,g=f._payload,S=f._init,x=S(g);t.type=x;var R=t.tag=UU(x),N=Wl(x,c),Q;switch(R){case p:return oy(t,x),t.type=x=Ef(x),Q=ay(null,t,x,N,i),Q;case v:return t.type=x=Py(x),Q=g4(null,t,x,N,i),Q;case V:return t.type=x=My(x),Q=f4(null,t,x,N,i),Q;case P:{if(t.type!==t.elementType){var J=x.propTypes;J&&zl(J,N,"prop",Vr(x))}return Q=p4(null,t,x,Wl(x.type,N),i),Q}}var ge="";throw x!==null&&typeof x=="object"&&x.$$typeof===rt&&(ge=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+ge))}function zj(e,t,n,i,c){vg(e,t),t.tag=v;var f;return vs(n)?(f=!0,kv(t)):f=!1,ff(t,c),i4(t,n,i),q0(t,n,i,c),ny(null,t,n,!0,f,c)}function jj(e,t,n,i){vg(e,t);var c=t.pendingProps,f;{var g=nf(t,n,!1);f=of(t,g)}ff(t,i);var S,x;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var R=Vr(n)||"Unknown";Q0[R]||(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.",R,R),Q0[R]=!0)}t.mode&Oa&&Hl.recordLegacyContextWarning(t,null),vl(!0),wh.current=t,S=_f(null,t,n,c,f,i),x=bf(),vl(!1)}if(Wd(),t.flags|=Ud,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var N=Vr(n)||"Unknown";Ch[N]||(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.",N,N,N),Ch[N]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var Q=Vr(n)||"Unknown";Ch[Q]||(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.",Q,Q,Q),Ch[Q]=!0)}t.tag=v,t.memoizedState=null,t.updateQueue=null;var J=!1;return vs(n)?(J=!0,kv(t)):J=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,a0(t),o4(t,S),q0(t,n,c,i),ny(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Oa){_n(!0);try{S=_f(null,t,n,c,f,i),x=bf()}finally{_n(!1)}}return Tn()&&x&&M1(t),Qn(null,t,S,i),oy(t,n),t.child}}function oy(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=Au();i&&(n+=`
101
101
 
102
- Check the render method of \``+i+"`.");var c=i||"",f=e._debugSource;f&&(c=f.fileName+":"+f.lineNumber),ty[c]||(ty[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 S=Vr(t)||"Unknown";ey[S]||(u("%s: Function components do not support getDerivedStateFromProps.",S),ey[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var x=Vr(t)||"Unknown";Z0[x]||(u("%s: Function components do not support contextType.",x),Z0[x]=!0)}}}var iy={dehydrated:null,treeContext:null,retryLane:bn};function ly(e){return{baseLanes:e,cachePool:Lj(),transitions:null}}function Hj(e,t){var n=null;return{baseLanes:ur(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Uj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return s0(e,ph)}function Vj(e,t){return Km(e.childLanes,t)}function y4(e,t,n){var i=t.pendingProps;aV(t)&&(t.flags|=Pr);var c=Ul.current,f=!1,g=(t.flags&Pr)!==Ut;if(g||Uj(c,e)?(f=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(c=lj(c,Ex)),c=hf(c),Gu(t,c),e===null){U1(t);var S=t.memoizedState;if(S!==null){var x=S.dehydrated;if(x!==null)return qj(t,x)}var R=i.children,N=i.fallback;if(f){var Q=Wj(t,R,N,n),J=t.child;return J.memoizedState=ly(n),t.memoizedState=iy,Q}else return sy(t,R)}else{var ge=e.memoizedState;if(ge!==null){var _e=ge.dehydrated;if(_e!==null)return Kj(e,t,g,i,_e,ge,n)}if(f){var Te=i.fallback,lt=i.children,Nt=$j(e,t,lt,Te,n),Et=t.child,vr=e.child.memoizedState;return Et.memoizedState=vr===null?ly(n):Hj(vr,n),Et.childLanes=Vj(e,n),t.memoizedState=iy,Nt}else{var gr=i.children,se=Yj(e,t,gr,n);return t.memoizedState=null,se}}}function sy(e,t,n){var i=e.mode,c={mode:"visible",children:t},f=uy(c,i);return f.return=e,e.child=f,f}function Wj(e,t,n,i){var c=e.mode,f=e.child,g={mode:"hidden",children:t},S,x;return(c&br)===Mt&&f!==null?(S=f,S.childLanes=je,S.pendingProps=g,e.mode&Jr&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),x=tc(n,c,i,null)):(S=uy(g,c),x=tc(n,c,i,null)),S.return=e,x.return=e,S.sibling=x,e.child=S,x}function uy(e,t,n){return wT(e,t,je,null)}function S4(e,t){return Zc(e,t)}function Yj(e,t,n,i){var c=e.child,f=c.sibling,g=S4(c,{mode:"visible",children:n});if((t.mode&br)===Mt&&(g.lanes=i),g.return=t,g.sibling=null,f!==null){var S=t.deletions;S===null?(t.deletions=[f],t.flags|=Tc):S.push(f)}return t.child=g,g}function $j(e,t,n,i,c){var f=t.mode,g=e.child,S=g.sibling,x={mode:"hidden",children:n},R;if((f&br)===Mt&&t.child!==g){var N=t.child;R=N,R.childLanes=je,R.pendingProps=x,t.mode&Jr&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=g.selfBaseDuration,R.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else R=S4(g,x),R.subtreeFlags=g.subtreeFlags&Us;var Q;return S!==null?Q=Zc(S,i):(Q=tc(i,f,c,null),Q.flags|=Xa),Q.return=t,R.return=t,R.sibling=Q,t.child=R,Q}function mg(e,t,n,i){i!==null&&V1(i),cf(t,e.child,null,n);var c=t.pendingProps,f=c.children,g=sy(t,f);return g.flags|=Xa,t.memoizedState=null,g}function Gj(e,t,n,i,c){var f=t.mode,g={mode:"visible",children:n},S=uy(g,f),x=tc(i,f,c,null);return x.flags|=Xa,S.return=t,x.return=t,S.sibling=x,t.child=S,(t.mode&br)!==Mt&&cf(t,e.child,null,c),x}function qj(e,t,n){return(e.mode&br)===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=Jt):E1(t)?e.lanes=Bc:e.lanes=Po,null}function Kj(e,t,n,i,c,f,g){if(n)if(t.flags&zs){t.flags&=~zs;var se=K0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return mg(e,t,g,se)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ue=i.fallback,Je=Gj(e,t,De,ue,g),mt=t.child;return mt.memoizedState=ly(g),t.memoizedState=iy,Je}else{if(Pz(),(t.mode&br)===Mt)return mg(e,t,g,null);if(E1(c)){var S,x,R;{var N=Z9(c);S=N.digest,x=N.message,R=N.stack}var Q;x?Q=new Error(x):Q=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=K0(Q,S,R);return mg(e,t,g,J)}var ge=Mo(g,e.childLanes);if(Yl||ge){var _e=kg();if(_e!==null){var Te=oM(_e,g);if(Te!==bn&&Te!==f.retryLane){f.retryLane=Te;var lt=ga;xo(e,Te),cn(_e,e,Te,lt)}}Ay();var Nt=K0(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 mg(e,t,g,Nt)}else if(W3(c)){t.flags|=Pr,t.child=e.child;var Et=TU.bind(null,e);return ez(c,Et),null}else{zz(t,c,f.treeContext);var vr=i.children,gr=sy(t,vr);return gr.flags|=js,gr}}}function w4(e,t,n){e.lanes=ur(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ur(i.lanes,t)),Z1(e.return,t,n)}function Xj(e,t,n){for(var i=t;i!==null;){if(i.tag===G){var c=i.memoizedState;c!==null&&w4(i,n,e)}else if(i.tag===ye)w4(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 Jj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Gv(i)===null&&(n=t),t=t.sibling}return n}function Qj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!ry[e])if(ry[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 Zj(e,t){e!==void 0&&!hg[e]&&(e!=="collapsed"&&e!=="hidden"?(hg[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(hg[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function C4(e,t){{var n=tn(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 eH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(tn(e)){for(var n=0;n<e.length;n++)if(!C4(e[n],n))return}else{var i=qa(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var f=c.next(),g=0;!f.done;f=c.next()){if(!C4(f.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 cy(e,t,n,i,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=c)}function x4(e,t,n){var i=t.pendingProps,c=i.revealOrder,f=i.tail,g=i.children;Qj(c),Zj(f,c),eH(g,c),Qn(e,t,g,n);var S=Ul.current,x=s0(S,ph);if(x)S=u0(S,ph),t.flags|=Pr;else{var R=e!==null&&(e.flags&Pr)!==Ut;R&&Xj(t,t.child,n),S=hf(S)}if(Gu(t,S),(t.mode&br)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var N=Jj(t.child),Q;N===null?(Q=t.child,t.child=null):(Q=N.sibling,N.sibling=null),cy(t,!1,Q,N,f);break}case"backwards":{var J=null,ge=t.child;for(t.child=null;ge!==null;){var _e=ge.alternate;if(_e!==null&&Gv(_e)===null){t.child=ge;break}var Te=ge.sibling;ge.sibling=J,J=ge,ge=Te}cy(t,!0,J,null,f);break}case"together":{cy(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function tH(e,t,n){o0(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=cf(t,null,i,n):Qn(e,t,i,n),t.child}var T4=!1;function rH(e,t,n){var i=t.type,c=i._context,f=t.pendingProps,g=t.memoizedProps,S=f.value;{"value"in f||T4||(T4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=t.type.propTypes;x&&zl(x,f,"prop","Context.Provider")}if(gx(t,c,S),g!==null){var R=g.value;if(jo(R,S)){if(g.children===f.children&&!xv())return Qs(e,t,n)}else Qz(t,c,n)}var N=f.children;return Qn(e,t,N,n),t.child}var k4=!1;function aH(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(k4||(k4=!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,f=c.children;typeof f!="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."),ff(t,n);var g=Ja(i);wp(t);var S;return wh.current=t,vl(!0),S=f(g),vl(!1),Wd(),t.flags|=Ud,Qn(e,t,S,n),t.child}function Th(){Yl=!0}function vg(e,t){(t.mode&br)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Qs(e,t,n){return e!==null&&(t.dependencies=e.dependencies),t4(),Mh(t.lanes),Mo(n,t.childLanes)?(Xz(e,t),t.child):null}function nH(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 f=i.deletions;return f===null?(i.deletions=[e],i.flags|=Tc):f.push(e),n.flags|=Xa,n}}function dy(e,t){var n=e.lanes;return!!Mo(n,t)}function oH(e,t,n){switch(t.tag){case y:_4(t);var i=t.stateNode;uf();break;case w:Tx(t);break;case v:{var c=t.type;vs(c)&&kv(t);break}case C:o0(t,t.stateNode.containerInfo);break;case F:{var f=t.memoizedProps.value,g=t.type._context;gx(t,g,f);break}case H:{var S=Mo(n,t.childLanes);S&&(t.flags|=kr);{var x=t.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}}break;case G:{var R=t.memoizedState;if(R!==null){if(R.dehydrated!==null)return Gu(t,hf(Ul.current)),t.flags|=Pr,null;var N=t.child,Q=N.childLanes;if(Mo(n,Q))return y4(e,t,n);Gu(t,hf(Ul.current));var J=Qs(e,t,n);return J!==null?J.sibling:null}else Gu(t,hf(Ul.current));break}case ye:{var ge=(e.flags&Pr)!==Ut,_e=Mo(n,t.childLanes);if(ge){if(_e)return x4(e,t,n);t.flags|=Pr}var Te=t.memoizedState;if(Te!==null&&(Te.rendering=null,Te.tail=null,Te.lastEffect=null),Gu(t,Ul.current),_e)break;return null}case I:case ae:return t.lanes=je,m4(e,t,n)}return Qs(e,t,n)}function E4(e,t,n){if(t._debugNeedsRemount&&e!==null)return nH(e,t,Uy(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||xv()||t.type!==e.type)Yl=!0;else{var f=dy(e,n);if(!f&&(t.flags&Pr)===Ut)return Yl=!1,oH(e,t,n);(e.flags&gb)!==Ut?Yl=!0:Yl=!1}}else if(Yl=!1,Tn()&&Lz(t)){var g=t.index,S=Az();tx(t,S,g)}switch(t.lanes=je,t.tag){case b:return jj(e,t,t.type,n);case Ee:{var x=t.elementType;return Fj(e,t,x,n)}case p:{var R=t.type,N=t.pendingProps,Q=t.elementType===R?N:Wl(R,N);return ay(e,t,R,Q,n)}case v:{var J=t.type,ge=t.pendingProps,_e=t.elementType===J?ge:Wl(J,ge);return g4(e,t,J,_e,n)}case y:return Ij(e,t,n);case w:return Pj(e,t,n);case k:return Mj(e,t);case G:return y4(e,t,n);case C:return tH(e,t,n);case V:{var Te=t.type,lt=t.pendingProps,Nt=t.elementType===Te?lt:Wl(Te,lt);return f4(e,t,Te,Nt,n)}case B:return Bj(e,t,n);case M:return Nj(e,t,n);case H:return Oj(e,t,n);case F:return rH(e,t,n);case X:return aH(e,t,n);case P:{var Et=t.type,vr=t.pendingProps,gr=Wl(Et,vr);if(t.type!==t.elementType){var se=Et.propTypes;se&&zl(se,gr,"prop",Vr(Et))}return gr=Wl(Et.type,gr),p4(e,t,Et,gr,n)}case oe:return h4(e,t,t.type,t.pendingProps,n);case te:{var De=t.type,ue=t.pendingProps,Je=t.elementType===De?ue:Wl(De,ue);return zj(e,t,De,Je,n)}case ye:return x4(e,t,n);case fe:break;case I:return m4(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 yf(e){e.flags|=kr}function R4(e){e.flags|=Nu,e.flags|=_b}var D4,fy,L4,A4;D4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)E9(e,c.stateNode);else if(c.tag!==C){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}},fy=function(e,t){},L4=function(e,t,n,i,c){var f=e.memoizedProps;if(f!==i){var g=t.stateNode,S=i0(),x=D9(g,n,f,i,c,S);t.updateQueue=x,x&&yf(t)}},A4=function(e,t,n,i){n!==i&&yf(t)};function kh(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,f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=je,i=Ut;if(t){if((e.mode&Jr)!==Mt){for(var x=e.selfBaseDuration,R=e.child;R!==null;)n=ur(n,ur(R.lanes,R.childLanes)),i|=R.subtreeFlags&Us,i|=R.flags&Us,x+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=x}else for(var N=e.child;N!==null;)n=ur(n,ur(N.lanes,N.childLanes)),i|=N.subtreeFlags&Us,i|=N.flags&Us,N.return=e,N=N.sibling;e.subtreeFlags|=i}else{if((e.mode&Jr)!==Mt){for(var c=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=ur(n,ur(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,c+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=f}else for(var S=e.child;S!==null;)n=ur(n,ur(S.lanes,S.childLanes)),i|=S.subtreeFlags,i|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function iH(e,t,n){if(Wz()&&(t.mode&br)!==Mt&&(t.flags&Pr)===Ut)return sx(t),uf(),t.flags|=zs|yp|Jn,!1;var i=Av(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(Uz(t),En(t),(t.mode&Jr)!==Mt){var c=n!==null;if(c){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(uf(),(t.flags&Pr)===Ut&&(t.memoizedState=null),t.flags|=kr,En(t),(t.mode&Jr)!==Mt){var g=n!==null;if(g){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return ux(),!0}function B4(e,t,n){var i=t.pendingProps;switch(F1(t),t.tag){case b:case Ee:case oe:case p:case V:case B:case M:case H:case X:case P:return En(t),null;case v:{var c=t.type;return vs(c)&&Tv(t),En(t),null}case y:{var f=t.stateNode;if(pf(t),O1(t),d0(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=Av(t);if(g)yf(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&zs)!==Ut)&&(t.flags|=kc,ux())}}return fy(e,t),En(t),null}case w:{l0(t);var x=xx(),R=t.type;if(e!==null&&t.stateNode!=null)L4(e,t,R,i,x),e.ref!==t.ref&&R4(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 En(t),null}var N=i0(),Q=Av(t);if(Q)jz(t,x,N)&&yf(t);else{var J=k9(R,i,x,N,t);D4(J,t,!1,!1),t.stateNode=J,R9(J,R,i,x)&&yf(t)}t.ref!==null&&R4(t)}return En(t),null}case k:{var ge=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;A4(e,t,_e,ge)}else{if(typeof ge!="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 Te=xx(),lt=i0(),Nt=Av(t);Nt?Hz(t)&&yf(t):t.stateNode=L9(ge,Te,lt,t)}return En(t),null}case G:{mf(t);var Et=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vr=iH(e,t,Et);if(!vr)return t.flags&Jn?t:null}if((t.flags&Pr)!==Ut)return t.lanes=n,(t.mode&Jr)!==Mt&&P0(t),t;var gr=Et!==null,se=e!==null&&e.memoizedState!==null;if(gr!==se&&gr){var De=t.child;if(De.flags|=Ec,(t.mode&br)!==Mt){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);ue||s0(Ul.current,Ex)?fU():Ay()}}var Je=t.updateQueue;if(Je!==null&&(t.flags|=kr),En(t),(t.mode&Jr)!==Mt&&gr){var mt=t.child;mt!==null&&(t.treeBaseDuration-=mt.treeBaseDuration)}return null}case C:return pf(t),fy(e,t),e===null&&Cz(t.stateNode.containerInfo),En(t),null;case F:var ut=t.type._context;return Q1(ut,t),En(t),null;case te:{var Wt=t.type;return vs(Wt)&&Tv(t),En(t),null}case ye:{mf(t);var Zt=t.memoizedState;if(Zt===null)return En(t),null;var Zr=(t.flags&Pr)!==Ut,Dr=Zt.rendering;if(Dr===null)if(Zr)kh(Zt,!1);else{var Wa=hU()&&(e===null||(e.flags&Pr)===Ut);if(!Wa)for(var Lr=t.child;Lr!==null;){var Ia=Gv(Lr);if(Ia!==null){Zr=!0,t.flags|=Pr,kh(Zt,!1);var Un=Ia.updateQueue;return Un!==null&&(t.updateQueue=Un,t.flags|=kr),t.subtreeFlags=Ut,Jz(t,n),Gu(t,u0(Ul.current,ph)),t.child}Lr=Lr.sibling}Zt.tail!==null&&gn()>eT()&&(t.flags|=Pr,Zr=!0,kh(Zt,!1),t.lanes=AC)}else{if(!Zr){var Bn=Gv(Dr);if(Bn!==null){t.flags|=Pr,Zr=!0;var Vo=Bn.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=kr),kh(Zt,!0),Zt.tail===null&&Zt.tailMode==="hidden"&&!Dr.alternate&&!Tn())return En(t),null}else gn()*2-Zt.renderingStartTime>eT()&&n!==Po&&(t.flags|=Pr,Zr=!0,kh(Zt,!1),t.lanes=AC)}if(Zt.isBackwards)Dr.sibling=t.child,t.child=Dr;else{var to=Zt.last;to!==null?to.sibling=Dr:t.child=Dr,Zt.last=Dr}}if(Zt.tail!==null){var ro=Zt.tail;Zt.rendering=ro,Zt.tail=ro.sibling,Zt.renderingStartTime=gn(),ro.sibling=null;var Vn=Ul.current;return Zr?Vn=u0(Vn,ph):Vn=hf(Vn),Gu(t,Vn),ro}return En(t),null}case fe:break;case I:case ae:{Ly(t);var au=t.memoizedState,Rf=au!==null;if(e!==null){var Uh=e.memoizedState,xs=Uh!==null;xs!==Rf&&!ce&&(t.flags|=Ec)}return!Rf||(t.mode&br)===Mt?En(t):Mo(Cs,Po)&&(En(t),t.subtreeFlags&(Xa|kr)&&(t.flags|=Ec)),null}case me:return null;case z: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 lH(e,t,n){switch(F1(t),t.tag){case v:{var i=t.type;vs(i)&&Tv(t);var c=t.flags;return c&Jn?(t.flags=c&~Jn|Pr,(t.mode&Jr)!==Mt&&P0(t),t):null}case y:{var f=t.stateNode;pf(t),O1(t),d0();var g=t.flags;return(g&Jn)!==Ut&&(g&Pr)===Ut?(t.flags=g&~Jn|Pr,t):null}case w:return l0(t),null;case G:{mf(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");uf()}var x=t.flags;return x&Jn?(t.flags=x&~Jn|Pr,(t.mode&Jr)!==Mt&&P0(t),t):null}case ye:return mf(t),null;case C:return pf(t),null;case F:var R=t.type._context;return Q1(R,t),null;case I:case ae:return Ly(t),null;case me:return null;default:return null}}function N4(e,t,n){switch(F1(t),t.tag){case v:{var i=t.type.childContextTypes;i!=null&&Tv(t);break}case y:{var c=t.stateNode;pf(t),O1(t),d0();break}case w:{l0(t);break}case C:pf(t);break;case G:mf(t);break;case ye:mf(t);break;case F:var f=t.type._context;Q1(f,t);break;case I:case ae:Ly(t);break}}var O4=null;O4=new Set;var gg=!1,Rn=!1,sH=typeof WeakSet=="function"?WeakSet:Set,xt=null,Sf=null,wf=null;function uH(e){hb(null,function(){throw e}),mb()}var cH=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 I4(e,t){try{Xu(an,e)}catch(n){fa(e,t,n)}}function py(e,t,n){try{cH(e,n)}catch(i){fa(e,t,i)}}function dH(e,t,n){try{n.componentDidMount()}catch(i){fa(e,t,i)}}function P4(e,t){try{z4(e)}catch(n){fa(e,t,n)}}function Cf(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(ct&&nr&&e.mode&Jr)try{Ss(),i=n(null)}finally{ys(e)}else i=n(null)}catch(c){fa(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else n.current=null}function _g(e,t,n){try{n()}catch(i){fa(e,t,i)}}var M4=null,F4=!1;function fH(e,t){M4=x9(e.containerInfo),xt=t,pH();var n=F4;return F4=!1,M4=null,n}function pH(){for(;xt!==null;){var e=xt,t=e.child;(e.subtreeFlags&yb)!==Ut&&t!==null?(t.return=e,xt=t):hH()}}function hH(){for(;xt!==null;){var e=xt;xa(e);try{mH(e)}catch(n){fa(e,e.return,n)}vn();var t=e.sibling;if(t!==null){t.return=e.return,xt=t;return}xt=e.return}}function mH(e){var t=e.alternate,n=e.flags;if((n&kc)!==Ut){switch(xa(e),e.tag){case p:case V:case oe:break;case v:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!qc&&(f.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.",or(e)||"instance"),f.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.",or(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?i:Wl(e.type,i),c);{var S=O4;g===void 0&&!S.has(e.type)&&(S.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",or(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case y:{{var x=e.stateNode;K9(x.containerInfo)}break}case w:case k:case C:case te: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.")}vn()}}function $l(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var f=c.next,g=f;do{if((g.tag&e)===e){var S=g.destroy;g.destroy=void 0,S!==void 0&&((e&kn)!==To?LP(t):(e&an)!==To&&kC(t),(e&gs)!==To&&zh(!0),_g(t,n,S),(e&gs)!==To&&zh(!1),(e&kn)!==To?AP():(e&an)!==To&&EC())}g=g.next}while(g!==f)}}function Xu(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,f=c;do{if((f.tag&e)===e){(e&kn)!==To?RP(t):(e&an)!==To&&BP(t);var g=f.create;(e&gs)!==To&&zh(!0),f.destroy=g(),(e&gs)!==To&&zh(!1),(e&kn)!==To?DP():(e&an)!==To&&NP();{var S=f.destroy;if(S!==void 0&&typeof S!="function"){var x=void 0;(f.tag&an)!==Ut?x="useLayoutEffect":(f.tag&gs)!==Ut?x="useInsertionEffect":x="useEffect";var R=void 0;S===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?R=`
102
+ Check the render method of \``+i+"`.");var c=i||"",f=e._debugSource;f&&(c=f.fileName+":"+f.lineNumber),ty[c]||(ty[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 S=Vr(t)||"Unknown";ey[S]||(u("%s: Function components do not support getDerivedStateFromProps.",S),ey[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var x=Vr(t)||"Unknown";Z0[x]||(u("%s: Function components do not support contextType.",x),Z0[x]=!0)}}}var iy={dehydrated:null,treeContext:null,retryLane:bn};function ly(e){return{baseLanes:e,cachePool:Lj(),transitions:null}}function Hj(e,t){var n=null;return{baseLanes:ur(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Uj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return s0(e,ph)}function Vj(e,t){return Km(e.childLanes,t)}function y4(e,t,n){var i=t.pendingProps;aV(t)&&(t.flags|=Mr);var c=Ul.current,f=!1,g=(t.flags&Mr)!==Ut;if(g||Uj(c,e)?(f=!0,t.flags&=~Mr):(e===null||e.memoizedState!==null)&&(c=lj(c,Ex)),c=hf(c),Gu(t,c),e===null){U1(t);var S=t.memoizedState;if(S!==null){var x=S.dehydrated;if(x!==null)return qj(t,x)}var R=i.children,N=i.fallback;if(f){var Q=Wj(t,R,N,n),J=t.child;return J.memoizedState=ly(n),t.memoizedState=iy,Q}else return sy(t,R)}else{var ge=e.memoizedState;if(ge!==null){var _e=ge.dehydrated;if(_e!==null)return Kj(e,t,g,i,_e,ge,n)}if(f){var Te=i.fallback,lt=i.children,Nt=$j(e,t,lt,Te,n),Et=t.child,vr=e.child.memoizedState;return Et.memoizedState=vr===null?ly(n):Hj(vr,n),Et.childLanes=Vj(e,n),t.memoizedState=iy,Nt}else{var gr=i.children,se=Yj(e,t,gr,n);return t.memoizedState=null,se}}}function sy(e,t,n){var i=e.mode,c={mode:"visible",children:t},f=uy(c,i);return f.return=e,e.child=f,f}function Wj(e,t,n,i){var c=e.mode,f=e.child,g={mode:"hidden",children:t},S,x;return(c&br)===Mt&&f!==null?(S=f,S.childLanes=je,S.pendingProps=g,e.mode&Jr&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),x=tc(n,c,i,null)):(S=uy(g,c),x=tc(n,c,i,null)),S.return=e,x.return=e,S.sibling=x,e.child=S,x}function uy(e,t,n){return wT(e,t,je,null)}function S4(e,t){return Zc(e,t)}function Yj(e,t,n,i){var c=e.child,f=c.sibling,g=S4(c,{mode:"visible",children:n});if((t.mode&br)===Mt&&(g.lanes=i),g.return=t,g.sibling=null,f!==null){var S=t.deletions;S===null?(t.deletions=[f],t.flags|=Tc):S.push(f)}return t.child=g,g}function $j(e,t,n,i,c){var f=t.mode,g=e.child,S=g.sibling,x={mode:"hidden",children:n},R;if((f&br)===Mt&&t.child!==g){var N=t.child;R=N,R.childLanes=je,R.pendingProps=x,t.mode&Jr&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=g.selfBaseDuration,R.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else R=S4(g,x),R.subtreeFlags=g.subtreeFlags&Us;var Q;return S!==null?Q=Zc(S,i):(Q=tc(i,f,c,null),Q.flags|=Xa),Q.return=t,R.return=t,R.sibling=Q,t.child=R,Q}function mg(e,t,n,i){i!==null&&V1(i),cf(t,e.child,null,n);var c=t.pendingProps,f=c.children,g=sy(t,f);return g.flags|=Xa,t.memoizedState=null,g}function Gj(e,t,n,i,c){var f=t.mode,g={mode:"visible",children:n},S=uy(g,f),x=tc(i,f,c,null);return x.flags|=Xa,S.return=t,x.return=t,S.sibling=x,t.child=S,(t.mode&br)!==Mt&&cf(t,e.child,null,c),x}function qj(e,t,n){return(e.mode&br)===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=Jt):E1(t)?e.lanes=Bc:e.lanes=Po,null}function Kj(e,t,n,i,c,f,g){if(n)if(t.flags&zs){t.flags&=~zs;var se=K0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return mg(e,t,g,se)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Mr,null;var De=i.children,ue=i.fallback,Je=Gj(e,t,De,ue,g),mt=t.child;return mt.memoizedState=ly(g),t.memoizedState=iy,Je}else{if(Pz(),(t.mode&br)===Mt)return mg(e,t,g,null);if(E1(c)){var S,x,R;{var N=Z9(c);S=N.digest,x=N.message,R=N.stack}var Q;x?Q=new Error(x):Q=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=K0(Q,S,R);return mg(e,t,g,J)}var ge=Mo(g,e.childLanes);if(Yl||ge){var _e=kg();if(_e!==null){var Te=oM(_e,g);if(Te!==bn&&Te!==f.retryLane){f.retryLane=Te;var lt=ga;xo(e,Te),cn(_e,e,Te,lt)}}Ay();var Nt=K0(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 mg(e,t,g,Nt)}else if(W3(c)){t.flags|=Mr,t.child=e.child;var Et=TU.bind(null,e);return ez(c,Et),null}else{zz(t,c,f.treeContext);var vr=i.children,gr=sy(t,vr);return gr.flags|=js,gr}}}function w4(e,t,n){e.lanes=ur(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ur(i.lanes,t)),Z1(e.return,t,n)}function Xj(e,t,n){for(var i=t;i!==null;){if(i.tag===G){var c=i.memoizedState;c!==null&&w4(i,n,e)}else if(i.tag===ye)w4(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 Jj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Gv(i)===null&&(n=t),t=t.sibling}return n}function Qj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!ry[e])if(ry[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 Zj(e,t){e!==void 0&&!hg[e]&&(e!=="collapsed"&&e!=="hidden"?(hg[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(hg[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function C4(e,t){{var n=tn(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 eH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(tn(e)){for(var n=0;n<e.length;n++)if(!C4(e[n],n))return}else{var i=qa(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var f=c.next(),g=0;!f.done;f=c.next()){if(!C4(f.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 cy(e,t,n,i,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=c)}function x4(e,t,n){var i=t.pendingProps,c=i.revealOrder,f=i.tail,g=i.children;Qj(c),Zj(f,c),eH(g,c),Qn(e,t,g,n);var S=Ul.current,x=s0(S,ph);if(x)S=u0(S,ph),t.flags|=Mr;else{var R=e!==null&&(e.flags&Mr)!==Ut;R&&Xj(t,t.child,n),S=hf(S)}if(Gu(t,S),(t.mode&br)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var N=Jj(t.child),Q;N===null?(Q=t.child,t.child=null):(Q=N.sibling,N.sibling=null),cy(t,!1,Q,N,f);break}case"backwards":{var J=null,ge=t.child;for(t.child=null;ge!==null;){var _e=ge.alternate;if(_e!==null&&Gv(_e)===null){t.child=ge;break}var Te=ge.sibling;ge.sibling=J,J=ge,ge=Te}cy(t,!0,J,null,f);break}case"together":{cy(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function tH(e,t,n){o0(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=cf(t,null,i,n):Qn(e,t,i,n),t.child}var T4=!1;function rH(e,t,n){var i=t.type,c=i._context,f=t.pendingProps,g=t.memoizedProps,S=f.value;{"value"in f||T4||(T4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=t.type.propTypes;x&&zl(x,f,"prop","Context.Provider")}if(gx(t,c,S),g!==null){var R=g.value;if(jo(R,S)){if(g.children===f.children&&!xv())return Qs(e,t,n)}else Qz(t,c,n)}var N=f.children;return Qn(e,t,N,n),t.child}var k4=!1;function aH(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(k4||(k4=!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,f=c.children;typeof f!="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."),ff(t,n);var g=Ja(i);wp(t);var S;return wh.current=t,vl(!0),S=f(g),vl(!1),Wd(),t.flags|=Ud,Qn(e,t,S,n),t.child}function Th(){Yl=!0}function vg(e,t){(t.mode&br)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Qs(e,t,n){return e!==null&&(t.dependencies=e.dependencies),t4(),Mh(t.lanes),Mo(n,t.childLanes)?(Xz(e,t),t.child):null}function nH(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 f=i.deletions;return f===null?(i.deletions=[e],i.flags|=Tc):f.push(e),n.flags|=Xa,n}}function dy(e,t){var n=e.lanes;return!!Mo(n,t)}function oH(e,t,n){switch(t.tag){case y:_4(t);var i=t.stateNode;uf();break;case w:Tx(t);break;case v:{var c=t.type;vs(c)&&kv(t);break}case C:o0(t,t.stateNode.containerInfo);break;case F:{var f=t.memoizedProps.value,g=t.type._context;gx(t,g,f);break}case H:{var S=Mo(n,t.childLanes);S&&(t.flags|=kr);{var x=t.stateNode;x.effectDuration=0,x.passiveEffectDuration=0}}break;case G:{var R=t.memoizedState;if(R!==null){if(R.dehydrated!==null)return Gu(t,hf(Ul.current)),t.flags|=Mr,null;var N=t.child,Q=N.childLanes;if(Mo(n,Q))return y4(e,t,n);Gu(t,hf(Ul.current));var J=Qs(e,t,n);return J!==null?J.sibling:null}else Gu(t,hf(Ul.current));break}case ye:{var ge=(e.flags&Mr)!==Ut,_e=Mo(n,t.childLanes);if(ge){if(_e)return x4(e,t,n);t.flags|=Mr}var Te=t.memoizedState;if(Te!==null&&(Te.rendering=null,Te.tail=null,Te.lastEffect=null),Gu(t,Ul.current),_e)break;return null}case I:case ae:return t.lanes=je,m4(e,t,n)}return Qs(e,t,n)}function E4(e,t,n){if(t._debugNeedsRemount&&e!==null)return nH(e,t,Uy(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||xv()||t.type!==e.type)Yl=!0;else{var f=dy(e,n);if(!f&&(t.flags&Mr)===Ut)return Yl=!1,oH(e,t,n);(e.flags&gb)!==Ut?Yl=!0:Yl=!1}}else if(Yl=!1,Tn()&&Lz(t)){var g=t.index,S=Az();tx(t,S,g)}switch(t.lanes=je,t.tag){case b:return jj(e,t,t.type,n);case Ee:{var x=t.elementType;return Fj(e,t,x,n)}case p:{var R=t.type,N=t.pendingProps,Q=t.elementType===R?N:Wl(R,N);return ay(e,t,R,Q,n)}case v:{var J=t.type,ge=t.pendingProps,_e=t.elementType===J?ge:Wl(J,ge);return g4(e,t,J,_e,n)}case y:return Ij(e,t,n);case w:return Pj(e,t,n);case k:return Mj(e,t);case G:return y4(e,t,n);case C:return tH(e,t,n);case V:{var Te=t.type,lt=t.pendingProps,Nt=t.elementType===Te?lt:Wl(Te,lt);return f4(e,t,Te,Nt,n)}case B:return Bj(e,t,n);case M:return Nj(e,t,n);case H:return Oj(e,t,n);case F:return rH(e,t,n);case X:return aH(e,t,n);case P:{var Et=t.type,vr=t.pendingProps,gr=Wl(Et,vr);if(t.type!==t.elementType){var se=Et.propTypes;se&&zl(se,gr,"prop",Vr(Et))}return gr=Wl(Et.type,gr),p4(e,t,Et,gr,n)}case oe:return h4(e,t,t.type,t.pendingProps,n);case te:{var De=t.type,ue=t.pendingProps,Je=t.elementType===De?ue:Wl(De,ue);return zj(e,t,De,Je,n)}case ye:return x4(e,t,n);case fe:break;case I:return m4(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 yf(e){e.flags|=kr}function R4(e){e.flags|=Nu,e.flags|=_b}var D4,fy,L4,A4;D4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)E9(e,c.stateNode);else if(c.tag!==C){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}},fy=function(e,t){},L4=function(e,t,n,i,c){var f=e.memoizedProps;if(f!==i){var g=t.stateNode,S=i0(),x=D9(g,n,f,i,c,S);t.updateQueue=x,x&&yf(t)}},A4=function(e,t,n,i){n!==i&&yf(t)};function kh(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,f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=je,i=Ut;if(t){if((e.mode&Jr)!==Mt){for(var x=e.selfBaseDuration,R=e.child;R!==null;)n=ur(n,ur(R.lanes,R.childLanes)),i|=R.subtreeFlags&Us,i|=R.flags&Us,x+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=x}else for(var N=e.child;N!==null;)n=ur(n,ur(N.lanes,N.childLanes)),i|=N.subtreeFlags&Us,i|=N.flags&Us,N.return=e,N=N.sibling;e.subtreeFlags|=i}else{if((e.mode&Jr)!==Mt){for(var c=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=ur(n,ur(g.lanes,g.childLanes)),i|=g.subtreeFlags,i|=g.flags,c+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=f}else for(var S=e.child;S!==null;)n=ur(n,ur(S.lanes,S.childLanes)),i|=S.subtreeFlags,i|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function iH(e,t,n){if(Wz()&&(t.mode&br)!==Mt&&(t.flags&Mr)===Ut)return sx(t),uf(),t.flags|=zs|yp|Jn,!1;var i=Av(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(Uz(t),En(t),(t.mode&Jr)!==Mt){var c=n!==null;if(c){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(uf(),(t.flags&Mr)===Ut&&(t.memoizedState=null),t.flags|=kr,En(t),(t.mode&Jr)!==Mt){var g=n!==null;if(g){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return ux(),!0}function B4(e,t,n){var i=t.pendingProps;switch(F1(t),t.tag){case b:case Ee:case oe:case p:case V:case B:case M:case H:case X:case P:return En(t),null;case v:{var c=t.type;return vs(c)&&Tv(t),En(t),null}case y:{var f=t.stateNode;if(pf(t),O1(t),d0(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=Av(t);if(g)yf(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&zs)!==Ut)&&(t.flags|=kc,ux())}}return fy(e,t),En(t),null}case w:{l0(t);var x=xx(),R=t.type;if(e!==null&&t.stateNode!=null)L4(e,t,R,i,x),e.ref!==t.ref&&R4(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 En(t),null}var N=i0(),Q=Av(t);if(Q)jz(t,x,N)&&yf(t);else{var J=k9(R,i,x,N,t);D4(J,t,!1,!1),t.stateNode=J,R9(J,R,i,x)&&yf(t)}t.ref!==null&&R4(t)}return En(t),null}case k:{var ge=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;A4(e,t,_e,ge)}else{if(typeof ge!="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 Te=xx(),lt=i0(),Nt=Av(t);Nt?Hz(t)&&yf(t):t.stateNode=L9(ge,Te,lt,t)}return En(t),null}case G:{mf(t);var Et=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vr=iH(e,t,Et);if(!vr)return t.flags&Jn?t:null}if((t.flags&Mr)!==Ut)return t.lanes=n,(t.mode&Jr)!==Mt&&P0(t),t;var gr=Et!==null,se=e!==null&&e.memoizedState!==null;if(gr!==se&&gr){var De=t.child;if(De.flags|=Ec,(t.mode&br)!==Mt){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);ue||s0(Ul.current,Ex)?fU():Ay()}}var Je=t.updateQueue;if(Je!==null&&(t.flags|=kr),En(t),(t.mode&Jr)!==Mt&&gr){var mt=t.child;mt!==null&&(t.treeBaseDuration-=mt.treeBaseDuration)}return null}case C:return pf(t),fy(e,t),e===null&&Cz(t.stateNode.containerInfo),En(t),null;case F:var ut=t.type._context;return Q1(ut,t),En(t),null;case te:{var Wt=t.type;return vs(Wt)&&Tv(t),En(t),null}case ye:{mf(t);var Zt=t.memoizedState;if(Zt===null)return En(t),null;var Zr=(t.flags&Mr)!==Ut,Dr=Zt.rendering;if(Dr===null)if(Zr)kh(Zt,!1);else{var Wa=hU()&&(e===null||(e.flags&Mr)===Ut);if(!Wa)for(var Lr=t.child;Lr!==null;){var Ia=Gv(Lr);if(Ia!==null){Zr=!0,t.flags|=Mr,kh(Zt,!1);var Un=Ia.updateQueue;return Un!==null&&(t.updateQueue=Un,t.flags|=kr),t.subtreeFlags=Ut,Jz(t,n),Gu(t,u0(Ul.current,ph)),t.child}Lr=Lr.sibling}Zt.tail!==null&&gn()>eT()&&(t.flags|=Mr,Zr=!0,kh(Zt,!1),t.lanes=AC)}else{if(!Zr){var Bn=Gv(Dr);if(Bn!==null){t.flags|=Mr,Zr=!0;var Vo=Bn.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=kr),kh(Zt,!0),Zt.tail===null&&Zt.tailMode==="hidden"&&!Dr.alternate&&!Tn())return En(t),null}else gn()*2-Zt.renderingStartTime>eT()&&n!==Po&&(t.flags|=Mr,Zr=!0,kh(Zt,!1),t.lanes=AC)}if(Zt.isBackwards)Dr.sibling=t.child,t.child=Dr;else{var to=Zt.last;to!==null?to.sibling=Dr:t.child=Dr,Zt.last=Dr}}if(Zt.tail!==null){var ro=Zt.tail;Zt.rendering=ro,Zt.tail=ro.sibling,Zt.renderingStartTime=gn(),ro.sibling=null;var Vn=Ul.current;return Zr?Vn=u0(Vn,ph):Vn=hf(Vn),Gu(t,Vn),ro}return En(t),null}case fe:break;case I:case ae:{Ly(t);var au=t.memoizedState,Rf=au!==null;if(e!==null){var Uh=e.memoizedState,xs=Uh!==null;xs!==Rf&&!ce&&(t.flags|=Ec)}return!Rf||(t.mode&br)===Mt?En(t):Mo(Cs,Po)&&(En(t),t.subtreeFlags&(Xa|kr)&&(t.flags|=Ec)),null}case me:return null;case z: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 lH(e,t,n){switch(F1(t),t.tag){case v:{var i=t.type;vs(i)&&Tv(t);var c=t.flags;return c&Jn?(t.flags=c&~Jn|Mr,(t.mode&Jr)!==Mt&&P0(t),t):null}case y:{var f=t.stateNode;pf(t),O1(t),d0();var g=t.flags;return(g&Jn)!==Ut&&(g&Mr)===Ut?(t.flags=g&~Jn|Mr,t):null}case w:return l0(t),null;case G:{mf(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");uf()}var x=t.flags;return x&Jn?(t.flags=x&~Jn|Mr,(t.mode&Jr)!==Mt&&P0(t),t):null}case ye:return mf(t),null;case C:return pf(t),null;case F:var R=t.type._context;return Q1(R,t),null;case I:case ae:return Ly(t),null;case me:return null;default:return null}}function N4(e,t,n){switch(F1(t),t.tag){case v:{var i=t.type.childContextTypes;i!=null&&Tv(t);break}case y:{var c=t.stateNode;pf(t),O1(t),d0();break}case w:{l0(t);break}case C:pf(t);break;case G:mf(t);break;case ye:mf(t);break;case F:var f=t.type._context;Q1(f,t);break;case I:case ae:Ly(t);break}}var O4=null;O4=new Set;var gg=!1,Rn=!1,sH=typeof WeakSet=="function"?WeakSet:Set,xt=null,Sf=null,wf=null;function uH(e){hb(null,function(){throw e}),mb()}var cH=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 I4(e,t){try{Xu(an,e)}catch(n){fa(e,t,n)}}function py(e,t,n){try{cH(e,n)}catch(i){fa(e,t,i)}}function dH(e,t,n){try{n.componentDidMount()}catch(i){fa(e,t,i)}}function P4(e,t){try{z4(e)}catch(n){fa(e,t,n)}}function Cf(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(ct&&nr&&e.mode&Jr)try{Ss(),i=n(null)}finally{ys(e)}else i=n(null)}catch(c){fa(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",or(e))}else n.current=null}function _g(e,t,n){try{n()}catch(i){fa(e,t,i)}}var M4=null,F4=!1;function fH(e,t){M4=x9(e.containerInfo),xt=t,pH();var n=F4;return F4=!1,M4=null,n}function pH(){for(;xt!==null;){var e=xt,t=e.child;(e.subtreeFlags&yb)!==Ut&&t!==null?(t.return=e,xt=t):hH()}}function hH(){for(;xt!==null;){var e=xt;xa(e);try{mH(e)}catch(n){fa(e,e.return,n)}vn();var t=e.sibling;if(t!==null){t.return=e.return,xt=t;return}xt=e.return}}function mH(e){var t=e.alternate,n=e.flags;if((n&kc)!==Ut){switch(xa(e),e.tag){case p:case V:case oe:break;case v:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!qc&&(f.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.",or(e)||"instance"),f.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.",or(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?i:Wl(e.type,i),c);{var S=O4;g===void 0&&!S.has(e.type)&&(S.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",or(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case y:{{var x=e.stateNode;K9(x.containerInfo)}break}case w:case k:case C:case te: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.")}vn()}}function $l(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var f=c.next,g=f;do{if((g.tag&e)===e){var S=g.destroy;g.destroy=void 0,S!==void 0&&((e&kn)!==To?LP(t):(e&an)!==To&&kC(t),(e&gs)!==To&&zh(!0),_g(t,n,S),(e&gs)!==To&&zh(!1),(e&kn)!==To?AP():(e&an)!==To&&EC())}g=g.next}while(g!==f)}}function Xu(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,f=c;do{if((f.tag&e)===e){(e&kn)!==To?RP(t):(e&an)!==To&&BP(t);var g=f.create;(e&gs)!==To&&zh(!0),f.destroy=g(),(e&gs)!==To&&zh(!1),(e&kn)!==To?DP():(e&an)!==To&&NP();{var S=f.destroy;if(S!==void 0&&typeof S!="function"){var x=void 0;(f.tag&an)!==Ut?x="useLayoutEffect":(f.tag&gs)!==Ut?x="useInsertionEffect":x="useEffect";var R=void 0;S===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?R=`
103
103
 
104
104
  It looks like you wrote `+x+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
105
105
 
@@ -142,15 +142,15 @@ Check the render method of %s.`,or(Fn)||"Unknown"));var x=Js(f,g);x.payload={ele
142
142
 
143
143
  let root = createRoot(domContainer);
144
144
  root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var S=kT(e,Ev,null,n,i,c,f);yv(S.current,e);var x=e.nodeType===Ka?e.parentNode:e;return $p(x),new Jy(S)}function Bg(e){this._internalRoot=e}function uV(e){e&&bM(e)}Bg.prototype.unstable_scheduleHydration=uV;function cV(e,t,n){if(!Ng(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");qT(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,f=!1,g=!1,S="",x=GT;n!=null&&(n.unstable_strictMode===!0&&(f=!0),n.identifierPrefix!==void 0&&(S=n.identifierPrefix),n.onRecoverableError!==void 0&&(x=n.onRecoverableError));var R=ET(t,null,e,Ev,i,f,g,S,x);if(yv(R.current,e),$p(e),c)for(var N=0;N<c.length;N++){var Q=c[N];uj(R,Q)}return new Bg(R)}function Ng(e){return!!(e&&(e.nodeType===wo||e.nodeType===Fs||e.nodeType===ab||!Fe))}function Hh(e){return!!(e&&(e.nodeType===wo||e.nodeType===Fs||e.nodeType===ab||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function qT(e){e.nodeType===wo&&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 dV=o.ReactCurrentOwner,KT;KT=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){var t=DT(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=Qy(e),c=!!(i&&ju(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===wo&&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 Qy(e){return e?e.nodeType===Fs?e.documentElement:e.firstChild:null}function XT(){}function fV(e,t,n,i,c){if(c){if(typeof i=="function"){var f=i;i=function(){var J=Ag(g);f.call(J)}}var g=ET(t,i,e,Uu,null,!1,!1,"",XT);e._reactRootContainer=g,yv(g.current,e);var S=e.nodeType===Ka?e.parentNode:e;return $p(S),tu(),g}else{for(var x;x=e.lastChild;)e.removeChild(x);if(typeof i=="function"){var R=i;i=function(){var J=Ag(N);R.call(J)}}var N=kT(e,Uu,null,!1,!1,"",XT);e._reactRootContainer=N,yv(N.current,e);var Q=e.nodeType===Ka?e.parentNode:e;return $p(Q),tu(function(){jh(t,N,n,i)}),N}}function pV(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 Og(e,t,n,i,c){KT(n),pV(c===void 0?null:c,"render");var f=n._reactRootContainer,g;if(!f)g=fV(n,t,e,c,i);else{if(g=f,typeof c=="function"){var S=c;c=function(){var x=Ag(g);S.call(x)}}jh(t,g,e,c)}return Ag(g)}var JT=!1;function hV(e){{JT||(JT=!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=dV.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===wo?e:QU(e,"findDOMNode")}function mV(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 Og(null,e,t,!0,n)}function vV(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 Og(null,e,t,!1,n)}function gV(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||!oP(e))throw new Error("parentComponent must be a valid React Component");return Og(e,t,n,!1,i)}var QT=!1;function _V(e){if(QT||(QT=!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=Qy(e),i=n&&!ju(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){Og(null,null,e,!1,function(){e._reactRootContainer=null,$3(e)})}),!0}else{{var c=Qy(e),f=!!(c&&ju(c)),g=e.nodeType===wo&&Hh(e.parentNode)&&!!e.parentNode._reactRootContainer;f&&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}}uM(ZU),dM(eV),fM(tV),pM(Fl),hM(iM),(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"),qI(m9),JI(Dy,cU,tu);function bV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ng(t))throw new Error("Target container is not a DOM element.");return JU(e,t,null,n)}function yV(e,t,n,i){return gV(e,t,n,i)}var Zy={usingClientEntryPoint:!1,Events:[ju,af,Sv,uC,cC,Dy]};function SV(e,t){return Zy.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),sV(e,t)}function wV(e,t,n){return Zy.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),cV(e,t,n)}function CV(e){return oT()&&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."),tu(e)}var xV=lV({findFiberByHostInstance:Fc,bundleType:1,version:$y,rendererPackageName:"react-dom"});if(!xV&&Ct&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var ZT=window.location.protocol;/^(https?|file):$/.test(ZT)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(ZT==="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=Zy,Wo.createPortal=bV,Wo.createRoot=SV,Wo.findDOMNode=hV,Wo.flushSync=CV,Wo.hydrate=mV,Wo.hydrateRoot=wV,Wo.render=vV,Wo.unmountComponentAtNode=_V,Wo.unstable_batchedUpdates=Dy,Wo.unstable_renderSubtreeIntoContainer=yV,Wo.version=$y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var e2=Ge((tq,ik)=>{"use strict";ik.exports=ok()});var lk=Ge(r2=>{"use strict";var t2=e2();Vh=t2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r2.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return t2.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},r2.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return t2.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var h2=Ge(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});function Mr(){return Mr=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},Mr.apply(this,arguments)}var Pa=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),sk="popstate";function OV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>b(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let d=p(o==null?s.length-1:o),u=Pa.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function v(){return s[d]}function b(w,k,B){k===void 0&&(k=null);let M=ou(s?v().pathname:"/",w,k,B);return Ts(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function y(w){return typeof w=="string"?w:ks(w)}return{get index(){return d},get action(){return u},get location(){return v()},createHref:y,createURL(w){return new URL(y(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Xl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=Pa.Push;let B=b(w,k);d+=1,s.splice(d,s.length,B),l&&h&&h({action:u,location:B,delta:1})},replace(w,k){u=Pa.Replace;let B=b(w,k);s[d]=B,l&&h&&h({action:u,location:B,delta:0})},go(w){u=Pa.Pop;let k=p(d+w),B=s[k];d=k,h&&h({action:u,location:B,delta:w})},listen(w){return h=w,()=>{h=null}}}}function IV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:u,hash:h}=l.location;return ou("",{pathname:d,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:ks(s)}return xk(a,o,null,r)}function PV(r){r===void 0&&(r={});function a(s,d){let{pathname:u="/",search:h="",hash:p=""}=Xl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),ou("",{pathname:u,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(s,d){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,v=p.indexOf("#");h=v===-1?p:p.slice(0,v)}return h+"#"+(typeof d=="string"?d:ks(d))}function l(s,d){Ts(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return xk(a,o,l,r)}function Ar(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ts(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function MV(){return Math.random().toString(36).substr(2,8)}function uk(r,a){return{usr:r.state,key:r.key,idx:a}}function ou(r,a,o,l){return o===void 0&&(o=null),Mr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Xl(a):a,{state:o,key:a&&a.key||l||MV()})}function ks(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 Xl(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 xk(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,u=s.history,h=Pa.Pop,p=null,v=b();v==null&&(v=0,u.replaceState(Mr({},u.state,{idx:v}),""));function b(){return(u.state||{idx:null}).idx}function y(){h=Pa.Pop;let M=b(),X=M==null?null:M-v;v=M,p&&p({action:h,location:B.location,delta:X})}function C(M,X){h=Pa.Push;let F=ou(B.location,M,X);o&&o(F,M),v=b()+1;let V=uk(F,v),H=B.createHref(F);try{u.pushState(V,"",H)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;s.location.assign(H)}d&&p&&p({action:h,location:B.location,delta:1})}function w(M,X){h=Pa.Replace;let F=ou(B.location,M,X);o&&o(F,M),v=b();let V=uk(F,v),H=B.createHref(F);u.replaceState(V,"",H),d&&p&&p({action:h,location:B.location,delta:0})}function k(M){let X=s.location.origin!=="null"?s.location.origin:s.location.href,F=typeof M=="string"?M:ks(M);return F=F.replace(/ $/,"%20"),Ar(X,"No window.location.(origin|href) available to create URL for href: "+F),new URL(F,X)}let B={get action(){return h},get location(){return r(s,u)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(sk,y),p=M,()=>{s.removeEventListener(sk,y),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let X=k(M);return{pathname:X.pathname,search:X.search,hash:X.hash}},push:C,replace:w,go(M){return u.go(M)}};return B}var Yr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),FV=new Set(["lazy","caseSensitive","path","id","index","children"]);function zV(r){return r.index===!0}function ad(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,d)=>{let u=[...o,String(d)],h=typeof s.id=="string"?s.id:u.join("-");if(Ar(s.index!==!0||!s.children,"Cannot specify children on an index route"),Ar(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),zV(s)){let p=Mr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Mr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=ad(s.children,a,u,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),Fg(r,a,o,!1)}function Fg(r,a,o,l){let s=typeof a=="string"?Xl(a):a,d=$h(s.pathname||"/",o);if(d==null)return null;let u=kk(r);jV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let v=Rk(d);h=KV(u[p],v,l)}return h}function Tk(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 kk(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(d,u,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:u,route:d};p.relativePath.startsWith("/")&&(Ar(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let v=Af([l,p.relativePath]),b=o.concat(p);d.children&&d.children.length>0&&(Ar(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+v+'".')),kk(d.children,a,b,v)),!(d.path==null&&!d.index)&&a.push({path:v,score:GV(v,d.index),routesMeta:b})};return r.forEach((d,u)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,u);else for(let p of Ek(d.path))s(d,u,p)}),a}function Ek(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),d=o.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let u=Ek(l.join("/")),h=[];return h.push(...u.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function jV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:qV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var HV=/^:[\w-]+$/,UV=3,VV=2,WV=1,YV=10,$V=-2,ck=r=>r==="*";function GV(r,a){let o=r.split("/"),l=o.length;return o.some(ck)&&(l+=$V),a&&(l+=VV),o.filter(s=>!ck(s)).reduce((s,d)=>s+(HV.test(d)?UV:d===""?WV:YV),l)}function qV(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 KV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},d="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],v=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",y=o2({path:p.relativePath,caseSensitive:p.caseSensitive,end:v},b),C=p.route;if(!y&&v&&o&&!l[l.length-1].route.index&&(y=o2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!y)return null;Object.assign(s,y.params),u.push({params:s,pathname:Af([d,y.pathname]),pathnameBase:Nk(Af([d,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(d=Af([d,y.pathnameBase]))}return u}function XV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ts(!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),d=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let b=u.match(/^:([\w-]+)(\??)$/);if(b){let[,y,C]=b,w=a[y];return Ar(C==="?"||w!=null,'Missing ":'+y+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+d.join("/")}function o2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=JV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let d=s[0],u=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((v,b,y)=>{let{paramName:C,isOptional:w}=b;if(C==="*"){let B=h[y]||"";u=d.slice(0,d.length-B.length).replace(/(.)\/+$/,"$1")}let k=h[y];return w&&!k?v[C]=void 0:v[C]=(k||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:u,pattern:r}}function JV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ts(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 Rk(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ts(!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 $h(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 Dk(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Xl(r):r;return{pathname:o?o.startsWith("/")?o:QV(o,a):a,search:eW(l),hash:tW(s)}}function QV(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 a2(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 Lk(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function Ak(r,a){let o=Lk(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function Bk(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Xl(r):(s=Mr({},r),Ar(!s.pathname||!s.pathname.includes("?"),a2("?","pathname","search",s)),Ar(!s.pathname||!s.pathname.includes("#"),a2("#","pathname","hash",s)),Ar(!s.search||!s.search.includes("#"),a2("#","search","hash",s)));let d=r===""||s.pathname==="",u=d?"/":s.pathname,h;if(u==null)h=o;else{let y=a.length-1;if(!l&&u.startsWith("..")){let C=u.split("/");for(;C[0]==="..";)C.shift(),y-=1;s.pathname=C.join("/")}h=y>=0?a[y]:"/"}let p=Dk(s,h),v=u&&u!=="/"&&u.endsWith("/"),b=(d||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(v||b)&&(p.pathname+="/"),p}function ZV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Xl(r).pathname:r.pathname}var Af=r=>r.join("/").replace(/\/\/+/g,"/"),Nk=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),eW=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,tW=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,rW=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),Mr({},l,{headers:s}))},i2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function aW(r,a){return new i2(r,typeof a=="number"?{status:a}:a)}var Yh=class extends Error{},jg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Ar(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,u)=>l=u),this.controller=new AbortController;let s=()=>l(new Yh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,u)=>{let[h,p]=u;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Yh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,o),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return oa(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Ar(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]:oW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function nW(r){return r instanceof Promise&&r._tracked===!0}function oW(r){if(!nW(r))return r;if(r._error)throw r._error;return r._data}var iW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new jg(a,l)},d2=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,Mr({},l,{headers:s}))},lW=(r,a)=>{let o=d2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},sW=(r,a)=>{let o=d2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Bf=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 Nf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Ok=["post","put","patch","delete"],uW=new Set(Ok),cW=["get",...Ok],dW=new Set(cW),fW=new Set([301,302,303,307,308]),pW=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},Ik={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Lf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},f2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pk=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),Mk="remix-router-transitions";function hW(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;Ar(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 j=r.detectErrorBoundary;s=Y=>({hasErrorBoundary:j(Y)})}else s=Pk;let d={},u=ad(r.routes,s,void 0,d),h,p=r.basename||"/",v=r.unstable_dataStrategy||Uk,b=r.unstable_patchRoutesOnMiss,y=Mr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),C=null,w=new Set,k=null,B=null,M=null,X=r.hydrationData!=null,F=nu(u,r.history.location,p),V=null;if(F==null&&!b){let j=Ta(404,{pathname:r.history.location.pathname}),{matches:Y,route:ee}=Hg(u);F=Y,V={[ee.id]:j}}F&&!r.hydrationData&&Me(F,u,r.history.location.pathname).active&&(F=null);let H;if(F)if(F.some(j=>j.route.lazy))H=!1;else if(!F.some(j=>j.route.loader))H=!0;else if(y.v7_partialHydration){let j=r.hydrationData?r.hydrationData.loaderData:null,Y=r.hydrationData?r.hydrationData.errors:null,ee=le=>le.route.loader?typeof le.route.loader=="function"&&le.route.loader.hydrate===!0?!1:j&&j[le.route.id]!==void 0||Y&&Y[le.route.id]!==void 0:!0;if(Y){let le=F.findIndex($e=>Y[$e.route.id]!==void 0);H=F.slice(0,le+1).every(ee)}else H=F.every(ee)}else H=r.hydrationData!=null;else if(H=!1,F=[],y.v7_partialHydration){let j=Me(null,u,r.history.location.pathname);j.active&&j.matches&&(F=j.matches)}let G,P={historyAction:r.history.action,location:r.history.location,matches:F,initialized:H,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||V,fetchers:new Map,blockers:new Map},oe=Pa.Pop,Ee=!1,te,be=!1,ye=new Map,fe=null,I=!1,ae=!1,me=[],z=new Set,ne=new Map,pe=0,Se=-1,ce=new Map,we=new Set,Fe=new Map,He=new Map,at=new Set,Oe=new Map,ct=new Map,nr=new Map,bt=!1;function yt(){if(C=r.history.listen(j=>{let{action:Y,location:ee,delta:le}=j;if(bt){bt=!1;return}Ts(ct.size===0||le!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let $e=Z({currentLocation:P.location,nextLocation:ee,historyAction:Y});if($e&&le!=null){bt=!0,r.history.go(le*-1),O($e,{state:"blocked",location:ee,proceed(){O($e,{state:"proceeding",proceed:void 0,reset:void 0,location:ee}),r.history.go(le)},reset(){let Ue=new Map(P.blockers);Ue.set($e,Lf),Ae({blockers:Ue})}});return}return $t(Y,ee)}),o){EW(a,ye);let j=()=>RW(a,ye);a.addEventListener("pagehide",j),fe=()=>a.removeEventListener("pagehide",j)}return P.initialized||$t(Pa.Pop,P.location,{initialHydration:!0}),G}function It(){C&&C(),fe&&fe(),w.clear(),te&&te.abort(),P.fetchers.forEach((j,Y)=>ze(Y)),P.blockers.forEach((j,Y)=>qr(Y))}function nt(j){return w.add(j),()=>w.delete(j)}function Ae(j,Y){Y===void 0&&(Y={}),P=Mr({},P,j);let ee=[],le=[];y.v7_fetcherPersist&&P.fetchers.forEach(($e,Ue)=>{$e.state==="idle"&&(at.has(Ue)?le.push(Ue):ee.push(Ue))}),[...w].forEach($e=>$e(P,{deletedFetchers:le,unstable_viewTransitionOpts:Y.viewTransitionOpts,unstable_flushSync:Y.flushSync===!0})),y.v7_fetcherPersist&&(ee.forEach($e=>P.fetchers.delete($e)),le.forEach($e=>ze($e)))}function Ct(j,Y,ee){var le,$e;let{flushSync:Ue}=ee===void 0?{}:ee,A=P.actionData!=null&&P.navigation.formMethod!=null&&xl(P.navigation.formMethod)&&P.navigation.state==="loading"&&((le=j.state)==null?void 0:le._isRedirect)!==!0,$;Y.actionData?Object.keys(Y.actionData).length>0?$=Y.actionData:$=null:A?$=P.actionData:$=null;let he=Y.loaderData?bk(P.loaderData,Y.loaderData,Y.matches||[],Y.errors):P.loaderData,ke=P.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((rt,Ze)=>ke.set(Ze,Lf)));let Ye=Ee===!0||P.navigation.formMethod!=null&&xl(P.navigation.formMethod)&&(($e=j.state)==null?void 0:$e._isRedirect)!==!0;h&&(u=h,h=void 0),I||oe===Pa.Pop||(oe===Pa.Push?r.history.push(j,j.state):oe===Pa.Replace&&r.history.replace(j,j.state));let gt;if(oe===Pa.Pop){let rt=ye.get(P.location.pathname);rt&&rt.has(j.pathname)?gt={currentLocation:P.location,nextLocation:j}:ye.has(j.pathname)&&(gt={currentLocation:j,nextLocation:P.location})}else if(be){let rt=ye.get(P.location.pathname);rt?rt.add(j.pathname):(rt=new Set([j.pathname]),ye.set(P.location.pathname,rt)),gt={currentLocation:P.location,nextLocation:j}}Ae(Mr({},Y,{actionData:$,loaderData:he,historyAction:oe,location:j,initialized:!0,navigation:zg,revalidation:"idle",restoreScrollPosition:Pe(j,Y.matches||P.matches),preventScrollReset:Ye,blockers:ke}),{viewTransitionOpts:gt,flushSync:Ue===!0}),oe=Pa.Pop,Ee=!1,be=!1,I=!1,ae=!1,me=[]}function zt(j,Y){return oa(this,null,function*(){if(typeof j=="number"){r.history.go(j);return}let ee=l2(P.location,P.matches,p,y.v7_prependBasename,j,y.v7_relativeSplatPath,Y==null?void 0:Y.fromRouteId,Y==null?void 0:Y.relative),{path:le,submission:$e,error:Ue}=fk(y.v7_normalizeFormMethod,!1,ee,Y),A=P.location,$=ou(P.location,le,Y&&Y.state);$=Mr({},$,r.history.encodeLocation($));let he=Y&&Y.replace!=null?Y.replace:void 0,ke=Pa.Push;he===!0?ke=Pa.Replace:he===!1||$e!=null&&xl($e.formMethod)&&$e.formAction===P.location.pathname+P.location.search&&(ke=Pa.Replace);let Ye=Y&&"preventScrollReset"in Y?Y.preventScrollReset===!0:void 0,gt=(Y&&Y.unstable_flushSync)===!0,rt=Z({currentLocation:A,nextLocation:$,historyAction:ke});if(rt){O(rt,{state:"blocked",location:$,proceed(){O(rt,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),zt(j,Y)},reset(){let Ze=new Map(P.blockers);Ze.set(rt,Lf),Ae({blockers:Ze})}});return}return yield $t(ke,$,{submission:$e,pendingError:Ue,preventScrollReset:Ye,replace:Y&&Y.replace,enableViewTransition:Y&&Y.unstable_viewTransition,flushSync:gt})})}function Yt(){if(hr(),Ae({revalidation:"loading"}),P.navigation.state!=="submitting"){if(P.navigation.state==="idle"){$t(P.historyAction,P.location,{startUninterruptedRevalidation:!0});return}$t(oe||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation})}}function $t(j,Y,ee){return oa(this,null,function*(){te&&te.abort(),te=null,oe=j,I=(ee&&ee.startUninterruptedRevalidation)===!0,Ie(P.location,P.matches),Ee=(ee&&ee.preventScrollReset)===!0,be=(ee&&ee.enableViewTransition)===!0;let le=h||u,$e=ee&&ee.overrideNavigation,Ue=nu(le,Y,p),A=(ee&&ee.flushSync)===!0,$=Me(Ue,le,Y.pathname);if($.active&&$.matches&&(Ue=$.matches),!Ue){let{error:Rt,notFoundMatches:Lt,route:qt}=L(Y.pathname);Ct(Y,{matches:Lt,loaderData:{},errors:{[qt.id]:Rt}},{flushSync:A});return}if(P.initialized&&!ae&&SW(P.location,Y)&&!(ee&&ee.submission&&xl(ee.submission.formMethod))){Ct(Y,{matches:Ue},{flushSync:A});return}te=new AbortController;let he=Df(r.history,Y,te.signal,ee&&ee.submission),ke;if(ee&&ee.pendingError)ke=[td(Ue).route.id,{type:Yr.error,error:ee.pendingError}];else if(ee&&ee.submission&&xl(ee.submission.formMethod)){let Rt=yield ir(he,Y,ee.submission,Ue,$.active,{replace:ee.replace,flushSync:A});if(Rt.shortCircuited)return;if(Rt.pendingActionResult){let[Lt,qt]=Rt.pendingActionResult;if(Nn(qt)&&Nf(qt.error)&&qt.error.status===404){te=null,Ct(Y,{matches:Rt.matches,loaderData:{},errors:{[Lt]:qt.error}});return}}Ue=Rt.matches||Ue,ke=Rt.pendingActionResult,$e=n2(Y,ee.submission),A=!1,$.active=!1,he=Df(r.history,he.url,he.signal)}let{shortCircuited:Ye,matches:gt,loaderData:rt,errors:Ze}=yield sr(he,Y,Ue,$.active,$e,ee&&ee.submission,ee&&ee.fetcherSubmission,ee&&ee.replace,ee&&ee.initialHydration===!0,A,ke);Ye||(te=null,Ct(Y,Mr({matches:gt||Ue},yk(ke),{loaderData:rt,errors:Ze})))})}function ir(j,Y,ee,le,$e,Ue){return oa(this,null,function*(){Ue===void 0&&(Ue={}),hr();let A=TW(Y,ee);if(Ae({navigation:A},{flushSync:Ue.flushSync===!0}),$e){let ke=yield Xe(le,Y.pathname,j.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:Ye,error:gt}=U(Y.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[Ye,{type:Yr.error,error:gt}]}}else if(ke.matches)le=ke.matches;else{let{notFoundMatches:Ye,error:gt,route:rt}=L(Y.pathname);return{matches:Ye,pendingActionResult:[rt.id,{type:Yr.error,error:gt}]}}}let $,he=rd(le,Y);if(!he.route.action&&!he.route.lazy)$={type:Yr.error,error:Ta(405,{method:j.method,pathname:Y.pathname,routeId:he.route.id})};else if($=(yield Or("action",j,[he],le))[0],j.signal.aborted)return{shortCircuited:!0};if(oc($)){let ke;return Ue&&Ue.replace!=null?ke=Ue.replace:ke=vk($.response.headers.get("Location"),new URL(j.url),p)===P.location.pathname+P.location.search,yield Nr(j,$,{submission:ee,replace:ke}),{shortCircuited:!0}}if(nc($))throw Ta(400,{type:"defer-action"});if(Nn($)){let ke=td(le,he.route.id);return(Ue&&Ue.replace)!==!0&&(oe=Pa.Push),{matches:le,pendingActionResult:[ke.route.id,$]}}return{matches:le,pendingActionResult:[he.route.id,$]}})}function sr(j,Y,ee,le,$e,Ue,A,$,he,ke,Ye){return oa(this,null,function*(){let gt=$e||n2(Y,Ue),rt=Ue||A||Ck(gt),Ze=!I&&(!y.v7_partialHydration||!he);if(le){if(Ze){let na=xr(Ye);Ae(Mr({navigation:gt},na!==void 0?{actionData:na}:{}),{flushSync:ke})}let tr=yield Xe(ee,Y.pathname,j.signal);if(tr.type==="aborted")return{shortCircuited:!0};if(tr.type==="error"){let{boundaryId:na,error:Za}=U(Y.pathname,tr);return{matches:tr.partialMatches,loaderData:{},errors:{[na]:Za}}}else if(tr.matches)ee=tr.matches;else{let{error:na,notFoundMatches:Za,route:Xr}=L(Y.pathname);return{matches:Za,loaderData:{},errors:{[Xr.id]:na}}}}let Rt=h||u,[Lt,qt]=pk(r.history,P,ee,rt,Y,y.v7_partialHydration&&he===!0,y.v7_skipActionErrorRevalidation,ae,me,z,at,Fe,we,Rt,p,Ye);if(q(tr=>!(ee&&ee.some(na=>na.route.id===tr))||Lt&&Lt.some(na=>na.route.id===tr)),Se=++pe,Lt.length===0&&qt.length===0){let tr=Gt();return Ct(Y,Mr({matches:ee,loaderData:{},errors:Ye&&Nn(Ye[1])?{[Ye[0]]:Ye[1].error}:null},yk(Ye),tr?{fetchers:new Map(P.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ze){let tr={};if(!le){tr.navigation=gt;let na=xr(Ye);na!==void 0&&(tr.actionData=na)}qt.length>0&&(tr.fetchers=_a(qt)),Ae(tr,{flushSync:ke})}qt.forEach(tr=>{ne.has(tr.key)&&St(tr.key),tr.controller&&ne.set(tr.key,tr.controller)});let Kr=()=>qt.forEach(tr=>St(tr.key));te&&te.signal.addEventListener("abort",Kr);let{loaderResults:Va,fetcherResults:sa}=yield ma(P.matches,ee,Lt,qt,j);if(j.signal.aborted)return{shortCircuited:!0};te&&te.signal.removeEventListener("abort",Kr),qt.forEach(tr=>ne.delete(tr.key));let ua=Sk([...Va,...sa]);if(ua){if(ua.idx>=Lt.length){let tr=qt[ua.idx-Lt.length].key;we.add(tr)}return yield Nr(j,ua.result,{replace:$}),{shortCircuited:!0}}let{loaderData:qa,errors:Pt}=_k(P,ee,Lt,Va,Ye,qt,sa,Oe);Oe.forEach((tr,na)=>{tr.subscribe(Za=>{(Za||tr.done)&&Oe.delete(na)})}),y.v7_partialHydration&&he&&P.errors&&Object.entries(P.errors).filter(tr=>{let[na]=tr;return!Lt.some(Za=>Za.route.id===na)}).forEach(tr=>{let[na,Za]=tr;Pt=Object.assign(Pt||{},{[na]:Za})});let qn=Gt(),cs=Er(Se),ds=qn||cs||qt.length>0;return Mr({matches:ee,loaderData:qa,errors:Pt},ds?{fetchers:new Map(P.fetchers)}:{})})}function xr(j){if(j&&!Nn(j[1]))return{[j[0]]:j[1].data};if(P.actionData)return Object.keys(P.actionData).length===0?null:P.actionData}function _a(j){return j.forEach(Y=>{let ee=P.fetchers.get(Y.key),le=Wh(void 0,ee?ee.data:void 0);P.fetchers.set(Y.key,le)}),new Map(P.fetchers)}function aa(j,Y,ee,le){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.");ne.has(j)&&St(j);let $e=(le&&le.unstable_flushSync)===!0,Ue=h||u,A=l2(P.location,P.matches,p,y.v7_prependBasename,ee,y.v7_relativeSplatPath,Y,le==null?void 0:le.relative),$=nu(Ue,A,p),he=Me($,Ue,A);if(he.active&&he.matches&&($=he.matches),!$){Ir(j,Y,Ta(404,{pathname:A}),{flushSync:$e});return}let{path:ke,submission:Ye,error:gt}=fk(y.v7_normalizeFormMethod,!0,A,le);if(gt){Ir(j,Y,gt,{flushSync:$e});return}let rt=rd($,ke);if(Ee=(le&&le.preventScrollReset)===!0,Ye&&xl(Ye.formMethod)){la(j,Y,ke,rt,$,he.active,$e,Ye);return}Fe.set(j,{routeId:Y,path:ke}),Br(j,Y,ke,rt,$,he.active,$e,Ye)}function la(j,Y,ee,le,$e,Ue,A,$){return oa(this,null,function*(){hr(),Fe.delete(j);function he(Xr){if(!Xr.route.action&&!Xr.route.lazy){let Kn=Ta(405,{method:$.formMethod,pathname:ee,routeId:Y});return Ir(j,Y,Kn,{flushSync:A}),!0}return!1}if(!Ue&&he(le))return;let ke=P.fetchers.get(j);Rr(j,kW($,ke),{flushSync:A});let Ye=new AbortController,gt=Df(r.history,ee,Ye.signal,$);if(Ue){let Xr=yield Xe($e,ee,gt.signal);if(Xr.type==="aborted")return;if(Xr.type==="error"){let{error:Kn}=U(ee,Xr);Ir(j,Y,Kn,{flushSync:A});return}else if(Xr.matches){if($e=Xr.matches,le=rd($e,ee),he(le))return}else{Ir(j,Y,Ta(404,{pathname:ee}),{flushSync:A});return}}ne.set(j,Ye);let rt=pe,Rt=(yield Or("action",gt,[le],$e))[0];if(gt.signal.aborted){ne.get(j)===Ye&&ne.delete(j);return}if(y.v7_fetcherPersist&&at.has(j)){if(oc(Rt)||Nn(Rt)){Rr(j,rc(void 0));return}}else{if(oc(Rt))if(ne.delete(j),Se>rt){Rr(j,rc(void 0));return}else return we.add(j),Rr(j,Wh($)),Nr(gt,Rt,{fetcherSubmission:$});if(Nn(Rt)){Ir(j,Y,Rt.error);return}}if(nc(Rt))throw Ta(400,{type:"defer-action"});let Lt=P.navigation.location||P.location,qt=Df(r.history,Lt,Ye.signal),Kr=h||u,Va=P.navigation.state!=="idle"?nu(Kr,P.navigation.location,p):P.matches;Ar(Va,"Didn't find any matches after fetcher action");let sa=++pe;ce.set(j,sa);let ua=Wh($,Rt.data);P.fetchers.set(j,ua);let[qa,Pt]=pk(r.history,P,Va,$,Lt,!1,y.v7_skipActionErrorRevalidation,ae,me,z,at,Fe,we,Kr,p,[le.route.id,Rt]);Pt.filter(Xr=>Xr.key!==j).forEach(Xr=>{let Kn=Xr.key,wc=P.fetchers.get(Kn),ip=Wh(void 0,wc?wc.data:void 0);P.fetchers.set(Kn,ip),ne.has(Kn)&&St(Kn),Xr.controller&&ne.set(Kn,Xr.controller)}),Ae({fetchers:new Map(P.fetchers)});let qn=()=>Pt.forEach(Xr=>St(Xr.key));Ye.signal.addEventListener("abort",qn);let{loaderResults:cs,fetcherResults:ds}=yield ma(P.matches,Va,qa,Pt,qt);if(Ye.signal.aborted)return;Ye.signal.removeEventListener("abort",qn),ce.delete(j),ne.delete(j),Pt.forEach(Xr=>ne.delete(Xr.key));let tr=Sk([...cs,...ds]);if(tr){if(tr.idx>=qa.length){let Xr=Pt[tr.idx-qa.length].key;we.add(Xr)}return Nr(qt,tr.result)}let{loaderData:na,errors:Za}=_k(P,P.matches,qa,cs,void 0,Pt,ds,Oe);if(P.fetchers.has(j)){let Xr=rc(Rt.data);P.fetchers.set(j,Xr)}Er(sa),P.navigation.state==="loading"&&sa>Se?(Ar(oe,"Expected pending action"),te&&te.abort(),Ct(P.navigation.location,{matches:Va,loaderData:na,errors:Za,fetchers:new Map(P.fetchers)})):(Ae({errors:Za,loaderData:bk(P.loaderData,na,Va,Za),fetchers:new Map(P.fetchers)}),ae=!1)})}function Br(j,Y,ee,le,$e,Ue,A,$){return oa(this,null,function*(){let he=P.fetchers.get(j);Rr(j,Wh($,he?he.data:void 0),{flushSync:A});let ke=new AbortController,Ye=Df(r.history,ee,ke.signal);if(Ue){let Rt=yield Xe($e,ee,Ye.signal);if(Rt.type==="aborted")return;if(Rt.type==="error"){let{error:Lt}=U(ee,Rt);Ir(j,Y,Lt,{flushSync:A});return}else if(Rt.matches)$e=Rt.matches,le=rd($e,ee);else{Ir(j,Y,Ta(404,{pathname:ee}),{flushSync:A});return}}ne.set(j,ke);let gt=pe,Ze=(yield Or("loader",Ye,[le],$e))[0];if(nc(Ze)&&(Ze=(yield Xk(Ze,Ye.signal,!0))||Ze),ne.get(j)===ke&&ne.delete(j),!Ye.signal.aborted){if(at.has(j)){Rr(j,rc(void 0));return}if(oc(Ze))if(Se>gt){Rr(j,rc(void 0));return}else{we.add(j),yield Nr(Ye,Ze);return}if(Nn(Ze)){Ir(j,Y,Ze.error);return}Ar(!nc(Ze),"Unhandled fetcher deferred data"),Rr(j,rc(Ze.data))}})}function Nr(j,Y,ee){return oa(this,null,function*(){let{submission:le,fetcherSubmission:$e,replace:Ue}=ee===void 0?{}:ee;Y.response.headers.has("X-Remix-Revalidate")&&(ae=!0);let A=Y.response.headers.get("Location");Ar(A,"Expected a Location header on the redirect Response"),A=vk(A,new URL(j.url),p);let $=ou(P.location,A,{_isRedirect:!0});if(o){let Ze=!1;if(Y.response.headers.has("X-Remix-Reload-Document"))Ze=!0;else if(f2.test(A)){let Rt=r.history.createURL(A);Ze=Rt.origin!==a.location.origin||$h(Rt.pathname,p)==null}if(Ze){Ue?a.location.replace(A):a.location.assign(A);return}}te=null;let he=Ue===!0||Y.response.headers.has("X-Remix-Replace")?Pa.Replace:Pa.Push,{formMethod:ke,formAction:Ye,formEncType:gt}=P.navigation;!le&&!$e&&ke&&Ye&&gt&&(le=Ck(P.navigation));let rt=le||$e;if(pW.has(Y.response.status)&&rt&&xl(rt.formMethod))yield $t(he,$,{submission:Mr({},rt,{formAction:A}),preventScrollReset:Ee});else{let Ze=n2($,le);yield $t(he,$,{overrideNavigation:Ze,fetcherSubmission:$e,preventScrollReset:Ee})}})}function Or(j,Y,ee,le){return oa(this,null,function*(){try{let $e=yield Vk(v,j,Y,ee,le,d,s);return yield Promise.all($e.map((Ue,A)=>{if(qk(Ue)){let $=Ue.result;return{type:Yr.redirect,response:Yk($,Y,ee[A].route.id,le,p,y.v7_relativeSplatPath)}}return Wk(Ue)}))}catch($e){return ee.map(()=>({type:Yr.error,error:$e}))}})}function ma(j,Y,ee,le,$e){return oa(this,null,function*(){let[Ue,...A]=yield Promise.all([ee.length?Or("loader",$e,ee,Y):[],...le.map($=>{if($.matches&&$.match&&$.controller){let he=Df(r.history,$.path,$.controller.signal);return Or("loader",he,[$.match],$.matches).then(ke=>ke[0])}else return Promise.resolve({type:Yr.error,error:Ta(404,{pathname:$.path})})})]);return yield Promise.all([wk(j,ee,Ue,Ue.map(()=>$e.signal),!1,P.loaderData),wk(j,le.map($=>$.match),A,le.map($=>$.controller?$.controller.signal:null),!0)]),{loaderResults:Ue,fetcherResults:A}})}function hr(){ae=!0,me.push(...q()),Fe.forEach((j,Y)=>{ne.has(Y)&&(z.add(Y),St(Y))})}function Rr(j,Y,ee){ee===void 0&&(ee={}),P.fetchers.set(j,Y),Ae({fetchers:new Map(P.fetchers)},{flushSync:(ee&&ee.flushSync)===!0})}function Ir(j,Y,ee,le){le===void 0&&(le={});let $e=td(P.matches,Y);ze(j),Ae({errors:{[$e.route.id]:ee},fetchers:new Map(P.fetchers)},{flushSync:(le&&le.flushSync)===!0})}function ba(j){return y.v7_fetcherPersist&&(He.set(j,(He.get(j)||0)+1),at.has(j)&&at.delete(j)),P.fetchers.get(j)||Ik}function ze(j){let Y=P.fetchers.get(j);ne.has(j)&&!(Y&&Y.state==="loading"&&ce.has(j))&&St(j),Fe.delete(j),ce.delete(j),we.delete(j),at.delete(j),z.delete(j),P.fetchers.delete(j)}function dt(j){if(y.v7_fetcherPersist){let Y=(He.get(j)||0)-1;Y<=0?(He.delete(j),at.add(j)):He.set(j,Y)}else ze(j);Ae({fetchers:new Map(P.fetchers)})}function St(j){let Y=ne.get(j);Ar(Y,"Expected fetch controller: "+j),Y.abort(),ne.delete(j)}function Xt(j){for(let Y of j){let ee=ba(Y),le=rc(ee.data);P.fetchers.set(Y,le)}}function Gt(){let j=[],Y=!1;for(let ee of we){let le=P.fetchers.get(ee);Ar(le,"Expected fetcher: "+ee),le.state==="loading"&&(we.delete(ee),j.push(ee),Y=!0)}return Xt(j),Y}function Er(j){let Y=[];for(let[ee,le]of ce)if(le<j){let $e=P.fetchers.get(ee);Ar($e,"Expected fetcher: "+ee),$e.state==="loading"&&(St(ee),ce.delete(ee),Y.push(ee))}return Xt(Y),Y.length>0}function _r(j,Y){let ee=P.blockers.get(j)||Lf;return ct.get(j)!==Y&&ct.set(j,Y),ee}function qr(j){P.blockers.delete(j),ct.delete(j)}function O(j,Y){let ee=P.blockers.get(j)||Lf;Ar(ee.state==="unblocked"&&Y.state==="blocked"||ee.state==="blocked"&&Y.state==="blocked"||ee.state==="blocked"&&Y.state==="proceeding"||ee.state==="blocked"&&Y.state==="unblocked"||ee.state==="proceeding"&&Y.state==="unblocked","Invalid blocker state transition: "+ee.state+" -> "+Y.state);let le=new Map(P.blockers);le.set(j,Y),Ae({blockers:le})}function Z(j){let{currentLocation:Y,nextLocation:ee,historyAction:le}=j;if(ct.size===0)return;ct.size>1&&Ts(!1,"A router only supports one blocker at a time");let $e=Array.from(ct.entries()),[Ue,A]=$e[$e.length-1],$=P.blockers.get(Ue);if(!($&&$.state==="proceeding")&&A({currentLocation:Y,nextLocation:ee,historyAction:le}))return Ue}function L(j){let Y=Ta(404,{pathname:j}),ee=h||u,{matches:le,route:$e}=Hg(ee);return q(),{notFoundMatches:le,route:$e,error:Y}}function U(j,Y){return{boundaryId:td(Y.partialMatches).route.id,error:Ta(400,{type:"route-discovery",pathname:j,message:Y.error!=null&&"message"in Y.error?Y.error:String(Y.error)})}}function q(j){let Y=[];return Oe.forEach((ee,le)=>{(!j||j(le))&&(ee.cancel(),Y.push(le),Oe.delete(le))}),Y}function de(j,Y,ee){if(k=j,M=Y,B=ee||null,!X&&P.navigation===zg){X=!0;let le=Pe(P.location,P.matches);le!=null&&Ae({restoreScrollPosition:le})}return()=>{k=null,M=null,B=null}}function ie(j,Y){return B&&B(j,Y.map(le=>Tk(le,P.loaderData)))||j.key}function Ie(j,Y){if(k&&M){let ee=ie(j,Y);k[ee]=M()}}function Pe(j,Y){if(k){let ee=ie(j,Y),le=k[ee];if(typeof le=="number")return le}return null}function Me(j,Y,ee){if(b)if(j){let le=j[j.length-1].route;if(le.path&&(le.path==="*"||le.path.endsWith("/*")))return{active:!0,matches:Fg(Y,ee,p,!0)}}else return{active:!0,matches:Fg(Y,ee,p,!0)||[]};return{active:!1,matches:null}}function Xe(j,Y,ee){return oa(this,null,function*(){let le=j,$e=le.length>0?le[le.length-1].route:null;for(;;){let Ue=h==null,A=h||u;try{yield bW(b,Y,le,A,d,s,nr,ee)}catch(Ye){return{type:"error",error:Ye,partialMatches:le}}finally{Ue&&(u=[...u])}if(ee.aborted)return{type:"aborted"};let $=nu(A,Y,p),he=!1;if($){let Ye=$[$.length-1].route;if(Ye.index)return{type:"success",matches:$};if(Ye.path&&Ye.path.length>0)if(Ye.path==="*")he=!0;else return{type:"success",matches:$}}let ke=Fg(A,Y,p,!0);if(!ke||le.map(Ye=>Ye.route.id).join("-")===ke.map(Ye=>Ye.route.id).join("-"))return{type:"success",matches:he?$:null};if(le=ke,$e=le[le.length-1].route,$e.path==="*")return{type:"success",matches:le}}})}function Be(j){d={},h=ad(j,s,void 0,d)}function tt(j,Y){let ee=h==null;Hk(j,Y,h||u,d,s),ee&&(u=[...u],Ae({}))}return G={get basename(){return p},get future(){return y},get state(){return P},get routes(){return u},get window(){return a},initialize:yt,subscribe:nt,enableScrollRestoration:de,navigate:zt,fetch:aa,revalidate:Yt,createHref:j=>r.history.createHref(j),encodeLocation:j=>r.history.encodeLocation(j),getFetcher:ba,deleteFetcher:dt,dispose:It,getBlocker:_r,deleteBlocker:qr,patchRoutes:tt,_internalFetchControllers:ne,_internalActiveDeferreds:Oe,_internalSetRoutes:Be},G}var Fk=Symbol("deferred");function mW(r,a){Ar(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=Pk;let d=Mr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=ad(r,s,void 0,o);function h(w,k){return oa(this,null,function*(){let{requestContext:B,skipLoaderErrorBubbling:M,unstable_dataStrategy:X}=k===void 0?{}:k,F=new URL(w.url),V=w.method,H=ou("",ks(F),null,"default"),G=nu(u,H,l);if(!c2(V)&&V!=="HEAD"){let oe=Ta(405,{method:V}),{matches:Ee,route:te}=Hg(u);return{basename:l,location:H,matches:Ee,loaderData:{},actionData:null,errors:{[te.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!G){let oe=Ta(404,{pathname:H.pathname}),{matches:Ee,route:te}=Hg(u);return{basename:l,location:H,matches:Ee,loaderData:{},actionData:null,errors:{[te.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let P=yield v(w,H,G,B,X||null,M===!0,null);return ac(P)?P:Mr({location:H,basename:l},P)})}function p(w,k){return oa(this,null,function*(){let{routeId:B,requestContext:M,unstable_dataStrategy:X}=k===void 0?{}:k,F=new URL(w.url),V=w.method,H=ou("",ks(F),null,"default"),G=nu(u,H,l);if(!c2(V)&&V!=="HEAD"&&V!=="OPTIONS")throw Ta(405,{method:V});if(!G)throw Ta(404,{pathname:H.pathname});let P=B?G.find(be=>be.route.id===B):rd(G,H);if(B&&!P)throw Ta(403,{pathname:H.pathname,routeId:B});if(!P)throw Ta(404,{pathname:H.pathname});let oe=yield v(w,H,G,M,X||null,!1,P);if(ac(oe))return oe;let Ee=oe.errors?Object.values(oe.errors)[0]:void 0;if(Ee!==void 0)throw Ee;if(oe.actionData)return Object.values(oe.actionData)[0];if(oe.loaderData){var te;let be=Object.values(oe.loaderData)[0];return(te=oe.activeDeferreds)!=null&&te[P.route.id]&&(be[Fk]=oe.activeDeferreds[P.route.id]),be}})}function v(w,k,B,M,X,F,V){return oa(this,null,function*(){Ar(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(xl(w.method.toLowerCase()))return yield b(w,B,V||rd(B,k),M,X,F,V!=null);let H=yield y(w,B,M,X,F,V);return ac(H)?H:Mr({},H,{actionData:null,actionHeaders:{}})}catch(H){if(CW(H)&&ac(H.result)){if(H.type===Yr.error)throw H.result;return H.result}if(xW(H))return H;throw H}})}function b(w,k,B,M,X,F,V){return oa(this,null,function*(){let H;if(!B.route.action&&!B.route.lazy){let oe=Ta(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:B.route.id});if(V)throw oe;H={type:Yr.error,error:oe}}else H=(yield C("action",w,[B],k,V,M,X))[0],w.signal.aborted&&dk(w,V,d);if(oc(H))throw new Response(null,{status:H.response.status,headers:{Location:H.response.headers.get("Location")}});if(nc(H)){let oe=Ta(400,{type:"defer-action"});if(V)throw oe;H={type:Yr.error,error:oe}}if(V){if(Nn(H))throw H.error;return{matches:[B],loaderData:{},actionData:{[B.route.id]:H.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let G=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Nn(H)){let oe=F?B:td(k,B.route.id),Ee=yield y(G,k,M,X,F,null,[oe.route.id,H]);return Mr({},Ee,{statusCode:Nf(H.error)?H.error.status:H.statusCode!=null?H.statusCode:500,actionData:null,actionHeaders:Mr({},H.headers?{[B.route.id]:H.headers}:{})})}let P=yield y(G,k,M,X,F,null);return Mr({},P,{actionData:{[B.route.id]:H.data}},H.statusCode?{statusCode:H.statusCode}:{},{actionHeaders:H.headers?{[B.route.id]:H.headers}:{}})})}function y(w,k,B,M,X,F,V){return oa(this,null,function*(){let H=F!=null;if(H&&!(F!=null&&F.route.loader)&&!(F!=null&&F.route.lazy))throw Ta(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:F==null?void 0:F.route.id});let P=(F?[F]:V&&Nn(V[1])?zk(k,V[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(P.length===0)return{matches:k,loaderData:k.reduce((ye,fe)=>Object.assign(ye,{[fe.route.id]:null}),{}),errors:V&&Nn(V[1])?{[V[0]]:V[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let oe=yield C("loader",w,P,k,H,B,M);w.signal.aborted&&dk(w,H,d);let Ee=new Map,te=$k(k,P,oe,V,Ee,X),be=new Set(P.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(te.loaderData[ye.route.id]=null)}),Mr({},te,{matches:k,activeDeferreds:Ee.size>0?Object.fromEntries(Ee.entries()):null})})}function C(w,k,B,M,X,F,V){return oa(this,null,function*(){let H=yield Vk(V||Uk,w,k,B,M,o,s,F);return yield Promise.all(H.map((G,P)=>{if(qk(G)){let oe=G.result;throw Yk(oe,k,B[P].route.id,M,l,d.v7_relativeSplatPath)}if(ac(G.result)&&X)throw G;return Wk(G)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function vW(r,a,o){return Mr({},a,{statusCode:Nf(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function dk(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 gW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function l2(r,a,o,l,s,d,u,h){let p,v;if(u){p=[];for(let y of a)if(p.push(y),y.route.id===u){v=y;break}}else p=a,v=a[a.length-1];let b=Bk(s||".",Ak(p,d),$h(r.pathname,o)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&v&&v.route.index&&!p2(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(b.pathname=b.pathname==="/"?o:Af([o,b.pathname])),ks(b)}function fk(r,a,o,l){if(!l||!gW(l))return{path:o};if(l.formMethod&&!c2(l.formMethod))return{path:o,error:Ta(405,{method:l.formMethod})};let s=()=>({path:o,error:Ta(400,{type:"invalid-body"})}),d=l.formMethod||"get",u=r?d.toUpperCase():d.toLowerCase(),h=Gk(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!xl(u))return s();let C=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[B,M]=k;return""+w+B+"="+M+`
146
- `},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:C}}}else if(l.formEncType==="application/json"){if(!xl(u))return s();try{let C=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:C,text:void 0}}}catch(C){return s()}}}Ar(typeof FormData=="function","FormData is not available in this environment");let p,v;if(l.formData)p=s2(l.formData),v=l.formData;else if(l.body instanceof FormData)p=s2(l.body),v=l.body;else if(l.body instanceof URLSearchParams)p=l.body,v=gk(p);else if(l.body==null)p=new URLSearchParams,v=new FormData;else try{p=new URLSearchParams(l.body),v=gk(p)}catch(C){return s()}let b={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:v,json:void 0,text:void 0};if(xl(b.formMethod))return{path:o,submission:b};let y=Xl(o);return a&&y.search&&p2(y.search)&&p.append("index",""),y.search="?"+p,{path:ks(y),submission:b}}function zk(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 pk(r,a,o,l,s,d,u,h,p,v,b,y,C,w,k,B){let M=B?Nn(B[1])?B[1].error:B[1].data:void 0,X=r.createURL(a.location),F=r.createURL(s),V=B&&Nn(B[1])?B[0]:void 0,H=V?zk(o,V):o,G=B?B[1].statusCode:void 0,P=u&&G&&G>=400,oe=H.filter((te,be)=>{let{route:ye}=te;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(d)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(_W(a.loaderData,a.matches[be],te)||p.some(ae=>ae===te.route.id))return!0;let fe=a.matches[be],I=te;return hk(te,Mr({currentUrl:X,currentParams:fe.params,nextUrl:F,nextParams:I.params},l,{actionResult:M,actionStatus:G,defaultShouldRevalidate:P?!1:h||X.pathname+X.search===F.pathname+F.search||X.search!==F.search||jk(fe,I)}))}),Ee=[];return y.forEach((te,be)=>{if(d||!o.some(me=>me.route.id===te.routeId)||b.has(be))return;let ye=nu(w,te.path,k);if(!ye){Ee.push({key:be,routeId:te.routeId,path:te.path,matches:null,match:null,controller:null});return}let fe=a.fetchers.get(be),I=rd(ye,te.path),ae=!1;C.has(be)?ae=!1:v.has(be)?(v.delete(be),ae=!0):fe&&fe.state!=="idle"&&fe.data===void 0?ae=h:ae=hk(I,Mr({currentUrl:X,currentParams:a.matches[a.matches.length-1].params,nextUrl:F,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:G,defaultShouldRevalidate:P?!1:h})),ae&&Ee.push({key:be,routeId:te.routeId,path:te.path,matches:ye,match:I,controller:new AbortController})}),[oe,Ee]}function _W(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function jk(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function hk(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function bW(r,a,o,l,s,d,u,h){return oa(this,null,function*(){let p=[a,...o.map(v=>v.route.id)].join("-");try{let v=u.get(p);v||(v=r({path:a,matches:o,patch:(b,y)=>{h.aborted||Hk(b,y,l,s,d)}}),u.set(p,v)),v&&wW(v)&&(yield v)}finally{u.delete(p)}})}function Hk(r,a,o,l,s){if(r){var d;let u=l[r];Ar(u,"No route found to patch children into: routeId = "+r);let h=ad(a,s,[r,"patch",String(((d=u.children)==null?void 0:d.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=ad(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function mk(r,a,o){return oa(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Ar(s,"No route found in manifest");let d={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";Ts(!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&&!FV.has(u)&&(d[u]=l[u])}Object.assign(s,d),Object.assign(s,Mr({},a(s),{lazy:void 0}))})}function Uk(r){return Promise.all(r.matches.map(a=>a.resolve()))}function Vk(r,a,o,l,s,d,u,h){return oa(this,null,function*(){let p=l.reduce((y,C)=>y.add(C.route.id),new Set),v=new Set,b=yield r({matches:s.map(y=>{let C=p.has(y.route.id);return Mr({},y,{shouldLoad:C,resolve:k=>(v.add(y.route.id),C?yW(a,o,y,d,u,k,h):Promise.resolve({type:Yr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(y=>Ar(v.has(y.route.id),'`match.resolve()` was not called for route id "'+y.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),b.filter((y,C)=>p.has(s[C].route.id))})}function yW(r,a,o,l,s,d,u){return oa(this,null,function*(){let h,p,v=b=>{let y,C=new Promise((B,M)=>y=M);p=()=>y(),a.signal.addEventListener("abort",p);let w=B=>typeof b!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):b({request:a,params:o.params,context:u},...B!==void 0?[B]:[]),k;return d?k=d(B=>w(B)):k=oa(this,null,function*(){try{return{type:"data",result:yield w()}}catch(B){return{type:"error",result:B}}}),Promise.race([k,C])};try{let b=o.route[r];if(o.route.lazy)if(b){let y,[C]=yield Promise.all([v(b).catch(w=>{y=w}),mk(o.route,s,l)]);if(y!==void 0)throw y;h=C}else if(yield mk(o.route,s,l),b=o.route[r],b)h=yield v(b);else if(r==="action"){let y=new URL(a.url),C=y.pathname+y.search;throw Ta(405,{method:a.method,pathname:C,routeId:o.route.id})}else return{type:Yr.data,result:void 0};else if(b)h=yield v(b);else{let y=new URL(a.url),C=y.pathname+y.search;throw Ta(404,{pathname:C})}Ar(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(b){return{type:Yr.error,result:b}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function Wk(r){return oa(this,null,function*(){let{result:a,type:o}=r;if(ac(a)){let v;try{let b=a.headers.get("Content-Type");b&&/\bapplication\/json\b/.test(b)?a.body==null?v=null:v=yield a.json():v=yield a.text()}catch(b){return{type:Yr.error,error:b}}return o===Yr.error?{type:Yr.error,error:new Bf(a.status,a.statusText,v),statusCode:a.status,headers:a.headers}:{type:Yr.data,data:v,statusCode:a.status,headers:a.headers}}if(o===Yr.error){if(u2(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 Bf(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Yr.error,error:a,statusCode:Nf(a)?a.status:void 0}}if(Kk(a)){var d,u;return{type:Yr.deferred,deferredData:a,statusCode:(d=a.init)==null?void 0:d.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(u2(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 Yk(r,a,o,l,s,d){let u=r.headers.get("Location");if(Ar(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!f2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=l2(new URL(a.url),h,s,!0,u,d),r.headers.set("Location",u)}return r}function vk(r,a,o){if(f2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),d=$h(s.pathname,o)!=null;if(s.origin===a.origin&&d)return s.pathname+s.search+s.hash}return r}function Df(r,a,o,l){let s=r.createURL(Gk(a)).toString(),d={signal:o};if(l&&xl(l.formMethod)){let{formMethod:u,formEncType:h}=l;d.method=u.toUpperCase(),h==="application/json"?(d.headers=new Headers({"Content-Type":h}),d.body=JSON.stringify(l.json)):h==="text/plain"?d.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?d.body=s2(l.formData):d.body=l.formData}return new Request(s,d)}function s2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function gk(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function $k(r,a,o,l,s,d){let u={},h=null,p,v=!1,b={},y=l&&Nn(l[1])?l[1].error:void 0;return o.forEach((C,w)=>{let k=a[w].route.id;if(Ar(!oc(C),"Cannot handle redirect results in processLoaderData"),Nn(C)){let B=C.error;if(y!==void 0&&(B=y,y=void 0),h=h||{},d)h[k]=B;else{let M=td(r,k);h[M.route.id]==null&&(h[M.route.id]=B)}u[k]=void 0,v||(v=!0,p=Nf(C.error)?C.error.status:500),C.headers&&(b[k]=C.headers)}else nc(C)?(s.set(k,C.deferredData),u[k]=C.deferredData.data,C.statusCode!=null&&C.statusCode!==200&&!v&&(p=C.statusCode),C.headers&&(b[k]=C.headers)):(u[k]=C.data,C.statusCode&&C.statusCode!==200&&!v&&(p=C.statusCode),C.headers&&(b[k]=C.headers))}),y!==void 0&&l&&(h={[l[0]]:y},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:b}}function _k(r,a,o,l,s,d,u,h){let{loaderData:p,errors:v}=$k(a,o,l,s,h,!1);for(let b=0;b<d.length;b++){let{key:y,match:C,controller:w}=d[b];Ar(u!==void 0&&u[b]!==void 0,"Did not find corresponding fetcher result");let k=u[b];if(!(w&&w.signal.aborted))if(Nn(k)){let B=td(r.matches,C==null?void 0:C.route.id);v&&v[B.route.id]||(v=Mr({},v,{[B.route.id]:k.error})),r.fetchers.delete(y)}else if(oc(k))Ar(!1,"Unhandled fetcher revalidation redirect");else if(nc(k))Ar(!1,"Unhandled fetcher deferred data");else{let B=rc(k.data);r.fetchers.set(y,B)}}return{loaderData:p,errors:v}}function bk(r,a,o,l){let s=Mr({},a);for(let d of o){let u=d.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&d.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function yk(r){return r?Nn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function td(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 Hg(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:d,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",d==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
- `+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.":d==="defer-action"?p="defer() is not supported in actions":d==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Bf(r||500,h,new Error(p),!0)}function Sk(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(oc(o))return{result:o,idx:a}}}function Gk(r){let a=typeof r=="string"?Xl(r):r;return ks(Mr({},a,{hash:""}))}function SW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function wW(r){return typeof r=="object"&&r!=null&&"then"in r}function CW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Yr.data||r.type===Yr.error)}function qk(r){return ac(r.result)&&fW.has(r.result.status)}function nc(r){return r.type===Yr.deferred}function Nn(r){return r.type===Yr.error}function oc(r){return(r&&r.type)===Yr.redirect}function u2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function Kk(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 ac(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function xW(r){if(!ac(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function c2(r){return dW.has(r.toLowerCase())}function xl(r){return uW.has(r.toLowerCase())}function wk(r,a,o,l,s,d){return oa(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let v=r.find(y=>y.route.id===p.route.id),b=v!=null&&!jk(v,p)&&(d&&d[p.route.id])!==void 0;if(nc(h)&&(s||b)){let y=l[u];Ar(y,"Expected an AbortSignal for revalidating fetcher deferred result"),yield Xk(h,y,s).then(C=>{C&&(o[u]=C||o[u])})}}})}function Xk(r,a,o){return oa(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 p2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function rd(r,a){let o=typeof a=="string"?Xl(a).search:a.search;if(r[r.length-1].route.index&&p2(o||""))return r[r.length-1];let l=Lk(r);return l[l.length-1]}function Ck(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:d,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(d!=null)return{formMethod:a,formAction:o,formEncType:l,formData:d,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 n2(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 TW(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 kW(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 rc(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 EW(r,a){try{let o=r.sessionStorage.getItem(Mk);if(o){let l=JSON.parse(o);for(let[s,d]of Object.entries(l||{}))d&&Array.isArray(d)&&a.set(s,new Set(d||[]))}}catch(o){}}function RW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(Mk,JSON.stringify(o))}catch(l){Ts(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}cr.AbortedDeferredError=Yh;cr.Action=Pa;cr.IDLE_BLOCKER=Lf;cr.IDLE_FETCHER=Ik;cr.IDLE_NAVIGATION=zg;cr.UNSAFE_DEFERRED_SYMBOL=Fk;cr.UNSAFE_DeferredData=jg;cr.UNSAFE_ErrorResponseImpl=Bf;cr.UNSAFE_convertRouteMatchToUiMatch=Tk;cr.UNSAFE_convertRoutesToDataRoutes=ad;cr.UNSAFE_decodePath=Rk;cr.UNSAFE_getResolveToMatches=Ak;cr.UNSAFE_invariant=Ar;cr.UNSAFE_warning=Ts;cr.createBrowserHistory=IV;cr.createHashHistory=PV;cr.createMemoryHistory=OV;cr.createPath=ks;cr.createRouter=hW;cr.createStaticHandler=mW;cr.defer=iW;cr.generatePath=XV;cr.getStaticContextFromError=vW;cr.getToPathname=ZV;cr.isDataWithResponseInit=u2;cr.isDeferredData=Kk;cr.isRouteErrorResponse=Nf;cr.joinPaths=Af;cr.json=rW;cr.matchPath=o2;cr.matchRoutes=nu;cr.normalizePathname=Nk;cr.parsePath=Xl;cr.redirect=d2;cr.redirectDocument=lW;cr.replace=sW;cr.resolvePath=Dk;cr.resolveTo=Bk;cr.stripBasename=$h;cr.unstable_data=aW});var Qk=Ge((Ug,Jk)=>{(function(r,a){typeof Ug=="object"&&typeof Jk!="undefined"?a(Ug,pr(),h2()):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))})(Ug,function(r,a,o){"use strict";function l(O){if(O&&O.__esModule)return O;var Z=Object.create(null);return O&&Object.keys(O).forEach(function(L){if(L!=="default"){var U=Object.getOwnPropertyDescriptor(O,L);Object.defineProperty(Z,L,U.get?U:{enumerable:!0,get:function(){return O[L]}})}}),Z.default=O,Object.freeze(Z)}var s=l(a);function d(){return d=Object.assign?Object.assign.bind():function(O){for(var Z=1;Z<arguments.length;Z++){var L=arguments[Z];for(var U in L)Object.prototype.hasOwnProperty.call(L,U)&&(O[U]=L[U])}return O},d.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 v=s.createContext(null);v.displayName="Navigation";let b=s.createContext(null);b.displayName="Location";let y=s.createContext({outlet:null,matches:[],isDataRoute:!1});y.displayName="Route";let C=s.createContext(null);C.displayName="RouteError";function w(O,Z){let{relative:L}=Z===void 0?{}:Z;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:U,navigator:q}=s.useContext(v),{hash:de,pathname:ie,search:Ie}=be(O,{relative:L}),Pe=ie;return U!=="/"&&(Pe=ie==="/"?U:o.joinPaths([U,ie])),q.createHref({pathname:Pe,search:Ie,hash:de})}function k(){return s.useContext(b)!=null}function B(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(b).location}function M(){return s.useContext(b).navigationType}function X(O){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:Z}=B();return s.useMemo(()=>o.matchPath(O,o.UNSAFE_decodePath(Z)),[Z,O])}let F="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function V(O){s.useContext(v).static||s.useLayoutEffect(O)}function H(){let{isDataRoute:O}=s.useContext(y);return O?ir():G()}function G(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let O=s.useContext(u),{basename:Z,future:L,navigator:U}=s.useContext(v),{matches:q}=s.useContext(y),{pathname:de}=B(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(q,L.v7_relativeSplatPath)),Ie=s.useRef(!1);return V(()=>{Ie.current=!0}),s.useCallback(function(Me,Xe){if(Xe===void 0&&(Xe={}),o.UNSAFE_warning(Ie.current,F),!Ie.current)return;if(typeof Me=="number"){U.go(Me);return}let Be=o.resolveTo(Me,JSON.parse(ie),de,Xe.relative==="path");O==null&&Z!=="/"&&(Be.pathname=Be.pathname==="/"?Z:o.joinPaths([Z,Be.pathname])),(Xe.replace?U.replace:U.push)(Be,Xe.state,Xe)},[Z,U,ie,de,O])}let P=s.createContext(null);function oe(){return s.useContext(P)}function Ee(O){let Z=s.useContext(y).outlet;return Z&&s.createElement(P.Provider,{value:O},Z)}function te(){let{matches:O}=s.useContext(y),Z=O[O.length-1];return Z?Z.params:{}}function be(O,Z){let{relative:L}=Z===void 0?{}:Z,{future:U}=s.useContext(v),{matches:q}=s.useContext(y),{pathname:de}=B(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(q,U.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo(O,JSON.parse(ie),de,L==="path"),[O,ie,de,L])}function ye(O,Z){return fe(O,Z)}function fe(O,Z,L,U){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:q}=s.useContext(v),{matches:de}=s.useContext(y),ie=de[de.length-1],Ie=ie?ie.params:{},Pe=ie?ie.pathname:"/",Me=ie?ie.pathnameBase:"/",Xe=ie&&ie.route;{let Ue=Xe&&Xe.path||"";xr(Pe,!Xe||Ue.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Ue+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
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=Zy,Wo.createPortal=bV,Wo.createRoot=SV,Wo.findDOMNode=hV,Wo.flushSync=CV,Wo.hydrate=mV,Wo.hydrateRoot=wV,Wo.render=vV,Wo.unmountComponentAtNode=_V,Wo.unstable_batchedUpdates=Dy,Wo.unstable_renderSubtreeIntoContainer=yV,Wo.version=$y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var e2=Ge((tq,ik)=>{"use strict";ik.exports=ok()});var lk=Ge(r2=>{"use strict";var t2=e2();Vh=t2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r2.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return t2.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},r2.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return t2.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var h2=Ge(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});function Fr(){return Fr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Fr.apply(this,arguments)}var Pa=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),sk="popstate";function OV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>b(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let d=p(o==null?s.length-1:o),u=Pa.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function v(){return s[d]}function b(w,k,B){k===void 0&&(k=null);let M=ou(s?v().pathname:"/",w,k,B);return Ts(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function y(w){return typeof w=="string"?w:ks(w)}return{get index(){return d},get action(){return u},get location(){return v()},createHref:y,createURL(w){return new URL(y(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Xl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=Pa.Push;let B=b(w,k);d+=1,s.splice(d,s.length,B),l&&h&&h({action:u,location:B,delta:1})},replace(w,k){u=Pa.Replace;let B=b(w,k);s[d]=B,l&&h&&h({action:u,location:B,delta:0})},go(w){u=Pa.Pop;let k=p(d+w),B=s[k];d=k,h&&h({action:u,location:B,delta:w})},listen(w){return h=w,()=>{h=null}}}}function IV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:u,hash:h}=l.location;return ou("",{pathname:d,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:ks(s)}return xk(a,o,null,r)}function PV(r){r===void 0&&(r={});function a(s,d){let{pathname:u="/",search:h="",hash:p=""}=Xl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),ou("",{pathname:u,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(s,d){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,v=p.indexOf("#");h=v===-1?p:p.slice(0,v)}return h+"#"+(typeof d=="string"?d:ks(d))}function l(s,d){Ts(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return xk(a,o,l,r)}function Ar(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ts(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function MV(){return Math.random().toString(36).substr(2,8)}function uk(r,a){return{usr:r.state,key:r.key,idx:a}}function ou(r,a,o,l){return o===void 0&&(o=null),Fr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Xl(a):a,{state:o,key:a&&a.key||l||MV()})}function ks(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 Xl(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 xk(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,u=s.history,h=Pa.Pop,p=null,v=b();v==null&&(v=0,u.replaceState(Fr({},u.state,{idx:v}),""));function b(){return(u.state||{idx:null}).idx}function y(){h=Pa.Pop;let M=b(),X=M==null?null:M-v;v=M,p&&p({action:h,location:B.location,delta:X})}function C(M,X){h=Pa.Push;let F=ou(B.location,M,X);o&&o(F,M),v=b()+1;let V=uk(F,v),H=B.createHref(F);try{u.pushState(V,"",H)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;s.location.assign(H)}d&&p&&p({action:h,location:B.location,delta:1})}function w(M,X){h=Pa.Replace;let F=ou(B.location,M,X);o&&o(F,M),v=b();let V=uk(F,v),H=B.createHref(F);u.replaceState(V,"",H),d&&p&&p({action:h,location:B.location,delta:0})}function k(M){let X=s.location.origin!=="null"?s.location.origin:s.location.href,F=typeof M=="string"?M:ks(M);return F=F.replace(/ $/,"%20"),Ar(X,"No window.location.(origin|href) available to create URL for href: "+F),new URL(F,X)}let B={get action(){return h},get location(){return r(s,u)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(sk,y),p=M,()=>{s.removeEventListener(sk,y),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let X=k(M);return{pathname:X.pathname,search:X.search,hash:X.hash}},push:C,replace:w,go(M){return u.go(M)}};return B}var Yr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),FV=new Set(["lazy","caseSensitive","path","id","index","children"]);function zV(r){return r.index===!0}function ad(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,d)=>{let u=[...o,String(d)],h=typeof s.id=="string"?s.id:u.join("-");if(Ar(s.index!==!0||!s.children,"Cannot specify children on an index route"),Ar(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),zV(s)){let p=Fr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Fr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=ad(s.children,a,u,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),Fg(r,a,o,!1)}function Fg(r,a,o,l){let s=typeof a=="string"?Xl(a):a,d=$h(s.pathname||"/",o);if(d==null)return null;let u=kk(r);jV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let v=Rk(d);h=KV(u[p],v,l)}return h}function Tk(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 kk(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(d,u,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:u,route:d};p.relativePath.startsWith("/")&&(Ar(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let v=Af([l,p.relativePath]),b=o.concat(p);d.children&&d.children.length>0&&(Ar(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+v+'".')),kk(d.children,a,b,v)),!(d.path==null&&!d.index)&&a.push({path:v,score:GV(v,d.index),routesMeta:b})};return r.forEach((d,u)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,u);else for(let p of Ek(d.path))s(d,u,p)}),a}function Ek(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),d=o.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let u=Ek(l.join("/")),h=[];return h.push(...u.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function jV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:qV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var HV=/^:[\w-]+$/,UV=3,VV=2,WV=1,YV=10,$V=-2,ck=r=>r==="*";function GV(r,a){let o=r.split("/"),l=o.length;return o.some(ck)&&(l+=$V),a&&(l+=VV),o.filter(s=>!ck(s)).reduce((s,d)=>s+(HV.test(d)?UV:d===""?WV:YV),l)}function qV(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 KV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},d="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],v=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",y=o2({path:p.relativePath,caseSensitive:p.caseSensitive,end:v},b),C=p.route;if(!y&&v&&o&&!l[l.length-1].route.index&&(y=o2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!y)return null;Object.assign(s,y.params),u.push({params:s,pathname:Af([d,y.pathname]),pathnameBase:Nk(Af([d,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(d=Af([d,y.pathnameBase]))}return u}function XV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ts(!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),d=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let b=u.match(/^:([\w-]+)(\??)$/);if(b){let[,y,C]=b,w=a[y];return Ar(C==="?"||w!=null,'Missing ":'+y+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+d.join("/")}function o2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=JV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let d=s[0],u=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((v,b,y)=>{let{paramName:C,isOptional:w}=b;if(C==="*"){let B=h[y]||"";u=d.slice(0,d.length-B.length).replace(/(.)\/+$/,"$1")}let k=h[y];return w&&!k?v[C]=void 0:v[C]=(k||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:u,pattern:r}}function JV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ts(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 Rk(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ts(!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 $h(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 Dk(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Xl(r):r;return{pathname:o?o.startsWith("/")?o:QV(o,a):a,search:eW(l),hash:tW(s)}}function QV(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 a2(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 Lk(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function Ak(r,a){let o=Lk(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function Bk(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Xl(r):(s=Fr({},r),Ar(!s.pathname||!s.pathname.includes("?"),a2("?","pathname","search",s)),Ar(!s.pathname||!s.pathname.includes("#"),a2("#","pathname","hash",s)),Ar(!s.search||!s.search.includes("#"),a2("#","search","hash",s)));let d=r===""||s.pathname==="",u=d?"/":s.pathname,h;if(u==null)h=o;else{let y=a.length-1;if(!l&&u.startsWith("..")){let C=u.split("/");for(;C[0]==="..";)C.shift(),y-=1;s.pathname=C.join("/")}h=y>=0?a[y]:"/"}let p=Dk(s,h),v=u&&u!=="/"&&u.endsWith("/"),b=(d||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(v||b)&&(p.pathname+="/"),p}function ZV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Xl(r).pathname:r.pathname}var Af=r=>r.join("/").replace(/\/\/+/g,"/"),Nk=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),eW=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,tW=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,rW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Fr({},l,{headers:s}))},i2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function aW(r,a){return new i2(r,typeof a=="number"?{status:a}:a)}var Yh=class extends Error{},jg=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Ar(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,u)=>l=u),this.controller=new AbortController;let s=()=>l(new Yh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,u)=>{let[h,p]=u;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Yh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,o),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return oa(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Ar(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]:oW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function nW(r){return r instanceof Promise&&r._tracked===!0}function oW(r){if(!nW(r))return r;if(r._error)throw r._error;return r._data}var iW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new jg(a,l)},d2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Fr({},l,{headers:s}))},lW=(r,a)=>{let o=d2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},sW=(r,a)=>{let o=d2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Bf=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 Nf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Ok=["post","put","patch","delete"],uW=new Set(Ok),cW=["get",...Ok],dW=new Set(cW),fW=new Set([301,302,303,307,308]),pW=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},Ik={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Lf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},f2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pk=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),Mk="remix-router-transitions";function hW(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;Ar(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 j=r.detectErrorBoundary;s=Y=>({hasErrorBoundary:j(Y)})}else s=Pk;let d={},u=ad(r.routes,s,void 0,d),h,p=r.basename||"/",v=r.unstable_dataStrategy||Uk,b=r.unstable_patchRoutesOnMiss,y=Fr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),C=null,w=new Set,k=null,B=null,M=null,X=r.hydrationData!=null,F=nu(u,r.history.location,p),V=null;if(F==null&&!b){let j=Ta(404,{pathname:r.history.location.pathname}),{matches:Y,route:ee}=Hg(u);F=Y,V={[ee.id]:j}}F&&!r.hydrationData&&Me(F,u,r.history.location.pathname).active&&(F=null);let H;if(F)if(F.some(j=>j.route.lazy))H=!1;else if(!F.some(j=>j.route.loader))H=!0;else if(y.v7_partialHydration){let j=r.hydrationData?r.hydrationData.loaderData:null,Y=r.hydrationData?r.hydrationData.errors:null,ee=le=>le.route.loader?typeof le.route.loader=="function"&&le.route.loader.hydrate===!0?!1:j&&j[le.route.id]!==void 0||Y&&Y[le.route.id]!==void 0:!0;if(Y){let le=F.findIndex($e=>Y[$e.route.id]!==void 0);H=F.slice(0,le+1).every(ee)}else H=F.every(ee)}else H=r.hydrationData!=null;else if(H=!1,F=[],y.v7_partialHydration){let j=Me(null,u,r.history.location.pathname);j.active&&j.matches&&(F=j.matches)}let G,P={historyAction:r.history.action,location:r.history.location,matches:F,initialized:H,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||V,fetchers:new Map,blockers:new Map},oe=Pa.Pop,Ee=!1,te,be=!1,ye=new Map,fe=null,I=!1,ae=!1,me=[],z=new Set,ne=new Map,pe=0,Se=-1,ce=new Map,we=new Set,Fe=new Map,He=new Map,at=new Set,Oe=new Map,ct=new Map,nr=new Map,bt=!1;function yt(){if(C=r.history.listen(j=>{let{action:Y,location:ee,delta:le}=j;if(bt){bt=!1;return}Ts(ct.size===0||le!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let $e=Z({currentLocation:P.location,nextLocation:ee,historyAction:Y});if($e&&le!=null){bt=!0,r.history.go(le*-1),O($e,{state:"blocked",location:ee,proceed(){O($e,{state:"proceeding",proceed:void 0,reset:void 0,location:ee}),r.history.go(le)},reset(){let Ue=new Map(P.blockers);Ue.set($e,Lf),Ae({blockers:Ue})}});return}return $t(Y,ee)}),o){EW(a,ye);let j=()=>RW(a,ye);a.addEventListener("pagehide",j),fe=()=>a.removeEventListener("pagehide",j)}return P.initialized||$t(Pa.Pop,P.location,{initialHydration:!0}),G}function It(){C&&C(),fe&&fe(),w.clear(),te&&te.abort(),P.fetchers.forEach((j,Y)=>ze(Y)),P.blockers.forEach((j,Y)=>qr(Y))}function nt(j){return w.add(j),()=>w.delete(j)}function Ae(j,Y){Y===void 0&&(Y={}),P=Fr({},P,j);let ee=[],le=[];y.v7_fetcherPersist&&P.fetchers.forEach(($e,Ue)=>{$e.state==="idle"&&(at.has(Ue)?le.push(Ue):ee.push(Ue))}),[...w].forEach($e=>$e(P,{deletedFetchers:le,unstable_viewTransitionOpts:Y.viewTransitionOpts,unstable_flushSync:Y.flushSync===!0})),y.v7_fetcherPersist&&(ee.forEach($e=>P.fetchers.delete($e)),le.forEach($e=>ze($e)))}function Ct(j,Y,ee){var le,$e;let{flushSync:Ue}=ee===void 0?{}:ee,A=P.actionData!=null&&P.navigation.formMethod!=null&&xl(P.navigation.formMethod)&&P.navigation.state==="loading"&&((le=j.state)==null?void 0:le._isRedirect)!==!0,$;Y.actionData?Object.keys(Y.actionData).length>0?$=Y.actionData:$=null:A?$=P.actionData:$=null;let he=Y.loaderData?bk(P.loaderData,Y.loaderData,Y.matches||[],Y.errors):P.loaderData,ke=P.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((rt,Ze)=>ke.set(Ze,Lf)));let Ye=Ee===!0||P.navigation.formMethod!=null&&xl(P.navigation.formMethod)&&(($e=j.state)==null?void 0:$e._isRedirect)!==!0;h&&(u=h,h=void 0),I||oe===Pa.Pop||(oe===Pa.Push?r.history.push(j,j.state):oe===Pa.Replace&&r.history.replace(j,j.state));let gt;if(oe===Pa.Pop){let rt=ye.get(P.location.pathname);rt&&rt.has(j.pathname)?gt={currentLocation:P.location,nextLocation:j}:ye.has(j.pathname)&&(gt={currentLocation:j,nextLocation:P.location})}else if(be){let rt=ye.get(P.location.pathname);rt?rt.add(j.pathname):(rt=new Set([j.pathname]),ye.set(P.location.pathname,rt)),gt={currentLocation:P.location,nextLocation:j}}Ae(Fr({},Y,{actionData:$,loaderData:he,historyAction:oe,location:j,initialized:!0,navigation:zg,revalidation:"idle",restoreScrollPosition:Pe(j,Y.matches||P.matches),preventScrollReset:Ye,blockers:ke}),{viewTransitionOpts:gt,flushSync:Ue===!0}),oe=Pa.Pop,Ee=!1,be=!1,I=!1,ae=!1,me=[]}function zt(j,Y){return oa(this,null,function*(){if(typeof j=="number"){r.history.go(j);return}let ee=l2(P.location,P.matches,p,y.v7_prependBasename,j,y.v7_relativeSplatPath,Y==null?void 0:Y.fromRouteId,Y==null?void 0:Y.relative),{path:le,submission:$e,error:Ue}=fk(y.v7_normalizeFormMethod,!1,ee,Y),A=P.location,$=ou(P.location,le,Y&&Y.state);$=Fr({},$,r.history.encodeLocation($));let he=Y&&Y.replace!=null?Y.replace:void 0,ke=Pa.Push;he===!0?ke=Pa.Replace:he===!1||$e!=null&&xl($e.formMethod)&&$e.formAction===P.location.pathname+P.location.search&&(ke=Pa.Replace);let Ye=Y&&"preventScrollReset"in Y?Y.preventScrollReset===!0:void 0,gt=(Y&&Y.unstable_flushSync)===!0,rt=Z({currentLocation:A,nextLocation:$,historyAction:ke});if(rt){O(rt,{state:"blocked",location:$,proceed(){O(rt,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),zt(j,Y)},reset(){let Ze=new Map(P.blockers);Ze.set(rt,Lf),Ae({blockers:Ze})}});return}return yield $t(ke,$,{submission:$e,pendingError:Ue,preventScrollReset:Ye,replace:Y&&Y.replace,enableViewTransition:Y&&Y.unstable_viewTransition,flushSync:gt})})}function Yt(){if(hr(),Ae({revalidation:"loading"}),P.navigation.state!=="submitting"){if(P.navigation.state==="idle"){$t(P.historyAction,P.location,{startUninterruptedRevalidation:!0});return}$t(oe||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation})}}function $t(j,Y,ee){return oa(this,null,function*(){te&&te.abort(),te=null,oe=j,I=(ee&&ee.startUninterruptedRevalidation)===!0,Ie(P.location,P.matches),Ee=(ee&&ee.preventScrollReset)===!0,be=(ee&&ee.enableViewTransition)===!0;let le=h||u,$e=ee&&ee.overrideNavigation,Ue=nu(le,Y,p),A=(ee&&ee.flushSync)===!0,$=Me(Ue,le,Y.pathname);if($.active&&$.matches&&(Ue=$.matches),!Ue){let{error:Rt,notFoundMatches:Lt,route:qt}=L(Y.pathname);Ct(Y,{matches:Lt,loaderData:{},errors:{[qt.id]:Rt}},{flushSync:A});return}if(P.initialized&&!ae&&SW(P.location,Y)&&!(ee&&ee.submission&&xl(ee.submission.formMethod))){Ct(Y,{matches:Ue},{flushSync:A});return}te=new AbortController;let he=Df(r.history,Y,te.signal,ee&&ee.submission),ke;if(ee&&ee.pendingError)ke=[td(Ue).route.id,{type:Yr.error,error:ee.pendingError}];else if(ee&&ee.submission&&xl(ee.submission.formMethod)){let Rt=yield ir(he,Y,ee.submission,Ue,$.active,{replace:ee.replace,flushSync:A});if(Rt.shortCircuited)return;if(Rt.pendingActionResult){let[Lt,qt]=Rt.pendingActionResult;if(Nn(qt)&&Nf(qt.error)&&qt.error.status===404){te=null,Ct(Y,{matches:Rt.matches,loaderData:{},errors:{[Lt]:qt.error}});return}}Ue=Rt.matches||Ue,ke=Rt.pendingActionResult,$e=n2(Y,ee.submission),A=!1,$.active=!1,he=Df(r.history,he.url,he.signal)}let{shortCircuited:Ye,matches:gt,loaderData:rt,errors:Ze}=yield sr(he,Y,Ue,$.active,$e,ee&&ee.submission,ee&&ee.fetcherSubmission,ee&&ee.replace,ee&&ee.initialHydration===!0,A,ke);Ye||(te=null,Ct(Y,Fr({matches:gt||Ue},yk(ke),{loaderData:rt,errors:Ze})))})}function ir(j,Y,ee,le,$e,Ue){return oa(this,null,function*(){Ue===void 0&&(Ue={}),hr();let A=TW(Y,ee);if(Ae({navigation:A},{flushSync:Ue.flushSync===!0}),$e){let ke=yield Xe(le,Y.pathname,j.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:Ye,error:gt}=U(Y.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[Ye,{type:Yr.error,error:gt}]}}else if(ke.matches)le=ke.matches;else{let{notFoundMatches:Ye,error:gt,route:rt}=L(Y.pathname);return{matches:Ye,pendingActionResult:[rt.id,{type:Yr.error,error:gt}]}}}let $,he=rd(le,Y);if(!he.route.action&&!he.route.lazy)$={type:Yr.error,error:Ta(405,{method:j.method,pathname:Y.pathname,routeId:he.route.id})};else if($=(yield Ir("action",j,[he],le))[0],j.signal.aborted)return{shortCircuited:!0};if(oc($)){let ke;return Ue&&Ue.replace!=null?ke=Ue.replace:ke=vk($.response.headers.get("Location"),new URL(j.url),p)===P.location.pathname+P.location.search,yield Or(j,$,{submission:ee,replace:ke}),{shortCircuited:!0}}if(nc($))throw Ta(400,{type:"defer-action"});if(Nn($)){let ke=td(le,he.route.id);return(Ue&&Ue.replace)!==!0&&(oe=Pa.Push),{matches:le,pendingActionResult:[ke.route.id,$]}}return{matches:le,pendingActionResult:[he.route.id,$]}})}function sr(j,Y,ee,le,$e,Ue,A,$,he,ke,Ye){return oa(this,null,function*(){let gt=$e||n2(Y,Ue),rt=Ue||A||Ck(gt),Ze=!I&&(!y.v7_partialHydration||!he);if(le){if(Ze){let na=xr(Ye);Ae(Fr({navigation:gt},na!==void 0?{actionData:na}:{}),{flushSync:ke})}let tr=yield Xe(ee,Y.pathname,j.signal);if(tr.type==="aborted")return{shortCircuited:!0};if(tr.type==="error"){let{boundaryId:na,error:Za}=U(Y.pathname,tr);return{matches:tr.partialMatches,loaderData:{},errors:{[na]:Za}}}else if(tr.matches)ee=tr.matches;else{let{error:na,notFoundMatches:Za,route:Xr}=L(Y.pathname);return{matches:Za,loaderData:{},errors:{[Xr.id]:na}}}}let Rt=h||u,[Lt,qt]=pk(r.history,P,ee,rt,Y,y.v7_partialHydration&&he===!0,y.v7_skipActionErrorRevalidation,ae,me,z,at,Fe,we,Rt,p,Ye);if(q(tr=>!(ee&&ee.some(na=>na.route.id===tr))||Lt&&Lt.some(na=>na.route.id===tr)),Se=++pe,Lt.length===0&&qt.length===0){let tr=Gt();return Ct(Y,Fr({matches:ee,loaderData:{},errors:Ye&&Nn(Ye[1])?{[Ye[0]]:Ye[1].error}:null},yk(Ye),tr?{fetchers:new Map(P.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ze){let tr={};if(!le){tr.navigation=gt;let na=xr(Ye);na!==void 0&&(tr.actionData=na)}qt.length>0&&(tr.fetchers=_a(qt)),Ae(tr,{flushSync:ke})}qt.forEach(tr=>{ne.has(tr.key)&&St(tr.key),tr.controller&&ne.set(tr.key,tr.controller)});let Kr=()=>qt.forEach(tr=>St(tr.key));te&&te.signal.addEventListener("abort",Kr);let{loaderResults:Va,fetcherResults:sa}=yield ma(P.matches,ee,Lt,qt,j);if(j.signal.aborted)return{shortCircuited:!0};te&&te.signal.removeEventListener("abort",Kr),qt.forEach(tr=>ne.delete(tr.key));let ua=Sk([...Va,...sa]);if(ua){if(ua.idx>=Lt.length){let tr=qt[ua.idx-Lt.length].key;we.add(tr)}return yield Or(j,ua.result,{replace:$}),{shortCircuited:!0}}let{loaderData:qa,errors:Pt}=_k(P,ee,Lt,Va,Ye,qt,sa,Oe);Oe.forEach((tr,na)=>{tr.subscribe(Za=>{(Za||tr.done)&&Oe.delete(na)})}),y.v7_partialHydration&&he&&P.errors&&Object.entries(P.errors).filter(tr=>{let[na]=tr;return!Lt.some(Za=>Za.route.id===na)}).forEach(tr=>{let[na,Za]=tr;Pt=Object.assign(Pt||{},{[na]:Za})});let qn=Gt(),cs=Er(Se),ds=qn||cs||qt.length>0;return Fr({matches:ee,loaderData:qa,errors:Pt},ds?{fetchers:new Map(P.fetchers)}:{})})}function xr(j){if(j&&!Nn(j[1]))return{[j[0]]:j[1].data};if(P.actionData)return Object.keys(P.actionData).length===0?null:P.actionData}function _a(j){return j.forEach(Y=>{let ee=P.fetchers.get(Y.key),le=Wh(void 0,ee?ee.data:void 0);P.fetchers.set(Y.key,le)}),new Map(P.fetchers)}function aa(j,Y,ee,le){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.");ne.has(j)&&St(j);let $e=(le&&le.unstable_flushSync)===!0,Ue=h||u,A=l2(P.location,P.matches,p,y.v7_prependBasename,ee,y.v7_relativeSplatPath,Y,le==null?void 0:le.relative),$=nu(Ue,A,p),he=Me($,Ue,A);if(he.active&&he.matches&&($=he.matches),!$){Pr(j,Y,Ta(404,{pathname:A}),{flushSync:$e});return}let{path:ke,submission:Ye,error:gt}=fk(y.v7_normalizeFormMethod,!0,A,le);if(gt){Pr(j,Y,gt,{flushSync:$e});return}let rt=rd($,ke);if(Ee=(le&&le.preventScrollReset)===!0,Ye&&xl(Ye.formMethod)){la(j,Y,ke,rt,$,he.active,$e,Ye);return}Fe.set(j,{routeId:Y,path:ke}),Nr(j,Y,ke,rt,$,he.active,$e,Ye)}function la(j,Y,ee,le,$e,Ue,A,$){return oa(this,null,function*(){hr(),Fe.delete(j);function he(Xr){if(!Xr.route.action&&!Xr.route.lazy){let Kn=Ta(405,{method:$.formMethod,pathname:ee,routeId:Y});return Pr(j,Y,Kn,{flushSync:A}),!0}return!1}if(!Ue&&he(le))return;let ke=P.fetchers.get(j);Rr(j,kW($,ke),{flushSync:A});let Ye=new AbortController,gt=Df(r.history,ee,Ye.signal,$);if(Ue){let Xr=yield Xe($e,ee,gt.signal);if(Xr.type==="aborted")return;if(Xr.type==="error"){let{error:Kn}=U(ee,Xr);Pr(j,Y,Kn,{flushSync:A});return}else if(Xr.matches){if($e=Xr.matches,le=rd($e,ee),he(le))return}else{Pr(j,Y,Ta(404,{pathname:ee}),{flushSync:A});return}}ne.set(j,Ye);let rt=pe,Rt=(yield Ir("action",gt,[le],$e))[0];if(gt.signal.aborted){ne.get(j)===Ye&&ne.delete(j);return}if(y.v7_fetcherPersist&&at.has(j)){if(oc(Rt)||Nn(Rt)){Rr(j,rc(void 0));return}}else{if(oc(Rt))if(ne.delete(j),Se>rt){Rr(j,rc(void 0));return}else return we.add(j),Rr(j,Wh($)),Or(gt,Rt,{fetcherSubmission:$});if(Nn(Rt)){Pr(j,Y,Rt.error);return}}if(nc(Rt))throw Ta(400,{type:"defer-action"});let Lt=P.navigation.location||P.location,qt=Df(r.history,Lt,Ye.signal),Kr=h||u,Va=P.navigation.state!=="idle"?nu(Kr,P.navigation.location,p):P.matches;Ar(Va,"Didn't find any matches after fetcher action");let sa=++pe;ce.set(j,sa);let ua=Wh($,Rt.data);P.fetchers.set(j,ua);let[qa,Pt]=pk(r.history,P,Va,$,Lt,!1,y.v7_skipActionErrorRevalidation,ae,me,z,at,Fe,we,Kr,p,[le.route.id,Rt]);Pt.filter(Xr=>Xr.key!==j).forEach(Xr=>{let Kn=Xr.key,wc=P.fetchers.get(Kn),ip=Wh(void 0,wc?wc.data:void 0);P.fetchers.set(Kn,ip),ne.has(Kn)&&St(Kn),Xr.controller&&ne.set(Kn,Xr.controller)}),Ae({fetchers:new Map(P.fetchers)});let qn=()=>Pt.forEach(Xr=>St(Xr.key));Ye.signal.addEventListener("abort",qn);let{loaderResults:cs,fetcherResults:ds}=yield ma(P.matches,Va,qa,Pt,qt);if(Ye.signal.aborted)return;Ye.signal.removeEventListener("abort",qn),ce.delete(j),ne.delete(j),Pt.forEach(Xr=>ne.delete(Xr.key));let tr=Sk([...cs,...ds]);if(tr){if(tr.idx>=qa.length){let Xr=Pt[tr.idx-qa.length].key;we.add(Xr)}return Or(qt,tr.result)}let{loaderData:na,errors:Za}=_k(P,P.matches,qa,cs,void 0,Pt,ds,Oe);if(P.fetchers.has(j)){let Xr=rc(Rt.data);P.fetchers.set(j,Xr)}Er(sa),P.navigation.state==="loading"&&sa>Se?(Ar(oe,"Expected pending action"),te&&te.abort(),Ct(P.navigation.location,{matches:Va,loaderData:na,errors:Za,fetchers:new Map(P.fetchers)})):(Ae({errors:Za,loaderData:bk(P.loaderData,na,Va,Za),fetchers:new Map(P.fetchers)}),ae=!1)})}function Nr(j,Y,ee,le,$e,Ue,A,$){return oa(this,null,function*(){let he=P.fetchers.get(j);Rr(j,Wh($,he?he.data:void 0),{flushSync:A});let ke=new AbortController,Ye=Df(r.history,ee,ke.signal);if(Ue){let Rt=yield Xe($e,ee,Ye.signal);if(Rt.type==="aborted")return;if(Rt.type==="error"){let{error:Lt}=U(ee,Rt);Pr(j,Y,Lt,{flushSync:A});return}else if(Rt.matches)$e=Rt.matches,le=rd($e,ee);else{Pr(j,Y,Ta(404,{pathname:ee}),{flushSync:A});return}}ne.set(j,ke);let gt=pe,Ze=(yield Ir("loader",Ye,[le],$e))[0];if(nc(Ze)&&(Ze=(yield Xk(Ze,Ye.signal,!0))||Ze),ne.get(j)===ke&&ne.delete(j),!Ye.signal.aborted){if(at.has(j)){Rr(j,rc(void 0));return}if(oc(Ze))if(Se>gt){Rr(j,rc(void 0));return}else{we.add(j),yield Or(Ye,Ze);return}if(Nn(Ze)){Pr(j,Y,Ze.error);return}Ar(!nc(Ze),"Unhandled fetcher deferred data"),Rr(j,rc(Ze.data))}})}function Or(j,Y,ee){return oa(this,null,function*(){let{submission:le,fetcherSubmission:$e,replace:Ue}=ee===void 0?{}:ee;Y.response.headers.has("X-Remix-Revalidate")&&(ae=!0);let A=Y.response.headers.get("Location");Ar(A,"Expected a Location header on the redirect Response"),A=vk(A,new URL(j.url),p);let $=ou(P.location,A,{_isRedirect:!0});if(o){let Ze=!1;if(Y.response.headers.has("X-Remix-Reload-Document"))Ze=!0;else if(f2.test(A)){let Rt=r.history.createURL(A);Ze=Rt.origin!==a.location.origin||$h(Rt.pathname,p)==null}if(Ze){Ue?a.location.replace(A):a.location.assign(A);return}}te=null;let he=Ue===!0||Y.response.headers.has("X-Remix-Replace")?Pa.Replace:Pa.Push,{formMethod:ke,formAction:Ye,formEncType:gt}=P.navigation;!le&&!$e&&ke&&Ye&&gt&&(le=Ck(P.navigation));let rt=le||$e;if(pW.has(Y.response.status)&&rt&&xl(rt.formMethod))yield $t(he,$,{submission:Fr({},rt,{formAction:A}),preventScrollReset:Ee});else{let Ze=n2($,le);yield $t(he,$,{overrideNavigation:Ze,fetcherSubmission:$e,preventScrollReset:Ee})}})}function Ir(j,Y,ee,le){return oa(this,null,function*(){try{let $e=yield Vk(v,j,Y,ee,le,d,s);return yield Promise.all($e.map((Ue,A)=>{if(qk(Ue)){let $=Ue.result;return{type:Yr.redirect,response:Yk($,Y,ee[A].route.id,le,p,y.v7_relativeSplatPath)}}return Wk(Ue)}))}catch($e){return ee.map(()=>({type:Yr.error,error:$e}))}})}function ma(j,Y,ee,le,$e){return oa(this,null,function*(){let[Ue,...A]=yield Promise.all([ee.length?Ir("loader",$e,ee,Y):[],...le.map($=>{if($.matches&&$.match&&$.controller){let he=Df(r.history,$.path,$.controller.signal);return Ir("loader",he,[$.match],$.matches).then(ke=>ke[0])}else return Promise.resolve({type:Yr.error,error:Ta(404,{pathname:$.path})})})]);return yield Promise.all([wk(j,ee,Ue,Ue.map(()=>$e.signal),!1,P.loaderData),wk(j,le.map($=>$.match),A,le.map($=>$.controller?$.controller.signal:null),!0)]),{loaderResults:Ue,fetcherResults:A}})}function hr(){ae=!0,me.push(...q()),Fe.forEach((j,Y)=>{ne.has(Y)&&(z.add(Y),St(Y))})}function Rr(j,Y,ee){ee===void 0&&(ee={}),P.fetchers.set(j,Y),Ae({fetchers:new Map(P.fetchers)},{flushSync:(ee&&ee.flushSync)===!0})}function Pr(j,Y,ee,le){le===void 0&&(le={});let $e=td(P.matches,Y);ze(j),Ae({errors:{[$e.route.id]:ee},fetchers:new Map(P.fetchers)},{flushSync:(le&&le.flushSync)===!0})}function ba(j){return y.v7_fetcherPersist&&(He.set(j,(He.get(j)||0)+1),at.has(j)&&at.delete(j)),P.fetchers.get(j)||Ik}function ze(j){let Y=P.fetchers.get(j);ne.has(j)&&!(Y&&Y.state==="loading"&&ce.has(j))&&St(j),Fe.delete(j),ce.delete(j),we.delete(j),at.delete(j),z.delete(j),P.fetchers.delete(j)}function dt(j){if(y.v7_fetcherPersist){let Y=(He.get(j)||0)-1;Y<=0?(He.delete(j),at.add(j)):He.set(j,Y)}else ze(j);Ae({fetchers:new Map(P.fetchers)})}function St(j){let Y=ne.get(j);Ar(Y,"Expected fetch controller: "+j),Y.abort(),ne.delete(j)}function Xt(j){for(let Y of j){let ee=ba(Y),le=rc(ee.data);P.fetchers.set(Y,le)}}function Gt(){let j=[],Y=!1;for(let ee of we){let le=P.fetchers.get(ee);Ar(le,"Expected fetcher: "+ee),le.state==="loading"&&(we.delete(ee),j.push(ee),Y=!0)}return Xt(j),Y}function Er(j){let Y=[];for(let[ee,le]of ce)if(le<j){let $e=P.fetchers.get(ee);Ar($e,"Expected fetcher: "+ee),$e.state==="loading"&&(St(ee),ce.delete(ee),Y.push(ee))}return Xt(Y),Y.length>0}function _r(j,Y){let ee=P.blockers.get(j)||Lf;return ct.get(j)!==Y&&ct.set(j,Y),ee}function qr(j){P.blockers.delete(j),ct.delete(j)}function O(j,Y){let ee=P.blockers.get(j)||Lf;Ar(ee.state==="unblocked"&&Y.state==="blocked"||ee.state==="blocked"&&Y.state==="blocked"||ee.state==="blocked"&&Y.state==="proceeding"||ee.state==="blocked"&&Y.state==="unblocked"||ee.state==="proceeding"&&Y.state==="unblocked","Invalid blocker state transition: "+ee.state+" -> "+Y.state);let le=new Map(P.blockers);le.set(j,Y),Ae({blockers:le})}function Z(j){let{currentLocation:Y,nextLocation:ee,historyAction:le}=j;if(ct.size===0)return;ct.size>1&&Ts(!1,"A router only supports one blocker at a time");let $e=Array.from(ct.entries()),[Ue,A]=$e[$e.length-1],$=P.blockers.get(Ue);if(!($&&$.state==="proceeding")&&A({currentLocation:Y,nextLocation:ee,historyAction:le}))return Ue}function L(j){let Y=Ta(404,{pathname:j}),ee=h||u,{matches:le,route:$e}=Hg(ee);return q(),{notFoundMatches:le,route:$e,error:Y}}function U(j,Y){return{boundaryId:td(Y.partialMatches).route.id,error:Ta(400,{type:"route-discovery",pathname:j,message:Y.error!=null&&"message"in Y.error?Y.error:String(Y.error)})}}function q(j){let Y=[];return Oe.forEach((ee,le)=>{(!j||j(le))&&(ee.cancel(),Y.push(le),Oe.delete(le))}),Y}function de(j,Y,ee){if(k=j,M=Y,B=ee||null,!X&&P.navigation===zg){X=!0;let le=Pe(P.location,P.matches);le!=null&&Ae({restoreScrollPosition:le})}return()=>{k=null,M=null,B=null}}function ie(j,Y){return B&&B(j,Y.map(le=>Tk(le,P.loaderData)))||j.key}function Ie(j,Y){if(k&&M){let ee=ie(j,Y);k[ee]=M()}}function Pe(j,Y){if(k){let ee=ie(j,Y),le=k[ee];if(typeof le=="number")return le}return null}function Me(j,Y,ee){if(b)if(j){let le=j[j.length-1].route;if(le.path&&(le.path==="*"||le.path.endsWith("/*")))return{active:!0,matches:Fg(Y,ee,p,!0)}}else return{active:!0,matches:Fg(Y,ee,p,!0)||[]};return{active:!1,matches:null}}function Xe(j,Y,ee){return oa(this,null,function*(){let le=j,$e=le.length>0?le[le.length-1].route:null;for(;;){let Ue=h==null,A=h||u;try{yield bW(b,Y,le,A,d,s,nr,ee)}catch(Ye){return{type:"error",error:Ye,partialMatches:le}}finally{Ue&&(u=[...u])}if(ee.aborted)return{type:"aborted"};let $=nu(A,Y,p),he=!1;if($){let Ye=$[$.length-1].route;if(Ye.index)return{type:"success",matches:$};if(Ye.path&&Ye.path.length>0)if(Ye.path==="*")he=!0;else return{type:"success",matches:$}}let ke=Fg(A,Y,p,!0);if(!ke||le.map(Ye=>Ye.route.id).join("-")===ke.map(Ye=>Ye.route.id).join("-"))return{type:"success",matches:he?$:null};if(le=ke,$e=le[le.length-1].route,$e.path==="*")return{type:"success",matches:le}}})}function Be(j){d={},h=ad(j,s,void 0,d)}function tt(j,Y){let ee=h==null;Hk(j,Y,h||u,d,s),ee&&(u=[...u],Ae({}))}return G={get basename(){return p},get future(){return y},get state(){return P},get routes(){return u},get window(){return a},initialize:yt,subscribe:nt,enableScrollRestoration:de,navigate:zt,fetch:aa,revalidate:Yt,createHref:j=>r.history.createHref(j),encodeLocation:j=>r.history.encodeLocation(j),getFetcher:ba,deleteFetcher:dt,dispose:It,getBlocker:_r,deleteBlocker:qr,patchRoutes:tt,_internalFetchControllers:ne,_internalActiveDeferreds:Oe,_internalSetRoutes:Be},G}var Fk=Symbol("deferred");function mW(r,a){Ar(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=Pk;let d=Fr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=ad(r,s,void 0,o);function h(w,k){return oa(this,null,function*(){let{requestContext:B,skipLoaderErrorBubbling:M,unstable_dataStrategy:X}=k===void 0?{}:k,F=new URL(w.url),V=w.method,H=ou("",ks(F),null,"default"),G=nu(u,H,l);if(!c2(V)&&V!=="HEAD"){let oe=Ta(405,{method:V}),{matches:Ee,route:te}=Hg(u);return{basename:l,location:H,matches:Ee,loaderData:{},actionData:null,errors:{[te.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!G){let oe=Ta(404,{pathname:H.pathname}),{matches:Ee,route:te}=Hg(u);return{basename:l,location:H,matches:Ee,loaderData:{},actionData:null,errors:{[te.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let P=yield v(w,H,G,B,X||null,M===!0,null);return ac(P)?P:Fr({location:H,basename:l},P)})}function p(w,k){return oa(this,null,function*(){let{routeId:B,requestContext:M,unstable_dataStrategy:X}=k===void 0?{}:k,F=new URL(w.url),V=w.method,H=ou("",ks(F),null,"default"),G=nu(u,H,l);if(!c2(V)&&V!=="HEAD"&&V!=="OPTIONS")throw Ta(405,{method:V});if(!G)throw Ta(404,{pathname:H.pathname});let P=B?G.find(be=>be.route.id===B):rd(G,H);if(B&&!P)throw Ta(403,{pathname:H.pathname,routeId:B});if(!P)throw Ta(404,{pathname:H.pathname});let oe=yield v(w,H,G,M,X||null,!1,P);if(ac(oe))return oe;let Ee=oe.errors?Object.values(oe.errors)[0]:void 0;if(Ee!==void 0)throw Ee;if(oe.actionData)return Object.values(oe.actionData)[0];if(oe.loaderData){var te;let be=Object.values(oe.loaderData)[0];return(te=oe.activeDeferreds)!=null&&te[P.route.id]&&(be[Fk]=oe.activeDeferreds[P.route.id]),be}})}function v(w,k,B,M,X,F,V){return oa(this,null,function*(){Ar(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(xl(w.method.toLowerCase()))return yield b(w,B,V||rd(B,k),M,X,F,V!=null);let H=yield y(w,B,M,X,F,V);return ac(H)?H:Fr({},H,{actionData:null,actionHeaders:{}})}catch(H){if(CW(H)&&ac(H.result)){if(H.type===Yr.error)throw H.result;return H.result}if(xW(H))return H;throw H}})}function b(w,k,B,M,X,F,V){return oa(this,null,function*(){let H;if(!B.route.action&&!B.route.lazy){let oe=Ta(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:B.route.id});if(V)throw oe;H={type:Yr.error,error:oe}}else H=(yield C("action",w,[B],k,V,M,X))[0],w.signal.aborted&&dk(w,V,d);if(oc(H))throw new Response(null,{status:H.response.status,headers:{Location:H.response.headers.get("Location")}});if(nc(H)){let oe=Ta(400,{type:"defer-action"});if(V)throw oe;H={type:Yr.error,error:oe}}if(V){if(Nn(H))throw H.error;return{matches:[B],loaderData:{},actionData:{[B.route.id]:H.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let G=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Nn(H)){let oe=F?B:td(k,B.route.id),Ee=yield y(G,k,M,X,F,null,[oe.route.id,H]);return Fr({},Ee,{statusCode:Nf(H.error)?H.error.status:H.statusCode!=null?H.statusCode:500,actionData:null,actionHeaders:Fr({},H.headers?{[B.route.id]:H.headers}:{})})}let P=yield y(G,k,M,X,F,null);return Fr({},P,{actionData:{[B.route.id]:H.data}},H.statusCode?{statusCode:H.statusCode}:{},{actionHeaders:H.headers?{[B.route.id]:H.headers}:{}})})}function y(w,k,B,M,X,F,V){return oa(this,null,function*(){let H=F!=null;if(H&&!(F!=null&&F.route.loader)&&!(F!=null&&F.route.lazy))throw Ta(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:F==null?void 0:F.route.id});let P=(F?[F]:V&&Nn(V[1])?zk(k,V[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(P.length===0)return{matches:k,loaderData:k.reduce((ye,fe)=>Object.assign(ye,{[fe.route.id]:null}),{}),errors:V&&Nn(V[1])?{[V[0]]:V[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let oe=yield C("loader",w,P,k,H,B,M);w.signal.aborted&&dk(w,H,d);let Ee=new Map,te=$k(k,P,oe,V,Ee,X),be=new Set(P.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(te.loaderData[ye.route.id]=null)}),Fr({},te,{matches:k,activeDeferreds:Ee.size>0?Object.fromEntries(Ee.entries()):null})})}function C(w,k,B,M,X,F,V){return oa(this,null,function*(){let H=yield Vk(V||Uk,w,k,B,M,o,s,F);return yield Promise.all(H.map((G,P)=>{if(qk(G)){let oe=G.result;throw Yk(oe,k,B[P].route.id,M,l,d.v7_relativeSplatPath)}if(ac(G.result)&&X)throw G;return Wk(G)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function vW(r,a,o){return Fr({},a,{statusCode:Nf(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function dk(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 gW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function l2(r,a,o,l,s,d,u,h){let p,v;if(u){p=[];for(let y of a)if(p.push(y),y.route.id===u){v=y;break}}else p=a,v=a[a.length-1];let b=Bk(s||".",Ak(p,d),$h(r.pathname,o)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&v&&v.route.index&&!p2(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(b.pathname=b.pathname==="/"?o:Af([o,b.pathname])),ks(b)}function fk(r,a,o,l){if(!l||!gW(l))return{path:o};if(l.formMethod&&!c2(l.formMethod))return{path:o,error:Ta(405,{method:l.formMethod})};let s=()=>({path:o,error:Ta(400,{type:"invalid-body"})}),d=l.formMethod||"get",u=r?d.toUpperCase():d.toLowerCase(),h=Gk(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!xl(u))return s();let C=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[B,M]=k;return""+w+B+"="+M+`
146
+ `},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:C}}}else if(l.formEncType==="application/json"){if(!xl(u))return s();try{let C=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:C,text:void 0}}}catch(C){return s()}}}Ar(typeof FormData=="function","FormData is not available in this environment");let p,v;if(l.formData)p=s2(l.formData),v=l.formData;else if(l.body instanceof FormData)p=s2(l.body),v=l.body;else if(l.body instanceof URLSearchParams)p=l.body,v=gk(p);else if(l.body==null)p=new URLSearchParams,v=new FormData;else try{p=new URLSearchParams(l.body),v=gk(p)}catch(C){return s()}let b={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:v,json:void 0,text:void 0};if(xl(b.formMethod))return{path:o,submission:b};let y=Xl(o);return a&&y.search&&p2(y.search)&&p.append("index",""),y.search="?"+p,{path:ks(y),submission:b}}function zk(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 pk(r,a,o,l,s,d,u,h,p,v,b,y,C,w,k,B){let M=B?Nn(B[1])?B[1].error:B[1].data:void 0,X=r.createURL(a.location),F=r.createURL(s),V=B&&Nn(B[1])?B[0]:void 0,H=V?zk(o,V):o,G=B?B[1].statusCode:void 0,P=u&&G&&G>=400,oe=H.filter((te,be)=>{let{route:ye}=te;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(d)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(_W(a.loaderData,a.matches[be],te)||p.some(ae=>ae===te.route.id))return!0;let fe=a.matches[be],I=te;return hk(te,Fr({currentUrl:X,currentParams:fe.params,nextUrl:F,nextParams:I.params},l,{actionResult:M,actionStatus:G,defaultShouldRevalidate:P?!1:h||X.pathname+X.search===F.pathname+F.search||X.search!==F.search||jk(fe,I)}))}),Ee=[];return y.forEach((te,be)=>{if(d||!o.some(me=>me.route.id===te.routeId)||b.has(be))return;let ye=nu(w,te.path,k);if(!ye){Ee.push({key:be,routeId:te.routeId,path:te.path,matches:null,match:null,controller:null});return}let fe=a.fetchers.get(be),I=rd(ye,te.path),ae=!1;C.has(be)?ae=!1:v.has(be)?(v.delete(be),ae=!0):fe&&fe.state!=="idle"&&fe.data===void 0?ae=h:ae=hk(I,Fr({currentUrl:X,currentParams:a.matches[a.matches.length-1].params,nextUrl:F,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:G,defaultShouldRevalidate:P?!1:h})),ae&&Ee.push({key:be,routeId:te.routeId,path:te.path,matches:ye,match:I,controller:new AbortController})}),[oe,Ee]}function _W(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function jk(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function hk(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function bW(r,a,o,l,s,d,u,h){return oa(this,null,function*(){let p=[a,...o.map(v=>v.route.id)].join("-");try{let v=u.get(p);v||(v=r({path:a,matches:o,patch:(b,y)=>{h.aborted||Hk(b,y,l,s,d)}}),u.set(p,v)),v&&wW(v)&&(yield v)}finally{u.delete(p)}})}function Hk(r,a,o,l,s){if(r){var d;let u=l[r];Ar(u,"No route found to patch children into: routeId = "+r);let h=ad(a,s,[r,"patch",String(((d=u.children)==null?void 0:d.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=ad(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function mk(r,a,o){return oa(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Ar(s,"No route found in manifest");let d={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";Ts(!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&&!FV.has(u)&&(d[u]=l[u])}Object.assign(s,d),Object.assign(s,Fr({},a(s),{lazy:void 0}))})}function Uk(r){return Promise.all(r.matches.map(a=>a.resolve()))}function Vk(r,a,o,l,s,d,u,h){return oa(this,null,function*(){let p=l.reduce((y,C)=>y.add(C.route.id),new Set),v=new Set,b=yield r({matches:s.map(y=>{let C=p.has(y.route.id);return Fr({},y,{shouldLoad:C,resolve:k=>(v.add(y.route.id),C?yW(a,o,y,d,u,k,h):Promise.resolve({type:Yr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(y=>Ar(v.has(y.route.id),'`match.resolve()` was not called for route id "'+y.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),b.filter((y,C)=>p.has(s[C].route.id))})}function yW(r,a,o,l,s,d,u){return oa(this,null,function*(){let h,p,v=b=>{let y,C=new Promise((B,M)=>y=M);p=()=>y(),a.signal.addEventListener("abort",p);let w=B=>typeof b!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):b({request:a,params:o.params,context:u},...B!==void 0?[B]:[]),k;return d?k=d(B=>w(B)):k=oa(this,null,function*(){try{return{type:"data",result:yield w()}}catch(B){return{type:"error",result:B}}}),Promise.race([k,C])};try{let b=o.route[r];if(o.route.lazy)if(b){let y,[C]=yield Promise.all([v(b).catch(w=>{y=w}),mk(o.route,s,l)]);if(y!==void 0)throw y;h=C}else if(yield mk(o.route,s,l),b=o.route[r],b)h=yield v(b);else if(r==="action"){let y=new URL(a.url),C=y.pathname+y.search;throw Ta(405,{method:a.method,pathname:C,routeId:o.route.id})}else return{type:Yr.data,result:void 0};else if(b)h=yield v(b);else{let y=new URL(a.url),C=y.pathname+y.search;throw Ta(404,{pathname:C})}Ar(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(b){return{type:Yr.error,result:b}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function Wk(r){return oa(this,null,function*(){let{result:a,type:o}=r;if(ac(a)){let v;try{let b=a.headers.get("Content-Type");b&&/\bapplication\/json\b/.test(b)?a.body==null?v=null:v=yield a.json():v=yield a.text()}catch(b){return{type:Yr.error,error:b}}return o===Yr.error?{type:Yr.error,error:new Bf(a.status,a.statusText,v),statusCode:a.status,headers:a.headers}:{type:Yr.data,data:v,statusCode:a.status,headers:a.headers}}if(o===Yr.error){if(u2(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 Bf(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Yr.error,error:a,statusCode:Nf(a)?a.status:void 0}}if(Kk(a)){var d,u;return{type:Yr.deferred,deferredData:a,statusCode:(d=a.init)==null?void 0:d.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(u2(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 Yk(r,a,o,l,s,d){let u=r.headers.get("Location");if(Ar(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!f2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=l2(new URL(a.url),h,s,!0,u,d),r.headers.set("Location",u)}return r}function vk(r,a,o){if(f2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),d=$h(s.pathname,o)!=null;if(s.origin===a.origin&&d)return s.pathname+s.search+s.hash}return r}function Df(r,a,o,l){let s=r.createURL(Gk(a)).toString(),d={signal:o};if(l&&xl(l.formMethod)){let{formMethod:u,formEncType:h}=l;d.method=u.toUpperCase(),h==="application/json"?(d.headers=new Headers({"Content-Type":h}),d.body=JSON.stringify(l.json)):h==="text/plain"?d.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?d.body=s2(l.formData):d.body=l.formData}return new Request(s,d)}function s2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function gk(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function $k(r,a,o,l,s,d){let u={},h=null,p,v=!1,b={},y=l&&Nn(l[1])?l[1].error:void 0;return o.forEach((C,w)=>{let k=a[w].route.id;if(Ar(!oc(C),"Cannot handle redirect results in processLoaderData"),Nn(C)){let B=C.error;if(y!==void 0&&(B=y,y=void 0),h=h||{},d)h[k]=B;else{let M=td(r,k);h[M.route.id]==null&&(h[M.route.id]=B)}u[k]=void 0,v||(v=!0,p=Nf(C.error)?C.error.status:500),C.headers&&(b[k]=C.headers)}else nc(C)?(s.set(k,C.deferredData),u[k]=C.deferredData.data,C.statusCode!=null&&C.statusCode!==200&&!v&&(p=C.statusCode),C.headers&&(b[k]=C.headers)):(u[k]=C.data,C.statusCode&&C.statusCode!==200&&!v&&(p=C.statusCode),C.headers&&(b[k]=C.headers))}),y!==void 0&&l&&(h={[l[0]]:y},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:b}}function _k(r,a,o,l,s,d,u,h){let{loaderData:p,errors:v}=$k(a,o,l,s,h,!1);for(let b=0;b<d.length;b++){let{key:y,match:C,controller:w}=d[b];Ar(u!==void 0&&u[b]!==void 0,"Did not find corresponding fetcher result");let k=u[b];if(!(w&&w.signal.aborted))if(Nn(k)){let B=td(r.matches,C==null?void 0:C.route.id);v&&v[B.route.id]||(v=Fr({},v,{[B.route.id]:k.error})),r.fetchers.delete(y)}else if(oc(k))Ar(!1,"Unhandled fetcher revalidation redirect");else if(nc(k))Ar(!1,"Unhandled fetcher deferred data");else{let B=rc(k.data);r.fetchers.set(y,B)}}return{loaderData:p,errors:v}}function bk(r,a,o,l){let s=Fr({},a);for(let d of o){let u=d.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&d.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function yk(r){return r?Nn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function td(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 Hg(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:d,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",d==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
+ `+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.":d==="defer-action"?p="defer() is not supported in actions":d==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Bf(r||500,h,new Error(p),!0)}function Sk(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(oc(o))return{result:o,idx:a}}}function Gk(r){let a=typeof r=="string"?Xl(r):r;return ks(Fr({},a,{hash:""}))}function SW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function wW(r){return typeof r=="object"&&r!=null&&"then"in r}function CW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Yr.data||r.type===Yr.error)}function qk(r){return ac(r.result)&&fW.has(r.result.status)}function nc(r){return r.type===Yr.deferred}function Nn(r){return r.type===Yr.error}function oc(r){return(r&&r.type)===Yr.redirect}function u2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function Kk(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 ac(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function xW(r){if(!ac(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function c2(r){return dW.has(r.toLowerCase())}function xl(r){return uW.has(r.toLowerCase())}function wk(r,a,o,l,s,d){return oa(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let v=r.find(y=>y.route.id===p.route.id),b=v!=null&&!jk(v,p)&&(d&&d[p.route.id])!==void 0;if(nc(h)&&(s||b)){let y=l[u];Ar(y,"Expected an AbortSignal for revalidating fetcher deferred result"),yield Xk(h,y,s).then(C=>{C&&(o[u]=C||o[u])})}}})}function Xk(r,a,o){return oa(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 p2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function rd(r,a){let o=typeof a=="string"?Xl(a).search:a.search;if(r[r.length-1].route.index&&p2(o||""))return r[r.length-1];let l=Lk(r);return l[l.length-1]}function Ck(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:d,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(d!=null)return{formMethod:a,formAction:o,formEncType:l,formData:d,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 n2(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 TW(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 kW(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 rc(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 EW(r,a){try{let o=r.sessionStorage.getItem(Mk);if(o){let l=JSON.parse(o);for(let[s,d]of Object.entries(l||{}))d&&Array.isArray(d)&&a.set(s,new Set(d||[]))}}catch(o){}}function RW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(Mk,JSON.stringify(o))}catch(l){Ts(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}cr.AbortedDeferredError=Yh;cr.Action=Pa;cr.IDLE_BLOCKER=Lf;cr.IDLE_FETCHER=Ik;cr.IDLE_NAVIGATION=zg;cr.UNSAFE_DEFERRED_SYMBOL=Fk;cr.UNSAFE_DeferredData=jg;cr.UNSAFE_ErrorResponseImpl=Bf;cr.UNSAFE_convertRouteMatchToUiMatch=Tk;cr.UNSAFE_convertRoutesToDataRoutes=ad;cr.UNSAFE_decodePath=Rk;cr.UNSAFE_getResolveToMatches=Ak;cr.UNSAFE_invariant=Ar;cr.UNSAFE_warning=Ts;cr.createBrowserHistory=IV;cr.createHashHistory=PV;cr.createMemoryHistory=OV;cr.createPath=ks;cr.createRouter=hW;cr.createStaticHandler=mW;cr.defer=iW;cr.generatePath=XV;cr.getStaticContextFromError=vW;cr.getToPathname=ZV;cr.isDataWithResponseInit=u2;cr.isDeferredData=Kk;cr.isRouteErrorResponse=Nf;cr.joinPaths=Af;cr.json=rW;cr.matchPath=o2;cr.matchRoutes=nu;cr.normalizePathname=Nk;cr.parsePath=Xl;cr.redirect=d2;cr.redirectDocument=lW;cr.replace=sW;cr.resolvePath=Dk;cr.resolveTo=Bk;cr.stripBasename=$h;cr.unstable_data=aW});var Qk=Ge((Ug,Jk)=>{(function(r,a){typeof Ug=="object"&&typeof Jk!="undefined"?a(Ug,pr(),h2()):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))})(Ug,function(r,a,o){"use strict";function l(O){if(O&&O.__esModule)return O;var Z=Object.create(null);return O&&Object.keys(O).forEach(function(L){if(L!=="default"){var U=Object.getOwnPropertyDescriptor(O,L);Object.defineProperty(Z,L,U.get?U:{enumerable:!0,get:function(){return O[L]}})}}),Z.default=O,Object.freeze(Z)}var s=l(a);function d(){return d=Object.assign?Object.assign.bind():function(O){for(var Z=1;Z<arguments.length;Z++){var L=arguments[Z];for(var U in L)Object.prototype.hasOwnProperty.call(L,U)&&(O[U]=L[U])}return O},d.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 v=s.createContext(null);v.displayName="Navigation";let b=s.createContext(null);b.displayName="Location";let y=s.createContext({outlet:null,matches:[],isDataRoute:!1});y.displayName="Route";let C=s.createContext(null);C.displayName="RouteError";function w(O,Z){let{relative:L}=Z===void 0?{}:Z;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:U,navigator:q}=s.useContext(v),{hash:de,pathname:ie,search:Ie}=be(O,{relative:L}),Pe=ie;return U!=="/"&&(Pe=ie==="/"?U:o.joinPaths([U,ie])),q.createHref({pathname:Pe,search:Ie,hash:de})}function k(){return s.useContext(b)!=null}function B(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(b).location}function M(){return s.useContext(b).navigationType}function X(O){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:Z}=B();return s.useMemo(()=>o.matchPath(O,o.UNSAFE_decodePath(Z)),[Z,O])}let F="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function V(O){s.useContext(v).static||s.useLayoutEffect(O)}function H(){let{isDataRoute:O}=s.useContext(y);return O?ir():G()}function G(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let O=s.useContext(u),{basename:Z,future:L,navigator:U}=s.useContext(v),{matches:q}=s.useContext(y),{pathname:de}=B(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(q,L.v7_relativeSplatPath)),Ie=s.useRef(!1);return V(()=>{Ie.current=!0}),s.useCallback(function(Me,Xe){if(Xe===void 0&&(Xe={}),o.UNSAFE_warning(Ie.current,F),!Ie.current)return;if(typeof Me=="number"){U.go(Me);return}let Be=o.resolveTo(Me,JSON.parse(ie),de,Xe.relative==="path");O==null&&Z!=="/"&&(Be.pathname=Be.pathname==="/"?Z:o.joinPaths([Z,Be.pathname])),(Xe.replace?U.replace:U.push)(Be,Xe.state,Xe)},[Z,U,ie,de,O])}let P=s.createContext(null);function oe(){return s.useContext(P)}function Ee(O){let Z=s.useContext(y).outlet;return Z&&s.createElement(P.Provider,{value:O},Z)}function te(){let{matches:O}=s.useContext(y),Z=O[O.length-1];return Z?Z.params:{}}function be(O,Z){let{relative:L}=Z===void 0?{}:Z,{future:U}=s.useContext(v),{matches:q}=s.useContext(y),{pathname:de}=B(),ie=JSON.stringify(o.UNSAFE_getResolveToMatches(q,U.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo(O,JSON.parse(ie),de,L==="path"),[O,ie,de,L])}function ye(O,Z){return fe(O,Z)}function fe(O,Z,L,U){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:q}=s.useContext(v),{matches:de}=s.useContext(y),ie=de[de.length-1],Ie=ie?ie.params:{},Pe=ie?ie.pathname:"/",Me=ie?ie.pathnameBase:"/",Xe=ie&&ie.route;{let Ue=Xe&&Xe.path||"";xr(Pe,!Xe||Ue.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Ue+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
148
148
 
149
- `+('Please change the parent <Route path="'+Ue+'"> to <Route ')+('path="'+(Ue==="/"?"*":Ue+"/*")+'">.'))}let Be=B(),tt;if(Z){var j;let Ue=typeof Z=="string"?o.parsePath(Z):Z;Me==="/"||(j=Ue.pathname)!=null&&j.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 "'+Ue.pathname+'" was given in the `location` prop.')),tt=Ue}else tt=Be;let Y=tt.pathname||"/",ee=Y;if(Me!=="/"){let Ue=Me.replace(/^\//,"").split("/");ee="/"+Y.replace(/^\//,"").split("/").slice(Ue.length).join("/")}let le=o.matchRoutes(O,{pathname:ee});o.UNSAFE_warning(Xe||le!=null,'No routes matched location "'+tt.pathname+tt.search+tt.hash+'" '),o.UNSAFE_warning(le==null||le[le.length-1].route.element!==void 0||le[le.length-1].route.Component!==void 0||le[le.length-1].route.lazy!==void 0,'Matched leaf route at location "'+tt.pathname+tt.search+tt.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let $e=ne(le&&le.map(Ue=>Object.assign({},Ue,{params:Object.assign({},Ie,Ue.params),pathname:o.joinPaths([Me,q.encodeLocation?q.encodeLocation(Ue.pathname).pathname:Ue.pathname]),pathnameBase:Ue.pathnameBase==="/"?Me:o.joinPaths([Me,q.encodeLocation?q.encodeLocation(Ue.pathnameBase).pathname:Ue.pathnameBase])})),de,L,U);return Z&&$e?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},tt),navigationType:o.Action.Pop}},$e):$e}function I(){let O=Ae(),Z=o.isRouteErrorResponse(O)?O.status+" "+O.statusText:O instanceof Error?O.message:JSON.stringify(O),L=O instanceof Error?O.stack:null,U="rgba(200,200,200, 0.5)",q={padding:"0.5rem",backgroundColor:U},de={padding:"2px 4px",backgroundColor:U},ie=null;return console.error("Error handled by React Router default ErrorBoundary:",O),ie=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:de},"ErrorBoundary")," or"," ",s.createElement("code",{style:de},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},Z),L?s.createElement("pre",{style:q},L):null,ie)}let ae=s.createElement(I,null);class me extends s.Component{constructor(Z){super(Z),this.state={location:Z.location,revalidation:Z.revalidation,error:Z.error}}static getDerivedStateFromError(Z){return{error:Z}}static getDerivedStateFromProps(Z,L){return L.location!==Z.location||L.revalidation!=="idle"&&Z.revalidation==="idle"?{error:Z.error,location:Z.location,revalidation:Z.revalidation}:{error:Z.error!==void 0?Z.error:L.error,location:L.location,revalidation:Z.revalidation||L.revalidation}}componentDidCatch(Z,L){console.error("React Router caught the following error during render",Z,L)}render(){return this.state.error!==void 0?s.createElement(y.Provider,{value:this.props.routeContext},s.createElement(C.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z(O){let{routeContext:Z,match:L,children:U}=O,q=s.useContext(u);return q&&q.static&&q.staticContext&&(L.route.errorElement||L.route.ErrorBoundary)&&(q.staticContext._deepestRenderedBoundaryId=L.route.id),s.createElement(y.Provider,{value:Z},U)}function ne(O,Z,L,U){var q;if(Z===void 0&&(Z=[]),L===void 0&&(L=null),U===void 0&&(U=null),O==null){var de;if(!L)return null;if(L.errors)O=L.matches;else if((de=U)!=null&&de.v7_partialHydration&&Z.length===0&&!L.initialized&&L.matches.length>0)O=L.matches;else return null}let ie=O,Ie=(q=L)==null?void 0:q.errors;if(Ie!=null){let Xe=ie.findIndex(Be=>Be.route.id&&(Ie==null?void 0:Ie[Be.route.id])!==void 0);Xe>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Ie).join(",")),ie=ie.slice(0,Math.min(ie.length,Xe+1))}let Pe=!1,Me=-1;if(L&&U&&U.v7_partialHydration)for(let Xe=0;Xe<ie.length;Xe++){let Be=ie[Xe];if((Be.route.HydrateFallback||Be.route.hydrateFallbackElement)&&(Me=Xe),Be.route.id){let{loaderData:tt,errors:j}=L,Y=Be.route.loader&&tt[Be.route.id]===void 0&&(!j||j[Be.route.id]===void 0);if(Be.route.lazy||Y){Pe=!0,Me>=0?ie=ie.slice(0,Me+1):ie=[ie[0]];break}}}return ie.reduceRight((Xe,Be,tt)=>{let j,Y=!1,ee=null,le=null;L&&(j=Ie&&Be.route.id?Ie[Be.route.id]:void 0,ee=Be.route.errorElement||ae,Pe&&(Me<0&&tt===0?(xr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Y=!0,le=null):Me===tt&&(Y=!0,le=Be.route.hydrateFallbackElement||null)));let $e=Z.concat(ie.slice(0,tt+1)),Ue=()=>{let A;return j?A=ee:Y?A=le:Be.route.Component?A=s.createElement(Be.route.Component,null):Be.route.element?A=Be.route.element:A=Xe,s.createElement(z,{match:Be,routeContext:{outlet:Xe,matches:$e,isDataRoute:L!=null},children:A})};return L&&(Be.route.ErrorBoundary||Be.route.errorElement||tt===0)?s.createElement(me,{location:L.location,revalidation:L.revalidation,component:ee,error:j,children:Ue(),routeContext:{outlet:null,matches:$e,isDataRoute:!0}}):Ue()},null)}var pe=function(O){return O.UseBlocker="useBlocker",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O}(pe||{}),Se=function(O){return O.UseBlocker="useBlocker",O.UseLoaderData="useLoaderData",O.UseActionData="useActionData",O.UseRouteError="useRouteError",O.UseNavigation="useNavigation",O.UseRouteLoaderData="useRouteLoaderData",O.UseMatches="useMatches",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O.UseRouteId="useRouteId",O}(Se||{});function ce(O){return O+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we(O){let Z=s.useContext(u);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function Fe(O){let Z=s.useContext(h);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function He(O){let Z=s.useContext(y);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function at(O){let Z=He(O),L=Z.matches[Z.matches.length-1];return L.route.id||o.UNSAFE_invariant(!1,O+' can only be used on routes that contain a unique "id"'),L.route.id}function Oe(){return at(Se.UseRouteId)}function ct(){return Fe(Se.UseNavigation).navigation}function nr(){let O=we(pe.UseRevalidator),Z=Fe(Se.UseRevalidator);return s.useMemo(()=>({revalidate:O.router.revalidate,state:Z.revalidation}),[O.router.revalidate,Z.revalidation])}function bt(){let{matches:O,loaderData:Z}=Fe(Se.UseMatches);return s.useMemo(()=>O.map(L=>o.UNSAFE_convertRouteMatchToUiMatch(L,Z)),[O,Z])}function yt(){let O=Fe(Se.UseLoaderData),Z=at(Se.UseLoaderData);if(O.errors&&O.errors[Z]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+Z+")");return}return O.loaderData[Z]}function It(O){return Fe(Se.UseRouteLoaderData).loaderData[O]}function nt(){let O=Fe(Se.UseActionData),Z=at(Se.UseLoaderData);return O.actionData?O.actionData[Z]:void 0}function Ae(){var O;let Z=s.useContext(C),L=Fe(Se.UseRouteError),U=at(Se.UseRouteError);return Z!==void 0?Z:(O=L.errors)==null?void 0:O[U]}function Ct(){let O=s.useContext(p);return O==null?void 0:O._data}function zt(){let O=s.useContext(p);return O==null?void 0:O._error}let Yt=0;function $t(O){let{router:Z,basename:L}=we(pe.UseBlocker),U=Fe(Se.UseBlocker),[q,de]=s.useState(""),ie=s.useCallback(Ie=>{if(typeof O!="function")return!!O;if(L==="/")return O(Ie);let{currentLocation:Pe,nextLocation:Me,historyAction:Xe}=Ie;return O({currentLocation:d({},Pe,{pathname:o.stripBasename(Pe.pathname,L)||Pe.pathname}),nextLocation:d({},Me,{pathname:o.stripBasename(Me.pathname,L)||Me.pathname}),historyAction:Xe})},[L,O]);return s.useEffect(()=>{let Ie=String(++Yt);return de(Ie),()=>Z.deleteBlocker(Ie)},[Z]),s.useEffect(()=>{q!==""&&Z.getBlocker(q,ie)},[Z,q,ie]),q&&U.blockers.has(q)?U.blockers.get(q):o.IDLE_BLOCKER}function ir(){let{router:O}=we(pe.UseNavigateStable),Z=at(Se.UseNavigateStable),L=s.useRef(!1);return V(()=>{L.current=!0}),s.useCallback(function(q,de){de===void 0&&(de={}),o.UNSAFE_warning(L.current,F),L.current&&(typeof q=="number"?O.navigate(q):O.navigate(q,d({fromRouteId:Z},de)))},[O,Z])}let sr={};function xr(O,Z,L){!Z&&!sr[O]&&(sr[O]=!0,o.UNSAFE_warning(!1,L))}let aa=s["startTransition"];function la(O){let{fallbackElement:Z,router:L,future:U}=O,[q,de]=s.useState(L.state),{v7_startTransition:ie}=U||{},Ie=s.useCallback(Be=>{ie&&aa?aa(()=>de(Be)):de(Be)},[de,ie]);s.useLayoutEffect(()=>L.subscribe(Ie),[L,Ie]),s.useEffect(()=>{o.UNSAFE_warning(Z==null||!L.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:L.createHref,encodeLocation:L.encodeLocation,go:Be=>L.navigate(Be),push:(Be,tt,j)=>L.navigate(Be,{state:tt,preventScrollReset:j==null?void 0:j.preventScrollReset}),replace:(Be,tt,j)=>L.navigate(Be,{replace:!0,state:tt,preventScrollReset:j==null?void 0:j.preventScrollReset})}),[L]),Me=L.basename||"/",Xe=s.useMemo(()=>({router:L,navigator:Pe,static:!1,basename:Me}),[L,Pe,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:Xe},s.createElement(h.Provider,{value:q},s.createElement(Rr,{basename:Me,location:q.location,navigationType:q.historyAction,navigator:Pe,future:{v7_relativeSplatPath:L.future.v7_relativeSplatPath}},q.initialized||L.future.v7_partialHydration?s.createElement(Br,{routes:L.routes,future:L.future,state:q}):Z))),null)}function Br(O){let{routes:Z,future:L,state:U}=O;return fe(Z,void 0,U,L)}function Nr(O){let{basename:Z,children:L,initialEntries:U,initialIndex:q,future:de}=O,ie=s.useRef();ie.current==null&&(ie.current=o.createMemoryHistory({initialEntries:U,initialIndex:q,v5Compat:!0}));let Ie=ie.current,[Pe,Me]=s.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Xe}=de||{},Be=s.useCallback(tt=>{Xe&&aa?aa(()=>Me(tt)):Me(tt)},[Me,Xe]);return s.useLayoutEffect(()=>Ie.listen(Be),[Ie,Be]),s.createElement(Rr,{basename:Z,children:L,location:Pe.location,navigationType:Pe.action,navigator:Ie,future:de})}function Or(O){let{to:Z,replace:L,state:U,relative:q}=O;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:de,static:ie}=s.useContext(v);o.UNSAFE_warning(!ie,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Ie}=s.useContext(y),{pathname:Pe}=B(),Me=H(),Xe=o.resolveTo(Z,o.UNSAFE_getResolveToMatches(Ie,de.v7_relativeSplatPath),Pe,q==="path"),Be=JSON.stringify(Xe);return s.useEffect(()=>Me(JSON.parse(Be),{replace:L,state:U,relative:q}),[Me,Be,q,L,U]),null}function ma(O){return Ee(O.context)}function hr(O){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Rr(O){let{basename:Z="/",children:L=null,location:U,navigationType:q=o.Action.Pop,navigator:de,static:ie=!1,future:Ie}=O;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=Z.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Pe,navigator:de,static:ie,future:d({v7_relativeSplatPath:!1},Ie)}),[Pe,Ie,de,ie]);typeof U=="string"&&(U=o.parsePath(U));let{pathname:Xe="/",search:Be="",hash:tt="",state:j=null,key:Y="default"}=U,ee=s.useMemo(()=>{let le=o.stripBasename(Xe,Pe);return le==null?null:{location:{pathname:le,search:Be,hash:tt,state:j,key:Y},navigationType:q}},[Pe,Xe,Be,tt,j,Y,q]);return o.UNSAFE_warning(ee!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+Xe+Be+tt+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ee==null?null:s.createElement(v.Provider,{value:Me},s.createElement(b.Provider,{children:L,value:ee}))}function Ir(O){let{children:Z,location:L}=O;return ye(Gt(Z),L)}function ba(O){let{children:Z,errorElement:L,resolve:U}=O;return s.createElement(St,{resolve:U,errorElement:L},s.createElement(Xt,null,Z))}var ze=function(O){return O[O.pending=0]="pending",O[O.success=1]="success",O[O.error=2]="error",O}(ze||{});let dt=new Promise(()=>{});class St extends s.Component{constructor(Z){super(Z),this.state={error:null}}static getDerivedStateFromError(Z){return{error:Z}}componentDidCatch(Z,L){console.error("<Await> caught the following error during render",Z,L)}render(){let{children:Z,errorElement:L,resolve:U}=this.props,q=null,de=ze.pending;if(!(U instanceof Promise))de=ze.success,q=Promise.resolve(),Object.defineProperty(q,"_tracked",{get:()=>!0}),Object.defineProperty(q,"_data",{get:()=>U});else if(this.state.error){de=ze.error;let ie=this.state.error;q=Promise.reject().catch(()=>{}),Object.defineProperty(q,"_tracked",{get:()=>!0}),Object.defineProperty(q,"_error",{get:()=>ie})}else U._tracked?(q=U,de="_error"in q?ze.error:"_data"in q?ze.success:ze.pending):(de=ze.pending,Object.defineProperty(U,"_tracked",{get:()=>!0}),q=U.then(ie=>Object.defineProperty(U,"_data",{get:()=>ie}),ie=>Object.defineProperty(U,"_error",{get:()=>ie})));if(de===ze.error&&q._error instanceof o.AbortedDeferredError)throw dt;if(de===ze.error&&!L)throw q._error;if(de===ze.error)return s.createElement(p.Provider,{value:q,children:L});if(de===ze.success)return s.createElement(p.Provider,{value:q,children:Z});throw q}}function Xt(O){let{children:Z}=O,L=Ct(),U=typeof Z=="function"?Z(L):Z;return s.createElement(s.Fragment,null,U)}function Gt(O,Z){Z===void 0&&(Z=[]);let L=[];return s.Children.forEach(O,(U,q)=>{if(!s.isValidElement(U))return;let de=[...Z,q];if(U.type===s.Fragment){L.push.apply(L,Gt(U.props.children,de));return}U.type!==hr&&o.UNSAFE_invariant(!1,"["+(typeof U.type=="string"?U.type:U.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!U.props.index||!U.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ie={id:U.props.id||de.join("-"),caseSensitive:U.props.caseSensitive,element:U.props.element,Component:U.props.Component,index:U.props.index,path:U.props.path,loader:U.props.loader,action:U.props.action,errorElement:U.props.errorElement,ErrorBoundary:U.props.ErrorBoundary,hasErrorBoundary:U.props.ErrorBoundary!=null||U.props.errorElement!=null,shouldRevalidate:U.props.shouldRevalidate,handle:U.props.handle,lazy:U.props.lazy};U.props.children&&(ie.children=Gt(U.props.children,de)),L.push(ie)}),L}function Er(O){return ne(O)}function _r(O){let Z={hasErrorBoundary:O.ErrorBoundary!=null||O.errorElement!=null};return O.Component&&(O.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(Z,{element:s.createElement(O.Component),Component:void 0})),O.HydrateFallback&&(O.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(Z,{hydrateFallbackElement:s.createElement(O.HydrateFallback),HydrateFallback:void 0})),O.ErrorBoundary&&(O.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(Z,{errorElement:s.createElement(O.ErrorBoundary),ErrorBoundary:void 0})),Z}function qr(O,Z){return o.createRouter({basename:Z==null?void 0:Z.basename,future:d({},Z==null?void 0:Z.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:Z==null?void 0:Z.initialEntries,initialIndex:Z==null?void 0:Z.initialIndex}),hydrationData:Z==null?void 0:Z.hydrationData,routes:O,mapRouteProperties:_r,unstable_dataStrategy:Z==null?void 0:Z.unstable_dataStrategy,unstable_patchRoutesOnMiss:Z==null?void 0:Z.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=Nr,r.Navigate=Or,r.Outlet=ma,r.Route=hr,r.Router=Rr,r.RouterProvider=la,r.Routes=Ir,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=v,r.UNSAFE_RouteContext=y,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Oe,r.UNSAFE_useRoutesImpl=fe,r.createMemoryRouter=qr,r.createRoutesFromChildren=Gt,r.createRoutesFromElements=Gt,r.renderMatches=Er,r.useActionData=nt,r.useAsyncError=zt,r.useAsyncValue=Ct,r.useBlocker=$t,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=yt,r.useLocation=B,r.useMatch=X,r.useMatches=bt,r.useNavigate=H,r.useNavigation=ct,r.useNavigationType=M,r.useOutlet=Ee,r.useOutletContext=oe,r.useParams=te,r.useResolvedPath=be,r.useRevalidator=nr,r.useRouteError=Ae,r.useRouteLoaderData=It,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var e5=Ge((oq,Zk)=>{"use strict";Zk.exports=Qk()});var r5=Ge((Vg,t5)=>{(function(r,a){typeof Vg=="object"&&typeof t5!="undefined"?a(Vg,pr(),e2(),e5(),h2()):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))})(Vg,function(r,a,o,l,s){"use strict";function d(L){if(L&&L.__esModule)return L;var U=Object.create(null);return L&&Object.keys(L).forEach(function(q){if(q!=="default"){var de=Object.getOwnPropertyDescriptor(L,q);Object.defineProperty(U,q,de.get?de:{enumerable:!0,get:function(){return L[q]}})}}),U.default=L,Object.freeze(U)}var u=d(a),h=d(o);function p(){return p=Object.assign?Object.assign.bind():function(L){for(var U=1;U<arguments.length;U++){var q=arguments[U];for(var de in q)Object.prototype.hasOwnProperty.call(q,de)&&(L[de]=q[de])}return L},p.apply(this,arguments)}function v(L,U){if(L==null)return{};var q={},de=Object.keys(L),ie,Ie;for(Ie=0;Ie<de.length;Ie++)ie=de[Ie],!(U.indexOf(ie)>=0)&&(q[ie]=L[ie]);return q}let b="get",y="application/x-www-form-urlencoded";function C(L){return L!=null&&typeof L.tagName=="string"}function w(L){return C(L)&&L.tagName.toLowerCase()==="button"}function k(L){return C(L)&&L.tagName.toLowerCase()==="form"}function B(L){return C(L)&&L.tagName.toLowerCase()==="input"}function M(L){return!!(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)}function X(L,U){return L.button===0&&(!U||U==="_self")&&!M(L)}function F(L){return L===void 0&&(L=""),new URLSearchParams(typeof L=="string"||Array.isArray(L)||L instanceof URLSearchParams?L:Object.keys(L).reduce((U,q)=>{let de=L[q];return U.concat(Array.isArray(de)?de.map(ie=>[q,ie]):[[q,de]])},[]))}function V(L,U){let q=F(L);return U&&U.forEach((de,ie)=>{q.has(ie)||U.getAll(ie).forEach(Ie=>{q.append(ie,Ie)})}),q}let H=null;function G(){if(H===null)try{new FormData(document.createElement("form"),0),H=!1}catch(L){H=!0}return H}let P=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function oe(L){return L!=null&&!P.has(L)?(s.UNSAFE_warning(!1,'"'+L+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+y+'"')),null):L}function Ee(L,U){let q,de,ie,Ie,Pe;if(k(L)){let Me=L.getAttribute("action");de=Me?s.stripBasename(Me,U):null,q=L.getAttribute("method")||b,ie=oe(L.getAttribute("enctype"))||y,Ie=new FormData(L)}else if(w(L)||B(L)&&(L.type==="submit"||L.type==="image")){let Me=L.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Xe=L.getAttribute("formaction")||Me.getAttribute("action");if(de=Xe?s.stripBasename(Xe,U):null,q=L.getAttribute("formmethod")||Me.getAttribute("method")||b,ie=oe(L.getAttribute("formenctype"))||oe(Me.getAttribute("enctype"))||y,Ie=new FormData(Me,L),!G()){let{name:Be,type:tt,value:j}=L;if(tt==="image"){let Y=Be?Be+".":"";Ie.append(Y+"x","0"),Ie.append(Y+"y","0")}else Be&&Ie.append(Be,j)}}else{if(C(L))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');q=b,de=null,ie=y,Pe=L}return Ie&&ie==="text/plain"&&(Pe=Ie,Ie=void 0),{action:de,method:q.toLowerCase(),encType:ie,formData:Ie,body:Pe}}let te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],be=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ye=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],fe="6";try{window.__reactRouterVersion=fe}catch(L){}function I(L,U){return s.createRouter({basename:U==null?void 0:U.basename,future:p({},U==null?void 0:U.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:U==null?void 0:U.window}),hydrationData:(U==null?void 0:U.hydrationData)||me(),routes:L,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:U==null?void 0:U.unstable_dataStrategy,unstable_patchRoutesOnMiss:U==null?void 0:U.unstable_patchRoutesOnMiss,window:U==null?void 0:U.window}).initialize()}function ae(L,U){return s.createRouter({basename:U==null?void 0:U.basename,future:p({},U==null?void 0:U.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:U==null?void 0:U.window}),hydrationData:(U==null?void 0:U.hydrationData)||me(),routes:L,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:U==null?void 0:U.unstable_dataStrategy,unstable_patchRoutesOnMiss:U==null?void 0:U.unstable_patchRoutesOnMiss,window:U==null?void 0:U.window}).initialize()}function me(){var L;let U=(L=window)==null?void 0:L.__staticRouterHydrationData;return U&&U.errors&&(U=p({},U,{errors:z(U.errors)})),U}function z(L){if(!L)return null;let U=Object.entries(L),q={};for(let[de,ie]of U)if(ie&&ie.__type==="RouteErrorResponse")q[de]=new s.UNSAFE_ErrorResponseImpl(ie.status,ie.statusText,ie.data,ie.internal===!0);else if(ie&&ie.__type==="Error"){if(ie.__subType){let Ie=window[ie.__subType];if(typeof Ie=="function")try{let Pe=new Ie(ie.message);Pe.stack="",q[de]=Pe}catch(Pe){}}if(q[de]==null){let Ie=new Error(ie.message);Ie.stack="",q[de]=Ie}}else q[de]=ie;return q}let ne=u.createContext({isTransitioning:!1});ne.displayName="ViewTransition";let pe=u.createContext(new Map);pe.displayName="Fetchers";let ce=u["startTransition"],Fe=h["flushSync"],at=u["useId"];function Oe(L){ce?ce(L):L()}function ct(L){Fe?Fe(L):L()}class nr{constructor(){this.status="pending",this.promise=new Promise((U,q)=>{this.resolve=de=>{this.status==="pending"&&(this.status="resolved",U(de))},this.reject=de=>{this.status==="pending"&&(this.status="rejected",q(de))}})}}function bt(L){let{fallbackElement:U,router:q,future:de}=L,[ie,Ie]=u.useState(q.state),[Pe,Me]=u.useState(),[Xe,Be]=u.useState({isTransitioning:!1}),[tt,j]=u.useState(),[Y,ee]=u.useState(),[le,$e]=u.useState(),Ue=u.useRef(new Map),{v7_startTransition:A}=de||{},$=u.useCallback(Ze=>{A?Oe(Ze):Ze()},[A]),he=u.useCallback((Ze,Rt)=>{let{deletedFetchers:Lt,unstable_flushSync:qt,unstable_viewTransitionOpts:Kr}=Rt;Lt.forEach(sa=>Ue.current.delete(sa)),Ze.fetchers.forEach((sa,ua)=>{sa.data!==void 0&&Ue.current.set(ua,sa.data)});let Va=q.window==null||q.window.document==null||typeof q.window.document.startViewTransition!="function";if(!Kr||Va){qt?ct(()=>Ie(Ze)):$(()=>Ie(Ze));return}if(qt){ct(()=>{Y&&(tt&&tt.resolve(),Y.skipTransition()),Be({isTransitioning:!0,flushSync:!0,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation})});let sa=q.window.document.startViewTransition(()=>{ct(()=>Ie(Ze))});sa.finished.finally(()=>{ct(()=>{j(void 0),ee(void 0),Me(void 0),Be({isTransitioning:!1})})}),ct(()=>ee(sa));return}Y?(tt&&tt.resolve(),Y.skipTransition(),$e({state:Ze,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation})):(Me(Ze),Be({isTransitioning:!0,flushSync:!1,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation}))},[q.window,Y,tt,Ue,$]);u.useLayoutEffect(()=>q.subscribe(he),[q,he]),u.useEffect(()=>{Xe.isTransitioning&&!Xe.flushSync&&j(new nr)},[Xe]),u.useEffect(()=>{if(tt&&Pe&&q.window){let Ze=Pe,Rt=tt.promise,Lt=q.window.document.startViewTransition(()=>oa(this,null,function*(){$(()=>Ie(Ze)),yield Rt}));Lt.finished.finally(()=>{j(void 0),ee(void 0),Me(void 0),Be({isTransitioning:!1})}),ee(Lt)}},[$,Pe,tt,q.window]),u.useEffect(()=>{tt&&Pe&&ie.location.key===Pe.location.key&&tt.resolve()},[tt,Y,ie.location,Pe]),u.useEffect(()=>{!Xe.isTransitioning&&le&&(Me(le.state),Be({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}),$e(void 0))},[Xe.isTransitioning,le]),u.useEffect(()=>{s.UNSAFE_warning(U==null||!q.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:q.createHref,encodeLocation:q.encodeLocation,go:Ze=>q.navigate(Ze),push:(Ze,Rt,Lt)=>q.navigate(Ze,{state:Rt,preventScrollReset:Lt==null?void 0:Lt.preventScrollReset}),replace:(Ze,Rt,Lt)=>q.navigate(Ze,{replace:!0,state:Rt,preventScrollReset:Lt==null?void 0:Lt.preventScrollReset})}),[q]),Ye=q.basename||"/",gt=u.useMemo(()=>({router:q,navigator:ke,static:!1,basename:Ye}),[q,ke,Ye]),rt=u.useMemo(()=>({v7_relativeSplatPath:q.future.v7_relativeSplatPath}),[q.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:gt},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ie},u.createElement(pe.Provider,{value:Ue.current},u.createElement(ne.Provider,{value:Xe},u.createElement(l.Router,{basename:Ye,location:ie.location,navigationType:ie.historyAction,navigator:ke,future:rt},ie.initialized||q.future.v7_partialHydration?u.createElement(yt,{routes:q.routes,future:q.future,state:ie}):U))))),null)}let yt=u.memo(It);function It(L){let{routes:U,future:q,state:de}=L;return l.UNSAFE_useRoutesImpl(U,void 0,de,q)}function nt(L){let{basename:U,children:q,future:de,window:ie}=L,Ie=u.useRef();Ie.current==null&&(Ie.current=s.createBrowserHistory({window:ie,v5Compat:!0}));let Pe=Ie.current,[Me,Xe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Be}=de||{},tt=u.useCallback(j=>{Be&&ce?ce(()=>Xe(j)):Xe(j)},[Xe,Be]);return u.useLayoutEffect(()=>Pe.listen(tt),[Pe,tt]),u.createElement(l.Router,{basename:U,children:q,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Ae(L){let{basename:U,children:q,future:de,window:ie}=L,Ie=u.useRef();Ie.current==null&&(Ie.current=s.createHashHistory({window:ie,v5Compat:!0}));let Pe=Ie.current,[Me,Xe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Be}=de||{},tt=u.useCallback(j=>{Be&&ce?ce(()=>Xe(j)):Xe(j)},[Xe,Be]);return u.useLayoutEffect(()=>Pe.listen(tt),[Pe,tt]),u.createElement(l.Router,{basename:U,children:q,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Ct(L){let{basename:U,children:q,future:de,history:ie}=L,[Ie,Pe]=u.useState({action:ie.action,location:ie.location}),{v7_startTransition:Me}=de||{},Xe=u.useCallback(Be=>{Me&&ce?ce(()=>Pe(Be)):Pe(Be)},[Pe,Me]);return u.useLayoutEffect(()=>ie.listen(Xe),[ie,Xe]),u.createElement(l.Router,{basename:U,children:q,location:Ie.location,navigationType:Ie.action,navigator:ie,future:de})}Ct.displayName="unstable_HistoryRouter";let zt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Yt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$t=u.forwardRef(function(U,q){let{onClick:de,relative:ie,reloadDocument:Ie,replace:Pe,state:Me,target:Xe,to:Be,preventScrollReset:tt,unstable_viewTransition:j}=U,Y=v(U,te),{basename:ee}=u.useContext(l.UNSAFE_NavigationContext),le,$e=!1;if(typeof Be=="string"&&Yt.test(Be)&&(le=Be,zt))try{let he=new URL(window.location.href),ke=Be.startsWith("//")?new URL(he.protocol+Be):new URL(Be),Ye=s.stripBasename(ke.pathname,ee);ke.origin===he.origin&&Ye!=null?Be=Ye+ke.search+ke.hash:$e=!0}catch(he){s.UNSAFE_warning(!1,'<Link to="'+Be+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ue=l.useHref(Be,{relative:ie}),A=Or(Be,{replace:Pe,state:Me,target:Xe,preventScrollReset:tt,relative:ie,unstable_viewTransition:j});function $(he){de&&de(he),he.defaultPrevented||A(he)}return u.createElement("a",p({},Y,{href:le||Ue,onClick:$e||Ie?de:$,ref:q,target:Xe}))});$t.displayName="Link";let ir=u.forwardRef(function(U,q){let{"aria-current":de="page",caseSensitive:ie=!1,className:Ie="",end:Pe=!1,style:Me,to:Xe,unstable_viewTransition:Be,children:tt}=U,j=v(U,be),Y=l.useResolvedPath(Xe,{relative:j.relative}),ee=l.useLocation(),le=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:$e,basename:Ue}=u.useContext(l.UNSAFE_NavigationContext),A=le!=null&&Z(Y)&&Be===!0,$=$e.encodeLocation?$e.encodeLocation(Y).pathname:Y.pathname,he=ee.pathname,ke=le&&le.navigation&&le.navigation.location?le.navigation.location.pathname:null;ie||(he=he.toLowerCase(),ke=ke?ke.toLowerCase():null,$=$.toLowerCase()),ke&&Ue&&(ke=s.stripBasename(ke,Ue)||ke);let Ye=$!=="/"&&$.endsWith("/")?$.length-1:$.length,gt=he===$||!Pe&&he.startsWith($)&&he.charAt(Ye)==="/",rt=ke!=null&&(ke===$||!Pe&&ke.startsWith($)&&ke.charAt($.length)==="/"),Ze={isActive:gt,isPending:rt,isTransitioning:A},Rt=gt?de:void 0,Lt;typeof Ie=="function"?Lt=Ie(Ze):Lt=[Ie,gt?"active":null,rt?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let qt=typeof Me=="function"?Me(Ze):Me;return u.createElement($t,p({},j,{"aria-current":Rt,className:Lt,ref:q,style:qt,to:Xe,unstable_viewTransition:Be}),typeof tt=="function"?tt(Ze):tt)});ir.displayName="NavLink";let sr=u.forwardRef((L,U)=>{let{fetcherKey:q,navigate:de,reloadDocument:ie,replace:Ie,state:Pe,method:Me=b,action:Xe,onSubmit:Be,relative:tt,preventScrollReset:j,unstable_viewTransition:Y}=L,ee=v(L,ye),le=ba(),$e=ze(Xe,{relative:tt}),Ue=Me.toLowerCase()==="get"?"get":"post",A=$=>{if(Be&&Be($),$.defaultPrevented)return;$.preventDefault();let he=$.nativeEvent.submitter,ke=(he==null?void 0:he.getAttribute("formmethod"))||Me;le(he||$.currentTarget,{fetcherKey:q,method:ke,navigate:de,replace:Ie,state:Pe,relative:tt,preventScrollReset:j,unstable_viewTransition:Y})};return u.createElement("form",p({ref:U,method:Ue,action:$e,onSubmit:ie?Be:A},ee))});sr.displayName="Form";function xr(L){let{getKey:U,storageKey:q}=L;return Er({getKey:U,storageKey:q}),null}xr.displayName="ScrollRestoration";var _a=function(L){return L.UseScrollRestoration="useScrollRestoration",L.UseSubmit="useSubmit",L.UseSubmitFetcher="useSubmitFetcher",L.UseFetcher="useFetcher",L.useViewTransitionState="useViewTransitionState",L}(_a||{}),aa=function(L){return L.UseFetcher="useFetcher",L.UseFetchers="useFetchers",L.UseScrollRestoration="useScrollRestoration",L}(aa||{});function la(L){return L+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Br(L){let U=u.useContext(l.UNSAFE_DataRouterContext);return U||s.UNSAFE_invariant(!1,la(L)),U}function Nr(L){let U=u.useContext(l.UNSAFE_DataRouterStateContext);return U||s.UNSAFE_invariant(!1,la(L)),U}function Or(L,U){let{target:q,replace:de,state:ie,preventScrollReset:Ie,relative:Pe,unstable_viewTransition:Me}=U===void 0?{}:U,Xe=l.useNavigate(),Be=l.useLocation(),tt=l.useResolvedPath(L,{relative:Pe});return u.useCallback(j=>{if(X(j,q)){j.preventDefault();let Y=de!==void 0?de:l.createPath(Be)===l.createPath(tt);Xe(L,{replace:Y,state:ie,preventScrollReset:Ie,relative:Pe,unstable_viewTransition:Me})}},[Be,Xe,tt,de,ie,q,L,Ie,Pe,Me])}function ma(L){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 U=u.useRef(F(L)),q=u.useRef(!1),de=l.useLocation(),ie=u.useMemo(()=>V(de.search,q.current?null:U.current),[de.search]),Ie=l.useNavigate(),Pe=u.useCallback((Me,Xe)=>{let Be=F(typeof Me=="function"?Me(ie):Me);q.current=!0,Ie("?"+Be,Xe)},[Ie,ie]);return[ie,Pe]}function hr(){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 Rr=0,Ir=()=>"__"+String(++Rr)+"__";function ba(){let{router:L}=Br(_a.UseSubmit),{basename:U}=u.useContext(l.UNSAFE_NavigationContext),q=l.UNSAFE_useRouteId();return u.useCallback(function(de,ie){ie===void 0&&(ie={}),hr();let{action:Ie,method:Pe,encType:Me,formData:Xe,body:Be}=Ee(de,U);if(ie.navigate===!1){let tt=ie.fetcherKey||Ir();L.fetch(tt,q,ie.action||Ie,{preventScrollReset:ie.preventScrollReset,formData:Xe,body:Be,formMethod:ie.method||Pe,formEncType:ie.encType||Me,unstable_flushSync:ie.unstable_flushSync})}else L.navigate(ie.action||Ie,{preventScrollReset:ie.preventScrollReset,formData:Xe,body:Be,formMethod:ie.method||Pe,formEncType:ie.encType||Me,replace:ie.replace,state:ie.state,fromRouteId:q,unstable_flushSync:ie.unstable_flushSync,unstable_viewTransition:ie.unstable_viewTransition})},[L,U,q])}function ze(L,U){let{relative:q}=U===void 0?{}:U,{basename:de}=u.useContext(l.UNSAFE_NavigationContext),ie=u.useContext(l.UNSAFE_RouteContext);ie||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Ie]=ie.matches.slice(-1),Pe=p({},l.useResolvedPath(L||".",{relative:q})),Me=l.useLocation();if(L==null){Pe.search=Me.search;let Xe=new URLSearchParams(Pe.search);Xe.has("index")&&Xe.get("index")===""&&(Xe.delete("index"),Pe.search=Xe.toString()?"?"+Xe.toString():"")}return(!L||L===".")&&Ie.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),de!=="/"&&(Pe.pathname=Pe.pathname==="/"?de:s.joinPaths([de,Pe.pathname])),l.createPath(Pe)}function dt(L){var U;let{key:q}=L===void 0?{}:L,{router:de}=Br(_a.UseFetcher),ie=Nr(aa.UseFetcher),Ie=u.useContext(pe),Pe=u.useContext(l.UNSAFE_RouteContext),Me=(U=Pe.matches[Pe.matches.length-1])==null?void 0:U.route.id;Ie||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 Xe=at?at():"",[Be,tt]=u.useState(q||Xe);q&&q!==Be?tt(q):Be||tt(Ir()),u.useEffect(()=>(de.getFetcher(Be),()=>{de.deleteFetcher(Be)}),[de,Be]);let j=u.useCallback(($,he)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),de.fetch(Be,Me,$,he)},[Be,Me,de]),Y=ba(),ee=u.useCallback(($,he)=>{Y($,p({},he,{navigate:!1,fetcherKey:Be}))},[Be,Y]),le=u.useMemo(()=>{let $=u.forwardRef((he,ke)=>u.createElement(sr,p({},he,{navigate:!1,fetcherKey:Be,ref:ke})));return $.displayName="fetcher.Form",$},[Be]),$e=ie.fetchers.get(Be)||s.IDLE_FETCHER,Ue=Ie.get(Be);return u.useMemo(()=>p({Form:le,submit:ee,load:j},$e,{data:Ue}),[le,ee,j,$e,Ue])}function St(){let L=Nr(aa.UseFetchers);return Array.from(L.fetchers.entries()).map(U=>{let[q,de]=U;return p({},de,{key:q})})}let Xt="react-router-scroll-positions",Gt={};function Er(L){let{getKey:U,storageKey:q}=L===void 0?{}:L,{router:de}=Br(_a.UseScrollRestoration),{restoreScrollPosition:ie,preventScrollReset:Ie}=Nr(aa.UseScrollRestoration),{basename:Pe}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),Xe=l.useMatches(),Be=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),qr(u.useCallback(()=>{if(Be.state==="idle"){let tt=(U?U(Me,Xe):null)||Me.key;Gt[tt]=window.scrollY}try{sessionStorage.setItem(q||Xt,JSON.stringify(Gt))}catch(tt){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+tt+").")}window.history.scrollRestoration="auto"},[q,U,Be.state,Me,Xe])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let tt=sessionStorage.getItem(q||Xt);tt&&(Gt=JSON.parse(tt))}catch(tt){}},[q]),u.useLayoutEffect(()=>{let tt=U&&Pe!=="/"?(Y,ee)=>U(p({},Y,{pathname:s.stripBasename(Y.pathname,Pe)||Y.pathname}),ee):U,j=de==null?void 0:de.enableScrollRestoration(Gt,()=>window.scrollY,tt);return()=>j&&j()},[de,Pe,U]),u.useLayoutEffect(()=>{if(ie!==!1){if(typeof ie=="number"){window.scrollTo(0,ie);return}if(Me.hash){let tt=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(tt){tt.scrollIntoView();return}}Ie!==!0&&window.scrollTo(0,0)}},[Me,ie,Ie]))}function _r(L,U){let{capture:q}=U||{};u.useEffect(()=>{let de=q!=null?{capture:q}:void 0;return window.addEventListener("beforeunload",L,de),()=>{window.removeEventListener("beforeunload",L,de)}},[L,q])}function qr(L,U){let{capture:q}=U||{};u.useEffect(()=>{let de=q!=null?{capture:q}:void 0;return window.addEventListener("pagehide",L,de),()=>{window.removeEventListener("pagehide",L,de)}},[L,q])}function O(L){let{when:U,message:q}=L,de=l.useBlocker(U);u.useEffect(()=>{de.state==="blocked"&&(window.confirm(q)?setTimeout(de.proceed,0):de.reset())},[de,q]),u.useEffect(()=>{de.state==="blocked"&&!U&&de.reset()},[de,U])}function Z(L,U){U===void 0&&(U={});let q=u.useContext(ne);q==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:de}=Br(_a.useViewTransitionState),ie=l.useResolvedPath(L,{relative:U.relative});if(!q.isTransitioning)return!1;let Ie=s.stripBasename(q.currentLocation.pathname,de)||q.currentLocation.pathname,Pe=s.stripBasename(q.nextLocation.pathname,de)||q.nextLocation.pathname;return s.matchPath(ie.pathname,Pe)!=null||s.matchPath(ie.pathname,Ie)!=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=nt,r.Form=sr,r.HashRouter=Ae,r.Link=$t,r.NavLink=ir,r.RouterProvider=bt,r.ScrollRestoration=xr,r.UNSAFE_FetchersContext=pe,r.UNSAFE_ViewTransitionContext=ne,r.UNSAFE_useScrollRestoration=Er,r.createBrowserRouter=I,r.createHashRouter=ae,r.createSearchParams=F,r.unstable_HistoryRouter=Ct,r.unstable_usePrompt=O,r.unstable_useViewTransitionState=Z,r.useBeforeUnload=_r,r.useFetcher=dt,r.useFetchers=St,r.useFormAction=ze,r.useLinkClickHandler=Or,r.useSearchParams=ma,r.useSubmit=ba,Object.defineProperty(r,"__esModule",{value:!0})})});var n5=Ge((lq,a5)=>{"use strict";a5.exports=r5()});var dr=Ge((uq,h5)=>{"use strict";var DW=Object.create,qh=Object.defineProperty,LW=Object.defineProperties,AW=Object.getOwnPropertyDescriptor,BW=Object.getOwnPropertyDescriptors,NW=Object.getOwnPropertyNames,Gg=Object.getOwnPropertySymbols,OW=Object.getPrototypeOf,v2=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,m2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Wg=Math.pow,o5=(r,a,o)=>a in r?qh(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,Gh=(r,a)=>{for(var o in a||(a={}))v2.call(a,o)&&o5(r,o,a[o]);if(Gg)for(var o of Gg(a))s5.call(a,o)&&o5(r,o,a[o]);return r},IW=(r,a)=>LW(r,BW(a)),PW=(r,a)=>{var o={};for(var l in r)v2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Gg)for(var l of Gg(r))a.indexOf(l)<0&&s5.call(r,l)&&(o[l]=r[l]);return o},u5=(r,a)=>()=>(r&&(a=r(r=0)),a),MW=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),FW=(r,a)=>{for(var o in a)qh(r,o,{get:a[o],enumerable:!0})},c5=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of NW(a))!v2.call(r,s)&&s!==o&&qh(r,s,{get:()=>a[s],enumerable:!(l=AW(a,s))||l.enumerable});return r},zW=(r,a,o)=>(o=r!=null?DW(OW(r)):{},c5(a||!r||!r.__esModule?qh(o,"default",{value:r,enumerable:!0}):o,r)),jW=r=>c5(qh({},"__esModule",{value:!0}),r),dn=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())}),d5=function(r,a){this[0]=r,this[1]=a},HW=(r,a,o)=>{var l=(u,h,p,v)=>{try{var b=o[u](h),y=(h=b.value)instanceof d5,C=b.done;Promise.resolve(y?h[0]:h).then(w=>y?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,v):p({value:w,done:C})).catch(w=>l("throw",w,p,v))}catch(w){v(w)}},s=u=>d[u]=h=>new Promise((p,v)=>l(u,h,p,v)),d={};return o=o.apply(r,a),d[m2("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},UW=(r,a,o)=>(a=r[m2("asyncIterator")])?a.call(r):(r=r[m2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((u,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(v=>u({value:v,done:p}),h)))),o("next"),o("return"),a),f5=u5(()=>{"use strict";if(typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()}),typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(d){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")}),typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Wg(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Wg(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Wg(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Wg(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return o.length!=4||d.push(o),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)}),typeof Array!="undefined"){let r=(a,o)=>{if(!a)return;let l=a;for(let s of o){if(!l)break;l=l[s]}return l};Array.prototype.order=function(a){let{direction:o="ASC",keys:l=[],numeral:s=!1}=a,d=[];return l.length?s?d=this.sort((u,h)=>+(Number(r(u,l))>Number(r(h,l)))*2-1):d=this.sort((u,h)=>{let p=String(r(u,l)).replace(/(\d+)/g,b=>b.padStart(18,"0")),v=String(r(h,l)).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>v)*2-1}):s?d=this.sort((u,h)=>+(u>h)*2-1):d=this.sort((u,h)=>{let p=String(u).replace(/(\d+)/g,b=>b.padStart(18,"0")),v=String(h).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>v)*2-1}),o=="DESC"&&(d=d.reverse()),d},Array.prototype.getLastChild=function(){let a=this.length-1;return this[a]}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>o(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})})}),i5,Ce,Ma,Yg,iu,l5,Of=u5(()=>{"use strict";f5(),i5=r=>new Ce.prototype.jsmin(r),Ce=i5,Ce.prototype={},Ce.extend=function(r,a=Ce){for(var[o,l]of Object.entries(r))a.prototype[o]=l},Ce.uuid={gen128Binary:()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("").toUpperCase(),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},gen:(r=32)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35;return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)]}).join("").toUpper(),to32Format:r=>(r=[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-"),r)},Ce.expando="__jsmin_"+Ce.uuid.gen(),Ma=(r,a)=>(r.queue.push(a),Yg(r),r),Yg=r=>dn(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,Yg(r)}}),iu=(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},l5=(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,Yg(r),r},Ce.extend({constructor:Ce,jsmin:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],l5(this,Ce.is.jsmin(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.jsmin.prototype=Ce.prototype;{let r=function(s,d,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,u)=>{if(!(Ce.is.element(d)||Ce.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[u]=h}),s),o=(s,d)=>(Ce(d).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.jsmin(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)}}),d),l=(s,d,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(v=>{if(Ce.is.string(u[0]))v.insertAdjacentHTML(h,u[0]);else{if(!v.parentNode)return;Ce(u[0]).for(b=>{u[1]&&(b=b.cloneNode(!0)),v.parentNode.insertBefore(b,v[p]||v)})}}),s};Ce.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let u=r(this,(h,p)=>s(h,p),1);return d?u:[]},await:function(s){return Ma(this,()=>new Promise((d,u)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ma(this,()=>dn(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ma(this,()=>dn(this,null,function*(){return yield s(this),this}))},click:function(){return Ma(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.click()}return this})},focus:function(){return Ma(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ma(this,()=>{let{eventType:d,eventID:u=Ce.uuid.gen(32),target:h,callback:p,options:v}=s;return v=Gh({passive:!0,capture:!1},v),this.for(b=>{if(!(Ce.is.element(b)||Ce.is.shadowRoot(b)))return;let{events:y}=b[Ce.expando];if(h){let C=p;p=w=>{if(w.target){if(Ce.is.string(h)){let k=w.target.closest(h);k&&(!k||C.call(k,w))}else if(Ce.is.elements(h)){for(let k of h)if(w.target==k)return C.call(k,w)}}}}if(y[u]){let C=y[u];b.removeEventListener(C.eventType,C.callback,C.options)}y[u]={eventType:d,callback:p,options:v},b.addEventListener(d,p,v)}),this})},removeEvent:function(s){return Ma(this,()=>{let d=Ce.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Ce.expando];for(let p of d){let v=h[p];v&&u.removeEventListener(v.eventType,v.callback,v.options)}}),this})},html:function(s){return Ma(this,()=>iu(this,o(s,a(this))))},empty:function(){return Ma(this,()=>iu(this,a(this)))},append:function(s){return Ma(this,()=>{o(s,this)})},remove:function(){return Ma(this,()=>(this.for((s,d)=>{s&&Ce.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ma(this,()=>iu(this,l(this,"before",...s)))},after:function(...s){return Ma(this,()=>iu(this,l(this,"after",...s)))},find:function(s){return Ma(this,()=>{let d=[],u=this[0];u||iu(this,Ce()),(Ce.is.element(u)||Ce.is.shadowRoot(u))&&(Ce.is.string(s)?d=u.querySelectorAll(s):Ce.is.element(u)&&Ce(s).for(h=>{let p=u.childNodes;for(let v of p)if(v===h){d.push(v);break}else v.childNodes.length&&(d=[...d,...Ce(v).find(h).for(b=>b)])})),iu(this,Ce(d))})},parent:function(s){return Ma(this,()=>{var d,u;let h=Ce(s?(d=this[0])==null?void 0:d.closest(s):(u=this[0])==null?void 0:u.parentNode);iu(this,h)})},children:function(s){return Ma(this,()=>{let d=this[0].children;Ce.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let u=Ce(d);return iu(this,u)})},addClass:function(s){return Ma(this,()=>(s&&this.for(d=>{let u=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.add(...u)}),this))},removeClass:function(s){return Ma(this,()=>(s&&this.for(d=>{let u=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.remove(...u)}),this))},toggleClass:function(s){return Ma(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(u=>u.match(s))),d},css:function(s){return Ma(this,()=>(this.for(d=>{if(Ce.is.element(d))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/)){d.style[u]=h+"px";continue}d.style[u]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ma(this,()=>(this.for(u=>u.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&Ce.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let u=this[0];return u&&Ce.is.element(u)&&u.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}{Ce.flatArray=(a,o)=>{if(!Ce.is.array(a))return[a];let l=[];for(let s of a)l.push(...o=="-R"?Ce.flatArray(s,"-R"):[s]);return l},Ce.JsonTo=a=>JSON.stringify(a),Ce.toJson=a=>{let o;try{o={ok:!0,body:JSON.parse(a)}}catch(l){o={ok:!1,body:l}}return o},Ce.scope=a=>a(),Ce.randomNumber=(a=0,o=100,l)=>{if(a>o)return NaN;let s=[],d=a;for(;d<=o;){if(l&&l.length&&l.includes(d)){d++;continue}s.push(d),d++}let u=Math.round(Math.random()*(s.length-1))+0;return s[u]};let r={};Ce.interval={standBy:(a,o,l)=>{r[a]=setTimeout(l,o)},clear:a=>{clearInterval(r[a])}}}Ce.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:d,attr:u,style:h,parent:p}=r,v=document.createElement(o||"div");if(l&&v.classList.add(...l.split(" ")),s&&(v.id=s),u)for(let C of Object.entries(u)){let w=C[0],k=(a=C[1])!=null?a:"";if(w=="data"&&Ce.is.keyValueDictionary(k))for(let[B,M]of Object.entries(k))v.dataset[B]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),v[w]=k}if(d&&Ce(v).append(d),h)for(var[b,y]of Object.entries(h))v.style[b]=y;return p&&Ce(p).append(v),v},Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:d="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${d}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.setLocalStrageData=(r,a)=>{localStorage.setItem(r,JSON.stringify(a))},Ce.getLocalStrageData=r=>{let a=localStorage.getItem(r),o=Ce.toJson(a);return o.ok?o.body:a},Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"},Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d}=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:d,safeAreaTop:u,safeAreaBottom:h}},Ce.getCursor=r=>{var a,o,l,s,d,u,h,p;let v=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:v,y:b}},Ce.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)}),Ce.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a},Ce.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]||"IP UNDEFINED"},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.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={what:function(r){let a="other";return this.jsmin(r)?a="jsmin":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)},jsmin: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.jsmin(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())}}}),VW=MW(r=>{"use strict";Of(),Ce.copyToClipboard=a=>dn(r,null,function*(){let o="";Ce.is.string(a)?o=a:Ce.is.function(a)&&(o=a());let l={ok:!1,body:"NotSupported"};return yield dn(r,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(o).then(()=>!0,()=>!1),!s)return}else{let d=document.createElement("input");if(Ce(document.body).append(d),d.value=o,d.select(),s=document.execCommand("copy"),document.body.removeChild(d),!s)return}l={ok:!0,body:""}}),l}),Ce.getCurrentLocation=()=>new Promise((a,o)=>{navigator.geolocation.getCurrentPosition(l=>{let{latitude:s,longitude:d}=l.coords;a({ok:!0,status:200,body:{lat:s,lng:d}})},l=>{a({ok:!1,status:500,body:{reason:l}})})}),Ce.ImageLoader=(a,o)=>new Promise((l,s)=>{let d=o||new Image;d.onload=()=>l(d),d.onerror=u=>s(u),d.src=a})}),p5={};FW(p5,{Fetcher:()=>$r,Filer:()=>$g,Time:()=>Fa,default:()=>YW});h5.exports=jW(p5);f5();Of();Of();var WW=r=>new Fa.prototype.time(r),Fa=WW;Fa.prototype={};var lu=function(r,a){r.value=a;let o=Ce.is.date(a);if(r.validate=o,!o)return r.ms=-1,r.year=-1,r.month=-1,r.weekday=-1,r.weekInYear=-1,r.date=-1,r.hours=-1,r.minutes=-1,r.seconds=-1,r;r.ms=a.getTime(),r.weekday=a.getDay(),r.year=a.getFullYear(),r.month=a.getMonth()+1,r.date=a.getDate();{let l=new Date(r.year,0,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),u=Math.ceil(d/(1e3*60*60*24));r.weekInYear=Math.ceil(u/7)}{let l=new Date(r.year,r.month-1,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),u=Math.ceil(d/(1e3*60*60*24)),h=Math.ceil(u/7);r.weekInMonth=h}{let l=new Date(r.year,r.month,0),s=l.getDay(),d=new Date(new Date(l).setDate(l.getDate()-s));r.isLastWeekInMonth=r.date>=d.getDate()}return r.hours=a.getHours(),r.minutes=a.getMinutes(),r.seconds=a.getSeconds(),r};Ce.extend({constructor:Fa,time:function(r){Fa.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return lu(this,a)}},Fa);Fa.prototype.time.prototype=Fa.prototype;Fa.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Fa};Fa.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Fa(a+" 00:00")};Fa.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=Fa(s).addYear(1):r=="month"?s=Fa(s).addMonth(1):r=="week"?s=Fa(s).addWeek(1):r=="day"?s=Fa(s).addDate(1):r=="hours"?s=Fa(s).addHours(1):r=="minutes"?s=Fa(s).addMinutes(1):r=="seconds"&&(s=Fa(s).addSeconds(1));return l};Ce.extend({setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),lu(this,a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),lu(this,a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),lu(this,a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),lu(this,a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),lu(this,a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),lu(this,a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),lu(this,a)},setMidnight:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),lu(this,r)},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)},isSameYear:function(r){let a=Ce.Time(r);return this.year==a.year},isSameMonth:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Ce.Time(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},getFirstDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||Ce.Time(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Fa);Ce.Time=Fa;Of();var $r=(r,a)=>new $r.prototype.instance(r,a);$r.prototype={};$r.waitList=[];$r.setDefaultTrafficControl=0;$r.setDefaultTimeout=1e3*60*10;$r.isReadableStream=r=>r instanceof ReadableStream;$r.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;$r.streamToContext=(r,a)=>dn(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!$r.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}}});Ce.extend({constructor:$r,instance:function(r,a){var o;a=a||{};let l=a.body;a.body&&!Ce.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=JSON.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=IW(Gh({key:Ce.uuid.gen(16),response_format:"json",timeout:$r.setDefaultTimeout,trafficControl:$r.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Gh(Gh({"Content-Type":"application/json"},$r.setDefaultHeaders&&$r.setDefaultHeaders()),a.headers),body:l}),this},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return dn(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:d}=r,u=a.body,h=this,p=function(){return HW(this,null,function*(){if(!a.ok){Ce.scope(()=>dn(this,null,function*(){let{ok:k,done:B,data:M}=yield $r.streamToContext(u,{reader:s,decoder:d});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:B,data:M}=yield new d5($r.streamToContext(u,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),B=!0):h.streamStatus=="closed"&&(B=!0),B&&(w=B,s.releaseLock()),l(M,B)}})};try{for(var v=UW(p()),b,y,C;b=!(y=yield v.next()).done;b=!1){let w=y.value}}catch(w){C=[w]}finally{try{b&&(y=v.return)&&(yield y.call(v))}finally{if(C)throw C[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 dn(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let u=!1,h=500,p="InternalServerError",v={},b=null;try{$r.setDefaultOnStart&&$r.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let C=a,{key:w,response_format:k,trafficControl:B,preventMultiRequest:M,timeout:X,queries:F}=C,V=PW(C,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);V.method=this.method;let H=$r.waitList.includes(w);if(M&&H)throw h=429,new Error("TooManyRequests");$r.waitList=[...$r.waitList,w];let G=Ce.queryParams.set(Gh({},F),String(this.url));v=yield fetch(G,V).then(P=>dn(this,null,function*(){return u=P.ok,h=P.status,p=P.statusText,b=P,k=="none"||k=="stream"?P:P[k]()})).catch(P=>{throw new Error(P)})}catch(C){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(C)||p),v={errorCode:String(C)}}finally{clearTimeout(d),l=performance.now()-o}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),setTimeout(()=>{$r.waitList.splice($r.waitList.findIndex(C=>C==a.key),1)},100);let y={ok:u,status:h,statusText:p,body:v,requestTime:l,rawData:b};if(!u&&this.onErrorCB&&this.onErrorCB(y.body),u&&this.onStreamCB&&a.response_format=="stream"){let C=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:y,reader:C,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(y.body),this.onResultCB&&this.onResultCB(y,a),$r.setDefaultOnEnd&&$r.setDefaultOnEnd(y,a),y})},abortStream:function(){this.streamStatus="abort"}},$r);$r.prototype.instance.prototype=$r.prototype;Of();var Es=r=>new Es.prototype.instance(r);Es.prototype={};Ce.extend({constructor:Es,instance: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},isValid:function(){return this.ok},toBlob:function(){return dn(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return dn(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return dn(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return dn(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}},Es);Es.prototype.instance.prototype=Es.prototype;var $g={fromFile:r=>dn(void 0,null,function*(){return Es(r)}),fromBlob:(r,a)=>dn(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 Es(s)}),fromArrayBuffer:(r,a)=>dn(void 0,null,function*(){return $g.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)}),fromObjectURL:(r,a)=>dn(void 0,null,function*(){let o=yield $r(r,{response_format:"blob"}).get();return o.ok?$g.fromBlob(o.body,a):Es({})}),fromDataURL:(r,a)=>dn(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?$g.fromBlob(o,a):Es({})})};Of();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:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:d,To:u,name:h}=s;if(d<=r&&r<=u){let p=r-d+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};var sq=zW(VW());$r.setDefaultHeaders=()=>({});var YW=Ce});var b5=Ge(Xg=>{"use strict";(function(){"use strict";var r=pr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,B="@@iterator";function M(A){if(A===null||typeof A!="object")return null;var $=k&&A[k]||A[B];return typeof $=="function"?$:null}var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(A){{for(var $=arguments.length,he=new Array($>1?$-1:0),ke=1;ke<$;ke++)he[ke-1]=arguments[ke];V("error",A,he)}}function V(A,$,he){{var ke=X.ReactDebugCurrentFrame,Ye=ke.getStackAddendum();Ye!==""&&($+="%s",he=he.concat([Ye]));var gt=he.map(function(rt){return String(rt)});gt.unshift("Warning: "+$),Function.prototype.apply.call(console[A],console,gt)}}var H=!1,G=!1,P=!1,oe=!1,Ee=!1,te;te=Symbol.for("react.module.reference");function be(A){return!!(typeof A=="string"||typeof A=="function"||A===l||A===d||Ee||A===s||A===v||A===b||oe||A===w||H||G||P||typeof A=="object"&&A!==null&&(A.$$typeof===C||A.$$typeof===y||A.$$typeof===u||A.$$typeof===h||A.$$typeof===p||A.$$typeof===te||A.getModuleId!==void 0))}function ye(A,$,he){var ke=A.displayName;if(ke)return ke;var Ye=$.displayName||$.name||"";return Ye!==""?he+"("+Ye+")":he}function fe(A){return A.displayName||"Context"}function I(A){if(A==null)return null;if(typeof A.tag=="number"&&F("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 d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case h:var $=A;return fe($)+".Consumer";case u:var he=A;return fe(he._context)+".Provider";case p:return ye(A,A.render,"ForwardRef");case y:var ke=A.displayName||null;return ke!==null?ke:I(A.type)||"Memo";case C:{var Ye=A,gt=Ye._payload,rt=Ye._init;try{return I(rt(gt))}catch(Ze){return null}}}return null}var ae=Object.assign,me=0,z,ne,pe,Se,ce,we,Fe;function He(){}He.__reactDisabledLog=!0;function at(){{if(me===0){z=console.log,ne=console.info,pe=console.warn,Se=console.error,ce=console.group,we=console.groupCollapsed,Fe=console.groupEnd;var A={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}me++}}function Oe(){{if(me--,me===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ae({},A,{value:z}),info:ae({},A,{value:ne}),warn:ae({},A,{value:pe}),error:ae({},A,{value:Se}),group:ae({},A,{value:ce}),groupCollapsed:ae({},A,{value:we}),groupEnd:ae({},A,{value:Fe})})}me<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ct=X.ReactCurrentDispatcher,nr;function bt(A,$,he){{if(nr===void 0)try{throw Error()}catch(Ye){var ke=Ye.stack.trim().match(/\n( *(at )?)/);nr=ke&&ke[1]||""}return`
149
+ `+('Please change the parent <Route path="'+Ue+'"> to <Route ')+('path="'+(Ue==="/"?"*":Ue+"/*")+'">.'))}let Be=B(),tt;if(Z){var j;let Ue=typeof Z=="string"?o.parsePath(Z):Z;Me==="/"||(j=Ue.pathname)!=null&&j.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 "'+Ue.pathname+'" was given in the `location` prop.')),tt=Ue}else tt=Be;let Y=tt.pathname||"/",ee=Y;if(Me!=="/"){let Ue=Me.replace(/^\//,"").split("/");ee="/"+Y.replace(/^\//,"").split("/").slice(Ue.length).join("/")}let le=o.matchRoutes(O,{pathname:ee});o.UNSAFE_warning(Xe||le!=null,'No routes matched location "'+tt.pathname+tt.search+tt.hash+'" '),o.UNSAFE_warning(le==null||le[le.length-1].route.element!==void 0||le[le.length-1].route.Component!==void 0||le[le.length-1].route.lazy!==void 0,'Matched leaf route at location "'+tt.pathname+tt.search+tt.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let $e=ne(le&&le.map(Ue=>Object.assign({},Ue,{params:Object.assign({},Ie,Ue.params),pathname:o.joinPaths([Me,q.encodeLocation?q.encodeLocation(Ue.pathname).pathname:Ue.pathname]),pathnameBase:Ue.pathnameBase==="/"?Me:o.joinPaths([Me,q.encodeLocation?q.encodeLocation(Ue.pathnameBase).pathname:Ue.pathnameBase])})),de,L,U);return Z&&$e?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},tt),navigationType:o.Action.Pop}},$e):$e}function I(){let O=Ae(),Z=o.isRouteErrorResponse(O)?O.status+" "+O.statusText:O instanceof Error?O.message:JSON.stringify(O),L=O instanceof Error?O.stack:null,U="rgba(200,200,200, 0.5)",q={padding:"0.5rem",backgroundColor:U},de={padding:"2px 4px",backgroundColor:U},ie=null;return console.error("Error handled by React Router default ErrorBoundary:",O),ie=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:de},"ErrorBoundary")," or"," ",s.createElement("code",{style:de},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},Z),L?s.createElement("pre",{style:q},L):null,ie)}let ae=s.createElement(I,null);class me extends s.Component{constructor(Z){super(Z),this.state={location:Z.location,revalidation:Z.revalidation,error:Z.error}}static getDerivedStateFromError(Z){return{error:Z}}static getDerivedStateFromProps(Z,L){return L.location!==Z.location||L.revalidation!=="idle"&&Z.revalidation==="idle"?{error:Z.error,location:Z.location,revalidation:Z.revalidation}:{error:Z.error!==void 0?Z.error:L.error,location:L.location,revalidation:Z.revalidation||L.revalidation}}componentDidCatch(Z,L){console.error("React Router caught the following error during render",Z,L)}render(){return this.state.error!==void 0?s.createElement(y.Provider,{value:this.props.routeContext},s.createElement(C.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z(O){let{routeContext:Z,match:L,children:U}=O,q=s.useContext(u);return q&&q.static&&q.staticContext&&(L.route.errorElement||L.route.ErrorBoundary)&&(q.staticContext._deepestRenderedBoundaryId=L.route.id),s.createElement(y.Provider,{value:Z},U)}function ne(O,Z,L,U){var q;if(Z===void 0&&(Z=[]),L===void 0&&(L=null),U===void 0&&(U=null),O==null){var de;if(!L)return null;if(L.errors)O=L.matches;else if((de=U)!=null&&de.v7_partialHydration&&Z.length===0&&!L.initialized&&L.matches.length>0)O=L.matches;else return null}let ie=O,Ie=(q=L)==null?void 0:q.errors;if(Ie!=null){let Xe=ie.findIndex(Be=>Be.route.id&&(Ie==null?void 0:Ie[Be.route.id])!==void 0);Xe>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Ie).join(",")),ie=ie.slice(0,Math.min(ie.length,Xe+1))}let Pe=!1,Me=-1;if(L&&U&&U.v7_partialHydration)for(let Xe=0;Xe<ie.length;Xe++){let Be=ie[Xe];if((Be.route.HydrateFallback||Be.route.hydrateFallbackElement)&&(Me=Xe),Be.route.id){let{loaderData:tt,errors:j}=L,Y=Be.route.loader&&tt[Be.route.id]===void 0&&(!j||j[Be.route.id]===void 0);if(Be.route.lazy||Y){Pe=!0,Me>=0?ie=ie.slice(0,Me+1):ie=[ie[0]];break}}}return ie.reduceRight((Xe,Be,tt)=>{let j,Y=!1,ee=null,le=null;L&&(j=Ie&&Be.route.id?Ie[Be.route.id]:void 0,ee=Be.route.errorElement||ae,Pe&&(Me<0&&tt===0?(xr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Y=!0,le=null):Me===tt&&(Y=!0,le=Be.route.hydrateFallbackElement||null)));let $e=Z.concat(ie.slice(0,tt+1)),Ue=()=>{let A;return j?A=ee:Y?A=le:Be.route.Component?A=s.createElement(Be.route.Component,null):Be.route.element?A=Be.route.element:A=Xe,s.createElement(z,{match:Be,routeContext:{outlet:Xe,matches:$e,isDataRoute:L!=null},children:A})};return L&&(Be.route.ErrorBoundary||Be.route.errorElement||tt===0)?s.createElement(me,{location:L.location,revalidation:L.revalidation,component:ee,error:j,children:Ue(),routeContext:{outlet:null,matches:$e,isDataRoute:!0}}):Ue()},null)}var pe=function(O){return O.UseBlocker="useBlocker",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O}(pe||{}),Se=function(O){return O.UseBlocker="useBlocker",O.UseLoaderData="useLoaderData",O.UseActionData="useActionData",O.UseRouteError="useRouteError",O.UseNavigation="useNavigation",O.UseRouteLoaderData="useRouteLoaderData",O.UseMatches="useMatches",O.UseRevalidator="useRevalidator",O.UseNavigateStable="useNavigate",O.UseRouteId="useRouteId",O}(Se||{});function ce(O){return O+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we(O){let Z=s.useContext(u);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function Fe(O){let Z=s.useContext(h);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function He(O){let Z=s.useContext(y);return Z||o.UNSAFE_invariant(!1,ce(O)),Z}function at(O){let Z=He(O),L=Z.matches[Z.matches.length-1];return L.route.id||o.UNSAFE_invariant(!1,O+' can only be used on routes that contain a unique "id"'),L.route.id}function Oe(){return at(Se.UseRouteId)}function ct(){return Fe(Se.UseNavigation).navigation}function nr(){let O=we(pe.UseRevalidator),Z=Fe(Se.UseRevalidator);return s.useMemo(()=>({revalidate:O.router.revalidate,state:Z.revalidation}),[O.router.revalidate,Z.revalidation])}function bt(){let{matches:O,loaderData:Z}=Fe(Se.UseMatches);return s.useMemo(()=>O.map(L=>o.UNSAFE_convertRouteMatchToUiMatch(L,Z)),[O,Z])}function yt(){let O=Fe(Se.UseLoaderData),Z=at(Se.UseLoaderData);if(O.errors&&O.errors[Z]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+Z+")");return}return O.loaderData[Z]}function It(O){return Fe(Se.UseRouteLoaderData).loaderData[O]}function nt(){let O=Fe(Se.UseActionData),Z=at(Se.UseLoaderData);return O.actionData?O.actionData[Z]:void 0}function Ae(){var O;let Z=s.useContext(C),L=Fe(Se.UseRouteError),U=at(Se.UseRouteError);return Z!==void 0?Z:(O=L.errors)==null?void 0:O[U]}function Ct(){let O=s.useContext(p);return O==null?void 0:O._data}function zt(){let O=s.useContext(p);return O==null?void 0:O._error}let Yt=0;function $t(O){let{router:Z,basename:L}=we(pe.UseBlocker),U=Fe(Se.UseBlocker),[q,de]=s.useState(""),ie=s.useCallback(Ie=>{if(typeof O!="function")return!!O;if(L==="/")return O(Ie);let{currentLocation:Pe,nextLocation:Me,historyAction:Xe}=Ie;return O({currentLocation:d({},Pe,{pathname:o.stripBasename(Pe.pathname,L)||Pe.pathname}),nextLocation:d({},Me,{pathname:o.stripBasename(Me.pathname,L)||Me.pathname}),historyAction:Xe})},[L,O]);return s.useEffect(()=>{let Ie=String(++Yt);return de(Ie),()=>Z.deleteBlocker(Ie)},[Z]),s.useEffect(()=>{q!==""&&Z.getBlocker(q,ie)},[Z,q,ie]),q&&U.blockers.has(q)?U.blockers.get(q):o.IDLE_BLOCKER}function ir(){let{router:O}=we(pe.UseNavigateStable),Z=at(Se.UseNavigateStable),L=s.useRef(!1);return V(()=>{L.current=!0}),s.useCallback(function(q,de){de===void 0&&(de={}),o.UNSAFE_warning(L.current,F),L.current&&(typeof q=="number"?O.navigate(q):O.navigate(q,d({fromRouteId:Z},de)))},[O,Z])}let sr={};function xr(O,Z,L){!Z&&!sr[O]&&(sr[O]=!0,o.UNSAFE_warning(!1,L))}let aa=s["startTransition"];function la(O){let{fallbackElement:Z,router:L,future:U}=O,[q,de]=s.useState(L.state),{v7_startTransition:ie}=U||{},Ie=s.useCallback(Be=>{ie&&aa?aa(()=>de(Be)):de(Be)},[de,ie]);s.useLayoutEffect(()=>L.subscribe(Ie),[L,Ie]),s.useEffect(()=>{o.UNSAFE_warning(Z==null||!L.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:L.createHref,encodeLocation:L.encodeLocation,go:Be=>L.navigate(Be),push:(Be,tt,j)=>L.navigate(Be,{state:tt,preventScrollReset:j==null?void 0:j.preventScrollReset}),replace:(Be,tt,j)=>L.navigate(Be,{replace:!0,state:tt,preventScrollReset:j==null?void 0:j.preventScrollReset})}),[L]),Me=L.basename||"/",Xe=s.useMemo(()=>({router:L,navigator:Pe,static:!1,basename:Me}),[L,Pe,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:Xe},s.createElement(h.Provider,{value:q},s.createElement(Rr,{basename:Me,location:q.location,navigationType:q.historyAction,navigator:Pe,future:{v7_relativeSplatPath:L.future.v7_relativeSplatPath}},q.initialized||L.future.v7_partialHydration?s.createElement(Nr,{routes:L.routes,future:L.future,state:q}):Z))),null)}function Nr(O){let{routes:Z,future:L,state:U}=O;return fe(Z,void 0,U,L)}function Or(O){let{basename:Z,children:L,initialEntries:U,initialIndex:q,future:de}=O,ie=s.useRef();ie.current==null&&(ie.current=o.createMemoryHistory({initialEntries:U,initialIndex:q,v5Compat:!0}));let Ie=ie.current,[Pe,Me]=s.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Xe}=de||{},Be=s.useCallback(tt=>{Xe&&aa?aa(()=>Me(tt)):Me(tt)},[Me,Xe]);return s.useLayoutEffect(()=>Ie.listen(Be),[Ie,Be]),s.createElement(Rr,{basename:Z,children:L,location:Pe.location,navigationType:Pe.action,navigator:Ie,future:de})}function Ir(O){let{to:Z,replace:L,state:U,relative:q}=O;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:de,static:ie}=s.useContext(v);o.UNSAFE_warning(!ie,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Ie}=s.useContext(y),{pathname:Pe}=B(),Me=H(),Xe=o.resolveTo(Z,o.UNSAFE_getResolveToMatches(Ie,de.v7_relativeSplatPath),Pe,q==="path"),Be=JSON.stringify(Xe);return s.useEffect(()=>Me(JSON.parse(Be),{replace:L,state:U,relative:q}),[Me,Be,q,L,U]),null}function ma(O){return Ee(O.context)}function hr(O){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Rr(O){let{basename:Z="/",children:L=null,location:U,navigationType:q=o.Action.Pop,navigator:de,static:ie=!1,future:Ie}=O;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=Z.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Pe,navigator:de,static:ie,future:d({v7_relativeSplatPath:!1},Ie)}),[Pe,Ie,de,ie]);typeof U=="string"&&(U=o.parsePath(U));let{pathname:Xe="/",search:Be="",hash:tt="",state:j=null,key:Y="default"}=U,ee=s.useMemo(()=>{let le=o.stripBasename(Xe,Pe);return le==null?null:{location:{pathname:le,search:Be,hash:tt,state:j,key:Y},navigationType:q}},[Pe,Xe,Be,tt,j,Y,q]);return o.UNSAFE_warning(ee!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+Xe+Be+tt+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ee==null?null:s.createElement(v.Provider,{value:Me},s.createElement(b.Provider,{children:L,value:ee}))}function Pr(O){let{children:Z,location:L}=O;return ye(Gt(Z),L)}function ba(O){let{children:Z,errorElement:L,resolve:U}=O;return s.createElement(St,{resolve:U,errorElement:L},s.createElement(Xt,null,Z))}var ze=function(O){return O[O.pending=0]="pending",O[O.success=1]="success",O[O.error=2]="error",O}(ze||{});let dt=new Promise(()=>{});class St extends s.Component{constructor(Z){super(Z),this.state={error:null}}static getDerivedStateFromError(Z){return{error:Z}}componentDidCatch(Z,L){console.error("<Await> caught the following error during render",Z,L)}render(){let{children:Z,errorElement:L,resolve:U}=this.props,q=null,de=ze.pending;if(!(U instanceof Promise))de=ze.success,q=Promise.resolve(),Object.defineProperty(q,"_tracked",{get:()=>!0}),Object.defineProperty(q,"_data",{get:()=>U});else if(this.state.error){de=ze.error;let ie=this.state.error;q=Promise.reject().catch(()=>{}),Object.defineProperty(q,"_tracked",{get:()=>!0}),Object.defineProperty(q,"_error",{get:()=>ie})}else U._tracked?(q=U,de="_error"in q?ze.error:"_data"in q?ze.success:ze.pending):(de=ze.pending,Object.defineProperty(U,"_tracked",{get:()=>!0}),q=U.then(ie=>Object.defineProperty(U,"_data",{get:()=>ie}),ie=>Object.defineProperty(U,"_error",{get:()=>ie})));if(de===ze.error&&q._error instanceof o.AbortedDeferredError)throw dt;if(de===ze.error&&!L)throw q._error;if(de===ze.error)return s.createElement(p.Provider,{value:q,children:L});if(de===ze.success)return s.createElement(p.Provider,{value:q,children:Z});throw q}}function Xt(O){let{children:Z}=O,L=Ct(),U=typeof Z=="function"?Z(L):Z;return s.createElement(s.Fragment,null,U)}function Gt(O,Z){Z===void 0&&(Z=[]);let L=[];return s.Children.forEach(O,(U,q)=>{if(!s.isValidElement(U))return;let de=[...Z,q];if(U.type===s.Fragment){L.push.apply(L,Gt(U.props.children,de));return}U.type!==hr&&o.UNSAFE_invariant(!1,"["+(typeof U.type=="string"?U.type:U.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!U.props.index||!U.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ie={id:U.props.id||de.join("-"),caseSensitive:U.props.caseSensitive,element:U.props.element,Component:U.props.Component,index:U.props.index,path:U.props.path,loader:U.props.loader,action:U.props.action,errorElement:U.props.errorElement,ErrorBoundary:U.props.ErrorBoundary,hasErrorBoundary:U.props.ErrorBoundary!=null||U.props.errorElement!=null,shouldRevalidate:U.props.shouldRevalidate,handle:U.props.handle,lazy:U.props.lazy};U.props.children&&(ie.children=Gt(U.props.children,de)),L.push(ie)}),L}function Er(O){return ne(O)}function _r(O){let Z={hasErrorBoundary:O.ErrorBoundary!=null||O.errorElement!=null};return O.Component&&(O.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(Z,{element:s.createElement(O.Component),Component:void 0})),O.HydrateFallback&&(O.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(Z,{hydrateFallbackElement:s.createElement(O.HydrateFallback),HydrateFallback:void 0})),O.ErrorBoundary&&(O.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(Z,{errorElement:s.createElement(O.ErrorBoundary),ErrorBoundary:void 0})),Z}function qr(O,Z){return o.createRouter({basename:Z==null?void 0:Z.basename,future:d({},Z==null?void 0:Z.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:Z==null?void 0:Z.initialEntries,initialIndex:Z==null?void 0:Z.initialIndex}),hydrationData:Z==null?void 0:Z.hydrationData,routes:O,mapRouteProperties:_r,unstable_dataStrategy:Z==null?void 0:Z.unstable_dataStrategy,unstable_patchRoutesOnMiss:Z==null?void 0:Z.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=Or,r.Navigate=Ir,r.Outlet=ma,r.Route=hr,r.Router=Rr,r.RouterProvider=la,r.Routes=Pr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=v,r.UNSAFE_RouteContext=y,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Oe,r.UNSAFE_useRoutesImpl=fe,r.createMemoryRouter=qr,r.createRoutesFromChildren=Gt,r.createRoutesFromElements=Gt,r.renderMatches=Er,r.useActionData=nt,r.useAsyncError=zt,r.useAsyncValue=Ct,r.useBlocker=$t,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=yt,r.useLocation=B,r.useMatch=X,r.useMatches=bt,r.useNavigate=H,r.useNavigation=ct,r.useNavigationType=M,r.useOutlet=Ee,r.useOutletContext=oe,r.useParams=te,r.useResolvedPath=be,r.useRevalidator=nr,r.useRouteError=Ae,r.useRouteLoaderData=It,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var e5=Ge((oq,Zk)=>{"use strict";Zk.exports=Qk()});var r5=Ge((Vg,t5)=>{(function(r,a){typeof Vg=="object"&&typeof t5!="undefined"?a(Vg,pr(),e2(),e5(),h2()):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))})(Vg,function(r,a,o,l,s){"use strict";function d(L){if(L&&L.__esModule)return L;var U=Object.create(null);return L&&Object.keys(L).forEach(function(q){if(q!=="default"){var de=Object.getOwnPropertyDescriptor(L,q);Object.defineProperty(U,q,de.get?de:{enumerable:!0,get:function(){return L[q]}})}}),U.default=L,Object.freeze(U)}var u=d(a),h=d(o);function p(){return p=Object.assign?Object.assign.bind():function(L){for(var U=1;U<arguments.length;U++){var q=arguments[U];for(var de in q)Object.prototype.hasOwnProperty.call(q,de)&&(L[de]=q[de])}return L},p.apply(this,arguments)}function v(L,U){if(L==null)return{};var q={},de=Object.keys(L),ie,Ie;for(Ie=0;Ie<de.length;Ie++)ie=de[Ie],!(U.indexOf(ie)>=0)&&(q[ie]=L[ie]);return q}let b="get",y="application/x-www-form-urlencoded";function C(L){return L!=null&&typeof L.tagName=="string"}function w(L){return C(L)&&L.tagName.toLowerCase()==="button"}function k(L){return C(L)&&L.tagName.toLowerCase()==="form"}function B(L){return C(L)&&L.tagName.toLowerCase()==="input"}function M(L){return!!(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)}function X(L,U){return L.button===0&&(!U||U==="_self")&&!M(L)}function F(L){return L===void 0&&(L=""),new URLSearchParams(typeof L=="string"||Array.isArray(L)||L instanceof URLSearchParams?L:Object.keys(L).reduce((U,q)=>{let de=L[q];return U.concat(Array.isArray(de)?de.map(ie=>[q,ie]):[[q,de]])},[]))}function V(L,U){let q=F(L);return U&&U.forEach((de,ie)=>{q.has(ie)||U.getAll(ie).forEach(Ie=>{q.append(ie,Ie)})}),q}let H=null;function G(){if(H===null)try{new FormData(document.createElement("form"),0),H=!1}catch(L){H=!0}return H}let P=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function oe(L){return L!=null&&!P.has(L)?(s.UNSAFE_warning(!1,'"'+L+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+y+'"')),null):L}function Ee(L,U){let q,de,ie,Ie,Pe;if(k(L)){let Me=L.getAttribute("action");de=Me?s.stripBasename(Me,U):null,q=L.getAttribute("method")||b,ie=oe(L.getAttribute("enctype"))||y,Ie=new FormData(L)}else if(w(L)||B(L)&&(L.type==="submit"||L.type==="image")){let Me=L.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Xe=L.getAttribute("formaction")||Me.getAttribute("action");if(de=Xe?s.stripBasename(Xe,U):null,q=L.getAttribute("formmethod")||Me.getAttribute("method")||b,ie=oe(L.getAttribute("formenctype"))||oe(Me.getAttribute("enctype"))||y,Ie=new FormData(Me,L),!G()){let{name:Be,type:tt,value:j}=L;if(tt==="image"){let Y=Be?Be+".":"";Ie.append(Y+"x","0"),Ie.append(Y+"y","0")}else Be&&Ie.append(Be,j)}}else{if(C(L))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');q=b,de=null,ie=y,Pe=L}return Ie&&ie==="text/plain"&&(Pe=Ie,Ie=void 0),{action:de,method:q.toLowerCase(),encType:ie,formData:Ie,body:Pe}}let te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],be=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ye=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],fe="6";try{window.__reactRouterVersion=fe}catch(L){}function I(L,U){return s.createRouter({basename:U==null?void 0:U.basename,future:p({},U==null?void 0:U.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:U==null?void 0:U.window}),hydrationData:(U==null?void 0:U.hydrationData)||me(),routes:L,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:U==null?void 0:U.unstable_dataStrategy,unstable_patchRoutesOnMiss:U==null?void 0:U.unstable_patchRoutesOnMiss,window:U==null?void 0:U.window}).initialize()}function ae(L,U){return s.createRouter({basename:U==null?void 0:U.basename,future:p({},U==null?void 0:U.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:U==null?void 0:U.window}),hydrationData:(U==null?void 0:U.hydrationData)||me(),routes:L,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:U==null?void 0:U.unstable_dataStrategy,unstable_patchRoutesOnMiss:U==null?void 0:U.unstable_patchRoutesOnMiss,window:U==null?void 0:U.window}).initialize()}function me(){var L;let U=(L=window)==null?void 0:L.__staticRouterHydrationData;return U&&U.errors&&(U=p({},U,{errors:z(U.errors)})),U}function z(L){if(!L)return null;let U=Object.entries(L),q={};for(let[de,ie]of U)if(ie&&ie.__type==="RouteErrorResponse")q[de]=new s.UNSAFE_ErrorResponseImpl(ie.status,ie.statusText,ie.data,ie.internal===!0);else if(ie&&ie.__type==="Error"){if(ie.__subType){let Ie=window[ie.__subType];if(typeof Ie=="function")try{let Pe=new Ie(ie.message);Pe.stack="",q[de]=Pe}catch(Pe){}}if(q[de]==null){let Ie=new Error(ie.message);Ie.stack="",q[de]=Ie}}else q[de]=ie;return q}let ne=u.createContext({isTransitioning:!1});ne.displayName="ViewTransition";let pe=u.createContext(new Map);pe.displayName="Fetchers";let ce=u["startTransition"],Fe=h["flushSync"],at=u["useId"];function Oe(L){ce?ce(L):L()}function ct(L){Fe?Fe(L):L()}class nr{constructor(){this.status="pending",this.promise=new Promise((U,q)=>{this.resolve=de=>{this.status==="pending"&&(this.status="resolved",U(de))},this.reject=de=>{this.status==="pending"&&(this.status="rejected",q(de))}})}}function bt(L){let{fallbackElement:U,router:q,future:de}=L,[ie,Ie]=u.useState(q.state),[Pe,Me]=u.useState(),[Xe,Be]=u.useState({isTransitioning:!1}),[tt,j]=u.useState(),[Y,ee]=u.useState(),[le,$e]=u.useState(),Ue=u.useRef(new Map),{v7_startTransition:A}=de||{},$=u.useCallback(Ze=>{A?Oe(Ze):Ze()},[A]),he=u.useCallback((Ze,Rt)=>{let{deletedFetchers:Lt,unstable_flushSync:qt,unstable_viewTransitionOpts:Kr}=Rt;Lt.forEach(sa=>Ue.current.delete(sa)),Ze.fetchers.forEach((sa,ua)=>{sa.data!==void 0&&Ue.current.set(ua,sa.data)});let Va=q.window==null||q.window.document==null||typeof q.window.document.startViewTransition!="function";if(!Kr||Va){qt?ct(()=>Ie(Ze)):$(()=>Ie(Ze));return}if(qt){ct(()=>{Y&&(tt&&tt.resolve(),Y.skipTransition()),Be({isTransitioning:!0,flushSync:!0,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation})});let sa=q.window.document.startViewTransition(()=>{ct(()=>Ie(Ze))});sa.finished.finally(()=>{ct(()=>{j(void 0),ee(void 0),Me(void 0),Be({isTransitioning:!1})})}),ct(()=>ee(sa));return}Y?(tt&&tt.resolve(),Y.skipTransition(),$e({state:Ze,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation})):(Me(Ze),Be({isTransitioning:!0,flushSync:!1,currentLocation:Kr.currentLocation,nextLocation:Kr.nextLocation}))},[q.window,Y,tt,Ue,$]);u.useLayoutEffect(()=>q.subscribe(he),[q,he]),u.useEffect(()=>{Xe.isTransitioning&&!Xe.flushSync&&j(new nr)},[Xe]),u.useEffect(()=>{if(tt&&Pe&&q.window){let Ze=Pe,Rt=tt.promise,Lt=q.window.document.startViewTransition(()=>oa(this,null,function*(){$(()=>Ie(Ze)),yield Rt}));Lt.finished.finally(()=>{j(void 0),ee(void 0),Me(void 0),Be({isTransitioning:!1})}),ee(Lt)}},[$,Pe,tt,q.window]),u.useEffect(()=>{tt&&Pe&&ie.location.key===Pe.location.key&&tt.resolve()},[tt,Y,ie.location,Pe]),u.useEffect(()=>{!Xe.isTransitioning&&le&&(Me(le.state),Be({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}),$e(void 0))},[Xe.isTransitioning,le]),u.useEffect(()=>{s.UNSAFE_warning(U==null||!q.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:q.createHref,encodeLocation:q.encodeLocation,go:Ze=>q.navigate(Ze),push:(Ze,Rt,Lt)=>q.navigate(Ze,{state:Rt,preventScrollReset:Lt==null?void 0:Lt.preventScrollReset}),replace:(Ze,Rt,Lt)=>q.navigate(Ze,{replace:!0,state:Rt,preventScrollReset:Lt==null?void 0:Lt.preventScrollReset})}),[q]),Ye=q.basename||"/",gt=u.useMemo(()=>({router:q,navigator:ke,static:!1,basename:Ye}),[q,ke,Ye]),rt=u.useMemo(()=>({v7_relativeSplatPath:q.future.v7_relativeSplatPath}),[q.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:gt},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ie},u.createElement(pe.Provider,{value:Ue.current},u.createElement(ne.Provider,{value:Xe},u.createElement(l.Router,{basename:Ye,location:ie.location,navigationType:ie.historyAction,navigator:ke,future:rt},ie.initialized||q.future.v7_partialHydration?u.createElement(yt,{routes:q.routes,future:q.future,state:ie}):U))))),null)}let yt=u.memo(It);function It(L){let{routes:U,future:q,state:de}=L;return l.UNSAFE_useRoutesImpl(U,void 0,de,q)}function nt(L){let{basename:U,children:q,future:de,window:ie}=L,Ie=u.useRef();Ie.current==null&&(Ie.current=s.createBrowserHistory({window:ie,v5Compat:!0}));let Pe=Ie.current,[Me,Xe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Be}=de||{},tt=u.useCallback(j=>{Be&&ce?ce(()=>Xe(j)):Xe(j)},[Xe,Be]);return u.useLayoutEffect(()=>Pe.listen(tt),[Pe,tt]),u.createElement(l.Router,{basename:U,children:q,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Ae(L){let{basename:U,children:q,future:de,window:ie}=L,Ie=u.useRef();Ie.current==null&&(Ie.current=s.createHashHistory({window:ie,v5Compat:!0}));let Pe=Ie.current,[Me,Xe]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Be}=de||{},tt=u.useCallback(j=>{Be&&ce?ce(()=>Xe(j)):Xe(j)},[Xe,Be]);return u.useLayoutEffect(()=>Pe.listen(tt),[Pe,tt]),u.createElement(l.Router,{basename:U,children:q,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Ct(L){let{basename:U,children:q,future:de,history:ie}=L,[Ie,Pe]=u.useState({action:ie.action,location:ie.location}),{v7_startTransition:Me}=de||{},Xe=u.useCallback(Be=>{Me&&ce?ce(()=>Pe(Be)):Pe(Be)},[Pe,Me]);return u.useLayoutEffect(()=>ie.listen(Xe),[ie,Xe]),u.createElement(l.Router,{basename:U,children:q,location:Ie.location,navigationType:Ie.action,navigator:ie,future:de})}Ct.displayName="unstable_HistoryRouter";let zt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Yt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$t=u.forwardRef(function(U,q){let{onClick:de,relative:ie,reloadDocument:Ie,replace:Pe,state:Me,target:Xe,to:Be,preventScrollReset:tt,unstable_viewTransition:j}=U,Y=v(U,te),{basename:ee}=u.useContext(l.UNSAFE_NavigationContext),le,$e=!1;if(typeof Be=="string"&&Yt.test(Be)&&(le=Be,zt))try{let he=new URL(window.location.href),ke=Be.startsWith("//")?new URL(he.protocol+Be):new URL(Be),Ye=s.stripBasename(ke.pathname,ee);ke.origin===he.origin&&Ye!=null?Be=Ye+ke.search+ke.hash:$e=!0}catch(he){s.UNSAFE_warning(!1,'<Link to="'+Be+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ue=l.useHref(Be,{relative:ie}),A=Ir(Be,{replace:Pe,state:Me,target:Xe,preventScrollReset:tt,relative:ie,unstable_viewTransition:j});function $(he){de&&de(he),he.defaultPrevented||A(he)}return u.createElement("a",p({},Y,{href:le||Ue,onClick:$e||Ie?de:$,ref:q,target:Xe}))});$t.displayName="Link";let ir=u.forwardRef(function(U,q){let{"aria-current":de="page",caseSensitive:ie=!1,className:Ie="",end:Pe=!1,style:Me,to:Xe,unstable_viewTransition:Be,children:tt}=U,j=v(U,be),Y=l.useResolvedPath(Xe,{relative:j.relative}),ee=l.useLocation(),le=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:$e,basename:Ue}=u.useContext(l.UNSAFE_NavigationContext),A=le!=null&&Z(Y)&&Be===!0,$=$e.encodeLocation?$e.encodeLocation(Y).pathname:Y.pathname,he=ee.pathname,ke=le&&le.navigation&&le.navigation.location?le.navigation.location.pathname:null;ie||(he=he.toLowerCase(),ke=ke?ke.toLowerCase():null,$=$.toLowerCase()),ke&&Ue&&(ke=s.stripBasename(ke,Ue)||ke);let Ye=$!=="/"&&$.endsWith("/")?$.length-1:$.length,gt=he===$||!Pe&&he.startsWith($)&&he.charAt(Ye)==="/",rt=ke!=null&&(ke===$||!Pe&&ke.startsWith($)&&ke.charAt($.length)==="/"),Ze={isActive:gt,isPending:rt,isTransitioning:A},Rt=gt?de:void 0,Lt;typeof Ie=="function"?Lt=Ie(Ze):Lt=[Ie,gt?"active":null,rt?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let qt=typeof Me=="function"?Me(Ze):Me;return u.createElement($t,p({},j,{"aria-current":Rt,className:Lt,ref:q,style:qt,to:Xe,unstable_viewTransition:Be}),typeof tt=="function"?tt(Ze):tt)});ir.displayName="NavLink";let sr=u.forwardRef((L,U)=>{let{fetcherKey:q,navigate:de,reloadDocument:ie,replace:Ie,state:Pe,method:Me=b,action:Xe,onSubmit:Be,relative:tt,preventScrollReset:j,unstable_viewTransition:Y}=L,ee=v(L,ye),le=ba(),$e=ze(Xe,{relative:tt}),Ue=Me.toLowerCase()==="get"?"get":"post",A=$=>{if(Be&&Be($),$.defaultPrevented)return;$.preventDefault();let he=$.nativeEvent.submitter,ke=(he==null?void 0:he.getAttribute("formmethod"))||Me;le(he||$.currentTarget,{fetcherKey:q,method:ke,navigate:de,replace:Ie,state:Pe,relative:tt,preventScrollReset:j,unstable_viewTransition:Y})};return u.createElement("form",p({ref:U,method:Ue,action:$e,onSubmit:ie?Be:A},ee))});sr.displayName="Form";function xr(L){let{getKey:U,storageKey:q}=L;return Er({getKey:U,storageKey:q}),null}xr.displayName="ScrollRestoration";var _a=function(L){return L.UseScrollRestoration="useScrollRestoration",L.UseSubmit="useSubmit",L.UseSubmitFetcher="useSubmitFetcher",L.UseFetcher="useFetcher",L.useViewTransitionState="useViewTransitionState",L}(_a||{}),aa=function(L){return L.UseFetcher="useFetcher",L.UseFetchers="useFetchers",L.UseScrollRestoration="useScrollRestoration",L}(aa||{});function la(L){return L+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Nr(L){let U=u.useContext(l.UNSAFE_DataRouterContext);return U||s.UNSAFE_invariant(!1,la(L)),U}function Or(L){let U=u.useContext(l.UNSAFE_DataRouterStateContext);return U||s.UNSAFE_invariant(!1,la(L)),U}function Ir(L,U){let{target:q,replace:de,state:ie,preventScrollReset:Ie,relative:Pe,unstable_viewTransition:Me}=U===void 0?{}:U,Xe=l.useNavigate(),Be=l.useLocation(),tt=l.useResolvedPath(L,{relative:Pe});return u.useCallback(j=>{if(X(j,q)){j.preventDefault();let Y=de!==void 0?de:l.createPath(Be)===l.createPath(tt);Xe(L,{replace:Y,state:ie,preventScrollReset:Ie,relative:Pe,unstable_viewTransition:Me})}},[Be,Xe,tt,de,ie,q,L,Ie,Pe,Me])}function ma(L){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 U=u.useRef(F(L)),q=u.useRef(!1),de=l.useLocation(),ie=u.useMemo(()=>V(de.search,q.current?null:U.current),[de.search]),Ie=l.useNavigate(),Pe=u.useCallback((Me,Xe)=>{let Be=F(typeof Me=="function"?Me(ie):Me);q.current=!0,Ie("?"+Be,Xe)},[Ie,ie]);return[ie,Pe]}function hr(){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 Rr=0,Pr=()=>"__"+String(++Rr)+"__";function ba(){let{router:L}=Nr(_a.UseSubmit),{basename:U}=u.useContext(l.UNSAFE_NavigationContext),q=l.UNSAFE_useRouteId();return u.useCallback(function(de,ie){ie===void 0&&(ie={}),hr();let{action:Ie,method:Pe,encType:Me,formData:Xe,body:Be}=Ee(de,U);if(ie.navigate===!1){let tt=ie.fetcherKey||Pr();L.fetch(tt,q,ie.action||Ie,{preventScrollReset:ie.preventScrollReset,formData:Xe,body:Be,formMethod:ie.method||Pe,formEncType:ie.encType||Me,unstable_flushSync:ie.unstable_flushSync})}else L.navigate(ie.action||Ie,{preventScrollReset:ie.preventScrollReset,formData:Xe,body:Be,formMethod:ie.method||Pe,formEncType:ie.encType||Me,replace:ie.replace,state:ie.state,fromRouteId:q,unstable_flushSync:ie.unstable_flushSync,unstable_viewTransition:ie.unstable_viewTransition})},[L,U,q])}function ze(L,U){let{relative:q}=U===void 0?{}:U,{basename:de}=u.useContext(l.UNSAFE_NavigationContext),ie=u.useContext(l.UNSAFE_RouteContext);ie||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Ie]=ie.matches.slice(-1),Pe=p({},l.useResolvedPath(L||".",{relative:q})),Me=l.useLocation();if(L==null){Pe.search=Me.search;let Xe=new URLSearchParams(Pe.search);Xe.has("index")&&Xe.get("index")===""&&(Xe.delete("index"),Pe.search=Xe.toString()?"?"+Xe.toString():"")}return(!L||L===".")&&Ie.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),de!=="/"&&(Pe.pathname=Pe.pathname==="/"?de:s.joinPaths([de,Pe.pathname])),l.createPath(Pe)}function dt(L){var U;let{key:q}=L===void 0?{}:L,{router:de}=Nr(_a.UseFetcher),ie=Or(aa.UseFetcher),Ie=u.useContext(pe),Pe=u.useContext(l.UNSAFE_RouteContext),Me=(U=Pe.matches[Pe.matches.length-1])==null?void 0:U.route.id;Ie||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 Xe=at?at():"",[Be,tt]=u.useState(q||Xe);q&&q!==Be?tt(q):Be||tt(Pr()),u.useEffect(()=>(de.getFetcher(Be),()=>{de.deleteFetcher(Be)}),[de,Be]);let j=u.useCallback(($,he)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),de.fetch(Be,Me,$,he)},[Be,Me,de]),Y=ba(),ee=u.useCallback(($,he)=>{Y($,p({},he,{navigate:!1,fetcherKey:Be}))},[Be,Y]),le=u.useMemo(()=>{let $=u.forwardRef((he,ke)=>u.createElement(sr,p({},he,{navigate:!1,fetcherKey:Be,ref:ke})));return $.displayName="fetcher.Form",$},[Be]),$e=ie.fetchers.get(Be)||s.IDLE_FETCHER,Ue=Ie.get(Be);return u.useMemo(()=>p({Form:le,submit:ee,load:j},$e,{data:Ue}),[le,ee,j,$e,Ue])}function St(){let L=Or(aa.UseFetchers);return Array.from(L.fetchers.entries()).map(U=>{let[q,de]=U;return p({},de,{key:q})})}let Xt="react-router-scroll-positions",Gt={};function Er(L){let{getKey:U,storageKey:q}=L===void 0?{}:L,{router:de}=Nr(_a.UseScrollRestoration),{restoreScrollPosition:ie,preventScrollReset:Ie}=Or(aa.UseScrollRestoration),{basename:Pe}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),Xe=l.useMatches(),Be=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),qr(u.useCallback(()=>{if(Be.state==="idle"){let tt=(U?U(Me,Xe):null)||Me.key;Gt[tt]=window.scrollY}try{sessionStorage.setItem(q||Xt,JSON.stringify(Gt))}catch(tt){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+tt+").")}window.history.scrollRestoration="auto"},[q,U,Be.state,Me,Xe])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let tt=sessionStorage.getItem(q||Xt);tt&&(Gt=JSON.parse(tt))}catch(tt){}},[q]),u.useLayoutEffect(()=>{let tt=U&&Pe!=="/"?(Y,ee)=>U(p({},Y,{pathname:s.stripBasename(Y.pathname,Pe)||Y.pathname}),ee):U,j=de==null?void 0:de.enableScrollRestoration(Gt,()=>window.scrollY,tt);return()=>j&&j()},[de,Pe,U]),u.useLayoutEffect(()=>{if(ie!==!1){if(typeof ie=="number"){window.scrollTo(0,ie);return}if(Me.hash){let tt=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(tt){tt.scrollIntoView();return}}Ie!==!0&&window.scrollTo(0,0)}},[Me,ie,Ie]))}function _r(L,U){let{capture:q}=U||{};u.useEffect(()=>{let de=q!=null?{capture:q}:void 0;return window.addEventListener("beforeunload",L,de),()=>{window.removeEventListener("beforeunload",L,de)}},[L,q])}function qr(L,U){let{capture:q}=U||{};u.useEffect(()=>{let de=q!=null?{capture:q}:void 0;return window.addEventListener("pagehide",L,de),()=>{window.removeEventListener("pagehide",L,de)}},[L,q])}function O(L){let{when:U,message:q}=L,de=l.useBlocker(U);u.useEffect(()=>{de.state==="blocked"&&(window.confirm(q)?setTimeout(de.proceed,0):de.reset())},[de,q]),u.useEffect(()=>{de.state==="blocked"&&!U&&de.reset()},[de,U])}function Z(L,U){U===void 0&&(U={});let q=u.useContext(ne);q==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:de}=Nr(_a.useViewTransitionState),ie=l.useResolvedPath(L,{relative:U.relative});if(!q.isTransitioning)return!1;let Ie=s.stripBasename(q.currentLocation.pathname,de)||q.currentLocation.pathname,Pe=s.stripBasename(q.nextLocation.pathname,de)||q.nextLocation.pathname;return s.matchPath(ie.pathname,Pe)!=null||s.matchPath(ie.pathname,Ie)!=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=nt,r.Form=sr,r.HashRouter=Ae,r.Link=$t,r.NavLink=ir,r.RouterProvider=bt,r.ScrollRestoration=xr,r.UNSAFE_FetchersContext=pe,r.UNSAFE_ViewTransitionContext=ne,r.UNSAFE_useScrollRestoration=Er,r.createBrowserRouter=I,r.createHashRouter=ae,r.createSearchParams=F,r.unstable_HistoryRouter=Ct,r.unstable_usePrompt=O,r.unstable_useViewTransitionState=Z,r.useBeforeUnload=_r,r.useFetcher=dt,r.useFetchers=St,r.useFormAction=ze,r.useLinkClickHandler=Ir,r.useSearchParams=ma,r.useSubmit=ba,Object.defineProperty(r,"__esModule",{value:!0})})});var n5=Ge((lq,a5)=>{"use strict";a5.exports=r5()});var dr=Ge((uq,h5)=>{"use strict";var DW=Object.create,qh=Object.defineProperty,LW=Object.defineProperties,AW=Object.getOwnPropertyDescriptor,BW=Object.getOwnPropertyDescriptors,NW=Object.getOwnPropertyNames,Gg=Object.getOwnPropertySymbols,OW=Object.getPrototypeOf,v2=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,m2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Wg=Math.pow,o5=(r,a,o)=>a in r?qh(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,Gh=(r,a)=>{for(var o in a||(a={}))v2.call(a,o)&&o5(r,o,a[o]);if(Gg)for(var o of Gg(a))s5.call(a,o)&&o5(r,o,a[o]);return r},IW=(r,a)=>LW(r,BW(a)),PW=(r,a)=>{var o={};for(var l in r)v2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&Gg)for(var l of Gg(r))a.indexOf(l)<0&&s5.call(r,l)&&(o[l]=r[l]);return o},u5=(r,a)=>()=>(r&&(a=r(r=0)),a),MW=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),FW=(r,a)=>{for(var o in a)qh(r,o,{get:a[o],enumerable:!0})},c5=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of NW(a))!v2.call(r,s)&&s!==o&&qh(r,s,{get:()=>a[s],enumerable:!(l=AW(a,s))||l.enumerable});return r},zW=(r,a,o)=>(o=r!=null?DW(OW(r)):{},c5(a||!r||!r.__esModule?qh(o,"default",{value:r,enumerable:!0}):o,r)),jW=r=>c5(qh({},"__esModule",{value:!0}),r),dn=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())}),d5=function(r,a){this[0]=r,this[1]=a},HW=(r,a,o)=>{var l=(u,h,p,v)=>{try{var b=o[u](h),y=(h=b.value)instanceof d5,C=b.done;Promise.resolve(y?h[0]:h).then(w=>y?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,v):p({value:w,done:C})).catch(w=>l("throw",w,p,v))}catch(w){v(w)}},s=u=>d[u]=h=>new Promise((p,v)=>l(u,h,p,v)),d={};return o=o.apply(r,a),d[m2("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},UW=(r,a,o)=>(a=r[m2("asyncIterator")])?a.call(r):(r=r[m2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((u,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(v=>u({value:v,done:p}),h)))),o("next"),o("return"),a),f5=u5(()=>{"use strict";if(typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()}),typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(d){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")}),typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=Wg(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=Wg(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=Wg(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/Wg(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return o.length!=4||d.push(o),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)}),typeof Array!="undefined"){let r=(a,o)=>{if(!a)return;let l=a;for(let s of o){if(!l)break;l=l[s]}return l};Array.prototype.order=function(a){let{direction:o="ASC",keys:l=[],numeral:s=!1}=a,d=[];return l.length?s?d=this.sort((u,h)=>+(Number(r(u,l))>Number(r(h,l)))*2-1):d=this.sort((u,h)=>{let p=String(r(u,l)).replace(/(\d+)/g,b=>b.padStart(18,"0")),v=String(r(h,l)).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>v)*2-1}):s?d=this.sort((u,h)=>+(u>h)*2-1):d=this.sort((u,h)=>{let p=String(u).replace(/(\d+)/g,b=>b.padStart(18,"0")),v=String(h).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>v)*2-1}),o=="DESC"&&(d=d.reverse()),d},Array.prototype.getLastChild=function(){let a=this.length-1;return this[a]}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>o(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})})}),i5,Ce,Ma,Yg,iu,l5,Of=u5(()=>{"use strict";f5(),i5=r=>new Ce.prototype.jsmin(r),Ce=i5,Ce.prototype={},Ce.extend=function(r,a=Ce){for(var[o,l]of Object.entries(r))a.prototype[o]=l},Ce.uuid={gen128Binary:()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("").toUpperCase(),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},gen:(r=32)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35;return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)]}).join("").toUpper(),to32Format:r=>(r=[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-"),r)},Ce.expando="__jsmin_"+Ce.uuid.gen(),Ma=(r,a)=>(r.queue.push(a),Yg(r),r),Yg=r=>dn(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,Yg(r)}}),iu=(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},l5=(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,Yg(r),r},Ce.extend({constructor:Ce,jsmin:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],l5(this,Ce.is.jsmin(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.jsmin.prototype=Ce.prototype;{let r=function(s,d,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,u)=>{if(!(Ce.is.element(d)||Ce.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[u]=h}),s),o=(s,d)=>(Ce(d).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.jsmin(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)}}),d),l=(s,d,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(v=>{if(Ce.is.string(u[0]))v.insertAdjacentHTML(h,u[0]);else{if(!v.parentNode)return;Ce(u[0]).for(b=>{u[1]&&(b=b.cloneNode(!0)),v.parentNode.insertBefore(b,v[p]||v)})}}),s};Ce.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let u=r(this,(h,p)=>s(h,p),1);return d?u:[]},await:function(s){return Ma(this,()=>new Promise((d,u)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ma(this,()=>dn(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ma(this,()=>dn(this,null,function*(){return yield s(this),this}))},click:function(){return Ma(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.click()}return this})},focus:function(){return Ma(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ma(this,()=>{let{eventType:d,eventID:u=Ce.uuid.gen(32),target:h,callback:p,options:v}=s;return v=Gh({passive:!0,capture:!1},v),this.for(b=>{if(!(Ce.is.element(b)||Ce.is.shadowRoot(b)))return;let{events:y}=b[Ce.expando];if(h){let C=p;p=w=>{if(w.target){if(Ce.is.string(h)){let k=w.target.closest(h);k&&(!k||C.call(k,w))}else if(Ce.is.elements(h)){for(let k of h)if(w.target==k)return C.call(k,w)}}}}if(y[u]){let C=y[u];b.removeEventListener(C.eventType,C.callback,C.options)}y[u]={eventType:d,callback:p,options:v},b.addEventListener(d,p,v)}),this})},removeEvent:function(s){return Ma(this,()=>{let d=Ce.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Ce.expando];for(let p of d){let v=h[p];v&&u.removeEventListener(v.eventType,v.callback,v.options)}}),this})},html:function(s){return Ma(this,()=>iu(this,o(s,a(this))))},empty:function(){return Ma(this,()=>iu(this,a(this)))},append:function(s){return Ma(this,()=>{o(s,this)})},remove:function(){return Ma(this,()=>(this.for((s,d)=>{s&&Ce.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ma(this,()=>iu(this,l(this,"before",...s)))},after:function(...s){return Ma(this,()=>iu(this,l(this,"after",...s)))},find:function(s){return Ma(this,()=>{let d=[],u=this[0];u||iu(this,Ce()),(Ce.is.element(u)||Ce.is.shadowRoot(u))&&(Ce.is.string(s)?d=u.querySelectorAll(s):Ce.is.element(u)&&Ce(s).for(h=>{let p=u.childNodes;for(let v of p)if(v===h){d.push(v);break}else v.childNodes.length&&(d=[...d,...Ce(v).find(h).for(b=>b)])})),iu(this,Ce(d))})},parent:function(s){return Ma(this,()=>{var d,u;let h=Ce(s?(d=this[0])==null?void 0:d.closest(s):(u=this[0])==null?void 0:u.parentNode);iu(this,h)})},children:function(s){return Ma(this,()=>{let d=this[0].children;Ce.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let u=Ce(d);return iu(this,u)})},addClass:function(s){return Ma(this,()=>(s&&this.for(d=>{let u=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.add(...u)}),this))},removeClass:function(s){return Ma(this,()=>(s&&this.for(d=>{let u=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.remove(...u)}),this))},toggleClass:function(s){return Ma(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(u=>u.match(s))),d},css:function(s){return Ma(this,()=>(this.for(d=>{if(Ce.is.element(d))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/)){d.style[u]=h+"px";continue}d.style[u]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ma(this,()=>(this.for(u=>u.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&Ce.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let u=this[0];return u&&Ce.is.element(u)&&u.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}{Ce.flatArray=(a,o)=>{if(!Ce.is.array(a))return[a];let l=[];for(let s of a)l.push(...o=="-R"?Ce.flatArray(s,"-R"):[s]);return l},Ce.JsonTo=a=>JSON.stringify(a),Ce.toJson=a=>{let o;try{o={ok:!0,body:JSON.parse(a)}}catch(l){o={ok:!1,body:l}}return o},Ce.scope=a=>a(),Ce.randomNumber=(a=0,o=100,l)=>{if(a>o)return NaN;let s=[],d=a;for(;d<=o;){if(l&&l.length&&l.includes(d)){d++;continue}s.push(d),d++}let u=Math.round(Math.random()*(s.length-1))+0;return s[u]};let r={};Ce.interval={standBy:(a,o,l)=>{r[a]=setTimeout(l,o)},clear:a=>{clearInterval(r[a])}}}Ce.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:d,attr:u,style:h,parent:p}=r,v=document.createElement(o||"div");if(l&&v.classList.add(...l.split(" ")),s&&(v.id=s),u)for(let C of Object.entries(u)){let w=C[0],k=(a=C[1])!=null?a:"";if(w=="data"&&Ce.is.keyValueDictionary(k))for(let[B,M]of Object.entries(k))v.dataset[B]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),v[w]=k}if(d&&Ce(v).append(d),h)for(var[b,y]of Object.entries(h))v.style[b]=y;return p&&Ce(p).append(v),v},Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:d="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${d}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.setLocalStrageData=(r,a)=>{localStorage.setItem(r,JSON.stringify(a))},Ce.getLocalStrageData=r=>{let a=localStorage.getItem(r),o=Ce.toJson(a);return o.ok?o.body:a},Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"},Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:d}=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:d,safeAreaTop:u,safeAreaBottom:h}},Ce.getCursor=r=>{var a,o,l,s,d,u,h,p;let v=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:v,y:b}},Ce.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)}),Ce.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a},Ce.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]||"IP UNDEFINED"},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.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={what:function(r){let a="other";return this.jsmin(r)?a="jsmin":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)},jsmin: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.jsmin(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())}}}),VW=MW(r=>{"use strict";Of(),Ce.copyToClipboard=a=>dn(r,null,function*(){let o="";Ce.is.string(a)?o=a:Ce.is.function(a)&&(o=a());let l={ok:!1,body:"NotSupported"};return yield dn(r,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(o).then(()=>!0,()=>!1),!s)return}else{let d=document.createElement("input");if(Ce(document.body).append(d),d.value=o,d.select(),s=document.execCommand("copy"),document.body.removeChild(d),!s)return}l={ok:!0,body:""}}),l}),Ce.getCurrentLocation=()=>new Promise((a,o)=>{navigator.geolocation.getCurrentPosition(l=>{let{latitude:s,longitude:d}=l.coords;a({ok:!0,status:200,body:{lat:s,lng:d}})},l=>{a({ok:!1,status:500,body:{reason:l}})})}),Ce.ImageLoader=(a,o)=>new Promise((l,s)=>{let d=o||new Image;d.onload=()=>l(d),d.onerror=u=>s(u),d.src=a})}),p5={};FW(p5,{Fetcher:()=>$r,Filer:()=>$g,Time:()=>Fa,default:()=>YW});h5.exports=jW(p5);f5();Of();Of();var WW=r=>new Fa.prototype.time(r),Fa=WW;Fa.prototype={};var lu=function(r,a){r.value=a;let o=Ce.is.date(a);if(r.validate=o,!o)return r.ms=-1,r.year=-1,r.month=-1,r.weekday=-1,r.weekInYear=-1,r.date=-1,r.hours=-1,r.minutes=-1,r.seconds=-1,r;r.ms=a.getTime(),r.weekday=a.getDay(),r.year=a.getFullYear(),r.month=a.getMonth()+1,r.date=a.getDate();{let l=new Date(r.year,0,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),u=Math.ceil(d/(1e3*60*60*24));r.weekInYear=Math.ceil(u/7)}{let l=new Date(r.year,r.month-1,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),u=Math.ceil(d/(1e3*60*60*24)),h=Math.ceil(u/7);r.weekInMonth=h}{let l=new Date(r.year,r.month,0),s=l.getDay(),d=new Date(new Date(l).setDate(l.getDate()-s));r.isLastWeekInMonth=r.date>=d.getDate()}return r.hours=a.getHours(),r.minutes=a.getMinutes(),r.seconds=a.getSeconds(),r};Ce.extend({constructor:Fa,time:function(r){Fa.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return lu(this,a)}},Fa);Fa.prototype.time.prototype=Fa.prototype;Fa.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Fa};Fa.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Fa(a+" 00:00")};Fa.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=Fa(s).addYear(1):r=="month"?s=Fa(s).addMonth(1):r=="week"?s=Fa(s).addWeek(1):r=="day"?s=Fa(s).addDate(1):r=="hours"?s=Fa(s).addHours(1):r=="minutes"?s=Fa(s).addMinutes(1):r=="seconds"&&(s=Fa(s).addSeconds(1));return l};Ce.extend({setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),lu(this,a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),lu(this,a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),lu(this,a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),lu(this,a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),lu(this,a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),lu(this,a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),lu(this,a)},setMidnight:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),lu(this,r)},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)},isSameYear:function(r){let a=Ce.Time(r);return this.year==a.year},isSameMonth:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Ce.Time(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},getFirstDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||Ce.Time(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Fa);Ce.Time=Fa;Of();var $r=(r,a)=>new $r.prototype.instance(r,a);$r.prototype={};$r.waitList=[];$r.setDefaultTrafficControl=0;$r.setDefaultTimeout=1e3*60*10;$r.isReadableStream=r=>r instanceof ReadableStream;$r.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;$r.streamToContext=(r,a)=>dn(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!$r.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}}});Ce.extend({constructor:$r,instance:function(r,a){var o;a=a||{};let l=a.body;a.body&&!Ce.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=JSON.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=IW(Gh({key:Ce.uuid.gen(16),response_format:"json",timeout:$r.setDefaultTimeout,trafficControl:$r.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Gh(Gh({"Content-Type":"application/json"},$r.setDefaultHeaders&&$r.setDefaultHeaders()),a.headers),body:l}),this},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return dn(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:d}=r,u=a.body,h=this,p=function(){return HW(this,null,function*(){if(!a.ok){Ce.scope(()=>dn(this,null,function*(){let{ok:k,done:B,data:M}=yield $r.streamToContext(u,{reader:s,decoder:d});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:B,data:M}=yield new d5($r.streamToContext(u,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),B=!0):h.streamStatus=="closed"&&(B=!0),B&&(w=B,s.releaseLock()),l(M,B)}})};try{for(var v=UW(p()),b,y,C;b=!(y=yield v.next()).done;b=!1){let w=y.value}}catch(w){C=[w]}finally{try{b&&(y=v.return)&&(yield y.call(v))}finally{if(C)throw C[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 dn(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let u=!1,h=500,p="InternalServerError",v={},b=null;try{$r.setDefaultOnStart&&$r.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let C=a,{key:w,response_format:k,trafficControl:B,preventMultiRequest:M,timeout:X,queries:F}=C,V=PW(C,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);V.method=this.method;let H=$r.waitList.includes(w);if(M&&H)throw h=429,new Error("TooManyRequests");$r.waitList=[...$r.waitList,w];let G=Ce.queryParams.set(Gh({},F),String(this.url));v=yield fetch(G,V).then(P=>dn(this,null,function*(){return u=P.ok,h=P.status,p=P.statusText,b=P,k=="none"||k=="stream"?P:P[k]()})).catch(P=>{throw new Error(P)})}catch(C){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(C)||p),v={errorCode:String(C)}}finally{clearTimeout(d),l=performance.now()-o}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),setTimeout(()=>{$r.waitList.splice($r.waitList.findIndex(C=>C==a.key),1)},100);let y={ok:u,status:h,statusText:p,body:v,requestTime:l,rawData:b};if(!u&&this.onErrorCB&&this.onErrorCB(y.body),u&&this.onStreamCB&&a.response_format=="stream"){let C=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:y,reader:C,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(y.body),this.onResultCB&&this.onResultCB(y,a),$r.setDefaultOnEnd&&$r.setDefaultOnEnd(y,a),y})},abortStream:function(){this.streamStatus="abort"}},$r);$r.prototype.instance.prototype=$r.prototype;Of();var Es=r=>new Es.prototype.instance(r);Es.prototype={};Ce.extend({constructor:Es,instance: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},isValid:function(){return this.ok},toBlob:function(){return dn(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return dn(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return dn(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return dn(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}},Es);Es.prototype.instance.prototype=Es.prototype;var $g={fromFile:r=>dn(void 0,null,function*(){return Es(r)}),fromBlob:(r,a)=>dn(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 Es(s)}),fromArrayBuffer:(r,a)=>dn(void 0,null,function*(){return $g.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)}),fromObjectURL:(r,a)=>dn(void 0,null,function*(){let o=yield $r(r,{response_format:"blob"}).get();return o.ok?$g.fromBlob(o.body,a):Es({})}),fromDataURL:(r,a)=>dn(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?$g.fromBlob(o,a):Es({})})};Of();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:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:d,To:u,name:h}=s;if(d<=r&&r<=u){let p=r-d+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};var sq=zW(VW());$r.setDefaultHeaders=()=>({});var YW=Ce});var b5=Ge(Xg=>{"use strict";(function(){"use strict";var r=pr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,B="@@iterator";function M(A){if(A===null||typeof A!="object")return null;var $=k&&A[k]||A[B];return typeof $=="function"?$:null}var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(A){{for(var $=arguments.length,he=new Array($>1?$-1:0),ke=1;ke<$;ke++)he[ke-1]=arguments[ke];V("error",A,he)}}function V(A,$,he){{var ke=X.ReactDebugCurrentFrame,Ye=ke.getStackAddendum();Ye!==""&&($+="%s",he=he.concat([Ye]));var gt=he.map(function(rt){return String(rt)});gt.unshift("Warning: "+$),Function.prototype.apply.call(console[A],console,gt)}}var H=!1,G=!1,P=!1,oe=!1,Ee=!1,te;te=Symbol.for("react.module.reference");function be(A){return!!(typeof A=="string"||typeof A=="function"||A===l||A===d||Ee||A===s||A===v||A===b||oe||A===w||H||G||P||typeof A=="object"&&A!==null&&(A.$$typeof===C||A.$$typeof===y||A.$$typeof===u||A.$$typeof===h||A.$$typeof===p||A.$$typeof===te||A.getModuleId!==void 0))}function ye(A,$,he){var ke=A.displayName;if(ke)return ke;var Ye=$.displayName||$.name||"";return Ye!==""?he+"("+Ye+")":he}function fe(A){return A.displayName||"Context"}function I(A){if(A==null)return null;if(typeof A.tag=="number"&&F("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 d:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case h:var $=A;return fe($)+".Consumer";case u:var he=A;return fe(he._context)+".Provider";case p:return ye(A,A.render,"ForwardRef");case y:var ke=A.displayName||null;return ke!==null?ke:I(A.type)||"Memo";case C:{var Ye=A,gt=Ye._payload,rt=Ye._init;try{return I(rt(gt))}catch(Ze){return null}}}return null}var ae=Object.assign,me=0,z,ne,pe,Se,ce,we,Fe;function He(){}He.__reactDisabledLog=!0;function at(){{if(me===0){z=console.log,ne=console.info,pe=console.warn,Se=console.error,ce=console.group,we=console.groupCollapsed,Fe=console.groupEnd;var A={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}me++}}function Oe(){{if(me--,me===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ae({},A,{value:z}),info:ae({},A,{value:ne}),warn:ae({},A,{value:pe}),error:ae({},A,{value:Se}),group:ae({},A,{value:ce}),groupCollapsed:ae({},A,{value:we}),groupEnd:ae({},A,{value:Fe})})}me<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ct=X.ReactCurrentDispatcher,nr;function bt(A,$,he){{if(nr===void 0)try{throw Error()}catch(Ye){var ke=Ye.stack.trim().match(/\n( *(at )?)/);nr=ke&&ke[1]||""}return`
150
150
  `+nr+A}}var yt=!1,It;{var nt=typeof WeakMap=="function"?WeakMap:Map;It=new nt}function Ae(A,$){if(!A||yt)return"";{var he=It.get(A);if(he!==void 0)return he}var ke;yt=!0;var Ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var gt;gt=ct.current,ct.current=null,at();try{if($){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(ua){ke=ua}Reflect.construct(A,[],rt)}else{try{rt.call()}catch(ua){ke=ua}A.call(rt.prototype)}}else{try{throw Error()}catch(ua){ke=ua}A()}}catch(ua){if(ua&&ke&&typeof ua.stack=="string"){for(var Ze=ua.stack.split(`
151
151
  `),Rt=ke.stack.split(`
152
152
  `),Lt=Ze.length-1,qt=Rt.length-1;Lt>=1&&qt>=0&&Ze[Lt]!==Rt[qt];)qt--;for(;Lt>=1&&qt>=0;Lt--,qt--)if(Ze[Lt]!==Rt[qt]){if(Lt!==1||qt!==1)do if(Lt--,qt--,qt<0||Ze[Lt]!==Rt[qt]){var Kr=`
153
- `+Ze[Lt].replace(" at new "," at ");return A.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",A.displayName)),typeof A=="function"&&It.set(A,Kr),Kr}while(Lt>=1&&qt>=0);break}}}finally{yt=!1,ct.current=gt,Oe(),Error.prepareStackTrace=Ye}var Va=A?A.displayName||A.name:"",sa=Va?bt(Va):"";return typeof A=="function"&&It.set(A,sa),sa}function Ct(A,$,he){return Ae(A,!1)}function zt(A){var $=A.prototype;return!!($&&$.isReactComponent)}function Yt(A,$,he){if(A==null)return"";if(typeof A=="function")return Ae(A,zt(A));if(typeof A=="string")return bt(A);switch(A){case v:return bt("Suspense");case b:return bt("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case p:return Ct(A.render);case y:return Yt(A.type,$,he);case C:{var ke=A,Ye=ke._payload,gt=ke._init;try{return Yt(gt(Ye),$,he)}catch(rt){}}}return""}var $t=Object.prototype.hasOwnProperty,ir={},sr=X.ReactDebugCurrentFrame;function xr(A){if(A){var $=A._owner,he=Yt(A.type,A._source,$?$.type:null);sr.setExtraStackFrame(he)}else sr.setExtraStackFrame(null)}function _a(A,$,he,ke,Ye){{var gt=Function.call.bind($t);for(var rt in A)if(gt(A,rt)){var Ze=void 0;try{if(typeof A[rt]!="function"){var Rt=Error((ke||"React class")+": "+he+" type `"+rt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[rt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Rt.name="Invariant Violation",Rt}Ze=A[rt]($,rt,ke,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Lt){Ze=Lt}Ze&&!(Ze instanceof Error)&&(xr(Ye),F("%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).",ke||"React class",he,rt,typeof Ze),xr(null)),Ze instanceof Error&&!(Ze.message in ir)&&(ir[Ze.message]=!0,xr(Ye),F("Failed %s type: %s",he,Ze.message),xr(null))}}}var aa=Array.isArray;function la(A){return aa(A)}function Br(A){{var $=typeof Symbol=="function"&&Symbol.toStringTag,he=$&&A[Symbol.toStringTag]||A.constructor.name||"Object";return he}}function Nr(A){try{return Or(A),!1}catch($){return!0}}function Or(A){return""+A}function ma(A){if(Nr(A))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Br(A)),Or(A)}var hr=X.ReactCurrentOwner,Rr={key:!0,ref:!0,__self:!0,__source:!0},Ir,ba,ze;ze={};function dt(A){if($t.call(A,"ref")){var $=Object.getOwnPropertyDescriptor(A,"ref").get;if($&&$.isReactWarning)return!1}return A.ref!==void 0}function St(A){if($t.call(A,"key")){var $=Object.getOwnPropertyDescriptor(A,"key").get;if($&&$.isReactWarning)return!1}return A.key!==void 0}function Xt(A,$){if(typeof A.ref=="string"&&hr.current&&$&&hr.current.stateNode!==$){var he=I(hr.current.type);ze[he]||(F('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',I(hr.current.type),A.ref),ze[he]=!0)}}function Gt(A,$){{var he=function(){Ir||(Ir=!0,F("%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)",$))};he.isReactWarning=!0,Object.defineProperty(A,"key",{get:he,configurable:!0})}}function Er(A,$){{var he=function(){ba||(ba=!0,F("%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)",$))};he.isReactWarning=!0,Object.defineProperty(A,"ref",{get:he,configurable:!0})}}var _r=function(A,$,he,ke,Ye,gt,rt){var Ze={$$typeof:a,type:A,key:$,ref:he,props:rt,_owner:gt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ye}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function qr(A,$,he,ke,Ye){{var gt,rt={},Ze=null,Rt=null;he!==void 0&&(ma(he),Ze=""+he),St($)&&(ma($.key),Ze=""+$.key),dt($)&&(Rt=$.ref,Xt($,Ye));for(gt in $)$t.call($,gt)&&!Rr.hasOwnProperty(gt)&&(rt[gt]=$[gt]);if(A&&A.defaultProps){var Lt=A.defaultProps;for(gt in Lt)rt[gt]===void 0&&(rt[gt]=Lt[gt])}if(Ze||Rt){var qt=typeof A=="function"?A.displayName||A.name||"Unknown":A;Ze&&Gt(rt,qt),Rt&&Er(rt,qt)}return _r(A,Ze,Rt,Ye,ke,hr.current,rt)}}var O=X.ReactCurrentOwner,Z=X.ReactDebugCurrentFrame;function L(A){if(A){var $=A._owner,he=Yt(A.type,A._source,$?$.type:null);Z.setExtraStackFrame(he)}else Z.setExtraStackFrame(null)}var U;U=!1;function q(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function de(){{if(O.current){var A=I(O.current.type);if(A)return`
153
+ `+Ze[Lt].replace(" at new "," at ");return A.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",A.displayName)),typeof A=="function"&&It.set(A,Kr),Kr}while(Lt>=1&&qt>=0);break}}}finally{yt=!1,ct.current=gt,Oe(),Error.prepareStackTrace=Ye}var Va=A?A.displayName||A.name:"",sa=Va?bt(Va):"";return typeof A=="function"&&It.set(A,sa),sa}function Ct(A,$,he){return Ae(A,!1)}function zt(A){var $=A.prototype;return!!($&&$.isReactComponent)}function Yt(A,$,he){if(A==null)return"";if(typeof A=="function")return Ae(A,zt(A));if(typeof A=="string")return bt(A);switch(A){case v:return bt("Suspense");case b:return bt("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case p:return Ct(A.render);case y:return Yt(A.type,$,he);case C:{var ke=A,Ye=ke._payload,gt=ke._init;try{return Yt(gt(Ye),$,he)}catch(rt){}}}return""}var $t=Object.prototype.hasOwnProperty,ir={},sr=X.ReactDebugCurrentFrame;function xr(A){if(A){var $=A._owner,he=Yt(A.type,A._source,$?$.type:null);sr.setExtraStackFrame(he)}else sr.setExtraStackFrame(null)}function _a(A,$,he,ke,Ye){{var gt=Function.call.bind($t);for(var rt in A)if(gt(A,rt)){var Ze=void 0;try{if(typeof A[rt]!="function"){var Rt=Error((ke||"React class")+": "+he+" type `"+rt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[rt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Rt.name="Invariant Violation",Rt}Ze=A[rt]($,rt,ke,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Lt){Ze=Lt}Ze&&!(Ze instanceof Error)&&(xr(Ye),F("%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).",ke||"React class",he,rt,typeof Ze),xr(null)),Ze instanceof Error&&!(Ze.message in ir)&&(ir[Ze.message]=!0,xr(Ye),F("Failed %s type: %s",he,Ze.message),xr(null))}}}var aa=Array.isArray;function la(A){return aa(A)}function Nr(A){{var $=typeof Symbol=="function"&&Symbol.toStringTag,he=$&&A[Symbol.toStringTag]||A.constructor.name||"Object";return he}}function Or(A){try{return Ir(A),!1}catch($){return!0}}function Ir(A){return""+A}function ma(A){if(Or(A))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nr(A)),Ir(A)}var hr=X.ReactCurrentOwner,Rr={key:!0,ref:!0,__self:!0,__source:!0},Pr,ba,ze;ze={};function dt(A){if($t.call(A,"ref")){var $=Object.getOwnPropertyDescriptor(A,"ref").get;if($&&$.isReactWarning)return!1}return A.ref!==void 0}function St(A){if($t.call(A,"key")){var $=Object.getOwnPropertyDescriptor(A,"key").get;if($&&$.isReactWarning)return!1}return A.key!==void 0}function Xt(A,$){if(typeof A.ref=="string"&&hr.current&&$&&hr.current.stateNode!==$){var he=I(hr.current.type);ze[he]||(F('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',I(hr.current.type),A.ref),ze[he]=!0)}}function Gt(A,$){{var he=function(){Pr||(Pr=!0,F("%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)",$))};he.isReactWarning=!0,Object.defineProperty(A,"key",{get:he,configurable:!0})}}function Er(A,$){{var he=function(){ba||(ba=!0,F("%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)",$))};he.isReactWarning=!0,Object.defineProperty(A,"ref",{get:he,configurable:!0})}}var _r=function(A,$,he,ke,Ye,gt,rt){var Ze={$$typeof:a,type:A,key:$,ref:he,props:rt,_owner:gt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ye}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function qr(A,$,he,ke,Ye){{var gt,rt={},Ze=null,Rt=null;he!==void 0&&(ma(he),Ze=""+he),St($)&&(ma($.key),Ze=""+$.key),dt($)&&(Rt=$.ref,Xt($,Ye));for(gt in $)$t.call($,gt)&&!Rr.hasOwnProperty(gt)&&(rt[gt]=$[gt]);if(A&&A.defaultProps){var Lt=A.defaultProps;for(gt in Lt)rt[gt]===void 0&&(rt[gt]=Lt[gt])}if(Ze||Rt){var qt=typeof A=="function"?A.displayName||A.name||"Unknown":A;Ze&&Gt(rt,qt),Rt&&Er(rt,qt)}return _r(A,Ze,Rt,Ye,ke,hr.current,rt)}}var O=X.ReactCurrentOwner,Z=X.ReactDebugCurrentFrame;function L(A){if(A){var $=A._owner,he=Yt(A.type,A._source,$?$.type:null);Z.setExtraStackFrame(he)}else Z.setExtraStackFrame(null)}var U;U=!1;function q(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function de(){{if(O.current){var A=I(O.current.type);if(A)return`
154
154
 
155
155
  Check the render method of \``+A+"`."}return""}}function ie(A){{if(A!==void 0){var $=A.fileName.replace(/^.*[\\\/]/,""),he=A.lineNumber;return`
156
156
 
@@ -923,7 +923,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
923
923
  }`;L5=!1;CY={mixout:function(){return{dom:{css:iE,insertCss:g2}}},hooks:function(){return{beforeDOMElementCreation:function(){g2()},beforeI2svg:function(){g2()}}}},cu=lc||{};cu[uu]||(cu[uu]={});cu[uu].styles||(cu[uu].styles={});cu[uu].hooks||(cu[uu].hooks={});cu[uu].shims||(cu[uu].shims=[]);Ql=cu[uu],lE=[],xY=function r(){wa.removeEventListener("DOMContentLoaded",r),u_=1,lE.map(function(a){return a()})},u_=!1;fu&&(u_=(wa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(wa.readyState),u_||wa.addEventListener("DOMContentLoaded",xY));kY=function(a,o){return function(l,s,d,u){return a.call(o,l,s,d,u)}},_2=function(a,o,l,s){var d=Object.keys(a),u=d.length,h=s!==void 0?kY(o,s):o,p,v,b;for(l===void 0?(p=1,b=a[d[0]]):(p=0,b=l);p<u;p++)v=d[p],b=h(b,a[v],v,a);return b};Pf=Ql.styles,DY=Ql.shims,LY=(a_={},fn(a_,Sa,Object.values(rm[Sa])),fn(a_,za,Object.values(rm[za])),a_),z2=null,sE={},uE={},cE={},dE={},fE={},AY=(n_={},fn(n_,Sa,Object.keys(em[Sa])),fn(n_,za,Object.keys(em[za])),n_);pE=function(){var a=function(d){return _2(Pf,function(u,h,p){return u[p]=_2(h,d,{}),u},{})};sE=a(function(s,d,u){if(d[3]&&(s[d[3]]=u),d[2]){var h=d[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=u})}return s}),uE=a(function(s,d,u){if(s[u]=u,d[2]){var h=d[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=u})}return s}),fE=a(function(s,d,u){var h=d[2];return s[u]=u,h.forEach(function(p){s[p]=u}),s});var o="far"in Pf||Dt.autoFetchSvg,l=_2(DY,function(s,d){var u=d[0],h=d[1],p=d[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:{}});cE=l.names,dE=l.unicodes,z2=f_(Dt.styleDefault,{family:Dt.familyDefault})};vY(function(r){z2=f_(r.styleDefault,{family:Dt.familyDefault})});pE();H2=function(){return{prefix:null,iconName:null,rest:[]}};N5=(o_={},fn(o_,Sa,Object.keys(rm[Sa])),fn(o_,za,Object.keys(rm[za])),o_);PY=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),d=0;d<l;d++)s[d]=arguments[d];var u=s.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=wt(wt({},o.definitions[h]||{}),u[h]),T2(h,u[h]);var p=rm[Sa][h];p&&T2(p,u[h]),pE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(d){var u=s[d],h=u.prefix,p=u.iconName,v=u.icon,b=v[2];o[h]||(o[h]={}),b.length>0&&b.forEach(function(y){typeof y=="string"&&(o[h][y]=v)}),o[h][p]=v}),o}}]),r}(),O5=[],Mf={},Ff={},MY=Object.keys(Ff);mE=new PY,zY=function(){Dt.autoReplaceSvg=!1,Dt.observeMutations=!1,ld("noAuto")},jY={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fu?(ld("beforeI2svg",a),du("pseudoElements2svg",a),du("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;Dt.autoReplaceSvg===!1&&(Dt.autoReplaceSvg=!0),Dt.observeMutations=!0,TY(function(){UY({autoReplaceSvgRoot:o}),ld("watch",a)})}},HY={icon:function(a){if(a===null)return null;if(s_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:od(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=f_(a[0]);return{prefix:l,iconName:od(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(Dt.cssPrefix,"-"))>-1||a.match(sY))){var s=p_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||sc(),iconName:od(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var d=sc();return{prefix:d,iconName:od(d,a)||a}}}},Lo={noAuto:zY,config:Dt,dom:jY,parse:HY,library:mE,findIconDefinition:E2,toHtml:lm},UY=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?wa:o;(Object.keys(Ql.styles).length>0||Dt.autoFetchSvg)&&fu&&Dt.autoReplaceSvg&&Lo.dom.i2svg({node:l})};b2=Ql.styles;$Y={found:!1,width:512,height:512};P5=function(){},L2=Dt.measurePerformance&&Jg&&Jg.mark&&Jg.measure?Jg:{mark:P5,measure:P5},Jh='FA "6.4.2"',qY=function(a){return L2.mark("".concat(Jh," ").concat(a," begins")),function(){return vE(a)}},vE=function(a){L2.mark("".concat(Jh," ").concat(a," ends")),L2.measure("".concat(Jh," ").concat(a),"".concat(Jh," ").concat(a," begins"),"".concat(Jh," ").concat(a," ends"))},V2={begin:qY,end:vE},i_=function(){};l_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(gE(s),o)}),o.getAttribute(id)===null&&Dt.keepOriginalSource){var l=wa.createComment(e$(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~M2(o).indexOf(Dt.replacementClass))return l_.replace(a);var s=new RegExp("".concat(Dt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var d=l[0].attributes.class.split(" ").reduce(function(h,p){return p===Dt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",d.toNode.join(" "))}var u=l.map(function(h){return lm(h)}).join(`
924
924
  `);o.setAttribute(id,""),o.innerHTML=u}};W2=!1;c_=null;i$=Ql.styles;uc=new Set;P2.map(function(r){uc.add("fa-".concat(r))});Object.keys(em[Sa]).map(uc.add.bind(uc));Object.keys(em[za]).map(uc.add.bind(uc));uc=om(uc);u$=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Rs:l,d=o.symbol,u=d===void 0?!1:d,h=o.mask,p=h===void 0?null:h,v=o.maskId,b=v===void 0?null:v,y=o.title,C=y===void 0?null:y,w=o.titleId,k=w===void 0?null:w,B=o.classes,M=B===void 0?[]:B,X=o.attributes,F=X===void 0?{}:X,V=o.styles,H=V===void 0?{}:V;if(a){var G=a.prefix,P=a.iconName,oe=a.icon;return h_(wt({type:"icon"},a),function(){return ld("beforeDOMElementCreation",{iconDefinition:a,params:o}),Dt.autoA11y&&(C?F["aria-labelledby"]="".concat(Dt.replacementClass,"-title-").concat(k||nm()):(F["aria-hidden"]="true",F.focusable="false")),U2({icons:{main:R2(oe),mask:p?R2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:G,iconName:P,transform:wt(wt({},Rs),s),symbol:u,title:C,maskId:b,titleId:k,extra:{attributes:F,styles:H,classes:M}})})}},c$={mixout:function(){return{icon:s$(u$)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=H5,o.nodeCallback=l$,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?wa:l,d=o.callback,u=d===void 0?function(){}:d;return H5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,d=l.title,u=l.titleId,h=l.prefix,p=l.transform,v=l.symbol,b=l.mask,y=l.maskId,C=l.extra;return new Promise(function(w,k){Promise.all([D2(s,h),b.iconName?D2(b.iconName,b.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(B){var M=B2(B,2),X=M[0],F=M[1];w([o,U2({icons:{main:X,mask:F},prefix:h,iconName:s,transform:p,symbol:v,maskId:y,title:d,titleId:u,extra:C,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,d=o.main,u=o.transform,h=o.styles,p=d_(h);p.length>0&&(s.style=p);var v;return F2(u)&&(v=du("generateAbstractTransformGrouping",{main:d,transform:u,containerWidth:d.width,iconWidth:d.width})),l.push(v||d.icon),{children:l,attributes:s}}}},d$={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,d=s===void 0?[]:s;return h_({type:"layer"},function(){ld("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(Dt.cssPrefix,"-layers")].concat(om(d)).join(" ")},children:u}]})}}}},f$={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,d=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,v=p===void 0?{}:p,b=l.styles,y=b===void 0?{}:b;return h_({type:"counter",content:o},function(){return ld("beforeDOMElementCreation",{content:o,params:l}),YY({content:o.toString(),title:d,extra:{attributes:v,styles:y,classes:["".concat(Dt.cssPrefix,"-layers-counter")].concat(om(h))}})})}}}},p$={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,d=s===void 0?Rs:s,u=l.title,h=u===void 0?null:u,p=l.classes,v=p===void 0?[]:p,b=l.attributes,y=b===void 0?{}:b,C=l.styles,w=C===void 0?{}:C;return h_({type:"text",content:o},function(){return ld("beforeDOMElementCreation",{content:o,params:l}),I5({content:o,transform:wt(wt({},Rs),d),title:h,extra:{attributes:y,styles:w,classes:["".concat(Dt.cssPrefix,"-layers-text")].concat(om(v))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,d=l.transform,u=l.extra,h=null,p=null;if(Q5){var v=parseInt(getComputedStyle(o).fontSize,10),b=o.getBoundingClientRect();h=b.width/v,p=b.height/v}return Dt.autoA11y&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,I5({content:o.innerHTML,width:h,height:p,transform:d,title:s,extra:u,watchable:!0})])}}},h$=new RegExp('"',"ug"),U5=[1105920,1112319];_$={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=W5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?wa:l;Dt.searchPseudoElements&&W5(s)}}},Y5=!1,b$={mixout:function(){return{dom:{unwatch:function(){bE(),Y5=!0}}}},hooks:function(){return{bootstrap:function(){z5(k2("mutationObserverCallbacks",{}))},noAuto:function(){t$()},watch:function(o){var l=o.observeMutationsRoot;Y5?A2():z5(k2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},$5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var d=s.toLowerCase().split("-"),u=d[0],h=d.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)},y$={mixout:function(){return{parse:{transform:function(o){return $5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=$5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,d=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),v="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),y={transform:"".concat(p," ").concat(v," ").concat(b)},C={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:y,path:C};return{tag:"g",attributes:wt({},w.outer),children:[{tag:"g",attributes:wt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:wt(wt({},l.icon.attributes),w.path)}]}]}}}},y2={x:0,y:0,width:"100%",height:"100%"};w$={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),d=s?p_(s.split(" ").map(function(u){return u.trim()})):H2();return d.prefix||(d.prefix=sc()),o.mask=d,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,d=o.main,u=o.mask,h=o.maskId,p=o.transform,v=d.width,b=d.icon,y=u.width,C=u.icon,w=yY({transform:p,containerWidth:y,iconWidth:v}),k={tag:"rect",attributes:wt(wt({},y2),{},{fill:"white"})},B=b.children?{children:b.children.map(G5)}:{},M={tag:"g",attributes:wt({},w.inner),children:[G5(wt({tag:b.tag,attributes:wt(wt({},b.attributes),w.path)},B))]},X={tag:"g",attributes:wt({},w.outer),children:[M]},F="mask-".concat(h||nm()),V="clip-".concat(h||nm()),H={tag:"mask",attributes:wt(wt({},y2),{},{id:F,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,X]},G={tag:"defs",children:[{tag:"clipPath",attributes:{id:V},children:S$(C)},H]};return l.push(G,{tag:"rect",attributes:wt({fill:"currentColor","clip-path":"url(#".concat(V,")"),mask:"url(#".concat(F,")")},y2)}),{children:l,attributes:s}}}},C$={provides:function(a){var o=!1;lc.matchMedia&&(o=lc.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:wt(wt({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var u=wt(wt({},d),{},{attributeName:"opacity"}),h={tag:"circle",attributes:wt(wt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:wt(wt({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:wt(wt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:wt(wt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:wt(wt({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:wt(wt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},x$={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),d=s===null?!1:s===""?!0:s;return o.symbol=d,o}}}},T$=[CY,c$,d$,f$,p$,_$,b$,y$,w$,C$,x$];FY(T$,{mixoutsTo:Lo});k$=Lo.noAuto,E$=Lo.config,R$=Lo.library,D$=Lo.dom,L$=Lo.parse,A$=Lo.findIconDefinition,B$=Lo.toHtml,N$=Lo.icon,O$=Lo.layer,I$=Lo.text,P$=Lo.counter});var CE=Ge(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,d=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,v=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,C=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,B=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,X=r?Symbol.for("react.responder"):60118,F=r?Symbol.for("react.scope"):60119;function V(Ae){return typeof Ae=="string"||typeof Ae=="function"||Ae===l||Ae===v||Ae===d||Ae===s||Ae===y||Ae===C||typeof Ae=="object"&&Ae!==null&&(Ae.$$typeof===k||Ae.$$typeof===w||Ae.$$typeof===u||Ae.$$typeof===h||Ae.$$typeof===b||Ae.$$typeof===M||Ae.$$typeof===X||Ae.$$typeof===F||Ae.$$typeof===B)}function H(Ae){if(typeof Ae=="object"&&Ae!==null){var Ct=Ae.$$typeof;switch(Ct){case a:var zt=Ae.type;switch(zt){case p:case v:case l:case d:case s:case y:return zt;default:var Yt=zt&&zt.$$typeof;switch(Yt){case h:case b:case k:case w:case u:return Yt;default:return Ct}}case o:return Ct}}}var G=p,P=v,oe=h,Ee=u,te=a,be=b,ye=l,fe=k,I=w,ae=o,me=d,z=s,ne=y,pe=!1;function Se(Ae){return pe||(pe=!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.")),ce(Ae)||H(Ae)===p}function ce(Ae){return H(Ae)===v}function we(Ae){return H(Ae)===h}function Fe(Ae){return H(Ae)===u}function He(Ae){return typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===a}function at(Ae){return H(Ae)===b}function Oe(Ae){return H(Ae)===l}function ct(Ae){return H(Ae)===k}function nr(Ae){return H(Ae)===w}function bt(Ae){return H(Ae)===o}function yt(Ae){return H(Ae)===d}function It(Ae){return H(Ae)===s}function nt(Ae){return H(Ae)===y}ta.AsyncMode=G,ta.ConcurrentMode=P,ta.ContextConsumer=oe,ta.ContextProvider=Ee,ta.Element=te,ta.ForwardRef=be,ta.Fragment=ye,ta.Lazy=fe,ta.Memo=I,ta.Portal=ae,ta.Profiler=me,ta.StrictMode=z,ta.Suspense=ne,ta.isAsyncMode=Se,ta.isConcurrentMode=ce,ta.isContextConsumer=we,ta.isContextProvider=Fe,ta.isElement=He,ta.isForwardRef=at,ta.isFragment=Oe,ta.isLazy=ct,ta.isMemo=nr,ta.isPortal=bt,ta.isProfiler=yt,ta.isStrictMode=It,ta.isSuspense=nt,ta.isValidElementType=V,ta.typeOf=H})()});var Y2=Ge((kq,xE)=>{"use strict";xE.exports=CE()});var EE=Ge((Eq,kE)=>{"use strict";var TE=Object.getOwnPropertySymbols,M$=Object.prototype.hasOwnProperty,F$=Object.prototype.propertyIsEnumerable;function z$(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function j$(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}kE.exports=j$()?Object.assign:function(r,a){for(var o,l=z$(r),s,d=1;d<arguments.length;d++){o=Object(arguments[d]);for(var u in o)M$.call(o,u)&&(l[u]=o[u]);if(TE){s=TE(o);for(var h=0;h<s.length;h++)F$.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var $2=Ge((Rq,RE)=>{"use strict";var H$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";RE.exports=H$});var G2=Ge((Dq,DE)=>{DE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var OE=Ge((Lq,NE)=>{"use strict";var q2=function(){};LE=$2(),m_={},AE=G2(),q2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var LE,m_,AE;function BE(r,a,o,l,s){for(var d in r)if(AE(r,d)){var u;try{if(typeof r[d]!="function"){var h=Error((l||"React class")+": "+o+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[d](a,d,l,o,null,LE)}catch(v){u=v}if(u&&!(u instanceof Error)&&q2((l||"React class")+": type specification of "+o+" `"+d+"` 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 m_)){m_[u.message]=!0;var p=s?s():"";q2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}BE.resetWarningCache=function(){m_={}};NE.exports=BE});var ME=Ge((Aq,PE)=>{"use strict";var U$=Y2(),V$=EE(),Hf=$2(),K2=G2(),IE=OE(),Uf=function(){};Uf=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function v_(){return null}PE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(I){var ae=I&&(o&&I[o]||I[l]);if(typeof ae=="function")return ae}var d="<<anonymous>>",u={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:y(),arrayOf:C,element:w(),elementType:k(),instanceOf:B,node:V(),objectOf:X,oneOf:M,oneOfType:F,shape:G,exact:P};function h(I,ae){return I===ae?I!==0||1/I===1/ae:I!==I&&ae!==ae}function p(I,ae){this.message=I,this.data=ae&&typeof ae=="object"?ae:{},this.stack=""}p.prototype=Error.prototype;function v(I){var ae={},me=0;function z(pe,Se,ce,we,Fe,He,at){if(we=we||d,He=He||ce,at!==Hf){if(a){var Oe=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 Oe.name="Invariant Violation",Oe}else if(typeof console!="undefined"){var ct=we+":"+ce;!ae[ct]&&me<3&&(Uf("You are manually calling a React.PropTypes validation function for the `"+He+"` 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."),ae[ct]=!0,me++)}}return Se[ce]==null?pe?Se[ce]===null?new p("The "+Fe+" `"+He+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new p("The "+Fe+" `"+He+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:I(Se,ce,we,Fe,He)}var ne=z.bind(null,!1);return ne.isRequired=z.bind(null,!0),ne}function b(I){function ae(me,z,ne,pe,Se,ce){var we=me[z],Fe=te(we);if(Fe!==I){var He=be(we);return new p("Invalid "+pe+" `"+Se+"` of type "+("`"+He+"` supplied to `"+ne+"`, expected ")+("`"+I+"`."),{expectedType:I})}return null}return v(ae)}function y(){return v(v_)}function C(I){function ae(me,z,ne,pe,Se){if(typeof I!="function")return new p("Property `"+Se+"` of component `"+ne+"` has invalid PropType notation inside arrayOf.");var ce=me[z];if(!Array.isArray(ce)){var we=te(ce);return new p("Invalid "+pe+" `"+Se+"` of type "+("`"+we+"` supplied to `"+ne+"`, expected an array."))}for(var Fe=0;Fe<ce.length;Fe++){var He=I(ce,Fe,ne,pe,Se+"["+Fe+"]",Hf);if(He instanceof Error)return He}return null}return v(ae)}function w(){function I(ae,me,z,ne,pe){var Se=ae[me];if(!r(Se)){var ce=te(Se);return new p("Invalid "+ne+" `"+pe+"` of type "+("`"+ce+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return v(I)}function k(){function I(ae,me,z,ne,pe){var Se=ae[me];if(!U$.isValidElementType(Se)){var ce=te(Se);return new p("Invalid "+ne+" `"+pe+"` of type "+("`"+ce+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return v(I)}function B(I){function ae(me,z,ne,pe,Se){if(!(me[z]instanceof I)){var ce=I.name||d,we=fe(me[z]);return new p("Invalid "+pe+" `"+Se+"` of type "+("`"+we+"` supplied to `"+ne+"`, expected ")+("instance of `"+ce+"`."))}return null}return v(ae)}function M(I){if(!Array.isArray(I))return arguments.length>1?Uf("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])."):Uf("Invalid argument supplied to oneOf, expected an array."),v_;function ae(me,z,ne,pe,Se){for(var ce=me[z],we=0;we<I.length;we++)if(h(ce,I[we]))return null;var Fe=JSON.stringify(I,function(at,Oe){var ct=be(Oe);return ct==="symbol"?String(Oe):Oe});return new p("Invalid "+pe+" `"+Se+"` of value `"+String(ce)+"` "+("supplied to `"+ne+"`, expected one of "+Fe+"."))}return v(ae)}function X(I){function ae(me,z,ne,pe,Se){if(typeof I!="function")return new p("Property `"+Se+"` of component `"+ne+"` has invalid PropType notation inside objectOf.");var ce=me[z],we=te(ce);if(we!=="object")return new p("Invalid "+pe+" `"+Se+"` of type "+("`"+we+"` supplied to `"+ne+"`, expected an object."));for(var Fe in ce)if(K2(ce,Fe)){var He=I(ce,Fe,ne,pe,Se+"."+Fe,Hf);if(He instanceof Error)return He}return null}return v(ae)}function F(I){if(!Array.isArray(I))return Uf("Invalid argument supplied to oneOfType, expected an instance of array."),v_;for(var ae=0;ae<I.length;ae++){var me=I[ae];if(typeof me!="function")return Uf("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(me)+" at index "+ae+"."),v_}function z(ne,pe,Se,ce,we){for(var Fe=[],He=0;He<I.length;He++){var at=I[He],Oe=at(ne,pe,Se,ce,we,Hf);if(Oe==null)return null;Oe.data&&K2(Oe.data,"expectedType")&&Fe.push(Oe.data.expectedType)}var ct=Fe.length>0?", expected one of type ["+Fe.join(", ")+"]":"";return new p("Invalid "+ce+" `"+we+"` supplied to "+("`"+Se+"`"+ct+"."))}return v(z)}function V(){function I(ae,me,z,ne,pe){return oe(ae[me])?null:new p("Invalid "+ne+" `"+pe+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return v(I)}function H(I,ae,me,z,ne){return new p((I||"React class")+": "+ae+" type `"+me+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ne+"`.")}function G(I){function ae(me,z,ne,pe,Se){var ce=me[z],we=te(ce);if(we!=="object")return new p("Invalid "+pe+" `"+Se+"` of type `"+we+"` "+("supplied to `"+ne+"`, expected `object`."));for(var Fe in I){var He=I[Fe];if(typeof He!="function")return H(ne,pe,Se,Fe,be(He));var at=He(ce,Fe,ne,pe,Se+"."+Fe,Hf);if(at)return at}return null}return v(ae)}function P(I){function ae(me,z,ne,pe,Se){var ce=me[z],we=te(ce);if(we!=="object")return new p("Invalid "+pe+" `"+Se+"` of type `"+we+"` "+("supplied to `"+ne+"`, expected `object`."));var Fe=V$({},me[z],I);for(var He in Fe){var at=I[He];if(K2(I,He)&&typeof at!="function")return H(ne,pe,Se,He,be(at));if(!at)return new p("Invalid "+pe+" `"+Se+"` key `"+He+"` supplied to `"+ne+"`.\nBad object: "+JSON.stringify(me[z],null," ")+`
925
925
  Valid keys: `+JSON.stringify(Object.keys(I),null," "));var Oe=at(ce,He,ne,pe,Se+"."+He,Hf);if(Oe)return Oe}return null}return v(ae)}function oe(I){switch(typeof I){case"number":case"string":case"undefined":return!0;case"boolean":return!I;case"object":if(Array.isArray(I))return I.every(oe);if(I===null||r(I))return!0;var ae=s(I);if(ae){var me=ae.call(I),z;if(ae!==I.entries){for(;!(z=me.next()).done;)if(!oe(z.value))return!1}else for(;!(z=me.next()).done;){var ne=z.value;if(ne&&!oe(ne[1]))return!1}}else return!1;return!0;default:return!1}}function Ee(I,ae){return I==="symbol"?!0:ae?ae["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ae instanceof Symbol:!1}function te(I){var ae=typeof I;return Array.isArray(I)?"array":I instanceof RegExp?"object":Ee(ae,I)?"symbol":ae}function be(I){if(typeof I=="undefined"||I===null)return""+I;var ae=te(I);if(ae==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return ae}function ye(I){var ae=be(I);switch(ae){case"array":case"object":return"an "+ae;case"boolean":case"date":case"regexp":return"a "+ae;default:return ae}}function fe(I){return!I.constructor||!I.constructor.name?d:I.constructor.name}return u.checkPropTypes=IE,u.resetWarningCache=IE.resetWarningCache,u.PropTypes=u,u}});var HE=Ge((Bq,jE)=>{FE=Y2(),zE=!0,jE.exports=ME()(FE.isElement,zE);var FE,zE});var VE=Ge((g_,UE)=>{(function(r,a){typeof g_=="object"&&typeof UE!="undefined"?a(g_,(wE(),NV(SE)),HE(),pr()):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))})(g_,function(r,a,o,l){"use strict";function s(z){return z&&typeof z=="object"&&"default"in z?z:{default:z}}var d=s(o),u=s(l);function h(z,ne){var pe=Object.keys(z);if(Object.getOwnPropertySymbols){var Se=Object.getOwnPropertySymbols(z);ne&&(Se=Se.filter(function(ce){return Object.getOwnPropertyDescriptor(z,ce).enumerable})),pe.push.apply(pe,Se)}return pe}function p(z){for(var ne=1;ne<arguments.length;ne++){var pe=arguments[ne]!=null?arguments[ne]:{};ne%2?h(Object(pe),!0).forEach(function(Se){b(z,Se,pe[Se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(pe)):h(Object(pe)).forEach(function(Se){Object.defineProperty(z,Se,Object.getOwnPropertyDescriptor(pe,Se))})}return z}function v(z){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},v(z)}function b(z,ne,pe){return ne in z?Object.defineProperty(z,ne,{value:pe,enumerable:!0,configurable:!0,writable:!0}):z[ne]=pe,z}function y(z,ne){if(z==null)return{};var pe={},Se=Object.keys(z),ce,we;for(we=0;we<Se.length;we++)ce=Se[we],!(ne.indexOf(ce)>=0)&&(pe[ce]=z[ce]);return pe}function C(z,ne){if(z==null)return{};var pe=y(z,ne),Se,ce;if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(z);for(ce=0;ce<we.length;ce++)Se=we[ce],!(ne.indexOf(Se)>=0)&&Object.prototype.propertyIsEnumerable.call(z,Se)&&(pe[Se]=z[Se])}return pe}function w(z){return k(z)||B(z)||M(z)||F()}function k(z){if(Array.isArray(z))return X(z)}function B(z){if(typeof Symbol!="undefined"&&z[Symbol.iterator]!=null||z["@@iterator"]!=null)return Array.from(z)}function M(z,ne){if(z){if(typeof z=="string")return X(z,ne);var pe=Object.prototype.toString.call(z).slice(8,-1);if(pe==="Object"&&z.constructor&&(pe=z.constructor.name),pe==="Map"||pe==="Set")return Array.from(z);if(pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(pe))return X(z,ne)}}function X(z,ne){(ne==null||ne>z.length)&&(ne=z.length);for(var pe=0,Se=new Array(ne);pe<ne;pe++)Se[pe]=z[pe];return Se}function F(){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 V(z){var ne,pe=z.beat,Se=z.fade,ce=z.beatFade,we=z.bounce,Fe=z.shake,He=z.flash,at=z.spin,Oe=z.spinPulse,ct=z.spinReverse,nr=z.pulse,bt=z.fixedWidth,yt=z.inverse,It=z.border,nt=z.listItem,Ae=z.flip,Ct=z.size,zt=z.rotation,Yt=z.pull,$t=(ne={"fa-beat":pe,"fa-fade":Se,"fa-beat-fade":ce,"fa-bounce":we,"fa-shake":Fe,"fa-flash":He,"fa-spin":at,"fa-spin-reverse":ct,"fa-spin-pulse":Oe,"fa-pulse":nr,"fa-fw":bt,"fa-inverse":yt,"fa-border":It,"fa-li":nt,"fa-flip":Ae===!0,"fa-flip-horizontal":Ae==="horizontal"||Ae==="both","fa-flip-vertical":Ae==="vertical"||Ae==="both"},b(ne,"fa-".concat(Ct),typeof Ct!="undefined"&&Ct!==null),b(ne,"fa-rotate-".concat(zt),typeof zt!="undefined"&&zt!==null&&zt!==0),b(ne,"fa-pull-".concat(Yt),typeof Yt!="undefined"&&Yt!==null),b(ne,"fa-swap-opacity",z.swapOpacity),ne);return Object.keys($t).map(function(ir){return $t[ir]?ir:null}).filter(function(ir){return ir})}function H(z){return z=z-0,z===z}function G(z){return H(z)?z:(z=z.replace(/[\-_\s]+(.)?/g,function(ne,pe){return pe?pe.toUpperCase():""}),z.substr(0,1).toLowerCase()+z.substr(1))}var P=["style"];function oe(z){return z.charAt(0).toUpperCase()+z.slice(1)}function Ee(z){return z.split(";").map(function(ne){return ne.trim()}).filter(function(ne){return ne}).reduce(function(ne,pe){var Se=pe.indexOf(":"),ce=G(pe.slice(0,Se)),we=pe.slice(Se+1).trim();return ce.startsWith("webkit")?ne[oe(ce)]=we:ne[ce]=we,ne},{})}function te(z,ne){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof ne=="string")return ne;var Se=(ne.children||[]).map(function(at){return te(z,at)}),ce=Object.keys(ne.attributes||{}).reduce(function(at,Oe){var ct=ne.attributes[Oe];switch(Oe){case"class":at.attrs.className=ct,delete ne.attributes.class;break;case"style":at.attrs.style=Ee(ct);break;default:Oe.indexOf("aria-")===0||Oe.indexOf("data-")===0?at.attrs[Oe.toLowerCase()]=ct:at.attrs[G(Oe)]=ct}return at},{attrs:{}}),we=pe.style,Fe=we===void 0?{}:we,He=C(pe,P);return ce.attrs.style=p(p({},ce.attrs.style),Fe),z.apply(void 0,[ne.tag,p(p({},ce.attrs),He)].concat(w(Se)))}var be=!1;try{be=!1}catch(z){}function ye(){if(!be&&console&&typeof console.error=="function"){var z;(z=console).error.apply(z,arguments)}}function fe(z){if(z&&v(z)==="object"&&z.prefix&&z.iconName&&z.icon)return z;if(a.parse.icon)return a.parse.icon(z);if(z===null)return null;if(z&&v(z)==="object"&&z.prefix&&z.iconName)return z;if(Array.isArray(z)&&z.length===2)return{prefix:z[0],iconName:z[1]};if(typeof z=="string")return{prefix:"fas",iconName:z}}function I(z,ne){return Array.isArray(ne)&&ne.length>0||!Array.isArray(ne)&&ne?b({},z,ne):{}}var ae=u.default.forwardRef(function(z,ne){var pe=z.icon,Se=z.mask,ce=z.symbol,we=z.className,Fe=z.title,He=z.titleId,at=z.maskId,Oe=fe(pe),ct=I("classes",[].concat(w(V(z)),w(we.split(" ")))),nr=I("transform",typeof z.transform=="string"?a.parse.transform(z.transform):z.transform),bt=I("mask",fe(Se)),yt=a.icon(Oe,p(p(p(p({},ct),nr),bt),{},{symbol:ce,title:Fe,titleId:He,maskId:at}));if(!yt)return ye("Could not find icon",Oe),null;var It=yt.abstract,nt={ref:ne};return Object.keys(z).forEach(function(Ae){ae.defaultProps.hasOwnProperty(Ae)||(nt[Ae]=z[Ae])}),me(It[0],nt)});ae.displayName="FontAwesomeIcon",ae.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},ae.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 me=te.bind(null,u.default.createElement);r.FontAwesomeIcon=ae,Object.defineProperty(r,"__esModule",{value:!0})})});var XE=Ge(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var WE="fas",YE="xmark",$E=384,GE=512,X2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],qE="f00d",KE="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";Yo.definition={prefix:WE,iconName:YE,icon:[$E,GE,X2,qE,KE]};Yo.faXmark=Yo.definition;Yo.prefix=WE;Yo.iconName=YE;Yo.width=$E;Yo.height=GE;Yo.ligatures=X2;Yo.unicode=qE;Yo.svgPathData=KE;Yo.aliases=X2});var JE=Ge($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var no=XE();$o.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};$o.faTimes=$o.definition;$o.prefix=no.prefix;$o.iconName=no.iconName;$o.width=no.width;$o.height=no.height;$o.ligatures=no.aliases;$o.unicode=no.unicode;$o.svgPathData=no.svgPathData;$o.aliases=no.aliases});var nR=Ge(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var QE="fas",ZE="angle-right",eR=320,tR=512,J2=[8250],rR="f105",aR="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";Go.definition={prefix:QE,iconName:ZE,icon:[eR,tR,J2,rR,aR]};Go.faAngleRight=Go.definition;Go.prefix=QE;Go.iconName=ZE;Go.width=eR;Go.height=tR;Go.ligatures=J2;Go.unicode=rR;Go.svgPathData=aR;Go.aliases=J2});var dR=Ge(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var oR="fas",iR="angle-left",lR=320,sR=512,Q2=[8249],uR="f104",cR="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";qo.definition={prefix:oR,iconName:iR,icon:[lR,sR,Q2,uR,cR]};qo.faAngleLeft=qo.definition;qo.prefix=oR;qo.iconName=iR;qo.width=lR;qo.height=sR;qo.ligatures=Q2;qo.unicode=uR;qo.svgPathData=cR;qo.aliases=Q2});var _R=Ge(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var fR="fas",pR="angle-up",hR=448,mR=512,Z2=[8963],vR="f106",gR="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";Ko.definition={prefix:fR,iconName:pR,icon:[hR,mR,Z2,vR,gR]};Ko.faAngleUp=Ko.definition;Ko.prefix=fR;Ko.iconName=pR;Ko.width=hR;Ko.height=mR;Ko.ligatures=Z2;Ko.unicode=vR;Ko.svgPathData=gR;Ko.aliases=Z2});var TR=Ge(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var bR="fas",yR="angle-down",SR=448,wR=512,eS=[8964],CR="f107",xR="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";Xo.definition={prefix:bR,iconName:yR,icon:[SR,wR,eS,CR,xR]};Xo.faAngleDown=Xo.definition;Xo.prefix=bR;Xo.iconName=yR;Xo.width=SR;Xo.height=wR;Xo.ligatures=eS;Xo.unicode=CR;Xo.svgPathData=xR;Xo.aliases=eS});var BR=Ge(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var kR="fas",ER="chevron-left",RR=320,DR=512,tS=[9001],LR="f053",AR="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";Jo.definition={prefix:kR,iconName:ER,icon:[RR,DR,tS,LR,AR]};Jo.faChevronLeft=Jo.definition;Jo.prefix=kR;Jo.iconName=ER;Jo.width=RR;Jo.height=DR;Jo.ligatures=tS;Jo.unicode=LR;Jo.svgPathData=AR;Jo.aliases=tS});var zR=Ge(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var NR="fas",OR="chevron-right",IR=320,PR=512,rS=[9002],MR="f054",FR="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";Qo.definition={prefix:NR,iconName:OR,icon:[IR,PR,rS,MR,FR]};Qo.faChevronRight=Qo.definition;Qo.prefix=NR;Qo.iconName=OR;Qo.width=IR;Qo.height=PR;Qo.ligatures=rS;Qo.unicode=MR;Qo.svgPathData=FR;Qo.aliases=rS});var $R=Ge(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var jR="fas",HR="chevron-up",UR=512,VR=512,aS=[],WR="f077",YR="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";Zo.definition={prefix:jR,iconName:HR,icon:[UR,VR,aS,WR,YR]};Zo.faChevronUp=Zo.definition;Zo.prefix=jR;Zo.iconName=HR;Zo.width=UR;Zo.height=VR;Zo.ligatures=aS;Zo.unicode=WR;Zo.svgPathData=YR;Zo.aliases=aS});var ZR=Ge(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var GR="fas",qR="chevron-down",KR=512,XR=512,nS=[],JR="f078",QR="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";ei.definition={prefix:GR,iconName:qR,icon:[KR,XR,nS,JR,QR]};ei.faChevronDown=ei.definition;ei.prefix=GR;ei.iconName=qR;ei.width=KR;ei.height=XR;ei.ligatures=nS;ei.unicode=JR;ei.svgPathData=QR;ei.aliases=nS});var iD=Ge(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var eD="fas",tD="caret-left",rD=256,aD=512,oS=[],nD="f0d9",oD="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";ti.definition={prefix:eD,iconName:tD,icon:[rD,aD,oS,nD,oD]};ti.faCaretLeft=ti.definition;ti.prefix=eD;ti.iconName=tD;ti.width=rD;ti.height=aD;ti.ligatures=oS;ti.unicode=nD;ti.svgPathData=oD;ti.aliases=oS});var pD=Ge(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var lD="fas",sD="caret-right",uD=256,cD=512,iS=[],dD="f0da",fD="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";ri.definition={prefix:lD,iconName:sD,icon:[uD,cD,iS,dD,fD]};ri.faCaretRight=ri.definition;ri.prefix=lD;ri.iconName=sD;ri.width=uD;ri.height=cD;ri.ligatures=iS;ri.unicode=dD;ri.svgPathData=fD;ri.aliases=iS});var yD=Ge(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var hD="fas",mD="caret-up",vD=320,gD=512,lS=[],_D="f0d8",bD="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";ai.definition={prefix:hD,iconName:mD,icon:[vD,gD,lS,_D,bD]};ai.faCaretUp=ai.definition;ai.prefix=hD;ai.iconName=mD;ai.width=vD;ai.height=gD;ai.ligatures=lS;ai.unicode=_D;ai.svgPathData=bD;ai.aliases=lS});var ED=Ge(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var SD="fas",wD="caret-down",CD=320,xD=512,sS=[],TD="f0d7",kD="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";ni.definition={prefix:SD,iconName:wD,icon:[CD,xD,sS,TD,kD]};ni.faCaretDown=ni.definition;ni.prefix=SD;ni.iconName=wD;ni.width=CD;ni.height=xD;ni.ligatures=sS;ni.unicode=TD;ni.svgPathData=kD;ni.aliases=sS});var OD=Ge(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var RD="fas",DD="arrow-left",LD=448,AD=512,uS=[8592],BD="f060",ND="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";oi.definition={prefix:RD,iconName:DD,icon:[LD,AD,uS,BD,ND]};oi.faArrowLeft=oi.definition;oi.prefix=RD;oi.iconName=DD;oi.width=LD;oi.height=AD;oi.ligatures=uS;oi.unicode=BD;oi.svgPathData=ND;oi.aliases=uS});var dS=Ge(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var ID="fas",PD="arrow-right",MD=448,FD=512,cS=[8594],zD="f061",jD="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";ii.definition={prefix:ID,iconName:PD,icon:[MD,FD,cS,zD,jD]};ii.faArrowRight=ii.definition;ii.prefix=ID;ii.iconName=PD;ii.width=MD;ii.height=FD;ii.ligatures=cS;ii.unicode=zD;ii.svgPathData=jD;ii.aliases=cS});var pS=Ge(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var HD="fas",UD="arrow-up",VD=384,WD=512,fS=[8593],YD="f062",$D="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";li.definition={prefix:HD,iconName:UD,icon:[VD,WD,fS,YD,$D]};li.faArrowUp=li.definition;li.prefix=HD;li.iconName=UD;li.width=VD;li.height=WD;li.ligatures=fS;li.unicode=YD;li.svgPathData=$D;li.aliases=fS});var mS=Ge(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var GD="fas",qD="arrow-down",KD=384,XD=512,hS=[8595],JD="f063",QD="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";si.definition={prefix:GD,iconName:qD,icon:[KD,XD,hS,JD,QD]};si.faArrowDown=si.definition;si.prefix=GD;si.iconName=qD;si.width=KD;si.height=XD;si.ligatures=hS;si.unicode=JD;si.svgPathData=QD;si.aliases=hS});var o6=Ge(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var ZD="fas",e6="rotate",t6=512,r6=512,vS=[128260,"sync-alt"],a6="f2f1",n6="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";ui.definition={prefix:ZD,iconName:e6,icon:[t6,r6,vS,a6,n6]};ui.faRotate=ui.definition;ui.prefix=ZD;ui.iconName=e6;ui.width=t6;ui.height=r6;ui.ligatures=vS;ui.unicode=a6;ui.svgPathData=n6;ui.aliases=vS});var f6=Ge(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var i6="fas",l6="arrow-rotate-right",s6=512,u6=512,gS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],c6="f01e",d6="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";ci.definition={prefix:i6,iconName:l6,icon:[s6,u6,gS,c6,d6]};ci.faArrowRotateRight=ci.definition;ci.prefix=i6;ci.iconName=l6;ci.width=s6;ci.height=u6;ci.ligatures=gS;ci.unicode=c6;ci.svgPathData=d6;ci.aliases=gS});var p6=Ge(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var oo=f6();di.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};di.faRedo=di.definition;di.prefix=oo.prefix;di.iconName=oo.iconName;di.width=oo.width;di.height=oo.height;di.ligatures=oo.aliases;di.unicode=oo.unicode;di.svgPathData=oo.svgPathData;di.aliases=oo.aliases});var y6=Ge(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var h6="fas",m6="check",v6=448,g6=512,_S=[10003,10004],_6="f00c",b6="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";fi.definition={prefix:h6,iconName:m6,icon:[v6,g6,_S,_6,b6]};fi.faCheck=fi.definition;fi.prefix=h6;fi.iconName=m6;fi.width=v6;fi.height=g6;fi.ligatures=_S;fi.unicode=_6;fi.svgPathData=b6;fi.aliases=_S});var E6=Ge(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var S6="fas",w6="question",C6=320,x6=512,bS=[10067,10068,61736],T6="3f",k6="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";pi.definition={prefix:S6,iconName:w6,icon:[C6,x6,bS,T6,k6]};pi.faQuestion=pi.definition;pi.prefix=S6;pi.iconName=w6;pi.width=C6;pi.height=x6;pi.ligatures=bS;pi.unicode=T6;pi.svgPathData=k6;pi.aliases=bS});var O6=Ge(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var R6="fas",D6="exclamation",L6=128,A6=512,yS=[10069,10071,61738],B6="21",N6="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";hi.definition={prefix:R6,iconName:D6,icon:[L6,A6,yS,B6,N6]};hi.faExclamation=hi.definition;hi.prefix=R6;hi.iconName=D6;hi.width=L6;hi.height=A6;hi.ligatures=yS;hi.unicode=B6;hi.svgPathData=N6;hi.aliases=yS});var H6=Ge(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var I6="fas",P6="triangle-exclamation",M6=512,F6=512,SS=[9888,"exclamation-triangle","warning"],z6="f071",j6="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";mi.definition={prefix:I6,iconName:P6,icon:[M6,F6,SS,z6,j6]};mi.faTriangleExclamation=mi.definition;mi.prefix=I6;mi.iconName=P6;mi.width=M6;mi.height=F6;mi.ligatures=SS;mi.unicode=z6;mi.svgPathData=j6;mi.aliases=SS});var U6=Ge(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var io=H6();vi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};vi.faExclamationTriangle=vi.definition;vi.prefix=io.prefix;vi.iconName=io.iconName;vi.width=io.width;vi.height=io.height;vi.ligatures=io.aliases;vi.unicode=io.unicode;vi.svgPathData=io.svgPathData;vi.aliases=io.aliases});var K6=Ge(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var V6="fas",W6="house",Y6=576,$6=512,wS=[127968,63498,63500,"home","home-alt","home-lg-alt"],G6="f015",q6="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";gi.definition={prefix:V6,iconName:W6,icon:[Y6,$6,wS,G6,q6]};gi.faHouse=gi.definition;gi.prefix=V6;gi.iconName=W6;gi.width=Y6;gi.height=$6;gi.ligatures=wS;gi.unicode=G6;gi.svgPathData=q6;gi.aliases=wS});var X6=Ge(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var lo=K6();_i.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};_i.faHome=_i.definition;_i.prefix=lo.prefix;_i.iconName=lo.iconName;_i.width=lo.width;_i.height=lo.height;_i.ligatures=lo.aliases;_i.unicode=lo.unicode;_i.svgPathData=lo.svgPathData;_i.aliases=lo.aliases});var aL=Ge(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var J6="fas",Q6="share",Z6=512,eL=512,CS=["mail-forward"],tL="f064",rL="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";bi.definition={prefix:J6,iconName:Q6,icon:[Z6,eL,CS,tL,rL]};bi.faShare=bi.definition;bi.prefix=J6;bi.iconName=Q6;bi.width=Z6;bi.height=eL;bi.ligatures=CS;bi.unicode=tL;bi.svgPathData=rL;bi.aliases=CS});var cL=Ge(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var nL="fas",oL="magnifying-glass",iL=512,lL=512,xS=[128269,"search"],sL="f002",uL="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";yi.definition={prefix:nL,iconName:oL,icon:[iL,lL,xS,sL,uL]};yi.faMagnifyingGlass=yi.definition;yi.prefix=nL;yi.iconName=oL;yi.width=iL;yi.height=lL;yi.ligatures=xS;yi.unicode=sL;yi.svgPathData=uL;yi.aliases=xS});var dL=Ge(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var so=cL();Si.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Si.faSearch=Si.definition;Si.prefix=so.prefix;Si.iconName=so.iconName;Si.width=so.width;Si.height=so.height;Si.ligatures=so.aliases;Si.unicode=so.unicode;Si.svgPathData=so.svgPathData;Si.aliases=so.aliases});var _L=Ge(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var fL="fas",pL="yen-sign",hL=320,mL=512,TS=[165,"cny","jpy","rmb","yen"],vL="f157",gL="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";wi.definition={prefix:fL,iconName:pL,icon:[hL,mL,TS,vL,gL]};wi.faYenSign=wi.definition;wi.prefix=fL;wi.iconName=pL;wi.width=hL;wi.height=mL;wi.ligatures=TS;wi.unicode=vL;wi.svgPathData=gL;wi.aliases=TS});var TL=Ge(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var bL="fas",yL="pen",SL=512,wL=512,kS=[128394],CL="f304",xL="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";Ci.definition={prefix:bL,iconName:yL,icon:[SL,wL,kS,CL,xL]};Ci.faPen=Ci.definition;Ci.prefix=bL;Ci.iconName=yL;Ci.width=SL;Ci.height=wL;Ci.ligatures=kS;Ci.unicode=CL;Ci.svgPathData=xL;Ci.aliases=kS});var BL=Ge(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var kL="fas",EL="bars",RL=448,DL=512,ES=["navicon"],LL="f0c9",AL="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";xi.definition={prefix:kL,iconName:EL,icon:[RL,DL,ES,LL,AL]};xi.faBars=xi.definition;xi.prefix=kL;xi.iconName=EL;xi.width=RL;xi.height=DL;xi.ligatures=ES;xi.unicode=LL;xi.svgPathData=AL;xi.aliases=ES});var zL=Ge(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var NL="fas",OL="download",IL=512,PL=512,RS=[],ML="f019",FL="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";Ti.definition={prefix:NL,iconName:OL,icon:[IL,PL,RS,ML,FL]};Ti.faDownload=Ti.definition;Ti.prefix=NL;Ti.iconName=OL;Ti.width=IL;Ti.height=PL;Ti.ligatures=RS;Ti.unicode=ML;Ti.svgPathData=FL;Ti.aliases=RS});var $L=Ge(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var jL="fas",HL="link",UL=640,VL=512,DS=[128279,"chain"],WL="f0c1",YL="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";ki.definition={prefix:jL,iconName:HL,icon:[UL,VL,DS,WL,YL]};ki.faLink=ki.definition;ki.prefix=jL;ki.iconName=HL;ki.width=UL;ki.height=VL;ki.ligatures=DS;ki.unicode=WL;ki.svgPathData=YL;ki.aliases=DS});var ZL=Ge(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var GL="fas",qL="link-slash",KL=640,XL=512,LS=["chain-broken","chain-slash","unlink"],JL="f127",QL="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";Ei.definition={prefix:GL,iconName:qL,icon:[KL,XL,LS,JL,QL]};Ei.faLinkSlash=Ei.definition;Ei.prefix=GL;Ei.iconName=qL;Ei.width=KL;Ei.height=XL;Ei.ligatures=LS;Ei.unicode=JL;Ei.svgPathData=QL;Ei.aliases=LS});var i8=Ge(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var e8="fas",t8="up-right-from-square",r8=512,a8=512,AS=["external-link-alt"],n8="f35d",o8="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";Ri.definition={prefix:e8,iconName:t8,icon:[r8,a8,AS,n8,o8]};Ri.faUpRightFromSquare=Ri.definition;Ri.prefix=e8;Ri.iconName=t8;Ri.width=r8;Ri.height=a8;Ri.ligatures=AS;Ri.unicode=n8;Ri.svgPathData=o8;Ri.aliases=AS});var l8=Ge(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var uo=i8();Di.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Di.faExternalLinkAlt=Di.definition;Di.prefix=uo.prefix;Di.iconName=uo.iconName;Di.width=uo.width;Di.height=uo.height;Di.ligatures=uo.aliases;Di.unicode=uo.unicode;Di.svgPathData=uo.svgPathData;Di.aliases=uo.aliases});var h8=Ge(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var s8="fas",u8="gear",c8=512,d8=512,BS=[9881,"cog"],f8="f013",p8="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";Li.definition={prefix:s8,iconName:u8,icon:[c8,d8,BS,f8,p8]};Li.faGear=Li.definition;Li.prefix=s8;Li.iconName=u8;Li.width=c8;Li.height=d8;Li.ligatures=BS;Li.unicode=f8;Li.svgPathData=p8;Li.aliases=BS});var S8=Ge(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var m8="fas",v8="plus",g8=448,_8=512,NS=[10133,61543,"add"],b8="2b",y8="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";Ai.definition={prefix:m8,iconName:v8,icon:[g8,_8,NS,b8,y8]};Ai.faPlus=Ai.definition;Ai.prefix=m8;Ai.iconName=v8;Ai.width=g8;Ai.height=_8;Ai.ligatures=NS;Ai.unicode=b8;Ai.svgPathData=y8;Ai.aliases=NS});var R8=Ge(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var w8="fas",C8="minus",x8=448,T8=512,OS=[8211,8722,10134,"subtract"],k8="f068",E8="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";Bi.definition={prefix:w8,iconName:C8,icon:[x8,T8,OS,k8,E8]};Bi.faMinus=Bi.definition;Bi.prefix=w8;Bi.iconName=C8;Bi.width=x8;Bi.height=T8;Bi.ligatures=OS;Bi.unicode=k8;Bi.svgPathData=E8;Bi.aliases=OS});var I8=Ge(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var D8="fas",L8="ellipsis",A8=448,B8=512,IS=["ellipsis-h"],N8="f141",O8="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";Ni.definition={prefix:D8,iconName:L8,icon:[A8,B8,IS,N8,O8]};Ni.faEllipsis=Ni.definition;Ni.prefix=D8;Ni.iconName=L8;Ni.width=A8;Ni.height=B8;Ni.ligatures=IS;Ni.unicode=N8;Ni.svgPathData=O8;Ni.aliases=IS});var P8=Ge(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var co=I8();Oi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=co.prefix;Oi.iconName=co.iconName;Oi.width=co.width;Oi.height=co.height;Oi.ligatures=co.aliases;Oi.unicode=co.unicode;Oi.svgPathData=co.svgPathData;Oi.aliases=co.aliases});var V8=Ge(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var M8="fas",F8="ellipsis-vertical",z8=128,j8=512,PS=["ellipsis-v"],H8="f142",U8="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";Ii.definition={prefix:M8,iconName:F8,icon:[z8,j8,PS,H8,U8]};Ii.faEllipsisVertical=Ii.definition;Ii.prefix=M8;Ii.iconName=F8;Ii.width=z8;Ii.height=j8;Ii.ligatures=PS;Ii.unicode=H8;Ii.svgPathData=U8;Ii.aliases=PS});var W8=Ge(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var fo=V8();Pi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=fo.prefix;Pi.iconName=fo.iconName;Pi.width=fo.width;Pi.height=fo.height;Pi.ligatures=fo.aliases;Pi.unicode=fo.unicode;Pi.svgPathData=fo.svgPathData;Pi.aliases=fo.aliases});var J8=Ge(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var Y8="fas",$8="star",G8=576,q8=512,MS=[11088,61446],K8="f005",X8="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";Mi.definition={prefix:Y8,iconName:$8,icon:[G8,q8,MS,K8,X8]};Mi.faStar=Mi.definition;Mi.prefix=Y8;Mi.iconName=$8;Mi.width=G8;Mi.height=q8;Mi.ligatures=MS;Mi.unicode=K8;Mi.svgPathData=X8;Mi.aliases=MS});var nA=Ge(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var Q8="fas",Z8="paper-plane",eA=512,tA=512,FS=[61913],rA="f1d8",aA="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";Fi.definition={prefix:Q8,iconName:Z8,icon:[eA,tA,FS,rA,aA]};Fi.faPaperPlane=Fi.definition;Fi.prefix=Q8;Fi.iconName=Z8;Fi.width=eA;Fi.height=tA;Fi.ligatures=FS;Fi.unicode=rA;Fi.svgPathData=aA;Fi.aliases=FS});var dA=Ge(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var oA="fas",iA="heart",lA=512,sA=512,zS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],uA="f004",cA="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";zi.definition={prefix:oA,iconName:iA,icon:[lA,sA,zS,uA,cA]};zi.faHeart=zi.definition;zi.prefix=oA;zi.iconName=iA;zi.width=lA;zi.height=sA;zi.ligatures=zS;zi.unicode=uA;zi.svgPathData=cA;zi.aliases=zS});var _A=Ge(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var fA="fas",pA="ban",hA=512,mA=512,jS=[128683,"cancel"],vA="f05e",gA="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";ji.definition={prefix:fA,iconName:pA,icon:[hA,mA,jS,vA,gA]};ji.faBan=ji.definition;ji.prefix=fA;ji.iconName=pA;ji.width=hA;ji.height=mA;ji.ligatures=jS;ji.unicode=vA;ji.svgPathData=gA;ji.aliases=jS});var TA=Ge(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var bA="fas",yA="location-crosshairs",SA=512,wA=512,HS=["location"],CA="f601",xA="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";Hi.definition={prefix:bA,iconName:yA,icon:[SA,wA,HS,CA,xA]};Hi.faLocationCrosshairs=Hi.definition;Hi.prefix=bA;Hi.iconName=yA;Hi.width=SA;Hi.height=wA;Hi.ligatures=HS;Hi.unicode=CA;Hi.svgPathData=xA;Hi.aliases=HS});var BA=Ge(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var kA="far",EA="user",RA=448,DA=512,US=[128100,62144],LA="f007",AA="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";Ui.definition={prefix:kA,iconName:EA,icon:[RA,DA,US,LA,AA]};Ui.faUser=Ui.definition;Ui.prefix=kA;Ui.iconName=EA;Ui.width=RA;Ui.height=DA;Ui.ligatures=US;Ui.unicode=LA;Ui.svgPathData=AA;Ui.aliases=US});var zA=Ge(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var NA="far",OA="circle-check",IA=512,PA=512,VS=[61533,"check-circle"],MA="f058",FA="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";Vi.definition={prefix:NA,iconName:OA,icon:[IA,PA,VS,MA,FA]};Vi.faCircleCheck=Vi.definition;Vi.prefix=NA;Vi.iconName=OA;Vi.width=IA;Vi.height=PA;Vi.ligatures=VS;Vi.unicode=MA;Vi.svgPathData=FA;Vi.aliases=VS});var jA=Ge(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var po=zA();Wi.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Wi.faCheckCircle=Wi.definition;Wi.prefix=po.prefix;Wi.iconName=po.iconName;Wi.width=po.width;Wi.height=po.height;Wi.ligatures=po.aliases;Wi.unicode=po.unicode;Wi.svgPathData=po.svgPathData;Wi.aliases=po.aliases});var GA=Ge(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var HA="far",UA="circle-question",VA=512,WA=512,WS=[62108,"question-circle"],YA="f059",$A="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";Yi.definition={prefix:HA,iconName:UA,icon:[VA,WA,WS,YA,$A]};Yi.faCircleQuestion=Yi.definition;Yi.prefix=HA;Yi.iconName=UA;Yi.width=VA;Yi.height=WA;Yi.ligatures=WS;Yi.unicode=YA;Yi.svgPathData=$A;Yi.aliases=WS});var qA=Ge($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var ho=GA();$i.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};$i.faQuestionCircle=$i.definition;$i.prefix=ho.prefix;$i.iconName=ho.iconName;$i.width=ho.width;$i.height=ho.height;$i.ligatures=ho.aliases;$i.unicode=ho.unicode;$i.svgPathData=ho.svgPathData;$i.aliases=ho.aliases});var tB=Ge(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var KA="far",XA="pen-to-square",JA=512,QA=512,YS=["edit"],ZA="f044",eB="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";Gi.definition={prefix:KA,iconName:XA,icon:[JA,QA,YS,ZA,eB]};Gi.faPenToSquare=Gi.definition;Gi.prefix=KA;Gi.iconName=XA;Gi.width=JA;Gi.height=QA;Gi.ligatures=YS;Gi.unicode=ZA;Gi.svgPathData=eB;Gi.aliases=YS});var rB=Ge(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var mo=tB();qi.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};qi.faEdit=qi.definition;qi.prefix=mo.prefix;qi.iconName=mo.iconName;qi.width=mo.width;qi.height=mo.height;qi.ligatures=mo.aliases;qi.unicode=mo.unicode;qi.svgPathData=mo.svgPathData;qi.aliases=mo.aliases});var uB=Ge(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var aB="far",nB="copy",oB=448,iB=512,$S=[],lB="f0c5",sB="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";Ki.definition={prefix:aB,iconName:nB,icon:[oB,iB,$S,lB,sB]};Ki.faCopy=Ki.definition;Ki.prefix=aB;Ki.iconName=nB;Ki.width=oB;Ki.height=iB;Ki.ligatures=$S;Ki.unicode=lB;Ki.svgPathData=sB;Ki.aliases=$S});var vB=Ge(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var cB="far",dB="file",fB=384,pB=512,GS=[128196,128459,61462],hB="f15b",mB="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";Xi.definition={prefix:cB,iconName:dB,icon:[fB,pB,GS,hB,mB]};Xi.faFile=Xi.definition;Xi.prefix=cB;Xi.iconName=dB;Xi.width=fB;Xi.height=pB;Xi.ligatures=GS;Xi.unicode=hB;Xi.svgPathData=mB;Xi.aliases=GS});var CB=Ge(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var gB="far",_B="trash-can",bB=448,yB=512,qS=[61460,"trash-alt"],SB="f2ed",wB="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";Ji.definition={prefix:gB,iconName:_B,icon:[bB,yB,qS,SB,wB]};Ji.faTrashCan=Ji.definition;Ji.prefix=gB;Ji.iconName=_B;Ji.width=bB;Ji.height=yB;Ji.ligatures=qS;Ji.unicode=SB;Ji.svgPathData=wB;Ji.aliases=qS});var xB=Ge(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var vo=CB();Qi.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=vo.prefix;Qi.iconName=vo.iconName;Qi.width=vo.width;Qi.height=vo.height;Qi.ligatures=vo.aliases;Qi.unicode=vo.unicode;Qi.svgPathData=vo.svgPathData;Qi.aliases=vo.aliases});var AB=Ge(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var TB="far",kB="image",EB=512,RB=512,KS=[],DB="f03e",LB="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";Zi.definition={prefix:TB,iconName:kB,icon:[EB,RB,KS,DB,LB]};Zi.faImage=Zi.definition;Zi.prefix=TB;Zi.iconName=kB;Zi.width=EB;Zi.height=RB;Zi.ligatures=KS;Zi.unicode=DB;Zi.svgPathData=LB;Zi.aliases=KS});var eO=Ge(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var qN="fas",KN="eye",XN=576,JN=512,fw=[128065],QN="f06e",ZN="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";tl.definition={prefix:qN,iconName:KN,icon:[XN,JN,fw,QN,ZN]};tl.faEye=tl.definition;tl.prefix=qN;tl.iconName=KN;tl.width=XN;tl.height=JN;tl.ligatures=fw;tl.unicode=QN;tl.svgPathData=ZN;tl.aliases=fw});var fO=Ge(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var iO="fas",lO="clock",sO=512,uO=512,vw=[128339,"clock-four"],cO="f017",dO="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";al.definition={prefix:iO,iconName:lO,icon:[sO,uO,vw,cO,dO]};al.faClock=al.definition;al.prefix=iO;al.iconName=lO;al.width=sO;al.height=uO;al.ligatures=vw;al.unicode=cO;al.svgPathData=dO;al.aliases=vw});var bO=Ge(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var pO="fas",hO="calendar-days",mO=448,vO=512,gw=["calendar-alt"],gO="f073",_O="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";nl.definition={prefix:pO,iconName:hO,icon:[mO,vO,gw,gO,_O]};nl.faCalendarDays=nl.definition;nl.prefix=pO;nl.iconName=hO;nl.width=mO;nl.height=vO;nl.ligatures=gw;nl.unicode=gO;nl.svgPathData=_O;nl.aliases=gw});var yO=Ge(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var go=bO();ol.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};ol.faCalendarAlt=ol.definition;ol.prefix=go.prefix;ol.iconName=go.iconName;ol.width=go.width;ol.height=go.height;ol.ligatures=go.aliases;ol.unicode=go.unicode;ol.svgPathData=go.svgPathData;ol.aliases=go.aliases});var FO=Ge(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var BO="fas",NO="cloud-arrow-up",OO=640,IO=512,ww=[62338,"cloud-upload","cloud-upload-alt"],PO="f0ee",MO="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";il.definition={prefix:BO,iconName:NO,icon:[OO,IO,ww,PO,MO]};il.faCloudArrowUp=il.definition;il.prefix=BO;il.iconName=NO;il.width=OO;il.height=IO;il.ligatures=ww;il.unicode=PO;il.svgPathData=MO;il.aliases=ww});var s7=Ge(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var r7="fas",a7="grip-vertical",n7=320,o7=512,Dw=[],i7="f58e",l7="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";sl.definition={prefix:r7,iconName:a7,icon:[n7,o7,Dw,i7,l7]};sl.faGripVertical=sl.definition;sl.prefix=r7;sl.iconName=a7;sl.width=n7;sl.height=o7;sl.ligatures=Dw;sl.unicode=i7;sl.svgPathData=l7;sl.aliases=Dw});var v7=Ge(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var c7="fas",d7="filter",f7=512,p7=512,Bw=[],h7="f0b0",m7="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";ul.definition={prefix:c7,iconName:d7,icon:[f7,p7,Bw,h7,m7]};ul.faFilter=ul.definition;ul.prefix=c7;ul.iconName=d7;ul.width=f7;ul.height=p7;ul.ligatures=Bw;ul.unicode=h7;ul.svgPathData=m7;ul.aliases=Bw});var E7=Ge(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S7="fas",w7="palette",C7=512,x7=512,Ow=[127912],T7="f53f",k7="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";cl.definition={prefix:S7,iconName:w7,icon:[C7,x7,Ow,T7,k7]};cl.faPalette=cl.definition;cl.prefix=S7;cl.iconName=w7;cl.width=C7;cl.height=x7;cl.ligatures=Ow;cl.unicode=T7;cl.svgPathData=k7;cl.aliases=Ow});var O7=Ge(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var R7="fas",D7="bars-staggered",L7=512,A7=512,Iw=["reorder","stream"],B7="f550",N7="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";dl.definition={prefix:R7,iconName:D7,icon:[L7,A7,Iw,B7,N7]};dl.faBarsStaggered=dl.definition;dl.prefix=R7;dl.iconName=D7;dl.width=L7;dl.height=A7;dl.ligatures=Iw;dl.unicode=B7;dl.svgPathData=N7;dl.aliases=Iw});var H7=Ge(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var I7="fas",P7="rotate-left",M7=512,F7=512,Pw=["rotate-back","rotate-backward","undo-alt"],z7="f2ea",j7="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";fl.definition={prefix:I7,iconName:P7,icon:[M7,F7,Pw,z7,j7]};fl.faRotateLeft=fl.definition;fl.prefix=I7;fl.iconName=P7;fl.width=M7;fl.height=F7;fl.ligatures=Pw;fl.unicode=z7;fl.svgPathData=j7;fl.aliases=Pw});var q7=Ge(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var U7="fas",V7="rotate-right",W7=512,Y7=512,Mw=["redo-alt","rotate-forward"],$7="f2f9",G7="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";pl.definition={prefix:U7,iconName:V7,icon:[W7,Y7,Mw,$7,G7]};pl.faRotateRight=pl.definition;pl.prefix=U7;pl.iconName=V7;pl.width=W7;pl.height=Y7;pl.ligatures=Mw;pl.unicode=$7;pl.svgPathData=G7;pl.aliases=Mw});var Hw=Ge(()=>{"use strict"});var nI=K(lk()),Ns=K(n5()),G_=K(pr()),Ww=K(dr());var wn={};ed(wn,{$$fromRoot:()=>Tt,Accordion:()=>qf,Box:()=>E,Button:()=>re,ColorObjects:()=>Xh,Column:()=>pt,Config:()=>st,Cropper:()=>wm,DarkmodeColors:()=>rI,DesignBook:()=>$_,Effect:()=>hu,ExtractStyles:()=>Ll,FAI:()=>xe,Flex:()=>_t,FlexBr:()=>NN,GenerateHTMLProps:()=>Do,Grid:()=>ha,Img:()=>On,Input:()=>ot,Label:()=>S_,LaunchReactApp:()=>W_,LeftIcon:()=>Gf,LeftIndicator:()=>E_,LinkifyText:()=>D_,List:()=>mc,ListItem:()=>ns,Loader:()=>Qa,Logo:()=>At,OmitSign:()=>k_,P:()=>BN,PageNotFound:()=>eI,PageViewController:()=>w_,Placeholder:()=>y_,Plate:()=>cm,ReadStyleSet:()=>um,RequiredShortSign:()=>T_,RequiredSign:()=>x_,RightIcon:()=>ja,RightIndicator:()=>R_,RootViewController:()=>rs,Row:()=>We,SetThemeColorTag:()=>Kh,Sheet:()=>Ft,Snackbar:()=>$n,Span:()=>Sn,SwipeView:()=>$f,TabBar:()=>H_,Table:()=>Gn,Text:()=>Ke,ThemeColors:()=>Cm,Tips:()=>rl,Tooltips:()=>Fr,amotify:()=>WG,default:()=>WG,pageRouter:()=>In,useRefresh:()=>Tl,useRouterEffect:()=>V_,useStore:()=>qe});var $W=Object.defineProperty,GW=Object.defineProperties,qW=Object.getOwnPropertyDescriptors,qg=Object.getOwnPropertySymbols,v5=Object.prototype.hasOwnProperty,g5=Object.prototype.propertyIsEnumerable,_5=Math.pow,m5=(r,a,o)=>a in r?$W(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))v5.call(a,o)&&m5(r,o,a[o]);if(qg)for(var o of qg(a))g5.call(a,o)&&m5(r,o,a[o]);return r},D=(r,a)=>GW(r,qW(a)),Qe=(r,a)=>{var o={};for(var l in r)v5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&qg)for(var l of qg(r))a.indexOf(l)<0&&g5.call(r,l)&&(o[l]=r[l]);return o},ea=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())});var jw={};ed(jw,{$$fromRoot:()=>Tt,ColorObjects:()=>Xh,Config:()=>st,DarkmodeColors:()=>rI,ExtractStyles:()=>Ll,GenerateHTMLProps:()=>Do,LaunchReactApp:()=>W_,ReadStyleSet:()=>um,SetThemeColorTag:()=>Kh,ThemeColors:()=>Cm,pageRouter:()=>In,useRefresh:()=>Tl,useRouterEffect:()=>V_,useStore:()=>qe});var Jl=K(dr());var Ro={sessionUID:Jl.default.uuid.gen(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},st={get:()=>Ro,set:r=>{Ro=_(_({},Ro),r)},update:{themeColor:r=>{if(Xh.find(o=>o.key==r)||(r="comun"),r==st.get().themeColor)return;st.set(D(_({},st.get()),{themeColor:r}));let a=(0,Jl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Kh()}),st.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==st.get().darkMode)return;let a=r=="auto"?st.get().isSystemDarkmode()?"dark":"light":r;st.set(D(_({},st.get()),{darkMode:a}));let o=(0,Jl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),st.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=st.get().roundness&&(st.set(D(_({},st.get()),{roundness:r})),st.restart())},screen:r=>{st.get().screen=_(_({},st.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Ro.appRoot=r.appRoot||document.body,Ro.appRoot instanceof HTMLElement&&(Ro.appRoot.tabIndex=0),Jl.default.is.exist(r.roundness)&&st.update.roundness(r.roundness),Jl.default.is.exist(r.themeColor)&&st.update.themeColor(r.themeColor),Jl.default.is.exist(r.darkMode)&&st.update.darkMode(r.darkMode),Ro.deviceIs=o,Ro.browserIs=l,Ro.isPhone=["Android","iPhone"].includes(o),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(o),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(o),Ro.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Jl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+st.get().deviceIs,"bdsDM_"+st.get().darkMode,"bdsTC_"+st.get().themeColor]),(0,Jl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Jl.default)(document.body),u=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.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:()=>{st.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Jl.default)(document.body),d=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-u-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Kh()},restart:()=>{Tl.release("RootViewController_"+st.get().sessionUID)}};var su={},qe={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let d=su[l]||{};d&&d.privateKey&&d.privateKey!=a&&(o=!1),su[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var d;let u=su[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),su[l]=D(_({},su[l]),{value:_(_({},(d=su[l])==null?void 0:d.value),s)})}),o},get:(r,a)=>{let o=su[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=su[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete su[r],!0)}};var Kg=K(dr());var If=K(pr()),Tl={catch:r=>{let[a]=(0,If.useState)(Kg.default.uuid.gen()),[o,l]=(0,If.useState)(Kg.default.uuid.gen()),[s,d]=(0,If.useState)(null),u="RefreshKey_"+a;return(0,If.useEffect)(()=>{var h;qe.set({[u]:v=>{l(Kg.default.uuid.gen()),d(v||null)}});let p=((h=qe.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],qe.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var v;qe.delete(u);let b=((v=qe.get("RefreshKeys_"+r))==null?void 0:v.keys)||[],y=b.indexOf(a);y!==-1&&(b.splice(y,1),qe.update({["RefreshKeys_"+r]:{keys:b}}))}},[]),s},release:(r,a)=>{var o;let l=((o=qe.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let d=qe.get("RefreshKey_"+s);d&&d(a)}}};var Sc=K(pr());var zw={};ed(zw,{Button:()=>re,Cropper:()=>wm,Effect:()=>hu,Input:()=>ot,LeftIcon:()=>Gf,LeftIndicator:()=>E_,Loader:()=>Qa,OmitSign:()=>k_,PageNotFound:()=>eI,PageViewController:()=>w_,Plate:()=>cm,RequiredShortSign:()=>T_,RequiredSign:()=>x_,RightIcon:()=>ja,RightIndicator:()=>R_,RootViewController:()=>rs,Sheet:()=>Ft,Snackbar:()=>$n,SwipeView:()=>$f,TabBar:()=>H_,Table:()=>Gn,Tips:()=>rl,Tooltips:()=>Fr});var kl=K(Ot()),fd=K(pr()),Pn=K(dr());var ew={};ed(ew,{Box:()=>E,Column:()=>pt,FAI:()=>xe,Flex:()=>_t,FlexBr:()=>NN,Grid:()=>ha,Img:()=>On,Label:()=>S_,Logo:()=>At,P:()=>BN,Placeholder:()=>y_,Span:()=>Sn});var pc=K(Ot());var S5=K(Ot());var E=r=>{let a=Do(r),{htmlTag:o}=a,l=Qe(a,["htmlTag"]),s=o||"div";return s?(0,S5.jsx)(s,_({},l)):null};var Ht=K(Ot());var BB=K(VE()),NB=K(JE()),OB=K(nR()),IB=K(dR()),PB=K(_R()),MB=K(TR()),FB=K(BR()),zB=K(zR()),jB=K($R()),HB=K(ZR()),UB=K(iD()),VB=K(pD()),WB=K(yD()),YB=K(ED()),$B=K(OD()),GB=K(dS()),qB=K(pS()),KB=K(mS()),XB=K(o6()),JB=K(p6()),QB=K(y6()),ZB=K(E6()),eN=K(O6()),tN=K(U6()),rN=K(X6()),aN=K(aL()),nN=K(dL()),oN=K(_L()),iN=K(TL()),lN=K(BL()),sN=K(zL()),uN=K($L()),cN=K(ZL()),dN=K(l8()),fN=K(h8()),pN=K(S8()),hN=K(R8()),mN=K(P8()),vN=K(W8()),gN=K(J8()),_N=K(nA()),bN=K(dA()),yN=K(_A()),SN=K(TA()),wN=K(BA()),CN=K(jA()),xN=K(qA()),TN=K(rB()),kN=K(uB()),EN=K(vB()),RN=K(xB()),DN=K(AB()),Vt=r=>{let a=r,{icon:o}=a,l=Qe(a,["icon"]),s=Do(l);return(0,Ht.jsx)(BB.FontAwesomeIcon,D(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},xe=Vt;xe.User=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:wN.faUser})),xe.Times=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:NB.faTimes})),xe.AngleRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:OB.faAngleRight})),xe.AngleLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:IB.faAngleLeft})),xe.AngleUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:PB.faAngleUp})),xe.AngleDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:MB.faAngleDown})),xe.ChevronLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:FB.faChevronLeft})),xe.ChevronRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:zB.faChevronRight})),xe.ChevronUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:jB.faChevronUp})),xe.ChevronDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:HB.faChevronDown})),xe.CaretLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:UB.faCaretLeft})),xe.CaretRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:VB.faCaretRight})),xe.CaretUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:WB.faCaretUp})),xe.CaretDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:YB.faCaretDown})),xe.ArrowLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:$B.faArrowLeft})),xe.ArrowRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:GB.faArrowRight})),xe.ArrowUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:qB.faArrowUp})),xe.ArrowDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:KB.faArrowDown})),xe.Rotate=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:XB.faRotate})),xe.Redo=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:JB.faRedo})),xe.Check=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:QB.faCheck})),xe.CheckCircle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:CN.faCheckCircle})),xe.Question=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:ZB.faQuestion})),xe.QuestionCircle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:xN.faQuestionCircle})),xe.Exclamation=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:eN.faExclamation})),xe.ExclamationTriangle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:tN.faExclamationTriangle})),xe.Home=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:rN.faHome})),xe.Share=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:aN.faShare})),xe.Search=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:nN.faSearch})),xe.YenSign=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:oN.faYenSign})),xe.Heart=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:bN.faHeart})),xe.Star=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:gN.faStar})),xe.Edit=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:TN.faEdit})),xe.Pen=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:iN.faPen})),xe.Copy=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:kN.faCopy})),xe.File=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:EN.faFile})),xe.TrashAlt=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:RN.faTrashAlt})),xe.Bars=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:lN.faBars})),xe.Download=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:sN.faDownload})),xe.Link=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:uN.faLink})),xe.LinkSlash=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:cN.faLinkSlash})),xe.ExternalLinkAlt=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:dN.faExternalLinkAlt})),xe.Gear=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:fN.faGear})),xe.Plus=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:pN.faPlus})),xe.Minus=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:hN.faMinus})),xe.EllipsisH=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:mN.faEllipsisH})),xe.EllipsisV=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:vN.faEllipsisV})),xe.PaperPlane=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:_N.faPaperPlane})),xe.Image=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:DN.faImage})),xe.Ban=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:yN.faBan})),xe.Location=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:SN.faLocationCrosshairs}));var LN=K(Ot());var W$={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},Y$={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"},$$={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},G$={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},q$={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},K$={FixScroll:"_FixScroll_1e0ig_1",Float:"_Float_1e0ig_8",Wrapper:"_Wrapper_1e0ig_16",Wrap:"_Wrap_1e0ig_16",TapSensor:"_TapSensor_1e0ig_30",TapContent:"_TapContent_1e0ig_40",Hide:"_Hide_1e0ig_47",Open:"_Open_1e0ig_50",isMainSheet_true:"_isMainSheet_true_1e0ig_50",Content:"_Content_1e0ig_50",isMainSheet_false:"_isMainSheet_false_1e0ig_54",BB:"_BB_1e0ig_54",Tcate_normal:"_Tcate_normal_1e0ig_57",BaseBody:"_BaseBody_1e0ig_61",Tcate_drawer:"_Tcate_drawer_1e0ig_76",Tpos_left:"_Tpos_left_1e0ig_76",Tpos_right:"_Tpos_right_1e0ig_91",Tpos_bottom:"_Tpos_bottom_1e0ig_106",DragBar:"_DragBar_1e0ig_113",Tcate_custom:"_Tcate_custom_1e0ig_121",CustomSheet:"_CustomSheet_1e0ig_129",GPT:"_GPT_1e0ig_132",Col_1:"_Col_1_1e0ig_132",Row_1:"_Row_1_1e0ig_132",Row_4:"_Row_4_1e0ig_132",Col_4:"_Col_4_1e0ig_132",Row_2:"_Row_2_1e0ig_135",Row_5:"_Row_5_1e0ig_135",Col_2:"_Col_2_1e0ig_138",Col_5:"_Col_5_1e0ig_138",GPT_3:"_GPT_3_1e0ig_144",GPT_18:"_GPT_18_1e0ig_144",GPT_8:"_GPT_8_1e0ig_147",GPT_23:"_GPT_23_1e0ig_147",GPT_11:"_GPT_11_1e0ig_150",GPT_14:"_GPT_14_1e0ig_150",GPT_12:"_GPT_12_1e0ig_153",GPT_15:"_GPT_15_1e0ig_153",Col_3:"_Col_3_1e0ig_163"},X$={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},J$={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},Q$={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"},Z$={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"},eG={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"},tG={Wrap:"_Wrap_2p2fg_1",isLocked_true:"_isLocked_true_2p2fg_16",Tone_Sub_Color_theme:"_Tone_Sub_Color_theme_2p2fg_21",Tone_Clear_Color_theme:"_Tone_Clear_Color_theme_2p2fg_21",Tone_Sub_Color_posi:"_Tone_Sub_Color_posi_2p2fg_24",Tone_Clear_Color_posi:"_Tone_Clear_Color_posi_2p2fg_24",Tone_Sub_Color_nega:"_Tone_Sub_Color_nega_2p2fg_27",Tone_Clear_Color_nega:"_Tone_Clear_Color_nega_2p2fg_27",Tone_Sub_Color_warn:"_Tone_Sub_Color_warn_2p2fg_30",Tone_Clear_Color_warn:"_Tone_Clear_Color_warn_2p2fg_30",Tone_Sub_Color_white:"_Tone_Sub_Color_white_2p2fg_33",Tone_Clear_Color_white:"_Tone_Clear_Color_white_2p2fg_33",Tone_Sub_Color_cloud:"_Tone_Sub_Color_cloud_2p2fg_36",Tone_Clear_Color_cloud:"_Tone_Clear_Color_cloud_2p2fg_36",Tone_Sub_Color_layer:"_Tone_Sub_Color_layer_2p2fg_39",Tone_Clear_Color_layer:"_Tone_Clear_Color_layer_2p2fg_39",isNeutral_true:"_isNeutral_true_2p2fg_43",Tone_Clear:"_Tone_Clear_2p2fg_21",Tone_BorderToFill:"_Tone_BorderToFill_2p2fg_46",Tone_FillToBorder:"_Tone_FillToBorder_2p2fg_49",Tone_FillToBorder_Color_white:"_Tone_FillToBorder_Color_white_2p2fg_52",Tone_FillToBorder_Color_cloud:"_Tone_FillToBorder_Color_cloud_2p2fg_52",Tone_Link:"_Tone_Link_2p2fg_55",Tone_Normal_Color_plain:"_Tone_Normal_Color_plain_2p2fg_62",Tone_Normal_Color_theme:"_Tone_Normal_Color_theme_2p2fg_66",Tone_Normal_Color_posi:"_Tone_Normal_Color_posi_2p2fg_70",Tone_Normal_Color_nega:"_Tone_Normal_Color_nega_2p2fg_74",Tone_Normal_Color_warn:"_Tone_Normal_Color_warn_2p2fg_78",Tone_Border:"_Tone_Border_2p2fg_46",Tone_Prime:"_Tone_Prime_2p2fg_85",Tone_BorderToFill_Color_white:"_Tone_BorderToFill_Color_white_2p2fg_120",Tone_BorderToFill_Color_cloud:"_Tone_BorderToFill_Color_cloud_2p2fg_120"},rG={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var aG={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"},nG={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},oG={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},iG={Input:"_Input_lskuu_1",Label:"_Label_lskuu_7",Dot:"_Dot_lskuu_7"},lG={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"},sG={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 uG={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"},XS=r=>W$[r],el=r=>Y$[r],__=r=>$$[r],JS=r=>G$[r],sm=r=>q$[r],jr=r=>K$[r],ka=r=>X$[r],Ba=r=>J$[r],er=r=>Q$[r],Zl=r=>Z$[r],cc=r=>eG[r],sd=r=>tG[r],Vf=r=>rG[r];var es=r=>aG[r],ud=r=>nG[r],ts=r=>oG[r],cd=r=>iG[r],Ds=r=>lG[r],Ea=r=>sG[r];var b_=r=>uG[r];var On=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,d=Qe(a,["src","alt","showExpand"]);return(0,LN.jsx)(E,D(_({htmlTag:"img",src:o,alt:l,className:[XS("Img"),XS("ShowExpand_"+!!s),d.className].join(" "),onMouseDown:u=>{s&&u.stopPropagation()},onTouchStart:u=>{s&&u.stopPropagation()},onClick:u=>{s&&(u.stopPropagation(),Ft.open({type:"image",src:s!=!0?s:o})),d.onClick&&d.onClick(u)}},d),{freeCSS:_({cursor:s?"zoom-in":"inherit"},d.freeCSS)}))};var lr=K(Ot()),QS=K(dr());var AN={ComunIcon:()=>(0,lr.jsx)("svg",{viewBox:"0,0,1200,1200",className:el("ComunIcon"),children:(0,lr.jsxs)("g",{children:[(0,lr.jsx)("path",{d:`
926
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(z){var ne,pe=z.beat,Se=z.fade,ce=z.beatFade,we=z.bounce,Fe=z.shake,He=z.flash,at=z.spin,Oe=z.spinPulse,ct=z.spinReverse,nr=z.pulse,bt=z.fixedWidth,yt=z.inverse,It=z.border,nt=z.listItem,Ae=z.flip,Ct=z.size,zt=z.rotation,Yt=z.pull,$t=(ne={"fa-beat":pe,"fa-fade":Se,"fa-beat-fade":ce,"fa-bounce":we,"fa-shake":Fe,"fa-flash":He,"fa-spin":at,"fa-spin-reverse":ct,"fa-spin-pulse":Oe,"fa-pulse":nr,"fa-fw":bt,"fa-inverse":yt,"fa-border":It,"fa-li":nt,"fa-flip":Ae===!0,"fa-flip-horizontal":Ae==="horizontal"||Ae==="both","fa-flip-vertical":Ae==="vertical"||Ae==="both"},b(ne,"fa-".concat(Ct),typeof Ct!="undefined"&&Ct!==null),b(ne,"fa-rotate-".concat(zt),typeof zt!="undefined"&&zt!==null&&zt!==0),b(ne,"fa-pull-".concat(Yt),typeof Yt!="undefined"&&Yt!==null),b(ne,"fa-swap-opacity",z.swapOpacity),ne);return Object.keys($t).map(function(ir){return $t[ir]?ir:null}).filter(function(ir){return ir})}function H(z){return z=z-0,z===z}function G(z){return H(z)?z:(z=z.replace(/[\-_\s]+(.)?/g,function(ne,pe){return pe?pe.toUpperCase():""}),z.substr(0,1).toLowerCase()+z.substr(1))}var P=["style"];function oe(z){return z.charAt(0).toUpperCase()+z.slice(1)}function Ee(z){return z.split(";").map(function(ne){return ne.trim()}).filter(function(ne){return ne}).reduce(function(ne,pe){var Se=pe.indexOf(":"),ce=G(pe.slice(0,Se)),we=pe.slice(Se+1).trim();return ce.startsWith("webkit")?ne[oe(ce)]=we:ne[ce]=we,ne},{})}function te(z,ne){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof ne=="string")return ne;var Se=(ne.children||[]).map(function(at){return te(z,at)}),ce=Object.keys(ne.attributes||{}).reduce(function(at,Oe){var ct=ne.attributes[Oe];switch(Oe){case"class":at.attrs.className=ct,delete ne.attributes.class;break;case"style":at.attrs.style=Ee(ct);break;default:Oe.indexOf("aria-")===0||Oe.indexOf("data-")===0?at.attrs[Oe.toLowerCase()]=ct:at.attrs[G(Oe)]=ct}return at},{attrs:{}}),we=pe.style,Fe=we===void 0?{}:we,He=C(pe,P);return ce.attrs.style=p(p({},ce.attrs.style),Fe),z.apply(void 0,[ne.tag,p(p({},ce.attrs),He)].concat(w(Se)))}var be=!1;try{be=!1}catch(z){}function ye(){if(!be&&console&&typeof console.error=="function"){var z;(z=console).error.apply(z,arguments)}}function fe(z){if(z&&v(z)==="object"&&z.prefix&&z.iconName&&z.icon)return z;if(a.parse.icon)return a.parse.icon(z);if(z===null)return null;if(z&&v(z)==="object"&&z.prefix&&z.iconName)return z;if(Array.isArray(z)&&z.length===2)return{prefix:z[0],iconName:z[1]};if(typeof z=="string")return{prefix:"fas",iconName:z}}function I(z,ne){return Array.isArray(ne)&&ne.length>0||!Array.isArray(ne)&&ne?b({},z,ne):{}}var ae=u.default.forwardRef(function(z,ne){var pe=z.icon,Se=z.mask,ce=z.symbol,we=z.className,Fe=z.title,He=z.titleId,at=z.maskId,Oe=fe(pe),ct=I("classes",[].concat(w(V(z)),w(we.split(" ")))),nr=I("transform",typeof z.transform=="string"?a.parse.transform(z.transform):z.transform),bt=I("mask",fe(Se)),yt=a.icon(Oe,p(p(p(p({},ct),nr),bt),{},{symbol:ce,title:Fe,titleId:He,maskId:at}));if(!yt)return ye("Could not find icon",Oe),null;var It=yt.abstract,nt={ref:ne};return Object.keys(z).forEach(function(Ae){ae.defaultProps.hasOwnProperty(Ae)||(nt[Ae]=z[Ae])}),me(It[0],nt)});ae.displayName="FontAwesomeIcon",ae.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},ae.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 me=te.bind(null,u.default.createElement);r.FontAwesomeIcon=ae,Object.defineProperty(r,"__esModule",{value:!0})})});var XE=Ge(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var WE="fas",YE="xmark",$E=384,GE=512,X2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],qE="f00d",KE="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";Yo.definition={prefix:WE,iconName:YE,icon:[$E,GE,X2,qE,KE]};Yo.faXmark=Yo.definition;Yo.prefix=WE;Yo.iconName=YE;Yo.width=$E;Yo.height=GE;Yo.ligatures=X2;Yo.unicode=qE;Yo.svgPathData=KE;Yo.aliases=X2});var JE=Ge($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var no=XE();$o.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};$o.faTimes=$o.definition;$o.prefix=no.prefix;$o.iconName=no.iconName;$o.width=no.width;$o.height=no.height;$o.ligatures=no.aliases;$o.unicode=no.unicode;$o.svgPathData=no.svgPathData;$o.aliases=no.aliases});var nR=Ge(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var QE="fas",ZE="angle-right",eR=320,tR=512,J2=[8250],rR="f105",aR="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";Go.definition={prefix:QE,iconName:ZE,icon:[eR,tR,J2,rR,aR]};Go.faAngleRight=Go.definition;Go.prefix=QE;Go.iconName=ZE;Go.width=eR;Go.height=tR;Go.ligatures=J2;Go.unicode=rR;Go.svgPathData=aR;Go.aliases=J2});var dR=Ge(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var oR="fas",iR="angle-left",lR=320,sR=512,Q2=[8249],uR="f104",cR="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";qo.definition={prefix:oR,iconName:iR,icon:[lR,sR,Q2,uR,cR]};qo.faAngleLeft=qo.definition;qo.prefix=oR;qo.iconName=iR;qo.width=lR;qo.height=sR;qo.ligatures=Q2;qo.unicode=uR;qo.svgPathData=cR;qo.aliases=Q2});var _R=Ge(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var fR="fas",pR="angle-up",hR=448,mR=512,Z2=[8963],vR="f106",gR="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";Ko.definition={prefix:fR,iconName:pR,icon:[hR,mR,Z2,vR,gR]};Ko.faAngleUp=Ko.definition;Ko.prefix=fR;Ko.iconName=pR;Ko.width=hR;Ko.height=mR;Ko.ligatures=Z2;Ko.unicode=vR;Ko.svgPathData=gR;Ko.aliases=Z2});var TR=Ge(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var bR="fas",yR="angle-down",SR=448,wR=512,eS=[8964],CR="f107",xR="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";Xo.definition={prefix:bR,iconName:yR,icon:[SR,wR,eS,CR,xR]};Xo.faAngleDown=Xo.definition;Xo.prefix=bR;Xo.iconName=yR;Xo.width=SR;Xo.height=wR;Xo.ligatures=eS;Xo.unicode=CR;Xo.svgPathData=xR;Xo.aliases=eS});var BR=Ge(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var kR="fas",ER="chevron-left",RR=320,DR=512,tS=[9001],LR="f053",AR="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";Jo.definition={prefix:kR,iconName:ER,icon:[RR,DR,tS,LR,AR]};Jo.faChevronLeft=Jo.definition;Jo.prefix=kR;Jo.iconName=ER;Jo.width=RR;Jo.height=DR;Jo.ligatures=tS;Jo.unicode=LR;Jo.svgPathData=AR;Jo.aliases=tS});var zR=Ge(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var NR="fas",OR="chevron-right",IR=320,PR=512,rS=[9002],MR="f054",FR="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";Qo.definition={prefix:NR,iconName:OR,icon:[IR,PR,rS,MR,FR]};Qo.faChevronRight=Qo.definition;Qo.prefix=NR;Qo.iconName=OR;Qo.width=IR;Qo.height=PR;Qo.ligatures=rS;Qo.unicode=MR;Qo.svgPathData=FR;Qo.aliases=rS});var $R=Ge(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var jR="fas",HR="chevron-up",UR=512,VR=512,aS=[],WR="f077",YR="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";Zo.definition={prefix:jR,iconName:HR,icon:[UR,VR,aS,WR,YR]};Zo.faChevronUp=Zo.definition;Zo.prefix=jR;Zo.iconName=HR;Zo.width=UR;Zo.height=VR;Zo.ligatures=aS;Zo.unicode=WR;Zo.svgPathData=YR;Zo.aliases=aS});var ZR=Ge(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var GR="fas",qR="chevron-down",KR=512,XR=512,nS=[],JR="f078",QR="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";ei.definition={prefix:GR,iconName:qR,icon:[KR,XR,nS,JR,QR]};ei.faChevronDown=ei.definition;ei.prefix=GR;ei.iconName=qR;ei.width=KR;ei.height=XR;ei.ligatures=nS;ei.unicode=JR;ei.svgPathData=QR;ei.aliases=nS});var iD=Ge(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var eD="fas",tD="caret-left",rD=256,aD=512,oS=[],nD="f0d9",oD="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";ti.definition={prefix:eD,iconName:tD,icon:[rD,aD,oS,nD,oD]};ti.faCaretLeft=ti.definition;ti.prefix=eD;ti.iconName=tD;ti.width=rD;ti.height=aD;ti.ligatures=oS;ti.unicode=nD;ti.svgPathData=oD;ti.aliases=oS});var pD=Ge(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var lD="fas",sD="caret-right",uD=256,cD=512,iS=[],dD="f0da",fD="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";ri.definition={prefix:lD,iconName:sD,icon:[uD,cD,iS,dD,fD]};ri.faCaretRight=ri.definition;ri.prefix=lD;ri.iconName=sD;ri.width=uD;ri.height=cD;ri.ligatures=iS;ri.unicode=dD;ri.svgPathData=fD;ri.aliases=iS});var yD=Ge(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var hD="fas",mD="caret-up",vD=320,gD=512,lS=[],_D="f0d8",bD="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";ai.definition={prefix:hD,iconName:mD,icon:[vD,gD,lS,_D,bD]};ai.faCaretUp=ai.definition;ai.prefix=hD;ai.iconName=mD;ai.width=vD;ai.height=gD;ai.ligatures=lS;ai.unicode=_D;ai.svgPathData=bD;ai.aliases=lS});var ED=Ge(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var SD="fas",wD="caret-down",CD=320,xD=512,sS=[],TD="f0d7",kD="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";ni.definition={prefix:SD,iconName:wD,icon:[CD,xD,sS,TD,kD]};ni.faCaretDown=ni.definition;ni.prefix=SD;ni.iconName=wD;ni.width=CD;ni.height=xD;ni.ligatures=sS;ni.unicode=TD;ni.svgPathData=kD;ni.aliases=sS});var OD=Ge(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var RD="fas",DD="arrow-left",LD=448,AD=512,uS=[8592],BD="f060",ND="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";oi.definition={prefix:RD,iconName:DD,icon:[LD,AD,uS,BD,ND]};oi.faArrowLeft=oi.definition;oi.prefix=RD;oi.iconName=DD;oi.width=LD;oi.height=AD;oi.ligatures=uS;oi.unicode=BD;oi.svgPathData=ND;oi.aliases=uS});var dS=Ge(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var ID="fas",PD="arrow-right",MD=448,FD=512,cS=[8594],zD="f061",jD="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";ii.definition={prefix:ID,iconName:PD,icon:[MD,FD,cS,zD,jD]};ii.faArrowRight=ii.definition;ii.prefix=ID;ii.iconName=PD;ii.width=MD;ii.height=FD;ii.ligatures=cS;ii.unicode=zD;ii.svgPathData=jD;ii.aliases=cS});var pS=Ge(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var HD="fas",UD="arrow-up",VD=384,WD=512,fS=[8593],YD="f062",$D="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";li.definition={prefix:HD,iconName:UD,icon:[VD,WD,fS,YD,$D]};li.faArrowUp=li.definition;li.prefix=HD;li.iconName=UD;li.width=VD;li.height=WD;li.ligatures=fS;li.unicode=YD;li.svgPathData=$D;li.aliases=fS});var mS=Ge(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var GD="fas",qD="arrow-down",KD=384,XD=512,hS=[8595],JD="f063",QD="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";si.definition={prefix:GD,iconName:qD,icon:[KD,XD,hS,JD,QD]};si.faArrowDown=si.definition;si.prefix=GD;si.iconName=qD;si.width=KD;si.height=XD;si.ligatures=hS;si.unicode=JD;si.svgPathData=QD;si.aliases=hS});var o6=Ge(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var ZD="fas",e6="rotate",t6=512,r6=512,vS=[128260,"sync-alt"],a6="f2f1",n6="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";ui.definition={prefix:ZD,iconName:e6,icon:[t6,r6,vS,a6,n6]};ui.faRotate=ui.definition;ui.prefix=ZD;ui.iconName=e6;ui.width=t6;ui.height=r6;ui.ligatures=vS;ui.unicode=a6;ui.svgPathData=n6;ui.aliases=vS});var f6=Ge(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var i6="fas",l6="arrow-rotate-right",s6=512,u6=512,gS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],c6="f01e",d6="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";ci.definition={prefix:i6,iconName:l6,icon:[s6,u6,gS,c6,d6]};ci.faArrowRotateRight=ci.definition;ci.prefix=i6;ci.iconName=l6;ci.width=s6;ci.height=u6;ci.ligatures=gS;ci.unicode=c6;ci.svgPathData=d6;ci.aliases=gS});var p6=Ge(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var oo=f6();di.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};di.faRedo=di.definition;di.prefix=oo.prefix;di.iconName=oo.iconName;di.width=oo.width;di.height=oo.height;di.ligatures=oo.aliases;di.unicode=oo.unicode;di.svgPathData=oo.svgPathData;di.aliases=oo.aliases});var y6=Ge(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var h6="fas",m6="check",v6=448,g6=512,_S=[10003,10004],_6="f00c",b6="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";fi.definition={prefix:h6,iconName:m6,icon:[v6,g6,_S,_6,b6]};fi.faCheck=fi.definition;fi.prefix=h6;fi.iconName=m6;fi.width=v6;fi.height=g6;fi.ligatures=_S;fi.unicode=_6;fi.svgPathData=b6;fi.aliases=_S});var E6=Ge(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var S6="fas",w6="question",C6=320,x6=512,bS=[10067,10068,61736],T6="3f",k6="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";pi.definition={prefix:S6,iconName:w6,icon:[C6,x6,bS,T6,k6]};pi.faQuestion=pi.definition;pi.prefix=S6;pi.iconName=w6;pi.width=C6;pi.height=x6;pi.ligatures=bS;pi.unicode=T6;pi.svgPathData=k6;pi.aliases=bS});var O6=Ge(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var R6="fas",D6="exclamation",L6=128,A6=512,yS=[10069,10071,61738],B6="21",N6="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";hi.definition={prefix:R6,iconName:D6,icon:[L6,A6,yS,B6,N6]};hi.faExclamation=hi.definition;hi.prefix=R6;hi.iconName=D6;hi.width=L6;hi.height=A6;hi.ligatures=yS;hi.unicode=B6;hi.svgPathData=N6;hi.aliases=yS});var H6=Ge(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var I6="fas",P6="triangle-exclamation",M6=512,F6=512,SS=[9888,"exclamation-triangle","warning"],z6="f071",j6="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";mi.definition={prefix:I6,iconName:P6,icon:[M6,F6,SS,z6,j6]};mi.faTriangleExclamation=mi.definition;mi.prefix=I6;mi.iconName=P6;mi.width=M6;mi.height=F6;mi.ligatures=SS;mi.unicode=z6;mi.svgPathData=j6;mi.aliases=SS});var U6=Ge(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var io=H6();vi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};vi.faExclamationTriangle=vi.definition;vi.prefix=io.prefix;vi.iconName=io.iconName;vi.width=io.width;vi.height=io.height;vi.ligatures=io.aliases;vi.unicode=io.unicode;vi.svgPathData=io.svgPathData;vi.aliases=io.aliases});var K6=Ge(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var V6="fas",W6="house",Y6=576,$6=512,wS=[127968,63498,63500,"home","home-alt","home-lg-alt"],G6="f015",q6="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";gi.definition={prefix:V6,iconName:W6,icon:[Y6,$6,wS,G6,q6]};gi.faHouse=gi.definition;gi.prefix=V6;gi.iconName=W6;gi.width=Y6;gi.height=$6;gi.ligatures=wS;gi.unicode=G6;gi.svgPathData=q6;gi.aliases=wS});var X6=Ge(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var lo=K6();_i.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};_i.faHome=_i.definition;_i.prefix=lo.prefix;_i.iconName=lo.iconName;_i.width=lo.width;_i.height=lo.height;_i.ligatures=lo.aliases;_i.unicode=lo.unicode;_i.svgPathData=lo.svgPathData;_i.aliases=lo.aliases});var aL=Ge(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var J6="fas",Q6="share",Z6=512,eL=512,CS=["mail-forward"],tL="f064",rL="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";bi.definition={prefix:J6,iconName:Q6,icon:[Z6,eL,CS,tL,rL]};bi.faShare=bi.definition;bi.prefix=J6;bi.iconName=Q6;bi.width=Z6;bi.height=eL;bi.ligatures=CS;bi.unicode=tL;bi.svgPathData=rL;bi.aliases=CS});var cL=Ge(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var nL="fas",oL="magnifying-glass",iL=512,lL=512,xS=[128269,"search"],sL="f002",uL="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";yi.definition={prefix:nL,iconName:oL,icon:[iL,lL,xS,sL,uL]};yi.faMagnifyingGlass=yi.definition;yi.prefix=nL;yi.iconName=oL;yi.width=iL;yi.height=lL;yi.ligatures=xS;yi.unicode=sL;yi.svgPathData=uL;yi.aliases=xS});var dL=Ge(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var so=cL();Si.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Si.faSearch=Si.definition;Si.prefix=so.prefix;Si.iconName=so.iconName;Si.width=so.width;Si.height=so.height;Si.ligatures=so.aliases;Si.unicode=so.unicode;Si.svgPathData=so.svgPathData;Si.aliases=so.aliases});var _L=Ge(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var fL="fas",pL="yen-sign",hL=320,mL=512,TS=[165,"cny","jpy","rmb","yen"],vL="f157",gL="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";wi.definition={prefix:fL,iconName:pL,icon:[hL,mL,TS,vL,gL]};wi.faYenSign=wi.definition;wi.prefix=fL;wi.iconName=pL;wi.width=hL;wi.height=mL;wi.ligatures=TS;wi.unicode=vL;wi.svgPathData=gL;wi.aliases=TS});var TL=Ge(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var bL="fas",yL="pen",SL=512,wL=512,kS=[128394],CL="f304",xL="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";Ci.definition={prefix:bL,iconName:yL,icon:[SL,wL,kS,CL,xL]};Ci.faPen=Ci.definition;Ci.prefix=bL;Ci.iconName=yL;Ci.width=SL;Ci.height=wL;Ci.ligatures=kS;Ci.unicode=CL;Ci.svgPathData=xL;Ci.aliases=kS});var BL=Ge(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var kL="fas",EL="bars",RL=448,DL=512,ES=["navicon"],LL="f0c9",AL="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";xi.definition={prefix:kL,iconName:EL,icon:[RL,DL,ES,LL,AL]};xi.faBars=xi.definition;xi.prefix=kL;xi.iconName=EL;xi.width=RL;xi.height=DL;xi.ligatures=ES;xi.unicode=LL;xi.svgPathData=AL;xi.aliases=ES});var zL=Ge(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var NL="fas",OL="download",IL=512,PL=512,RS=[],ML="f019",FL="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";Ti.definition={prefix:NL,iconName:OL,icon:[IL,PL,RS,ML,FL]};Ti.faDownload=Ti.definition;Ti.prefix=NL;Ti.iconName=OL;Ti.width=IL;Ti.height=PL;Ti.ligatures=RS;Ti.unicode=ML;Ti.svgPathData=FL;Ti.aliases=RS});var $L=Ge(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var jL="fas",HL="link",UL=640,VL=512,DS=[128279,"chain"],WL="f0c1",YL="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";ki.definition={prefix:jL,iconName:HL,icon:[UL,VL,DS,WL,YL]};ki.faLink=ki.definition;ki.prefix=jL;ki.iconName=HL;ki.width=UL;ki.height=VL;ki.ligatures=DS;ki.unicode=WL;ki.svgPathData=YL;ki.aliases=DS});var ZL=Ge(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var GL="fas",qL="link-slash",KL=640,XL=512,LS=["chain-broken","chain-slash","unlink"],JL="f127",QL="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";Ei.definition={prefix:GL,iconName:qL,icon:[KL,XL,LS,JL,QL]};Ei.faLinkSlash=Ei.definition;Ei.prefix=GL;Ei.iconName=qL;Ei.width=KL;Ei.height=XL;Ei.ligatures=LS;Ei.unicode=JL;Ei.svgPathData=QL;Ei.aliases=LS});var i8=Ge(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var e8="fas",t8="up-right-from-square",r8=512,a8=512,AS=["external-link-alt"],n8="f35d",o8="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";Ri.definition={prefix:e8,iconName:t8,icon:[r8,a8,AS,n8,o8]};Ri.faUpRightFromSquare=Ri.definition;Ri.prefix=e8;Ri.iconName=t8;Ri.width=r8;Ri.height=a8;Ri.ligatures=AS;Ri.unicode=n8;Ri.svgPathData=o8;Ri.aliases=AS});var l8=Ge(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var uo=i8();Di.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Di.faExternalLinkAlt=Di.definition;Di.prefix=uo.prefix;Di.iconName=uo.iconName;Di.width=uo.width;Di.height=uo.height;Di.ligatures=uo.aliases;Di.unicode=uo.unicode;Di.svgPathData=uo.svgPathData;Di.aliases=uo.aliases});var h8=Ge(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var s8="fas",u8="gear",c8=512,d8=512,BS=[9881,"cog"],f8="f013",p8="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";Li.definition={prefix:s8,iconName:u8,icon:[c8,d8,BS,f8,p8]};Li.faGear=Li.definition;Li.prefix=s8;Li.iconName=u8;Li.width=c8;Li.height=d8;Li.ligatures=BS;Li.unicode=f8;Li.svgPathData=p8;Li.aliases=BS});var S8=Ge(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var m8="fas",v8="plus",g8=448,_8=512,NS=[10133,61543,"add"],b8="2b",y8="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";Ai.definition={prefix:m8,iconName:v8,icon:[g8,_8,NS,b8,y8]};Ai.faPlus=Ai.definition;Ai.prefix=m8;Ai.iconName=v8;Ai.width=g8;Ai.height=_8;Ai.ligatures=NS;Ai.unicode=b8;Ai.svgPathData=y8;Ai.aliases=NS});var R8=Ge(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var w8="fas",C8="minus",x8=448,T8=512,OS=[8211,8722,10134,"subtract"],k8="f068",E8="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";Bi.definition={prefix:w8,iconName:C8,icon:[x8,T8,OS,k8,E8]};Bi.faMinus=Bi.definition;Bi.prefix=w8;Bi.iconName=C8;Bi.width=x8;Bi.height=T8;Bi.ligatures=OS;Bi.unicode=k8;Bi.svgPathData=E8;Bi.aliases=OS});var I8=Ge(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var D8="fas",L8="ellipsis",A8=448,B8=512,IS=["ellipsis-h"],N8="f141",O8="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";Ni.definition={prefix:D8,iconName:L8,icon:[A8,B8,IS,N8,O8]};Ni.faEllipsis=Ni.definition;Ni.prefix=D8;Ni.iconName=L8;Ni.width=A8;Ni.height=B8;Ni.ligatures=IS;Ni.unicode=N8;Ni.svgPathData=O8;Ni.aliases=IS});var P8=Ge(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var co=I8();Oi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=co.prefix;Oi.iconName=co.iconName;Oi.width=co.width;Oi.height=co.height;Oi.ligatures=co.aliases;Oi.unicode=co.unicode;Oi.svgPathData=co.svgPathData;Oi.aliases=co.aliases});var V8=Ge(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var M8="fas",F8="ellipsis-vertical",z8=128,j8=512,PS=["ellipsis-v"],H8="f142",U8="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";Ii.definition={prefix:M8,iconName:F8,icon:[z8,j8,PS,H8,U8]};Ii.faEllipsisVertical=Ii.definition;Ii.prefix=M8;Ii.iconName=F8;Ii.width=z8;Ii.height=j8;Ii.ligatures=PS;Ii.unicode=H8;Ii.svgPathData=U8;Ii.aliases=PS});var W8=Ge(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var fo=V8();Pi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=fo.prefix;Pi.iconName=fo.iconName;Pi.width=fo.width;Pi.height=fo.height;Pi.ligatures=fo.aliases;Pi.unicode=fo.unicode;Pi.svgPathData=fo.svgPathData;Pi.aliases=fo.aliases});var J8=Ge(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var Y8="fas",$8="star",G8=576,q8=512,MS=[11088,61446],K8="f005",X8="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";Mi.definition={prefix:Y8,iconName:$8,icon:[G8,q8,MS,K8,X8]};Mi.faStar=Mi.definition;Mi.prefix=Y8;Mi.iconName=$8;Mi.width=G8;Mi.height=q8;Mi.ligatures=MS;Mi.unicode=K8;Mi.svgPathData=X8;Mi.aliases=MS});var nA=Ge(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var Q8="fas",Z8="paper-plane",eA=512,tA=512,FS=[61913],rA="f1d8",aA="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";Fi.definition={prefix:Q8,iconName:Z8,icon:[eA,tA,FS,rA,aA]};Fi.faPaperPlane=Fi.definition;Fi.prefix=Q8;Fi.iconName=Z8;Fi.width=eA;Fi.height=tA;Fi.ligatures=FS;Fi.unicode=rA;Fi.svgPathData=aA;Fi.aliases=FS});var dA=Ge(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var oA="fas",iA="heart",lA=512,sA=512,zS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],uA="f004",cA="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";zi.definition={prefix:oA,iconName:iA,icon:[lA,sA,zS,uA,cA]};zi.faHeart=zi.definition;zi.prefix=oA;zi.iconName=iA;zi.width=lA;zi.height=sA;zi.ligatures=zS;zi.unicode=uA;zi.svgPathData=cA;zi.aliases=zS});var _A=Ge(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var fA="fas",pA="ban",hA=512,mA=512,jS=[128683,"cancel"],vA="f05e",gA="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";ji.definition={prefix:fA,iconName:pA,icon:[hA,mA,jS,vA,gA]};ji.faBan=ji.definition;ji.prefix=fA;ji.iconName=pA;ji.width=hA;ji.height=mA;ji.ligatures=jS;ji.unicode=vA;ji.svgPathData=gA;ji.aliases=jS});var TA=Ge(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var bA="fas",yA="location-crosshairs",SA=512,wA=512,HS=["location"],CA="f601",xA="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";Hi.definition={prefix:bA,iconName:yA,icon:[SA,wA,HS,CA,xA]};Hi.faLocationCrosshairs=Hi.definition;Hi.prefix=bA;Hi.iconName=yA;Hi.width=SA;Hi.height=wA;Hi.ligatures=HS;Hi.unicode=CA;Hi.svgPathData=xA;Hi.aliases=HS});var BA=Ge(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var kA="far",EA="user",RA=448,DA=512,US=[128100,62144],LA="f007",AA="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";Ui.definition={prefix:kA,iconName:EA,icon:[RA,DA,US,LA,AA]};Ui.faUser=Ui.definition;Ui.prefix=kA;Ui.iconName=EA;Ui.width=RA;Ui.height=DA;Ui.ligatures=US;Ui.unicode=LA;Ui.svgPathData=AA;Ui.aliases=US});var zA=Ge(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var NA="far",OA="circle-check",IA=512,PA=512,VS=[61533,"check-circle"],MA="f058",FA="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";Vi.definition={prefix:NA,iconName:OA,icon:[IA,PA,VS,MA,FA]};Vi.faCircleCheck=Vi.definition;Vi.prefix=NA;Vi.iconName=OA;Vi.width=IA;Vi.height=PA;Vi.ligatures=VS;Vi.unicode=MA;Vi.svgPathData=FA;Vi.aliases=VS});var jA=Ge(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var po=zA();Wi.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Wi.faCheckCircle=Wi.definition;Wi.prefix=po.prefix;Wi.iconName=po.iconName;Wi.width=po.width;Wi.height=po.height;Wi.ligatures=po.aliases;Wi.unicode=po.unicode;Wi.svgPathData=po.svgPathData;Wi.aliases=po.aliases});var GA=Ge(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var HA="far",UA="circle-question",VA=512,WA=512,WS=[62108,"question-circle"],YA="f059",$A="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";Yi.definition={prefix:HA,iconName:UA,icon:[VA,WA,WS,YA,$A]};Yi.faCircleQuestion=Yi.definition;Yi.prefix=HA;Yi.iconName=UA;Yi.width=VA;Yi.height=WA;Yi.ligatures=WS;Yi.unicode=YA;Yi.svgPathData=$A;Yi.aliases=WS});var qA=Ge($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var ho=GA();$i.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};$i.faQuestionCircle=$i.definition;$i.prefix=ho.prefix;$i.iconName=ho.iconName;$i.width=ho.width;$i.height=ho.height;$i.ligatures=ho.aliases;$i.unicode=ho.unicode;$i.svgPathData=ho.svgPathData;$i.aliases=ho.aliases});var tB=Ge(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var KA="far",XA="pen-to-square",JA=512,QA=512,YS=["edit"],ZA="f044",eB="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";Gi.definition={prefix:KA,iconName:XA,icon:[JA,QA,YS,ZA,eB]};Gi.faPenToSquare=Gi.definition;Gi.prefix=KA;Gi.iconName=XA;Gi.width=JA;Gi.height=QA;Gi.ligatures=YS;Gi.unicode=ZA;Gi.svgPathData=eB;Gi.aliases=YS});var rB=Ge(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var mo=tB();qi.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};qi.faEdit=qi.definition;qi.prefix=mo.prefix;qi.iconName=mo.iconName;qi.width=mo.width;qi.height=mo.height;qi.ligatures=mo.aliases;qi.unicode=mo.unicode;qi.svgPathData=mo.svgPathData;qi.aliases=mo.aliases});var uB=Ge(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var aB="far",nB="copy",oB=448,iB=512,$S=[],lB="f0c5",sB="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";Ki.definition={prefix:aB,iconName:nB,icon:[oB,iB,$S,lB,sB]};Ki.faCopy=Ki.definition;Ki.prefix=aB;Ki.iconName=nB;Ki.width=oB;Ki.height=iB;Ki.ligatures=$S;Ki.unicode=lB;Ki.svgPathData=sB;Ki.aliases=$S});var vB=Ge(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var cB="far",dB="file",fB=384,pB=512,GS=[128196,128459,61462],hB="f15b",mB="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";Xi.definition={prefix:cB,iconName:dB,icon:[fB,pB,GS,hB,mB]};Xi.faFile=Xi.definition;Xi.prefix=cB;Xi.iconName=dB;Xi.width=fB;Xi.height=pB;Xi.ligatures=GS;Xi.unicode=hB;Xi.svgPathData=mB;Xi.aliases=GS});var CB=Ge(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var gB="far",_B="trash-can",bB=448,yB=512,qS=[61460,"trash-alt"],SB="f2ed",wB="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";Ji.definition={prefix:gB,iconName:_B,icon:[bB,yB,qS,SB,wB]};Ji.faTrashCan=Ji.definition;Ji.prefix=gB;Ji.iconName=_B;Ji.width=bB;Ji.height=yB;Ji.ligatures=qS;Ji.unicode=SB;Ji.svgPathData=wB;Ji.aliases=qS});var xB=Ge(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var vo=CB();Qi.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=vo.prefix;Qi.iconName=vo.iconName;Qi.width=vo.width;Qi.height=vo.height;Qi.ligatures=vo.aliases;Qi.unicode=vo.unicode;Qi.svgPathData=vo.svgPathData;Qi.aliases=vo.aliases});var AB=Ge(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var TB="far",kB="image",EB=512,RB=512,KS=[],DB="f03e",LB="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";Zi.definition={prefix:TB,iconName:kB,icon:[EB,RB,KS,DB,LB]};Zi.faImage=Zi.definition;Zi.prefix=TB;Zi.iconName=kB;Zi.width=EB;Zi.height=RB;Zi.ligatures=KS;Zi.unicode=DB;Zi.svgPathData=LB;Zi.aliases=KS});var eO=Ge(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var qN="fas",KN="eye",XN=576,JN=512,fw=[128065],QN="f06e",ZN="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";tl.definition={prefix:qN,iconName:KN,icon:[XN,JN,fw,QN,ZN]};tl.faEye=tl.definition;tl.prefix=qN;tl.iconName=KN;tl.width=XN;tl.height=JN;tl.ligatures=fw;tl.unicode=QN;tl.svgPathData=ZN;tl.aliases=fw});var fO=Ge(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var iO="fas",lO="clock",sO=512,uO=512,vw=[128339,"clock-four"],cO="f017",dO="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";al.definition={prefix:iO,iconName:lO,icon:[sO,uO,vw,cO,dO]};al.faClock=al.definition;al.prefix=iO;al.iconName=lO;al.width=sO;al.height=uO;al.ligatures=vw;al.unicode=cO;al.svgPathData=dO;al.aliases=vw});var bO=Ge(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var pO="fas",hO="calendar-days",mO=448,vO=512,gw=["calendar-alt"],gO="f073",_O="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";nl.definition={prefix:pO,iconName:hO,icon:[mO,vO,gw,gO,_O]};nl.faCalendarDays=nl.definition;nl.prefix=pO;nl.iconName=hO;nl.width=mO;nl.height=vO;nl.ligatures=gw;nl.unicode=gO;nl.svgPathData=_O;nl.aliases=gw});var yO=Ge(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var go=bO();ol.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};ol.faCalendarAlt=ol.definition;ol.prefix=go.prefix;ol.iconName=go.iconName;ol.width=go.width;ol.height=go.height;ol.ligatures=go.aliases;ol.unicode=go.unicode;ol.svgPathData=go.svgPathData;ol.aliases=go.aliases});var FO=Ge(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var BO="fas",NO="cloud-arrow-up",OO=640,IO=512,ww=[62338,"cloud-upload","cloud-upload-alt"],PO="f0ee",MO="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";il.definition={prefix:BO,iconName:NO,icon:[OO,IO,ww,PO,MO]};il.faCloudArrowUp=il.definition;il.prefix=BO;il.iconName=NO;il.width=OO;il.height=IO;il.ligatures=ww;il.unicode=PO;il.svgPathData=MO;il.aliases=ww});var s7=Ge(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var r7="fas",a7="grip-vertical",n7=320,o7=512,Dw=[],i7="f58e",l7="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";sl.definition={prefix:r7,iconName:a7,icon:[n7,o7,Dw,i7,l7]};sl.faGripVertical=sl.definition;sl.prefix=r7;sl.iconName=a7;sl.width=n7;sl.height=o7;sl.ligatures=Dw;sl.unicode=i7;sl.svgPathData=l7;sl.aliases=Dw});var v7=Ge(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var c7="fas",d7="filter",f7=512,p7=512,Bw=[],h7="f0b0",m7="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";ul.definition={prefix:c7,iconName:d7,icon:[f7,p7,Bw,h7,m7]};ul.faFilter=ul.definition;ul.prefix=c7;ul.iconName=d7;ul.width=f7;ul.height=p7;ul.ligatures=Bw;ul.unicode=h7;ul.svgPathData=m7;ul.aliases=Bw});var E7=Ge(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S7="fas",w7="palette",C7=512,x7=512,Ow=[127912],T7="f53f",k7="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";cl.definition={prefix:S7,iconName:w7,icon:[C7,x7,Ow,T7,k7]};cl.faPalette=cl.definition;cl.prefix=S7;cl.iconName=w7;cl.width=C7;cl.height=x7;cl.ligatures=Ow;cl.unicode=T7;cl.svgPathData=k7;cl.aliases=Ow});var O7=Ge(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var R7="fas",D7="bars-staggered",L7=512,A7=512,Iw=["reorder","stream"],B7="f550",N7="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";dl.definition={prefix:R7,iconName:D7,icon:[L7,A7,Iw,B7,N7]};dl.faBarsStaggered=dl.definition;dl.prefix=R7;dl.iconName=D7;dl.width=L7;dl.height=A7;dl.ligatures=Iw;dl.unicode=B7;dl.svgPathData=N7;dl.aliases=Iw});var H7=Ge(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var I7="fas",P7="rotate-left",M7=512,F7=512,Pw=["rotate-back","rotate-backward","undo-alt"],z7="f2ea",j7="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";fl.definition={prefix:I7,iconName:P7,icon:[M7,F7,Pw,z7,j7]};fl.faRotateLeft=fl.definition;fl.prefix=I7;fl.iconName=P7;fl.width=M7;fl.height=F7;fl.ligatures=Pw;fl.unicode=z7;fl.svgPathData=j7;fl.aliases=Pw});var q7=Ge(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var U7="fas",V7="rotate-right",W7=512,Y7=512,Mw=["redo-alt","rotate-forward"],$7="f2f9",G7="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";pl.definition={prefix:U7,iconName:V7,icon:[W7,Y7,Mw,$7,G7]};pl.faRotateRight=pl.definition;pl.prefix=U7;pl.iconName=V7;pl.width=W7;pl.height=Y7;pl.ligatures=Mw;pl.unicode=$7;pl.svgPathData=G7;pl.aliases=Mw});var Hw=Ge(()=>{"use strict"});var nI=K(lk()),Ns=K(n5()),G_=K(pr()),Ww=K(dr());var wn={};ed(wn,{$$fromRoot:()=>Tt,Accordion:()=>qf,Box:()=>E,Button:()=>re,ColorObjects:()=>Xh,Column:()=>pt,Config:()=>st,Cropper:()=>wm,DarkmodeColors:()=>rI,DesignBook:()=>$_,Effect:()=>hu,ExtractStyles:()=>Ll,FAI:()=>xe,Flex:()=>_t,FlexBr:()=>NN,GenerateHTMLProps:()=>Do,Grid:()=>ha,Img:()=>On,Input:()=>ot,Label:()=>S_,LaunchReactApp:()=>W_,LeftIcon:()=>Gf,LeftIndicator:()=>E_,LinkifyText:()=>D_,List:()=>mc,ListItem:()=>ns,Loader:()=>Qa,Logo:()=>At,OmitSign:()=>k_,P:()=>BN,PageNotFound:()=>eI,PageViewController:()=>w_,Placeholder:()=>y_,Plate:()=>cm,ReadStyleSet:()=>um,RequiredShortSign:()=>T_,RequiredSign:()=>x_,RightIcon:()=>ja,RightIndicator:()=>R_,RootViewController:()=>rs,Row:()=>We,SetThemeColorTag:()=>Kh,Sheet:()=>Ft,Snackbar:()=>$n,Span:()=>Sn,SwipeView:()=>$f,TabBar:()=>H_,Table:()=>Gn,Text:()=>Ke,ThemeColors:()=>Cm,Tips:()=>rl,Tooltips:()=>zr,amotify:()=>WG,default:()=>WG,pageRouter:()=>In,useRefresh:()=>Tl,useRouterEffect:()=>V_,useStore:()=>qe});var $W=Object.defineProperty,GW=Object.defineProperties,qW=Object.getOwnPropertyDescriptors,qg=Object.getOwnPropertySymbols,v5=Object.prototype.hasOwnProperty,g5=Object.prototype.propertyIsEnumerable,_5=Math.pow,m5=(r,a,o)=>a in r?$W(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))v5.call(a,o)&&m5(r,o,a[o]);if(qg)for(var o of qg(a))g5.call(a,o)&&m5(r,o,a[o]);return r},D=(r,a)=>GW(r,qW(a)),Qe=(r,a)=>{var o={};for(var l in r)v5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&qg)for(var l of qg(r))a.indexOf(l)<0&&g5.call(r,l)&&(o[l]=r[l]);return o},ea=(r,a,o)=>new Promise((l,s)=>{var d=p=>{try{h(o.next(p))}catch(v){s(v)}},u=p=>{try{h(o.throw(p))}catch(v){s(v)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,u);h((o=o.apply(r,a)).next())});var jw={};ed(jw,{$$fromRoot:()=>Tt,ColorObjects:()=>Xh,Config:()=>st,DarkmodeColors:()=>rI,ExtractStyles:()=>Ll,GenerateHTMLProps:()=>Do,LaunchReactApp:()=>W_,ReadStyleSet:()=>um,SetThemeColorTag:()=>Kh,ThemeColors:()=>Cm,pageRouter:()=>In,useRefresh:()=>Tl,useRouterEffect:()=>V_,useStore:()=>qe});var Jl=K(dr());var Ro={sessionUID:Jl.default.uuid.gen(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},st={get:()=>Ro,set:r=>{Ro=_(_({},Ro),r)},update:{themeColor:r=>{if(Xh.find(o=>o.key==r)||(r="comun"),r==st.get().themeColor)return;st.set(D(_({},st.get()),{themeColor:r}));let a=(0,Jl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Kh()}),st.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==st.get().darkMode)return;let a=r=="auto"?st.get().isSystemDarkmode()?"dark":"light":r;st.set(D(_({},st.get()),{darkMode:a}));let o=(0,Jl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),st.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=st.get().roundness&&(st.set(D(_({},st.get()),{roundness:r})),st.restart())},screen:r=>{st.get().screen=_(_({},st.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Ro.appRoot=r.appRoot||document.body,Ro.appRoot instanceof HTMLElement&&(Ro.appRoot.tabIndex=0),Jl.default.is.exist(r.roundness)&&st.update.roundness(r.roundness),Jl.default.is.exist(r.themeColor)&&st.update.themeColor(r.themeColor),Jl.default.is.exist(r.darkMode)&&st.update.darkMode(r.darkMode),Ro.deviceIs=o,Ro.browserIs=l,Ro.isPhone=["Android","iPhone"].includes(o),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(o),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(o),Ro.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Jl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+st.get().deviceIs,"bdsDM_"+st.get().darkMode,"bdsTC_"+st.get().themeColor]),(0,Jl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Jl.default)(document.body),u=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.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:()=>{st.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Jl.default)(document.body),d=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-u-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Kh()},restart:()=>{Tl.release("RootViewController_"+st.get().sessionUID)}};var su={},qe={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let d=su[l]||{};d&&d.privateKey&&d.privateKey!=a&&(o=!1),su[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var d;let u=su[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),su[l]=D(_({},su[l]),{value:_(_({},(d=su[l])==null?void 0:d.value),s)})}),o},get:(r,a)=>{let o=su[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=su[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete su[r],!0)}};var Kg=K(dr());var If=K(pr()),Tl={catch:r=>{let[a]=(0,If.useState)(Kg.default.uuid.gen()),[o,l]=(0,If.useState)(Kg.default.uuid.gen()),[s,d]=(0,If.useState)(null),u="RefreshKey_"+a;return(0,If.useEffect)(()=>{var h;qe.set({[u]:v=>{l(Kg.default.uuid.gen()),d(v||null)}});let p=((h=qe.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],qe.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var v;qe.delete(u);let b=((v=qe.get("RefreshKeys_"+r))==null?void 0:v.keys)||[],y=b.indexOf(a);y!==-1&&(b.splice(y,1),qe.update({["RefreshKeys_"+r]:{keys:b}}))}},[]),s},release:(r,a)=>{var o;let l=((o=qe.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let d=qe.get("RefreshKey_"+s);d&&d(a)}}};var Sc=K(pr());var zw={};ed(zw,{Button:()=>re,Cropper:()=>wm,Effect:()=>hu,Input:()=>ot,LeftIcon:()=>Gf,LeftIndicator:()=>E_,Loader:()=>Qa,OmitSign:()=>k_,PageNotFound:()=>eI,PageViewController:()=>w_,Plate:()=>cm,RequiredShortSign:()=>T_,RequiredSign:()=>x_,RightIcon:()=>ja,RightIndicator:()=>R_,RootViewController:()=>rs,Sheet:()=>Ft,Snackbar:()=>$n,SwipeView:()=>$f,TabBar:()=>H_,Table:()=>Gn,Tips:()=>rl,Tooltips:()=>zr});var kl=K(Ot()),fd=K(pr()),Pn=K(dr());var ew={};ed(ew,{Box:()=>E,Column:()=>pt,FAI:()=>xe,Flex:()=>_t,FlexBr:()=>NN,Grid:()=>ha,Img:()=>On,Label:()=>S_,Logo:()=>At,P:()=>BN,Placeholder:()=>y_,Span:()=>Sn});var pc=K(Ot());var S5=K(Ot());var E=r=>{let a=Do(r),{htmlTag:o}=a,l=Qe(a,["htmlTag"]),s=o||"div";return s?(0,S5.jsx)(s,_({},l)):null};var Ht=K(Ot());var BB=K(VE()),NB=K(JE()),OB=K(nR()),IB=K(dR()),PB=K(_R()),MB=K(TR()),FB=K(BR()),zB=K(zR()),jB=K($R()),HB=K(ZR()),UB=K(iD()),VB=K(pD()),WB=K(yD()),YB=K(ED()),$B=K(OD()),GB=K(dS()),qB=K(pS()),KB=K(mS()),XB=K(o6()),JB=K(p6()),QB=K(y6()),ZB=K(E6()),eN=K(O6()),tN=K(U6()),rN=K(X6()),aN=K(aL()),nN=K(dL()),oN=K(_L()),iN=K(TL()),lN=K(BL()),sN=K(zL()),uN=K($L()),cN=K(ZL()),dN=K(l8()),fN=K(h8()),pN=K(S8()),hN=K(R8()),mN=K(P8()),vN=K(W8()),gN=K(J8()),_N=K(nA()),bN=K(dA()),yN=K(_A()),SN=K(TA()),wN=K(BA()),CN=K(jA()),xN=K(qA()),TN=K(rB()),kN=K(uB()),EN=K(vB()),RN=K(xB()),DN=K(AB()),Vt=r=>{let a=r,{icon:o}=a,l=Qe(a,["icon"]),s=Do(l);return(0,Ht.jsx)(BB.FontAwesomeIcon,D(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},xe=Vt;xe.User=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:wN.faUser})),xe.Times=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:NB.faTimes})),xe.AngleRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:OB.faAngleRight})),xe.AngleLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:IB.faAngleLeft})),xe.AngleUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:PB.faAngleUp})),xe.AngleDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:MB.faAngleDown})),xe.ChevronLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:FB.faChevronLeft})),xe.ChevronRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:zB.faChevronRight})),xe.ChevronUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:jB.faChevronUp})),xe.ChevronDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:HB.faChevronDown})),xe.CaretLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:UB.faCaretLeft})),xe.CaretRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:VB.faCaretRight})),xe.CaretUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:WB.faCaretUp})),xe.CaretDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:YB.faCaretDown})),xe.ArrowLeft=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:$B.faArrowLeft})),xe.ArrowRight=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:GB.faArrowRight})),xe.ArrowUp=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:qB.faArrowUp})),xe.ArrowDown=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:KB.faArrowDown})),xe.Rotate=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:XB.faRotate})),xe.Redo=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:JB.faRedo})),xe.Check=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:QB.faCheck})),xe.CheckCircle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:CN.faCheckCircle})),xe.Question=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:ZB.faQuestion})),xe.QuestionCircle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:xN.faQuestionCircle})),xe.Exclamation=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:eN.faExclamation})),xe.ExclamationTriangle=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:tN.faExclamationTriangle})),xe.Home=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:rN.faHome})),xe.Share=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:aN.faShare})),xe.Search=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:nN.faSearch})),xe.YenSign=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:oN.faYenSign})),xe.Heart=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:bN.faHeart})),xe.Star=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:gN.faStar})),xe.Edit=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:TN.faEdit})),xe.Pen=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:iN.faPen})),xe.Copy=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:kN.faCopy})),xe.File=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:EN.faFile})),xe.TrashAlt=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:RN.faTrashAlt})),xe.Bars=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:lN.faBars})),xe.Download=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:sN.faDownload})),xe.Link=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:uN.faLink})),xe.LinkSlash=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:cN.faLinkSlash})),xe.ExternalLinkAlt=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:dN.faExternalLinkAlt})),xe.Gear=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:fN.faGear})),xe.Plus=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:pN.faPlus})),xe.Minus=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:hN.faMinus})),xe.EllipsisH=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:mN.faEllipsisH})),xe.EllipsisV=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:vN.faEllipsisV})),xe.PaperPlane=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:_N.faPaperPlane})),xe.Image=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:DN.faImage})),xe.Ban=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:yN.faBan})),xe.Location=r=>(0,Ht.jsx)(Vt,D(_({},r),{icon:SN.faLocationCrosshairs}));var LN=K(Ot());var W$={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},Y$={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"},$$={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},G$={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},q$={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},K$={FixScroll:"_FixScroll_1e0ig_1",Float:"_Float_1e0ig_8",Wrapper:"_Wrapper_1e0ig_16",Wrap:"_Wrap_1e0ig_16",TapSensor:"_TapSensor_1e0ig_30",TapContent:"_TapContent_1e0ig_40",Hide:"_Hide_1e0ig_47",Open:"_Open_1e0ig_50",isMainSheet_true:"_isMainSheet_true_1e0ig_50",Content:"_Content_1e0ig_50",isMainSheet_false:"_isMainSheet_false_1e0ig_54",BB:"_BB_1e0ig_54",Tcate_normal:"_Tcate_normal_1e0ig_57",BaseBody:"_BaseBody_1e0ig_61",Tcate_drawer:"_Tcate_drawer_1e0ig_76",Tpos_left:"_Tpos_left_1e0ig_76",Tpos_right:"_Tpos_right_1e0ig_91",Tpos_bottom:"_Tpos_bottom_1e0ig_106",DragBar:"_DragBar_1e0ig_113",Tcate_custom:"_Tcate_custom_1e0ig_121",CustomSheet:"_CustomSheet_1e0ig_129",GPT:"_GPT_1e0ig_132",Col_1:"_Col_1_1e0ig_132",Row_1:"_Row_1_1e0ig_132",Row_4:"_Row_4_1e0ig_132",Col_4:"_Col_4_1e0ig_132",Row_2:"_Row_2_1e0ig_135",Row_5:"_Row_5_1e0ig_135",Col_2:"_Col_2_1e0ig_138",Col_5:"_Col_5_1e0ig_138",GPT_3:"_GPT_3_1e0ig_144",GPT_18:"_GPT_18_1e0ig_144",GPT_8:"_GPT_8_1e0ig_147",GPT_23:"_GPT_23_1e0ig_147",GPT_11:"_GPT_11_1e0ig_150",GPT_14:"_GPT_14_1e0ig_150",GPT_12:"_GPT_12_1e0ig_153",GPT_15:"_GPT_15_1e0ig_153",Col_3:"_Col_3_1e0ig_163"},X$={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},J$={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},Q$={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"},Z$={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"},eG={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"},tG={Wrap:"_Wrap_2p2fg_1",isLocked_true:"_isLocked_true_2p2fg_16",Tone_Sub_Color_theme:"_Tone_Sub_Color_theme_2p2fg_21",Tone_Clear_Color_theme:"_Tone_Clear_Color_theme_2p2fg_21",Tone_Sub_Color_posi:"_Tone_Sub_Color_posi_2p2fg_24",Tone_Clear_Color_posi:"_Tone_Clear_Color_posi_2p2fg_24",Tone_Sub_Color_nega:"_Tone_Sub_Color_nega_2p2fg_27",Tone_Clear_Color_nega:"_Tone_Clear_Color_nega_2p2fg_27",Tone_Sub_Color_warn:"_Tone_Sub_Color_warn_2p2fg_30",Tone_Clear_Color_warn:"_Tone_Clear_Color_warn_2p2fg_30",Tone_Sub_Color_white:"_Tone_Sub_Color_white_2p2fg_33",Tone_Clear_Color_white:"_Tone_Clear_Color_white_2p2fg_33",Tone_Sub_Color_cloud:"_Tone_Sub_Color_cloud_2p2fg_36",Tone_Clear_Color_cloud:"_Tone_Clear_Color_cloud_2p2fg_36",Tone_Sub_Color_layer:"_Tone_Sub_Color_layer_2p2fg_39",Tone_Clear_Color_layer:"_Tone_Clear_Color_layer_2p2fg_39",isNeutral_true:"_isNeutral_true_2p2fg_43",Tone_Clear:"_Tone_Clear_2p2fg_21",Tone_BorderToFill:"_Tone_BorderToFill_2p2fg_46",Tone_FillToBorder:"_Tone_FillToBorder_2p2fg_49",Tone_FillToBorder_Color_white:"_Tone_FillToBorder_Color_white_2p2fg_52",Tone_FillToBorder_Color_cloud:"_Tone_FillToBorder_Color_cloud_2p2fg_52",Tone_Link:"_Tone_Link_2p2fg_55",Tone_Normal_Color_plain:"_Tone_Normal_Color_plain_2p2fg_62",Tone_Normal_Color_theme:"_Tone_Normal_Color_theme_2p2fg_66",Tone_Normal_Color_posi:"_Tone_Normal_Color_posi_2p2fg_70",Tone_Normal_Color_nega:"_Tone_Normal_Color_nega_2p2fg_74",Tone_Normal_Color_warn:"_Tone_Normal_Color_warn_2p2fg_78",Tone_Border:"_Tone_Border_2p2fg_46",Tone_Prime:"_Tone_Prime_2p2fg_85",Tone_BorderToFill_Color_white:"_Tone_BorderToFill_Color_white_2p2fg_120",Tone_BorderToFill_Color_cloud:"_Tone_BorderToFill_Color_cloud_2p2fg_120"},rG={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var aG={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"},nG={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},oG={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},iG={Input:"_Input_lskuu_1",Label:"_Label_lskuu_7",Dot:"_Dot_lskuu_7"},lG={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"},sG={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 uG={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"},XS=r=>W$[r],el=r=>Y$[r],__=r=>$$[r],JS=r=>G$[r],sm=r=>q$[r],Hr=r=>K$[r],ka=r=>X$[r],Ba=r=>J$[r],er=r=>Q$[r],Zl=r=>Z$[r],cc=r=>eG[r],sd=r=>tG[r],Vf=r=>rG[r];var es=r=>aG[r],ud=r=>nG[r],ts=r=>oG[r],cd=r=>iG[r],Ds=r=>lG[r],Ea=r=>sG[r];var b_=r=>uG[r];var On=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,d=Qe(a,["src","alt","showExpand"]);return(0,LN.jsx)(E,D(_({htmlTag:"img",src:o,alt:l,className:[XS("Img"),XS("ShowExpand_"+!!s),d.className].join(" "),onMouseDown:u=>{s&&u.stopPropagation()},onTouchStart:u=>{s&&u.stopPropagation()},onClick:u=>{s&&(u.stopPropagation(),Ft.open({type:"image",src:s!=!0?s:o})),d.onClick&&d.onClick(u)}},d),{freeCSS:_({cursor:s?"zoom-in":"inherit"},d.freeCSS)}))};var lr=K(Ot()),QS=K(dr());var AN={ComunIcon:()=>(0,lr.jsx)("svg",{viewBox:"0,0,1200,1200",className:el("ComunIcon"),children:(0,lr.jsxs)("g",{children:[(0,lr.jsx)("path",{d:`
927
927
  M
928
928
  100,600
929
929
  A 500,500 0 0,0 600,1100
@@ -975,9 +975,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
975
975
  Z
976
976
  `,className:[el("P"),el("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,lr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:el("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},dc={Icon:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(AN.MingooIcon,{})})),Title:r=>(0,lr.jsx)(At.Title,D(_({className:el("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Qe(a,["size","color"]);return(0,lr.jsxs)(_t,D(_({gap:"1/2",flexCenter:!0},s),{children:[(0,lr.jsx)(dc.Icon,{size:o,color:l}),(0,lr.jsx)(dc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Qe(a,["size","color"]);return(0,lr.jsxs)(_t,D(_({flexType:"col",gap:"1/2"},s),{children:[(0,lr.jsx)(dc.Icon,{margin:"auto",size:o,color:l}),(0,lr.jsx)(dc.Title,{size:o,color:l})]}))}},fc={Icon:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(AN.ComunIcon,{})})),Title:r=>(0,lr.jsx)(At.Title,D(_({className:el("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Qe(a,["size","color"]);return(0,lr.jsxs)(_t,D(_({gap:"1/2",flexCenter:!0},s),{children:[(0,lr.jsx)(fc.Icon,{size:o,color:l}),(0,lr.jsx)(fc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Qe(a,["size","color"]);return(0,lr.jsxs)(_t,D(_({flexType:"col",gap:"1/2"},s),{children:[(0,lr.jsx)(fc.Icon,{margin:"auto",size:o,color:l}),(0,lr.jsx)(fc.Title,{size:o,color:l})]}))}},pu="https://cdn.amotify.com/",At={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,u=Qe(a,["size","color","className","children"]);return(0,lr.jsx)(_t,D(_({className:[s,el("Icon"),el("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:QS.default.is.function(d)?(0,lr.jsx)(d,{}):d}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:d}=a,u=Qe(a,["size","color","className","children"]);return(0,lr.jsx)(_t,D(_({className:[s,el("Title"),el("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:QS.default.is.function(d)?(0,lr.jsx)(d,{}):d}))},Brands:{MingooIcon:dc.Icon,MingooTitle:dc.Title,MingooLogoH:dc.LogoH,MingooLogoV:dc.LogoV,ComunIcon:fc.Icon,ComunTitle:fc.Title,ComunLogoH:fc.LogoH,ComunLogoV:fc.LogoV,Google:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(On,{src:pu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(On,{src:pu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(On,{src:pu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,lr.jsx)(At.Icon,D(_({},r),{children:(0,lr.jsx)(On,{src:pu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:pu+"@env/@logos/mingoo/icon.png",mingooIconClear:pu+"@env/@logos/mingoo/iconClear.png",comunIcon:pu+"@env/@logos/comun/icon.png",comunIconClear:pu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>pu+"@env/@icon/"+(r||"image")+".png"}};var ZS=K(Ot());var y_=r=>{let a=r,{color:o="cloud"}=a,l=Qe(a,["color"]);return(0,ZS.jsx)(E,D(_({className:[__("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,ZS.jsx)(E,{className:[__("Body"),__("Color_"+o)].join(" ")})}))};var Sn=r=>(0,pc.jsx)(E,D(_({},r),{htmlTag:"span"})),BN=r=>(0,pc.jsx)(E,D(_({},r),{htmlTag:"p"})),S_=r=>(0,pc.jsx)(E,D(_({},r),{htmlTag:"label"})),ha=r=>(0,pc.jsx)(E,_({display:"grid"},r)),_t=r=>(0,pc.jsx)(E,D(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),NN=r=>(0,pc.jsx)(E,_({width:1,flexSizing:"none"},r)),pt=r=>(0,pc.jsx)(_t,_({flexType:"col",gap:1},r));var Ls=K(Ot()),rw=K(dr());var ON={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["Plain","Link"].includes(a)?{}:(o=="XS"?s=D(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="S"?s=D(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="R"?(s.padding=["3/4",1],a=="Prime"&&(s.padding=["3/4",2])):o=="L"&&(s.padding=[1,3],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="Plain"||(a=="Link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="Normal"?s=D(_({},s),{backgroundColor:"trans"}):a=="Border"?s=D(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="Prime"?(s=D(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=D(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="Sub"?s=D(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="Clear"?s=D(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="FillToBorder"?s=D(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="BorderToFill"&&(s=D(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="3.blur"),a!="Link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},Wf=r=>{let a=um(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme","aria-label":rw.default.uuid.gen()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:d={},isActiveClassName:u="",tone:h="border",color:p="theme",className:v=""}=a;a=_(_(_({},ON.Size(r.seed,r.tone,r.size,p)),ON.Tone(r.seed,r.tone,r.size,p)),a),a.className=[v,sd("Wrap"),sd("isNeutral_"+!s),sd("isLocked_"+l),sd("Tone_"+h),sd("Color_"+p),sd("Tone_"+h+"_Color_"+p)].join(" "),s&&(a=_(_({className:[a.className,u].join(" ")},a),d))}if(o=="Button"){let l=a,{isLocked:s,isActive:d,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:v}=l,b=Qe(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),b=D(_({},b),{"data-form-submit-button":p.formName,"data-sdfike":rw.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ls.jsx)(E,_({htmlTag:"button",onClick:y=>ea(void 0,null,function*(){if(v&&v(y),!p)return;let C=yield ot.CollectForm(p.formName);!p.acceptInvalidForm&&!C.valid||p.callback(C.data,C.valid)})},b))}else if(o=="Label"){let l=a,{isLocked:s,isActive:d,isActiveClassName:u,isActiveStyles:h}=l,p=Qe(l,["isLocked","isActive","isActiveClassName","isActiveStyles"]);return(0,Ls.jsx)(E,_({htmlTag:"label"},p))}else if(o=="Anchor"){let l=a,{isLocked:s,isActive:d,isActiveClassName:u,isActiveStyles:h,href:p="",newTab:v,sync:b,shiftQueryParams:y}=l,C=Qe(l,["isLocked","isActive","isActiveClassName","isActiveStyles","href","newTab","sync","shiftQueryParams"]);return(0,Ls.jsx)(E,_({htmlTag:"button",onClick:w=>{let k=w.ctrlKey||w.metaKey,B=v||!!k,M=p;y&&(M+=location.search),b?In.pushSync(M):In.push(M,!!B)}},C))}return null},dd=(r,a)=>({XS:o=>(0,Ls.jsx)(Wf,D(_({},o),{seed:r,tone:a,size:"S"})),S:o=>(0,Ls.jsx)(Wf,D(_({},o),{seed:r,tone:a,size:"S"})),R:o=>(0,Ls.jsx)(Wf,D(_({},o),{seed:r,tone:a,size:"R"})),L:o=>(0,Ls.jsx)(Wf,D(_({},o),{seed:r,tone:a,size:"L"}))}),tw=r=>({Plain:a=>(0,Ls.jsx)(Wf,D(_({},a),{seed:r,tone:"Plain",size:"R"})),Link:a=>(0,Ls.jsx)(Wf,D(_({},a),{seed:r,tone:"Link",size:"R"})),Normal:dd(r,"Normal"),Border:dd(r,"Border"),Prime:dd(r,"Prime"),Sub:dd(r,"Sub"),Clear:dd(r,"Clear"),FillToBorder:dd(r,"FillToBorder"),BorderToFill:dd(r,"BorderToFill")}),re={Button:tw("Button"),Label:tw("Label"),Anchor:tw("Anchor")};var rs={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:d,className:u}=a,h=Qe(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,fd.useEffect)(()=>{rs.fn.updateCSSProperty.reset(),setTimeout(()=>{rs.fn.updateCSSProperty.reset()},100);let v="ResizeCB",b="RemovePageEventCB";return(0,Pn.default)(window).addEvent({eventType:"resize",eventID:v,callback:()=>{st.get().screen.isPhonepoint()||(Pn.default.interval.clear("__RVC_calcHeights"),Pn.default.interval.standBy("__RVC_calcHeights",300,()=>{rs.fn.updateCSSProperty.reset()}))}}),()=>{(0,Pn.default)(window).removeEvent(b),(0,Pn.default)(window).removeEvent(v)}},[]);let p=d;return(0,kl.jsxs)(pt,D(_({className:[u,Ba("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,kl.jsxs)(_t,{className:Ba("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,kl.jsx)(E,{className:Ba("Content"),position:"relative",flexSizing:0,width:0,UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Qe(a,["className","children"]),[d]=(0,fd.useState)(Pn.default.uuid.gen());return(0,fd.useEffect)(()=>{rs.fn.updateCSSProperty.topNav()},[]),(0,kl.jsx)(_t,D(_({"data-id":d,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Ba("TopNav")].join(" "),children:l}),d)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Qe(a,["className"]);return(0,kl.jsx)(E,_({className:[o,Ba("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Qe(a,["className","baseStyles"]),[d]=(0,fd.useState)(Pn.default.uuid.gen());return(0,fd.useEffect)(()=>{rs.fn.updateCSSProperty.footer()},[]),(0,kl.jsx)(_t,D(_({"data-id":d,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Ba("FooterNav"),o].join(" "),children:(0,kl.jsx)(_t,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,d=Qe(a,["isActive","uri","uriGroup"]),u=Pn.default.flatArray(s),h=location.pathname;{let p=!1;if(Pn.default.is.exist(l)&&Pn.default.is.string(l)){let v=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(v).pathname}if(!p&&u.length)for(let v of u)Pn.default.is.nullish(v)||h.match(new RegExp(v))&&(p=!0);o=o!=null?o:p}return(0,kl.jsx)(re.Button.Clear.R,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Pn.default.is.exist(l)&&Pn.default.is.string(l)&&In.push(l,p.ctrlKey||p.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},d))},Bar:r=>(0,kl.jsx)(E,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,kl.jsx)(E,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Pn.default)(document.body),a=Tt("#__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,Pn.default)(document.body),a=Tt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},reset:()=>{let r=(0,Pn.default)(document.body),a=Tt("#__RVC_TopNavigation"),o=Tt("#__RVC_FooterNavigation"),l=a.position().height||0,s=l,d=o.position().height||0;a.getStyleProperty("position")!="sticky"&&(s=0);let u=window.innerHeight,h=u-l-d;r.setStyleProperty("--topNavHeight",l+"px").setStyleProperty("--topBase",s+"px").setStyleProperty("--footerNavHeight",d+"px").setStyleProperty("--viewHeight",u+"px").setStyleProperty("--sideNavHeight",h+"px").setStyleProperty("--contentHeight",h+"px")}}}};var IN=K(Ot());var cm=r=>{let a=r,{size:o="R"}=a,l=Qe(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,IN.jsx)(E,D(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var dm=K(Ot()),jN=K(pr());var aw=K(Ot()),nw=K(dr());var Yf=K(pr());var PN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=nw.default.uuid.gen()}=a,d=Qe(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yf.useState)(s);return(0,Yf.useEffect)(()=>{setTimeout(()=>{let h=Tt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,aw.jsx)(E,D(_({},d),{freeCSS:D(_({},d.freeCSS),{opacity:0}),componentID:u}))},MN=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=nw.default.uuid.gen()}=a,d=Qe(a,["animationDelay","animationTime","componentID"]),[u]=(0,Yf.useState)(s);return(0,Yf.useEffect)(()=>{setTimeout(()=>{let h=Tt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,aw.jsx)(E,D(_({paddingTop:2},d),{freeCSS:D(_({},d.freeCSS),{opacity:0}),componentID:u}))};var as=K(dr());var pd={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=as.default.Time().ms,o=r.target,l=(0,as.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let F=l.parent('[data-effect-ripple="1"]');if(!F[0])return;l=F,s=F.getAttribute("data-effect-tone")}if(!s)return;let d="RippleWrap-"+as.default.uuid.gen(),{left:u,top:h,height:p,width:v}=l.position(),{pageXOffset:b,pageYOffset:y}=as.default.getScreenSize(),{x:C,y:w}=as.default.getCursor(r),k=Math.min(v*1.5,300),B=Math.max(C-(u+b),0),M=Math.max(w-(h+y),0),X={RippleElement:l,startedAt:a,size:k};(0,as.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pd.End(X)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pd.End(X)},20)}}),(0,as.default)(l).addClass([Zl("RippleElement"),Zl("Color_"+s)]).append(`<div class="${Zl("RippleWrap")}" id="${d}">
977
977
  <div class="${Zl("Wave")}" />
978
- </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:F=>{pd.End(X)}}).find("#"+d).find("."+Zl("Wave")).css({left:B,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=as.default.Time().ms-o<=400?".75s":".55s",d=l*2.5;(0,as.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Zl("Wave")).css({height:d,width:d,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},FN={Wrapper:()=>(typeof window=="undefined"||(0,as.default)(st.get().appRoot).addEvent({eventType:"touchstart",target:pd.RippleElementTag,callback:r=>{pd.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pd.RippleElementTag,callback:r=>{st.get().isTouchDevice||pd.Start(r)}}),null)};var ow=K(dr());var zN={Wrapper:()=>(typeof window=="undefined"||(0,ow.default)(st.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,ow.default)(r.target).removeClass(Zl("PuddingEffect")).await(1).addClass(Zl("PuddingEffect")).await(510).removeClass(Zl("PuddingEffect"))}}),null)};var hu={Ripple:FN,Pudding:zN,FadeIn:PN,FadeUp:MN};var w_=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,dm.jsx)(hu.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,d]=(0,jN.useState)(a);return s!=a&&d(a),(0,dm.jsx)(dm.Fragment,{children:l(o[a])})};var fm=K(Ot()),mu=K(pr()),El=K(dr());var cG=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:d=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=V=>V,slides:v=[],slideIndex:b}=a,y=Qe(a,["options","wrapper","slides","slideIndex"]),[C]=(0,mu.useState)(El.default.uuid.gen()),[w,k]=(0,mu.useState)({eventType:"init",index:r.slideIndex});(0,mu.useEffect)(()=>{qe.set({["SwipeTimer-"+C]:null})},[]);let B=(0,mu.useRef)(!1);(0,mu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),B.current||(B.current=!0)},[r.slideIndex]),(0,mu.useEffect)(()=>{let V=w.index+(d?1:0),H=[-1,v.length].includes(w.index);H||o&&setTimeout(()=>{o(w.index)},300);let G=Tt("#Swiper-"+C);if(w.eventType=="adjustLoop")G.await(250).css({transition:"0s",transform:Ao.TrasformString(V)}).children().removeClass(Ba("Display")).parent().children(V).addClass([Ba("Display"),Ba("LoopAdjusting")]).await(100).removeClass(Ba("LoopAdjusting"));else if(w.eventType=="sys")G.await(250).css({transform:Ao.TrasformString(V)}).children().removeClass(Ba("Display")).parent().children(V).addClass(Ba("Display"));else if(G.children().removeClass(Ba("Display")).parent().children(V).addClass(Ba("Display")).parent().css({transition:"0.3s",transform:Ao.TrasformString(V)}).await(250).css({transition:"0s"}),H){let P=w.index==-1?v.length-1:0;k({eventType:"adjustLoop",index:P})}s&&!H&&(El.default.interval.clear("SwipeTimer-"+C),El.default.interval.standBy("SwipeTimer-"+C,s-(w.eventType=="sys"?310:0),()=>{let P=w.index+1;!d&&P>v.length-1&&(P=0),k({eventType:"usr",index:P})}))},[w]);let M=v.map((V,H)=>(0,fm.jsx)(E,{flexSizing:"none",width:1,height:0,className:Ba("Child"),children:p(V)},H));d&&(M.push(M[0]),M.unshift(M[M.length-2]));let X={x:0,y:0,process:!1,effectStartAt:0,id:C,loop:d,index:w.index,minIndex:d?-1:0,maxIndex:v.length+(d?1:-1),width:0,set_event:k},F=w.index+(d?1:0);return(0,fm.jsx)(E,D(_({overflow:"hidden",position:"relative"},y),{className:[y.className,Ba("SwipeView")].join(" "),freeCSS:_({zIndex:1},y.freeCSS),"data-swipe-id":C,onMouseDown:V=>{u||V.buttons==1&&Ao.EffectStart(V,X)},onTouchStart:V=>{var H;h||((H=V.touches)==null?void 0:H.length)==1&&Ao.EffectStart(V,X)},children:(0,fm.jsx)(_t,{flexWrap:!1,gap:1,transition:"long",className:[Ba("Rail"),Ba("ShowOther_"+l)].join(" "),id:"Swiper-"+C,freeCSS:_({},B.current?{}:{transform:Ao.TrasformString(F)}),children:M})}))},Ao={TrasformString:r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,EffectStart:(r,a)=>{let{x:o,y:l}=El.default.getCursor(r),s=r.currentTarget,d=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(d.tagName))return;a=D(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:Tt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,El.default)(document).addEvent({eventID:"SwipeMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeMouseUp",eventType:"mouseup",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchEnd",eventType:"touchend",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}})},EffectCheck:(r,a)=>{if(a.process)return;let{x:o,y:l}=El.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),d=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(d+s<15))if(d>s/2)(0,El.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);Tt("#Swiper-"+a.id).children(u-1).addClass(Ba("Display")),(0,El.default)(document).addEvent({eventID:"SwipeCheckMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeCheckTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}),r.preventDefault();return}},EffectMove:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=El.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let d=s-a.maxIndex;s=a.maxIndex+d/2}Tt("#Swiper-"+a.id).css({transition:"0s",transform:Ao.TrasformString(s)}),r.preventDefault()},EffectEnd:(r,a)=>{if(a.process){let o=El.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,d=a.index+(a.loop?1:0),u=0;s<400?u=d-(+(o>0)*2-1):u=Math.round(d-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,d===u?(a.effectStartAt=l,Tt("#Swiper-"+a.id).css({transition:".2s",transform:Ao.TrasformString(u)}).await(310).css({transition:"0s"}).children().removeClass(Ba("Display")).parent().children(d).addClass(Ba("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,El.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove","SwipeCheckMouseMove","SwipeCheckTouchMove","SwipeMouseUp","SwipeTouchEnd"])}},$f=r=>(0,fm.jsx)(cG,D(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var j_=K(Ot()),QO=K(pr());var hc=K(Ot());var HN=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=D(_({},a),{border:!0}):r=="cloud"?a=D(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=D(_({},a),{borderRadius:0,borderBottom:!0})),a},C_={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},x_=r=>(0,hc.jsx)(Sn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),T_=r=>(0,hc.jsx)(Sn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),k_=r=>(0,hc.jsx)(Sn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),E_=r=>{let a=r,{tone:o}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,_(D(_({},HN(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},R_=r=>{let a=r,{tone:o}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,_(D(_({},HN(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},ja=r=>{let a=r,{tone:o="border"}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,D(_(D(_({},C_),{right:"3/4"}),l),{freeCSS:_(_({},C_.freeCSS),l.freeCSS)}))},Gf=r=>{let a=r,{tone:o="border"}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,D(_(D(_({},C_),{left:"3/4"}),l),{freeCSS:_(_({},C_.freeCSS),l.freeCSS)}))};var UN=K(Ot());var VN=r=>(0,UN.jsx)(E,_({htmlTag:"input"},r));var dw=K(Ot()),cw=K(pr()),$N=K(dr());var Wn=K(Ot()),md=K(pr()),pn=K(dr());var lw={};ed(lw,{Accordion:()=>qf,LinkifyText:()=>D_,List:()=>mc,ListItem:()=>ns,Row:()=>We,Text:()=>Ke});var iw=K(Ot()),vu=K(pr()),pm=K(dr());var fG=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:d=!1}=a,u=Qe(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,vu.useState)(pm.default.uuid.gen()),[p]=(0,vu.useState)(pm.default.uuid.gen()),[v,b]=(0,vu.useState)(s);v!=s&&d&&b(s);let y=(0,vu.useRef)(!1);return(0,vu.useEffect)(()=>{let C=Tt('[data-accordion-content-id="'+p+'"]')[0];if(C){let w=C.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),Tt("#"+h).css({transition:k+"s"})}},[]),(0,vu.useEffect)(()=>{let C=Tt("#"+h),w=Tt('[data-accordion-content-id="'+p+'"]')[0];if(y.current){if(w){let k=w.offsetHeight;pm.default.is.exist(k)&&(v?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(y.current=!0,w){let k=w.offsetHeight;pm.default.is.exist(k)&&(v?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:"0px",overflow:"hidden"}))}},[v]),o&&qe.set({["Accordion-"+o]:{open:()=>{b(!0)},close:()=>{b(!1)},toggle:()=>{b(!v)}}}),(0,iw.jsx)(E,{className:[JS("Wrap"),JS("Open_"+v)].join(" "),id:h,children:(0,iw.jsx)(E,_({"data-accordion-content-id":p},u))})},qf=fG;qf.fn={open:r=>{let a=qe.get("Accordion-"+r);!a||a.open()},close:r=>{let a=qe.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=qe.get("Accordion-"+r);!a||a.toggle()}};var hm=K(Ot());var D_=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 d=a.split("[$_url]");for(let u=0;u<=d.length-1;u++){let h=d[u],p=s[u];l.push(h),u<d.length-1&&l.push((0,hm.jsx)(re.Anchor.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,hm.jsx)(hm.Fragment,{children:l})};var Rl=K(Ot());var mc=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Qe(a,["items","ListChildCallback"]);l=l||WN;let d=o.map((u,h)=>(0,Rl.jsx)(l,{children:u,index:h},h));return(0,Rl.jsx)(E,D(_({htmlTag:"ul",children:d},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},WN=r=>(0,Rl.jsx)(E,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),ns=WN;ns.Center=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Left=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Right=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Separate=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var mm=K(Ot());var We={Center:r=>(0,mm.jsx)(_t,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,mm.jsx)(_t,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,mm.jsx)(_t,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,mm.jsx)(_t,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var gu=K(Ot());var hd=r=>(0,gu.jsx)(E,_({},r)),Ke=hd;Ke.Title=r=>(0,gu.jsx)(hd,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),Ke.SubTitle=r=>(0,gu.jsx)(hd,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),Ke.ThirdTitle=r=>(0,gu.jsx)(hd,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),Ke.Paragraph=r=>(0,gu.jsx)(hd,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),Ke.Description=r=>(0,gu.jsx)(hd,D(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),Ke.Supplement=r=>(0,gu.jsx)(hd,_({fontSize:"1.mini"},r)),Ke.NowrapSpan=r=>(0,gu.jsx)(Sn,D(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var YN=K(Ot()),sw=K(dr());var wr=K(Ot()),mr=K(dr()),Ya=K(pr());var Dl={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>qe.get("sessionStates-"+st.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=D(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1},r),{sheetID:r.sheetID||mr.default.uuid.gen(24),close_option:_({pageTransit:!0,escapeKeyDown:!0,aroundClick:r.type=="custom"},r.close_option),isOpen:!0,created_at:mr.default.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}},L_={Wrapper:()=>{let[r,a]=(0,Ya.useState)(mr.default.uuid.gen()),[o,l]=(0,Ya.useState)([]),s={val_sheets:o,set_sheets:l};qe.set({["sessionStates-"+st.get().sessionUID]:s}),(0,Ya.useEffect)(()=>{qe.set({["Sheet-"+st.get().sessionUID]:{refresh:()=>{a(mr.default.uuid.gen())},add:u=>{let h=qe.get("Sheet-"+st.get().sessionUID);if(!h)return;let p=Dl.getNewSheetStates(u);if(h.find(p.sheetID)){let v=qe.get(p.sheetID);v&&v.refresh&&v.refresh(p,!0);return}l(v=>[p,...v])},find:u=>{let h=Dl.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(v=>v.sheetID==u)}}}),(0,mr.default)(st.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let v=Dl.getSessionStates();if(!v)return;let{val_sheets:b}=v,y=b.filter(w=>w.isOpen);if(!y.length)return;let C=y.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);Ft.close(C.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Dl.getSessionStates();if(!h)return;let{val_sheets:p}=h,v=u.target;if(!v||v!=null&&v.closest("."+jr("CustomSheet")))return;let b=p.filter(y=>y.type=="custom");b.length&&b.forEach(y=>{let{parent:C,close_option:w}=y;if(!(w!=null&&w.aroundClick))return;let k=Tt(C)[0];C!==v&&k!==v&&((0,mr.default)(k).find(v).length||Ft.close(y.sheetID))})}})},[]);let d=o.map(u=>(0,wr.jsx)(L_.Core,_({sheet:u},s),u.sheetID));return(0,wr.jsx)(E,{className:["AMOTIFY_be",jr("Wrapper")].join(" "),children:d})},Core:r=>{var a;let{val_sheets:o,set_sheets:l}=r,[s]=(0,Ya.useState)(Dl.currentIndex+1),[d]=(0,Ya.useState)(mr.default.uuid.gen()),[u,h]=(0,Ya.useState)(r.sheet),p=u.type!="custom"&&!u.overwrap,v=L_.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"}[u.type]];(0,Ya.useEffect)(()=>{},[u]),(0,Ya.useEffect)(()=>{Dl.currentIndex++;let{close_option:C}=u;mr.default.scope(()=>{if(!(C!=null&&C.parentBlur))return;let w=(0,mr.default)(u.parent);w[0]&&w.addEvent({eventID:"SheetClosation-"+u.sheetID,eventType:"mouseout",callback:()=>{w.removeEvent("SheetClosation-"+u.sheetID),h(k=>D(_({},k),{isOpen:!1}))}})})},[]),(0,Ya.useEffect)(()=>{qe.set({[u.sheetID]:{refresh:(C,w)=>{let k=Dl.getNewSheetStates(C);h(B=>D(_(_({},B),k),{created_at:B.created_at,isOpen:w!=null?w:!1}))},resize:C=>{if(u.type=="drawer.bottom"){let w=qe.get(d);w&&w.resize&&w.resize(C)}else(u.type.includes("normal")||u.type.includes("drawer"))&&h(w=>D(_({},w),{size:C}))},close:C=>{h(w=>D(_({},w),{isOpen:!1}))},open:()=>{h(C=>D(_({},C),{isOpen:!0}))}}})},[u]),(0,Ya.useEffect)(()=>{mr.default.scope(()=>{if(!p||!u.backgroundEffect)return;Dl.mainSheetIDs[u.sheetID]=u.isOpen?1:-1;let C=Object.values(Dl.mainSheetIDs).reduce((k,B)=>k+B,0),w=Tt(".AMOTIFY_be_root");if(u.isOpen){if(w.hasClass(jr("FixScroll")))return;let k=(0,mr.default)("html"),B=0;C==1&&(B=k[0].scrollTop|0,h(M=>D(_({},M),{bodyScrolls:B}))),st.get().isPhone||(k[0].scrollTop=0,w.addClass(jr("FixScroll")).callback(M=>{M[0].scrollTop=B}).await(40).addClass(jr("Float")));return}st.get().isPhone||C>0||w.hasClass(jr("FixScroll"))&&w.removeClass(jr("Float")).await(251).removeClass(jr("FixScroll")).callback(()=>{(0,mr.default)("html")[0].scrollTop=u.bodyScrolls||0,w[0].scrollTop=0})}),mr.default.scope(()=>{let C=Tt("#"+d);if(u.isOpen){C.await(10).removeClass(jr("Hide")).await(10).addClass(jr("Open")).callback(()=>{u.openAfter&&u.openAfter()});return}else C.await(10).removeClass(jr("Open")).await(251).addClass(jr("Hide")).callback(()=>{u.closeAfter&&u.closeAfter(),!r.sheet.hold_state&&(l(w=>{let k=[...w],B=k.findIndex(M=>M.sheetID==u.sheetID);return B==-1||k.splice(B,1),k}),p&&(0,mr.default)(st.get().appRoot).focus())})})},[u.isOpen]);let[b,y]=u.type.split(".");return(0,wr.jsx)(E,{className:[jr("Wrap"),jr("Tcate_"+b),jr("Tpos_"+y),jr("isMainSheet_"+p)].join(" "),width:1,height:0,ssAbsoluteCovered:!0,freeCSS:{zIndex:s},id:d,children:(0,wr.jsxs)(pt,{className:jr("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!p&&(0,wr.jsx)(L_.TapSensor,{sheetID:u.sheetID,delegateAroundClick:(a=u.close_option)==null?void 0:a.aroundClick}),(0,wr.jsx)(v,_({componentID:d},u))]})},d)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:d,className:u="",type:h,size:p="R",freeCSS:v,openAfter:b,closeAfter:y,close_option:C,hold_state:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]),[F,V]=h.split("."),H={},G=[];return V.match(/top/)?(G.push("top"),H.marginBottom="auto"):V.match(/middle/)?(G.push("center"),H.marginTop="auto",H.marginBottom="auto"):V.match(/bottom/)&&(G.push("bottom"),H.marginTop="auto"),V.match(/left/i)?(G.push("left"),H.marginRight="auto"):V.match(/center/i)?(G.push("center"),H.marginLeft="auto",H.marginRight="auto"):V.match(/right/i)&&(G.push("right"),H.marginLeft="auto"),(0,wr.jsx)(E,D(_(_({className:[jr("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},X),H),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[p],maxWidth:"96vw",transformOrigin:G.join(" ")},v),children:mr.default.is.function(d)?(0,wr.jsx)(d,{}):d}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:d,content:u,className:h="",size:p="R",openAfter:v,closeAfter:b,close_option:y,hold_state:C,overwrap:w,isOpen:k,backgroundEffect:B}=a,M=Qe(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,wr.jsx)(E,D(_(D(_({className:[jr("BB"),h].join(" ")},d=="drawer.right"?{marginLeft:"auto"}:d=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),M),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},M.freeCSS),children:mr.default.is.function(u)?(0,wr.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:d,content:u,size:h="R",sizeChanged:p,baseStyles:v,openAfter:b,closeAfter:y,close_option:{swipeDown:C=!0}={},hold_state:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]),F=mr.default.getScreenSize(),V=[0,.2,.6,.95],H={ZERO:0,S:1,R:2,L:3},[G,P]=(0,Ya.useState)(h),[oe,Ee]=(0,Ya.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:V[H[h]]});qe.update({[o]:{val_edit:oe,resize:ye=>{let fe=V[H[ye]];Ee(I=>D(_({},I),{value:fe})),P(ye)}}});let te={Start:ye=>{(0,mr.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:te.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:te.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:te.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:te.End});let fe=mr.default.getCursor(ye),I=D(_({},oe),{process:!0,processStart:new Date().getTime(),originY:fe.y,originValue:oe.value,viewHeight:mr.default.getScreenSize().height});qe.update({[o]:{val_edit:I}}),Ee(I)},Move:ye=>{var fe;let I=(fe=qe.get(o))==null?void 0:fe.val_edit;if(!I.process)return;let ae=(mr.default.getCursor(ye).y-I.originY)/I.viewHeight,me=I.originValue-ae;if(me>.95)me=.95+(me-.95)*.5;else if(me<.2){let z=.2-me;z-=.1,me=.1+(.1-z)*.5}Ee(D(_({},I),{value:me}))},End:ye=>{var fe;let I=(fe=qe.get(o))==null?void 0:fe.val_edit;if(!I.process)return;(0,mr.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ae=0;if(I.value<.1||(I.value<.5?ae=1:I.value>.75?ae=3:ae=2),new Date().getTime()-I.processStart<300){let me=mr.default.getCursor(ye).y-I.originY;if(Math.abs(me)>=20){let z=+(me<0)*2-1;ae+=z,ae=Math.min(Math.max(ae,0),V.length-1)}}ae==0&&(C||(ae=1)),P(["ZERO","S","R","L"][ae]),Ee(D(_({},I),{value:V[ae],process:!1}))}},be=(0,Ya.useRef)(!1);return(0,Ya.useEffect)(()=>{be.current?G=="ZERO"?C&&Ft.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(G)},250):be.current=!0},[G]),(0,wr.jsx)(E,{className:jr("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:F.height*oe.value},oe.process?{transition:"0s"}:{}),children:(0,wr.jsxs)(pt,D(_({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},v),{children:[(0,wr.jsx)(We.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,wr.jsx)(We.Center,{onMouseDown:te.Start,onTouchStart:te.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,wr.jsx)(E,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:jr("DragBar")})})}),(0,wr.jsx)(E,D(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},X),{children:mr.default.is.function(u)?(0,wr.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:d,parent:u,nextToCursor:h,gravityPoint:p=22,content:v,close_option:b,hold_state:y,openAfter:C,closeAfter:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","close_option","hold_state","openAfter","closeAfter","overwrap","isOpen","backgroundEffect"]),[F]=(0,Ya.useState)(mr.default.uuid.gen()),V=mr.default.is.element(u)||mr.default.is.jsmin(u)?(0,mr.default)(u):Tt(u),H='[data-sheet-id="'+F+'"]',G='[data-sheet-content="'+F+'"]';p=p;let P=p%5||5,oe=Math.ceil(p/5),Ee={Init:()=>{if(h&&d){let z=mr.default.getScreenSize(),ne=mr.default.getCursor(d);return{top:ne.y-z.pageYOffset,left:ne.x-z.pageXOffset}}let te={},{top:be,right:ye,bottom:fe,left:I,height:ae,width:me}=V.position();return[1,2].includes(P)?te.left=I:P==3?te.left=I+me/2:[4,5].includes(P)&&(te.left=ye),p<=10?te.top=be:p<=15?te.top=be+ae/2:p<=25&&(te.top=fe),te},Adjust:()=>{let te=Tt(H).position(),be=Tt(G).position(),ye=V.position(),fe=mr.default.getScreenSize(),I={};for(let z in be)I[z]=be[z];if(mr.default.scope(()=>{if(r.nextToCursor)return;let z=0;oe==1?z=ye.top-I.bottom:oe==2?z=ye.top-I.top:oe==3?z=ye.top-I.top+(ye.height-I.height)/2:oe==4?z=ye.bottom-I.bottom:oe==5&&(z=ye.bottom-I.top),I.top+=z,I.bottom+=z}),mr.default.scope(()=>{if(r.nextToCursor)return;let z=0;P==1?z=ye.left-I.right:P==2?z=ye.left-I.left:P==3?z=ye.left-I.left+(ye.width-I.width)/2:P==4?z=ye.right-I.right:P==5&&(z=ye.right-I.left),I.left+=z,I.right+=z}),I.top<0){let z=-I.top;I.top+=z,I.bottom+=z}if(I.bottom>fe.height){let z=I.bottom-fe.height;I.top-=z,I.bottom-=z}if(I.left<0){let z=-I.left;I.left+=z,I.right+=z}if(I.right>fe.width){let z=I.right-fe.width;I.left-=z,I.right-=z}let ae=I.top-be.top,me=I.left-be.left;(0,mr.default)(H).css({top:te.top+ae+"px",left:te.left+me+"px"})}};return(0,Ya.useEffect)(()=>{Tt(H).await(10).addClass(jr("Open")).await(200).callback(()=>{Ee.Adjust()}),qe.update({["customSheet-"+r.sheetID]:{reposition:()=>{Ee.Adjust()}}})},[]),V[0]?(0,wr.jsx)(E,{className:[jr("BB"),jr("CustomSheet")].join(" "),"data-sheet-id":F,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:Ee.Init(),children:(0,wr.jsx)(_t,{position:"absolute",className:[jr("GPT"),jr("GPT_"+p),jr("Col_"+P),jr("Row_"+oe)].join(" "),children:(0,wr.jsx)(E,D(_({"data-sheet-content":F,flexSizing:"none",maxHeight:"viewHeight"},X),{freeCSS:_({maxWidth:"98vw"},X.freeCSS),children:mr.default.is.function(v)?(0,wr.jsx)(v,{}):v}))})}):null}},TapSensor:r=>(0,wr.jsx)(E,{className:jr("TapSensor"),children:(0,wr.jsx)(re.Button.Plain,{className:jr("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&Ft.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},Ft={Wrapper:()=>(0,wr.jsx)(L_.Wrapper,{}),open:r=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let o=r.sheetID||mr.default.uuid.gen(),l=r,{type:s,src:d}=l,u=Qe(l,["type","src"]);Ft.open(D(_({type:"normal.topCenter",backgroundColor:"trans"},u),{sheetID:o,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[h]=(0,Ya.useState)(mr.default.flatArray(d)),[p,v]=(0,Ya.useState)(0),b=[],y=[];return h.forEach((C,w)=>{b.push({value:w,label:(0,wr.jsx)(On,{src:mr.default.flatArray(C)[0],width:"auto",height:1,freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),y.push((0,wr.jsx)(On,{width:1,height:"auto",src:mr.default.flatArray(C)[0]}))}),(0,wr.jsxs)(pt,{gap:0,children:[(0,wr.jsxs)(We.Separate,{gap:2,padding:1,backgroundColor:"layer.1",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",children:[(0,wr.jsx)(ot.Radio.Border,{icon:!1,value:p,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:C})=>{v(C)},cellStyles:{borderWidth:2,padding:"1/3"},options:b}),(0,wr.jsx)(re.Button.Border.S,{color:"cloud",isRounded:!0,onClick:()=>{Ft.close(o)},children:(0,wr.jsxs)(We.Center,{gap:"1/3",children:["\u9589\u3058\u308B",(0,wr.jsx)(xe.Times,{})]})})]}),(0,wr.jsx)($f,{slideIndex:p,options:{loop:h.length>1,onSlideCallback:C=>{v(C)}},slides:y,wrapper:C=>(0,wr.jsx)(E,{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary",children:C})})]})}}));return}let a=qe.get("Sheet-"+st.get().sessionUID);a&&a.add(r)},refresh:(r,a)=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let o=qe.get(r.sheetID);o&&o.refresh&&o.refresh(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=qe.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=qe.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){var l;let s=Dl.getSessionStates();if(!s)return;let{val_sheets:d}=s;r=r==null?void 0:r.replace(/\./g,"-");let u=d.find(p=>p.sheetID==r);if(!u||a=="Escape"&&!((l=u.close_option)!=null&&l.escapeKeyDown))return;let h=qe.get(u.sheetID);h&&h.close&&h.close(o)},closeGroup:r=>{let a=Dl.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&Ft.close(l.sheetID)},closeAll:r=>{var a;let o=Dl.getSessionStates();if(!o)return;let{val_sheets:l}=o;for(let s of l)r&&!((a=s.close_option)!=null&&a.pageTransit)||Ft.close(s.sheetID,"pageTransit",!0)},Body:r=>(0,wr.jsx)(E,_({className:jr("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Fr={__memoryID:sw.default.uuid.gen(),open:r=>{let a=r,{tipsID:o=sw.default.uuid.gen(24),tipsGroups:l=[]}=a,s=Qe(a,["tipsID","tipsGroups"]);Ft.open(D(_({sheetID:o,sheetGroups:["tooltips",...l]},s),{type:"custom",close_option:_({aroundClick:!0,parentBlur:!0,escapeKeyDown:!0,pageTransit:!0},s.close_option)}))},close:r=>{r&&Ft.close(r)},closeALL:()=>{Ft.closeGroup("tooltips")},Body:r=>(0,YN.jsx)(E,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ra=r=>{let[a]=(0,md.useState)(r.componentID||pn.default.uuid.gen(24));r=_({},r),r.states=D(_({enableFormSubmit:!0,status_id:pn.default.uuid.gen(),override:"never",name:"",id:pn.default.uuid.gen(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Wn.jsx)(o,_({},r.states))},Ha=r=>{let{children:a,val_status:o,set_status:l,val_validate:s,states:d}=r,{leftIcon:u,wrapStyles:h}=d;return o.eventType=="init"&&!d.checkValidationAtFirst&&(s.notice=[]),(0,Wn.jsxs)(We.Center,D(_({position:"relative",verticalAlign:"unset",gap:0},h),{className:Vf("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Wn.jsx)(uw.Notice,{notice:s.notice,val_status:o}),d.leftIndicator,(0,Wn.jsxs)(_t,{position:"relative",flexSizing:"auto",children:[a,u,(0,Wn.jsx)(uw.RightIcon,_({},r)),(0,Wn.jsx)(uw.ClearButton,_({},r))]}),d.rightIndicator]}))},uw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Wn.jsx)(re.Button.Normal.R,{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=>D(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:pn.default.uuid.gen()}))},children:(0,Wn.jsx)(xe.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,d="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,md.useEffect)(()=>{pn.default.interval.clear(s),pn.default.interval.clear(d),pn.default.interval.standBy(s,350,()=>{if(!a.length){Fr.close(u);return}Fr.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],close_option:{parentBlur:!1},content:(0,Wn.jsxs)(Fr.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Wn.jsx)(E,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Wn.jsx)(pt,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:v,label:b}=h,y=v=="invalid"?xe.Times:v=="warn"?xe.Exclamation:xe.Check;return(0,Wn.jsxs)(We.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Wn.jsx)(y,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[v]}),(0,Wn.jsx)(Ke.Supplement,{fontSize:"0.xs",fontColor:"white",children:b})]},p+"-"+JSON.stringify(h))})})]})})}),pn.default.interval.standBy(d,6e3,()=>{Fr.close(u)})},[a]),null}},Kt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:pn.default.uuid.gen()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:d,set_validate:u,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,md.useEffect)(()=>(qe.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((v,b)=>{qe.get(p).ResolveRefresh=v,s(y=>D(_({},y),{eventType:"refresh",eventID:pn.default.uuid.gen()}))}),GenNotice:v=>{let{ok:b,notice:y}=v;u({ok:b,notice:y})}}}),()=>{qe.delete(p)}),[]),pn.default.scope(()=>{let{override:v}=o;if(v=="never"||v=="beforeModified"&&!["init","override"].includes(l.eventType))return;let b=qe.get(l.componentID);b&&(o.value!=l.dataValue&&o.status_id!=b.status_id&&s(y=>D(_(D(_({},y),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:pn.default.uuid.gen()})),b.status_id=o.status_id)}),(0,md.useEffect)(()=>{Kt.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,md.useEffect)(()=>{pn.default.scope(()=>{let{componentID:v,eventType:b,dataValue:y}=l,C=y;if(a=="autocomplete.single"||a=="list.radio"?C=C[0]:o.isChecker&&(C=!!C[0]),o.form=o.form||"testForm",o.name&&o.form&&qe.update({["form-data-"+o.form]:{[o.name]:{componentID:v,type:a,value:C,validation:d.ok}}}),b=="refresh"){let w=qe.get(v);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else b=="update"&&(o.onUpdateValue&&o.onUpdateValue({componentID:v,value:C,eventType:b}),pn.default.scope(()=>{d.ok&&o.onUpdateValidValue&&o.onUpdateValidValue({componentID:v,value:C,eventType:b})}))})},[d])},ValidationCheck:r=>{let{states:a}=r;pn.default.interval.clear("ValidationTimer-"+r.val_status.componentID);let o=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!o.ok){r.set_validate(o);return}let l=o.notice,s=()=>ea(void 0,null,function*(){if(!a.onValidate)return;let d=yield a.onValidate({value:r.val_status.dataValue,eventType:r.val_status.eventType,props:r});r.set_validate({ok:d.ok,notice:[...l,...d.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){s();return}pn.default.interval.standBy("ValidationTimer-"+r.val_status.componentID,450,s);return}r.set_validate({ok:!0,notice:l})},SubmitForm:r=>{let a=r.target,{form:o,formName:l}=a.dataset;o=l||o;let s=!1,d=Tt(`[data-form-submit-button="${o}"]`)[0];if(!d)return s;let u=d.dataset.sdfike||"",h=r.key,p=r.ctrlKey||r.metaKey;return pn.default.scope(()=>{u.includes("enter")&&(h!="Enter"||r.nativeEvent.isComposing||st.get().browserIs=="safari"&&r.keyCode==229)||((h=="Enter"&&(u.includes("enter")||u.includes("auxEnter")&&p)||h==" "&&u.includes("space"))&&(d.click(),r.preventDefault()),s=!0)}),s},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Yn=function(r){r=_({tone:"border"},r);let a=pn.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=D(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=D(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=D(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return D(_(_(_(_(_(_({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:_({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Vf("Input"),r.className].join(" ")})};var pG=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:d=""}=a,u=Qe(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,cw.useState)({componentID:r.componentID||"",dataValue:d,eventType:"init",eventID:$N.default.uuid.gen()}),[v,b]=(0,cw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:v,set_validate:b,SystemValidation:()=>({ok:!0,notice:[]})}),(0,dw.jsx)("input",D(_({value:JSON.stringify(d),"data-input-type":"hidden","data-form":s,"data-component-id":o,"data-value":JSON.stringify(d)},u),{type:"hidden"}))},GN=r=>(0,dw.jsx)(Ra,{componentID:r.componentID,children:pG,states:r});var fr=K(Ot()),As=K(pr()),Mn=K(dr());var tO=K(eO());var vm=K(Ot()),B_=K(pr()),A_=K(dr());var vc=r=>{if(!r.label)return null;let[a,o]=(0,B_.useState)({});return(0,B_.useEffect)(()=>{let l=(0,A_.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,A_.default)('[data-input-label="'+r.componentID+'"]'),d=(0,A_.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!d[0])return;let u=l.position(),h=d.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",freeCSS:{backgroundColor:"hsla(var(--color-layer1-hsl), .4)",backdropFilter:"blur(2px)",lineHeight:1,fontSize:"12px",transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,v=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${v}px)`,backgroundColor:"transparent"}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:"var(--animation-time2)"})},[r.isActive]),(0,vm.jsx)(E,D(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,vm.jsxs)(We.Left,{gap:"1/3",children:[r.label,r.required&&(0,vm.jsx)(Sn,{fontColor:"nega",children:" * "})]})}))};var hG={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},katakana:{reg:/^[ァ-ヶー  ヲ-゚  ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚  ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(E,{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,fr.jsx)(E,{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,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(E,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,fr.jsx)(E,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,fr.jsx)(E,{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"}},_u={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=Tt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:d,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")d.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")d.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let v=d.length-u.length;v==2&&(h++,p++),v==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:d,required:u}=o,h=[];if(d||(s=s||255),Mn.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=_u.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=hG[a];if(!l)return;let s=l.reason;if(l){let d=!!(+!!r.match(l.reg)^+!l.exist);o={ok:d,body:d?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana"&&(l=l.replace(/[^ァ-ヶー  ヲ-゚  ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚  ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let u=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),Mn.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Mn.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}u&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let d=l;if(a=="digitNumber"){if(l&&l!="-"){let u=[];for(let h=l.length-1;h>=0;h--){u.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&u.unshift(",")}d=u.join("")}}else a=="postal"?l.length>=4&&(d=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(d=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,d="-"+d),{formatValue:d,dataValue:l}}}},pw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Mn.default.scope(()=>ea(void 0,null,function*(){if(!a.multiline)return;let p=(0,Mn.default)('[data-input-origin="'+o.componentID+'"]'),v=(0,Mn.default)('[data-input-shallow="'+o.componentID+'"]'),b=(0,Mn.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),y=(0,Mn.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!v[0]||!b[0]||!y[0])return;let C=v.position(),w=b.position(),k=y.position(),B=0;a.autoHeight&&(B=C.height),B=Math.max(B,w.height),B=Math.min(B,k.height),p[0].style.height=B+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let d="",u="";if(a.multiline){let p=a.minRows||1,v=a.maxRows||100;d=`
978
+ </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:F=>{pd.End(X)}}).find("#"+d).find("."+Zl("Wave")).css({left:B,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=as.default.Time().ms-o<=400?".75s":".55s",d=l*2.5;(0,as.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Zl("Wave")).css({height:d,width:d,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},FN={Wrapper:()=>(typeof window=="undefined"||(0,as.default)(st.get().appRoot).addEvent({eventType:"touchstart",target:pd.RippleElementTag,callback:r=>{pd.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pd.RippleElementTag,callback:r=>{st.get().isTouchDevice||pd.Start(r)}}),null)};var ow=K(dr());var zN={Wrapper:()=>(typeof window=="undefined"||(0,ow.default)(st.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,ow.default)(r.target).removeClass(Zl("PuddingEffect")).await(1).addClass(Zl("PuddingEffect")).await(510).removeClass(Zl("PuddingEffect"))}}),null)};var hu={Ripple:FN,Pudding:zN,FadeIn:PN,FadeUp:MN};var w_=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,dm.jsx)(hu.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,d]=(0,jN.useState)(a);return s!=a&&d(a),(0,dm.jsx)(dm.Fragment,{children:l(o[a])})};var fm=K(Ot()),mu=K(pr()),El=K(dr());var cG=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:d=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=V=>V,slides:v=[],slideIndex:b}=a,y=Qe(a,["options","wrapper","slides","slideIndex"]),[C]=(0,mu.useState)(El.default.uuid.gen()),[w,k]=(0,mu.useState)({eventType:"init",index:r.slideIndex});(0,mu.useEffect)(()=>{qe.set({["SwipeTimer-"+C]:null})},[]);let B=(0,mu.useRef)(!1);(0,mu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),B.current||(B.current=!0)},[r.slideIndex]),(0,mu.useEffect)(()=>{let V=w.index+(d?1:0),H=[-1,v.length].includes(w.index);H||o&&setTimeout(()=>{o(w.index)},300);let G=Tt("#Swiper-"+C);if(w.eventType=="adjustLoop")G.await(250).css({transition:"0s",transform:Ao.TrasformString(V)}).children().removeClass(Ba("Display")).parent().children(V).addClass([Ba("Display"),Ba("LoopAdjusting")]).await(100).removeClass(Ba("LoopAdjusting"));else if(w.eventType=="sys")G.await(250).css({transform:Ao.TrasformString(V)}).children().removeClass(Ba("Display")).parent().children(V).addClass(Ba("Display"));else if(G.children().removeClass(Ba("Display")).parent().children(V).addClass(Ba("Display")).parent().css({transition:"0.3s",transform:Ao.TrasformString(V)}).await(250).css({transition:"0s"}),H){let P=w.index==-1?v.length-1:0;k({eventType:"adjustLoop",index:P})}s&&!H&&(El.default.interval.clear("SwipeTimer-"+C),El.default.interval.standBy("SwipeTimer-"+C,s-(w.eventType=="sys"?310:0),()=>{let P=w.index+1;!d&&P>v.length-1&&(P=0),k({eventType:"usr",index:P})}))},[w]);let M=v.map((V,H)=>(0,fm.jsx)(E,{flexSizing:"none",width:1,height:0,className:Ba("Child"),children:p(V)},H));d&&(M.push(M[0]),M.unshift(M[M.length-2]));let X={x:0,y:0,process:!1,effectStartAt:0,id:C,loop:d,index:w.index,minIndex:d?-1:0,maxIndex:v.length+(d?1:-1),width:0,set_event:k},F=w.index+(d?1:0);return(0,fm.jsx)(E,D(_({overflow:"hidden",position:"relative"},y),{className:[y.className,Ba("SwipeView")].join(" "),freeCSS:_({zIndex:1},y.freeCSS),"data-swipe-id":C,onMouseDown:V=>{u||V.buttons==1&&Ao.EffectStart(V,X)},onTouchStart:V=>{var H;h||((H=V.touches)==null?void 0:H.length)==1&&Ao.EffectStart(V,X)},children:(0,fm.jsx)(_t,{flexWrap:!1,gap:1,transition:"long",className:[Ba("Rail"),Ba("ShowOther_"+l)].join(" "),id:"Swiper-"+C,freeCSS:_({},B.current?{}:{transform:Ao.TrasformString(F)}),children:M})}))},Ao={TrasformString:r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,EffectStart:(r,a)=>{let{x:o,y:l}=El.default.getCursor(r),s=r.currentTarget,d=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(d.tagName))return;a=D(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:Tt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,El.default)(document).addEvent({eventID:"SwipeMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeMouseUp",eventType:"mouseup",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchEnd",eventType:"touchend",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}})},EffectCheck:(r,a)=>{if(a.process)return;let{x:o,y:l}=El.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),d=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(d+s<15))if(d>s/2)(0,El.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);Tt("#Swiper-"+a.id).children(u-1).addClass(Ba("Display")),(0,El.default)(document).addEvent({eventID:"SwipeCheckMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeCheckTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}),r.preventDefault();return}},EffectMove:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=El.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let d=s-a.maxIndex;s=a.maxIndex+d/2}Tt("#Swiper-"+a.id).css({transition:"0s",transform:Ao.TrasformString(s)}),r.preventDefault()},EffectEnd:(r,a)=>{if(a.process){let o=El.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,d=a.index+(a.loop?1:0),u=0;s<400?u=d-(+(o>0)*2-1):u=Math.round(d-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,d===u?(a.effectStartAt=l,Tt("#Swiper-"+a.id).css({transition:".2s",transform:Ao.TrasformString(u)}).await(310).css({transition:"0s"}).children().removeClass(Ba("Display")).parent().children(d).addClass(Ba("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,El.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove","SwipeCheckMouseMove","SwipeCheckTouchMove","SwipeMouseUp","SwipeTouchEnd"])}},$f=r=>(0,fm.jsx)(cG,D(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var j_=K(Ot()),QO=K(pr());var hc=K(Ot());var HN=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=D(_({},a),{border:!0}):r=="cloud"?a=D(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=D(_({},a),{borderRadius:0,borderBottom:!0})),a},C_={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},x_=r=>(0,hc.jsx)(Sn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),T_=r=>(0,hc.jsx)(Sn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),k_=r=>(0,hc.jsx)(Sn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),E_=r=>{let a=r,{tone:o}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,_(D(_({},HN(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},R_=r=>{let a=r,{tone:o}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,_(D(_({},HN(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},ja=r=>{let a=r,{tone:o="border"}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,D(_(D(_({},C_),{right:"3/4"}),l),{freeCSS:_(_({},C_.freeCSS),l.freeCSS)}))},Gf=r=>{let a=r,{tone:o="border"}=a,l=Qe(a,["tone"]);return(0,hc.jsx)(E,D(_(D(_({},C_),{left:"3/4"}),l),{freeCSS:_(_({},C_.freeCSS),l.freeCSS)}))};var UN=K(Ot());var VN=r=>(0,UN.jsx)(E,_({htmlTag:"input"},r));var dw=K(Ot()),cw=K(pr()),$N=K(dr());var Wn=K(Ot()),md=K(pr()),pn=K(dr());var lw={};ed(lw,{Accordion:()=>qf,LinkifyText:()=>D_,List:()=>mc,ListItem:()=>ns,Row:()=>We,Text:()=>Ke});var iw=K(Ot()),vu=K(pr()),pm=K(dr());var fG=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:d=!1}=a,u=Qe(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,vu.useState)(pm.default.uuid.gen()),[p]=(0,vu.useState)(pm.default.uuid.gen()),[v,b]=(0,vu.useState)(s);v!=s&&d&&b(s);let y=(0,vu.useRef)(!1);return(0,vu.useEffect)(()=>{let C=Tt('[data-accordion-content-id="'+p+'"]')[0];if(C){let w=C.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),Tt("#"+h).css({transition:k+"s"})}},[]),(0,vu.useEffect)(()=>{let C=Tt("#"+h),w=Tt('[data-accordion-content-id="'+p+'"]')[0];if(y.current){if(w){let k=w.offsetHeight;pm.default.is.exist(k)&&(v?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(y.current=!0,w){let k=w.offsetHeight;pm.default.is.exist(k)&&(v?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:"0px",overflow:"hidden"}))}},[v]),o&&qe.set({["Accordion-"+o]:{open:()=>{b(!0)},close:()=>{b(!1)},toggle:()=>{b(!v)}}}),(0,iw.jsx)(E,{className:[JS("Wrap"),JS("Open_"+v)].join(" "),id:h,children:(0,iw.jsx)(E,_({"data-accordion-content-id":p},u))})},qf=fG;qf.fn={open:r=>{let a=qe.get("Accordion-"+r);!a||a.open()},close:r=>{let a=qe.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=qe.get("Accordion-"+r);!a||a.toggle()}};var hm=K(Ot());var D_=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 d=a.split("[$_url]");for(let u=0;u<=d.length-1;u++){let h=d[u],p=s[u];l.push(h),u<d.length-1&&l.push((0,hm.jsx)(re.Anchor.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,hm.jsx)(hm.Fragment,{children:l})};var Rl=K(Ot());var mc=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Qe(a,["items","ListChildCallback"]);l=l||WN;let d=o.map((u,h)=>(0,Rl.jsx)(l,{children:u,index:h},h));return(0,Rl.jsx)(E,D(_({htmlTag:"ul",children:d},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},WN=r=>(0,Rl.jsx)(E,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),ns=WN;ns.Center=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Left=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Right=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),ns.Separate=r=>(0,Rl.jsx)(E,{htmlTag:"li",children:(0,Rl.jsx)(We.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var mm=K(Ot());var We={Center:r=>(0,mm.jsx)(_t,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,mm.jsx)(_t,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,mm.jsx)(_t,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,mm.jsx)(_t,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var gu=K(Ot());var hd=r=>(0,gu.jsx)(E,_({},r)),Ke=hd;Ke.Title=r=>(0,gu.jsx)(hd,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),Ke.SubTitle=r=>(0,gu.jsx)(hd,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),Ke.ThirdTitle=r=>(0,gu.jsx)(hd,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),Ke.Paragraph=r=>(0,gu.jsx)(hd,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),Ke.Description=r=>(0,gu.jsx)(hd,D(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),Ke.Supplement=r=>(0,gu.jsx)(hd,_({fontSize:"1.mini"},r)),Ke.NowrapSpan=r=>(0,gu.jsx)(Sn,D(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var YN=K(Ot()),sw=K(dr());var wr=K(Ot()),mr=K(dr()),Ya=K(pr());var Dl={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>qe.get("sessionStates-"+st.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=D(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1},r),{sheetID:r.sheetID||mr.default.uuid.gen(24),close_option:_({pageTransit:!0,escapeKeyDown:!0,aroundClick:r.type=="custom"},r.close_option),isOpen:!0,created_at:mr.default.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}},L_={Wrapper:()=>{let[r,a]=(0,Ya.useState)(mr.default.uuid.gen()),[o,l]=(0,Ya.useState)([]),s={val_sheets:o,set_sheets:l};qe.set({["sessionStates-"+st.get().sessionUID]:s}),(0,Ya.useEffect)(()=>{qe.set({["Sheet-"+st.get().sessionUID]:{refresh:()=>{a(mr.default.uuid.gen())},add:u=>{let h=qe.get("Sheet-"+st.get().sessionUID);if(!h)return;let p=Dl.getNewSheetStates(u);if(h.find(p.sheetID)){let v=qe.get(p.sheetID);v&&v.refresh&&v.refresh(p,!0);return}l(v=>[p,...v])},find:u=>{let h=Dl.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(v=>v.sheetID==u)}}}),(0,mr.default)(st.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let v=Dl.getSessionStates();if(!v)return;let{val_sheets:b}=v,y=b.filter(w=>w.isOpen);if(!y.length)return;let C=y.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);Ft.close(C.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Dl.getSessionStates();if(!h)return;let{val_sheets:p}=h,v=u.target;if(!v||v!=null&&v.closest("."+Hr("CustomSheet")))return;let b=p.filter(y=>y.type=="custom");b.length&&b.forEach(y=>{let{parent:C,close_option:w}=y;if(!(w!=null&&w.aroundClick))return;let k=Tt(C)[0];C!==v&&k!==v&&((0,mr.default)(k).find(v).length||Ft.close(y.sheetID))})}})},[]);let d=o.map(u=>(0,wr.jsx)(L_.Core,_({sheet:u},s),u.sheetID));return(0,wr.jsx)(E,{className:["AMOTIFY_be",Hr("Wrapper")].join(" "),children:d})},Core:r=>{var a;let{val_sheets:o,set_sheets:l}=r,[s]=(0,Ya.useState)(Dl.currentIndex+1),[d]=(0,Ya.useState)(mr.default.uuid.gen()),[u,h]=(0,Ya.useState)(r.sheet),p=u.type!="custom"&&!u.overwrap,v=L_.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"}[u.type]];(0,Ya.useEffect)(()=>{},[u]),(0,Ya.useEffect)(()=>{Dl.currentIndex++;let{close_option:C}=u;mr.default.scope(()=>{if(!(C!=null&&C.parentBlur))return;let w=(0,mr.default)(u.parent);w[0]&&w.addEvent({eventID:"SheetClosation-"+u.sheetID,eventType:"mouseout",callback:()=>{w.removeEvent("SheetClosation-"+u.sheetID),h(k=>D(_({},k),{isOpen:!1}))}})})},[]),(0,Ya.useEffect)(()=>{qe.set({[u.sheetID]:{refresh:(C,w)=>{let k=Dl.getNewSheetStates(C);h(B=>D(_(_({},B),k),{created_at:B.created_at,isOpen:w!=null?w:!1}))},resize:C=>{if(u.type=="drawer.bottom"){let w=qe.get(d);w&&w.resize&&w.resize(C)}else(u.type.includes("normal")||u.type.includes("drawer"))&&h(w=>D(_({},w),{size:C}))},close:C=>{h(w=>D(_({},w),{isOpen:!1}))},open:()=>{h(C=>D(_({},C),{isOpen:!0}))}}})},[u]),(0,Ya.useEffect)(()=>{mr.default.scope(()=>{if(!p||!u.backgroundEffect)return;Dl.mainSheetIDs[u.sheetID]=u.isOpen?1:-1;let C=Object.values(Dl.mainSheetIDs).reduce((k,B)=>k+B,0),w=Tt(".AMOTIFY_be_root");if(u.isOpen){if(w.hasClass(Hr("FixScroll")))return;let k=(0,mr.default)("html"),B=0;C==1&&(B=k[0].scrollTop|0,h(M=>D(_({},M),{bodyScrolls:B}))),st.get().isPhone||(k[0].scrollTop=0,w.addClass(Hr("FixScroll")).callback(M=>{M[0].scrollTop=B}).await(40).addClass(Hr("Float")));return}st.get().isPhone||C>0||w.hasClass(Hr("FixScroll"))&&w.removeClass(Hr("Float")).await(251).removeClass(Hr("FixScroll")).callback(()=>{(0,mr.default)("html")[0].scrollTop=u.bodyScrolls||0,w[0].scrollTop=0})}),mr.default.scope(()=>{let C=Tt("#"+d);if(u.isOpen){C.await(10).removeClass(Hr("Hide")).await(10).addClass(Hr("Open")).callback(()=>{u.openAfter&&u.openAfter()});return}else C.await(10).removeClass(Hr("Open")).await(251).addClass(Hr("Hide")).callback(()=>{u.closeAfter&&u.closeAfter(),!r.sheet.hold_state&&(l(w=>{let k=[...w],B=k.findIndex(M=>M.sheetID==u.sheetID);return B==-1||k.splice(B,1),k}),p&&(0,mr.default)(st.get().appRoot).focus())})})},[u.isOpen]);let[b,y]=u.type.split(".");return(0,wr.jsx)(E,{className:[Hr("Wrap"),Hr("Tcate_"+b),Hr("Tpos_"+y),Hr("isMainSheet_"+p)].join(" "),width:1,height:0,ssAbsoluteCovered:!0,freeCSS:{zIndex:s},id:d,children:(0,wr.jsxs)(pt,{className:Hr("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!p&&(0,wr.jsx)(L_.TapSensor,{sheetID:u.sheetID,delegateAroundClick:(a=u.close_option)==null?void 0:a.aroundClick}),(0,wr.jsx)(v,_({componentID:d},u))]})},d)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:d,className:u="",type:h,size:p="R",freeCSS:v,openAfter:b,closeAfter:y,close_option:C,hold_state:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]),[F,V]=h.split("."),H={},G=[];return V.match(/top/)?(G.push("top"),H.marginBottom="auto"):V.match(/middle/)?(G.push("center"),H.marginTop="auto",H.marginBottom="auto"):V.match(/bottom/)&&(G.push("bottom"),H.marginTop="auto"),V.match(/left/i)?(G.push("left"),H.marginRight="auto"):V.match(/center/i)?(G.push("center"),H.marginLeft="auto",H.marginRight="auto"):V.match(/right/i)&&(G.push("right"),H.marginLeft="auto"),(0,wr.jsx)(E,D(_(_({className:[Hr("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},X),H),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[p],maxWidth:"96vw",transformOrigin:G.join(" ")},v),children:mr.default.is.function(d)?(0,wr.jsx)(d,{}):d}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:d,content:u,className:h="",size:p="R",openAfter:v,closeAfter:b,close_option:y,hold_state:C,overwrap:w,isOpen:k,backgroundEffect:B}=a,M=Qe(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,wr.jsx)(E,D(_(D(_({className:[Hr("BB"),h].join(" ")},d=="drawer.right"?{marginLeft:"auto"}:d=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),M),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},M.freeCSS),children:mr.default.is.function(u)?(0,wr.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:d,content:u,size:h="R",sizeChanged:p,baseStyles:v,openAfter:b,closeAfter:y,close_option:{swipeDown:C=!0}={},hold_state:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect"]),F=mr.default.getScreenSize(),V=[0,.2,.6,.95],H={ZERO:0,S:1,R:2,L:3},[G,P]=(0,Ya.useState)(h),[oe,Ee]=(0,Ya.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:V[H[h]]});qe.update({[o]:{val_edit:oe,resize:ye=>{let fe=V[H[ye]];Ee(I=>D(_({},I),{value:fe})),P(ye)}}});let te={Start:ye=>{(0,mr.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:te.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:te.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:te.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:te.End});let fe=mr.default.getCursor(ye),I=D(_({},oe),{process:!0,processStart:new Date().getTime(),originY:fe.y,originValue:oe.value,viewHeight:mr.default.getScreenSize().height});qe.update({[o]:{val_edit:I}}),Ee(I)},Move:ye=>{var fe;let I=(fe=qe.get(o))==null?void 0:fe.val_edit;if(!I.process)return;let ae=(mr.default.getCursor(ye).y-I.originY)/I.viewHeight,me=I.originValue-ae;if(me>.95)me=.95+(me-.95)*.5;else if(me<.2){let z=.2-me;z-=.1,me=.1+(.1-z)*.5}Ee(D(_({},I),{value:me}))},End:ye=>{var fe;let I=(fe=qe.get(o))==null?void 0:fe.val_edit;if(!I.process)return;(0,mr.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ae=0;if(I.value<.1||(I.value<.5?ae=1:I.value>.75?ae=3:ae=2),new Date().getTime()-I.processStart<300){let me=mr.default.getCursor(ye).y-I.originY;if(Math.abs(me)>=20){let z=+(me<0)*2-1;ae+=z,ae=Math.min(Math.max(ae,0),V.length-1)}}ae==0&&(C||(ae=1)),P(["ZERO","S","R","L"][ae]),Ee(D(_({},I),{value:V[ae],process:!1}))}},be=(0,Ya.useRef)(!1);return(0,Ya.useEffect)(()=>{be.current?G=="ZERO"?C&&Ft.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(G)},250):be.current=!0},[G]),(0,wr.jsx)(E,{className:Hr("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:F.height*oe.value},oe.process?{transition:"0s"}:{}),children:(0,wr.jsxs)(pt,D(_({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},v),{children:[(0,wr.jsx)(We.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,wr.jsx)(We.Center,{onMouseDown:te.Start,onTouchStart:te.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,wr.jsx)(E,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:Hr("DragBar")})})}),(0,wr.jsx)(E,D(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},X),{children:mr.default.is.function(u)?(0,wr.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:d,parent:u,nextToCursor:h,gravityPoint:p=22,content:v,close_option:b,hold_state:y,openAfter:C,closeAfter:w,overwrap:k,isOpen:B,backgroundEffect:M}=a,X=Qe(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","close_option","hold_state","openAfter","closeAfter","overwrap","isOpen","backgroundEffect"]),[F]=(0,Ya.useState)(mr.default.uuid.gen()),V=mr.default.is.element(u)||mr.default.is.jsmin(u)?(0,mr.default)(u):Tt(u),H='[data-sheet-id="'+F+'"]',G='[data-sheet-content="'+F+'"]';p=p;let P=p%5||5,oe=Math.ceil(p/5),Ee={Init:()=>{if(h&&d){let z=mr.default.getScreenSize(),ne=mr.default.getCursor(d);return{top:ne.y-z.pageYOffset,left:ne.x-z.pageXOffset}}let te={},{top:be,right:ye,bottom:fe,left:I,height:ae,width:me}=V.position();return[1,2].includes(P)?te.left=I:P==3?te.left=I+me/2:[4,5].includes(P)&&(te.left=ye),p<=10?te.top=be:p<=15?te.top=be+ae/2:p<=25&&(te.top=fe),te},Adjust:()=>{let te=Tt(H).position(),be=Tt(G).position(),ye=V.position(),fe=mr.default.getScreenSize(),I={};for(let z in be)I[z]=be[z];if(mr.default.scope(()=>{if(r.nextToCursor)return;let z=0;oe==1?z=ye.top-I.bottom:oe==2?z=ye.top-I.top:oe==3?z=ye.top-I.top+(ye.height-I.height)/2:oe==4?z=ye.bottom-I.bottom:oe==5&&(z=ye.bottom-I.top),I.top+=z,I.bottom+=z}),mr.default.scope(()=>{if(r.nextToCursor)return;let z=0;P==1?z=ye.left-I.right:P==2?z=ye.left-I.left:P==3?z=ye.left-I.left+(ye.width-I.width)/2:P==4?z=ye.right-I.right:P==5&&(z=ye.right-I.left),I.left+=z,I.right+=z}),I.top<0){let z=-I.top;I.top+=z,I.bottom+=z}if(I.bottom>fe.height){let z=I.bottom-fe.height;I.top-=z,I.bottom-=z}if(I.left<0){let z=-I.left;I.left+=z,I.right+=z}if(I.right>fe.width){let z=I.right-fe.width;I.left-=z,I.right-=z}let ae=I.top-be.top,me=I.left-be.left;(0,mr.default)(H).css({top:te.top+ae+"px",left:te.left+me+"px"})}};return(0,Ya.useEffect)(()=>{Tt(H).await(10).addClass(Hr("Open")).await(200).callback(()=>{Ee.Adjust()}),qe.update({["customSheet-"+r.sheetID]:{reposition:()=>{Ee.Adjust()}}})},[]),V[0]?(0,wr.jsx)(E,{className:[Hr("BB"),Hr("CustomSheet")].join(" "),"data-sheet-id":F,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:Ee.Init(),children:(0,wr.jsx)(_t,{position:"absolute",className:[Hr("GPT"),Hr("GPT_"+p),Hr("Col_"+P),Hr("Row_"+oe)].join(" "),children:(0,wr.jsx)(E,D(_({"data-sheet-content":F,flexSizing:"none",maxHeight:"viewHeight"},X),{freeCSS:_({maxWidth:"98vw"},X.freeCSS),children:mr.default.is.function(v)?(0,wr.jsx)(v,{}):v}))})}):null}},TapSensor:r=>(0,wr.jsx)(E,{className:Hr("TapSensor"),children:(0,wr.jsx)(re.Button.Plain,{className:Hr("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&Ft.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},Ft={Wrapper:()=>(0,wr.jsx)(L_.Wrapper,{}),open:r=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let o=r.sheetID||mr.default.uuid.gen(),l=r,{type:s,src:d}=l,u=Qe(l,["type","src"]);Ft.open(D(_({type:"normal.topCenter",backgroundColor:"trans"},u),{sheetID:o,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[h]=(0,Ya.useState)(mr.default.flatArray(d)),[p,v]=(0,Ya.useState)(0),b=[],y=[];return h.forEach((C,w)=>{b.push({value:w,label:(0,wr.jsx)(On,{src:mr.default.flatArray(C)[0],width:"auto",height:1,freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),y.push((0,wr.jsx)(On,{width:1,height:"auto",src:mr.default.flatArray(C)[0]}))}),(0,wr.jsxs)(pt,{gap:0,children:[(0,wr.jsxs)(We.Separate,{gap:2,padding:1,backgroundColor:"layer.1",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",children:[(0,wr.jsx)(ot.Radio.Border,{icon:!1,value:p,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:C})=>{v(C)},cellStyles:{borderWidth:2,padding:"1/3"},options:b}),(0,wr.jsx)(re.Button.Border.S,{color:"cloud",isRounded:!0,onClick:()=>{Ft.close(o)},children:(0,wr.jsxs)(We.Center,{gap:"1/3",children:["\u9589\u3058\u308B",(0,wr.jsx)(xe.Times,{})]})})]}),(0,wr.jsx)($f,{slideIndex:p,options:{loop:h.length>1,onSlideCallback:C=>{v(C)}},slides:y,wrapper:C=>(0,wr.jsx)(E,{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary",children:C})})]})}}));return}let a=qe.get("Sheet-"+st.get().sessionUID);a&&a.add(r)},refresh:(r,a)=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let o=qe.get(r.sheetID);o&&o.refresh&&o.refresh(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=qe.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=qe.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){var l;let s=Dl.getSessionStates();if(!s)return;let{val_sheets:d}=s;r=r==null?void 0:r.replace(/\./g,"-");let u=d.find(p=>p.sheetID==r);if(!u||a=="Escape"&&!((l=u.close_option)!=null&&l.escapeKeyDown))return;let h=qe.get(u.sheetID);h&&h.close&&h.close(o)},closeGroup:r=>{let a=Dl.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&Ft.close(l.sheetID)},closeAll:r=>{var a;let o=Dl.getSessionStates();if(!o)return;let{val_sheets:l}=o;for(let s of l)r&&!((a=s.close_option)!=null&&a.pageTransit)||Ft.close(s.sheetID,"pageTransit",!0)},Body:r=>(0,wr.jsx)(E,_({className:Hr("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var zr={__memoryID:sw.default.uuid.gen(),open:r=>{let a=r,{tipsID:o=sw.default.uuid.gen(24),tipsGroups:l=[]}=a,s=Qe(a,["tipsID","tipsGroups"]);Ft.open(D(_({sheetID:o,sheetGroups:["tooltips",...l]},s),{type:"custom",close_option:_({aroundClick:!0,parentBlur:!0,escapeKeyDown:!0,pageTransit:!0},s.close_option)}))},close:r=>{r&&Ft.close(r)},closeALL:()=>{Ft.closeGroup("tooltips")},Body:r=>(0,YN.jsx)(E,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ra=r=>{let[a]=(0,md.useState)(r.componentID||pn.default.uuid.gen(24));r=_({},r),r.states=D(_({enableFormSubmit:!0,status_id:pn.default.uuid.gen(),override:"never",name:"",id:pn.default.uuid.gen(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Wn.jsx)(o,_({},r.states))},Ha=r=>{let{children:a,val_status:o,set_status:l,val_validate:s,states:d}=r,{leftIcon:u,wrapStyles:h}=d;return o.eventType=="init"&&!d.checkValidationAtFirst&&(s.notice=[]),(0,Wn.jsxs)(We.Center,D(_({position:"relative",verticalAlign:"unset",gap:0},h),{className:Vf("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Wn.jsx)(uw.Notice,{notice:s.notice,val_status:o}),d.leftIndicator,(0,Wn.jsxs)(_t,{position:"relative",flexSizing:"auto",children:[a,u,(0,Wn.jsx)(uw.RightIcon,_({},r)),(0,Wn.jsx)(uw.ClearButton,_({},r))]}),d.rightIndicator]}))},uw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Wn.jsx)(re.Button.Normal.R,{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=>D(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:pn.default.uuid.gen()}))},children:(0,Wn.jsx)(xe.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,d="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,md.useEffect)(()=>{pn.default.interval.clear(s),pn.default.interval.clear(d),pn.default.interval.standBy(s,350,()=>{if(!a.length){zr.close(u);return}zr.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],close_option:{parentBlur:!1},content:(0,Wn.jsxs)(zr.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Wn.jsx)(E,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Wn.jsx)(pt,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:v,label:b}=h,y=v=="invalid"?xe.Times:v=="warn"?xe.Exclamation:xe.Check;return(0,Wn.jsxs)(We.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Wn.jsx)(y,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[v]}),(0,Wn.jsx)(Ke.Supplement,{fontSize:"0.xs",fontColor:"white",children:b})]},p+"-"+JSON.stringify(h))})})]})})}),pn.default.interval.standBy(d,6e3,()=>{zr.close(u)})},[a]),null}},Kt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:pn.default.uuid.gen()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:d,set_validate:u,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,md.useEffect)(()=>(qe.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((v,b)=>{qe.get(p).ResolveRefresh=v,s(y=>D(_({},y),{eventType:"refresh",eventID:pn.default.uuid.gen()}))}),GenNotice:v=>{let{ok:b,notice:y}=v;u({ok:b,notice:y})}}}),()=>{qe.delete(p)}),[]),pn.default.scope(()=>{let{override:v}=o;if(v=="never"||v=="beforeModified"&&!["init","override"].includes(l.eventType))return;let b=qe.get(l.componentID);b&&(o.value!=l.dataValue&&o.status_id!=b.status_id&&s(y=>D(_(D(_({},y),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:pn.default.uuid.gen()})),b.status_id=o.status_id)}),(0,md.useEffect)(()=>{Kt.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,md.useEffect)(()=>{pn.default.scope(()=>{let{componentID:v,eventType:b,dataValue:y}=l,C=y;if(a=="autocomplete.single"||a=="list.radio"?C=C[0]:o.isChecker&&(C=!!C[0]),o.form=o.form||"testForm",o.name&&o.form&&qe.update({["form-data-"+o.form]:{[o.name]:{componentID:v,type:a,value:C,validation:d.ok}}}),b=="refresh"){let w=qe.get(v);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else b=="update"&&(o.onUpdateValue&&o.onUpdateValue({componentID:v,value:C,eventType:b}),pn.default.scope(()=>{d.ok&&o.onUpdateValidValue&&o.onUpdateValidValue({componentID:v,value:C,eventType:b})}))})},[d])},ValidationCheck:r=>{let{states:a}=r;pn.default.interval.clear("ValidationTimer-"+r.val_status.componentID);let o=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!o.ok){r.set_validate(o);return}let l=o.notice,s=()=>ea(void 0,null,function*(){if(!a.onValidate)return;let d=yield a.onValidate({value:r.val_status.dataValue,eventType:r.val_status.eventType,props:r});r.set_validate({ok:d.ok,notice:[...l,...d.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){s();return}pn.default.interval.standBy("ValidationTimer-"+r.val_status.componentID,450,s);return}r.set_validate({ok:!0,notice:l})},SubmitForm:r=>{let a=r.target,{form:o,formName:l}=a.dataset;o=l||o;let s=!1,d=Tt(`[data-form-submit-button="${o}"]`)[0];if(!d)return s;let u=d.dataset.sdfike||"",h=r.key,p=r.ctrlKey||r.metaKey;return pn.default.scope(()=>{u.includes("enter")&&(h!="Enter"||r.nativeEvent.isComposing||st.get().browserIs=="safari"&&r.keyCode==229)||((h=="Enter"&&(u.includes("enter")||u.includes("auxEnter")&&p)||h==" "&&u.includes("space"))&&(d.click(),r.preventDefault()),s=!0)}),s},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Yn=function(r){r=_({tone:"border"},r);let a=pn.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=D(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=D(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=D(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return D(_(_(_(_(_(_({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:_({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Vf("Input"),r.className].join(" ")})};var pG=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:d=""}=a,u=Qe(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,cw.useState)({componentID:r.componentID||"",dataValue:d,eventType:"init",eventID:$N.default.uuid.gen()}),[v,b]=(0,cw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:v,set_validate:b,SystemValidation:()=>({ok:!0,notice:[]})}),(0,dw.jsx)("input",D(_({value:JSON.stringify(d),"data-input-type":"hidden","data-form":s,"data-component-id":o,"data-value":JSON.stringify(d)},u),{type:"hidden"}))},GN=r=>(0,dw.jsx)(Ra,{componentID:r.componentID,children:pG,states:r});var fr=K(Ot()),As=K(pr()),Mn=K(dr());var tO=K(eO());var vm=K(Ot()),B_=K(pr()),A_=K(dr());var vc=r=>{if(!r.label)return null;let[a,o]=(0,B_.useState)({});return(0,B_.useEffect)(()=>{let l=(0,A_.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,A_.default)('[data-input-label="'+r.componentID+'"]'),d=(0,A_.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!d[0])return;let u=l.position(),h=d.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",freeCSS:{backgroundColor:"hsla(var(--color-layer1-hsl), .4)",backdropFilter:"blur(2px)",lineHeight:1,fontSize:"12px",transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,v=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${v}px)`,backgroundColor:"transparent"}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:"var(--animation-time2)"})},[r.isActive]),(0,vm.jsx)(E,D(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,vm.jsxs)(We.Left,{gap:"1/3",children:[r.label,r.required&&(0,vm.jsx)(Sn,{fontColor:"nega",children:" * "})]})}))};var hG={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},katakana:{reg:/^[ァ-ヶー  ヲ-゚  ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚  ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(E,{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,fr.jsx)(E,{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,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(E,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,fr.jsx)(E,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,fr.jsx)(E,{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"}},_u={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=Tt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:d,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")d.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")d.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let v=d.length-u.length;v==2&&(h++,p++),v==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:d,required:u}=o,h=[];if(d||(s=s||255),Mn.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=_u.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=hG[a];if(!l)return;let s=l.reason;if(l){let d=!!(+!!r.match(l.reg)^+!l.exist);o={ok:d,body:d?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana"&&(l=l.replace(/[^ァ-ヶー  ヲ-゚  ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚  ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let u=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),Mn.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Mn.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}u&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let d=l;if(a=="digitNumber"){if(l&&l!="-"){let u=[];for(let h=l.length-1;h>=0;h--){u.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&u.unshift(",")}d=u.join("")}}else a=="postal"?l.length>=4&&(d=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(d=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,d="-"+d),{formatValue:d,dataValue:l}}}},pw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Mn.default.scope(()=>ea(void 0,null,function*(){if(!a.multiline)return;let p=(0,Mn.default)('[data-input-origin="'+o.componentID+'"]'),v=(0,Mn.default)('[data-input-shallow="'+o.componentID+'"]'),b=(0,Mn.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),y=(0,Mn.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!v[0]||!b[0]||!y[0])return;let C=v.position(),w=b.position(),k=y.position(),B=0;a.autoHeight&&(B=C.height),B=Math.max(B,w.height),B=Math.min(B,k.height),p[0].style.height=B+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let d="",u="";if(a.multiline){let p=a.minRows||1,v=a.maxRows||100;d=`
979
979
  T`.repeat(p-1),u=`
980
- T`.repeat(v-1)}let h=Ll(a);return(0,fr.jsxs)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",width:1,freeCSS:D(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,fr.jsx)(E,{"data-input-value-shallow":o.componentID,children:s})})),(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",left:0,freeCSS:D(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:d})),(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",right:0,freeCSS:D(_({},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:d,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:v}=r;if(a.multiline)return null;let b=a,{componentID:y,tone:C,required:w,restrict:k="text",form:B,autoComplete:M="off",autoCapitalize:X="off",minRows:F,maxRows:V,multiline:H,autoHeight:G,enableFormSubmit:P,clearButton:oe=!1,checkValidationAtFirst:Ee,onChange:te,onKeyDown:be,onValidate:ye,onUpdateValue:fe,onUpdateValidValue:I,value:ae="",leftIndicator:me,rightIndicator:z,leftIcon:ne,rightIcon:pe,maxLength:Se,min:ce,max:we,label:Fe,isLabelActive:He,wrapStyles:at}=b,Oe=Qe(b,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),ct=k=="password"||k=="concealed"?"password":"text",nr=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,fr.jsx)(E,D(_({htmlTag:"input",type:ct,inputMode:nr,"data-disabled":a.disabled,"data-form":B,"data-input-type":"text","data-show-validation":Kt.isShowValidation(o,s,!!Ee),"data-validation":o.ok,"data-value":s.dataValue,"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:X,onKeyDown:bt=>{let{key:yt,target:It}=bt;{let nt=It,{selectionStart:Ae,selectionEnd:Ct}=nt,zt=Number(Ae),Yt=Number(Ct),$t=s.formatValue[Number(zt)],ir=s.formatValue[Number(zt)-1];yt=="Delete"&&(k=="creditCard"&&$t==" "||k=="postal"&&$t=="-"||k=="digitNumber"&&$t==",")&&(nt.setSelectionRange(zt+1,Yt+1),bt.preventDefault()),yt=="Backspace"&&(k=="creditCard"&&ir==" "||k=="postal"&&ir=="-"||k=="digitNumber"&&ir==",")&&(nt.setSelectionRange(zt-1,Yt-1),bt.preventDefault()),yt=="Enter"||yt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&yt=="Clear"&&d(nt=>D(_({},nt),{dataValue:"",formatValue:"",eventType:"update",eventID:Mn.default.uuid.gen()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(yt)){let nt=+(yt=="ArrowUp")*2-1,Ae=String(Number(s.dataValue)+nt);o.ok&&l({ok:!1,notice:[]}),d(Ct=>D(_(_({},Ct),_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:Ae})),{eventType:"update",eventID:Mn.default.uuid.gen()})),bt.preventDefault()}be&&be(bt),P&&Kt.SubmitForm(bt)},onChange:bt=>{let{value:yt,selectionStart:It,selectionEnd:nt}=bt.target,Ae=_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:yt});p&&(Ae.formatValue=yt),Ae.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),d(Ct=>D(_(_({},Ct),Ae),{prevValue:s.formatValue,eventType:"update",eventID:Mn.default.uuid.gen(),caretFrom:Number(It),caretTo:Number(nt)})),te&&te(bt))},width:1},Oe),{onFocus:bt=>{Oe!=null&&Oe.onFocus&&(Oe==null||Oe.onFocus(bt)),h(!0)},onBlur:bt=>{Oe!=null&&Oe.onBlur&&(Oe==null||Oe.onBlur(bt)),h(!1)},onCompositionStart:bt=>{Oe!=null&&Oe.onCompositionStart&&(Oe==null||Oe.onCompositionStart(bt)),v(!0)},onCompositionEnd:bt=>{if(Oe!=null&&Oe.onCompositionEnd&&(Oe==null||Oe.onCompositionEnd(bt)),k=="text")return;let yt=_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:s.formatValue});d(It=>D(_(_({},It),yt),{prevValue:It.formatValue,eventType:"update",eventID:Mn.default.uuid.gen(),caretFrom:Number(It.formatValue.length+1),caretTo:Number(It.formatValue.length+1)})),v(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:d,val_status:u,set_status:h,isShallow:p}=r,v=a,{componentID:b,tone:y,required:C,form:w,label:k,isLabelActive:B,minRows:M,maxRows:X,multiline:F,autoHeight:V,enableFormSubmit:H,maxLength:G,checkValidationAtFirst:P,onChange:oe,onKeyDown:Ee,onValidate:te,onUpdateValue:be,onUpdateValidValue:ye,value:fe="",leftIndicator:I,rightIndicator:ae,leftIcon:me,rightIcon:z,wrapStyles:ne}=v,pe=Qe(v,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,fr.jsx)(E,D(_({htmlTag:"textarea","data-form":w,"data-input-type":"textarea","data-show-validation":Kt.isShowValidation(s,u,!!P),"data-validation":s.ok,"data-value":u.dataValue,"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},pe),{onFocus:Se=>{pe!=null&&pe.onFocus&&(pe==null||pe.onFocus(Se)),l(!0)},onBlur:Se=>{pe!=null&&pe.onBlur&&(pe==null||pe.onBlur(Se)),l(!1)},onKeyDown:Se=>{Ee&&Ee(Se),H&&Kt.SubmitForm(Se)},onChange:Se=>{let{value:ce}=Se.target;s.ok&&d({ok:!1,notice:[]}),h(we=>D(_({},we),{dataValue:ce,eventType:"update",eventID:Mn.default.uuid.gen()})),oe&&oe(Se)}})):null}},mG=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:d}=r,[u,h]=(0,As.useState)(!1),[p,v]=(0,As.useState)(!1),[b,y]=(0,As.useState)(D(_({componentID:a},_u.Validation.DataLeveling({min:s,max:d,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:Mn.default.uuid.gen(),caretFrom:null,caretTo:null})),[C,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:v,val_status:b,set_status:y,val_validate:C,set_validate:w};return Kt.CommonEffects({type:"textfield",states:r,val_status:b,set_status:y,val_validate:C,set_validate:w,SystemValidation:_u.Validation.System,ExtraOverrideStates:_({},_u.Validation.DataLeveling({min:s,max:d,restrict:o,value:l}))}),(0,As.useEffect)(()=>{_u.setSelection({id:r.id,restrict:o,val_status:b})},[b]),(0,fr.jsxs)(Ha,{val_status:b,set_status:y,val_validate:C,states:k.rootStates,children:[(0,fr.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!b.dataValue}),(0,fr.jsx)(pw.Shallow,_({},k)),(0,fr.jsx)(pw.InputBox,_({},k)),(0,fr.jsx)(pw.TextAreaBox,_({},k))]})},os=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"2.normal"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,fr.jsx)(Ra,{componentID:r.componentID,children:mG,states:Yn(r)})),hn=os;hn.Validate=_u.Validation.Text,hn.Katakana=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),hn.HankakuKatakana=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),hn.CreditCard=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),hn.Tel=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),hn.Number=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),hn.DigitNumber=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),hn.Email=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),hn.Url=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),hn.Postal=r=>{let[a]=(0,As.useState)(Mn.default.uuid.gen());return(0,As.useEffect)(()=>()=>{qe.delete(a)},[]),(0,fr.jsx)(os,D(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,fr.jsx)(Gf,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},hn.Password=r=>(0,fr.jsx)(os,D(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,fr.jsx)(ja,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,fr.jsx)(re.Button.Sub.R,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{rl.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:rl.abort,tabIndex:-1,onClick:a=>{(0,Mn.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,fr.jsx)(xe,{icon:tO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),hn.Concealed=r=>(0,fr.jsx)(hn.Password,D(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),hn.Money={JPY:r=>(0,fr.jsx)(hn.DigitNumber,D(_({rightIcon:(0,fr.jsx)(ja,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var N_=K(Ot()),hw=K(pr()),rO=K(dr());function vG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var gG=r=>{let a=r,{componentID:o,tone:l,required:s,form:d,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:v,onKeyDown:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,children:k="",leftIndicator:B,rightIndicator:M,leftIcon:X,rightIcon:F,freeCSS:V,wrapStyles:H}=a,G=Qe(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[P,oe]=(0,hw.useState)(Kt.DefaultStatus(o,u)),[Ee,te]=(0,hw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"contenteditable",states:r,val_status:P,set_status:oe,val_validate:Ee,set_validate:te,SystemValidation:vG}),(0,N_.jsx)(Ha,{val_status:P,set_status:oe,val_validate:Ee,states:r,children:(0,N_.jsx)(E,D(_({contentEditable:!0,"data-form":d,"data-name":r.name,"data-input-type":"contenteditable","data-show-validation":Kt.isShowValidation(Ee,P,!!p),"data-validation":Ee.ok,"data-value":P.dataValue,"data-component-id":P.componentID,onKeyDown:be=>{b&&b(be),h&&Kt.SubmitForm(be)},onInput:be=>{let ye=be.currentTarget,{innerHTML:fe,innerText:I}=ye;Ee.ok&&te({ok:!1,notice:[]}),oe(ae=>D(_({},ae),{dataValue:I,eventType:"update",eventID:rO.default.uuid.gen()})),v&&v(be)}},G),{children:k}))})},aO=r=>{r=D(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Yn(r);return(0,N_.jsx)(Ra,{componentID:r.componentID,children:gG,states:a})};var _m=K(Ot()),mw=K(pr()),gm=K(dr());function _G(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:d}=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!=d&&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 bG=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},nO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},yG=r=>{let a=r,{tone:o,required:l,form:s,name:d,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:v,checkValidationAtFirst:b,onChange:y,onKeyDown:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M="",override:X,freeCSS:F,wrapStyles:V,combineInput:H,componentID:G,listStyles:P}=a,oe=Qe(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[Ee,te]=(0,mw.useState)(D(_({componentID:r.componentID||""},bG(h,M)),{eventType:"init",eventID:gm.default.uuid.gen()})),[be,ye]=(0,mw.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"textfield",states:r,val_status:Ee,set_status:te,val_validate:be,set_validate:ye,SystemValidation:_G});let fe=[];for(let I=0;I<h;I++){let ae=Ee.formatValue[I],me={},z=u;r.combineInput&&(z=[u,Vf("DigitCharacterCell"),Vf("Combined")].join(" ")),fe.push((0,_m.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:ae,"data-form-name":s,id:"Digit-"+I+"-"+Ee.componentID,className:z,style:_(_({},r.style),me),onKeyDown:ne=>{let{key:pe,code:Se}=ne;if(pe=="Tab")return;ne.preventDefault();let ce=null;if(pe=="Backspace"){let we=Ee.formatValue;we[I]="",te(Fe=>D(_(_({},Fe),nO(we)),{eventType:"update",eventID:gm.default.uuid.gen()})),ce=I-1}else if(["ArrowLeft","ArrowRight"].includes(pe)){let we=+(pe=="ArrowRight")*2-1;ce=I+we}else v&&Kt.SubmitForm(ne),(()=>{let we=Se.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let Fe=we[2]||we[3]||we[4];if(p&&!Fe.match(/\d/)||!Fe)return;let He=Ee.formatValue;He[I]=Fe,te(at=>D(_(_({},at),nO(He)),{eventType:"update",eventID:gm.default.uuid.gen()})),ce=I+1})();gm.default.is.exist(ce)&&Tt("#Digit-"+ce+"-"+Ee.componentID).focus()},onChange:()=>{}},I))}return(0,_m.jsx)(Ha,{val_status:Ee,set_status:te,val_validate:be,states:r,children:(0,_m.jsx)(_t,D(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},P),{children:fe}))})},oO=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=D(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Do(Yn(r));return(0,_m.jsx)(Ra,{componentID:r.componentID,children:yG,states:a})};var ia=K(Ot()),Bo=K(pr()),_o=K(dr());var xO=K(fO()),TO=K(yO());var Hr=K(Ot()),Al=K(pr()),mn=K(dr());function SG(r){let{value:a,states:o}=r,{required:l,options:s}=o,d=[];return l&&a===null&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:u})=>u=="invalid").length,notice:d}}var _w={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},Kf={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,Hr.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Hr.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),children:(0,Hr.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:d,val_validate:u,set_validate:h,val_status:p,set_status:v,val_selectorOpen:b,set_selectorOpen:y}=r,C=a,{tone:w,required:k,form:B,className:M,label:X,isLabelActive:F,placeholder:V,enableFormSubmit:H,emptySelect:G,checkValidationAtFirst:P,onValidate:oe,onUpdateValue:Ee,onUpdateValidValue:te,value:be="",options:ye,leftIndicator:fe,rightIndicator:I,leftIcon:ae,rightIcon:me,componentID:z,status_id:ne,wrapStyles:pe,SelectedCellStyles:Se,SelectorCellStyles:ce,SelectorStyles:we,SelectorGravityPoint:Fe}=C,He=Qe(C,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorGravityPoint"]),at="select-sheet-"+a.componentID;return(0,Al.useEffect)(()=>{if(a.disabled)return;let Oe="select-click-"+a.componentID;if(b){let ct=(0,mn.default)('[data-input-origin="'+a.componentID+'"]');if(!ct)return;Ft.open({sheetID:at,type:"custom",parent:ct[0],padding:["1/4",0],gravityPoint:a.SelectorGravityPoint||22,close_option:{aroundClick:!1},content:(0,Hr.jsx)(Kf.Selector,_({},r))}),(0,mn.default)(document).addEvent({eventID:Oe,eventType:"click",callback:nr=>{let bt=(0,mn.default)(nr.target),yt=!!(0,mn.default)(bt).parent("."+ts("Core")).length;(0,mn.default)(bt).parent("."+ts("Selector")).length||yt||y(!1)}})}else(0,mn.default)(document).removeEvent([Oe]),Ft.close(at)},[b]),(0,Al.useEffect)(()=>{if(p.eventType=="init"||!b)return;let Oe=(0,mn.default)('[data-input-origin="'+a.componentID+'"]');Oe&&Oe.focus()},[p.dataValue]),(0,Al.useEffect)(()=>{if(a.disabled||!b)return;let Oe=qe.get("refresh-select-selector-"+a.componentID);Oe&&Oe(r)},[a.options,p.dataValue,s]),(0,Hr.jsx)(Hr.Fragment,{children:(0,Hr.jsx)(E,D(_({tabIndex:0},He),{"data-disabled":a.disabled,"data-name":a.name,"data-form":B,"data-show-validation":Kt.isShowValidation(u,p,!!P),"data-validation":u.ok,"data-component-id":p.componentID,"data-input-origin":p.componentID,"data-value":mn.default.JsonTo(p.dataValue),"data-input-type":"select",className:[M,ts("Core")].join(" "),onFocus:Oe=>{if(He!=null&&He.onFocus&&(He==null||He.onFocus(Oe)),!a.disabled){if(o)return l(!1);y(!0)}},onClick:Oe=>{He!=null&&He.onClick&&(He==null||He.onClick(Oe)),!a.disabled&&y(!0)},onKeyDown:Oe=>{let{key:ct,metaKey:nr,ctrlKey:bt}=Oe,yt=nr||bt;if(He!=null&&He.onKeyDown&&(He==null||He.onKeyDown(Oe)),H&&Kt.SubmitForm(Oe),!a.disabled){if(mn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(ct))return;if(Oe.preventDefault(),!b)return y(!0);let It=ct=="ArrowDown"?1:-1,nt=_w.FilterSelectableOptions(r),Ae=nt.length-1,Ct=null;mn.default.scope(()=>{var zt,Yt,$t,ir;if(It==1){if(Ct=((zt=nt[0])==null?void 0:zt.value)||null,s==null)return;if(yt){Ct=nt[Ae].value||Ct||null;return}let sr=nt.findIndex(xr=>xr.value==s);if(sr==-1)return;Ct=((Yt=nt[sr+1])==null?void 0:Yt.value)||Ct||null}else{if(Ct=nt[Ae].value||null,s==null)return;if(yt){Ct=(($t=nt[0])==null?void 0:$t.value)||Ct||null;return}let sr=nt.findIndex(xr=>xr.value==s);if(sr==-1)return;Ct=((ir=nt[sr-1])==null?void 0:ir.value)||Ct||null}}),d(Ct)}),ct=="Escape")y(!1);else if(ct=="Tab")y(!1);else if(ct=="Backspace")v(It=>D(_({},It),{dataValue:null,eventType:"update",eventID:mn.default.uuid.gen()}));else if(ct==" ")Oe.preventDefault(),y(!0);else if(ct=="Enter"){if(!b)return y(!0);if(!s)return;Oe.preventDefault();let It=a.options.find(nt=>nt.value==s);if(!It)return;v(nt=>D(_({},nt),{dataValue:It.value,eventType:"update",eventID:mn.default.uuid.gen()})),y(!1)}}},children:(0,Hr.jsxs)(We.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Hr.jsx)(Kf.Placeholder,_({},r)),(0,Hr.jsx)(Kf.Selected,_({},r)),(0,Hr.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})}))})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Hr.jsx)(E,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{let[a,o]=(0,Al.useState)(r),{rootStates:l}=a;(0,Al.useEffect)(()=>{qe.set({["refresh-select-selector-"+l.componentID]:h=>{o(h)}})},[]);let s=[],d=_w.FilterSelectableOptions(a,!0),u=_w.FilterSelectableOptions(a);return d.forEach((h,p)=>{let{type:v,value:b}=h,y=a.val_optionFocused==b,C=a.val_status.dataValue===b;if(v=="selector"){s.push((0,Hr.jsx)(re.Button.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:C||y,isActiveStyles:y?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"},onClick:w=>{a.set_status(k=>D(_({},k),{dataValue:b,eventType:"update",eventID:mn.default.uuid.gen()})),a.set_selectorOpen(!1),a.set_preventOpenSelectorOnFocus(!0)},children:(0,Hr.jsx)(Ke.Supplement,{paddingLeft:C?"1/2":0,transition:"short",children:h.label})},String(b)));return}s.push((0,Hr.jsx)(E,{children:h.label},mn.default.uuid.gen()))}),u.length||(s=[(0,Hr.jsx)(Ke.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),(0,Hr.jsx)(Ft.Body,{className:ts("Selector"),ssCardBox:!0,borderRadius:"3.tone.tertiary",boxShadow:"1.normal",freeCSS:{minWidth:12*14},children:(0,Hr.jsx)(pt,{gap:0,padding:[1,0],children:s})})},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&mn.default.scope(()=>{let o=r.rootStates.options.find(l=>mn.default.JsonTo(l.value)==mn.default.JsonTo(r.val_status.dataValue));o&&a.push((0,Hr.jsx)(E,D(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Hr.jsx)(Hr.Fragment,{children:a})},Core:r=>{let{value:a}=r,[o,l]=(0,Al.useState)(Kt.DefaultStatus(r.componentID,a)),[s,d]=(0,Al.useState)(!1),[u,h]=(0,Al.useState)(!1),[p,v]=(0,Al.useState)(r.value||null),[b,y]=(0,Al.useState)({ok:!1,notice:[]}),C={rootStates:r,val_preventOpenSelectorOnFocus:s,set_preventOpenSelectorOnFocus:d,val_optionFocused:p,set_optionFocused:v,val_selectorOpen:u,set_selectorOpen:h,val_status:o,set_status:l,val_validate:b,set_validate:y};return Kt.CommonEffects({type:"select",states:r,val_status:o,set_status:l,val_validate:b,set_validate:y,SystemValidation:SG}),(0,Hr.jsxs)(Ha,{val_status:o,set_status:l,val_validate:b,states:r,children:[(0,Hr.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||o.dataValue!=="null"}),(0,Hr.jsx)(Kf.Shallow,_({},C)),(0,Hr.jsx)(Kf.Button,_({},C))]})}},is=r=>{let a=_({},r);return a=D(_({emptySelect:!0},a),{freeCSS:_({cursor:"pointer"},a.freeCSS)}),a.emptySelect&&(a.options=[{value:null,label:(0,Hr.jsx)(Ke.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...a.options]),a.value=a.value||null,a.options.forEach((o,l)=>{let{type:s,value:d}=o;a.options[l]=D(_({},o),{value:d,type:s||"selector"})}),mn.default.is.nullish(a.rightIcon)&&(a.rightIcon=(0,Hr.jsx)(ja,{ssSphere:2,children:(0,Hr.jsx)(xe.AngleDown,{})})),(0,Hr.jsx)(Ra,{componentID:a.componentID,children:Kf.Core,states:Yn(a)})};var Ve=K(Ot()),wO=K(pr()),yu=K(pr()),Ur=K(dr());var Ua=K(Ot()),bw=K(pr()),bu=K(dr());function wG(r){let{value:a,states:o}=r,{type:l,required:s,min:d,max:u}=o;d=d||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<d&&h.push({type:"invalid",label:d+"\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:v})=>v=="invalid").length,notice:h}}var bm={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=bu.default.is.exist(a)?bu.default.flatArray(a):[],s=[];return l.forEach(d=>{o.findIndex(u=>bu.default.JsonTo(u.value)==bu.default.JsonTo(d))!=-1&&s.push(d)}),(0,Ua.jsx)(bm.Core,D(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:d="",form:u,override:h,icon:p,iconType:v,CustomIcon:b,enableFormSubmit:y,checkValidationAtFirst:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M,options:X,className:F,cellStyles:V,cellClassName:H,cellCheckedStyles:G,cellCheckedClassName:P,min:oe,max:Ee,hideInput:te,freeCSS:be,wrapStyles:ye}=a,fe=Qe(a,["type","tone","required","componentID","form","override","icon","iconType","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[I,ae]=(0,bw.useState)(Kt.DefaultStatus(d,M)),[me,z]=(0,bw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"list."+o,states:r,val_status:I,set_status:ae,val_validate:me,set_validate:z,SystemValidation:wG}),(0,Ua.jsx)(Ha,{val_status:I,set_status:ae,val_validate:me,states:r,children:(0,Ua.jsx)(bm.List,{rootStates:r,val_status:I,set_status:ae})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:d,tone:u,icon:h=!0,isChecker:p,options:v,name:b,form:y,tabIndex:C,hideInput:w,disabled:k,className:B,cellStyles:M,cellClassName:X="",cellCheckedStyles:F,cellCheckedClassName:V="",enableFormSubmit:H}=a,{dataValue:G}=o,P=a.CustomIcon,oe=v.map((Ee,te)=>{let be=Ee,{value:ye,label:fe,disabled:I,className:ae="",checkedStyles:me,checkedClassName:z="",freeCSS:ne}=be,pe=Qe(be,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Se=bu.default.uuid.gen(),ce=G.findIndex(at=>at===ye)!=-1,we=_(_({},M),pe),Fe=[ud("Label"),X,ae];ce&&(we=D(_(_(_({},we),F),me),{freeCSS:_(_(_({},we==null?void 0:we.freeCSS),F==null?void 0:F.freeCSS),me==null?void 0:me.freeCSS)}),Fe=[...Fe,V,z]);let He=()=>{if(k||I)return;let at=[];if(d=="radio")at=[ye];else if(d=="checkbox"||p)if(!ce)at=[...o.dataValue,ye];else{let Oe=[...o.dataValue];Oe.splice(o.dataValue.findIndex(ct=>ct==ye),1),at=Oe}l(Oe=>D(_({},Oe),{dataValue:at,eventType:"update",eventID:bu.default.uuid.gen()}))};return[(0,Ua.jsx)(E,{htmlTag:"input",type:d=="radio"?"radio":"checkbox",className:ud("Input"),name:"RadioCheckbox-"+b,"data-list-index":s+"-"+te,id:Se,value:String(ye),"data-form-name":y,disabled:k||I,checked:ce,onFocus:at=>{I||d=="radio"&&(o.dataValue.length||l(Oe=>D(_({},Oe),{dataValue:[ye],eventType:"update",eventID:bu.default.uuid.gen()})))},onChange:()=>{He()},onKeyDown:at=>{let{key:Oe,shiftKey:ct}=at;if((d=="checkbox"||r.rootStates.isChecker)&&Oe!="Tab"&&Oe.match(/Arrow/)){at.preventDefault();let nr=["ArrowLeft","ArrowUp"].includes(Oe)?-1:1,bt=te+nr;bt<0?bt=v.length-1:bt>=v.length&&(bt=0),Tt(`input[data-list-index="${s}-${bt}"]`).focus()}H&&Kt.SubmitForm(at)},tabIndex:C},"List-"+JSON.stringify(ye)),(0,Ua.jsxs)(S_,D(_({"data-disabled":k||I,htmlFor:Se,className:Fe.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",gap:"1/6",flexWrap:!1},we),{children:[h&&(0,Ua.jsx)(P,{isChecked:ce,toggle:()=>{He()}}),bu.default.is.string(fe)?(0,Ua.jsx)(E,{children:fe}):fe]}),"ListTrigger-"+JSON.stringify(ye))]});return(0,Ua.jsx)(_t,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[B,ud("CellBase"),ud("HideInput_"+w),ud("IconIndicator_"+!!h),ud("Tone_"+u)].join(" "),children:oe})},RadioIcon:r=>(0,Ua.jsx)(re.Button.Normal.R,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:3,onClick:a=>{a.preventDefault(),a.stopPropagation(),r.toggle()},children:(0,Ua.jsx)(E,{ssSphere:1.5,border:"3.thick",borderWidth:2,borderColor:r.isChecked?"theme":"3.thick",position:"relative",transition:"middle",children:(0,Ua.jsx)(E,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.isChecked?"theme":"trans",opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.6)"}})})}),CheckboxIcon:r=>(0,Ua.jsx)(re.Button.Normal.R,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:3,onClick:a=>{a.preventDefault(),a.stopPropagation(),r.toggle()},children:(0,Ua.jsx)(E,{ssSquare:1.5,flexCenter:!0,border:"3.thick",borderWidth:2,borderColor:r.isChecked?"theme":"3.thick",borderRadius:"3.tone.tertiary",position:"relative",backgroundColor:r.isChecked?"theme":"trans",transition:"middle",fontColor:"white",children:(0,Ua.jsx)(xe.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8}})})})},yw=r=>{r=r||"checkbox";let a=l=>(l=D(_({gap:"1/2",iconType:r=="radio"?"radio":"checkbox"},l),{type:r,cellStyles:_({position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=bm.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=bm.CheckboxIcon)),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",isRounded:!0,backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({paddingRight:1,border:"1.thin",isRounded:!0,backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({paddingRight:1,isRounded:!0,border:"1.thin",backgroundColor:"layer.2"},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=Do(l),(0,Ua.jsx)(Ra,{componentID:l.componentID,children:bm.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Ua.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Ua.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Ua.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Ua.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Ua.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},O_=yw("checkbox"),vd=yw("radio"),SO=yw();var Sw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((o=r==null?void 0:r.max)!=null?o:Ur.default.Time().addYear(10).year);for(let u=s;u<=d;u++)l.unshift({value:u,label:[u,...Ur.default.transformer.wareki(u).value].join(" -")});return l},CO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.tipsID=r.tipsID||Ur.default.uuid.gen();let s=(0,yu.useRef)(!1),[d,u]=(0,yu.useState)((()=>{var p,v;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let y=Number(b[0]),C=Number(b[1]);return{modifiedType:"init",hour:y,minutes:C}}else if(a=="date"){let[b,y,C]=(p=String(l))==null?void 0:p.split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y)||Ur.default.is.nullish(C))&&([b,y,C]=Ur.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(y),date:Number(C)}}else if(a!="week"){if(a=="month"){let[b,y]=String(l).split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y))&&([b,y]=Ur.default.Time().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(y)}}else if(a=="year"){let[b]=String(l).split(/\D/);return Ur.default.is.nullish(b)&&([b]=Ur.default.Time().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,y,C]=(v=String(l))==null?void 0:v.split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y)||Ur.default.is.nullish(C))&&([b,y,C]=Ur.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(b),month:Number(y),date:Number(C)}}}return{}})());(0,yu.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",v=o||"year";if(a=="clock"){let{hour:b,minutes:y}=d;p=[b.zeroEmbed(2),y.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:y,date:C}=d;p=[b,y.zeroEmbed(2),C.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:y}=d;p=[b,y.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:y,date:C,era:w}=d;v=w,p=[b,y.zeroEmbed(2),C.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,v)}}else s.current=!0},[d]);let h=D(_({},r),{val_value:d,set_value:u});return(0,Ve.jsx)(E,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",border:!0,overflow:"hidden",children:(0,Ve.jsx)(E,{overflow:"auto",className:Ea(a.toCapital()+"Base"),children:a=="clock"?(0,Ve.jsx)($a.Clock.index,_({},h)):a=="date"?(0,Ve.jsx)($a.Date.index,_({},h)):a=="week"?"":a=="month"?(0,Ve.jsx)($a.Month.index,_({},h)):a=="year"?(0,Ve.jsx)($a.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ve.jsx)($a.DateWareki.index,_({},h)):(0,Ve.jsx)(Ve.Fragment,{})})})},$a={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,[h,p]=(0,yu.useState)(d.hour>12?2:1),[v,b]=(0,yu.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,yu.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(v))},[v]);let{hour:y,minutes:C}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(_t,{flexType:"row",flexWrap:!1,gap:1,className:Ea("Body"),children:[(0,Ve.jsxs)(pt,{className:Ea("DesignSide"),flexSizing:0,children:[(0,Ve.jsx)(E,{className:Ea("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Ve.jsxs)(E,{className:Ea("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Ve.jsx)(E,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("hour")].join(" "),freeCSS:{transform:`rotate(${y*30+C/2}deg)`}}),(0,Ve.jsx)(E,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("minute")].join(" "),freeCSS:{transform:`rotate(${C*6}deg)`}})]})}),(0,Ve.jsx)(vd,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:0,tabIndex:-1,onUpdateValidValue:({value:w})=>{let k=d.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:d.minutes})}}),(0,Ve.jsx)(E,{borderTop:!0,margin:[0,1]}),(0,Ve.jsx)(vd,{icon:!0,value:[v],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:0,tabIndex:-1,onUpdateValidValue:({value:w})=>{b(w)}})]}),(0,Ve.jsxs)(pt,{children:[(0,Ve.jsxs)(E,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ve.jsxs)(_t,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Ve.jsx)(pt,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:$a.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:d.minutes})},min:a,max:o,ampm:h})}),(0,Ve.jsx)(pt,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:$a.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:d.hour,minutes:w})},min:a,max:o,unit:v})})]})]})]}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));d>u&&(s=!0)}}a.push((0,Ve.jsx)(re.Button.Normal.R,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,Ve.jsx)(re.Button.Normal.R,{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,tipsID:s,val_value:d,set_value:u}=r,{year:h,month:p,date:v}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{flexWrap:!0,children:[(0,Ve.jsxs)(_t,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Ve.jsx)(is,{override:"force",emptySelect:!1,value:h,options:Sw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,onUpdateValidValue:({value:b})=>{u({modifiedType:"update",year:Number(b),month:p,date:v})},rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})})}),(0,Ve.jsx)(is,{override:"force",emptySelect:!1,value:p,options:(()=>{let b=[];for(let y=1;y<=12;y++)b.push({value:y,label:String(y)+"\u6708"});return b})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),onUpdateValidValue:({value:b})=>{u({modifiedType:"update",year:h,month:Number(b),date:v})}})]}),(0,Ve.jsx)($a.Variables.ShiftButtons,{callback:b=>{let y=p+b,C=h;y<=0&&(C--,y=12),y>12&&(C++,y=1),u({modifiedType:"update",year:C,month:y,date:d.date})}})]}),(0,Ve.jsx)(E,{borderTop:!0}),(0,Ve.jsx)(E,{children:$a.Date.MonthCalendar({min:a,max:o,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[y,C,w]=b;u({modifiedType:"update",year:y,month:C,date:w})}})}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:d,callback:u}=r,h=Ur.default.Time(),p=Ur.default.Time([l,s.zeroEmbed(2),"01"].join("/")),v=p.getLastDayOfTheMonth(),b=Ur.default.Time(p).addMonth(-1).getLastDayOfTheMonth().date,y=[],C=[],w=[],k=[],B={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)y.push((0,Ve.jsx)(E,D(_({className:[Ea("CalendarDay"),Ea("Legend")].join(" ")},B),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)C.unshift((0,wO.createElement)(E,D(_({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},B),{key:M}),b-M));for(var M=1;M<=v.date;M++){let F=M,V=l==h.year&&s==h.month&&M==h.date,H=!1;{let G=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>G&&(H=!0),r.max){let P=Number(String(r.max).replace(/\D/ig,""));G>P&&(H=!0)}}w.push((0,Ve.jsx)(re.Button.Clear.R,D(_({className:[Ea("CalendarDay"),Ea("isToday_"+V)].join(" ")},B),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,F])},tabIndex:-1,isLocked:H,children:M}),F))}for(var M=1;M<7-v.weekday;M++)k.push((0,Ve.jsx)(E,D(_({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},B),{children:M}),M));return(0,Ve.jsxs)(ha,{gridCols:7,gap:"1/6",children:[y,C,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{year:h,month:p}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{gap:0,children:[(0,Ve.jsx)(We.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Ve.jsx)(is,{emptySelect:!1,value:h,options:Sw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),onUpdateValidValue:({value:v})=>{u({modifiedType:"update",year:Number(v),month:p})}})}),(0,Ve.jsx)($a.Variables.ShiftButtons,{callback:v=>{let b=Math.min(Math.max(h+v,1900),2100);u({modifiedType:"update",year:b,month:p})}})]}),(0,Ve.jsx)(E,{borderTop:!0}),$a.Month.Months({min:a,max:o,year:d.year,callback:v=>{let[b,y]=v;u({modifiedType:"update",year:b,month:y})}}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=Ur.default.Time(),s=[];for(let d=1;d<=12;d++){let u=a==l.year&&d==l.month,h=!1;{let v=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>v&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));v>b&&(h=!0)}}let p=[Ea("Cell"),u?Ea("isThisMonth"):""].join(" ");s.push((0,Ve.jsxs)(re.Button.Clear.R,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ve.jsx)(ha,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{year:h}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsx)(is,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||Ur.default.Time().year,override:"force",options:Sw({min:a,max:o}),onUpdateValidValue:({value:p})=>{u({modifiedType:"update",year:Number(p)})}}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||Ur.default.Time().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{era:h,year:p,month:v,date:b}=d,y={val_value:d,set_value:u};return(0,Ve.jsxs)(E,{children:[(0,Ve.jsxs)(We.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Ve.jsx)($a.DateWareki.EraSelect,_({},y)),(0,Ve.jsx)(E,{borderRight:!0}),(0,Ve.jsx)($a.DateWareki.Calendar,_({},y))]}),(0,Ve.jsx)(We.Right,{padding:1,children:(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ve.jsxs)(pt,{padding:1,gap:0,children:[(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=Ur.default.Time();o({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=Ur.default.Time();o({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({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")for(let s=1900;s<2100;s++)l.unshift({value:s,label:s+"\u5E74"});else if(a.era=="reiwa"){let s=Ur.default.Time().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{children:[(0,Ve.jsx)(is,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:({value:s})=>{o(d=>D(_({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ve.jsxs)(We.Center,{gap:"1/3",children:[(0,Ve.jsx)(is,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:({value:s})=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ve.jsx)(re.Button.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ve.jsx)(xe.ChevronLeft,{})}),(0,Ve.jsx)(re.Button.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ve.jsx)(xe.ChevronRight,{})})]})]}),(0,Ve.jsx)($a.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=Ur.default.Time([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Ve.jsx)(Ke.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ur.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let v=Ur.default.Time(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,Ve.jsx)(re.Button.Sub.R,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"lastMonth-"+p))}let h=Ur.default.Time();for(let p=1;p<=d.date;p++){let v=Ur.default.Time(l).setDate(p),b=h.diff(v).dates==0;u.push((0,Ve.jsx)(re.Button.Clear.R,{ssSquare:3,fontColor:"2.normal",className:[Ea("CalendarDay"),Ea("isToday_"+b)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"currentMonth-"+p))}for(let p=0;p<7-d.weekday-1;p++){let v=Ur.default.Time(l).addMonth(1).setDate(1).addDate(p);u.push((0,Ve.jsx)(re.Button.Sub.R,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"nextMonth-"+p))}return(0,Ve.jsx)(ha,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Ve.jsxs)(_t,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Ve.jsxs)(re.Button.Sub.S,{tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Ve.jsx)(xe.Times,{})," \u524A\u9664"]}),(0,Ve.jsx)(re.Button.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),Fr.close(r.tipsID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ve.jsxs)(_t,{gap:"1/3",flexWrap:!1,children:[(0,Ve.jsx)(re.Button.Clear.R,D(_({className:Ea("LeftButton"),tabIndex:-1,right:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Ve.jsx)(xe.ChevronLeft,{})})),(0,Ve.jsx)(re.Button.Clear.R,D(_({className:Ea("RightButton"),tabIndex:-1,left:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Ve.jsx)(xe.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var _d=" ~ ",xG={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+_d.length,length:4},{type:"month",from:15+_d.length,length:2},{type:"date",from:18+_d.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+_d.length,length:4},{type:"month",from:13+_d.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}},gd={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=_o.default.flatArray(o||""),{defaultValue:d,format:u,ranges:h,sets:p}=xG[a],v=[],b=a=="clock"?":":"/";for(let y=0;y<s.length;y++)s[y]=String(s[y]).replace(/\D/ig,b);for(let y=0;y<p;y++){let C=s[y]||"";if(!C.match(u))s[y]="",v.push(d);else{let w=d;C.split(/\D/).forEach((k,B)=>{if(B==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),v.push(w)}}return{formatValue:v.join(_d),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:d}=a,u=[],h=_o.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let v=o=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,v);for(let b=0;b<h.length;b++){let y=h[b],C=h[b-1];y.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(y>=C))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);!y||!C?p.filled=!1:(Number(y)>23||Number(C)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(b=>{let[y,C,w]=b.split(/\D+/);if(!y||!C||!w)p.filled=!1;else{let k=_o.default.Time(b);(!k.validate||b!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);if(!y||!C)p.filled=!1;else{let w=_o.default.Time(y+"/01/01").weekday,k=_o.default.Time(y+"/01/0"+(7-w+1)).addWeek(Number(C)-1);y!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);!y||!C?p.filled=!1:_o.default.Time([y,C,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let y=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>y&&(p.prohibited=!0),s){let C=Number(String(s).replace(/\D/ig,""));y>C&&(p.prohibited=!0)}}})))})();{let{empty:v,escalated:b,filled:y,correct:C,prohibited:w}=p;v&&d&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),C||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),y||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,ia.jsxs)(ia.Fragment,{children:[(0,ia.jsx)(E,{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:v})=>v=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:d,val_focus:u,set_focus:h}=r,{key:p,shiftKey:v,ctrlKey:b,metaKey:y}=l,C=b||y,{selectionStart:w,selectionEnd:k}=l.target,{index:B,prevIndex:M}=u,{ranges:X,formatValue:F}=s,V=X.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let H=0;if(p=="Tab"){let G=+!v*2-1;if(H=u.index+G,H<0||H>V)return}else{let G=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;C||w==0&&k==String(s.formatValue).length?H=G==1?V:0:H=Math.max(0,Math.min(B+G,V))}h(G=>D(_({},G),{index:H,prevIndex:B})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let H=B;H=Math.max(H,0),H=Math.min(H,V);let{type:G,from:P,length:oe}=X[H],Ee=F.slice(P,P+oe),te;if(p=="Backspace")te="------".slice(0,oe);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;Ee=Ee|0,te=Ee+be;let[ye,fe,I]=G=="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]:G=="minute"?[0,59,2]:G=="hour"?[0,23,2]:G=="date"?[1,31,2]:G=="week"?[1,53,2]:G=="month"?[1,12,2]:G=="year"?[0,2999,4]:[0,0,0];te>fe?te=ye:te<ye&&(te=fe),te=Number(te).zeroEmbed(I)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=Ee|0,ye=p,fe=`${be}${ye}`;if(M!=B&&(be=0,fe="0"+ye),G=="year"||G=="dateWareki"&&a=="year")Number(fe)>1e4?te=ye:te=fe,(te|0)>1e3&&H++;else if(["hour","minute","date","week","month"].includes(G)||G=="dateWareki"&&a!="year"){let I=G=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:G=="minute"?59:G=="hour"?23:G=="date"?31:G=="week"?53:G=="month"?12:0;te=(fe|0)>I?ye:fe,(Number(ye)>Number(String(I)[0])||Ee=="0000".slice(0,String(I).length)&&(fe!="0000".slice(0,String(I).length)||["minute","hour"].includes(G)&&M==B)||(fe|0)>=_5(10,String(I).length-1))&&H++}G=="year"||G=="dateWareki"?te=(te|0).zeroEmbed(4):te=(te|0).zeroEmbed(2)}{let be=String(F).partReplace(P,String(te)),ye=be.split(_d).map(fe=>fe.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let fe=ye[0].split(/\D/),[I,ae,me]=fe;fe.length==3&&I&&(ye=[[Number(I)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),ae,me].join("/")])}H=Math.max(H,0),H=Math.min(H,V),d(fe=>D(_({},fe),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:_o.default.uuid.gen()})),h(fe=>D(_({},fe),{index:H,prevIndex:fe.index}))}}}},kO={picker:{launch:r=>{let a=r.tipsID||_o.default.uuid.gen(),o=r,{onValueUpdate:l,min:s,max:d,era:u,restrict:h,defaultValue:p}=o,v=Qe(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);Fr.open(D(_({gravityPoint:r.gravityPoint||24,tipsID:a,padding:0},v),{parent:v.parent,close_option:_({aroundClick:!0,parentBlur:!1},v.close_option),content:(0,ia.jsx)(CO,{restrict:h,min:s,max:d,era:u,defaultValue:p,tipsID:a,onValueUpdate:(b,y)=>{l(b,y)}})}))},remove:r=>{Fr.close(r)}}},TG={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,ia.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ia.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),children:(0,ia.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},kG=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:d,era:u,form:h,name:p,min:v,max:b,className:y,enableFormSubmit:C,checkValidationAtFirst:w,onKeyDown:k,onValidate:B,onUpdateValue:M,onUpdateValidValue:X,value:F="",leftIndicator:V,rightIndicator:H,leftIcon:G,rightIcon:P,freeCSS:oe,wrapStyles:Ee}=a,te=Qe(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[be,ye]=(0,Bo.useState)(u),[fe,I]=(0,Bo.useState)(D(_({componentID:r.componentID||""},gd.DataLeveling({restrict:s,value:F,era:be})),{eventType:"init",eventID:_o.default.uuid.gen()})),[ae,me]=(0,Bo.useState)({ok:!1,notice:[]}),[z,ne]=(0,Bo.useState)({active:!1,index:0,prevIndex:-1}),pe={rootStates:r,val_status:fe,set_status:I,val_validate:ae,set_validate:me,val_era:be,set_era:ye,val_focus:z,set_focus:ne};Kt.CommonEffects({type:"time",states:r,val_status:fe,set_status:I,val_validate:ae,set_validate:me,SystemValidation:gd.SystemValidation,ExtraOverrideStates:_({},gd.DataLeveling({restrict:s,value:F,era:be}))});let Se=(0,Bo.useRef)(!1);return(0,Bo.useEffect)(()=>{if(Se.current){I(we=>_(_({},we),gd.DataLeveling({restrict:s,value:we.dataValue,era:be})));let ce=qe.get("refreshEra_"+fe.componentID);ce&&ce.refreshEra(be)}else Se.current=!0},[be]),qe.update({[fe.componentID]:{openPicker:()=>{r.disabled||kO.picker.launch({parent:"#Picker-"+fe.componentID,tipsID:"PickerTips-"+fe.componentID,restrict:s,min:v,max:b,defaultValue:fe.dataValue,era:be,onValueUpdate:(ce,we)=>{I(Fe=>D(_(_({},Fe),gd.DataLeveling({restrict:s,value:ce,era:we})),{eventType:"update",eventID:_o.default.uuid.gen()})),ye(we)}})},resetEra:ce=>{ye(ce),I(we=>D(_(_({},we),gd.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:_o.default.uuid.gen()}))}}}),(0,Bo.useEffect)(()=>{let{index:ce,active:we}=z;if(we){ce=Math.max(ce,0),ce=Math.min(ce,fe.ranges.length-1);let{from:Fe,length:He}=fe.ranges[ce],at=Tt("#"+r.id)[0];at&&at.setSelectionRange(Fe,Fe+He)}},[z]),(0,ia.jsxs)(Ha,{val_status:fe,set_status:I,val_validate:ae,states:r,children:[(0,ia.jsx)(TG.Shallow,_({},pe)),(0,ia.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),st.get().isTouchDevice?(0,ia.jsx)(re.Button.Plain,{"data-show-validation":Kt.isShowValidation(ae,fe,!!w),"data-component-id":fe.componentID,className:y,freeCSS:{textAlign:"left"},children:fe.formatValue,onClick:ce=>{let we=qe.get(fe.componentID);we&&we.openPicker(),ce.stopPropagation()}}):(0,ia.jsx)(E,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Kt.isShowValidation(ae,fe,!!w),"data-input-origin":fe.componentID,"data-disabled":r.disabled,"data-input-type":"time","data-form-name":h,value:fe.formatValue,className:y,tabIndex:st.get().isTouchDevice?-1:0,onKeyDown:ce=>{gd.KeyDownEvent({restrict:s,event:ce,val_era:be,val_status:fe,set_status:I,val_focus:z,set_focus:ne}),k&&k(ce),C&&Kt.SubmitForm(ce)},onKeyUp:ce=>{ce.key=="Tab"&&ne(we=>D(_({},we),{active:!0}))},onClick:ce=>{let we=ce.target.selectionEnd,Fe=0;fe.ranges.forEach((He,at)=>{let{from:Oe,length:ct,region:nr}=He;Oe<=we&&we<=Oe+(nr||ct)&&(Fe=at)}),ne(He=>D(_({},He),{active:!0,index:Fe})),ce.preventDefault()},onChange:()=>{}},te))]})},Bs={Origin:r=>{let a=_({},r),[o]=(0,Bo.useState)(r.componentID||_o.default.uuid.gen());if(a.componentID=o,_o.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?xO.faClock:TO.faCalendarAlt;a.rightIcon=(0,ia.jsx)(ja,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ia.jsx)(re.Button.Sub.R,{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=qe.get(a.componentID);s&&s.openPicker()},children:(0,ia.jsx)(xe,{icon:l})})})}return(0,ia.jsx)(Ra,{componentID:a.componentID,children:kG,states:Yn(a)})},Clock:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"date"},r)),Week:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"week"},r)),Month:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"month"},r)),Year:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,Bo.useState)(r.componentID||_o.default.uuid.gen());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Bo.useState)((()=>{let d="year";if(o=="wareki"&&(d="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let v=Number(u);v>=2019?(v-=2019,d="reiwa"):v>=1989?(v-=1989,d="heisei"):v>=1926?(v-=1926,d="shouwa"):v>=1912?(v-=1912,d="taisho"):v>=1868&&(v-=1868,d="meiji"),v+=1}}return d})());return(0,Bo.useEffect)(()=>{qe.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,ia.jsx)(Bs.Origin,D(_({restrict:"dateWareki",leftIndicator:(0,ia.jsx)(is,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:({value:d,eventType:u})=>{s(d);let h=qe.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"dates"},r)),Month:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"months"},r))},fn:kO};var ar=K(Ot()),Da=K(pr()),ra=K(dr());var Sd=K(Ot());var bd=K(Ot()),EO=K(dr());var yd=K(pr());var Xf=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,u=Qe(a,["color","size","showInitial","loaderID"]),[h]=(0,yd.useState)(d),[p]=(0,yd.useState)(EO.default.uuid.gen()),[v,b]=(0,yd.useState)(s),y=0;l=="S"?y=1:l=="R"?y=1.5:l=="L"?y=3:l=="XL"?y=4:l=="MAX"&&(y=6);let C={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,yd.useEffect)(()=>{let w=Tt('[data-component-id="'+p+'"]');v?w.removeClass(ka("Hide")).await(10).addClass(ka("Active")):w.removeClass(ka("Active")).await(210).addClass(ka("Hide"))},[v]),(0,yd.useEffect)(()=>{qe.set({[p]:{active:w=>{h==w&&b(!0)},stop:w=>{h==w&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,bd.jsxs)(We.Center,D(_({className:[ka("MiniLoader"),ka(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:y,position:"relative"},u),{children:[(0,bd.jsx)("svg",{className:ka("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,bd.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bd.jsx)("svg",{className:ka("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,bd.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Bl=K(Ot());var I_=K(pr());var RO=()=>{let[r,a]=(0,I_.useState)(!1);return(0,I_.useEffect)(()=>{qe.set({["Loader-corner-"+st.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Bl.jsxs)(_t,{className:[ka("CornerLoader"),r?ka("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Bl.jsxs)(_t,{className:ka("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Bl.jsx)(E,{className:ka("Ld4")}),(0,Bl.jsx)(E,{className:ka("Ld3")}),(0,Bl.jsx)(E,{className:ka("Ld2")}),(0,Bl.jsx)(E,{className:ka("Ld1")}),(0,Bl.jsx)(E,{className:ka("Ld2")}),(0,Bl.jsx)(E,{className:ka("Ld3")}),(0,Bl.jsx)(E,{className:ka("Ld4")})]}),(0,Bl.jsx)(E,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Jf=r=>{let a=r.color;return{S:o=>(0,Sd.jsx)(Xf,_({size:"S",color:a},o)),R:o=>(0,Sd.jsx)(Xf,_({size:"R",color:a},o)),L:o=>(0,Sd.jsx)(Xf,_({size:"L",color:a},o)),XL:o=>(0,Sd.jsx)(Xf,_({size:"XL",color:a},o)),MAX:o=>(0,Sd.jsx)(Xf,_({size:"MAX",color:a},o))}},Qa={Wrapper:()=>(0,Sd.jsx)(RO,{}),Theme:Jf({color:"theme"}),Posi:Jf({color:"posi"}),Nega:Jf({color:"nega"}),Warn:Jf({color:"warn"}),White:Jf({color:"white"}),Cloud:Jf({color:"cloud"}),fn:{corner:{active:()=>{let r=qe.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=qe.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{Tt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=qe.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{Tt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=qe.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{Tt("."+ka("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=qe.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Qa.fn.corner.stop(),Qa.fn.mini.stopALL()}}};function EG(r){let{value:a,states:o}=r,{required:l,options:s,min:d,max:u}=o;d=d||0,u=u||65535;let h=[],p=a.filter(v=>v!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var Qf={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:d,searchValue:u}=o,h=u||(ra.default.is.string(s)?s:"")||(ra.default.is.string(d)?d:"");a.push(D(_({},o),{searchValue:h,type:l||"selector",value:d}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},Zf={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,ar.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ar.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,ar.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:d,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:v,val_preventOpenSelectorOnFocus:b,set_preventOpenSelectorOnFocus:y,val_selectorOpen:C,set_selectorOpen:w,val_status:k,set_status:B,val_validate:M,set_validate:X}=r,F=a,{tone:V,required:H,form:G,className:P,multiSelect:oe,enableFormSubmit:Ee,checkValidationAtFirst:te,onValidate:be,onUpdateValue:ye,onUpdateValidValue:fe,value:I="",options:ae,leftIndicator:me,rightIndicator:z,leftIcon:ne,rightIcon:pe,componentID:Se,status_id:ce,wrapStyles:we,emptySelect:Fe,SearchInput:He,SearchInputPlaceholder:at,SelectedComponent:Oe,SelectorComponent:ct,SelectorGravityPoint:nr,DynamicOptionsOnSearch:bt}=F,yt=Qe(F,["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","SelectorGravityPoint","DynamicOptionsOnSearch"]);(0,Da.useEffect)(()=>{var nt;if(a.disabled||!C)return;let Ae=Qf.FilterSelectableOptions(r);d(((nt=Ae[0])==null?void 0:nt.value)||null)},[o]),(0,Da.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),y(!0),setTimeout(()=>{let nt=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');nt&&nt.focus()},10)):(0,ra.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]);let It="autocomplete-sheet-"+a.componentID;return(0,Da.useEffect)(()=>{let nt="autocomplete-click-"+a.componentID;if(C){let Ae=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');if(!Ae)return;(0,ra.default)("#SearchInput_"+a.componentID).focus(),Ft.open({sheetID:It,type:"custom",parent:Ae[0],padding:["1/4",0],gravityPoint:a.SelectorGravityPoint||22,close_option:{aroundClick:!1},content:(0,ar.jsx)(Zf.Selector,_({},r))}),(0,ra.default)(document).addEvent({eventID:nt,eventType:"mousedown",callback:Ct=>{let zt=(0,ra.default)(Ct.target),Yt=!!(0,ra.default)(zt).parent("."+ts("Core")).length;(0,ra.default)(zt).parent("."+ts("Selector")).length||Yt||w(!1)}})}else(0,ra.default)(document).removeEvent([nt]),l(""),Ft.close(It)},[C]),(0,Da.useEffect)(()=>{if(a.disabled||!C)return;Ft.customSheet.reposition(It);let nt=qe.get("refresh-autocomplete-selector-"+a.componentID);nt&&nt(r)},[u,k.dataValue,o,s]),(0,ar.jsx)(ar.Fragment,{children:(0,ar.jsx)(E,D(_({tabIndex:0},yt),{"data-disabled":a.disabled,"data-name":a.name,"data-form":G,"data-show-validation":Kt.isShowValidation(M,k,!!te),"data-validation":M.ok,"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!C,"data-input-type":"autocomplete-"+(oe?"multi":"single"),className:[P,ts("Core")].join(" "),onFocus:nt=>{if(yt!=null&&yt.onFocus&&(yt==null||yt.onFocus(nt)),!a.disabled){if(b)return y(!1);w(!0),nt.preventDefault()}},onClick:nt=>{yt!=null&&yt.onClick&&(yt==null||yt.onClick(nt)),!a.disabled&&w(!0)},onKeyDown:nt=>{let{key:Ae}=nt;Ee&&Kt.SubmitForm(nt),!C&&(Ae==" "||Ae=="ArrowDown"||Ae=="ArrowUp"||Ae=="Enter")&&w(!0)},children:(0,ar.jsxs)(We.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,ar.jsx)(Zf.Selected,_({},r)),(0,ar.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,ar.jsx)(Zf.SearchInput,_({},r))]})}))})},SearchInput:r=>{let{rootStates:a}=r;return a.disabled||!r.val_selectorOpen?null:(0,ar.jsx)(E,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans","data-form":a.form,transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onKeyDown:o=>{let{key:l,metaKey:s,ctrlKey:d}=o,u=s||d;l=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let h=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');h&&h.focus()},10)):l=="Tab"?r.set_selectorOpen(!1):l==" "?ra.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(o.preventDefault(),r.set_selectorOpen(!0))}):l=="Backspace"?ra.default.scope(()=>{if(r.val_keyword)return;let h=[...r.val_status.dataValue];h.pop(),r.set_status(p=>D(_({},p),{dataValue:h,eventType:"update",eventID:ra.default.uuid.gen()}))}):l=="Enter"&&ra.default.scope(()=>{if(!r.val_selectorOpen)return r.set_selectorOpen(!0);if(!r.val_optionFocused)return;let h=r.val_options.find(v=>v.value==r.val_optionFocused);if(!h)return;let{value:p}=h;r.set_status(v=>{let b=[...v.dataValue];return ra.default.scope(()=>{if(p===null)return b=[];v.dataValue.includes(p)?b=b.filter(y=>y!==p):a.multiSelect?b.push(p):b=[p]}),D(_({},v),{dataValue:b,eventType:"update",eventID:ra.default.uuid.gen()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),ra.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(l))return;if(o.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let h=l=="ArrowDown"?1:-1,p=Qf.FilterSelectableOptions(r),v=p.length-1,b=null;ra.default.scope(()=>{var y,C,w,k;if(h==1){if(b=((y=p[0])==null?void 0:y.value)||null,u){b=p[v].value||null;return}let B=p.findIndex(M=>M.value==r.val_optionFocused);if(B==-1)return;b=((C=p[B+1])==null?void 0:C.value)||b||null}else{if(b=p[v].value||null,u){b=((w=p[0])==null?void 0:w.value)||null;return}let B=p.findIndex(M=>M.value==r.val_optionFocused);if(B==-1)return;b=((k=p[B-1])==null?void 0:k.value)||b||null}}),r.set_optionFocused(b)}),a.enableFormSubmit&&Kt.SubmitForm(o)},onChange:o=>{let l=o.target.value;r.set_keyword(l)}},"searchInput")},Selector:r=>{let[a,o]=(0,Da.useState)(r),{rootStates:l}=a,[s,d]=(0,Da.useState)("idle"),[u,h]=(0,Da.useState)("idle");(0,Da.useEffect)(()=>{qe.set({["refresh-autocomplete-selector-"+l.componentID]:y=>{o(y)}})},[]),(0,Da.useEffect)(()=>{if(!a.val_selectorOpen||!l.DynamicOptionsOnSearch)return;if(a.val_preventDynamicSearchOnKeywordChange)return a.set_preventDynamicSearchOnKeywordChange(!1);if(s=="idle")return d("ok");h("fetch");let y="autocomplete-search-"+l.componentID;ra.default.interval.clear(y),ra.default.interval.standBy(y,300,()=>ea(void 0,null,function*(){let C=yield l.DynamicOptionsOnSearch(a.val_keyword);h("idle");let w=Qf.InitOptions(C||[]);a.set_options(w)}))},[a.val_keyword]);let p=[],v=Qf.FilterSelectableOptions(a,!0),b=Qf.FilterSelectableOptions(a);return v.forEach((y,C)=>{let{type:w,value:k}=y,B=a.val_optionFocused==k,M=a.val_status.dataValue.includes(k),X=l.SelectorComponent;p.push((0,ar.jsx)(X,{option:y,isFocused:B,isSelected:M,addCallback:()=>{a.set_status(F=>{let V=[...F.dataValue];return ra.default.scope(()=>{if(k===null)return V=[];F.dataValue.includes(k)?V=V.filter(H=>H!==k):l.multiSelect?V.push(k):V=[k]}),D(_({},F),{dataValue:V,eventType:"update",eventID:ra.default.uuid.gen()})})}},String(k)||ra.default.uuid.gen()))}),b.length||(p=[(0,ar.jsx)(Ke.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),u=="fetch"&&(p=[(0,ar.jsxs)(We.Left,{padding:1,fontColor:"3.blur",children:[(0,ar.jsx)(Qa.Theme.R,{showInitial:!0}),(0,ar.jsx)(Ke.Supplement,{children:"Loading..."})]},"loader")]),(0,ar.jsx)(Ft.Body,{className:ts("Selector"),ssCardBox:!0,borderRadius:"3.tone.tertiary",boxShadow:"1.normal",freeCSS:{minWidth:12*18},children:(0,ar.jsx)(pt,{gap:0,padding:[1,0],children:p})})},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,d=[];return o.dataValue.forEach(u=>{let h=s[String(u)];if(!h)return;let p=a.SelectedComponent,v=h.label;h.value===null&&(v=""),d.push((0,ar.jsx)(E,{className:ts("SelectedCell"),children:(0,ar.jsx)(p,{value:h.value,label:v,removeCallback:b=>{if(b.stopPropagation(),b.preventDefault(),a.disabled)return;let y=[...o.dataValue];y=y.filter(C=>C!==u),l(C=>D(_({},C),{dataValue:y,eventType:"update",eventID:ra.default.uuid.gen()}))}})},String(h.value)))}),(0,ar.jsx)(ar.Fragment,{children:d})},Core:r=>{let{value:a}=r,[o,l]=(0,Da.useState)(!1),[s,d]=(0,Da.useState)(!1),[u,h]=(0,Da.useState)(!1),[p,v]=(0,Da.useState)(""),[b,y]=(0,Da.useState)(r.options),[C,w]=(0,Da.useState)(r.value[0]||null),[k,B]=(0,Da.useState)({}),[M,X]=(0,Da.useState)(Kt.DefaultStatus(r.componentID,a)),[F,V]=(0,Da.useState)({ok:!1,notice:[]}),H=(0,Da.useRef)(!1);(0,Da.useEffect)(()=>{H.current?y(r.options):H.current=!0},[r.options]),(0,Da.useEffect)(()=>{if(!b.length)return;let Ee=[...b],te=_({},k);Ee.forEach(be=>{be.type!="label"&&(te[String(be.value)]=be)}),B(te)},[b]);let G={rootStates:r,val_options:b,set_options:y,val_optionFocused:C,set_optionFocused:w,val_optionsDict:k,set_optionsDict:B,val_preventDynamicSearchOnKeywordChange:s,set_preventDynamicSearchOnKeywordChange:d,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_selectorOpen:u,set_selectorOpen:h,val_keyword:p,set_keyword:v,val_status:M,set_status:X,val_validate:F,set_validate:V},P=!!r.multiSelect;Kt.CommonEffects({type:P?"autocomplete.multi":"autocomplete.single",states:r,val_status:M,set_status:X,val_validate:F,set_validate:V,SystemValidation:EG});let oe=M.dataValue.length&&M.dataValue[0]!==null;return oe=oe||u,(0,ar.jsxs)(Ha,{val_status:M,set_status:X,val_validate:F,states:r,children:[(0,ar.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:oe}),(0,ar.jsx)(Zf.Shallow,_({},G)),(0,ar.jsx)(Zf.Button,_({},G))]})}},P_=r=>{let a=_({},r);return a=D(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:o,isSelected:l,isFocused:s,addCallback:d})=>o.type=="selector"?(0,ar.jsx)(re.Button.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:s,isActiveStyles:{backgroundColor:"cloud"},onClick:u=>{d()},children:(0,ar.jsxs)(We.Left,{children:[l&&(0,ar.jsx)(xe.Check,{fontColor:"theme"}),(0,ar.jsx)(Ke.Supplement,{transition:"short",children:o.label})]})}):(0,ar.jsx)(ar.Fragment,{children:o.label}),SelectedComponent:({value:o,label:l,removeCallback:s})=>(0,ar.jsxs)(We.Left,{ssCardBox:"cloud",backgroundColor:"layer.3",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,ar.jsx)(E,{padding:[0,"1/4"],children:l}),(0,ar.jsx)(re.Button.Sub.R,{color:"cloud",fontColor:"white",backgroundColor:"layer.6",isRounded:!0,padding:"1/4",onClick:s,children:(0,ar.jsx)(xe.Times,{ssSphere:1})})]})},a),{freeCSS:_({cursor:"pointer"},a.freeCSS)}),a.multiSelect||(a.min=1,a.max=1),a.options=a.options||[],a.emptySelect&&(a.options=[{value:null,label:(0,ar.jsx)(Ke.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...a.options]),a.value=ra.default.flatArray(a.value||null),a.options=Qf.InitOptions(a.options),ra.default.is.nullish(a.rightIcon)&&(a.rightIcon=(0,ar.jsx)(ja,{ssSphere:2,children:(0,ar.jsx)(xe.Search,{})}),a.disabled&&(a.rightIcon=(0,ar.jsx)(ja,{ssSphere:2,fontColor:"5.translucent",children:(0,ar.jsx)(xe.Ban,{})}))),a.rightIcon&&(a=_({paddingRight:3},a)),a.leftIcon&&(a=_({paddingLeft:3},a)),(0,ar.jsx)(Ra,{componentID:a.componentID,children:Zf.Core,states:Yn(a)})};var wd=K(Ot());var DO=r=>(0,wd.jsx)(P_,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wd.jsx)(wd.Fragment,{children:o}),rightIcon:(0,wd.jsx)(ja,{ssSphere:2,children:(0,wd.jsx)(xe.AngleDown,{})})},r));var Cr=K(Ot()),Cd=K(pr()),_c=K(dr());var No=K(Ot()),LO=K(pr()),gc=K(dr());var Su=K(pr());var $n={add:function(r){let a=qe.get("Snackbar-"+st.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=qe.get("Snackbar-"+st.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,No.jsx)(AO.Wrapper,{})},AO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=gc.default.uuid.gen(),children:d,customChildren:u}=a,h=Qe(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Su.useState)(s),[v,b]=(0,Su.useState)(r.secondsToClose||10);(0,Su.useEffect)(()=>{let C=Tt('[data-component-id="'+p+'"]');setTimeout(()=>{C.addClass(sm("FadeIn"))},10),qe.set({["Snackbar-"+o]:{remove:()=>{C.addClass(sm("FadeOut"))}}})},[]),(0,Su.useEffect)(()=>{gc.default.interval.clear("Snackbar-"+p),gc.default.interval.standBy("Snackbar-"+p,1e3,()=>{v<=0||b(v-1)}),v===0&&$n.remove(o)},[v]);let y=(0,No.jsx)(No.Fragment,{});return u?y=(0,No.jsx)(u,{close:()=>{$n.remove(o)}}):y=(0,No.jsxs)(We.Separate,{verticalAlign:"top",children:[(0,No.jsx)(E,{padding:["1/4",0],flexSizing:0,children:gc.default.is.function(d)?(0,No.jsx)(d,{}):d}),(0,No.jsx)(re.Button.Clear.R,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{$n.remove(o)},children:(0,No.jsx)(xe.Times,{})})]}),(0,No.jsx)(E,D(_({className:sm("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:y}))},Wrapper:()=>{let[r,a]=(0,Su.useState)(gc.default.uuid.gen()),[o,l]=(0,Su.useState)([]);(0,Su.useEffect)(()=>{qe.set({["Snackbar-"+st.get().sessionUID]:{add:d=>{d.snackID=d.snackID||gc.default.uuid.gen();let u=o.findIndex(h=>h.snackID==d.snackID);if(u==-1)o.unshift(D(_({},d),{snackID:d.snackID}));else{let h=[...o];h[u]=D(_({},d),{snackID:d.snackID}),o=h}a(gc.default.uuid.gen())},remove:d=>{let u=qe.get("Snackbar-"+d);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(v=>v.snackID==d);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))}}})},[o.length]);let s=o.map(d=>(0,LO.createElement)(AO.Cell,D(_({},d),{key:d.snackID})));return(0,No.jsx)(_t,{className:["AMOTIFY_be",sm("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 zO=K(FO());function RG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var jO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-o.dataValue.length,d=o.dataValue.map((u,h)=>(0,Cr.jsx)(jO.ListCell,D(_({},r),{index:h,val_file:u}),u.name));return s>0&&d.push((0,Cr.jsx)(E,D(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,es("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)&&Tt("#"+a.id).click()},children:(0,Cr.jsxs)(We.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(E,{isRounded:!0,className:es("AddIcon"),children:(0,Cr.jsx)(xe,{icon:zO.faCloudArrowUp,className:es("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(E,{children:[(0,Cr.jsxs)(E,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Cr.jsx)(E,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(pt,D(_({flexSizing:"auto"},Ll(a)),{className:a.className,children:d}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:d}=r,{name:u,size:h,type:p}=l,[v,b]=(0,Cd.useState)(!1),y=_c.default.uuid.gen(),C=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),B="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?B=p.replace(/image\//,""):p.match(/pdf/)?B="PDF":p.match(/csv/)?B="CSV":p.match(/spreadsheet/)?B="SpreadSheet":p.match(/presentation/)?B="PowerPoint":p.match(/word/)?B="Word":p.match(/zip/)?B="Zip":p.match(/powerpoint/)?B="PowerPoint":p.match(/html/)?B="HTML":p.match(/js/)?B="JavaScript":p.match(/css/)?B="CSS":p.match(/text\/plain/)&&(B="\u30C6\u30AD\u30B9\u30C8"),(0,Cd.useEffect)(()=>{v&&setTimeout(()=>{Tt("#"+y).focus()},100)},[v]),(0,Cr.jsxs)(_t,D(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(xe.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(E,{flexSizing:0,children:[(0,Cr.jsx)(E,{children:(0,Cr.jsx)(_t,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:es("FileName"),children:v?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(pt,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(_t,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(hn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:y,form:"form-"+y,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:X}=M;X=="Escape"&&b(!1)}}),(0,Cr.jsxs)(E,{children:[". ",k]})]}),(0,Cr.jsxs)(_t,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(re.Button.Sub.R,{padding:["2/3",1],onClick:()=>{b(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(re.Button.Prime.R,{padding:["2/3",1],submitOption:{formName:"form-"+y,callback:M=>ea(void 0,null,function*(){let{name:X}=M,F=[...s.dataValue],V=F[a],H=V.id;if(!V)return;let{target:G}=yield V.convert();if(!G)return;let P=yield String(G.result).toBlob(l.type);if(!P)return;let oe=new File([P],X+"."+k,{type:V.type});oe.id=H,F[a]=oe,d(Ee=>D(_({},Ee),{dataValue:F,eventType:"update",eventID:_c.default.uuid.gen()})),b(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(re.Button.Clear.R,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{b(!0)},children:(0,Cr.jsx)(xe.Pen,{})})]})})}),!v&&(0,Cr.jsxs)(E,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[B,"\u30D5\u30A1\u30A4\u30EB / ",C,"B"]})]}),(0,Cr.jsx)(re.Button.Sub.R,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),d(X=>D(_({},X),{dataValue:M,eventType:"update",eventID:_c.default.uuid.gen()})))},children:(0,Cr.jsx)(xe.Times,{})})]}))}},DG=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:d,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:v,onChange:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,value:k=[],className:B,cellStyles:M,cellClassName:X,componentID:F,status_id:V,enableFormSubmit:H,freeCSS:G,wrapStyles:P}=a,oe=Qe(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[Ee,te]=(0,Cd.useState)(Kt.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,Cd.useState)({ok:!1,notice:[]}),fe={rootStates:r,val_status:Ee,set_status:te};(0,Cd.useEffect)(()=>{qe.set({["AddFiles-"+Ee.componentID]:ae=>{te(me=>{let z=me.dataValue,ne=[];for(var pe=0;pe<(ae==null?void 0:ae.length);pe++){let Se=ae[pe],{type:ce,name:we}=Se;if(pe+1+z.length>p){$n.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"&&!ce.match(/image/)){$n.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}ne.push(Se)}return D(_({},me),{dataValue:[...z,...ne],eventType:"update",eventID:_c.default.uuid.gen()})})}})},[]),Kt.CommonEffects({type:"file",states:r,val_status:Ee,set_status:te,val_validate:be,set_validate:ye,SystemValidation:RG});let I="";return h&&(h=="image"?I="image/png,image/jpeg":I=h),(0,Cr.jsxs)(Ha,{val_status:Ee,set_status:te,val_validate:be,states:r,children:[(0,Cr.jsx)(E,D(_({htmlTag:"input",type:"file",className:es("Input"),"data-form":s,"data-input-type":"file","data-component-id":Ee.componentID,"data-validation":be.ok,accept:I,multiple:p!=1,onChange:ae=>ea(void 0,null,function*(){b&&b(ae);let me=ae.target,z=me.files,ne=[];for(var pe=0;pe<(z==null?void 0:z.length);pe++){let Se=z[pe],ce=Se.name;if(Se.id=_c.default.uuid.gen(),pe+1+Ee.dataValue.length>p){$n.add({componentID:ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}ne.push(Se)}te(Se=>D(_({},Se),{dataValue:[...Se.dataValue,...ne],eventType:"update",eventID:_c.default.uuid.gen()})),me.value=""})},oe),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(jO.List,_({},fe))]})},Cw=r=>(r=D(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border"},r),{override:"force",cellStyles:_(_({},Yn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Ra,{componentID:r.componentID,children:DG,states:r}));Cw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=d=>{l(d.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,_c.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),Tt("."+es("AddButton")).addClass(es("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),Tt("."+es("AddButton")).removeClass(es("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(Tt(o).hasClass(es("AddButton"))){let{componentId:l}=o.dataset,s=qe.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var bo=K(Ot()),ym=K(pr()),wu=K(dr());function LG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var UO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:d}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/d),{stepValue:u*d,stepIndex:u,positionLeft:u*d/s*100+"%"}},HO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:d}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),v=p-h+1;for(var b=h;b<=p;b++){let y=b*s;y=Math.max(y,o),y=Math.min(y,l);let C=y/l*100+"%";u.push((0,bo.jsx)(E,{className:Ds("Label"),id:"Legend-"+a+"-"+b,display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:C,whiteSpace:"nowrap",textAlign:"center"},children:d?d(y):y.rank()},y))}return(0,ym.useEffect)(()=>{let y=()=>{let C=Tt("#Labels-"+a),{width:w}=C.position(),k=Math.round(w/50)-1,B=Math.round(v/k);for(let M=h+1;M<p;M++)Tt("#Legend-"+a+"-"+M).css({display:M%B==0?"flex":"none"})};return(0,wu.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{y()}}),y(),()=>{(0,wu.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,bo.jsx)(_t,{className:Ds("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,bo.jsx)(E,{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:d}=r,{componentID:u}=a;return(0,bo.jsxs)(_t,{className:Ds("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onMouseDown:h=>{r.rootStates.disabled||(h.stopPropagation(),xd.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},onTouchStart:h=>{r.rootStates.disabled||(h.stopPropagation(),xd.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,bo.jsx)(E,{className:Ds("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,bo.jsx)(E,{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,bo.jsx)(E,{className:Ds("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,bo.jsx)(re.Button.Plain,{className:Ds("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},"data-form-name":s,id:u+"_Ball",onKeyDown:h=>{xd.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),d&&Kt.SubmitForm(h)}})})]})}},xd={Effects:{Start:(r,a)=>{(0,wu.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{xd.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{xd.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{xd.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{xd.Effects.End()}})},Move:(r,a)=>{let o=wu.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:u,max:h}=l,p=Tt("#"+d+"_Ball"),v=Tt("#"+d+"_Bar"),b=Tt("#"+d+"_BarColor"),{width:y,left:C}=v.position(),w=(o-C)/y;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,B=UO({value:k,val_status:l}),M=B.positionLeft,X=B.stepValue;return p.css({left:M}),b.css({width:M}),s(F=>{let V=F.dataValue;return X==V?F:D(_({},F),{dataValue:X,eventType:"update",eventID:wu.default.uuid.gen()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,wu.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:d,step:u}=o,{key:h,metaKey:p,ctrlKey:v}=a,b=v||p,y=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?y=s:y-=u:h.match(/Right|Down/)&&(b?y=d:y+=u),y=Math.max(Math.min(y,d),s),l(C=>D(_({},C),{dataValue:y,eventType:"update",eventID:wu.default.uuid.gen()})))}},AG=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:d=!0,custom:u,showAlways:h=!1}={},min:p,max:v,step:b,enableFormSubmit:y,checkValidationAtFirst:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M="",className:X,freeCSS:F,wrapStyles:V}=a,H=Qe(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[G,P]=(0,ym.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:v,step:b,eventType:"init",eventID:wu.default.uuid.gen()}),[oe,Ee]=(0,ym.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"slider",states:r,val_status:G,set_status:P,val_validate:oe,set_validate:Ee,SystemValidation:LG});let te=UO({value:G.dataValue,val_status:G});return(0,bo.jsx)(Ha,{val_status:G,set_status:P,val_validate:oe,states:r,children:(0,bo.jsxs)(pt,{gap:"1/2",flexSizing:"auto",className:[Ds("Wrap"),X,Ds("ShowLegendsAlways_"+h)].join(" "),children:[(0,bo.jsx)(HO.Rail,{rootStates:r,color:o,val_status:G,set_status:P,DotData:te,form:s,enableFormSubmit:y}),!!d&&(0,bo.jsx)(HO.IndicatorLabels,{componentID:G.componentID,min:p,max:v,step:b,customLegends:u})]})})},VO=r=>{let a=_({},r);return(0,bo.jsx)(Ra,{componentID:r.componentID,children:AG,states:Do(a)})};var ls=K(Ot()),xw=K(pr()),Tw=K(dr());function BG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var NG=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:d,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:v,onKeyDown:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,value:k="",icon:B="",appearance:M="material"}=a,X=Qe(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","icon","appearance"]),[F,V]=(0,xw.useState)({componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:Tw.default.uuid.gen()}),[H,G]=(0,xw.useState)({ok:!1,notice:[]}),P=!!F.dataValue;return Kt.CommonEffects({type:"switch",states:r,val_status:F,set_status:V,val_validate:H,set_validate:G,SystemValidation:BG}),(0,ls.jsxs)(Ha,{val_status:F,set_status:V,val_validate:H,states:r,children:[(0,ls.jsx)(E,_({htmlTag:"input",type:"checkbox","data-form":d,"data-input-type":"switch","data-validation":H.ok,"data-component-id":F.componentID,"data-value":F.dataValue,checked:F.dataValue,className:cd("Input"),id:u,onKeyDown:oe=>{b&&b(oe),h&&Kt.SubmitForm(oe)},onChange:oe=>{let{checked:Ee}=oe.target;H.ok&&G({ok:!1,notice:[]}),V(te=>D(_({},te),{dataValue:Ee,eventType:"update",eventID:Tw.default.uuid.gen()})),v&&v(oe)}},X)),(0,ls.jsx)(re.Label.Plain,{tabIndex:-1,htmlFor:u,padding:"1/3",transition:"middle",borderRadius:"1.tone.primary",className:cd("Label"),children:(0,ls.jsx)(E,D(_({},M=="applely"?{padding:"1/4",isRounded:!0,backgroundColor:P?l:"layer.5"}:{}),{children:(0,ls.jsxs)(We.Center,{unitHeight:2.5,position:"relative",freeCSS:{width:12*4.5},children:[M=="material"&&(0,ls.jsx)(E,{position:"absolute",backgroundColor:P?l:"layer.5",isRounded:!0,unitHeight:1,transition:"middle",width:1,opacity:"middle",className:cd("Bar")}),(0,ls.jsx)(E,{position:"absolute",top:0,left:0,backgroundColor:M=="material"&&P?l:"white",transition:"middle",ssSphere:2.5,boxShadow:"1.remark",className:cd("Dot"),children:B&&(0,ls.jsx)(E,{transition:"middle",ssSquare:2,flexCenter:!0,fontColor:M=="applely"&&P?l:"white",children:B})})]})}))})]})},WO=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,ls.jsx)(Ra,{componentID:a.componentID,children:NG,states:a})};var YO=K(Ot());var $O=r=>(r=_({},r),(0,YO.jsx)(O_,D(_({},r),{isChecker:!0,icon:!0,value:!!r.value,options:[{value:!0,label:r.label}]})));var Cu=K(Ot()),GO=K(dr()),M_=K(pr());var OG=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:d,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:v,cellStyles:b,cellClassName:y,cellCheckedClassName:C,cellCheckedStyles:w,freeCSS:k,wrapStyles:B}=a,M=Qe(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[X]=(0,M_.useState)(GO.default.uuid.gen()),[F,V]=(0,M_.useState)(s),[H,G]=(0,M_.useState)(F);return F!=s&&(V(s),G(s)),(0,Cu.jsx)(vd,D(_({options:d,value:H,componentID:X,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},k),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},b),cellCheckedStyles:_({},w),cellClassName:[y,b_("Label"),b_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[C,b_("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:P=>{h&&h(P),o=="bottomline"&&G(P.value)}}))},F_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=D(_({padding:"1/3",gap:"1/3",ssCardBox:!0,isRounded:!0},r),{cellStyles:_({isRounded:!0,padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Cu.jsx)(OG,_({__sys_segmented_type:"plain"},r))},ss=F_;ss.Cloud=r=>{let a=D(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))},ss.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Cu.jsx)(ss.Cloud,_({},a))},ss.CloudMono=r=>{let a=D(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Cu.jsx)(ss.Cloud,_({},a))},ss.Border=r=>{let a=D(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))},ss.BorderVivid=r=>{let a=D(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Cu.jsx)(ss.Border,_({},a))},ss.Bottomline=r=>{let a=D(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))};var z_=K(Ot()),kw=K(pr()),qO=K(dr());function IG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var PG=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:d,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:v,onUpdateValue:b,onUpdateValidValue:y,value:C=""}=a,w=Qe(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,B]=(0,kw.useState)(Kt.DefaultStatus(r.componentID||"",C)),[M,X]=(0,kw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"color",states:r,val_status:k,set_status:B,val_validate:M,set_validate:X,SystemValidation:IG}),(0,z_.jsx)(Ha,{val_status:k,set_status:B,val_validate:M,states:r,children:(0,z_.jsx)(E,_({htmlTag:"input",type:"color","data-form":s,"data-input-type":"color","data-validation":M.ok,"data-component-id":k.componentID,"data-value":k.dataValue,value:k.dataValue,className:cd("Input"),onKeyDown:F=>{p&&p(F),d&&Kt.SubmitForm(F)},onChange:F=>{let{value:V}=F.target;M.ok&&X({ok:!1,notice:[]}),B(H=>D(_({},H),{dataValue:V,eventType:"update",eventID:qO.default.uuid.gen()})),h&&h(F)}},w))})},KO=r=>{let a=D(_(D(_({},Yn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,z_.jsx)(Ra,{componentID:r.componentID,children:PG,states:a})};var XO=K(dr());var JO=r=>ea(void 0,null,function*(){let a=1,o={};return yield XO.default.scope(()=>ea(void 0,null,function*(){if(qe.get("form-process-"+r))return;qe.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();let s=qe.get("form-data-"+r);if(!s){qe.set({["form-process-"+r]:!1});return}for(let[d,u]of Object.entries(s)){let{componentID:h,type:p,value:v,validation:b}=u,y=qe.get(h);y&&y.Refresh&&(yield y.Refresh()),a&=Number(b),o[d]=v}qe.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var ot;(r=>(r.Plain=VN,r.Hidden=GN,r.TextField=hn,r.Contenteditable=aO,r.DigitCharacters=oO,r.Time=Bs,r.Select=is,r.Autocomplete=P_,r.List=SO,r.Radio=vd,r.Checkbox=O_,r.Checker=$O,r.Search=DO,r.Filer=Cw,r.Slider=VO,r.Switch=WO,r.Segmented=ss,r.Color=KO,r.LeftIcon=Gf,r.RightIcon=ja,r.LeftIndicator=E_,r.RightIndicator=R_,r.RequiredSign=x_,r.RequiredShortSign=T_,r.OmitSign=k_,r.CollectForm=JO))(ot||(ot={}));var H_=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:d}=a,u=Qe(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,QO.useEffect)(()=>{d&&d()},[]),(0,j_.jsx)(_t,D(_({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,j_.jsx)(E,{margin:[0,"auto"],children:(0,j_.jsx)(ot.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var bc=K(Ot());var Gr={Table:r=>(0,bc.jsx)(E,D(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,bc.jsx)(E,_({htmlTag:"thead"},r)),Body:r=>(0,bc.jsx)(E,_({htmlTag:"tbody"},r)),Row:r=>(0,bc.jsx)(E,_({htmlTag:"tr"},r)),TH:r=>(0,bc.jsx)(E,_({htmlTag:"th"},r)),TD:r=>(0,bc.jsx)(E,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,bc.jsx)(xe.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(Ot());var Ew=K(Ot()),e7=K(dr());var ZO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},ll=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 ep=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=D(_({tableID:a.tableID||e7.default.uuid.gen(),tone:a.tone},a),{cellStyles:_(_({},ZO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=Do(l),{className:d,style:u}=s,h=Qe(s,["className","style"]),p=[d,er("Wrap"),er("TableType_"+a.type),er("RowClickable_"+!!l.onRowClick)].join(" ");return(0,Ew.jsx)(E,{className:p,style:u,children:(0,Ew.jsx)(o,_({},h))})};var Rw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:u}=r;if(!d)return null;let h=[];return d.forEach((p,v)=>{let b=Gr[p.type=="th"?"TH":"TD"],y={top:!0,bottom:!u.length,left:v==0,right:v==s-1,rowIndex:0,colIndex:v,isBody:!1,isHeader:!0},C=ll(y),w=l?l(y):{},k=D(_(_(_(_({},a),C),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[er("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(b,_({},k),v))}),(0,Oo.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:u,onRowClick:h}=r,p=[];return d.forEach((v,b)=>{let y=[];v.forEach((C,w)=>{let k=Gr[C.type=="th"?"TH":"TD"],B={top:b==0&&!s,bottom:b==d.length-1,left:w==0,right:w==u-1,rowIndex:b,colIndex:w,isBody:!0,isHeader:!1},M=ll(B),X=l?l(B):{};y.push((0,Oo.jsx)(k,D(_(_(_(_({},a),M),C),X),{freeCSS:_(_(_({},a.freeCSS),X.freeCSS),C.freeCSS),className:[er("Cell"),o,C.className].join(" ")}),w))}),p.push((0,Oo.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow")].join(" "),children:y,onClick:C=>{h&&h(v.rowID,C)}},b))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)(Gr.Table,{className:er("Table"),children:(0,Oo.jsxs)(Gr.Body,{children:[(0,Oo.jsx)(Rw.HeadRow,_({},r)),(0,Oo.jsx)(Rw.BodyRows,_({},r))]})}))},t7=r=>(0,Oo.jsx)(ep,D(_({type:"normal"},r),{JSXChildren:Rw.Normal}));var Ca=K(Ot()),ap=K(pr()),tp=K(dr());var Lw=K(s7());var Aw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:u}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let v=d[p],b=Gr[v.type=="th"?"TH":"TD"],y={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},C=ll(y),w=l?l(y):{};h.push((0,Ca.jsx)(b,D(_(_(_(_({},a),C),v),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),v.freeCSS),className:[er("Cell"),o,v.className].join(" ")}),p))}return(0,Ca.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:u,onOrderChanged:h}=r,[p]=(0,ap.useState)(tp.default.uuid.gen()),[v,b]=(0,ap.useState)({rows:d,origin:0,to:NaN}),y=[];if(v.rows.forEach((C,w)=>{let k=[];{let B={top:w==0&&!s,bottom:w==d.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=ll(B),X=l?l(B):{};k.push((0,Ca.jsx)(Gr.TH,D(_(_(_({padding:0,borderRight:!0},a),M),X),{freeCSS:_(_({},a.freeCSS),X.freeCSS),className:[er("Cell"),er("Draggable"),o].join(" "),children:(0,Ca.jsx)(re.Button.Clear.R,{className:er("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onMouseDown:F=>{rp.Start(F,{id:p,index:w,rows:v.rows,maxLength:d.length})},onTouchStart:F=>{rp.Start(F,{id:p,index:w,rows:v.rows,maxLength:d.length})},children:(0,Ca.jsx)(xe,{icon:Lw.faGripVertical})})}),"DragOrigin"))}C.forEach((B,M)=>{B=_({},B);let X=Gr[B.type=="th"?"TH":"TD"],F={top:!!s&&!s.length,bottom:w==d.length-1,left:!1,right:M==u-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},V=ll(F),H=l?l(F):{};k.push((0,Ca.jsx)(X,D(_(_(_(_({},a),V),B),H),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),B.freeCSS),className:[er("Cell"),o,B.className].join(" ")}),M))}),y.push((0,Ca.jsx)(Gr.Row,{id:"TableRow-"+p+"-"+w,className:[er("Row"),er("BodyRow")].join(" "),children:k},w))}),!isNaN(v.to)){let{origin:C,to:w}=v,k=[];k.push((0,Ca.jsx)(Gr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[er("Cell"),er("Draggable"),o].join(" "),children:(0,Ca.jsx)(xe.ArrowRight,{fontColor:"theme"})},"dragButton")),v.rows[C].forEach((B,M)=>{B=_({},B);let X=Gr[B.type=="th"?"TH":"TD"],F={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},V=ll(F),H=l?l(F):{};k.push((0,Ca.jsx)(X,D(_(_(D(_({className:[er("Cell"),o,B.className].join(" ")},V),{backgroundColor:"theme.opa.low"}),H),B),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),B.freeCSS)})))}),y.splice(w,0,(0,Ca.jsx)(Gr.Row,{className:[er("Row"),er("Pre")].join(" "),children:k},"preSet"))}return(0,ap.useEffect)(()=>{qe.set({[p]:{swap:(C,w)=>{if(w||w==0){let k=v.rows[C],B=[...v.rows];B.splice(C,1),B.splice(w-(C<w?1:0),0,k),b({rows:B,origin:0,to:NaN}),h(B.map(M=>JSON.parse(M.rowID)))}},preSet:C=>{let{origin:w,index:k}=C;b({rows:v.rows,origin:w,to:k})}}})}),(0,ap.useEffect)(()=>()=>{qe.delete(p)},[]),(0,Ca.jsx)(Ca.Fragment,{children:y})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ca.jsx)(re.Button.Clear.R,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Fr.open({parent:a.currentTarget,content:(0,Ca.jsxs)(Fr.Body,{children:[(0,Ca.jsx)(xe,{icon:Lw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ca.jsx)(xe.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=JSON.stringify(a.rowID||o),a)),(0,Ca.jsx)(Gr.Table,{className:er("Table"),children:(0,Ca.jsxs)(Gr.Body,{children:[(0,Ca.jsx)(Aw.HeadRow,_({},r)),(0,Ca.jsx)(Aw.BodyRows,_({},r))]})}))},u7=r=>(0,Ca.jsx)(ep,D(_({type:"drag"},r),{JSXChildren:Aw.Drag})),rp={Start:function(r,a){return ea(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:d}=a;Tt("#TableRow-"+o+"-"+l).addClass(er("DraggerOrigin")),(0,tp.default)(document).addEvent({eventID:"DragMouseMove",eventType:"mousemove",callback:u=>{rp.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{rp.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"mouseup",callback:u=>{rp.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{rp.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=tp.default.getCursor(r).y-tp.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let u=Tt("#TableRow-"+o+"-"+d),{top:h,bottom:p,height:v}=u.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:u}=a,h=qe.get(o);h&&h.preSet&&h.preSet({origin:d,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,d=qe.get(o);d&&d.swap&&d.swap(l,s),Tt("#TableRow-"+o+"-"+l).removeClass(er("DraggerOrigin")),(0,tp.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Bt=K(Ot()),np=K(pr()),xu=K(dr());var g7=K(pS()),_7=K(mS()),b7=K(dS()),y7=K(v7());var Tu={__memoryID:xu.default.uuid.gen(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:d}=_({},r),{order:u,filter:h}=l,[p,v]=u.current,b=[],y=[...l.head];if(l.checker){let C={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=ll(C),k=l.cellStylesCallback?l.cellStylesCallback(C):{};b.push((0,Bt.jsx)(Gr.TH,D(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:D(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[er("Cell"),l.cellClassName].join(" "),children:(0,Bt.jsx)(E,{flexCenter:!0,children:(0,Bt.jsx)(ot.Checker,{label:null,value:!1,onUpdateValidValue:({value:B})=>{let M=l.rows;M.forEach(X=>{X.checked=B}),s(D(_({},l),{rows:M}))}})})}),-1))}for(let C=0;C<l.colLength;C++){let w=y[C];if(!w)continue;let k=w.children||w.data,B=u.enabled&&u.column[C],M=h.enabled&&h.column[C],X=B?(0,Bt.jsx)(xe,{fontSize:"1.mini",fontColor:C==p?"1.clear":"5.translucent",icon:C==p?v=="DESC"?_7.faArrowDown:g7.faArrowUp:b7.faArrowRight}):null,F=(0,Bt.jsx)(Bt.Fragment,{});if(M){let P=d.map(Ee=>{var te;return(te=Ee[C])==null?void 0:te.data});P=[...new Set(P)].order({direction:"ASC"});let oe=h.current[C];if(oe){let Ee=P.filter(I=>!oe.includes(I)),te=[];P.forEach(I=>{I&&te.push({value:I,label:(0,Bt.jsx)(E,{flexSizing:"auto",children:I})})});let be="BUTTON-"+l.componentID+"-"+C,ye=l.componentID+"-"+C,fe={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Bt.jsxs)(_t,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Bt.jsx)(pt,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Bt.jsx)(ot.Checkbox,{icon:!0,value:Ee,display:"flex",gap:"1/2",override:"force",options:te,hideInput:!0,name:"DTFilter-col-"+C+"-table-"+l.componentID,onUpdateValidValue:({value:I})=>{let ae=P.filter(z=>!I.includes(z)),me=_({},l);me.filter.current[C]=ae,s(me)}})}),(0,Bt.jsxs)(We.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Bt.jsx)(re.Button.Border.S,{isRounded:!0,onClick:()=>{Ft.close(ye)},children:"\u9589\u3058\u308B"}),(0,Bt.jsx)(re.Button.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let I=[];oe.length||(I=P);let ae=_({},l);ae.filter.current[C]=I,s(ae)},children:"\u5168\u9078\u629E"})]})]})};Ft.refresh(fe,!0),F=(0,Bt.jsx)(E,{className:er("FilterRegion"),children:(0,Bt.jsx)(re.Button.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:er("Filtering_"+!!oe.length),id:be,onClick:I=>{I.stopPropagation(),Ft.open(fe)},children:(0,Bt.jsx)(xe,{icon:y7.faFilter})})})}}let V={top:!0,bottom:!l.rows.length,left:l.checker?!1:C==0,right:C==l.colLength-1,rowIndex:0,colIndex:C,isBody:!1,isHeader:!0},H=ll(V),G=l.cellStylesCallback?l.cellStylesCallback(V):{};w=D(_(_(_(_({},l.cellStyles),H),w),G),{ssPushable:B,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),G.freeCSS),w.freeCSS),className:[er("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,b.push((0,Bt.jsx)(Gr.TH,D(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:P=>{if(B){let oe=_({},l),Ee=[C,p===C&&v=="ASC"?"DESC":"ASC"];oe.order.current=Ee,s(oe),l.onOrderChanged&&l.onOrderChanged(Ee)}},children:(0,Bt.jsxs)(_t,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[F,(0,Bt.jsxs)(_t,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[X,k]})]})}),C))}return(0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,d)=>{var u;let h=[...s],p=[];if(a.checker){let v={top:d==0&&!a.head,bottom:d==o.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1},b=ll(v),y=a.cellStylesCallback?a.cellStylesCallback(v):{};p.push((0,Bt.jsx)(Gr.TH,D(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),b),y),{freeCSS:_(_({},(u=a.cellStyles)==null?void 0:u.freeCSS),y.freeCSS),className:[er("Cell"),a.cellClassName].join(" "),children:(0,Bt.jsx)(E,{flexCenter:!0,children:(0,Bt.jsx)(ot.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:C})=>{let w=a.rows,k=w.findIndex(B=>B.rowID==s.rowID);k!=-1&&(w[k].checked=C,r.set_status(B=>D(_({},B),{rows:w})))}})})}),-1))}h.forEach((v,b)=>{var y;if(!v)return;let C=v,{type:w="td"}=C,k=Qe(C,["type"]),B={top:d==0&&!a.head,bottom:d==o.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1},M=ll(B),X=a.cellStylesCallback?a.cellStylesCallback(B):{};k=D(_(_(_(_({},a.cellStyles),M),k),X),{freeCSS:_(_(_({},(y=a.cellStyles)==null?void 0:y.freeCSS),k.freeCSS),X.freeCSS),className:[er("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let F=Gr[w=="td"?"TD":"TH"];p.push((0,Bt.jsx)(F,_({},k),b))}),l.push((0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow")].join(" "),children:p,onClick:v=>{a.onRowClick&&a.onRowClick(JSON.parse(s.rowID),v)}},d))}),!o.length){let s=(0,Bt.jsx)(E,{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,Bt.jsx)(Bt.Fragment,{children:a.noRecords})),l.push((0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow"),er("DataNotFound")].join(" "),children:(0,Bt.jsx)(Gr.TD,{colSpan:a.colLength,className:er("Cell"),children:s})},"dataNotFound"))}return(0,Bt.jsx)(Bt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:d,paging:u}=a,h=[...a.rows],p=[...a.rows],v=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),v=[...p],b=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],B=s.current[w];k&&B&&B.length&&(v=v.filter(M=>!B.includes(M[w].data)),b=[...v])}d.enabled&&(v=v.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]}),b=[...v]);{let{currentPageIndex:w,rowLength:k}=u;b=[...b].splice((w-1)*k,k)}let y=Tu.__memoryID+"_"+a.tableID,C={rows:{total:h.length,page:b.length,filtered:v.length},val_status:D(_({},a),{paging:D(_({},a.paging),{pageLength:Math.ceil(v.length/a.paging.rowLength)})}),set_status:o};return qe.update({[y]:{getRowData:()=>{let w=[...h];return d.enabled&&(w=w.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]})),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),b.forEach(k=>{let{rowID:B}=k;w.find(M=>M.rowID==B).currentPage=!0}),v.forEach(k=>{let{rowID:B}=k;w.find(M=>M.rowID==B).filtered=!0}),w}}}),(0,np.useEffect)(()=>{Tl.release(a.tableID,C)}),(0,Bt.jsx)(E,{className:er("TableBase"),children:(0,Bt.jsx)(Gr.Table,{className:er("Table"),children:(0,Bt.jsxs)(Gr.Body,{children:[(0,Bt.jsx)(Tu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Bt.jsx)(Tu.Body,{val_status:a,set_status:o,PageRows:b})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return xu.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return xu.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=JSON.stringify(l.rowID||s);let d=[];l.forEach((u,h)=>{let{data:p,children:v,orderIndex:b}=u;u.orderIndex=xu.default.is.exist(b)?String(b):String(p),u.children=v||String(p),d.push(String(u.data))}),l.__sys4SearchKey=d.join("/")}),(0,Bt.jsx)(Tu.StateManager,_({eventID:xu.default.uuid.gen()},r))},StateManager:r=>{let{colLength:a,eventID:o,checker:l=!1,searchKeyword:s="",filter:d,order:u,defaultOrder:h=[0,"ASC"],pageRowLength:p=30}=r,[v]=(0,np.useState)(xu.default.uuid.gen()),b={tableID:r.tableID||v,componentID:v,colLength:a,checker:l,searchKeyword:s,filter:{enabled:d!==!1,column:d,current:Array.from({length:a},()=>[])},order:{enabled:u!==!1,column:u,current:h},paging:{rowLength:p,pageLength:Math.ceil(r.rows.length/p),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},[y,C]=(0,np.useState)(b),[w,k]=(0,np.useState)(r.eventID);return w!=r.eventID&&(k(r.eventID),C(b)),(0,Bt.jsx)(Tu.Core,{val_status:y,set_status:C})}},MG={__memoryID:Tu.__memoryID,getRowData:r=>{let a=qe.get(Tu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},U_={SearchInput:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Bt.jsx)(ot.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Bt.jsx)(ot.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Bt.jsx)(xe.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value:s})=>{r.onChange(s),xu.default.interval.clear("InputSearchTime"),xu.default.interval.standBy("InputSearchTime",200,()=>{l(d=>D(_({},d),{paging:D(_({},d.paging),{currentPageIndex:1}),filter:D(_({},d.filter),{current:Array.from({length:d.colLength},()=>[])}),searchKeyword:s}))})}})},Info:r=>{let a=Tl.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,Bt.jsxs)(_t,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Bt.jsx)(Sn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=Tl.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 d=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(v=>D(_({},v),{paging:D(_({},v.paging),{currentPageIndex:h})}))};return(0,Bt.jsxs)(We.Center,{children:[(0,Bt.jsxs)(We.Center,{gap:"1/2",children:[(0,Bt.jsx)(ot.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,SelectorGravityPoint:24,onUpdateValidValue:({value:u})=>{d(u)}}),"/ ",o.paging.pageLength]}),(0,Bt.jsxs)(We.Right,{gap:"1/2",children:[(0,Bt.jsx)(re.Button.Sub.R,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){d(o.paging.pageLength);return}d(o.paging.currentPageIndex-1)},children:(0,Bt.jsx)(xe.ChevronLeft,{})}),(0,Bt.jsx)(re.Button.Sub.R,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){d(1);return}d(o.paging.currentPageIndex+1)},children:(0,Bt.jsx)(xe.ChevronRight,{})})]})]})},RowLength:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,d=0,u=r.lengthSelect.map(h=>(d|=+(h==s),{value:h,label:h.toString()}));return d||u.push({value:s,label:s.toString()}),u=u.order({direction:"ASC",keys:["value"]}),(0,Bt.jsx)(We.Center,{gap:"1/2",children:(0,Bt.jsx)(ot.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],value:o.paging.rowLength,options:u,SelectorGravityPoint:24,onUpdateValidValue:({value:h})=>{l(p=>D(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},FG=r=>(0,Bt.jsx)(ep,D(_({},r),{type:"data",JSXChildren:Tu.DataLeveler})),yc=FG;yc.__memoryID=Tu.__memoryID,yc.getRowData=MG.getRowData,yc.Info=U_.Info,yc.Paging=U_.Paging,yc.RowLength=U_.RowLength,yc.SearchInput=U_.SearchInput;var Gn;(r=>(r.Normal=t7,r.Data=yc,r.Drag=u7,r.Parts=Gr))(Gn||(Gn={}));var Nw=K(Ot()),Sm=K(dr());var rl={uid:Sm.default.uuid.gen(),open:(r,a,o=24,l=.35)=>{r&&(Sm.default.interval.clear(rl.uid),Sm.default.interval.standBy(rl.uid,l*1e3,()=>{Fr.open({tipsID:rl.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Nw.jsx)(Fr.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Nw.jsx)(Ke.Supplement,{children:a})})})}))},abort:()=>{Sm.default.interval.clear(rl.uid),Fr.close(rl.uid)}};var vt=K(Ot()),Na=K(dr());var us=K(pr());var K7=K(E7()),X7=K(O7()),J7=K(H7()),Q7=K(q7());var Fw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:d}=l,u=s/d;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:d/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let b=a.width/3*2,y=a.height/3*2;l=Math.min(b,y),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:d,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,v=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:v},outImage:{x:0,y:0,w:0,h:0},imageX:d/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:u}=this.dragEffectInfo,h=d.x-l,p=d.y-s,v=this.scale.current*this.Picture.revisedAspect/100,b=h/v*u.x,y=p/v*u.y;o=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+y):o=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=y)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:d}=Na.default.getCursor(l.touches[0]),{x:u,y:h}=Na.default.getCursor(l.touches[1]),p=u-s,v=h-d;if(o=="start")this.pinchEffectInfo.origin={x:p,y:v,scale:this.scale.current};else if(o=="move"){let{origin:b}=this.pinchEffectInfo,y=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),C=Math.sqrt(Math.pow(p,2)+Math.pow(v,2))/y,w=Number(b.scale*C);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 ea(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),d=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&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(u,0,0,u.width,u.height);let v=d.getImageData(0,0,s.width,s.height),b=v.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],B=k[0]/255,M=k[1]/255,X=k[2]/255;for(let F=0;F<p;F++)for(let V=0;V<h;V++){var y=(F*h+V)*4;if(a){let H=.3*b[y]+.59*b[y+1]+.11*b[y+2];for(var C=0;C<3;C++){let G=b[y+C];b[y+C]=G+(H-G)*a}}b[y]*=B,b[y+1]*=M,b[y+2]*=X}}d.putImageData(v,0,0);let w=s.toDataURL("image/jpeg");{let k=yield Na.default.ImageLoader(w),{width:B,height:M}=k,X=B/M;this.Picture=D(_({},this.Picture),{elm:k,aspect:X,revisedAspect:this.pst.frame.aspect>X?this.pst.frame.w/B:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:d},pst:{frame:u}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let v=this.scale.current/100,b=this.Picture.revisedAspect*v,y=this.pst.centerX-h*b,C=this.pst.centerY-p*b,w=this.Picture.elm.width*b,k=this.Picture.elm.height*b;{let B=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,X=this.pst.frame.y+this.pst.frame.h-k,F=this.pst.frame.y,V=0;y<B&&(V=y-B),y>M&&(V=y-M);let H=0;C<X&&(H=C-X),C>F&&(H=C-F),this.dragEffectInfo.origin.x+=V/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=H/2/this.dragEffectInfo.frameExpandRate.y,y=Math.min(Math.max(y,B),M),C=Math.min(Math.max(C,X),F)}this.pst.outImage={x:y,y:C,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,y,C,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let b=d.width/3*2,y=d.height/3*2,C=Math.min(b,y),w=Math.max(b,y);s.arc(d.width/2,d.height/2,w,0,Math.PI*2,!0),s.arc(d.width/2,d.height/2,C/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(d.width,0),s.lineTo(d.width,d.height),s.lineTo(0,d.height),s.lineTo(0,0),s.closePath(),s.lineTo(u.x,u.y),s.lineTo(u.x,u.y+u.h),s.lineTo(u.x+u.w,u.y+u.h),s.lineTo(u.x+u.w,u.y),s.lineTo(u.x,u.y),s.fill();let v=(0,Na.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${v},1 )`,s.strokeRect(u.x,u.y,u.w,u.h)}}export(){return ea(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:d}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(d.x-s.x)/u,v=(d.x-s.x+d.w)/u,b=(d.y-s.y)/h,y=(d.y-s.y+d.h)/h,C=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:B,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[B];let X={S:140,R:600,L:1200}[B],F=X;this.use=="wallpaper.horizontal"?F=X/3:this.use=="wallpaper.vertical"&&(F=X*2);let V=document.createElement("canvas");V.width=X,V.height=F;let H=V.getContext("2d");if(!H)return;H.clearRect(0,0,X,F),H.drawImage(this.Picture.elm,p,b,v-p,y-b,0,0,X,F);let G=V.toDataURL(w),P=yield G.toBlob(w);if(!P)return;if(P.size>=M){let Ee=M/P.size;if(G=V.toDataURL(w,Ee*.92),P=yield G.toBlob(w),!P)return}let oe=new File([P],this.val_file.name,{type:w});C[k]=oe}return C})}},Z7={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:d,develops:u=[]}=o,[h]=(0,us.useState)(Na.default.uuid.gen(32)),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[v,b]=(0,us.useState)(p.scale.default),[y,C]=(0,us.useState)(p.rotate),[w,k]=(0,us.useState)(p.grayScale),[B,M]=(0,us.useState)(p.tone);return(0,us.useEffect)(()=>{let X="CropperResize";return(0,Na.default)(window).addEvent({eventType:"resize",eventID:X,callback:()=>{Na.default.interval.clear("CropperResize"),Na.default.interval.standBy("CropperResize",200,()=>{var F;let V=Tt("#Canvas-"+h)[0];if(!V)return;let H=(F=qe.get(h))==null?void 0:F.Instance;if(!H)return;let G=V.position(),P=G.width/G.height;V.width=2400,V.height=2400/P;let{width:oe,height:Ee}=V;H.pst.centerX=oe/2,H.pst.centerY=Ee/2,H.frameSizing(),H.modifyImage()})}}),()=>{(0,Na.default)(window).removeEvent(X)}},[]),(0,us.useEffect)(()=>{qe.set({[h]:{}}),ea(void 0,null,function*(){Qa.fn.corner.active(),yield Na.default.pending(()=>{},400);let{target:X}=yield a.convert();if(!X)return;let F=X.result,V=Tt("#Canvas-"+h)[0];if(!V)return;let H=V.position(),G=H.width/H.height;V.width=2400,V.height=2400/G;let P=new Fw({set_scale:b,val_file:a,develops:u,use:d,scale:p.scale,componentID:h,canvas:V,picture:{image:yield Na.default.ImageLoader(F),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});qe.set({[h]:{Instance:P}});let oe=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)P.pinchEffect({eventType:"start",event:be}),(0,Na.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),P.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:te});else{P.dragEffect(_({eventType:"start"},Na.default.getCursor(be)));let{type:ye}=be;(0,Na.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:fe=>{Ee("move",fe)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:fe=>{Ee("end",fe),te(fe)}})}},Ee=function(be,ye){ye.preventDefault(),P.dragEffect(_({eventType:be},Na.default.getCursor(ye)))},te=function(be){be.preventDefault(),(0,Na.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,Na.default)(V).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),fe=P.scale.current+ye;fe=Math.max(fe,P.scale.min),fe=Math.min(fe,P.scale.max),b(fe)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:oe,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:oe,options:{passive:!1}}),setTimeout(()=>{Qa.fn.corner.stop()},1e3)})},[a.id]),(0,us.useEffect)(()=>{var X;let F=(X=qe.get(h))==null?void 0:X.Instance;F&&F.updateScale(v)},[v]),(0,us.useEffect)(()=>{var X;let F=(X=qe.get(h))==null?void 0:X.Instance;F&&F.updateFilter({grayScale:w,tone:B,rotate:y})},[w,B,y]),(0,vt.jsx)(Ft.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,vt.jsxs)(pt,{className:[cc("Wrap"),cc("Use_"+d)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,vt.jsx)(E,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,vt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cc("Canvas"),id:"Canvas-"+h})}),(0,vt.jsxs)(We.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,vt.jsx)(Z7.SettingRegion,{DefaultOptions:p,val_scale:v,set_scale:b,val_tone:B,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:y,set_rotate:C}),(0,vt.jsxs)(We.Right,{flexSizing:"none",children:[(0,vt.jsx)(re.Button.Border.R,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,vt.jsx)(re.Button.Prime.R,{isRounded:!0,boxShadow:"3.remark",onClick:()=>ea(void 0,null,function*(){var X;let F=(X=qe.get(h))==null?void 0:X.Instance;if(!F)return;Qa.fn.mini.active("CropperExportation");let V=yield F.export();setTimeout(()=>{Qa.fn.mini.stop("CropperExportation"),l(V)},3e3)}),children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(Qa.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,vt.jsxs)(We.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,vt.jsxs)(pt,{gap:"1/3",children:[(0,vt.jsx)(Ke.Supplement,{children:"Rotate"}),(0,vt.jsxs)(We.Left,{flexChilds:"even",gap:"1/6",children:[(0,vt.jsx)(re.Button.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,vt.jsxs)(We.Center,{gap:"1/4",children:["90\xB0",(0,vt.jsx)(xe,{icon:J7.faRotateLeft})]})}),(0,vt.jsx)(re.Button.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,vt.jsxs)(We.Center,{gap:"1/4",children:[(0,vt.jsx)(xe,{icon:Q7.faRotateRight}),"90\xB0"]})})]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"Zoom"}),(0,vt.jsxs)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Fr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26},content:(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{Fr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:d,value:u})=>{Na.default.interval.clear("Cropper.UpdateScale"),Na.default.interval.standBy("Cropper.UpdateScale",250,()=>{r.set_scale(u+100)})},legends:{enable:!0,custom:d=>"x"+Math.round(100+d)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"GrayScale"}),(0,vt.jsxs)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Fr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26},content:(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe,{icon:K7.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{Fr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:d})=>{Na.default.interval.clear("Cropper.GrayScale"),Na.default.interval.standBy("Cropper.GrayScale",250,()=>{r.set_grayScale(d)})},legends:{enable:!0,custom:d=>d+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"Tone"}),(0,vt.jsx)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Fr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let d=[];for(let u=1;u<=10;u++)d.push({value:u,label:(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsx)(E,{ssSphere:1,className:[cc("ToneBall"),cc("ToneBall_"+u)].join(" ")}),(0,vt.jsx)(E,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe,{icon:X7.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{Fr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,vt.jsx)(E,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...d],onUpdateValidValue:({value:u})=>{r.set_tone(u)}})]})})}})},children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(E,{boxShadow:"2.remark",ssSphere:1,className:[cc("ToneBall"),cc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},wm={openDialogNEdit:r=>ea(void 0,null,function*(){let a=yield ot.Filer.fn.openDialog({accept:"image",multiple:!1});wm.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>ea(void 0,null,function*(){let a="CropperImage";Ft.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100vw"},content:(0,vt.jsx)(Z7.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{Ft.close(a),r.onProcessFinished(o)},abortCallback:()=>{Ft.close(a)}}),close_option:{escapeKeyDown:!1}})})};var Io=K(Ot());var eI=()=>{let{href:r}=location;return(0,Io.jsx)(We.Center,{padding:[4,1],children:(0,Io.jsxs)(pt,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Io.jsx)(xe.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Io.jsxs)(E,{children:[(0,Io.jsx)(Ke.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Io.jsx)(Ke.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,Io.jsxs)(pt,{children:[(0,Io.jsxs)(Ke,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Io.jsx)(E,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Io.jsx)(E,{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,Io.jsx)(re.Anchor.Link,{newTab:!0,href:r,children:r}),(0,Io.jsx)(re.Anchor.BorderToFill.R,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var V_=r=>{let[a,o]=(0,Sc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,Sc.useRef)(!1);(0,Sc.useEffect)(()=>{l&&(s.current?(Ft.closeAll(!0),rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,Sc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,Sc.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 tI=K(dr());var Xh=[{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}],Kh=()=>{let r="#45515c",a=(0,tI.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},rI={light:"#FFF",dark:"#333",dim:"#666",auto:()=>st.get().isSystemDarkmode()?"#333":"#FFF"},Cm={};Xh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Cm[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Ga=K(dr());var Le={toConcreteBorderRadius:r=>{let a=st.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Ga.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,d,u,h,p;let v=[],{gap:b,display:y,position:C,overflow:w,fontColor:k,fontSize:B,fontWeight:M,backgroundColor:X,textAlign:F,textDecoration:V,boxShadow:H,margin:G,marginTop:P,marginRight:oe,marginBottom:Ee,marginLeft:te,padding:be,paddingTop:ye,paddingRight:fe,paddingBottom:I,paddingLeft:ae,top:me,right:z,bottom:ne,left:pe,border:Se,borderTop:ce,borderRight:we,borderBottom:Fe,borderLeft:He,borderWidth:at,borderColor:Oe,borderStyle:ct,borderRadius:nr,borderTopLeftRadius:bt,borderTopRightRadius:yt,borderBottomLeftRadius:It,borderBottomRightRadius:nt,flexSizing:Ae,flexWrap:Ct,flexType:zt,flexChilds:Yt,flexGrid:$t,horizontalAlign:ir,verticalAlign:sr,transition:xr,gridCenter:_a,gridCols:aa,maxHeight:la,minHeight:Br,maxWidth:Nr,minWidth:Or,width:ma,height:hr,unitHeight:Rr,unitWidth:Ir,opacity:ba}=a;{if(Le.ev(y)&&v.push("dsp"+y),w){let O=Ga.default.flatArray(w);v.push("ovfl-x-"+O[0]),v.push("ovfl-y-"+(O[1]||O[0]))}Le.ev(C)&&v.push("ps"+C),Le.ev(F)&&v.push("txtalg"+F),Le.ev(F)&&v.push("txtdeco"+V),Le.ev(k)&&v.push("ftcl"+((o=String(k))==null?void 0:o.replace(/\./g,"_"))),Le.ev(B)&&v.push("ftsz"+((l=String(B))==null?void 0:l.replace(/\..*/,""))),Le.ev(M)&&v.push("ftwt"+(M==null?void 0:M.replace(/\..*/,""))),Le.ev(X)&&v.push("bgc"+((s=String(X))==null?void 0:s.replace(/\./g,"_"))),Le.ev(H)&&v.push("bs"+H);let ze,dt,St,Xt;Ga.default.is.exist(G)&&(Ga.default.is.array(G)?G.length==2?[ze,dt,St,Xt]=[...G,...G]:G.length==4&&([ze,dt,St,Xt]=G):ze=dt=St=Xt=G,P=P!=null?P:ze,oe=oe!=null?oe:dt,Ee=Ee!=null?Ee:St,te=te!=null?te:Xt),Le.ev(P)&&v.push("mrgt"+P),Le.ev(oe)&&v.push("mrgr"+oe),Le.ev(Ee)&&v.push("mrgb"+Ee),Le.ev(te)&&v.push("mrgl"+te);let Gt,Er,_r,qr;Ga.default.is.exist(be)&&(Ga.default.is.array(be)?be.length==2?[Gt,Er,_r,qr]=[...be,...be]:be.length==4&&([Gt,Er,_r,qr]=be):Gt=Er=_r=qr=be,ye=ye!=null?ye:Gt,fe=fe!=null?fe:Er,I=I!=null?I:_r,ae=ae!=null?ae:qr),Le.ev(ye)&&v.push("pdt"+ye),Le.ev(fe)&&v.push("pdr"+fe),Le.ev(I)&&v.push("pdb"+I),Le.ev(ae)&&v.push("pdl"+ae),Le.ev(me)&&v.push("pstt"+me),Le.ev(z)&&v.push("pstr"+z),Le.ev(ne)&&v.push("pstb"+ne),Le.ev(pe)&&v.push("pstl"+pe);{Ga.default.is.exist(Se)&&(ce=ce!=null?ce:Se,we=we!=null?we:Se,Fe=Fe!=null?Fe:Se,He=He!=null?He:Se),Ga.default.is.boolean(ce)&&(ce=["unset","2.normal"][Number(ce)]),Ga.default.is.boolean(we)&&(we=["unset","2.normal"][Number(we)]),Ga.default.is.boolean(Fe)&&(Fe=["unset","2.normal"][Number(Fe)]),Ga.default.is.boolean(He)&&(He=["unset","2.normal"][Number(He)]),Le.ev(ce)&&v.push("b_t_ss"+((d=String(ce))==null?void 0:d.replace(/\..*/,""))),Le.ev(we)&&v.push("b_r_ss"+((u=String(we))==null?void 0:u.replace(/\..*/,""))),Le.ev(Fe)&&v.push("b_b_ss"+((h=String(Fe))==null?void 0:h.replace(/\..*/,""))),Le.ev(He)&&v.push("b_l_ss"+((p=String(He))==null?void 0:p.replace(/\..*/,""))),Ga.default.is.exist(at)&&v.push("b_wth"+String(at)),Ga.default.is.exist(Oe)&&v.push("b_cl"+String(Oe)),Ga.default.is.exist(ct)&&v.push("b_st"+String(ct));{let O,Z,L,U;Ga.default.is.exist(nr)&&(Ga.default.is.array(nr)?nr.length==4&&([O,Z,U,L]=nr):O=Z=L=U=nr,bt=bt!=null?bt:O,yt=yt!=null?yt:Z,It=It!=null?It:L,nt=nt!=null?nt:U)}Le.ev(bt)&&v.push("br_tl"+Le.toConcreteBorderRadius(bt)),Le.ev(yt)&&v.push("br_tr"+Le.toConcreteBorderRadius(yt)),Le.ev(It)&&v.push("br_bl"+Le.toConcreteBorderRadius(It)),Le.ev(nt)&&v.push("br_br"+Le.toConcreteBorderRadius(nt))}if(Le.ev(ba)&&v.push("op"+ba),Ga.default.is.exist(b)){let O,Z;Ga.default.is.array(b)?(O=b[0],Z=b[1]):O=Z=b,v.push("gapRow"+O,"gapCol"+Z)}Le.ev(Ae)&&v.push("flsz"+Ae),Le.ev(Ct)&&v.push("flwrp"+Ct),Le.ev(zt)&&v.push("fltyp"+zt),Le.ev(Yt)&&v.push("flchld"+Yt),Le.ev($t)&&v.push("flgrid"+$t),Le.ev(sr)&&v.push("flvrt"+sr),Le.ev(ir)&&v.push("flhrz"+ir),Le.ev(_a)&&v.push("grcnt"+_a),Le.ev(aa)&&v.push("grcol"+aa),Le.ev(hr)&&v.push("hgt"+hr),Le.ev(ma)&&v.push("wdt"+ma),Le.ev(Rr)&&v.push("unthgt"+Rr),Le.ev(Ir)&&v.push("untwdt"+Ir),Le.ev(xr)&&v.push("trnst"+xr),Le.ev(la)&&v.push("maxh"+la),Le.ev(Br)&&v.push("minh"+Br),Le.ev(Nr)&&v.push("maxw"+Nr),Le.ev(Or)&&v.push("minw"+Or)}return v.length?r+v.join(" "+r):""}},um=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:d,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:v,flexNewLine:b,isLightFont:y,isBoldFont:C,isSemiBoldFont:w,isRounded:k,isSquare:B,freeCSS:M={}}=a,X=Qe(M,[]),F=Qe(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(X=X||{},F=F||{},o){let{deg:V,colors:H}=o;X=D(_({},X),{background:`linear-gradient(${V}deg,${H.join(",")})`})}if(l){l===!0&&(l="border");let V={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?V.border=!0:l=="layer"?V.backgroundColor="layer.1":l=="cloud"?V.backgroundColor="cloud":l=="shadow"&&(V.boxShadow="0.normal"),st.get().darkMode=="dim"&&(V.boxShadow="1.normal"),st.get().darkMode=="dark"&&(V.boxShadow="1.remark"),X=_(_({},V.freeCSS),X),F=_(_({},V),F)}return s&&(v=v!=null?v:!0,F=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},F)),d&&(v=v!=null?v:!0,F=_({padding:0,unitWidth:d,unitHeight:d,flexSizing:"none"},F)),u&&(F=_({transition:"middle"},F),F=D(_({},F),{className:[F.className,"ssPushable"].join(" ")})),h&&(F=_({position:"absolute",top:0,left:0,right:0,bottom:0},F)),p&&(F=_({overflow:"hidden"},F),X=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},X)),b&&(F=_({width:1,flexSizing:"none"},F)),v&&(F=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},F)),y&&(F.fontWeight="1.light"),w&&(F.fontWeight="3.semiBold"),C&&(F.fontWeight="4.bold"),k&&(Ga.default.is.number(k)?X.borderRadius=k*12:F.borderRadius="sphere"),B&&(X.aspectRatio="1"),D(_({},F),{freeCSS:X})},Do=r=>{let a=um(r),{componentID:o,gap:l,display:s,position:d,overflow:u,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:C,boxShadow:w,margin:k,marginTop:B,marginRight:M,marginBottom:X,marginLeft:F,padding:V,paddingTop:H,paddingRight:G,paddingBottom:P,paddingLeft:oe,top:Ee,right:te,bottom:be,left:ye,border:fe,borderTop:I,borderRight:ae,borderBottom:me,borderLeft:z,borderWidth:ne,borderColor:pe,borderStyle:Se,borderRadius:ce,borderTopLeftRadius:we,borderTopRightRadius:Fe,borderBottomLeftRadius:He,borderBottomRightRadius:at,flexSizing:Oe,flexWrap:ct,flexType:nr,flexChilds:bt,flexGrid:yt,horizontalAlign:It,verticalAlign:nt,transition:Ae,gridCenter:Ct,gridCols:zt,maxHeight:Yt,minHeight:$t,maxWidth:ir,minWidth:sr,width:xr,height:_a,unitHeight:aa,unitWidth:la,opacity:Br,ssLastChildLossBorder:Nr,ssAbsoluteCovered:Or,ssCardBox:ma,ssEffectsOnActive:hr,ssPushable:Rr,ssSphere:Ir,ssSquare:ba,ssTextEllipsis:ze,isBoldFont:dt,isLightFont:St,isSemiBoldFont:Xt,isRounded:Gt,flexCenter:Er,flexNewLine:_r,gradients:qr,UnderBreakPointStyles:O={},className:Z="",freeCSS:L={}}=a,U=Qe(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),q=_({},U),de=[Z];if(Nr&&de.push("ssLastChildLossBorder_"+Nr),hr){hr=Ga.default.flatArray(hr);for(let ie of hr){let[Ie,Pe]=ie.split(".");q["data-effect-"+Ie]="1",Pe&&(q["data-effect-tone"]=Pe)}}{let ie=Le.ClassNames("amotf_",{gap:l,display:s,position:d,overflow:u,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:C,boxShadow:w,margin:k,marginTop:B,marginRight:M,marginBottom:X,marginLeft:F,padding:V,paddingTop:H,paddingRight:G,paddingBottom:P,paddingLeft:oe,top:Ee,right:te,bottom:be,left:ye,border:fe,borderTop:I,borderRight:ae,borderBottom:me,borderLeft:z,borderWidth:ne,borderColor:pe,borderStyle:Se,borderRadius:ce,borderTopLeftRadius:we,borderTopRightRadius:Fe,borderBottomLeftRadius:He,borderBottomRightRadius:at,flexSizing:Oe,flexWrap:ct,flexType:nr,flexChilds:bt,flexGrid:yt,horizontalAlign:It,verticalAlign:nt,transition:Ae,gridCenter:Ct,gridCols:zt,maxHeight:Yt,minHeight:$t,maxWidth:ir,minWidth:sr,width:xr,height:_a,unitHeight:aa,unitWidth:la,opacity:Br});de.push(ie)}return O&&de.push(Le.ClassNames("amotf_bp",O)),L&&(q.style=_(_({},L),q.style)),(o||q["data-component-id"])&&(q["data-component-id"]=q["data-component-id"]||o),de.length&&de.join("")&&(q.className=de.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),q},Ll=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:d,fontSize:u,fontWeight:h,backgroundColor:p,textAlign:v,textDecoration:b,boxShadow:y,margin:C,marginTop:w,marginRight:k,marginBottom:B,marginLeft:M,padding:X,paddingTop:F,paddingRight:V,paddingBottom:H,paddingLeft:G,top:P,right:oe,bottom:Ee,left:te,border:be,borderTop:ye,borderRight:fe,borderBottom:I,borderLeft:ae,borderWidth:me,borderColor:z,borderStyle:ne,borderRadius:pe,borderTopLeftRadius:Se,borderTopRightRadius:ce,borderBottomLeftRadius:we,borderBottomRightRadius:Fe,flexSizing:He,flexWrap:at,flexType:Oe,flexChilds:ct,flexGrid:nr,horizontalAlign:bt,verticalAlign:yt,transition:It,gridCenter:nt,gridCols:Ae,maxHeight:Ct,minHeight:zt,maxWidth:Yt,minWidth:$t,width:ir,height:sr,unitHeight:xr,unitWidth:_a,opacity:aa,ssLastChildLossBorder:la,ssAbsoluteCovered:Br,ssCardBox:Nr,ssEffectsOnActive:Or,ssPushable:ma,ssSphere:hr,ssSquare:Rr,ssTextEllipsis:Ir,isBoldFont:ba,isLightFont:ze,isSemiBoldFont:dt,isRounded:St,flexCenter:Xt,flexNewLine:Gt,gradients:Er,UnderBreakPointStyles:_r={},freeCSS:qr={}}=r,O={};return Le.ev(a)&&(O.gap=a),Le.ev(o)&&(O.display=o),Le.ev(l)&&(O.position=l),Le.ev(s)&&(O.overflow=s),Le.ev(d)&&(O.fontColor=d),Le.ev(u)&&(O.fontSize=u),Le.ev(h)&&(O.fontWeight=h),Le.ev(p)&&(O.backgroundColor=p),Le.ev(v)&&(O.textAlign=v),Le.ev(b)&&(O.textDecoration=b),Le.ev(y)&&(O.boxShadow=y),Le.ev(C)&&(O.margin=C),Le.ev(w)&&(O.marginTop=w),Le.ev(k)&&(O.marginRight=k),Le.ev(B)&&(O.marginBottom=B),Le.ev(M)&&(O.marginLeft=M),Le.ev(X)&&(O.padding=X),Le.ev(F)&&(O.paddingTop=F),Le.ev(V)&&(O.paddingRight=V),Le.ev(H)&&(O.paddingBottom=H),Le.ev(G)&&(O.paddingLeft=G),Le.ev(P)&&(O.top=P),Le.ev(oe)&&(O.right=oe),Le.ev(Ee)&&(O.bottom=Ee),Le.ev(te)&&(O.left=te),Le.ev(be)&&(O.border=be),Le.ev(ye)&&(O.borderTop=ye),Le.ev(fe)&&(O.borderRight=fe),Le.ev(I)&&(O.borderBottom=I),Le.ev(ae)&&(O.borderLeft=ae),Le.ev(me)&&(O.borderWidth=me),Le.ev(z)&&(O.borderColor=z),Le.ev(ne)&&(O.borderStyle=ne),Le.ev(pe)&&(O.borderRadius=pe),Le.ev(Se)&&(O.borderTopLeftRadius=Se),Le.ev(ce)&&(O.borderTopRightRadius=ce),Le.ev(we)&&(O.borderBottomLeftRadius=we),Le.ev(Fe)&&(O.borderBottomRightRadius=Fe),Le.ev(He)&&(O.flexSizing=He),Le.ev(at)&&(O.flexWrap=at),Le.ev(Oe)&&(O.flexType=Oe),Le.ev(ct)&&(O.flexChilds=ct),Le.ev(nr)&&(O.flexGrid=nr),Le.ev(bt)&&(O.horizontalAlign=bt),Le.ev(yt)&&(O.verticalAlign=yt),Le.ev(It)&&(O.transition=It),Le.ev(nt)&&(O.gridCenter=nt),Le.ev(Ae)&&(O.gridCols=Ae),Le.ev(Ct)&&(O.maxHeight=Ct),Le.ev(zt)&&(O.minHeight=zt),Le.ev(Yt)&&(O.maxWidth=Yt),Le.ev($t)&&(O.minWidth=$t),Le.ev(ir)&&(O.width=ir),Le.ev(sr)&&(O.height=sr),Le.ev(xr)&&(O.unitHeight=xr),Le.ev(_a)&&(O.unitWidth=_a),Le.ev(aa)&&(O.opacity=aa),Le.ev(la)&&(O.ssLastChildLossBorder=la),Le.ev(Br)&&(O.ssAbsoluteCovered=Br),Le.ev(Nr)&&(O.ssCardBox=Nr),Le.ev(Or)&&(O.ssEffectsOnActive=Or),Le.ev(ma)&&(O.ssPushable=ma),Le.ev(hr)&&(O.ssSphere=hr),Le.ev(Rr)&&(O.ssSquare=Rr),Le.ev(Ir)&&(O.ssTextEllipsis=Ir),Le.ev(ba)&&(O.isBoldFont=ba),Le.ev(ze)&&(O.isLightFont=ze),Le.ev(dt)&&(O.isSemiBoldFont=dt),Le.ev(St)&&(O.isRounded=St),Le.ev(Xt)&&(O.flexCenter=Xt),Le.ev(Gt)&&(O.flexNewLine=Gt),Le.ev(Er)&&(O.gradients=Er),Le.ev(qr)&&(O.freeCSS=qr),Le.ev(_r)&&(O.UnderBreakPointStyles=_r),O};var hl=K(Ot());var W_=r=>{var a;let o=Tl.catch("RootViewController_"+st.get().sessionUID);return(0,hl.jsxs)(hl.Fragment,{children:[(0,hl.jsx)("style",{children:r.inlineCSS}),(0,hl.jsxs)("amotify-app",{id:"appRoot_"+st.get().sessionUID,children:[(0,hl.jsx)(hu.Pudding.Wrapper,{}),(0,hl.jsx)(hu.Ripple.Wrapper,{}),(0,hl.jsx)(Qa.Wrapper,{}),(0,hl.jsx)($n.Wrapper,{}),(0,hl.jsx)(Ft.Wrapper,{}),(0,hl.jsx)(E,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Y_=K(dr()),Tt=r=>{let a=st.get().appRoot;return Y_.default.is.shadowRoot(a)?(0,Y_.default)(a).find(r):(0,Y_.default)(r)};var VG=K(Hw());ao(wn,K(Hw()));var Vw={};ed(Vw,{DesignBook:()=>$_});var m=K(Ot()),Nl=K(pr()),yo=K(dr());var op={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(_t,{gap:1,children:[(0,m.jsx)(E,{flexCenter:!0,children:(0,m.jsx)(y_,{ssSphere:6,children:"Placeholder"})}),(0,m.jsxs)(ha,{gridCols:3,gap:1,flexSizing:"auto",children:[(0,m.jsx)(E,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:"1/2",flexSizing:"auto",ssCardBox:!0,children:[(0,m.jsx)(E,{flexCenter:!0,fontColor:"1.clear",children:"FontColor1"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"2.normal",children:"FontColor2"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"3.blur",children:"FontColor3"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"4.thin",children:"FontColor4"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"5.translucent",children:"FontColor5"})]})]}),(0,m.jsx)(op.Fonts,{}),(0,m.jsx)(op.Box,{}),(0,m.jsx)(op.Flex,{}),(0,m.jsx)(op.Grid,{}),(0,m.jsx)(op.Others,{})]}),Fonts:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{padding:1,borderBottom:!0,children:"Font"}),(0,m.jsxs)(E,{overflow:"auto",padding:1,children:[(0,m.jsx)(Ke.Description,{padding:1,children:`<Box
980
+ T`.repeat(v-1)}let h=Ll(a);return(0,fr.jsxs)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",width:1,freeCSS:D(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,fr.jsx)(E,{"data-input-value-shallow":o.componentID,children:s})})),(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",left:0,freeCSS:D(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:d})),(0,fr.jsx)(Ke.Description,D(_({className:a.className},h),{position:"absolute",right:0,freeCSS:D(_({},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:d,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:v}=r;if(a.multiline)return null;let b=a,{componentID:y,tone:C,required:w,restrict:k="text",form:B,autoComplete:M="off",autoCapitalize:X="off",minRows:F,maxRows:V,multiline:H,autoHeight:G,enableFormSubmit:P,clearButton:oe=!1,checkValidationAtFirst:Ee,onChange:te,onKeyDown:be,onValidate:ye,onUpdateValue:fe,onUpdateValidValue:I,value:ae="",leftIndicator:me,rightIndicator:z,leftIcon:ne,rightIcon:pe,maxLength:Se,min:ce,max:we,label:Fe,isLabelActive:He,wrapStyles:at}=b,Oe=Qe(b,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),ct=k=="password"||k=="concealed"?"password":"text",nr=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,fr.jsx)(E,D(_({htmlTag:"input",type:ct,inputMode:nr,"data-disabled":a.disabled,"data-form":B,"data-input-type":"text","data-show-validation":Kt.isShowValidation(o,s,!!Ee),"data-validation":o.ok,"data-value":s.dataValue,"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:X,onKeyDown:bt=>{let{key:yt,target:It}=bt;{let nt=It,{selectionStart:Ae,selectionEnd:Ct}=nt,zt=Number(Ae),Yt=Number(Ct),$t=s.formatValue[Number(zt)],ir=s.formatValue[Number(zt)-1];yt=="Delete"&&(k=="creditCard"&&$t==" "||k=="postal"&&$t=="-"||k=="digitNumber"&&$t==",")&&(nt.setSelectionRange(zt+1,Yt+1),bt.preventDefault()),yt=="Backspace"&&(k=="creditCard"&&ir==" "||k=="postal"&&ir=="-"||k=="digitNumber"&&ir==",")&&(nt.setSelectionRange(zt-1,Yt-1),bt.preventDefault()),yt=="Enter"||yt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&yt=="Clear"&&d(nt=>D(_({},nt),{dataValue:"",formatValue:"",eventType:"update",eventID:Mn.default.uuid.gen()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(yt)){let nt=+(yt=="ArrowUp")*2-1,Ae=String(Number(s.dataValue)+nt);o.ok&&l({ok:!1,notice:[]}),d(Ct=>D(_(_({},Ct),_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:Ae})),{eventType:"update",eventID:Mn.default.uuid.gen()})),bt.preventDefault()}be&&be(bt),P&&Kt.SubmitForm(bt)},onChange:bt=>{let{value:yt,selectionStart:It,selectionEnd:nt}=bt.target,Ae=_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:yt});p&&(Ae.formatValue=yt),Ae.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),d(Ct=>D(_(_({},Ct),Ae),{prevValue:s.formatValue,eventType:"update",eventID:Mn.default.uuid.gen(),caretFrom:Number(It),caretTo:Number(nt)})),te&&te(bt))},width:1},Oe),{onFocus:bt=>{Oe!=null&&Oe.onFocus&&(Oe==null||Oe.onFocus(bt)),h(!0)},onBlur:bt=>{Oe!=null&&Oe.onBlur&&(Oe==null||Oe.onBlur(bt)),h(!1)},onCompositionStart:bt=>{Oe!=null&&Oe.onCompositionStart&&(Oe==null||Oe.onCompositionStart(bt)),v(!0)},onCompositionEnd:bt=>{if(Oe!=null&&Oe.onCompositionEnd&&(Oe==null||Oe.onCompositionEnd(bt)),k=="text")return;let yt=_u.Validation.DataLeveling({min:ce,max:we,restrict:k,value:s.formatValue});d(It=>D(_(_({},It),yt),{prevValue:It.formatValue,eventType:"update",eventID:Mn.default.uuid.gen(),caretFrom:Number(It.formatValue.length+1),caretTo:Number(It.formatValue.length+1)})),v(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:d,val_status:u,set_status:h,isShallow:p}=r,v=a,{componentID:b,tone:y,required:C,form:w,label:k,isLabelActive:B,minRows:M,maxRows:X,multiline:F,autoHeight:V,enableFormSubmit:H,maxLength:G,checkValidationAtFirst:P,onChange:oe,onKeyDown:Ee,onValidate:te,onUpdateValue:be,onUpdateValidValue:ye,value:fe="",leftIndicator:I,rightIndicator:ae,leftIcon:me,rightIcon:z,wrapStyles:ne}=v,pe=Qe(v,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,fr.jsx)(E,D(_({htmlTag:"textarea","data-form":w,"data-input-type":"textarea","data-show-validation":Kt.isShowValidation(s,u,!!P),"data-validation":s.ok,"data-value":u.dataValue,"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},pe),{onFocus:Se=>{pe!=null&&pe.onFocus&&(pe==null||pe.onFocus(Se)),l(!0)},onBlur:Se=>{pe!=null&&pe.onBlur&&(pe==null||pe.onBlur(Se)),l(!1)},onKeyDown:Se=>{Ee&&Ee(Se),H&&Kt.SubmitForm(Se)},onChange:Se=>{let{value:ce}=Se.target;s.ok&&d({ok:!1,notice:[]}),h(we=>D(_({},we),{dataValue:ce,eventType:"update",eventID:Mn.default.uuid.gen()})),oe&&oe(Se)}})):null}},mG=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:d}=r,[u,h]=(0,As.useState)(!1),[p,v]=(0,As.useState)(!1),[b,y]=(0,As.useState)(D(_({componentID:a},_u.Validation.DataLeveling({min:s,max:d,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:Mn.default.uuid.gen(),caretFrom:null,caretTo:null})),[C,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:v,val_status:b,set_status:y,val_validate:C,set_validate:w};return Kt.CommonEffects({type:"textfield",states:r,val_status:b,set_status:y,val_validate:C,set_validate:w,SystemValidation:_u.Validation.System,ExtraOverrideStates:_({},_u.Validation.DataLeveling({min:s,max:d,restrict:o,value:l}))}),(0,As.useEffect)(()=>{_u.setSelection({id:r.id,restrict:o,val_status:b})},[b]),(0,fr.jsxs)(Ha,{val_status:b,set_status:y,val_validate:C,states:k.rootStates,children:[(0,fr.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!b.dataValue}),(0,fr.jsx)(pw.Shallow,_({},k)),(0,fr.jsx)(pw.InputBox,_({},k)),(0,fr.jsx)(pw.TextAreaBox,_({},k))]})},os=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"2.normal"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,fr.jsx)(Ra,{componentID:r.componentID,children:mG,states:Yn(r)})),hn=os;hn.Validate=_u.Validation.Text,hn.Katakana=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),hn.HankakuKatakana=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),hn.CreditCard=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),hn.Tel=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),hn.Number=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),hn.DigitNumber=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),hn.Email=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),hn.Url=r=>(0,fr.jsx)(os,D(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),hn.Postal=r=>{let[a]=(0,As.useState)(Mn.default.uuid.gen());return(0,As.useEffect)(()=>()=>{qe.delete(a)},[]),(0,fr.jsx)(os,D(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,fr.jsx)(Gf,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},hn.Password=r=>(0,fr.jsx)(os,D(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,fr.jsx)(ja,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,fr.jsx)(re.Button.Sub.R,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{rl.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:rl.abort,tabIndex:-1,onClick:a=>{(0,Mn.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,fr.jsx)(xe,{icon:tO.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),hn.Concealed=r=>(0,fr.jsx)(hn.Password,D(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),hn.Money={JPY:r=>(0,fr.jsx)(hn.DigitNumber,D(_({rightIcon:(0,fr.jsx)(ja,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var N_=K(Ot()),hw=K(pr()),rO=K(dr());function vG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var gG=r=>{let a=r,{componentID:o,tone:l,required:s,form:d,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:v,onKeyDown:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,children:k="",leftIndicator:B,rightIndicator:M,leftIcon:X,rightIcon:F,freeCSS:V,wrapStyles:H}=a,G=Qe(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[P,oe]=(0,hw.useState)(Kt.DefaultStatus(o,u)),[Ee,te]=(0,hw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"contenteditable",states:r,val_status:P,set_status:oe,val_validate:Ee,set_validate:te,SystemValidation:vG}),(0,N_.jsx)(Ha,{val_status:P,set_status:oe,val_validate:Ee,states:r,children:(0,N_.jsx)(E,D(_({contentEditable:!0,"data-form":d,"data-name":r.name,"data-input-type":"contenteditable","data-show-validation":Kt.isShowValidation(Ee,P,!!p),"data-validation":Ee.ok,"data-value":P.dataValue,"data-component-id":P.componentID,onKeyDown:be=>{b&&b(be),h&&Kt.SubmitForm(be)},onInput:be=>{let ye=be.currentTarget,{innerHTML:fe,innerText:I}=ye;Ee.ok&&te({ok:!1,notice:[]}),oe(ae=>D(_({},ae),{dataValue:I,eventType:"update",eventID:rO.default.uuid.gen()})),v&&v(be)}},G),{children:k}))})},aO=r=>{r=D(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Yn(r);return(0,N_.jsx)(Ra,{componentID:r.componentID,children:gG,states:a})};var _m=K(Ot()),mw=K(pr()),gm=K(dr());function _G(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:d}=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!=d&&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 bG=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},nO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},yG=r=>{let a=r,{tone:o,required:l,form:s,name:d,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:v,checkValidationAtFirst:b,onChange:y,onKeyDown:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M="",override:X,freeCSS:F,wrapStyles:V,combineInput:H,componentID:G,listStyles:P}=a,oe=Qe(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[Ee,te]=(0,mw.useState)(D(_({componentID:r.componentID||""},bG(h,M)),{eventType:"init",eventID:gm.default.uuid.gen()})),[be,ye]=(0,mw.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"textfield",states:r,val_status:Ee,set_status:te,val_validate:be,set_validate:ye,SystemValidation:_G});let fe=[];for(let I=0;I<h;I++){let ae=Ee.formatValue[I],me={},z=u;r.combineInput&&(z=[u,Vf("DigitCharacterCell"),Vf("Combined")].join(" ")),fe.push((0,_m.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:ae,"data-form-name":s,id:"Digit-"+I+"-"+Ee.componentID,className:z,style:_(_({},r.style),me),onKeyDown:ne=>{let{key:pe,code:Se}=ne;if(pe=="Tab")return;ne.preventDefault();let ce=null;if(pe=="Backspace"){let we=Ee.formatValue;we[I]="",te(Fe=>D(_(_({},Fe),nO(we)),{eventType:"update",eventID:gm.default.uuid.gen()})),ce=I-1}else if(["ArrowLeft","ArrowRight"].includes(pe)){let we=+(pe=="ArrowRight")*2-1;ce=I+we}else v&&Kt.SubmitForm(ne),(()=>{let we=Se.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let Fe=we[2]||we[3]||we[4];if(p&&!Fe.match(/\d/)||!Fe)return;let He=Ee.formatValue;He[I]=Fe,te(at=>D(_(_({},at),nO(He)),{eventType:"update",eventID:gm.default.uuid.gen()})),ce=I+1})();gm.default.is.exist(ce)&&Tt("#Digit-"+ce+"-"+Ee.componentID).focus()},onChange:()=>{}},I))}return(0,_m.jsx)(Ha,{val_status:Ee,set_status:te,val_validate:be,states:r,children:(0,_m.jsx)(_t,D(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},P),{children:fe}))})},oO=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=D(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Do(Yn(r));return(0,_m.jsx)(Ra,{componentID:r.componentID,children:yG,states:a})};var ia=K(Ot()),Bo=K(pr()),_o=K(dr());var xO=K(fO()),TO=K(yO());var Br=K(Ot()),Al=K(pr()),mn=K(dr());function SG(r){let{value:a,states:o}=r,{required:l,options:s}=o,d=[];return l&&a===null&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:u})=>u=="invalid").length,notice:d}}var _w={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},Kf={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,Br.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Br.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),children:(0,Br.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:d,val_validate:u,set_validate:h,val_status:p,set_status:v,val_selectorOpen:b,set_selectorOpen:y}=r,C=a,{tone:w,required:k,form:B,className:M,label:X,isLabelActive:F,placeholder:V,enableFormSubmit:H,emptySelect:G,checkValidationAtFirst:P,onValidate:oe,onUpdateValue:Ee,onUpdateValidValue:te,value:be="",options:ye,leftIndicator:fe,rightIndicator:I,leftIcon:ae,rightIcon:me,componentID:z,status_id:ne,wrapStyles:pe,SelectedCellStyles:Se,SelectorCellStyles:ce,SelectorStyles:we,SelectorGravityPoint:Fe}=C,He=Qe(C,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorGravityPoint"]),at="select-sheet-"+a.componentID;return(0,Al.useEffect)(()=>{if(a.disabled)return;let Oe="select-click-"+a.componentID;if(b){let ct=(0,mn.default)('[data-input-origin="'+a.componentID+'"]');if(!ct)return;Ft.open({sheetID:at,type:"custom",parent:ct[0],padding:["1/4",0],gravityPoint:a.SelectorGravityPoint||22,close_option:{aroundClick:!1},content:(0,Br.jsx)(Kf.Selector,_({},r))}),(0,mn.default)(document).addEvent({eventID:Oe,eventType:"click",callback:nr=>{let bt=(0,mn.default)(nr.target),yt=!!(0,mn.default)(bt).parent("."+ts("Core")).length;(0,mn.default)(bt).parent("."+ts("Selector")).length||yt||y(!1)}})}else(0,mn.default)(document).removeEvent([Oe]),Ft.close(at)},[b]),(0,Al.useEffect)(()=>{if(p.eventType=="init"||!b)return;let Oe=(0,mn.default)('[data-input-origin="'+a.componentID+'"]');Oe&&Oe.focus()},[p.dataValue]),(0,Al.useEffect)(()=>{if(a.disabled||!b)return;let Oe=qe.get("refresh-select-selector-"+a.componentID);Oe&&Oe(r)},[a.options,p.dataValue,s]),(0,Br.jsx)(Br.Fragment,{children:(0,Br.jsx)(E,D(_({tabIndex:0},He),{"data-disabled":a.disabled,"data-name":a.name,"data-form":B,"data-show-validation":Kt.isShowValidation(u,p,!!P),"data-validation":u.ok,"data-component-id":p.componentID,"data-input-origin":p.componentID,"data-value":mn.default.JsonTo(p.dataValue),"data-input-type":"select",className:[M,ts("Core")].join(" "),onFocus:Oe=>{if(He!=null&&He.onFocus&&(He==null||He.onFocus(Oe)),!a.disabled){if(o)return l(!1);y(!0)}},onClick:Oe=>{He!=null&&He.onClick&&(He==null||He.onClick(Oe)),!a.disabled&&y(!0)},onKeyDown:Oe=>{let{key:ct,metaKey:nr,ctrlKey:bt}=Oe,yt=nr||bt;if(He!=null&&He.onKeyDown&&(He==null||He.onKeyDown(Oe)),H&&Kt.SubmitForm(Oe),!a.disabled){if(mn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(ct))return;if(Oe.preventDefault(),!b)return y(!0);let It=ct=="ArrowDown"?1:-1,nt=_w.FilterSelectableOptions(r),Ae=nt.length-1,Ct=null;mn.default.scope(()=>{var zt,Yt,$t,ir;if(It==1){if(Ct=((zt=nt[0])==null?void 0:zt.value)||null,s==null)return;if(yt){Ct=nt[Ae].value||Ct||null;return}let sr=nt.findIndex(xr=>xr.value==s);if(sr==-1)return;Ct=((Yt=nt[sr+1])==null?void 0:Yt.value)||Ct||null}else{if(Ct=nt[Ae].value||null,s==null)return;if(yt){Ct=(($t=nt[0])==null?void 0:$t.value)||Ct||null;return}let sr=nt.findIndex(xr=>xr.value==s);if(sr==-1)return;Ct=((ir=nt[sr-1])==null?void 0:ir.value)||Ct||null}}),d(Ct)}),ct=="Escape")y(!1);else if(ct=="Tab")y(!1);else if(ct=="Backspace")v(It=>D(_({},It),{dataValue:null,eventType:"update",eventID:mn.default.uuid.gen()}));else if(ct==" ")Oe.preventDefault(),y(!0);else if(ct=="Enter"){if(!b)return y(!0);if(!s)return;Oe.preventDefault();let It=a.options.find(nt=>nt.value==s);if(!It)return;v(nt=>D(_({},nt),{dataValue:It.value,eventType:"update",eventID:mn.default.uuid.gen()})),y(!1)}}},children:(0,Br.jsxs)(We.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Br.jsx)(Kf.Placeholder,_({},r)),(0,Br.jsx)(Kf.Selected,_({},r)),(0,Br.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})}))})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Br.jsx)(E,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{let[a,o]=(0,Al.useState)(r),{rootStates:l}=a;(0,Al.useEffect)(()=>{qe.set({["refresh-select-selector-"+l.componentID]:h=>{o(h)}})},[]);let s=[],d=_w.FilterSelectableOptions(a,!0),u=_w.FilterSelectableOptions(a);return d.forEach((h,p)=>{let{type:v,value:b}=h,y=a.val_optionFocused==b,C=a.val_status.dataValue===b;if(v=="selector"){s.push((0,Br.jsx)(re.Button.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:C||y,isActiveStyles:y?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"},onClick:w=>{a.set_status(k=>D(_({},k),{dataValue:b,eventType:"update",eventID:mn.default.uuid.gen()})),a.set_selectorOpen(!1),a.set_preventOpenSelectorOnFocus(!0)},children:(0,Br.jsxs)(We.Left,{gap:"1/2",children:[C&&(0,Br.jsx)(xe.Check,{fontColor:"theme"}),(0,Br.jsx)(Ke.Supplement,{transition:"short",children:h.label})]})},String(b)));return}s.push((0,Br.jsx)(E,{children:h.label},mn.default.uuid.gen()))}),u.length||(s=[(0,Br.jsx)(Ke.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),(0,Br.jsx)(Ft.Body,{className:ts("Selector"),ssCardBox:!0,borderRadius:"3.tone.tertiary",boxShadow:"1.normal",freeCSS:{minWidth:12*14},children:(0,Br.jsx)(pt,{gap:0,padding:[1,0],children:s})})},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&mn.default.scope(()=>{let o=r.rootStates.options.find(l=>mn.default.JsonTo(l.value)==mn.default.JsonTo(r.val_status.dataValue));o&&a.push((0,Br.jsx)(E,D(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Br.jsx)(Br.Fragment,{children:a})},Core:r=>{let{value:a}=r,[o,l]=(0,Al.useState)(Kt.DefaultStatus(r.componentID,a)),[s,d]=(0,Al.useState)(!1),[u,h]=(0,Al.useState)(!1),[p,v]=(0,Al.useState)(r.value||null),[b,y]=(0,Al.useState)({ok:!1,notice:[]}),C={rootStates:r,val_preventOpenSelectorOnFocus:s,set_preventOpenSelectorOnFocus:d,val_optionFocused:p,set_optionFocused:v,val_selectorOpen:u,set_selectorOpen:h,val_status:o,set_status:l,val_validate:b,set_validate:y};return Kt.CommonEffects({type:"select",states:r,val_status:o,set_status:l,val_validate:b,set_validate:y,SystemValidation:SG}),(0,Br.jsxs)(Ha,{val_status:o,set_status:l,val_validate:b,states:r,children:[(0,Br.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||o.dataValue!=="null"}),(0,Br.jsx)(Kf.Shallow,_({},C)),(0,Br.jsx)(Kf.Button,_({},C))]})}},is=r=>{let a=_({},r);return a=D(_({emptySelect:!0},a),{freeCSS:_({cursor:"pointer"},a.freeCSS)}),a.emptySelect&&(a.options=[{value:null,label:(0,Br.jsx)(Ke.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...a.options]),a.value=a.value||null,a.options.forEach((o,l)=>{let{type:s,value:d}=o;a.options[l]=D(_({},o),{value:d,type:s||"selector"})}),mn.default.is.nullish(a.rightIcon)&&(a.rightIcon=(0,Br.jsx)(ja,{ssSphere:2,children:(0,Br.jsx)(xe.AngleDown,{})})),(0,Br.jsx)(Ra,{componentID:a.componentID,children:Kf.Core,states:Yn(a)})};var Ve=K(Ot()),wO=K(pr()),yu=K(pr()),Ur=K(dr());var Ua=K(Ot()),bw=K(pr()),bu=K(dr());function wG(r){let{value:a,states:o}=r,{type:l,required:s,min:d,max:u}=o;d=d||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<d&&h.push({type:"invalid",label:d+"\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:v})=>v=="invalid").length,notice:h}}var bm={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=bu.default.is.exist(a)?bu.default.flatArray(a):[],s=[];return l.forEach(d=>{o.findIndex(u=>bu.default.JsonTo(u.value)==bu.default.JsonTo(d))!=-1&&s.push(d)}),(0,Ua.jsx)(bm.Core,D(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:d="",form:u,override:h,icon:p,iconType:v,CustomIcon:b,enableFormSubmit:y,checkValidationAtFirst:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M,options:X,className:F,cellStyles:V,cellClassName:H,cellCheckedStyles:G,cellCheckedClassName:P,min:oe,max:Ee,hideInput:te,freeCSS:be,wrapStyles:ye}=a,fe=Qe(a,["type","tone","required","componentID","form","override","icon","iconType","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[I,ae]=(0,bw.useState)(Kt.DefaultStatus(d,M)),[me,z]=(0,bw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"list."+o,states:r,val_status:I,set_status:ae,val_validate:me,set_validate:z,SystemValidation:wG}),(0,Ua.jsx)(Ha,{val_status:I,set_status:ae,val_validate:me,states:r,children:(0,Ua.jsx)(bm.List,{rootStates:r,val_status:I,set_status:ae})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:d,tone:u,icon:h=!0,isChecker:p,options:v,name:b,form:y,tabIndex:C,hideInput:w,disabled:k,className:B,cellStyles:M,cellClassName:X="",cellCheckedStyles:F,cellCheckedClassName:V="",enableFormSubmit:H}=a,{dataValue:G}=o,P=a.CustomIcon,oe=v.map((Ee,te)=>{let be=Ee,{value:ye,label:fe,disabled:I,className:ae="",checkedStyles:me,checkedClassName:z="",freeCSS:ne}=be,pe=Qe(be,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Se=bu.default.uuid.gen(),ce=G.findIndex(at=>at===ye)!=-1,we=_(_({},M),pe),Fe=[ud("Label"),X,ae];ce&&(we=D(_(_(_({},we),F),me),{freeCSS:_(_(_({},we==null?void 0:we.freeCSS),F==null?void 0:F.freeCSS),me==null?void 0:me.freeCSS)}),Fe=[...Fe,V,z]);let He=()=>{if(k||I)return;let at=[];if(d=="radio")at=[ye];else if(d=="checkbox"||p)if(!ce)at=[...o.dataValue,ye];else{let Oe=[...o.dataValue];Oe.splice(o.dataValue.findIndex(ct=>ct==ye),1),at=Oe}l(Oe=>D(_({},Oe),{dataValue:at,eventType:"update",eventID:bu.default.uuid.gen()}))};return[(0,Ua.jsx)(E,{htmlTag:"input",type:d=="radio"?"radio":"checkbox",className:ud("Input"),name:"RadioCheckbox-"+b,"data-list-index":s+"-"+te,id:Se,value:String(ye),"data-form-name":y,disabled:k||I,checked:ce,onFocus:at=>{I||d=="radio"&&(o.dataValue.length||l(Oe=>D(_({},Oe),{dataValue:[ye],eventType:"update",eventID:bu.default.uuid.gen()})))},onChange:()=>{He()},onKeyDown:at=>{let{key:Oe,shiftKey:ct}=at;if((d=="checkbox"||r.rootStates.isChecker)&&Oe!="Tab"&&Oe.match(/Arrow/)){at.preventDefault();let nr=["ArrowLeft","ArrowUp"].includes(Oe)?-1:1,bt=te+nr;bt<0?bt=v.length-1:bt>=v.length&&(bt=0),Tt(`input[data-list-index="${s}-${bt}"]`).focus()}H&&Kt.SubmitForm(at)},tabIndex:C},"List-"+JSON.stringify(ye)),(0,Ua.jsxs)(S_,D(_({"data-disabled":k||I,htmlFor:Se,className:Fe.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",gap:"1/6",flexWrap:!1},we),{children:[h&&(0,Ua.jsx)(P,{isChecked:ce,toggle:()=>{He()}}),bu.default.is.string(fe)?(0,Ua.jsx)(E,{children:fe}):fe]}),"ListTrigger-"+JSON.stringify(ye))]});return(0,Ua.jsx)(_t,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[B,ud("CellBase"),ud("HideInput_"+w),ud("IconIndicator_"+!!h),ud("Tone_"+u)].join(" "),children:oe})},RadioIcon:r=>(0,Ua.jsx)(re.Button.Normal.R,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:3,onClick:a=>{a.preventDefault(),a.stopPropagation(),r.toggle()},children:(0,Ua.jsx)(E,{ssSphere:1.5,border:"3.thick",borderWidth:2,borderColor:r.isChecked?"theme":"3.thick",position:"relative",transition:"middle",children:(0,Ua.jsx)(E,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.isChecked?"theme":"trans",opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.6)"}})})}),CheckboxIcon:r=>(0,Ua.jsx)(re.Button.Normal.R,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:3,onClick:a=>{a.preventDefault(),a.stopPropagation(),r.toggle()},children:(0,Ua.jsx)(E,{ssSquare:1.5,flexCenter:!0,border:"3.thick",borderWidth:2,borderColor:r.isChecked?"theme":"3.thick",borderRadius:"3.tone.tertiary",position:"relative",backgroundColor:r.isChecked?"theme":"trans",transition:"middle",fontColor:"white",children:(0,Ua.jsx)(xe.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8}})})})},yw=r=>{r=r||"checkbox";let a=l=>(l=D(_({gap:"1/2",iconType:r=="radio"?"radio":"checkbox"},l),{type:r,cellStyles:_({position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=bm.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=bm.CheckboxIcon)),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",isRounded:!0,backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({paddingRight:1,border:"1.thin",isRounded:!0,backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({paddingRight:1,isRounded:!0,border:"1.thin",backgroundColor:"layer.2"},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=Do(l),(0,Ua.jsx)(Ra,{componentID:l.componentID,children:bm.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Ua.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Ua.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Ua.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Ua.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Ua.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},O_=yw("checkbox"),vd=yw("radio"),SO=yw();var Sw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((o=r==null?void 0:r.max)!=null?o:Ur.default.Time().addYear(10).year);for(let u=s;u<=d;u++)l.unshift({value:u,label:[u,...Ur.default.transformer.wareki(u).value].join(" -")});return l},CO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.tipsID=r.tipsID||Ur.default.uuid.gen();let s=(0,yu.useRef)(!1),[d,u]=(0,yu.useState)((()=>{var p,v;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let y=Number(b[0]),C=Number(b[1]);return{modifiedType:"init",hour:y,minutes:C}}else if(a=="date"){let[b,y,C]=(p=String(l))==null?void 0:p.split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y)||Ur.default.is.nullish(C))&&([b,y,C]=Ur.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(y),date:Number(C)}}else if(a!="week"){if(a=="month"){let[b,y]=String(l).split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y))&&([b,y]=Ur.default.Time().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(y)}}else if(a=="year"){let[b]=String(l).split(/\D/);return Ur.default.is.nullish(b)&&([b]=Ur.default.Time().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,y,C]=(v=String(l))==null?void 0:v.split(/\D/);return(Ur.default.is.nullish(b)||Ur.default.is.nullish(y)||Ur.default.is.nullish(C))&&([b,y,C]=Ur.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(b),month:Number(y),date:Number(C)}}}return{}})());(0,yu.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",v=o||"year";if(a=="clock"){let{hour:b,minutes:y}=d;p=[b.zeroEmbed(2),y.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:y,date:C}=d;p=[b,y.zeroEmbed(2),C.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:y}=d;p=[b,y.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:y,date:C,era:w}=d;v=w,p=[b,y.zeroEmbed(2),C.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,v)}}else s.current=!0},[d]);let h=D(_({},r),{val_value:d,set_value:u});return(0,Ve.jsx)(E,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",border:!0,overflow:"hidden",children:(0,Ve.jsx)(E,{overflow:"auto",className:Ea(a.toCapital()+"Base"),children:a=="clock"?(0,Ve.jsx)($a.Clock.index,_({},h)):a=="date"?(0,Ve.jsx)($a.Date.index,_({},h)):a=="week"?"":a=="month"?(0,Ve.jsx)($a.Month.index,_({},h)):a=="year"?(0,Ve.jsx)($a.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ve.jsx)($a.DateWareki.index,_({},h)):(0,Ve.jsx)(Ve.Fragment,{})})})},$a={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,[h,p]=(0,yu.useState)(d.hour>12?2:1),[v,b]=(0,yu.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,yu.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(v))},[v]);let{hour:y,minutes:C}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(_t,{flexType:"row",flexWrap:!1,gap:1,className:Ea("Body"),children:[(0,Ve.jsxs)(pt,{className:Ea("DesignSide"),flexSizing:0,children:[(0,Ve.jsx)(E,{className:Ea("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Ve.jsxs)(E,{className:Ea("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Ve.jsx)(E,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("hour")].join(" "),freeCSS:{transform:`rotate(${y*30+C/2}deg)`}}),(0,Ve.jsx)(E,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("minute")].join(" "),freeCSS:{transform:`rotate(${C*6}deg)`}})]})}),(0,Ve.jsx)(vd,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:0,tabIndex:-1,onUpdateValidValue:({value:w})=>{let k=d.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:d.minutes})}}),(0,Ve.jsx)(E,{borderTop:!0,margin:[0,1]}),(0,Ve.jsx)(vd,{icon:!0,value:[v],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:0,tabIndex:-1,onUpdateValidValue:({value:w})=>{b(w)}})]}),(0,Ve.jsxs)(pt,{children:[(0,Ve.jsxs)(E,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ve.jsxs)(_t,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Ve.jsx)(pt,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:$a.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:d.minutes})},min:a,max:o,ampm:h})}),(0,Ve.jsx)(pt,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:$a.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:d.hour,minutes:w})},min:a,max:o,unit:v})})]})]})]}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));d>u&&(s=!0)}}a.push((0,Ve.jsx)(re.Button.Normal.R,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,Ve.jsx)(re.Button.Normal.R,{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,tipsID:s,val_value:d,set_value:u}=r,{year:h,month:p,date:v}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{flexWrap:!0,children:[(0,Ve.jsxs)(_t,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Ve.jsx)(is,{override:"force",emptySelect:!1,value:h,options:Sw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,onUpdateValidValue:({value:b})=>{u({modifiedType:"update",year:Number(b),month:p,date:v})},rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})})}),(0,Ve.jsx)(is,{override:"force",emptySelect:!1,value:p,options:(()=>{let b=[];for(let y=1;y<=12;y++)b.push({value:y,label:String(y)+"\u6708"});return b})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),onUpdateValidValue:({value:b})=>{u({modifiedType:"update",year:h,month:Number(b),date:v})}})]}),(0,Ve.jsx)($a.Variables.ShiftButtons,{callback:b=>{let y=p+b,C=h;y<=0&&(C--,y=12),y>12&&(C++,y=1),u({modifiedType:"update",year:C,month:y,date:d.date})}})]}),(0,Ve.jsx)(E,{borderTop:!0}),(0,Ve.jsx)(E,{children:$a.Date.MonthCalendar({min:a,max:o,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[y,C,w]=b;u({modifiedType:"update",year:y,month:C,date:w})}})}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:d,callback:u}=r,h=Ur.default.Time(),p=Ur.default.Time([l,s.zeroEmbed(2),"01"].join("/")),v=p.getLastDayOfTheMonth(),b=Ur.default.Time(p).addMonth(-1).getLastDayOfTheMonth().date,y=[],C=[],w=[],k=[],B={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)y.push((0,Ve.jsx)(E,D(_({className:[Ea("CalendarDay"),Ea("Legend")].join(" ")},B),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)C.unshift((0,wO.createElement)(E,D(_({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},B),{key:M}),b-M));for(var M=1;M<=v.date;M++){let F=M,V=l==h.year&&s==h.month&&M==h.date,H=!1;{let G=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>G&&(H=!0),r.max){let P=Number(String(r.max).replace(/\D/ig,""));G>P&&(H=!0)}}w.push((0,Ve.jsx)(re.Button.Clear.R,D(_({className:[Ea("CalendarDay"),Ea("isToday_"+V)].join(" ")},B),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,F])},tabIndex:-1,isLocked:H,children:M}),F))}for(var M=1;M<7-v.weekday;M++)k.push((0,Ve.jsx)(E,D(_({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},B),{children:M}),M));return(0,Ve.jsxs)(ha,{gridCols:7,gap:"1/6",children:[y,C,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{year:h,month:p}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{gap:0,children:[(0,Ve.jsx)(We.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Ve.jsx)(is,{emptySelect:!1,value:h,options:Sw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),onUpdateValidValue:({value:v})=>{u({modifiedType:"update",year:Number(v),month:p})}})}),(0,Ve.jsx)($a.Variables.ShiftButtons,{callback:v=>{let b=Math.min(Math.max(h+v,1900),2100);u({modifiedType:"update",year:b,month:p})}})]}),(0,Ve.jsx)(E,{borderTop:!0}),$a.Month.Months({min:a,max:o,year:d.year,callback:v=>{let[b,y]=v;u({modifiedType:"update",year:b,month:y})}}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=Ur.default.Time(),s=[];for(let d=1;d<=12;d++){let u=a==l.year&&d==l.month,h=!1;{let v=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>v&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));v>b&&(h=!0)}}let p=[Ea("Cell"),u?Ea("isThisMonth"):""].join(" ");s.push((0,Ve.jsxs)(re.Button.Clear.R,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ve.jsx)(ha,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{year:h}=d;return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsx)(is,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||Ur.default.Time().year,override:"force",options:Sw({min:a,max:o}),onUpdateValidValue:({value:p})=>{u({modifiedType:"update",year:Number(p)})}}),(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||Ur.default.Time().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,tipsID:s,val_value:d,set_value:u}=r,{era:h,year:p,month:v,date:b}=d,y={val_value:d,set_value:u};return(0,Ve.jsxs)(E,{children:[(0,Ve.jsxs)(We.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Ve.jsx)($a.DateWareki.EraSelect,_({},y)),(0,Ve.jsx)(E,{borderRight:!0}),(0,Ve.jsx)($a.DateWareki.Calendar,_({},y))]}),(0,Ve.jsx)(We.Right,{padding:1,children:(0,Ve.jsx)($a.Variables.Footer,{tipsID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ve.jsxs)(pt,{padding:1,gap:0,children:[(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=Ur.default.Time();o({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=Ur.default.Time();o({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Ve.jsx)(re.Button.Clear.R,D(_({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")for(let s=1900;s<2100;s++)l.unshift({value:s,label:s+"\u5E74"});else if(a.era=="reiwa"){let s=Ur.default.Time().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,Ve.jsxs)(pt,{padding:1,children:[(0,Ve.jsxs)(We.Separate,{children:[(0,Ve.jsx)(is,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:({value:s})=>{o(d=>D(_({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ve.jsxs)(We.Center,{gap:"1/3",children:[(0,Ve.jsx)(is,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",rightIcon:(0,Ve.jsx)(ja,{ssSphere:2,right:"1/3",children:(0,Ve.jsx)(xe.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:({value:s})=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ve.jsx)(re.Button.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ve.jsx)(xe.ChevronLeft,{})}),(0,Ve.jsx)(re.Button.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ve.jsx)(xe.ChevronRight,{})})]})]}),(0,Ve.jsx)($a.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=Ur.default.Time([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Ve.jsx)(Ke.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ur.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let v=Ur.default.Time(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,Ve.jsx)(re.Button.Sub.R,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"lastMonth-"+p))}let h=Ur.default.Time();for(let p=1;p<=d.date;p++){let v=Ur.default.Time(l).setDate(p),b=h.diff(v).dates==0;u.push((0,Ve.jsx)(re.Button.Clear.R,{ssSquare:3,fontColor:"2.normal",className:[Ea("CalendarDay"),Ea("isToday_"+b)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"currentMonth-"+p))}for(let p=0;p<7-d.weekday-1;p++){let v=Ur.default.Time(l).addMonth(1).setDate(1).addDate(p);u.push((0,Ve.jsx)(re.Button.Sub.R,{color:"cloud",ssSquare:3,opacity:"middle",onClick:b=>{b.preventDefault(),b.stopPropagation(),o({modifiedType:"update",era:a.era,year:v.year,month:v.month,date:v.date})},children:v.date},"nextMonth-"+p))}return(0,Ve.jsx)(ha,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Ve.jsxs)(_t,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Ve.jsxs)(re.Button.Sub.S,{tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Ve.jsx)(xe.Times,{})," \u524A\u9664"]}),(0,Ve.jsx)(re.Button.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),zr.close(r.tipsID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ve.jsxs)(_t,{gap:"1/3",flexWrap:!1,children:[(0,Ve.jsx)(re.Button.Clear.R,D(_({className:Ea("LeftButton"),tabIndex:-1,right:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Ve.jsx)(xe.ChevronLeft,{})})),(0,Ve.jsx)(re.Button.Clear.R,D(_({className:Ea("RightButton"),tabIndex:-1,left:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Ve.jsx)(xe.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var _d=" ~ ",xG={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+_d.length,length:4},{type:"month",from:15+_d.length,length:2},{type:"date",from:18+_d.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+_d.length,length:4},{type:"month",from:13+_d.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}},gd={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=_o.default.flatArray(o||""),{defaultValue:d,format:u,ranges:h,sets:p}=xG[a],v=[],b=a=="clock"?":":"/";for(let y=0;y<s.length;y++)s[y]=String(s[y]).replace(/\D/ig,b);for(let y=0;y<p;y++){let C=s[y]||"";if(!C.match(u))s[y]="",v.push(d);else{let w=d;C.split(/\D/).forEach((k,B)=>{if(B==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),v.push(w)}}return{formatValue:v.join(_d),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:d}=a,u=[],h=_o.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let v=o=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,v);for(let b=0;b<h.length;b++){let y=h[b],C=h[b-1];y.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(y>=C))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);!y||!C?p.filled=!1:(Number(y)>23||Number(C)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(b=>{let[y,C,w]=b.split(/\D+/);if(!y||!C||!w)p.filled=!1;else{let k=_o.default.Time(b);(!k.validate||b!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);if(!y||!C)p.filled=!1;else{let w=_o.default.Time(y+"/01/01").weekday,k=_o.default.Time(y+"/01/0"+(7-w+1)).addWeek(Number(C)-1);y!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(b=>{let[y,C]=b.split(/\D+/);!y||!C?p.filled=!1:_o.default.Time([y,C,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let y=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>y&&(p.prohibited=!0),s){let C=Number(String(s).replace(/\D/ig,""));y>C&&(p.prohibited=!0)}}})))})();{let{empty:v,escalated:b,filled:y,correct:C,prohibited:w}=p;v&&d&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),C||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),y||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,ia.jsxs)(ia.Fragment,{children:[(0,ia.jsx)(E,{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:v})=>v=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:d,val_focus:u,set_focus:h}=r,{key:p,shiftKey:v,ctrlKey:b,metaKey:y}=l,C=b||y,{selectionStart:w,selectionEnd:k}=l.target,{index:B,prevIndex:M}=u,{ranges:X,formatValue:F}=s,V=X.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let H=0;if(p=="Tab"){let G=+!v*2-1;if(H=u.index+G,H<0||H>V)return}else{let G=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;C||w==0&&k==String(s.formatValue).length?H=G==1?V:0:H=Math.max(0,Math.min(B+G,V))}h(G=>D(_({},G),{index:H,prevIndex:B})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let H=B;H=Math.max(H,0),H=Math.min(H,V);let{type:G,from:P,length:oe}=X[H],Ee=F.slice(P,P+oe),te;if(p=="Backspace")te="------".slice(0,oe);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;Ee=Ee|0,te=Ee+be;let[ye,fe,I]=G=="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]:G=="minute"?[0,59,2]:G=="hour"?[0,23,2]:G=="date"?[1,31,2]:G=="week"?[1,53,2]:G=="month"?[1,12,2]:G=="year"?[0,2999,4]:[0,0,0];te>fe?te=ye:te<ye&&(te=fe),te=Number(te).zeroEmbed(I)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=Ee|0,ye=p,fe=`${be}${ye}`;if(M!=B&&(be=0,fe="0"+ye),G=="year"||G=="dateWareki"&&a=="year")Number(fe)>1e4?te=ye:te=fe,(te|0)>1e3&&H++;else if(["hour","minute","date","week","month"].includes(G)||G=="dateWareki"&&a!="year"){let I=G=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:G=="minute"?59:G=="hour"?23:G=="date"?31:G=="week"?53:G=="month"?12:0;te=(fe|0)>I?ye:fe,(Number(ye)>Number(String(I)[0])||Ee=="0000".slice(0,String(I).length)&&(fe!="0000".slice(0,String(I).length)||["minute","hour"].includes(G)&&M==B)||(fe|0)>=_5(10,String(I).length-1))&&H++}G=="year"||G=="dateWareki"?te=(te|0).zeroEmbed(4):te=(te|0).zeroEmbed(2)}{let be=String(F).partReplace(P,String(te)),ye=be.split(_d).map(fe=>fe.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let fe=ye[0].split(/\D/),[I,ae,me]=fe;fe.length==3&&I&&(ye=[[Number(I)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),ae,me].join("/")])}H=Math.max(H,0),H=Math.min(H,V),d(fe=>D(_({},fe),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:_o.default.uuid.gen()})),h(fe=>D(_({},fe),{index:H,prevIndex:fe.index}))}}}},kO={picker:{launch:r=>{let a=r.tipsID||_o.default.uuid.gen(),o=r,{onValueUpdate:l,min:s,max:d,era:u,restrict:h,defaultValue:p}=o,v=Qe(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);zr.open(D(_({gravityPoint:r.gravityPoint||24,tipsID:a,padding:0},v),{parent:v.parent,close_option:_({aroundClick:!0,parentBlur:!1},v.close_option),content:(0,ia.jsx)(CO,{restrict:h,min:s,max:d,era:u,defaultValue:p,tipsID:a,onValueUpdate:(b,y)=>{l(b,y)}})}))},remove:r=>{zr.close(r)}}},TG={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,ia.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ia.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),children:(0,ia.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},kG=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:d,era:u,form:h,name:p,min:v,max:b,className:y,enableFormSubmit:C,checkValidationAtFirst:w,onKeyDown:k,onValidate:B,onUpdateValue:M,onUpdateValidValue:X,value:F="",leftIndicator:V,rightIndicator:H,leftIcon:G,rightIcon:P,freeCSS:oe,wrapStyles:Ee}=a,te=Qe(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[be,ye]=(0,Bo.useState)(u),[fe,I]=(0,Bo.useState)(D(_({componentID:r.componentID||""},gd.DataLeveling({restrict:s,value:F,era:be})),{eventType:"init",eventID:_o.default.uuid.gen()})),[ae,me]=(0,Bo.useState)({ok:!1,notice:[]}),[z,ne]=(0,Bo.useState)({active:!1,index:0,prevIndex:-1}),pe={rootStates:r,val_status:fe,set_status:I,val_validate:ae,set_validate:me,val_era:be,set_era:ye,val_focus:z,set_focus:ne};Kt.CommonEffects({type:"time",states:r,val_status:fe,set_status:I,val_validate:ae,set_validate:me,SystemValidation:gd.SystemValidation,ExtraOverrideStates:_({},gd.DataLeveling({restrict:s,value:F,era:be}))});let Se=(0,Bo.useRef)(!1);return(0,Bo.useEffect)(()=>{if(Se.current){I(we=>_(_({},we),gd.DataLeveling({restrict:s,value:we.dataValue,era:be})));let ce=qe.get("refreshEra_"+fe.componentID);ce&&ce.refreshEra(be)}else Se.current=!0},[be]),qe.update({[fe.componentID]:{openPicker:()=>{r.disabled||kO.picker.launch({parent:"#Picker-"+fe.componentID,tipsID:"PickerTips-"+fe.componentID,restrict:s,min:v,max:b,defaultValue:fe.dataValue,era:be,onValueUpdate:(ce,we)=>{I(Fe=>D(_(_({},Fe),gd.DataLeveling({restrict:s,value:ce,era:we})),{eventType:"update",eventID:_o.default.uuid.gen()})),ye(we)}})},resetEra:ce=>{ye(ce),I(we=>D(_(_({},we),gd.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:_o.default.uuid.gen()}))}}}),(0,Bo.useEffect)(()=>{let{index:ce,active:we}=z;if(we){ce=Math.max(ce,0),ce=Math.min(ce,fe.ranges.length-1);let{from:Fe,length:He}=fe.ranges[ce],at=Tt("#"+r.id)[0];at&&at.setSelectionRange(Fe,Fe+He)}},[z]),(0,ia.jsxs)(Ha,{val_status:fe,set_status:I,val_validate:ae,states:r,children:[(0,ia.jsx)(TG.Shallow,_({},pe)),(0,ia.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),st.get().isTouchDevice?(0,ia.jsx)(re.Button.Plain,{"data-show-validation":Kt.isShowValidation(ae,fe,!!w),"data-component-id":fe.componentID,className:y,freeCSS:{textAlign:"left"},children:fe.formatValue,onClick:ce=>{let we=qe.get(fe.componentID);we&&we.openPicker(),ce.stopPropagation()}}):(0,ia.jsx)(E,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Kt.isShowValidation(ae,fe,!!w),"data-input-origin":fe.componentID,"data-disabled":r.disabled,"data-input-type":"time","data-form-name":h,value:fe.formatValue,className:y,tabIndex:st.get().isTouchDevice?-1:0,onKeyDown:ce=>{gd.KeyDownEvent({restrict:s,event:ce,val_era:be,val_status:fe,set_status:I,val_focus:z,set_focus:ne}),k&&k(ce),C&&Kt.SubmitForm(ce)},onKeyUp:ce=>{ce.key=="Tab"&&ne(we=>D(_({},we),{active:!0}))},onClick:ce=>{let we=ce.target.selectionEnd,Fe=0;fe.ranges.forEach((He,at)=>{let{from:Oe,length:ct,region:nr}=He;Oe<=we&&we<=Oe+(nr||ct)&&(Fe=at)}),ne(He=>D(_({},He),{active:!0,index:Fe})),ce.preventDefault()},onChange:()=>{}},te))]})},Bs={Origin:r=>{let a=_({},r),[o]=(0,Bo.useState)(r.componentID||_o.default.uuid.gen());if(a.componentID=o,_o.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?xO.faClock:TO.faCalendarAlt;a.rightIcon=(0,ia.jsx)(ja,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ia.jsx)(re.Button.Sub.R,{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=qe.get(a.componentID);s&&s.openPicker()},children:(0,ia.jsx)(xe,{icon:l})})})}return(0,ia.jsx)(Ra,{componentID:a.componentID,children:kG,states:Yn(a)})},Clock:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"date"},r)),Week:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"week"},r)),Month:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"month"},r)),Year:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,Bo.useState)(r.componentID||_o.default.uuid.gen());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Bo.useState)((()=>{let d="year";if(o=="wareki"&&(d="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let v=Number(u);v>=2019?(v-=2019,d="reiwa"):v>=1989?(v-=1989,d="heisei"):v>=1926?(v-=1926,d="shouwa"):v>=1912?(v-=1912,d="taisho"):v>=1868&&(v-=1868,d="meiji"),v+=1}}return d})());return(0,Bo.useEffect)(()=>{qe.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,ia.jsx)(Bs.Origin,D(_({restrict:"dateWareki",leftIndicator:(0,ia.jsx)(is,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:({value:d,eventType:u})=>{s(d);let h=qe.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"dates"},r)),Month:r=>(0,ia.jsx)(Bs.Origin,_({restrict:"months"},r))},fn:kO};var ar=K(Ot()),Da=K(pr()),ra=K(dr());var Sd=K(Ot());var bd=K(Ot()),EO=K(dr());var yd=K(pr());var Xf=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,u=Qe(a,["color","size","showInitial","loaderID"]),[h]=(0,yd.useState)(d),[p]=(0,yd.useState)(EO.default.uuid.gen()),[v,b]=(0,yd.useState)(s),y=0;l=="S"?y=1:l=="R"?y=1.5:l=="L"?y=3:l=="XL"?y=4:l=="MAX"&&(y=6);let C={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,yd.useEffect)(()=>{let w=Tt('[data-component-id="'+p+'"]');v?w.removeClass(ka("Hide")).await(10).addClass(ka("Active")):w.removeClass(ka("Active")).await(210).addClass(ka("Hide"))},[v]),(0,yd.useEffect)(()=>{qe.set({[p]:{active:w=>{h==w&&b(!0)},stop:w=>{h==w&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,bd.jsxs)(We.Center,D(_({className:[ka("MiniLoader"),ka(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:y,position:"relative"},u),{children:[(0,bd.jsx)("svg",{className:ka("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,bd.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bd.jsx)("svg",{className:ka("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,bd.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Bl=K(Ot());var I_=K(pr());var RO=()=>{let[r,a]=(0,I_.useState)(!1);return(0,I_.useEffect)(()=>{qe.set({["Loader-corner-"+st.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Bl.jsxs)(_t,{className:[ka("CornerLoader"),r?ka("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Bl.jsxs)(_t,{className:ka("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Bl.jsx)(E,{className:ka("Ld4")}),(0,Bl.jsx)(E,{className:ka("Ld3")}),(0,Bl.jsx)(E,{className:ka("Ld2")}),(0,Bl.jsx)(E,{className:ka("Ld1")}),(0,Bl.jsx)(E,{className:ka("Ld2")}),(0,Bl.jsx)(E,{className:ka("Ld3")}),(0,Bl.jsx)(E,{className:ka("Ld4")})]}),(0,Bl.jsx)(E,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Jf=r=>{let a=r.color;return{S:o=>(0,Sd.jsx)(Xf,_({size:"S",color:a},o)),R:o=>(0,Sd.jsx)(Xf,_({size:"R",color:a},o)),L:o=>(0,Sd.jsx)(Xf,_({size:"L",color:a},o)),XL:o=>(0,Sd.jsx)(Xf,_({size:"XL",color:a},o)),MAX:o=>(0,Sd.jsx)(Xf,_({size:"MAX",color:a},o))}},Qa={Wrapper:()=>(0,Sd.jsx)(RO,{}),Theme:Jf({color:"theme"}),Posi:Jf({color:"posi"}),Nega:Jf({color:"nega"}),Warn:Jf({color:"warn"}),White:Jf({color:"white"}),Cloud:Jf({color:"cloud"}),fn:{corner:{active:()=>{let r=qe.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=qe.get("Loader-corner-"+st.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{Tt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=qe.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{Tt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=qe.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{Tt("."+ka("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=qe.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Qa.fn.corner.stop(),Qa.fn.mini.stopALL()}}};function EG(r){let{value:a,states:o}=r,{required:l,options:s,min:d,max:u}=o;d=d||0,u=u||65535;let h=[],p=a.filter(v=>v!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<d&&h.push({type:"invalid",label:d+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:v})=>v=="invalid").length,notice:h}}var Qf={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:d,searchValue:u}=o,h=u||(ra.default.is.string(s)?s:"")||(ra.default.is.string(d)?d:"");a.push(D(_({},o),{searchValue:h,type:l||"selector",value:d}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},Zf={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,ar.jsx)(E,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ar.jsx)(Ke.Description,D(_({className:a.className},l),{position:"absolute",width:1,freeCSS:D(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,ar.jsx)(E,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:d,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:v,val_preventOpenSelectorOnFocus:b,set_preventOpenSelectorOnFocus:y,val_selectorOpen:C,set_selectorOpen:w,val_status:k,set_status:B,val_validate:M,set_validate:X}=r,F=a,{tone:V,required:H,form:G,className:P,multiSelect:oe,enableFormSubmit:Ee,checkValidationAtFirst:te,onValidate:be,onUpdateValue:ye,onUpdateValidValue:fe,value:I="",options:ae,leftIndicator:me,rightIndicator:z,leftIcon:ne,rightIcon:pe,componentID:Se,status_id:ce,wrapStyles:we,emptySelect:Fe,SearchInput:He,SearchInputPlaceholder:at,SelectedComponent:Oe,SelectorComponent:ct,SelectorGravityPoint:nr,DynamicOptionsOnSearch:bt}=F,yt=Qe(F,["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","SelectorGravityPoint","DynamicOptionsOnSearch"]);(0,Da.useEffect)(()=>{var nt;if(a.disabled||!C)return;let Ae=Qf.FilterSelectableOptions(r);d(((nt=Ae[0])==null?void 0:nt.value)||null)},[o]),(0,Da.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),y(!0),setTimeout(()=>{let nt=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');nt&&nt.focus()},10)):(0,ra.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]);let It="autocomplete-sheet-"+a.componentID;return(0,Da.useEffect)(()=>{let nt="autocomplete-click-"+a.componentID;if(C){let Ae=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');if(!Ae)return;(0,ra.default)("#SearchInput_"+a.componentID).focus(),Ft.open({sheetID:It,type:"custom",parent:Ae[0],padding:["1/4",0],gravityPoint:a.SelectorGravityPoint||22,close_option:{aroundClick:!1},content:(0,ar.jsx)(Zf.Selector,_({},r))}),(0,ra.default)(document).addEvent({eventID:nt,eventType:"mousedown",callback:Ct=>{let zt=(0,ra.default)(Ct.target),Yt=!!(0,ra.default)(zt).parent("."+ts("Core")).length;(0,ra.default)(zt).parent("."+ts("Selector")).length||Yt||w(!1)}})}else(0,ra.default)(document).removeEvent([nt]),l(""),Ft.close(It)},[C]),(0,Da.useEffect)(()=>{if(a.disabled||!C)return;Ft.customSheet.reposition(It);let nt=qe.get("refresh-autocomplete-selector-"+a.componentID);nt&&nt(r)},[u,k.dataValue,o,s]),(0,ar.jsx)(ar.Fragment,{children:(0,ar.jsx)(E,D(_({tabIndex:0},yt),{"data-disabled":a.disabled,"data-name":a.name,"data-form":G,"data-show-validation":Kt.isShowValidation(M,k,!!te),"data-validation":M.ok,"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!C,"data-input-type":"autocomplete-"+(oe?"multi":"single"),className:[P,ts("Core")].join(" "),onFocus:nt=>{if(yt!=null&&yt.onFocus&&(yt==null||yt.onFocus(nt)),!a.disabled){if(b)return y(!1);w(!0),nt.preventDefault()}},onClick:nt=>{yt!=null&&yt.onClick&&(yt==null||yt.onClick(nt)),!a.disabled&&w(!0)},onKeyDown:nt=>{let{key:Ae}=nt;Ee&&Kt.SubmitForm(nt),!C&&(Ae==" "||Ae=="ArrowDown"||Ae=="ArrowUp"||Ae=="Enter")&&w(!0)},children:(0,ar.jsxs)(We.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,ar.jsx)(Zf.Selected,_({},r)),(0,ar.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,ar.jsx)(Zf.SearchInput,_({},r))]})}))})},SearchInput:r=>{let{rootStates:a}=r;return a.disabled||!r.val_selectorOpen?null:(0,ar.jsx)(E,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans","data-form":a.form,transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onKeyDown:o=>{let{key:l,metaKey:s,ctrlKey:d}=o,u=s||d;l=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let h=(0,ra.default)('[data-input-origin="'+a.componentID+'"]');h&&h.focus()},10)):l=="Tab"?r.set_selectorOpen(!1):l==" "?ra.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(o.preventDefault(),r.set_selectorOpen(!0))}):l=="Backspace"?ra.default.scope(()=>{if(r.val_keyword)return;let h=[...r.val_status.dataValue];h.pop(),r.set_status(p=>D(_({},p),{dataValue:h,eventType:"update",eventID:ra.default.uuid.gen()}))}):l=="Enter"&&ra.default.scope(()=>{if(!r.val_selectorOpen)return r.set_selectorOpen(!0);if(!r.val_optionFocused)return;let h=r.val_options.find(v=>v.value==r.val_optionFocused);if(!h)return;let{value:p}=h;r.set_status(v=>{let b=[...v.dataValue];return ra.default.scope(()=>{if(p===null)return b=[];v.dataValue.includes(p)?b=b.filter(y=>y!==p):a.multiSelect?b.push(p):b=[p]}),D(_({},v),{dataValue:b,eventType:"update",eventID:ra.default.uuid.gen()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),ra.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(l))return;if(o.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let h=l=="ArrowDown"?1:-1,p=Qf.FilterSelectableOptions(r),v=p.length-1,b=null;ra.default.scope(()=>{var y,C,w,k;if(h==1){if(b=((y=p[0])==null?void 0:y.value)||null,u){b=p[v].value||null;return}let B=p.findIndex(M=>M.value==r.val_optionFocused);if(B==-1)return;b=((C=p[B+1])==null?void 0:C.value)||b||null}else{if(b=p[v].value||null,u){b=((w=p[0])==null?void 0:w.value)||null;return}let B=p.findIndex(M=>M.value==r.val_optionFocused);if(B==-1)return;b=((k=p[B-1])==null?void 0:k.value)||b||null}}),r.set_optionFocused(b)}),a.enableFormSubmit&&Kt.SubmitForm(o)},onChange:o=>{let l=o.target.value;r.set_keyword(l)}},"searchInput")},Selector:r=>{let[a,o]=(0,Da.useState)(r),{rootStates:l}=a,[s,d]=(0,Da.useState)("idle"),[u,h]=(0,Da.useState)("idle");(0,Da.useEffect)(()=>{qe.set({["refresh-autocomplete-selector-"+l.componentID]:y=>{o(y)}})},[]),(0,Da.useEffect)(()=>{if(!a.val_selectorOpen||!l.DynamicOptionsOnSearch)return;if(a.val_preventDynamicSearchOnKeywordChange)return a.set_preventDynamicSearchOnKeywordChange(!1);if(s=="idle")return d("ok");h("fetch");let y="autocomplete-search-"+l.componentID;ra.default.interval.clear(y),ra.default.interval.standBy(y,300,()=>ea(void 0,null,function*(){let C=yield l.DynamicOptionsOnSearch(a.val_keyword);h("idle");let w=Qf.InitOptions(C||[]);a.set_options(w)}))},[a.val_keyword]);let p=[],v=Qf.FilterSelectableOptions(a,!0),b=Qf.FilterSelectableOptions(a);return v.forEach((y,C)=>{let{type:w,value:k}=y,B=a.val_optionFocused==k,M=a.val_status.dataValue.includes(k),X=l.SelectorComponent;p.push((0,ar.jsx)(X,{option:y,isFocused:B,isSelected:M,addCallback:()=>{a.set_status(F=>{let V=[...F.dataValue];return ra.default.scope(()=>{if(k===null)return V=[];F.dataValue.includes(k)?V=V.filter(H=>H!==k):l.multiSelect?V.push(k):V=[k]}),D(_({},F),{dataValue:V,eventType:"update",eventID:ra.default.uuid.gen()})})}},String(k)||ra.default.uuid.gen()))}),b.length||(p=[(0,ar.jsx)(Ke.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),u=="fetch"&&(p=[(0,ar.jsxs)(We.Left,{padding:1,fontColor:"3.blur",children:[(0,ar.jsx)(Qa.Theme.R,{showInitial:!0}),(0,ar.jsx)(Ke.Supplement,{children:"Loading..."})]},"loader")]),(0,ar.jsx)(Ft.Body,{className:ts("Selector"),ssCardBox:!0,borderRadius:"3.tone.tertiary",boxShadow:"1.normal",freeCSS:{minWidth:12*18},children:(0,ar.jsx)(pt,{gap:0,padding:[1,0],children:p})})},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,d=[];return o.dataValue.forEach(u=>{let h=s[String(u)];if(!h)return;let p=a.SelectedComponent,v=h.label;h.value===null&&(v=""),d.push((0,ar.jsx)(E,{className:ts("SelectedCell"),children:(0,ar.jsx)(p,{value:h.value,label:v,removeCallback:b=>{if(b.stopPropagation(),b.preventDefault(),a.disabled)return;let y=[...o.dataValue];y=y.filter(C=>C!==u),l(C=>D(_({},C),{dataValue:y,eventType:"update",eventID:ra.default.uuid.gen()}))}})},String(h.value)))}),(0,ar.jsx)(ar.Fragment,{children:d})},Core:r=>{let{value:a}=r,[o,l]=(0,Da.useState)(!1),[s,d]=(0,Da.useState)(!1),[u,h]=(0,Da.useState)(!1),[p,v]=(0,Da.useState)(""),[b,y]=(0,Da.useState)(r.options),[C,w]=(0,Da.useState)(r.value[0]||null),[k,B]=(0,Da.useState)({}),[M,X]=(0,Da.useState)(Kt.DefaultStatus(r.componentID,a)),[F,V]=(0,Da.useState)({ok:!1,notice:[]}),H=(0,Da.useRef)(!1);(0,Da.useEffect)(()=>{H.current?y(r.options):H.current=!0},[r.options]),(0,Da.useEffect)(()=>{if(!b.length)return;let Ee=[...b],te=_({},k);Ee.forEach(be=>{be.type!="label"&&(te[String(be.value)]=be)}),B(te)},[b]);let G={rootStates:r,val_options:b,set_options:y,val_optionFocused:C,set_optionFocused:w,val_optionsDict:k,set_optionsDict:B,val_preventDynamicSearchOnKeywordChange:s,set_preventDynamicSearchOnKeywordChange:d,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_selectorOpen:u,set_selectorOpen:h,val_keyword:p,set_keyword:v,val_status:M,set_status:X,val_validate:F,set_validate:V},P=!!r.multiSelect;Kt.CommonEffects({type:P?"autocomplete.multi":"autocomplete.single",states:r,val_status:M,set_status:X,val_validate:F,set_validate:V,SystemValidation:EG});let oe=M.dataValue.length&&M.dataValue[0]!==null;return oe=oe||u,(0,ar.jsxs)(Ha,{val_status:M,set_status:X,val_validate:F,states:r,children:[(0,ar.jsx)(vc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:oe}),(0,ar.jsx)(Zf.Shallow,_({},G)),(0,ar.jsx)(Zf.Button,_({},G))]})}},P_=r=>{let a=_({},r);return a=D(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:o,isSelected:l,isFocused:s,addCallback:d})=>o.type=="selector"?(0,ar.jsx)(re.Button.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:s,isActiveStyles:{backgroundColor:"cloud"},onClick:u=>{d()},children:(0,ar.jsxs)(We.Left,{gap:"1/2",children:[l&&(0,ar.jsx)(xe.Check,{fontColor:"theme"}),(0,ar.jsx)(Ke.Supplement,{transition:"short",children:o.label})]})}):(0,ar.jsx)(ar.Fragment,{children:o.label}),SelectedComponent:({value:o,label:l,removeCallback:s})=>(0,ar.jsxs)(We.Left,{ssCardBox:"cloud",backgroundColor:"layer.3",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,ar.jsx)(E,{padding:[0,"1/4"],children:l}),(0,ar.jsx)(re.Button.Sub.R,{color:"cloud",fontColor:"white",backgroundColor:"layer.6",isRounded:!0,padding:"1/4",onClick:s,children:(0,ar.jsx)(xe.Times,{ssSphere:1})})]})},a),{freeCSS:_({cursor:"pointer"},a.freeCSS)}),a.multiSelect||(a.min=1,a.max=1),a.options=a.options||[],a.emptySelect&&(a.options=[{value:null,label:(0,ar.jsx)(Ke.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...a.options]),a.value=ra.default.flatArray(a.value||null),a.options=Qf.InitOptions(a.options),ra.default.is.nullish(a.rightIcon)&&(a.rightIcon=(0,ar.jsx)(ja,{ssSphere:2,children:(0,ar.jsx)(xe.Search,{})}),a.disabled&&(a.rightIcon=(0,ar.jsx)(ja,{ssSphere:2,fontColor:"5.translucent",children:(0,ar.jsx)(xe.Ban,{})}))),a.rightIcon&&(a=_({paddingRight:3},a)),a.leftIcon&&(a=_({paddingLeft:3},a)),(0,ar.jsx)(Ra,{componentID:a.componentID,children:Zf.Core,states:Yn(a)})};var wd=K(Ot());var DO=r=>(0,wd.jsx)(P_,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wd.jsx)(wd.Fragment,{children:o}),rightIcon:(0,wd.jsx)(ja,{ssSphere:2,children:(0,wd.jsx)(xe.AngleDown,{})})},r));var Cr=K(Ot()),Cd=K(pr()),_c=K(dr());var No=K(Ot()),LO=K(pr()),gc=K(dr());var Su=K(pr());var $n={add:function(r){let a=qe.get("Snackbar-"+st.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=qe.get("Snackbar-"+st.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,No.jsx)(AO.Wrapper,{})},AO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=gc.default.uuid.gen(),children:d,customChildren:u}=a,h=Qe(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Su.useState)(s),[v,b]=(0,Su.useState)(r.secondsToClose||10);(0,Su.useEffect)(()=>{let C=Tt('[data-component-id="'+p+'"]');setTimeout(()=>{C.addClass(sm("FadeIn"))},10),qe.set({["Snackbar-"+o]:{remove:()=>{C.addClass(sm("FadeOut"))}}})},[]),(0,Su.useEffect)(()=>{gc.default.interval.clear("Snackbar-"+p),gc.default.interval.standBy("Snackbar-"+p,1e3,()=>{v<=0||b(v-1)}),v===0&&$n.remove(o)},[v]);let y=(0,No.jsx)(No.Fragment,{});return u?y=(0,No.jsx)(u,{close:()=>{$n.remove(o)}}):y=(0,No.jsxs)(We.Separate,{verticalAlign:"top",children:[(0,No.jsx)(E,{padding:["1/4",0],flexSizing:0,children:gc.default.is.function(d)?(0,No.jsx)(d,{}):d}),(0,No.jsx)(re.Button.Clear.R,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{$n.remove(o)},children:(0,No.jsx)(xe.Times,{})})]}),(0,No.jsx)(E,D(_({className:sm("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:y}))},Wrapper:()=>{let[r,a]=(0,Su.useState)(gc.default.uuid.gen()),[o,l]=(0,Su.useState)([]);(0,Su.useEffect)(()=>{qe.set({["Snackbar-"+st.get().sessionUID]:{add:d=>{d.snackID=d.snackID||gc.default.uuid.gen();let u=o.findIndex(h=>h.snackID==d.snackID);if(u==-1)o.unshift(D(_({},d),{snackID:d.snackID}));else{let h=[...o];h[u]=D(_({},d),{snackID:d.snackID}),o=h}a(gc.default.uuid.gen())},remove:d=>{let u=qe.get("Snackbar-"+d);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(v=>v.snackID==d);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))}}})},[o.length]);let s=o.map(d=>(0,LO.createElement)(AO.Cell,D(_({},d),{key:d.snackID})));return(0,No.jsx)(_t,{className:["AMOTIFY_be",sm("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 zO=K(FO());function RG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var jO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-o.dataValue.length,d=o.dataValue.map((u,h)=>(0,Cr.jsx)(jO.ListCell,D(_({},r),{index:h,val_file:u}),u.name));return s>0&&d.push((0,Cr.jsx)(E,D(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,es("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)&&Tt("#"+a.id).click()},children:(0,Cr.jsxs)(We.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(E,{isRounded:!0,className:es("AddIcon"),children:(0,Cr.jsx)(xe,{icon:zO.faCloudArrowUp,className:es("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(E,{children:[(0,Cr.jsxs)(E,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Cr.jsx)(E,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(pt,D(_({flexSizing:"auto"},Ll(a)),{className:a.className,children:d}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:d}=r,{name:u,size:h,type:p}=l,[v,b]=(0,Cd.useState)(!1),y=_c.default.uuid.gen(),C=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),B="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?B=p.replace(/image\//,""):p.match(/pdf/)?B="PDF":p.match(/csv/)?B="CSV":p.match(/spreadsheet/)?B="SpreadSheet":p.match(/presentation/)?B="PowerPoint":p.match(/word/)?B="Word":p.match(/zip/)?B="Zip":p.match(/powerpoint/)?B="PowerPoint":p.match(/html/)?B="HTML":p.match(/js/)?B="JavaScript":p.match(/css/)?B="CSS":p.match(/text\/plain/)&&(B="\u30C6\u30AD\u30B9\u30C8"),(0,Cd.useEffect)(()=>{v&&setTimeout(()=>{Tt("#"+y).focus()},100)},[v]),(0,Cr.jsxs)(_t,D(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(xe.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(E,{flexSizing:0,children:[(0,Cr.jsx)(E,{children:(0,Cr.jsx)(_t,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:es("FileName"),children:v?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(pt,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(_t,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(hn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:y,form:"form-"+y,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:X}=M;X=="Escape"&&b(!1)}}),(0,Cr.jsxs)(E,{children:[". ",k]})]}),(0,Cr.jsxs)(_t,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(re.Button.Sub.R,{padding:["2/3",1],onClick:()=>{b(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(re.Button.Prime.R,{padding:["2/3",1],submitOption:{formName:"form-"+y,callback:M=>ea(void 0,null,function*(){let{name:X}=M,F=[...s.dataValue],V=F[a],H=V.id;if(!V)return;let{target:G}=yield V.convert();if(!G)return;let P=yield String(G.result).toBlob(l.type);if(!P)return;let oe=new File([P],X+"."+k,{type:V.type});oe.id=H,F[a]=oe,d(Ee=>D(_({},Ee),{dataValue:F,eventType:"update",eventID:_c.default.uuid.gen()})),b(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(re.Button.Clear.R,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{b(!0)},children:(0,Cr.jsx)(xe.Pen,{})})]})})}),!v&&(0,Cr.jsxs)(E,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[B,"\u30D5\u30A1\u30A4\u30EB / ",C,"B"]})]}),(0,Cr.jsx)(re.Button.Sub.R,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),d(X=>D(_({},X),{dataValue:M,eventType:"update",eventID:_c.default.uuid.gen()})))},children:(0,Cr.jsx)(xe.Times,{})})]}))}},DG=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:d,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:v,onChange:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,value:k=[],className:B,cellStyles:M,cellClassName:X,componentID:F,status_id:V,enableFormSubmit:H,freeCSS:G,wrapStyles:P}=a,oe=Qe(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[Ee,te]=(0,Cd.useState)(Kt.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,Cd.useState)({ok:!1,notice:[]}),fe={rootStates:r,val_status:Ee,set_status:te};(0,Cd.useEffect)(()=>{qe.set({["AddFiles-"+Ee.componentID]:ae=>{te(me=>{let z=me.dataValue,ne=[];for(var pe=0;pe<(ae==null?void 0:ae.length);pe++){let Se=ae[pe],{type:ce,name:we}=Se;if(pe+1+z.length>p){$n.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"&&!ce.match(/image/)){$n.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}ne.push(Se)}return D(_({},me),{dataValue:[...z,...ne],eventType:"update",eventID:_c.default.uuid.gen()})})}})},[]),Kt.CommonEffects({type:"file",states:r,val_status:Ee,set_status:te,val_validate:be,set_validate:ye,SystemValidation:RG});let I="";return h&&(h=="image"?I="image/png,image/jpeg":I=h),(0,Cr.jsxs)(Ha,{val_status:Ee,set_status:te,val_validate:be,states:r,children:[(0,Cr.jsx)(E,D(_({htmlTag:"input",type:"file",className:es("Input"),"data-form":s,"data-input-type":"file","data-component-id":Ee.componentID,"data-validation":be.ok,accept:I,multiple:p!=1,onChange:ae=>ea(void 0,null,function*(){b&&b(ae);let me=ae.target,z=me.files,ne=[];for(var pe=0;pe<(z==null?void 0:z.length);pe++){let Se=z[pe],ce=Se.name;if(Se.id=_c.default.uuid.gen(),pe+1+Ee.dataValue.length>p){$n.add({componentID:ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}ne.push(Se)}te(Se=>D(_({},Se),{dataValue:[...Se.dataValue,...ne],eventType:"update",eventID:_c.default.uuid.gen()})),me.value=""})},oe),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(jO.List,_({},fe))]})},Cw=r=>(r=D(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border"},r),{override:"force",cellStyles:_(_({},Yn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Ra,{componentID:r.componentID,children:DG,states:r}));Cw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=d=>{l(d.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,_c.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),Tt("."+es("AddButton")).addClass(es("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),Tt("."+es("AddButton")).removeClass(es("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(Tt(o).hasClass(es("AddButton"))){let{componentId:l}=o.dataset,s=qe.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var bo=K(Ot()),ym=K(pr()),wu=K(dr());function LG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var UO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:d}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/d),{stepValue:u*d,stepIndex:u,positionLeft:u*d/s*100+"%"}},HO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:d}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),v=p-h+1;for(var b=h;b<=p;b++){let y=b*s;y=Math.max(y,o),y=Math.min(y,l);let C=y/l*100+"%";u.push((0,bo.jsx)(E,{className:Ds("Label"),id:"Legend-"+a+"-"+b,display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:C,whiteSpace:"nowrap",textAlign:"center"},children:d?d(y):y.rank()},y))}return(0,ym.useEffect)(()=>{let y=()=>{let C=Tt("#Labels-"+a),{width:w}=C.position(),k=Math.round(w/50)-1,B=Math.round(v/k);for(let M=h+1;M<p;M++)Tt("#Legend-"+a+"-"+M).css({display:M%B==0?"flex":"none"})};return(0,wu.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{y()}}),y(),()=>{(0,wu.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,bo.jsx)(_t,{className:Ds("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,bo.jsx)(E,{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:d}=r,{componentID:u}=a;return(0,bo.jsxs)(_t,{className:Ds("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onMouseDown:h=>{r.rootStates.disabled||(h.stopPropagation(),xd.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},onTouchStart:h=>{r.rootStates.disabled||(h.stopPropagation(),xd.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,bo.jsx)(E,{className:Ds("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,bo.jsx)(E,{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,bo.jsx)(E,{className:Ds("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,bo.jsx)(re.Button.Plain,{className:Ds("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},"data-form-name":s,id:u+"_Ball",onKeyDown:h=>{xd.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),d&&Kt.SubmitForm(h)}})})]})}},xd={Effects:{Start:(r,a)=>{(0,wu.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{xd.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{xd.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{xd.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{xd.Effects.End()}})},Move:(r,a)=>{let o=wu.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:u,max:h}=l,p=Tt("#"+d+"_Ball"),v=Tt("#"+d+"_Bar"),b=Tt("#"+d+"_BarColor"),{width:y,left:C}=v.position(),w=(o-C)/y;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,B=UO({value:k,val_status:l}),M=B.positionLeft,X=B.stepValue;return p.css({left:M}),b.css({width:M}),s(F=>{let V=F.dataValue;return X==V?F:D(_({},F),{dataValue:X,eventType:"update",eventID:wu.default.uuid.gen()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,wu.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:d,step:u}=o,{key:h,metaKey:p,ctrlKey:v}=a,b=v||p,y=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?y=s:y-=u:h.match(/Right|Down/)&&(b?y=d:y+=u),y=Math.max(Math.min(y,d),s),l(C=>D(_({},C),{dataValue:y,eventType:"update",eventID:wu.default.uuid.gen()})))}},AG=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:d=!0,custom:u,showAlways:h=!1}={},min:p,max:v,step:b,enableFormSubmit:y,checkValidationAtFirst:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:B,value:M="",className:X,freeCSS:F,wrapStyles:V}=a,H=Qe(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[G,P]=(0,ym.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:v,step:b,eventType:"init",eventID:wu.default.uuid.gen()}),[oe,Ee]=(0,ym.useState)({ok:!1,notice:[]});Kt.CommonEffects({type:"slider",states:r,val_status:G,set_status:P,val_validate:oe,set_validate:Ee,SystemValidation:LG});let te=UO({value:G.dataValue,val_status:G});return(0,bo.jsx)(Ha,{val_status:G,set_status:P,val_validate:oe,states:r,children:(0,bo.jsxs)(pt,{gap:"1/2",flexSizing:"auto",className:[Ds("Wrap"),X,Ds("ShowLegendsAlways_"+h)].join(" "),children:[(0,bo.jsx)(HO.Rail,{rootStates:r,color:o,val_status:G,set_status:P,DotData:te,form:s,enableFormSubmit:y}),!!d&&(0,bo.jsx)(HO.IndicatorLabels,{componentID:G.componentID,min:p,max:v,step:b,customLegends:u})]})})},VO=r=>{let a=_({},r);return(0,bo.jsx)(Ra,{componentID:r.componentID,children:AG,states:Do(a)})};var ls=K(Ot()),xw=K(pr()),Tw=K(dr());function BG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var NG=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:d,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:v,onKeyDown:b,onValidate:y,onUpdateValue:C,onUpdateValidValue:w,value:k="",icon:B="",appearance:M="material"}=a,X=Qe(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","icon","appearance"]),[F,V]=(0,xw.useState)({componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:Tw.default.uuid.gen()}),[H,G]=(0,xw.useState)({ok:!1,notice:[]}),P=!!F.dataValue;return Kt.CommonEffects({type:"switch",states:r,val_status:F,set_status:V,val_validate:H,set_validate:G,SystemValidation:BG}),(0,ls.jsxs)(Ha,{val_status:F,set_status:V,val_validate:H,states:r,children:[(0,ls.jsx)(E,_({htmlTag:"input",type:"checkbox","data-form":d,"data-input-type":"switch","data-validation":H.ok,"data-component-id":F.componentID,"data-value":F.dataValue,checked:F.dataValue,className:cd("Input"),id:u,onKeyDown:oe=>{b&&b(oe),h&&Kt.SubmitForm(oe)},onChange:oe=>{let{checked:Ee}=oe.target;H.ok&&G({ok:!1,notice:[]}),V(te=>D(_({},te),{dataValue:Ee,eventType:"update",eventID:Tw.default.uuid.gen()})),v&&v(oe)}},X)),(0,ls.jsx)(re.Label.Plain,{tabIndex:-1,htmlFor:u,padding:"1/3",transition:"middle",borderRadius:"1.tone.primary",className:cd("Label"),children:(0,ls.jsx)(E,D(_({},M=="applely"?{padding:"1/4",isRounded:!0,backgroundColor:P?l:"layer.5"}:{}),{children:(0,ls.jsxs)(We.Center,{unitHeight:2.5,position:"relative",freeCSS:{width:12*4.5},children:[M=="material"&&(0,ls.jsx)(E,{position:"absolute",backgroundColor:P?l:"layer.5",isRounded:!0,unitHeight:1,transition:"middle",width:1,opacity:"middle",className:cd("Bar")}),(0,ls.jsx)(E,{position:"absolute",top:0,left:0,backgroundColor:M=="material"&&P?l:"white",transition:"middle",ssSphere:2.5,boxShadow:"1.remark",className:cd("Dot"),children:B&&(0,ls.jsx)(E,{transition:"middle",ssSquare:2,flexCenter:!0,fontColor:M=="applely"&&P?l:"white",children:B})})]})}))})]})},WO=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,ls.jsx)(Ra,{componentID:a.componentID,children:NG,states:a})};var YO=K(Ot());var $O=r=>(r=_({},r),(0,YO.jsx)(O_,D(_({},r),{isChecker:!0,icon:!0,value:!!r.value,options:[{value:!0,label:r.label}]})));var Cu=K(Ot()),GO=K(dr()),M_=K(pr());var OG=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:d,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:v,cellStyles:b,cellClassName:y,cellCheckedClassName:C,cellCheckedStyles:w,freeCSS:k,wrapStyles:B}=a,M=Qe(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[X]=(0,M_.useState)(GO.default.uuid.gen()),[F,V]=(0,M_.useState)(s),[H,G]=(0,M_.useState)(F);return F!=s&&(V(s),G(s)),(0,Cu.jsx)(vd,D(_({options:d,value:H,componentID:X,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},k),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},b),cellCheckedStyles:_({},w),cellClassName:[y,b_("Label"),b_("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[C,b_("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:P=>{h&&h(P),o=="bottomline"&&G(P.value)}}))},F_=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=D(_({padding:"1/3",gap:"1/3",ssCardBox:!0,isRounded:!0},r),{cellStyles:_({isRounded:!0,padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Cu.jsx)(OG,_({__sys_segmented_type:"plain"},r))},ss=F_;ss.Cloud=r=>{let a=D(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))},ss.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Cu.jsx)(ss.Cloud,_({},a))},ss.CloudMono=r=>{let a=D(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Cu.jsx)(ss.Cloud,_({},a))},ss.Border=r=>{let a=D(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))},ss.BorderVivid=r=>{let a=D(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Cu.jsx)(ss.Border,_({},a))},ss.Bottomline=r=>{let a=D(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Cu.jsx)(F_,_({},a))};var z_=K(Ot()),kw=K(pr()),qO=K(dr());function IG(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var PG=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:d,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:v,onUpdateValue:b,onUpdateValidValue:y,value:C=""}=a,w=Qe(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,B]=(0,kw.useState)(Kt.DefaultStatus(r.componentID||"",C)),[M,X]=(0,kw.useState)({ok:!1,notice:[]});return Kt.CommonEffects({type:"color",states:r,val_status:k,set_status:B,val_validate:M,set_validate:X,SystemValidation:IG}),(0,z_.jsx)(Ha,{val_status:k,set_status:B,val_validate:M,states:r,children:(0,z_.jsx)(E,_({htmlTag:"input",type:"color","data-form":s,"data-input-type":"color","data-validation":M.ok,"data-component-id":k.componentID,"data-value":k.dataValue,value:k.dataValue,className:cd("Input"),onKeyDown:F=>{p&&p(F),d&&Kt.SubmitForm(F)},onChange:F=>{let{value:V}=F.target;M.ok&&X({ok:!1,notice:[]}),B(H=>D(_({},H),{dataValue:V,eventType:"update",eventID:qO.default.uuid.gen()})),h&&h(F)}},w))})},KO=r=>{let a=D(_(D(_({},Yn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,z_.jsx)(Ra,{componentID:r.componentID,children:PG,states:a})};var XO=K(dr());var JO=r=>ea(void 0,null,function*(){let a=1,o={};return yield XO.default.scope(()=>ea(void 0,null,function*(){if(qe.get("form-process-"+r))return;qe.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();let s=qe.get("form-data-"+r);if(!s){qe.set({["form-process-"+r]:!1});return}for(let[d,u]of Object.entries(s)){let{componentID:h,type:p,value:v,validation:b}=u,y=qe.get(h);y&&y.Refresh&&(yield y.Refresh()),a&=Number(b),o[d]=v}qe.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var ot;(r=>(r.Plain=VN,r.Hidden=GN,r.TextField=hn,r.Contenteditable=aO,r.DigitCharacters=oO,r.Time=Bs,r.Select=is,r.Autocomplete=P_,r.List=SO,r.Radio=vd,r.Checkbox=O_,r.Checker=$O,r.Search=DO,r.Filer=Cw,r.Slider=VO,r.Switch=WO,r.Segmented=ss,r.Color=KO,r.LeftIcon=Gf,r.RightIcon=ja,r.LeftIndicator=E_,r.RightIndicator=R_,r.RequiredSign=x_,r.RequiredShortSign=T_,r.OmitSign=k_,r.CollectForm=JO))(ot||(ot={}));var H_=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:d}=a,u=Qe(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,QO.useEffect)(()=>{d&&d()},[]),(0,j_.jsx)(_t,D(_({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,j_.jsx)(E,{margin:[0,"auto"],children:(0,j_.jsx)(ot.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var bc=K(Ot());var Gr={Table:r=>(0,bc.jsx)(E,D(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,bc.jsx)(E,_({htmlTag:"thead"},r)),Body:r=>(0,bc.jsx)(E,_({htmlTag:"tbody"},r)),Row:r=>(0,bc.jsx)(E,_({htmlTag:"tr"},r)),TH:r=>(0,bc.jsx)(E,_({htmlTag:"th"},r)),TD:r=>(0,bc.jsx)(E,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,bc.jsx)(xe.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(Ot());var Ew=K(Ot()),e7=K(dr());var ZO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},ll=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 ep=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=D(_({tableID:a.tableID||e7.default.uuid.gen(),tone:a.tone},a),{cellStyles:_(_({},ZO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=Do(l),{className:d,style:u}=s,h=Qe(s,["className","style"]),p=[d,er("Wrap"),er("TableType_"+a.type),er("RowClickable_"+!!l.onRowClick)].join(" ");return(0,Ew.jsx)(E,{className:p,style:u,children:(0,Ew.jsx)(o,_({},h))})};var Rw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:u}=r;if(!d)return null;let h=[];return d.forEach((p,v)=>{let b=Gr[p.type=="th"?"TH":"TD"],y={top:!0,bottom:!u.length,left:v==0,right:v==s-1,rowIndex:0,colIndex:v,isBody:!1,isHeader:!0},C=ll(y),w=l?l(y):{},k=D(_(_(_(_({},a),C),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[er("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(b,_({},k),v))}),(0,Oo.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:u,onRowClick:h}=r,p=[];return d.forEach((v,b)=>{let y=[];v.forEach((C,w)=>{let k=Gr[C.type=="th"?"TH":"TD"],B={top:b==0&&!s,bottom:b==d.length-1,left:w==0,right:w==u-1,rowIndex:b,colIndex:w,isBody:!0,isHeader:!1},M=ll(B),X=l?l(B):{};y.push((0,Oo.jsx)(k,D(_(_(_(_({},a),M),C),X),{freeCSS:_(_(_({},a.freeCSS),X.freeCSS),C.freeCSS),className:[er("Cell"),o,C.className].join(" ")}),w))}),p.push((0,Oo.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow")].join(" "),children:y,onClick:C=>{h&&h(v.rowID,C)}},b))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)(Gr.Table,{className:er("Table"),children:(0,Oo.jsxs)(Gr.Body,{children:[(0,Oo.jsx)(Rw.HeadRow,_({},r)),(0,Oo.jsx)(Rw.BodyRows,_({},r))]})}))},t7=r=>(0,Oo.jsx)(ep,D(_({type:"normal"},r),{JSXChildren:Rw.Normal}));var Ca=K(Ot()),ap=K(pr()),tp=K(dr());var Lw=K(s7());var Aw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:d,rows:u}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let v=d[p],b=Gr[v.type=="th"?"TH":"TD"],y={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},C=ll(y),w=l?l(y):{};h.push((0,Ca.jsx)(b,D(_(_(_(_({},a),C),v),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),v.freeCSS),className:[er("Cell"),o,v.className].join(" ")}),p))}return(0,Ca.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:d,colLength:u,onOrderChanged:h}=r,[p]=(0,ap.useState)(tp.default.uuid.gen()),[v,b]=(0,ap.useState)({rows:d,origin:0,to:NaN}),y=[];if(v.rows.forEach((C,w)=>{let k=[];{let B={top:w==0&&!s,bottom:w==d.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=ll(B),X=l?l(B):{};k.push((0,Ca.jsx)(Gr.TH,D(_(_(_({padding:0,borderRight:!0},a),M),X),{freeCSS:_(_({},a.freeCSS),X.freeCSS),className:[er("Cell"),er("Draggable"),o].join(" "),children:(0,Ca.jsx)(re.Button.Clear.R,{className:er("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onMouseDown:F=>{rp.Start(F,{id:p,index:w,rows:v.rows,maxLength:d.length})},onTouchStart:F=>{rp.Start(F,{id:p,index:w,rows:v.rows,maxLength:d.length})},children:(0,Ca.jsx)(xe,{icon:Lw.faGripVertical})})}),"DragOrigin"))}C.forEach((B,M)=>{B=_({},B);let X=Gr[B.type=="th"?"TH":"TD"],F={top:!!s&&!s.length,bottom:w==d.length-1,left:!1,right:M==u-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},V=ll(F),H=l?l(F):{};k.push((0,Ca.jsx)(X,D(_(_(_(_({},a),V),B),H),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),B.freeCSS),className:[er("Cell"),o,B.className].join(" ")}),M))}),y.push((0,Ca.jsx)(Gr.Row,{id:"TableRow-"+p+"-"+w,className:[er("Row"),er("BodyRow")].join(" "),children:k},w))}),!isNaN(v.to)){let{origin:C,to:w}=v,k=[];k.push((0,Ca.jsx)(Gr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[er("Cell"),er("Draggable"),o].join(" "),children:(0,Ca.jsx)(xe.ArrowRight,{fontColor:"theme"})},"dragButton")),v.rows[C].forEach((B,M)=>{B=_({},B);let X=Gr[B.type=="th"?"TH":"TD"],F={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},V=ll(F),H=l?l(F):{};k.push((0,Ca.jsx)(X,D(_(_(D(_({className:[er("Cell"),o,B.className].join(" ")},V),{backgroundColor:"theme.opa.low"}),H),B),{freeCSS:_(_(_({},a.freeCSS),H.freeCSS),B.freeCSS)})))}),y.splice(w,0,(0,Ca.jsx)(Gr.Row,{className:[er("Row"),er("Pre")].join(" "),children:k},"preSet"))}return(0,ap.useEffect)(()=>{qe.set({[p]:{swap:(C,w)=>{if(w||w==0){let k=v.rows[C],B=[...v.rows];B.splice(C,1),B.splice(w-(C<w?1:0),0,k),b({rows:B,origin:0,to:NaN}),h(B.map(M=>JSON.parse(M.rowID)))}},preSet:C=>{let{origin:w,index:k}=C;b({rows:v.rows,origin:w,to:k})}}})}),(0,ap.useEffect)(()=>()=>{qe.delete(p)},[]),(0,Ca.jsx)(Ca.Fragment,{children:y})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ca.jsx)(re.Button.Clear.R,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{zr.open({parent:a.currentTarget,content:(0,Ca.jsxs)(zr.Body,{children:[(0,Ca.jsx)(xe,{icon:Lw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ca.jsx)(xe.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=JSON.stringify(a.rowID||o),a)),(0,Ca.jsx)(Gr.Table,{className:er("Table"),children:(0,Ca.jsxs)(Gr.Body,{children:[(0,Ca.jsx)(Aw.HeadRow,_({},r)),(0,Ca.jsx)(Aw.BodyRows,_({},r))]})}))},u7=r=>(0,Ca.jsx)(ep,D(_({type:"drag"},r),{JSXChildren:Aw.Drag})),rp={Start:function(r,a){return ea(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:d}=a;Tt("#TableRow-"+o+"-"+l).addClass(er("DraggerOrigin")),(0,tp.default)(document).addEvent({eventID:"DragMouseMove",eventType:"mousemove",callback:u=>{rp.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{rp.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"mouseup",callback:u=>{rp.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{rp.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=tp.default.getCursor(r).y-tp.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let u=Tt("#TableRow-"+o+"-"+d),{top:h,bottom:p,height:v}=u.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:u}=a,h=qe.get(o);h&&h.preSet&&h.preSet({origin:d,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,d=qe.get(o);d&&d.swap&&d.swap(l,s),Tt("#TableRow-"+o+"-"+l).removeClass(er("DraggerOrigin")),(0,tp.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Bt=K(Ot()),np=K(pr()),xu=K(dr());var g7=K(pS()),_7=K(mS()),b7=K(dS()),y7=K(v7());var Tu={__memoryID:xu.default.uuid.gen(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:d}=_({},r),{order:u,filter:h}=l,[p,v]=u.current,b=[],y=[...l.head];if(l.checker){let C={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=ll(C),k=l.cellStylesCallback?l.cellStylesCallback(C):{};b.push((0,Bt.jsx)(Gr.TH,D(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:D(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[er("Cell"),l.cellClassName].join(" "),children:(0,Bt.jsx)(E,{flexCenter:!0,children:(0,Bt.jsx)(ot.Checker,{label:null,value:!1,onUpdateValidValue:({value:B})=>{let M=l.rows;M.forEach(X=>{X.checked=B}),s(D(_({},l),{rows:M}))}})})}),-1))}for(let C=0;C<l.colLength;C++){let w=y[C];if(!w)continue;let k=w.children||w.data,B=u.enabled&&u.column[C],M=h.enabled&&h.column[C],X=B?(0,Bt.jsx)(xe,{fontSize:"1.mini",fontColor:C==p?"1.clear":"5.translucent",icon:C==p?v=="DESC"?_7.faArrowDown:g7.faArrowUp:b7.faArrowRight}):null,F=(0,Bt.jsx)(Bt.Fragment,{});if(M){let P=d.map(Ee=>{var te;return(te=Ee[C])==null?void 0:te.data});P=[...new Set(P)].order({direction:"ASC"});let oe=h.current[C];if(oe){let Ee=P.filter(I=>!oe.includes(I)),te=[];P.forEach(I=>{I&&te.push({value:I,label:(0,Bt.jsx)(E,{flexSizing:"auto",children:I})})});let be="BUTTON-"+l.componentID+"-"+C,ye=l.componentID+"-"+C,fe={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Bt.jsxs)(_t,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Bt.jsx)(pt,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Bt.jsx)(ot.Checkbox,{icon:!0,value:Ee,display:"flex",gap:"1/2",override:"force",options:te,hideInput:!0,name:"DTFilter-col-"+C+"-table-"+l.componentID,onUpdateValidValue:({value:I})=>{let ae=P.filter(z=>!I.includes(z)),me=_({},l);me.filter.current[C]=ae,s(me)}})}),(0,Bt.jsxs)(We.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Bt.jsx)(re.Button.Border.S,{isRounded:!0,onClick:()=>{Ft.close(ye)},children:"\u9589\u3058\u308B"}),(0,Bt.jsx)(re.Button.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let I=[];oe.length||(I=P);let ae=_({},l);ae.filter.current[C]=I,s(ae)},children:"\u5168\u9078\u629E"})]})]})};Ft.refresh(fe,!0),F=(0,Bt.jsx)(E,{className:er("FilterRegion"),children:(0,Bt.jsx)(re.Button.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:er("Filtering_"+!!oe.length),id:be,onClick:I=>{I.stopPropagation(),Ft.open(fe)},children:(0,Bt.jsx)(xe,{icon:y7.faFilter})})})}}let V={top:!0,bottom:!l.rows.length,left:l.checker?!1:C==0,right:C==l.colLength-1,rowIndex:0,colIndex:C,isBody:!1,isHeader:!0},H=ll(V),G=l.cellStylesCallback?l.cellStylesCallback(V):{};w=D(_(_(_(_({},l.cellStyles),H),w),G),{ssPushable:B,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),G.freeCSS),w.freeCSS),className:[er("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,b.push((0,Bt.jsx)(Gr.TH,D(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:P=>{if(B){let oe=_({},l),Ee=[C,p===C&&v=="ASC"?"DESC":"ASC"];oe.order.current=Ee,s(oe),l.onOrderChanged&&l.onOrderChanged(Ee)}},children:(0,Bt.jsxs)(_t,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[F,(0,Bt.jsxs)(_t,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[X,k]})]})}),C))}return(0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,d)=>{var u;let h=[...s],p=[];if(a.checker){let v={top:d==0&&!a.head,bottom:d==o.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1},b=ll(v),y=a.cellStylesCallback?a.cellStylesCallback(v):{};p.push((0,Bt.jsx)(Gr.TH,D(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),b),y),{freeCSS:_(_({},(u=a.cellStyles)==null?void 0:u.freeCSS),y.freeCSS),className:[er("Cell"),a.cellClassName].join(" "),children:(0,Bt.jsx)(E,{flexCenter:!0,children:(0,Bt.jsx)(ot.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:C})=>{let w=a.rows,k=w.findIndex(B=>B.rowID==s.rowID);k!=-1&&(w[k].checked=C,r.set_status(B=>D(_({},B),{rows:w})))}})})}),-1))}h.forEach((v,b)=>{var y;if(!v)return;let C=v,{type:w="td"}=C,k=Qe(C,["type"]),B={top:d==0&&!a.head,bottom:d==o.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1},M=ll(B),X=a.cellStylesCallback?a.cellStylesCallback(B):{};k=D(_(_(_(_({},a.cellStyles),M),k),X),{freeCSS:_(_(_({},(y=a.cellStyles)==null?void 0:y.freeCSS),k.freeCSS),X.freeCSS),className:[er("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let F=Gr[w=="td"?"TD":"TH"];p.push((0,Bt.jsx)(F,_({},k),b))}),l.push((0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow")].join(" "),children:p,onClick:v=>{a.onRowClick&&a.onRowClick(JSON.parse(s.rowID),v)}},d))}),!o.length){let s=(0,Bt.jsx)(E,{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,Bt.jsx)(Bt.Fragment,{children:a.noRecords})),l.push((0,Bt.jsx)(Gr.Row,{className:[er("Row"),er("BodyRow"),er("DataNotFound")].join(" "),children:(0,Bt.jsx)(Gr.TD,{colSpan:a.colLength,className:er("Cell"),children:s})},"dataNotFound"))}return(0,Bt.jsx)(Bt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:d,paging:u}=a,h=[...a.rows],p=[...a.rows],v=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),v=[...p],b=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],B=s.current[w];k&&B&&B.length&&(v=v.filter(M=>!B.includes(M[w].data)),b=[...v])}d.enabled&&(v=v.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]}),b=[...v]);{let{currentPageIndex:w,rowLength:k}=u;b=[...b].splice((w-1)*k,k)}let y=Tu.__memoryID+"_"+a.tableID,C={rows:{total:h.length,page:b.length,filtered:v.length},val_status:D(_({},a),{paging:D(_({},a.paging),{pageLength:Math.ceil(v.length/a.paging.rowLength)})}),set_status:o};return qe.update({[y]:{getRowData:()=>{let w=[...h];return d.enabled&&(w=w.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]})),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),b.forEach(k=>{let{rowID:B}=k;w.find(M=>M.rowID==B).currentPage=!0}),v.forEach(k=>{let{rowID:B}=k;w.find(M=>M.rowID==B).filtered=!0}),w}}}),(0,np.useEffect)(()=>{Tl.release(a.tableID,C)}),(0,Bt.jsx)(E,{className:er("TableBase"),children:(0,Bt.jsx)(Gr.Table,{className:er("Table"),children:(0,Bt.jsxs)(Gr.Body,{children:[(0,Bt.jsx)(Tu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Bt.jsx)(Tu.Body,{val_status:a,set_status:o,PageRows:b})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return xu.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return xu.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=JSON.stringify(l.rowID||s);let d=[];l.forEach((u,h)=>{let{data:p,children:v,orderIndex:b}=u;u.orderIndex=xu.default.is.exist(b)?String(b):String(p),u.children=v||String(p),d.push(String(u.data))}),l.__sys4SearchKey=d.join("/")}),(0,Bt.jsx)(Tu.StateManager,_({eventID:xu.default.uuid.gen()},r))},StateManager:r=>{let{colLength:a,eventID:o,checker:l=!1,searchKeyword:s="",filter:d,order:u,defaultOrder:h=[0,"ASC"],pageRowLength:p=30}=r,[v]=(0,np.useState)(xu.default.uuid.gen()),b={tableID:r.tableID||v,componentID:v,colLength:a,checker:l,searchKeyword:s,filter:{enabled:d!==!1,column:d,current:Array.from({length:a},()=>[])},order:{enabled:u!==!1,column:u,current:h},paging:{rowLength:p,pageLength:Math.ceil(r.rows.length/p),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},[y,C]=(0,np.useState)(b),[w,k]=(0,np.useState)(r.eventID);return w!=r.eventID&&(k(r.eventID),C(b)),(0,Bt.jsx)(Tu.Core,{val_status:y,set_status:C})}},MG={__memoryID:Tu.__memoryID,getRowData:r=>{let a=qe.get(Tu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},U_={SearchInput:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Bt.jsx)(ot.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Bt.jsx)(ot.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Bt.jsx)(xe.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value:s})=>{r.onChange(s),xu.default.interval.clear("InputSearchTime"),xu.default.interval.standBy("InputSearchTime",200,()=>{l(d=>D(_({},d),{paging:D(_({},d.paging),{currentPageIndex:1}),filter:D(_({},d.filter),{current:Array.from({length:d.colLength},()=>[])}),searchKeyword:s}))})}})},Info:r=>{let a=Tl.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,Bt.jsxs)(_t,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Bt.jsx)(Sn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=Tl.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 d=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(v=>D(_({},v),{paging:D(_({},v.paging),{currentPageIndex:h})}))};return(0,Bt.jsxs)(We.Center,{children:[(0,Bt.jsxs)(We.Center,{gap:"1/2",children:[(0,Bt.jsx)(ot.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,SelectorGravityPoint:24,onUpdateValidValue:({value:u})=>{d(u)}}),"/ ",o.paging.pageLength]}),(0,Bt.jsxs)(We.Right,{gap:"1/2",children:[(0,Bt.jsx)(re.Button.Sub.R,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){d(o.paging.pageLength);return}d(o.paging.currentPageIndex-1)},children:(0,Bt.jsx)(xe.ChevronLeft,{})}),(0,Bt.jsx)(re.Button.Sub.R,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){d(1);return}d(o.paging.currentPageIndex+1)},children:(0,Bt.jsx)(xe.ChevronRight,{})})]})]})},RowLength:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,d=0,u=r.lengthSelect.map(h=>(d|=+(h==s),{value:h,label:h.toString()}));return d||u.push({value:s,label:s.toString()}),u=u.order({direction:"ASC",keys:["value"]}),(0,Bt.jsx)(We.Center,{gap:"1/2",children:(0,Bt.jsx)(ot.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],value:o.paging.rowLength,options:u,SelectorGravityPoint:24,onUpdateValidValue:({value:h})=>{l(p=>D(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},FG=r=>(0,Bt.jsx)(ep,D(_({},r),{type:"data",JSXChildren:Tu.DataLeveler})),yc=FG;yc.__memoryID=Tu.__memoryID,yc.getRowData=MG.getRowData,yc.Info=U_.Info,yc.Paging=U_.Paging,yc.RowLength=U_.RowLength,yc.SearchInput=U_.SearchInput;var Gn;(r=>(r.Normal=t7,r.Data=yc,r.Drag=u7,r.Parts=Gr))(Gn||(Gn={}));var Nw=K(Ot()),Sm=K(dr());var rl={uid:Sm.default.uuid.gen(),open:(r,a,o=24,l=.35)=>{r&&(Sm.default.interval.clear(rl.uid),Sm.default.interval.standBy(rl.uid,l*1e3,()=>{zr.open({tipsID:rl.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Nw.jsx)(zr.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Nw.jsx)(Ke.Supplement,{children:a})})})}))},abort:()=>{Sm.default.interval.clear(rl.uid),zr.close(rl.uid)}};var vt=K(Ot()),Na=K(dr());var us=K(pr());var K7=K(E7()),X7=K(O7()),J7=K(H7()),Q7=K(q7());var Fw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:d}=l,u=s/d;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:d/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let b=a.width/3*2,y=a.height/3*2;l=Math.min(b,y),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:d,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,v=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:v},outImage:{x:0,y:0,w:0,h:0},imageX:d/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:u}=this.dragEffectInfo,h=d.x-l,p=d.y-s,v=this.scale.current*this.Picture.revisedAspect/100,b=h/v*u.x,y=p/v*u.y;o=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+y):o=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=y)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:d}=Na.default.getCursor(l.touches[0]),{x:u,y:h}=Na.default.getCursor(l.touches[1]),p=u-s,v=h-d;if(o=="start")this.pinchEffectInfo.origin={x:p,y:v,scale:this.scale.current};else if(o=="move"){let{origin:b}=this.pinchEffectInfo,y=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),C=Math.sqrt(Math.pow(p,2)+Math.pow(v,2))/y,w=Number(b.scale*C);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 ea(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),d=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&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(u,0,0,u.width,u.height);let v=d.getImageData(0,0,s.width,s.height),b=v.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],B=k[0]/255,M=k[1]/255,X=k[2]/255;for(let F=0;F<p;F++)for(let V=0;V<h;V++){var y=(F*h+V)*4;if(a){let H=.3*b[y]+.59*b[y+1]+.11*b[y+2];for(var C=0;C<3;C++){let G=b[y+C];b[y+C]=G+(H-G)*a}}b[y]*=B,b[y+1]*=M,b[y+2]*=X}}d.putImageData(v,0,0);let w=s.toDataURL("image/jpeg");{let k=yield Na.default.ImageLoader(w),{width:B,height:M}=k,X=B/M;this.Picture=D(_({},this.Picture),{elm:k,aspect:X,revisedAspect:this.pst.frame.aspect>X?this.pst.frame.w/B:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:d},pst:{frame:u}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let v=this.scale.current/100,b=this.Picture.revisedAspect*v,y=this.pst.centerX-h*b,C=this.pst.centerY-p*b,w=this.Picture.elm.width*b,k=this.Picture.elm.height*b;{let B=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,X=this.pst.frame.y+this.pst.frame.h-k,F=this.pst.frame.y,V=0;y<B&&(V=y-B),y>M&&(V=y-M);let H=0;C<X&&(H=C-X),C>F&&(H=C-F),this.dragEffectInfo.origin.x+=V/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=H/2/this.dragEffectInfo.frameExpandRate.y,y=Math.min(Math.max(y,B),M),C=Math.min(Math.max(C,X),F)}this.pst.outImage={x:y,y:C,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,y,C,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let b=d.width/3*2,y=d.height/3*2,C=Math.min(b,y),w=Math.max(b,y);s.arc(d.width/2,d.height/2,w,0,Math.PI*2,!0),s.arc(d.width/2,d.height/2,C/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(d.width,0),s.lineTo(d.width,d.height),s.lineTo(0,d.height),s.lineTo(0,0),s.closePath(),s.lineTo(u.x,u.y),s.lineTo(u.x,u.y+u.h),s.lineTo(u.x+u.w,u.y+u.h),s.lineTo(u.x+u.w,u.y),s.lineTo(u.x,u.y),s.fill();let v=(0,Na.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${v},1 )`,s.strokeRect(u.x,u.y,u.w,u.h)}}export(){return ea(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:d}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(d.x-s.x)/u,v=(d.x-s.x+d.w)/u,b=(d.y-s.y)/h,y=(d.y-s.y+d.h)/h,C=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:B,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[B];let X={S:140,R:600,L:1200}[B],F=X;this.use=="wallpaper.horizontal"?F=X/3:this.use=="wallpaper.vertical"&&(F=X*2);let V=document.createElement("canvas");V.width=X,V.height=F;let H=V.getContext("2d");if(!H)return;H.clearRect(0,0,X,F),H.drawImage(this.Picture.elm,p,b,v-p,y-b,0,0,X,F);let G=V.toDataURL(w),P=yield G.toBlob(w);if(!P)return;if(P.size>=M){let Ee=M/P.size;if(G=V.toDataURL(w,Ee*.92),P=yield G.toBlob(w),!P)return}let oe=new File([P],this.val_file.name,{type:w});C[k]=oe}return C})}},Z7={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:d,develops:u=[]}=o,[h]=(0,us.useState)(Na.default.uuid.gen(32)),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[v,b]=(0,us.useState)(p.scale.default),[y,C]=(0,us.useState)(p.rotate),[w,k]=(0,us.useState)(p.grayScale),[B,M]=(0,us.useState)(p.tone);return(0,us.useEffect)(()=>{let X="CropperResize";return(0,Na.default)(window).addEvent({eventType:"resize",eventID:X,callback:()=>{Na.default.interval.clear("CropperResize"),Na.default.interval.standBy("CropperResize",200,()=>{var F;let V=Tt("#Canvas-"+h)[0];if(!V)return;let H=(F=qe.get(h))==null?void 0:F.Instance;if(!H)return;let G=V.position(),P=G.width/G.height;V.width=2400,V.height=2400/P;let{width:oe,height:Ee}=V;H.pst.centerX=oe/2,H.pst.centerY=Ee/2,H.frameSizing(),H.modifyImage()})}}),()=>{(0,Na.default)(window).removeEvent(X)}},[]),(0,us.useEffect)(()=>{qe.set({[h]:{}}),ea(void 0,null,function*(){Qa.fn.corner.active(),yield Na.default.pending(()=>{},400);let{target:X}=yield a.convert();if(!X)return;let F=X.result,V=Tt("#Canvas-"+h)[0];if(!V)return;let H=V.position(),G=H.width/H.height;V.width=2400,V.height=2400/G;let P=new Fw({set_scale:b,val_file:a,develops:u,use:d,scale:p.scale,componentID:h,canvas:V,picture:{image:yield Na.default.ImageLoader(F),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});qe.set({[h]:{Instance:P}});let oe=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)P.pinchEffect({eventType:"start",event:be}),(0,Na.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),P.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:te});else{P.dragEffect(_({eventType:"start"},Na.default.getCursor(be)));let{type:ye}=be;(0,Na.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:fe=>{Ee("move",fe)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:fe=>{Ee("end",fe),te(fe)}})}},Ee=function(be,ye){ye.preventDefault(),P.dragEffect(_({eventType:be},Na.default.getCursor(ye)))},te=function(be){be.preventDefault(),(0,Na.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,Na.default)(V).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),fe=P.scale.current+ye;fe=Math.max(fe,P.scale.min),fe=Math.min(fe,P.scale.max),b(fe)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:oe,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:oe,options:{passive:!1}}),setTimeout(()=>{Qa.fn.corner.stop()},1e3)})},[a.id]),(0,us.useEffect)(()=>{var X;let F=(X=qe.get(h))==null?void 0:X.Instance;F&&F.updateScale(v)},[v]),(0,us.useEffect)(()=>{var X;let F=(X=qe.get(h))==null?void 0:X.Instance;F&&F.updateFilter({grayScale:w,tone:B,rotate:y})},[w,B,y]),(0,vt.jsx)(Ft.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,vt.jsxs)(pt,{className:[cc("Wrap"),cc("Use_"+d)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,vt.jsx)(E,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,vt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cc("Canvas"),id:"Canvas-"+h})}),(0,vt.jsxs)(We.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,vt.jsx)(Z7.SettingRegion,{DefaultOptions:p,val_scale:v,set_scale:b,val_tone:B,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:y,set_rotate:C}),(0,vt.jsxs)(We.Right,{flexSizing:"none",children:[(0,vt.jsx)(re.Button.Border.R,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,vt.jsx)(re.Button.Prime.R,{isRounded:!0,boxShadow:"3.remark",onClick:()=>ea(void 0,null,function*(){var X;let F=(X=qe.get(h))==null?void 0:X.Instance;if(!F)return;Qa.fn.mini.active("CropperExportation");let V=yield F.export();setTimeout(()=>{Qa.fn.mini.stop("CropperExportation"),l(V)},3e3)}),children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(Qa.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,vt.jsxs)(We.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,vt.jsxs)(pt,{gap:"1/3",children:[(0,vt.jsx)(Ke.Supplement,{children:"Rotate"}),(0,vt.jsxs)(We.Left,{flexChilds:"even",gap:"1/6",children:[(0,vt.jsx)(re.Button.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,vt.jsxs)(We.Center,{gap:"1/4",children:["90\xB0",(0,vt.jsx)(xe,{icon:J7.faRotateLeft})]})}),(0,vt.jsx)(re.Button.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,vt.jsxs)(We.Center,{gap:"1/4",children:[(0,vt.jsx)(xe,{icon:Q7.faRotateRight}),"90\xB0"]})})]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"Zoom"}),(0,vt.jsxs)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";zr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26},content:(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{zr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:d,value:u})=>{Na.default.interval.clear("Cropper.UpdateScale"),Na.default.interval.standBy("Cropper.UpdateScale",250,()=>{r.set_scale(u+100)})},legends:{enable:!0,custom:d=>"x"+Math.round(100+d)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"GrayScale"}),(0,vt.jsxs)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";zr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26},content:(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe,{icon:K7.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{zr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:d})=>{Na.default.interval.clear("Cropper.GrayScale"),Na.default.interval.standBy("Cropper.GrayScale",250,()=>{r.set_grayScale(d)})},legends:{enable:!0,custom:d=>d+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,vt.jsxs)(pt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,vt.jsx)(Ke.Supplement,{children:"Tone"}),(0,vt.jsx)(re.Button.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";zr.open({tipsID:s,gravityPoint:3,event:l,close_option:{parentBlur:!1},freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let d=[];for(let u=1;u<=10;u++)d.push({value:u,label:(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsx)(E,{ssSphere:1,className:[cc("ToneBall"),cc("ToneBall_"+u)].join(" ")}),(0,vt.jsx)(E,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,vt.jsx)(Ft.Body,{children:(0,vt.jsxs)(pt,{padding:1.5,children:[(0,vt.jsxs)(We.Separate,{children:[(0,vt.jsx)(Ke.Paragraph,{children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(xe,{icon:X7.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,vt.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:2.5,onClick:()=>{zr.close(s)},children:(0,vt.jsx)(xe.Times,{})})]}),(0,vt.jsx)(E,{borderBottom:!0,opacity:"low"}),(0,vt.jsx)(ot.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,vt.jsx)(E,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...d],onUpdateValidValue:({value:u})=>{r.set_tone(u)}})]})})}})},children:(0,vt.jsxs)(We.Center,{gap:"1/2",children:[(0,vt.jsx)(E,{boxShadow:"2.remark",ssSphere:1,className:[cc("ToneBall"),cc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},wm={openDialogNEdit:r=>ea(void 0,null,function*(){let a=yield ot.Filer.fn.openDialog({accept:"image",multiple:!1});wm.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>ea(void 0,null,function*(){let a="CropperImage";Ft.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100vw"},content:(0,vt.jsx)(Z7.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{Ft.close(a),r.onProcessFinished(o)},abortCallback:()=>{Ft.close(a)}}),close_option:{escapeKeyDown:!1}})})};var Io=K(Ot());var eI=()=>{let{href:r}=location;return(0,Io.jsx)(We.Center,{padding:[4,1],children:(0,Io.jsxs)(pt,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Io.jsx)(xe.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Io.jsxs)(E,{children:[(0,Io.jsx)(Ke.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Io.jsx)(Ke.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,Io.jsxs)(pt,{children:[(0,Io.jsxs)(Ke,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Io.jsx)(E,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Io.jsx)(E,{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,Io.jsx)(re.Anchor.Link,{newTab:!0,href:r,children:r}),(0,Io.jsx)(re.Anchor.BorderToFill.R,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var V_=r=>{let[a,o]=(0,Sc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,Sc.useRef)(!1);(0,Sc.useEffect)(()=>{l&&(s.current?(Ft.closeAll(!0),rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,Sc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,Sc.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 tI=K(dr());var Xh=[{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}],Kh=()=>{let r="#45515c",a=(0,tI.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},rI={light:"#FFF",dark:"#333",dim:"#666",auto:()=>st.get().isSystemDarkmode()?"#333":"#FFF"},Cm={};Xh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Cm[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Ga=K(dr());var Le={toConcreteBorderRadius:r=>{let a=st.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Ga.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,d,u,h,p;let v=[],{gap:b,display:y,position:C,overflow:w,fontColor:k,fontSize:B,fontWeight:M,backgroundColor:X,textAlign:F,textDecoration:V,boxShadow:H,margin:G,marginTop:P,marginRight:oe,marginBottom:Ee,marginLeft:te,padding:be,paddingTop:ye,paddingRight:fe,paddingBottom:I,paddingLeft:ae,top:me,right:z,bottom:ne,left:pe,border:Se,borderTop:ce,borderRight:we,borderBottom:Fe,borderLeft:He,borderWidth:at,borderColor:Oe,borderStyle:ct,borderRadius:nr,borderTopLeftRadius:bt,borderTopRightRadius:yt,borderBottomLeftRadius:It,borderBottomRightRadius:nt,flexSizing:Ae,flexWrap:Ct,flexType:zt,flexChilds:Yt,flexGrid:$t,horizontalAlign:ir,verticalAlign:sr,transition:xr,gridCenter:_a,gridCols:aa,maxHeight:la,minHeight:Nr,maxWidth:Or,minWidth:Ir,width:ma,height:hr,unitHeight:Rr,unitWidth:Pr,opacity:ba}=a;{if(Le.ev(y)&&v.push("dsp"+y),w){let O=Ga.default.flatArray(w);v.push("ovfl-x-"+O[0]),v.push("ovfl-y-"+(O[1]||O[0]))}Le.ev(C)&&v.push("ps"+C),Le.ev(F)&&v.push("txtalg"+F),Le.ev(F)&&v.push("txtdeco"+V),Le.ev(k)&&v.push("ftcl"+((o=String(k))==null?void 0:o.replace(/\./g,"_"))),Le.ev(B)&&v.push("ftsz"+((l=String(B))==null?void 0:l.replace(/\..*/,""))),Le.ev(M)&&v.push("ftwt"+(M==null?void 0:M.replace(/\..*/,""))),Le.ev(X)&&v.push("bgc"+((s=String(X))==null?void 0:s.replace(/\./g,"_"))),Le.ev(H)&&v.push("bs"+H);let ze,dt,St,Xt;Ga.default.is.exist(G)&&(Ga.default.is.array(G)?G.length==2?[ze,dt,St,Xt]=[...G,...G]:G.length==4&&([ze,dt,St,Xt]=G):ze=dt=St=Xt=G,P=P!=null?P:ze,oe=oe!=null?oe:dt,Ee=Ee!=null?Ee:St,te=te!=null?te:Xt),Le.ev(P)&&v.push("mrgt"+P),Le.ev(oe)&&v.push("mrgr"+oe),Le.ev(Ee)&&v.push("mrgb"+Ee),Le.ev(te)&&v.push("mrgl"+te);let Gt,Er,_r,qr;Ga.default.is.exist(be)&&(Ga.default.is.array(be)?be.length==2?[Gt,Er,_r,qr]=[...be,...be]:be.length==4&&([Gt,Er,_r,qr]=be):Gt=Er=_r=qr=be,ye=ye!=null?ye:Gt,fe=fe!=null?fe:Er,I=I!=null?I:_r,ae=ae!=null?ae:qr),Le.ev(ye)&&v.push("pdt"+ye),Le.ev(fe)&&v.push("pdr"+fe),Le.ev(I)&&v.push("pdb"+I),Le.ev(ae)&&v.push("pdl"+ae),Le.ev(me)&&v.push("pstt"+me),Le.ev(z)&&v.push("pstr"+z),Le.ev(ne)&&v.push("pstb"+ne),Le.ev(pe)&&v.push("pstl"+pe);{Ga.default.is.exist(Se)&&(ce=ce!=null?ce:Se,we=we!=null?we:Se,Fe=Fe!=null?Fe:Se,He=He!=null?He:Se),Ga.default.is.boolean(ce)&&(ce=["unset","2.normal"][Number(ce)]),Ga.default.is.boolean(we)&&(we=["unset","2.normal"][Number(we)]),Ga.default.is.boolean(Fe)&&(Fe=["unset","2.normal"][Number(Fe)]),Ga.default.is.boolean(He)&&(He=["unset","2.normal"][Number(He)]),Le.ev(ce)&&v.push("b_t_ss"+((d=String(ce))==null?void 0:d.replace(/\..*/,""))),Le.ev(we)&&v.push("b_r_ss"+((u=String(we))==null?void 0:u.replace(/\..*/,""))),Le.ev(Fe)&&v.push("b_b_ss"+((h=String(Fe))==null?void 0:h.replace(/\..*/,""))),Le.ev(He)&&v.push("b_l_ss"+((p=String(He))==null?void 0:p.replace(/\..*/,""))),Ga.default.is.exist(at)&&v.push("b_wth"+String(at)),Ga.default.is.exist(Oe)&&v.push("b_cl"+String(Oe)),Ga.default.is.exist(ct)&&v.push("b_st"+String(ct));{let O,Z,L,U;Ga.default.is.exist(nr)&&(Ga.default.is.array(nr)?nr.length==4&&([O,Z,U,L]=nr):O=Z=L=U=nr,bt=bt!=null?bt:O,yt=yt!=null?yt:Z,It=It!=null?It:L,nt=nt!=null?nt:U)}Le.ev(bt)&&v.push("br_tl"+Le.toConcreteBorderRadius(bt)),Le.ev(yt)&&v.push("br_tr"+Le.toConcreteBorderRadius(yt)),Le.ev(It)&&v.push("br_bl"+Le.toConcreteBorderRadius(It)),Le.ev(nt)&&v.push("br_br"+Le.toConcreteBorderRadius(nt))}if(Le.ev(ba)&&v.push("op"+ba),Ga.default.is.exist(b)){let O,Z;Ga.default.is.array(b)?(O=b[0],Z=b[1]):O=Z=b,v.push("gapRow"+O,"gapCol"+Z)}Le.ev(Ae)&&v.push("flsz"+Ae),Le.ev(Ct)&&v.push("flwrp"+Ct),Le.ev(zt)&&v.push("fltyp"+zt),Le.ev(Yt)&&v.push("flchld"+Yt),Le.ev($t)&&v.push("flgrid"+$t),Le.ev(sr)&&v.push("flvrt"+sr),Le.ev(ir)&&v.push("flhrz"+ir),Le.ev(_a)&&v.push("grcnt"+_a),Le.ev(aa)&&v.push("grcol"+aa),Le.ev(hr)&&v.push("hgt"+hr),Le.ev(ma)&&v.push("wdt"+ma),Le.ev(Rr)&&v.push("unthgt"+Rr),Le.ev(Pr)&&v.push("untwdt"+Pr),Le.ev(xr)&&v.push("trnst"+xr),Le.ev(la)&&v.push("maxh"+la),Le.ev(Nr)&&v.push("minh"+Nr),Le.ev(Or)&&v.push("maxw"+Or),Le.ev(Ir)&&v.push("minw"+Ir)}return v.length?r+v.join(" "+r):""}},um=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:d,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:v,flexNewLine:b,isLightFont:y,isBoldFont:C,isSemiBoldFont:w,isRounded:k,isSquare:B,freeCSS:M={}}=a,X=Qe(M,[]),F=Qe(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(X=X||{},F=F||{},o){let{deg:V,colors:H}=o;X=D(_({},X),{background:`linear-gradient(${V}deg,${H.join(",")})`})}if(l){l===!0&&(l="border");let V={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?V.border=!0:l=="layer"?V.backgroundColor="layer.1":l=="cloud"?V.backgroundColor="cloud":l=="shadow"&&(V.boxShadow="0.normal"),st.get().darkMode=="dim"&&(V.boxShadow="1.normal"),st.get().darkMode=="dark"&&(V.boxShadow="1.remark"),X=_(_({},V.freeCSS),X),F=_(_({},V),F)}return s&&(v=v!=null?v:!0,F=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},F)),d&&(v=v!=null?v:!0,F=_({padding:0,unitWidth:d,unitHeight:d,flexSizing:"none"},F)),u&&(F=_({transition:"middle"},F),F=D(_({},F),{className:[F.className,"ssPushable"].join(" ")})),h&&(F=_({position:"absolute",top:0,left:0,right:0,bottom:0},F)),p&&(F=_({overflow:"hidden"},F),X=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},X)),b&&(F=_({width:1,flexSizing:"none"},F)),v&&(F=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},F)),y&&(F.fontWeight="1.light"),w&&(F.fontWeight="3.semiBold"),C&&(F.fontWeight="4.bold"),k&&(Ga.default.is.number(k)?X.borderRadius=k*12:F.borderRadius="sphere"),B&&(X.aspectRatio="1"),D(_({},F),{freeCSS:X})},Do=r=>{let a=um(r),{componentID:o,gap:l,display:s,position:d,overflow:u,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:C,boxShadow:w,margin:k,marginTop:B,marginRight:M,marginBottom:X,marginLeft:F,padding:V,paddingTop:H,paddingRight:G,paddingBottom:P,paddingLeft:oe,top:Ee,right:te,bottom:be,left:ye,border:fe,borderTop:I,borderRight:ae,borderBottom:me,borderLeft:z,borderWidth:ne,borderColor:pe,borderStyle:Se,borderRadius:ce,borderTopLeftRadius:we,borderTopRightRadius:Fe,borderBottomLeftRadius:He,borderBottomRightRadius:at,flexSizing:Oe,flexWrap:ct,flexType:nr,flexChilds:bt,flexGrid:yt,horizontalAlign:It,verticalAlign:nt,transition:Ae,gridCenter:Ct,gridCols:zt,maxHeight:Yt,minHeight:$t,maxWidth:ir,minWidth:sr,width:xr,height:_a,unitHeight:aa,unitWidth:la,opacity:Nr,ssLastChildLossBorder:Or,ssAbsoluteCovered:Ir,ssCardBox:ma,ssEffectsOnActive:hr,ssPushable:Rr,ssSphere:Pr,ssSquare:ba,ssTextEllipsis:ze,isBoldFont:dt,isLightFont:St,isSemiBoldFont:Xt,isRounded:Gt,flexCenter:Er,flexNewLine:_r,gradients:qr,UnderBreakPointStyles:O={},className:Z="",freeCSS:L={}}=a,U=Qe(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),q=_({},U),de=[Z];if(Or&&de.push("ssLastChildLossBorder_"+Or),hr){hr=Ga.default.flatArray(hr);for(let ie of hr){let[Ie,Pe]=ie.split(".");q["data-effect-"+Ie]="1",Pe&&(q["data-effect-tone"]=Pe)}}{let ie=Le.ClassNames("amotf_",{gap:l,display:s,position:d,overflow:u,fontColor:h,fontSize:p,fontWeight:v,backgroundColor:b,textAlign:y,textDecoration:C,boxShadow:w,margin:k,marginTop:B,marginRight:M,marginBottom:X,marginLeft:F,padding:V,paddingTop:H,paddingRight:G,paddingBottom:P,paddingLeft:oe,top:Ee,right:te,bottom:be,left:ye,border:fe,borderTop:I,borderRight:ae,borderBottom:me,borderLeft:z,borderWidth:ne,borderColor:pe,borderStyle:Se,borderRadius:ce,borderTopLeftRadius:we,borderTopRightRadius:Fe,borderBottomLeftRadius:He,borderBottomRightRadius:at,flexSizing:Oe,flexWrap:ct,flexType:nr,flexChilds:bt,flexGrid:yt,horizontalAlign:It,verticalAlign:nt,transition:Ae,gridCenter:Ct,gridCols:zt,maxHeight:Yt,minHeight:$t,maxWidth:ir,minWidth:sr,width:xr,height:_a,unitHeight:aa,unitWidth:la,opacity:Nr});de.push(ie)}return O&&de.push(Le.ClassNames("amotf_bp",O)),L&&(q.style=_(_({},L),q.style)),(o||q["data-component-id"])&&(q["data-component-id"]=q["data-component-id"]||o),de.length&&de.join("")&&(q.className=de.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),q},Ll=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:d,fontSize:u,fontWeight:h,backgroundColor:p,textAlign:v,textDecoration:b,boxShadow:y,margin:C,marginTop:w,marginRight:k,marginBottom:B,marginLeft:M,padding:X,paddingTop:F,paddingRight:V,paddingBottom:H,paddingLeft:G,top:P,right:oe,bottom:Ee,left:te,border:be,borderTop:ye,borderRight:fe,borderBottom:I,borderLeft:ae,borderWidth:me,borderColor:z,borderStyle:ne,borderRadius:pe,borderTopLeftRadius:Se,borderTopRightRadius:ce,borderBottomLeftRadius:we,borderBottomRightRadius:Fe,flexSizing:He,flexWrap:at,flexType:Oe,flexChilds:ct,flexGrid:nr,horizontalAlign:bt,verticalAlign:yt,transition:It,gridCenter:nt,gridCols:Ae,maxHeight:Ct,minHeight:zt,maxWidth:Yt,minWidth:$t,width:ir,height:sr,unitHeight:xr,unitWidth:_a,opacity:aa,ssLastChildLossBorder:la,ssAbsoluteCovered:Nr,ssCardBox:Or,ssEffectsOnActive:Ir,ssPushable:ma,ssSphere:hr,ssSquare:Rr,ssTextEllipsis:Pr,isBoldFont:ba,isLightFont:ze,isSemiBoldFont:dt,isRounded:St,flexCenter:Xt,flexNewLine:Gt,gradients:Er,UnderBreakPointStyles:_r={},freeCSS:qr={}}=r,O={};return Le.ev(a)&&(O.gap=a),Le.ev(o)&&(O.display=o),Le.ev(l)&&(O.position=l),Le.ev(s)&&(O.overflow=s),Le.ev(d)&&(O.fontColor=d),Le.ev(u)&&(O.fontSize=u),Le.ev(h)&&(O.fontWeight=h),Le.ev(p)&&(O.backgroundColor=p),Le.ev(v)&&(O.textAlign=v),Le.ev(b)&&(O.textDecoration=b),Le.ev(y)&&(O.boxShadow=y),Le.ev(C)&&(O.margin=C),Le.ev(w)&&(O.marginTop=w),Le.ev(k)&&(O.marginRight=k),Le.ev(B)&&(O.marginBottom=B),Le.ev(M)&&(O.marginLeft=M),Le.ev(X)&&(O.padding=X),Le.ev(F)&&(O.paddingTop=F),Le.ev(V)&&(O.paddingRight=V),Le.ev(H)&&(O.paddingBottom=H),Le.ev(G)&&(O.paddingLeft=G),Le.ev(P)&&(O.top=P),Le.ev(oe)&&(O.right=oe),Le.ev(Ee)&&(O.bottom=Ee),Le.ev(te)&&(O.left=te),Le.ev(be)&&(O.border=be),Le.ev(ye)&&(O.borderTop=ye),Le.ev(fe)&&(O.borderRight=fe),Le.ev(I)&&(O.borderBottom=I),Le.ev(ae)&&(O.borderLeft=ae),Le.ev(me)&&(O.borderWidth=me),Le.ev(z)&&(O.borderColor=z),Le.ev(ne)&&(O.borderStyle=ne),Le.ev(pe)&&(O.borderRadius=pe),Le.ev(Se)&&(O.borderTopLeftRadius=Se),Le.ev(ce)&&(O.borderTopRightRadius=ce),Le.ev(we)&&(O.borderBottomLeftRadius=we),Le.ev(Fe)&&(O.borderBottomRightRadius=Fe),Le.ev(He)&&(O.flexSizing=He),Le.ev(at)&&(O.flexWrap=at),Le.ev(Oe)&&(O.flexType=Oe),Le.ev(ct)&&(O.flexChilds=ct),Le.ev(nr)&&(O.flexGrid=nr),Le.ev(bt)&&(O.horizontalAlign=bt),Le.ev(yt)&&(O.verticalAlign=yt),Le.ev(It)&&(O.transition=It),Le.ev(nt)&&(O.gridCenter=nt),Le.ev(Ae)&&(O.gridCols=Ae),Le.ev(Ct)&&(O.maxHeight=Ct),Le.ev(zt)&&(O.minHeight=zt),Le.ev(Yt)&&(O.maxWidth=Yt),Le.ev($t)&&(O.minWidth=$t),Le.ev(ir)&&(O.width=ir),Le.ev(sr)&&(O.height=sr),Le.ev(xr)&&(O.unitHeight=xr),Le.ev(_a)&&(O.unitWidth=_a),Le.ev(aa)&&(O.opacity=aa),Le.ev(la)&&(O.ssLastChildLossBorder=la),Le.ev(Nr)&&(O.ssAbsoluteCovered=Nr),Le.ev(Or)&&(O.ssCardBox=Or),Le.ev(Ir)&&(O.ssEffectsOnActive=Ir),Le.ev(ma)&&(O.ssPushable=ma),Le.ev(hr)&&(O.ssSphere=hr),Le.ev(Rr)&&(O.ssSquare=Rr),Le.ev(Pr)&&(O.ssTextEllipsis=Pr),Le.ev(ba)&&(O.isBoldFont=ba),Le.ev(ze)&&(O.isLightFont=ze),Le.ev(dt)&&(O.isSemiBoldFont=dt),Le.ev(St)&&(O.isRounded=St),Le.ev(Xt)&&(O.flexCenter=Xt),Le.ev(Gt)&&(O.flexNewLine=Gt),Le.ev(Er)&&(O.gradients=Er),Le.ev(qr)&&(O.freeCSS=qr),Le.ev(_r)&&(O.UnderBreakPointStyles=_r),O};var hl=K(Ot());var W_=r=>{var a;let o=Tl.catch("RootViewController_"+st.get().sessionUID);return(0,hl.jsxs)(hl.Fragment,{children:[(0,hl.jsx)("style",{children:r.inlineCSS}),(0,hl.jsxs)("amotify-app",{id:"appRoot_"+st.get().sessionUID,children:[(0,hl.jsx)(hu.Pudding.Wrapper,{}),(0,hl.jsx)(hu.Ripple.Wrapper,{}),(0,hl.jsx)(Qa.Wrapper,{}),(0,hl.jsx)($n.Wrapper,{}),(0,hl.jsx)(Ft.Wrapper,{}),(0,hl.jsx)(E,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Y_=K(dr()),Tt=r=>{let a=st.get().appRoot;return Y_.default.is.shadowRoot(a)?(0,Y_.default)(a).find(r):(0,Y_.default)(r)};var VG=K(Hw());ao(wn,K(Hw()));var Vw={};ed(Vw,{DesignBook:()=>$_});var m=K(Ot()),Nl=K(pr()),yo=K(dr());var op={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(_t,{gap:1,children:[(0,m.jsx)(E,{flexCenter:!0,children:(0,m.jsx)(y_,{ssSphere:6,children:"Placeholder"})}),(0,m.jsxs)(ha,{gridCols:3,gap:1,flexSizing:"auto",children:[(0,m.jsx)(E,{padding:2,backgroundColor:"layer.1"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.2"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.3"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.4"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.5"}),(0,m.jsx)(E,{padding:2,backgroundColor:"layer.6"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:"1/2",flexSizing:"auto",ssCardBox:!0,children:[(0,m.jsx)(E,{flexCenter:!0,fontColor:"1.clear",children:"FontColor1"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"2.normal",children:"FontColor2"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"3.blur",children:"FontColor3"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"4.thin",children:"FontColor4"}),(0,m.jsx)(E,{flexCenter:!0,fontColor:"5.translucent",children:"FontColor5"})]})]}),(0,m.jsx)(op.Fonts,{}),(0,m.jsx)(op.Box,{}),(0,m.jsx)(op.Flex,{}),(0,m.jsx)(op.Grid,{}),(0,m.jsx)(op.Others,{})]}),Fonts:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{padding:1,borderBottom:!0,children:"Font"}),(0,m.jsxs)(E,{overflow:"auto",padding:1,children:[(0,m.jsx)(Ke.Description,{padding:1,children:`<Box
981
981
  fontSize={ 0 ~ 8 }
982
982
  >
983
983
  some text
@@ -1043,7 +1043,7 @@ alt='noImage'
1043
1043
  ssEffectsOnActive={ 'ripple.( cloud | theme | nega | posi | warn )' }
1044
1044
  />`}),(0,m.jsxs)(We.Center,{children:[(0,m.jsx)(E,{ssCardBox:!0,padding:1,ssEffectsOnActive:"ripple.theme",children:"DIV"}),(0,m.jsx)(re.Button.Prime.R,{ssEffectsOnActive:"ripple.white",children:"White"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"ripple.cloud",children:"Cloud"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"ripple.theme",children:"Theme"})]})]})]}),Variables:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Effects"}),(0,m.jsxs)(pt,{padding:2,children:[(0,m.jsx)(Ke.Description,{children:`<Button
1045
1045
  ssEffectsOnActive={ 'shrink' }
1046
- />`}),(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{Qa.fn.mini.active("testLoadingKey"),setTimeout(()=>{Qa.fn.stopALL()},5e3)},children:(0,m.jsxs)(We.Center,{gap:0,children:[(0,m.jsx)(Qa.White.S,{loaderID:"testLoadingKey",marginRight:1}),(0,m.jsx)(E,{textAlign:"left",children:"Launch Mini Loader"})]})})}),(0,m.jsxs)(We.Left,{children:[(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"shrink",children:"Shrink"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"pudding",children:"Pudding"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"expand",children:"Expand"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"push",children:"Push"}),(0,m.jsx)(re.Button.Border.R,{children:"corner Loader",onClick:()=>{Qa.fn.corner.active(),setTimeout(()=>{Qa.fn.corner.stop()},3e3)}})]})]})]}),Tooltips:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Tooltips"}),(0,m.jsxs)(pt,{padding:2,children:[(0,m.jsxs)(re.Button.Prime.R,{onContextMenu:r=>{r.preventDefault(),Fr.open({tipsID:"testTooltips",event:r,nextToCursor:!0,gravityPoint:10,close_option:{parentBlur:!1},padding:0,freeCSS:{minWidth:12*16},content:(0,m.jsxs)(pt,{ssCardBox:!0,gap:0,borderRadius:"3.tone.tertiary",padding:"1/2",children:[(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label1"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label2"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label3"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label4"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label5"})]})})},children:["OpenTooltips next to cursor",(0,m.jsx)("br",{}),"( onContextMenu )"]}),(0,m.jsx)(ha,{gridCols:5,gap:1,children:Array.from({length:25}).map((r,a)=>(0,m.jsx)(re.Button.Border.R,{onMouseOver:o=>{Fr.open({tipsID:"tips-"+(a+1),event:o,gravityPoint:a+1,close_option:{parentBlur:!1},padding:0,content:(0,m.jsx)(Fr.Body,{children:a},a)})},children:a+1},a))})]})]}),Snackbar:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Snackbars"}),(0,m.jsxs)(We.Center,{padding:2,children:[(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{$n.add({secondsToClose:3,children:"hello World!!"})},children:"Add Normal Snackbar"}),(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{$n.add({snackID:"testSnackID1",secondsToClose:30,children:(0,m.jsxs)(We.Separate,{verticalAlign:"baseline",paddingLeft:"2/3",children:["\u4E88\u7D04\u6642\u9593\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",(0,m.jsx)(re.Button.Clear.S,{color:"white",fontColor:"posi",children:"\u5143\u306B\u623B\u3059"})]})})},children:"Notices"}),(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{let r=yo.default.uuid.gen();$n.add({snackID:r,children:(0,m.jsxs)(pt,{padding:1,children:[(0,m.jsxs)(We.Left,{verticalAlign:"top",children:[(0,m.jsx)(On,{src:At.Images.defaultIcon("user"),ssSphere:4}),(0,m.jsx)(Ke.Description,{children:`Some Text
1046
+ />`}),(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{Qa.fn.mini.active("testLoadingKey"),setTimeout(()=>{Qa.fn.stopALL()},5e3)},children:(0,m.jsxs)(We.Center,{gap:0,children:[(0,m.jsx)(Qa.White.S,{loaderID:"testLoadingKey",marginRight:1}),(0,m.jsx)(E,{textAlign:"left",children:"Launch Mini Loader"})]})})}),(0,m.jsxs)(We.Left,{children:[(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"shrink",children:"Shrink"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"pudding",children:"Pudding"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"expand",children:"Expand"}),(0,m.jsx)(re.Button.Border.R,{ssEffectsOnActive:"push",children:"Push"}),(0,m.jsx)(re.Button.Border.R,{children:"corner Loader",onClick:()=>{Qa.fn.corner.active(),setTimeout(()=>{Qa.fn.corner.stop()},3e3)}})]})]})]}),Tooltips:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Tooltips"}),(0,m.jsxs)(pt,{padding:2,children:[(0,m.jsxs)(re.Button.Prime.R,{onContextMenu:r=>{r.preventDefault(),zr.open({tipsID:"testTooltips",event:r,nextToCursor:!0,gravityPoint:10,close_option:{parentBlur:!1},padding:0,freeCSS:{minWidth:12*16},content:(0,m.jsxs)(pt,{ssCardBox:!0,gap:0,borderRadius:"3.tone.tertiary",padding:"1/2",children:[(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label1"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label2"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label3"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label4"}),(0,m.jsx)(re.Button.Clear.S,{color:"cloud",fontColor:"2.normal",textAlign:"left",children:"Button Label5"})]})})},children:["OpenTooltips next to cursor",(0,m.jsx)("br",{}),"( onContextMenu )"]}),(0,m.jsx)(ha,{gridCols:5,gap:1,children:Array.from({length:25}).map((r,a)=>(0,m.jsx)(re.Button.Border.R,{onMouseOver:o=>{zr.open({tipsID:"tips-"+(a+1),event:o,gravityPoint:a+1,close_option:{parentBlur:!1},padding:0,content:(0,m.jsx)(zr.Body,{children:a},a)})},children:a+1},a))})]})]}),Snackbar:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Snackbars"}),(0,m.jsxs)(We.Center,{padding:2,children:[(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{$n.add({secondsToClose:3,children:"hello World!!"})},children:"Add Normal Snackbar"}),(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{$n.add({snackID:"testSnackID1",secondsToClose:30,children:(0,m.jsxs)(We.Separate,{verticalAlign:"baseline",paddingLeft:"2/3",children:["\u4E88\u7D04\u6642\u9593\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",(0,m.jsx)(re.Button.Clear.S,{color:"white",fontColor:"posi",children:"\u5143\u306B\u623B\u3059"})]})})},children:"Notices"}),(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{let r=yo.default.uuid.gen();$n.add({snackID:r,children:(0,m.jsxs)(pt,{padding:1,children:[(0,m.jsxs)(We.Left,{verticalAlign:"top",children:[(0,m.jsx)(On,{src:At.Images.defaultIcon("user"),ssSphere:4}),(0,m.jsx)(Ke.Description,{children:`Some Text
1047
1047
  Some Text
1048
1048
  Some Text`})]}),(0,m.jsxs)(We.Separate,{children:[(0,m.jsx)(re.Button.Sub.S,{color:"white",onClick:()=>{$n.remove(r)},children:"\u9589\u3058\u308B"}),(0,m.jsx)(re.Anchor.Prime.S,{href:"",children:"\u8A73\u7D30"})]})]})})},children:"Message"})]})]})},Uw={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Uw.Types,{}),(0,m.jsx)(Uw.Tone,{})]}),Tone:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.SubTitle,{borderBottom:!0,padding:1,children:"Tone"}),(0,m.jsx)(E,{padding:1,overflow:"auto",children:(0,m.jsxs)(ha,{gridCols:2,gap:2,children:[(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBPrime"}),(0,m.jsxs)(ha,{gridCols:3,padding:1,gap:1,children:[(0,m.jsx)(re.Button.Prime.R,{color:"theme",children:"theme"}),(0,m.jsx)(re.Button.Prime.R,{color:"coffee",children:"posi"}),(0,m.jsx)(re.Button.Prime.R,{color:"ninja",children:"nega"}),(0,m.jsx)(re.Button.Prime.R,{color:"droplet",children:"warn"}),(0,m.jsx)(re.Button.Prime.R,{color:"googleBlue",children:"mono"}),(0,m.jsx)(re.Button.Prime.R,{color:"poizon",children:"pozion"})]})]}),(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBSub"}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,children:[(0,m.jsx)(re.Button.Sub.R,{color:"theme",children:"theme"}),(0,m.jsx)(re.Button.Sub.R,{color:"posi",children:"posi"}),(0,m.jsx)(re.Button.Sub.R,{color:"nega",children:"nega"}),(0,m.jsx)(re.Button.Sub.R,{color:"warn",children:"warn"}),(0,m.jsx)(re.Button.Sub.R,{color:"cloud",children:"cloud"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,ssCardBox:!0,backgroundColor:"dark",children:[(0,m.jsx)(re.Button.Sub.R,{color:"white",children:"white"}),(0,m.jsx)(re.Button.Sub.R,{color:"cloud",children:"cloud"})]})]}),(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBClear"}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,children:[(0,m.jsx)(re.Button.Clear.R,{color:"theme",children:"theme"}),(0,m.jsx)(re.Button.Clear.R,{color:"posi",children:"posi"}),(0,m.jsx)(re.Button.Clear.R,{color:"nega",children:"nega"}),(0,m.jsx)(re.Button.Clear.R,{color:"warn",children:"warn"}),(0,m.jsx)(re.Button.Clear.R,{color:"cloud",children:"cloud"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,ssCardBox:!0,backgroundColor:"dark",children:[(0,m.jsx)(re.Button.Clear.R,{color:"white",children:"white"}),(0,m.jsx)(re.Button.Clear.R,{color:"cloud",children:"cloud"})]})]}),(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBFillToBorder"}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,children:[(0,m.jsx)(re.Button.FillToBorder.R,{color:"theme",children:"theme"}),(0,m.jsx)(re.Button.FillToBorder.R,{color:"posi",children:"posi"}),(0,m.jsx)(re.Button.FillToBorder.R,{color:"nega",children:"nega"}),(0,m.jsx)(re.Button.FillToBorder.R,{color:"warn",children:"warn"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,ssCardBox:!0,backgroundColor:"dark",children:[(0,m.jsx)(re.Button.FillToBorder.R,{color:"white",children:"white"}),(0,m.jsx)(re.Button.FillToBorder.R,{color:"cloud",children:"cloud"})]})]}),(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBBorderToFill"}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,children:[(0,m.jsx)(re.Button.BorderToFill.R,{color:"theme",fontColor:"nega",children:(0,m.jsx)(E,{children:"theme"})}),(0,m.jsx)(re.Button.BorderToFill.R,{color:"posi",children:"posi"}),(0,m.jsx)(re.Button.BorderToFill.R,{color:"nega",children:"nega"}),(0,m.jsx)(re.Button.BorderToFill.R,{color:"warn",children:"warn"})]}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,ssCardBox:!0,backgroundColor:"dark",children:[(0,m.jsx)(re.Button.BorderToFill.R,{color:"white",children:"white"}),(0,m.jsx)(re.Button.BorderToFill.R,{color:"cloud",children:"cloud"})]})]}),(0,m.jsxs)(E,{children:[(0,m.jsx)(E,{padding:1,isBoldFont:!0,fontSize:"3.paragraph",children:"\u30FBOthers"}),(0,m.jsxs)(ha,{gridCols:3,gap:1,padding:1,children:[(0,m.jsx)(re.Button.Border.R,{children:"Border"}),(0,m.jsx)(re.Button.Normal.R,{children:"Normal"}),(0,m.jsx)(re.Button.Link,{children:"Link"}),(0,m.jsx)(re.Button.Plain,{children:"Plain"})]})]})]})})]}),Types:()=>(0,m.jsxs)(_t,{gap:2,flexChilds:"auto",children:[(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.ThirdTitle,{borderBottom:!0,padding:1,children:"\u30FBButton"}),(0,m.jsx)(E,{padding:1,overflow:"auto",children:(0,m.jsx)(mc,{items:[(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(re.Button.Prime.R,{children:"Button.Prime"}),"Button.Button.Prime"]}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(re.Button.Sub.R,{children:"Button.Sub"}),"Button.Button.Sub"]}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(re.Button.Border.R,{children:"Button.Border"}),"Button.Button.Border"]})]})})]}),(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.ThirdTitle,{borderBottom:!0,padding:1,children:"\u30FBLabel"}),(0,m.jsx)(E,{padding:1,overflow:"auto",children:(0,m.jsx)(mc,{ListChildCallback:({children:r})=>(0,m.jsx)(pt,{gap:"1/3",padding:[1,0],horizontalAlign:"between",borderBottom:"2.normal",children:r}),items:[(0,m.jsxs)(m.Fragment,{children:["Button.Label.Prime",(0,m.jsx)(re.Label.Prime.R,{children:"Label.Prime"})]}),(0,m.jsxs)(m.Fragment,{children:["Button.Label.Sub",(0,m.jsx)(re.Label.Sub.R,{children:"Label.Sub"})]}),(0,m.jsxs)(m.Fragment,{children:["Button.Label.Border",(0,m.jsx)(re.Label.Border.R,{children:"Label.Border"})]})]})})]}),(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.ThirdTitle,{borderBottom:!0,padding:1,children:"\u30FBAnchor"}),(0,m.jsx)(E,{padding:1,overflow:"auto",children:(0,m.jsx)(mc,{ListChildCallback:({children:r})=>(0,m.jsx)(pt,{gap:"1/3",padding:[1,0],horizontalAlign:"between",borderBottom:"2.normal",children:r}),items:[(0,m.jsxs)(m.Fragment,{children:["Button.Anchor.Prime",(0,m.jsx)(re.Anchor.Prime.R,{href:"",children:"Anchor.Prime"})]}),(0,m.jsxs)(m.Fragment,{children:["Button.Anchor.Sub",(0,m.jsx)(re.Anchor.Sub.R,{href:"",children:"Anchor.Sub"})]}),(0,m.jsxs)(m.Fragment,{children:["Button.Anchor.Border",(0,m.jsx)(re.Anchor.Border.R,{href:"",children:"Anchor.Border"})]})]})})]}),(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.ThirdTitle,{borderBottom:!0,padding:1,children:"\u30FBSizes"}),(0,m.jsxs)(pt,{padding:2,gap:2,children:[(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.XS,{children:'size="XS"'})}),(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.S,{children:'size="S"'})}),(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.R,{children:'size="R"'})}),(0,m.jsx)(We.Left,{children:(0,m.jsx)(re.Button.Prime.L,{children:'size="L"'})})]})]})]})},zG={index:()=>{let r=a=>(0,m.jsx)(E,_({flexCenter:!0,ssCardBox:"layer",textAlign:"center",padding:2},a));return(0,m.jsxs)(pt,{gap:4,children:[(0,m.jsxs)(pt,{children:[(0,m.jsx)(Ke.Paragraph,{children:"Shadows"}),(0,m.jsxs)(ha,{gap:2,gridCols:4,children:[(0,m.jsx)(r,{boxShadow:"0.min",children:"0.min"}),(0,m.jsx)(r,{boxShadow:"0.normal",children:"0.normal"}),(0,m.jsx)(r,{boxShadow:"0.remark",children:"0.remark"}),(0,m.jsx)(r,{boxShadow:"0.max",children:"0.max"}),(0,m.jsx)(r,{boxShadow:"1.min",children:"1.min"}),(0,m.jsx)(r,{boxShadow:"1.normal",children:"1.normal"}),(0,m.jsx)(r,{boxShadow:"1.remark",children:"1.remark"}),(0,m.jsx)(r,{boxShadow:"1.max",children:"1.max"}),(0,m.jsx)(r,{boxShadow:"2.min",children:"2.min"}),(0,m.jsx)(r,{boxShadow:"2.normal",children:"2.normal"}),(0,m.jsx)(r,{boxShadow:"2.remark",children:"2.remark"}),(0,m.jsx)(r,{boxShadow:"2.max",children:"2.max"}),(0,m.jsx)(r,{boxShadow:"3.min",children:"3.min"}),(0,m.jsx)(r,{boxShadow:"3.normal",children:"3.normal"}),(0,m.jsx)(r,{boxShadow:"3.remark",children:"3.remark"}),(0,m.jsx)(r,{boxShadow:"3.max",children:"3.max"}),(0,m.jsx)(r,{boxShadow:"4.min",children:"4.min"}),(0,m.jsx)(r,{boxShadow:"4.normal",children:"4.normal"}),(0,m.jsx)(r,{boxShadow:"4.remark",children:"4.remark"}),(0,m.jsx)(r,{boxShadow:"4.max",children:"4.max"}),(0,m.jsx)(r,{boxShadow:"5.min",children:"5.min"}),(0,m.jsx)(r,{boxShadow:"5.normal",children:"5.normal"}),(0,m.jsx)(r,{boxShadow:"5.remark",children:"5.remark"}),(0,m.jsx)(r,{boxShadow:"5.max",children:"5.max"})]})]}),(0,m.jsxs)(pt,{children:[(0,m.jsx)(Ke.Paragraph,{children:"Inset Shadows"}),(0,m.jsxs)(ha,{gap:2,gridCols:4,children:[(0,m.jsx)(r,{boxShadow:"0.min.inset",children:"0.min.inset"}),(0,m.jsx)(r,{boxShadow:"0.normal.inset",children:"0.normal.inset"}),(0,m.jsx)(r,{boxShadow:"0.remark.inset",children:"0.remark.inset"}),(0,m.jsx)(r,{boxShadow:"0.max.inset",children:"0.max.inset"}),(0,m.jsx)(r,{boxShadow:"1.min.inset",children:"1.min.inset"}),(0,m.jsx)(r,{boxShadow:"1.normal.inset",children:"1.normal.inset"}),(0,m.jsx)(r,{boxShadow:"1.remark.inset",children:"1.remark.inset"}),(0,m.jsx)(r,{boxShadow:"1.max.inset",children:"1.max.inset"}),(0,m.jsx)(r,{boxShadow:"2.min.inset",children:"2.min.inset"}),(0,m.jsx)(r,{boxShadow:"2.normal.inset",children:"2.normal.inset"}),(0,m.jsx)(r,{boxShadow:"2.remark.inset",children:"2.remark.inset"}),(0,m.jsx)(r,{boxShadow:"2.max.inset",children:"2.max.inset"}),(0,m.jsx)(r,{boxShadow:"3.min.inset",children:"3.min.inset"}),(0,m.jsx)(r,{boxShadow:"3.normal.inset",children:"3.normal.inset"}),(0,m.jsx)(r,{boxShadow:"3.remark.inset",children:"3.remark.inset"}),(0,m.jsx)(r,{boxShadow:"3.max.inset",children:"3.max.inset"})]})]})]})}},jG=()=>{let r={Basic:()=>(0,m.jsxs)(E,{ssCardBox:!0,children:[(0,m.jsx)(Ke.Paragraph,{borderBottom:!0,padding:1,children:"TextInput"}),(0,m.jsxs)(pt,{padding:1,gap:2,children:[(0,m.jsxs)(We.Separate,{marginBottom:2,children:[(0,m.jsx)(Ke.Description,{children:`<Input.Text
1049
1049
  required
@@ -1075,7 +1075,7 @@ text5`,minRows:5}),(0,m.jsx)(ot.TextField,{label:"Input.TextField",name:"textfie
1075
1075
  header: ReactElement | React.FC< { modalClose } >,
1076
1076
  body: ReactElement | React.FC< { modalClose } >,
1077
1077
  footer: ReactElement | React.FC< { modalClose } >
1078
- } )`})}),(0,m.jsxs)(pt,{padding:2,children:[(0,m.jsx)(re.Button.Border.R,{onClick:a=>{Fr.open({tipsID:"testTips",parent:a.currentTarget,close_option:{parentBlur:!1,aroundClick:!1,escapeKeyDown:!0},content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{Ft.open({sheetID:"testSheet",close_option:{aroundClick:!0},type:"normal.middleLeft",content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(E,{flexCenter:!0,children:(0,m.jsxs)(ha,{gridCols:3,gap:1,children:[(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:a=>{Fr.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(E,{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white",children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(We.Center,{children:["Image Picker",(0,m.jsx)(On,{src:At.Images.defaultIcon("user"),ssSphere:6,showExpand:!0})]})]})]})]})},Tm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(pt,{gap:3,children:[(0,m.jsx)(Tm.Data,{}),(0,m.jsx)(Tm.Normal,{}),(0,m.jsx)(Tm.Drag,{}),(0,m.jsx)(Tm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Normal"}),(0,m.jsx)(Gn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:r,ssCardBox:!0,onRowClick:o=>{console.log(o)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];o.rowID="rowID-"+a,r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Drag"}),(0,m.jsx)(Gn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,ssCardBox:!0,onOrderChanged:o=>{console.log(o)}})]})},Data:()=>{let[r,a]=(0,Nl.useState)(""),o=[];for(var l=0;l<100;l++){let d=Math.round(Math.random()*50+1),u=Math.round(Math.random()*50+1),h=Math.round(Math.random()*50+1),p="name_"+d,v="data_"+u,b="data_"+h,y=[{type:"th",children:l+":"+p,data:p,orderIndex:l},{type:"td",children:v,data:v},{type:"td",children:b,data:b}];o.push(y)}o[1].checked=!0,o[4].checked=!0,o[10].checked=!0;let s="testDataTable";return(0,m.jsxs)(pt,{children:[(0,m.jsxs)(_t,{horizontalAlign:"between",children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Data"}),(0,m.jsxs)(_t,{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white",children:[(0,m.jsx)(re.Button.Clear.R,{color:"white",children:"SubmitButton"}),(0,m.jsx)(E,{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}),(0,m.jsx)(re.Button.Clear.R,{padding:[0,1],color:"white",onClick:d=>{Fr.open({tipsID:yo.default.uuid.gen(),parent:d.target,gravityPoint:24,close_option:{aroundClick:!0,parentBlur:!1},content:(0,m.jsxs)(pt,{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden",children:[(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(xe.EllipsisV,{})})]})]}),(0,m.jsxs)(We.Separate,{verticalAlign:"bottom",children:[(0,m.jsxs)(We.Left,{verticalAlign:"bottom",children:[(0,m.jsx)(Gn.Data.SearchInput,{tableID:s,onChange:d=>{a(d)}}),(0,m.jsx)(Gn.Data.Info,{tableID:s})]}),(0,m.jsxs)(We.Right,{verticalAlign:"unset",children:[(0,m.jsx)(Gn.Data.RowLength,{tableID:s,lengthSelect:[30,50,100]}),(0,m.jsx)(Gn.Data.Paging,{tableID:s})]})]}),(0,m.jsx)(Gn.Data,{tableID:s,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:o,pageRowLength:30,ssCardBox:!0,cellStyles:{},cellStylesCallback:()=>({}),filter:[!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Spread"})})},UG=()=>{let[r,a]=(0,Nl.useState)(""),[o,l]=(0,Nl.useState)(""),[s,d]=(0,Nl.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(E,{children:[(0,m.jsxs)(re.Button.Prime.R,{onClick:()=>{wm.openDialogNEdit({use:"square",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:u=>ea(void 0,null,function*(){a(yield(yield yo.Filer.fromFile(u[0])).toDataURL()),l(yield(yield yo.Filer.fromFile(u[1])).toDataURL()),d(yield(yield yo.Filer.fromFile(u[2])).toDataURL())})})},children:[(0,m.jsx)(xe.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsxs)(_t,{gap:1,verticalAlign:"top",children:[r&&(0,m.jsx)(On,{isRounded:!0,src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),o&&(0,m.jsx)(On,{style:{maxWidth:24*12},src:o,alt:"",showExpand:!0}),s&&(0,m.jsx)(On,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)($f,{border:!0,borderWidth:3,margin:[3,"auto"],freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:u=>{}},slides:[(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"nega",children:"test1"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"posi",children:"test2"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"warn",children:"test3"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"theme",children:"test4"})]})]})]})})},aI={Darkmode:r=>((0,Nl.useEffect)(()=>{Ft.open({type:"custom",parent:document.body,gravityPoint:19,close_option:{aroundClick:!1},content:()=>(0,m.jsx)(E,{padding:1,children:(0,m.jsx)(ot.Segmented.Cloud,D(_({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"},ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r),{options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:st.get().darkMode,onUpdateValidValue:({value:a})=>{let o=a;yo.default.setLocalStrageData("prf.darkMode",o),st.update.darkMode(o)}}))})})},[]),null),ThemeColor:()=>{let r=a=>{let o="themeColorSelector";Ft.open({sheetID:o,type:"normal.middleCenter",size:"L",close_option:{aroundClick:!1},closeAfter:()=>{rs.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,Nl.useState)(a.defaultColor);(0,Nl.useEffect)(()=>{yo.default.scope(()=>{l!==st.get().themeColor&&(st.update.themeColor(l),yo.default.setLocalStrageData("prf.themeColor",l),Ft.close(o))})},[l]);let d=Object.entries(Cm).map(([u,h])=>{let p=u===l;return(0,m.jsx)(re.Button.Clear.R,{color:"cloud",textAlign:"center",onClick:()=>{s(u)},children:(0,m.jsxs)(pt,{gap:"1/2",textAlign:"center",children:[p&&(0,m.jsx)(Ke.Supplement,{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:u,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs",children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(E,{position:"relative",margin:"auto",backgroundColor:u,ssSphere:2.5,children:(0,m.jsx)(E,{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0,freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(Ke.Supplement,{ssTextEllipsis:!0,freeCSS:{lineHeight:1.25},children:u.toCapital()})]})},u)});return(0,m.jsx)(Ft.Body,{children:(0,m.jsxs)(pt,{padding:2,gap:2,children:[(0,m.jsxs)(We.Separate,{children:[(0,m.jsx)(Ke.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:3,onClick:()=>{Ft.close(o)},children:(0,m.jsx)(xe.Times,{})})]}),(0,m.jsx)(ha,{gap:"1/4",freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,Nl.useEffect)(()=>{yo.default.scope(()=>ea(void 0,null,function*(){Ft.open({type:"custom",parent:document.body,gravityPoint:17,content:()=>(0,m.jsx)(E,{padding:1,children:(0,m.jsx)(re.Button.Border.R,{isRounded:!0,fontColor:"theme",onClick:a=>{r({defaultColor:st.get().themeColor,cb:o=>{}})},children:(0,m.jsxs)(We.Center,{gap:"1/3",children:[(0,m.jsx)(E,{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}),"Theme: ",st.get().themeColor.toCapital()]})})})})}))},[]),null}},$_=()=>{let[r,a]=(0,Nl.useState)(Number(yo.default.queryParams.get().ti)||0);return(0,Nl.useEffect)(()=>{yo.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(aI.Darkmode,{}),(0,m.jsx)(aI.ThemeColor,{}),(0,m.jsxs)(pt,{gap:0,minHeight:"contentHeight",backgroundColor:"layer.1",position:"relative",freeCSS:{zIndex:1},children:[(0,m.jsx)(H_,{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",boxShadow:"2.normal",top:"topBase",tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:o=>{localStorage.setItem("designTabHeader",String(o)),a(o)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(E,{flexSizing:0,position:"relative",freeCSS:{zIndex:1},children:(0,m.jsx)(w_,{viewIndex:r,views:[(0,m.jsx)(op.index,{}),(0,m.jsx)(zG.index,{}),(0,m.jsx)(Uw.index,{}),(0,m.jsx)(jG,{}),(0,m.jsx)(HG,{}),(0,m.jsx)(xm.index,{}),(0,m.jsx)(Tm.index,{}),(0,m.jsx)(UG,{}),"",(0,m.jsx)(Td.index,{})],wrapper:o=>(0,m.jsx)(hu.FadeIn,{animationTime:200,children:(0,m.jsx)(cm,{children:(0,m.jsx)(_t,{gap:2,padding:2,flexWrap:!0,flexChilds:"auto",children:o})})},r)})})]})]})};var WG=_(_(_(_(_(_({},jw),ew),lw),VG),Vw),zw);var Ol=K(Ot()),YG=()=>(0,Ol.jsx)(Ol.Fragment,{children:(0,Ol.jsx)($_,{})});Ww.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),st.launch({appRoot:r,roundness:3,themeColor:Ww.default.getLocalStrageData("prf.themeColor")||"battery"});let a=()=>{let o=Ns.useLocation(),l=Ns.useNavigate();return(0,G_.useEffect)(()=>{In.setPushEffect(s=>{l(s)}),In.setBackEffect(()=>{l(-1)})},[]),V_({pathname:o.pathname}),(0,Ol.jsx)(Ns.Routes,{children:(0,Ol.jsx)(Ns.Route,{path:"*",element:(0,Ol.jsx)(YG,{})},"*")})};nI.default.createRoot(r).render((0,Ol.jsx)(G_.StrictMode,{children:(0,Ol.jsx)(W_,{children:(0,Ol.jsx)(Ns.BrowserRouter,{children:(0,Ol.jsx)(a,{})})})}))});
1078
+ } )`})}),(0,m.jsxs)(pt,{padding:2,children:[(0,m.jsx)(re.Button.Border.R,{onClick:a=>{zr.open({tipsID:"testTips",parent:a.currentTarget,close_option:{parentBlur:!1,aroundClick:!1,escapeKeyDown:!0},content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:(0,m.jsx)(re.Button.Prime.R,{onClick:()=>{Ft.open({sheetID:"testSheet",close_option:{aroundClick:!0},type:"normal.middleLeft",content:()=>(0,m.jsx)(Ft.Body,{padding:2,children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(E,{flexCenter:!0,children:(0,m.jsxs)(ha,{gridCols:3,gap:1,children:[(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(re.Button.Border.R,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(re.Button.Border.R,{onClick:a=>{zr.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(E,{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white",children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(We.Center,{children:["Image Picker",(0,m.jsx)(On,{src:At.Images.defaultIcon("user"),ssSphere:6,showExpand:!0})]})]})]})]})},Tm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(pt,{gap:3,children:[(0,m.jsx)(Tm.Data,{}),(0,m.jsx)(Tm.Normal,{}),(0,m.jsx)(Tm.Drag,{}),(0,m.jsx)(Tm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Normal"}),(0,m.jsx)(Gn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:r,ssCardBox:!0,onRowClick:o=>{console.log(o)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let o=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];o.rowID="rowID-"+a,r.push(o)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Drag"}),(0,m.jsx)(Gn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,ssCardBox:!0,onOrderChanged:o=>{console.log(o)}})]})},Data:()=>{let[r,a]=(0,Nl.useState)(""),o=[];for(var l=0;l<100;l++){let d=Math.round(Math.random()*50+1),u=Math.round(Math.random()*50+1),h=Math.round(Math.random()*50+1),p="name_"+d,v="data_"+u,b="data_"+h,y=[{type:"th",children:l+":"+p,data:p,orderIndex:l},{type:"td",children:v,data:v},{type:"td",children:b,data:b}];o.push(y)}o[1].checked=!0,o[4].checked=!0,o[10].checked=!0;let s="testDataTable";return(0,m.jsxs)(pt,{children:[(0,m.jsxs)(_t,{horizontalAlign:"between",children:[(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Data"}),(0,m.jsxs)(_t,{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white",children:[(0,m.jsx)(re.Button.Clear.R,{color:"white",children:"SubmitButton"}),(0,m.jsx)(E,{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}),(0,m.jsx)(re.Button.Clear.R,{padding:[0,1],color:"white",onClick:d=>{zr.open({tipsID:yo.default.uuid.gen(),parent:d.target,gravityPoint:24,close_option:{aroundClick:!0,parentBlur:!1},content:(0,m.jsxs)(pt,{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden",children:[(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(re.Button.Clear.S,{borderRadius:0,children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(xe.EllipsisV,{})})]})]}),(0,m.jsxs)(We.Separate,{verticalAlign:"bottom",children:[(0,m.jsxs)(We.Left,{verticalAlign:"bottom",children:[(0,m.jsx)(Gn.Data.SearchInput,{tableID:s,onChange:d=>{a(d)}}),(0,m.jsx)(Gn.Data.Info,{tableID:s})]}),(0,m.jsxs)(We.Right,{verticalAlign:"unset",children:[(0,m.jsx)(Gn.Data.RowLength,{tableID:s,lengthSelect:[30,50,100]}),(0,m.jsx)(Gn.Data.Paging,{tableID:s})]})]}),(0,m.jsx)(Gn.Data,{tableID:s,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:o,pageRowLength:30,ssCardBox:!0,cellStyles:{},cellStylesCallback:()=>({}),filter:[!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(E,{fontSize:"5.subTitle",children:"Table.Spread"})})},UG=()=>{let[r,a]=(0,Nl.useState)(""),[o,l]=(0,Nl.useState)(""),[s,d]=(0,Nl.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(E,{children:[(0,m.jsxs)(re.Button.Prime.R,{onClick:()=>{wm.openDialogNEdit({use:"square",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:u=>ea(void 0,null,function*(){a(yield(yield yo.Filer.fromFile(u[0])).toDataURL()),l(yield(yield yo.Filer.fromFile(u[1])).toDataURL()),d(yield(yield yo.Filer.fromFile(u[2])).toDataURL())})})},children:[(0,m.jsx)(xe.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsxs)(_t,{gap:1,verticalAlign:"top",children:[r&&(0,m.jsx)(On,{isRounded:!0,src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),o&&(0,m.jsx)(On,{style:{maxWidth:24*12},src:o,alt:"",showExpand:!0}),s&&(0,m.jsx)(On,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)($f,{border:!0,borderWidth:3,margin:[3,"auto"],freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:u=>{}},slides:[(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"nega",children:"test1"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"posi",children:"test2"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"warn",children:"test3"}),(0,m.jsx)(E,{flexCenter:!0,padding:3,backgroundColor:"theme",children:"test4"})]})]})]})})},aI={Darkmode:r=>((0,Nl.useEffect)(()=>{Ft.open({type:"custom",parent:document.body,gravityPoint:19,close_option:{aroundClick:!1},content:()=>(0,m.jsx)(E,{padding:1,children:(0,m.jsx)(ot.Segmented.Cloud,D(_({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"},ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r),{options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:st.get().darkMode,onUpdateValidValue:({value:a})=>{let o=a;yo.default.setLocalStrageData("prf.darkMode",o),st.update.darkMode(o)}}))})})},[]),null),ThemeColor:()=>{let r=a=>{let o="themeColorSelector";Ft.open({sheetID:o,type:"normal.middleCenter",size:"L",close_option:{aroundClick:!1},closeAfter:()=>{rs.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,Nl.useState)(a.defaultColor);(0,Nl.useEffect)(()=>{yo.default.scope(()=>{l!==st.get().themeColor&&(st.update.themeColor(l),yo.default.setLocalStrageData("prf.themeColor",l),Ft.close(o))})},[l]);let d=Object.entries(Cm).map(([u,h])=>{let p=u===l;return(0,m.jsx)(re.Button.Clear.R,{color:"cloud",textAlign:"center",onClick:()=>{s(u)},children:(0,m.jsxs)(pt,{gap:"1/2",textAlign:"center",children:[p&&(0,m.jsx)(Ke.Supplement,{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:u,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs",children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(E,{position:"relative",margin:"auto",backgroundColor:u,ssSphere:2.5,children:(0,m.jsx)(E,{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0,freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(Ke.Supplement,{ssTextEllipsis:!0,freeCSS:{lineHeight:1.25},children:u.toCapital()})]})},u)});return(0,m.jsx)(Ft.Body,{children:(0,m.jsxs)(pt,{padding:2,gap:2,children:[(0,m.jsxs)(We.Separate,{children:[(0,m.jsx)(Ke.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(re.Button.Sub.R,{color:"cloud",ssSphere:3,onClick:()=>{Ft.close(o)},children:(0,m.jsx)(xe.Times,{})})]}),(0,m.jsx)(ha,{gap:"1/4",freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,Nl.useEffect)(()=>{yo.default.scope(()=>ea(void 0,null,function*(){Ft.open({type:"custom",parent:document.body,gravityPoint:17,content:()=>(0,m.jsx)(E,{padding:1,children:(0,m.jsx)(re.Button.Border.R,{isRounded:!0,fontColor:"theme",onClick:a=>{r({defaultColor:st.get().themeColor,cb:o=>{}})},children:(0,m.jsxs)(We.Center,{gap:"1/3",children:[(0,m.jsx)(E,{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}),"Theme: ",st.get().themeColor.toCapital()]})})})})}))},[]),null}},$_=()=>{let[r,a]=(0,Nl.useState)(Number(yo.default.queryParams.get().ti)||0);return(0,Nl.useEffect)(()=>{yo.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(aI.Darkmode,{}),(0,m.jsx)(aI.ThemeColor,{}),(0,m.jsxs)(pt,{gap:0,minHeight:"contentHeight",backgroundColor:"layer.1",position:"relative",freeCSS:{zIndex:1},children:[(0,m.jsx)(H_,{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",boxShadow:"2.normal",top:"topBase",tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:o=>{localStorage.setItem("designTabHeader",String(o)),a(o)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(E,{flexSizing:0,position:"relative",freeCSS:{zIndex:1},children:(0,m.jsx)(w_,{viewIndex:r,views:[(0,m.jsx)(op.index,{}),(0,m.jsx)(zG.index,{}),(0,m.jsx)(Uw.index,{}),(0,m.jsx)(jG,{}),(0,m.jsx)(HG,{}),(0,m.jsx)(xm.index,{}),(0,m.jsx)(Tm.index,{}),(0,m.jsx)(UG,{}),"",(0,m.jsx)(Td.index,{})],wrapper:o=>(0,m.jsx)(hu.FadeIn,{animationTime:200,children:(0,m.jsx)(cm,{children:(0,m.jsx)(_t,{gap:2,padding:2,flexWrap:!0,flexChilds:"auto",children:o})})},r)})})]})]})};var WG=_(_(_(_(_(_({},jw),ew),lw),VG),Vw),zw);var Ol=K(Ot()),YG=()=>(0,Ol.jsx)(Ol.Fragment,{children:(0,Ol.jsx)($_,{})});Ww.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),st.launch({appRoot:r,roundness:3,themeColor:Ww.default.getLocalStrageData("prf.themeColor")||"battery"});let a=()=>{let o=Ns.useLocation(),l=Ns.useNavigate();return(0,G_.useEffect)(()=>{In.setPushEffect(s=>{l(s)}),In.setBackEffect(()=>{l(-1)})},[]),V_({pathname:o.pathname}),(0,Ol.jsx)(Ns.Routes,{children:(0,Ol.jsx)(Ns.Route,{path:"*",element:(0,Ol.jsx)(YG,{})},"*")})};nI.default.createRoot(r).render((0,Ol.jsx)(G_.StrictMode,{children:(0,Ol.jsx)(W_,{children:(0,Ol.jsx)(Ns.BrowserRouter,{children:(0,Ol.jsx)(a,{})})})}))});
1079
1079
  /*! Bundled license information:
1080
1080
 
1081
1081
  react/cjs/react.development.js: