amotify 0.2.112 → 0.2.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var bV=Object.create;var D_=Object.defineProperty;var yV=Object.getOwnPropertyDescriptor;var wV=Object.getOwnPropertyNames;var SV=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),Td=(r,a)=>{for(var o in a)D_(r,o,{get:a[o],enumerable:!0})},R_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of wV(a))!CV.call(r,s)&&s!==o&&D_(r,s,{get:()=>a[s],enumerable:!(l=yV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(R_(r,a,"default"),o&&R_(o,a,"default")),G=(r,a,o)=>(o=r!=null?bV(SV(r)):{},R_(a||!r||!r.__esModule?D_(o,"default",{value:r,enumerable:!0}):o,r)),kV=r=>R_(D_({},"__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 Y5=Ue((gr,A_)=>{"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"),C=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},P={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},O=null;function te(x){O=x}Q.setExtraStackFrame=function(x){O=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";O&&(x+=O);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var me=!1,ae=!1,Se=!1,we=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:P,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function ie(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Te=1;Te<U;Te++)he[Te-1]=arguments[Te];z("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Te=1;Te<U;Te++)he[Te-1]=arguments[Te];z("error",x,he)}}function z(x,U,he){{var Te=H.ReactDebugCurrentFrame,Xe=Te.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Nt=he.map(function(bt){return String(bt)});Nt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Nt)}}var q={};function ne(x,U){{var he=x.constructor,Te=he&&(he.displayName||he.name)||"ReactClass",Xe=Te+"."+U;if(q[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,Te),q[Xe]=!0}}var Z={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Te){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Te){ne(x,"setState")}},se=Object.assign,ye={};Object.freeze(ye);function be(x,U,he){this.props=x,this.context=U,this.refs=ye,this.updater=he||Z}be.prototype.isReactComponent={},be.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")},be.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Oe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},We=function(x,U){Object.defineProperty(be.prototype,x,{get:function(){ie("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var $e in Oe)Oe.hasOwnProperty($e)&&We($e,Oe[$e])}function ht(){}ht.prototype=be.prototype;function Mt(x,U,he){this.props=x,this.context=U,this.refs=ye,this.updater=he||Z}var lt=Mt.prototype=new ht;lt.constructor=Mt,se(lt,be.prototype),lt.isPureReactComponent=!0;function yt(){var x={current:null};return Object.seal(x),x}var ut=Array.isArray;function tt(x){return ut(x)}function Ce(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function St(x){try{return It(x),!1}catch(U){return!0}}function It(x){return""+x}function qt(x){if(St(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ce(x)),It(x)}function jt(x,U,he){var Te=x.displayName;if(Te)return Te;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 jt(x,x.render,"ForwardRef");case b:var Te=x.displayName||null;return Te!==null?Te:cr(x.type)||"Memo";case C:{var Xe=x,Nt=Xe._payload,bt=Xe._init;try{return cr(bt(Nt))}catch(Jt){return null}}}return null}var Sr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,ur;ur={};function Cr(x){if(Sr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function Nr(x){if(Sr.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 fr(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 Rr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=cr(F.current.type);ur[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),ur[U]=!0)}}var Or=function(x,U,he,Te,Xe,Nt,bt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:bt,_owner:Nt};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:Te}),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 Te,Xe={},Nt=null,bt=null,Jt=null,yr=null;if(U!=null){Cr(U)&&(bt=U.ref,Rr(U)),Nr(U)&&(qt(U.key),Nt=""+U.key),Jt=U.__self===void 0?null:U.__self,yr=U.__source===void 0?null:U.__source;for(Te in U)Sr.call(U,Te)&&!ra.hasOwnProperty(Te)&&(Xe[Te]=U[Te])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var ca=Array(Ur),ua=0;ua<Ur;ua++)ca[ua]=arguments[ua+2];Object.freeze&&Object.freeze(ca),Xe.children=ca}if(x&&x.defaultProps){var ma=x.defaultProps;for(Te in ma)Xe[Te]===void 0&&(Xe[Te]=ma[Te])}if(Nt||bt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Nt&&ha(Xe,Ea),bt&&fr(Xe,Ea)}return Or(x,Nt,bt,Jt,yr,F.current,Xe)}function ze(x,U){var he=Or(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function at(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Te,Xe=se({},x.props),Nt=x.key,bt=x.ref,Jt=x._self,yr=x._source,Ur=x._owner;if(U!=null){Cr(U)&&(bt=U.ref,Ur=F.current),Nr(U)&&(qt(U.key),Nt=""+U.key);var ca;x.type&&x.type.defaultProps&&(ca=x.type.defaultProps);for(Te in U)Sr.call(U,Te)&&!ra.hasOwnProperty(Te)&&(U[Te]===void 0&&ca!==void 0?Xe[Te]=ca[Te]:Xe[Te]=U[Te])}var ua=arguments.length-2;if(ua===1)Xe.children=he;else if(ua>1){for(var ma=Array(ua),Ea=0;Ea<ua;Ea++)ma[Ea]=arguments[Ea+2];Xe.children=ma}return Or(x.type,Nt,bt,Jt,yr,Ur,Xe)}function mt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Wt=".",Ht=":";function xr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Te=x.replace(U,function(Xe){return he[Xe]});return"$"+Te}var mr=!1,Yr=/\/+/g;function N(x){return x.replace(Yr,"$&/")}function ee(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(qt(x.key),xr(""+x.key)):U.toString(36)}function R(x,U,he,Te,Xe){var Nt=typeof x;(Nt==="undefined"||Nt==="boolean")&&(x=null);var bt=!1;if(x===null)bt=!0;else switch(Nt){case"string":case"number":bt=!0;break;case"object":switch(x.$$typeof){case a:case o:bt=!0}}if(bt){var Jt=x,yr=Xe(Jt),Ur=Te===""?Wt+ee(Jt,0):Te;if(tt(yr)){var ca="";Ur!=null&&(ca=N(Ur)+"/"),R(yr,U,ca,"",function(up){return up})}else yr!=null&&(mt(yr)&&(yr.key&&(!Jt||Jt.key!==yr.key)&&qt(yr.key),yr=ze(yr,he+(yr.key&&(!Jt||Jt.key!==yr.key)?N(""+yr.key)+"/":"")+Ur)),U.push(yr));return 1}var ua,ma,Ea=0,en=Te===""?Wt:Te+Ht;if(tt(x))for(var Nf=0;Nf<x.length;Nf++)ua=x[Nf],ma=en+ee(ua,Nf),Ea+=R(ua,U,he,ma,Xe);else{var tn=M(x);if(typeof tn=="function"){var Of=x;tn===Of.entries&&(mr||ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var Rm=tn.call(Of),cp,Vg=0;!(cp=Rm.next()).done;)ua=cp.value,ma=en+ee(ua,Vg++),Ea+=R(ua,U,he,ma,Xe)}else if(Nt==="object"){var Ms=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ms==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ms)+"). If you meant to render a collection of children, use an array instead.")}}return Ea}function B(x,U,he){if(x==null)return x;var Te=[],Xe=0;return R(x,Te,"","",function(Nt){return U.call(he,Nt,Xe++)}),Te}function $(x){var U=0;return B(x,function(){U++}),U}function de(x,U,he){B(x,function(){U.apply(this,arguments)},he)}function oe(x){return B(x,function(U){return U})||[]}function Pe(x){if(!mt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Me(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,Te=!1,Xe=!1;{var Nt={$$typeof:h,_context:U};Object.defineProperties(Nt,{Provider:{get:function(){return Te||(Te=!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(bt){U.Provider=bt}},_currentValue:{get:function(){return U._currentValue},set:function(bt){U._currentValue=bt}},_currentValue2:{get:function(){return U._currentValue2},set:function(bt){U._currentValue2=bt}},_threadCount:{get:function(){return U._threadCount},set:function(bt){U._threadCount=bt}},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(bt){Xe||(ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bt),Xe=!0)}}}),U.Consumer=Nt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Ie=-1,qe=0,Ae=1,Qe=2;function I(x){if(x._status===Ie){var U=x._result,he=U();if(he.then(function(Nt){if(x._status===qe||x._status===Ie){var bt=x;bt._status=Ae,bt._result=Nt}},function(Nt){if(x._status===qe||x._status===Ie){var bt=x;bt._status=Qe,bt._result=Nt}}),x._status===Ie){var Te=x;Te._status=qe,Te._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 bV=Object.create;var A_=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),Td=(r,a)=>{for(var o in a)A_(r,o,{get:a[o],enumerable:!0})},D_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of SV(a))!CV.call(r,s)&&s!==o&&A_(r,s,{get:()=>a[s],enumerable:!(l=yV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(D_(r,a,"default"),o&&D_(o,a,"default")),G=(r,a,o)=>(o=r!=null?bV(wV(r)):{},D_(a||!r||!r.__esModule?A_(o,"default",{value:r,enumerable:!0}):o,r)),kV=r=>D_(A_({},"__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((gr,L_)=>{"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"),C=Symbol.for("react.lazy"),S=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},P={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},O=null;function te(x){O=x}Q.setExtraStackFrame=function(x){O=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";O&&(x+=O);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var me=!1,ae=!1,we=!1,Se=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:P,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function ie(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Te=1;Te<U;Te++)he[Te-1]=arguments[Te];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Te=1;Te<U;Te++)he[Te-1]=arguments[Te];B("error",x,he)}}function B(x,U,he){{var Te=H.ReactDebugCurrentFrame,Xe=Te.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Nt=he.map(function(bt){return String(bt)});Nt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Nt)}}var q={};function ne(x,U){{var he=x.constructor,Te=he&&(he.displayName||he.name)||"ReactClass",Xe=Te+"."+U;if(q[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,Te),q[Xe]=!0}}var Z={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Te){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Te){ne(x,"setState")}},se=Object.assign,ye={};Object.freeze(ye);function be(x,U,he){this.props=x,this.context=U,this.refs=ye,this.updater=he||Z}be.prototype.isReactComponent={},be.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")},be.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Oe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},We=function(x,U){Object.defineProperty(be.prototype,x,{get:function(){ie("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var $e in Oe)Oe.hasOwnProperty($e)&&We($e,Oe[$e])}function ht(){}ht.prototype=be.prototype;function Mt(x,U,he){this.props=x,this.context=U,this.refs=ye,this.updater=he||Z}var lt=Mt.prototype=new ht;lt.constructor=Mt,se(lt,be.prototype),lt.isPureReactComponent=!0;function yt(){var x={current:null};return Object.seal(x),x}var ct=Array.isArray;function tt(x){return ct(x)}function Ce(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function wt(x){try{return It(x),!1}catch(U){return!0}}function It(x){return""+x}function qt(x){if(wt(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ce(x)),It(x)}function jt(x,U,he){var Te=x.displayName;if(Te)return Te;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function tr(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 tr(U)+".Consumer";case c:var he=x;return tr(he._context)+".Provider";case p:return jt(x,x.render,"ForwardRef");case b:var Te=x.displayName||null;return Te!==null?Te:ur(x.type)||"Memo";case C:{var Xe=x,Nt=Xe._payload,bt=Xe._init;try{return ur(bt(Nt))}catch(Jt){return null}}}return null}var wr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,cr;cr={};function Cr(x){if(wr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function Nr(x){if(wr.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 fr(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 Rr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=ur(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 Or=function(x,U,he,Te,Xe,Nt,bt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:bt,_owner:Nt};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:Te}),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 Te,Xe={},Nt=null,bt=null,Jt=null,yr=null;if(U!=null){Cr(U)&&(bt=U.ref,Rr(U)),Nr(U)&&(qt(U.key),Nt=""+U.key),Jt=U.__self===void 0?null:U.__self,yr=U.__source===void 0?null:U.__source;for(Te in U)wr.call(U,Te)&&!ra.hasOwnProperty(Te)&&(Xe[Te]=U[Te])}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(Te in ma)Xe[Te]===void 0&&(Xe[Te]=ma[Te])}if(Nt||bt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Nt&&ha(Xe,Ea),bt&&fr(Xe,Ea)}return Or(x,Nt,bt,Jt,yr,F.current,Xe)}function Be(x,U){var he=Or(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function at(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Te,Xe=se({},x.props),Nt=x.key,bt=x.ref,Jt=x._self,yr=x._source,Ur=x._owner;if(U!=null){Cr(U)&&(bt=U.ref,Ur=F.current),Nr(U)&&(qt(U.key),Nt=""+U.key);var ua;x.type&&x.type.defaultProps&&(ua=x.type.defaultProps);for(Te in U)wr.call(U,Te)&&!ra.hasOwnProperty(Te)&&(U[Te]===void 0&&ua!==void 0?Xe[Te]=ua[Te]:Xe[Te]=U[Te])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ma=Array(ca),Ea=0;Ea<ca;Ea++)ma[Ea]=arguments[Ea+2];Xe.children=ma}return Or(x.type,Nt,bt,Jt,yr,Ur,Xe)}function mt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Wt=".",Ht=":";function xr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Te=x.replace(U,function(Xe){return he[Xe]});return"$"+Te}var mr=!1,Yr=/\/+/g;function N(x){return x.replace(Yr,"$&/")}function ee(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(qt(x.key),xr(""+x.key)):U.toString(36)}function R(x,U,he,Te,Xe){var Nt=typeof x;(Nt==="undefined"||Nt==="boolean")&&(x=null);var bt=!1;if(x===null)bt=!0;else switch(Nt){case"string":case"number":bt=!0;break;case"object":switch(x.$$typeof){case a:case o:bt=!0}}if(bt){var Jt=x,yr=Xe(Jt),Ur=Te===""?Wt+ee(Jt,0):Te;if(tt(yr)){var ua="";Ur!=null&&(ua=N(Ur)+"/"),R(yr,U,ua,"",function(cp){return cp})}else yr!=null&&(mt(yr)&&(yr.key&&(!Jt||Jt.key!==yr.key)&&qt(yr.key),yr=Be(yr,he+(yr.key&&(!Jt||Jt.key!==yr.key)?N(""+yr.key)+"/":"")+Ur)),U.push(yr));return 1}var ca,ma,Ea=0,en=Te===""?Wt:Te+Ht;if(tt(x))for(var Nf=0;Nf<x.length;Nf++)ca=x[Nf],ma=en+ee(ca,Nf),Ea+=R(ca,U,he,ma,Xe);else{var tn=M(x);if(typeof tn=="function"){var Of=x;tn===Of.entries&&(mr||ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var Dm=tn.call(Of),up,Vg=0;!(up=Dm.next()).done;)ca=up.value,ma=en+ee(ca,Vg++),Ea+=R(ca,U,he,ma,Xe)}else if(Nt==="object"){var Ms=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ms==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ms)+"). 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 Te=[],Xe=0;return R(x,Te,"","",function(Nt){return U.call(he,Nt,Xe++)}),Te}function $(x){var U=0;return z(x,function(){U++}),U}function de(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(x){return z(x,function(U){return U})||[]}function Pe(x){if(!mt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Me(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,Te=!1,Xe=!1;{var Nt={$$typeof:h,_context:U};Object.defineProperties(Nt,{Provider:{get:function(){return Te||(Te=!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(bt){U.Provider=bt}},_currentValue:{get:function(){return U._currentValue},set:function(bt){U._currentValue=bt}},_currentValue2:{get:function(){return U._currentValue2},set:function(bt){U._currentValue2=bt}},_threadCount:{get:function(){return U._threadCount},set:function(bt){U._threadCount=bt}},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(bt){Xe||(ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bt),Xe=!0)}}}),U.Consumer=Nt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Ie=-1,qe=0,Ae=1,Qe=2;function I(x){if(x._status===Ie){var U=x._result,he=U();if(he.then(function(Nt){if(x._status===qe||x._status===Ie){var bt=x;bt._status=Ae,bt._result=Nt}},function(Nt){if(x._status===qe||x._status===Ie){var bt=x;bt._status=Qe,bt._result=Nt}}),x._status===Ie){var Te=x;Te._status=qe,Te._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,86 +6,86 @@ 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:Ie,_result:x},he={$$typeof:C,_payload:U,_init:I};{var Te,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Te},set:function(Nt){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."),Te=Nt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Nt){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=Nt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function re(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(Te){he=Te,!x.name&&!x.displayName&&(x.displayName=Te)}})}return U}var le;le=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||we||x===w||me||ae||Se||typeof x=="object"&&x!==null&&(x.$$typeof===C||x.$$typeof===b||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x.$$typeof===le||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 Te;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Te},set:function(Xe){Te=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:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Ie,_result:x},he={$$typeof:C,_payload:U,_init:I};{var Te,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Te},set:function(Nt){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."),Te=Nt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Nt){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=Nt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function re(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(Te){he=Te,!x.name&&!x.displayName&&(x.displayName=Te)}})}return U}var le;le=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||Se||x===S||me||ae||we||typeof x=="object"&&x!==null&&(x.$$typeof===C||x.$$typeof===b||x.$$typeof===c||x.$$typeof===h||x.$$typeof===p||x.$$typeof===le||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 Te;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Te},set:function(Xe){Te=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 W(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 Te=D();return Te.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ct(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 Ut(x,U,he){var Te=D();return Te.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 la(x){var U=D();return U.useDeferredValue(x)}function sa(){var x=D();return x.useId()}function Ga(x,U,he){var Te=D();return Te.useSyncExternalStore(x,U,he)}var At=0,qn,is,ls,Qt,aa,Za,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function bu(){{if(At===0){qn=console.log,is=console.info,ls=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})}At++}}function ap(){{if(At--,At===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},x,{value:qn}),info:se({},x,{value:is}),warn:se({},x,{value:ls}),error:se({},x,{value:Qt}),group:se({},x,{value:aa}),groupCollapsed:se({},x,{value:Za}),groupEnd:se({},x,{value:Gr})})}At<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var np=H.ReactCurrentDispatcher,yu;function Cc(x,U,he){{if(yu===void 0)try{throw Error()}catch(Xe){var Te=Xe.stack.trim().match(/\n( *(at )?)/);yu=Te&&Te[1]||""}return`
14
- `+yu+x}}var hl=!1,xc;{var xf=typeof WeakMap=="function"?WeakMap:Map;xc=new xf}function bm(x,U){if(!x||hl)return"";{var he=xc.get(x);if(he!==void 0)return he}var Te;hl=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Nt;Nt=np.current,np.current=null,bu();try{if(U){var bt=function(){throw Error()};if(Object.defineProperty(bt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(bt,[])}catch(en){Te=en}Reflect.construct(x,[],bt)}else{try{bt.call()}catch(en){Te=en}x.call(bt.prototype)}}else{try{throw Error()}catch(en){Te=en}x()}}catch(en){if(en&&Te&&typeof en.stack=="string"){for(var Jt=en.stack.split(`
13
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function W(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 Te=D();return Te.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ut(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 Ut(x,U,he){var Te=D();return Te.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 la(x){var U=D();return U.useDeferredValue(x)}function sa(){var x=D();return x.useId()}function Ga(x,U,he){var Te=D();return Te.useSyncExternalStore(x,U,he)}var At=0,Wn,is,ls,Qt,aa,Za,Gr;function qn(){}qn.__reactDisabledLog=!0;function bc(){{if(At===0){Wn=console.log,is=console.info,ls=console.warn,Qt=console.error,aa=console.group,Za=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:qn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}At++}}function ap(){{if(At--,At===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},x,{value:Wn}),info:se({},x,{value:is}),warn:se({},x,{value:ls}),error:se({},x,{value:Qt}),group:se({},x,{value:aa}),groupCollapsed:se({},x,{value:Za}),groupEnd:se({},x,{value:Gr})})}At<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var np=H.ReactCurrentDispatcher,yc;function Cu(x,U,he){{if(yc===void 0)try{throw Error()}catch(Xe){var Te=Xe.stack.trim().match(/\n( *(at )?)/);yc=Te&&Te[1]||""}return`
14
+ `+yc+x}}var hl=!1,xu;{var xf=typeof WeakMap=="function"?WeakMap:Map;xu=new xf}function ym(x,U){if(!x||hl)return"";{var he=xu.get(x);if(he!==void 0)return he}var Te;hl=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Nt;Nt=np.current,np.current=null,bc();try{if(U){var bt=function(){throw Error()};if(Object.defineProperty(bt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(bt,[])}catch(en){Te=en}Reflect.construct(x,[],bt)}else{try{bt.call()}catch(en){Te=en}x.call(bt.prototype)}}else{try{throw Error()}catch(en){Te=en}x()}}catch(en){if(en&&Te&&typeof en.stack=="string"){for(var Jt=en.stack.split(`
15
15
  `),yr=Te.stack.split(`
16
- `),Ur=Jt.length-1,ca=yr.length-1;Ur>=1&&ca>=0&&Jt[Ur]!==yr[ca];)ca--;for(;Ur>=1&&ca>=0;Ur--,ca--)if(Jt[Ur]!==yr[ca]){if(Ur!==1||ca!==1)do if(Ur--,ca--,ca<0||Jt[Ur]!==yr[ca]){var ua=`
17
- `+Jt[Ur].replace(" at new "," at ");return x.displayName&&ua.includes("<anonymous>")&&(ua=ua.replace("<anonymous>",x.displayName)),typeof x=="function"&&xc.set(x,ua),ua}while(Ur>=1&&ca>=0);break}}}finally{hl=!1,np.current=Nt,ap(),Error.prepareStackTrace=Xe}var ma=x?x.displayName||x.name:"",Ea=ma?Cc(ma):"";return typeof x=="function"&&xc.set(x,Ea),Ea}function op(x,U,he){return bm(x,!1)}function Fg(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function kc(x,U,he){if(x==null)return"";if(typeof x=="function")return bm(x,Fg(x));if(typeof x=="string")return Cc(x);switch(x){case m:return Cc("Suspense");case g:return Cc("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return op(x.render);case b:return kc(x.type,U,he);case C:{var Te=x,Xe=Te._payload,Nt=Te._init;try{return kc(Nt(Xe),U,he)}catch(bt){}}}return""}var ym={},kf=H.ReactDebugCurrentFrame;function Tf(x){if(x){var U=x._owner,he=kc(x.type,x._source,U?U.type:null);kf.setExtraStackFrame(he)}else kf.setExtraStackFrame(null)}function wm(x,U,he,Te,Xe){{var Nt=Function.call.bind(Sr);for(var bt in x)if(Nt(x,bt)){var Jt=void 0;try{if(typeof x[bt]!="function"){var yr=Error((Te||"React class")+": "+he+" type `"+bt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[bt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw yr.name="Invariant Violation",yr}Jt=x[bt](U,bt,Te,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Jt=Ur}Jt&&!(Jt instanceof Error)&&(Tf(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).",Te||"React class",he,bt,typeof Jt),Tf(null)),Jt instanceof Error&&!(Jt.message in ym)&&(ym[Jt.message]=!0,Tf(Xe),fe("Failed %s type: %s",he,Jt.message),Tf(null))}}}function Tc(x){if(x){var U=x._owner,he=kc(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Ef;Ef=!1;function Hr(){if(F.current){var x=cr(F.current.type);if(x)return`
16
+ `),Ur=Jt.length-1,ua=yr.length-1;Ur>=1&&ua>=0&&Jt[Ur]!==yr[ua];)ua--;for(;Ur>=1&&ua>=0;Ur--,ua--)if(Jt[Ur]!==yr[ua]){if(Ur!==1||ua!==1)do if(Ur--,ua--,ua<0||Jt[Ur]!==yr[ua]){var ca=`
17
+ `+Jt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&xu.set(x,ca),ca}while(Ur>=1&&ua>=0);break}}}finally{hl=!1,np.current=Nt,ap(),Error.prepareStackTrace=Xe}var ma=x?x.displayName||x.name:"",Ea=ma?Cu(ma):"";return typeof x=="function"&&xu.set(x,Ea),Ea}function op(x,U,he){return ym(x,!1)}function Fg(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function ku(x,U,he){if(x==null)return"";if(typeof x=="function")return ym(x,Fg(x));if(typeof x=="string")return Cu(x);switch(x){case m:return Cu("Suspense");case g:return Cu("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return op(x.render);case b:return ku(x.type,U,he);case C:{var Te=x,Xe=Te._payload,Nt=Te._init;try{return ku(Nt(Xe),U,he)}catch(bt){}}}return""}var Sm={},kf=H.ReactDebugCurrentFrame;function Tf(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);kf.setExtraStackFrame(he)}else kf.setExtraStackFrame(null)}function wm(x,U,he,Te,Xe){{var Nt=Function.call.bind(wr);for(var bt in x)if(Nt(x,bt)){var Jt=void 0;try{if(typeof x[bt]!="function"){var yr=Error((Te||"React class")+": "+he+" type `"+bt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[bt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw yr.name="Invariant Violation",yr}Jt=x[bt](U,bt,Te,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Jt=Ur}Jt&&!(Jt instanceof Error)&&(Tf(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).",Te||"React class",he,bt,typeof Jt),Tf(null)),Jt instanceof Error&&!(Jt.message in Sm)&&(Sm[Jt.message]=!0,Tf(Xe),fe("Failed %s type: %s",he,Jt.message),Tf(null))}}}function Tu(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Ef;Ef=!1;function Hr(){if(F.current){var x=ur(F.current.type);if(x)return`
18
18
 
19
19
  Check the render method of \``+x+"`."}return""}function jg(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 Sm(x){return x!=null?jg(x.__source):""}var er={};function Cm(x){var U=Hr();if(!U){var he=typeof x=="string"?x:x.displayName||x.name;he&&(U=`
21
+ Check your code at `+U+":"+he+"."}return""}function Cm(x){return x!=null?jg(x.__source):""}var er={};function xm(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 In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=Cm(U);if(!er[he]){er[he]=!0;var Te="";x&&x._owner&&x._owner!==F.current&&(Te=" It was passed a child from "+cr(x._owner.type)+"."),Tc(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,Te),Tc(null)}}}function Ec(x,U){if(typeof x=="object"){if(tt(x))for(var he=0;he<x.length;he++){var Te=x[he];mt(Te)&&In(Te,U)}else if(mt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Nt=Xe.call(x),bt;!(bt=Nt.next()).done;)mt(bt.value)&&In(bt.value,U)}}}function Rc(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 Te=cr(U);wm(he,x.props,"prop",Te,x)}else if(U.PropTypes!==void 0&&!Ef){Ef=!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 Hg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Te=U[he];if(Te!=="children"&&Te!=="key"){Tc(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),Tc(null);break}}x.ref!==null&&(Tc(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tc(null))}}function hn(x,U,he){var Te=Ve(x);if(!Te){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 Nt=Sm(U);Nt?Xe+=Nt:Xe+=Hr();var bt;x===null?bt="null":tt(x)?bt="array":x!==void 0&&x.$$typeof===a?(bt="<"+(cr(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):bt=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",bt,Xe)}var Jt=_a.apply(this,arguments);if(Jt==null)return Jt;if(Te)for(var yr=2;yr<arguments.length;yr++)Ec(arguments[yr],x);return x===l?Hg(Jt):Rc(Jt),Jt}var Sa=!1;function Ug(x){var U=hn.bind(null,x);return U.type=x,Sa||(Sa=!0,ie("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 ie("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 Te=at.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Ec(arguments[Xe],Te.type);return Rc(Te),Te}function mo(x,U){var he=P.transition;P.transition={};var Te=P.transition;P.transition._updatedFibers=new Set;try{x()}finally{if(P.transition=he,he===null&&Te._updatedFibers){var Xe=Te._updatedFibers.size;Xe>10&&ie("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."),Te._updatedFibers.clear()}}}var Nl=!1,Rf=null;function ip(x){if(Rf===null)try{var U=("require"+Math.random()).slice(0,7),he=A_&&A_[U];Rf=he.call(A_,"timers").setImmediate}catch(Te){Rf=function(Xe){Nl===!1&&(Nl=!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 Nt=new MessageChannel;Nt.port1.onmessage=Xe,Nt.port2.postMessage(void 0)}}return Rf(x)}var Ps=0,lp=!1;function xm(x){{var U=Ps;Ps++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Te;try{if(j.isBatchingLegacy=!0,Te=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Af(Xe))}}catch(ma){throw Df(U),ma}finally{j.isBatchingLegacy=he}if(Te!==null&&typeof Te=="object"&&typeof Te.then=="function"){var Nt=Te,bt=!1,Jt={then:function(ma,Ea){bt=!0,Nt.then(function(en){Df(U),Ps===0?sp(en,ma,Ea):ma(en)},function(en){Df(U),Ea(en)})}};return!lp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){bt||(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 yr=Te;if(Df(U),Ps===0){var Ur=j.current;Ur!==null&&(Af(Ur),j.current=null);var ca={then:function(ma,Ea){j.current===null?(j.current=[],sp(yr,ma,Ea)):ma(yr)}};return ca}else{var ua={then:function(ma,Ea){ma(yr)}};return ua}}}}function Df(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 sp(x,U,he){{var Te=j.current;if(Te!==null)try{Af(Te),ip(function(){Te.length===0?(j.current=null,U(x)):sp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Dc=!1;function Af(x){if(!Dc){Dc=!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(Te){throw x=x.slice(U+1),Te}finally{Dc=!1}}}var Lf=hn,km=ml,Tm=Ug,Em={map:B,forEach:de,count:$,toArray:oe,only:Pe};gr.Children=Em,gr.Component=be,gr.Fragment=l,gr.Profiler=f,gr.PureComponent=Mt,gr.StrictMode=s,gr.Suspense=m,gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,gr.act=xm,gr.cloneElement=km,gr.createContext=Me,gr.createElement=Lf,gr.createFactory=Tm,gr.createRef=yt,gr.forwardRef=re,gr.isValidElement=mt,gr.lazy=V,gr.memo=Fe,gr.startTransition=mo,gr.unstable_act=xm,gr.useCallback=Ct,gr.useContext=W,gr.useDebugValue=$r,gr.useDeferredValue=la,gr.useEffect=ct,gr.useId=sa,gr.useImperativeHandle=Ut,gr.useInsertionEffect=Je,gr.useLayoutEffect=Ke,gr.useMemo=kt,gr.useReducer=ke,gr.useRef=He,gr.useState=pe,gr.useSyncExternalStore=Ga,gr.useTransition=Ha,gr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var dr=Ue((Y$,$5)=>{"use strict";$5.exports=Y5()});var G5=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(ze,at){var mt=ze.length;ze.push(at),u(ze,at,mt)}function s(ze){return ze.length===0?null:ze[0]}function f(ze){if(ze.length===0)return null;var at=ze[0],mt=ze.pop();return mt!==at&&(ze[0]=mt,h(ze,mt,0)),at}function u(ze,at,mt){for(var Wt=mt;Wt>0;){var Ht=Wt-1>>>1,xr=ze[Ht];if(p(xr,at)>0)ze[Ht]=at,ze[Wt]=xr,Wt=Ht;else return}}function h(ze,at,mt){for(var Wt=mt,Ht=ze.length,xr=Ht>>>1;Wt<xr;){var mr=(Wt+1)*2-1,Yr=ze[mr],N=mr+1,ee=ze[N];if(p(Yr,at)<0)N<Ht&&p(ee,Yr)<0?(ze[Wt]=ee,ze[N]=at,Wt=N):(ze[Wt]=Yr,ze[mr]=at,Wt=mr);else if(N<Ht&&p(ee,at)<0)ze[Wt]=ee,ze[N]=at,Wt=N;else return}}function p(ze,at){var mt=ze.sortIndex-at.sortIndex;return mt!==0?mt:ze.id-at.id}var m=1,g=2,b=3,C=4,w=5;function k(ze,at){}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,P=Y.now();da.unstable_now=function(){return Y.now()-P}}var j=1073741823,F=-1,Q=250,O=5e3,te=1e4,me=j,ae=[],Se=[],we=1,ge=null,H=b,ie=!1,fe=!1,z=!1,q=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate!="undefined"?setImmediate:null,se=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function ye(ze){for(var at=s(Se);at!==null;){if(at.callback===null)f(Se);else if(at.startTime<=ze)f(Se),at.sortIndex=at.expirationTime,l(ae,at);else return;at=s(Se)}}function be(ze){if(z=!1,ye(ze),!fe)if(s(ae)!==null)fe=!0,ha(Oe);else{var at=s(Se);at!==null&&fr(be,at.startTime-ze)}}function Oe(ze,at){fe=!1,z&&(z=!1,Rr()),ie=!0;var mt=H;try{if(a)try{return We(ze,at)}catch(Ht){if(ge!==null){var Wt=da.unstable_now();ge.isQueued=!1}throw Ht}else return We(ze,at)}finally{ge=null,H=mt,ie=!1}}function We(ze,at){var mt=at;for(ye(mt),ge=s(ae);ge!==null&&!r&&!(ge.expirationTime>mt&&(!ze||Sr()));){var Wt=ge.callback;if(typeof Wt=="function"){ge.callback=null,H=ge.priorityLevel;var Ht=ge.expirationTime<=mt,xr=Wt(Ht);mt=da.unstable_now(),typeof xr=="function"?ge.callback=xr:ge===s(ae)&&f(ae),ye(mt)}else f(ae);ge=s(ae)}if(ge!==null)return!0;var mr=s(Se);return mr!==null&&fr(be,mr.startTime-mt),!1}function $e(ze,at){switch(ze){case m:case g:case b:case C:case w:break;default:ze=b}var mt=H;H=ze;try{return at()}finally{H=mt}}function ht(ze){var at;switch(H){case m:case g:case b:at=b;break;default:at=H;break}var mt=H;H=at;try{return ze()}finally{H=mt}}function Mt(ze){var at=H;return function(){var mt=H;H=at;try{return ze.apply(this,arguments)}finally{H=mt}}}function lt(ze,at,mt){var Wt=da.unstable_now(),Ht;if(typeof mt=="object"&&mt!==null){var xr=mt.delay;typeof xr=="number"&&xr>0?Ht=Wt+xr:Ht=Wt}else Ht=Wt;var mr;switch(ze){case m:mr=F;break;case g:mr=Q;break;case w:mr=me;break;case C:mr=te;break;case b:default:mr=O;break}var Yr=Ht+mr,N={id:we++,callback:at,priorityLevel:ze,startTime:Ht,expirationTime:Yr,sortIndex:-1};return Ht>Wt?(N.sortIndex=Ht,l(Se,N),s(ae)===null&&N===s(Se)&&(z?Rr():z=!0,fr(be,Ht-Wt))):(N.sortIndex=Yr,l(ae,N),!fe&&!ie&&(fe=!0,ha(Oe))),N}function yt(){}function ut(){!fe&&!ie&&(fe=!0,ha(Oe))}function tt(){return s(ae)}function Ce(ze){ze.callback=null}function St(){return H}var It=!1,qt=null,jt=-1,tr=o,cr=-1;function Sr(){var ze=da.unstable_now()-cr;return!(ze<tr)}function ra(){}function jr(ze){if(ze<0||ze>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ze>0?tr=Math.floor(1e3/ze):tr=o}var qr=function(){if(qt!==null){var ze=da.unstable_now();cr=ze;var at=!0,mt=!0;try{mt=qt(at,ze)}finally{mt?ur():(It=!1,qt=null)}}else It=!1},ur;if(typeof Z=="function")ur=function(){Z(qr)};else if(typeof MessageChannel!="undefined"){var Cr=new MessageChannel,Nr=Cr.port2;Cr.port1.onmessage=qr,ur=function(){Nr.postMessage(null)}}else ur=function(){q(qr,0)};function ha(ze){qt=ze,It||(It=!0,ur())}function fr(ze,at){jt=q(function(){ze(da.unstable_now())},at)}function Rr(){ne(jt),jt=-1}var Or=ra,_a=null;da.unstable_IdlePriority=w,da.unstable_ImmediatePriority=m,da.unstable_LowPriority=C,da.unstable_NormalPriority=b,da.unstable_Profiling=_a,da.unstable_UserBlockingPriority=g,da.unstable_cancelCallback=Ce,da.unstable_continueExecution=ut,da.unstable_forceFrameRate=jr,da.unstable_getCurrentPriorityLevel=St,da.unstable_getFirstCallbackNode=tt,da.unstable_next=ht,da.unstable_pauseExecution=yt,da.unstable_requestPaint=Or,da.unstable_runWithPriority=$e,da.unstable_scheduleCallback=lt,da.unstable_shouldYield=Sr,da.unstable_wrapCallback=Mt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var X5=Ue((G$,K5)=>{"use strict";K5.exports=G5()});var Q5=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=dr(),a=X5(),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(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,C=4,w=5,k=6,L=7,M=8,Y=9,P=10,j=11,F=12,Q=13,O=14,te=15,me=16,ae=17,Se=18,we=19,ge=21,H=22,ie=23,fe=24,z=25,q=!0,ne=!1,Z=!1,se=!1,ye=!1,be=!0,Oe=!1,We=!0,$e=!0,ht=!0,Mt=!0,lt=new Set,yt={},ut={};function tt(e,t){Ce(e,t),Ce(e+"Capture",t)}function Ce(e,t){yt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yt[e]=t;{var n=e.toLowerCase();ut[n]=e,e==="onDoubleClick"&&(ut.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var St=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",It=Object.prototype.hasOwnProperty;function qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function jt(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function cr(e,t){if(jt(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,qt(e)),tr(e)}function Sr(e){if(jt(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),tr(e)}function ra(e,t){if(jt(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,qt(e)),tr(e)}function jr(e,t){if(jt(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,qt(e)),tr(e)}function qr(e){if(jt(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.",qt(e)),tr(e)}function ur(e){if(jt(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.",qt(e)),tr(e)}var Cr=0,Nr=1,ha=2,fr=3,Rr=4,Or=5,_a=6,ze=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",at=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",mt=new RegExp("^["+ze+"]["+at+"]*$"),Wt={},Ht={};function xr(e){return It.call(Ht,e)?!0:It.call(Wt,e)?!1:mt.test(e)?(Ht[e]=!0,!0):(Wt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function mr(e,t,n){return t!==null?t.type===Cr: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===Cr)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 N(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 fr:return!t;case Rr:return t===!1;case Or:return isNaN(t);case _a:return isNaN(t)||t<1}return!1}function ee(e){return B.hasOwnProperty(e)?B[e]:null}function R(e,t,n,i,c,d,v){this.acceptsBooleans=t===ha||t===fr||t===Rr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var B={},$=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$.forEach(function(e){B[e]=new R(e,Cr,!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];B[t]=new R(t,Nr,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){B[e]=new R(e,ha,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){B[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){B[e]=new R(e,fr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){B[e]=new R(e,fr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){B[e]=new R(e,Rr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){B[e]=new R(e,_a,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){B[e]=new R(e,Or,!1,e.toLowerCase(),null,!1,!1)});var de=/[\-\:]([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(de,oe);B[t]=new R(t,Nr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(de,oe);B[t]=new R(t,Nr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(de,oe);B[t]=new R(t,Nr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){B[e]=new R(e,Nr,!1,e.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";B[Pe]=new R("xlinkHref",Nr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){B[e]=new R(e,Nr,!1,e.toLowerCase(),null,!0,!0)});var Me=/^[\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,Ie=!1;function qe(e){!Ie&&Me.test(e)&&(Ie=!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&&qe(""+n);var d=i.attributeName,v=null;if(i.type===Rr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:N(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if(N(t,n,i,!1))return e.getAttribute(d);if(i.type===fr)return n;v=e.getAttribute(d)}return N(t,n,i,!1)?v===null?n:v:v===""+n?n:v}}function Qe(e,t,n,i){{if(!xr(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=ee(t);if(!mr(t,c,i)){if(N(t,n,c,i)&&(n=null),i||c===null){if(xr(t)){var d=t;n===null?e.removeAttribute(d):(cr(n,t),e.setAttribute(d,""+n))}return}var v=c.mustUseProperty;if(v){var y=c.propertyName;if(n===null){var S=c.type;e[y]=S===fr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var J=c.type,X;J===fr||J===Rr&&n===!0?X="":(cr(n,E),X=""+n,c.sanitizeURL&&qe(X.toString())),A?e.setAttributeNS(A,E,X):e.setAttribute(E,X)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),W=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ct=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"),Ut=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 At=Object.assign,qn=0,is,ls,Qt,aa,Za,Gr,Yn;function bu(){}bu.__reactDisabledLog=!0;function ap(){{if(qn===0){is=console.log,ls=console.info,Qt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:bu,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function np(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},e,{value:is}),info:At({},e,{value:ls}),warn:At({},e,{value:Qt}),error:At({},e,{value:aa}),group:At({},e,{value:Za}),groupCollapsed:At({},e,{value:Gr}),groupEnd:At({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yu=o.ReactCurrentDispatcher,Cc;function hl(e,t,n){{if(Cc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);Cc=i&&i[1]||""}return`
24
- `+Cc+e}}var xc=!1,xf;{var bm=typeof WeakMap=="function"?WeakMap:Map;xf=new bm}function op(e,t){if(!e||xc)return"";{var n=xf.get(e);if(n!==void 0)return n}var i;xc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=yu.current,yu.current=null,ap();try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(_e){i=_e}Reflect.construct(e,[],v)}else{try{v.call()}catch(_e){i=_e}e.call(v.prototype)}}else{try{throw Error()}catch(_e){i=_e}e()}}catch(_e){if(_e&&i&&typeof _e.stack=="string"){for(var y=_e.stack.split(`
25
- `),S=i.stack.split(`
26
- `),E=y.length-1,A=S.length-1;E>=1&&A>=0&&y[E]!==S[A];)A--;for(;E>=1&&A>=0;E--,A--)if(y[E]!==S[A]){if(E!==1||A!==1)do if(E--,A--,A<0||y[E]!==S[A]){var J=`
27
- `+y[E].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),typeof e=="function"&&xf.set(e,J),J}while(E>=1&&A>=0);break}}}finally{xc=!1,yu.current=d,np(),Error.prepareStackTrace=c}var X=e?e.displayName||e.name:"",ve=X?hl(X):"";return typeof e=="function"&&xf.set(e,ve),ve}function Fg(e,t,n){return op(e,!0)}function kc(e,t,n){return op(e,!1)}function ym(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function kf(e,t,n){if(e==null)return"";if(typeof e=="function")return op(e,ym(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 kc(e.render);case ct:return kf(e.type,t,n);case Je:{var i=e,c=i._payload,d=i._init;try{return kf(d(c),t,n)}catch(v){}}}return""}function Tf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return hl(e.type);case me:return hl("Lazy");case Q:return hl("Suspense");case we:return hl("SuspenseList");case p:case g:case te:return kc(e.type);case j:return kc(e.type.render);case m:return Fg(e.type);default:return""}}function wm(e){try{var t="",n=e;do t+=Tf(n),n=n.return;while(n);return t}catch(i){return`
23
+ Check the top-level render call using <`+he+">.")}return U}function Mn(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=xm(U);if(!er[he]){er[he]=!0;var Te="";x&&x._owner&&x._owner!==F.current&&(Te=" 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,Te),Tu(null)}}}function Eu(x,U){if(typeof x=="object"){if(tt(x))for(var he=0;he<x.length;he++){var Te=x[he];mt(Te)&&Mn(Te,U)}else if(mt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Nt=Xe.call(x),bt;!(bt=Nt.next()).done;)mt(bt.value)&&Mn(bt.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 Te=ur(U);wm(he,x.props,"prop",Te,x)}else if(U.PropTypes!==void 0&&!Ef){Ef=!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 Hg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Te=U[he];if(Te!=="children"&&Te!=="key"){Tu(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),Tu(null);break}}x.ref!==null&&(Tu(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tu(null))}}function hn(x,U,he){var Te=Ve(x);if(!Te){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 Nt=Cm(U);Nt?Xe+=Nt:Xe+=Hr();var bt;x===null?bt="null":tt(x)?bt="array":x!==void 0&&x.$$typeof===a?(bt="<"+(ur(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):bt=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",bt,Xe)}var Jt=_a.apply(this,arguments);if(Jt==null)return Jt;if(Te)for(var yr=2;yr<arguments.length;yr++)Eu(arguments[yr],x);return x===l?Hg(Jt):Ru(Jt),Jt}var wa=!1;function Ug(x){var U=hn.bind(null,x);return U.type=x,wa||(wa=!0,ie("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 ie("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 Te=at.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Eu(arguments[Xe],Te.type);return Ru(Te),Te}function mo(x,U){var he=P.transition;P.transition={};var Te=P.transition;P.transition._updatedFibers=new Set;try{x()}finally{if(P.transition=he,he===null&&Te._updatedFibers){var Xe=Te._updatedFibers.size;Xe>10&&ie("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."),Te._updatedFibers.clear()}}}var Nl=!1,Rf=null;function ip(x){if(Rf===null)try{var U=("require"+Math.random()).slice(0,7),he=L_&&L_[U];Rf=he.call(L_,"timers").setImmediate}catch(Te){Rf=function(Xe){Nl===!1&&(Nl=!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 Nt=new MessageChannel;Nt.port1.onmessage=Xe,Nt.port2.postMessage(void 0)}}return Rf(x)}var Ps=0,lp=!1;function km(x){{var U=Ps;Ps++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Te;try{if(j.isBatchingLegacy=!0,Te=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Af(Xe))}}catch(ma){throw Df(U),ma}finally{j.isBatchingLegacy=he}if(Te!==null&&typeof Te=="object"&&typeof Te.then=="function"){var Nt=Te,bt=!1,Jt={then:function(ma,Ea){bt=!0,Nt.then(function(en){Df(U),Ps===0?sp(en,ma,Ea):ma(en)},function(en){Df(U),Ea(en)})}};return!lp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){bt||(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 yr=Te;if(Df(U),Ps===0){var Ur=j.current;Ur!==null&&(Af(Ur),j.current=null);var ua={then:function(ma,Ea){j.current===null?(j.current=[],sp(yr,ma,Ea)):ma(yr)}};return ua}else{var ca={then:function(ma,Ea){ma(yr)}};return ca}}}}function Df(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 sp(x,U,he){{var Te=j.current;if(Te!==null)try{Af(Te),ip(function(){Te.length===0?(j.current=null,U(x)):sp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Du=!1;function Af(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(Te){throw x=x.slice(U+1),Te}finally{Du=!1}}}var Lf=hn,Tm=ml,Em=Ug,Rm={map:z,forEach:de,count:$,toArray:oe,only:Pe};gr.Children=Rm,gr.Component=be,gr.Fragment=l,gr.Profiler=f,gr.PureComponent=Mt,gr.StrictMode=s,gr.Suspense=m,gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,gr.act=km,gr.cloneElement=Tm,gr.createContext=Me,gr.createElement=Lf,gr.createFactory=Em,gr.createRef=yt,gr.forwardRef=re,gr.isValidElement=mt,gr.lazy=V,gr.memo=Fe,gr.startTransition=mo,gr.unstable_act=km,gr.useCallback=Ct,gr.useContext=W,gr.useDebugValue=$r,gr.useDeferredValue=la,gr.useEffect=ut,gr.useId=sa,gr.useImperativeHandle=Ut,gr.useInsertionEffect=Je,gr.useLayoutEffect=Ke,gr.useMemo=kt,gr.useReducer=ke,gr.useRef=He,gr.useState=pe,gr.useSyncExternalStore=Ga,gr.useTransition=Ha,gr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var dr=Ue((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,at){var mt=Be.length;Be.push(at),c(Be,at,mt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var at=Be[0],mt=Be.pop();return mt!==at&&(Be[0]=mt,h(Be,mt,0)),at}function c(Be,at,mt){for(var Wt=mt;Wt>0;){var Ht=Wt-1>>>1,xr=Be[Ht];if(p(xr,at)>0)Be[Ht]=at,Be[Wt]=xr,Wt=Ht;else return}}function h(Be,at,mt){for(var Wt=mt,Ht=Be.length,xr=Ht>>>1;Wt<xr;){var mr=(Wt+1)*2-1,Yr=Be[mr],N=mr+1,ee=Be[N];if(p(Yr,at)<0)N<Ht&&p(ee,Yr)<0?(Be[Wt]=ee,Be[N]=at,Wt=N):(Be[Wt]=Yr,Be[mr]=at,Wt=mr);else if(N<Ht&&p(ee,at)<0)Be[Wt]=ee,Be[N]=at,Wt=N;else return}}function p(Be,at){var mt=Be.sortIndex-at.sortIndex;return mt!==0?mt:Be.id-at.id}var m=1,g=2,b=3,C=4,S=5;function k(Be,at){}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,P=Y.now();da.unstable_now=function(){return Y.now()-P}}var j=1073741823,F=-1,Q=250,O=5e3,te=1e4,me=j,ae=[],we=[],Se=1,ge=null,H=b,ie=!1,fe=!1,B=!1,q=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate!="undefined"?setImmediate:null,se=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function ye(Be){for(var at=s(we);at!==null;){if(at.callback===null)f(we);else if(at.startTime<=Be)f(we),at.sortIndex=at.expirationTime,l(ae,at);else return;at=s(we)}}function be(Be){if(B=!1,ye(Be),!fe)if(s(ae)!==null)fe=!0,ha(Oe);else{var at=s(we);at!==null&&fr(be,at.startTime-Be)}}function Oe(Be,at){fe=!1,B&&(B=!1,Rr()),ie=!0;var mt=H;try{if(a)try{return We(Be,at)}catch(Ht){if(ge!==null){var Wt=da.unstable_now();ge.isQueued=!1}throw Ht}else return We(Be,at)}finally{ge=null,H=mt,ie=!1}}function We(Be,at){var mt=at;for(ye(mt),ge=s(ae);ge!==null&&!r&&!(ge.expirationTime>mt&&(!Be||wr()));){var Wt=ge.callback;if(typeof Wt=="function"){ge.callback=null,H=ge.priorityLevel;var Ht=ge.expirationTime<=mt,xr=Wt(Ht);mt=da.unstable_now(),typeof xr=="function"?ge.callback=xr:ge===s(ae)&&f(ae),ye(mt)}else f(ae);ge=s(ae)}if(ge!==null)return!0;var mr=s(we);return mr!==null&&fr(be,mr.startTime-mt),!1}function $e(Be,at){switch(Be){case m:case g:case b:case C:case S:break;default:Be=b}var mt=H;H=Be;try{return at()}finally{H=mt}}function ht(Be){var at;switch(H){case m:case g:case b:at=b;break;default:at=H;break}var mt=H;H=at;try{return Be()}finally{H=mt}}function Mt(Be){var at=H;return function(){var mt=H;H=at;try{return Be.apply(this,arguments)}finally{H=mt}}}function lt(Be,at,mt){var Wt=da.unstable_now(),Ht;if(typeof mt=="object"&&mt!==null){var xr=mt.delay;typeof xr=="number"&&xr>0?Ht=Wt+xr:Ht=Wt}else Ht=Wt;var mr;switch(Be){case m:mr=F;break;case g:mr=Q;break;case S:mr=me;break;case C:mr=te;break;case b:default:mr=O;break}var Yr=Ht+mr,N={id:Se++,callback:at,priorityLevel:Be,startTime:Ht,expirationTime:Yr,sortIndex:-1};return Ht>Wt?(N.sortIndex=Ht,l(we,N),s(ae)===null&&N===s(we)&&(B?Rr():B=!0,fr(be,Ht-Wt))):(N.sortIndex=Yr,l(ae,N),!fe&&!ie&&(fe=!0,ha(Oe))),N}function yt(){}function ct(){!fe&&!ie&&(fe=!0,ha(Oe))}function tt(){return s(ae)}function Ce(Be){Be.callback=null}function wt(){return H}var It=!1,qt=null,jt=-1,tr=o,ur=-1;function wr(){var Be=da.unstable_now()-ur;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(qt!==null){var Be=da.unstable_now();ur=Be;var at=!0,mt=!0;try{mt=qt(at,Be)}finally{mt?cr():(It=!1,qt=null)}}else It=!1},cr;if(typeof Z=="function")cr=function(){Z(qr)};else if(typeof MessageChannel!="undefined"){var Cr=new MessageChannel,Nr=Cr.port2;Cr.port1.onmessage=qr,cr=function(){Nr.postMessage(null)}}else cr=function(){q(qr,0)};function ha(Be){qt=Be,It||(It=!0,cr())}function fr(Be,at){jt=q(function(){Be(da.unstable_now())},at)}function Rr(){ne(jt),jt=-1}var Or=ra,_a=null;da.unstable_IdlePriority=S,da.unstable_ImmediatePriority=m,da.unstable_LowPriority=C,da.unstable_NormalPriority=b,da.unstable_Profiling=_a,da.unstable_UserBlockingPriority=g,da.unstable_cancelCallback=Ce,da.unstable_continueExecution=ct,da.unstable_forceFrameRate=jr,da.unstable_getCurrentPriorityLevel=wt,da.unstable_getFirstCallbackNode=tt,da.unstable_next=ht,da.unstable_pauseExecution=yt,da.unstable_requestPaint=Or,da.unstable_runWithPriority=$e,da.unstable_scheduleCallback=lt,da.unstable_shouldYield=wr,da.unstable_wrapCallback=Mt,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=dr(),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,C=4,S=5,k=6,L=7,M=8,Y=9,P=10,j=11,F=12,Q=13,O=14,te=15,me=16,ae=17,we=18,Se=19,ge=21,H=22,ie=23,fe=24,B=25,q=!0,ne=!1,Z=!1,se=!1,ye=!1,be=!0,Oe=!1,We=!0,$e=!0,ht=!0,Mt=!0,lt=new Set,yt={},ct={};function tt(e,t){Ce(e,t),Ce(e+"Capture",t)}function Ce(e,t){yt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yt[e]=t;{var n=e.toLowerCase();ct[n]=e,e==="onDoubleClick"&&(ct.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var wt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",It=Object.prototype.hasOwnProperty;function qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function jt(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function ur(e,t){if(jt(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),tr(e)}function wr(e){if(jt(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),tr(e)}function ra(e,t){if(jt(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),tr(e)}function jr(e,t){if(jt(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),tr(e)}function qr(e){if(jt(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),tr(e)}function cr(e){if(jt(e))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",qt(e)),tr(e)}var Cr=0,Nr=1,ha=2,fr=3,Rr=4,Or=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",at=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",mt=new RegExp("^["+Be+"]["+at+"]*$"),Wt={},Ht={};function xr(e){return It.call(Ht,e)?!0:It.call(Wt,e)?!1:mt.test(e)?(Ht[e]=!0,!0):(Wt[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function mr(e,t,n){return t!==null?t.type===Cr: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===Cr)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 N(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 fr:return!t;case Rr:return t===!1;case Or:return isNaN(t);case _a:return isNaN(t)||t<1}return!1}function ee(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,u,d,v){this.acceptsBooleans=t===ha||t===fr||t===Rr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var z={},$=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$.forEach(function(e){z[e]=new R(e,Cr,!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,Nr,!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,fr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,fr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,Rr,!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,Or,!1,e.toLowerCase(),null,!1,!1)});var de=/[\-\:]([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(de,oe);z[t]=new R(t,Nr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(de,oe);z[t]=new R(t,Nr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(de,oe);z[t]=new R(t,Nr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,Nr,!1,e.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";z[Pe]=new R("xlinkHref",Nr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,Nr,!1,e.toLowerCase(),null,!0,!0)});var Me=/^[\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,Ie=!1;function qe(e){!Ie&&Me.test(e)&&(Ie=!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&&qe(""+n);var d=i.attributeName,v=null;if(i.type===Rr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:N(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if(N(t,n,i,!1))return e.getAttribute(d);if(i.type===fr)return n;v=e.getAttribute(d)}return N(t,n,i,!1)?v===null?n:v:v===""+n?n:v}}function Qe(e,t,n,i){{if(!xr(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=ee(t);if(!mr(t,u,i)){if(N(t,n,u,i)&&(n=null),i||u===null){if(xr(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 w=u.type;e[y]=w===fr?!1:""}else e[y]=n;return}var E=u.attributeName,A=u.attributeNamespace;if(n===null)e.removeAttribute(E);else{var J=u.type,X;J===fr||J===Rr&&n===!0?X="":(ur(n,E),X=""+n,u.sanitizeURL&&qe(X.toString())),A?e.setAttributeNS(A,E,X):e.setAttribute(E,X)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),W=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ut=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"),Ut=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 At=Object.assign,Wn=0,is,ls,Qt,aa,Za,Gr,qn;function bc(){}bc.__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:bc,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:At({},e,{value:is}),info:At({},e,{value:ls}),warn:At({},e,{value:Qt}),error:At({},e,{value:aa}),group:At({},e,{value:Za}),groupCollapsed:At({},e,{value:Gr}),groupEnd:At({},e,{value:qn})})}Wn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yc=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
+ `+Cu+e}}var xu=!1,xf;{var ym=typeof WeakMap=="function"?WeakMap:Map;xf=new ym}function op(e,t){if(!e||xu)return"";{var n=xf.get(e);if(n!==void 0)return n}var i;xu=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=yc.current,yc.current=null,ap();try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(_e){i=_e}Reflect.construct(e,[],v)}else{try{v.call()}catch(_e){i=_e}e.call(v.prototype)}}else{try{throw Error()}catch(_e){i=_e}e()}}catch(_e){if(_e&&i&&typeof _e.stack=="string"){for(var y=_e.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 J=`
27
+ `+y[E].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),typeof e=="function"&&xf.set(e,J),J}while(E>=1&&A>=0);break}}}finally{xu=!1,yc.current=d,np(),Error.prepareStackTrace=u}var X=e?e.displayName||e.name:"",ve=X?hl(X):"";return typeof e=="function"&&xf.set(e,ve),ve}function Fg(e,t,n){return op(e,!0)}function ku(e,t,n){return op(e,!1)}function Sm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function kf(e,t,n){if(e==null)return"";if(typeof e=="function")return op(e,Sm(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 ku(e.render);case ut:return kf(e.type,t,n);case Je:{var i=e,u=i._payload,d=i._init;try{return kf(d(u),t,n)}catch(v){}}}return""}function Tf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case S:return hl(e.type);case me:return hl("Lazy");case Q:return hl("Suspense");case Se:return hl("SuspenseList");case p:case g:case te:return ku(e.type);case j:return ku(e.type.render);case m:return Fg(e.type);default:return""}}function wm(e){try{var t="",n=e;do t+=Tf(n),n=n.return;while(n);return t}catch(i){return`
28
28
  Error generating stack: `+i.message+`
29
- `+i.stack}}function Tc(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Ef(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 le:return"Fragment";case re: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 W:var t=e;return Ef(t)+".Consumer";case D:var n=e;return Ef(n._context)+".Provider";case pe:return Tc(e,e.render,"ForwardRef");case ct:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Je:{var c=e,d=c._payload,v=c._init;try{return Hr(v(d))}catch(y){return null}}}return null}function jg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Sm(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 Sm(i)+".Consumer";case P:var c=n;return Sm(c._context)+".Provider";case Se:return"DehydratedFragment";case j:return jg(n,n.render,"ForwardRef");case L:return"Fragment";case w:return n;case C:return"Portal";case b:return"Root";case k:return"Text";case me: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 we:return"SuspenseList";case z:return"TracingMarker";case m:case p:case ae:case g:case O:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Cm=o.ReactDebugCurrentFrame,In=null,Ec=!1;function Rc(){{if(In===null)return null;var e=In._debugOwner;if(e!==null&&typeof e!="undefined")return er(e)}return null}function Hg(){return In===null?"":wm(In)}function hn(){Cm.getCurrentStack=null,In=null,Ec=!1}function Sa(e){Cm.getCurrentStack=e===null?null:Hg,In=e,Ec=!1}function Ug(){return In}function ml(e){Ec=e}function mo(e){return""+e}function Nl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ur(e),e;default:return""}}var Rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ip(e,t){Rf[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 lp(e){return e._valueTracker}function xm(e){e._valueTracker=null}function Df(e){var t="";return e&&(Ps(e)?t=e.checked?"true":"false":t=e.value),t}function sp(e){var t=Ps(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ur(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){ur(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var v={getValue:function(){return i},setValue:function(y){ur(y),i=""+y},stopTracking:function(){xm(e),delete e[t]}};return v}}function Dc(e){lp(e)||(e._valueTracker=sp(e))}function Af(e){if(!e)return!1;var t=lp(e);if(!t)return!0;var n=t.getValue(),i=Df(e);return i!==n?(t.setValue(i),!0):!1}function Lf(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 km=!1,Tm=!1,Em=!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=At({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Te(e,t){ip("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Tm&&(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",Rc()||"A component",t.type),Tm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!km&&(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",Rc()||"A component",t.type),km=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Nl(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 Nt(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&&!Em&&(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"),Em=!0)}Xe(e,t);var c=Nl(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=mo(c)):n.value!==mo(c)&&(n.value=mo(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,Nl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function bt(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 v=mo(i._wrapperState.initialValue);n||v!==i.value&&(i.value=v),i.defaultValue=v}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;Nt(n,t),yr(n,t)}function yr(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 v=c[d];if(!(v===e||v.form!==e.form)){var y=hv(v);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Af(v),Nt(v,y)}}}}function Ur(e,t,n){(t!=="number"||Lf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=mo(e._wrapperState.initialValue):e.defaultValue!==mo(n)&&(e.defaultValue=mo(n)))}var ca=!1,ua=!1,ma=!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"||ua||(ua=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ma||(ma=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ca&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ca=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",mo(Nl(t.value)))}var Nf=Array.isArray;function tn(e){return Nf(e)}var Of;Of=!1;function Rm(){var e=Rc();return e?`
29
+ `+i.stack}}function Tu(e,t,n){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Ef(e){return e.displayName||"Context"}function Hr(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case le:return"Fragment";case re: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 W:var t=e;return Ef(t)+".Consumer";case D:var n=e;return Ef(n._context)+".Provider";case pe:return Tu(e,e.render,"ForwardRef");case ut:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Je:{var u=e,d=u._payload,v=u._init;try{return Hr(v(d))}catch(y){return null}}}return null}function jg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Cm(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 Cm(i)+".Consumer";case P:var u=n;return Cm(u._context)+".Provider";case we:return"DehydratedFragment";case j:return jg(n,n.render,"ForwardRef");case L:return"Fragment";case S:return n;case C:return"Portal";case b:return"Root";case k:return"Text";case me: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 Se:return"SuspenseList";case B:return"TracingMarker";case m:case p:case ae:case g:case O:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var xm=o.ReactDebugCurrentFrame,Mn=null,Eu=!1;function Ru(){{if(Mn===null)return null;var e=Mn._debugOwner;if(e!==null&&typeof e!="undefined")return er(e)}return null}function Hg(){return Mn===null?"":wm(Mn)}function hn(){xm.getCurrentStack=null,Mn=null,Eu=!1}function wa(e){xm.getCurrentStack=e===null?null:Hg,Mn=e,Eu=!1}function Ug(){return Mn}function ml(e){Eu=e}function mo(e){return""+e}function Nl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return cr(e),e;default:return""}}var Rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ip(e,t){Rf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||c("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ps(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lp(e){return e._valueTracker}function km(e){e._valueTracker=null}function Df(e){var t="";return e&&(Ps(e)?t=e.checked?"true":"false":t=e.value),t}function sp(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 u=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){cr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var v={getValue:function(){return i},setValue:function(y){cr(y),i=""+y},stopTracking:function(){km(e),delete e[t]}};return v}}function Du(e){lp(e)||(e._valueTracker=sp(e))}function Af(e){if(!e)return!1;var t=lp(e);if(!t)return!0;var n=t.getValue(),i=Df(e);return i!==n?(t.setValue(i),!0):!1}function Lf(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 Tm=!1,Em=!1,Rm=!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,u=At({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return u}function Te(e,t){ip("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Em&&(c("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ru()||"A component",t.type),Em=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Tm&&(c("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ru()||"A component",t.type),Tm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Nl(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 Nt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(c("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),x=!0),n._wrapperState.controlled&&!i&&!Rm&&(c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Rm=!0)}Xe(e,t);var u=Nl(t.value),d=t.type;if(u!=null)d==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=mo(u)):n.value!==mo(u)&&(n.value=mo(u));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,u):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,Nl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function bt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,d=u==="submit"||u==="reset";if(d&&(t.value===void 0||t.value===null))return;var v=mo(i._wrapperState.initialValue);n||v!==i.value&&(i.value=v),i.defaultValue=v}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;Nt(n,t),yr(n,t)}function yr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;ur(n,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<u.length;d++){var v=u[d];if(!(v===e||v.form!==e.form)){var y=mv(v);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Af(v),Nt(v,y)}}}}function Ur(e,t,n){(t!=="number"||Lf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=mo(e._wrapperState.initialValue):e.defaultValue!==mo(n)&&(e.defaultValue=mo(n)))}var ua=!1,ca=!1,ma=!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,c("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ma||(ma=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ua&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ua=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",mo(Nl(t.value)))}var Nf=Array.isArray;function tn(e){return Nf(e)}var Of;Of=!1;function Dm(){var e=Ru();return e?`
30
30
 
31
- Check the render method of \``+e+"`.":""}var cp=["value","defaultValue"];function Vg(e){{ip("select",e);for(var t=0;t<cp.length;t++){var n=cp[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,Rm()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Rm())}}}}function Ms(e,t,n,i){var c=e.options;if(t){for(var d=n,v={},y=0;y<d.length;y++)v["$"+d[y]]=!0;for(var S=0;S<c.length;S++){var E=v.hasOwnProperty("$"+c[S].value);c[S].selected!==E&&(c[S].selected=E),E&&i&&(c[S].defaultSelected=!0)}}else{for(var A=mo(Nl(n)),J=null,X=0;X<c.length;X++){if(c[X].value===A){c[X].selected=!0,i&&(c[X].defaultSelected=!0);return}J===null&&!c[X].disabled&&(J=c[X])}J!==null&&(J.selected=!0)}}function up(e,t){return At({},t,{value:void 0})}function BS(e,t){var n=e;Vg(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Of&&(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"),Of=!0)}function QP(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ms(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ms(n,!!t.multiple,t.defaultValue,!0)}function JP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Ms(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ms(n,!!t.multiple,t.defaultValue,!0):Ms(n,!!t.multiple,t.multiple?[]:"",!1))}function ZP(e,t){var n=e,i=t.value;i!=null&&Ms(n,!!t.multiple,i,!1)}var zS=!1;function Wg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=At({},t,{value:void 0,defaultValue:void 0,children:mo(n._wrapperState.initialValue)});return i}function FS(e,t){var n=e;ip("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!zS&&(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",Rc()||"A component"),zS=!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:Nl(i)}}function jS(e,t){var n=e,i=Nl(t.value),c=Nl(t.defaultValue);if(i!=null){var d=mo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=mo(c))}function HS(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function eM(e,t){jS(e,t)}var Is="http://www.w3.org/1999/xhtml",tM="http://www.w3.org/1998/Math/MathML",qg="http://www.w3.org/2000/svg";function Yg(e){switch(e){case"svg":return qg;case"math":return tM;default:return Is}}function $g(e,t){return e==null||e===Is?Yg(t):e===qg&&t==="foreignObject"?Is:e}var rM=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Dm,US=rM(function(e,t){if(e.namespaceURI===qg&&!("innerHTML"in e)){Dm=Dm||document.createElement("div"),Dm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Dm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),vo=1,Bs=3,Ka=8,zs=9,Gg=11,Am=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Bs){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 Kg(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 VS=function(){};{var cM=/^(?:webkit|moz|o)[A-Z]/,uM=/^-ms-/,fM=/-(.)/g,WS=/;\s*$/,Pf={},Xg={},qS=!1,YS=!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,u("Unsupported style property %s. Did you mean %s?",e,dM(e.replace(uM,"ms-"))))},hM=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},mM=function(e,t){Xg.hasOwnProperty(t)&&Xg[t]||(Xg[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(WS,"")))},vM=function(e,t){qS||(qS=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},_M=function(e,t){YS||(YS=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};VS=function(e,t){e.indexOf("-")>-1?pM(e):cM.test(e)?hM(e):WS.test(t)&&mM(e,t),typeof t=="number"&&(isNaN(t)?vM(e,t):isFinite(t)||_M(e,t))}}var gM=VS;function bM(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:sM(i))+":",t+=Kg(i,c,d),n=";"}}return t||null}}function $S(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||gM(i,t[i]);var d=Kg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function yM(e){return e==null||typeof e=="boolean"||e===""}function GS(e){var t={};for(var n in e)for(var i=aM[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function wM(e,t){{if(!t)return;var n=GS(e),i=GS(t),c={};for(var d in n){var v=n[d],y=i[d];if(y&&v!==y){var S=v+","+y;if(c[S])continue;c[S]=!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.",yM(e[v])?"Removing":"Updating",v,y)}}}}var SM={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=At({menuitem:!0},SM),xM="__html";function Qg(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&&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 wu(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 Lm={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"},KS={"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},Mf={},kM=new RegExp("^(aria)-["+at+"]*$"),TM=new RegExp("^(aria)[A-Z]["+at+"]*$");function EM(e,t){{if(It.call(Mf,t)&&Mf[t])return!0;if(TM.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=KS.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Mf[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Mf[t]=!0,!0}if(kM.test(t)){var c=t.toLowerCase(),d=KS.hasOwnProperty(c)?c:null;if(d==null)return Mf[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),Mf[t]=!0,!0}}return!0}function RM(e,t){{var n=[];for(var i in t){var c=EM(e,i);c||n.push(i)}var d=n.map(function(v){return"`"+v+"`"}).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 DM(e,t){wu(e,t)||RM(e,t)}var XS=!1;function AM(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!XS&&(XS=!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 QS=function(){};{var $n={},JS=/^on./,LM=/^on[^A-Z]/,NM=new RegExp("^(aria)-["+at+"]*$"),OM=new RegExp("^(aria)[A-Z]["+at+"]*$");QS=function(e,t,n,i){if(It.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,v=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=v.hasOwnProperty(c)?v[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(JS.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(JS.test(t))return LM.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(NM.test(t)||OM.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 S=ee(t),E=S!==null&&S.type===Cr;if(Lm.hasOwnProperty(c)){var A=Lm[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,S,!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,S,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&S!==null&&S.type===fr&&(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 PM=function(e,t,n){{var i=[];for(var c in t){var d=QS(e,c,t[c],n);d||i.push(c)}var v=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 ",v,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 ",v,e)}};function MM(e,t,n){wu(e,t)||PM(e,t,n)}var ZS=1,Jg=2,dp=4,IM=ZS|Jg|dp,pp=null;function BM(e){pp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pp=e}function zM(){pp===null&&u("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 Zg(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Bs?t.parentNode:t}var eb=null,If=null,Bf=null;function eC(e){var t=Bc(e);if(t){if(typeof eb!="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=hv(n);eb(t.stateNode,t.type,i)}}}function jM(e){eb=e}function tC(e){If?Bf?Bf.push(e):Bf=[e]:If=e}function HM(){return If!==null||Bf!==null}function rC(){if(If){var e=If,t=Bf;if(If=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(){},tb=!1;function UM(){var e=HM();e&&(nC(),rC())}function oC(e,t,n){if(tb)return e(t,n);tb=!0;try{return aC(e,t,n)}finally{tb=!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=hv(n);if(i===null)return null;var c=i[t];if(qM(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 rb=!1;if(St)try{var mp={};Object.defineProperty(mp,"passive",{get:function(){rb=!0}}),window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){rb=!1}function iC(e,t,n,i,c,d,v,y,S){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 ab=document.createElement("react");lC=function(t,n,i,c,d,v,y,S,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"),J=!1,X=!0,ve=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function xe(){ab.removeEventListener(Ee,Et,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ve)}var et=Array.prototype.slice.call(arguments,3);function Et(){J=!0,xe(),n.apply(i,et),X=!1}var wt,pr=!1,hr=!1;function ce(ue){if(wt=ue.error,pr=!0,wt===null&&ue.colno===0&&ue.lineno===0&&(hr=!0),ue.defaultPrevented&&wt!=null&&typeof wt=="object")try{wt._suppressLogging=!0}catch(Ye){}}var Ee="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ce),ab.addEventListener(Ee,Et,!1),A.initEvent(Ee,!1,!1),ab.dispatchEvent(A),_e&&Object.defineProperty(window,"event",_e),J&&X&&(pr?hr&&(wt=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.")):wt=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(wt)),window.removeEventListener("error",ce),!J)return xe(),iC.apply(this,arguments)}}var YM=lC,zf=!1,Nm=null,Om=!1,nb=null,$M={onError:function(e){zf=!0,Nm=e}};function ob(e,t,n,i,c,d,v,y,S){zf=!1,Nm=null,YM.apply($M,arguments)}function GM(e,t,n,i,c,d,v,y,S){if(ob.apply(this,arguments),zf){var E=ib();Om||(Om=!0,nb=E)}}function KM(){if(Om){var e=nb;throw Om=!1,nb=null,e}}function XM(){return zf}function ib(){if(zf){var e=Nm;return zf=!1,Nm=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 Ff(e){return e._reactInternals}function QM(e){return e._reactInternals!==void 0}function JM(e,t){e._reactInternals=t}var Bt=0,jf=1,Xa=2,wr=4,Su=16,vp=32,lb=64,Pr=128,Fs=256,Ac=512,Cu=1024,Ol=2048,js=4096,xu=8192,Pm=16384,ZM=Ol|wr|lb|Ac|Cu|Pm,eI=32767,_p=32768,Gn=65536,sb=131072,sC=1048576,cb=2097152,ku=4194304,ub=8388608,Hs=16777216,Mm=33554432,fb=wr|Cu|0,db=Xa|wr|Su|vp|Ac|js|xu,gp=wr|lb|Ac|xu,Hf=Ol|Su,Us=ku|ub|cb,tI=o.ReactCurrentOwner;function Tu(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))!==Bt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function cC(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 uC(e){return e.tag===b?e.stateNode.containerInfo:null}function rI(e){return Tu(e)===e}function aI(e){{var t=tI.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=Ff(e);return c?Tu(c)===c:!1}function fC(e){if(Tu(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Tu(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 v=d.alternate;if(v===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===v.child){for(var S=d.child;S;){if(S===i)return fC(d),e;if(S===c)return fC(d),t;S=S.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=v;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,c=v;break}if(A===c){E=!0,c=d,i=v;break}A=A.sibling}if(!E){for(A=v.child;A;){if(A===i){E=!0,i=v,c=d;break}if(A===c){E=!0,c=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!==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 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 nI(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!==C){var n=mC(t);if(n!==null)return n}t=t.sibling}return null}var vC=a.unstable_scheduleCallback,oI=a.unstable_cancelCallback,iI=a.unstable_shouldYield,lI=a.unstable_requestPaint,mn=a.unstable_now,sI=a.unstable_getCurrentPriorityLevel,Im=a.unstable_ImmediatePriority,pb=a.unstable_UserBlockingPriority,Eu=a.unstable_NormalPriority,cI=a.unstable_LowPriority,hb=a.unstable_IdlePriority,uI=a.unstable_yieldValue,fI=a.unstable_setDisableYieldValue,Ru=null,Cn=null,nt=null,ss=!1,Pl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function dI(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{$e&&(e=At({},e,{getLaneLabelMap:gI,injectProfilingHooks:_I})),Ru=t.inject(e),Cn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pI(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Ru,e,t)}catch(n){ss||(ss=!0,u("React instrumentation encountered an error: %s",n))}}function hI(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(ht){var i;switch(t){case Io:i=Im;break;case Ws:i=pb;break;case qs:i=Eu;break;case Vm:i=hb;break;default:i=Eu;break}Cn.onCommitFiberRoot(Ru,e,i,n)}else Cn.onCommitFiberRoot(Ru,e,void 0,n)}catch(c){ss||(ss=!0,u("React instrumentation encountered an error: %s",c))}}function mI(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Ru,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function vI(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ru,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function vn(e){if(typeof uI=="function"&&(fI(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Ru,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function _I(e){nt=e}function gI(){{for(var e=new Map,t=1,n=0;n<vb;n++){var i=zI(t);e.set(t,i),t*=2}return e}}function bI(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 Uf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function yI(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function wI(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function SI(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function CI(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function xI(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function kI(){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 TI(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function EI(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function RI(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function DI(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function AI(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function LI(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function yC(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function NI(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function wC(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function OI(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function PI(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function mb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Lt=0,vr=1,Kr=2,Pa=8,cs=16,SC=Math.clz32?Math.clz32:BI,MI=Math.log,II=Math.LN2;function BI(e){var t=e>>>0;return t===0?32:31-(MI(t)/II|0)|0}var vb=31,Be=0,_n=0,Yt=1,Vf=2,Vs=4,Du=8,us=16,yp=32,Wf=4194240,wp=64,_b=128,gb=256,bb=512,yb=1024,wb=2048,Sb=4096,Cb=8192,xb=16384,kb=32768,Tb=65536,Eb=131072,Rb=262144,Db=524288,Ab=1048576,Lb=2097152,Bm=130023424,qf=4194304,Nb=8388608,Ob=16777216,Pb=33554432,Mb=67108864,CC=qf,Sp=134217728,xC=268435455,Cp=268435456,Au=536870912,Po=1073741824;function zI(e){{if(e&Yt)return"Sync";if(e&Vf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Du)return"DefaultHydration";if(e&us)return"Default";if(e&yp)return"TransitionHydration";if(e&Wf)return"Transition";if(e&Bm)return"Retry";if(e&Sp)return"SelectiveHydration";if(e&Cp)return"IdleHydration";if(e&Au)return"Idle";if(e&Po)return"Offscreen"}}var va=-1,zm=wp,Fm=qf;function xp(e){switch(Lu(e)){case Yt:return Yt;case Vf:return Vf;case Vs:return Vs;case Du:return Du;case us:return us;case yp:return yp;case wp:case _b:case gb:case bb:case yb:case wb:case Sb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:return e&Wf;case qf:case Nb:case Ob:case Pb:case Mb:return e&Bm;case Sp:return Sp;case Cp:return Cp;case Au:return Au;case Po:return Po;default:return u("Should have found matching lanes. This is a bug in React."),e}}function jm(e,t){var n=e.pendingLanes;if(n===Be)return Be;var i=Be,c=e.suspendedLanes,d=e.pingedLanes,v=n&xC;if(v!==Be){var y=v&~c;if(y!==Be)i=xp(y);else{var S=v&d;S!==Be&&(i=xp(S))}}else{var E=n&~c;E!==Be?i=xp(E):d!==Be&&(i=xp(d))}if(i===Be)return Be;if(t!==Be&&t!==i&&(t&c)===Be){var A=Lu(i),J=Lu(t);if(A>=J||A===us&&(J&Wf)!==Be)return t}(i&Vs)!==Be&&(i|=n&us);var X=e.entangledLanes;if(X!==Be)for(var ve=e.entanglements,_e=i&X;_e>0;){var xe=Nu(_e),et=1<<xe;i|=ve[xe],_e&=~et}return i}function FI(e,t){for(var n=e.eventTimes,i=va;t>0;){var c=Nu(t),d=1<<c,v=n[c];v>i&&(i=v),t&=~d}return i}function jI(e,t){switch(e){case Yt:case Vf:case Vs:return t+250;case Du:case us:case yp:case wp:case _b:case gb:case bb:case yb:case wb:case Sb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:return t+5e3;case qf:case Nb:case Ob:case Pb:case Mb:return va;case Sp:case Cp:case Au:case Po:return va;default:return u("Should have found matching lanes. This is a bug in React."),va}}function HI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,v=n;v>0;){var y=Nu(v),S=1<<y,E=d[y];E===va?((S&i)===Be||(S&c)!==Be)&&(d[y]=jI(S,t)):E<=t&&(e.expiredLanes|=S),v&=~S}}function UI(e){return xp(e.pendingLanes)}function Ib(e){var t=e.pendingLanes&~Po;return t!==Be?t:t&Po?Po:Be}function VI(e){return(e&Yt)!==Be}function Bb(e){return(e&xC)!==Be}function kC(e){return(e&Bm)===e}function WI(e){var t=Yt|Vs|us;return(e&t)===Be}function qI(e){return(e&Wf)===e}function Hm(e,t){var n=Vf|Vs|Du|us;return(t&n)!==Be}function YI(e,t){return(t&e.expiredLanes)!==Be}function TC(e){return(e&Wf)!==Be}function EC(){var e=zm;return zm<<=1,(zm&Wf)===Be&&(zm=wp),e}function $I(){var e=Fm;return Fm<<=1,(Fm&Bm)===Be&&(Fm=qf),e}function Lu(e){return e&-e}function kp(e){return Lu(e)}function Nu(e){return 31-SC(e)}function zb(e){return Nu(e)}function Mo(e,t){return(e&t)!==Be}function Yf(e,t){return(e&t)===t}function or(e,t){return e|t}function Um(e,t){return e&~t}function RC(e,t){return e&t}function H$(e){return e}function GI(e,t){return e!==_n&&e<t?e:t}function Fb(e){for(var t=[],n=0;n<vb;n++)t.push(e);return t}function Tp(e,t,n){e.pendingLanes|=t,t!==Au&&(e.suspendedLanes=Be,e.pingedLanes=Be);var i=e.eventTimes,c=zb(t);i[c]=n}function KI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Nu(i),d=1<<c;n[c]=va,i&=~d}}function DC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function XI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Be,e.pingedLanes=Be,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,v=n;v>0;){var y=Nu(v),S=1<<y;i[y]=Be,c[y]=va,d[y]=va,v&=~S}}function jb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Nu(c),v=1<<d;v&t|i[d]&t&&(i[d]|=t),c&=~v}}function QI(e,t){var n=Lu(t),i;switch(n){case Vs:i=Vf;break;case us:i=Du;break;case wp:case _b:case gb:case bb:case yb:case wb:case Sb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case qf:case Nb:case Ob:case Pb:case Mb:i=yp;break;case Au:i=Cp;break;default:i=_n;break}return(i&(e.suspendedLanes|t))!==_n?_n:i}function AC(e,t,n){if(Pl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=zb(n),d=1<<c,v=i[c];v.add(t),n&=~d}}function LC(e,t){if(Pl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=zb(t),d=1<<c,v=n[c];v.size>0&&(v.forEach(function(y){var S=y.alternate;(S===null||!i.has(S))&&i.add(y)}),v.clear()),t&=~d}}function NC(e,t){return null}var Io=Yt,Ws=Vs,qs=us,Vm=Au,Ep=_n;function Ml(){return Ep}function gn(e){Ep=e}function JI(e,t){var n=Ep;try{return Ep=e,t()}finally{Ep=n}}function ZI(e,t){return e!==0&&e<t?e:t}function e9(e,t){return e===0||e>t?e:t}function Hb(e,t){return e!==0&&e<t}function OC(e){var t=Lu(e);return Hb(Io,t)?Hb(Ws,t)?Bb(t)?qs:Vm:Ws:Io}function Wm(e){var t=e.current.memoizedState;return t.isDehydrated}var PC;function t9(e){PC=e}function r9(e){PC(e)}var Ub;function a9(e){Ub=e}var MC;function n9(e){MC=e}var IC;function o9(e){IC=e}var BC;function i9(e){BC=e}var Vb=!1,qm=[],Lc=null,Nc=null,Oc=null,Rp=new Map,Dp=new Map,Pc=[],l9=["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 s9(e){return l9.indexOf(e)>-1}function c9(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function zC(e,t){switch(e){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":Oc=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,c,d){if(e===null||e.nativeEvent!==d){var v=c9(t,n,i,c,d);if(t!==null){var y=Bc(t);y!==null&&Ub(y)}return v}e.eventSystemFlags|=i;var S=e.targetContainers;return c!==null&&S.indexOf(c)===-1&&S.push(c),e}function u9(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Lc=Ap(Lc,e,t,n,i,d),!0}case"dragenter":{var v=c;return Nc=Ap(Nc,e,t,n,i,v),!0}case"mouseover":{var y=c;return Oc=Ap(Oc,e,t,n,i,y),!0}case"pointerover":{var S=c,E=S.pointerId;return Rp.set(E,Ap(Rp.get(E)||null,e,t,n,i,S)),!0}case"gotpointercapture":{var A=c,J=A.pointerId;return Dp.set(J,Ap(Dp.get(J)||null,e,t,n,i,A)),!0}}return!1}function FC(e){var t=Mu(e.target);if(t!==null){var n=Tu(t);if(n!==null){var i=n.tag;if(i===Q){var c=cC(n);if(c!==null){e.blockedOn=c,BC(e.priority,function(){MC(n)});return}}else if(i===b){var d=n.stateNode;if(Wm(d)){e.blockedOn=uC(n);return}}}}e.blockedOn=null}function f9(e){for(var t=IC(),n={blockedOn:null,target:e,priority:t},i=0;i<Pc.length&&Hb(t,Pc[i].priority);i++);Pc.splice(i,0,n),i===0&&FC(n)}function Ym(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Yb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);BM(d),c.target.dispatchEvent(d),zM()}else{var v=Bc(i);return v!==null&&Ub(v),e.blockedOn=i,!1}t.shift()}return!0}function jC(e,t,n){Ym(e)&&n.delete(t)}function d9(){Vb=!1,Lc!==null&&Ym(Lc)&&(Lc=null),Nc!==null&&Ym(Nc)&&(Nc=null),Oc!==null&&Ym(Oc)&&(Oc=null),Rp.forEach(jC),Dp.forEach(jC)}function Lp(e,t){e.blockedOn===t&&(e.blockedOn=null,Vb||(Vb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,d9)))}function Np(e){if(qm.length>0){Lp(qm[0],e);for(var t=1;t<qm.length;t++){var n=qm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lc!==null&&Lp(Lc,e),Nc!==null&&Lp(Nc,e),Oc!==null&&Lp(Oc,e);var i=function(y){return Lp(y,e)};Rp.forEach(i),Dp.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 v=Pc[0];if(v.blockedOn!==null)break;FC(v),v.blockedOn===null&&Pc.shift()}}var $f=o.ReactCurrentBatchConfig,Wb=!0;function HC(e){Wb=!!e}function p9(){return Wb}function h9(e,t,n){var i=UC(t),c;switch(i){case Io:c=m9;break;case Ws:c=v9;break;case qs:default:c=qb;break}return c.bind(null,t,n,e)}function m9(e,t,n,i){var c=Ml(),d=$f.transition;$f.transition=null;try{gn(Io),qb(e,t,n,i)}finally{gn(c),$f.transition=d}}function v9(e,t,n,i){var c=Ml(),d=$f.transition;$f.transition=null;try{gn(Ws),qb(e,t,n,i)}finally{gn(c),$f.transition=d}}function qb(e,t,n,i){Wb&&_9(e,t,n,i)}function _9(e,t,n,i){var c=Yb(e,t,n,i);if(c===null){i1(e,t,i,$m,n),zC(e,i);return}if(u9(c,e,t,n,i)){i.stopPropagation();return}if(zC(e,i),t&dp&&s9(e)){for(;c!==null;){var d=Bc(c);d!==null&&r9(d);var v=Yb(e,t,n,i);if(v===null&&i1(e,t,i,$m,n),v===c)break;c=v}c!==null&&i.stopPropagation();return}i1(e,t,i,null,n)}var $m=null;function Yb(e,t,n,i){$m=null;var c=Zg(i),d=Mu(c);if(d!==null){var v=Tu(d);if(v===null)d=null;else{var y=v.tag;if(y===Q){var S=cC(v);if(S!==null)return S;d=null}else if(y===b){var E=v.stateNode;if(Wm(E))return uC(v);d=null}else v!==d&&(d=null)}}return $m=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=sI();switch(t){case Im:return Io;case pb:return Ws;case Eu:case cI:return qs;case hb:return Vm;default:return qs}}default:return qs}}function g9(e,t,n){return e.addEventListener(t,n,!1),n}function b9(e,t,n){return e.addEventListener(t,n,!0),n}function y9(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function w9(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Op=null,$b=null,Pp=null;function S9(e){return Op=e,$b=WC(),!0}function C9(){Op=null,$b=null,Pp=null}function VC(){if(Pp)return Pp;var e,t=$b,n=t.length,i,c=WC(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var v=n-e;for(i=1;i<=v&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return Pp=c.slice(e,y),Pp}function WC(){return"value"in Op?Op.value:Op.textContent}function Gm(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 Km(){return!0}function qC(){return!1}function Bo(e){function t(n,i,c,d,v){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var S=e[y];S?this[y]=S(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Km:this.isDefaultPrevented=qC,this.isPropagationStopped=qC,this}return At(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=Km)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Km)},persist:function(){},isPersistent:Km}),t}var Gf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gb=Bo(Gf),Mp=At({},Gf,{view:0,detail:0}),x9=Bo(Mp),Kb,Xb,Ip;function k9(e){e!==Ip&&(Ip&&e.type==="mousemove"?(Kb=e.screenX-Ip.screenX,Xb=e.screenY-Ip.screenY):(Kb=0,Xb=0),Ip=e)}var Xm=At({},Mp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jb,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:(k9(e),Kb)},movementY:function(e){return"movementY"in e?e.movementY:Xb}}),YC=Bo(Xm),T9=At({},Xm,{dataTransfer:0}),E9=Bo(T9),R9=At({},Mp,{relatedTarget:0}),Qb=Bo(R9),D9=At({},Gf,{animationName:0,elapsedTime:0,pseudoElement:0}),A9=Bo(D9),L9=At({},Gf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),N9=Bo(L9),O9=At({},Gf,{data:0}),$C=Bo(O9),P9=$C,M9={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I9={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 B9(e){if(e.key){var t=M9[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Gm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?I9[e.keyCode]||"Unidentified":""}var z9={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function F9(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=z9[e];return i?!!n[i]:!1}function Jb(e){return F9}var j9=At({},Mp,{key:B9,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jb,charCode:function(e){return e.type==="keypress"?Gm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),H9=Bo(j9),U9=At({},Xm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=Bo(U9),V9=At({},Mp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jb}),W9=Bo(V9),q9=At({},Gf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Y9=Bo(q9),$9=At({},Xm,{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}),G9=Bo($9),K9=[9,13,27,32],KC=229,Zb=St&&"CompositionEvent"in window,Bp=null;St&&"documentMode"in document&&(Bp=document.documentMode);var X9=St&&"TextEvent"in window&&!Bp,XC=St&&(!Zb||Bp&&Bp>8&&Bp<=11),QC=32,JC=String.fromCharCode(QC);function Q9(){tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),tt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),tt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ZC=!1;function J9(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Z9(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function eB(e,t){return e==="keydown"&&t.keyCode===KC}function e3(e,t){switch(e){case"keyup":return K9.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 Kf=!1;function tB(e,t,n,i,c){var d,v;if(Zb?d=Z9(t):Kf?e3(t,i)&&(d="onCompositionEnd"):eB(t,i)&&(d="onCompositionStart"),!d)return null;XC&&!r3(i)&&(!Kf&&d==="onCompositionStart"?Kf=S9(c):d==="onCompositionEnd"&&Kf&&(v=VC()));var y=tv(n,d);if(y.length>0){var S=new $C(d,t,null,i,c);if(e.push({event:S,listeners:y}),v)S.data=v;else{var E=t3(i);E!==null&&(S.data=E)}}}function rB(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 aB(e,t){if(Kf){if(e==="compositionend"||!Zb&&e3(e,t)){var n=VC();return C9(),Kf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!J9(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 nB(e,t,n,i,c){var d;if(X9?d=rB(t,i):d=aB(t,i),!d)return null;var v=tv(n,"onBeforeInput");if(v.length>0){var y=new P9("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:v}),y.data=d}}function oB(e,t,n,i,c,d,v){tB(e,t,n,i,c),nB(e,t,n,i,c)}var iB={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"?!!iB[e.type]:t==="textarea"}function lB(e){if(!St)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function sB(){tt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n3(e,t,n,i){tC(i);var c=tv(t,"onChange");if(c.length>0){var d=new Gb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var zp=null,Fp=null;function cB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function uB(e){var t=[];n3(t,Fp,e,Zg(e)),oC(fB,t)}function fB(e){S3(e,0)}function Qm(e){var t=td(e);if(Af(t))return e}function dB(e,t){if(e==="change")return t}var o3=!1;St&&(o3=lB("input")&&(!document.documentMode||document.documentMode>9));function pB(e,t){zp=e,Fp=t,zp.attachEvent("onpropertychange",l3)}function i3(){zp&&(zp.detachEvent("onpropertychange",l3),zp=null,Fp=null)}function l3(e){e.propertyName==="value"&&Qm(Fp)&&uB(e)}function hB(e,t,n){e==="focusin"?(i3(),pB(t,n)):e==="focusout"&&i3()}function mB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qm(Fp)}function vB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function _B(e,t){if(e==="click")return Qm(t)}function gB(e,t){if(e==="input"||e==="change")return Qm(t)}function bB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function yB(e,t,n,i,c,d,v){var y=n?td(n):window,S,E;if(cB(y)?S=dB:a3(y)?o3?S=gB:(S=mB,E=hB):vB(y)&&(S=_B),S){var A=S(t,n);if(A){n3(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&bB(y)}function wB(){Ce("onMouseEnter",["mouseout","mouseover"]),Ce("onMouseLeave",["mouseout","mouseover"]),Ce("onPointerEnter",["pointerout","pointerover"]),Ce("onPointerLeave",["pointerout","pointerover"])}function SB(e,t,n,i,c,d,v){var y=t==="mouseover"||t==="pointerover",S=t==="mouseout"||t==="pointerout";if(y&&!FM(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Mu(E)||eh(E)))return}if(!(!S&&!y)){var A;if(c.window===c)A=c;else{var J=c.ownerDocument;J?A=J.defaultView||J.parentWindow:A=window}var X,ve;if(S){var _e=i.relatedTarget||i.toElement;if(X=n,ve=_e?Mu(_e):null,ve!==null){var xe=Tu(ve);(ve!==xe||ve.tag!==w&&ve.tag!==k)&&(ve=null)}}else X=null,ve=n;if(X!==ve){var et=YC,Et="onMouseLeave",wt="onMouseEnter",pr="mouse";(t==="pointerout"||t==="pointerover")&&(et=GC,Et="onPointerLeave",wt="onPointerEnter",pr="pointer");var hr=X==null?A:td(X),ce=ve==null?A:td(ve),Ee=new et(Et,pr+"leave",X,i,c);Ee.target=hr,Ee.relatedTarget=ce;var ue=null,Ye=Mu(c);if(Ye===n){var st=new et(wt,pr+"enter",ve,i,c);st.target=ce,st.relatedTarget=hr,ue=st}YB(e,Ee,ue,X,ve)}}}function CB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zo=typeof Object.is=="function"?Object.is:CB;function jp(e,t){if(zo(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(!It.call(t,d)||!zo(e[d],t[d]))return!1}return!0}function s3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function c3(e,t){for(var n=s3(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=s3(xB(n))}}function kB(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,v=i.focusNode,y=i.focusOffset;try{c.nodeType,v.nodeType}catch(S){return null}return TB(e,c,d,v,y)}function TB(e,t,n,i,c){var d=0,v=-1,y=-1,S=0,E=0,A=e,J=null;e:for(;;){for(var X=null;A===t&&(n===0||A.nodeType===Bs)&&(v=d+n),A===i&&(c===0||A.nodeType===Bs)&&(y=d+c),A.nodeType===Bs&&(d+=A.nodeValue.length),(X=A.firstChild)!==null;)J=A,A=X;for(;;){if(A===e)break e;if(J===t&&++S===n&&(v=d),J===i&&++E===c&&(y=d),(X=A.nextSibling)!==null)break;A=J,J=A.parentNode}A=X}return v===-1||y===-1?null:{start:v,end:y}}function EB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,v=Math.min(t.start,d),y=t.end===void 0?v:Math.min(t.end,d);if(!c.extend&&v>y){var S=y;y=v,v=S}var E=c3(e,v),A=c3(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 J=n.createRange();J.setStart(E.node,E.offset),c.removeAllRanges(),v>y?(c.addRange(J),c.extend(A.node,A.offset)):(J.setEnd(A.node,A.offset),c.addRange(J))}}}function u3(e){return e&&e.nodeType===Bs}function f3(e,t){return!e||!t?!1:e===t?!0:u3(e)?!1:u3(t)?f3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function RB(e){return e&&e.ownerDocument&&f3(e.ownerDocument.documentElement,e)}function DB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function d3(){for(var e=window,t=Lf();t instanceof e.HTMLIFrameElement;){if(DB(t))e=t.contentWindow;else return t;t=Lf(e.document)}return t}function e1(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 AB(){var e=d3();return{focusedElem:e,selectionRange:e1(e)?NB(e):null}}function LB(e){var t=d3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&RB(n)){i!==null&&e1(n)&&OB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===vo&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var v=0;v<c.length;v++){var y=c[v];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function NB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=kB(e),t||{start:0,end:0}}function OB(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)):EB(e,t)}var PB=St&&"documentMode"in document&&document.documentMode<=11;function MB(){tt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Xf=null,t1=null,Hp=null,r1=!1;function IB(e){if("selectionStart"in e&&e1(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 BB(e){return e.window===e?e.document:e.nodeType===zs?e:e.ownerDocument}function p3(e,t,n){var i=BB(n);if(!(r1||Xf==null||Xf!==Lf(i))){var c=IB(Xf);if(!Hp||!jp(Hp,c)){Hp=c;var d=tv(t1,"onSelect");if(d.length>0){var v=new Gb("onSelect","select",null,t,n);e.push({event:v,listeners:d}),v.target=Xf}}}}function zB(e,t,n,i,c,d,v){var y=n?td(n):window;switch(t){case"focusin":(a3(y)||y.contentEditable==="true")&&(Xf=y,t1=n,Hp=null);break;case"focusout":Xf=null,t1=null,Hp=null;break;case"mousedown":r1=!0;break;case"contextmenu":case"mouseup":case"dragend":r1=!1,p3(e,i,c);break;case"selectionchange":if(PB)break;case"keydown":case"keyup":p3(e,i,c)}}function Jm(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Qf={animationend:Jm("Animation","AnimationEnd"),animationiteration:Jm("Animation","AnimationIteration"),animationstart:Jm("Animation","AnimationStart"),transitionend:Jm("Transition","TransitionEnd")},a1={},h3={};St&&(h3=document.createElement("div").style,"AnimationEvent"in window||(delete Qf.animationend.animation,delete Qf.animationiteration.animation,delete Qf.animationstart.animation),"TransitionEvent"in window||delete Qf.transitionend.transition);function Zm(e){if(a1[e])return a1[e];if(!Qf[e])return e;var t=Qf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in h3)return a1[e]=t[n];return e}var m3=Zm("animationend"),v3=Zm("animationiteration"),_3=Zm("animationstart"),g3=Zm("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 Mc(e,t){b3.set(e,t),tt(t,[e])}function FB(){for(var e=0;e<y3.length;e++){var t=y3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Mc(n,"on"+i)}Mc(m3,"onAnimationEnd"),Mc(v3,"onAnimationIteration"),Mc(_3,"onAnimationStart"),Mc("dblclick","onDoubleClick"),Mc("focusin","onFocus"),Mc("focusout","onBlur"),Mc(g3,"onTransitionEnd")}function jB(e,t,n,i,c,d,v){var y=b3.get(t);if(y!==void 0){var S=Gb,E=t;switch(t){case"keypress":if(Gm(i)===0)return;case"keydown":case"keyup":S=H9;break;case"focusin":E="focus",S=Qb;break;case"focusout":E="blur",S=Qb;break;case"beforeblur":case"afterblur":S=Qb;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=E9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=W9;break;case m3:case v3:case _3:S=A9;break;case g3:S=Y9;break;case"scroll":S=x9;break;case"wheel":S=G9;break;case"copy":case"cut":case"paste":S=N9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=GC;break}var A=(d&dp)!==0;{var J=!A&&t==="scroll",X=WB(n,y,i.type,A,J);if(X.length>0){var ve=new S(y,E,null,i,c);e.push({event:ve,listeners:X})}}}}FB(),wB(),sB(),MB(),Q9();function HB(e,t,n,i,c,d,v){jB(e,t,n,i,c,d);var y=(d&IM)===0;y&&(SB(e,t,n,i,c),yB(e,t,n,i,c),zB(e,t,n,i,c),oB(e,t,n,i,c))}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"],n1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function w3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,GM(i,t,void 0,e),e.currentTarget=null}function UB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],v=d.instance,y=d.currentTarget,S=d.listener;if(v!==i&&e.isPropagationStopped())return;w3(e,S,y),i=v}else for(var E=0;E<t.length;E++){var A=t[E],J=A.instance,X=A.currentTarget,ve=A.listener;if(J!==i&&e.isPropagationStopped())return;w3(e,ve,X),i=J}}function S3(e,t){for(var n=(t&dp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,v=c.listeners;UB(d,v,n)}KM()}function VB(e,t,n,i,c){var d=Zg(n),v=[];HB(v,e,i,n,d,t),S3(v,t)}function ga(e,t){n1.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=bF(t),c=$B(e,n);i.has(c)||(C3(t,e,Jg,n),i.add(c))}function o1(e,t,n){n1.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|=dp),C3(n,e,i,t)}var ev="_reactListening"+Math.random().toString(36).slice(2);function Vp(e){if(!e[ev]){e[ev]=!0,lt.forEach(function(n){n!=="selectionchange"&&(n1.has(n)||o1(n,!1,e),o1(n,!0,e))});var t=e.nodeType===zs?e:e.ownerDocument;t!==null&&(t[ev]||(t[ev]=!0,o1("selectionchange",!1,t)))}}function C3(e,t,n,i,c){var d=h9(e,t,n),v=void 0;rb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(v=!0),e=e;var y;i?v!==void 0?y=y9(e,t,d,v):y=b9(e,t,d):v!==void 0?y=w9(e,t,d,v):y=g9(e,t,d)}function x3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function i1(e,t,n,i,c){var d=i;if(!(t&ZS)&&!(t&Jg)){var v=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var S=y.tag;if(S===b||S===C){var E=y.stateNode.containerInfo;if(x3(E,v))break;if(S===C)for(var A=y.return;A!==null;){var J=A.tag;if(J===b||J===C){var X=A.stateNode.containerInfo;if(x3(X,v))return}A=A.return}for(;E!==null;){var ve=Mu(E);if(ve===null)return;var _e=ve.tag;if(_e===w||_e===k){y=d=ve;continue e}E=E.parentNode}}y=y.return}}}oC(function(){return VB(e,t,n,d)})}function Wp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function WB(e,t,n,i,c,d){for(var v=t!==null?t+"Capture":null,y=i?v:t,S=[],E=e,A=null;E!==null;){var J=E,X=J.stateNode,ve=J.tag;if(ve===w&&X!==null&&(A=X,y!==null)){var _e=hp(E,y);_e!=null&&S.push(Wp(E,_e,A))}if(c)break;E=E.return}return S}function tv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,v=d.stateNode,y=d.tag;if(y===w&&v!==null){var S=v,E=hp(c,n);E!=null&&i.unshift(Wp(c,E,S));var A=hp(c,t);A!=null&&i.push(Wp(c,A,S))}c=c.return}return i}function Jf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function qB(e,t){for(var n=e,i=t,c=0,d=n;d;d=Jf(d))c++;for(var v=0,y=i;y;y=Jf(y))v++;for(;c-v>0;)n=Jf(n),c--;for(;v-c>0;)i=Jf(i),v--;for(var S=c;S--;){if(n===i||i!==null&&n===i.alternate)return n;n=Jf(n),i=Jf(i)}return null}function k3(e,t,n,i,c){for(var d=t._reactName,v=[],y=n;y!==null&&y!==i;){var S=y,E=S.alternate,A=S.stateNode,J=S.tag;if(E!==null&&E===i)break;if(J===w&&A!==null){var X=A;if(c){var ve=hp(y,d);ve!=null&&v.unshift(Wp(y,ve,X))}else if(!c){var _e=hp(y,d);_e!=null&&v.push(Wp(y,_e,X))}}y=y.return}v.length!==0&&e.push({event:t,listeners:v})}function YB(e,t,n,i,c){var d=i&&c?qB(i,c):null;i!==null&&k3(e,t,i,d,!1),c!==null&&n!==null&&k3(e,n,c,d,!0)}function $B(e,t){return e+"__"+(t?"capture":"bubble")}var _o=!1,qp="dangerouslySetInnerHTML",rv="suppressContentEditableWarning",Ic="suppressHydrationWarning",T3="autoFocus",Ou="children",Pu="style",av="__html",l1,nv,Yp,E3,ov,R3,D3;l1={dialog:!0,webview:!0},nv=function(e,t){DM(e,t),AM(e,t),MM(e,t,{registrationNameDependencies:yt,possibleRegistrationNames:ut})},R3=St&&!document.documentMode,Yp=function(e,t,n){if(!_o){var i=iv(n),c=iv(t);c!==i&&(_o=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},E3=function(e){if(!_o){_o=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},ov=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)},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 GB=/\r\n?/g,KB=/\u0000|\uFFFD/g;function iv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(GB,`
32
- `).replace(KB,"")}function lv(e,t,n,i){var c=iv(t),d=iv(e);if(d!==c&&(i&&(_o||(_o=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&q))throw new Error("Text content does not match server-rendered HTML.")}function A3(e){return e.nodeType===zs?e:e.ownerDocument}function XB(){}function sv(e){e.onclick=XB}function QB(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var v=i[d];if(d===Pu)v&&Object.freeze(v),$S(t,v);else if(d===qp){var y=v?v[av]:void 0;y!=null&&US(t,y)}else if(d===Ou)if(typeof v=="string"){var S=e!=="textarea"||v!=="";S&&Am(t,v)}else typeof v=="number"&&Am(t,""+v);else d===rv||d===Ic||d===T3||(yt.hasOwnProperty(d)?v!=null&&(typeof v!="function"&&ov(d,v),d==="onScroll"&&ga("scroll",t)):v!=null&&I(t,d,v,c))}}function JB(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],v=t[c+1];d===Pu?$S(e,v):d===qp?US(e,v):d===Ou?Am(e,v):I(e,d,v,i)}}function ZB(e,t,n,i){var c,d=A3(n),v,y=i;if(y===Is&&(y=Yg(e)),y===Is){if(c=wu(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 S=d.createElement("div");S.innerHTML="<script></script>";var E=S.firstChild;v=S.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&&!c&&Object.prototype.toString.call(v)==="[object HTMLUnknownElement]"&&!It.call(l1,e)&&(l1[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)),v}function ez(e,t){return A3(t).createTextNode(e)}function tz(e,t,n,i){var c=wu(t,n);nv(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 v=0;v<Up.length;v++)ga(Up[v],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":Te(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":BS(e,n),d=up(e,n),ga("invalid",e);break;case"textarea":FS(e,n),d=Wg(e,n),ga("invalid",e);break;default:d=n}switch(Qg(t,d),QB(t,e,i,d,c),t){case"input":Dc(e),bt(e,n,!1);break;case"textarea":Dc(e),HS(e);break;case"option":en(e,n);break;case"select":QP(e,n);break;default:typeof d.onClick=="function"&&sv(e);break}}function rz(e,t,n,i,c){nv(t,i);var d=null,v,y;switch(t){case"input":v=he(e,n),y=he(e,i),d=[];break;case"select":v=up(e,n),y=up(e,i),d=[];break;case"textarea":v=Wg(e,n),y=Wg(e,i),d=[];break;default:v=n,y=i,typeof v.onClick!="function"&&typeof y.onClick=="function"&&sv(e);break}Qg(t,y);var S,E,A=null;for(S in v)if(!(y.hasOwnProperty(S)||!v.hasOwnProperty(S)||v[S]==null))if(S===Pu){var J=v[S];for(E in J)J.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else S===qp||S===Ou||S===rv||S===Ic||S===T3||(yt.hasOwnProperty(S)?d||(d=[]):(d=d||[]).push(S,null));for(S in y){var X=y[S],ve=v!=null?v[S]:void 0;if(!(!y.hasOwnProperty(S)||X===ve||X==null&&ve==null))if(S===Pu)if(X&&Object.freeze(X),ve){for(E in ve)ve.hasOwnProperty(E)&&(!X||!X.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in X)X.hasOwnProperty(E)&&ve[E]!==X[E]&&(A||(A={}),A[E]=X[E])}else A||(d||(d=[]),d.push(S,A)),A=X;else if(S===qp){var _e=X?X[av]:void 0,xe=ve?ve[av]:void 0;_e!=null&&xe!==_e&&(d=d||[]).push(S,_e)}else S===Ou?(typeof X=="string"||typeof X=="number")&&(d=d||[]).push(S,""+X):S===rv||S===Ic||(yt.hasOwnProperty(S)?(X!=null&&(typeof X!="function"&&ov(S,X),S==="onScroll"&&ga("scroll",e)),!d&&ve!==X&&(d=[])):(d=d||[]).push(S,X))}return A&&(wM(A,y[Pu]),(d=d||[]).push(Pu,A)),d}function az(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Xe(e,c);var d=wu(n,i),v=wu(n,c);switch(JB(e,t,d,v),n){case"input":Nt(e,c);break;case"textarea":jS(e,c);break;case"select":JP(e,c);break}}function nz(e){{var t=e.toLowerCase();return Lm.hasOwnProperty(t)&&Lm[t]||null}}function oz(e,t,n,i,c,d,v){var y,S;switch(y=wu(t,n),nv(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<Up.length;E++)ga(Up[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":Te(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":BS(e,n),ga("invalid",e);break;case"textarea":FS(e,n),ga("invalid",e);break}Qg(t,n);{S=new Set;for(var A=e.attributes,J=0;J<A.length;J++){var X=A[J].name.toLowerCase();switch(X){case"value":break;case"checked":break;case"selected":break;default:S.add(A[J].name)}}}var ve=null;for(var _e in n)if(n.hasOwnProperty(_e)){var xe=n[_e];if(_e===Ou)typeof xe=="string"?e.textContent!==xe&&(n[Ic]!==!0&&lv(e.textContent,xe,d,v),ve=[Ou,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Ic]!==!0&&lv(e.textContent,xe,d,v),ve=[Ou,""+xe]);else if(yt.hasOwnProperty(_e))xe!=null&&(typeof xe!="function"&&ov(_e,xe),_e==="onScroll"&&ga("scroll",e));else if(v&&typeof y=="boolean"){var et=void 0,Et=y&&Oe?null:ee(_e);if(n[Ic]!==!0){if(!(_e===rv||_e===Ic||_e==="value"||_e==="checked"||_e==="selected")){if(_e===qp){var wt=e.innerHTML,pr=xe?xe[av]:void 0;if(pr!=null){var hr=D3(e,pr);hr!==wt&&Yp(_e,wt,hr)}}else if(_e===Pu){if(S.delete(_e),R3){var ce=bM(xe);et=e.getAttribute("style"),ce!==et&&Yp(_e,et,ce)}}else if(y&&!Oe)S.delete(_e.toLowerCase()),et=Qe(e,_e,xe),xe!==et&&Yp(_e,et,xe);else if(!mr(_e,Et,y)&&!N(_e,xe,Et,y)){var Ee=!1;if(Et!==null)S.delete(Et.attributeName),et=Ae(e,_e,xe,Et);else{var ue=i;if(ue===Is&&(ue=Yg(t)),ue===Is)S.delete(_e.toLowerCase());else{var Ye=nz(_e);Ye!==null&&Ye!==_e&&(Ee=!0,S.delete(Ye)),S.delete(_e)}et=Qe(e,_e,xe)}var st=Oe;!st&&xe!==et&&!Ee&&Yp(_e,et,xe)}}}}}switch(v&&S.size>0&&n[Ic]!==!0&&E3(S),t){case"input":Dc(e),bt(e,n,!0);break;case"textarea":Dc(e),HS(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&sv(e);break}return ve}function iz(e,t,n){var i=e.nodeValue!==t;return i}function s1(e,t){{if(_o)return;_o=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function c1(e,t){{if(_o)return;_o=!0,u('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,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function f1(e,t){{if(t===""||_o)return;_o=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function lz(e,t,n){switch(t){case"input":Jt(e,n);return;case"textarea":eM(e,n);return;case"select":ZP(e,n);return}}var $p=function(){},Gp=function(){};{var sz=["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"],cz=L3.concat(["button"]),uz=["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=At({},e||N3),i={tag:t};return L3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),cz.indexOf(t)!==-1&&(n.pTagInButtonScope=null),sz.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 fz=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 uz.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},dz=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,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=fz(e,c)?null:i,v=d?null:dz(e,n),y=d||v;if(y){var S=y.tag,E=!!d+"|"+e+"|"+S;if(!O3[E]){O3[E]=!0;var A=e,J="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",J=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var X="";S==="table"&&e==="tr"&&(X+=" 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,S,J,X)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,S)}}}}var cv="suppressHydrationWarning",uv="$",fv="/$",Kp="$?",Xp="$!",pz="style",d1=null,p1=null;function hz(e){var t,n,i=e.nodeType;switch(i){case zs:case Gg:{t=i===zs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:$g(null,"");break}default:{var d=i===Ka?e.parentNode:e,v=d.namespaceURI||null;t=d.tagName,n=$g(v,t);break}}{var y=t.toLowerCase(),S=Gp(null,y);return{namespace:n,ancestorInfo:S}}}function mz(e,t,n){{var i=e,c=$g(i.namespace,t),d=Gp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function U$(e){return e}function vz(e){d1=p9(),p1=AB();var t=null;return HC(!1),t}function _z(e){LB(p1),HC(d1),d1=null,p1=null}function gz(e,t,n,i,c){var d;{var v=i;if($p(e,null,v.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,S=Gp(v.ancestorInfo,e);$p(null,y,S)}d=v.namespace}var E=ZB(e,t,n,d);return Zp(c,E),w1(E,t),E}function bz(e,t){e.appendChild(t)}function yz(e,t,n,i,c){switch(tz(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function wz(e,t,n,i,c,d){{var v=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,S=Gp(v.ancestorInfo,t);$p(null,y,S)}}return rz(e,t,n,i)}function h1(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 Sz(e,t,n,i){{var c=n;$p(null,e,c.ancestorInfo)}var d=ez(e,t);return Zp(i,d),d}function Cz(){var e=window.event;return e===void 0?qs:UC(e.type)}var m1=typeof setTimeout=="function"?setTimeout:void 0,xz=typeof clearTimeout=="function"?clearTimeout:void 0,v1=-1,P3=typeof Promise=="function"?Promise:void 0,kz=typeof queueMicrotask=="function"?queueMicrotask:typeof P3!="undefined"?function(e){return P3.resolve(null).then(e).catch(Tz)}:m1;function Tz(e){setTimeout(function(){throw e})}function Ez(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 Rz(e,t,n,i,c,d){az(e,t,n,i,c),w1(e,c)}function M3(e){Am(e,"")}function Dz(e,t,n){e.nodeValue=n}function Az(e,t){e.appendChild(t)}function Lz(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&&sv(n)}function Nz(e,t,n){e.insertBefore(t,n)}function Oz(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function Pz(e,t){e.removeChild(t)}function Mz(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function _1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ka){var d=c.data;if(d===fv)if(i===0){e.removeChild(c),Np(t);return}else i--;else(d===uv||d===Kp||d===Xp)&&i++}n=c}while(n);Np(t)}function Iz(e,t){e.nodeType===Ka?_1(e.parentNode,t):e.nodeType===vo&&_1(e,t),Np(e)}function Bz(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function zz(e){e.nodeValue=""}function Fz(e,t){e=e;var n=t[pz],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Kg("display",i)}function jz(e,t){e.nodeValue=t}function Hz(e){e.nodeType===vo?e.textContent="":e.nodeType===zs&&e.documentElement&&e.removeChild(e.documentElement)}function Uz(e,t,n){return e.nodeType!==vo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Vz(e,t){return t===""||e.nodeType!==Bs?null:e}function Wz(e){return e.nodeType!==Ka?null:e}function I3(e){return e.data===Kp}function g1(e){return e.data===Xp}function qz(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 Yz(e,t){e._reactRetry=t}function dv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===vo||t===Bs)break;if(t===Ka){var n=e.data;if(n===uv||n===Xp||n===Kp)break;if(n===fv)return null}}return e}function Qp(e){return dv(e.nextSibling)}function $z(e){return dv(e.firstChild)}function Gz(e){return dv(e.firstChild)}function Kz(e){return dv(e.nextSibling)}function Xz(e,t,n,i,c,d,v){Zp(d,e),w1(e,n);var y;{var S=c;y=S.namespace}var E=(d.mode&vr)!==Lt;return oz(e,t,n,y,i,E,v)}function Qz(e,t,n,i){Zp(n,e);var c=(n.mode&vr)!==Lt;return iz(e,t)}function Jz(e,t){Zp(t,e)}function Zz(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===fv){if(n===0)return Qp(t);n--}else(i===uv||i===Xp||i===Kp)&&n++}t=t.nextSibling}return null}function B3(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===fv&&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 c=!0;lv(t.nodeValue,n,i,c)}function nF(e,t,n,i,c,d){if(t[cv]!==!0){var v=!0;lv(i.nodeValue,c,d,v)}}function oF(e,t){t.nodeType===vo?s1(e,t):t.nodeType===Ka||c1(e,t)}function iF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===vo?s1(n,t):t.nodeType===Ka||c1(n,t))}}function lF(e,t,n,i,c){(c||t[cv]!==!0)&&(i.nodeType===vo?s1(n,i):i.nodeType===Ka||c1(n,i))}function sF(e,t,n){u1(e,t)}function cF(e,t){f1(e,t)}function uF(e,t,n){{var i=e.parentNode;i!==null&&u1(i,t)}}function fF(e,t){{var n=e.parentNode;n!==null&&f1(n,t)}}function dF(e,t,n,i,c,d){(d||t[cv]!==!0)&&u1(n,i)}function pF(e,t,n,i,c){(c||t[cv]!==!0)&&f1(n,i)}function hF(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function mF(e){Vp(e)}var Zf=Math.random().toString(36).slice(2),ed="__reactFiber$"+Zf,b1="__reactProps$"+Zf,Jp="__reactContainer$"+Zf,y1="__reactEvents$"+Zf,vF="__reactListeners$"+Zf,_F="__reactHandles$"+Zf;function gF(e){delete e[ed],delete e[b1],delete e[y1],delete e[vF],delete e[_F]}function Zp(e,t){t[ed]=e}function pv(e,t){t[Jp]=e}function z3(e){e[Jp]=null}function eh(e){return!!e[Jp]}function Mu(e){var t=e[ed];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jp]||n[ed],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=B3(e);c!==null;){var d=c[ed];if(d)return d;c=B3(c)}return t}e=n,n=e.parentNode}return null}function Bc(e){var t=e[ed]||e[Jp];return t&&(t.tag===w||t.tag===k||t.tag===Q||t.tag===b)?t:null}function td(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function hv(e){return e[b1]||null}function w1(e,t){e[b1]=t}function bF(e){var t=e[y1];return t===void 0&&(t=e[y1]=new Set),t}var F3={},j3=o.ReactDebugCurrentFrame;function mv(e){if(e){var t=e._owner,n=kf(e.type,e._source,t?t.type:null);j3.setExtraStackFrame(n)}else j3.setExtraStackFrame(null)}function Il(e,t,n,i,c){{var d=Function.call.bind(It);for(var v in e)if(d(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var S=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 S.name="Invariant Violation",S}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)&&(mv(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,v,typeof y),mv(null)),y instanceof Error&&!(y.message in F3)&&(F3[y.message]=!0,mv(c),u("Failed %s type: %s",n,y.message),mv(null))}}}var S1=[],vv;vv=[];var Ys=-1;function zc(e){return{current:e}}function Bn(e,t){if(Ys<0){u("Unexpected pop.");return}t!==vv[Ys]&&u("Unexpected Fiber popped."),e.current=S1[Ys],S1[Ys]=null,vv[Ys]=null,Ys--}function zn(e,t,n){Ys++,S1[Ys]=e.current,vv[Ys]=n,e.current=t}var C1;C1={};var Fo={};Object.freeze(Fo);var $s=zc(Fo),fs=zc(!1),x1=Fo;function rd(e,t,n){return n&&ds(t)?x1:$s.current}function H3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function ad(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 v in i)d[v]=t[v];{var y=er(e)||"Unknown";Il(i,d,"context",y)}return c&&H3(e,t,d),d}}function _v(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function gv(e){Bn(fs,e),Bn($s,e)}function k1(e){Bn(fs,e),Bn($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,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=er(e)||"Unknown";C1[d]||(C1[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 v=i.getChildContext();for(var y in v)if(!(y in c))throw new Error((er(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var S=er(e)||"Unknown";Il(c,v,"child context",S)}return At({},n,v)}}function bv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return x1=$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 c=V3(e,t,x1);i.__reactInternalMemoizedMergedChildContext=c,Bn(fs,e),Bn($s,e),zn($s,c,e),zn(fs,n,e)}else Bn(fs,e),zn(fs,n,e)}}function yF(e){{if(!rI(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 Fc=0,yv=1,Gs=null,T1=!1,E1=!1;function q3(e){Gs===null?Gs=[e]:Gs.push(e)}function wF(e){T1=!0,q3(e)}function Y3(){T1&&jc()}function jc(){if(!E1&&Gs!==null){E1=!0;var e=0,t=Ml();try{var n=!0,i=Gs;for(gn(Io);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Gs=null,T1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),vC(Im,jc),d}finally{gn(t),E1=!1}}return null}var nd=[],od=0,wv=null,Sv=0,vl=[],_l=0,Iu=null,Ks=1,Xs="";function SF(e){return zu(),(e.flags&sC)!==Bt}function CF(e){return zu(),Sv}function xF(){var e=Xs,t=Ks,n=t&~kF(t);return n.toString(32)+e}function Bu(e,t){zu(),nd[od++]=Sv,nd[od++]=wv,wv=e,Sv=t}function $3(e,t,n){zu(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Iu,Iu=e;var i=Ks,c=Xs,d=Cv(i)-1,v=i&~(1<<d),y=n+1,S=Cv(t)+d;if(S>30){var E=d-d%5,A=(1<<E)-1,J=(v&A).toString(32),X=v>>E,ve=d-E,_e=Cv(t)+ve,xe=y<<ve,et=xe|X,Et=J+c;Ks=1<<_e|et,Xs=Et}else{var wt=y<<d,pr=wt|v,hr=c;Ks=1<<S|pr,Xs=hr}}function R1(e){zu();var t=e.return;if(t!==null){var n=1,i=0;Bu(e,n),$3(e,n,i)}}function Cv(e){return 32-SC(e)}function kF(e){return 1<<Cv(e)-1}function D1(e){for(;e===wv;)wv=nd[--od],nd[od]=null,Sv=nd[--od],nd[od]=null;for(;e===Iu;)Iu=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function TF(){return zu(),Iu!==null?{id:Ks,overflow:Xs}:null}function EF(e,t){zu(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Iu,Ks=t.id,Xs=t.overflow,Iu=e}function zu(){kn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,Bl=!1,Fu=!1,Hc=null;function RF(){Bl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function G3(){Fu=!0}function DF(){return Fu}function AF(e){var t=e.stateNode.containerInfo;return gl=Gz(t),xn=e,Bl=!0,Hc=null,Fu=!1,!0}function LF(e,t,n){return gl=Kz(t),xn=e,Bl=!0,Hc=null,Fu=!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&vr)!==Lt;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|=Su):i.push(n)}function A1(e,t){{if(Fu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;sF(n,i);break;case k:var d=t.pendingProps;cF(n,d);break}break}case w:{var v=e.type,y=e.memoizedProps,S=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,J=(e.mode&vr)!==Lt;dF(v,y,S,E,A,J);break}case k:{var X=t.pendingProps,ve=(e.mode&vr)!==Lt;pF(v,y,S,X,ve);break}}break}case Q:{var _e=e.memoizedState,xe=_e.dehydrated;if(xe!==null)switch(t.tag){case w:var et=t.type,Et=t.pendingProps;uF(xe,et);break;case k:var wt=t.pendingProps;fF(xe,wt);break}break}default:return}}}function Q3(e,t){t.flags=t.flags&~js|Xa,A1(e,t)}function J3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=Uz(t,n);return c!==null?(e.stateNode=c,xn=e,gl=$z(c),!0):!1}case k:{var d=e.pendingProps,v=Vz(t,d);return v!==null?(e.stateNode=v,xn=e,gl=null,!0):!1}case Q:{var y=Wz(t);if(y!==null){var S={dehydrated:y,treeContext:TF(),retryLane:Po};e.memoizedState=S;var E=HU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function L1(e){return(e.mode&vr)!==Lt&&(e.flags&Pr)===Bt}function N1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function O1(e){if(Bl){var t=gl;if(!t){L1(e)&&(A1(xn,e),N1()),Q3(xn,e),Bl=!1,xn=e;return}var n=t;if(!J3(e,t)){L1(e)&&(A1(xn,e),N1()),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,c=!Fu,d=Xz(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function OF(e){var t=e.stateNode,n=e.memoizedProps,i=Qz(t,n,e);if(i){var c=xn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,v=(c.mode&vr)!==Lt;aF(d,t,n,v);break}case w:{var y=c.type,S=c.memoizedProps,E=c.stateNode,A=(c.mode&vr)!==Lt;nF(y,S,E,t,n,A);break}}}return i}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.");Jz(n,e)}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.");return Zz(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 xv(e){if(e!==xn)return!1;if(!Bl)return Z3(e),Bl=!0,!1;if(e.tag!==b&&(e.tag!==w||rF(e.type)&&!h1(e.type,e.memoizedProps))){var t=gl;if(t)if(L1(e))ex(e),N1();else for(;t;)X3(e,t),t=Qp(t)}return Z3(e),e.tag===Q?gl=MF(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 id(){xn=null,gl=null,Bl=!1,Fu=!1}function tx(){Hc!==null&&(K4(Hc),Hc=null)}function kn(){return Bl}function P1(e){Hc===null?Hc=[e]:Hc.push(e)}var BF=o.ReactCurrentBatchConfig,zF=null;function FF(){return BF.transition}var zl={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&Pa&&(t=n),n=n.return;return t},ju=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Hu=new Set;zl.recordUnsafeLifecycleWarnings=function(e,t){Hu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillMount=="function"&&rh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&nh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillUpdate=="function"&&ih.push(e))},zl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;th.length>0&&(th.forEach(function(X){e.add(er(X)||"Component"),Hu.add(X.type)}),th=[]);var t=new Set;rh.length>0&&(rh.forEach(function(X){t.add(er(X)||"Component"),Hu.add(X.type)}),rh=[]);var n=new Set;ah.length>0&&(ah.forEach(function(X){n.add(er(X)||"Component"),Hu.add(X.type)}),ah=[]);var i=new Set;nh.length>0&&(nh.forEach(function(X){i.add(er(X)||"Component"),Hu.add(X.type)}),nh=[]);var c=new Set;oh.length>0&&(oh.forEach(function(X){c.add(er(X)||"Component"),Hu.add(X.type)}),oh=[]);var d=new Set;if(ih.length>0&&(ih.forEach(function(X){d.add(er(X)||"Component"),Hu.add(X.type)}),ih=[]),t.size>0){var v=ju(t);u(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
31
+ Check the render method of \``+e+"`.":""}var up=["value","defaultValue"];function Vg(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,Dm()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Dm())}}}}function Ms(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 w=0;w<u.length;w++){var E=v.hasOwnProperty("$"+u[w].value);u[w].selected!==E&&(u[w].selected=E),E&&i&&(u[w].defaultSelected=!0)}}else{for(var A=mo(Nl(n)),J=null,X=0;X<u.length;X++){if(u[X].value===A){u[X].selected=!0,i&&(u[X].defaultSelected=!0);return}J===null&&!u[X].disabled&&(J=u[X])}J!==null&&(J.selected=!0)}}function cp(e,t){return At({},t,{value:void 0})}function zw(e,t){var n=e;Vg(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Of&&(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"),Of=!0)}function Q9(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ms(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ms(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?Ms(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ms(n,!!t.multiple,t.defaultValue,!0):Ms(n,!!t.multiple,t.multiple?[]:"",!1))}function Z9(e,t){var n=e,i=t.value;i!=null&&Ms(n,!!t.multiple,i,!1)}var Bw=!1;function Wg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=At({},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:Nl(i)}}function jw(e,t){var n=e,i=Nl(t.value),u=Nl(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 eP(e,t){jw(e,t)}var Is="http://www.w3.org/1999/xhtml",tP="http://www.w3.org/1998/Math/MathML",qg="http://www.w3.org/2000/svg";function Yg(e){switch(e){case"svg":return qg;case"math":return tP;default:return Is}}function $g(e,t){return e==null||e===Is?Yg(t):e===qg&&t==="foreignObject"?Is:e}var rP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Am,Uw=rP(function(e,t){if(e.namespaceURI===qg&&!("innerHTML"in e)){Am=Am||document.createElement("div"),Am.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Am.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,Gg=11,Lm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},aP={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 nP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var oP=["Webkit","ms","Moz","O"];Object.keys(fp).forEach(function(e){oP.forEach(function(t){fp[nP(t,e)]=fp[e]})});function Kg(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 iP=/([A-Z])/g,lP=/^ms-/;function sP(e){return e.replace(iP,"-$1").toLowerCase().replace(lP,"-ms-")}var Vw=function(){};{var uP=/^(?:webkit|moz|o)[A-Z]/,cP=/^-ms-/,fP=/-(.)/g,Ww=/;\s*$/,Pf={},Xg={},qw=!1,Yw=!1,dP=function(e){return e.replace(fP,function(t,n){return n.toUpperCase()})},pP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,dP(e.replace(cP,"ms-"))))},hP=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)))},mP=function(e,t){Xg.hasOwnProperty(t)&&Xg[t]||(Xg[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Ww,"")))},vP=function(e,t){qw||(qw=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},_P=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?pP(e):uP.test(e)?hP(e):Ww.test(t)&&mP(e,t),typeof t=="number"&&(isNaN(t)?vP(e,t):isFinite(t)||_P(e,t))}}var gP=Vw;function bP(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:sP(i))+":",t+=Kg(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||gP(i,t[i]);var d=Kg(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,d):n[i]=d}}function yP(e){return e==null||typeof e=="boolean"||e===""}function Gw(e){var t={};for(var n in e)for(var i=aP[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function SP(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 w=v+","+y;if(u[w])continue;u[w]=!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.",yP(e[v])?"Removing":"Updating",v,y)}}}}var wP={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},CP=At({menuitem:!0},wP),xP="__html";function Qg(e,t){if(t){if(CP[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"||!(xP 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 Sc(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 Nm={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},Mf={},kP=new RegExp("^(aria)-["+at+"]*$"),TP=new RegExp("^(aria)[A-Z]["+at+"]*$");function EP(e,t){{if(It.call(Mf,t)&&Mf[t])return!0;if(TP.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),Mf[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Mf[t]=!0,!0}if(kP.test(t)){var u=t.toLowerCase(),d=Kw.hasOwnProperty(u)?u:null;if(d==null)return Mf[t]=!0,!1;if(t!==d)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),Mf[t]=!0,!0}}return!0}function RP(e,t){{var n=[];for(var i in t){var u=EP(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 DP(e,t){Sc(e,t)||RP(e,t)}var Xw=!1;function AP(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./,LP=/^on[^A-Z]/,NP=new RegExp("^(aria)-["+at+"]*$"),OP=new RegExp("^(aria)[A-Z]["+at+"]*$");Qw=function(e,t,n,i){if(It.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 LP.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0,!0;if(NP.test(t)||OP.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 w=ee(t),E=w!==null&&w.type===Cr;if(Nm.hasOwnProperty(u)){var A=Nm[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,w,!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,w,!1)?(Yn[t]=!0,!1):((n==="false"||n==="true")&&w!==null&&w.type===fr&&(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 PP=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 MP(e,t,n){Sc(e,t)||PP(e,t,n)}var Zw=1,Jg=2,dp=4,IP=Zw|Jg|dp,pp=null;function zP(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 BP(){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 FP(e){return e===pp}function Zg(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var eb=null,If=null,zf=null;function eC(e){var t=zu(e);if(t){if(typeof eb!="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=mv(n);eb(t.stateNode,t.type,i)}}}function jP(e){eb=e}function tC(e){If?zf?zf.push(e):zf=[e]:If=e}function HP(){return If!==null||zf!==null}function rC(){if(If){var e=If,t=zf;if(If=null,zf=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(){},tb=!1;function UP(){var e=HP();e&&(nC(),rC())}function oC(e,t,n){if(tb)return e(t,n);tb=!0;try{return aC(e,t,n)}finally{tb=!1,UP()}}function VP(e,t,n){aC=e,nC=n}function WP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function qP(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&&WP(t));default:return!1}}function hp(e,t){var n=e.stateNode;if(n===null)return null;var i=mv(n);if(i===null)return null;var u=i[t];if(qP(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 rb=!1;if(wt)try{var mp={};Object.defineProperty(mp,"passive",{get:function(){rb=!0}}),window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){rb=!1}function iC(e,t,n,i,u,d,v,y,w){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 ab=document.createElement("react");lC=function(t,n,i,u,d,v,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"),J=!1,X=!0,ve=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function xe(){ab.removeEventListener(Ee,Et,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ve)}var et=Array.prototype.slice.call(arguments,3);function Et(){J=!0,xe(),n.apply(i,et),X=!1}var St,pr=!1,hr=!1;function ue(ce){if(St=ce.error,pr=!0,St===null&&ce.colno===0&&ce.lineno===0&&(hr=!0),ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(Ye){}}var Ee="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),ab.addEventListener(Ee,Et,!1),A.initEvent(Ee,!1,!1),ab.dispatchEvent(A),_e&&Object.defineProperty(window,"event",_e),J&&X&&(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",ue),!J)return xe(),iC.apply(this,arguments)}}var YP=lC,Bf=!1,Om=null,Pm=!1,nb=null,$P={onError:function(e){Bf=!0,Om=e}};function ob(e,t,n,i,u,d,v,y,w){Bf=!1,Om=null,YP.apply($P,arguments)}function GP(e,t,n,i,u,d,v,y,w){if(ob.apply(this,arguments),Bf){var E=ib();Pm||(Pm=!0,nb=E)}}function KP(){if(Pm){var e=nb;throw Pm=!1,nb=null,e}}function XP(){return Bf}function ib(){if(Bf){var e=Om;return Bf=!1,Om=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 Ff(e){return e._reactInternals}function QP(e){return e._reactInternals!==void 0}function JP(e,t){e._reactInternals=t}var zt=0,jf=1,Xa=2,Sr=4,wc=16,vp=32,lb=64,Pr=128,Fs=256,Au=512,Cc=1024,Ol=2048,js=4096,xc=8192,Mm=16384,ZP=Ol|Sr|lb|Au|Cc|Mm,eM=32767,_p=32768,$n=65536,sb=131072,sC=1048576,ub=2097152,kc=4194304,cb=8388608,Hs=16777216,Im=33554432,fb=Sr|Cc|0,db=Xa|Sr|wc|vp|Au|js|xc,gp=Sr|lb|Au|xc,Hf=Ol|wc,Us=kc|cb|ub,tM=o.ReactCurrentOwner;function Tc(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 rM(e){return Tc(e)===e}function aM(e){{var t=tM.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.",er(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=Ff(e);return u?Tc(u)===u:!1}function fC(e){if(Tc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Tc(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 w=d.child;w;){if(w===i)return fC(d),e;if(w===u)return fC(d),t;w=w.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===S||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 nM(e){var t=dC(e);return t!==null?mC(t):null}function mC(e){if(e.tag===S||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==C){var n=mC(t);if(n!==null)return n}t=t.sibling}return null}var vC=a.unstable_scheduleCallback,oM=a.unstable_cancelCallback,iM=a.unstable_shouldYield,lM=a.unstable_requestPaint,mn=a.unstable_now,sM=a.unstable_getCurrentPriorityLevel,zm=a.unstable_ImmediatePriority,pb=a.unstable_UserBlockingPriority,Ec=a.unstable_NormalPriority,uM=a.unstable_LowPriority,hb=a.unstable_IdlePriority,cM=a.unstable_yieldValue,fM=a.unstable_setDisableYieldValue,Rc=null,Cn=null,nt=null,ss=!1,Pl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function dM(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{$e&&(e=At({},e,{getLaneLabelMap:gM,injectProfilingHooks:_M})),Rc=t.inject(e),Cn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pM(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Rc,e,t)}catch(n){ss||(ss=!0,c("React instrumentation encountered an error: %s",n))}}function hM(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(ht){var i;switch(t){case Io:i=zm;break;case Ws:i=pb;break;case qs:i=Ec;break;case Wm:i=hb;break;default:i=Ec;break}Cn.onCommitFiberRoot(Rc,e,i,n)}else Cn.onCommitFiberRoot(Rc,e,void 0,n)}catch(u){ss||(ss=!0,c("React instrumentation encountered an error: %s",u))}}function mM(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vM(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vn(e){if(typeof cM=="function"&&(fM(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _M(e){nt=e}function gM(){{for(var e=new Map,t=1,n=0;n<vb;n++){var i=BM(t);e.set(t,i),t*=2}return e}}function bM(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 Uf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function yM(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function SM(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function wM(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function CM(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function xM(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function kM(){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 TM(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function EM(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function RM(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function DM(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function AM(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function LM(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function yC(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function NM(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function SC(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function OM(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function PM(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function mb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Lt=0,vr=1,Kr=2,Pa=8,us=16,wC=Math.clz32?Math.clz32:zM,MM=Math.log,IM=Math.LN2;function zM(e){var t=e>>>0;return t===0?32:31-(MM(t)/IM|0)|0}var vb=31,ze=0,_n=0,Yt=1,Vf=2,Vs=4,Dc=8,cs=16,yp=32,Wf=4194240,Sp=64,_b=128,gb=256,bb=512,yb=1024,Sb=2048,wb=4096,Cb=8192,xb=16384,kb=32768,Tb=65536,Eb=131072,Rb=262144,Db=524288,Ab=1048576,Lb=2097152,Bm=130023424,qf=4194304,Nb=8388608,Ob=16777216,Pb=33554432,Mb=67108864,CC=qf,wp=134217728,xC=268435455,Cp=268435456,Ac=536870912,Po=1073741824;function BM(e){{if(e&Yt)return"Sync";if(e&Vf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Dc)return"DefaultHydration";if(e&cs)return"Default";if(e&yp)return"TransitionHydration";if(e&Wf)return"Transition";if(e&Bm)return"Retry";if(e&wp)return"SelectiveHydration";if(e&Cp)return"IdleHydration";if(e&Ac)return"Idle";if(e&Po)return"Offscreen"}}var va=-1,Fm=Sp,jm=qf;function xp(e){switch(Lc(e)){case Yt:return Yt;case Vf:return Vf;case Vs:return Vs;case Dc:return Dc;case cs:return cs;case yp:return yp;case Sp: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 Lb:return e&Wf;case qf:case Nb:case Ob:case Pb:case Mb:return e&Bm;case wp:return wp;case Cp:return Cp;case Ac:return Ac;case Po:return Po;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Hm(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 w=v&d;w!==ze&&(i=xp(w))}}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=Lc(i),J=Lc(t);if(A>=J||A===cs&&(J&Wf)!==ze)return t}(i&Vs)!==ze&&(i|=n&cs);var X=e.entangledLanes;if(X!==ze)for(var ve=e.entanglements,_e=i&X;_e>0;){var xe=Nc(_e),et=1<<xe;i|=ve[xe],_e&=~et}return i}function FM(e,t){for(var n=e.eventTimes,i=va;t>0;){var u=Nc(t),d=1<<u,v=n[u];v>i&&(i=v),t&=~d}return i}function jM(e,t){switch(e){case Yt:case Vf:case Vs:return t+250;case Dc:case cs:case yp:case Sp: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 Lb:return t+5e3;case qf:case Nb:case Ob:case Pb:case Mb:return va;case wp:case Cp:case Ac:case Po:return va;default:return c("Should have found matching lanes. This is a bug in React."),va}}function HM(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,v=n;v>0;){var y=Nc(v),w=1<<y,E=d[y];E===va?((w&i)===ze||(w&u)!==ze)&&(d[y]=jM(w,t)):E<=t&&(e.expiredLanes|=w),v&=~w}}function UM(e){return xp(e.pendingLanes)}function Ib(e){var t=e.pendingLanes&~Po;return t!==ze?t:t&Po?Po:ze}function VM(e){return(e&Yt)!==ze}function zb(e){return(e&xC)!==ze}function kC(e){return(e&Bm)===e}function WM(e){var t=Yt|Vs|cs;return(e&t)===ze}function qM(e){return(e&Wf)===e}function Um(e,t){var n=Vf|Vs|Dc|cs;return(t&n)!==ze}function YM(e,t){return(t&e.expiredLanes)!==ze}function TC(e){return(e&Wf)!==ze}function EC(){var e=Fm;return Fm<<=1,(Fm&Wf)===ze&&(Fm=Sp),e}function $M(){var e=jm;return jm<<=1,(jm&Bm)===ze&&(jm=qf),e}function Lc(e){return e&-e}function kp(e){return Lc(e)}function Nc(e){return 31-wC(e)}function Bb(e){return Nc(e)}function Mo(e,t){return(e&t)!==ze}function Yf(e,t){return(e&t)===t}function or(e,t){return e|t}function Vm(e,t){return e&~t}function RC(e,t){return e&t}function H$(e){return e}function GM(e,t){return e!==_n&&e<t?e:t}function Fb(e){for(var t=[],n=0;n<vb;n++)t.push(e);return t}function Tp(e,t,n){e.pendingLanes|=t,t!==Ac&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,u=Bb(t);i[u]=n}function KM(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Nc(i),d=1<<u;n[u]=va,i&=~d}}function DC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function XM(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=Nc(v),w=1<<y;i[y]=ze,u[y]=va,d[y]=va,v&=~w}}function jb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var d=Nc(u),v=1<<d;v&t|i[d]&t&&(i[d]|=t),u&=~v}}function QM(e,t){var n=Lc(t),i;switch(n){case Vs:i=Vf;break;case cs:i=Dc;break;case Sp: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 Lb:case qf:case Nb:case Ob:case Pb:case Mb:i=yp;break;case Ac:i=Cp;break;default:i=_n;break}return(i&(e.suspendedLanes|t))!==_n?_n:i}function AC(e,t,n){if(Pl)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=Bb(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=Bb(t),d=1<<u,v=n[u];v.size>0&&(v.forEach(function(y){var w=y.alternate;(w===null||!i.has(w))&&i.add(y)}),v.clear()),t&=~d}}function NC(e,t){return null}var Io=Yt,Ws=Vs,qs=cs,Wm=Ac,Ep=_n;function Ml(){return Ep}function gn(e){Ep=e}function JM(e,t){var n=Ep;try{return Ep=e,t()}finally{Ep=n}}function ZM(e,t){return e!==0&&e<t?e:t}function eI(e,t){return e===0||e>t?e:t}function Hb(e,t){return e!==0&&e<t}function OC(e){var t=Lc(e);return Hb(Io,t)?Hb(Ws,t)?zb(t)?qs:Wm:Ws:Io}function qm(e){var t=e.current.memoizedState;return t.isDehydrated}var PC;function tI(e){PC=e}function rI(e){PC(e)}var Ub;function aI(e){Ub=e}var MC;function nI(e){MC=e}var IC;function oI(e){IC=e}var zC;function iI(e){zC=e}var Vb=!1,Ym=[],Lu=null,Nu=null,Ou=null,Rp=new Map,Dp=new Map,Pu=[],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&&Ub(y)}return v}e.eventSystemFlags|=i;var w=e.targetContainers;return u!==null&&w.indexOf(u)===-1&&w.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 w=u,E=w.pointerId;return Rp.set(E,Ap(Rp.get(E)||null,e,t,n,i,w)),!0}case"gotpointercapture":{var A=u,J=A.pointerId;return Dp.set(J,Ap(Dp.get(J)||null,e,t,n,i,A)),!0}}return!1}function FC(e){var t=Mc(e.target);if(t!==null){var n=Tc(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(){MC(n)});return}}else if(i===b){var d=n.stateNode;if(qm(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<Pu.length&&Hb(t,Pu[i].priority);i++);Pu.splice(i,0,n),i===0&&FC(n)}function $m(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Yb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,d=new u.constructor(u.type,u);zP(d),u.target.dispatchEvent(d),BP()}else{var v=zu(i);return v!==null&&Ub(v),e.blockedOn=i,!1}t.shift()}return!0}function jC(e,t,n){$m(e)&&n.delete(t)}function dI(){Vb=!1,Lu!==null&&$m(Lu)&&(Lu=null),Nu!==null&&$m(Nu)&&(Nu=null),Ou!==null&&$m(Ou)&&(Ou=null),Rp.forEach(jC),Dp.forEach(jC)}function Lp(e,t){e.blockedOn===t&&(e.blockedOn=null,Vb||(Vb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,dI)))}function Np(e){if(Ym.length>0){Lp(Ym[0],e);for(var t=1;t<Ym.length;t++){var n=Ym[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<Pu.length;u++){var d=Pu[u];d.blockedOn===e&&(d.blockedOn=null)}for(;Pu.length>0;){var v=Pu[0];if(v.blockedOn!==null)break;FC(v),v.blockedOn===null&&Pu.shift()}}var $f=o.ReactCurrentBatchConfig,Wb=!0;function HC(e){Wb=!!e}function pI(){return Wb}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=qb;break}return u.bind(null,t,n,e)}function mI(e,t,n,i){var u=Ml(),d=$f.transition;$f.transition=null;try{gn(Io),qb(e,t,n,i)}finally{gn(u),$f.transition=d}}function vI(e,t,n,i){var u=Ml(),d=$f.transition;$f.transition=null;try{gn(Ws),qb(e,t,n,i)}finally{gn(u),$f.transition=d}}function qb(e,t,n,i){Wb&&_I(e,t,n,i)}function _I(e,t,n,i){var u=Yb(e,t,n,i);if(u===null){i1(e,t,i,Gm,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=Yb(e,t,n,i);if(v===null&&i1(e,t,i,Gm,n),v===u)break;u=v}u!==null&&i.stopPropagation();return}i1(e,t,i,null,n)}var Gm=null;function Yb(e,t,n,i){Gm=null;var u=Zg(i),d=Mc(u);if(d!==null){var v=Tc(d);if(v===null)d=null;else{var y=v.tag;if(y===Q){var w=uC(v);if(w!==null)return w;d=null}else if(y===b){var E=v.stateNode;if(qm(E))return cC(v);d=null}else v!==d&&(d=null)}}return Gm=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=sM();switch(t){case zm:return Io;case pb:return Ws;case Ec:case uM:return qs;case hb:return Wm;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,$b=null,Pp=null;function wI(e){return Op=e,$b=WC(),!0}function CI(){Op=null,$b=null,Pp=null}function VC(){if(Pp)return Pp;var e,t=$b,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 Pp=u.slice(e,y),Pp}function WC(){return"value"in Op?Op.value:Op.textContent}function Km(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 Xm(){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 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=Xm:this.isDefaultPrevented=qC,this.isPropagationStopped=qC,this}return At(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=Xm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Xm)},persist:function(){},isPersistent:Xm}),t}var Gf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gb=zo(Gf),Mp=At({},Gf,{view:0,detail:0}),xI=zo(Mp),Kb,Xb,Ip;function kI(e){e!==Ip&&(Ip&&e.type==="mousemove"?(Kb=e.screenX-Ip.screenX,Xb=e.screenY-Ip.screenY):(Kb=0,Xb=0),Ip=e)}var Qm=At({},Mp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jb,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),Kb)},movementY:function(e){return"movementY"in e?e.movementY:Xb}}),YC=zo(Qm),TI=At({},Qm,{dataTransfer:0}),EI=zo(TI),RI=At({},Mp,{relatedTarget:0}),Qb=zo(RI),DI=At({},Gf,{animationName:0,elapsedTime:0,pseudoElement:0}),AI=zo(DI),LI=At({},Gf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NI=zo(LI),OI=At({},Gf,{data:0}),$C=zo(OI),PI=$C,MI={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=MI[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Km(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 Jb(e){return FI}var jI=At({},Mp,{key:zI,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jb,charCode:function(e){return e.type==="keypress"?Km(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Km(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),HI=zo(jI),UI=At({},Qm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=zo(UI),VI=At({},Mp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jb}),WI=zo(VI),qI=At({},Gf,{propertyName:0,elapsedTime:0,pseudoElement:0}),YI=zo(qI),$I=At({},Qm,{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,Zb=wt&&"CompositionEvent"in window,zp=null;wt&&"documentMode"in document&&(zp=document.documentMode);var XI=wt&&"TextEvent"in window&&!zp,XC=wt&&(!Zb||zp&&zp>8&&zp<=11),QC=32,JC=String.fromCharCode(QC);function QI(){tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),tt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),tt("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 Kf=!1;function tz(e,t,n,i,u){var d,v;if(Zb?d=ZI(t):Kf?e3(t,i)&&(d="onCompositionEnd"):ez(t,i)&&(d="onCompositionStart"),!d)return null;XC&&!r3(i)&&(!Kf&&d==="onCompositionStart"?Kf=wI(u):d==="onCompositionEnd"&&Kf&&(v=VC()));var y=rv(n,d);if(y.length>0){var w=new $C(d,t,null,i,u);if(e.push({event:w,listeners:y}),v)w.data=v;else{var E=t3(i);E!==null&&(w.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(Kf){if(e==="compositionend"||!Zb&&e3(e,t)){var n=VC();return CI(),Kf=!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=rv(n,"onBeforeInput");if(v.length>0){var y=new PI("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(!wt)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(){tt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n3(e,t,n,i){tC(i);var u=rv(t,"onChange");if(u.length>0){var d=new Gb("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,Zg(e)),oC(fz,t)}function fz(e){w3(e,0)}function Jm(e){var t=td(e);if(Af(t))return e}function dz(e,t){if(e==="change")return t}var o3=!1;wt&&(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"&&Jm(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 Jm(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 Jm(t)}function gz(e,t){if(e==="input"||e==="change")return Jm(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?td(n):window,w,E;if(uz(y)?w=dz:a3(y)?o3?w=gz:(w=mz,E=hz):vz(y)&&(w=_z),w){var A=w(t,n);if(A){n3(e,A,i,u);return}}E&&E(t,y,n),t==="focusout"&&bz(y)}function Sz(){Ce("onMouseEnter",["mouseout","mouseover"]),Ce("onMouseLeave",["mouseout","mouseover"]),Ce("onPointerEnter",["pointerout","pointerover"]),Ce("onPointerLeave",["pointerout","pointerover"])}function wz(e,t,n,i,u,d,v){var y=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(y&&!FP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Mc(E)||eh(E)))return}if(!(!w&&!y)){var A;if(u.window===u)A=u;else{var J=u.ownerDocument;J?A=J.defaultView||J.parentWindow:A=window}var X,ve;if(w){var _e=i.relatedTarget||i.toElement;if(X=n,ve=_e?Mc(_e):null,ve!==null){var xe=Tc(ve);(ve!==xe||ve.tag!==S&&ve.tag!==k)&&(ve=null)}}else X=null,ve=n;if(X!==ve){var et=YC,Et="onMouseLeave",St="onMouseEnter",pr="mouse";(t==="pointerout"||t==="pointerover")&&(et=GC,Et="onPointerLeave",St="onPointerEnter",pr="pointer");var hr=X==null?A:td(X),ue=ve==null?A:td(ve),Ee=new et(Et,pr+"leave",X,i,u);Ee.target=hr,Ee.relatedTarget=ue;var ce=null,Ye=Mc(u);if(Ye===n){var st=new et(St,pr+"enter",ve,i,u);st.target=ue,st.relatedTarget=hr,ce=st}Yz(e,Ee,ce,X,ve)}}}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(!It.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(w){return null}return Tz(e,u,d,v,y)}function Tz(e,t,n,i,u){var d=0,v=-1,y=-1,w=0,E=0,A=e,J=null;e:for(;;){for(var X=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),(X=A.firstChild)!==null;)J=A,A=X;for(;;){if(A===e)break e;if(J===t&&++w===n&&(v=d),J===i&&++E===u&&(y=d),(X=A.nextSibling)!==null)break;A=J,J=A.parentNode}A=X}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 w=y;y=v,v=w}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 J=n.createRange();J.setStart(E.node,E.offset),u.removeAllRanges(),v>y?(u.addRange(J),u.extend(A.node,A.offset)):(J.setEnd(A.node,A.offset),u.addRange(J))}}}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=Lf();t instanceof e.HTMLIFrameElement;){if(Dz(t))e=t.contentWindow;else return t;t=Lf(e.document)}return t}function e1(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:e1(e)?Nz(e):null}}function Lz(e){var t=d3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Rz(n)){i!==null&&e1(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 Pz=wt&&"documentMode"in document&&document.documentMode<=11;function Mz(){tt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Xf=null,t1=null,Hp=null,r1=!1;function Iz(e){if("selectionStart"in e&&e1(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(!(r1||Xf==null||Xf!==Lf(i))){var u=Iz(Xf);if(!Hp||!jp(Hp,u)){Hp=u;var d=rv(t1,"onSelect");if(d.length>0){var v=new Gb("onSelect","select",null,t,n);e.push({event:v,listeners:d}),v.target=Xf}}}}function Bz(e,t,n,i,u,d,v){var y=n?td(n):window;switch(t){case"focusin":(a3(y)||y.contentEditable==="true")&&(Xf=y,t1=n,Hp=null);break;case"focusout":Xf=null,t1=null,Hp=null;break;case"mousedown":r1=!0;break;case"contextmenu":case"mouseup":case"dragend":r1=!1,p3(e,i,u);break;case"selectionchange":if(Pz)break;case"keydown":case"keyup":p3(e,i,u)}}function Zm(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Qf={animationend:Zm("Animation","AnimationEnd"),animationiteration:Zm("Animation","AnimationIteration"),animationstart:Zm("Animation","AnimationStart"),transitionend:Zm("Transition","TransitionEnd")},a1={},h3={};wt&&(h3=document.createElement("div").style,"AnimationEvent"in window||(delete Qf.animationend.animation,delete Qf.animationiteration.animation,delete Qf.animationstart.animation),"TransitionEvent"in window||delete Qf.transitionend.transition);function ev(e){if(a1[e])return a1[e];if(!Qf[e])return e;var t=Qf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in h3)return a1[e]=t[n];return e}var m3=ev("animationend"),v3=ev("animationiteration"),_3=ev("animationstart"),g3=ev("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 Mu(e,t){b3.set(e,t),tt(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);Mu(n,"on"+i)}Mu(m3,"onAnimationEnd"),Mu(v3,"onAnimationIteration"),Mu(_3,"onAnimationStart"),Mu("dblclick","onDoubleClick"),Mu("focusin","onFocus"),Mu("focusout","onBlur"),Mu(g3,"onTransitionEnd")}function jz(e,t,n,i,u,d,v){var y=b3.get(t);if(y!==void 0){var w=Gb,E=t;switch(t){case"keypress":if(Km(i)===0)return;case"keydown":case"keyup":w=HI;break;case"focusin":E="focus",w=Qb;break;case"focusout":E="blur",w=Qb;break;case"beforeblur":case"afterblur":w=Qb;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=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=EI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=WI;break;case m3:case v3:case _3:w=AI;break;case g3:w=YI;break;case"scroll":w=xI;break;case"wheel":w=GI;break;case"copy":case"cut":case"paste":w=NI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=GC;break}var A=(d&dp)!==0;{var J=!A&&t==="scroll",X=Wz(n,y,i.type,A,J);if(X.length>0){var ve=new w(y,E,null,i,u);e.push({event:ve,listeners:X})}}}}Fz(),Sz(),sz(),Mz(),QI();function Hz(e,t,n,i,u,d,v){jz(e,t,n,i,u,d);var y=(d&IP)===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"],n1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function S3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,GP(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,w=d.listener;if(v!==i&&e.isPropagationStopped())return;S3(e,w,y),i=v}else for(var E=0;E<t.length;E++){var A=t[E],J=A.instance,X=A.currentTarget,ve=A.listener;if(J!==i&&e.isPropagationStopped())return;S3(e,ve,X),i=J}}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)}KP()}function Vz(e,t,n,i,u){var d=Zg(n),v=[];Hz(v,e,i,n,d,t),w3(v,t)}function ga(e,t){n1.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,Jg,n),i.add(u))}function o1(e,t,n){n1.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 tv="_reactListening"+Math.random().toString(36).slice(2);function Vp(e){if(!e[tv]){e[tv]=!0,lt.forEach(function(n){n!=="selectionchange"&&(n1.has(n)||o1(n,!1,e),o1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[tv]||(t[tv]=!0,o1("selectionchange",!1,t)))}}function C3(e,t,n,i,u){var d=hI(e,t,n),v=void 0;rb&&(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 i1(e,t,n,i,u){var d=i;if(!(t&Zw)&&!(t&Jg)){var v=u;if(i!==null){var y=i;e:for(;;){if(y===null)return;var w=y.tag;if(w===b||w===C){var E=y.stateNode.containerInfo;if(x3(E,v))break;if(w===C)for(var A=y.return;A!==null;){var J=A.tag;if(J===b||J===C){var X=A.stateNode.containerInfo;if(x3(X,v))return}A=A.return}for(;E!==null;){var ve=Mc(E);if(ve===null)return;var _e=ve.tag;if(_e===S||_e===k){y=d=ve;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,w=[],E=e,A=null;E!==null;){var J=E,X=J.stateNode,ve=J.tag;if(ve===S&&X!==null&&(A=X,y!==null)){var _e=hp(E,y);_e!=null&&w.push(Wp(E,_e,A))}if(u)break;E=E.return}return w}function rv(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var d=u,v=d.stateNode,y=d.tag;if(y===S&&v!==null){var w=v,E=hp(u,n);E!=null&&i.unshift(Wp(u,E,w));var A=hp(u,t);A!=null&&i.push(Wp(u,A,w))}u=u.return}return i}function Jf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==S);return e||null}function qz(e,t){for(var n=e,i=t,u=0,d=n;d;d=Jf(d))u++;for(var v=0,y=i;y;y=Jf(y))v++;for(;u-v>0;)n=Jf(n),u--;for(;v-u>0;)i=Jf(i),v--;for(var w=u;w--;){if(n===i||i!==null&&n===i.alternate)return n;n=Jf(n),i=Jf(i)}return null}function k3(e,t,n,i,u){for(var d=t._reactName,v=[],y=n;y!==null&&y!==i;){var w=y,E=w.alternate,A=w.stateNode,J=w.tag;if(E!==null&&E===i)break;if(J===S&&A!==null){var X=A;if(u){var ve=hp(y,d);ve!=null&&v.unshift(Wp(y,ve,X))}else if(!u){var _e=hp(y,d);_e!=null&&v.push(Wp(y,_e,X))}}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",av="suppressContentEditableWarning",Iu="suppressHydrationWarning",T3="autoFocus",Oc="children",Pc="style",nv="__html",l1,ov,Yp,E3,iv,R3,D3;l1={dialog:!0,webview:!0},ov=function(e,t){DP(e,t),AP(e,t),MP(e,t,{registrationNameDependencies:yt,possibleRegistrationNames:ct})},R3=wt&&!document.documentMode,Yp=function(e,t,n){if(!_o){var i=lv(n),u=lv(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)}},iv=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 lv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(Gz,`
32
+ `).replace(Kz,"")}function sv(e,t,n,i){var u=lv(t),d=lv(e);if(d!==u&&(i&&(_o||(_o=!0,c('Text content did not match. Server: "%s" Client: "%s"',d,u))),n&&q))throw new Error("Text content does not match server-rendered HTML.")}function A3(e){return e.nodeType===Bs?e:e.ownerDocument}function Xz(){}function uv(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[nv]:void 0;y!=null&&Uw(t,y)}else if(d===Oc)if(typeof v=="string"){var w=e!=="textarea"||v!=="";w&&Lm(t,v)}else typeof v=="number"&&Lm(t,""+v);else d===av||d===Iu||d===T3||(yt.hasOwnProperty(d)?v!=null&&(typeof v!="function"&&iv(d,v),d==="onScroll"&&ga("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===Oc?Lm(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=Yg(e)),y===Is){if(u=Sc(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 w=d.createElement("div");w.innerHTML="<script></script>";var E=w.firstChild;v=w.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]"&&!It.call(l1,e)&&(l1[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=Sc(t,n);ov(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 v=0;v<Up.length;v++)ga(Up[v],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":Te(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":zw(e,n),d=cp(e,n),ga("invalid",e);break;case"textarea":Fw(e,n),d=Wg(e,n),ga("invalid",e);break;default:d=n}switch(Qg(t,d),Qz(t,e,i,d,u),t){case"input":Du(e),bt(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"&&uv(e);break}}function rB(e,t,n,i,u){ov(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=Wg(e,n),y=Wg(e,i),d=[];break;default:v=n,y=i,typeof v.onClick!="function"&&typeof y.onClick=="function"&&uv(e);break}Qg(t,y);var w,E,A=null;for(w in v)if(!(y.hasOwnProperty(w)||!v.hasOwnProperty(w)||v[w]==null))if(w===Pc){var J=v[w];for(E in J)J.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else w===qp||w===Oc||w===av||w===Iu||w===T3||(yt.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in y){var X=y[w],ve=v!=null?v[w]:void 0;if(!(!y.hasOwnProperty(w)||X===ve||X==null&&ve==null))if(w===Pc)if(X&&Object.freeze(X),ve){for(E in ve)ve.hasOwnProperty(E)&&(!X||!X.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in X)X.hasOwnProperty(E)&&ve[E]!==X[E]&&(A||(A={}),A[E]=X[E])}else A||(d||(d=[]),d.push(w,A)),A=X;else if(w===qp){var _e=X?X[nv]:void 0,xe=ve?ve[nv]:void 0;_e!=null&&xe!==_e&&(d=d||[]).push(w,_e)}else w===Oc?(typeof X=="string"||typeof X=="number")&&(d=d||[]).push(w,""+X):w===av||w===Iu||(yt.hasOwnProperty(w)?(X!=null&&(typeof X!="function"&&iv(w,X),w==="onScroll"&&ga("scroll",e)),!d&&ve!==X&&(d=[])):(d=d||[]).push(w,X))}return A&&(SP(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=Sc(n,i),v=Sc(n,u);switch(Jz(e,t,d,v),n){case"input":Nt(e,u);break;case"textarea":jw(e,u);break;case"select":J9(e,u);break}}function nB(e){{var t=e.toLowerCase();return Nm.hasOwnProperty(t)&&Nm[t]||null}}function oB(e,t,n,i,u,d,v){var y,w;switch(y=Sc(t,n),ov(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<Up.length;E++)ga(Up[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":Te(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":zw(e,n),ga("invalid",e);break;case"textarea":Fw(e,n),ga("invalid",e);break}Qg(t,n);{w=new Set;for(var A=e.attributes,J=0;J<A.length;J++){var X=A[J].name.toLowerCase();switch(X){case"value":break;case"checked":break;case"selected":break;default:w.add(A[J].name)}}}var ve=null;for(var _e in n)if(n.hasOwnProperty(_e)){var xe=n[_e];if(_e===Oc)typeof xe=="string"?e.textContent!==xe&&(n[Iu]!==!0&&sv(e.textContent,xe,d,v),ve=[Oc,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Iu]!==!0&&sv(e.textContent,xe,d,v),ve=[Oc,""+xe]);else if(yt.hasOwnProperty(_e))xe!=null&&(typeof xe!="function"&&iv(_e,xe),_e==="onScroll"&&ga("scroll",e));else if(v&&typeof y=="boolean"){var et=void 0,Et=y&&Oe?null:ee(_e);if(n[Iu]!==!0){if(!(_e===av||_e===Iu||_e==="value"||_e==="checked"||_e==="selected")){if(_e===qp){var St=e.innerHTML,pr=xe?xe[nv]:void 0;if(pr!=null){var hr=D3(e,pr);hr!==St&&Yp(_e,St,hr)}}else if(_e===Pc){if(w.delete(_e),R3){var ue=bP(xe);et=e.getAttribute("style"),ue!==et&&Yp(_e,et,ue)}}else if(y&&!Oe)w.delete(_e.toLowerCase()),et=Qe(e,_e,xe),xe!==et&&Yp(_e,et,xe);else if(!mr(_e,Et,y)&&!N(_e,xe,Et,y)){var Ee=!1;if(Et!==null)w.delete(Et.attributeName),et=Ae(e,_e,xe,Et);else{var ce=i;if(ce===Is&&(ce=Yg(t)),ce===Is)w.delete(_e.toLowerCase());else{var Ye=nB(_e);Ye!==null&&Ye!==_e&&(Ee=!0,w.delete(Ye)),w.delete(_e)}et=Qe(e,_e,xe)}var st=Oe;!st&&xe!==et&&!Ee&&Yp(_e,et,xe)}}}}}switch(v&&w.size>0&&n[Iu]!==!0&&E3(w),t){case"input":Du(e),bt(e,n,!0);break;case"textarea":Du(e),Hw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&uv(e);break}return ve}function iB(e,t,n){var i=e.nodeValue!==t;return i}function s1(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 u1(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 c1(e,t,n){{if(_o)return;_o=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function f1(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":eP(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=At({},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 w=y.tag,E=!!d+"|"+e+"|"+w;if(!O3[E]){O3[E]=!0;var A=e,J="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",J=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var X="";w==="table"&&e==="tr"&&(X+=" 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,w,J,X)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,w)}}}}var cv="suppressHydrationWarning",fv="$",dv="/$",Kp="$?",Xp="$!",pB="style",d1=null,p1=null;function hB(e){var t,n,i=e.nodeType;switch(i){case Bs:case Gg:{t=i===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:$g(null,"");break}default:{var d=i===Ka?e.parentNode:e,v=d.namespaceURI||null;t=d.tagName,n=$g(v,t);break}}{var y=t.toLowerCase(),w=Gp(null,y);return{namespace:n,ancestorInfo:w}}}function mB(e,t,n){{var i=e,u=$g(i.namespace,t),d=Gp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:d}}}function U$(e){return e}function vB(e){d1=pI(),p1=Az();var t=null;return HC(!1),t}function _B(e){Lz(p1),HC(d1),d1=null,p1=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,w=Gp(v.ancestorInfo,e);$p(null,y,w)}d=v.namespace}var E=Zz(e,t,n,d);return Zp(u,E),S1(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,w=Gp(v.ancestorInfo,t);$p(null,y,w)}}return rB(e,t,n,i)}function h1(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 m1=typeof setTimeout=="function"?setTimeout:void 0,xB=typeof clearTimeout=="function"?clearTimeout:void 0,v1=-1,P3=typeof Promise=="function"?Promise:void 0,kB=typeof queueMicrotask=="function"?queueMicrotask:typeof P3!="undefined"?function(e){return P3.resolve(null).then(e).catch(TB)}:m1;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),S1(e,u)}function M3(e){Lm(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&&uv(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 PB(e,t){e.removeChild(t)}function MB(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function _1(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===dv)if(i===0){e.removeChild(u),Np(t);return}else i--;else(d===fv||d===Kp||d===Xp)&&i++}n=u}while(n);Np(t)}function IB(e,t){e.nodeType===Ka?_1(e.parentNode,t):e.nodeType===vo&&_1(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=Kg("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 g1(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 pv(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===fv||n===Xp||n===Kp)break;if(n===dv)return null}}return e}function Qp(e){return pv(e.nextSibling)}function $B(e){return pv(e.firstChild)}function GB(e){return pv(e.firstChild)}function KB(e){return pv(e.nextSibling)}function XB(e,t,n,i,u,d,v){Zp(d,e),S1(e,n);var y;{var w=u;y=w.namespace}var E=(d.mode&vr)!==Lt;return oB(e,t,n,y,i,E,v)}function QB(e,t,n,i){Zp(n,e);var u=(n.mode&vr)!==Lt;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===dv){if(n===0)return Qp(t);n--}else(i===fv||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===fv||i===Xp||i===Kp){if(n===0)return t;n--}else i===dv&&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;sv(t.nodeValue,n,i,u)}function nF(e,t,n,i,u,d){if(t[cv]!==!0){var v=!0;sv(i.nodeValue,u,d,v)}}function oF(e,t){t.nodeType===vo?s1(e,t):t.nodeType===Ka||u1(e,t)}function iF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===vo?s1(n,t):t.nodeType===Ka||u1(n,t))}}function lF(e,t,n,i,u){(u||t[cv]!==!0)&&(i.nodeType===vo?s1(n,i):i.nodeType===Ka||u1(n,i))}function sF(e,t,n){c1(e,t)}function uF(e,t){f1(e,t)}function cF(e,t,n){{var i=e.parentNode;i!==null&&c1(i,t)}}function fF(e,t){{var n=e.parentNode;n!==null&&f1(n,t)}}function dF(e,t,n,i,u,d){(d||t[cv]!==!0)&&c1(n,i)}function pF(e,t,n,i,u){(u||t[cv]!==!0)&&f1(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 Zf=Math.random().toString(36).slice(2),ed="__reactFiber$"+Zf,b1="__reactProps$"+Zf,Jp="__reactContainer$"+Zf,y1="__reactEvents$"+Zf,vF="__reactListeners$"+Zf,_F="__reactHandles$"+Zf;function gF(e){delete e[ed],delete e[b1],delete e[y1],delete e[vF],delete e[_F]}function Zp(e,t){t[ed]=e}function hv(e,t){t[Jp]=e}function B3(e){e[Jp]=null}function eh(e){return!!e[Jp]}function Mc(e){var t=e[ed];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jp]||n[ed],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=z3(e);u!==null;){var d=u[ed];if(d)return d;u=z3(u)}return t}e=n,n=e.parentNode}return null}function zu(e){var t=e[ed]||e[Jp];return t&&(t.tag===S||t.tag===k||t.tag===Q||t.tag===b)?t:null}function td(e){if(e.tag===S||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function mv(e){return e[b1]||null}function S1(e,t){e[b1]=t}function bF(e){var t=e[y1];return t===void 0&&(t=e[y1]=new Set),t}var F3={},j3=o.ReactDebugCurrentFrame;function vv(e){if(e){var t=e._owner,n=kf(e.type,e._source,t?t.type:null);j3.setExtraStackFrame(n)}else j3.setExtraStackFrame(null)}function Il(e,t,n,i,u){{var d=Function.call.bind(It);for(var v in e)if(d(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var w=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 w.name="Invariant Violation",w}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)&&(vv(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),vv(null)),y instanceof Error&&!(y.message in F3)&&(F3[y.message]=!0,vv(u),c("Failed %s type: %s",n,y.message),vv(null))}}}var w1=[],_v;_v=[];var Ys=-1;function Bu(e){return{current:e}}function In(e,t){if(Ys<0){c("Unexpected pop.");return}t!==_v[Ys]&&c("Unexpected Fiber popped."),e.current=w1[Ys],w1[Ys]=null,_v[Ys]=null,Ys--}function zn(e,t,n){Ys++,w1[Ys]=e.current,_v[Ys]=n,e.current=t}var C1;C1={};var Fo={};Object.freeze(Fo);var $s=Bu(Fo),fs=Bu(!1),x1=Fo;function rd(e,t,n){return n&&ds(t)?x1:$s.current}function H3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function ad(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=er(e)||"Unknown";Il(i,d,"context",y)}return u&&H3(e,t,d),d}}function gv(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function bv(e){In(fs,e),In($s,e)}function k1(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=er(e)||"Unknown";C1[d]||(C1[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((er(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var w=er(e)||"Unknown";Il(u,v,"child context",w)}return At({},n,v)}}function yv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return x1=$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,x1);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(!rM(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,Sv=1,Gs=null,T1=!1,E1=!1;function q3(e){Gs===null?Gs=[e]:Gs.push(e)}function SF(e){T1=!0,q3(e)}function Y3(){T1&&ju()}function ju(){if(!E1&&Gs!==null){E1=!0;var e=0,t=Ml();try{var n=!0,i=Gs;for(gn(Io);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}Gs=null,T1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),vC(zm,ju),d}finally{gn(t),E1=!1}}return null}var nd=[],od=0,wv=null,Cv=0,vl=[],_l=0,Ic=null,Ks=1,Xs="";function wF(e){return Bc(),(e.flags&sC)!==zt}function CF(e){return Bc(),Cv}function xF(){var e=Xs,t=Ks,n=t&~kF(t);return n.toString(32)+e}function zc(e,t){Bc(),nd[od++]=Cv,nd[od++]=wv,wv=e,Cv=t}function $3(e,t,n){Bc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Ic,Ic=e;var i=Ks,u=Xs,d=xv(i)-1,v=i&~(1<<d),y=n+1,w=xv(t)+d;if(w>30){var E=d-d%5,A=(1<<E)-1,J=(v&A).toString(32),X=v>>E,ve=d-E,_e=xv(t)+ve,xe=y<<ve,et=xe|X,Et=J+u;Ks=1<<_e|et,Xs=Et}else{var St=y<<d,pr=St|v,hr=u;Ks=1<<w|pr,Xs=hr}}function R1(e){Bc();var t=e.return;if(t!==null){var n=1,i=0;zc(e,n),$3(e,n,i)}}function xv(e){return 32-wC(e)}function kF(e){return 1<<xv(e)-1}function D1(e){for(;e===wv;)wv=nd[--od],nd[od]=null,Cv=nd[--od],nd[od]=null;for(;e===Ic;)Ic=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function TF(){return Bc(),Ic!==null?{id:Ks,overflow:Xs}:null}function EF(e,t){Bc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Ic,Ks=t.id,Xs=t.overflow,Ic=e}function Bc(){kn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,zl=!1,Fc=!1,Hu=null;function RF(){zl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function G3(){Fc=!0}function DF(){return Fc}function AF(e){var t=e.stateNode.containerInfo;return gl=GB(t),xn=e,zl=!0,Hu=null,Fc=!1,!0}function LF(e,t,n){return gl=KB(t),xn=e,zl=!0,Hu=null,Fc=!1,n!==null&&EF(e,n),!0}function K3(e,t){switch(e.tag){case b:{oF(e.stateNode.containerInfo,t);break}case S:{var n=(e.mode&vr)!==Lt;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|=wc):i.push(n)}function A1(e,t){{if(Fc)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case S:var i=t.type,u=t.pendingProps;sF(n,i);break;case k:var d=t.pendingProps;uF(n,d);break}break}case S:{var v=e.type,y=e.memoizedProps,w=e.stateNode;switch(t.tag){case S:{var E=t.type,A=t.pendingProps,J=(e.mode&vr)!==Lt;dF(v,y,w,E,A,J);break}case k:{var X=t.pendingProps,ve=(e.mode&vr)!==Lt;pF(v,y,w,X,ve);break}}break}case Q:{var _e=e.memoizedState,xe=_e.dehydrated;if(xe!==null)switch(t.tag){case S:var et=t.type,Et=t.pendingProps;cF(xe,et);break;case k:var St=t.pendingProps;fF(xe,St);break}break}default:return}}}function Q3(e,t){t.flags=t.flags&~js|Xa,A1(e,t)}function J3(e,t){switch(e.tag){case S:{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 w={dehydrated:y,treeContext:TF(),retryLane:Po};e.memoizedState=w;var E=HU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function L1(e){return(e.mode&vr)!==Lt&&(e.flags&Pr)===zt}function N1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function O1(e){if(zl){var t=gl;if(!t){L1(e)&&(A1(xn,e),N1()),Q3(xn,e),zl=!1,xn=e;return}var n=t;if(!J3(e,t)){L1(e)&&(A1(xn,e),N1()),t=Qp(n);var i=xn;if(!t||!J3(e,t)){Q3(xn,e),zl=!1,xn=e;return}X3(i,n)}}}function NF(e,t,n){var i=e.stateNode,u=!Fc,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&vr)!==Lt;aF(d,t,n,v);break}case S:{var y=u.type,w=u.memoizedProps,E=u.stateNode,A=(u.mode&vr)!==Lt;nF(y,w,E,t,n,A);break}}}return i}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.");JB(n,e)}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.");return ZB(n)}function Z3(e){for(var t=e.return;t!==null&&t.tag!==S&&t.tag!==b&&t.tag!==Q;)t=t.return;xn=t}function kv(e){if(e!==xn)return!1;if(!zl)return Z3(e),zl=!0,!1;if(e.tag!==b&&(e.tag!==S||rF(e.type)&&!h1(e.type,e.memoizedProps))){var t=gl;if(t)if(L1(e))ex(e),N1();else for(;t;)X3(e,t),t=Qp(t)}return Z3(e),e.tag===Q?gl=MF(e):gl=xn?Qp(e.stateNode):null,!0}function IF(){return zl&&gl!==null}function ex(e){for(var t=gl;t;)K3(e,t),t=Qp(t)}function id(){xn=null,gl=null,zl=!1,Fc=!1}function tx(){Hu!==null&&(K4(Hu),Hu=null)}function kn(){return zl}function P1(e){Hu===null?Hu=[e]:Hu.push(e)}var zF=o.ReactCurrentBatchConfig,BF=null;function FF(){return zF.transition}var Bl={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&Pa&&(t=n),n=n.return;return t},jc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Hc=new Set;Bl.recordUnsafeLifecycleWarnings=function(e,t){Hc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillMount=="function"&&rh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&nh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillUpdate=="function"&&ih.push(e))},Bl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;th.length>0&&(th.forEach(function(X){e.add(er(X)||"Component"),Hc.add(X.type)}),th=[]);var t=new Set;rh.length>0&&(rh.forEach(function(X){t.add(er(X)||"Component"),Hc.add(X.type)}),rh=[]);var n=new Set;ah.length>0&&(ah.forEach(function(X){n.add(er(X)||"Component"),Hc.add(X.type)}),ah=[]);var i=new Set;nh.length>0&&(nh.forEach(function(X){i.add(er(X)||"Component"),Hc.add(X.type)}),nh=[]);var u=new Set;oh.length>0&&(oh.forEach(function(X){u.add(er(X)||"Component"),Hc.add(X.type)}),oh=[]);var d=new Set;if(ih.length>0&&(ih.forEach(function(X){d.add(er(X)||"Component"),Hc.add(X.type)}),ih=[]),t.size>0){var v=jc(t);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
33
33
 
34
34
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
35
35
 
36
- Please update the following components: %s`,v)}if(i.size>0){var y=ju(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.
36
+ Please update the following components: %s`,v)}if(i.size>0){var y=jc(i);c(`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 S=ju(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.
41
+ Please update the following components: %s`,y)}if(d.size>0){var w=jc(d);c(`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`,S)}if(e.size>0){var E=ju(e);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
45
+ Please update the following components: %s`,w)}if(e.size>0){var E=jc(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=ju(n);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
50
+ Please update the following components: %s`,E)}if(n.size>0){var A=jc(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(c.size>0){var J=ju(c);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
56
+ Please update the following components: %s`,A)}if(u.size>0){var J=jc(u);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
57
57
 
58
58
  * Move data fetching code or side effects to componentDidUpdate.
59
59
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
60
60
 
61
- Please update the following components: %s`,J)}};var kv=new Map,rx=new Set;zl.recordLegacyContextWarning=function(e,t){var n=jF(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(!rx.has(e.type)){var i=kv.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],kv.set(n,i)),i.push(e))}},zl.flushLegacyContextWarning=function(){kv.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(er(d)||"Component"),rx.add(d.type)});var c=ju(i);try{Sa(n),u(`Legacy context API has been detected within a strict-mode tree.
61
+ Please update the following components: %s`,J)}};var Tv=new Map,rx=new Set;Bl.recordLegacyContextWarning=function(e,t){var n=jF(e);if(n===null){c("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(!rx.has(e.type)){var i=Tv.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Tv.set(n,i)),i.push(e))}},Bl.flushLegacyContextWarning=function(){Tv.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(er(d)||"Component"),rx.add(d.type)});var u=jc(i);try{wa(n),c(`Legacy context API has been detected within a strict-mode tree.
62
62
 
63
63
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
64
64
 
65
65
  Please update the following components: %s
66
66
 
67
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{hn()}}})},zl.discardPendingWarnings=function(){th=[],rh=[],ah=[],nh=[],oh=[],ih=[],kv=new Map}}var M1,I1,B1,z1,F1,ax=function(e,t){};M1=!1,I1=!1,B1={},z1={},F1={},ax=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";z1[n]||(z1[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 HF(e){return e.prototype&&e.prototype.isReactComponent}function lh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Pa||We)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!HF(n.type))&&n._owner){var c=er(e)||"Component";B1[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),B1[c]=!0)}if(n._owner){var d=n._owner,v;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");v=y.stateNode}if(!v)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var S=v;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(J){var X=S.refs;J===null?delete X[E]:X[E]=J};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:
67
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{hn()}}})},Bl.discardPendingWarnings=function(){th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Tv=new Map}}var M1,I1,z1,B1,F1,ax=function(e,t){};M1=!1,I1=!1,z1={},B1={},F1={},ax=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";B1[n]||(B1[n]=!0,c('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function HF(e){return e.prototype&&e.prototype.isReactComponent}function lh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Pa||We)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!HF(n.type))&&n._owner){var u=er(e)||"Component";z1[u]||(c('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',u,i),z1[u]=!0)}if(n._owner){var d=n._owner,v;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");v=y.stateNode}if(!v)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=v;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(J){var X=w.refs;J===null?delete X[E]:X[E]=J};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 Tv(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 Ev(e){{var t=er(e)||"Component";if(F1[t])return;F1[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 nx(e){var t=e._payload,n=e._init;return n(t)}function ox(e){function t(ce,Ee){if(e){var ue=ce.deletions;ue===null?(ce.deletions=[Ee],ce.flags|=Su):ue.push(Ee)}}function n(ce,Ee){if(!e)return null;for(var ue=Ee;ue!==null;)t(ce,ue),ue=ue.sibling;return null}function i(ce,Ee){for(var ue=new Map,Ye=Ee;Ye!==null;)Ye.key!==null?ue.set(Ye.key,Ye):ue.set(Ye.index,Ye),Ye=Ye.sibling;return ue}function c(ce,Ee){var ue=Xu(ce,Ee);return ue.index=0,ue.sibling=null,ue}function d(ce,Ee,ue){if(ce.index=ue,!e)return ce.flags|=sC,Ee;var Ye=ce.alternate;if(Ye!==null){var st=Ye.index;return st<Ee?(ce.flags|=Xa,Ee):st}else return ce.flags|=Xa,Ee}function v(ce){return e&&ce.alternate===null&&(ce.flags|=Xa),ce}function y(ce,Ee,ue,Ye){if(Ee===null||Ee.tag!==k){var st=M0(ue,ce.mode,Ye);return st.return=ce,st}else{var rt=c(Ee,ue);return rt.return=ce,rt}}function S(ce,Ee,ue,Ye){var st=ue.type;if(st===le)return A(ce,Ee,ue.props.children,Ye,ue.key);if(Ee!==null&&(Ee.elementType===st||f5(Ee,ue)||typeof st=="object"&&st!==null&&st.$$typeof===Je&&nx(st)===Ee.type)){var rt=c(Ee,ue.props);return rt.ref=lh(ce,Ee,ue),rt.return=ce,rt._debugSource=ue._source,rt._debugOwner=ue._owner,rt}var Ft=P0(ue,ce.mode,Ye);return Ft.ref=lh(ce,Ee,ue),Ft.return=ce,Ft}function E(ce,Ee,ue,Ye){if(Ee===null||Ee.tag!==C||Ee.stateNode.containerInfo!==ue.containerInfo||Ee.stateNode.implementation!==ue.implementation){var st=I0(ue,ce.mode,Ye);return st.return=ce,st}else{var rt=c(Ee,ue.children||[]);return rt.return=ce,rt}}function A(ce,Ee,ue,Ye,st){if(Ee===null||Ee.tag!==L){var rt=Jc(ue,ce.mode,Ye,st);return rt.return=ce,rt}else{var Ft=c(Ee,ue);return Ft.return=ce,Ft}}function J(ce,Ee,ue){if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"){var Ye=M0(""+Ee,ce.mode,ue);return Ye.return=ce,Ye}if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case V:{var st=P0(Ee,ce.mode,ue);return st.ref=lh(ce,null,Ee),st.return=ce,st}case re:{var rt=I0(Ee,ce.mode,ue);return rt.return=ce,rt}case Je:{var Ft=Ee._payload,Gt=Ee._init;return J(ce,Gt(Ft),ue)}}if(tn(Ee)||Ga(Ee)){var Qr=Jc(Ee,ce.mode,ue,null);return Qr.return=ce,Qr}Tv(ce,Ee)}return typeof Ee=="function"&&Ev(ce),null}function X(ce,Ee,ue,Ye){var st=Ee!==null?Ee.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return st!==null?null:y(ce,Ee,""+ue,Ye);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return ue.key===st?S(ce,Ee,ue,Ye):null;case re:return ue.key===st?E(ce,Ee,ue,Ye):null;case Je:{var rt=ue._payload,Ft=ue._init;return X(ce,Ee,Ft(rt),Ye)}}if(tn(ue)||Ga(ue))return st!==null?null:A(ce,Ee,ue,Ye,null);Tv(ce,ue)}return typeof ue=="function"&&Ev(ce),null}function ve(ce,Ee,ue,Ye,st){if(typeof Ye=="string"&&Ye!==""||typeof Ye=="number"){var rt=ce.get(ue)||null;return y(Ee,rt,""+Ye,st)}if(typeof Ye=="object"&&Ye!==null){switch(Ye.$$typeof){case V:{var Ft=ce.get(Ye.key===null?ue:Ye.key)||null;return S(Ee,Ft,Ye,st)}case re:{var Gt=ce.get(Ye.key===null?ue:Ye.key)||null;return E(Ee,Gt,Ye,st)}case Je:var Qr=Ye._payload,Dr=Ye._init;return ve(ce,Ee,ue,Dr(Qr),st)}if(tn(Ye)||Ga(Ye)){var Ua=ce.get(ue)||null;return A(Ee,Ua,Ye,st,null)}Tv(Ee,Ye)}return typeof Ye=="function"&&Ev(Ee),null}function _e(ce,Ee,ue){{if(typeof ce!="object"||ce===null)return Ee;switch(ce.$$typeof){case V:case re:ax(ce,ue);var Ye=ce.key;if(typeof Ye!="string")break;if(Ee===null){Ee=new Set,Ee.add(Ye);break}if(!Ee.has(Ye)){Ee.add(Ye);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",Ye);break;case Je:var st=ce._payload,rt=ce._init;_e(rt(st),Ee,ue);break}}return Ee}function xe(ce,Ee,ue,Ye){for(var st=null,rt=0;rt<ue.length;rt++){var Ft=ue[rt];st=_e(Ft,st,ce)}for(var Gt=null,Qr=null,Dr=Ee,Ua=0,Ar=0,Ma=null;Dr!==null&&Ar<ue.length;Ar++){Dr.index>Ar?(Ma=Dr,Dr=null):Ma=Dr.sibling;var jn=X(ce,Dr,ue[Ar],Ye);if(jn===null){Dr===null&&(Dr=Ma);break}e&&Dr&&jn.alternate===null&&t(ce,Dr),Ua=d(jn,Ua,Ar),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn,Dr=Ma}if(Ar===ue.length){if(n(ce,Dr),kn()){var Nn=Ar;Bu(ce,Nn)}return Gt}if(Dr===null){for(;Ar<ue.length;Ar++){var Ho=J(ce,ue[Ar],Ye);Ho!==null&&(Ua=d(Ho,Ua,Ar),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Jn=Ar;Bu(ce,Jn)}return Gt}for(var Zn=i(ce,Dr);Ar<ue.length;Ar++){var Hn=ve(Zn,ce,Ar,ue[Ar],Ye);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Ar:Hn.key),Ua=d(Hn,Ua,Ar),Qr===null?Gt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(kd){return t(ce,kd)}),kn()){var ac=Ar;Bu(ce,ac)}return Gt}function et(ce,Ee,ue,Ye){var st=Ga(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"&&(I1||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."),I1=!0),ue.entries===st&&(M1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M1=!0);var rt=st.call(ue);if(rt)for(var Ft=null,Gt=rt.next();!Gt.done;Gt=rt.next()){var Qr=Gt.value;Ft=_e(Qr,Ft,ce)}}var Dr=st.call(ue);if(Dr==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Ar=null,Ma=Ee,jn=0,Nn=0,Ho=null,Jn=Dr.next();Ma!==null&&!Jn.done;Nn++,Jn=Dr.next()){Ma.index>Nn?(Ho=Ma,Ma=null):Ho=Ma.sibling;var Zn=X(ce,Ma,Jn.value,Ye);if(Zn===null){Ma===null&&(Ma=Ho);break}e&&Ma&&Zn.alternate===null&&t(ce,Ma),jn=d(Zn,jn,Nn),Ar===null?Ua=Zn:Ar.sibling=Zn,Ar=Zn,Ma=Ho}if(Jn.done){if(n(ce,Ma),kn()){var Hn=Nn;Bu(ce,Hn)}return Ua}if(Ma===null){for(;!Jn.done;Nn++,Jn=Dr.next()){var ac=J(ce,Jn.value,Ye);ac!==null&&(jn=d(ac,jn,Nn),Ar===null?Ua=ac:Ar.sibling=ac,Ar=ac)}if(kn()){var kd=Nn;Bu(ce,kd)}return Ua}for(var Fh=i(ce,Ma);!Jn.done;Nn++,Jn=Dr.next()){var ys=ve(Fh,ce,Nn,Jn.value,Ye);ys!==null&&(e&&ys.alternate!==null&&Fh.delete(ys.key===null?Nn:ys.key),jn=d(ys,jn,Nn),Ar===null?Ua=ys:Ar.sibling=ys,Ar=ys)}if(e&&Fh.forEach(function(gV){return t(ce,gV)}),kn()){var _V=Nn;Bu(ce,_V)}return Ua}function Et(ce,Ee,ue,Ye){if(Ee!==null&&Ee.tag===k){n(ce,Ee.sibling);var st=c(Ee,ue);return st.return=ce,st}n(ce,Ee);var rt=M0(ue,ce.mode,Ye);return rt.return=ce,rt}function wt(ce,Ee,ue,Ye){for(var st=ue.key,rt=Ee;rt!==null;){if(rt.key===st){var Ft=ue.type;if(Ft===le){if(rt.tag===L){n(ce,rt.sibling);var Gt=c(rt,ue.props.children);return Gt.return=ce,Gt._debugSource=ue._source,Gt._debugOwner=ue._owner,Gt}}else if(rt.elementType===Ft||f5(rt,ue)||typeof Ft=="object"&&Ft!==null&&Ft.$$typeof===Je&&nx(Ft)===rt.type){n(ce,rt.sibling);var Qr=c(rt,ue.props);return Qr.ref=lh(ce,rt,ue),Qr.return=ce,Qr._debugSource=ue._source,Qr._debugOwner=ue._owner,Qr}n(ce,rt);break}else t(ce,rt);rt=rt.sibling}if(ue.type===le){var Dr=Jc(ue.props.children,ce.mode,Ye,ue.key);return Dr.return=ce,Dr}else{var Ua=P0(ue,ce.mode,Ye);return Ua.ref=lh(ce,Ee,ue),Ua.return=ce,Ua}}function pr(ce,Ee,ue,Ye){for(var st=ue.key,rt=Ee;rt!==null;){if(rt.key===st)if(rt.tag===C&&rt.stateNode.containerInfo===ue.containerInfo&&rt.stateNode.implementation===ue.implementation){n(ce,rt.sibling);var Ft=c(rt,ue.children||[]);return Ft.return=ce,Ft}else{n(ce,rt);break}else t(ce,rt);rt=rt.sibling}var Gt=I0(ue,ce.mode,Ye);return Gt.return=ce,Gt}function hr(ce,Ee,ue,Ye){var st=typeof ue=="object"&&ue!==null&&ue.type===le&&ue.key===null;if(st&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return v(wt(ce,Ee,ue,Ye));case re:return v(pr(ce,Ee,ue,Ye));case Je:var rt=ue._payload,Ft=ue._init;return hr(ce,Ee,Ft(rt),Ye)}if(tn(ue))return xe(ce,Ee,ue,Ye);if(Ga(ue))return et(ce,Ee,ue,Ye);Tv(ce,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?v(Et(ce,Ee,""+ue,Ye)):(typeof ue=="function"&&Ev(ce),n(ce,Ee))}return hr}var ld=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=Xu(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Xu(n,n.pendingProps),i.return=t;i.sibling=null}}function VF(e,t){for(var n=e.child;n!==null;)MU(n,t),n=n.sibling}var j1=zc(null),H1;H1={};var Rv=null,sd=null,U1=null,Dv=!1;function Av(){Rv=null,sd=null,U1=null,Dv=!1}function lx(){Dv=!0}function sx(){Dv=!1}function cx(e,t,n){zn(j1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==H1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=H1}function V1(e,t){var n=j1.current;Bn(j1,t),e._currentValue=n}function W1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(Yf(i.childLanes,t)?c!==null&&!Yf(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 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 c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var v=d.firstContext;v!==null;){if(v.context===t){if(i.tag===m){var y=kp(n),S=Qs(va,y);S.tag=Nv;var E=i.updateQueue;if(E!==null){var A=E.shared,J=A.pending;J===null?S.next=S:(S.next=J.next,J.next=S),A.pending=S}}i.lanes=or(i.lanes,n);var X=i.alternate;X!==null&&(X.lanes=or(X.lanes,n)),W1(i.return,n,e),d.lanes=or(d.lanes,n);break}v=v.next}}else if(i.tag===P)c=i.type===e.type?null:i.child;else if(i.tag===Se){var ve=i.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=or(ve.lanes,n);var _e=ve.alternate;_e!==null&&(_e.lanes=or(_e.lanes,n)),W1(ve,n,e),c=i.sibling}else c=i.child;if(c!==null)c.return=i;else for(c=i;c!==null;){if(c===e){c=null;break}var xe=c.sibling;if(xe!==null){xe.return=c.return,c=xe;break}c=c.return}i=c}}function cd(e,t){Rv=e,sd=null,U1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Mo(n.lanes,t)&&Sh(),n.firstContext=null)}}function Qa(e){Dv&&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(U1!==e){var n={context:e,memoizedValue:t,next:null};if(sd===null){if(Rv===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().");sd=n,Rv.dependencies={lanes:Be,firstContext:n}}else sd=sd.next=n}return t}var Uu=null;function q1(e){Uu===null?Uu=[e]:Uu.push(e)}function YF(){if(Uu!==null){for(var e=0;e<Uu.length;e++){var t=Uu[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}}Uu=null}}function ux(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,q1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Lv(e,i)}function $F(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,q1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function GF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,q1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Lv(e,i)}function go(e,t){return Lv(e,t)}var KF=Lv;function Lv(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))!==Bt&&l5(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&(Xa|js))!==Bt&&l5(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var fx=0,dx=1,Nv=2,Y1=3,Ov=!1,$1,Pv;$1=!1,Pv=null;function G1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Be},effects:null};e.updateQueue=t}function px(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 Qs(e,t){var n={eventTime:e,lane:t,tag:fx,payload:null,callback:null,next:null};return n}function Uc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(Pv===c&&!$1&&(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."),$1=!0),JH()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,KF(e,n)}else return GF(e,c,t,n)}function Mv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(TC(n)){var d=c.lanes;d=RC(d,e.pendingLanes);var v=or(d,n);c.lanes=v,jb(e,v)}}}function K1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,v=null,y=n.firstBaseUpdate;if(y!==null){var S=y;do{var E={eventTime:S.eventTime,lane:S.lane,tag:S.tag,payload:S.payload,callback:S.callback,next:null};v===null?d=v=E:(v.next=E,v=E),S=S.next}while(S!==null);v===null?d=v=t:(v.next=t,v=t)}else d=v=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:v,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 XF(e,t,n,i,c,d){switch(n.tag){case dx:{var v=n.payload;if(typeof v=="function"){lx();var y=v.call(d,i,c);{if(e.mode&Pa){vn(!0);try{v.call(d,i,c)}finally{vn(!1)}}sx()}return y}return v}case Y1:e.flags=e.flags&~Gn|Pr;case fx:{var S=n.payload,E;if(typeof S=="function"){lx(),E=S.call(d,i,c);{if(e.mode&Pa){vn(!0);try{S.call(d,i,c)}finally{vn(!1)}}sx()}}else E=S;return E==null?i:At({},i,E)}case Nv:return Ov=!0,i}return i}function Iv(e,t,n,i){var c=e.updateQueue;Ov=!1,Pv=c.shared;var d=c.firstBaseUpdate,v=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var S=y,E=S.next;S.next=null,v===null?d=E:v.next=E,v=S;var A=e.alternate;if(A!==null){var J=A.updateQueue,X=J.lastBaseUpdate;X!==v&&(X===null?J.firstBaseUpdate=E:X.next=E,J.lastBaseUpdate=S)}}if(d!==null){var ve=c.baseState,_e=Be,xe=null,et=null,Et=null,wt=d;do{var pr=wt.lane,hr=wt.eventTime;if(Yf(i,pr)){if(Et!==null){var Ee={eventTime:hr,lane:_n,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null};Et=Et.next=Ee}ve=XF(e,c,wt,ve,t,n);var ue=wt.callback;if(ue!==null&&wt.lane!==_n){e.flags|=lb;var Ye=c.effects;Ye===null?c.effects=[wt]:Ye.push(wt)}}else{var ce={eventTime:hr,lane:pr,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null};Et===null?(et=Et=ce,xe=ve):Et=Et.next=ce,_e=or(_e,pr)}if(wt=wt.next,wt===null){if(y=c.shared.pending,y===null)break;var st=y,rt=st.next;st.next=null,wt=rt,c.lastBaseUpdate=st,c.shared.pending=null}}while(!0);Et===null&&(xe=ve),c.baseState=xe,c.firstBaseUpdate=et,c.lastBaseUpdate=Et;var Ft=c.shared.interleaved;if(Ft!==null){var Gt=Ft;do _e=or(_e,Gt.lane),Gt=Gt.next;while(Gt!==Ft)}else d===null&&(c.shared.lanes=Be);Ph(_e),e.lanes=_e,e.memoizedState=ve}Pv=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(){Ov=!1}function Bv(){return Ov}function mx(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],v=d.callback;v!==null&&(d.callback=null,QF(v,n))}}var sh={},Vc=zc(sh),ch=zc(sh),zv=zc(sh);function Fv(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=Fv(zv.current);return e}function X1(e,t){zn(zv,t,e),zn(ch,e,e),zn(Vc,sh,e);var n=hz(t);Bn(Vc,e),zn(Vc,n,e)}function ud(e){Bn(Vc,e),Bn(ch,e),Bn(zv,e)}function Q1(){var e=Fv(Vc.current);return e}function _x(e){var t=Fv(zv.current),n=Fv(Vc.current),i=mz(n,e.type);n!==i&&(zn(ch,e,e),zn(Vc,i,e))}function J1(e){ch.current===e&&(Bn(Vc,e),Bn(ch,e))}var JF=0,gx=1,bx=1,uh=2,Fl=zc(JF);function Z1(e,t){return(e&t)!==0}function fd(e){return e&gx}function ey(e,t){return e&gx|t}function ZF(e,t){return e|t}function Wc(e,t){zn(Fl,t,e)}function dd(e){Bn(Fl,e)}function ej(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function jv(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)||g1(i))return t}}else if(t.tag===we&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Pr)!==Bt;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var bo=0,rn=1,ps=2,an=4,Tn=8,ty=[];function ry(){for(var e=0;e<ty.length;e++){var t=ty[e];t._workInProgressVersionPrimary=null}ty.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,ay,pd;ay=new Set;var Vu=Be,Xr=null,nn=null,on=null,Hv=!1,dh=!1,ph=0,rj=0,aj=25,Le=null,bl=null,qc=-1,ny=!1;function Br(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function Ze(){{var e=Le;bl!==null&&(qc++,bl[qc]!==e&&nj(e))}}function hd(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 nj(e){{var t=er(Xr);if(!ay.has(t)&&(ay.add(t),bl!==null)){for(var n="",i=30,c=0;c<=qc;c++){for(var d=bl[c],v=c===qc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=v+`
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
71
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Ev(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 Rv(e){{var t=er(e)||"Component";if(F1[t])return;F1[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,Ee){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[Ee],ue.flags|=wc):ce.push(Ee)}}function n(ue,Ee){if(!e)return null;for(var ce=Ee;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function i(ue,Ee){for(var ce=new Map,Ye=Ee;Ye!==null;)Ye.key!==null?ce.set(Ye.key,Ye):ce.set(Ye.index,Ye),Ye=Ye.sibling;return ce}function u(ue,Ee){var ce=Xc(ue,Ee);return ce.index=0,ce.sibling=null,ce}function d(ue,Ee,ce){if(ue.index=ce,!e)return ue.flags|=sC,Ee;var Ye=ue.alternate;if(Ye!==null){var st=Ye.index;return st<Ee?(ue.flags|=Xa,Ee):st}else return ue.flags|=Xa,Ee}function v(ue){return e&&ue.alternate===null&&(ue.flags|=Xa),ue}function y(ue,Ee,ce,Ye){if(Ee===null||Ee.tag!==k){var st=M0(ce,ue.mode,Ye);return st.return=ue,st}else{var rt=u(Ee,ce);return rt.return=ue,rt}}function w(ue,Ee,ce,Ye){var st=ce.type;if(st===le)return A(ue,Ee,ce.props.children,Ye,ce.key);if(Ee!==null&&(Ee.elementType===st||fk(Ee,ce)||typeof st=="object"&&st!==null&&st.$$typeof===Je&&nx(st)===Ee.type)){var rt=u(Ee,ce.props);return rt.ref=lh(ue,Ee,ce),rt.return=ue,rt._debugSource=ce._source,rt._debugOwner=ce._owner,rt}var Ft=P0(ce,ue.mode,Ye);return Ft.ref=lh(ue,Ee,ce),Ft.return=ue,Ft}function E(ue,Ee,ce,Ye){if(Ee===null||Ee.tag!==C||Ee.stateNode.containerInfo!==ce.containerInfo||Ee.stateNode.implementation!==ce.implementation){var st=I0(ce,ue.mode,Ye);return st.return=ue,st}else{var rt=u(Ee,ce.children||[]);return rt.return=ue,rt}}function A(ue,Ee,ce,Ye,st){if(Ee===null||Ee.tag!==L){var rt=Ju(ce,ue.mode,Ye,st);return rt.return=ue,rt}else{var Ft=u(Ee,ce);return Ft.return=ue,Ft}}function J(ue,Ee,ce){if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"){var Ye=M0(""+Ee,ue.mode,ce);return Ye.return=ue,Ye}if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case V:{var st=P0(Ee,ue.mode,ce);return st.ref=lh(ue,null,Ee),st.return=ue,st}case re:{var rt=I0(Ee,ue.mode,ce);return rt.return=ue,rt}case Je:{var Ft=Ee._payload,Gt=Ee._init;return J(ue,Gt(Ft),ce)}}if(tn(Ee)||Ga(Ee)){var Qr=Ju(Ee,ue.mode,ce,null);return Qr.return=ue,Qr}Ev(ue,Ee)}return typeof Ee=="function"&&Rv(ue),null}function X(ue,Ee,ce,Ye){var st=Ee!==null?Ee.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return st!==null?null:y(ue,Ee,""+ce,Ye);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return ce.key===st?w(ue,Ee,ce,Ye):null;case re:return ce.key===st?E(ue,Ee,ce,Ye):null;case Je:{var rt=ce._payload,Ft=ce._init;return X(ue,Ee,Ft(rt),Ye)}}if(tn(ce)||Ga(ce))return st!==null?null:A(ue,Ee,ce,Ye,null);Ev(ue,ce)}return typeof ce=="function"&&Rv(ue),null}function ve(ue,Ee,ce,Ye,st){if(typeof Ye=="string"&&Ye!==""||typeof Ye=="number"){var rt=ue.get(ce)||null;return y(Ee,rt,""+Ye,st)}if(typeof Ye=="object"&&Ye!==null){switch(Ye.$$typeof){case V:{var Ft=ue.get(Ye.key===null?ce:Ye.key)||null;return w(Ee,Ft,Ye,st)}case re:{var Gt=ue.get(Ye.key===null?ce:Ye.key)||null;return E(Ee,Gt,Ye,st)}case Je:var Qr=Ye._payload,Dr=Ye._init;return ve(ue,Ee,ce,Dr(Qr),st)}if(tn(Ye)||Ga(Ye)){var Ua=ue.get(ce)||null;return A(Ee,Ua,Ye,st,null)}Ev(Ee,Ye)}return typeof Ye=="function"&&Rv(Ee),null}function _e(ue,Ee,ce){{if(typeof ue!="object"||ue===null)return Ee;switch(ue.$$typeof){case V:case re:ax(ue,ce);var Ye=ue.key;if(typeof Ye!="string")break;if(Ee===null){Ee=new Set,Ee.add(Ye);break}if(!Ee.has(Ye)){Ee.add(Ye);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.",Ye);break;case Je:var st=ue._payload,rt=ue._init;_e(rt(st),Ee,ce);break}}return Ee}function xe(ue,Ee,ce,Ye){for(var st=null,rt=0;rt<ce.length;rt++){var Ft=ce[rt];st=_e(Ft,st,ue)}for(var Gt=null,Qr=null,Dr=Ee,Ua=0,Ar=0,Ma=null;Dr!==null&&Ar<ce.length;Ar++){Dr.index>Ar?(Ma=Dr,Dr=null):Ma=Dr.sibling;var Fn=X(ue,Dr,ce[Ar],Ye);if(Fn===null){Dr===null&&(Dr=Ma);break}e&&Dr&&Fn.alternate===null&&t(ue,Dr),Ua=d(Fn,Ua,Ar),Qr===null?Gt=Fn:Qr.sibling=Fn,Qr=Fn,Dr=Ma}if(Ar===ce.length){if(n(ue,Dr),kn()){var Nn=Ar;zc(ue,Nn)}return Gt}if(Dr===null){for(;Ar<ce.length;Ar++){var Ho=J(ue,ce[Ar],Ye);Ho!==null&&(Ua=d(Ho,Ua,Ar),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Qn=Ar;zc(ue,Qn)}return Gt}for(var Jn=i(ue,Dr);Ar<ce.length;Ar++){var jn=ve(Jn,ue,Ar,ce[Ar],Ye);jn!==null&&(e&&jn.alternate!==null&&Jn.delete(jn.key===null?Ar:jn.key),Ua=d(jn,Ua,Ar),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn)}if(e&&Jn.forEach(function(kd){return t(ue,kd)}),kn()){var au=Ar;zc(ue,au)}return Gt}function et(ue,Ee,ce,Ye){var st=Ga(ce);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"&&ce[Symbol.toStringTag]==="Generator"&&(I1||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."),I1=!0),ce.entries===st&&(M1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M1=!0);var rt=st.call(ce);if(rt)for(var Ft=null,Gt=rt.next();!Gt.done;Gt=rt.next()){var Qr=Gt.value;Ft=_e(Qr,Ft,ue)}}var Dr=st.call(ce);if(Dr==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Ar=null,Ma=Ee,Fn=0,Nn=0,Ho=null,Qn=Dr.next();Ma!==null&&!Qn.done;Nn++,Qn=Dr.next()){Ma.index>Nn?(Ho=Ma,Ma=null):Ho=Ma.sibling;var Jn=X(ue,Ma,Qn.value,Ye);if(Jn===null){Ma===null&&(Ma=Ho);break}e&&Ma&&Jn.alternate===null&&t(ue,Ma),Fn=d(Jn,Fn,Nn),Ar===null?Ua=Jn:Ar.sibling=Jn,Ar=Jn,Ma=Ho}if(Qn.done){if(n(ue,Ma),kn()){var jn=Nn;zc(ue,jn)}return Ua}if(Ma===null){for(;!Qn.done;Nn++,Qn=Dr.next()){var au=J(ue,Qn.value,Ye);au!==null&&(Fn=d(au,Fn,Nn),Ar===null?Ua=au:Ar.sibling=au,Ar=au)}if(kn()){var kd=Nn;zc(ue,kd)}return Ua}for(var Fh=i(ue,Ma);!Qn.done;Nn++,Qn=Dr.next()){var ys=ve(Fh,ue,Nn,Qn.value,Ye);ys!==null&&(e&&ys.alternate!==null&&Fh.delete(ys.key===null?Nn:ys.key),Fn=d(ys,Fn,Nn),Ar===null?Ua=ys:Ar.sibling=ys,Ar=ys)}if(e&&Fh.forEach(function(gV){return t(ue,gV)}),kn()){var _V=Nn;zc(ue,_V)}return Ua}function Et(ue,Ee,ce,Ye){if(Ee!==null&&Ee.tag===k){n(ue,Ee.sibling);var st=u(Ee,ce);return st.return=ue,st}n(ue,Ee);var rt=M0(ce,ue.mode,Ye);return rt.return=ue,rt}function St(ue,Ee,ce,Ye){for(var st=ce.key,rt=Ee;rt!==null;){if(rt.key===st){var Ft=ce.type;if(Ft===le){if(rt.tag===L){n(ue,rt.sibling);var Gt=u(rt,ce.props.children);return Gt.return=ue,Gt._debugSource=ce._source,Gt._debugOwner=ce._owner,Gt}}else if(rt.elementType===Ft||fk(rt,ce)||typeof Ft=="object"&&Ft!==null&&Ft.$$typeof===Je&&nx(Ft)===rt.type){n(ue,rt.sibling);var Qr=u(rt,ce.props);return Qr.ref=lh(ue,rt,ce),Qr.return=ue,Qr._debugSource=ce._source,Qr._debugOwner=ce._owner,Qr}n(ue,rt);break}else t(ue,rt);rt=rt.sibling}if(ce.type===le){var Dr=Ju(ce.props.children,ue.mode,Ye,ce.key);return Dr.return=ue,Dr}else{var Ua=P0(ce,ue.mode,Ye);return Ua.ref=lh(ue,Ee,ce),Ua.return=ue,Ua}}function pr(ue,Ee,ce,Ye){for(var st=ce.key,rt=Ee;rt!==null;){if(rt.key===st)if(rt.tag===C&&rt.stateNode.containerInfo===ce.containerInfo&&rt.stateNode.implementation===ce.implementation){n(ue,rt.sibling);var Ft=u(rt,ce.children||[]);return Ft.return=ue,Ft}else{n(ue,rt);break}else t(ue,rt);rt=rt.sibling}var Gt=I0(ce,ue.mode,Ye);return Gt.return=ue,Gt}function hr(ue,Ee,ce,Ye){var st=typeof ce=="object"&&ce!==null&&ce.type===le&&ce.key===null;if(st&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return v(St(ue,Ee,ce,Ye));case re:return v(pr(ue,Ee,ce,Ye));case Je:var rt=ce._payload,Ft=ce._init;return hr(ue,Ee,Ft(rt),Ye)}if(tn(ce))return xe(ue,Ee,ce,Ye);if(Ga(ce))return et(ue,Ee,ce,Ye);Ev(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?v(Et(ue,Ee,""+ce,Ye)):(typeof ce=="function"&&Rv(ue),n(ue,Ee))}return hr}var ld=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=Xc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Xc(n,n.pendingProps),i.return=t;i.sibling=null}}function VF(e,t){for(var n=e.child;n!==null;)MU(n,t),n=n.sibling}var j1=Bu(null),H1;H1={};var Dv=null,sd=null,U1=null,Av=!1;function Lv(){Dv=null,sd=null,U1=null,Av=!1}function lx(){Av=!0}function sx(){Av=!1}function ux(e,t,n){zn(j1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==H1&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=H1}function V1(e,t){var n=j1.current;In(j1,t),e._currentValue=n}function W1(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if(Yf(i.childLanes,t)?u!==null&&!Yf(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),w=Qs(va,y);w.tag=Ov;var E=i.updateQueue;if(E!==null){var A=E.shared,J=A.pending;J===null?w.next=w:(w.next=J.next,J.next=w),A.pending=w}}i.lanes=or(i.lanes,n);var X=i.alternate;X!==null&&(X.lanes=or(X.lanes,n)),W1(i.return,n,e),d.lanes=or(d.lanes,n);break}v=v.next}}else if(i.tag===P)u=i.type===e.type?null:i.child;else if(i.tag===we){var ve=i.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=or(ve.lanes,n);var _e=ve.alternate;_e!==null&&(_e.lanes=or(_e.lanes,n)),W1(ve,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 xe=u.sibling;if(xe!==null){xe.return=u.return,u=xe;break}u=u.return}i=u}}function ud(e,t){Dv=e,sd=null,U1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Mo(n.lanes,t)&&wh(),n.firstContext=null)}}function Qa(e){Av&&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(U1!==e){var n={context:e,memoizedValue:t,next:null};if(sd===null){if(Dv===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().");sd=n,Dv.dependencies={lanes:ze,firstContext:n}}else sd=sd.next=n}return t}var Uc=null;function q1(e){Uc===null?Uc=[e]:Uc.push(e)}function YF(){if(Uc!==null){for(var e=0;e<Uc.length;e++){var t=Uc[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}}Uc=null}}function cx(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,q1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Nv(e,i)}function $F(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,q1(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,q1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Nv(e,i)}function go(e,t){return Nv(e,t)}var KF=Nv;function Nv(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,Ov=2,Y1=3,Pv=!1,$1,Mv;$1=!1,Mv=null;function G1(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(Mv===u&&!$1&&(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."),$1=!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 Iv(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,jb(e,v)}}}function K1(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 w=y;do{var E={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};v===null?d=v=E:(v.next=E,v=E),w=w.next}while(w!==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&Pa){vn(!0);try{v.call(d,i,u)}finally{vn(!1)}}sx()}return y}return v}case Y1:e.flags=e.flags&~$n|Pr;case fx:{var w=n.payload,E;if(typeof w=="function"){lx(),E=w.call(d,i,u);{if(e.mode&Pa){vn(!0);try{w.call(d,i,u)}finally{vn(!1)}}sx()}}else E=w;return E==null?i:At({},i,E)}case Ov:return Pv=!0,i}return i}function zv(e,t,n,i){var u=e.updateQueue;Pv=!1,Mv=u.shared;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var w=y,E=w.next;w.next=null,v===null?d=E:v.next=E,v=w;var A=e.alternate;if(A!==null){var J=A.updateQueue,X=J.lastBaseUpdate;X!==v&&(X===null?J.firstBaseUpdate=E:X.next=E,J.lastBaseUpdate=w)}}if(d!==null){var ve=u.baseState,_e=ze,xe=null,et=null,Et=null,St=d;do{var pr=St.lane,hr=St.eventTime;if(Yf(i,pr)){if(Et!==null){var Ee={eventTime:hr,lane:_n,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Et=Et.next=Ee}ve=XF(e,u,St,ve,t,n);var ce=St.callback;if(ce!==null&&St.lane!==_n){e.flags|=lb;var Ye=u.effects;Ye===null?u.effects=[St]:Ye.push(St)}}else{var ue={eventTime:hr,lane:pr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Et===null?(et=Et=ue,xe=ve):Et=Et.next=ue,_e=or(_e,pr)}if(St=St.next,St===null){if(y=u.shared.pending,y===null)break;var st=y,rt=st.next;st.next=null,St=rt,u.lastBaseUpdate=st,u.shared.pending=null}}while(!0);Et===null&&(xe=ve),u.baseState=xe,u.firstBaseUpdate=et,u.lastBaseUpdate=Et;var Ft=u.shared.interleaved;if(Ft!==null){var Gt=Ft;do _e=or(_e,Gt.lane),Gt=Gt.next;while(Gt!==Ft)}else d===null&&(u.shared.lanes=ze);Ph(_e),e.lanes=_e,e.memoizedState=ve}Mv=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(){Pv=!1}function Bv(){return Pv}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),Fv=Bu(sh);function jv(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=jv(Fv.current);return e}function X1(e,t){zn(Fv,t,e),zn(uh,e,e),zn(Vu,sh,e);var n=hB(t);In(Vu,e),zn(Vu,n,e)}function cd(e){In(Vu,e),In(uh,e),In(Fv,e)}function Q1(){var e=jv(Vu.current);return e}function _x(e){var t=jv(Fv.current),n=jv(Vu.current),i=mB(n,e.type);n!==i&&(zn(uh,e,e),zn(Vu,i,e))}function J1(e){uh.current===e&&(In(Vu,e),In(uh,e))}var JF=0,gx=1,bx=1,ch=2,Fl=Bu(JF);function Z1(e,t){return(e&t)!==0}function fd(e){return e&gx}function ey(e,t){return e&gx|t}function ZF(e,t){return e|t}function Wu(e,t){zn(Fl,t,e)}function dd(e){In(Fl,e)}function ej(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Hv(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)||g1(i))return t}}else if(t.tag===Se&&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,ty=[];function ry(){for(var e=0;e<ty.length;e++){var t=ty[e];t._workInProgressVersionPrimary=null}ty.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,ay,pd;ay=new Set;var Vc=ze,Xr=null,nn=null,on=null,Uv=!1,dh=!1,ph=0,rj=0,aj=25,Le=null,bl=null,qu=-1,ny=!1;function zr(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function Ze(){{var e=Le;bl!==null&&(qu++,bl[qu]!==e&&nj(e))}}function hd(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=er(Xr);if(!ay.has(t)&&(ay.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}c(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
73
73
 
74
74
  Previous render Next render
75
75
  ------------------------------------------------------
76
76
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
- `,t,n)}}}function Fn(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
77
+ `,t,n)}}}function Bn(){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 oy(e,t){if(ny)return!1;if(t===null)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Le),!1;e.length!==t.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
81
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oy(e,t){if(ny)return!1;if(t===null)return c("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Le),!1;e.length!==t.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
82
82
 
83
83
  Previous: %s
84
- Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!zo(e[n],t[n]))return!1;return!0}function md(e,t,n,i,c,d){Vu=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qc=-1,ny=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Be,e!==null&&e.memoizedState!==null?ot.current=Hx:bl!==null?ot.current=jx:ot.current=Fx;var v=n(i,c);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,ny=!1,nn=null,on=null,t.updateQueue=null,qc=-1,ot.current=Ux,v=n(i,c)}while(dh)}ot.current=e_,t._debugHookTypes=bl;var S=nn!==null&&nn.next!==null;if(Vu=Be,Xr=null,nn=null,on=null,Le=null,bl=null,qc=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&vr)!==Lt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Hv=!1,S)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return v}function vd(){var e=ph!==0;return ph=0,e}function yx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&cs)!==Lt?t.flags&=~(Mm|Hs|Ol|wr):t.flags&=~(Ol|wr),e.lanes=Um(e.lanes,n)}function wx(){if(ot.current=e_,Hv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Hv=!1}Vu=Be,Xr=null,nn=null,on=null,bl=null,qc=-1,Le=null,Px=!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 Sx(){return{lastEffect:null,stores:null}}function iy(e,t){return typeof t=="function"?t(e):t}function ly(e,t,n){var i=hs(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:Be,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var v=d.dispatch=sj.bind(null,Xr,d);return[i.memoizedState,v]}function sy(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,v=d.baseQueue,y=c.pending;if(y!==null){if(v!==null){var S=v.next,E=y.next;v.next=E,y.next=S}d.baseQueue!==v&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=v=y,c.pending=null}if(v!==null){var A=v.next,J=d.baseState,X=null,ve=null,_e=null,xe=A;do{var et=xe.lane;if(Yf(Vu,et)){if(_e!==null){var wt={lane:_n,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e=_e.next=wt}if(xe.hasEagerState)J=xe.eagerState;else{var pr=xe.action;J=e(J,pr)}}else{var Et={lane:et,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e===null?(ve=_e=Et,X=J):_e=_e.next=Et,Xr.lanes=or(Xr.lanes,et),Ph(et)}xe=xe.next}while(xe!==null&&xe!==A);_e===null?X=J:_e.next=ve,zo(J,i.memoizedState)||Sh(),i.memoizedState=J,i.baseState=X,i.baseQueue=_e,c.lastRenderedState=J}var hr=c.interleaved;if(hr!==null){var ce=hr;do{var Ee=ce.lane;Xr.lanes=or(Xr.lanes,Ee),Ph(Ee),ce=ce.next}while(ce!==hr)}else v===null&&(c.lanes=Be);var ue=c.dispatch;return[i.memoizedState,ue]}function cy(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,v=c.pending,y=i.memoizedState;if(v!==null){c.pending=null;var S=v.next,E=S;do{var A=E.action;y=e(y,A),E=E.next}while(E!==S);zo(y,i.memoizedState)||Sh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function V$(e,t,n){}function W$(e,t,n){}function uy(e,t,n){var i=Xr,c=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(),pd||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),pd=!0)}else{if(d=t(),!pd){var y=t();zo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var S=b_();if(S===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hm(S,Vu)||Cx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Yv(kx.bind(null,i,E,e),[e]),i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null),d}function Uv(e,t,n){var i=Xr,c=yl(),d=t();if(!pd){var v=t();zo(d,v)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var y=c.memoizedState,S=!zo(y,d);S&&(c.memoizedState=d,Sh());var E=c.queue;if(vh(kx.bind(null,i,E,e),[e]),E.getSnapshot!==t||S||on!==null&&on.memoizedState.tag&rn){i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null);var A=b_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hm(A,Vu)||Cx(i,t,d)}return d}function Cx(e,t,n){e.flags|=Pm;var i={getSnapshot:t,value:n},c=Xr.updateQueue;if(c===null)c=Sx(),Xr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.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!zo(n,i)}catch(c){return!0}}function Ex(e){var t=go(e,Yt);t!==null&&un(t,e,Yt,va)}function Vv(e){var t=hs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Be,dispatch:null,lastRenderedReducer:iy,lastRenderedState:e};t.queue=n;var i=n.dispatch=cj.bind(null,Xr,n);return[t.memoizedState,i]}function fy(e){return sy(iy)}function dy(e){return cy(iy)}function hh(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=Sx(),Xr.updateQueue=d,d.lastEffect=c.next=c;else{var v=d.lastEffect;if(v===null)d.lastEffect=c.next=c;else{var y=v.next;v.next=c,c.next=y,d.lastEffect=c}}return c}function py(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function Wv(e){var t=yl();return t.memoizedState}function mh(e,t,n,i){var c=hs(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=hh(rn|t,n,void 0,d)}function qv(e,t,n,i){var c=yl(),d=i===void 0?null:i,v=void 0;if(nn!==null){var y=nn.memoizedState;if(v=y.destroy,d!==null){var S=y.deps;if(oy(d,S)){c.memoizedState=hh(t,n,v,d);return}}}Xr.flags|=e,c.memoizedState=hh(rn|t,n,v,d)}function Yv(e,t){return(Xr.mode&cs)!==Lt?mh(Mm|Ol|ub,Tn,e,t):mh(Ol|ub,Tn,e,t)}function vh(e,t){return qv(Ol,Tn,e,t)}function hy(e,t){return mh(wr,ps,e,t)}function $v(e,t){return qv(wr,ps,e,t)}function my(e,t){var n=wr;return n|=ku,(Xr.mode&cs)!==Lt&&(n|=Hs),mh(n,an,e,t)}function Gv(e,t){return qv(wr,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 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 vy(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=wr;return c|=ku,(Xr.mode&cs)!==Lt&&(c|=Hs),mh(c,an,Rx.bind(null,t,e),i)}function Kv(e,t,n){typeof t!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return qv(wr,an,Rx.bind(null,t,e),i)}function oj(e,t){}var Xv=oj;function _y(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Qv(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(oy(i,d))return c[0]}return n.memoizedState=[e,i],e}function gy(e,t){var n=hs(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function Jv(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(oy(i,d))return c[0]}var v=e();return n.memoizedState=[v,i],v}function by(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=!WI(Vu);if(i){if(!zo(n,t)){var c=EC();Xr.lanes=or(Xr.lanes,c),Ph(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Sh()),e.memoizedState=n,n}function ij(e,t,n){var i=Ml();gn(ZI(i,Ws)),e(!0);var c=fh.transition;fh.transition={};var d=fh.transition;fh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(gn(i),fh.transition=c,c===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 yy(){var e=Vv(!1),t=e[0],n=e[1],i=ij.bind(null,n),c=hs();return c.memoizedState=i,[t,i]}function Nx(){var e=fy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ox(){var e=dy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Px=!1;function lj(){return Px}function wy(){var e=hs(),t=b_(),n=t.identifierPrefix,i;if(kn()){var c=xF();i=":"+n+"R"+c;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 Zv(){var e=yl(),t=e.memoizedState;return t}function sj(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=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mx(e))Ix(t,c);else{var d=ux(e,t,c,i);if(d!==null){var v=Qn();un(d,e,i,v),Bx(d,t,i)}}zx(e,i)}function cj(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=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mx(e))Ix(t,c);else{var d=e.alternate;if(e.lanes===Be&&(d===null||d.lanes===Be)){var v=t.lastRenderedReducer;if(v!==null){var y;y=ot.current,ot.current=jl;try{var S=t.lastRenderedState,E=v(S,n);if(c.hasEagerState=!0,c.eagerState=E,zo(E,S)){$F(e,t,c,i);return}}catch(X){}finally{ot.current=y}}}var A=ux(e,t,c,i);if(A!==null){var J=Qn();un(A,e,i,J),Bx(A,t,i)}}zx(e,i)}function Mx(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Ix(e,t){dh=Hv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bx(e,t,n){if(TC(n)){var i=t.lanes;i=RC(i,e.pendingLanes);var c=or(i,n);t.lanes=c,jb(e,c)}}function zx(e,t,n){mb(e,t)}var e_={readContext:Qa,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},Fx=null,jx=null,Hx=null,Ux=null,ms=null,jl=null,t_=null;{var Sy=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().")},$t=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")};Fx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Br(),hd(t),_y(e,t)},useContext:function(e){return Le="useContext",Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Br(),hd(t),Yv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),hd(n),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),hd(t),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),hd(t),my(e,t)},useMemo:function(e,t){Le="useMemo",Br(),hd(t);var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Br(),py(e)},useState:function(e){Le="useState",Br();var t=ot.current;ot.current=ms;try{return Vv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),by(e)},useTransition:function(){return Le="useTransition",Br(),yy()},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(),wy()},unstable_isNewReconciler:ne},jx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),_y(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),Yv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),my(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),py(e)},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=ms;try{return Vv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),by(e)},useTransition:function(){return Le="useTransition",Ze(),yy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),uy(e,t,n)},useId:function(){return Le="useId",Ze(),wy()},unstable_isNewReconciler:ne},Hx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Qv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Kv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),$v(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),Gv(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=jl;try{return Jv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=jl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),Wv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=jl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Xv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Dx(e)},useTransition:function(){return Le="useTransition",Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Uv(e,t)},useId:function(){return Le="useId",Ze(),Zv()},unstable_isNewReconciler:ne},Ux={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Qv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Kv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),$v(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),Gv(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=t_;try{return Jv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=t_;try{return cy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),Wv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=t_;try{return dy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Xv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Ax(e)},useTransition:function(){return Le="useTransition",Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Uv(e,t)},useId:function(){return Le="useId",Ze(),Zv()},unstable_isNewReconciler:ne},ms={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),Br(),_y(e,t)},useContext:function(e){return Le="useContext",$t(),Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),Br(),Yv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),Br(),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),Br(),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),Br(),my(e,t)},useMemo:function(e,t){Le="useMemo",$t(),Br();var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),Br();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),Br(),py(e)},useState:function(e){Le="useState",$t(),Br();var t=ot.current;ot.current=ms;try{return Vv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",$t(),Br(),by(e)},useTransition:function(){return Le="useTransition",$t(),Br(),yy()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),Br(),uy(e,t,n)},useId:function(){return Le="useId",$t(),Br(),wy()},unstable_isNewReconciler:ne},jl={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),Ze(),Qv(e,t)},useContext:function(e){return Le="useContext",$t(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),Ze(),Kv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),Ze(),$v(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),Ze(),Gv(e,t)},useMemo:function(e,t){Le="useMemo",$t(),Ze();var n=ot.current;ot.current=jl;try{return Jv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),Ze();var i=ot.current;ot.current=jl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),Ze(),Wv()},useState:function(e){Le="useState",$t(),Ze();var t=ot.current;ot.current=jl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),Ze(),Xv()},useDeferredValue:function(e){return Le="useDeferredValue",$t(),Ze(),Dx(e)},useTransition:function(){return Le="useTransition",$t(),Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),Ze(),Uv(e,t)},useId:function(){return Le="useId",$t(),Ze(),Zv()},unstable_isNewReconciler:ne},t_={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),Ze(),Qv(e,t)},useContext:function(e){return Le="useContext",$t(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),Ze(),Kv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),Ze(),$v(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),Ze(),Gv(e,t)},useMemo:function(e,t){Le="useMemo",$t(),Ze();var n=ot.current;ot.current=jl;try{return Jv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),Ze();var i=ot.current;ot.current=jl;try{return cy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),Ze(),Wv()},useState:function(e){Le="useState",$t(),Ze();var t=ot.current;ot.current=jl;try{return dy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),Ze(),Xv()},useDeferredValue:function(e){return Le="useDeferredValue",$t(),Ze(),Ax(e)},useTransition:function(){return Le="useTransition",$t(),Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),Ze(),Uv(e,t)},useId:function(){return Le="useId",$t(),Ze(),Zv()},unstable_isNewReconciler:ne}}var Yc=a.unstable_now,Vx=0,r_=-1,_h=-1,a_=-1,Cy=!1,n_=!1;function Wx(){return Cy}function uj(){n_=!0}function fj(){Cy=!1,n_=!1}function dj(){Cy=n_,n_=!1}function qx(){return Vx}function Yx(){Vx=Yc()}function xy(e){_h=Yc(),e.actualStartTime<0&&(e.actualStartTime=Yc())}function $x(e){_h=-1}function o_(e,t){if(_h>=0){var n=Yc()-_h;e.actualDuration+=n,t&&(e.selfBaseDuration=n),_h=-1}}function vs(e){if(r_>=0){var t=Yc()-r_;r_=-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 ky(e){if(a_>=0){var t=Yc()-a_;a_=-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 _s(){r_=Yc()}function Ty(){a_=Yc()}function Ey(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Hl(e,t){if(e&&e.defaultProps){var n=At({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ry={},Dy,Ay,Ly,Ny,Oy,Gx,i_,Py,My,Iy,gh;{Dy=new Set,Ay=new Set,Ly=new Set,Ny=new Set,Py=new Set,Oy=new Set,My=new Set,Iy=new Set,gh=new Set;var Kx=new Set;i_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Kx.has(n)||(Kx.add(n),u("%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";Oy.has(n)||(Oy.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ry,"_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(Ry)}function By(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Pa){vn(!0);try{d=n(i,c)}finally{vn(!1)}}Gx(t,d)}var v=d==null?c:At({},c,d);if(e.memoizedState=v,e.lanes===Be){var y=e.updateQueue;y.baseState=v}}var zy={isMounted:aI,enqueueSetState:function(e,t,n){var i=Ff(e),c=Qn(),d=Xc(i),v=Qs(c,d);v.payload=t,n!=null&&(i_(n,"setState"),v.callback=n);var y=Uc(i,v,d);y!==null&&(un(y,i,d,c),Mv(y,i,d)),mb(i,d)},enqueueReplaceState:function(e,t,n){var i=Ff(e),c=Qn(),d=Xc(i),v=Qs(c,d);v.tag=dx,v.payload=t,n!=null&&(i_(n,"replaceState"),v.callback=n);var y=Uc(i,v,d);y!==null&&(un(y,i,d,c),Mv(y,i,d)),mb(i,d)},enqueueForceUpdate:function(e,t){var n=Ff(e),i=Qn(),c=Xc(n),d=Qs(i,c);d.tag=Nv,t!=null&&(i_(t,"forceUpdate"),d.callback=t);var v=Uc(n,d,c);v!==null&&(un(v,n,c,i),Mv(v,n,c)),PI(n,c)}};function Xx(e,t,n,i,c,d,v){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var S=y.shouldComponentUpdate(i,d,v);{if(e.mode&Pa){vn(!0);try{S=y.shouldComponentUpdate(i,d,v)}finally{vn(!1)}}S===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return S}return t.prototype&&t.prototype.isPureReactComponent?!jp(n,i)||!jp(c,d):!0}function pj(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&&!gh.has(t)&&(e.mode&Pa)===Lt&&(gh.add(t),u(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
84
+ Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Bo(e[n],t[n]))return!1;return!0}function md(e,t,n,i,u,d){Vc=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qu=-1,ny=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,ny=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ot.current=Ux,v=n(i,u)}while(dh)}ot.current=t_,t._debugHookTypes=bl;var w=nn!==null&&nn.next!==null;if(Vc=ze,Xr=null,nn=null,on=null,Le=null,bl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&vr)!==Lt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),Uv=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return v}function vd(){var e=ph!==0;return ph=0,e}function yx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Lt?t.flags&=~(Im|Hs|Ol|Sr):t.flags&=~(Ol|Sr),e.lanes=Vm(e.lanes,n)}function Sx(){if(ot.current=t_,Uv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Uv=!1}Vc=ze,Xr=null,nn=null,on=null,bl=null,qu=-1,Le=null,Px=!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 iy(e,t){return typeof t=="function"?t(e):t}function ly(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 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=nn,v=d.baseQueue,y=u.pending;if(y!==null){if(v!==null){var w=v.next,E=y.next;v.next=E,y.next=w}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,J=d.baseState,X=null,ve=null,_e=null,xe=A;do{var et=xe.lane;if(Yf(Vc,et)){if(_e!==null){var St={lane:_n,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e=_e.next=St}if(xe.hasEagerState)J=xe.eagerState;else{var pr=xe.action;J=e(J,pr)}}else{var Et={lane:et,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e===null?(ve=_e=Et,X=J):_e=_e.next=Et,Xr.lanes=or(Xr.lanes,et),Ph(et)}xe=xe.next}while(xe!==null&&xe!==A);_e===null?X=J:_e.next=ve,Bo(J,i.memoizedState)||wh(),i.memoizedState=J,i.baseState=X,i.baseQueue=_e,u.lastRenderedState=J}var hr=u.interleaved;if(hr!==null){var ue=hr;do{var Ee=ue.lane;Xr.lanes=or(Xr.lanes,Ee),Ph(Ee),ue=ue.next}while(ue!==hr)}else v===null&&(u.lanes=ze);var ce=u.dispatch;return[i.memoizedState,ce]}function uy(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 w=v.next,E=w;do{var A=E.action;y=e(y,A),E=E.next}while(E!==w);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 cy(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(),pd||d!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),pd=!0)}else{if(d=t(),!pd){var y=t();Bo(d,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var w=y_();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Um(w,Vc)||Cx(i,t,d)}u.memoizedState=d;var E={value:d,getSnapshot:t};return u.queue=E,$v(kx.bind(null,i,E,e),[e]),i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null),d}function Vv(e,t,n){var i=Xr,u=yl(),d=t();if(!pd){var v=t();Bo(d,v)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var y=u.memoizedState,w=!Bo(y,d);w&&(u.memoizedState=d,wh());var E=u.queue;if(vh(kx.bind(null,i,E,e),[e]),E.getSnapshot!==t||w||on!==null&&on.memoizedState.tag&rn){i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null);var A=y_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Um(A,Vc)||Cx(i,t,d)}return d}function Cx(e,t,n){e.flags|=Mm;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,Yt);t!==null&&cn(t,e,Yt,va)}function Wv(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:iy,lastRenderedState:e};t.queue=n;var i=n.dispatch=uj.bind(null,Xr,n);return[t.memoizedState,i]}function fy(e){return sy(iy)}function dy(e){return uy(iy)}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 py(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function qv(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 Yv(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 w=y.deps;if(oy(d,w)){u.memoizedState=hh(t,n,v,d);return}}}Xr.flags|=e,u.memoizedState=hh(rn|t,n,v,d)}function $v(e,t){return(Xr.mode&us)!==Lt?mh(Im|Ol|cb,Tn,e,t):mh(Ol|cb,Tn,e,t)}function vh(e,t){return Yv(Ol,Tn,e,t)}function hy(e,t){return mh(Sr,ps,e,t)}function Gv(e,t){return Yv(Sr,ps,e,t)}function my(e,t){var n=Sr;return n|=kc,(Xr.mode&us)!==Lt&&(n|=Hs),mh(n,an,e,t)}function Kv(e,t){return Yv(Sr,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 vy(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=Sr;return u|=kc,(Xr.mode&us)!==Lt&&(u|=Hs),mh(u,an,Rx.bind(null,t,e),i)}function Xv(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 Yv(Sr,an,Rx.bind(null,t,e),i)}function oj(e,t){}var Qv=oj;function _y(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Jv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(oy(i,d))return u[0]}return n.memoizedState=[e,i],e}function gy(e,t){var n=hs(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function Zv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(oy(i,d))return u[0]}var v=e();return n.memoizedState=[v,i],v}function by(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=!WM(Vc);if(i){if(!Bo(n,t)){var u=EC();Xr.lanes=or(Xr.lanes,u),Ph(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=Ml();gn(ZM(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(gn(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 yy(){var e=Wv(!1),t=e[0],n=e[1],i=ij.bind(null,n),u=hs();return u.memoizedState=i,[t,i]}function Nx(){var e=fy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ox(){var e=dy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Px=!1;function lj(){return Px}function Sy(){var e=hs(),t=y_(),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 e_(){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(Mx(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(Mx(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=jl;try{var w=t.lastRenderedState,E=v(w,n);if(u.hasEagerState=!0,u.eagerState=E,Bo(E,w)){$F(e,t,u,i);return}}catch(X){}finally{ot.current=y}}}var A=cx(e,t,u,i);if(A!==null){var J=Xn();cn(A,e,i,J),zx(A,t,i)}}Bx(e,i)}function Mx(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Ix(e,t){dh=Uv=!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,jb(e,u)}}function Bx(e,t,n){mb(e,t)}var t_={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,jl=null,r_=null;{var wy=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().")},$t=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",zr(),hd(t),_y(e,t)},useContext:function(e){return Le="useContext",zr(),Qa(e)},useEffect:function(e,t){return Le="useEffect",zr(),hd(t),$v(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",zr(),hd(n),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",zr(),hd(t),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",zr(),hd(t),my(e,t)},useMemo:function(e,t){Le="useMemo",zr(),hd(t);var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",zr();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",zr(),py(e)},useState:function(e){Le="useState",zr();var t=ot.current;ot.current=ms;try{return Wv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",zr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",zr(),by(e)},useTransition:function(){return Le="useTransition",zr(),yy()},useMutableSource:function(e,t,n){return Le="useMutableSource",zr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",zr(),cy(e,t,n)},useId:function(){return Le="useId",zr(),Sy()},unstable_isNewReconciler:ne},jx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),_y(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),$v(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),my(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),py(e)},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=ms;try{return Wv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),by(e)},useTransition:function(){return Le="useTransition",Ze(),yy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),cy(e,t,n)},useId:function(){return Le="useId",Ze(),Sy()},unstable_isNewReconciler:ne},Hx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Jv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Xv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),Gv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),Kv(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=jl;try{return Zv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=jl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),qv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=jl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Qv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Dx(e)},useTransition:function(){return Le="useTransition",Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Vv(e,t)},useId:function(){return Le="useId",Ze(),e_()},unstable_isNewReconciler:ne},Ux={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Jv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Xv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),Gv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),Kv(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=r_;try{return Zv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=r_;try{return uy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),qv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=r_;try{return dy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Qv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Ax(e)},useTransition:function(){return Le="useTransition",Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Vv(e,t)},useId:function(){return Le="useId",Ze(),e_()},unstable_isNewReconciler:ne},ms={readContext:function(e){return wy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),zr(),_y(e,t)},useContext:function(e){return Le="useContext",$t(),zr(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),zr(),$v(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),zr(),vy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),zr(),hy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),zr(),my(e,t)},useMemo:function(e,t){Le="useMemo",$t(),zr();var n=ot.current;ot.current=ms;try{return gy(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),zr();var i=ot.current;ot.current=ms;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),zr(),py(e)},useState:function(e){Le="useState",$t(),zr();var t=ot.current;ot.current=ms;try{return Wv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),zr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",$t(),zr(),by(e)},useTransition:function(){return Le="useTransition",$t(),zr(),yy()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),zr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),zr(),cy(e,t,n)},useId:function(){return Le="useId",$t(),zr(),Sy()},unstable_isNewReconciler:ne},jl={readContext:function(e){return wy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),Ze(),Jv(e,t)},useContext:function(e){return Le="useContext",$t(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),Ze(),Xv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),Ze(),Gv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),Ze(),Kv(e,t)},useMemo:function(e,t){Le="useMemo",$t(),Ze();var n=ot.current;ot.current=jl;try{return Zv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),Ze();var i=ot.current;ot.current=jl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),Ze(),qv()},useState:function(e){Le="useState",$t(),Ze();var t=ot.current;ot.current=jl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),Ze(),Qv()},useDeferredValue:function(e){return Le="useDeferredValue",$t(),Ze(),Dx(e)},useTransition:function(){return Le="useTransition",$t(),Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),Ze(),Vv(e,t)},useId:function(){return Le="useId",$t(),Ze(),e_()},unstable_isNewReconciler:ne},r_={readContext:function(e){return wy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",$t(),Ze(),Jv(e,t)},useContext:function(e){return Le="useContext",$t(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",$t(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",$t(),Ze(),Xv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",$t(),Ze(),Gv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",$t(),Ze(),Kv(e,t)},useMemo:function(e,t){Le="useMemo",$t(),Ze();var n=ot.current;ot.current=jl;try{return Zv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",$t(),Ze();var i=ot.current;ot.current=jl;try{return uy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",$t(),Ze(),qv()},useState:function(e){Le="useState",$t(),Ze();var t=ot.current;ot.current=jl;try{return dy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",$t(),Ze(),Qv()},useDeferredValue:function(e){return Le="useDeferredValue",$t(),Ze(),Ax(e)},useTransition:function(){return Le="useTransition",$t(),Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",$t(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",$t(),Ze(),Vv(e,t)},useId:function(){return Le="useId",$t(),Ze(),e_()},unstable_isNewReconciler:ne}}var Yu=a.unstable_now,Vx=0,a_=-1,_h=-1,n_=-1,Cy=!1,o_=!1;function Wx(){return Cy}function cj(){o_=!0}function fj(){Cy=!1,o_=!1}function dj(){Cy=o_,o_=!1}function qx(){return Vx}function Yx(){Vx=Yu()}function xy(e){_h=Yu(),e.actualStartTime<0&&(e.actualStartTime=Yu())}function $x(e){_h=-1}function i_(e,t){if(_h>=0){var n=Yu()-_h;e.actualDuration+=n,t&&(e.selfBaseDuration=n),_h=-1}}function vs(e){if(a_>=0){var t=Yu()-a_;a_=-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 ky(e){if(n_>=0){var t=Yu()-n_;n_=-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(){a_=Yu()}function Ty(){n_=Yu()}function Ey(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Hl(e,t){if(e&&e.defaultProps){var n=At({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Ry={},Dy,Ay,Ly,Ny,Oy,Gx,l_,Py,My,Iy,gh;{Dy=new Set,Ay=new Set,Ly=new Set,Ny=new Set,Py=new Set,Oy=new Set,My=new Set,Iy=new Set,gh=new Set;var Kx=new Set;l_=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";Oy.has(n)||(Oy.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ry,"_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(Ry)}function zy(e,t,n,i){var u=e.memoizedState,d=n(i,u);{if(e.mode&Pa){vn(!0);try{d=n(i,u)}finally{vn(!1)}}Gx(t,d)}var v=d==null?u:At({},u,d);if(e.memoizedState=v,e.lanes===ze){var y=e.updateQueue;y.baseState=v}}var By={isMounted:aM,enqueueSetState:function(e,t,n){var i=Ff(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.payload=t,n!=null&&(l_(n,"setState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Iv(y,i,d)),mb(i,d)},enqueueReplaceState:function(e,t,n){var i=Ff(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.tag=dx,v.payload=t,n!=null&&(l_(n,"replaceState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Iv(y,i,d)),mb(i,d)},enqueueForceUpdate:function(e,t){var n=Ff(e),i=Xn(),u=Xu(n),d=Qs(i,u);d.tag=Ov,t!=null&&(l_(t,"forceUpdate"),d.callback=t);var v=Uu(n,d,u);v!==null&&(cn(v,n,u,i),Iv(v,n,u)),PM(n,u)}};function Xx(e,t,n,i,u,d,v){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var w=y.shouldComponentUpdate(i,d,v);{if(e.mode&Pa){vn(!0);try{w=y.shouldComponentUpdate(i,d,v)}finally{vn(!1)}}w===void 0&&c("%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?!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&Pa)===Lt&&(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
85
85
 
86
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!gh.has(t)&&(e.mode&Pa)===Lt&&(gh.add(t),u(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
86
+ .Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),t.contextTypes&&!gh.has(t)&&(e.mode&Pa)===Lt&&(gh.add(t),c(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
87
87
 
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&&!My.has(t)&&(My.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 v=i.props!==n;i.props!==void 0&&v&&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"&&!Ly.has(t)&&(Ly.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 Qx(e,t){t.updater=zy,e.stateNode=t,JM(t,e),t._reactInternalInstance=Ry}function Jx(e,t,n){var i=!1,c=Fo,d=Fo,v=t.contextType;if("contextType"in t){var y=v===null||v!==void 0&&v.$$typeof===W&&v._context===void 0;if(!y&&!Iy.has(t)){Iy.add(t);var S="";v===void 0?S=" 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 v!="object"?S=" However, it is set to a "+typeof v+".":v.$$typeof===D?S=" Did you accidentally pass the Context.Provider instead?":v._context!==void 0?S=" Did you accidentally pass the Context.Consumer instead?":S=" However, it is set to an object with keys {"+Object.keys(v).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",S)}}if(typeof v=="object"&&v!==null)d=Qa(v);else{c=rd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?ad(e,c):Fo}var A=new t(n,d);if(e.mode&Pa){vn(!0);try{A=new t(n,d)}finally{vn(!1)}}var J=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;Qx(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&J===null){var X=Hr(t)||"Component";Ay.has(X)||(Ay.add(X),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.",X,A.state===null?"null":"undefined",X))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var ve=null,_e=null,xe=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?ve="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(ve="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_e="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(_e="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ve!==null||_e!==null||xe!==null){var et=Hr(t)||"Component",Et=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ny.has(et)||(Ny.add(et),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
88
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),i.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!My.has(t)&&(My.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.componentShouldUpdate=="function"&&c("%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.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&c("%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"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.componentDidReceiveProps=="function"&&c("%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().",u),typeof i.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var v=i.props!==n;i.props!==void 0&&v&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.defaultProps&&c("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Ly.has(t)&&(Ly.add(t),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError=="function"&&c("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&c("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var y=i.state;y&&(typeof y!="object"||tn(y))&&c("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Qx(e,t){t.updater=By,e.stateNode=t,JP(t,e),t._reactInternalInstance=Ry}function Jx(e,t,n){var i=!1,u=Fo,d=Fo,v=t.contextType;if("contextType"in t){var y=v===null||v!==void 0&&v.$$typeof===W&&v._context===void 0;if(!y&&!Iy.has(t)){Iy.add(t);var w="";v===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 v!="object"?w=" However, it is set to a "+typeof v+".":v.$$typeof===D?w=" Did you accidentally pass the Context.Provider instead?":v._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(v).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",w)}}if(typeof v=="object"&&v!==null)d=Qa(v);else{u=rd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?ad(e,u):Fo}var A=new t(n,d);if(e.mode&Pa){vn(!0);try{A=new t(n,d)}finally{vn(!1)}}var J=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;Qx(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&J===null){var X=Hr(t)||"Component";Ay.has(X)||(Ay.add(X),c("`%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.",X,A.state===null?"null":"undefined",X))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var ve=null,_e=null,xe=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?ve="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(ve="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_e="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(_e="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ve!==null||_e!==null||xe!==null){var et=Hr(t)||"Component",Et=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ny.has(et)||(Ny.add(et),c(`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
 
@@ -93,17 +93,17 @@ The above lifecycles should be removed. Learn more about this warning here:
93
93
  https://reactjs.org/link/unsafe-component-lifecycles`,et,Et,ve!==null?`
94
94
  `+ve:"",_e!==null?`
95
95
  `+_e:"",xe!==null?`
96
- `+xe:""))}}}return i&&H3(e,c,d),A}function hj(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"),zy.enqueueReplaceState(t,t.state,null))}function Zx(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";Dy.has(d)||(Dy.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}zy.enqueueReplaceState(t,t.state,null)}}function Fy(e,t,n,i){pj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},G1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=Qa(d);else{var v=rd(e,t,!0);c.context=ad(e,v)}{if(c.state===n){var y=Hr(t)||"Component";Py.has(y)||(Py.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Pa&&zl.recordLegacyContextWarning(e,c),zl.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var S=t.getDerivedStateFromProps;if(typeof S=="function"&&(By(e,t,S,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(hj(e,c),Iv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=wr;E|=ku,(e.mode&cs)!==Lt&&(E|=Hs),e.flags|=E}}function mj(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var v=c.context,y=t.contextType,S=Fo;if(typeof y=="object"&&y!==null)S=Qa(y);else{var E=rd(e,t,!0);S=ad(e,E)}var A=t.getDerivedStateFromProps,J=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function";!J&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||v!==S)&&Zx(e,c,n,S),hx();var X=e.memoizedState,ve=c.state=X;if(Iv(e,n,c,i),ve=e.memoizedState,d===n&&X===ve&&!_v()&&!Bv()){if(typeof c.componentDidMount=="function"){var _e=wr;_e|=ku,(e.mode&cs)!==Lt&&(_e|=Hs),e.flags|=_e}return!1}typeof A=="function"&&(By(e,t,A,n),ve=e.memoizedState);var xe=Bv()||Xx(e,t,d,n,X,ve,S);if(xe){if(!J&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var et=wr;et|=ku,(e.mode&cs)!==Lt&&(et|=Hs),e.flags|=et}}else{if(typeof c.componentDidMount=="function"){var Et=wr;Et|=ku,(e.mode&cs)!==Lt&&(Et|=Hs),e.flags|=Et}e.memoizedProps=n,e.memoizedState=ve}return c.props=n,c.state=ve,c.context=S,xe}function vj(e,t,n,i,c){var d=t.stateNode;px(e,t);var v=t.memoizedProps,y=t.type===t.elementType?v:Hl(t.type,v);d.props=y;var S=t.pendingProps,E=d.context,A=n.contextType,J=Fo;if(typeof A=="object"&&A!==null)J=Qa(A);else{var X=rd(t,n,!0);J=ad(t,X)}var ve=n.getDerivedStateFromProps,_e=typeof ve=="function"||typeof d.getSnapshotBeforeUpdate=="function";!_e&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(v!==S||E!==J)&&Zx(t,d,i,J),hx();var xe=t.memoizedState,et=d.state=xe;if(Iv(t,i,d,c),et=t.memoizedState,v===S&&xe===et&&!_v()&&!Bv()&&!Z)return typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Cu),!1;typeof ve=="function"&&(By(t,n,ve,i),et=t.memoizedState);var Et=Bv()||Xx(t,n,y,i,xe,et,J)||Z;return Et?(!_e&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,et,J),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,et,J)),typeof d.componentDidUpdate=="function"&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=Cu)):(typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Cu),t.memoizedProps=i,t.memoizedState=et),d.props=i,d.state=et,d.context=J,Et}function Wu(e,t){return{value:e,source:t,stack:wm(t),digest:null}}function jy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function _j(e,t){return!0}function Hy(e,t){try{var n=_j(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,v=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?er(c):null,S=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 J=S+`
96
+ `+xe:""))}}}return i&&H3(e,u,d),A}function hj(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(c("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",er(e)||"Component"),By.enqueueReplaceState(t,t.state,null))}function Zx(e,t,n,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==u){{var d=er(e)||"Component";Dy.has(d)||(Dy.add(d),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}By.enqueueReplaceState(t,t.state,null)}}function Fy(e,t,n,i){pj(e,t,n);var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs={},G1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)u.context=Qa(d);else{var v=rd(e,t,!0);u.context=ad(e,v)}{if(u.state===n){var y=Hr(t)||"Component";Py.has(y)||(Py.add(y),c("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Pa&&Bl.recordLegacyContextWarning(e,u),Bl.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var w=t.getDerivedStateFromProps;if(typeof w=="function"&&(zy(e,t,w,n),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(hj(e,u),zv(e,n,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var E=Sr;E|=kc,(e.mode&us)!==Lt&&(E|=Hs),e.flags|=E}}function mj(e,t,n,i){var u=e.stateNode,d=e.memoizedProps;u.props=d;var v=u.context,y=t.contextType,w=Fo;if(typeof y=="object"&&y!==null)w=Qa(y);else{var E=rd(e,t,!0);w=ad(e,E)}var A=t.getDerivedStateFromProps,J=typeof A=="function"||typeof u.getSnapshotBeforeUpdate=="function";!J&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(d!==n||v!==w)&&Zx(e,u,n,w),hx();var X=e.memoizedState,ve=u.state=X;if(zv(e,n,u,i),ve=e.memoizedState,d===n&&X===ve&&!gv()&&!Bv()){if(typeof u.componentDidMount=="function"){var _e=Sr;_e|=kc,(e.mode&us)!==Lt&&(_e|=Hs),e.flags|=_e}return!1}typeof A=="function"&&(zy(e,t,A,n),ve=e.memoizedState);var xe=Bv()||Xx(e,t,d,n,X,ve,w);if(xe){if(!J&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var et=Sr;et|=kc,(e.mode&us)!==Lt&&(et|=Hs),e.flags|=et}}else{if(typeof u.componentDidMount=="function"){var Et=Sr;Et|=kc,(e.mode&us)!==Lt&&(Et|=Hs),e.flags|=Et}e.memoizedProps=n,e.memoizedState=ve}return u.props=n,u.state=ve,u.context=w,xe}function vj(e,t,n,i,u){var d=t.stateNode;px(e,t);var v=t.memoizedProps,y=t.type===t.elementType?v:Hl(t.type,v);d.props=y;var w=t.pendingProps,E=d.context,A=n.contextType,J=Fo;if(typeof A=="object"&&A!==null)J=Qa(A);else{var X=rd(t,n,!0);J=ad(t,X)}var ve=n.getDerivedStateFromProps,_e=typeof ve=="function"||typeof d.getSnapshotBeforeUpdate=="function";!_e&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(v!==w||E!==J)&&Zx(t,d,i,J),hx();var xe=t.memoizedState,et=d.state=xe;if(zv(t,i,d,u),et=t.memoizedState,v===w&&xe===et&&!gv()&&!Bv()&&!Z)return typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Sr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Cc),!1;typeof ve=="function"&&(zy(t,n,ve,i),et=t.memoizedState);var Et=Bv()||Xx(t,n,y,i,xe,et,J)||Z;return Et?(!_e&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,et,J),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,et,J)),typeof d.componentDidUpdate=="function"&&(t.flags|=Sr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=Cc)):(typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Sr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Cc),t.memoizedProps=i,t.memoizedState=et),d.props=i,d.state=et,d.context=J,Et}function Wc(e,t){return{value:e,source:t,stack:wm(t),digest:null}}function jy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function _j(e,t){return!0}function Hy(e,t){try{var n=_j(e,t);if(n===!1)return;var i=t.value,u=t.source,d=t.stack,v=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=u?er(u):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 J=w+`
98
98
  `+v+`
99
99
 
100
- `+(""+E);console.error(J)}catch(X){setTimeout(function(){throw X})}}var gj=typeof WeakMap=="function"?WeakMap:Map;function e4(e,t,n){var i=Qs(va,n);i.tag=Y1,i.payload={element:null};var c=t.value;return i.callback=function(){mU(c),Hy(e,t)},i}function Uy(e,t,n){var i=Qs(va,n);i.tag=Y1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){d5(e),Hy(e,t)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){d5(e),Hy(e,t),typeof c!="function"&&pU(this);var S=t.value,E=t.stack;this.componentDidCatch(S,{componentStack:E!==null?E:""}),typeof c!="function"&&(Mo(e.lanes,Yt)||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 t4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new gj,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=vU.bind(null,e,t,n);Pl&&Mh(e,n),t.then(d,d)}}function bj(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 yj(e,t){var n=e.tag;if((e.mode&vr)===Lt&&(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,c){if((e.mode&vr)===Lt){if(e===t)e.flags|=Gn;else{if(e.flags|=Pr,n.flags|=sb,n.flags&=~(ZM|_p),n.tag===m){var d=n.alternate;if(d===null)n.tag=ae;else{var v=Qs(va,Yt);v.tag=Nv,Uc(n,v,Yt)}}n.lanes=or(n.lanes,Yt)}return e}return e.flags|=Gn,e.lanes=c,e}function wj(e,t,n,i,c){if(n.flags|=_p,Pl&&Mh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;yj(n),kn()&&n.mode&vr&&G3();var v=r4(t);if(v!==null){v.flags&=~Fs,a4(v,t,n,e,c),v.mode&vr&&t4(e,d,c),bj(v,e,d);return}else{if(!VI(c)){t4(e,d,c),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&vr){G3();var S=r4(t);if(S!==null){(S.flags&Gn)===Bt&&(S.flags|=Fs),a4(S,t,n,e,c),P1(Wu(i,n));return}}i=Wu(i,n),oU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var J=kp(c);E.lanes=or(E.lanes,J);var X=e4(E,A,J);K1(E,X);return}case m:var ve=i,_e=E.type,xe=E.stateNode;if((E.flags&Pr)===Bt&&(typeof _e.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!a5(xe))){E.flags|=Gn;var et=kp(c);E.lanes=or(E.lanes,et);var Et=Uy(E,ve,et);K1(E,Et);return}break}E=E.return}while(E!==null)}function Sj(){return null}var bh=o.ReactCurrentOwner,Ul=!1,Vy,yh,Wy,qy,Yy,qu,$y,l_,wh;Vy={},yh={},Wy={},qy={},Yy={},qu=!1,$y={},l_={},wh={};function Kn(e,t,n,i){e===null?t.child=ix(t,null,n,i):t.child=ld(t,e.child,n,i)}function Cj(e,t,n,i){t.child=ld(t,e.child,null,i),t.child=ld(t,null,n,i)}function n4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v=n.render,y=t.ref,S,E;cd(t,c),bp(t);{if(bh.current=t,ml(!0),S=md(e,t,v,i,y,c),E=vd(),t.mode&Pa){vn(!0);try{S=md(e,t,v,i,y,c),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,c),Js(e,t,c)):(kn()&&E&&R1(t),t.flags|=jf,Kn(e,t,S,c),t.child)}function o4(e,t,n,i,c){if(e===null){var d=n.type;if(OU(d)&&n.compare===null&&n.defaultProps===void 0){var v=d;return v=xd(d),t.tag=te,t.type=v,Xy(t,d),i4(e,t,v,i,c)}{var y=d.propTypes;if(y&&Il(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var S=Hr(d)||"Unknown";wh[S]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",S),wh[S]=!0)}}var E=O0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,J=A.propTypes;J&&Il(J,i,"prop",Hr(A))}var X=e.child,ve=r0(e,c);if(!ve){var _e=X.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:jp,xe(_e,i)&&e.ref===t.ref)return Js(e,t,c)}t.flags|=jf;var et=Xu(X,i);return et.ref=t.ref,et.return=t,t.child=et,et}function i4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var v=d,y=v._payload,S=v._init;try{d=S(y)}catch(J){d=null}var E=d&&d.propTypes;E&&Il(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(Ul=!1,t.pendingProps=i=A,r0(e,c))(e.flags&sb)!==Bt&&(Ul=!0);else return t.lanes=e.lanes,Js(e,t,c)}return Gy(e,t,n,i,c)}function l4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||se)if((t.mode&vr)===Lt){var v={baseLanes:Be,cachePool:null,transitions:null};t.memoizedState=v,y_(t,n)}else if(Mo(n,Po)){var J={baseLanes:Be,cachePool:null,transitions:null};t.memoizedState=J;var X=d!==null?d.baseLanes:n;y_(t,X)}else{var y=null,S;if(d!==null){var E=d.baseLanes;S=or(E,n)}else S=n;t.lanes=t.childLanes=Po;var A={baseLanes:S,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,y_(t,S),null}else{var ve;d!==null?(ve=or(d.baseLanes,n),t.memoizedState=null):ve=n,y_(t,ve)}return Kn(e,t,c,n),t.child}function xj(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function kj(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Tj(e,t,n){{t.flags|=wr;{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 s4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Ac,t.flags|=cb)}function Gy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v;{var y=rd(t,n,!0);v=ad(t,y)}var S,E;cd(t,c),bp(t);{if(bh.current=t,ml(!0),S=md(e,t,n,i,v,c),E=vd(),t.mode&Pa){vn(!0);try{S=md(e,t,n,i,v,c),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,c),Js(e,t,c)):(kn()&&E&&R1(t),t.flags|=jf,Kn(e,t,S,c),t.child)}function c4(e,t,n,i,c){{switch(GU(t)){case!1:{var d=t.stateNode,v=t.type,y=new v(t.memoizedProps,d.context),S=y.state;d.updater.enqueueSetState(d,S,null);break}case!0:{t.flags|=Pr,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=kp(c);t.lanes=or(t.lanes,A);var J=Uy(t,Wu(E,t),A);K1(t,J);break}}if(t.type!==t.elementType){var X=n.propTypes;X&&Il(X,i,"prop",Hr(n))}}var ve;ds(n)?(ve=!0,bv(t)):ve=!1,cd(t,c);var _e=t.stateNode,xe;_e===null?(c_(e,t),Jx(t,n,i),Fy(t,n,i,c),xe=!0):e===null?xe=mj(t,n,i,c):xe=vj(e,t,n,i,c);var et=Ky(e,t,n,xe,ve,c);{var Et=t.stateNode;xe&&Et.props!==i&&(qu||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"),qu=!0)}return et}function Ky(e,t,n,i,c,d){s4(e,t);var v=(t.flags&Pr)!==Bt;if(!i&&!v)return c&&W3(t,n,!1),Js(e,t,d);var y=t.stateNode;bh.current=t;var S;if(v&&typeof n.getDerivedStateFromError!="function")S=null,$x();else{bp(t);{if(ml(!0),S=y.render(),t.mode&Pa){vn(!0);try{y.render()}finally{vn(!1)}}ml(!1)}Uf()}return t.flags|=jf,e!==null&&v?Cj(e,t,S,d):Kn(e,t,S,d),t.memoizedState=y.state,c&&W3(t,n,!0),t.child}function u4(e){var t=e.stateNode;t.pendingContext?U3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&U3(e,t.context,!1),X1(e,t.containerInfo)}function Ej(e,t,n){if(u4(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;px(e,t),Iv(t,i,null,n);var v=t.memoizedState,y=t.stateNode,S=v.element;if(c.isDehydrated){var E={element:S,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 J=Wu(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,S,n,J)}else if(S!==d){var X=Wu(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,S,n,X)}else{AF(t);var ve=ix(t,null,S,n);t.child=ve;for(var _e=ve;_e;)_e.flags=_e.flags&~Xa|js,_e=_e.sibling}}else{if(id(),S===d)return Js(e,t,n);Kn(e,t,S,n)}return t.child}function f4(e,t,n,i,c){return id(),P1(c),t.flags|=Fs,Kn(e,t,n,i),t.child}function Rj(e,t,n){_x(t),e===null&&O1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,v=c.children,y=h1(i,c);return y?v=null:d!==null&&h1(i,d)&&(t.flags|=vp),s4(e,t),Kn(e,t,v,n),t.child}function Dj(e,t){return e===null&&O1(t),null}function Aj(e,t,n,i){c_(e,t);var c=t.pendingProps,d=n,v=d._payload,y=d._init,S=y(v);t.type=S;var E=t.tag=PU(S),A=Hl(S,c),J;switch(E){case p:return Xy(t,S),t.type=S=xd(S),J=Gy(null,t,S,A,i),J;case m:return t.type=S=E0(S),J=c4(null,t,S,A,i),J;case j:return t.type=S=R0(S),J=n4(null,t,S,A,i),J;case O:{if(t.type!==t.elementType){var X=S.propTypes;X&&Il(X,A,"prop",Hr(S))}return J=o4(null,t,S,Hl(S.type,A),i),J}}var ve="";throw S!==null&&typeof S=="object"&&S.$$typeof===Je&&(ve=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+S+". "+("Lazy element type must resolve to a class or function."+ve))}function Lj(e,t,n,i,c){c_(e,t),t.tag=m;var d;return ds(n)?(d=!0,bv(t)):d=!1,cd(t,c),Jx(t,n,i),Fy(t,n,i,c),Ky(null,t,n,!0,d,c)}function Nj(e,t,n,i){c_(e,t);var c=t.pendingProps,d;{var v=rd(t,n,!1);d=ad(t,v)}cd(t,i);var y,S;bp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Vy[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),Vy[E]=!0)}t.mode&Pa&&zl.recordLegacyContextWarning(t,null),ml(!0),bh.current=t,y=md(null,t,n,c,d,i),S=vd(),ml(!1)}if(Uf(),t.flags|=jf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";yh[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),yh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var J=Hr(n)||"Unknown";yh[J]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),yh[J]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var X=!1;return ds(n)?(X=!0,bv(t)):X=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,G1(t),Qx(t,y),Fy(t,n,c,i),Ky(null,t,n,!0,X,i)}else{if(t.tag=p,t.mode&Pa){vn(!0);try{y=md(null,t,n,c,d,i),S=vd()}finally{vn(!1)}}return kn()&&S&&R1(t),Kn(null,t,y,i),Xy(t,n),t.child}}function Xy(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=Rc();i&&(n+=`
100
+ `+(""+E);console.error(J)}catch(X){setTimeout(function(){throw X})}}var gj=typeof WeakMap=="function"?WeakMap:Map;function e4(e,t,n){var i=Qs(va,n);i.tag=Y1,i.payload={element:null};var u=t.value;return i.callback=function(){mU(u),Hy(e,t)},i}function Uy(e,t,n){var i=Qs(va,n);i.tag=Y1;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var d=t.value;i.payload=function(){return u(d)},i.callback=function(){dk(e),Hy(e,t)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){dk(e),Hy(e,t),typeof u!="function"&&pU(this);var w=t.value,E=t.stack;this.componentDidCatch(w,{componentStack:E!==null?E:""}),typeof u!="function"&&(Mo(e.lanes,Yt)||c("%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 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&&Mh(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&vr)===Lt&&(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&vr)===Lt){if(e===t)e.flags|=$n;else{if(e.flags|=Pr,n.flags|=sb,n.flags&=~(ZP|_p),n.tag===m){var d=n.alternate;if(d===null)n.tag=ae;else{var v=Qs(va,Yt);v.tag=Ov,Uu(n,v,Yt)}}n.lanes=or(n.lanes,Yt)}return e}return e.flags|=$n,e.lanes=u,e}function Sj(e,t,n,i,u){if(n.flags|=_p,Pl&&Mh(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;yj(n),kn()&&n.mode&vr&&G3();var v=r4(t);if(v!==null){v.flags&=~Fs,a4(v,t,n,e,u),v.mode&vr&&t4(e,d,u),bj(v,e,d);return}else{if(!VM(u)){t4(e,d,u),w0();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&vr){G3();var w=r4(t);if(w!==null){(w.flags&$n)===zt&&(w.flags|=Fs),a4(w,t,n,e,u),P1(Wc(i,n));return}}i=Wc(i,n),oU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=$n;var J=kp(u);E.lanes=or(E.lanes,J);var X=e4(E,A,J);K1(E,X);return}case m:var ve=i,_e=E.type,xe=E.stateNode;if((E.flags&Pr)===zt&&(typeof _e.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!ak(xe))){E.flags|=$n;var et=kp(u);E.lanes=or(E.lanes,et);var Et=Uy(E,ve,et);K1(E,Et);return}break}E=E.return}while(E!==null)}function wj(){return null}var bh=o.ReactCurrentOwner,Ul=!1,Vy,yh,Wy,qy,Yy,qc,$y,s_,Sh;Vy={},yh={},Wy={},qy={},Yy={},qc=!1,$y={},s_={},Sh={};function Gn(e,t,n,i){e===null?t.child=ix(t,null,n,i):t.child=ld(t,e.child,n,i)}function Cj(e,t,n,i){t.child=ld(t,e.child,null,i),t.child=ld(t,null,n,i)}function n4(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v=n.render,y=t.ref,w,E;ud(t,u),bp(t);{if(bh.current=t,ml(!0),w=md(e,t,v,i,y,u),E=vd(),t.mode&Pa){vn(!0);try{w=md(e,t,v,i,y,u),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&R1(t),t.flags|=jf,Gn(e,t,w,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=xd(d),t.tag=te,t.type=v,Xy(t,d),i4(e,t,v,i,u)}{var y=d.propTypes;if(y&&Il(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var w=Hr(d)||"Unknown";Sh[w]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",w),Sh[w]=!0)}}var E=O0(n.type,null,i,t,t.mode,u);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,J=A.propTypes;J&&Il(J,i,"prop",Hr(A))}var X=e.child,ve=r0(e,u);if(!ve){var _e=X.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:jp,xe(_e,i)&&e.ref===t.ref)return Js(e,t,u)}t.flags|=jf;var et=Xc(X,i);return et.ref=t.ref,et.return=t,t.child=et,et}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,w=v._init;try{d=w(y)}catch(J){d=null}var E=d&&d.propTypes;E&&Il(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(Ul=!1,t.pendingProps=i=A,r0(e,u))(e.flags&sb)!==zt&&(Ul=!0);else return t.lanes=e.lanes,Js(e,t,u)}return Gy(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"||se)if((t.mode&vr)===Lt){var v={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=v,S_(t,n)}else if(Mo(n,Po)){var J={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=J;var X=d!==null?d.baseLanes:n;S_(t,X)}else{var y=null,w;if(d!==null){var E=d.baseLanes;w=or(E,n)}else w=n;t.lanes=t.childLanes=Po;var A={baseLanes:w,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,S_(t,w),null}else{var ve;d!==null?(ve=or(d.baseLanes,n),t.memoizedState=null):ve=n,S_(t,ve)}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|=Sr;{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|=ub)}function Gy(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v;{var y=rd(t,n,!0);v=ad(t,y)}var w,E;ud(t,u),bp(t);{if(bh.current=t,ml(!0),w=md(e,t,n,i,v,u),E=vd(),t.mode&Pa){vn(!0);try{w=md(e,t,n,i,v,u),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&R1(t),t.flags|=jf,Gn(e,t,w,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),w=y.state;d.updater.enqueueSetState(d,w,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 J=Uy(t,Wc(E,t),A);K1(t,J);break}}if(t.type!==t.elementType){var X=n.propTypes;X&&Il(X,i,"prop",Hr(n))}}var ve;ds(n)?(ve=!0,yv(t)):ve=!1,ud(t,u);var _e=t.stateNode,xe;_e===null?(c_(e,t),Jx(t,n,i),Fy(t,n,i,u),xe=!0):e===null?xe=mj(t,n,i,u):xe=vj(e,t,n,i,u);var et=Ky(e,t,n,xe,ve,u);{var Et=t.stateNode;xe&&Et.props!==i&&(qc||c("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"),qc=!0)}return et}function Ky(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 w;if(v&&typeof n.getDerivedStateFromError!="function")w=null,$x();else{bp(t);{if(ml(!0),w=y.render(),t.mode&Pa){vn(!0);try{y.render()}finally{vn(!1)}}ml(!1)}Uf()}return t.flags|=jf,e!==null&&v?Cj(e,t,w,d):Gn(e,t,w,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),X1(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),zv(t,i,null,n);var v=t.memoizedState,y=t.stateNode,w=v.element;if(u.isDehydrated){var E={element:w,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 J=Wc(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,w,n,J)}else if(w!==d){var X=Wc(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,w,n,X)}else{AF(t);var ve=ix(t,null,w,n);t.child=ve;for(var _e=ve;_e;)_e.flags=_e.flags&~Xa|js,_e=_e.sibling}}else{if(id(),w===d)return Js(e,t,n);Gn(e,t,w,n)}return t.child}function f4(e,t,n,i,u){return id(),P1(u),t.flags|=Fs,Gn(e,t,n,i),t.child}function Rj(e,t,n){_x(t),e===null&&O1(t);var i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,y=h1(i,u);return y?v=null:d!==null&&h1(i,d)&&(t.flags|=vp),s4(e,t),Gn(e,t,v,n),t.child}function Dj(e,t){return e===null&&O1(t),null}function Aj(e,t,n,i){c_(e,t);var u=t.pendingProps,d=n,v=d._payload,y=d._init,w=y(v);t.type=w;var E=t.tag=PU(w),A=Hl(w,u),J;switch(E){case p:return Xy(t,w),t.type=w=xd(w),J=Gy(null,t,w,A,i),J;case m:return t.type=w=E0(w),J=u4(null,t,w,A,i),J;case j:return t.type=w=R0(w),J=n4(null,t,w,A,i),J;case O:{if(t.type!==t.elementType){var X=w.propTypes;X&&Il(X,A,"prop",Hr(w))}return J=o4(null,t,w,Hl(w.type,A),i),J}}var ve="";throw w!==null&&typeof w=="object"&&w.$$typeof===Je&&(ve=" 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."+ve))}function Lj(e,t,n,i,u){c_(e,t),t.tag=m;var d;return ds(n)?(d=!0,yv(t)):d=!1,ud(t,u),Jx(t,n,i),Fy(t,n,i,u),Ky(null,t,n,!0,d,u)}function Nj(e,t,n,i){c_(e,t);var u=t.pendingProps,d;{var v=rd(t,n,!1);d=ad(t,v)}ud(t,i);var y,w;bp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Vy[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),Vy[E]=!0)}t.mode&Pa&&Bl.recordLegacyContextWarning(t,null),ml(!0),bh.current=t,y=md(null,t,n,u,d,i),w=vd(),ml(!1)}if(Uf(),t.flags|=jf,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 J=Hr(n)||"Unknown";yh[J]||(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.",J,J,J),yh[J]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var X=!1;return ds(n)?(X=!0,yv(t)):X=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,G1(t),Qx(t,y),Fy(t,n,u,i),Ky(null,t,n,!0,X,i)}else{if(t.tag=p,t.mode&Pa){vn(!0);try{y=md(null,t,n,u,d,i),w=vd()}finally{vn(!1)}}return kn()&&w&&R1(t),Gn(null,t,y,i),Xy(t,n),t.child}}function Xy(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+=`
101
101
 
102
- Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Yy[c]||(Yy[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 v=Hr(t)||"Unknown";wh[v]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",v),wh[v]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";qy[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),qy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var S=Hr(t)||"Unknown";Wy[S]||(u("%s: Function components do not support contextType.",S),Wy[S]=!0)}}}var Qy={dehydrated:null,treeContext:null,retryLane:_n};function Jy(e){return{baseLanes:e,cachePool:Sj(),transitions:null}}function Oj(e,t){var n=null;return{baseLanes:or(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Pj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return Z1(e,uh)}function Mj(e,t){return Um(e.childLanes,t)}function d4(e,t,n){var i=t.pendingProps;KU(t)&&(t.flags|=Pr);var c=Fl.current,d=!1,v=(t.flags&Pr)!==Bt;if(v||Pj(c,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(c=ZF(c,bx)),c=fd(c),Wc(t,c),e===null){O1(t);var y=t.memoizedState;if(y!==null){var S=y.dehydrated;if(S!==null)return jj(t,S)}var E=i.children,A=i.fallback;if(d){var J=Ij(t,E,A,n),X=t.child;return X.memoizedState=Jy(n),t.memoizedState=Qy,J}else return Zy(t,E)}else{var ve=e.memoizedState;if(ve!==null){var _e=ve.dehydrated;if(_e!==null)return Hj(e,t,v,i,_e,ve,n)}if(d){var xe=i.fallback,et=i.children,Et=zj(e,t,et,xe,n),wt=t.child,pr=e.child.memoizedState;return wt.memoizedState=pr===null?Jy(n):Oj(pr,n),wt.childLanes=Mj(e,n),t.memoizedState=Qy,Et}else{var hr=i.children,ce=Bj(e,t,hr,n);return t.memoizedState=null,ce}}}function Zy(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=e0(c,i);return d.return=e,e.child=d,d}function Ij(e,t,n,i){var c=e.mode,d=e.child,v={mode:"hidden",children:t},y,S;return(c&vr)===Lt&&d!==null?(y=d,y.childLanes=Be,y.pendingProps=v,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),S=Jc(n,c,i,null)):(y=e0(v,c),S=Jc(n,c,i,null)),y.return=e,S.return=e,y.sibling=S,e.child=y,S}function e0(e,t,n){return h5(e,t,Be,null)}function p4(e,t){return Xu(e,t)}function Bj(e,t,n,i){var c=e.child,d=c.sibling,v=p4(c,{mode:"visible",children:n});if((t.mode&vr)===Lt&&(v.lanes=i),v.return=t,v.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=Su):y.push(d)}return t.child=v,v}function zj(e,t,n,i,c){var d=t.mode,v=e.child,y=v.sibling,S={mode:"hidden",children:n},E;if((d&vr)===Lt&&t.child!==v){var A=t.child;E=A,E.childLanes=Be,E.pendingProps=S,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=v.selfBaseDuration,E.treeBaseDuration=v.treeBaseDuration),t.deletions=null}else E=p4(v,S),E.subtreeFlags=v.subtreeFlags&Us;var J;return y!==null?J=Xu(y,i):(J=Jc(i,d,c,null),J.flags|=Xa),J.return=t,E.return=t,E.sibling=J,t.child=E,J}function s_(e,t,n,i){i!==null&&P1(i),ld(t,e.child,null,n);var c=t.pendingProps,d=c.children,v=Zy(t,d);return v.flags|=Xa,t.memoizedState=null,v}function Fj(e,t,n,i,c){var d=t.mode,v={mode:"visible",children:n},y=e0(v,d),S=Jc(i,d,c,null);return S.flags|=Xa,y.return=t,S.return=t,y.sibling=S,t.child=y,(t.mode&vr)!==Lt&&ld(t,e.child,null,c),S}function jj(e,t,n){return(e.mode&vr)===Lt?(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=Yt):g1(t)?e.lanes=Du:e.lanes=Po,null}function Hj(e,t,n,i,c,d,v){if(n)if(t.flags&Fs){t.flags&=~Fs;var ce=jy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return s_(e,t,v,ce)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var Ee=i.children,ue=i.fallback,Ye=Fj(e,t,Ee,ue,v),st=t.child;return st.memoizedState=Jy(v),t.memoizedState=Qy,Ye}else{if(RF(),(t.mode&vr)===Lt)return s_(e,t,v,null);if(g1(c)){var y,S,E;{var A=qz(c);y=A.digest,S=A.message,E=A.stack}var J;S?J=new Error(S):J=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var X=jy(J,y,E);return s_(e,t,v,X)}var ve=Mo(v,e.childLanes);if(Ul||ve){var _e=b_();if(_e!==null){var xe=QI(_e,v);if(xe!==_n&&xe!==d.retryLane){d.retryLane=xe;var et=va;go(e,xe),un(_e,e,xe,et)}}S0();var Et=jy(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 s_(e,t,v,Et)}else if(I3(c)){t.flags|=Pr,t.child=e.child;var wt=_U.bind(null,e);return Yz(c,wt),null}else{LF(t,c,d.treeContext);var pr=i.children,hr=Zy(t,pr);return hr.flags|=js,hr}}}function h4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),W1(e.return,t,n)}function Uj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var c=i.memoizedState;c!==null&&h4(i,n,e)}else if(i.tag===we)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&&jv(i)===null&&(n=t),t=t.sibling}return n}function Wj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$y[e])if($y[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 qj(e,t){e!==void 0&&!l_[e]&&(e!=="collapsed"&&e!=="hidden"?(l_[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(l_[e]=!0,u('<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 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 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 c=i.call(e);if(c)for(var d=c.next(),v=0;!d.done;d=c.next()){if(!m4(d.value,v))return;v++}}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 t0(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 v4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,v=i.children;Wj(c),qj(d,c),Yj(v,c),Kn(e,t,v,n);var y=Fl.current,S=Z1(y,uh);if(S)y=ey(y,uh),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==Bt;E&&Uj(t,t.child,n),y=fd(y)}if(Wc(t,y),(t.mode&vr)===Lt)t.memoizedState=null;else switch(c){case"forwards":{var A=Vj(t.child),J;A===null?(J=t.child,t.child=null):(J=A.sibling,A.sibling=null),t0(t,!1,J,A,d);break}case"backwards":{var X=null,ve=t.child;for(t.child=null;ve!==null;){var _e=ve.alternate;if(_e!==null&&jv(_e)===null){t.child=ve;break}var xe=ve.sibling;ve.sibling=X,X=ve,ve=xe}t0(t,!0,X,null,d);break}case"together":{t0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function $j(e,t,n){X1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=ld(t,null,i,n):Kn(e,t,i,n),t.child}var _4=!1;function Gj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,v=t.memoizedProps,y=d.value;{"value"in d||_4||(_4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var S=t.type.propTypes;S&&Il(S,d,"prop","Context.Provider")}if(cx(t,c,y),v!==null){var E=v.value;if(zo(E,y)){if(v.children===d.children&&!_v())return Js(e,t,n)}else WF(t,c,n)}var A=d.children;return Kn(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,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."),cd(t,n);var v=Qa(i);bp(t);var y;return bh.current=t,ml(!0),y=d(v),ml(!1),Uf(),t.flags|=jf,Kn(e,t,y,n),t.child}function Sh(){Ul=!0}function c_(e,t){(t.mode&vr)===Lt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Ph(t.lanes),Mo(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 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|=Su):d.push(e),n.flags|=Xa,n}}function r0(e,t){var n=e.lanes;return!!Mo(n,t)}function Qj(e,t,n){switch(t.tag){case b:u4(t);var i=t.stateNode;id();break;case w:_x(t);break;case m:{var c=t.type;ds(c)&&bv(t);break}case C:X1(t,t.stateNode.containerInfo);break;case P:{var d=t.memoizedProps.value,v=t.type._context;cx(t,v,d);break}case F:{var y=Mo(n,t.childLanes);y&&(t.flags|=wr);{var S=t.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wc(t,fd(Fl.current)),t.flags|=Pr,null;var A=t.child,J=A.childLanes;if(Mo(n,J))return d4(e,t,n);Wc(t,fd(Fl.current));var X=Js(e,t,n);return X!==null?X.sibling:null}else Wc(t,fd(Fl.current));break}case we:{var ve=(e.flags&Pr)!==Bt,_e=Mo(n,t.childLanes);if(ve){if(_e)return v4(e,t,n);t.flags|=Pr}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),Wc(t,Fl.current),_e)break;return null}case H:case ie:return t.lanes=Be,l4(e,t,n)}return Js(e,t,n)}function b4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Xj(e,t,O0(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||_v()||t.type!==e.type)Ul=!0;else{var d=r0(e,n);if(!d&&(t.flags&Pr)===Bt)return Ul=!1,Qj(e,t,n);(e.flags&sb)!==Bt?Ul=!0:Ul=!1}}else if(Ul=!1,kn()&&SF(t)){var v=t.index,y=CF();$3(t,y,v)}switch(t.lanes=Be,t.tag){case g:return Nj(e,t,t.type,n);case me:{var S=t.elementType;return Aj(e,t,S,n)}case p:{var E=t.type,A=t.pendingProps,J=t.elementType===E?A:Hl(E,A);return Gy(e,t,E,J,n)}case m:{var X=t.type,ve=t.pendingProps,_e=t.elementType===X?ve:Hl(X,ve);return c4(e,t,X,_e,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 C:return $j(e,t,n);case j:{var xe=t.type,et=t.pendingProps,Et=t.elementType===xe?et:Hl(xe,et);return n4(e,t,xe,Et,n)}case L:return xj(e,t,n);case M:return kj(e,t,n);case F:return Tj(e,t,n);case P:return Gj(e,t,n);case Y:return Kj(e,t,n);case O:{var wt=t.type,pr=t.pendingProps,hr=Hl(wt,pr);if(t.type!==t.elementType){var ce=wt.propTypes;ce&&Il(ce,hr,"prop",Hr(wt))}return hr=Hl(wt.type,hr),o4(e,t,wt,hr,n)}case te:return i4(e,t,t.type,t.pendingProps,n);case ae:{var Ee=t.type,ue=t.pendingProps,Ye=t.elementType===Ee?ue:Hl(Ee,ue);return Lj(e,t,Ee,Ye,n)}case we: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 _d(e){e.flags|=wr}function y4(e){e.flags|=Ac,e.flags|=cb}var w4,a0,S4,C4;w4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)bz(e,c.stateNode);else if(c.tag!==C){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},a0=function(e,t){},S4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var v=t.stateNode,y=Q1(),S=wz(v,n,d,i,c,y);t.updateQueue=S,S&&_d(t)}},C4=function(e,t,n,i){n!==i&&_d(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 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=Be,i=Bt;if(t){if((e.mode&Kr)!==Lt){for(var S=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,S+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=S}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)!==Lt){for(var c=e.actualDuration,d=e.selfBaseDuration,v=e.child;v!==null;)n=or(n,or(v.lanes,v.childLanes)),i|=v.subtreeFlags,i|=v.flags,c+=v.actualDuration,d+=v.treeBaseDuration,v=v.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 Jj(e,t,n){if(IF()&&(t.mode&vr)!==Lt&&(t.flags&Pr)===Bt)return ex(t),id(),t.flags|=Fs|_p|Gn,!1;var i=xv(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(PF(t),En(t),(t.mode&Kr)!==Lt){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(id(),(t.flags&Pr)===Bt&&(t.memoizedState=null),t.flags|=wr,En(t),(t.mode&Kr)!==Lt){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(D1(t),t.tag){case g:case me:case te:case p:case j:case L:case M:case F:case Y:case O:return En(t),null;case m:{var c=t.type;return ds(c)&&gv(t),En(t),null}case b:{var d=t.stateNode;if(ud(t),k1(t),ry(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var v=xv(t);if(v)_d(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==Bt)&&(t.flags|=Cu,tx())}}return a0(e,t),En(t),null}case w:{J1(t);var S=vx(),E=t.type;if(e!==null&&t.stateNode!=null)S4(e,t,E,i,S),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=Q1(),J=xv(t);if(J)NF(t,S,A)&&_d(t);else{var X=gz(E,i,S,A,t);w4(X,t,!1,!1),t.stateNode=X,yz(X,E,i,S)&&_d(t)}t.ref!==null&&y4(t)}return En(t),null}case k:{var ve=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;C4(e,t,_e,ve)}else{if(typeof ve!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var xe=vx(),et=Q1(),Et=xv(t);Et?OF(t)&&_d(t):t.stateNode=Sz(ve,xe,et,t)}return En(t),null}case Q:{dd(t);var wt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pr=Jj(e,t,wt);if(!pr)return t.flags&Gn?t:null}if((t.flags&Pr)!==Bt)return t.lanes=n,(t.mode&Kr)!==Lt&&Ey(t),t;var hr=wt!==null,ce=e!==null&&e.memoizedState!==null;if(hr!==ce&&hr){var Ee=t.child;if(Ee.flags|=xu,(t.mode&vr)!==Lt){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ye);ue||Z1(Fl.current,bx)?nU():S0()}}var Ye=t.updateQueue;if(Ye!==null&&(t.flags|=wr),En(t),(t.mode&Kr)!==Lt&&hr){var st=t.child;st!==null&&(t.treeBaseDuration-=st.treeBaseDuration)}return null}case C:return ud(t),a0(e,t),e===null&&mF(t.stateNode.containerInfo),En(t),null;case P:var rt=t.type._context;return V1(rt,t),En(t),null;case ae:{var Ft=t.type;return ds(Ft)&&gv(t),En(t),null}case we:{dd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==Bt,Dr=Gt.rendering;if(Dr===null)if(Qr)Ch(Gt,!1);else{var Ua=iU()&&(e===null||(e.flags&Pr)===Bt);if(!Ua)for(var Ar=t.child;Ar!==null;){var Ma=jv(Ar);if(Ma!==null){Qr=!0,t.flags|=Pr,Ch(Gt,!1);var jn=Ma.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=wr),t.subtreeFlags=Bt,VF(t,n),Wc(t,ey(Fl.current,uh)),t.child}Ar=Ar.sibling}Gt.tail!==null&&mn()>Y4()&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}else{if(!Qr){var Nn=jv(Dr);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=wr),Ch(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Dr.alternate&&!kn())return En(t),null}else mn()*2-Gt.renderingStartTime>Y4()&&n!==Po&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}if(Gt.isBackwards)Dr.sibling=t.child,t.child=Dr;else{var Jn=Gt.last;Jn!==null?Jn.sibling=Dr:t.child=Dr,Gt.last=Dr}}if(Gt.tail!==null){var Zn=Gt.tail;Gt.rendering=Zn,Gt.tail=Zn.sibling,Gt.renderingStartTime=mn(),Zn.sibling=null;var Hn=Fl.current;return Qr?Hn=ey(Hn,uh):Hn=fd(Hn),Wc(t,Hn),Zn}return En(t),null}case ge:break;case H:case ie:{w0(t);var ac=t.memoizedState,kd=ac!==null;if(e!==null){var Fh=e.memoizedState,ys=Fh!==null;ys!==kd&&!se&&(t.flags|=xu)}return!kd||(t.mode&vr)===Lt?En(t):Mo(bs,Po)&&(En(t),t.subtreeFlags&(Xa|wr)&&(t.flags|=xu)),null}case fe:return null;case z:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zj(e,t,n){switch(D1(t),t.tag){case m:{var i=t.type;ds(i)&&gv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Pr,(t.mode&Kr)!==Lt&&Ey(t),t):null}case b:{var d=t.stateNode;ud(t),k1(t),ry();var v=t.flags;return(v&Gn)!==Bt&&(v&Pr)===Bt?(t.flags=v&~Gn|Pr,t):null}case w:return J1(t),null;case Q:{dd(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.");id()}var S=t.flags;return S&Gn?(t.flags=S&~Gn|Pr,(t.mode&Kr)!==Lt&&Ey(t),t):null}case we:return dd(t),null;case C:return ud(t),null;case P:var E=t.type._context;return V1(E,t),null;case H:case ie:return w0(t),null;case fe:return null;default:return null}}function k4(e,t,n){switch(D1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&gv(t);break}case b:{var c=t.stateNode;ud(t),k1(t),ry();break}case w:{J1(t);break}case C:ud(t);break;case Q:dd(t);break;case we:dd(t);break;case P:var d=t.type._context;V1(d,t);break;case H:case ie:w0(t);break}}var T4=null;T4=new Set;var u_=!1,Rn=!1,eH=typeof WeakSet=="function"?WeakSet:Set,gt=null,gd=null,bd=null;function tH(e){ob(null,function(){throw e}),ib()}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{$c(an,e)}catch(n){fa(e,t,n)}}function n0(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 yd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(ht&&Mt&&e.mode&Kr)try{_s(),i=n(null)}finally{vs(e)}else i=n(null)}catch(c){fa(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",er(e))}else n.current=null}function f_(e,t,n){try{n()}catch(i){fa(e,t,i)}}var D4=null,A4=!1;function nH(e,t){D4=vz(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&fb)!==Bt&&t!==null?(t.return=e,gt=t):iH()}}function iH(){for(;gt!==null;){var e=gt;Sa(e);try{lH(e)}catch(n){fa(e,e.return,n)}hn();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&Cu)!==Bt){switch(Sa(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&&!qu&&(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 v=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Hl(e.type,i),c);{var y=T4;v===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=v}break}case b:{{var S=e.stateNode;Hz(S.containerInfo)}break}case w:case k:case C:case ae: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 Vl(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,v=d;do{if((v.tag&e)===e){var y=v.destroy;v.destroy=void 0,y!==void 0&&((e&Tn)!==bo?SI(t):(e&an)!==bo&&gC(t),(e&ps)!==bo&&Ih(!0),f_(t,n,y),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?CI():(e&an)!==bo&&bC())}v=v.next}while(v!==d)}}function $c(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)!==bo?yI(t):(e&an)!==bo&&xI(t);var v=d.create;(e&ps)!==bo&&Ih(!0),d.destroy=v(),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?wI():(e&an)!==bo&&kI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var S=void 0;(d.tag&an)!==Bt?S="useLayoutEffect":(d.tag&ps)!==Bt?S="useInsertionEffect":S="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 u=i||"",d=e._debugSource;d&&(u=d.fileName+":"+d.lineNumber),Yy[u]||(Yy[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";qy[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),qy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var w=Hr(t)||"Unknown";Wy[w]||(c("%s: Function components do not support contextType.",w),Wy[w]=!0)}}}var Qy={dehydrated:null,treeContext:null,retryLane:_n};function Jy(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 Pj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return Z1(e,ch)}function Mj(e,t){return Vm(e.childLanes,t)}function d4(e,t,n){var i=t.pendingProps;KU(t)&&(t.flags|=Pr);var u=Fl.current,d=!1,v=(t.flags&Pr)!==zt;if(v||Pj(u,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(u=ZF(u,bx)),u=fd(u),Wu(t,u),e===null){O1(t);var y=t.memoizedState;if(y!==null){var w=y.dehydrated;if(w!==null)return jj(t,w)}var E=i.children,A=i.fallback;if(d){var J=Ij(t,E,A,n),X=t.child;return X.memoizedState=Jy(n),t.memoizedState=Qy,J}else return Zy(t,E)}else{var ve=e.memoizedState;if(ve!==null){var _e=ve.dehydrated;if(_e!==null)return Hj(e,t,v,i,_e,ve,n)}if(d){var xe=i.fallback,et=i.children,Et=Bj(e,t,et,xe,n),St=t.child,pr=e.child.memoizedState;return St.memoizedState=pr===null?Jy(n):Oj(pr,n),St.childLanes=Mj(e,n),t.memoizedState=Qy,Et}else{var hr=i.children,ue=zj(e,t,hr,n);return t.memoizedState=null,ue}}}function Zy(e,t,n){var i=e.mode,u={mode:"visible",children:t},d=e0(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,w;return(u&vr)===Lt&&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),w=Ju(n,u,i,null)):(y=e0(v,u),w=Ju(n,u,i,null)),y.return=e,w.return=e,y.sibling=w,e.child=y,w}function e0(e,t,n){return hk(e,t,ze,null)}function p4(e,t){return Xc(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&vr)===Lt&&(v.lanes=i),v.return=t,v.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=wc):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,w={mode:"hidden",children:n},E;if((d&vr)===Lt&&t.child!==v){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=w,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=v.selfBaseDuration,E.treeBaseDuration=v.treeBaseDuration),t.deletions=null}else E=p4(v,w),E.subtreeFlags=v.subtreeFlags&Us;var J;return y!==null?J=Xc(y,i):(J=Ju(i,d,u,null),J.flags|=Xa),J.return=t,E.return=t,E.sibling=J,t.child=E,J}function u_(e,t,n,i){i!==null&&P1(i),ld(t,e.child,null,n);var u=t.pendingProps,d=u.children,v=Zy(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=e0(v,d),w=Ju(i,d,u,null);return w.flags|=Xa,y.return=t,w.return=t,y.sibling=w,t.child=y,(t.mode&vr)!==Lt&&ld(t,e.child,null,u),w}function jj(e,t,n){return(e.mode&vr)===Lt?(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=Yt):g1(t)?e.lanes=Dc:e.lanes=Po,null}function Hj(e,t,n,i,u,d,v){if(n)if(t.flags&Fs){t.flags&=~Fs;var ue=jy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return u_(e,t,v,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var Ee=i.children,ce=i.fallback,Ye=Fj(e,t,Ee,ce,v),st=t.child;return st.memoizedState=Jy(v),t.memoizedState=Qy,Ye}else{if(RF(),(t.mode&vr)===Lt)return u_(e,t,v,null);if(g1(u)){var y,w,E;{var A=qB(u);y=A.digest,w=A.message,E=A.stack}var J;w?J=new Error(w):J=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var X=jy(J,y,E);return u_(e,t,v,X)}var ve=Mo(v,e.childLanes);if(Ul||ve){var _e=y_();if(_e!==null){var xe=QM(_e,v);if(xe!==_n&&xe!==d.retryLane){d.retryLane=xe;var et=va;go(e,xe),cn(_e,e,xe,et)}}w0();var Et=jy(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,v,Et)}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 pr=i.children,hr=Zy(t,pr);return hr.flags|=js,hr}}}function h4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),W1(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===Se)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&&Hv(i)===null&&(n=t),t=t.sibling}return n}function Wj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$y[e])if($y[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&&!s_[e]&&(e!=="collapsed"&&e!=="hidden"?(s_[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(s_[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 t0(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=Fl.current,w=Z1(y,ch);if(w)y=ey(y,ch),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==zt;E&&Uj(t,t.child,n),y=fd(y)}if(Wu(t,y),(t.mode&vr)===Lt)t.memoizedState=null;else switch(u){case"forwards":{var A=Vj(t.child),J;A===null?(J=t.child,t.child=null):(J=A.sibling,A.sibling=null),t0(t,!1,J,A,d);break}case"backwards":{var X=null,ve=t.child;for(t.child=null;ve!==null;){var _e=ve.alternate;if(_e!==null&&Hv(_e)===null){t.child=ve;break}var xe=ve.sibling;ve.sibling=X,X=ve,ve=xe}t0(t,!0,X,null,d);break}case"together":{t0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function $j(e,t,n){X1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=ld(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 w=t.type.propTypes;w&&Il(w,d,"prop","Context.Provider")}if(ux(t,u,y),v!==null){var E=v.value;if(Bo(E,y)){if(v.children===d.children&&!gv())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."),ud(t,n);var v=Qa(i);bp(t);var y;return bh.current=t,ml(!0),y=d(v),ml(!1),Uf(),t.flags|=jf,Gn(e,t,y,n),t.child}function wh(){Ul=!0}function c_(e,t){(t.mode&vr)===Lt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Ph(t.lanes),Mo(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|=wc):d.push(e),n.flags|=Xa,n}}function r0(e,t){var n=e.lanes;return!!Mo(n,t)}function Qj(e,t,n){switch(t.tag){case b:c4(t);var i=t.stateNode;id();break;case S:_x(t);break;case m:{var u=t.type;ds(u)&&yv(t);break}case C:X1(t,t.stateNode.containerInfo);break;case P:{var d=t.memoizedProps.value,v=t.type._context;ux(t,v,d);break}case F:{var y=Mo(n,t.childLanes);y&&(t.flags|=Sr);{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 Wu(t,fd(Fl.current)),t.flags|=Pr,null;var A=t.child,J=A.childLanes;if(Mo(n,J))return d4(e,t,n);Wu(t,fd(Fl.current));var X=Js(e,t,n);return X!==null?X.sibling:null}else Wu(t,fd(Fl.current));break}case Se:{var ve=(e.flags&Pr)!==zt,_e=Mo(n,t.childLanes);if(ve){if(_e)return v4(e,t,n);t.flags|=Pr}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),Wu(t,Fl.current),_e)break;return null}case H:case ie: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,O0(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||gv()||t.type!==e.type)Ul=!0;else{var d=r0(e,n);if(!d&&(t.flags&Pr)===zt)return Ul=!1,Qj(e,t,n);(e.flags&sb)!==zt?Ul=!0:Ul=!1}}else if(Ul=!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 me:{var w=t.elementType;return Aj(e,t,w,n)}case p:{var E=t.type,A=t.pendingProps,J=t.elementType===E?A:Hl(E,A);return Gy(e,t,E,J,n)}case m:{var X=t.type,ve=t.pendingProps,_e=t.elementType===X?ve:Hl(X,ve);return u4(e,t,X,_e,n)}case b:return Ej(e,t,n);case S:return Rj(e,t,n);case k:return Dj(e,t);case Q:return d4(e,t,n);case C:return $j(e,t,n);case j:{var xe=t.type,et=t.pendingProps,Et=t.elementType===xe?et:Hl(xe,et);return n4(e,t,xe,Et,n)}case L:return xj(e,t,n);case M:return kj(e,t,n);case F:return Tj(e,t,n);case P:return Gj(e,t,n);case Y:return Kj(e,t,n);case O:{var St=t.type,pr=t.pendingProps,hr=Hl(St,pr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&Il(ue,hr,"prop",Hr(St))}return hr=Hl(St.type,hr),o4(e,t,St,hr,n)}case te:return i4(e,t,t.type,t.pendingProps,n);case ae:{var Ee=t.type,ce=t.pendingProps,Ye=t.elementType===Ee?ce:Hl(Ee,ce);return Lj(e,t,Ee,Ye,n)}case Se: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 _d(e){e.flags|=Sr}function y4(e){e.flags|=Au,e.flags|=ub}var S4,a0,w4,C4;S4=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===S||u.tag===k)bB(e,u.stateNode);else if(u.tag!==C){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}},a0=function(e,t){},w4=function(e,t,n,i,u){var d=e.memoizedProps;if(d!==i){var v=t.stateNode,y=Q1(),w=SB(v,n,d,i,u,y);t.updateQueue=w,w&&_d(t)}},C4=function(e,t,n,i){n!==i&&_d(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)!==Lt){for(var w=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,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&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Lt){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&vr)!==Lt&&(t.flags&Pr)===zt)return ex(t),id(),t.flags|=Fs|_p|$n,!1;var i=kv(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(PF(t),En(t),(t.mode&Kr)!==Lt){var u=n!==null;if(u){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(id(),(t.flags&Pr)===zt&&(t.memoizedState=null),t.flags|=Sr,En(t),(t.mode&Kr)!==Lt){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(D1(t),t.tag){case g:case me:case te:case p:case j:case L:case M:case F:case Y:case O:return En(t),null;case m:{var u=t.type;return ds(u)&&bv(t),En(t),null}case b:{var d=t.stateNode;if(cd(t),k1(t),ry(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var v=kv(t);if(v)_d(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==zt)&&(t.flags|=Cc,tx())}}return a0(e,t),En(t),null}case S:{J1(t);var w=vx(),E=t.type;if(e!==null&&t.stateNode!=null)w4(e,t,E,i,w),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=Q1(),J=kv(t);if(J)NF(t,w,A)&&_d(t);else{var X=gB(E,i,w,A,t);S4(X,t,!1,!1),t.stateNode=X,yB(X,E,i,w)&&_d(t)}t.ref!==null&&y4(t)}return En(t),null}case k:{var ve=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;C4(e,t,_e,ve)}else{if(typeof ve!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var xe=vx(),et=Q1(),Et=kv(t);Et?OF(t)&&_d(t):t.stateNode=wB(ve,xe,et,t)}return En(t),null}case Q:{dd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pr=Jj(e,t,St);if(!pr)return t.flags&$n?t:null}if((t.flags&Pr)!==zt)return t.lanes=n,(t.mode&Kr)!==Lt&&Ey(t),t;var hr=St!==null,ue=e!==null&&e.memoizedState!==null;if(hr!==ue&&hr){var Ee=t.child;if(Ee.flags|=xc,(t.mode&vr)!==Lt){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ye);ce||Z1(Fl.current,bx)?nU():w0()}}var Ye=t.updateQueue;if(Ye!==null&&(t.flags|=Sr),En(t),(t.mode&Kr)!==Lt&&hr){var st=t.child;st!==null&&(t.treeBaseDuration-=st.treeBaseDuration)}return null}case C:return cd(t),a0(e,t),e===null&&mF(t.stateNode.containerInfo),En(t),null;case P:var rt=t.type._context;return V1(rt,t),En(t),null;case ae:{var Ft=t.type;return ds(Ft)&&bv(t),En(t),null}case Se:{dd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==zt,Dr=Gt.rendering;if(Dr===null)if(Qr)Ch(Gt,!1);else{var Ua=iU()&&(e===null||(e.flags&Pr)===zt);if(!Ua)for(var Ar=t.child;Ar!==null;){var Ma=Hv(Ar);if(Ma!==null){Qr=!0,t.flags|=Pr,Ch(Gt,!1);var Fn=Ma.updateQueue;return Fn!==null&&(t.updateQueue=Fn,t.flags|=Sr),t.subtreeFlags=zt,VF(t,n),Wu(t,ey(Fl.current,ch)),t.child}Ar=Ar.sibling}Gt.tail!==null&&mn()>Y4()&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}else{if(!Qr){var Nn=Hv(Dr);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=Sr),Ch(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Dr.alternate&&!kn())return En(t),null}else mn()*2-Gt.renderingStartTime>Y4()&&n!==Po&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}if(Gt.isBackwards)Dr.sibling=t.child,t.child=Dr;else{var Qn=Gt.last;Qn!==null?Qn.sibling=Dr:t.child=Dr,Gt.last=Dr}}if(Gt.tail!==null){var Jn=Gt.tail;Gt.rendering=Jn,Gt.tail=Jn.sibling,Gt.renderingStartTime=mn(),Jn.sibling=null;var jn=Fl.current;return Qr?jn=ey(jn,ch):jn=fd(jn),Wu(t,jn),Jn}return En(t),null}case ge:break;case H:case ie:{S0(t);var au=t.memoizedState,kd=au!==null;if(e!==null){var Fh=e.memoizedState,ys=Fh!==null;ys!==kd&&!se&&(t.flags|=xc)}return!kd||(t.mode&vr)===Lt?En(t):Mo(bs,Po)&&(En(t),t.subtreeFlags&(Xa|Sr)&&(t.flags|=xc)),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(D1(t),t.tag){case m:{var i=t.type;ds(i)&&bv(t);var u=t.flags;return u&$n?(t.flags=u&~$n|Pr,(t.mode&Kr)!==Lt&&Ey(t),t):null}case b:{var d=t.stateNode;cd(t),k1(t),ry();var v=t.flags;return(v&$n)!==zt&&(v&Pr)===zt?(t.flags=v&~$n|Pr,t):null}case S:return J1(t),null;case Q:{dd(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.");id()}var w=t.flags;return w&$n?(t.flags=w&~$n|Pr,(t.mode&Kr)!==Lt&&Ey(t),t):null}case Se:return dd(t),null;case C:return cd(t),null;case P:var E=t.type._context;return V1(E,t),null;case H:case ie:return S0(t),null;case fe:return null;default:return null}}function k4(e,t,n){switch(D1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&bv(t);break}case b:{var u=t.stateNode;cd(t),k1(t),ry();break}case S:{J1(t);break}case C:cd(t);break;case Q:dd(t);break;case Se:dd(t);break;case P:var d=t.type._context;V1(d,t);break;case H:case ie:S0(t);break}}var T4=null;T4=new Set;var f_=!1,Rn=!1,eH=typeof WeakSet=="function"?WeakSet:Set,gt=null,gd=null,bd=null;function tH(e){ob(null,function(){throw e}),ib()}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 n0(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 yd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(ht&&Mt&&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.",er(e))}else n.current=null}function d_(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&fb)!==zt&&t!==null?(t.return=e,gt=t):iH()}}function iH(){for(;gt!==null;){var e=gt;wa(e);try{lH(e)}catch(n){fa(e,e.return,n)}hn();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&Cc)!==zt){switch(wa(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&&!qc&&(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.",er(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.",er(e)||"instance"));var v=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Hl(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.",er(e)))}d.__reactInternalSnapshotBeforeUpdate=v}break}case b:{{var w=e.stateNode;HB(w.containerInfo)}break}case S:case k:case C:case ae: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 Vl(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?wM(t):(e&an)!==bo&&gC(t),(e&ps)!==bo&&Ih(!0),d_(t,n,y),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?CM():(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?yM(t):(e&an)!==bo&&xM(t);var v=d.create;(e&ps)!==bo&&Ih(!0),d.destroy=v(),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?SM():(e&an)!==bo&&kM();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var w=void 0;(d.tag&an)!==zt?w="useLayoutEffect":(d.tag&ps)!==zt?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 `+S+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
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
- `+S+`(() => {
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 `+S+`(async () => ...) or returned a Promise. Instead, w
112
112
  fetchData();
113
113
  }, [someId]); // Or [] if effect doesn't need props or state
114
114
 
115
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",S,E)}}}d=d.next}while(d!==c)}}function sH(e,t){if((t.flags&wr)!==Bt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,v=qx(),y=t.alternate===null?"mount":"update";Wx()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,v);var S=t.return;e:for(;S!==null;){switch(S.tag){case b:var E=S.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=S.stateNode;A.passiveEffectDuration+=n;break e}S=S.return}break}}}function cH(e,t,n,i){if((n.flags&gp)!==Bt)switch(n.tag){case p:case j:case te:{if(!Rn)if(n.mode&Kr)try{_s(),$c(an|rn,n)}finally{vs(n)}else $c(an|rn,n);break}case m:{var c=n.stateNode;if(n.flags&wr&&!Rn)if(t===null)if(n.type===n.elementType&&!qu&&(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{_s(),c.componentDidMount()}finally{vs(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Hl(n.type,t.memoizedProps),v=t.memoizedState;if(n.type===n.elementType&&!qu&&(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{_s(),c.componentDidUpdate(d,v,c.__reactInternalSnapshotBeforeUpdate)}finally{vs(n)}else c.componentDidUpdate(d,v,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!qu&&(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")),mx(n,y,c));break}case b:{var S=n.updateQueue;if(S!==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,S,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&wr){var J=n.type,X=n.memoizedProps;Ez(A,J,X)}break}case k:break;case C:break;case F:{{var ve=n.memoizedProps,_e=ve.onCommit,xe=ve.onRender,et=n.stateNode.effectDuration,Et=qx(),wt=t===null?"mount":"update";Wx()&&(wt="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,wt,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Et);{typeof _e=="function"&&_e(n.memoizedProps.id,wt,et,Et),fU(n);var pr=n.return;e:for(;pr!==null;){switch(pr.tag){case b:var hr=pr.stateNode;hr.effectDuration+=et;break e;case F:var ce=pr.stateNode;ce.effectDuration+=et;break e}pr=pr.return}}}break}case Q:{_H(e,n);break}case we:case ae:case ge:case H:case ie:case z: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&Ac&&L4(n)}function uH(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 c=i.stateNode;t?Bz(c):Fz(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?zz(d):jz(d,i.memoizedProps)}catch(v){fa(e,e.return,v)}}else if(!((i.tag===H||i.tag===ie)&&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 c;if(e.mode&Kr)try{_s(),c=t(i)}finally{vs(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 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===C}function P4(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!==Se;){if(t.flags&Xa||t.child===null||t.tag===C)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&&(M3(n),t.flags&=~vp);var i=P4(e);i0(e,i,n);break}case b:case C:{var c=t.stateNode.containerInfo,d=P4(e);o0(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 o0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?Oz(n,d,t):Lz(n,d)}else if(i!==C){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}}}function i0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?Nz(n,d,t):Az(n,d)}else if(i!==C){var v=e.child;if(v!==null){i0(v,t,n);for(var y=v.sibling;y!==null;)i0(y,t,n),y=y.sibling}}}var Dn=null,Wl=!1;function mH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Dn=i.stateNode,Wl=!1;break e}case b:{Dn=i.stateNode.containerInfo,Wl=!0;break e}case C:{Dn=i.stateNode.containerInfo,Wl=!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.");M4(e,t,n),Dn=null,Wl=!1}dH(n)}function Gc(e,t,n){for(var i=n.child;i!==null;)M4(e,t,i),i=i.sibling}function M4(e,t,n){switch(vI(n),n.tag){case w:Rn||yd(n,t);case k:{{var i=Dn,c=Wl;Dn=null,Gc(e,t,n),Dn=i,Wl=c,Dn!==null&&(Wl?Mz(Dn,n.stateNode):Pz(Dn,n.stateNode))}return}case Se:{Dn!==null&&(Wl?Iz(Dn,n.stateNode):_1(Dn,n.stateNode));return}case C:{{var d=Dn,v=Wl;Dn=n.stateNode.containerInfo,Wl=!0,Gc(e,t,n),Dn=d,Wl=v}return}case p:case j:case O:case te:{if(!Rn){var y=n.updateQueue;if(y!==null){var S=y.lastEffect;if(S!==null){var E=S.next,A=E;do{var J=A,X=J.destroy,ve=J.tag;X!==void 0&&((ve&ps)!==bo?f_(n,t,X):(ve&an)!==bo&&(gC(n),n.mode&Kr?(_s(),f_(n,t,X),vs(n)):f_(n,t,X),bC())),A=A.next}while(A!==E)}}}Gc(e,t,n);return}case m:{if(!Rn){yd(n,t);var _e=n.stateNode;typeof _e.componentWillUnmount=="function"&&n0(n,t,_e)}Gc(e,t,n);return}case ge:{Gc(e,t,n);return}case H:{if(n.mode&vr){var xe=Rn;Rn=xe||n.memoizedState!==null,Gc(e,t,n),Rn=xe}else Gc(e,t,n);break}default:{Gc(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 c=i.memoizedState;if(c!==null){var d=c.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 c=gU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Pl)if(gd!==null&&bd!==null)Mh(bd,gd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function gH(e,t,n){gd=n,bd=e,Sa(t),B4(t,e),Sa(t),gd=null,bd=null}function ql(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{mH(e,t,d)}catch(S){fa(d,t,S)}}var v=Ug();if(t.subtreeFlags&db)for(var y=t.child;y!==null;)Sa(y),B4(y,e),y=y.sibling;Sa(v)}function B4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case O:case te:{if(ql(t,e),gs(e),c&wr){try{Vl(ps|rn,e,e.return),$c(ps|rn,e)}catch(Ft){fa(e,e.return,Ft)}if(e.mode&Kr){try{_s(),Vl(an|rn,e,e.return)}catch(Ft){fa(e,e.return,Ft)}vs(e)}else try{Vl(an|rn,e,e.return)}catch(Ft){fa(e,e.return,Ft)}}return}case m:{ql(t,e),gs(e),c&Ac&&i!==null&&yd(i,i.return);return}case w:{ql(t,e),gs(e),c&Ac&&i!==null&&yd(i,i.return);{if(e.flags&vp){var d=e.stateNode;try{M3(d)}catch(Ft){fa(e,e.return,Ft)}}if(c&wr){var v=e.stateNode;if(v!=null){var y=e.memoizedProps,S=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{Rz(v,A,E,S,y,e)}catch(Ft){fa(e,e.return,Ft)}}}}return}case k:{if(ql(t,e),gs(e),c&wr){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var J=e.stateNode,X=e.memoizedProps,ve=i!==null?i.memoizedProps:X;try{Dz(J,ve,X)}catch(Ft){fa(e,e.return,Ft)}}return}case b:{if(ql(t,e),gs(e),c&wr&&i!==null){var _e=i.memoizedState;if(_e.isDehydrated)try{eF(t.containerInfo)}catch(Ft){fa(e,e.return,Ft)}}return}case C:{ql(t,e),gs(e);return}case Q:{ql(t,e),gs(e);var xe=e.child;if(xe.flags&xu){var et=xe.stateNode,Et=xe.memoizedState,wt=Et!==null;if(et.isHidden=wt,wt){var pr=xe.alternate!==null&&xe.alternate.memoizedState!==null;pr||aU()}}if(c&wr){try{vH(e)}catch(Ft){fa(e,e.return,Ft)}I4(e)}return}case H:{var hr=i!==null&&i.memoizedState!==null;if(e.mode&vr){var ce=Rn;Rn=ce||hr,ql(t,e),Rn=ce}else ql(t,e);if(gs(e),c&xu){var Ee=e.stateNode,ue=e.memoizedState,Ye=ue!==null,st=e;if(Ee.isHidden=Ye,Ye&&!hr&&(st.mode&vr)!==Lt){gt=st;for(var rt=st.child;rt!==null;)gt=rt,yH(rt),rt=rt.sibling}fH(st,Ye)}return}case we:{ql(t,e),gs(e),c&wr&&I4(e);return}case ge:return;default:{ql(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){gd=n,bd=t,gt=e,z4(e,t,n),gd=null,bd=null}function z4(e,t,n){for(var i=(e.mode&vr)!==Lt;gt!==null;){var c=gt,d=c.child;if(c.tag===H&&i){var v=c.memoizedState!==null,y=v||u_;if(y){l0(e,t,n);continue}else{var S=c.alternate,E=S!==null&&S.memoizedState!==null,A=E||Rn,J=u_,X=Rn;u_=y,Rn=A,Rn&&!X&&(gt=c,wH(c));for(var ve=d;ve!==null;)gt=ve,z4(ve,t,n),ve=ve.sibling;gt=c,u_=J,Rn=X,l0(e,t,n);continue}}(c.subtreeFlags&gp)!==Bt&&d!==null?(d.return=c,gt=d):l0(e,t,n)}}function l0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&gp)!==Bt){var c=i.alternate;Sa(i);try{cH(t,c,i,n)}catch(v){fa(i,i.return,v)}hn()}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 O:case te:{if(t.mode&Kr)try{_s(),Vl(an,t,t.return)}finally{vs(t)}else Vl(an,t,t.return);break}case m:{yd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&n0(t,t.return,i);break}case w:{yd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){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 wH(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;Sa(t);try{uH(t)}catch(i){fa(t,t.return,i)}if(hn(),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,t,n,i){gt=t,CH(t,e,n,i)}function CH(e,t,n,i){for(;gt!==null;){var c=gt,d=c.child;(c.subtreeFlags&Hf)!==Bt&&d!==null?(d.return=c,gt=d):xH(e,t,n,i)}}function xH(e,t,n,i){for(;gt!==null;){var c=gt;if((c.flags&Ol)!==Bt){Sa(c);try{kH(t,c,n,i)}catch(v){fa(c,c.return,v)}hn()}if(c===e){gt=null;return}var d=c.sibling;if(d!==null){d.return=c.return,gt=d;return}gt=c.return}}function kH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){Ty();try{$c(Tn|rn,t)}finally{ky(t)}}else $c(Tn|rn,t);break}}}function TH(e){gt=e,EH()}function EH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Su)!==Bt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];gt=c,AH(c,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&Hf)!==Bt&&t!==null?(t.return=e,gt=t):RH()}}function RH(){for(;gt!==null;){var e=gt;(e.flags&Ol)!==Bt&&(Sa(e),DH(e),hn());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?(Ty(),Vl(Tn|rn,e,e.return),ky(e)):Vl(Tn|rn,e,e.return);break}}}function AH(e,t){for(;gt!==null;){var n=gt;Sa(n),NH(n,t),hn();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?(Ty(),Vl(Tn,e,t),ky(e)):Vl(Tn,e,t);break}}}function OH(e){switch(e.tag){case p:case j:case te:{try{$c(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 PH(e){switch(e.tag){case p:case j:case te:{try{$c(Tn|rn,e)}catch(t){fa(e,e.return,t)}break}}}function MH(e){switch(e.tag){case p:case j:case te:{try{Vl(an|rn,e,e.return)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&n0(e,e.return,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:try{Vl(Tn|rn,e,e.return)}catch(t){fa(e,e.return,t)}}}var BH=0,zH=1,FH=2,jH=3,HH=4;if(typeof Symbol=="function"&&Symbol.for){var xh=Symbol.for;BH=xh("selector.component"),zH=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&&u("The current testing environment is not configured to support act(...)"),e}}var YH=Math.ceil,s0=o.ReactCurrentDispatcher,c0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,Yl=o.ReactCurrentActQueue,ln=0,U4=1,Ln=2,wl=4,Zs=0,kh=1,Yu=2,d_=3,Th=4,V4=5,u0=6,_r=ln,Xn=null,Ra=null,sn=Be,bs=Be,f0=zc(Be),cn=Zs,Eh=null,d0=Be,p_=Be,Rh=Be,h_=Be,Dh=null,yo=null,p0=0,W4=500,q4=1/0,$H=500,ec=null;function Ah(){q4=mn()+$H}function Y4(){return q4}var m_=!1,h0=null,wd=null,$u=!1,Kc=null,Lh=Be,m0=[],v0=null,GH=50,Nh=0,_0=null,g0=!1,v_=!1,KH=50,Sd=0,__=null,Oh=va,g_=Be,$4=!1;function b_(){return Xn}function Qn(){return(_r&(Ln|wl))!==ln?mn():(Oh!==va||(Oh=mn()),Oh)}function Xc(e){var t=e.mode;if((t&vr)===Lt)return Yt;if((_r&Ln)!==ln&&sn!==Be)return kp(sn);var n=FF()!==zF;if(n){if(An.transition!==null){var i=An.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return g_===_n&&(g_=EC()),g_}var c=Ml();if(c!==_n)return c;var d=Cz();return d}function XH(e){var t=e.mode;return(t&vr)===Lt?Yt:$I()}function un(e,t,n,i){yU(),$4&&u("useInsertionEffect must not schedule updates."),g0&&(v_=!0),Tp(e,n,i),(_r&Ln)!==Be&&e===Xn?CU(t):(Pl&&AC(e,t,n),xU(t),e===Xn&&((_r&Ln)===ln&&(Rh=or(Rh,n)),cn===Th&&Qc(e,sn)),wo(e,i),n===Yt&&_r===ln&&(t.mode&vr)===Lt&&!Yl.isBatchingLegacy&&(Ah(),Y3()))}function QH(e,t,n){var i=e.current;i.lanes=t,Tp(e,t,n),wo(e,n)}function JH(e){return(_r&Ln)!==ln}function wo(e,t){var n=e.callbackNode;HI(e,t);var i=jm(e,e===Xn?sn:Be);if(i===Be){n!==null&&c5(n),e.callbackNode=null,e.callbackPriority=_n;return}var c=Lu(i),d=e.callbackPriority;if(d===c&&!(Yl.current!==null&&n!==k0)){n==null&&d!==Yt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&c5(n);var v;if(c===Yt)e.tag===Fc?(Yl.isBatchingLegacy!==null&&(Yl.didScheduleLegacyUpdate=!0),wF(X4.bind(null,e))):q3(X4.bind(null,e)),Yl.current!==null?Yl.current.push(jc):kz(function(){(_r&(Ln|wl))===ln&&jc()}),v=null;else{var y;switch(OC(i)){case Io:y=Im;break;case Ws:y=pb;break;case qs:y=Eu;break;case Vm:y=hb;break;default:y=Eu;break}v=T0(y,G4.bind(null,e))}e.callbackPriority=c,e.callbackNode=v}function G4(e,t){if(fj(),Oh=va,g_=Be,(_r&(Ln|wl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=rc();if(i&&e.callbackNode!==n)return null;var c=jm(e,e===Xn?sn:Be);if(c===Be)return null;var d=!Hm(e,c)&&!YI(e,c)&&!t,v=d?sU(e,c):w_(e,c);if(v!==Zs){if(v===Yu){var y=Ib(e);y!==Be&&(c=y,v=b0(e,y))}if(v===kh){var S=Eh;throw Gu(e,Be),Qc(e,c),wo(e,mn()),S}if(v===u0)Qc(e,c);else{var E=!Hm(e,c),A=e.current.alternate;if(E&&!eU(A)){if(v=w_(e,c),v===Yu){var J=Ib(e);J!==Be&&(c=J,v=b0(e,J))}if(v===kh){var X=Eh;throw Gu(e,Be),Qc(e,c),wo(e,mn()),X}}e.finishedWork=A,e.finishedLanes=c,ZH(e,v,c)}}return wo(e,mn()),e.callbackNode===n?G4.bind(null,e):null}function b0(e,t){var n=Dh;if(Wm(e)){var i=Gu(e,t);i.flags|=Fs,hF(e.containerInfo)}var c=w_(e,t);if(c!==Yu){var d=yo;yo=n,d!==null&&K4(d)}return c}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 Yu:{Ku(e,yo,ec);break}case d_:{if(Qc(e,n),kC(n)&&!u5()){var i=p0+W4-mn();if(i>10){var c=jm(e,Be);if(c!==Be)break;var d=e.suspendedLanes;if(!Yf(d,n)){var v=Qn();DC(e,d);break}e.timeoutHandle=m1(Ku.bind(null,e,yo,ec),i);break}}Ku(e,yo,ec);break}case Th:{if(Qc(e,n),qI(n))break;if(!u5()){var y=FI(e,n),S=y,E=mn()-S,A=bU(E)-E;if(A>10){e.timeoutHandle=m1(Ku.bind(null,e,yo,ec),A);break}}Ku(e,yo,ec);break}case V4:{Ku(e,yo,ec);break}default:throw new Error("Unknown root exit status.")}}function eU(e){for(var t=e;;){if(t.flags&Pm){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],v=d.getSnapshot,y=d.value;try{if(!zo(v(),y))return!1}catch(E){return!1}}}}var S=t.child;if(t.subtreeFlags&Pm&&S!==null){S.return=t,t=S;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 Qc(e,t){t=Um(t,h_),t=Um(t,Rh),KI(e,t)}function X4(e){if(dj(),(_r&(Ln|wl))!==ln)throw new Error("Should not already be working.");rc();var t=jm(e,Be);if(!Mo(t,Yt))return wo(e,mn()),null;var n=w_(e,t);if(e.tag!==Fc&&n===Yu){var i=Ib(e);i!==Be&&(t=i,n=b0(e,i))}if(n===kh){var c=Eh;throw Gu(e,Be),Qc(e,t),wo(e,mn()),c}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,Ku(e,yo,ec),wo(e,mn()),null}function tU(e,t){t!==Be&&(jb(e,or(t,Yt)),wo(e,mn()),(_r&(Ln|wl))===ln&&(Ah(),jc()))}function y0(e,t){var n=_r;_r|=U4;try{return e(t)}finally{_r=n,_r===ln&&!Yl.isBatchingLegacy&&(Ah(),Y3())}}function rU(e,t,n,i,c){var d=Ml(),v=An.transition;try{return An.transition=null,gn(Io),e(t,n,i,c)}finally{gn(d),An.transition=v,_r===ln&&Ah()}}function tc(e){Kc!==null&&Kc.tag===Fc&&(_r&(Ln|wl))===ln&&rc();var t=_r;_r|=U4;var n=An.transition,i=Ml();try{return An.transition=null,gn(Io),e?e():void 0}finally{gn(i),An.transition=n,_r=t,(_r&(Ln|wl))===ln&&jc()}}function Q4(){return(_r&(Ln|wl))!==ln}function y_(e,t){zn(f0,bs,e),bs=or(bs,t),d0=or(d0,t)}function w0(e){bs=f0.current,Bn(f0,e)}function Gu(e,t){e.finishedWork=null,e.finishedLanes=Be;var n=e.timeoutHandle;if(n!==v1&&(e.timeoutHandle=v1,xz(n)),Ra!==null)for(var i=Ra.return;i!==null;){var c=i.alternate;k4(c,i),i=i.return}Xn=e;var d=Xu(e.current,null);return Ra=d,sn=bs=d0=t,cn=Zs,Eh=null,p_=Be,Rh=Be,h_=Be,Dh=null,yo=null,YF(),zl.discardPendingWarnings(),d}function J4(e,t){do{var n=Ra;try{if(Av(),wx(),hn(),c0.current=null,n===null||n.return===null){cn=kh,Eh=t,Ra=null;return}if(ht&&n.mode&Kr&&o_(n,!0),$e)if(Uf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;EI(n,i,sn)}else TI(n,t,sn);wj(e,n.return,n,t,sn),r5(n)}catch(c){t=c,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function Z4(){var e=s0.current;return s0.current=e_,e===null?e_:e}function e5(e){s0.current=e}function aU(){p0=mn()}function Ph(e){p_=or(e,p_)}function nU(){cn===Zs&&(cn=d_)}function S0(){(cn===Zs||cn===d_||cn===Yu)&&(cn=Th),Xn!==null&&(Bb(p_)||Bb(Rh))&&Qc(Xn,sn)}function oU(e){cn!==Th&&(cn=Yu),Dh===null?Dh=[e]:Dh.push(e)}function iU(){return cn===Zs}function w_(e,t){var n=_r;_r|=Ln;var i=Z4();if(Xn!==e||sn!==t){if(Pl){var c=e.memoizedUpdaters;c.size>0&&(Mh(e,sn),c.clear()),LC(e,t)}ec=NC(),Gu(e,t)}yC(t);do try{lU();break}catch(d){J4(e,d)}while(!0);if(Av(),_r=n,e5(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 wC(),Xn=null,sn=Be,cn}function lU(){for(;Ra!==null;)t5(Ra)}function sU(e,t){var n=_r;_r|=Ln;var i=Z4();if(Xn!==e||sn!==t){if(Pl){var c=e.memoizedUpdaters;c.size>0&&(Mh(e,sn),c.clear()),LC(e,t)}ec=NC(),Ah(),Gu(e,t)}yC(t);do try{cU();break}catch(d){J4(e,d)}while(!0);return Av(),e5(i),_r=n,Ra!==null?(NI(),Zs):(wC(),Xn=null,sn=Be,cn)}function cU(){for(;Ra!==null&&!iI();)t5(Ra)}function t5(e){var t=e.alternate;Sa(e);var n;(e.mode&Kr)!==Lt?(xy(e),n=C0(t,e,bs),o_(e,!0)):n=C0(t,e,bs),hn(),e.memoizedProps=e.pendingProps,n===null?r5(e):Ra=n,c0.current=null}function r5(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&_p)===Bt){Sa(t);var c=void 0;if((t.mode&Kr)===Lt?c=x4(n,t,bs):(xy(t),c=x4(n,t,bs),o_(t,!1)),hn(),c!==null){Ra=c;return}}else{var d=Zj(n,t);if(d!==null){d.flags&=eI,Ra=d;return}if((t.mode&Kr)!==Lt){o_(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=Bt,i.deletions=null;else{cn=u0,Ra=null;return}}var S=t.sibling;if(S!==null){Ra=S;return}t=i,Ra=t}while(t!==null);cn===Zs&&(cn=V4)}function Ku(e,t,n){var i=Ml(),c=An.transition;try{An.transition=null,gn(Io),uU(e,t,n,i)}finally{An.transition=c,gn(i)}return null}function uU(e,t,n,i){do rc();while(Kc!==null);if(wU(),(_r&(Ln|wl))!==ln)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(bI(d),c===null)return _C(),null;if(d===Be&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Be,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 v=or(c.lanes,c.childLanes);XI(e,v),e===Xn&&(Xn=null,Ra=null,sn=Be),((c.subtreeFlags&Hf)!==Bt||(c.flags&Hf)!==Bt)&&($u||($u=!0,v0=n,T0(Eu,function(){return rc(),null})));var y=(c.subtreeFlags&(fb|db|gp|Hf))!==Bt,S=(c.flags&(fb|db|gp|Hf))!==Bt;if(y||S){var E=An.transition;An.transition=null;var A=Ml();gn(Io);var J=_r;_r|=wl,c0.current=null;var X=nH(e,c);Yx(),gH(e,c,d),_z(e.containerInfo),e.current=c,RI(d),bH(c,e,d),DI(),lI(),_r=J,gn(A),An.transition=E}else e.current=c,Yx();var ve=$u;if($u?($u=!1,Kc=e,Lh=d):(Sd=0,__=null),v=e.pendingLanes,v===Be&&(wd=null),ve||i5(e.current,!1),hI(c.stateNode,i),Pl&&e.memoizedUpdaters.clear(),VH(),wo(e,mn()),t!==null)for(var _e=e.onRecoverableError,xe=0;xe<t.length;xe++){var et=t[xe],Et=et.stack,wt=et.digest;_e(et.value,{componentStack:Et,digest:wt})}if(m_){m_=!1;var pr=h0;throw h0=null,pr}return Mo(Lh,Yt)&&e.tag!==Fc&&rc(),v=e.pendingLanes,Mo(v,Yt)?(uj(),e===_0?Nh++:(Nh=0,_0=e)):Nh=0,jc(),_C(),null}function rc(){if(Kc!==null){var e=OC(Lh),t=e9(qs,e),n=An.transition,i=Ml();try{return An.transition=null,gn(t),dU()}finally{gn(i),An.transition=n}}return!1}function fU(e){m0.push(e),$u||($u=!0,T0(Eu,function(){return rc(),null}))}function dU(){if(Kc===null)return!1;var e=v0;v0=null;var t=Kc,n=Lh;if(Kc=null,Lh=Be,(_r&(Ln|wl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");g0=!0,v_=!1,AI(n);var i=_r;_r|=wl,TH(t.current),SH(t,t.current,n,e);{var c=m0;m0=[];for(var d=0;d<c.length;d++){var v=c[d];sH(t,v)}}LI(),i5(t.current,!0),_r=i,jc(),v_?t===__?Sd++:(Sd=0,__=t):Sd=0,g0=!1,v_=!1,mI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function a5(e){return wd!==null&&wd.has(e)}function pU(e){wd===null?wd=new Set([e]):wd.add(e)}function hU(e){m_||(m_=!0,h0=e)}var mU=hU;function n5(e,t,n){var i=Wu(n,t),c=e4(e,i,Yt),d=Uc(e,c,Yt),v=Qn();d!==null&&(Tp(d,Yt,v),wo(d,v))}function fa(e,t,n){if(tH(n),Ih(!1),e.tag===b){n5(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){n5(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"&&!a5(d)){var v=Wu(n,e),y=Uy(i,v,Yt),S=Uc(i,y,Yt),E=Qn();S!==null&&(Tp(S,Yt,E),wo(S,E));return}}i=i.return}u(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
115
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",w,E)}}}d=d.next}while(d!==u)}}function sH(e,t){if((t.flags&Sr)!==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 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 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&Sr&&!Rn)if(t===null)if(n.type===n.elementType&&!qc&&(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.",er(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.",er(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidMount()}finally{vs(n)}else u.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Hl(n.type,t.memoizedProps),v=t.memoizedState;if(n.type===n.elementType&&!qc&&(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.",er(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.",er(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&&!qc&&(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.",er(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.",er(n)||"instance")),mx(n,y,u));break}case b:{var w=n.updateQueue;if(w!==null){var E=null;if(n.child!==null)switch(n.child.tag){case S:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}mx(n,w,E)}break}case S:{var A=n.stateNode;if(t===null&&n.flags&Sr){var J=n.type,X=n.memoizedProps;EB(A,J,X)}break}case k:break;case C:break;case F:{{var ve=n.memoizedProps,_e=ve.onCommit,xe=ve.onRender,et=n.stateNode.effectDuration,Et=qx(),St=t===null?"mount":"update";Wx()&&(St="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Et);{typeof _e=="function"&&_e(n.memoizedProps.id,St,et,Et),fU(n);var pr=n.return;e:for(;pr!==null;){switch(pr.tag){case b:var hr=pr.stateNode;hr.effectDuration+=et;break e;case F:var ue=pr.stateNode;ue.effectDuration+=et;break e}pr=pr.return}}}break}case Q:{_H(e,n);break}case Se:case ae:case ge:case H:case ie: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 S:{R4(e,e.return);break}}}function fH(e,t){for(var n=null,i=e;;){if(i.tag===S){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===ie)&&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 S: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.",er(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",er(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===S){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===S||e.tag===b||e.tag===C}function P4(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!==S&&t.tag!==k&&t.tag!==we;){if(t.flags&Xa||t.child===null||t.tag===C)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 S:{var n=t.stateNode;t.flags&vp&&(M3(n),t.flags&=~vp);var i=P4(e);i0(e,i,n);break}case b:case C:{var u=t.stateNode.containerInfo,d=P4(e);o0(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 o0(e,t,n){var i=e.tag,u=i===S||i===k;if(u){var d=e.stateNode;t?OB(n,d,t):LB(n,d)}else if(i!==C){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}}}function i0(e,t,n){var i=e.tag,u=i===S||i===k;if(u){var d=e.stateNode;t?NB(n,d,t):AB(n,d)}else if(i!==C){var v=e.child;if(v!==null){i0(v,t,n);for(var y=v.sibling;y!==null;)i0(y,t,n),y=y.sibling}}}var Dn=null,Wl=!1;function mH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case S:{Dn=i.stateNode,Wl=!1;break e}case b:{Dn=i.stateNode.containerInfo,Wl=!0;break e}case C:{Dn=i.stateNode.containerInfo,Wl=!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.");M4(e,t,n),Dn=null,Wl=!1}dH(n)}function Gu(e,t,n){for(var i=n.child;i!==null;)M4(e,t,i),i=i.sibling}function M4(e,t,n){switch(vM(n),n.tag){case S:Rn||yd(n,t);case k:{{var i=Dn,u=Wl;Dn=null,Gu(e,t,n),Dn=i,Wl=u,Dn!==null&&(Wl?MB(Dn,n.stateNode):PB(Dn,n.stateNode))}return}case we:{Dn!==null&&(Wl?IB(Dn,n.stateNode):_1(Dn,n.stateNode));return}case C:{{var d=Dn,v=Wl;Dn=n.stateNode.containerInfo,Wl=!0,Gu(e,t,n),Dn=d,Wl=v}return}case p:case j:case O: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 J=A,X=J.destroy,ve=J.tag;X!==void 0&&((ve&ps)!==bo?d_(n,t,X):(ve&an)!==bo&&(gC(n),n.mode&Kr?(_s(),d_(n,t,X),vs(n)):d_(n,t,X),bC())),A=A.next}while(A!==E)}}}Gu(e,t,n);return}case m:{if(!Rn){yd(n,t);var _e=n.stateNode;typeof _e.componentWillUnmount=="function"&&n0(n,t,_e)}Gu(e,t,n);return}case ge:{Gu(e,t,n);return}case H:{if(n.mode&vr){var xe=Rn;Rn=xe||n.memoizedState!==null,Gu(e,t,n),Rn=xe}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(gd!==null&&bd!==null)Mh(bd,gd);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){gd=n,bd=e,wa(t),z4(t,e),wa(t),gd=null,bd=null}function ql(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(w){fa(d,t,w)}}var v=Ug();if(t.subtreeFlags&db)for(var y=t.child;y!==null;)wa(y),z4(y,e),y=y.sibling;wa(v)}function z4(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case j:case O:case te:{if(ql(t,e),gs(e),u&Sr){try{Vl(ps|rn,e,e.return),$u(ps|rn,e)}catch(Ft){fa(e,e.return,Ft)}if(e.mode&Kr){try{_s(),Vl(an|rn,e,e.return)}catch(Ft){fa(e,e.return,Ft)}vs(e)}else try{Vl(an|rn,e,e.return)}catch(Ft){fa(e,e.return,Ft)}}return}case m:{ql(t,e),gs(e),u&Au&&i!==null&&yd(i,i.return);return}case S:{ql(t,e),gs(e),u&Au&&i!==null&&yd(i,i.return);{if(e.flags&vp){var d=e.stateNode;try{M3(d)}catch(Ft){fa(e,e.return,Ft)}}if(u&Sr){var v=e.stateNode;if(v!=null){var y=e.memoizedProps,w=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{RB(v,A,E,w,y,e)}catch(Ft){fa(e,e.return,Ft)}}}}return}case k:{if(ql(t,e),gs(e),u&Sr){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var J=e.stateNode,X=e.memoizedProps,ve=i!==null?i.memoizedProps:X;try{DB(J,ve,X)}catch(Ft){fa(e,e.return,Ft)}}return}case b:{if(ql(t,e),gs(e),u&Sr&&i!==null){var _e=i.memoizedState;if(_e.isDehydrated)try{eF(t.containerInfo)}catch(Ft){fa(e,e.return,Ft)}}return}case C:{ql(t,e),gs(e);return}case Q:{ql(t,e),gs(e);var xe=e.child;if(xe.flags&xc){var et=xe.stateNode,Et=xe.memoizedState,St=Et!==null;if(et.isHidden=St,St){var pr=xe.alternate!==null&&xe.alternate.memoizedState!==null;pr||aU()}}if(u&Sr){try{vH(e)}catch(Ft){fa(e,e.return,Ft)}I4(e)}return}case H:{var hr=i!==null&&i.memoizedState!==null;if(e.mode&vr){var ue=Rn;Rn=ue||hr,ql(t,e),Rn=ue}else ql(t,e);if(gs(e),u&xc){var Ee=e.stateNode,ce=e.memoizedState,Ye=ce!==null,st=e;if(Ee.isHidden=Ye,Ye&&!hr&&(st.mode&vr)!==Lt){gt=st;for(var rt=st.child;rt!==null;)gt=rt,yH(rt),rt=rt.sibling}fH(st,Ye)}return}case Se:{ql(t,e),gs(e),u&Sr&&I4(e);return}case ge:return;default:{ql(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){gd=n,bd=t,gt=e,B4(e,t,n),gd=null,bd=null}function B4(e,t,n){for(var i=(e.mode&vr)!==Lt;gt!==null;){var u=gt,d=u.child;if(u.tag===H&&i){var v=u.memoizedState!==null,y=v||f_;if(y){l0(e,t,n);continue}else{var w=u.alternate,E=w!==null&&w.memoizedState!==null,A=E||Rn,J=f_,X=Rn;f_=y,Rn=A,Rn&&!X&&(gt=u,SH(u));for(var ve=d;ve!==null;)gt=ve,B4(ve,t,n),ve=ve.sibling;gt=u,f_=J,Rn=X,l0(e,t,n);continue}}(u.subtreeFlags&gp)!==zt&&d!==null?(d.return=u,gt=d):l0(e,t,n)}}function l0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&gp)!==zt){var u=i.alternate;wa(i);try{uH(t,u,i,n)}catch(v){fa(i,i.return,v)}hn()}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 O:case te:{if(t.mode&Kr)try{_s(),Vl(an,t,t.return)}finally{vs(t)}else Vl(an,t,t.return);break}case m:{yd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&n0(t,t.return,i);break}case S:{yd(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;wa(t);try{cH(t)}catch(i){fa(t,t.return,i)}if(hn(),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&Hf)!==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&Ol)!==zt){wa(u);try{kH(t,u,n,i)}catch(v){fa(u,u.return,v)}hn()}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){Ty();try{$u(Tn|rn,t)}finally{ky(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&wc)!==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&Hf)!==zt&&t!==null?(t.return=e,gt=t):RH()}}function RH(){for(;gt!==null;){var e=gt;(e.flags&Ol)!==zt&&(wa(e),DH(e),hn());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?(Ty(),Vl(Tn|rn,e,e.return),ky(e)):Vl(Tn|rn,e,e.return);break}}}function AH(e,t){for(;gt!==null;){var n=gt;wa(n),NH(n,t),hn();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?(Ty(),Vl(Tn,e,t),ky(e)):Vl(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 PH(e){switch(e.tag){case p:case j:case te:{try{$u(Tn|rn,e)}catch(t){fa(e,e.return,t)}break}}}function MH(e){switch(e.tag){case p:case j:case te:{try{Vl(an|rn,e,e.return)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&n0(e,e.return,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:try{Vl(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,s0=o.ReactCurrentDispatcher,u0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,Yl=o.ReactCurrentActQueue,ln=0,U4=1,Ln=2,Sl=4,Zs=0,kh=1,Yc=2,p_=3,Th=4,V4=5,c0=6,_r=ln,Kn=null,Ra=null,sn=ze,bs=ze,f0=Bu(ze),un=Zs,Eh=null,d0=ze,h_=ze,Rh=ze,m_=ze,Dh=null,yo=null,p0=0,W4=500,q4=1/0,$H=500,eu=null;function Ah(){q4=mn()+$H}function Y4(){return q4}var v_=!1,h0=null,Sd=null,$c=!1,Ku=null,Lh=ze,m0=[],v0=null,GH=50,Nh=0,_0=null,g0=!1,__=!1,KH=50,wd=0,g_=null,Oh=va,b_=ze,$4=!1;function y_(){return Kn}function Xn(){return(_r&(Ln|Sl))!==ln?mn():(Oh!==va||(Oh=mn()),Oh)}function Xu(e){var t=e.mode;if((t&vr)===Lt)return Yt;if((_r&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 b_===_n&&(b_=EC()),b_}var u=Ml();if(u!==_n)return u;var d=CB();return d}function XH(e){var t=e.mode;return(t&vr)===Lt?Yt:$M()}function cn(e,t,n,i){yU(),$4&&c("useInsertionEffect must not schedule updates."),g0&&(__=!0),Tp(e,n,i),(_r&Ln)!==ze&&e===Kn?CU(t):(Pl&&AC(e,t,n),xU(t),e===Kn&&((_r&Ln)===ln&&(Rh=or(Rh,n)),un===Th&&Qu(e,sn)),So(e,i),n===Yt&&_r===ln&&(t.mode&vr)===Lt&&!Yl.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(_r&Ln)!==ln}function So(e,t){var n=e.callbackNode;HM(e,t);var i=Hm(e,e===Kn?sn:ze);if(i===ze){n!==null&&uk(n),e.callbackNode=null,e.callbackPriority=_n;return}var u=Lc(i),d=e.callbackPriority;if(d===u&&!(Yl.current!==null&&n!==k0)){n==null&&d!==Yt&&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===Yt)e.tag===Fu?(Yl.isBatchingLegacy!==null&&(Yl.didScheduleLegacyUpdate=!0),SF(X4.bind(null,e))):q3(X4.bind(null,e)),Yl.current!==null?Yl.current.push(ju):kB(function(){(_r&(Ln|Sl))===ln&&ju()}),v=null;else{var y;switch(OC(i)){case Io:y=zm;break;case Ws:y=pb;break;case qs:y=Ec;break;case Wm:y=hb;break;default:y=Ec;break}v=T0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=v}function G4(e,t){if(fj(),Oh=va,b_=ze,(_r&(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=Hm(e,e===Kn?sn:ze);if(u===ze)return null;var d=!Um(e,u)&&!YM(e,u)&&!t,v=d?sU(e,u):w_(e,u);if(v!==Zs){if(v===Yc){var y=Ib(e);y!==ze&&(u=y,v=b0(e,y))}if(v===kh){var w=Eh;throw Gc(e,ze),Qu(e,u),So(e,mn()),w}if(v===c0)Qu(e,u);else{var E=!Um(e,u),A=e.current.alternate;if(E&&!eU(A)){if(v=w_(e,u),v===Yc){var J=Ib(e);J!==ze&&(u=J,v=b0(e,J))}if(v===kh){var X=Eh;throw Gc(e,ze),Qu(e,u),So(e,mn()),X}}e.finishedWork=A,e.finishedLanes=u,ZH(e,v,u)}}return So(e,mn()),e.callbackNode===n?G4.bind(null,e):null}function b0(e,t){var n=Dh;if(qm(e)){var i=Gc(e,t);i.flags|=Fs,hF(e.containerInfo)}var u=w_(e,t);if(u!==Yc){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 Yc:{Kc(e,yo,eu);break}case p_:{if(Qu(e,n),kC(n)&&!ck()){var i=p0+W4-mn();if(i>10){var u=Hm(e,ze);if(u!==ze)break;var d=e.suspendedLanes;if(!Yf(d,n)){var v=Xn();DC(e,d);break}e.timeoutHandle=m1(Kc.bind(null,e,yo,eu),i);break}}Kc(e,yo,eu);break}case Th:{if(Qu(e,n),qM(n))break;if(!ck()){var y=FM(e,n),w=y,E=mn()-w,A=bU(E)-E;if(A>10){e.timeoutHandle=m1(Kc.bind(null,e,yo,eu),A);break}}Kc(e,yo,eu);break}case V4:{Kc(e,yo,eu);break}default:throw new Error("Unknown root exit status.")}}function eU(e){for(var t=e;;){if(t.flags&Mm){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 w=t.child;if(t.subtreeFlags&Mm&&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 Qu(e,t){t=Vm(t,m_),t=Vm(t,Rh),KM(e,t)}function X4(e){if(dj(),(_r&(Ln|Sl))!==ln)throw new Error("Should not already be working.");ru();var t=Hm(e,ze);if(!Mo(t,Yt))return So(e,mn()),null;var n=w_(e,t);if(e.tag!==Fu&&n===Yc){var i=Ib(e);i!==ze&&(t=i,n=b0(e,i))}if(n===kh){var u=Eh;throw Gc(e,ze),Qu(e,t),So(e,mn()),u}if(n===c0)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,Kc(e,yo,eu),So(e,mn()),null}function tU(e,t){t!==ze&&(jb(e,or(t,Yt)),So(e,mn()),(_r&(Ln|Sl))===ln&&(Ah(),ju()))}function y0(e,t){var n=_r;_r|=U4;try{return e(t)}finally{_r=n,_r===ln&&!Yl.isBatchingLegacy&&(Ah(),Y3())}}function rU(e,t,n,i,u){var d=Ml(),v=An.transition;try{return An.transition=null,gn(Io),e(t,n,i,u)}finally{gn(d),An.transition=v,_r===ln&&Ah()}}function tu(e){Ku!==null&&Ku.tag===Fu&&(_r&(Ln|Sl))===ln&&ru();var t=_r;_r|=U4;var n=An.transition,i=Ml();try{return An.transition=null,gn(Io),e?e():void 0}finally{gn(i),An.transition=n,_r=t,(_r&(Ln|Sl))===ln&&ju()}}function Q4(){return(_r&(Ln|Sl))!==ln}function S_(e,t){zn(f0,bs,e),bs=or(bs,t),d0=or(d0,t)}function S0(e){bs=f0.current,In(f0,e)}function Gc(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==v1&&(e.timeoutHandle=v1,xB(n)),Ra!==null)for(var i=Ra.return;i!==null;){var u=i.alternate;k4(u,i),i=i.return}Kn=e;var d=Xc(e.current,null);return Ra=d,sn=bs=d0=t,un=Zs,Eh=null,h_=ze,Rh=ze,m_=ze,Dh=null,yo=null,YF(),Bl.discardPendingWarnings(),d}function J4(e,t){do{var n=Ra;try{if(Lv(),Sx(),hn(),u0.current=null,n===null||n.return===null){un=kh,Eh=t,Ra=null;return}if(ht&&n.mode&Kr&&i_(n,!0),$e)if(Uf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;EM(n,i,sn)}else TM(n,t,sn);Sj(e,n.return,n,t,sn),rk(n)}catch(u){t=u,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function Z4(){var e=s0.current;return s0.current=t_,e===null?t_:e}function ek(e){s0.current=e}function aU(){p0=mn()}function Ph(e){h_=or(e,h_)}function nU(){un===Zs&&(un=p_)}function w0(){(un===Zs||un===p_||un===Yc)&&(un=Th),Kn!==null&&(zb(h_)||zb(Rh))&&Qu(Kn,sn)}function oU(e){un!==Th&&(un=Yc),Dh===null?Dh=[e]:Dh.push(e)}function iU(){return un===Zs}function w_(e,t){var n=_r;_r|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Mh(e,sn),u.clear()),LC(e,t)}eu=NC(),Gc(e,t)}yC(t);do try{lU();break}catch(d){J4(e,d)}while(!0);if(Lv(),_r=n,ek(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 SC(),Kn=null,sn=ze,un}function lU(){for(;Ra!==null;)tk(Ra)}function sU(e,t){var n=_r;_r|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Mh(e,sn),u.clear()),LC(e,t)}eu=NC(),Ah(),Gc(e,t)}yC(t);do try{uU();break}catch(d){J4(e,d)}while(!0);return Lv(),ek(i),_r=n,Ra!==null?(NM(),Zs):(SC(),Kn=null,sn=ze,un)}function uU(){for(;Ra!==null&&!iM();)tk(Ra)}function tk(e){var t=e.alternate;wa(e);var n;(e.mode&Kr)!==Lt?(xy(e),n=C0(t,e,bs),i_(e,!0)):n=C0(t,e,bs),hn(),e.memoizedProps=e.pendingProps,n===null?rk(e):Ra=n,u0.current=null}function rk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&_p)===zt){wa(t);var u=void 0;if((t.mode&Kr)===Lt?u=x4(n,t,bs):(xy(t),u=x4(n,t,bs),i_(t,!1)),hn(),u!==null){Ra=u;return}}else{var d=Zj(n,t);if(d!==null){d.flags&=eM,Ra=d;return}if((t.mode&Kr)!==Lt){i_(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=c0,Ra=null;return}}var w=t.sibling;if(w!==null){Ra=w;return}t=i,Ra=t}while(t!==null);un===Zs&&(un=V4)}function Kc(e,t,n){var i=Ml(),u=An.transition;try{An.transition=null,gn(Io),cU(e,t,n,i)}finally{An.transition=u,gn(i)}return null}function cU(e,t,n,i){do ru();while(Ku!==null);if(SU(),(_r&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var u=e.finishedWork,d=e.finishedLanes;if(bM(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=_n;var v=or(u.lanes,u.childLanes);XM(e,v),e===Kn&&(Kn=null,Ra=null,sn=ze),((u.subtreeFlags&Hf)!==zt||(u.flags&Hf)!==zt)&&($c||($c=!0,v0=n,T0(Ec,function(){return ru(),null})));var y=(u.subtreeFlags&(fb|db|gp|Hf))!==zt,w=(u.flags&(fb|db|gp|Hf))!==zt;if(y||w){var E=An.transition;An.transition=null;var A=Ml();gn(Io);var J=_r;_r|=Sl,u0.current=null;var X=nH(e,u);Yx(),gH(e,u,d),_B(e.containerInfo),e.current=u,RM(d),bH(u,e,d),DM(),lM(),_r=J,gn(A),An.transition=E}else e.current=u,Yx();var ve=$c;if($c?($c=!1,Ku=e,Lh=d):(wd=0,g_=null),v=e.pendingLanes,v===ze&&(Sd=null),ve||ik(e.current,!1),hM(u.stateNode,i),Pl&&e.memoizedUpdaters.clear(),VH(),So(e,mn()),t!==null)for(var _e=e.onRecoverableError,xe=0;xe<t.length;xe++){var et=t[xe],Et=et.stack,St=et.digest;_e(et.value,{componentStack:Et,digest:St})}if(v_){v_=!1;var pr=h0;throw h0=null,pr}return Mo(Lh,Yt)&&e.tag!==Fu&&ru(),v=e.pendingLanes,Mo(v,Yt)?(cj(),e===_0?Nh++:(Nh=0,_0=e)):Nh=0,ju(),_C(),null}function ru(){if(Ku!==null){var e=OC(Lh),t=eI(qs,e),n=An.transition,i=Ml();try{return An.transition=null,gn(t),dU()}finally{gn(i),An.transition=n}}return!1}function fU(e){m0.push(e),$c||($c=!0,T0(Ec,function(){return ru(),null}))}function dU(){if(Ku===null)return!1;var e=v0;v0=null;var t=Ku,n=Lh;if(Ku=null,Lh=ze,(_r&(Ln|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");g0=!0,__=!1,AM(n);var i=_r;_r|=Sl,TH(t.current),wH(t,t.current,n,e);{var u=m0;m0=[];for(var d=0;d<u.length;d++){var v=u[d];sH(t,v)}}LM(),ik(t.current,!0),_r=i,ju(),__?t===g_?wd++:(wd=0,g_=t):wd=0,g0=!1,__=!1,mM(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ak(e){return Sd!==null&&Sd.has(e)}function pU(e){Sd===null?Sd=new Set([e]):Sd.add(e)}function hU(e){v_||(v_=!0,h0=e)}var mU=hU;function nk(e,t,n){var i=Wc(n,t),u=e4(e,i,Yt),d=Uu(e,u,Yt),v=Xn();d!==null&&(Tp(d,Yt,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=Wc(n,e),y=Uy(i,v,Yt),w=Uu(i,y,Yt),E=Xn();w!==null&&(Tp(w,Yt,E),So(w,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.
116
116
 
117
117
  Error message:
118
118
 
119
- %s`,n)}function vU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Qn();DC(e,n),kU(e),Xn===e&&Yf(sn,n)&&(cn===Th||cn===d_&&kC(sn)&&mn()-p0<W4?Gu(e,Be):h_=or(h_,n)),wo(e,c)}function o5(e,t){t===_n&&(t=XH(e));var n=Qn(),i=go(e,t);i!==null&&(Tp(i,t,n),wo(i,n))}function _U(e){var t=e.memoizedState,n=_n;t!==null&&(n=t.retryLane),o5(e,n)}function gU(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 we: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),o5(e,n)}function bU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:YH(e/1960)*1960}function yU(){if(Nh>GH)throw Nh=0,_0=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.");Sd>KH&&(Sd=0,__=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 wU(){zl.flushLegacyContextWarning(),zl.flushPendingUnsafeLifecycleWarnings()}function i5(e,t){Sa(e),S_(e,Hs,MH),t&&S_(e,Mm,IH),S_(e,Hs,OH),t&&S_(e,Mm,PH),hn()}function S_(e,t,n){for(var i=e,c=null;i!==null;){var d=i.subtreeFlags&t;i!==c&&i.child!==null&&d!==Bt?i=i.child:((i.flags&t)!==Bt&&n(i),i.sibling!==null?i=i.sibling:i=c=i.return)}}var C_=null;function l5(e){{if((_r&Ln)!==ln||!(e.mode&vr))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==O&&t!==te)return;var n=er(e)||"ReactComponent";if(C_!==null){if(C_.has(n))return;C_.add(n)}else C_=new Set([n]);var i=In;try{Sa(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?Sa(e):hn()}}}var C0;{var SU=null;C0=function(e,t,n){var i=m5(SU,t);try{return b4(e,t,n)}catch(d){if(DF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Av(),wx(),k4(e,t),m5(t,i),t.mode&Kr&&xy(t),ob(null,b4,null,e,t,n),XM()){var c=ib();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var s5=!1,x0;x0=new Set;function CU(e){if(Ec&&!lj())switch(e.tag){case p:case j:case te:{var t=Ra&&er(Ra)||"Unknown",n=t;if(!x0.has(n)){x0.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:{s5||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),s5=!0);break}}}function Mh(e,t){if(Pl){var n=e.memoizedUpdaters;n.forEach(function(i){AC(e,i,t)})}}var k0={};function T0(e,t){{var n=Yl.current;return n!==null?(n.push(t),k0):vC(e,t)}}function c5(e){if(e!==k0)return oI(e)}function u5(){return Yl.current!==null}function xU(e){{if(e.mode&vr){if(!H4())return}else if(!qH()||_r!==ln||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Yl.current===null){var t=In;try{Sa(e),u(`An update to %s inside a test was not wrapped in act(...).
119
+ %s`,n)}function vU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var u=Xn();DC(e,n),kU(e),Kn===e&&Yf(sn,n)&&(un===Th||un===p_&&kC(sn)&&mn()-p0<W4?Gc(e,ze):m_=or(m_,n)),So(e,u)}function ok(e,t){t===_n&&(t=XH(e));var n=Xn(),i=go(e,t);i!==null&&(Tp(i,t,n),So(i,n))}function _U(e){var t=e.memoizedState,n=_n;t!==null&&(n=t.retryLane),ok(e,n)}function gU(e,t){var n=_n,i;switch(e.tag){case Q:i=e.stateNode;var u=e.memoizedState;u!==null&&(n=u.retryLane);break;case Se: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),ok(e,n)}function bU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:YH(e/1960)*1960}function yU(){if(Nh>GH)throw Nh=0,_0=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.");wd>KH&&(wd=0,g_=null,c("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function SU(){Bl.flushLegacyContextWarning(),Bl.flushPendingUnsafeLifecycleWarnings()}function ik(e,t){wa(e),C_(e,Hs,MH),t&&C_(e,Im,IH),C_(e,Hs,OH),t&&C_(e,Im,PH),hn()}function C_(e,t,n){for(var i=e,u=null;i!==null;){var d=i.subtreeFlags&t;i!==u&&i.child!==null&&d!==zt?i=i.child:((i.flags&t)!==zt&&n(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var x_=null;function lk(e){{if((_r&Ln)!==ln||!(e.mode&vr))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==O&&t!==te)return;var n=er(e)||"ReactComponent";if(x_!==null){if(x_.has(n))return;x_.add(n)}else x_=new Set([n]);var i=Mn;try{wa(e),c("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?wa(e):hn()}}}var C0;{var wU=null;C0=function(e,t,n){var i=mk(wU,t);try{return b4(e,t,n)}catch(d){if(DF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Lv(),Sx(),k4(e,t),mk(t,i),t.mode&Kr&&xy(t),ob(null,b4,null,e,t,n),XP()){var u=ib();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var sk=!1,x0;x0=new Set;function CU(e){if(Eu&&!lj())switch(e.tag){case p:case j:case te:{var t=Ra&&er(Ra)||"Unknown",n=t;if(!x0.has(n)){x0.add(n);var i=er(e)||"Unknown";c("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case m:{sk||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sk=!0);break}}}function Mh(e,t){if(Pl){var n=e.memoizedUpdaters;n.forEach(function(i){AC(e,i,t)})}}var k0={};function T0(e,t){{var n=Yl.current;return n!==null?(n.push(t),k0):vC(e,t)}}function uk(e){if(e!==k0)return oM(e)}function ck(){return Yl.current!==null}function xU(e){{if(e.mode&vr){if(!H4())return}else if(!qH()||_r!==ln||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Yl.current===null){var t=Mn;try{wa(e),c(`An update to %s inside a test was not wrapped in act(...).
120
120
 
121
121
  When testing, code that causes React state updates should be wrapped into act(...):
122
122
 
@@ -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`,er(e))}finally{t?Sa(e):hn()}}}}function kU(e){e.tag!==Fc&&H4()&&Yl.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
128
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,er(e))}finally{t?wa(e):hn()}}}}function kU(e){e.tag!==Fu&&H4()&&Yl.current===null&&c(`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 Ih(e){$4=e}var Sl=null,Cd=null,TU=function(e){Sl=e};function xd(e){{if(Sl===null)return e;var t=Sl(e);return t===void 0?e:t.current}}function E0(e){return xd(e)}function R0(e){{if(Sl===null)return e;var t=Sl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=xd(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 f5(e,t){{if(Sl===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 O:case te:{(d===ct||d===Je)&&(c=!0);break}default:return!1}if(c){var v=Sl(n);if(v!==void 0&&v===Sl(i))return!0}return!1}}function d5(e){{if(Sl===null||typeof WeakSet!="function")return;Cd===null&&(Cd=new WeakSet),Cd.add(e)}}var EU=function(e,t){{if(Sl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;rc(),tc(function(){D0(e.current,i,n)})}},RU=function(e,t){{if(e.context!==Fo)return;rc(),tc(function(){Bh(t,e,null,null)})}};function D0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,v=e.tag,y=e.type,S=null;switch(v){case p:case te:case m:S=y;break;case j:S=y.render;break}if(Sl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(S!==null){var J=Sl(S);J!==void 0&&(n.has(J)?A=!0:t.has(J)&&(v===m?A=!0:E=!0))}if(Cd!==null&&(Cd.has(e)||i!==null&&Cd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var X=go(e,Yt);X!==null&&un(X,e,Yt,va)}c!==null&&!A&&D0(c,t,n),d!==null&&D0(d,t,n)}}var DU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return A0(e.current,i,n),n}};function A0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,v=e.type,y=null;switch(d){case p:case te:case m:y=v;break;case j:y=v.render;break}var S=!1;y!==null&&t.has(y)&&(S=!0),S?AU(e,n):i!==null&&A0(i,t,n),c!==null&&A0(c,t,n)}}function AU(e,t){{var n=LU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case C: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 LU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var L0;{L0=!1;try{var p5=Object.preventExtensions({})}catch(e){L0=!0}}function NU(e,t,n,i){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=Bt,this.subtreeFlags=Bt,this.deletions=null,this.lanes=Be,this.childLanes=Be,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,!L0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new NU(e,t,n,i)};function N0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function OU(e){return typeof e=="function"&&!N0(e)&&e.defaultProps===void 0}function PU(e){if(typeof e=="function")return N0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ct)return O}return g}function Xu(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=Bt,n.subtreeFlags=Bt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Us,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=xd(e.type);break;case m:n.type=E0(e.type);break;case j:n.type=R0(e.type);break}return n}function MU(e,t){e.flags&=Us|Xa;var n=e.alternate;if(n===null)e.childLanes=Be,e.lanes=t,e.child=null,e.subtreeFlags=Bt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Bt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function IU(e,t,n){var i;return e===yv?(i=vr,t===!0&&(i|=Pa,i|=cs)):i=Lt,Pl&&(i|=Kr),jo(b,null,null,i)}function O0(e,t,n,i,c,d){var v=g,y=e;if(typeof e=="function")N0(e)?(v=m,y=E0(y)):y=xd(y);else if(typeof e=="string")v=w;else e:switch(e){case le:return Jc(n.children,c,d,t);case Ve:v=M,c|=Pa,(c&vr)!==Lt&&(c|=cs);break;case Fe:return BU(n,c,d,t);case ke:return zU(n,c,d,t);case He:return FU(n,c,d,t);case kt:return h5(n,c,d,t);case Ut:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:v=P;break e;case W:v=Y;break e;case pe:v=j,y=R0(y);break e;case ct:v=O;break e;case Je:v=me,y=null;break e}var S="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(S+=" 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&&(S+=`
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 Ih(e){$4=e}var wl=null,Cd=null,TU=function(e){wl=e};function xd(e){{if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}}function E0(e){return xd(e)}function R0(e){{if(wl===null)return e;var t=wl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=xd(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 fk(e,t){{if(wl===null)return!1;var n=e.elementType,i=t.type,u=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(u=!0);break}case p:{(typeof i=="function"||d===Je)&&(u=!0);break}case j:{(d===pe||d===Je)&&(u=!0);break}case O:case te:{(d===ut||d===Je)&&(u=!0);break}default:return!1}if(u){var v=wl(n);if(v!==void 0&&v===wl(i))return!0}return!1}}function dk(e){{if(wl===null||typeof WeakSet!="function")return;Cd===null&&(Cd=new WeakSet),Cd.add(e)}}var EU=function(e,t){{if(wl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;ru(),tu(function(){D0(e.current,i,n)})}},RU=function(e,t){{if(e.context!==Fo)return;ru(),tu(function(){zh(t,e,null,null)})}};function D0(e,t,n){{var i=e.alternate,u=e.child,d=e.sibling,v=e.tag,y=e.type,w=null;switch(v){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 J=wl(w);J!==void 0&&(n.has(J)?A=!0:t.has(J)&&(v===m?A=!0:E=!0))}if(Cd!==null&&(Cd.has(e)||i!==null&&Cd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var X=go(e,Yt);X!==null&&cn(X,e,Yt,va)}u!==null&&!A&&D0(u,t,n),d!==null&&D0(d,t,n)}}var DU=function(e,t){{var n=new Set,i=new Set(t.map(function(u){return u.current}));return A0(e.current,i,n),n}};function A0(e,t,n){{var i=e.child,u=e.sibling,d=e.tag,v=e.type,y=null;switch(d){case p:case te:case m:y=v;break;case j:y=v.render;break}var w=!1;y!==null&&t.has(y)&&(w=!0),w?AU(e,n):i!==null&&A0(i,t,n),u!==null&&A0(u,t,n)}}function AU(e,t){{var n=LU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case S:t.add(i.stateNode);return;case C: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 LU(e,t){for(var n=e,i=!1;;){if(n.tag===S)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 L0;{L0=!1;try{var pk=Object.preventExtensions({})}catch(e){L0=!0}}function NU(e,t,n,i){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=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,!L0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new NU(e,t,n,i)};function N0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function OU(e){return typeof e=="function"&&!N0(e)&&e.defaultProps===void 0}function PU(e){if(typeof e=="function")return N0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ut)return O}return g}function Xc(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=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Us,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=xd(e.type);break;case m:n.type=E0(e.type);break;case j:n.type=R0(e.type);break}return n}function MU(e,t){e.flags&=Us|Xa;var n=e.alternate;if(n===null)e.childLanes=ze,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function IU(e,t,n){var i;return e===Sv?(i=vr,t===!0&&(i|=Pa,i|=us)):i=Lt,Pl&&(i|=Kr),jo(b,null,null,i)}function O0(e,t,n,i,u,d){var v=g,y=e;if(typeof e=="function")N0(e)?(v=m,y=E0(y)):y=xd(y);else if(typeof e=="string")v=S;else e:switch(e){case le:return Ju(n.children,u,d,t);case Ve:v=M,u|=Pa,(u&vr)!==Lt&&(u|=us);break;case Fe:return zU(n,u,d,t);case ke:return BU(n,u,d,t);case He:return FU(n,u,d,t);case kt:return hk(n,u,d,t);case Ut:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:v=P;break e;case W:v=Y;break e;case pe:v=j,y=R0(y);break e;case ut:v=O;break e;case Je:v=me,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)+"."+S))}}var A=jo(v,n,t,c);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function P0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,v=e.props,y=O0(c,d,v,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Jc(e,t,n,i){var c=jo(L,e,i,t);return c.lanes=n,c}function BU(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 zU(e,t,n,i){var c=jo(Q,e,i,t);return c.elementType=ke,c.lanes=n,c}function FU(e,t,n,i){var c=jo(we,e,i,t);return c.elementType=He,c.lanes=n,c}function h5(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 M0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function jU(){var e=jo(w,null,null,Lt);return e.elementType="DELETED",e}function HU(e){var t=jo(Se,null,null,Lt);return t.stateNode=e,t}function I0(e,t,n){var i=e.children!==null?e.children:[],c=jo(C,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function m5(e,t){return e===null&&(e=jo(g,null,null,Lt)),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 UU(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=v1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=_n,this.eventTimes=Fb(Be),this.expirationTimes=Fb(va),this.pendingLanes=Be,this.suspendedLanes=Be,this.pingedLanes=Be,this.expiredLanes=Be,this.mutableReadLanes=Be,this.finishedLanes=Be,this.entangledLanes=Be,this.entanglements=Fb(Be),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],v=0;v<vb;v++)d.push(new Set)}switch(t){case yv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fc:this._debugRootType=n?"hydrate()":"render()";break}}function v5(e,t,n,i,c,d,v,y,S,E){var A=new UU(e,t,n,y,S),J=IU(t,d);A.current=J,J.stateNode=A;{var X={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};J.memoizedState=X}return G1(J),A}var B0="18.3.1";function VU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Sr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var z0,F0;z0=!1,F0={};function _5(e){if(!e)return Fo;var t=Ff(e),n=yF(t);if(t.tag===m){var i=t.type;if(ds(i))return V3(t,i,n)}return n}function WU(e,t){{var n=Ff(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=pC(n);if(c===null)return null;if(c.mode&Pa){var d=er(n)||"Component";if(!F0[d]){F0[d]=!0;var v=In;try{Sa(c),n.mode&Pa?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d)}finally{v?Sa(v):hn()}}}return c.stateNode}}function g5(e,t,n,i,c,d,v,y){var S=!1,E=null;return v5(e,t,S,E,n,i,c,d,v)}function b5(e,t,n,i,c,d,v,y,S,E){var A=!0,J=v5(n,i,A,e,c,d,v,y,S);J.context=_5(null);var X=J.current,ve=Qn(),_e=Xc(X),xe=Qs(ve,_e);return xe.callback=t!=null?t:null,Uc(X,xe,_e),QH(J,_e,ve),J}function Bh(e,t,n,i){pI(t,e);var c=t.current,d=Qn(),v=Xc(c);OI(v);var y=_5(n);t.context===null?t.context=y:t.pendingContext=y,Ec&&In!==null&&!z0&&(z0=!0,u(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
139
+ Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+w))}}var A=jo(v,n,t,u);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function P0(e,t,n){var i=null;i=e._owner;var u=e.type,d=e.key,v=e.props,y=O0(u,d,v,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Ju(e,t,n,i){var u=jo(L,e,i,t);return u.lanes=n,u}function zU(e,t,n,i){typeof e.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=jo(F,e,i,t|Kr);return u.elementType=Fe,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function BU(e,t,n,i){var u=jo(Q,e,i,t);return u.elementType=ke,u.lanes=n,u}function FU(e,t,n,i){var u=jo(Se,e,i,t);return u.elementType=He,u.lanes=n,u}function hk(e,t,n,i){var u=jo(H,e,i,t);u.elementType=kt,u.lanes=n;var d={isHidden:!1};return u.stateNode=d,u}function M0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function jU(){var e=jo(S,null,null,Lt);return e.elementType="DELETED",e}function HU(e){var t=jo(we,null,null,Lt);return t.stateNode=e,t}function I0(e,t,n){var i=e.children!==null?e.children:[],u=jo(C,i,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function mk(e,t){return e===null&&(e=jo(g,null,null,Lt)),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 UU(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=v1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=_n,this.eventTimes=Fb(ze),this.expirationTimes=Fb(va),this.pendingLanes=ze,this.suspendedLanes=ze,this.pingedLanes=ze,this.expiredLanes=ze,this.mutableReadLanes=ze,this.finishedLanes=ze,this.entangledLanes=ze,this.entanglements=Fb(ze),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],v=0;v<vb;v++)d.push(new Set)}switch(t){case Sv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fu:this._debugRootType=n?"hydrate()":"render()";break}}function vk(e,t,n,i,u,d,v,y,w,E){var A=new UU(e,t,n,y,w),J=IU(t,d);A.current=J,J.stateNode=A;{var X={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};J.memoizedState=X}return G1(J),A}var z0="18.3.1";function VU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return wr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var B0,F0;B0=!1,F0={};function _k(e){if(!e)return Fo;var t=Ff(e),n=yF(t);if(t.tag===m){var i=t.type;if(ds(i))return V3(t,i,n)}return n}function WU(e,t){{var n=Ff(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=pC(n);if(u===null)return null;if(u.mode&Pa){var d=er(n)||"Component";if(!F0[d]){F0[d]=!0;var v=Mn;try{wa(u),n.mode&Pa?c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d):c("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d)}finally{v?wa(v):hn()}}}return u.stateNode}}function gk(e,t,n,i,u,d,v,y){var w=!1,E=null;return vk(e,t,w,E,n,i,u,d,v)}function bk(e,t,n,i,u,d,v,y,w,E){var A=!0,J=vk(n,i,A,e,u,d,v,y,w);J.context=_k(null);var X=J.current,ve=Xn(),_e=Xu(X),xe=Qs(ve,_e);return xe.callback=t!=null?t:null,Uu(X,xe,_e),QH(J,_e,ve),J}function zh(e,t,n,i){pM(t,e);var u=t.current,d=Xn(),v=Xu(u);OM(v);var y=_k(n);t.context===null?t.context=y:t.pendingContext=y,Eu&&Mn!==null&&!B0&&(B0=!0,c(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
140
140
 
141
- Check the render method of %s.`,er(In)||"Unknown"));var S=Qs(d,v);S.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),S.callback=i);var E=Uc(c,S,v);return E!==null&&(un(E,c,v,d),Mv(E,c,v)),v}function x_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case w:return t.child.stateNode;default:return t.child.stateNode}}function qU(e){switch(e.tag){case b:{var t=e.stateNode;if(Wm(t)){var n=UI(t);tU(t,n)}break}case Q:{tc(function(){var c=go(e,Yt);if(c!==null){var d=Qn();un(c,e,Yt,d)}});var i=Yt;j0(e,i);break}}}function y5(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=GI(n.retryLane,t))}function j0(e,t){y5(e,t);var n=e.alternate;n&&y5(n,t)}function YU(e){if(e.tag===Q){var t=Sp,n=go(e,t);if(n!==null){var i=Qn();un(n,e,t,i)}j0(e,t)}}function $U(e){if(e.tag===Q){var t=Xc(e),n=go(e,t);if(n!==null){var i=Qn();un(n,e,t,i)}j0(e,t)}}function w5(e){var t=nI(e);return t===null?null:t.stateNode}var S5=function(e){return null};function GU(e){return S5(e)}var C5=function(e){return!1};function KU(e){return C5(e)}var x5=null,k5=null,T5=null,E5=null,R5=null,D5=null,A5=null,L5=null,N5=null;{var O5=function(e,t,n){var i=t[n],c=tn(e)?e.slice():At({},e);return n+1===t.length?(tn(c)?c.splice(i,1):delete c[i],c):(c[i]=O5(e[i],t,n+1),c)},P5=function(e,t){return O5(e,t,0)},M5=function(e,t,n,i){var c=t[i],d=tn(e)?e.slice():At({},e);if(i+1===t.length){var v=n[i];d[v]=d[c],tn(d)?d.splice(c,1):delete d[c]}else d[c]=M5(e[c],t,n,i+1);return d},I5=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 M5(e,t,n,0)},B5=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=tn(e)?e.slice():At({},e);return d[c]=B5(e[c],t,n+1,i),d},z5=function(e,t,n){return B5(e,t,0,n)},H0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};x5=function(e,t,n,i){var c=H0(e,t);if(c!==null){var d=z5(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=At({},e.memoizedProps);var v=go(e,Yt);v!==null&&un(v,e,Yt,va)}},k5=function(e,t,n){var i=H0(e,t);if(i!==null){var c=P5(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=At({},e.memoizedProps);var d=go(e,Yt);d!==null&&un(d,e,Yt,va)}},T5=function(e,t,n,i){var c=H0(e,t);if(c!==null){var d=I5(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=At({},e.memoizedProps);var v=go(e,Yt);v!==null&&un(v,e,Yt,va)}},E5=function(e,t,n){e.pendingProps=z5(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,Yt);i!==null&&un(i,e,Yt,va)},R5=function(e,t){e.pendingProps=P5(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=go(e,Yt);n!==null&&un(n,e,Yt,va)},D5=function(e,t,n){e.pendingProps=I5(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,Yt);i!==null&&un(i,e,Yt,va)},A5=function(e){var t=go(e,Yt);t!==null&&un(t,e,Yt,va)},L5=function(e){S5=e},N5=function(e){C5=e}}function XU(e){var t=pC(e);return t===null?null:t.stateNode}function QU(e){return null}function JU(){return In}function ZU(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return dI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:x5,overrideHookStateDeletePath:k5,overrideHookStateRenamePath:T5,overrideProps:E5,overridePropsDeletePath:R5,overridePropsRenamePath:D5,setErrorHandler:L5,setSuspenseHandler:N5,scheduleUpdate:A5,currentDispatcherRef:n,findHostInstanceByFiber:XU,findFiberByHostInstance:t||QU,findHostInstancesForRefresh:DU,scheduleRefresh:EU,scheduleRoot:RU,setRefreshHandler:TU,getCurrentFiber:JU,reconcilerVersion:B0})}var F5=typeof reportError=="function"?reportError:function(e){console.error(e)};function U0(e){this._internalRoot=e}k_.prototype.render=U0.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()."):T_(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!==Ka){var i=w5(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.")}}Bh(e,t,null,null)},k_.prototype.unmount=U0.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;Q4()&&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."),tc(function(){Bh(null,e,null,null)}),z3(t)}};function eV(e,t){if(!T_(e))throw new Error("createRoot(...): Target container is not a DOM element.");j5(e);var n=!1,i=!1,c="",d=F5,v=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
141
+ Check the render method of %s.`,er(Mn)||"Unknown"));var w=Qs(d,v);w.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),w.callback=i);var E=Uu(u,w,v);return E!==null&&(cn(E,u,v,d),Iv(E,u,v)),v}function k_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case S:return t.child.stateNode;default:return t.child.stateNode}}function qU(e){switch(e.tag){case b:{var t=e.stateNode;if(qm(t)){var n=UM(t);tU(t,n)}break}case Q:{tu(function(){var u=go(e,Yt);if(u!==null){var d=Xn();cn(u,e,Yt,d)}});var i=Yt;j0(e,i);break}}}function yk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=GM(n.retryLane,t))}function j0(e,t){yk(e,t);var n=e.alternate;n&&yk(n,t)}function YU(e){if(e.tag===Q){var t=wp,n=go(e,t);if(n!==null){var i=Xn();cn(n,e,t,i)}j0(e,t)}}function $U(e){if(e.tag===Q){var t=Xu(e),n=go(e,t);if(n!==null){var i=Xn();cn(n,e,t,i)}j0(e,t)}}function Sk(e){var t=nM(e);return t===null?null:t.stateNode}var wk=function(e){return null};function GU(e){return wk(e)}var Ck=function(e){return!1};function KU(e){return Ck(e)}var xk=null,kk=null,Tk=null,Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null;{var Ok=function(e,t,n){var i=t[n],u=tn(e)?e.slice():At({},e);return n+1===t.length?(tn(u)?u.splice(i,1):delete u[i],u):(u[i]=Ok(e[i],t,n+1),u)},Pk=function(e,t){return Ok(e,t,0)},Mk=function(e,t,n,i){var u=t[i],d=tn(e)?e.slice():At({},e);if(i+1===t.length){var v=n[i];d[v]=d[u],tn(d)?d.splice(u,1):delete d[u]}else d[u]=Mk(e[u],t,n,i+1);return d},Ik=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 Mk(e,t,n,0)},zk=function(e,t,n,i){if(n>=t.length)return i;var u=t[n],d=tn(e)?e.slice():At({},e);return d[u]=zk(e[u],t,n+1,i),d},Bk=function(e,t,n){return zk(e,t,0,n)},H0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};xk=function(e,t,n,i){var u=H0(e,t);if(u!==null){var d=Bk(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=At({},e.memoizedProps);var v=go(e,Yt);v!==null&&cn(v,e,Yt,va)}},kk=function(e,t,n){var i=H0(e,t);if(i!==null){var u=Pk(i.memoizedState,n);i.memoizedState=u,i.baseState=u,e.memoizedProps=At({},e.memoizedProps);var d=go(e,Yt);d!==null&&cn(d,e,Yt,va)}},Tk=function(e,t,n,i){var u=H0(e,t);if(u!==null){var d=Ik(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=At({},e.memoizedProps);var v=go(e,Yt);v!==null&&cn(v,e,Yt,va)}},Ek=function(e,t,n){e.pendingProps=Bk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,Yt);i!==null&&cn(i,e,Yt,va)},Rk=function(e,t){e.pendingProps=Pk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=go(e,Yt);n!==null&&cn(n,e,Yt,va)},Dk=function(e,t,n){e.pendingProps=Ik(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,Yt);i!==null&&cn(i,e,Yt,va)},Ak=function(e){var t=go(e,Yt);t!==null&&cn(t,e,Yt,va)},Lk=function(e){wk=e},Nk=function(e){Ck=e}}function XU(e){var t=pC(e);return t===null?null:t.stateNode}function QU(e){return null}function JU(){return Mn}function ZU(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return dM({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:xk,overrideHookStateDeletePath:kk,overrideHookStateRenamePath:Tk,overrideProps:Ek,overridePropsDeletePath:Rk,overridePropsRenamePath:Dk,setErrorHandler:Lk,setSuspenseHandler:Nk,scheduleUpdate:Ak,currentDispatcherRef:n,findHostInstanceByFiber:XU,findFiberByHostInstance:t||QU,findHostInstancesForRefresh:DU,scheduleRefresh:EU,scheduleRoot:RU,setRefreshHandler:TU,getCurrentFiber:JU,reconcilerVersion:z0})}var Fk=typeof reportError=="function"?reportError:function(e){console.error(e)};function U0(e){this._internalRoot=e}T_.prototype.render=U0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?c("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):E_(arguments[1])?c("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]!="undefined"&&c("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Ka){var i=Sk(t.current);i&&i.parentNode!==n&&c("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}zh(e,t,null,null)},T_.prototype.unmount=U0.prototype.unmount=function(){typeof arguments[0]=="function"&&c("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Q4()&&c("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),tu(function(){zh(null,e,null,null)}),B3(t)}};function eV(e,t){if(!E_(e))throw new Error("createRoot(...): Target container is not a DOM element.");jk(e);var n=!1,i=!1,u="",d=Fk,v=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&&c(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
142
142
 
143
143
  let root = createRoot(domContainer);
144
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(v=t.transitionCallbacks));var y=g5(e,yv,null,n,i,c,d);pv(y.current,e);var S=e.nodeType===Ka?e.parentNode:e;return Vp(S),new U0(y)}function k_(e){this._internalRoot=e}function tV(e){e&&f9(e)}k_.prototype.unstable_scheduleHydration=tV;function rV(e,t,n){if(!T_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");j5(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,v=!1,y="",S=F5;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(S=n.onRecoverableError));var E=b5(t,null,e,yv,i,d,v,y,S);if(pv(E.current,e),Vp(e),c)for(var A=0;A<c.length;A++){var J=c[A];tj(E,J)}return new k_(E)}function T_(e){return!!(e&&(e.nodeType===vo||e.nodeType===zs||e.nodeType===Gg||!be))}function zh(e){return!!(e&&(e.nodeType===vo||e.nodeType===zs||e.nodeType===Gg||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function j5(e){e.nodeType===vo&&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."),eh(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 aV=o.ReactCurrentOwner,H5;H5=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){var t=w5(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=V0(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===vo&&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 V0(e){return e?e.nodeType===zs?e.documentElement:e.firstChild:null}function U5(){}function nV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var X=x_(v);d.call(X)}}var v=b5(t,i,e,Fc,null,!1,!1,"",U5);e._reactRootContainer=v,pv(v.current,e);var y=e.nodeType===Ka?e.parentNode:e;return Vp(y),tc(),v}else{for(var S;S=e.lastChild;)e.removeChild(S);if(typeof i=="function"){var E=i;i=function(){var X=x_(A);E.call(X)}}var A=g5(e,Fc,null,!1,!1,"",U5);e._reactRootContainer=A,pv(A.current,e);var J=e.nodeType===Ka?e.parentNode:e;return Vp(J),tc(function(){Bh(t,A,n,i)}),A}}function oV(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 E_(e,t,n,i,c){H5(n),oV(c===void 0?null:c,"render");var d=n._reactRootContainer,v;if(!d)v=nV(n,t,e,c,i);else{if(v=d,typeof c=="function"){var y=c;c=function(){var S=x_(v);y.call(S)}}Bh(t,v,e,c)}return x_(v)}var V5=!1;function iV(e){{V5||(V5=!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=aV.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===vo?e:WU(e,"findDOMNode")}function lV(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"),!zh(t))throw new Error("Target container is not a DOM element.");{var i=eh(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 E_(null,e,t,!0,n)}function sV(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"),!zh(t))throw new Error("Target container is not a DOM element.");{var i=eh(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 E_(null,e,t,!1,n)}function cV(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"),!zh(n))throw new Error("Target container is not a DOM element.");if(e==null||!QM(e))throw new Error("parentComponent must be a valid React Component");return E_(e,t,n,!1,i)}var W5=!1;function uV(e){if(W5||(W5=!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")),!zh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=eh(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=V0(e),i=n&&!Bc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tc(function(){E_(null,null,e,!1,function(){e._reactRootContainer=null,z3(e)})}),!0}else{{var c=V0(e),d=!!(c&&Bc(c)),v=e.nodeType===vo&&zh(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",v?"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}}t9(qU),a9(YU),n9($U),o9(Ml),i9(JI),(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"),jM(lz),VM(y0,rU,tc);function fV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!T_(t))throw new Error("Target container is not a DOM element.");return VU(e,t,null,n)}function dV(e,t,n,i){return cV(e,t,n,i)}var W0={usingClientEntryPoint:!1,Events:[Bc,td,hv,tC,rC,y0]};function pV(e,t){return W0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eV(e,t)}function hV(e,t,n){return W0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t,n)}function mV(e){return Q4()&&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."),tc(e)}var vV=ZU({findFiberByHostInstance:Mu,bundleType:1,version:B0,rendererPackageName:"react-dom"});if(!vV&&St&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var q5=window.location.protocol;/^(https?|file):$/.test(q5)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(q5==="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=W0,Uo.createPortal=fV,Uo.createRoot=pV,Uo.findDOMNode=iV,Uo.flushSync=mV,Uo.hydrate=lV,Uo.hydrateRoot=hV,Uo.render=sV,Uo.unmountComponentAtNode=uV,Uo.unstable_batchedUpdates=y0,Uo.unstable_renderSubtreeIntoContainer=dV,Uo.version=B0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var q0=Ue((X$,J5)=>{"use strict";J5.exports=Q5()});var Z5=Ue($0=>{"use strict";var Y0=q0();jh=Y0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$0.createRoot=function(r,a){jh.usingClientEntryPoint=!0;try{return Y0.createRoot(r,a)}finally{jh.usingClientEntryPoint=!1}},$0.hydrateRoot=function(r,a,o){jh.usingClientEntryPoint=!0;try{return Y0.hydrateRoot(r,a,o)}finally{jh.usingClientEntryPoint=!1}};var jh});var o2=Ue(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Mr(){return Mr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Mr.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),ek="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),u=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=oc(s?m().pathname:"/",w,k,L);return ws(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function b(w){return typeof w=="string"?w:Ss(w)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?$l(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=Ia.Push;let L=g(w,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:u,location:L,delta:1})},replace(w,k){u=Ia.Replace;let L=g(w,k);s[f]=L,l&&h&&h({action:u,location:L,delta:0})},go(w){u=Ia.Pop;let k=p(f+w),L=s[k];f=k,h&&h({action:u,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:u,hash:h}=l.location;return oc("",{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:Ss(s)}return vk(a,o,null,r)}function RV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=$l(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),oc("",{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:Ss(f))}function l(s,f){ws(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return vk(a,o,l,r)}function Lr(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 DV(){return Math.random().toString(36).substr(2,8)}function tk(r,a){return{usr:r.state,key:r.key,idx:a}}function oc(r,a,o,l){return o===void 0&&(o=null),Mr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?$l(a):a,{state:o,key:a&&a.key||l||DV()})}function Ss(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 $l(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 vk(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(Mr({},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 C(M,Y){h=Ia.Push;let P=oc(L.location,M,Y);o&&o(P,M),m=g()+1;let j=tk(P,m),F=L.createHref(P);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 w(M,Y){h=Ia.Replace;let P=oc(L.location,M,Y);o&&o(P,M),m=g();let j=tk(P,m),F=L.createHref(P);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,P=typeof M=="string"?M:Ss(M);return P=P.replace(/ $/,"%20"),Lr(Y,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,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(ek,b),p=M,()=>{s.removeEventListener(ek,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:C,replace:w,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}({}),AV=new Set(["lazy","caseSensitive","path","id","index","children"]);function LV(r){return r.index===!0}function Zu(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(Lr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Lr(!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=Mr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Mr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=Zu(s.children,a,u,l)),p}})}function nc(r,a,o){return o===void 0&&(o="/"),L_(r,a,o,!1)}function L_(r,a,o,l){let s=typeof a=="string"?$l(a):a,f=Vh(s.pathname||"/",o);if(f==null)return null;let u=gk(r);NV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=yk(f);h=HV(u[p],m,l)}return h}function _k(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 gk(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("/")&&(Lr(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=Dd([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Lr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),gk(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,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of bk(f.path))s(f,u,p)}),a}function bk(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=bk(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 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-]+$/,PV=3,MV=2,IV=1,BV=10,zV=-2,rk=r=>r==="*";function FV(r,a){let o=r.split("/"),l=o.length;return o.some(rk)&&(l+=zV),a&&(l+=MV),o.filter(s=>!rk(s)).reduce((s,f)=>s+(OV.test(f)?PV:f===""?IV:BV),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="/",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=X0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),C=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=X0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Dd([f,b.pathname]),pathnameBase:kk(Dd([f,b.pathnameBase])),route:C}),b.pathnameBase!=="/"&&(f=Dd([f,b.pathnameBase]))}return u}function UV(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,C]=g,w=a[b];return Lr(C==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function X0(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],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:C,isOptional:w}=g;if(C==="*"){let L=h[b]||"";u=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[C]=void 0:m[C]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function VV(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 yk(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 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 wk(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?$l(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 G0(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 Sk(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function Ck(r,a){let o=Sk(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function xk(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=$l(r):(s=Mr({},r),Lr(!s.pathname||!s.pathname.includes("?"),G0("?","pathname","search",s)),Lr(!s.pathname||!s.pathname.includes("#"),G0("#","pathname","hash",s)),Lr(!s.search||!s.search.includes("#"),G0("#","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 C=u.split("/");for(;C[0]==="..";)C.shift(),b-=1;s.pathname=C.join("/")}h=b>=0?a[b]:"/"}let p=wk(s,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function qV(r){return r===""||r.pathname===""?"/":typeof r=="string"?$l(r).pathname:r.pathname}var Dd=r=>r.join("/").replace(/\/\/+/g,"/"),kk=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),Mr({},l,{headers:s}))},Q0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function KV(r,a){return new Q0(r,typeof a=="number"?{status:a}:a)}var Uh=class extends Error{},O_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Lr(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 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,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 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 Lr(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 O_(a,l)},r2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Mr({},l,{headers:s}))},ZV=(r,a)=>{let o=r2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},eW=(r,a)=>{let o=r2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ad=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 Ld(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Tk=["post","put","patch","delete"],tW=new Set(Tk),rW=["get",...Tk],aW=new Set(rW),nW=new Set([301,302,303,307,308]),oW=new Set([307,308]),N_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ek={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Rd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},a2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rk=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),Dk="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;Lr(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=Rk;let f={},u=Zu(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||Pk,g=r.unstable_patchRoutesOnMiss,b=Mr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),C=null,w=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,P=nc(u,r.history.location,p),j=null;if(P==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=P_(u);P=V,j={[re.id]:I}}P&&!r.hydrationData&&Ie(P,u,r.history.location.pathname).active&&(P=null);let F;if(P)if(P.some(I=>I.route.lazy))F=!1;else if(!P.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=le=>le.route.loader?typeof le.route.loader=="function"&&le.route.loader.hydrate===!0?!1:I&&I[le.route.id]!==void 0||V&&V[le.route.id]!==void 0:!0;if(V){let le=P.findIndex(Ve=>V[Ve.route.id]!==void 0);F=P.slice(0,le+1).every(re)}else F=P.every(re)}else F=r.hydrationData!=null;else if(F=!1,P=[],b.v7_partialHydration){let I=Ie(null,u,r.history.location.pathname);I.active&&I.matches&&(P=I.matches)}let Q,O={historyAction:r.history.action,location:r.history.location,matches:P,initialized:F,navigation:N_,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,me=!1,ae,Se=!1,we=new Map,ge=null,H=!1,ie=!1,fe=[],z=new Set,q=new Map,ne=0,Z=-1,se=new Map,ye=new Set,be=new Map,Oe=new Map,We=new Set,$e=new Map,ht=new Map,Mt=new Map,lt=!1;function yt(){if(C=r.history.listen(I=>{let{action:V,location:re,delta:le}=I;if(lt){lt=!1;return}ws(ht.size===0||le!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=ee({currentLocation:O.location,nextLocation:re,historyAction:V});if(Ve&&le!=null){lt=!0,r.history.go(le*-1),N(Ve,{state:"blocked",location:re,proceed(){N(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(le)},reset(){let Fe=new Map(O.blockers);Fe.set(Ve,Rd),Ce({blockers:Fe})}});return}return jt(V,re)}),o){bW(a,we);let I=()=>yW(a,we);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return O.initialized||jt(Ia.Pop,O.location,{initialHydration:!0}),Q}function ut(){C&&C(),ge&&ge(),w.clear(),ae&&ae.abort(),O.fetchers.forEach((I,V)=>ze(V)),O.blockers.forEach((I,V)=>Yr(V))}function tt(I){return w.add(I),()=>w.delete(I)}function Ce(I,V){V===void 0&&(V={}),O=Mr({},O,I);let re=[],le=[];b.v7_fetcherPersist&&O.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&(We.has(Fe)?le.push(Fe):re.push(Fe))}),[...w].forEach(Ve=>Ve(O,{deletedFetchers:le,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(Ve=>O.fetchers.delete(Ve)),le.forEach(Ve=>ze(Ve)))}function St(I,V,re){var le,Ve;let{flushSync:Fe}=re===void 0?{}:re,D=O.actionData!=null&&O.navigation.formMethod!=null&&Cl(O.navigation.formMethod)&&O.navigation.state==="loading"&&((le=I.state)==null?void 0:le._isRedirect)!==!0,W;V.actionData?Object.keys(V.actionData).length>0?W=V.actionData:W=null:D?W=O.actionData:W=null;let pe=V.loaderData?fk(O.loaderData,V.loaderData,V.matches||[],V.errors):O.loaderData,ke=O.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Rd)));let He=me===!0||O.navigation.formMethod!=null&&Cl(O.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 ct;if(te===Ia.Pop){let Je=we.get(O.location.pathname);Je&&Je.has(I.pathname)?ct={currentLocation:O.location,nextLocation:I}:we.has(I.pathname)&&(ct={currentLocation:I,nextLocation:O.location})}else if(Se){let Je=we.get(O.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),we.set(O.location.pathname,Je)),ct={currentLocation:O.location,nextLocation:I}}Ce(Mr({},V,{actionData:W,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:N_,revalidation:"idle",restoreScrollPosition:Me(I,V.matches||O.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ct,flushSync:Fe===!0}),te=Ia.Pop,me=!1,Se=!1,H=!1,ie=!1,fe=[]}function It(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=J0(O.location,O.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:le,submission:Ve,error:Fe}=nk(b.v7_normalizeFormMethod,!1,re,V),D=O.location,W=oc(O.location,le,V&&V.state);W=Mr({},W,r.history.encodeLocation(W));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===O.location.pathname+O.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ct=(V&&V.unstable_flushSync)===!0,Je=ee({currentLocation:D,nextLocation:W,historyAction:ke});if(Je){N(Je,{state:"blocked",location:W,proceed(){N(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),It(I,V)},reset(){let Ke=new Map(O.blockers);Ke.set(Je,Rd),Ce({blockers:Ke})}});return}return yield jt(ke,W,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ct})})}function qt(){if(fr(),Ce({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){jt(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}jt(te||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}function jt(I,V,re){return na(this,null,function*(){ae&&ae.abort(),ae=null,te=I,H=(re&&re.startUninterruptedRevalidation)===!0,Pe(O.location,O.matches),me=(re&&re.preventScrollReset)===!0,Se=(re&&re.enableViewTransition)===!0;let le=h||u,Ve=re&&re.overrideNavigation,Fe=nc(le,V,p),D=(re&&re.flushSync)===!0,W=Ie(Fe,le,V.pathname);if(W.active&&W.matches&&(Fe=W.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Ut}=R(V.pathname);St(V,{matches:kt,loaderData:{},errors:{[Ut.id]:Ct}},{flushSync:D});return}if(O.initialized&&!ie&&pW(O.location,V)&&!(re&&re.submission&&Cl(re.submission.formMethod))){St(V,{matches:Fe},{flushSync:D});return}ae=new AbortController;let pe=Ed(r.history,V,ae.signal,re&&re.submission),ke;if(re&&re.pendingError)ke=[Qu(Fe).route.id,{type:Vr.error,error:re.pendingError}];else if(re&&re.submission&&Cl(re.submission.formMethod)){let Ct=yield tr(pe,V,re.submission,Fe,W.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Ut]=Ct.pendingActionResult;if(On(Ut)&&Ld(Ut.error)&&Ut.error.status===404){ae=null,St(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Ut.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=K0(V,re.submission),D=!1,W.active=!1,pe=Ed(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ct,loaderData:Je,errors:Ke}=yield cr(pe,V,Fe,W.active,Ve,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,ke);He||(ae=null,St(V,Mr({matches:ct||Fe},dk(ke),{loaderData:Je,errors:Ke})))})}function tr(I,V,re,le,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),fr();let D=_W(V,re);if(Ce({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield qe(le,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ct}=B(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ct}]}}else if(ke.matches)le=ke.matches;else{let{notFoundMatches:He,error:ct,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ct}]}}}let W,pe=Ju(le,V);if(!pe.route.action&&!pe.route.lazy)W={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(W=(yield Nr("action",I,[pe],le))[0],I.signal.aborted)return{shortCircuited:!0};if(ru(W)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=sk(W.response.headers.get("Location"),new URL(I.url),p)===O.location.pathname+O.location.search,yield Cr(I,W,{submission:re,replace:ke}),{shortCircuited:!0}}if(tu(W))throw Ca(400,{type:"defer-action"});if(On(W)){let ke=Qu(le,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:le,pendingActionResult:[ke.route.id,W]}}return{matches:le,pendingActionResult:[pe.route.id,W]}})}function cr(I,V,re,le,Ve,Fe,D,W,pe,ke,He){return na(this,null,function*(){let ct=Ve||K0(V,Fe),Je=Fe||D||mk(ct),Ke=!H&&(!b.v7_partialHydration||!pe);if(le){if(Ke){let aa=Sr(He);Ce(Mr({navigation:ct},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Qt=yield qe(re,V.pathname,I.signal);if(Qt.type==="aborted")return{shortCircuited:!0};if(Qt.type==="error"){let{boundaryId:aa,error:Za}=B(V.pathname,Qt);return{matches:Qt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Qt.matches)re=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,Ut]=ok(r.history,O,re,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,ie,fe,z,We,be,ye,Ct,p,He);if($(Qt=>!(re&&re.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),Z=++ne,kt.length===0&&Ut.length===0){let Qt=Ht();return St(V,Mr({matches:re,loaderData:{},errors:He&&On(He[1])?{[He[0]]:He[1].error}:null},dk(He),Qt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Qt={};if(!le){Qt.navigation=ct;let aa=Sr(He);aa!==void 0&&(Qt.actionData=aa)}Ut.length>0&&(Qt.fetchers=ra(Ut)),Ce(Qt,{flushSync:ke})}Ut.forEach(Qt=>{q.has(Qt.key)&&mt(Qt.key),Qt.controller&&q.set(Qt.key,Qt.controller)});let $r=()=>Ut.forEach(Qt=>mt(Qt.key));ae&&ae.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:la}=yield ha(O.matches,re,kt,Ut,I);if(I.signal.aborted)return{shortCircuited:!0};ae&&ae.signal.removeEventListener("abort",$r),Ut.forEach(Qt=>q.delete(Qt.key));let sa=pk([...Ha,...la]);if(sa){if(sa.idx>=kt.length){let Qt=Ut[sa.idx-kt.length].key;ye.add(Qt)}return yield Cr(I,sa.result,{replace:W}),{shortCircuited:!0}}let{loaderData:Ga,errors:At}=uk(O,re,kt,Ha,He,Ut,la,$e);$e.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&$e.delete(aa)})}),b.v7_partialHydration&&pe&&O.errors&&Object.entries(O.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;At=Object.assign(At||{},{[aa]:Za})});let qn=Ht(),is=xr(Z),ls=qn||is||Ut.length>0;return Mr({matches:re,loaderData:Ga,errors:At},ls?{fetchers:new Map(O.fetchers)}:{})})}function Sr(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function ra(I){return I.forEach(V=>{let re=O.fetchers.get(V.key),le=Hh(void 0,re?re.data:void 0);O.fetchers.set(V.key,le)}),new Map(O.fetchers)}function jr(I,V,re,le){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(I)&&mt(I);let Ve=(le&&le.unstable_flushSync)===!0,Fe=h||u,D=J0(O.location,O.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,le==null?void 0:le.relative),W=nc(Fe,D,p),pe=Ie(W,Fe,D);if(pe.active&&pe.matches&&(W=pe.matches),!W){Or(I,V,Ca(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ct}=nk(b.v7_normalizeFormMethod,!0,D,le);if(ct){Or(I,V,ct,{flushSync:Ve});return}let Je=Ju(W,ke);if(me=(le&&le.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,W,pe.active,Ve,He);return}be.set(I,{routeId:V,path:ke}),ur(I,V,ke,Je,W,pe.active,Ve,He)}function qr(I,V,re,le,Ve,Fe,D,W){return na(this,null,function*(){fr(),be.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=Ca(405,{method:W.formMethod,pathname:re,routeId:V});return Or(I,V,Yn,{flushSync:D}),!0}return!1}if(!Fe&&pe(le))return;let ke=O.fetchers.get(I);Rr(I,gW(W,ke),{flushSync:D});let He=new AbortController,ct=Ed(r.history,re,He.signal,W);if(Fe){let Gr=yield qe(Ve,re,ct.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=B(re,Gr);Or(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,le=Ju(Ve,re),pe(le))return}else{Or(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}q.set(I,He);let Je=ne,Ct=(yield Nr("action",ct,[le],Ve))[0];if(ct.signal.aborted){q.get(I)===He&&q.delete(I);return}if(b.v7_fetcherPersist&&We.has(I)){if(ru(Ct)||On(Ct)){Rr(I,Zc(void 0));return}}else{if(ru(Ct))if(q.delete(I),Z>Je){Rr(I,Zc(void 0));return}else return ye.add(I),Rr(I,Hh(W)),Cr(ct,Ct,{fetcherSubmission:W});if(On(Ct)){Or(I,V,Ct.error);return}}if(tu(Ct))throw Ca(400,{type:"defer-action"});let kt=O.navigation.location||O.location,Ut=Ed(r.history,kt,He.signal),$r=h||u,Ha=O.navigation.state!=="idle"?nc($r,O.navigation.location,p):O.matches;Lr(Ha,"Didn't find any matches after fetcher action");let la=++ne;se.set(I,la);let sa=Hh(W,Ct.data);O.fetchers.set(I,sa);let[Ga,At]=ok(r.history,O,Ha,W,kt,!1,b.v7_skipActionErrorRevalidation,ie,fe,z,We,be,ye,$r,p,[le.route.id,Ct]);At.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,bu=O.fetchers.get(Yn),ap=Hh(void 0,bu?bu.data:void 0);O.fetchers.set(Yn,ap),q.has(Yn)&&mt(Yn),Gr.controller&&q.set(Yn,Gr.controller)}),Ce({fetchers:new Map(O.fetchers)});let qn=()=>At.forEach(Gr=>mt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:is,fetcherResults:ls}=yield ha(O.matches,Ha,Ga,At,Ut);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),se.delete(I),q.delete(I),At.forEach(Gr=>q.delete(Gr.key));let Qt=pk([...is,...ls]);if(Qt){if(Qt.idx>=Ga.length){let Gr=At[Qt.idx-Ga.length].key;ye.add(Gr)}return Cr(Ut,Qt.result)}let{loaderData:aa,errors:Za}=uk(O,O.matches,Ga,is,void 0,At,ls,$e);if(O.fetchers.has(I)){let Gr=Zc(Ct.data);O.fetchers.set(I,Gr)}xr(la),O.navigation.state==="loading"&&la>Z?(Lr(te,"Expected pending action"),ae&&ae.abort(),St(O.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(O.fetchers)})):(Ce({errors:Za,loaderData:fk(O.loaderData,aa,Ha,Za),fetchers:new Map(O.fetchers)}),ie=!1)})}function ur(I,V,re,le,Ve,Fe,D,W){return na(this,null,function*(){let pe=O.fetchers.get(I);Rr(I,Hh(W,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Ed(r.history,re,ke.signal);if(Fe){let Ct=yield qe(Ve,re,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=B(re,Ct);Or(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,le=Ju(Ve,re);else{Or(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}q.set(I,ke);let ct=ne,Ke=(yield Nr("loader",He,[le],Ve))[0];if(tu(Ke)&&(Ke=(yield Uk(Ke,He.signal,!0))||Ke),q.get(I)===ke&&q.delete(I),!He.signal.aborted){if(We.has(I)){Rr(I,Zc(void 0));return}if(ru(Ke))if(Z>ct){Rr(I,Zc(void 0));return}else{ye.add(I),yield Cr(He,Ke);return}if(On(Ke)){Or(I,V,Ke.error);return}Lr(!tu(Ke),"Unhandled fetcher deferred data"),Rr(I,Zc(Ke.data))}})}function Cr(I,V,re){return na(this,null,function*(){let{submission:le,fetcherSubmission:Ve,replace:Fe}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(ie=!0);let D=V.response.headers.get("Location");Lr(D,"Expected a Location header on the redirect Response"),D=sk(D,new URL(I.url),p);let W=oc(O.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(a2.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}}ae=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ct}=O.navigation;!le&&!Ve&&ke&&He&&ct&&(le=mk(O.navigation));let Je=le||Ve;if(oW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield jt(pe,W,{submission:Mr({},Je,{formAction:D}),preventScrollReset:me});else{let Ke=K0(W,le);yield jt(pe,W,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:me})}})}function Nr(I,V,re,le){return na(this,null,function*(){try{let Ve=yield Mk(m,I,V,re,le,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(jk(Fe)){let W=Fe.result;return{type:Vr.redirect,response:Bk(W,V,re[D].route.id,le,p,b.v7_relativeSplatPath)}}return Ik(Fe)}))}catch(Ve){return re.map(()=>({type:Vr.error,error:Ve}))}})}function ha(I,V,re,le,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([re.length?Nr("loader",Ve,re,V):[],...le.map(W=>{if(W.matches&&W.match&&W.controller){let pe=Ed(r.history,W.path,W.controller.signal);return Nr("loader",pe,[W.match],W.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:W.path})})})]);return yield Promise.all([hk(I,re,Fe,Fe.map(()=>Ve.signal),!1,O.loaderData),hk(I,le.map(W=>W.match),D,le.map(W=>W.controller?W.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function fr(){ie=!0,fe.push(...$()),be.forEach((I,V)=>{q.has(V)&&(z.add(V),mt(V))})}function Rr(I,V,re){re===void 0&&(re={}),O.fetchers.set(I,V),Ce({fetchers:new Map(O.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Or(I,V,re,le){le===void 0&&(le={});let Ve=Qu(O.matches,V);ze(I),Ce({errors:{[Ve.route.id]:re},fetchers:new Map(O.fetchers)},{flushSync:(le&&le.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Oe.set(I,(Oe.get(I)||0)+1),We.has(I)&&We.delete(I)),O.fetchers.get(I)||Ek}function ze(I){let V=O.fetchers.get(I);q.has(I)&&!(V&&V.state==="loading"&&se.has(I))&&mt(I),be.delete(I),se.delete(I),ye.delete(I),We.delete(I),z.delete(I),O.fetchers.delete(I)}function at(I){if(b.v7_fetcherPersist){let V=(Oe.get(I)||0)-1;V<=0?(Oe.delete(I),We.add(I)):Oe.set(I,V)}else ze(I);Ce({fetchers:new Map(O.fetchers)})}function mt(I){let V=q.get(I);Lr(V,"Expected fetch controller: "+I),V.abort(),q.delete(I)}function Wt(I){for(let V of I){let re=_a(V),le=Zc(re.data);O.fetchers.set(V,le)}}function Ht(){let I=[],V=!1;for(let re of ye){let le=O.fetchers.get(re);Lr(le,"Expected fetcher: "+re),le.state==="loading"&&(ye.delete(re),I.push(re),V=!0)}return Wt(I),V}function xr(I){let V=[];for(let[re,le]of se)if(le<I){let Ve=O.fetchers.get(re);Lr(Ve,"Expected fetcher: "+re),Ve.state==="loading"&&(mt(re),se.delete(re),V.push(re))}return Wt(V),V.length>0}function mr(I,V){let re=O.blockers.get(I)||Rd;return ht.get(I)!==V&&ht.set(I,V),re}function Yr(I){O.blockers.delete(I),ht.delete(I)}function N(I,V){let re=O.blockers.get(I)||Rd;Lr(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let le=new Map(O.blockers);le.set(I,V),Ce({blockers:le})}function ee(I){let{currentLocation:V,nextLocation:re,historyAction:le}=I;if(ht.size===0)return;ht.size>1&&ws(!1,"A router only supports one blocker at a time");let Ve=Array.from(ht.entries()),[Fe,D]=Ve[Ve.length-1],W=O.blockers.get(Fe);if(!(W&&W.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:le}))return Fe}function R(I){let V=Ca(404,{pathname:I}),re=h||u,{matches:le,route:Ve}=P_(re);return $(),{notFoundMatches:le,route:Ve,error:V}}function B(I,V){return{boundaryId:Qu(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 $(I){let V=[];return $e.forEach((re,le)=>{(!I||I(le))&&(re.cancel(),V.push(le),$e.delete(le))}),V}function de(I,V,re){if(k=I,M=V,L=re||null,!Y&&O.navigation===N_){Y=!0;let le=Me(O.location,O.matches);le!=null&&Ce({restoreScrollPosition:le})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(le=>_k(le,O.loaderData)))||I.key}function Pe(I,V){if(k&&M){let re=oe(I,V);k[re]=M()}}function Me(I,V){if(k){let re=oe(I,V),le=k[re];if(typeof le=="number")return le}return null}function Ie(I,V,re){if(g)if(I){let le=I[I.length-1].route;if(le.path&&(le.path==="*"||le.path.endsWith("/*")))return{active:!0,matches:L_(V,re,p,!0)}}else return{active:!0,matches:L_(V,re,p,!0)||[]};return{active:!1,matches:null}}function qe(I,V,re){return na(this,null,function*(){let le=I,Ve=le.length>0?le[le.length-1].route:null;for(;;){let Fe=h==null,D=h||u;try{yield fW(g,V,le,D,f,s,Mt,re)}catch(He){return{type:"error",error:He,partialMatches:le}}finally{Fe&&(u=[...u])}if(re.aborted)return{type:"aborted"};let W=nc(D,V,p),pe=!1;if(W){let He=W[W.length-1].route;if(He.index)return{type:"success",matches:W};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:W}}let ke=L_(D,V,p,!0);if(!ke||le.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?W:null};if(le=ke,Ve=le[le.length-1].route,Ve.path==="*")return{type:"success",matches:le}}})}function Ae(I){f={},h=Zu(I,s,void 0,f)}function Qe(I,V){let re=h==null;Ok(I,V,h||u,f,s),re&&(u=[...u],Ce({}))}return Q={get basename(){return p},get future(){return b},get state(){return O},get routes(){return u},get window(){return a},initialize:yt,subscribe:tt,enableScrollRestoration:de,navigate:It,fetch:jr,revalidate:qt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:at,dispose:ut,getBlocker:mr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:q,_internalActiveDeferreds:$e,_internalSetRoutes:Ae},Q}var Ak=Symbol("deferred");function lW(r,a){Lr(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=Rk;let f=Mr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=Zu(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,P=new URL(w.url),j=w.method,F=oc("",Ss(P),null,"default"),Q=nc(u,F,l);if(!t2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:me,route:ae}=P_(u);return{basename:l,location:F,matches:me,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ca(404,{pathname:F.pathname}),{matches:me,route:ae}=P_(u);return{basename:l,location:F,matches:me,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let O=yield m(w,F,Q,L,Y||null,M===!0,null);return eu(O)?O:Mr({location:F,basename:l},O)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,P=new URL(w.url),j=w.method,F=oc("",Ss(P),null,"default"),Q=nc(u,F,l);if(!t2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!Q)throw Ca(404,{pathname:F.pathname});let O=L?Q.find(Se=>Se.route.id===L):Ju(Q,F);if(L&&!O)throw Ca(403,{pathname:F.pathname,routeId:L});if(!O)throw Ca(404,{pathname:F.pathname});let te=yield m(w,F,Q,M,Y||null,!1,O);if(eu(te))return te;let me=te.errors?Object.values(te.errors)[0]:void 0;if(me!==void 0)throw me;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var ae;let Se=Object.values(te.loaderData)[0];return(ae=te.activeDeferreds)!=null&&ae[O.route.id]&&(Se[Ak]=te.activeDeferreds[O.route.id]),Se}})}function m(w,k,L,M,Y,P,j){return na(this,null,function*(){Lr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(w.method.toLowerCase()))return yield g(w,L,j||Ju(L,k),M,Y,P,j!=null);let F=yield b(w,L,M,Y,P,j);return eu(F)?F:Mr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(mW(F)&&eu(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,P,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(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 C("action",w,[L],k,j,M,Y))[0],w.signal.aborted&&ak(w,j,f);if(ru(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tu(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(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(On(F)){let te=P?L:Qu(k,L.route.id),me=yield b(Q,k,M,Y,P,null,[te.route.id,F]);return Mr({},me,{statusCode:Ld(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Mr({},F.headers?{[L.route.id]:F.headers}:{})})}let O=yield b(Q,k,M,Y,P,null);return Mr({},O,{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,P,j){return na(this,null,function*(){let F=P!=null;if(F&&!(P!=null&&P.route.loader)&&!(P!=null&&P.route.lazy))throw Ca(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:P==null?void 0:P.route.id});let O=(P?[P]:j&&On(j[1])?Lk(k,j[0]):k).filter(we=>we.route.loader||we.route.lazy);if(O.length===0)return{matches:k,loaderData:k.reduce((we,ge)=>Object.assign(we,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield C("loader",w,O,k,F,L,M);w.signal.aborted&&ak(w,F,f);let me=new Map,ae=zk(k,O,te,j,me,Y),Se=new Set(O.map(we=>we.route.id));return k.forEach(we=>{Se.has(we.route.id)||(ae.loaderData[we.route.id]=null)}),Mr({},ae,{matches:k,activeDeferreds:me.size>0?Object.fromEntries(me.entries()):null})})}function C(w,k,L,M,Y,P,j){return na(this,null,function*(){let F=yield Mk(j||Pk,w,k,L,M,o,s,P);return yield Promise.all(F.map((Q,O)=>{if(jk(Q)){let te=Q.result;throw Bk(te,k,L[O].route.id,M,l,f.v7_relativeSplatPath)}if(eu(Q.result)&&Y)throw Q;return Ik(Q)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function sW(r,a,o){return Mr({},a,{statusCode:Ld(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function ak(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 cW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function J0(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=xk(s||".",Ck(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&&!n2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Dd([o,g.pathname])),Ss(g)}function nk(r,a,o,l){if(!l||!cW(l))return{path:o};if(l.formMethod&&!t2(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=Fk(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(u))return s();let C=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[L,M]=k;return""+w+L+"="+M+`
146
- `},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:C}}}else if(l.formEncType==="application/json"){if(!Cl(u))return s();try{let C=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:C,text:void 0}}}catch(C){return s()}}}Lr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=Z0(l.formData),m=l.formData;else if(l.body instanceof FormData)p=Z0(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=ck(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=ck(p)}catch(C){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=$l(o);return a&&b.search&&n2(b.search)&&p.append("index",""),b.search="?"+p,{path:Ss(b),submission:g}}function Lk(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 ok(r,a,o,l,s,f,u,h,p,m,g,b,C,w,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),P=r.createURL(s),j=L&&On(L[1])?L[0]:void 0,F=j?Lk(o,j):o,Q=L?L[1].statusCode:void 0,O=u&&Q&&Q>=400,te=F.filter((ae,Se)=>{let{route:we}=ae;if(we.lazy)return!0;if(we.loader==null)return!1;if(f)return typeof we.loader!="function"||we.loader.hydrate?!0:a.loaderData[we.id]===void 0&&(!a.errors||a.errors[we.id]===void 0);if(uW(a.loaderData,a.matches[Se],ae)||p.some(ie=>ie===ae.route.id))return!0;let ge=a.matches[Se],H=ae;return ik(ae,Mr({currentUrl:Y,currentParams:ge.params,nextUrl:P,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:O?!1:h||Y.pathname+Y.search===P.pathname+P.search||Y.search!==P.search||Nk(ge,H)}))}),me=[];return b.forEach((ae,Se)=>{if(f||!o.some(fe=>fe.route.id===ae.routeId)||g.has(Se))return;let we=nc(w,ae.path,k);if(!we){me.push({key:Se,routeId:ae.routeId,path:ae.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(Se),H=Ju(we,ae.path),ie=!1;C.has(Se)?ie=!1:m.has(Se)?(m.delete(Se),ie=!0):ge&&ge.state!=="idle"&&ge.data===void 0?ie=h:ie=ik(H,Mr({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:P,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:O?!1:h})),ie&&me.push({key:Se,routeId:ae.routeId,path:ae.path,matches:we,match:H,controller:new AbortController})}),[te,me]}function uW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function Nk(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function ik(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,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||Ok(g,b,l,s,f)}}),u.set(p,m)),m&&hW(m)&&(yield m)}finally{u.delete(p)}})}function Ok(r,a,o,l,s){if(r){var f;let u=l[r];Lr(u,"No route found to patch children into: routeId = "+r);let h=Zu(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=Zu(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function lk(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];Lr(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&&!AV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,Mr({},a(s),{lazy:void 0}))})}function Pk(r){return Promise.all(r.matches.map(a=>a.resolve()))}function Mk(r,a,o,l,s,f,u,h){return na(this,null,function*(){let p=l.reduce((b,C)=>b.add(C.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let C=p.has(b.route.id);return Mr({},b,{shouldLoad:C,resolve:k=>(m.add(b.route.id),C?dW(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=>Lr(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,C)=>p.has(s[C].route.id))})}function dW(r,a,o,l,s,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,C=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:u},...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,C])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[C]=yield Promise.all([m(g).catch(w=>{b=w}),lk(o.route,s,l)]);if(b!==void 0)throw b;h=C}else if(yield lk(o.route,s,l),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),C=b.pathname+b.search;throw Ca(405,{method:a.method,pathname:C,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),C=b.pathname+b.search;throw Ca(404,{pathname:C})}Lr(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 Ik(r){return na(this,null,function*(){let{result:a,type:o}=r;if(eu(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 Ad(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(e2(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 Ad(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Ld(a)?a.status:void 0}}if(Hk(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(e2(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 Bk(r,a,o,l,s,f){let u=r.headers.get("Location");if(Lr(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!a2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=J0(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function sk(r,a,o){if(a2.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 Ed(r,a,o,l){let s=r.createURL(Fk(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=Z0(l.formData):f.body=l.formData}return new Request(s,f)}function Z0(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function ck(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function zk(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((C,w)=>{let k=a[w].route.id;if(Lr(!ru(C),"Cannot handle redirect results in processLoaderData"),On(C)){let L=C.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Qu(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}u[k]=void 0,m||(m=!0,p=Ld(C.error)?C.error.status:500),C.headers&&(g[k]=C.headers)}else tu(C)?(s.set(k,C.deferredData),u[k]=C.deferredData.data,C.statusCode!=null&&C.statusCode!==200&&!m&&(p=C.statusCode),C.headers&&(g[k]=C.headers)):(u[k]=C.data,C.statusCode&&C.statusCode!==200&&!m&&(p=C.statusCode),C.headers&&(g[k]=C.headers))}),b!==void 0&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function uk(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=zk(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:C,controller:w}=f[g];Lr(u!==void 0&&u[g]!==void 0,"Did not find corresponding fetcher result");let k=u[g];if(!(w&&w.signal.aborted))if(On(k)){let L=Qu(r.matches,C==null?void 0:C.route.id);m&&m[L.route.id]||(m=Mr({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(ru(k))Lr(!1,"Unhandled fetcher revalidation redirect");else if(tu(k))Lr(!1,"Unhandled fetcher deferred data");else{let L=Zc(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function fk(r,a,o,l){let s=Mr({},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 dk(r){return r?On(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Qu(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 P_(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 Ad(r||500,h,new Error(p),!0)}function pk(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(ru(o))return{result:o,idx:a}}}function Fk(r){let a=typeof r=="string"?$l(r):r;return Ss(Mr({},a,{hash:""}))}function pW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function hW(r){return typeof r=="object"&&r!=null&&"then"in r}function mW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function jk(r){return eu(r.result)&&nW.has(r.result.status)}function tu(r){return r.type===Vr.deferred}function On(r){return r.type===Vr.error}function ru(r){return(r&&r.type)===Vr.redirect}function e2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function Hk(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 eu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function vW(r){if(!eu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function t2(r){return aW.has(r.toLowerCase())}function Cl(r){return tW.has(r.toLowerCase())}function hk(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&&!Nk(m,p)&&(f&&f[p.route.id])!==void 0;if(tu(h)&&(s||g)){let b=l[u];Lr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield Uk(h,b,s).then(C=>{C&&(o[u]=C||o[u])})}}})}function Uk(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 n2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function Ju(r,a){let o=typeof a=="string"?$l(a).search:a.search;if(r[r.length-1].route.index&&n2(o||""))return r[r.length-1];let l=Sk(r);return l[l.length-1]}function mk(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 K0(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 _W(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 Hh(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 gW(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 Zc(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 bW(r,a){try{let o=r.sessionStorage.getItem(Dk);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 yW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(Dk,JSON.stringify(o))}catch(l){ws(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ir.AbortedDeferredError=Uh;ir.Action=Ia;ir.IDLE_BLOCKER=Rd;ir.IDLE_FETCHER=Ek;ir.IDLE_NAVIGATION=N_;ir.UNSAFE_DEFERRED_SYMBOL=Ak;ir.UNSAFE_DeferredData=O_;ir.UNSAFE_ErrorResponseImpl=Ad;ir.UNSAFE_convertRouteMatchToUiMatch=_k;ir.UNSAFE_convertRoutesToDataRoutes=Zu;ir.UNSAFE_decodePath=yk;ir.UNSAFE_getResolveToMatches=Ck;ir.UNSAFE_invariant=Lr;ir.UNSAFE_warning=ws;ir.createBrowserHistory=EV;ir.createHashHistory=RV;ir.createMemoryHistory=TV;ir.createPath=Ss;ir.createRouter=iW;ir.createStaticHandler=lW;ir.defer=JV;ir.generatePath=UV;ir.getStaticContextFromError=sW;ir.getToPathname=qV;ir.isDataWithResponseInit=e2;ir.isDeferredData=Hk;ir.isRouteErrorResponse=Ld;ir.joinPaths=Dd;ir.json=GV;ir.matchPath=X0;ir.matchRoutes=nc;ir.normalizePathname=kk;ir.parsePath=$l;ir.redirect=r2;ir.redirectDocument=ZV;ir.replace=eW;ir.resolvePath=wk;ir.resolveTo=xk;ir.stripBasename=Vh;ir.unstable_data=KV});var Wk=Ue((M_,Vk)=>{(function(r,a){typeof M_=="object"&&typeof Vk!="undefined"?a(M_,dr(),o2()):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))})(M_,function(r,a,o){"use strict";function l(N){if(N&&N.__esModule)return N;var ee=Object.create(null);return N&&Object.keys(N).forEach(function(R){if(R!=="default"){var B=Object.getOwnPropertyDescriptor(N,R);Object.defineProperty(ee,R,B.get?B:{enumerable:!0,get:function(){return N[R]}})}}),ee.default=N,Object.freeze(ee)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function(N){for(var ee=1;ee<arguments.length;ee++){var R=arguments[ee];for(var B in R)Object.prototype.hasOwnProperty.call(R,B)&&(N[B]=R[B])}return N},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 C=s.createContext(null);C.displayName="RouteError";function w(N,ee){let{relative:R}=ee===void 0?{}:ee;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:B,navigator:$}=s.useContext(m),{hash:de,pathname:oe,search:Pe}=Se(N,{relative:R}),Me=oe;return B!=="/"&&(Me=oe==="/"?B:o.joinPaths([B,oe])),$.createHref({pathname:Me,search:Pe,hash:de})}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(N){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:ee}=L();return s.useMemo(()=>o.matchPath(N,o.UNSAFE_decodePath(ee)),[ee,N])}let P="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j(N){s.useContext(m).static||s.useLayoutEffect(N)}function F(){let{isDataRoute:N}=s.useContext(b);return N?tr():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let N=s.useContext(u),{basename:ee,future:R,navigator:B}=s.useContext(m),{matches:$}=s.useContext(b),{pathname:de}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches($,R.v7_relativeSplatPath)),Pe=s.useRef(!1);return j(()=>{Pe.current=!0}),s.useCallback(function(Ie,qe){if(qe===void 0&&(qe={}),o.UNSAFE_warning(Pe.current,P),!Pe.current)return;if(typeof Ie=="number"){B.go(Ie);return}let Ae=o.resolveTo(Ie,JSON.parse(oe),de,qe.relative==="path");N==null&&ee!=="/"&&(Ae.pathname=Ae.pathname==="/"?ee:o.joinPaths([ee,Ae.pathname])),(qe.replace?B.replace:B.push)(Ae,qe.state,qe)},[ee,B,oe,de,N])}let O=s.createContext(null);function te(){return s.useContext(O)}function me(N){let ee=s.useContext(b).outlet;return ee&&s.createElement(O.Provider,{value:N},ee)}function ae(){let{matches:N}=s.useContext(b),ee=N[N.length-1];return ee?ee.params:{}}function Se(N,ee){let{relative:R}=ee===void 0?{}:ee,{future:B}=s.useContext(m),{matches:$}=s.useContext(b),{pathname:de}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches($,B.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo(N,JSON.parse(oe),de,R==="path"),[N,oe,de,R])}function we(N,ee){return ge(N,ee)}function ge(N,ee,R,B){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:$}=s.useContext(m),{matches:de}=s.useContext(b),oe=de[de.length-1],Pe=oe?oe.params:{},Me=oe?oe.pathname:"/",Ie=oe?oe.pathnameBase:"/",qe=oe&&oe.route;{let Fe=qe&&qe.path||"";Sr(Me,!qe||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Me+'" (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.
144
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(v=t.transitionCallbacks));var y=gk(e,Sv,null,n,i,u,d);hv(y.current,e);var w=e.nodeType===Ka?e.parentNode:e;return Vp(w),new U0(y)}function T_(e){this._internalRoot=e}function tV(e){e&&fI(e)}T_.prototype.unstable_scheduleHydration=tV;function rV(e,t,n){if(!E_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");jk(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,u=n!=null&&n.hydratedSources||null,d=!1,v=!1,y="",w=Fk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(w=n.onRecoverableError));var E=bk(t,null,e,Sv,i,d,v,y,w);if(hv(E.current,e),Vp(e),u)for(var A=0;A<u.length;A++){var J=u[A];tj(E,J)}return new T_(E)}function E_(e){return!!(e&&(e.nodeType===vo||e.nodeType===Bs||e.nodeType===Gg||!be))}function Bh(e){return!!(e&&(e.nodeType===vo||e.nodeType===Bs||e.nodeType===Gg||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function jk(e){e.nodeType===vo&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),eh(e)&&(e._reactRootContainer?c("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):c("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var aV=o.ReactCurrentOwner,Hk;Hk=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){var t=Sk(e._reactRootContainer.current);t&&t.parentNode!==e&&c("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,i=V0(e),u=!!(i&&zu(i));u&&!n&&c("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===vo&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function V0(e){return e?e.nodeType===Bs?e.documentElement:e.firstChild:null}function Uk(){}function nV(e,t,n,i,u){if(u){if(typeof i=="function"){var d=i;i=function(){var X=k_(v);d.call(X)}}var v=bk(t,i,e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=v,hv(v.current,e);var y=e.nodeType===Ka?e.parentNode:e;return Vp(y),tu(),v}else{for(var w;w=e.lastChild;)e.removeChild(w);if(typeof i=="function"){var E=i;i=function(){var X=k_(A);E.call(X)}}var A=gk(e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=A,hv(A.current,e);var J=e.nodeType===Ka?e.parentNode:e;return Vp(J),tu(function(){zh(t,A,n,i)}),A}}function oV(e,t){e!==null&&typeof e!="function"&&c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function R_(e,t,n,i,u){Hk(n),oV(u===void 0?null:u,"render");var d=n._reactRootContainer,v;if(!d)v=nV(n,t,e,u,i);else{if(v=d,typeof u=="function"){var y=u;u=function(){var w=k_(v);y.call(w)}}zh(t,v,e,u)}return k_(v)}var Vk=!1;function iV(e){{Vk||(Vk=!0,c("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=aV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||c("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===vo?e:WU(e,"findDOMNode")}function lV(e,t,n){if(c("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&c("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return R_(null,e,t,!0,n)}function sV(e,t,n){if(c("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&c("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return R_(null,e,t,!1,n)}function uV(e,t,n,i){if(c("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bh(n))throw new Error("Target container is not a DOM element.");if(e==null||!QP(e))throw new Error("parentComponent must be a valid React Component");return R_(e,t,n,!1,i)}var Wk=!1;function cV(e){if(Wk||(Wk=!0,c("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Bh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=eh(e)&&e._reactRootContainer===void 0;t&&c("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=V0(e),i=n&&!zu(n);i&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){R_(null,null,e,!1,function(){e._reactRootContainer=null,B3(e)})}),!0}else{{var u=V0(e),d=!!(u&&zu(u)),v=e.nodeType===vo&&Bh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",v?"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}}tI(qU),aI(YU),nI($U),oI(Ml),iI(JM),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&c("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),jP(lB),VP(y0,rU,tu);function fV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!E_(t))throw new Error("Target container is not a DOM element.");return VU(e,t,null,n)}function dV(e,t,n,i){return uV(e,t,n,i)}var W0={usingClientEntryPoint:!1,Events:[zu,td,mv,tC,rC,y0]};function pV(e,t){return W0.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eV(e,t)}function hV(e,t,n){return W0.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t,n)}function mV(e){return Q4()&&c("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),tu(e)}var vV=ZU({findFiberByHostInstance:Mc,bundleType:1,version:z0,rendererPackageName:"react-dom"});if(!vV&&wt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qk=window.location.protocol;/^(https?|file):$/.test(qk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qk==="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=W0,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=y0,Uo.unstable_renderSubtreeIntoContainer=dV,Uo.version=z0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var q0=Ue((X$,Jk)=>{"use strict";Jk.exports=Qk()});var Zk=Ue($0=>{"use strict";var Y0=q0();jh=Y0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$0.createRoot=function(r,a){jh.usingClientEntryPoint=!0;try{return Y0.createRoot(r,a)}finally{jh.usingClientEntryPoint=!1}},$0.hydrateRoot=function(r,a,o){jh.usingClientEntryPoint=!0;try{return Y0.hydrateRoot(r,a,o)}finally{jh.usingClientEntryPoint=!1}};var jh});var o2=Ue(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Mr(){return Mr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Mr.apply(this,arguments)}var 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((S,k)=>g(S,typeof S=="string"?null:S.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),c=Ia.Pop,h=null;function p(S){return Math.min(Math.max(S,0),s.length-1)}function m(){return s[f]}function g(S,k,L){k===void 0&&(k=null);let M=ou(s?m().pathname:"/",S,k,L);return Ss(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(S)),M}function b(S){return typeof S=="string"?S:ws(S)}return{get index(){return f},get action(){return c},get location(){return m()},createHref:b,createURL(S){return new URL(b(S),"http://localhost")},encodeLocation(S){let k=typeof S=="string"?$l(S):S;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(S,k){c=Ia.Push;let L=g(S,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:c,location:L,delta:1})},replace(S,k){c=Ia.Replace;let L=g(S,k);s[f]=L,l&&h&&h({action:c,location:L,delta:0})},go(S){c=Ia.Pop;let k=p(f+S),L=s[k];f=k,h&&h({action:c,location:L,delta:S})},listen(S){return h=S,()=>{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=""}=$l(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 Lr(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),Mr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?$l(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 $l(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(Mr({},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 C(M,Y){h=Ia.Push;let P=ou(L.location,M,Y);o&&o(P,M),m=g()+1;let j=tT(P,m),F=L.createHref(P);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 S(M,Y){h=Ia.Replace;let P=ou(L.location,M,Y);o&&o(P,M),m=g();let j=tT(P,m),F=L.createHref(P);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,P=typeof M=="string"?M:ws(M);return P=P.replace(/ $/,"%20"),Lr(Y,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,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:C,replace:S,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 Zc(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(Lr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Lr(!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=Mr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Mr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=Zc(s.children,a,c,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),N_(r,a,o,!1)}function N_(r,a,o,l){let s=typeof a=="string"?$l(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("/")&&(Lr(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=Dd([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Lr(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-]+$/,PV=3,MV=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+=MV),o.filter(s=>!rT(s)).reduce((s,f)=>s+(OV.test(f)?PV: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=X0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),C=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=X0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),c.push({params:s,pathname:Dd([f,b.pathname]),pathnameBase:kT(Dd([f,b.pathnameBase])),route:C}),b.pathnameBase!=="/"&&(f=Dd([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,C]=g,S=a[b];return Lr(C==="?"||S!=null,'Missing ":'+b+'" param'),s(S)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+f.join("/")}function X0(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:C,isOptional:S}=g;if(C==="*"){let L=h[b]||"";c=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return S&&!k?m[C]=void 0:m[C]=(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"?$l(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 G0(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=$l(r):(s=Mr({},r),Lr(!s.pathname||!s.pathname.includes("?"),G0("?","pathname","search",s)),Lr(!s.pathname||!s.pathname.includes("#"),G0("#","pathname","hash",s)),Lr(!s.search||!s.search.includes("#"),G0("#","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 C=c.split("/");for(;C[0]==="..";)C.shift(),b-=1;s.pathname=C.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"?$l(r).pathname:r.pathname}var Dd=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),Mr({},l,{headers:s}))},Q0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function KV(r,a){return new Q0(r,typeof a=="number"?{status:a}:a)}var Uh=class extends Error{},P_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Lr(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 Lr(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 P_(a,l)},r2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Mr({},l,{headers:s}))},ZV=(r,a)=>{let o=r2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},eW=(r,a)=>{let o=r2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ad=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 Ld(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]),O_={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},Rd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},a2=/^(?:[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;Lr(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=Zc(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||PT,g=r.unstable_patchRoutesOnMiss,b=Mr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),C=null,S=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,P=nu(c,r.history.location,p),j=null;if(P==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=M_(c);P=V,j={[re.id]:I}}P&&!r.hydrationData&&Ie(P,c,r.history.location.pathname).active&&(P=null);let F;if(P)if(P.some(I=>I.route.lazy))F=!1;else if(!P.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=le=>le.route.loader?typeof le.route.loader=="function"&&le.route.loader.hydrate===!0?!1:I&&I[le.route.id]!==void 0||V&&V[le.route.id]!==void 0:!0;if(V){let le=P.findIndex(Ve=>V[Ve.route.id]!==void 0);F=P.slice(0,le+1).every(re)}else F=P.every(re)}else F=r.hydrationData!=null;else if(F=!1,P=[],b.v7_partialHydration){let I=Ie(null,c,r.history.location.pathname);I.active&&I.matches&&(P=I.matches)}let Q,O={historyAction:r.history.action,location:r.history.location,matches:P,initialized:F,navigation:O_,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,me=!1,ae,we=!1,Se=new Map,ge=null,H=!1,ie=!1,fe=[],B=new Set,q=new Map,ne=0,Z=-1,se=new Map,ye=new Set,be=new Map,Oe=new Map,We=new Set,$e=new Map,ht=new Map,Mt=new Map,lt=!1;function yt(){if(C=r.history.listen(I=>{let{action:V,location:re,delta:le}=I;if(lt){lt=!1;return}Ss(ht.size===0||le!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=ee({currentLocation:O.location,nextLocation:re,historyAction:V});if(Ve&&le!=null){lt=!0,r.history.go(le*-1),N(Ve,{state:"blocked",location:re,proceed(){N(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(le)},reset(){let Fe=new Map(O.blockers);Fe.set(Ve,Rd),Ce({blockers:Fe})}});return}return jt(V,re)}),o){bW(a,Se);let I=()=>yW(a,Se);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return O.initialized||jt(Ia.Pop,O.location,{initialHydration:!0}),Q}function ct(){C&&C(),ge&&ge(),S.clear(),ae&&ae.abort(),O.fetchers.forEach((I,V)=>Be(V)),O.blockers.forEach((I,V)=>Yr(V))}function tt(I){return S.add(I),()=>S.delete(I)}function Ce(I,V){V===void 0&&(V={}),O=Mr({},O,I);let re=[],le=[];b.v7_fetcherPersist&&O.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&(We.has(Fe)?le.push(Fe):re.push(Fe))}),[...S].forEach(Ve=>Ve(O,{deletedFetchers:le,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(Ve=>O.fetchers.delete(Ve)),le.forEach(Ve=>Be(Ve)))}function wt(I,V,re){var le,Ve;let{flushSync:Fe}=re===void 0?{}:re,D=O.actionData!=null&&O.navigation.formMethod!=null&&Cl(O.navigation.formMethod)&&O.navigation.state==="loading"&&((le=I.state)==null?void 0:le._isRedirect)!==!0,W;V.actionData?Object.keys(V.actionData).length>0?W=V.actionData:W=null:D?W=O.actionData:W=null;let pe=V.loaderData?fT(O.loaderData,V.loaderData,V.matches||[],V.errors):O.loaderData,ke=O.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Rd)));let He=me===!0||O.navigation.formMethod!=null&&Cl(O.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 ut;if(te===Ia.Pop){let Je=Se.get(O.location.pathname);Je&&Je.has(I.pathname)?ut={currentLocation:O.location,nextLocation:I}:Se.has(I.pathname)&&(ut={currentLocation:I,nextLocation:O.location})}else if(we){let Je=Se.get(O.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),Se.set(O.location.pathname,Je)),ut={currentLocation:O.location,nextLocation:I}}Ce(Mr({},V,{actionData:W,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:O_,revalidation:"idle",restoreScrollPosition:Me(I,V.matches||O.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ut,flushSync:Fe===!0}),te=Ia.Pop,me=!1,we=!1,H=!1,ie=!1,fe=[]}function It(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=J0(O.location,O.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:le,submission:Ve,error:Fe}=nT(b.v7_normalizeFormMethod,!1,re,V),D=O.location,W=ou(O.location,le,V&&V.state);W=Mr({},W,r.history.encodeLocation(W));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===O.location.pathname+O.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ut=(V&&V.unstable_flushSync)===!0,Je=ee({currentLocation:D,nextLocation:W,historyAction:ke});if(Je){N(Je,{state:"blocked",location:W,proceed(){N(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),It(I,V)},reset(){let Ke=new Map(O.blockers);Ke.set(Je,Rd),Ce({blockers:Ke})}});return}return yield jt(ke,W,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ut})})}function qt(){if(fr(),Ce({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){jt(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}jt(te||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}function jt(I,V,re){return na(this,null,function*(){ae&&ae.abort(),ae=null,te=I,H=(re&&re.startUninterruptedRevalidation)===!0,Pe(O.location,O.matches),me=(re&&re.preventScrollReset)===!0,we=(re&&re.enableViewTransition)===!0;let le=h||c,Ve=re&&re.overrideNavigation,Fe=nu(le,V,p),D=(re&&re.flushSync)===!0,W=Ie(Fe,le,V.pathname);if(W.active&&W.matches&&(Fe=W.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Ut}=R(V.pathname);wt(V,{matches:kt,loaderData:{},errors:{[Ut.id]:Ct}},{flushSync:D});return}if(O.initialized&&!ie&&pW(O.location,V)&&!(re&&re.submission&&Cl(re.submission.formMethod))){wt(V,{matches:Fe},{flushSync:D});return}ae=new AbortController;let pe=Ed(r.history,V,ae.signal,re&&re.submission),ke;if(re&&re.pendingError)ke=[Qc(Fe).route.id,{type:Vr.error,error:re.pendingError}];else if(re&&re.submission&&Cl(re.submission.formMethod)){let Ct=yield tr(pe,V,re.submission,Fe,W.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Ut]=Ct.pendingActionResult;if(On(Ut)&&Ld(Ut.error)&&Ut.error.status===404){ae=null,wt(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Ut.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=K0(V,re.submission),D=!1,W.active=!1,pe=Ed(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ut,loaderData:Je,errors:Ke}=yield ur(pe,V,Fe,W.active,Ve,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,ke);He||(ae=null,wt(V,Mr({matches:ut||Fe},dT(ke),{loaderData:Je,errors:Ke})))})}function tr(I,V,re,le,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),fr();let D=_W(V,re);if(Ce({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield qe(le,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ut}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ut}]}}else if(ke.matches)le=ke.matches;else{let{notFoundMatches:He,error:ut,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ut}]}}}let W,pe=Jc(le,V);if(!pe.route.action&&!pe.route.lazy)W={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(W=(yield Nr("action",I,[pe],le))[0],I.signal.aborted)return{shortCircuited:!0};if(rc(W)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=sT(W.response.headers.get("Location"),new URL(I.url),p)===O.location.pathname+O.location.search,yield Cr(I,W,{submission:re,replace:ke}),{shortCircuited:!0}}if(tc(W))throw Ca(400,{type:"defer-action"});if(On(W)){let ke=Qc(le,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:le,pendingActionResult:[ke.route.id,W]}}return{matches:le,pendingActionResult:[pe.route.id,W]}})}function ur(I,V,re,le,Ve,Fe,D,W,pe,ke,He){return na(this,null,function*(){let ut=Ve||K0(V,Fe),Je=Fe||D||mT(ut),Ke=!H&&(!b.v7_partialHydration||!pe);if(le){if(Ke){let aa=wr(He);Ce(Mr({navigation:ut},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Qt=yield qe(re,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)re=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,Ut]=oT(r.history,O,re,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,ie,fe,B,We,be,ye,Ct,p,He);if($(Qt=>!(re&&re.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),Z=++ne,kt.length===0&&Ut.length===0){let Qt=Ht();return wt(V,Mr({matches:re,loaderData:{},errors:He&&On(He[1])?{[He[0]]:He[1].error}:null},dT(He),Qt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Qt={};if(!le){Qt.navigation=ut;let aa=wr(He);aa!==void 0&&(Qt.actionData=aa)}Ut.length>0&&(Qt.fetchers=ra(Ut)),Ce(Qt,{flushSync:ke})}Ut.forEach(Qt=>{q.has(Qt.key)&&mt(Qt.key),Qt.controller&&q.set(Qt.key,Qt.controller)});let $r=()=>Ut.forEach(Qt=>mt(Qt.key));ae&&ae.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:la}=yield ha(O.matches,re,kt,Ut,I);if(I.signal.aborted)return{shortCircuited:!0};ae&&ae.signal.removeEventListener("abort",$r),Ut.forEach(Qt=>q.delete(Qt.key));let sa=pT([...Ha,...la]);if(sa){if(sa.idx>=kt.length){let Qt=Ut[sa.idx-kt.length].key;ye.add(Qt)}return yield Cr(I,sa.result,{replace:W}),{shortCircuited:!0}}let{loaderData:Ga,errors:At}=cT(O,re,kt,Ha,He,Ut,la,$e);$e.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&$e.delete(aa)})}),b.v7_partialHydration&&pe&&O.errors&&Object.entries(O.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;At=Object.assign(At||{},{[aa]:Za})});let Wn=Ht(),is=xr(Z),ls=Wn||is||Ut.length>0;return Mr({matches:re,loaderData:Ga,errors:At},ls?{fetchers:new Map(O.fetchers)}:{})})}function wr(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function ra(I){return I.forEach(V=>{let re=O.fetchers.get(V.key),le=Hh(void 0,re?re.data:void 0);O.fetchers.set(V.key,le)}),new Map(O.fetchers)}function jr(I,V,re,le){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(I)&&mt(I);let Ve=(le&&le.unstable_flushSync)===!0,Fe=h||c,D=J0(O.location,O.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,le==null?void 0:le.relative),W=nu(Fe,D,p),pe=Ie(W,Fe,D);if(pe.active&&pe.matches&&(W=pe.matches),!W){Or(I,V,Ca(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ut}=nT(b.v7_normalizeFormMethod,!0,D,le);if(ut){Or(I,V,ut,{flushSync:Ve});return}let Je=Jc(W,ke);if(me=(le&&le.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,W,pe.active,Ve,He);return}be.set(I,{routeId:V,path:ke}),cr(I,V,ke,Je,W,pe.active,Ve,He)}function qr(I,V,re,le,Ve,Fe,D,W){return na(this,null,function*(){fr(),be.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let qn=Ca(405,{method:W.formMethod,pathname:re,routeId:V});return Or(I,V,qn,{flushSync:D}),!0}return!1}if(!Fe&&pe(le))return;let ke=O.fetchers.get(I);Rr(I,gW(W,ke),{flushSync:D});let He=new AbortController,ut=Ed(r.history,re,He.signal,W);if(Fe){let Gr=yield qe(Ve,re,ut.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:qn}=z(re,Gr);Or(I,V,qn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,le=Jc(Ve,re),pe(le))return}else{Or(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}q.set(I,He);let Je=ne,Ct=(yield Nr("action",ut,[le],Ve))[0];if(ut.signal.aborted){q.get(I)===He&&q.delete(I);return}if(b.v7_fetcherPersist&&We.has(I)){if(rc(Ct)||On(Ct)){Rr(I,Zu(void 0));return}}else{if(rc(Ct))if(q.delete(I),Z>Je){Rr(I,Zu(void 0));return}else return ye.add(I),Rr(I,Hh(W)),Cr(ut,Ct,{fetcherSubmission:W});if(On(Ct)){Or(I,V,Ct.error);return}}if(tc(Ct))throw Ca(400,{type:"defer-action"});let kt=O.navigation.location||O.location,Ut=Ed(r.history,kt,He.signal),$r=h||c,Ha=O.navigation.state!=="idle"?nu($r,O.navigation.location,p):O.matches;Lr(Ha,"Didn't find any matches after fetcher action");let la=++ne;se.set(I,la);let sa=Hh(W,Ct.data);O.fetchers.set(I,sa);let[Ga,At]=oT(r.history,O,Ha,W,kt,!1,b.v7_skipActionErrorRevalidation,ie,fe,B,We,be,ye,$r,p,[le.route.id,Ct]);At.filter(Gr=>Gr.key!==I).forEach(Gr=>{let qn=Gr.key,bc=O.fetchers.get(qn),ap=Hh(void 0,bc?bc.data:void 0);O.fetchers.set(qn,ap),q.has(qn)&&mt(qn),Gr.controller&&q.set(qn,Gr.controller)}),Ce({fetchers:new Map(O.fetchers)});let Wn=()=>At.forEach(Gr=>mt(Gr.key));He.signal.addEventListener("abort",Wn);let{loaderResults:is,fetcherResults:ls}=yield ha(O.matches,Ha,Ga,At,Ut);if(He.signal.aborted)return;He.signal.removeEventListener("abort",Wn),se.delete(I),q.delete(I),At.forEach(Gr=>q.delete(Gr.key));let Qt=pT([...is,...ls]);if(Qt){if(Qt.idx>=Ga.length){let Gr=At[Qt.idx-Ga.length].key;ye.add(Gr)}return Cr(Ut,Qt.result)}let{loaderData:aa,errors:Za}=cT(O,O.matches,Ga,is,void 0,At,ls,$e);if(O.fetchers.has(I)){let Gr=Zu(Ct.data);O.fetchers.set(I,Gr)}xr(la),O.navigation.state==="loading"&&la>Z?(Lr(te,"Expected pending action"),ae&&ae.abort(),wt(O.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(O.fetchers)})):(Ce({errors:Za,loaderData:fT(O.loaderData,aa,Ha,Za),fetchers:new Map(O.fetchers)}),ie=!1)})}function cr(I,V,re,le,Ve,Fe,D,W){return na(this,null,function*(){let pe=O.fetchers.get(I);Rr(I,Hh(W,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Ed(r.history,re,ke.signal);if(Fe){let Ct=yield qe(Ve,re,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(re,Ct);Or(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,le=Jc(Ve,re);else{Or(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}q.set(I,ke);let ut=ne,Ke=(yield Nr("loader",He,[le],Ve))[0];if(tc(Ke)&&(Ke=(yield UT(Ke,He.signal,!0))||Ke),q.get(I)===ke&&q.delete(I),!He.signal.aborted){if(We.has(I)){Rr(I,Zu(void 0));return}if(rc(Ke))if(Z>ut){Rr(I,Zu(void 0));return}else{ye.add(I),yield Cr(He,Ke);return}if(On(Ke)){Or(I,V,Ke.error);return}Lr(!tc(Ke),"Unhandled fetcher deferred data"),Rr(I,Zu(Ke.data))}})}function Cr(I,V,re){return na(this,null,function*(){let{submission:le,fetcherSubmission:Ve,replace:Fe}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(ie=!0);let D=V.response.headers.get("Location");Lr(D,"Expected a Location header on the redirect Response"),D=sT(D,new URL(I.url),p);let W=ou(O.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(a2.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}}ae=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ut}=O.navigation;!le&&!Ve&&ke&&He&&ut&&(le=mT(O.navigation));let Je=le||Ve;if(oW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield jt(pe,W,{submission:Mr({},Je,{formAction:D}),preventScrollReset:me});else{let Ke=K0(W,le);yield jt(pe,W,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:me})}})}function Nr(I,V,re,le){return na(this,null,function*(){try{let Ve=yield MT(m,I,V,re,le,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(jT(Fe)){let W=Fe.result;return{type:Vr.redirect,response:zT(W,V,re[D].route.id,le,p,b.v7_relativeSplatPath)}}return IT(Fe)}))}catch(Ve){return re.map(()=>({type:Vr.error,error:Ve}))}})}function ha(I,V,re,le,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([re.length?Nr("loader",Ve,re,V):[],...le.map(W=>{if(W.matches&&W.match&&W.controller){let pe=Ed(r.history,W.path,W.controller.signal);return Nr("loader",pe,[W.match],W.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:W.path})})})]);return yield Promise.all([hT(I,re,Fe,Fe.map(()=>Ve.signal),!1,O.loaderData),hT(I,le.map(W=>W.match),D,le.map(W=>W.controller?W.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function fr(){ie=!0,fe.push(...$()),be.forEach((I,V)=>{q.has(V)&&(B.add(V),mt(V))})}function Rr(I,V,re){re===void 0&&(re={}),O.fetchers.set(I,V),Ce({fetchers:new Map(O.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Or(I,V,re,le){le===void 0&&(le={});let Ve=Qc(O.matches,V);Be(I),Ce({errors:{[Ve.route.id]:re},fetchers:new Map(O.fetchers)},{flushSync:(le&&le.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Oe.set(I,(Oe.get(I)||0)+1),We.has(I)&&We.delete(I)),O.fetchers.get(I)||ET}function Be(I){let V=O.fetchers.get(I);q.has(I)&&!(V&&V.state==="loading"&&se.has(I))&&mt(I),be.delete(I),se.delete(I),ye.delete(I),We.delete(I),B.delete(I),O.fetchers.delete(I)}function at(I){if(b.v7_fetcherPersist){let V=(Oe.get(I)||0)-1;V<=0?(Oe.delete(I),We.add(I)):Oe.set(I,V)}else Be(I);Ce({fetchers:new Map(O.fetchers)})}function mt(I){let V=q.get(I);Lr(V,"Expected fetch controller: "+I),V.abort(),q.delete(I)}function Wt(I){for(let V of I){let re=_a(V),le=Zu(re.data);O.fetchers.set(V,le)}}function Ht(){let I=[],V=!1;for(let re of ye){let le=O.fetchers.get(re);Lr(le,"Expected fetcher: "+re),le.state==="loading"&&(ye.delete(re),I.push(re),V=!0)}return Wt(I),V}function xr(I){let V=[];for(let[re,le]of se)if(le<I){let Ve=O.fetchers.get(re);Lr(Ve,"Expected fetcher: "+re),Ve.state==="loading"&&(mt(re),se.delete(re),V.push(re))}return Wt(V),V.length>0}function mr(I,V){let re=O.blockers.get(I)||Rd;return ht.get(I)!==V&&ht.set(I,V),re}function Yr(I){O.blockers.delete(I),ht.delete(I)}function N(I,V){let re=O.blockers.get(I)||Rd;Lr(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let le=new Map(O.blockers);le.set(I,V),Ce({blockers:le})}function ee(I){let{currentLocation:V,nextLocation:re,historyAction:le}=I;if(ht.size===0)return;ht.size>1&&Ss(!1,"A router only supports one blocker at a time");let Ve=Array.from(ht.entries()),[Fe,D]=Ve[Ve.length-1],W=O.blockers.get(Fe);if(!(W&&W.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:le}))return Fe}function R(I){let V=Ca(404,{pathname:I}),re=h||c,{matches:le,route:Ve}=M_(re);return $(),{notFoundMatches:le,route:Ve,error:V}}function z(I,V){return{boundaryId:Qc(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 $(I){let V=[];return $e.forEach((re,le)=>{(!I||I(le))&&(re.cancel(),V.push(le),$e.delete(le))}),V}function de(I,V,re){if(k=I,M=V,L=re||null,!Y&&O.navigation===O_){Y=!0;let le=Me(O.location,O.matches);le!=null&&Ce({restoreScrollPosition:le})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(le=>_T(le,O.loaderData)))||I.key}function Pe(I,V){if(k&&M){let re=oe(I,V);k[re]=M()}}function Me(I,V){if(k){let re=oe(I,V),le=k[re];if(typeof le=="number")return le}return null}function Ie(I,V,re){if(g)if(I){let le=I[I.length-1].route;if(le.path&&(le.path==="*"||le.path.endsWith("/*")))return{active:!0,matches:N_(V,re,p,!0)}}else return{active:!0,matches:N_(V,re,p,!0)||[]};return{active:!1,matches:null}}function qe(I,V,re){return na(this,null,function*(){let le=I,Ve=le.length>0?le[le.length-1].route:null;for(;;){let Fe=h==null,D=h||c;try{yield fW(g,V,le,D,f,s,Mt,re)}catch(He){return{type:"error",error:He,partialMatches:le}}finally{Fe&&(c=[...c])}if(re.aborted)return{type:"aborted"};let W=nu(D,V,p),pe=!1;if(W){let He=W[W.length-1].route;if(He.index)return{type:"success",matches:W};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:W}}let ke=N_(D,V,p,!0);if(!ke||le.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?W:null};if(le=ke,Ve=le[le.length-1].route,Ve.path==="*")return{type:"success",matches:le}}})}function Ae(I){f={},h=Zc(I,s,void 0,f)}function Qe(I,V){let re=h==null;OT(I,V,h||c,f,s),re&&(c=[...c],Ce({}))}return Q={get basename(){return p},get future(){return b},get state(){return O},get routes(){return c},get window(){return a},initialize:yt,subscribe:tt,enableScrollRestoration:de,navigate:It,fetch:jr,revalidate:qt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:at,dispose:ct,getBlocker:mr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:q,_internalActiveDeferreds:$e,_internalSetRoutes:Ae},Q}var AT=Symbol("deferred");function lW(r,a){Lr(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 S=a.detectErrorBoundary;s=k=>({hasErrorBoundary:S(k)})}else s=RT;let f=Mr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=Zc(r,s,void 0,o);function h(S,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,P=new URL(S.url),j=S.method,F=ou("",ws(P),null,"default"),Q=nu(c,F,l);if(!t2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:me,route:ae}=M_(c);return{basename:l,location:F,matches:me,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ca(404,{pathname:F.pathname}),{matches:me,route:ae}=M_(c);return{basename:l,location:F,matches:me,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let O=yield m(S,F,Q,L,Y||null,M===!0,null);return ec(O)?O:Mr({location:F,basename:l},O)})}function p(S,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,P=new URL(S.url),j=S.method,F=ou("",ws(P),null,"default"),Q=nu(c,F,l);if(!t2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!Q)throw Ca(404,{pathname:F.pathname});let O=L?Q.find(we=>we.route.id===L):Jc(Q,F);if(L&&!O)throw Ca(403,{pathname:F.pathname,routeId:L});if(!O)throw Ca(404,{pathname:F.pathname});let te=yield m(S,F,Q,M,Y||null,!1,O);if(ec(te))return te;let me=te.errors?Object.values(te.errors)[0]:void 0;if(me!==void 0)throw me;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var ae;let we=Object.values(te.loaderData)[0];return(ae=te.activeDeferreds)!=null&&ae[O.route.id]&&(we[AT]=te.activeDeferreds[O.route.id]),we}})}function m(S,k,L,M,Y,P,j){return na(this,null,function*(){Lr(S.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(S.method.toLowerCase()))return yield g(S,L,j||Jc(L,k),M,Y,P,j!=null);let F=yield b(S,L,M,Y,P,j);return ec(F)?F:Mr({},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(S,k,L,M,Y,P,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(405,{method:S.method,pathname:new URL(S.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield C("action",S,[L],k,j,M,Y))[0],S.signal.aborted&&aT(S,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=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(S.url,{headers:S.headers,redirect:S.redirect,signal:S.signal});if(On(F)){let te=P?L:Qc(k,L.route.id),me=yield b(Q,k,M,Y,P,null,[te.route.id,F]);return Mr({},me,{statusCode:Ld(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Mr({},F.headers?{[L.route.id]:F.headers}:{})})}let O=yield b(Q,k,M,Y,P,null);return Mr({},O,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(S,k,L,M,Y,P,j){return na(this,null,function*(){let F=P!=null;if(F&&!(P!=null&&P.route.loader)&&!(P!=null&&P.route.lazy))throw Ca(400,{method:S.method,pathname:new URL(S.url).pathname,routeId:P==null?void 0:P.route.id});let O=(P?[P]:j&&On(j[1])?LT(k,j[0]):k).filter(Se=>Se.route.loader||Se.route.lazy);if(O.length===0)return{matches:k,loaderData:k.reduce((Se,ge)=>Object.assign(Se,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield C("loader",S,O,k,F,L,M);S.signal.aborted&&aT(S,F,f);let me=new Map,ae=BT(k,O,te,j,me,Y),we=new Set(O.map(Se=>Se.route.id));return k.forEach(Se=>{we.has(Se.route.id)||(ae.loaderData[Se.route.id]=null)}),Mr({},ae,{matches:k,activeDeferreds:me.size>0?Object.fromEntries(me.entries()):null})})}function C(S,k,L,M,Y,P,j){return na(this,null,function*(){let F=yield MT(j||PT,S,k,L,M,o,s,P);return yield Promise.all(F.map((Q,O)=>{if(jT(Q)){let te=Q.result;throw zT(te,k,L[O].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 Mr({},a,{statusCode:Ld(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 J0(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&&!n2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Dd([o,g.pathname])),ws(g)}function nT(r,a,o,l){if(!l||!uW(l))return{path:o};if(l.formMethod&&!t2(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",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 C=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((S,k)=>{let[L,M]=k;return""+S+L+"="+M+`
146
+ `},""):String(l.body);return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:C}}}else if(l.formEncType==="application/json"){if(!Cl(c))return s();try{let C=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:C,text:void 0}}}catch(C){return s()}}}Lr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=Z0(l.formData),m=l.formData;else if(l.body instanceof FormData)p=Z0(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(C){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=$l(o);return a&&b.search&&n2(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,C,S,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),P=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,O=c&&Q&&Q>=400,te=F.filter((ae,we)=>{let{route:Se}=ae;if(Se.lazy)return!0;if(Se.loader==null)return!1;if(f)return typeof Se.loader!="function"||Se.loader.hydrate?!0:a.loaderData[Se.id]===void 0&&(!a.errors||a.errors[Se.id]===void 0);if(cW(a.loaderData,a.matches[we],ae)||p.some(ie=>ie===ae.route.id))return!0;let ge=a.matches[we],H=ae;return iT(ae,Mr({currentUrl:Y,currentParams:ge.params,nextUrl:P,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:O?!1:h||Y.pathname+Y.search===P.pathname+P.search||Y.search!==P.search||NT(ge,H)}))}),me=[];return b.forEach((ae,we)=>{if(f||!o.some(fe=>fe.route.id===ae.routeId)||g.has(we))return;let Se=nu(S,ae.path,k);if(!Se){me.push({key:we,routeId:ae.routeId,path:ae.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(we),H=Jc(Se,ae.path),ie=!1;C.has(we)?ie=!1:m.has(we)?(m.delete(we),ie=!0):ge&&ge.state!=="idle"&&ge.data===void 0?ie=h:ie=iT(H,Mr({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:P,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:O?!1:h})),ie&&me.push({key:we,routeId:ae.routeId,path:ae.path,matches:Se,match:H,controller:new AbortController})}),[te,me]}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];Lr(c,"No route found to patch children into: routeId = "+r);let h=Zc(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=Zc(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];Lr(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,Mr({},a(s),{lazy:void 0}))})}function PT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function MT(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=l.reduce((b,C)=>b.add(C.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let C=p.has(b.route.id);return Mr({},b,{shouldLoad:C,resolve:k=>(m.add(b.route.id),C?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=>Lr(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,C)=>p.has(s[C].route.id))})}function dW(r,a,o,l,s,f,c){return na(this,null,function*(){let h,p,m=g=>{let b,C=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let S=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=>S(L)):k=na(this,null,function*(){try{return{type:"data",result:yield S()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,C])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[C]=yield Promise.all([m(g).catch(S=>{b=S}),lT(o.route,s,l)]);if(b!==void 0)throw b;h=C}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),C=b.pathname+b.search;throw Ca(405,{method:a.method,pathname:C,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),C=b.pathname+b.search;throw Ca(404,{pathname:C})}Lr(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 Ad(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(e2(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 Ad(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Ld(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(e2(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(Lr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!a2.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);c=J0(new URL(a.url),h,s,!0,c,f),r.headers.set("Location",c)}return r}function sT(r,a,o){if(a2.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 Ed(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=Z0(l.formData):f.body=l.formData}return new Request(s,f)}function Z0(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((C,S)=>{let k=a[S].route.id;if(Lr(!rc(C),"Cannot handle redirect results in processLoaderData"),On(C)){let L=C.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Qc(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}c[k]=void 0,m||(m=!0,p=Ld(C.error)?C.error.status:500),C.headers&&(g[k]=C.headers)}else tc(C)?(s.set(k,C.deferredData),c[k]=C.deferredData.data,C.statusCode!=null&&C.statusCode!==200&&!m&&(p=C.statusCode),C.headers&&(g[k]=C.headers)):(c[k]=C.data,C.statusCode&&C.statusCode!==200&&!m&&(p=C.statusCode),C.headers&&(g[k]=C.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:C,controller:S}=f[g];Lr(c!==void 0&&c[g]!==void 0,"Did not find corresponding fetcher result");let k=c[g];if(!(S&&S.signal.aborted))if(On(k)){let L=Qc(r.matches,C==null?void 0:C.route.id);m&&m[L.route.id]||(m=Mr({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(rc(k))Lr(!1,"Unhandled fetcher revalidation redirect");else if(tc(k))Lr(!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=Mr({},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 Qc(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 M_(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: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
+ `+c):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":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 Ad(r||500,h,new Error(p),!0)}function pT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(rc(o))return{result:o,idx:a}}}function FT(r){let a=typeof r=="string"?$l(r):r;return ws(Mr({},a,{hash:""}))}function pW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function hW(r){return typeof r=="object"&&r!=null&&"then"in r}function mW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function jT(r){return ec(r.result)&&nW.has(r.result.status)}function tc(r){return r.type===Vr.deferred}function On(r){return r.type===Vr.error}function rc(r){return(r&&r.type)===Vr.redirect}function e2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function HT(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 ec(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function vW(r){if(!ec(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function t2(r){return aW.has(r.toLowerCase())}function Cl(r){return tW.has(r.toLowerCase())}function hT(r,a,o,l,s,f){return na(this,null,function*(){for(let c=0;c<o.length;c++){let h=o[c],p=a[c];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!NT(m,p)&&(f&&f[p.route.id])!==void 0;if(tc(h)&&(s||g)){let b=l[c];Lr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield UT(h,b,s).then(C=>{C&&(o[c]=C||o[c])})}}})}function UT(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 n2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function Jc(r,a){let o=typeof a=="string"?$l(a).search:a.search;if(r[r.length-1].route.index&&n2(o||""))return r[r.length-1];let l=wT(r);return l[l.length-1]}function mT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:c}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(c!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:c,text:void 0}}}function K0(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 _W(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 Hh(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 gW(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 Zu(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 bW(r,a){try{let o=r.sessionStorage.getItem(DT);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 yW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(DT,JSON.stringify(o))}catch(l){Ss(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ir.AbortedDeferredError=Uh;ir.Action=Ia;ir.IDLE_BLOCKER=Rd;ir.IDLE_FETCHER=ET;ir.IDLE_NAVIGATION=O_;ir.UNSAFE_DEFERRED_SYMBOL=AT;ir.UNSAFE_DeferredData=P_;ir.UNSAFE_ErrorResponseImpl=Ad;ir.UNSAFE_convertRouteMatchToUiMatch=_T;ir.UNSAFE_convertRoutesToDataRoutes=Zc;ir.UNSAFE_decodePath=yT;ir.UNSAFE_getResolveToMatches=CT;ir.UNSAFE_invariant=Lr;ir.UNSAFE_warning=Ss;ir.createBrowserHistory=EV;ir.createHashHistory=RV;ir.createMemoryHistory=TV;ir.createPath=ws;ir.createRouter=iW;ir.createStaticHandler=lW;ir.defer=JV;ir.generatePath=UV;ir.getStaticContextFromError=sW;ir.getToPathname=qV;ir.isDataWithResponseInit=e2;ir.isDeferredData=HT;ir.isRouteErrorResponse=Ld;ir.joinPaths=Dd;ir.json=GV;ir.matchPath=X0;ir.matchRoutes=nu;ir.normalizePathname=kT;ir.parsePath=$l;ir.redirect=r2;ir.redirectDocument=ZV;ir.replace=eW;ir.resolvePath=ST;ir.resolveTo=xT;ir.stripBasename=Vh;ir.unstable_data=KV});var WT=Ue((I_,VT)=>{(function(r,a){typeof I_=="object"&&typeof VT!="undefined"?a(I_,dr(),o2()):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))})(I_,function(r,a,o){"use strict";function l(N){if(N&&N.__esModule)return N;var ee=Object.create(null);return N&&Object.keys(N).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor(N,R);Object.defineProperty(ee,R,z.get?z:{enumerable:!0,get:function(){return N[R]}})}}),ee.default=N,Object.freeze(ee)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function(N){for(var ee=1;ee<arguments.length;ee++){var R=arguments[ee];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&(N[z]=R[z])}return N},f.apply(this,arguments)}let c=s.createContext(null);c.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let 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 C=s.createContext(null);C.displayName="RouteError";function S(N,ee){let{relative:R}=ee===void 0?{}:ee;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:$}=s.useContext(m),{hash:de,pathname:oe,search:Pe}=we(N,{relative:R}),Me=oe;return z!=="/"&&(Me=oe==="/"?z:o.joinPaths([z,oe])),$.createHref({pathname:Me,search:Pe,hash:de})}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(N){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:ee}=L();return s.useMemo(()=>o.matchPath(N,o.UNSAFE_decodePath(ee)),[ee,N])}let P="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j(N){s.useContext(m).static||s.useLayoutEffect(N)}function F(){let{isDataRoute:N}=s.useContext(b);return N?tr():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let N=s.useContext(c),{basename:ee,future:R,navigator:z}=s.useContext(m),{matches:$}=s.useContext(b),{pathname:de}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches($,R.v7_relativeSplatPath)),Pe=s.useRef(!1);return j(()=>{Pe.current=!0}),s.useCallback(function(Ie,qe){if(qe===void 0&&(qe={}),o.UNSAFE_warning(Pe.current,P),!Pe.current)return;if(typeof Ie=="number"){z.go(Ie);return}let Ae=o.resolveTo(Ie,JSON.parse(oe),de,qe.relative==="path");N==null&&ee!=="/"&&(Ae.pathname=Ae.pathname==="/"?ee:o.joinPaths([ee,Ae.pathname])),(qe.replace?z.replace:z.push)(Ae,qe.state,qe)},[ee,z,oe,de,N])}let O=s.createContext(null);function te(){return s.useContext(O)}function me(N){let ee=s.useContext(b).outlet;return ee&&s.createElement(O.Provider,{value:N},ee)}function ae(){let{matches:N}=s.useContext(b),ee=N[N.length-1];return ee?ee.params:{}}function we(N,ee){let{relative:R}=ee===void 0?{}:ee,{future:z}=s.useContext(m),{matches:$}=s.useContext(b),{pathname:de}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches($,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo(N,JSON.parse(oe),de,R==="path"),[N,oe,de,R])}function Se(N,ee){return ge(N,ee)}function ge(N,ee,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:$}=s.useContext(m),{matches:de}=s.useContext(b),oe=de[de.length-1],Pe=oe?oe.params:{},Me=oe?oe.pathname:"/",Ie=oe?oe.pathnameBase:"/",qe=oe&&oe.route;{let Fe=qe&&qe.path||"";wr(Me,!qe||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Me+'" (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(ee){var I;let Fe=typeof ee=="string"?o.parsePath(ee):ee;Ie==="/"||(I=Fe.pathname)!=null&&I.startsWith(Ie)||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 "'+Ie+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",re=V;if(Ie!=="/"){let Fe=Ie.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let le=o.matchRoutes(N,{pathname:re});o.UNSAFE_warning(qe||le!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(le==null||le[le.length-1].route.element!==void 0||le[le.length-1].route.Component!==void 0||le[le.length-1].route.lazy!==void 0,'Matched leaf route at location "'+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=q(le&&le.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Pe,Fe.params),pathname:o.joinPaths([Ie,$.encodeLocation?$.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Ie:o.joinPaths([Ie,$.encodeLocation?$.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),de,R,B);return ee&&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 N=Ce(),ee=o.isRouteErrorResponse(N)?N.status+" "+N.statusText:N instanceof Error?N.message:JSON.stringify(N),R=N instanceof Error?N.stack:null,B="rgba(200,200,200, 0.5)",$={padding:"0.5rem",backgroundColor:B},de={padding:"2px 4px",backgroundColor:B},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",N),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:de},"ErrorBoundary")," or"," ",s.createElement("code",{style:de},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},ee),R?s.createElement("pre",{style:$},R):null,oe)}let ie=s.createElement(H,null);class fe extends s.Component{constructor(ee){super(ee),this.state={location:ee.location,revalidation:ee.revalidation,error:ee.error}}static getDerivedStateFromError(ee){return{error:ee}}static getDerivedStateFromProps(ee,R){return R.location!==ee.location||R.revalidation!=="idle"&&ee.revalidation==="idle"?{error:ee.error,location:ee.location,revalidation:ee.revalidation}:{error:ee.error!==void 0?ee.error:R.error,location:R.location,revalidation:ee.revalidation||R.revalidation}}componentDidCatch(ee,R){console.error("React Router caught the following error during render",ee,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(C.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z(N){let{routeContext:ee,match:R,children:B}=N,$=s.useContext(u);return $&&$.static&&$.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&($.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:ee},B)}function q(N,ee,R,B){var $;if(ee===void 0&&(ee=[]),R===void 0&&(R=null),B===void 0&&(B=null),N==null){var de;if(!R)return null;if(R.errors)N=R.matches;else if((de=B)!=null&&de.v7_partialHydration&&ee.length===0&&!R.initialized&&R.matches.length>0)N=R.matches;else return null}let oe=N,Pe=($=R)==null?void 0:$.errors;if(Pe!=null){let qe=oe.findIndex(Ae=>Ae.route.id&&(Pe==null?void 0:Pe[Ae.route.id])!==void 0);qe>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Pe).join(",")),oe=oe.slice(0,Math.min(oe.length,qe+1))}let Me=!1,Ie=-1;if(R&&B&&B.v7_partialHydration)for(let qe=0;qe<oe.length;qe++){let Ae=oe[qe];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Ie=qe),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){Me=!0,Ie>=0?oe=oe.slice(0,Ie+1):oe=[oe[0]];break}}}return oe.reduceRight((qe,Ae,Qe)=>{let I,V=!1,re=null,le=null;R&&(I=Pe&&Ae.route.id?Pe[Ae.route.id]:void 0,re=Ae.route.errorElement||ie,Me&&(Ie<0&&Qe===0?(Sr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,le=null):Ie===Qe&&(V=!0,le=Ae.route.hydrateFallbackElement||null)));let Ve=ee.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=re:V?D=le:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=qe,s.createElement(z,{match:Ae,routeContext:{outlet:qe,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:re,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function(N){return N.UseBlocker="useBlocker",N.UseRevalidator="useRevalidator",N.UseNavigateStable="useNavigate",N}(ne||{}),Z=function(N){return N.UseBlocker="useBlocker",N.UseLoaderData="useLoaderData",N.UseActionData="useActionData",N.UseRouteError="useRouteError",N.UseNavigation="useNavigation",N.UseRouteLoaderData="useRouteLoaderData",N.UseMatches="useMatches",N.UseRevalidator="useRevalidator",N.UseNavigateStable="useNavigate",N.UseRouteId="useRouteId",N}(Z||{});function se(N){return N+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function ye(N){let ee=s.useContext(u);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function be(N){let ee=s.useContext(h);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function Oe(N){let ee=s.useContext(b);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function We(N){let ee=Oe(N),R=ee.matches[ee.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,N+' can only be used on routes that contain a unique "id"'),R.route.id}function $e(){return We(Z.UseRouteId)}function ht(){return be(Z.UseNavigation).navigation}function Mt(){let N=ye(ne.UseRevalidator),ee=be(Z.UseRevalidator);return s.useMemo(()=>({revalidate:N.router.revalidate,state:ee.revalidation}),[N.router.revalidate,ee.revalidation])}function lt(){let{matches:N,loaderData:ee}=be(Z.UseMatches);return s.useMemo(()=>N.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,ee)),[N,ee])}function yt(){let N=be(Z.UseLoaderData),ee=We(Z.UseLoaderData);if(N.errors&&N.errors[ee]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+ee+")");return}return N.loaderData[ee]}function ut(N){return be(Z.UseRouteLoaderData).loaderData[N]}function tt(){let N=be(Z.UseActionData),ee=We(Z.UseLoaderData);return N.actionData?N.actionData[ee]:void 0}function Ce(){var N;let ee=s.useContext(C),R=be(Z.UseRouteError),B=We(Z.UseRouteError);return ee!==void 0?ee:(N=R.errors)==null?void 0:N[B]}function St(){let N=s.useContext(p);return N==null?void 0:N._data}function It(){let N=s.useContext(p);return N==null?void 0:N._error}let qt=0;function jt(N){let{router:ee,basename:R}=ye(ne.UseBlocker),B=be(Z.UseBlocker),[$,de]=s.useState(""),oe=s.useCallback(Pe=>{if(typeof N!="function")return!!N;if(R==="/")return N(Pe);let{currentLocation:Me,nextLocation:Ie,historyAction:qe}=Pe;return N({currentLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),nextLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),historyAction:qe})},[R,N]);return s.useEffect(()=>{let Pe=String(++qt);return de(Pe),()=>ee.deleteBlocker(Pe)},[ee]),s.useEffect(()=>{$!==""&&ee.getBlocker($,oe)},[ee,$,oe]),$&&B.blockers.has($)?B.blockers.get($):o.IDLE_BLOCKER}function tr(){let{router:N}=ye(ne.UseNavigateStable),ee=We(Z.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function($,de){de===void 0&&(de={}),o.UNSAFE_warning(R.current,P),R.current&&(typeof $=="number"?N.navigate($):N.navigate($,f({fromRouteId:ee},de)))},[N,ee])}let cr={};function Sr(N,ee,R){!ee&&!cr[N]&&(cr[N]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr(N){let{fallbackElement:ee,router:R,future:B}=N,[$,de]=s.useState(R.state),{v7_startTransition:oe}=B||{},Pe=s.useCallback(Ae=>{oe&&jr?jr(()=>de(Ae)):de(Ae)},[de,oe]);s.useLayoutEffect(()=>R.subscribe(Pe),[R,Pe]),s.useEffect(()=>{o.UNSAFE_warning(ee==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Me=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]),Ie=R.basename||"/",qe=s.useMemo(()=>({router:R,navigator:Me,static:!1,basename:Ie}),[R,Me,Ie]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:qe},s.createElement(h.Provider,{value:$},s.createElement(Rr,{basename:Ie,location:$.location,navigationType:$.historyAction,navigator:Me,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},$.initialized||R.future.v7_partialHydration?s.createElement(ur,{routes:R.routes,future:R.future,state:$}):ee))),null)}function ur(N){let{routes:ee,future:R,state:B}=N;return ge(ee,void 0,B,R)}function Cr(N){let{basename:ee,children:R,initialEntries:B,initialIndex:$,future:de}=N,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:B,initialIndex:$,v5Compat:!0}));let Pe=oe.current,[Me,Ie]=s.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:qe}=de||{},Ae=s.useCallback(Qe=>{qe&&jr?jr(()=>Ie(Qe)):Ie(Qe)},[Ie,qe]);return s.useLayoutEffect(()=>Pe.listen(Ae),[Pe,Ae]),s.createElement(Rr,{basename:ee,children:R,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Nr(N){let{to:ee,replace:R,state:B,relative:$}=N;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:de,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:Pe}=s.useContext(b),{pathname:Me}=L(),Ie=F(),qe=o.resolveTo(ee,o.UNSAFE_getResolveToMatches(Pe,de.v7_relativeSplatPath),Me,$==="path"),Ae=JSON.stringify(qe);return s.useEffect(()=>Ie(JSON.parse(Ae),{replace:R,state:B,relative:$}),[Ie,Ae,$,R,B]),null}function ha(N){return me(N.context)}function fr(N){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Rr(N){let{basename:ee="/",children:R=null,location:B,navigationType:$=o.Action.Pop,navigator:de,static:oe=!1,future:Pe}=N;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Me=ee.replace(/^\/*/,"/"),Ie=s.useMemo(()=>({basename:Me,navigator:de,static:oe,future:f({v7_relativeSplatPath:!1},Pe)}),[Me,Pe,de,oe]);typeof B=="string"&&(B=o.parsePath(B));let{pathname:qe="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=B,re=s.useMemo(()=>{let le=o.stripBasename(qe,Me);return le==null?null:{location:{pathname:le,search:Ae,hash:Qe,state:I,key:V},navigationType:$}},[Me,qe,Ae,Qe,I,V,$]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Me+'"> is not able to match the URL '+('"'+qe+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:s.createElement(m.Provider,{value:Ie},s.createElement(g.Provider,{children:R,value:re}))}function Or(N){let{children:ee,location:R}=N;return we(Ht(ee),R)}function _a(N){let{children:ee,errorElement:R,resolve:B}=N;return s.createElement(mt,{resolve:B,errorElement:R},s.createElement(Wt,null,ee))}var ze=function(N){return N[N.pending=0]="pending",N[N.success=1]="success",N[N.error=2]="error",N}(ze||{});let at=new Promise(()=>{});class mt extends s.Component{constructor(ee){super(ee),this.state={error:null}}static getDerivedStateFromError(ee){return{error:ee}}componentDidCatch(ee,R){console.error("<Await> caught the following error during render",ee,R)}render(){let{children:ee,errorElement:R,resolve:B}=this.props,$=null,de=ze.pending;if(!(B instanceof Promise))de=ze.success,$=Promise.resolve(),Object.defineProperty($,"_tracked",{get:()=>!0}),Object.defineProperty($,"_data",{get:()=>B});else if(this.state.error){de=ze.error;let oe=this.state.error;$=Promise.reject().catch(()=>{}),Object.defineProperty($,"_tracked",{get:()=>!0}),Object.defineProperty($,"_error",{get:()=>oe})}else B._tracked?($=B,de="_error"in $?ze.error:"_data"in $?ze.success:ze.pending):(de=ze.pending,Object.defineProperty(B,"_tracked",{get:()=>!0}),$=B.then(oe=>Object.defineProperty(B,"_data",{get:()=>oe}),oe=>Object.defineProperty(B,"_error",{get:()=>oe})));if(de===ze.error&&$._error instanceof o.AbortedDeferredError)throw at;if(de===ze.error&&!R)throw $._error;if(de===ze.error)return s.createElement(p.Provider,{value:$,children:R});if(de===ze.success)return s.createElement(p.Provider,{value:$,children:ee});throw $}}function Wt(N){let{children:ee}=N,R=St(),B=typeof ee=="function"?ee(R):ee;return s.createElement(s.Fragment,null,B)}function Ht(N,ee){ee===void 0&&(ee=[]);let R=[];return s.Children.forEach(N,(B,$)=>{if(!s.isValidElement(B))return;let de=[...ee,$];if(B.type===s.Fragment){R.push.apply(R,Ht(B.props.children,de));return}B.type!==fr&&o.UNSAFE_invariant(!1,"["+(typeof B.type=="string"?B.type:B.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!B.props.index||!B.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let oe={id:B.props.id||de.join("-"),caseSensitive:B.props.caseSensitive,element:B.props.element,Component:B.props.Component,index:B.props.index,path:B.props.path,loader:B.props.loader,action:B.props.action,errorElement:B.props.errorElement,ErrorBoundary:B.props.ErrorBoundary,hasErrorBoundary:B.props.ErrorBoundary!=null||B.props.errorElement!=null,shouldRevalidate:B.props.shouldRevalidate,handle:B.props.handle,lazy:B.props.lazy};B.props.children&&(oe.children=Ht(B.props.children,de)),R.push(oe)}),R}function xr(N){return q(N)}function mr(N){let ee={hasErrorBoundary:N.ErrorBoundary!=null||N.errorElement!=null};return N.Component&&(N.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(ee,{element:s.createElement(N.Component),Component:void 0})),N.HydrateFallback&&(N.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(ee,{hydrateFallbackElement:s.createElement(N.HydrateFallback),HydrateFallback:void 0})),N.ErrorBoundary&&(N.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(ee,{errorElement:s.createElement(N.ErrorBoundary),ErrorBoundary:void 0})),ee}function Yr(N,ee){return o.createRouter({basename:ee==null?void 0:ee.basename,future:f({},ee==null?void 0:ee.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:ee==null?void 0:ee.initialEntries,initialIndex:ee==null?void 0:ee.initialIndex}),hydrationData:ee==null?void 0:ee.hydrationData,routes:N,mapRouteProperties:mr,unstable_dataStrategy:ee==null?void 0:ee.unstable_dataStrategy,unstable_patchRoutesOnMiss:ee==null?void 0:ee.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=Cr,r.Navigate=Nr,r.Outlet=ha,r.Route=fr,r.Router=Rr,r.RouterProvider=qr,r.Routes=Or,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=mr,r.UNSAFE_useRouteId=$e,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Ht,r.createRoutesFromElements=Ht,r.renderMatches=xr,r.useActionData=tt,r.useAsyncError=It,r.useAsyncValue=St,r.useBlocker=jt,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=yt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=ht,r.useNavigationType=M,r.useOutlet=me,r.useOutletContext=te,r.useParams=ae,r.useResolvedPath=Se,r.useRevalidator=Mt,r.useRouteError=Ce,r.useRouteLoaderData=ut,r.useRoutes=we,Object.defineProperty(r,"__esModule",{value:!0})})});var Yk=Ue((eG,qk)=>{"use strict";qk.exports=Wk()});var Gk=Ue((I_,$k)=>{(function(r,a){typeof I_=="object"&&typeof $k!="undefined"?a(I_,dr(),q0(),Yk(),o2()):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))})(I_,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var B=Object.create(null);return R&&Object.keys(R).forEach(function($){if($!=="default"){var de=Object.getOwnPropertyDescriptor(R,$);Object.defineProperty(B,$,de.get?de:{enumerable:!0,get:function(){return R[$]}})}}),B.default=R,Object.freeze(B)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var B=1;B<arguments.length;B++){var $=arguments[B];for(var de in $)Object.prototype.hasOwnProperty.call($,de)&&(R[de]=$[de])}return R},p.apply(this,arguments)}function m(R,B){if(R==null)return{};var $={},de=Object.keys(R),oe,Pe;for(Pe=0;Pe<de.length;Pe++)oe=de[Pe],!(B.indexOf(oe)>=0)&&($[oe]=R[oe]);return $}let g="get",b="application/x-www-form-urlencoded";function C(R){return R!=null&&typeof R.tagName=="string"}function w(R){return C(R)&&R.tagName.toLowerCase()==="button"}function k(R){return C(R)&&R.tagName.toLowerCase()==="form"}function L(R){return C(R)&&R.tagName.toLowerCase()==="input"}function M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,B){return R.button===0&&(!B||B==="_self")&&!M(R)}function P(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((B,$)=>{let de=R[$];return B.concat(Array.isArray(de)?de.map(oe=>[$,oe]):[[$,de]])},[]))}function j(R,B){let $=P(R);return B&&B.forEach((de,oe)=>{$.has(oe)||B.getAll(oe).forEach(Pe=>{$.append(oe,Pe)})}),$}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let O=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!O.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function me(R,B){let $,de,oe,Pe,Me;if(k(R)){let Ie=R.getAttribute("action");de=Ie?s.stripBasename(Ie,B):null,$=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Pe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Ie=R.form;if(Ie==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let qe=R.getAttribute("formaction")||Ie.getAttribute("action");if(de=qe?s.stripBasename(qe,B):null,$=R.getAttribute("formmethod")||Ie.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Ie.getAttribute("enctype"))||b,Pe=new FormData(Ie,R),!Q()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Pe.append(V+"x","0"),Pe.append(V+"y","0")}else Ae&&Pe.append(Ae,I)}}else{if(C(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');$=g,de=null,oe=b,Me=R}return Pe&&oe==="text/plain"&&(Me=Pe,Pe=void 0),{action:de,method:$.toLowerCase(),encType:oe,formData:Pe,body:Me}}let ae=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Se=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],we=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,B){return s.createRouter({basename:B==null?void 0:B.basename,future:p({},B==null?void 0:B.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:B==null?void 0:B.window}),hydrationData:(B==null?void 0:B.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:B==null?void 0:B.unstable_dataStrategy,unstable_patchRoutesOnMiss:B==null?void 0:B.unstable_patchRoutesOnMiss,window:B==null?void 0:B.window}).initialize()}function ie(R,B){return s.createRouter({basename:B==null?void 0:B.basename,future:p({},B==null?void 0:B.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:B==null?void 0:B.window}),hydrationData:(B==null?void 0:B.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:B==null?void 0:B.unstable_dataStrategy,unstable_patchRoutesOnMiss:B==null?void 0:B.unstable_patchRoutesOnMiss,window:B==null?void 0:B.window}).initialize()}function fe(){var R;let B=(R=window)==null?void 0:R.__staticRouterHydrationData;return B&&B.errors&&(B=p({},B,{errors:z(B.errors)})),B}function z(R){if(!R)return null;let B=Object.entries(R),$={};for(let[de,oe]of B)if(oe&&oe.__type==="RouteErrorResponse")$[de]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Pe=window[oe.__subType];if(typeof Pe=="function")try{let Me=new Pe(oe.message);Me.stack="",$[de]=Me}catch(Me){}}if($[de]==null){let Pe=new Error(oe.message);Pe.stack="",$[de]=Pe}}else $[de]=oe;return $}let q=u.createContext({isTransitioning:!1});q.displayName="ViewTransition";let ne=u.createContext(new Map);ne.displayName="Fetchers";let se=u["startTransition"],be=h["flushSync"],We=u["useId"];function $e(R){se?se(R):R()}function ht(R){be?be(R):R()}class Mt{constructor(){this.status="pending",this.promise=new Promise((B,$)=>{this.resolve=de=>{this.status==="pending"&&(this.status="resolved",B(de))},this.reject=de=>{this.status==="pending"&&(this.status="rejected",$(de))}})}}function lt(R){let{fallbackElement:B,router:$,future:de}=R,[oe,Pe]=u.useState($.state),[Me,Ie]=u.useState(),[qe,Ae]=u.useState({isTransitioning:!1}),[Qe,I]=u.useState(),[V,re]=u.useState(),[le,Ve]=u.useState(),Fe=u.useRef(new Map),{v7_startTransition:D}=de||{},W=u.useCallback(Ke=>{D?$e(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Ut,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=$.window==null||$.window.document==null||typeof $.window.document.startViewTransition!="function";if(!$r||Ha){Ut?ht(()=>Pe(Ke)):W(()=>Pe(Ke));return}if(Ut){ht(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let la=$.window.document.startViewTransition(()=>{ht(()=>Pe(Ke))});la.finished.finally(()=>{ht(()=>{I(void 0),re(void 0),Ie(void 0),Ae({isTransitioning:!1})})}),ht(()=>re(la));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Ie(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[$.window,V,Qe,Fe,W]);u.useLayoutEffect(()=>$.subscribe(pe),[$,pe]),u.useEffect(()=>{qe.isTransitioning&&!qe.flushSync&&I(new Mt)},[qe]),u.useEffect(()=>{if(Qe&&Me&&$.window){let Ke=Me,Ct=Qe.promise,kt=$.window.document.startViewTransition(()=>na(this,null,function*(){W(()=>Pe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),re(void 0),Ie(void 0),Ae({isTransitioning:!1})}),re(kt)}},[W,Me,Qe,$.window]),u.useEffect(()=>{Qe&&Me&&oe.location.key===Me.location.key&&Qe.resolve()},[Qe,V,oe.location,Me]),u.useEffect(()=>{!qe.isTransitioning&&le&&(Ie(le.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}),Ve(void 0))},[qe.isTransitioning,le]),u.useEffect(()=>{s.UNSAFE_warning(B==null||!$.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:$.createHref,encodeLocation:$.encodeLocation,go:Ke=>$.navigate(Ke),push:(Ke,Ct,kt)=>$.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>$.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[$]),He=$.basename||"/",ct=u.useMemo(()=>({router:$,navigator:ke,static:!1,basename:He}),[$,ke,He]),Je=u.useMemo(()=>({v7_relativeSplatPath:$.future.v7_relativeSplatPath}),[$.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ct},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},u.createElement(ne.Provider,{value:Fe.current},u.createElement(q.Provider,{value:qe},u.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||$.future.v7_partialHydration?u.createElement(yt,{routes:$.routes,future:$.future,state:oe}):B))))),null)}let yt=u.memo(ut);function ut(R){let{routes:B,future:$,state:de}=R;return l.UNSAFE_useRoutesImpl(B,void 0,de,$)}function tt(R){let{basename:B,children:$,future:de,window:oe}=R,Pe=u.useRef();Pe.current==null&&(Pe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Me=Pe.current,[Ie,qe]=u.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ae}=de||{},Qe=u.useCallback(I=>{Ae&&se?se(()=>qe(I)):qe(I)},[qe,Ae]);return u.useLayoutEffect(()=>Me.listen(Qe),[Me,Qe]),u.createElement(l.Router,{basename:B,children:$,location:Ie.location,navigationType:Ie.action,navigator:Me,future:de})}function Ce(R){let{basename:B,children:$,future:de,window:oe}=R,Pe=u.useRef();Pe.current==null&&(Pe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Me=Pe.current,[Ie,qe]=u.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ae}=de||{},Qe=u.useCallback(I=>{Ae&&se?se(()=>qe(I)):qe(I)},[qe,Ae]);return u.useLayoutEffect(()=>Me.listen(Qe),[Me,Qe]),u.createElement(l.Router,{basename:B,children:$,location:Ie.location,navigationType:Ie.action,navigator:Me,future:de})}function St(R){let{basename:B,children:$,future:de,history:oe}=R,[Pe,Me]=u.useState({action:oe.action,location:oe.location}),{v7_startTransition:Ie}=de||{},qe=u.useCallback(Ae=>{Ie&&se?se(()=>Me(Ae)):Me(Ae)},[Me,Ie]);return u.useLayoutEffect(()=>oe.listen(qe),[oe,qe]),u.createElement(l.Router,{basename:B,children:$,location:Pe.location,navigationType:Pe.action,navigator:oe,future:de})}St.displayName="unstable_HistoryRouter";let It=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",qt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jt=u.forwardRef(function(B,$){let{onClick:de,relative:oe,reloadDocument:Pe,replace:Me,state:Ie,target:qe,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=B,V=m(B,ae),{basename:re}=u.useContext(l.UNSAFE_NavigationContext),le,Ve=!1;if(typeof Ae=="string"&&qt.test(Ae)&&(le=Ae,It))try{let pe=new URL(window.location.href),ke=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(ke.pathname,re);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=Nr(Ae,{replace:Me,state:Ie,target:qe,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function W(pe){de&&de(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:le||Fe,onClick:Ve||Pe?de:W,ref:$,target:qe}))});jt.displayName="Link";let tr=u.forwardRef(function(B,$){let{"aria-current":de="page",caseSensitive:oe=!1,className:Pe="",end:Me=!1,style:Ie,to:qe,unstable_viewTransition:Ae,children:Qe}=B,I=m(B,Se),V=l.useResolvedPath(qe,{relative:I.relative}),re=l.useLocation(),le=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=u.useContext(l.UNSAFE_NavigationContext),D=le!=null&&ee(V)&&Ae===!0,W=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=re.pathname,ke=le&&le.navigation&&le.navigation.location?le.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,W=W.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=W!=="/"&&W.endsWith("/")?W.length-1:W.length,ct=pe===W||!Me&&pe.startsWith(W)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===W||!Me&&ke.startsWith(W)&&ke.charAt(W.length)==="/"),Ke={isActive:ct,isPending:Je,isTransitioning:D},Ct=ct?de:void 0,kt;typeof Pe=="function"?kt=Pe(Ke):kt=[Pe,ct?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Ut=typeof Ie=="function"?Ie(Ke):Ie;return u.createElement(jt,p({},I,{"aria-current":Ct,className:kt,ref:$,style:Ut,to:qe,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});tr.displayName="NavLink";let cr=u.forwardRef((R,B)=>{let{fetcherKey:$,navigate:de,reloadDocument:oe,replace:Pe,state:Me,method:Ie=g,action:qe,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,we),le=_a(),Ve=ze(qe,{relative:Qe}),Fe=Ie.toLowerCase()==="get"?"get":"post",D=W=>{if(Ae&&Ae(W),W.defaultPrevented)return;W.preventDefault();let pe=W.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Ie;le(pe||W.currentTarget,{fetcherKey:$,method:ke,navigate:de,replace:Pe,state:Me,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:B,method:Fe,action:Ve,onSubmit:oe?Ae:D},re))});cr.displayName="Form";function Sr(R){let{getKey:B,storageKey:$}=R;return xr({getKey:B,storageKey:$}),null}Sr.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 ur(R){let B=u.useContext(l.UNSAFE_DataRouterContext);return B||s.UNSAFE_invariant(!1,qr(R)),B}function Cr(R){let B=u.useContext(l.UNSAFE_DataRouterStateContext);return B||s.UNSAFE_invariant(!1,qr(R)),B}function Nr(R,B){let{target:$,replace:de,state:oe,preventScrollReset:Pe,relative:Me,unstable_viewTransition:Ie}=B===void 0?{}:B,qe=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Me});return u.useCallback(I=>{if(Y(I,$)){I.preventDefault();let V=de!==void 0?de:l.createPath(Ae)===l.createPath(Qe);qe(R,{replace:V,state:oe,preventScrollReset:Pe,relative:Me,unstable_viewTransition:Ie})}},[Ae,qe,Qe,de,oe,$,R,Pe,Me,Ie])}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 B=u.useRef(P(R)),$=u.useRef(!1),de=l.useLocation(),oe=u.useMemo(()=>j(de.search,$.current?null:B.current),[de.search]),Pe=l.useNavigate(),Me=u.useCallback((Ie,qe)=>{let Ae=P(typeof Ie=="function"?Ie(oe):Ie);$.current=!0,Pe("?"+Ae,qe)},[Pe,oe]);return[oe,Me]}function fr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let Rr=0,Or=()=>"__"+String(++Rr)+"__";function _a(){let{router:R}=ur(ra.UseSubmit),{basename:B}=u.useContext(l.UNSAFE_NavigationContext),$=l.UNSAFE_useRouteId();return u.useCallback(function(de,oe){oe===void 0&&(oe={}),fr();let{action:Pe,method:Me,encType:Ie,formData:qe,body:Ae}=me(de,B);if(oe.navigate===!1){let Qe=oe.fetcherKey||Or();R.fetch(Qe,$,oe.action||Pe,{preventScrollReset:oe.preventScrollReset,formData:qe,body:Ae,formMethod:oe.method||Me,formEncType:oe.encType||Ie,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Pe,{preventScrollReset:oe.preventScrollReset,formData:qe,body:Ae,formMethod:oe.method||Me,formEncType:oe.encType||Ie,replace:oe.replace,state:oe.state,fromRouteId:$,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,B,$])}function ze(R,B){let{relative:$}=B===void 0?{}:B,{basename:de}=u.useContext(l.UNSAFE_NavigationContext),oe=u.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Pe]=oe.matches.slice(-1),Me=p({},l.useResolvedPath(R||".",{relative:$})),Ie=l.useLocation();if(R==null){Me.search=Ie.search;let qe=new URLSearchParams(Me.search);qe.has("index")&&qe.get("index")===""&&(qe.delete("index"),Me.search=qe.toString()?"?"+qe.toString():"")}return(!R||R===".")&&Pe.route.index&&(Me.search=Me.search?Me.search.replace(/^\?/,"?index&"):"?index"),de!=="/"&&(Me.pathname=Me.pathname==="/"?de:s.joinPaths([de,Me.pathname])),l.createPath(Me)}function at(R){var B;let{key:$}=R===void 0?{}:R,{router:de}=ur(ra.UseFetcher),oe=Cr(jr.UseFetcher),Pe=u.useContext(ne),Me=u.useContext(l.UNSAFE_RouteContext),Ie=(B=Me.matches[Me.matches.length-1])==null?void 0:B.route.id;Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Me||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Ie==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let qe=We?We():"",[Ae,Qe]=u.useState($||qe);$&&$!==Ae?Qe($):Ae||Qe(Or()),u.useEffect(()=>(de.getFetcher(Ae),()=>{de.deleteFetcher(Ae)}),[de,Ae]);let I=u.useCallback((W,pe)=>{Ie||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),de.fetch(Ae,Ie,W,pe)},[Ae,Ie,de]),V=_a(),re=u.useCallback((W,pe)=>{V(W,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),le=u.useMemo(()=>{let W=u.forwardRef((pe,ke)=>u.createElement(cr,p({},pe,{navigate:!1,fetcherKey:Ae,ref:ke})));return W.displayName="fetcher.Form",W},[Ae]),Ve=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Pe.get(Ae);return u.useMemo(()=>p({Form:le,submit:re,load:I},Ve,{data:Fe}),[le,re,I,Ve,Fe])}function mt(){let R=Cr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(B=>{let[$,de]=B;return p({},de,{key:$})})}let Wt="react-router-scroll-positions",Ht={};function xr(R){let{getKey:B,storageKey:$}=R===void 0?{}:R,{router:de}=ur(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Pe}=Cr(jr.UseScrollRestoration),{basename:Me}=u.useContext(l.UNSAFE_NavigationContext),Ie=l.useLocation(),qe=l.useMatches(),Ae=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Ae.state==="idle"){let Qe=(B?B(Ie,qe):null)||Ie.key;Ht[Qe]=window.scrollY}try{sessionStorage.setItem($||Wt,JSON.stringify(Ht))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[$,B,Ae.state,Ie,qe])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem($||Wt);Qe&&(Ht=JSON.parse(Qe))}catch(Qe){}},[$]),u.useLayoutEffect(()=>{let Qe=B&&Me!=="/"?(V,re)=>B(p({},V,{pathname:s.stripBasename(V.pathname,Me)||V.pathname}),re):B,I=de==null?void 0:de.enableScrollRestoration(Ht,()=>window.scrollY,Qe);return()=>I&&I()},[de,Me,B]),u.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Ie.hash){let Qe=document.getElementById(decodeURIComponent(Ie.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Pe!==!0&&window.scrollTo(0,0)}},[Ie,oe,Pe]))}function mr(R,B){let{capture:$}=B||{};u.useEffect(()=>{let de=$!=null?{capture:$}:void 0;return window.addEventListener("beforeunload",R,de),()=>{window.removeEventListener("beforeunload",R,de)}},[R,$])}function Yr(R,B){let{capture:$}=B||{};u.useEffect(()=>{let de=$!=null?{capture:$}:void 0;return window.addEventListener("pagehide",R,de),()=>{window.removeEventListener("pagehide",R,de)}},[R,$])}function N(R){let{when:B,message:$}=R,de=l.useBlocker(B);u.useEffect(()=>{de.state==="blocked"&&(window.confirm($)?setTimeout(de.proceed,0):de.reset())},[de,$]),u.useEffect(()=>{de.state==="blocked"&&!B&&de.reset()},[de,B])}function ee(R,B){B===void 0&&(B={});let $=u.useContext(q);$==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:de}=ur(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:B.relative});if(!$.isTransitioning)return!1;let Pe=s.stripBasename($.currentLocation.pathname,de)||$.currentLocation.pathname,Me=s.stripBasename($.nextLocation.pathname,de)||$.nextLocation.pathname;return s.matchPath(oe.pathname,Me)!=null||s.matchPath(oe.pathname,Pe)!=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=tt,r.Form=cr,r.HashRouter=Ce,r.Link=jt,r.NavLink=tr,r.RouterProvider=lt,r.ScrollRestoration=Sr,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=q,r.UNSAFE_useScrollRestoration=xr,r.createBrowserRouter=H,r.createHashRouter=ie,r.createSearchParams=P,r.unstable_HistoryRouter=St,r.unstable_usePrompt=N,r.unstable_useViewTransitionState=ee,r.useBeforeUnload=mr,r.useFetcher=at,r.useFetchers=mt,r.useFormAction=ze,r.useLinkClickHandler=Nr,r.useSearchParams=ha,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var Xk=Ue((rG,Kk)=>{"use strict";Kk.exports=Gk()});var rr=Ue((aG,rT)=>{"use strict";var F_=Object.defineProperty,wW=Object.defineProperties,SW=Object.getOwnPropertyDescriptor,CW=Object.getOwnPropertyDescriptors,xW=Object.getOwnPropertyNames,z_=Object.getOwnPropertySymbols,l2=Object.prototype.hasOwnProperty,Jk=Object.prototype.propertyIsEnumerable,i2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),B_=Math.pow,Qk=(r,a,o)=>a in r?F_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nu=(r,a)=>{for(var o in a||(a={}))l2.call(a,o)&&Qk(r,o,a[o]);if(z_)for(var o of z_(a))Jk.call(a,o)&&Qk(r,o,a[o]);return r},Zk=(r,a)=>wW(r,CW(a)),kW=(r,a)=>{var o={};for(var l in r)l2.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&&Jk.call(r,l)&&(o[l]=r[l]);return o},TW=(r,a)=>{for(var o in a)F_(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))!l2.call(r,s)&&s!==o&&F_(r,s,{get:()=>a[s],enumerable:!(l=SW(a,s))||l.enumerable});return r},RW=r=>EW(F_({},"__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())}),eT=function(r,a){this[0]=r,this[1]=a},DW=(r,a,o)=>{var l=(u,h,p,m)=>{try{var g=o[u](h),b=(h=g.value)instanceof eT,C=g.done;Promise.resolve(b?h[0]:h).then(w=>b?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:C})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[i2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},AW=(r,a,o)=>(a=r[i2("asyncIterator")])?a.call(r):(r=r[i2("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),tT={};TW(tT,{Fetcher:()=>Zr,Filer:()=>bn,Server:()=>c2,Time:()=>zr,UUID:()=>ef,default:()=>VW,useStore:()=>j_});rT.exports=RW(tT);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=B_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=B_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=B_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/B_(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){s=s||"";let f=this.every(p=>{let m=Number(r(p,s.split(".")));return typeof m=="number"&&!isNaN(m)}),u=r(o,s.split(".")),h=r(l,s.split("."));if(f){if(u=Number(u),h=Number(h),u>h)return 1;if(u<h)return-1}else{if(u=String(u).replace(/(\d+)/g,p=>p.padStart(18,"0")),h=String(h).replace(/(\d+)/g,p=>p.padStart(18,"0")),u>h)return 1;if(u<h)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=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(""),ef=LW;ef.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");ef.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};ef.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 De.prototype.jmini(r),De=NW;De.prototype={};De.extend=function(r,a=De){for(var[o,l]of Object.entries(r))a.prototype[o]=l};De.expando="__jmini_"+ef();var Va=(r,a)=>(r.queue.push(a),s2(r),r),s2=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,s2(r)}}),au=(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[De.expando]||(De.is.element(l)||De.is.shadowRoot(l))&&(l[De.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,s2(r),r};De.extend({constructor:De,jmini:function(r){return this.src=r,this.srcType=De.is.what(r),this.queueProcess=!0,this.queue=[],OW(this,De.is.jmini(r)?r.get():De.is.element(r)?[r]:De.is.elements(r)?r:De.is.shadowRoot(r)?[r]:De.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});De.prototype[String(Symbol.iterator)]=[][Symbol.iterator];De.prototype.jmini.prototype=De.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(!(De.is.element(f)||De.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(De(f).for(u=>{if(s&&(De.is.element(u)||De.is.shadowRoot(u)))if(De.is.string(s)||De.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(De.is.element(s))u.appendChild(s);else{De.is.jmini(s)?s=s.get():De.is.element(s)?s=[s]:De.is.keyValueDictionary(s)&&(s=[De(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(De.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;De(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};De.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];De.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];De.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:u=ef(),target:h,callback:p,options:m}=s;return m=nu({passive:!0,capture:!1},m),this.for(g=>{if(!(De.is.element(g)||De.is.shadowRoot(g)))return;let{events:b}=g[De.expando];if(h){let C=p;p=w=>{if(w.target){if(De.is.string(h)){let k=w.target.closest(h);k&&(!k||C.call(k,w))}else if(De.is.elements(h)){for(let k of h)if(w.target==k)return C.call(k,w)}}}}if(b[u]){let C=b[u];g.removeEventListener(C.eventType,C.callback,C.options)}b[u]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=De.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[De.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,()=>au(this,o(s,a(this))))},empty:function(){return Va(this,()=>au(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&De.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,()=>au(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>au(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],u=this[0];u||au(this,De()),(De.is.element(u)||De.is.shadowRoot(u))&&(De.is.string(s)?f=u.querySelectorAll(s):De.is.element(u)&&De(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,...De(m).find(h).for(g=>g)])})),au(this,De(f))})},parent:function(s){return Va(this,()=>{var f,u;let h=De(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);au(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;De.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=De(f);return au(this,u)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=De.is.string(s)?s.split(" "):s;f&&De.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=De.is.string(s)?s.split(" "):s;f&&De.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(De.is.element(f))for(let[u,h]of Object.entries(s)){if(De.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&&De.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&De.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 De.is.element(this[0])?this[0].getBoundingClientRect():{}}})}De.flatArray=(r,a)=>{if(!De.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?De.flatArray(l,"-R"):[l]);return o};De.Stringify=JSON.stringify;De.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};De.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]};De.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};De.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});De.scope=r=>r();De.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});De.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 C of Object.entries(u)){let w=C[0],k=(a=C[1])!=null?a:"";if(w=="data"&&De.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&&De(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&De(p).append(m),m};De.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};De.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};De.localStrage={set:(r,a)=>{localStorage.setItem(r,De.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return De.Objectify(a,a)}};De.deleteCookie=r=>{document.cookie=r+"=max-age=0"};De.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(De(document.body).getStyleProperty("--sat").removeLetters()),h=Number(De(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}};De.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}};De.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)});De.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(De.is.keyValueDictionary(r)&&De.is.keyValueDictionary(o))for(let l in o)De.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),De.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return De.deepMerge(r,...a)};De.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()}};De.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};De.is={equal:function(r,a,o){return o==null||o?De.Stringify(r)===De.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===De},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 PW=r=>new zr.prototype.Time(r),zr=PW;zr.prototype={};var MW=function(r){zr.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)};De.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:zr,Time:MW,clone:function(){return zr(this)},set:function(r){this.value=r;let a=De.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=zr(r);return this.year==a.year},isSameMonth:function(r){let a=zr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=zr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=zr(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 zr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return zr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return zr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return zr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=zr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=zr(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||zr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},zr);zr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===zr};zr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return zr(a+" 00:00")};zr.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=zr(s).addYear(1):r=="month"?s=zr(s).addMonth(1):r=="week"?s=zr(s).addWeek(1):r=="day"?s=zr(s).addDate(1):r=="hours"?s=zr(s).addHours(1):r=="minutes"?s=zr(s).addMinutes(1):r=="seconds"&&(s=zr(s).addSeconds(1));return l};zr.prototype.Time.prototype=zr.prototype;var ic={},j_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=ic[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),ic[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=ic[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),ic[l]=Zk(nu({},ic[l]),{value:nu(nu({},(f=ic[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=ic[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=ic[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete ic[r],!0)}},IW=(...[r,a,o])=>new So.prototype.Interval(r,a,o),So=IW;So.prototype={};var BW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,So.abort(this.key),this.store(),this};De.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:BW,store:function(){j_.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 So.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}},So);So.abort=r=>{if(De.is.number(r))return clearInterval(r);let a=j_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};So.get=r=>j_.get("Interval_"+r);So.once=(r,a,o)=>So(r,a,o).once();So.start=(r,a,o)=>So(r,a,o).start();So.prototype.Interval.prototype=So.prototype;var zW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=zW;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&&!De.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=De.Stringify(a.body||{}));let s=r;return De.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=Zk(nu({key:ef(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nu(nu({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:l}),this};De.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,u=a.body,h=this,p=function(){return DW(this,null,function*(){if(!a.ok){De.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 w=!1;for(;!w;){let{ok:k,done:L,data:M}=yield new eT(Zr.streamToContext(u,{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,C;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){C=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(C)throw C[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return 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 C=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:P}=C,j=kW(C,["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=De.queryParams.set(nu({},P),String(this.url));m=yield fetch(Q,j).then(O=>Wa(this,null,function*(){return u=O.ok,h=O.status,p=O.statusText,g=O,k=="none"||k=="stream"?O:O[k]()})).catch(O=>{throw new Error(O)})}catch(C){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(C)||p),m={errorCode:String(C)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield De.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(C=>C==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 C=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:C,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 jW=r=>new bn.prototype.Filer(r),bn=jW;bn.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};De.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}},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 UW=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&&!De.is.string(m)&&(b=De.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},c2=UW;c2.getLocalIP=r=>{let a="";return De.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};c2.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"};De.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";De.is.string(r)?a=r:De.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(De(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});De.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});De.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}}};De.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}}};De.interval=So;Zr.setDefaultHeaders=()=>({});var VW=De});var lT=Ue(U_=>{"use strict";(function(){"use strict";var r=dr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),C=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 W=k&&D[k]||D[L];return typeof W=="function"?W:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(D){{for(var W=arguments.length,pe=new Array(W>1?W-1:0),ke=1;ke<W;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,W,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(W+="%s",pe=pe.concat([He]));var ct=pe.map(function(Je){return String(Je)});ct.unshift("Warning: "+W),Function.prototype.apply.call(console[D],console,ct)}}var F=!1,Q=!1,O=!1,te=!1,me=!1,ae;ae=Symbol.for("react.module.reference");function Se(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||me||D===s||D===m||D===g||te||D===w||F||Q||O||typeof D=="object"&&D!==null&&(D.$$typeof===C||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ae||D.getModuleId!==void 0))}function we(D,W,pe){var ke=D.displayName;if(ke)return ke;var He=W.displayName||W.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"&&P("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 W=D;return ge(W)+".Consumer";case u:var pe=D;return ge(pe._context)+".Provider";case p:return we(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case C:{var He=D,ct=He._payload,Je=He._init;try{return H(Je(ct))}catch(Ke){return null}}}return null}var ie=Object.assign,fe=0,z,q,ne,Z,se,ye,be;function Oe(){}Oe.__reactDisabledLog=!0;function We(){{if(fe===0){z=console.log,q=console.info,ne=console.warn,Z=console.error,se=console.group,ye=console.groupCollapsed,be=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Oe,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function $e(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},D,{value:z}),info:ie({},D,{value:q}),warn:ie({},D,{value:ne}),error:ie({},D,{value:Z}),group:ie({},D,{value:se}),groupCollapsed:ie({},D,{value:ye}),groupEnd:ie({},D,{value:be})})}fe<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ht=Y.ReactCurrentDispatcher,Mt;function lt(D,W,pe){{if(Mt===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);Mt=ke&&ke[1]||""}return`
150
- `+Mt+D}}var yt=!1,ut;{var tt=typeof WeakMap=="function"?WeakMap:Map;ut=new tt}function Ce(D,W){if(!D||yt)return"";{var pe=ut.get(D);if(pe!==void 0)return pe}var ke;yt=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ct;ct=ht.current,ht.current=null,We();try{if(W){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(sa){ke=sa}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(sa){ke=sa}D.call(Je.prototype)}}else{try{throw Error()}catch(sa){ke=sa}D()}}catch(sa){if(sa&&ke&&typeof sa.stack=="string"){for(var Ke=sa.stack.split(`
149
+ `+('Please change the parent <Route path="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Ae=L(),Qe;if(ee){var I;let Fe=typeof ee=="string"?o.parsePath(ee):ee;Ie==="/"||(I=Fe.pathname)!=null&&I.startsWith(Ie)||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 "'+Ie+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",re=V;if(Ie!=="/"){let Fe=Ie.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let le=o.matchRoutes(N,{pathname:re});o.UNSAFE_warning(qe||le!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(le==null||le[le.length-1].route.element!==void 0||le[le.length-1].route.Component!==void 0||le[le.length-1].route.lazy!==void 0,'Matched leaf route at location "'+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=q(le&&le.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Pe,Fe.params),pathname:o.joinPaths([Ie,$.encodeLocation?$.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Ie:o.joinPaths([Ie,$.encodeLocation?$.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),de,R,z);return ee&&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 N=Ce(),ee=o.isRouteErrorResponse(N)?N.status+" "+N.statusText:N instanceof Error?N.message:JSON.stringify(N),R=N instanceof Error?N.stack:null,z="rgba(200,200,200, 0.5)",$={padding:"0.5rem",backgroundColor:z},de={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",N),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:de},"ErrorBoundary")," or"," ",s.createElement("code",{style:de},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},ee),R?s.createElement("pre",{style:$},R):null,oe)}let ie=s.createElement(H,null);class fe extends s.Component{constructor(ee){super(ee),this.state={location:ee.location,revalidation:ee.revalidation,error:ee.error}}static getDerivedStateFromError(ee){return{error:ee}}static getDerivedStateFromProps(ee,R){return R.location!==ee.location||R.revalidation!=="idle"&&ee.revalidation==="idle"?{error:ee.error,location:ee.location,revalidation:ee.revalidation}:{error:ee.error!==void 0?ee.error:R.error,location:R.location,revalidation:ee.revalidation||R.revalidation}}componentDidCatch(ee,R){console.error("React Router caught the following error during render",ee,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(C.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B(N){let{routeContext:ee,match:R,children:z}=N,$=s.useContext(c);return $&&$.static&&$.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&($.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:ee},z)}function q(N,ee,R,z){var $;if(ee===void 0&&(ee=[]),R===void 0&&(R=null),z===void 0&&(z=null),N==null){var de;if(!R)return null;if(R.errors)N=R.matches;else if((de=z)!=null&&de.v7_partialHydration&&ee.length===0&&!R.initialized&&R.matches.length>0)N=R.matches;else return null}let oe=N,Pe=($=R)==null?void 0:$.errors;if(Pe!=null){let qe=oe.findIndex(Ae=>Ae.route.id&&(Pe==null?void 0:Pe[Ae.route.id])!==void 0);qe>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Pe).join(",")),oe=oe.slice(0,Math.min(oe.length,qe+1))}let Me=!1,Ie=-1;if(R&&z&&z.v7_partialHydration)for(let qe=0;qe<oe.length;qe++){let Ae=oe[qe];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Ie=qe),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){Me=!0,Ie>=0?oe=oe.slice(0,Ie+1):oe=[oe[0]];break}}}return oe.reduceRight((qe,Ae,Qe)=>{let I,V=!1,re=null,le=null;R&&(I=Pe&&Ae.route.id?Pe[Ae.route.id]:void 0,re=Ae.route.errorElement||ie,Me&&(Ie<0&&Qe===0?(wr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,le=null):Ie===Qe&&(V=!0,le=Ae.route.hydrateFallbackElement||null)));let Ve=ee.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=re:V?D=le:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=qe,s.createElement(B,{match:Ae,routeContext:{outlet:qe,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:re,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function(N){return N.UseBlocker="useBlocker",N.UseRevalidator="useRevalidator",N.UseNavigateStable="useNavigate",N}(ne||{}),Z=function(N){return N.UseBlocker="useBlocker",N.UseLoaderData="useLoaderData",N.UseActionData="useActionData",N.UseRouteError="useRouteError",N.UseNavigation="useNavigation",N.UseRouteLoaderData="useRouteLoaderData",N.UseMatches="useMatches",N.UseRevalidator="useRevalidator",N.UseNavigateStable="useNavigate",N.UseRouteId="useRouteId",N}(Z||{});function se(N){return N+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function ye(N){let ee=s.useContext(c);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function be(N){let ee=s.useContext(h);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function Oe(N){let ee=s.useContext(b);return ee||o.UNSAFE_invariant(!1,se(N)),ee}function We(N){let ee=Oe(N),R=ee.matches[ee.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,N+' can only be used on routes that contain a unique "id"'),R.route.id}function $e(){return We(Z.UseRouteId)}function ht(){return be(Z.UseNavigation).navigation}function Mt(){let N=ye(ne.UseRevalidator),ee=be(Z.UseRevalidator);return s.useMemo(()=>({revalidate:N.router.revalidate,state:ee.revalidation}),[N.router.revalidate,ee.revalidation])}function lt(){let{matches:N,loaderData:ee}=be(Z.UseMatches);return s.useMemo(()=>N.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,ee)),[N,ee])}function yt(){let N=be(Z.UseLoaderData),ee=We(Z.UseLoaderData);if(N.errors&&N.errors[ee]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+ee+")");return}return N.loaderData[ee]}function ct(N){return be(Z.UseRouteLoaderData).loaderData[N]}function tt(){let N=be(Z.UseActionData),ee=We(Z.UseLoaderData);return N.actionData?N.actionData[ee]:void 0}function Ce(){var N;let ee=s.useContext(C),R=be(Z.UseRouteError),z=We(Z.UseRouteError);return ee!==void 0?ee:(N=R.errors)==null?void 0:N[z]}function wt(){let N=s.useContext(p);return N==null?void 0:N._data}function It(){let N=s.useContext(p);return N==null?void 0:N._error}let qt=0;function jt(N){let{router:ee,basename:R}=ye(ne.UseBlocker),z=be(Z.UseBlocker),[$,de]=s.useState(""),oe=s.useCallback(Pe=>{if(typeof N!="function")return!!N;if(R==="/")return N(Pe);let{currentLocation:Me,nextLocation:Ie,historyAction:qe}=Pe;return N({currentLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),nextLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),historyAction:qe})},[R,N]);return s.useEffect(()=>{let Pe=String(++qt);return de(Pe),()=>ee.deleteBlocker(Pe)},[ee]),s.useEffect(()=>{$!==""&&ee.getBlocker($,oe)},[ee,$,oe]),$&&z.blockers.has($)?z.blockers.get($):o.IDLE_BLOCKER}function tr(){let{router:N}=ye(ne.UseNavigateStable),ee=We(Z.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function($,de){de===void 0&&(de={}),o.UNSAFE_warning(R.current,P),R.current&&(typeof $=="number"?N.navigate($):N.navigate($,f({fromRouteId:ee},de)))},[N,ee])}let ur={};function wr(N,ee,R){!ee&&!ur[N]&&(ur[N]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr(N){let{fallbackElement:ee,router:R,future:z}=N,[$,de]=s.useState(R.state),{v7_startTransition:oe}=z||{},Pe=s.useCallback(Ae=>{oe&&jr?jr(()=>de(Ae)):de(Ae)},[de,oe]);s.useLayoutEffect(()=>R.subscribe(Pe),[R,Pe]),s.useEffect(()=>{o.UNSAFE_warning(ee==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Me=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]),Ie=R.basename||"/",qe=s.useMemo(()=>({router:R,navigator:Me,static:!1,basename:Ie}),[R,Me,Ie]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:qe},s.createElement(h.Provider,{value:$},s.createElement(Rr,{basename:Ie,location:$.location,navigationType:$.historyAction,navigator:Me,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},$.initialized||R.future.v7_partialHydration?s.createElement(cr,{routes:R.routes,future:R.future,state:$}):ee))),null)}function cr(N){let{routes:ee,future:R,state:z}=N;return ge(ee,void 0,z,R)}function Cr(N){let{basename:ee,children:R,initialEntries:z,initialIndex:$,future:de}=N,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:$,v5Compat:!0}));let Pe=oe.current,[Me,Ie]=s.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:qe}=de||{},Ae=s.useCallback(Qe=>{qe&&jr?jr(()=>Ie(Qe)):Ie(Qe)},[Ie,qe]);return s.useLayoutEffect(()=>Pe.listen(Ae),[Pe,Ae]),s.createElement(Rr,{basename:ee,children:R,location:Me.location,navigationType:Me.action,navigator:Pe,future:de})}function Nr(N){let{to:ee,replace:R,state:z,relative:$}=N;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:de,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:Pe}=s.useContext(b),{pathname:Me}=L(),Ie=F(),qe=o.resolveTo(ee,o.UNSAFE_getResolveToMatches(Pe,de.v7_relativeSplatPath),Me,$==="path"),Ae=JSON.stringify(qe);return s.useEffect(()=>Ie(JSON.parse(Ae),{replace:R,state:z,relative:$}),[Ie,Ae,$,R,z]),null}function ha(N){return me(N.context)}function fr(N){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Rr(N){let{basename:ee="/",children:R=null,location:z,navigationType:$=o.Action.Pop,navigator:de,static:oe=!1,future:Pe}=N;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Me=ee.replace(/^\/*/,"/"),Ie=s.useMemo(()=>({basename:Me,navigator:de,static:oe,future:f({v7_relativeSplatPath:!1},Pe)}),[Me,Pe,de,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:qe="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=z,re=s.useMemo(()=>{let le=o.stripBasename(qe,Me);return le==null?null:{location:{pathname:le,search:Ae,hash:Qe,state:I,key:V},navigationType:$}},[Me,qe,Ae,Qe,I,V,$]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Me+'"> is not able to match the URL '+('"'+qe+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:s.createElement(m.Provider,{value:Ie},s.createElement(g.Provider,{children:R,value:re}))}function Or(N){let{children:ee,location:R}=N;return Se(Ht(ee),R)}function _a(N){let{children:ee,errorElement:R,resolve:z}=N;return s.createElement(mt,{resolve:z,errorElement:R},s.createElement(Wt,null,ee))}var Be=function(N){return N[N.pending=0]="pending",N[N.success=1]="success",N[N.error=2]="error",N}(Be||{});let at=new Promise(()=>{});class mt extends s.Component{constructor(ee){super(ee),this.state={error:null}}static getDerivedStateFromError(ee){return{error:ee}}componentDidCatch(ee,R){console.error("<Await> caught the following error during render",ee,R)}render(){let{children:ee,errorElement:R,resolve:z}=this.props,$=null,de=Be.pending;if(!(z instanceof Promise))de=Be.success,$=Promise.resolve(),Object.defineProperty($,"_tracked",{get:()=>!0}),Object.defineProperty($,"_data",{get:()=>z});else if(this.state.error){de=Be.error;let oe=this.state.error;$=Promise.reject().catch(()=>{}),Object.defineProperty($,"_tracked",{get:()=>!0}),Object.defineProperty($,"_error",{get:()=>oe})}else z._tracked?($=z,de="_error"in $?Be.error:"_data"in $?Be.success:Be.pending):(de=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),$=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(de===Be.error&&$._error instanceof o.AbortedDeferredError)throw at;if(de===Be.error&&!R)throw $._error;if(de===Be.error)return s.createElement(p.Provider,{value:$,children:R});if(de===Be.success)return s.createElement(p.Provider,{value:$,children:ee});throw $}}function Wt(N){let{children:ee}=N,R=wt(),z=typeof ee=="function"?ee(R):ee;return s.createElement(s.Fragment,null,z)}function Ht(N,ee){ee===void 0&&(ee=[]);let R=[];return s.Children.forEach(N,(z,$)=>{if(!s.isValidElement(z))return;let de=[...ee,$];if(z.type===s.Fragment){R.push.apply(R,Ht(z.props.children,de));return}z.type!==fr&&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||de.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=Ht(z.props.children,de)),R.push(oe)}),R}function xr(N){return q(N)}function mr(N){let ee={hasErrorBoundary:N.ErrorBoundary!=null||N.errorElement!=null};return N.Component&&(N.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(ee,{element:s.createElement(N.Component),Component:void 0})),N.HydrateFallback&&(N.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(ee,{hydrateFallbackElement:s.createElement(N.HydrateFallback),HydrateFallback:void 0})),N.ErrorBoundary&&(N.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(ee,{errorElement:s.createElement(N.ErrorBoundary),ErrorBoundary:void 0})),ee}function Yr(N,ee){return o.createRouter({basename:ee==null?void 0:ee.basename,future:f({},ee==null?void 0:ee.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:ee==null?void 0:ee.initialEntries,initialIndex:ee==null?void 0:ee.initialIndex}),hydrationData:ee==null?void 0:ee.hydrationData,routes:N,mapRouteProperties:mr,unstable_dataStrategy:ee==null?void 0:ee.unstable_dataStrategy,unstable_patchRoutesOnMiss:ee==null?void 0:ee.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=Cr,r.Navigate=Nr,r.Outlet=ha,r.Route=fr,r.Router=Rr,r.RouterProvider=qr,r.Routes=Or,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=mr,r.UNSAFE_useRouteId=$e,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Ht,r.createRoutesFromElements=Ht,r.renderMatches=xr,r.useActionData=tt,r.useAsyncError=It,r.useAsyncValue=wt,r.useBlocker=jt,r.useHref=S,r.useInRouterContext=k,r.useLoaderData=yt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=ht,r.useNavigationType=M,r.useOutlet=me,r.useOutletContext=te,r.useParams=ae,r.useResolvedPath=we,r.useRevalidator=Mt,r.useRouteError=Ce,r.useRouteLoaderData=ct,r.useRoutes=Se,Object.defineProperty(r,"__esModule",{value:!0})})});var YT=Ue((eG,qT)=>{"use strict";qT.exports=WT()});var GT=Ue((z_,$T)=>{(function(r,a){typeof z_=="object"&&typeof $T!="undefined"?a(z_,dr(),q0(),YT(),o2()):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))})(z_,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($){if($!=="default"){var de=Object.getOwnPropertyDescriptor(R,$);Object.defineProperty(z,$,de.get?de:{enumerable:!0,get:function(){return R[$]}})}}),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 $=arguments[z];for(var de in $)Object.prototype.hasOwnProperty.call($,de)&&(R[de]=$[de])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var $={},de=Object.keys(R),oe,Pe;for(Pe=0;Pe<de.length;Pe++)oe=de[Pe],!(z.indexOf(oe)>=0)&&($[oe]=R[oe]);return $}let g="get",b="application/x-www-form-urlencoded";function C(R){return R!=null&&typeof R.tagName=="string"}function S(R){return C(R)&&R.tagName.toLowerCase()==="button"}function k(R){return C(R)&&R.tagName.toLowerCase()==="form"}function L(R){return C(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 P(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,$)=>{let de=R[$];return z.concat(Array.isArray(de)?de.map(oe=>[$,oe]):[[$,de]])},[]))}function j(R,z){let $=P(R);return z&&z.forEach((de,oe)=>{$.has(oe)||z.getAll(oe).forEach(Pe=>{$.append(oe,Pe)})}),$}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let O=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!O.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function me(R,z){let $,de,oe,Pe,Me;if(k(R)){let Ie=R.getAttribute("action");de=Ie?s.stripBasename(Ie,z):null,$=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Pe=new FormData(R)}else if(S(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Ie=R.form;if(Ie==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let qe=R.getAttribute("formaction")||Ie.getAttribute("action");if(de=qe?s.stripBasename(qe,z):null,$=R.getAttribute("formmethod")||Ie.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Ie.getAttribute("enctype"))||b,Pe=new FormData(Ie,R),!Q()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Pe.append(V+"x","0"),Pe.append(V+"y","0")}else Ae&&Pe.append(Ae,I)}}else{if(C(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');$=g,de=null,oe=b,Me=R}return Pe&&oe==="text/plain"&&(Me=Pe,Pe=void 0),{action:de,method:$.toLowerCase(),encType:oe,formData:Pe,body:Me}}let ae=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],we=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Se=["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 ie(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),$={};for(let[de,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")$[de]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Pe=window[oe.__subType];if(typeof Pe=="function")try{let Me=new Pe(oe.message);Me.stack="",$[de]=Me}catch(Me){}}if($[de]==null){let Pe=new Error(oe.message);Pe.stack="",$[de]=Pe}}else $[de]=oe;return $}let q=c.createContext({isTransitioning:!1});q.displayName="ViewTransition";let ne=c.createContext(new Map);ne.displayName="Fetchers";let se=c["startTransition"],be=h["flushSync"],We=c["useId"];function $e(R){se?se(R):R()}function ht(R){be?be(R):R()}class Mt{constructor(){this.status="pending",this.promise=new Promise((z,$)=>{this.resolve=de=>{this.status==="pending"&&(this.status="resolved",z(de))},this.reject=de=>{this.status==="pending"&&(this.status="rejected",$(de))}})}}function lt(R){let{fallbackElement:z,router:$,future:de}=R,[oe,Pe]=c.useState($.state),[Me,Ie]=c.useState(),[qe,Ae]=c.useState({isTransitioning:!1}),[Qe,I]=c.useState(),[V,re]=c.useState(),[le,Ve]=c.useState(),Fe=c.useRef(new Map),{v7_startTransition:D}=de||{},W=c.useCallback(Ke=>{D?$e(Ke):Ke()},[D]),pe=c.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Ut,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=$.window==null||$.window.document==null||typeof $.window.document.startViewTransition!="function";if(!$r||Ha){Ut?ht(()=>Pe(Ke)):W(()=>Pe(Ke));return}if(Ut){ht(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let la=$.window.document.startViewTransition(()=>{ht(()=>Pe(Ke))});la.finished.finally(()=>{ht(()=>{I(void 0),re(void 0),Ie(void 0),Ae({isTransitioning:!1})})}),ht(()=>re(la));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Ie(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[$.window,V,Qe,Fe,W]);c.useLayoutEffect(()=>$.subscribe(pe),[$,pe]),c.useEffect(()=>{qe.isTransitioning&&!qe.flushSync&&I(new Mt)},[qe]),c.useEffect(()=>{if(Qe&&Me&&$.window){let Ke=Me,Ct=Qe.promise,kt=$.window.document.startViewTransition(()=>na(this,null,function*(){W(()=>Pe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),re(void 0),Ie(void 0),Ae({isTransitioning:!1})}),re(kt)}},[W,Me,Qe,$.window]),c.useEffect(()=>{Qe&&Me&&oe.location.key===Me.location.key&&Qe.resolve()},[Qe,V,oe.location,Me]),c.useEffect(()=>{!qe.isTransitioning&&le&&(Ie(le.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}),Ve(void 0))},[qe.isTransitioning,le]),c.useEffect(()=>{s.UNSAFE_warning(z==null||!$.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=c.useMemo(()=>({createHref:$.createHref,encodeLocation:$.encodeLocation,go:Ke=>$.navigate(Ke),push:(Ke,Ct,kt)=>$.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>$.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[$]),He=$.basename||"/",ut=c.useMemo(()=>({router:$,navigator:ke,static:!1,basename:He}),[$,ke,He]),Je=c.useMemo(()=>({v7_relativeSplatPath:$.future.v7_relativeSplatPath}),[$.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ut},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},c.createElement(ne.Provider,{value:Fe.current},c.createElement(q.Provider,{value:qe},c.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||$.future.v7_partialHydration?c.createElement(yt,{routes:$.routes,future:$.future,state:oe}):z))))),null)}let yt=c.memo(ct);function ct(R){let{routes:z,future:$,state:de}=R;return l.UNSAFE_useRoutesImpl(z,void 0,de,$)}function tt(R){let{basename:z,children:$,future:de,window:oe}=R,Pe=c.useRef();Pe.current==null&&(Pe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Me=Pe.current,[Ie,qe]=c.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ae}=de||{},Qe=c.useCallback(I=>{Ae&&se?se(()=>qe(I)):qe(I)},[qe,Ae]);return c.useLayoutEffect(()=>Me.listen(Qe),[Me,Qe]),c.createElement(l.Router,{basename:z,children:$,location:Ie.location,navigationType:Ie.action,navigator:Me,future:de})}function Ce(R){let{basename:z,children:$,future:de,window:oe}=R,Pe=c.useRef();Pe.current==null&&(Pe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Me=Pe.current,[Ie,qe]=c.useState({action:Me.action,location:Me.location}),{v7_startTransition:Ae}=de||{},Qe=c.useCallback(I=>{Ae&&se?se(()=>qe(I)):qe(I)},[qe,Ae]);return c.useLayoutEffect(()=>Me.listen(Qe),[Me,Qe]),c.createElement(l.Router,{basename:z,children:$,location:Ie.location,navigationType:Ie.action,navigator:Me,future:de})}function wt(R){let{basename:z,children:$,future:de,history:oe}=R,[Pe,Me]=c.useState({action:oe.action,location:oe.location}),{v7_startTransition:Ie}=de||{},qe=c.useCallback(Ae=>{Ie&&se?se(()=>Me(Ae)):Me(Ae)},[Me,Ie]);return c.useLayoutEffect(()=>oe.listen(qe),[oe,qe]),c.createElement(l.Router,{basename:z,children:$,location:Pe.location,navigationType:Pe.action,navigator:oe,future:de})}wt.displayName="unstable_HistoryRouter";let It=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",qt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jt=c.forwardRef(function(z,$){let{onClick:de,relative:oe,reloadDocument:Pe,replace:Me,state:Ie,target:qe,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,ae),{basename:re}=c.useContext(l.UNSAFE_NavigationContext),le,Ve=!1;if(typeof Ae=="string"&&qt.test(Ae)&&(le=Ae,It))try{let pe=new URL(window.location.href),ke=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(ke.pathname,re);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=Nr(Ae,{replace:Me,state:Ie,target:qe,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function W(pe){de&&de(pe),pe.defaultPrevented||D(pe)}return c.createElement("a",p({},V,{href:le||Fe,onClick:Ve||Pe?de:W,ref:$,target:qe}))});jt.displayName="Link";let tr=c.forwardRef(function(z,$){let{"aria-current":de="page",caseSensitive:oe=!1,className:Pe="",end:Me=!1,style:Ie,to:qe,unstable_viewTransition:Ae,children:Qe}=z,I=m(z,we),V=l.useResolvedPath(qe,{relative:I.relative}),re=l.useLocation(),le=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=c.useContext(l.UNSAFE_NavigationContext),D=le!=null&&ee(V)&&Ae===!0,W=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=re.pathname,ke=le&&le.navigation&&le.navigation.location?le.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,W=W.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=W!=="/"&&W.endsWith("/")?W.length-1:W.length,ut=pe===W||!Me&&pe.startsWith(W)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===W||!Me&&ke.startsWith(W)&&ke.charAt(W.length)==="/"),Ke={isActive:ut,isPending:Je,isTransitioning:D},Ct=ut?de:void 0,kt;typeof Pe=="function"?kt=Pe(Ke):kt=[Pe,ut?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Ut=typeof Ie=="function"?Ie(Ke):Ie;return c.createElement(jt,p({},I,{"aria-current":Ct,className:kt,ref:$,style:Ut,to:qe,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});tr.displayName="NavLink";let ur=c.forwardRef((R,z)=>{let{fetcherKey:$,navigate:de,reloadDocument:oe,replace:Pe,state:Me,method:Ie=g,action:qe,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,Se),le=_a(),Ve=Be(qe,{relative:Qe}),Fe=Ie.toLowerCase()==="get"?"get":"post",D=W=>{if(Ae&&Ae(W),W.defaultPrevented)return;W.preventDefault();let pe=W.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Ie;le(pe||W.currentTarget,{fetcherKey:$,method:ke,navigate:de,replace:Pe,state:Me,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return c.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Ae:D},re))});ur.displayName="Form";function wr(R){let{getKey:z,storageKey:$}=R;return xr({getKey:z,storageKey:$}),null}wr.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=c.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function Cr(R){let z=c.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function Nr(R,z){let{target:$,replace:de,state:oe,preventScrollReset:Pe,relative:Me,unstable_viewTransition:Ie}=z===void 0?{}:z,qe=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Me});return c.useCallback(I=>{if(Y(I,$)){I.preventDefault();let V=de!==void 0?de:l.createPath(Ae)===l.createPath(Qe);qe(R,{replace:V,state:oe,preventScrollReset:Pe,relative:Me,unstable_viewTransition:Ie})}},[Ae,qe,Qe,de,oe,$,R,Pe,Me,Ie])}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(P(R)),$=c.useRef(!1),de=l.useLocation(),oe=c.useMemo(()=>j(de.search,$.current?null:z.current),[de.search]),Pe=l.useNavigate(),Me=c.useCallback((Ie,qe)=>{let Ae=P(typeof Ie=="function"?Ie(oe):Ie);$.current=!0,Pe("?"+Ae,qe)},[Pe,oe]);return[oe,Me]}function fr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let Rr=0,Or=()=>"__"+String(++Rr)+"__";function _a(){let{router:R}=cr(ra.UseSubmit),{basename:z}=c.useContext(l.UNSAFE_NavigationContext),$=l.UNSAFE_useRouteId();return c.useCallback(function(de,oe){oe===void 0&&(oe={}),fr();let{action:Pe,method:Me,encType:Ie,formData:qe,body:Ae}=me(de,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Or();R.fetch(Qe,$,oe.action||Pe,{preventScrollReset:oe.preventScrollReset,formData:qe,body:Ae,formMethod:oe.method||Me,formEncType:oe.encType||Ie,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Pe,{preventScrollReset:oe.preventScrollReset,formData:qe,body:Ae,formMethod:oe.method||Me,formEncType:oe.encType||Ie,replace:oe.replace,state:oe.state,fromRouteId:$,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,$])}function Be(R,z){let{relative:$}=z===void 0?{}:z,{basename:de}=c.useContext(l.UNSAFE_NavigationContext),oe=c.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Pe]=oe.matches.slice(-1),Me=p({},l.useResolvedPath(R||".",{relative:$})),Ie=l.useLocation();if(R==null){Me.search=Ie.search;let qe=new URLSearchParams(Me.search);qe.has("index")&&qe.get("index")===""&&(qe.delete("index"),Me.search=qe.toString()?"?"+qe.toString():"")}return(!R||R===".")&&Pe.route.index&&(Me.search=Me.search?Me.search.replace(/^\?/,"?index&"):"?index"),de!=="/"&&(Me.pathname=Me.pathname==="/"?de:s.joinPaths([de,Me.pathname])),l.createPath(Me)}function at(R){var z;let{key:$}=R===void 0?{}:R,{router:de}=cr(ra.UseFetcher),oe=Cr(jr.UseFetcher),Pe=c.useContext(ne),Me=c.useContext(l.UNSAFE_RouteContext),Ie=(z=Me.matches[Me.matches.length-1])==null?void 0:z.route.id;Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Me||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Ie==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let qe=We?We():"",[Ae,Qe]=c.useState($||qe);$&&$!==Ae?Qe($):Ae||Qe(Or()),c.useEffect(()=>(de.getFetcher(Ae),()=>{de.deleteFetcher(Ae)}),[de,Ae]);let I=c.useCallback((W,pe)=>{Ie||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),de.fetch(Ae,Ie,W,pe)},[Ae,Ie,de]),V=_a(),re=c.useCallback((W,pe)=>{V(W,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),le=c.useMemo(()=>{let W=c.forwardRef((pe,ke)=>c.createElement(ur,p({},pe,{navigate:!1,fetcherKey:Ae,ref:ke})));return W.displayName="fetcher.Form",W},[Ae]),Ve=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Pe.get(Ae);return c.useMemo(()=>p({Form:le,submit:re,load:I},Ve,{data:Fe}),[le,re,I,Ve,Fe])}function mt(){let R=Cr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[$,de]=z;return p({},de,{key:$})})}let Wt="react-router-scroll-positions",Ht={};function xr(R){let{getKey:z,storageKey:$}=R===void 0?{}:R,{router:de}=cr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Pe}=Cr(jr.UseScrollRestoration),{basename:Me}=c.useContext(l.UNSAFE_NavigationContext),Ie=l.useLocation(),qe=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(Ie,qe):null)||Ie.key;Ht[Qe]=window.scrollY}try{sessionStorage.setItem($||Wt,JSON.stringify(Ht))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[$,z,Ae.state,Ie,qe])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem($||Wt);Qe&&(Ht=JSON.parse(Qe))}catch(Qe){}},[$]),c.useLayoutEffect(()=>{let Qe=z&&Me!=="/"?(V,re)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Me)||V.pathname}),re):z,I=de==null?void 0:de.enableScrollRestoration(Ht,()=>window.scrollY,Qe);return()=>I&&I()},[de,Me,z]),c.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Ie.hash){let Qe=document.getElementById(decodeURIComponent(Ie.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Pe!==!0&&window.scrollTo(0,0)}},[Ie,oe,Pe]))}function mr(R,z){let{capture:$}=z||{};c.useEffect(()=>{let de=$!=null?{capture:$}:void 0;return window.addEventListener("beforeunload",R,de),()=>{window.removeEventListener("beforeunload",R,de)}},[R,$])}function Yr(R,z){let{capture:$}=z||{};c.useEffect(()=>{let de=$!=null?{capture:$}:void 0;return window.addEventListener("pagehide",R,de),()=>{window.removeEventListener("pagehide",R,de)}},[R,$])}function N(R){let{when:z,message:$}=R,de=l.useBlocker(z);c.useEffect(()=>{de.state==="blocked"&&(window.confirm($)?setTimeout(de.proceed,0):de.reset())},[de,$]),c.useEffect(()=>{de.state==="blocked"&&!z&&de.reset()},[de,z])}function ee(R,z){z===void 0&&(z={});let $=c.useContext(q);$==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:de}=cr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!$.isTransitioning)return!1;let Pe=s.stripBasename($.currentLocation.pathname,de)||$.currentLocation.pathname,Me=s.stripBasename($.nextLocation.pathname,de)||$.nextLocation.pathname;return s.matchPath(oe.pathname,Me)!=null||s.matchPath(oe.pathname,Pe)!=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=tt,r.Form=ur,r.HashRouter=Ce,r.Link=jt,r.NavLink=tr,r.RouterProvider=lt,r.ScrollRestoration=wr,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=q,r.UNSAFE_useScrollRestoration=xr,r.createBrowserRouter=H,r.createHashRouter=ie,r.createSearchParams=P,r.unstable_HistoryRouter=wt,r.unstable_usePrompt=N,r.unstable_useViewTransitionState=ee,r.useBeforeUnload=mr,r.useFetcher=at,r.useFetchers=mt,r.useFormAction=Be,r.useLinkClickHandler=Nr,r.useSearchParams=ha,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var XT=Ue((rG,KT)=>{"use strict";KT.exports=GT()});var rr=Ue((aG,r5)=>{"use strict";var j_=Object.defineProperty,SW=Object.defineProperties,wW=Object.getOwnPropertyDescriptor,CW=Object.getOwnPropertyDescriptors,xW=Object.getOwnPropertyNames,F_=Object.getOwnPropertySymbols,l2=Object.prototype.hasOwnProperty,JT=Object.prototype.propertyIsEnumerable,i2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),B_=Math.pow,QT=(r,a,o)=>a in r?j_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nc=(r,a)=>{for(var o in a||(a={}))l2.call(a,o)&&QT(r,o,a[o]);if(F_)for(var o of F_(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)l2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&F_)for(var l of F_(r))a.indexOf(l)<0&&JT.call(r,l)&&(o[l]=r[l]);return o},TW=(r,a)=>{for(var o in a)j_(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))!l2.call(r,s)&&s!==o&&j_(r,s,{get:()=>a[s],enumerable:!(l=wW(a,s))||l.enumerable});return r},RW=r=>EW(j_({},"__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,C=g.done;Promise.resolve(b?h[0]:h).then(S=>b?l(c==="return"?c:"next",h[1]?{done:S.done,value:S.value}:S,p,m):p({value:S,done:C})).catch(S=>l("throw",S,p,m))}catch(S){m(S)}},s=c=>f[c]=h=>new Promise((p,m)=>l(c,h,p,m)),f={};return o=o.apply(r,a),f[i2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},AW=(r,a,o)=>(a=r[i2("asyncIterator")])?a.call(r):(r=r[i2("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:()=>bn,Server:()=>u2,Time:()=>Br,UUID:()=>ef,default:()=>VW,useStore:()=>H_});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=B_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=B_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=B_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/B_(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){s=s||"";let f=this.every(p=>{let m=Number(r(p,s.split(".")));return typeof m=="number"&&!isNaN(m)}),c=r(o,s.split(".")),h=r(l,s.split("."));if(f){if(c=Number(c),h=Number(h),c>h)return 1;if(c<h)return-1}else{if(c=String(c).replace(/(\d+)/g,p=>p.padStart(18,"0")),h=String(h).replace(/(\d+)/g,p=>p.padStart(18,"0")),c>h)return 1;if(c<h)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=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(""),ef=LW;ef.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");ef.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};ef.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 De.prototype.jmini(r),De=NW;De.prototype={};De.extend=function(r,a=De){for(var[o,l]of Object.entries(r))a.prototype[o]=l};De.expando="__jmini_"+ef();var Va=(r,a)=>(r.queue.push(a),s2(r),r),s2=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,s2(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[De.expando]||(De.is.element(l)||De.is.shadowRoot(l))&&(l[De.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,s2(r),r};De.extend({constructor:De,jmini:function(r){return this.src=r,this.srcType=De.is.what(r),this.queueProcess=!0,this.queue=[],OW(this,De.is.jmini(r)?r.get():De.is.element(r)?[r]:De.is.elements(r)?r:De.is.shadowRoot(r)?[r]:De.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});De.prototype[String(Symbol.iterator)]=[][Symbol.iterator];De.prototype.jmini.prototype=De.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(!(De.is.element(f)||De.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[c]=h}),s),o=(s,f)=>(De(f).for(c=>{if(s&&(De.is.element(c)||De.is.shadowRoot(c)))if(De.is.string(s)||De.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(De.is.element(s))c.appendChild(s);else{De.is.jmini(s)?s=s.get():De.is.element(s)?s=[s]:De.is.keyValueDictionary(s)&&(s=[De(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(De.is.string(c[0]))m.insertAdjacentHTML(h,c[0]);else{if(!m.parentNode)return;De(c[0]).for(g=>{c[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};De.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];De.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];De.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:c=ef(),target:h,callback:p,options:m}=s;return m=nc({passive:!0,capture:!1},m),this.for(g=>{if(!(De.is.element(g)||De.is.shadowRoot(g)))return;let{events:b}=g[De.expando];if(h){let C=p;p=S=>{if(S.target){if(De.is.string(h)){let k=S.target.closest(h);k&&(!k||C.call(k,S))}else if(De.is.elements(h)){for(let k of h)if(S.target==k)return C.call(k,S)}}}}if(b[c]){let C=b[c];g.removeEventListener(C.eventType,C.callback,C.options)}b[c]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=De.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[De.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&&De.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,De()),(De.is.element(c)||De.is.shadowRoot(c))&&(De.is.string(s)?f=c.querySelectorAll(s):De.is.element(c)&&De(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,...De(m).find(h).for(g=>g)])})),ac(this,De(f))})},parent:function(s){return Va(this,()=>{var f,c;let h=De(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;De.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let c=De(f);return ac(this,c)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=De.is.string(s)?s.split(" "):s;f&&De.is.element(f)&&f.classList.add(...c)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=De.is.string(s)?s.split(" "):s;f&&De.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(De.is.element(f))for(let[c,h]of Object.entries(s)){if(De.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&&De.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let c=this[0];return c&&De.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 De.is.element(this[0])?this[0].getBoundingClientRect():{}}})}De.flatArray=(r,a)=>{if(!De.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?De.flatArray(l,"-R"):[l]);return o};De.Stringify=JSON.stringify;De.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};De.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]};De.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};De.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});De.scope=r=>r();De.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});De.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 C of Object.entries(c)){let S=C[0],k=(a=C[1])!=null?a:"";if(S=="data"&&De.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else S=="for"?S="htmlFor":S=="tabindex"?S="tabIndex":S=="aria-label"&&(S="ariaLabel"),m[S]=k}if(f&&De(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&De(p).append(m),m};De.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};De.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};De.localStrage={set:(r,a)=>{localStorage.setItem(r,De.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return De.Objectify(a,a)}};De.deleteCookie=r=>{document.cookie=r+"=max-age=0"};De.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,c=Number(De(document.body).getStyleProperty("--sat").removeLetters()),h=Number(De(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}};De.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}};De.pending=(r,a)=>new Promise((o,l)=>{r(o),setTimeout(()=>{o(!0)},a)});De.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(De.is.keyValueDictionary(r)&&De.is.keyValueDictionary(o))for(let l in o)De.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),De.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return De.deepMerge(r,...a)};De.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()}};De.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};De.is={equal:function(r,a,o){return o==null||o?De.Stringify(r)===De.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===De},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 PW=r=>new Br.prototype.Time(r),Br=PW;Br.prototype={};var MW=function(r){Br.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)};De.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:Br,Time:MW,clone:function(){return Br(this)},set:function(r){this.value=r;let a=De.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=Br(r);return this.year==a.year},isSameMonth:function(r){let a=Br(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Br(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Br(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 Br(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Br(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Br(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Br(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Br(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Br(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||Br(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Br);Br.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Br};Br.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Br(a+" 00:00")};Br.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=Br(s).addYear(1):r=="month"?s=Br(s).addMonth(1):r=="week"?s=Br(s).addWeek(1):r=="day"?s=Br(s).addDate(1):r=="hours"?s=Br(s).addHours(1):r=="minutes"?s=Br(s).addMinutes(1):r=="seconds"&&(s=Br(s).addSeconds(1));return l};Br.prototype.Time.prototype=Br.prototype;var iu={},H_={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};De.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:zW,store:function(){H_.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(De.is.number(r))return clearInterval(r);let a=H_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};wo.get=r=>H_.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&&!De.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=De.Stringify(a.body||{}));let s=r;return De.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:ef(),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};De.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){De.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 S=!1;for(;!S;){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&&(S=L,s.releaseLock()),l(M,L)}})};try{for(var m=AW(p()),g,b,C;g=!(b=yield m.next()).done;g=!1){let S=b.value}}catch(S){C=[S]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(C)throw C[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return 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 C=a,{key:S,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:P}=C,j=kW(C,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(S);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,S];let Q=De.queryParams.set(nc({},P),String(this.url));m=yield fetch(Q,j).then(O=>Wa(this,null,function*(){return c=O.ok,h=O.status,p=O.statusText,g=O,k=="none"||k=="stream"?O:O[k]()})).catch(O=>{throw new Error(O)})}catch(C){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(C)||p),m={errorCode:String(C)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield De.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(C=>C==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 C=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:C,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 bn.prototype.Filer(r),bn=jW;bn.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};De.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}},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 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&&!De.is.string(m)&&(b=De.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},u2=UW;u2.getLocalIP=r=>{let a="";return De.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};u2.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"};De.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";De.is.string(r)?a=r:De.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(De(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});De.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});De.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}}};De.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}}};De.interval=wo;Zr.setDefaultHeaders=()=>({});var VW=De});var l5=Ue(V_=>{"use strict";(function(){"use strict";var r=dr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),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"),C=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(D){if(D===null||typeof D!="object")return null;var W=k&&D[k]||D[L];return typeof W=="function"?W:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(D){{for(var W=arguments.length,pe=new Array(W>1?W-1:0),ke=1;ke<W;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,W,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(W+="%s",pe=pe.concat([He]));var ut=pe.map(function(Je){return String(Je)});ut.unshift("Warning: "+W),Function.prototype.apply.call(console[D],console,ut)}}var F=!1,Q=!1,O=!1,te=!1,me=!1,ae;ae=Symbol.for("react.module.reference");function we(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||me||D===s||D===m||D===g||te||D===S||F||Q||O||typeof D=="object"&&D!==null&&(D.$$typeof===C||D.$$typeof===b||D.$$typeof===c||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ae||D.getModuleId!==void 0))}function Se(D,W,pe){var ke=D.displayName;if(ke)return ke;var He=W.displayName||W.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"&&P("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 W=D;return ge(W)+".Consumer";case c:var pe=D;return ge(pe._context)+".Provider";case p:return Se(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case C:{var He=D,ut=He._payload,Je=He._init;try{return H(Je(ut))}catch(Ke){return null}}}return null}var ie=Object.assign,fe=0,B,q,ne,Z,se,ye,be;function Oe(){}Oe.__reactDisabledLog=!0;function We(){{if(fe===0){B=console.log,q=console.info,ne=console.warn,Z=console.error,se=console.group,ye=console.groupCollapsed,be=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Oe,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function $e(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},D,{value:B}),info:ie({},D,{value:q}),warn:ie({},D,{value:ne}),error:ie({},D,{value:Z}),group:ie({},D,{value:se}),groupCollapsed:ie({},D,{value:ye}),groupEnd:ie({},D,{value:be})})}fe<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ht=Y.ReactCurrentDispatcher,Mt;function lt(D,W,pe){{if(Mt===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);Mt=ke&&ke[1]||""}return`
150
+ `+Mt+D}}var yt=!1,ct;{var tt=typeof WeakMap=="function"?WeakMap:Map;ct=new tt}function Ce(D,W){if(!D||yt)return"";{var pe=ct.get(D);if(pe!==void 0)return pe}var ke;yt=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ut;ut=ht.current,ht.current=null,We();try{if(W){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(sa){ke=sa}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(sa){ke=sa}D.call(Je.prototype)}}else{try{throw Error()}catch(sa){ke=sa}D()}}catch(sa){if(sa&&ke&&typeof sa.stack=="string"){for(var Ke=sa.stack.split(`
151
151
  `),Ct=ke.stack.split(`
152
152
  `),kt=Ke.length-1,Ut=Ct.length-1;kt>=1&&Ut>=0&&Ke[kt]!==Ct[Ut];)Ut--;for(;kt>=1&&Ut>=0;kt--,Ut--)if(Ke[kt]!==Ct[Ut]){if(kt!==1||Ut!==1)do if(kt--,Ut--,Ut<0||Ke[kt]!==Ct[Ut]){var $r=`
153
- `+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&ut.set(D,$r),$r}while(kt>=1&&Ut>=0);break}}}finally{yt=!1,ht.current=ct,$e(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",la=Ha?lt(Ha):"";return typeof D=="function"&&ut.set(D,la),la}function St(D,W,pe){return Ce(D,!1)}function It(D){var W=D.prototype;return!!(W&&W.isReactComponent)}function qt(D,W,pe){if(D==null)return"";if(typeof D=="function")return Ce(D,It(D));if(typeof D=="string")return lt(D);switch(D){case m:return lt("Suspense");case g:return lt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return St(D.render);case b:return qt(D.type,W,pe);case C:{var ke=D,He=ke._payload,ct=ke._init;try{return qt(ct(He),W,pe)}catch(Je){}}}return""}var jt=Object.prototype.hasOwnProperty,tr={},cr=Y.ReactDebugCurrentFrame;function Sr(D){if(D){var W=D._owner,pe=qt(D.type,D._source,W?W.type:null);cr.setExtraStackFrame(pe)}else cr.setExtraStackFrame(null)}function ra(D,W,pe,ke,He){{var ct=Function.call.bind(jt);for(var Je in D)if(ct(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](W,Je,ke,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(Sr(He),P("%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),Sr(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,Sr(He),P("Failed %s type: %s",pe,Ke.message),Sr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function ur(D){{var W=typeof Symbol=="function"&&Symbol.toStringTag,pe=W&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function Cr(D){try{return Nr(D),!1}catch(W){return!0}}function Nr(D){return""+D}function ha(D){if(Cr(D))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(D)),Nr(D)}var fr=Y.ReactCurrentOwner,Rr={key:!0,ref:!0,__self:!0,__source:!0},Or,_a,ze;ze={};function at(D){if(jt.call(D,"ref")){var W=Object.getOwnPropertyDescriptor(D,"ref").get;if(W&&W.isReactWarning)return!1}return D.ref!==void 0}function mt(D){if(jt.call(D,"key")){var W=Object.getOwnPropertyDescriptor(D,"key").get;if(W&&W.isReactWarning)return!1}return D.key!==void 0}function Wt(D,W){if(typeof D.ref=="string"&&fr.current&&W&&fr.current.stateNode!==W){var pe=H(fr.current.type);ze[pe]||(P('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(fr.current.type),D.ref),ze[pe]=!0)}}function Ht(D,W){{var pe=function(){Or||(Or=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",W))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function xr(D,W){{var pe=function(){_a||(_a=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",W))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var mr=function(D,W,pe,ke,He,ct,Je){var Ke={$$typeof:a,type:D,key:W,ref:pe,props:Je,_owner:ct};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,W,pe,ke,He){{var ct,Je={},Ke=null,Ct=null;pe!==void 0&&(ha(pe),Ke=""+pe),mt(W)&&(ha(W.key),Ke=""+W.key),at(W)&&(Ct=W.ref,Wt(W,He));for(ct in W)jt.call(W,ct)&&!Rr.hasOwnProperty(ct)&&(Je[ct]=W[ct]);if(D&&D.defaultProps){var kt=D.defaultProps;for(ct in kt)Je[ct]===void 0&&(Je[ct]=kt[ct])}if(Ke||Ct){var Ut=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Ht(Je,Ut),Ct&&xr(Je,Ut)}return mr(D,Ke,Ct,He,ke,fr.current,Je)}}var N=Y.ReactCurrentOwner,ee=Y.ReactDebugCurrentFrame;function R(D){if(D){var W=D._owner,pe=qt(D.type,D._source,W?W.type:null);ee.setExtraStackFrame(pe)}else ee.setExtraStackFrame(null)}var B;B=!1;function $(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function de(){{if(N.current){var D=H(N.current.type);if(D)return`
153
+ `+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&ct.set(D,$r),$r}while(kt>=1&&Ut>=0);break}}}finally{yt=!1,ht.current=ut,$e(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",la=Ha?lt(Ha):"";return typeof D=="function"&&ct.set(D,la),la}function wt(D,W,pe){return Ce(D,!1)}function It(D){var W=D.prototype;return!!(W&&W.isReactComponent)}function qt(D,W,pe){if(D==null)return"";if(typeof D=="function")return Ce(D,It(D));if(typeof D=="string")return lt(D);switch(D){case m:return lt("Suspense");case g:return lt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return wt(D.render);case b:return qt(D.type,W,pe);case C:{var ke=D,He=ke._payload,ut=ke._init;try{return qt(ut(He),W,pe)}catch(Je){}}}return""}var jt=Object.prototype.hasOwnProperty,tr={},ur=Y.ReactDebugCurrentFrame;function wr(D){if(D){var W=D._owner,pe=qt(D.type,D._source,W?W.type:null);ur.setExtraStackFrame(pe)}else ur.setExtraStackFrame(null)}function ra(D,W,pe,ke,He){{var ut=Function.call.bind(jt);for(var Je in D)if(ut(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](W,Je,ke,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(wr(He),P("%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),wr(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,wr(He),P("Failed %s type: %s",pe,Ke.message),wr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function cr(D){{var W=typeof Symbol=="function"&&Symbol.toStringTag,pe=W&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function Cr(D){try{return Nr(D),!1}catch(W){return!0}}function Nr(D){return""+D}function ha(D){if(Cr(D))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",cr(D)),Nr(D)}var fr=Y.ReactCurrentOwner,Rr={key:!0,ref:!0,__self:!0,__source:!0},Or,_a,Be;Be={};function at(D){if(jt.call(D,"ref")){var W=Object.getOwnPropertyDescriptor(D,"ref").get;if(W&&W.isReactWarning)return!1}return D.ref!==void 0}function mt(D){if(jt.call(D,"key")){var W=Object.getOwnPropertyDescriptor(D,"key").get;if(W&&W.isReactWarning)return!1}return D.key!==void 0}function Wt(D,W){if(typeof D.ref=="string"&&fr.current&&W&&fr.current.stateNode!==W){var pe=H(fr.current.type);Be[pe]||(P('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(fr.current.type),D.ref),Be[pe]=!0)}}function Ht(D,W){{var pe=function(){Or||(Or=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",W))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function xr(D,W){{var pe=function(){_a||(_a=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",W))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var mr=function(D,W,pe,ke,He,ut,Je){var Ke={$$typeof:a,type:D,key:W,ref:pe,props:Je,_owner:ut};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,W,pe,ke,He){{var ut,Je={},Ke=null,Ct=null;pe!==void 0&&(ha(pe),Ke=""+pe),mt(W)&&(ha(W.key),Ke=""+W.key),at(W)&&(Ct=W.ref,Wt(W,He));for(ut in W)jt.call(W,ut)&&!Rr.hasOwnProperty(ut)&&(Je[ut]=W[ut]);if(D&&D.defaultProps){var kt=D.defaultProps;for(ut in kt)Je[ut]===void 0&&(Je[ut]=kt[ut])}if(Ke||Ct){var Ut=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Ht(Je,Ut),Ct&&xr(Je,Ut)}return mr(D,Ke,Ct,He,ke,fr.current,Je)}}var N=Y.ReactCurrentOwner,ee=Y.ReactDebugCurrentFrame;function R(D){if(D){var W=D._owner,pe=qt(D.type,D._source,W?W.type:null);ee.setExtraStackFrame(pe)}else ee.setExtraStackFrame(null)}var z;z=!1;function $(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function de(){{if(N.current){var D=H(N.current.type);if(D)return`
154
154
 
155
155
  Check the render method of \``+D+"`."}return""}}function oe(D){{if(D!==void 0){var W=D.fileName.replace(/^.*[\\\/]/,""),pe=D.lineNumber;return`
156
156
 
157
157
  Check your code at `+W+":"+pe+"."}return""}}var Pe={};function Me(D){{var W=de();if(!W){var pe=typeof D=="string"?D:D.displayName||D.name;pe&&(W=`
158
158
 
159
- Check the top-level render call using <`+pe+">.")}return W}}function Ie(D,W){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Me(W);if(Pe[pe])return;Pe[pe]=!0;var ke="";D&&D._owner&&D._owner!==N.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),P('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 qe(D,W){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];$(ke)&&Ie(ke,W)}else if($(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ct=He.call(D),Je;!(Je=ct.next()).done;)$(Je.value)&&Ie(Je.value,W)}}}function Ae(D){{var W=D.type;if(W==null||typeof W=="string")return;var pe;if(typeof W=="function")pe=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===b))pe=W.propTypes;else return;if(pe){var ke=H(W);ra(pe,D.props,"prop",ke,D)}else if(W.PropTypes!==void 0&&!B){B=!0;var He=H(W);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var W=Object.keys(D.props),pe=0;pe<W.length;pe++){var ke=W[pe];if(ke!=="children"&&ke!=="key"){R(D),P("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),P("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,W,pe,ke,He,ct){{var Je=Se(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+=de();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,P("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 Ut=Yr(D,W,pe,He,ct);if(Ut==null)return Ut;if(Je){var $r=W.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)qe($r[Ha],D);Object.freeze&&Object.freeze($r)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else qe($r,D)}if(jt.call(W,"key")){var la=H(D),sa=Object.keys(W).filter(function(qn){return qn!=="key"}),Ga=sa.length>0?"{key: someKey, "+sa.join(": ..., ")+": ...}":"{key: someKey}";if(!I[la+Ga]){var At=sa.length>0?"{"+sa.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
159
+ Check the top-level render call using <`+pe+">.")}return W}}function Ie(D,W){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Me(W);if(Pe[pe])return;Pe[pe]=!0;var ke="";D&&D._owner&&D._owner!==N.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),P('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 qe(D,W){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];$(ke)&&Ie(ke,W)}else if($(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ut=He.call(D),Je;!(Je=ut.next()).done;)$(Je.value)&&Ie(Je.value,W)}}}function Ae(D){{var W=D.type;if(W==null||typeof W=="string")return;var pe;if(typeof W=="function")pe=W.propTypes;else if(typeof W=="object"&&(W.$$typeof===p||W.$$typeof===b))pe=W.propTypes;else return;if(pe){var ke=H(W);ra(pe,D.props,"prop",ke,D)}else if(W.PropTypes!==void 0&&!z){z=!0;var He=H(W);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof W.getDefaultProps=="function"&&!W.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var W=Object.keys(D.props),pe=0;pe<W.length;pe++){var ke=W[pe];if(ke!=="children"&&ke!=="key"){R(D),P("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),P("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,W,pe,ke,He,ut){{var Je=we(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+=de();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,P("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 Ut=Yr(D,W,pe,He,ut);if(Ut==null)return Ut;if(Je){var $r=W.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)qe($r[Ha],D);Object.freeze&&Object.freeze($r)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else qe($r,D)}if(jt.call(W,"key")){var la=H(D),sa=Object.keys(W).filter(function(Wn){return Wn!=="key"}),Ga=sa.length>0?"{key: someKey, "+sa.join(": ..., ")+": ...}":"{key: someKey}";if(!I[la+Ga]){var At=sa.length>0?"{"+sa.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
160
160
  let props = %s;
161
161
  <%s {...props} />
162
162
  React keys must be passed directly to JSX without using spread:
163
163
  let props = %s;
164
- <%s key={someKey} {...props} />`,Ga,la,At,la),I[la+Ga]=!0}}return D===l?Qe(Ut):Ae(Ut),Ut}}function re(D,W,pe){return V(D,W,pe,!0)}function le(D,W,pe){return V(D,W,pe,!1)}var Ve=le,Fe=re;U_.Fragment=l,U_.jsx=Ve,U_.jsxs=Fe})()});var Rt=Ue((fG,sT)=>{"use strict";sT.exports=lT()});var cE={};Td(cE,{api:()=>ko,config:()=>kY,counter:()=>PY,dom:()=>EY,findIconDefinition:()=>DY,icon:()=>LY,layer:()=>NY,library:()=>TY,noAuto:()=>xY,parse:()=>RY,text:()=>OY,toHtml:()=>AY});function uT(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 _t(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?uT(Object(o),!0).forEach(function(l){fn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):uT(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function eg(r){"@babel/helpers - typeof";return eg=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},eg(r)}function $W(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function fT(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 GW(r,a,o){return a&&fT(r.prototype,a),o&&fT(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 k2(r,a){return XW(r)||JW(r,a)||IT(r,a)||eq()}function em(r){return KW(r)||QW(r)||IT(r)||ZW()}function KW(r){if(Array.isArray(r))return h2(r)}function XW(r){if(Array.isArray(r))return r}function QW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function JW(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 IT(r,a){if(r){if(typeof r=="string")return h2(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 h2(r,a)}}function h2(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 ZW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
164
+ <%s key={someKey} {...props} />`,Ga,la,At,la),I[la+Ga]=!0}}return D===l?Qe(Ut):Ae(Ut),Ut}}function re(D,W,pe){return V(D,W,pe,!0)}function le(D,W,pe){return V(D,W,pe,!1)}var Ve=le,Fe=re;V_.Fragment=l,V_.jsx=Ve,V_.jsxs=Fe})()});var Rt=Ue((fG,s5)=>{"use strict";s5.exports=l5()});var uE={};Td(uE,{api:()=>ko,config:()=>kY,counter:()=>PY,dom:()=>EY,findIconDefinition:()=>DY,icon:()=>LY,layer:()=>NY,library:()=>TY,noAuto:()=>xY,parse:()=>RY,text:()=>OY,toHtml:()=>AY});function c5(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 _t(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?c5(Object(o),!0).forEach(function(l){fn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):c5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function tg(r){"@babel/helpers - typeof";return tg=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},tg(r)}function $W(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function f5(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 GW(r,a,o){return a&&f5(r.prototype,a),o&&f5(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 k2(r,a){return XW(r)||JW(r,a)||I5(r,a)||eq()}function em(r){return KW(r)||QW(r)||I5(r)||ZW()}function KW(r){if(Array.isArray(r))return h2(r)}function XW(r){if(Array.isArray(r))return r}function QW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function JW(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,c,h;try{for(o=o.call(r);!(s=(c=o.next()).done)&&(l.push(c.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function I5(r,a){if(r){if(typeof r=="string")return h2(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 h2(r,a)}}function h2(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 ZW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
165
165
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eq(){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 tm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ba]}})}function dq(r){var a=ya.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||!uc)){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 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 A2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function $T(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _q(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat($T(r[o]),'" ')},"").trim()}function ag(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function L2(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,") "),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 bq(r){var a=r.transform,o=r.width,l=o===void 0?m2:o,s=r.height,f=s===void 0?m2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&jT?p+="translate(".concat(a.x/ou-l/2,"em, ").concat(a.y/ou-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ou,"em), calc(-50% + ").concat(a.y/ou,"em)) "):p+="translate(".concat(a.x/ou,"em, ").concat(a.y/ou,"em) "),p+="scale(".concat(a.size/ou*(a.flipX?-1:1),", ").concat(a.size/ou*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function GT(){var r=HT,a=UT,o=xt.cssPrefix,l=xt.replacementClass,s=yq;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 u2(){xt.autoAddCss&&!gT&&(mq(GT()),gT=!0)}function Cq(r){uc&&(tg?setTimeout(r,0):KT.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"?$T(r):"<".concat(a," ").concat(_q(l),">").concat(f.map(rm).join(""),"</").concat(a,">")}function bT(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 _2(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 yT(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 g2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=yT(a);typeof Gl.hooks.addPack=="function"&&!s?Gl.hooks.addPack(r,yT(a)):Gl.styles[r]=_t(_t({},Gl.styles[r]||{}),f),r==="fas"&&g2("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 O2(r,a){return(XT[r]||{})[a]}function Nq(r,a){return(QT[r]||{})[a]}function rf(r,a){return(eE[r]||{})[a]}function rE(r){return JT[r]||{prefix:null,iconName:null}}function Oq(r){var a=ZT[r],o=O2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return N2}function ng(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Kh[l][r],f=Xh[l][r]||Xh[l][s],u=r in Gl.styles?r:null;return f||u||null}function og(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,Ba,"".concat(xt.cssPrefix,"-").concat(Ba)),a),u=null,h=ba;(r.includes(f[ba])||r.some(function(m){return wT[ba].includes(m)}))&&(h=ba),(r.includes(f[Ba])||r.some(function(m){return wT[Ba].includes(m)}))&&(h=Ba);var p=r.reduce(function(m,g){var b=Lq(xt.cssPrefix,g);if(Od[g]?(g=Rq[h].includes(g)?oq[h][g]:g,u=g,m.prefix=g):Dq[h].indexOf(g)>-1?(u=g,m.prefix=ng(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ba]&&g!==f[Ba]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var C=u==="fa"?rE(m.iconName):{},w=rf(m.prefix,m.iconName);C.prefix&&(u=null),m.iconName=C.iconName||w||m.iconName,m.prefix=C.prefix||m.prefix,m.prefix==="far"&&!Od.far&&Od.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},P2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Ba&&(Od.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=rf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Iq(r,a){var o=a.mixoutsTo;return ST=r,Pd={},Object.keys(Md).forEach(function(l){Mq.indexOf(l)===-1&&delete Md[l]}),ST.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),eg(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){Pd[u]||(Pd[u]=[]),Pd[u].push(f[u])})}l.provides&&l.provides(Md)}),o}function b2(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(u){a=u.apply(null,[a].concat(l))}),a}function nf(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 cc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Md[r]?Md[r].apply(null,a):void 0}function y2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=rf(o,a)||a,bT(aE.definitions,o,a)||bT(Gl.styles,o,a)}function ig(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(uc){var l=ya.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,u=r.transform;if(L2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=ag(_t(_t({},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 Uq(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:_t(_t({},s),{},{id:u}),children:l}]}]}function M2(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,C=r.watchable,w=C===void 0?!1:C,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",P=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ae){return b.classes.indexOf(ae)===-1}).filter(function(ae){return ae!==""||!!ae}).concat(b.classes).join(" "),j={children:[],attributes:_t(_t({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:P,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[af]=""),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:u,symbol:h,styles:_t(_t({},F),b.styles)}),O=l.found&&o.found?cc("generateAbstractMask",Q)||{children:[],attributes:{}}:cc("generateAbstractIcon",Q)||{children:[],attributes:{}},te=O.children,me=O.attributes;return Q.children=te,Q.attributes=me,h?Uq(Q):Hq(Q)}function CT(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=_t(_t(_t({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[af]="");var g=_t({},u.styles);L2(s)&&(g.transform=bq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=ag(g);b.length>0&&(m.style=b);var C=[];return C.push({tag:"span",attributes:m,children:[a]}),f&&C.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),C}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=ag(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 w2(r){var a=r[0],o=r[1],l=r.slice(4),s=k2(l,1),f=s[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function qq(r,a){!VT&&!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=lu()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:cc("missingIconAbstract")||{}};if(o==="fa"){var u=rE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&d2[a]&&d2[a][r]){var h=d2[a][r];return l(w2(h))}qq(r,a),l(_t(_t({},Wq),{},{icon:xt.showMissingIcons&&r?cc("missingIconAbstract")||{}:{}}))})}function kT(r){var a=r.getAttribute?r.getAttribute(af):null;return typeof a=="string"}function $q(r){var a=r.getAttribute?r.getAttribute(E2):null,o=r.getAttribute?r.getAttribute(R2):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 Z_.replace;var r=Z_[xt.autoReplaceSvg];return r||Z_.replace}function Xq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function Qq(r){return ya.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 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(oE(u,{ceFn:l}))}),s}function Jq(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function TT(r){r()}function iE(r,a){var o=typeof a=="function"?a:J_;if(r.length===0)o();else{var l=TT;xt.mutateApproach===aq&&(l=iu.requestAnimationFrame||TT),l(function(){var s=Kq(),f=I2.begin("mutate");r.map(s),f(),o()})}}function lE(){B2=!0}function x2(){B2=!1}function ET(r){if(mT&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?J_:a,l=r.nodeCallback,s=l===void 0?J_:l,f=r.pseudoElementsCallback,u=f===void 0?J_:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;rg=new mT(function(m){if(!B2){var g=lu();Bd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!kT(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"&&kT(b.target)&&~uq.indexOf(b.attributeName))if(b.attributeName==="class"&&$q(b.target)){var C=og(A2(b.target)),w=C.prefix,k=C.iconName;b.target.setAttribute(E2,w||g),k&&b.target.setAttribute(R2,k)}else Gq(b.target)&&s(b.target)})}}),uc&&rg.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zq(){rg&&rg.disconnect()}function eY(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 tY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=og(A2(r));return s.prefix||(s.prefix=lu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Nq(s.prefix,r.innerText)||O2(s.prefix,_2(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 RT(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,u=rY(r),h=b2("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:u}},h)}function sE(r){var a=xt.autoReplaceSvg==="nest"?RT(r,{styleParser:!1}):RT(r);return~a.extra.classes.indexOf(WT)?cc("generateLayersText",r,a):cc("generateSvgReplacementMutation",r,a)}function DT(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!uc)return Promise.resolve();var o=ya.documentElement.classList,l=function(b){return o.add("".concat(vT,"-").concat(b))},s=function(b){return o.remove("".concat(vT,"-").concat(b))},f=xt.autoFetchSvg?su:D2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(nY));f.includes("fa")||f.push("fa");var u=[".".concat(WT,":not([").concat(af,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(af,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(u))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=I2.begin("onTree"),m=h.reduce(function(g,b){try{var C=sE(b);C&&g.push(C)}catch(w){VT||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(C){iE(C,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(C){p(),b(C)})})}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:y2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:y2(s||{})),r(l,_t(_t({},o),{},{mask:s}))}}function pY(r){var a=r.replace(dY,""),o=Tq(a,0),l=o>=AT[0]&&o<=AT[1],s=a.length===2?a[0]===a[1]:!1;return{value:_2(s?a[0]:a),isSecondary:l||s}}function LT(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),u=f.filter(function(te){return te.getAttribute(v2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(lq),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"),C=~["Sharp"].indexOf(p[2])?Ba:ba,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Xh[C][p[2].toLowerCase()]:sq[C][m],k=pY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),P=O2(w,L),j=P;if(Y){var F=Oq(L);F.iconName&&F.prefix&&(P=F.iconName,w=F.prefix)}if(P&&!M&&(!u||u.getAttribute(E2)!==w||u.getAttribute(R2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Q=aY(),O=Q.extra;O.attributes[v2]=a,S2(P,w).then(function(te){var me=M2(_t(_t({},Q),{},{icons:{main:te,mask:P2()},prefix:w,iconName:j,extra:O,watchable:!0})),ae=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ae,r.firstChild):r.appendChild(ae),ae.outerHTML=me.map(function(Se){return rm(Se)}).join(`
167
- `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function hY(r){return Promise.all([LT(r,"::before"),LT(r,"::after")])}function mY(r){return r.parentNode!==document.head&&!~nq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(v2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function NT(r){if(uc)return new Promise(function(a,o){var l=Bd(r.querySelectorAll("*")).filter(mY).map(hY),s=I2.begin("searchPseudoElements");lE(),Promise.all(l).then(function(){s(),x2(),a()}).catch(function(){s(),x2(),o()})})}function MT(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 bY(r){return r.tag==="g"?r.children:[r]}var dT,T2,BT,zT,FT,tq,pT,hT,iu,ya,mT,V_,mG,uc,jT,W_,q_,Y_,$_,G_,lc,m2,HT,UT,af,v2,rq,E2,R2,vT,aq,nq,VT,ba,Ba,D2,Kh,Xh,Qh,oq,iq,WT,lq,sq,qT,cq,uq,tf,Jh,fq,$h,_T,YT,Id,xt,Gh,ou,Cs,vq,yq,gT,wq,sc,Gl,KT,Sq,tg,xq,f2,K_,X_,Q_,Od,Eq,Rq,N2,XT,QT,JT,ZT,eE,Dq,tE,P2,wT,Pq,ST,Pd,Md,Mq,aE,Bq,zq,Fq,ko,jq,d2,Wq,xT,C2,Yh,Yq,nE,I2,J_,Z_,B2,rg,nY,su,lY,sY,cY,uY,fY,dY,AT,vY,OT,_Y,PT,gY,p2,yY,wY,SY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,PY,uE=xV(()=>{dT=function(){},T2={},BT={},zT=null,FT={mark:dT,measure:dT};try{typeof window!="undefined"&&(T2=window),typeof document!="undefined"&&(BT=document),typeof MutationObserver!="undefined"&&(zT=MutationObserver),typeof performance!="undefined"&&(FT=performance)}catch(r){}tq=T2.navigator||{},pT=tq.userAgent,hT=pT===void 0?"":pT,iu=T2,ya=BT,mT=zT,V_=FT,mG=!!iu.document,uc=!!ya.documentElement&&!!ya.head&&typeof ya.addEventListener=="function"&&typeof ya.createElement=="function",jT=~hT.indexOf("MSIE")||~hT.indexOf("Trident/"),lc="___FONT_AWESOME___",m2=16,HT="fa",UT="svg-inline--fa",af="data-fa-i2svg",v2="data-fa-pseudo-element",rq="data-fa-pseudo-element-pending",E2="data-prefix",R2="data-icon",vT="fontawesome-i2svg",aq="async",nq=["HTML","HEAD","STYLE","SCRIPT"],VT=function(){try{return!1}catch(r){return!1}}(),ba="classic",Ba="sharp",D2=[ba,Ba];Kh=tm((W_={},fn(W_,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(W_,Ba,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),W_)),Xh=tm((q_={},fn(q_,ba,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),fn(q_,Ba,{solid:"fass",regular:"fasr",light:"fasl"}),q_)),Qh=tm((Y_={},fn(Y_,ba,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),fn(Y_,Ba,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Y_)),oq=tm(($_={},fn($_,ba,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),fn($_,Ba,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),$_)),iq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,WT="fa-layers-text",lq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sq=tm((G_={},fn(G_,ba,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),fn(G_,Ba,{900:"fass",400:"fasr",300:"fasl"}),G_)),qT=[1,2,3,4,5,6,7,8,9,10],cq=qT.concat([11,12,13,14,15,16,17,18,19,20]),uq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],tf={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jh=new Set;Object.keys(Xh[ba]).map(Jh.add.bind(Jh));Object.keys(Xh[Ba]).map(Jh.add.bind(Jh));fq=[].concat(D2,em(Jh),["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",tf.GROUP,tf.SWAP_OPACITY,tf.PRIMARY,tf.SECONDARY]).concat(qT.map(function(r){return"".concat(r,"x")})).concat(cq.map(function(r){return"w-".concat(r)})),$h=iu.FontAwesomeConfig||{};ya&&typeof ya.querySelector=="function"&&(_T=[["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"]],_T.forEach(function(r){var a=k2(r,2),o=a[0],l=a[1],s=pq(dq(o));s!=null&&($h[l]=s)}));YT={styleDefault:"solid",familyDefault:"classic",cssPrefix:HT,replacementClass:UT,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$h.familyPrefix&&($h.cssPrefix=$h.familyPrefix);Id=_t(_t({},YT),$h);Id.autoReplaceSvg||(Id.observeMutations=!1);xt={};Object.keys(YT).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Id[r]=o,Gh.forEach(function(l){return l(xt)})},get:function(){return Id[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Id.cssPrefix=a,Gh.forEach(function(o){return o(xt)})},get:function(){return Id.cssPrefix}});iu.FontAwesomeConfig=xt;Gh=[];ou=m2,Cs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};vq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";yq=`:root, :host {
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[ba]}})}function dq(r){var a=ya.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=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],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=f)}return ya.head.insertBefore(a,l),r}}function Zh(){for(var r=12,a="";r-- >0;)a+=vq[Math.random()*62|0];return a}function zd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function A2(r){return r.classList?zd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function $5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _q(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat($5(r[o]),'" ')},"").trim()}function ng(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function L2(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?m2:o,s=r.height,f=s===void 0?m2: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 c2(){xt.autoAddCss&&!g5&&(mq(G5()),g5=!0)}function Cq(r){cu&&(rg?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 _2(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 g2(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 Gl.hooks.addPack=="function"&&!s?Gl.hooks.addPack(r,y5(a)):Gl.styles[r]=_t(_t({},Gl.styles[r]||{}),f),r==="fas"&&g2("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 O2(r,a){return(X5[r]||{})[a]}function Nq(r,a){return(Q5[r]||{})[a]}function rf(r,a){return(eE[r]||{})[a]}function rE(r){return J5[r]||{prefix:null,iconName:null}}function Oq(r){var a=Z5[r],o=O2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lc(){return N2}function og(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Kh[l][r],f=Xh[l][r]||Xh[l][s],c=r in Gl.styles?r:null;return f||c||null}function ig(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),c=null,h=ba;(r.includes(f[ba])||r.some(function(m){return S5[ba].includes(m)}))&&(h=ba),(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(Od[g]?(g=Rq[h].includes(g)?oq[h][g]:g,c=g,m.prefix=g):Dq[h].indexOf(g)>-1?(c=g,m.prefix=og(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 C=c==="fa"?rE(m.iconName):{},S=rf(m.prefix,m.iconName);C.prefix&&(c=null),m.iconName=C.iconName||S||m.iconName,m.prefix=C.prefix||m.prefix,m.prefix==="far"&&!Od.far&&Od.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},P2());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&&(Od.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=rf(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(Md).forEach(function(l){Mq.indexOf(l)===-1&&delete Md[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]),tg(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(Md)}),o}function b2(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 nf(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 Md[r]?Md[r].apply(null,a):void 0}function y2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lc();if(a)return a=rf(o,a)||a,b5(aE.definitions,o,a)||b5(Gl.styles,o,a)}function lg(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=ya.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(L2(c)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=ng(_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,C=r.watchable,S=C===void 0?!1:C,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",P=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ae){return b.classes.indexOf(ae)===-1}).filter(function(ae){return ae!==""||!!ae}).concat(b.classes).join(" "),j={children:[],attributes:_t(_t({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:P,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")}:{};S&&(j.attributes[af]=""),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)}),O=l.found&&o.found?uu("generateAbstractMask",Q)||{children:[],attributes:{}}:uu("generateAbstractIcon",Q)||{children:[],attributes:{}},te=O.children,me=O.attributes;return Q.children=te,Q.attributes=me,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[af]="");var g=_t({},c.styles);L2(s)&&(g.transform=bq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=ng(g);b.length>0&&(m.style=b);var C=[];return C.push({tag:"span",attributes:m,children:[a]}),f&&C.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),C}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=ng(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 S2(r){var a=r[0],o=r[1],l=r.slice(4),s=k2(l,1),f=s[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.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 w2(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&&d2[a]&&d2[a][r]){var h=d2[a][r];return l(S2(h))}qq(r,a),l(_t(_t({},Wq),{},{icon:xt.showMissingIcons&&r?uu("missingIconAbstract")||{}:{}}))})}function k5(r){var a=r.getAttribute?r.getAttribute(af):null;return typeof a=="string"}function $q(r){var a=r.getAttribute?r.getAttribute(E2):null,o=r.getAttribute?r.getAttribute(R2):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 eg.replace;var r=eg[xt.autoReplaceSvg];return r||eg.replace}function Xq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function Qq(r){return ya.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 ya.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:Z_;if(r.length===0)o();else{var l=T5;xt.mutateApproach===aq&&(l=ic.requestAnimationFrame||T5),l(function(){var s=Kq(),f=I2.begin("mutate");r.map(s),f(),o()})}}function lE(){z2=!0}function x2(){z2=!1}function E5(r){if(m5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?Z_:a,l=r.nodeCallback,s=l===void 0?Z_:l,f=r.pseudoElementsCallback,c=f===void 0?Z_:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;ag=new m5(function(m){if(!z2){var g=lc();zd(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 C=ig(A2(b.target)),S=C.prefix,k=C.iconName;b.target.setAttribute(E2,S||g),k&&b.target.setAttribute(R2,k)}else Gq(b.target)&&s(b.target)})}}),cu&&ag.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zq(){ag&&ag.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=ig(A2(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)||O2(s.prefix,_2(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=zd(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=b2("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=ya.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:D2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(nY));f.includes("fa")||f.push("fa");var c=[".".concat(W5,":not([").concat(af,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(af,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=zd(r.querySelectorAll(c))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=I2.begin("onTree"),m=h.reduce(function(g,b){try{var C=sE(b);C&&g.push(C)}catch(S){V5||S.name==="MissingIcon"&&console.error(S)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(C){iE(C,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(C){p(),b(C)})})}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:y2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:y2(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:_2(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=zd(r.children),c=f.filter(function(te){return te.getAttribute(v2)===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"),C=~["Sharp"].indexOf(p[2])?za:ba,S=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Xh[C][p[2].toLowerCase()]:sq[C][m],k=pY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),P=O2(S,L),j=P;if(Y){var F=Oq(L);F.iconName&&F.prefix&&(P=F.iconName,S=F.prefix)}if(P&&!M&&(!c||c.getAttribute(E2)!==S||c.getAttribute(R2)!==j)){r.setAttribute(o,j),c&&r.removeChild(c);var Q=aY(),O=Q.extra;O.attributes[v2]=a,w2(P,S).then(function(te){var me=M2(_t(_t({},Q),{},{icons:{main:te,mask:P2()},prefix:S,iconName:j,extra:O,watchable:!0})),ae=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ae,r.firstChild):r.appendChild(ae),ae.outerHTML=me.map(function(we){return rm(we)}).join(`
167
+ `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function hY(r){return Promise.all([L5(r,"::before"),L5(r,"::after")])}function mY(r){return r.parentNode!==document.head&&!~nq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(v2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function N5(r){if(cu)return new Promise(function(a,o){var l=zd(r.querySelectorAll("*")).filter(mY).map(hY),s=I2.begin("searchPseudoElements");lE(),Promise.all(l).then(function(){s(),x2(),a()}).catch(function(){s(),x2(),o()})})}function M5(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 bY(r){return r.tag==="g"?r.children:[r]}var d5,T2,z5,B5,F5,tq,p5,h5,ic,ya,m5,W_,mG,cu,j5,q_,Y_,$_,G_,K_,lu,m2,H5,U5,af,v2,rq,E2,R2,v5,aq,nq,V5,ba,za,D2,Kh,Xh,Qh,oq,iq,W5,lq,sq,q5,uq,cq,tf,Jh,fq,$h,_5,Y5,Id,xt,Gh,oc,Cs,vq,yq,g5,Sq,su,Gl,K5,wq,rg,xq,f2,X_,Q_,J_,Od,Eq,Rq,N2,X5,Q5,J5,Z5,eE,Dq,tE,P2,S5,Pq,w5,Pd,Md,Mq,aE,zq,Bq,Fq,ko,jq,d2,Wq,x5,C2,Yh,Yq,nE,I2,Z_,eg,z2,ag,nY,sc,lY,sY,uY,cY,fY,dY,A5,vY,O5,_Y,P5,gY,p2,yY,SY,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,PY,cE=xV(()=>{d5=function(){},T2={},z5={},B5=null,F5={mark:d5,measure:d5};try{typeof window!="undefined"&&(T2=window),typeof document!="undefined"&&(z5=document),typeof MutationObserver!="undefined"&&(B5=MutationObserver),typeof performance!="undefined"&&(F5=performance)}catch(r){}tq=T2.navigator||{},p5=tq.userAgent,h5=p5===void 0?"":p5,ic=T2,ya=z5,m5=B5,W_=F5,mG=!!ic.document,cu=!!ya.documentElement&&!!ya.head&&typeof ya.addEventListener=="function"&&typeof ya.createElement=="function",j5=~h5.indexOf("MSIE")||~h5.indexOf("Trident/"),lu="___FONT_AWESOME___",m2=16,H5="fa",U5="svg-inline--fa",af="data-fa-i2svg",v2="data-fa-pseudo-element",rq="data-fa-pseudo-element-pending",E2="data-prefix",R2="data-icon",v5="fontawesome-i2svg",aq="async",nq=["HTML","HEAD","STYLE","SCRIPT"],V5=function(){try{return!1}catch(r){return!1}}(),ba="classic",za="sharp",D2=[ba,za];Kh=tm((q_={},fn(q_,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(q_,za,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),q_)),Xh=tm((Y_={},fn(Y_,ba,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),fn(Y_,za,{solid:"fass",regular:"fasr",light:"fasl"}),Y_)),Qh=tm(($_={},fn($_,ba,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),fn($_,za,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),$_)),oq=tm((G_={},fn(G_,ba,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),fn(G_,za,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),G_)),iq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,W5="fa-layers-text",lq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sq=tm((K_={},fn(K_,ba,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),fn(K_,za,{900:"fass",400:"fasr",300:"fasl"}),K_)),q5=[1,2,3,4,5,6,7,8,9,10],uq=q5.concat([11,12,13,14,15,16,17,18,19,20]),cq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],tf={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jh=new Set;Object.keys(Xh[ba]).map(Jh.add.bind(Jh));Object.keys(Xh[za]).map(Jh.add.bind(Jh));fq=[].concat(D2,em(Jh),["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",tf.GROUP,tf.SWAP_OPACITY,tf.PRIMARY,tf.SECONDARY]).concat(q5.map(function(r){return"".concat(r,"x")})).concat(uq.map(function(r){return"w-".concat(r)})),$h=ic.FontAwesomeConfig||{};ya&&typeof ya.querySelector=="function"&&(_5=[["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"]],_5.forEach(function(r){var a=k2(r,2),o=a[0],l=a[1],s=pq(dq(o));s!=null&&($h[l]=s)}));Y5={styleDefault:"solid",familyDefault:"classic",cssPrefix:H5,replacementClass:U5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$h.familyPrefix&&($h.cssPrefix=$h.familyPrefix);Id=_t(_t({},Y5),$h);Id.autoReplaceSvg||(Id.observeMutations=!1);xt={};Object.keys(Y5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Id[r]=o,Gh.forEach(function(l){return l(xt)})},get:function(){return Id[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Id.cssPrefix=a,Gh.forEach(function(o){return o(xt)})},get:function(){return Id.cssPrefix}});ic.FontAwesomeConfig=xt;Gh=[];oc=m2,Cs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};vq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";yq=`: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
- }`;gT=!1;wq={mixout:function(){return{dom:{css:GT,insertCss:u2}}},hooks:function(){return{beforeDOMElementCreation:function(){u2()},beforeI2svg:function(){u2()}}}},sc=iu||{};sc[lc]||(sc[lc]={});sc[lc].styles||(sc[lc].styles={});sc[lc].hooks||(sc[lc].hooks={});sc[lc].shims||(sc[lc].shims=[]);Gl=sc[lc],KT=[],Sq=function r(){ya.removeEventListener("DOMContentLoaded",r),tg=1,KT.map(function(a){return a()})},tg=!1;uc&&(tg=(ya.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ya.readyState),tg||ya.addEventListener("DOMContentLoaded",Sq));xq=function(a,o){return function(l,s,f,u){return a.call(o,l,s,f,u)}},f2=function(a,o,l,s){var f=Object.keys(a),u=f.length,h=s!==void 0?xq(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};Od=Gl.styles,Eq=Gl.shims,Rq=(K_={},fn(K_,ba,Object.values(Qh[ba])),fn(K_,Ba,Object.values(Qh[Ba])),K_),N2=null,XT={},QT={},JT={},ZT={},eE={},Dq=(X_={},fn(X_,ba,Object.keys(Kh[ba])),fn(X_,Ba,Object.keys(Kh[Ba])),X_);tE=function(){var a=function(f){return f2(Od,function(u,h,p){return u[p]=f2(h,f,{}),u},{})};XT=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}),QT=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}),eE=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 Od||xt.autoFetchSvg,l=f2(Eq,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:{}});JT=l.names,ZT=l.unicodes,N2=ng(xt.styleDefault,{family:xt.familyDefault})};hq(function(r){N2=ng(r.styleDefault,{family:xt.familyDefault})});tE();P2=function(){return{prefix:null,iconName:null,rest:[]}};wT=(Q_={},fn(Q_,ba,Object.keys(Qh[ba])),fn(Q_,Ba,Object.keys(Qh[Ba])),Q_);Pq=function(){function r(){$W(this,r),this.definitions={}}return GW(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]=_t(_t({},o.definitions[h]||{}),u[h]),g2(h,u[h]);var p=Qh[ba][h];p&&g2(p,u[h]),tE()})}},{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}(),ST=[],Pd={},Md={},Mq=Object.keys(Md);aE=new Pq,Bq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,nf("noAuto")},zq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return uc?(nf("beforeI2svg",a),cc("pseudoElements2svg",a),cc("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,Cq(function(){jq({autoReplaceSvgRoot:o}),nf("watch",a)})}},Fq={icon:function(a){if(a===null)return null;if(eg(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:rf(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=ng(a[0]);return{prefix:l,iconName:rf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(iq))){var s=og(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lu(),iconName:rf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lu();return{prefix:f,iconName:rf(f,a)||a}}}},ko={noAuto:Bq,config:xt,dom:zq,parse:Fq,library:aE,findIconDefinition:y2,toHtml:rm},jq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ya:o;(Object.keys(Gl.styles).length>0||xt.autoFetchSvg)&&uc&&xt.autoReplaceSvg&&ko.dom.i2svg({node:l})};d2=Gl.styles;Wq={found:!1,width:512,height:512};xT=function(){},C2=xt.measurePerformance&&V_&&V_.mark&&V_.measure?V_:{mark:xT,measure:xT},Yh='FA "6.4.2"',Yq=function(a){return C2.mark("".concat(Yh," ").concat(a," begins")),function(){return nE(a)}},nE=function(a){C2.mark("".concat(Yh," ").concat(a," ends")),C2.measure("".concat(Yh," ").concat(a),"".concat(Yh," ").concat(a," begins"),"".concat(Yh," ").concat(a," ends"))},I2={begin:Yq,end:nE},J_=function(){};Z_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(oE(s),o)}),o.getAttribute(af)===null&&xt.keepOriginalSource){var l=ya.createComment(Jq(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~A2(o).indexOf(xt.replacementClass))return Z_.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 rm(h)}).join(`
924
- `);o.setAttribute(af,""),o.innerHTML=u}};B2=!1;rg=null;nY=Gl.styles;su=new Set;D2.map(function(r){su.add("fa-".concat(r))});Object.keys(Kh[ba]).map(su.add.bind(su));Object.keys(Kh[Ba]).map(su.add.bind(su));su=em(su);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,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,C=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,P=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,O=a.iconName,te=a.icon;return ig(_t({type:"icon"},a),function(){return nf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(C?P["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||Zh()):(P["aria-hidden"]="true",P.focusable="false")),M2({icons:{main:w2(te),mask:p?w2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:O,transform:_t(_t({},Cs),s),symbol:u,title:C,maskId:g,titleId:k,extra:{attributes:P,styles:F,classes:M}})})}},sY={mixout:function(){return{icon:iY(lY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=DT,o.nodeCallback=oY,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 DT(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,C=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=k2(L,2),Y=M[0],P=M[1];w([o,M2({icons:{main:Y,mask:P},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:C,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=ag(h);p.length>0&&(s.style=p);var m;return L2(u)&&(m=cc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},cY={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 ig({type:"layer"},function(){nf("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(em(f)).join(" ")},children:u}]})}}}},uY={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 ig({type:"counter",content:o},function(){return nf("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,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,C=l.styles,w=C===void 0?{}:C;return ig({type:"text",content:o},function(){return nf("beforeDOMElementCreation",{content:o,params:l}),CT({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,u=l.extra,h=null,p=null;if(jT){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,CT({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},dY=new RegExp('"',"ug"),AT=[1105920,1112319];vY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=NT,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ya:l;xt.searchPseudoElements&&NT(s)}}},OT=!1,_Y={mixout:function(){return{dom:{unwatch:function(){lE(),OT=!0}}}},hooks:function(){return{bootstrap:function(){ET(b2("mutationObserverCallbacks",{}))},noAuto:function(){Zq()},watch:function(o){var l=o.observeMutationsRoot;OT?x2():ET(b2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},PT=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)},gY={mixout:function(){return{parse:{transform:function(o){return PT(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=PT(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)},C={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:b,path:C};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)}]}]}}}},p2={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?og(s.split(" ").map(function(u){return u.trim()})):P2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=u.width,C=u.icon,w=gq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:_t(_t({},p2),{},{fill:"white"})},L=g.children?{children:g.children.map(MT)}:{},M={tag:"g",attributes:_t({},w.inner),children:[MT(_t({tag:g.tag,attributes:_t(_t({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:_t({},w.outer),children:[M]},P="mask-".concat(h||Zh()),j="clip-".concat(h||Zh()),F={tag:"mask",attributes:_t(_t({},p2),{},{id:P,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:bY(C)},F]};return l.push(Q,{tag:"rect",attributes:_t({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(P,")")},p2)}),{children:l,attributes:s}}}},wY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:_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 u=_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({},u),{},{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({},u),{},{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({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},SY={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=[wq,sY,cY,uY,fY,vY,_Y,gY,yY,wY,SY];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,PY=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,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,C=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,P=r?Symbol.for("react.scope"):60119;function j(Ce){return typeof Ce=="string"||typeof Ce=="function"||Ce===l||Ce===m||Ce===f||Ce===s||Ce===b||Ce===C||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===k||Ce.$$typeof===w||Ce.$$typeof===u||Ce.$$typeof===h||Ce.$$typeof===g||Ce.$$typeof===M||Ce.$$typeof===Y||Ce.$$typeof===P||Ce.$$typeof===L)}function F(Ce){if(typeof Ce=="object"&&Ce!==null){var St=Ce.$$typeof;switch(St){case a:var It=Ce.type;switch(It){case p:case m:case l:case f:case s:case b:return It;default:var qt=It&&It.$$typeof;switch(qt){case h:case g:case k:case w:case u:return qt;default:return St}}case o:return St}}}var Q=p,O=m,te=h,me=u,ae=a,Se=g,we=l,ge=k,H=w,ie=o,fe=f,z=s,q=b,ne=!1;function Z(Ce){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.")),se(Ce)||F(Ce)===p}function se(Ce){return F(Ce)===m}function ye(Ce){return F(Ce)===h}function be(Ce){return F(Ce)===u}function Oe(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===a}function We(Ce){return F(Ce)===g}function $e(Ce){return F(Ce)===l}function ht(Ce){return F(Ce)===k}function Mt(Ce){return F(Ce)===w}function lt(Ce){return F(Ce)===o}function yt(Ce){return F(Ce)===f}function ut(Ce){return F(Ce)===s}function tt(Ce){return F(Ce)===b}ea.AsyncMode=Q,ea.ConcurrentMode=O,ea.ContextConsumer=te,ea.ContextProvider=me,ea.Element=ae,ea.ForwardRef=Se,ea.Fragment=we,ea.Lazy=ge,ea.Memo=H,ea.Portal=ie,ea.Profiler=fe,ea.StrictMode=z,ea.Suspense=q,ea.isAsyncMode=Z,ea.isConcurrentMode=se,ea.isContextConsumer=ye,ea.isContextProvider=be,ea.isElement=Oe,ea.isForwardRef=We,ea.isFragment=$e,ea.isLazy=ht,ea.isMemo=Mt,ea.isPortal=lt,ea.isProfiler=yt,ea.isStrictMode=ut,ea.isSuspense=tt,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,MY=Object.prototype.hasOwnProperty,IY=Object.prototype.propertyIsEnumerable;function BY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function zY(){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=zY()?Object.assign:function(r,a){for(var o,l=BY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)MY.call(o,u)&&(l[u]=o[u]);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 F2=Ue((bG,vE)=>{"use strict";var FY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";vE.exports=FY});var j2=Ue((yG,_E)=>{_E.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var SE=Ue((wG,wE)=>{"use strict";var H2=function(){};gE=F2(),lg={},bE=j2(),H2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var gE,lg,bE;function yE(r,a,o,l,s){for(var f in r)if(bE(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,gE)}catch(m){u=m}if(u&&!(u instanceof Error)&&H2((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 lg)){lg[u.message]=!0;var p=s?s():"";H2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}yE.resetWarningCache=function(){lg={}};wE.exports=yE});var kE=Ue((SG,xE)=>{"use strict";var jY=z2(),HY=mE(),zd=F2(),U2=j2(),CE=SE(),Fd=function(){};Fd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function sg(){return null}xE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var ie=H&&(o&&H[o]||H[l]);if(typeof ie=="function")return ie}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:C,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:P,shape:Q,exact:O};function h(H,ie){return H===ie?H!==0||1/H===1/ie:H!==H&&ie!==ie}function p(H,ie){this.message=H,this.data=ie&&typeof ie=="object"?ie:{},this.stack=""}p.prototype=Error.prototype;function m(H){var ie={},fe=0;function z(ne,Z,se,ye,be,Oe,We){if(ye=ye||f,Oe=Oe||se,We!==zd){if(a){var $e=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 $e.name="Invariant Violation",$e}else if(typeof console!="undefined"){var ht=ye+":"+se;!ie[ht]&&fe<3&&(Fd("You are manually calling a React.PropTypes validation function for the `"+Oe+"` prop on `"+ye+"`. 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."),ie[ht]=!0,fe++)}}return Z[se]==null?ne?Z[se]===null?new p("The "+be+" `"+Oe+"` is marked as required "+("in `"+ye+"`, but its value is `null`.")):new p("The "+be+" `"+Oe+"` is marked as required in "+("`"+ye+"`, but its value is `undefined`.")):null:H(Z,se,ye,be,Oe)}var q=z.bind(null,!1);return q.isRequired=z.bind(null,!0),q}function g(H){function ie(fe,z,q,ne,Z,se){var ye=fe[z],be=ae(ye);if(be!==H){var Oe=Se(ye);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+Oe+"` supplied to `"+q+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(ie)}function b(){return m(sg)}function C(H){function ie(fe,z,q,ne,Z){if(typeof H!="function")return new p("Property `"+Z+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var se=fe[z];if(!Array.isArray(se)){var ye=ae(se);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected an array."))}for(var be=0;be<se.length;be++){var Oe=H(se,be,q,ne,Z+"["+be+"]",zd);if(Oe instanceof Error)return Oe}return null}return m(ie)}function w(){function H(ie,fe,z,q,ne){var Z=ie[fe];if(!r(Z)){var se=ae(Z);return new p("Invalid "+q+" `"+ne+"` of type "+("`"+se+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(ie,fe,z,q,ne){var Z=ie[fe];if(!jY.isValidElementType(Z)){var se=ae(Z);return new p("Invalid "+q+" `"+ne+"` of type "+("`"+se+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function ie(fe,z,q,ne,Z){if(!(fe[z]instanceof H)){var se=H.name||f,ye=ge(fe[z]);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected ")+("instance of `"+se+"`."))}return null}return m(ie)}function M(H){if(!Array.isArray(H))return arguments.length>1?Fd("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])."):Fd("Invalid argument supplied to oneOf, expected an array."),sg;function ie(fe,z,q,ne,Z){for(var se=fe[z],ye=0;ye<H.length;ye++)if(h(se,H[ye]))return null;var be=JSON.stringify(H,function(We,$e){var ht=Se($e);return ht==="symbol"?String($e):$e});return new p("Invalid "+ne+" `"+Z+"` of value `"+String(se)+"` "+("supplied to `"+q+"`, expected one of "+be+"."))}return m(ie)}function Y(H){function ie(fe,z,q,ne,Z){if(typeof H!="function")return new p("Property `"+Z+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var se=fe[z],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected an object."));for(var be in se)if(U2(se,be)){var Oe=H(se,be,q,ne,Z+"."+be,zd);if(Oe instanceof Error)return Oe}return null}return m(ie)}function P(H){if(!Array.isArray(H))return Fd("Invalid argument supplied to oneOfType, expected an instance of array."),sg;for(var ie=0;ie<H.length;ie++){var fe=H[ie];if(typeof fe!="function")return Fd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+we(fe)+" at index "+ie+"."),sg}function z(q,ne,Z,se,ye){for(var be=[],Oe=0;Oe<H.length;Oe++){var We=H[Oe],$e=We(q,ne,Z,se,ye,zd);if($e==null)return null;$e.data&&U2($e.data,"expectedType")&&be.push($e.data.expectedType)}var ht=be.length>0?", expected one of type ["+be.join(", ")+"]":"";return new p("Invalid "+se+" `"+ye+"` supplied to "+("`"+Z+"`"+ht+"."))}return m(z)}function j(){function H(ie,fe,z,q,ne){return te(ie[fe])?null:new p("Invalid "+q+" `"+ne+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return m(H)}function F(H,ie,fe,z,q){return new p((H||"React class")+": "+ie+" type `"+fe+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function Q(H){function ie(fe,z,q,ne,Z){var se=fe[z],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type `"+ye+"` "+("supplied to `"+q+"`, expected `object`."));for(var be in H){var Oe=H[be];if(typeof Oe!="function")return F(q,ne,Z,be,Se(Oe));var We=Oe(se,be,q,ne,Z+"."+be,zd);if(We)return We}return null}return m(ie)}function O(H){function ie(fe,z,q,ne,Z){var se=fe[z],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type `"+ye+"` "+("supplied to `"+q+"`, expected `object`."));var be=HY({},fe[z],H);for(var Oe in be){var We=H[Oe];if(U2(H,Oe)&&typeof We!="function")return F(q,ne,Z,Oe,Se(We));if(!We)return new p("Invalid "+ne+" `"+Z+"` key `"+Oe+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(fe[z],null," ")+`
925
- Valid keys: `+JSON.stringify(Object.keys(H),null," "));var $e=We(se,Oe,q,ne,Z+"."+Oe,zd);if($e)return $e}return null}return m(ie)}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 ie=s(H);if(ie){var fe=ie.call(H),z;if(ie!==H.entries){for(;!(z=fe.next()).done;)if(!te(z.value))return!1}else for(;!(z=fe.next()).done;){var q=z.value;if(q&&!te(q[1]))return!1}}else return!1;return!0;default:return!1}}function me(H,ie){return H==="symbol"?!0:ie?ie["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ie instanceof Symbol:!1}function ae(H){var ie=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":me(ie,H)?"symbol":ie}function Se(H){if(typeof H=="undefined"||H===null)return""+H;var ie=ae(H);if(ie==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return ie}function we(H){var ie=Se(H);switch(ie){case"array":case"object":return"an "+ie;case"boolean":case"date":case"regexp":return"a "+ie;default:return ie}}function ge(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return u.checkPropTypes=CE,u.resetWarningCache=CE.resetWarningCache,u.PropTypes=u,u}});var DE=Ue((CG,RE)=>{TE=z2(),EE=!0,RE.exports=kE()(TE.isElement,EE);var TE,EE});var LE=Ue((cg,AE)=>{(function(r,a){typeof cg=="object"&&typeof AE!="undefined"?a(cg,(uE(),kV(cE)),DE(),dr()):typeof define=="function"&&define.amd?define(["exports","@fortawesome/fontawesome-svg-core","prop-types","react"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r["react-fontawesome"]={},r.FontAwesome,r.PropTypes,r.React))})(cg,function(r,a,o,l){"use strict";function s(z){return z&&typeof z=="object"&&"default"in z?z:{default:z}}var f=s(o),u=s(l);function h(z,q){var ne=Object.keys(z);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(z);q&&(Z=Z.filter(function(se){return Object.getOwnPropertyDescriptor(z,se).enumerable})),ne.push.apply(ne,Z)}return ne}function p(z){for(var q=1;q<arguments.length;q++){var ne=arguments[q]!=null?arguments[q]:{};q%2?h(Object(ne),!0).forEach(function(Z){g(z,Z,ne[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(Z){Object.defineProperty(z,Z,Object.getOwnPropertyDescriptor(ne,Z))})}return z}function m(z){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},m(z)}function g(z,q,ne){return q in z?Object.defineProperty(z,q,{value:ne,enumerable:!0,configurable:!0,writable:!0}):z[q]=ne,z}function b(z,q){if(z==null)return{};var ne={},Z=Object.keys(z),se,ye;for(ye=0;ye<Z.length;ye++)se=Z[ye],!(q.indexOf(se)>=0)&&(ne[se]=z[se]);return ne}function C(z,q){if(z==null)return{};var ne=b(z,q),Z,se;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(z);for(se=0;se<ye.length;se++)Z=ye[se],!(q.indexOf(Z)>=0)&&Object.prototype.propertyIsEnumerable.call(z,Z)&&(ne[Z]=z[Z])}return ne}function w(z){return k(z)||L(z)||M(z)||P()}function k(z){if(Array.isArray(z))return Y(z)}function L(z){if(typeof Symbol!="undefined"&&z[Symbol.iterator]!=null||z["@@iterator"]!=null)return Array.from(z)}function M(z,q){if(z){if(typeof z=="string")return Y(z,q);var ne=Object.prototype.toString.call(z).slice(8,-1);if(ne==="Object"&&z.constructor&&(ne=z.constructor.name),ne==="Map"||ne==="Set")return Array.from(z);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return Y(z,q)}}function Y(z,q){(q==null||q>z.length)&&(q=z.length);for(var ne=0,Z=new Array(q);ne<q;ne++)Z[ne]=z[ne];return Z}function P(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
926
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(z){var q,ne=z.beat,Z=z.fade,se=z.beatFade,ye=z.bounce,be=z.shake,Oe=z.flash,We=z.spin,$e=z.spinPulse,ht=z.spinReverse,Mt=z.pulse,lt=z.fixedWidth,yt=z.inverse,ut=z.border,tt=z.listItem,Ce=z.flip,St=z.size,It=z.rotation,qt=z.pull,jt=(q={"fa-beat":ne,"fa-fade":Z,"fa-beat-fade":se,"fa-bounce":ye,"fa-shake":be,"fa-flash":Oe,"fa-spin":We,"fa-spin-reverse":ht,"fa-spin-pulse":$e,"fa-pulse":Mt,"fa-fw":lt,"fa-inverse":yt,"fa-border":ut,"fa-li":tt,"fa-flip":Ce===!0,"fa-flip-horizontal":Ce==="horizontal"||Ce==="both","fa-flip-vertical":Ce==="vertical"||Ce==="both"},g(q,"fa-".concat(St),typeof St!="undefined"&&St!==null),g(q,"fa-rotate-".concat(It),typeof It!="undefined"&&It!==null&&It!==0),g(q,"fa-pull-".concat(qt),typeof qt!="undefined"&&qt!==null),g(q,"fa-swap-opacity",z.swapOpacity),q);return Object.keys(jt).map(function(tr){return jt[tr]?tr:null}).filter(function(tr){return tr})}function F(z){return z=z-0,z===z}function Q(z){return F(z)?z:(z=z.replace(/[\-_\s]+(.)?/g,function(q,ne){return ne?ne.toUpperCase():""}),z.substr(0,1).toLowerCase()+z.substr(1))}var O=["style"];function te(z){return z.charAt(0).toUpperCase()+z.slice(1)}function me(z){return z.split(";").map(function(q){return q.trim()}).filter(function(q){return q}).reduce(function(q,ne){var Z=ne.indexOf(":"),se=Q(ne.slice(0,Z)),ye=ne.slice(Z+1).trim();return se.startsWith("webkit")?q[te(se)]=ye:q[se]=ye,q},{})}function ae(z,q){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof q=="string")return q;var Z=(q.children||[]).map(function(We){return ae(z,We)}),se=Object.keys(q.attributes||{}).reduce(function(We,$e){var ht=q.attributes[$e];switch($e){case"class":We.attrs.className=ht,delete q.attributes.class;break;case"style":We.attrs.style=me(ht);break;default:$e.indexOf("aria-")===0||$e.indexOf("data-")===0?We.attrs[$e.toLowerCase()]=ht:We.attrs[Q($e)]=ht}return We},{attrs:{}}),ye=ne.style,be=ye===void 0?{}:ye,Oe=C(ne,O);return se.attrs.style=p(p({},se.attrs.style),be),z.apply(void 0,[q.tag,p(p({},se.attrs),Oe)].concat(w(Z)))}var Se=!1;try{Se=!1}catch(z){}function we(){if(!Se&&console&&typeof console.error=="function"){var z;(z=console).error.apply(z,arguments)}}function ge(z){if(z&&m(z)==="object"&&z.prefix&&z.iconName&&z.icon)return z;if(a.parse.icon)return a.parse.icon(z);if(z===null)return null;if(z&&m(z)==="object"&&z.prefix&&z.iconName)return z;if(Array.isArray(z)&&z.length===2)return{prefix:z[0],iconName:z[1]};if(typeof z=="string")return{prefix:"fas",iconName:z}}function H(z,q){return Array.isArray(q)&&q.length>0||!Array.isArray(q)&&q?g({},z,q):{}}var ie=u.default.forwardRef(function(z,q){var ne=z.icon,Z=z.mask,se=z.symbol,ye=z.className,be=z.title,Oe=z.titleId,We=z.maskId,$e=ge(ne),ht=H("classes",[].concat(w(j(z)),w(ye.split(" ")))),Mt=H("transform",typeof z.transform=="string"?a.parse.transform(z.transform):z.transform),lt=H("mask",ge(Z)),yt=a.icon($e,p(p(p(p({},ht),Mt),lt),{},{symbol:se,title:be,titleId:Oe,maskId:We}));if(!yt)return we("Could not find icon",$e),null;var ut=yt.abstract,tt={ref:q};return Object.keys(z).forEach(function(Ce){ie.defaultProps.hasOwnProperty(Ce)||(tt[Ce]=z[Ce])}),fe(ut[0],tt)});ie.displayName="FontAwesomeIcon",ie.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},ie.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=ae.bind(null,u.default.createElement);r.FontAwesomeIcon=ie,Object.defineProperty(r,"__esModule",{value:!0})})});var zE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var NE="fas",OE="xmark",PE=384,ME=512,V2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],IE="f00d",BE="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:[PE,ME,V2,IE,BE]};Wo.faXmark=Wo.definition;Wo.prefix=NE;Wo.iconName=OE;Wo.width=PE;Wo.height=ME;Wo.ligatures=V2;Wo.unicode=IE;Wo.svgPathData=BE;Wo.aliases=V2});var FE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var eo=zE();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 YE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var jE="fas",HE="angle-right",UE=320,VE=512,W2=[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,W2,WE,qE]};Yo.faAngleRight=Yo.definition;Yo.prefix=jE;Yo.iconName=HE;Yo.width=UE;Yo.height=VE;Yo.ligatures=W2;Yo.unicode=WE;Yo.svgPathData=qE;Yo.aliases=W2});var ZE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var $E="fas",GE="angle-left",KE=320,XE=512,q2=[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,q2,QE,JE]};$o.faAngleLeft=$o.definition;$o.prefix=$E;$o.iconName=GE;$o.width=KE;$o.height=XE;$o.ligatures=q2;$o.unicode=QE;$o.svgPathData=JE;$o.aliases=q2});var iR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eR="fas",tR="angle-up",rR=448,aR=512,Y2=[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,Y2,nR,oR]};Go.faAngleUp=Go.definition;Go.prefix=eR;Go.iconName=tR;Go.width=rR;Go.height=aR;Go.ligatures=Y2;Go.unicode=nR;Go.svgPathData=oR;Go.aliases=Y2});var pR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var lR="fas",sR="angle-down",cR=448,uR=512,$2=[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:[cR,uR,$2,fR,dR]};Ko.faAngleDown=Ko.definition;Ko.prefix=lR;Ko.iconName=sR;Ko.width=cR;Ko.height=uR;Ko.ligatures=$2;Ko.unicode=fR;Ko.svgPathData=dR;Ko.aliases=$2});var yR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var hR="fas",mR="chevron-left",vR=320,_R=512,G2=[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,G2,gR,bR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=hR;Xo.iconName=mR;Xo.width=vR;Xo.height=_R;Xo.ligatures=G2;Xo.unicode=gR;Xo.svgPathData=bR;Xo.aliases=G2});var ER=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var wR="fas",SR="chevron-right",CR=320,xR=512,K2=[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:wR,iconName:SR,icon:[CR,xR,K2,kR,TR]};Qo.faChevronRight=Qo.definition;Qo.prefix=wR;Qo.iconName=SR;Qo.width=CR;Qo.height=xR;Qo.ligatures=K2;Qo.unicode=kR;Qo.svgPathData=TR;Qo.aliases=K2});var PR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var RR="fas",DR="chevron-up",AR=512,LR=512,X2=[],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,X2,NR,OR]};Jo.faChevronUp=Jo.definition;Jo.prefix=RR;Jo.iconName=DR;Jo.width=AR;Jo.height=LR;Jo.ligatures=X2;Jo.unicode=NR;Jo.svgPathData=OR;Jo.aliases=X2});var HR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var MR="fas",IR="chevron-down",BR=512,zR=512,Q2=[],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:MR,iconName:IR,icon:[BR,zR,Q2,FR,jR]};Zo.faChevronDown=Zo.definition;Zo.prefix=MR;Zo.iconName=IR;Zo.width=BR;Zo.height=zR;Zo.ligatures=Q2;Zo.unicode=FR;Zo.svgPathData=jR;Zo.aliases=Q2});var GR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var UR="fas",VR="caret-left",WR=256,qR=512,J2=[],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,J2,YR,$R]};ei.faCaretLeft=ei.definition;ei.prefix=UR;ei.iconName=VR;ei.width=WR;ei.height=qR;ei.ligatures=J2;ei.unicode=YR;ei.svgPathData=$R;ei.aliases=J2});var tD=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var KR="fas",XR="caret-right",QR=256,JR=512,Z2=[],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,Z2,ZR,eD]};ti.faCaretRight=ti.definition;ti.prefix=KR;ti.iconName=XR;ti.width=QR;ti.height=JR;ti.ligatures=Z2;ti.unicode=ZR;ti.svgPathData=eD;ti.aliases=Z2});var sD=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var rD="fas",aD="caret-up",nD=320,oD=512,ew=[],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,ew,iD,lD]};ri.faCaretUp=ri.definition;ri.prefix=rD;ri.iconName=aD;ri.width=nD;ri.height=oD;ri.ligatures=ew;ri.unicode=iD;ri.svgPathData=lD;ri.aliases=ew});var mD=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var cD="fas",uD="caret-down",fD=320,dD=512,tw=[],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:cD,iconName:uD,icon:[fD,dD,tw,pD,hD]};ai.faCaretDown=ai.definition;ai.prefix=cD;ai.iconName=uD;ai.width=fD;ai.height=dD;ai.ligatures=tw;ai.unicode=pD;ai.svgPathData=hD;ai.aliases=tw});var SD=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var vD="fas",_D="arrow-left",gD=448,bD=512,rw=[8592],yD="f060",wD="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,rw,yD,wD]};ni.faArrowLeft=ni.definition;ni.prefix=vD;ni.iconName=_D;ni.width=gD;ni.height=bD;ni.ligatures=rw;ni.unicode=yD;ni.svgPathData=wD;ni.aliases=rw});var nw=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var CD="fas",xD="arrow-right",kD=448,TD=512,aw=[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,aw,ED,RD]};oi.faArrowRight=oi.definition;oi.prefix=CD;oi.iconName=xD;oi.width=kD;oi.height=TD;oi.ligatures=aw;oi.unicode=ED;oi.svgPathData=RD;oi.aliases=aw});var iw=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var DD="fas",AD="arrow-up",LD=384,ND=512,ow=[8593],OD="f062",PD="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,ow,OD,PD]};ii.faArrowUp=ii.definition;ii.prefix=DD;ii.iconName=AD;ii.width=LD;ii.height=ND;ii.ligatures=ow;ii.unicode=OD;ii.svgPathData=PD;ii.aliases=ow});var sw=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var MD="fas",ID="arrow-down",BD=384,zD=512,lw=[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:MD,iconName:ID,icon:[BD,zD,lw,FD,jD]};li.faArrowDown=li.definition;li.prefix=MD;li.iconName=ID;li.width=BD;li.height=zD;li.ligatures=lw;li.unicode=FD;li.svgPathData=jD;li.aliases=lw});var $D=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var HD="fas",UD="rotate",VD=512,WD=512,cw=[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,cw,qD,YD]};si.faRotate=si.definition;si.prefix=HD;si.iconName=UD;si.width=VD;si.height=WD;si.ligatures=cw;si.unicode=qD;si.svgPathData=YD;si.aliases=cw});var e6=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var GD="fas",KD="arrow-rotate-right",XD=512,QD=512,uw=[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";ci.definition={prefix:GD,iconName:KD,icon:[XD,QD,uw,JD,ZD]};ci.faArrowRotateRight=ci.definition;ci.prefix=GD;ci.iconName=KD;ci.width=XD;ci.height=QD;ci.ligatures=uw;ci.unicode=JD;ci.svgPathData=ZD;ci.aliases=uw});var t6=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var to=e6();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 s6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var r6="fas",a6="check",n6=448,o6=512,fw=[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,fw,i6,l6]};fi.faCheck=fi.definition;fi.prefix=r6;fi.iconName=a6;fi.width=n6;fi.height=o6;fi.ligatures=fw;fi.unicode=i6;fi.svgPathData=l6;fi.aliases=fw});var m6=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var c6="fas",u6="question",f6=320,d6=512,dw=[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:c6,iconName:u6,icon:[f6,d6,dw,p6,h6]};di.faQuestion=di.definition;di.prefix=c6;di.iconName=u6;di.width=f6;di.height=d6;di.ligatures=dw;di.unicode=p6;di.svgPathData=h6;di.aliases=dw});var S6=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var v6="fas",_6="exclamation",g6=128,b6=512,pw=[10069,10071,61738],y6="21",w6="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,pw,y6,w6]};pi.faExclamation=pi.definition;pi.prefix=v6;pi.iconName=_6;pi.width=g6;pi.height=b6;pi.ligatures=pw;pi.unicode=y6;pi.svgPathData=w6;pi.aliases=pw});var D6=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var C6="fas",x6="triangle-exclamation",k6=512,T6=512,hw=[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,hw,E6,R6]};hi.faTriangleExclamation=hi.definition;hi.prefix=C6;hi.iconName=x6;hi.width=k6;hi.height=T6;hi.ligatures=hw;hi.unicode=E6;hi.svgPathData=R6;hi.aliases=hw});var A6=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var ro=D6();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 B6=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var L6="fas",N6="house",O6=576,P6=512,mw=[127968,63498,63500,"home","home-alt","home-lg-alt"],M6="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,P6,mw,M6,I6]};vi.faHouse=vi.definition;vi.prefix=L6;vi.iconName=N6;vi.width=O6;vi.height=P6;vi.ligatures=mw;vi.unicode=M6;vi.svgPathData=I6;vi.aliases=mw});var z6=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=B6();_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 q6=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var F6="fas",j6="share",H6=512,U6=512,vw=["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,vw,V6,W6]};gi.faShare=gi.definition;gi.prefix=F6;gi.iconName=j6;gi.width=H6;gi.height=U6;gi.ligatures=vw;gi.unicode=V6;gi.svgPathData=W6;gi.aliases=vw});var J6=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var Y6="fas",$6="magnifying-glass",G6=512,K6=512,_w=[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,_w,X6,Q6]};bi.faMagnifyingGlass=bi.definition;bi.prefix=Y6;bi.iconName=$6;bi.width=G6;bi.height=K6;bi.ligatures=_w;bi.unicode=X6;bi.svgPathData=Q6;bi.aliases=_w});var Z6=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=J6();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 i8=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var e8="fas",t8="yen-sign",r8=320,a8=512,gw=[165,"cny","jpy","rmb","yen"],n8="f157",o8="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";wi.definition={prefix:e8,iconName:t8,icon:[r8,a8,gw,n8,o8]};wi.faYenSign=wi.definition;wi.prefix=e8;wi.iconName=t8;wi.width=r8;wi.height=a8;wi.ligatures=gw;wi.unicode=n8;wi.svgPathData=o8;wi.aliases=gw});var p8=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var l8="fas",s8="pen",c8=512,u8=512,bw=[128394],f8="f304",d8="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";Si.definition={prefix:l8,iconName:s8,icon:[c8,u8,bw,f8,d8]};Si.faPen=Si.definition;Si.prefix=l8;Si.iconName=s8;Si.width=c8;Si.height=u8;Si.ligatures=bw;Si.unicode=f8;Si.svgPathData=d8;Si.aliases=bw});var y8=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var h8="fas",m8="bars",v8=448,_8=512,yw=["navicon"],g8="f0c9",b8="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:h8,iconName:m8,icon:[v8,_8,yw,g8,b8]};Ci.faBars=Ci.definition;Ci.prefix=h8;Ci.iconName=m8;Ci.width=v8;Ci.height=_8;Ci.ligatures=yw;Ci.unicode=g8;Ci.svgPathData=b8;Ci.aliases=yw});var E8=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var w8="fas",S8="download",C8=512,x8=512,ww=[],k8="f019",T8="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:w8,iconName:S8,icon:[C8,x8,ww,k8,T8]};xi.faDownload=xi.definition;xi.prefix=w8;xi.iconName=S8;xi.width=C8;xi.height=x8;xi.ligatures=ww;xi.unicode=k8;xi.svgPathData=T8;xi.aliases=ww});var P8=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var R8="fas",D8="link",A8=640,L8=512,Sw=[128279,"chain"],N8="f0c1",O8="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:R8,iconName:D8,icon:[A8,L8,Sw,N8,O8]};ki.faLink=ki.definition;ki.prefix=R8;ki.iconName=D8;ki.width=A8;ki.height=L8;ki.ligatures=Sw;ki.unicode=N8;ki.svgPathData=O8;ki.aliases=Sw});var H8=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var M8="fas",I8="link-slash",B8=640,z8=512,Cw=["chain-broken","chain-slash","unlink"],F8="f127",j8="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:M8,iconName:I8,icon:[B8,z8,Cw,F8,j8]};Ti.faLinkSlash=Ti.definition;Ti.prefix=M8;Ti.iconName=I8;Ti.width=B8;Ti.height=z8;Ti.ligatures=Cw;Ti.unicode=F8;Ti.svgPathData=j8;Ti.aliases=Cw});var G8=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var U8="fas",V8="up-right-from-square",W8=512,q8=512,xw=["external-link-alt"],Y8="f35d",$8="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:U8,iconName:V8,icon:[W8,q8,xw,Y8,$8]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=U8;Ei.iconName=V8;Ei.width=W8;Ei.height=q8;Ei.ligatures=xw;Ei.unicode=Y8;Ei.svgPathData=$8;Ei.aliases=xw});var K8=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var oo=G8();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 rA=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var X8="fas",Q8="gear",J8=512,Z8=512,kw=[9881,"cog"],eA="f013",tA="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:X8,iconName:Q8,icon:[J8,Z8,kw,eA,tA]};Di.faGear=Di.definition;Di.prefix=X8;Di.iconName=Q8;Di.width=J8;Di.height=Z8;Di.ligatures=kw;Di.unicode=eA;Di.svgPathData=tA;Di.aliases=kw});var cA=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var aA="fas",nA="plus",oA=448,iA=512,Tw=[10133,61543,"add"],lA="2b",sA="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:aA,iconName:nA,icon:[oA,iA,Tw,lA,sA]};Ai.faPlus=Ai.definition;Ai.prefix=aA;Ai.iconName=nA;Ai.width=oA;Ai.height=iA;Ai.ligatures=Tw;Ai.unicode=lA;Ai.svgPathData=sA;Ai.aliases=Tw});var vA=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var uA="fas",fA="minus",dA=448,pA=512,Ew=[8211,8722,10134,"subtract"],hA="f068",mA="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:uA,iconName:fA,icon:[dA,pA,Ew,hA,mA]};Li.faMinus=Li.definition;Li.prefix=uA;Li.iconName=fA;Li.width=dA;Li.height=pA;Li.ligatures=Ew;Li.unicode=hA;Li.svgPathData=mA;Li.aliases=Ew});var CA=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var _A="fas",gA="ellipsis",bA=448,yA=512,Rw=["ellipsis-h"],wA="f141",SA="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:_A,iconName:gA,icon:[bA,yA,Rw,wA,SA]};Ni.faEllipsis=Ni.definition;Ni.prefix=_A;Ni.iconName=gA;Ni.width=bA;Ni.height=yA;Ni.ligatures=Rw;Ni.unicode=wA;Ni.svgPathData=SA;Ni.aliases=Rw});var xA=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var io=CA();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 LA=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var kA="fas",TA="ellipsis-vertical",EA=128,RA=512,Dw=["ellipsis-v"],DA="f142",AA="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";Pi.definition={prefix:kA,iconName:TA,icon:[EA,RA,Dw,DA,AA]};Pi.faEllipsisVertical=Pi.definition;Pi.prefix=kA;Pi.iconName=TA;Pi.width=EA;Pi.height=RA;Pi.ligatures=Dw;Pi.unicode=DA;Pi.svgPathData=AA;Pi.aliases=Dw});var NA=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var lo=LA();Mi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Mi.faEllipsisV=Mi.definition;Mi.prefix=lo.prefix;Mi.iconName=lo.iconName;Mi.width=lo.width;Mi.height=lo.height;Mi.ligatures=lo.aliases;Mi.unicode=lo.unicode;Mi.svgPathData=lo.svgPathData;Mi.aliases=lo.aliases});var FA=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var OA="fas",PA="star",MA=576,IA=512,Aw=[11088,61446],BA="f005",zA="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:OA,iconName:PA,icon:[MA,IA,Aw,BA,zA]};Ii.faStar=Ii.definition;Ii.prefix=OA;Ii.iconName=PA;Ii.width=MA;Ii.height=IA;Ii.ligatures=Aw;Ii.unicode=BA;Ii.svgPathData=zA;Ii.aliases=Aw});var YA=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var jA="fas",HA="paper-plane",UA=512,VA=512,Lw=[61913],WA="f1d8",qA="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";Bi.definition={prefix:jA,iconName:HA,icon:[UA,VA,Lw,WA,qA]};Bi.faPaperPlane=Bi.definition;Bi.prefix=jA;Bi.iconName=HA;Bi.width=UA;Bi.height=VA;Bi.ligatures=Lw;Bi.unicode=WA;Bi.svgPathData=qA;Bi.aliases=Lw});var ZA=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var $A="fas",GA="heart",KA=512,XA=512,Nw=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],QA="f004",JA="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";zi.definition={prefix:$A,iconName:GA,icon:[KA,XA,Nw,QA,JA]};zi.faHeart=zi.definition;zi.prefix=$A;zi.iconName=GA;zi.width=KA;zi.height=XA;zi.ligatures=Nw;zi.unicode=QA;zi.svgPathData=JA;zi.aliases=Nw});var iL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var eL="fas",tL="ban",rL=512,aL=512,Ow=[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,Ow,nL,oL]};Fi.faBan=Fi.definition;Fi.prefix=eL;Fi.iconName=tL;Fi.width=rL;Fi.height=aL;Fi.ligatures=Ow;Fi.unicode=nL;Fi.svgPathData=oL;Fi.aliases=Ow});var pL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var lL="fas",sL="location-crosshairs",cL=512,uL=512,Pw=["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:[cL,uL,Pw,fL,dL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=lL;ji.iconName=sL;ji.width=cL;ji.height=uL;ji.ligatures=Pw;ji.unicode=fL;ji.svgPathData=dL;ji.aliases=Pw});var yL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var hL="far",mL="user",vL=448,_L=512,Mw=[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,Mw,gL,bL]};Hi.faUser=Hi.definition;Hi.prefix=hL;Hi.iconName=mL;Hi.width=vL;Hi.height=_L;Hi.ligatures=Mw;Hi.unicode=gL;Hi.svgPathData=bL;Hi.aliases=Mw});var EL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var wL="far",SL="circle-check",CL=512,xL=512,Iw=[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:wL,iconName:SL,icon:[CL,xL,Iw,kL,TL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=wL;Ui.iconName=SL;Ui.width=CL;Ui.height=xL;Ui.ligatures=Iw;Ui.unicode=kL;Ui.svgPathData=TL;Ui.aliases=Iw});var RL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var so=EL();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 ML=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var DL="far",AL="circle-question",LL=512,NL=512,Bw=[62108,"question-circle"],OL="f059",PL="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,Bw,OL,PL]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=DL;Wi.iconName=AL;Wi.width=LL;Wi.height=NL;Wi.ligatures=Bw;Wi.unicode=OL;Wi.svgPathData=PL;Wi.aliases=Bw});var IL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var co=ML();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 VL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var BL="far",zL="pen-to-square",FL=512,jL=512,zw=["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:BL,iconName:zL,icon:[FL,jL,zw,HL,UL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=BL;Yi.iconName=zL;Yi.width=FL;Yi.height=jL;Yi.ligatures=zw;Yi.unicode=HL;Yi.svgPathData=UL;Yi.aliases=zw});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,Fw=[],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,Fw,KL,XL]};Gi.faCopy=Gi.definition;Gi.prefix=qL;Gi.iconName=YL;Gi.width=$L;Gi.height=GL;Gi.ligatures=Fw;Gi.unicode=KL;Gi.svgPathData=XL;Gi.aliases=Fw});var nN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var JL="far",ZL="file",eN=384,tN=512,jw=[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,jw,rN,aN]};Ki.faFile=Ki.definition;Ki.prefix=JL;Ki.iconName=ZL;Ki.width=eN;Ki.height=tN;Ki.ligatures=jw;Ki.unicode=rN;Ki.svgPathData=aN;Ki.aliases=jw});var fN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var oN="far",iN="trash-can",lN=448,sN=512,Hw=[61460,"trash-alt"],cN="f2ed",uN="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,Hw,cN,uN]};Xi.faTrashCan=Xi.definition;Xi.prefix=oN;Xi.iconName=iN;Xi.width=lN;Xi.height=sN;Xi.ligatures=Hw;Xi.unicode=cN;Xi.svgPathData=uN;Xi.aliases=Hw});var dN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var fo=fN();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 bN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var pN="far",hN="image",mN=512,vN=512,Uw=[],_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,Uw,_N,gN]};Ji.faImage=Ji.definition;Ji.prefix=pN;Ji.iconName=hN;Ji.width=mN;Ji.height=vN;Ji.ligatures=Uw;Ji.unicode=_N;Ji.svgPathData=gN;Ji.aliases=Uw});var G7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var U7="fas",V7="eye",W7=576,q7=512,nS=[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,nS,Y7,$7]};tl.faEye=tl.definition;tl.prefix=U7;tl.iconName=V7;tl.width=W7;tl.height=q7;tl.ligatures=nS;tl.unicode=Y7;tl.svgPathData=$7;tl.aliases=nS});var iO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var eO="fas",tO="clock",rO=512,aO=512,sS=[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,sS,nO,oO]};rl.faClock=rl.definition;rl.prefix=eO;rl.iconName=tO;rl.width=rO;rl.height=aO;rl.ligatures=sS;rl.unicode=nO;rl.svgPathData=oO;rl.aliases=sS});var pO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var lO="fas",sO="calendar-days",cO=448,uO=512,cS=["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:[cO,uO,cS,fO,dO]};al.faCalendarDays=al.definition;al.prefix=lO;al.iconName=sO;al.width=cO;al.height=uO;al.ligatures=cS;al.unicode=fO;al.svgPathData=dO;al.aliases=cS});var hO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var po=pO();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 NO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var TO="fas",EO="cloud-arrow-up",RO=640,DO=512,hS=[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,hS,AO,LO]};ol.faCloudArrowUp=ol.definition;ol.prefix=TO;ol.iconName=EO;ol.width=RO;ol.height=DO;ol.ligatures=hS;ol.unicode=AO;ol.svgPathData=LO;ol.aliases=hS});var tP=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var KO="fas",XO="grip-vertical",QO=320,JO=512,wS=[],ZO="f58e",eP="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,wS,ZO,eP]};ll.faGripVertical=ll.definition;ll.prefix=KO;ll.iconName=XO;ll.width=QO;ll.height=JO;ll.ligatures=wS;ll.unicode=ZO;ll.svgPathData=eP;ll.aliases=wS});var cP=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var aP="fas",nP="filter",oP=512,iP=512,xS=[],lP="f0b0",sP="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:aP,iconName:nP,icon:[oP,iP,xS,lP,sP]};sl.faFilter=sl.definition;sl.prefix=aP;sl.iconName=nP;sl.width=oP;sl.height=iP;sl.ligatures=xS;sl.unicode=lP;sl.svgPathData=sP;sl.aliases=xS});var yP=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var hP="fas",mP="palette",vP=512,_P=512,TS=[127912],gP="f53f",bP="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:hP,iconName:mP,icon:[vP,_P,TS,gP,bP]};cl.faPalette=cl.definition;cl.prefix=hP;cl.iconName=mP;cl.width=vP;cl.height=_P;cl.ligatures=TS;cl.unicode=gP;cl.svgPathData=bP;cl.aliases=TS});var EP=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var wP="fas",SP="bars-staggered",CP=512,xP=512,ES=["reorder","stream"],kP="f550",TP="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:wP,iconName:SP,icon:[CP,xP,ES,kP,TP]};ul.faBarsStaggered=ul.definition;ul.prefix=wP;ul.iconName=SP;ul.width=CP;ul.height=xP;ul.ligatures=ES;ul.unicode=kP;ul.svgPathData=TP;ul.aliases=ES});var PP=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var RP="fas",DP="rotate-left",AP=512,LP=512,RS=["rotate-back","rotate-backward","undo-alt"],NP="f2ea",OP="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:RP,iconName:DP,icon:[AP,LP,RS,NP,OP]};fl.faRotateLeft=fl.definition;fl.prefix=RP;fl.iconName=DP;fl.width=AP;fl.height=LP;fl.ligatures=RS;fl.unicode=NP;fl.svgPathData=OP;fl.aliases=RS});var HP=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var MP="fas",IP="rotate-right",BP=512,zP=512,DS=["redo-alt","rotate-forward"],FP="f2f9",jP="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:MP,iconName:IP,icon:[BP,zP,DS,FP,jP]};dl.faRotateRight=dl.definition;dl.prefix=MP;dl.iconName=IP;dl.width=BP;dl.height=zP;dl.ligatures=DS;dl.unicode=FP;dl.svgPathData=jP;dl.aliases=DS});var MS=Ue(()=>{"use strict"});var IS=Ue(()=>{"use strict"});var XP=G(Z5()),Os=G(Xk()),gm=G(dr()),zg=G(rr());var Fr={};Td(Fr,{$$fromRoot:()=>dt,Accordion:()=>Zw,Anchor:()=>uf,Box:()=>K,Button:()=>it,ColorObjects:()=>qh,Column:()=>Zt,Config:()=>vt,Cropper:()=>LS,DarkmodeColors:()=>KP,Effect:()=>pc,ExtractStyles:()=>Dl,FAI:()=>Ne,Flex:()=>Dt,FlexBr:()=>S7,GenerateHTMLProps:()=>xo,Grid:()=>Hd,Img:()=>ks,Input:()=>La,Label:()=>pg,LaunchReactApp:()=>Ig,LeftIcon:()=>Wd,LeftIndicator:()=>gg,LinkifyText:()=>B7,List:()=>z7,ListItem:()=>qd,Loader:()=>Eo,Logo:()=>Ts,OmitSign:()=>_g,P:()=>w7,PageNotFound:()=>$P,PageViewController:()=>N7,Placeholder:()=>y7,Plate:()=>T7,ReadStyleSet:()=>nm,RequiredShortSign:()=>vg,RequiredSign:()=>mg,RightIcon:()=>za,RightIndicator:()=>bg,RootViewController:()=>Rs,Row:()=>pt,SetThemeColorTag:()=>Wh,Sheet:()=>lr,Snackbar:()=>rs,Span:()=>yn,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Pg,Text:()=>nr,ThemeColors:()=>OS,Tips:()=>_c,Tooltips:()=>Na,amotify:()=>F$,default:()=>F$,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var WW=Object.defineProperty,qW=Object.defineProperties,YW=Object.getOwnPropertyDescriptors,H_=Object.getOwnPropertySymbols,nT=Object.prototype.hasOwnProperty,oT=Object.prototype.propertyIsEnumerable,iT=Math.pow,aT=(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={}))nT.call(a,o)&&aT(r,o,a[o]);if(H_)for(var o of H_(a))oT.call(a,o)&&aT(r,o,a[o]);return r},T=(r,a)=>qW(r,YW(a)),Ge=(r,a)=>{var o={};for(var l in r)nT.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&H_)for(var l of H_(r))a.indexOf(l)<0&&oT.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 PS={};Td(PS,{$$fromRoot:()=>dt,ColorObjects:()=>qh,Config:()=>vt,DarkmodeColors:()=>KP,ExtractStyles:()=>Dl,GenerateHTMLProps:()=>xo,LaunchReactApp:()=>Ig,ReadStyleSet:()=>nm,SetThemeColorTag:()=>Wh,ThemeColors:()=>OS,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var xl=G(rr());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}},vt={get:()=>Co,set:r=>{Co=_(_({},Co),r)},update:{themeColor:r=>{if(qh.find(o=>o.key==r)||(r="comun"),r==vt.get().themeColor)return;vt.set(T(_({},vt.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Wh()}),vt.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==vt.get().darkMode)return;let a=r=="auto"?vt.get().isSystemDarkmode()?"dark":"light":r;vt.set(T(_({},vt.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),vt.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=vt.get().roundness&&(vt.set(T(_({},vt.get()),{roundness:r})),vt.restart())},screen:r=>{vt.get().screen=_(_({},vt.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Co.appRoot=r.appRoot||document.body,Co.appRoot instanceof HTMLElement&&(Co.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&vt.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&vt.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&vt.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_"+vt.get().deviceIs,"bdsDM_"+vt.get().darkMode,"bdsTC_"+vt.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:()=>{vt.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")}}),Wh()},restart:()=>{kl.release("RootViewController_"+vt.get().sessionUID)}};var Vo=G(rr()),Nd=G(dr()),kl={catch:r=>{let[a]=(0,Nd.useState)((0,Vo.UUID)()),[o,l]=(0,Nd.useState)((0,Vo.UUID)()),[s,f]=(0,Nd.useState)(null),u="RefreshKey_"+a;return(0,Nd.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 gu=G(dr());var NS={};Td(NS,{Anchor:()=>uf,Button:()=>it,Cropper:()=>LS,Effect:()=>pc,Input:()=>La,Label:()=>pg,LeftIcon:()=>Wd,LeftIndicator:()=>gg,Loader:()=>Eo,OmitSign:()=>_g,PageNotFound:()=>$P,PageViewController:()=>N7,Plate:()=>T7,RequiredShortSign:()=>vg,RequiredSign:()=>mg,RightIcon:()=>za,RightIndicator:()=>bg,RootViewController:()=>Rs,Sheet:()=>lr,Snackbar:()=>rs,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Pg,Tips:()=>_c,Tooltips:()=>Na});var Tl=G(Rt()),du=G(dr()),wn=G(rr());var $w={};Td($w,{Box:()=>K,Column:()=>Zt,FAI:()=>Ne,Flex:()=>Dt,FlexBr:()=>S7,Grid:()=>Hd,Img:()=>ks,Logo:()=>Ts,P:()=>w7,Placeholder:()=>y7,Span:()=>yn});var cf=G(Rt());var cT=G(Rt());var K=r=>{let a=xo(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,cT.jsx)(s,_({},l)):null};var Ot=G(Rt());var yN=G(LE()),wN=G(FE()),SN=G(YE()),CN=G(ZE()),xN=G(iR()),kN=G(pR()),TN=G(yR()),EN=G(ER()),RN=G(PR()),DN=G(HR()),AN=G(GR()),LN=G(tD()),NN=G(sD()),ON=G(mD()),PN=G(SD()),MN=G(nw()),IN=G(iw()),BN=G(sw()),zN=G($D()),FN=G(t6()),jN=G(s6()),HN=G(m6()),UN=G(S6()),VN=G(A6()),WN=G(z6()),qN=G(q6()),YN=G(Z6()),$N=G(i8()),GN=G(p8()),KN=G(y8()),XN=G(E8()),QN=G(P8()),JN=G(H8()),ZN=G(K8()),e7=G(rA()),t7=G(cA()),r7=G(vA()),a7=G(xA()),n7=G(NA()),o7=G(FA()),i7=G(YA()),l7=G(ZA()),s7=G(iL()),c7=G(pL()),u7=G(yL()),f7=G(RL()),d7=G(IL()),p7=G(WL()),h7=G(QL()),m7=G(nN()),v7=G(dN()),_7=G(bN()),zt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=xo(l);return(0,Ot.jsx)(yN.FontAwesomeIcon,T(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=zt;Ne.User=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:u7.faUser})),Ne.Times=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:wN.faTimes})),Ne.AngleRight=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:SN.faAngleRight})),Ne.AngleLeft=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:CN.faAngleLeft})),Ne.AngleUp=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:xN.faAngleUp})),Ne.AngleDown=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:kN.faAngleDown})),Ne.ChevronLeft=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:TN.faChevronLeft})),Ne.ChevronRight=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:EN.faChevronRight})),Ne.ChevronUp=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:RN.faChevronUp})),Ne.ChevronDown=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:DN.faChevronDown})),Ne.CaretLeft=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:AN.faCaretLeft})),Ne.CaretRight=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:LN.faCaretRight})),Ne.CaretUp=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:NN.faCaretUp})),Ne.CaretDown=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:ON.faCaretDown})),Ne.ArrowLeft=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:PN.faArrowLeft})),Ne.ArrowRight=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:MN.faArrowRight})),Ne.ArrowUp=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:IN.faArrowUp})),Ne.ArrowDown=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:BN.faArrowDown})),Ne.Rotate=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:zN.faRotate})),Ne.Redo=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:FN.faRedo})),Ne.Check=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:jN.faCheck})),Ne.CheckCircle=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:f7.faCheckCircle})),Ne.Question=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:HN.faQuestion})),Ne.QuestionCircle=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:d7.faQuestionCircle})),Ne.Exclamation=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:UN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:VN.faExclamationTriangle})),Ne.Home=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:WN.faHome})),Ne.Share=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:qN.faShare})),Ne.Search=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:YN.faSearch})),Ne.YenSign=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:$N.faYenSign})),Ne.Heart=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:l7.faHeart})),Ne.Star=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:o7.faStar})),Ne.Edit=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:p7.faEdit})),Ne.Pen=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:GN.faPen})),Ne.Copy=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:h7.faCopy})),Ne.File=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:m7.faFile})),Ne.TrashAlt=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:v7.faTrashAlt})),Ne.Bars=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:KN.faBars})),Ne.Download=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:XN.faDownload})),Ne.Link=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:QN.faLink})),Ne.LinkSlash=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:JN.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:ZN.faExternalLinkAlt})),Ne.Gear=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:e7.faGear})),Ne.Plus=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:t7.faPlus})),Ne.Minus=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:r7.faMinus})),Ne.EllipsisH=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:a7.faEllipsisH})),Ne.EllipsisV=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:n7.faEllipsisV})),Ne.PaperPlane=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:i7.faPaperPlane})),Ne.Image=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:_7.faImage})),Ne.Ban=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:s7.faBan})),Ne.Location=r=>(0,Ot.jsx)(zt,T(_({},r),{icon:c7.faLocationCrosshairs}));var g7=G(Rt());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_cr5w8_1",Wrapper:"_Wrapper_cr5w8_9",Wrap:"_Wrap_cr5w8_9",Content:"_Content_cr5w8_16",TapSensor:"_TapSensor_cr5w8_35",TapContent:"_TapContent_cr5w8_45",Hide:"_Hide_cr5w8_52",Open:"_Open_cr5w8_55",isMainSheet_true:"_isMainSheet_true_cr5w8_55",isMainSheet_false:"_isMainSheet_false_cr5w8_61",BB:"_BB_cr5w8_61",Tcate_normal:"_Tcate_normal_cr5w8_64",BaseBody:"_BaseBody_cr5w8_68",Tcate_drawer:"_Tcate_drawer_cr5w8_83",Tpos_left:"_Tpos_left_cr5w8_83",Tpos_right:"_Tpos_right_cr5w8_98",Tpos_bottom:"_Tpos_bottom_cr5w8_113",DragBar:"_DragBar_cr5w8_120",Tcate_custom:"_Tcate_custom_cr5w8_128",CustomSheet:"_CustomSheet_cr5w8_136",GPT:"_GPT_cr5w8_139",Col_1:"_Col_1_cr5w8_139",Row_1:"_Row_1_cr5w8_139",Row_4:"_Row_4_cr5w8_139",Col_4:"_Col_4_cr5w8_139",Row_2:"_Row_2_cr5w8_142",Row_5:"_Row_5_cr5w8_142",Col_2:"_Col_2_cr5w8_145",Col_5:"_Col_5_cr5w8_145",GPT_3:"_GPT_3_cr5w8_151",GPT_18:"_GPT_18_cr5w8_151",GPT_8:"_GPT_8_cr5w8_154",GPT_23:"_GPT_23_cr5w8_154",GPT_11:"_GPT_11_cr5w8_157",GPT_14:"_GPT_14_cr5w8_157",GPT_12:"_GPT_12_cr5w8_160",GPT_15:"_GPT_15_cr5w8_160",Col_3:"_Col_3_cr5w8_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_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},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"},Vw=r=>UY[r],Zi=r=>VY[r],ug=r=>WY[r],Ww=r=>qY[r],am=r=>YY[r],oa=r=>$Y[r],xa=r=>GY[r],Aa=r=>KY[r],Kt=r=>XY[r],Kl=r=>QY[r],cu=r=>JY[r],of=r=>ZY[r],jd=r=>e$[r];var Xl=r=>t$[r],lf=r=>r$[r],Ql=r=>a$[r],sf=r=>n$[r],xs=r=>o$[r],ka=r=>i$[r];var fg=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)(K,T(_({htmlTag:"img",src:o,alt:l},f),{className:[Vw("Img"),Vw("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(),lr.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var ar=G(Rt()),qw=G(rr());var b7={ComunIcon:()=>(0,ar.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,ar.jsxs)("g",{children:[(0,ar.jsx)("path",{d:`
923
+ }`;g5=!1;Sq={mixout:function(){return{dom:{css:G5,insertCss:c2}}},hooks:function(){return{beforeDOMElementCreation:function(){c2()},beforeI2svg:function(){c2()}}}},su=ic||{};su[lu]||(su[lu]={});su[lu].styles||(su[lu].styles={});su[lu].hooks||(su[lu].hooks={});su[lu].shims||(su[lu].shims=[]);Gl=su[lu],K5=[],wq=function r(){ya.removeEventListener("DOMContentLoaded",r),rg=1,K5.map(function(a){return a()})},rg=!1;cu&&(rg=(ya.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ya.readyState),rg||ya.addEventListener("DOMContentLoaded",wq));xq=function(a,o){return function(l,s,f,c){return a.call(o,l,s,f,c)}},f2=function(a,o,l,s){var f=Object.keys(a),c=f.length,h=s!==void 0?xq(o,s):o,p,m,g;for(l===void 0?(p=1,g=a[f[0]]):(p=0,g=l);p<c;p++)m=f[p],g=h(g,a[m],m,a);return g};Od=Gl.styles,Eq=Gl.shims,Rq=(X_={},fn(X_,ba,Object.values(Qh[ba])),fn(X_,za,Object.values(Qh[za])),X_),N2=null,X5={},Q5={},J5={},Z5={},eE={},Dq=(Q_={},fn(Q_,ba,Object.keys(Kh[ba])),fn(Q_,za,Object.keys(Kh[za])),Q_);tE=function(){var a=function(f){return f2(Od,function(c,h,p){return c[p]=f2(h,f,{}),c},{})};X5=a(function(s,f,c){if(f[3]&&(s[f[3]]=c),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),Q5=a(function(s,f,c){if(s[c]=c,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),eE=a(function(s,f,c){var h=f[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var o="far"in Od||xt.autoFetchSvg,l=f2(Eq,function(s,f){var c=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof c=="string"&&(s.names[c]={prefix:h,iconName:p}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});J5=l.names,Z5=l.unicodes,N2=og(xt.styleDefault,{family:xt.familyDefault})};hq(function(r){N2=og(r.styleDefault,{family:xt.familyDefault})});tE();P2=function(){return{prefix:null,iconName:null,rest:[]}};S5=(J_={},fn(J_,ba,Object.keys(Qh[ba])),fn(J_,za,Object.keys(Qh[za])),J_);Pq=function(){function r(){$W(this,r),this.definitions={}}return GW(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 c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){o.definitions[h]=_t(_t({},o.definitions[h]||{}),c[h]),g2(h,c[h]);var p=Qh[ba][h];p&&g2(p,c[h]),tE()})}},{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 c=s[f],h=c.prefix,p=c.iconName,m=c.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}(),w5=[],Pd={},Md={},Mq=Object.keys(Md);aE=new Pq,zq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,nf("noAuto")},Bq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cu?(nf("beforeI2svg",a),uu("pseudoElements2svg",a),uu("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,Cq(function(){jq({autoReplaceSvgRoot:o}),nf("watch",a)})}},Fq={icon:function(a){if(a===null)return null;if(tg(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:rf(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=og(a[0]);return{prefix:l,iconName:rf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(iq))){var s=ig(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lc(),iconName:rf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lc();return{prefix:f,iconName:rf(f,a)||a}}}},ko={noAuto:zq,config:xt,dom:Bq,parse:Fq,library:aE,findIconDefinition:y2,toHtml:rm},jq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ya:o;(Object.keys(Gl.styles).length>0||xt.autoFetchSvg)&&cu&&xt.autoReplaceSvg&&ko.dom.i2svg({node:l})};d2=Gl.styles;Wq={found:!1,width:512,height:512};x5=function(){},C2=xt.measurePerformance&&W_&&W_.mark&&W_.measure?W_:{mark:x5,measure:x5},Yh='FA "6.4.2"',Yq=function(a){return C2.mark("".concat(Yh," ").concat(a," begins")),function(){return nE(a)}},nE=function(a){C2.mark("".concat(Yh," ").concat(a," ends")),C2.measure("".concat(Yh," ").concat(a),"".concat(Yh," ").concat(a," begins"),"".concat(Yh," ").concat(a," ends"))},I2={begin:Yq,end:nE},Z_=function(){};eg={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(oE(s),o)}),o.getAttribute(af)===null&&xt.keepOriginalSource){var l=ya.createComment(Jq(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~A2(o).indexOf(xt.replacementClass))return eg.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 c=l.map(function(h){return rm(h)}).join(`
924
+ `);o.setAttribute(af,""),o.innerHTML=c}};z2=!1;ag=null;nY=Gl.styles;sc=new Set;D2.map(function(r){sc.add("fa-".concat(r))});Object.keys(Kh[ba]).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,C=b===void 0?null:b,S=o.titleId,k=S===void 0?null:S,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,P=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,O=a.iconName,te=a.icon;return lg(_t({type:"icon"},a),function(){return nf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(C?P["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||Zh()):(P["aria-hidden"]="true",P.focusable="false")),M2({icons:{main:S2(te),mask:p?S2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:O,transform:_t(_t({},Cs),s),symbol:c,title:C,maskId:g,titleId:k,extra:{attributes:P,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?ya: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,C=l.extra;return new Promise(function(S,k){Promise.all([w2(s,h),g.iconName?w2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=k2(L,2),Y=M[0],P=M[1];S([o,M2({icons:{main:Y,mask:P},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:c,extra:C,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=ng(h);p.length>0&&(s.style=p);var m;return L2(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 lg({type:"layer"},function(){nf("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 lg({type:"counter",content:o},function(){return nf("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,C=l.styles,S=C===void 0?{}:C;return lg({type:"text",content:o},function(){return nf("beforeDOMElementCreation",{content:o,params:l}),C5({content:o,transform:_t(_t({},Cs),f),title:h,extra:{attributes:b,styles:S,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?ya:l;xt.searchPseudoElements&&N5(s)}}},O5=!1,_Y={mixout:function(){return{dom:{unwatch:function(){lE(),O5=!0}}}},hooks:function(){return{bootstrap:function(){E5(b2("mutationObserverCallbacks",{}))},noAuto:function(){Zq()},watch:function(o){var l=o.observeMutationsRoot;O5?x2():E5(b2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},P5=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 P5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=P5(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)},C={transform:"translate(".concat(c/2*-1," -256)")},S={outer:h,inner:b,path:C};return{tag:"g",attributes:_t({},S.outer),children:[{tag:"g",attributes:_t({},S.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:_t(_t({},l.icon.attributes),S.path)}]}]}}}},p2={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?ig(s.split(" ").map(function(c){return c.trim()})):P2();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,C=c.icon,S=gq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:_t(_t({},p2),{},{fill:"white"})},L=g.children?{children:g.children.map(M5)}:{},M={tag:"g",attributes:_t({},S.inner),children:[M5(_t({tag:g.tag,attributes:_t(_t({},g.attributes),S.path)},L))]},Y={tag:"g",attributes:_t({},S.outer),children:[M]},P="mask-".concat(h||Zh()),j="clip-".concat(h||Zh()),F={tag:"mask",attributes:_t(_t({},p2),{},{id:P,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:bY(C)},F]};return l.push(Q,{tag:"rect",attributes:_t({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(P,")")},p2)}),{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,PY=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,C=r?Symbol.for("react.suspense_list"):60120,S=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,P=r?Symbol.for("react.scope"):60119;function j(Ce){return typeof Ce=="string"||typeof Ce=="function"||Ce===l||Ce===m||Ce===f||Ce===s||Ce===b||Ce===C||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===k||Ce.$$typeof===S||Ce.$$typeof===c||Ce.$$typeof===h||Ce.$$typeof===g||Ce.$$typeof===M||Ce.$$typeof===Y||Ce.$$typeof===P||Ce.$$typeof===L)}function F(Ce){if(typeof Ce=="object"&&Ce!==null){var wt=Ce.$$typeof;switch(wt){case a:var It=Ce.type;switch(It){case p:case m:case l:case f:case s:case b:return It;default:var qt=It&&It.$$typeof;switch(qt){case h:case g:case k:case S:case c:return qt;default:return wt}}case o:return wt}}}var Q=p,O=m,te=h,me=c,ae=a,we=g,Se=l,ge=k,H=S,ie=o,fe=f,B=s,q=b,ne=!1;function Z(Ce){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.")),se(Ce)||F(Ce)===p}function se(Ce){return F(Ce)===m}function ye(Ce){return F(Ce)===h}function be(Ce){return F(Ce)===c}function Oe(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===a}function We(Ce){return F(Ce)===g}function $e(Ce){return F(Ce)===l}function ht(Ce){return F(Ce)===k}function Mt(Ce){return F(Ce)===S}function lt(Ce){return F(Ce)===o}function yt(Ce){return F(Ce)===f}function ct(Ce){return F(Ce)===s}function tt(Ce){return F(Ce)===b}ea.AsyncMode=Q,ea.ConcurrentMode=O,ea.ContextConsumer=te,ea.ContextProvider=me,ea.Element=ae,ea.ForwardRef=we,ea.Fragment=Se,ea.Lazy=ge,ea.Memo=H,ea.Portal=ie,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=q,ea.isAsyncMode=Z,ea.isConcurrentMode=se,ea.isContextConsumer=ye,ea.isContextProvider=be,ea.isElement=Oe,ea.isForwardRef=We,ea.isFragment=$e,ea.isLazy=ht,ea.isMemo=Mt,ea.isPortal=lt,ea.isProfiler=yt,ea.isStrictMode=ct,ea.isSuspense=tt,ea.isValidElementType=j,ea.typeOf=F})()});var B2=Ue((_G,dE)=>{"use strict";dE.exports=fE()});var mE=Ue((gG,hE)=>{"use strict";var pE=Object.getOwnPropertySymbols,MY=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)MY.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 F2=Ue((bG,vE)=>{"use strict";var FY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";vE.exports=FY});var j2=Ue((yG,_E)=>{_E.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var wE=Ue((SG,SE)=>{"use strict";var H2=function(){};gE=F2(),sg={},bE=j2(),H2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var gE,sg,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)&&H2((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 sg)){sg[c.message]=!0;var p=s?s():"";H2("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}yE.resetWarningCache=function(){sg={}};SE.exports=yE});var kE=Ue((wG,xE)=>{"use strict";var jY=B2(),HY=mE(),Bd=F2(),U2=j2(),CE=wE(),Fd=function(){};Fd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function ug(){return null}xE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var ie=H&&(o&&H[o]||H[l]);if(typeof ie=="function")return ie}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:C,element:S(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:P,shape:Q,exact:O};function h(H,ie){return H===ie?H!==0||1/H===1/ie:H!==H&&ie!==ie}function p(H,ie){this.message=H,this.data=ie&&typeof ie=="object"?ie:{},this.stack=""}p.prototype=Error.prototype;function m(H){var ie={},fe=0;function B(ne,Z,se,ye,be,Oe,We){if(ye=ye||f,Oe=Oe||se,We!==Bd){if(a){var $e=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 $e.name="Invariant Violation",$e}else if(typeof console!="undefined"){var ht=ye+":"+se;!ie[ht]&&fe<3&&(Fd("You are manually calling a React.PropTypes validation function for the `"+Oe+"` prop on `"+ye+"`. 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."),ie[ht]=!0,fe++)}}return Z[se]==null?ne?Z[se]===null?new p("The "+be+" `"+Oe+"` is marked as required "+("in `"+ye+"`, but its value is `null`.")):new p("The "+be+" `"+Oe+"` is marked as required in "+("`"+ye+"`, but its value is `undefined`.")):null:H(Z,se,ye,be,Oe)}var q=B.bind(null,!1);return q.isRequired=B.bind(null,!0),q}function g(H){function ie(fe,B,q,ne,Z,se){var ye=fe[B],be=ae(ye);if(be!==H){var Oe=we(ye);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+Oe+"` supplied to `"+q+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(ie)}function b(){return m(ug)}function C(H){function ie(fe,B,q,ne,Z){if(typeof H!="function")return new p("Property `"+Z+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var se=fe[B];if(!Array.isArray(se)){var ye=ae(se);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected an array."))}for(var be=0;be<se.length;be++){var Oe=H(se,be,q,ne,Z+"["+be+"]",Bd);if(Oe instanceof Error)return Oe}return null}return m(ie)}function S(){function H(ie,fe,B,q,ne){var Z=ie[fe];if(!r(Z)){var se=ae(Z);return new p("Invalid "+q+" `"+ne+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(ie,fe,B,q,ne){var Z=ie[fe];if(!jY.isValidElementType(Z)){var se=ae(Z);return new p("Invalid "+q+" `"+ne+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function ie(fe,B,q,ne,Z){if(!(fe[B]instanceof H)){var se=H.name||f,ye=ge(fe[B]);return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected ")+("instance of `"+se+"`."))}return null}return m(ie)}function M(H){if(!Array.isArray(H))return arguments.length>1?Fd("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])."):Fd("Invalid argument supplied to oneOf, expected an array."),ug;function ie(fe,B,q,ne,Z){for(var se=fe[B],ye=0;ye<H.length;ye++)if(h(se,H[ye]))return null;var be=JSON.stringify(H,function(We,$e){var ht=we($e);return ht==="symbol"?String($e):$e});return new p("Invalid "+ne+" `"+Z+"` of value `"+String(se)+"` "+("supplied to `"+q+"`, expected one of "+be+"."))}return m(ie)}function Y(H){function ie(fe,B,q,ne,Z){if(typeof H!="function")return new p("Property `"+Z+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var se=fe[B],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected an object."));for(var be in se)if(U2(se,be)){var Oe=H(se,be,q,ne,Z+"."+be,Bd);if(Oe instanceof Error)return Oe}return null}return m(ie)}function P(H){if(!Array.isArray(H))return Fd("Invalid argument supplied to oneOfType, expected an instance of array."),ug;for(var ie=0;ie<H.length;ie++){var fe=H[ie];if(typeof fe!="function")return Fd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Se(fe)+" at index "+ie+"."),ug}function B(q,ne,Z,se,ye){for(var be=[],Oe=0;Oe<H.length;Oe++){var We=H[Oe],$e=We(q,ne,Z,se,ye,Bd);if($e==null)return null;$e.data&&U2($e.data,"expectedType")&&be.push($e.data.expectedType)}var ht=be.length>0?", expected one of type ["+be.join(", ")+"]":"";return new p("Invalid "+se+" `"+ye+"` supplied to "+("`"+Z+"`"+ht+"."))}return m(B)}function j(){function H(ie,fe,B,q,ne){return te(ie[fe])?null:new p("Invalid "+q+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,ie,fe,B,q){return new p((H||"React class")+": "+ie+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function Q(H){function ie(fe,B,q,ne,Z){var se=fe[B],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type `"+ye+"` "+("supplied to `"+q+"`, expected `object`."));for(var be in H){var Oe=H[be];if(typeof Oe!="function")return F(q,ne,Z,be,we(Oe));var We=Oe(se,be,q,ne,Z+"."+be,Bd);if(We)return We}return null}return m(ie)}function O(H){function ie(fe,B,q,ne,Z){var se=fe[B],ye=ae(se);if(ye!=="object")return new p("Invalid "+ne+" `"+Z+"` of type `"+ye+"` "+("supplied to `"+q+"`, expected `object`."));var be=HY({},fe[B],H);for(var Oe in be){var We=H[Oe];if(U2(H,Oe)&&typeof We!="function")return F(q,ne,Z,Oe,we(We));if(!We)return new p("Invalid "+ne+" `"+Z+"` key `"+Oe+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
925
+ Valid keys: `+JSON.stringify(Object.keys(H),null," "));var $e=We(se,Oe,q,ne,Z+"."+Oe,Bd);if($e)return $e}return null}return m(ie)}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 ie=s(H);if(ie){var fe=ie.call(H),B;if(ie!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var q=B.value;if(q&&!te(q[1]))return!1}}else return!1;return!0;default:return!1}}function me(H,ie){return H==="symbol"?!0:ie?ie["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ie instanceof Symbol:!1}function ae(H){var ie=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":me(ie,H)?"symbol":ie}function we(H){if(typeof H=="undefined"||H===null)return""+H;var ie=ae(H);if(ie==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return ie}function Se(H){var ie=we(H);switch(ie){case"array":case"object":return"an "+ie;case"boolean":case"date":case"regexp":return"a "+ie;default:return ie}}function ge(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return c.checkPropTypes=CE,c.resetWarningCache=CE.resetWarningCache,c.PropTypes=c,c}});var DE=Ue((CG,RE)=>{TE=B2(),EE=!0,RE.exports=kE()(TE.isElement,EE);var TE,EE});var LE=Ue((cg,AE)=>{(function(r,a){typeof cg=="object"&&typeof AE!="undefined"?a(cg,(cE(),kV(uE)),DE(),dr()):typeof define=="function"&&define.amd?define(["exports","@fortawesome/fontawesome-svg-core","prop-types","react"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r["react-fontawesome"]={},r.FontAwesome,r.PropTypes,r.React))})(cg,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),c=s(l);function h(B,q){var ne=Object.keys(B);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(B);q&&(Z=Z.filter(function(se){return Object.getOwnPropertyDescriptor(B,se).enumerable})),ne.push.apply(ne,Z)}return ne}function p(B){for(var q=1;q<arguments.length;q++){var ne=arguments[q]!=null?arguments[q]:{};q%2?h(Object(ne),!0).forEach(function(Z){g(B,Z,ne[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(Z){Object.defineProperty(B,Z,Object.getOwnPropertyDescriptor(ne,Z))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},m(B)}function g(B,q,ne){return q in B?Object.defineProperty(B,q,{value:ne,enumerable:!0,configurable:!0,writable:!0}):B[q]=ne,B}function b(B,q){if(B==null)return{};var ne={},Z=Object.keys(B),se,ye;for(ye=0;ye<Z.length;ye++)se=Z[ye],!(q.indexOf(se)>=0)&&(ne[se]=B[se]);return ne}function C(B,q){if(B==null)return{};var ne=b(B,q),Z,se;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(B);for(se=0;se<ye.length;se++)Z=ye[se],!(q.indexOf(Z)>=0)&&Object.prototype.propertyIsEnumerable.call(B,Z)&&(ne[Z]=B[Z])}return ne}function S(B){return k(B)||L(B)||M(B)||P()}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,q){if(B){if(typeof B=="string")return Y(B,q);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,q)}}function Y(B,q){(q==null||q>B.length)&&(q=B.length);for(var ne=0,Z=new Array(q);ne<q;ne++)Z[ne]=B[ne];return Z}function P(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
926
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var q,ne=B.beat,Z=B.fade,se=B.beatFade,ye=B.bounce,be=B.shake,Oe=B.flash,We=B.spin,$e=B.spinPulse,ht=B.spinReverse,Mt=B.pulse,lt=B.fixedWidth,yt=B.inverse,ct=B.border,tt=B.listItem,Ce=B.flip,wt=B.size,It=B.rotation,qt=B.pull,jt=(q={"fa-beat":ne,"fa-fade":Z,"fa-beat-fade":se,"fa-bounce":ye,"fa-shake":be,"fa-flash":Oe,"fa-spin":We,"fa-spin-reverse":ht,"fa-spin-pulse":$e,"fa-pulse":Mt,"fa-fw":lt,"fa-inverse":yt,"fa-border":ct,"fa-li":tt,"fa-flip":Ce===!0,"fa-flip-horizontal":Ce==="horizontal"||Ce==="both","fa-flip-vertical":Ce==="vertical"||Ce==="both"},g(q,"fa-".concat(wt),typeof wt!="undefined"&&wt!==null),g(q,"fa-rotate-".concat(It),typeof It!="undefined"&&It!==null&&It!==0),g(q,"fa-pull-".concat(qt),typeof qt!="undefined"&&qt!==null),g(q,"fa-swap-opacity",B.swapOpacity),q);return Object.keys(jt).map(function(tr){return jt[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(q,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var O=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function me(B){return B.split(";").map(function(q){return q.trim()}).filter(function(q){return q}).reduce(function(q,ne){var Z=ne.indexOf(":"),se=Q(ne.slice(0,Z)),ye=ne.slice(Z+1).trim();return se.startsWith("webkit")?q[te(se)]=ye:q[se]=ye,q},{})}function ae(B,q){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof q=="string")return q;var Z=(q.children||[]).map(function(We){return ae(B,We)}),se=Object.keys(q.attributes||{}).reduce(function(We,$e){var ht=q.attributes[$e];switch($e){case"class":We.attrs.className=ht,delete q.attributes.class;break;case"style":We.attrs.style=me(ht);break;default:$e.indexOf("aria-")===0||$e.indexOf("data-")===0?We.attrs[$e.toLowerCase()]=ht:We.attrs[Q($e)]=ht}return We},{attrs:{}}),ye=ne.style,be=ye===void 0?{}:ye,Oe=C(ne,O);return se.attrs.style=p(p({},se.attrs.style),be),B.apply(void 0,[q.tag,p(p({},se.attrs),Oe)].concat(S(Z)))}var we=!1;try{we=!1}catch(B){}function Se(){if(!we&&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,q){return Array.isArray(q)&&q.length>0||!Array.isArray(q)&&q?g({},B,q):{}}var ie=c.default.forwardRef(function(B,q){var ne=B.icon,Z=B.mask,se=B.symbol,ye=B.className,be=B.title,Oe=B.titleId,We=B.maskId,$e=ge(ne),ht=H("classes",[].concat(S(j(B)),S(ye.split(" ")))),Mt=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ge(Z)),yt=a.icon($e,p(p(p(p({},ht),Mt),lt),{},{symbol:se,title:be,titleId:Oe,maskId:We}));if(!yt)return Se("Could not find icon",$e),null;var ct=yt.abstract,tt={ref:q};return Object.keys(B).forEach(function(Ce){ie.defaultProps.hasOwnProperty(Ce)||(tt[Ce]=B[Ce])}),fe(ct[0],tt)});ie.displayName="FontAwesomeIcon",ie.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},ie.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=ae.bind(null,c.default.createElement);r.FontAwesomeIcon=ie,Object.defineProperty(r,"__esModule",{value:!0})})});var BE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var NE="fas",OE="xmark",PE=384,ME=512,V2=[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:[PE,ME,V2,IE,zE]};Wo.faXmark=Wo.definition;Wo.prefix=NE;Wo.iconName=OE;Wo.width=PE;Wo.height=ME;Wo.ligatures=V2;Wo.unicode=IE;Wo.svgPathData=zE;Wo.aliases=V2});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,W2=[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,W2,WE,qE]};Yo.faAngleRight=Yo.definition;Yo.prefix=jE;Yo.iconName=HE;Yo.width=UE;Yo.height=VE;Yo.ligatures=W2;Yo.unicode=WE;Yo.svgPathData=qE;Yo.aliases=W2});var ZE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var $E="fas",GE="angle-left",KE=320,XE=512,q2=[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,q2,QE,JE]};$o.faAngleLeft=$o.definition;$o.prefix=$E;$o.iconName=GE;$o.width=KE;$o.height=XE;$o.ligatures=q2;$o.unicode=QE;$o.svgPathData=JE;$o.aliases=q2});var iR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eR="fas",tR="angle-up",rR=448,aR=512,Y2=[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,Y2,nR,oR]};Go.faAngleUp=Go.definition;Go.prefix=eR;Go.iconName=tR;Go.width=rR;Go.height=aR;Go.ligatures=Y2;Go.unicode=nR;Go.svgPathData=oR;Go.aliases=Y2});var pR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var lR="fas",sR="angle-down",uR=448,cR=512,$2=[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,$2,fR,dR]};Ko.faAngleDown=Ko.definition;Ko.prefix=lR;Ko.iconName=sR;Ko.width=uR;Ko.height=cR;Ko.ligatures=$2;Ko.unicode=fR;Ko.svgPathData=dR;Ko.aliases=$2});var yR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var hR="fas",mR="chevron-left",vR=320,_R=512,G2=[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,G2,gR,bR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=hR;Xo.iconName=mR;Xo.width=vR;Xo.height=_R;Xo.ligatures=G2;Xo.unicode=gR;Xo.svgPathData=bR;Xo.aliases=G2});var ER=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var SR="fas",wR="chevron-right",CR=320,xR=512,K2=[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,K2,kR,TR]};Qo.faChevronRight=Qo.definition;Qo.prefix=SR;Qo.iconName=wR;Qo.width=CR;Qo.height=xR;Qo.ligatures=K2;Qo.unicode=kR;Qo.svgPathData=TR;Qo.aliases=K2});var PR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var RR="fas",DR="chevron-up",AR=512,LR=512,X2=[],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,X2,NR,OR]};Jo.faChevronUp=Jo.definition;Jo.prefix=RR;Jo.iconName=DR;Jo.width=AR;Jo.height=LR;Jo.ligatures=X2;Jo.unicode=NR;Jo.svgPathData=OR;Jo.aliases=X2});var HR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var MR="fas",IR="chevron-down",zR=512,BR=512,Q2=[],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:MR,iconName:IR,icon:[zR,BR,Q2,FR,jR]};Zo.faChevronDown=Zo.definition;Zo.prefix=MR;Zo.iconName=IR;Zo.width=zR;Zo.height=BR;Zo.ligatures=Q2;Zo.unicode=FR;Zo.svgPathData=jR;Zo.aliases=Q2});var GR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var UR="fas",VR="caret-left",WR=256,qR=512,J2=[],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,J2,YR,$R]};ei.faCaretLeft=ei.definition;ei.prefix=UR;ei.iconName=VR;ei.width=WR;ei.height=qR;ei.ligatures=J2;ei.unicode=YR;ei.svgPathData=$R;ei.aliases=J2});var tD=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var KR="fas",XR="caret-right",QR=256,JR=512,Z2=[],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,Z2,ZR,eD]};ti.faCaretRight=ti.definition;ti.prefix=KR;ti.iconName=XR;ti.width=QR;ti.height=JR;ti.ligatures=Z2;ti.unicode=ZR;ti.svgPathData=eD;ti.aliases=Z2});var sD=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var rD="fas",aD="caret-up",nD=320,oD=512,eS=[],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,eS,iD,lD]};ri.faCaretUp=ri.definition;ri.prefix=rD;ri.iconName=aD;ri.width=nD;ri.height=oD;ri.ligatures=eS;ri.unicode=iD;ri.svgPathData=lD;ri.aliases=eS});var mD=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var uD="fas",cD="caret-down",fD=320,dD=512,tS=[],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,tS,pD,hD]};ai.faCaretDown=ai.definition;ai.prefix=uD;ai.iconName=cD;ai.width=fD;ai.height=dD;ai.ligatures=tS;ai.unicode=pD;ai.svgPathData=hD;ai.aliases=tS});var wD=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var vD="fas",_D="arrow-left",gD=448,bD=512,rS=[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,rS,yD,SD]};ni.faArrowLeft=ni.definition;ni.prefix=vD;ni.iconName=_D;ni.width=gD;ni.height=bD;ni.ligatures=rS;ni.unicode=yD;ni.svgPathData=SD;ni.aliases=rS});var nS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var CD="fas",xD="arrow-right",kD=448,TD=512,aS=[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,aS,ED,RD]};oi.faArrowRight=oi.definition;oi.prefix=CD;oi.iconName=xD;oi.width=kD;oi.height=TD;oi.ligatures=aS;oi.unicode=ED;oi.svgPathData=RD;oi.aliases=aS});var iS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var DD="fas",AD="arrow-up",LD=384,ND=512,oS=[8593],OD="f062",PD="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,oS,OD,PD]};ii.faArrowUp=ii.definition;ii.prefix=DD;ii.iconName=AD;ii.width=LD;ii.height=ND;ii.ligatures=oS;ii.unicode=OD;ii.svgPathData=PD;ii.aliases=oS});var sS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var MD="fas",ID="arrow-down",zD=384,BD=512,lS=[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:MD,iconName:ID,icon:[zD,BD,lS,FD,jD]};li.faArrowDown=li.definition;li.prefix=MD;li.iconName=ID;li.width=zD;li.height=BD;li.ligatures=lS;li.unicode=FD;li.svgPathData=jD;li.aliases=lS});var $D=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var HD="fas",UD="rotate",VD=512,WD=512,uS=[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,uS,qD,YD]};si.faRotate=si.definition;si.prefix=HD;si.iconName=UD;si.width=VD;si.height=WD;si.ligatures=uS;si.unicode=qD;si.svgPathData=YD;si.aliases=uS});var e6=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var GD="fas",KD="arrow-rotate-right",XD=512,QD=512,cS=[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,cS,JD,ZD]};ui.faArrowRotateRight=ui.definition;ui.prefix=GD;ui.iconName=KD;ui.width=XD;ui.height=QD;ui.ligatures=cS;ui.unicode=JD;ui.svgPathData=ZD;ui.aliases=cS});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,fS=[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,fS,i6,l6]};fi.faCheck=fi.definition;fi.prefix=r6;fi.iconName=a6;fi.width=n6;fi.height=o6;fi.ligatures=fS;fi.unicode=i6;fi.svgPathData=l6;fi.aliases=fS});var m6=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var u6="fas",c6="question",f6=320,d6=512,dS=[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,dS,p6,h6]};di.faQuestion=di.definition;di.prefix=u6;di.iconName=c6;di.width=f6;di.height=d6;di.ligatures=dS;di.unicode=p6;di.svgPathData=h6;di.aliases=dS});var w6=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var v6="fas",_6="exclamation",g6=128,b6=512,pS=[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,pS,y6,S6]};pi.faExclamation=pi.definition;pi.prefix=v6;pi.iconName=_6;pi.width=g6;pi.height=b6;pi.ligatures=pS;pi.unicode=y6;pi.svgPathData=S6;pi.aliases=pS});var D6=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var C6="fas",x6="triangle-exclamation",k6=512,T6=512,hS=[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,hS,E6,R6]};hi.faTriangleExclamation=hi.definition;hi.prefix=C6;hi.iconName=x6;hi.width=k6;hi.height=T6;hi.ligatures=hS;hi.unicode=E6;hi.svgPathData=R6;hi.aliases=hS});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,P6=512,mS=[127968,63498,63500,"home","home-alt","home-lg-alt"],M6="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,P6,mS,M6,I6]};vi.faHouse=vi.definition;vi.prefix=L6;vi.iconName=N6;vi.width=O6;vi.height=P6;vi.ligatures=mS;vi.unicode=M6;vi.svgPathData=I6;vi.aliases=mS});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,vS=["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,vS,V6,W6]};gi.faShare=gi.definition;gi.prefix=F6;gi.iconName=j6;gi.width=H6;gi.height=U6;gi.ligatures=vS;gi.unicode=V6;gi.svgPathData=W6;gi.aliases=vS});var J6=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var Y6="fas",$6="magnifying-glass",G6=512,K6=512,_S=[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,_S,X6,Q6]};bi.faMagnifyingGlass=bi.definition;bi.prefix=Y6;bi.iconName=$6;bi.width=G6;bi.height=K6;bi.ligatures=_S;bi.unicode=X6;bi.svgPathData=Q6;bi.aliases=_S});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,gS=[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,gS,nA,oA]};Si.faYenSign=Si.definition;Si.prefix=eA;Si.iconName=tA;Si.width=rA;Si.height=aA;Si.ligatures=gS;Si.unicode=nA;Si.svgPathData=oA;Si.aliases=gS});var pA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var lA="fas",sA="pen",uA=512,cA=512,bS=[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,bS,fA,dA]};wi.faPen=wi.definition;wi.prefix=lA;wi.iconName=sA;wi.width=uA;wi.height=cA;wi.ligatures=bS;wi.unicode=fA;wi.svgPathData=dA;wi.aliases=bS});var yA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var hA="fas",mA="bars",vA=448,_A=512,yS=["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,yS,gA,bA]};Ci.faBars=Ci.definition;Ci.prefix=hA;Ci.iconName=mA;Ci.width=vA;Ci.height=_A;Ci.ligatures=yS;Ci.unicode=gA;Ci.svgPathData=bA;Ci.aliases=yS});var EA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var SA="fas",wA="download",CA=512,xA=512,SS=[],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,SS,kA,TA]};xi.faDownload=xi.definition;xi.prefix=SA;xi.iconName=wA;xi.width=CA;xi.height=xA;xi.ligatures=SS;xi.unicode=kA;xi.svgPathData=TA;xi.aliases=SS});var PA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var RA="fas",DA="link",AA=640,LA=512,wS=[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,wS,NA,OA]};ki.faLink=ki.definition;ki.prefix=RA;ki.iconName=DA;ki.width=AA;ki.height=LA;ki.ligatures=wS;ki.unicode=NA;ki.svgPathData=OA;ki.aliases=wS});var HA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var MA="fas",IA="link-slash",zA=640,BA=512,CS=["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:MA,iconName:IA,icon:[zA,BA,CS,FA,jA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=MA;Ti.iconName=IA;Ti.width=zA;Ti.height=BA;Ti.ligatures=CS;Ti.unicode=FA;Ti.svgPathData=jA;Ti.aliases=CS});var GA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var UA="fas",VA="up-right-from-square",WA=512,qA=512,xS=["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,xS,YA,$A]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=UA;Ei.iconName=VA;Ei.width=WA;Ei.height=qA;Ei.ligatures=xS;Ei.unicode=YA;Ei.svgPathData=$A;Ei.aliases=xS});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,kS=[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,kS,e8,t8]};Di.faGear=Di.definition;Di.prefix=XA;Di.iconName=QA;Di.width=JA;Di.height=ZA;Di.ligatures=kS;Di.unicode=e8;Di.svgPathData=t8;Di.aliases=kS});var u8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var a8="fas",n8="plus",o8=448,i8=512,TS=[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,TS,l8,s8]};Ai.faPlus=Ai.definition;Ai.prefix=a8;Ai.iconName=n8;Ai.width=o8;Ai.height=i8;Ai.ligatures=TS;Ai.unicode=l8;Ai.svgPathData=s8;Ai.aliases=TS});var v8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var c8="fas",f8="minus",d8=448,p8=512,ES=[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,ES,h8,m8]};Li.faMinus=Li.definition;Li.prefix=c8;Li.iconName=f8;Li.width=d8;Li.height=p8;Li.ligatures=ES;Li.unicode=h8;Li.svgPathData=m8;Li.aliases=ES});var C8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var _8="fas",g8="ellipsis",b8=448,y8=512,RS=["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,RS,S8,w8]};Ni.faEllipsis=Ni.definition;Ni.prefix=_8;Ni.iconName=g8;Ni.width=b8;Ni.height=y8;Ni.ligatures=RS;Ni.unicode=S8;Ni.svgPathData=w8;Ni.aliases=RS});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(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var k8="fas",T8="ellipsis-vertical",E8=128,R8=512,DS=["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";Pi.definition={prefix:k8,iconName:T8,icon:[E8,R8,DS,D8,A8]};Pi.faEllipsisVertical=Pi.definition;Pi.prefix=k8;Pi.iconName=T8;Pi.width=E8;Pi.height=R8;Pi.ligatures=DS;Pi.unicode=D8;Pi.svgPathData=A8;Pi.aliases=DS});var N8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var io=L8();Mi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Mi.faEllipsisV=Mi.definition;Mi.prefix=io.prefix;Mi.iconName=io.iconName;Mi.width=io.width;Mi.height=io.height;Mi.ligatures=io.aliases;Mi.unicode=io.unicode;Mi.svgPathData=io.svgPathData;Mi.aliases=io.aliases});var F8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var O8="fas",P8="star",M8=576,I8=512,AS=[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:P8,icon:[M8,I8,AS,z8,B8]};Ii.faStar=Ii.definition;Ii.prefix=O8;Ii.iconName=P8;Ii.width=M8;Ii.height=I8;Ii.ligatures=AS;Ii.unicode=z8;Ii.svgPathData=B8;Ii.aliases=AS});var Y8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var j8="fas",H8="paper-plane",U8=512,V8=512,LS=[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,LS,W8,q8]};zi.faPaperPlane=zi.definition;zi.prefix=j8;zi.iconName=H8;zi.width=U8;zi.height=V8;zi.ligatures=LS;zi.unicode=W8;zi.svgPathData=q8;zi.aliases=LS});var Z8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var $8="fas",G8="heart",K8=512,X8=512,NS=[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,NS,Q8,J8]};Bi.faHeart=Bi.definition;Bi.prefix=$8;Bi.iconName=G8;Bi.width=K8;Bi.height=X8;Bi.ligatures=NS;Bi.unicode=Q8;Bi.svgPathData=J8;Bi.aliases=NS});var iL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var eL="fas",tL="ban",rL=512,aL=512,OS=[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,OS,nL,oL]};Fi.faBan=Fi.definition;Fi.prefix=eL;Fi.iconName=tL;Fi.width=rL;Fi.height=aL;Fi.ligatures=OS;Fi.unicode=nL;Fi.svgPathData=oL;Fi.aliases=OS});var pL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var lL="fas",sL="location-crosshairs",uL=512,cL=512,PS=["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,PS,fL,dL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=lL;ji.iconName=sL;ji.width=uL;ji.height=cL;ji.ligatures=PS;ji.unicode=fL;ji.svgPathData=dL;ji.aliases=PS});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,IS=[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,IS,kL,TL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=SL;Ui.iconName=wL;Ui.width=CL;Ui.height=xL;Ui.ligatures=IS;Ui.unicode=kL;Ui.svgPathData=TL;Ui.aliases=IS});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 ML=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var DL="far",AL="circle-question",LL=512,NL=512,zS=[62108,"question-circle"],OL="f059",PL="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,zS,OL,PL]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=DL;Wi.iconName=AL;Wi.width=LL;Wi.height=NL;Wi.ligatures=zS;Wi.unicode=OL;Wi.svgPathData=PL;Wi.aliases=zS});var IL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var so=ML();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,BS=["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,BS,HL,UL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=zL;Yi.iconName=BL;Yi.width=FL;Yi.height=jL;Yi.ligatures=BS;Yi.unicode=HL;Yi.svgPathData=UL;Yi.aliases=BS});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,FS=[],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,FS,KL,XL]};Gi.faCopy=Gi.definition;Gi.prefix=qL;Gi.iconName=YL;Gi.width=$L;Gi.height=GL;Gi.ligatures=FS;Gi.unicode=KL;Gi.svgPathData=XL;Gi.aliases=FS});var nN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var JL="far",ZL="file",eN=384,tN=512,jS=[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,jS,rN,aN]};Ki.faFile=Ki.definition;Ki.prefix=JL;Ki.iconName=ZL;Ki.width=eN;Ki.height=tN;Ki.ligatures=jS;Ki.unicode=rN;Ki.svgPathData=aN;Ki.aliases=jS});var fN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var oN="far",iN="trash-can",lN=448,sN=512,HS=[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,HS,uN,cN]};Xi.faTrashCan=Xi.definition;Xi.prefix=oN;Xi.iconName=iN;Xi.width=lN;Xi.height=sN;Xi.ligatures=HS;Xi.unicode=uN;Xi.svgPathData=cN;Xi.aliases=HS});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,US=[],_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,US,_N,gN]};Ji.faImage=Ji.definition;Ji.prefix=pN;Ji.iconName=hN;Ji.width=mN;Ji.height=vN;Ji.ligatures=US;Ji.unicode=_N;Ji.svgPathData=gN;Ji.aliases=US});var G7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var U7="fas",V7="eye",W7=576,q7=512,nw=[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,nw,Y7,$7]};tl.faEye=tl.definition;tl.prefix=U7;tl.iconName=V7;tl.width=W7;tl.height=q7;tl.ligatures=nw;tl.unicode=Y7;tl.svgPathData=$7;tl.aliases=nw});var iO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var eO="fas",tO="clock",rO=512,aO=512,sw=[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,sw,nO,oO]};rl.faClock=rl.definition;rl.prefix=eO;rl.iconName=tO;rl.width=rO;rl.height=aO;rl.ligatures=sw;rl.unicode=nO;rl.svgPathData=oO;rl.aliases=sw});var pO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var lO="fas",sO="calendar-days",uO=448,cO=512,uw=["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,uw,fO,dO]};al.faCalendarDays=al.definition;al.prefix=lO;al.iconName=sO;al.width=uO;al.height=cO;al.ligatures=uw;al.unicode=fO;al.svgPathData=dO;al.aliases=uw});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,hw=[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,hw,AO,LO]};ol.faCloudArrowUp=ol.definition;ol.prefix=TO;ol.iconName=EO;ol.width=RO;ol.height=DO;ol.ligatures=hw;ol.unicode=AO;ol.svgPathData=LO;ol.aliases=hw});var t9=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var KO="fas",XO="grip-vertical",QO=320,JO=512,Sw=[],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,Sw,ZO,e9]};ll.faGripVertical=ll.definition;ll.prefix=KO;ll.iconName=XO;ll.width=QO;ll.height=JO;ll.ligatures=Sw;ll.unicode=ZO;ll.svgPathData=e9;ll.aliases=Sw});var u9=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var a9="fas",n9="filter",o9=512,i9=512,xw=[],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,xw,l9,s9]};sl.faFilter=sl.definition;sl.prefix=a9;sl.iconName=n9;sl.width=o9;sl.height=i9;sl.ligatures=xw;sl.unicode=l9;sl.svgPathData=s9;sl.aliases=xw});var y9=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var h9="fas",m9="palette",v9=512,_9=512,Tw=[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,Tw,g9,b9]};ul.faPalette=ul.definition;ul.prefix=h9;ul.iconName=m9;ul.width=v9;ul.height=_9;ul.ligatures=Tw;ul.unicode=g9;ul.svgPathData=b9;ul.aliases=Tw});var E9=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S9="fas",w9="bars-staggered",C9=512,x9=512,Ew=["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,Ew,k9,T9]};cl.faBarsStaggered=cl.definition;cl.prefix=S9;cl.iconName=w9;cl.width=C9;cl.height=x9;cl.ligatures=Ew;cl.unicode=k9;cl.svgPathData=T9;cl.aliases=Ew});var P9=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var R9="fas",D9="rotate-left",A9=512,L9=512,Rw=["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,Rw,N9,O9]};fl.faRotateLeft=fl.definition;fl.prefix=R9;fl.iconName=D9;fl.width=A9;fl.height=L9;fl.ligatures=Rw;fl.unicode=N9;fl.svgPathData=O9;fl.aliases=Rw});var H9=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var M9="fas",I9="rotate-right",z9=512,B9=512,Dw=["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:M9,iconName:I9,icon:[z9,B9,Dw,F9,j9]};dl.faRotateRight=dl.definition;dl.prefix=M9;dl.iconName=I9;dl.width=z9;dl.height=B9;dl.ligatures=Dw;dl.unicode=F9;dl.svgPathData=j9;dl.aliases=Dw});var Mw=Ue(()=>{"use strict"});var Iw=Ue(()=>{"use strict"});var X9=G(Zk()),Os=G(XT()),bm=G(dr()),gm=G(rr());var Fr={};Td(Fr,{$$fromRoot:()=>dt,Accordion:()=>ZS,Anchor:()=>cf,Box:()=>K,Button:()=>it,ColorObjects:()=>qh,Column:()=>Zt,Config:()=>vt,Cropper:()=>Lw,DarkmodeColors:()=>K9,Effect:()=>pu,ExtractStyles:()=>Dl,FAI:()=>Ne,Flex:()=>Dt,FlexBr:()=>w7,GenerateHTMLProps:()=>xo,Grid:()=>Hd,Img:()=>ks,Input:()=>La,Label:()=>hg,LaunchReactApp:()=>zg,LeftIcon:()=>Wd,LeftIndicator:()=>bg,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>qd,Loader:()=>Eo,Logo:()=>Ts,OmitSign:()=>gg,P:()=>S7,PageNotFound:()=>$9,PageViewController:()=>N7,Placeholder:()=>y7,Plate:()=>T7,ReadStyleSet:()=>nm,RequiredShortSign:()=>_g,RequiredSign:()=>vg,RightIcon:()=>Ba,RightIndicator:()=>yg,RootViewController:()=>Rs,Row:()=>pt,SetThemeColorTag:()=>Wh,Sheet:()=>lr,Snackbar:()=>rs,Span:()=>yn,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Mg,Text:()=>nr,ThemeColors:()=>Ow,Tips:()=>_u,Tooltips:()=>Na,amotify:()=>F$,default:()=>F$,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Ig});var WW=Object.defineProperty,qW=Object.defineProperties,YW=Object.getOwnPropertyDescriptors,U_=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(U_)for(var o of U_(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&&U_)for(var l of U_(r))a.indexOf(l)<0&&o5.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)}},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 Pw={};Td(Pw,{$$fromRoot:()=>dt,ColorObjects:()=>qh,Config:()=>vt,DarkmodeColors:()=>K9,ExtractStyles:()=>Dl,GenerateHTMLProps:()=>xo,LaunchReactApp:()=>zg,ReadStyleSet:()=>nm,SetThemeColorTag:()=>Wh,ThemeColors:()=>Ow,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Ig});var xl=G(rr());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}},vt={get:()=>Co,set:r=>{Co=_(_({},Co),r)},update:{themeColor:r=>{if(qh.find(o=>o.key==r)||(r="comun"),r==vt.get().themeColor)return;vt.set(T(_({},vt.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Wh()}),vt.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==vt.get().darkMode)return;let a=r=="auto"?vt.get().isSystemDarkmode()?"dark":"light":r;vt.set(T(_({},vt.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),vt.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=vt.get().roundness&&(vt.set(T(_({},vt.get()),{roundness:r})),vt.restart())},screen:r=>{vt.get().screen=_(_({},vt.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Co.appRoot=r.appRoot||document.body,Co.appRoot instanceof HTMLElement&&(Co.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&vt.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&vt.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&vt.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_"+vt.get().deviceIs,"bdsDM_"+vt.get().darkMode,"bdsTC_"+vt.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:()=>{vt.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_"+vt.get().sessionUID)}};var Vo=G(rr()),Nd=G(dr()),kl={catch:r=>{let[a]=(0,Nd.useState)((0,Vo.UUID)()),[o,l]=(0,Nd.useState)((0,Vo.UUID)()),[s,f]=(0,Nd.useState)(null),c="RefreshKey_"+a;return(0,Nd.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 gc=G(dr());var Nw={};Td(Nw,{Anchor:()=>cf,Button:()=>it,Cropper:()=>Lw,Effect:()=>pu,Input:()=>La,Label:()=>hg,LeftIcon:()=>Wd,LeftIndicator:()=>bg,Loader:()=>Eo,OmitSign:()=>gg,PageNotFound:()=>$9,PageViewController:()=>N7,Plate:()=>T7,RequiredShortSign:()=>_g,RequiredSign:()=>vg,RightIcon:()=>Ba,RightIndicator:()=>yg,RootViewController:()=>Rs,Sheet:()=>lr,Snackbar:()=>rs,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Mg,Tips:()=>_u,Tooltips:()=>Na});var Tl=G(Rt()),dc=G(dr()),Sn=G(rr());var $S={};Td($S,{Box:()=>K,Column:()=>Zt,FAI:()=>Ne,Flex:()=>Dt,FlexBr:()=>w7,Grid:()=>Hd,Img:()=>ks,Logo:()=>Ts,P:()=>S7,Placeholder:()=>y7,Span:()=>yn});var uf=G(Rt());var u5=G(Rt());var K=r=>{let a=xo(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,u5.jsx)(s,_({},l)):null};var Ot=G(Rt());var yN=G(LE()),SN=G(FE()),wN=G(YE()),CN=G(ZE()),xN=G(iR()),kN=G(pR()),TN=G(yR()),EN=G(ER()),RN=G(PR()),DN=G(HR()),AN=G(GR()),LN=G(tD()),NN=G(sD()),ON=G(mD()),PN=G(wD()),MN=G(nS()),IN=G(iS()),zN=G(sS()),BN=G($D()),FN=G(t6()),jN=G(s6()),HN=G(m6()),UN=G(w6()),VN=G(A6()),WN=G(B6()),qN=G(q6()),YN=G(Z6()),$N=G(iA()),GN=G(pA()),KN=G(yA()),XN=G(EA()),QN=G(PA()),JN=G(HA()),ZN=G(KA()),e7=G(r8()),t7=G(u8()),r7=G(v8()),a7=G(x8()),n7=G(N8()),o7=G(F8()),i7=G(Y8()),l7=G(Z8()),s7=G(iL()),u7=G(pL()),c7=G(yL()),f7=G(RL()),d7=G(IL()),p7=G(WL()),h7=G(QL()),m7=G(nN()),v7=G(dN()),_7=G(bN()),Bt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=xo(l);return(0,Ot.jsx)(yN.FontAwesomeIcon,T(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Bt;Ne.User=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:c7.faUser})),Ne.Times=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:SN.faTimes})),Ne.AngleRight=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:wN.faAngleRight})),Ne.AngleLeft=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:CN.faAngleLeft})),Ne.AngleUp=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:xN.faAngleUp})),Ne.AngleDown=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:kN.faAngleDown})),Ne.ChevronLeft=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:TN.faChevronLeft})),Ne.ChevronRight=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:EN.faChevronRight})),Ne.ChevronUp=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:RN.faChevronUp})),Ne.ChevronDown=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:DN.faChevronDown})),Ne.CaretLeft=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:AN.faCaretLeft})),Ne.CaretRight=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:LN.faCaretRight})),Ne.CaretUp=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:NN.faCaretUp})),Ne.CaretDown=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:ON.faCaretDown})),Ne.ArrowLeft=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:PN.faArrowLeft})),Ne.ArrowRight=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:MN.faArrowRight})),Ne.ArrowUp=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:IN.faArrowUp})),Ne.ArrowDown=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:zN.faArrowDown})),Ne.Rotate=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:BN.faRotate})),Ne.Redo=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:FN.faRedo})),Ne.Check=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:jN.faCheck})),Ne.CheckCircle=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:f7.faCheckCircle})),Ne.Question=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:HN.faQuestion})),Ne.QuestionCircle=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:d7.faQuestionCircle})),Ne.Exclamation=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:UN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:VN.faExclamationTriangle})),Ne.Home=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:WN.faHome})),Ne.Share=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:qN.faShare})),Ne.Search=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:YN.faSearch})),Ne.YenSign=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:$N.faYenSign})),Ne.Heart=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:l7.faHeart})),Ne.Star=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:o7.faStar})),Ne.Edit=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:p7.faEdit})),Ne.Pen=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:GN.faPen})),Ne.Copy=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:h7.faCopy})),Ne.File=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:m7.faFile})),Ne.TrashAlt=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:v7.faTrashAlt})),Ne.Bars=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:KN.faBars})),Ne.Download=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:XN.faDownload})),Ne.Link=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:QN.faLink})),Ne.LinkSlash=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:JN.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:ZN.faExternalLinkAlt})),Ne.Gear=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:e7.faGear})),Ne.Plus=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:t7.faPlus})),Ne.Minus=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:r7.faMinus})),Ne.EllipsisH=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:a7.faEllipsisH})),Ne.EllipsisV=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:n7.faEllipsisV})),Ne.PaperPlane=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:i7.faPaperPlane})),Ne.Image=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:_7.faImage})),Ne.Ban=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:s7.faBan})),Ne.Location=r=>(0,Ot.jsx)(Bt,T(_({},r),{icon:u7.faLocationCrosshairs}));var g7=G(Rt());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"},VS=r=>UY[r],Zi=r=>VY[r],fg=r=>WY[r],WS=r=>qY[r],am=r=>YY[r],oa=r=>$Y[r],xa=r=>GY[r],Aa=r=>KY[r],Kt=r=>XY[r],Kl=r=>QY[r],uc=r=>JY[r],of=r=>ZY[r],jd=r=>e$[r];var Xl=r=>t$[r],lf=r=>r$[r],Ql=r=>a$[r],sf=r=>n$[r],xs=r=>o$[r],ka=r=>i$[r];var dg=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)(K,T(_({htmlTag:"img",src:o,alt:l},f),{className:[VS("Img"),VS("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(),lr.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var ar=G(Rt()),qS=G(rr());var b7={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
@@ -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,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)]})}},uu={Icon:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(b7.MingooIcon,{})})),Title:r=>(0,ar.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,ar.jsxs)(Dt,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,ar.jsx)(uu.Icon,{size:o,color:l}),(0,ar.jsx)(uu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(Dt,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,ar.jsx)(uu.Icon,{margin:"auto",size:o,color:l}),(0,ar.jsx)(uu.Title,{size:o,color:l})]}))}},fu={Icon:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(b7.ComunIcon,{})})),Title:r=>(0,ar.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,ar.jsxs)(Dt,T(_({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)(Dt,T(_({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})]}))}},fc="https://cdn.amotify.com/",Ts={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)(Dt,T(_({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:qw.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)(Dt,T(_({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:qw.default.is.function(f)?(0,ar.jsx)(f,{}):f}))},Brands:{MingooIcon:uu.Icon,MingooTitle:uu.Title,MingooLogoH:uu.LogoH,MingooLogoV:uu.LogoV,ComunIcon:fu.Icon,ComunTitle:fu.Title,ComunLogoH:fu.LogoH,ComunLogoV:fu.LogoV,Google:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fc+"@env/@logos/mingoo/icon.png",mingooIconClear:fc+"@env/@logos/mingoo/iconClear.png",comunIcon:fc+"@env/@logos/comun/icon.png",comunIconClear:fc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fc+"@env/@icon/"+(r||"image")+".png"}};var Yw=G(Rt());var y7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,Yw.jsx)(K,T(_({className:[ug("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,Yw.jsx)(K,{className:[ug("Body"),ug("Color_"+o)].join(" ")})}))};var yn=r=>(0,cf.jsx)(K,T(_({},r),{htmlTag:"span"})),w7=r=>(0,cf.jsx)(K,T(_({},r),{htmlTag:"p"})),Hd=r=>(0,cf.jsx)(K,_({display:"grid"},r)),Dt=r=>(0,cf.jsx)(K,T(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),S7=r=>(0,cf.jsx)(K,_({width:1,flexSizing:"none"},r)),Zt=r=>(0,cf.jsx)(Dt,_({flexType:"col",gap:1},r));var Es=G(Rt()),dg=G(rr());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,dg.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=_(_(_({},C7.Size(r.seed,h,p,m)),C7.Tone(r.seed,h,p,m)),a),a.className=[g,of("Wrap"),of("isNeutral_"+!s),of("isLocked_"+l),of("Tone_"+h),of("Color_"+m),of("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=_(_({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=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(_({},g),{"data-form-submit-button":p.formName,"data-sdfike":dg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Es.jsx)(K,T(_({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let C=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!C.valid||p.callback(C.data,C.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,Es.jsx)(K,T(_({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:C}=l,w=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(K,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;C&&(Y+=location.search),b?Pn.pushSync(Y):Pn.push(Y,!!M)}}))}return null},dc=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},Gw=function(r){let a=o=>(0,Es.jsx)(x7,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=dc(r,"plain"),a.Link=dc(r,"link"),a.Normal=dc(r,"normal"),a.Border=dc(r,"border"),a.Prime=dc(r,"prime"),a.Sub=dc(r,"sub"),a.Clear=dc(r,"clear"),a.FillToBorder=dc(r,"fillToBorder"),a.BorderToFill=dc(r,"borderToFill"),a},it=Gw("button"),pg=Gw("label"),uf=Gw("anchor");var Rs={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,du.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:()=>{vt.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,Tl.jsxs)(Zt,T(_({className:[u,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Tl.jsxs)(Dt,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Tl.jsx)(K,{className:Aa("Content"),position:"relative",flexSizing:0,width:0,UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,du.useState)((0,wn.UUID)());return(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,Tl.jsx)(Dt,T(_({"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,du.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,Tl.jsx)(K,T(_({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,du.useState)((0,wn.UUID)());return(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,Tl.jsx)(Dt,T(_({"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,Tl.jsx)(Dt,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),u=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&&u.length)for(let m of u)wn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,Tl.jsx)(it.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{wn.default.is.exist(l)&&wn.default.is.string(l)&&Pn.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,Tl.jsx)(K,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Tl.jsx)(K,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,wn.default)(document.body),a=dt("#__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=dt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,wn.default)(document.body),a=dt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,wn.default)(document.body),a=dt("#__RVC_TopNavigation"),o=dt("#__RVC_FooterNavigation"),l=dt("#__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 k7=G(Rt());var T7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,k7.jsx)(K,T(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var om=G(Rt()),L7=G(dr());var Kw=G(Rt()),Xw=G(rr());var Ud=G(dr());var E7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,Xw.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=dt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,Kw.jsx)(K,T(_({},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:u}))},R7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,Xw.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=dt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,Kw.jsx)(K,T(_({paddingTop:2},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:u}))};var el=G(rr());var ff={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 P=l.parent('[data-effect-ripple="1"]');if(!P[0])return;l=P,s=P.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:C,y:w}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(C-(u+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:()=>{ff.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{ff.End(Y)},20)}}),(0,el.default)(l).addClass([Kl("RippleElement"),Kl("Color_"+s)]).append(`<div class="${Kl("RippleWrap")}" id="${f}">
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)]})}},cc={Icon:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(b7.MingooIcon,{})})),Title:r=>(0,ar.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,ar.jsxs)(Dt,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,ar.jsx)(cc.Icon,{size:o,color:l}),(0,ar.jsx)(cc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(Dt,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,ar.jsx)(cc.Icon,{margin:"auto",size:o,color:l}),(0,ar.jsx)(cc.Title,{size:o,color:l})]}))}},fc={Icon:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(b7.ComunIcon,{})})),Title:r=>(0,ar.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,ar.jsxs)(Dt,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,ar.jsx)(fc.Icon,{size:o,color:l}),(0,ar.jsx)(fc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,ar.jsxs)(Dt,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,ar.jsx)(fc.Icon,{margin:"auto",size:o,color:l}),(0,ar.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,ar.jsx)(Dt,T(_({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:qS.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,c=Ge(a,["size","color","className","children"]);return(0,ar.jsx)(Dt,T(_({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:qS.default.is.function(f)?(0,ar.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,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.jsx)(ks,{src:fu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,ar.jsx)(Ts.Icon,T(_({},r),{children:(0,ar.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 YS=G(Rt());var y7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,YS.jsx)(K,T(_({className:[fg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,YS.jsx)(K,{className:[fg("Body"),fg("Color_"+o)].join(" ")})}))};var yn=r=>(0,uf.jsx)(K,T(_({},r),{htmlTag:"span"})),S7=r=>(0,uf.jsx)(K,T(_({},r),{htmlTag:"p"})),Hd=r=>(0,uf.jsx)(K,_({display:"grid"},r)),Dt=r=>(0,uf.jsx)(K,T(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),w7=r=>(0,uf.jsx)(K,_({width:1,flexSizing:"none"},r)),Zt=r=>(0,uf.jsx)(Dt,_({flexType:"col",gap:1},r));var Es=G(Rt()),pg=G(rr());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,pg.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,of("Wrap"),of("isNeutral_"+!s),of("isLocked_"+l),of("Tone_"+h),of("Color_"+m),of("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":pg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Es.jsx)(K,T(_({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let C=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!C.valid||p.callback(C.data,C.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)(K,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:C}=l,S=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(K,T(_({htmlTag:"button"},S),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;C&&(Y+=location.search),b?Pn.pushSync(Y):Pn.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},GS=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=GS("button"),hg=GS("label"),cf=GS("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,Sn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{vt.get().screen.isPhonepoint()||Sn.default.interval.once(()=>{Rs.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Sn.default)(window).removeEvent(g),(0,Sn.default)(window).removeEvent(m)}},[]);let p=f;return(0,Tl.jsxs)(Zt,T(_({className:[c,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Tl.jsxs)(Dt,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Tl.jsx)(K,{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,dc.useState)((0,Sn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,Tl.jsx)(Dt,T(_({"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,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,Tl.jsx)(K,T(_({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,dc.useState)((0,Sn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,Tl.jsx)(Dt,T(_({"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,Tl.jsx)(Dt,_({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=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&&c.length)for(let m of c)Sn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,Tl.jsx)(it.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Sn.default.is.exist(l)&&Sn.default.is.string(l)&&Pn.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,Tl.jsx)(K,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Tl.jsx)(K,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Sn.default)(document.body),a=dt("#__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=dt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Sn.default)(document.body),a=dt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Sn.default)(document.body),a=dt("#__RVC_TopNavigation"),o=dt("#__RVC_FooterNavigation"),l=dt("#__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=G(Rt());var T7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,k7.jsx)(K,T(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var om=G(Rt()),L7=G(dr());var KS=G(Rt()),XS=G(rr());var Ud=G(dr());var E7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,XS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=dt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,KS.jsx)(K,T(_({},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))},R7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,XS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=dt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,KS.jsx)(K,T(_({paddingTop:2},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))};var el=G(rr());var ff={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 P=l.parent('[data-effect-ripple="1"]');if(!P[0])return;l=P,s=P.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:C,y:S}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(C-(c+g),0),M=Math.max(S-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{ff.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{ff.End(Y)},20)}}),(0,el.default)(l).addClass([Kl("RippleElement"),Kl("Color_"+s)]).append(`<div class="${Kl("RippleWrap")}" id="${f}">
977
977
  <div class="${Kl("Wave")}" />
978
- </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:P=>{ff.End(Y)}}).find("#"+f).find("."+Kl("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("."+Kl("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},D7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(vt.get().appRoot).addEvent({eventType:"touchstart",target:ff.RippleElementTag,callback:r=>{ff.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:ff.RippleElementTag,callback:r=>{vt.get().isTouchDevice||ff.Start(r)}}),null)};var Qw=G(rr());var A7={Wrapper:()=>(typeof window=="undefined"||(0,Qw.default)(vt.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,Qw.default)(r.target).removeClass(Kl("PuddingEffect")).await(1).addClass(Kl("PuddingEffect")).await(510).removeClass(Kl("PuddingEffect"))}}),null)};var pc={Ripple:D7,Pudding:A7,FadeIn:E7,FadeUp:R7};var N7=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,om.jsx)(pc.FadeIn,{animationTime:400,children:u},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=G(Rt()),El=G(rr()),pu=G(dr());var s$=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"]),[C]=(0,pu.useState)((0,El.UUID)()),[w,k]=(0,pu.useState)({eventType:"init",index:r.slideIndex}),L=(0,pu.useRef)(!1);(0,pu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pu.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Q=dt("#Swiper-"+C);if(w.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Vd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(w.eventType=="sys")Q.await(250).css({transform:Vd(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:Vd(j)}).await(250).css({transition:"0s"}),F){let O=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:O})}s&&!F&&El.default.interval.once(()=>{let O=w.index+1;!f&&O>m.length-1&&(O=0),k({eventType:"usr",index:O})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+C)},[w]);let M=m.map((j,F)=>(0,lm.jsx)(K,{flexSizing:"none",width:1,height:0,className:Aa("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:C,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},P=w.index+ +!!f;return(0,lm.jsx)(K,T(_({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("SwipeView")].join(" "),freeCSS:_({zIndex:1},b.freeCSS),"data-swipe-id":C,onPointerDown:j=>{if(console.log(j),j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(u||j.buttons!=1))return;im.Start(j,Y)},children:(0,lm.jsx)(Dt,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+C,freeCSS:_({},L.current?{}:{transform:Vd(P)}),children:M})}))},Vd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,im={Start:(r,a)=>{let{x:o,y:l}=El.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:dt("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,El.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}=El.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,El.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);dt("#Swiper-"+a.id).children(u-1).addClass(Aa("Display")),(0,El.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}=El.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}dt("#Swiper-"+a.id).css({transition:"0s",transform:Vd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=El.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,dt("#Swiper-"+a.id).css({transition:".2s",transform:Vd(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,El.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 Ng=G(Rt()),WO=G(dr());var hu=G(Rt());var P7=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},hg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},mg=r=>(0,hu.jsx)(yn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),vg=r=>(0,hu.jsx)(yn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),_g=r=>(0,hu.jsx)(yn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),gg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(K,_(T(_({},P7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},bg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(K,_(T(_({},P7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},za=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(K,T(_(T(_({},hg),{right:"3/4"}),l),{freeCSS:_(_({},hg.freeCSS),l.freeCSS)}))},Wd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(K,T(_(T(_({},hg),{left:"3/4"}),l),{freeCSS:_(_({},hg.freeCSS),l.freeCSS)}))};var M7=G(Rt());var I7=r=>(0,M7.jsx)(K,_({htmlTag:"input"},r));var aS=G(Rt()),Yd=G(rr()),um=G(dr());var Un=G(Rt()),pf=G(dr()),pa=G(rr());var eS={};Td(eS,{Accordion:()=>Zw,LinkifyText:()=>B7,List:()=>z7,ListItem:()=>qd,Row:()=>pt,Text:()=>nr});var Jw=G(Rt()),Jl=G(rr()),hc=G(dr());var u$=r=>{r=_({},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,hc.useState)((0,Jl.UUID)()),[p]=(0,hc.useState)((0,Jl.UUID)()),[m,g]=(0,hc.useState)(s);m!=s&&f&&g(s);let b=(0,hc.useRef)(!1);return(0,hc.useEffect)(()=>{let C=dt('[data-accordion-content-id="'+p+'"]')[0];if(C){let w=C.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),dt("#"+h).css({transition:k+"s"})}},[]),(0,hc.useEffect)(()=>{let C=dt("#"+h),w=dt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,Jw.jsx)(K,{className:[Ww("Wrap"),Ww("Open_"+m)].join(" "),id:h,children:(0,Jw.jsx)(K,_({"data-accordion-content-id":p},u))})},Zw=u$;Zw.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=G(Rt());var B7=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,sm.jsx)(uf.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,sm.jsx)(sm.Fragment,{children:l})};var Rl=G(Rt());var z7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||F7;let f=o.map((u,h)=>(0,Rl.jsx)(l,{children:u,index:h},h));return(0,Rl.jsx)(K,T(_({htmlTag:"ul",children:f},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},F7=r=>(0,Rl.jsx)(K,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),qd=F7;qd.Center=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Left=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Right=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Separate=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var cm=G(Rt());var pt={Center:r=>(0,cm.jsx)(Dt,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,cm.jsx)(Dt,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,cm.jsx)(Dt,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,cm.jsx)(Dt,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mc=G(Rt());var df=r=>(0,mc.jsx)(K,_({},r)),nr=df;nr.Title=r=>(0,mc.jsx)(df,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,mc.jsx)(df,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,mc.jsx)(df,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,mc.jsx)(df,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,mc.jsx)(df,T(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,mc.jsx)(df,_({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,mc.jsx)(yn,T(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var j7=G(Rt()),tS=G(rr());var kr=G(Rt()),Pt=G(rr()),qa=G(dr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>Pt.useStore.get("sessionStates-"+vt.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,Pt.UUID)(),isOpen:!0,created_at:(0,Pt.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}},yg={Wrapper:()=>{let[r,a]=(0,qa.useState)(!1),[o,l]=(0,qa.useState)([]),s={val_sheets:o,set_sheets:l};Pt.useStore.set({["sessionStates-"+vt.get().sessionUID]:s}),(0,qa.useEffect)(()=>{Pt.useStore.set({["Sheet-"+vt.get().sessionUID]:{add:(u,h)=>{let p=Pt.useStore.get("Sheet-"+vt.get().sessionUID);if(!p)return;let m=Ds.getNewSheetStates(u);if(h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){l(g=>{let b=[...g],C=b.findIndex(w=>w.sheetID==m.sheetID);return C==-1||(b[C]=m),b});return}l(g=>[m,...g])},find:u=>{let h=Ds.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,Pt.default)(vt.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;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 C=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);lr.close(C.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Ds.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=u.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:C}=b;if(!b.closeAtAroundClick)return;let w=dt(C)[0];C!==m&&w!==m&&((0,Pt.default)(w).find(m).length||lr.close(b.sheetID))})}})},[]),(0,qa.useEffect)(()=>{let u=o.filter(h=>h.backgroundEffect&&h.isOpen&&!h.overwrap&&h.type!="custom");a(!!u.length)},[o]),(0,qa.useEffect)(()=>{let u=dt(".AMOTIFY_be_root");if(r){let h=(0,Pt.default)("html").position(),p=32/h.height,m=32/h.width;u.addClass(oa("BodyEffect")).css({transform:`scale(${1-m},${1-p})`})}else u.css({transform:"scale(1)"}).removeClass(oa("BodyEffect"))},[r]);let f=o.map(u=>(0,kr.jsx)(yg.Core,T(_({},s),{val_sheet:u,patch_sheet:h=>{l(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==u.sheetID);return g==-1||(m[g]=_(_({},m[g]),h)),m})},delete_sheet:()=>{l(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==u.sheetID);return m==-1||p.splice(m,1),p})}}),u.sheetID));return(0,kr.jsx)(K,{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,Pt.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,qa.useEffect)(()=>{Ds.currentIndex++,Pt.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Pt.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Pt.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Pt.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)(()=>{Pt.default.scope(()=>{let g=dt("#"+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(),u&&(0,Pt.default)(vt.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=yg.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,kr.jsx)(K,{className:[oa("Wrap"),oa("Tcate_"+h),oa("Tpos_"+p),oa("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,kr.jsxs)(Zt,{className:oa("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,kr.jsx)(yg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,kr.jsx)(m,_({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:C,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:P,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"]),[O,te]=h.split("."),me={},ae=[];return te.match(/top/)?(ae.push("top"),me.marginBottom="auto"):te.match(/middle/)?(ae.push("center"),me.marginTop="auto",me.marginBottom="auto"):te.match(/bottom/)&&(ae.push("bottom"),me.marginTop="auto"),te.match(/left/i)?(ae.push("left"),me.marginRight="auto"):te.match(/center/i)?(ae.push("center"),me.marginLeft="auto",me.marginRight="auto"):te.match(/right/i)&&(ae.push("right"),me.marginLeft="auto"),(0,kr.jsx)(K,T(_(_({className:[oa("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Q),me),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ae.join(" ")},m),children:Pt.default.is.function(f)?(0,kr.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:C,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:P,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,kr.jsx)(K,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:Pt.default.is.function(u)?(0,kr.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:C,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:P,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"]),O=Pt.default.getScreenSize(),te=[0,.2,.6,.95],me={ZERO:0,S:1,R:2,L:3},[ae,Se]=(0,qa.useState)(h),[we,ge]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[me[h]]});Pt.useStore.update({[o]:{val_edit:we,resize:fe=>{let z=te[me[fe]];ge(q=>T(_({},q),{value:z})),Se(fe)}}});let H={Start:fe=>{(0,Pt.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 z=Pt.default.getCursor(fe),q=T(_({},we),{process:!0,processStart:new Date().getTime(),originY:z.y,originValue:we.value,viewHeight:Pt.default.getScreenSize().height});Pt.useStore.update({[o]:{val_edit:q}}),ge(q)},Move:fe=>{var z;let q=(z=Pt.useStore.get(o))==null?void 0:z.val_edit;if(!q.process)return;let ne=(Pt.default.getCursor(fe).y-q.originY)/q.viewHeight,Z=q.originValue-ne;if(Z>.95)Z=.95+(Z-.95)*.5;else if(Z<.2){let se=.2-Z;se-=.1,Z=.1+(.1-se)*.5}return ge(T(_({},q),{value:Z})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var z;let q=(z=Pt.useStore.get(o))==null?void 0:z.val_edit;if(!q.process)return;(0,Pt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(q.value<.1||(q.value<.5?ne=1:q.value>.75?ne=3:ne=2),new Date().getTime()-q.processStart<300){let Z=Pt.default.getCursor(fe).y-q.originY;if(Math.abs(Z)>=20){let se=+(Z<0)*2-1;ne+=se,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),Se(["ZERO","S","R","L"][ne]),ge(T(_({},q),{value:te[ne],process:!1}))}},ie=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{ie.current?ae=="ZERO"?M&&lr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ae)},250):ie.current=!0},[ae]),(0,kr.jsx)(K,{className:oa("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:O.height*we.value},we.process?{transition:"0s"}:{}),children:(0,kr.jsxs)(Zt,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,kr.jsx)(pt.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,kr.jsx)(pt.Center,{onMouseDown:H.Start,onTouchStart:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,kr.jsx)(K,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:oa("DragBar")})})}),(0,kr.jsx)(K,T(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:Pt.default.is.function(u)?(0,kr.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:C,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:P,isOpen:j,resize:F,backgroundEffect:Q}=a,O=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,Pt.UUID)()),me=Pt.default.is.element(u)||Pt.default.is.jmini(u)?(0,Pt.default)(u):dt(u),ae='[data-sheet-id="'+te+'"]',Se='[data-sheet-content="'+te+'"]';p=p;let we=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let be=Pt.default.getScreenSize(),Oe=Pt.default.getCursor(f);return{top:Oe.y-be.pageYOffset,left:Oe.x-be.pageXOffset}}let fe={};if(!me||!me[0])return fe;let{top:z,right:q,bottom:ne,left:Z,height:se,width:ye}=me.position();return[1,2].includes(we)?fe.left=Z:we==3?fe.left=Z+ye/2:[4,5].includes(we)&&(fe.left=q),p<=10?fe.top=z:p<=15?fe.top=z+se/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=dt(ae).position(),z=dt(Se).position(),q=me.position(),ne=Pt.default.getScreenSize(),Z={};for(let be in z)Z[be]=z[be];if(Pt.default.scope(()=>{if(r.nextToCursor)return;let be=0;ge==1?be=q.top-Z.bottom:ge==2?be=q.top-Z.top:ge==3?be=q.top-Z.top+(q.height-Z.height)/2:ge==4?be=q.bottom-Z.bottom:ge==5&&(be=q.bottom-Z.top),Z.top+=be,Z.bottom+=be}),Pt.default.scope(()=>{if(r.nextToCursor)return;let be=0;we==1?be=q.left-Z.right:we==2?be=q.left-Z.left:we==3?be=q.left-Z.left+(q.width-Z.width)/2:we==4?be=q.right-Z.right:we==5&&(be=q.right-Z.left),Z.left+=be,Z.right+=be}),Z.top<0){let be=-Z.top;Z.top+=be,Z.bottom+=be}if(Z.bottom>ne.height){let be=Z.bottom-ne.height;Z.top-=be,Z.bottom-=be}if(Z.left<0){let be=-Z.left;Z.left+=be,Z.right+=be}if(Z.right>ne.width){let be=Z.right-ne.width;Z.left-=be,Z.right-=be}let se=Z.top-z.top,ye=Z.left-z.left;(0,Pt.default)(ae).css({top:fe.top+se+"px",left:fe.left+ye+"px"})}},[ie]=(0,qa.useState)(H.Init());return(0,qa.useEffect)(()=>{dt(ae).await(10).addClass(oa("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Pt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),me[0]?(0,kr.jsx)(K,{className:[oa("BB"),oa("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:ie,children:(0,kr.jsx)(Dt,{position:"absolute",className:[oa("GPT"),oa("GPT_"+p),oa("Col_"+we),oa("Row_"+ge)].join(" "),children:(0,kr.jsx)(K,T(_({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},O),{freeCSS:_({maxWidth:"98vw"},O.freeCSS),children:Pt.default.is.function(m)?(0,kr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,kr.jsx)(K,{className:oa("TapSensor"),children:(0,kr.jsx)(it.Plain,{className:oa("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&lr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},lr={Wrapper:()=>(0,kr.jsx)(yg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Pt.UUID)(),s=r,{type:f,src:u}=s,h=Ge(s,["type","src"]);lr.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)(Pt.default.flatArray(u)),[m,g]=(0,qa.useState)(0),b=[];return p.forEach((C,w)=>{b.push({value:w,label:(0,kr.jsx)(ks,{src:Pt.default.flatArray(C)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,kr.jsxs)(Zt,{gap:0,height:1,position:"relative",children:[(0,kr.jsxs)(pt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,kr.jsx)(La.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:C})=>{g(C)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,kr.jsx)(it.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{lr.close(l)},children:(0,kr.jsx)(Ne.Times,{})})]}),(0,kr.jsx)(pc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,kr.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Pt.useStore.get("Sheet-"+vt.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Pt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Pt.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 u=Pt.useStore.get(f.sheetID);u&&u.close&&u.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&&lr.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||lr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,kr.jsx)(K,_({className:oa("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,tS.UUID)(),open:r=>{let a=r,{tipsID:o=(0,tS.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);lr.open(T(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&lr.close(r)},closeALL:()=>{lr.closeGroup("tooltips")},Body:r=>(0,j7.jsx)(K,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=r=>{let[a]=(0,pf.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,Un.jsx)(o,_({},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)(pt.Center,T(_({position:"relative",verticalAlign:"unset",gap:0},u),{className:jd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(rS.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Un.jsxs)(Dt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(rS.RightIcon,_({},r)),(0,Un.jsx)(rS.ClearButton,_({},r))]}),s.rightIndicator]}))},rS={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Un.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,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,pf.useEffect)(()=>{pa.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)(K,{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)(pt.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+"-"+pa.default.Stringify(h))})})]})})},350,s),pa.default.interval.once(()=>{Na.close(u)},6e3,f)},[a]),null}},Vt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,pa.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,pf.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;u({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,pf.useEffect)(()=>{Vt.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,pf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,C=b;if(a=="autocomplete.single"||a=="list.radio"?C=C[0]:o.isChecker&&(C=!!C[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:C,validation:f.ok}}}),g=="refresh"){let w=pa.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue({componentID:m,value:C,eventType:g}),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue({componentID:m,value:C,eventType:g})}))}),()=>{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=()=>Da(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate({value:r.val_status.dataValue,eventType:r.val_status.eventType,props:r});r.set_validate({ok:u.ok,notice:[...s,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}pa.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=dt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return pa.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||vt.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=_({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:[jd("Input"),r.className].join(" ")})};var f$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,um.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Yd.UUID)()}),[m,g]=(0,um.useState)({ok:!1,notice:[]});return(0,um.useEffect)(()=>{Yd.default.is.equal(h.dataValue,f)||p(b=>T(_({},b),{dataValue:f,eventType:"update",eventID:(0,Yd.UUID)()}))},[r.value]),Vt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,aS.jsx)("input",T(_({value:Yd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},H7=r=>(0,aS.jsx)(Ta,{componentID:r.componentID,children:f$,states:r});var sr=G(Rt()),Ja=G(rr()),As=G(dr());var K7=G(G7());var fm=G(Rt()),Sg=G(dr()),wg=G(rr());var mu=r=>{if(!r.label)return null;let[a,o]=(0,Sg.useState)({});return(0,Sg.useEffect)(()=>{let l=(0,wg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,wg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,wg.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,fm.jsx)(K,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)(pt.Left,{gap:"1/3",children:[r.label,r.required&&(0,fm.jsx)(yn,{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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(K,{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,sr.jsx)(K,{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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(K,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,sr.jsx)(K,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,sr.jsx)(K,{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"}},vc={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=dt("#"+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),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=vc.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=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"&&(l=l.replace(/[^ァ-ヶー  ヲ-゚  ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚  ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let u=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),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))}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}}}},oS={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Da(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 C=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=C.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="",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=Dl(a);return(0,sr.jsxs)(K,{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},h),{position:"absolute",width:1,freeCSS:T(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,sr.jsx)(K,{"data-input-value-shallow":o.componentID,children:s})})),(0,sr.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,sr.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: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:C,required:w,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:P,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:O,clearButton:te=!1,checkValidationAtFirst:me,onChange:ae,onKeyDown:Se,onValidate:we,onUpdateValue:ge,onUpdateValidValue:H,value:ie="",leftIndicator:fe,rightIndicator:z,leftIcon:q,rightIcon:ne,maxLength:Z,min:se,max:ye,label:be,isLabelActive:Oe,wrapStyles:We}=g,$e=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"]),ht=k=="password"||k=="concealed"?"password":"text",Mt=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,sr.jsx)(K,T(_({htmlTag:"input",type:ht,inputMode:Mt,"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(o,s,!!me),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:yt,target:ut}=lt;{let tt=ut,{selectionStart:Ce,selectionEnd:St}=tt,It=Number(Ce),qt=Number(St),jt=s.formatValue[Number(It)],tr=s.formatValue[Number(It)-1];yt=="Delete"&&(k=="creditCard"&&jt==" "||k=="postal"&&jt=="-"||k=="digitNumber"&&jt==",")&&(tt.setSelectionRange(It+1,qt+1),lt.preventDefault()),yt=="Backspace"&&(k=="creditCard"&&tr==" "||k=="postal"&&tr=="-"||k=="digitNumber"&&tr==",")&&(tt.setSelectionRange(It-1,qt-1),lt.preventDefault()),yt=="Enter"||yt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&yt=="Clear"&&f(tt=>T(_({},tt),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(yt)){let tt=+(yt=="ArrowUp")*2-1,Ce=String(Number(s.dataValue)+tt);o.ok&&l({ok:!1,notice:[]}),f(St=>T(_(_({},St),vc.Validation.DataLeveling({min:se,max:ye,restrict:k,value:Ce})),{eventType:"update",eventID:(0,Ja.UUID)()})),lt.preventDefault()}Se&&Se(lt),O&&Vt.SubmitForm(lt,L)},onChange:lt=>{let{value:yt,selectionStart:ut,selectionEnd:tt}=lt.target,Ce=vc.Validation.DataLeveling({min:se,max:ye,restrict:k,value:yt});p&&(Ce.formatValue=yt),Ce.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(St=>T(_(_({},St),Ce),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(ut),caretTo:Number(tt)})),ae&&ae(lt))},width:1},$e),{onFocus:lt=>{$e!=null&&$e.onFocus&&($e==null||$e.onFocus(lt)),h(!0)},onBlur:lt=>{$e!=null&&$e.onBlur&&($e==null||$e.onBlur(lt)),h(!1)},onCompositionStart:lt=>{$e!=null&&$e.onCompositionStart&&($e==null||$e.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if($e!=null&&$e.onCompositionEnd&&($e==null||$e.onCompositionEnd(lt)),k=="text")return;let yt=vc.Validation.DataLeveling({min:se,max:ye,restrict:k,value:s.formatValue});f(ut=>T(_(_({},ut),yt),{prevValue:ut.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(ut.formatValue.length+1),caretTo:Number(ut.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:C,form:w,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:P,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:O,onChange:te,onKeyDown:me,onValidate:ae,onUpdateValue:Se,onUpdateValidValue:we,value:ge="",leftIndicator:H,rightIndicator:ie,leftIcon:fe,rightIcon:z,wrapStyles:q}=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,sr.jsx)(K,T(_({htmlTag:"textarea","data-show-validation":Vt.isShowValidation(s,u,!!O),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},ne),{onFocus:Z=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(Z)),l(!0)},onBlur:Z=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(Z)),l(!1)},onKeyDown:Z=>{me&&me(Z),F&&Vt.SubmitForm(Z,w)},onChange:Z=>{let{value:se}=Z.target;s.ok&&f({ok:!1,notice:[]}),h(ye=>T(_({},ye),{dataValue:se,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(Z)}})):null}},p$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[u,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(_({componentID:a},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Ja.UUID)(),caretFrom:null,caretTo:null})),[C,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:C,set_validate:w};return Vt.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:C,set_validate:w,SystemValidation:vc.Validation.System,ExtraOverrideStates:_({},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vc.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,sr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:C,states:k.rootStates,children:[(0,sr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!g.dataValue}),(0,sr.jsx)(oS.Shallow,_({},k)),(0,sr.jsx)(oS.InputBox,_({},k)),(0,sr.jsx)(oS.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,sr.jsx)(Ta,{componentID:r.componentID,children:p$,states:Vn(r)})),dn=Zl;dn.Validate=vc.Validation.Text,dn.Katakana=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,sr.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,sr.jsx)(Zl,T(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,sr.jsx)(Wd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,sr.jsx)(Zl,T(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,sr.jsx)(za,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,sr.jsx)(it.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_c.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_c.abort,tabIndex:-1,onClick:a=>{(0,Ja.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,sr.jsx)(Ne,{icon:K7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,sr.jsx)(dn.Password,T(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,sr.jsx)(dn.DigitNumber,T(_({rightIcon:(0,sr.jsx)(za,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Cg=G(Rt()),X7=G(rr()),iS=G(dr());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:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:C,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:P,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"]),[O,te]=(0,iS.useState)(Vt.DefaultStatus(o,u)),[me,ae]=(0,iS.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"contenteditable",states:r,val_status:O,set_status:te,val_validate:me,set_validate:ae,SystemValidation:h$}),(0,Cg.jsx)(Fa,{val_status:O,set_status:te,val_validate:me,states:r,children:(0,Cg.jsx)(K,T(_({contentEditable:!0,"data-show-validation":Vt.isShowValidation(me,O,!!p),"data-component-id":O.componentID,onKeyDown:Se=>{g&&g(Se),h&&Vt.SubmitForm(Se,f)},onInput:Se=>{let we=Se.currentTarget,{innerHTML:ge,innerText:H}=we;me.ok&&ae({ok:!1,notice:[]}),te(ie=>T(_({},ie),{dataValue:H,eventType:"update",eventID:(0,X7.UUID)()})),m&&m(Se)}},Q),{children:k}))})},Q7=r=>{r=T(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Cg.jsx)(Ta,{componentID:r.componentID,children:m$,states:a})};var dm=G(Rt()),lS=G(dr()),$d=G(rr());function v$(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 _$=(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:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:P,wrapStyles:j,combineInput:F,componentID:Q,listStyles:O}=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"]),[me,ae]=(0,lS.useState)(T(_({componentID:r.componentID||""},_$(h,M)),{eventType:"init",eventID:(0,$d.UUID)()})),[Se,we]=(0,lS.useState)({ok:!1,notice:[]});Vt.CommonEffects({type:"textfield",states:r,val_status:me,set_status:ae,val_validate:Se,set_validate:we,SystemValidation:v$});let ge=[];for(let H=0;H<h;H++){let ie=me.formatValue[H],fe={},z=u;r.combineInput&&(z=[u,jd("DigitCharacterCell"),jd("Combined")].join(" ")),ge.push((0,dm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:ie,id:"Digit-"+H+"-"+me.componentID,className:z,style:_(_({},r.style),fe),onKeyDown:q=>{let{key:ne,code:Z}=q;if(ne=="Tab")return;q.preventDefault();let se=null;if(ne=="Backspace"){let ye=me.formatValue;ye[H]="",ae(be=>T(_(_({},be),J7(ye)),{eventType:"update",eventID:(0,$d.UUID)()})),se=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let ye=+(ne=="ArrowRight")*2-1;se=H+ye}else m&&Vt.SubmitForm(q,s),(()=>{let ye=Z.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!ye)return;let be=ye[2]||ye[3]||ye[4];if(p&&!be.match(/\d/)||!be)return;let Oe=me.formatValue;Oe[H]=be,ae(We=>T(_(_({},We),J7(Oe)),{eventType:"update",eventID:(0,$d.UUID)()})),se=H+1})();$d.default.is.exist(se)&&dt("#Digit-"+se+"-"+me.componentID).focus()},onChange:()=>{}},H))}return(0,dm.jsx)(Fa,{val_status:me,set_status:ae,val_validate:Se,states:r,children:(0,dm.jsx)(Dt,T(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},O),{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(Vn(r));return(0,dm.jsx)(Ta,{componentID:r.componentID,children:g$,states:a})};var ta=G(Rt()),pn=G(rr()),pm=G(rr()),To=G(dr());var gO=G(iO()),bO=G(hO());var Tr=G(Rt()),Sn=G(rr()),gc=G(dr());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:u})=>u=="invalid").length,notice:f}}var uS={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},Gd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Dl(a);return(0,Tr.jsx)(K,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Tr.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,Tr.jsx)(K,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button: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,C=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:P,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:O,onValidate:te,onUpdateValue:me,onUpdateValidValue:ae,value:Se="",options:we,leftIndicator:ge,rightIndicator:H,leftIcon:ie,rightIcon:fe,componentID:z,status_id:q,wrapStyles:ne,SelectedCellStyles:Z,SelectorCellStyles:se,SelectorStyles:ye,SelectorPosition:be}=C,Oe=Ge(C,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorPosition"]);return(0,gc.useEffect)(()=>{if(a.disabled)return;let We="select-click-"+a.componentID;if(g){if(!(0,Sn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Sn.default)(document).addEvent({eventID:We,eventType:"click",callback:$e=>{let ht=(0,Sn.default)($e.target),Mt=!!(0,Sn.default)(ht).parent("."+Ql("Core")).length;(0,Sn.default)(ht).parent("."+Ql("Selector")).length||Mt||b(!1)}})}else(0,Sn.default)(document).removeEvent([We])},[g]),(0,gc.useEffect)(()=>{if(p.eventType=="init"||!g)return;let We=(0,Sn.default)('[data-input-origin="'+a.componentID+'"]');We&&We.focus()},[p.dataValue]),(0,Tr.jsxs)(Tr.Fragment,{children:[(0,Tr.jsx)(K,T(_({tabIndex:0},Oe),{"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Ql("Core")].join(" "),onFocus:We=>{if(Oe!=null&&Oe.onFocus&&(Oe==null||Oe.onFocus(We)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:We=>{Oe!=null&&Oe.onClick&&(Oe==null||Oe.onClick(We)),!a.disabled&&b(!0)},onKeyDown:We=>{let{key:$e,metaKey:ht,ctrlKey:Mt}=We,lt=ht||Mt;if(Oe!=null&&Oe.onKeyDown&&(Oe==null||Oe.onKeyDown(We)),F&&Vt.SubmitForm(We,L),!a.disabled){if(Sn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes($e))return;if(We.preventDefault(),!g)return b(!0);let yt=$e=="ArrowDown"?1:-1,ut=uS.FilterSelectableOptions(r),tt=ut.length-1,Ce=null;Sn.default.scope(()=>{var St,It,qt,jt,tr,cr,Sr,ra,jr,qr;let ur=ut.findIndex(Cr=>Cr.value==s);if(yt==1){if(Ce=(It=(St=ut[0])==null?void 0:St.value)!=null?It:null,lt){Ce=(qt=ut[tt].value)!=null?qt:null;return}if(ur==-1||ur==tt)return;Ce=(tr=(jt=ut[ur+1])==null?void 0:jt.value)!=null?tr:null}else{if(Ce=(cr=ut[tt].value)!=null?cr:null,lt){Ce=(ra=(Sr=ut[0])==null?void 0:Sr.value)!=null?ra:null;return}if(ur==-1||ur==0)return;Ce=(qr=(jr=ut[ur-1])==null?void 0:jr.value)!=null?qr:null}}),f(Ce)}),$e=="Escape")b(!1);else if($e=="Tab")b(!1);else if($e=="Backspace")m(yt=>T(_({},yt),{dataValue:null,eventType:"update",eventID:(0,Sn.UUID)()}));else if($e==" ")We.preventDefault(),b(!0);else if($e=="Enter"){if(!g)return b(!0);We.preventDefault();let yt=a.options.find(ut=>ut.value==s);if(!yt)return;m(ut=>T(_({},ut),{dataValue:yt.value,eventType:"update",eventID:(0,Sn.UUID)()})),b(!1)}}},children:(0,Tr.jsxs)(pt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Tr.jsx)(Gd.Placeholder,_({},r)),(0,Tr.jsx)(Gd.Selected,_({},r)),(0,Tr.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,Tr.jsx)(Gd.Selector,_({},r))]})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Tr.jsx)(K,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{var a;let o=[],l=uS.FilterSelectableOptions(r,!0),s=uS.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,Tr.jsx)(it.Sub.S,{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"},onClick:C=>{r.set_status(w=>T(_({},w),{dataValue:m,eventType:"update",eventID:(0,Sn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,Tr.jsxs)(pt.Left,{gap:"1/2",children:[b&&(0,Tr.jsx)(Ne.Check,{fontColor:"theme"}),(0,Tr.jsx)(nr.Supplement,{transition:"short",children:u.label})]})},String(m)));return}o.push((0,Tr.jsx)(K,{children:u.label},(0,Sn.UUID)()))}),s.length||(o=[(0,Tr.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,Tr.jsx)(K,T(_({},f),{children:(0,Tr.jsx)(lr.Body,T(_({className:Ql("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,Tr.jsx)(Zt,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Sn.default.scope(()=>{let o=r.rootStates.options.find(l=>Sn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,Tr.jsx)(K,T(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Tr.jsx)(Tr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gc.useState)(Vt.DefaultStatus(r.componentID,o)),[f,u]=(0,gc.useState)(!1),[h,p]=(0,gc.useState)(!1),[m,g]=(0,gc.useState)((a=r.value)!=null?a:null),[b,C]=(0,gc.useState)({ok:!1,notice:[]}),w={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:C};return Vt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:C,SystemValidation:b$}),(0,Tr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,Tr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,Tr.jsx)(Gd.Shallow,_({},w)),(0,Tr.jsx)(Gd.Button,_({},w))]})}},es=r=>{var a;let o=_({},r);return o=T(_({emptySelect:!0,SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,Tr.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(_({},l),{value:u,type:f||"selector"})}),Sn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Tr.jsx)(za,{ssSphere:2,children:(0,Tr.jsx)(Ne.AngleDown,{})})),(0,Tr.jsx)(Ta,{componentID:o.componentID,children:Gd.Core,states:Vn(o)})};var je=G(Rt()),vO=G(dr()),Er=G(rr()),bc=G(dr());var Oa=G(Rt()),ts=G(rr()),fS=G(dr());function y$(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 hf={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(u=>ts.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(hf.Core,T(_({},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:C,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:P,value:j,options:F,className:Q,cellStyles:O,cellClassName:te,cellCheckedStyles:me,cellCheckedClassName:ae,min:Se,max:we,hideInput:ge,freeCSS:H,wrapStyles:ie}=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"]),[z,q]=(0,fS.useState)(Vt.DefaultStatus(f,j)),[ne,Z]=(0,fS.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"list."+o,states:r,val_status:z,set_status:q,val_validate:ne,set_validate:Z,SystemValidation:y$}),(0,Oa.jsx)(Fa,{val_status:z,set_status:q,val_validate:ne,states:r,children:(0,Oa.jsx)(hf.List,{rootStates:r,val_status:z,set_status:q})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:C,form:w,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:P,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:O}=a,{dataValue:te}=o,me=a.CustomIcon,ae=b.map((Se,we)=>{let ge=Se,{value:H,label:ie,disabled:fe,className:z="",checkedStyles:q,checkedClassName:ne="",freeCSS:Z}=ge,se=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),ye=(0,ts.UUID)(),be=te.findIndex(Mt=>Mt===H)!=-1,Oe=_(_({},P),se),We=[lf("Label"),j,z];be&&(Oe=T(_(_(_({},Oe),F),q),{freeCSS:_(_(_({},Oe==null?void 0:Oe.freeCSS),F==null?void 0:F.freeCSS),q==null?void 0:q.freeCSS)}),We=[...We,Q,ne]);let $e=()=>{if(M||fe)return;let Mt=[];if(f=="radio")Mt=[H];else if(f=="checkbox"||g)if(!be)Mt=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(yt=>yt==H),1),Mt=lt}l(lt=>T(_({},lt),{dataValue:Mt,eventType:"update",eventID:(0,ts.UUID)()}))},ht=[(0,Oa.jsx)(yn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(ie)?(0,Oa.jsx)(K,{children:ie}):ie},"content")];return h&&ht[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(me,{isChecked:be,iconSize:p,iconColor:m,toggle:$e},"icon")),[(0,Oa.jsx)(K,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:lf("Input"),name:"RadioCheckbox-"+C,"data-list-index":s+"-"+we,id:ye,value:String(H),disabled:M||fe,checked:be,onFocus:Mt=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(_({},lt),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{$e()},onKeyDown:Mt=>{let{key:lt,shiftKey:yt}=Mt;if((f=="checkbox"||r.rootStates.isChecker)&&lt!="Tab"&&lt.match(/Arrow/)){Mt.preventDefault();let ut=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,tt=we+ut;tt<0?tt=b.length-1:tt>=b.length&&(tt=0),dt(`input[data-list-index="${s}-${tt}"]`).focus()}O&&Vt.SubmitForm(Mt,w)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(K,T(_({htmlTag:"label","data-disabled":M||fe,htmlFor:ye,className:We.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Oe),{children:ht}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(Dt,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[Y,lf("CellBase"),lf("HideInput_"+L),lf("IconIndicator_"+!!h),lf("Tone_"+u)].join(" "),children:ae})},_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)(hf._Icon,T(_({type:"radio"},r),{children:(0,Oa.jsx)(K,{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)(K,{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)(hf._Icon,T(_({type:"checkbox"},r),{children:(0,Oa.jsx)(K,{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)"}})})}))},dS=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=hf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=hf.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)(Ta,{componentID:l.componentID,children:hf.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},mf=dS("radio"),xg=dS("checkbox"),mO=dS();var pS=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,Er.Time)().addYear(10).year);for(let u=s;u<=f;u++)l.unshift({value:u,label:[u,...Er.default.transformer.wareki(u).value].join(" -")});return l},_O=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Er.UUID)();let s=(0,bc.useRef)(!1),[f,u]=(0,bc.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),C=Number(g[1]);return{modifiedType:"init",hour:b,minutes:C}}else if(a=="date"){let[g,b,C]=(p=String(l))==null?void 0:p.split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b)||Er.default.is.nullish(C))&&([g,b,C]=(0,Er.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(C)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b))&&([g,b]=(0,Er.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Er.default.is.nullish(g)&&([g]=(0,Er.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,C]=(m=String(l))==null?void 0:m.split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b)||Er.default.is.nullish(C))&&([g,b,C]=(0,Er.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(C)}}}return{}})());(0,bc.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:C}=f;p=[g,b.zeroEmbed(2),C.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:C,era:w}=f;m=w,p=[g,b.zeroEmbed(2),C.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(_({},r),{val_value:f,set_value:u});return(0,je.jsx)(K,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(K,{className:ka(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:u}=r,[h,p]=(0,bc.useState)(f.hour>12?2:1),[m,g]=(0,bc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:C}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(Dt,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(Zt,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(K,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(K,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(K,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+C/2}deg)`}}),(0,je.jsx)(K,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${C*6}deg)`}})]})}),(0,je.jsx)(mf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:w})=>{let k=f.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(K,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(mf,{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:({value:w})=>{g(w)}})]}),(0,je.jsxs)(Zt,{children:[(0,je.jsxs)(K,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(Dt,{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:Ya.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(Zt,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ya.Clock.Minutes({onClick:w=>{u({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 u=Number(String(r.max).replace(/\D/ig,""));f>u&&(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:u}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(pt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(Dt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:pS(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:({value:g})=>{u({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,je.jsx)(za,{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)(za,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:({value:g})=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:g=>{let b=p+g,C=h;b<=0&&(C--,b=12),b>12&&(C++,b=1),u({modifiedType:"update",year:C,month:b,date:f.date})}})]}),(0,je.jsx)(K,{borderTop:!0}),(0,je.jsx)(K,{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,C,w]=g;u({modifiedType:"update",year:b,month:C,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:u}=r,h=(0,Er.Time)(),p=(0,Er.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Er.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],C=[],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)(K,T(_({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++)C.unshift((0,vO.createElement)(K,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let P=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 O=Number(String(r.max).replace(/\D/ig,""));Q>O&&(F=!0)}}w.push((0,je.jsx)(it.Clear,T(_({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,P])},tabIndex:-1,isLocked:F,children:M}),P))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(K,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Hd,{gridCols:7,gap:"1/6",children:[b,C,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(pt.Separate,{gap:0,children:[(0,je.jsx)(pt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:pS(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(za,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:({value:m})=>{u({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);u({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(K,{borderTop:!0}),Ya.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)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Er.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)(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)(Hd,{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)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Er.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:pS({min:a,max:o}),onUpdateValidValue:({value:p})=>{u({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Er.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)(K,{children:[(0,je.jsxs)(pt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(Ya.DateWareki.EraSelect,_({},b)),(0,je.jsx)(K,{borderRight:!0}),(0,je.jsx)(Ya.DateWareki.Calendar,_({},b))]}),(0,je.jsx)(pt.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)(Zt,{padding:1,gap:0,children:[(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Er.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,Er.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,Er.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,Er.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)(pt.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)(za,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:({value:s})=>{o(f=>T(_({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(pt.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)(za,{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:({value: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,Er.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:Er.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Er.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.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,Er.Time)();for(let p=1;p<=f.date;p++){let m=(0,Er.Time)(l).setDate(p),g=h.diff(m).dates==0;u.push((0,je.jsx)(it.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,Er.Time)(l).addMonth(1).setDate(1).addDate(p);u.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)(Hd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,je.jsxs)(Dt,{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(),lr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(Dt,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(it.Clear,T(_({className:ka("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:ka("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 _f=" ~ ",S$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+_f.length,length:4},{type:"month",from:15+_f.length,length:2},{type:"date",from:18+_f.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+_f.length,length:4},{type:"month",from:13+_f.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},vf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=pn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=S$[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 C=s[b]||"";if(!C.match(u))s[b]="",m.push(f);else{let w=f;C.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(_f),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=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],C=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=C))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,C]=g.split(/\D+/);!b||!C?p.filled=!1:(Number(b)>23||Number(C)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,C,w]=g.split(/\D+/);if(!b||!C||!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,C]=g.split(/\D+/);if(!b||!C)p.filled=!1;else{let w=pm.Time(b+"/01/01").weekday,k=pm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(C)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,C]=g.split(/\D+/);!b||!C?p.filled=!1:pm.Time([b,C,"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 C=Number(String(s).replace(/\D/ig,""));b>C&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:C,prohibited:w}=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"}),C||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&u.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(K,{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,C=g||b,{selectionStart:w,selectionEnd:k}=l.target,{index:L,prevIndex:M}=u,{ranges:Y,formatValue:P}=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;C||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:O,length:te}=Y[F],me=P.slice(O,O+te),ae;if(p=="Backspace")ae="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let Se=p=="ArrowUp"?1:-1;me=me|0,ae=me+Se;let[we,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];ae>ge?ae=we:ae<we&&(ae=ge),ae=Number(ae).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let Se=me|0,we=p,ge=`${Se}${we}`;if(M!=L&&(Se=0,ge="0"+we),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?ae=we:ae=ge,(ae|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;ae=(ge|0)>H?we:ge,(Number(we)>Number(String(H)[0])||me=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=iT(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?ae=(ae|0).zeroEmbed(4):ae=(ae|0).zeroEmbed(2)}{let Se=String(P).partReplace(O,String(ae)),we=Se.split(_f).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=we[0].split(/\D/),[H,ie,fe]=ge;ge.length==3&&H&&(we=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),ie,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(_({},ge),{dataValue:["dates","months"].includes(o)?we:we[0],formatValue:Se,eventType:"update",eventID:(0,pn.UUID)()})),h(ge=>T(_({},ge),{index:F,prevIndex:ge.index}))}}}},yO={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"]);lr.open(T(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(pt.Center,{children:(0,ta.jsx)(_O,{restrict:h,min:s,max:f,era:u,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=Dl(a);return(0,ta.jsx)(K,{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)(K,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},x$=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:C,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:P="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:O,freeCSS:te,wrapStyles:me}=a,ae=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"]),[Se,we]=(0,To.useState)(u),[ge,H]=(0,To.useState)(T(_({componentID:r.componentID||""},vf.DataLeveling({restrict:s,value:P,era:Se})),{eventType:"init",eventID:(0,pn.UUID)()})),[ie,fe]=(0,To.useState)({ok:!1,notice:[]}),[z,q]=(0,To.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:ie,set_validate:fe,val_era:Se,set_era:we,val_focus:z,set_focus:q};Vt.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:ie,set_validate:fe,SystemValidation:vf.SystemValidation,ExtraOverrideStates:_({},vf.DataLeveling({restrict:s,value:P,era:Se}))});let Z=(0,To.useRef)(!1);return(0,To.useEffect)(()=>{if(Z.current){H(ye=>_(_({},ye),vf.DataLeveling({restrict:s,value:ye.dataValue,era:Se})));let se=pn.useStore.get("refreshEra_"+ge.componentID);se&&se.refreshEra(Se)}else Z.current=!0},[Se]),pn.useStore.update({[ge.componentID]:{openPicker:se=>{r.disabled||yO.picker.launch({parent:se,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:Se,onValueUpdate:(ye,be)=>{H(Oe=>T(_(_({},Oe),vf.DataLeveling({restrict:s,value:ye,era:be})),{eventType:"update",eventID:(0,pn.UUID)()})),we(be)}})},resetEra:se=>{we(se),H(ye=>T(_(_({},ye),vf.DataLeveling({restrict:s,value:"",era:Se})),{eventType:"update",eventID:(0,pn.UUID)()}))}}}),(0,To.useEffect)(()=>{let{index:se,active:ye}=z;if(ye){se=Math.max(se,0),se=Math.min(se,ge.ranges.length-1);let{from:be,length:Oe}=ge.ranges[se],We=dt("#"+r.id)[0];We&&We.setSelectionRange(be,be+Oe)}},[z]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:ie,states:r,children:[(0,ta.jsx)(C$.Shallow,_({},ne)),(0,ta.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),vt.get().isTouchDevice?(0,ta.jsx)(it.Plain,T(_({"data-show-validation":Vt.isShowValidation(ie,ge,!!w),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ae),{children:ge.formatValue,onClick:se=>{let ye=pn.useStore.get(ge.componentID);ye&&ye.openPicker(`[data-input-origin="${ge.componentID}"]`),se.stopPropagation()}})):(0,ta.jsx)(K,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Vt.isShowValidation(ie,ge,!!w),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:vt.get().isTouchDevice?-1:0,onKeyDown:se=>{vf.KeyDownEvent({restrict:s,event:se,val_era:Se,val_status:ge,set_status:H,val_focus:z,set_focus:q}),k&&k(se),C&&Vt.SubmitForm(se,h)},onKeyUp:se=>{se.key=="Tab"&&q(ye=>T(_({},ye),{active:!0}))},onClick:se=>{let ye=se.target.selectionEnd,be=0;ge.ranges.forEach((Oe,We)=>{let{from:$e,length:ht,region:Mt}=Oe;$e<=ye&&ye<=$e+(Mt||ht)&&(be=We)}),q(Oe=>T(_({},Oe),{active:!0,index:be})),se.preventDefault()},onChange:()=>{}},ae))]})},Ls={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,To.useState)(r.componentID||(0,pn.UUID)());if(a.componentID=o,pn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?gO.faClock:bO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(za,{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=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:x$,states:Vn(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,pn.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[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,To.useEffect)(()=>{pn.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:({value:f,eventType:u})=>{s(f);let h=pn.useStore.get(r.componentID);h&&h.resetEra&&h.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=G(Rt()),ja=G(dr()),Ir=G(rr());var yf=G(Rt()),Qd=G(rr());var gf=G(Rt()),kg=G(rr());var bf=G(dr());var Kd=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,bf.useState)(f),[p]=(0,bf.useState)((0,kg.UUID)()),[m,g]=(0,bf.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 C={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,bf.useEffect)(()=>{let w=dt('[data-component-id="'+p+'"]');m?w.removeClass(xa("Hide")).await(10).addClass(xa("Active")):w.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,bf.useEffect)(()=>{kg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,gf.jsxs)(pt.Center,T(_({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,gf.jsx)("svg",{className:xa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,gf.jsx)("svg",{className:xa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Al=G(Rt()),wO=G(rr());var Tg=G(dr());var SO=()=>{let[r,a]=(0,Tg.useState)(!1);return(0,Tg.useEffect)(()=>{wO.useStore.set({["Loader-corner-"+vt.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Al.jsxs)(Dt,{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,Al.jsxs)(Dt,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Al.jsx)(K,{className:xa("Ld4")}),(0,Al.jsx)(K,{className:xa("Ld3")}),(0,Al.jsx)(K,{className:xa("Ld2")}),(0,Al.jsx)(K,{className:xa("Ld1")}),(0,Al.jsx)(K,{className:xa("Ld2")}),(0,Al.jsx)(K,{className:xa("Ld3")}),(0,Al.jsx)(K,{className:xa("Ld4")})]}),(0,Al.jsx)(K,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Xd=r=>{let a=r.color;return{S:o=>(0,yf.jsx)(Kd,_({size:"S",color:a},o)),R:o=>(0,yf.jsx)(Kd,_({size:"R",color:a},o)),L:o=>(0,yf.jsx)(Kd,_({size:"L",color:a},o)),XL:o=>(0,yf.jsx)(Kd,_({size:"XL",color:a},o)),MAX:o=>(0,yf.jsx)(Kd,_({size:"MAX",color:a},o))}},Eo={Wrapper:()=>(0,yf.jsx)(SO,{}),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-"+vt.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Qd.useStore.get("Loader-corner-"+vt.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{dt("."+xa("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="")=>{dt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{dt("."+xa("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: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 Jd={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:u}=o,h=u||(Ir.default.is.string(s)?s:"")||(Ir.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=Dl(a);return(0,Xt.jsx)(K,{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)(K,{"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:C,set_selectorOpen:w,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,P=a,{tone:j,required:F,form:Q,className:O,multiSelect:te,enableFormSubmit:me,checkValidationAtFirst:ae,onValidate:Se,onUpdateValue:we,onUpdateValidValue:ge,value:H="",options:ie,leftIndicator:fe,rightIndicator:z,leftIcon:q,rightIcon:ne,componentID:Z,status_id:se,wrapStyles:ye,emptySelect:be,SearchInput:Oe,SearchInputPlaceholder:We,SelectedComponent:$e,SelectorComponent:ht,SelectorStyles:Mt,SelectorPosition:lt,DynamicOptionsOnSearch:yt}=P,ut=Ge(P,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var tt,Ce;if(a.disabled||!C)return;let St=Jd.FilterSelectableOptions(r);f((Ce=(tt=St[0])==null?void 0:tt.value)!=null?Ce:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let tt=(0,Ir.default)('[data-input-origin="'+a.componentID+'"]');tt&&tt.focus()},10)):(0,Ir.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let tt="autocomplete-click-"+a.componentID;if(C){if(!(0,Ir.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Ir.default)("#SearchInput_"+a.componentID).focus(),(0,Ir.default)(document).addEvent({eventID:tt,eventType:"mousedown",callback:Ce=>{let St=(0,Ir.default)(Ce.target),It=!!(0,Ir.default)(St).parent("."+Ql("Core")).length;(0,Ir.default)(St).parent("."+Ql("Selector")).length||It||w(!1)}})}else(0,Ir.default)(document).removeEvent([tt]),l("")},[C]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(K,T(_({tabIndex:0},ut),{"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(M,k,!!ae),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!C,className:[O,Ql("Core")].join(" "),onFocus:tt=>{if(ut!=null&&ut.onFocus&&(ut==null||ut.onFocus(tt)),!a.disabled){if(g)return b(!1);w(!0),tt.preventDefault()}},onClick:tt=>{ut!=null&&ut.onClick&&(ut==null||ut.onClick(tt)),!a.disabled&&w(!0)},onKeyDown:tt=>{let{key:Ce}=tt;me&&Vt.SubmitForm(tt,Q),!C&&(Ce==" "||Ce=="ArrowDown"||Ce=="ArrowUp"||Ce=="Enter")&&w(!0)},children:(0,Xt.jsxs)(pt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(Zd.Selected,_({},r)),(0,Xt.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(Zd.SearchInput,_({},r))]})})),C&&(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)(K,{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,Ir.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Ir.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Ir.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,Ir.UUID)()}))}):f=="Enter"&&Ir.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 C=[...b.dataValue];return Ir.default.scope(()=>{if(g===null)return C=[];b.dataValue.includes(g)?C=C.filter(w=>w!==g):a.multiSelect?C.push(g):C=[g]}),T(_({},b),{dataValue:C,eventType:"update",eventID:(0,Ir.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Ir.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,C=null;Ir.default.scope(()=>{var w,k,L,M,Y,P,j,F,Q,O;let te=g.findIndex(me=>me.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(C=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){C=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;C=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(C=(P=g[b].value)!=null?P:null,p){C=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;C=(O=(Q=g[te-1])==null?void 0:Q.value)!=null?O:null}}),r.set_optionFocused(C)}),a.enableFormSubmit&&Vt.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;Ir.default.interval.once(()=>Da(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let C=Jd.InitOptions(b||[]);r.set_options(C)}),300,g)},[r.val_keyword]);let u=[],h=Jd.FilterSelectableOptions(r,!0),p=Jd.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:C,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;u.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let P=[...Y.dataValue];return Ir.default.scope(()=>{if(w===null)return P=[];Y.dataValue.includes(w)?P=P.filter(j=>j!==w):r.rootStates.multiSelect?P.push(w):P=[w]}),T(_({},Y),{dataValue:P,eventType:"update",eventID:(0,Ir.UUID)()})})}},Ir.default.Stringify(w)||(0,Ir.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)(pt.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)(K,T(_({},m),{children:(0,Xt.jsx)(lr.Body,T(_({className:Ql("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)(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[Ir.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(K,{className:Ql("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(C=>C!==u),l(C=>T(_({},C),{dataValue:b,eventType:"update",eventID:(0,Ir.UUID)()}))}})},Ir.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,C]=(0,ja.useState)(r.options),[w,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,P]=(0,ja.useState)(Vt.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?C(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let ae=[...b],Se=_({},L);ae.forEach(we=>{we.type!="label"&&(Se[Ir.default.Stringify(we.value)]=we)}),M(Se)},[b]);let O={rootStates:r,val_options:b,set_options:C,val_optionFocused:w,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:P,val_validate:j,set_validate:F},te=!!r.multiSelect;Vt.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:P,val_validate:j,set_validate:F,SystemValidation:k$});let me=Y.dataValue.length&&Y.dataValue[0]!==null;return me=me||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:P,val_validate:j,states:r,children:[(0,Xt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:me}),(0,Xt.jsx)(Zd.Shallow,_({},O)),(0,Xt.jsx)(Zd.Button,_({},O))]})}},Eg=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:u})=>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=>{u()},children:(0,Xt.jsxs)(pt.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)(pt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(K,{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=Ir.default.flatArray((a=o.value)!=null?a:null),o.options=Jd.InitOptions(o.options),Ir.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Xt.jsx)(za,{ssSphere:2,children:(0,Xt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Xt.jsx)(za,{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)(Ta,{componentID:o.componentID,children:Zd.Core,states:Vn(o)})};var wf=G(Rt());var CO=r=>(0,wf.jsx)(Eg,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(za,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var br=G(Rt()),Sf=G(dr()),Ll=G(rr());var Ro=G(Rt()),xO=G(dr()),Do=G(rr());var yc=G(dr());var rs={add:function(r){let a=Do.useStore.get("Snackbar-"+vt.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Do.useStore.get("Snackbar-"+vt.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Ro.jsx)(kO.Wrapper,{})},kO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,Do.UUID)(),children:f,customChildren:u}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yc.useState)(s),[m,g]=(0,yc.useState)(r.secondsToClose||10);(0,yc.useEffect)(()=>{let C=dt('[data-component-id="'+p+'"]');setTimeout(()=>{C.addClass(am("FadeIn"))},10),Do.useStore.set({["Snackbar-"+o]:{remove:()=>{C.addClass(am("FadeOut"))}}})},[]),(0,yc.useEffect)(()=>{Do.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 u?b=(0,Ro.jsx)(u,{close:()=>{rs.remove(o)}}):b=(0,Ro.jsxs)(pt.Separate,{verticalAlign:"top",children:[(0,Ro.jsx)(K,{padding:["1/4",0],flexSizing:0,children:Do.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)(K,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,yc.useState)((0,Do.UUID)()),[o,l]=(0,yc.useState)([]);(0,yc.useEffect)(()=>{Do.useStore.set({["Snackbar-"+vt.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,Do.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(_({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(_({},f),{snackID:f.snackID}),o=h}a((0,Do.UUID)())},remove:f=>{let u=Do.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))}}})},[o.length]);let s=o.map(f=>(0,xO.createElement)(kO.Cell,T(_({},f),{key:f.snackID})));return(0,Ro.jsx)(Dt,{className:["AMOTIFY_be",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=G(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 PO={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,br.jsx)(PO.ListCell,T(_({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,br.jsx)(K,T(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Xl("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)&&dt("#"+a.id).click()},children:(0,br.jsxs)(pt.Center,{padding:["1/3",0],children:[(0,br.jsx)(K,{isRounded:!0,className:Xl("AddIcon"),children:(0,br.jsx)(Ne,{icon:OO.faCloudArrowUp,className:Xl("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,br.jsxs)(K,{children:[(0,br.jsxs)(K,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,br.jsx)(K,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,br.jsx)(Zt,T(_({flexSizing:"auto"},Dl(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,Sf.useState)(!1),b=(0,Ll.UUID)(),C=h.rank(),[w,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,Sf.useEffect)(()=>{m&&setTimeout(()=>{dt("#"+b).focus()},100)},[m]),(0,br.jsxs)(Dt,T(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,br.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,br.jsxs)(K,{flexSizing:0,children:[(0,br.jsx)(K,{children:(0,br.jsx)(Dt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Xl("FileName"),children:m?(0,br.jsx)(br.Fragment,{children:(0,br.jsxs)(Zt,{flexSizing:0,gap:"1/2",children:[(0,br.jsxs)(Dt,{gap:"2/3",verticalAlign:"center",children:[(0,br.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,br.jsxs)(K,{children:[". ",k]})]}),(0,br.jsxs)(Dt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,br.jsx)(it.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,br.jsx)(it,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,P=[...s.dataValue],j=P[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let O=yield String(Q.result).toBlob(l.type);if(!O)return;let te=new File([O],Y+"."+k,{type:j.type});te.id=F,P[a]=te,f(me=>T(_({},me),{dataValue:P,eventType:"update",eventID:(0,Ll.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,br.jsxs)(br.Fragment,{children:[u,!!o.isNameEditable&&(0,br.jsx)(it.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,br.jsx)(Ne.Pen,{})})]})})}),!m&&(0,br.jsxs)(K,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",C,"B"]})]}),(0,br.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,Ll.UUID)()})))},children:(0,br.jsx)(Ne.Times,{})})]}))}},E$=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:C,onUpdateValidValue:w,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:P,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:O}=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"]),[me,ae]=(0,Sf.useState)(Vt.DefaultStatus(r.componentID||"",k)),[Se,we]=(0,Sf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:me,set_status:ae};(0,Sf.useEffect)(()=>{Ll.useStore.set({["AddFiles-"+me.componentID]:ie=>{ae(fe=>{let z=fe.dataValue,q=[];for(var ne=0;ne<(ie==null?void 0:ie.length);ne++){let Z=ie[ne],{type:se,name:ye}=Z;if(ne+1+z.length>p){rs.add({componentID:ye,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ye}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!se.match(/image/)){rs.add({componentID:ye,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${ye} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}q.push(Z)}return T(_({},fe),{dataValue:[...z,...q],eventType:"update",eventID:(0,Ll.UUID)()})})}})},[]),Vt.CommonEffects({type:"file",states:r,val_status:me,set_status:ae,val_validate:Se,set_validate:we,SystemValidation:T$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,br.jsxs)(Fa,{val_status:me,set_status:ae,val_validate:Se,states:r,children:[(0,br.jsx)(K,T(_({htmlTag:"input",type:"file",className:Xl("Input"),"data-component-id":me.componentID,accept:H,multiple:p!=1,onChange:ie=>Da(void 0,null,function*(){g&&g(ie);let fe=ie.target,z=fe.files,q=[];for(var ne=0;ne<(z==null?void 0:z.length);ne++){let Z=z[ne],se=Z.name;if(Z.id=(0,Ll.UUID)(),ne+1+me.dataValue.length>p){rs.add({componentID:se,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${se}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}q.push(Z)}ae(Z=>T(_({},Z),{dataValue:[...Z.dataValue,...q],eventType:"update",eventID:(0,Ll.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,br.jsx)(PO.List,_({},ge))]})},mS=r=>(r=T(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Vn({tone:r.tone||"border"})),r.cellStyles)}),(0,br.jsx)(Ta,{componentID:r.componentID,children:E$,states:r}));mS.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,Ll.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),dt("."+Xl("AddButton")).addClass(Xl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),dt("."+Xl("AddButton")).removeClass(Xl("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(dt(o).hasClass(Xl("AddButton"))){let{componentId:l}=o.dataset,s=Ll.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var ho=G(Rt()),Ns=G(rr()),hm=G(dr());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 u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},MO={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 C=b/l*100+"%";u.push((0,ho.jsx)(K,{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:C,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,hm.useEffect)(()=>{let b=()=>{let C=dt("#Labels-"+a),{width:w}=C.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)dt("#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)(Dt,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,ho.jsx)(K,{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,ho.jsxs)(Dt,{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)(K,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,ho.jsx)(K,{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:u+"_BarColor"})}),(0,ho.jsx)(K,{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:u+"_Ball",onKeyDown:h=>{ep.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Vt.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:u,max:h}=l,p=dt("#"+f+"_Ball"),m=dt("#"+f+"_Bar"),g=dt("#"+f+"_BarColor"),{width:b,left:C}=m.position(),w=(o-C)/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(P=>{let j=P.dataValue;return Y==j?P:T(_({},P),{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: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(C=>T(_({},C),{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:u,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:C,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:P,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,O]=(0,hm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,me]=(0,hm.useState)({ok:!1,notice:[]});Vt.CommonEffects({type:"slider",states:r,val_status:Q,set_status:O,val_validate:te,set_validate:me,SystemValidation:R$});let ae=IO({value:Q.dataValue,val_status:Q});return(0,ho.jsx)(Fa,{val_status:Q,set_status:O,val_validate:te,states:r,children:(0,ho.jsxs)(Zt,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,ho.jsx)(MO.Rail,{rootStates:r,color:o,val_status:Q,set_status:O,DotData:ae,form:s,enableFormSubmit:b}),!!f&&(0,ho.jsx)(MO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:u})]})})},BO=r=>{let a=_({},r);return(0,ho.jsx)(Ta,{componentID:r.componentID,children:D$,states:xo(a)})};var Ao=G(Rt()),vS=G(rr()),_S=G(dr());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:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:C,onUpdateValidValue:w,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,P=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,_S.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,vS.UUID)()}),[Q,O]=(0,_S.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Vt.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:O,SystemValidation:A$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Ao.jsx)(K,_({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:sf("Input"),id:u,onKeyDown:me=>{g&&g(me),h&&Vt.SubmitForm(me,f)},onChange:me=>{let{checked:ae}=me.target;Q.ok&&O({ok:!1,notice:[]}),F(Se=>T(_({},Se),{dataValue:ae,eventType:"update",eventID:(0,vS.UUID)()})),m&&m(me)}},P)),(0,Ao.jsx)(pg.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:sf("Label"),children:(0,Ao.jsx)(K,T(_({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(pt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(K,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:sf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(K,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:sf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(K,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Rg=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:L$,states:a})},mm=Rg;mm.S=r=>(0,Ao.jsx)(Rg,T(_({},r),{size:"small"})),mm.R=r=>(0,Ao.jsx)(Rg,T(_({},r),{size:"regular"})),mm.L=r=>(0,Ao.jsx)(Rg,T(_({},r),{size:"large"}));var zO=G(Rt());var FO=r=>(0,zO.jsx)(xg,T(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var wc=G(Rt()),jO=G(rr()),Dg=G(dr());var N$=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:C,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,Dg.useState)((0,jO.UUID)()),[P,j]=(0,Dg.useState)(s),[F,Q]=(0,Dg.useState)(P);return P!=s&&(j(s),Q(s)),(0,wc.jsx)(mf,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,fg("Label"),fg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[C,fg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:O=>{h&&h(O),o=="bottomline"&&Q(O.value)}}))},Ag=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,wc.jsx)(N$,_({__sys_segmented_type:"plain"},r))},as=Ag;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,wc.jsx)(Ag,_({},a))},as.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,wc.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,wc.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,wc.jsx)(Ag,_({},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,wc.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,wc.jsx)(Ag,_({},a))};var Lg=G(Rt()),HO=G(rr()),gS=G(dr());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 P$=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:C=""}=a,w=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,gS.useState)(Vt.DefaultStatus(r.componentID||"",C)),[M,Y]=(0,gS.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:O$}),(0,Lg.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Lg.jsx)(K,_({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:sf("Input"),onKeyDown:P=>{p&&p(P),f&&Vt.SubmitForm(P,s)},onChange:P=>{let{value:j}=P.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(_({},F),{dataValue:j,eventType:"update",eventID:(0,HO.UUID)()})),h&&h(P)}},w))})},UO=r=>{let a=T(_(T(_({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,Lg.jsx)(Ta,{componentID:r.componentID,children:P$,states:a})};var ns=G(rr()),VO=r=>Da(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Da(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,u]of Object.entries(s)){if(!u)continue;let h=ns.useStore.get(u.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,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}ns.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var La;(r=>(r.Plain=I7,r.Hidden=H7,r.TextField=dn,r.Contenteditable=Q7,r.DigitCharacters=Z7,r.Time=Ls,r.Select=es,r.Autocomplete=Eg,r.List=mO,r.Radio=mf,r.Checkbox=xg,r.Checker=FO,r.Search=CO,r.Filer=mS,r.Slider=BO,r.Switch=mm,r.Segmented=as,r.Color=UO,r.LeftIcon=Wd,r.RightIcon=za,r.LeftIndicator=gg,r.RightIndicator=bg,r.RequiredSign=mg,r.RequiredShortSign=vg,r.OmitSign=_g,r.CollectForm=VO))(La||(La={}));var qO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,WO.useEffect)(()=>{f&&f()},[]),(0,Ng.jsx)(Dt,T(_({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,Ng.jsx)(K,{margin:[0,"auto"],children:(0,Ng.jsx)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var vu=G(Rt());var Wr={Table:r=>(0,vu.jsx)(K,T(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,vu.jsx)(K,_({htmlTag:"thead"},r)),Body:r=>(0,vu.jsx)(K,_({htmlTag:"tbody"},r)),Row:r=>(0,vu.jsx)(K,_({htmlTag:"tr"},r)),TH:r=>(0,vu.jsx)(K,_({htmlTag:"th"},r)),TD:r=>(0,vu.jsx)(K,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,vu.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=G(Rt());var bS=G(Rt()),$O=G(rr());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:u}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,bS.jsx)(K,{className:p,style:u,children:(0,bS.jsx)(o,_({},h))})};var yS={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},C=il(b),w=l?l(b):{},k=T(_(_(_(_({},a),C),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Lo.jsx)(g,_({},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((C,w)=>{let k=Wr[C.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:w==0,right:w==u-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(_(_(_(_({},a),M),C),Y),{freeCSS:_(_(_({},a.freeCSS),Y.freeCSS),C.freeCSS),className:[Kt("Cell"),o,C.className].join(" ")}),w))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:C=>{h&&h(m.rowID,C)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=_({},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)(yS.HeadRow,_({},r)),(0,Lo.jsx)(yS.BodyRows,_({},r))]})}))},GO=r=>(0,Lo.jsx)(tp,T(_({type:"normal"},r),{JSXChildren:yS.Normal}));var wa=G(Rt()),No=G(rr()),rp=G(dr());var SS=G(tP());var CS={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},C=il(b),w=l?l(b):{};h.push((0,wa.jsx)(g,T(_(_(_(_({},a),C),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:u,onOrderChanged:h}=r,[p]=(0,rp.useState)((0,No.UUID)()),[m,g]=(0,rp.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((C,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:P=>{vm.Start(P,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,wa.jsx)(Ne,{icon:SS.faGripVertical})})}),"DragOrigin"))}C.forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],P={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:M==u-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},j=il(P),F=l?l(P):{};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:C,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[C].forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],P={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(P),F=l?l(P):{};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)(()=>{No.useStore.set({[p]:{swap:(C,w)=>{if(w||w==0){let k=m.rows[C],L=[...m.rows];L.splice(C,1),L.splice(w-(C<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>No.default.Objectify(M.rowID)))}},preSet:C=>{let{origin:w,index:k}=C;g({rows:m.rows,origin:w,to:k})}}})}),(0,rp.useEffect)(()=>()=>{No.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:SS.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=No.default.Stringify(a.rowID||o),a)),(0,wa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,wa.jsxs)(Wr.Body,{children:[(0,wa.jsx)(CS.HeadRow,_({},r)),(0,wa.jsx)(CS.BodyRows,_({},r))]})}))},rP=r=>(0,wa.jsx)(tp,T(_({type:"drag"},r),{JSXChildren:CS.Drag})),vm={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;dt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,No.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{vm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{vm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{vm.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{vm.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=dt("#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),dt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Tt=G(Rt()),Wn=G(rr()),Cf=G(dr());var uP=G(iw()),fP=G(sw()),dP=G(nw()),pP=G(cP());var Sc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=_({},r),{order:u,filter:h}=l,[p,m]=u.current,g=[],b=[...l.head];if(l.checker){let C={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=il(C),k=l.cellStylesCallback?l.cellStylesCallback(C):{};g.push((0,Tt.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,Tt.jsx)(K,{flexCenter:!0,children:(0,Tt.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:({value:L})=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(_({},l),{rows:M}))}})})}),-1))}for(let C=0;C<l.colLength;C++){let w=b[C];if(!w)continue;let k=w.children||w.data,L=u.enabled&&u.column[C],M=h.enabled&&h.column[C],Y=L?(0,Tt.jsx)(Ne,{fontSize:"1.mini",fontColor:C==p?"1.clear":"5.translucent",icon:C==p?m=="DESC"?fP.faArrowDown:uP.faArrowUp:dP.faArrowRight}):null,P=(0,Tt.jsx)(Tt.Fragment,{});if(M){let O=f.map(me=>{var ae;return(ae=me[C])==null?void 0:ae.data});O=[...new Set(O)].toASC();let te=h.current[C];if(te){let me=O.filter(H=>!te.includes(H)),ae=[];O.forEach(H=>{H&&ae.push({value:H,label:(0,Tt.jsx)(K,{flexSizing:"auto",children:H})})});let Se="BUTTON-"+l.componentID+"-"+C,we=l.componentID+"-"+C,ge={sheetID:we,parent:"#"+Se,gravityPoint:23,type:"custom",content:(0,Tt.jsxs)(Dt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Tt.jsx)(Zt,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Tt.jsx)(La.Checkbox,{icon:!0,value:me,display:"flex",gap:"2/3",override:"force",options:ae,hideInput:!0,name:"DTFilter-col-"+C+"-table-"+l.componentID,onUpdateValidValue:({value:H})=>{let ie=O.filter(z=>!H.includes(z)),fe=_({},l);fe.filter.current[C]=ie,s(fe)}})}),(0,Tt.jsxs)(pt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Tt.jsx)(it.Border.S,{isRounded:!0,onClick:()=>{lr.close(we)},children:"\u9589\u3058\u308B"}),(0,Tt.jsx)(it.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=O);let ie=_({},l);ie.filter.current[C]=H,s(ie)},children:"\u5168\u9078\u629E"})]})]})};P=(0,Tt.jsx)(K,{className:Kt("FilterRegion"),children:(0,Tt.jsx)(it.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:Se,onClick:H=>{H.stopPropagation(),lr.open(ge)},children:(0,Tt.jsx)(Ne,{icon:pP.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:C==0,right:C==l.colLength-1,rowIndex:0,colIndex:C,isBody:!1,isHeader:!0},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,Tt.jsx)(Wr.TH,T(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:O=>{if(L){let te=_({},l),me=[C,p===C&&m=="ASC"?"DESC":"ASC"];te.order.current=me,s(te),l.onOrderChanged&&l.onOrderChanged(me)}},children:(0,Tt.jsxs)(Dt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[P,(0,Tt.jsxs)(Dt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),C))}return(0,Tt.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,Tt.jsx)(Wr.TH,T(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:_(_({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Tt.jsx)(K,{flexCenter:!0,children:(0,Tt.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:C})=>{let w=a.rows,k=w.findIndex(L=>Wn.default.is.equal(L.rowID,s.rowID));k!=-1&&(w[k].checked=C,r.set_status(L=>T(_({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let C=m,{type:w="td"}=C,k=Ge(C,["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 P=Wr[w=="td"?"TD":"TH"];p.push((0,Tt.jsx)(P,_({},k),g))}),l.push((0,Tt.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,Tt.jsx)(K,{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,Tt.jsx)(Tt.Fragment,{children:a.noRecords})),l.push((0,Tt.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Tt.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Tt.jsx)(Tt.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(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&&(m=m[f.current[1]=="ASC"?"toASC":"toDESC"]([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=u;g=[...g].splice((w-1)*k,k)}let b=Sc.__memoryID+"_"+a.tableID,C={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 Wn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(w=w[f.current[1]=="ASC"?"toASC":"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=>Wn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(M=>Wn.default.is.equal(M.rowID,L)).filtered=!0}),w}}}),(0,Cf.useEffect)(()=>{kl.release(a.tableID,C)}),(0,Tt.jsx)(K,{className:Kt("TableBase"),children:(0,Tt.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Tt.jsxs)(Wr.Body,{children:[(0,Tt.jsx)(Sc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Tt.jsx)(Sc.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 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=_({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,Tt.jsx)(Sc.StateManager,_({},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,Cf.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,Cf.useState)(m);return(0,Cf.useEffect)(()=>{b(C=>T(_({},C),{rows:m.rows}))},[Wn.default.Stringify(m.rows)]),(0,Cf.useEffect)(()=>{b(C=>T(_({},C),{head:m.head}))},[Wn.default.Stringify(m.head)]),(0,Tt.jsx)(Sc.Core,{val_status:g,set_status:b})}},M$={__memoryID:Sc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(Sc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Og={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Tt.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Tt.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Tt.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value:s})=>{r.onChange(s),Wn.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,Tt.jsxs)(Dt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Tt.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=_({},o);p.paging.currentPageIndex=h,l(m=>T(_({},m),{paging:T(_({},m.paging),{currentPageIndex:h})}))};return(0,Tt.jsxs)(pt.Center,{children:[(0,Tt.jsxs)(pt.Center,{gap:"1/2",children:[(0,Tt.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:({value:u})=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Tt.jsxs)(pt.Right,{gap:"1/2",children:[(0,Tt.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Tt.jsx)(Ne.ChevronLeft,{})}),(0,Tt.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Tt.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,Tt.jsx)(pt.Center,{gap:"1/2",children:(0,Tt.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:({value:h})=>{l(p=>T(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},I$=r=>(0,Tt.jsx)(tp,T(_({},r),{type:"data",JSXChildren:Sc.DataLeveler})),_u=I$;_u.__memoryID=Sc.__memoryID,_u.getRowData=M$.getRowData,_u.Info=Og.Info,_u.Paging=Og.Paging,_u.RowLength=Og.RowLength,_u.SearchInput=Og.SearchInput;var Pg;(r=>(r.Normal=GO,r.Data=_u,r.Drag=rP,r.Parts=Wr))(Pg||(Pg={}));var kS=G(Rt()),_m=G(rr());var _c={uid:(0,_m.UUID)(),open:(r,a,o=24,l=.35)=>{r&&_m.default.interval.once(()=>{Na.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,kS.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,kS.jsx)(nr.Supplement,{children:a})})})},l*1e3,_c.uid)},abort:()=>{_m.default.interval.abort(_c.uid),Na.close(_c.uid)}};var ft=G(Rt()),ia=G(rr());var os=G(dr());var UP=G(yP()),VP=G(EP()),WP=G(PP()),qP=G(HP());var AS=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}=ia.default.getCursor(l.touches[0]),{x:u,y:h}=ia.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)),C=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*C);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Da(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield ia.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 P=0;P<p;P++)for(let j=0;j<h;j++){var b=(P*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var C=0;C<3;C++){let Q=g[b+C];g[b+C]=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: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,C=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,P=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;C<Y&&(F=C-Y),C>P&&(F=C-P),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),C=Math.min(Math.max(C,Y),P)}this.pst.outImage={x:b,y:C,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,C,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,C=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,C/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(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,ia.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,C=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],P=Y;this.use=="wallpaper.horizontal"?P=Y/3:this.use=="wallpaper.vertical"&&(P=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=P;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,P),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,P);let Q=j.toDataURL(w),O=yield Q.toBlob(w);if(!O)return;if(O.size>=M){let me=M/O.size;if(Q=j.toDataURL(w,me*.92),O=yield Q.toBlob(w),!O)return}let te=new File([O],this.val_file.name,{type:w});C[k]=te}return C})}},YP={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=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,C]=(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 P;let j=dt("#Canvas-"+h)[0];if(!j)return;let F=(P=ia.useStore.get(h))==null?void 0:P.Instance;if(!F)return;let Q=j.position(),O=Q.width/Q.height;j.width=2400,j.height=2400/O;let{width:te,height:me}=j;F.pst.centerX=te/2,F.pst.centerY=me/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,ia.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{ia.useStore.set({[h]:{}}),Da(void 0,null,function*(){Eo.fn.corner.active(),yield ia.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let P=Y.result,j=dt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let O=new AS({set_scale:g,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield ia.default.ImageLoader(P),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});ia.useStore.set({[h]:{Instance:O}});let te=function(Se){if(Se.preventDefault(),Se.touches&&Se.touches.length>1)O.pinchEffect({eventType:"start",event:Se}),(0,ia.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:we=>{we.preventDefault(),O.pinchEffect({eventType:"move",event:we})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ae});else{O.dragEffect(_({eventType:"start"},ia.default.getCursor(Se)));let{type:we}=Se;(0,ia.default)(document).addEvent({eventType:we=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{me("move",ge)}}).addEvent({eventType:we=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{me("end",ge),ae(ge)}})}},me=function(Se,we){we.preventDefault(),O.dragEffect(_({eventType:Se},ia.default.getCursor(we)))},ae=function(Se){Se.preventDefault(),(0,ia.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,ia.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:Se=>{Se.preventDefault();let we=Number(Se.wheelDelta*.04),ge=O.scale.current+we;ge=Math.max(ge,O.scale.min),ge=Math.min(ge,O.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 P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;P&&P.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;P&&P.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,ft.jsx)(lr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,ft.jsxs)(Zt,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,ft.jsx)(K,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,ft.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,ft.jsxs)(pt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,ft.jsx)(YP.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:C}),(0,ft.jsxs)(pt.Right,{flexSizing:"none",children:[(0,ft.jsx)(it.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,ft.jsx)(it,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;if(!P)return;Eo.fn.mini.active("CropperExportation");let j=yield P.export();setTimeout(()=>{Eo.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.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,ft.jsxs)(pt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,ft.jsxs)(Zt,{gap:"1/3",children:[(0,ft.jsx)(nr.Supplement,{children:"Rotate"}),(0,ft.jsxs)(pt.Left,{flexChilds:"even",gap:"1/6",children:[(0,ft.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,ft.jsxs)(pt.Center,{gap:"1/4",children:["90\xB0",(0,ft.jsx)(Ne,{icon:WP.faRotateLeft})]})}),(0,ft.jsx)(it.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,ft.jsxs)(pt.Center,{gap:"1/4",children:[(0,ft.jsx)(Ne,{icon:qP.faRotateRight}),"90\xB0"]})})]})]}),(0,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"Zoom"}),(0,ft.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,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.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:({eventType:f,value:u})=>{ia.default.interval.once(()=>{r.set_scale(u+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"GrayScale"}),(0,ft.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,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne,{icon:UP.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.jsx)(La.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value: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,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"Tone"}),(0,ft.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 u=1;u<=10;u++)f.push({value:u,label:(0,ft.jsxs)(pt.Left,{gap:"1/3",children:[(0,ft.jsx)(K,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,ft.jsx)(K,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne,{icon:VP.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.jsx)(La.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,ft.jsx)(K,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:({value:u})=>{r.set_tone(u)}})]})})}})},children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(K,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},LS={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});LS.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";lr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,ft.jsx)(YP.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{lr.close(a),r.onProcessFinished(o)},abortCallback:()=>{lr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=G(Rt());var $P=()=>{let{href:r}=location;return(0,Oo.jsx)(pt.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)(K,{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)(K,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.jsx)(K,{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)(uf.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(uf.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Mg=r=>{let[a,o]=(0,gu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,gu.useRef)(!1);(0,gu.useEffect)(()=>{l&&(s.current?(lr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,gu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,gu.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Pn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Pn.open(r);return}Pn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Pn.pushSync(r);return}Pn.__push(r)},back:()=>{Pn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Pn.__push=r},setBackEffect:r=>{Pn.__back=r}};var GP=G(rr());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,GP.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},KP={light:"#FFF",dark:"#333",dim:"#666",auto:()=>vt.get().isSystemDarkmode()?"#333":"#FFF"},OS={};qh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;OS[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var $a=G(rr());var Re={toConcreteBorderRadius:r=>{let a=vt.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,u,h,p,m;let g=[],{gap:b,display:C,position:w,overflow:k,fontColor:L,fontSize:M,fontWeight:Y,backgroundColor:P,textAlign:j,textDecoration:F,boxShadow:Q,margin:O,marginTop:te,marginRight:me,marginBottom:ae,marginLeft:Se,padding:we,paddingTop:ge,paddingRight:H,paddingBottom:ie,paddingLeft:fe,top:z,right:q,bottom:ne,left:Z,border:se,borderTop:ye,borderRight:be,borderBottom:Oe,borderLeft:We,borderWidth:$e,borderColor:ht,borderStyle:Mt,borderRadius:lt,borderTopLeftRadius:yt,borderTopRightRadius:ut,borderBottomLeftRadius:tt,borderBottomRightRadius:Ce,flexSizing:St,flexWrap:It,flexType:qt,flexChilds:jt,flexGrid:tr,horizontalAlign:cr,verticalAlign:Sr,transition:ra,gridCenter:jr,gridCols:qr,maxHeight:ur,minHeight:Cr,maxWidth:Nr,minWidth:ha,width:fr,height:Rr,unitHeight:Or,unitWidth:_a,opacity:ze}=a;{if(Re.ev(C)&&g.push("dsp"+C),k){let ee=$a.default.flatArray(k);g.push("ovfl-x-"+ee[0]),g.push("ovfl-y-"+(ee[1]||ee[0]))}Re.ev(w)&&g.push("ps"+w),Re.ev(j)&&g.push("txtalg"+j),Re.ev(j)&&g.push("txtdeco"+F),Re.ev(L)&&g.push("ftcl"+((o=String(L))==null?void 0:o.replace(/\./g,"_"))),Re.ev(M)&&g.push("ftsz"+((l=String(M))==null?void 0:l.replace(/\..*/,""))),Re.ev(Y)&&g.push("ftwt"+(Y==null?void 0:Y.replace(/\..*/,""))),Re.ev(P)&&g.push("bgc"+((s=String(P))==null?void 0:s.replace(/\./g,"_"))),Re.ev(Q)&&g.push("bs"+Q);let at,mt,Wt,Ht;$a.default.is.exist(O)&&($a.default.is.array(O)?O.length==2?[at,mt,Wt,Ht]=[...O,...O]:O.length==4&&([at,mt,Wt,Ht]=O):at=mt=Wt=Ht=O,te=te!=null?te:at,me=me!=null?me:mt,ae=ae!=null?ae:Wt,Se=Se!=null?Se:Ht),Re.ev(te)&&g.push("mrgt"+te),Re.ev(me)&&g.push("mrgr"+me),Re.ev(ae)&&g.push("mrgb"+ae),Re.ev(Se)&&g.push("mrgl"+Se);let xr,mr,Yr,N;$a.default.is.exist(we)&&($a.default.is.array(we)?we.length==2?[xr,mr,Yr,N]=[...we,...we]:we.length==4&&([xr,mr,Yr,N]=we):xr=mr=Yr=N=we,ge=ge!=null?ge:xr,H=H!=null?H:mr,ie=ie!=null?ie:Yr,fe=fe!=null?fe:N),Re.ev(ge)&&g.push("pdt"+ge),Re.ev(H)&&g.push("pdr"+H),Re.ev(ie)&&g.push("pdb"+ie),Re.ev(fe)&&g.push("pdl"+fe),Re.ev(z)&&g.push("pstt"+z),Re.ev(q)&&g.push("pstr"+q),Re.ev(ne)&&g.push("pstb"+ne),Re.ev(Z)&&g.push("pstl"+Z);{$a.default.is.exist(se)&&(ye=ye!=null?ye:se,be=be!=null?be:se,Oe=Oe!=null?Oe:se,We=We!=null?We:se),$a.default.is.boolean(ye)&&(ye=["unset","2.normal"][Number(ye)]),$a.default.is.boolean(be)&&(be=["unset","2.normal"][Number(be)]),$a.default.is.boolean(Oe)&&(Oe=["unset","2.normal"][Number(Oe)]),$a.default.is.boolean(We)&&(We=["unset","2.normal"][Number(We)]),Re.ev(ye)&&g.push("b_t_ss"+((f=String(ye))==null?void 0:f.replace(/\./g,"_"))),Re.ev(be)&&g.push("b_r_ss"+((u=String(be))==null?void 0:u.replace(/\./g,"_"))),Re.ev(Oe)&&g.push("b_b_ss"+((h=String(Oe))==null?void 0:h.replace(/\./g,"_"))),Re.ev(We)&&g.push("b_l_ss"+((p=String(We))==null?void 0:p.replace(/\./g,"_"))),$a.default.is.exist($e)&&g.push("b_wth"+String($e)),$a.default.is.exist(ht)&&g.push("b_cl"+((m=String(ht))==null?void 0:m.replace(/\./g,"_"))),$a.default.is.exist(Mt)&&g.push("b_st"+String(Mt));{let ee,R,B,$;$a.default.is.exist(lt)&&($a.default.is.array(lt)?lt.length==4&&([ee,R,$,B]=lt):ee=R=B=$=lt,yt=yt!=null?yt:ee,ut=ut!=null?ut:R,tt=tt!=null?tt:B,Ce=Ce!=null?Ce:$)}Re.ev(yt)&&g.push("br_tl"+Re.toConcreteBorderRadius(yt)),Re.ev(ut)&&g.push("br_tr"+Re.toConcreteBorderRadius(ut)),Re.ev(tt)&&g.push("br_bl"+Re.toConcreteBorderRadius(tt)),Re.ev(Ce)&&g.push("br_br"+Re.toConcreteBorderRadius(Ce))}if(Re.ev(ze)&&g.push("op"+ze),$a.default.is.exist(b)){let ee,R;$a.default.is.array(b)?(ee=b[0],R=b[1]):ee=R=b,g.push("gapRow"+ee,"gapCol"+R)}Re.ev(St)&&g.push("flsz"+St),Re.ev(It)&&g.push("flwrp"+It),Re.ev(qt)&&g.push("fltyp"+qt),Re.ev(jt)&&g.push("flchld"+jt),Re.ev(tr)&&g.push("flgrid"+tr),Re.ev(Sr)&&g.push("flvrt"+Sr),Re.ev(cr)&&g.push("flhrz"+cr),Re.ev(jr)&&g.push("grcnt"+jr),Re.ev(qr)&&g.push("grcol"+qr),Re.ev(Rr)&&g.push("hgt"+Rr),Re.ev(fr)&&g.push("wdt"+fr),Re.ev(Or)&&g.push("unthgt"+Or),Re.ev(_a)&&g.push("untwdt"+_a),Re.ev(ra)&&g.push("trnst"+ra),Re.ev(ur)&&g.push("maxh"+ur),Re.ev(Cr)&&g.push("minh"+Cr),Re.ev(Nr)&&g.push("maxw"+Nr),Re.ev(ha)&&g.push("minw"+ha)}return g.length?r+g.join(" "+r):""}},nm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:C,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),P=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},P=P||{},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"),vt.get().darkMode=="dim"&&(j.boxShadow="1.normal"),vt.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=_(_({},j.freeCSS),Y),P=_(_({},j),P)}return s&&(m=m!=null?m:!0,P=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},P)),f&&(m=m!=null?m:!0,P=_({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},P)),u&&(P=_({transition:"middle"},P),P=T(_({},P),{className:[P.className,"ssPushable"].join(" ")})),h&&(P=_({position:"absolute",top:0,left:0,right:0,bottom:0},P)),p&&(P=_({overflow:"hidden"},P),Y=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(P=_({width:1,flexSizing:"none"},P)),m&&(P=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},P)),b&&(P.fontWeight="1.light"),w&&(P.fontWeight="3.semiBold"),C&&(P.fontWeight="4.bold"),k&&($a.default.is.number(k)?Y.borderRadius=k*12:P.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(_({},P),{freeCSS:Y})},xo=r=>{let a=nm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,backgroundColor:g,textAlign:b,textDecoration:C,boxShadow:w,margin:k,marginTop:L,marginRight:M,marginBottom:Y,marginLeft:P,padding:j,paddingTop:F,paddingRight:Q,paddingBottom:O,paddingLeft:te,top:me,right:ae,bottom:Se,left:we,border:ge,borderTop:H,borderRight:ie,borderBottom:fe,borderLeft:z,borderWidth:q,borderColor:ne,borderStyle:Z,borderRadius:se,borderTopLeftRadius:ye,borderTopRightRadius:be,borderBottomLeftRadius:Oe,borderBottomRightRadius:We,flexSizing:$e,flexWrap:ht,flexType:Mt,flexChilds:lt,flexGrid:yt,horizontalAlign:ut,verticalAlign:tt,transition:Ce,gridCenter:St,gridCols:It,maxHeight:qt,minHeight:jt,maxWidth:tr,minWidth:cr,width:Sr,height:ra,unitHeight:jr,unitWidth:qr,opacity:ur,ssLastChildLossBorder:Cr,ssAbsoluteCovered:Nr,ssCardBox:ha,ssEffectsOnActive:fr,ssPushable:Rr,ssSphere:Or,ssSquare:_a,ssTextEllipsis:ze,isBoldFont:at,isLightFont:mt,isSemiBoldFont:Wt,isRounded:Ht,flexCenter:xr,flexNewLine:mr,gradients:Yr,UnderBreakPointStyles:N={},className:ee="",freeCSS:R={}}=a,B=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),$=_({},B),de=[ee];if(Cr&&de.push("ssLastChildLossBorder_"+Cr),fr){fr=$a.default.flatArray(fr);for(let oe of fr){let[Pe,Me]=oe.split(".");$["data-effect-"+Pe]="1",Me&&($["data-effect-tone"]=Me)}}{let oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,backgroundColor:g,textAlign:b,textDecoration:C,boxShadow:w,margin:k,marginTop:L,marginRight:M,marginBottom:Y,marginLeft:P,padding:j,paddingTop:F,paddingRight:Q,paddingBottom:O,paddingLeft:te,top:me,right:ae,bottom:Se,left:we,border:ge,borderTop:H,borderRight:ie,borderBottom:fe,borderLeft:z,borderWidth:q,borderColor:ne,borderStyle:Z,borderRadius:se,borderTopLeftRadius:ye,borderTopRightRadius:be,borderBottomLeftRadius:Oe,borderBottomRightRadius:We,flexSizing:$e,flexWrap:ht,flexType:Mt,flexChilds:lt,flexGrid:yt,horizontalAlign:ut,verticalAlign:tt,transition:Ce,gridCenter:St,gridCols:It,maxHeight:qt,minHeight:jt,maxWidth:tr,minWidth:cr,width:Sr,height:ra,unitHeight:jr,unitWidth:qr,opacity:ur});de.push(oe)}return N&&de.push(Re.ClassNames("amotf_bp",N)),R&&($.style=_(_({},R),$.style)),(o||$["data-component-id"])&&($["data-component-id"]=$["data-component-id"]||o),de.length&&de.join("")&&($.className=de.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),$},Dl=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,backgroundColor:p,textAlign:m,textDecoration:g,boxShadow:b,margin:C,marginTop:w,marginRight:k,marginBottom:L,marginLeft:M,padding:Y,paddingTop:P,paddingRight:j,paddingBottom:F,paddingLeft:Q,top:O,right:te,bottom:me,left:ae,border:Se,borderTop:we,borderRight:ge,borderBottom:H,borderLeft:ie,borderWidth:fe,borderColor:z,borderStyle:q,borderRadius:ne,borderTopLeftRadius:Z,borderTopRightRadius:se,borderBottomLeftRadius:ye,borderBottomRightRadius:be,flexSizing:Oe,flexWrap:We,flexType:$e,flexChilds:ht,flexGrid:Mt,horizontalAlign:lt,verticalAlign:yt,transition:ut,gridCenter:tt,gridCols:Ce,maxHeight:St,minHeight:It,maxWidth:qt,minWidth:jt,width:tr,height:cr,unitHeight:Sr,unitWidth:ra,opacity:jr,ssLastChildLossBorder:qr,ssAbsoluteCovered:ur,ssCardBox:Cr,ssEffectsOnActive:Nr,ssPushable:ha,ssSphere:fr,ssSquare:Rr,ssTextEllipsis:Or,isBoldFont:_a,isLightFont:ze,isSemiBoldFont:at,isRounded:mt,flexCenter:Wt,flexNewLine:Ht,gradients:xr,UnderBreakPointStyles:mr={},freeCSS:Yr={}}=r,N={};return Re.ev(a)&&(N.gap=a),Re.ev(o)&&(N.display=o),Re.ev(l)&&(N.position=l),Re.ev(s)&&(N.overflow=s),Re.ev(f)&&(N.fontColor=f),Re.ev(u)&&(N.fontSize=u),Re.ev(h)&&(N.fontWeight=h),Re.ev(p)&&(N.backgroundColor=p),Re.ev(m)&&(N.textAlign=m),Re.ev(g)&&(N.textDecoration=g),Re.ev(b)&&(N.boxShadow=b),Re.ev(C)&&(N.margin=C),Re.ev(w)&&(N.marginTop=w),Re.ev(k)&&(N.marginRight=k),Re.ev(L)&&(N.marginBottom=L),Re.ev(M)&&(N.marginLeft=M),Re.ev(Y)&&(N.padding=Y),Re.ev(P)&&(N.paddingTop=P),Re.ev(j)&&(N.paddingRight=j),Re.ev(F)&&(N.paddingBottom=F),Re.ev(Q)&&(N.paddingLeft=Q),Re.ev(O)&&(N.top=O),Re.ev(te)&&(N.right=te),Re.ev(me)&&(N.bottom=me),Re.ev(ae)&&(N.left=ae),Re.ev(Se)&&(N.border=Se),Re.ev(we)&&(N.borderTop=we),Re.ev(ge)&&(N.borderRight=ge),Re.ev(H)&&(N.borderBottom=H),Re.ev(ie)&&(N.borderLeft=ie),Re.ev(fe)&&(N.borderWidth=fe),Re.ev(z)&&(N.borderColor=z),Re.ev(q)&&(N.borderStyle=q),Re.ev(ne)&&(N.borderRadius=ne),Re.ev(Z)&&(N.borderTopLeftRadius=Z),Re.ev(se)&&(N.borderTopRightRadius=se),Re.ev(ye)&&(N.borderBottomLeftRadius=ye),Re.ev(be)&&(N.borderBottomRightRadius=be),Re.ev(Oe)&&(N.flexSizing=Oe),Re.ev(We)&&(N.flexWrap=We),Re.ev($e)&&(N.flexType=$e),Re.ev(ht)&&(N.flexChilds=ht),Re.ev(Mt)&&(N.flexGrid=Mt),Re.ev(lt)&&(N.horizontalAlign=lt),Re.ev(yt)&&(N.verticalAlign=yt),Re.ev(ut)&&(N.transition=ut),Re.ev(tt)&&(N.gridCenter=tt),Re.ev(Ce)&&(N.gridCols=Ce),Re.ev(St)&&(N.maxHeight=St),Re.ev(It)&&(N.minHeight=It),Re.ev(qt)&&(N.maxWidth=qt),Re.ev(jt)&&(N.minWidth=jt),Re.ev(tr)&&(N.width=tr),Re.ev(cr)&&(N.height=cr),Re.ev(Sr)&&(N.unitHeight=Sr),Re.ev(ra)&&(N.unitWidth=ra),Re.ev(jr)&&(N.opacity=jr),Re.ev(qr)&&(N.ssLastChildLossBorder=qr),Re.ev(ur)&&(N.ssAbsoluteCovered=ur),Re.ev(Cr)&&(N.ssCardBox=Cr),Re.ev(Nr)&&(N.ssEffectsOnActive=Nr),Re.ev(ha)&&(N.ssPushable=ha),Re.ev(fr)&&(N.ssSphere=fr),Re.ev(Rr)&&(N.ssSquare=Rr),Re.ev(Or)&&(N.ssTextEllipsis=Or),Re.ev(_a)&&(N.isBoldFont=_a),Re.ev(ze)&&(N.isLightFont=ze),Re.ev(at)&&(N.isSemiBoldFont=at),Re.ev(mt)&&(N.isRounded=mt),Re.ev(Wt)&&(N.flexCenter=Wt),Re.ev(Ht)&&(N.flexNewLine=Ht),Re.ev(xr)&&(N.gradients=xr),Re.ev(Yr)&&(N.freeCSS=Yr),Re.ev(mr)&&(N.UnderBreakPointStyles=mr),N};var pl=G(Rt());var Ig=r=>{var a;let o=kl.catch("RootViewController_"+vt.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+vt.get().sessionUID,children:[(0,pl.jsx)(pc.Pudding.Wrapper,{}),(0,pl.jsx)(pc.Ripple.Wrapper,{}),(0,pl.jsx)(Eo.Wrapper,{}),(0,pl.jsx)(rs.Wrapper,{}),(0,pl.jsx)(lr.Wrapper,{}),(0,pl.jsx)(K,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Bg=G(rr()),dt=r=>{let a=vt.get().appRoot;return Bg.default.is.shadowRoot(a)?(0,Bg.default)(a).find(r):(0,Bg.default)(r)};var B$=G(MS());Jr(Fr,G(MS()));var z$=G(IS());Jr(Fr,G(IS()));var F$=_(_(_(_(_(_({},PS),$w),eS),B$),z$),NS);var Mn=G(Rt()),j$=()=>{let r=[];for(let o=0;o<100;o++)r.push((0,Mn.jsx)("option",{value:o,children:o},o));(0,gm.useEffect)(()=>{let o=zg.default.interval.once(()=>{console.log("testInterval")},1e3,"testInterval");console.log(o)},[]);let a=[];for(let o=0;o<100;o++)a.push({value:"option"+o,label:"\u30AA\u30D7\u30B7\u30E7\u30F3-"+o});for(let o=0;o<100;o++)a.push({value:"optionJP"+o,label:"\u9078\u629E\u80A2-"+o});return(0,Mn.jsx)(K,{minHeight:"viewHeight",children:(0,Mn.jsx)(pt.Center,{flexCenter:!0,padding:3,children:(0,Mn.jsx)(it.Prime,{onClick:()=>{lr.open({type:"normal.middleCenter",content:()=>(0,Mn.jsx)(lr.Body,{children:(0,Mn.jsxs)(Zt,{padding:2,gap:2,children:[(0,Mn.jsx)(K,{backgroundColor:"gray",flexCenter:!0,freeCSS:{pageBreakAfter:"always"},children:"AAAAA"}),(0,Mn.jsx)(K,{backgroundColor:"nega",flexCenter:!0,freeCSS:{pageBreakAfter:"always"},children:"BBB"})]})})})},children:"OpenSheet"})})})};zg.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),vt.launch({appRoot:r,roundness:3,themeColor:zg.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,gm.useEffect)(()=>{Pn.setPushEffect(s=>{l(s)}),Pn.setBackEffect(()=>{l(-1)})},[]),Mg({pathname:o.pathname}),(0,Mn.jsx)(Os.Routes,{children:(0,Mn.jsx)(Os.Route,{path:"*",element:(0,Mn.jsx)(j$,{})},"*")})};XP.default.createRoot(r).render((0,Mn.jsx)(gm.StrictMode,{children:(0,Mn.jsx)(Ig,{children:(0,Mn.jsx)(Os.BrowserRouter,{children:(0,Mn.jsx)(a,{})})})}))});
978
+ </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:P=>{ff.End(Y)}}).find("#"+f).find("."+Kl("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("."+Kl("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)(vt.get().appRoot).addEvent({eventType:"touchstart",target:ff.RippleElementTag,callback:r=>{ff.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:ff.RippleElementTag,callback:r=>{vt.get().isTouchDevice||ff.Start(r)}}),null)};var QS=G(rr());var A7={Wrapper:()=>(typeof window=="undefined"||(0,QS.default)(vt.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,QS.default)(r.target).removeClass(Kl("PuddingEffect")).await(1).addClass(Kl("PuddingEffect")).await(510).removeClass(Kl("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=G(Rt()),El=G(rr()),pc=G(dr());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"]),[C]=(0,pc.useState)((0,El.UUID)()),[S,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=S.index+(f?1:0),F=[-1,m.length].includes(S.index);F||o&&setTimeout(()=>{o(S.index)},300);let Q=dt("#Swiper-"+C);if(S.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Vd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(S.eventType=="sys")Q.await(250).css({transform:Vd(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:Vd(j)}).await(250).css({transition:"0s"}),F){let O=S.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:O})}s&&!F&&El.default.interval.once(()=>{let O=S.index+1;!f&&O>m.length-1&&(O=0),k({eventType:"usr",index:O})},s-(S.eventType=="sys"?310:0),"SwipeTimer-"+C)},[S]);let M=m.map((j,F)=>(0,lm.jsx)(K,{flexSizing:"none",width:1,height:0,className:Aa("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:C,loop:f,index:S.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},P=S.index+ +!!f;return(0,lm.jsx)(K,T(_({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("SwipeView")].join(" "),freeCSS:_({zIndex:1},b.freeCSS),"data-swipe-id":C,onPointerDown:j=>{if(console.log(j),j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(c||j.buttons!=1))return;im.Start(j,Y)},children:(0,lm.jsx)(Dt,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+C,freeCSS:_({},L.current?{}:{transform:Vd(P)}),children:M})}))},Vd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,im={Start:(r,a)=>{let{x:o,y:l}=El.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:dt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,El.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}=El.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,El.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);dt("#Swiper-"+a.id).children(c-1).addClass(Aa("Display")),(0,El.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}=El.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}dt("#Swiper-"+a.id).css({transition:"0s",transform:Vd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=El.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,dt("#Swiper-"+a.id).css({transition:".2s",transform:Vd(c)}).await(310).css({transition:"0s"}).children().removeClass(Aa("Display")).parent().children(f).addClass(Aa("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,El.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 Og=G(Rt()),WO=G(dr());var hc=G(Rt());var P7=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},mg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},vg=r=>(0,hc.jsx)(yn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),_g=r=>(0,hc.jsx)(yn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),gg=r=>(0,hc.jsx)(yn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),bg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(K,_(T(_({},P7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},yg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(K,_(T(_({},P7(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)(K,T(_(T(_({},mg),{right:"3/4"}),l),{freeCSS:_(_({},mg.freeCSS),l.freeCSS)}))},Wd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(K,T(_(T(_({},mg),{left:"3/4"}),l),{freeCSS:_(_({},mg.freeCSS),l.freeCSS)}))};var M7=G(Rt());var I7=r=>(0,M7.jsx)(K,_({htmlTag:"input"},r));var aw=G(Rt()),Yd=G(rr()),cm=G(dr());var Hn=G(Rt()),pf=G(dr()),pa=G(rr());var ew={};Td(ew,{Accordion:()=>ZS,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>qd,Row:()=>pt,Text:()=>nr});var JS=G(Rt()),Jl=G(rr()),hu=G(dr());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 C=dt('[data-accordion-content-id="'+p+'"]')[0];if(C){let S=C.offsetHeight,k=0;l=="fast"?(k=S/1e3,k=Math.max(k,.2)):l=="slow"&&(k=S/300),dt("#"+h).css({transition:k+"s"})}},[]),(0,hu.useEffect)(()=>{let C=dt("#"+h),S=dt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(S){let k=S.offsetHeight;Jl.default.is.exist(k)&&(m?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,S){let k=S.offsetHeight;Jl.default.is.exist(k)&&(m?C.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):C.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,JS.jsx)(K,{className:[WS("Wrap"),WS("Open_"+m)].join(" "),id:h,children:(0,JS.jsx)(K,_({"data-accordion-content-id":p},c))})},ZS=c$;ZS.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=G(Rt());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)(cf.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else o&&(l=[o]);return(0,sm.jsx)(sm.Fragment,{children:l})};var Rl=G(Rt());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,Rl.jsx)(l,{children:c,index:h},h));return(0,Rl.jsx)(K,T(_({htmlTag:"ul",children:f},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},F7=r=>(0,Rl.jsx)(K,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),qd=F7;qd.Center=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Left=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Right=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Separate=r=>(0,Rl.jsx)(K,{htmlTag:"li",children:(0,Rl.jsx)(pt.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var um=G(Rt());var pt={Center:r=>(0,um.jsx)(Dt,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,um.jsx)(Dt,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,um.jsx)(Dt,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,um.jsx)(Dt,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mu=G(Rt());var df=r=>(0,mu.jsx)(K,_({},r)),nr=df;nr.Title=r=>(0,mu.jsx)(df,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,mu.jsx)(df,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,mu.jsx)(df,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,mu.jsx)(df,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,mu.jsx)(df,T(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,mu.jsx)(df,_({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,mu.jsx)(yn,T(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var j7=G(Rt()),tw=G(rr());var kr=G(Rt()),Pt=G(rr()),qa=G(dr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>Pt.useStore.get("sessionStates-"+vt.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,Pt.UUID)(),isOpen:!0,created_at:(0,Pt.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}},Sg={Wrapper:()=>{let[r,a]=(0,qa.useState)(!1),[o,l]=(0,qa.useState)([]),s={val_sheets:o,set_sheets:l};Pt.useStore.set({["sessionStates-"+vt.get().sessionUID]:s}),(0,qa.useEffect)(()=>{Pt.useStore.set({["Sheet-"+vt.get().sessionUID]:{add:(c,h)=>{let p=Pt.useStore.get("Sheet-"+vt.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],C=b.findIndex(S=>S.sheetID==m.sheetID);return C==-1||(b[C]=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,Pt.default)(vt.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(S=>S.isOpen);if(!b.length)return;let C=b.reduce((S,k)=>S.created_at.value>k.created_at.value?S:k);lr.close(C.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:C}=b;if(!b.closeAtAroundClick)return;let S=dt(C)[0];C!==m&&S!==m&&((0,Pt.default)(S).find(m).length||lr.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=dt(".AMOTIFY_be_root");if(r){let h=(0,Pt.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,kr.jsx)(Sg.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,kr.jsx)(K,{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,Pt.UUID)()),c=a.type!="custom"&&!a.overwrap;(0,qa.useEffect)(()=>{Ds.currentIndex++,Pt.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Pt.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Pt.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Pt.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)(()=>{Pt.default.scope(()=>{let g=dt("#"+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,Pt.default)(vt.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=Sg.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,kr.jsx)(K,{className:[oa("Wrap"),oa("Tcate_"+h),oa("Tpos_"+p),oa("isMainSheet_"+c)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,kr.jsxs)(Zt,{className:oa("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!c&&(0,kr.jsx)(Sg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,kr.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:C,closeAtEscapeKeyDown:S,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:P,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"]),[O,te]=h.split("."),me={},ae=[];return te.match(/top/)?(ae.push("top"),me.marginBottom="auto"):te.match(/middle/)?(ae.push("center"),me.marginTop="auto",me.marginBottom="auto"):te.match(/bottom/)&&(ae.push("bottom"),me.marginTop="auto"),te.match(/left/i)?(ae.push("left"),me.marginRight="auto"):te.match(/center/i)?(ae.push("center"),me.marginLeft="auto",me.marginRight="auto"):te.match(/right/i)&&(ae.push("right"),me.marginLeft="auto"),(0,kr.jsx)(K,T(_(_({className:[oa("BB"),c].join(" "),padding:1,transition:"long",opacity:"trans"},Q),me),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ae.join(" ")},m),children:Pt.default.is.function(f)?(0,kr.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:C,closeAtPageTransit:S,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:P,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,kr.jsx)(K,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:Pt.default.is.function(c)?(0,kr.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:C,closeAtEscapeKeyDown:S,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:P,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"]),O=Pt.default.getScreenSize(),te=[0,.2,.6,.95],me={ZERO:0,S:1,R:2,L:3},[ae,we]=(0,qa.useState)(h),[Se,ge]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[me[h]]});Pt.useStore.update({[o]:{val_edit:Se,resize:fe=>{let B=te[me[fe]];ge(q=>T(_({},q),{value:B})),we(fe)}}});let H={Start:fe=>{(0,Pt.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=Pt.default.getCursor(fe),q=T(_({},Se),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:Se.value,viewHeight:Pt.default.getScreenSize().height});Pt.useStore.update({[o]:{val_edit:q}}),ge(q)},Move:fe=>{var B;let q=(B=Pt.useStore.get(o))==null?void 0:B.val_edit;if(!q.process)return;let ne=(Pt.default.getCursor(fe).y-q.originY)/q.viewHeight,Z=q.originValue-ne;if(Z>.95)Z=.95+(Z-.95)*.5;else if(Z<.2){let se=.2-Z;se-=.1,Z=.1+(.1-se)*.5}return ge(T(_({},q),{value:Z})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let q=(B=Pt.useStore.get(o))==null?void 0:B.val_edit;if(!q.process)return;(0,Pt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(q.value<.1||(q.value<.5?ne=1:q.value>.75?ne=3:ne=2),new Date().getTime()-q.processStart<300){let Z=Pt.default.getCursor(fe).y-q.originY;if(Math.abs(Z)>=20){let se=+(Z<0)*2-1;ne+=se,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),we(["ZERO","S","R","L"][ne]),ge(T(_({},q),{value:te[ne],process:!1}))}},ie=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{ie.current?ae=="ZERO"?M&&lr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ae)},250):ie.current=!0},[ae]),(0,kr.jsx)(K,{className:oa("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:O.height*Se.value},Se.process?{transition:"0s"}:{}),children:(0,kr.jsxs)(Zt,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,kr.jsx)(pt.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,kr.jsx)(pt.Center,{onMouseDown:H.Start,onTouchStart:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,kr.jsx)(K,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:oa("DragBar")})})}),(0,kr.jsx)(K,T(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:Pt.default.is.function(c)?(0,kr.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:C,closeAtParentBlur:S,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:P,isOpen:j,resize:F,backgroundEffect:Q}=a,O=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,Pt.UUID)()),me=Pt.default.is.element(c)||Pt.default.is.jmini(c)?(0,Pt.default)(c):dt(c),ae='[data-sheet-id="'+te+'"]',we='[data-sheet-content="'+te+'"]';p=p;let Se=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let be=Pt.default.getScreenSize(),Oe=Pt.default.getCursor(f);return{top:Oe.y-be.pageYOffset,left:Oe.x-be.pageXOffset}}let fe={};if(!me||!me[0])return fe;let{top:B,right:q,bottom:ne,left:Z,height:se,width:ye}=me.position();return[1,2].includes(Se)?fe.left=Z:Se==3?fe.left=Z+ye/2:[4,5].includes(Se)&&(fe.left=q),p<=10?fe.top=B:p<=15?fe.top=B+se/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=dt(ae).position(),B=dt(we).position(),q=me.position(),ne=Pt.default.getScreenSize(),Z={};for(let be in B)Z[be]=B[be];if(Pt.default.scope(()=>{if(r.nextToCursor)return;let be=0;ge==1?be=q.top-Z.bottom:ge==2?be=q.top-Z.top:ge==3?be=q.top-Z.top+(q.height-Z.height)/2:ge==4?be=q.bottom-Z.bottom:ge==5&&(be=q.bottom-Z.top),Z.top+=be,Z.bottom+=be}),Pt.default.scope(()=>{if(r.nextToCursor)return;let be=0;Se==1?be=q.left-Z.right:Se==2?be=q.left-Z.left:Se==3?be=q.left-Z.left+(q.width-Z.width)/2:Se==4?be=q.right-Z.right:Se==5&&(be=q.right-Z.left),Z.left+=be,Z.right+=be}),Z.top<0){let be=-Z.top;Z.top+=be,Z.bottom+=be}if(Z.bottom>ne.height){let be=Z.bottom-ne.height;Z.top-=be,Z.bottom-=be}if(Z.left<0){let be=-Z.left;Z.left+=be,Z.right+=be}if(Z.right>ne.width){let be=Z.right-ne.width;Z.left-=be,Z.right-=be}let se=Z.top-B.top,ye=Z.left-B.left;(0,Pt.default)(ae).css({top:fe.top+se+"px",left:fe.left+ye+"px"})}},[ie]=(0,qa.useState)(H.Init());return(0,qa.useEffect)(()=>{dt(ae).await(10).addClass(oa("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Pt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),me[0]?(0,kr.jsx)(K,{className:[oa("BB"),oa("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:ie,children:(0,kr.jsx)(Dt,{position:"absolute",className:[oa("GPT"),oa("GPT_"+p),oa("Col_"+Se),oa("Row_"+ge)].join(" "),children:(0,kr.jsx)(K,T(_({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},O),{freeCSS:_({maxWidth:"98vw"},O.freeCSS),children:Pt.default.is.function(m)?(0,kr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,kr.jsx)(K,{className:oa("TapSensor"),children:(0,kr.jsx)(it.Plain,{className:oa("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&lr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},lr={Wrapper:()=>(0,kr.jsx)(Sg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Pt.UUID)(),s=r,{type:f,src:c}=s,h=Ge(s,["type","src"]);lr.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)(Pt.default.flatArray(c)),[m,g]=(0,qa.useState)(0),b=[];return p.forEach((C,S)=>{b.push({value:S,label:(0,kr.jsx)(ks,{src:Pt.default.flatArray(C)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,kr.jsxs)(Zt,{gap:0,height:1,position:"relative",children:[(0,kr.jsxs)(pt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,kr.jsx)(La.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:C})=>{g(C)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,kr.jsx)(it.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{lr.close(l)},children:(0,kr.jsx)(Ne.Times,{})})]}),(0,kr.jsx)(pu.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,kr.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Pt.useStore.get("Sheet-"+vt.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Pt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Pt.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=Pt.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&&lr.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||lr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,kr.jsx)(K,_({className:oa("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,tw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,tw.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);lr.open(T(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&lr.close(r)},closeALL:()=>{lr.closeGroup("tooltips")},Body:r=>(0,j7.jsx)(K,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=r=>{let[a]=(0,pf.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)(pt.Center,T(_({position:"relative",verticalAlign:"unset",gap:0},c),{className:jd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Hn.jsx)(rw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Hn.jsxs)(Dt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Hn.jsx)(rw.RightIcon,_({},r)),(0,Hn.jsx)(rw.ClearButton,_({},r))]}),s.rightIndicator]}))},rw={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,pf.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)(K,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Hn.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,Hn.jsxs)(pt.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}},Vt={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,pf.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,pf.useEffect)(()=>{Vt.ValidationCheck({val_status:l,set_validate:c,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,pf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,C=b;if(a=="autocomplete.single"||a=="list.radio"?C=C[0]:o.isChecker&&(C=!!C[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:C,validation:f.ok}}}),g=="refresh"){let S=pa.useStore.get(m);S&&S.ResolveRefresh&&S.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue({componentID:m,value:C,eventType:g}),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue({componentID:m,value:C,eventType:g})}))}),()=>{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=()=>Da(void 0,null,function*(){if(!a.onValidate)return;let c=yield a.onValidate({value:r.val_status.dataValue,eventType:r.val_status.eventType,props:r});r.set_validate({ok:c.ok,notice:[...s,...c.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){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=dt(`[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||vt.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:[jd("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,Yd.UUID)()}),[m,g]=(0,cm.useState)({ok:!1,notice:[]});return(0,cm.useEffect)(()=>{Yd.default.is.equal(h.dataValue,f)||p(b=>T(_({},b),{dataValue:f,eventType:"update",eventID:(0,Yd.UUID)()}))},[r.value]),Vt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,aw.jsx)("input",T(_({value:Yd.default.Stringify(f),"data-component-id":o},c),{type:"hidden"}))},H7=r=>(0,aw.jsx)(Ta,{componentID:r.componentID,children:f$,states:r});var sr=G(Rt()),Ja=G(rr()),As=G(dr());var K7=G(G7());var fm=G(Rt()),Cg=G(dr()),wg=G(rr());var mc=r=>{if(!r.label)return null;let[a,o]=(0,Cg.useState)({});return(0,Cg.useEffect)(()=>{let l=(0,wg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,wg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,wg.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)(K,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)(pt.Left,{gap:"1/3",children:[r.label,r.required&&(0,fm.jsx)(yn,{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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(K,{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,sr.jsx)(K,{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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(K,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,sr.jsx)(K,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,sr.jsx)(K,{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=dt("#"+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"&&(l=l.replace(/[^ァ-ヶー  ヲ-゚  ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚  ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let c=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),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}}}},ow={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Da(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 C=m.position(),S=g.position(),k=b.position(),L=0;a.autoHeight&&(L=C.height),L=Math.max(L,S.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),c=`
980
+ T`.repeat(m-1)}let h=Dl(a);return(0,sr.jsxs)(K,{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},h),{position:"absolute",width:1,freeCSS:T(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,sr.jsx)(K,{"data-input-value-shallow":o.componentID,children:s})})),(0,sr.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,sr.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:C,required:S,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:P,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:O,clearButton:te=!1,checkValidationAtFirst:me,onChange:ae,onKeyDown:we,onValidate:Se,onUpdateValue:ge,onUpdateValidValue:H,value:ie="",leftIndicator:fe,rightIndicator:B,leftIcon:q,rightIcon:ne,maxLength:Z,min:se,max:ye,label:be,isLabelActive:Oe,wrapStyles:We}=g,$e=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"]),ht=k=="password"||k=="concealed"?"password":"text",Mt=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,sr.jsx)(K,T(_({htmlTag:"input",type:ht,inputMode:Mt,"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(o,s,!!me),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:yt,target:ct}=lt;{let tt=ct,{selectionStart:Ce,selectionEnd:wt}=tt,It=Number(Ce),qt=Number(wt),jt=s.formatValue[Number(It)],tr=s.formatValue[Number(It)-1];yt=="Delete"&&(k=="creditCard"&&jt==" "||k=="postal"&&jt=="-"||k=="digitNumber"&&jt==",")&&(tt.setSelectionRange(It+1,qt+1),lt.preventDefault()),yt=="Backspace"&&(k=="creditCard"&&tr==" "||k=="postal"&&tr=="-"||k=="digitNumber"&&tr==",")&&(tt.setSelectionRange(It-1,qt-1),lt.preventDefault()),yt=="Enter"||yt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&yt=="Clear"&&f(tt=>T(_({},tt),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(yt)){let tt=+(yt=="ArrowUp")*2-1,Ce=String(Number(s.dataValue)+tt);o.ok&&l({ok:!1,notice:[]}),f(wt=>T(_(_({},wt),vu.Validation.DataLeveling({min:se,max:ye,restrict:k,value:Ce})),{eventType:"update",eventID:(0,Ja.UUID)()})),lt.preventDefault()}we&&we(lt),O&&Vt.SubmitForm(lt,L)},onChange:lt=>{let{value:yt,selectionStart:ct,selectionEnd:tt}=lt.target,Ce=vu.Validation.DataLeveling({min:se,max:ye,restrict:k,value:yt});p&&(Ce.formatValue=yt),Ce.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(wt=>T(_(_({},wt),Ce),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(ct),caretTo:Number(tt)})),ae&&ae(lt))},width:1},$e),{onFocus:lt=>{$e!=null&&$e.onFocus&&($e==null||$e.onFocus(lt)),h(!0)},onBlur:lt=>{$e!=null&&$e.onBlur&&($e==null||$e.onBlur(lt)),h(!1)},onCompositionStart:lt=>{$e!=null&&$e.onCompositionStart&&($e==null||$e.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if($e!=null&&$e.onCompositionEnd&&($e==null||$e.onCompositionEnd(lt)),k=="text")return;let yt=vu.Validation.DataLeveling({min:se,max:ye,restrict:k,value:s.formatValue});f(ct=>T(_(_({},ct),yt),{prevValue:ct.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(ct.formatValue.length+1),caretTo:Number(ct.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:C,form:S,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:P,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:O,onChange:te,onKeyDown:me,onValidate:ae,onUpdateValue:we,onUpdateValidValue:Se,value:ge="",leftIndicator:H,rightIndicator:ie,leftIcon:fe,rightIcon:B,wrapStyles:q}=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,sr.jsx)(K,T(_({htmlTag:"textarea","data-show-validation":Vt.isShowValidation(s,c,!!O),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},ne),{onFocus:Z=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(Z)),l(!0)},onBlur:Z=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(Z)),l(!1)},onKeyDown:Z=>{me&&me(Z),F&&Vt.SubmitForm(Z,S)},onChange:Z=>{let{value:se}=Z.target;s.ok&&f({ok:!1,notice:[]}),h(ye=>T(_({},ye),{dataValue:se,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(Z)}})):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})),[C,S]=(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:C,set_validate:S};return Vt.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:C,set_validate:S,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,sr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:C,states:k.rootStates,children:[(0,sr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!g.dataValue}),(0,sr.jsx)(ow.Shallow,_({},k)),(0,sr.jsx)(ow.InputBox,_({},k)),(0,sr.jsx)(ow.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,sr.jsx)(Ta,{componentID:r.componentID,children:p$,states:Un(r)})),dn=Zl;dn.Validate=vu.Validation.Text,dn.Katakana=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,sr.jsx)(Zl,T(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,sr.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,sr.jsx)(Zl,T(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,sr.jsx)(Wd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,sr.jsx)(Zl,T(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,sr.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,sr.jsx)(Ne,{icon:K7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,sr.jsx)(dn.Password,T(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,sr.jsx)(dn.DigitNumber,T(_({rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var xg=G(Rt()),X7=G(rr()),iw=G(dr());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:C,onUpdateValidValue:S,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:P,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"]),[O,te]=(0,iw.useState)(Vt.DefaultStatus(o,c)),[me,ae]=(0,iw.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"contenteditable",states:r,val_status:O,set_status:te,val_validate:me,set_validate:ae,SystemValidation:h$}),(0,xg.jsx)(Fa,{val_status:O,set_status:te,val_validate:me,states:r,children:(0,xg.jsx)(K,T(_({contentEditable:!0,"data-show-validation":Vt.isShowValidation(me,O,!!p),"data-component-id":O.componentID,onKeyDown:we=>{g&&g(we),h&&Vt.SubmitForm(we,f)},onInput:we=>{let Se=we.currentTarget,{innerHTML:ge,innerText:H}=Se;me.ok&&ae({ok:!1,notice:[]}),te(ie=>T(_({},ie),{dataValue:H,eventType:"update",eventID:(0,X7.UUID)()})),m&&m(we)}},Q),{children:k}))})},Q7=r=>{r=T(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Un(r);return(0,xg.jsx)(Ta,{componentID:r.componentID,children:m$,states:a})};var dm=G(Rt()),lw=G(dr()),$d=G(rr());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:C,onValidate:S,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:P,wrapStyles:j,combineInput:F,componentID:Q,listStyles:O}=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"]),[me,ae]=(0,lw.useState)(T(_({componentID:r.componentID||""},_$(h,M)),{eventType:"init",eventID:(0,$d.UUID)()})),[we,Se]=(0,lw.useState)({ok:!1,notice:[]});Vt.CommonEffects({type:"textfield",states:r,val_status:me,set_status:ae,val_validate:we,set_validate:Se,SystemValidation:v$});let ge=[];for(let H=0;H<h;H++){let ie=me.formatValue[H],fe={},B=c;r.combineInput&&(B=[c,jd("DigitCharacterCell"),jd("Combined")].join(" ")),ge.push((0,dm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:ie,id:"Digit-"+H+"-"+me.componentID,className:B,style:_(_({},r.style),fe),onKeyDown:q=>{let{key:ne,code:Z}=q;if(ne=="Tab")return;q.preventDefault();let se=null;if(ne=="Backspace"){let ye=me.formatValue;ye[H]="",ae(be=>T(_(_({},be),J7(ye)),{eventType:"update",eventID:(0,$d.UUID)()})),se=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let ye=+(ne=="ArrowRight")*2-1;se=H+ye}else m&&Vt.SubmitForm(q,s),(()=>{let ye=Z.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!ye)return;let be=ye[2]||ye[3]||ye[4];if(p&&!be.match(/\d/)||!be)return;let Oe=me.formatValue;Oe[H]=be,ae(We=>T(_(_({},We),J7(Oe)),{eventType:"update",eventID:(0,$d.UUID)()})),se=H+1})();$d.default.is.exist(se)&&dt("#Digit-"+se+"-"+me.componentID).focus()},onChange:()=>{}},H))}return(0,dm.jsx)(Fa,{val_status:me,set_status:ae,val_validate:we,states:r,children:(0,dm.jsx)(Dt,T(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},O),{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)(Ta,{componentID:r.componentID,children:g$,states:a})};var ta=G(Rt()),pn=G(rr()),pm=G(rr()),To=G(dr());var gO=G(iO()),bO=G(hO());var Tr=G(Rt()),wn=G(rr()),gu=G(dr());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 cw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},Gd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Dl(a);return(0,Tr.jsx)(K,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Tr.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,Tr.jsx)(K,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button: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,C=a,{tone:S,required:k,form:L,className:M,label:Y,isLabelActive:P,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:O,onValidate:te,onUpdateValue:me,onUpdateValidValue:ae,value:we="",options:Se,leftIndicator:ge,rightIndicator:H,leftIcon:ie,rightIcon:fe,componentID:B,status_id:q,wrapStyles:ne,SelectedCellStyles:Z,SelectorCellStyles:se,SelectorStyles:ye,SelectorPosition:be}=C,Oe=Ge(C,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorPosition"]);return(0,gu.useEffect)(()=>{if(a.disabled)return;let We="select-click-"+a.componentID;if(g){if(!(0,wn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,wn.default)(document).addEvent({eventID:We,eventType:"click",callback:$e=>{let ht=(0,wn.default)($e.target),Mt=!!(0,wn.default)(ht).parent("."+Ql("Core")).length;(0,wn.default)(ht).parent("."+Ql("Selector")).length||Mt||b(!1)}})}else(0,wn.default)(document).removeEvent([We])},[g]),(0,gu.useEffect)(()=>{if(p.eventType=="init"||!g)return;let We=(0,wn.default)('[data-input-origin="'+a.componentID+'"]');We&&We.focus()},[p.dataValue]),(0,Tr.jsxs)(Tr.Fragment,{children:[(0,Tr.jsx)(K,T(_({tabIndex:0},Oe),{"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(c,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Ql("Core")].join(" "),onFocus:We=>{if(Oe!=null&&Oe.onFocus&&(Oe==null||Oe.onFocus(We)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:We=>{Oe!=null&&Oe.onClick&&(Oe==null||Oe.onClick(We)),!a.disabled&&b(!0)},onKeyDown:We=>{let{key:$e,metaKey:ht,ctrlKey:Mt}=We,lt=ht||Mt;if(Oe!=null&&Oe.onKeyDown&&(Oe==null||Oe.onKeyDown(We)),F&&Vt.SubmitForm(We,L),!a.disabled){if(wn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes($e))return;if(We.preventDefault(),!g)return b(!0);let yt=$e=="ArrowDown"?1:-1,ct=cw.FilterSelectableOptions(r),tt=ct.length-1,Ce=null;wn.default.scope(()=>{var wt,It,qt,jt,tr,ur,wr,ra,jr,qr;let cr=ct.findIndex(Cr=>Cr.value==s);if(yt==1){if(Ce=(It=(wt=ct[0])==null?void 0:wt.value)!=null?It:null,lt){Ce=(qt=ct[tt].value)!=null?qt:null;return}if(cr==-1||cr==tt)return;Ce=(tr=(jt=ct[cr+1])==null?void 0:jt.value)!=null?tr:null}else{if(Ce=(ur=ct[tt].value)!=null?ur:null,lt){Ce=(ra=(wr=ct[0])==null?void 0:wr.value)!=null?ra:null;return}if(cr==-1||cr==0)return;Ce=(qr=(jr=ct[cr-1])==null?void 0:jr.value)!=null?qr:null}}),f(Ce)}),$e=="Escape")b(!1);else if($e=="Tab")b(!1);else if($e=="Backspace")m(yt=>T(_({},yt),{dataValue:null,eventType:"update",eventID:(0,wn.UUID)()}));else if($e==" ")We.preventDefault(),b(!0);else if($e=="Enter"){if(!g)return b(!0);We.preventDefault();let yt=a.options.find(ct=>ct.value==s);if(!yt)return;m(ct=>T(_({},ct),{dataValue:yt.value,eventType:"update",eventID:(0,wn.UUID)()})),b(!1)}}},children:(0,Tr.jsxs)(pt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Tr.jsx)(Gd.Placeholder,_({},r)),(0,Tr.jsx)(Gd.Selected,_({},r)),(0,Tr.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,Tr.jsx)(Gd.Selector,_({},r))]})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Tr.jsx)(K,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{var a;let o=[],l=cw.FilterSelectableOptions(r,!0),s=cw.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,Tr.jsx)(it.Sub.S,{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"},onClick:C=>{r.set_status(S=>T(_({},S),{dataValue:m,eventType:"update",eventID:(0,wn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,Tr.jsxs)(pt.Left,{gap:"1/2",children:[b&&(0,Tr.jsx)(Ne.Check,{fontColor:"theme"}),(0,Tr.jsx)(nr.Supplement,{transition:"short",children:c.label})]})},String(m)));return}o.push((0,Tr.jsx)(K,{children:c.label},(0,wn.UUID)()))}),s.length||(o=[(0,Tr.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,Tr.jsx)(K,T(_({},f),{children:(0,Tr.jsx)(lr.Body,T(_({className:Ql("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,Tr.jsx)(Zt,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&wn.default.scope(()=>{let o=r.rootStates.options.find(l=>wn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,Tr.jsx)(K,T(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Tr.jsx)(Tr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gu.useState)(Vt.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,C]=(0,gu.useState)({ok:!1,notice:[]}),S={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:C};return Vt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:C,SystemValidation:b$}),(0,Tr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,Tr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,Tr.jsx)(Gd.Shallow,_({},S)),(0,Tr.jsx)(Gd.Button,_({},S))]})}},es=r=>{var a;let o=_({},r);return o=T(_({emptySelect:!0,SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,Tr.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"})}),wn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Tr.jsx)(Ba,{ssSphere:2,children:(0,Tr.jsx)(Ne.AngleDown,{})})),(0,Tr.jsx)(Ta,{componentID:o.componentID,children:Gd.Core,states:Un(o)})};var je=G(Rt()),vO=G(dr()),Er=G(rr()),bu=G(dr());var Oa=G(Rt()),ts=G(rr()),fw=G(dr());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 hf={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)(hf.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:C,CustomIcon:S,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:P,value:j,options:F,className:Q,cellStyles:O,cellClassName:te,cellCheckedStyles:me,cellCheckedClassName:ae,min:we,max:Se,hideInput:ge,freeCSS:H,wrapStyles:ie}=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,q]=(0,fw.useState)(Vt.DefaultStatus(f,j)),[ne,Z]=(0,fw.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:q,val_validate:ne,set_validate:Z,SystemValidation:y$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:q,val_validate:ne,states:r,children:(0,Oa.jsx)(hf.List,{rootStates:r,val_status:B,set_status:q})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:c,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:C,form:S,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:P,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:O}=a,{dataValue:te}=o,me=a.CustomIcon,ae=b.map((we,Se)=>{let ge=we,{value:H,label:ie,disabled:fe,className:B="",checkedStyles:q,checkedClassName:ne="",freeCSS:Z}=ge,se=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),ye=(0,ts.UUID)(),be=te.findIndex(Mt=>Mt===H)!=-1,Oe=_(_({},P),se),We=[lf("Label"),j,B];be&&(Oe=T(_(_(_({},Oe),F),q),{freeCSS:_(_(_({},Oe==null?void 0:Oe.freeCSS),F==null?void 0:F.freeCSS),q==null?void 0:q.freeCSS)}),We=[...We,Q,ne]);let $e=()=>{if(M||fe)return;let Mt=[];if(f=="radio")Mt=[H];else if(f=="checkbox"||g)if(!be)Mt=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(yt=>yt==H),1),Mt=lt}l(lt=>T(_({},lt),{dataValue:Mt,eventType:"update",eventID:(0,ts.UUID)()}))},ht=[(0,Oa.jsx)(yn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(ie)?(0,Oa.jsx)(K,{children:ie}):ie},"content")];return h&&ht[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(me,{isChecked:be,iconSize:p,iconColor:m,toggle:$e},"icon")),[(0,Oa.jsx)(K,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:lf("Input"),name:"RadioCheckbox-"+C,"data-list-index":s+"-"+Se,id:ye,value:String(H),disabled:M||fe,checked:be,onFocus:Mt=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(_({},lt),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{$e()},onKeyDown:Mt=>{let{key:lt,shiftKey:yt}=Mt;if((f=="checkbox"||r.rootStates.isChecker)&&lt!="Tab"&&lt.match(/Arrow/)){Mt.preventDefault();let ct=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,tt=Se+ct;tt<0?tt=b.length-1:tt>=b.length&&(tt=0),dt(`input[data-list-index="${s}-${tt}"]`).focus()}O&&Vt.SubmitForm(Mt,S)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(K,T(_({htmlTag:"label","data-disabled":M||fe,htmlFor:ye,className:We.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Oe),{children:ht}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(Dt,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[Y,lf("CellBase"),lf("HideInput_"+L),lf("IconIndicator_"+!!h),lf("Tone_"+c)].join(" "),children:ae})},_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)(hf._Icon,T(_({type:"radio"},r),{children:(0,Oa.jsx)(K,{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)(K,{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)(hf._Icon,T(_({type:"checkbox"},r),{children:(0,Oa.jsx)(K,{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)"}})})}))},dw=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=hf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=hf.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)(Ta,{componentID:l.componentID,children:hf.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},mf=dw("radio"),kg=dw("checkbox"),mO=dw();var pw=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,Er.Time)().addYear(10).year);for(let c=s;c<=f;c++)l.unshift({value:c,label:[c,...Er.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,Er.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]),C=Number(g[1]);return{modifiedType:"init",hour:b,minutes:C}}else if(a=="date"){let[g,b,C]=(p=String(l))==null?void 0:p.split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b)||Er.default.is.nullish(C))&&([g,b,C]=(0,Er.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(C)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b))&&([g,b]=(0,Er.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Er.default.is.nullish(g)&&([g]=(0,Er.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,C]=(m=String(l))==null?void 0:m.split(/\D/);return(Er.default.is.nullish(g)||Er.default.is.nullish(b)||Er.default.is.nullish(C))&&([g,b,C]=(0,Er.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(C)}}}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:C}=f;p=[g,b.zeroEmbed(2),C.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:C,era:S}=f;m=S,p=[g,b.zeroEmbed(2),C.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)(K,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(K,{className:ka(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:C}=f;return(0,je.jsxs)(Zt,{padding:1,children:[(0,je.jsxs)(Dt,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(Zt,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(K,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(K,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(K,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+C/2}deg)`}}),(0,je.jsx)(K,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${C*6}deg)`}})]})}),(0,je.jsx)(mf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:({value:S})=>{let k=f.hour%12+(S==2?12:0);p(S),c({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(K,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(mf,{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:({value:S})=>{g(S)}})]}),(0,je.jsxs)(Zt,{children:[(0,je.jsxs)(K,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(Dt,{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:Ya.Clock.Hours({onClick:S=>{let k=S+(h==2?12:0);c({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:Ya.Clock.Minutes({onClick:S=>{c({modifiedType:"update",hour:f.hour,minutes:S})},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)(Zt,{padding:1,children:[(0,je.jsxs)(pt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(Dt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:pw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:({value: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:({value:g})=>{c({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:g=>{let b=p+g,C=h;b<=0&&(C--,b=12),b>12&&(C++,b=1),c({modifiedType:"update",year:C,month:b,date:f.date})}})]}),(0,je.jsx)(K,{borderTop:!0}),(0,je.jsx)(K,{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,C,S]=g;c({modifiedType:"update",year:b,month:C,date:S})}})}),(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,Er.Time)(),p=(0,Er.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Er.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],C=[],S=[],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)(K,T(_({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++)C.unshift((0,vO.createElement)(K,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let P=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 O=Number(String(r.max).replace(/\D/ig,""));Q>O&&(F=!0)}}S.push((0,je.jsx)(it.Clear,T(_({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,P])},tabIndex:-1,isLocked:F,children:M}),P))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(K,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Hd,{gridCols:7,gap:"1/6",children:[b,C,S,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)(Zt,{padding:1,children:[(0,je.jsxs)(pt.Separate,{gap:0,children:[(0,je.jsx)(pt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:pw(),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:({value: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)(K,{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,Er.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=[ka("Cell"),c?ka("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)(Hd,{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)(Zt,{padding:1,children:[(0,je.jsx)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Er.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:pw({min:a,max:o}),onUpdateValidValue:({value: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,Er.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)(K,{children:[(0,je.jsxs)(pt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(Ya.DateWareki.EraSelect,_({},b)),(0,je.jsx)(K,{borderRight:!0}),(0,je.jsx)(Ya.DateWareki.Calendar,_({},b))]}),(0,je.jsx)(pt.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)(Zt,{padding:1,gap:0,children:[(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Er.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,Er.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,Er.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,Er.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)(pt.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:({value:s})=>{o(f=>T(_({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(pt.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:({value: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,Er.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:Er.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Er.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,Er.Time)();for(let p=1;p<=f.date;p++){let m=(0,Er.Time)(l).setDate(p),g=h.diff(m).dates==0;c.push((0,je.jsx)(it.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,Er.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)(Hd,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,je.jsxs)(Dt,{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(),lr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(Dt,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(it.Clear,T(_({className:ka("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:ka("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 _f=" ~ ",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+_f.length,length:4},{type:"month",from:15+_f.length,length:2},{type:"date",from:18+_f.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+_f.length,length:4},{type:"month",from:13+_f.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},vf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=pn.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 C=s[b]||"";if(!C.match(c))s[b]="",m.push(f);else{let S=f;C.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)}S=S.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(S)}}return{formatValue:m.join(_f),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,c=[],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],C=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=C))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,C]=g.split(/\D+/);!b||!C?p.filled=!1:(Number(b)>23||Number(C)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,C,S]=g.split(/\D+/);if(!b||!C||!S)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,C]=g.split(/\D+/);if(!b||!C)p.filled=!1;else{let S=pm.Time(b+"/01/01").weekday,k=pm.Time(b+"/01/0"+(7-S+1)).addWeek(Number(C)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,C]=g.split(/\D+/);!b||!C?p.filled=!1:pm.Time([b,C,"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 C=Number(String(s).replace(/\D/ig,""));b>C&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:C,prohibited:S}=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"}),C||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"}),S&&c.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(K,{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,C=g||b,{selectionStart:S,selectionEnd:k}=l.target,{index:L,prevIndex:M}=c,{ranges:Y,formatValue:P}=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;C||S==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:O,length:te}=Y[F],me=P.slice(O,O+te),ae;if(p=="Backspace")ae="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let we=p=="ArrowUp"?1:-1;me=me|0,ae=me+we;let[Se,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];ae>ge?ae=Se:ae<Se&&(ae=ge),ae=Number(ae).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let we=me|0,Se=p,ge=`${we}${Se}`;if(M!=L&&(we=0,ge="0"+Se),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?ae=Se:ae=ge,(ae|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;ae=(ge|0)>H?Se:ge,(Number(Se)>Number(String(H)[0])||me=="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"?ae=(ae|0).zeroEmbed(4):ae=(ae|0).zeroEmbed(2)}{let we=String(P).partReplace(O,String(ae)),Se=we.split(_f).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=Se[0].split(/\D/),[H,ie,fe]=ge;ge.length==3&&H&&(Se=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),ie,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(_({},ge),{dataValue:["dates","months"].includes(o)?Se:Se[0],formatValue:we,eventType:"update",eventID:(0,pn.UUID)()})),h(ge=>T(_({},ge),{index:F,prevIndex:ge.index}))}}}},yO={picker:{launch:r=>{let a=r.sheetID||(0,pn.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"]);lr.open(T(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(pt.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=Dl(a);return(0,ta.jsx)(K,{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)(K,{"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:C,checkValidationAtFirst:S,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:P="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:O,freeCSS:te,wrapStyles:me}=a,ae=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"]),[we,Se]=(0,To.useState)(c),[ge,H]=(0,To.useState)(T(_({componentID:r.componentID||""},vf.DataLeveling({restrict:s,value:P,era:we})),{eventType:"init",eventID:(0,pn.UUID)()})),[ie,fe]=(0,To.useState)({ok:!1,notice:[]}),[B,q]=(0,To.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:ie,set_validate:fe,val_era:we,set_era:Se,val_focus:B,set_focus:q};Vt.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:ie,set_validate:fe,SystemValidation:vf.SystemValidation,ExtraOverrideStates:_({},vf.DataLeveling({restrict:s,value:P,era:we}))});let Z=(0,To.useRef)(!1);return(0,To.useEffect)(()=>{if(Z.current){H(ye=>_(_({},ye),vf.DataLeveling({restrict:s,value:ye.dataValue,era:we})));let se=pn.useStore.get("refreshEra_"+ge.componentID);se&&se.refreshEra(we)}else Z.current=!0},[we]),pn.useStore.update({[ge.componentID]:{openPicker:se=>{r.disabled||yO.picker.launch({parent:se,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:we,onValueUpdate:(ye,be)=>{H(Oe=>T(_(_({},Oe),vf.DataLeveling({restrict:s,value:ye,era:be})),{eventType:"update",eventID:(0,pn.UUID)()})),Se(be)}})},resetEra:se=>{Se(se),H(ye=>T(_(_({},ye),vf.DataLeveling({restrict:s,value:"",era:we})),{eventType:"update",eventID:(0,pn.UUID)()}))}}}),(0,To.useEffect)(()=>{let{index:se,active:ye}=B;if(ye){se=Math.max(se,0),se=Math.min(se,ge.ranges.length-1);let{from:be,length:Oe}=ge.ranges[se],We=dt("#"+r.id)[0];We&&We.setSelectionRange(be,be+Oe)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:ie,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}),vt.get().isTouchDevice?(0,ta.jsx)(it.Plain,T(_({"data-show-validation":Vt.isShowValidation(ie,ge,!!S),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ae),{children:ge.formatValue,onClick:se=>{let ye=pn.useStore.get(ge.componentID);ye&&ye.openPicker(`[data-input-origin="${ge.componentID}"]`),se.stopPropagation()}})):(0,ta.jsx)(K,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Vt.isShowValidation(ie,ge,!!S),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:vt.get().isTouchDevice?-1:0,onKeyDown:se=>{vf.KeyDownEvent({restrict:s,event:se,val_era:we,val_status:ge,set_status:H,val_focus:B,set_focus:q}),k&&k(se),C&&Vt.SubmitForm(se,h)},onKeyUp:se=>{se.key=="Tab"&&q(ye=>T(_({},ye),{active:!0}))},onClick:se=>{let ye=se.target.selectionEnd,be=0;ge.ranges.forEach((Oe,We)=>{let{from:$e,length:ht,region:Mt}=Oe;$e<=ye&&ye<=$e+(Mt||ht)&&(be=We)}),q(Oe=>T(_({},Oe),{active:!0,index:be})),se.preventDefault()},onChange:()=>{}},ae))]})},Ls={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,To.useState)(r.componentID||(0,pn.UUID)());if(a.componentID=o,pn.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=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: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,pn.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)(()=>{pn.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:({value:f,eventType:c})=>{s(f);let h=pn.useStore.get(r.componentID);h&&h.resetEra&&h.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=G(Rt()),ja=G(dr()),Ir=G(rr());var yf=G(Rt()),Qd=G(rr());var gf=G(Rt()),Tg=G(rr());var bf=G(dr());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,bf.useState)(f),[p]=(0,bf.useState)((0,Tg.UUID)()),[m,g]=(0,bf.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 C={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,bf.useEffect)(()=>{let S=dt('[data-component-id="'+p+'"]');m?S.removeClass(xa("Hide")).await(10).addClass(xa("Active")):S.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,bf.useEffect)(()=>{Tg.useStore.set({[p]:{active:S=>{h==S&&g(!0)},stop:S=>{h==S&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,gf.jsxs)(pt.Center,T(_({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},c),{children:[(0,gf.jsx)("svg",{className:xa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,gf.jsx)("svg",{className:xa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:C},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Al=G(Rt()),SO=G(rr());var Eg=G(dr());var wO=()=>{let[r,a]=(0,Eg.useState)(!1);return(0,Eg.useEffect)(()=>{SO.useStore.set({["Loader-corner-"+vt.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Al.jsxs)(Dt,{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,Al.jsxs)(Dt,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Al.jsx)(K,{className:xa("Ld4")}),(0,Al.jsx)(K,{className:xa("Ld3")}),(0,Al.jsx)(K,{className:xa("Ld2")}),(0,Al.jsx)(K,{className:xa("Ld1")}),(0,Al.jsx)(K,{className:xa("Ld2")}),(0,Al.jsx)(K,{className:xa("Ld3")}),(0,Al.jsx)(K,{className:xa("Ld4")})]}),(0,Al.jsx)(K,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Xd=r=>{let a=r.color;return{S:o=>(0,yf.jsx)(Kd,_({size:"S",color:a},o)),R:o=>(0,yf.jsx)(Kd,_({size:"R",color:a},o)),L:o=>(0,yf.jsx)(Kd,_({size:"L",color:a},o)),XL:o=>(0,yf.jsx)(Kd,_({size:"XL",color:a},o)),MAX:o=>(0,yf.jsx)(Kd,_({size:"MAX",color:a},o))}},Eo={Wrapper:()=>(0,yf.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-"+vt.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Qd.useStore.get("Loader-corner-"+vt.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{dt("."+xa("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="")=>{dt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{dt("."+xa("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||(Ir.default.is.string(s)?s:"")||(Ir.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=Dl(a);return(0,Xt.jsx)(K,{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)(K,{"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:C,set_selectorOpen:S,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,P=a,{tone:j,required:F,form:Q,className:O,multiSelect:te,enableFormSubmit:me,checkValidationAtFirst:ae,onValidate:we,onUpdateValue:Se,onUpdateValidValue:ge,value:H="",options:ie,leftIndicator:fe,rightIndicator:B,leftIcon:q,rightIcon:ne,componentID:Z,status_id:se,wrapStyles:ye,emptySelect:be,SearchInput:Oe,SearchInputPlaceholder:We,SelectedComponent:$e,SelectorComponent:ht,SelectorStyles:Mt,SelectorPosition:lt,DynamicOptionsOnSearch:yt}=P,ct=Ge(P,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var tt,Ce;if(a.disabled||!C)return;let wt=Jd.FilterSelectableOptions(r);f((Ce=(tt=wt[0])==null?void 0:tt.value)!=null?Ce:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(S(!1),b(!0),setTimeout(()=>{let tt=(0,Ir.default)('[data-input-origin="'+a.componentID+'"]');tt&&tt.focus()},10)):(0,Ir.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let tt="autocomplete-click-"+a.componentID;if(C){if(!(0,Ir.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Ir.default)("#SearchInput_"+a.componentID).focus(),(0,Ir.default)(document).addEvent({eventID:tt,eventType:"mousedown",callback:Ce=>{let wt=(0,Ir.default)(Ce.target),It=!!(0,Ir.default)(wt).parent("."+Ql("Core")).length;(0,Ir.default)(wt).parent("."+Ql("Selector")).length||It||S(!1)}})}else(0,Ir.default)(document).removeEvent([tt]),l("")},[C]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(K,T(_({tabIndex:0},ct),{"data-disabled":a.disabled,"data-show-validation":Vt.isShowValidation(M,k,!!ae),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!C,className:[O,Ql("Core")].join(" "),onFocus:tt=>{if(ct!=null&&ct.onFocus&&(ct==null||ct.onFocus(tt)),!a.disabled){if(g)return b(!1);S(!0),tt.preventDefault()}},onClick:tt=>{ct!=null&&ct.onClick&&(ct==null||ct.onClick(tt)),!a.disabled&&S(!0)},onKeyDown:tt=>{let{key:Ce}=tt;me&&Vt.SubmitForm(tt,Q),!C&&(Ce==" "||Ce=="ArrowDown"||Ce=="ArrowUp"||Ce=="Enter")&&S(!0)},children:(0,Xt.jsxs)(pt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(Zd.Selected,_({},r)),(0,Xt.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(Zd.SearchInput,_({},r))]})})),C&&(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)(K,{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,Ir.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Ir.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Ir.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,Ir.UUID)()}))}):f=="Enter"&&Ir.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 C=[...b.dataValue];return Ir.default.scope(()=>{if(g===null)return C=[];b.dataValue.includes(g)?C=C.filter(S=>S!==g):a.multiSelect?C.push(g):C=[g]}),T(_({},b),{dataValue:C,eventType:"update",eventID:(0,Ir.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Ir.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,C=null;Ir.default.scope(()=>{var S,k,L,M,Y,P,j,F,Q,O;let te=g.findIndex(me=>me.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(C=(k=(S=g[0])==null?void 0:S.value)!=null?k:null,p){C=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;C=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(C=(P=g[b].value)!=null?P:null,p){C=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;C=(O=(Q=g[te-1])==null?void 0:Q.value)!=null?O:null}}),r.set_optionFocused(C)}),a.enableFormSubmit&&Vt.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;Ir.default.interval.once(()=>Da(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let C=Jd.InitOptions(b||[]);r.set_options(C)}),300,g)},[r.val_keyword]);let c=[],h=Jd.FilterSelectableOptions(r,!0),p=Jd.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:C,value:S}=g,k=r.val_optionFocused==S,L=r.val_status.dataValue.includes(S),M=r.rootStates.SelectorComponent;c.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let P=[...Y.dataValue];return Ir.default.scope(()=>{if(S===null)return P=[];Y.dataValue.includes(S)?P=P.filter(j=>j!==S):r.rootStates.multiSelect?P.push(S):P=[S]}),T(_({},Y),{dataValue:P,eventType:"update",eventID:(0,Ir.UUID)()})})}},Ir.default.Stringify(S)||(0,Ir.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)(pt.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)(K,T(_({},m),{children:(0,Xt.jsx)(lr.Body,T(_({className:Ql("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)(Zt,{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[Ir.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(K,{className:Ql("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(C=>C!==c),l(C=>T(_({},C),{dataValue:b,eventType:"update",eventID:(0,Ir.UUID)()}))}})},Ir.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,C]=(0,ja.useState)(r.options),[S,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,P]=(0,ja.useState)(Vt.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?C(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let ae=[...b],we=_({},L);ae.forEach(Se=>{Se.type!="label"&&(we[Ir.default.Stringify(Se.value)]=Se)}),M(we)},[b]);let O={rootStates:r,val_options:b,set_options:C,val_optionFocused:S,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:P,val_validate:j,set_validate:F},te=!!r.multiSelect;Vt.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:P,val_validate:j,set_validate:F,SystemValidation:k$});let me=Y.dataValue.length&&Y.dataValue[0]!==null;return me=me||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:P,val_validate:j,states:r,children:[(0,Xt.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:me}),(0,Xt.jsx)(Zd.Shallow,_({},O)),(0,Xt.jsx)(Zd.Button,_({},O))]})}},Rg=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)(pt.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)(pt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(K,{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=Ir.default.flatArray((a=o.value)!=null?a:null),o.options=Jd.InitOptions(o.options),Ir.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)(Ta,{componentID:o.componentID,children:Zd.Core,states:Un(o)})};var Sf=G(Rt());var CO=r=>(0,Sf.jsx)(Rg,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Sf.jsx)(Sf.Fragment,{children:o}),rightIcon:(0,Sf.jsx)(Ba,{ssSphere:2,children:(0,Sf.jsx)(Ne.AngleDown,{})})},r));var br=G(Rt()),wf=G(dr()),Ll=G(rr());var Ro=G(Rt()),xO=G(dr()),Do=G(rr());var yu=G(dr());var rs={add:function(r){let a=Do.useStore.get("Snackbar-"+vt.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Do.useStore.get("Snackbar-"+vt.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Ro.jsx)(kO.Wrapper,{})},kO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,Do.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 C=dt('[data-component-id="'+p+'"]');setTimeout(()=>{C.addClass(am("FadeIn"))},10),Do.useStore.set({["Snackbar-"+o]:{remove:()=>{C.addClass(am("FadeOut"))}}})},[]),(0,yu.useEffect)(()=>{Do.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)(pt.Separate,{verticalAlign:"top",children:[(0,Ro.jsx)(K,{padding:["1/4",0],flexSizing:0,children:Do.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)(K,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,Do.UUID)()),[o,l]=(0,yu.useState)([]);(0,yu.useEffect)(()=>{Do.useStore.set({["Snackbar-"+vt.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,Do.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,Do.UUID)())},remove:f=>{let c=Do.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))}}})},[o.length]);let s=o.map(f=>(0,xO.createElement)(kO.Cell,T(_({},f),{key:f.snackID})));return(0,Ro.jsx)(Dt,{className:["AMOTIFY_be",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=G(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 PO={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,br.jsx)(PO.ListCell,T(_({},r),{index:h,val_file:c}),c.name));return s>0&&f.push((0,br.jsx)(K,T(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Xl("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)&&dt("#"+a.id).click()},children:(0,br.jsxs)(pt.Center,{padding:["1/3",0],children:[(0,br.jsx)(K,{isRounded:!0,className:Xl("AddIcon"),children:(0,br.jsx)(Ne,{icon:OO.faCloudArrowUp,className:Xl("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,br.jsxs)(K,{children:[(0,br.jsxs)(K,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,br.jsx)(K,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,br.jsx)(Zt,T(_({flexSizing:"auto"},Dl(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,wf.useState)(!1),b=(0,Ll.UUID)(),C=h.rank(),[S,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,wf.useEffect)(()=>{m&&setTimeout(()=>{dt("#"+b).focus()},100)},[m]),(0,br.jsxs)(Dt,T(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,br.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,br.jsxs)(K,{flexSizing:0,children:[(0,br.jsx)(K,{children:(0,br.jsx)(Dt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Xl("FileName"),children:m?(0,br.jsx)(br.Fragment,{children:(0,br.jsxs)(Zt,{flexSizing:0,gap:"1/2",children:[(0,br.jsxs)(Dt,{gap:"2/3",verticalAlign:"center",children:[(0,br.jsx)(dn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:S,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,br.jsxs)(K,{children:[". ",k]})]}),(0,br.jsxs)(Dt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,br.jsx)(it.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,br.jsx)(it,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,P=[...s.dataValue],j=P[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let O=yield String(Q.result).toBlob(l.type);if(!O)return;let te=new File([O],Y+"."+k,{type:j.type});te.id=F,P[a]=te,f(me=>T(_({},me),{dataValue:P,eventType:"update",eventID:(0,Ll.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,br.jsxs)(br.Fragment,{children:[c,!!o.isNameEditable&&(0,br.jsx)(it.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,br.jsx)(Ne.Pen,{})})]})})}),!m&&(0,br.jsxs)(K,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",C,"B"]})]}),(0,br.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,Ll.UUID)()})))},children:(0,br.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:C,onUpdateValidValue:S,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:P,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:O}=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"]),[me,ae]=(0,wf.useState)(Vt.DefaultStatus(r.componentID||"",k)),[we,Se]=(0,wf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:me,set_status:ae};(0,wf.useEffect)(()=>{Ll.useStore.set({["AddFiles-"+me.componentID]:ie=>{ae(fe=>{let B=fe.dataValue,q=[];for(var ne=0;ne<(ie==null?void 0:ie.length);ne++){let Z=ie[ne],{type:se,name:ye}=Z;if(ne+1+B.length>p){rs.add({componentID:ye,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ye}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!se.match(/image/)){rs.add({componentID:ye,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${ye} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}q.push(Z)}return T(_({},fe),{dataValue:[...B,...q],eventType:"update",eventID:(0,Ll.UUID)()})})}})},[]),Vt.CommonEffects({type:"file",states:r,val_status:me,set_status:ae,val_validate:we,set_validate:Se,SystemValidation:T$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,br.jsxs)(Fa,{val_status:me,set_status:ae,val_validate:we,states:r,children:[(0,br.jsx)(K,T(_({htmlTag:"input",type:"file",className:Xl("Input"),"data-component-id":me.componentID,accept:H,multiple:p!=1,onChange:ie=>Da(void 0,null,function*(){g&&g(ie);let fe=ie.target,B=fe.files,q=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let Z=B[ne],se=Z.name;if(Z.id=(0,Ll.UUID)(),ne+1+me.dataValue.length>p){rs.add({componentID:se,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${se}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}q.push(Z)}ae(Z=>T(_({},Z),{dataValue:[...Z.dataValue,...q],eventType:"update",eventID:(0,Ll.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,br.jsx)(PO.List,_({},ge))]})},mw=r=>(r=T(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Un({tone:r.tone||"border"})),r.cellStyles)}),(0,br.jsx)(Ta,{componentID:r.componentID,children:E$,states:r}));mw.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,Ll.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),dt("."+Xl("AddButton")).addClass(Xl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),dt("."+Xl("AddButton")).removeClass(Xl("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(dt(o).hasClass(Xl("AddButton"))){let{componentId:l}=o.dataset,s=Ll.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var po=G(Rt()),Ns=G(rr()),hm=G(dr());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+"%"}},MO={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 C=b/l*100+"%";c.push((0,po.jsx)(K,{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:C,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,hm.useEffect)(()=>{let b=()=>{let C=dt("#Labels-"+a),{width:S}=C.position(),k=Math.round(S/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)dt("#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,po.jsx)(Dt,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,po.jsx)(K,{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,po.jsxs)(Dt,{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,po.jsx)(K,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,po.jsx)(K,{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,po.jsx)(K,{className:xs("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,po.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&&Vt.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=dt("#"+f+"_Ball"),m=dt("#"+f+"_Bar"),g=dt("#"+f+"_BarColor"),{width:b,left:C}=m.position(),S=(o-C)/b;S=Math.max(S,0),S=Math.min(S,1);let k=S*h,L=IO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(P=>{let j=P.dataValue;return Y==j?P:T(_({},P),{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(C=>T(_({},C),{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:C,onValidate:S,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:P,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,O]=(0,hm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,me]=(0,hm.useState)({ok:!1,notice:[]});Vt.CommonEffects({type:"slider",states:r,val_status:Q,set_status:O,val_validate:te,set_validate:me,SystemValidation:R$});let ae=IO({value:Q.dataValue,val_status:Q});return(0,po.jsx)(Fa,{val_status:Q,set_status:O,val_validate:te,states:r,children:(0,po.jsxs)(Zt,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,po.jsx)(MO.Rail,{rootStates:r,color:o,val_status:Q,set_status:O,DotData:ae,form:s,enableFormSubmit:b}),!!f&&(0,po.jsx)(MO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:c})]})})},zO=r=>{let a=_({},r);return(0,po.jsx)(Ta,{componentID:r.componentID,children:D$,states:xo(a)})};var Ao=G(Rt()),vw=G(rr()),_w=G(dr());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:C,onUpdateValidValue:S,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,P=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,_w.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,vw.UUID)()}),[Q,O]=(0,_w.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Vt.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:O,SystemValidation:A$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Ao.jsx)(K,_({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:sf("Input"),id:c,onKeyDown:me=>{g&&g(me),h&&Vt.SubmitForm(me,f)},onChange:me=>{let{checked:ae}=me.target;Q.ok&&O({ok:!1,notice:[]}),F(we=>T(_({},we),{dataValue:ae,eventType:"update",eventID:(0,vw.UUID)()})),m&&m(me)}},P)),(0,Ao.jsx)(hg.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:sf("Label"),children:(0,Ao.jsx)(K,T(_({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(pt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(K,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:sf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(K,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:sf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(K,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Dg=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:L$,states:a})},mm=Dg;mm.S=r=>(0,Ao.jsx)(Dg,T(_({},r),{size:"small"})),mm.R=r=>(0,Ao.jsx)(Dg,T(_({},r),{size:"regular"})),mm.L=r=>(0,Ao.jsx)(Dg,T(_({},r),{size:"large"}));var BO=G(Rt());var FO=r=>(0,BO.jsx)(kg,T(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Su=G(Rt()),jO=G(rr()),Ag=G(dr());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:C,cellCheckedStyles:S,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,Ag.useState)((0,jO.UUID)()),[P,j]=(0,Ag.useState)(s),[F,Q]=(0,Ag.useState)(P);return P!=s&&(j(s),Q(s)),(0,Su.jsx)(mf,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:_({},S),cellClassName:[b,dg("Label"),dg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[C,dg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:O=>{h&&h(O),o=="bottomline"&&Q(O.value)}}))},Lg=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=Lg;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)(Lg,_({},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)(Lg,_({},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)(Lg,_({},a))};var Ng=G(Rt()),HO=G(rr()),gw=G(dr());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 P$=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:C=""}=a,S=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,gw.useState)(Vt.DefaultStatus(r.componentID||"",C)),[M,Y]=(0,gw.useState)({ok:!1,notice:[]});return Vt.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:O$}),(0,Ng.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Ng.jsx)(K,_({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:sf("Input"),onKeyDown:P=>{p&&p(P),f&&Vt.SubmitForm(P,s)},onChange:P=>{let{value:j}=P.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(_({},F),{dataValue:j,eventType:"update",eventID:(0,HO.UUID)()})),h&&h(P)}},S))})},UO=r=>{let a=T(_(T(_({},Un(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,Ng.jsx)(Ta,{componentID:r.componentID,children:P$,states:a})};var ns=G(rr()),VO=r=>Da(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Da(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 La;(r=>(r.Plain=I7,r.Hidden=H7,r.TextField=dn,r.Contenteditable=Q7,r.DigitCharacters=Z7,r.Time=Ls,r.Select=es,r.Autocomplete=Rg,r.List=mO,r.Radio=mf,r.Checkbox=kg,r.Checker=FO,r.Search=CO,r.Filer=mw,r.Slider=zO,r.Switch=mm,r.Segmented=as,r.Color=UO,r.LeftIcon=Wd,r.RightIcon=Ba,r.LeftIndicator=bg,r.RightIndicator=yg,r.RequiredSign=vg,r.RequiredShortSign=_g,r.OmitSign=gg,r.CollectForm=VO))(La||(La={}));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,Og.jsx)(Dt,T(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,Og.jsx)(K,{margin:[0,"auto"],children:(0,Og.jsx)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value;s&&s(p)}})})}))};var vc=G(Rt());var Wr={Table:r=>(0,vc.jsx)(K,T(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,vc.jsx)(K,_({htmlTag:"thead"},r)),Body:r=>(0,vc.jsx)(K,_({htmlTag:"tbody"},r)),Row:r=>(0,vc.jsx)(K,_({htmlTag:"tr"},r)),TH:r=>(0,vc.jsx)(K,_({htmlTag:"th"},r)),TD:r=>(0,vc.jsx)(K,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,vc.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=G(Rt());var bw=G(Rt()),$O=G(rr());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,bw.jsx)(K,{className:p,style:c,children:(0,bw.jsx)(o,_({},h))})};var yw={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},C=il(b),S=l?l(b):{},k=T(_(_(_(_({},a),C),S),p),{freeCSS:_(_(_({},a.freeCSS),S.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Lo.jsx)(g,_({},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:c,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((C,S)=>{let k=Wr[C.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:S==0,right:S==c-1,rowIndex:g,colIndex:S,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(_(_(_(_({},a),M),C),Y),{freeCSS:_(_(_({},a.freeCSS),Y.freeCSS),C.freeCSS),className:[Kt("Cell"),o,C.className].join(" ")}),S))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:C=>{h&&h(m.rowID,C)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=_({},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)(yw.HeadRow,_({},r)),(0,Lo.jsx)(yw.BodyRows,_({},r))]})}))},GO=r=>(0,Lo.jsx)(tp,T(_({type:"normal"},r),{JSXChildren:yw.Normal}));var Sa=G(Rt()),No=G(rr()),rp=G(dr());var ww=G(t9());var Cw={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},C=il(b),S=l?l(b):{};h.push((0,Sa.jsx)(g,T(_(_(_(_({},a),C),m),S),{freeCSS:_(_(_({},a.freeCSS),S.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:c,onOrderChanged:h}=r,[p]=(0,rp.useState)((0,No.UUID)()),[m,g]=(0,rp.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((C,S)=>{let k=[];{let L={top:S==0&&!s,bottom:S==f.length-1,left:!0,right:!1,rowIndex:S,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,Sa.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,Sa.jsx)(it.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:P=>{vm.Start(P,{id:p,index:S,rows:m.rows,maxLength:f.length})},children:(0,Sa.jsx)(Ne,{icon:ww.faGripVertical})})}),"DragOrigin"))}C.forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],P={top:!!s&&!s.length,bottom:S==f.length-1,left:!1,right:M==c-2,rowIndex:S,colIndex:M,isBody:!0,isHeader:!1},j=il(P),F=l?l(P):{};k.push((0,Sa.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,Sa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+S,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},S))}),!isNaN(m.to)){let{origin:C,to:S}=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[C].forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],P={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(P),F=l?l(P):{};k.push((0,Sa.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(S,0,(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,rp.useEffect)(()=>{No.useStore.set({[p]:{swap:(C,S)=>{if(S||S==0){let k=m.rows[C],L=[...m.rows];L.splice(C,1),L.splice(S-(C<S?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>No.default.Objectify(M.rowID)))}},preSet:C=>{let{origin:S,index:k}=C;g({rows:m.rows,origin:S,to:k})}}})}),(0,rp.useEffect)(()=>()=>{No.useStore.delete(p)},[]),(0,Sa.jsx)(Sa.Fragment,{children:b})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Sa.jsx)(it.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:ww.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)(Cw.HeadRow,_({},r)),(0,Sa.jsx)(Cw.BodyRows,_({},r))]})}))},r9=r=>(0,Sa.jsx)(tp,T(_({type:"drag"},r),{JSXChildren:Cw.Drag})),vm={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;dt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,No.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=No.default.getCursor(r).y-No.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let c=dt("#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=No.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=No.useStore.get(o);f&&f.swap&&f.swap(l,s),dt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Tt=G(Rt()),Vn=G(rr()),Cf=G(dr());var c9=G(iS()),f9=G(sS()),d9=G(nS()),p9=G(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 C={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},S=il(C),k=l.cellStylesCallback?l.cellStylesCallback(C):{};g.push((0,Tt.jsx)(Wr.TH,T(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),S),k),{freeCSS:T(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Tt.jsx)(K,{flexCenter:!0,children:(0,Tt.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:({value:L})=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(_({},l),{rows:M}))}})})}),-1))}for(let C=0;C<l.colLength;C++){let S=b[C];if(!S)continue;let k=S.children||S.data,L=c.enabled&&c.column[C],M=h.enabled&&h.column[C],Y=L?(0,Tt.jsx)(Ne,{fontSize:"1.mini",fontColor:C==p?"1.clear":"5.translucent",icon:C==p?m=="DESC"?f9.faArrowDown:c9.faArrowUp:d9.faArrowRight}):null,P=(0,Tt.jsx)(Tt.Fragment,{});if(M){let O=f.map(me=>{var ae;return(ae=me[C])==null?void 0:ae.data});O=[...new Set(O)].toASC();let te=h.current[C];if(te){let me=O.filter(H=>!te.includes(H)),ae=[];O.forEach(H=>{H&&ae.push({value:H,label:(0,Tt.jsx)(K,{flexSizing:"auto",children:H})})});let we="BUTTON-"+l.componentID+"-"+C,Se=l.componentID+"-"+C,ge={sheetID:Se,parent:"#"+we,gravityPoint:23,type:"custom",content:(0,Tt.jsxs)(Dt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Tt.jsx)(Zt,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Tt.jsx)(La.Checkbox,{icon:!0,value:me,display:"flex",gap:"2/3",override:"force",options:ae,hideInput:!0,name:"DTFilter-col-"+C+"-table-"+l.componentID,onUpdateValidValue:({value:H})=>{let ie=O.filter(B=>!H.includes(B)),fe=_({},l);fe.filter.current[C]=ie,s(fe)}})}),(0,Tt.jsxs)(pt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Tt.jsx)(it.Border.S,{isRounded:!0,onClick:()=>{lr.close(Se)},children:"\u9589\u3058\u308B"}),(0,Tt.jsx)(it.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=O);let ie=_({},l);ie.filter.current[C]=H,s(ie)},children:"\u5168\u9078\u629E"})]})]})};P=(0,Tt.jsx)(K,{className:Kt("FilterRegion"),children:(0,Tt.jsx)(it.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:we,onClick:H=>{H.stopPropagation(),lr.open(ge)},children:(0,Tt.jsx)(Ne,{icon:p9.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:C==0,right:C==l.colLength-1,rowIndex:0,colIndex:C,isBody:!1,isHeader:!0},F=il(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};S=T(_(_(_(_({},l.cellStyles),F),S),Q),{ssPushable:L,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),S.freeCSS),className:[Kt("Cell"),l.cellClassName,S.className].join(" ")}),delete S.orderIndex,g.push((0,Tt.jsx)(Wr.TH,T(_({fontWeight:"2.normal",position:"sticky",top:0},S),{freeCSS:_({zIndex:2},S.freeCSS),onClick:O=>{if(L){let te=_({},l),me=[C,p===C&&m=="ASC"?"DESC":"ASC"];te.order.current=me,s(te),l.onOrderChanged&&l.onOrderChanged(me)}},children:(0,Tt.jsxs)(Dt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[P,(0,Tt.jsxs)(Dt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),C))}return(0,Tt.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,Tt.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,Tt.jsx)(K,{flexCenter:!0,children:(0,Tt.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:C})=>{let S=a.rows,k=S.findIndex(L=>Vn.default.is.equal(L.rowID,s.rowID));k!=-1&&(S[k].checked=C,r.set_status(L=>T(_({},L),{rows:S})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let C=m,{type:S="td"}=C,k=Ge(C,["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 P=Wr[S=="td"?"TD":"TH"];p.push((0,Tt.jsx)(P,_({},k),g))}),l.push((0,Tt.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,Tt.jsx)(K,{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,Tt.jsx)(Tt.Fragment,{children:a.noRecords})),l.push((0,Tt.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Tt.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Tt.jsx)(Tt.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(S=>(S.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let S=0;S<a.colLength;S++){let k=s.column[S],L=s.current[S];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[S].data)),g=[...m])}f.enabled&&(m=m[f.current[1]=="ASC"?"toASC":"toDESC"]([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:S,rowLength:k}=c;g=[...g].splice((S-1)*k,k)}let b=wu.__memoryID+"_"+a.tableID,C={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 S=[...h];return f.enabled&&(S=S[f.current[1]=="ASC"?"toASC":"toDESC"]([f.current[0],"orderIndex"].join("."))),S.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;S.find(M=>Vn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;S.find(M=>Vn.default.is.equal(M.rowID,L)).filtered=!0}),S}}}),(0,Cf.useEffect)(()=>{kl.release(a.tableID,C)}),(0,Tt.jsx)(K,{className:Kt("TableBase"),children:(0,Tt.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Tt.jsxs)(Wr.Body,{children:[(0,Tt.jsx)(wu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Tt.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,Tt.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,Cf.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,Cf.useState)(m);return(0,Cf.useEffect)(()=>{b(C=>T(_({},C),{rows:m.rows}))},[Vn.default.Stringify(m.rows)]),(0,Cf.useEffect)(()=>{b(C=>T(_({},C),{head:m.head}))},[Vn.default.Stringify(m.head)]),(0,Tt.jsx)(wu.Core,{val_status:g,set_status:b})}},M$={__memoryID:wu.__memoryID,getRowData:r=>{let a=Vn.useStore.get(wu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Pg={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Tt.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Tt.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Tt.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:({value: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,Tt.jsxs)(Dt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Tt.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 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,Tt.jsxs)(pt.Center,{children:[(0,Tt.jsxs)(pt.Center,{gap:"1/2",children:[(0,Tt.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:({value:c})=>{f(c)}}),"/ ",o.paging.pageLength]}),(0,Tt.jsxs)(pt.Right,{gap:"1/2",children:[(0,Tt.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Tt.jsx)(Ne.ChevronLeft,{})}),(0,Tt.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Tt.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,Tt.jsx)(pt.Center,{gap:"1/2",children:(0,Tt.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:c.toASC("value"),onUpdateValidValue:({value:h})=>{l(p=>T(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},I$=r=>(0,Tt.jsx)(tp,T(_({},r),{type:"data",JSXChildren:wu.DataLeveler})),_c=I$;_c.__memoryID=wu.__memoryID,_c.getRowData=M$.getRowData,_c.Info=Pg.Info,_c.Paging=Pg.Paging,_c.RowLength=Pg.RowLength,_c.SearchInput=Pg.SearchInput;var Mg;(r=>(r.Normal=GO,r.Data=_c,r.Drag=r9,r.Parts=Wr))(Mg||(Mg={}));var kw=G(Rt()),_m=G(rr());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,kw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,kw.jsx)(nr.Supplement,{children:a})})})},l*1e3,_u.uid)},abort:()=>{_m.default.interval.abort(_u.uid),Na.close(_u.uid)}};var ft=G(Rt()),ia=G(rr());var os=G(dr());var U9=G(y9()),V9=G(E9()),W9=G(P9()),q9=G(H9());var Aw=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)),C=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,S=Number(g.scale*C);this.set_scale(S)}}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"),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 P=0;P<p;P++)for(let j=0;j<h;j++){var b=(P*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var C=0;C<3;C++){let Q=g[b+C];g[b+C]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let S=s.toDataURL("image/jpeg");{let k=yield ia.default.ImageLoader(S),{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,C=this.pst.centerY-p*g,S=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-S,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,P=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;C<Y&&(F=C-Y),C>P&&(F=C-P),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),C=Math.min(Math.max(C,Y),P)}this.pst.outImage={x:b,y:C,w:S,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,C,S,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,C=Math.min(g,b),S=Math.max(g,b);s.arc(f.width/2,f.height/2,S,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,C/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(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 Da(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,C=Array.from({length:o.length}),S="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],P=Y;this.use=="wallpaper.horizontal"?P=Y/3:this.use=="wallpaper.vertical"&&(P=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=P;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,P),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,P);let Q=j.toDataURL(S),O=yield Q.toBlob(S);if(!O)return;if(O.size>=M){let me=M/O.size;if(Q=j.toDataURL(S,me*.92),O=yield Q.toBlob(S),!O)return}let te=new File([O],this.val_file.name,{type:S});C[k]=te}return C})}},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,C]=(0,os.useState)(p.rotate),[S,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 P;let j=dt("#Canvas-"+h)[0];if(!j)return;let F=(P=ia.useStore.get(h))==null?void 0:P.Instance;if(!F)return;let Q=j.position(),O=Q.width/Q.height;j.width=2400,j.height=2400/O;let{width:te,height:me}=j;F.pst.centerX=te/2,F.pst.centerY=me/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,ia.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{ia.useStore.set({[h]:{}}),Da(void 0,null,function*(){Eo.fn.corner.active(),yield ia.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let P=Y.result,j=dt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let O=new Aw({set_scale:g,val_file:a,develops:c,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield ia.default.ImageLoader(P),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});ia.useStore.set({[h]:{Instance:O}});let te=function(we){if(we.preventDefault(),we.touches&&we.touches.length>1)O.pinchEffect({eventType:"start",event:we}),(0,ia.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:Se=>{Se.preventDefault(),O.pinchEffect({eventType:"move",event:Se})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ae});else{O.dragEffect(_({eventType:"start"},ia.default.getCursor(we)));let{type:Se}=we;(0,ia.default)(document).addEvent({eventType:Se=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{me("move",ge)}}).addEvent({eventType:Se=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{me("end",ge),ae(ge)}})}},me=function(we,Se){Se.preventDefault(),O.dragEffect(_({eventType:we},ia.default.getCursor(Se)))},ae=function(we){we.preventDefault(),(0,ia.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,ia.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:we=>{we.preventDefault();let Se=Number(we.wheelDelta*.04),ge=O.scale.current+Se;ge=Math.max(ge,O.scale.min),ge=Math.min(ge,O.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 P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;P&&P.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;P&&P.updateFilter({grayScale:S,tone:L,rotate:b})},[S,L,b]),(0,ft.jsx)(lr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,ft.jsxs)(Zt,{className:[uc("Wrap"),uc("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,ft.jsx)(K,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,ft.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:uc("Canvas"),id:"Canvas-"+h})}),(0,ft.jsxs)(pt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,ft.jsx)(Y9.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:S,set_grayScale:k,val_rotate:b,set_rotate:C}),(0,ft.jsxs)(pt.Right,{flexSizing:"none",children:[(0,ft.jsx)(it.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,ft.jsx)(it,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let P=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;if(!P)return;Eo.fn.mini.active("CropperExportation");let j=yield P.export();setTimeout(()=>{Eo.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.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,ft.jsxs)(pt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,ft.jsxs)(Zt,{gap:"1/3",children:[(0,ft.jsx)(nr.Supplement,{children:"Rotate"}),(0,ft.jsxs)(pt.Left,{flexChilds:"even",gap:"1/6",children:[(0,ft.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,ft.jsxs)(pt.Center,{gap:"1/4",children:["90\xB0",(0,ft.jsx)(Ne,{icon:W9.faRotateLeft})]})}),(0,ft.jsx)(it.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,ft.jsxs)(pt.Center,{gap:"1/4",children:[(0,ft.jsx)(Ne,{icon:q9.faRotateRight}),"90\xB0"]})})]})]}),(0,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"Zoom"}),(0,ft.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,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.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:({eventType:f,value:c})=>{ia.default.interval.once(()=>{r.set_scale(c+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"GrayScale"}),(0,ft.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,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne,{icon:U9.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.jsx)(La.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value: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,ft.jsxs)(Zt,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ft.jsx)(nr.Supplement,{children:"Tone"}),(0,ft.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,ft.jsxs)(pt.Left,{gap:"1/3",children:[(0,ft.jsx)(K,{ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+c)].join(" ")}),(0,ft.jsx)(K,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,ft.jsx)(lr.Body,{children:(0,ft.jsxs)(Zt,{padding:1.5,children:[(0,ft.jsxs)(pt.Separate,{children:[(0,ft.jsx)(nr.Paragraph,{children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(Ne,{icon:V9.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,ft.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ft.jsx)(Ne.Times,{})})]}),(0,ft.jsx)(K,{borderBottom:!0,opacity:"low"}),(0,ft.jsx)(La.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,ft.jsx)(K,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:({value:c})=>{r.set_tone(c)}})]})})}})},children:(0,ft.jsxs)(pt.Center,{gap:"1/2",children:[(0,ft.jsx)(K,{boxShadow:"2.remark",ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Lw={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});Lw.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";lr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,ft.jsx)(Y9.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{lr.close(a),r.onProcessFinished(o)},abortCallback:()=>{lr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=G(Rt());var $9=()=>{let{href:r}=location;return(0,Oo.jsx)(pt.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)(K,{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)(K,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.jsx)(K,{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)(cf.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(cf.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Ig=r=>{let[a,o]=(0,gc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,gc.useRef)(!1);(0,gc.useEffect)(()=>{l&&(s.current?(lr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,gc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,gc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Pn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Pn.open(r);return}Pn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Pn.pushSync(r);return}Pn.__push(r)},back:()=>{Pn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Pn.__push=r},setBackEffect:r=>{Pn.__back=r}};var G9=G(rr());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:()=>vt.get().isSystemDarkmode()?"#333":"#FFF"},Ow={};qh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Ow[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var $a=G(rr());var Re={toConcreteBorderRadius:r=>{let a=vt.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;let g=[],{gap:b,display:C,position:S,overflow:k,fontColor:L,fontSize:M,fontWeight:Y,backgroundColor:P,textAlign:j,textDecoration:F,boxShadow:Q,margin:O,marginTop:te,marginRight:me,marginBottom:ae,marginLeft:we,padding:Se,paddingTop:ge,paddingRight:H,paddingBottom:ie,paddingLeft:fe,top:B,right:q,bottom:ne,left:Z,border:se,borderTop:ye,borderRight:be,borderBottom:Oe,borderLeft:We,borderWidth:$e,borderColor:ht,borderStyle:Mt,borderRadius:lt,borderTopLeftRadius:yt,borderTopRightRadius:ct,borderBottomLeftRadius:tt,borderBottomRightRadius:Ce,flexSizing:wt,flexWrap:It,flexType:qt,flexChilds:jt,flexGrid:tr,horizontalAlign:ur,verticalAlign:wr,transition:ra,gridCenter:jr,gridCols:qr,maxHeight:cr,minHeight:Cr,maxWidth:Nr,minWidth:ha,width:fr,height:Rr,unitHeight:Or,unitWidth:_a,opacity:Be}=a;{if(Re.ev(C)&&g.push("dsp"+C),k){let ee=$a.default.flatArray(k);g.push("ovfl-x-"+ee[0]),g.push("ovfl-y-"+(ee[1]||ee[0]))}Re.ev(S)&&g.push("ps"+S),Re.ev(j)&&g.push("txtalg"+j),Re.ev(j)&&g.push("txtdeco"+F),Re.ev(L)&&g.push("ftcl"+((o=String(L))==null?void 0:o.replace(/\./g,"_"))),Re.ev(M)&&g.push("ftsz"+((l=String(M))==null?void 0:l.replace(/\..*/,""))),Re.ev(Y)&&g.push("ftwt"+(Y==null?void 0:Y.replace(/\..*/,""))),Re.ev(P)&&g.push("bgc"+((s=String(P))==null?void 0:s.replace(/\./g,"_"))),Re.ev(Q)&&g.push("bs"+Q);let at,mt,Wt,Ht;$a.default.is.exist(O)&&($a.default.is.array(O)?O.length==2?[at,mt,Wt,Ht]=[...O,...O]:O.length==4&&([at,mt,Wt,Ht]=O):at=mt=Wt=Ht=O,te=te!=null?te:at,me=me!=null?me:mt,ae=ae!=null?ae:Wt,we=we!=null?we:Ht),Re.ev(te)&&g.push("mrgt"+te),Re.ev(me)&&g.push("mrgr"+me),Re.ev(ae)&&g.push("mrgb"+ae),Re.ev(we)&&g.push("mrgl"+we);let xr,mr,Yr,N;$a.default.is.exist(Se)&&($a.default.is.array(Se)?Se.length==2?[xr,mr,Yr,N]=[...Se,...Se]:Se.length==4&&([xr,mr,Yr,N]=Se):xr=mr=Yr=N=Se,ge=ge!=null?ge:xr,H=H!=null?H:mr,ie=ie!=null?ie:Yr,fe=fe!=null?fe:N),Re.ev(ge)&&g.push("pdt"+ge),Re.ev(H)&&g.push("pdr"+H),Re.ev(ie)&&g.push("pdb"+ie),Re.ev(fe)&&g.push("pdl"+fe),Re.ev(B)&&g.push("pstt"+B),Re.ev(q)&&g.push("pstr"+q),Re.ev(ne)&&g.push("pstb"+ne),Re.ev(Z)&&g.push("pstl"+Z);{$a.default.is.exist(se)&&(ye=ye!=null?ye:se,be=be!=null?be:se,Oe=Oe!=null?Oe:se,We=We!=null?We:se),$a.default.is.boolean(ye)&&(ye=["unset","2.normal"][Number(ye)]),$a.default.is.boolean(be)&&(be=["unset","2.normal"][Number(be)]),$a.default.is.boolean(Oe)&&(Oe=["unset","2.normal"][Number(Oe)]),$a.default.is.boolean(We)&&(We=["unset","2.normal"][Number(We)]),Re.ev(ye)&&g.push("b_t_ss"+((f=String(ye))==null?void 0:f.replace(/\./g,"_"))),Re.ev(be)&&g.push("b_r_ss"+((c=String(be))==null?void 0:c.replace(/\./g,"_"))),Re.ev(Oe)&&g.push("b_b_ss"+((h=String(Oe))==null?void 0:h.replace(/\./g,"_"))),Re.ev(We)&&g.push("b_l_ss"+((p=String(We))==null?void 0:p.replace(/\./g,"_"))),$a.default.is.exist($e)&&g.push("b_wth"+String($e)),$a.default.is.exist(ht)&&g.push("b_cl"+((m=String(ht))==null?void 0:m.replace(/\./g,"_"))),$a.default.is.exist(Mt)&&g.push("b_st"+String(Mt));{let ee,R,z,$;$a.default.is.exist(lt)&&($a.default.is.array(lt)?lt.length==4&&([ee,R,$,z]=lt):ee=R=z=$=lt,yt=yt!=null?yt:ee,ct=ct!=null?ct:R,tt=tt!=null?tt:z,Ce=Ce!=null?Ce:$)}Re.ev(yt)&&g.push("br_tl"+Re.toConcreteBorderRadius(yt)),Re.ev(ct)&&g.push("br_tr"+Re.toConcreteBorderRadius(ct)),Re.ev(tt)&&g.push("br_bl"+Re.toConcreteBorderRadius(tt)),Re.ev(Ce)&&g.push("br_br"+Re.toConcreteBorderRadius(Ce))}if(Re.ev(Be)&&g.push("op"+Be),$a.default.is.exist(b)){let ee,R;$a.default.is.array(b)?(ee=b[0],R=b[1]):ee=R=b,g.push("gapRow"+ee,"gapCol"+R)}Re.ev(wt)&&g.push("flsz"+wt),Re.ev(It)&&g.push("flwrp"+It),Re.ev(qt)&&g.push("fltyp"+qt),Re.ev(jt)&&g.push("flchld"+jt),Re.ev(tr)&&g.push("flgrid"+tr),Re.ev(wr)&&g.push("flvrt"+wr),Re.ev(ur)&&g.push("flhrz"+ur),Re.ev(jr)&&g.push("grcnt"+jr),Re.ev(qr)&&g.push("grcol"+qr),Re.ev(Rr)&&g.push("hgt"+Rr),Re.ev(fr)&&g.push("wdt"+fr),Re.ev(Or)&&g.push("unthgt"+Or),Re.ev(_a)&&g.push("untwdt"+_a),Re.ev(ra)&&g.push("trnst"+ra),Re.ev(cr)&&g.push("maxh"+cr),Re.ev(Cr)&&g.push("minh"+Cr),Re.ev(Nr)&&g.push("maxw"+Nr),Re.ev(ha)&&g.push("minw"+ha)}return g.length?r+g.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:C,isSemiBoldFont:S,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),P=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},P=P||{},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"),vt.get().darkMode=="dim"&&(j.boxShadow="1.normal"),vt.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=_(_({},j.freeCSS),Y),P=_(_({},j),P)}return s&&(m=m!=null?m:!0,P=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},P)),f&&(m=m!=null?m:!0,P=_({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},P)),c&&(P=_({transition:"middle"},P),P=T(_({},P),{className:[P.className,"ssPushable"].join(" ")})),h&&(P=_({position:"absolute",top:0,left:0,right:0,bottom:0},P)),p&&(P=_({overflow:"hidden"},P),Y=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(P=_({width:1,flexSizing:"none"},P)),m&&(P=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},P)),b&&(P.fontWeight="1.light"),S&&(P.fontWeight="3.semiBold"),C&&(P.fontWeight="4.bold"),k&&($a.default.is.number(k)?Y.borderRadius=k*12:P.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(_({},P),{freeCSS:Y})},xo=r=>{let a=nm(r),{componentID:o,gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,backgroundColor:g,textAlign:b,textDecoration:C,boxShadow:S,margin:k,marginTop:L,marginRight:M,marginBottom:Y,marginLeft:P,padding:j,paddingTop:F,paddingRight:Q,paddingBottom:O,paddingLeft:te,top:me,right:ae,bottom:we,left:Se,border:ge,borderTop:H,borderRight:ie,borderBottom:fe,borderLeft:B,borderWidth:q,borderColor:ne,borderStyle:Z,borderRadius:se,borderTopLeftRadius:ye,borderTopRightRadius:be,borderBottomLeftRadius:Oe,borderBottomRightRadius:We,flexSizing:$e,flexWrap:ht,flexType:Mt,flexChilds:lt,flexGrid:yt,horizontalAlign:ct,verticalAlign:tt,transition:Ce,gridCenter:wt,gridCols:It,maxHeight:qt,minHeight:jt,maxWidth:tr,minWidth:ur,width:wr,height:ra,unitHeight:jr,unitWidth:qr,opacity:cr,ssLastChildLossBorder:Cr,ssAbsoluteCovered:Nr,ssCardBox:ha,ssEffectsOnActive:fr,ssPushable:Rr,ssSphere:Or,ssSquare:_a,ssTextEllipsis:Be,isBoldFont:at,isLightFont:mt,isSemiBoldFont:Wt,isRounded:Ht,flexCenter:xr,flexNewLine:mr,gradients:Yr,UnderBreakPointStyles:N={},className:ee="",freeCSS:R={}}=a,z=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),$=_({},z),de=[ee];if(Cr&&de.push("ssLastChildLossBorder_"+Cr),fr){fr=$a.default.flatArray(fr);for(let oe of fr){let[Pe,Me]=oe.split(".");$["data-effect-"+Pe]="1",Me&&($["data-effect-tone"]=Me)}}{let oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,backgroundColor:g,textAlign:b,textDecoration:C,boxShadow:S,margin:k,marginTop:L,marginRight:M,marginBottom:Y,marginLeft:P,padding:j,paddingTop:F,paddingRight:Q,paddingBottom:O,paddingLeft:te,top:me,right:ae,bottom:we,left:Se,border:ge,borderTop:H,borderRight:ie,borderBottom:fe,borderLeft:B,borderWidth:q,borderColor:ne,borderStyle:Z,borderRadius:se,borderTopLeftRadius:ye,borderTopRightRadius:be,borderBottomLeftRadius:Oe,borderBottomRightRadius:We,flexSizing:$e,flexWrap:ht,flexType:Mt,flexChilds:lt,flexGrid:yt,horizontalAlign:ct,verticalAlign:tt,transition:Ce,gridCenter:wt,gridCols:It,maxHeight:qt,minHeight:jt,maxWidth:tr,minWidth:ur,width:wr,height:ra,unitHeight:jr,unitWidth:qr,opacity:cr});de.push(oe)}return N&&de.push(Re.ClassNames("amotf_bp",N)),R&&($.style=_(_({},R),$.style)),(o||$["data-component-id"])&&($["data-component-id"]=$["data-component-id"]||o),de.length&&de.join("")&&($.className=de.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),$},Dl=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:c,fontWeight:h,backgroundColor:p,textAlign:m,textDecoration:g,boxShadow:b,margin:C,marginTop:S,marginRight:k,marginBottom:L,marginLeft:M,padding:Y,paddingTop:P,paddingRight:j,paddingBottom:F,paddingLeft:Q,top:O,right:te,bottom:me,left:ae,border:we,borderTop:Se,borderRight:ge,borderBottom:H,borderLeft:ie,borderWidth:fe,borderColor:B,borderStyle:q,borderRadius:ne,borderTopLeftRadius:Z,borderTopRightRadius:se,borderBottomLeftRadius:ye,borderBottomRightRadius:be,flexSizing:Oe,flexWrap:We,flexType:$e,flexChilds:ht,flexGrid:Mt,horizontalAlign:lt,verticalAlign:yt,transition:ct,gridCenter:tt,gridCols:Ce,maxHeight:wt,minHeight:It,maxWidth:qt,minWidth:jt,width:tr,height:ur,unitHeight:wr,unitWidth:ra,opacity:jr,ssLastChildLossBorder:qr,ssAbsoluteCovered:cr,ssCardBox:Cr,ssEffectsOnActive:Nr,ssPushable:ha,ssSphere:fr,ssSquare:Rr,ssTextEllipsis:Or,isBoldFont:_a,isLightFont:Be,isSemiBoldFont:at,isRounded:mt,flexCenter:Wt,flexNewLine:Ht,gradients:xr,UnderBreakPointStyles:mr={},freeCSS:Yr={}}=r,N={};return Re.ev(a)&&(N.gap=a),Re.ev(o)&&(N.display=o),Re.ev(l)&&(N.position=l),Re.ev(s)&&(N.overflow=s),Re.ev(f)&&(N.fontColor=f),Re.ev(c)&&(N.fontSize=c),Re.ev(h)&&(N.fontWeight=h),Re.ev(p)&&(N.backgroundColor=p),Re.ev(m)&&(N.textAlign=m),Re.ev(g)&&(N.textDecoration=g),Re.ev(b)&&(N.boxShadow=b),Re.ev(C)&&(N.margin=C),Re.ev(S)&&(N.marginTop=S),Re.ev(k)&&(N.marginRight=k),Re.ev(L)&&(N.marginBottom=L),Re.ev(M)&&(N.marginLeft=M),Re.ev(Y)&&(N.padding=Y),Re.ev(P)&&(N.paddingTop=P),Re.ev(j)&&(N.paddingRight=j),Re.ev(F)&&(N.paddingBottom=F),Re.ev(Q)&&(N.paddingLeft=Q),Re.ev(O)&&(N.top=O),Re.ev(te)&&(N.right=te),Re.ev(me)&&(N.bottom=me),Re.ev(ae)&&(N.left=ae),Re.ev(we)&&(N.border=we),Re.ev(Se)&&(N.borderTop=Se),Re.ev(ge)&&(N.borderRight=ge),Re.ev(H)&&(N.borderBottom=H),Re.ev(ie)&&(N.borderLeft=ie),Re.ev(fe)&&(N.borderWidth=fe),Re.ev(B)&&(N.borderColor=B),Re.ev(q)&&(N.borderStyle=q),Re.ev(ne)&&(N.borderRadius=ne),Re.ev(Z)&&(N.borderTopLeftRadius=Z),Re.ev(se)&&(N.borderTopRightRadius=se),Re.ev(ye)&&(N.borderBottomLeftRadius=ye),Re.ev(be)&&(N.borderBottomRightRadius=be),Re.ev(Oe)&&(N.flexSizing=Oe),Re.ev(We)&&(N.flexWrap=We),Re.ev($e)&&(N.flexType=$e),Re.ev(ht)&&(N.flexChilds=ht),Re.ev(Mt)&&(N.flexGrid=Mt),Re.ev(lt)&&(N.horizontalAlign=lt),Re.ev(yt)&&(N.verticalAlign=yt),Re.ev(ct)&&(N.transition=ct),Re.ev(tt)&&(N.gridCenter=tt),Re.ev(Ce)&&(N.gridCols=Ce),Re.ev(wt)&&(N.maxHeight=wt),Re.ev(It)&&(N.minHeight=It),Re.ev(qt)&&(N.maxWidth=qt),Re.ev(jt)&&(N.minWidth=jt),Re.ev(tr)&&(N.width=tr),Re.ev(ur)&&(N.height=ur),Re.ev(wr)&&(N.unitHeight=wr),Re.ev(ra)&&(N.unitWidth=ra),Re.ev(jr)&&(N.opacity=jr),Re.ev(qr)&&(N.ssLastChildLossBorder=qr),Re.ev(cr)&&(N.ssAbsoluteCovered=cr),Re.ev(Cr)&&(N.ssCardBox=Cr),Re.ev(Nr)&&(N.ssEffectsOnActive=Nr),Re.ev(ha)&&(N.ssPushable=ha),Re.ev(fr)&&(N.ssSphere=fr),Re.ev(Rr)&&(N.ssSquare=Rr),Re.ev(Or)&&(N.ssTextEllipsis=Or),Re.ev(_a)&&(N.isBoldFont=_a),Re.ev(Be)&&(N.isLightFont=Be),Re.ev(at)&&(N.isSemiBoldFont=at),Re.ev(mt)&&(N.isRounded=mt),Re.ev(Wt)&&(N.flexCenter=Wt),Re.ev(Ht)&&(N.flexNewLine=Ht),Re.ev(xr)&&(N.gradients=xr),Re.ev(Yr)&&(N.freeCSS=Yr),Re.ev(mr)&&(N.UnderBreakPointStyles=mr),N};var pl=G(Rt());var zg=r=>{var a;let o=kl.catch("RootViewController_"+vt.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+vt.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)(lr.Wrapper,{}),(0,pl.jsx)(K,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Bg=G(rr()),dt=r=>{let a=vt.get().appRoot;return Bg.default.is.shadowRoot(a)?(0,Bg.default)(a).find(r):(0,Bg.default)(r)};var z$=G(Mw());Jr(Fr,G(Mw()));var B$=G(Iw());Jr(Fr,G(Iw()));var F$=_(_(_(_(_(_({},Pw),$S),ew),z$),B$),Nw);var ho=G(Rt()),j$=()=>{let r=[];for(let o=0;o<100;o++)r.push((0,ho.jsx)("option",{value:o,children:o},o));(0,bm.useEffect)(()=>{let o=gm.default.interval.once(()=>{console.log("testInterval")},1e3,"testInterval");console.log(o)},[]);let a=[];for(let o=0;o<100;o++)a.push({value:"option"+o,label:"\u30AA\u30D7\u30B7\u30E7\u30F3-"+o});for(let o=0;o<100;o++)a.push({value:"optionJP"+o,label:"\u9078\u629E\u80A2-"+o});return(0,ho.jsx)(K,{children:(0,ho.jsx)(pt.Center,{flexCenter:!0,padding:3,children:(0,ho.jsx)(it.Prime,{onClick:()=>{lr.open({type:"normal.middleCenter",openAfter:()=>{gm.default.interval.once(()=>{window.print()},1e3,"receipt/preview")},closeAfter:()=>{},content:()=>(0,ho.jsx)(lr.Body,{children:(0,ho.jsx)(Zt,{padding:2,gap:2,children:(0,ho.jsx)(K,{backgroundColor:"gray",flexCenter:!0,freeCSS:{pageBreakAfter:"always"},children:"AAAAA"})})})})},children:"OpenSheet"})})})};gm.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),vt.launch({appRoot:r,roundness:3,themeColor:gm.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,bm.useEffect)(()=>{Pn.setPushEffect(s=>{l(s)}),Pn.setBackEffect(()=>{l(-1)})},[]),Ig({pathname:o.pathname}),(0,ho.jsx)(Os.Routes,{children:(0,ho.jsx)(Os.Route,{path:"*",element:(0,ho.jsx)(j$,{})},"*")})};X9.default.createRoot(r).render((0,ho.jsx)(bm.StrictMode,{children:(0,ho.jsx)(zg,{children:(0,ho.jsx)(Os.BrowserRouter,{children:(0,ho.jsx)(a,{})})})}))});
981
981
  /*! Bundled license information:
982
982
 
983
983
  react/cjs/react.development.js: