amotify 0.2.125 → 0.2.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/esbuild/app.tsx +65 -72
- package/demo/esbuild/designBook.tsx +6 -8
- package/demo/esbuild/public/index.css +1 -1
- package/demo/esbuild/public/index.js +71 -71
- package/demo/esbuild/server.ts +12 -1
- package/dist/@declares/property.d.ts +1 -1
- package/dist/@styles/componentClasses/index.css +1 -1
- package/dist/@styles/componentClasses/index.js +1 -1
- package/dist/@styles/index.css +1 -1
- package/dist/@styles/index.js +1 -1
- package/dist/@styles/init.css +1 -1
- package/dist/@styles/style.css +1 -1
- package/dist/@styles/style.js +1 -1
- package/dist/@utils/GenerateClassName.js +1 -1
- package/dist/@utils/LaunchReactApp.js +1 -1
- package/dist/atoms/Box copy.d.ts +14 -0
- package/dist/atoms/Box copy.js +1 -0
- package/dist/atoms/Card.d.ts +13 -0
- package/dist/atoms/Card.js +1 -0
- package/dist/atoms/index.d.ts +1 -0
- package/dist/atoms/index.js +1 -1
- package/dist/fn/Button.js +1 -1
- package/dist/fn/Sheet.js +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var bV=Object.create;var R_=Object.defineProperty;var yV=Object.getOwnPropertyDescriptor;var SV=Object.getOwnPropertyNames;var wV=Object.getPrototypeOf,CV=Object.prototype.hasOwnProperty;var xV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Ed=(r,a)=>{for(var o in a)R_(r,o,{get:a[o],enumerable:!0})},E_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of SV(a))!CV.call(r,s)&&s!==o&&R_(r,s,{get:()=>a[s],enumerable:!(l=yV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(E_(r,a,"default"),o&&E_(o,a,"default")),K=(r,a,o)=>(o=r!=null?bV(wV(r)):{},E_(a||!r||!r.__esModule?R_(o,"default",{value:r,enumerable:!0}):o,r)),kV=r=>E_(R_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Yk=Ue((yr,D_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},N=null;function te(x){N=x}Q.setExtraStackFrame=function(x){N=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";N&&(x+=N);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,re=!1,be=!1,ye=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(yt){return String(yt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),W[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,Ce={};Object.freeze(Ce);function Se(x,U,he){this.props=x,this.context=U,this.refs=Ce,this.updater=he||ee}Se.prototype.isReactComponent={},Se.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},Se.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Ye={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)."]},$e=function(x,U){Object.defineProperty(Se.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Pe in Ye)Ye.hasOwnProperty(Pe)&&$e(Pe,Ye[Pe])}function et(){}et.prototype=Se.prototype;function ct(x,U,he){this.props=x,this.context=U,this.refs=Ce,this.updater=he||ee}var lt=ct.prototype=new et;lt.constructor=ct,de(lt,Se.prototype),lt.isPureReactComponent=!0;function Tt(){var x={current:null};return Object.seal(x),x}var wt=Array.isArray;function Ze(x){return wt(x)}function Te(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function pt(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function jt(x){if(pt(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Te(x)),Lt(x)}function Ut(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function er(x){return x.displayName||"Context"}function ur(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return er(U)+".Consumer";case c:var he=x;return er(he._context)+".Provider";case p:return Ut(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:ur(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,yt=Xe._init;try{return ur(yt(Mt))}catch(Jt){return null}}}return null}var Tr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,wr;wr={};function fr(x){if(Tr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function _r(x){if(Tr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function ha(x,U){var he=function(){jr||(jr=!0,fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function Cr(x,U){var he=function(){qr||(qr=!0,fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=ur(F.current.type);wr[U]||(fe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),wr[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,yt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:yt,_owner:Mt};return Jt._store={},Object.defineProperty(Jt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Jt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Jt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Xe}),Object.freeze&&(Object.freeze(Jt.props),Object.freeze(Jt)),Jt};function ga(x,U,he){var Ee,Xe={},Mt=null,yt=null,Jt=null,xr=null;if(U!=null){fr(U)&&(yt=U.ref,mr(U)),_r(U)&&(jt(U.key),Mt=""+U.key),Jt=U.__self===void 0?null:U.__self,xr=U.__source===void 0?null:U.__source;for(Ee in U)Tr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var ua=Array(Ur),ca=0;ca<Ur;ca++)ua[ca]=arguments[ca+2];Object.freeze&&Object.freeze(ua),Xe.children=ua}if(x&&x.defaultProps){var ma=x.defaultProps;for(Ee in ma)Xe[Ee]===void 0&&(Xe[Ee]=ma[Ee])}if(Mt||yt){var Ra=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&ha(Xe,Ra),yt&&Cr(Xe,Ra)}return Mr(x,Mt,yt,Jt,xr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function st(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,yt=x.ref,Jt=x._self,xr=x._source,Ur=x._owner;if(U!=null){fr(U)&&(yt=U.ref,Ur=F.current),_r(U)&&(jt(U.key),Mt=""+U.key);var ua;x.type&&x.type.defaultProps&&(ua=x.type.defaultProps);for(Ee in U)Tr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&ua!==void 0?Xe[Ee]=ua[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ma=Array(ca),Ra=0;Ra<ca;Ra++)ma[Ra]=arguments[Ra+2];Xe.children=ma}return Mr(x.type,Mt,yt,Jt,xr,Ur,Xe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var $t=".",Vt=":";function Er(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var vr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(jt(x.key),Er(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Mt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Jt=x,xr=Xe(Jt),Ur=Ee===""?$t+P(Jt,0):Ee;if(Ze(xr)){var ua="";Ur!=null&&(ua=$(Ur)+"/"),R(xr,U,ua,"",function(cp){return cp})}else xr!=null&&(bt(xr)&&(xr.key&&(!Jt||Jt.key!==xr.key)&&jt(xr.key),xr=Be(xr,he+(xr.key&&(!Jt||Jt.key!==xr.key)?$(""+xr.key)+"/":"")+Ur)),U.push(xr));return 1}var ca,ma,Ra=0,en=Ee===""?$t:Ee+Vt;if(Ze(x))for(var Of=0;Of<x.length;Of++)ca=x[Of],ma=en+P(ca,Of),Ra+=R(ca,U,he,ma,Xe);else{var tn=M(x);if(typeof tn=="function"){var Mf=x;tn===Mf.entries&&(vr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vr=!0);for(var Em=tn.call(Mf),up,Ug=0;!(up=Em.next()).done;)ca=up.value,ma=en+P(ca,Ug++),Ra+=R(ca,U,he,ma,Xe)}else if(Mt==="object"){var Ps=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ps==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ps)+"). If you meant to render a collection of children, use an array instead.")}}return Ra}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Ie(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:c,_context:U};var he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return he||(he=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Mt}},function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Qe,yt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=he}}if(x._status===Ae){var Xe=x._result;return Xe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
var wV=Object.create;var L_=Object.defineProperty;var CV=Object.getOwnPropertyDescriptor;var xV=Object.getOwnPropertyNames;var kV=Object.getPrototypeOf,TV=Object.prototype.hasOwnProperty;var EV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Rd=(r,a)=>{for(var o in a)L_(r,o,{get:a[o],enumerable:!0})},A_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xV(a))!TV.call(r,s)&&s!==o&&L_(r,s,{get:()=>a[s],enumerable:!(l=CV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(A_(r,a,"default"),o&&A_(o,a,"default")),K=(r,a,o)=>(o=r!=null?wV(kV(r)):{},A_(a||!r||!r.__esModule?L_(o,"default",{value:r,enumerable:!0}):o,r)),RV=r=>A_(L_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Xk=Ue((Sr,N_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},N=null;function te(x){N=x}Q.setExtraStackFrame=function(x){N=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";N&&(x+=N);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,re=!1,be=!1,ye=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(yt){return String(yt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),W[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,xe={};Object.freeze(xe);function we(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}we.prototype.isReactComponent={},we.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},we.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Ye={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)."]},$e=function(x,U){Object.defineProperty(we.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Pe in Ye)Ye.hasOwnProperty(Pe)&&$e(Pe,Ye[Pe])}function et(){}et.prototype=we.prototype;function ut(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}var it=ut.prototype=new et;it.constructor=ut,de(it,we.prototype),it.isPureReactComponent=!0;function Tt(){var x={current:null};return Object.seal(x),x}var wt=Array.isArray;function Ze(x){return wt(x)}function Te(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function ht(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function jt(x){if(ht(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Te(x)),Lt(x)}function Ut(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function tr(x){return x.displayName||"Context"}function cr(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return tr(U)+".Consumer";case u:var he=x;return tr(he._context)+".Provider";case p:return Ut(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:cr(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,yt=Xe._init;try{return cr(yt(Mt))}catch(Jt){return null}}}return null}var Er=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,Cr;Cr={};function dr(x){if(Er.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function gr(x){if(Er.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function pa(x,U){var he=function(){jr||(jr=!0,fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function xr(x,U){var he=function(){qr||(qr=!0,fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=cr(F.current.type);Cr[U]||(fe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),Cr[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,yt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:yt,_owner:Mt};return Jt._store={},Object.defineProperty(Jt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Jt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Jt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Xe}),Object.freeze&&(Object.freeze(Jt.props),Object.freeze(Jt)),Jt};function _a(x,U,he){var Ee,Xe={},Mt=null,yt=null,Jt=null,kr=null;if(U!=null){dr(U)&&(yt=U.ref,mr(U)),gr(U)&&(jt(U.key),Mt=""+U.key),Jt=U.__self===void 0?null:U.__self,kr=U.__source===void 0?null:U.__source;for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Xe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Xe[Ee]===void 0&&(Xe[Ee]=ha[Ee])}if(Mt||yt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&pa(Xe,Ea),yt&&xr(Xe,Ea)}return Mr(x,Mt,yt,Jt,kr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function lt(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,yt=x.ref,Jt=x._self,kr=x._source,Ur=x._owner;if(U!=null){dr(U)&&(yt=U.ref,Ur=F.current),gr(U)&&(jt(U.key),Mt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Xe[Ee]=sa[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ha=Array(ca),Ea=0;Ea<ca;Ea++)ha[Ea]=arguments[Ea+2];Xe.children=ha}return Mr(x.type,Mt,yt,Jt,kr,Ur,Xe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var $t=".",Vt=":";function Rr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var vr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(jt(x.key),Rr(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Mt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Jt=x,kr=Xe(Jt),Ur=Ee===""?$t+P(Jt,0):Ee;if(Ze(kr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(kr,U,sa,"",function(dp){return dp})}else kr!=null&&(bt(kr)&&(kr.key&&(!Jt||Jt.key!==kr.key)&&jt(kr.key),kr=Be(kr,he+(kr.key&&(!Jt||Jt.key!==kr.key)?$(""+kr.key)+"/":"")+Ur)),U.push(kr));return 1}var ca,ha,Ea=0,en=Ee===""?$t:Ee+Vt;if(Ze(x))for(var Mf=0;Mf<x.length;Mf++)ca=x[Mf],ha=en+P(ca,Mf),Ea+=R(ca,U,he,ha,Xe);else{var tn=M(x);if(typeof tn=="function"){var Pf=x;tn===Pf.entries&&(vr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vr=!0);for(var Am=tn.call(Pf),fp,Yg=0;!(fp=Am.next()).done;)ca=fp.value,ha=en+P(ca,Yg++),Ea+=R(ca,U,he,ha,Xe)}else if(Mt==="object"){var Is=String(x);throw new Error("Objects are not valid as a React child (found: "+(Is==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Is)+"). If you meant to render a collection of children, use an array instead.")}}return Ea}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Ie(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:u,_context:U};var he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return he||(he=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Mt}},function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Qe,yt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=he}}if(x._status===Ae){var Xe=x._result;return Xe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -6,104 +6,104 @@ Your code should look like:
|
|
|
6
6
|
Did you accidentally put curly braces around the import?`,Xe),"default"in Xe||fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
7
|
|
|
8
8
|
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||ye||x===
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||ye||x===C||_e||re||be||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x.$$typeof===se||x.getModuleId!==void 0))}function Fe(x,U){Ve(x)||fe("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var he={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Xe){Ee=Xe,!x.name&&!x.displayName&&(x.displayName=Xe)}})}return he}function D(){var x=Y.current;return x===null&&fe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
12
|
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var he=x._context;he.Consumer===x?fe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):he.Provider===x&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function ke(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Wt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){var x=D();return x.useTransition()}function
|
|
14
|
-
`+
|
|
15
|
-
`),
|
|
16
|
-
`),Ur=Jt.length-1,
|
|
17
|
-
`+Jt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&
|
|
13
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var he=x._context;he.Consumer===x?fe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):he.Provider===x&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function ke(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Wt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){var x=D();return x.useTransition()}function ia(x){var U=D();return U.useDeferredValue(x)}function la(){var x=D();return x.useId()}function $a(x,U,he){var Ee=D();return Ee.useSyncExternalStore(x,U,he)}var Nt=0,qn,ls,ss,Qt,aa,Za,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function Su(){{if(Nt===0){qn=console.log,ls=console.info,ss=console.warn,Qt=console.error,aa=console.group,Za=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Yn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Nt++}}function op(){{if(Nt--,Nt===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:de({},x,{value:qn}),info:de({},x,{value:ls}),warn:de({},x,{value:ss}),error:de({},x,{value:Qt}),group:de({},x,{value:aa}),groupCollapsed:de({},x,{value:Za}),groupEnd:de({},x,{value:Gr})})}Nt<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ip=H.ReactCurrentDispatcher,wu;function xc(x,U,he){{if(wu===void 0)try{throw Error()}catch(Xe){var Ee=Xe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
|
|
14
|
+
`+wu+x}}var hl=!1,kc;{var Tf=typeof WeakMap=="function"?WeakMap:Map;kc=new Tf}function Sm(x,U){if(!x||hl)return"";{var he=kc.get(x);if(he!==void 0)return he}var Ee;hl=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=ip.current,ip.current=null,Su();try{if(U){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(en){Ee=en}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(en){Ee=en}x.call(yt.prototype)}}else{try{throw Error()}catch(en){Ee=en}x()}}catch(en){if(en&&Ee&&typeof en.stack=="string"){for(var Jt=en.stack.split(`
|
|
15
|
+
`),kr=Ee.stack.split(`
|
|
16
|
+
`),Ur=Jt.length-1,sa=kr.length-1;Ur>=1&&sa>=0&&Jt[Ur]!==kr[sa];)sa--;for(;Ur>=1&&sa>=0;Ur--,sa--)if(Jt[Ur]!==kr[sa]){if(Ur!==1||sa!==1)do if(Ur--,sa--,sa<0||Jt[Ur]!==kr[sa]){var ca=`
|
|
17
|
+
`+Jt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&kc.set(x,ca),ca}while(Ur>=1&&sa>=0);break}}}finally{hl=!1,ip.current=Mt,op(),Error.prepareStackTrace=Xe}var ha=x?x.displayName||x.name:"",Ea=ha?xc(ha):"";return typeof x=="function"&&kc.set(x,Ea),Ea}function lp(x,U,he){return Sm(x,!1)}function Ug(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function Tc(x,U,he){if(x==null)return"";if(typeof x=="function")return Sm(x,Ug(x));if(typeof x=="string")return xc(x);switch(x){case m:return xc("Suspense");case g:return xc("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return lp(x.render);case b:return Tc(x.type,U,he);case S:{var Ee=x,Xe=Ee._payload,Mt=Ee._init;try{return Tc(Mt(Xe),U,he)}catch(yt){}}}return""}var wm={},Ef=H.ReactDebugCurrentFrame;function Rf(x){if(x){var U=x._owner,he=Tc(x.type,x._source,U?U.type:null);Ef.setExtraStackFrame(he)}else Ef.setExtraStackFrame(null)}function Cm(x,U,he,Ee,Xe){{var Mt=Function.call.bind(Er);for(var yt in x)if(Mt(x,yt)){var Jt=void 0;try{if(typeof x[yt]!="function"){var kr=Error((Ee||"React class")+": "+he+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw kr.name="Invariant Violation",kr}Jt=x[yt](U,yt,Ee,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Jt=Ur}Jt&&!(Jt instanceof Error)&&(Rf(Xe),fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ee||"React class",he,yt,typeof Jt),Rf(null)),Jt instanceof Error&&!(Jt.message in wm)&&(wm[Jt.message]=!0,Rf(Xe),fe("Failed %s type: %s",he,Jt.message),Rf(null))}}}function Ec(x){if(x){var U=x._owner,he=Tc(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Df;Df=!1;function Hr(){if(F.current){var x=cr(F.current.type);if(x)return`
|
|
18
18
|
|
|
19
|
-
Check the render method of \``+x+"`."}return""}function
|
|
19
|
+
Check the render method of \``+x+"`."}return""}function Vg(x){if(x!==void 0){var U=x.fileName.replace(/^.*[\\\/]/,""),he=x.lineNumber;return`
|
|
20
20
|
|
|
21
|
-
Check your code at `+U+":"+he+"."}return""}function
|
|
21
|
+
Check your code at `+U+":"+he+"."}return""}function xm(x){return x!=null?Vg(x.__source):""}var er={};function km(x){var U=Hr();if(!U){var he=typeof x=="string"?x:x.displayName||x.name;he&&(U=`
|
|
22
22
|
|
|
23
|
-
Check the top-level render call using <`+he+">.")}return U}function Pn(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=wm(U);if(!Zt[he]){Zt[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+ur(x._owner.type)+"."),Tu(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Tu(null)}}}function Eu(x,U){if(typeof x=="object"){if(Ze(x))for(var he=0;he<x.length;he++){var Ee=x[he];bt(Ee)&&Pn(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),yt;!(yt=Mt.next()).done;)bt(yt.value)&&Pn(yt.value,U)}}}function Ru(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=ur(U);ym(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Rf){Rf=!0;var Xe=ur(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Tu(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Tu(null);break}}x.ref!==null&&(Tu(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tu(null))}}function mn(x,U,he){var Ee=Ve(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Mt=Sm(U);Mt?Xe+=Mt:Xe+=Hr();var yt;x===null?yt="null":Ze(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(ur(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Xe)}var Jt=ga.apply(this,arguments);if(Jt==null)return Jt;if(Ee)for(var xr=2;xr<arguments.length;xr++)Eu(arguments[xr],x);return x===l?jg(Jt):Ru(Jt),Jt}var Ca=!1;function Hg(x){var U=mn.bind(null,x);return U.type=x,Ca||(Ca=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function ml(x,U,he){for(var Ee=st.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Eu(arguments[Xe],Ee.type);return Ru(Ee),Ee}function mo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>10&&le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Ee._updatedFibers.clear()}}}var Ol=!1,Df=null;function ip(x){if(Df===null)try{var U=("require"+Math.random()).slice(0,7),he=D_&&D_[U];Df=he.call(D_,"timers").setImmediate}catch(Ee){Df=function(Xe){Ol===!1&&(Ol=!0,typeof MessageChannel=="undefined"&&fe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Df(x)}var Ms=0,lp=!1;function Cm(x){{var U=Ms;Ms++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Lf(Xe))}}catch(ma){throw Af(U),ma}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,yt=!1,Jt={then:function(ma,Ra){yt=!0,Mt.then(function(en){Af(U),Ms===0?sp(en,ma,Ra):ma(en)},function(en){Af(U),Ra(en)})}};return!lp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(lp=!0,fe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Jt}else{var xr=Ee;if(Af(U),Ms===0){var Ur=j.current;Ur!==null&&(Lf(Ur),j.current=null);var ua={then:function(ma,Ra){j.current===null?(j.current=[],sp(xr,ma,Ra)):ma(xr)}};return ua}else{var ca={then:function(ma,Ra){ma(xr)}};return ca}}}}function Af(x){x!==Ms-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ms=x}function sp(x,U,he){{var Ee=j.current;if(Ee!==null)try{Lf(Ee),ip(function(){Ee.length===0?(j.current=null,U(x)):sp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Du=!1;function Lf(x){if(!Du){Du=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Du=!1}}}var Nf=mn,xm=ml,km=Hg,Tm={map:z,forEach:ie,count:G,toArray:oe,only:Oe};yr.Children=Tm,yr.Component=Se,yr.Fragment=l,yr.Profiler=f,yr.PureComponent=ct,yr.StrictMode=s,yr.Suspense=m,yr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,yr.act=Cm,yr.cloneElement=xm,yr.createContext=Ie,yr.createElement=Nf,yr.createFactory=km,yr.createRef=Tt,yr.forwardRef=ae,yr.isValidElement=bt,yr.lazy=V,yr.memo=Fe,yr.startTransition=mo,yr.unstable_act=Cm,yr.useCallback=Ct,yr.useContext=q,yr.useDebugValue=$r,yr.useDeferredValue=la,yr.useEffect=ft,yr.useId=sa,yr.useImperativeHandle=Wt,yr.useInsertionEffect=Je,yr.useLayoutEffect=Ke,yr.useMemo=kt,yr.useReducer=ke,yr.useRef=He,yr.useState=pe,yr.useSyncExternalStore=Ga,yr.useTransition=Ha,yr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var cr=Ue((Y$,$k)=>{"use strict";$k.exports=Yk()});var Gk=Ue(da=>{"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(Be,st){var bt=Be.length;Be.push(st),c(Be,st,bt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var st=Be[0],bt=Be.pop();return bt!==st&&(Be[0]=bt,h(Be,bt,0)),st}function c(Be,st,bt){for(var $t=bt;$t>0;){var Vt=$t-1>>>1,Er=Be[Vt];if(p(Er,st)>0)Be[Vt]=st,Be[$t]=Er,$t=Vt;else return}}function h(Be,st,bt){for(var $t=bt,Vt=Be.length,Er=Vt>>>1;$t<Er;){var vr=($t+1)*2-1,Yr=Be[vr],$=vr+1,P=Be[$];if(p(Yr,st)<0)$<Vt&&p(P,Yr)<0?(Be[$t]=P,Be[$]=st,$t=$):(Be[$t]=Yr,Be[vr]=st,$t=vr);else if($<Vt&&p(P,st)<0)Be[$t]=P,Be[$]=st,$t=$;else return}}function p(Be,st){var bt=Be.sortIndex-st.sortIndex;return bt!==0?bt:Be.id-st.id}var m=1,g=2,b=3,S=4,w=5;function k(Be,st){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;da.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();da.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,Q=250,N=5e3,te=1e4,_e=j,re=[],be=[],ye=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Ce(Be){for(var st=s(be);st!==null;){if(st.callback===null)f(be);else if(st.startTime<=Be)f(be),st.sortIndex=st.expirationTime,l(re,st);else return;st=s(be)}}function Se(Be){if(B=!1,Ce(Be),!fe)if(s(re)!==null)fe=!0,ha(Ye);else{var st=s(be);st!==null&&Cr(Se,st.startTime-Be)}}function Ye(Be,st){fe=!1,B&&(B=!1,mr()),le=!0;var bt=H;try{if(a)try{return $e(Be,st)}catch(Vt){if(ge!==null){var $t=da.unstable_now();ge.isQueued=!1}throw Vt}else return $e(Be,st)}finally{ge=null,H=bt,le=!1}}function $e(Be,st){var bt=st;for(Ce(bt),ge=s(re);ge!==null&&!r&&!(ge.expirationTime>bt&&(!Be||Tr()));){var $t=ge.callback;if(typeof $t=="function"){ge.callback=null,H=ge.priorityLevel;var Vt=ge.expirationTime<=bt,Er=$t(Vt);bt=da.unstable_now(),typeof Er=="function"?ge.callback=Er:ge===s(re)&&f(re),Ce(bt)}else f(re);ge=s(re)}if(ge!==null)return!0;var vr=s(be);return vr!==null&&Cr(Se,vr.startTime-bt),!1}function Pe(Be,st){switch(Be){case m:case g:case b:case S:case w:break;default:Be=b}var bt=H;H=Be;try{return st()}finally{H=bt}}function et(Be){var st;switch(H){case m:case g:case b:st=b;break;default:st=H;break}var bt=H;H=st;try{return Be()}finally{H=bt}}function ct(Be){var st=H;return function(){var bt=H;H=st;try{return Be.apply(this,arguments)}finally{H=bt}}}function lt(Be,st,bt){var $t=da.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Er=bt.delay;typeof Er=="number"&&Er>0?Vt=$t+Er:Vt=$t}else Vt=$t;var vr;switch(Be){case m:vr=F;break;case g:vr=Q;break;case w:vr=_e;break;case S:vr=te;break;case b:default:vr=N;break}var Yr=Vt+vr,$={id:ye++,callback:st,priorityLevel:Be,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>$t?($.sortIndex=Vt,l(be,$),s(re)===null&&$===s(be)&&(B?mr():B=!0,Cr(Se,Vt-$t))):($.sortIndex=Yr,l(re,$),!fe&&!le&&(fe=!0,ha(Ye))),$}function Tt(){}function wt(){!fe&&!le&&(fe=!0,ha(Ye))}function Ze(){return s(re)}function Te(Be){Be.callback=null}function pt(){return H}var Lt=!1,jt=null,Ut=-1,er=o,ur=-1;function Tr(){var Be=da.unstable_now()-ur;return!(Be<er)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?er=Math.floor(1e3/Be):er=o}var qr=function(){if(jt!==null){var Be=da.unstable_now();ur=Be;var st=!0,bt=!0;try{bt=jt(st,Be)}finally{bt?wr():(Lt=!1,jt=null)}}else Lt=!1},wr;if(typeof ee=="function")wr=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var fr=new MessageChannel,_r=fr.port2;fr.port1.onmessage=qr,wr=function(){_r.postMessage(null)}}else wr=function(){W(qr,0)};function ha(Be){jt=Be,Lt||(Lt=!0,wr())}function Cr(Be,st){Ut=W(function(){Be(da.unstable_now())},st)}function mr(){ne(Ut),Ut=-1}var Mr=ra,ga=null;da.unstable_IdlePriority=w,da.unstable_ImmediatePriority=m,da.unstable_LowPriority=S,da.unstable_NormalPriority=b,da.unstable_Profiling=ga,da.unstable_UserBlockingPriority=g,da.unstable_cancelCallback=Te,da.unstable_continueExecution=wt,da.unstable_forceFrameRate=jr,da.unstable_getCurrentPriorityLevel=pt,da.unstable_getFirstCallbackNode=Ze,da.unstable_next=et,da.unstable_pauseExecution=Tt,da.unstable_requestPaint=Mr,da.unstable_runWithPriority=Pe,da.unstable_scheduleCallback=lt,da.unstable_shouldYield=Tr,da.unstable_wrapCallback=ct,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Xk=Ue((G$,Kk)=>{"use strict";Kk.exports=Gk()});var Qk=Ue(Uo=>{"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=cr(),a=Xk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var d=n.map(function(v){return String(v)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,w=5,k=6,L=7,M=8,Y=9,O=10,j=11,F=12,Q=13,N=14,te=15,_e=16,re=17,be=18,ye=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,Ce=!1,Se=!0,Ye=!1,$e=!0,Pe=!0,et=!0,ct=!0,lt=new Set,Tt={},wt={};function Ze(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){Tt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Tt[e]=t;{var n=e.toLowerCase();wt[n]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var pt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function jt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ut(e){try{return er(e),!1}catch(t){return!0}}function er(e){return""+e}function ur(e,t){if(Ut(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,jt(e)),er(e)}function Tr(e){if(Ut(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),er(e)}function ra(e,t){if(Ut(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,jt(e)),er(e)}function jr(e,t){if(Ut(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,jt(e)),er(e)}function qr(e){if(Ut(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),er(e)}function wr(e){if(Ut(e))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",jt(e)),er(e)}var fr=0,_r=1,ha=2,Cr=3,mr=4,Mr=5,ga=6,Be=":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",st=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+Be+"]["+st+"]*$"),$t={},Vt={};function Er(e){return Lt.call(Vt,e)?!0:Lt.call($t,e)?!1:bt.test(e)?(Vt[e]=!0,!0):($t[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function vr(e,t,n){return t!==null?t.type===fr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===fr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case Cr:return!t;case mr:return t===!1;case Mr:return isNaN(t);case ga:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,u,d,v){this.acceptsBooleans=t===ha||t===Cr||t===mr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,fr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,_r,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,ha,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,ha,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,Cr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,Cr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,ga,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=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(ie,oe);z[t]=new R(t,_r,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,_r,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,_r,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,_r,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",_r,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,_r,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Me=!1;function We(e){!Me&&Ie.test(e)&&(Me=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ae(e,t,n,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{ur(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,v=null;if(i.type===mr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===Cr)return n;v=e.getAttribute(d)}return $(t,n,i,!1)?v===null?n:v:v===""+n?n:v}}function Qe(e,t,n,i){{if(!Er(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return ur(n,t),u===""+n?n:u}}function I(e,t,n,i){var u=P(t);if(!vr(t,u,i)){if($(t,n,u,i)&&(n=null),i||u===null){if(Er(t)){var d=t;n===null?e.removeAttribute(d):(ur(n,t),e.setAttribute(d,""+n))}return}var v=u.mustUseProperty;if(v){var y=u.propertyName;if(n===null){var C=u.type;e[y]=C===Cr?!1:""}else e[y]=n;return}var E=u.attributeName,A=u.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=u.type,J;Z===Cr||Z===mr&&n===!0?J="":(ur(n,E),J=""+n,u.sanitizeURL&&We(J.toString())),A?e.setAttributeNS(A,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),la=Symbol.iterator,sa="@@iterator";function Ga(e){if(e===null||typeof e!="object")return null;var t=la&&e[la]||e[sa];return typeof t=="function"?t:null}var Nt=Object.assign,Wn=0,is,ls,Qt,aa,Za,Gr,qn;function yc(){}yc.__reactDisabledLog=!0;function ap(){{if(Wn===0){is=console.log,ls=console.info,Qt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,qn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:yc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Wn++}}function np(){{if(Wn--,Wn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:is}),info:Nt({},e,{value:ls}),warn:Nt({},e,{value:Qt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:Za}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},e,{value:qn})})}Wn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Sc=o.ReactCurrentDispatcher,Cu;function hl(e,t,n){{if(Cu===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Cu=i&&i[1]||""}return`
|
|
24
|
-
`+
|
|
25
|
-
`),
|
|
26
|
-
`),E=y.length-1,A=
|
|
27
|
-
`+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&
|
|
23
|
+
Check the top-level render call using <`+he+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=km(U);if(!er[he]){er[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+cr(x._owner.type)+"."),Ec(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Ec(null)}}}function Rc(x,U){if(typeof x=="object"){if(Ze(x))for(var he=0;he<x.length;he++){var Ee=x[he];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),yt;!(yt=Mt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Dc(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=cr(U);Cm(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Df){Df=!0;var Xe=cr(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Ec(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Ec(null);break}}x.ref!==null&&(Ec(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Ec(null))}}function hn(x,U,he){var Ee=Ve(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Mt=xm(U);Mt?Xe+=Mt:Xe+=Hr();var yt;x===null?yt="null":Ze(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(cr(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Xe)}var Jt=_a.apply(this,arguments);if(Jt==null)return Jt;if(Ee)for(var kr=2;kr<arguments.length;kr++)Rc(arguments[kr],x);return x===l?Wg(Jt):Dc(Jt),Jt}var wa=!1;function qg(x){var U=hn.bind(null,x);return U.type=x,wa||(wa=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function ml(x,U,he){for(var Ee=lt.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Rc(arguments[Xe],Ee.type);return Dc(Ee),Ee}function vo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>10&&le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Ee._updatedFibers.clear()}}}var Ml=!1,Af=null;function sp(x){if(Af===null)try{var U=("require"+Math.random()).slice(0,7),he=N_&&N_[U];Af=he.call(N_,"timers").setImmediate}catch(Ee){Af=function(Xe){Ml===!1&&(Ml=!0,typeof MessageChannel=="undefined"&&fe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Af(x)}var Ps=0,cp=!1;function Tm(x){{var U=Ps;Ps++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Nf(Xe))}}catch(ha){throw Lf(U),ha}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,yt=!1,Jt={then:function(ha,Ea){yt=!0,Mt.then(function(en){Lf(U),Ps===0?up(en,ha,Ea):ha(en)},function(en){Lf(U),Ea(en)})}};return!cp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(cp=!0,fe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Jt}else{var kr=Ee;if(Lf(U),Ps===0){var Ur=j.current;Ur!==null&&(Nf(Ur),j.current=null);var sa={then:function(ha,Ea){j.current===null?(j.current=[],up(kr,ha,Ea)):ha(kr)}};return sa}else{var ca={then:function(ha,Ea){ha(kr)}};return ca}}}}function Lf(x){x!==Ps-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ps=x}function up(x,U,he){{var Ee=j.current;if(Ee!==null)try{Nf(Ee),sp(function(){Ee.length===0?(j.current=null,U(x)):up(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Ac=!1;function Nf(x){if(!Ac){Ac=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Ac=!1}}}var Of=hn,Em=ml,Rm=qg,Dm={map:z,forEach:ie,count:G,toArray:oe,only:Oe};Sr.Children=Dm,Sr.Component=we,Sr.Fragment=l,Sr.Profiler=f,Sr.PureComponent=ut,Sr.StrictMode=s,Sr.Suspense=m,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,Sr.act=Tm,Sr.cloneElement=Em,Sr.createContext=Ie,Sr.createElement=Of,Sr.createFactory=Rm,Sr.createRef=Tt,Sr.forwardRef=ae,Sr.isValidElement=bt,Sr.lazy=V,Sr.memo=Fe,Sr.startTransition=vo,Sr.unstable_act=Tm,Sr.useCallback=Ct,Sr.useContext=q,Sr.useDebugValue=$r,Sr.useDeferredValue=ia,Sr.useEffect=ft,Sr.useId=la,Sr.useImperativeHandle=Wt,Sr.useInsertionEffect=Je,Sr.useLayoutEffect=Ke,Sr.useMemo=kt,Sr.useReducer=ke,Sr.useRef=He,Sr.useState=pe,Sr.useSyncExternalStore=$a,Sr.useTransition=Ha,Sr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var ur=Ue((K$,Qk)=>{"use strict";Qk.exports=Xk()});var Jk=Ue(fa=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function l(Be,lt){var bt=Be.length;Be.push(lt),u(Be,lt,bt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var lt=Be[0],bt=Be.pop();return bt!==lt&&(Be[0]=bt,h(Be,bt,0)),lt}function u(Be,lt,bt){for(var $t=bt;$t>0;){var Vt=$t-1>>>1,Rr=Be[Vt];if(p(Rr,lt)>0)Be[Vt]=lt,Be[$t]=Rr,$t=Vt;else return}}function h(Be,lt,bt){for(var $t=bt,Vt=Be.length,Rr=Vt>>>1;$t<Rr;){var vr=($t+1)*2-1,Yr=Be[vr],$=vr+1,P=Be[$];if(p(Yr,lt)<0)$<Vt&&p(P,Yr)<0?(Be[$t]=P,Be[$]=lt,$t=$):(Be[$t]=Yr,Be[vr]=lt,$t=vr);else if($<Vt&&p(P,lt)<0)Be[$t]=P,Be[$]=lt,$t=$;else return}}function p(Be,lt){var bt=Be.sortIndex-lt.sortIndex;return bt!==0?bt:Be.id-lt.id}var m=1,g=2,b=3,S=4,C=5;function k(Be,lt){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;fa.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();fa.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,Q=250,N=5e3,te=1e4,_e=j,re=[],be=[],ye=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function xe(Be){for(var lt=s(be);lt!==null;){if(lt.callback===null)f(be);else if(lt.startTime<=Be)f(be),lt.sortIndex=lt.expirationTime,l(re,lt);else return;lt=s(be)}}function we(Be){if(B=!1,xe(Be),!fe)if(s(re)!==null)fe=!0,pa(Ye);else{var lt=s(be);lt!==null&&xr(we,lt.startTime-Be)}}function Ye(Be,lt){fe=!1,B&&(B=!1,mr()),le=!0;var bt=H;try{if(a)try{return $e(Be,lt)}catch(Vt){if(ge!==null){var $t=fa.unstable_now();ge.isQueued=!1}throw Vt}else return $e(Be,lt)}finally{ge=null,H=bt,le=!1}}function $e(Be,lt){var bt=lt;for(xe(bt),ge=s(re);ge!==null&&!r&&!(ge.expirationTime>bt&&(!Be||Er()));){var $t=ge.callback;if(typeof $t=="function"){ge.callback=null,H=ge.priorityLevel;var Vt=ge.expirationTime<=bt,Rr=$t(Vt);bt=fa.unstable_now(),typeof Rr=="function"?ge.callback=Rr:ge===s(re)&&f(re),xe(bt)}else f(re);ge=s(re)}if(ge!==null)return!0;var vr=s(be);return vr!==null&&xr(we,vr.startTime-bt),!1}function Pe(Be,lt){switch(Be){case m:case g:case b:case S:case C:break;default:Be=b}var bt=H;H=Be;try{return lt()}finally{H=bt}}function et(Be){var lt;switch(H){case m:case g:case b:lt=b;break;default:lt=H;break}var bt=H;H=lt;try{return Be()}finally{H=bt}}function ut(Be){var lt=H;return function(){var bt=H;H=lt;try{return Be.apply(this,arguments)}finally{H=bt}}}function it(Be,lt,bt){var $t=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Rr=bt.delay;typeof Rr=="number"&&Rr>0?Vt=$t+Rr:Vt=$t}else Vt=$t;var vr;switch(Be){case m:vr=F;break;case g:vr=Q;break;case C:vr=_e;break;case S:vr=te;break;case b:default:vr=N;break}var Yr=Vt+vr,$={id:ye++,callback:lt,priorityLevel:Be,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>$t?($.sortIndex=Vt,l(be,$),s(re)===null&&$===s(be)&&(B?mr():B=!0,xr(we,Vt-$t))):($.sortIndex=Yr,l(re,$),!fe&&!le&&(fe=!0,pa(Ye))),$}function Tt(){}function wt(){!fe&&!le&&(fe=!0,pa(Ye))}function Ze(){return s(re)}function Te(Be){Be.callback=null}function ht(){return H}var Lt=!1,jt=null,Ut=-1,tr=o,cr=-1;function Er(){var Be=fa.unstable_now()-cr;return!(Be<tr)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?tr=Math.floor(1e3/Be):tr=o}var qr=function(){if(jt!==null){var Be=fa.unstable_now();cr=Be;var lt=!0,bt=!0;try{bt=jt(lt,Be)}finally{bt?Cr():(Lt=!1,jt=null)}}else Lt=!1},Cr;if(typeof ee=="function")Cr=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var dr=new MessageChannel,gr=dr.port2;dr.port1.onmessage=qr,Cr=function(){gr.postMessage(null)}}else Cr=function(){W(qr,0)};function pa(Be){jt=Be,Lt||(Lt=!0,Cr())}function xr(Be,lt){Ut=W(function(){Be(fa.unstable_now())},lt)}function mr(){ne(Ut),Ut=-1}var Mr=ra,_a=null;fa.unstable_IdlePriority=C,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=_a,fa.unstable_UserBlockingPriority=g,fa.unstable_cancelCallback=Te,fa.unstable_continueExecution=wt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=ht,fa.unstable_getFirstCallbackNode=Ze,fa.unstable_next=et,fa.unstable_pauseExecution=Tt,fa.unstable_requestPaint=Mr,fa.unstable_runWithPriority=Pe,fa.unstable_scheduleCallback=it,fa.unstable_shouldYield=Er,fa.unstable_wrapCallback=ut,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var eT=Ue((Q$,Zk)=>{"use strict";Zk.exports=Jk()});var tT=Ue(Uo=>{"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=ur(),a=eT(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function u(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,c=i.getStackAddendum();c!==""&&(t+="%s",n=n.concat([c]));var d=n.map(function(_){return String(_)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,C=5,k=6,L=7,M=8,Y=9,O=10,j=11,F=12,Q=13,N=14,te=15,_e=16,re=17,be=18,ye=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,xe=!1,we=!0,Ye=!1,$e=!0,Pe=!0,et=!0,ut=!0,it=new Set,Tt={},wt={};function Ze(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){Tt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Tt[e]=t;{var n=e.toLowerCase();wt[n]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var i=0;i<t.length;i++)it.add(t[i])}var ht=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function jt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ut(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function cr(e,t){if(Ut(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,jt(e)),tr(e)}function Er(e){if(Ut(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),tr(e)}function ra(e,t){if(Ut(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,jt(e)),tr(e)}function jr(e,t){if(Ut(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,jt(e)),tr(e)}function qr(e){if(Ut(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.",jt(e)),tr(e)}function Cr(e){if(Ut(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.",jt(e)),tr(e)}var dr=0,gr=1,pa=2,xr=3,mr=4,Mr=5,_a=6,Be=":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",lt=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+Be+"]["+lt+"]*$"),$t={},Vt={};function Rr(e){return Lt.call(Vt,e)?!0:Lt.call($t,e)?!1:bt.test(e)?(Vt[e]=!0,!0):($t[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function vr(e,t,n){return t!==null?t.type===dr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===dr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case xr:return!t;case mr:return t===!1;case Mr:return isNaN(t);case _a:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,c,d,_){this.acceptsBooleans=t===pa||t===xr||t===mr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=_}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,dr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,gr,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,pa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,pa,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,xr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,xr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,_a,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=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(ie,oe);z[t]=new R(t,gr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",gr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Me=!1;function We(e){!Me&&Ie.test(e)&&(Me=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ae(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{cr(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,_=null;if(i.type===mr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===xr)return n;_=e.getAttribute(d)}return $(t,n,i,!1)?_===null?n:_:_===""+n?n:_}}function Qe(e,t,n,i){{if(!Rr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return cr(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!vr(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Rr(t)){var d=t;n===null?e.removeAttribute(d):(cr(n,t),e.setAttribute(d,""+n))}return}var _=c.mustUseProperty;if(_){var y=c.propertyName;if(n===null){var w=c.type;e[y]=w===xr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=c.type,J;Z===xr||Z===mr&&n===!0?J="":(cr(n,E),J=""+n,c.sanitizeURL&&We(J.toString())),A?e.setAttributeNS(A,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function $a(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Nt=Object.assign,qn=0,ls,ss,Qt,aa,Za,Gr,Yn;function Su(){}Su.__reactDisabledLog=!0;function op(){{if(qn===0){ls=console.log,ss=console.info,Qt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Su,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function ip(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:ls}),info:Nt({},e,{value:ss}),warn:Nt({},e,{value:Qt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:Za}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wu=o.ReactCurrentDispatcher,xc;function hl(e,t,n){{if(xc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);xc=i&&i[1]||""}return`
|
|
24
|
+
`+xc+e}}var kc=!1,Tf;{var Sm=typeof WeakMap=="function"?WeakMap:Map;Tf=new Sm}function lp(e,t){if(!e||kc)return"";{var n=Tf.get(e);if(n!==void 0)return n}var i;kc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=wu.current,wu.current=null,op();try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(ve){i=ve}Reflect.construct(e,[],_)}else{try{_.call()}catch(ve){i=ve}e.call(_.prototype)}}else{try{throw Error()}catch(ve){i=ve}e()}}catch(ve){if(ve&&i&&typeof ve.stack=="string"){for(var y=ve.stack.split(`
|
|
25
|
+
`),w=i.stack.split(`
|
|
26
|
+
`),E=y.length-1,A=w.length-1;E>=1&&A>=0&&y[E]!==w[A];)A--;for(;E>=1&&A>=0;E--,A--)if(y[E]!==w[A]){if(E!==1||A!==1)do if(E--,A--,A<0||y[E]!==w[A]){var Z=`
|
|
27
|
+
`+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Tf.set(e,Z),Z}while(E>=1&&A>=0);break}}}finally{kc=!1,wu.current=d,ip(),Error.prepareStackTrace=c}var J=e?e.displayName||e.name:"",me=J?hl(J):"";return typeof e=="function"&&Tf.set(e,me),me}function Ug(e,t,n){return lp(e,!0)}function Tc(e,t,n){return lp(e,!1)}function wm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ef(e,t,n){if(e==null)return"";if(typeof e=="function")return lp(e,wm(e));if(typeof e=="string")return hl(e);switch(e){case ke:return hl("Suspense");case He:return hl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return Tc(e.render);case ft:return Ef(e.type,t,n);case Je:{var i=e,c=i._payload,d=i._init;try{return Ef(d(c),t,n)}catch(_){}}}return""}function Rf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case C:return hl(e.type);case _e:return hl("Lazy");case Q:return hl("Suspense");case ye:return hl("SuspenseList");case p:case g:case te:return Tc(e.type);case j:return Tc(e.type.render);case m:return Ug(e.type);default:return""}}function Cm(e){try{var t="",n=e;do t+=Rf(n),n=n.return;while(n);return t}catch(i){return`
|
|
28
28
|
Error generating stack: `+i.message+`
|
|
29
|
-
`+i.stack}}function
|
|
29
|
+
`+i.stack}}function Ec(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Df(e){return e.displayName||"Context"}function Hr(e){if(e==null)return null;if(typeof e.tag=="number"&&u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case se:return"Fragment";case ae:return"Portal";case Fe:return"Profiler";case Ve:return"StrictMode";case ke:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Df(t)+".Consumer";case D:var n=e;return Df(n._context)+".Provider";case pe:return Ec(e,e.render,"ForwardRef");case ft:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Je:{var c=e,d=c._payload,_=c._init;try{return Hr(_(d))}catch(y){return null}}}return null}function Vg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function xm(e){return e.displayName||"Context"}function er(e){var t=e.tag,n=e.type;switch(t){case fe:return"Cache";case Y:var i=n;return xm(i)+".Consumer";case O:var c=n;return xm(c._context)+".Provider";case be:return"DehydratedFragment";case j:return Vg(n,n.render,"ForwardRef");case L:return"Fragment";case C:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case _e:return Hr(n);case M:return n===Ve?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case ge:return"Scope";case Q:return"Suspense";case ye:return"SuspenseList";case B:return"TracingMarker";case m:case p:case re:case g:case N:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var km=o.ReactDebugCurrentFrame,In=null,Rc=!1;function Dc(){{if(In===null)return null;var e=In._debugOwner;if(e!==null&&typeof e!="undefined")return er(e)}return null}function Wg(){return In===null?"":Cm(In)}function hn(){km.getCurrentStack=null,In=null,Rc=!1}function wa(e){km.getCurrentStack=e===null?null:Wg,In=e,Rc=!1}function qg(){return In}function ml(e){Rc=e}function vo(e){return""+e}function Ml(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Cr(e),e;default:return""}}var Af={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function sp(e,t){Af[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||u("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||u("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ps(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cp(e){return e._valueTracker}function Tm(e){e._valueTracker=null}function Lf(e){var t="";return e&&(Ps(e)?t=e.checked?"true":"false":t=e.value),t}function up(e){var t=Ps(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Cr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var c=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(y){Cr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var _={getValue:function(){return i},setValue:function(y){Cr(y),i=""+y},stopTracking:function(){Tm(e),delete e[t]}};return _}}function Ac(e){cp(e)||(e._valueTracker=up(e))}function Nf(e){if(!e)return!1;var t=cp(e);if(!t)return!0;var n=t.getValue(),i=Lf(e);return i!==n?(t.setValue(i),!0):!1}function Of(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var Em=!1,Rm=!1,Dm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function he(e,t){var n=e,i=t.checked,c=Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Ee(e,t){sp("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Rm&&(u("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Dc()||"A component",t.type),Rm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Em&&(u("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Dc()||"A component",t.type),Em=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ml(t.value!=null?t.value:i),controlled:U(t)}}function Xe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Mt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(u("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),x=!0),n._wrapperState.controlled&&!i&&!Dm&&(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"),Dm=!0)}Xe(e,t);var c=Ml(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=vo(c)):n.value!==vo(c)&&(n.value=vo(c));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,c):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,Ml(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function yt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,d=c==="submit"||c==="reset";if(d&&(t.value===void 0||t.value===null))return;var _=vo(i._wrapperState.initialValue);n||_!==i.value&&(i.value=_),i.defaultValue=_}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Jt(e,t){var n=e;Mt(n,t),kr(n,t)}function kr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;cr(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<c.length;d++){var _=c[d];if(!(_===e||_.form!==e.form)){var y=vv(_);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Nf(_),Mt(_,y)}}}}function Ur(e,t,n){(t!=="number"||Of(e.ownerDocument)!==e)&&(n==null?e.defaultValue=vo(e._wrapperState.initialValue):e.defaultValue!==vo(n)&&(e.defaultValue=vo(n)))}var sa=!1,ca=!1,ha=!1;function Ea(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||ca||(ca=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ha||(ha=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!sa&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sa=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",vo(Ml(t.value)))}var Mf=Array.isArray;function tn(e){return Mf(e)}var Pf;Pf=!1;function Am(){var e=Dc();return e?`
|
|
30
30
|
|
|
31
|
-
Check the render method of \``+e+"`.":""}var up=["value","defaultValue"];function Ug(e){{ip("select",e);for(var t=0;t<up.length;t++){var n=up[t];if(e[n]!=null){var i=tn(e[n]);e.multiple&&!i?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Em()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Em())}}}}function Ps(e,t,n,i){var u=e.options;if(t){for(var d=n,v={},y=0;y<d.length;y++)v["$"+d[y]]=!0;for(var C=0;C<u.length;C++){var E=v.hasOwnProperty("$"+u[C].value);u[C].selected!==E&&(u[C].selected=E),E&&i&&(u[C].defaultSelected=!0)}}else{for(var A=mo(Ol(n)),Z=null,J=0;J<u.length;J++){if(u[J].value===A){u[J].selected=!0,i&&(u[J].defaultSelected=!0);return}Z===null&&!u[J].disabled&&(Z=u[J])}Z!==null&&(Z.selected=!0)}}function cp(e,t){return Nt({},t,{value:void 0})}function zw(e,t){var n=e;Ug(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Mf&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Mf=!0)}function Q9(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ps(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ps(n,!!t.multiple,t.defaultValue,!0)}function J9(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?Ps(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ps(n,!!t.multiple,t.defaultValue,!0):Ps(n,!!t.multiple,t.multiple?[]:"",!1))}function Z9(e,t){var n=e,i=t.value;i!=null&&Ps(n,!!t.multiple,i,!1)}var Bw=!1;function Vg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:mo(n._wrapperState.initialValue)});return i}function Fw(e,t){var n=e;ip("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Bw&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ru()||"A component"),Bw=!0);var i=t.value;if(i==null){var u=t.children,d=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}d=u}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Ol(i)}}function jw(e,t){var n=e,i=Ol(t.value),u=Ol(t.defaultValue);if(i!=null){var d=mo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}u!=null&&(n.defaultValue=mo(u))}function Hw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function eM(e,t){jw(e,t)}var Is="http://www.w3.org/1999/xhtml",tM="http://www.w3.org/1998/Math/MathML",Wg="http://www.w3.org/2000/svg";function qg(e){switch(e){case"svg":return Wg;case"math":return tM;default:return Is}}function Yg(e,t){return e==null||e===Is?qg(t):e===Wg&&t==="foreignObject"?Is:e}var rM=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Rm,Uw=rM(function(e,t){if(e.namespaceURI===Wg&&!("innerHTML"in e)){Rm=Rm||document.createElement("div"),Rm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Rm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),vo=1,zs=3,Ka=8,Bs=9,$g=11,Dm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},aM={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"]},fp={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 nM(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var oM=["Webkit","ms","Moz","O"];Object.keys(fp).forEach(function(e){oM.forEach(function(t){fp[nM(t,e)]=fp[e]})});function Gg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(fp.hasOwnProperty(e)&&fp[e])?t+"px":(jr(t,e),(""+t).trim())}var iM=/([A-Z])/g,lM=/^ms-/;function sM(e){return e.replace(iM,"-$1").toLowerCase().replace(lM,"-ms-")}var Vw=function(){};{var uM=/^(?:webkit|moz|o)[A-Z]/,cM=/^-ms-/,fM=/-(.)/g,Ww=/;\s*$/,Pf={},Kg={},qw=!1,Yw=!1,dM=function(e){return e.replace(fM,function(t,n){return n.toUpperCase()})},pM=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,dM(e.replace(cM,"ms-"))))},hM=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},mM=function(e,t){Kg.hasOwnProperty(t)&&Kg[t]||(Kg[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Ww,"")))},vM=function(e,t){qw||(qw=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},_M=function(e,t){Yw||(Yw=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};Vw=function(e,t){e.indexOf("-")>-1?pM(e):uM.test(e)?hM(e):Ww.test(t)&&mM(e,t),typeof t=="number"&&(isNaN(t)?vM(e,t):isFinite(t)||_M(e,t))}}var gM=Vw;function bM(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var d=i.indexOf("--")===0;t+=n+(d?i:sM(i))+":",t+=Gg(i,u,d),n=";"}}return t||null}}function $w(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||gM(i,t[i]);var d=Gg(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,d):n[i]=d}}function yM(e){return e==null||typeof e=="boolean"||e===""}function Gw(e){var t={};for(var n in e)for(var i=aM[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function SM(e,t){{if(!t)return;var n=Gw(e),i=Gw(t),u={};for(var d in n){var v=n[d],y=i[d];if(y&&v!==y){var C=v+","+y;if(u[C])continue;u[C]=!0,c("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",yM(e[v])?"Removing":"Updating",v,y)}}}}var wM={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},CM=Nt({menuitem:!0},wM),xM="__html";function Xg(e,t){if(t){if(CM[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"||!(xM in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&c("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function wc(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 Am={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"},Kw={"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},If={},kM=new RegExp("^(aria)-["+st+"]*$"),TM=new RegExp("^(aria)[A-Z]["+st+"]*$");function EM(e,t){{if(Lt.call(If,t)&&If[t])return!0;if(TM.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Kw.hasOwnProperty(n)?n:null;if(i==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),If[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),If[t]=!0,!0}if(kM.test(t)){var u=t.toLowerCase(),d=Kw.hasOwnProperty(u)?u:null;if(d==null)return If[t]=!0,!1;if(t!==d)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),If[t]=!0,!0}}return!0}function RM(e,t){{var n=[];for(var i in t){var u=EM(e,i);u||n.push(i)}var d=n.map(function(v){return"`"+v+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function DM(e,t){wc(e,t)||RM(e,t)}var Xw=!1;function AM(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Xw&&(Xw=!0,e==="select"&&t.multiple?c("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Qw=function(){};{var Yn={},Jw=/^on./,LM=/^on[^A-Z]/,NM=new RegExp("^(aria)-["+st+"]*$"),OM=new RegExp("^(aria)[A-Z]["+st+"]*$");Qw=function(e,t,n,i){if(Lt.call(Yn,t)&&Yn[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Yn[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,v=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=v.hasOwnProperty(u)?v[u]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Yn[t]=!0,!0;if(Jw.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),Yn[t]=!0,!0}else if(Jw.test(t))return LM.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0,!0;if(NM.test(t)||OM.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yn[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yn[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Yn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Yn[t]=!0,!0;var C=P(t),E=C!==null&&C.type===fr;if(Am.hasOwnProperty(u)){var A=Am[u];if(A!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,A),Yn[t]=!0,!0}else if(!E&&t!==u)return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),Yn[t]=!0,!0;return typeof n=="boolean"&&Yr(t,n,C,!1)?(n?c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Yn[t]=!0,!0):E?!0:Yr(t,n,C,!1)?(Yn[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===Cr&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Yn[t]=!0),!0)}}var MM=function(e,t,n){{var i=[];for(var u in t){var d=Qw(e,u,t[u],n);d||i.push(u)}var v=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",v,e):i.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",v,e)}};function PM(e,t,n){wc(e,t)||MM(e,t,n)}var Zw=1,Qg=2,dp=4,IM=Zw|Qg|dp,pp=null;function zM(e){pp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pp=e}function BM(){pp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),pp=null}function FM(e){return e===pp}function Jg(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var Zg=null,zf=null,Bf=null;function eC(e){var t=zu(e);if(t){if(typeof Zg!="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=pv(n);Zg(t.stateNode,t.type,i)}}}function jM(e){Zg=e}function tC(e){zf?Bf?Bf.push(e):Bf=[e]:zf=e}function HM(){return zf!==null||Bf!==null}function rC(){if(zf){var e=zf,t=Bf;if(zf=null,Bf=null,eC(e),t)for(var n=0;n<t.length;n++)eC(t[n])}}var aC=function(e,t){return e(t)},nC=function(){},eb=!1;function UM(){var e=HM();e&&(nC(),rC())}function oC(e,t,n){if(eb)return e(t,n);eb=!0;try{return aC(e,t,n)}finally{eb=!1,UM()}}function VM(e,t,n){aC=e,nC=n}function WM(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function qM(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&&WM(t));default:return!1}}function hp(e,t){var n=e.stateNode;if(n===null)return null;var i=pv(n);if(i===null)return null;var u=i[t];if(qM(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var tb=!1;if(pt)try{var mp={};Object.defineProperty(mp,"passive",{get:function(){tb=!0}}),window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){tb=!1}function iC(e,t,n,i,u,d,v,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var lC=iC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var rb=document.createElement("react");lC=function(t,n,i,u,d,v,y,C,E){if(typeof document=="undefined"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var A=document.createEvent("Event"),Z=!1,J=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function we(){rb.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,we(),n.apply(i,rt),J=!1}var St,dr=!1,pr=!1;function ue(ce){if(St=ce.error,dr=!0,St===null&&ce.colno===0&&ce.lineno===0&&(pr=!0),ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),rb.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),rb.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&J&&(dr?pr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ue),!Z)return we(),iC.apply(this,arguments)}}var YM=lC,Ff=!1,Lm=null,Nm=!1,ab=null,$M={onError:function(e){Ff=!0,Lm=e}};function nb(e,t,n,i,u,d,v,y,C){Ff=!1,Lm=null,YM.apply($M,arguments)}function GM(e,t,n,i,u,d,v,y,C){if(nb.apply(this,arguments),Ff){var E=ob();Nm||(Nm=!0,ab=E)}}function KM(){if(Nm){var e=ab;throw Nm=!1,ab=null,e}}function XM(){return Ff}function ob(){if(Ff){var e=Lm;return Ff=!1,Lm=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 jf(e){return e._reactInternals}function QM(e){return e._reactInternals!==void 0}function JM(e,t){e._reactInternals=t}var zt=0,Hf=1,Xa=2,kr=4,Cc=16,vp=32,ib=64,Pr=128,Fs=256,Au=512,xc=1024,Ml=2048,js=4096,kc=8192,Om=16384,ZM=Ml|kr|ib|Au|xc|Om,eP=32767,_p=32768,$n=65536,lb=131072,sC=1048576,sb=2097152,Tc=4194304,ub=8388608,Hs=16777216,Mm=33554432,cb=kr|xc|0,fb=Xa|kr|Cc|vp|Au|js|kc,gp=kr|ib|Au|kc,Uf=Ml|Cc,Us=Tc|ub|sb,tP=o.ReactCurrentOwner;function Ec(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))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function uC(e){if(e.tag===Q){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function cC(e){return e.tag===b?e.stateNode.containerInfo:null}function rP(e){return Ec(e)===e}function aP(e){{var t=tP.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=jf(e);return u?Ec(u)===u:!1}function fC(e){if(Ec(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Ec(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,u=t;;){var d=i.return;if(d===null)break;var v=d.alternate;if(v===null){var y=d.return;if(y!==null){i=u=y;continue}break}if(d.child===v.child){for(var C=d.child;C;){if(C===i)return fC(d),e;if(C===u)return fC(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=d,u=v;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,u=v;break}if(A===u){E=!0,u=d,i=v;break}A=A.sibling}if(!E){for(A=v.child;A;){if(A===i){E=!0,i=v,u=d;break}if(A===u){E=!0,u=v,i=d;break}A=A.sibling}if(!E)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==u)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function pC(e){var t=dC(e);return t!==null?hC(t):null}function hC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=hC(t);if(n!==null)return n;t=t.sibling}return null}function nP(e){var t=dC(e);return t!==null?mC(t):null}function mC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=mC(t);if(n!==null)return n}t=t.sibling}return null}var vC=a.unstable_scheduleCallback,oP=a.unstable_cancelCallback,iP=a.unstable_shouldYield,lP=a.unstable_requestPaint,vn=a.unstable_now,sP=a.unstable_getCurrentPriorityLevel,Pm=a.unstable_ImmediatePriority,db=a.unstable_UserBlockingPriority,Rc=a.unstable_NormalPriority,uP=a.unstable_LowPriority,pb=a.unstable_IdlePriority,cP=a.unstable_yieldValue,fP=a.unstable_setDisableYieldValue,Dc=null,Cn=null,nt=null,ss=!1,Pl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function dP(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Pe&&(e=Nt({},e,{getLaneLabelMap:gP,injectProfilingHooks:_P})),Dc=t.inject(e),Cn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pP(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Dc,e,t)}catch(n){ss||(ss=!0,c("React instrumentation encountered an error: %s",n))}}function hP(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(et){var i;switch(t){case Io:i=Pm;break;case Ws:i=db;break;case qs:i=Rc;break;case Um:i=pb;break;default:i=Rc;break}Cn.onCommitFiberRoot(Dc,e,i,n)}else Cn.onCommitFiberRoot(Dc,e,void 0,n)}catch(u){ss||(ss=!0,c("React instrumentation encountered an error: %s",u))}}function mP(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vP(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _n(e){if(typeof cP=="function"&&(fP(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _P(e){nt=e}function gP(){{for(var e=new Map,t=1,n=0;n<mb;n++){var i=BP(t);e.set(t,i),t*=2}return e}}function bP(e){nt!==null&&typeof nt.markCommitStarted=="function"&&nt.markCommitStarted(e)}function _C(){nt!==null&&typeof nt.markCommitStopped=="function"&&nt.markCommitStopped()}function bp(e){nt!==null&&typeof nt.markComponentRenderStarted=="function"&&nt.markComponentRenderStarted(e)}function Vf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function yP(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function SP(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function wP(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function CP(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function xP(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function kP(){nt!==null&&typeof nt.markComponentLayoutEffectMountStopped=="function"&&nt.markComponentLayoutEffectMountStopped()}function gC(e){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStarted=="function"&&nt.markComponentLayoutEffectUnmountStarted(e)}function bC(){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStopped=="function"&&nt.markComponentLayoutEffectUnmountStopped()}function TP(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function EP(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function RP(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function DP(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function AP(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function LP(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function yC(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function NP(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function SC(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function OP(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function MP(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function hb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Ot=0,gr=1,Kr=2,Ma=8,us=16,wC=Math.clz32?Math.clz32:zP,PP=Math.log,IP=Math.LN2;function zP(e){var t=e>>>0;return t===0?32:31-(PP(t)/IP|0)|0}var mb=31,ze=0,gn=0,qt=1,Wf=2,Vs=4,Ac=8,cs=16,yp=32,qf=4194240,Sp=64,vb=128,_b=256,gb=512,bb=1024,yb=2048,Sb=4096,wb=8192,Cb=16384,xb=32768,kb=65536,Tb=131072,Eb=262144,Rb=524288,Db=1048576,Ab=2097152,Im=130023424,Yf=4194304,Lb=8388608,Nb=16777216,Ob=33554432,Mb=67108864,CC=Yf,wp=134217728,xC=268435455,Cp=268435456,Lc=536870912,Mo=1073741824;function BP(e){{if(e&qt)return"Sync";if(e&Wf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Ac)return"DefaultHydration";if(e&cs)return"Default";if(e&yp)return"TransitionHydration";if(e&qf)return"Transition";if(e&Im)return"Retry";if(e&wp)return"SelectiveHydration";if(e&Cp)return"IdleHydration";if(e&Lc)return"Idle";if(e&Mo)return"Offscreen"}}var va=-1,zm=Sp,Bm=Yf;function xp(e){switch(Nc(e)){case qt:return qt;case Wf:return Wf;case Vs:return Vs;case Ac:return Ac;case cs:return cs;case yp:return yp;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return e&qf;case Yf:case Lb:case Nb:case Ob:case Mb:return eℑcase wp:return wp;case Cp:return Cp;case Lc:return Lc;case Mo:return Mo;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Fm(e,t){var n=e.pendingLanes;if(n===ze)return ze;var i=ze,u=e.suspendedLanes,d=e.pingedLanes,v=n&xC;if(v!==ze){var y=v&~u;if(y!==ze)i=xp(y);else{var C=v&d;C!==ze&&(i=xp(C))}}else{var E=n&~u;E!==ze?i=xp(E):d!==ze&&(i=xp(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&u)===ze){var A=Nc(i),Z=Nc(t);if(A>=Z||A===cs&&(Z&qf)!==ze)return t}(i&Vs)!==ze&&(i|=n&cs);var J=e.entangledLanes;if(J!==ze)for(var me=e.entanglements,ve=i&J;ve>0;){var we=Oc(ve),rt=1<<we;i|=me[we],ve&=~rt}return i}function FP(e,t){for(var n=e.eventTimes,i=va;t>0;){var u=Oc(t),d=1<<u,v=n[u];v>i&&(i=v),t&=~d}return i}function jP(e,t){switch(e){case qt:case Wf:case Vs:return t+250;case Ac:case cs:case yp:case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return t+5e3;case Yf:case Lb:case Nb:case Ob:case Mb:return va;case wp:case Cp:case Lc:case Mo:return va;default:return c("Should have found matching lanes. This is a bug in React."),va}}function HP(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,v=n;v>0;){var y=Oc(v),C=1<<y,E=d[y];E===va?((C&i)===ze||(C&u)!==ze)&&(d[y]=jP(C,t)):E<=t&&(e.expiredLanes|=C),v&=~C}}function UP(e){return xp(e.pendingLanes)}function Pb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function VP(e){return(e&qt)!==ze}function Ib(e){return(e&xC)!==ze}function kC(e){return(e&Im)===e}function WP(e){var t=qt|Vs|cs;return(e&t)===ze}function qP(e){return(e&qf)===e}function jm(e,t){var n=Wf|Vs|Ac|cs;return(t&n)!==ze}function YP(e,t){return(t&e.expiredLanes)!==ze}function TC(e){return(e&qf)!==ze}function EC(){var e=zm;return zm<<=1,(zm&qf)===ze&&(zm=Sp),e}function $P(){var e=Bm;return Bm<<=1,(Bm&Im)===ze&&(Bm=Yf),e}function Nc(e){return e&-e}function kp(e){return Nc(e)}function Oc(e){return 31-wC(e)}function zb(e){return Oc(e)}function Po(e,t){return(e&t)!==ze}function $f(e,t){return(e&t)===t}function or(e,t){return e|t}function Hm(e,t){return e&~t}function RC(e,t){return e&t}function H$(e){return e}function GP(e,t){return e!==gn&&e<t?e:t}function Bb(e){for(var t=[],n=0;n<mb;n++)t.push(e);return t}function Tp(e,t,n){e.pendingLanes|=t,t!==Lc&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,u=zb(t);i[u]=n}function KP(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Oc(i),d=1<<u;n[u]=va,i&=~d}}function DC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function XP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,d=e.expirationTimes,v=n;v>0;){var y=Oc(v),C=1<<y;i[y]=ze,u[y]=va,d[y]=va,v&=~C}}function Fb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var d=Oc(u),v=1<<d;v&t|i[d]&t&&(i[d]|=t),u&=~v}}function QP(e,t){var n=Nc(t),i;switch(n){case Vs:i=Wf;break;case cs:i=Ac;break;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Yf:case Lb:case Nb:case Ob:case Mb:i=yp;break;case Lc:i=Cp;break;default:i=gn;break}return(i&(e.suspendedLanes|t))!==gn?gn:i}function AC(e,t,n){if(Pl)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=zb(n),d=1<<u,v=i[u];v.add(t),n&=~d}}function LC(e,t){if(Pl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=zb(t),d=1<<u,v=n[u];v.size>0&&(v.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),v.clear()),t&=~d}}function NC(e,t){return null}var Io=qt,Ws=Vs,qs=cs,Um=Lc,Ep=gn;function Il(){return Ep}function bn(e){Ep=e}function JP(e,t){var n=Ep;try{return Ep=e,t()}finally{Ep=n}}function ZP(e,t){return e!==0&&e<t?e:t}function eI(e,t){return e===0||e>t?e:t}function jb(e,t){return e!==0&&e<t}function OC(e){var t=Nc(e);return jb(Io,t)?jb(Ws,t)?Ib(t)?qs:Um:Ws:Io}function Vm(e){var t=e.current.memoizedState;return t.isDehydrated}var MC;function tI(e){MC=e}function rI(e){MC(e)}var Hb;function aI(e){Hb=e}var PC;function nI(e){PC=e}var IC;function oI(e){IC=e}var zC;function iI(e){zC=e}var Ub=!1,Wm=[],Lu=null,Nu=null,Ou=null,Rp=new Map,Dp=new Map,Mu=[],lI=["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 sI(e){return lI.indexOf(e)>-1}function uI(e,t,n,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]}}function BC(e,t){switch(e){case"focusin":case"focusout":Lu=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":Ou=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Rp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Dp.delete(i);break}}}function Ap(e,t,n,i,u,d){if(e===null||e.nativeEvent!==d){var v=uI(t,n,i,u,d);if(t!==null){var y=zu(t);y!==null&&Hb(y)}return v}e.eventSystemFlags|=i;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function cI(e,t,n,i,u){switch(t){case"focusin":{var d=u;return Lu=Ap(Lu,e,t,n,i,d),!0}case"dragenter":{var v=u;return Nu=Ap(Nu,e,t,n,i,v),!0}case"mouseover":{var y=u;return Ou=Ap(Ou,e,t,n,i,y),!0}case"pointerover":{var C=u,E=C.pointerId;return Rp.set(E,Ap(Rp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=u,Z=A.pointerId;return Dp.set(Z,Ap(Dp.get(Z)||null,e,t,n,i,A)),!0}}return!1}function FC(e){var t=Ic(e.target);if(t!==null){var n=Ec(t);if(n!==null){var i=n.tag;if(i===Q){var u=uC(n);if(u!==null){e.blockedOn=u,zC(e.priority,function(){PC(n)});return}}else if(i===b){var d=n.stateNode;if(Vm(d)){e.blockedOn=cC(n);return}}}}e.blockedOn=null}function fI(e){for(var t=IC(),n={blockedOn:null,target:e,priority:t},i=0;i<Mu.length&&jb(t,Mu[i].priority);i++);Mu.splice(i,0,n),i===0&&FC(n)}function qm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=qb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,d=new u.constructor(u.type,u);zM(d),u.target.dispatchEvent(d),BM()}else{var v=zu(i);return v!==null&&Hb(v),e.blockedOn=i,!1}t.shift()}return!0}function jC(e,t,n){qm(e)&&n.delete(t)}function dI(){Ub=!1,Lu!==null&&qm(Lu)&&(Lu=null),Nu!==null&&qm(Nu)&&(Nu=null),Ou!==null&&qm(Ou)&&(Ou=null),Rp.forEach(jC),Dp.forEach(jC)}function Lp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ub||(Ub=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,dI)))}function Np(e){if(Wm.length>0){Lp(Wm[0],e);for(var t=1;t<Wm.length;t++){var n=Wm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lu!==null&&Lp(Lu,e),Nu!==null&&Lp(Nu,e),Ou!==null&&Lp(Ou,e);var i=function(y){return Lp(y,e)};Rp.forEach(i),Dp.forEach(i);for(var u=0;u<Mu.length;u++){var d=Mu[u];d.blockedOn===e&&(d.blockedOn=null)}for(;Mu.length>0;){var v=Mu[0];if(v.blockedOn!==null)break;FC(v),v.blockedOn===null&&Mu.shift()}}var Gf=o.ReactCurrentBatchConfig,Vb=!0;function HC(e){Vb=!!e}function pI(){return Vb}function hI(e,t,n){var i=UC(t),u;switch(i){case Io:u=mI;break;case Ws:u=vI;break;case qs:default:u=Wb;break}return u.bind(null,t,n,e)}function mI(e,t,n,i){var u=Il(),d=Gf.transition;Gf.transition=null;try{bn(Io),Wb(e,t,n,i)}finally{bn(u),Gf.transition=d}}function vI(e,t,n,i){var u=Il(),d=Gf.transition;Gf.transition=null;try{bn(Ws),Wb(e,t,n,i)}finally{bn(u),Gf.transition=d}}function Wb(e,t,n,i){Vb&&_I(e,t,n,i)}function _I(e,t,n,i){var u=qb(e,t,n,i);if(u===null){o1(e,t,i,Ym,n),BC(e,i);return}if(cI(u,e,t,n,i)){i.stopPropagation();return}if(BC(e,i),t&dp&&sI(e)){for(;u!==null;){var d=zu(u);d!==null&&rI(d);var v=qb(e,t,n,i);if(v===null&&o1(e,t,i,Ym,n),v===u)break;u=v}u!==null&&i.stopPropagation();return}o1(e,t,i,null,n)}var Ym=null;function qb(e,t,n,i){Ym=null;var u=Jg(i),d=Ic(u);if(d!==null){var v=Ec(d);if(v===null)d=null;else{var y=v.tag;if(y===Q){var C=uC(v);if(C!==null)return C;d=null}else if(y===b){var E=v.stateNode;if(Vm(E))return cC(v);d=null}else v!==d&&(d=null)}}return Ym=d,null}function UC(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 Io;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=sP();switch(t){case Pm:return Io;case db:return Ws;case Rc:case uP:return qs;case pb:return Um;default:return qs}}default:return qs}}function gI(e,t,n){return e.addEventListener(t,n,!1),n}function bI(e,t,n){return e.addEventListener(t,n,!0),n}function yI(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function SI(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Op=null,Yb=null,Mp=null;function wI(e){return Op=e,Yb=WC(),!0}function CI(){Op=null,Yb=null,Mp=null}function VC(){if(Mp)return Mp;var e,t=Yb,n=t.length,i,u=WC(),d=u.length;for(e=0;e<n&&t[e]===u[e];e++);var v=n-e;for(i=1;i<=v&&t[n-i]===u[d-i];i++);var y=i>1?1-i:void 0;return Mp=u.slice(e,y),Mp}function WC(){return"value"in Op?Op.value:Op.textContent}function $m(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 Gm(){return!0}function qC(){return!1}function zo(e){function t(n,i,u,d,v){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Gm:this.isDefaultPrevented=qC,this.isPropagationStopped=qC,this}return Nt(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=Gm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Gm)},persist:function(){},isPersistent:Gm}),t}var Kf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$b=zo(Kf),Pp=Nt({},Kf,{view:0,detail:0}),xI=zo(Pp),Gb,Kb,Ip;function kI(e){e!==Ip&&(Ip&&e.type==="mousemove"?(Gb=e.screenX-Ip.screenX,Kb=e.screenY-Ip.screenY):(Gb=0,Kb=0),Ip=e)}var Km=Nt({},Pp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qb,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:(kI(e),Gb)},movementY:function(e){return"movementY"in e?e.movementY:Kb}}),YC=zo(Km),TI=Nt({},Km,{dataTransfer:0}),EI=zo(TI),RI=Nt({},Pp,{relatedTarget:0}),Xb=zo(RI),DI=Nt({},Kf,{animationName:0,elapsedTime:0,pseudoElement:0}),AI=zo(DI),LI=Nt({},Kf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NI=zo(LI),OI=Nt({},Kf,{data:0}),$C=zo(OI),MI=$C,PI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},II={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 zI(e){if(e.key){var t=PI[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=$m(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?II[e.keyCode]||"Unidentified":""}var BI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function FI(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=BI[e];return i?!!n[i]:!1}function Qb(e){return FI}var jI=Nt({},Pp,{key:zI,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qb,charCode:function(e){return e.type==="keypress"?$m(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$m(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),HI=zo(jI),UI=Nt({},Km,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=zo(UI),VI=Nt({},Pp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qb}),WI=zo(VI),qI=Nt({},Kf,{propertyName:0,elapsedTime:0,pseudoElement:0}),YI=zo(qI),$I=Nt({},Km,{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}),GI=zo($I),KI=[9,13,27,32],KC=229,Jb=pt&&"CompositionEvent"in window,zp=null;pt&&"documentMode"in document&&(zp=document.documentMode);var XI=pt&&"TextEvent"in window&&!zp,XC=pt&&(!Jb||zp&&zp>8&&zp<=11),QC=32,JC=String.fromCharCode(QC);function QI(){Ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ze("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ZC=!1;function JI(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ZI(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function ez(e,t){return e==="keydown"&&t.keyCode===KC}function e3(e,t){switch(e){case"keyup":return KI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==KC;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t3(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function r3(e){return e.locale==="ko"}var Xf=!1;function tz(e,t,n,i,u){var d,v;if(Jb?d=ZI(t):Xf?e3(t,i)&&(d="onCompositionEnd"):ez(t,i)&&(d="onCompositionStart"),!d)return null;XC&&!r3(i)&&(!Xf&&d==="onCompositionStart"?Xf=wI(u):d==="onCompositionEnd"&&Xf&&(v=VC()));var y=ev(n,d);if(y.length>0){var C=new $C(d,t,null,i,u);if(e.push({event:C,listeners:y}),v)C.data=v;else{var E=t3(i);E!==null&&(C.data=E)}}}function rz(e,t){switch(e){case"compositionend":return t3(t);case"keypress":var n=t.which;return n!==QC?null:(ZC=!0,JC);case"textInput":var i=t.data;return i===JC&&ZC?null:i;default:return null}}function az(e,t){if(Xf){if(e==="compositionend"||!Jb&&e3(e,t)){var n=VC();return CI(),Xf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!JI(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return XC&&!r3(t)?null:t.data;default:return null}}function nz(e,t,n,i,u){var d;if(XI?d=rz(t,i):d=az(t,i),!d)return null;var v=ev(n,"onBeforeInput");if(v.length>0){var y=new MI("onBeforeInput","beforeinput",null,i,u);e.push({event:y,listeners:v}),y.data=d}}function oz(e,t,n,i,u,d,v){tz(e,t,n,i,u),nz(e,t,n,i,u)}var iz={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 a3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iz[e.type]:t==="textarea"}function lz(e){if(!pt)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 sz(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n3(e,t,n,i){tC(i);var u=ev(t,"onChange");if(u.length>0){var d=new $b("onChange","change",null,n,i);e.push({event:d,listeners:u})}}var Bp=null,Fp=null;function uz(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function cz(e){var t=[];n3(t,Fp,e,Jg(e)),oC(fz,t)}function fz(e){w3(e,0)}function Xm(e){var t=rd(e);if(Lf(t))return e}function dz(e,t){if(e==="change")return t}var o3=!1;pt&&(o3=lz("input")&&(!document.documentMode||document.documentMode>9));function pz(e,t){Bp=e,Fp=t,Bp.attachEvent("onpropertychange",l3)}function i3(){Bp&&(Bp.detachEvent("onpropertychange",l3),Bp=null,Fp=null)}function l3(e){e.propertyName==="value"&&Xm(Fp)&&cz(e)}function hz(e,t,n){e==="focusin"?(i3(),pz(t,n)):e==="focusout"&&i3()}function mz(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xm(Fp)}function vz(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function _z(e,t){if(e==="click")return Xm(t)}function gz(e,t){if(e==="input"||e==="change")return Xm(t)}function bz(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function yz(e,t,n,i,u,d,v){var y=n?rd(n):window,C,E;if(uz(y)?C=dz:a3(y)?o3?C=gz:(C=mz,E=hz):vz(y)&&(C=_z),C){var A=C(t,n);if(A){n3(e,A,i,u);return}}E&&E(t,y,n),t==="focusout"&&bz(y)}function Sz(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function wz(e,t,n,i,u,d,v){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!FM(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Ic(E)||eh(E)))return}if(!(!C&&!y)){var A;if(u.window===u)A=u;else{var Z=u.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var J,me;if(C){var ve=i.relatedTarget||i.toElement;if(J=n,me=ve?Ic(ve):null,me!==null){var we=Ec(me);(me!==we||me.tag!==w&&me.tag!==k)&&(me=null)}}else J=null,me=n;if(J!==me){var rt=YC,Rt="onMouseLeave",St="onMouseEnter",dr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=GC,Rt="onPointerLeave",St="onPointerEnter",dr="pointer");var pr=J==null?A:rd(J),ue=me==null?A:rd(me),De=new rt(Rt,dr+"leave",J,i,u);De.target=pr,De.relatedTarget=ue;var ce=null,qe=Ic(u);if(qe===n){var ut=new rt(St,dr+"enter",me,i,u);ut.target=ue,ut.relatedTarget=pr,ce=ut}Yz(e,De,ce,J,me)}}}function Cz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:Cz;function jp(e,t){if(Bo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++){var d=n[u];if(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function s3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xz(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function u3(e,t){for(var n=s3(e),i=0,u=0;n;){if(n.nodeType===zs){if(u=i+n.textContent.length,i<=t&&u>=t)return{node:n,offset:t-i};i=u}n=s3(xz(n))}}function kz(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,d=i.anchorOffset,v=i.focusNode,y=i.focusOffset;try{u.nodeType,v.nodeType}catch(C){return null}return Tz(e,u,d,v,y)}function Tz(e,t,n,i,u){var d=0,v=-1,y=-1,C=0,E=0,A=e,Z=null;e:for(;;){for(var J=null;A===t&&(n===0||A.nodeType===zs)&&(v=d+n),A===i&&(u===0||A.nodeType===zs)&&(y=d+u),A.nodeType===zs&&(d+=A.nodeValue.length),(J=A.firstChild)!==null;)Z=A,A=J;for(;;){if(A===e)break e;if(Z===t&&++C===n&&(v=d),Z===i&&++E===u&&(y=d),(J=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=J}return v===-1||y===-1?null:{start:v,end:y}}function Ez(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var u=i.getSelection(),d=e.textContent.length,v=Math.min(t.start,d),y=t.end===void 0?v:Math.min(t.end,d);if(!u.extend&&v>y){var C=y;y=v,v=C}var E=u3(e,v),A=u3(e,y);if(E&&A){if(u.rangeCount===1&&u.anchorNode===E.node&&u.anchorOffset===E.offset&&u.focusNode===A.node&&u.focusOffset===A.offset)return;var Z=n.createRange();Z.setStart(E.node,E.offset),u.removeAllRanges(),v>y?(u.addRange(Z),u.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),u.addRange(Z))}}}function c3(e){return e&&e.nodeType===zs}function f3(e,t){return!e||!t?!1:e===t?!0:c3(e)?!1:c3(t)?f3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Rz(e){return e&&e.ownerDocument&&f3(e.ownerDocument.documentElement,e)}function Dz(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function d3(){for(var e=window,t=Nf();t instanceof e.HTMLIFrameElement;){if(Dz(t))e=t.contentWindow;else return t;t=Nf(e.document)}return t}function Zb(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 Az(){var e=d3();return{focusedElem:e,selectionRange:Zb(e)?Nz(e):null}}function Lz(e){var t=d3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Rz(n)){i!==null&&Zb(n)&&Oz(n,i);for(var u=[],d=n;d=d.parentNode;)d.nodeType===vo&&u.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var v=0;v<u.length;v++){var y=u[v];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function Nz(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=kz(e),t||{start:0,end:0}}function Oz(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)):Ez(e,t)}var Mz=pt&&"documentMode"in document&&document.documentMode<=11;function Pz(){Ze("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qf=null,e1=null,Hp=null,t1=!1;function Iz(e){if("selectionStart"in e&&Zb(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 zz(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function p3(e,t,n){var i=zz(n);if(!(t1||Qf==null||Qf!==Nf(i))){var u=Iz(Qf);if(!Hp||!jp(Hp,u)){Hp=u;var d=ev(e1,"onSelect");if(d.length>0){var v=new $b("onSelect","select",null,t,n);e.push({event:v,listeners:d}),v.target=Qf}}}}function Bz(e,t,n,i,u,d,v){var y=n?rd(n):window;switch(t){case"focusin":(a3(y)||y.contentEditable==="true")&&(Qf=y,e1=n,Hp=null);break;case"focusout":Qf=null,e1=null,Hp=null;break;case"mousedown":t1=!0;break;case"contextmenu":case"mouseup":case"dragend":t1=!1,p3(e,i,u);break;case"selectionchange":if(Mz)break;case"keydown":case"keyup":p3(e,i,u)}}function Qm(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jf={animationend:Qm("Animation","AnimationEnd"),animationiteration:Qm("Animation","AnimationIteration"),animationstart:Qm("Animation","AnimationStart"),transitionend:Qm("Transition","TransitionEnd")},r1={},h3={};pt&&(h3=document.createElement("div").style,"AnimationEvent"in window||(delete Jf.animationend.animation,delete Jf.animationiteration.animation,delete Jf.animationstart.animation),"TransitionEvent"in window||delete Jf.transitionend.transition);function Jm(e){if(r1[e])return r1[e];if(!Jf[e])return e;var t=Jf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in h3)return r1[e]=t[n];return e}var m3=Jm("animationend"),v3=Jm("animationiteration"),_3=Jm("animationstart"),g3=Jm("transitionend"),b3=new Map,y3=["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 Pu(e,t){b3.set(e,t),Ze(t,[e])}function Fz(){for(var e=0;e<y3.length;e++){var t=y3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Pu(n,"on"+i)}Pu(m3,"onAnimationEnd"),Pu(v3,"onAnimationIteration"),Pu(_3,"onAnimationStart"),Pu("dblclick","onDoubleClick"),Pu("focusin","onFocus"),Pu("focusout","onBlur"),Pu(g3,"onTransitionEnd")}function jz(e,t,n,i,u,d,v){var y=b3.get(t);if(y!==void 0){var C=$b,E=t;switch(t){case"keypress":if($m(i)===0)return;case"keydown":case"keyup":C=HI;break;case"focusin":E="focus",C=Xb;break;case"focusout":E="blur",C=Xb;break;case"beforeblur":case"afterblur":C=Xb;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=EI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=WI;break;case m3:case v3:case _3:C=AI;break;case g3:C=YI;break;case"scroll":C=xI;break;case"wheel":C=GI;break;case"copy":case"cut":case"paste":C=NI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=GC;break}var A=(d&dp)!==0;{var Z=!A&&t==="scroll",J=Wz(n,y,i.type,A,Z);if(J.length>0){var me=new C(y,E,null,i,u);e.push({event:me,listeners:J})}}}}Fz(),Sz(),sz(),Pz(),QI();function Hz(e,t,n,i,u,d,v){jz(e,t,n,i,u,d);var y=(d&IM)===0;y&&(wz(e,t,n,i,u),yz(e,t,n,i,u),Bz(e,t,n,i,u),oz(e,t,n,i,u))}var Up=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],a1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function S3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,GM(i,t,void 0,e),e.currentTarget=null}function Uz(e,t,n){var i;if(n)for(var u=t.length-1;u>=0;u--){var d=t[u],v=d.instance,y=d.currentTarget,C=d.listener;if(v!==i&&e.isPropagationStopped())return;S3(e,C,y),i=v}else for(var E=0;E<t.length;E++){var A=t[E],Z=A.instance,J=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;S3(e,me,J),i=Z}}function w3(e,t){for(var n=(t&dp)!==0,i=0;i<e.length;i++){var u=e[i],d=u.event,v=u.listeners;Uz(d,v,n)}KM()}function Vz(e,t,n,i,u){var d=Jg(n),v=[];Hz(v,e,i,n,d,t),w3(v,t)}function ba(e,t){a1.has(e)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=bF(t),u=$z(e,n);i.has(u)||(C3(t,e,Qg,n),i.add(u))}function n1(e,t,n){a1.has(e)&&!t&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=dp),C3(n,e,i,t)}var Zm="_reactListening"+Math.random().toString(36).slice(2);function Vp(e){if(!e[Zm]){e[Zm]=!0,lt.forEach(function(n){n!=="selectionchange"&&(a1.has(n)||n1(n,!1,e),n1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[Zm]||(t[Zm]=!0,n1("selectionchange",!1,t)))}}function C3(e,t,n,i,u){var d=hI(e,t,n),v=void 0;tb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(v=!0),e=e;var y;i?v!==void 0?y=yI(e,t,d,v):y=bI(e,t,d):v!==void 0?y=SI(e,t,d,v):y=gI(e,t,d)}function x3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function o1(e,t,n,i,u){var d=i;if(!(t&Zw)&&!(t&Qg)){var v=u;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(x3(E,v))break;if(C===S)for(var A=y.return;A!==null;){var Z=A.tag;if(Z===b||Z===S){var J=A.stateNode.containerInfo;if(x3(J,v))return}A=A.return}for(;E!==null;){var me=Ic(E);if(me===null)return;var ve=me.tag;if(ve===w||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}oC(function(){return Vz(e,t,n,d)})}function Wp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wz(e,t,n,i,u,d){for(var v=t!==null?t+"Capture":null,y=i?v:t,C=[],E=e,A=null;E!==null;){var Z=E,J=Z.stateNode,me=Z.tag;if(me===w&&J!==null&&(A=J,y!==null)){var ve=hp(E,y);ve!=null&&C.push(Wp(E,ve,A))}if(u)break;E=E.return}return C}function ev(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var d=u,v=d.stateNode,y=d.tag;if(y===w&&v!==null){var C=v,E=hp(u,n);E!=null&&i.unshift(Wp(u,E,C));var A=hp(u,t);A!=null&&i.push(Wp(u,A,C))}u=u.return}return i}function Zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function qz(e,t){for(var n=e,i=t,u=0,d=n;d;d=Zf(d))u++;for(var v=0,y=i;y;y=Zf(y))v++;for(;u-v>0;)n=Zf(n),u--;for(;v-u>0;)i=Zf(i),v--;for(var C=u;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=Zf(n),i=Zf(i)}return null}function k3(e,t,n,i,u){for(var d=t._reactName,v=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,A=C.stateNode,Z=C.tag;if(E!==null&&E===i)break;if(Z===w&&A!==null){var J=A;if(u){var me=hp(y,d);me!=null&&v.unshift(Wp(y,me,J))}else if(!u){var ve=hp(y,d);ve!=null&&v.push(Wp(y,ve,J))}}y=y.return}v.length!==0&&e.push({event:t,listeners:v})}function Yz(e,t,n,i,u){var d=i&&u?qz(i,u):null;i!==null&&k3(e,t,i,d,!1),u!==null&&n!==null&&k3(e,n,u,d,!0)}function $z(e,t){return e+"__"+(t?"capture":"bubble")}var _o=!1,qp="dangerouslySetInnerHTML",tv="suppressContentEditableWarning",Iu="suppressHydrationWarning",T3="autoFocus",Mc="children",Pc="style",rv="__html",i1,av,Yp,E3,nv,R3,D3;i1={dialog:!0,webview:!0},av=function(e,t){DM(e,t),AM(e,t),PM(e,t,{registrationNameDependencies:Tt,possibleRegistrationNames:wt})},R3=pt&&!document.documentMode,Yp=function(e,t,n){if(!_o){var i=ov(n),u=ov(t);u!==i&&(_o=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},E3=function(e){if(!_o){_o=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},nv=function(e,t){t===!1?c("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},D3=function(e,t){var n=e.namespaceURI===Is?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Gz=/\r\n?/g,Kz=/\u0000|\uFFFD/g;function ov(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(Gz,`
|
|
32
|
-
`).replace(Kz,"")}function iv(e,t,n,i){var u=ov(t),d=ov(e);if(d!==u&&(i&&(_o||(_o=!0,c('Text content did not match. Server: "%s" Client: "%s"',d,u))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function A3(e){return e.nodeType===Bs?e:e.ownerDocument}function Xz(){}function lv(e){e.onclick=Xz}function Qz(e,t,n,i,u){for(var d in i)if(i.hasOwnProperty(d)){var v=i[d];if(d===Pc)v&&Object.freeze(v),$w(t,v);else if(d===qp){var y=v?v[rv]:void 0;y!=null&&Uw(t,y)}else if(d===Mc)if(typeof v=="string"){var C=e!=="textarea"||v!=="";C&&Dm(t,v)}else typeof v=="number"&&Dm(t,""+v);else d===tv||d===Iu||d===T3||(Tt.hasOwnProperty(d)?v!=null&&(typeof v!="function"&&nv(d,v),d==="onScroll"&&ba("scroll",t)):v!=null&&I(t,d,v,u))}}function Jz(e,t,n,i){for(var u=0;u<t.length;u+=2){var d=t[u],v=t[u+1];d===Pc?$w(e,v):d===qp?Uw(e,v):d===Mc?Dm(e,v):I(e,d,v,i)}}function Zz(e,t,n,i){var u,d=A3(n),v,y=i;if(y===Is&&(y=qg(e)),y===Is){if(u=wc(e,t),!u&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;v=C.removeChild(E)}else if(typeof t.is=="string")v=d.createElement(e,{is:t.is});else if(v=d.createElement(e),e==="select"){var A=v;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else v=d.createElementNS(y,e);return y===Is&&!u&&Object.prototype.toString.call(v)==="[object HTMLUnknownElement]"&&!Lt.call(i1,e)&&(i1[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),v}function eB(e,t){return A3(t).createTextNode(e)}function tB(e,t,n,i){var u=wc(t,n);av(t,n);var d;switch(t){case"dialog":ba("cancel",e),ba("close",e),d=n;break;case"iframe":case"object":case"embed":ba("load",e),d=n;break;case"video":case"audio":for(var v=0;v<Up.length;v++)ba(Up[v],e);d=n;break;case"source":ba("error",e),d=n;break;case"img":case"image":case"link":ba("error",e),ba("load",e),d=n;break;case"details":ba("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ba("invalid",e);break;case"option":Ra(e,n),d=n;break;case"select":zw(e,n),d=cp(e,n),ba("invalid",e);break;case"textarea":Fw(e,n),d=Vg(e,n),ba("invalid",e);break;default:d=n}switch(Xg(t,d),Qz(t,e,i,d,u),t){case"input":Du(e),yt(e,n,!1);break;case"textarea":Du(e),Hw(e);break;case"option":en(e,n);break;case"select":Q9(e,n);break;default:typeof d.onClick=="function"&&lv(e);break}}function rB(e,t,n,i,u){av(t,i);var d=null,v,y;switch(t){case"input":v=he(e,n),y=he(e,i),d=[];break;case"select":v=cp(e,n),y=cp(e,i),d=[];break;case"textarea":v=Vg(e,n),y=Vg(e,i),d=[];break;default:v=n,y=i,typeof v.onClick!="function"&&typeof y.onClick=="function"&&lv(e);break}Xg(t,y);var C,E,A=null;for(C in v)if(!(y.hasOwnProperty(C)||!v.hasOwnProperty(C)||v[C]==null))if(C===Pc){var Z=v[C];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===qp||C===Mc||C===tv||C===Iu||C===T3||(Tt.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var J=y[C],me=v!=null?v[C]:void 0;if(!(!y.hasOwnProperty(C)||J===me||J==null&&me==null))if(C===Pc)if(J&&Object.freeze(J),me){for(E in me)me.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in J)J.hasOwnProperty(E)&&me[E]!==J[E]&&(A||(A={}),A[E]=J[E])}else A||(d||(d=[]),d.push(C,A)),A=J;else if(C===qp){var ve=J?J[rv]:void 0,we=me?me[rv]:void 0;ve!=null&&we!==ve&&(d=d||[]).push(C,ve)}else C===Mc?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(C,""+J):C===tv||C===Iu||(Tt.hasOwnProperty(C)?(J!=null&&(typeof J!="function"&&nv(C,J),C==="onScroll"&&ba("scroll",e)),!d&&me!==J&&(d=[])):(d=d||[]).push(C,J))}return A&&(SM(A,y[Pc]),(d=d||[]).push(Pc,A)),d}function aB(e,t,n,i,u){n==="input"&&u.type==="radio"&&u.name!=null&&Xe(e,u);var d=wc(n,i),v=wc(n,u);switch(Jz(e,t,d,v),n){case"input":Mt(e,u);break;case"textarea":jw(e,u);break;case"select":J9(e,u);break}}function nB(e){{var t=e.toLowerCase();return Am.hasOwnProperty(t)&&Am[t]||null}}function oB(e,t,n,i,u,d,v){var y,C;switch(y=wc(t,n),av(t,n),t){case"dialog":ba("cancel",e),ba("close",e);break;case"iframe":case"object":case"embed":ba("load",e);break;case"video":case"audio":for(var E=0;E<Up.length;E++)ba(Up[E],e);break;case"source":ba("error",e);break;case"img":case"image":case"link":ba("error",e),ba("load",e);break;case"details":ba("toggle",e);break;case"input":Ee(e,n),ba("invalid",e);break;case"option":Ra(e,n);break;case"select":zw(e,n),ba("invalid",e);break;case"textarea":Fw(e,n),ba("invalid",e);break}Xg(t,n);{C=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var J=A[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:C.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var we=n[ve];if(ve===Mc)typeof we=="string"?e.textContent!==we&&(n[Iu]!==!0&&iv(e.textContent,we,d,v),me=[Mc,we]):typeof we=="number"&&e.textContent!==""+we&&(n[Iu]!==!0&&iv(e.textContent,we,d,v),me=[Mc,""+we]);else if(Tt.hasOwnProperty(ve))we!=null&&(typeof we!="function"&&nv(ve,we),ve==="onScroll"&&ba("scroll",e));else if(v&&typeof y=="boolean"){var rt=void 0,Rt=y&&Ye?null:P(ve);if(n[Iu]!==!0){if(!(ve===tv||ve===Iu||ve==="value"||ve==="checked"||ve==="selected")){if(ve===qp){var St=e.innerHTML,dr=we?we[rv]:void 0;if(dr!=null){var pr=D3(e,dr);pr!==St&&Yp(ve,St,pr)}}else if(ve===Pc){if(C.delete(ve),R3){var ue=bM(we);rt=e.getAttribute("style"),ue!==rt&&Yp(ve,rt,ue)}}else if(y&&!Ye)C.delete(ve.toLowerCase()),rt=Qe(e,ve,we),we!==rt&&Yp(ve,rt,we);else if(!vr(ve,Rt,y)&&!$(ve,we,Rt,y)){var De=!1;if(Rt!==null)C.delete(Rt.attributeName),rt=Ae(e,ve,we,Rt);else{var ce=i;if(ce===Is&&(ce=qg(t)),ce===Is)C.delete(ve.toLowerCase());else{var qe=nB(ve);qe!==null&&qe!==ve&&(De=!0,C.delete(qe)),C.delete(ve)}rt=Qe(e,ve,we)}var ut=Ye;!ut&&we!==rt&&!De&&Yp(ve,rt,we)}}}}}switch(v&&C.size>0&&n[Iu]!==!0&&E3(C),t){case"input":Du(e),yt(e,n,!0);break;case"textarea":Du(e),Hw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&lv(e);break}return me}function iB(e,t,n){var i=e.nodeValue!==t;return i}function l1(e,t){{if(_o)return;_o=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function s1(e,t){{if(_o)return;_o=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function u1(e,t,n){{if(_o)return;_o=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function c1(e,t){{if(t===""||_o)return;_o=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function lB(e,t,n){switch(t){case"input":Jt(e,n);return;case"textarea":eM(e,n);return;case"select":Z9(e,n);return}}var $p=function(){},Gp=function(){};{var sB=["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"],L3=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],uB=L3.concat(["button"]),cB=["dd","dt","li","option","optgroup","p","rp","rt"],N3={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Gp=function(e,t){var n=Nt({},e||N3),i={tag:t};return L3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),uB.indexOf(t)!==-1&&(n.pTagInButtonScope=null),sB.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 fB=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 cB.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},dB=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},O3={};$p=function(e,t,n){n=n||N3;var i=n.current,u=i&&i.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=fB(e,u)?null:i,v=d?null:dB(e,n),y=d||v;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!O3[E]){O3[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var J="";C==="table"&&e==="tr"&&(J+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,C,Z,J)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var sv="suppressHydrationWarning",uv="$",cv="/$",Kp="$?",Xp="$!",pB="style",f1=null,d1=null;function hB(e){var t,n,i=e.nodeType;switch(i){case Bs:case $g:{t=i===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:Yg(null,"");break}default:{var d=i===Ka?e.parentNode:e,v=d.namespaceURI||null;t=d.tagName,n=Yg(v,t);break}}{var y=t.toLowerCase(),C=Gp(null,y);return{namespace:n,ancestorInfo:C}}}function mB(e,t,n){{var i=e,u=Yg(i.namespace,t),d=Gp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:d}}}function U$(e){return e}function vB(e){f1=pI(),d1=Az();var t=null;return HC(!1),t}function _B(e){Lz(d1),HC(f1),f1=null,d1=null}function gB(e,t,n,i,u){var d;{var v=i;if($p(e,null,v.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Gp(v.ancestorInfo,e);$p(null,y,C)}d=v.namespace}var E=Zz(e,t,n,d);return Zp(u,E),y1(E,t),E}function bB(e,t){e.appendChild(t)}function yB(e,t,n,i,u){switch(tB(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function SB(e,t,n,i,u,d){{var v=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Gp(v.ancestorInfo,t);$p(null,y,C)}}return rB(e,t,n,i)}function p1(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 wB(e,t,n,i){{var u=n;$p(null,e,u.ancestorInfo)}var d=eB(e,t);return Zp(i,d),d}function CB(){var e=window.event;return e===void 0?qs:UC(e.type)}var h1=typeof setTimeout=="function"?setTimeout:void 0,xB=typeof clearTimeout=="function"?clearTimeout:void 0,m1=-1,M3=typeof Promise=="function"?Promise:void 0,kB=typeof queueMicrotask=="function"?queueMicrotask:typeof M3!="undefined"?function(e){return M3.resolve(null).then(e).catch(TB)}:h1;function TB(e){setTimeout(function(){throw e})}function EB(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 RB(e,t,n,i,u,d){aB(e,t,n,i,u),y1(e,u)}function P3(e){Dm(e,"")}function DB(e,t,n){e.nodeValue=n}function AB(e,t){e.appendChild(t)}function LB(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&&lv(n)}function NB(e,t,n){e.insertBefore(t,n)}function OB(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function MB(e,t){e.removeChild(t)}function PB(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function v1(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Ka){var d=u.data;if(d===cv)if(i===0){e.removeChild(u),Np(t);return}else i--;else(d===uv||d===Kp||d===Xp)&&i++}n=u}while(n);Np(t)}function IB(e,t){e.nodeType===Ka?v1(e.parentNode,t):e.nodeType===vo&&v1(e,t),Np(e)}function zB(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function BB(e){e.nodeValue=""}function FB(e,t){e=e;var n=t[pB],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Gg("display",i)}function jB(e,t){e.nodeValue=t}function HB(e){e.nodeType===vo?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function UB(e,t,n){return e.nodeType!==vo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function VB(e,t){return t===""||e.nodeType!==zs?null:e}function WB(e){return e.nodeType!==Ka?null:e}function I3(e){return e.data===Kp}function _1(e){return e.data===Xp}function qB(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,u;return t&&(n=t.dgst,i=t.msg,u=t.stck),{message:i,digest:n,stack:u}}function YB(e,t){e._reactRetry=t}function fv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===vo||t===zs)break;if(t===Ka){var n=e.data;if(n===uv||n===Xp||n===Kp)break;if(n===cv)return null}}return e}function Qp(e){return fv(e.nextSibling)}function $B(e){return fv(e.firstChild)}function GB(e){return fv(e.firstChild)}function KB(e){return fv(e.nextSibling)}function XB(e,t,n,i,u,d,v){Zp(d,e),y1(e,n);var y;{var C=u;y=C.namespace}var E=(d.mode&gr)!==Ot;return oB(e,t,n,y,i,E,v)}function QB(e,t,n,i){Zp(n,e);var u=(n.mode&gr)!==Ot;return iB(e,t)}function JB(e,t){Zp(t,e)}function ZB(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===cv){if(n===0)return Qp(t);n--}else(i===uv||i===Xp||i===Kp)&&n++}t=t.nextSibling}return null}function z3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===uv||i===Xp||i===Kp){if(n===0)return t;n--}else i===cv&&n++}t=t.previousSibling}return null}function eF(e){Np(e)}function tF(e){Np(e)}function rF(e){return e!=="head"&&e!=="body"}function aF(e,t,n,i){var u=!0;iv(t.nodeValue,n,i,u)}function nF(e,t,n,i,u,d){if(t[sv]!==!0){var v=!0;iv(i.nodeValue,u,d,v)}}function oF(e,t){t.nodeType===vo?l1(e,t):t.nodeType===Ka||s1(e,t)}function iF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===vo?l1(n,t):t.nodeType===Ka||s1(n,t))}}function lF(e,t,n,i,u){(u||t[sv]!==!0)&&(i.nodeType===vo?l1(n,i):i.nodeType===Ka||s1(n,i))}function sF(e,t,n){u1(e,t)}function uF(e,t){c1(e,t)}function cF(e,t,n){{var i=e.parentNode;i!==null&&u1(i,t)}}function fF(e,t){{var n=e.parentNode;n!==null&&c1(n,t)}}function dF(e,t,n,i,u,d){(d||t[sv]!==!0)&&u1(n,i)}function pF(e,t,n,i,u){(u||t[sv]!==!0)&&c1(n,i)}function hF(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function mF(e){Vp(e)}var ed=Math.random().toString(36).slice(2),td="__reactFiber$"+ed,g1="__reactProps$"+ed,Jp="__reactContainer$"+ed,b1="__reactEvents$"+ed,vF="__reactListeners$"+ed,_F="__reactHandles$"+ed;function gF(e){delete e[td],delete e[g1],delete e[b1],delete e[vF],delete e[_F]}function Zp(e,t){t[td]=e}function dv(e,t){t[Jp]=e}function B3(e){e[Jp]=null}function eh(e){return!!e[Jp]}function Ic(e){var t=e[td];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jp]||n[td],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=z3(e);u!==null;){var d=u[td];if(d)return d;u=z3(u)}return t}e=n,n=e.parentNode}return null}function zu(e){var t=e[td]||e[Jp];return t&&(t.tag===w||t.tag===k||t.tag===Q||t.tag===b)?t:null}function rd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function pv(e){return e[g1]||null}function y1(e,t){e[g1]=t}function bF(e){var t=e[b1];return t===void 0&&(t=e[b1]=new Set),t}var F3={},j3=o.ReactDebugCurrentFrame;function hv(e){if(e){var t=e._owner,n=Tf(e.type,e._source,t?t.type:null);j3.setExtraStackFrame(n)}else j3.setExtraStackFrame(null)}function zl(e,t,n,i,u){{var d=Function.call.bind(Lt);for(var v in e)if(d(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var C=Error((i||"React class")+": "+n+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[v](t,v,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(hv(u),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",n,v,typeof y),hv(null)),y instanceof Error&&!(y.message in F3)&&(F3[y.message]=!0,hv(u),c("Failed %s type: %s",n,y.message),hv(null))}}}var S1=[],mv;mv=[];var Ys=-1;function Bu(e){return{current:e}}function In(e,t){if(Ys<0){c("Unexpected pop.");return}t!==mv[Ys]&&c("Unexpected Fiber popped."),e.current=S1[Ys],S1[Ys]=null,mv[Ys]=null,Ys--}function zn(e,t,n){Ys++,S1[Ys]=e.current,mv[Ys]=n,e.current=t}var w1;w1={};var Fo={};Object.freeze(Fo);var $s=Bu(Fo),fs=Bu(!1),C1=Fo;function ad(e,t,n){return n&&ds(t)?C1:$s.current}function H3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function nd(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Fo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var d={};for(var v in i)d[v]=t[v];{var y=Zt(e)||"Unknown";zl(i,d,"context",y)}return u&&H3(e,t,d),d}}function vv(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function _v(e){In(fs,e),In($s,e)}function x1(e){In(fs,e),In($s,e)}function U3(e,t,n){{if($s.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");zn($s,t,e),zn(fs,n,e)}}function V3(e,t,n){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=Zt(e)||"Unknown";w1[d]||(w1[d]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",d,d))}return n}var v=i.getChildContext();for(var y in v)if(!(y in u))throw new Error((Zt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=Zt(e)||"Unknown";zl(u,v,"child context",C)}return Nt({},n,v)}}function gv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return C1=$s.current,zn($s,n,e),zn(fs,fs.current,e),!0}}function W3(e,t,n){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var u=V3(e,t,C1);i.__reactInternalMemoizedMergedChildContext=u,In(fs,e),In($s,e),zn($s,u,e),zn(fs,n,e)}else In(fs,e),zn(fs,n,e)}}function yF(e){{if(!rP(e)||e.tag!==m)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(ds(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 Fu=0,bv=1,Gs=null,k1=!1,T1=!1;function q3(e){Gs===null?Gs=[e]:Gs.push(e)}function SF(e){k1=!0,q3(e)}function Y3(){k1&&ju()}function ju(){if(!T1&&Gs!==null){T1=!0;var e=0,t=Il();try{var n=!0,i=Gs;for(bn(Io);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}Gs=null,k1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),vC(Pm,ju),d}finally{bn(t),T1=!1}}return null}var od=[],id=0,yv=null,Sv=0,vl=[],_l=0,zc=null,Ks=1,Xs="";function wF(e){return Fc(),(e.flags&sC)!==zt}function CF(e){return Fc(),Sv}function xF(){var e=Xs,t=Ks,n=t&~kF(t);return n.toString(32)+e}function Bc(e,t){Fc(),od[id++]=Sv,od[id++]=yv,yv=e,Sv=t}function $3(e,t,n){Fc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zc,zc=e;var i=Ks,u=Xs,d=wv(i)-1,v=i&~(1<<d),y=n+1,C=wv(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,Z=(v&A).toString(32),J=v>>E,me=d-E,ve=wv(t)+me,we=y<<me,rt=we|J,Rt=Z+u;Ks=1<<ve|rt,Xs=Rt}else{var St=y<<d,dr=St|v,pr=u;Ks=1<<C|dr,Xs=pr}}function E1(e){Fc();var t=e.return;if(t!==null){var n=1,i=0;Bc(e,n),$3(e,n,i)}}function wv(e){return 32-wC(e)}function kF(e){return 1<<wv(e)-1}function R1(e){for(;e===yv;)yv=od[--id],od[id]=null,Sv=od[--id],od[id]=null;for(;e===zc;)zc=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function TF(){return Fc(),zc!==null?{id:Ks,overflow:Xs}:null}function EF(e,t){Fc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zc,Ks=t.id,Xs=t.overflow,zc=e}function Fc(){kn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,Bl=!1,jc=!1,Hu=null;function RF(){Bl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function G3(){jc=!0}function DF(){return jc}function AF(e){var t=e.stateNode.containerInfo;return gl=GB(t),xn=e,Bl=!0,Hu=null,jc=!1,!0}function LF(e,t,n){return gl=KB(t),xn=e,Bl=!0,Hu=null,jc=!1,n!==null&&EF(e,n),!0}function K3(e,t){switch(e.tag){case b:{oF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&gr)!==Ot;lF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&iF(i.dehydrated,t);break}}}function X3(e,t){K3(e,t);var n=jU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Cc):i.push(n)}function D1(e,t){{if(jc)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,u=t.pendingProps;sF(n,i);break;case k:var d=t.pendingProps;uF(n,d);break}break}case w:{var v=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,Z=(e.mode&gr)!==Ot;dF(v,y,C,E,A,Z);break}case k:{var J=t.pendingProps,me=(e.mode&gr)!==Ot;pF(v,y,C,J,me);break}}break}case Q:{var ve=e.memoizedState,we=ve.dehydrated;if(we!==null)switch(t.tag){case w:var rt=t.type,Rt=t.pendingProps;cF(we,rt);break;case k:var St=t.pendingProps;fF(we,St);break}break}default:return}}}function Q3(e,t){t.flags=t.flags&~js|Xa,D1(e,t)}function J3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,u=UB(t,n);return u!==null?(e.stateNode=u,xn=e,gl=$B(u),!0):!1}case k:{var d=e.pendingProps,v=VB(t,d);return v!==null?(e.stateNode=v,xn=e,gl=null,!0):!1}case Q:{var y=WB(t);if(y!==null){var C={dehydrated:y,treeContext:TF(),retryLane:Mo};e.memoizedState=C;var E=HU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function A1(e){return(e.mode&gr)!==Ot&&(e.flags&Pr)===zt}function L1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function N1(e){if(Bl){var t=gl;if(!t){A1(e)&&(D1(xn,e),L1()),Q3(xn,e),Bl=!1,xn=e;return}var n=t;if(!J3(e,t)){A1(e)&&(D1(xn,e),L1()),t=Qp(n);var i=xn;if(!t||!J3(e,t)){Q3(xn,e),Bl=!1,xn=e;return}X3(i,n)}}}function NF(e,t,n){var i=e.stateNode,u=!jc,d=XB(i,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=d,d!==null}function OF(e){var t=e.stateNode,n=e.memoizedProps,i=QB(t,n,e);if(i){var u=xn;if(u!==null)switch(u.tag){case b:{var d=u.stateNode.containerInfo,v=(u.mode&gr)!==Ot;aF(d,t,n,v);break}case w:{var y=u.type,C=u.memoizedProps,E=u.stateNode,A=(u.mode&gr)!==Ot;nF(y,C,E,t,n,A);break}}}return i}function MF(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.");JB(n,e)}function PF(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 ZB(n)}function Z3(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Q;)t=t.return;xn=t}function Cv(e){if(e!==xn)return!1;if(!Bl)return Z3(e),Bl=!0,!1;if(e.tag!==b&&(e.tag!==w||rF(e.type)&&!p1(e.type,e.memoizedProps))){var t=gl;if(t)if(A1(e))ex(e),L1();else for(;t;)X3(e,t),t=Qp(t)}return Z3(e),e.tag===Q?gl=PF(e):gl=xn?Qp(e.stateNode):null,!0}function IF(){return Bl&&gl!==null}function ex(e){for(var t=gl;t;)K3(e,t),t=Qp(t)}function ld(){xn=null,gl=null,Bl=!1,jc=!1}function tx(){Hu!==null&&(K4(Hu),Hu=null)}function kn(){return Bl}function O1(e){Hu===null?Hu=[e]:Hu.push(e)}var zF=o.ReactCurrentBatchConfig,BF=null;function FF(){return zF.transition}var Fl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var jF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Hc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Uc=new Set;Fl.recordUnsafeLifecycleWarnings=function(e,t){Uc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&rh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&nh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&ih.push(e))},Fl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;th.length>0&&(th.forEach(function(J){e.add(Zt(J)||"Component"),Uc.add(J.type)}),th=[]);var t=new Set;rh.length>0&&(rh.forEach(function(J){t.add(Zt(J)||"Component"),Uc.add(J.type)}),rh=[]);var n=new Set;ah.length>0&&(ah.forEach(function(J){n.add(Zt(J)||"Component"),Uc.add(J.type)}),ah=[]);var i=new Set;nh.length>0&&(nh.forEach(function(J){i.add(Zt(J)||"Component"),Uc.add(J.type)}),nh=[]);var u=new Set;oh.length>0&&(oh.forEach(function(J){u.add(Zt(J)||"Component"),Uc.add(J.type)}),oh=[]);var d=new Set;if(ih.length>0&&(ih.forEach(function(J){d.add(Zt(J)||"Component"),Uc.add(J.type)}),ih=[]),t.size>0){var v=Hc(t);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
31
|
+
Check the render method of \``+e+"`.":""}var fp=["value","defaultValue"];function Yg(e){{sp("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,Am()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Am())}}}}function Is(e,t,n,i){var c=e.options;if(t){for(var d=n,_={},y=0;y<d.length;y++)_["$"+d[y]]=!0;for(var w=0;w<c.length;w++){var E=_.hasOwnProperty("$"+c[w].value);c[w].selected!==E&&(c[w].selected=E),E&&i&&(c[w].defaultSelected=!0)}}else{for(var A=vo(Ml(n)),Z=null,J=0;J<c.length;J++){if(c[J].value===A){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Z===null&&!c[J].disabled&&(Z=c[J])}Z!==null&&(Z.selected=!0)}}function dp(e,t){return Nt({},t,{value:void 0})}function Hw(e,t){var n=e;Yg(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Pf&&(u("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Pf=!0)}function eP(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 tP(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 rP(e,t){var n=e,i=t.value;i!=null&&Is(n,!!t.multiple,i,!1)}var Uw=!1;function $g(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:vo(n._wrapperState.initialValue)});return i}function Vw(e,t){var n=e;sp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Uw&&(u("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Dc()||"A component"),Uw=!0);var i=t.value;if(i==null){var c=t.children,d=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}d=c}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Ml(i)}}function Ww(e,t){var n=e,i=Ml(t.value),c=Ml(t.defaultValue);if(i!=null){var d=vo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=vo(c))}function qw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function aP(e,t){Ww(e,t)}var zs="http://www.w3.org/1999/xhtml",nP="http://www.w3.org/1998/Math/MathML",Gg="http://www.w3.org/2000/svg";function Kg(e){switch(e){case"svg":return Gg;case"math":return nP;default:return zs}}function Xg(e,t){return e==null||e===zs?Kg(t):e===Gg&&t==="foreignObject"?zs:e}var oP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Lm,Yw=oP(function(e,t){if(e.namespaceURI===Gg&&!("innerHTML"in e)){Lm=Lm||document.createElement("div"),Lm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Lm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),_o=1,Bs=3,Ga=8,Fs=9,Qg=11,Nm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Bs){n.nodeValue=t;return}}e.textContent=t},iP={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"]},pp={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 lP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var sP=["Webkit","ms","Moz","O"];Object.keys(pp).forEach(function(e){sP.forEach(function(t){pp[lP(t,e)]=pp[e]})});function Jg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(pp.hasOwnProperty(e)&&pp[e])?t+"px":(jr(t,e),(""+t).trim())}var cP=/([A-Z])/g,uP=/^ms-/;function fP(e){return e.replace(cP,"-$1").toLowerCase().replace(uP,"-ms-")}var $w=function(){};{var dP=/^(?:webkit|moz|o)[A-Z]/,pP=/^-ms-/,hP=/-(.)/g,Gw=/;\s*$/,If={},Zg={},Kw=!1,Xw=!1,mP=function(e){return e.replace(hP,function(t,n){return n.toUpperCase()})},vP=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,mP(e.replace(pP,"ms-"))))},_P=function(e){If.hasOwnProperty(e)&&If[e]||(If[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},gP=function(e,t){Zg.hasOwnProperty(t)&&Zg[t]||(Zg[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Gw,"")))},bP=function(e,t){Kw||(Kw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},yP=function(e,t){Xw||(Xw=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};$w=function(e,t){e.indexOf("-")>-1?vP(e):dP.test(e)?_P(e):Gw.test(t)&&gP(e,t),typeof t=="number"&&(isNaN(t)?bP(e,t):isFinite(t)||yP(e,t))}}var SP=$w;function wP(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var d=i.indexOf("--")===0;t+=n+(d?i:fP(i))+":",t+=Jg(i,c,d),n=";"}}return t||null}}function Qw(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||SP(i,t[i]);var d=Jg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function CP(e){return e==null||typeof e=="boolean"||e===""}function Jw(e){var t={};for(var n in e)for(var i=iP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function xP(e,t){{if(!t)return;var n=Jw(e),i=Jw(t),c={};for(var d in n){var _=n[d],y=i[d];if(y&&_!==y){var w=_+","+y;if(c[w])continue;c[w]=!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.",CP(e[_])?"Removing":"Updating",_,y)}}}}var kP={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},TP=Nt({menuitem:!0},kP),EP="__html";function eb(e,t){if(t){if(TP[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"||!(EP in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Cu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Om={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"},Zw={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zf={},RP=new RegExp("^(aria)-["+lt+"]*$"),DP=new RegExp("^(aria)[A-Z]["+lt+"]*$");function AP(e,t){{if(Lt.call(zf,t)&&zf[t])return!0;if(DP.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Zw.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),zf[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),zf[t]=!0,!0}if(RP.test(t)){var c=t.toLowerCase(),d=Zw.hasOwnProperty(c)?c:null;if(d==null)return zf[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),zf[t]=!0,!0}}return!0}function LP(e,t){{var n=[];for(var i in t){var c=AP(e,i);c||n.push(i)}var d=n.map(function(_){return"`"+_+"`"}).join(", ");n.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function NP(e,t){Cu(e,t)||LP(e,t)}var e3=!1;function OP(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!e3&&(e3=!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 t3=function(){};{var $n={},r3=/^on./,MP=/^on[^A-Z]/,PP=new RegExp("^(aria)-["+lt+"]*$"),IP=new RegExp("^(aria)[A-Z]["+lt+"]*$");t3=function(e,t,n,i){if(Lt.call($n,t)&&$n[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),$n[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,_=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=_.hasOwnProperty(c)?_[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(r3.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(r3.test(t))return MP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(PP.test(t)||IP.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),$n[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),$n[t]=!0,!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),$n[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),$n[t]=!0,!0;var w=P(t),E=w!==null&&w.type===dr;if(Om.hasOwnProperty(c)){var A=Om[c];if(A!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,A),$n[t]=!0,!0}else if(!E&&t!==c)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),$n[t]=!0,!0;return typeof n=="boolean"&&Yr(t,n,w,!1)?(n?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),$n[t]=!0,!0):E?!0:Yr(t,n,w,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&w!==null&&w.type===xr&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),$n[t]=!0),!0)}}var zP=function(e,t,n){{var i=[];for(var c in t){var d=t3(e,c,t[c],n);d||i.push(c)}var _=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",_,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 ",_,e)}};function BP(e,t,n){Cu(e,t)||zP(e,t,n)}var a3=1,tb=2,hp=4,FP=a3|tb|hp,mp=null;function jP(e){mp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),mp=e}function HP(){mp===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),mp=null}function UP(e){return e===mp}function rb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Bs?t.parentNode:t}var ab=null,Bf=null,Ff=null;function n3(e){var t=Bc(e);if(t){if(typeof ab!="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=vv(n);ab(t.stateNode,t.type,i)}}}function VP(e){ab=e}function o3(e){Bf?Ff?Ff.push(e):Ff=[e]:Bf=e}function WP(){return Bf!==null||Ff!==null}function i3(){if(Bf){var e=Bf,t=Ff;if(Bf=null,Ff=null,n3(e),t)for(var n=0;n<t.length;n++)n3(t[n])}}var l3=function(e,t){return e(t)},s3=function(){},nb=!1;function qP(){var e=WP();e&&(s3(),i3())}function c3(e,t,n){if(nb)return e(t,n);nb=!0;try{return l3(e,t,n)}finally{nb=!1,qP()}}function YP(e,t,n){l3=e,s3=n}function $P(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function GP(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&&$P(t));default:return!1}}function vp(e,t){var n=e.stateNode;if(n===null)return null;var i=vv(n);if(i===null)return null;var c=i[t];if(GP(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 ob=!1;if(ht)try{var _p={};Object.defineProperty(_p,"passive",{get:function(){ob=!0}}),window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){ob=!1}function u3(e,t,n,i,c,d,_,y,w){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var f3=u3;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var ib=document.createElement("react");f3=function(t,n,i,c,d,_,y,w,E){if(typeof document=="undefined"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var A=document.createEvent("Event"),Z=!1,J=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function Ce(){ib.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,Ce(),n.apply(i,rt),J=!1}var St,pr=!1,hr=!1;function ce(ue){if(St=ue.error,pr=!0,St===null&&ue.colno===0&&ue.lineno===0&&(hr=!0),ue.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ce),ib.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),ib.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&J&&(pr?hr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ce),!Z)return Ce(),u3.apply(this,arguments)}}var KP=f3,jf=!1,Mm=null,Pm=!1,lb=null,XP={onError:function(e){jf=!0,Mm=e}};function sb(e,t,n,i,c,d,_,y,w){jf=!1,Mm=null,KP.apply(XP,arguments)}function QP(e,t,n,i,c,d,_,y,w){if(sb.apply(this,arguments),jf){var E=cb();Pm||(Pm=!0,lb=E)}}function JP(){if(Pm){var e=lb;throw Pm=!1,lb=null,e}}function ZP(){return jf}function cb(){if(jf){var e=Mm;return jf=!1,Mm=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Hf(e){return e._reactInternals}function eI(e){return e._reactInternals!==void 0}function tI(e,t){e._reactInternals=t}var It=0,Uf=1,Ka=2,Tr=4,xu=16,gp=32,ub=64,Pr=128,js=256,Lc=512,ku=1024,Pl=2048,Hs=4096,Tu=8192,Im=16384,rI=Pl|Tr|ub|Lc|ku|Im,aI=32767,bp=32768,Gn=65536,fb=131072,d3=1048576,db=2097152,Eu=4194304,pb=8388608,Us=16777216,zm=33554432,hb=Tr|ku|0,mb=Ka|Tr|xu|gp|Lc|Hs|Tu,yp=Tr|ub|Lc|Tu,Vf=Pl|xu,Vs=Eu|pb|db,nI=o.ReactCurrentOwner;function Ru(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Ka|Hs))!==It&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function p3(e){if(e.tag===Q){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function h3(e){return e.tag===b?e.stateNode.containerInfo:null}function oI(e){return Ru(e)===e}function iI(e){{var t=nI.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",er(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=Hf(e);return c?Ru(c)===c:!1}function m3(e){if(Ru(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function v3(e){var t=e.alternate;if(!t){var n=Ru(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,c=t;;){var d=i.return;if(d===null)break;var _=d.alternate;if(_===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===_.child){for(var w=d.child;w;){if(w===i)return m3(d),e;if(w===c)return m3(d),t;w=w.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=_;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,c=_;break}if(A===c){E=!0,c=d,i=_;break}A=A.sibling}if(!E){for(A=_.child;A;){if(A===i){E=!0,i=_,c=d;break}if(A===c){E=!0,c=_,i=d;break}A=A.sibling}if(!E)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==c)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function _3(e){var t=v3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===C||e.tag===k)return e;for(var t=e.child;t!==null;){var n=g3(t);if(n!==null)return n;t=t.sibling}return null}function lI(e){var t=v3(e);return t!==null?b3(t):null}function b3(e){if(e.tag===C||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=b3(t);if(n!==null)return n}t=t.sibling}return null}var y3=a.unstable_scheduleCallback,sI=a.unstable_cancelCallback,cI=a.unstable_shouldYield,uI=a.unstable_requestPaint,mn=a.unstable_now,fI=a.unstable_getCurrentPriorityLevel,Bm=a.unstable_ImmediatePriority,vb=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,dI=a.unstable_LowPriority,_b=a.unstable_IdlePriority,pI=a.unstable_yieldValue,hI=a.unstable_setDisableYieldValue,Au=null,Cn=null,nt=null,cs=!1,Il=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function mI(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{Pe&&(e=Nt({},e,{getLaneLabelMap:SI,injectProfilingHooks:yI})),Au=t.inject(e),Cn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function vI(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Au,e,t)}catch(n){cs||(cs=!0,u("React instrumentation encountered an error: %s",n))}}function _I(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(et){var i;switch(t){case Io:i=Bm;break;case qs:i=vb;break;case Ys:i=Du;break;case qm:i=_b;break;default:i=Du;break}Cn.onCommitFiberRoot(Au,e,i,n)}else Cn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){cs||(cs=!0,u("React instrumentation encountered an error: %s",c))}}function gI(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function vn(e){if(typeof pI=="function"&&(hI(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function yI(e){nt=e}function SI(){{for(var e=new Map,t=1,n=0;n<bb;n++){var i=HI(t);e.set(t,i),t*=2}return e}}function wI(e){nt!==null&&typeof nt.markCommitStarted=="function"&&nt.markCommitStarted(e)}function S3(){nt!==null&&typeof nt.markCommitStopped=="function"&&nt.markCommitStopped()}function Sp(e){nt!==null&&typeof nt.markComponentRenderStarted=="function"&&nt.markComponentRenderStarted(e)}function Wf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function CI(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function xI(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function kI(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function TI(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function EI(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function RI(){nt!==null&&typeof nt.markComponentLayoutEffectMountStopped=="function"&&nt.markComponentLayoutEffectMountStopped()}function w3(e){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStarted=="function"&&nt.markComponentLayoutEffectUnmountStarted(e)}function C3(){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStopped=="function"&&nt.markComponentLayoutEffectUnmountStopped()}function DI(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function AI(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function LI(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function NI(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function OI(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function MI(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function x3(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function PI(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function k3(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function II(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function zI(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function gb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Ot=0,br=1,Kr=2,Ma=8,us=16,T3=Math.clz32?Math.clz32:jI,BI=Math.log,FI=Math.LN2;function jI(e){var t=e>>>0;return t===0?32:31-(BI(t)/FI|0)|0}var bb=31,ze=0,_n=0,qt=1,qf=2,Ws=4,Lu=8,fs=16,wp=32,Yf=4194240,Cp=64,yb=128,Sb=256,wb=512,Cb=1024,xb=2048,kb=4096,Tb=8192,Eb=16384,Rb=32768,Db=65536,Ab=131072,Lb=262144,Nb=524288,Ob=1048576,Mb=2097152,Fm=130023424,$f=4194304,Pb=8388608,Ib=16777216,zb=33554432,Bb=67108864,E3=$f,xp=134217728,R3=268435455,kp=268435456,Nu=536870912,Mo=1073741824;function HI(e){{if(e&qt)return"Sync";if(e&qf)return"InputContinuousHydration";if(e&Ws)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&fs)return"Default";if(e&wp)return"TransitionHydration";if(e&Yf)return"Transition";if(e&Fm)return"Retry";if(e&xp)return"SelectiveHydration";if(e&kp)return"IdleHydration";if(e&Nu)return"Idle";if(e&Mo)return"Offscreen"}}var ma=-1,jm=Cp,Hm=$f;function Tp(e){switch(Ou(e)){case qt:return qt;case qf:return qf;case Ws:return Ws;case Lu:return Lu;case fs:return fs;case wp:return wp;case Cp:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:return e&Yf;case $f:case Pb:case Ib:case zb:case Bb:return e&Fm;case xp:return xp;case kp:return kp;case Nu:return Nu;case Mo:return Mo;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Um(e,t){var n=e.pendingLanes;if(n===ze)return ze;var i=ze,c=e.suspendedLanes,d=e.pingedLanes,_=n&R3;if(_!==ze){var y=_&~c;if(y!==ze)i=Tp(y);else{var w=_&d;w!==ze&&(i=Tp(w))}}else{var E=n&~c;E!==ze?i=Tp(E):d!==ze&&(i=Tp(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&c)===ze){var A=Ou(i),Z=Ou(t);if(A>=Z||A===fs&&(Z&Yf)!==ze)return t}(i&Ws)!==ze&&(i|=n&fs);var J=e.entangledLanes;if(J!==ze)for(var me=e.entanglements,ve=i&J;ve>0;){var Ce=Mu(ve),rt=1<<Ce;i|=me[Ce],ve&=~rt}return i}function UI(e,t){for(var n=e.eventTimes,i=ma;t>0;){var c=Mu(t),d=1<<c,_=n[c];_>i&&(i=_),t&=~d}return i}function VI(e,t){switch(e){case qt:case qf:case Ws:return t+250;case Lu:case fs:case wp:case Cp:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:return t+5e3;case $f:case Pb:case Ib:case zb:case Bb:return ma;case xp:case kp:case Nu:case Mo:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function WI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),w=1<<y,E=d[y];E===ma?((w&i)===ze||(w&c)!==ze)&&(d[y]=VI(w,t)):E<=t&&(e.expiredLanes|=w),_&=~w}}function qI(e){return Tp(e.pendingLanes)}function Fb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function YI(e){return(e&qt)!==ze}function jb(e){return(e&R3)!==ze}function D3(e){return(e&Fm)===e}function $I(e){var t=qt|Ws|fs;return(e&t)===ze}function GI(e){return(e&Yf)===e}function Vm(e,t){var n=qf|Ws|Lu|fs;return(t&n)!==ze}function KI(e,t){return(t&e.expiredLanes)!==ze}function A3(e){return(e&Yf)!==ze}function L3(){var e=jm;return jm<<=1,(jm&Yf)===ze&&(jm=Cp),e}function XI(){var e=Hm;return Hm<<=1,(Hm&Fm)===ze&&(Hm=$f),e}function Ou(e){return e&-e}function Ep(e){return Ou(e)}function Mu(e){return 31-T3(e)}function Hb(e){return Mu(e)}function Po(e,t){return(e&t)!==ze}function Gf(e,t){return(e&t)===t}function or(e,t){return e|t}function Wm(e,t){return e&~t}function N3(e,t){return e&t}function W$(e){return e}function QI(e,t){return e!==_n&&e<t?e:t}function Ub(e){for(var t=[],n=0;n<bb;n++)t.push(e);return t}function Rp(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,c=Hb(t);i[c]=n}function JI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Mu(i),d=1<<c;n[c]=ma,i&=~d}}function O3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function ZI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),w=1<<y;i[y]=ze,c[y]=ma,d[y]=ma,_&=~w}}function Vb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Mu(c),_=1<<d;_&t|i[d]&t&&(i[d]|=t),c&=~_}}function ez(e,t){var n=Ou(t),i;switch(n){case Ws:i=qf;break;case fs:i=Lu;break;case Cp:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case $f:case Pb:case Ib:case zb:case Bb:i=wp;break;case Nu:i=kp;break;default:i=_n;break}return(i&(e.suspendedLanes|t))!==_n?_n:i}function M3(e,t,n){if(Il)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Hb(n),d=1<<c,_=i[c];_.add(t),n&=~d}}function P3(e,t){if(Il)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Hb(t),d=1<<c,_=n[c];_.size>0&&(_.forEach(function(y){var w=y.alternate;(w===null||!i.has(w))&&i.add(y)}),_.clear()),t&=~d}}function I3(e,t){return null}var Io=qt,qs=Ws,Ys=fs,qm=Nu,Dp=_n;function zl(){return Dp}function gn(e){Dp=e}function tz(e,t){var n=Dp;try{return Dp=e,t()}finally{Dp=n}}function rz(e,t){return e!==0&&e<t?e:t}function az(e,t){return e===0||e>t?e:t}function Wb(e,t){return e!==0&&e<t}function z3(e){var t=Ou(e);return Wb(Io,t)?Wb(qs,t)?jb(t)?Ys:qm:qs:Io}function Ym(e){var t=e.current.memoizedState;return t.isDehydrated}var B3;function nz(e){B3=e}function oz(e){B3(e)}var qb;function iz(e){qb=e}var F3;function lz(e){F3=e}var j3;function sz(e){j3=e}var H3;function cz(e){H3=e}var Yb=!1,$m=[],Nc=null,Oc=null,Mc=null,Ap=new Map,Lp=new Map,Pc=[],uz=["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 fz(e){return uz.indexOf(e)>-1}function dz(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function U3(e,t){switch(e){case"focusin":case"focusout":Nc=null;break;case"dragenter":case"dragleave":Oc=null;break;case"mouseover":case"mouseout":Mc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Ap.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Lp.delete(i);break}}}function Np(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var _=dz(t,n,i,c,d);if(t!==null){var y=Bc(t);y!==null&&qb(y)}return _}e.eventSystemFlags|=i;var w=e.targetContainers;return c!==null&&w.indexOf(c)===-1&&w.push(c),e}function pz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Nc=Np(Nc,e,t,n,i,d),!0}case"dragenter":{var _=c;return Oc=Np(Oc,e,t,n,i,_),!0}case"mouseover":{var y=c;return Mc=Np(Mc,e,t,n,i,y),!0}case"pointerover":{var w=c,E=w.pointerId;return Ap.set(E,Np(Ap.get(E)||null,e,t,n,i,w)),!0}case"gotpointercapture":{var A=c,Z=A.pointerId;return Lp.set(Z,Np(Lp.get(Z)||null,e,t,n,i,A)),!0}}return!1}function V3(e){var t=zu(e.target);if(t!==null){var n=Ru(t);if(n!==null){var i=n.tag;if(i===Q){var c=p3(n);if(c!==null){e.blockedOn=c,H3(e.priority,function(){F3(n)});return}}else if(i===b){var d=n.stateNode;if(Ym(d)){e.blockedOn=h3(n);return}}}}e.blockedOn=null}function hz(e){for(var t=j3(),n={blockedOn:null,target:e,priority:t},i=0;i<Pc.length&&Wb(t,Pc[i].priority);i++);Pc.splice(i,0,n),i===0&&V3(n)}function Gm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Kb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);jP(d),c.target.dispatchEvent(d),HP()}else{var _=Bc(i);return _!==null&&qb(_),e.blockedOn=i,!1}t.shift()}return!0}function W3(e,t,n){Gm(e)&&n.delete(t)}function mz(){Yb=!1,Nc!==null&&Gm(Nc)&&(Nc=null),Oc!==null&&Gm(Oc)&&(Oc=null),Mc!==null&&Gm(Mc)&&(Mc=null),Ap.forEach(W3),Lp.forEach(W3)}function Op(e,t){e.blockedOn===t&&(e.blockedOn=null,Yb||(Yb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,mz)))}function Mp(e){if($m.length>0){Op($m[0],e);for(var t=1;t<$m.length;t++){var n=$m[t];n.blockedOn===e&&(n.blockedOn=null)}}Nc!==null&&Op(Nc,e),Oc!==null&&Op(Oc,e),Mc!==null&&Op(Mc,e);var i=function(y){return Op(y,e)};Ap.forEach(i),Lp.forEach(i);for(var c=0;c<Pc.length;c++){var d=Pc[c];d.blockedOn===e&&(d.blockedOn=null)}for(;Pc.length>0;){var _=Pc[0];if(_.blockedOn!==null)break;V3(_),_.blockedOn===null&&Pc.shift()}}var Kf=o.ReactCurrentBatchConfig,$b=!0;function q3(e){$b=!!e}function vz(){return $b}function _z(e,t,n){var i=Y3(t),c;switch(i){case Io:c=gz;break;case qs:c=bz;break;case Ys:default:c=Gb;break}return c.bind(null,t,n,e)}function gz(e,t,n,i){var c=zl(),d=Kf.transition;Kf.transition=null;try{gn(Io),Gb(e,t,n,i)}finally{gn(c),Kf.transition=d}}function bz(e,t,n,i){var c=zl(),d=Kf.transition;Kf.transition=null;try{gn(qs),Gb(e,t,n,i)}finally{gn(c),Kf.transition=d}}function Gb(e,t,n,i){$b&&yz(e,t,n,i)}function yz(e,t,n,i){var c=Kb(e,t,n,i);if(c===null){c1(e,t,i,Km,n),U3(e,i);return}if(pz(c,e,t,n,i)){i.stopPropagation();return}if(U3(e,i),t&hp&&fz(e)){for(;c!==null;){var d=Bc(c);d!==null&&oz(d);var _=Kb(e,t,n,i);if(_===null&&c1(e,t,i,Km,n),_===c)break;c=_}c!==null&&i.stopPropagation();return}c1(e,t,i,null,n)}var Km=null;function Kb(e,t,n,i){Km=null;var c=rb(i),d=zu(c);if(d!==null){var _=Ru(d);if(_===null)d=null;else{var y=_.tag;if(y===Q){var w=p3(_);if(w!==null)return w;d=null}else if(y===b){var E=_.stateNode;if(Ym(E))return h3(_);d=null}else _!==d&&(d=null)}}return Km=d,null}function Y3(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 Io;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 qs;case"message":{var t=fI();switch(t){case Bm:return Io;case vb:return qs;case Du:case dI:return Ys;case _b:return qm;default:return Ys}}default:return Ys}}function Sz(e,t,n){return e.addEventListener(t,n,!1),n}function wz(e,t,n){return e.addEventListener(t,n,!0),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function xz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Pp=null,Xb=null,Ip=null;function kz(e){return Pp=e,Xb=G3(),!0}function Tz(){Pp=null,Xb=null,Ip=null}function $3(){if(Ip)return Ip;var e,t=Xb,n=t.length,i,c=G3(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var _=n-e;for(i=1;i<=_&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return Ip=c.slice(e,y),Ip}function G3(){return"value"in Pp?Pp.value:Pp.textContent}function Xm(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 Qm(){return!0}function K3(){return!1}function zo(e){function t(n,i,c,d,_){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=_,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var w=e[y];w?this[y]=w(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Qm:this.isDefaultPrevented=K3,this.isPropagationStopped=K3,this}return Nt(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=Qm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qm)},persist:function(){},isPersistent:Qm}),t}var Xf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qb=zo(Xf),zp=Nt({},Xf,{view:0,detail:0}),Ez=zo(zp),Jb,Zb,Bp;function Rz(e){e!==Bp&&(Bp&&e.type==="mousemove"?(Jb=e.screenX-Bp.screenX,Zb=e.screenY-Bp.screenY):(Jb=0,Zb=0),Bp=e)}var Jm=Nt({},zp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t1,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:(Rz(e),Jb)},movementY:function(e){return"movementY"in e?e.movementY:Zb}}),X3=zo(Jm),Dz=Nt({},Jm,{dataTransfer:0}),Az=zo(Dz),Lz=Nt({},zp,{relatedTarget:0}),e1=zo(Lz),Nz=Nt({},Xf,{animationName:0,elapsedTime:0,pseudoElement:0}),Oz=zo(Nz),Mz=Nt({},Xf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pz=zo(Mz),Iz=Nt({},Xf,{data:0}),Q3=zo(Iz),zz=Q3,Bz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fz={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 jz(e){if(e.key){var t=Bz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Xm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Fz[e.keyCode]||"Unidentified":""}var Hz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=Hz[e];return i?!!n[i]:!1}function t1(e){return Uz}var Vz=Nt({},zp,{key:jz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t1,charCode:function(e){return e.type==="keypress"?Xm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wz=zo(Vz),qz=Nt({},Jm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),J3=zo(qz),Yz=Nt({},zp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t1}),$z=zo(Yz),Gz=Nt({},Xf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kz=zo(Gz),Xz=Nt({},Jm,{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}),Qz=zo(Xz),Jz=[9,13,27,32],Z3=229,r1=ht&&"CompositionEvent"in window,Fp=null;ht&&"documentMode"in document&&(Fp=document.documentMode);var Zz=ht&&"TextEvent"in window&&!Fp,eC=ht&&(!r1||Fp&&Fp>8&&Fp<=11),tC=32,rC=String.fromCharCode(tC);function eB(){Ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ze("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var aC=!1;function tB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function rB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function aB(e,t){return e==="keydown"&&t.keyCode===Z3}function nC(e,t){switch(e){case"keyup":return Jz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Z3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function iC(e){return e.locale==="ko"}var Qf=!1;function nB(e,t,n,i,c){var d,_;if(r1?d=rB(t):Qf?nC(t,i)&&(d="onCompositionEnd"):aB(t,i)&&(d="onCompositionStart"),!d)return null;eC&&!iC(i)&&(!Qf&&d==="onCompositionStart"?Qf=kz(c):d==="onCompositionEnd"&&Qf&&(_=$3()));var y=av(n,d);if(y.length>0){var w=new Q3(d,t,null,i,c);if(e.push({event:w,listeners:y}),_)w.data=_;else{var E=oC(i);E!==null&&(w.data=E)}}}function oB(e,t){switch(e){case"compositionend":return oC(t);case"keypress":var n=t.which;return n!==tC?null:(aC=!0,rC);case"textInput":var i=t.data;return i===rC&&aC?null:i;default:return null}}function iB(e,t){if(Qf){if(e==="compositionend"||!r1&&nC(e,t)){var n=$3();return Tz(),Qf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!tB(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eC&&!iC(t)?null:t.data;default:return null}}function lB(e,t,n,i,c){var d;if(Zz?d=oB(t,i):d=iB(t,i),!d)return null;var _=av(n,"onBeforeInput");if(_.length>0){var y=new zz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:_}),y.data=d}}function sB(e,t,n,i,c,d,_){nB(e,t,n,i,c),lB(e,t,n,i,c)}var cB={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 lC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!cB[e.type]:t==="textarea"}function uB(e){if(!ht)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 fB(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function sC(e,t,n,i){o3(i);var c=av(t,"onChange");if(c.length>0){var d=new Qb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var jp=null,Hp=null;function dB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function pB(e){var t=[];sC(t,Hp,e,rb(e)),c3(hB,t)}function hB(e){TC(e,0)}function Zm(e){var t=ad(e);if(Nf(t))return e}function mB(e,t){if(e==="change")return t}var cC=!1;ht&&(cC=uB("input")&&(!document.documentMode||document.documentMode>9));function vB(e,t){jp=e,Hp=t,jp.attachEvent("onpropertychange",fC)}function uC(){jp&&(jp.detachEvent("onpropertychange",fC),jp=null,Hp=null)}function fC(e){e.propertyName==="value"&&Zm(Hp)&&pB(e)}function _B(e,t,n){e==="focusin"?(uC(),vB(t,n)):e==="focusout"&&uC()}function gB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zm(Hp)}function bB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function yB(e,t){if(e==="click")return Zm(t)}function SB(e,t){if(e==="input"||e==="change")return Zm(t)}function wB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function CB(e,t,n,i,c,d,_){var y=n?ad(n):window,w,E;if(dB(y)?w=mB:lC(y)?cC?w=SB:(w=gB,E=_B):bB(y)&&(w=yB),w){var A=w(t,n);if(A){sC(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&wB(y)}function xB(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function kB(e,t,n,i,c,d,_){var y=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(y&&!UP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||rh(E)))return}if(!(!w&&!y)){var A;if(c.window===c)A=c;else{var Z=c.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var J,me;if(w){var ve=i.relatedTarget||i.toElement;if(J=n,me=ve?zu(ve):null,me!==null){var Ce=Ru(me);(me!==Ce||me.tag!==C&&me.tag!==k)&&(me=null)}}else J=null,me=n;if(J!==me){var rt=X3,Rt="onMouseLeave",St="onMouseEnter",pr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=J3,Rt="onPointerLeave",St="onPointerEnter",pr="pointer");var hr=J==null?A:ad(J),ce=me==null?A:ad(me),De=new rt(Rt,pr+"leave",J,i,c);De.target=hr,De.relatedTarget=ce;var ue=null,qe=zu(c);if(qe===n){var st=new rt(St,pr+"enter",me,i,c);st.target=ce,st.relatedTarget=hr,ue=st}KB(e,De,ue,J,me)}}}function TB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:TB;function Up(e,t){if(Bo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var c=0;c<n.length;c++){var d=n[c];if(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function dC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function EB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function pC(e,t){for(var n=dC(e),i=0,c=0;n;){if(n.nodeType===Bs){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=dC(EB(n))}}function RB(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var c=i.anchorNode,d=i.anchorOffset,_=i.focusNode,y=i.focusOffset;try{c.nodeType,_.nodeType}catch(w){return null}return DB(e,c,d,_,y)}function DB(e,t,n,i,c){var d=0,_=-1,y=-1,w=0,E=0,A=e,Z=null;e:for(;;){for(var J=null;A===t&&(n===0||A.nodeType===Bs)&&(_=d+n),A===i&&(c===0||A.nodeType===Bs)&&(y=d+c),A.nodeType===Bs&&(d+=A.nodeValue.length),(J=A.firstChild)!==null;)Z=A,A=J;for(;;){if(A===e)break e;if(Z===t&&++w===n&&(_=d),Z===i&&++E===c&&(y=d),(J=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=J}return _===-1||y===-1?null:{start:_,end:y}}function AB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,_=Math.min(t.start,d),y=t.end===void 0?_:Math.min(t.end,d);if(!c.extend&&_>y){var w=y;y=_,_=w}var E=pC(e,_),A=pC(e,y);if(E&&A){if(c.rangeCount===1&&c.anchorNode===E.node&&c.anchorOffset===E.offset&&c.focusNode===A.node&&c.focusOffset===A.offset)return;var Z=n.createRange();Z.setStart(E.node,E.offset),c.removeAllRanges(),_>y?(c.addRange(Z),c.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),c.addRange(Z))}}}function hC(e){return e&&e.nodeType===Bs}function mC(e,t){return!e||!t?!1:e===t?!0:hC(e)?!1:hC(t)?mC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function LB(e){return e&&e.ownerDocument&&mC(e.ownerDocument.documentElement,e)}function NB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function vC(){for(var e=window,t=Of();t instanceof e.HTMLIFrameElement;){if(NB(t))e=t.contentWindow;else return t;t=Of(e.document)}return t}function a1(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 OB(){var e=vC();return{focusedElem:e,selectionRange:a1(e)?PB(e):null}}function MB(e){var t=vC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&LB(n)){i!==null&&a1(n)&&IB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===_o&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var _=0;_<c.length;_++){var y=c[_];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function PB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=RB(e),t||{start:0,end:0}}function IB(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)):AB(e,t)}var zB=ht&&"documentMode"in document&&document.documentMode<=11;function BB(){Ze("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jf=null,n1=null,Vp=null,o1=!1;function FB(e){if("selectionStart"in e&&a1(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 jB(e){return e.window===e?e.document:e.nodeType===Fs?e:e.ownerDocument}function _C(e,t,n){var i=jB(n);if(!(o1||Jf==null||Jf!==Of(i))){var c=FB(Jf);if(!Vp||!Up(Vp,c)){Vp=c;var d=av(n1,"onSelect");if(d.length>0){var _=new Qb("onSelect","select",null,t,n);e.push({event:_,listeners:d}),_.target=Jf}}}}function HB(e,t,n,i,c,d,_){var y=n?ad(n):window;switch(t){case"focusin":(lC(y)||y.contentEditable==="true")&&(Jf=y,n1=n,Vp=null);break;case"focusout":Jf=null,n1=null,Vp=null;break;case"mousedown":o1=!0;break;case"contextmenu":case"mouseup":case"dragend":o1=!1,_C(e,i,c);break;case"selectionchange":if(zB)break;case"keydown":case"keyup":_C(e,i,c)}}function ev(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zf={animationend:ev("Animation","AnimationEnd"),animationiteration:ev("Animation","AnimationIteration"),animationstart:ev("Animation","AnimationStart"),transitionend:ev("Transition","TransitionEnd")},i1={},gC={};ht&&(gC=document.createElement("div").style,"AnimationEvent"in window||(delete Zf.animationend.animation,delete Zf.animationiteration.animation,delete Zf.animationstart.animation),"TransitionEvent"in window||delete Zf.transitionend.transition);function tv(e){if(i1[e])return i1[e];if(!Zf[e])return e;var t=Zf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in gC)return i1[e]=t[n];return e}var bC=tv("animationend"),yC=tv("animationiteration"),SC=tv("animationstart"),wC=tv("transitionend"),CC=new Map,xC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Ic(e,t){CC.set(e,t),Ze(t,[e])}function UB(){for(var e=0;e<xC.length;e++){var t=xC[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Ic(n,"on"+i)}Ic(bC,"onAnimationEnd"),Ic(yC,"onAnimationIteration"),Ic(SC,"onAnimationStart"),Ic("dblclick","onDoubleClick"),Ic("focusin","onFocus"),Ic("focusout","onBlur"),Ic(wC,"onTransitionEnd")}function VB(e,t,n,i,c,d,_){var y=CC.get(t);if(y!==void 0){var w=Qb,E=t;switch(t){case"keypress":if(Xm(i)===0)return;case"keydown":case"keyup":w=Wz;break;case"focusin":E="focus",w=e1;break;case"focusout":E="blur",w=e1;break;case"beforeblur":case"afterblur":w=e1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=X3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Az;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=$z;break;case bC:case yC:case SC:w=Oz;break;case wC:w=Kz;break;case"scroll":w=Ez;break;case"wheel":w=Qz;break;case"copy":case"cut":case"paste":w=Pz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=J3;break}var A=(d&hp)!==0;{var Z=!A&&t==="scroll",J=$B(n,y,i.type,A,Z);if(J.length>0){var me=new w(y,E,null,i,c);e.push({event:me,listeners:J})}}}}UB(),xB(),fB(),BB(),eB();function WB(e,t,n,i,c,d,_){VB(e,t,n,i,c,d);var y=(d&FP)===0;y&&(kB(e,t,n,i,c),CB(e,t,n,i,c),HB(e,t,n,i,c),sB(e,t,n,i,c))}var Wp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],l1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Wp));function kC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,QP(i,t,void 0,e),e.currentTarget=null}function qB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],_=d.instance,y=d.currentTarget,w=d.listener;if(_!==i&&e.isPropagationStopped())return;kC(e,w,y),i=_}else for(var E=0;E<t.length;E++){var A=t[E],Z=A.instance,J=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;kC(e,me,J),i=Z}}function TC(e,t){for(var n=(t&hp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,_=c.listeners;qB(d,_,n)}JP()}function YB(e,t,n,i,c){var d=rb(n),_=[];WB(_,e,i,n,d,t),TC(_,t)}function ga(e,t){l1.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=wF(t),c=XB(e,n);i.has(c)||(EC(t,e,tb,n),i.add(c))}function s1(e,t,n){l1.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|=hp),EC(n,e,i,t)}var rv="_reactListening"+Math.random().toString(36).slice(2);function qp(e){if(!e[rv]){e[rv]=!0,it.forEach(function(n){n!=="selectionchange"&&(l1.has(n)||s1(n,!1,e),s1(n,!0,e))});var t=e.nodeType===Fs?e:e.ownerDocument;t!==null&&(t[rv]||(t[rv]=!0,s1("selectionchange",!1,t)))}}function EC(e,t,n,i,c){var d=_z(e,t,n),_=void 0;ob&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(_=!0),e=e;var y;i?_!==void 0?y=Cz(e,t,d,_):y=wz(e,t,d):_!==void 0?y=xz(e,t,d,_):y=Sz(e,t,d)}function RC(e,t){return e===t||e.nodeType===Ga&&e.parentNode===t}function c1(e,t,n,i,c){var d=i;if(!(t&a3)&&!(t&tb)){var _=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var w=y.tag;if(w===b||w===S){var E=y.stateNode.containerInfo;if(RC(E,_))break;if(w===S)for(var A=y.return;A!==null;){var Z=A.tag;if(Z===b||Z===S){var J=A.stateNode.containerInfo;if(RC(J,_))return}A=A.return}for(;E!==null;){var me=zu(E);if(me===null)return;var ve=me.tag;if(ve===C||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}c3(function(){return YB(e,t,n,d)})}function Yp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $B(e,t,n,i,c,d){for(var _=t!==null?t+"Capture":null,y=i?_:t,w=[],E=e,A=null;E!==null;){var Z=E,J=Z.stateNode,me=Z.tag;if(me===C&&J!==null&&(A=J,y!==null)){var ve=vp(E,y);ve!=null&&w.push(Yp(E,ve,A))}if(c)break;E=E.return}return w}function av(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,_=d.stateNode,y=d.tag;if(y===C&&_!==null){var w=_,E=vp(c,n);E!=null&&i.unshift(Yp(c,E,w));var A=vp(c,t);A!=null&&i.push(Yp(c,A,w))}c=c.return}return i}function ed(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==C);return e||null}function GB(e,t){for(var n=e,i=t,c=0,d=n;d;d=ed(d))c++;for(var _=0,y=i;y;y=ed(y))_++;for(;c-_>0;)n=ed(n),c--;for(;_-c>0;)i=ed(i),_--;for(var w=c;w--;){if(n===i||i!==null&&n===i.alternate)return n;n=ed(n),i=ed(i)}return null}function DC(e,t,n,i,c){for(var d=t._reactName,_=[],y=n;y!==null&&y!==i;){var w=y,E=w.alternate,A=w.stateNode,Z=w.tag;if(E!==null&&E===i)break;if(Z===C&&A!==null){var J=A;if(c){var me=vp(y,d);me!=null&&_.unshift(Yp(y,me,J))}else if(!c){var ve=vp(y,d);ve!=null&&_.push(Yp(y,ve,J))}}y=y.return}_.length!==0&&e.push({event:t,listeners:_})}function KB(e,t,n,i,c){var d=i&&c?GB(i,c):null;i!==null&&DC(e,t,i,d,!1),c!==null&&n!==null&&DC(e,n,c,d,!0)}function XB(e,t){return e+"__"+(t?"capture":"bubble")}var go=!1,$p="dangerouslySetInnerHTML",nv="suppressContentEditableWarning",zc="suppressHydrationWarning",AC="autoFocus",Pu="children",Iu="style",ov="__html",u1,iv,Gp,LC,lv,NC,OC;u1={dialog:!0,webview:!0},iv=function(e,t){NP(e,t),OP(e,t),BP(e,t,{registrationNameDependencies:Tt,possibleRegistrationNames:wt})},NC=ht&&!document.documentMode,Gp=function(e,t,n){if(!go){var i=sv(n),c=sv(t);c!==i&&(go=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},LC=function(e){if(!go){go=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},lv=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)},OC=function(e,t){var n=e.namespaceURI===zs?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var QB=/\r\n?/g,JB=/\u0000|\uFFFD/g;function sv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(QB,`
|
|
32
|
+
`).replace(JB,"")}function cv(e,t,n,i){var c=sv(t),d=sv(e);if(d!==c&&(i&&(go||(go=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function MC(e){return e.nodeType===Fs?e:e.ownerDocument}function ZB(){}function uv(e){e.onclick=ZB}function e9(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var _=i[d];if(d===Iu)_&&Object.freeze(_),Qw(t,_);else if(d===$p){var y=_?_[ov]:void 0;y!=null&&Yw(t,y)}else if(d===Pu)if(typeof _=="string"){var w=e!=="textarea"||_!=="";w&&Nm(t,_)}else typeof _=="number"&&Nm(t,""+_);else d===nv||d===zc||d===AC||(Tt.hasOwnProperty(d)?_!=null&&(typeof _!="function"&&lv(d,_),d==="onScroll"&&ga("scroll",t)):_!=null&&I(t,d,_,c))}}function t9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],_=t[c+1];d===Iu?Qw(e,_):d===$p?Yw(e,_):d===Pu?Nm(e,_):I(e,d,_,i)}}function r9(e,t,n,i){var c,d=MC(n),_,y=i;if(y===zs&&(y=Kg(e)),y===zs){if(c=Cu(e,t),!c&&e!==e.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var w=d.createElement("div");w.innerHTML="<script></script>";var E=w.firstChild;_=w.removeChild(E)}else if(typeof t.is=="string")_=d.createElement(e,{is:t.is});else if(_=d.createElement(e),e==="select"){var A=_;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else _=d.createElementNS(y,e);return y===zs&&!c&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!Lt.call(u1,e)&&(u1[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)),_}function a9(e,t){return MC(t).createTextNode(e)}function n9(e,t,n,i){var c=Cu(t,n);iv(t,n);var d;switch(t){case"dialog":ga("cancel",e),ga("close",e),d=n;break;case"iframe":case"object":case"embed":ga("load",e),d=n;break;case"video":case"audio":for(var _=0;_<Wp.length;_++)ga(Wp[_],e);d=n;break;case"source":ga("error",e),d=n;break;case"img":case"image":case"link":ga("error",e),ga("load",e),d=n;break;case"details":ga("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":Hw(e,n),d=dp(e,n),ga("invalid",e);break;case"textarea":Vw(e,n),d=$g(e,n),ga("invalid",e);break;default:d=n}switch(eb(t,d),e9(t,e,i,d,c),t){case"input":Ac(e),yt(e,n,!1);break;case"textarea":Ac(e),qw(e);break;case"option":en(e,n);break;case"select":eP(e,n);break;default:typeof d.onClick=="function"&&uv(e);break}}function o9(e,t,n,i,c){iv(t,i);var d=null,_,y;switch(t){case"input":_=he(e,n),y=he(e,i),d=[];break;case"select":_=dp(e,n),y=dp(e,i),d=[];break;case"textarea":_=$g(e,n),y=$g(e,i),d=[];break;default:_=n,y=i,typeof _.onClick!="function"&&typeof y.onClick=="function"&&uv(e);break}eb(t,y);var w,E,A=null;for(w in _)if(!(y.hasOwnProperty(w)||!_.hasOwnProperty(w)||_[w]==null))if(w===Iu){var Z=_[w];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else w===$p||w===Pu||w===nv||w===zc||w===AC||(Tt.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in y){var J=y[w],me=_!=null?_[w]:void 0;if(!(!y.hasOwnProperty(w)||J===me||J==null&&me==null))if(w===Iu)if(J&&Object.freeze(J),me){for(E in me)me.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in J)J.hasOwnProperty(E)&&me[E]!==J[E]&&(A||(A={}),A[E]=J[E])}else A||(d||(d=[]),d.push(w,A)),A=J;else if(w===$p){var ve=J?J[ov]:void 0,Ce=me?me[ov]:void 0;ve!=null&&Ce!==ve&&(d=d||[]).push(w,ve)}else w===Pu?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(w,""+J):w===nv||w===zc||(Tt.hasOwnProperty(w)?(J!=null&&(typeof J!="function"&&lv(w,J),w==="onScroll"&&ga("scroll",e)),!d&&me!==J&&(d=[])):(d=d||[]).push(w,J))}return A&&(xP(A,y[Iu]),(d=d||[]).push(Iu,A)),d}function i9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Xe(e,c);var d=Cu(n,i),_=Cu(n,c);switch(t9(e,t,d,_),n){case"input":Mt(e,c);break;case"textarea":Ww(e,c);break;case"select":tP(e,c);break}}function l9(e){{var t=e.toLowerCase();return Om.hasOwnProperty(t)&&Om[t]||null}}function s9(e,t,n,i,c,d,_){var y,w;switch(y=Cu(t,n),iv(t,n),t){case"dialog":ga("cancel",e),ga("close",e);break;case"iframe":case"object":case"embed":ga("load",e);break;case"video":case"audio":for(var E=0;E<Wp.length;E++)ga(Wp[E],e);break;case"source":ga("error",e);break;case"img":case"image":case"link":ga("error",e),ga("load",e);break;case"details":ga("toggle",e);break;case"input":Ee(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":Hw(e,n),ga("invalid",e);break;case"textarea":Vw(e,n),ga("invalid",e);break}eb(t,n);{w=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var J=A[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:w.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var Ce=n[ve];if(ve===Pu)typeof Ce=="string"?e.textContent!==Ce&&(n[zc]!==!0&&cv(e.textContent,Ce,d,_),me=[Pu,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(n[zc]!==!0&&cv(e.textContent,Ce,d,_),me=[Pu,""+Ce]);else if(Tt.hasOwnProperty(ve))Ce!=null&&(typeof Ce!="function"&&lv(ve,Ce),ve==="onScroll"&&ga("scroll",e));else if(_&&typeof y=="boolean"){var rt=void 0,Rt=y&&Ye?null:P(ve);if(n[zc]!==!0){if(!(ve===nv||ve===zc||ve==="value"||ve==="checked"||ve==="selected")){if(ve===$p){var St=e.innerHTML,pr=Ce?Ce[ov]:void 0;if(pr!=null){var hr=OC(e,pr);hr!==St&&Gp(ve,St,hr)}}else if(ve===Iu){if(w.delete(ve),NC){var ce=wP(Ce);rt=e.getAttribute("style"),ce!==rt&&Gp(ve,rt,ce)}}else if(y&&!Ye)w.delete(ve.toLowerCase()),rt=Qe(e,ve,Ce),Ce!==rt&&Gp(ve,rt,Ce);else if(!vr(ve,Rt,y)&&!$(ve,Ce,Rt,y)){var De=!1;if(Rt!==null)w.delete(Rt.attributeName),rt=Ae(e,ve,Ce,Rt);else{var ue=i;if(ue===zs&&(ue=Kg(t)),ue===zs)w.delete(ve.toLowerCase());else{var qe=l9(ve);qe!==null&&qe!==ve&&(De=!0,w.delete(qe)),w.delete(ve)}rt=Qe(e,ve,Ce)}var st=Ye;!st&&Ce!==rt&&!De&&Gp(ve,rt,Ce)}}}}}switch(_&&w.size>0&&n[zc]!==!0&&LC(w),t){case"input":Ac(e),yt(e,n,!0);break;case"textarea":Ac(e),qw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&uv(e);break}return me}function c9(e,t,n){var i=e.nodeValue!==t;return i}function f1(e,t){{if(go)return;go=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function d1(e,t){{if(go)return;go=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function p1(e,t,n){{if(go)return;go=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function h1(e,t){{if(t===""||go)return;go=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function u9(e,t,n){switch(t){case"input":Jt(e,n);return;case"textarea":aP(e,n);return;case"select":rP(e,n);return}}var Kp=function(){},Xp=function(){};{var f9=["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"],PC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],d9=PC.concat(["button"]),p9=["dd","dt","li","option","optgroup","p","rp","rt"],IC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Xp=function(e,t){var n=Nt({},e||IC),i={tag:t};return PC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),d9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),f9.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 h9=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 p9.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},m9=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},zC={};Kp=function(e,t,n){n=n||IC;var i=n.current,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=h9(e,c)?null:i,_=d?null:m9(e,n),y=d||_;if(y){var w=y.tag,E=!!d+"|"+e+"|"+w;if(!zC[E]){zC[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var J="";w==="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",A,w,Z,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,w)}}}}var fv="suppressHydrationWarning",dv="$",pv="/$",Qp="$?",Jp="$!",v9="style",m1=null,v1=null;function _9(e){var t,n,i=e.nodeType;switch(i){case Fs:case Qg:{t=i===Fs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:Xg(null,"");break}default:{var d=i===Ga?e.parentNode:e,_=d.namespaceURI||null;t=d.tagName,n=Xg(_,t);break}}{var y=t.toLowerCase(),w=Xp(null,y);return{namespace:n,ancestorInfo:w}}}function g9(e,t,n){{var i=e,c=Xg(i.namespace,t),d=Xp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function q$(e){return e}function b9(e){m1=vz(),v1=OB();var t=null;return q3(!1),t}function y9(e){MB(v1),q3(m1),m1=null,v1=null}function S9(e,t,n,i,c){var d;{var _=i;if(Kp(e,null,_.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,w=Xp(_.ancestorInfo,e);Kp(null,y,w)}d=_.namespace}var E=r9(e,t,n,d);return th(c,E),x1(E,t),E}function w9(e,t){e.appendChild(t)}function C9(e,t,n,i,c){switch(n9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function x9(e,t,n,i,c,d){{var _=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,w=Xp(_.ancestorInfo,t);Kp(null,y,w)}}return o9(e,t,n,i)}function _1(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 k9(e,t,n,i){{var c=n;Kp(null,e,c.ancestorInfo)}var d=a9(e,t);return th(i,d),d}function T9(){var e=window.event;return e===void 0?Ys:Y3(e.type)}var g1=typeof setTimeout=="function"?setTimeout:void 0,E9=typeof clearTimeout=="function"?clearTimeout:void 0,b1=-1,BC=typeof Promise=="function"?Promise:void 0,R9=typeof queueMicrotask=="function"?queueMicrotask:typeof BC!="undefined"?function(e){return BC.resolve(null).then(e).catch(D9)}:g1;function D9(e){setTimeout(function(){throw e})}function A9(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 L9(e,t,n,i,c,d){i9(e,t,n,i,c),x1(e,c)}function FC(e){Nm(e,"")}function N9(e,t,n){e.nodeValue=n}function O9(e,t){e.appendChild(t)}function M9(e,t){var n;e.nodeType===Ga?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&uv(n)}function P9(e,t,n){e.insertBefore(t,n)}function I9(e,t,n){e.nodeType===Ga?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function z9(e,t){e.removeChild(t)}function B9(e,t){e.nodeType===Ga?e.parentNode.removeChild(t):e.removeChild(t)}function y1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ga){var d=c.data;if(d===pv)if(i===0){e.removeChild(c),Mp(t);return}else i--;else(d===dv||d===Qp||d===Jp)&&i++}n=c}while(n);Mp(t)}function F9(e,t){e.nodeType===Ga?y1(e.parentNode,t):e.nodeType===_o&&y1(e,t),Mp(e)}function j9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function H9(e){e.nodeValue=""}function U9(e,t){e=e;var n=t[v9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Jg("display",i)}function V9(e,t){e.nodeValue=t}function W9(e){e.nodeType===_o?e.textContent="":e.nodeType===Fs&&e.documentElement&&e.removeChild(e.documentElement)}function q9(e,t,n){return e.nodeType!==_o||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Y9(e,t){return t===""||e.nodeType!==Bs?null:e}function $9(e){return e.nodeType!==Ga?null:e}function jC(e){return e.data===Qp}function S1(e){return e.data===Jp}function G9(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 K9(e,t){e._reactRetry=t}function hv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===_o||t===Bs)break;if(t===Ga){var n=e.data;if(n===dv||n===Jp||n===Qp)break;if(n===pv)return null}}return e}function Zp(e){return hv(e.nextSibling)}function X9(e){return hv(e.firstChild)}function Q9(e){return hv(e.firstChild)}function J9(e){return hv(e.nextSibling)}function Z9(e,t,n,i,c,d,_){th(d,e),x1(e,n);var y;{var w=c;y=w.namespace}var E=(d.mode&br)!==Ot;return s9(e,t,n,y,i,E,_)}function eF(e,t,n,i){th(n,e);var c=(n.mode&br)!==Ot;return c9(e,t)}function tF(e,t){th(t,e)}function rF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ga){var i=t.data;if(i===pv){if(n===0)return Zp(t);n--}else(i===dv||i===Jp||i===Qp)&&n++}t=t.nextSibling}return null}function HC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ga){var i=t.data;if(i===dv||i===Jp||i===Qp){if(n===0)return t;n--}else i===pv&&n++}t=t.previousSibling}return null}function aF(e){Mp(e)}function nF(e){Mp(e)}function oF(e){return e!=="head"&&e!=="body"}function iF(e,t,n,i){var c=!0;cv(t.nodeValue,n,i,c)}function lF(e,t,n,i,c,d){if(t[fv]!==!0){var _=!0;cv(i.nodeValue,c,d,_)}}function sF(e,t){t.nodeType===_o?f1(e,t):t.nodeType===Ga||d1(e,t)}function cF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===_o?f1(n,t):t.nodeType===Ga||d1(n,t))}}function uF(e,t,n,i,c){(c||t[fv]!==!0)&&(i.nodeType===_o?f1(n,i):i.nodeType===Ga||d1(n,i))}function fF(e,t,n){p1(e,t)}function dF(e,t){h1(e,t)}function pF(e,t,n){{var i=e.parentNode;i!==null&&p1(i,t)}}function hF(e,t){{var n=e.parentNode;n!==null&&h1(n,t)}}function mF(e,t,n,i,c,d){(d||t[fv]!==!0)&&p1(n,i)}function vF(e,t,n,i,c){(c||t[fv]!==!0)&&h1(n,i)}function _F(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gF(e){qp(e)}var td=Math.random().toString(36).slice(2),rd="__reactFiber$"+td,w1="__reactProps$"+td,eh="__reactContainer$"+td,C1="__reactEvents$"+td,bF="__reactListeners$"+td,yF="__reactHandles$"+td;function SF(e){delete e[rd],delete e[w1],delete e[C1],delete e[bF],delete e[yF]}function th(e,t){t[rd]=e}function mv(e,t){t[eh]=e}function UC(e){e[eh]=null}function rh(e){return!!e[eh]}function zu(e){var t=e[rd];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eh]||n[rd],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=HC(e);c!==null;){var d=c[rd];if(d)return d;c=HC(c)}return t}e=n,n=e.parentNode}return null}function Bc(e){var t=e[rd]||e[eh];return t&&(t.tag===C||t.tag===k||t.tag===Q||t.tag===b)?t:null}function ad(e){if(e.tag===C||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function vv(e){return e[w1]||null}function x1(e,t){e[w1]=t}function wF(e){var t=e[C1];return t===void 0&&(t=e[C1]=new Set),t}var VC={},WC=o.ReactDebugCurrentFrame;function _v(e){if(e){var t=e._owner,n=Ef(e.type,e._source,t?t.type:null);WC.setExtraStackFrame(n)}else WC.setExtraStackFrame(null)}function Bl(e,t,n,i,c){{var d=Function.call.bind(Lt);for(var _ in e)if(d(e,_)){var y=void 0;try{if(typeof e[_]!="function"){var w=Error((i||"React class")+": "+n+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}y=e[_](t,_,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(_v(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,_,typeof y),_v(null)),y instanceof Error&&!(y.message in VC)&&(VC[y.message]=!0,_v(c),u("Failed %s type: %s",n,y.message),_v(null))}}}var k1=[],gv;gv=[];var $s=-1;function Fc(e){return{current:e}}function zn(e,t){if($s<0){u("Unexpected pop.");return}t!==gv[$s]&&u("Unexpected Fiber popped."),e.current=k1[$s],k1[$s]=null,gv[$s]=null,$s--}function Bn(e,t,n){$s++,k1[$s]=e.current,gv[$s]=n,e.current=t}var T1;T1={};var Fo={};Object.freeze(Fo);var Gs=Fc(Fo),ds=Fc(!1),E1=Fo;function nd(e,t,n){return n&&ps(t)?E1:Gs.current}function qC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function od(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Fo;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var _ in i)d[_]=t[_];{var y=er(e)||"Unknown";Bl(i,d,"context",y)}return c&&qC(e,t,d),d}}function bv(){return ds.current}function ps(e){{var t=e.childContextTypes;return t!=null}}function yv(e){zn(ds,e),zn(Gs,e)}function R1(e){zn(ds,e),zn(Gs,e)}function YC(e,t,n){{if(Gs.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn(Gs,t,e),Bn(ds,n,e)}}function $C(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=er(e)||"Unknown";T1[d]||(T1[d]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",d,d))}return n}var _=i.getChildContext();for(var y in _)if(!(y in c))throw new Error((er(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var w=er(e)||"Unknown";Bl(c,_,"child context",w)}return Nt({},n,_)}}function Sv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return E1=Gs.current,Bn(Gs,n,e),Bn(ds,ds.current,e),!0}}function GC(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=$C(e,t,E1);i.__reactInternalMemoizedMergedChildContext=c,zn(ds,e),zn(Gs,e),Bn(Gs,c,e),Bn(ds,n,e)}else zn(ds,e),Bn(ds,n,e)}}function CF(e){{if(!oI(e)||e.tag!==m)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(ps(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var jc=0,wv=1,Ks=null,D1=!1,A1=!1;function KC(e){Ks===null?Ks=[e]:Ks.push(e)}function xF(e){D1=!0,KC(e)}function XC(){D1&&Hc()}function Hc(){if(!A1&&Ks!==null){A1=!0;var e=0,t=zl();try{var n=!0,i=Ks;for(gn(Io);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Ks=null,D1=!1}catch(d){throw Ks!==null&&(Ks=Ks.slice(e+1)),y3(Bm,Hc),d}finally{gn(t),A1=!1}}return null}var id=[],ld=0,Cv=null,xv=0,vl=[],_l=0,Bu=null,Xs=1,Qs="";function kF(e){return ju(),(e.flags&d3)!==It}function TF(e){return ju(),xv}function EF(){var e=Qs,t=Xs,n=t&~RF(t);return n.toString(32)+e}function Fu(e,t){ju(),id[ld++]=xv,id[ld++]=Cv,Cv=e,xv=t}function QC(e,t,n){ju(),vl[_l++]=Xs,vl[_l++]=Qs,vl[_l++]=Bu,Bu=e;var i=Xs,c=Qs,d=kv(i)-1,_=i&~(1<<d),y=n+1,w=kv(t)+d;if(w>30){var E=d-d%5,A=(1<<E)-1,Z=(_&A).toString(32),J=_>>E,me=d-E,ve=kv(t)+me,Ce=y<<me,rt=Ce|J,Rt=Z+c;Xs=1<<ve|rt,Qs=Rt}else{var St=y<<d,pr=St|_,hr=c;Xs=1<<w|pr,Qs=hr}}function L1(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),QC(e,n,i)}}function kv(e){return 32-T3(e)}function RF(e){return 1<<kv(e)-1}function N1(e){for(;e===Cv;)Cv=id[--ld],id[ld]=null,xv=id[--ld],id[ld]=null;for(;e===Bu;)Bu=vl[--_l],vl[_l]=null,Qs=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null}function DF(){return ju(),Bu!==null?{id:Xs,overflow:Qs}:null}function AF(e,t){ju(),vl[_l++]=Xs,vl[_l++]=Qs,vl[_l++]=Bu,Xs=t.id,Qs=t.overflow,Bu=e}function ju(){kn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,Fl=!1,Hu=!1,Uc=null;function LF(){Fl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function JC(){Hu=!0}function NF(){return Hu}function OF(e){var t=e.stateNode.containerInfo;return gl=Q9(t),xn=e,Fl=!0,Uc=null,Hu=!1,!0}function MF(e,t,n){return gl=J9(t),xn=e,Fl=!0,Uc=null,Hu=!1,n!==null&&AF(e,n),!0}function ZC(e,t){switch(e.tag){case b:{sF(e.stateNode.containerInfo,t);break}case C:{var n=(e.mode&br)!==Ot;uF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&cF(i.dehydrated,t);break}}}function ex(e,t){ZC(e,t);var n=VU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function O1(e,t){{if(Hu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case C:var i=t.type,c=t.pendingProps;fF(n,i);break;case k:var d=t.pendingProps;dF(n,d);break}break}case C:{var _=e.type,y=e.memoizedProps,w=e.stateNode;switch(t.tag){case C:{var E=t.type,A=t.pendingProps,Z=(e.mode&br)!==Ot;mF(_,y,w,E,A,Z);break}case k:{var J=t.pendingProps,me=(e.mode&br)!==Ot;vF(_,y,w,J,me);break}}break}case Q:{var ve=e.memoizedState,Ce=ve.dehydrated;if(Ce!==null)switch(t.tag){case C:var rt=t.type,Rt=t.pendingProps;pF(Ce,rt);break;case k:var St=t.pendingProps;hF(Ce,St);break}break}default:return}}}function tx(e,t){t.flags=t.flags&~Hs|Ka,O1(e,t)}function rx(e,t){switch(e.tag){case C:{var n=e.type,i=e.pendingProps,c=q9(t,n);return c!==null?(e.stateNode=c,xn=e,gl=X9(c),!0):!1}case k:{var d=e.pendingProps,_=Y9(t,d);return _!==null?(e.stateNode=_,xn=e,gl=null,!0):!1}case Q:{var y=$9(t);if(y!==null){var w={dehydrated:y,treeContext:DF(),retryLane:Mo};e.memoizedState=w;var E=WU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function M1(e){return(e.mode&br)!==Ot&&(e.flags&Pr)===It}function P1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function I1(e){if(Fl){var t=gl;if(!t){M1(e)&&(O1(xn,e),P1()),tx(xn,e),Fl=!1,xn=e;return}var n=t;if(!rx(e,t)){M1(e)&&(O1(xn,e),P1()),t=Zp(n);var i=xn;if(!t||!rx(e,t)){tx(xn,e),Fl=!1,xn=e;return}ex(i,n)}}}function PF(e,t,n){var i=e.stateNode,c=!Hu,d=Z9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function IF(e){var t=e.stateNode,n=e.memoizedProps,i=eF(t,n,e);if(i){var c=xn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,_=(c.mode&br)!==Ot;iF(d,t,n,_);break}case C:{var y=c.type,w=c.memoizedProps,E=c.stateNode,A=(c.mode&br)!==Ot;lF(y,w,E,t,n,A);break}}}return i}function zF(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");tF(n,e)}function BF(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 rF(n)}function ax(e){for(var t=e.return;t!==null&&t.tag!==C&&t.tag!==b&&t.tag!==Q;)t=t.return;xn=t}function Tv(e){if(e!==xn)return!1;if(!Fl)return ax(e),Fl=!0,!1;if(e.tag!==b&&(e.tag!==C||oF(e.type)&&!_1(e.type,e.memoizedProps))){var t=gl;if(t)if(M1(e))nx(e),P1();else for(;t;)ex(e,t),t=Zp(t)}return ax(e),e.tag===Q?gl=BF(e):gl=xn?Zp(e.stateNode):null,!0}function FF(){return Fl&&gl!==null}function nx(e){for(var t=gl;t;)ZC(e,t),t=Zp(t)}function sd(){xn=null,gl=null,Fl=!1,Hu=!1}function ox(){Uc!==null&&(Z4(Uc),Uc=null)}function kn(){return Fl}function z1(e){Uc===null?Uc=[e]:Uc.push(e)}var jF=o.ReactCurrentBatchConfig,HF=null;function UF(){return jF.transition}var jl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var VF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},ah=[],nh=[],oh=[],ih=[],lh=[],sh=[],Vu=new Set;jl.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&nh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ih.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&lh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&sh.push(e))},jl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;ah.length>0&&(ah.forEach(function(J){e.add(er(J)||"Component"),Vu.add(J.type)}),ah=[]);var t=new Set;nh.length>0&&(nh.forEach(function(J){t.add(er(J)||"Component"),Vu.add(J.type)}),nh=[]);var n=new Set;oh.length>0&&(oh.forEach(function(J){n.add(er(J)||"Component"),Vu.add(J.type)}),oh=[]);var i=new Set;ih.length>0&&(ih.forEach(function(J){i.add(er(J)||"Component"),Vu.add(J.type)}),ih=[]);var c=new Set;lh.length>0&&(lh.forEach(function(J){c.add(er(J)||"Component"),Vu.add(J.type)}),lh=[]);var d=new Set;if(sh.length>0&&(sh.forEach(function(J){d.add(er(J)||"Component"),Vu.add(J.type)}),sh=[]),t.size>0){var _=Uu(t);u(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
33
33
|
|
|
34
34
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
35
35
|
|
|
36
|
-
Please update the following components: %s`,
|
|
36
|
+
Please update the following components: %s`,_)}if(i.size>0){var y=Uu(i);u(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
37
37
|
|
|
38
38
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
39
39
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
40
40
|
|
|
41
|
-
Please update the following components: %s`,y)}if(d.size>0){var
|
|
41
|
+
Please update the following components: %s`,y)}if(d.size>0){var w=Uu(d);u(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
42
42
|
|
|
43
43
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
44
44
|
|
|
45
|
-
Please update the following components: %s`,
|
|
45
|
+
Please update the following components: %s`,w)}if(e.size>0){var E=Uu(e);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
46
46
|
|
|
47
47
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
48
48
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
49
49
|
|
|
50
|
-
Please update the following components: %s`,E)}if(n.size>0){var A=
|
|
50
|
+
Please update the following components: %s`,E)}if(n.size>0){var A=Uu(n);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
51
51
|
|
|
52
52
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
53
53
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
54
54
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
55
55
|
|
|
56
|
-
Please update the following components: %s`,A)}if(
|
|
56
|
+
Please update the following components: %s`,A)}if(c.size>0){var Z=Uu(c);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
57
57
|
|
|
58
58
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
59
59
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
60
60
|
|
|
61
|
-
Please update the following components: %s`,Z)}};var
|
|
61
|
+
Please update the following components: %s`,Z)}};var Ev=new Map,ix=new Set;jl.recordLegacyContextWarning=function(e,t){var n=VF(e);if(n===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!ix.has(e.type)){var i=Ev.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Ev.set(n,i)),i.push(e))}},jl.flushLegacyContextWarning=function(){Ev.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(er(d)||"Component"),ix.add(d.type)});var c=Uu(i);try{wa(n),u(`Legacy context API has been detected within a strict-mode tree.
|
|
62
62
|
|
|
63
63
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
64
64
|
|
|
65
65
|
Please update the following components: %s
|
|
66
66
|
|
|
67
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,
|
|
67
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{hn()}}})},jl.discardPendingWarnings=function(){ah=[],nh=[],oh=[],ih=[],lh=[],sh=[],Ev=new Map}}var B1,F1,j1,H1,U1,lx=function(e,t){};B1=!1,F1=!1,j1={},H1={},U1={},lx=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=er(t)||"Component";H1[n]||(H1[n]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function WF(e){return e.prototype&&e.prototype.isReactComponent}function ch(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Ma||$e)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!WF(n.type))&&n._owner){var c=er(e)||"Component";j1[c]||(u('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c,i),j1[c]=!0)}if(n._owner){var d=n._owner,_;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");_=y.stateNode}if(!_)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var w=_;ra(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var A=function(Z){var J=w.refs;Z===null?delete J[E]:J[E]=Z};return A._stringRef=E,A}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
|
|
68
68
|
1. You may be adding a ref to a function component
|
|
69
69
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
70
70
|
3. You have multiple copies of React loaded
|
|
71
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function kv(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 Tv(e){{var t=Zt(e)||"Component";if(B1[t])return;B1[t]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function nx(e){var t=e._payload,n=e._init;return n(t)}function ox(e){function t(ue,De){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[De],ue.flags|=Cc):ce.push(De)}}function n(ue,De){if(!e)return null;for(var ce=De;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function i(ue,De){for(var ce=new Map,qe=De;qe!==null;)qe.key!==null?ce.set(qe.key,qe):ce.set(qe.index,qe),qe=qe.sibling;return ce}function u(ue,De){var ce=Qc(ue,De);return ce.index=0,ce.sibling=null,ce}function d(ue,De,ce){if(ue.index=ce,!e)return ue.flags|=sC,De;var qe=ue.alternate;if(qe!==null){var ut=qe.index;return ut<De?(ue.flags|=Xa,De):ut}else return ue.flags|=Xa,De}function v(ue){return e&&ue.alternate===null&&(ue.flags|=Xa),ue}function y(ue,De,ce,qe){if(De===null||De.tag!==k){var ut=M0(ce,ue.mode,qe);return ut.return=ue,ut}else{var at=u(De,ce);return at.return=ue,at}}function C(ue,De,ce,qe){var ut=ce.type;if(ut===se)return A(ue,De,ce.props.children,qe,ce.key);if(De!==null&&(De.elementType===ut||fk(De,ce)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Je&&nx(ut)===De.type)){var at=u(De,ce.props);return at.ref=lh(ue,De,ce),at.return=ue,at._debugSource=ce._source,at._debugOwner=ce._owner,at}var Ht=O0(ce,ue.mode,qe);return Ht.ref=lh(ue,De,ce),Ht.return=ue,Ht}function E(ue,De,ce,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ce.containerInfo||De.stateNode.implementation!==ce.implementation){var ut=P0(ce,ue.mode,qe);return ut.return=ue,ut}else{var at=u(De,ce.children||[]);return at.return=ue,at}}function A(ue,De,ce,qe,ut){if(De===null||De.tag!==L){var at=Ju(ce,ue.mode,qe,ut);return at.return=ue,at}else{var Ht=u(De,ce);return Ht.return=ue,Ht}}function Z(ue,De,ce){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=M0(""+De,ue.mode,ce);return qe.return=ue,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=O0(De,ue.mode,ce);return ut.ref=lh(ue,null,De),ut.return=ue,ut}case ae:{var at=P0(De,ue.mode,ce);return at.return=ue,at}case Je:{var Ht=De._payload,Gt=De._init;return Z(ue,Gt(Ht),ce)}}if(tn(De)||Ga(De)){var Qr=Ju(De,ue.mode,ce,null);return Qr.return=ue,Qr}kv(ue,De)}return typeof De=="function"&&Tv(ue),null}function J(ue,De,ce,qe){var ut=De!==null?De.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return ut!==null?null:y(ue,De,""+ce,qe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return ce.key===ut?C(ue,De,ce,qe):null;case ae:return ce.key===ut?E(ue,De,ce,qe):null;case Je:{var at=ce._payload,Ht=ce._init;return J(ue,De,Ht(at),qe)}}if(tn(ce)||Ga(ce))return ut!==null?null:A(ue,De,ce,qe,null);kv(ue,ce)}return typeof ce=="function"&&Tv(ue),null}function me(ue,De,ce,qe,ut){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var at=ue.get(ce)||null;return y(De,at,""+qe,ut)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ue.get(qe.key===null?ce:qe.key)||null;return C(De,Ht,qe,ut)}case ae:{var Gt=ue.get(qe.key===null?ce:qe.key)||null;return E(De,Gt,qe,ut)}case Je:var Qr=qe._payload,Ar=qe._init;return me(ue,De,ce,Ar(Qr),ut)}if(tn(qe)||Ga(qe)){var Ua=ue.get(ce)||null;return A(De,Ua,qe,ut,null)}kv(De,qe)}return typeof qe=="function"&&Tv(De),null}function ve(ue,De,ce){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case ae:ax(ue,ce);var qe=ue.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",qe);break;case Je:var ut=ue._payload,at=ue._init;ve(at(ut),De,ce);break}}return De}function we(ue,De,ce,qe){for(var ut=null,at=0;at<ce.length;at++){var Ht=ce[at];ut=ve(Ht,ut,ue)}for(var Gt=null,Qr=null,Ar=De,Ua=0,Lr=0,Pa=null;Ar!==null&&Lr<ce.length;Lr++){Ar.index>Lr?(Pa=Ar,Ar=null):Pa=Ar.sibling;var Fn=J(ue,Ar,ce[Lr],qe);if(Fn===null){Ar===null&&(Ar=Pa);break}e&&Ar&&Fn.alternate===null&&t(ue,Ar),Ua=d(Fn,Ua,Lr),Qr===null?Gt=Fn:Qr.sibling=Fn,Qr=Fn,Ar=Pa}if(Lr===ce.length){if(n(ue,Ar),kn()){var Nn=Lr;Bc(ue,Nn)}return Gt}if(Ar===null){for(;Lr<ce.length;Lr++){var Ho=Z(ue,ce[Lr],qe);Ho!==null&&(Ua=d(Ho,Ua,Lr),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Qn=Lr;Bc(ue,Qn)}return Gt}for(var Jn=i(ue,Ar);Lr<ce.length;Lr++){var jn=me(Jn,ue,Lr,ce[Lr],qe);jn!==null&&(e&&jn.alternate!==null&&Jn.delete(jn.key===null?Lr:jn.key),Ua=d(jn,Ua,Lr),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn)}if(e&&Jn.forEach(function(Td){return t(ue,Td)}),kn()){var au=Lr;Bc(ue,au)}return Gt}function rt(ue,De,ce,qe){var ut=Ga(ce);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ce[Symbol.toStringTag]==="Generator"&&(P1||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),P1=!0),ce.entries===ut&&(M1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M1=!0);var at=ut.call(ce);if(at)for(var Ht=null,Gt=at.next();!Gt.done;Gt=at.next()){var Qr=Gt.value;Ht=ve(Qr,Ht,ue)}}var Ar=ut.call(ce);if(Ar==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Lr=null,Pa=De,Fn=0,Nn=0,Ho=null,Qn=Ar.next();Pa!==null&&!Qn.done;Nn++,Qn=Ar.next()){Pa.index>Nn?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Jn=J(ue,Pa,Qn.value,qe);if(Jn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Jn.alternate===null&&t(ue,Pa),Fn=d(Jn,Fn,Nn),Lr===null?Ua=Jn:Lr.sibling=Jn,Lr=Jn,Pa=Ho}if(Qn.done){if(n(ue,Pa),kn()){var jn=Nn;Bc(ue,jn)}return Ua}if(Pa===null){for(;!Qn.done;Nn++,Qn=Ar.next()){var au=Z(ue,Qn.value,qe);au!==null&&(Fn=d(au,Fn,Nn),Lr===null?Ua=au:Lr.sibling=au,Lr=au)}if(kn()){var Td=Nn;Bc(ue,Td)}return Ua}for(var Fh=i(ue,Pa);!Qn.done;Nn++,Qn=Ar.next()){var ys=me(Fh,ue,Nn,Qn.value,qe);ys!==null&&(e&&ys.alternate!==null&&Fh.delete(ys.key===null?Nn:ys.key),Fn=d(ys,Fn,Nn),Lr===null?Ua=ys:Lr.sibling=ys,Lr=ys)}if(e&&Fh.forEach(function(gV){return t(ue,gV)}),kn()){var _V=Nn;Bc(ue,_V)}return Ua}function Rt(ue,De,ce,qe){if(De!==null&&De.tag===k){n(ue,De.sibling);var ut=u(De,ce);return ut.return=ue,ut}n(ue,De);var at=M0(ce,ue.mode,qe);return at.return=ue,at}function St(ue,De,ce,qe){for(var ut=ce.key,at=De;at!==null;){if(at.key===ut){var Ht=ce.type;if(Ht===se){if(at.tag===L){n(ue,at.sibling);var Gt=u(at,ce.props.children);return Gt.return=ue,Gt._debugSource=ce._source,Gt._debugOwner=ce._owner,Gt}}else if(at.elementType===Ht||fk(at,ce)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Je&&nx(Ht)===at.type){n(ue,at.sibling);var Qr=u(at,ce.props);return Qr.ref=lh(ue,at,ce),Qr.return=ue,Qr._debugSource=ce._source,Qr._debugOwner=ce._owner,Qr}n(ue,at);break}else t(ue,at);at=at.sibling}if(ce.type===se){var Ar=Ju(ce.props.children,ue.mode,qe,ce.key);return Ar.return=ue,Ar}else{var Ua=O0(ce,ue.mode,qe);return Ua.ref=lh(ue,De,ce),Ua.return=ue,Ua}}function dr(ue,De,ce,qe){for(var ut=ce.key,at=De;at!==null;){if(at.key===ut)if(at.tag===S&&at.stateNode.containerInfo===ce.containerInfo&&at.stateNode.implementation===ce.implementation){n(ue,at.sibling);var Ht=u(at,ce.children||[]);return Ht.return=ue,Ht}else{n(ue,at);break}else t(ue,at);at=at.sibling}var Gt=P0(ce,ue.mode,qe);return Gt.return=ue,Gt}function pr(ue,De,ce,qe){var ut=typeof ce=="object"&&ce!==null&&ce.type===se&&ce.key===null;if(ut&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return v(St(ue,De,ce,qe));case ae:return v(dr(ue,De,ce,qe));case Je:var at=ce._payload,Ht=ce._init;return pr(ue,De,Ht(at),qe)}if(tn(ce))return we(ue,De,ce,qe);if(Ga(ce))return rt(ue,De,ce,qe);kv(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?v(Rt(ue,De,""+ce,qe)):(typeof ce=="function"&&Tv(ue),n(ue,De))}return pr}var sd=ox(!0),ix=ox(!1);function UF(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=Qc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Qc(n,n.pendingProps),i.return=t;i.sibling=null}}function VF(e,t){for(var n=e.child;n!==null;)PU(n,t),n=n.sibling}var F1=Bu(null),j1;j1={};var Ev=null,ud=null,H1=null,Rv=!1;function Dv(){Ev=null,ud=null,H1=null,Rv=!1}function lx(){Rv=!0}function sx(){Rv=!1}function ux(e,t,n){zn(F1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==j1&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=j1}function U1(e,t){var n=F1.current;In(F1,t),e._currentValue=n}function V1(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if($f(i.childLanes,t)?u!==null&&!$f(u.childLanes,t)&&(u.childLanes=or(u.childLanes,t)):(i.childLanes=or(i.childLanes,t),u!==null&&(u.childLanes=or(u.childLanes,t))),i===n)break;i=i.return}i!==n&&c("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function WF(e,t,n){qF(e,t,n)}function qF(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,d=i.dependencies;if(d!==null){u=i.child;for(var v=d.firstContext;v!==null;){if(v.context===t){if(i.tag===m){var y=kp(n),C=Qs(va,y);C.tag=Lv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),A.pending=C}}i.lanes=or(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=or(J.lanes,n)),V1(i.return,n,e),d.lanes=or(d.lanes,n);break}v=v.next}}else if(i.tag===O)u=i.type===e.type?null:i.child;else if(i.tag===be){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=or(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=or(ve.lanes,n)),V1(me,n,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var we=u.sibling;if(we!==null){we.return=u.return,u=we;break}u=u.return}i=u}}function cd(e,t){Ev=e,ud=null,H1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&wh(),n.firstContext=null)}}function Qa(e){Rv&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(H1!==e){var n={context:e,memoizedValue:t,next:null};if(ud===null){if(Ev===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ud=n,Ev.dependencies={lanes:ze,firstContext:n}}else ud=ud.next=n}return t}var Vc=null;function W1(e){Vc===null?Vc=[e]:Vc.push(e)}function YF(){if(Vc!==null){for(var e=0;e<Vc.length;e++){var t=Vc[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,u=t.pending;if(u!==null){var d=u.next;u.next=i,n.next=d}t.pending=n}}Vc=null}}function cx(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function $F(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n}function GF(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function go(e,t){return Av(e,t)}var KF=Av;function Av(e,t){e.lanes=or(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=or(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==zt&&lk(e);for(var i=e,u=e.return;u!==null;)u.childLanes=or(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=or(n.childLanes,t):(u.flags&(Xa|js))!==zt&&lk(e),i=u,u=u.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var fx=0,dx=1,Lv=2,q1=3,Nv=!1,Y1,Ov;Y1=!1,Ov=null;function $1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},effects:null};e.updateQueue=t}function px(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function Qs(e,t){var n={eventTime:e,lane:t,tag:fx,payload:null,callback:null,next:null};return n}function Uu(e,t,n){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Ov===u&&!Y1&&(c("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Y1=!0),JH()){var d=u.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),u.pending=t,KF(e,n)}else return GF(e,u,t,n)}function Mv(e,t,n){var i=t.updateQueue;if(i!==null){var u=i.shared;if(TC(n)){var d=u.lanes;d=RC(d,e.pendingLanes);var v=or(d,n);u.lanes=v,Fb(e,v)}}}function G1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(n===u){var d=null,v=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};v===null?d=v=E:(v.next=E,v=E),C=C.next}while(C!==null);v===null?d=v=t:(v.next=t,v=t)}else d=v=t;n={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:v,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function XF(e,t,n,i,u,d){switch(n.tag){case dx:{var v=n.payload;if(typeof v=="function"){lx();var y=v.call(d,i,u);{if(e.mode&Ma){_n(!0);try{v.call(d,i,u)}finally{_n(!1)}}sx()}return y}return v}case q1:e.flags=e.flags&~$n|Pr;case fx:{var C=n.payload,E;if(typeof C=="function"){lx(),E=C.call(d,i,u);{if(e.mode&Ma){_n(!0);try{C.call(d,i,u)}finally{_n(!1)}}sx()}}else E=C;return E==null?i:Nt({},i,E)}case Lv:return Nv=!0,i}return i}function Pv(e,t,n,i){var u=e.updateQueue;Nv=!1,Ov=u.shared;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var C=y,E=C.next;C.next=null,v===null?d=E:v.next=E,v=C;var A=e.alternate;if(A!==null){var Z=A.updateQueue,J=Z.lastBaseUpdate;J!==v&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=C)}}if(d!==null){var me=u.baseState,ve=ze,we=null,rt=null,Rt=null,St=d;do{var dr=St.lane,pr=St.eventTime;if($f(i,dr)){if(Rt!==null){var De={eventTime:pr,lane:gn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=XF(e,u,St,me,t,n);var ce=St.callback;if(ce!==null&&St.lane!==gn){e.flags|=ib;var qe=u.effects;qe===null?u.effects=[St]:qe.push(St)}}else{var ue={eventTime:pr,lane:dr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ue,we=me):Rt=Rt.next=ue,ve=or(ve,dr)}if(St=St.next,St===null){if(y=u.shared.pending,y===null)break;var ut=y,at=ut.next;ut.next=null,St=at,u.lastBaseUpdate=ut,u.shared.pending=null}}while(!0);Rt===null&&(we=me),u.baseState=we,u.firstBaseUpdate=rt,u.lastBaseUpdate=Rt;var Ht=u.shared.interleaved;if(Ht!==null){var Gt=Ht;do ve=or(ve,Gt.lane),Gt=Gt.next;while(Gt!==Ht)}else d===null&&(u.shared.lanes=ze);Mh(ve),e.lanes=ve,e.memoizedState=me}Ov=null}function QF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function hx(){Nv=!1}function Iv(){return Nv}function mx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.callback;v!==null&&(d.callback=null,QF(v,n))}}var sh={},Vu=Bu(sh),uh=Bu(sh),zv=Bu(sh);function Bv(e){if(e===sh)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 vx(){var e=Bv(zv.current);return e}function K1(e,t){zn(zv,t,e),zn(uh,e,e),zn(Vu,sh,e);var n=hB(t);In(Vu,e),zn(Vu,n,e)}function fd(e){In(Vu,e),In(uh,e),In(zv,e)}function X1(){var e=Bv(Vu.current);return e}function _x(e){var t=Bv(zv.current),n=Bv(Vu.current),i=mB(n,e.type);n!==i&&(zn(uh,e,e),zn(Vu,i,e))}function Q1(e){uh.current===e&&(In(Vu,e),In(uh,e))}var JF=0,gx=1,bx=1,ch=2,jl=Bu(JF);function J1(e,t){return(e&t)!==0}function dd(e){return e&gx}function Z1(e,t){return e&gx|t}function ZF(e,t){return e|t}function Wu(e,t){zn(jl,t,e)}function pd(e){In(jl,e)}function ej(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Fv(e){for(var t=e;t!==null;){if(t.tag===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||I3(i)||_1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Pr)!==zt;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var bo=0,rn=1,ps=2,an=4,Tn=8,ey=[];function ty(){for(var e=0;e<ey.length;e++){var t=ey[e];t._workInProgressVersionPrimary=null}ey.length=0}function tj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ot=o.ReactCurrentDispatcher,fh=o.ReactCurrentBatchConfig,ry,hd;ry=new Set;var Wc=ze,Xr=null,nn=null,on=null,jv=!1,dh=!1,ph=0,rj=0,aj=25,Le=null,bl=null,qu=-1,ay=!1;function Br(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function tt(){{var e=Le;bl!==null&&(qu++,bl[qu]!==e&&nj(e))}}function md(e){e!=null&&!tn(e)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function nj(e){{var t=Zt(Xr);if(!ry.has(t)&&(ry.add(t),bl!==null)){for(var n="",i=30,u=0;u<=qu;u++){for(var d=bl[u],v=u===qu?e:d,y=u+1+". "+d;y.length<i;)y+=" ";y+=v+`
|
|
72
|
-
`,n+=y}
|
|
71
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Rv(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 Dv(e){{var t=er(e)||"Component";if(U1[t])return;U1[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 sx(e){var t=e._payload,n=e._init;return n(t)}function cx(e){function t(ce,De){if(e){var ue=ce.deletions;ue===null?(ce.deletions=[De],ce.flags|=xu):ue.push(De)}}function n(ce,De){if(!e)return null;for(var ue=De;ue!==null;)t(ce,ue),ue=ue.sibling;return null}function i(ce,De){for(var ue=new Map,qe=De;qe!==null;)qe.key!==null?ue.set(qe.key,qe):ue.set(qe.index,qe),qe=qe.sibling;return ue}function c(ce,De){var ue=Ju(ce,De);return ue.index=0,ue.sibling=null,ue}function d(ce,De,ue){if(ce.index=ue,!e)return ce.flags|=d3,De;var qe=ce.alternate;if(qe!==null){var st=qe.index;return st<De?(ce.flags|=Ka,De):st}else return ce.flags|=Ka,De}function _(ce){return e&&ce.alternate===null&&(ce.flags|=Ka),ce}function y(ce,De,ue,qe){if(De===null||De.tag!==k){var st=B0(ue,ce.mode,qe);return st.return=ce,st}else{var at=c(De,ue);return at.return=ce,at}}function w(ce,De,ue,qe){var st=ue.type;if(st===se)return A(ce,De,ue.props.children,qe,ue.key);if(De!==null&&(De.elementType===st||mk(De,ue)||typeof st=="object"&&st!==null&&st.$$typeof===Je&&sx(st)===De.type)){var at=c(De,ue.props);return at.ref=ch(ce,De,ue),at.return=ce,at._debugSource=ue._source,at._debugOwner=ue._owner,at}var Ht=z0(ue,ce.mode,qe);return Ht.ref=ch(ce,De,ue),Ht.return=ce,Ht}function E(ce,De,ue,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var st=F0(ue,ce.mode,qe);return st.return=ce,st}else{var at=c(De,ue.children||[]);return at.return=ce,at}}function A(ce,De,ue,qe,st){if(De===null||De.tag!==L){var at=Zc(ue,ce.mode,qe,st);return at.return=ce,at}else{var Ht=c(De,ue);return Ht.return=ce,Ht}}function Z(ce,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=B0(""+De,ce.mode,ue);return qe.return=ce,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var st=z0(De,ce.mode,ue);return st.ref=ch(ce,null,De),st.return=ce,st}case ae:{var at=F0(De,ce.mode,ue);return at.return=ce,at}case Je:{var Ht=De._payload,Gt=De._init;return Z(ce,Gt(Ht),ue)}}if(tn(De)||$a(De)){var Qr=Zc(De,ce.mode,ue,null);return Qr.return=ce,Qr}Rv(ce,De)}return typeof De=="function"&&Dv(ce),null}function J(ce,De,ue,qe){var st=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return st!==null?null:y(ce,De,""+ue,qe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return ue.key===st?w(ce,De,ue,qe):null;case ae:return ue.key===st?E(ce,De,ue,qe):null;case Je:{var at=ue._payload,Ht=ue._init;return J(ce,De,Ht(at),qe)}}if(tn(ue)||$a(ue))return st!==null?null:A(ce,De,ue,qe,null);Rv(ce,ue)}return typeof ue=="function"&&Dv(ce),null}function me(ce,De,ue,qe,st){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var at=ce.get(ue)||null;return y(De,at,""+qe,st)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ce.get(qe.key===null?ue:qe.key)||null;return w(De,Ht,qe,st)}case ae:{var Gt=ce.get(qe.key===null?ue:qe.key)||null;return E(De,Gt,qe,st)}case Je:var Qr=qe._payload,Lr=qe._init;return me(ce,De,ue,Lr(Qr),st)}if(tn(qe)||$a(qe)){var Ua=ce.get(ue)||null;return A(De,Ua,qe,st,null)}Rv(De,qe)}return typeof qe=="function"&&Dv(De),null}function ve(ce,De,ue){{if(typeof ce!="object"||ce===null)return De;switch(ce.$$typeof){case V:case ae:lx(ce,ue);var qe=ce.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",qe);break;case Je:var st=ce._payload,at=ce._init;ve(at(st),De,ue);break}}return De}function Ce(ce,De,ue,qe){for(var st=null,at=0;at<ue.length;at++){var Ht=ue[at];st=ve(Ht,st,ce)}for(var Gt=null,Qr=null,Lr=De,Ua=0,Nr=0,Pa=null;Lr!==null&&Nr<ue.length;Nr++){Lr.index>Nr?(Pa=Lr,Lr=null):Pa=Lr.sibling;var jn=J(ce,Lr,ue[Nr],qe);if(jn===null){Lr===null&&(Lr=Pa);break}e&&Lr&&jn.alternate===null&&t(ce,Lr),Ua=d(jn,Ua,Nr),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn,Lr=Pa}if(Nr===ue.length){if(n(ce,Lr),kn()){var Nn=Nr;Fu(ce,Nn)}return Gt}if(Lr===null){for(;Nr<ue.length;Nr++){var Ho=Z(ce,ue[Nr],qe);Ho!==null&&(Ua=d(Ho,Ua,Nr),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Jn=Nr;Fu(ce,Jn)}return Gt}for(var Zn=i(ce,Lr);Nr<ue.length;Nr++){var Hn=me(Zn,ce,Nr,ue[Nr],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Nr:Hn.key),Ua=d(Hn,Ua,Nr),Qr===null?Gt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(Ed){return t(ce,Ed)}),kn()){var nc=Nr;Fu(ce,nc)}return Gt}function rt(ce,De,ue,qe){var st=$a(ue);if(typeof st!="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"&&(F1||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."),F1=!0),ue.entries===st&&(B1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),B1=!0);var at=st.call(ue);if(at)for(var Ht=null,Gt=at.next();!Gt.done;Gt=at.next()){var Qr=Gt.value;Ht=ve(Qr,Ht,ce)}}var Lr=st.call(ue);if(Lr==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Nr=null,Pa=De,jn=0,Nn=0,Ho=null,Jn=Lr.next();Pa!==null&&!Jn.done;Nn++,Jn=Lr.next()){Pa.index>Nn?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Zn=J(ce,Pa,Jn.value,qe);if(Zn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Zn.alternate===null&&t(ce,Pa),jn=d(Zn,jn,Nn),Nr===null?Ua=Zn:Nr.sibling=Zn,Nr=Zn,Pa=Ho}if(Jn.done){if(n(ce,Pa),kn()){var Hn=Nn;Fu(ce,Hn)}return Ua}if(Pa===null){for(;!Jn.done;Nn++,Jn=Lr.next()){var nc=Z(ce,Jn.value,qe);nc!==null&&(jn=d(nc,jn,Nn),Nr===null?Ua=nc:Nr.sibling=nc,Nr=nc)}if(kn()){var Ed=Nn;Fu(ce,Ed)}return Ua}for(var Hh=i(ce,Pa);!Jn.done;Nn++,Jn=Lr.next()){var Ss=me(Hh,ce,Nn,Jn.value,qe);Ss!==null&&(e&&Ss.alternate!==null&&Hh.delete(Ss.key===null?Nn:Ss.key),jn=d(Ss,jn,Nn),Nr===null?Ua=Ss:Nr.sibling=Ss,Nr=Ss)}if(e&&Hh.forEach(function(SV){return t(ce,SV)}),kn()){var yV=Nn;Fu(ce,yV)}return Ua}function Rt(ce,De,ue,qe){if(De!==null&&De.tag===k){n(ce,De.sibling);var st=c(De,ue);return st.return=ce,st}n(ce,De);var at=B0(ue,ce.mode,qe);return at.return=ce,at}function St(ce,De,ue,qe){for(var st=ue.key,at=De;at!==null;){if(at.key===st){var Ht=ue.type;if(Ht===se){if(at.tag===L){n(ce,at.sibling);var Gt=c(at,ue.props.children);return Gt.return=ce,Gt._debugSource=ue._source,Gt._debugOwner=ue._owner,Gt}}else if(at.elementType===Ht||mk(at,ue)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Je&&sx(Ht)===at.type){n(ce,at.sibling);var Qr=c(at,ue.props);return Qr.ref=ch(ce,at,ue),Qr.return=ce,Qr._debugSource=ue._source,Qr._debugOwner=ue._owner,Qr}n(ce,at);break}else t(ce,at);at=at.sibling}if(ue.type===se){var Lr=Zc(ue.props.children,ce.mode,qe,ue.key);return Lr.return=ce,Lr}else{var Ua=z0(ue,ce.mode,qe);return Ua.ref=ch(ce,De,ue),Ua.return=ce,Ua}}function pr(ce,De,ue,qe){for(var st=ue.key,at=De;at!==null;){if(at.key===st)if(at.tag===S&&at.stateNode.containerInfo===ue.containerInfo&&at.stateNode.implementation===ue.implementation){n(ce,at.sibling);var Ht=c(at,ue.children||[]);return Ht.return=ce,Ht}else{n(ce,at);break}else t(ce,at);at=at.sibling}var Gt=F0(ue,ce.mode,qe);return Gt.return=ce,Gt}function hr(ce,De,ue,qe){var st=typeof ue=="object"&&ue!==null&&ue.type===se&&ue.key===null;if(st&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return _(St(ce,De,ue,qe));case ae:return _(pr(ce,De,ue,qe));case Je:var at=ue._payload,Ht=ue._init;return hr(ce,De,Ht(at),qe)}if(tn(ue))return Ce(ce,De,ue,qe);if($a(ue))return rt(ce,De,ue,qe);Rv(ce,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?_(Rt(ce,De,""+ue,qe)):(typeof ue=="function"&&Dv(ce),n(ce,De))}return hr}var cd=cx(!0),ux=cx(!1);function qF(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=Ju(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Ju(n,n.pendingProps),i.return=t;i.sibling=null}}function YF(e,t){for(var n=e.child;n!==null;)BU(n,t),n=n.sibling}var V1=Fc(null),W1;W1={};var Av=null,ud=null,q1=null,Lv=!1;function Nv(){Av=null,ud=null,q1=null,Lv=!1}function fx(){Lv=!0}function dx(){Lv=!1}function px(e,t,n){Bn(V1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==W1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=W1}function Y1(e,t){var n=V1.current;zn(V1,t),e._currentValue=n}function $1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(Gf(i.childLanes,t)?c!==null&&!Gf(c.childLanes,t)&&(c.childLanes=or(c.childLanes,t)):(i.childLanes=or(i.childLanes,t),c!==null&&(c.childLanes=or(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 $F(e,t,n){GF(e,t,n)}function GF(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var _=d.firstContext;_!==null;){if(_.context===t){if(i.tag===m){var y=Ep(n),w=Js(ma,y);w.tag=Mv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?w.next=w:(w.next=Z.next,Z.next=w),A.pending=w}}i.lanes=or(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=or(J.lanes,n)),$1(i.return,n,e),d.lanes=or(d.lanes,n);break}_=_.next}}else if(i.tag===O)c=i.type===e.type?null:i.child;else if(i.tag===be){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=or(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=or(ve.lanes,n)),$1(me,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 Ce=c.sibling;if(Ce!==null){Ce.return=c.return,c=Ce;break}c=c.return}i=c}}function fd(e,t){Av=e,ud=null,q1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&xh(),n.firstContext=null)}}function Xa(e){Lv&&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(q1!==e){var n={context:e,memoizedValue:t,next:null};if(ud===null){if(Av===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ud=n,Av.dependencies={lanes:ze,firstContext:n}}else ud=ud.next=n}return t}var Wu=null;function G1(e){Wu===null?Wu=[e]:Wu.push(e)}function KF(){if(Wu!==null){for(var e=0;e<Wu.length;e++){var t=Wu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var d=c.next;c.next=i,n.next=d}t.pending=n}}Wu=null}}function hx(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Ov(e,i)}function XF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function QF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Ov(e,i)}function bo(e,t){return Ov(e,t)}var JF=Ov;function Ov(e,t){e.lanes=or(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=or(n.lanes,t)),n===null&&(e.flags&(Ka|Hs))!==It&&fk(e);for(var i=e,c=e.return;c!==null;)c.childLanes=or(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=or(n.childLanes,t):(c.flags&(Ka|Hs))!==It&&fk(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var mx=0,vx=1,Mv=2,K1=3,Pv=!1,X1,Iv;X1=!1,Iv=null;function Q1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},effects:null};e.updateQueue=t}function _x(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:mx,payload:null,callback:null,next:null};return n}function Vc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Iv===c&&!X1&&(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."),X1=!0),tU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,JF(e,n)}else return QF(e,c,t,n)}function zv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(A3(n)){var d=c.lanes;d=N3(d,e.pendingLanes);var _=or(d,n);c.lanes=_,Vb(e,_)}}}function J1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,_=null,y=n.firstBaseUpdate;if(y!==null){var w=y;do{var E={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};_===null?d=_=E:(_.next=E,_=E),w=w.next}while(w!==null);_===null?d=_=t:(_.next=t,_=t)}else d=_=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:_,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function ZF(e,t,n,i,c,d){switch(n.tag){case vx:{var _=n.payload;if(typeof _=="function"){fx();var y=_.call(d,i,c);{if(e.mode&Ma){vn(!0);try{_.call(d,i,c)}finally{vn(!1)}}dx()}return y}return _}case K1:e.flags=e.flags&~Gn|Pr;case mx:{var w=n.payload,E;if(typeof w=="function"){fx(),E=w.call(d,i,c);{if(e.mode&Ma){vn(!0);try{w.call(d,i,c)}finally{vn(!1)}}dx()}}else E=w;return E==null?i:Nt({},i,E)}case Mv:return Pv=!0,i}return i}function Bv(e,t,n,i){var c=e.updateQueue;Pv=!1,Iv=c.shared;var d=c.firstBaseUpdate,_=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var w=y,E=w.next;w.next=null,_===null?d=E:_.next=E,_=w;var A=e.alternate;if(A!==null){var Z=A.updateQueue,J=Z.lastBaseUpdate;J!==_&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=w)}}if(d!==null){var me=c.baseState,ve=ze,Ce=null,rt=null,Rt=null,St=d;do{var pr=St.lane,hr=St.eventTime;if(Gf(i,pr)){if(Rt!==null){var De={eventTime:hr,lane:_n,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=ZF(e,c,St,me,t,n);var ue=St.callback;if(ue!==null&&St.lane!==_n){e.flags|=ub;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ce={eventTime:hr,lane:pr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ce,Ce=me):Rt=Rt.next=ce,ve=or(ve,pr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var st=y,at=st.next;st.next=null,St=at,c.lastBaseUpdate=st,c.shared.pending=null}}while(!0);Rt===null&&(Ce=me),c.baseState=Ce,c.firstBaseUpdate=rt,c.lastBaseUpdate=Rt;var Ht=c.shared.interleaved;if(Ht!==null){var Gt=Ht;do ve=or(ve,Gt.lane),Gt=Gt.next;while(Gt!==Ht)}else d===null&&(c.shared.lanes=ze);Ih(ve),e.lanes=ve,e.memoizedState=me}Iv=null}function ej(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function gx(){Pv=!1}function Fv(){return Pv}function bx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.callback;_!==null&&(d.callback=null,ej(_,n))}}var uh={},Wc=Fc(uh),fh=Fc(uh),jv=Fc(uh);function Hv(e){if(e===uh)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 yx(){var e=Hv(jv.current);return e}function Z1(e,t){Bn(jv,t,e),Bn(fh,e,e),Bn(Wc,uh,e);var n=_9(t);zn(Wc,e),Bn(Wc,n,e)}function dd(e){zn(Wc,e),zn(fh,e),zn(jv,e)}function ey(){var e=Hv(Wc.current);return e}function Sx(e){var t=Hv(jv.current),n=Hv(Wc.current),i=g9(n,e.type);n!==i&&(Bn(fh,e,e),Bn(Wc,i,e))}function ty(e){fh.current===e&&(zn(Wc,e),zn(fh,e))}var tj=0,wx=1,Cx=1,dh=2,Hl=Fc(tj);function ry(e,t){return(e&t)!==0}function pd(e){return e&wx}function ay(e,t){return e&wx|t}function rj(e,t){return e|t}function qc(e,t){Bn(Hl,t,e)}function hd(e){zn(Hl,e)}function aj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Uv(e){for(var t=e;t!==null;){if(t.tag===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||jC(i)||S1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Pr)!==It;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 yo=0,rn=1,hs=2,an=4,Tn=8,ny=[];function oy(){for(var e=0;e<ny.length;e++){var t=ny[e];t._workInProgressVersionPrimary=null}ny.length=0}function nj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ot=o.ReactCurrentDispatcher,ph=o.ReactCurrentBatchConfig,iy,md;iy=new Set;var qu=ze,Xr=null,nn=null,on=null,Vv=!1,hh=!1,mh=0,oj=0,ij=25,Le=null,bl=null,Yc=-1,ly=!1;function Br(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function tt(){{var e=Le;bl!==null&&(Yc++,bl[Yc]!==e&&lj(e))}}function vd(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.",Le,typeof e)}function lj(e){{var t=er(Xr);if(!iy.has(t)&&(iy.add(t),bl!==null)){for(var n="",i=30,c=0;c<=Yc;c++){for(var d=bl[c],_=c===Yc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=_+`
|
|
72
|
+
`,n+=y}u(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
73
73
|
|
|
74
74
|
Previous render Next render
|
|
75
75
|
------------------------------------------------------
|
|
76
76
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
77
|
-
`,t,n)}}}function
|
|
77
|
+
`,t,n)}}}function Fn(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
78
78
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
79
79
|
2. You might be breaking the Rules of Hooks
|
|
80
80
|
3. You might have more than one copy of React in the same app
|
|
81
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
81
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function sy(e,t){if(ly)return!1;if(t===null)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Le),!1;e.length!==t.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
82
82
|
|
|
83
83
|
Previous: %s
|
|
84
|
-
Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Bo(e[n],t[n]))return!1;return!0}function vd(e,t,n,i,u,d){Wc=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qu=-1,ay=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?ot.current=Hx:bl!==null?ot.current=jx:ot.current=Fx;var v=n(i,u);if(dh){var y=0;do{if(dh=!1,ph=0,y>=aj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,ay=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ot.current=Ux,v=n(i,u)}while(dh)}ot.current=Zv,t._debugHookTypes=bl;var C=nn!==null&&nn.next!==null;if(Wc=ze,Xr=null,nn=null,on=null,Le=null,bl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&gr)!==Ot&&c("Internal React error: Expected static flag was missing. Please notify the React team."),jv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return v}function _d(){var e=ph!==0;return ph=0,e}function yx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Ot?t.flags&=~(Mm|Hs|Ml|kr):t.flags&=~(Ml|kr),e.lanes=Hm(e.lanes,n)}function Sx(){if(ot.current=Zv,jv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}jv=!1}Wc=ze,Xr=null,nn=null,on=null,bl=null,qu=-1,Le=null,Mx=!1,dh=!1,ph=0}function hs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Xr.memoizedState=on=e:on=on.next=e,on}function yl(){var e;if(nn===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Xr.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?Xr.memoizedState=on=i:on=on.next=i}return on}function wx(){return{lastEffect:null,stores:null}}function oy(e,t){return typeof t=="function"?t(e):t}function iy(e,t,n){var i=hs(),u;n!==void 0?u=n(t):u=t,i.memoizedState=i.baseState=u;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=d;var v=d.dispatch=sj.bind(null,Xr,d);return[i.memoizedState,v]}function ly(e,t,n){var i=yl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var d=nn,v=d.baseQueue,y=u.pending;if(y!==null){if(v!==null){var C=v.next,E=y.next;v.next=E,y.next=C}d.baseQueue!==v&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=v=y,u.pending=null}if(v!==null){var A=v.next,Z=d.baseState,J=null,me=null,ve=null,we=A;do{var rt=we.lane;if($f(Wc,rt)){if(ve!==null){var St={lane:gn,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};ve=ve.next=St}if(we.hasEagerState)Z=we.eagerState;else{var dr=we.action;Z=e(Z,dr)}}else{var Rt={lane:rt,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};ve===null?(me=ve=Rt,J=Z):ve=ve.next=Rt,Xr.lanes=or(Xr.lanes,rt),Mh(rt)}we=we.next}while(we!==null&&we!==A);ve===null?J=Z:ve.next=me,Bo(Z,i.memoizedState)||wh(),i.memoizedState=Z,i.baseState=J,i.baseQueue=ve,u.lastRenderedState=Z}var pr=u.interleaved;if(pr!==null){var ue=pr;do{var De=ue.lane;Xr.lanes=or(Xr.lanes,De),Mh(De),ue=ue.next}while(ue!==pr)}else v===null&&(u.lanes=ze);var ce=u.dispatch;return[i.memoizedState,ce]}function sy(e,t,n){var i=yl(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var d=u.dispatch,v=u.pending,y=i.memoizedState;if(v!==null){u.pending=null;var C=v.next,E=C;do{var A=E.action;y=e(y,A),E=E.next}while(E!==C);Bo(y,i.memoizedState)||wh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),u.lastRenderedState=y}return[y,d]}function V$(e,t,n){}function W$(e,t,n){}function uy(e,t,n){var i=Xr,u=hs(),d,v=kn();if(v){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),hd||d!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),hd=!0)}else{if(d=t(),!hd){var y=t();Bo(d,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var C=g_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(C,Wc)||Cx(i,t,d)}u.memoizedState=d;var E={value:d,getSnapshot:t};return u.queue=E,qv(kx.bind(null,i,E,e),[e]),i.flags|=Ml,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null),d}function Hv(e,t,n){var i=Xr,u=yl(),d=t();if(!hd){var v=t();Bo(d,v)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var y=u.memoizedState,C=!Bo(y,d);C&&(u.memoizedState=d,wh());var E=u.queue;if(vh(kx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||on!==null&&on.memoizedState.tag&rn){i.flags|=Ml,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null);var A=g_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(A,Wc)||Cx(i,t,d)}return d}function Cx(e,t,n){e.flags|=Om;var i={getSnapshot:t,value:n},u=Xr.updateQueue;if(u===null)u=wx(),Xr.updateQueue=u,u.stores=[i];else{var d=u.stores;d===null?u.stores=[i]:d.push(i)}}function xx(e,t,n,i){t.value=n,t.getSnapshot=i,Tx(t)&&Ex(e)}function kx(e,t,n){var i=function(){Tx(t)&&Ex(e)};return n(i)}function Tx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!Bo(n,i)}catch(u){return!0}}function Ex(e){var t=go(e,qt);t!==null&&cn(t,e,qt,va)}function Uv(e){var t=hs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:oy,lastRenderedState:e};t.queue=n;var i=n.dispatch=uj.bind(null,Xr,n);return[t.memoizedState,i]}function cy(e){return ly(oy)}function fy(e){return sy(oy)}function hh(e,t,n,i){var u={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=wx(),Xr.updateQueue=d,d.lastEffect=u.next=u;else{var v=d.lastEffect;if(v===null)d.lastEffect=u.next=u;else{var y=v.next;v.next=u,u.next=y,d.lastEffect=u}}return u}function dy(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function Vv(e){var t=yl();return t.memoizedState}function mh(e,t,n,i){var u=hs(),d=i===void 0?null:i;Xr.flags|=e,u.memoizedState=hh(rn|t,n,void 0,d)}function Wv(e,t,n,i){var u=yl(),d=i===void 0?null:i,v=void 0;if(nn!==null){var y=nn.memoizedState;if(v=y.destroy,d!==null){var C=y.deps;if(ny(d,C)){u.memoizedState=hh(t,n,v,d);return}}}Xr.flags|=e,u.memoizedState=hh(rn|t,n,v,d)}function qv(e,t){return(Xr.mode&us)!==Ot?mh(Mm|Ml|ub,Tn,e,t):mh(Ml|ub,Tn,e,t)}function vh(e,t){return Wv(Ml,Tn,e,t)}function py(e,t){return mh(kr,ps,e,t)}function Yv(e,t){return Wv(kr,ps,e,t)}function hy(e,t){var n=kr;return n|=Tc,(Xr.mode&us)!==Ot&&(n|=Hs),mh(n,an,e,t)}function $v(e,t){return Wv(kr,an,e,t)}function Rx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var d=e();return u.current=d,function(){u.current=null}}}function my(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null,u=kr;return u|=Tc,(Xr.mode&us)!==Ot&&(u|=Hs),mh(u,an,Rx.bind(null,t,e),i)}function Gv(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return Wv(kr,an,Rx.bind(null,t,e),i)}function oj(e,t){}var Kv=oj;function vy(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Xv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}return n.memoizedState=[e,i],e}function _y(e,t){var n=hs(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function Qv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}var v=e();return n.memoizedState=[v,i],v}function gy(e){var t=hs();return t.memoizedState=e,e}function Dx(e){var t=yl(),n=nn,i=n.memoizedState;return Lx(t,i,e)}function Ax(e){var t=yl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return Lx(t,n,e)}function Lx(e,t,n){var i=!WP(Wc);if(i){if(!Bo(n,t)){var u=EC();Xr.lanes=or(Xr.lanes,u),Mh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,wh()),e.memoizedState=n,n}function ij(e,t,n){var i=Il();bn(ZP(i,Ws)),e(!0);var u=fh.transition;fh.transition={};var d=fh.transition;fh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(bn(i),fh.transition=u,u===null&&d._updatedFibers){var v=d._updatedFibers.size;v>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function by(){var e=Uv(!1),t=e[0],n=e[1],i=ij.bind(null,n),u=hs();return u.memoizedState=i,[t,i]}function Nx(){var e=cy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ox(){var e=fy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Mx=!1;function lj(){return Mx}function yy(){var e=hs(),t=g_(),n=t.identifierPrefix,i;if(kn()){var u=xF();i=":"+n+"R"+u;var d=ph++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var v=rj++;i=":"+n+"r"+v.toString(32)+":"}return e.memoizedState=i,i}function Jv(){var e=yl(),t=e.memoizedState;return t}function sj(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=cx(e,t,u,i);if(d!==null){var v=Xn();cn(d,e,i,v),zx(d,t,i)}}Bx(e,i)}function uj(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=e.alternate;if(e.lanes===ze&&(d===null||d.lanes===ze)){var v=t.lastRenderedReducer;if(v!==null){var y;y=ot.current,ot.current=Hl;try{var C=t.lastRenderedState,E=v(C,n);if(u.hasEagerState=!0,u.eagerState=E,Bo(E,C)){$F(e,t,u,i);return}}catch(J){}finally{ot.current=y}}}var A=cx(e,t,u,i);if(A!==null){var Z=Xn();cn(A,e,i,Z),zx(A,t,i)}}Bx(e,i)}function Px(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Ix(e,t){dh=jv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zx(e,t,n){if(TC(n)){var i=t.lanes;i=RC(i,e.pendingLanes);var u=or(i,n);t.lanes=u,Fb(e,u)}}function Bx(e,t,n){hb(e,t)}var Zv={readContext:Qa,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:ne},Fx=null,jx=null,Hx=null,Ux=null,ms=null,Hl=null,e_=null;{var Sy=function(){c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Yt=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Fx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Br(),md(t),vy(e,t)},useContext:function(e){return Le="useContext",Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Br(),md(t),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),md(n),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),md(t),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),md(t),hy(e,t)},useMemo:function(e,t){Le="useMemo",Br(),md(t);var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Br(),dy(e)},useState:function(e){Le="useState",Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),gy(e)},useTransition:function(){return Le="useTransition",Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),uy(e,t,n)},useId:function(){return Le="useId",Br(),yy()},unstable_isNewReconciler:ne},jx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),vy(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),hy(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),dy(e)},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),gy(e)},useTransition:function(){return Le="useTransition",tt(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),uy(e,t,n)},useId:function(){return Le="useId",tt(),yy()},unstable_isNewReconciler:ne},Hx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Xv(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=Hl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Vv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=Hl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Dx(e)},useTransition:function(){return Le="useTransition",tt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Hv(e,t)},useId:function(){return Le="useId",tt(),Jv()},unstable_isNewReconciler:ne},Ux={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Xv(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=e_;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=e_;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Vv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=e_;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Ax(e)},useTransition:function(){return Le="useTransition",tt(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Hv(e,t)},useId:function(){return Le="useId",tt(),Jv()},unstable_isNewReconciler:ne},ms={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),vy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),hy(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),dy(e)},useState:function(e){Le="useState",Yt(),Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),gy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),uy(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),yy()},unstable_isNewReconciler:ne},Hl={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Hl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Vv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Hl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Dx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Hv(e,t)},useId:function(){return Le="useId",Yt(),tt(),Jv()},unstable_isNewReconciler:ne},e_={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Hl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Vv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Hl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Ax(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Hv(e,t)},useId:function(){return Le="useId",Yt(),tt(),Jv()},unstable_isNewReconciler:ne}}var Yu=a.unstable_now,Vx=0,t_=-1,_h=-1,r_=-1,wy=!1,a_=!1;function Wx(){return wy}function cj(){a_=!0}function fj(){wy=!1,a_=!1}function dj(){wy=a_,a_=!1}function qx(){return Vx}function Yx(){Vx=Yu()}function Cy(e){_h=Yu(),e.actualStartTime<0&&(e.actualStartTime=Yu())}function $x(e){_h=-1}function n_(e,t){if(_h>=0){var n=Yu()-_h;e.actualDuration+=n,t&&(e.selfBaseDuration=n),_h=-1}}function vs(e){if(t_>=0){var t=Yu()-t_;t_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function xy(e){if(r_>=0){var t=Yu()-r_;r_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function _s(){t_=Yu()}function ky(){r_=Yu()}function Ty(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ul(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Ey={},Ry,Dy,Ay,Ly,Ny,Gx,o_,Oy,My,Py,gh;{Ry=new Set,Dy=new Set,Ay=new Set,Ly=new Set,Oy=new Set,Ny=new Set,My=new Set,Py=new Set,gh=new Set;var Kx=new Set;o_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Kx.has(n)||(Kx.add(n),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Gx=function(e,t){if(t===void 0){var n=Hr(e)||"Component";Ny.has(n)||(Ny.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ey,"_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(Ey)}function Iy(e,t,n,i){var u=e.memoizedState,d=n(i,u);{if(e.mode&Ma){_n(!0);try{d=n(i,u)}finally{_n(!1)}}Gx(t,d)}var v=d==null?u:Nt({},u,d);if(e.memoizedState=v,e.lanes===ze){var y=e.updateQueue;y.baseState=v}}var zy={isMounted:aP,enqueueSetState:function(e,t,n){var i=jf(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.payload=t,n!=null&&(o_(n,"setState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueReplaceState:function(e,t,n){var i=jf(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.tag=dx,v.payload=t,n!=null&&(o_(n,"replaceState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueForceUpdate:function(e,t){var n=jf(e),i=Xn(),u=Xu(n),d=Qs(i,u);d.tag=Lv,t!=null&&(o_(t,"forceUpdate"),d.callback=t);var v=Uu(n,d,u);v!==null&&(cn(v,n,u,i),Mv(v,n,u)),MP(n,u)}};function Xx(e,t,n,i,u,d,v){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,v);{if(e.mode&Ma){_n(!0);try{C=y.shouldComponentUpdate(i,d,v)}finally{_n(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!jp(n,i)||!jp(u,d):!0}function pj(e,t,n){var i=e.stateNode;{var u=Hr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),i.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!gh.has(t)&&(e.mode&Ma)===Ot&&(gh.add(t),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
84
|
+
Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Bo(e[n],t[n]))return!1;return!0}function _d(e,t,n,i,c,d){qu=d,Xr=t,bl=e!==null?e._debugHookTypes:null,Yc=-1,ly=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?ot.current=qx:bl!==null?ot.current=Wx:ot.current=Vx;var _=n(i,c);if(hh){var y=0;do{if(hh=!1,mh=0,y>=ij)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,ly=!1,nn=null,on=null,t.updateQueue=null,Yc=-1,ot.current=Yx,_=n(i,c)}while(hh)}ot.current=r_,t._debugHookTypes=bl;var w=nn!==null&&nn.next!==null;if(qu=ze,Xr=null,nn=null,on=null,Le=null,bl=null,Yc=-1,e!==null&&(e.flags&Vs)!==(t.flags&Vs)&&(e.mode&br)!==Ot&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Vv=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function gd(){var e=mh!==0;return mh=0,e}function xx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Ot?t.flags&=~(zm|Us|Pl|Tr):t.flags&=~(Pl|Tr),e.lanes=Wm(e.lanes,n)}function kx(){if(ot.current=r_,Vv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vv=!1}qu=ze,Xr=null,nn=null,on=null,bl=null,Yc=-1,Le=null,Bx=!1,hh=!1,mh=0}function ms(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Xr.memoizedState=on=e:on=on.next=e,on}function yl(){var e;if(nn===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Xr.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?Xr.memoizedState=on=i:on=on.next=i}return on}function Tx(){return{lastEffect:null,stores:null}}function cy(e,t){return typeof t=="function"?t(e):t}function uy(e,t,n){var i=ms(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var _=d.dispatch=fj.bind(null,Xr,d);return[i.memoizedState,_]}function fy(e,t,n){var i=yl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=nn,_=d.baseQueue,y=c.pending;if(y!==null){if(_!==null){var w=_.next,E=y.next;_.next=E,y.next=w}d.baseQueue!==_&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=_=y,c.pending=null}if(_!==null){var A=_.next,Z=d.baseState,J=null,me=null,ve=null,Ce=A;do{var rt=Ce.lane;if(Gf(qu,rt)){if(ve!==null){var St={lane:_n,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve=ve.next=St}if(Ce.hasEagerState)Z=Ce.eagerState;else{var pr=Ce.action;Z=e(Z,pr)}}else{var Rt={lane:rt,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve===null?(me=ve=Rt,J=Z):ve=ve.next=Rt,Xr.lanes=or(Xr.lanes,rt),Ih(rt)}Ce=Ce.next}while(Ce!==null&&Ce!==A);ve===null?J=Z:ve.next=me,Bo(Z,i.memoizedState)||xh(),i.memoizedState=Z,i.baseState=J,i.baseQueue=ve,c.lastRenderedState=Z}var hr=c.interleaved;if(hr!==null){var ce=hr;do{var De=ce.lane;Xr.lanes=or(Xr.lanes,De),Ih(De),ce=ce.next}while(ce!==hr)}else _===null&&(c.lanes=ze);var ue=c.dispatch;return[i.memoizedState,ue]}function dy(e,t,n){var i=yl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=c.dispatch,_=c.pending,y=i.memoizedState;if(_!==null){c.pending=null;var w=_.next,E=w;do{var A=E.action;y=e(y,A),E=E.next}while(E!==w);Bo(y,i.memoizedState)||xh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function Y$(e,t,n){}function $$(e,t,n){}function py(e,t,n){var i=Xr,c=ms(),d,_=kn();if(_){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),md||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),md=!0)}else{if(d=t(),!md){var y=t();Bo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var w=S_();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Vm(w,qu)||Ex(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Gv(Dx.bind(null,i,E,e),[e]),i.flags|=Pl,vh(rn|Tn,Rx.bind(null,i,E,d,t),void 0,null),d}function Wv(e,t,n){var i=Xr,c=yl(),d=t();if(!md){var _=t();Bo(d,_)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var y=c.memoizedState,w=!Bo(y,d);w&&(c.memoizedState=d,xh());var E=c.queue;if(gh(Dx.bind(null,i,E,e),[e]),E.getSnapshot!==t||w||on!==null&&on.memoizedState.tag&rn){i.flags|=Pl,vh(rn|Tn,Rx.bind(null,i,E,d,t),void 0,null);var A=S_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Vm(A,qu)||Ex(i,t,d)}return d}function Ex(e,t,n){e.flags|=Im;var i={getSnapshot:t,value:n},c=Xr.updateQueue;if(c===null)c=Tx(),Xr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.stores=[i]:d.push(i)}}function Rx(e,t,n,i){t.value=n,t.getSnapshot=i,Ax(t)&&Lx(e)}function Dx(e,t,n){var i=function(){Ax(t)&&Lx(e)};return n(i)}function Ax(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!Bo(n,i)}catch(c){return!0}}function Lx(e){var t=bo(e,qt);t!==null&&un(t,e,qt,ma)}function qv(e){var t=ms();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:cy,lastRenderedState:e};t.queue=n;var i=n.dispatch=dj.bind(null,Xr,n);return[t.memoizedState,i]}function hy(e){return fy(cy)}function my(e){return dy(cy)}function vh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=Tx(),Xr.updateQueue=d,d.lastEffect=c.next=c;else{var _=d.lastEffect;if(_===null)d.lastEffect=c.next=c;else{var y=_.next;_.next=c,c.next=y,d.lastEffect=c}}return c}function vy(e){var t=ms();{var n={current:e};return t.memoizedState=n,n}}function Yv(e){var t=yl();return t.memoizedState}function _h(e,t,n,i){var c=ms(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=vh(rn|t,n,void 0,d)}function $v(e,t,n,i){var c=yl(),d=i===void 0?null:i,_=void 0;if(nn!==null){var y=nn.memoizedState;if(_=y.destroy,d!==null){var w=y.deps;if(sy(d,w)){c.memoizedState=vh(t,n,_,d);return}}}Xr.flags|=e,c.memoizedState=vh(rn|t,n,_,d)}function Gv(e,t){return(Xr.mode&us)!==Ot?_h(zm|Pl|pb,Tn,e,t):_h(Pl|pb,Tn,e,t)}function gh(e,t){return $v(Pl,Tn,e,t)}function _y(e,t){return _h(Tr,hs,e,t)}function Kv(e,t){return $v(Tr,hs,e,t)}function gy(e,t){var n=Tr;return n|=Eu,(Xr.mode&us)!==Ot&&(n|=Us),_h(n,an,e,t)}function Xv(e,t){return $v(Tr,an,e,t)}function Nx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var d=e();return c.current=d,function(){c.current=null}}}function by(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=Tr;return c|=Eu,(Xr.mode&us)!==Ot&&(c|=Us),_h(c,an,Nx.bind(null,t,e),i)}function Qv(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 $v(Tr,an,Nx.bind(null,t,e),i)}function sj(e,t){}var Jv=sj;function yy(e,t){var n=ms(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Zv(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(sy(i,d))return c[0]}return n.memoizedState=[e,i],e}function Sy(e,t){var n=ms(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function e_(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(sy(i,d))return c[0]}var _=e();return n.memoizedState=[_,i],_}function wy(e){var t=ms();return t.memoizedState=e,e}function Ox(e){var t=yl(),n=nn,i=n.memoizedState;return Px(t,i,e)}function Mx(e){var t=yl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return Px(t,n,e)}function Px(e,t,n){var i=!$I(qu);if(i){if(!Bo(n,t)){var c=L3();Xr.lanes=or(Xr.lanes,c),Ih(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,xh()),e.memoizedState=n,n}function cj(e,t,n){var i=zl();gn(rz(i,qs)),e(!0);var c=ph.transition;ph.transition={};var d=ph.transition;ph.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(gn(i),ph.transition=c,c===null&&d._updatedFibers){var _=d._updatedFibers.size;_>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function Cy(){var e=qv(!1),t=e[0],n=e[1],i=cj.bind(null,n),c=ms();return c.memoizedState=i,[t,i]}function Ix(){var e=hy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function zx(){var e=my(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Bx=!1;function uj(){return Bx}function xy(){var e=ms(),t=S_(),n=t.identifierPrefix,i;if(kn()){var c=EF();i=":"+n+"R"+c;var d=mh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var _=oj++;i=":"+n+"r"+_.toString(32)+":"}return e.memoizedState=i,i}function t_(){var e=yl(),t=e.memoizedState;return t}function fj(e,t,n){typeof arguments[3]=="function"&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fx(e))jx(t,c);else{var d=hx(e,t,c,i);if(d!==null){var _=Qn();un(d,e,i,_),Hx(d,t,i)}}Ux(e,i)}function dj(e,t,n){typeof arguments[3]=="function"&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=Qc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fx(e))jx(t,c);else{var d=e.alternate;if(e.lanes===ze&&(d===null||d.lanes===ze)){var _=t.lastRenderedReducer;if(_!==null){var y;y=ot.current,ot.current=Ul;try{var w=t.lastRenderedState,E=_(w,n);if(c.hasEagerState=!0,c.eagerState=E,Bo(E,w)){XF(e,t,c,i);return}}catch(J){}finally{ot.current=y}}}var A=hx(e,t,c,i);if(A!==null){var Z=Qn();un(A,e,i,Z),Hx(A,t,i)}}Ux(e,i)}function Fx(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function jx(e,t){hh=Vv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hx(e,t,n){if(A3(n)){var i=t.lanes;i=N3(i,e.pendingLanes);var c=or(i,n);t.lanes=c,Vb(e,c)}}function Ux(e,t,n){gb(e,t)}var r_={readContext:Xa,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:ne},Vx=null,Wx=null,qx=null,Yx=null,vs=null,Ul=null,a_=null;{var ky=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Yt=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Vx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Le="useCallback",Br(),vd(t),yy(e,t)},useContext:function(e){return Le="useContext",Br(),Xa(e)},useEffect:function(e,t){return Le="useEffect",Br(),vd(t),Gv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),vd(n),by(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),vd(t),_y(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),vd(t),gy(e,t)},useMemo:function(e,t){Le="useMemo",Br(),vd(t);var n=ot.current;ot.current=vs;try{return Sy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=ot.current;ot.current=vs;try{return uy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Br(),vy(e)},useState:function(e){Le="useState",Br();var t=ot.current;ot.current=vs;try{return qv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),wy(e)},useTransition:function(){return Le="useTransition",Br(),Cy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),py(e,t,n)},useId:function(){return Le="useId",Br(),xy()},unstable_isNewReconciler:ne},Wx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Le="useCallback",tt(),yy(e,t)},useContext:function(e){return Le="useContext",tt(),Xa(e)},useEffect:function(e,t){return Le="useEffect",tt(),Gv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),by(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),_y(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),gy(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=vs;try{return Sy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=vs;try{return uy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),vy(e)},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=vs;try{return qv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),wy(e)},useTransition:function(){return Le="useTransition",tt(),Cy()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),py(e,t,n)},useId:function(){return Le="useId",tt(),xy()},unstable_isNewReconciler:ne},qx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Zv(e,t)},useContext:function(e){return Le="useContext",tt(),Xa(e)},useEffect:function(e,t){return Le="useEffect",tt(),gh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Qv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Kv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Xv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=Ul;try{return e_(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=Ul;try{return fy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Yv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=Ul;try{return hy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Jv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Ox(e)},useTransition:function(){return Le="useTransition",tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Wv(e,t)},useId:function(){return Le="useId",tt(),t_()},unstable_isNewReconciler:ne},Yx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Zv(e,t)},useContext:function(e){return Le="useContext",tt(),Xa(e)},useEffect:function(e,t){return Le="useEffect",tt(),gh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Qv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Kv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Xv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=a_;try{return e_(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=a_;try{return dy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Yv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=a_;try{return my(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Jv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Mx(e)},useTransition:function(){return Le="useTransition",tt(),zx()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Wv(e,t)},useId:function(){return Le="useId",tt(),t_()},unstable_isNewReconciler:ne},vs={readContext:function(e){return ky(),Xa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),yy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Xa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),Gv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),by(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),_y(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),gy(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=ot.current;ot.current=vs;try{return Sy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=ot.current;ot.current=vs;try{return uy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),vy(e)},useState:function(e){Le="useState",Yt(),Br();var t=ot.current;ot.current=vs;try{return qv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),wy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),Cy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),py(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),xy()},unstable_isNewReconciler:ne},Ul={readContext:function(e){return ky(),Xa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Zv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Xa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),gh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Qv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Kv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Xv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Ul;try{return e_(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Ul;try{return fy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Yv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Ul;try{return hy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Jv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Ox(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Wv(e,t)},useId:function(){return Le="useId",Yt(),tt(),t_()},unstable_isNewReconciler:ne},a_={readContext:function(e){return ky(),Xa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Zv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Xa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),gh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Qv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Kv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Xv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Ul;try{return e_(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Ul;try{return dy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Yv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Ul;try{return my(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Jv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Mx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),zx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Wv(e,t)},useId:function(){return Le="useId",Yt(),tt(),t_()},unstable_isNewReconciler:ne}}var $c=a.unstable_now,$x=0,n_=-1,bh=-1,o_=-1,Ty=!1,i_=!1;function Gx(){return Ty}function pj(){i_=!0}function hj(){Ty=!1,i_=!1}function mj(){Ty=i_,i_=!1}function Kx(){return $x}function Xx(){$x=$c()}function Ey(e){bh=$c(),e.actualStartTime<0&&(e.actualStartTime=$c())}function Qx(e){bh=-1}function l_(e,t){if(bh>=0){var n=$c()-bh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),bh=-1}}function _s(e){if(n_>=0){var t=$c()-n_;n_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function Ry(e){if(o_>=0){var t=$c()-o_;o_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function gs(){n_=$c()}function Dy(){o_=$c()}function Ay(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Vl(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ly={},Ny,Oy,My,Py,Iy,Jx,s_,zy,By,Fy,yh;{Ny=new Set,Oy=new Set,My=new Set,Py=new Set,zy=new Set,Iy=new Set,By=new Set,Fy=new Set,yh=new Set;var Zx=new Set;s_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Zx.has(n)||(Zx.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Jx=function(e,t){if(t===void 0){var n=Hr(e)||"Component";Iy.has(n)||(Iy.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ly,"_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(Ly)}function jy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Ma){vn(!0);try{d=n(i,c)}finally{vn(!1)}}Jx(t,d)}var _=d==null?c:Nt({},c,d);if(e.memoizedState=_,e.lanes===ze){var y=e.updateQueue;y.baseState=_}}var Hy={isMounted:iI,enqueueSetState:function(e,t,n){var i=Hf(e),c=Qn(),d=Qc(i),_=Js(c,d);_.payload=t,n!=null&&(s_(n,"setState"),_.callback=n);var y=Vc(i,_,d);y!==null&&(un(y,i,d,c),zv(y,i,d)),gb(i,d)},enqueueReplaceState:function(e,t,n){var i=Hf(e),c=Qn(),d=Qc(i),_=Js(c,d);_.tag=vx,_.payload=t,n!=null&&(s_(n,"replaceState"),_.callback=n);var y=Vc(i,_,d);y!==null&&(un(y,i,d,c),zv(y,i,d)),gb(i,d)},enqueueForceUpdate:function(e,t){var n=Hf(e),i=Qn(),c=Qc(n),d=Js(i,c);d.tag=Mv,t!=null&&(s_(t,"forceUpdate"),d.callback=t);var _=Vc(n,d,c);_!==null&&(un(_,n,c,i),zv(_,n,c)),zI(n,c)}};function e4(e,t,n,i,c,d,_){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var w=y.shouldComponentUpdate(i,d,_);{if(e.mode&Ma){vn(!0);try{w=y.shouldComponentUpdate(i,d,_)}finally{vn(!1)}}w===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Up(n,i)||!Up(c,d):!0}function vj(e,t,n){var i=e.stateNode;{var c=Hr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),i.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),i.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!yh.has(t)&&(e.mode&Ma)===Ot&&(yh.add(t),u(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
85
85
|
|
|
86
|
-
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,
|
|
86
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!yh.has(t)&&(e.mode&Ma)===Ot&&(yh.add(t),u(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
87
87
|
|
|
88
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,
|
|
88
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),i.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!By.has(t)&&(By.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof i.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof i.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var _=i.props!==n;i.props!==void 0&&_&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),i.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!My.has(t)&&(My.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var y=i.state;y&&(typeof y!="object"||tn(y))&&u("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function t4(e,t){t.updater=Hy,e.stateNode=t,tI(t,e),t._reactInternalInstance=Ly}function r4(e,t,n){var i=!1,c=Fo,d=Fo,_=t.contextType;if("contextType"in t){var y=_===null||_!==void 0&&_.$$typeof===q&&_._context===void 0;if(!y&&!Fy.has(t)){Fy.add(t);var w="";_===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof _!="object"?w=" However, it is set to a "+typeof _+".":_.$$typeof===D?w=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",w)}}if(typeof _=="object"&&_!==null)d=Xa(_);else{c=nd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?od(e,c):Fo}var A=new t(n,d);if(e.mode&Ma){vn(!0);try{A=new t(n,d)}finally{vn(!1)}}var Z=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;t4(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var J=Hr(t)||"Component";Oy.has(J)||(Oy.add(J),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,A.state===null?"null":"undefined",J))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var me=null,ve=null,Ce=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ve="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(ve="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?Ce="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(Ce="UNSAFE_componentWillUpdate"),me!==null||ve!==null||Ce!==null){var rt=Hr(t)||"Component",Rt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Py.has(rt)||(Py.add(rt),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
89
89
|
|
|
90
90
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
91
91
|
|
|
92
92
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
93
93
|
https://reactjs.org/link/unsafe-component-lifecycles`,rt,Rt,me!==null?`
|
|
94
94
|
`+me:"",ve!==null?`
|
|
95
|
-
`+ve:"",
|
|
96
|
-
`+
|
|
97
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=
|
|
98
|
-
`+
|
|
95
|
+
`+ve:"",Ce!==null?`
|
|
96
|
+
`+Ce:""))}}}return i&&qC(e,c,d),A}function _j(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",er(e)||"Component"),Hy.enqueueReplaceState(t,t.state,null))}function a4(e,t,n,i){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==c){{var d=er(e)||"Component";Ny.has(d)||(Ny.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}Hy.enqueueReplaceState(t,t.state,null)}}function Uy(e,t,n,i){vj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},Q1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=Xa(d);else{var _=nd(e,t,!0);c.context=od(e,_)}{if(c.state===n){var y=Hr(t)||"Component";zy.has(y)||(zy.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Ma&&jl.recordLegacyContextWarning(e,c),jl.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var w=t.getDerivedStateFromProps;if(typeof w=="function"&&(jy(e,t,w,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(_j(e,c),Bv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Tr;E|=Eu,(e.mode&us)!==Ot&&(E|=Us),e.flags|=E}}function gj(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var _=c.context,y=t.contextType,w=Fo;if(typeof y=="object"&&y!==null)w=Xa(y);else{var E=nd(e,t,!0);w=od(e,E)}var A=t.getDerivedStateFromProps,Z=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function";!Z&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||_!==w)&&a4(e,c,n,w),gx();var J=e.memoizedState,me=c.state=J;if(Bv(e,n,c,i),me=e.memoizedState,d===n&&J===me&&!bv()&&!Fv()){if(typeof c.componentDidMount=="function"){var ve=Tr;ve|=Eu,(e.mode&us)!==Ot&&(ve|=Us),e.flags|=ve}return!1}typeof A=="function"&&(jy(e,t,A,n),me=e.memoizedState);var Ce=Fv()||e4(e,t,d,n,J,me,w);if(Ce){if(!Z&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var rt=Tr;rt|=Eu,(e.mode&us)!==Ot&&(rt|=Us),e.flags|=rt}}else{if(typeof c.componentDidMount=="function"){var Rt=Tr;Rt|=Eu,(e.mode&us)!==Ot&&(Rt|=Us),e.flags|=Rt}e.memoizedProps=n,e.memoizedState=me}return c.props=n,c.state=me,c.context=w,Ce}function bj(e,t,n,i,c){var d=t.stateNode;_x(e,t);var _=t.memoizedProps,y=t.type===t.elementType?_:Vl(t.type,_);d.props=y;var w=t.pendingProps,E=d.context,A=n.contextType,Z=Fo;if(typeof A=="object"&&A!==null)Z=Xa(A);else{var J=nd(t,n,!0);Z=od(t,J)}var me=n.getDerivedStateFromProps,ve=typeof me=="function"||typeof d.getSnapshotBeforeUpdate=="function";!ve&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(_!==w||E!==Z)&&a4(t,d,i,Z),gx();var Ce=t.memoizedState,rt=d.state=Ce;if(Bv(t,i,d,c),rt=t.memoizedState,_===w&&Ce===rt&&!bv()&&!Fv()&&!ee)return typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=ku),!1;typeof me=="function"&&(jy(t,n,me,i),rt=t.memoizedState);var Rt=Fv()||e4(t,n,y,i,Ce,rt,Z)||ee;return Rt?(!ve&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,rt,Z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,rt,Z)),typeof d.componentDidUpdate=="function"&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=rt),d.props=i,d.state=rt,d.context=Z,Rt}function Yu(e,t){return{value:e,source:t,stack:Cm(t),digest:null}}function Vy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function yj(e,t){return!0}function Wy(e,t){try{var n=yj(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,_=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?er(c):null,w=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
97
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=er(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+A+".")}var Z=w+`
|
|
98
|
+
`+_+`
|
|
99
99
|
|
|
100
|
-
`+(""+E);console.error(Z)}catch(J){setTimeout(function(){throw J})}}var gj=typeof WeakMap=="function"?WeakMap:Map;function e4(e,t,n){var i=Qs(va,n);i.tag=q1,i.payload={element:null};var u=t.value;return i.callback=function(){mU(u),jy(e,t)},i}function Hy(e,t,n){var i=Qs(va,n);i.tag=q1;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var d=t.value;i.payload=function(){return u(d)},i.callback=function(){dk(e),jy(e,t)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){dk(e),jy(e,t),typeof u!="function"&&pU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof u!="function"&&(Po(e.lanes,qt)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Zt(e)||"Unknown"))}),i}function t4(e,t,n){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new gj,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(n)){u.add(n);var d=vU.bind(null,e,t,n);Pl&&Ph(e,n),t.then(d,d)}}function bj(e,t,n,i){var u=e.updateQueue;if(u===null){var d=new Set;d.add(n),e.updateQueue=d}else u.add(n)}function yj(e,t){var n=e.tag;if((e.mode&gr)===Ot&&(n===p||n===j||n===te)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function r4(e){var t=e;do{if(t.tag===Q&&ej(t))return t;t=t.return}while(t!==null);return null}function a4(e,t,n,i,u){if((e.mode&gr)===Ot){if(e===t)e.flags|=$n;else{if(e.flags|=Pr,n.flags|=lb,n.flags&=~(ZM|_p),n.tag===m){var d=n.alternate;if(d===null)n.tag=re;else{var v=Qs(va,qt);v.tag=Lv,Uu(n,v,qt)}}n.lanes=or(n.lanes,qt)}return e}return e.flags|=$n,e.lanes=u,e}function Sj(e,t,n,i,u){if(n.flags|=_p,Pl&&Ph(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;yj(n),kn()&&n.mode&gr&&G3();var v=r4(t);if(v!==null){v.flags&=~Fs,a4(v,t,n,e,u),v.mode&gr&&t4(e,d,u),bj(v,e,d);return}else{if(!VP(u)){t4(e,d,u),S0();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=y}}else if(kn()&&n.mode&gr){G3();var C=r4(t);if(C!==null){(C.flags&$n)===zt&&(C.flags|=Fs),a4(C,t,n,e,u),O1(qc(i,n));return}}i=qc(i,n),oU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=$n;var Z=kp(u);E.lanes=or(E.lanes,Z);var J=e4(E,A,Z);G1(E,J);return}case m:var me=i,ve=E.type,we=E.stateNode;if((E.flags&Pr)===zt&&(typeof ve.getDerivedStateFromError=="function"||we!==null&&typeof we.componentDidCatch=="function"&&!ak(we))){E.flags|=$n;var rt=kp(u);E.lanes=or(E.lanes,rt);var Rt=Hy(E,me,rt);G1(E,Rt);return}break}E=E.return}while(E!==null)}function wj(){return null}var bh=o.ReactCurrentOwner,Vl=!1,Uy,yh,Vy,Wy,qy,Yc,Yy,i_,Sh;Uy={},yh={},Vy={},Wy={},qy={},Yc=!1,Yy={},i_={},Sh={};function Gn(e,t,n,i){e===null?t.child=ix(t,null,n,i):t.child=sd(t,e.child,n,i)}function Cj(e,t,n,i){t.child=sd(t,e.child,null,i),t.child=sd(t,null,n,i)}function n4(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&zl(d,i,"prop",Hr(n))}var v=n.render,y=t.ref,C,E;cd(t,u),bp(t);{if(bh.current=t,ml(!0),C=vd(e,t,v,i,y,u),E=_d(),t.mode&Ma){_n(!0);try{C=vd(e,t,v,i,y,u),E=_d()}finally{_n(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=Hf,Gn(e,t,C,u),t.child)}function o4(e,t,n,i,u){if(e===null){var d=n.type;if(OU(d)&&n.compare===null&&n.defaultProps===void 0){var v=d;return v=kd(d),t.tag=te,t.type=v,Ky(t,d),i4(e,t,v,i,u)}{var y=d.propTypes;if(y&&zl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";Sh[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Sh[C]=!0)}}var E=N0(n.type,null,i,t,t.mode,u);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&zl(Z,i,"prop",Hr(A))}var J=e.child,me=t0(e,u);if(!me){var ve=J.memoizedProps,we=n.compare;if(we=we!==null?we:jp,we(ve,i)&&e.ref===t.ref)return Js(e,t,u)}t.flags|=Hf;var rt=Qc(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function i4(e,t,n,i,u){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var v=d,y=v._payload,C=v._init;try{d=C(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&zl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(jp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Vl=!1,t.pendingProps=i=A,t0(e,u))(e.flags&lb)!==zt&&(Vl=!0);else return t.lanes=e.lanes,Js(e,t,u)}return $y(e,t,n,i,u)}function l4(e,t,n){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||de)if((t.mode&gr)===Ot){var v={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=v,b_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;b_(t,J)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=or(E,n)}else C=n;t.lanes=t.childLanes=Mo;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,b_(t,C),null}else{var me;d!==null?(me=or(d.baseLanes,n),t.memoizedState=null):me=n,b_(t,me)}return Gn(e,t,u,n),t.child}function xj(e,t,n){var i=t.pendingProps;return Gn(e,t,i,n),t.child}function kj(e,t,n){var i=t.pendingProps.children;return Gn(e,t,i,n),t.child}function Tj(e,t,n){{t.flags|=kr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,d=u.children;return Gn(e,t,d,n),t.child}function s4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Au,t.flags|=sb)}function $y(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&zl(d,i,"prop",Hr(n))}var v;{var y=ad(t,n,!0);v=nd(t,y)}var C,E;cd(t,u),bp(t);{if(bh.current=t,ml(!0),C=vd(e,t,n,i,v,u),E=_d(),t.mode&Ma){_n(!0);try{C=vd(e,t,n,i,v,u),E=_d()}finally{_n(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=Hf,Gn(e,t,C,u),t.child)}function u4(e,t,n,i,u){{switch(GU(t)){case!1:{var d=t.stateNode,v=t.type,y=new v(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Pr,t.flags|=$n;var E=new Error("Simulated error coming from DevTools"),A=kp(u);t.lanes=or(t.lanes,A);var Z=Hy(t,qc(E,t),A);G1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&zl(J,i,"prop",Hr(n))}}var me;ds(n)?(me=!0,gv(t)):me=!1,cd(t,u);var ve=t.stateNode,we;ve===null?(s_(e,t),Jx(t,n,i),By(t,n,i,u),we=!0):e===null?we=mj(t,n,i,u):we=vj(e,t,n,i,u);var rt=Gy(e,t,n,we,me,u);{var Rt=t.stateNode;we&&Rt.props!==i&&(Yc||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Zt(t)||"a component"),Yc=!0)}return rt}function Gy(e,t,n,i,u,d){s4(e,t);var v=(t.flags&Pr)!==zt;if(!i&&!v)return u&&W3(t,n,!1),Js(e,t,d);var y=t.stateNode;bh.current=t;var C;if(v&&typeof n.getDerivedStateFromError!="function")C=null,$x();else{bp(t);{if(ml(!0),C=y.render(),t.mode&Ma){_n(!0);try{y.render()}finally{_n(!1)}}ml(!1)}Vf()}return t.flags|=Hf,e!==null&&v?Cj(e,t,C,d):Gn(e,t,C,d),t.memoizedState=y.state,u&&W3(t,n,!0),t.child}function c4(e){var t=e.stateNode;t.pendingContext?U3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&U3(e,t.context,!1),K1(e,t.containerInfo)}function Ej(e,t,n){if(c4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,d=u.element;px(e,t),Pv(t,i,null,n);var v=t.memoizedState,y=t.stateNode,C=v.element;if(u.isDehydrated){var E={element:C,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Fs){var Z=qc(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 f4(e,t,C,n,Z)}else if(C!==d){var J=qc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return f4(e,t,C,n,J)}else{AF(t);var me=ix(t,null,C,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Xa|js,ve=ve.sibling}}else{if(ld(),C===d)return Js(e,t,n);Gn(e,t,C,n)}return t.child}function f4(e,t,n,i,u){return ld(),O1(u),t.flags|=Fs,Gn(e,t,n,i),t.child}function Rj(e,t,n){_x(t),e===null&&N1(t);var i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,y=p1(i,u);return y?v=null:d!==null&&p1(i,d)&&(t.flags|=vp),s4(e,t),Gn(e,t,v,n),t.child}function Dj(e,t){return e===null&&N1(t),null}function Aj(e,t,n,i){s_(e,t);var u=t.pendingProps,d=n,v=d._payload,y=d._init,C=y(v);t.type=C;var E=t.tag=MU(C),A=Ul(C,u),Z;switch(E){case p:return Ky(t,C),t.type=C=kd(C),Z=$y(null,t,C,A,i),Z;case m:return t.type=C=T0(C),Z=u4(null,t,C,A,i),Z;case j:return t.type=C=E0(C),Z=n4(null,t,C,A,i),Z;case N:{if(t.type!==t.elementType){var J=C.propTypes;J&&zl(J,A,"prop",Hr(C))}return Z=o4(null,t,C,Ul(C.type,A),i),Z}}var me="";throw C!==null&&typeof C=="object"&&C.$$typeof===Je&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+me))}function Lj(e,t,n,i,u){s_(e,t),t.tag=m;var d;return ds(n)?(d=!0,gv(t)):d=!1,cd(t,u),Jx(t,n,i),By(t,n,i,u),Gy(null,t,n,!0,d,u)}function Nj(e,t,n,i){s_(e,t);var u=t.pendingProps,d;{var v=ad(t,n,!1);d=nd(t,v)}cd(t,i);var y,C;bp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Uy[E]||(c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",E,E),Uy[E]=!0)}t.mode&Ma&&Fl.recordLegacyContextWarning(t,null),ml(!0),bh.current=t,y=vd(null,t,n,u,d,i),C=_d(),ml(!1)}if(Vf(),t.flags|=Hf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";yh[A]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",A,A,A),yh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Hr(n)||"Unknown";yh[Z]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Z,Z,Z),yh[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return ds(n)?(J=!0,gv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,$1(t),Qx(t,y),By(t,n,u,i),Gy(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Ma){_n(!0);try{y=vd(null,t,n,u,d,i),C=_d()}finally{_n(!1)}}return kn()&&C&&E1(t),Gn(null,t,y,i),Ky(t,n),t.child}}function Ky(e,t){{if(t&&t.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Ru();i&&(n+=`
|
|
100
|
+
`+(""+E);console.error(Z)}catch(J){setTimeout(function(){throw J})}}var Sj=typeof WeakMap=="function"?WeakMap:Map;function n4(e,t,n){var i=Js(ma,n);i.tag=K1,i.payload={element:null};var c=t.value;return i.callback=function(){gU(c),Wy(e,t)},i}function qy(e,t,n){var i=Js(ma,n);i.tag=K1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){vk(e),Wy(e,t)}}var _=e.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){vk(e),Wy(e,t),typeof c!="function"&&vU(this);var w=t.value,E=t.stack;this.componentDidCatch(w,{componentStack:E!==null?E:""}),typeof c!="function"&&(Po(e.lanes,qt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",er(e)||"Unknown"))}),i}function o4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new Sj,c=new Set,i.set(t,c)):(c=i.get(t),c===void 0&&(c=new Set,i.set(t,c))),!c.has(n)){c.add(n);var d=bU.bind(null,e,t,n);Il&&zh(e,n),t.then(d,d)}}function wj(e,t,n,i){var c=e.updateQueue;if(c===null){var d=new Set;d.add(n),e.updateQueue=d}else c.add(n)}function Cj(e,t){var n=e.tag;if((e.mode&br)===Ot&&(n===p||n===j||n===te)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function i4(e){var t=e;do{if(t.tag===Q&&aj(t))return t;t=t.return}while(t!==null);return null}function l4(e,t,n,i,c){if((e.mode&br)===Ot){if(e===t)e.flags|=Gn;else{if(e.flags|=Pr,n.flags|=fb,n.flags&=~(rI|bp),n.tag===m){var d=n.alternate;if(d===null)n.tag=re;else{var _=Js(ma,qt);_.tag=Mv,Vc(n,_,qt)}}n.lanes=or(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function xj(e,t,n,i,c){if(n.flags|=bp,Il&&zh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;Cj(n),kn()&&n.mode&br&&JC();var _=i4(t);if(_!==null){_.flags&=~js,l4(_,t,n,e,c),_.mode&br&&o4(e,d,c),wj(_,e,d);return}else{if(!YI(c)){o4(e,d,c),k0();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=y}}else if(kn()&&n.mode&br){JC();var w=i4(t);if(w!==null){(w.flags&Gn)===It&&(w.flags|=js),l4(w,t,n,e,c),z1(Yu(i,n));return}}i=Yu(i,n),sU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var Z=Ep(c);E.lanes=or(E.lanes,Z);var J=n4(E,A,Z);J1(E,J);return}case m:var me=i,ve=E.type,Ce=E.stateNode;if((E.flags&Pr)===It&&(typeof ve.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!lk(Ce))){E.flags|=Gn;var rt=Ep(c);E.lanes=or(E.lanes,rt);var Rt=qy(E,me,rt);J1(E,Rt);return}break}E=E.return}while(E!==null)}function kj(){return null}var Sh=o.ReactCurrentOwner,Wl=!1,Yy,wh,$y,Gy,Ky,$u,Xy,c_,Ch;Yy={},wh={},$y={},Gy={},Ky={},$u=!1,Xy={},c_={},Ch={};function Kn(e,t,n,i){e===null?t.child=ux(t,null,n,i):t.child=cd(t,e.child,n,i)}function Tj(e,t,n,i){t.child=cd(t,e.child,null,i),t.child=cd(t,null,n,i)}function s4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Bl(d,i,"prop",Hr(n))}var _=n.render,y=t.ref,w,E;fd(t,c),Sp(t);{if(Sh.current=t,ml(!0),w=_d(e,t,_,i,y,c),E=gd(),t.mode&Ma){vn(!0);try{w=_d(e,t,_,i,y,c),E=gd()}finally{vn(!1)}}ml(!1)}return Wf(),e!==null&&!Wl?(xx(e,t,c),Zs(e,t,c)):(kn()&&E&&L1(t),t.flags|=Uf,Kn(e,t,w,c),t.child)}function c4(e,t,n,i,c){if(e===null){var d=n.type;if(IU(d)&&n.compare===null&&n.defaultProps===void 0){var _=d;return _=Td(d),t.tag=te,t.type=_,Zy(t,d),u4(e,t,_,i,c)}{var y=d.propTypes;if(y&&Bl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var w=Hr(d)||"Unknown";Ch[w]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",w),Ch[w]=!0)}}var E=I0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&Bl(Z,i,"prop",Hr(A))}var J=e.child,me=o0(e,c);if(!me){var ve=J.memoizedProps,Ce=n.compare;if(Ce=Ce!==null?Ce:Up,Ce(ve,i)&&e.ref===t.ref)return Zs(e,t,c)}t.flags|=Uf;var rt=Ju(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function u4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var _=d,y=_._payload,w=_._init;try{d=w(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&Bl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(Up(A,i)&&e.ref===t.ref&&t.type===e.type)if(Wl=!1,t.pendingProps=i=A,o0(e,c))(e.flags&fb)!==It&&(Wl=!0);else return t.lanes=e.lanes,Zs(e,t,c)}return Qy(e,t,n,i,c)}function f4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||de)if((t.mode&br)===Ot){var _={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=_,w_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;w_(t,J)}else{var y=null,w;if(d!==null){var E=d.baseLanes;w=or(E,n)}else w=n;t.lanes=t.childLanes=Mo;var A={baseLanes:w,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,w_(t,w),null}else{var me;d!==null?(me=or(d.baseLanes,n),t.memoizedState=null):me=n,w_(t,me)}return Kn(e,t,c,n),t.child}function Ej(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Rj(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Dj(e,t,n){{t.flags|=Tr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,d=c.children;return Kn(e,t,d,n),t.child}function d4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Lc,t.flags|=db)}function Qy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Bl(d,i,"prop",Hr(n))}var _;{var y=nd(t,n,!0);_=od(t,y)}var w,E;fd(t,c),Sp(t);{if(Sh.current=t,ml(!0),w=_d(e,t,n,i,_,c),E=gd(),t.mode&Ma){vn(!0);try{w=_d(e,t,n,i,_,c),E=gd()}finally{vn(!1)}}ml(!1)}return Wf(),e!==null&&!Wl?(xx(e,t,c),Zs(e,t,c)):(kn()&&E&&L1(t),t.flags|=Uf,Kn(e,t,w,c),t.child)}function p4(e,t,n,i,c){{switch(QU(t)){case!1:{var d=t.stateNode,_=t.type,y=new _(t.memoizedProps,d.context),w=y.state;d.updater.enqueueSetState(d,w,null);break}case!0:{t.flags|=Pr,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=Ep(c);t.lanes=or(t.lanes,A);var Z=qy(t,Yu(E,t),A);J1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&Bl(J,i,"prop",Hr(n))}}var me;ps(n)?(me=!0,Sv(t)):me=!1,fd(t,c);var ve=t.stateNode,Ce;ve===null?(f_(e,t),r4(t,n,i),Uy(t,n,i,c),Ce=!0):e===null?Ce=gj(t,n,i,c):Ce=bj(e,t,n,i,c);var rt=Jy(e,t,n,Ce,me,c);{var Rt=t.stateNode;Ce&&Rt.props!==i&&($u||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",er(t)||"a component"),$u=!0)}return rt}function Jy(e,t,n,i,c,d){d4(e,t);var _=(t.flags&Pr)!==It;if(!i&&!_)return c&&GC(t,n,!1),Zs(e,t,d);var y=t.stateNode;Sh.current=t;var w;if(_&&typeof n.getDerivedStateFromError!="function")w=null,Qx();else{Sp(t);{if(ml(!0),w=y.render(),t.mode&Ma){vn(!0);try{y.render()}finally{vn(!1)}}ml(!1)}Wf()}return t.flags|=Uf,e!==null&&_?Tj(e,t,w,d):Kn(e,t,w,d),t.memoizedState=y.state,c&&GC(t,n,!0),t.child}function h4(e){var t=e.stateNode;t.pendingContext?YC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&YC(e,t.context,!1),Z1(e,t.containerInfo)}function Aj(e,t,n){if(h4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,d=c.element;_x(e,t),Bv(t,i,null,n);var _=t.memoizedState,y=t.stateNode,w=_.element;if(c.isDehydrated){var E={element:w,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&js){var Z=Yu(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return m4(e,t,w,n,Z)}else if(w!==d){var J=Yu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return m4(e,t,w,n,J)}else{OF(t);var me=ux(t,null,w,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Ka|Hs,ve=ve.sibling}}else{if(sd(),w===d)return Zs(e,t,n);Kn(e,t,w,n)}return t.child}function m4(e,t,n,i,c){return sd(),z1(c),t.flags|=js,Kn(e,t,n,i),t.child}function Lj(e,t,n){Sx(t),e===null&&I1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,_=c.children,y=_1(i,c);return y?_=null:d!==null&&_1(i,d)&&(t.flags|=gp),d4(e,t),Kn(e,t,_,n),t.child}function Nj(e,t){return e===null&&I1(t),null}function Oj(e,t,n,i){f_(e,t);var c=t.pendingProps,d=n,_=d._payload,y=d._init,w=y(_);t.type=w;var E=t.tag=zU(w),A=Vl(w,c),Z;switch(E){case p:return Zy(t,w),t.type=w=Td(w),Z=Qy(null,t,w,A,i),Z;case m:return t.type=w=A0(w),Z=p4(null,t,w,A,i),Z;case j:return t.type=w=L0(w),Z=s4(null,t,w,A,i),Z;case N:{if(t.type!==t.elementType){var J=w.propTypes;J&&Bl(J,A,"prop",Hr(w))}return Z=c4(null,t,w,Vl(w.type,A),i),Z}}var me="";throw w!==null&&typeof w=="object"&&w.$$typeof===Je&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+me))}function Mj(e,t,n,i,c){f_(e,t),t.tag=m;var d;return ps(n)?(d=!0,Sv(t)):d=!1,fd(t,c),r4(t,n,i),Uy(t,n,i,c),Jy(null,t,n,!0,d,c)}function Pj(e,t,n,i){f_(e,t);var c=t.pendingProps,d;{var _=nd(t,n,!1);d=od(t,_)}fd(t,i);var y,w;Sp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Yy[E]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",E,E),Yy[E]=!0)}t.mode&Ma&&jl.recordLegacyContextWarning(t,null),ml(!0),Sh.current=t,y=_d(null,t,n,c,d,i),w=gd(),ml(!1)}if(Wf(),t.flags|=Uf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";wh[A]||(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.",A,A,A),wh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Hr(n)||"Unknown";wh[Z]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Z,Z,Z),wh[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return ps(n)?(J=!0,Sv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Q1(t),t4(t,y),Uy(t,n,c,i),Jy(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Ma){vn(!0);try{y=_d(null,t,n,c,d,i),w=gd()}finally{vn(!1)}}return kn()&&w&&L1(t),Kn(null,t,y,i),Zy(t,n),t.child}}function Zy(e,t){{if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Dc();i&&(n+=`
|
|
101
101
|
|
|
102
|
-
Check the render method of \``+i+"`.");var u=i||"",d=e._debugSource;d&&(u=d.fileName+":"+d.lineNumber),qy[u]||(qy[u]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var v=Hr(t)||"Unknown";Sh[v]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",v),Sh[v]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Wy[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),Wy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Vy[C]||(c("%s: Function components do not support contextType.",C),Vy[C]=!0)}}}var Xy={dehydrated:null,treeContext:null,retryLane:gn};function Qy(e){return{baseLanes:e,cachePool:wj(),transitions:null}}function Oj(e,t){var n=null;return{baseLanes:or(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Mj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return J1(e,ch)}function Pj(e,t){return Hm(e.childLanes,t)}function d4(e,t,n){var i=t.pendingProps;KU(t)&&(t.flags|=Pr);var u=jl.current,d=!1,v=(t.flags&Pr)!==zt;if(v||Mj(u,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(u=ZF(u,bx)),u=dd(u),Wu(t,u),e===null){N1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return jj(t,C)}var E=i.children,A=i.fallback;if(d){var Z=Ij(t,E,A,n),J=t.child;return J.memoizedState=Qy(n),t.memoizedState=Xy,Z}else return Jy(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Hj(e,t,v,i,ve,me,n)}if(d){var we=i.fallback,rt=i.children,Rt=Bj(e,t,rt,we,n),St=t.child,dr=e.child.memoizedState;return St.memoizedState=dr===null?Qy(n):Oj(dr,n),St.childLanes=Pj(e,n),t.memoizedState=Xy,Rt}else{var pr=i.children,ue=zj(e,t,pr,n);return t.memoizedState=null,ue}}}function Jy(e,t,n){var i=e.mode,u={mode:"visible",children:t},d=Zy(u,i);return d.return=e,e.child=d,d}function Ij(e,t,n,i){var u=e.mode,d=e.child,v={mode:"hidden",children:t},y,C;return(u&gr)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=v,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Ju(n,u,i,null)):(y=Zy(v,u),C=Ju(n,u,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function Zy(e,t,n){return hk(e,t,ze,null)}function p4(e,t){return Qc(e,t)}function zj(e,t,n,i){var u=e.child,d=u.sibling,v=p4(u,{mode:"visible",children:n});if((t.mode&gr)===Ot&&(v.lanes=i),v.return=t,v.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=Cc):y.push(d)}return t.child=v,v}function Bj(e,t,n,i,u){var d=t.mode,v=e.child,y=v.sibling,C={mode:"hidden",children:n},E;if((d&gr)===Ot&&t.child!==v){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=C,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=v.selfBaseDuration,E.treeBaseDuration=v.treeBaseDuration),t.deletions=null}else E=p4(v,C),E.subtreeFlags=v.subtreeFlags&Us;var Z;return y!==null?Z=Qc(y,i):(Z=Ju(i,d,u,null),Z.flags|=Xa),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function l_(e,t,n,i){i!==null&&O1(i),sd(t,e.child,null,n);var u=t.pendingProps,d=u.children,v=Jy(t,d);return v.flags|=Xa,t.memoizedState=null,v}function Fj(e,t,n,i,u){var d=t.mode,v={mode:"visible",children:n},y=Zy(v,d),C=Ju(i,d,u,null);return C.flags|=Xa,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&gr)!==Ot&&sd(t,e.child,null,u),C}function jj(e,t,n){return(e.mode&gr)===Ot?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=qt):_1(t)?e.lanes=Ac:e.lanes=Mo,null}function Hj(e,t,n,i,u,d,v){if(n)if(t.flags&Fs){t.flags&=~Fs;var ue=Fy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return l_(e,t,v,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ce=i.fallback,qe=Fj(e,t,De,ce,v),ut=t.child;return ut.memoizedState=Qy(v),t.memoizedState=Xy,qe}else{if(RF(),(t.mode&gr)===Ot)return l_(e,t,v,null);if(_1(u)){var y,C,E;{var A=qB(u);y=A.digest,C=A.message,E=A.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=Fy(Z,y,E);return l_(e,t,v,J)}var me=Po(v,e.childLanes);if(Vl||me){var ve=g_();if(ve!==null){var we=QP(ve,v);if(we!==gn&&we!==d.retryLane){d.retryLane=we;var rt=va;go(e,we),cn(ve,e,we,rt)}}S0();var Rt=Fy(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 l_(e,t,v,Rt)}else if(I3(u)){t.flags|=Pr,t.child=e.child;var St=_U.bind(null,e);return YB(u,St),null}else{LF(t,u,d.treeContext);var dr=i.children,pr=Jy(t,dr);return pr.flags|=js,pr}}}function h4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),V1(e.return,t,n)}function Uj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var u=i.memoizedState;u!==null&&h4(i,n,e)}else if(i.tag===ye)h4(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 Vj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Fv(i)===null&&(n=t),t=t.sibling}return n}function Wj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Yy[e])if(Yy[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function qj(e,t){e!==void 0&&!i_[e]&&(e!=="collapsed"&&e!=="hidden"?(i_[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(i_[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function m4(e,t){{var n=tn(e),i=!n&&typeof Ga(e)=="function";if(n||i){var u=n?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function Yj(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(!m4(e[n],n))return}else{var i=Ga(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var d=u.next(),v=0;!d.done;d=u.next()){if(!m4(d.value,v))return;v++}}else c('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function e0(e,t,n,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=u)}function v4(e,t,n){var i=t.pendingProps,u=i.revealOrder,d=i.tail,v=i.children;Wj(u),qj(d,u),Yj(v,u),Gn(e,t,v,n);var y=jl.current,C=J1(y,ch);if(C)y=Z1(y,ch),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==zt;E&&Uj(t,t.child,n),y=dd(y)}if(Wu(t,y),(t.mode&gr)===Ot)t.memoizedState=null;else switch(u){case"forwards":{var A=Vj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),e0(t,!1,Z,A,d);break}case"backwards":{var J=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Fv(ve)===null){t.child=me;break}var we=me.sibling;me.sibling=J,J=me,me=we}e0(t,!0,J,null,d);break}case"together":{e0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function $j(e,t,n){K1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=sd(t,null,i,n):Gn(e,t,i,n),t.child}var _4=!1;function Gj(e,t,n){var i=t.type,u=i._context,d=t.pendingProps,v=t.memoizedProps,y=d.value;{"value"in d||_4||(_4=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&zl(C,d,"prop","Context.Provider")}if(ux(t,u,y),v!==null){var E=v.value;if(Bo(E,y)){if(v.children===d.children&&!vv())return Js(e,t,n)}else WF(t,u,n)}var A=d.children;return Gn(e,t,A,n),t.child}var g4=!1;function Kj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(g4||(g4=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,d=u.children;typeof d!="function"&&c("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),cd(t,n);var v=Qa(i);bp(t);var y;return bh.current=t,ml(!0),y=d(v),ml(!1),Vf(),t.flags|=Hf,Gn(e,t,y,n),t.child}function wh(){Vl=!0}function s_(e,t){(t.mode&gr)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Mh(t.lanes),Po(n,t.childLanes)?(UF(e,t),t.child):null}function Xj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=Cc):d.push(e),n.flags|=Xa,n}}function t0(e,t){var n=e.lanes;return!!Po(n,t)}function Qj(e,t,n){switch(t.tag){case b:c4(t);var i=t.stateNode;ld();break;case w:_x(t);break;case m:{var u=t.type;ds(u)&&gv(t);break}case S:K1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,v=t.type._context;ux(t,v,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=kr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wu(t,dd(jl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return d4(e,t,n);Wu(t,dd(jl.current));var J=Js(e,t,n);return J!==null?J.sibling:null}else Wu(t,dd(jl.current));break}case ye:{var me=(e.flags&Pr)!==zt,ve=Po(n,t.childLanes);if(me){if(ve)return v4(e,t,n);t.flags|=Pr}var we=t.memoizedState;if(we!==null&&(we.rendering=null,we.tail=null,we.lastEffect=null),Wu(t,jl.current),ve)break;return null}case H:case le:return t.lanes=ze,l4(e,t,n)}return Js(e,t,n)}function b4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Xj(e,t,N0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||vv()||t.type!==e.type)Vl=!0;else{var d=t0(e,n);if(!d&&(t.flags&Pr)===zt)return Vl=!1,Qj(e,t,n);(e.flags&lb)!==zt?Vl=!0:Vl=!1}}else if(Vl=!1,kn()&&wF(t)){var v=t.index,y=CF();$3(t,y,v)}switch(t.lanes=ze,t.tag){case g:return Nj(e,t,t.type,n);case _e:{var C=t.elementType;return Aj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Ul(E,A);return $y(e,t,E,Z,n)}case m:{var J=t.type,me=t.pendingProps,ve=t.elementType===J?me:Ul(J,me);return u4(e,t,J,ve,n)}case b:return Ej(e,t,n);case w:return Rj(e,t,n);case k:return Dj(e,t);case Q:return d4(e,t,n);case S:return $j(e,t,n);case j:{var we=t.type,rt=t.pendingProps,Rt=t.elementType===we?rt:Ul(we,rt);return n4(e,t,we,Rt,n)}case L:return xj(e,t,n);case M:return kj(e,t,n);case F:return Tj(e,t,n);case O:return Gj(e,t,n);case Y:return Kj(e,t,n);case N:{var St=t.type,dr=t.pendingProps,pr=Ul(St,dr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&zl(ue,pr,"prop",Hr(St))}return pr=Ul(St.type,pr),o4(e,t,St,pr,n)}case te:return i4(e,t,t.type,t.pendingProps,n);case re:{var De=t.type,ce=t.pendingProps,qe=t.elementType===De?ce:Ul(De,ce);return Lj(e,t,De,qe,n)}case ye:return v4(e,t,n);case ge:break;case H:return l4(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 gd(e){e.flags|=kr}function y4(e){e.flags|=Au,e.flags|=sb}var S4,r0,w4,C4;S4=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===k)bB(e,u.stateNode);else if(u.tag!==S){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},r0=function(e,t){},w4=function(e,t,n,i,u){var d=e.memoizedProps;if(d!==i){var v=t.stateNode,y=X1(),C=SB(v,n,d,i,u,y);t.updateQueue=C,C&&gd(t)}},C4=function(e,t,n,i){n!==i&&gd(t)};function Ch(e,t){if(!kn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=ze,i=zt;if(t){if((e.mode&Kr)!==Ot){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var A=e.child;A!==null;)n=or(n,or(A.lanes,A.childLanes)),i|=A.subtreeFlags&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){for(var u=e.actualDuration,d=e.selfBaseDuration,v=e.child;v!==null;)n=or(n,or(v.lanes,v.childLanes)),i|=v.subtreeFlags,i|=v.flags,u+=v.actualDuration,d+=v.treeBaseDuration,v=v.sibling;e.actualDuration=u,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=or(n,or(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function Jj(e,t,n){if(IF()&&(t.mode&gr)!==Ot&&(t.flags&Pr)===zt)return ex(t),ld(),t.flags|=Fs|_p|$n,!1;var i=Cv(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(MF(t),En(t),(t.mode&Kr)!==Ot){var u=n!==null;if(u){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(ld(),(t.flags&Pr)===zt&&(t.memoizedState=null),t.flags|=kr,En(t),(t.mode&Kr)!==Ot){var v=n!==null;if(v){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return tx(),!0}function x4(e,t,n){var i=t.pendingProps;switch(R1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return En(t),null;case m:{var u=t.type;return ds(u)&&_v(t),En(t),null}case b:{var d=t.stateNode;if(fd(t),x1(t),ty(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var v=Cv(t);if(v)gd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==zt)&&(t.flags|=xc,tx())}}return r0(e,t),En(t),null}case w:{Q1(t);var C=vx(),E=t.type;if(e!==null&&t.stateNode!=null)w4(e,t,E,i,C),e.ref!==t.ref&&y4(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 A=X1(),Z=Cv(t);if(Z)NF(t,C,A)&&gd(t);else{var J=gB(E,i,C,A,t);S4(J,t,!1,!1),t.stateNode=J,yB(J,E,i,C)&&gd(t)}t.ref!==null&&y4(t)}return En(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;C4(e,t,ve,me)}else{if(typeof me!="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 we=vx(),rt=X1(),Rt=Cv(t);Rt?OF(t)&&gd(t):t.stateNode=wB(me,we,rt,t)}return En(t),null}case Q:{pd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var dr=Jj(e,t,St);if(!dr)return t.flags&$n?t:null}if((t.flags&Pr)!==zt)return t.lanes=n,(t.mode&Kr)!==Ot&&Ty(t),t;var pr=St!==null,ue=e!==null&&e.memoizedState!==null;if(pr!==ue&&pr){var De=t.child;if(De.flags|=kc,(t.mode&gr)!==Ot){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ce);ce||J1(jl.current,bx)?nU():S0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=kr),En(t),(t.mode&Kr)!==Ot&&pr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return fd(t),r0(e,t),e===null&&mF(t.stateNode.containerInfo),En(t),null;case O:var at=t.type._context;return U1(at,t),En(t),null;case re:{var Ht=t.type;return ds(Ht)&&_v(t),En(t),null}case ye:{pd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==zt,Ar=Gt.rendering;if(Ar===null)if(Qr)Ch(Gt,!1);else{var Ua=iU()&&(e===null||(e.flags&Pr)===zt);if(!Ua)for(var Lr=t.child;Lr!==null;){var Pa=Fv(Lr);if(Pa!==null){Qr=!0,t.flags|=Pr,Ch(Gt,!1);var Fn=Pa.updateQueue;return Fn!==null&&(t.updateQueue=Fn,t.flags|=kr),t.subtreeFlags=zt,VF(t,n),Wu(t,Z1(jl.current,ch)),t.child}Lr=Lr.sibling}Gt.tail!==null&&vn()>Y4()&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}else{if(!Qr){var Nn=Fv(Ar);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=kr),Ch(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Ar.alternate&&!kn())return En(t),null}else vn()*2-Gt.renderingStartTime>Y4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}if(Gt.isBackwards)Ar.sibling=t.child,t.child=Ar;else{var Qn=Gt.last;Qn!==null?Qn.sibling=Ar:t.child=Ar,Gt.last=Ar}}if(Gt.tail!==null){var Jn=Gt.tail;Gt.rendering=Jn,Gt.tail=Jn.sibling,Gt.renderingStartTime=vn(),Jn.sibling=null;var jn=jl.current;return Qr?jn=Z1(jn,ch):jn=dd(jn),Wu(t,jn),Jn}return En(t),null}case ge:break;case H:case le:{y0(t);var au=t.memoizedState,Td=au!==null;if(e!==null){var Fh=e.memoizedState,ys=Fh!==null;ys!==Td&&!de&&(t.flags|=kc)}return!Td||(t.mode&gr)===Ot?En(t):Po(bs,Mo)&&(En(t),t.subtreeFlags&(Xa|kr)&&(t.flags|=kc)),null}case fe:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zj(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type;ds(i)&&_v(t);var u=t.flags;return u&$n?(t.flags=u&~$n|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case b:{var d=t.stateNode;fd(t),x1(t),ty();var v=t.flags;return(v&$n)!==zt&&(v&Pr)===zt?(t.flags=v&~$n|Pr,t):null}case w:return Q1(t),null;case Q:{pd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ld()}var C=t.flags;return C&$n?(t.flags=C&~$n|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case ye:return pd(t),null;case S:return fd(t),null;case O:var E=t.type._context;return U1(E,t),null;case H:case le:return y0(t),null;case fe:return null;default:return null}}function k4(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&_v(t);break}case b:{var u=t.stateNode;fd(t),x1(t),ty();break}case w:{Q1(t);break}case S:fd(t);break;case Q:pd(t);break;case ye:pd(t);break;case O:var d=t.type._context;U1(d,t);break;case H:case le:y0(t);break}}var T4=null;T4=new Set;var u_=!1,Rn=!1,eH=typeof WeakSet=="function"?WeakSet:Set,gt=null,bd=null,yd=null;function tH(e){nb(null,function(){throw e}),ob()}var rH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{_s(),t.componentWillUnmount()}finally{vs(e)}else t.componentWillUnmount()};function E4(e,t){try{$u(an,e)}catch(n){fa(e,t,n)}}function a0(e,t,n){try{rH(e,n)}catch(i){fa(e,t,i)}}function aH(e,t,n){try{n.componentDidMount()}catch(i){fa(e,t,i)}}function R4(e,t){try{L4(e)}catch(n){fa(e,t,n)}}function Sd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(et&&ct&&e.mode&Kr)try{_s(),i=n(null)}finally{vs(e)}else i=n(null)}catch(u){fa(e,t,u)}typeof i=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else n.current=null}function c_(e,t,n){try{n()}catch(i){fa(e,t,i)}}var D4=null,A4=!1;function nH(e,t){D4=vB(e.containerInfo),gt=t,oH();var n=A4;return A4=!1,D4=null,n}function oH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&cb)!==zt&&t!==null?(t.return=e,gt=t):iH()}}function iH(){for(;gt!==null;){var e=gt;Ca(e);try{lH(e)}catch(n){fa(e,e.return,n)}mn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function lH(e){var t=e.alternate,n=e.flags;if((n&xc)!==zt){switch(Ca(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!Yc&&(d.props!==e.memoizedProps&&c("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(e)||"instance"),d.state!==e.memoizedState&&c("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(e)||"instance"));var v=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Ul(e.type,i),u);{var y=T4;v===void 0&&!y.has(e.type)&&(y.add(e.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Zt(e)))}d.__reactInternalSnapshotBeforeUpdate=v}break}case b:{{var C=e.stateNode;HB(C.containerInfo)}break}case w:case k:case S:case re: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.")}mn()}}function Wl(e,t,n){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var d=u.next,v=d;do{if((v.tag&e)===e){var y=v.destroy;v.destroy=void 0,y!==void 0&&((e&Tn)!==bo?wP(t):(e&an)!==bo&&gC(t),(e&ps)!==bo&&Ih(!0),c_(t,n,y),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?CP():(e&an)!==bo&&bC())}v=v.next}while(v!==d)}}function $u(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next,d=u;do{if((d.tag&e)===e){(e&Tn)!==bo?yP(t):(e&an)!==bo&&xP(t);var v=d.create;(e&ps)!==bo&&Ih(!0),d.destroy=v(),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?SP():(e&an)!==bo&&kP();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&an)!==zt?C="useLayoutEffect":(d.tag&ps)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
|
|
102
|
+
Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Ky[c]||(Ky[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 _=Hr(t)||"Unknown";Ch[_]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),Ch[_]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Gy[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),Gy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var w=Hr(t)||"Unknown";$y[w]||(u("%s: Function components do not support contextType.",w),$y[w]=!0)}}}var e0={dehydrated:null,treeContext:null,retryLane:_n};function t0(e){return{baseLanes:e,cachePool:kj(),transitions:null}}function Ij(e,t){var n=null;return{baseLanes:or(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function zj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ry(e,dh)}function Bj(e,t){return Wm(e.childLanes,t)}function v4(e,t,n){var i=t.pendingProps;JU(t)&&(t.flags|=Pr);var c=Hl.current,d=!1,_=(t.flags&Pr)!==It;if(_||zj(c,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(c=rj(c,Cx)),c=pd(c),qc(t,c),e===null){I1(t);var y=t.memoizedState;if(y!==null){var w=y.dehydrated;if(w!==null)return Vj(t,w)}var E=i.children,A=i.fallback;if(d){var Z=Fj(t,E,A,n),J=t.child;return J.memoizedState=t0(n),t.memoizedState=e0,Z}else return r0(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Wj(e,t,_,i,ve,me,n)}if(d){var Ce=i.fallback,rt=i.children,Rt=Hj(e,t,rt,Ce,n),St=t.child,pr=e.child.memoizedState;return St.memoizedState=pr===null?t0(n):Ij(pr,n),St.childLanes=Bj(e,n),t.memoizedState=e0,Rt}else{var hr=i.children,ce=jj(e,t,hr,n);return t.memoizedState=null,ce}}}function r0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=a0(c,i);return d.return=e,e.child=d,d}function Fj(e,t,n,i){var c=e.mode,d=e.child,_={mode:"hidden",children:t},y,w;return(c&br)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=_,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),w=Zc(n,c,i,null)):(y=a0(_,c),w=Zc(n,c,i,null)),y.return=e,w.return=e,y.sibling=w,e.child=y,w}function a0(e,t,n){return gk(e,t,ze,null)}function _4(e,t){return Ju(e,t)}function jj(e,t,n,i){var c=e.child,d=c.sibling,_=_4(c,{mode:"visible",children:n});if((t.mode&br)===Ot&&(_.lanes=i),_.return=t,_.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=xu):y.push(d)}return t.child=_,_}function Hj(e,t,n,i,c){var d=t.mode,_=e.child,y=_.sibling,w={mode:"hidden",children:n},E;if((d&br)===Ot&&t.child!==_){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=w,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=_.selfBaseDuration,E.treeBaseDuration=_.treeBaseDuration),t.deletions=null}else E=_4(_,w),E.subtreeFlags=_.subtreeFlags&Vs;var Z;return y!==null?Z=Ju(y,i):(Z=Zc(i,d,c,null),Z.flags|=Ka),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function u_(e,t,n,i){i!==null&&z1(i),cd(t,e.child,null,n);var c=t.pendingProps,d=c.children,_=r0(t,d);return _.flags|=Ka,t.memoizedState=null,_}function Uj(e,t,n,i,c){var d=t.mode,_={mode:"visible",children:n},y=a0(_,d),w=Zc(i,d,c,null);return w.flags|=Ka,y.return=t,w.return=t,y.sibling=w,t.child=y,(t.mode&br)!==Ot&&cd(t,e.child,null,c),w}function Vj(e,t,n){return(e.mode&br)===Ot?(u("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=qt):S1(t)?e.lanes=Lu:e.lanes=Mo,null}function Wj(e,t,n,i,c,d,_){if(n)if(t.flags&js){t.flags&=~js;var ce=Vy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return u_(e,t,_,ce)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ue=i.fallback,qe=Uj(e,t,De,ue,_),st=t.child;return st.memoizedState=t0(_),t.memoizedState=e0,qe}else{if(LF(),(t.mode&br)===Ot)return u_(e,t,_,null);if(S1(c)){var y,w,E;{var A=G9(c);y=A.digest,w=A.message,E=A.stack}var Z;w?Z=new Error(w):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=Vy(Z,y,E);return u_(e,t,_,J)}var me=Po(_,e.childLanes);if(Wl||me){var ve=S_();if(ve!==null){var Ce=ez(ve,_);if(Ce!==_n&&Ce!==d.retryLane){d.retryLane=Ce;var rt=ma;bo(e,Ce),un(ve,e,Ce,rt)}}k0();var Rt=Vy(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 u_(e,t,_,Rt)}else if(jC(c)){t.flags|=Pr,t.child=e.child;var St=yU.bind(null,e);return K9(c,St),null}else{MF(t,c,d.treeContext);var pr=i.children,hr=r0(t,pr);return hr.flags|=Hs,hr}}}function g4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),$1(e.return,t,n)}function qj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var c=i.memoizedState;c!==null&&g4(i,n,e)}else if(i.tag===ye)g4(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 Yj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Uv(i)===null&&(n=t),t=t.sibling}return n}function $j(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Xy[e])if(Xy[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 Gj(e,t){e!==void 0&&!c_[e]&&(e!=="collapsed"&&e!=="hidden"?(c_[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(c_[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function b4(e,t){{var n=tn(e),i=!n&&typeof $a(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 Kj(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(!b4(e[n],n))return}else{var i=$a(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var d=c.next(),_=0;!d.done;d=c.next()){if(!b4(d.value,_))return;_++}}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 n0(e,t,n,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=c)}function y4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,_=i.children;$j(c),Gj(d,c),Kj(_,c),Kn(e,t,_,n);var y=Hl.current,w=ry(y,dh);if(w)y=ay(y,dh),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==It;E&&qj(t,t.child,n),y=pd(y)}if(qc(t,y),(t.mode&br)===Ot)t.memoizedState=null;else switch(c){case"forwards":{var A=Yj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),n0(t,!1,Z,A,d);break}case"backwards":{var J=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Uv(ve)===null){t.child=me;break}var Ce=me.sibling;me.sibling=J,J=me,me=Ce}n0(t,!0,J,null,d);break}case"together":{n0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Xj(e,t,n){Z1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=cd(t,null,i,n):Kn(e,t,i,n),t.child}var S4=!1;function Qj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,_=t.memoizedProps,y=d.value;{"value"in d||S4||(S4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&Bl(w,d,"prop","Context.Provider")}if(px(t,c,y),_!==null){var E=_.value;if(Bo(E,y)){if(_.children===d.children&&!bv())return Zs(e,t,n)}else $F(t,c,n)}var A=d.children;return Kn(e,t,A,n),t.child}var w4=!1;function Jj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(w4||(w4=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var c=t.pendingProps,d=c.children;typeof d!="function"&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),fd(t,n);var _=Xa(i);Sp(t);var y;return Sh.current=t,ml(!0),y=d(_),ml(!1),Wf(),t.flags|=Uf,Kn(e,t,y,n),t.child}function xh(){Wl=!0}function f_(e,t){(t.mode&br)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ka)}function Zs(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Qx(),Ih(t.lanes),Po(n,t.childLanes)?(qF(e,t),t.child):null}function Zj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var c=i.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=xu):d.push(e),n.flags|=Ka,n}}function o0(e,t){var n=e.lanes;return!!Po(n,t)}function eH(e,t,n){switch(t.tag){case b:h4(t);var i=t.stateNode;sd();break;case C:Sx(t);break;case m:{var c=t.type;ps(c)&&Sv(t);break}case S:Z1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,_=t.type._context;px(t,_,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=Tr);{var w=t.stateNode;w.effectDuration=0,w.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return qc(t,pd(Hl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return v4(e,t,n);qc(t,pd(Hl.current));var J=Zs(e,t,n);return J!==null?J.sibling:null}else qc(t,pd(Hl.current));break}case ye:{var me=(e.flags&Pr)!==It,ve=Po(n,t.childLanes);if(me){if(ve)return y4(e,t,n);t.flags|=Pr}var Ce=t.memoizedState;if(Ce!==null&&(Ce.rendering=null,Ce.tail=null,Ce.lastEffect=null),qc(t,Hl.current),ve)break;return null}case H:case le:return t.lanes=ze,f4(e,t,n)}return Zs(e,t,n)}function C4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Zj(e,t,I0(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||bv()||t.type!==e.type)Wl=!0;else{var d=o0(e,n);if(!d&&(t.flags&Pr)===It)return Wl=!1,eH(e,t,n);(e.flags&fb)!==It?Wl=!0:Wl=!1}}else if(Wl=!1,kn()&&kF(t)){var _=t.index,y=TF();QC(t,y,_)}switch(t.lanes=ze,t.tag){case g:return Pj(e,t,t.type,n);case _e:{var w=t.elementType;return Oj(e,t,w,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Vl(E,A);return Qy(e,t,E,Z,n)}case m:{var J=t.type,me=t.pendingProps,ve=t.elementType===J?me:Vl(J,me);return p4(e,t,J,ve,n)}case b:return Aj(e,t,n);case C:return Lj(e,t,n);case k:return Nj(e,t);case Q:return v4(e,t,n);case S:return Xj(e,t,n);case j:{var Ce=t.type,rt=t.pendingProps,Rt=t.elementType===Ce?rt:Vl(Ce,rt);return s4(e,t,Ce,Rt,n)}case L:return Ej(e,t,n);case M:return Rj(e,t,n);case F:return Dj(e,t,n);case O:return Qj(e,t,n);case Y:return Jj(e,t,n);case N:{var St=t.type,pr=t.pendingProps,hr=Vl(St,pr);if(t.type!==t.elementType){var ce=St.propTypes;ce&&Bl(ce,hr,"prop",Hr(St))}return hr=Vl(St.type,hr),c4(e,t,St,hr,n)}case te:return u4(e,t,t.type,t.pendingProps,n);case re:{var De=t.type,ue=t.pendingProps,qe=t.elementType===De?ue:Vl(De,ue);return Mj(e,t,De,qe,n)}case ye:return y4(e,t,n);case ge:break;case H:return f4(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bd(e){e.flags|=Tr}function x4(e){e.flags|=Lc,e.flags|=db}var k4,i0,T4,E4;k4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===C||c.tag===k)w9(e,c.stateNode);else if(c.tag!==S){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},i0=function(e,t){},T4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var _=t.stateNode,y=ey(),w=x9(_,n,d,i,c,y);t.updateQueue=w,w&&bd(t)}},E4=function(e,t,n,i){n!==i&&bd(t)};function kh(e,t){if(!kn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var c=e.tail,d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=ze,i=It;if(t){if((e.mode&Kr)!==Ot){for(var w=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Vs,i|=E.flags&Vs,w+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=w}else for(var A=e.child;A!==null;)n=or(n,or(A.lanes,A.childLanes)),i|=A.subtreeFlags&Vs,i|=A.flags&Vs,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){for(var c=e.actualDuration,d=e.selfBaseDuration,_=e.child;_!==null;)n=or(n,or(_.lanes,_.childLanes)),i|=_.subtreeFlags,i|=_.flags,c+=_.actualDuration,d+=_.treeBaseDuration,_=_.sibling;e.actualDuration=c,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=or(n,or(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function tH(e,t,n){if(FF()&&(t.mode&br)!==Ot&&(t.flags&Pr)===It)return nx(t),sd(),t.flags|=js|bp|Gn,!1;var i=Tv(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(zF(t),En(t),(t.mode&Kr)!==Ot){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(sd(),(t.flags&Pr)===It&&(t.memoizedState=null),t.flags|=Tr,En(t),(t.mode&Kr)!==Ot){var _=n!==null;if(_){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return ox(),!0}function R4(e,t,n){var i=t.pendingProps;switch(N1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return En(t),null;case m:{var c=t.type;return ps(c)&&yv(t),En(t),null}case b:{var d=t.stateNode;if(dd(t),R1(t),oy(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var _=Tv(t);if(_)bd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&js)!==It)&&(t.flags|=ku,ox())}}return i0(e,t),En(t),null}case C:{ty(t);var w=yx(),E=t.type;if(e!==null&&t.stateNode!=null)T4(e,t,E,i,w),e.ref!==t.ref&&x4(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 A=ey(),Z=Tv(t);if(Z)PF(t,w,A)&&bd(t);else{var J=S9(E,i,w,A,t);k4(J,t,!1,!1),t.stateNode=J,C9(J,E,i,w)&&bd(t)}t.ref!==null&&x4(t)}return En(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;E4(e,t,ve,me)}else{if(typeof me!="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 Ce=yx(),rt=ey(),Rt=Tv(t);Rt?IF(t)&&bd(t):t.stateNode=k9(me,Ce,rt,t)}return En(t),null}case Q:{hd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pr=tH(e,t,St);if(!pr)return t.flags&Gn?t:null}if((t.flags&Pr)!==It)return t.lanes=n,(t.mode&Kr)!==Ot&&Ay(t),t;var hr=St!==null,ce=e!==null&&e.memoizedState!==null;if(hr!==ce&&hr){var De=t.child;if(De.flags|=Tu,(t.mode&br)!==Ot){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!xe);ue||ry(Hl.current,Cx)?lU():k0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Tr),En(t),(t.mode&Kr)!==Ot&&hr){var st=t.child;st!==null&&(t.treeBaseDuration-=st.treeBaseDuration)}return null}case S:return dd(t),i0(e,t),e===null&&gF(t.stateNode.containerInfo),En(t),null;case O:var at=t.type._context;return Y1(at,t),En(t),null;case re:{var Ht=t.type;return ps(Ht)&&yv(t),En(t),null}case ye:{hd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==It,Lr=Gt.rendering;if(Lr===null)if(Qr)kh(Gt,!1);else{var Ua=cU()&&(e===null||(e.flags&Pr)===It);if(!Ua)for(var Nr=t.child;Nr!==null;){var Pa=Uv(Nr);if(Pa!==null){Qr=!0,t.flags|=Pr,kh(Gt,!1);var jn=Pa.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Tr),t.subtreeFlags=It,YF(t,n),qc(t,ay(Hl.current,dh)),t.child}Nr=Nr.sibling}Gt.tail!==null&&mn()>X4()&&(t.flags|=Pr,Qr=!0,kh(Gt,!1),t.lanes=E3)}else{if(!Qr){var Nn=Uv(Lr);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=Tr),kh(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Lr.alternate&&!kn())return En(t),null}else mn()*2-Gt.renderingStartTime>X4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,kh(Gt,!1),t.lanes=E3)}if(Gt.isBackwards)Lr.sibling=t.child,t.child=Lr;else{var Jn=Gt.last;Jn!==null?Jn.sibling=Lr:t.child=Lr,Gt.last=Lr}}if(Gt.tail!==null){var Zn=Gt.tail;Gt.rendering=Zn,Gt.tail=Zn.sibling,Gt.renderingStartTime=mn(),Zn.sibling=null;var Hn=Hl.current;return Qr?Hn=ay(Hn,dh):Hn=pd(Hn),qc(t,Hn),Zn}return En(t),null}case ge:break;case H:case le:{x0(t);var nc=t.memoizedState,Ed=nc!==null;if(e!==null){var Hh=e.memoizedState,Ss=Hh!==null;Ss!==Ed&&!de&&(t.flags|=Tu)}return!Ed||(t.mode&br)===Ot?En(t):Po(ys,Mo)&&(En(t),t.subtreeFlags&(Ka|Tr)&&(t.flags|=Tu)),null}case fe:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function rH(e,t,n){switch(N1(t),t.tag){case m:{var i=t.type;ps(i)&&yv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Pr,(t.mode&Kr)!==Ot&&Ay(t),t):null}case b:{var d=t.stateNode;dd(t),R1(t),oy();var _=t.flags;return(_&Gn)!==It&&(_&Pr)===It?(t.flags=_&~Gn|Pr,t):null}case C:return ty(t),null;case Q:{hd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");sd()}var w=t.flags;return w&Gn?(t.flags=w&~Gn|Pr,(t.mode&Kr)!==Ot&&Ay(t),t):null}case ye:return hd(t),null;case S:return dd(t),null;case O:var E=t.type._context;return Y1(E,t),null;case H:case le:return x0(t),null;case fe:return null;default:return null}}function D4(e,t,n){switch(N1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&yv(t);break}case b:{var c=t.stateNode;dd(t),R1(t),oy();break}case C:{ty(t);break}case S:dd(t);break;case Q:hd(t);break;case ye:hd(t);break;case O:var d=t.type._context;Y1(d,t);break;case H:case le:x0(t);break}}var A4=null;A4=new Set;var d_=!1,Rn=!1,aH=typeof WeakSet=="function"?WeakSet:Set,_t=null,yd=null,Sd=null;function nH(e){sb(null,function(){throw e}),cb()}var oH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{gs(),t.componentWillUnmount()}finally{_s(e)}else t.componentWillUnmount()};function L4(e,t){try{Gc(an,e)}catch(n){ua(e,t,n)}}function l0(e,t,n){try{oH(e,n)}catch(i){ua(e,t,i)}}function iH(e,t,n){try{n.componentDidMount()}catch(i){ua(e,t,i)}}function N4(e,t){try{P4(e)}catch(n){ua(e,t,n)}}function wd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(et&&ut&&e.mode&Kr)try{gs(),i=n(null)}finally{_s(e)}else i=n(null)}catch(c){ua(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",er(e))}else n.current=null}function p_(e,t,n){try{n()}catch(i){ua(e,t,i)}}var O4=null,M4=!1;function lH(e,t){O4=b9(e.containerInfo),_t=t,sH();var n=M4;return M4=!1,O4=null,n}function sH(){for(;_t!==null;){var e=_t,t=e.child;(e.subtreeFlags&hb)!==It&&t!==null?(t.return=e,_t=t):cH()}}function cH(){for(;_t!==null;){var e=_t;wa(e);try{uH(e)}catch(n){ua(e,e.return,n)}hn();var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function uH(e){var t=e.alternate,n=e.flags;if((n&ku)!==It){switch(wa(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!$u&&(d.props!==e.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",er(e)||"instance"),d.state!==e.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",er(e)||"instance"));var _=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Vl(e.type,i),c);{var y=A4;_===void 0&&!y.has(e.type)&&(y.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",er(e)))}d.__reactInternalSnapshotBeforeUpdate=_}break}case b:{{var w=e.stateNode;W9(w.containerInfo)}break}case C:case k:case S:case re: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.")}hn()}}function ql(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,_=d;do{if((_.tag&e)===e){var y=_.destroy;_.destroy=void 0,y!==void 0&&((e&Tn)!==yo?kI(t):(e&an)!==yo&&w3(t),(e&hs)!==yo&&Bh(!0),p_(t,n,y),(e&hs)!==yo&&Bh(!1),(e&Tn)!==yo?TI():(e&an)!==yo&&C3())}_=_.next}while(_!==d)}}function Gc(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,d=c;do{if((d.tag&e)===e){(e&Tn)!==yo?CI(t):(e&an)!==yo&&EI(t);var _=d.create;(e&hs)!==yo&&Bh(!0),d.destroy=_(),(e&hs)!==yo&&Bh(!1),(e&Tn)!==yo?xI():(e&an)!==yo&&RI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var w=void 0;(d.tag&an)!==It?w="useLayoutEffect":(d.tag&hs)!==It?w="useInsertionEffect":w="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
|
|
103
103
|
|
|
104
|
-
It looks like you wrote `+
|
|
104
|
+
It looks like you wrote `+w+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
105
105
|
|
|
106
|
-
`+
|
|
106
|
+
`+w+`(() => {
|
|
107
107
|
async function fetchData() {
|
|
108
108
|
// You can await here
|
|
109
109
|
const response = await MyAPI.getData(someId);
|
|
@@ -112,11 +112,11 @@ It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, w
|
|
|
112
112
|
fetchData();
|
|
113
113
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
114
114
|
|
|
115
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==u)}}function sH(e,t){if((t.flags&kr)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,d=i.onPostCommit,v=qx(),y=t.alternate===null?"mount":"update";Wx()&&(y="nested-update"),typeof d=="function"&&d(u,y,n,v);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=C.stateNode;A.passiveEffectDuration+=n;break e}C=C.return}break}}}function uH(e,t,n,i){if((n.flags&gp)!==zt)switch(n.tag){case p:case j:case te:{if(!Rn)if(n.mode&Kr)try{_s(),$u(an|rn,n)}finally{vs(n)}else $u(an|rn,n);break}case m:{var u=n.stateNode;if(n.flags&kr&&!Rn)if(t===null)if(n.type===n.elementType&&!Yc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidMount()}finally{vs(n)}else u.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Ul(n.type,t.memoizedProps),v=t.memoizedState;if(n.type===n.elementType&&!Yc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}finally{vs(n)}else u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!Yc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(n)||"instance")),mx(n,y,u));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}mx(n,C,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&kr){var Z=n.type,J=n.memoizedProps;EB(A,Z,J)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,we=me.onRender,rt=n.stateNode.effectDuration,Rt=qx(),St=t===null?"mount":"update";Wx()&&(St="nested-update"),typeof we=="function"&&we(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,rt,Rt),fU(n);var dr=n.return;e:for(;dr!==null;){switch(dr.tag){case b:var pr=dr.stateNode;pr.effectDuration+=rt;break e;case F:var ue=dr.stateNode;ue.effectDuration+=rt;break e}dr=dr.return}}}break}case Q:{_H(e,n);break}case ye:case re:case ge:case H:case le:case B:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Rn||n.flags&Au&&L4(n)}function cH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{_s(),E4(e,e.return)}finally{vs(e)}else E4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aH(e,e.return,t),R4(e,e.return);break}case w:{R4(e,e.return);break}}}function fH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var u=i.stateNode;t?zB(u):FB(i.stateNode,i.memoizedProps)}catch(v){fa(e,e.return,v)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?BB(d):jB(d,i.memoizedProps)}catch(v){fa(e,e.return,v)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function L4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var u;if(e.mode&Kr)try{_s(),u=t(i)}finally{vs(e)}else u=t(i);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Zt(e)),t.current=i}}function dH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function N4(e){var t=e.alternate;t!==null&&(e.alternate=null,N4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&gF(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function pH(e){for(var t=e.return;t!==null;){if(O4(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function O4(e){return e.tag===w||e.tag===b||e.tag===S}function M4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||O4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==be;){if(t.flags&Xa||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Xa))return t.stateNode}}function hH(e){var t=pH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&vp&&(P3(n),t.flags&=~vp);var i=M4(e);o0(e,i,n);break}case b:case S:{var u=t.stateNode.containerInfo,d=M4(e);n0(e,d,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function n0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?OB(n,d,t):LB(n,d)}else if(i!==S){var v=e.child;if(v!==null){n0(v,t,n);for(var y=v.sibling;y!==null;)n0(y,t,n),y=y.sibling}}}function o0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?NB(n,d,t):AB(n,d)}else if(i!==S){var v=e.child;if(v!==null){o0(v,t,n);for(var y=v.sibling;y!==null;)o0(y,t,n),y=y.sibling}}}var Dn=null,ql=!1;function mH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Dn=i.stateNode,ql=!1;break e}case b:{Dn=i.stateNode.containerInfo,ql=!0;break e}case S:{Dn=i.stateNode.containerInfo,ql=!0;break e}}i=i.return}if(Dn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");P4(e,t,n),Dn=null,ql=!1}dH(n)}function Gu(e,t,n){for(var i=n.child;i!==null;)P4(e,t,i),i=i.sibling}function P4(e,t,n){switch(vP(n),n.tag){case w:Rn||Sd(n,t);case k:{{var i=Dn,u=ql;Dn=null,Gu(e,t,n),Dn=i,ql=u,Dn!==null&&(ql?PB(Dn,n.stateNode):MB(Dn,n.stateNode))}return}case be:{Dn!==null&&(ql?IB(Dn,n.stateNode):v1(Dn,n.stateNode));return}case S:{{var d=Dn,v=ql;Dn=n.stateNode.containerInfo,ql=!0,Gu(e,t,n),Dn=d,ql=v}return}case p:case j:case N:case te:{if(!Rn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var Z=A,J=Z.destroy,me=Z.tag;J!==void 0&&((me&ps)!==bo?c_(n,t,J):(me&an)!==bo&&(gC(n),n.mode&Kr?(_s(),c_(n,t,J),vs(n)):c_(n,t,J),bC())),A=A.next}while(A!==E)}}}Gu(e,t,n);return}case m:{if(!Rn){Sd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&a0(n,t,ve)}Gu(e,t,n);return}case ge:{Gu(e,t,n);return}case H:{if(n.mode&gr){var we=Rn;Rn=we||n.memoizedState!==null,Gu(e,t,n),Rn=we}else Gu(e,t,n);break}default:{Gu(e,t,n);return}}}function vH(e){var t=e.memoizedState}function _H(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&tF(d)}}}}function I4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new eH),t.forEach(function(i){var u=gU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Pl)if(bd!==null&&yd!==null)Ph(yd,bd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function gH(e,t,n){bd=n,yd=e,Ca(t),z4(t,e),Ca(t),bd=null,yd=null}function Yl(e,t,n){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u];try{mH(e,t,d)}catch(C){fa(d,t,C)}}var v=Hg();if(t.subtreeFlags&fb)for(var y=t.child;y!==null;)Ca(y),z4(y,e),y=y.sibling;Ca(v)}function z4(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case j:case N:case te:{if(Yl(t,e),gs(e),u&kr){try{Wl(ps|rn,e,e.return),$u(ps|rn,e)}catch(Ht){fa(e,e.return,Ht)}if(e.mode&Kr){try{_s(),Wl(an|rn,e,e.return)}catch(Ht){fa(e,e.return,Ht)}vs(e)}else try{Wl(an|rn,e,e.return)}catch(Ht){fa(e,e.return,Ht)}}return}case m:{Yl(t,e),gs(e),u&Au&&i!==null&&Sd(i,i.return);return}case w:{Yl(t,e),gs(e),u&Au&&i!==null&&Sd(i,i.return);{if(e.flags&vp){var d=e.stateNode;try{P3(d)}catch(Ht){fa(e,e.return,Ht)}}if(u&kr){var v=e.stateNode;if(v!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{RB(v,A,E,C,y,e)}catch(Ht){fa(e,e.return,Ht)}}}}return}case k:{if(Yl(t,e),gs(e),u&kr){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var Z=e.stateNode,J=e.memoizedProps,me=i!==null?i.memoizedProps:J;try{DB(Z,me,J)}catch(Ht){fa(e,e.return,Ht)}}return}case b:{if(Yl(t,e),gs(e),u&kr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{eF(t.containerInfo)}catch(Ht){fa(e,e.return,Ht)}}return}case S:{Yl(t,e),gs(e);return}case Q:{Yl(t,e),gs(e);var we=e.child;if(we.flags&kc){var rt=we.stateNode,Rt=we.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var dr=we.alternate!==null&&we.alternate.memoizedState!==null;dr||aU()}}if(u&kr){try{vH(e)}catch(Ht){fa(e,e.return,Ht)}I4(e)}return}case H:{var pr=i!==null&&i.memoizedState!==null;if(e.mode&gr){var ue=Rn;Rn=ue||pr,Yl(t,e),Rn=ue}else Yl(t,e);if(gs(e),u&kc){var De=e.stateNode,ce=e.memoizedState,qe=ce!==null,ut=e;if(De.isHidden=qe,qe&&!pr&&(ut.mode&gr)!==Ot){gt=ut;for(var at=ut.child;at!==null;)gt=at,yH(at),at=at.sibling}fH(ut,qe)}return}case ye:{Yl(t,e),gs(e),u&kr&&I4(e);return}case ge:return;default:{Yl(t,e),gs(e);return}}}function gs(e){var t=e.flags;if(t&Xa){try{hH(e)}catch(n){fa(e,e.return,n)}e.flags&=~Xa}t&js&&(e.flags&=~js)}function bH(e,t,n){bd=n,yd=t,gt=e,B4(e,t,n),bd=null,yd=null}function B4(e,t,n){for(var i=(e.mode&gr)!==Ot;gt!==null;){var u=gt,d=u.child;if(u.tag===H&&i){var v=u.memoizedState!==null,y=v||u_;if(y){i0(e,t,n);continue}else{var C=u.alternate,E=C!==null&&C.memoizedState!==null,A=E||Rn,Z=u_,J=Rn;u_=y,Rn=A,Rn&&!J&&(gt=u,SH(u));for(var me=d;me!==null;)gt=me,B4(me,t,n),me=me.sibling;gt=u,u_=Z,Rn=J,i0(e,t,n);continue}}(u.subtreeFlags&gp)!==zt&&d!==null?(d.return=u,gt=d):i0(e,t,n)}}function i0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&gp)!==zt){var u=i.alternate;Ca(i);try{uH(t,u,i,n)}catch(v){fa(i,i.return,v)}mn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function yH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{_s(),Wl(an,t,t.return)}finally{vs(t)}else Wl(an,t,t.return);break}case m:{Sd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&a0(t,t.return,i);break}case w:{Sd(t,t.return);break}case H:{var u=t.memoizedState!==null;if(u){F4(e);continue}break}}n!==null?(n.return=t,gt=n):F4(e)}}function F4(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function SH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){j4(e);continue}}n!==null?(n.return=t,gt=n):j4(e)}}function j4(e){for(;gt!==null;){var t=gt;Ca(t);try{cH(t)}catch(i){fa(t,t.return,i)}if(mn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function wH(e,t,n,i){gt=t,CH(t,e,n,i)}function CH(e,t,n,i){for(;gt!==null;){var u=gt,d=u.child;(u.subtreeFlags&Uf)!==zt&&d!==null?(d.return=u,gt=d):xH(e,t,n,i)}}function xH(e,t,n,i){for(;gt!==null;){var u=gt;if((u.flags&Ml)!==zt){Ca(u);try{kH(t,u,n,i)}catch(v){fa(u,u.return,v)}mn()}if(u===e){gt=null;return}var d=u.sibling;if(d!==null){d.return=u.return,gt=d;return}gt=u.return}}function kH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){ky();try{$u(Tn|rn,t)}finally{xy(t)}}else $u(Tn|rn,t);break}}}function TH(e){gt=e,EH()}function EH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Cc)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var u=n[i];gt=u,AH(u,e)}{var d=e.alternate;if(d!==null){var v=d.child;if(v!==null){d.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(v!==null)}}}gt=e}}(e.subtreeFlags&Uf)!==zt&&t!==null?(t.return=e,gt=t):RH()}}function RH(){for(;gt!==null;){var e=gt;(e.flags&Ml)!==zt&&(Ca(e),DH(e),mn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function DH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Wl(Tn|rn,e,e.return),xy(e)):Wl(Tn|rn,e,e.return);break}}}function AH(e,t){for(;gt!==null;){var n=gt;Ca(n),NH(n,t),mn();var i=n.child;i!==null?(i.return=n,gt=i):LH(e)}}function LH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(N4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function NH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Wl(Tn,e,t),xy(e)):Wl(Tn,e,t);break}}}function OH(e){switch(e.tag){case p:case j:case te:{try{$u(an|rn,e)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){fa(e,e.return,n)}break}}}function MH(e){switch(e.tag){case p:case j:case te:{try{$u(Tn|rn,e)}catch(t){fa(e,e.return,t)}break}}}function PH(e){switch(e.tag){case p:case j:case te:{try{Wl(an|rn,e,e.return)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&a0(e,e.return,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:try{Wl(Tn|rn,e,e.return)}catch(t){fa(e,e.return,t)}}}var zH=0,BH=1,FH=2,jH=3,HH=4;if(typeof Symbol=="function"&&Symbol.for){var xh=Symbol.for;zH=xh("selector.component"),BH=xh("selector.has_pseudo_class"),FH=xh("selector.role"),jH=xh("selector.test_id"),HH=xh("selector.text")}var UH=[];function VH(){UH.forEach(function(e){return e()})}var WH=o.ReactCurrentActQueue;function qH(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function H4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&WH.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var YH=Math.ceil,l0=o.ReactCurrentDispatcher,s0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,$l=o.ReactCurrentActQueue,ln=0,U4=1,Ln=2,Sl=4,Zs=0,kh=1,$c=2,f_=3,Th=4,V4=5,u0=6,br=ln,Kn=null,Da=null,sn=ze,bs=ze,c0=Bu(ze),un=Zs,Eh=null,f0=ze,d_=ze,Rh=ze,p_=ze,Dh=null,yo=null,d0=0,W4=500,q4=1/0,$H=500,eu=null;function Ah(){q4=vn()+$H}function Y4(){return q4}var h_=!1,p0=null,wd=null,Gc=!1,Ku=null,Lh=ze,h0=[],m0=null,GH=50,Nh=0,v0=null,_0=!1,m_=!1,KH=50,Cd=0,v_=null,Oh=va,__=ze,$4=!1;function g_(){return Kn}function Xn(){return(br&(Ln|Sl))!==ln?vn():(Oh!==va||(Oh=vn()),Oh)}function Xu(e){var t=e.mode;if((t&gr)===Ot)return qt;if((br&Ln)!==ln&&sn!==ze)return kp(sn);var n=FF()!==BF;if(n){if(An.transition!==null){var i=An.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return __===gn&&(__=EC()),__}var u=Il();if(u!==gn)return u;var d=CB();return d}function XH(e){var t=e.mode;return(t&gr)===Ot?qt:$P()}function cn(e,t,n,i){yU(),$4&&c("useInsertionEffect must not schedule updates."),_0&&(m_=!0),Tp(e,n,i),(br&Ln)!==ze&&e===Kn?CU(t):(Pl&&AC(e,t,n),xU(t),e===Kn&&((br&Ln)===ln&&(Rh=or(Rh,n)),un===Th&&Qu(e,sn)),So(e,i),n===qt&&br===ln&&(t.mode&gr)===Ot&&!$l.isBatchingLegacy&&(Ah(),Y3()))}function QH(e,t,n){var i=e.current;i.lanes=t,Tp(e,t,n),So(e,n)}function JH(e){return(br&Ln)!==ln}function So(e,t){var n=e.callbackNode;HP(e,t);var i=Fm(e,e===Kn?sn:ze);if(i===ze){n!==null&&uk(n),e.callbackNode=null,e.callbackPriority=gn;return}var u=Nc(i),d=e.callbackPriority;if(d===u&&!($l.current!==null&&n!==x0)){n==null&&d!==qt&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&uk(n);var v;if(u===qt)e.tag===Fu?($l.isBatchingLegacy!==null&&($l.didScheduleLegacyUpdate=!0),SF(X4.bind(null,e))):q3(X4.bind(null,e)),$l.current!==null?$l.current.push(ju):kB(function(){(br&(Ln|Sl))===ln&&ju()}),v=null;else{var y;switch(OC(i)){case Io:y=Pm;break;case Ws:y=db;break;case qs:y=Rc;break;case Um:y=pb;break;default:y=Rc;break}v=k0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=v}function G4(e,t){if(fj(),Oh=va,__=ze,(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=ru();if(i&&e.callbackNode!==n)return null;var u=Fm(e,e===Kn?sn:ze);if(u===ze)return null;var d=!jm(e,u)&&!YP(e,u)&&!t,v=d?sU(e,u):y_(e,u);if(v!==Zs){if(v===$c){var y=Pb(e);y!==ze&&(u=y,v=g0(e,y))}if(v===kh){var C=Eh;throw Kc(e,ze),Qu(e,u),So(e,vn()),C}if(v===u0)Qu(e,u);else{var E=!jm(e,u),A=e.current.alternate;if(E&&!eU(A)){if(v=y_(e,u),v===$c){var Z=Pb(e);Z!==ze&&(u=Z,v=g0(e,Z))}if(v===kh){var J=Eh;throw Kc(e,ze),Qu(e,u),So(e,vn()),J}}e.finishedWork=A,e.finishedLanes=u,ZH(e,v,u)}}return So(e,vn()),e.callbackNode===n?G4.bind(null,e):null}function g0(e,t){var n=Dh;if(Vm(e)){var i=Kc(e,t);i.flags|=Fs,hF(e.containerInfo)}var u=y_(e,t);if(u!==$c){var d=yo;yo=n,d!==null&&K4(d)}return u}function K4(e){yo===null?yo=e:yo.push.apply(yo,e)}function ZH(e,t,n){switch(t){case Zs:case kh:throw new Error("Root did not complete. This is a bug in React.");case $c:{Xc(e,yo,eu);break}case f_:{if(Qu(e,n),kC(n)&&!ck()){var i=d0+W4-vn();if(i>10){var u=Fm(e,ze);if(u!==ze)break;var d=e.suspendedLanes;if(!$f(d,n)){var v=Xn();DC(e,d);break}e.timeoutHandle=h1(Xc.bind(null,e,yo,eu),i);break}}Xc(e,yo,eu);break}case Th:{if(Qu(e,n),qP(n))break;if(!ck()){var y=FP(e,n),C=y,E=vn()-C,A=bU(E)-E;if(A>10){e.timeoutHandle=h1(Xc.bind(null,e,yo,eu),A);break}}Xc(e,yo,eu);break}case V4:{Xc(e,yo,eu);break}default:throw new Error("Unknown root exit status.")}}function eU(e){for(var t=e;;){if(t.flags&Om){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.getSnapshot,y=d.value;try{if(!Bo(v(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Om&&C!==null){C.return=t,t=C;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Qu(e,t){t=Hm(t,p_),t=Hm(t,Rh),KP(e,t)}function X4(e){if(dj(),(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");ru();var t=Fm(e,ze);if(!Po(t,qt))return So(e,vn()),null;var n=y_(e,t);if(e.tag!==Fu&&n===$c){var i=Pb(e);i!==ze&&(t=i,n=g0(e,i))}if(n===kh){var u=Eh;throw Kc(e,ze),Qu(e,t),So(e,vn()),u}if(n===u0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Xc(e,yo,eu),So(e,vn()),null}function tU(e,t){t!==ze&&(Fb(e,or(t,qt)),So(e,vn()),(br&(Ln|Sl))===ln&&(Ah(),ju()))}function b0(e,t){var n=br;br|=U4;try{return e(t)}finally{br=n,br===ln&&!$l.isBatchingLegacy&&(Ah(),Y3())}}function rU(e,t,n,i,u){var d=Il(),v=An.transition;try{return An.transition=null,bn(Io),e(t,n,i,u)}finally{bn(d),An.transition=v,br===ln&&Ah()}}function tu(e){Ku!==null&&Ku.tag===Fu&&(br&(Ln|Sl))===ln&&ru();var t=br;br|=U4;var n=An.transition,i=Il();try{return An.transition=null,bn(Io),e?e():void 0}finally{bn(i),An.transition=n,br=t,(br&(Ln|Sl))===ln&&ju()}}function Q4(){return(br&(Ln|Sl))!==ln}function b_(e,t){zn(c0,bs,e),bs=or(bs,t),f0=or(f0,t)}function y0(e){bs=c0.current,In(c0,e)}function Kc(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==m1&&(e.timeoutHandle=m1,xB(n)),Da!==null)for(var i=Da.return;i!==null;){var u=i.alternate;k4(u,i),i=i.return}Kn=e;var d=Qc(e.current,null);return Da=d,sn=bs=f0=t,un=Zs,Eh=null,d_=ze,Rh=ze,p_=ze,Dh=null,yo=null,YF(),Fl.discardPendingWarnings(),d}function J4(e,t){do{var n=Da;try{if(Dv(),Sx(),mn(),s0.current=null,n===null||n.return===null){un=kh,Eh=t,Da=null;return}if(et&&n.mode&Kr&&n_(n,!0),Pe)if(Vf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;EP(n,i,sn)}else TP(n,t,sn);Sj(e,n.return,n,t,sn),rk(n)}catch(u){t=u,Da===n&&n!==null?(n=n.return,Da=n):n=Da;continue}return}while(!0)}function Z4(){var e=l0.current;return l0.current=Zv,e===null?Zv:e}function ek(e){l0.current=e}function aU(){d0=vn()}function Mh(e){d_=or(e,d_)}function nU(){un===Zs&&(un=f_)}function S0(){(un===Zs||un===f_||un===$c)&&(un=Th),Kn!==null&&(Ib(d_)||Ib(Rh))&&Qu(Kn,sn)}function oU(e){un!==Th&&(un=$c),Dh===null?Dh=[e]:Dh.push(e)}function iU(){return un===Zs}function y_(e,t){var n=br;br|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Kc(e,t)}yC(t);do try{lU();break}catch(d){J4(e,d)}while(!0);if(Dv(),br=n,ek(i),Da!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return SC(),Kn=null,sn=ze,un}function lU(){for(;Da!==null;)tk(Da)}function sU(e,t){var n=br;br|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Ah(),Kc(e,t)}yC(t);do try{uU();break}catch(d){J4(e,d)}while(!0);return Dv(),ek(i),br=n,Da!==null?(NP(),Zs):(SC(),Kn=null,sn=ze,un)}function uU(){for(;Da!==null&&!iP();)tk(Da)}function tk(e){var t=e.alternate;Ca(e);var n;(e.mode&Kr)!==Ot?(Cy(e),n=w0(t,e,bs),n_(e,!0)):n=w0(t,e,bs),mn(),e.memoizedProps=e.pendingProps,n===null?rk(e):Da=n,s0.current=null}function rk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&_p)===zt){Ca(t);var u=void 0;if((t.mode&Kr)===Ot?u=x4(n,t,bs):(Cy(t),u=x4(n,t,bs),n_(t,!1)),mn(),u!==null){Da=u;return}}else{var d=Zj(n,t);if(d!==null){d.flags&=eP,Da=d;return}if((t.mode&Kr)!==Ot){n_(t,!1);for(var v=t.actualDuration,y=t.child;y!==null;)v+=y.actualDuration,y=y.sibling;t.actualDuration=v}if(i!==null)i.flags|=_p,i.subtreeFlags=zt,i.deletions=null;else{un=u0,Da=null;return}}var C=t.sibling;if(C!==null){Da=C;return}t=i,Da=t}while(t!==null);un===Zs&&(un=V4)}function Xc(e,t,n){var i=Il(),u=An.transition;try{An.transition=null,bn(Io),cU(e,t,n,i)}finally{An.transition=u,bn(i)}return null}function cU(e,t,n,i){do ru();while(Ku!==null);if(SU(),(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var u=e.finishedWork,d=e.finishedLanes;if(bP(d),u===null)return _C(),null;if(d===ze&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,u===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=gn;var v=or(u.lanes,u.childLanes);XP(e,v),e===Kn&&(Kn=null,Da=null,sn=ze),((u.subtreeFlags&Uf)!==zt||(u.flags&Uf)!==zt)&&(Gc||(Gc=!0,m0=n,k0(Rc,function(){return ru(),null})));var y=(u.subtreeFlags&(cb|fb|gp|Uf))!==zt,C=(u.flags&(cb|fb|gp|Uf))!==zt;if(y||C){var E=An.transition;An.transition=null;var A=Il();bn(Io);var Z=br;br|=Sl,s0.current=null;var J=nH(e,u);Yx(),gH(e,u,d),_B(e.containerInfo),e.current=u,RP(d),bH(u,e,d),DP(),lP(),br=Z,bn(A),An.transition=E}else e.current=u,Yx();var me=Gc;if(Gc?(Gc=!1,Ku=e,Lh=d):(Cd=0,v_=null),v=e.pendingLanes,v===ze&&(wd=null),me||ik(e.current,!1),hP(u.stateNode,i),Pl&&e.memoizedUpdaters.clear(),VH(),So(e,vn()),t!==null)for(var ve=e.onRecoverableError,we=0;we<t.length;we++){var rt=t[we],Rt=rt.stack,St=rt.digest;ve(rt.value,{componentStack:Rt,digest:St})}if(h_){h_=!1;var dr=p0;throw p0=null,dr}return Po(Lh,qt)&&e.tag!==Fu&&ru(),v=e.pendingLanes,Po(v,qt)?(cj(),e===v0?Nh++:(Nh=0,v0=e)):Nh=0,ju(),_C(),null}function ru(){if(Ku!==null){var e=OC(Lh),t=eI(qs,e),n=An.transition,i=Il();try{return An.transition=null,bn(t),dU()}finally{bn(i),An.transition=n}}return!1}function fU(e){h0.push(e),Gc||(Gc=!0,k0(Rc,function(){return ru(),null}))}function dU(){if(Ku===null)return!1;var e=m0;m0=null;var t=Ku,n=Lh;if(Ku=null,Lh=ze,(br&(Ln|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");_0=!0,m_=!1,AP(n);var i=br;br|=Sl,TH(t.current),wH(t,t.current,n,e);{var u=h0;h0=[];for(var d=0;d<u.length;d++){var v=u[d];sH(t,v)}}LP(),ik(t.current,!0),br=i,ju(),m_?t===v_?Cd++:(Cd=0,v_=t):Cd=0,_0=!1,m_=!1,mP(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ak(e){return wd!==null&&wd.has(e)}function pU(e){wd===null?wd=new Set([e]):wd.add(e)}function hU(e){h_||(h_=!0,p0=e)}var mU=hU;function nk(e,t,n){var i=qc(n,t),u=e4(e,i,qt),d=Uu(e,u,qt),v=Xn();d!==null&&(Tp(d,qt,v),So(d,v))}function fa(e,t,n){if(tH(n),Ih(!1),e.tag===b){nk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){nk(i,e,n);return}else if(i.tag===m){var u=i.type,d=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ak(d)){var v=qc(n,e),y=Hy(i,v,qt),C=Uu(i,y,qt),E=Xn();C!==null&&(Tp(C,qt,E),So(C,E));return}}i=i.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
115
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",w,E)}}}d=d.next}while(d!==c)}}function fH(e,t){if((t.flags&Tr)!==It)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,_=Kx(),y=t.alternate===null?"mount":"update";Gx()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,_);var w=t.return;e:for(;w!==null;){switch(w.tag){case b:var E=w.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=w.stateNode;A.passiveEffectDuration+=n;break e}w=w.return}break}}}function dH(e,t,n,i){if((n.flags&yp)!==It)switch(n.tag){case p:case j:case te:{if(!Rn)if(n.mode&Kr)try{gs(),Gc(an|rn,n)}finally{_s(n)}else Gc(an|rn,n);break}case m:{var c=n.stateNode;if(n.flags&Tr&&!Rn)if(t===null)if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",er(n)||"instance"),c.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",er(n)||"instance")),n.mode&Kr)try{gs(),c.componentDidMount()}finally{_s(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Vl(n.type,t.memoizedProps),_=t.memoizedState;if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",er(n)||"instance"),c.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",er(n)||"instance")),n.mode&Kr)try{gs(),c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}finally{_s(n)}else c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",er(n)||"instance"),c.state!==n.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",er(n)||"instance")),bx(n,y,c));break}case b:{var w=n.updateQueue;if(w!==null){var E=null;if(n.child!==null)switch(n.child.tag){case C:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}bx(n,w,E)}break}case C:{var A=n.stateNode;if(t===null&&n.flags&Tr){var Z=n.type,J=n.memoizedProps;A9(A,Z,J)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,Ce=me.onRender,rt=n.stateNode.effectDuration,Rt=Kx(),St=t===null?"mount":"update";Gx()&&(St="nested-update"),typeof Ce=="function"&&Ce(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,rt,Rt),hU(n);var pr=n.return;e:for(;pr!==null;){switch(pr.tag){case b:var hr=pr.stateNode;hr.effectDuration+=rt;break e;case F:var ce=pr.stateNode;ce.effectDuration+=rt;break e}pr=pr.return}}}break}case Q:{yH(e,n);break}case ye:case re:case ge:case H:case le:case B:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Rn||n.flags&Lc&&P4(n)}function pH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{gs(),L4(e,e.return)}finally{_s(e)}else L4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&iH(e,e.return,t),N4(e,e.return);break}case C:{N4(e,e.return);break}}}function hH(e,t){for(var n=null,i=e;;){if(i.tag===C){if(n===null){n=i;try{var c=i.stateNode;t?j9(c):U9(i.stateNode,i.memoizedProps)}catch(_){ua(e,e.return,_)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?H9(d):V9(d,i.memoizedProps)}catch(_){ua(e,e.return,_)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function P4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case C:i=n;break;default:i=n}if(typeof t=="function"){var c;if(e.mode&Kr)try{gs(),c=t(i)}finally{_s(e)}else c=t(i);typeof c=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",er(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",er(e)),t.current=i}}function mH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function I4(e){var t=e.alternate;t!==null&&(e.alternate=null,I4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===C){var n=e.stateNode;n!==null&&SF(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function vH(e){for(var t=e.return;t!==null;){if(z4(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function z4(e){return e.tag===C||e.tag===b||e.tag===S}function B4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||z4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==C&&t.tag!==k&&t.tag!==be;){if(t.flags&Ka||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ka))return t.stateNode}}function _H(e){var t=vH(e);switch(t.tag){case C:{var n=t.stateNode;t.flags&gp&&(FC(n),t.flags&=~gp);var i=B4(e);c0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=B4(e);s0(e,d,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function s0(e,t,n){var i=e.tag,c=i===C||i===k;if(c){var d=e.stateNode;t?I9(n,d,t):M9(n,d)}else if(i!==S){var _=e.child;if(_!==null){s0(_,t,n);for(var y=_.sibling;y!==null;)s0(y,t,n),y=y.sibling}}}function c0(e,t,n){var i=e.tag,c=i===C||i===k;if(c){var d=e.stateNode;t?P9(n,d,t):O9(n,d)}else if(i!==S){var _=e.child;if(_!==null){c0(_,t,n);for(var y=_.sibling;y!==null;)c0(y,t,n),y=y.sibling}}}var Dn=null,Yl=!1;function gH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case C:{Dn=i.stateNode,Yl=!1;break e}case b:{Dn=i.stateNode.containerInfo,Yl=!0;break e}case S:{Dn=i.stateNode.containerInfo,Yl=!0;break e}}i=i.return}if(Dn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");F4(e,t,n),Dn=null,Yl=!1}mH(n)}function Kc(e,t,n){for(var i=n.child;i!==null;)F4(e,t,i),i=i.sibling}function F4(e,t,n){switch(bI(n),n.tag){case C:Rn||wd(n,t);case k:{{var i=Dn,c=Yl;Dn=null,Kc(e,t,n),Dn=i,Yl=c,Dn!==null&&(Yl?B9(Dn,n.stateNode):z9(Dn,n.stateNode))}return}case be:{Dn!==null&&(Yl?F9(Dn,n.stateNode):y1(Dn,n.stateNode));return}case S:{{var d=Dn,_=Yl;Dn=n.stateNode.containerInfo,Yl=!0,Kc(e,t,n),Dn=d,Yl=_}return}case p:case j:case N:case te:{if(!Rn){var y=n.updateQueue;if(y!==null){var w=y.lastEffect;if(w!==null){var E=w.next,A=E;do{var Z=A,J=Z.destroy,me=Z.tag;J!==void 0&&((me&hs)!==yo?p_(n,t,J):(me&an)!==yo&&(w3(n),n.mode&Kr?(gs(),p_(n,t,J),_s(n)):p_(n,t,J),C3())),A=A.next}while(A!==E)}}}Kc(e,t,n);return}case m:{if(!Rn){wd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&l0(n,t,ve)}Kc(e,t,n);return}case ge:{Kc(e,t,n);return}case H:{if(n.mode&br){var Ce=Rn;Rn=Ce||n.memoizedState!==null,Kc(e,t,n),Rn=Ce}else Kc(e,t,n);break}default:{Kc(e,t,n);return}}}function bH(e){var t=e.memoizedState}function yH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var c=i.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&nF(d)}}}}function j4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new aH),t.forEach(function(i){var c=SU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Il)if(yd!==null&&Sd!==null)zh(Sd,yd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function SH(e,t,n){yd=n,Sd=e,wa(t),H4(t,e),wa(t),yd=null,Sd=null}function $l(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{gH(e,t,d)}catch(w){ua(d,t,w)}}var _=qg();if(t.subtreeFlags&mb)for(var y=t.child;y!==null;)wa(y),H4(y,e),y=y.sibling;wa(_)}function H4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case N:case te:{if($l(t,e),bs(e),c&Tr){try{ql(hs|rn,e,e.return),Gc(hs|rn,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Kr){try{gs(),ql(an|rn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}_s(e)}else try{ql(an|rn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{$l(t,e),bs(e),c&Lc&&i!==null&&wd(i,i.return);return}case C:{$l(t,e),bs(e),c&Lc&&i!==null&&wd(i,i.return);{if(e.flags&gp){var d=e.stateNode;try{FC(d)}catch(Ht){ua(e,e.return,Ht)}}if(c&Tr){var _=e.stateNode;if(_!=null){var y=e.memoizedProps,w=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{L9(_,A,E,w,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if($l(t,e),bs(e),c&Tr){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var Z=e.stateNode,J=e.memoizedProps,me=i!==null?i.memoizedProps:J;try{N9(Z,me,J)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if($l(t,e),bs(e),c&Tr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{aF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{$l(t,e),bs(e);return}case Q:{$l(t,e),bs(e);var Ce=e.child;if(Ce.flags&Tu){var rt=Ce.stateNode,Rt=Ce.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var pr=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;pr||iU()}}if(c&Tr){try{bH(e)}catch(Ht){ua(e,e.return,Ht)}j4(e)}return}case H:{var hr=i!==null&&i.memoizedState!==null;if(e.mode&br){var ce=Rn;Rn=ce||hr,$l(t,e),Rn=ce}else $l(t,e);if(bs(e),c&Tu){var De=e.stateNode,ue=e.memoizedState,qe=ue!==null,st=e;if(De.isHidden=qe,qe&&!hr&&(st.mode&br)!==Ot){_t=st;for(var at=st.child;at!==null;)_t=at,CH(at),at=at.sibling}hH(st,qe)}return}case ye:{$l(t,e),bs(e),c&Tr&&j4(e);return}case ge:return;default:{$l(t,e),bs(e);return}}}function bs(e){var t=e.flags;if(t&Ka){try{_H(e)}catch(n){ua(e,e.return,n)}e.flags&=~Ka}t&Hs&&(e.flags&=~Hs)}function wH(e,t,n){yd=n,Sd=t,_t=e,U4(e,t,n),yd=null,Sd=null}function U4(e,t,n){for(var i=(e.mode&br)!==Ot;_t!==null;){var c=_t,d=c.child;if(c.tag===H&&i){var _=c.memoizedState!==null,y=_||d_;if(y){u0(e,t,n);continue}else{var w=c.alternate,E=w!==null&&w.memoizedState!==null,A=E||Rn,Z=d_,J=Rn;d_=y,Rn=A,Rn&&!J&&(_t=c,xH(c));for(var me=d;me!==null;)_t=me,U4(me,t,n),me=me.sibling;_t=c,d_=Z,Rn=J,u0(e,t,n);continue}}(c.subtreeFlags&yp)!==It&&d!==null?(d.return=c,_t=d):u0(e,t,n)}}function u0(e,t,n){for(;_t!==null;){var i=_t;if((i.flags&yp)!==It){var c=i.alternate;wa(i);try{dH(t,c,i,n)}catch(_){ua(i,i.return,_)}hn()}if(i===e){_t=null;return}var d=i.sibling;if(d!==null){d.return=i.return,_t=d;return}_t=i.return}}function CH(e){for(;_t!==null;){var t=_t,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{gs(),ql(an,t,t.return)}finally{_s(t)}else ql(an,t,t.return);break}case m:{wd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&l0(t,t.return,i);break}case C:{wd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){V4(e);continue}break}}n!==null?(n.return=t,_t=n):V4(e)}}function V4(e){for(;_t!==null;){var t=_t;if(t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function xH(e){for(;_t!==null;){var t=_t,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){W4(e);continue}}n!==null?(n.return=t,_t=n):W4(e)}}function W4(e){for(;_t!==null;){var t=_t;wa(t);try{pH(t)}catch(i){ua(t,t.return,i)}if(hn(),t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function kH(e,t,n,i){_t=t,TH(t,e,n,i)}function TH(e,t,n,i){for(;_t!==null;){var c=_t,d=c.child;(c.subtreeFlags&Vf)!==It&&d!==null?(d.return=c,_t=d):EH(e,t,n,i)}}function EH(e,t,n,i){for(;_t!==null;){var c=_t;if((c.flags&Pl)!==It){wa(c);try{RH(t,c,n,i)}catch(_){ua(c,c.return,_)}hn()}if(c===e){_t=null;return}var d=c.sibling;if(d!==null){d.return=c.return,_t=d;return}_t=c.return}}function RH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){Dy();try{Gc(Tn|rn,t)}finally{Ry(t)}}else Gc(Tn|rn,t);break}}}function DH(e){_t=e,AH()}function AH(){for(;_t!==null;){var e=_t,t=e.child;if((_t.flags&xu)!==It){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];_t=c,OH(c,e)}{var d=e.alternate;if(d!==null){var _=d.child;if(_!==null){d.child=null;do{var y=_.sibling;_.sibling=null,_=y}while(_!==null)}}}_t=e}}(e.subtreeFlags&Vf)!==It&&t!==null?(t.return=e,_t=t):LH()}}function LH(){for(;_t!==null;){var e=_t;(e.flags&Pl)!==It&&(wa(e),NH(e),hn());var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function NH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Dy(),ql(Tn|rn,e,e.return),Ry(e)):ql(Tn|rn,e,e.return);break}}}function OH(e,t){for(;_t!==null;){var n=_t;wa(n),PH(n,t),hn();var i=n.child;i!==null?(i.return=n,_t=i):MH(e)}}function MH(e){for(;_t!==null;){var t=_t,n=t.sibling,i=t.return;if(I4(t),t===e){_t=null;return}if(n!==null){n.return=i,_t=n;return}_t=i}}function PH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Dy(),ql(Tn,e,t),Ry(e)):ql(Tn,e,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:{try{Gc(an|rn,e)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ua(e,e.return,n)}break}}}function zH(e){switch(e.tag){case p:case j:case te:{try{Gc(Tn|rn,e)}catch(t){ua(e,e.return,t)}break}}}function BH(e){switch(e.tag){case p:case j:case te:{try{ql(an|rn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&l0(e,e.return,t);break}}}function FH(e){switch(e.tag){case p:case j:case te:try{ql(Tn|rn,e,e.return)}catch(t){ua(e,e.return,t)}}}var jH=0,HH=1,UH=2,VH=3,WH=4;if(typeof Symbol=="function"&&Symbol.for){var Th=Symbol.for;jH=Th("selector.component"),HH=Th("selector.has_pseudo_class"),UH=Th("selector.role"),VH=Th("selector.test_id"),WH=Th("selector.text")}var qH=[];function YH(){qH.forEach(function(e){return e()})}var $H=o.ReactCurrentActQueue;function GH(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function q4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&$H.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var KH=Math.ceil,f0=o.ReactCurrentDispatcher,d0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,Gl=o.ReactCurrentActQueue,ln=0,Y4=1,Ln=2,Sl=4,ec=0,Eh=1,Gu=2,h_=3,Rh=4,$4=5,p0=6,yr=ln,Xn=null,Ra=null,sn=ze,ys=ze,h0=Fc(ze),cn=ec,Dh=null,m0=ze,m_=ze,Ah=ze,v_=ze,Lh=null,So=null,v0=0,G4=500,K4=1/0,XH=500,tc=null;function Nh(){K4=mn()+XH}function X4(){return K4}var __=!1,_0=null,Cd=null,Ku=!1,Xc=null,Oh=ze,g0=[],b0=null,QH=50,Mh=0,y0=null,S0=!1,g_=!1,JH=50,xd=0,b_=null,Ph=ma,y_=ze,Q4=!1;function S_(){return Xn}function Qn(){return(yr&(Ln|Sl))!==ln?mn():(Ph!==ma||(Ph=mn()),Ph)}function Qc(e){var t=e.mode;if((t&br)===Ot)return qt;if((yr&Ln)!==ln&&sn!==ze)return Ep(sn);var n=UF()!==HF;if(n){if(An.transition!==null){var i=An.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return y_===_n&&(y_=L3()),y_}var c=zl();if(c!==_n)return c;var d=T9();return d}function ZH(e){var t=e.mode;return(t&br)===Ot?qt:XI()}function un(e,t,n,i){CU(),Q4&&u("useInsertionEffect must not schedule updates."),S0&&(g_=!0),Rp(e,n,i),(yr&Ln)!==ze&&e===Xn?TU(t):(Il&&M3(e,t,n),EU(t),e===Xn&&((yr&Ln)===ln&&(Ah=or(Ah,n)),cn===Rh&&Jc(e,sn)),wo(e,i),n===qt&&yr===ln&&(t.mode&br)===Ot&&!Gl.isBatchingLegacy&&(Nh(),XC()))}function eU(e,t,n){var i=e.current;i.lanes=t,Rp(e,t,n),wo(e,n)}function tU(e){return(yr&Ln)!==ln}function wo(e,t){var n=e.callbackNode;WI(e,t);var i=Um(e,e===Xn?sn:ze);if(i===ze){n!==null&&pk(n),e.callbackNode=null,e.callbackPriority=_n;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Gl.current!==null&&n!==R0)){n==null&&d!==qt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&pk(n);var _;if(c===qt)e.tag===jc?(Gl.isBatchingLegacy!==null&&(Gl.didScheduleLegacyUpdate=!0),xF(ek.bind(null,e))):KC(ek.bind(null,e)),Gl.current!==null?Gl.current.push(Hc):R9(function(){(yr&(Ln|Sl))===ln&&Hc()}),_=null;else{var y;switch(z3(i)){case Io:y=Bm;break;case qs:y=vb;break;case Ys:y=Du;break;case qm:y=_b;break;default:y=Du;break}_=D0(y,J4.bind(null,e))}e.callbackPriority=c,e.callbackNode=_}function J4(e,t){if(hj(),Ph=ma,y_=ze,(yr&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=ac();if(i&&e.callbackNode!==n)return null;var c=Um(e,e===Xn?sn:ze);if(c===ze)return null;var d=!Vm(e,c)&&!KI(e,c)&&!t,_=d?fU(e,c):C_(e,c);if(_!==ec){if(_===Gu){var y=Fb(e);y!==ze&&(c=y,_=w0(e,y))}if(_===Eh){var w=Dh;throw Xu(e,ze),Jc(e,c),wo(e,mn()),w}if(_===p0)Jc(e,c);else{var E=!Vm(e,c),A=e.current.alternate;if(E&&!aU(A)){if(_=C_(e,c),_===Gu){var Z=Fb(e);Z!==ze&&(c=Z,_=w0(e,Z))}if(_===Eh){var J=Dh;throw Xu(e,ze),Jc(e,c),wo(e,mn()),J}}e.finishedWork=A,e.finishedLanes=c,rU(e,_,c)}}return wo(e,mn()),e.callbackNode===n?J4.bind(null,e):null}function w0(e,t){var n=Lh;if(Ym(e)){var i=Xu(e,t);i.flags|=js,_F(e.containerInfo)}var c=C_(e,t);if(c!==Gu){var d=So;So=n,d!==null&&Z4(d)}return c}function Z4(e){So===null?So=e:So.push.apply(So,e)}function rU(e,t,n){switch(t){case ec:case Eh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,So,tc);break}case h_:{if(Jc(e,n),D3(n)&&!hk()){var i=v0+G4-mn();if(i>10){var c=Um(e,ze);if(c!==ze)break;var d=e.suspendedLanes;if(!Gf(d,n)){var _=Qn();O3(e,d);break}e.timeoutHandle=g1(Qu.bind(null,e,So,tc),i);break}}Qu(e,So,tc);break}case Rh:{if(Jc(e,n),GI(n))break;if(!hk()){var y=UI(e,n),w=y,E=mn()-w,A=wU(E)-E;if(A>10){e.timeoutHandle=g1(Qu.bind(null,e,So,tc),A);break}}Qu(e,So,tc);break}case $4:{Qu(e,So,tc);break}default:throw new Error("Unknown root exit status.")}}function aU(e){for(var t=e;;){if(t.flags&Im){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.getSnapshot,y=d.value;try{if(!Bo(_(),y))return!1}catch(E){return!1}}}}var w=t.child;if(t.subtreeFlags&Im&&w!==null){w.return=t,t=w;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Jc(e,t){t=Wm(t,v_),t=Wm(t,Ah),JI(e,t)}function ek(e){if(mj(),(yr&(Ln|Sl))!==ln)throw new Error("Should not already be working.");ac();var t=Um(e,ze);if(!Po(t,qt))return wo(e,mn()),null;var n=C_(e,t);if(e.tag!==jc&&n===Gu){var i=Fb(e);i!==ze&&(t=i,n=w0(e,i))}if(n===Eh){var c=Dh;throw Xu(e,ze),Jc(e,t),wo(e,mn()),c}if(n===p0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Qu(e,So,tc),wo(e,mn()),null}function nU(e,t){t!==ze&&(Vb(e,or(t,qt)),wo(e,mn()),(yr&(Ln|Sl))===ln&&(Nh(),Hc()))}function C0(e,t){var n=yr;yr|=Y4;try{return e(t)}finally{yr=n,yr===ln&&!Gl.isBatchingLegacy&&(Nh(),XC())}}function oU(e,t,n,i,c){var d=zl(),_=An.transition;try{return An.transition=null,gn(Io),e(t,n,i,c)}finally{gn(d),An.transition=_,yr===ln&&Nh()}}function rc(e){Xc!==null&&Xc.tag===jc&&(yr&(Ln|Sl))===ln&&ac();var t=yr;yr|=Y4;var n=An.transition,i=zl();try{return An.transition=null,gn(Io),e?e():void 0}finally{gn(i),An.transition=n,yr=t,(yr&(Ln|Sl))===ln&&Hc()}}function tk(){return(yr&(Ln|Sl))!==ln}function w_(e,t){Bn(h0,ys,e),ys=or(ys,t),m0=or(m0,t)}function x0(e){ys=h0.current,zn(h0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==b1&&(e.timeoutHandle=b1,E9(n)),Ra!==null)for(var i=Ra.return;i!==null;){var c=i.alternate;D4(c,i),i=i.return}Xn=e;var d=Ju(e.current,null);return Ra=d,sn=ys=m0=t,cn=ec,Dh=null,m_=ze,Ah=ze,v_=ze,Lh=null,So=null,KF(),jl.discardPendingWarnings(),d}function rk(e,t){do{var n=Ra;try{if(Nv(),kx(),hn(),d0.current=null,n===null||n.return===null){cn=Eh,Dh=t,Ra=null;return}if(et&&n.mode&Kr&&l_(n,!0),Pe)if(Wf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;AI(n,i,sn)}else DI(n,t,sn);xj(e,n.return,n,t,sn),ik(n)}catch(c){t=c,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function ak(){var e=f0.current;return f0.current=r_,e===null?r_:e}function nk(e){f0.current=e}function iU(){v0=mn()}function Ih(e){m_=or(e,m_)}function lU(){cn===ec&&(cn=h_)}function k0(){(cn===ec||cn===h_||cn===Gu)&&(cn=Rh),Xn!==null&&(jb(m_)||jb(Ah))&&Jc(Xn,sn)}function sU(e){cn!==Rh&&(cn=Gu),Lh===null?Lh=[e]:Lh.push(e)}function cU(){return cn===ec}function C_(e,t){var n=yr;yr|=Ln;var i=ak();if(Xn!==e||sn!==t){if(Il){var c=e.memoizedUpdaters;c.size>0&&(zh(e,sn),c.clear()),P3(e,t)}tc=I3(),Xu(e,t)}x3(t);do try{uU();break}catch(d){rk(e,d)}while(!0);if(Nv(),yr=n,nk(i),Ra!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return k3(),Xn=null,sn=ze,cn}function uU(){for(;Ra!==null;)ok(Ra)}function fU(e,t){var n=yr;yr|=Ln;var i=ak();if(Xn!==e||sn!==t){if(Il){var c=e.memoizedUpdaters;c.size>0&&(zh(e,sn),c.clear()),P3(e,t)}tc=I3(),Nh(),Xu(e,t)}x3(t);do try{dU();break}catch(d){rk(e,d)}while(!0);return Nv(),nk(i),yr=n,Ra!==null?(PI(),ec):(k3(),Xn=null,sn=ze,cn)}function dU(){for(;Ra!==null&&!cI();)ok(Ra)}function ok(e){var t=e.alternate;wa(e);var n;(e.mode&Kr)!==Ot?(Ey(e),n=T0(t,e,ys),l_(e,!0)):n=T0(t,e,ys),hn(),e.memoizedProps=e.pendingProps,n===null?ik(e):Ra=n,d0.current=null}function ik(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&bp)===It){wa(t);var c=void 0;if((t.mode&Kr)===Ot?c=R4(n,t,ys):(Ey(t),c=R4(n,t,ys),l_(t,!1)),hn(),c!==null){Ra=c;return}}else{var d=rH(n,t);if(d!==null){d.flags&=aI,Ra=d;return}if((t.mode&Kr)!==Ot){l_(t,!1);for(var _=t.actualDuration,y=t.child;y!==null;)_+=y.actualDuration,y=y.sibling;t.actualDuration=_}if(i!==null)i.flags|=bp,i.subtreeFlags=It,i.deletions=null;else{cn=p0,Ra=null;return}}var w=t.sibling;if(w!==null){Ra=w;return}t=i,Ra=t}while(t!==null);cn===ec&&(cn=$4)}function Qu(e,t,n){var i=zl(),c=An.transition;try{An.transition=null,gn(Io),pU(e,t,n,i)}finally{An.transition=c,gn(i)}return null}function pU(e,t,n,i){do ac();while(Xc!==null);if(xU(),(yr&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(wI(d),c===null)return S3(),null;if(d===ze&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,c===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=_n;var _=or(c.lanes,c.childLanes);ZI(e,_),e===Xn&&(Xn=null,Ra=null,sn=ze),((c.subtreeFlags&Vf)!==It||(c.flags&Vf)!==It)&&(Ku||(Ku=!0,b0=n,D0(Du,function(){return ac(),null})));var y=(c.subtreeFlags&(hb|mb|yp|Vf))!==It,w=(c.flags&(hb|mb|yp|Vf))!==It;if(y||w){var E=An.transition;An.transition=null;var A=zl();gn(Io);var Z=yr;yr|=Sl,d0.current=null;var J=lH(e,c);Xx(),SH(e,c,d),y9(e.containerInfo),e.current=c,LI(d),wH(c,e,d),NI(),uI(),yr=Z,gn(A),An.transition=E}else e.current=c,Xx();var me=Ku;if(Ku?(Ku=!1,Xc=e,Oh=d):(xd=0,b_=null),_=e.pendingLanes,_===ze&&(Cd=null),me||uk(e.current,!1),_I(c.stateNode,i),Il&&e.memoizedUpdaters.clear(),YH(),wo(e,mn()),t!==null)for(var ve=e.onRecoverableError,Ce=0;Ce<t.length;Ce++){var rt=t[Ce],Rt=rt.stack,St=rt.digest;ve(rt.value,{componentStack:Rt,digest:St})}if(__){__=!1;var pr=_0;throw _0=null,pr}return Po(Oh,qt)&&e.tag!==jc&&ac(),_=e.pendingLanes,Po(_,qt)?(pj(),e===y0?Mh++:(Mh=0,y0=e)):Mh=0,Hc(),S3(),null}function ac(){if(Xc!==null){var e=z3(Oh),t=az(Ys,e),n=An.transition,i=zl();try{return An.transition=null,gn(t),mU()}finally{gn(i),An.transition=n}}return!1}function hU(e){g0.push(e),Ku||(Ku=!0,D0(Du,function(){return ac(),null}))}function mU(){if(Xc===null)return!1;var e=b0;b0=null;var t=Xc,n=Oh;if(Xc=null,Oh=ze,(yr&(Ln|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");S0=!0,g_=!1,OI(n);var i=yr;yr|=Sl,DH(t.current),kH(t,t.current,n,e);{var c=g0;g0=[];for(var d=0;d<c.length;d++){var _=c[d];fH(t,_)}}MI(),uk(t.current,!0),yr=i,Hc(),g_?t===b_?xd++:(xd=0,b_=t):xd=0,S0=!1,g_=!1,gI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function lk(e){return Cd!==null&&Cd.has(e)}function vU(e){Cd===null?Cd=new Set([e]):Cd.add(e)}function _U(e){__||(__=!0,_0=e)}var gU=_U;function sk(e,t,n){var i=Yu(n,t),c=n4(e,i,qt),d=Vc(e,c,qt),_=Qn();d!==null&&(Rp(d,qt,_),wo(d,_))}function ua(e,t,n){if(nH(n),Bh(!1),e.tag===b){sk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){sk(i,e,n);return}else if(i.tag===m){var c=i.type,d=i.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!lk(d)){var _=Yu(n,e),y=qy(i,_,qt),w=Vc(i,y,qt),E=Qn();w!==null&&(Rp(w,qt,E),wo(w,E));return}}i=i.return}u(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
116
116
|
|
|
117
117
|
Error message:
|
|
118
118
|
|
|
119
|
-
%s`,n)}function
|
|
119
|
+
%s`,n)}function bU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Qn();O3(e,n),RU(e),Xn===e&&Gf(sn,n)&&(cn===Rh||cn===h_&&D3(sn)&&mn()-v0<G4?Xu(e,ze):v_=or(v_,n)),wo(e,c)}function ck(e,t){t===_n&&(t=ZH(e));var n=Qn(),i=bo(e,t);i!==null&&(Rp(i,t,n),wo(i,n))}function yU(e){var t=e.memoizedState,n=_n;t!==null&&(n=t.retryLane),ck(e,n)}function SU(e,t){var n=_n,i;switch(e.tag){case Q:i=e.stateNode;var c=e.memoizedState;c!==null&&(n=c.retryLane);break;case ye:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),ck(e,n)}function wU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:KH(e/1960)*1960}function CU(){if(Mh>QH)throw Mh=0,y0=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");xd>JH&&(xd=0,b_=null,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function xU(){jl.flushLegacyContextWarning(),jl.flushPendingUnsafeLifecycleWarnings()}function uk(e,t){wa(e),x_(e,Us,BH),t&&x_(e,zm,FH),x_(e,Us,IH),t&&x_(e,zm,zH),hn()}function x_(e,t,n){for(var i=e,c=null;i!==null;){var d=i.subtreeFlags&t;i!==c&&i.child!==null&&d!==It?i=i.child:((i.flags&t)!==It&&n(i),i.sibling!==null?i=i.sibling:i=c=i.return)}}var k_=null;function fk(e){{if((yr&Ln)!==ln||!(e.mode&br))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==N&&t!==te)return;var n=er(e)||"ReactComponent";if(k_!==null){if(k_.has(n))return;k_.add(n)}else k_=new Set([n]);var i=In;try{wa(e),u("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?wa(e):hn()}}}var T0;{var kU=null;T0=function(e,t,n){var i=bk(kU,t);try{return C4(e,t,n)}catch(d){if(NF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Nv(),kx(),D4(e,t),bk(t,i),t.mode&Kr&&Ey(t),sb(null,C4,null,e,t,n),ZP()){var c=cb();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var dk=!1,E0;E0=new Set;function TU(e){if(Rc&&!uj())switch(e.tag){case p:case j:case te:{var t=Ra&&er(Ra)||"Unknown",n=t;if(!E0.has(n)){E0.add(n);var i=er(e)||"Unknown";u("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case m:{dk||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),dk=!0);break}}}function zh(e,t){if(Il){var n=e.memoizedUpdaters;n.forEach(function(i){M3(e,i,t)})}}var R0={};function D0(e,t){{var n=Gl.current;return n!==null?(n.push(t),R0):y3(e,t)}}function pk(e){if(e!==R0)return sI(e)}function hk(){return Gl.current!==null}function EU(e){{if(e.mode&br){if(!q4())return}else if(!GH()||yr!==ln||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Gl.current===null){var t=In;try{wa(e),u(`An update to %s inside a test was not wrapped in act(...).
|
|
120
120
|
|
|
121
121
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
122
122
|
|
|
@@ -125,7 +125,7 @@ act(() => {
|
|
|
125
125
|
});
|
|
126
126
|
/* assert on the output */
|
|
127
127
|
|
|
128
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,
|
|
128
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,er(e))}finally{t?wa(e):hn()}}}}function RU(e){e.tag!==jc&&q4()&&Gl.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
129
129
|
|
|
130
130
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
131
131
|
|
|
@@ -134,37 +134,37 @@ act(() => {
|
|
|
134
134
|
});
|
|
135
135
|
/* assert on the output */
|
|
136
136
|
|
|
137
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function
|
|
137
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Bh(e){Q4=e}var wl=null,kd=null,DU=function(e){wl=e};function Td(e){{if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}}function A0(e){return Td(e)}function L0(e){{if(wl===null)return e;var t=wl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Td(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function mk(e,t){{if(wl===null)return!1;var n=e.elementType,i=t.type,c=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(c=!0);break}case p:{(typeof i=="function"||d===Je)&&(c=!0);break}case j:{(d===pe||d===Je)&&(c=!0);break}case N:case te:{(d===ft||d===Je)&&(c=!0);break}default:return!1}if(c){var _=wl(n);if(_!==void 0&&_===wl(i))return!0}return!1}}function vk(e){{if(wl===null||typeof WeakSet!="function")return;kd===null&&(kd=new WeakSet),kd.add(e)}}var AU=function(e,t){{if(wl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;ac(),rc(function(){N0(e.current,i,n)})}},LU=function(e,t){{if(e.context!==Fo)return;ac(),rc(function(){Fh(t,e,null,null)})}};function N0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,_=e.tag,y=e.type,w=null;switch(_){case p:case te:case m:w=y;break;case j:w=y.render;break}if(wl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(w!==null){var Z=wl(w);Z!==void 0&&(n.has(Z)?A=!0:t.has(Z)&&(_===m?A=!0:E=!0))}if(kd!==null&&(kd.has(e)||i!==null&&kd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var J=bo(e,qt);J!==null&&un(J,e,qt,ma)}c!==null&&!A&&N0(c,t,n),d!==null&&N0(d,t,n)}}var NU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return O0(e.current,i,n),n}};function O0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,_=e.type,y=null;switch(d){case p:case te:case m:y=_;break;case j:y=_.render;break}var w=!1;y!==null&&t.has(y)&&(w=!0),w?OU(e,n):i!==null&&O0(i,t,n),c!==null&&O0(c,t,n)}}function OU(e,t){{var n=MU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case C:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function MU(e,t){for(var n=e,i=!1;;){if(n.tag===C)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var M0;{M0=!1;try{var _k=Object.preventExtensions({})}catch(e){M0=!0}}function PU(e,t,n,i){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=It,this.subtreeFlags=It,this.deletions=null,this.lanes=ze,this.childLanes=ze,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!M0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new PU(e,t,n,i)};function P0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function IU(e){return typeof e=="function"&&!P0(e)&&e.defaultProps===void 0}function zU(e){if(typeof e=="function")return P0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ft)return N}return g}function Ju(e,t){var n=e.alternate;n===null?(n=jo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=It,n.subtreeFlags=It,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Vs,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case g:case p:case te:n.type=Td(e.type);break;case m:n.type=A0(e.type);break;case j:n.type=L0(e.type);break}return n}function BU(e,t){e.flags&=Vs|Ka;var n=e.alternate;if(n===null)e.childLanes=ze,e.lanes=t,e.child=null,e.subtreeFlags=It,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=It,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function FU(e,t,n){var i;return e===wv?(i=br,t===!0&&(i|=Ma,i|=us)):i=Ot,Il&&(i|=Kr),jo(b,null,null,i)}function I0(e,t,n,i,c,d){var _=g,y=e;if(typeof e=="function")P0(e)?(_=m,y=A0(y)):y=Td(y);else if(typeof e=="string")_=C;else e:switch(e){case se:return Zc(n.children,c,d,t);case Ve:_=M,c|=Ma,(c&br)!==Ot&&(c|=us);break;case Fe:return jU(n,c,d,t);case ke:return HU(n,c,d,t);case He:return UU(n,c,d,t);case kt:return gk(n,c,d,t);case Wt:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:_=O;break e;case q:_=Y;break e;case pe:_=j,y=L0(y);break e;case ft:_=N;break e;case Je:_=_e,y=null;break e}var w="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=i?er(i):null;E&&(w+=`
|
|
138
138
|
|
|
139
|
-
Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+
|
|
139
|
+
Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+w))}}var A=jo(_,n,t,c);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function z0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,_=e.props,y=I0(c,d,_,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Zc(e,t,n,i){var c=jo(L,e,i,t);return c.lanes=n,c}function jU(e,t,n,i){typeof e.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=jo(F,e,i,t|Kr);return c.elementType=Fe,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function HU(e,t,n,i){var c=jo(Q,e,i,t);return c.elementType=ke,c.lanes=n,c}function UU(e,t,n,i){var c=jo(ye,e,i,t);return c.elementType=He,c.lanes=n,c}function gk(e,t,n,i){var c=jo(H,e,i,t);c.elementType=kt,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function B0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function VU(){var e=jo(C,null,null,Ot);return e.elementType="DELETED",e}function WU(e){var t=jo(be,null,null,Ot);return t.stateNode=e,t}function F0(e,t,n){var i=e.children!==null?e.children:[],c=jo(S,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function bk(e,t){return e===null&&(e=jo(g,null,null,Ot)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function qU(e,t,n,i,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=b1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=_n,this.eventTimes=Ub(ze),this.expirationTimes=Ub(ma),this.pendingLanes=ze,this.suspendedLanes=ze,this.pingedLanes=ze,this.expiredLanes=ze,this.mutableReadLanes=ze,this.finishedLanes=ze,this.entangledLanes=ze,this.entanglements=Ub(ze),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],_=0;_<bb;_++)d.push(new Set)}switch(t){case wv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case jc:this._debugRootType=n?"hydrate()":"render()";break}}function yk(e,t,n,i,c,d,_,y,w,E){var A=new qU(e,t,n,y,w),Z=FU(t,d);A.current=Z,Z.stateNode=A;{var J={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=J}return Q1(Z),A}var j0="18.3.1";function YU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Er(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var H0,U0;H0=!1,U0={};function Sk(e){if(!e)return Fo;var t=Hf(e),n=CF(t);if(t.tag===m){var i=t.type;if(ps(i))return $C(t,i,n)}return n}function $U(e,t){{var n=Hf(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var c=_3(n);if(c===null)return null;if(c.mode&Ma){var d=er(n)||"Component";if(!U0[d]){U0[d]=!0;var _=In;try{wa(c),n.mode&Ma?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d)}finally{_?wa(_):hn()}}}return c.stateNode}}function wk(e,t,n,i,c,d,_,y){var w=!1,E=null;return yk(e,t,w,E,n,i,c,d,_)}function Ck(e,t,n,i,c,d,_,y,w,E){var A=!0,Z=yk(n,i,A,e,c,d,_,y,w);Z.context=Sk(null);var J=Z.current,me=Qn(),ve=Qc(J),Ce=Js(me,ve);return Ce.callback=t!=null?t:null,Vc(J,Ce,ve),eU(Z,ve,me),Z}function Fh(e,t,n,i){vI(t,e);var c=t.current,d=Qn(),_=Qc(c);II(_);var y=Sk(n);t.context===null?t.context=y:t.pendingContext=y,Rc&&In!==null&&!H0&&(H0=!0,u(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
140
140
|
|
|
141
|
-
Check the render method of %s.`,
|
|
141
|
+
Check the render method of %s.`,er(In)||"Unknown"));var w=Js(d,_);w.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),w.callback=i);var E=Vc(c,w,_);return E!==null&&(un(E,c,_,d),zv(E,c,_)),_}function T_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case C:return t.child.stateNode;default:return t.child.stateNode}}function GU(e){switch(e.tag){case b:{var t=e.stateNode;if(Ym(t)){var n=qI(t);nU(t,n)}break}case Q:{rc(function(){var c=bo(e,qt);if(c!==null){var d=Qn();un(c,e,qt,d)}});var i=qt;V0(e,i);break}}}function xk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=QI(n.retryLane,t))}function V0(e,t){xk(e,t);var n=e.alternate;n&&xk(n,t)}function KU(e){if(e.tag===Q){var t=xp,n=bo(e,t);if(n!==null){var i=Qn();un(n,e,t,i)}V0(e,t)}}function XU(e){if(e.tag===Q){var t=Qc(e),n=bo(e,t);if(n!==null){var i=Qn();un(n,e,t,i)}V0(e,t)}}function kk(e){var t=lI(e);return t===null?null:t.stateNode}var Tk=function(e){return null};function QU(e){return Tk(e)}var Ek=function(e){return!1};function JU(e){return Ek(e)}var Rk=null,Dk=null,Ak=null,Lk=null,Nk=null,Ok=null,Mk=null,Pk=null,Ik=null;{var zk=function(e,t,n){var i=t[n],c=tn(e)?e.slice():Nt({},e);return n+1===t.length?(tn(c)?c.splice(i,1):delete c[i],c):(c[i]=zk(e[i],t,n+1),c)},Bk=function(e,t){return zk(e,t,0)},Fk=function(e,t,n,i){var c=t[i],d=tn(e)?e.slice():Nt({},e);if(i+1===t.length){var _=n[i];d[_]=d[c],tn(d)?d.splice(c,1):delete d[c]}else d[c]=Fk(e[c],t,n,i+1);return d},jk=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return Fk(e,t,n,0)},Hk=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=tn(e)?e.slice():Nt({},e);return d[c]=Hk(e[c],t,n+1,i),d},Uk=function(e,t,n){return Hk(e,t,0,n)},W0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Rk=function(e,t,n,i){var c=W0(e,t);if(c!==null){var d=Uk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var _=bo(e,qt);_!==null&&un(_,e,qt,ma)}},Dk=function(e,t,n){var i=W0(e,t);if(i!==null){var c=Bk(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Nt({},e.memoizedProps);var d=bo(e,qt);d!==null&&un(d,e,qt,ma)}},Ak=function(e,t,n,i){var c=W0(e,t);if(c!==null){var d=jk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var _=bo(e,qt);_!==null&&un(_,e,qt,ma)}},Lk=function(e,t,n){e.pendingProps=Uk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=bo(e,qt);i!==null&&un(i,e,qt,ma)},Nk=function(e,t){e.pendingProps=Bk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=bo(e,qt);n!==null&&un(n,e,qt,ma)},Ok=function(e,t,n){e.pendingProps=jk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=bo(e,qt);i!==null&&un(i,e,qt,ma)},Mk=function(e){var t=bo(e,qt);t!==null&&un(t,e,qt,ma)},Pk=function(e){Tk=e},Ik=function(e){Ek=e}}function ZU(e){var t=_3(e);return t===null?null:t.stateNode}function eV(e){return null}function tV(){return In}function rV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return mI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Rk,overrideHookStateDeletePath:Dk,overrideHookStateRenamePath:Ak,overrideProps:Lk,overridePropsDeletePath:Nk,overridePropsRenamePath:Ok,setErrorHandler:Pk,setSuspenseHandler:Ik,scheduleUpdate:Mk,currentDispatcherRef:n,findHostInstanceByFiber:ZU,findFiberByHostInstance:t||eV,findHostInstancesForRefresh:NU,scheduleRefresh:AU,scheduleRoot:LU,setRefreshHandler:DU,getCurrentFiber:tV,reconcilerVersion:j0})}var Vk=typeof reportError=="function"?reportError:function(e){console.error(e)};function q0(e){this._internalRoot=e}E_.prototype.render=q0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):R_(arguments[1])?u("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]!="undefined"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Ga){var i=kk(t.current);i&&i.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Fh(e,t,null,null)},E_.prototype.unmount=q0.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;tk()&&u("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),rc(function(){Fh(null,e,null,null)}),UC(t)}};function aV(e,t){if(!R_(e))throw new Error("createRoot(...): Target container is not a DOM element.");Wk(e);var n=!1,i=!1,c="",d=Vk,_=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
142
142
|
|
|
143
143
|
let root = createRoot(domContainer);
|
|
144
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(
|
|
145
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V0,Uo.createPortal=fV,Uo.createRoot=pV,Uo.findDOMNode=iV,Uo.flushSync=mV,Uo.hydrate=lV,Uo.hydrateRoot=hV,Uo.render=sV,Uo.unmountComponentAtNode=cV,Uo.unstable_batchedUpdates=b0,Uo.unstable_renderSubtreeIntoContainer=dV,Uo.version=I0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var W0=Ue((X$,Jk)=>{"use strict";Jk.exports=Qk()});var Zk=Ue(Y0=>{"use strict";var q0=W0();jh=q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y0.createRoot=function(r,a){jh.usingClientEntryPoint=!0;try{return q0.createRoot(r,a)}finally{jh.usingClientEntryPoint=!1}},Y0.hydrateRoot=function(r,a,o){jh.usingClientEntryPoint=!0;try{return q0.hydrateRoot(r,a,o)}finally{jh.usingClientEntryPoint=!1}};var jh});var n2=Ue(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Ir(){return Ir=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},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),eT="popstate";function TV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),c=Ia.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function g(w,k,L){k===void 0&&(k=null);let M=ou(s?m().pathname:"/",w,k,L);return Ss(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function b(w){return typeof w=="string"?w:ws(w)}return{get index(){return f},get action(){return c},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Gl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){c=Ia.Push;let L=g(w,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:c,location:L,delta:1})},replace(w,k){c=Ia.Replace;let L=g(w,k);s[f]=L,l&&h&&h({action:c,location:L,delta:0})},go(w){c=Ia.Pop;let k=p(f+w),L=s[k];f=k,h&&h({action:c,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function EV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:c,hash:h}=l.location;return ou("",{pathname:f,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:ws(s)}return vT(a,o,null,r)}function RV(r){r===void 0&&(r={});function a(s,f){let{pathname:c="/",search:h="",hash:p=""}=Gl(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),ou("",{pathname:c,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:ws(f))}function l(s,f){Ss(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return vT(a,o,l,r)}function Nr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ss(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function DV(){return Math.random().toString(36).substr(2,8)}function tT(r,a){return{usr:r.state,key:r.key,idx:a}}function ou(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Gl(a):a,{state:o,key:a&&a.key||l||DV()})}function ws(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 Gl(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 vT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,c=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,c.replaceState(Ir({},c.state,{idx:m}),""));function g(){return(c.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=ou(L.location,M,Y);o&&o(O,M),m=g()+1;let j=tT(O,m),F=L.createHref(O);try{c.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(M,Y){h=Ia.Replace;let O=ou(L.location,M,Y);o&&o(O,M),m=g();let j=tT(O,m),F=L.createHref(O);c.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:ws(M);return O=O.replace(/ $/,"%20"),Nr(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={get action(){return h},get location(){return r(s,c)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(eT,b),p=M,()=>{s.removeEventListener(eT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(M){return c.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),AV=new Set(["lazy","caseSensitive","path","id","index","children"]);function LV(r){return r.index===!0}function ef(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let c=[...o,String(f)],h=typeof s.id=="string"?s.id:c.join("-");if(Nr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Nr(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),LV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=ef(s.children,a,c,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),A_(r,a,o,!1)}function A_(r,a,o,l){let s=typeof a=="string"?Gl(a):a,f=Vh(s.pathname||"/",o);if(f==null)return null;let c=gT(r);NV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let m=yT(f);h=HV(c[p],m,l)}return h}function _T(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 gT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,c,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:c,route:f};p.relativePath.startsWith("/")&&(Nr(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Ad([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Nr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),gT(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:FV(m,f.index),routesMeta:g})};return r.forEach((f,c)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,c);else for(let p of bT(f.path))s(f,c,p)}),a}function bT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let c=bT(l.join("/")),h=[];return h.push(...c.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function NV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:jV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var OV=/^:[\w-]+$/,MV=3,PV=2,IV=1,zV=10,BV=-2,rT=r=>r==="*";function FV(r,a){let o=r.split("/"),l=o.length;return o.some(rT)&&(l+=BV),a&&(l+=PV),o.filter(s=>!rT(s)).reduce((s,f)=>s+(OV.test(f)?MV:f===""?IV:zV),l)}function jV(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 HV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),c.push({params:s,pathname:Ad([f,b.pathname]),pathnameBase:kT(Ad([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ad([f,b.pathnameBase]))}return c}function UV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ss(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),f=o.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let g=c.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Nr(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+f.join("/")}function K0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=VV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],c=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:S,isOptional:w}=g;if(S==="*"){let L=h[b]||"";c=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:c,pattern:r}}function VV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ss(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function yT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ss(!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 Vh(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 ST(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Gl(r):r;return{pathname:o?o.startsWith("/")?o:WV(o,a):a,search:YV(l),hash:$V(s)}}function WV(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 $0(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 wT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function CT(r,a){let o=wT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function xT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Gl(r):(s=Ir({},r),Nr(!s.pathname||!s.pathname.includes("?"),$0("?","pathname","search",s)),Nr(!s.pathname||!s.pathname.includes("#"),$0("#","pathname","hash",s)),Nr(!s.search||!s.search.includes("#"),$0("#","search","hash",s)));let f=r===""||s.pathname==="",c=f?"/":s.pathname,h;if(c==null)h=o;else{let b=a.length-1;if(!l&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=ST(s,h),m=c&&c!=="/"&&c.endsWith("/"),g=(f||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function qV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Gl(r).pathname:r.pathname}var Ad=r=>r.join("/").replace(/\/\/+/g,"/"),kT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),YV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,$V=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,GV=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),Ir({},l,{headers:s}))},X0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function KV(r,a){return new X0(r,typeof a=="number"?{status:a}:a)}var Uh=class extends Error{},N_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Nr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Uh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,c)=>{let[h,p]=c;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Uh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Nr(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]:QV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function XV(r){return r instanceof Promise&&r._tracked===!0}function QV(r){if(!XV(r))return r;if(r._error)throw r._error;return r._data}var JV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new N_(a,l)},t2=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,Ir({},l,{headers:s}))},ZV=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},eW=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ld=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 Nd(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var TT=["post","put","patch","delete"],tW=new Set(TT),rW=["get",...TT],aW=new Set(rW),nW=new Set([301,302,303,307,308]),oW=new Set([307,308]),L_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ET={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},r2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),DT="remix-router-transitions";function iW(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;Nr(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=RT;let f={},c=ef(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||MT,g=r.unstable_patchRoutesOnMiss,b=Ir({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,O=nu(c,r.history.location,p),j=null;if(O==null&&!g){let I=xa(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=O_(c);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,c,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,c,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,N={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:L_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},te=Ia.Pop,_e=!1,re,be=!1,ye=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,Ce=new Set,Se=new Map,Ye=new Map,$e=new Set,Pe=new Map,et=new Map,ct=new Map,lt=!1;function Tt(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(lt){lt=!1;return}Ss(et.size===0||se!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=P({currentLocation:N.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){lt=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(Ve,Dd),Te({blockers:Fe})}});return}return Ut(V,ae)}),o){bW(a,ye);let I=()=>yW(a,ye);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ut(Ia.Pop,N.location,{initialHydration:!0}),Q}function wt(){S&&S(),ge&&ge(),w.clear(),re&&re.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function Ze(I){return w.add(I),()=>w.delete(I)}function Te(I,V){V===void 0&&(V={}),N=Ir({},N,I);let ae=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&($e.has(Fe)?se.push(Fe):ae.push(Fe))}),[...w].forEach(Ve=>Ve(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>N.fetchers.delete(Ve)),se.forEach(Ve=>Be(Ve)))}function pt(I,V,ae){var se,Ve;let{flushSync:Fe}=ae===void 0?{}:ae,D=N.actionData!=null&&N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?fT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,ke=N.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Dd)));let He=_e===!0||N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(c=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let ft;if(te===Ia.Pop){let Je=ye.get(N.location.pathname);Je&&Je.has(I.pathname)?ft={currentLocation:N.location,nextLocation:I}:ye.has(I.pathname)&&(ft={currentLocation:I,nextLocation:N.location})}else if(be){let Je=ye.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),ye.set(N.location.pathname,Je)),ft={currentLocation:N.location,nextLocation:I}}Te(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:L_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ft,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,be=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=Q0(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Fe}=nT(b.v7_normalizeFormMethod,!1,ae,V),D=N.location,q=ou(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,ke=Ia.Push;pe===!0?ke=Ia.Replace:pe===!1||Ve!=null&&Cl(Ve.formMethod)&&Ve.formAction===N.location.pathname+N.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:ke});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Dd),Te({blockers:Ke})}});return}return yield Ut(ke,q,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function jt(){if(Cr(),Te({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ut(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ut(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ut(I,V,ae){return na(this,null,function*(){re&&re.abort(),re=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(ae&&ae.preventScrollReset)===!0,be=(ae&&ae.enableViewTransition)===!0;let se=h||c,Ve=ae&&ae.overrideNavigation,Fe=nu(se,V,p),D=(ae&&ae.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Wt}=R(V.pathname);pt(V,{matches:kt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&pW(N.location,V)&&!(ae&&ae.submission&&Cl(ae.submission.formMethod))){pt(V,{matches:Fe},{flushSync:D});return}re=new AbortController;let pe=Rd(r.history,V,re.signal,ae&&ae.submission),ke;if(ae&&ae.pendingError)ke=[Jc(Fe).route.id,{type:Vr.error,error:ae.pendingError}];else if(ae&&ae.submission&&Cl(ae.submission.formMethod)){let Ct=yield er(pe,V,ae.submission,Fe,q.active,{replace:ae.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Wt]=Ct.pendingActionResult;if(On(Wt)&&Nd(Wt.error)&&Wt.error.status===404){re=null,pt(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Wt.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=G0(V,ae.submission),D=!1,q.active=!1,pe=Rd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Je,errors:Ke}=yield ur(pe,V,Fe,q.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,D,ke);He||(re=null,pt(V,Ir({matches:ft||Fe},dT(ke),{loaderData:Je,errors:Ke})))})}function er(I,V,ae,se,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),Cr();let D=_W(V,ae);if(Te({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield We(se,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(ke.matches)se=ke.matches;else{let{notFoundMatches:He,error:ft,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ft}]}}}let q,pe=Zc(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:xa(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield _r("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(rc(q)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=sT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield fr(I,q,{submission:ae,replace:ke}),{shortCircuited:!0}}if(tc(q))throw xa(400,{type:"defer-action"});if(On(q)){let ke=Jc(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[ke.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function ur(I,V,ae,se,Ve,Fe,D,q,pe,ke,He){return na(this,null,function*(){let ft=Ve||G0(V,Fe),Je=Fe||D||mT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Tr(He);Te(Ir({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Qt=yield We(ae,V.pathname,I.signal);if(Qt.type==="aborted")return{shortCircuited:!0};if(Qt.type==="error"){let{boundaryId:aa,error:Za}=z(V.pathname,Qt);return{matches:Qt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Qt.matches)ae=Qt.matches;else{let{error:aa,notFoundMatches:Za,route:Gr}=R(V.pathname);return{matches:Za,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||c,[kt,Wt]=oT(r.history,N,ae,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,$e,Se,Ce,Ct,p,He);if(G(Qt=>!(ae&&ae.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),ee=++ne,kt.length===0&&Wt.length===0){let Qt=Vt();return pt(V,Ir({matches:ae,loaderData:{},errors:He&&On(He[1])?{[He[0]]:He[1].error}:null},dT(He),Qt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Qt={};if(!se){Qt.navigation=ft;let aa=Tr(He);aa!==void 0&&(Qt.actionData=aa)}Wt.length>0&&(Qt.fetchers=ra(Wt)),Te(Qt,{flushSync:ke})}Wt.forEach(Qt=>{W.has(Qt.key)&&bt(Qt.key),Qt.controller&&W.set(Qt.key,Qt.controller)});let $r=()=>Wt.forEach(Qt=>bt(Qt.key));re&&re.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:la}=yield ha(N.matches,ae,kt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",$r),Wt.forEach(Qt=>W.delete(Qt.key));let sa=pT([...Ha,...la]);if(sa){if(sa.idx>=kt.length){let Qt=Wt[sa.idx-kt.length].key;Ce.add(Qt)}return yield fr(I,sa.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Ga,errors:Nt}=cT(N,ae,kt,Ha,He,Wt,la,Pe);Pe.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&Pe.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;Nt=Object.assign(Nt||{},{[aa]:Za})});let Wn=Vt(),is=Er(ee),ls=Wn||is||Wt.length>0;return Ir({matches:ae,loaderData:Ga,errors:Nt},ls?{fetchers:new Map(N.fetchers)}:{})})}function Tr(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let ae=N.fetchers.get(V.key),se=Hh(void 0,ae?ae.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,ae,se){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&bt(I);let Ve=(se&&se.unstable_flushSync)===!0,Fe=h||c,D=Q0(N.location,N.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=nu(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,xa(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ft}=nT(b.v7_normalizeFormMethod,!0,D,se);if(ft){Mr(I,V,ft,{flushSync:Ve});return}let Je=Zc(q,ke);if(_e=(se&&se.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,q,pe.active,Ve,He);return}Se.set(I,{routeId:V,path:ke}),wr(I,V,ke,Je,q,pe.active,Ve,He)}function qr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){Cr(),Se.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let qn=xa(405,{method:q.formMethod,pathname:ae,routeId:V});return Mr(I,V,qn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let ke=N.fetchers.get(I);mr(I,gW(q,ke),{flushSync:D});let He=new AbortController,ft=Rd(r.history,ae,He.signal,q);if(Fe){let Gr=yield We(Ve,ae,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:qn}=z(ae,Gr);Mr(I,V,qn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,se=Zc(Ve,ae),pe(se))return}else{Mr(I,V,xa(404,{pathname:ae}),{flushSync:D});return}}W.set(I,He);let Je=ne,Ct=(yield _r("action",ft,[se],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&$e.has(I)){if(rc(Ct)||On(Ct)){mr(I,Zu(void 0));return}}else{if(rc(Ct))if(W.delete(I),ee>Je){mr(I,Zu(void 0));return}else return Ce.add(I),mr(I,Hh(q)),fr(ft,Ct,{fetcherSubmission:q});if(On(Ct)){Mr(I,V,Ct.error);return}}if(tc(Ct))throw xa(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Wt=Rd(r.history,kt,He.signal),$r=h||c,Ha=N.navigation.state!=="idle"?nu($r,N.navigation.location,p):N.matches;Nr(Ha,"Didn't find any matches after fetcher action");let la=++ne;de.set(I,la);let sa=Hh(q,Ct.data);N.fetchers.set(I,sa);let[Ga,Nt]=oT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,$e,Se,Ce,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let qn=Gr.key,yc=N.fetchers.get(qn),ap=Hh(void 0,yc?yc.data:void 0);N.fetchers.set(qn,ap),W.has(qn)&&bt(qn),Gr.controller&&W.set(qn,Gr.controller)}),Te({fetchers:new Map(N.fetchers)});let Wn=()=>Nt.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",Wn);let{loaderResults:is,fetcherResults:ls}=yield ha(N.matches,Ha,Ga,Nt,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",Wn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Qt=pT([...is,...ls]);if(Qt){if(Qt.idx>=Ga.length){let Gr=Nt[Qt.idx-Ga.length].key;Ce.add(Gr)}return fr(Wt,Qt.result)}let{loaderData:aa,errors:Za}=cT(N,N.matches,Ga,is,void 0,Nt,ls,Pe);if(N.fetchers.has(I)){let Gr=Zu(Ct.data);N.fetchers.set(I,Gr)}Er(la),N.navigation.state==="loading"&&la>ee?(Nr(te,"Expected pending action"),re&&re.abort(),pt(N.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(N.fetchers)})):(Te({errors:Za,loaderData:fT(N.loaderData,aa,Ha,Za),fetchers:new Map(N.fetchers)}),le=!1)})}function wr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);mr(I,Hh(q,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Rd(r.history,ae,ke.signal);if(Fe){let Ct=yield We(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(ae,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,se=Zc(Ve,ae);else{Mr(I,V,xa(404,{pathname:ae}),{flushSync:D});return}}W.set(I,ke);let ft=ne,Ke=(yield _r("loader",He,[se],Ve))[0];if(tc(Ke)&&(Ke=(yield UT(Ke,He.signal,!0))||Ke),W.get(I)===ke&&W.delete(I),!He.signal.aborted){if($e.has(I)){mr(I,Zu(void 0));return}if(rc(Ke))if(ee>ft){mr(I,Zu(void 0));return}else{Ce.add(I),yield fr(He,Ke);return}if(On(Ke)){Mr(I,V,Ke.error);return}Nr(!tc(Ke),"Unhandled fetcher deferred data"),mr(I,Zu(Ke.data))}})}function fr(I,V,ae){return na(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Fe}=ae===void 0?{}:ae;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Nr(D,"Expected a Location header on the redirect Response"),D=sT(D,new URL(I.url),p);let q=ou(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(r2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Vh(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}re=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ft}=N.navigation;!se&&!Ve&&ke&&He&&ft&&(se=mT(N.navigation));let Je=se||Ve;if(oW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield Ut(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=G0(q,se);yield Ut(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function _r(I,V,ae,se){return na(this,null,function*(){try{let Ve=yield PT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(jT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:zT(q,V,ae[D].route.id,se,p,b.v7_relativeSplatPath)}}return IT(Fe)}))}catch(Ve){return ae.map(()=>({type:Vr.error,error:Ve}))}})}function ha(I,V,ae,se,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([ae.length?_r("loader",Ve,ae,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Rd(r.history,q.path,q.controller.signal);return _r("loader",pe,[q.match],q.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:xa(404,{pathname:q.path})})})]);return yield Promise.all([hT(I,ae,Fe,Fe.map(()=>Ve.signal),!1,N.loaderData),hT(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function Cr(){le=!0,fe.push(...G()),Se.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function mr(I,V,ae){ae===void 0&&(ae={}),N.fetchers.set(I,V),Te({fetchers:new Map(N.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(I,V,ae,se){se===void 0&&(se={});let Ve=Jc(N.matches,V);Be(I),Te({errors:{[Ve.route.id]:ae},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function ga(I){return b.v7_fetcherPersist&&(Ye.set(I,(Ye.get(I)||0)+1),$e.has(I)&&$e.delete(I)),N.fetchers.get(I)||ET}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&bt(I),Se.delete(I),de.delete(I),Ce.delete(I),$e.delete(I),B.delete(I),N.fetchers.delete(I)}function st(I){if(b.v7_fetcherPersist){let V=(Ye.get(I)||0)-1;V<=0?(Ye.delete(I),$e.add(I)):Ye.set(I,V)}else Be(I);Te({fetchers:new Map(N.fetchers)})}function bt(I){let V=W.get(I);Nr(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function $t(I){for(let V of I){let ae=ga(V),se=Zu(ae.data);N.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of Ce){let se=N.fetchers.get(ae);Nr(se,"Expected fetcher: "+ae),se.state==="loading"&&(Ce.delete(ae),I.push(ae),V=!0)}return $t(I),V}function Er(I){let V=[];for(let[ae,se]of de)if(se<I){let Ve=N.fetchers.get(ae);Nr(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),de.delete(ae),V.push(ae))}return $t(V),V.length>0}function vr(I,V){let ae=N.blockers.get(I)||Dd;return et.get(I)!==V&&et.set(I,V),ae}function Yr(I){N.blockers.delete(I),et.delete(I)}function $(I,V){let ae=N.blockers.get(I)||Dd;Nr(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),Te({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(et.size===0)return;et.size>1&&Ss(!1,"A router only supports one blocker at a time");let Ve=Array.from(et.entries()),[Fe,D]=Ve[Ve.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:ae,historyAction:se}))return Fe}function R(I){let V=xa(404,{pathname:I}),ae=h||c,{matches:se,route:Ve}=O_(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Jc(V.partialMatches).route.id,error:xa(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Pe.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Pe.delete(se))}),V}function ie(I,V,ae){if(k=I,M=V,L=ae||null,!Y&&N.navigation===L_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&Te({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>_T(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let ae=oe(I,V);k[ae]=M()}}function Ie(I,V){if(k){let ae=oe(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:A_(V,ae,p,!0)}}else return{active:!0,matches:A_(V,ae,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,ae){return na(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||c;try{yield fW(g,V,se,D,f,s,ct,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Fe&&(c=[...c])}if(ae.aborted)return{type:"aborted"};let q=nu(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let ke=A_(D,V,p,!0);if(!ke||se.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=ke,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Ae(I){f={},h=ef(I,s,void 0,f)}function Qe(I,V){let ae=h==null;OT(I,V,h||c,f,s),ae&&(c=[...c],Te({}))}return Q={get basename(){return p},get future(){return b},get state(){return N},get routes(){return c},get window(){return a},initialize:Tt,subscribe:Ze,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:jt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ga,deleteFetcher:st,dispose:wt,getBlocker:vr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:Pe,_internalSetRoutes:Ae},Q}var AT=Symbol("deferred");function lW(r,a){Nr(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=RT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=ef(r,s,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),Q=nu(c,F,l);if(!e2(j)&&j!=="HEAD"){let te=xa(405,{method:j}),{matches:_e,route:re}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=xa(404,{pathname:F.pathname}),{matches:_e,route:re}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(w,F,Q,L,Y||null,M===!0,null);return ec(N)?N:Ir({location:F,basename:l},N)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),Q=nu(c,F,l);if(!e2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw xa(405,{method:j});if(!Q)throw xa(404,{pathname:F.pathname});let N=L?Q.find(be=>be.route.id===L):Zc(Q,F);if(L&&!N)throw xa(403,{pathname:F.pathname,routeId:L});if(!N)throw xa(404,{pathname:F.pathname});let te=yield m(w,F,Q,M,Y||null,!1,N);if(ec(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var re;let be=Object.values(te.loaderData)[0];return(re=te.activeDeferreds)!=null&&re[N.route.id]&&(be[AT]=te.activeDeferreds[N.route.id]),be}})}function m(w,k,L,M,Y,O,j){return na(this,null,function*(){Nr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(w.method.toLowerCase()))return yield g(w,L,j||Zc(L,k),M,Y,O,j!=null);let F=yield b(w,L,M,Y,O,j);return ec(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(mW(F)&&ec(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(vW(F))return F;throw F}})}function g(w,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=xa(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",w,[L],k,j,M,Y))[0],w.signal.aborted&&aT(w,j,f);if(rc(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tc(F)){let te=xa(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}if(j){if(On(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Q=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(On(F)){let te=O?L:Jc(k,L.route.id),_e=yield b(Q,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Nd(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(Q,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw xa(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&On(j[1])?LT(k,j[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((ye,ge)=>Object.assign(ye,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",w,N,k,F,L,M);w.signal.aborted&&aT(w,F,f);let _e=new Map,re=BT(k,N,te,j,_e,Y),be=new Set(N.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(re.loaderData[ye.route.id]=null)}),Ir({},re,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield PT(j||MT,w,k,L,M,o,s,O);return yield Promise.all(F.map((Q,N)=>{if(jT(Q)){let te=Q.result;throw zT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(ec(Q.result)&&Y)throw Q;return IT(Q)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function sW(r,a,o){return Ir({},a,{statusCode:Nd(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function aT(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 uW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function Q0(r,a,o,l,s,f,c,h){let p,m;if(c){p=[];for(let b of a)if(p.push(b),b.route.id===c){m=b;break}}else p=a,m=a[a.length-1];let g=xT(s||".",CT(p,f),Vh(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!a2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ad([o,g.pathname])),ws(g)}function nT(r,a,o,l){if(!l||!uW(l))return{path:o};if(l.formMethod&&!e2(l.formMethod))return{path:o,error:xa(405,{method:l.formMethod})};let s=()=>({path:o,error:xa(400,{type:"invalid-body"})}),f=l.formMethod||"get",c=r?f.toUpperCase():f.toLowerCase(),h=FT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(c))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[L,M]=k;return""+w+L+"="+M+`
|
|
146
|
-
`},""):String(l.body);return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Cl(c))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Nr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=J0(l.formData),m=l.formData;else if(l.body instanceof FormData)p=J0(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=uT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=uT(p)}catch(S){return s()}let g={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cl(g.formMethod))return{path:o,submission:g};let b=Gl(o);return a&&b.search&&a2(b.search)&&p.append("index",""),b.search="?"+p,{path:ws(b),submission:g}}function LT(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 oT(r,a,o,l,s,f,c,h,p,m,g,b,S,w,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&On(L[1])?L[0]:void 0,F=j?LT(o,j):o,Q=L?L[1].statusCode:void 0,N=c&&Q&&Q>=400,te=F.filter((re,be)=>{let{route:ye}=re;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(f)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(cW(a.loaderData,a.matches[be],re)||p.some(le=>le===re.route.id))return!0;let ge=a.matches[be],H=re;return iT(re,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||NT(ge,H)}))}),_e=[];return b.forEach((re,be)=>{if(f||!o.some(fe=>fe.route.id===re.routeId)||g.has(be))return;let ye=nu(w,re.path,k);if(!ye){_e.push({key:be,routeId:re.routeId,path:re.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(be),H=Zc(ye,re.path),le=!1;S.has(be)?le=!1:m.has(be)?(m.delete(be),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=iT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:be,routeId:re.routeId,path:re.path,matches:ye,match:H,controller:new AbortController})}),[te,_e]}function cW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function NT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function iT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function fW(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=c.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||OT(g,b,l,s,f)}}),c.set(p,m)),m&&hW(m)&&(yield m)}finally{c.delete(p)}})}function OT(r,a,o,l,s){if(r){var f;let c=l[r];Nr(c,"No route found to patch children into: routeId = "+r);let h=ef(a,s,[r,"patch",String(((f=c.children)==null?void 0:f.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=ef(a,s,["patch",String(o.length||"0")],l);o.push(...c)}}function lT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Nr(s,"No route found in manifest");let f={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";Ss(!p,'Route "'+s.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+c+'" will be ignored.')),!p&&!AV.has(c)&&(f[c]=l[c])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function MT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function PT(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?dW(a,o,b,f,c,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Nr(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(s[S].route.id))})}function dW(r,a,o,l,s,f,c){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let w=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:c},...L!==void 0?[L]:[]),k;return f?k=f(L=>w(L)):k=na(this,null,function*(){try{return{type:"data",result:yield w()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(w=>{b=w}),lT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield lT(o.route,s,l),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw xa(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw xa(404,{pathname:S})}Nr(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(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function IT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(ec(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Ld(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(Z0(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Ld(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Nd(a)?a.status:void 0}}if(HT(a)){var f,c;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(Z0(a)){var h,p;return{type:Vr.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:Vr.data,data:a}})}function zT(r,a,o,l,s,f){let c=r.headers.get("Location");if(Nr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!r2.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);c=Q0(new URL(a.url),h,s,!0,c,f),r.headers.set("Location",c)}return r}function sT(r,a,o){if(r2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Vh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Rd(r,a,o,l){let s=r.createURL(FT(a)).toString(),f={signal:o};if(l&&Cl(l.formMethod)){let{formMethod:c,formEncType:h}=l;f.method=c.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=J0(l.formData):f.body=l.formData}return new Request(s,f)}function J0(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function uT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function BT(r,a,o,l,s,f){let c={},h=null,p,m=!1,g={},b=l&&On(l[1])?l[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Nr(!rc(S),"Cannot handle redirect results in processLoaderData"),On(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Jc(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}c[k]=void 0,m||(m=!0,p=Nd(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tc(S)?(s.set(k,S.deferredData),c[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(c[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:g}}function cT(r,a,o,l,s,f,c,h){let{loaderData:p,errors:m}=BT(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:w}=f[g];Nr(c!==void 0&&c[g]!==void 0,"Did not find corresponding fetcher result");let k=c[g];if(!(w&&w.signal.aborted))if(On(k)){let L=Jc(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=Ir({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(rc(k))Nr(!1,"Unhandled fetcher revalidation redirect");else if(tc(k))Nr(!1,"Unhandled fetcher deferred data");else{let L=Zu(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function fT(r,a,o,l){let s=Ir({},a);for(let f of o){let c=f.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&f.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function dT(r){return r?On(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Jc(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 O_(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 xa(r,a){let{pathname:o,routeId:l,method:s,type:f,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
|
|
147
|
-
`+
|
|
144
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(_=t.transitionCallbacks));var y=wk(e,wv,null,n,i,c,d);mv(y.current,e);var w=e.nodeType===Ga?e.parentNode:e;return qp(w),new q0(y)}function E_(e){this._internalRoot=e}function nV(e){e&&hz(e)}E_.prototype.unstable_scheduleHydration=nV;function oV(e,t,n){if(!R_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Wk(e),t===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,c=n!=null&&n.hydratedSources||null,d=!1,_=!1,y="",w=Vk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(w=n.onRecoverableError));var E=Ck(t,null,e,wv,i,d,_,y,w);if(mv(E.current,e),qp(e),c)for(var A=0;A<c.length;A++){var Z=c[A];nj(E,Z)}return new E_(E)}function R_(e){return!!(e&&(e.nodeType===_o||e.nodeType===Fs||e.nodeType===Qg||!we))}function jh(e){return!!(e&&(e.nodeType===_o||e.nodeType===Fs||e.nodeType===Qg||e.nodeType===Ga&&e.nodeValue===" react-mount-point-unstable "))}function Wk(e){e.nodeType===_o&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),rh(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 iV=o.ReactCurrentOwner,qk;qk=function(e){if(e._reactRootContainer&&e.nodeType!==Ga){var t=kk(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=Y0(e),c=!!(i&&Bc(i));c&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===_o&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Y0(e){return e?e.nodeType===Fs?e.documentElement:e.firstChild:null}function Yk(){}function lV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var J=T_(_);d.call(J)}}var _=Ck(t,i,e,jc,null,!1,!1,"",Yk);e._reactRootContainer=_,mv(_.current,e);var y=e.nodeType===Ga?e.parentNode:e;return qp(y),rc(),_}else{for(var w;w=e.lastChild;)e.removeChild(w);if(typeof i=="function"){var E=i;i=function(){var J=T_(A);E.call(J)}}var A=wk(e,jc,null,!1,!1,"",Yk);e._reactRootContainer=A,mv(A.current,e);var Z=e.nodeType===Ga?e.parentNode:e;return qp(Z),rc(function(){Fh(t,A,n,i)}),A}}function sV(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 D_(e,t,n,i,c){qk(n),sV(c===void 0?null:c,"render");var d=n._reactRootContainer,_;if(!d)_=lV(n,t,e,c,i);else{if(_=d,typeof c=="function"){var y=c;c=function(){var w=T_(_);y.call(w)}}Fh(t,_,e,c)}return T_(_)}var $k=!1;function cV(e){{$k||($k=!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=iV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===_o?e:$U(e,"findDOMNode")}function uV(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"),!jh(t))throw new Error("Target container is not a DOM element.");{var i=rh(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 D_(null,e,t,!0,n)}function fV(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"),!jh(t))throw new Error("Target container is not a DOM element.");{var i=rh(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 D_(null,e,t,!1,n)}function dV(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"),!jh(n))throw new Error("Target container is not a DOM element.");if(e==null||!eI(e))throw new Error("parentComponent must be a valid React Component");return D_(e,t,n,!1,i)}var Gk=!1;function pV(e){if(Gk||(Gk=!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")),!jh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=rh(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=Y0(e),i=n&&!Bc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return rc(function(){D_(null,null,e,!1,function(){e._reactRootContainer=null,UC(e)})}),!0}else{{var c=Y0(e),d=!!(c&&Bc(c)),_=e.nodeType===_o&&jh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",_?"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}}nz(GU),iz(KU),lz(XU),sz(zl),cz(tz),(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"),VP(u9),YP(C0,oU,rc);function hV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R_(t))throw new Error("Target container is not a DOM element.");return YU(e,t,null,n)}function mV(e,t,n,i){return dV(e,t,n,i)}var $0={usingClientEntryPoint:!1,Events:[Bc,ad,vv,o3,i3,C0]};function vV(e,t){return $0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),aV(e,t)}function _V(e,t,n){return $0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),oV(e,t,n)}function gV(e){return tk()&&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."),rc(e)}var bV=rV({findFiberByHostInstance:zu,bundleType:1,version:j0,rendererPackageName:"react-dom"});if(!bV&&ht&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Kk=window.location.protocol;/^(https?|file):$/.test(Kk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Kk==="file:"?`
|
|
145
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$0,Uo.createPortal=hV,Uo.createRoot=vV,Uo.findDOMNode=cV,Uo.flushSync=gV,Uo.hydrate=uV,Uo.hydrateRoot=_V,Uo.render=fV,Uo.unmountComponentAtNode=pV,Uo.unstable_batchedUpdates=C0,Uo.unstable_renderSubtreeIntoContainer=mV,Uo.version=j0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var G0=Ue((Z$,rT)=>{"use strict";rT.exports=tT()});var aT=Ue(X0=>{"use strict";var K0=G0();Uh=K0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,X0.createRoot=function(r,a){Uh.usingClientEntryPoint=!0;try{return K0.createRoot(r,a)}finally{Uh.usingClientEntryPoint=!1}},X0.hydrateRoot=function(r,a,o){Uh.usingClientEntryPoint=!0;try{return K0.hydrateRoot(r,a,o)}finally{Uh.usingClientEntryPoint=!1}};var Uh});var s2=Ue(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Ir(){return Ir=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},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),nT="popstate";function DV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((C,k)=>g(C,typeof C=="string"?null:C.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),u=Ia.Pop,h=null;function p(C){return Math.min(Math.max(C,0),s.length-1)}function m(){return s[f]}function g(C,k,L){k===void 0&&(k=null);let M=ic(s?m().pathname:"/",C,k,L);return ws(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(C)),M}function b(C){return typeof C=="string"?C:Cs(C)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(C){return new URL(b(C),"http://localhost")},encodeLocation(C){let k=typeof C=="string"?Kl(C):C;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(C,k){u=Ia.Push;let L=g(C,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:u,location:L,delta:1})},replace(C,k){u=Ia.Replace;let L=g(C,k);s[f]=L,l&&h&&h({action:u,location:L,delta:0})},go(C){u=Ia.Pop;let k=p(f+C),L=s[k];f=k,h&&h({action:u,location:L,delta:C})},listen(C){return h=C,()=>{h=null}}}}function AV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:u,hash:h}=l.location;return ic("",{pathname:f,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Cs(s)}return yT(a,o,null,r)}function LV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=Kl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),ic("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:Cs(f))}function l(s,f){ws(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return yT(a,o,l,r)}function Or(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function ws(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function NV(){return Math.random().toString(36).substr(2,8)}function oT(r,a){return{usr:r.state,key:r.key,idx:a}}function ic(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Kl(a):a,{state:o,key:a&&a.key||l||NV()})}function Cs(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 Kl(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 yT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,u=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,u.replaceState(Ir({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=ic(L.location,M,Y);o&&o(O,M),m=g()+1;let j=oT(O,m),F=L.createHref(O);try{u.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function C(M,Y){h=Ia.Replace;let O=ic(L.location,M,Y);o&&o(O,M),m=g();let j=oT(O,m),F=L.createHref(O);u.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:Cs(M);return O=O.replace(/ $/,"%20"),Or(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={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(nT,b),p=M,()=>{s.removeEventListener(nT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:C,go(M){return u.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),OV=new Set(["lazy","caseSensitive","path","id","index","children"]);function MV(r){return r.index===!0}function tf(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let u=[...o,String(f)],h=typeof s.id=="string"?s.id:u.join("-");if(Or(s.index!==!0||!s.children,"Cannot specify children on an index route"),Or(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),MV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=tf(s.children,a,u,l)),p}})}function oc(r,a,o){return o===void 0&&(o="/"),O_(r,a,o,!1)}function O_(r,a,o,l){let s=typeof a=="string"?Kl(a):a,f=qh(s.pathname||"/",o);if(f==null)return null;let u=wT(r);PV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=xT(f);h=WV(u[p],m,l)}return h}function ST(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 wT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,u,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:u,route:f};p.relativePath.startsWith("/")&&(Or(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Ld([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Or(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),wT(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:UV(m,f.index),routesMeta:g})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of CT(f.path))s(f,u,p)}),a}function CT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let u=CT(l.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function PV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:VV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var IV=/^:[\w-]+$/,zV=3,BV=2,FV=1,jV=10,HV=-2,iT=r=>r==="*";function UV(r,a){let o=r.split("/"),l=o.length;return o.some(iT)&&(l+=HV),a&&(l+=BV),o.filter(s=>!iT(s)).reduce((s,f)=>s+(IV.test(f)?zV:f===""?FV:jV),l)}function VV(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 WV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=Z0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=Z0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Ld([f,b.pathname]),pathnameBase:DT(Ld([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ld([f,b.pathnameBase]))}return u}function qV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(ws(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let g=u.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,C=a[b];return Or(S==="?"||C!=null,'Missing ":'+b+'" param'),s(C)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function Z0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=YV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:S,isOptional:C}=g;if(S==="*"){let L=h[b]||"";u=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return C&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function YV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),ws(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 xT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ws(!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 qh(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 kT(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Kl(r):r;return{pathname:o?o.startsWith("/")?o:$V(o,a):a,search:KV(l),hash:XV(s)}}function $V(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 Q0(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 TT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function ET(r,a){let o=TT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function RT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Kl(r):(s=Ir({},r),Or(!s.pathname||!s.pathname.includes("?"),Q0("?","pathname","search",s)),Or(!s.pathname||!s.pathname.includes("#"),Q0("#","pathname","hash",s)),Or(!s.search||!s.search.includes("#"),Q0("#","search","hash",s)));let f=r===""||s.pathname==="",u=f?"/":s.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!l&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=kT(s,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function GV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Kl(r).pathname:r.pathname}var Ld=r=>r.join("/").replace(/\/\/+/g,"/"),DT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),KV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,XV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,QV=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),Ir({},l,{headers:s}))},e2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function JV(r,a){return new e2(r,typeof a=="number"?{status:a}:a)}var Wh=class extends Error{},P_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Or(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,u)=>l=u),this.controller=new AbortController;let s=()=>l(new Wh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,u)=>{let[h,p]=u;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Wh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Or(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]:eW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function ZV(r){return r instanceof Promise&&r._tracked===!0}function eW(r){if(!ZV(r))return r;if(r._error)throw r._error;return r._data}var tW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new P_(a,l)},o2=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,Ir({},l,{headers:s}))},rW=(r,a)=>{let o=o2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},aW=(r,a)=>{let o=o2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Nd=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Od(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var AT=["post","put","patch","delete"],nW=new Set(AT),oW=["get",...AT],iW=new Set(oW),lW=new Set([301,302,303,307,308]),sW=new Set([307,308]),M_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},LT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ad={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},i2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,NT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),OT="remix-router-transitions";function cW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!o;Or(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=NT;let f={},u=tf(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||BT,g=r.unstable_patchRoutesOnMiss,b=Ir({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,C=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,O=oc(u,r.history.location,p),j=null;if(O==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=I_(u);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,u,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,N={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:M_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},te=Ia.Pop,_e=!1,re,be=!1,ye=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,xe=new Set,we=new Map,Ye=new Map,$e=new Set,Pe=new Map,et=new Map,ut=new Map,it=!1;function Tt(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(it){it=!1;return}ws(et.size===0||se!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=P({currentLocation:N.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){it=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(Ve,Ad),Te({blockers:Fe})}});return}return Ut(V,ae)}),o){wW(a,ye);let I=()=>CW(a,ye);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ut(Ia.Pop,N.location,{initialHydration:!0}),Q}function wt(){S&&S(),ge&&ge(),C.clear(),re&&re.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function Ze(I){return C.add(I),()=>C.delete(I)}function Te(I,V){V===void 0&&(V={}),N=Ir({},N,I);let ae=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&($e.has(Fe)?se.push(Fe):ae.push(Fe))}),[...C].forEach(Ve=>Ve(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>N.fetchers.delete(Ve)),se.forEach(Ve=>Be(Ve)))}function ht(I,V,ae){var se,Ve;let{flushSync:Fe}=ae===void 0?{}:ae,D=N.actionData!=null&&N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?mT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,ke=N.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Ad)));let He=_e===!0||N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let ft;if(te===Ia.Pop){let Je=ye.get(N.location.pathname);Je&&Je.has(I.pathname)?ft={currentLocation:N.location,nextLocation:I}:ye.has(I.pathname)&&(ft={currentLocation:I,nextLocation:N.location})}else if(be){let Je=ye.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),ye.set(N.location.pathname,Je)),ft={currentLocation:N.location,nextLocation:I}}Te(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:M_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ft,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,be=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=t2(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Fe}=sT(b.v7_normalizeFormMethod,!1,ae,V),D=N.location,q=ic(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,ke=Ia.Push;pe===!0?ke=Ia.Replace:pe===!1||Ve!=null&&Cl(Ve.formMethod)&&Ve.formAction===N.location.pathname+N.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:ke});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Ad),Te({blockers:Ke})}});return}return yield Ut(ke,q,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function jt(){if(xr(),Te({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ut(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ut(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ut(I,V,ae){return na(this,null,function*(){re&&re.abort(),re=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(ae&&ae.preventScrollReset)===!0,be=(ae&&ae.enableViewTransition)===!0;let se=h||u,Ve=ae&&ae.overrideNavigation,Fe=oc(se,V,p),D=(ae&&ae.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Wt}=R(V.pathname);ht(V,{matches:kt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&vW(N.location,V)&&!(ae&&ae.submission&&Cl(ae.submission.formMethod))){ht(V,{matches:Fe},{flushSync:D});return}re=new AbortController;let pe=Dd(r.history,V,re.signal,ae&&ae.submission),ke;if(ae&&ae.pendingError)ke=[Zu(Fe).route.id,{type:Vr.error,error:ae.pendingError}];else if(ae&&ae.submission&&Cl(ae.submission.formMethod)){let Ct=yield tr(pe,V,ae.submission,Fe,q.active,{replace:ae.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Wt]=Ct.pendingActionResult;if(On(Wt)&&Od(Wt.error)&&Wt.error.status===404){re=null,ht(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Wt.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=J0(V,ae.submission),D=!1,q.active=!1,pe=Dd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Je,errors:Ke}=yield cr(pe,V,Fe,q.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,D,ke);He||(re=null,ht(V,Ir({matches:ft||Fe},vT(ke),{loaderData:Je,errors:Ke})))})}function tr(I,V,ae,se,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),xr();let D=yW(V,ae);if(Te({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield We(se,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(ke.matches)se=ke.matches;else{let{notFoundMatches:He,error:ft,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ft}]}}}let q,pe=ef(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield gr("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(au(q)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=dT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield dr(I,q,{submission:ae,replace:ke}),{shortCircuited:!0}}if(ru(q))throw Ca(400,{type:"defer-action"});if(On(q)){let ke=Zu(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[ke.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function cr(I,V,ae,se,Ve,Fe,D,q,pe,ke,He){return na(this,null,function*(){let ft=Ve||J0(V,Fe),Je=Fe||D||bT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Er(He);Te(Ir({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Qt=yield We(ae,V.pathname,I.signal);if(Qt.type==="aborted")return{shortCircuited:!0};if(Qt.type==="error"){let{boundaryId:aa,error:Za}=z(V.pathname,Qt);return{matches:Qt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Qt.matches)ae=Qt.matches;else{let{error:aa,notFoundMatches:Za,route:Gr}=R(V.pathname);return{matches:Za,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||u,[kt,Wt]=cT(r.history,N,ae,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,Ct,p,He);if(G(Qt=>!(ae&&ae.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),ee=++ne,kt.length===0&&Wt.length===0){let Qt=Vt();return ht(V,Ir({matches:ae,loaderData:{},errors:He&&On(He[1])?{[He[0]]:He[1].error}:null},vT(He),Qt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Qt={};if(!se){Qt.navigation=ft;let aa=Er(He);aa!==void 0&&(Qt.actionData=aa)}Wt.length>0&&(Qt.fetchers=ra(Wt)),Te(Qt,{flushSync:ke})}Wt.forEach(Qt=>{W.has(Qt.key)&&bt(Qt.key),Qt.controller&&W.set(Qt.key,Qt.controller)});let $r=()=>Wt.forEach(Qt=>bt(Qt.key));re&&re.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:ia}=yield pa(N.matches,ae,kt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",$r),Wt.forEach(Qt=>W.delete(Qt.key));let la=_T([...Ha,...ia]);if(la){if(la.idx>=kt.length){let Qt=Wt[la.idx-kt.length].key;xe.add(Qt)}return yield dr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:$a,errors:Nt}=hT(N,ae,kt,Ha,He,Wt,ia,Pe);Pe.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&Pe.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;Nt=Object.assign(Nt||{},{[aa]:Za})});let qn=Vt(),ls=Rr(ee),ss=qn||ls||Wt.length>0;return Ir({matches:ae,loaderData:$a,errors:Nt},ss?{fetchers:new Map(N.fetchers)}:{})})}function Er(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let ae=N.fetchers.get(V.key),se=Vh(void 0,ae?ae.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,ae,se){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&bt(I);let Ve=(se&&se.unstable_flushSync)===!0,Fe=h||u,D=t2(N.location,N.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=oc(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,Ca(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ft}=sT(b.v7_normalizeFormMethod,!0,D,se);if(ft){Mr(I,V,ft,{flushSync:Ve});return}let Je=ef(q,ke);if(_e=(se&&se.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,q,pe.active,Ve,He);return}we.set(I,{routeId:V,path:ke}),Cr(I,V,ke,Je,q,pe.active,Ve,He)}function qr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){xr(),we.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=Ca(405,{method:q.formMethod,pathname:ae,routeId:V});return Mr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let ke=N.fetchers.get(I);mr(I,SW(q,ke),{flushSync:D});let He=new AbortController,ft=Dd(r.history,ae,He.signal,q);if(Fe){let Gr=yield We(Ve,ae,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(ae,Gr);Mr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,se=ef(Ve,ae),pe(se))return}else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,He);let Je=ne,Ct=(yield gr("action",ft,[se],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&$e.has(I)){if(au(Ct)||On(Ct)){mr(I,eu(void 0));return}}else{if(au(Ct))if(W.delete(I),ee>Je){mr(I,eu(void 0));return}else return xe.add(I),mr(I,Vh(q)),dr(ft,Ct,{fetcherSubmission:q});if(On(Ct)){Mr(I,V,Ct.error);return}}if(ru(Ct))throw Ca(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Wt=Dd(r.history,kt,He.signal),$r=h||u,Ha=N.navigation.state!=="idle"?oc($r,N.navigation.location,p):N.matches;Or(Ha,"Didn't find any matches after fetcher action");let ia=++ne;de.set(I,ia);let la=Vh(q,Ct.data);N.fetchers.set(I,la);let[$a,Nt]=cT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,Su=N.fetchers.get(Yn),op=Vh(void 0,Su?Su.data:void 0);N.fetchers.set(Yn,op),W.has(Yn)&&bt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),Te({fetchers:new Map(N.fetchers)});let qn=()=>Nt.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:ls,fetcherResults:ss}=yield pa(N.matches,Ha,$a,Nt,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Qt=_T([...ls,...ss]);if(Qt){if(Qt.idx>=$a.length){let Gr=Nt[Qt.idx-$a.length].key;xe.add(Gr)}return dr(Wt,Qt.result)}let{loaderData:aa,errors:Za}=hT(N,N.matches,$a,ls,void 0,Nt,ss,Pe);if(N.fetchers.has(I)){let Gr=eu(Ct.data);N.fetchers.set(I,Gr)}Rr(ia),N.navigation.state==="loading"&&ia>ee?(Or(te,"Expected pending action"),re&&re.abort(),ht(N.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(N.fetchers)})):(Te({errors:Za,loaderData:mT(N.loaderData,aa,Ha,Za),fetchers:new Map(N.fetchers)}),le=!1)})}function Cr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);mr(I,Vh(q,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Dd(r.history,ae,ke.signal);if(Fe){let Ct=yield We(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(ae,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,se=ef(Ve,ae);else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,ke);let ft=ne,Ke=(yield gr("loader",He,[se],Ve))[0];if(ru(Ke)&&(Ke=(yield YT(Ke,He.signal,!0))||Ke),W.get(I)===ke&&W.delete(I),!He.signal.aborted){if($e.has(I)){mr(I,eu(void 0));return}if(au(Ke))if(ee>ft){mr(I,eu(void 0));return}else{xe.add(I),yield dr(He,Ke);return}if(On(Ke)){Mr(I,V,Ke.error);return}Or(!ru(Ke),"Unhandled fetcher deferred data"),mr(I,eu(Ke.data))}})}function dr(I,V,ae){return na(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Fe}=ae===void 0?{}:ae;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Or(D,"Expected a Location header on the redirect Response"),D=dT(D,new URL(I.url),p);let q=ic(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(i2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||qh(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}re=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ft}=N.navigation;!se&&!Ve&&ke&&He&&ft&&(se=bT(N.navigation));let Je=se||Ve;if(sW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield Ut(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=J0(q,se);yield Ut(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function gr(I,V,ae,se){return na(this,null,function*(){try{let Ve=yield FT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(WT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:HT(q,V,ae[D].route.id,se,p,b.v7_relativeSplatPath)}}return jT(Fe)}))}catch(Ve){return ae.map(()=>({type:Vr.error,error:Ve}))}})}function pa(I,V,ae,se,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([ae.length?gr("loader",Ve,ae,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Dd(r.history,q.path,q.controller.signal);return gr("loader",pe,[q.match],q.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:q.path})})})]);return yield Promise.all([gT(I,ae,Fe,Fe.map(()=>Ve.signal),!1,N.loaderData),gT(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function xr(){le=!0,fe.push(...G()),we.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function mr(I,V,ae){ae===void 0&&(ae={}),N.fetchers.set(I,V),Te({fetchers:new Map(N.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(I,V,ae,se){se===void 0&&(se={});let Ve=Zu(N.matches,V);Be(I),Te({errors:{[Ve.route.id]:ae},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Ye.set(I,(Ye.get(I)||0)+1),$e.has(I)&&$e.delete(I)),N.fetchers.get(I)||LT}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&bt(I),we.delete(I),de.delete(I),xe.delete(I),$e.delete(I),B.delete(I),N.fetchers.delete(I)}function lt(I){if(b.v7_fetcherPersist){let V=(Ye.get(I)||0)-1;V<=0?(Ye.delete(I),$e.add(I)):Ye.set(I,V)}else Be(I);Te({fetchers:new Map(N.fetchers)})}function bt(I){let V=W.get(I);Or(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function $t(I){for(let V of I){let ae=_a(V),se=eu(ae.data);N.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of xe){let se=N.fetchers.get(ae);Or(se,"Expected fetcher: "+ae),se.state==="loading"&&(xe.delete(ae),I.push(ae),V=!0)}return $t(I),V}function Rr(I){let V=[];for(let[ae,se]of de)if(se<I){let Ve=N.fetchers.get(ae);Or(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),de.delete(ae),V.push(ae))}return $t(V),V.length>0}function vr(I,V){let ae=N.blockers.get(I)||Ad;return et.get(I)!==V&&et.set(I,V),ae}function Yr(I){N.blockers.delete(I),et.delete(I)}function $(I,V){let ae=N.blockers.get(I)||Ad;Or(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),Te({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(et.size===0)return;et.size>1&&ws(!1,"A router only supports one blocker at a time");let Ve=Array.from(et.entries()),[Fe,D]=Ve[Ve.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:ae,historyAction:se}))return Fe}function R(I){let V=Ca(404,{pathname:I}),ae=h||u,{matches:se,route:Ve}=I_(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:Ca(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Pe.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Pe.delete(se))}),V}function ie(I,V,ae){if(k=I,M=V,L=ae||null,!Y&&N.navigation===M_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&Te({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>ST(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let ae=oe(I,V);k[ae]=M()}}function Ie(I,V){if(k){let ae=oe(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:O_(V,ae,p,!0)}}else return{active:!0,matches:O_(V,ae,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,ae){return na(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||u;try{yield hW(g,V,se,D,f,s,ut,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Fe&&(u=[...u])}if(ae.aborted)return{type:"aborted"};let q=oc(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let ke=O_(D,V,p,!0);if(!ke||se.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=ke,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Ae(I){f={},h=tf(I,s,void 0,f)}function Qe(I,V){let ae=h==null;zT(I,V,h||u,f,s),ae&&(u=[...u],Te({}))}return Q={get basename(){return p},get future(){return b},get state(){return N},get routes(){return u},get window(){return a},initialize:Tt,subscribe:Ze,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:jt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:lt,dispose:wt,getBlocker:vr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:Pe,_internalSetRoutes:Ae},Q}var MT=Symbol("deferred");function uW(r,a){Or(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 C=a.detectErrorBoundary;s=k=>({hasErrorBoundary:C(k)})}else s=NT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,s,void 0,o);function h(C,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(C.url),j=C.method,F=ic("",Cs(O),null,"default"),Q=oc(u,F,l);if(!n2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:_e,route:re}=I_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ca(404,{pathname:F.pathname}),{matches:_e,route:re}=I_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(C,F,Q,L,Y||null,M===!0,null);return tu(N)?N:Ir({location:F,basename:l},N)})}function p(C,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(C.url),j=C.method,F=ic("",Cs(O),null,"default"),Q=oc(u,F,l);if(!n2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!Q)throw Ca(404,{pathname:F.pathname});let N=L?Q.find(be=>be.route.id===L):ef(Q,F);if(L&&!N)throw Ca(403,{pathname:F.pathname,routeId:L});if(!N)throw Ca(404,{pathname:F.pathname});let te=yield m(C,F,Q,M,Y||null,!1,N);if(tu(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var re;let be=Object.values(te.loaderData)[0];return(re=te.activeDeferreds)!=null&&re[N.route.id]&&(be[MT]=te.activeDeferreds[N.route.id]),be}})}function m(C,k,L,M,Y,O,j){return na(this,null,function*(){Or(C.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(C.method.toLowerCase()))return yield g(C,L,j||ef(L,k),M,Y,O,j!=null);let F=yield b(C,L,M,Y,O,j);return tu(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(gW(F)&&tu(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(bW(F))return F;throw F}})}function g(C,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(405,{method:C.method,pathname:new URL(C.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",C,[L],k,j,M,Y))[0],C.signal.aborted&&lT(C,j,f);if(au(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(ru(F)){let te=Ca(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}if(j){if(On(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Q=new Request(C.url,{headers:C.headers,redirect:C.redirect,signal:C.signal});if(On(F)){let te=O?L:Zu(k,L.route.id),_e=yield b(Q,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Od(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(Q,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(C,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw Ca(400,{method:C.method,pathname:new URL(C.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&On(j[1])?PT(k,j[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((ye,ge)=>Object.assign(ye,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",C,N,k,F,L,M);C.signal.aborted&&lT(C,F,f);let _e=new Map,re=UT(k,N,te,j,_e,Y),be=new Set(N.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(re.loaderData[ye.route.id]=null)}),Ir({},re,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(C,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield FT(j||BT,C,k,L,M,o,s,O);return yield Promise.all(F.map((Q,N)=>{if(WT(Q)){let te=Q.result;throw HT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(tu(Q.result)&&Y)throw Q;return jT(Q)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function fW(r,a,o){return Ir({},a,{statusCode:Od(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function lT(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 dW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function t2(r,a,o,l,s,f,u,h){let p,m;if(u){p=[];for(let b of a)if(p.push(b),b.route.id===u){m=b;break}}else p=a,m=a[a.length-1];let g=RT(s||".",ET(p,f),qh(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!l2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ld([o,g.pathname])),Cs(g)}function sT(r,a,o,l){if(!l||!dW(l))return{path:o};if(l.formMethod&&!n2(l.formMethod))return{path:o,error:Ca(405,{method:l.formMethod})};let s=()=>({path:o,error:Ca(400,{type:"invalid-body"})}),f=l.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=VT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(u))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((C,k)=>{let[L,M]=k;return""+C+L+"="+M+`
|
|
146
|
+
`},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Cl(u))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Or(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=r2(l.formData),m=l.formData;else if(l.body instanceof FormData)p=r2(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=pT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=pT(p)}catch(S){return s()}let g={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cl(g.formMethod))return{path:o,submission:g};let b=Kl(o);return a&&b.search&&l2(b.search)&&p.append("index",""),b.search="?"+p,{path:Cs(b),submission:g}}function PT(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 cT(r,a,o,l,s,f,u,h,p,m,g,b,S,C,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&On(L[1])?L[0]:void 0,F=j?PT(o,j):o,Q=L?L[1].statusCode:void 0,N=u&&Q&&Q>=400,te=F.filter((re,be)=>{let{route:ye}=re;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(f)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(pW(a.loaderData,a.matches[be],re)||p.some(le=>le===re.route.id))return!0;let ge=a.matches[be],H=re;return uT(re,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||IT(ge,H)}))}),_e=[];return b.forEach((re,be)=>{if(f||!o.some(fe=>fe.route.id===re.routeId)||g.has(be))return;let ye=oc(C,re.path,k);if(!ye){_e.push({key:be,routeId:re.routeId,path:re.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(be),H=ef(ye,re.path),le=!1;S.has(be)?le=!1:m.has(be)?(m.delete(be),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=uT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:be,routeId:re.routeId,path:re.path,matches:ye,match:H,controller:new AbortController})}),[te,_e]}function pW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function IT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function uT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function hW(r,a,o,l,s,f,u,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=u.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||zT(g,b,l,s,f)}}),u.set(p,m)),m&&_W(m)&&(yield m)}finally{u.delete(p)}})}function zT(r,a,o,l,s){if(r){var f;let u=l[r];Or(u,"No route found to patch children into: routeId = "+r);let h=tf(a,s,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function fT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Or(s,"No route found in manifest");let f={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";ws(!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&&!OV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function BT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function FT(r,a,o,l,s,f,u,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?mW(a,o,b,f,u,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Or(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(s[S].route.id))})}function mW(r,a,o,l,s,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let C=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:u},...L!==void 0?[L]:[]),k;return f?k=f(L=>C(L)):k=na(this,null,function*(){try{return{type:"data",result:yield C()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(C=>{b=C}),fT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield fT(o.route,s,l),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw Ca(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw Ca(404,{pathname:S})}Or(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(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function jT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(tu(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Nd(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(a2(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Nd(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Od(a)?a.status:void 0}}if(qT(a)){var f,u;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(a2(a)){var h,p;return{type:Vr.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:Vr.data,data:a}})}function HT(r,a,o,l,s,f){let u=r.headers.get("Location");if(Or(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!i2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=t2(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function dT(r,a,o){if(i2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=qh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Dd(r,a,o,l){let s=r.createURL(VT(a)).toString(),f={signal:o};if(l&&Cl(l.formMethod)){let{formMethod:u,formEncType:h}=l;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=r2(l.formData):f.body=l.formData}return new Request(s,f)}function r2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function pT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function UT(r,a,o,l,s,f){let u={},h=null,p,m=!1,g={},b=l&&On(l[1])?l[1].error:void 0;return o.forEach((S,C)=>{let k=a[C].route.id;if(Or(!au(S),"Cannot handle redirect results in processLoaderData"),On(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Zu(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}u[k]=void 0,m||(m=!0,p=Od(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else ru(S)?(s.set(k,S.deferredData),u[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(u[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function hT(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=UT(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:C}=f[g];Or(u!==void 0&&u[g]!==void 0,"Did not find corresponding fetcher result");let k=u[g];if(!(C&&C.signal.aborted))if(On(k)){let L=Zu(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=Ir({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(au(k))Or(!1,"Unhandled fetcher revalidation redirect");else if(ru(k))Or(!1,"Unhandled fetcher deferred data");else{let L=eu(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function mT(r,a,o,l){let s=Ir({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&f.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function vT(r){return r?On(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Zu(r,a){return(a?r.slice(0,r.findIndex(l=>l.route.id===a)+1):[...r]).reverse().find(l=>l.route.hasErrorBoundary===!0)||r[0]}function I_(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 Ca(r,a){let{pathname:o,routeId:l,method:s,type:f,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
|
|
147
|
+
`+u):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":f==="defer-action"?p="defer() is not supported in actions":f==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Nd(r||500,h,new Error(p),!0)}function _T(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(au(o))return{result:o,idx:a}}}function VT(r){let a=typeof r=="string"?Kl(r):r;return Cs(Ir({},a,{hash:""}))}function vW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function _W(r){return typeof r=="object"&&r!=null&&"then"in r}function gW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function WT(r){return tu(r.result)&&lW.has(r.result.status)}function ru(r){return r.type===Vr.deferred}function On(r){return r.type===Vr.error}function au(r){return(r&&r.type)===Vr.redirect}function a2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function qT(r){let a=r;return a&&typeof a=="object"&&typeof a.data=="object"&&typeof a.subscribe=="function"&&typeof a.cancel=="function"&&typeof a.resolveData=="function"}function tu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function bW(r){if(!tu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function n2(r){return iW.has(r.toLowerCase())}function Cl(r){return nW.has(r.toLowerCase())}function gT(r,a,o,l,s,f){return na(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!IT(m,p)&&(f&&f[p.route.id])!==void 0;if(ru(h)&&(s||g)){let b=l[u];Or(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield YT(h,b,s).then(S=>{S&&(o[u]=S||o[u])})}}})}function YT(r,a,o){return na(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Vr.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Vr.error,error:s}}return{type:Vr.data,data:r.deferredData.data}}})}function l2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Kl(a).search:a.search;if(r[r.length-1].route.index&&l2(o||""))return r[r.length-1];let l=TT(r);return l[l.length-1]}function bT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:u}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:u,text:void 0}}}function J0(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 yW(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 Vh(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 SW(r,a){return{state:"submitting",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a?a.data:void 0}}function eu(r){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function wW(r,a){try{let o=r.sessionStorage.getItem(OT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function CW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(OT,JSON.stringify(o))}catch(l){ws(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ir.AbortedDeferredError=Wh;ir.Action=Ia;ir.IDLE_BLOCKER=Ad;ir.IDLE_FETCHER=LT;ir.IDLE_NAVIGATION=M_;ir.UNSAFE_DEFERRED_SYMBOL=MT;ir.UNSAFE_DeferredData=P_;ir.UNSAFE_ErrorResponseImpl=Nd;ir.UNSAFE_convertRouteMatchToUiMatch=ST;ir.UNSAFE_convertRoutesToDataRoutes=tf;ir.UNSAFE_decodePath=xT;ir.UNSAFE_getResolveToMatches=ET;ir.UNSAFE_invariant=Or;ir.UNSAFE_warning=ws;ir.createBrowserHistory=AV;ir.createHashHistory=LV;ir.createMemoryHistory=DV;ir.createPath=Cs;ir.createRouter=cW;ir.createStaticHandler=uW;ir.defer=tW;ir.generatePath=qV;ir.getStaticContextFromError=fW;ir.getToPathname=GV;ir.isDataWithResponseInit=a2;ir.isDeferredData=qT;ir.isRouteErrorResponse=Od;ir.joinPaths=Ld;ir.json=QV;ir.matchPath=Z0;ir.matchRoutes=oc;ir.normalizePathname=DT;ir.parsePath=Kl;ir.redirect=o2;ir.redirectDocument=rW;ir.replace=aW;ir.resolvePath=kT;ir.resolveTo=RT;ir.stripBasename=qh;ir.unstable_data=JV});var GT=Ue((z_,$T)=>{(function(r,a){typeof z_=="object"&&typeof $T!="undefined"?a(z_,ur(),s2()):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))})(z_,function(r,a,o){"use strict";function l($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let u=s.createContext(null);u.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let g=s.createContext(null);g.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.createContext(null);S.displayName="RouteError";function C($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=s.useContext(m),{hash:ie,pathname:oe,search:Oe}=be($,{relative:R}),Ie=oe;return z!=="/"&&(Ie=oe==="/"?z:o.joinPaths([z,oe])),G.createHref({pathname:Ie,search:Oe,hash:ie})}function k(){return s.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(g).location}function M(){return s.useContext(g).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=L();return s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let O="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?tr():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(u),{basename:P,future:R,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=s.useRef(!1);return j(()=>{Oe.current=!0}),s.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,O),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(oe),ie,We.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(We.replace?z.replace:z.push)(Ae,We.state,We)},[P,z,oe,ie,$])}let N=s.createContext(null);function te(){return s.useContext(N)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(N.Provider,{value:$},P)}function re(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function be($,P){let{relative:R}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(oe),ie,R==="path"),[$,oe,ie,R])}function ye($,P){return ge($,P)}function ge($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:ie}=s.useContext(b),oe=ie[ie.length-1],Oe=oe?oe.params:{},Ie=oe?oe.pathname:"/",Me=oe?oe.pathnameBase:"/",We=oe&&oe.route;{let Fe=We&&We.path||"";Er(Ie,!We||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Ie+'" (under <Route path="'+Fe+'">) 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="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Ae=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",ae=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(We||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Ve=W(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&Ve?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Te(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=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:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(c);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=oe.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),oe=oe.slice(0,Math.min(oe.length,We+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<oe.length;We++){let Ae=oe[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Qe,errors:I}=R,V=Ae.route.loader&&Qe[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((We,Ae,Qe)=>{let I,V=!1,ae=null,se=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,ae=Ae.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Tr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=ae:V?D=se:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,s.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:ae,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Ce($){let P=s.useContext(c);return P||o.UNSAFE_invariant(!1,de($)),P}function Se($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Ye($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function $e($){let P=Ye($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Pe(){return $e(ee.UseRouteId)}function et(){return Se(ee.UseNavigation).navigation}function ct(){let $=Ce(ne.UseRevalidator),P=Se(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function lt(){let{matches:$,loaderData:P}=Se(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function Tt(){let $=Se(ee.UseLoaderData),P=$e(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function wt($){return Se(ee.UseRouteLoaderData).loaderData[$]}function Ze(){let $=Se(ee.UseActionData),P=$e(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Te(){var $;let P=s.useContext(S),R=Se(ee.UseRouteError),z=$e(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function pt(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let jt=0;function Ut($){let{router:P,basename:R}=Ce(ne.UseBlocker),z=Se(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++jt);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function er(){let{router:$}=Ce(ne.UseNavigateStable),P=$e(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let ur={};function Tr($,P,R){!P&&!ur[$]&&(ur[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Ae=>{oe&&jr?jr(()=>ie(Ae)):ie(Ae)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Qe,I)=>R.navigate(Ae,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Qe,I)=>R.navigate(Ae,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(mr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(wr,{routes:R.routes,future:R.future,state:G}):P))),null)}function wr($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function fr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=ie||{},Ae=s.useCallback(Qe=>{We&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(mr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function _r($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=s.useContext(b),{pathname:Ie}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Ae=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function ha($){return _e($.context)}function Cr($){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 mr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(We,Ie);return se==null?null:{location:{pathname:se,search:Ae,hash:Qe,state:I,key:V},navigationType:G}},[Ie,We,Ae,Qe,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+We+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:ae}))}function Mr($){let{children:P,location:R}=$;return ye(Vt(P),R)}function ga($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement($t,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let st=new Promise(()=>{});class bt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw st;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function $t($){let{children:P}=$,R=pt(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,ie));return}z.type!==Cr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let oe={id:z.props.id||ie.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(oe.children=Vt(z.props.children,ie)),R.push(oe)}),R}function Er($){return W($)}function vr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:vr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=ga,r.MemoryRouter=fr,r.Navigate=_r,r.Outlet=ha,r.Route=Cr,r.Router=mr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=vr,r.UNSAFE_useRouteId=Pe,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Er,r.useActionData=Ze,r.useAsyncError=Lt,r.useAsyncValue=pt,r.useBlocker=Ut,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=Tt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=et,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=re,r.useResolvedPath=be,r.useRevalidator=ct,r.useRouteError=Te,r.useRouteLoaderData=wt,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var YT=Ue((eG,qT)=>{"use strict";qT.exports=WT()});var GT=Ue((P_,$T)=>{(function(r,a){typeof P_=="object"&&typeof $T!="undefined"?a(P_,cr(),W0(),YT(),n2()):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))})(P_,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var c=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(ie=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Q()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let re=["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"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function fe(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=c.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=c.createContext(new Map);ne.displayName="Fetchers";let de=c["startTransition"],Se=h["flushSync"],$e=c["useId"];function Pe(R){de?de(R):R()}function et(R){Se?Se(R):R()}class ct{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function lt(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=c.useState(G.state),[Ie,Me]=c.useState(),[We,Ae]=c.useState({isTransitioning:!1}),[Qe,I]=c.useState(),[V,ae]=c.useState(),[se,Ve]=c.useState(),Fe=c.useRef(new Map),{v7_startTransition:D}=ie||{},q=c.useCallback(Ke=>{D?Pe(Ke):Ke()},[D]),pe=c.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(la=>Fe.current.delete(la)),Ke.fetchers.forEach((la,sa)=>{la.data!==void 0&&Fe.current.set(sa,la.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Wt?et(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){et(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let la=G.window.document.startViewTransition(()=>{et(()=>Oe(Ke))});la.finished.finally(()=>{et(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})})}),et(()=>ae(la));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);c.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),c.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new ct)},[We]),c.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})}),ae(kt)}},[q,Ie,Qe,G.window]),c.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),c.useEffect(()=>{!We.isTransitioning&&se&&(Me(se.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[We.isTransitioning,se]),c.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=c.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),He=G.basename||"/",ft=c.useMemo(()=>({router:G,navigator:ke,static:!1,basename:He}),[G,ke,He]),Je=c.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},c.createElement(ne.Provider,{value:Fe.current},c.createElement(W.Provider,{value:We},c.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||G.future.v7_partialHydration?c.createElement(Tt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let Tt=c.memo(wt);function wt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function Ze(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function Te(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function pt(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=c.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},We=c.useCallback(Ae=>{Me&&de?de(()=>Ie(Ae)):Ie(Ae)},[Ie,Me]);return c.useLayoutEffect(()=>oe.listen(We),[oe,We]),c.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}pt.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=c.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:We,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,re),{basename:ae}=c.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Ae=="string"&&jt.test(Ae)&&(se=Ae,Lt))try{let pe=new URL(window.location.href),ke=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(ke.pathname,ae);ke.origin===pe.origin&&He!=null?Ae=He+ke.search+ke.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Ae,{relative:oe}),D=_r(Ae,{replace:Ie,state:Me,target:We,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return c.createElement("a",p({},V,{href:se||Fe,onClick:Ve||Oe?ie:q,ref:G,target:We}))});Ut.displayName="Link";let er=c.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Qe}=z,I=m(z,be),V=l.useResolvedPath(We,{relative:I.relative}),ae=l.useLocation(),se=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=c.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=ae.pathname,ke=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,q=q.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===q||!Ie&&ke.startsWith(q)&&ke.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Je,isTransitioning:D},Ct=ft?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,ft?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return c.createElement(Ut,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});er.displayName="NavLink";let ur=c.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:We,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,ae=m(R,ye),se=ga(),Ve=Be(We,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:ke,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return c.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Ae:D},ae))});ur.displayName="Form";function Tr(R){let{getKey:z,storageKey:G}=R;return Er({getKey:z,storageKey:G}),null}Tr.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function wr(R){let z=c.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function fr(R){let z=c.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function _r(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return c.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Ae)===l.createPath(Qe);We(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Ae,We,Qe,ie,oe,G,R,Oe,Ie,Me])}function ha(R){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=c.useRef(O(R)),G=c.useRef(!1),ie=l.useLocation(),oe=c.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=c.useCallback((Me,We)=>{let Ae=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,oe]);return[oe,Ie]}function Cr(){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 mr=0,Mr=()=>"__"+String(++mr)+"__";function ga(){let{router:R}=wr(ra.UseSubmit),{basename:z}=c.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return c.useCallback(function(ie,oe){oe===void 0&&(oe={}),Cr();let{action:Oe,method:Ie,encType:Me,formData:We,body:Ae}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=c.useContext(l.UNSAFE_NavigationContext),oe=c.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let We=new URLSearchParams(Ie.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Ie.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function st(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=wr(ra.UseFetcher),oe=fr(jr.UseFetcher),Oe=c.useContext(ne),Ie=c.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=$e?$e():"",[Ae,Qe]=c.useState(G||We);G&&G!==Ae?Qe(G):Ae||Qe(Mr()),c.useEffect(()=>(ie.getFetcher(Ae),()=>{ie.deleteFetcher(Ae)}),[ie,Ae]);let I=c.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Ae,Me,q,pe)},[Ae,Me,ie]),V=ga(),ae=c.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),se=c.useMemo(()=>{let q=c.forwardRef((pe,ke)=>c.createElement(ur,p({},pe,{navigate:!1,fetcherKey:Ae,ref:ke})));return q.displayName="fetcher.Form",q},[Ae]),Ve=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Oe.get(Ae);return c.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Fe}),[se,ae,I,Ve,Fe])}function bt(){let R=fr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let $t="react-router-scroll-positions",Vt={};function Er(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=wr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=fr(jr.UseScrollRestoration),{basename:Ie}=c.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Ae=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(c.useCallback(()=>{if(Ae.state==="idle"){let Qe=(z?z(Me,We):null)||Me.key;Vt[Qe]=window.scrollY}try{sessionStorage.setItem(G||$t,JSON.stringify(Vt))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||$t);Qe&&(Vt=JSON.parse(Qe))}catch(Qe){}},[G]),c.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),ae):z,I=ie==null?void 0:ie.enableScrollRestoration(Vt,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),c.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function vr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);c.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),c.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=c.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=wr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Ze,r.Form=ur,r.HashRouter=Te,r.Link=Ut,r.NavLink=er,r.RouterProvider=lt,r.ScrollRestoration=Tr,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Er,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=pt,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=vr,r.useFetcher=st,r.useFetchers=bt,r.useFormAction=Be,r.useLinkClickHandler=_r,r.useSearchParams=ha,r.useSubmit=ga,Object.defineProperty(r,"__esModule",{value:!0})})});var XT=Ue((rG,KT)=>{"use strict";KT.exports=GT()});var tr=Ue((aG,r5)=>{"use strict";var B_=Object.defineProperty,SW=Object.defineProperties,wW=Object.getOwnPropertyDescriptor,CW=Object.getOwnPropertyDescriptors,xW=Object.getOwnPropertyNames,z_=Object.getOwnPropertySymbols,i2=Object.prototype.hasOwnProperty,JT=Object.prototype.propertyIsEnumerable,o2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),I_=Math.pow,QT=(r,a,o)=>a in r?B_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nc=(r,a)=>{for(var o in a||(a={}))i2.call(a,o)&&QT(r,o,a[o]);if(z_)for(var o of z_(a))JT.call(a,o)&&QT(r,o,a[o]);return r},ZT=(r,a)=>SW(r,CW(a)),kW=(r,a)=>{var o={};for(var l in r)i2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&z_)for(var l of z_(r))a.indexOf(l)<0&&JT.call(r,l)&&(o[l]=r[l]);return o},TW=(r,a)=>{for(var o in a)B_(r,o,{get:a[o],enumerable:!0})},EW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xW(a))!i2.call(r,s)&&s!==o&&B_(r,s,{get:()=>a[s],enumerable:!(l=wW(a,s))||l.enumerable});return r},RW=r=>EW(B_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())}),e5=function(r,a){this[0]=r,this[1]=a},DW=(r,a,o)=>{var l=(c,h,p,m)=>{try{var g=o[c](h),b=(h=g.value)instanceof e5,S=g.done;Promise.resolve(b?h[0]:h).then(w=>b?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=c=>f[c]=h=>new Promise((p,m)=>l(c,h,p,m)),f={};return o=o.apply(r,a),f[o2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},AW=(r,a,o)=>(a=r[o2("asyncIterator")])?a.call(r):(r=r[o2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((c,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>c({value:m,done:p}),h)))),o("next"),o("return"),a),t5={};TW(t5,{Fetcher:()=>Zr,Filer:()=>yn,Server:()=>s2,Time:()=>Or,UUID:()=>tf,default:()=>VW,useStore:()=>F_});r5.exports=RW(t5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=I_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/I_(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),c=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(c){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var LW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),tf=LW;tf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");tf.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};tf.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var NW=r=>new xe.prototype.jmini(r),xe=NW;xe.prototype={};xe.extend=function(r,a=xe){for(var[o,l]of Object.entries(r))a.prototype[o]=l};xe.expando="__jmini_"+tf();var Va=(r,a)=>(r.queue.push(a),l2(r),r),l2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,l2(r)}}),ac=(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},OW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[xe.expando]||(xe.is.element(l)||xe.is.shadowRoot(l))&&(l[xe.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,l2(r),r};xe.extend({constructor:xe,jmini:function(r){return this.src=r,this.srcType=xe.is.what(r),this.queueProcess=!0,this.queue=[],OW(this,xe.is.jmini(r)?r.get():xe.is.element(r)?[r]:xe.is.elements(r)?r:xe.is.shadowRoot(r)?[r]:xe.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});xe.prototype[String(Symbol.iterator)]=[][Symbol.iterator];xe.prototype.jmini.prototype=xe.prototype;{let r=function(s,f,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,c)=>{if(!(xe.is.element(f)||xe.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[c]=h}),s),o=(s,f)=>(xe(f).for(c=>{if(s&&(xe.is.element(c)||xe.is.shadowRoot(c)))if(xe.is.string(s)||xe.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(xe.is.element(s))c.appendChild(s);else{xe.is.jmini(s)?s=s.get():xe.is.element(s)?s=[s]:xe.is.keyValueDictionary(s)&&(s=[xe(s)]);for(var h=0;h<s.length;h++)o(s[h],c)}}),f),l=(s,f,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(xe.is.string(c[0]))m.insertAdjacentHTML(h,c[0]);else{if(!m.parentNode)return;xe(c[0]).for(g=>{c[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};xe.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let c=r(this,(h,p)=>s(h,p),1);return f?c:[]},await:function(s){return Va(this,()=>new Promise((f,c)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:c=tf(),target:h,callback:p,options:m}=s;return m=nc({passive:!0,capture:!1},m),this.for(g=>{if(!(xe.is.element(g)||xe.is.shadowRoot(g)))return;let{events:b}=g[xe.expando];if(h){let S=p;p=w=>{if(w.target){if(xe.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(xe.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[c]){let S=b[c];g.removeEventListener(S.eventType,S.callback,S.options)}b[c]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=xe.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[xe.expando];for(let p of f){let m=h[p];m&&c.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>ac(this,o(s,a(this))))},empty:function(){return Va(this,()=>ac(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&xe.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>ac(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>ac(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],c=this[0];c||ac(this,xe()),(xe.is.element(c)||xe.is.shadowRoot(c))&&(xe.is.string(s)?f=c.querySelectorAll(s):xe.is.element(c)&&xe(s).for(h=>{let p=c.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...xe(m).find(h).for(g=>g)])})),ac(this,xe(f))})},parent:function(s){return Va(this,()=>{var f,c;let h=xe(s?(f=this[0])==null?void 0:f.closest(s):(c=this[0])==null?void 0:c.parentNode);ac(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;xe.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let c=xe(f);return ac(this,c)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.add(...c)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.remove(...c)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(c=>c.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(xe.is.element(f))for(let[c,h]of Object.entries(s)){if(xe.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[c]=h+"px";continue}f.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(c=>c.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&xe.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let c=this[0];return c&&xe.is.element(c)&&c.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return xe.is.element(this[0])?this[0].getBoundingClientRect():{}}})}xe.flatArray=(r,a)=>{if(!xe.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?xe.flatArray(l,"-R"):[l]);return o};xe.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[xe.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};xe.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};xe.Stringify=JSON.stringify;xe.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};xe.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};xe.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};xe.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});xe.scope=r=>r();xe.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});xe.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:c,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),c)for(let S of Object.entries(c)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&xe.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&xe(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&xe(p).append(m),m};xe.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:c=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${c}`;h&&(p+=" Secure"),document.cookie=p};xe.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};xe.localStrage={set:(r,a)=>{localStorage.setItem(r,xe.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return xe.Objectify(a,a)}};xe.deleteCookie=r=>{document.cookie=r+"=max-age=0"};xe.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,c=Number(xe(document.body).getStyleProperty("--sat").removeLetters()),h=Number(xe(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:c,safeAreaBottom:h}};xe.getCursor=r=>{var a,o,l,s,f,c,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:m,y:g}};xe.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});xe.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(xe.is.keyValueDictionary(r)&&xe.is.keyValueDictionary(o))for(let l in o)xe.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),xe.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return xe.deepMerge(r,...a)};xe.deepCopy=r=>{if(xe.is.array(r))return r.map(a=>xe.deepCopy(a));if(xe.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=xe.deepCopy(l)}),a}return r};xe.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};xe.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};xe.is={equal:function(r,a,o){return o==null||o?xe.Stringify(r)===xe.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===xe},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var MW=r=>new Or.prototype.Time(r),Or=MW;Or.prototype={};var PW=function(r){Or.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};xe.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Or,Time:PW,clone:function(){return Or(this)},set:function(r){this.value=r;let a=xe.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),c=Math.ceil(f/7);this.weekInMonth=c}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Or(r);return this.year==a.year},isSameMonth:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Or(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Or(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Or(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Or(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Or(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||Or(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Or);Or.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Or};Or.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Or(a+" 00:00")};Or.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Or().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Or.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=Or(s).addYear(1):r=="month"?s=Or(s).addMonth(1):r=="week"?s=Or(s).addWeek(1):r=="day"?s=Or(s).addDate(1):r=="hours"?s=Or(s).addHours(1):r=="minutes"?s=Or(s).addMinutes(1):r=="seconds"&&(s=Or(s).addSeconds(1));return l};Or.prototype.Time.prototype=Or.prototype;var iu={},F_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=iu[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),iu[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let c=iu[l]||{};c&&c.privateKey&&c.privateKey!=a&&(o=!1),iu[l]=ZT(nc({},iu[l]),{value:nc(nc({},(f=iu[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=iu[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=iu[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete iu[r],!0)}},IW=(...[r,a,o])=>new wo.prototype.Interval(r,a,o),wo=IW;wo.prototype={};var zW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,wo.abort(this.key),this.store(),this};xe.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:zW,store:function(){F_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return wo.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},wo);wo.abort=r=>{if(xe.is.number(r))return clearInterval(r);let a=F_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};wo.get=r=>F_.get("Interval_"+r);wo.once=(r,a,o)=>wo(r,a,o).once();wo.start=(r,a,o)=>wo(r,a,o).start();wo.prototype.Interval.prototype=wo.prototype;var BW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=BW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>Wa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var FW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!xe.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=xe.Stringify(a.body||{}));let s=r;return xe.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=ZT(nc({key:tf(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nc(nc({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:l}),this};xe.extend({Fetcher:FW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,c=a.body,h=this,p=function(){return DW(this,null,function*(){if(!a.ok){xe.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(c,{reader:s,decoder:f});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:M}=yield new e5(Zr.streamToContext(c,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,s.releaseLock()),l(M,L)}})};try{for(var m=AW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){S=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:O}=S,j=kW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let Q=xe.queryParams.set(nc({},O),String(this.url));m=yield fetch(Q,j).then(N=>Wa(this,null,function*(){return c=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield xe.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:c,status:h,statusText:p,body:m,requestTime:l,rawData:g};if(!c&&this.onErrorCB&&this.onErrorCB(b.body),c&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var jW=r=>new yn.prototype.Filer(r),yn=jW;yn.prototype={};var HW=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};xe.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:HW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(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}},yn);yn.fromFile=r=>Wa(void 0,null,function*(){return yn(r)});yn.fromBlob=(r,a)=>Wa(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 yn(s)});yn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return yn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});yn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?yn.fromBlob(o.body,a):yn({})});yn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?yn.fromBlob(o,a):yn({})});yn.prototype.Filer.prototype=yn.prototype;var UW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let c=s;c.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!xe.is.string(m)&&(b=xe.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},s2=UW;s2.getLocalIP=r=>{let a="";return xe.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};s2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};xe.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";xe.is.string(r)?a=r:xe.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(xe(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});xe.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});xe.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};xe.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:f,To:c,name:h}=s;if(f<=r&&r<=c){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};xe.interval=wo;Zr.setDefaultHeaders=()=>({});var VW=xe});var l5=Ue(H_=>{"use strict";(function(){"use strict";var r=cr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),ke=1;ke<q;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,q,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Je){return String(Je)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Q=!1,N=!1,te=!1,_e=!1,re;re=Symbol.for("react.module.reference");function be(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===w||F||Q||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===c||D.$$typeof===h||D.$$typeof===p||D.$$typeof===re||D.getModuleId!==void 0))}function ye(D,q,pe){var ke=D.displayName;if(ke)return ke;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case c:var pe=D;return ge(pe._context)+".Provider";case p:return ye(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Je=He._init;try{return H(Je(ft))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,Ce,Se;function Ye(){}Ye.__reactDisabledLog=!0;function $e(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,Ce=console.groupCollapsed,Se=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function Pe(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:Ce}),groupEnd:le({},D,{value:Se})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var et=Y.ReactCurrentDispatcher,ct;function lt(D,q,pe){{if(ct===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);ct=ke&&ke[1]||""}return`
|
|
150
|
-
`+
|
|
149
|
+
`+('Please change the parent <Route path="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Ae=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",ae=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(We||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Ve=W(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&Ve?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Te(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=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:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=oe.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),oe=oe.slice(0,Math.min(oe.length,We+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<oe.length;We++){let Ae=oe[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Qe,errors:I}=R,V=Ae.route.loader&&Qe[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((We,Ae,Qe)=>{let I,V=!1,ae=null,se=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,ae=Ae.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Er("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=ae:V?D=se:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,s.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:ae,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xe($){let P=s.useContext(u);return P||o.UNSAFE_invariant(!1,de($)),P}function we($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Ye($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function $e($){let P=Ye($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Pe(){return $e(ee.UseRouteId)}function et(){return we(ee.UseNavigation).navigation}function ut(){let $=xe(ne.UseRevalidator),P=we(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function it(){let{matches:$,loaderData:P}=we(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function Tt(){let $=we(ee.UseLoaderData),P=$e(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function wt($){return we(ee.UseRouteLoaderData).loaderData[$]}function Ze(){let $=we(ee.UseActionData),P=$e(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Te(){var $;let P=s.useContext(S),R=we(ee.UseRouteError),z=$e(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function ht(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let jt=0;function Ut($){let{router:P,basename:R}=xe(ne.UseBlocker),z=we(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++jt);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function tr(){let{router:$}=xe(ne.UseNavigateStable),P=$e(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let cr={};function Er($,P,R){!P&&!cr[$]&&(cr[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Ae=>{oe&&jr?jr(()=>ie(Ae)):ie(Ae)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Qe,I)=>R.navigate(Ae,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Qe,I)=>R.navigate(Ae,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(mr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(Cr,{routes:R.routes,future:R.future,state:G}):P))),null)}function Cr($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function dr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=ie||{},Ae=s.useCallback(Qe=>{We&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(mr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function gr($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=s.useContext(b),{pathname:Ie}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Ae=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function pa($){return _e($.context)}function xr($){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 mr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(We,Ie);return se==null?null:{location:{pathname:se,search:Ae,hash:Qe,state:I,key:V},navigationType:G}},[Ie,We,Ae,Qe,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+We+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:ae}))}function Mr($){let{children:P,location:R}=$;return ye(Vt(P),R)}function _a($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement($t,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let lt=new Promise(()=>{});class bt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw lt;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function $t($){let{children:P}=$,R=ht(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,ie));return}z.type!==xr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let oe={id:z.props.id||ie.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(oe.children=Vt(z.props.children,ie)),R.push(oe)}),R}function Rr($){return W($)}function vr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:vr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=_a,r.MemoryRouter=dr,r.Navigate=gr,r.Outlet=pa,r.Route=xr,r.Router=mr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=vr,r.UNSAFE_useRouteId=Pe,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Rr,r.useActionData=Ze,r.useAsyncError=Lt,r.useAsyncValue=ht,r.useBlocker=Ut,r.useHref=C,r.useInRouterContext=k,r.useLoaderData=Tt,r.useLocation=L,r.useMatch=Y,r.useMatches=it,r.useNavigate=F,r.useNavigation=et,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=re,r.useResolvedPath=be,r.useRevalidator=ut,r.useRouteError=Te,r.useRouteLoaderData=wt,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var XT=Ue((aG,KT)=>{"use strict";KT.exports=GT()});var JT=Ue((B_,QT)=>{(function(r,a){typeof B_=="object"&&typeof QT!="undefined"?a(B_,ur(),G0(),XT(),s2()):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))})(B_,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function C(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(C(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(ie=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Q()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let re=["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"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function fe(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=u.createContext(new Map);ne.displayName="Fetchers";let de=u["startTransition"],we=h["flushSync"],$e=u["useId"];function Pe(R){de?de(R):R()}function et(R){we?we(R):R()}class ut{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function it(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=u.useState(G.state),[Ie,Me]=u.useState(),[We,Ae]=u.useState({isTransitioning:!1}),[Qe,I]=u.useState(),[V,ae]=u.useState(),[se,Ve]=u.useState(),Fe=u.useRef(new Map),{v7_startTransition:D}=ie||{},q=u.useCallback(Ke=>{D?Pe(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(ia=>Fe.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Fe.current.set(la,ia.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Wt?et(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){et(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let ia=G.window.document.startViewTransition(()=>{et(()=>Oe(Ke))});ia.finished.finally(()=>{et(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})})}),et(()=>ae(ia));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new ut)},[We]),u.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})}),ae(kt)}},[q,Ie,Qe,G.window]),u.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),u.useEffect(()=>{!We.isTransitioning&&se&&(Me(se.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[We.isTransitioning,se]),u.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:ke,static:!1,basename:He}),[G,ke,He]),Je=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},u.createElement(ne.Provider,{value:Fe.current},u.createElement(W.Provider,{value:We},u.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||G.future.v7_partialHydration?u.createElement(Tt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let Tt=u.memo(wt);function wt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function Ze(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=u.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function Te(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=u.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function ht(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=u.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},We=u.useCallback(Ae=>{Me&&de?de(()=>Ie(Ae)):Ie(Ae)},[Ie,Me]);return u.useLayoutEffect(()=>oe.listen(We),[oe,We]),u.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}ht.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=u.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:We,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,re),{basename:ae}=u.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Ae=="string"&&jt.test(Ae)&&(se=Ae,Lt))try{let pe=new URL(window.location.href),ke=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(ke.pathname,ae);ke.origin===pe.origin&&He!=null?Ae=He+ke.search+ke.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Ae,{relative:oe}),D=gr(Ae,{replace:Ie,state:Me,target:We,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:se||Fe,onClick:Ve||Oe?ie:q,ref:G,target:We}))});Ut.displayName="Link";let tr=u.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Qe}=z,I=m(z,be),V=l.useResolvedPath(We,{relative:I.relative}),ae=l.useLocation(),se=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=u.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=ae.pathname,ke=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,q=q.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===q||!Ie&&ke.startsWith(q)&&ke.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Je,isTransitioning:D},Ct=ft?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,ft?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(Ut,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});tr.displayName="NavLink";let cr=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:We,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,ae=m(R,ye),se=_a(),Ve=Be(We,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:ke,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Ae:D},ae))});cr.displayName="Form";function Er(R){let{getKey:z,storageKey:G}=R;return Rr({getKey:z,storageKey:G}),null}Er.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Cr(R){let z=u.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function dr(R){let z=u.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function gr(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Ae)===l.createPath(Qe);We(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Ae,We,Qe,ie,oe,G,R,Oe,Ie,Me])}function pa(R){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=u.useRef(O(R)),G=u.useRef(!1),ie=l.useLocation(),oe=u.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=u.useCallback((Me,We)=>{let Ae=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,oe]);return[oe,Ie]}function xr(){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 mr=0,Mr=()=>"__"+String(++mr)+"__";function _a(){let{router:R}=Cr(ra.UseSubmit),{basename:z}=u.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return u.useCallback(function(ie,oe){oe===void 0&&(oe={}),xr();let{action:Oe,method:Ie,encType:Me,formData:We,body:Ae}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=u.useContext(l.UNSAFE_NavigationContext),oe=u.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let We=new URLSearchParams(Ie.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Ie.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function lt(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseFetcher),oe=dr(jr.UseFetcher),Oe=u.useContext(ne),Ie=u.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=$e?$e():"",[Ae,Qe]=u.useState(G||We);G&&G!==Ae?Qe(G):Ae||Qe(Mr()),u.useEffect(()=>(ie.getFetcher(Ae),()=>{ie.deleteFetcher(Ae)}),[ie,Ae]);let I=u.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Ae,Me,q,pe)},[Ae,Me,ie]),V=_a(),ae=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),se=u.useMemo(()=>{let q=u.forwardRef((pe,ke)=>u.createElement(cr,p({},pe,{navigate:!1,fetcherKey:Ae,ref:ke})));return q.displayName="fetcher.Form",q},[Ae]),Ve=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Oe.get(Ae);return u.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Fe}),[se,ae,I,Ve,Fe])}function bt(){let R=dr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let $t="react-router-scroll-positions",Vt={};function Rr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=dr(jr.UseScrollRestoration),{basename:Ie}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Ae=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Ae.state==="idle"){let Qe=(z?z(Me,We):null)||Me.key;Vt[Qe]=window.scrollY}try{sessionStorage.setItem(G||$t,JSON.stringify(Vt))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||$t);Qe&&(Vt=JSON.parse(Qe))}catch(Qe){}},[G]),u.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),ae):z,I=ie==null?void 0:ie.enableScrollRestoration(Vt,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),u.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function vr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);u.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),u.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=Cr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Ze,r.Form=cr,r.HashRouter=Te,r.Link=Ut,r.NavLink=tr,r.RouterProvider=it,r.ScrollRestoration=Er,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=ht,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=vr,r.useFetcher=lt,r.useFetchers=bt,r.useFormAction=Be,r.useLinkClickHandler=gr,r.useSearchParams=pa,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var e5=Ue((oG,ZT)=>{"use strict";ZT.exports=JT()});var rr=Ue((iG,i5)=>{"use strict";var H_=Object.defineProperty,xW=Object.defineProperties,kW=Object.getOwnPropertyDescriptor,TW=Object.getOwnPropertyDescriptors,EW=Object.getOwnPropertyNames,j_=Object.getOwnPropertySymbols,u2=Object.prototype.hasOwnProperty,r5=Object.prototype.propertyIsEnumerable,c2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),F_=Math.pow,t5=(r,a,o)=>a in r?H_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,ou=(r,a)=>{for(var o in a||(a={}))u2.call(a,o)&&t5(r,o,a[o]);if(j_)for(var o of j_(a))r5.call(a,o)&&t5(r,o,a[o]);return r},a5=(r,a)=>xW(r,TW(a)),RW=(r,a)=>{var o={};for(var l in r)u2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&j_)for(var l of j_(r))a.indexOf(l)<0&&r5.call(r,l)&&(o[l]=r[l]);return o},DW=(r,a)=>{for(var o in a)H_(r,o,{get:a[o],enumerable:!0})},AW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of EW(a))!u2.call(r,s)&&s!==o&&H_(r,s,{get:()=>a[s],enumerable:!(l=kW(a,s))||l.enumerable});return r},LW=r=>AW(H_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())}),n5=function(r,a){this[0]=r,this[1]=a},NW=(r,a,o)=>{var l=(u,h,p,m)=>{try{var g=o[u](h),b=(h=g.value)instanceof n5,S=g.done;Promise.resolve(b?h[0]:h).then(C=>b?l(u==="return"?u:"next",h[1]?{done:C.done,value:C.value}:C,p,m):p({value:C,done:S})).catch(C=>l("throw",C,p,m))}catch(C){m(C)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[c2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},OW=(r,a,o)=>(a=r[c2("asyncIterator")])?a.call(r):(r=r[c2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((u,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),o5={};DW(o5,{Fetcher:()=>Zr,Filer:()=>bn,Server:()=>d2,Time:()=>Dr,UUID:()=>rf,default:()=>YW,useStore:()=>U_});i5.exports=LW(o5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=F_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=F_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=F_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/F_(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),u=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(u){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var MW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),rf=MW;rf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");rf.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};rf.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var PW=r=>new Se.prototype.jmini(r),Se=PW;Se.prototype={};Se.extend=function(r,a=Se){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Se.expando="__jmini_"+rf();var Va=(r,a)=>(r.queue.push(a),f2(r),r),f2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,f2(r)}}),nu=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},IW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Se.expando]||(Se.is.element(l)||Se.is.shadowRoot(l))&&(l[Se.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,f2(r),r};Se.extend({constructor:Se,jmini:function(r){return this.src=r,this.srcType=Se.is.what(r),this.queueProcess=!0,this.queue=[],IW(this,Se.is.jmini(r)?r.get():Se.is.element(r)?[r]:Se.is.elements(r)?r:Se.is.shadowRoot(r)?[r]:Se.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Se.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Se.prototype.jmini.prototype=Se.prototype;{let r=function(s,f,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,u)=>{if(!(Se.is.element(f)||Se.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(Se(f).for(u=>{if(s&&(Se.is.element(u)||Se.is.shadowRoot(u)))if(Se.is.string(s)||Se.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(Se.is.element(s))u.appendChild(s);else{Se.is.jmini(s)?s=s.get():Se.is.element(s)?s=[s]:Se.is.keyValueDictionary(s)&&(s=[Se(s)]);for(var h=0;h<s.length;h++)o(s[h],u)}}),f),l=(s,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(Se.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Se(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};Se.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let u=r(this,(h,p)=>s(h,p),1);return f?u:[]},await:function(s){return Va(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=s;return m=ou({passive:!0,capture:!1},m),this.for(g=>{if(!(Se.is.element(g)||Se.is.shadowRoot(g)))return;let{events:b}=g[Se.expando];if(h){let S=p;p=C=>{if(C.target){if(Se.is.string(h)){let k=C.target.closest(h);k&&(!k||S.call(k,C))}else if(Se.is.elements(h)){for(let k of h)if(C.target==k)return S.call(k,C)}}}}if(b[u]){let S=b[u];g.removeEventListener(S.eventType,S.callback,S.options)}b[u]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=Se.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Se.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>nu(this,o(s,a(this))))},empty:function(){return Va(this,()=>nu(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&Se.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>nu(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>nu(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],u=this[0];u||nu(this,Se()),(Se.is.element(u)||Se.is.shadowRoot(u))&&(Se.is.string(s)?f=u.querySelectorAll(s):Se.is.element(u)&&Se(s).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Se(m).find(h).for(g=>g)])})),nu(this,Se(f))})},parent:function(s){return Va(this,()=>{var f,u;let h=Se(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);nu(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;Se.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=Se(f);return nu(this,u)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(Se.is.element(f))for(let[u,h]of Object.entries(s)){if(Se.is.number(h)&&u.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[u]=h+"px";continue}f.style[u]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(u=>u.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&Se.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&Se.is.element(u)&&u.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return Se.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Se.flatArray=(r,a)=>{if(!Se.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Se.flatArray(l,"-R"):[l]);return o};Se.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[Se.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};Se.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};Se.Stringify=JSON.stringify;Se.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Se.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};Se.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Se.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Se.scope=r=>r();Se.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});Se.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),u)for(let S of Object.entries(u)){let C=S[0],k=(a=S[1])!=null?a:"";if(C=="data"&&Se.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else C=="for"?C="htmlFor":C=="tabindex"?C="tabIndex":C=="aria-label"&&(C="ariaLabel"),m[C]=k}if(f&&Se(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&Se(p).append(m),m};Se.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Se.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Se.localStrage={set:(r,a)=>{localStorage.setItem(r,Se.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Se.Objectify(a,a)}};Se.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Se.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(Se(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Se(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Se.getCursor=r=>{var a,o,l,s,f,u,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:m,y:g}};Se.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Se.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Se.is.keyValueDictionary(r)&&Se.is.keyValueDictionary(o))for(let l in o)Se.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Se.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Se.deepMerge(r,...a)};Se.deepCopy=r=>{if(Se.is.array(r))return r.map(a=>Se.deepCopy(a));if(Se.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=Se.deepCopy(l)}),a}return r};Se.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()}};Se.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Se.is={equal:function(r,a,o){return o==null||o?Se.Stringify(r)===Se.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===Se},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var zW=r=>new Dr.prototype.Time(r),Dr=zW;Dr.prototype={};var BW=function(r){Dr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};Se.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Dr,Time:BW,clone:function(){return Dr(this)},set:function(r){this.value=r;let a=Se.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Dr(r);return this.year==a.year},isSameMonth:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Dr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},toLangYMD:function(r){if(!this.validate)return"";let a=Dr(),o=a.diff(this);return o.dates==0?"\u4ECA\u65E5":o.dates==1?"\u6628\u65E5":o.dates>=-7&&o.dates<0?-1*o.dates+"\u65E5\u5F8C":o.dates<=7&&o.dates>0?o.dates+"\u65E5\u524D":this.isSameYear(a)?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D")},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(6-r.weekday)},diff:function(r){return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Se.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),l=r.clone().setFirstOfTheDay();return Math.floor((o.ms-l.ms)/a)}),hours:Se.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),l=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),minutes:Se.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),l=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),seconds:Se.scope(()=>{let a=this.clone().setMilliseconds(0),o=r.clone().setMilliseconds(0);return Math.floor((a.ms-o.ms)/1e3)}),ms:this.ms-r.ms}},getAge:function(r){let a=r||Dr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Dr);Dr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Dr};Dr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Dr(a+" 00:00")};Dr.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Dr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Dr.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=Dr(s).addYear(1):r=="month"?s=Dr(s).addMonth(1):r=="week"?s=Dr(s).addWeek(1):r=="day"?s=Dr(s).addDate(1):r=="hours"?s=Dr(s).addHours(1):r=="minutes"?s=Dr(s).addMinutes(1):r=="seconds"&&(s=Dr(s).addSeconds(1));return l};Dr.prototype.Time.prototype=Dr.prototype;var lc={},U_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=lc[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),lc[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=lc[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),lc[l]=a5(ou({},lc[l]),{value:ou(ou({},(f=lc[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=lc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=lc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete lc[r],!0)}},FW=(...[r,a,o])=>new Co.prototype.Interval(r,a,o),Co=FW;Co.prototype={};var jW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Co.abort(this.key),this.store(),this};Se.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:jW,store:function(){U_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return Co.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},Co);Co.abort=r=>{if(Se.is.number(r))return clearInterval(r);let a=U_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Co.get=r=>U_.get("Interval_"+r);Co.once=(r,a,o)=>Co(r,a,o).once();Co.start=(r,a,o)=>Co(r,a,o).start();Co.prototype.Interval.prototype=Co.prototype;var HW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=HW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>Wa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var UW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Se.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Se.Stringify(a.body||{}));let s=r;return Se.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=a5(ou({key:rf(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:ou(ou({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:l}),this};Se.extend({Fetcher:UW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,u=a.body,h=this,p=function(){return NW(this,null,function*(){if(!a.ok){Se.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(u,{reader:s,decoder:f});k&&o(M)}));return}let C=!1;for(;!C;){let{ok:k,done:L,data:M}=yield new n5(Zr.streamToContext(u,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(C=L,s.releaseLock()),l(M,L)}})};try{for(var m=OW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let C=b.value}}catch(C){S=[C]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let u=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:C,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:O}=S,j=RW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(C);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,C];let Q=Se.queryParams.set(ou({},O),String(this.url));m=yield fetch(Q,j).then(N=>Wa(this,null,function*(){return u=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield Se.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:u,status:h,statusText:p,body:m,requestTime:l,rawData:g};if(!u&&this.onErrorCB&&this.onErrorCB(b.body),u&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var VW=r=>new bn.prototype.Filer(r),bn=VW;bn.prototype={};var WW=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};Se.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:WW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(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}},bn);bn.fromFile=r=>Wa(void 0,null,function*(){return bn(r)});bn.fromBlob=(r,a)=>Wa(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 bn(s)});bn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return bn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});bn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?bn.fromBlob(o.body,a):bn({})});bn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?bn.fromBlob(o,a):bn({})});bn.prototype.Filer.prototype=bn.prototype;var qW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let u=s;u.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!Se.is.string(m)&&(b=Se.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},d2=qW;d2.getLocalIP=r=>{let a="";return Se.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};d2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};Se.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";Se.is.string(r)?a=r:Se.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(Se(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Se.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});Se.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}}};Se.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:f,To:u,name:h}=s;if(f<=r&&r<=u){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Se.interval=Co;Zr.setDefaultHeaders=()=>({});var YW=Se});var f5=Ue(W_=>{"use strict";(function(){"use strict";var r=ur(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),ke=1;ke<q;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,q,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Je){return String(Je)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Q=!1,N=!1,te=!1,_e=!1,re;re=Symbol.for("react.module.reference");function be(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===C||F||Q||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===re||D.getModuleId!==void 0))}function ye(D,q,pe){var ke=D.displayName;if(ke)return ke;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case u:var pe=D;return ge(pe._context)+".Provider";case p:return ye(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Je=He._init;try{return H(Je(ft))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,xe,we;function Ye(){}Ye.__reactDisabledLog=!0;function $e(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,xe=console.groupCollapsed,we=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function Pe(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:xe}),groupEnd:le({},D,{value:we})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var et=Y.ReactCurrentDispatcher,ut;function it(D,q,pe){{if(ut===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);ut=ke&&ke[1]||""}return`
|
|
150
|
+
`+ut+D}}var Tt=!1,wt;{var Ze=typeof WeakMap=="function"?WeakMap:Map;wt=new Ze}function Te(D,q){if(!D||Tt)return"";{var pe=wt.get(D);if(pe!==void 0)return pe}var ke;Tt=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=et.current,et.current=null,$e();try{if(q){var Je=function(){throw Error()};if(Object.defineProperty(Je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Je,[])}catch(la){ke=la}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(la){ke=la}D.call(Je.prototype)}}else{try{throw Error()}catch(la){ke=la}D()}}catch(la){if(la&&ke&&typeof la.stack=="string"){for(var Ke=la.stack.split(`
|
|
151
151
|
`),Ct=ke.stack.split(`
|
|
152
152
|
`),kt=Ke.length-1,Wt=Ct.length-1;kt>=1&&Wt>=0&&Ke[kt]!==Ct[Wt];)Wt--;for(;kt>=1&&Wt>=0;kt--,Wt--)if(Ke[kt]!==Ct[Wt]){if(kt!==1||Wt!==1)do if(kt--,Wt--,Wt<0||Ke[kt]!==Ct[Wt]){var $r=`
|
|
153
|
-
`+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&wt.set(D,$r),$r}while(kt>=1&&Wt>=0);break}}}finally{Tt=!1,et.current=ft,Pe(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",
|
|
153
|
+
`+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&wt.set(D,$r),$r}while(kt>=1&&Wt>=0);break}}}finally{Tt=!1,et.current=ft,Pe(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",ia=Ha?it(Ha):"";return typeof D=="function"&&wt.set(D,ia),ia}function ht(D,q,pe){return Te(D,!1)}function Lt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function jt(D,q,pe){if(D==null)return"";if(typeof D=="function")return Te(D,Lt(D));if(typeof D=="string")return it(D);switch(D){case m:return it("Suspense");case g:return it("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return ht(D.render);case b:return jt(D.type,q,pe);case S:{var ke=D,He=ke._payload,ft=ke._init;try{return jt(ft(He),q,pe)}catch(Je){}}}return""}var Ut=Object.prototype.hasOwnProperty,tr={},cr=Y.ReactDebugCurrentFrame;function Er(D){if(D){var q=D._owner,pe=jt(D.type,D._source,q?q.type:null);cr.setExtraStackFrame(pe)}else cr.setExtraStackFrame(null)}function ra(D,q,pe,ke,He){{var ft=Function.call.bind(Ut);for(var Je in D)if(ft(D,Je)){var Ke=void 0;try{if(typeof D[Je]!="function"){var Ct=Error((ke||"React class")+": "+pe+" type `"+Je+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Je]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Je](q,Je,ke,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(Er(He),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ke||"React class",pe,Je,typeof Ke),Er(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,Er(He),O("Failed %s type: %s",pe,Ke.message),Er(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function Cr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function dr(D){try{return gr(D),!1}catch(q){return!0}}function gr(D){return""+D}function pa(D){if(dr(D))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(D)),gr(D)}var xr=Y.ReactCurrentOwner,mr={key:!0,ref:!0,__self:!0,__source:!0},Mr,_a,Be;Be={};function lt(D){if(Ut.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function bt(D){if(Ut.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function $t(D,q){if(typeof D.ref=="string"&&xr.current&&q&&xr.current.stateNode!==q){var pe=H(xr.current.type);Be[pe]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',H(xr.current.type),D.ref),Be[pe]=!0)}}function Vt(D,q){{var pe=function(){Mr||(Mr=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function Rr(D,q){{var pe=function(){_a||(_a=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var vr=function(D,q,pe,ke,He,ft,Je){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Je,_owner:ft};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function Yr(D,q,pe,ke,He){{var ft,Je={},Ke=null,Ct=null;pe!==void 0&&(pa(pe),Ke=""+pe),bt(q)&&(pa(q.key),Ke=""+q.key),lt(q)&&(Ct=q.ref,$t(q,He));for(ft in q)Ut.call(q,ft)&&!mr.hasOwnProperty(ft)&&(Je[ft]=q[ft]);if(D&&D.defaultProps){var kt=D.defaultProps;for(ft in kt)Je[ft]===void 0&&(Je[ft]=kt[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Je,Wt),Ct&&Rr(Je,Wt)}return vr(D,Ke,Ct,He,ke,xr.current,Je)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=jt(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function ie(){{if($.current){var D=H($.current.type);if(D)return`
|
|
154
154
|
|
|
155
155
|
Check the render method of \``+D+"`."}return""}}function oe(D){{if(D!==void 0){var q=D.fileName.replace(/^.*[\\\/]/,""),pe=D.lineNumber;return`
|
|
156
156
|
|
|
157
157
|
Check your code at `+q+":"+pe+"."}return""}}var Oe={};function Ie(D){{var q=ie();if(!q){var pe=typeof D=="string"?D:D.displayName||D.name;pe&&(q=`
|
|
158
158
|
|
|
159
|
-
Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var ke="";D&&D._owner&&D._owner!==$.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ke),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];G(ke)&&Me(ke,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Je;!(Je=ft.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var ke=H(q);ra(pe,D.props,"prop",ke,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var ke=q[pe];if(ke!=="children"&&ke!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,ke,He,ft){{var Je=be(D);if(!Je){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ct=oe(He);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Je){var $r=q.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)We($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We($r,D)}if(Ut.call(q,"key")){var
|
|
159
|
+
Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var ke="";D&&D._owner&&D._owner!==$.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ke),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];G(ke)&&Me(ke,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Je;!(Je=ft.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var ke=H(q);ra(pe,D.props,"prop",ke,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var ke=q[pe];if(ke!=="children"&&ke!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,ke,He,ft){{var Je=be(D);if(!Je){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ct=oe(He);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Je){var $r=q.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)We($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We($r,D)}if(Ut.call(q,"key")){var ia=H(D),la=Object.keys(q).filter(function(qn){return qn!=="key"}),$a=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+$a]){var Nt=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";O(`A props object containing a "key" prop is being spread into JSX:
|
|
160
160
|
let props = %s;
|
|
161
161
|
<%s {...props} />
|
|
162
162
|
React keys must be passed directly to JSX without using spread:
|
|
163
163
|
let props = %s;
|
|
164
|
-
<%s key={someKey} {...props}
|
|
165
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
166
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ya]}})}function dq(r){var a=Sa.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function pq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function hq(r){return Gh.push(r),function(){Gh.splice(Gh.indexOf(r),1)}}function mq(r){if(!(!r||!cu)){var a=Sa.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=Sa.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=f)}return Sa.head.insertBefore(a,l),r}}function Zh(){for(var r=12,a="";r-- >0;)a+=vq[Math.random()*62|0];return a}function Bd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function D2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function $5(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _q(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat($5(r[o]),'" ')},"").trim()}function rg(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function A2(r){return r.size!==Cs.size||r.x!==Cs.x||r.y!==Cs.y||r.rotate!==Cs.rotate||r.flipX||r.flipY}function gq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),c="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),p={transform:"".concat(f," ").concat(c," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function bq(r){var a=r.transform,o=r.width,l=o===void 0?h2:o,s=r.height,f=s===void 0?h2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&j5?p+="translate(".concat(a.x/oc-l/2,"em, ").concat(a.y/oc-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/oc,"em), calc(-50% + ").concat(a.y/oc,"em)) "):p+="translate(".concat(a.x/oc,"em, ").concat(a.y/oc,"em) "),p+="scale(".concat(a.size/oc*(a.flipX?-1:1),", ").concat(a.size/oc*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function G5(){var r=H5,a=U5,o=xt.cssPrefix,l=xt.replacementClass,s=yq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(c,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function u2(){xt.autoAddCss&&!g5&&(mq(G5()),g5=!0)}function Cq(r){cu&&(eg?setTimeout(r,0):K5.push(r))}function rm(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?$5(r):"<".concat(a," ").concat(_q(l),">").concat(f.map(rm).join(""),"</").concat(a,">")}function b5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function kq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function v2(r){var a=kq(r);return a.length===1?a[0].toString(16):null}function Tq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function y5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function _2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=y5(a);typeof Kl.hooks.addPack=="function"&&!s?Kl.hooks.addPack(r,y5(a)):Kl.styles[r]=_t(_t({},Kl.styles[r]||{}),f),r==="fas"&&_2("fa",a)}function Aq(r){return~fq.indexOf(r)}function Lq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Aq(s)?s:null}function N2(r,a){return(X5[r]||{})[a]}function Nq(r,a){return(Q5[r]||{})[a]}function af(r,a){return(eE[r]||{})[a]}function rE(r){return J5[r]||{prefix:null,iconName:null}}function Oq(r){var a=Z5[r],o=N2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lc(){return L2}function ag(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ya:o,s=Kh[l][r],f=Xh[l][r]||Xh[l][s],c=r in Kl.styles?r:null;return f||c||null}function ng(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},fn(a,ya,"".concat(xt.cssPrefix,"-").concat(ya)),fn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),c=null,h=ya;(r.includes(f[ya])||r.some(function(m){return S5[ya].includes(m)}))&&(h=ya),(r.includes(f[za])||r.some(function(m){return S5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Lq(xt.cssPrefix,g);if(Md[g]?(g=Rq[h].includes(g)?oq[h][g]:g,c=g,m.prefix=g):Dq[h].indexOf(g)>-1?(c=g,m.prefix=ag(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ya]&&g!==f[za]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var S=c==="fa"?rE(m.iconName):{},w=af(m.prefix,m.iconName);S.prefix&&(c=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Md.far&&Md.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},O2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Md.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=af(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=lc()||"fas"),p}function Iq(r,a){var o=a.mixoutsTo;return w5=r,Pd={},Object.keys(Id).forEach(function(l){Pq.indexOf(l)===-1&&delete Id[l]}),w5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(o[c]=s[c]),Z_(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){o[c]||(o[c]={}),o[c][h]=s[c][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(c){Pd[c]||(Pd[c]=[]),Pd[c].push(f[c])})}l.provides&&l.provides(Id)}),o}function g2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=Pd[r]||[];return f.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function of(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Pd[r]||[];s.forEach(function(f){f.apply(null,o)})}function uu(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Id[r]?Id[r].apply(null,a):void 0}function b2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lc();if(a)return a=af(o,a)||a,b5(aE.definitions,o,a)||b5(Kl.styles,o,a)}function og(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return rm(l)})}}),Object.defineProperty(r,"node",{get:function(){if(cu){var l=Sa.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Hq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,c=r.transform;if(A2(c)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=rg(_t(_t({},f),{},{"transform-origin":"".concat(m.x+c.x/16,"em ").concat(m.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function Uq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,c=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_t(_t({},s),{},{id:c}),children:l}]}]}function M2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,c=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(re){return b.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(b.classes).join(" "),j={children:[],attributes:_t(_t({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};w&&(j.attributes[nf]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||Zh())},children:[p]}),delete j.attributes.title);var Q=_t(_t({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:c,symbol:h,styles:_t(_t({},F),b.styles)}),N=l.found&&o.found?uu("generateAbstractMask",Q)||{children:[],attributes:{}}:uu("generateAbstractIcon",Q)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return Q.children=te,Q.attributes=_e,h?Uq(Q):Hq(Q)}function C5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,m=_t(_t(_t({},c.attributes),f?{title:f}:{}),{},{class:c.classes.join(" ")});p&&(m[nf]="");var g=_t({},c.styles);A2(s)&&(g.transform=bq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=rg(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function Vq(r){var a=r.content,o=r.title,l=r.extra,s=_t(_t(_t({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=rg(l.styles);f.length>0&&(s.style=f);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),o&&c.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),c}function y2(r){var a=r[0],o=r[1],l=r.slice(4),s=x2(l,1),f=s[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.PRIMARY),fill:"currentColor",d:f[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:c}}function qq(r,a){!V5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function S2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lc()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:uu("missingIconAbstract")||{}};if(o==="fa"){var c=rE(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&f2[a]&&f2[a][r]){var h=f2[a][r];return l(y2(h))}qq(r,a),l(_t(_t({},Wq),{},{icon:xt.showMissingIcons&&r?uu("missingIconAbstract")||{}:{}}))})}function k5(r){var a=r.getAttribute?r.getAttribute(nf):null;return typeof a=="string"}function $q(r){var a=r.getAttribute?r.getAttribute(T2):null,o=r.getAttribute?r.getAttribute(E2):null;return a&&o}function Gq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Kq(){if(xt.autoReplaceSvg===!0)return J_.replace;var r=J_[xt.autoReplaceSvg];return r||J_.replace}function Xq(r){return Sa.createElementNS("http://www.w3.org/2000/svg",r)}function Qq(r){return Sa.createElement(r)}function oE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Xq:Qq:o;if(typeof r=="string")return Sa.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var f=r.children||[];return f.forEach(function(c){s.appendChild(oE(c,{ceFn:l}))}),s}function Jq(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function T5(r){r()}function iE(r,a){var o=typeof a=="function"?a:Q_;if(r.length===0)o();else{var l=T5;xt.mutateApproach===aq&&(l=ic.requestAnimationFrame||T5),l(function(){var s=Kq(),f=P2.begin("mutate");r.map(s),f(),o()})}}function lE(){I2=!0}function C2(){I2=!1}function E5(r){if(m5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?Q_:a,l=r.nodeCallback,s=l===void 0?Q_:l,f=r.pseudoElementsCallback,c=f===void 0?Q_:f,h=r.observeMutationsRoot,p=h===void 0?Sa:h;tg=new m5(function(m){if(!I2){var g=lc();Bd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!k5(b.addedNodes[0])&&(xt.searchPseudoElements&&c(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&c(b.target.parentNode),b.type==="attributes"&&k5(b.target)&&~cq.indexOf(b.attributeName))if(b.attributeName==="class"&&$q(b.target)){var S=ng(D2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(T2,w||g),k&&b.target.setAttribute(E2,k)}else Gq(b.target)&&s(b.target)})}}),cu&&tg.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zq(){tg&&tg.disconnect()}function eY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),c=f[0],h=f.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),o}function tY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=ng(D2(r));return s.prefix||(s.prefix=lc()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Nq(s.prefix,r.innerText)||N2(s.prefix,v2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function rY(r){var a=Bd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||Zh()):(a["aria-hidden"]="true",a.focusable="false")),a}function aY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Cs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function R5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=tY(r),l=o.iconName,s=o.prefix,f=o.rest,c=rY(r),h=g2("parseNodeAttributes",{},r),p=a.styleParser?eY(r):[];return _t({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Cs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:c}},h)}function sE(r){var a=xt.autoReplaceSvg==="nest"?R5(r,{styleParser:!1}):R5(r);return~a.extra.classes.indexOf(W5)?uu("generateLayersText",r,a):uu("generateSvgReplacementMutation",r,a)}function D5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!cu)return Promise.resolve();var o=Sa.documentElement.classList,l=function(b){return o.add("".concat(v5,"-").concat(b))},s=function(b){return o.remove("".concat(v5,"-").concat(b))},f=xt.autoFetchSvg?sc:R2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(nY));f.includes("fa")||f.push("fa");var c=[".".concat(W5,":not([").concat(nf,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(nf,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(c))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=P2.begin("onTree"),m=h.reduce(function(g,b){try{var S=sE(b);S&&g.push(S)}catch(w){V5||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){iE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function oY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;sE(r).then(function(o){o&&iE([o],a)})}function iY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:b2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:b2(s||{})),r(l,_t(_t({},o),{},{mask:s}))}}function pY(r){var a=r.replace(dY,""),o=Tq(a,0),l=o>=A5[0]&&o<=A5[1],s=a.length===2?a[0]===a[1]:!1;return{value:v2(s?a[0]:a),isSecondary:l||s}}function L5(r,a){var o="".concat(rq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Bd(r.children),c=f.filter(function(te){return te.getAttribute(m2)===a})[0],h=ic.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(lq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ya,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Xh[S][p[2].toLowerCase()]:sq[S][m],k=pY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=N2(w,L),j=O;if(Y){var F=Oq(L);F.iconName&&F.prefix&&(O=F.iconName,w=F.prefix)}if(O&&!M&&(!c||c.getAttribute(T2)!==w||c.getAttribute(E2)!==j)){r.setAttribute(o,j),c&&r.removeChild(c);var Q=aY(),N=Q.extra;N.attributes[m2]=a,S2(O,w).then(function(te){var _e=M2(_t(_t({},Q),{},{icons:{main:te,mask:O2()},prefix:w,iconName:j,extra:N,watchable:!0})),re=Sa.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(re,r.firstChild):r.appendChild(re),re.outerHTML=_e.map(function(be){return rm(be)}).join(`
|
|
167
|
-
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function
|
|
164
|
+
<%s key={someKey} {...props} />`,$a,ia,Nt,ia),I[ia+$a]=!0}}return D===l?Qe(Wt):Ae(Wt),Wt}}function ae(D,q,pe){return V(D,q,pe,!0)}function se(D,q,pe){return V(D,q,pe,!1)}var Ve=se,Fe=ae;W_.Fragment=l,W_.jsx=Ve,W_.jsxs=Fe})()});var Dt=Ue((hG,d5)=>{"use strict";d5.exports=f5()});var pE={};Rd(pE,{api:()=>To,config:()=>RY,counter:()=>zY,dom:()=>AY,findIconDefinition:()=>NY,icon:()=>MY,layer:()=>PY,library:()=>DY,noAuto:()=>EY,parse:()=>LY,text:()=>IY,toHtml:()=>OY});function h5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),o.push.apply(o,l)}return o}function mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?h5(Object(o),!0).forEach(function(l){fn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):h5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function rg(r){"@babel/helpers - typeof";return rg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},rg(r)}function XW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function m5(r,a){for(var o=0;o<a.length;o++){var l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function QW(r,a,o){return a&&m5(r.prototype,a),o&&m5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function fn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function R2(r,a){return ZW(r)||tq(r,a)||j5(r,a)||aq()}function rm(r){return JW(r)||eq(r)||j5(r)||rq()}function JW(r){if(Array.isArray(r))return _2(r)}function ZW(r){if(Array.isArray(r))return r}function eq(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function tq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,u,h;try{for(o=o.call(r);!(s=(u=o.next()).done)&&(l.push(u.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function j5(r,a){if(r){if(typeof r=="string")return _2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _2(r,a)}}function _2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=r[o];return l}function rq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
165
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function am(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ba]}})}function mq(r){var a=ya.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function vq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function _q(r){return Xh.push(r),function(){Xh.splice(Xh.indexOf(r),1)}}function gq(r){if(!(!r||!fc)){var a=ya.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=ya.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(l=f)}return ya.head.insertBefore(a,l),r}}function tm(){for(var r=12,a="";r-- >0;)a+=bq[Math.random()*62|0];return a}function Fd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function O2(r){return r.classList?Fd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function Q5(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function yq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(Q5(r[o]),'" ')},"").trim()}function og(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function M2(r){return r.size!==xs.size||r.x!==xs.x||r.y!==xs.y||r.rotate!==xs.rotate||r.flipX||r.flipY}function Sq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),p={transform:"".concat(f," ").concat(u," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function wq(r){var a=r.transform,o=r.width,l=o===void 0?g2:o,s=r.height,f=s===void 0?g2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&W5?p+="translate(".concat(a.x/iu-l/2,"em, ").concat(a.y/iu-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/iu,"em), calc(-50% + ").concat(a.y/iu,"em)) "):p+="translate(".concat(a.x/iu,"em, ").concat(a.y/iu,"em) "),p+="scale(".concat(a.size/iu*(a.flipX?-1:1),", ").concat(a.size/iu*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function J5(){var r=q5,a=Y5,o=xt.cssPrefix,l=xt.replacementClass,s=Cq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function p2(){xt.autoAddCss&&!w5&&(gq(J5()),w5=!0)}function Tq(r){fc&&(ag?setTimeout(r,0):Z5.push(r))}function nm(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?Q5(r):"<".concat(a," ").concat(yq(l),">").concat(f.map(nm).join(""),"</").concat(a,">")}function C5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Rq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function y2(r){var a=Rq(r);return a.length===1?a[0].toString(16):null}function Dq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function x5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function S2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=x5(a);typeof Xl.hooks.addPack=="function"&&!s?Xl.hooks.addPack(r,x5(a)):Xl.styles[r]=mt(mt({},Xl.styles[r]||{}),f),r==="fas"&&S2("fa",a)}function Oq(r){return~hq.indexOf(r)}function Mq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Oq(s)?s:null}function I2(r,a){return(eE[r]||{})[a]}function Pq(r,a){return(tE[r]||{})[a]}function nf(r,a){return(nE[r]||{})[a]}function iE(r){return rE[r]||{prefix:null,iconName:null}}function Iq(r){var a=aE[r],o=I2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function su(){return P2}function ig(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Qh[l][r],f=Jh[l][r]||Jh[l][s],u=r in Xl.styles?r:null;return f||u||null}function lg(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},fn(a,ba,"".concat(xt.cssPrefix,"-").concat(ba)),fn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),u=null,h=ba;(r.includes(f[ba])||r.some(function(m){return k5[ba].includes(m)}))&&(h=ba),(r.includes(f[za])||r.some(function(m){return k5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Mq(xt.cssPrefix,g);if(Pd[g]?(g=Lq[h].includes(g)?sq[h][g]:g,u=g,m.prefix=g):Nq[h].indexOf(g)>-1?(u=g,m.prefix=ig(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ba]&&g!==f[za]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var S=u==="fa"?iE(m.iconName):{},C=nf(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||C||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Pd.far&&Pd.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},z2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Pd.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=nf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=su()||"fas"),p}function Fq(r,a){var o=a.mixoutsTo;return T5=r,Id={},Object.keys(zd).forEach(function(l){Bq.indexOf(l)===-1&&delete zd[l]}),T5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),rg(s[u])==="object"&&Object.keys(s[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=s[u][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(u){Id[u]||(Id[u]=[]),Id[u].push(f[u])})}l.provides&&l.provides(zd)}),o}function w2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=Id[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(l))}),a}function lf(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Id[r]||[];s.forEach(function(f){f.apply(null,o)})}function uc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return zd[r]?zd[r].apply(null,a):void 0}function C2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||su();if(a)return a=nf(o,a)||a,C5(lE.definitions,o,a)||C5(Xl.styles,o,a)}function sg(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return nm(l)})}}),Object.defineProperty(r,"node",{get:function(){if(fc){var l=ya.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Wq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,u=r.transform;if(M2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=og(mt(mt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function qq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,u=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:u}),children:l}]}]}function B2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,u=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,C=S===void 0?!1:S,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(re){return b.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(b.classes).join(" "),j={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};C&&(j.attributes[of]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||tm())},children:[p]}),delete j.attributes.title);var Q=mt(mt({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:u,symbol:h,styles:mt(mt({},F),b.styles)}),N=l.found&&o.found?uc("generateAbstractMask",Q)||{children:[],attributes:{}}:uc("generateAbstractIcon",Q)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return Q.children=te,Q.attributes=_e,h?qq(Q):Wq(Q)}function E5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var g=mt({},u.styles);M2(s)&&(g.transform=wq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=og(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function Yq(r){var a=r.content,o=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=og(l.styles);f.length>0&&(s.style=f);var u=[];return u.push({tag:"span",attributes:s,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function x2(r){var a=r[0],o=r[1],l=r.slice(4),s=R2(l,1),f=s[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function Gq(r,a){!$5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function k2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=su()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:uc("missingIconAbstract")||{}};if(o==="fa"){var u=iE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&m2[a]&&m2[a][r]){var h=m2[a][r];return l(x2(h))}Gq(r,a),l(mt(mt({},$q),{},{icon:xt.showMissingIcons&&r?uc("missingIconAbstract")||{}:{}}))})}function D5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Xq(r){var a=r.getAttribute?r.getAttribute(A2):null,o=r.getAttribute?r.getAttribute(L2):null;return a&&o}function Qq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Jq(){if(xt.autoReplaceSvg===!0)return tg.replace;var r=tg[xt.autoReplaceSvg];return r||tg.replace}function Zq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function eY(r){return ya.createElement(r)}function cE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Zq:eY:o;if(typeof r=="string")return ya.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(u){s.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){s.appendChild(cE(u,{ceFn:l}))}),s}function tY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function A5(r){r()}function uE(r,a){var o=typeof a=="function"?a:eg;if(r.length===0)o();else{var l=A5;xt.mutateApproach===iq&&(l=lu.requestAnimationFrame||A5),l(function(){var s=Jq(),f=F2.begin("mutate");r.map(s),f(),o()})}}function fE(){j2=!0}function E2(){j2=!1}function L5(r){if(b5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?eg:a,l=r.nodeCallback,s=l===void 0?eg:l,f=r.pseudoElementsCallback,u=f===void 0?eg:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;ng=new b5(function(m){if(!j2){var g=su();Fd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!D5(b.addedNodes[0])&&(xt.searchPseudoElements&&u(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&u(b.target.parentNode),b.type==="attributes"&&D5(b.target)&&~pq.indexOf(b.attributeName))if(b.attributeName==="class"&&Xq(b.target)){var S=lg(O2(b.target)),C=S.prefix,k=S.iconName;b.target.setAttribute(A2,C||g),k&&b.target.setAttribute(L2,k)}else Qq(b.target)&&s(b.target)})}}),fc&&ng.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function rY(){ng&&ng.disconnect()}function aY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(l[u]=h.join(":").trim()),l},{})),o}function nY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=lg(O2(r));return s.prefix||(s.prefix=su()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Pq(s.prefix,r.innerText)||I2(s.prefix,y2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function oY(r){var a=Fd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||tm()):(a["aria-hidden"]="true",a.focusable="false")),a}function iY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function N5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=nY(r),l=o.iconName,s=o.prefix,f=o.rest,u=oY(r),h=w2("parseNodeAttributes",{},r),p=a.styleParser?aY(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:xs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:u}},h)}function dE(r){var a=xt.autoReplaceSvg==="nest"?N5(r,{styleParser:!1}):N5(r);return~a.extra.classes.indexOf(G5)?uc("generateLayersText",r,a):uc("generateSvgReplacementMutation",r,a)}function O5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!fc)return Promise.resolve();var o=ya.documentElement.classList,l=function(b){return o.add("".concat(y5,"-").concat(b))},s=function(b){return o.remove("".concat(y5,"-").concat(b))},f=xt.autoFetchSvg?cu:N2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(lY));f.includes("fa")||f.push("fa");var u=[".".concat(G5,":not([").concat(of,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(of,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Fd(r.querySelectorAll(u))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=F2.begin("onTree"),m=h.reduce(function(g,b){try{var S=dE(b);S&&g.push(S)}catch(C){$5||C.name==="MissingIcon"&&console.error(C)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){uE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function sY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;dE(r).then(function(o){o&&uE([o],a)})}function cY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:C2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:C2(s||{})),r(l,mt(mt({},o),{},{mask:s}))}}function vY(r){var a=r.replace(mY,""),o=Dq(a,0),l=o>=M5[0]&&o<=M5[1],s=a.length===2?a[0]===a[1]:!1;return{value:y2(s?a[0]:a),isSecondary:l||s}}function P5(r,a){var o="".concat(oq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Fd(r.children),u=f.filter(function(te){return te.getAttribute(b2)===a})[0],h=lu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(uq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ba,C=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Jh[S][p[2].toLowerCase()]:fq[S][m],k=vY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=I2(C,L),j=O;if(Y){var F=Iq(L);F.iconName&&F.prefix&&(O=F.iconName,C=F.prefix)}if(O&&!M&&(!u||u.getAttribute(A2)!==C||u.getAttribute(L2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Q=iY(),N=Q.extra;N.attributes[b2]=a,k2(O,C).then(function(te){var _e=B2(mt(mt({},Q),{},{icons:{main:te,mask:z2()},prefix:C,iconName:j,extra:N,watchable:!0})),re=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(re,r.firstChild):r.appendChild(re),re.outerHTML=_e.map(function(be){return nm(be)}).join(`
|
|
167
|
+
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function _Y(r){return Promise.all([P5(r,"::before"),P5(r,"::after")])}function gY(r){return r.parentNode!==document.head&&!~lq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(b2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function I5(r){if(fc)return new Promise(function(a,o){var l=Fd(r.querySelectorAll("*")).filter(gY).map(_Y),s=F2.begin("searchPseudoElements");fE(),Promise.all(l).then(function(){s(),E2(),a()}).catch(function(){s(),E2(),o()})})}function F5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||a)&&(r.attributes.fill="black"),r}function wY(r){return r.tag==="g"?r.children:[r]}var v5,D2,H5,U5,V5,nq,_5,g5,lu,ya,b5,q_,gG,fc,W5,Y_,$_,G_,K_,X_,sc,g2,q5,Y5,of,b2,oq,A2,L2,y5,iq,lq,$5,ba,za,N2,Qh,Jh,Zh,sq,cq,G5,uq,fq,K5,dq,pq,af,em,hq,Kh,S5,X5,Bd,xt,Xh,iu,xs,bq,Cq,w5,xq,cc,Xl,Z5,kq,ag,Eq,h2,Q_,J_,Z_,Pd,Aq,Lq,P2,eE,tE,rE,aE,nE,Nq,oE,z2,k5,zq,T5,Id,zd,Bq,lE,jq,Hq,Uq,To,Vq,m2,$q,R5,T2,Gh,Kq,sE,F2,eg,tg,j2,ng,lY,cu,uY,fY,dY,pY,hY,mY,M5,bY,z5,yY,B5,SY,v2,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,zY,hE=EV(()=>{v5=function(){},D2={},H5={},U5=null,V5={mark:v5,measure:v5};try{typeof window!="undefined"&&(D2=window),typeof document!="undefined"&&(H5=document),typeof MutationObserver!="undefined"&&(U5=MutationObserver),typeof performance!="undefined"&&(V5=performance)}catch(r){}nq=D2.navigator||{},_5=nq.userAgent,g5=_5===void 0?"":_5,lu=D2,ya=H5,b5=U5,q_=V5,gG=!!lu.document,fc=!!ya.documentElement&&!!ya.head&&typeof ya.addEventListener=="function"&&typeof ya.createElement=="function",W5=~g5.indexOf("MSIE")||~g5.indexOf("Trident/"),sc="___FONT_AWESOME___",g2=16,q5="fa",Y5="svg-inline--fa",of="data-fa-i2svg",b2="data-fa-pseudo-element",oq="data-fa-pseudo-element-pending",A2="data-prefix",L2="data-icon",y5="fontawesome-i2svg",iq="async",lq=["HTML","HEAD","STYLE","SCRIPT"],$5=function(){try{return!1}catch(r){return!1}}(),ba="classic",za="sharp",N2=[ba,za];Qh=am((Y_={},fn(Y_,ba,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),fn(Y_,za,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Y_)),Jh=am(($_={},fn($_,ba,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),fn($_,za,{solid:"fass",regular:"fasr",light:"fasl"}),$_)),Zh=am((G_={},fn(G_,ba,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),fn(G_,za,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),G_)),sq=am((K_={},fn(K_,ba,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),fn(K_,za,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),K_)),cq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,G5="fa-layers-text",uq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,fq=am((X_={},fn(X_,ba,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),fn(X_,za,{900:"fass",400:"fasr",300:"fasl"}),X_)),K5=[1,2,3,4,5,6,7,8,9,10],dq=K5.concat([11,12,13,14,15,16,17,18,19,20]),pq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},em=new Set;Object.keys(Jh[ba]).map(em.add.bind(em));Object.keys(Jh[za]).map(em.add.bind(em));hq=[].concat(N2,rm(em),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",af.GROUP,af.SWAP_OPACITY,af.PRIMARY,af.SECONDARY]).concat(K5.map(function(r){return"".concat(r,"x")})).concat(dq.map(function(r){return"w-".concat(r)})),Kh=lu.FontAwesomeConfig||{};ya&&typeof ya.querySelector=="function"&&(S5=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],S5.forEach(function(r){var a=R2(r,2),o=a[0],l=a[1],s=vq(mq(o));s!=null&&(Kh[l]=s)}));X5={styleDefault:"solid",familyDefault:"classic",cssPrefix:q5,replacementClass:Y5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Kh.familyPrefix&&(Kh.cssPrefix=Kh.familyPrefix);Bd=mt(mt({},X5),Kh);Bd.autoReplaceSvg||(Bd.observeMutations=!1);xt={};Object.keys(X5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Bd[r]=o,Xh.forEach(function(l){return l(xt)})},get:function(){return Bd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Bd.cssPrefix=a,Xh.forEach(function(o){return o(xt)})},get:function(){return Bd.cssPrefix}});lu.FontAwesomeConfig=xt;Xh=[];iu=g2,xs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};bq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";Cq=`:root, :host {
|
|
168
168
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
169
169
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
170
170
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
@@ -920,10 +920,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
920
920
|
.fad.fa-inverse,
|
|
921
921
|
.fa-duotone.fa-inverse {
|
|
922
922
|
color: var(--fa-inverse, #fff);
|
|
923
|
-
}`;
|
|
924
|
-
`);o.setAttribute(nf,""),o.innerHTML=c}};I2=!1;tg=null;nY=Kl.styles;sc=new Set;R2.map(function(r){sc.add("fa-".concat(r))});Object.keys(Kh[ya]).map(sc.add.bind(sc));Object.keys(Kh[za]).map(sc.add.bind(sc));sc=em(sc);lY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Cs:l,f=o.symbol,c=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,N=a.iconName,te=a.icon;return og(_t({type:"icon"},a),function(){return of("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||Zh()):(O["aria-hidden"]="true",O.focusable="false")),M2({icons:{main:y2(te),mask:p?y2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:N,transform:_t(_t({},Cs),s),symbol:c,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},sY={mixout:function(){return{icon:iY(lY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=D5,o.nodeCallback=oY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?Sa:l,f=o.callback,c=f===void 0?function(){}:f;return D5(s,c)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,c=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([S2(s,h),g.iconName?S2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=x2(L,2),Y=M[0],O=M[1];w([o,M2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:c,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.transform,h=o.styles,p=rg(h);p.length>0&&(s.style=p);var m;return A2(c)&&(m=uu("generateAbstractTransformGrouping",{main:f,transform:c,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},uY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return og({type:"layer"},function(){of("beforeDOMElementCreation",{assembler:o,params:l});var c=[];return o(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(em(f)).join(" ")},children:c}]})}}}},cY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return og({type:"counter",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),Vq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(em(h))}})})}}}},fY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Cs:s,c=l.title,h=c===void 0?null:c,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,w=S===void 0?{}:S;return og({type:"text",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),C5({content:o,transform:_t(_t({},Cs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(em(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,c=l.extra,h=null,p=null;if(j5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([o,C5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:c,watchable:!0})])}}},dY=new RegExp('"',"ug"),A5=[1105920,1112319];vY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=N5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?Sa:l;xt.searchPseudoElements&&N5(s)}}},O5=!1,_Y={mixout:function(){return{dom:{unwatch:function(){lE(),O5=!0}}}},hooks:function(){return{bootstrap:function(){E5(g2("mutationObserverCallbacks",{}))},noAuto:function(){Zq()},watch:function(o){var l=o.observeMutationsRoot;O5?C2():E5(g2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},M5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),c=f[0],h=f.slice(1).join("-");if(c&&h==="h")return l.flipX=!0,l;if(c&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(c){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},gY={mixout:function(){return{parse:{transform:function(o){return M5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=M5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,c=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:_t({},w.outer),children:[{tag:"g",attributes:_t({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:_t(_t({},l.icon.attributes),w.path)}]}]}}}},d2={x:0,y:0,width:"100%",height:"100%"};yY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?ng(s.split(" ").map(function(c){return c.trim()})):O2();return f.prefix||(f.prefix=lc()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=c.width,S=c.icon,w=gq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:_t(_t({},d2),{},{fill:"white"})},L=g.children?{children:g.children.map(P5)}:{},M={tag:"g",attributes:_t({},w.inner),children:[P5(_t({tag:g.tag,attributes:_t(_t({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:_t({},w.outer),children:[M]},O="mask-".concat(h||Zh()),j="clip-".concat(h||Zh()),F={tag:"mask",attributes:_t(_t({},d2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:bY(S)},F]};return l.push(Q,{tag:"rect",attributes:_t({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},d2)}),{children:l,attributes:s}}}},SY={provides:function(a){var o=!1;ic.matchMedia&&(o=ic.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:_t(_t({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=_t(_t({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:_t(_t({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:_t(_t({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_t(_t({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:_t(_t({},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:_t(_t({},c),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:_t(_t({},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:_t(_t({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},wY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},CY=[Sq,sY,uY,cY,fY,vY,_Y,gY,yY,SY,wY];Iq(CY,{mixoutsTo:ko});xY=ko.noAuto,kY=ko.config,TY=ko.library,EY=ko.dom,RY=ko.parse,DY=ko.findIconDefinition,AY=ko.toHtml,LY=ko.icon,NY=ko.layer,OY=ko.text,MY=ko.counter});var fE=Ue(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===m||Te===f||Te===s||Te===b||Te===S||typeof Te=="object"&&Te!==null&&(Te.$$typeof===k||Te.$$typeof===w||Te.$$typeof===c||Te.$$typeof===h||Te.$$typeof===g||Te.$$typeof===M||Te.$$typeof===Y||Te.$$typeof===O||Te.$$typeof===L)}function F(Te){if(typeof Te=="object"&&Te!==null){var pt=Te.$$typeof;switch(pt){case a:var Lt=Te.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var jt=Lt&&Lt.$$typeof;switch(jt){case h:case g:case k:case w:case c:return jt;default:return pt}}case o:return pt}}}var Q=p,N=m,te=h,_e=c,re=a,be=g,ye=l,ge=k,H=w,le=o,fe=f,B=s,W=b,ne=!1;function ee(Te){return ne||(ne=!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.")),de(Te)||F(Te)===p}function de(Te){return F(Te)===m}function Ce(Te){return F(Te)===h}function Se(Te){return F(Te)===c}function Ye(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function $e(Te){return F(Te)===g}function Pe(Te){return F(Te)===l}function et(Te){return F(Te)===k}function ct(Te){return F(Te)===w}function lt(Te){return F(Te)===o}function Tt(Te){return F(Te)===f}function wt(Te){return F(Te)===s}function Ze(Te){return F(Te)===b}ea.AsyncMode=Q,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=re,ea.ForwardRef=be,ea.Fragment=ye,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=Ce,ea.isContextProvider=Se,ea.isElement=Ye,ea.isForwardRef=$e,ea.isFragment=Pe,ea.isLazy=et,ea.isMemo=ct,ea.isPortal=lt,ea.isProfiler=Tt,ea.isStrictMode=wt,ea.isSuspense=Ze,ea.isValidElementType=j,ea.typeOf=F})()});var z2=Ue((_G,dE)=>{"use strict";dE.exports=fE()});var mE=Ue((gG,hE)=>{"use strict";var pE=Object.getOwnPropertySymbols,PY=Object.prototype.hasOwnProperty,IY=Object.prototype.propertyIsEnumerable;function zY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function BY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}hE.exports=BY()?Object.assign:function(r,a){for(var o,l=zY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var c in o)PY.call(o,c)&&(l[c]=o[c]);if(pE){s=pE(o);for(var h=0;h<s.length;h++)IY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var B2=Ue((bG,vE)=>{"use strict";var FY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";vE.exports=FY});var F2=Ue((yG,_E)=>{_E.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var wE=Ue((SG,SE)=>{"use strict";var j2=function(){};gE=B2(),ig={},bE=F2(),j2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var gE,ig,bE;function yE(r,a,o,l,s){for(var f in r)if(bE(r,f)){var c;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[f](a,f,l,o,null,gE)}catch(m){c=m}if(c&&!(c instanceof Error)&&j2((l||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in ig)){ig[c.message]=!0;var p=s?s():"";j2("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}yE.resetWarningCache=function(){ig={}};SE.exports=yE});var kE=Ue((wG,xE)=>{"use strict";var jY=z2(),HY=mE(),Fd=B2(),H2=F2(),CE=wE(),jd=function(){};jd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function lg(){return null}xE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);if(typeof le=="function")return le}var f="<<anonymous>>",c={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:O,shape:Q,exact:N};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},fe=0;function B(ne,ee,de,Ce,Se,Ye,$e){if(Ce=Ce||f,Ye=Ye||de,$e!==Fd){if(a){var Pe=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 Pe.name="Invariant Violation",Pe}else if(typeof console!="undefined"){var et=Ce+":"+de;!le[et]&&fe<3&&(jd("You are manually calling a React.PropTypes validation function for the `"+Ye+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[et]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+Se+" `"+Ye+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new p("The "+Se+" `"+Ye+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:H(ee,de,Ce,Se,Ye)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var Ce=fe[B],Se=re(Ce);if(Se!==H){var Ye=be(Ce);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ye+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(lg)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var Ce=re(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected an array."))}for(var Se=0;Se<de.length;Se++){var Ye=H(de,Se,W,ne,ee+"["+Se+"]",Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function w(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!jY.isValidElementType(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,Ce=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(H){if(!Array.isArray(H))return arguments.length>1?jd("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])."):jd("Invalid argument supplied to oneOf, expected an array."),lg;function le(fe,B,W,ne,ee){for(var de=fe[B],Ce=0;Ce<H.length;Ce++)if(h(de,H[Ce]))return null;var Se=JSON.stringify(H,function($e,Pe){var et=be(Pe);return et==="symbol"?String(Pe):Pe});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+Se+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected an object."));for(var Se in de)if(H2(de,Se)){var Ye=H(de,Se,W,ne,ee+"."+Se,Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function O(H){if(!Array.isArray(H))return jd("Invalid argument supplied to oneOfType, expected an instance of array."),lg;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return jd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(fe)+" at index "+le+"."),lg}function B(W,ne,ee,de,Ce){for(var Se=[],Ye=0;Ye<H.length;Ye++){var $e=H[Ye],Pe=$e(W,ne,ee,de,Ce,Fd);if(Pe==null)return null;Pe.data&&H2(Pe.data,"expectedType")&&Se.push(Pe.data.expectedType)}var et=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+de+" `"+Ce+"` supplied to "+("`"+ee+"`"+et+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Q(H){function le(fe,B,W,ne,ee){var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+W+"`, expected `object`."));for(var Se in H){var Ye=H[Se];if(typeof Ye!="function")return F(W,ne,ee,Se,be(Ye));var $e=Ye(de,Se,W,ne,ee+"."+Se,Fd);if($e)return $e}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+W+"`, expected `object`."));var Se=HY({},fe[B],H);for(var Ye in Se){var $e=H[Ye];if(H2(H,Ye)&&typeof $e!="function")return F(W,ne,ee,Ye,be($e));if(!$e)return new p("Invalid "+ne+" `"+ee+"` key `"+Ye+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
|
|
925
|
-
Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Pe=$e(de,Ye,W,ne,ee+"."+Ye,
|
|
926
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ne=B.beat,ee=B.fade,de=B.beatFade,Ce=B.bounce,Se=B.shake,Ye=B.flash,$e=B.spin,Pe=B.spinPulse,et=B.spinReverse,ct=B.pulse,lt=B.fixedWidth,Tt=B.inverse,wt=B.border,Ze=B.listItem,Te=B.flip,pt=B.size,Lt=B.rotation,jt=B.pull,Ut=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":Ce,"fa-shake":Se,"fa-flash":Ye,"fa-spin":$e,"fa-spin-reverse":et,"fa-spin-pulse":Pe,"fa-pulse":ct,"fa-fw":lt,"fa-inverse":Tt,"fa-border":wt,"fa-li":Ze,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},g(W,"fa-".concat(pt),typeof pt!="undefined"&&pt!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(jt),typeof jt!="undefined"&&jt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ut).map(function(er){return Ut[er]?er:null}).filter(function(er){return er})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=Q(ne.slice(0,ee)),Ce=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=Ce:W[de]=Ce,W},{})}function re(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function($e){return re(B,$e)}),de=Object.keys(W.attributes||{}).reduce(function($e,Pe){var et=W.attributes[Pe];switch(Pe){case"class":$e.attrs.className=et,delete W.attributes.class;break;case"style":$e.attrs.style=_e(et);break;default:Pe.indexOf("aria-")===0||Pe.indexOf("data-")===0?$e.attrs[Pe.toLowerCase()]=et:$e.attrs[Q(Pe)]=et}return $e},{attrs:{}}),Ce=ne.style,Se=Ce===void 0?{}:Ce,Ye=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),Se),B.apply(void 0,[W.tag,p(p({},de.attrs),Ye)].concat(w(ee)))}var be=!1;try{be=!1}catch(B){}function ye(){if(!be&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=c.default.forwardRef(function(B,W){var ne=B.icon,ee=B.mask,de=B.symbol,Ce=B.className,Se=B.title,Ye=B.titleId,$e=B.maskId,Pe=ge(ne),et=H("classes",[].concat(w(j(B)),w(Ce.split(" ")))),ct=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ge(ee)),Tt=a.icon(Pe,p(p(p(p({},et),ct),lt),{},{symbol:de,title:Se,titleId:Ye,maskId:$e}));if(!Tt)return ye("Could not find icon",Pe),null;var wt=Tt.abstract,Ze={ref:W};return Object.keys(B).forEach(function(Te){le.defaultProps.hasOwnProperty(Te)||(Ze[Te]=B[Te])}),fe(wt[0],Ze)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var fe=re.bind(null,c.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var BE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var NE="fas",OE="xmark",ME=384,PE=512,U2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],IE="f00d",zE="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";Wo.definition={prefix:NE,iconName:OE,icon:[ME,PE,U2,IE,zE]};Wo.faXmark=Wo.definition;Wo.prefix=NE;Wo.iconName=OE;Wo.width=ME;Wo.height=PE;Wo.ligatures=U2;Wo.unicode=IE;Wo.svgPathData=zE;Wo.aliases=U2});var FE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Zn=BE();qo.definition={prefix:Zn.prefix,iconName:Zn.iconName,icon:[Zn.width,Zn.height,Zn.aliases,Zn.unicode,Zn.svgPathData]};qo.faTimes=qo.definition;qo.prefix=Zn.prefix;qo.iconName=Zn.iconName;qo.width=Zn.width;qo.height=Zn.height;qo.ligatures=Zn.aliases;qo.unicode=Zn.unicode;qo.svgPathData=Zn.svgPathData;qo.aliases=Zn.aliases});var YE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var jE="fas",HE="angle-right",UE=320,VE=512,V2=[8250],WE="f105",qE="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";Yo.definition={prefix:jE,iconName:HE,icon:[UE,VE,V2,WE,qE]};Yo.faAngleRight=Yo.definition;Yo.prefix=jE;Yo.iconName=HE;Yo.width=UE;Yo.height=VE;Yo.ligatures=V2;Yo.unicode=WE;Yo.svgPathData=qE;Yo.aliases=V2});var ZE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var $E="fas",GE="angle-left",KE=320,XE=512,W2=[8249],QE="f104",JE="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";$o.definition={prefix:$E,iconName:GE,icon:[KE,XE,W2,QE,JE]};$o.faAngleLeft=$o.definition;$o.prefix=$E;$o.iconName=GE;$o.width=KE;$o.height=XE;$o.ligatures=W2;$o.unicode=QE;$o.svgPathData=JE;$o.aliases=W2});var iR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eR="fas",tR="angle-up",rR=448,aR=512,q2=[8963],nR="f106",oR="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";Go.definition={prefix:eR,iconName:tR,icon:[rR,aR,q2,nR,oR]};Go.faAngleUp=Go.definition;Go.prefix=eR;Go.iconName=tR;Go.width=rR;Go.height=aR;Go.ligatures=q2;Go.unicode=nR;Go.svgPathData=oR;Go.aliases=q2});var pR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var lR="fas",sR="angle-down",uR=448,cR=512,Y2=[8964],fR="f107",dR="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";Ko.definition={prefix:lR,iconName:sR,icon:[uR,cR,Y2,fR,dR]};Ko.faAngleDown=Ko.definition;Ko.prefix=lR;Ko.iconName=sR;Ko.width=uR;Ko.height=cR;Ko.ligatures=Y2;Ko.unicode=fR;Ko.svgPathData=dR;Ko.aliases=Y2});var yR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var hR="fas",mR="chevron-left",vR=320,_R=512,$2=[9001],gR="f053",bR="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";Xo.definition={prefix:hR,iconName:mR,icon:[vR,_R,$2,gR,bR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=hR;Xo.iconName=mR;Xo.width=vR;Xo.height=_R;Xo.ligatures=$2;Xo.unicode=gR;Xo.svgPathData=bR;Xo.aliases=$2});var ER=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var SR="fas",wR="chevron-right",CR=320,xR=512,G2=[9002],kR="f054",TR="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:SR,iconName:wR,icon:[CR,xR,G2,kR,TR]};Qo.faChevronRight=Qo.definition;Qo.prefix=SR;Qo.iconName=wR;Qo.width=CR;Qo.height=xR;Qo.ligatures=G2;Qo.unicode=kR;Qo.svgPathData=TR;Qo.aliases=G2});var MR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var RR="fas",DR="chevron-up",AR=512,LR=512,K2=[],NR="f077",OR="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";Jo.definition={prefix:RR,iconName:DR,icon:[AR,LR,K2,NR,OR]};Jo.faChevronUp=Jo.definition;Jo.prefix=RR;Jo.iconName=DR;Jo.width=AR;Jo.height=LR;Jo.ligatures=K2;Jo.unicode=NR;Jo.svgPathData=OR;Jo.aliases=K2});var HR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var PR="fas",IR="chevron-down",zR=512,BR=512,X2=[],FR="f078",jR="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";Zo.definition={prefix:PR,iconName:IR,icon:[zR,BR,X2,FR,jR]};Zo.faChevronDown=Zo.definition;Zo.prefix=PR;Zo.iconName=IR;Zo.width=zR;Zo.height=BR;Zo.ligatures=X2;Zo.unicode=FR;Zo.svgPathData=jR;Zo.aliases=X2});var GR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var UR="fas",VR="caret-left",WR=256,qR=512,Q2=[],YR="f0d9",$R="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";ei.definition={prefix:UR,iconName:VR,icon:[WR,qR,Q2,YR,$R]};ei.faCaretLeft=ei.definition;ei.prefix=UR;ei.iconName=VR;ei.width=WR;ei.height=qR;ei.ligatures=Q2;ei.unicode=YR;ei.svgPathData=$R;ei.aliases=Q2});var tD=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var KR="fas",XR="caret-right",QR=256,JR=512,J2=[],ZR="f0da",eD="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";ti.definition={prefix:KR,iconName:XR,icon:[QR,JR,J2,ZR,eD]};ti.faCaretRight=ti.definition;ti.prefix=KR;ti.iconName=XR;ti.width=QR;ti.height=JR;ti.ligatures=J2;ti.unicode=ZR;ti.svgPathData=eD;ti.aliases=J2});var sD=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var rD="fas",aD="caret-up",nD=320,oD=512,Z2=[],iD="f0d8",lD="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";ri.definition={prefix:rD,iconName:aD,icon:[nD,oD,Z2,iD,lD]};ri.faCaretUp=ri.definition;ri.prefix=rD;ri.iconName=aD;ri.width=nD;ri.height=oD;ri.ligatures=Z2;ri.unicode=iD;ri.svgPathData=lD;ri.aliases=Z2});var mD=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var uD="fas",cD="caret-down",fD=320,dD=512,eS=[],pD="f0d7",hD="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";ai.definition={prefix:uD,iconName:cD,icon:[fD,dD,eS,pD,hD]};ai.faCaretDown=ai.definition;ai.prefix=uD;ai.iconName=cD;ai.width=fD;ai.height=dD;ai.ligatures=eS;ai.unicode=pD;ai.svgPathData=hD;ai.aliases=eS});var wD=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var vD="fas",_D="arrow-left",gD=448,bD=512,tS=[8592],yD="f060",SD="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";ni.definition={prefix:vD,iconName:_D,icon:[gD,bD,tS,yD,SD]};ni.faArrowLeft=ni.definition;ni.prefix=vD;ni.iconName=_D;ni.width=gD;ni.height=bD;ni.ligatures=tS;ni.unicode=yD;ni.svgPathData=SD;ni.aliases=tS});var aS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var CD="fas",xD="arrow-right",kD=448,TD=512,rS=[8594],ED="f061",RD="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";oi.definition={prefix:CD,iconName:xD,icon:[kD,TD,rS,ED,RD]};oi.faArrowRight=oi.definition;oi.prefix=CD;oi.iconName=xD;oi.width=kD;oi.height=TD;oi.ligatures=rS;oi.unicode=ED;oi.svgPathData=RD;oi.aliases=rS});var oS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var DD="fas",AD="arrow-up",LD=384,ND=512,nS=[8593],OD="f062",MD="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";ii.definition={prefix:DD,iconName:AD,icon:[LD,ND,nS,OD,MD]};ii.faArrowUp=ii.definition;ii.prefix=DD;ii.iconName=AD;ii.width=LD;ii.height=ND;ii.ligatures=nS;ii.unicode=OD;ii.svgPathData=MD;ii.aliases=nS});var lS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var PD="fas",ID="arrow-down",zD=384,BD=512,iS=[8595],FD="f063",jD="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";li.definition={prefix:PD,iconName:ID,icon:[zD,BD,iS,FD,jD]};li.faArrowDown=li.definition;li.prefix=PD;li.iconName=ID;li.width=zD;li.height=BD;li.ligatures=iS;li.unicode=FD;li.svgPathData=jD;li.aliases=iS});var $D=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var HD="fas",UD="rotate",VD=512,WD=512,sS=[128260,"sync-alt"],qD="f2f1",YD="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";si.definition={prefix:HD,iconName:UD,icon:[VD,WD,sS,qD,YD]};si.faRotate=si.definition;si.prefix=HD;si.iconName=UD;si.width=VD;si.height=WD;si.ligatures=sS;si.unicode=qD;si.svgPathData=YD;si.aliases=sS});var e6=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var GD="fas",KD="arrow-rotate-right",XD=512,QD=512,uS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],JD="f01e",ZD="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";ui.definition={prefix:GD,iconName:KD,icon:[XD,QD,uS,JD,ZD]};ui.faArrowRotateRight=ui.definition;ui.prefix=GD;ui.iconName=KD;ui.width=XD;ui.height=QD;ui.ligatures=uS;ui.unicode=JD;ui.svgPathData=ZD;ui.aliases=uS});var t6=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var eo=e6();ci.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};ci.faRedo=ci.definition;ci.prefix=eo.prefix;ci.iconName=eo.iconName;ci.width=eo.width;ci.height=eo.height;ci.ligatures=eo.aliases;ci.unicode=eo.unicode;ci.svgPathData=eo.svgPathData;ci.aliases=eo.aliases});var s6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var r6="fas",a6="check",n6=448,o6=512,cS=[10003,10004],i6="f00c",l6="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:r6,iconName:a6,icon:[n6,o6,cS,i6,l6]};fi.faCheck=fi.definition;fi.prefix=r6;fi.iconName=a6;fi.width=n6;fi.height=o6;fi.ligatures=cS;fi.unicode=i6;fi.svgPathData=l6;fi.aliases=cS});var m6=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var u6="fas",c6="question",f6=320,d6=512,fS=[10067,10068,61736],p6="3f",h6="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";di.definition={prefix:u6,iconName:c6,icon:[f6,d6,fS,p6,h6]};di.faQuestion=di.definition;di.prefix=u6;di.iconName=c6;di.width=f6;di.height=d6;di.ligatures=fS;di.unicode=p6;di.svgPathData=h6;di.aliases=fS});var w6=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var v6="fas",_6="exclamation",g6=128,b6=512,dS=[10069,10071,61738],y6="21",S6="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";pi.definition={prefix:v6,iconName:_6,icon:[g6,b6,dS,y6,S6]};pi.faExclamation=pi.definition;pi.prefix=v6;pi.iconName=_6;pi.width=g6;pi.height=b6;pi.ligatures=dS;pi.unicode=y6;pi.svgPathData=S6;pi.aliases=dS});var D6=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var C6="fas",x6="triangle-exclamation",k6=512,T6=512,pS=[9888,"exclamation-triangle","warning"],E6="f071",R6="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";hi.definition={prefix:C6,iconName:x6,icon:[k6,T6,pS,E6,R6]};hi.faTriangleExclamation=hi.definition;hi.prefix=C6;hi.iconName=x6;hi.width=k6;hi.height=T6;hi.ligatures=pS;hi.unicode=E6;hi.svgPathData=R6;hi.aliases=pS});var A6=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var to=D6();mi.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=to.prefix;mi.iconName=to.iconName;mi.width=to.width;mi.height=to.height;mi.ligatures=to.aliases;mi.unicode=to.unicode;mi.svgPathData=to.svgPathData;mi.aliases=to.aliases});var z6=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var L6="fas",N6="house",O6=576,M6=512,hS=[127968,63498,63500,"home","home-alt","home-lg-alt"],P6="f015",I6="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";vi.definition={prefix:L6,iconName:N6,icon:[O6,M6,hS,P6,I6]};vi.faHouse=vi.definition;vi.prefix=L6;vi.iconName=N6;vi.width=O6;vi.height=M6;vi.ligatures=hS;vi.unicode=P6;vi.svgPathData=I6;vi.aliases=hS});var B6=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ro=z6();_i.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};_i.faHome=_i.definition;_i.prefix=ro.prefix;_i.iconName=ro.iconName;_i.width=ro.width;_i.height=ro.height;_i.ligatures=ro.aliases;_i.unicode=ro.unicode;_i.svgPathData=ro.svgPathData;_i.aliases=ro.aliases});var q6=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var F6="fas",j6="share",H6=512,U6=512,mS=["mail-forward"],V6="f064",W6="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";gi.definition={prefix:F6,iconName:j6,icon:[H6,U6,mS,V6,W6]};gi.faShare=gi.definition;gi.prefix=F6;gi.iconName=j6;gi.width=H6;gi.height=U6;gi.ligatures=mS;gi.unicode=V6;gi.svgPathData=W6;gi.aliases=mS});var J6=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var Y6="fas",$6="magnifying-glass",G6=512,K6=512,vS=[128269,"search"],X6="f002",Q6="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";bi.definition={prefix:Y6,iconName:$6,icon:[G6,K6,vS,X6,Q6]};bi.faMagnifyingGlass=bi.definition;bi.prefix=Y6;bi.iconName=$6;bi.width=G6;bi.height=K6;bi.ligatures=vS;bi.unicode=X6;bi.svgPathData=Q6;bi.aliases=vS});var Z6=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var ao=J6();yi.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};yi.faSearch=yi.definition;yi.prefix=ao.prefix;yi.iconName=ao.iconName;yi.width=ao.width;yi.height=ao.height;yi.ligatures=ao.aliases;yi.unicode=ao.unicode;yi.svgPathData=ao.svgPathData;yi.aliases=ao.aliases});var iA=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var eA="fas",tA="yen-sign",rA=320,aA=512,_S=[165,"cny","jpy","rmb","yen"],nA="f157",oA="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";Si.definition={prefix:eA,iconName:tA,icon:[rA,aA,_S,nA,oA]};Si.faYenSign=Si.definition;Si.prefix=eA;Si.iconName=tA;Si.width=rA;Si.height=aA;Si.ligatures=_S;Si.unicode=nA;Si.svgPathData=oA;Si.aliases=_S});var pA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var lA="fas",sA="pen",uA=512,cA=512,gS=[128394],fA="f304",dA="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";wi.definition={prefix:lA,iconName:sA,icon:[uA,cA,gS,fA,dA]};wi.faPen=wi.definition;wi.prefix=lA;wi.iconName=sA;wi.width=uA;wi.height=cA;wi.ligatures=gS;wi.unicode=fA;wi.svgPathData=dA;wi.aliases=gS});var yA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var hA="fas",mA="bars",vA=448,_A=512,bS=["navicon"],gA="f0c9",bA="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";Ci.definition={prefix:hA,iconName:mA,icon:[vA,_A,bS,gA,bA]};Ci.faBars=Ci.definition;Ci.prefix=hA;Ci.iconName=mA;Ci.width=vA;Ci.height=_A;Ci.ligatures=bS;Ci.unicode=gA;Ci.svgPathData=bA;Ci.aliases=bS});var EA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var SA="fas",wA="download",CA=512,xA=512,yS=[],kA="f019",TA="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";xi.definition={prefix:SA,iconName:wA,icon:[CA,xA,yS,kA,TA]};xi.faDownload=xi.definition;xi.prefix=SA;xi.iconName=wA;xi.width=CA;xi.height=xA;xi.ligatures=yS;xi.unicode=kA;xi.svgPathData=TA;xi.aliases=yS});var MA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var RA="fas",DA="link",AA=640,LA=512,SS=[128279,"chain"],NA="f0c1",OA="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:RA,iconName:DA,icon:[AA,LA,SS,NA,OA]};ki.faLink=ki.definition;ki.prefix=RA;ki.iconName=DA;ki.width=AA;ki.height=LA;ki.ligatures=SS;ki.unicode=NA;ki.svgPathData=OA;ki.aliases=SS});var HA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var PA="fas",IA="link-slash",zA=640,BA=512,wS=["chain-broken","chain-slash","unlink"],FA="f127",jA="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";Ti.definition={prefix:PA,iconName:IA,icon:[zA,BA,wS,FA,jA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=PA;Ti.iconName=IA;Ti.width=zA;Ti.height=BA;Ti.ligatures=wS;Ti.unicode=FA;Ti.svgPathData=jA;Ti.aliases=wS});var GA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var UA="fas",VA="up-right-from-square",WA=512,qA=512,CS=["external-link-alt"],YA="f35d",$A="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";Ei.definition={prefix:UA,iconName:VA,icon:[WA,qA,CS,YA,$A]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=UA;Ei.iconName=VA;Ei.width=WA;Ei.height=qA;Ei.ligatures=CS;Ei.unicode=YA;Ei.svgPathData=$A;Ei.aliases=CS});var KA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var no=GA();Ri.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=no.prefix;Ri.iconName=no.iconName;Ri.width=no.width;Ri.height=no.height;Ri.ligatures=no.aliases;Ri.unicode=no.unicode;Ri.svgPathData=no.svgPathData;Ri.aliases=no.aliases});var r8=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var XA="fas",QA="gear",JA=512,ZA=512,xS=[9881,"cog"],e8="f013",t8="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";Di.definition={prefix:XA,iconName:QA,icon:[JA,ZA,xS,e8,t8]};Di.faGear=Di.definition;Di.prefix=XA;Di.iconName=QA;Di.width=JA;Di.height=ZA;Di.ligatures=xS;Di.unicode=e8;Di.svgPathData=t8;Di.aliases=xS});var u8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var a8="fas",n8="plus",o8=448,i8=512,kS=[10133,61543,"add"],l8="2b",s8="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:a8,iconName:n8,icon:[o8,i8,kS,l8,s8]};Ai.faPlus=Ai.definition;Ai.prefix=a8;Ai.iconName=n8;Ai.width=o8;Ai.height=i8;Ai.ligatures=kS;Ai.unicode=l8;Ai.svgPathData=s8;Ai.aliases=kS});var v8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var c8="fas",f8="minus",d8=448,p8=512,TS=[8211,8722,10134,"subtract"],h8="f068",m8="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";Li.definition={prefix:c8,iconName:f8,icon:[d8,p8,TS,h8,m8]};Li.faMinus=Li.definition;Li.prefix=c8;Li.iconName=f8;Li.width=d8;Li.height=p8;Li.ligatures=TS;Li.unicode=h8;Li.svgPathData=m8;Li.aliases=TS});var C8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var _8="fas",g8="ellipsis",b8=448,y8=512,ES=["ellipsis-h"],S8="f141",w8="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:_8,iconName:g8,icon:[b8,y8,ES,S8,w8]};Ni.faEllipsis=Ni.definition;Ni.prefix=_8;Ni.iconName=g8;Ni.width=b8;Ni.height=y8;Ni.ligatures=ES;Ni.unicode=S8;Ni.svgPathData=w8;Ni.aliases=ES});var x8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var oo=C8();Oi.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=oo.prefix;Oi.iconName=oo.iconName;Oi.width=oo.width;Oi.height=oo.height;Oi.ligatures=oo.aliases;Oi.unicode=oo.unicode;Oi.svgPathData=oo.svgPathData;Oi.aliases=oo.aliases});var L8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var k8="fas",T8="ellipsis-vertical",E8=128,R8=512,RS=["ellipsis-v"],D8="f142",A8="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";Mi.definition={prefix:k8,iconName:T8,icon:[E8,R8,RS,D8,A8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=k8;Mi.iconName=T8;Mi.width=E8;Mi.height=R8;Mi.ligatures=RS;Mi.unicode=D8;Mi.svgPathData=A8;Mi.aliases=RS});var N8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var io=L8();Pi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=io.prefix;Pi.iconName=io.iconName;Pi.width=io.width;Pi.height=io.height;Pi.ligatures=io.aliases;Pi.unicode=io.unicode;Pi.svgPathData=io.svgPathData;Pi.aliases=io.aliases});var F8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var O8="fas",M8="star",P8=576,I8=512,DS=[11088,61446],z8="f005",B8="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";Ii.definition={prefix:O8,iconName:M8,icon:[P8,I8,DS,z8,B8]};Ii.faStar=Ii.definition;Ii.prefix=O8;Ii.iconName=M8;Ii.width=P8;Ii.height=I8;Ii.ligatures=DS;Ii.unicode=z8;Ii.svgPathData=B8;Ii.aliases=DS});var Y8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var j8="fas",H8="paper-plane",U8=512,V8=512,AS=[61913],W8="f1d8",q8="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";zi.definition={prefix:j8,iconName:H8,icon:[U8,V8,AS,W8,q8]};zi.faPaperPlane=zi.definition;zi.prefix=j8;zi.iconName=H8;zi.width=U8;zi.height=V8;zi.ligatures=AS;zi.unicode=W8;zi.svgPathData=q8;zi.aliases=AS});var Z8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var $8="fas",G8="heart",K8=512,X8=512,LS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],Q8="f004",J8="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";Bi.definition={prefix:$8,iconName:G8,icon:[K8,X8,LS,Q8,J8]};Bi.faHeart=Bi.definition;Bi.prefix=$8;Bi.iconName=G8;Bi.width=K8;Bi.height=X8;Bi.ligatures=LS;Bi.unicode=Q8;Bi.svgPathData=J8;Bi.aliases=LS});var iL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var eL="fas",tL="ban",rL=512,aL=512,NS=[128683,"cancel"],nL="f05e",oL="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";Fi.definition={prefix:eL,iconName:tL,icon:[rL,aL,NS,nL,oL]};Fi.faBan=Fi.definition;Fi.prefix=eL;Fi.iconName=tL;Fi.width=rL;Fi.height=aL;Fi.ligatures=NS;Fi.unicode=nL;Fi.svgPathData=oL;Fi.aliases=NS});var pL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var lL="fas",sL="location-crosshairs",uL=512,cL=512,OS=["location"],fL="f601",dL="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";ji.definition={prefix:lL,iconName:sL,icon:[uL,cL,OS,fL,dL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=lL;ji.iconName=sL;ji.width=uL;ji.height=cL;ji.ligatures=OS;ji.unicode=fL;ji.svgPathData=dL;ji.aliases=OS});var yL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var hL="far",mL="user",vL=448,_L=512,MS=[128100,62144],gL="f007",bL="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";Hi.definition={prefix:hL,iconName:mL,icon:[vL,_L,MS,gL,bL]};Hi.faUser=Hi.definition;Hi.prefix=hL;Hi.iconName=mL;Hi.width=vL;Hi.height=_L;Hi.ligatures=MS;Hi.unicode=gL;Hi.svgPathData=bL;Hi.aliases=MS});var EL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var SL="far",wL="circle-check",CL=512,xL=512,PS=[61533,"check-circle"],kL="f058",TL="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";Ui.definition={prefix:SL,iconName:wL,icon:[CL,xL,PS,kL,TL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=SL;Ui.iconName=wL;Ui.width=CL;Ui.height=xL;Ui.ligatures=PS;Ui.unicode=kL;Ui.svgPathData=TL;Ui.aliases=PS});var RL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var lo=EL();Vi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=lo.prefix;Vi.iconName=lo.iconName;Vi.width=lo.width;Vi.height=lo.height;Vi.ligatures=lo.aliases;Vi.unicode=lo.unicode;Vi.svgPathData=lo.svgPathData;Vi.aliases=lo.aliases});var PL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var DL="far",AL="circle-question",LL=512,NL=512,IS=[62108,"question-circle"],OL="f059",ML="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";Wi.definition={prefix:DL,iconName:AL,icon:[LL,NL,IS,OL,ML]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=DL;Wi.iconName=AL;Wi.width=LL;Wi.height=NL;Wi.ligatures=IS;Wi.unicode=OL;Wi.svgPathData=ML;Wi.aliases=IS});var IL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var so=PL();qi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=so.prefix;qi.iconName=so.iconName;qi.width=so.width;qi.height=so.height;qi.ligatures=so.aliases;qi.unicode=so.unicode;qi.svgPathData=so.svgPathData;qi.aliases=so.aliases});var VL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var zL="far",BL="pen-to-square",FL=512,jL=512,zS=["edit"],HL="f044",UL="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";Yi.definition={prefix:zL,iconName:BL,icon:[FL,jL,zS,HL,UL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=zL;Yi.iconName=BL;Yi.width=FL;Yi.height=jL;Yi.ligatures=zS;Yi.unicode=HL;Yi.svgPathData=UL;Yi.aliases=zS});var WL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var uo=VL();$i.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};$i.faEdit=$i.definition;$i.prefix=uo.prefix;$i.iconName=uo.iconName;$i.width=uo.width;$i.height=uo.height;$i.ligatures=uo.aliases;$i.unicode=uo.unicode;$i.svgPathData=uo.svgPathData;$i.aliases=uo.aliases});var QL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var qL="far",YL="copy",$L=448,GL=512,BS=[],KL="f0c5",XL="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";Gi.definition={prefix:qL,iconName:YL,icon:[$L,GL,BS,KL,XL]};Gi.faCopy=Gi.definition;Gi.prefix=qL;Gi.iconName=YL;Gi.width=$L;Gi.height=GL;Gi.ligatures=BS;Gi.unicode=KL;Gi.svgPathData=XL;Gi.aliases=BS});var nN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var JL="far",ZL="file",eN=384,tN=512,FS=[128196,128459,61462],rN="f15b",aN="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";Ki.definition={prefix:JL,iconName:ZL,icon:[eN,tN,FS,rN,aN]};Ki.faFile=Ki.definition;Ki.prefix=JL;Ki.iconName=ZL;Ki.width=eN;Ki.height=tN;Ki.ligatures=FS;Ki.unicode=rN;Ki.svgPathData=aN;Ki.aliases=FS});var fN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var oN="far",iN="trash-can",lN=448,sN=512,jS=[61460,"trash-alt"],uN="f2ed",cN="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";Xi.definition={prefix:oN,iconName:iN,icon:[lN,sN,jS,uN,cN]};Xi.faTrashCan=Xi.definition;Xi.prefix=oN;Xi.iconName=iN;Xi.width=lN;Xi.height=sN;Xi.ligatures=jS;Xi.unicode=uN;Xi.svgPathData=cN;Xi.aliases=jS});var dN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var co=fN();Qi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=co.prefix;Qi.iconName=co.iconName;Qi.width=co.width;Qi.height=co.height;Qi.ligatures=co.aliases;Qi.unicode=co.unicode;Qi.svgPathData=co.svgPathData;Qi.aliases=co.aliases});var bN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var pN="far",hN="image",mN=512,vN=512,HS=[],_N="f03e",gN="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";Ji.definition={prefix:pN,iconName:hN,icon:[mN,vN,HS,_N,gN]};Ji.faImage=Ji.definition;Ji.prefix=pN;Ji.iconName=hN;Ji.width=mN;Ji.height=vN;Ji.ligatures=HS;Ji.unicode=_N;Ji.svgPathData=gN;Ji.aliases=HS});var G7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var U7="fas",V7="eye",W7=576,q7=512,aw=[128065],Y7="f06e",$7="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:U7,iconName:V7,icon:[W7,q7,aw,Y7,$7]};tl.faEye=tl.definition;tl.prefix=U7;tl.iconName=V7;tl.width=W7;tl.height=q7;tl.ligatures=aw;tl.unicode=Y7;tl.svgPathData=$7;tl.aliases=aw});var iO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var eO="fas",tO="clock",rO=512,aO=512,lw=[128339,"clock-four"],nO="f017",oO="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";rl.definition={prefix:eO,iconName:tO,icon:[rO,aO,lw,nO,oO]};rl.faClock=rl.definition;rl.prefix=eO;rl.iconName=tO;rl.width=rO;rl.height=aO;rl.ligatures=lw;rl.unicode=nO;rl.svgPathData=oO;rl.aliases=lw});var pO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var lO="fas",sO="calendar-days",uO=448,cO=512,sw=["calendar-alt"],fO="f073",dO="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";al.definition={prefix:lO,iconName:sO,icon:[uO,cO,sw,fO,dO]};al.faCalendarDays=al.definition;al.prefix=lO;al.iconName=sO;al.width=uO;al.height=cO;al.ligatures=sw;al.unicode=fO;al.svgPathData=dO;al.aliases=sw});var hO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var fo=pO();nl.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=fo.prefix;nl.iconName=fo.iconName;nl.width=fo.width;nl.height=fo.height;nl.ligatures=fo.aliases;nl.unicode=fo.unicode;nl.svgPathData=fo.svgPathData;nl.aliases=fo.aliases});var NO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var TO="fas",EO="cloud-arrow-up",RO=640,DO=512,pw=[62338,"cloud-upload","cloud-upload-alt"],AO="f0ee",LO="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";ol.definition={prefix:TO,iconName:EO,icon:[RO,DO,pw,AO,LO]};ol.faCloudArrowUp=ol.definition;ol.prefix=TO;ol.iconName=EO;ol.width=RO;ol.height=DO;ol.ligatures=pw;ol.unicode=AO;ol.svgPathData=LO;ol.aliases=pw});var t9=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var KO="fas",XO="grip-vertical",QO=320,JO=512,yw=[],ZO="f58e",e9="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";ll.definition={prefix:KO,iconName:XO,icon:[QO,JO,yw,ZO,e9]};ll.faGripVertical=ll.definition;ll.prefix=KO;ll.iconName=XO;ll.width=QO;ll.height=JO;ll.ligatures=yw;ll.unicode=ZO;ll.svgPathData=e9;ll.aliases=yw});var u9=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var a9="fas",n9="filter",o9=512,i9=512,Cw=[],l9="f0b0",s9="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";sl.definition={prefix:a9,iconName:n9,icon:[o9,i9,Cw,l9,s9]};sl.faFilter=sl.definition;sl.prefix=a9;sl.iconName=n9;sl.width=o9;sl.height=i9;sl.ligatures=Cw;sl.unicode=l9;sl.svgPathData=s9;sl.aliases=Cw});var y9=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var h9="fas",m9="palette",v9=512,_9=512,kw=[127912],g9="f53f",b9="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";ul.definition={prefix:h9,iconName:m9,icon:[v9,_9,kw,g9,b9]};ul.faPalette=ul.definition;ul.prefix=h9;ul.iconName=m9;ul.width=v9;ul.height=_9;ul.ligatures=kw;ul.unicode=g9;ul.svgPathData=b9;ul.aliases=kw});var E9=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S9="fas",w9="bars-staggered",C9=512,x9=512,Tw=["reorder","stream"],k9="f550",T9="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";cl.definition={prefix:S9,iconName:w9,icon:[C9,x9,Tw,k9,T9]};cl.faBarsStaggered=cl.definition;cl.prefix=S9;cl.iconName=w9;cl.width=C9;cl.height=x9;cl.ligatures=Tw;cl.unicode=k9;cl.svgPathData=T9;cl.aliases=Tw});var M9=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var R9="fas",D9="rotate-left",A9=512,L9=512,Ew=["rotate-back","rotate-backward","undo-alt"],N9="f2ea",O9="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:R9,iconName:D9,icon:[A9,L9,Ew,N9,O9]};fl.faRotateLeft=fl.definition;fl.prefix=R9;fl.iconName=D9;fl.width=A9;fl.height=L9;fl.ligatures=Ew;fl.unicode=N9;fl.svgPathData=O9;fl.aliases=Ew});var H9=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var P9="fas",I9="rotate-right",z9=512,B9=512,Rw=["redo-alt","rotate-forward"],F9="f2f9",j9="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";dl.definition={prefix:P9,iconName:I9,icon:[z9,B9,Rw,F9,j9]};dl.faRotateRight=dl.definition;dl.prefix=P9;dl.iconName=I9;dl.width=z9;dl.height=B9;dl.ligatures=Rw;dl.unicode=F9;dl.svgPathData=j9;dl.aliases=Rw});var Mw=Ue(()=>{"use strict"});var Pw=Ue(()=>{"use strict"});var X9=K(Zk()),Os=K(XT()),zg=K(cr()),Iw=K(tr());var Fr={};Ed(Fr,{$$fromRoot:()=>mt,Accordion:()=>JS,Anchor:()=>ff,Box:()=>X,Button:()=>it,ColorObjects:()=>qh,Column:()=>ar,Config:()=>ht,Cropper:()=>Aw,DarkmodeColors:()=>K9,Effect:()=>pu,ExtractStyles:()=>Al,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,GenerateHTMLProps:()=>xo,Grid:()=>Ud,Img:()=>ks,Input:()=>_a,Label:()=>dg,LaunchReactApp:()=>Pg,LeftIcon:()=>qd,LeftIndicator:()=>_g,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>Yd,Loader:()=>Eo,Logo:()=>Ts,OmitSign:()=>vg,P:()=>S7,PageNotFound:()=>$9,PageViewController:()=>N7,Placeholder:()=>y7,Plate:()=>T7,ReadStyleSet:()=>nm,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Row:()=>vt,SetThemeColorTag:()=>Wh,Sheet:()=>hr,Snackbar:()=>rs,Span:()=>Sn,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Text:()=>nr,ThemeColors:()=>Nw,Tips:()=>_u,Tooltips:()=>Na,amotify:()=>F$,default:()=>F$,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var WW=Object.defineProperty,qW=Object.defineProperties,YW=Object.getOwnPropertyDescriptors,j_=Object.getOwnPropertySymbols,n5=Object.prototype.hasOwnProperty,o5=Object.prototype.propertyIsEnumerable,i5=Math.pow,a5=(r,a,o)=>a in r?WW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))n5.call(a,o)&&a5(r,o,a[o]);if(j_)for(var o of j_(a))o5.call(a,o)&&a5(r,o,a[o]);return r},T=(r,a)=>qW(r,YW(a)),Ge=(r,a)=>{var o={};for(var l in r)n5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&j_)for(var l of j_(r))a.indexOf(l)<0&&o5.call(r,l)&&(o[l]=r[l]);return o},Aa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Ow={};Ed(Ow,{$$fromRoot:()=>mt,ColorObjects:()=>qh,Config:()=>ht,DarkmodeColors:()=>K9,ExtractStyles:()=>Al,GenerateHTMLProps:()=>xo,LaunchReactApp:()=>Pg,ReadStyleSet:()=>nm,SetThemeColorTag:()=>Wh,ThemeColors:()=>Nw,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var xl=K(tr());var Co={sessionUID:(0,xl.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},ht={get:()=>Co,set:r=>{Co=_(_({},Co),r)},update:{themeColor:r=>{if(qh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(_({},ht.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Wh()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(_({},ht.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(_({},ht.get()),{roundness:r})),ht.restart())},screen:r=>{ht.get().screen=_(_({},ht.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Co.appRoot=r.appRoot||document.body,Co.appRoot instanceof HTMLElement&&(Co.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),Co.deviceIs=o,Co.browserIs=l,Co.isPhone=["Android","iPhone"].includes(o),Co.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Co.isIOS=["iPhone","iPad"].includes(o),Co.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Co.isIOS=["iPhone","iPad"].includes(o),Co.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,xl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,xl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,xl.default)(document.body),c=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-c-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,xl.default)(document.body),f=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-c-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Wh()},restart:()=>{kl.release("RootViewController_"+ht.get().sessionUID)}};var Vo=K(tr()),Od=K(cr()),kl={catch:r=>{let[a]=(0,Od.useState)((0,Vo.UUID)()),[o,l]=(0,Od.useState)((0,Vo.UUID)()),[s,f]=(0,Od.useState)(null),c="RefreshKey_"+a;return(0,Od.useEffect)(()=>{var h;Vo.useStore.set({[c]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(c);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var bc=K(cr());var Lw={};Ed(Lw,{Anchor:()=>ff,Button:()=>it,Cropper:()=>Aw,Effect:()=>pu,Input:()=>_a,Label:()=>dg,LeftIcon:()=>qd,LeftIndicator:()=>_g,Loader:()=>Eo,OmitSign:()=>vg,PageNotFound:()=>$9,PageViewController:()=>N7,Plate:()=>T7,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Sheet:()=>hr,Snackbar:()=>rs,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Tips:()=>_u,Tooltips:()=>Na});var El=K(Dt()),dc=K(cr()),wn=K(tr());var YS={};Ed(YS,{Box:()=>X,Column:()=>ar,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,Grid:()=>Ud,Img:()=>ks,Logo:()=>Ts,P:()=>S7,Placeholder:()=>y7,Span:()=>Sn});var cf=K(Dt());var u5=K(Dt());var X=r=>{let a=xo(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,u5.jsx)(s,_({},l)):null};var Pt=K(Dt());var yN=K(LE()),SN=K(FE()),wN=K(YE()),CN=K(ZE()),xN=K(iR()),kN=K(pR()),TN=K(yR()),EN=K(ER()),RN=K(MR()),DN=K(HR()),AN=K(GR()),LN=K(tD()),NN=K(sD()),ON=K(mD()),MN=K(wD()),PN=K(aS()),IN=K(oS()),zN=K(lS()),BN=K($D()),FN=K(t6()),jN=K(s6()),HN=K(m6()),UN=K(w6()),VN=K(A6()),WN=K(B6()),qN=K(q6()),YN=K(Z6()),$N=K(iA()),GN=K(pA()),KN=K(yA()),XN=K(EA()),QN=K(MA()),JN=K(HA()),ZN=K(KA()),e7=K(r8()),t7=K(u8()),r7=K(v8()),a7=K(x8()),n7=K(N8()),o7=K(F8()),i7=K(Y8()),l7=K(Z8()),s7=K(iL()),u7=K(pL()),c7=K(yL()),f7=K(RL()),d7=K(IL()),p7=K(WL()),h7=K(QL()),m7=K(nN()),v7=K(dN()),_7=K(bN()),Bt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=xo(l);return(0,Pt.jsx)(yN.FontAwesomeIcon,T(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Bt;Ne.User=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:c7.faUser})),Ne.Times=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:SN.faTimes})),Ne.AngleRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:wN.faAngleRight})),Ne.AngleLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:CN.faAngleLeft})),Ne.AngleUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:xN.faAngleUp})),Ne.AngleDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:kN.faAngleDown})),Ne.ChevronLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:TN.faChevronLeft})),Ne.ChevronRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:EN.faChevronRight})),Ne.ChevronUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:RN.faChevronUp})),Ne.ChevronDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:DN.faChevronDown})),Ne.CaretLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:AN.faCaretLeft})),Ne.CaretRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:LN.faCaretRight})),Ne.CaretUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:NN.faCaretUp})),Ne.CaretDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ON.faCaretDown})),Ne.ArrowLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:MN.faArrowLeft})),Ne.ArrowRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:PN.faArrowRight})),Ne.ArrowUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:IN.faArrowUp})),Ne.ArrowDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:zN.faArrowDown})),Ne.Rotate=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:BN.faRotate})),Ne.Redo=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:FN.faRedo})),Ne.Check=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:jN.faCheck})),Ne.CheckCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:f7.faCheckCircle})),Ne.Question=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:HN.faQuestion})),Ne.QuestionCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:d7.faQuestionCircle})),Ne.Exclamation=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:UN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:VN.faExclamationTriangle})),Ne.Home=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:WN.faHome})),Ne.Share=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:qN.faShare})),Ne.Search=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:YN.faSearch})),Ne.YenSign=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:$N.faYenSign})),Ne.Heart=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:l7.faHeart})),Ne.Star=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:o7.faStar})),Ne.Edit=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:p7.faEdit})),Ne.Pen=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:GN.faPen})),Ne.Copy=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:h7.faCopy})),Ne.File=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:m7.faFile})),Ne.TrashAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:v7.faTrashAlt})),Ne.Bars=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:KN.faBars})),Ne.Download=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:XN.faDownload})),Ne.Link=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:QN.faLink})),Ne.LinkSlash=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:JN.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ZN.faExternalLinkAlt})),Ne.Gear=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:e7.faGear})),Ne.Plus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:t7.faPlus})),Ne.Minus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:r7.faMinus})),Ne.EllipsisH=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:a7.faEllipsisH})),Ne.EllipsisV=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:n7.faEllipsisV})),Ne.PaperPlane=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:i7.faPaperPlane})),Ne.Image=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:_7.faImage})),Ne.Ban=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:s7.faBan})),Ne.Location=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:u7.faLocationCrosshairs}));var g7=K(Dt());var UY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},VY={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"},WY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},qY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},YY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},$Y={BodyEffect:"_BodyEffect_ii9uf_1",Wrapper:"_Wrapper_ii9uf_9",Wrap:"_Wrap_ii9uf_9",Content:"_Content_ii9uf_16",TapSensor:"_TapSensor_ii9uf_35",TapContent:"_TapContent_ii9uf_45",Hide:"_Hide_ii9uf_52",Open:"_Open_ii9uf_55",isMainSheet_true:"_isMainSheet_true_ii9uf_55",isMainSheet_false:"_isMainSheet_false_ii9uf_61",BB:"_BB_ii9uf_61",Tcate_normal:"_Tcate_normal_ii9uf_64",BaseBody:"_BaseBody_ii9uf_68",Tcate_drawer:"_Tcate_drawer_ii9uf_83",Tpos_left:"_Tpos_left_ii9uf_83",Tpos_right:"_Tpos_right_ii9uf_98",Tpos_bottom:"_Tpos_bottom_ii9uf_113",DragBar:"_DragBar_ii9uf_120",Tcate_custom:"_Tcate_custom_ii9uf_128",CustomSheet:"_CustomSheet_ii9uf_136",GPT:"_GPT_ii9uf_139",Col_1:"_Col_1_ii9uf_139",Row_1:"_Row_1_ii9uf_139",Row_4:"_Row_4_ii9uf_139",Col_4:"_Col_4_ii9uf_139",Row_2:"_Row_2_ii9uf_142",Row_5:"_Row_5_ii9uf_142",Col_2:"_Col_2_ii9uf_145",Col_5:"_Col_5_ii9uf_145",GPT_3:"_GPT_3_ii9uf_151",GPT_18:"_GPT_18_ii9uf_151",GPT_8:"_GPT_8_ii9uf_154",GPT_23:"_GPT_23_ii9uf_154",GPT_11:"_GPT_11_ii9uf_157",GPT_14:"_GPT_14_ii9uf_157",GPT_12:"_GPT_12_ii9uf_160",GPT_15:"_GPT_15_ii9uf_160",Col_3:"_Col_3_ii9uf_170"},GY={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"},KY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},XY={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"},QY={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"},JY={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"},ZY={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},e$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var t$={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"},r$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},a$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},n$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},o$={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"},i$={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 l$={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"},US=r=>UY[r],Zi=r=>VY[r],ug=r=>WY[r],VS=r=>qY[r],am=r=>YY[r],oa=r=>$Y[r],ka=r=>GY[r],La=r=>KY[r],Kt=r=>XY[r],Xl=r=>QY[r],uc=r=>JY[r],lf=r=>ZY[r],Hd=r=>e$[r];var Ql=r=>t$[r],sf=r=>r$[r],Tl=r=>a$[r],uf=r=>n$[r],xs=r=>o$[r],Ta=r=>i$[r];var cg=r=>l$[r];var ks=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,g7.jsx)(X,T(_({htmlTag:"img",src:o,alt:l},f),{className:[US("Img"),US("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:c=>{f.onPointerDown&&f.onPointerDown(c),s&&c.stopPropagation()},onClick:c=>{f.onClick&&f.onClick(c),s&&(c.stopPropagation(),hr.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var rr=K(Dt()),WS=K(tr());var b7={ComunIcon:()=>(0,rr.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,rr.jsxs)("g",{children:[(0,rr.jsx)("path",{d:`
|
|
923
|
+
}`;w5=!1;xq={mixout:function(){return{dom:{css:J5,insertCss:p2}}},hooks:function(){return{beforeDOMElementCreation:function(){p2()},beforeI2svg:function(){p2()}}}},cc=lu||{};cc[sc]||(cc[sc]={});cc[sc].styles||(cc[sc].styles={});cc[sc].hooks||(cc[sc].hooks={});cc[sc].shims||(cc[sc].shims=[]);Xl=cc[sc],Z5=[],kq=function r(){ya.removeEventListener("DOMContentLoaded",r),ag=1,Z5.map(function(a){return a()})},ag=!1;fc&&(ag=(ya.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ya.readyState),ag||ya.addEventListener("DOMContentLoaded",kq));Eq=function(a,o){return function(l,s,f,u){return a.call(o,l,s,f,u)}},h2=function(a,o,l,s){var f=Object.keys(a),u=f.length,h=s!==void 0?Eq(o,s):o,p,m,g;for(l===void 0?(p=1,g=a[f[0]]):(p=0,g=l);p<u;p++)m=f[p],g=h(g,a[m],m,a);return g};Pd=Xl.styles,Aq=Xl.shims,Lq=(Q_={},fn(Q_,ba,Object.values(Zh[ba])),fn(Q_,za,Object.values(Zh[za])),Q_),P2=null,eE={},tE={},rE={},aE={},nE={},Nq=(J_={},fn(J_,ba,Object.keys(Qh[ba])),fn(J_,za,Object.keys(Qh[za])),J_);oE=function(){var a=function(f){return h2(Pd,function(u,h,p){return u[p]=h2(h,f,{}),u},{})};eE=a(function(s,f,u){if(f[3]&&(s[f[3]]=u),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=u})}return s}),tE=a(function(s,f,u){if(s[u]=u,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=u})}return s}),nE=a(function(s,f,u){var h=f[2];return s[u]=u,h.forEach(function(p){s[p]=u}),s});var o="far"in Pd||xt.autoFetchSvg,l=h2(Aq,function(s,f){var u=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof u=="string"&&(s.names[u]={prefix:h,iconName:p}),typeof u=="number"&&(s.unicodes[u.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});rE=l.names,aE=l.unicodes,P2=ig(xt.styleDefault,{family:xt.familyDefault})};_q(function(r){P2=ig(r.styleDefault,{family:xt.familyDefault})});oE();z2=function(){return{prefix:null,iconName:null,rest:[]}};k5=(Z_={},fn(Z_,ba,Object.keys(Zh[ba])),fn(Z_,za,Object.keys(Zh[za])),Z_);zq=function(){function r(){XW(this,r),this.definitions={}}return QW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var u=s.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=mt(mt({},o.definitions[h]||{}),u[h]),S2(h,u[h]);var p=Zh[ba][h];p&&S2(p,u[h]),oE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(f){var u=s[f],h=u.prefix,p=u.iconName,m=u.icon,g=m[2];o[h]||(o[h]={}),g.length>0&&g.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),T5=[],Id={},zd={},Bq=Object.keys(zd);lE=new zq,jq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,lf("noAuto")},Hq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fc?(lf("beforeI2svg",a),uc("pseudoElements2svg",a),uc("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,Tq(function(){Vq({autoReplaceSvgRoot:o}),lf("watch",a)})}},Uq={icon:function(a){if(a===null)return null;if(rg(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:nf(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=ig(a[0]);return{prefix:l,iconName:nf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(cq))){var s=lg(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||su(),iconName:nf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=su();return{prefix:f,iconName:nf(f,a)||a}}}},To={noAuto:jq,config:xt,dom:Hq,parse:Uq,library:lE,findIconDefinition:C2,toHtml:nm},Vq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ya:o;(Object.keys(Xl.styles).length>0||xt.autoFetchSvg)&&fc&&xt.autoReplaceSvg&&To.dom.i2svg({node:l})};m2=Xl.styles;$q={found:!1,width:512,height:512};R5=function(){},T2=xt.measurePerformance&&q_&&q_.mark&&q_.measure?q_:{mark:R5,measure:R5},Gh='FA "6.4.2"',Kq=function(a){return T2.mark("".concat(Gh," ").concat(a," begins")),function(){return sE(a)}},sE=function(a){T2.mark("".concat(Gh," ").concat(a," ends")),T2.measure("".concat(Gh," ").concat(a),"".concat(Gh," ").concat(a," begins"),"".concat(Gh," ").concat(a," ends"))},F2={begin:Kq,end:sE},eg=function(){};tg={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(cE(s),o)}),o.getAttribute(of)===null&&xt.keepOriginalSource){var l=ya.createComment(tY(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~O2(o).indexOf(xt.replacementClass))return tg.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var u=l.map(function(h){return nm(h)}).join(`
|
|
924
|
+
`);o.setAttribute(of,""),o.innerHTML=u}};j2=!1;ng=null;lY=Xl.styles;cu=new Set;N2.map(function(r){cu.add("fa-".concat(r))});Object.keys(Qh[ba]).map(cu.add.bind(cu));Object.keys(Qh[za]).map(cu.add.bind(cu));cu=rm(cu);uY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?xs:l,f=o.symbol,u=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,C=o.titleId,k=C===void 0?null:C,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,N=a.iconName,te=a.icon;return sg(mt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||tm()):(O["aria-hidden"]="true",O.focusable="false")),B2({icons:{main:x2(te),mask:p?x2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:N,transform:mt(mt({},xs),s),symbol:u,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},fY={mixout:function(){return{icon:cY(uY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=O5,o.nodeCallback=sY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ya:l,f=o.callback,u=f===void 0?function(){}:f;return O5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,u=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(C,k){Promise.all([k2(s,h),g.iconName?k2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=R2(L,2),Y=M[0],O=M[1];C([o,B2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.transform,h=o.styles,p=og(h);p.length>0&&(s.style=p);var m;return M2(u)&&(m=uc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},dY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return sg({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:l});var u=[];return o(function(h){Array.isArray(h)?h.map(function(p){u=u.concat(p.abstract)}):u=u.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(rm(f)).join(" ")},children:u}]})}}}},pY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return sg({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),Yq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(rm(h))}})})}}}},hY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?xs:s,u=l.title,h=u===void 0?null:u,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,C=S===void 0?{}:S;return sg({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),E5({content:o,transform:mt(mt({},xs),f),title:h,extra:{attributes:b,styles:C,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(rm(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,u=l.extra,h=null,p=null;if(W5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,E5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},mY=new RegExp('"',"ug"),M5=[1105920,1112319];bY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=I5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ya:l;xt.searchPseudoElements&&I5(s)}}},z5=!1,yY={mixout:function(){return{dom:{unwatch:function(){fE(),z5=!0}}}},hooks:function(){return{bootstrap:function(){L5(w2("mutationObserverCallbacks",{}))},noAuto:function(){rY()},watch:function(o){var l=o.observeMutationsRoot;z5?E2():L5(w2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},B5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return l.flipX=!0,l;if(u&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(u){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},SY={mixout:function(){return{parse:{transform:function(o){return B5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=B5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(u/2*-1," -256)")},C={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},C.outer),children:[{tag:"g",attributes:mt({},C.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),C.path)}]}]}}}},v2={x:0,y:0,width:"100%",height:"100%"};CY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?lg(s.split(" ").map(function(u){return u.trim()})):z2();return f.prefix||(f.prefix=su()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=u.width,S=u.icon,C=Sq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},v2),{},{fill:"white"})},L=g.children?{children:g.children.map(F5)}:{},M={tag:"g",attributes:mt({},C.inner),children:[F5(mt({tag:g.tag,attributes:mt(mt({},g.attributes),C.path)},L))]},Y={tag:"g",attributes:mt({},C.outer),children:[M]},O="mask-".concat(h||tm()),j="clip-".concat(h||tm()),F={tag:"mask",attributes:mt(mt({},v2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:wY(S)},F]};return l.push(Q,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},v2)}),{children:l,attributes:s}}}},xY={provides:function(a){var o=!1;lu.matchMedia&&(o=lu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:mt(mt({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var u=mt(mt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:mt(mt({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:mt(mt({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:mt(mt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},kY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},TY=[xq,fY,dY,pY,hY,bY,yY,SY,CY,xY,kY];Fq(TY,{mixoutsTo:To});EY=To.noAuto,RY=To.config,DY=To.library,AY=To.dom,LY=To.parse,NY=To.findIconDefinition,OY=To.toHtml,MY=To.icon,PY=To.layer,IY=To.text,zY=To.counter});var mE=Ue(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,C=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===m||Te===f||Te===s||Te===b||Te===S||typeof Te=="object"&&Te!==null&&(Te.$$typeof===k||Te.$$typeof===C||Te.$$typeof===u||Te.$$typeof===h||Te.$$typeof===g||Te.$$typeof===M||Te.$$typeof===Y||Te.$$typeof===O||Te.$$typeof===L)}function F(Te){if(typeof Te=="object"&&Te!==null){var ht=Te.$$typeof;switch(ht){case a:var Lt=Te.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var jt=Lt&&Lt.$$typeof;switch(jt){case h:case g:case k:case C:case u:return jt;default:return ht}}case o:return ht}}}var Q=p,N=m,te=h,_e=u,re=a,be=g,ye=l,ge=k,H=C,le=o,fe=f,B=s,W=b,ne=!1;function ee(Te){return ne||(ne=!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.")),de(Te)||F(Te)===p}function de(Te){return F(Te)===m}function xe(Te){return F(Te)===h}function we(Te){return F(Te)===u}function Ye(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function $e(Te){return F(Te)===g}function Pe(Te){return F(Te)===l}function et(Te){return F(Te)===k}function ut(Te){return F(Te)===C}function it(Te){return F(Te)===o}function Tt(Te){return F(Te)===f}function wt(Te){return F(Te)===s}function Ze(Te){return F(Te)===b}ea.AsyncMode=Q,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=re,ea.ForwardRef=be,ea.Fragment=ye,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=xe,ea.isContextProvider=we,ea.isElement=Ye,ea.isForwardRef=$e,ea.isFragment=Pe,ea.isLazy=et,ea.isMemo=ut,ea.isPortal=it,ea.isProfiler=Tt,ea.isStrictMode=wt,ea.isSuspense=Ze,ea.isValidElementType=j,ea.typeOf=F})()});var H2=Ue((yG,vE)=>{"use strict";vE.exports=mE()});var bE=Ue((SG,gE)=>{"use strict";var _E=Object.getOwnPropertySymbols,BY=Object.prototype.hasOwnProperty,FY=Object.prototype.propertyIsEnumerable;function jY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function HY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}gE.exports=HY()?Object.assign:function(r,a){for(var o,l=jY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)BY.call(o,u)&&(l[u]=o[u]);if(_E){s=_E(o);for(var h=0;h<s.length;h++)FY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var U2=Ue((wG,yE)=>{"use strict";var UY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";yE.exports=UY});var V2=Ue((CG,SE)=>{SE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var TE=Ue((xG,kE)=>{"use strict";var W2=function(){};wE=U2(),cg={},CE=V2(),W2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var wE,cg,CE;function xE(r,a,o,l,s){for(var f in r)if(CE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[f](a,f,l,o,null,wE)}catch(m){u=m}if(u&&!(u instanceof Error)&&W2((l||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in cg)){cg[u.message]=!0;var p=s?s():"";W2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}xE.resetWarningCache=function(){cg={}};kE.exports=xE});var DE=Ue((kG,RE)=>{"use strict";var VY=H2(),WY=bE(),jd=U2(),q2=V2(),EE=TE(),Hd=function(){};Hd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function ug(){return null}RE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);if(typeof le=="function")return le}var f="<<anonymous>>",u={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:C(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:O,shape:Q,exact:N};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},fe=0;function B(ne,ee,de,xe,we,Ye,$e){if(xe=xe||f,Ye=Ye||de,$e!==jd){if(a){var Pe=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 Pe.name="Invariant Violation",Pe}else if(typeof console!="undefined"){var et=xe+":"+de;!le[et]&&fe<3&&(Hd("You are manually calling a React.PropTypes validation function for the `"+Ye+"` prop on `"+xe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[et]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+we+" `"+Ye+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new p("The "+we+" `"+Ye+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:H(ee,de,xe,we,Ye)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var xe=fe[B],we=re(xe);if(we!==H){var Ye=be(xe);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ye+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(ug)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var xe=re(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an array."))}for(var we=0;we<de.length;we++){var Ye=H(de,we,W,ne,ee+"["+we+"]",jd);if(Ye instanceof Error)return Ye}return null}return m(le)}function C(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!VY.isValidElementType(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,xe=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(H){if(!Array.isArray(H))return arguments.length>1?Hd("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Hd("Invalid argument supplied to oneOf, expected an array."),ug;function le(fe,B,W,ne,ee){for(var de=fe[B],xe=0;xe<H.length;xe++)if(h(de,H[xe]))return null;var we=JSON.stringify(H,function($e,Pe){var et=be(Pe);return et==="symbol"?String(Pe):Pe});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+we+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an object."));for(var we in de)if(q2(de,we)){var Ye=H(de,we,W,ne,ee+"."+we,jd);if(Ye instanceof Error)return Ye}return null}return m(le)}function O(H){if(!Array.isArray(H))return Hd("Invalid argument supplied to oneOfType, expected an instance of array."),ug;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return Hd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(fe)+" at index "+le+"."),ug}function B(W,ne,ee,de,xe){for(var we=[],Ye=0;Ye<H.length;Ye++){var $e=H[Ye],Pe=$e(W,ne,ee,de,xe,jd);if(Pe==null)return null;Pe.data&&q2(Pe.data,"expectedType")&&we.push(Pe.data.expectedType)}var et=we.length>0?", expected one of type ["+we.join(", ")+"]":"";return new p("Invalid "+de+" `"+xe+"` supplied to "+("`"+ee+"`"+et+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Q(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));for(var we in H){var Ye=H[we];if(typeof Ye!="function")return F(W,ne,ee,we,be(Ye));var $e=Ye(de,we,W,ne,ee+"."+we,jd);if($e)return $e}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));var we=WY({},fe[B],H);for(var Ye in we){var $e=H[Ye];if(q2(H,Ye)&&typeof $e!="function")return F(W,ne,ee,Ye,be($e));if(!$e)return new p("Invalid "+ne+" `"+ee+"` key `"+Ye+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
|
|
925
|
+
Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Pe=$e(de,Ye,W,ne,ee+"."+Ye,jd);if(Pe)return Pe}return null}return m(le)}function te(H){switch(typeof H){case"number":case"string":case"undefined":return!0;case"boolean":return!H;case"object":if(Array.isArray(H))return H.every(te);if(H===null||r(H))return!0;var le=s(H);if(le){var fe=le.call(H),B;if(le!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var W=B.value;if(W&&!te(W[1]))return!1}}else return!1;return!0;default:return!1}}function _e(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function re(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":_e(le,H)?"symbol":le}function be(H){if(typeof H=="undefined"||H===null)return""+H;var le=re(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function ye(H){var le=be(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function ge(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return u.checkPropTypes=EE,u.resetWarningCache=EE.resetWarningCache,u.PropTypes=u,u}});var OE=Ue((TG,NE)=>{AE=H2(),LE=!0,NE.exports=DE()(AE.isElement,LE);var AE,LE});var PE=Ue((fg,ME)=>{(function(r,a){typeof fg=="object"&&typeof ME!="undefined"?a(fg,(hE(),RV(pE)),OE(),ur()):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))})(fg,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),u=s(l);function h(B,W){var ne=Object.keys(B);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(B);W&&(ee=ee.filter(function(de){return Object.getOwnPropertyDescriptor(B,de).enumerable})),ne.push.apply(ne,ee)}return ne}function p(B){for(var W=1;W<arguments.length;W++){var ne=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ne),!0).forEach(function(ee){g(B,ee,ne[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(ee){Object.defineProperty(B,ee,Object.getOwnPropertyDescriptor(ne,ee))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(B)}function g(B,W,ne){return W in B?Object.defineProperty(B,W,{value:ne,enumerable:!0,configurable:!0,writable:!0}):B[W]=ne,B}function b(B,W){if(B==null)return{};var ne={},ee=Object.keys(B),de,xe;for(xe=0;xe<ee.length;xe++)de=ee[xe],!(W.indexOf(de)>=0)&&(ne[de]=B[de]);return ne}function S(B,W){if(B==null)return{};var ne=b(B,W),ee,de;if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(B);for(de=0;de<xe.length;de++)ee=xe[de],!(W.indexOf(ee)>=0)&&Object.prototype.propertyIsEnumerable.call(B,ee)&&(ne[ee]=B[ee])}return ne}function C(B){return k(B)||L(B)||M(B)||O()}function k(B){if(Array.isArray(B))return Y(B)}function L(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function M(B,W){if(B){if(typeof B=="string")return Y(B,W);var ne=Object.prototype.toString.call(B).slice(8,-1);if(ne==="Object"&&B.constructor&&(ne=B.constructor.name),ne==="Map"||ne==="Set")return Array.from(B);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ne=0,ee=new Array(W);ne<W;ne++)ee[ne]=B[ne];return ee}function O(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
926
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ne=B.beat,ee=B.fade,de=B.beatFade,xe=B.bounce,we=B.shake,Ye=B.flash,$e=B.spin,Pe=B.spinPulse,et=B.spinReverse,ut=B.pulse,it=B.fixedWidth,Tt=B.inverse,wt=B.border,Ze=B.listItem,Te=B.flip,ht=B.size,Lt=B.rotation,jt=B.pull,Ut=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":xe,"fa-shake":we,"fa-flash":Ye,"fa-spin":$e,"fa-spin-reverse":et,"fa-spin-pulse":Pe,"fa-pulse":ut,"fa-fw":it,"fa-inverse":Tt,"fa-border":wt,"fa-li":Ze,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},g(W,"fa-".concat(ht),typeof ht!="undefined"&&ht!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(jt),typeof jt!="undefined"&&jt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ut).map(function(tr){return Ut[tr]?tr:null}).filter(function(tr){return tr})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=Q(ne.slice(0,ee)),xe=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=xe:W[de]=xe,W},{})}function re(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function($e){return re(B,$e)}),de=Object.keys(W.attributes||{}).reduce(function($e,Pe){var et=W.attributes[Pe];switch(Pe){case"class":$e.attrs.className=et,delete W.attributes.class;break;case"style":$e.attrs.style=_e(et);break;default:Pe.indexOf("aria-")===0||Pe.indexOf("data-")===0?$e.attrs[Pe.toLowerCase()]=et:$e.attrs[Q(Pe)]=et}return $e},{attrs:{}}),xe=ne.style,we=xe===void 0?{}:xe,Ye=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),we),B.apply(void 0,[W.tag,p(p({},de.attrs),Ye)].concat(C(ee)))}var be=!1;try{be=!1}catch(B){}function ye(){if(!be&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=u.default.forwardRef(function(B,W){var ne=B.icon,ee=B.mask,de=B.symbol,xe=B.className,we=B.title,Ye=B.titleId,$e=B.maskId,Pe=ge(ne),et=H("classes",[].concat(C(j(B)),C(xe.split(" ")))),ut=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),it=H("mask",ge(ee)),Tt=a.icon(Pe,p(p(p(p({},et),ut),it),{},{symbol:de,title:we,titleId:Ye,maskId:$e}));if(!Tt)return ye("Could not find icon",Pe),null;var wt=Tt.abstract,Ze={ref:W};return Object.keys(B).forEach(function(Te){le.defaultProps.hasOwnProperty(Te)||(Ze[Te]=B[Te])}),fe(wt[0],Ze)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var fe=re.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var UE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var IE="fas",zE="xmark",BE=384,FE=512,Y2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],jE="f00d",HE="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";Wo.definition={prefix:IE,iconName:zE,icon:[BE,FE,Y2,jE,HE]};Wo.faXmark=Wo.definition;Wo.prefix=IE;Wo.iconName=zE;Wo.width=BE;Wo.height=FE;Wo.ligatures=Y2;Wo.unicode=jE;Wo.svgPathData=HE;Wo.aliases=Y2});var VE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var eo=UE();qo.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};qo.faTimes=qo.definition;qo.prefix=eo.prefix;qo.iconName=eo.iconName;qo.width=eo.width;qo.height=eo.height;qo.ligatures=eo.aliases;qo.unicode=eo.unicode;qo.svgPathData=eo.svgPathData;qo.aliases=eo.aliases});var XE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var WE="fas",qE="angle-right",YE=320,$E=512,$2=[8250],GE="f105",KE="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";Yo.definition={prefix:WE,iconName:qE,icon:[YE,$E,$2,GE,KE]};Yo.faAngleRight=Yo.definition;Yo.prefix=WE;Yo.iconName=qE;Yo.width=YE;Yo.height=$E;Yo.ligatures=$2;Yo.unicode=GE;Yo.svgPathData=KE;Yo.aliases=$2});var aR=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var QE="fas",JE="angle-left",ZE=320,eR=512,G2=[8249],tR="f104",rR="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";$o.definition={prefix:QE,iconName:JE,icon:[ZE,eR,G2,tR,rR]};$o.faAngleLeft=$o.definition;$o.prefix=QE;$o.iconName=JE;$o.width=ZE;$o.height=eR;$o.ligatures=G2;$o.unicode=tR;$o.svgPathData=rR;$o.aliases=G2});var uR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var nR="fas",oR="angle-up",iR=448,lR=512,K2=[8963],sR="f106",cR="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";Go.definition={prefix:nR,iconName:oR,icon:[iR,lR,K2,sR,cR]};Go.faAngleUp=Go.definition;Go.prefix=nR;Go.iconName=oR;Go.width=iR;Go.height=lR;Go.ligatures=K2;Go.unicode=sR;Go.svgPathData=cR;Go.aliases=K2});var _R=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var fR="fas",dR="angle-down",pR=448,hR=512,X2=[8964],mR="f107",vR="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";Ko.definition={prefix:fR,iconName:dR,icon:[pR,hR,X2,mR,vR]};Ko.faAngleDown=Ko.definition;Ko.prefix=fR;Ko.iconName=dR;Ko.width=pR;Ko.height=hR;Ko.ligatures=X2;Ko.unicode=mR;Ko.svgPathData=vR;Ko.aliases=X2});var xR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var gR="fas",bR="chevron-left",yR=320,SR=512,Q2=[9001],wR="f053",CR="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";Xo.definition={prefix:gR,iconName:bR,icon:[yR,SR,Q2,wR,CR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=gR;Xo.iconName=bR;Xo.width=yR;Xo.height=SR;Xo.ligatures=Q2;Xo.unicode=wR;Xo.svgPathData=CR;Xo.aliases=Q2});var LR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var kR="fas",TR="chevron-right",ER=320,RR=512,J2=[9002],DR="f054",AR="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:kR,iconName:TR,icon:[ER,RR,J2,DR,AR]};Qo.faChevronRight=Qo.definition;Qo.prefix=kR;Qo.iconName=TR;Qo.width=ER;Qo.height=RR;Qo.ligatures=J2;Qo.unicode=DR;Qo.svgPathData=AR;Qo.aliases=J2});var BR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var NR="fas",OR="chevron-up",MR=512,PR=512,Z2=[],IR="f077",zR="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";Jo.definition={prefix:NR,iconName:OR,icon:[MR,PR,Z2,IR,zR]};Jo.faChevronUp=Jo.definition;Jo.prefix=NR;Jo.iconName=OR;Jo.width=MR;Jo.height=PR;Jo.ligatures=Z2;Jo.unicode=IR;Jo.svgPathData=zR;Jo.aliases=Z2});var qR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var FR="fas",jR="chevron-down",HR=512,UR=512,eS=[],VR="f078",WR="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";Zo.definition={prefix:FR,iconName:jR,icon:[HR,UR,eS,VR,WR]};Zo.faChevronDown=Zo.definition;Zo.prefix=FR;Zo.iconName=jR;Zo.width=HR;Zo.height=UR;Zo.ligatures=eS;Zo.unicode=VR;Zo.svgPathData=WR;Zo.aliases=eS});var JR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var YR="fas",$R="caret-left",GR=256,KR=512,tS=[],XR="f0d9",QR="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";ei.definition={prefix:YR,iconName:$R,icon:[GR,KR,tS,XR,QR]};ei.faCaretLeft=ei.definition;ei.prefix=YR;ei.iconName=$R;ei.width=GR;ei.height=KR;ei.ligatures=tS;ei.unicode=XR;ei.svgPathData=QR;ei.aliases=tS});var o6=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var ZR="fas",e6="caret-right",t6=256,r6=512,rS=[],a6="f0da",n6="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";ti.definition={prefix:ZR,iconName:e6,icon:[t6,r6,rS,a6,n6]};ti.faCaretRight=ti.definition;ti.prefix=ZR;ti.iconName=e6;ti.width=t6;ti.height=r6;ti.ligatures=rS;ti.unicode=a6;ti.svgPathData=n6;ti.aliases=rS});var d6=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var i6="fas",l6="caret-up",s6=320,c6=512,aS=[],u6="f0d8",f6="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";ri.definition={prefix:i6,iconName:l6,icon:[s6,c6,aS,u6,f6]};ri.faCaretUp=ri.definition;ri.prefix=i6;ri.iconName=l6;ri.width=s6;ri.height=c6;ri.ligatures=aS;ri.unicode=u6;ri.svgPathData=f6;ri.aliases=aS});var b6=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var p6="fas",h6="caret-down",m6=320,v6=512,nS=[],_6="f0d7",g6="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";ai.definition={prefix:p6,iconName:h6,icon:[m6,v6,nS,_6,g6]};ai.faCaretDown=ai.definition;ai.prefix=p6;ai.iconName=h6;ai.width=m6;ai.height=v6;ai.ligatures=nS;ai.unicode=_6;ai.svgPathData=g6;ai.aliases=nS});var T6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var y6="fas",S6="arrow-left",w6=448,C6=512,oS=[8592],x6="f060",k6="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";ni.definition={prefix:y6,iconName:S6,icon:[w6,C6,oS,x6,k6]};ni.faArrowLeft=ni.definition;ni.prefix=y6;ni.iconName=S6;ni.width=w6;ni.height=C6;ni.ligatures=oS;ni.unicode=x6;ni.svgPathData=k6;ni.aliases=oS});var lS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var E6="fas",R6="arrow-right",D6=448,A6=512,iS=[8594],L6="f061",N6="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";oi.definition={prefix:E6,iconName:R6,icon:[D6,A6,iS,L6,N6]};oi.faArrowRight=oi.definition;oi.prefix=E6;oi.iconName=R6;oi.width=D6;oi.height=A6;oi.ligatures=iS;oi.unicode=L6;oi.svgPathData=N6;oi.aliases=iS});var cS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var O6="fas",M6="arrow-up",P6=384,I6=512,sS=[8593],z6="f062",B6="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";ii.definition={prefix:O6,iconName:M6,icon:[P6,I6,sS,z6,B6]};ii.faArrowUp=ii.definition;ii.prefix=O6;ii.iconName=M6;ii.width=P6;ii.height=I6;ii.ligatures=sS;ii.unicode=z6;ii.svgPathData=B6;ii.aliases=sS});var fS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var F6="fas",j6="arrow-down",H6=384,U6=512,uS=[8595],V6="f063",W6="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";li.definition={prefix:F6,iconName:j6,icon:[H6,U6,uS,V6,W6]};li.faArrowDown=li.definition;li.prefix=F6;li.iconName=j6;li.width=H6;li.height=U6;li.ligatures=uS;li.unicode=V6;li.svgPathData=W6;li.aliases=uS});var Q6=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var q6="fas",Y6="rotate",$6=512,G6=512,dS=[128260,"sync-alt"],K6="f2f1",X6="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";si.definition={prefix:q6,iconName:Y6,icon:[$6,G6,dS,K6,X6]};si.faRotate=si.definition;si.prefix=q6;si.iconName=Y6;si.width=$6;si.height=G6;si.ligatures=dS;si.unicode=K6;si.svgPathData=X6;si.aliases=dS});var nD=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var J6="fas",Z6="arrow-rotate-right",eD=512,tD=512,pS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],rD="f01e",aD="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:J6,iconName:Z6,icon:[eD,tD,pS,rD,aD]};ci.faArrowRotateRight=ci.definition;ci.prefix=J6;ci.iconName=Z6;ci.width=eD;ci.height=tD;ci.ligatures=pS;ci.unicode=rD;ci.svgPathData=aD;ci.aliases=pS});var oD=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var to=nD();ui.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};ui.faRedo=ui.definition;ui.prefix=to.prefix;ui.iconName=to.iconName;ui.width=to.width;ui.height=to.height;ui.ligatures=to.aliases;ui.unicode=to.unicode;ui.svgPathData=to.svgPathData;ui.aliases=to.aliases});var dD=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var iD="fas",lD="check",sD=448,cD=512,hS=[10003,10004],uD="f00c",fD="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:iD,iconName:lD,icon:[sD,cD,hS,uD,fD]};fi.faCheck=fi.definition;fi.prefix=iD;fi.iconName=lD;fi.width=sD;fi.height=cD;fi.ligatures=hS;fi.unicode=uD;fi.svgPathData=fD;fi.aliases=hS});var bD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var pD="fas",hD="question",mD=320,vD=512,mS=[10067,10068,61736],_D="3f",gD="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";di.definition={prefix:pD,iconName:hD,icon:[mD,vD,mS,_D,gD]};di.faQuestion=di.definition;di.prefix=pD;di.iconName=hD;di.width=mD;di.height=vD;di.ligatures=mS;di.unicode=_D;di.svgPathData=gD;di.aliases=mS});var TD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var yD="fas",SD="exclamation",wD=128,CD=512,vS=[10069,10071,61738],xD="21",kD="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";pi.definition={prefix:yD,iconName:SD,icon:[wD,CD,vS,xD,kD]};pi.faExclamation=pi.definition;pi.prefix=yD;pi.iconName=SD;pi.width=wD;pi.height=CD;pi.ligatures=vS;pi.unicode=xD;pi.svgPathData=kD;pi.aliases=vS});var OD=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var ED="fas",RD="triangle-exclamation",DD=512,AD=512,_S=[9888,"exclamation-triangle","warning"],LD="f071",ND="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";hi.definition={prefix:ED,iconName:RD,icon:[DD,AD,_S,LD,ND]};hi.faTriangleExclamation=hi.definition;hi.prefix=ED;hi.iconName=RD;hi.width=DD;hi.height=AD;hi.ligatures=_S;hi.unicode=LD;hi.svgPathData=ND;hi.aliases=_S});var MD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var ro=OD();mi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=ro.prefix;mi.iconName=ro.iconName;mi.width=ro.width;mi.height=ro.height;mi.ligatures=ro.aliases;mi.unicode=ro.unicode;mi.svgPathData=ro.svgPathData;mi.aliases=ro.aliases});var HD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var PD="fas",ID="house",zD=576,BD=512,gS=[127968,63498,63500,"home","home-alt","home-lg-alt"],FD="f015",jD="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";vi.definition={prefix:PD,iconName:ID,icon:[zD,BD,gS,FD,jD]};vi.faHouse=vi.definition;vi.prefix=PD;vi.iconName=ID;vi.width=zD;vi.height=BD;vi.ligatures=gS;vi.unicode=FD;vi.svgPathData=jD;vi.aliases=gS});var UD=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=HD();_i.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};_i.faHome=_i.definition;_i.prefix=ao.prefix;_i.iconName=ao.iconName;_i.width=ao.width;_i.height=ao.height;_i.ligatures=ao.aliases;_i.unicode=ao.unicode;_i.svgPathData=ao.svgPathData;_i.aliases=ao.aliases});var KD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var VD="fas",WD="share",qD=512,YD=512,bS=["mail-forward"],$D="f064",GD="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";gi.definition={prefix:VD,iconName:WD,icon:[qD,YD,bS,$D,GD]};gi.faShare=gi.definition;gi.prefix=VD;gi.iconName=WD;gi.width=qD;gi.height=YD;gi.ligatures=bS;gi.unicode=$D;gi.svgPathData=GD;gi.aliases=bS});var rA=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var XD="fas",QD="magnifying-glass",JD=512,ZD=512,yS=[128269,"search"],eA="f002",tA="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";bi.definition={prefix:XD,iconName:QD,icon:[JD,ZD,yS,eA,tA]};bi.faMagnifyingGlass=bi.definition;bi.prefix=XD;bi.iconName=QD;bi.width=JD;bi.height=ZD;bi.ligatures=yS;bi.unicode=eA;bi.svgPathData=tA;bi.aliases=yS});var aA=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=rA();yi.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};yi.faSearch=yi.definition;yi.prefix=no.prefix;yi.iconName=no.iconName;yi.width=no.width;yi.height=no.height;yi.ligatures=no.aliases;yi.unicode=no.unicode;yi.svgPathData=no.svgPathData;yi.aliases=no.aliases});var uA=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var nA="fas",oA="yen-sign",iA=320,lA=512,SS=[165,"cny","jpy","rmb","yen"],sA="f157",cA="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";Si.definition={prefix:nA,iconName:oA,icon:[iA,lA,SS,sA,cA]};Si.faYenSign=Si.definition;Si.prefix=nA;Si.iconName=oA;Si.width=iA;Si.height=lA;Si.ligatures=SS;Si.unicode=sA;Si.svgPathData=cA;Si.aliases=SS});var _A=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var fA="fas",dA="pen",pA=512,hA=512,wS=[128394],mA="f304",vA="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";wi.definition={prefix:fA,iconName:dA,icon:[pA,hA,wS,mA,vA]};wi.faPen=wi.definition;wi.prefix=fA;wi.iconName=dA;wi.width=pA;wi.height=hA;wi.ligatures=wS;wi.unicode=mA;wi.svgPathData=vA;wi.aliases=wS});var xA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var gA="fas",bA="bars",yA=448,SA=512,CS=["navicon"],wA="f0c9",CA="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";Ci.definition={prefix:gA,iconName:bA,icon:[yA,SA,CS,wA,CA]};Ci.faBars=Ci.definition;Ci.prefix=gA;Ci.iconName=bA;Ci.width=yA;Ci.height=SA;Ci.ligatures=CS;Ci.unicode=wA;Ci.svgPathData=CA;Ci.aliases=CS});var LA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var kA="fas",TA="download",EA=512,RA=512,xS=[],DA="f019",AA="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";xi.definition={prefix:kA,iconName:TA,icon:[EA,RA,xS,DA,AA]};xi.faDownload=xi.definition;xi.prefix=kA;xi.iconName=TA;xi.width=EA;xi.height=RA;xi.ligatures=xS;xi.unicode=DA;xi.svgPathData=AA;xi.aliases=xS});var BA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var NA="fas",OA="link",MA=640,PA=512,kS=[128279,"chain"],IA="f0c1",zA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";ki.definition={prefix:NA,iconName:OA,icon:[MA,PA,kS,IA,zA]};ki.faLink=ki.definition;ki.prefix=NA;ki.iconName=OA;ki.width=MA;ki.height=PA;ki.ligatures=kS;ki.unicode=IA;ki.svgPathData=zA;ki.aliases=kS});var qA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var FA="fas",jA="link-slash",HA=640,UA=512,TS=["chain-broken","chain-slash","unlink"],VA="f127",WA="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";Ti.definition={prefix:FA,iconName:jA,icon:[HA,UA,TS,VA,WA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=FA;Ti.iconName=jA;Ti.width=HA;Ti.height=UA;Ti.ligatures=TS;Ti.unicode=VA;Ti.svgPathData=WA;Ti.aliases=TS});var JA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var YA="fas",$A="up-right-from-square",GA=512,KA=512,ES=["external-link-alt"],XA="f35d",QA="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";Ei.definition={prefix:YA,iconName:$A,icon:[GA,KA,ES,XA,QA]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=YA;Ei.iconName=$A;Ei.width=GA;Ei.height=KA;Ei.ligatures=ES;Ei.unicode=XA;Ei.svgPathData=QA;Ei.aliases=ES});var ZA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var oo=JA();Ri.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=oo.prefix;Ri.iconName=oo.iconName;Ri.width=oo.width;Ri.height=oo.height;Ri.ligatures=oo.aliases;Ri.unicode=oo.unicode;Ri.svgPathData=oo.svgPathData;Ri.aliases=oo.aliases});var i8=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var e8="fas",t8="gear",r8=512,a8=512,RS=[9881,"cog"],n8="f013",o8="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";Di.definition={prefix:e8,iconName:t8,icon:[r8,a8,RS,n8,o8]};Di.faGear=Di.definition;Di.prefix=e8;Di.iconName=t8;Di.width=r8;Di.height=a8;Di.ligatures=RS;Di.unicode=n8;Di.svgPathData=o8;Di.aliases=RS});var p8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var l8="fas",s8="plus",c8=448,u8=512,DS=[10133,61543,"add"],f8="2b",d8="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:l8,iconName:s8,icon:[c8,u8,DS,f8,d8]};Ai.faPlus=Ai.definition;Ai.prefix=l8;Ai.iconName=s8;Ai.width=c8;Ai.height=u8;Ai.ligatures=DS;Ai.unicode=f8;Ai.svgPathData=d8;Ai.aliases=DS});var y8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var h8="fas",m8="minus",v8=448,_8=512,AS=[8211,8722,10134,"subtract"],g8="f068",b8="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";Li.definition={prefix:h8,iconName:m8,icon:[v8,_8,AS,g8,b8]};Li.faMinus=Li.definition;Li.prefix=h8;Li.iconName=m8;Li.width=v8;Li.height=_8;Li.ligatures=AS;Li.unicode=g8;Li.svgPathData=b8;Li.aliases=AS});var E8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var S8="fas",w8="ellipsis",C8=448,x8=512,LS=["ellipsis-h"],k8="f141",T8="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:S8,iconName:w8,icon:[C8,x8,LS,k8,T8]};Ni.faEllipsis=Ni.definition;Ni.prefix=S8;Ni.iconName=w8;Ni.width=C8;Ni.height=x8;Ni.ligatures=LS;Ni.unicode=k8;Ni.svgPathData=T8;Ni.aliases=LS});var R8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var io=E8();Oi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=io.prefix;Oi.iconName=io.iconName;Oi.width=io.width;Oi.height=io.height;Oi.ligatures=io.aliases;Oi.unicode=io.unicode;Oi.svgPathData=io.svgPathData;Oi.aliases=io.aliases});var P8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var D8="fas",A8="ellipsis-vertical",L8=128,N8=512,NS=["ellipsis-v"],O8="f142",M8="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";Mi.definition={prefix:D8,iconName:A8,icon:[L8,N8,NS,O8,M8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=D8;Mi.iconName=A8;Mi.width=L8;Mi.height=N8;Mi.ligatures=NS;Mi.unicode=O8;Mi.svgPathData=M8;Mi.aliases=NS});var I8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var lo=P8();Pi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=lo.prefix;Pi.iconName=lo.iconName;Pi.width=lo.width;Pi.height=lo.height;Pi.ligatures=lo.aliases;Pi.unicode=lo.unicode;Pi.svgPathData=lo.svgPathData;Pi.aliases=lo.aliases});var V8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var z8="fas",B8="star",F8=576,j8=512,OS=[11088,61446],H8="f005",U8="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";Ii.definition={prefix:z8,iconName:B8,icon:[F8,j8,OS,H8,U8]};Ii.faStar=Ii.definition;Ii.prefix=z8;Ii.iconName=B8;Ii.width=F8;Ii.height=j8;Ii.ligatures=OS;Ii.unicode=H8;Ii.svgPathData=U8;Ii.aliases=OS});var X8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var W8="fas",q8="paper-plane",Y8=512,$8=512,MS=[61913],G8="f1d8",K8="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";zi.definition={prefix:W8,iconName:q8,icon:[Y8,$8,MS,G8,K8]};zi.faPaperPlane=zi.definition;zi.prefix=W8;zi.iconName=q8;zi.width=Y8;zi.height=$8;zi.ligatures=MS;zi.unicode=G8;zi.svgPathData=K8;zi.aliases=MS});var aL=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var Q8="fas",J8="heart",Z8=512,eL=512,PS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],tL="f004",rL="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";Bi.definition={prefix:Q8,iconName:J8,icon:[Z8,eL,PS,tL,rL]};Bi.faHeart=Bi.definition;Bi.prefix=Q8;Bi.iconName=J8;Bi.width=Z8;Bi.height=eL;Bi.ligatures=PS;Bi.unicode=tL;Bi.svgPathData=rL;Bi.aliases=PS});var uL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var nL="fas",oL="ban",iL=512,lL=512,IS=[128683,"cancel"],sL="f05e",cL="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";Fi.definition={prefix:nL,iconName:oL,icon:[iL,lL,IS,sL,cL]};Fi.faBan=Fi.definition;Fi.prefix=nL;Fi.iconName=oL;Fi.width=iL;Fi.height=lL;Fi.ligatures=IS;Fi.unicode=sL;Fi.svgPathData=cL;Fi.aliases=IS});var _L=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var fL="fas",dL="location-crosshairs",pL=512,hL=512,zS=["location"],mL="f601",vL="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";ji.definition={prefix:fL,iconName:dL,icon:[pL,hL,zS,mL,vL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=fL;ji.iconName=dL;ji.width=pL;ji.height=hL;ji.ligatures=zS;ji.unicode=mL;ji.svgPathData=vL;ji.aliases=zS});var xL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var gL="far",bL="user",yL=448,SL=512,BS=[128100,62144],wL="f007",CL="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";Hi.definition={prefix:gL,iconName:bL,icon:[yL,SL,BS,wL,CL]};Hi.faUser=Hi.definition;Hi.prefix=gL;Hi.iconName=bL;Hi.width=yL;Hi.height=SL;Hi.ligatures=BS;Hi.unicode=wL;Hi.svgPathData=CL;Hi.aliases=BS});var LL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var kL="far",TL="circle-check",EL=512,RL=512,FS=[61533,"check-circle"],DL="f058",AL="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";Ui.definition={prefix:kL,iconName:TL,icon:[EL,RL,FS,DL,AL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=kL;Ui.iconName=TL;Ui.width=EL;Ui.height=RL;Ui.ligatures=FS;Ui.unicode=DL;Ui.svgPathData=AL;Ui.aliases=FS});var NL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var so=LL();Vi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=so.prefix;Vi.iconName=so.iconName;Vi.width=so.width;Vi.height=so.height;Vi.ligatures=so.aliases;Vi.unicode=so.unicode;Vi.svgPathData=so.svgPathData;Vi.aliases=so.aliases});var FL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var OL="far",ML="circle-question",PL=512,IL=512,jS=[62108,"question-circle"],zL="f059",BL="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";Wi.definition={prefix:OL,iconName:ML,icon:[PL,IL,jS,zL,BL]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=OL;Wi.iconName=ML;Wi.width=PL;Wi.height=IL;Wi.ligatures=jS;Wi.unicode=zL;Wi.svgPathData=BL;Wi.aliases=jS});var jL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var co=FL();qi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=co.prefix;qi.iconName=co.iconName;qi.width=co.width;qi.height=co.height;qi.ligatures=co.aliases;qi.unicode=co.unicode;qi.svgPathData=co.svgPathData;qi.aliases=co.aliases});var $L=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var HL="far",UL="pen-to-square",VL=512,WL=512,HS=["edit"],qL="f044",YL="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";Yi.definition={prefix:HL,iconName:UL,icon:[VL,WL,HS,qL,YL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=HL;Yi.iconName=UL;Yi.width=VL;Yi.height=WL;Yi.ligatures=HS;Yi.unicode=qL;Yi.svgPathData=YL;Yi.aliases=HS});var GL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var uo=$L();$i.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};$i.faEdit=$i.definition;$i.prefix=uo.prefix;$i.iconName=uo.iconName;$i.width=uo.width;$i.height=uo.height;$i.ligatures=uo.aliases;$i.unicode=uo.unicode;$i.svgPathData=uo.svgPathData;$i.aliases=uo.aliases});var tN=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var KL="far",XL="copy",QL=448,JL=512,US=[],ZL="f0c5",eN="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";Gi.definition={prefix:KL,iconName:XL,icon:[QL,JL,US,ZL,eN]};Gi.faCopy=Gi.definition;Gi.prefix=KL;Gi.iconName=XL;Gi.width=QL;Gi.height=JL;Gi.ligatures=US;Gi.unicode=ZL;Gi.svgPathData=eN;Gi.aliases=US});var sN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var rN="far",aN="file",nN=384,oN=512,VS=[128196,128459,61462],iN="f15b",lN="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";Ki.definition={prefix:rN,iconName:aN,icon:[nN,oN,VS,iN,lN]};Ki.faFile=Ki.definition;Ki.prefix=rN;Ki.iconName=aN;Ki.width=nN;Ki.height=oN;Ki.ligatures=VS;Ki.unicode=iN;Ki.svgPathData=lN;Ki.aliases=VS});var mN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var cN="far",uN="trash-can",fN=448,dN=512,WS=[61460,"trash-alt"],pN="f2ed",hN="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";Xi.definition={prefix:cN,iconName:uN,icon:[fN,dN,WS,pN,hN]};Xi.faTrashCan=Xi.definition;Xi.prefix=cN;Xi.iconName=uN;Xi.width=fN;Xi.height=dN;Xi.ligatures=WS;Xi.unicode=pN;Xi.svgPathData=hN;Xi.aliases=WS});var vN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var fo=mN();Qi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=fo.prefix;Qi.iconName=fo.iconName;Qi.width=fo.width;Qi.height=fo.height;Qi.ligatures=fo.aliases;Qi.unicode=fo.unicode;Qi.svgPathData=fo.svgPathData;Qi.aliases=fo.aliases});var CN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var _N="far",gN="image",bN=512,yN=512,qS=[],SN="f03e",wN="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";Ji.definition={prefix:_N,iconName:gN,icon:[bN,yN,qS,SN,wN]};Ji.faImage=Ji.definition;Ji.prefix=_N;Ji.iconName=gN;Ji.width=bN;Ji.height=yN;Ji.ligatures=qS;Ji.unicode=SN;Ji.svgPathData=wN;Ji.aliases=qS});var Q7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var q7="fas",Y7="eye",$7=576,G7=512,lw=[128065],K7="f06e",X7="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:q7,iconName:Y7,icon:[$7,G7,lw,K7,X7]};tl.faEye=tl.definition;tl.prefix=q7;tl.iconName=Y7;tl.width=$7;tl.height=G7;tl.ligatures=lw;tl.unicode=K7;tl.svgPathData=X7;tl.aliases=lw});var cO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var aO="fas",nO="clock",oO=512,iO=512,fw=[128339,"clock-four"],lO="f017",sO="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";rl.definition={prefix:aO,iconName:nO,icon:[oO,iO,fw,lO,sO]};rl.faClock=rl.definition;rl.prefix=aO;rl.iconName=nO;rl.width=oO;rl.height=iO;rl.ligatures=fw;rl.unicode=lO;rl.svgPathData=sO;rl.aliases=fw});var vO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var uO="fas",fO="calendar-days",dO=448,pO=512,dw=["calendar-alt"],hO="f073",mO="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";al.definition={prefix:uO,iconName:fO,icon:[dO,pO,dw,hO,mO]};al.faCalendarDays=al.definition;al.prefix=uO;al.iconName=fO;al.width=dO;al.height=pO;al.ligatures=dw;al.unicode=hO;al.svgPathData=mO;al.aliases=dw});var _O=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var po=vO();nl.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=po.prefix;nl.iconName=po.iconName;nl.width=po.width;nl.height=po.height;nl.ligatures=po.aliases;nl.unicode=po.unicode;nl.svgPathData=po.svgPathData;nl.aliases=po.aliases});var PO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var DO="fas",AO="cloud-arrow-up",LO=640,NO=512,_w=[62338,"cloud-upload","cloud-upload-alt"],OO="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";ol.definition={prefix:DO,iconName:AO,icon:[LO,NO,_w,OO,MO]};ol.faCloudArrowUp=ol.definition;ol.prefix=DO;ol.iconName=AO;ol.width=LO;ol.height=NO;ol.ligatures=_w;ol.unicode=OO;ol.svgPathData=MO;ol.aliases=_w});var nM=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var JO="fas",ZO="grip-vertical",eM=320,tM=512,xw=[],rM="f58e",aM="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";ll.definition={prefix:JO,iconName:ZO,icon:[eM,tM,xw,rM,aM]};ll.faGripVertical=ll.definition;ll.prefix=JO;ll.iconName=ZO;ll.width=eM;ll.height=tM;ll.ligatures=xw;ll.unicode=rM;ll.svgPathData=aM;ll.aliases=xw});var dM=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var iM="fas",lM="filter",sM=512,cM=512,Ew=[],uM="f0b0",fM="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";sl.definition={prefix:iM,iconName:lM,icon:[sM,cM,Ew,uM,fM]};sl.faFilter=sl.definition;sl.prefix=iM;sl.iconName=lM;sl.width=sM;sl.height=cM;sl.ligatures=Ew;sl.unicode=uM;sl.svgPathData=fM;sl.aliases=Ew});var CM=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var _M="fas",gM="palette",bM=512,yM=512,Dw=[127912],SM="f53f",wM="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:_M,iconName:gM,icon:[bM,yM,Dw,SM,wM]};cl.faPalette=cl.definition;cl.prefix=_M;cl.iconName=gM;cl.width=bM;cl.height=yM;cl.ligatures=Dw;cl.unicode=SM;cl.svgPathData=wM;cl.aliases=Dw});var AM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var xM="fas",kM="bars-staggered",TM=512,EM=512,Aw=["reorder","stream"],RM="f550",DM="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";ul.definition={prefix:xM,iconName:kM,icon:[TM,EM,Aw,RM,DM]};ul.faBarsStaggered=ul.definition;ul.prefix=xM;ul.iconName=kM;ul.width=TM;ul.height=EM;ul.ligatures=Aw;ul.unicode=RM;ul.svgPathData=DM;ul.aliases=Aw});var zM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var LM="fas",NM="rotate-left",OM=512,MM=512,Lw=["rotate-back","rotate-backward","undo-alt"],PM="f2ea",IM="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:LM,iconName:NM,icon:[OM,MM,Lw,PM,IM]};fl.faRotateLeft=fl.definition;fl.prefix=LM;fl.iconName=NM;fl.width=OM;fl.height=MM;fl.ligatures=Lw;fl.unicode=PM;fl.svgPathData=IM;fl.aliases=Lw});var WM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var BM="fas",FM="rotate-right",jM=512,HM=512,Nw=["redo-alt","rotate-forward"],UM="f2f9",VM="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";dl.definition={prefix:BM,iconName:FM,icon:[jM,HM,Nw,UM,VM]};dl.faRotateRight=dl.definition;dl.prefix=BM;dl.iconName=FM;dl.width=jM;dl.height=HM;dl.ligatures=Nw;dl.unicode=UM;dl.svgPathData=VM;dl.aliases=Nw});var Bw=Ue(()=>{"use strict"});var Fw=Ue(()=>{"use strict"});var ZM=K(aT()),Ms=K(e5()),Hg=K(ur()),jw=K(rr());var Fr={};Rd(Fr,{$$fromRoot:()=>vt,Accordion:()=>rw,Anchor:()=>df,Box:()=>X,Button:()=>ct,Card:()=>El,ColorObjects:()=>$h,Column:()=>Zt,Config:()=>dt,Cropper:()=>Mw,DarkmodeColors:()=>JM,Effect:()=>hc,ExtractStyles:()=>Ll,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>T7,GenerateHTMLProps:()=>ko,Grid:()=>Wd,Img:()=>Ts,Input:()=>La,Label:()=>mg,LaunchReactApp:()=>Fg,LeftIcon:()=>$d,LeftIndicator:()=>Sg,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Gd,Loader:()=>Ro,Logo:()=>Es,OmitSign:()=>yg,P:()=>k7,PageNotFound:()=>XM,PageViewController:()=>P7,Placeholder:()=>x7,Plate:()=>vg,ReadStyleSet:()=>lm,RequiredShortSign:()=>bg,RequiredSign:()=>gg,RightIcon:()=>Ba,RightIndicator:()=>wg,RootViewController:()=>Ds,Row:()=>gt,SetThemeColorTag:()=>Yh,Sheet:()=>fr,Snackbar:()=>as,Span:()=>yn,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>zg,Text:()=>nr,ThemeColors:()=>Iw,Tips:()=>gc,Tooltips:()=>Na,amotify:()=>U$,default:()=>U$,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Bg});var $W=Object.defineProperty,GW=Object.defineProperties,KW=Object.getOwnPropertyDescriptors,V_=Object.getOwnPropertySymbols,s5=Object.prototype.hasOwnProperty,c5=Object.prototype.propertyIsEnumerable,u5=Math.pow,l5=(r,a,o)=>a in r?$W(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,v=(r,a)=>{for(var o in a||(a={}))s5.call(a,o)&&l5(r,o,a[o]);if(V_)for(var o of V_(a))c5.call(a,o)&&l5(r,o,a[o]);return r},T=(r,a)=>GW(r,KW(a)),Ge=(r,a)=>{var o={};for(var l in r)s5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&V_)for(var l of V_(r))a.indexOf(l)<0&&c5.call(r,l)&&(o[l]=r[l]);return o},Da=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var zw={};Rd(zw,{$$fromRoot:()=>vt,ColorObjects:()=>$h,Config:()=>dt,DarkmodeColors:()=>JM,ExtractStyles:()=>Ll,GenerateHTMLProps:()=>ko,LaunchReactApp:()=>Fg,ReadStyleSet:()=>lm,SetThemeColorTag:()=>Yh,ThemeColors:()=>Iw,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Bg});var xl=K(rr());var xo={sessionUID:(0,xl.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},dt={get:()=>xo,set:r=>{xo=v(v({},xo),r)},update:{themeColor:r=>{if($h.find(o=>o.key==r)||(r="comun"),r==dt.get().themeColor)return;dt.set(T(v({},dt.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Yh()}),dt.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==dt.get().darkMode)return;let a=r=="auto"?dt.get().isSystemDarkmode()?"dark":"light":r;dt.set(T(v({},dt.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),dt.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=dt.get().roundness&&(dt.set(T(v({},dt.get()),{roundness:r})),dt.restart())},screen:r=>{dt.get().screen=v(v({},dt.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";xo.appRoot=r.appRoot||document.body,xo.appRoot instanceof HTMLElement&&(xo.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&dt.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&dt.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&dt.update.darkMode(r.darkMode),xo.deviceIs=o,xo.browserIs=l,xo.isPhone=["Android","iPhone"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,xl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+dt.get().deviceIs,"bdsDM_"+dt.get().darkMode,"bdsTC_"+dt.get().themeColor]),(0,xl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,xl.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{dt.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,xl.default)(document.body),f=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Yh()},restart:()=>{kl.release("RootViewController_"+dt.get().sessionUID)}};var Vo=K(rr()),Md=K(ur()),kl={catch:r=>{let[a]=(0,Md.useState)((0,Vo.UUID)()),[o,l]=(0,Md.useState)((0,Vo.UUID)()),[s,f]=(0,Md.useState)(null),u="RefreshKey_"+a;return(0,Md.useEffect)(()=>{var h;Vo.useStore.set({[u]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(u);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var yu=K(ur());var Pw={};Rd(Pw,{Anchor:()=>df,Button:()=>ct,Cropper:()=>Mw,Effect:()=>hc,Input:()=>La,Label:()=>mg,LeftIcon:()=>$d,LeftIndicator:()=>Sg,Loader:()=>Ro,OmitSign:()=>yg,PageNotFound:()=>XM,PageViewController:()=>P7,Plate:()=>vg,RequiredShortSign:()=>bg,RequiredSign:()=>gg,RightIcon:()=>Ba,RightIndicator:()=>wg,RootViewController:()=>Ds,Sheet:()=>fr,Snackbar:()=>as,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>zg,Tips:()=>gc,Tooltips:()=>Na});var Rl=K(Dt()),pu=K(ur()),Sn=K(rr());var XS={};Rd(XS,{Box:()=>X,Card:()=>El,Column:()=>Zt,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>T7,Grid:()=>Wd,Img:()=>Ts,Logo:()=>Es,P:()=>k7,Placeholder:()=>x7,Span:()=>yn});var ff=K(Dt());var p5=K(Dt());var X=r=>{let a=ko(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,p5.jsx)(s,v({},l)):null};var Pt=K(Dt());var xN=K(PE()),kN=K(VE()),TN=K(XE()),EN=K(aR()),RN=K(uR()),DN=K(_R()),AN=K(xR()),LN=K(LR()),NN=K(BR()),ON=K(qR()),MN=K(JR()),PN=K(o6()),IN=K(d6()),zN=K(b6()),BN=K(T6()),FN=K(lS()),jN=K(cS()),HN=K(fS()),UN=K(Q6()),VN=K(oD()),WN=K(dD()),qN=K(bD()),YN=K(TD()),$N=K(MD()),GN=K(UD()),KN=K(KD()),XN=K(aA()),QN=K(uA()),JN=K(_A()),ZN=K(xA()),e7=K(LA()),t7=K(BA()),r7=K(qA()),a7=K(ZA()),n7=K(i8()),o7=K(p8()),i7=K(y8()),l7=K(R8()),s7=K(I8()),c7=K(V8()),u7=K(X8()),f7=K(aL()),d7=K(uL()),p7=K(_L()),h7=K(xL()),m7=K(NL()),v7=K(jL()),_7=K(GL()),g7=K(tN()),b7=K(sN()),y7=K(vN()),S7=K(CN()),zt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=ko(l);return(0,Pt.jsx)(xN.FontAwesomeIcon,T(v({icon:o,size:"1x"},s),{style:v({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=zt;Ne.User=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:h7.faUser})),Ne.Times=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:kN.faTimes})),Ne.AngleRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:TN.faAngleRight})),Ne.AngleLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:EN.faAngleLeft})),Ne.AngleUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:RN.faAngleUp})),Ne.AngleDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:DN.faAngleDown})),Ne.ChevronLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:AN.faChevronLeft})),Ne.ChevronRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:LN.faChevronRight})),Ne.ChevronUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:NN.faChevronUp})),Ne.ChevronDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ON.faChevronDown})),Ne.CaretLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:MN.faCaretLeft})),Ne.CaretRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:PN.faCaretRight})),Ne.CaretUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:IN.faCaretUp})),Ne.CaretDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:zN.faCaretDown})),Ne.ArrowLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:BN.faArrowLeft})),Ne.ArrowRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:FN.faArrowRight})),Ne.ArrowUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:jN.faArrowUp})),Ne.ArrowDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:HN.faArrowDown})),Ne.Rotate=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:UN.faRotate})),Ne.Redo=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:VN.faRedo})),Ne.Check=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:WN.faCheck})),Ne.CheckCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:m7.faCheckCircle})),Ne.Question=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:qN.faQuestion})),Ne.QuestionCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:v7.faQuestionCircle})),Ne.Exclamation=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:YN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:$N.faExclamationTriangle})),Ne.Home=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:GN.faHome})),Ne.Share=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:KN.faShare})),Ne.Search=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:XN.faSearch})),Ne.YenSign=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:QN.faYenSign})),Ne.Heart=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:f7.faHeart})),Ne.Star=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:c7.faStar})),Ne.Edit=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:_7.faEdit})),Ne.Pen=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:JN.faPen})),Ne.Copy=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:g7.faCopy})),Ne.File=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:b7.faFile})),Ne.TrashAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:y7.faTrashAlt})),Ne.Bars=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ZN.faBars})),Ne.Download=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:e7.faDownload})),Ne.Link=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:t7.faLink})),Ne.LinkSlash=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:r7.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:a7.faExternalLinkAlt})),Ne.Gear=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:n7.faGear})),Ne.Plus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:o7.faPlus})),Ne.Minus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:i7.faMinus})),Ne.EllipsisH=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:l7.faEllipsisH})),Ne.EllipsisV=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:s7.faEllipsisV})),Ne.PaperPlane=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:u7.faPaperPlane})),Ne.Image=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:S7.faImage})),Ne.Ban=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:d7.faBan})),Ne.Location=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:p7.faLocationCrosshairs}));var w7=K(Dt());var qY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},YY={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"},$Y={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},GY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},KY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},XY={Wrapper:"_Wrapper_3nb6i_2",Wrap:"_Wrap_3nb6i_2",Content:"_Content_3nb6i_9",TapSensor:"_TapSensor_3nb6i_28",TapContent:"_TapContent_3nb6i_38",Hide:"_Hide_3nb6i_45",Open:"_Open_3nb6i_48",isMainSheet_true:"_isMainSheet_true_3nb6i_48",isMainSheet_false:"_isMainSheet_false_3nb6i_52",BB:"_BB_3nb6i_52",Tcate_normal:"_Tcate_normal_3nb6i_55",BaseBody:"_BaseBody_3nb6i_59",Tcate_drawer:"_Tcate_drawer_3nb6i_74",Tpos_left:"_Tpos_left_3nb6i_74",Tpos_right:"_Tpos_right_3nb6i_89",Tpos_bottom:"_Tpos_bottom_3nb6i_104",DragBar:"_DragBar_3nb6i_111",Tcate_custom:"_Tcate_custom_3nb6i_119",CustomSheet:"_CustomSheet_3nb6i_127",GPT:"_GPT_3nb6i_130",Col_1:"_Col_1_3nb6i_130",Row_1:"_Row_1_3nb6i_130",Row_4:"_Row_4_3nb6i_130",Col_4:"_Col_4_3nb6i_130",Row_2:"_Row_2_3nb6i_133",Row_5:"_Row_5_3nb6i_133",Col_2:"_Col_2_3nb6i_136",Col_5:"_Col_5_3nb6i_136",GPT_3:"_GPT_3_3nb6i_142",GPT_18:"_GPT_18_3nb6i_142",GPT_8:"_GPT_8_3nb6i_145",GPT_23:"_GPT_23_3nb6i_145",GPT_11:"_GPT_11_3nb6i_148",GPT_14:"_GPT_14_3nb6i_148",GPT_12:"_GPT_12_3nb6i_151",GPT_15:"_GPT_15_3nb6i_151",Col_3:"_Col_3_3nb6i_161"},QY={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"},JY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},ZY={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"},e$={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"},t$={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"},r$={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},a$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var n$={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"},o$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},i$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},l$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},s$={Label:"_Label_qfhyi_1",Wrap:"_Wrap_qfhyi_18",Rail:"_Rail_qfhyi_18",Bar:"_Bar_qfhyi_18",BarColor:"_BarColor_qfhyi_21",Labels:"_Labels_qfhyi_24",ShowLegendsAlways_true:"_ShowLegendsAlways_true_qfhyi_27",Ball:"_Ball_qfhyi_38"},c$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var u$={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"},YS=r=>qY[r],Zi=r=>YY[r],dg=r=>$Y[r],$S=r=>GY[r],om=r=>KY[r],va=r=>XY[r],xa=r=>QY[r],Aa=r=>JY[r],Kt=r=>ZY[r],Ql=r=>e$[r],uu=r=>t$[r],sf=r=>r$[r],Ud=r=>a$[r];var Jl=r=>n$[r],cf=r=>o$[r],Tl=r=>i$[r],uf=r=>l$[r],ks=r=>s$[r],ka=r=>c$[r];var pg=r=>u$[r];var Ts=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,w7.jsx)(X,T(v({htmlTag:"img",src:o,alt:l},f),{className:[YS("Img"),YS("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),s&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),s&&(u.stopPropagation(),fr.open({type:"image",src:s!=!0?s:o}))},freeCSS:v({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var ar=K(Dt()),GS=K(rr());var C7={ComunIcon:()=>(0,ar.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,ar.jsxs)("g",{children:[(0,ar.jsx)("path",{d:`
|
|
927
927
|
M
|
|
928
928
|
100,600
|
|
929
929
|
A 500,500 0 0,0 600,1100
|
|
@@ -931,7 +931,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
931
931
|
A 300,300 0 0,1 300,600
|
|
932
932
|
A 100,100 0 0,0 100,600
|
|
933
933
|
Z
|
|
934
|
-
`,style:{opacity:.9,fill:"#16a3ec"}}),(0,
|
|
934
|
+
`,style:{opacity:.9,fill:"#16a3ec"}}),(0,ar.jsx)("path",{d:`
|
|
935
935
|
M
|
|
936
936
|
600,1100
|
|
937
937
|
A 500,500 0 0,0 1100,600
|
|
@@ -939,7 +939,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
939
939
|
A 300,300 0 0,1 600,900
|
|
940
940
|
A 100,100 0 1,0 600,1100
|
|
941
941
|
Z
|
|
942
|
-
`,style:{opacity:.9,fill:"#ea6093"}}),(0,
|
|
942
|
+
`,style:{opacity:.9,fill:"#ea6093"}}),(0,ar.jsx)("path",{d:`
|
|
943
943
|
M
|
|
944
944
|
600,100
|
|
945
945
|
A 500,500 0 0,0 100,600
|
|
@@ -947,7 +947,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
947
947
|
A 300,300 0 0,1 600,300
|
|
948
948
|
A 100,100 0 0,0 600,100
|
|
949
949
|
Z
|
|
950
|
-
`,style:{opacity:.9,fill:"#387cfe"}}),(0,
|
|
950
|
+
`,style:{opacity:.9,fill:"#387cfe"}}),(0,ar.jsx)("path",{d:`
|
|
951
951
|
M
|
|
952
952
|
600,100
|
|
953
953
|
A 100,100 0 0,1 700,200
|
|
@@ -957,7 +957,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
957
957
|
A 500,500 0 0,1 500,200
|
|
958
958
|
A 100,100 0 0,1 600,100
|
|
959
959
|
Z
|
|
960
|
-
`,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{let r=a=>(0,
|
|
960
|
+
`,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{let r=a=>(0,ar.jsxs)(ar.Fragment,{children:[(0,ar.jsx)("path",{d:`
|
|
961
961
|
M
|
|
962
962
|
600,100
|
|
963
963
|
A 80,80 0 0,1 600,260
|
|
@@ -965,7 +965,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
965
965
|
L600,600
|
|
966
966
|
L600,300
|
|
967
967
|
Z
|
|
968
|
-
`,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#c56ff0"}}),(0,
|
|
968
|
+
`,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#c56ff0"}}),(0,ar.jsx)("path",{d:`
|
|
969
969
|
M
|
|
970
970
|
600,300
|
|
971
971
|
A 45,45 0 0,1 600,390
|
|
@@ -973,11 +973,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
973
973
|
L600,600
|
|
974
974
|
L600,300
|
|
975
975
|
Z
|
|
976
|
-
`,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,rr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},cc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.MingooIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(cc.Icon,{size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(cc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))}},fc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.ComunIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(fc.Icon,{size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(fc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))}},fu="https://cdn.amotify.com/",Ts={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Brands:{MingooIcon:cc.Icon,MingooTitle:cc.Title,MingooLogoH:cc.LogoH,MingooLogoV:cc.LogoV,ComunIcon:fc.Icon,ComunTitle:fc.Title,ComunLogoH:fc.LogoH,ComunLogoV:fc.LogoV,Google:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fu+"@env/@logos/mingoo/icon.png",mingooIconClear:fu+"@env/@logos/mingoo/iconClear.png",comunIcon:fu+"@env/@logos/comun/icon.png",comunIconClear:fu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fu+"@env/@icon/"+(r||"image")+".png"}};var qS=K(Dt());var y7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,qS.jsx)(X,T(_({className:[ug("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,qS.jsx)(X,{className:[ug("Body"),ug("Color_"+o)].join(" ")})}))};var Sn=r=>(0,cf.jsx)(X,T(_({},r),{htmlTag:"span"})),S7=r=>(0,cf.jsx)(X,T(_({},r),{htmlTag:"p"})),Ud=r=>(0,cf.jsx)(X,_({display:"grid"},r)),At=r=>(0,cf.jsx)(X,T(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),w7=r=>(0,cf.jsx)(X,_({width:1,flexSizing:"none"},r)),ar=r=>(0,cf.jsx)(At,_({flexType:"col",gap:1},r));var Es=K(Dt()),fg=K(tr());var C7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=T(_({},s),{backgroundColor:"trans"}):a=="border"?s=T(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},x7=r=>{let a=nm(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,fg.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:c="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=_(_(_({},C7.Size(r.seed,h,p,m)),C7.Tone(r.seed,h,p,m)),a),a.className=[g,lf("Wrap"),lf("isNeutral_"+!s),lf("isLocked_"+l),lf("Tone_"+h),lf("Color_"+m),lf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=_(_({className:[a.className,c].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(_({},g),{"data-form-submit-button":p.formName,"data-sdfike":fg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Es.jsx)(X,T(_({htmlTag:"button"},g),{onClick:b=>Aa(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield _a.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Es.jsx)(X,T(_({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,w=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(X,T(_({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;S&&(Y+=location.search),b?Mn.pushSync(Y):Mn.push(Y,!!M)}}))}return null},du=function(r,a){let o=s=>(0,Es.jsx)(x7,_({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Es.jsx)(o,_({size:"xsmall",tone:a},s)),l.S=s=>(0,Es.jsx)(o,_({size:"small",tone:a},s)),l.R=s=>(0,Es.jsx)(o,_({size:"regular",tone:a},s)),l.L=s=>(0,Es.jsx)(o,_({size:"large",tone:a},s)),l},$S=function(r){let a=o=>(0,Es.jsx)(x7,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=du(r,"plain"),a.Link=du(r,"link"),a.Normal=du(r,"normal"),a.Border=du(r,"border"),a.Prime=du(r,"prime"),a.Sub=du(r,"sub"),a.Clear=du(r,"clear"),a.FillToBorder=du(r,"fillToBorder"),a.BorderToFill=du(r,"borderToFill"),a},it=$S("button"),dg=$S("label"),ff=$S("anchor");var Rs={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:c}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.reset(),setTimeout(()=>{Rs.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,wn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||wn.default.interval.once(()=>{Rs.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,wn.default)(window).removeEvent(g),(0,wn.default)(window).removeEvent(m)}},[]);let p=f;return(0,El.jsxs)(ar,T(_({className:[c,La("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,El.jsxs)(At,{className:La("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,El.jsx)(X,{className:La("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,dc.useState)((0,wn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,El.jsx)(At,T(_({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,La("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,El.jsx)(X,T(_({className:[o,La("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,dc.useState)((0,wn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,El.jsx)(At,T(_({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[La("FooterNav"),o].join(" "),children:(0,El.jsx)(At,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),c=wn.default.flatArray(s),h=location.pathname;{let p=!1;if(wn.default.is.exist(l)&&wn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&c.length)for(let m of c)wn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,El.jsx)(it.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{wn.default.is.exist(l)&&wn.default.is.string(l)&&Mn.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},f))},Bar:r=>(0,El.jsx)(X,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,El.jsx)(X,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,wn.default)(document.body),a=mt("#__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,wn.default)(document.body),a=mt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_TopNavigation"),o=mt("#__RVC_FooterNavigation"),l=mt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,c=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-c,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",c+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var k7=K(Dt());var T7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,k7.jsx)(X,T(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var om=K(Dt()),L7=K(cr());var GS=K(Dt()),KS=K(tr());var Vd=K(cr());var E7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Vd.useState)(s);return(0,Vd.useEffect)(()=>{setTimeout(()=>{let h=mt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,GS.jsx)(X,T(_({},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))},R7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Vd.useState)(s);return(0,Vd.useEffect)(()=>{setTimeout(()=>{let h=mt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,GS.jsx)(X,T(_({paddingTop:2},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))};var el=K(tr());var df={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:c,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:w}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(c+g),0),M=Math.max(w-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{df.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{df.End(Y)},20)}}),(0,el.default)(l).addClass([Xl("RippleElement"),Xl("Color_"+s)]).append(`<div class="${Xl("RippleWrap")}" id="${f}">
|
|
977
|
-
<div class="${
|
|
978
|
-
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{df.End(Y)}}).find("#"+f).find("."+Xl("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Xl("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},D7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:df.RippleElementTag,callback:r=>{df.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:df.RippleElementTag,callback:r=>{ht.get().isTouchDevice||df.Start(r)}}),null)};var XS=K(tr());var A7={Wrapper:()=>(typeof window=="undefined"||(0,XS.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,XS.default)(r.target).removeClass(Xl("PuddingEffect")).await(1).addClass(Xl("PuddingEffect")).await(510).removeClass(Xl("PuddingEffect"))}}),null)};var pu={Ripple:D7,Pudding:A7,FadeIn:E7,FadeUp:R7};var N7=r=>{let{viewIndex:a=0,views:o,wrapper:l=c=>(0,om.jsx)(pu.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,L7.useState)(a);return s!=a&&f(a),(0,om.jsx)(om.Fragment,{children:l(o[a])})};var lm=K(Dt()),Rl=K(tr()),pc=K(cr());var s$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pc.useState)((0,Rl.UUID)()),[w,k]=(0,pc.useState)({eventType:"init",index:r.slideIndex}),L=(0,pc.useRef)(!1);(0,pc.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pc.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Q=mt("#Swiper-"+S);if(w.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Wd(j)}).children().removeClass(La("Display")).parent().children(j).addClass([La("Display"),La("LoopAdjusting")]).await(100).removeClass(La("LoopAdjusting"));else if(w.eventType=="sys")Q.await(250).css({transform:Wd(j)}).children().removeClass(La("Display")).parent().children(j).addClass(La("Display"));else if(Q.children().removeClass(La("Display")).parent().children(j).addClass(La("Display")).parent().css({transition:"0.3s",transform:Wd(j)}).await(250).css({transition:"0s"}),F){let N=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&Rl.default.interval.once(()=>{let N=w.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let M=m.map((j,F)=>(0,lm.jsx)(X,{flexSizing:"none",width:1,height:0,className:La("Child"),children:p(j)},F));f&&(M.push(T(_({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(_({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=w.index+ +!!f;return(0,lm.jsx)(X,T(_({overflow:"hidden",position:"relative"},b),{className:[b.className,La("SwipeView")].join(" "),freeCSS:_({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(c||j.buttons!=1))return;im.Start(j,Y)},children:(0,lm.jsx)(At,{flexWrap:!1,gap:1,transition:"long",className:[La("Rail"),La("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:_({},L.current?{}:{transform:Wd(O)}),children:M})}))},Wd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,im={Start:(r,a)=>{let{x:o,y:l}=Rl.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:mt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,Rl.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{im.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{im.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Rl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);mt("#Swiper-"+a.id).children(c-1).addClass(La("Display")),(0,Rl.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{im.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{im.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Rl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}mt("#Swiper-"+a.id).css({transition:"0s",transform:Wd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Rl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),c=0;s<400?c=f-(+(o>0)*2-1):c=Math.round(f-o/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,f===c?(a.effectStartAt=l,mt("#Swiper-"+a.id).css({transition:".2s",transform:Wd(c)}).await(310).css({transition:"0s"}).children().removeClass(La("Display")).parent().children(f).addClass(La("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},O7=r=>(0,lm.jsx)(s$,T(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Lg=K(Dt()),WO=K(cr());var hc=K(Dt());var M7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(_({},a),{border:!0}):r=="cloud"?a=T(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(_({},a),{borderRadius:0,borderBottom:!0})),a},pg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},hg=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)),mg=r=>(0,hc.jsx)(Sn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),vg=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)),_g=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},gg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{right:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))},qd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{left:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))};var P7=K(Dt());var I7=r=>(0,P7.jsx)(X,_({htmlTag:"input"},r));var rw=K(Dt()),$d=K(tr()),cm=K(cr());var Hn=K(Dt()),hf=K(cr()),pa=K(tr());var ZS={};Ed(ZS,{Accordion:()=>JS,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>Yd,Row:()=>vt,Text:()=>nr});var QS=K(Dt()),Jl=K(tr()),hu=K(cr());var c$=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,c=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,hu.useState)((0,Jl.UUID)()),[p]=(0,hu.useState)((0,Jl.UUID)()),[m,g]=(0,hu.useState)(s);m!=s&&f&&g(s);let b=(0,hu.useRef)(!1);return(0,hu.useEffect)(()=>{let S=mt('[data-accordion-content-id="'+p+'"]')[0];if(S){let w=S.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),mt("#"+h).css({transition:k+"s"})}},[]),(0,hu.useEffect)(()=>{let S=mt("#"+h),w=mt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,QS.jsx)(X,{className:[VS("Wrap"),VS("Open_"+m)].join(" "),id:h,children:(0,QS.jsx)(X,_({"data-accordion-content-id":p},c))})},JS=c$;JS.fn={open:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.toggle()}};var sm=K(Dt());var z7=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...c)=>{let h=c[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let c=0;c<=f.length-1;c++){let h=f[c],p=s[c];l.push(h),c<f.length-1&&l.push((0,sm.jsx)(ff.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else o&&(l=[o]);return(0,sm.jsx)(sm.Fragment,{children:l})};var Dl=K(Dt());var B7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||F7;let f=o.map((c,h)=>(0,Dl.jsx)(l,{children:c,index:h},h));return(0,Dl.jsx)(X,T(_({htmlTag:"ul",children:f},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},F7=r=>(0,Dl.jsx)(X,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Yd=F7;Yd.Center=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Left=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Right=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Separate=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var um=K(Dt());var vt={Center:r=>(0,um.jsx)(At,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,um.jsx)(At,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,um.jsx)(At,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,um.jsx)(At,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mu=K(Dt());var pf=r=>(0,mu.jsx)(X,_({},r)),nr=pf;nr.Title=r=>(0,mu.jsx)(pf,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,mu.jsx)(pf,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,mu.jsx)(pf,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,mu.jsx)(pf,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,mu.jsx)(pf,T(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,mu.jsx)(pf,_({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,mu.jsx)(Sn,T(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var j7=K(Dt()),ew=K(tr());var Rr=K(Dt()),It=K(tr()),qa=K(cr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>It.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,It.UUID)(),isOpen:!0,created_at:(0,It.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}},bg={Wrapper:()=>{let[r,a]=(0,qa.useState)(!1),[o,l]=(0,qa.useState)([]),s={val_sheets:o,set_sheets:l};It.useStore.set({["sessionStates-"+ht.get().sessionUID]:s}),(0,qa.useEffect)(()=>{It.useStore.set({["Sheet-"+ht.get().sessionUID]:{add:(c,h)=>{let p=It.useStore.get("Sheet-"+ht.get().sessionUID);if(!p)return;let m=Ds.getNewSheetStates(c);if(h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){l(g=>{let b=[...g],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b});return}l(g=>[m,...g])},find:c=>{let h=Ds.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==c)}}}),(0,It.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(c){let{key:h,metaKey:p}=c;if(h=="Escape"||h==","&&p){let m=Ds.getSessionStates();if(!m)return;let{val_sheets:g}=m,b=g.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);hr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(c){let h=Ds.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=c.target;if(!m||m!=null&&m.closest("."+oa("CustomSheet")))return;let g=p.filter(b=>b.type=="custom");g.length&&g.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=mt(S)[0];S!==m&&w!==m&&((0,It.default)(w).find(m).length||hr.close(b.sheetID))})}})},[]),(0,qa.useEffect)(()=>{let c=o.filter(h=>h.backgroundEffect&&h.isOpen&&!h.overwrap&&h.type!="custom");a(!!c.length)},[o]),(0,qa.useEffect)(()=>{let c=mt(".AMOTIFY_be_root");if(r){let h=(0,It.default)("html").position(),p=32/h.height,m=32/h.width;c.addClass(oa("BodyEffect")).css({transform:`scale(${1-m},${1-p})`})}else c.css({transform:"scale(1)"}).removeClass(oa("BodyEffect"))},[r]);let f=o.map(c=>(0,Rr.jsx)(bg.Core,T(_({},s),{val_sheet:c,patch_sheet:h=>{l(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==c.sheetID);return g==-1||(m[g]=_(_({},m[g]),h)),m})},delete_sheet:()=>{l(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==c.sheetID);return m==-1||p.splice(m,1),p})}}),c.sheetID));return(0,Rr.jsx)(X,{className:["AMOTIFY_be",oa("Wrapper")].join(" "),children:f})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,qa.useState)(Ds.currentIndex+2),[f]=(0,qa.useState)((0,It.UUID)()),c=a.type!="custom"&&!a.overwrap;(0,qa.useEffect)(()=>{Ds.currentIndex++,It.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,It.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),It.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=It.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,qa.useEffect)(()=>{It.default.scope(()=>{let g=mt("#"+f);if(a.isOpen){a.hold_state&&s(Ds.currentIndex+1),g.await(10).removeClass(oa("Hide")).await(10).addClass(oa("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}g.await(10).removeClass(oa("Open")).await(251).addClass(oa("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),c&&(0,It.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=bg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,Rr.jsx)(X,{className:[oa("Wrap"),oa("Tcate_"+h),oa("Tpos_"+p),oa("isMainSheet_"+c)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,Rr.jsxs)(ar,{className:oa("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!c&&(0,Rr.jsx)(bg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,Rr.jsx)(m,_({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:c="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},re=[];return te.match(/top/)?(re.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(re.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(re.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(re.push("left"),_e.marginRight="auto"):te.match(/center/i)?(re.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(re.push("right"),_e.marginLeft="auto"),(0,Rr.jsx)(X,T(_(_({className:[oa("BB"),c].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:re.join(" ")},m),children:It.default.is.function(f)?(0,Rr.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:c,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,Rr.jsx)(X,T(_(T(_({className:[oa("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:It.default.is.function(c)?(0,Rr.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:c,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=It.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[re,be]=(0,qa.useState)(h),[ye,ge]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});It.useStore.update({[o]:{val_edit:ye,resize:fe=>{let B=te[_e[fe]];ge(W=>T(_({},W),{value:B})),be(fe)}}});let H={Start:fe=>{(0,It.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=It.default.getCursor(fe),W=T(_({},ye),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:ye.value,viewHeight:It.default.getScreenSize().height});It.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(It.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(_({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,It.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=It.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),be(["ZERO","S","R","L"][ne]),ge(T(_({},W),{value:te[ne],process:!1}))}},le=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{le.current?re=="ZERO"?M&&hr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(re)},250):le.current=!0},[re]),(0,Rr.jsx)(X,{className:oa("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:N.height*ye.value},ye.process?{transition:"0s"}:{}),children:(0,Rr.jsxs)(ar,T(_({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},m),{children:[(0,Rr.jsx)(vt.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,Rr.jsx)(vt.Center,{onMouseDown:H.Start,onTouchStart:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,Rr.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:oa("DragBar")})})}),(0,Rr.jsx)(X,T(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:It.default.is.function(c)?(0,Rr.jsx)(c,{}):c}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:c,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,qa.useState)((0,It.UUID)()),_e=It.default.is.element(c)||It.default.is.jmini(c)?(0,It.default)(c):mt(c),re='[data-sheet-id="'+te+'"]',be='[data-sheet-content="'+te+'"]';p=p;let ye=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let Se=It.default.getScreenSize(),Ye=It.default.getCursor(f);return{top:Ye.y-Se.pageYOffset,left:Ye.x-Se.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:Ce}=_e.position();return[1,2].includes(ye)?fe.left=ee:ye==3?fe.left=ee+Ce/2:[4,5].includes(ye)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=mt(re).position(),B=mt(be).position(),W=_e.position(),ne=It.default.getScreenSize(),ee={};for(let Se in B)ee[Se]=B[Se];if(It.default.scope(()=>{if(r.nextToCursor)return;let Se=0;ge==1?Se=W.top-ee.bottom:ge==2?Se=W.top-ee.top:ge==3?Se=W.top-ee.top+(W.height-ee.height)/2:ge==4?Se=W.bottom-ee.bottom:ge==5&&(Se=W.bottom-ee.top),ee.top+=Se,ee.bottom+=Se}),It.default.scope(()=>{if(r.nextToCursor)return;let Se=0;ye==1?Se=W.left-ee.right:ye==2?Se=W.left-ee.left:ye==3?Se=W.left-ee.left+(W.width-ee.width)/2:ye==4?Se=W.right-ee.right:ye==5&&(Se=W.right-ee.left),ee.left+=Se,ee.right+=Se}),ee.top<0){let Se=-ee.top;ee.top+=Se,ee.bottom+=Se}if(ee.bottom>ne.height){let Se=ee.bottom-ne.height;ee.top-=Se,ee.bottom-=Se}if(ee.left<0){let Se=-ee.left;ee.left+=Se,ee.right+=Se}if(ee.right>ne.width){let Se=ee.right-ne.width;ee.left-=Se,ee.right-=Se}let de=ee.top-B.top,Ce=ee.left-B.left;(0,It.default)(re).css({top:fe.top+de+"px",left:fe.left+Ce+"px"})}},[le]=(0,qa.useState)(H.Init());return(0,qa.useEffect)(()=>{mt(re).await(10).addClass(oa("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),It.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,Rr.jsx)(X,{className:[oa("BB"),oa("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,Rr.jsx)(At,{position:"absolute",className:[oa("GPT"),oa("GPT_"+p),oa("Col_"+ye),oa("Row_"+ge)].join(" "),children:(0,Rr.jsx)(X,T(_({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:_({maxWidth:"98vw"},N.freeCSS),children:It.default.is.function(m)?(0,Rr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,Rr.jsx)(X,{className:oa("TapSensor"),children:(0,Rr.jsx)(it.Plain,{className:oa("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&hr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},hr={Wrapper:()=>(0,Rr.jsx)(bg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,It.UUID)(),s=r,{type:f,src:c}=s,h=Ge(s,["type","src"]);hr.open(T(_({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,qa.useState)(It.default.flatArray(c)),[m,g]=(0,qa.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,Rr.jsx)(ks,{src:It.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,Rr.jsxs)(ar,{gap:0,height:1,position:"relative",children:[(0,Rr.jsxs)(vt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,Rr.jsx)(_a.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,Rr.jsx)(it.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{hr.close(l)},children:(0,Rr.jsx)(Ne.Times,{})})]}),(0,Rr.jsx)(pu.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,Rr.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=It.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=It.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=It.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Ds.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let c=It.useStore.get(f.sheetID);c&&c.close&&c.close(o)},closeGroup:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&hr.close(l.sheetID)},closeAll:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||hr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,Rr.jsx)(X,_({className:oa("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,ew.UUID)(),open:r=>{let a=r,{tipsID:o=(0,ew.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);hr.open(T(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&hr.close(r)},closeALL:()=>{hr.closeGroup("tooltips")},Body:r=>(0,j7.jsx)(X,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ea=r=>{let[a]=(0,hf.useState)(r.componentID||(0,pa.UUID)());r=_({},r),r.states=T(_({enableFormSubmit:!0,status_id:(0,pa.UUID)(),override:"never",form:"",id:(0,pa.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Hn.jsx)(o,_({},r.states))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:c}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Hn.jsxs)(vt.Center,T(_({position:"relative",verticalAlign:"unset",gap:0},c),{className:Hd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Hn.jsx)(tw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Hn.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Hn.jsx)(tw.RightIcon,_({},r)),(0,Hn.jsx)(tw.ClearButton,_({},r))]}),s.rightIndicator]}))},tw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Hn.jsx)(it.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,pa.UUID)()}))},children:(0,Hn.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,c="notice-tips-"+l;return(0,hf.useEffect)(()=>{pa.default.interval.once(()=>{if(!a.length){Na.close(c);return}Na.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Hn.jsxs)(Na.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Hn.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Hn.jsx)(ar,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Hn.jsxs)(vt.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Hn.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Hn.jsx)(nr.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+pa.default.Stringify(h))})})]})})},350,s),pa.default.interval.once(()=>{Na.close(c)},6e3,f)},[a]),null}},Ft={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,pa.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:c,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,hf.useEffect)(()=>(pa.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{pa.useStore.get(p).ResolveRefresh=m,s(b=>T(_({},b),{eventType:"refresh",eventID:(0,pa.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;c({ok:g,notice:b})}}}),()=>{pa.useStore.delete(p)}),[]),pa.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let g=pa.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(b=>T(_(T(_({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,pa.UUID)()})),g.status_id=o.status_id)}),(0,hf.useEffect)(()=>{Ft.ValidationCheck({val_status:l,set_validate:c,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,hf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let w=pa.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;pa.default.interval.abort(o);let l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Aa(void 0,null,function*(){if(!a.onValidate)return;let c=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:c.ok,notice:[...s,...c.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}pa.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=mt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,c=r.ctrlKey||r.metaKey;return pa.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&c)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Un=function(r){r=_({tone:"border"},r);let a=pa.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(_(_(_(_(_(_({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:[Hd("Input"),r.className].join(" ")})};var f$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,c=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,cm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,$d.UUID)()}),[m,g]=(0,cm.useState)({ok:!1,notice:[]});return(0,cm.useEffect)(()=>{$d.default.is.equal(h.dataValue,f)||p(b=>T(_({},b),{dataValue:f,eventType:"update",eventID:(0,$d.UUID)()}))},[r.value]),Ft.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,rw.jsx)("input",T(_({value:$d.default.Stringify(f),"data-component-id":o},c),{type:"hidden"}))},H7=r=>(0,rw.jsx)(Ea,{componentID:r.componentID,children:f$,states:r});var lr=K(Dt()),Ja=K(tr()),As=K(cr());var K7=K(G7());var fm=K(Dt()),Sg=K(cr()),yg=K(tr());var mc=r=>{if(!r.label)return null;let[a,o]=(0,Sg.useState)({});return(0,Sg.useEffect)(()=>{let l=(0,yg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,yg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,yg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let c=l.position(),h=f.position();if(r.isActive){let p=h.left-c.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-c.left,m=h.top-c.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,fm.jsx)(X,T(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,fm.jsxs)(vt.Left,{gap:"1/3",children:[r.label,r.required&&(0,fm.jsx)(Sn,{fontColor:"nega",children:" * "})]})}))};var d$={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},katakana:{reg:/^[ァ-ヶー ヲ-゚ ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚ ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,lr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},vu={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=mt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:c,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-c.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:c}=o,h=[];if(f||(s=s||255),Ja.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=vu.Validation.Text(a,l);p.ok||h.push({type:"invalid",label:p.body})}else c&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let l=d$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":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",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let c=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),Ja.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Ja.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let f=l;if(a=="digitNumber"){if(l&&l!="-"){let c=[];for(let h=l.length-1;h>=0;h--){c.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&c.unshift(",")}f=c.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},nw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Aa(void 0,null,function*(){if(!a.multiline)return;let p=(0,Ja.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Ja.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Ja.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Ja.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,w.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",c="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
|
|
979
|
-
T`.repeat(p-1),
|
|
980
|
-
T`.repeat(m-1)}let h=Al(a);return(0,lr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",width:1,freeCSS:T(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,lr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",left:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",right:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:c}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:w,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:re,onKeyDown:be,onValidate:ye,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:Ce,label:Se,isLabelActive:Ye,wrapStyles:$e}=g,Pe=Ge(g,["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"]),et=k=="password"||k=="concealed"?"password":"text",ct=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,lr.jsx)(X,T(_({htmlTag:"input",type:et,inputMode:ct,"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:Tt,target:wt}=lt;{let Ze=wt,{selectionStart:Te,selectionEnd:pt}=Ze,Lt=Number(Te),jt=Number(pt),Ut=s.formatValue[Number(Lt)],er=s.formatValue[Number(Lt)-1];Tt=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(Ze.setSelectionRange(Lt+1,jt+1),lt.preventDefault()),Tt=="Backspace"&&(k=="creditCard"&&er==" "||k=="postal"&&er=="-"||k=="digitNumber"&&er==",")&&(Ze.setSelectionRange(Lt-1,jt-1),lt.preventDefault()),Tt=="Enter"||Tt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&Tt=="Clear"&&f(Ze=>T(_({},Ze),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(Tt)){let Ze=+(Tt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+Ze);o.ok&&l({ok:!1,notice:[]}),f(pt=>T(_(_({},pt),vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:Te})),{eventType:"update",eventID:(0,Ja.UUID)()})),lt.preventDefault()}be&&be(lt),N&&Ft.SubmitForm(lt,L)},onChange:lt=>{let{value:Tt,selectionStart:wt,selectionEnd:Ze}=lt.target,Te=vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:Tt});p&&(Te.formatValue=Tt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(pt=>T(_(_({},pt),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt),caretTo:Number(Ze)})),re&&re(lt))},width:1},Pe),{onFocus:lt=>{Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(lt)),h(!0)},onBlur:lt=>{Pe!=null&&Pe.onBlur&&(Pe==null||Pe.onBlur(lt)),h(!1)},onCompositionStart:lt=>{Pe!=null&&Pe.onCompositionStart&&(Pe==null||Pe.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if(Pe!=null&&Pe.onCompositionEnd&&(Pe==null||Pe.onCompositionEnd(lt)),k=="text")return;let Tt=vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:s.formatValue});f(wt=>T(_(_({},wt),Tt),{prevValue:wt.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt.formatValue.length+1),caretTo:Number(wt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:c,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:w,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:re,onUpdateValue:be,onUpdateValidValue:ye,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["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,lr.jsx)(X,T(_({htmlTag:"textarea","data-show-validation":Ft.isShowValidation(s,c,!!N),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Ft.SubmitForm(ee,w)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(Ce=>T(_({},Ce),{dataValue:de,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(ee)}})):null}},p$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[c,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(_({componentID:a},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Ja.UUID)(),caretFrom:null,caretTo:null})),[S,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:w};return Ft.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:w,SystemValidation:vu.Validation.System,ExtraOverrideStates:_({},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vu.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,lr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,lr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!g.dataValue}),(0,lr.jsx)(nw.Shallow,_({},k)),(0,lr.jsx)(nw.InputBox,_({},k)),(0,lr.jsx)(nw.TextAreaBox,_({},k))]})},Zl=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,lr.jsx)(Ea,{componentID:r.componentID,children:p$,states:Un(r)})),dn=Zl;dn.Validate=vu.Validation.Text,dn.Katakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),dn.Postal=r=>{let[a]=(0,As.useState)((0,Ja.UUID)());return(0,As.useEffect)(()=>()=>{Ja.useStore.delete(a)},[]),(0,lr.jsx)(Zl,T(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,lr.jsx)(qd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,lr.jsx)(Zl,T(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,lr.jsx)(it.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_u.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_u.abort,tabIndex:-1,onClick:a=>{(0,Ja.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,lr.jsx)(Ne,{icon:K7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,lr.jsx)(dn.Password,T(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,lr.jsx)(dn.DigitNumber,T(_({rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var wg=K(Dt()),X7=K(tr()),ow=K(cr());function h$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var m$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,ow.useState)(Ft.DefaultStatus(o,c)),[_e,re]=(0,ow.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:re,SystemValidation:h$}),(0,wg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,wg.jsx)(X,T(_({contentEditable:!0,"data-show-validation":Ft.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:be=>{g&&g(be),h&&Ft.SubmitForm(be,f)},onInput:be=>{let ye=be.currentTarget,{innerHTML:ge,innerText:H}=ye;_e.ok&&re({ok:!1,notice:[]}),te(le=>T(_({},le),{dataValue:H,eventType:"update",eventID:(0,X7.UUID)()})),m&&m(be)}},Q),{children:k}))})},Q7=r=>{r=T(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Un(r);return(0,wg.jsx)(Ea,{componentID:r.componentID,children:m$,states:a})};var dm=K(Dt()),iw=K(cr()),Gd=K(tr());function v$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,c=[];return l&&!a&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&c.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&c.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!c.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:c}}var _$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},J7=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},g$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,re]=(0,iw.useState)(T(_({componentID:r.componentID||""},_$(h,M)),{eventType:"init",eventID:(0,Gd.UUID)()})),[be,ye]=(0,iw.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:v$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=c;r.combineInput&&(B=[c,Hd("DigitCharacterCell"),Hd("Combined")].join(" ")),ge.push((0,dm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:_(_({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let Ce=_e.formatValue;Ce[H]="",re(Se=>T(_(_({},Se),J7(Ce)),{eventType:"update",eventID:(0,Gd.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let Ce=+(ne=="ArrowRight")*2-1;de=H+Ce}else m&&Ft.SubmitForm(W,s),(()=>{let Ce=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Ce)return;let Se=Ce[2]||Ce[3]||Ce[4];if(p&&!Se.match(/\d/)||!Se)return;let Ye=_e.formatValue;Ye[H]=Se,re($e=>T(_(_({},$e),J7(Ye)),{eventType:"update",eventID:(0,Gd.UUID)()})),de=H+1})();Gd.default.is.exist(de)&&mt("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,dm.jsx)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:(0,dm.jsx)(At,T(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},Z7=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=T(_({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=xo(Un(r));return(0,dm.jsx)(Ea,{componentID:r.componentID,children:g$,states:a})};var ta=K(Dt()),hn=K(tr()),pm=K(tr()),To=K(cr());var gO=K(iO()),bO=K(hO());var sr=K(Dt()),pn=K(tr()),gu=K(cr());function b$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:c})=>c=="invalid").length,notice:f}}var uw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},vc={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,sr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,sr.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,sr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(vc.LegacySelector,_({},r)),(0,sr.jsx)(vc.Original,_({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,sr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:c,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,value:be="",options:ye,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorMode:Ce,SelectorStyles:Se,SelectorPosition:Ye}=S,$e=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,gu.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Pe="select-click-"+a.componentID;if(g){if(!(0,pn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,pn.default)(document).addEvent({eventID:Pe,eventType:"click",callback:et=>{let ct=(0,pn.default)(et.target),lt=!!(0,pn.default)(ct).parent("."+Tl("Core")).length;(0,pn.default)(ct).parent("."+Tl("Selector")).length||lt||b(!1)}})}else(0,pn.default)(document).removeEvent([Pe])},[g]),(0,gu.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Pe=(0,pn.default)('[data-input-origin="'+a.componentID+'"]');Pe&&Pe.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(X,T(_({tabIndex:0},$e),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(c,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onFocus:Pe=>{if($e!=null&&$e.onFocus&&($e==null||$e.onFocus(Pe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Pe=>{$e!=null&&$e.onClick&&($e==null||$e.onClick(Pe)),!a.disabled&&b(!0)},onKeyDown:Pe=>{let{key:et,metaKey:ct,ctrlKey:lt}=Pe,Tt=ct||lt;if($e!=null&&$e.onKeyDown&&($e==null||$e.onKeyDown(Pe)),F&&Ft.SubmitForm(Pe,L),!a.disabled){if(pn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(et))return;if(Pe.preventDefault(),!g)return b(!0);let wt=et=="ArrowDown"?1:-1,Ze=uw.FilterSelectableOptions(r),Te=Ze.length-1,pt=null;pn.default.scope(()=>{var Lt,jt,Ut,er,ur,Tr,ra,jr,qr,wr;let fr=Ze.findIndex(_r=>_r.value==s);if(wt==1){if(pt=(jt=(Lt=Ze[0])==null?void 0:Lt.value)!=null?jt:null,Tt){pt=(Ut=Ze[Te].value)!=null?Ut:null;return}if(fr==-1||fr==Te)return;pt=(ur=(er=Ze[fr+1])==null?void 0:er.value)!=null?ur:null}else{if(pt=(Tr=Ze[Te].value)!=null?Tr:null,Tt){pt=(jr=(ra=Ze[0])==null?void 0:ra.value)!=null?jr:null;return}if(fr==-1||fr==0)return;pt=(wr=(qr=Ze[fr-1])==null?void 0:qr.value)!=null?wr:null}}),f(pt)}),et=="Escape")b(!1);else if(et=="Tab")b(!1);else if(et=="Backspace")m(wt=>T(_({},wt),{dataValue:null,eventType:"update",eventID:(0,pn.UUID)()}));else if(et==" ")Pe.preventDefault(),b(!0);else if(et=="Enter"){if(!g)return b(!0);Pe.preventDefault();let wt=a.options.find(Ze=>Ze.value==s);if(!wt)return;m(Ze=>T(_({},Ze),{dataValue:wt.value,eventType:"update",eventID:(0,pn.UUID)()})),b(!1)}}},children:(0,sr.jsxs)(vt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,sr.jsx)(vc.Placeholder,_({},r)),(0,sr.jsx)(vc.Selected,_({},r)),(0,sr.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,sr.jsx)(vc.Selector,_({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:c,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,onKeyDown:be,onChange:ye,value:ge="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:W,componentID:ne,status_id:ee,wrapStyles:de,SelectedCellStyles:Ce,SelectorCellStyles:Se,SelectorMode:Ye,SelectorStyles:$e,SelectorPosition:Pe}=S,et=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,sr.jsxs)(X,T(_({htmlTag:"select",tabIndex:0},et),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(c,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onKeyDown:ct=>{be&&be(ct),F&&Ft.SubmitForm(ct,L)},onChange:ct=>{let{value:lt}=ct.target;c.ok&&h({ok:!1,notice:[]}),m(Tt=>T(_({},Tt),{dataValue:lt,eventType:"update",eventID:(0,pn.UUID)()})),ye&&ye(ct)},children:[!!Q&&(0,sr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(ct=>ct.value?(0,sr.jsx)("option",{value:ct.value,children:ct.label},String(ct.value)):null)]}))},Selector:r=>{var a;let o=[],l=uw.FilterSelectableOptions(r,!0),s=uw.FilterSelectableOptions(r);l.forEach((c,h)=>{let{type:p,value:m}=c,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,sr.jsx)(it.Sub.S,T(_({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(w=>T(_({},w),{dataValue:m,eventType:"update",eventID:(0,pn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,sr.jsxs)(vt.Left,{gap:"1/2",children:[b&&(0,sr.jsx)(Ne.Check,{fontColor:"theme"}),(0,sr.jsx)(nr.Supplement,{transition:"short",flexSizing:0,children:c.label})]})}),String(m)));return}o.push((0,sr.jsx)(X,{children:c.label},(0,pn.UUID)()))}),s.length||(o=[(0,sr.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,sr.jsx)(X,T(_({},f),{children:(0,sr.jsx)(hr.Body,T(_({className:Tl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,sr.jsx)(ar,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&pn.default.scope(()=>{let o=r.rootStates.options.find(l=>pn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,sr.jsx)(X,T(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,sr.jsx)(sr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gu.useState)(Ft.DefaultStatus(r.componentID,o)),[f,c]=(0,gu.useState)(!1),[h,p]=(0,gu.useState)(!1),[m,g]=(0,gu.useState)((a=r.value)!=null?a:null),[b,S]=(0,gu.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:c,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Ft.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:b$}),(0,sr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,sr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,sr.jsx)(vc.Shallow,_({},w)),(0,sr.jsx)(vc.Button,_({},w))]})}},es=r=>{var a;let o=_({},r);return o=T(_({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,sr.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:c}=l;o.options[s]=T(_({},l),{value:c,type:f||"selector"})}),pn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,sr.jsx)(Ba,{ssSphere:2,children:(0,sr.jsx)(Ne.AngleDown,{})})),(0,sr.jsx)(Ea,{componentID:o.componentID,children:vc.Core,states:Un(o)})};var je=K(Dt()),vO=K(cr()),Dr=K(tr()),bu=K(cr());var Oa=K(Dt()),ts=K(tr()),cw=K(cr());function y$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var mf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=ts.default.is.exist(a)?ts.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(c=>ts.default.is.equal(c.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(mf.Core,T(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:c,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:re,min:be,max:ye,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,cw.useState)(Ft.DefaultStatus(f,j)),[ne,ee]=(0,cw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:y$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(mf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:c,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,re=b.map((be,ye)=>{let ge=be,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Ce=(0,ts.UUID)(),Se=te.findIndex(ct=>ct===H)!=-1,Ye=_(_({},O),de),$e=[sf("Label"),j,B];Se&&(Ye=T(_(_(_({},Ye),F),W),{freeCSS:_(_(_({},Ye==null?void 0:Ye.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),$e=[...$e,Q,ne]);let Pe=()=>{if(M||fe)return;let ct=[];if(f=="radio")ct=[H];else if(f=="checkbox"||g)if(!Se)ct=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(Tt=>Tt==H),1),ct=lt}l(lt=>T(_({},lt),{dataValue:ct,eventType:"update",eventID:(0,ts.UUID)()}))},et=[(0,Oa.jsx)(Sn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&et[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:Se,iconSize:p,iconColor:m,toggle:Pe},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:sf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+ye,id:Ce,value:String(H),disabled:M||fe,checked:Se,onFocus:ct=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(_({},lt),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{Pe()},onKeyDown:ct=>{let{key:lt,shiftKey:Tt}=ct;if((f=="checkbox"||r.rootStates.isChecker)&<!="Tab"&<.match(/Arrow/)){ct.preventDefault();let wt=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,Ze=ye+wt;Ze<0?Ze=b.length-1:Ze>=b.length&&(Ze=0),mt(`input[data-list-index="${s}-${Ze}"]`).focus()}N&&Ft.SubmitForm(ct,w)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(X,T(_({htmlTag:"label","data-disabled":M||fe,htmlFor:Ce,className:$e.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ye),{children:et}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[Y,sf("CellBase"),sf("HideInput_"+L),sf("IconIndicator_"+!!h),sf("Tone_"+c)].join(" "),children:re})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.jsx)(it.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Oa.jsx)(mf._Icon,T(_({type:"radio"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Oa.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Oa.jsx)(mf._Icon,T(_({type:"checkbox"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Oa.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},fw=r=>{r=r||"checkbox";let a=l=>(l=T(_({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:_({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=mf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=mf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=xo(l),(0,Oa.jsx)(Ea,{componentID:l.componentID,children:mf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},vf=fw("radio"),Cg=fw("checkbox"),mO=fw();var dw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Dr.Time)().addYear(10).year);for(let c=s;c<=f;c++)l.unshift({value:c,label:[c,...Dr.default.transformer.wareki(c).value].join(" -")});return l},_O=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Dr.UUID)();let s=(0,bu.useRef)(!1),[f,c]=(0,bu.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b)||Dr.default.is.nullish(S))&&([g,b,S]=(0,Dr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b))&&([g,b]=(0,Dr.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Dr.default.is.nullish(g)&&([g]=(0,Dr.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b)||Dr.default.is.nullish(S))&&([g,b,S]=(0,Dr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,bu.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:w}=f;m=w,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(_({},r),{val_value:f,set_value:c});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:Ta(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(Ya.Clock.index,_({},h)):a=="date"?(0,je.jsx)(Ya.Date.index,_({},h)):a=="week"?"":a=="month"?(0,je.jsx)(Ya.Month.index,_({},h)):a=="year"?(0,je.jsx)(Ya.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(Ya.DateWareki.index,_({},h)):(0,je.jsx)(je.Fragment,{})})})},Ya={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,[h,p]=(0,bu.useState)(f.hour>12?2:1),[m,g]=(0,bu.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bu.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:Ta("Body"),children:[(0,je.jsxs)(ar,{className:Ta("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:Ta("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:Ta("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ta("Needle"),Ta("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ta("Needle"),Ta("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{g(w)}})]}),(0,je.jsxs)(ar,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ya.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);c({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ya.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));f>c&&(s=!0)}}a.push((0,je.jsx)(it.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(it.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:dw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{c({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})})}),(0,je.jsx)(es,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{c({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),c({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:Ya.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,w]=g;c({modifiedType:"update",year:b,month:S,date:w})}})}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:c}=r,h=(0,Dr.Time)(),p=(0,Dr.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Dr.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)b.push((0,je.jsx)(X,T(_({className:[Ta("CalendarDay"),Ta("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,vO.createElement)(X,T(_({className:[Ta("CalendarDay"),Ta("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));Q>N&&(F=!0)}}w.push((0,je.jsx)(it.Clear,T(_({className:[Ta("CalendarDay"),Ta("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(_({className:[Ta("CalendarDay"),Ta("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Ud,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{gap:0,children:[(0,je.jsx)(vt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:dw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{c({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);c({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),Ya.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;c({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Dr.Time)(),s=[];for(let f=1;f<=12;f++){let c=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[Ta("Cell"),c?Ta("isThisMonth"):""].join(" ");s.push((0,je.jsxs)(it.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,je.jsx)(Ud,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsx)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Dr.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:dw({min:a,max:o}),onUpdateValidValue:p=>{c({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||(0,Dr.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:c};return(0,je.jsxs)(X,{children:[(0,je.jsxs)(vt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(Ya.DateWareki.EraSelect,_({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(Ya.DateWareki.Calendar,_({},b))]}),(0,je.jsx)(vt.Right,{padding:1,children:(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(ar,{padding:1,gap:0,children:[(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Dr.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Dr.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,je.jsx)(it.Clear,T(_({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,je.jsx)(it.Clear,T(_({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,je.jsx)(it.Clear,T(_({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,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Dr.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Dr.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(_({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(vt.Center,{gap:"1/3",children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(it.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,je.jsx)(Ne.ChevronLeft,{})}),(0,je.jsx)(it.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,je.jsx)(Ne.ChevronRight,{})})]})]}),(0,je.jsx)(Ya.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Dr.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),c=[];for(let p=0;p<7;p++)c.push((0,je.jsx)(nr.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Dr.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Dr.Time)(l).getFirstDayOfTheMonth().addDate(p-s);c.push((0,je.jsx)(it.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Dr.Time)();for(let p=1;p<=f.date;p++){let m=(0,Dr.Time)(l).setDate(p),g=h.diff(m).dates==0;c.push((0,je.jsx)(it.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ta("CalendarDay"),Ta("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Dr.Time)(l).addMonth(1).setDate(1).addDate(p);c.push((0,je.jsx)(it.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,je.jsx)(Ud,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(it.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,je.jsx)(it.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),hr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(it.Clear,T(_({className:Ta("LeftButton"),tabIndex:-1,right:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ne.ChevronLeft,{})})),(0,je.jsx)(it.Clear,T(_({className:Ta("RightButton"),tabIndex:-1,left:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var gf=" ~ ",w$={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+gf.length,length:4},{type:"month",from:15+gf.length,length:2},{type:"date",from:18+gf.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+gf.length,length:4},{type:"month",from:13+gf.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}},_f={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=hn.default.flatArray(o||""),{defaultValue:f,format:c,ranges:h,sets:p}=w$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(c))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==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)}),m.push(w)}}return{formatValue:m.join(gf),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,c=[],h=hn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,w]=g.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=pm.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=pm.Time(b+"/01/01").weekday,k=pm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:pm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:w}=p;m&&f&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||c.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&c.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!c.filter(({type:m})=>m=="invalid").length,notice:c}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:c,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:w,selectionEnd:k}=l.target,{index:L,prevIndex:M}=c,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=c.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(L+Q,j))}h(Q=>T(_({},Q),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:N,length:te}=Y[F],_e=O.slice(N,N+te),re;if(p=="Backspace")re="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;_e=_e|0,re=_e+be;let[ye,ge,H]=Q=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];re>ge?re=ye:re<ye&&(re=ge),re=Number(re).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=_e|0,ye=p,ge=`${be}${ye}`;if(M!=L&&(be=0,ge="0"+ye),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?re=ye:re=ge,(re|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;re=(ge|0)>H?ye:ge,(Number(ye)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=i5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?re=(re|0).zeroEmbed(4):re=(re|0).zeroEmbed(2)}{let be=String(O).partReplace(N,String(re)),ye=be.split(gf).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=ye[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(ye=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(_({},ge),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:(0,hn.UUID)()})),h(ge=>T(_({},ge),{index:F,prevIndex:ge.index}))}}}},yO={picker:{launch:r=>{let a=r.sheetID||(0,hn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:c,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);hr.open(T(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(vt.Center,{children:(0,ta.jsx)(_O,{restrict:h,min:s,max:f,era:c,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},C$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},x$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:c,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,re=Ge(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,To.useState)(c),[ge,H]=(0,To.useState)(T(_({componentID:r.componentID||""},_f.DataLeveling({restrict:s,value:O,era:be})),{eventType:"init",eventID:(0,hn.UUID)()})),[le,fe]=(0,To.useState)({ok:!1,notice:[]}),[B,W]=(0,To.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:be,set_era:ye,val_focus:B,set_focus:W};Ft.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:_f.SystemValidation,ExtraOverrideStates:_({},_f.DataLeveling({restrict:s,value:O,era:be}))});let ee=(0,To.useRef)(!1);return(0,To.useEffect)(()=>{if(ee.current){H(Ce=>_(_({},Ce),_f.DataLeveling({restrict:s,value:Ce.dataValue,era:be})));let de=hn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(be)}else ee.current=!0},[be]),hn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||yO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:be,onValueUpdate:(Ce,Se)=>{H(Ye=>T(_(_({},Ye),_f.DataLeveling({restrict:s,value:Ce,era:Se})),{eventType:"update",eventID:(0,hn.UUID)()})),ye(Se)}})},resetEra:de=>{ye(de),H(Ce=>T(_(_({},Ce),_f.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:(0,hn.UUID)()}))}}}),(0,To.useEffect)(()=>{let{index:de,active:Ce}=B;if(Ce){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:Se,length:Ye}=ge.ranges[de],$e=mt("#"+r.id)[0];$e&&$e.setSelectionRange(Se,Se+Ye)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(C$.Shallow,_({},ne)),(0,ta.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,ta.jsx)(it.Plain,T(_({"data-show-validation":Ft.isShowValidation(le,ge,!!w),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},re),{children:ge.formatValue,onClick:de=>{let Ce=hn.useStore.get(ge.componentID);Ce&&Ce.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ft.isShowValidation(le,ge,!!w),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:de=>{_f.KeyDownEvent({restrict:s,event:de,val_era:be,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Ft.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(Ce=>T(_({},Ce),{active:!0}))},onClick:de=>{let Ce=de.target.selectionEnd,Se=0;ge.ranges.forEach((Ye,$e)=>{let{from:Pe,length:et,region:ct}=Ye;Pe<=Ce&&Ce<=Pe+(ct||et)&&(Se=$e)}),W(Ye=>T(_({},Ye),{active:!0,index:Se})),de.preventDefault()},onChange:()=>{}},re))]})},Ls={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,To.useState)(r.componentID||(0,hn.UUID)());if(a.componentID=o,hn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?gO.faClock:bO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(it.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=hn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:l})})})}return(0,ta.jsx)(Ea,{componentID:a.componentID,children:x$,states:Un(a)})},Clock:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,To.useState)(r.componentID||(0,hn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,To.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let m=Number(c);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,To.useEffect)(()=>{hn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ls.Origin,T(_({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(es,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{s(f);let c=hn.useStore.get(r.componentID);c&&c.resetEra&&c.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"months"},r))},fn:yO};var Xt=K(Dt()),ja=K(cr()),zr=K(tr());var Sf=K(Dt()),Qd=K(tr());var bf=K(Dt()),xg=K(tr());var yf=K(cr());var Kd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,c=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,xg.UUID)()),[m,g]=(0,yf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,yf.useEffect)(()=>{let w=mt('[data-component-id="'+p+'"]');m?w.removeClass(ka("Hide")).await(10).addClass(ka("Active")):w.removeClass(ka("Active")).await(210).addClass(ka("Hide"))},[m]),(0,yf.useEffect)(()=>{xg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,bf.jsxs)(vt.Center,T(_({className:[ka("MiniLoader"),ka(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},c),{children:[(0,bf.jsx)("svg",{className:ka("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:ka("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Ll=K(Dt()),SO=K(tr());var kg=K(cr());var wO=()=>{let[r,a]=(0,kg.useState)(!1);return(0,kg.useEffect)(()=>{SO.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Ll.jsxs)(At,{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,Ll.jsxs)(At,{className:ka("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Ll.jsx)(X,{className:ka("Ld4")}),(0,Ll.jsx)(X,{className:ka("Ld3")}),(0,Ll.jsx)(X,{className:ka("Ld2")}),(0,Ll.jsx)(X,{className:ka("Ld1")}),(0,Ll.jsx)(X,{className:ka("Ld2")}),(0,Ll.jsx)(X,{className:ka("Ld3")}),(0,Ll.jsx)(X,{className:ka("Ld4")})]}),(0,Ll.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Xd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Kd,_({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Kd,_({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Kd,_({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Kd,_({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Kd,_({size:"MAX",color:a},o))}},Eo={Wrapper:()=>(0,Sf.jsx)(wO,{}),Theme:Xd({color:"theme"}),Posi:Xd({color:"posi"}),Nega:Xd({color:"nega"}),Warn:Xd({color:"warn"}),White:Xd({color:"white"}),Cloud:Xd({color:"cloud"}),fn:{corner:{active:()=>{let r=Qd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Qd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{mt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{mt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{mt("."+ka("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Qd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Eo.fn.corner.stop(),Eo.fn.mini.stopALL()}}};function k$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var Jd={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:c}=o,h=c||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(_({},o),{searchValue:h,type:l||"selector",value:f}))}),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}},Zd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,Xt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Xt.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Xt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:c,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:Q,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:re,onValidate:be,onUpdateValue:ye,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:Ce,emptySelect:Se,SearchInput:Ye,SearchInputPlaceholder:$e,SelectedComponent:Pe,SelectorComponent:et,SelectorStyles:ct,SelectorPosition:lt,DynamicOptionsOnSearch:Tt}=O,wt=Ge(O,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var Ze,Te;if(a.disabled||!S)return;let pt=Jd.FilterSelectableOptions(r);f((Te=(Ze=pt[0])==null?void 0:Ze.value)!=null?Te:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Ze=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');Ze&&Ze.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let Ze="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:Ze,eventType:"mousedown",callback:Te=>{let pt=(0,zr.default)(Te.target),Lt=!!(0,zr.default)(pt).parent("."+Tl("Core")).length;(0,zr.default)(pt).parent("."+Tl("Selector")).length||Lt||w(!1)}})}else(0,zr.default)(document).removeEvent([Ze]),l("")},[S]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(X,T(_({tabIndex:0},wt),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(M,k,!!re),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,Tl("Core")].join(" "),onFocus:Ze=>{if(wt!=null&&wt.onFocus&&(wt==null||wt.onFocus(Ze)),!a.disabled){if(g)return b(!1);w(!0),Ze.preventDefault()}},onClick:Ze=>{wt!=null&&wt.onClick&&(wt==null||wt.onClick(Ze)),!a.disabled&&w(!0)},onKeyDown:Ze=>{let{key:Te}=Ze;_e&&Ft.SubmitForm(Ze,Q),!S&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&w(!0)},children:(0,Xt.jsxs)(vt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(Zd.Selected,_({},r)),(0,Xt.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(Zd.SearchInput,_({},r))]})})),S&&(0,Xt.jsx)(Zd.Selector,_({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,ja.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Xt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:c,ctrlKey:h}=s,p=c||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(_({},g),{dataValue:m,eventType:"update",eventID:(0,zr.UUID)()}))}):f=="Enter"&&zr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return zr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(w=>w!==g):a.multiSelect?S.push(g):S=[g]}),T(_({},b),{dataValue:S,eventType:"update",eventID:(0,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=Jd.FilterSelectableOptions(r),b=g.length-1,S=null;zr.default.scope(()=>{var w,k,L,M,Y,O,j,F,Q,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(Q=g[te-1])==null?void 0:Q.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ft.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Aa(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=Jd.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let c=[],h=Jd.FilterSelectableOptions(r,!0),p=Jd.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;c.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(w===null)return O=[];Y.dataValue.includes(w)?O=O.filter(j=>j!==w):r.rootStates.multiSelect?O.push(w):O=[w]}),T(_({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(w)||(0,zr.UUID)()))}),p.length||(c=[(0,Xt.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(c=[(0,Xt.jsxs)(vt.Left,{padding:1,fontColor:"3.blur",children:[(0,Xt.jsx)(Eo.Theme.R,{showInitial:!0}),(0,Xt.jsx)(nr.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Xt.jsx)(X,T(_({},m),{children:(0,Xt.jsx)(hr.Body,T(_({className:Tl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Xt.jsx)(ar,{gap:"1/12",padding:[1,0],children:c})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(c=>{let h=s[zr.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(X,{className:Tl("SelectedCell"),children:(0,Xt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==c),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Xt.jsx)(Xt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,c]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[w,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Ft.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let re=[...b],be=_({},L);re.forEach(ye=>{ye.type!="label"&&(be[zr.default.Stringify(ye.value)]=ye)}),M(be)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:c,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ft.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:k$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Xt.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Xt.jsx)(Zd.Shallow,_({},N)),(0,Xt.jsx)(Zd.Button,_({},N))]})}},Tg=r=>{var a;let o=_({},r);return o=T(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:c})=>l.type=="selector"?(0,Xt.jsx)(it.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{c()},children:(0,Xt.jsxs)(vt.Left,{gap:"1/2",children:[s&&(0,Xt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Xt.jsx)(nr.Supplement,{transition:"short",children:l.label})]})}):(0,Xt.jsx)(Xt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Xt.jsxs)(vt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Xt.jsx)(it.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Xt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Xt.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=Jd.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,children:(0,Xt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Xt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=_({paddingRight:3},o)),o.leftIcon&&(o=_({paddingLeft:3},o)),(0,Xt.jsx)(Ea,{componentID:o.componentID,children:Zd.Core,states:Un(o)})};var wf=K(Dt());var CO=r=>(0,wf.jsx)(Tg,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Ba,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Sr=K(Dt()),Cf=K(cr()),Nl=K(tr());var Ro=K(Dt()),xO=K(cr()),po=K(tr());var yu=K(cr());var rs={add:function(r){let a=po.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=po.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=po.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Ro.jsx)(kO.Wrapper,{})},kO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,po.UUID)(),children:f,customChildren:c}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yu.useState)(s),[m,g]=(0,yu.useState)(r.secondsToClose||10);(0,yu.useEffect)(()=>{let S=mt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(am("FadeIn"))},10),po.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(am("FadeOut"))}}})},[]),(0,yu.useEffect)(()=>{po.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&rs.remove(o)},[m]);let b=(0,Ro.jsx)(Ro.Fragment,{});return c?b=(0,Ro.jsx)(c,{close:()=>{rs.remove(o)}}):b=(0,Ro.jsxs)(vt.Separate,{verticalAlign:"top",children:[(0,Ro.jsx)(X,{padding:["1/4",0],flexSizing:0,children:po.default.is.function(f)?(0,Ro.jsx)(f,{}):f}),(0,Ro.jsx)(it.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{rs.remove(o)},children:(0,Ro.jsx)(Ne.Times,{})})]}),(0,Ro.jsx)(X,T(_({className:am("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,yu.useState)((0,po.UUID)()),[o,l]=(0,yu.useState)([]);(0,yu.useEffect)(()=>{po.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,po.UUID)();let c=o.findIndex(h=>h.snackID==f.snackID);if(c==-1)o.unshift(T(_({},f),{snackID:f.snackID}));else{let h=[...o];h[c]=T(_({},f),{snackID:f.snackID}),o=h}a((0,po.UUID)())},remove:f=>{let c=po.useStore.get("Snackbar-"+f);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,xO.createElement)(kO.Cell,T(_({},f),{key:f.snackID})));return(0,Ro.jsx)(At,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",am("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 OO=K(NO());function T$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var MO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((c,h)=>(0,Sr.jsx)(MO.ListCell,T(_({},r),{index:h,val_file:c}),c.name));return s>0&&f.push((0,Sr.jsx)(X,T(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Ql("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:c=>{let{key:h}=c;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&mt("#"+a.id).click()},children:(0,Sr.jsxs)(vt.Center,{padding:["1/3",0],children:[(0,Sr.jsx)(X,{isRounded:!0,className:Ql("AddIcon"),children:(0,Sr.jsx)(Ne,{icon:OO.faCloudArrowUp,className:Ql("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Sr.jsxs)(X,{children:[(0,Sr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Sr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Sr.jsx)(ar,T(_({flexSizing:"auto"},Al(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:c,size:h,type:p}=l,[m,g]=(0,Cf.useState)(!1),b=(0,Nl.UUID)(),S=h.rank(),[w,k]=c.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{mt("#"+b).focus()},100)},[m]),(0,Sr.jsxs)(At,T(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Sr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Sr.jsxs)(X,{flexSizing:0,children:[(0,Sr.jsx)(X,{children:(0,Sr.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Ql("FileName"),children:m?(0,Sr.jsx)(Sr.Fragment,{children:(0,Sr.jsxs)(ar,{flexSizing:0,gap:"1/2",children:[(0,Sr.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,Sr.jsx)(dn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,Sr.jsxs)(X,{children:[". ",k]})]}),(0,Sr.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Sr.jsx)(it.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,Sr.jsx)(it,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Aa(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let N=yield String(Q.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(_({},_e),{dataValue:O,eventType:"update",eventID:(0,Nl.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Sr.jsxs)(Sr.Fragment,{children:[c,!!o.isNameEditable&&(0,Sr.jsx)(it.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,Sr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Sr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Sr.jsx)(it.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(_({},Y),{dataValue:M,eventType:"update",eventID:(0,Nl.UUID)()})))},children:(0,Sr.jsx)(Ne.Times,{})})]}))}},E$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:c,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,re]=(0,Cf.useState)(Ft.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,Cf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:re};(0,Cf.useEffect)(()=>{Nl.useStore.set({["AddFiles-"+_e.componentID]:le=>{re(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:Ce}=ee;if(ne+1+B.length>p){rs.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${Ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){rs.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${Ce} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(_({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Nl.UUID)()})})}})},[]),Ft.CommonEffects({type:"file",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:T$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,Sr.jsxs)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:[(0,Sr.jsx)(X,T(_({htmlTag:"input",type:"file",className:Ql("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Aa(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Nl.UUID)(),ne+1+_e.dataValue.length>p){rs.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}re(ee=>T(_({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Nl.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,Sr.jsx)(MO.List,_({},ge))]})},hw=r=>(r=T(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Un({tone:r.tone||"border"})),r.cellStyles)}),(0,Sr.jsx)(Ea,{componentID:r.componentID,children:E$,states:r}));hw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Nl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),mt("."+Ql("AddButton")).addClass(Ql("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),mt("."+Ql("AddButton")).removeClass(Ql("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(mt(o).hasClass(Ql("AddButton"))){let{componentId:l}=o.dataset,s=Nl.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var ho=K(Dt()),Ns=K(tr()),hm=K(cr());function R$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var IO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/f),{stepValue:c*f,stepIndex:c,positionLeft:c*f/s*100+"%"}},PO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,c=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";c.push((0,ho.jsx)(X,{className:xs("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,hm.useEffect)(()=>{let b=()=>{let S=mt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)mt("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Ns.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ns.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,ho.jsx)(At,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,ho.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:c}=a;return(0,ho.jsxs)(At,{className:xs("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),ep.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,ho.jsx)(X,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,ho.jsx)(X,{className:xs("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,ho.jsx)(X,{className:xs("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,ho.jsx)(it.Plain,{className:xs("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:c+"_Ball",onKeyDown:h=>{ep.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ft.SubmitForm(h,s)}})})]})}},ep={Effects:{Start:(r,a)=>{(0,Ns.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{ep.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{ep.Effects.End()}})},Move:(r,a)=>{let o=Ns.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:c,max:h}=l,p=mt("#"+f+"_Ball"),m=mt("#"+f+"_Bar"),g=mt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,L=IO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(_({},O),{dataValue:Y,eventType:"update",eventID:(0,Ns.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ns.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:c}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=s:b-=c:h.match(/Right|Down/)&&(g?b=f:b+=c),b=Math.max(Math.min(b,f),s),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,Ns.UUID)()})))}},D$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:c,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,N]=(0,hm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,_e]=(0,hm.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"slider",states:r,val_status:Q,set_status:N,val_validate:te,set_validate:_e,SystemValidation:R$});let re=IO({value:Q.dataValue,val_status:Q});return(0,ho.jsx)(Fa,{val_status:Q,set_status:N,val_validate:te,states:r,children:(0,ho.jsxs)(ar,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,ho.jsx)(PO.Rail,{rootStates:r,color:o,val_status:Q,set_status:N,DotData:re,form:s,enableFormSubmit:b}),!!f&&(0,ho.jsx)(PO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:c})]})})},zO=r=>{let a=_({},r);return(0,ho.jsx)(Ea,{componentID:r.componentID,children:D$,states:xo(a)})};var Do=K(Dt()),mw=K(tr()),vw=K(cr());function A$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var L$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,vw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,mw.UUID)()}),[Q,N]=(0,vw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Ft.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:N,SystemValidation:A$}),(0,Do.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Do.jsx)(X,_({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:c,onKeyDown:_e=>{g&&g(_e),h&&Ft.SubmitForm(_e,f)},onChange:_e=>{let{checked:re}=_e.target;Q.ok&&N({ok:!1,notice:[]}),F(be=>T(_({},be),{dataValue:re,eventType:"update",eventID:(0,mw.UUID)()})),m&&m(_e)}},O)),(0,Do.jsx)(dg.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:uf("Label"),children:(0,Do.jsx)(X,T(_({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Do.jsxs)(vt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Do.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,Do.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Do.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Eg=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Do.jsx)(Ea,{componentID:a.componentID,children:L$,states:a})},mm=Eg;mm.S=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"small"})),mm.R=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"regular"})),mm.L=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"large"}));var BO=K(Dt());var FO=r=>(0,BO.jsx)(Cg,T(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Su=K(Dt()),jO=K(tr()),Rg=K(cr());var N$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Rg.useState)((0,jO.UUID)()),[O,j]=(0,Rg.useState)(s),[F,Q]=(0,Rg.useState)(O);return O!=s&&(j(s),Q(s)),(0,Su.jsx)(vf,T(_({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},k),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:_({},w),cellClassName:[b,cg("Label"),cg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,cg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&Q(N[0])}}))},Dg=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(_({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:_({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Su.jsx)(N$,_({__sys_segmented_type:"plain"},r))},as=Dg;as.Cloud=r=>{let a=T(_({__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,Su.jsx)(Dg,_({},a))},as.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Su.jsx)(as.Cloud,_({},a))},as.CloudMono=r=>{let a=T(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Su.jsx)(as.Cloud,_({},a))},as.Border=r=>{let a=T(_({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,Su.jsx)(Dg,_({},a))},as.BorderVivid=r=>{let a=T(_({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,Su.jsx)(as.Border,_({},a))},as.Bottomline=r=>{let a=T(_({__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,Su.jsx)(Dg,_({},a))};var Ag=K(Dt()),HO=K(tr()),_w=K(cr());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:c,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,_w.useState)(Ft.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,_w.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:O$}),(0,Ag.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Ag.jsx)(X,_({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:O=>{p&&p(O),f&&Ft.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(_({},F),{dataValue:j,eventType:"update",eventID:(0,HO.UUID)()})),h&&h(O)}},w))})},UO=r=>{let a=T(_(T(_({},Un(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,Ag.jsx)(Ea,{componentID:r.componentID,children:M$,states:a})};var ns=K(tr()),VO=r=>Aa(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Aa(void 0,null,function*(){if(ns.useStore.get("form-process-"+r))return;ns.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s)){if(!c)continue;let h=ns.useStore.get(c.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s))c&&(a&=Number(c.validation),o[f]=c.value)}ns.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var _a;(r=>(r.Plain=I7,r.Hidden=H7,r.TextField=dn,r.Contenteditable=Q7,r.DigitCharacters=Z7,r.Time=Ls,r.Select=es,r.Autocomplete=Tg,r.List=mO,r.Radio=vf,r.Checkbox=Cg,r.Checker=FO,r.Search=CO,r.Filer=hw,r.Slider=zO,r.Switch=mm,r.Segmented=as,r.Color=UO,r.LeftIcon=qd,r.RightIcon=Ba,r.LeftIndicator=_g,r.RightIndicator=gg,r.RequiredSign=hg,r.RequiredShortSign=mg,r.OmitSign=vg,r.CollectForm=VO))(_a||(_a={}));var qO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,c=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,WO.useEffect)(()=>{f&&f()},[]),(0,Lg.jsx)(At,T(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,Lg.jsx)(X,{margin:[0,"auto"],children:(0,Lg.jsx)(_a.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _c=K(Dt());var Wr={Table:r=>(0,_c.jsx)(X,T(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_c.jsx)(X,_({htmlTag:"thead"},r)),Body:r=>(0,_c.jsx)(X,_({htmlTag:"tbody"},r)),Row:r=>(0,_c.jsx)(X,_({htmlTag:"tr"},r)),TH:r=>(0,_c.jsx)(X,_({htmlTag:"th"},r)),TD:r=>(0,_c.jsx)(X,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_c.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Ao=K(Dt());var gw=K(Dt()),$O=K(tr());var YO=(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)},il=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 tp=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(_({tableID:a.tableID||(0,$O.UUID)(),tone:a.tone},a),{cellStyles:_(_({},YO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=xo(l),{className:f,style:c}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,gw.jsx)(X,{className:p,style:c,children:(0,gw.jsx)(o,_({},h))})};var bw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{},k=T(_(_(_(_({},a),S),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Ao.jsx)(g,_({},k),m))}),(0,Ao.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,w)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:w==0,right:w==c-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Ao.jsx)(k,T(_(_(_(_({},a),M),S),Y),{freeCSS:_(_(_({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Kt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Ao.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Ao.jsx)(Ao.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Ao.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Ao.jsxs)(Wr.Body,{children:[(0,Ao.jsx)(bw.HeadRow,_({},r)),(0,Ao.jsx)(bw.BodyRows,_({},r))]})}))},GO=r=>(0,Ao.jsx)(tp,T(_({type:"normal"},r),{JSXChildren:bw.Normal}));var wa=K(Dt()),Lo=K(tr()),rp=K(cr());var Sw=K(t9());var ww={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{};h.push((0,wa.jsx)(g,T(_(_(_(_({},a),S),m),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Kt("Cell"),o,m.className].join(" ")}),p))}return(0,wa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onOrderChanged:h}=r,[p]=(0,rp.useState)((0,Lo.UUID)()),[m,g]=(0,rp.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,wa.jsx)(Wr.TH,T(_(_(_({padding:0,borderRight:!0},a),M),Y),{freeCSS:_(_({},a.freeCSS),Y.freeCSS),className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,wa.jsx)(it.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{vm.Start(O,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,wa.jsx)(Ne,{icon:Sw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:M==c-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,wa.jsx)(Y,T(_(_(_(_({},a),j),L),F),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Kt("Cell"),o,L.className].join(" ")}),M))}),b.push((0,wa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+w,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,wa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,wa.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,wa.jsx)(Y,T(_(_(T(_({className:[Kt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(w,0,(0,wa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,rp.useEffect)(()=>{Lo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(w-(S<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>Lo.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,rp.useEffect)(()=>()=>{Lo.useStore.delete(p)},[]),(0,wa.jsx)(wa.Fragment,{children:b})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,wa.jsx)(it.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,wa.jsxs)(Na.Body,{children:[(0,wa.jsx)(Ne,{icon:Sw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,wa.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Lo.default.Stringify(a.rowID||o),a)),(0,wa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,wa.jsxs)(Wr.Body,{children:[(0,wa.jsx)(ww.HeadRow,_({},r)),(0,wa.jsx)(ww.BodyRows,_({},r))]})}))},r9=r=>(0,wa.jsx)(tp,T(_({type:"drag"},r),{JSXChildren:ww.Drag})),vm={Start:function(r,a){return Aa(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;mt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,Lo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:c=>{vm.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{vm.End(c,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=Lo.default.getCursor(r).y-Lo.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let c=mt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=c.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:c}=a,h=Lo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=Lo.useStore.get(o);f&&f.swap&&f.swap(l,s),mt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,Lo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Vn=K(tr()),xf=K(cr());var c9=K(oS()),f9=K(lS()),d9=K(aS()),p9=K(u9());var wu={__memoryID:(0,Vn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=_({},r),{order:c,filter:h}=l,[p,m]=c.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=il(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(_a.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(_({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=c.enabled&&c.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?f9.faArrowDown:c9.faArrowUp:d9.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var re;return(re=_e[S])==null?void 0:re.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),re=[];N.forEach(H=>{H&&re.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let be="BUTTON-"+l.componentID+"-"+S,ye=l.componentID+"-"+S,ge={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(ar,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(_a.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:re,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=_({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(vt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(it.Border.S,{isRounded:!0,onClick:()=>{hr.close(ye)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(it.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=_({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Kt("FilterRegion"),children:(0,Et.jsx)(it.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:be,onClick:H=>{H.stopPropagation(),hr.open(ge)},children:(0,Et.jsx)(Ne,{icon:p9.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=il(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};w=T(_(_(_(_({},l.cellStyles),F),w),Q),{ssPushable:L,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),w.freeCSS),className:[Kt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:N=>{if(L){let te=_({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var c;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=il(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.jsx)(Wr.TH,T(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:_(_({},(c=a.cellStyles)==null?void 0:c.freeCSS),b.freeCSS),className:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(_a.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Vn.default.is.equal(L.rowID,s.rowID));k!=-1&&(w[k].checked=S,r.set_status(L=>T(_({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=Ge(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},M=il(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(_(_(_(_({},a.cellStyles),M),k),Y),{freeCSS:_(_(_({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Kt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=Wr[w=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,_({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:c}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],L=s.current[w];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[w].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=c;g=[...g].splice((w-1)*k,k)}let b=wu.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(_({},a),{paging:T(_({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Vn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{kl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Kt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(wu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(wu.Body,{val_status:a,set_status:o,PageRows:g})]})})},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 f;return Vn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Vn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((c,h)=>{let{data:p,children:m,orderIndex:g}=c;c.orderIndex=Vn.default.is.exist(g)?String(g):String(p),c.children=m||String(p),f.push(String(c.data))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(wu.StateManager,_({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:c=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,Vn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:c},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,xf.useState)(m);return(0,xf.useEffect)(()=>{b(S=>T(_({},S),{rows:m.rows}))},[Vn.default.Stringify(m.rows)]),(0,xf.useEffect)(()=>{b(S=>T(_({},S),{head:m.head}))},[Vn.default.Stringify(m.head)]),(0,Et.jsx)(wu.Core,{val_status:g,set_status:b})}},P$={__memoryID:wu.__memoryID,getRowData:r=>{let a=Vn.useStore.get(wu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Ng={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(_a.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(_a.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Vn.default.interval.once(()=>{l(f=>T(_({},f),{paging:T(_({},f.paging),{currentPageIndex:1}),filter:T(_({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(Sn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let c=0;c<o.paging.pageLength;c++)s.push({value:c+1,label:(c+1).toString()});let f=c=>{let h=Math.min(Math.max(1,c),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(m=>T(_({},m),{paging:T(_({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(vt.Center,{children:[(0,Et.jsxs)(vt.Center,{gap:"1/2",children:[(0,Et.jsx)(_a.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:c=>{f(c)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(vt.Right,{gap:"1/2",children:[(0,Et.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ne.ChevronLeft,{})}),(0,Et.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,c=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||c.push({value:s,label:s.toString()}),(0,Et.jsx)(vt.Center,{gap:"1/2",children:(0,Et.jsx)(_a.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:c.toASC("value"),onUpdateValidValue:h=>{l(p=>T(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},I$=r=>(0,Et.jsx)(tp,T(_({},r),{type:"data",JSXChildren:wu.DataLeveler})),gc=I$;gc.__memoryID=wu.__memoryID,gc.getRowData=P$.getRowData,gc.Info=Ng.Info,gc.Paging=Ng.Paging,gc.RowLength=Ng.RowLength,gc.SearchInput=Ng.SearchInput;var Og;(r=>(r.Normal=GO,r.Data=gc,r.Drag=r9,r.Parts=Wr))(Og||(Og={}));var xw=K(Dt()),_m=K(tr());var _u={uid:(0,_m.UUID)(),open:(r,a,o=24,l=.35)=>{r&&_m.default.interval.once(()=>{Na.open({tipsID:_u.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,xw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,xw.jsx)(nr.Supplement,{children:a})})})},l*1e3,_u.uid)},abort:()=>{_m.default.interval.abort(_u.uid),Na.close(_u.uid)}};var dt=K(Dt()),ia=K(tr());var os=K(cr());var U9=K(y9()),V9=K(E9()),W9=K(M9()),q9=K(H9());var Dw=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:f}=l,c=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:c,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),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:f,height:c}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:c/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:c}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*c.x,b=p/m*c.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=ia.default.getCursor(l.touches[0]),{x:c,y:h}=ia.default.getCursor(l.touches[1]),p=c-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*S);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Aa(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),c=yield ia.default.ImageLoader(this.Picture.originDataUrl),h=c.width,p=c.height;(l==90||l==270)&&(h=c.height,p=c.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(c,0,0,c.width,c.height);let m=f.getImageData(0,0,s.width,s.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let Q=g[b+S];g[b+S]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield ia.default.ImageLoader(w),{width:L,height:M}=k,Y=L/M;this.Picture=T(_({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:f},pst:{frame:c}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,w=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,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,b,S,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);s.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/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(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.height),s.lineTo(0,0),s.closePath(),s.lineTo(c.x,c.y),s.lineTo(c.x,c.y+c.h),s.lineTo(c.x+c.w,c.y+c.h),s.lineTo(c.x+c.w,c.y),s.lineTo(c.x,c.y),s.fill();let m=(0,ia.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(c.x,c.y,c.w,c.h)}}export(){return Aa(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,c=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/c,m=(f.x-s.x+f.w)/c,g=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let Q=j.toDataURL(w),N=yield Q.toBlob(w);if(!N)return;if(N.size>=M){let _e=M/N.size;if(Q=j.toDataURL(w,_e*.92),N=yield Q.toBlob(w),!N)return}let te=new File([N],this.val_file.name,{type:w});S[k]=te}return S})}},Y9={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:c=[]}=o,[h]=(0,os.useState)((0,ia.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,os.useState)(p.scale.default),[b,S]=(0,os.useState)(p.rotate),[w,k]=(0,os.useState)(p.grayScale),[L,M]=(0,os.useState)(p.tone);return(0,os.useEffect)(()=>{let Y="CropperResize";return(0,ia.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{ia.default.interval.once(()=>{var O;let j=mt("#Canvas-"+h)[0];if(!j)return;let F=(O=ia.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),N=Q.width/Q.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,ia.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{ia.useStore.set({[h]:{}}),Aa(void 0,null,function*(){Eo.fn.corner.active(),yield ia.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=mt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let N=new Dw({set_scale:g,val_file:a,develops:c,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield ia.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});ia.useStore.set({[h]:{Instance:N}});let te=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)N.pinchEffect({eventType:"start",event:be}),(0,ia.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),N.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:re});else{N.dragEffect(_({eventType:"start"},ia.default.getCursor(be)));let{type:ye}=be;(0,ia.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),re(ge)}})}},_e=function(be,ye){ye.preventDefault(),N.dragEffect(_({eventType:be},ia.default.getCursor(ye)))},re=function(be){be.preventDefault(),(0,ia.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,ia.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),ge=N.scale.current+ye;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Eo.fn.corner.stop()},1e3)})},[a.id]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,dt.jsx)(hr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,dt.jsxs)(ar,{className:[uc("Wrap"),uc("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,dt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,dt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:uc("Canvas"),id:"Canvas-"+h})}),(0,dt.jsxs)(vt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,dt.jsx)(Y9.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,dt.jsxs)(vt.Right,{flexSizing:"none",children:[(0,dt.jsx)(it.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,dt.jsx)(it,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Aa(void 0,null,function*(){var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Eo.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Eo.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Eo.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,dt.jsxs)(vt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,dt.jsxs)(ar,{gap:"1/3",children:[(0,dt.jsx)(nr.Supplement,{children:"Rotate"}),(0,dt.jsxs)(vt.Left,{flexChilds:"even",gap:"1/6",children:[(0,dt.jsx)(it.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,dt.jsxs)(vt.Center,{gap:"1/4",children:["90\xB0",(0,dt.jsx)(Ne,{icon:W9.faRotateLeft})]})}),(0,dt.jsx)(it.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,dt.jsxs)(vt.Center,{gap:"1/4",children:[(0,dt.jsx)(Ne,{icon:q9.faRotateRight}),"90\xB0"]})})]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"Zoom"}),(0,dt.jsxs)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,c)=>{ia.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"GrayScale"}),(0,dt.jsxs)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne,{icon:U9.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{ia.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"Tone"}),(0,dt.jsx)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let c=1;c<=10;c++)f.push({value:c,label:(0,dt.jsxs)(vt.Left,{gap:"1/3",children:[(0,dt.jsx)(X,{ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+c)].join(" ")}),(0,dt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne,{icon:V9.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,dt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:c=>{r.set_tone(c)}})]})})}})},children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Aw={openDialogNEdit:r=>Aa(void 0,null,function*(){let a=yield _a.Filer.fn.openDialog({accept:"image",multiple:!1});Aw.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Aa(void 0,null,function*(){let a="CropperImage";hr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,dt.jsx)(Y9.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{hr.close(a),r.onProcessFinished(o)},abortCallback:()=>{hr.close(a)}}),closeAtEscapeKeyDown:!1})})};var No=K(Dt());var $9=()=>{let{href:r}=location;return(0,No.jsx)(vt.Center,{padding:[4,1],children:(0,No.jsxs)(ar,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,No.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,No.jsxs)(X,{children:[(0,No.jsx)(nr.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,No.jsx)(nr.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,No.jsxs)(ar,{children:[(0,No.jsxs)(nr,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,No.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,No.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,No.jsx)(ff.Link,{newTab:!0,href:r,children:r}),(0,No.jsx)(ff.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Mg=r=>{let[a,o]=(0,bc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,bc.useRef)(!1);(0,bc.useEffect)(()=>{l&&(s.current?(hr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,bc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,bc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Mn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Mn.open(r);return}Mn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Mn.pushSync(r);return}Mn.__push(r)},back:()=>{Mn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Mn.__push=r},setBackEffect:r=>{Mn.__back=r}};var G9=K(tr());var qh=[{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}],Wh=()=>{let r="#45515c",a=(0,G9.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},K9={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Nw={};qh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Nw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var $a=K(tr());var Re={toConcreteBorderRadius:r=>{let a=ht.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>$a.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,c,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:N,textDecoration:te,boxShadow:_e,margin:re,marginTop:be,marginRight:ye,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:Ce,left:Se,border:Ye,borderTop:$e,borderRight:Pe,borderBottom:et,borderLeft:ct,borderWidth:lt,borderColor:Tt,borderStyle:wt,borderRadius:Ze,borderTopLeftRadius:Te,borderTopRightRadius:pt,borderBottomLeftRadius:Lt,borderBottomRightRadius:jt,flexSizing:Ut,flexWrap:er,flexType:ur,flexChilds:Tr,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:wr,gridCenter:fr,gridCols:_r,maxHeight:ha,minHeight:Cr,maxWidth:mr,minWidth:Mr,width:ga,height:Be,unitHeight:st,unitWidth:bt,opacity:$t}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=$a.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((c=String(Q))==null?void 0:c.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Er,vr,Yr;$a.default.is.exist(re)&&($a.default.is.array(re)?re.length==2?[Vt,Er,vr,Yr]=[...re,...re]:re.length==4&&([Vt,Er,vr,Yr]=re):Vt=Er=vr=Yr=re,be=be!=null?be:Vt,ye=ye!=null?ye:Er,ge=ge!=null?ge:vr,H=H!=null?H:Yr),Re.ev(be)&&S.push("mrgt"+be),Re.ev(ye)&&S.push("mrgr"+ye),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;$a.default.is.exist(le)&&($a.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(Ce)&&S.push("pstb"+Ce),Re.ev(Se)&&S.push("pstl"+Se);{$a.default.is.exist(Ye)&&($e=$e!=null?$e:Ye,Pe=Pe!=null?Pe:Ye,et=et!=null?et:Ye,ct=ct!=null?ct:Ye),$a.default.is.boolean($e)&&($e=["unset","2.normal"][Number($e)]),$a.default.is.boolean(Pe)&&(Pe=["unset","2.normal"][Number(Pe)]),$a.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),$a.default.is.boolean(ct)&&(ct=["unset","2.normal"][Number(ct)]),Re.ev($e)&&S.push("b_t_ss"+((h=String($e))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Pe)&&S.push("b_r_ss"+((p=String(Pe))==null?void 0:p.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_b_ss"+((m=String(et))==null?void 0:m.replace(/\./g,"_"))),Re.ev(ct)&&S.push("b_l_ss"+((g=String(ct))==null?void 0:g.replace(/\./g,"_"))),$a.default.is.exist(lt)&&S.push("b_wth"+String(lt)),$a.default.is.exist(Tt)&&S.push("b_cl"+((b=String(Tt))==null?void 0:b.replace(/\./g,"_"))),$a.default.is.exist(wt)&&S.push("b_st"+String(wt));{let G,ie,oe,Oe;$a.default.is.exist(Ze)&&($a.default.is.array(Ze)?Ze.length==4&&([G,ie,Oe,oe]=Ze):G=ie=oe=Oe=Ze,Te=Te!=null?Te:G,pt=pt!=null?pt:ie,Lt=Lt!=null?Lt:oe,jt=jt!=null?jt:Oe)}Re.ev(Te)&&S.push("br_tl"+Re.toConcreteBorderRadius(Te)),Re.ev(pt)&&S.push("br_tr"+Re.toConcreteBorderRadius(pt)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(jt)&&S.push("br_br"+Re.toConcreteBorderRadius(jt))}if(Re.ev($t)&&S.push("op"+$t),$a.default.is.exist(w)){let G,ie;$a.default.is.array(w)?(G=w[0],ie=w[1]):G=ie=w,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ut)&&S.push("flsz"+Ut),Re.ev(er)&&S.push("flwrp"+er),Re.ev(ur)&&S.push("fltyp"+ur),Re.ev(Tr)&&S.push("flchld"+Tr),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(fr)&&S.push("grcnt"+fr),Re.ev(_r)&&S.push("grcol"+_r),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(ga)&&S.push("wdt"+ga),Re.ev(st)&&S.push("unthgt"+st),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(wr)&&S.push("trnst"+wr),Re.ev(ha)&&S.push("maxh"+ha),Re.ev(Cr)&&S.push("minh"+Cr),Re.ev(mr)&&S.push("maxw"+mr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},nm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:c,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(_({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="layer"?j.backgroundColor="layer.1":l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(j.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=_(_({},j.freeCSS),Y),O=_(_({},j),O)}return s&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),c&&(O=_({transition:"middle"},O),O=T(_({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=_({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=_({overflow:"hidden"},O),Y=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=_({width:1,flexSizing:"none"},O)),m&&(O=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),w&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&($a.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(_({},O),{freeCSS:Y})},xo=r=>{let a=nm(r),{componentID:o,gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:Ce,borderTopLeftRadius:Se,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ct,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:er,maxWidth:ur,minWidth:Tr,width:ra,height:jr,unitHeight:qr,unitWidth:wr,opacity:fr,ssLastChildLossBorder:_r,ssAbsoluteCovered:ha,ssCardBox:Cr,ssEffectsOnActive:mr,ssPushable:Mr,ssSphere:ga,ssSquare:Be,ssTextEllipsis:st,isBoldFont:bt,isLightFont:$t,isSemiBoldFont:Vt,isRounded:Er,flexCenter:vr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),ie=_({},G),oe=[R];if(_r&&oe.push("ssLastChildLossBorder_"+_r),mr){mr=$a.default.flatArray(mr);for(let Oe of mr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:Ce,borderTopLeftRadius:Se,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ct,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:er,maxWidth:ur,minWidth:Tr,width:ra,height:jr,unitHeight:qr,unitWidth:wr,opacity:fr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=_(_({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Al=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:c,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:N,top:te,right:_e,bottom:re,left:be,border:ye,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:Ce,borderBottomLeftRadius:Se,borderBottomRightRadius:Ye,flexSizing:$e,flexWrap:Pe,flexType:et,flexChilds:ct,flexGrid:lt,horizontalAlign:Tt,verticalAlign:wt,transition:Ze,gridCenter:Te,gridCols:pt,maxHeight:Lt,minHeight:jt,maxWidth:Ut,minWidth:er,width:ur,height:Tr,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:wr,ssAbsoluteCovered:fr,ssCardBox:_r,ssEffectsOnActive:ha,ssPushable:Cr,ssSphere:mr,ssSquare:Mr,ssTextEllipsis:ga,isBoldFont:Be,isLightFont:st,isSemiBoldFont:bt,isRounded:$t,flexCenter:Vt,flexNewLine:Er,gradients:vr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(c)&&(P.fontSize=c),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(re)&&(P.bottom=re),Re.ev(be)&&(P.left=be),Re.ev(ye)&&(P.border=ye),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(Ce)&&(P.borderTopRightRadius=Ce),Re.ev(Se)&&(P.borderBottomLeftRadius=Se),Re.ev(Ye)&&(P.borderBottomRightRadius=Ye),Re.ev($e)&&(P.flexSizing=$e),Re.ev(Pe)&&(P.flexWrap=Pe),Re.ev(et)&&(P.flexType=et),Re.ev(ct)&&(P.flexChilds=ct),Re.ev(lt)&&(P.flexGrid=lt),Re.ev(Tt)&&(P.horizontalAlign=Tt),Re.ev(wt)&&(P.verticalAlign=wt),Re.ev(Ze)&&(P.transition=Ze),Re.ev(Te)&&(P.gridCenter=Te),Re.ev(pt)&&(P.gridCols=pt),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(jt)&&(P.minHeight=jt),Re.ev(Ut)&&(P.maxWidth=Ut),Re.ev(er)&&(P.minWidth=er),Re.ev(ur)&&(P.width=ur),Re.ev(Tr)&&(P.height=Tr),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(wr)&&(P.ssLastChildLossBorder=wr),Re.ev(fr)&&(P.ssAbsoluteCovered=fr),Re.ev(_r)&&(P.ssCardBox=_r),Re.ev(ha)&&(P.ssEffectsOnActive=ha),Re.ev(Cr)&&(P.ssPushable=Cr),Re.ev(mr)&&(P.ssSphere=mr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(ga)&&(P.ssTextEllipsis=ga),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(st)&&(P.isLightFont=st),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev($t)&&(P.isRounded=$t),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Er)&&(P.flexNewLine=Er),Re.ev(vr)&&(P.gradients=vr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var pl=K(Dt());var Pg=r=>{var a;let o=kl.catch("RootViewController_"+ht.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,pl.jsx)(pu.Pudding.Wrapper,{}),(0,pl.jsx)(pu.Ripple.Wrapper,{}),(0,pl.jsx)(Eo.Wrapper,{}),(0,pl.jsx)(rs.Wrapper,{}),(0,pl.jsx)(hr.Wrapper,{}),(0,pl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Ig=K(tr()),mt=r=>{let a=ht.get().appRoot;return Ig.default.is.shadowRoot(a)?(0,Ig.default)(a).find(r):(0,Ig.default)(r)};var z$=K(Mw());Jr(Fr,K(Mw()));var B$=K(Pw());Jr(Fr,K(Pw()));var F$=_(_(_(_(_(_({},Ow),YS),ZS),z$),B$),Lw);var Oo=K(Dt()),j$=()=>(0,Oo.jsx)(X,{children:(0,Oo.jsxs)(vt.Center,{flexCenter:!0,padding:3,gap:3,backgroundColor:"layer.0",children:[(0,Oo.jsx)(_a.Select,{options:[{value:"AAA",label:"AAA"},{value:"BBB",label:"BBB"},{value:"CCC",label:"CCC"}]}),(0,Oo.jsx)(_a.Select,{SelectorMode:"legacy",options:[{value:"AAA",label:"AAA"},{value:"BBB",label:"BBB"},{value:"CCC",label:"CCC"}],name:"test",form:"test",required:!0,onUpdateValidValue:r=>{console.log(r)},onUpdateValue:r=>{console.log(r)}}),(0,Oo.jsx)(it.Prime,{submitOption:{formName:"test",callback:r=>{console.log(r)}},children:"Submit"})]})});Iw.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:3,themeColor:Iw.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,zg.useEffect)(()=>{Mn.setPushEffect(s=>{l(s)}),Mn.setBackEffect(()=>{l(-1)})},[]),Mg({pathname:o.pathname}),(0,Oo.jsx)(Os.Routes,{children:(0,Oo.jsx)(Os.Route,{path:"*",element:(0,Oo.jsx)(j$,{})},"*")})};X9.default.createRoot(r).render((0,Oo.jsx)(zg.StrictMode,{children:(0,Oo.jsx)(Pg,{children:(0,Oo.jsx)(Os.BrowserRouter,{children:(0,Oo.jsx)(a,{})})})}))});
|
|
976
|
+
`,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,ar.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},fu={Icon:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(C7.MingooIcon,{})})),Title:r=>(0,ar.jsx)(Es.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,ar.jsx)(fu.Icon,{size:o,color:l}),(0,ar.jsx)(fu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,ar.jsx)(fu.Icon,{margin:"auto",size:o,color:l}),(0,ar.jsx)(fu.Title,{size:o,color:l})]}))}},du={Icon:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(C7.ComunIcon,{})})),Title:r=>(0,ar.jsx)(Es.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,ar.jsx)(du.Icon,{size:o,color:l}),(0,ar.jsx)(du.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,ar.jsx)(du.Icon,{margin:"auto",size:o,color:l}),(0,ar.jsx)(du.Title,{size:o,color:l})]}))}},dc="https://cdn.amotify.com/",Es={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,ar.jsx)(At,T(v({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:GS.default.is.function(f)?(0,ar.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,ar.jsx)(At,T(v({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:GS.default.is.function(f)?(0,ar.jsx)(f,{}):f}))},Brands:{MingooIcon:fu.Icon,MingooTitle:fu.Title,MingooLogoH:fu.LogoH,MingooLogoV:fu.LogoV,ComunIcon:du.Icon,ComunTitle:du.Title,ComunLogoH:du.LogoH,ComunLogoV:du.LogoV,Google:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(Ts,{src:dc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(Ts,{src:dc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(Ts,{src:dc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,ar.jsx)(Es.Icon,T(v({},r),{children:(0,ar.jsx)(Ts,{src:dc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:dc+"@env/@logos/mingoo/icon.png",mingooIconClear:dc+"@env/@logos/mingoo/iconClear.png",comunIcon:dc+"@env/@logos/comun/icon.png",comunIconClear:dc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>dc+"@env/@icon/"+(r||"image")+".png"}};var KS=K(Dt());var x7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,KS.jsx)(X,T(v({className:[dg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,KS.jsx)(X,{className:[dg("Body"),dg("Color_"+o)].join(" ")})}))};var Vd=K(Dt());var im=r=>{let a=Ge(r,[]);return(0,Vd.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},El=im;El.Border=r=>(0,Vd.jsx)(im,v({ssCardBox:"border"},r)),El.Plain=r=>(0,Vd.jsx)(im,v({ssCardBox:"plain"},r)),El.Cloud=r=>(0,Vd.jsx)(im,v({ssCardBox:"cloud"},r)),El.Shadow=r=>(0,Vd.jsx)(im,v({ssCardBox:"shadow"},r));var yn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),k7=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),Wd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),At=r=>(0,ff.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),T7=r=>(0,ff.jsx)(X,v({width:1,flexSizing:"none"},r)),Zt=r=>(0,ff.jsx)(At,v({flexType:"col",gap:1},r));var Rs=K(Dt()),hg=K(rr());var E7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(v({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=v({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=T(v({},s),{backgroundColor:"trans"}):a=="border"?s=T(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},R7=r=>{let a=lm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,hg.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:u="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=v(v(v({},E7.Size(r.seed,h,p,m)),E7.Tone(r.seed,h,p,m)),a),a.className=[g,sf("Wrap"),sf("isNeutral_"+!s),sf("isLocked_"+l),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(v({},g),{"data-form-submit-button":p.formName,"data-sdfike":hg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Rs.jsx)(X,T(v({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Rs.jsx)(X,T(v({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,C=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Rs.jsx)(X,T(v({htmlTag:"button"},C),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;if(S&&(Y+=location.search),b){Mn.pushSync(Y);return}Mn.push(Y,!!M)}}))}return null},pc=function(r,a){let o=s=>(0,Rs.jsx)(R7,v({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Rs.jsx)(o,v({size:"xsmall",tone:a},s)),l.S=s=>(0,Rs.jsx)(o,v({size:"small",tone:a},s)),l.R=s=>(0,Rs.jsx)(o,v({size:"regular",tone:a},s)),l.L=s=>(0,Rs.jsx)(o,v({size:"large",tone:a},s)),l},QS=function(r){let a=o=>(0,Rs.jsx)(R7,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=pc(r,"plain"),a.Link=pc(r,"link"),a.Normal=pc(r,"normal"),a.Border=pc(r,"border"),a.Prime=pc(r,"prime"),a.Sub=pc(r,"sub"),a.Clear=pc(r,"clear"),a.FillToBorder=pc(r,"fillToBorder"),a.BorderToFill=pc(r,"borderToFill"),a},ct=QS("button"),mg=QS("label"),df=QS("anchor");var Ds={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:u}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,pu.useEffect)(()=>{Ds.fn.updateCSSProperty.reset(),setTimeout(()=>{Ds.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,Sn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{dt.get().screen.isPhonepoint()||Sn.default.interval.once(()=>{Ds.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Sn.default)(window).removeEvent(g),(0,Sn.default)(window).removeEvent(m)}},[]);let p=f;return(0,Rl.jsxs)(Zt,T(v({className:[u,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Rl.jsxs)(At,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Rl.jsx)(X,{className:Aa("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,pu.useState)((0,Sn.UUID)());return(0,pu.useEffect)(()=>{Ds.fn.updateCSSProperty.topNav()},[]),(0,Rl.jsx)(At,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Aa("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,pu.useEffect)(()=>{Ds.fn.updateCSSProperty.sideNav()},[]),(0,Rl.jsx)(X,T(v({className:[o,Aa("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,pu.useState)((0,Sn.UUID)());return(0,pu.useEffect)(()=>{Ds.fn.updateCSSProperty.footer()},[]),(0,Rl.jsx)(At,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Aa("FooterNav"),o].join(" "),children:(0,Rl.jsx)(At,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),u=Sn.default.flatArray(s),h=location.pathname;{let p=!1;if(Sn.default.is.exist(l)&&Sn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&u.length)for(let m of u)Sn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,Rl.jsx)(ct.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Sn.default.is.exist(l)&&Sn.default.is.string(l)&&Mn.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},f))},Bar:r=>(0,Rl.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Rl.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Sn.default)(document.body),a=vt("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,Sn.default)(document.body),a=vt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Sn.default)(document.body),a=vt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Sn.default)(document.body),a=vt("#__RVC_TopNavigation"),o=vt("#__RVC_FooterNavigation"),l=vt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,u=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-u,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",u+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var D7=K(Dt());var vg=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,D7.jsx)(X,T(v({margin:[0,"auto"],width:1},l),{freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var sm=K(Dt()),M7=K(ur());var JS=K(Dt()),ZS=K(rr());var qd=K(ur());var A7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,ZS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(s);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,JS.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},L7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,ZS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(s);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,JS.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var el=K(rr());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:u,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:C}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(u+g),0),M=Math.max(C-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(Y)},20)}}),(0,el.default)(l).addClass([Ql("RippleElement"),Ql("Color_"+s)]).append(`<div class="${Ql("RippleWrap")}" id="${f}">
|
|
977
|
+
<div class="${Ql("Wave")}" />
|
|
978
|
+
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{pf.End(Y)}}).find("#"+f).find("."+Ql("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Ql("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},N7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(dt.get().appRoot).addEvent({eventType:"touchstart",target:pf.RippleElementTag,callback:r=>{pf.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pf.RippleElementTag,callback:r=>{dt.get().isTouchDevice||pf.Start(r)}}),null)};var ew=K(rr());var O7={Wrapper:()=>(typeof window=="undefined"||(0,ew.default)(dt.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,ew.default)(r.target).removeClass(Ql("PuddingEffect")).await(1).addClass(Ql("PuddingEffect")).await(510).removeClass(Ql("PuddingEffect"))}}),null)};var hc={Ripple:N7,Pudding:O7,FadeIn:A7,FadeUp:L7};var P7=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,sm.jsx)(hc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,M7.useState)(a);return s!=a&&f(a),(0,sm.jsx)(sm.Fragment,{children:l(o[a])})};var um=K(Dt()),Dl=K(rr()),hu=K(ur());var f$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,hu.useState)((0,Dl.UUID)()),[C,k]=(0,hu.useState)({eventType:"init",index:r.slideIndex}),L=(0,hu.useRef)(!1);(0,hu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,hu.useEffect)(()=>{let j=C.index+(f?1:0),F=[-1,m.length].includes(C.index);F||o&&setTimeout(()=>{o(C.index)},300);let Q=vt("#Swiper-"+S);if(C.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Yd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(C.eventType=="sys")Q.await(250).css({transform:Yd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display"));else if(Q.children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display")).parent().css({transition:"0.3s",transform:Yd(j)}).await(250).css({transition:"0s"}),F){let N=C.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&Dl.default.interval.once(()=>{let N=C.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(C.eventType=="sys"?310:0),"SwipeTimer-"+S)},[C]);let M=m.map((j,F)=>(0,um.jsx)(X,{flexSizing:"none",width:1,height:0,className:Aa("Child"),children:p(j)},F));f&&(M.push(T(v({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(v({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:C.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=C.index+ +!!f;return(0,um.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(u||j.buttons!=1))return;cm.Start(j,Y)},children:(0,um.jsx)(At,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},L.current?{}:{transform:Yd(O)}),children:M})}))},Yd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,cm={Start:(r,a)=>{let{x:o,y:l}=Dl.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(v({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:vt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,Dl.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{cm.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{cm.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Dl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Dl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);vt("#Swiper-"+a.id).children(u-1).addClass(Aa("Display")),(0,Dl.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{cm.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{cm.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Dl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}vt("#Swiper-"+a.id).css({transition:"0s",transform:Yd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Dl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;s<400?u=f-(+(o>0)*2-1):u=Math.round(f-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,f===u?(a.effectStartAt=l,vt("#Swiper-"+a.id).css({transition:".2s",transform:Yd(u)}).await(310).css({transition:"0s"}).children().removeClass(Aa("Display")).parent().children(f).addClass(Aa("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Dl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},I7=r=>(0,um.jsx)(f$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Pg=K(Dt()),$O=K(ur());var mu=K(Dt());var z7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(v({},a),{border:!0}):r=="cloud"?a=T(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(v({},a),{borderRadius:0,borderBottom:!0})),a},_g={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},gg=r=>(0,mu.jsx)(yn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),bg=r=>(0,mu.jsx)(yn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),yg=r=>(0,mu.jsx)(yn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),Sg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,mu.jsx)(X,v(T(v({},z7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},wg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,mu.jsx)(X,v(T(v({},z7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,mu.jsx)(X,T(v(T(v({},_g),{right:"3/4"}),l),{freeCSS:v(v({},_g.freeCSS),l.freeCSS)}))},$d=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,mu.jsx)(X,T(v(T(v({},_g),{left:"3/4"}),l),{freeCSS:v(v({},_g.freeCSS),l.freeCSS)}))};var B7=K(Dt());var F7=r=>(0,B7.jsx)(X,v({htmlTag:"input"},r));var iw=K(Dt()),Kd=K(rr()),pm=K(ur());var Un=K(Dt()),mf=K(ur()),da=K(rr());var aw={};Rd(aw,{Accordion:()=>rw,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Gd,Row:()=>gt,Text:()=>nr});var tw=K(Dt()),Zl=K(rr()),mc=K(ur());var p$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,u=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,mc.useState)((0,Zl.UUID)()),[p]=(0,mc.useState)((0,Zl.UUID)()),[m,g]=(0,mc.useState)(s);m!=s&&f&&g(s);let b=(0,mc.useRef)(!1);return(0,mc.useEffect)(()=>{let S=vt('[data-accordion-content-id="'+p+'"]')[0];if(S){let C=S.offsetHeight,k=0;l=="fast"?(k=C/1e3,k=Math.max(k,.2)):l=="slow"&&(k=C/300),vt("#"+h).css({transition:k+"s"})}},[]),(0,mc.useEffect)(()=>{let S=vt("#"+h),C=vt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(C){let k=C.offsetHeight;Zl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,C){let k=C.offsetHeight;Zl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Zl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,tw.jsx)(X,{className:[$S("Wrap"),$S("Open_"+m)].join(" "),id:h,children:(0,tw.jsx)(X,v({"data-accordion-content-id":p},u))})},rw=p$;rw.fn={open:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.toggle()}};var fm=K(Dt());var j7=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=s[u];l.push(h),u<f.length-1&&l.push((0,fm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,fm.jsx)(fm.Fragment,{children:l})};var Al=K(Dt());var H7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||U7;let f=o.map((u,h)=>(0,Al.jsx)(l,{children:u,index:h},h));return(0,Al.jsx)(X,T(v({htmlTag:"ul",children:f},s),{freeCSS:v({listStyle:"none"},s.freeCSS)}))},U7=r=>(0,Al.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Gd=U7;Gd.Center=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(gt.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Left=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(gt.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Right=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(gt.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Separate=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(gt.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var dm=K(Dt());var gt={Center:r=>(0,dm.jsx)(At,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,dm.jsx)(At,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,dm.jsx)(At,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,dm.jsx)(At,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var vc=K(Dt());var hf=r=>(0,vc.jsx)(X,v({},r)),nr=hf;nr.Title=r=>(0,vc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,vc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,vc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,vc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,vc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,vc.jsx)(hf,v({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,vc.jsx)(yn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var V7=K(Dt()),nw=K(rr());var _r=K(Dt()),Bt=K(rr()),wn=K(ur());var As={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>Bt.useStore.get("sessionStates-"+dt.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(v({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,Bt.UUID)(),isOpen:!0,created_at:(0,Bt.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}},Cg={Wrapper:()=>{let[r,a]=(0,wn.useState)([]),o={val_sheets:r,set_sheets:a};Bt.useStore.set({["sessionStates-"+dt.get().sessionUID]:o}),(0,wn.useEffect)(()=>{Bt.useStore.set({["Sheet-"+dt.get().sessionUID]:{add:(s,f)=>{let u=Bt.useStore.get("Sheet-"+dt.get().sessionUID);if(!u)return;let h=As.getNewSheetStates(s);if(f!="inherit"&&(h.isOpen=f!=null?f:!0),!!u.find(h.sheetID)){a(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==h.sheetID);return g==-1||(m[g]=h),m});return}a(p=>[h,...p])},find:s=>{let f=As.getSessionStates();if(!f)return null;let{val_sheets:u}=f;return u.find(h=>h.sheetID==s)}}}),(0,Bt.default)(dt.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(s){let{key:f,metaKey:u}=s;if(f=="Escape"||f==","&&u){let h=As.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=p.filter(b=>b.isOpen);if(!m.length)return;let g=m.reduce((b,S)=>b.created_at.value>S.created_at.value?b:S);fr.close(g.sheetID,f)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(s){let f=As.getSessionStates();if(!f)return;let{val_sheets:u}=f,h=s.target;if(!h||h!=null&&h.closest("."+va("CustomSheet")))return;let p=u.filter(m=>m.type=="custom");p.length&&p.forEach(m=>{let{parent:g}=m;if(!m.closeAtAroundClick)return;let b=vt(g)[0];g!==h&&b!==h&&((0,Bt.default)(b).find(h).length||fr.close(m.sheetID))})}})},[]);let l=r.map(s=>(0,_r.jsx)(Cg.Core,T(v({},o),{val_sheet:s,patch_sheet:f=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==s.sheetID);return p==-1||(h[p]=v(v({},h[p]),f)),h})},delete_sheet:()=>{a(f=>{let u=[...f],h=u.findIndex(p=>p.sheetID==s.sheetID);return h==-1||u.splice(h,1),u})}}),s.sheetID));return(0,_r.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:l})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,wn.useState)(As.currentIndex+2),[f]=(0,wn.useState)((0,Bt.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,wn.useEffect)(()=>{As.currentIndex++,Bt.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Bt.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Bt.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Bt.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,wn.useEffect)(()=>{Bt.default.scope(()=>{let g=vt("#"+f);if(a.isOpen){a.hold_state&&s(As.currentIndex+1),g.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}g.await(10).removeClass(va("Open")).await(251).addClass(va("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&dt.get().browserIs!="safari"&&(0,Bt.default)(dt.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=Cg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,_r.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,_r.jsxs)(Zt,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,_r.jsx)(Cg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,_r.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:C,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},re=[];return te.match(/top/)?(re.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(re.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(re.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(re.push("left"),_e.marginRight="auto"):te.match(/center/i)?(re.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(re.push("right"),_e.marginLeft="auto"),(0,_r.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:re.join(" ")},m),children:Bt.default.is.function(f)?(0,_r.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:C,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,_r.jsx)(X,T(v(T(v({className:[va("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:C,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=Bt.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[re,be]=(0,wn.useState)(h),[ye,ge]=(0,wn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});Bt.useStore.update({[o]:{val_edit:ye,resize:fe=>{let B=te[_e[fe]];ge(W=>T(v({},W),{value:B})),be(fe)}}});let H={Start:fe=>{(0,Bt.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=Bt.default.getCursor(fe),W=T(v({},ye),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:ye.value,viewHeight:Bt.default.getScreenSize().height});Bt.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(Bt.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(v({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Bt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=Bt.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),be(["ZERO","S","R","L"][ne]),ge(T(v({},W),{value:te[ne],process:!1}))}},le=(0,wn.useRef)(!1);return(0,wn.useEffect)(()=>{le.current?re=="ZERO"?M&&fr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(re)},250):le.current=!0},[re]),(0,_r.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:N.height*ye.value},ye.process?{transition:"0s"}:{}),children:(0,_r.jsxs)(Zt,T(v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},m),{children:[(0,_r.jsxs)(gt.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,_r.jsx)(X,{ssSphere:2.5}),(0,_r.jsx)(gt.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,_r.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,_r.jsx)(ct.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{fr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:C,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,wn.useState)((0,Bt.UUID)()),_e=Bt.default.is.element(u)||Bt.default.is.jmini(u)?(0,Bt.default)(u):vt(u),re='[data-sheet-id="'+te+'"]',be='[data-sheet-content="'+te+'"]';p=p;let ye=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let we=Bt.default.getScreenSize(),Ye=Bt.default.getCursor(f);return{top:Ye.y-we.pageYOffset,left:Ye.x-we.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:xe}=_e.position();return[1,2].includes(ye)?fe.left=ee:ye==3?fe.left=ee+xe/2:[4,5].includes(ye)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=vt(re).position(),B=vt(be).position(),W=_e.position(),ne=Bt.default.getScreenSize(),ee={};for(let we in B)ee[we]=B[we];if(Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ge==1?we=W.top-ee.bottom:ge==2?we=W.top-ee.top:ge==3?we=W.top-ee.top+(W.height-ee.height)/2:ge==4?we=W.bottom-ee.bottom:ge==5&&(we=W.bottom-ee.top),ee.top+=we,ee.bottom+=we}),Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ye==1?we=W.left-ee.right:ye==2?we=W.left-ee.left:ye==3?we=W.left-ee.left+(W.width-ee.width)/2:ye==4?we=W.right-ee.right:ye==5&&(we=W.right-ee.left),ee.left+=we,ee.right+=we}),ee.top<0){let we=-ee.top;ee.top+=we,ee.bottom+=we}if(ee.bottom>ne.height){let we=ee.bottom-ne.height;ee.top-=we,ee.bottom-=we}if(ee.left<0){let we=-ee.left;ee.left+=we,ee.right+=we}if(ee.right>ne.width){let we=ee.right-ne.width;ee.left-=we,ee.right-=we}let de=ee.top-B.top,xe=ee.left-B.left;(0,Bt.default)(re).css({top:fe.top+de+"px",left:fe.left+xe+"px"})}},[le]=(0,wn.useState)(H.Init());return(0,wn.useEffect)(()=>{vt(re).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Bt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,_r.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,_r.jsx)(At,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+ye),va("Row_"+ge)].join(" "),children:(0,_r.jsx)(X,T(v({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:v({maxWidth:"98vw"},N.freeCSS),children:Bt.default.is.function(m)?(0,_r.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,_r.jsx)(X,{className:va("TapSensor"),children:(0,_r.jsx)(ct.Plain,{className:va("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&fr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},fr={Wrapper:()=>(0,_r.jsx)(Cg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Bt.UUID)(),s=r,{type:f,src:u}=s,h=Ge(s,["type","src"]);fr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,wn.useState)(Bt.default.flatArray(u)),[m,g]=(0,wn.useState)(0),b=[];return p.forEach((S,C)=>{b.push({value:C,label:(0,_r.jsx)(Ts,{src:Bt.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,_r.jsxs)(Zt,{gap:0,height:1,position:"relative",children:[(0,_r.jsxs)(gt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,_r.jsx)(La.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,_r.jsx)(ct.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{fr.close(l)},children:(0,_r.jsx)(Ne.Times,{})})]}),(0,_r.jsx)(hc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,_r.jsx)(Ts,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Bt.useStore.get("Sheet-"+dt.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Bt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Bt.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=As.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Bt.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=As.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&fr.close(l.sheetID)},closeAll:r=>{let a=As.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||fr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,_r.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,nw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,nw.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);fr.open(T(v({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&fr.close(r)},closeALL:()=>{fr.closeGroup("tooltips")},Body:r=>(0,V7.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=r=>{let[a]=(0,mf.useState)(r.componentID||(0,da.UUID)());r=v({},r),r.states=T(v({enableFormSubmit:!0,status_id:(0,da.UUID)(),override:"never",form:"",id:(0,da.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Un.jsx)(o,v({},r.states))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:u}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Un.jsxs)(gt.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Ud("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(ow.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Un.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(ow.RightIcon,v({},r)),(0,Un.jsx)(ow.ClearButton,v({},r))]}),s.rightIndicator]}))},ow={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Un.jsx)(ct.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(v({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,da.UUID)()}))},children:(0,Un.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,mf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Na.close(u);return}Na.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Na.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Un.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Un.jsx)(Zt,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Un.jsxs)(gt.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Un.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Un.jsx)(nr.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+da.default.Stringify(h))})})]})})},350,s),da.default.interval.once(()=>{Na.close(u)},6e3,f)},[a]),null}},Ft={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=l;(0,mf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{da.useStore.get(p).ResolveRefresh=m,s(b=>T(v({},b),{eventType:"refresh",eventID:(0,da.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;u({ok:g,notice:b})}}}),()=>{da.useStore.delete(p)}),[]),da.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let g=da.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,da.UUID)()})),g.status_id=o.status_id)}),(0,mf.useEffect)(()=>{Ft.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,mf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let C=da.useStore.get(m);C&&C.ResolveRefresh&&C.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),da.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;da.default.interval.abort(o);let l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Da(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:u.ok,notice:[...s,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}da.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=vt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||dt.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&u)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Vn=function(r){r=v({tone:"border"},r);let a=da.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(v({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(v({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(v({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(v(v(v(v(v(v({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:v({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Ud("Input"),r.className].join(" ")})};var h$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,pm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Kd.UUID)()}),[m,g]=(0,pm.useState)({ok:!1,notice:[]});return(0,pm.useEffect)(()=>{Kd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Kd.UUID)()}))},[r.value]),Ft.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,iw.jsx)("input",T(v({value:Kd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},W7=r=>(0,iw.jsx)(Ta,{componentID:r.componentID,children:h$,states:r});var lr=K(Dt()),Qa=K(rr()),Ls=K(ur());var J7=K(Q7());var hm=K(Dt()),kg=K(ur()),xg=K(rr());var vu=r=>{if(!r.label)return null;let[a,o]=(0,kg.useState)({});return(0,kg.useEffect)(()=>{let l=(0,xg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,xg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,xg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let u=l.position(),h=f.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,m=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,hm.jsx)(X,T(v({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,hm.jsxs)(gt.Left,{gap:"1/3",children:[r.label,r.required&&(0,hm.jsx)(yn,{fontColor:"nega",children:" * "})]})}))};var m$={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,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,lr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},_c={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=vt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:u}=o,h=[];if(f||(s=s||255),Qa.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=_c.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=m$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["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),Qa.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Qa.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 f=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(",")}f=u.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},sw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,Ls.useEffect)(()=>{Qa.default.scope(()=>Da(void 0,null,function*(){if(!a.multiline)return;let p=(0,Qa.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Qa.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Qa.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Qa.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),C=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,C.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
|
|
979
|
+
T`.repeat(p-1),u=`
|
|
980
|
+
T`.repeat(m-1)}let h=Ll(a);return(0,lr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,lr.jsx)(nr.Description,T(v({className:a.className},h),{position:"absolute",width:1,freeCSS:T(v({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,lr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,lr.jsx)(nr.Description,T(v({className:a.className},h),{position:"absolute",left:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,lr.jsx)(nr.Description,T(v({className:a.className},h),{position:"absolute",right:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:u}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:C,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:re,onKeyDown:be,onValidate:ye,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:xe,label:we,isLabelActive:Ye,wrapStyles:$e}=g,Pe=Ge(g,["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"]),et=k=="password"||k=="concealed"?"password":"text",ut=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,lr.jsx)(X,T(v({htmlTag:"input",type:et,inputMode:ut,"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:it=>{let{key:Tt,target:wt}=it;{let Ze=wt,{selectionStart:Te,selectionEnd:ht}=Ze,Lt=Number(Te),jt=Number(ht),Ut=s.formatValue[Number(Lt)],tr=s.formatValue[Number(Lt)-1];Tt=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(Ze.setSelectionRange(Lt+1,jt+1),it.preventDefault()),Tt=="Backspace"&&(k=="creditCard"&&tr==" "||k=="postal"&&tr=="-"||k=="digitNumber"&&tr==",")&&(Ze.setSelectionRange(Lt-1,jt-1),it.preventDefault()),Tt=="Enter"||Tt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&Tt=="Clear"&&f(Ze=>T(v({},Ze),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Qa.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(Tt)){let Ze=+(Tt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+Ze);o.ok&&l({ok:!1,notice:[]}),f(ht=>T(v(v({},ht),_c.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Te})),{eventType:"update",eventID:(0,Qa.UUID)()})),it.preventDefault()}be&&be(it),N&&Ft.SubmitForm(it,L)},onChange:it=>{let{value:Tt,selectionStart:wt,selectionEnd:Ze}=it.target,Te=_c.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Tt});p&&(Te.formatValue=Tt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(ht=>T(v(v({},ht),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,Qa.UUID)(),caretFrom:Number(wt),caretTo:Number(Ze)})),re&&re(it))},width:1},Pe),{onFocus:it=>{Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(it)),h(!0)},onBlur:it=>{Pe!=null&&Pe.onBlur&&(Pe==null||Pe.onBlur(it)),h(!1)},onCompositionStart:it=>{Pe!=null&&Pe.onCompositionStart&&(Pe==null||Pe.onCompositionStart(it)),m(!0)},onCompositionEnd:it=>{if(Pe!=null&&Pe.onCompositionEnd&&(Pe==null||Pe.onCompositionEnd(it)),k=="text")return;let Tt=_c.Validation.DataLeveling({min:de,max:xe,restrict:k,value:s.formatValue});f(wt=>T(v(v({},wt),Tt),{prevValue:wt.formatValue,eventType:"update",eventID:(0,Qa.UUID)(),caretFrom:Number(wt.formatValue.length+1),caretTo:Number(wt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:C,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:re,onUpdateValue:be,onUpdateValidValue:ye,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["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,lr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":Ft.isShowValidation(s,u,!!N),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Ft.SubmitForm(ee,C)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(xe=>T(v({},xe),{dataValue:de,eventType:"update",eventID:(0,Qa.UUID)()})),te&&te(ee)}})):null}},v$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[u,h]=(0,Ls.useState)(!1),[p,m]=(0,Ls.useState)(!1),[g,b]=(0,Ls.useState)(T(v({componentID:a},_c.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Qa.UUID)(),caretFrom:null,caretTo:null})),[S,C]=(0,Ls.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:C};return Ft.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:C,SystemValidation:_c.Validation.System,ExtraOverrideStates:v({},_c.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,Ls.useEffect)(()=>{_c.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,lr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,lr.jsx)(vu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!g.dataValue}),(0,lr.jsx)(sw.Shallow,v({},k)),(0,lr.jsx)(sw.InputBox,v({},k)),(0,lr.jsx)(sw.TextAreaBox,v({},k))]})},es=r=>(r=v({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,lr.jsx)(Ta,{componentID:r.componentID,children:v$,states:Vn(r)})),dn=es;dn.Validate=_c.Validation.Text,dn.Katakana=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,lr.jsx)(es,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),dn.Postal=r=>{let[a]=(0,Ls.useState)((0,Qa.UUID)());return(0,Ls.useEffect)(()=>()=>{Qa.useStore.delete(a)},[]),(0,lr.jsx)(es,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,lr.jsx)($d,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,lr.jsx)(es,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,lr.jsx)(ct.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{gc.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:gc.abort,tabIndex:-1,onClick:a=>{(0,Qa.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,lr.jsx)(Ne,{icon:J7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,lr.jsx)(dn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,lr.jsx)(dn.DigitNumber,T(v({rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Tg=K(Dt()),Z7=K(rr()),cw=K(ur());function _$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var g$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,cw.useState)(Ft.DefaultStatus(o,u)),[_e,re]=(0,cw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:re,SystemValidation:_$}),(0,Tg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,Tg.jsx)(X,T(v({contentEditable:!0,"data-show-validation":Ft.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:be=>{g&&g(be),h&&Ft.SubmitForm(be,f)},onInput:be=>{let ye=be.currentTarget,{innerHTML:ge,innerText:H}=ye;_e.ok&&re({ok:!1,notice:[]}),te(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,Z7.UUID)()})),m&&m(be)}},Q),{children:k}))})},eO=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Tg.jsx)(Ta,{componentID:r.componentID,children:g$,states:a})};var mm=K(Dt()),uw=K(ur()),Xd=K(rr());function b$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,u=[];return l&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&u.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&u.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!u.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:u}}var y$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},tO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},S$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:C,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,re]=(0,uw.useState)(T(v({componentID:r.componentID||""},y$(h,M)),{eventType:"init",eventID:(0,Xd.UUID)()})),[be,ye]=(0,uw.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:b$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=u;r.combineInput&&(B=[u,Ud("DigitCharacterCell"),Ud("Combined")].join(" ")),ge.push((0,mm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:v(v({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let xe=_e.formatValue;xe[H]="",re(we=>T(v(v({},we),tO(xe)),{eventType:"update",eventID:(0,Xd.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let xe=+(ne=="ArrowRight")*2-1;de=H+xe}else m&&Ft.SubmitForm(W,s),(()=>{let xe=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!xe)return;let we=xe[2]||xe[3]||xe[4];if(p&&!we.match(/\d/)||!we)return;let Ye=_e.formatValue;Ye[H]=we,re($e=>T(v(v({},$e),tO(Ye)),{eventType:"update",eventID:(0,Xd.UUID)()})),de=H+1})();Xd.default.is.exist(de)&&vt("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,mm.jsx)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:(0,mm.jsx)(At,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},rO=r=>{r=v({},r),r=v({textAlign:"center",width:0},r),r.combineInput&&(r=T(v({textAlign:"center",width:0},r),{freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=ko(Vn(r));return(0,mm.jsx)(Ta,{componentID:r.componentID,children:S$,states:a})};var ta=K(Dt()),pn=K(rr()),vm=K(rr()),Eo=K(ur());var SO=K(cO()),wO=K(_O());var sr=K(Dt()),Ja=K(rr()),bc=K(ur());function w$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var pw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},_u={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,sr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,sr.jsx)(nr.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,sr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(_u.LegacySelector,v({},r)),(0,sr.jsx)(_u.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,sr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:C,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,value:be="",options:ye,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorMode:xe,SelectorStyles:we,SelectorPosition:Ye}=S,$e=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Pe="select-click-"+a.componentID;if(g){if(!(0,Ja.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Ja.default)(document).addEvent({eventID:Pe,eventType:"click",callback:et=>{let ut=(0,Ja.default)(et.target),it=!!(0,Ja.default)(ut).parent("."+Tl("Core")).length;(0,Ja.default)(ut).parent("."+Tl("Selector")).length||it||b(!1)}})}else(0,Ja.default)(document).removeEvent([Pe])},[g]),(0,bc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Pe=(0,Ja.default)('[data-input-origin="'+a.componentID+'"]');Pe&&Pe.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(X,T(v({tabIndex:0},$e),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onFocus:Pe=>{if($e!=null&&$e.onFocus&&($e==null||$e.onFocus(Pe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Pe=>{$e!=null&&$e.onClick&&($e==null||$e.onClick(Pe)),!a.disabled&&b(!0)},onKeyDown:Pe=>{let{key:et,metaKey:ut,ctrlKey:it}=Pe,Tt=ut||it;if($e!=null&&$e.onKeyDown&&($e==null||$e.onKeyDown(Pe)),F&&Ft.SubmitForm(Pe,L),!a.disabled){if(Ja.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(et))return;if(Pe.preventDefault(),!g)return b(!0);let wt=et=="ArrowDown"?1:-1,Ze=pw.FilterSelectableOptions(r),Te=Ze.length-1,ht=null;Ja.default.scope(()=>{var Lt,jt,Ut,tr,cr,Er,ra,jr,qr,Cr;let dr=Ze.findIndex(gr=>gr.value==s);if(wt==1){if(ht=(jt=(Lt=Ze[0])==null?void 0:Lt.value)!=null?jt:null,Tt){ht=(Ut=Ze[Te].value)!=null?Ut:null;return}if(dr==-1||dr==Te)return;ht=(cr=(tr=Ze[dr+1])==null?void 0:tr.value)!=null?cr:null}else{if(ht=(Er=Ze[Te].value)!=null?Er:null,Tt){ht=(jr=(ra=Ze[0])==null?void 0:ra.value)!=null?jr:null;return}if(dr==-1||dr==0)return;ht=(Cr=(qr=Ze[dr-1])==null?void 0:qr.value)!=null?Cr:null}}),f(ht)}),et=="Escape")b(!1);else if(et=="Tab")b(!1);else if(et=="Backspace")m(wt=>T(v({},wt),{dataValue:null,eventType:"update",eventID:(0,Ja.UUID)()}));else if(et==" ")Pe.preventDefault(),b(!0);else if(et=="Enter"){if(!g)return b(!0);Pe.preventDefault();let wt=a.options.find(Ze=>Ze.value==s);if(!wt)return;m(Ze=>T(v({},Ze),{dataValue:wt.value,eventType:"update",eventID:(0,Ja.UUID)()})),b(!1)}}},children:(0,sr.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,sr.jsx)(_u.Placeholder,v({},r)),(0,sr.jsx)(_u.Selected,v({},r)),(0,sr.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,sr.jsx)(_u.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:C,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,onKeyDown:be,onChange:ye,value:ge="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:W,componentID:ne,status_id:ee,wrapStyles:de,SelectedCellStyles:xe,SelectorCellStyles:we,SelectorMode:Ye,SelectorStyles:$e,SelectorPosition:Pe}=S,et=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,sr.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},et),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onKeyDown:ut=>{be&&be(ut),F&&Ft.SubmitForm(ut,L)},onChange:ut=>{let{value:it}=ut.target;u.ok&&h({ok:!1,notice:[]}),m(Tt=>T(v({},Tt),{dataValue:it,eventType:"update",eventID:(0,Ja.UUID)()})),ye&&ye(ut)},children:[!!Q&&(0,sr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(ut=>Ja.default.is.nullish(ut.value)?null:(0,sr.jsx)("option",{value:ut.value,children:ut.label},String(ut.value)))]}))},Selector:r=>{var a;let o=[],l=pw.FilterSelectableOptions(r,!0),s=pw.FilterSelectableOptions(r);l.forEach((u,h)=>{let{type:p,value:m}=u,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,sr.jsx)(ct.Sub.S,T(v({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(C=>T(v({},C),{dataValue:m,eventType:"update",eventID:(0,Ja.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,sr.jsxs)(gt.Left,{gap:"1/2",children:[b&&(0,sr.jsx)(Ne.Check,{fontColor:"theme"}),(0,sr.jsx)(nr.Supplement,{transition:"short",flexSizing:0,children:u.label})]})}),String(m)));return}o.push((0,sr.jsx)(X,{children:u.label},(0,Ja.UUID)()))}),s.length||(o=[(0,sr.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,sr.jsx)(X,T(v({},f),{children:(0,sr.jsx)(fr.Body,T(v({className:Tl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,sr.jsx)(Zt,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Ja.default.scope(()=>{let o=r.rootStates.options.find(l=>Ja.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,sr.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,sr.jsx)(sr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,bc.useState)(Ft.DefaultStatus(r.componentID,o)),[f,u]=(0,bc.useState)(!1),[h,p]=(0,bc.useState)(!1),[m,g]=(0,bc.useState)((a=r.value)!=null?a:null),[b,S]=(0,bc.useState)({ok:!1,notice:[]}),C={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Ft.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:w$}),(0,sr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,sr.jsx)(vu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,sr.jsx)(_u.Shallow,v({},C)),(0,sr.jsx)(_u.Button,v({},C))]})}},ts=r=>{var a;let o=v({},r);return o=T(v({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,sr.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:u}=l;o.options[s]=T(v({},l),{value:u,type:f||"selector"})}),Ja.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,sr.jsx)(Ba,{ssSphere:2,children:(0,sr.jsx)(Ne.AngleDown,{})})),(0,sr.jsx)(Ta,{componentID:o.componentID,children:_u.Core,states:Vn(o)})};var je=K(Dt()),bO=K(ur()),Ar=K(rr()),yc=K(ur());var Oa=K(Dt()),rs=K(rr()),hw=K(ur());function C$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var vf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=rs.default.is.exist(a)?rs.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(u=>rs.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(vf.Core,T(v({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:C,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:re,min:be,max:ye,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,hw.useState)(Ft.DefaultStatus(f,j)),[ne,ee]=(0,hw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:C$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(vf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:C,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,re=b.map((be,ye)=>{let ge=be,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),xe=(0,rs.UUID)(),we=te.findIndex(ut=>ut===H)!=-1,Ye=v(v({},O),de),$e=[cf("Label"),j,B];we&&(Ye=T(v(v(v({},Ye),F),W),{freeCSS:v(v(v({},Ye==null?void 0:Ye.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),$e=[...$e,Q,ne]);let Pe=()=>{if(M||fe)return;let ut=[];if(f=="radio")ut=[H];else if(f=="checkbox"||g)if(!we)ut=[...o.dataValue,H];else{let it=[...o.dataValue];it.splice(o.dataValue.findIndex(Tt=>Tt==H),1),ut=it}l(it=>T(v({},it),{dataValue:ut,eventType:"update",eventID:(0,rs.UUID)()}))},et=[(0,Oa.jsx)(yn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:rs.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&et[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:we,iconSize:p,iconColor:m,toggle:Pe},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+ye,id:xe,value:String(H),disabled:M||fe,checked:we,onFocus:ut=>{fe||f=="radio"&&(o.dataValue.length||l(it=>T(v({},it),{dataValue:[H],eventType:"update",eventID:(0,rs.UUID)()})))},onChange:()=>{Pe()},onKeyDown:ut=>{let{key:it,shiftKey:Tt}=ut;if((f=="checkbox"||r.rootStates.isChecker)&&it!="Tab"&&it.match(/Arrow/)){ut.preventDefault();let wt=["ArrowLeft","ArrowUp"].includes(it)?-1:1,Ze=ye+wt;Ze<0?Ze=b.length-1:Ze>=b.length&&(Ze=0),vt(`input[data-list-index="${s}-${Ze}"]`).focus()}N&&Ft.SubmitForm(ut,C)},tabIndex:k},"List-"+rs.default.Stringify(H)),(0,Oa.jsx)(X,T(v({htmlTag:"label","data-disabled":M||fe,htmlFor:xe,className:$e.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ye),{children:et}),"ListTrigger-"+rs.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,cf("CellBase"),cf("HideInput_"+L),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:re})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.jsx)(ct.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Oa.jsx)(vf._Icon,T(v({type:"radio"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Oa.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Oa.jsx)(vf._Icon,T(v({type:"checkbox"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Oa.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},mw=r=>{r=r||"checkbox";let a=l=>(l=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=vf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=vf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=ko(l),(0,Oa.jsx)(Ta,{componentID:l.componentID,children:vf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,v({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,v({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},_f=mw("radio"),Eg=mw("checkbox"),gO=mw();var vw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Ar.Time)().addYear(10).year);for(let u=s;u<=f;u++)l.unshift({value:u,label:[u,...Ar.default.transformer.wareki(u).value].join(" -")});return l},yO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let s=(0,yc.useRef)(!1),[f,u]=(0,yc.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b))&&([g,b]=(0,Ar.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Ar.default.is.nullish(g)&&([g]=(0,Ar.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,yc.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:C}=f;m=C,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:ka(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(qa.Clock.index,v({},h)):a=="date"?(0,je.jsx)(qa.Date.index,v({},h)):a=="week"?"":a=="month"?(0,je.jsx)(qa.Month.index,v({},h)):a=="year"?(0,je.jsx)(qa.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(qa.DateWareki.index,v({},h)):(0,je.jsx)(je.Fragment,{})})})},qa={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,[h,p]=(0,yc.useState)(f.hour>12?2:1),[m,g]=(0,yc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,yc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(Zt,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(_f,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:C=>{let k=f.hour%12+(C==2?12:0);p(C),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(_f,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:C=>{g(C)}})]}),(0,je.jsxs)(Zt,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(Zt,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:qa.Clock.Hours({onClick:C=>{let k=C+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(Zt,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:qa.Clock.Minutes({onClick:C=>{u({modifiedType:"update",hour:f.hour,minutes:C})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(s=!0)}}a.push((0,je.jsx)(ct.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(ct.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(gt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(ts,{override:"force",emptySelect:!1,value:h,options:vw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{u({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})})}),(0,je.jsx)(ts,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(qa.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),u({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:qa.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,C]=g;u({modifiedType:"update",year:b,month:S,date:C})}})}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:u}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],C=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)b.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,bO.createElement)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));Q>N&&(F=!0)}}C.push((0,je.jsx)(ct.Clear,T(v({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Wd,{gridCols:7,gap:"1/6",children:[b,S,C,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(gt.Separate,{gap:0,children:[(0,je.jsx)(gt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(ts,{emptySelect:!1,value:h,options:vw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(qa.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),qa.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;u({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Ar.Time)(),s=[];for(let f=1;f<=12;f++){let u=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[ka("Cell"),u?ka("isThisMonth"):""].join(" ");s.push((0,je.jsxs)(ct.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,je.jsx)(Wd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsx)(ts,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:vw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:u};return(0,je.jsxs)(X,{children:[(0,je.jsxs)(gt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(qa.DateWareki.EraSelect,v({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(qa.DateWareki.Calendar,v({},b))]}),(0,je.jsx)(gt.Right,{padding:1,children:(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(Zt,{padding:1,gap:0,children:[(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,je.jsx)(ct.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Ar.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Ar.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(gt.Separate,{children:[(0,je.jsx)(ts,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(gt.Center,{gap:"1/3",children:[(0,je.jsx)(ts,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(ct.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,je.jsx)(Ne.ChevronLeft,{})}),(0,je.jsx)(ct.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,je.jsx)(Ne.ChevronRight,{})})]})]}),(0,je.jsx)(qa.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,je.jsx)(nr.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ar.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Ar.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,je.jsx)(ct.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Ar.Time)();for(let p=1;p<=f.date;p++){let m=(0,Ar.Time)(l).setDate(p),g=h.diff(m).dates==0;u.push((0,je.jsx)(ct.Clear,{ssSquare:3,fontColor:"2.normal",className:[ka("CalendarDay"),ka("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Ar.Time)(l).addMonth(1).setDate(1).addDate(p);u.push((0,je.jsx)(ct.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,je.jsx)(Wd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(ct.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,je.jsx)(ct.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),fr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(ct.Clear,T(v({className:ka("LeftButton"),tabIndex:-1,right:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ne.ChevronLeft,{})})),(0,je.jsx)(ct.Clear,T(v({className:ka("RightButton"),tabIndex:-1,left:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var bf=" ~ ",k$={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+bf.length,length:4},{type:"month",from:15+bf.length,length:2},{type:"date",from:18+bf.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+bf.length,length:4},{type:"month",from:13+bf.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},gf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=pn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=k$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(u))s[b]="",m.push(f);else{let C=f;S.split(/\D/).forEach((k,L)=>{if(L==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)}C=C.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(C)}}return{formatValue:m.join(bf),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=pn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,C]=g.split(/\D+/);if(!b||!S||!C)p.filled=!1;else{let k=vm.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let C=vm.Time(b+"/01/01").weekday,k=vm.Time(b+"/01/0"+(7-C+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:vm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:C}=p;m&&f&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),C&&u.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:C,selectionEnd:k}=l.target,{index:L,prevIndex:M}=u,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=u.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||C==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(L+Q,j))}h(Q=>T(v({},Q),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:N,length:te}=Y[F],_e=O.slice(N,N+te),re;if(p=="Backspace")re="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;_e=_e|0,re=_e+be;let[ye,ge,H]=Q=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];re>ge?re=ye:re<ye&&(re=ge),re=Number(re).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=_e|0,ye=p,ge=`${be}${ye}`;if(M!=L&&(be=0,ge="0"+ye),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?re=ye:re=ge,(re|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;re=(ge|0)>H?ye:ge,(Number(ye)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=u5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?re=(re|0).zeroEmbed(4):re=(re|0).zeroEmbed(2)}{let be=String(O).partReplace(N,String(re)),ye=be.split(bf).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=ye[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(ye=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(v({},ge),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:(0,pn.UUID)()})),h(ge=>T(v({},ge),{index:F,prevIndex:ge.index}))}}}},CO={picker:{launch:r=>{let a=r.sheetID||(0,pn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:u,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);fr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(gt.Center,{children:(0,ta.jsx)(yO,{restrict:h,min:s,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},T$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(nr.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},E$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:u,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:C,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,re=Ge(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,Eo.useState)(u),[ge,H]=(0,Eo.useState)(T(v({componentID:r.componentID||""},gf.DataLeveling({restrict:s,value:O,era:be})),{eventType:"init",eventID:(0,pn.UUID)()})),[le,fe]=(0,Eo.useState)({ok:!1,notice:[]}),[B,W]=(0,Eo.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:be,set_era:ye,val_focus:B,set_focus:W};Ft.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:gf.SystemValidation,ExtraOverrideStates:v({},gf.DataLeveling({restrict:s,value:O,era:be}))});let ee=(0,Eo.useRef)(!1);return(0,Eo.useEffect)(()=>{if(ee.current){H(xe=>v(v({},xe),gf.DataLeveling({restrict:s,value:xe.dataValue,era:be})));let de=pn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(be)}else ee.current=!0},[be]),pn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||CO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:be,onValueUpdate:(xe,we)=>{H(Ye=>T(v(v({},Ye),gf.DataLeveling({restrict:s,value:xe,era:we})),{eventType:"update",eventID:(0,pn.UUID)()})),ye(we)}})},resetEra:de=>{ye(de),H(xe=>T(v(v({},xe),gf.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:(0,pn.UUID)()}))}}}),(0,Eo.useEffect)(()=>{let{index:de,active:xe}=B;if(xe){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:we,length:Ye}=ge.ranges[de],$e=vt("#"+r.id)[0];$e&&$e.setSelectionRange(we,we+Ye)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(T$.Shallow,v({},ne)),(0,ta.jsx)(vu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),dt.get().isTouchDevice?(0,ta.jsx)(ct.Plain,T(v({"data-show-validation":Ft.isShowValidation(le,ge,!!C),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},re),{children:ge.formatValue,onClick:de=>{let xe=pn.useStore.get(ge.componentID);xe&&xe.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ft.isShowValidation(le,ge,!!C),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:dt.get().isTouchDevice?-1:0,onKeyDown:de=>{gf.KeyDownEvent({restrict:s,event:de,val_era:be,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Ft.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(xe=>T(v({},xe),{active:!0}))},onClick:de=>{let xe=de.target.selectionEnd,we=0;ge.ranges.forEach((Ye,$e)=>{let{from:Pe,length:et,region:ut}=Ye;Pe<=xe&&xe<=Pe+(ut||et)&&(we=$e)}),W(Ye=>T(v({},Ye),{active:!0,index:we})),de.preventDefault()},onChange:()=>{}},re))]})},Ns={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Eo.useState)(r.componentID||(0,pn.UUID)());if(a.componentID=o,pn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?SO.faClock:wO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(ct.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=pn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:l})})})}return(0,ta.jsx)(Ta,{componentID:a.componentID,children:E$,states:Vn(a)})},Clock:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Eo.useState)(r.componentID||(0,pn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Eo.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let m=Number(u);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Eo.useEffect)(()=>{pn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ns.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(ts,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{s(f);let u=pn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ns.Origin,v({restrict:"months"},r))},fn:CO};var Xt=K(Dt()),ja=K(ur()),zr=K(rr());var wf=K(Dt()),Zd=K(rr());var yf=K(Dt()),Rg=K(rr());var Sf=K(ur());var Qd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,u=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,Sf.useState)(f),[p]=(0,Sf.useState)((0,Rg.UUID)()),[m,g]=(0,Sf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,Sf.useEffect)(()=>{let C=vt('[data-component-id="'+p+'"]');m?C.removeClass(xa("Hide")).await(10).addClass(xa("Active")):C.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,Sf.useEffect)(()=>{Rg.useStore.set({[p]:{active:C=>{h==C&&g(!0)},stop:C=>{h==C&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,yf.jsxs)(gt.Center,T(v({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,yf.jsx)("svg",{className:xa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,yf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,yf.jsx)("svg",{className:xa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,yf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Nl=K(Dt()),xO=K(rr());var Dg=K(ur());var kO=()=>{let[r,a]=(0,Dg.useState)(!1);return(0,Dg.useEffect)(()=>{xO.useStore.set({["Loader-corner-"+dt.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Nl.jsxs)(At,{className:[xa("CornerLoader"),r?xa("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,Nl.jsxs)(At,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Nl.jsx)(X,{className:xa("Ld4")}),(0,Nl.jsx)(X,{className:xa("Ld3")}),(0,Nl.jsx)(X,{className:xa("Ld2")}),(0,Nl.jsx)(X,{className:xa("Ld1")}),(0,Nl.jsx)(X,{className:xa("Ld2")}),(0,Nl.jsx)(X,{className:xa("Ld3")}),(0,Nl.jsx)(X,{className:xa("Ld4")})]}),(0,Nl.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Jd=r=>{let a=r.color;return{S:o=>(0,wf.jsx)(Qd,v({size:"S",color:a},o)),R:o=>(0,wf.jsx)(Qd,v({size:"R",color:a},o)),L:o=>(0,wf.jsx)(Qd,v({size:"L",color:a},o)),XL:o=>(0,wf.jsx)(Qd,v({size:"XL",color:a},o)),MAX:o=>(0,wf.jsx)(Qd,v({size:"MAX",color:a},o))}},Ro={Wrapper:()=>(0,wf.jsx)(kO,{}),Theme:Jd({color:"theme"}),Posi:Jd({color:"posi"}),Nega:Jd({color:"nega"}),Warn:Jd({color:"warn"}),White:Jd({color:"white"}),Cloud:Jd({color:"cloud"}),fn:{corner:{active:()=>{let r=Zd.useStore.get("Loader-corner-"+dt.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Zd.useStore.get("Loader-corner-"+dt.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{vt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Zd.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{vt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Zd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{vt("."+xa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Zd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ro.fn.corner.stop(),Ro.fn.mini.stopALL()}}};function R$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var ep={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:u}=o,h=u||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(v({},o),{searchValue:h,type:l||"selector",value:f}))}),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}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,Xt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Xt.jsx)(nr.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Xt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:C,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:Q,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:re,onValidate:be,onUpdateValue:ye,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:xe,emptySelect:we,SearchInput:Ye,SearchInputPlaceholder:$e,SelectedComponent:Pe,SelectorComponent:et,SelectorStyles:ut,SelectorPosition:it,DynamicOptionsOnSearch:Tt}=O,wt=Ge(O,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var Ze,Te;if(a.disabled||!S)return;let ht=ep.FilterSelectableOptions(r);f((Te=(Ze=ht[0])==null?void 0:Ze.value)!=null?Te:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(C(!1),b(!0),setTimeout(()=>{let Ze=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');Ze&&Ze.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let Ze="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:Ze,eventType:"mousedown",callback:Te=>{let ht=(0,zr.default)(Te.target),Lt=!!(0,zr.default)(ht).parent("."+Tl("Core")).length;(0,zr.default)(ht).parent("."+Tl("Selector")).length||Lt||C(!1)}})}else(0,zr.default)(document).removeEvent([Ze]),l("")},[S]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(X,T(v({tabIndex:0},wt),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(M,k,!!re),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,Tl("Core")].join(" "),onFocus:Ze=>{if(wt!=null&&wt.onFocus&&(wt==null||wt.onFocus(Ze)),!a.disabled){if(g)return b(!1);C(!0),Ze.preventDefault()}},onClick:Ze=>{wt!=null&&wt.onClick&&(wt==null||wt.onClick(Ze)),!a.disabled&&C(!0)},onKeyDown:Ze=>{let{key:Te}=Ze;_e&&Ft.SubmitForm(Ze,Q),!S&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&C(!0)},children:(0,Xt.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(tp.Selected,v({},r)),(0,Xt.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(tp.SearchInput,v({},r))]})})),S&&(0,Xt.jsx)(tp.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,ja.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Xt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:u,ctrlKey:h}=s,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(v({},g),{dataValue:m,eventType:"update",eventID:(0,zr.UUID)()}))}):f=="Enter"&&zr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return zr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(C=>C!==g):a.multiSelect?S.push(g):S=[g]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=ep.FilterSelectableOptions(r),b=g.length-1,S=null;zr.default.scope(()=>{var C,k,L,M,Y,O,j,F,Q,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(C=g[0])==null?void 0:C.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(Q=g[te-1])==null?void 0:Q.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ft.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Da(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=ep.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let u=[],h=ep.FilterSelectableOptions(r,!0),p=ep.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:C}=g,k=r.val_optionFocused==C,L=r.val_status.dataValue.includes(C),M=r.rootStates.SelectorComponent;u.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(C===null)return O=[];Y.dataValue.includes(C)?O=O.filter(j=>j!==C):r.rootStates.multiSelect?O.push(C):O=[C]}),T(v({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(C)||(0,zr.UUID)()))}),p.length||(u=[(0,Xt.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(u=[(0,Xt.jsxs)(gt.Left,{padding:1,fontColor:"3.blur",children:[(0,Xt.jsx)(Ro.Theme.R,{showInitial:!0}),(0,Xt.jsx)(nr.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Xt.jsx)(X,T(v({},m),{children:(0,Xt.jsx)(fr.Body,T(v({className:Tl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Xt.jsx)(Zt,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(u=>{let h=s[zr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(X,{className:Tl("SelectedCell"),children:(0,Xt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==u),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Xt.jsx)(Xt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,u]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[C,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Ft.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let re=[...b],be=v({},L);re.forEach(ye=>{ye.type!="label"&&(be[zr.default.Stringify(ye.value)]=ye)}),M(be)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:C,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ft.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:R$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Xt.jsx)(vu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Xt.jsx)(tp.Shallow,v({},N)),(0,Xt.jsx)(tp.Button,v({},N))]})}},Ag=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:u})=>l.type=="selector"?(0,Xt.jsx)(ct.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{u()},children:(0,Xt.jsxs)(gt.Left,{gap:"1/2",children:[s&&(0,Xt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Xt.jsx)(nr.Supplement,{transition:"short",children:l.label})]})}):(0,Xt.jsx)(Xt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Xt.jsxs)(gt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Xt.jsx)(ct.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Xt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Xt.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=ep.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,children:(0,Xt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Xt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Xt.jsx)(Ta,{componentID:o.componentID,children:tp.Core,states:Vn(o)})};var Cf=K(Dt());var TO=r=>(0,Cf.jsx)(Ag,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Cf.jsx)(Cf.Fragment,{children:o}),rightIcon:(0,Cf.jsx)(Ba,{ssSphere:2,children:(0,Cf.jsx)(Ne.AngleDown,{})})},r));var wr=K(Dt()),xf=K(ur()),Ol=K(rr());var Do=K(Dt()),EO=K(ur()),ho=K(rr());var Sc=K(ur());var as={add:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Do.jsx)(RO.Wrapper,{})},RO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,ho.UUID)(),children:f,customChildren:u}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,Sc.useState)(s),[m,g]=(0,Sc.useState)(r.secondsToClose||10);(0,Sc.useEffect)(()=>{let S=vt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(om("FadeIn"))},10),ho.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(om("FadeOut"))}}})},[]),(0,Sc.useEffect)(()=>{ho.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&as.remove(o)},[m]);let b=(0,Do.jsx)(Do.Fragment,{});return u?b=(0,Do.jsx)(u,{close:()=>{as.remove(o)}}):b=(0,Do.jsxs)(gt.Separate,{verticalAlign:"top",children:[(0,Do.jsx)(X,{padding:["1/4",0],flexSizing:0,children:ho.default.is.function(f)?(0,Do.jsx)(f,{}):f}),(0,Do.jsx)(ct.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{as.remove(o)},children:(0,Do.jsx)(Ne.Times,{})})]}),(0,Do.jsx)(X,T(v({className:om("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,Sc.useState)((0,ho.UUID)()),[o,l]=(0,Sc.useState)([]);(0,Sc.useEffect)(()=>{ho.useStore.set({["Snackbar-"+dt.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,ho.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(v({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(v({},f),{snackID:f.snackID}),o=h}a((0,ho.UUID)())},remove:f=>{let u=ho.useStore.get("Snackbar-"+f);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,EO.createElement)(RO.Cell,T(v({},f),{key:f.snackID})));return(0,Do.jsx)(At,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",om("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 IO=K(PO());function D$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var zO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,wr.jsx)(zO.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,wr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Jl("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:u=>{let{key:h}=u;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&vt("#"+a.id).click()},children:(0,wr.jsxs)(gt.Center,{padding:["1/3",0],children:[(0,wr.jsx)(X,{isRounded:!0,className:Jl("AddIcon"),children:(0,wr.jsx)(Ne,{icon:IO.faCloudArrowUp,className:Jl("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,wr.jsxs)(X,{children:[(0,wr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,wr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,wr.jsx)(Zt,T(v({flexSizing:"auto"},Ll(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:u,size:h,type:p}=l,[m,g]=(0,xf.useState)(!1),b=(0,Ol.UUID)(),S=h.rank(),[C,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,xf.useEffect)(()=>{m&&setTimeout(()=>{vt("#"+b).focus()},100)},[m]),(0,wr.jsxs)(At,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,wr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,wr.jsxs)(X,{flexSizing:0,children:[(0,wr.jsx)(X,{children:(0,wr.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Jl("FileName"),children:m?(0,wr.jsx)(wr.Fragment,{children:(0,wr.jsxs)(Zt,{flexSizing:0,gap:"1/2",children:[(0,wr.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,wr.jsx)(dn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:C,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,wr.jsxs)(X,{children:[". ",k]})]}),(0,wr.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,wr.jsx)(ct.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,wr.jsx)(ct,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let N=yield String(Q.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(v({},_e),{dataValue:O,eventType:"update",eventID:(0,Ol.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,wr.jsxs)(wr.Fragment,{children:[u,!!o.isNameEditable&&(0,wr.jsx)(ct.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,wr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,wr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,wr.jsx)(ct.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(v({},Y),{dataValue:M,eventType:"update",eventID:(0,Ol.UUID)()})))},children:(0,wr.jsx)(Ne.Times,{})})]}))}},A$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,re]=(0,xf.useState)(Ft.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,xf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:re};(0,xf.useEffect)(()=>{Ol.useStore.set({["AddFiles-"+_e.componentID]:le=>{re(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:xe}=ee;if(ne+1+B.length>p){as.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${xe}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){as.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${xe} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(v({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Ol.UUID)()})})}})},[]),Ft.CommonEffects({type:"file",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:D$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,wr.jsxs)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:[(0,wr.jsx)(X,T(v({htmlTag:"input",type:"file",className:Jl("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Da(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Ol.UUID)(),ne+1+_e.dataValue.length>p){as.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}re(ee=>T(v({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Ol.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,wr.jsx)(zO.List,v({},ge))]})},gw=r=>(r=T(v({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:v(v({},Vn({tone:r.tone||"border"})),r.cellStyles)}),(0,wr.jsx)(Ta,{componentID:r.componentID,children:A$,states:r}));gw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Ol.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),vt("."+Jl("AddButton")).addClass(Jl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),vt("."+Jl("AddButton")).removeClass(Jl("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(vt(o).hasClass(Jl("AddButton"))){let{componentId:l}=o.dataset,s=Ol.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var mo=K(Dt()),Os=K(rr()),_m=K(ur());function L$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var FO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},BO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";u.push((0,mo.jsx)(X,{className:ks("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,_m.useEffect)(()=>{let b=()=>{let S=vt("#Labels-"+a),{width:C}=S.position(),k=Math.round(C/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)vt("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Os.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Os.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,mo.jsx)(At,{className:ks("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,mo.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:u})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:u}=a;return(0,mo.jsxs)(At,{className:ks("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,mo.jsx)(X,{className:ks("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,mo.jsx)(X,{className:ks("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,mo.jsx)(X,{className:ks("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,mo.jsx)(ct.Plain,{className:ks("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ft.SubmitForm(h,s)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Os.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{rp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{rp.Effects.End()}})},Move:(r,a)=>{let o=Os.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:u,max:h}=l,p=vt("#"+f+"_Ball"),m=vt("#"+f+"_Bar"),g=vt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),C=(o-S)/b;C=Math.max(C,0),C=Math.min(C,1);let k=C*h,L=FO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(v({},O),{dataValue:Y,eventType:"update",eventID:(0,Os.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Os.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:u}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=s:b-=u:h.match(/Right|Down/)&&(g?b=f:b+=u),b=Math.max(Math.min(b,f),s),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Os.UUID)()})))}},N$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:C,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,N]=(0,_m.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Os.UUID)()}),[te,_e]=(0,_m.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"slider",states:r,val_status:Q,set_status:N,val_validate:te,set_validate:_e,SystemValidation:L$});let re=FO({value:Q.dataValue,val_status:Q});return(0,mo.jsx)(Fa,{val_status:Q,set_status:N,val_validate:te,states:r,children:(0,mo.jsxs)(Zt,{gap:"1/2",flexSizing:"auto",className:[ks("Wrap"),Y,ks("ShowLegendsAlways_"+h)].join(" "),children:[(0,mo.jsx)(BO.Rail,{rootStates:r,color:o,val_status:Q,set_status:N,DotData:re,form:s,enableFormSubmit:b}),!!f&&(0,mo.jsx)(BO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:u})]})})},jO=r=>{let a=v({},r);return(0,mo.jsx)(Ta,{componentID:r.componentID,children:N$,states:ko(a)})};var Ao=K(Dt()),bw=K(rr()),yw=K(ur());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,yw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,bw.UUID)()}),[Q,N]=(0,yw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Ft.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:N,SystemValidation:O$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Ao.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:u,onKeyDown:_e=>{g&&g(_e),h&&Ft.SubmitForm(_e,f)},onChange:_e=>{let{checked:re}=_e.target;Q.ok&&N({ok:!1,notice:[]}),F(be=>T(v({},be),{dataValue:re,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(_e)}},O)),(0,Ao.jsx)(mg.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:uf("Label"),children:(0,Ao.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(gt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Lg=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:M$,states:a})},gm=Lg;gm.S=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"small"})),gm.R=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"regular"})),gm.L=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"large"}));var HO=K(Dt());var UO=r=>(0,HO.jsx)(Eg,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var wc=K(Dt()),VO=K(rr()),Ng=K(ur());var P$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:C,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Ng.useState)((0,VO.UUID)()),[O,j]=(0,Ng.useState)(s),[F,Q]=(0,Ng.useState)(O);return O!=s&&(j(s),Q(s)),(0,wc.jsx)(_f,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:v({},C),cellClassName:[b,pg("Label"),pg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,pg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&Q(N[0])}}))},Og=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(v({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:v({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,wc.jsx)(P$,v({__sys_segmented_type:"plain"},r))},ns=Og;ns.Cloud=r=>{let a=T(v({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:v({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(Og,v({},a))},ns.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,wc.jsx)(ns.Cloud,v({},a))},ns.CloudMono=r=>{let a=T(v({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:v({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,wc.jsx)(ns.Cloud,v({},a))},ns.Border=r=>{let a=T(v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:v({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(Og,v({},a))},ns.BorderVivid=r=>{let a=T(v({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:v({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,wc.jsx)(ns.Border,v({},a))},ns.Bottomline=r=>{let a=T(v({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)});return(0,wc.jsx)(Og,v({},a))};var Mg=K(Dt()),WO=K(rr()),Sw=K(ur());function I$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var z$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,C=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,Sw.useState)(Ft.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,Sw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:I$}),(0,Mg.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Mg.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:O=>{p&&p(O),f&&Ft.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,WO.UUID)()})),h&&h(O)}},C))})},qO=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,Mg.jsx)(Ta,{componentID:r.componentID,children:z$,states:a})};var os=K(rr()),YO=r=>Da(void 0,null,function*(){let a=1,o={};return yield os.default.scope(()=>Da(void 0,null,function*(){if(os.useStore.get("form-process-"+r))return;os.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=os.useStore.get(["form-data",r].join("-"));if(!s){os.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s)){if(!u)continue;let h=os.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=os.useStore.get(["form-data",r].join("-"));if(!s){os.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}os.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var La;(r=>(r.Plain=F7,r.Hidden=W7,r.TextField=dn,r.Contenteditable=eO,r.DigitCharacters=rO,r.Time=Ns,r.Select=ts,r.Autocomplete=Ag,r.List=gO,r.Radio=_f,r.Checkbox=Eg,r.Checker=UO,r.Search=TO,r.Filer=gw,r.Slider=jO,r.Switch=gm,r.Segmented=ns,r.Color=qO,r.LeftIcon=$d,r.RightIcon=Ba,r.LeftIndicator=Sg,r.RightIndicator=wg,r.RequiredSign=gg,r.RequiredShortSign=bg,r.OmitSign=yg,r.CollectForm=YO))(La||(La={}));var GO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,$O.useEffect)(()=>{f&&f()},[]),(0,Pg.jsx)(At,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,Pg.jsx)(X,{margin:[0,"auto"],children:(0,Pg.jsx)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var gu=K(Dt());var Wr={Table:r=>(0,gu.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,gu.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,gu.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,gu.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,gu.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,gu.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,gu.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=K(Dt());var ww=K(Dt()),XO=K(rr());var KO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},il=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var ap=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(v({tableID:a.tableID||(0,XO.UUID)(),tone:a.tone},a),{cellStyles:v(v({},KO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=ko(l),{className:f,style:u}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,ww.jsx)(X,{className:p,style:u,children:(0,ww.jsx)(o,v({},h))})};var Cw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=il(b),C=l?l(b):{},k=T(v(v(v(v({},a),S),C),p),{freeCSS:v(v(v({},a.freeCSS),C.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Lo.jsx)(g,v({},k),m))}),(0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,C)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:C==0,right:C==u-1,rowIndex:g,colIndex:C,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(v(v(v(v({},a),M),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Kt("Cell"),o,S.className].join(" ")}),C))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Lo.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Lo.jsxs)(Wr.Body,{children:[(0,Lo.jsx)(Cw.HeadRow,v({},r)),(0,Lo.jsx)(Cw.BodyRows,v({},r))]})}))},QO=r=>(0,Lo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var Sa=K(Dt()),No=K(rr()),np=K(ur());var kw=K(nM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=il(b),C=l?l(b):{};h.push((0,Sa.jsx)(g,T(v(v(v(v({},a),S),m),C),{freeCSS:v(v(v({},a.freeCSS),C.freeCSS),m.freeCSS),className:[Kt("Cell"),o,m.className].join(" ")}),p))}return(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,No.UUID)()),[m,g]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,C)=>{let k=[];{let L={top:C==0&&!s,bottom:C==f.length-1,left:!0,right:!1,rowIndex:C,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,Sa.jsx)(Wr.TH,T(v(v(v({padding:0,borderRight:!0},a),M),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(ct.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{bm.Start(O,{id:p,index:C,rows:m.rows,maxLength:f.length})},children:(0,Sa.jsx)(Ne,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:C==f.length-1,left:!1,right:M==u-2,rowIndex:C,colIndex:M,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(v(v(v(v({},a),j),L),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Kt("Cell"),o,L.className].join(" ")}),M))}),b.push((0,Sa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+C,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},C))}),!isNaN(m.to)){let{origin:S,to:C}=m,k=[];k.push((0,Sa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(v(v(T(v({className:[Kt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(C,0,(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{No.useStore.set({[p]:{swap:(S,C)=>{if(C||C==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(C-(S<C?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>No.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:C,index:k}=S;g({rows:m.rows,origin:C,to:k})}}})}),(0,np.useEffect)(()=>()=>{No.useStore.delete(p)},[]),(0,Sa.jsx)(Sa.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Sa.jsx)(ct.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,Sa.jsxs)(Na.Body,{children:[(0,Sa.jsx)(Ne,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Sa.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=No.default.Stringify(a.rowID||o),a)),(0,Sa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Sa.jsxs)(Wr.Body,{children:[(0,Sa.jsx)(Tw.HeadRow,v({},r)),(0,Sa.jsx)(Tw.BodyRows,v({},r))]})}))},oM=r=>(0,Sa.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),bm={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;vt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,No.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{bm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{bm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{bm.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{bm.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=No.default.getCursor(r).y-No.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let u=vt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=No.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=No.useStore.get(o);f&&f.swap&&f.swap(l,s),vt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Wn=K(rr()),kf=K(ur());var pM=K(cS()),hM=K(fS()),mM=K(lS()),vM=K(dM());var Cc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=l,[p,m]=u.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},C=il(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),C),k),{freeCSS:T(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(v({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let C=b[S];if(!C)continue;let k=C.children||C.data,L=u.enabled&&u.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?hM.faArrowDown:pM.faArrowUp:mM.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var re;return(re=_e[S])==null?void 0:re.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),re=[];N.forEach(H=>{H&&re.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let be="BUTTON-"+l.componentID+"-"+S,ye=l.componentID+"-"+S,ge={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(Zt,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(La.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:re,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=v({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(gt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(ct.Border.S,{isRounded:!0,onClick:()=>{fr.close(ye)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(ct.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=v({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Kt("FilterRegion"),children:(0,Et.jsx)(ct.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:be,onClick:H=>{H.stopPropagation(),fr.open(ge)},children:(0,Et.jsx)(Ne,{icon:vM.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=il(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};C=T(v(v(v(v({},l.cellStyles),F),C),Q),{ssPushable:L,freeCSS:v(v(v({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),C.freeCSS),className:[Kt("Cell"),l.cellClassName,C.className].join(" ")}),delete C.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},C),{freeCSS:v({zIndex:2},C.freeCSS),onClick:N=>{if(L){let te=v({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var u;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=il(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.jsx)(Wr.TH,T(v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:v(v({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let C=a.rows,k=C.findIndex(L=>Wn.default.is.equal(L.rowID,s.rowID));k!=-1&&(C[k].checked=S,r.set_status(L=>T(v({},L),{rows:C})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:C="td"}=S,k=Ge(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},M=il(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(v(v(v(v({},a.cellStyles),M),k),Y),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Kt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=Wr[C=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,v({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(C=>(C.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let C=0;C<a.colLength;C++){let k=s.column[C],L=s.current[C];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[C].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:C,rowLength:k}=u;g=[...g].splice((C-1)*k,k)}let b=Cc.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(v({},a),{paging:T(v({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Wn.useStore.update({[b]:{getRowData:()=>{let C=[...h];return f.enabled&&(f.current[1]=="ASC"?C=C.toASC([f.current[0],"orderIndex"].join(".")):C=C.toDESC([f.current[0],"orderIndex"].join("."))),C.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;C.find(M=>Wn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;C.find(M=>Wn.default.is.equal(M.rowID,L)).filtered=!0}),C}}}),(0,kf.useEffect)(()=>{kl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Kt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(Cc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(Cc.Body,{val_status:a,set_status:o,PageRows:g})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((u,h)=>{let{data:p,children:m,orderIndex:g}=u;u.orderIndex=Wn.default.is.exist(g)?String(g):String(p),u.children=m||String(p),f.push(String(u.data))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(Cc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,kf.useState)((0,Wn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:u},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,kf.useState)(m);return(0,kf.useEffect)(()=>{b(S=>T(v({},S),{rows:m.rows}))},[Wn.default.Stringify(m.rows)]),(0,kf.useEffect)(()=>{b(S=>T(v({},S),{head:m.head}))},[Wn.default.Stringify(m.head)]),(0,Et.jsx)(Cc.Core,{val_status:g,set_status:b})}},B$={__memoryID:Cc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(Cc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Ig={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Wn.default.interval.once(()=>{l(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(yn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let u=0;u<o.paging.pageLength;u++)s.push({value:u+1,label:(u+1).toString()});let f=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=v({},o);p.paging.currentPageIndex=h,l(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(gt.Center,{children:[(0,Et.jsxs)(gt.Center,{gap:"1/2",children:[(0,Et.jsx)(La.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(gt.Right,{gap:"1/2",children:[(0,Et.jsx)(ct.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ne.ChevronLeft,{})}),(0,Et.jsx)(ct.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||u.push({value:s,label:s.toString()}),(0,Et.jsx)(gt.Center,{gap:"1/2",children:(0,Et.jsx)(La.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:u.toASC("value"),onUpdateValidValue:h=>{l(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},F$=r=>(0,Et.jsx)(ap,T(v({},r),{type:"data",JSXChildren:Cc.DataLeveler})),bu=F$;bu.__memoryID=Cc.__memoryID,bu.getRowData=B$.getRowData,bu.Info=Ig.Info,bu.Paging=Ig.Paging,bu.RowLength=Ig.RowLength,bu.SearchInput=Ig.SearchInput;var zg;(r=>(r.Normal=QO,r.Data=bu,r.Drag=oM,r.Parts=Wr))(zg||(zg={}));var Rw=K(Dt()),ym=K(rr());var gc={uid:(0,ym.UUID)(),open:(r,a,o=24,l=.35)=>{r&&ym.default.interval.once(()=>{Na.open({tipsID:gc.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(nr.Supplement,{children:a})})})},l*1e3,gc.uid)},abort:()=>{ym.default.interval.abort(gc.uid),Na.close(gc.uid)}};var pt=K(Dt()),oa=K(rr());var is=K(ur());var qM=K(CM()),YM=K(AM()),$M=K(zM()),GM=K(WM());var Ow=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:f}=l,u=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:u,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),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:f,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:u}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*u.x,b=p/m*u.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=oa.default.getCursor(l.touches[0]),{x:u,y:h}=oa.default.getCursor(l.touches[1]),p=u-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,C=Number(g.scale*S);this.set_scale(C)}}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 Da(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield oa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(l==90||l==270)&&(h=u.height,p=u.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(u,0,0,u.width,u.height);let m=f.getImageData(0,0,s.width,s.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let Q=g[b+S];g[b+S]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let C=s.toDataURL("image/jpeg");{let k=yield oa.default.ImageLoader(C),{width:L,height:M}=k,Y=L/M;this.Picture=T(v({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:f},pst:{frame:u}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,C=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-C,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,w:C,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,b,S,C,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),C=Math.max(g,b);s.arc(f.width/2,f.height/2,C,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/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(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.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 m=(0,oa.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(u.x,u.y,u.w,u.h)}}export(){return Da(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/u,m=(f.x-s.x+f.w)/u,g=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),C="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let Q=j.toDataURL(C),N=yield Q.toBlob(C);if(!N)return;if(N.size>=M){let _e=M/N.size;if(Q=j.toDataURL(C,_e*.92),N=yield Q.toBlob(C),!N)return}let te=new File([N],this.val_file.name,{type:C});S[k]=te}return S})}},KM={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=o,[h]=(0,is.useState)((0,oa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,is.useState)(p.scale.default),[b,S]=(0,is.useState)(p.rotate),[C,k]=(0,is.useState)(p.grayScale),[L,M]=(0,is.useState)(p.tone);return(0,is.useEffect)(()=>{let Y="CropperResize";return(0,oa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{oa.default.interval.once(()=>{var O;let j=vt("#Canvas-"+h)[0];if(!j)return;let F=(O=oa.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),N=Q.width/Q.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,oa.default)(window).removeEvent(Y)}},[]),(0,is.useEffect)(()=>{oa.useStore.set({[h]:{}}),Da(void 0,null,function*(){Ro.fn.corner.active(),yield oa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=vt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let N=new Ow({set_scale:g,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield oa.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});oa.useStore.set({[h]:{Instance:N}});let te=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)N.pinchEffect({eventType:"start",event:be}),(0,oa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),N.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:re});else{N.dragEffect(v({eventType:"start"},oa.default.getCursor(be)));let{type:ye}=be;(0,oa.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),re(ge)}})}},_e=function(be,ye){ye.preventDefault(),N.dragEffect(v({eventType:be},oa.default.getCursor(ye)))},re=function(be){be.preventDefault(),(0,oa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,oa.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),ge=N.scale.current+ye;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Ro.fn.corner.stop()},1e3)})},[a.id]),(0,is.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,is.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:C,tone:L,rotate:b})},[C,L,b]),(0,pt.jsx)(fr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,pt.jsxs)(Zt,{className:[uu("Wrap"),uu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,pt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,pt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:uu("Canvas"),id:"Canvas-"+h})}),(0,pt.jsxs)(gt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(KM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:C,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(gt.Right,{flexSizing:"none",children:[(0,pt.jsx)(ct.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(ct,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Ro.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Ro.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ro.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=l=>a[l]||"\u306A\u3057";return(0,pt.jsxs)(gt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(Zt,{gap:"1/3",children:[(0,pt.jsx)(nr.Supplement,{children:"Rotate"}),(0,pt.jsxs)(gt.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(ct.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ne,{icon:$M.faRotateLeft})]})}),(0,pt.jsx)(ct.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:[(0,pt.jsx)(Ne,{icon:GM.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(nr.Supplement,{children:"Zoom"}),(0,pt.jsxs)(ct.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(fr.Body,{children:(0,pt.jsxs)(Zt,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(nr.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(ct.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,u)=>{oa.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,pt.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(nr.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(ct.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(fr.Body,{children:(0,pt.jsxs)(Zt,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(nr.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:qM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(ct.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{oa.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,pt.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(nr.Supplement,{children:"Tone"}),(0,pt.jsx)(ct.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let u=1;u<=10;u++)f.push({value:u,label:(0,pt.jsxs)(gt.Left,{gap:"1/3",children:[(0,pt.jsx)(X,{ssSphere:1,className:[uu("ToneBall"),uu("ToneBall_"+u)].join(" ")}),(0,pt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,pt.jsx)(fr.Body,{children:(0,pt.jsxs)(Zt,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(nr.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:YM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(ct.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,pt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[uu("ToneBall"),uu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Mw={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});Mw.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";fr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(KM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{fr.close(a),r.onProcessFinished(o)},abortCallback:()=>{fr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=K(Dt());var XM=()=>{let{href:r}=location;return(0,Oo.jsx)(gt.Center,{padding:[4,1],children:(0,Oo.jsxs)(Zt,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Oo.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Oo.jsxs)(X,{children:[(0,Oo.jsx)(nr.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Oo.jsx)(nr.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,Oo.jsxs)(Zt,{children:[(0,Oo.jsxs)(nr,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Oo.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Bg=r=>{let[a,o]=(0,yu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,yu.useRef)(!1);(0,yu.useEffect)(()=>{l&&(s.current?(fr.closeAll(!0),Ds.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,yu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,yu.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Mn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Mn.open(r);return}Mn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Mn.pushSync(r);return}Mn.__push(r)},back:()=>{Mn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Mn.__push=r},setBackEffect:r=>{Mn.__back=r}};var QM=K(rr());var $h=[{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}],Yh=()=>{let r="#45515c",a=(0,QM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},JM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>dt.get().isSystemDarkmode()?"#333":"#FFF"},Iw={};$h.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Iw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Ya=K(rr());var Re={toConcreteBorderRadius:r=>{let a=dt.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=>Ya.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,u,h,p,m,g,b;let S=[],{gap:C,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:N,textDecoration:te,boxShadow:_e,margin:re,marginTop:be,marginRight:ye,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:xe,left:we,border:Ye,borderTop:$e,borderRight:Pe,borderBottom:et,borderLeft:ut,borderWidth:it,borderColor:Tt,borderStyle:wt,borderRadius:Ze,borderTopLeftRadius:Te,borderTopRightRadius:ht,borderBottomLeftRadius:Lt,borderBottomRightRadius:jt,flexSizing:Ut,flexWrap:tr,flexType:cr,flexChilds:Er,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:Cr,gridCenter:dr,gridCols:gr,maxHeight:pa,minHeight:xr,maxWidth:mr,minWidth:Mr,width:_a,height:Be,unitHeight:lt,unitWidth:bt,opacity:$t}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=Ya.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((u=String(Q))==null?void 0:u.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Rr,vr,Yr;Ya.default.is.exist(re)&&(Ya.default.is.array(re)?re.length==2?[Vt,Rr,vr,Yr]=[...re,...re]:re.length==4&&([Vt,Rr,vr,Yr]=re):Vt=Rr=vr=Yr=re,be=be!=null?be:Vt,ye=ye!=null?ye:Rr,ge=ge!=null?ge:vr,H=H!=null?H:Yr),Re.ev(be)&&S.push("mrgt"+be),Re.ev(ye)&&S.push("mrgr"+ye),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;Ya.default.is.exist(le)&&(Ya.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(xe)&&S.push("pstb"+xe),Re.ev(we)&&S.push("pstl"+we);{Ya.default.is.exist(Ye)&&($e=$e!=null?$e:Ye,Pe=Pe!=null?Pe:Ye,et=et!=null?et:Ye,ut=ut!=null?ut:Ye),Ya.default.is.boolean($e)&&($e=["unset","2.normal"][Number($e)]),Ya.default.is.boolean(Pe)&&(Pe=["unset","2.normal"][Number(Pe)]),Ya.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Ya.default.is.boolean(ut)&&(ut=["unset","2.normal"][Number(ut)]),Re.ev($e)&&S.push("b_t_ss"+((h=String($e))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Pe)&&S.push("b_r_ss"+((p=String(Pe))==null?void 0:p.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_b_ss"+((m=String(et))==null?void 0:m.replace(/\./g,"_"))),Re.ev(ut)&&S.push("b_l_ss"+((g=String(ut))==null?void 0:g.replace(/\./g,"_"))),Ya.default.is.exist(it)&&S.push("b_wth"+String(it)),Ya.default.is.exist(Tt)&&S.push("b_cl"+((b=String(Tt))==null?void 0:b.replace(/\./g,"_"))),Ya.default.is.exist(wt)&&S.push("b_st"+String(wt));{let G,ie,oe,Oe;Ya.default.is.exist(Ze)&&(Ya.default.is.array(Ze)?Ze.length==4&&([G,ie,Oe,oe]=Ze):G=ie=oe=Oe=Ze,Te=Te!=null?Te:G,ht=ht!=null?ht:ie,Lt=Lt!=null?Lt:oe,jt=jt!=null?jt:Oe)}Re.ev(Te)&&S.push("br_tl"+Re.toConcreteBorderRadius(Te)),Re.ev(ht)&&S.push("br_tr"+Re.toConcreteBorderRadius(ht)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(jt)&&S.push("br_br"+Re.toConcreteBorderRadius(jt))}if(Re.ev($t)&&S.push("op"+$t),Ya.default.is.exist(C)){let G,ie;Ya.default.is.array(C)?(G=C[0],ie=C[1]):G=ie=C,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ut)&&S.push("flsz"+Ut),Re.ev(tr)&&S.push("flwrp"+tr),Re.ev(cr)&&S.push("fltyp"+cr),Re.ev(Er)&&S.push("flchld"+Er),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(dr)&&S.push("grcnt"+dr),Re.ev(gr)&&S.push("grcol"+gr),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(_a)&&S.push("wdt"+_a),Re.ev(lt)&&S.push("unthgt"+lt),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(Cr)&&S.push("trnst"+Cr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(xr)&&S.push("minh"+xr),Re.ev(mr)&&S.push("maxw"+mr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},lm=r=>{let a=v({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:C,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),dt.get().darkMode=="dim"&&(j.boxShadow="1.normal"),dt.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=v(v({},j.freeCSS),Y),O=v(v({},j),O)}return s&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),u&&(O=v({transition:"middle"},O),O=T(v({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=v({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=v({overflow:"hidden"},O),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=v({width:1,flexSizing:"none"},O)),m&&(O=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),C&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&(Ya.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(v({},O),{freeCSS:Y})},ko=r=>{let a=lm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:C,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:it,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:ht,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:tr,maxWidth:cr,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr,ssLastChildLossBorder:gr,ssAbsoluteCovered:pa,ssCardBox:xr,ssEffectsOnActive:mr,ssPushable:Mr,ssSphere:_a,ssSquare:Be,ssTextEllipsis:lt,isBoldFont:bt,isLightFont:$t,isSemiBoldFont:Vt,isRounded:Rr,flexCenter:vr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),ie=v({},G),oe=[R];if(gr&&oe.push("ssLastChildLossBorder_"+gr),mr){mr=Ya.default.flatArray(mr);for(let Oe of mr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:C,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:it,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:ht,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:tr,maxWidth:cr,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=v(v({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Ll=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:C,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:N,top:te,right:_e,bottom:re,left:be,border:ye,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:xe,borderBottomLeftRadius:we,borderBottomRightRadius:Ye,flexSizing:$e,flexWrap:Pe,flexType:et,flexChilds:ut,flexGrid:it,horizontalAlign:Tt,verticalAlign:wt,transition:Ze,gridCenter:Te,gridCols:ht,maxHeight:Lt,minHeight:jt,maxWidth:Ut,minWidth:tr,width:cr,height:Er,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:Cr,ssAbsoluteCovered:dr,ssCardBox:gr,ssEffectsOnActive:pa,ssPushable:xr,ssSphere:mr,ssSquare:Mr,ssTextEllipsis:_a,isBoldFont:Be,isLightFont:lt,isSemiBoldFont:bt,isRounded:$t,flexCenter:Vt,flexNewLine:Rr,gradients:vr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(u)&&(P.fontSize=u),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(C)&&(P.margin=C),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(re)&&(P.bottom=re),Re.ev(be)&&(P.left=be),Re.ev(ye)&&(P.border=ye),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(xe)&&(P.borderTopRightRadius=xe),Re.ev(we)&&(P.borderBottomLeftRadius=we),Re.ev(Ye)&&(P.borderBottomRightRadius=Ye),Re.ev($e)&&(P.flexSizing=$e),Re.ev(Pe)&&(P.flexWrap=Pe),Re.ev(et)&&(P.flexType=et),Re.ev(ut)&&(P.flexChilds=ut),Re.ev(it)&&(P.flexGrid=it),Re.ev(Tt)&&(P.horizontalAlign=Tt),Re.ev(wt)&&(P.verticalAlign=wt),Re.ev(Ze)&&(P.transition=Ze),Re.ev(Te)&&(P.gridCenter=Te),Re.ev(ht)&&(P.gridCols=ht),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(jt)&&(P.minHeight=jt),Re.ev(Ut)&&(P.maxWidth=Ut),Re.ev(tr)&&(P.minWidth=tr),Re.ev(cr)&&(P.width=cr),Re.ev(Er)&&(P.height=Er),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(Cr)&&(P.ssLastChildLossBorder=Cr),Re.ev(dr)&&(P.ssAbsoluteCovered=dr),Re.ev(gr)&&(P.ssCardBox=gr),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(xr)&&(P.ssPushable=xr),Re.ev(mr)&&(P.ssSphere=mr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(_a)&&(P.ssTextEllipsis=_a),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(lt)&&(P.isLightFont=lt),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev($t)&&(P.isRounded=$t),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Rr)&&(P.flexNewLine=Rr),Re.ev(vr)&&(P.gradients=vr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var pl=K(Dt());var Fg=r=>{var a;let o=kl.catch("RootViewController_"+dt.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+dt.get().sessionUID,children:[(0,pl.jsx)(hc.Pudding.Wrapper,{}),(0,pl.jsx)(hc.Ripple.Wrapper,{}),(0,pl.jsx)(Ro.Wrapper,{}),(0,pl.jsx)(as.Wrapper,{}),(0,pl.jsx)(fr.Wrapper,{}),(0,pl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var jg=K(rr()),vt=r=>{let a=dt.get().appRoot;return jg.default.is.shadowRoot(a)?(0,jg.default)(a).find(r):(0,jg.default)(r)};var j$=K(Bw());Jr(Fr,K(Bw()));var H$=K(Fw());Jr(Fr,K(Fw()));var U$=v(v(v(v(v(v({},zw),XS),aw),j$),H$),Pw);var Pn=K(Dt()),V$=()=>(0,Pn.jsx)(X,{children:(0,Pn.jsx)(vg,{padding:4,children:(0,Pn.jsxs)(Zt,{children:[(0,Pn.jsx)(El,{children:"Hello World"}),(0,Pn.jsx)(El.Border,{children:"Hello World"}),(0,Pn.jsx)(El.Cloud,{children:"Hello World"}),(0,Pn.jsx)(El.Plain,{children:"Hello World"}),(0,Pn.jsx)(El.Shadow,{children:"Hello World"})]})})});jw.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),dt.launch({appRoot:r,roundness:4,themeColor:jw.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Ms.useLocation(),l=Ms.useNavigate();return(0,Hg.useEffect)(()=>{Mn.setPushEffect(s=>{if(s.match(/^#/)){console.log(s),console.log(window.location.pathname);return}l(s)}),Mn.setBackEffect(()=>{l(-1)})},[]),Bg({pathname:o.pathname}),(0,Pn.jsx)(Ms.Routes,{children:(0,Pn.jsx)(Ms.Route,{path:"*",element:(0,Pn.jsx)(V$,{})},"*")})};ZM.default.createRoot(r).render((0,Pn.jsx)(Hg.StrictMode,{children:(0,Pn.jsx)(Fg,{children:(0,Pn.jsx)(Ms.BrowserRouter,{children:(0,Pn.jsx)(a,{})})})}))});
|
|
981
981
|
/*! Bundled license information:
|
|
982
982
|
|
|
983
983
|
react/cjs/react.development.js:
|